@aurea-uds/contracts 0.35.0 → 0.37.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
@@ -3,11 +3,11 @@
3
3
  "_regra": "Quando isto e a ficha do registry discordam, isto ganha: veio do compilador. O check 26 do validate.py reprova a divergência.",
4
4
  "schemaVersion": "1.0",
5
5
  "totals": {
6
- "modulos": 39,
7
- "componentes": 144,
6
+ "modulos": 40,
7
+ "componentes": 145,
8
8
  "hooks": 9,
9
- "aliasesLiterais": 111,
10
- "propsDistintas": 370
9
+ "aliasesLiterais": 112,
10
+ "propsDistintas": 375
11
11
  },
12
12
  "aliases": {
13
13
  "ButtonVariant": {
@@ -209,6 +209,16 @@
209
209
  "raw": "DatePickerBase & ({ range?: false; value?: Date; defaultValue?: Date; onChange?: (d: Date) => void; } | { range: true; value?: DateRange; defaultValue?: DateRange; onChange?: (r: DateRange) => void; })",
210
210
  "union": null
211
211
  },
212
+ "CodeLine": {
213
+ "module": "code-client",
214
+ "raw": "CodeToken[]",
215
+ "union": null
216
+ },
217
+ "CodeHighlighter": {
218
+ "module": "code-client",
219
+ "raw": "(code: string, language: string) => CodeLine[] | null",
220
+ "union": null
221
+ },
212
222
  "ColorSpace": {
213
223
  "module": "color",
214
224
  "raw": "\"rgb\" | \"hsl\" | \"hsb\"",
@@ -316,12 +326,27 @@
316
326
  },
317
327
  "BannerVariant": {
318
328
  "module": "feedback-client",
319
- "raw": "\"info\" | \"success\" | \"warning\" | \"danger\"",
329
+ "raw": "\"info\" | \"success\" | \"warning\" | \"danger\" | \"consent\"",
320
330
  "union": [
321
331
  "info",
322
332
  "success",
323
333
  "warning",
324
- "danger"
334
+ "danger",
335
+ "consent"
336
+ ]
337
+ },
338
+ "ConsentChoice": {
339
+ "module": "feedback-client",
340
+ "raw": "Record<string, boolean>",
341
+ "union": null
342
+ },
343
+ "ConsentAction": {
344
+ "module": "feedback-client",
345
+ "raw": "\"accept-all\" | \"reject\" | \"custom\"",
346
+ "union": [
347
+ "accept-all",
348
+ "reject",
349
+ "custom"
325
350
  ]
326
351
  },
327
352
  "SpinnerSize": {
@@ -2153,10 +2178,11 @@
2153
2178
  },
2154
2179
  "SectionVariant": {
2155
2180
  "module": "markup",
2156
- "raw": "\"base\" | \"footer\"",
2181
+ "raw": "\"base\" | \"footer\" | \"hero\"",
2157
2182
  "union": [
2158
2183
  "base",
2159
- "footer"
2184
+ "footer",
2185
+ "hero"
2160
2186
  ]
2161
2187
  },
2162
2188
  "SectionSpacing": {
@@ -2305,6 +2331,11 @@
2305
2331
  "content"
2306
2332
  ]
2307
2333
  },
2334
+ "ChipProps": {
2335
+ "module": "markup",
2336
+ "raw": "BadgeProps",
2337
+ "union": null
2338
+ },
2308
2339
  "ProgressTone": {
2309
2340
  "module": "markup",
2310
2341
  "raw": "\"brand\" | \"neutral\" | \"success\" | \"warning\" | \"danger\" | \"info\"",
@@ -4240,6 +4271,18 @@
4240
4271
  "type": "React.ReactNode",
4241
4272
  "values": null
4242
4273
  },
4274
+ {
4275
+ "name": "lineNumbers",
4276
+ "optional": true,
4277
+ "type": "boolean",
4278
+ "values": null
4279
+ },
4280
+ {
4281
+ "name": "highlight",
4282
+ "optional": true,
4283
+ "type": "CodeHighlighter",
4284
+ "values": null
4285
+ },
4243
4286
  {
4244
4287
  "name": "className",
4245
4288
  "optional": true,
@@ -4301,6 +4344,11 @@
4301
4344
  "hooks": [],
4302
4345
  "clientDirective": false
4303
4346
  },
