@telus-uds/components-web 2.17.2 → 2.19.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/CHANGELOG.md +27 -2
- package/component-docs.json +854 -421
- package/lib/Badge/Badge.js +2 -2
- package/lib/BlockQuote/BlockQuote.js +9 -0
- package/lib/Callout/Callout.js +5 -0
- package/lib/DatePicker/DatePicker.js +24 -4
- package/lib/Disclaimer/Disclaimer.js +4 -0
- package/lib/ExpandCollapseMini/ExpandCollapseMini.js +7 -1
- package/lib/NavigationBar/NavigationBar.js +8 -2
- package/lib/NavigationBar/NavigationSubMenu.js +2 -4
- package/lib/OrderedList/OrderedList.js +4 -2
- package/lib/Ribbon/Ribbon.js +2 -1
- package/lib/Toast/Toast.js +2 -1
- package/lib/Video/Video.js +3 -1
- package/lib/WaffleGrid/WaffleGrid.js +20 -20
- package/lib/baseExports.js +12 -0
- package/lib/index.js +0 -18
- package/lib/utils/useOverlaidPosition.js +2 -2
- package/lib-module/Badge/Badge.js +1 -1
- package/lib-module/BlockQuote/BlockQuote.js +10 -1
- package/lib-module/Callout/Callout.js +6 -1
- package/lib-module/DatePicker/DatePicker.js +24 -4
- package/lib-module/Disclaimer/Disclaimer.js +4 -0
- package/lib-module/ExpandCollapseMini/ExpandCollapseMini.js +8 -2
- package/lib-module/NavigationBar/NavigationBar.js +8 -2
- package/lib-module/NavigationBar/NavigationSubMenu.js +1 -2
- package/lib-module/OrderedList/OrderedList.js +5 -3
- package/lib-module/Ribbon/Ribbon.js +3 -2
- package/lib-module/Toast/Toast.js +3 -2
- package/lib-module/Video/Video.js +4 -2
- package/lib-module/WaffleGrid/WaffleGrid.js +21 -21
- package/lib-module/baseExports.js +1 -1
- package/lib-module/index.js +0 -2
- package/lib-module/utils/useOverlaidPosition.js +2 -2
- package/package.json +3 -3
- package/src/Badge/Badge.jsx +1 -1
- package/src/BlockQuote/BlockQuote.jsx +10 -1
- package/src/Callout/Callout.jsx +11 -1
- package/src/DatePicker/DatePicker.jsx +20 -2
- package/src/Disclaimer/Disclaimer.jsx +3 -0
- package/src/ExpandCollapseMini/ExpandCollapseMini.jsx +7 -2
- package/src/NavigationBar/NavigationBar.jsx +7 -2
- package/src/NavigationBar/NavigationSubMenu.jsx +1 -2
- package/src/OrderedList/OrderedList.jsx +4 -3
- package/src/Ribbon/Ribbon.jsx +8 -2
- package/src/Toast/Toast.jsx +4 -2
- package/src/Video/Video.jsx +9 -2
- package/src/WaffleGrid/WaffleGrid.jsx +21 -15
- package/src/baseExports.js +2 -0
- package/src/index.js +0 -2
- package/src/utils/useOverlaidPosition.js +2 -2
- package/types/Callout.d.ts +1 -0
- package/lib/Autocomplete/Autocomplete.js +0 -407
- package/lib/Autocomplete/Loading.js +0 -46
- package/lib/Autocomplete/Suggestions.js +0 -81
- package/lib/Autocomplete/constants.js +0 -19
- package/lib/Autocomplete/dictionary.js +0 -19
- package/lib/Autocomplete/index.js +0 -13
- package/lib/Listbox/GroupControl.js +0 -110
- package/lib/Listbox/Listbox.js +0 -179
- package/lib/Listbox/ListboxGroup.js +0 -145
- package/lib/Listbox/ListboxItem.js +0 -101
- package/lib/Listbox/ListboxOverlay.js +0 -91
- package/lib/Listbox/index.js +0 -13
- package/lib-module/Autocomplete/Autocomplete.js +0 -383
- package/lib-module/Autocomplete/Loading.js +0 -32
- package/lib-module/Autocomplete/Suggestions.js +0 -64
- package/lib-module/Autocomplete/constants.js +0 -5
- package/lib-module/Autocomplete/dictionary.js +0 -12
- package/lib-module/Autocomplete/index.js +0 -2
- package/lib-module/Listbox/GroupControl.js +0 -96
- package/lib-module/Listbox/Listbox.js +0 -158
- package/lib-module/Listbox/ListboxGroup.js +0 -122
- package/lib-module/Listbox/ListboxItem.js +0 -77
- package/lib-module/Listbox/ListboxOverlay.js +0 -69
- package/lib-module/Listbox/index.js +0 -2
- package/src/Autocomplete/Autocomplete.jsx +0 -357
- package/src/Autocomplete/Loading.jsx +0 -15
- package/src/Autocomplete/Suggestions.jsx +0 -52
- package/src/Autocomplete/constants.js +0 -6
- package/src/Autocomplete/dictionary.js +0 -12
- package/src/Autocomplete/index.js +0 -3
- package/src/Listbox/GroupControl.jsx +0 -82
- package/src/Listbox/Listbox.jsx +0 -163
- package/src/Listbox/ListboxGroup.jsx +0 -125
- package/src/Listbox/ListboxItem.jsx +0 -80
- package/src/Listbox/ListboxOverlay.jsx +0 -72
- package/src/Listbox/index.js +0 -3
package/component-docs.json
CHANGED
|
@@ -1,151 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"Autocomplete": {
|
|
3
|
-
"docs": {
|
|
4
|
-
"description": "",
|
|
5
|
-
"props": {
|
|
6
|
-
"copy": {
|
|
7
|
-
"defaultValue": {
|
|
8
|
-
"value": "'en'",
|
|
9
|
-
"computed": false
|
|
10
|
-
},
|
|
11
|
-
"type": {
|
|
12
|
-
"name": "union",
|
|
13
|
-
"value": [
|
|
14
|
-
{
|
|
15
|
-
"name": "enum",
|
|
16
|
-
"value": [
|
|
17
|
-
{
|
|
18
|
-
"value": "'en'",
|
|
19
|
-
"computed": false
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"value": "'fr'",
|
|
23
|
-
"computed": false
|
|
24
|
-
}
|
|
25
|
-
]
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "custom",
|
|
29
|
-
"raw": "dictionaryContentShape"
|
|
30
|
-
}
|
|
31
|
-
]
|
|
32
|
-
},
|
|
33
|
-
"required": false,
|
|
34
|
-
"description": "Copy language identifier"
|
|
35
|
-
},
|
|
36
|
-
"fullWidth": {
|
|
37
|
-
"defaultValue": {
|
|
38
|
-
"value": "true",
|
|
39
|
-
"computed": false
|
|
40
|
-
},
|
|
41
|
-
"required": false
|
|
42
|
-
},
|
|
43
|
-
"isLoading": {
|
|
44
|
-
"defaultValue": {
|
|
45
|
-
"value": "false",
|
|
46
|
-
"computed": false
|
|
47
|
-
},
|
|
48
|
-
"type": {
|
|
49
|
-
"name": "bool"
|
|
50
|
-
},
|
|
51
|
-
"required": false,
|
|
52
|
-
"description": "Set to true in order to display the loading indicator instead of results"
|
|
53
|
-
},
|
|
54
|
-
"maxSuggestions": {
|
|
55
|
-
"defaultValue": {
|
|
56
|
-
"value": "5",
|
|
57
|
-
"computed": false
|
|
58
|
-
},
|
|
59
|
-
"type": {
|
|
60
|
-
"name": "number"
|
|
61
|
-
},
|
|
62
|
-
"required": false,
|
|
63
|
-
"description": "Maximum number of suggestions provided at the same time"
|
|
64
|
-
},
|
|
65
|
-
"minToSuggestion": {
|
|
66
|
-
"defaultValue": {
|
|
67
|
-
"value": "1",
|
|
68
|
-
"computed": false
|
|
69
|
-
},
|
|
70
|
-
"type": {
|
|
71
|
-
"name": "number"
|
|
72
|
-
},
|
|
73
|
-
"required": false,
|
|
74
|
-
"description": "Minimum number of characters typed for a list of suggestions to appear"
|
|
75
|
-
},
|
|
76
|
-
"children": {
|
|
77
|
-
"type": {
|
|
78
|
-
"name": "func"
|
|
79
|
-
},
|
|
80
|
-
"required": false,
|
|
81
|
-
"description": "Can be used to provide a function that renders a custom input:\n<Autocomplete items={items} value={currentValue}>\n {({ inputId, inputRef, onChange, onKeyPress, readOnly, tokens, value }) => (\n <Search\n nativeID={inputId}\n ref={inputRef}\n onChange={onChange}\n onKeyPress={onKeyPress}\n readOnly={readOnly}\n tokens={tokens}\n value={value}\n />\n )}\n</Autocomplete>"
|
|
82
|
-
},
|
|
83
|
-
"items": {
|
|
84
|
-
"type": {
|
|
85
|
-
"name": "arrayOf",
|
|
86
|
-
"value": {
|
|
87
|
-
"name": "shape",
|
|
88
|
-
"value": {
|
|
89
|
-
"id": {
|
|
90
|
-
"name": "string",
|
|
91
|
-
"required": false
|
|
92
|
-
},
|
|
93
|
-
"label": {
|
|
94
|
-
"name": "string",
|
|
95
|
-
"required": false
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"required": false,
|
|
101
|
-
"description": "List of items to display as suggestions"
|
|
102
|
-
},
|
|
103
|
-
"loadingLabel": {
|
|
104
|
-
"type": {
|
|
105
|
-
"name": "string"
|
|
106
|
-
},
|
|
107
|
-
"required": false,
|
|
108
|
-
"description": "Label to display alongside the spinner when in a loading state"
|
|
109
|
-
},
|
|
110
|
-
"noResults": {
|
|
111
|
-
"type": {
|
|
112
|
-
"name": "node"
|
|
113
|
-
},
|
|
114
|
-
"required": false,
|
|
115
|
-
"description": "Text or JSX to render when no results are available"
|
|
116
|
-
},
|
|
117
|
-
"onChange": {
|
|
118
|
-
"type": {
|
|
119
|
-
"name": "func"
|
|
120
|
-
},
|
|
121
|
-
"required": false,
|
|
122
|
-
"description": "Handler function to be called when the input value changes"
|
|
123
|
-
},
|
|
124
|
-
"onClear": {
|
|
125
|
-
"type": {
|
|
126
|
-
"name": "func"
|
|
127
|
-
},
|
|
128
|
-
"required": false,
|
|
129
|
-
"description": "Handler function to be called when the clear button (appears if the handler is passed) is pressed"
|
|
130
|
-
},
|
|
131
|
-
"onSelect": {
|
|
132
|
-
"type": {
|
|
133
|
-
"name": "func"
|
|
134
|
-
},
|
|
135
|
-
"required": false,
|
|
136
|
-
"description": "Callback function to be called when an item is selected from the list"
|
|
137
|
-
},
|
|
138
|
-
"value": {
|
|
139
|
-
"type": {
|
|
140
|
-
"name": "string"
|
|
141
|
-
},
|
|
142
|
-
"required": false,
|
|
143
|
-
"description": "Input value for controlled usage"
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
"attributes": {}
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
2
|
"Badge": {
|
|
150
3
|
"docs": {
|
|
151
4
|
"description": "",
|
|
@@ -243,12 +96,58 @@
|
|
|
243
96
|
"required": false,
|
|
244
97
|
"description": "Whether to render BlockQuote as a heading size of `h3` or large text size"
|
|
245
98
|
},
|
|
99
|
+
"tokens": {
|
|
100
|
+
"type": {
|
|
101
|
+
"name": "custom",
|
|
102
|
+
"raw": {
|
|
103
|
+
"color": "color",
|
|
104
|
+
"backgroundGradient": "gradient",
|
|
105
|
+
"paddingLeft": "size",
|
|
106
|
+
"paddingRight": "size",
|
|
107
|
+
"paddingTop": "size",
|
|
108
|
+
"paddingBottom": "size",
|
|
109
|
+
"marginBottom": "size",
|
|
110
|
+
"width": "size",
|
|
111
|
+
"titleHeadingFontSize": "fontSize",
|
|
112
|
+
"titleHeadingFontName": "fontName",
|
|
113
|
+
"titleHeadingFontWeight": "fontWeight",
|
|
114
|
+
"titleHeadingLineHeight": "lineHeight",
|
|
115
|
+
"titleFontSize": "fontSize",
|
|
116
|
+
"titleFontName": "fontName",
|
|
117
|
+
"titleFontWeight": "fontWeight",
|
|
118
|
+
"titleLineHeight": "lineHeight",
|
|
119
|
+
"linkFontSize": "fontSize",
|
|
120
|
+
"linkFontName": "fontName",
|
|
121
|
+
"linkFontWeight": "fontWeight",
|
|
122
|
+
"linkLineHeight": "lineHeight"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"required": false,
|
|
126
|
+
"description": ""
|
|
127
|
+
},
|
|
128
|
+
"variant": {
|
|
129
|
+
"type": {
|
|
130
|
+
"name": "exact",
|
|
131
|
+
"value": {
|
|
132
|
+
"alternative": {
|
|
133
|
+
"name": "bool",
|
|
134
|
+
"required": false
|
|
135
|
+
},
|
|
136
|
+
"size": {
|
|
137
|
+
"name": "string",
|
|
138
|
+
"required": false
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"required": false,
|
|
143
|
+
"description": ""
|
|
144
|
+
},
|
|
246
145
|
"children": {
|
|
247
146
|
"type": {
|
|
248
147
|
"name": "node"
|
|
249
148
|
},
|
|
250
149
|
"required": true,
|
|
251
|
-
"description": ""
|
|
150
|
+
"description": "Children nodes that can be added"
|
|
252
151
|
},
|
|
253
152
|
"link": {
|
|
254
153
|
"type": {
|
|
@@ -396,6 +295,23 @@
|
|
|
396
295
|
},
|
|
397
296
|
"required": false
|
|
398
297
|
},
|
|
298
|
+
"tokens": {
|
|
299
|
+
"type": {
|
|
300
|
+
"name": "custom",
|
|
301
|
+
"raw": {
|
|
302
|
+
"background": "color",
|
|
303
|
+
"gap": "size",
|
|
304
|
+
"borderRadius": "size",
|
|
305
|
+
"paddingLeft": "size",
|
|
306
|
+
"paddingRight": "size",
|
|
307
|
+
"paddingTop": "size",
|
|
308
|
+
"paddingBottom": "size",
|
|
309
|
+
"color": "color"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"required": false,
|
|
313
|
+
"description": ""
|
|
314
|
+
},
|
|
399
315
|
"icon": {
|
|
400
316
|
"type": {
|
|
401
317
|
"name": "elementType"
|
|
@@ -408,7 +324,7 @@
|
|
|
408
324
|
"name": "node"
|
|
409
325
|
},
|
|
410
326
|
"required": true,
|
|
411
|
-
"description": ""
|
|
327
|
+
"description": "Children nodes that can be added"
|
|
412
328
|
},
|
|
413
329
|
"textAlignToFlex": {
|
|
414
330
|
"type": {
|
|
@@ -806,6 +722,28 @@
|
|
|
806
722
|
"required": false,
|
|
807
723
|
"description": "Disable the input which will not open the calendar picker"
|
|
808
724
|
},
|
|
725
|
+
"prevTestID": {
|
|
726
|
+
"defaultValue": {
|
|
727
|
+
"value": "''",
|
|
728
|
+
"computed": false
|
|
729
|
+
},
|
|
730
|
+
"type": {
|
|
731
|
+
"name": "string"
|
|
732
|
+
},
|
|
733
|
+
"required": false,
|
|
734
|
+
"description": "A unique identifier for the previous icon button located on the datepicker.\nThis is for automation testing purposes.\nWill be added as a `data-testid-prev` attribute for example."
|
|
735
|
+
},
|
|
736
|
+
"nextTestID": {
|
|
737
|
+
"defaultValue": {
|
|
738
|
+
"value": "''",
|
|
739
|
+
"computed": false
|
|
740
|
+
},
|
|
741
|
+
"type": {
|
|
742
|
+
"name": "string"
|
|
743
|
+
},
|
|
744
|
+
"required": false,
|
|
745
|
+
"description": "A unique identifier for the next icon button located on the datepicker.\nThis is for automation testing purposes.\nWill be added as a `data-testid-next` attribute for example."
|
|
746
|
+
},
|
|
809
747
|
"id": {
|
|
810
748
|
"type": {
|
|
811
749
|
"name": "string"
|
|
@@ -826,7 +764,7 @@
|
|
|
826
764
|
"name": "node"
|
|
827
765
|
},
|
|
828
766
|
"required": true,
|
|
829
|
-
"description": ""
|
|
767
|
+
"description": "Children nodes that can be added"
|
|
830
768
|
}
|
|
831
769
|
},
|
|
832
770
|
"attributes": {}
|
|
@@ -847,6 +785,20 @@
|
|
|
847
785
|
"required": false,
|
|
848
786
|
"description": "Function to call on pressing the panel's control, which should open or close the panel."
|
|
849
787
|
},
|
|
788
|
+
"tokens": {
|
|
789
|
+
"defaultValue": {
|
|
790
|
+
"value": "{}",
|
|
791
|
+
"computed": false
|
|
792
|
+
},
|
|
793
|
+
"type": {
|
|
794
|
+
"name": "custom",
|
|
795
|
+
"raw": {
|
|
796
|
+
"borderWidth": "border"
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
"required": false,
|
|
800
|
+
"description": ""
|
|
801
|
+
},
|
|
850
802
|
"nativeID": {
|
|
851
803
|
"defaultValue": {
|
|
852
804
|
"value": "''",
|
|
@@ -898,7 +850,7 @@
|
|
|
898
850
|
"name": "node"
|
|
899
851
|
},
|
|
900
852
|
"required": true,
|
|
901
|
-
"description": ""
|
|
853
|
+
"description": "Children nodes that can be added"
|
|
902
854
|
}
|
|
903
855
|
},
|
|
904
856
|
"attributes": {}
|
|
@@ -1356,151 +1308,35 @@
|
|
|
1356
1308
|
}
|
|
1357
1309
|
}
|
|
1358
1310
|
},
|
|
1359
|
-
"
|
|
1311
|
+
"Modal": {
|
|
1360
1312
|
"docs": {
|
|
1361
1313
|
"description": "",
|
|
1362
1314
|
"props": {
|
|
1363
|
-
"
|
|
1315
|
+
"onCancel": {
|
|
1364
1316
|
"defaultValue": {
|
|
1365
|
-
"value": "
|
|
1366
|
-
"computed":
|
|
1317
|
+
"value": "onClose",
|
|
1318
|
+
"computed": true
|
|
1367
1319
|
},
|
|
1368
1320
|
"type": {
|
|
1369
|
-
"name": "
|
|
1321
|
+
"name": "func"
|
|
1370
1322
|
},
|
|
1371
1323
|
"required": false,
|
|
1372
|
-
"description": "`
|
|
1324
|
+
"description": "Action to perform on pressing the cancel button. Defaults to `onClose` action if undefined."
|
|
1373
1325
|
},
|
|
1374
|
-
"
|
|
1326
|
+
"variant": {
|
|
1375
1327
|
"defaultValue": {
|
|
1376
|
-
"value": "
|
|
1328
|
+
"value": "{}",
|
|
1377
1329
|
"computed": false
|
|
1378
1330
|
},
|
|
1379
1331
|
"type": {
|
|
1380
1332
|
"name": "object"
|
|
1381
1333
|
},
|
|
1382
1334
|
"required": false,
|
|
1383
|
-
"description": "
|
|
1335
|
+
"description": ""
|
|
1384
1336
|
},
|
|
1385
|
-
"
|
|
1386
|
-
"defaultValue": {
|
|
1387
|
-
"value": "null",
|
|
1388
|
-
"computed": false
|
|
1389
|
-
},
|
|
1337
|
+
"children": {
|
|
1390
1338
|
"type": {
|
|
1391
|
-
"name": "
|
|
1392
|
-
},
|
|
1393
|
-
"required": false,
|
|
1394
|
-
"description": "Focus will be returned to the dropdown control with this ref after leaving\nthe last menu item."
|
|
1395
|
-
},
|
|
1396
|
-
"selectedId": {
|
|
1397
|
-
"type": {
|
|
1398
|
-
"name": "string"
|
|
1399
|
-
},
|
|
1400
|
-
"required": false,
|
|
1401
|
-
"description": "To select an item by default"
|
|
1402
|
-
}
|
|
1403
|
-
},
|
|
1404
|
-
"attributes": {}
|
|
1405
|
-
},
|
|
1406
|
-
"Overlay": {
|
|
1407
|
-
"docs": {
|
|
1408
|
-
"description": "",
|
|
1409
|
-
"props": {
|
|
1410
|
-
"isReady": {
|
|
1411
|
-
"defaultValue": {
|
|
1412
|
-
"value": "false",
|
|
1413
|
-
"computed": false
|
|
1414
|
-
},
|
|
1415
|
-
"type": {
|
|
1416
|
-
"name": "bool"
|
|
1417
|
-
},
|
|
1418
|
-
"required": false,
|
|
1419
|
-
"description": ""
|
|
1420
|
-
},
|
|
1421
|
-
"children": {
|
|
1422
|
-
"type": {
|
|
1423
|
-
"name": "node"
|
|
1424
|
-
},
|
|
1425
|
-
"required": true,
|
|
1426
|
-
"description": ""
|
|
1427
|
-
},
|
|
1428
|
-
"overlaidPosition": {
|
|
1429
|
-
"type": {
|
|
1430
|
-
"name": "shape",
|
|
1431
|
-
"value": {
|
|
1432
|
-
"top": {
|
|
1433
|
-
"name": "number",
|
|
1434
|
-
"required": false
|
|
1435
|
-
},
|
|
1436
|
-
"left": {
|
|
1437
|
-
"name": "number",
|
|
1438
|
-
"required": false
|
|
1439
|
-
},
|
|
1440
|
-
"width": {
|
|
1441
|
-
"name": "number",
|
|
1442
|
-
"required": false
|
|
1443
|
-
}
|
|
1444
|
-
}
|
|
1445
|
-
},
|
|
1446
|
-
"required": false,
|
|
1447
|
-
"description": ""
|
|
1448
|
-
},
|
|
1449
|
-
"maxWidth": {
|
|
1450
|
-
"type": {
|
|
1451
|
-
"name": "number"
|
|
1452
|
-
},
|
|
1453
|
-
"required": false,
|
|
1454
|
-
"description": ""
|
|
1455
|
-
},
|
|
1456
|
-
"minWidth": {
|
|
1457
|
-
"type": {
|
|
1458
|
-
"name": "number"
|
|
1459
|
-
},
|
|
1460
|
-
"required": false,
|
|
1461
|
-
"description": ""
|
|
1462
|
-
},
|
|
1463
|
-
"onLayout": {
|
|
1464
|
-
"type": {
|
|
1465
|
-
"name": "func"
|
|
1466
|
-
},
|
|
1467
|
-
"required": false,
|
|
1468
|
-
"description": ""
|
|
1469
|
-
}
|
|
1470
|
-
},
|
|
1471
|
-
"attributes": {}
|
|
1472
|
-
}
|
|
1473
|
-
}
|
|
1474
|
-
},
|
|
1475
|
-
"Modal": {
|
|
1476
|
-
"docs": {
|
|
1477
|
-
"description": "",
|
|
1478
|
-
"props": {
|
|
1479
|
-
"onCancel": {
|
|
1480
|
-
"defaultValue": {
|
|
1481
|
-
"value": "onClose",
|
|
1482
|
-
"computed": true
|
|
1483
|
-
},
|
|
1484
|
-
"type": {
|
|
1485
|
-
"name": "func"
|
|
1486
|
-
},
|
|
1487
|
-
"required": false,
|
|
1488
|
-
"description": "Action to perform on pressing the cancel button. Defaults to `onClose` action if undefined."
|
|
1489
|
-
},
|
|
1490
|
-
"variant": {
|
|
1491
|
-
"defaultValue": {
|
|
1492
|
-
"value": "{}",
|
|
1493
|
-
"computed": false
|
|
1494
|
-
},
|
|
1495
|
-
"type": {
|
|
1496
|
-
"name": "object"
|
|
1497
|
-
},
|
|
1498
|
-
"required": false,
|
|
1499
|
-
"description": ""
|
|
1500
|
-
},
|
|
1501
|
-
"children": {
|
|
1502
|
-
"type": {
|
|
1503
|
-
"name": "node"
|
|
1339
|
+
"name": "node"
|
|
1504
1340
|
},
|
|
1505
1341
|
"required": false,
|
|
1506
1342
|
"description": ""
|
|
@@ -1637,10 +1473,14 @@
|
|
|
1637
1473
|
"props": {
|
|
1638
1474
|
"accessibilityRole": {
|
|
1639
1475
|
"defaultValue": {
|
|
1640
|
-
"value": "'
|
|
1476
|
+
"value": "''",
|
|
1641
1477
|
"computed": false
|
|
1642
1478
|
},
|
|
1643
|
-
"
|
|
1479
|
+
"type": {
|
|
1480
|
+
"name": "string"
|
|
1481
|
+
},
|
|
1482
|
+
"required": false,
|
|
1483
|
+
"description": "Accesibility role for stackview"
|
|
1644
1484
|
},
|
|
1645
1485
|
"headingLevel": {
|
|
1646
1486
|
"defaultValue": {
|
|
@@ -1943,6 +1783,18 @@
|
|
|
1943
1783
|
"required": false,
|
|
1944
1784
|
"description": "The position to start the list with."
|
|
1945
1785
|
},
|
|
1786
|
+
"variant": {
|
|
1787
|
+
"defaultValue": {
|
|
1788
|
+
"value": "{}",
|
|
1789
|
+
"computed": false
|
|
1790
|
+
},
|
|
1791
|
+
"type": {
|
|
1792
|
+
"name": "custom",
|
|
1793
|
+
"raw": "variantProp.propType"
|
|
1794
|
+
},
|
|
1795
|
+
"required": false,
|
|
1796
|
+
"description": ""
|
|
1797
|
+
},
|
|
1946
1798
|
"children": {
|
|
1947
1799
|
"type": {
|
|
1948
1800
|
"name": "node"
|
|
@@ -2836,6 +2688,42 @@
|
|
|
2836
2688
|
},
|
|
2837
2689
|
"required": false,
|
|
2838
2690
|
"description": "sets the top offset (triggers absolute positioning)"
|
|
2691
|
+
},
|
|
2692
|
+
"tokens": {
|
|
2693
|
+
"type": {
|
|
2694
|
+
"name": "custom",
|
|
2695
|
+
"raw": {
|
|
2696
|
+
"paddingLeft": "size",
|
|
2697
|
+
"paddingRight": "size",
|
|
2698
|
+
"paddingTop": "size",
|
|
2699
|
+
"paddingBottom": "size",
|
|
2700
|
+
"borderRadius": "size",
|
|
2701
|
+
"backgroundColor": "color",
|
|
2702
|
+
"boxShadowPaddingLeft": "size",
|
|
2703
|
+
"boxShadowPaddingTop": "size",
|
|
2704
|
+
"boxShadowPaddingRight": "size",
|
|
2705
|
+
"boxShadowPaddingBottom": "size",
|
|
2706
|
+
"boxShadowColor": "color",
|
|
2707
|
+
"curveAfterWidth": "size",
|
|
2708
|
+
"curveMarginTop": "size",
|
|
2709
|
+
"curveAfterRadius": "size",
|
|
2710
|
+
"curveBackgroundColor": "color",
|
|
2711
|
+
"curveHeight": "size",
|
|
2712
|
+
"curveWidth": "size",
|
|
2713
|
+
"curveAfterBackgroundColor": "color",
|
|
2714
|
+
"curveAfterHeight": "size",
|
|
2715
|
+
"gradient": "gradient",
|
|
2716
|
+
"fontColor": "color",
|
|
2717
|
+
"borderRadiusBottomLeft": "size",
|
|
2718
|
+
"borderRadiusBottomRight": "size",
|
|
2719
|
+
"fontName": "fontName",
|
|
2720
|
+
"fontWeight": "fontWeight",
|
|
2721
|
+
"fontSize": "fontSize",
|
|
2722
|
+
"lineHeight": "lineHeight"
|
|
2723
|
+
}
|
|
2724
|
+
},
|
|
2725
|
+
"required": false,
|
|
2726
|
+
"description": ""
|
|
2839
2727
|
}
|
|
2840
2728
|
},
|
|
2841
2729
|
"attributes": {}
|
|
@@ -3641,6 +3529,32 @@
|
|
|
3641
3529
|
},
|
|
3642
3530
|
"required": false,
|
|
3643
3531
|
"description": "The link to display in the toast (after copy)"
|
|
3532
|
+
},
|
|
3533
|
+
"tokens": {
|
|
3534
|
+
"type": {
|
|
3535
|
+
"name": "custom",
|
|
3536
|
+
"raw": {
|
|
3537
|
+
"containerBackgroundColor": "color",
|
|
3538
|
+
"containerGap": "size",
|
|
3539
|
+
"animationHeightBefore": "size",
|
|
3540
|
+
"animationHeightAfter": "size",
|
|
3541
|
+
"animationPaddingBottomBefore": "size",
|
|
3542
|
+
"animationPaddingBottomAfter": "size",
|
|
3543
|
+
"animationPaddingTopBefore": "size",
|
|
3544
|
+
"padding": "size",
|
|
3545
|
+
"animationPaddingTopAfter": "size",
|
|
3546
|
+
"animationBackgroundColorBefore": "color",
|
|
3547
|
+
"animationBackgroundColorAfter": "color",
|
|
3548
|
+
"animationColorBefore": "color",
|
|
3549
|
+
"animationColorAfter": "color",
|
|
3550
|
+
"animationDivColorBefore": "color",
|
|
3551
|
+
"animationDivColorAfter": "color",
|
|
3552
|
+
"chevronlinkFontWeight": "fontWeight",
|
|
3553
|
+
"chevronlinkFontName": "fontName"
|
|
3554
|
+
}
|
|
3555
|
+
},
|
|
3556
|
+
"required": false,
|
|
3557
|
+
"description": ""
|
|
3644
3558
|
}
|
|
3645
3559
|
},
|
|
3646
3560
|
"attributes": {}
|
|
@@ -3855,6 +3769,27 @@
|
|
|
3855
3769
|
},
|
|
3856
3770
|
"required": true,
|
|
3857
3771
|
"description": "The video player UI's language as an ISO language code. It currently supports English and French."
|
|
3772
|
+
},
|
|
3773
|
+
"tokens": {
|
|
3774
|
+
"type": {
|
|
3775
|
+
"name": "custom",
|
|
3776
|
+
"raw": {
|
|
3777
|
+
"borderColor": "color",
|
|
3778
|
+
"pauseIcon": "icon",
|
|
3779
|
+
"replayIcon": "icon",
|
|
3780
|
+
"playIcon": "icon"
|
|
3781
|
+
}
|
|
3782
|
+
},
|
|
3783
|
+
"required": false,
|
|
3784
|
+
"description": ""
|
|
3785
|
+
},
|
|
3786
|
+
"variant": {
|
|
3787
|
+
"type": {
|
|
3788
|
+
"name": "custom",
|
|
3789
|
+
"raw": "variantProp.propType"
|
|
3790
|
+
},
|
|
3791
|
+
"required": false,
|
|
3792
|
+
"description": ""
|
|
3858
3793
|
}
|
|
3859
3794
|
},
|
|
3860
3795
|
"attributes": {}
|
|
@@ -3929,7 +3864,7 @@
|
|
|
3929
3864
|
"props": {
|
|
3930
3865
|
"rowSize": {
|
|
3931
3866
|
"defaultValue": {
|
|
3932
|
-
"value": "
|
|
3867
|
+
"value": "null",
|
|
3933
3868
|
"computed": false
|
|
3934
3869
|
},
|
|
3935
3870
|
"type": {
|
|
@@ -4052,136 +3987,296 @@
|
|
|
4052
3987
|
"required": true,
|
|
4053
3988
|
"description": "The video's ID, typically available via the video's URL."
|
|
4054
3989
|
},
|
|
4055
|
-
"posterSrc": {
|
|
3990
|
+
"posterSrc": {
|
|
3991
|
+
"type": {
|
|
3992
|
+
"name": "string"
|
|
3993
|
+
},
|
|
3994
|
+
"required": false,
|
|
3995
|
+
"description": "A path of the image that will be displayed on the video's splash screen. If this is undefined, it will pull an image from the defined web video if available."
|
|
3996
|
+
},
|
|
3997
|
+
"videoLength": {
|
|
3998
|
+
"type": {
|
|
3999
|
+
"name": "number"
|
|
4000
|
+
},
|
|
4001
|
+
"required": true,
|
|
4002
|
+
"description": "The video's length, which will be displayed on the splash screen. This is defined in seconds."
|
|
4003
|
+
},
|
|
4004
|
+
"copy": {
|
|
4005
|
+
"type": {
|
|
4006
|
+
"name": "enum",
|
|
4007
|
+
"value": [
|
|
4008
|
+
{
|
|
4009
|
+
"value": "'en'",
|
|
4010
|
+
"computed": false
|
|
4011
|
+
},
|
|
4012
|
+
{
|
|
4013
|
+
"value": "'fr'",
|
|
4014
|
+
"computed": false
|
|
4015
|
+
}
|
|
4016
|
+
]
|
|
4017
|
+
},
|
|
4018
|
+
"required": false,
|
|
4019
|
+
"description": "The splash screen UI's language as an ISO language code. It currently supports English and French."
|
|
4020
|
+
}
|
|
4021
|
+
},
|
|
4022
|
+
"attributes": {}
|
|
4023
|
+
}
|
|
4024
|
+
},
|
|
4025
|
+
"A11yInfoProvider": {
|
|
4026
|
+
"docs": {
|
|
4027
|
+
"description": "",
|
|
4028
|
+
"props": {
|
|
4029
|
+
"children": {
|
|
4030
|
+
"type": {
|
|
4031
|
+
"name": "node"
|
|
4032
|
+
},
|
|
4033
|
+
"required": true,
|
|
4034
|
+
"description": ""
|
|
4035
|
+
}
|
|
4036
|
+
},
|
|
4037
|
+
"attributes": {
|
|
4038
|
+
"acceptsRNA11yProps": false
|
|
4039
|
+
}
|
|
4040
|
+
}
|
|
4041
|
+
},
|
|
4042
|
+
"A11yText": {
|
|
4043
|
+
"docs": {
|
|
4044
|
+
"description": "A11yText is a zero-size invisible element that adds text to be read by screen readers.\n\nIt should be used to add selectable screen-reader-only text to the main document flow,\nas a sibling to blocks of text like paragraphs and interactive elements like buttons.",
|
|
4045
|
+
"props": {
|
|
4046
|
+
"text": {
|
|
4047
|
+
"type": {
|
|
4048
|
+
"name": "string"
|
|
4049
|
+
},
|
|
4050
|
+
"required": true,
|
|
4051
|
+
"description": "Text to be read by screen readers"
|
|
4052
|
+
},
|
|
4053
|
+
"heading": {
|
|
4054
|
+
"type": {
|
|
4055
|
+
"name": "bool"
|
|
4056
|
+
},
|
|
4057
|
+
"required": false,
|
|
4058
|
+
"description": "Whether text should be rendered as a heading"
|
|
4059
|
+
}
|
|
4060
|
+
},
|
|
4061
|
+
"attributes": {
|
|
4062
|
+
"acceptsRNA11yProps": false
|
|
4063
|
+
}
|
|
4064
|
+
}
|
|
4065
|
+
},
|
|
4066
|
+
"ActivityIndicator": {
|
|
4067
|
+
"docs": {
|
|
4068
|
+
"description": "`ActivityIndicator` renders a visual loading state.\nIt does not handle positioning or layout of that visual loader.",
|
|
4069
|
+
"props": {
|
|
4070
|
+
"isStatic": {
|
|
4071
|
+
"defaultValue": {
|
|
4072
|
+
"value": "false",
|
|
4073
|
+
"computed": false
|
|
4074
|
+
},
|
|
4075
|
+
"type": {
|
|
4076
|
+
"name": "bool"
|
|
4077
|
+
},
|
|
4078
|
+
"required": false,
|
|
4079
|
+
"description": "If true, it should render a static spinner"
|
|
4080
|
+
},
|
|
4081
|
+
"variant": {
|
|
4082
|
+
"type": {
|
|
4083
|
+
"name": "objectOf",
|
|
4084
|
+
"value": {
|
|
4085
|
+
"name": "union",
|
|
4086
|
+
"value": [
|
|
4087
|
+
{
|
|
4088
|
+
"name": "string"
|
|
4089
|
+
},
|
|
4090
|
+
{
|
|
4091
|
+
"name": "number"
|
|
4092
|
+
},
|
|
4093
|
+
{
|
|
4094
|
+
"name": "bool"
|
|
4095
|
+
}
|
|
4096
|
+
]
|
|
4097
|
+
}
|
|
4098
|
+
},
|
|
4099
|
+
"required": false,
|
|
4100
|
+
"description": ""
|
|
4101
|
+
},
|
|
4102
|
+
"tokens": {
|
|
4103
|
+
"type": {
|
|
4104
|
+
"name": "custom",
|
|
4105
|
+
"raw": {
|
|
4106
|
+
"size": "size",
|
|
4107
|
+
"thickness": "border",
|
|
4108
|
+
"color": "color"
|
|
4109
|
+
}
|
|
4110
|
+
},
|
|
4111
|
+
"required": false,
|
|
4112
|
+
"description": ""
|
|
4113
|
+
},
|
|
4114
|
+
"label": {
|
|
4115
|
+
"type": {
|
|
4116
|
+
"name": "string"
|
|
4117
|
+
},
|
|
4118
|
+
"required": true,
|
|
4119
|
+
"description": "A visually hidden accessible label describing the action taking place"
|
|
4120
|
+
}
|
|
4121
|
+
},
|
|
4122
|
+
"attributes": {
|
|
4123
|
+
"acceptsRNA11yProps": false
|
|
4124
|
+
}
|
|
4125
|
+
}
|
|
4126
|
+
},
|
|
4127
|
+
"Autocomplete": {
|
|
4128
|
+
"docs": {
|
|
4129
|
+
"description": "",
|
|
4130
|
+
"props": {
|
|
4131
|
+
"copy": {
|
|
4132
|
+
"defaultValue": {
|
|
4133
|
+
"value": "'en'",
|
|
4134
|
+
"computed": false
|
|
4135
|
+
},
|
|
4136
|
+
"type": {
|
|
4137
|
+
"name": "union",
|
|
4138
|
+
"value": [
|
|
4139
|
+
{
|
|
4140
|
+
"name": "enum",
|
|
4141
|
+
"value": [
|
|
4142
|
+
{
|
|
4143
|
+
"value": "'en'",
|
|
4144
|
+
"computed": false
|
|
4145
|
+
},
|
|
4146
|
+
{
|
|
4147
|
+
"value": "'fr'",
|
|
4148
|
+
"computed": false
|
|
4149
|
+
}
|
|
4150
|
+
]
|
|
4151
|
+
},
|
|
4152
|
+
{
|
|
4153
|
+
"name": "custom",
|
|
4154
|
+
"raw": "dictionaryContentShape"
|
|
4155
|
+
}
|
|
4156
|
+
]
|
|
4157
|
+
},
|
|
4158
|
+
"required": false,
|
|
4159
|
+
"description": "Copy language identifier"
|
|
4160
|
+
},
|
|
4161
|
+
"fullWidth": {
|
|
4162
|
+
"defaultValue": {
|
|
4163
|
+
"value": "true",
|
|
4164
|
+
"computed": false
|
|
4165
|
+
},
|
|
4166
|
+
"required": false
|
|
4167
|
+
},
|
|
4168
|
+
"isLoading": {
|
|
4169
|
+
"defaultValue": {
|
|
4170
|
+
"value": "false",
|
|
4171
|
+
"computed": false
|
|
4172
|
+
},
|
|
4173
|
+
"type": {
|
|
4174
|
+
"name": "bool"
|
|
4175
|
+
},
|
|
4176
|
+
"required": false,
|
|
4177
|
+
"description": "Set to true in order to display the loading indicator instead of results"
|
|
4178
|
+
},
|
|
4179
|
+
"maxSuggestions": {
|
|
4180
|
+
"defaultValue": {
|
|
4181
|
+
"value": "5",
|
|
4182
|
+
"computed": false
|
|
4183
|
+
},
|
|
4184
|
+
"type": {
|
|
4185
|
+
"name": "number"
|
|
4186
|
+
},
|
|
4187
|
+
"required": false,
|
|
4188
|
+
"description": "Maximum number of suggestions provided at the same time"
|
|
4189
|
+
},
|
|
4190
|
+
"minToSuggestion": {
|
|
4191
|
+
"defaultValue": {
|
|
4192
|
+
"value": "1",
|
|
4193
|
+
"computed": false
|
|
4194
|
+
},
|
|
4195
|
+
"type": {
|
|
4196
|
+
"name": "number"
|
|
4197
|
+
},
|
|
4198
|
+
"required": false,
|
|
4199
|
+
"description": "Minimum number of characters typed for a list of suggestions to appear"
|
|
4200
|
+
},
|
|
4201
|
+
"helpText": {
|
|
4202
|
+
"defaultValue": {
|
|
4203
|
+
"value": "''",
|
|
4204
|
+
"computed": false
|
|
4205
|
+
},
|
|
4056
4206
|
"type": {
|
|
4057
4207
|
"name": "string"
|
|
4058
4208
|
},
|
|
4059
4209
|
"required": false,
|
|
4060
|
-
"description": "
|
|
4210
|
+
"description": "Help text to display when the input is focused and empty"
|
|
4061
4211
|
},
|
|
4062
|
-
"
|
|
4212
|
+
"children": {
|
|
4063
4213
|
"type": {
|
|
4064
|
-
"name": "
|
|
4214
|
+
"name": "func"
|
|
4065
4215
|
},
|
|
4066
|
-
"required":
|
|
4067
|
-
"description": "
|
|
4216
|
+
"required": false,
|
|
4217
|
+
"description": "Can be used to provide a function that renders a custom input:\n<Autocomplete items={items} value={currentValue}>\n {({ inputId, inputRef, onChange, onKeyPress, readOnly, tokens, value }) => (\n <Search\n nativeID={inputId}\n ref={inputRef}\n onChange={onChange}\n onKeyPress={onKeyPress}\n readOnly={readOnly}\n tokens={tokens}\n value={value}\n />\n )}\n</Autocomplete>"
|
|
4068
4218
|
},
|
|
4069
|
-
"
|
|
4219
|
+
"items": {
|
|
4070
4220
|
"type": {
|
|
4071
|
-
"name": "
|
|
4072
|
-
"value":
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
"
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
"
|
|
4221
|
+
"name": "arrayOf",
|
|
4222
|
+
"value": {
|
|
4223
|
+
"name": "shape",
|
|
4224
|
+
"value": {
|
|
4225
|
+
"id": {
|
|
4226
|
+
"name": "string",
|
|
4227
|
+
"required": false
|
|
4228
|
+
},
|
|
4229
|
+
"label": {
|
|
4230
|
+
"name": "string",
|
|
4231
|
+
"required": false
|
|
4232
|
+
}
|
|
4080
4233
|
}
|
|
4081
|
-
|
|
4234
|
+
}
|
|
4082
4235
|
},
|
|
4083
4236
|
"required": false,
|
|
4084
|
-
"description": "
|
|
4085
|
-
}
|
|
4086
|
-
|
|
4087
|
-
"attributes": {}
|
|
4088
|
-
}
|
|
4089
|
-
},
|
|
4090
|
-
"A11yInfoProvider": {
|
|
4091
|
-
"docs": {
|
|
4092
|
-
"description": "",
|
|
4093
|
-
"props": {
|
|
4094
|
-
"children": {
|
|
4095
|
-
"type": {
|
|
4096
|
-
"name": "node"
|
|
4097
|
-
},
|
|
4098
|
-
"required": true,
|
|
4099
|
-
"description": ""
|
|
4100
|
-
}
|
|
4101
|
-
},
|
|
4102
|
-
"attributes": {
|
|
4103
|
-
"acceptsRNA11yProps": false
|
|
4104
|
-
}
|
|
4105
|
-
}
|
|
4106
|
-
},
|
|
4107
|
-
"A11yText": {
|
|
4108
|
-
"docs": {
|
|
4109
|
-
"description": "A11yText is a zero-size invisible element that adds text to be read by screen readers.\n\nIt should be used to add selectable screen-reader-only text to the main document flow,\nas a sibling to blocks of text like paragraphs and interactive elements like buttons.",
|
|
4110
|
-
"props": {
|
|
4111
|
-
"text": {
|
|
4237
|
+
"description": "List of items to display as suggestions"
|
|
4238
|
+
},
|
|
4239
|
+
"loadingLabel": {
|
|
4112
4240
|
"type": {
|
|
4113
4241
|
"name": "string"
|
|
4114
4242
|
},
|
|
4115
|
-
"required":
|
|
4116
|
-
"description": "
|
|
4243
|
+
"required": false,
|
|
4244
|
+
"description": "Label to display alongside the spinner when in a loading state"
|
|
4117
4245
|
},
|
|
4118
|
-
"
|
|
4246
|
+
"noResults": {
|
|
4119
4247
|
"type": {
|
|
4120
|
-
"name": "
|
|
4248
|
+
"name": "node"
|
|
4121
4249
|
},
|
|
4122
4250
|
"required": false,
|
|
4123
|
-
"description": "
|
|
4124
|
-
}
|
|
4125
|
-
|
|
4126
|
-
"attributes": {
|
|
4127
|
-
"acceptsRNA11yProps": false
|
|
4128
|
-
}
|
|
4129
|
-
}
|
|
4130
|
-
},
|
|
4131
|
-
"ActivityIndicator": {
|
|
4132
|
-
"docs": {
|
|
4133
|
-
"description": "`ActivityIndicator` renders a visual loading state.\nIt does not handle positioning or layout of that visual loader.",
|
|
4134
|
-
"props": {
|
|
4135
|
-
"isStatic": {
|
|
4136
|
-
"defaultValue": {
|
|
4137
|
-
"value": "false",
|
|
4138
|
-
"computed": false
|
|
4139
|
-
},
|
|
4251
|
+
"description": "Text or JSX to render when no results are available"
|
|
4252
|
+
},
|
|
4253
|
+
"onChange": {
|
|
4140
4254
|
"type": {
|
|
4141
|
-
"name": "
|
|
4255
|
+
"name": "func"
|
|
4142
4256
|
},
|
|
4143
4257
|
"required": false,
|
|
4144
|
-
"description": "
|
|
4258
|
+
"description": "Handler function to be called when the input value changes"
|
|
4145
4259
|
},
|
|
4146
|
-
"
|
|
4260
|
+
"onClear": {
|
|
4147
4261
|
"type": {
|
|
4148
|
-
"name": "
|
|
4149
|
-
"value": {
|
|
4150
|
-
"name": "union",
|
|
4151
|
-
"value": [
|
|
4152
|
-
{
|
|
4153
|
-
"name": "string"
|
|
4154
|
-
},
|
|
4155
|
-
{
|
|
4156
|
-
"name": "number"
|
|
4157
|
-
},
|
|
4158
|
-
{
|
|
4159
|
-
"name": "bool"
|
|
4160
|
-
}
|
|
4161
|
-
]
|
|
4162
|
-
}
|
|
4262
|
+
"name": "func"
|
|
4163
4263
|
},
|
|
4164
4264
|
"required": false,
|
|
4165
|
-
"description": ""
|
|
4265
|
+
"description": "Handler function to be called when the clear button (appears if the handler is passed) is pressed"
|
|
4166
4266
|
},
|
|
4167
|
-
"
|
|
4267
|
+
"onSelect": {
|
|
4168
4268
|
"type": {
|
|
4169
|
-
"name": "
|
|
4170
|
-
"raw": {
|
|
4171
|
-
"size": "size",
|
|
4172
|
-
"thickness": "border",
|
|
4173
|
-
"color": "color"
|
|
4174
|
-
}
|
|
4269
|
+
"name": "func"
|
|
4175
4270
|
},
|
|
4176
4271
|
"required": false,
|
|
4177
|
-
"description": ""
|
|
4272
|
+
"description": "Callback function to be called when an item is selected from the list"
|
|
4178
4273
|
},
|
|
4179
|
-
"
|
|
4274
|
+
"value": {
|
|
4180
4275
|
"type": {
|
|
4181
4276
|
"name": "string"
|
|
4182
4277
|
},
|
|
4183
|
-
"required":
|
|
4184
|
-
"description": "
|
|
4278
|
+
"required": false,
|
|
4279
|
+
"description": "Input value for controlled usage"
|
|
4185
4280
|
}
|
|
4186
4281
|
},
|
|
4187
4282
|
"attributes": {
|
|
@@ -5374,6 +5469,13 @@
|
|
|
5374
5469
|
},
|
|
5375
5470
|
"required": false,
|
|
5376
5471
|
"description": ""
|
|
5472
|
+
},
|
|
5473
|
+
"dataSet": {
|
|
5474
|
+
"type": {
|
|
5475
|
+
"name": "object"
|
|
5476
|
+
},
|
|
5477
|
+
"required": false,
|
|
5478
|
+
"description": ""
|
|
5377
5479
|
}
|
|
5378
5480
|
},
|
|
5379
5481
|
"attributes": {
|
|
@@ -6734,51 +6836,167 @@
|
|
|
6734
6836
|
"computed": false
|
|
6735
6837
|
},
|
|
6736
6838
|
"type": {
|
|
6737
|
-
"name": "enum",
|
|
6738
|
-
"value": [
|
|
6739
|
-
{
|
|
6740
|
-
"value": "'left'",
|
|
6741
|
-
"computed": false
|
|
6742
|
-
},
|
|
6743
|
-
{
|
|
6744
|
-
"value": "'right'",
|
|
6745
|
-
"computed": false
|
|
6746
|
-
}
|
|
6747
|
-
]
|
|
6839
|
+
"name": "enum",
|
|
6840
|
+
"value": [
|
|
6841
|
+
{
|
|
6842
|
+
"value": "'left'",
|
|
6843
|
+
"computed": false
|
|
6844
|
+
},
|
|
6845
|
+
{
|
|
6846
|
+
"value": "'right'",
|
|
6847
|
+
"computed": false
|
|
6848
|
+
}
|
|
6849
|
+
]
|
|
6850
|
+
},
|
|
6851
|
+
"required": false,
|
|
6852
|
+
"description": "Changes direction of chevron icon"
|
|
6853
|
+
},
|
|
6854
|
+
"tokens": {
|
|
6855
|
+
"defaultValue": {
|
|
6856
|
+
"value": "{}",
|
|
6857
|
+
"computed": false
|
|
6858
|
+
},
|
|
6859
|
+
"type": {
|
|
6860
|
+
"name": "custom",
|
|
6861
|
+
"raw": {
|
|
6862
|
+
"fontSize": "fontSize",
|
|
6863
|
+
"color": "color",
|
|
6864
|
+
"outerBorderColor": "color",
|
|
6865
|
+
"leftIcon": "icon",
|
|
6866
|
+
"rightIcon": "icon",
|
|
6867
|
+
"iconDisplace": "size",
|
|
6868
|
+
"iconSize": "size",
|
|
6869
|
+
"iconSpace": "integer",
|
|
6870
|
+
"textLine": "textLine",
|
|
6871
|
+
"textLineStyle": "textLineStyle",
|
|
6872
|
+
"outerBorderWidth": "border",
|
|
6873
|
+
"outerBorderGap": "size",
|
|
6874
|
+
"outerBorderOutline": "borderStyle",
|
|
6875
|
+
"borderRadius": "radius",
|
|
6876
|
+
"blockFontName": "fontName",
|
|
6877
|
+
"blockFontWeight": "fontWeight",
|
|
6878
|
+
"blockFontSize": "fontSize",
|
|
6879
|
+
"blockLineHeight": "lineHeight",
|
|
6880
|
+
"icon": "icon",
|
|
6881
|
+
"iconTranslateX": "size",
|
|
6882
|
+
"iconTranslateY": "size",
|
|
6883
|
+
"alignSelf": "flexAlign"
|
|
6884
|
+
}
|
|
6885
|
+
},
|
|
6886
|
+
"required": false,
|
|
6887
|
+
"description": ""
|
|
6888
|
+
},
|
|
6889
|
+
"children": {
|
|
6890
|
+
"type": {
|
|
6891
|
+
"name": "node"
|
|
6892
|
+
},
|
|
6893
|
+
"required": false,
|
|
6894
|
+
"description": ""
|
|
6895
|
+
},
|
|
6896
|
+
"variant": {
|
|
6897
|
+
"type": {
|
|
6898
|
+
"name": "exact",
|
|
6899
|
+
"value": {
|
|
6900
|
+
"size": {
|
|
6901
|
+
"name": "enum",
|
|
6902
|
+
"value": [
|
|
6903
|
+
{
|
|
6904
|
+
"value": "'large'",
|
|
6905
|
+
"computed": false
|
|
6906
|
+
},
|
|
6907
|
+
{
|
|
6908
|
+
"value": "'small'",
|
|
6909
|
+
"computed": false
|
|
6910
|
+
},
|
|
6911
|
+
{
|
|
6912
|
+
"value": "'micro'",
|
|
6913
|
+
"computed": false
|
|
6914
|
+
}
|
|
6915
|
+
],
|
|
6916
|
+
"required": false
|
|
6917
|
+
},
|
|
6918
|
+
"alternative": {
|
|
6919
|
+
"name": "bool",
|
|
6920
|
+
"required": false
|
|
6921
|
+
},
|
|
6922
|
+
"inverse": {
|
|
6923
|
+
"name": "bool",
|
|
6924
|
+
"required": false
|
|
6925
|
+
}
|
|
6926
|
+
}
|
|
6927
|
+
},
|
|
6928
|
+
"required": false,
|
|
6929
|
+
"description": ""
|
|
6930
|
+
},
|
|
6931
|
+
"onPress": {
|
|
6932
|
+
"type": {
|
|
6933
|
+
"name": "func"
|
|
6934
|
+
},
|
|
6935
|
+
"required": false,
|
|
6936
|
+
"description": ""
|
|
6937
|
+
},
|
|
6938
|
+
"onPressIn": {
|
|
6939
|
+
"type": {
|
|
6940
|
+
"name": "func"
|
|
6941
|
+
},
|
|
6942
|
+
"required": false,
|
|
6943
|
+
"description": ""
|
|
6944
|
+
},
|
|
6945
|
+
"onPressOut": {
|
|
6946
|
+
"type": {
|
|
6947
|
+
"name": "func"
|
|
6948
|
+
},
|
|
6949
|
+
"required": false,
|
|
6950
|
+
"description": ""
|
|
6951
|
+
},
|
|
6952
|
+
"disabled": {
|
|
6953
|
+
"type": {
|
|
6954
|
+
"name": "bool"
|
|
6748
6955
|
},
|
|
6749
6956
|
"required": false,
|
|
6750
|
-
"description": "
|
|
6957
|
+
"description": ""
|
|
6751
6958
|
},
|
|
6752
|
-
"
|
|
6753
|
-
"
|
|
6754
|
-
"
|
|
6755
|
-
"computed": false
|
|
6959
|
+
"href": {
|
|
6960
|
+
"type": {
|
|
6961
|
+
"name": "string"
|
|
6756
6962
|
},
|
|
6963
|
+
"required": false,
|
|
6964
|
+
"description": ""
|
|
6965
|
+
},
|
|
6966
|
+
"hrefAttrs": {
|
|
6757
6967
|
"type": {
|
|
6758
|
-
"name": "
|
|
6759
|
-
"
|
|
6760
|
-
"
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
|
|
6764
|
-
"
|
|
6765
|
-
|
|
6766
|
-
|
|
6767
|
-
|
|
6768
|
-
"
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
|
|
6778
|
-
|
|
6779
|
-
|
|
6780
|
-
|
|
6781
|
-
|
|
6968
|
+
"name": "shape",
|
|
6969
|
+
"value": {
|
|
6970
|
+
"download": {
|
|
6971
|
+
"name": "string",
|
|
6972
|
+
"required": false
|
|
6973
|
+
},
|
|
6974
|
+
"rel": {
|
|
6975
|
+
"name": "string",
|
|
6976
|
+
"required": false
|
|
6977
|
+
},
|
|
6978
|
+
"target": {
|
|
6979
|
+
"name": "enum",
|
|
6980
|
+
"value": [
|
|
6981
|
+
{
|
|
6982
|
+
"value": "'_self'",
|
|
6983
|
+
"computed": false
|
|
6984
|
+
},
|
|
6985
|
+
{
|
|
6986
|
+
"value": "'_blank'",
|
|
6987
|
+
"computed": false
|
|
6988
|
+
},
|
|
6989
|
+
{
|
|
6990
|
+
"value": "'_parent'",
|
|
6991
|
+
"computed": false
|
|
6992
|
+
},
|
|
6993
|
+
{
|
|
6994
|
+
"value": "'_top'",
|
|
6995
|
+
"computed": false
|
|
6996
|
+
}
|
|
6997
|
+
],
|
|
6998
|
+
"required": false
|
|
6999
|
+
}
|
|
6782
7000
|
}
|
|
6783
7001
|
},
|
|
6784
7002
|
"required": false,
|
|
@@ -6786,7 +7004,7 @@
|
|
|
6786
7004
|
}
|
|
6787
7005
|
},
|
|
6788
7006
|
"attributes": {
|
|
6789
|
-
"acceptsRNA11yProps":
|
|
7007
|
+
"acceptsRNA11yProps": true
|
|
6790
7008
|
}
|
|
6791
7009
|
}
|
|
6792
7010
|
},
|
|
@@ -8525,6 +8743,127 @@
|
|
|
8525
8743
|
}
|
|
8526
8744
|
}
|
|
8527
8745
|
},
|
|
8746
|
+
"Listbox": {
|
|
8747
|
+
"docs": {
|
|
8748
|
+
"description": "",
|
|
8749
|
+
"props": {
|
|
8750
|
+
"items": {
|
|
8751
|
+
"defaultValue": {
|
|
8752
|
+
"value": "[]",
|
|
8753
|
+
"computed": false
|
|
8754
|
+
},
|
|
8755
|
+
"type": {
|
|
8756
|
+
"name": "array"
|
|
8757
|
+
},
|
|
8758
|
+
"required": false,
|
|
8759
|
+
"description": "`Listbox` items"
|
|
8760
|
+
},
|
|
8761
|
+
"firstItemRef": {
|
|
8762
|
+
"defaultValue": {
|
|
8763
|
+
"value": "null",
|
|
8764
|
+
"computed": false
|
|
8765
|
+
},
|
|
8766
|
+
"type": {
|
|
8767
|
+
"name": "object"
|
|
8768
|
+
},
|
|
8769
|
+
"required": false,
|
|
8770
|
+
"description": "Focus will be moved to the item with this ref once within the menu."
|
|
8771
|
+
},
|
|
8772
|
+
"parentRef": {
|
|
8773
|
+
"defaultValue": {
|
|
8774
|
+
"value": "null",
|
|
8775
|
+
"computed": false
|
|
8776
|
+
},
|
|
8777
|
+
"type": {
|
|
8778
|
+
"name": "object"
|
|
8779
|
+
},
|
|
8780
|
+
"required": false,
|
|
8781
|
+
"description": "Focus will be returned to the dropdown control with this ref after leaving\nthe last menu item."
|
|
8782
|
+
},
|
|
8783
|
+
"LinkRouter": {
|
|
8784
|
+
"type": {
|
|
8785
|
+
"name": "elementType"
|
|
8786
|
+
},
|
|
8787
|
+
"required": false,
|
|
8788
|
+
"description": ""
|
|
8789
|
+
},
|
|
8790
|
+
"linkRouterProps": {
|
|
8791
|
+
"type": {
|
|
8792
|
+
"name": "object"
|
|
8793
|
+
},
|
|
8794
|
+
"required": false,
|
|
8795
|
+
"description": ""
|
|
8796
|
+
},
|
|
8797
|
+
"selectedId": {
|
|
8798
|
+
"type": {
|
|
8799
|
+
"name": "string"
|
|
8800
|
+
},
|
|
8801
|
+
"required": false,
|
|
8802
|
+
"description": "To select an item by default"
|
|
8803
|
+
},
|
|
8804
|
+
"onClose": {
|
|
8805
|
+
"type": {
|
|
8806
|
+
"name": "func"
|
|
8807
|
+
},
|
|
8808
|
+
"required": false,
|
|
8809
|
+
"description": "onClose event"
|
|
8810
|
+
},
|
|
8811
|
+
"tokens": {
|
|
8812
|
+
"type": {
|
|
8813
|
+
"name": "custom",
|
|
8814
|
+
"raw": {
|
|
8815
|
+
"groupBorderRadius": "radius",
|
|
8816
|
+
"groupBorderWidth": "border",
|
|
8817
|
+
"groupFontSize": "size",
|
|
8818
|
+
"groupFontName": "fontName",
|
|
8819
|
+
"groupFontWeight": "fontWeight",
|
|
8820
|
+
"groupColor": "color",
|
|
8821
|
+
"groupBorderColor": "color",
|
|
8822
|
+
"groupBackgroundColor": "color",
|
|
8823
|
+
"groupPaddingTop": "size",
|
|
8824
|
+
"groupPaddingBottom": "size",
|
|
8825
|
+
"groupPaddingLeft": "size",
|
|
8826
|
+
"groupPaddingRight": "size",
|
|
8827
|
+
"groupIcon": "icon",
|
|
8828
|
+
"itemDisplay": "show",
|
|
8829
|
+
"itemFontName": "fontName",
|
|
8830
|
+
"itemFontWeight": "fontWeight",
|
|
8831
|
+
"itemFontSize": "size",
|
|
8832
|
+
"itemPaddingTop": "size",
|
|
8833
|
+
"itemPaddingBottom": "size",
|
|
8834
|
+
"itemPaddingLeft": "size",
|
|
8835
|
+
"itemPaddingRight": "size",
|
|
8836
|
+
"itemColor": "color",
|
|
8837
|
+
"itemBackgroundColor": "color",
|
|
8838
|
+
"itemBorderLeftColor": "color",
|
|
8839
|
+
"itemBorderLeftWidth": "border",
|
|
8840
|
+
"itemBorderWidth": "border",
|
|
8841
|
+
"itemTextDecoration": "textLine",
|
|
8842
|
+
"itemOutline": "border",
|
|
8843
|
+
"shadow": "shadow",
|
|
8844
|
+
"itemBorderRightColor": "color",
|
|
8845
|
+
"itemBorderBottomColor": "color",
|
|
8846
|
+
"itemBorderTopColor": "color",
|
|
8847
|
+
"itemBorderRightWidth": "border",
|
|
8848
|
+
"itemBorderBottomWidth": "border",
|
|
8849
|
+
"itemBorderTopWidth": "border",
|
|
8850
|
+
"itemBorderRadius": "radius",
|
|
8851
|
+
"minWidth": "size",
|
|
8852
|
+
"minHeight": "size",
|
|
8853
|
+
"itemHeight": "size",
|
|
8854
|
+
"groupHeight": "size",
|
|
8855
|
+
"lineHeight": "lineHeight"
|
|
8856
|
+
}
|
|
8857
|
+
},
|
|
8858
|
+
"required": false,
|
|
8859
|
+
"description": ""
|
|
8860
|
+
}
|
|
8861
|
+
},
|
|
8862
|
+
"attributes": {
|
|
8863
|
+
"acceptsRNA11yProps": false
|
|
8864
|
+
}
|
|
8865
|
+
}
|
|
8866
|
+
},
|
|
8528
8867
|
"MultiSelectFilter": {
|
|
8529
8868
|
"docs": {
|
|
8530
8869
|
"description": "",
|
|
@@ -11008,12 +11347,38 @@
|
|
|
11008
11347
|
"docs": {
|
|
11009
11348
|
"description": "`SideNav.Item` is a navigational element that is used within `SideNav` or `SideNav.ItemsGroup`.\n\n This component can only be accessed as a name-spaced component: `SideNav.Item`.",
|
|
11010
11349
|
"props": {
|
|
11350
|
+
"isActive": {
|
|
11351
|
+
"defaultValue": {
|
|
11352
|
+
"value": "false",
|
|
11353
|
+
"computed": false
|
|
11354
|
+
},
|
|
11355
|
+
"type": {
|
|
11356
|
+
"name": "bool"
|
|
11357
|
+
},
|
|
11358
|
+
"required": false,
|
|
11359
|
+
"description": "Set internally in `SideNav` render function."
|
|
11360
|
+
},
|
|
11361
|
+
"isExpanded": {
|
|
11362
|
+
"defaultValue": {
|
|
11363
|
+
"value": "false",
|
|
11364
|
+
"computed": false
|
|
11365
|
+
},
|
|
11366
|
+
"type": {
|
|
11367
|
+
"name": "bool"
|
|
11368
|
+
},
|
|
11369
|
+
"required": false,
|
|
11370
|
+
"description": "Set internally in `SideNav.ItemsGroup` render function. Used to mark expanded `ItemsGroup` parent."
|
|
11371
|
+
},
|
|
11011
11372
|
"accessibilityRole": {
|
|
11012
11373
|
"defaultValue": {
|
|
11013
11374
|
"value": "'link'",
|
|
11014
11375
|
"computed": false
|
|
11015
11376
|
},
|
|
11016
|
-
"
|
|
11377
|
+
"type": {
|
|
11378
|
+
"name": "string"
|
|
11379
|
+
},
|
|
11380
|
+
"required": false,
|
|
11381
|
+
"description": "Accesibility Role"
|
|
11017
11382
|
},
|
|
11018
11383
|
"children": {
|
|
11019
11384
|
"type": {
|
|
@@ -11022,6 +11387,20 @@
|
|
|
11022
11387
|
"required": true,
|
|
11023
11388
|
"description": "Text content of the `Item`."
|
|
11024
11389
|
},
|
|
11390
|
+
"itemId": {
|
|
11391
|
+
"type": {
|
|
11392
|
+
"name": "string"
|
|
11393
|
+
},
|
|
11394
|
+
"required": false,
|
|
11395
|
+
"description": "Set internally in `SideNav` render function - used to keep track of active item."
|
|
11396
|
+
},
|
|
11397
|
+
"groupId": {
|
|
11398
|
+
"type": {
|
|
11399
|
+
"name": "string"
|
|
11400
|
+
},
|
|
11401
|
+
"required": false,
|
|
11402
|
+
"description": "Set internally in `SideNav` render function - used to keep track of expanded items groups."
|
|
11403
|
+
},
|
|
11025
11404
|
"onPress": {
|
|
11026
11405
|
"type": {
|
|
11027
11406
|
"name": "func"
|
|
@@ -11122,6 +11501,13 @@
|
|
|
11122
11501
|
},
|
|
11123
11502
|
"required": false,
|
|
11124
11503
|
"description": ""
|
|
11504
|
+
},
|
|
11505
|
+
"testID": {
|
|
11506
|
+
"type": {
|
|
11507
|
+
"name": "number"
|
|
11508
|
+
},
|
|
11509
|
+
"required": false,
|
|
11510
|
+
"description": "test ID"
|
|
11125
11511
|
}
|
|
11126
11512
|
},
|
|
11127
11513
|
"attributes": {
|
|
@@ -12225,7 +12611,11 @@
|
|
|
12225
12611
|
"value": "Platform.select({ web: 'group', default: 'none' })",
|
|
12226
12612
|
"computed": true
|
|
12227
12613
|
},
|
|
12228
|
-
"
|
|
12614
|
+
"type": {
|
|
12615
|
+
"name": "string"
|
|
12616
|
+
},
|
|
12617
|
+
"required": false,
|
|
12618
|
+
"description": "AccesibilityRole for the Tags"
|
|
12229
12619
|
},
|
|
12230
12620
|
"tokens": {
|
|
12231
12621
|
"type": {
|
|
@@ -12418,13 +12808,45 @@
|
|
|
12418
12808
|
"value": "'button'",
|
|
12419
12809
|
"computed": false
|
|
12420
12810
|
},
|
|
12421
|
-
"
|
|
12811
|
+
"type": {
|
|
12812
|
+
"name": "string"
|
|
12813
|
+
},
|
|
12814
|
+
"required": false,
|
|
12815
|
+
"description": "Accesibility role for TextButton"
|
|
12422
12816
|
},
|
|
12423
12817
|
"onPress": {
|
|
12424
12818
|
"type": {
|
|
12425
12819
|
"name": "func"
|
|
12426
12820
|
},
|
|
12427
12821
|
"required": true,
|
|
12822
|
+
"description": "onPress function"
|
|
12823
|
+
},
|
|
12824
|
+
"children": {
|
|
12825
|
+
"type": {
|
|
12826
|
+
"name": "node"
|
|
12827
|
+
},
|
|
12828
|
+
"required": true,
|
|
12829
|
+
"description": "Children node that can be added"
|
|
12830
|
+
},
|
|
12831
|
+
"variant": {
|
|
12832
|
+
"type": {
|
|
12833
|
+
"name": "objectOf",
|
|
12834
|
+
"value": {
|
|
12835
|
+
"name": "union",
|
|
12836
|
+
"value": [
|
|
12837
|
+
{
|
|
12838
|
+
"name": "string"
|
|
12839
|
+
},
|
|
12840
|
+
{
|
|
12841
|
+
"name": "number"
|
|
12842
|
+
},
|
|
12843
|
+
{
|
|
12844
|
+
"name": "bool"
|
|
12845
|
+
}
|
|
12846
|
+
]
|
|
12847
|
+
}
|
|
12848
|
+
},
|
|
12849
|
+
"required": false,
|
|
12428
12850
|
"description": ""
|
|
12429
12851
|
}
|
|
12430
12852
|
},
|
|
@@ -13365,6 +13787,17 @@
|
|
|
13365
13787
|
"required": false,
|
|
13366
13788
|
"description": "Select English or French copy for the accessible label."
|
|
13367
13789
|
},
|
|
13790
|
+
"inline": {
|
|
13791
|
+
"defaultValue": {
|
|
13792
|
+
"value": "false",
|
|
13793
|
+
"computed": false
|
|
13794
|
+
},
|
|
13795
|
+
"type": {
|
|
13796
|
+
"name": "bool"
|
|
13797
|
+
},
|
|
13798
|
+
"required": false,
|
|
13799
|
+
"description": "Display tooltip icon button as an inline element."
|
|
13800
|
+
},
|
|
13368
13801
|
"children": {
|
|
13369
13802
|
"type": {
|
|
13370
13803
|
"name": "union",
|