@aurea-uds/contracts 0.18.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 CHANGED
@@ -6,8 +6,8 @@
6
6
  "modulos": 36,
7
7
  "componentes": 126,
8
8
  "hooks": 9,
9
- "aliasesLiterais": 63,
10
- "propsDistintas": 241
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\"",
@@ -1957,6 +1965,14 @@
1957
1965
  "block"
1958
1966
  ]
1959
1967
  },
1968
+ "GalleryItemKind": {
1969
+ "module": "media-client",
1970
+ "raw": "\"image\" | \"video\"",
1971
+ "union": [
1972
+ "image",
1973
+ "video"
1974
+ ]
1975
+ },
1960
1976
  "StepState": {
1961
1977
  "module": "navigation-client",
1962
1978
  "raw": "\"default\" | \"active\" | \"done\" | \"error\"",
@@ -3390,7 +3406,7 @@
3390
3406
  {
3391
3407
  "name": "onSend",
3392
3408
  "optional": false,
3393
- "type": "(text: string) => void",
3409
+ "type": "(text: string, details?: MessageSendDetails) => void",
3394
3410
  "values": null
3395
3411
  },
3396
3412
  {
@@ -3428,13 +3444,43 @@
3428
3444
  "optional": true,
3429
3445
  "type": "string",
3430
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
3431
3477
  }
3432
3478
  ]
3433
3479
  },
3434
3480
  {
3435
3481
  "name": "MessageList",
3436
3482
  "kind": "function",
3437
- "propsType": null,
3483
+ "propsType": "MessageListProps",
3438
3484
  "props": [
3439
3485
  {
3440
3486
  "name": "messages",
@@ -3453,6 +3499,48 @@
3453
3499
  "optional": true,
3454
3500
  "type": "string",
3455
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
3456
3544
  }
3457
3545
  ]
3458
3546
  }
@@ -5943,6 +6031,45 @@
5943
6031
  "optional": true,
5944
6032
  "type": "string",
5945
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
5946
6073
  }
5947
6074
  ]
5948
6075
  },
@@ -6372,6 +6499,18 @@
6372
6499
  "type": "(node: TreeNode) => void",
6373
6500
  "values": null
6374
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
+ },
6375
6514
  {
6376
6515
  "name": "label",
6377
6516
  "optional": true,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "Aurea — Universal Design System",
3
- "version": "0.18.0",
3
+ "version": "0.19.1",
4
4
  "status": "organized-source-of-truth",
5
5
  "language": "pt-BR",
6
6
  "fonts": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurea-uds/contracts",
3
- "version": "0.18.0",
3
+ "version": "0.19.1",
4
4
  "description": "O contrato do projeto Aurea UDS, em JSON legível por máquina.",
5
5
  "keywords": [
6
6
  "aurea",