4347
+ "code-highlight": {
4348
+ "components": [],
4349
+ "hooks": [],
4350
+ "clientDirective": false
4351
+ },
4304
4352
  "code": {
4305
4353
  "components": [],
4306
4354
  "hooks": [],
@@ -4981,7 +5029,7 @@
4981
5029
  {
4982
5030
  "name": "Banner",
4983
5031
  "kind": "function",
4984
- "propsType": null,
5032
+ "propsType": "BannerProps",
4985
5033
  "props": [
4986
5034
  {
4987
5035
  "name": "variant",
@@ -4991,7 +5039,8 @@
4991
5039
  "info",
4992
5040
  "success",
4993
5041
  "warning",
4994
- "danger"
5042
+ "danger",
5043
+ "consent"
4995
5044
  ]
4996
5045
  },
4997
5046
  {
@@ -5025,6 +5074,24 @@
5025
5074
  "optional": true,
5026
5075
  "type": "() => void",
5027
5076
  "values": null
5077
+ },
5078
+ {
5079
+ "name": "categories",
5080
+ "optional": true,
5081
+ "type": "ConsentCategory[]",
5082
+ "values": null
5083
+ },
5084
+ {
5085
+ "name": "value",
5086
+ "optional": true,
5087
+ "type": "ConsentChoice",
5088
+ "values": null
5089
+ },
5090
+ {
5091
+ "name": "onConsent",
5092
+ "optional": true,
5093
+ "type": "(choice: ConsentChoice, action: ConsentAction) => void",
5094
+ "values": null
5028
5095
  }
5029
5096
  ]
5030
5097
  },
@@ -7702,6 +7769,174 @@
7702
7769
  }
7703
7770
  ]
7704
7771
  },
7772
+ {
7773
+ "name": "Chip",
7774
+ "kind": "function",
7775
+ "propsType": "BadgeProps",
7776
+ "props": [
7777
+ {
7778
+ "name": "variant",
7779
+ "optional": true,
7780
+ "type": "BadgeVariant",
7781
+ "values": [
7782
+ "neutral",
7783
+ "primary",
7784
+ "info",
7785
+ "success",
7786
+ "warning",
7787
+ "danger",
7788
+ "running",
7789
+ "paused",
7790
+ "offline",
7791
+ "review",
7792
+ "red",
7793
+ "orange",
7794
+ "green",
7795
+ "teal",
7796
+ "cyan",
7797
+ "blue",
7798
+ "violet",
7799
+ "pink"
7800
+ ]
7801
+ },
7802
+ {
7803
+ "name": "tone",
7804
+ "optional": true,
7805
+ "type": "BadgeVariant",
7806
+ "values": [
7807
+ "neutral",
7808
+ "primary",
7809
+ "info",
7810
+ "success",
7811
+ "warning",
7812
+ "danger",
7813
+ "running",
7814
+ "paused",
7815
+ "offline",
7816
+ "review",
7817
+ "red",
7818
+ "orange",
7819
+ "green",
7820
+ "teal",
7821
+ "cyan",
7822
+ "blue",
7823
+ "violet",
7824
+ "pink"
7825
+ ]
7826
+ },
7827
+ {
7828
+ "name": "emphasis",
7829
+ "optional": true,
7830
+ "type": "BadgeEmphasis",
7831
+ "values": [
7832
+ "soft",
7833
+ "solid",
7834
+ "outline",
7835
+ "flat"
7836
+ ]
7837
+ },
7838
+ {
7839
+ "name": "size",
7840
+ "optional": true,
7841
+ "type": "BadgeSize",
7842
+ "values": [
7843
+ "xs",
7844
+ "sm",
7845
+ "md",
7846
+ "lg"
7847
+ ]
7848
+ },
7849
+ {
7850
+ "name": "dot",
7851
+ "optional": true,
7852
+ "type": "boolean",
7853
+ "values": null
7854
+ },
7855
+ {
7856
+ "name": "leading",
7857
+ "optional": true,
7858
+ "type": "ReactNode",
7859
+ "values": null
7860
+ },
7861
+ {
7862
+ "name": "trailing",
7863
+ "optional": true,
7864
+ "type": "ReactNode",
7865
+ "values": null
7866
+ },
7867
+ {
7868
+ "name": "image",
7869
+ "optional": true,
7870
+ "type": "string",
7871
+ "values": null
7872
+ },
7873
+ {
7874
+ "name": "imageAlt",
7875
+ "optional": true,
7876
+ "type": "string",
7877
+ "values": null
7878
+ },
7879
+ {
7880
+ "name": "count",
7881
+ "optional": true,
7882
+ "type": "number",
7883
+ "values": null
7884
+ },
7885
+ {
7886
+ "name": "max",
7887
+ "optional": true,
7888
+ "type": "number",
7889
+ "values": null
7890
+ },
7891
+ {
7892
+ "name": "showZero",
7893
+ "optional": true,
7894
+ "type": "boolean",
7895
+ "values": null
7896
+ },
7897
+ {
7898
+ "name": "fit",
7899
+ "optional": true,
7900
+ "type": "BadgeFit",
7901
+ "values": [
7902
+ "auto",
7903
+ "content"
7904
+ ]
7905
+ },
7906
+ {
7907
+ "name": "anchor",
7908
+ "optional": true,
7909
+ "type": "BadgePlacement",
7910
+ "values": [
7911
+ "top-end",
7912
+ "top-start",
7913
+ "bottom-end",
7914
+ "bottom-start"
7915
+ ]
7916
+ },
7917
+ {
7918
+ "name": "anchorShape",
7919
+ "optional": true,
7920
+ "type": "\"square\" | \"circle\"",
7921
+ "values": [
7922
+ "square",
7923
+ "circle"
7924
+ ]
7925
+ },
7926
+ {
7927
+ "name": "invisible",
7928
+ "optional": true,
7929
+ "type": "boolean",
7930
+ "values": null
7931
+ },
7932
+ {
7933
+ "name": "badgeContent",
7934
+ "optional": true,
7935
+ "type": "ReactNode",
7936
+ "values": null
7937
+ }
7938
+ ]
7939
+ },
7705
7940
  {
7706
7941
  "name": "Cluster",
7707
7942
  "kind": "function",
@@ -8625,7 +8860,8 @@
8625
8860
  "type": "SectionVariant",
8626
8861
  "values": [
8627
8862
  "base",
8628
- "footer"
8863
+ "footer",
8864
+ "hero"
8629
8865
  ]
8630
8866
  },
