@aurea-uds/contracts 0.17.0 → 0.19.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.
- package/api-surface.json +178 -16
- package/aurea.contract.json +6 -7
- package/package.json +1 -1
package/api-surface.json
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"modulos": 36,
|
|
7
7
|
"componentes": 126,
|
|
8
8
|
"hooks": 9,
|
|
9
|
-
"aliasesLiterais":
|
|
10
|
-
"propsDistintas":
|
|
9
|
+
"aliasesLiterais": 65,
|
|
10
|
+
"propsDistintas": 257
|
|
11
11
|
},
|
|
12
12
|
"aliases": {
|
|
13
13
|
"ButtonVariant": {
|
|
@@ -193,6 +193,14 @@
|
|
|
193
193
|
"raw": "React.ComponentProps<typeof DayPicker> & { label?: string; }",
|
|
194
194
|
"union": null
|
|
195
195
|
},
|
|
196
|
+
"ChatDirection": {
|
|
197
|
+
"module": "communication",
|
|
198
|
+
"raw": "\"incoming\" | \"outgoing\"",
|
|
199
|
+
"union": [
|
|
200
|
+
"incoming",
|
|
201
|
+
"outgoing"
|
|
202
|
+
]
|
|
203
|
+
},
|
|
196
204
|
"Breakpoint": {
|
|
197
205
|
"module": "escala",
|
|
198
206
|
"raw": "\"2xs\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\"",
|
|
@@ -1811,6 +1819,16 @@
|
|
|
1811
1819
|
"between"
|
|
1812
1820
|
]
|
|
1813
1821
|
},
|
|
1822
|
+
"GridMin": {
|
|
1823
|
+
"module": "markup",
|
|
1824
|
+
"raw": "\"xs\" | \"sm\" | \"md\" | \"lg\"",
|
|
1825
|
+
"union": [
|
|
1826
|
+
"xs",
|
|
1827
|
+
"sm",
|
|
1828
|
+
"md",
|
|
1829
|
+
"lg"
|
|
1830
|
+
]
|
|
1831
|
+
},
|
|
1814
1832
|
"TypographyType": {
|
|
1815
1833
|
"module": "markup",
|
|
1816
1834
|
"raw": "\"body\" | \"body-sm\" | \"body-xs\" | \"code\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\"",
|
|
@@ -1906,6 +1924,18 @@
|
|
|
1906
1924
|
"content"
|
|
1907
1925
|
]
|
|
1908
1926
|
},
|
|
1927
|
+
"ProgressTone": {
|
|
1928
|
+
"module": "markup",
|
|
1929
|
+
"raw": "\"brand\" | \"neutral\" | \"success\" | \"warning\" | \"danger\" | \"info\"",
|
|
1930
|
+
"union": [
|
|
1931
|
+
"brand",
|
|
1932
|
+
"neutral",
|
|
1933
|
+
"success",
|
|
1934
|
+
"warning",
|
|
1935
|
+
"danger",
|
|
1936
|
+
"info"
|
|
1937
|
+
]
|
|
1938
|
+
},
|
|
1909
1939
|
"RangeOrientation": {
|
|
1910
1940
|
"module": "markup",
|
|
1911
1941
|
"raw": "\"horizontal\" | \"vertical\"",
|
|
@@ -1935,6 +1965,14 @@
|
|
|
1935
1965
|
"block"
|
|
1936
1966
|
]
|
|
1937
1967
|
},
|
|
1968
|
+
"GalleryItemKind": {
|
|
1969
|
+
"module": "media-client",
|
|
1970
|
+
"raw": "\"image\" | \"video\"",
|
|
1971
|
+
"union": [
|
|
1972
|
+
"image",
|
|
1973
|
+
"video"
|
|
1974
|
+
]
|
|
1975
|
+
},
|
|
1938
1976
|
"StepState": {
|
|
1939
1977
|
"module": "navigation-client",
|
|
1940
1978
|
"raw": "\"default\" | \"active\" | \"done\" | \"error\"",
|
|
@@ -3368,7 +3406,7 @@
|
|
|
3368
3406
|
{
|
|
3369
3407
|
"name": "onSend",
|
|
3370
3408
|
"optional": false,
|
|
3371
|
-
"type": "(text: string) => void",
|
|
3409
|
+
"type": "(text: string, details?: MessageSendDetails) => void",
|
|
3372
3410
|
"values": null
|
|
3373
3411
|
},
|
|
3374
3412
|
{
|
|
@@ -3406,13 +3444,43 @@
|
|
|
3406
3444
|
"optional": true,
|
|
3407
3445
|
"type": "string",
|
|
3408
3446
|
"values": null
|
|
3447
|
+
},
|
|
3448
|
+
{
|
|
3449
|
+
"name": "attach",
|
|
3450
|
+
"optional": true,
|
|
3451
|
+
"type": "boolean | ComposerAttach",
|
|
3452
|
+
"values": null
|
|
3453
|
+
},
|
|
3454
|
+
{
|
|
3455
|
+
"name": "replyTo",
|
|
3456
|
+
"optional": true,
|
|
3457
|
+
"type": "ComposerReply | null",
|
|
3458
|
+
"values": null
|
|
3459
|
+
},
|
|
3460
|
+
{
|
|
3461
|
+
"name": "onCancelReply",
|
|
3462
|
+
"optional": true,
|
|
3463
|
+
"type": "() => void",
|
|
3464
|
+
"values": null
|
|
3465
|
+
},
|
|
3466
|
+
{
|
|
3467
|
+
"name": "editing",
|
|
3468
|
+
"optional": true,
|
|
3469
|
+
"type": "ComposerEdit | null",
|
|
3470
|
+
"values": null
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
"name": "onCancelEdit",
|
|
3474
|
+
"optional": true,
|
|
3475
|
+
"type": "() => void",
|
|
3476
|
+
"values": null
|
|
3409
3477
|
}
|
|
3410
3478
|
]
|
|
3411
3479
|
},
|
|
3412
3480
|
{
|
|
3413
3481
|
"name": "MessageList",
|
|
3414
3482
|
"kind": "function",
|
|
3415
|
-
"propsType":
|
|
3483
|
+
"propsType": "MessageListProps",
|
|
3416
3484
|
"props": [
|
|
3417
3485
|
{
|
|
3418
3486
|
"name": "messages",
|
|
@@ -3431,6 +3499,48 @@
|
|
|
3431
3499
|
"optional": true,
|
|
3432
3500
|
"type": "string",
|
|
3433
3501
|
"values": null
|
|
3502
|
+
},
|
|
3503
|
+
{
|
|
3504
|
+
"name": "hasMoreBefore",
|
|
3505
|
+
"optional": true,
|
|
3506
|
+
"type": "boolean",
|
|
3507
|
+
"values": null
|
|
3508
|
+
},
|
|
3509
|
+
{
|
|
3510
|
+
"name": "hasMoreAfter",
|
|
3511
|
+
"optional": true,
|
|
3512
|
+
"type": "boolean",
|
|
3513
|
+
"values": null
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
"name": "loadingBefore",
|
|
3517
|
+
"optional": true,
|
|
3518
|
+
"type": "boolean",
|
|
3519
|
+
"values": null
|
|
3520
|
+
},
|
|
3521
|
+
{
|
|
3522
|
+
"name": "loadingAfter",
|
|
3523
|
+
"optional": true,
|
|
3524
|
+
"type": "boolean",
|
|
3525
|
+
"values": null
|
|
3526
|
+
},
|
|
3527
|
+
{
|
|
3528
|
+
"name": "onReachStart",
|
|
3529
|
+
"optional": true,
|
|
3530
|
+
"type": "() => void",
|
|
3531
|
+
"values": null
|
|
3532
|
+
},
|
|
3533
|
+
{
|
|
3534
|
+
"name": "onReachEnd",
|
|
3535
|
+
"optional": true,
|
|
3536
|
+
"type": "() => void",
|
|
3537
|
+
"values": null
|
|
3538
|
+
},
|
|
3539
|
+
{
|
|
3540
|
+
"name": "onOpenAttachment",
|
|
3541
|
+
"optional": true,
|
|
3542
|
+
"type": "(message: ChatMessage, attachment: MessageAttachment) => void",
|
|
3543
|
+
"values": null
|
|
3434
3544
|
}
|
|
3435
3545
|
]
|
|
3436
3546
|
}
|
|
@@ -5109,12 +5219,6 @@
|
|
|
5109
5219
|
"flush"
|
|
5110
5220
|
]
|
|
5111
5221
|
},
|
|
5112
|
-
{
|
|
5113
|
-
"name": "sidebarCollapsed",
|
|
5114
|
-
"optional": true,
|
|
5115
|
-
"type": "boolean",
|
|
5116
|
-
"values": null
|
|
5117
|
-
},
|
|
5118
5222
|
{
|
|
5119
5223
|
"name": "contentVariant",
|
|
5120
5224
|
"optional": true,
|
|
@@ -5627,16 +5731,23 @@
|
|
|
5627
5731
|
{
|
|
5628
5732
|
"name": "Progress",
|
|
5629
5733
|
"kind": "function",
|
|
5630
|
-
"propsType":
|
|
5734
|
+
"propsType": "ProgressProps",
|
|
5631
5735
|
"props": [
|
|
5632
5736
|
{
|
|
5633
|
-
"name": "
|
|
5634
|
-
"optional":
|
|
5635
|
-
"type": "
|
|
5636
|
-
"values":
|
|
5737
|
+
"name": "tone",
|
|
5738
|
+
"optional": true,
|
|
5739
|
+
"type": "ProgressTone",
|
|
5740
|
+
"values": [
|
|
5741
|
+
"brand",
|
|
5742
|
+
"neutral",
|
|
5743
|
+
"success",
|
|
5744
|
+
"warning",
|
|
5745
|
+
"danger",
|
|
5746
|
+
"info"
|
|
5747
|
+
]
|
|
5637
5748
|
},
|
|
5638
5749
|
{
|
|
5639
|
-
"name": "
|
|
5750
|
+
"name": "className",
|
|
5640
5751
|
"optional": true,
|
|
5641
5752
|
"type": "string",
|
|
5642
5753
|
"values": null
|
|
@@ -5920,6 +6031,45 @@
|
|
|
5920
6031
|
"optional": true,
|
|
5921
6032
|
"type": "string",
|
|
5922
6033
|
"values": null
|
|
6034
|
+
},
|
|
6035
|
+
{
|
|
6036
|
+
"name": "selectionMode",
|
|
6037
|
+
"optional": true,
|
|
6038
|
+
"type": "\"single\" | \"multiple\"",
|
|
6039
|
+
"values": [
|
|
6040
|
+
"single",
|
|
6041
|
+
"multiple"
|
|
6042
|
+
]
|
|
6043
|
+
},
|
|
6044
|
+
{
|
|
6045
|
+
"name": "selectedIds",
|
|
6046
|
+
"optional": true,
|
|
6047
|
+
"type": "string[]",
|
|
6048
|
+
"values": null
|
|
6049
|
+
},
|
|
6050
|
+
{
|
|
6051
|
+
"name": "onSelectionChange",
|
|
6052
|
+
"optional": true,
|
|
6053
|
+
"type": "(ids: string[]) => void",
|
|
6054
|
+
"values": null
|
|
6055
|
+
},
|
|
6056
|
+
{
|
|
6057
|
+
"name": "hasMore",
|
|
6058
|
+
"optional": true,
|
|
6059
|
+
"type": "boolean",
|
|
6060
|
+
"values": null
|
|
6061
|
+
},
|
|
6062
|
+
{
|
|
6063
|
+
"name": "loading",
|
|
6064
|
+
"optional": true,
|
|
6065
|
+
"type": "boolean",
|
|
6066
|
+
"values": null
|
|
6067
|
+
},
|
|
6068
|
+
{
|
|
6069
|
+
"name": "onReachEnd",
|
|
6070
|
+
"optional": true,
|
|
6071
|
+
"type": "() => void",
|
|
6072
|
+
"values": null
|
|
5923
6073
|
}
|
|
5924
6074
|
]
|
|
5925
6075
|
},
|
|
@@ -6349,6 +6499,18 @@
|
|
|
6349
6499
|
"type": "(node: TreeNode) => void",
|
|
6350
6500
|
"values": null
|
|
6351
6501
|
},
|
|
6502
|
+
{
|
|
6503
|
+
"name": "onExpand",
|
|
6504
|
+
"optional": true,
|
|
6505
|
+
"type": "(node: TreeNode) => void | Promise<unknown>",
|
|
6506
|
+
"values": null
|
|
6507
|
+
},
|
|
6508
|
+
{
|
|
6509
|
+
"name": "selectedId",
|
|
6510
|
+
"optional": true,
|
|
6511
|
+
"type": "string | null",
|
|
6512
|
+
"values": null
|
|
6513
|
+
},
|
|
6352
6514
|
{
|
|
6353
6515
|
"name": "label",
|
|
6354
6516
|
"optional": true,
|
package/aurea.contract.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Aurea — Universal Design System",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.1",
|
|
4
4
|
"status": "organized-source-of-truth",
|
|
5
5
|
"language": "pt-BR",
|
|
6
6
|
"fonts": {
|
|
@@ -342,13 +342,13 @@
|
|
|
342
342
|
"Consultar este arquivo antes de qualquer alteração de interface.",
|
|
343
343
|
"Usar somente tokens semânticos definidos neste arquivo.",
|
|
344
344
|
"O amarelo primário oklch(0.795 0.184 86.047) é invariável nos temas dark e light.",
|
|
345
|
-
"Botões textuais usam formato cápsula; botões de ícone
|
|
345
|
+
"Botões textuais usam formato cápsula; botões só de ícone são redondos: largura igual à altura e o raio da cápsula (ADR-0052).",
|
|
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
349
|
"Não usar gradientes decorativos, paletas alternativas ou cores hardcoded.",
|
|
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.",
|
|
353
353
|
"Quando faltar um padrão, atualizar primeiro este arquivo e depois a aplicação.",
|
|
354
354
|
"Players usam exclusivamente os tokens --media-*; controles permanecem escuros e legíveis nos dois temas.",
|
|
@@ -365,11 +365,10 @@
|
|
|
365
365
|
},
|
|
366
366
|
"brandOverrides": {
|
|
367
367
|
"fonts": [
|
|
368
|
-
"
|
|
369
|
-
"
|
|
370
|
-
"IBM Plex Mono"
|
|
368
|
+
"Atkinson Hyperlegible Next",
|
|
369
|
+
"Atkinson Hyperlegible Mono"
|
|
371
370
|
],
|
|
372
|
-
"icons": "
|
|
371
|
+
"icons": "Phosphor Icons embedded (Regular; Fill on the selected item)",
|
|
373
372
|
"primaryLockedAcrossThemes": "oklch(0.795 0.184 86.047)"
|
|
374
373
|
},
|
|
375
374
|
"mediaRules": {
|