@aurea-uds/contracts 0.25.0 → 0.28.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 +150 -23
- package/aurea.contract.json +2 -2
- package/package.json +1 -1
package/api-surface.json
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"modulos": 36,
|
|
7
7
|
"componentes": 129,
|
|
8
8
|
"hooks": 9,
|
|
9
|
-
"aliasesLiterais":
|
|
10
|
-
"propsDistintas":
|
|
9
|
+
"aliasesLiterais": 74,
|
|
10
|
+
"propsDistintas": 294
|
|
11
11
|
},
|
|
12
12
|
"aliases": {
|
|
13
13
|
"ButtonVariant": {
|
|
@@ -1741,22 +1741,25 @@
|
|
|
1741
1741
|
"loose"
|
|
1742
1742
|
]
|
|
1743
1743
|
},
|
|
1744
|
-
"
|
|
1744
|
+
"BadgeCategory": {
|
|
1745
1745
|
"module": "markup",
|
|
1746
|
-
"raw": "\"
|
|
1746
|
+
"raw": "\"red\" | \"orange\" | \"green\" | \"teal\" | \"cyan\" | \"blue\" | \"violet\" | \"pink\"",
|
|
1747
1747
|
"union": [
|
|
1748
|
-
"
|
|
1749
|
-
"
|
|
1750
|
-
"
|
|
1751
|
-
"
|
|
1752
|
-
"
|
|
1753
|
-
"
|
|
1754
|
-
"
|
|
1755
|
-
"
|
|
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\"",
|
|
@@ -1915,12 +1944,13 @@
|
|
|
1915
1944
|
},
|
|
1916
1945
|
"TypographyWeight": {
|
|
1917
1946
|
"module": "markup",
|
|
1918
|
-
"raw": "\"normal\" | \"medium\" | \"semibold\" | \"bold\"",
|
|
1947
|
+
"raw": "\"normal\" | \"medium\" | \"semibold\" | \"bold\" | \"extrabold\"",
|
|
1919
1948
|
"union": [
|
|
1920
1949
|
"normal",
|
|
1921
1950
|
"medium",
|
|
1922
1951
|
"semibold",
|
|
1923
|
-
"bold"
|
|
1952
|
+
"bold",
|
|
1953
|
+
"extrabold"
|
|
1924
1954
|
]
|
|
1925
1955
|
},
|
|
1926
1956
|
"TypographyAlign": {
|
|
@@ -2370,6 +2400,12 @@
|
|
|
2370
2400
|
"optional": true,
|
|
2371
2401
|
"type": "string",
|
|
2372
2402
|
"values": null
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
"name": "share",
|
|
2406
|
+
"optional": true,
|
|
2407
|
+
"type": "ButtonShareData",
|
|
2408
|
+
"values": null
|
|
2373
2409
|
}
|
|
2374
2410
|
]
|
|
2375
2411
|
},
|
|
@@ -2529,6 +2565,12 @@
|
|
|
2529
2565
|
"type": "string",
|
|
2530
2566
|
"values": null
|
|
2531
2567
|
},
|
|
2568
|
+
{
|
|
2569
|
+
"name": "share",
|
|
2570
|
+
"optional": true,
|
|
2571
|
+
"type": "ButtonShareData",
|
|
2572
|
+
"values": null
|
|
2573
|
+
},
|
|
2532
2574
|
{
|
|
2533
2575
|
"name": "label",
|
|
2534
2576
|
"optional": false,
|
|
@@ -2740,7 +2782,7 @@
|
|
|
2740
2782
|
{
|
|
2741
2783
|
"name": "ToolbarButton",
|
|
2742
2784
|
"kind": "const",
|
|
2743
|
-
"propsType": "
|
|
2785
|
+
"propsType": "ToolbarButtonProps",
|
|
2744
2786
|
"props": [
|
|
2745
2787
|
{
|
|
2746
2788
|
"name": "variant",
|
|
@@ -5607,7 +5649,15 @@
|
|
|
5607
5649
|
"running",
|
|
5608
5650
|
"paused",
|
|
5609
5651
|
"offline",
|
|
5610
|
-
"review"
|
|
5652
|
+
"review",
|
|
5653
|
+
"red",
|
|
5654
|
+
"orange",
|
|
5655
|
+
"green",
|
|
5656
|
+
"teal",
|
|
5657
|
+
"cyan",
|
|
5658
|
+
"blue",
|
|
5659
|
+
"violet",
|
|
5660
|
+
"pink"
|
|
5611
5661
|
]
|
|
5612
5662
|
},
|
|
5613
5663
|
{
|
|
@@ -5861,7 +5911,8 @@
|
|
|
5861
5911
|
"normal",
|
|
5862
5912
|
"medium",
|
|
5863
5913
|
"semibold",
|
|
5864
|
-
"bold"
|
|
5914
|
+
"bold",
|
|
5915
|
+
"extrabold"
|
|
5865
5916
|
]
|
|
5866
5917
|
},
|
|
5867
5918
|
{
|
|
@@ -5869,6 +5920,12 @@
|
|
|
5869
5920
|
"optional": true,
|
|
5870
5921
|
"type": "boolean",
|
|
5871
5922
|
"values": null
|
|
5923
|
+
},
|
|
5924
|
+
{
|
|
5925
|
+
"name": "numeric",
|
|
5926
|
+
"optional": true,
|
|
5927
|
+
"type": "boolean",
|
|
5928
|
+
"values": null
|
|
5872
5929
|
}
|
|
5873
5930
|
]
|
|
5874
5931
|
},
|
|
@@ -6045,7 +6102,8 @@
|
|
|
6045
6102
|
"normal",
|
|
6046
6103
|
"medium",
|
|
6047
6104
|
"semibold",
|
|
6048
|
-
"bold"
|
|
6105
|
+
"bold",
|
|
6106
|
+
"extrabold"
|
|
6049
6107
|
]
|
|
6050
6108
|
},
|
|
6051
6109
|
{
|
|
@@ -6054,6 +6112,12 @@
|
|
|
6054
6112
|
"type": "boolean",
|
|
6055
6113
|
"values": null
|
|
6056
6114
|
},
|
|
6115
|
+
{
|
|
6116
|
+
"name": "numeric",
|
|
6117
|
+
"optional": true,
|
|
6118
|
+
"type": "boolean",
|
|
6119
|
+
"values": null
|
|
6120
|
+
},
|
|
6057
6121
|
{
|
|
6058
6122
|
"name": "level",
|
|
6059
6123
|
"optional": true,
|
|
@@ -6109,7 +6173,7 @@
|
|
|
6109
6173
|
{
|
|
6110
6174
|
"name": "KPI",
|
|
6111
6175
|
"kind": "function",
|
|
6112
|
-
"propsType":
|
|
6176
|
+
"propsType": "KPIProps",
|
|
6113
6177
|
"props": [
|
|
6114
6178
|
{
|
|
6115
6179
|
"name": "label",
|
|
@@ -6128,6 +6192,41 @@
|
|
|
6128
6192
|
"optional": true,
|
|
6129
6193
|
"type": "ReactNode",
|
|
6130
6194
|
"values": null
|
|
6195
|
+
},
|
|
6196
|
+
{
|
|
6197
|
+
"name": "direction",
|
|
6198
|
+
"optional": true,
|
|
6199
|
+
"type": "KPIDirection",
|
|
6200
|
+
"values": [
|
|
6201
|
+
"up",
|
|
6202
|
+
"down",
|
|
6203
|
+
"flat"
|
|
6204
|
+
]
|
|
6205
|
+
},
|
|
6206
|
+
{
|
|
6207
|
+
"name": "tone",
|
|
6208
|
+
"optional": true,
|
|
6209
|
+
"type": "KPITone",
|
|
6210
|
+
"values": [
|
|
6211
|
+
"success",
|
|
6212
|
+
"danger",
|
|
6213
|
+
"neutral"
|
|
6214
|
+
]
|
|
6215
|
+
},
|
|
6216
|
+
{
|
|
6217
|
+
"name": "directionLabel",
|
|
6218
|
+
"optional": true,
|
|
6219
|
+
"type": "string",
|
|
6220
|
+
"values": null
|
|
6221
|
+
},
|
|
6222
|
+
{
|
|
6223
|
+
"name": "variant",
|
|
6224
|
+
"optional": true,
|
|
6225
|
+
"type": "KPIVariant",
|
|
6226
|
+
"values": [
|
|
6227
|
+
"card",
|
|
6228
|
+
"plain"
|
|
6229
|
+
]
|
|
6131
6230
|
}
|
|
6132
6231
|
]
|
|
6133
6232
|
},
|
|
@@ -6196,7 +6295,8 @@
|
|
|
6196
6295
|
"normal",
|
|
6197
6296
|
"medium",
|
|
6198
6297
|
"semibold",
|
|
6199
|
-
"bold"
|
|
6298
|
+
"bold",
|
|
6299
|
+
"extrabold"
|
|
6200
6300
|
]
|
|
6201
6301
|
},
|
|
6202
6302
|
{
|
|
@@ -6205,6 +6305,12 @@
|
|
|
6205
6305
|
"type": "boolean",
|
|
6206
6306
|
"values": null
|
|
6207
6307
|
},
|
|
6308
|
+
{
|
|
6309
|
+
"name": "numeric",
|
|
6310
|
+
"optional": true,
|
|
6311
|
+
"type": "boolean",
|
|
6312
|
+
"values": null
|
|
6313
|
+
},
|
|
6208
6314
|
{
|
|
6209
6315
|
"name": "size",
|
|
6210
6316
|
"optional": true,
|
|
@@ -6477,7 +6583,8 @@
|
|
|
6477
6583
|
"normal",
|
|
6478
6584
|
"medium",
|
|
6479
6585
|
"semibold",
|
|
6480
|
-
"bold"
|
|
6586
|
+
"bold",
|
|
6587
|
+
"extrabold"
|
|
6481
6588
|
]
|
|
6482
6589
|
},
|
|
6483
6590
|
{
|
|
@@ -6486,6 +6593,12 @@
|
|
|
6486
6593
|
"type": "boolean",
|
|
6487
6594
|
"values": null
|
|
6488
6595
|
},
|
|
6596
|
+
{
|
|
6597
|
+
"name": "numeric",
|
|
6598
|
+
"optional": true,
|
|
6599
|
+
"type": "boolean",
|
|
6600
|
+
"values": null
|
|
6601
|
+
},
|
|
6489
6602
|
{
|
|
6490
6603
|
"name": "type",
|
|
6491
6604
|
"optional": true,
|
|
@@ -6757,6 +6870,20 @@
|
|
|
6757
6870
|
"optional": true,
|
|
6758
6871
|
"type": "React.ReactElement",
|
|
6759
6872
|
"values": null
|
|
6873
|
+
},
|
|
6874
|
+
{
|
|
6875
|
+
"name": "frame",
|
|
6876
|
+
"optional": true,
|
|
6877
|
+
"type": "\"phone\"",
|
|
6878
|
+
"values": [
|
|
6879
|
+
"phone"
|
|
6880
|
+
]
|
|
6881
|
+
},
|
|
6882
|
+
{
|
|
6883
|
+
"name": "srcDark",
|
|
6884
|
+
"optional": true,
|
|
6885
|
+
"type": "string",
|
|
6886
|
+
"values": null
|
|
6760
6887
|
}
|
|
6761
6888
|
]
|
|
6762
6889
|
},
|
package/aurea.contract.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Aurea — Universal Design System",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.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.",
|