8631
8867
  {
@@ -8674,6 +8910,54 @@
8674
8910
  "optional": true,
8675
8911
  "type": "string",
8676
8912
  "values": null
8913
+ },
8914
+ {
8915
+ "name": "title",
8916
+ "optional": true,
8917
+ "type": "ReactNode",
8918
+ "values": null
8919
+ },
8920
+ {
8921
+ "name": "titleAs",
8922
+ "optional": true,
8923
+ "type": "\"h1\" | \"h2\"",
8924
+ "values": [
8925
+ "h1",
8926
+ "h2"
8927
+ ]
8928
+ },
8929
+ {
8930
+ "name": "eyebrow",
8931
+ "optional": true,
8932
+ "type": "ReactNode",
8933
+ "values": null
8934
+ },
8935
+ {
8936
+ "name": "description",
8937
+ "optional": true,
8938
+ "type": "ReactNode",
8939
+ "values": null
8940
+ },
8941
+ {
8942
+ "name": "actions",
8943
+ "optional": true,
8944
+ "type": "ReactNode",
8945
+ "values": null
8946
+ },
8947
+ {
8948
+ "name": "media",
8949
+ "optional": true,
8950
+ "type": "ReactNode",
8951
+ "values": null
8952
+ },
8953
+ {
8954
+ "name": "align",
8955
+ "optional": true,
8956
+ "type": "\"start\" | \"center\"",
8957
+ "values": [
8958
+ "start",
8959
+ "center"
8960
+ ]
8677
8961
  }
8678
8962
  ]
8679
8963
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "Aurea — Universal Design System",
3
- "version": "0.35.0",
3
+ "version": "0.37.0",
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.35.0",
3
+ "version": "0.37.0",
4
4
  "description": "O contrato do projeto Aurea UDS, em JSON legível por máquina.",
5
5
  "keywords": [
6
6
  "aurea",