Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v15 #160

Merged
merged 105 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from 103 commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
eee6e22
feat(lead): add static lead
benjag Sep 11, 2023
edf74f7
feat: add fluid text presets and heading subheading composition block
benjag Oct 13, 2023
2072857
chore(lead): merge lead work
benjag Oct 13, 2023
6147784
feat(fluid): adds fluid preset and heading subheading composition
benjag Oct 17, 2023
be5c993
update to cqw
benjag Oct 17, 2023
94d84f1
test(lead): update snapshot
benjag Oct 17, 2023
526011a
feat(box): wIP of CdrBox
benjag Oct 26, 2023
7173501
ACS-3918 - v15 modal teleport
daemoncron Nov 3, 2023
804de33
feat(text): add preset text components
benjag Nov 21, 2023
9bf5964
feat(abstract): add abstract
benjag Nov 21, 2023
ae0700d
feat(title): add title
benjag Nov 21, 2023
934275e
feat(fluid): add fluid types scales
benjag Nov 21, 2023
421bf71
Revert adding box
benjag Nov 21, 2023
136ad8f
feat(choreographer): wIP of CdrChoreographer
benjag Nov 21, 2023
9b87d38
Fluid updates
benjag Nov 21, 2023
ae72030
test(lead): update snapshots
benjag Nov 21, 2023
67dc3f8
Fix casing on import path
benjag Nov 21, 2023
550b413
refactor(image): refactors CdrImg to use native CSS image properties
benjag Nov 29, 2023
d4ace05
chore(deps): update chromedriver
benjag Nov 29, 2023
f51a430
Merge pull request #156 from rei/img-refactor
benjag Nov 30, 2023
7cc2e96
refactor(lead): move block within lead component for now
benjag Nov 30, 2023
6ba712e
build: clean up exports
benjag Nov 30, 2023
13a0cf4
fix(fluid): move line height ratios outside of supports query
benjag Nov 30, 2023
86d51c2
test: add basic snapshot tests
benjag Nov 30, 2023
d1dcbf1
chore: fix test pathing
benjag Nov 30, 2023
b8f4705
Merge pull request #157 from rei/fluid-presets
benjag Nov 30, 2023
e36245d
Merge pull request #154 from rei/pr/v15-modal-teleport-ACS-3918
benjag Nov 30, 2023
9882e70
chore: drop preset naming convention
benjag Nov 30, 2023
984a153
revert(card): revert card example removal
benjag Dec 1, 2023
8848f72
cleanup
benjag Dec 1, 2023
2eb8e29
refactor(build): uses vite plugin to normalize and compile individual…
benjag Dec 1, 2023
365732c
Regenerate preset snapshots
benjag Dec 1, 2023
70dd443
Merge pull request #158 from rei/build/css-chunking
benjag Dec 2, 2023
9b17299
docs(examples): fix a11y failures
benjag Dec 2, 2023
3d4a9c7
build(deps): update dependencies
benjag Dec 2, 2023
8288347
Merge pull request #159 from rei/build/updates
benjag Dec 5, 2023
eb60e9f
chore: update gh actions runner
benjag Dec 5, 2023
229be9b
chore: update browser targets
benjag Dec 5, 2023
213f248
feat(picture): adds picture and creates a shareable prop interface fo…
benjag Dec 8, 2023
57c609d
Fix test path import
benjag Dec 8, 2023
1b5d366
Add snapshots
benjag Dec 8, 2023
654b7ab
fix(interface): fix type error in loading prop
benjag Dec 11, 2023
a4575fb
Merge pull request #161 from rei/feat/picture
benjag Dec 12, 2023
6766729
15.0.0-alpha.0
benjag Dec 12, 2023
cc9c1ea
fix(lead): address design feedback for lead
benjag Dec 13, 2023
1828654
fix(lead): remove commented code and update snapshots
benjag Dec 13, 2023
9d694b1
Merge pull request #163 from rei/fix/lead
benjag Dec 13, 2023
cd955c6
feat(lead): refactor lead to global container, move landing lead to a…
benjag Dec 13, 2023
5dd494f
15.0.0-alpha.1
benjag Dec 13, 2023
417615a
Merge pull request #164 from rei/feat/lead-global
benjag Dec 14, 2023
be766e8
Merge branch 'release/v15' of github.com:rei/rei-cedar into release/v15
benjag Dec 18, 2023
dfbfc4f
build(static): all static assets to use cdr prefix for consistency
benjag Dec 18, 2023
70485c7
Merge pull request #165 from rei/rename-assets
benjag Dec 18, 2023
2cebcfd
Fix import paths
benjag Dec 18, 2023
794cf49
Merge pull request #166 from rei/fix-reset-import
benjag Dec 18, 2023
603980a
feat(lead): adds surface orientation prop and logic, removes vestigia…
benjag Dec 19, 2023
01d9e74
feat(lead): adds srcset as landing lead prop, renames surface prop
benjag Jan 3, 2024
8e06895
Merge pull request #167 from rei/lead-surface
benjag Jan 3, 2024
12509c7
build(deps): update stylelint
benjag Jan 3, 2024
31c561b
build(deps): update node
benjag Jan 3, 2024
190e2d7
build(deps): update to Vite 5 and Vitest 1
benjag Jan 4, 2024
30d710b
build(vite): deletes vitest config and moves test configuration to vi…
benjag Jan 4, 2024
3a9c2e2
Adjust components to correct usage of size props and correct snapshots
benjag Jan 4, 2024
cccb64d
fix(icon): fix type error
benjag Jan 4, 2024
3bca3f6
style(scss): stylelinting
benjag Jan 4, 2024
bd5e79e
add docgen fixes
Jan 4, 2024
3c17159
Merge pull request #171 from rei/v15-docgen-fixes
benjag Jan 4, 2024
a920bda
Merge pull request #170 from rei/dependency-maintenance
benjag Jan 4, 2024
263e16e
refactor(tokens): update tokens and use new surface token in lead
benjag Jan 4, 2024
0e22bc6
Merge pull request #172 from rei/token-updates
mhewson Jan 5, 2024
244799a
build: removes depth from built asset paths introduced in vite 5 and…
benjag Jan 5, 2024
dee36c4
Merge pull request #173 from rei/fix-asset-paths
benjag Jan 5, 2024
3da0e0d
refactor(text): create base text mixin and standardize css in presets
benjag Jan 5, 2024
e74680f
fix(picture): have picture import img css automatically
benjag Jan 5, 2024
9ae2ec7
chore: cleanup of comments and checkbox example
benjag Jan 5, 2024
0bf117e
refactor(presets): refactor how presets and text work together
benjag Jan 5, 2024
139a3f3
test(presets): update snapshots to account for preset refactor
benjag Jan 5, 2024
3e0878c
Merge pull request #174 from rei/css-imports
benjag Jan 5, 2024
4cc5e9a
15.0.0-beta.0
benjag Jan 6, 2024
09712ff
docs(docgen): improve docgen glob, add preview tagging, add tags to i…
benjag Jan 12, 2024
cee1496
Merge pull request #175 from rei/improve-docgen
benjag Jan 12, 2024
255921a
feat(input): adds inputContainerClass and repurposes labelClass to be…
benjag Jan 16, 2024
0b1da3c
fix(input): add default value to labelClass
benjag Jan 16, 2024
eb32095
Merge pull request #176 from rei/fix-input-class-props
benjag Jan 16, 2024
8347ef1
docs(atomics): change description
benjag Jan 16, 2024
7124783
15.0.0-beat.1
benjag Jan 16, 2024
07a956b
refactor(presets): externalize style modules so other components can …
benjag Jan 17, 2024
b63cf5a
refactor(leads): refactors CdrLead in to CdrSplitSurface and moves La…
benjag Jan 17, 2024
b13dcf2
docs(docgen): adds @uses tag for components that use other core compo…
benjag Jan 17, 2024
246d490
test(landinglead): update snapshot to account for baseClass addition
benjag Jan 17, 2024
b7f02d0
style(eslint): adjust esline rules
benjag Jan 17, 2024
148e8ce
docs(docgen): replace with CdrIcon
benjag Jan 17, 2024
5d9896d
Merge pull request #177 from rei/refactoring-style-and-lead
benjag Jan 17, 2024
db2bec0
fix(landinglead): replace object-fit with custom property
benjag Jan 17, 2024
9d8e9bf
docs(landinglead): reorder usage data
benjag Jan 17, 2024
c061c95
15.0.0-beta.2
benjag Jan 18, 2024
8c440ff
fix(toast): fix CSS display inheritance
benjag Jan 19, 2024
f0d46e6
docs(splitsurface): rewrite component description
benjag Jan 22, 2024
cab6ba0
docs(quote): ignore modifier prop for demo
benjag Jan 23, 2024
dc8f19a
feat(splitsurface): adds tag prop to allow elements other than div
benjag Jan 23, 2024
cb540d5
feat(tooltip): allow tooltip to generate a unique ID if none is provided
benjag Jan 24, 2024
bccfff9
fix(tooltip): fix typeerror
benjag Jan 24, 2024
24922ee
docs: copy edits to component profiles
benjag Jan 24, 2024
980bc50
feat(text): add text-wrapping to reset and max-width to abstract and…
benjag Jan 24, 2024
5641631
15.0.0
benjag Jan 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"ignoreComments": true,
"ignoreTrailingComments": true
}],
"vue/multiline-html-element-content-newline": 0
"vue/multiline-html-element-content-newline": 0,
"@typescript-eslint/no-explicit-any": 0
}
}
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
- run: npm run lint
- run: npm run unit
- name: Run headless test
uses: GabrielBB/xvfb-action@v1
uses: coactions/setup-xvfb@v1
with:
run: npm run e2e
10 changes: 5 additions & 5 deletions browserTargets.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default [
'Chrome >= 103',
'Firefox >= 103',
'iOS >= 14',
'Safari >= 14',
'Edge >= 104',
'Chrome >= 109',
'Firefox >= 108',
'iOS >= 15',
'Safari >= 15',
'Edge >= 115',
];
100 changes: 0 additions & 100 deletions build/extract-css.js

