Skip to content

Commit cdb0789

Browse files
authored
Merge branch 'main' into fix/dts-relative-import-extensions
2 parents ead8a93 + 3617703 commit cdb0789

10 files changed

Lines changed: 237 additions & 164 deletions
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clickhouse/click-ui': patch
3+
---
4+
5+
Show a visible focus ring on the `secondary`, `empty` and `danger` variants of `Button` when they're focused with the keyboard. Their ring came from the variant's stroke token, which was transparent or well under 3:1 contrast, so it was hard or impossible to see. They now use the same ring as `IconButton`, `Checkbox` and the other form controls. The `primary` variant is unchanged.

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,15 +463,15 @@
463463
"eslint-plugin-jsx-a11y": "^6.10.2",
464464
"eslint-plugin-prefer-arrow-functions": "^3.3.2",
465465
"eslint-plugin-react-hooks": "^5",
466-
"eslint-plugin-react-refresh": "0.5.7",
466+
"eslint-plugin-react-refresh": "0.5.8",
467467
"eslint-plugin-storybook": "^10.1.10",
468468
"fs-extra": "^11.3.4",
469469
"glob": "^14.0.2",
470470
"globals": "^16.5.0",
471471
"jsdom": "^24.0.0",
472472
"postcss": "^8.5.8",
473473
"postcss-modules": "^6.0.1",
474-
"prettier": "3.9.10",
474+
"prettier": "3.10.1",
475475
"prop-types": "^15.8.1",
476476
"react": "18.3.1",
477477
"react-dom": "18.3.1",

‎src/components/Button/Button.module.css‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
border-color: var(--click-button-basic-color-secondary-stroke-active);
9191
background-color: var(--click-button-basic-color-secondary-background-active);
9292
font: var(--click-button-basic-typography-label-active);
93-
outline: 2px solid var(--click-button-basic-color-secondary-stroke-active);
93+
outline: 2px solid var(--click-global-color-outline-default);
9494
outline-offset: 2px;
9595
}
9696

@@ -127,7 +127,7 @@
127127
border-color: var(--click-button-basic-color-empty-stroke-active);
128128
background-color: var(--click-button-basic-color-empty-background-active);
129129
font: var(--click-button-basic-typography-label-active);
130-
outline: 2px solid var(--click-button-basic-color-empty-stroke-active);
130+
outline: 2px solid var(--click-global-color-outline-default);
131131
outline-offset: 2px;
132132
}
133133

@@ -164,7 +164,7 @@
164164
border-color: var(--click-button-basic-color-danger-stroke-active);
165165
background-color: var(--click-button-basic-color-danger-background-active);
166166
font: var(--click-button-basic-typography-label-active);
167-
outline: 2px solid var(--click-button-basic-color-danger-stroke-active);
167+
outline: 2px solid var(--click-global-color-outline-default);
168168
outline-offset: 2px;
169169
}
170170

187 Bytes
Loading
199 Bytes
Loading
78 Bytes
Loading
19 Bytes
Loading
89 Bytes
Loading
25 Bytes
Loading

0 commit comments

Comments
 (0)