Skip to content

Commit

Permalink
v15.2 (#186)
Browse files Browse the repository at this point in the history
* Surface, surface selection, fulfillment tile (#182)

Surface
Surface selection
Fulfillment tile
Fix unit test warnings
Add medium prop validation for cdr icon
Version 12.3.0 of cedar tokens

* update to node 20
  • Loading branch information
sikhote authored Sep 24, 2024
1 parent ce4f020 commit d514b93
Show file tree
Hide file tree
Showing 89 changed files with 6,706 additions and 13,910 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*.{js,css,scss}]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 100
2 changes: 1 addition & 1 deletion .github/workflows/deploy.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [20.x]

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
18 changes: 18 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "always",
"proseWrap": "preserve",
"htmlWhitespaceSensitivity": "ignore",
"vueIndentScriptAndStyle": false,
"endOfLine": "auto",
"singleAttributePerLine": true
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ Runs unit tests in watch mode. This also allows you to inspect snapshot discrepa

Runs [Nightwatch](http://nightwatchjs.org/) end-to-end tests and Axe a11y tests.

Tests run using Chromedriver. To upgrade Chromedriver, determine the latest version of Chrome and Puppeteer that are compatible by visiting [this](https://pptr.dev/supported-browsers) page.

`npm run test`

Runs both unit and e2e/accessibility tests.
Expand Down
12 changes: 12 additions & 0 deletions build/copy-css.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Copy cdr-fonts and cdr-reset to root folder.
// Cedar 15 expects these files to be in root.
// For 16, it would be helpful to remove this and have all styles in /style.

const path = require('path');
const fs = require('fs-extra');

const DIST = 'dist';

['cdr-fonts.css', 'cdr-reset.css'].forEach(file => {
fs.copyFileSync(path.join(DIST, '/style', file), path.join(DIST, file));
})
3 changes: 0 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
<meta name="description" content="Welcome to the REI Digital Design System presentation framework. A home for modular components based on our evolving design patterns.">
<meta name="author" content="REI">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="cdr-fonts.css">
<link rel="stylesheet" href="cdr-reset.css">
<!-- <link rel="stylesheet" href="./dist/cedar-compiled.css"> -->
</head>
<body>
<div id="main"></div>
Expand Down
Loading

0 comments on commit d514b93

Please sign in to comment.