@aurea-uds/tokens 0.19.1 → 0.22.0

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.
@@ -39,6 +39,7 @@
39
39
  --radius-md:10px;
40
40
  --radius-lg:16px;
41
41
  --radius-card:22px;
42
+ --radius-sheet:32px;
42
43
  --radius-control:999px;
43
44
  --radius-full:var(--radius-control);
44
45
  --border-width:1px;
@@ -72,6 +72,7 @@ export const base = {
72
72
  "radiusMd": 10,
73
73
  "radiusLg": 16,
74
74
  "radiusCard": 22,
75
+ "radiusSheet": 32,
75
76
  "radiusControl": 999,
76
77
  "radiusFull": 999,
77
78
  "borderWidth": 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurea-uds/tokens",
3
- "version": "0.19.1",
3
+ "version": "0.22.0",
4
4
  "description": "Os tokens da Aurea UDS: a fonte em DTCG e as variáveis CSS geradas dela.",
5
5
  "keywords": [
6
6
  "aurea",
@@ -101,7 +101,7 @@
101
101
  "$type": "dimension",
102
102
  "$value": "{text-sm}",
103
103
  "$deprecated": "Use text-sm. Sai na 1.0 (R-10, 01/10/2026).",
104
- "$description": "APELIDO do text-sm (14), e não um degrau: o HeroUI não tem md, e cada nome da escala é um tamanho só (R-10). Até 01/10/2026 era um 0.875rem próprio, que valia o mesmo por coincidência escrita (ADR-0050, escolha 1). Continua existindo para não quebrar quem usa; sai na 1.0. Código novo usa text-sm."
104
+ "$description": "APELIDO do text-sm (14), e não um degrau: a referência não tem md, e cada nome da escala é um tamanho só (R-10). Até 01/10/2026 era um 0.875rem próprio, que valia o mesmo por coincidência escrita (ADR-0050, escolha 1). Continua existindo para não quebrar quem usa; sai na 1.0. Código novo usa text-sm."
105
105
  },
106
106
  "text-base": {
107
107
  "$type": "dimension",
@@ -305,6 +305,14 @@
305
305
  "unit": "px"
306
306
  }
307
307
  },
308
+ "radius-sheet": {
309
+ "$type": "dimension",
310
+ "$value": {
311
+ "value": 32,
312
+ "unit": "px"
313
+ },
314
+ "$description": "Os cantos de cima da folha que sobe de baixo (BottomSheet, e a lista do Select e do Combobox no nativo). 32 e não o 22 de painel: a folha acompanha o canto da tela do telefone. É o canto da folha de baixo da referência. Decisão do Victor, 06/10/2026 (HER-03, ADR-0058)."
315
+ },
308
316
  "radius-control": {
309
317
  "$type": "dimension",
310
318
  "$value": {
@@ -330,7 +338,7 @@
330
338
  "value": 2,
331
339
  "unit": "px"
332
340
  },
333
- "$description": "A espessura da linha de foco, a mesma em todo o sistema — B-09, 24/09/2026. Mudar o foco inteiro é mudar esta linha. A cor é --focus-strong. O HeroUI 3.2.6 faz igual: um anel só (`focus-ring`), 2px."
341
+ "$description": "A espessura da linha de foco, a mesma em todo o sistema — B-09, 24/09/2026. Mudar o foco inteiro é mudar esta linha. A cor é --focus-strong. A referência faz igual: um anel só, 2px."
334
342
  },
335
343
  "focus-offset": {
336
344
  "$type": "dimension",
@@ -338,12 +346,12 @@
338
346
  "value": 2,
339
347
  "unit": "px"
340
348
  },
341
- "$description": "O afastamento da linha de foco, para fora da peça — B-09. Dentro de contêiner recortado (linha de tabela, item de árvore) a linha vai para DENTRO: calc(-1 * var(--focus-width)). O HeroUI 3.2.6 tem o mesmo número: --ring-offset-width: 2px."
349
+ "$description": "O afastamento da linha de foco, para fora da peça — B-09. Dentro de contêiner recortado (linha de tabela, item de árvore) a linha vai para DENTRO: calc(-1 * var(--focus-width)). A referência tem o mesmo número: 2px."
342
350
  },