This file was deleted.

22 changes: 18 additions & 4 deletions docgen.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,16 @@ import _ from 'lodash-es';
import path from 'path';
import parseSCSS from './docgen-scss.mjs';

const componentFiles = glob.sync("./src/components/*/*.vue");
const componentFiles = glob.sync(
"./src/components/**/*.vue",
{
ignore: [
'./src/components/**/examples/**/*',
'./src/components/**/components/*',
'./src/components/icon/comps/*.vue'
]
}
);
const iconFiles = glob.sync("./src/components/icon/comps/*.vue");
const componentObj = {};
const iconComponentsObj = {};
Expand All @@ -21,7 +30,7 @@ await Promise.all(iconFiles.map(async (filePath) => {
}))

async function createDocgenObj(filePath, docgenObj) {
let parsedComponentFile = await parse(filePath);
const parsedComponentFile = await parse(filePath);
docgenObj[parsedComponentFile.displayName] = parsedComponentFile;

_.forIn(docgenObj, (component) => {
Expand All @@ -38,6 +47,12 @@ async function createDocgenObj(filePath, docgenObj) {
}
prop.defaultValue.value = trimApostrophes(prop.defaultValue.value);
}
if (prop.tags && prop.tags.values && prop.tags.values[0].description) {
prop.values = prop.tags.values[0].description.split(',').map((value)=>{
return value.trim();
});
delete prop.tags.values;
}
});
});
}
Expand All @@ -49,8 +64,6 @@ function trimApostrophes(str) {
return str;
}

const components = Object.keys(componentObj); // Replace with your actual component names


// Iterate over components
for (const component in componentObj) {
Expand All @@ -69,6 +82,7 @@ for (const component in componentObj) {
// Check if UIProperties already exists for this component
if(componentObj[component].UIProperties) {
// If it does, concatenate the new parsed SCSS with the existing ones
// eslint-disable-next-line max-len
componentObj[component].UIProperties = componentObj[component].UIProperties.concat(parsedSCSS);
} else {
// If it doesn't, assign the parsed SCSS to UIProperties
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="author" content="REI">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="cdr-fonts.css">
<link rel="stylesheet" href="reset.css">
<link rel="stylesheet" href="cdr-reset.css">
<!-- <link rel="stylesheet" href="./dist/cedar-compiled.css"> -->
</head>
<body>
Expand Down
Loading
Loading