@kenlo/kdls-design-system 2.23.0 → 2.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2577,10 +2577,13 @@
2577
2577
  up ignoring the active scheme: outside the app tree, <html> is the only carrier
2578
2578
  left. Keep this section last. */
2579
2579
  [data-color-scheme="neutral"] {
2580
- --color-primary-10: var(--color-neutral-10);
2581
- --color-primary-20: var(--color-neutral-20);
2582
- --color-primary-30: var(--color-neutral-30);
2583
- --color-primary-40: var(--color-neutral-50);
2580
+ /* Tints use the 10-step pair names: they mirror one step short (10 <-> 80), so in
2581
+ dark primary-10 is #323232, a step above the card (#1c1c1c) instead of on it.
2582
+ Light is the same either way. */
2583
+ --color-primary-10: var(--color-neutral-10-80);
2584
+ --color-primary-20: var(--color-neutral-20-70);
2585
+ --color-primary-30: var(--color-neutral-30-60);
2586
+ --color-primary-40: var(--color-neutral-50-40);
2584
2587
  --color-primary-50: var(--color-neutral-80);
2585
2588
  --color-primary-60: var(--color-neutral-90);
2586
2589
  --color-primary-70: var(--color-neutral-90);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "package": {
3
3
  "name": "@kenlo/kdls-design-system",
4
- "version": "2.23.0"
4
+ "version": "2.24.1"
5
5
  },
6
6
  "install": {
7
7
  "add": "npm install @kenlo/kdls-design-system",
@@ -14,7 +14,7 @@
14
14
  "counts": {
15
15
  "components": 60,
16
16
  "propsTables": 85,
17
- "props": 748,
17
+ "props": 751,
18
18
  "tokens": 565,
19
19
  "api": 12,
20
20
  "icons": 49
@@ -1900,6 +1900,27 @@
1900
1900
  "description": "Quando fornecido, exibe um IconButton chevron-left antes do título. Use para navegação entre drawers empilhadas — o consumidor controla o que acontece ao clicar",
1901
1901
  "example": "onBack={() => setPreviousDrawerOpen(true)}"
1902
1902
  },
1903
+ {
1904
+ "name": "headerBadgeLabel",
1905
+ "type": "string",
1906
+ "default": "—",
1907
+ "description": "Badge no header, a 24px do botão fechar. Use para uma contagem curta, como \"2 de 4\". Quando ausente, o badge não é renderizado",
1908
+ "example": "headerBadgeLabel=\"2 de 4\""
1909
+ },
1910
+ {
1911
+ "name": "headerBadgeVariant",
1912
+ "type": "BadgeVariant",
1913
+ "default": "'neutral'",
1914
+ "description": "Cor do badge do header. Use 'error' quando o limite foi atingido",
1915
+ "example": "headerBadgeVariant=\"error\""
1916
+ },
1917
+ {
1918
+ "name": "headerBadgeAriaLabel",
1919
+ "type": "string",
1920
+ "default": "—",
1921
+ "description": "O que o leitor de tela fala no lugar do rótulo do badge, quando só o rótulo não basta",
1922
+ "example": "headerBadgeAriaLabel=\"2 de 4 etiquetas selecionadas\""
1923
+ },
1903
1924
  {
1904
1925
  "name": "headerActionLabel",
1905
1926
  "type": "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kenlo/kdls-design-system",
3
- "version": "2.23.0",
3
+ "version": "2.24.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "KDLS Design System — componentes React + TypeScript",