343
351
  "opacity-disabled": {
344
352
  "$type": "number",
345
353
  "$value": 0.5,
346
- "$description": "A opacidade do que está desativado — R-07, 24/09/2026. É o único token de opacidade do HeroUI (`--disabled-opacity: 0.5` no @heroui/styles 3.2.6, usado 51 vezes) e o 0,5 que os campos, o menu e o Combobox da Aurea já usavam. O 0,45 do botão desativado (`.btn:disabled`) continua fora, de propósito: mudar é mudar a aparência publicada."
354
+ "$description": "A opacidade do que está desativado — R-07, 24/09/2026. É o único token de opacidade da referência (0.5 no pacote web dela, usado 51 vezes) e o 0,5 que os campos, o menu e o Combobox da Aurea já usavam. O 0,45 do botão desativado (`.btn:disabled`) continua fora, de propósito: mudar é mudar a aparência publicada."
347
355
  },
348
356
  "shadow-md": {
349
357
  "$type": "shadow",
@@ -479,7 +487,7 @@
479
487
  },
480
488
  "sidebar-rail": {
481
489
  "$type": "dimension",
482
- "$description": "Panel width of the collapsed sidebar: the icon rail. 4.25rem = 68px, the number measured in the reference source on 18/08/2026 (sidebar-slim.tsx: MAIN_SIDEBAR_WIDTH = 68). The AppShell track adds the floating panel's two space-4 margins; the flush variant has no margin and uses this value raw. Reserving only 68px for a floating rail consumes 32px and leaves a 36px panel, which is the capsule defect this token and its track calculation prevent.",
490
+ "$description": "Panel width of the collapsed sidebar: the icon rail. 4.25rem = 68px, the number measured in the reference source on 18/08/2026. The AppShell track adds the floating panel's two space-4 margins; the flush variant has no margin and uses this value raw. Reserving only 68px for a floating rail consumes 32px and leaves a 36px panel, which is the capsule defect this token and its track calculation prevent.",
483
491
  "$value": {
484
492
  "value": 4.25,
485
493
  "unit": "rem"
@@ -500,7 +508,7 @@
500
508
  }
501
509
  },
502
510
  "breakpoint-2xs": {
503
- "$description": "Responsive scale (Tailwind, the de-facto 2026 standard; base of Untitled UI). Mobile-first: a rule applies at this width and up. ONE scale for BOTH measurables (G-AXIS-04): a name always means the same number of pixels, and the API says whether those pixels are the viewport's or the container's — that is what keeps `md` from meaning two things. `2xs` and `xs` exist because containers are routinely narrower than any viewport: a sidebar is 300px and a card column is 400px, and without them the scale's floor (640) would put every container in the same bucket. @media/@container can't read var(), so CSS uses the literal value — validate.py check 4b guards the scale on both.",
511
+ "$description": "Responsive scale (the de-facto 2026 standard; base of one of the references). Mobile-first: a rule applies at this width and up. ONE scale for BOTH measurables (G-AXIS-04): a name always means the same number of pixels, and the API says whether those pixels are the viewport's or the container's — that is what keeps `md` from meaning two things. `2xs` and `xs` exist because containers are routinely narrower than any viewport: a sidebar is 300px and a card column is 400px, and without them the scale's floor (640) would put every container in the same bucket. @media/@container can't read var(), so CSS uses the literal value — validate.py check 4b guards the scale on both.",
504
512
  "$type": "dimension",
505
513
  "$value": {
506
514
  "value": 360,
@@ -508,7 +516,7 @@
508
516
  }
509
517
  },
