Skip to content

Commit c0d252e

Browse files
authored
Merge pull request #207 from digital-go-jp/update-v2-20250625
Update v2 20250625
2 parents 461cb3a + 574f528 commit c0d252e

File tree

6 files changed

+350
-197
lines changed

6 files changed

+350
-197
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@digital-go-jp/design-system-example-components",
3-
"version": "2.4.0",
3+
"version": "2.5.0",
44
"type": "module",
55
"main": "dist/index.cjs.js",
66
"typings": "dist/index.d.ts",

src/components/Checkbox/Checkbox.stories.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,11 @@ export const Indeterminate: Story = {
254254
const noneChecked = checks.every((v) => !v);
255255
checkAll.current.checked = allChecked;
256256
checkAll.current.indeterminate = !allChecked && !noneChecked;
257-
});
257+
}, [checks]);
258258

259-
const handleCheckAllChange = (e) => {
259+
const handleCheckAllChange = () => {
260260
if (!checkAll.current) return;
261-
const checked = checkAll.current.indeterminate || e.target.checked;
261+
const checked = checkAll.current.indeterminate || checkAll.current.checked;
262262
checkAll.current.checked = checked;
263263
setChecks(checks.map(() => checked));
264264
};

src/components/NotificationBanner/parts/Icon.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const InfoIcon = (props: IconProps) => {
1515
width='36'
1616
{...rest}
1717
>
18-
<circle cx='18' cy='18' fill='white' r='18' />
18+
<circle cx='18' cy='18' fill='Canvas' r='18' />
1919
<path
2020
d='M18 0C8.064 0 0 8.064 0 18C0 27.936 8.064 36 18 36C27.936 36 36 27.936 36 18C36 8.064 27.936 0 18 0ZM19.8 27H16.2V16.2H19.8V27ZM19.8 12.6H16.2V9H19.8V12.6Z'
2121
fill='currentColor'
@@ -36,7 +36,7 @@ const WarningIcon = (props: IconProps) => {
3636
width='36'
3737
{...rest}
3838
>
39-
<path d='M18 3.00098L36 34.091H0L18 3.00098Z' fill='white' />
39+
<path d='M18 3.00098L36 34.091H0L18 3.00098Z' fill='Canvas' />
4040
<path
4141
d='M0 34.0909H36L18 3L0 34.0909ZM19.6364 29.1818H16.3636V25.9091H19.6364V29.1818ZM19.6364 22.6364H16.3636V16.0909H19.6364V22.6364Z'
4242
fill='currentColor'
@@ -68,13 +68,13 @@ const ErrorIcon = (props: IconProps) => {
6868
width='2'
6969
height='18.5341'
7070
transform='matrix(0.7071, -0.707113, 0.7071, 0.707113, 11, 12.4142)'
71-
fill='white'
71+
fill='Canvas'
7272
/>
7373
<rect
7474
width='2'
7575
height='18.5341'
7676
transform='matrix(-0.7071, -0.707113, 0.7071, -0.707113, 12.4141, 25.52)'
77-
fill='white'
77+
fill='Canvas'
7878
/>
7979
</g>
8080
</svg>
@@ -94,7 +94,7 @@ const SuccessIcon = (props: IconProps) => {
9494
{...rest}
9595
>
9696
<g>
97-
<circle cx='18' cy='18' r='18' fill='white' />
97+
<circle cx='18' cy='18' r='18' fill='Canvas' />
9898
<path
9999
d='M18 0C8.064 0 0 8.064 0 18C0 27.936 8.064 36 18 36C27.936 36 36 27.936 36 18C36 8.064 27.936 0 18 0ZM14.4 27L5.4 18L7.938 15.462L14.4 21.906L28.062 8.244L30.6 10.8L14.4 27Z'
100100
fill='currentColor'

0 commit comments

Comments
 (0)