@aurea-uds/contracts 0.24.1 → 0.27.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.
package/api-surface.json CHANGED
@@ -6,8 +6,8 @@
6
6
  "modulos": 36,
7
7
  "componentes": 129,
8
8
  "hooks": 9,
9
- "aliasesLiterais": 71,
10
- "propsDistintas": 289
9
+ "aliasesLiterais": 74,
10
+ "propsDistintas": 290
11
11
  },
12
12
  "aliases": {
13
13
  "ButtonVariant": {
@@ -1741,22 +1741,25 @@
1741
1741
  "loose"
1742
1742
  ]
1743
1743
  },
1744
- "BadgeVariant": {
1744
+ "BadgeCategory": {
1745
1745
  "module": "markup",
1746
- "raw": "\"neutral\" | \"primary\" | \"info\" | \"success\" | \"warning\" | \"danger\" | \"running\" | \"paused\" | \"offline\" | \"review\"",
1746
+ "raw": "\"red\" | \"orange\" | \"green\" | \"teal\" | \"cyan\" | \"blue\" | \"violet\" | \"pink\"",
1747
1747
  "union": [
1748
- "neutral",
1749
- "primary",
1750
- "info",
1751
- "success",
1752
- "warning",
1753
- "danger",
1754
- "running",
1755
- "paused",
1756
- "offline",
1757
- "review"
1748
+ "red",
1749
+ "orange",
1750
+ "green",
1751
+ "teal",
1752
+ "cyan",
1753
+ "blue",
1754
+ "violet",
1755
+ "pink"
1758
1756
  ]
1759
1757
  },
1758
+ "BadgeVariant": {
1759
+ "module": "markup",
1760
+ "raw": "\"neutral\" | \"primary\" | \"info\" | \"success\" | \"warning\" | \"danger\" | \"running\" | \"paused\" | \"offline\" | \"review\" | BadgeCategory",
1761
+ "union": null
1762
+ },
1760
1763
  "AvatarSize": {
1761
1764
  "module": "markup",
1762
1765
  "raw": "\"sm\" | \"md\" | \"lg\"",
@@ -1889,6 +1892,32 @@
1889
1892
  "md"
1890
1893
  ]
1891
1894
  },
1895
+ "KPIDirection": {
1896
+ "module": "markup",
1897
+ "raw": "\"up\" | \"down\" | \"flat\"",
1898
+ "union": [
1899
+ "up",
1900
+ "down",
1901
+ "flat"
1902
+ ]
1903
+ },
1904
+ "KPITone": {
1905
+ "module": "markup",
1906
+ "raw": "\"success\" | \"danger\" | \"neutral\"",
1907
+ "union": [
1908
+ "success",
1909
+ "danger",
1910
+ "neutral"
1911
+ ]
1912
+ },
1913
+ "KPIVariant": {
1914
+ "module": "markup",
1915
+ "raw": "\"card\" | \"plain\"",
1916
+ "union": [
1917
+ "card",
1918
+ "plain"
1919
+ ]
1920
+ },
1892
1921
  "TypographyType": {
1893
1922
  "module": "markup",
1894
1923
  "raw": "\"body\" | \"body-sm\" | \"body-xs\" | \"code\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\"",
@@ -5607,7 +5636,15 @@
5607
5636
  "running",
5608
5637
  "paused",
5609
5638
  "offline",
5610
- "review"
5639
+ "review",
5640
+ "red",
5641
+ "orange",
5642
+ "green",
5643
+ "teal",
5644
+ "cyan",
5645
+ "blue",
5646
+ "violet",
5647
+ "pink"
5611
5648
  ]
5612
5649
  },
5613
5650
  {
@@ -6109,7 +6146,7 @@
6109
6146
  {
6110
6147
  "name": "KPI",
6111
6148
  "kind": "function",
6112
- "propsType": null,
6149
+ "propsType": "KPIProps",
6113
6150
  "props": [
6114
6151
  {
6115
6152
  "name": "label",
@@ -6128,6 +6165,41 @@
6128
6165
  "optional": true,
6129
6166
  "type": "ReactNode",
6130
6167
  "values": null
6168
+ },
6169
+ {
6170
+ "name": "direction",
6171
+ "optional": true,
6172
+ "type": "KPIDirection",
6173
+ "values": [
6174
+ "up",
6175
+ "down",
6176
+ "flat"
6177
+ ]
6178
+ },
6179
+ {
6180
+ "name": "tone",
6181
+ "optional": true,
6182
+ "type": "KPITone",
6183
+ "values": [
6184
+ "success",
6185
+ "danger",
6186
+ "neutral"
6187
+ ]
6188
+ },
6189
+ {
6190
+ "name": "directionLabel",
6191
+ "optional": true,
6192
+ "type": "string",
6193
+ "values": null
6194
+ },
6195
+ {
6196
+ "name": "variant",
6197
+ "optional": true,
6198
+ "type": "KPIVariant",
6199
+ "values": [
6200
+ "card",
6201
+ "plain"
6202
+ ]
6131
6203
  }
6132
6204
  ]
6133
6205
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "Aurea — Universal Design System",
3
- "version": "0.24.1",
3
+ "version": "0.27.0",
4
4
  "status": "organized-source-of-truth",
5
5
  "language": "pt-BR",
6
6
  "fonts": {
@@ -346,7 +346,7 @@
346
346
  "Inputs e selects usam formato cápsula; textareas usam raio de 16px.",
347
347
  "Cards, dialogs, toasts, demos e painéis usam raio de 22px e superfícies sólidas.",
348
348
  "A sidebar é um único painel arredondado com menu accent subtle.",
349
- "Não usar gradientes decorativos, paletas alternativas ou cores hardcoded.",
349
+ "Não usar gradientes decorativos, paletas alternativas ou cores hardcoded. A única paleta além da semântica são as oito cores de CATEGORIA do Badge (category-red a category-pink, ADR-0060): marcam grupo, não estado; não mudam com a marca; e nunca vão sozinhas, sem palavra.",
350
350
  "A escala chart-1 a chart-5 é a única escala categórica/sequencial azul.",
351
351
  "Atkinson Hyperlegible Next (texto), Atkinson Hyperlegible Mono (código) e Phosphor Regular (ícones; Fill no item escolhido) são overrides deliberados (ADR-0053); não trocar sem atualizar este contrato.",
352
352
  "Consumidores usam somente os pacotes @aurea-uds do monorepo; cópias manuais são proibidas.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurea-uds/contracts",
3
- "version": "0.24.1",
3
+ "version": "0.27.0",
4
4
  "description": "O contrato do projeto Aurea UDS, em JSON legível por máquina.",
5
5
  "keywords": [
6
6
  "aurea",