510
518
  "breakpoint-xs": {
511
- "$description": "Responsive scale (Tailwind, the de-facto 2026 standard; base of Untitled UI). Mobile-first: a rule applies at this width and up. ONE scale for BOTH measurables (G-AXIS-04): a name always means the same number of pixels, and the API says whether those pixels are the viewport's or the container's — that is what keeps `md` from meaning two things. `2xs` and `xs` exist because containers are routinely narrower than any viewport: a sidebar is 300px and a card column is 400px, and without them the scale's floor (640) would put every container in the same bucket. @media/@container can't read var(), so CSS uses the literal value — validate.py check 4b guards the scale on both.",
519
+ "$description": "Responsive scale (the de-facto 2026 standard; base of one of the references). Mobile-first: a rule applies at this width and up. ONE scale for BOTH measurables (G-AXIS-04): a name always means the same number of pixels, and the API says whether those pixels are the viewport's or the container's — that is what keeps `md` from meaning two things. `2xs` and `xs` exist because containers are routinely narrower than any viewport: a sidebar is 300px and a card column is 400px, and without them the scale's floor (640) would put every container in the same bucket. @media/@container can't read var(), so CSS uses the literal value — validate.py check 4b guards the scale on both.",
512
520
  "$type": "dimension",
513
521
  "$value": {
514
522
  "value": 480,
@@ -516,7 +524,7 @@
516
524
  }
517
525
  },
518
526
  "breakpoint-sm": {
519
- "$description": "Responsive scale (Tailwind, the de-facto 2026 standard; base of Untitled UI). Mobile-first: a rule applies at this width and up. ONE scale for BOTH measurables (G-AXIS-04): a name always means the same number of pixels, and the API says whether those pixels are the viewport's or the container's — that is what keeps `md` from meaning two things. `2xs` and `xs` exist because containers are routinely narrower than any viewport: a sidebar is 300px and a card column is 400px, and without them the scale's floor (640) would put every container in the same bucket. @media/@container can't read var(), so CSS uses the literal value — validate.py check 4b guards the scale on both.",
527
+ "$description": "Responsive scale (the de-facto 2026 standard; base of one of the references). Mobile-first: a rule applies at this width and up. ONE scale for BOTH measurables (G-AXIS-04): a name always means the same number of pixels, and the API says whether those pixels are the viewport's or the container's — that is what keeps `md` from meaning two things. `2xs` and `xs` exist because containers are routinely narrower than any viewport: a sidebar is 300px and a card column is 400px, and without them the scale's floor (640) would put every container in the same bucket. @media/@container can't read var(), so CSS uses the literal value — validate.py check 4b guards the scale on both.",
520
528
  "$type": "dimension",
521
529
  "$value": {
522
530
  "value": 640,
@@ -529,7 +537,7 @@
529
537
  "value": 768,
530
538
  "unit": "px"
531
539
  },
532
- "$description": "Responsive scale (Tailwind, the de-facto 2026 standard; base of Untitled UI). Mobile-first: a rule applies at this width and up. ONE scale for BOTH measurables (G-AXIS-04): a name always means the same number of pixels, and the API says whether those pixels are the viewport's or the container's — that is what keeps `md` from meaning two things. `2xs` and `xs` exist because containers are routinely narrower than any viewport: a sidebar is 300px and a card column is 400px, and without them the scale's floor (640) would put every container in the same bucket. @media/@container can't read var(), so CSS uses the literal value — validate.py check 4b guards the scale on both."
540
+ "$description": "Responsive scale (the de-facto 2026 standard; base of one of the references). Mobile-first: a rule applies at this width and up. ONE scale for BOTH measurables (G-AXIS-04): a name always means the same number of pixels, and the API says whether those pixels are the viewport's or the container's — that is what keeps `md` from meaning two things. `2xs` and `xs` exist because containers are routinely narrower than any viewport: a sidebar is 300px and a card column is 400px, and without them the scale's floor (640) would put every container in the same bucket. @media/@container can't read var(), so CSS uses the literal value — validate.py check 4b guards the scale on both."
533
541
  },
534
542
  "breakpoint-lg": {
535
543
  "$type": "dimension",
@@ -537,7 +545,7 @@
537
545
  "value": 1024,
538
546
  "unit": "px"
539
547
  },
