Update Design Tokens, Add CSS Variables Tests, and Introduce Custom CSS Variables for @charcoal-ui/react
#1959
test.yml
on: pull_request
build
1m 20s
test
1m 24s
lint
1m 18s
typecheck
1m 42s
typecheck-config
43s
a11y
0s
Annotations
2 errors and 5 warnings
.storybook/storybook.test.ts > Storybook Tests > react/TagItem > BGColor:
.storybook/storybook.test.ts#L98
Error: expect(received).toMatchSnapshot()
Snapshot name: `Storybook Tests > react/TagItem > BGColor 1`
- Snapshot - 1
+ Received + 1
@@ -6,11 +6,11 @@
data-bg-variant="color"
data-size="M"
data-state="default"
style={
Object {
- "--charcoal-tag-item-bg": "var(---charcoal-color-container-primary-default)",
+ "--charcoal-tag-item-bg": "var(--charcoal-color-container-primary-default)",
}
}
>
<div
className="charcoal-tag-item__label"
- Expected
+ Received
<div
data-dark={false}
>
<button
className="charcoal-tag-item charcoal-tag-item__bg"
data-bg-variant="color"
data-size="M"
data-state="default"
style={
Object {
- "--charcoal-tag-item-bg": "var(---charcoal-color-container-primary-default)",
+ "--charcoal-tag-item-bg": "var(--charcoal-color-container-primary-default)",
}
}
>
<div
className="charcoal-tag-item__label"
data-has-translate={false}
>
<span
className="charcoal-tag-item__label__text"
data-has-translate={false}
>
女の子
</span>
</div>
</button>
</div>
❯ .storybook/storybook.test.ts:98:27
|
test
Process completed with exit code 1.
|
typecheck-config
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
typecheck
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|