540
- "$description": "Responsive scale (Tailwind, the de-facto 2026 standard; base of Untitled UI). Mobile-first: a rule applies at this width and up. ONE scale for BOTH measurables (G-AXIS-04): a name always means the same number of pixels, and the API says whether those pixels are the viewport's or the container's — that is what keeps `md` from meaning two things. `2xs` and `xs` exist because containers are routinely narrower than any viewport: a sidebar is 300px and a card column is 400px, and without them the scale's floor (640) would put every container in the same bucket. @media/@container can't read var(), so CSS uses the literal value — validate.py check 4b guards the scale on both."
548
+ "$description": "Responsive scale (the de-facto 2026 standard; base of one of the references). Mobile-first: a rule applies at this width and up. ONE scale for BOTH measurables (G-AXIS-04): a name always means the same number of pixels, and the API says whether those pixels are the viewport's or the container's — that is what keeps `md` from meaning two things. `2xs` and `xs` exist because containers are routinely narrower than any viewport: a sidebar is 300px and a card column is 400px, and without them the scale's floor (640) would put every container in the same bucket. @media/@container can't read var(), so CSS uses the literal value — validate.py check 4b guards the scale on both."
541
549
  },
542
550
  "breakpoint-xl": {
543
551
  "$type": "dimension",
@@ -545,7 +553,7 @@
545
553
  "value": 1280,
546
554
  "unit": "px"
547
555
  },
548
- "$description": "Responsive scale (Tailwind, the de-facto 2026 standard; base of Untitled UI). Mobile-first: a rule applies at this width and up. ONE scale for BOTH measurables (G-AXIS-04): a name always means the same number of pixels, and the API says whether those pixels are the viewport's or the container's — that is what keeps `md` from meaning two things. `2xs` and `xs` exist because containers are routinely narrower than any viewport: a sidebar is 300px and a card column is 400px, and without them the scale's floor (640) would put every container in the same bucket. @media/@container can't read var(), so CSS uses the literal value — validate.py check 4b guards the scale on both."
556
+ "$description": "Responsive scale (the de-facto 2026 standard; base of one of the references). Mobile-first: a rule applies at this width and up. ONE scale for BOTH measurables (G-AXIS-04): a name always means the same number of pixels, and the API says whether those pixels are the viewport's or the container's — that is what keeps `md` from meaning two things. `2xs` and `xs` exist because containers are routinely narrower than any viewport: a sidebar is 300px and a card column is 400px, and without them the scale's floor (640) would put every container in the same bucket. @media/@container can't read var(), so CSS uses the literal value — validate.py check 4b guards the scale on both."
549
557
  },
550
558
  "breakpoint-2xl": {
551
559
  "$type": "dimension",
@@ -553,7 +561,7 @@
553
561
  "value": 1536,
554
562
  "unit": "px"
555
563
  },
556
- "$description": "Responsive scale (Tailwind, the de-facto 2026 standard; base of Untitled UI). Mobile-first: a rule applies at this width and up. ONE scale for BOTH measurables (G-AXIS-04): a name always means the same number of pixels, and the API says whether those pixels are the viewport's or the container's — that is what keeps `md` from meaning two things. `2xs` and `xs` exist because containers are routinely narrower than any viewport: a sidebar is 300px and a card column is 400px, and without them the scale's floor (640) would put every container in the same bucket. @media/@container can't read var(), so CSS uses the literal value — validate.py check 4b guards the scale on both."
564
+ "$description": "Responsive scale (the de-facto 2026 standard; base of one of the references). Mobile-first: a rule applies at this width and up. ONE scale for BOTH measurables (G-AXIS-04): a name always means the same number of pixels, and the API says whether those pixels are the viewport's or the container's — that is what keeps `md` from meaning two things. `2xs` and `xs` exist because containers are routinely narrower than any viewport: a sidebar is 300px and a card column is 400px, and without them the scale's floor (640) would put every container in the same bucket. @media/@container can't read var(), so CSS uses the literal value — validate.py check 4b guards the scale on both."
557
565
  },
558
566
  "control-h-xs": {
559
567
  "$type": "dimension",