@telus-uds/components-base 1.50.0 → 1.51.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/CHANGELOG.md +22 -2
- package/component-docs.json +160 -46
- package/lib/A11yText/index.js +8 -0
- package/lib/Divider/Divider.js +4 -0
- package/lib/IconButton/IconButton.js +16 -0
- package/lib/Link/ChevronLink.js +4 -0
- package/lib/Link/LinkBase.js +1 -1
- package/lib/Modal/Modal.js +16 -0
- package/lib/MultiSelectFilter/ModalOverlay.js +24 -8
- package/lib/MultiSelectFilter/MultiSelectFilter.js +154 -21
- package/lib/Pagination/PageButton.js +12 -0
- package/lib/Pagination/Pagination.js +12 -0
- package/lib/QuickLinks/QuickLinks.js +12 -0
- package/lib/QuickLinksFeature/QuickLinksFeatureItem.js +62 -41
- package/lib/Responsive/Responsive.js +7 -0
- package/lib/Select/Group.js +4 -0
- package/lib/Select/Group.native.js +4 -0
- package/lib/Select/Item.js +4 -0
- package/lib/SideNav/ItemsGroup.js +4 -0
- package/lib/SideNav/SideNav.js +8 -0
- package/lib/StepTracker/Step.js +35 -14
- package/lib/StepTracker/StepTracker.js +21 -2
- package/lib/StepTracker/dictionary.js +24 -4
- package/lib/Tabs/Tabs.js +20 -0
- package/lib-module/A11yText/index.js +8 -0
- package/lib-module/Divider/Divider.js +4 -0
- package/lib-module/IconButton/IconButton.js +16 -0
- package/lib-module/Link/ChevronLink.js +4 -0
- package/lib-module/Link/LinkBase.js +1 -1
- package/lib-module/Modal/Modal.js +16 -0
- package/lib-module/MultiSelectFilter/ModalOverlay.js +25 -9
- package/lib-module/MultiSelectFilter/MultiSelectFilter.js +154 -23
- package/lib-module/Pagination/PageButton.js +12 -0
- package/lib-module/Pagination/Pagination.js +12 -0
- package/lib-module/QuickLinks/QuickLinks.js +12 -0
- package/lib-module/QuickLinksFeature/QuickLinksFeatureItem.js +64 -43
- package/lib-module/Responsive/Responsive.js +7 -0
- package/lib-module/Select/Group.js +4 -0
- package/lib-module/Select/Group.native.js +4 -0
- package/lib-module/Select/Item.js +4 -0
- package/lib-module/SideNav/ItemsGroup.js +4 -0
- package/lib-module/SideNav/SideNav.js +8 -0
- package/lib-module/StepTracker/Step.js +35 -14
- package/lib-module/StepTracker/StepTracker.js +21 -2
- package/lib-module/StepTracker/dictionary.js +24 -4
- package/lib-module/Tabs/Tabs.js +20 -0
- package/package.json +2 -2
- package/src/A11yText/index.jsx +6 -0
- package/src/Divider/Divider.jsx +3 -0
- package/src/IconButton/IconButton.jsx +12 -0
- package/src/Link/ChevronLink.jsx +3 -0
- package/src/Link/LinkBase.jsx +3 -1
- package/src/Modal/Modal.jsx +12 -0
- package/src/MultiSelectFilter/ModalOverlay.jsx +30 -6
- package/src/MultiSelectFilter/MultiSelectFilter.jsx +142 -20
- package/src/Pagination/PageButton.jsx +9 -0
- package/src/Pagination/Pagination.jsx +9 -0
- package/src/QuickLinks/QuickLinks.jsx +9 -0
- package/src/QuickLinksFeature/QuickLinksFeatureItem.jsx +42 -35
- package/src/Responsive/Responsive.jsx +6 -0
- package/src/Select/Group.jsx +3 -0
- package/src/Select/Group.native.jsx +3 -0
- package/src/Select/Item.jsx +3 -0
- package/src/SideNav/ItemsGroup.jsx +3 -0
- package/src/SideNav/SideNav.jsx +6 -0
- package/src/StepTracker/Step.jsx +34 -10
- package/src/StepTracker/StepTracker.jsx +23 -2
- package/src/StepTracker/dictionary.js +24 -4
- package/src/Tabs/Tabs.jsx +15 -0
- package/src/Typography/Typography.jsx +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
# Change Log - @telus-uds/components-base
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 20 Jun 2023 16:00:54 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.51.1
|
|
8
|
+
|
|
9
|
+
Tue, 20 Jun 2023 16:00:54 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Bump @telus-uds/system-theme-tokens to v2.34.0
|
|
14
|
+
|
|
15
|
+
## 1.51.0
|
|
16
|
+
|
|
17
|
+
Fri, 16 Jun 2023 21:12:21 GMT
|
|
18
|
+
|
|
19
|
+
### Minor changes
|
|
20
|
+
|
|
21
|
+
- Change in tags due to multibrand standardization (35577399+JoshHC@users.noreply.github.com)
|
|
22
|
+
- feature:update MultiSelectFilter to follow design (samuraix221@hotmail.com)
|
|
23
|
+
- Adapt the tokens to the steptracker (mauricio.batresmontejo@telus.com)
|
|
24
|
+
- Update 'LinkBase' to pass Pressable state through to children (kyle.king2@telus.com)
|
|
25
|
+
- Bump @telus-uds/system-theme-tokens to v2.33.0
|
|
26
|
+
|
|
7
27
|
## 1.50.0
|
|
8
28
|
|
|
9
|
-
Wed, 14 Jun 2023 00:
|
|
29
|
+
Wed, 14 Jun 2023 00:06:30 GMT
|
|
10
30
|
|
|
11
31
|
### Minor changes
|
|
12
32
|
|
package/component-docs.json
CHANGED
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
"listPaddingLeft": "size",
|
|
199
199
|
"listItemMarkerFontSize": "size",
|
|
200
200
|
"listItemMarkerLineHeight": "lineHeight",
|
|
201
|
-
"headerLineHeight": "
|
|
201
|
+
"headerLineHeight": "lineHeight",
|
|
202
202
|
"headerFontSize": "size",
|
|
203
203
|
"headerFontName": "fontName",
|
|
204
204
|
"headerFontWeight": "fontWeight",
|
|
@@ -208,6 +208,7 @@
|
|
|
208
208
|
"listItemPaddingLeft": "size",
|
|
209
209
|
"closeButtonBorderSize": "border",
|
|
210
210
|
"closeButtonBorderColor": "color",
|
|
211
|
+
"closeButtonBackgroundColor": "color",
|
|
211
212
|
"closeButtonHeight": "size",
|
|
212
213
|
"closeButtonMarginTop": "size",
|
|
213
214
|
"closeButtonMarginLeft": "size",
|
|
@@ -286,7 +287,19 @@
|
|
|
286
287
|
"paddingTop": "size",
|
|
287
288
|
"paddingBottom": "size",
|
|
288
289
|
"marginBottom": "size",
|
|
289
|
-
"width": "size"
|
|
290
|
+
"width": "size",
|
|
291
|
+
"titleHeadingFontSize": "fontSize",
|
|
292
|
+
"titleHeadingFontName": "fontName",
|
|
293
|
+
"titleHeadingFontWeight": "fontWeight",
|
|
294
|
+
"titleHeadingLineHeight": "lineHeight",
|
|
295
|
+
"titleFontSize": "fontSize",
|
|
296
|
+
"titleFontName": "fontName",
|
|
297
|
+
"titleFontWeight": "fontWeight",
|
|
298
|
+
"titleLineHeight": "lineHeight",
|
|
299
|
+
"linkFontSize": "fontSize",
|
|
300
|
+
"linkFontName": "fontName",
|
|
301
|
+
"linkFontWeight": "fontWeight",
|
|
302
|
+
"linkLineHeight": "lineHeight"
|
|
290
303
|
},
|
|
291
304
|
"Box": {
|
|
292
305
|
"backgroundColor": "color",
|
|
@@ -541,6 +554,9 @@
|
|
|
541
554
|
"calendarDaySelectedHoverBeforeBorderColor": "color",
|
|
542
555
|
"calendarDaySelectedHoverBorderColor": "color",
|
|
543
556
|
"calendarDaySelectedHoverColor": "color",
|
|
557
|
+
"calendarDaySelectedDisabledBackground": "color",
|
|
558
|
+
"calendarDaySelectedDisabledColor": "color",
|
|
559
|
+
"calendarDaySelectedDisabledContentBackgroundColor": "color",
|
|
544
560
|
"calendarMonthCaptionColor": "color",
|
|
545
561
|
"calendarMonthCaptionFontName": "fontName",
|
|
546
562
|
"calendarMonthCaptionFontSize": "fontSize",
|
|
@@ -833,6 +849,22 @@
|
|
|
833
849
|
"closeIconSize": "size",
|
|
834
850
|
"closePadding": "size"
|
|
835
851
|
},
|
|
852
|
+
"MultiSelectFilter": {
|
|
853
|
+
"headerFontColor": "color",
|
|
854
|
+
"headerFontSize": "fontSize",
|
|
855
|
+
"headerFontName": "fontName",
|
|
856
|
+
"headerFontWeight": "fontWeight",
|
|
857
|
+
"headerLineHeight": "lineHeight",
|
|
858
|
+
"maxHeightSize": "size",
|
|
859
|
+
"maxWidthSize": "size",
|
|
860
|
+
"minWidth": "size",
|
|
861
|
+
"minHeight": "size",
|
|
862
|
+
"subHeaderLineHeight": "lineHeight",
|
|
863
|
+
"subHeaderFontName": "fontName",
|
|
864
|
+
"subHeaderFontWeight": "fontWeight",
|
|
865
|
+
"subHeaderFontSize": "fontSize",
|
|
866
|
+
"buttonDirection": "direction"
|
|
867
|
+
},
|
|
836
868
|
"NavigationBar": {
|
|
837
869
|
"alignSelf": "flexAlign",
|
|
838
870
|
"backgroundColor": "color",
|
|
@@ -1060,8 +1092,12 @@
|
|
|
1060
1092
|
"contentDirection": "direction",
|
|
1061
1093
|
"contentSpace": "integer",
|
|
1062
1094
|
"contentAlignItems": "flexAlign",
|
|
1095
|
+
"gap": "size",
|
|
1063
1096
|
"textAlign": "textAlign",
|
|
1064
|
-
"outerBorderColor": "color"
|
|
1097
|
+
"outerBorderColor": "color",
|
|
1098
|
+
"fontWeight": "fontWeight",
|
|
1099
|
+
"fontName": "fontName",
|
|
1100
|
+
"fontSize": "fontSize"
|
|
1065
1101
|
},
|
|
1066
1102
|
"Radio": {
|
|
1067
1103
|
"checkedBackgroundColor": "color",
|
|
@@ -1330,7 +1366,13 @@
|
|
|
1330
1366
|
"labelPaddingRight": "size",
|
|
1331
1367
|
"showStepLabel": "show",
|
|
1332
1368
|
"showStepName": "show",
|
|
1333
|
-
"showStepTrackerLabel": "show"
|
|
1369
|
+
"showStepTrackerLabel": "show",
|
|
1370
|
+
"textStepTrackerLabel": "integer",
|
|
1371
|
+
"stepLabelColor": "color",
|
|
1372
|
+
"stepLabelFontSize": "fontSize",
|
|
1373
|
+
"stepLabelFontWeight": "fontWeight",
|
|
1374
|
+
"stepLabelFontName": "fontName",
|
|
1375
|
+
"stepLabelLineHeight": "lineHeight"
|
|
1334
1376
|
},
|
|
1335
1377
|
"SkipLink": {
|
|
1336
1378
|
"backgroundColor": "color",
|
|
@@ -1433,7 +1475,6 @@
|
|
|
1433
1475
|
"paddingRight": "size",
|
|
1434
1476
|
"paddingTop": "size",
|
|
1435
1477
|
"paddingBottom": "size",
|
|
1436
|
-
"width": "size",
|
|
1437
1478
|
"minWidth": "size",
|
|
1438
1479
|
"outerBorderColor": "color",
|
|
1439
1480
|
"outerBorderWidth": "border",
|
|
@@ -1534,7 +1575,9 @@
|
|
|
1534
1575
|
"animationColorBefore": "color",
|
|
1535
1576
|
"animationColorAfter": "color",
|
|
1536
1577
|
"animationDivColorBefore": "color",
|
|
1537
|
-
"animationDivColorAfter": "color"
|
|
1578
|
+
"animationDivColorAfter": "color",
|
|
1579
|
+
"chevronlinkFontWeight": "fontWeight",
|
|
1580
|
+
"chevronlinkFontName": "fontName"
|
|
1538
1581
|
},
|
|
1539
1582
|
"ToggleSwitch": {
|
|
1540
1583
|
"borderColor": "color",
|
|
@@ -1652,6 +1695,8 @@
|
|
|
1652
1695
|
"Countdown": {
|
|
1653
1696
|
"containerBorderRadius": "radius",
|
|
1654
1697
|
"containerGradient": "gradient",
|
|
1698
|
+
"containerBorderWidth": "border",
|
|
1699
|
+
"containerBorderColor": "color",
|
|
1655
1700
|
"containerInverseBorder": "border",
|
|
1656
1701
|
"containerInverseBorderColor": "color",
|
|
1657
1702
|
"containerPaddingBottomTop": "size",
|
|
@@ -1661,6 +1706,8 @@
|
|
|
1661
1706
|
"textFontSize": "fontSize",
|
|
1662
1707
|
"textLineHeight": "lineHeight",
|
|
1663
1708
|
"labelFontSize": "fontSize",
|
|
1709
|
+
"labelFontName": "fontName",
|
|
1710
|
+
"labelFontWeight": "fontWeight",
|
|
1664
1711
|
"labelLineHeight": "lineHeight",
|
|
1665
1712
|
"textTimerFontWeight": "fontWeight",
|
|
1666
1713
|
"textTimerFontName": "fontName"
|
|
@@ -2227,6 +2274,22 @@
|
|
|
2227
2274
|
"type": "state"
|
|
2228
2275
|
}
|
|
2229
2276
|
},
|
|
2277
|
+
"MultiSelectFilter": {
|
|
2278
|
+
"maxHeight": {
|
|
2279
|
+
"description": "Whether MultiselectFilter modal should expand responsively to content or a set maximu height",
|
|
2280
|
+
"values": [
|
|
2281
|
+
true
|
|
2282
|
+
],
|
|
2283
|
+
"type": "state"
|
|
2284
|
+
},
|
|
2285
|
+
"maxWidth": {
|
|
2286
|
+
"description": "Whether MultiselectFilter modal should expand to content or a set maximuh width",
|
|
2287
|
+
"values": [
|
|
2288
|
+
true
|
|
2289
|
+
],
|
|
2290
|
+
"type": "state"
|
|
2291
|
+
}
|
|
2292
|
+
},
|
|
2230
2293
|
"NavigationBar": {
|
|
2231
2294
|
"focus": {
|
|
2232
2295
|
"description": "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
@@ -2422,6 +2485,35 @@
|
|
|
2422
2485
|
"type": "state"
|
|
2423
2486
|
}
|
|
2424
2487
|
},
|
|
2488
|
+
"QuickLinksFeatureItem": {
|
|
2489
|
+
"hover": {
|
|
2490
|
+
"description": "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2491
|
+
"values": [
|
|
2492
|
+
true
|
|
2493
|
+
],
|
|
2494
|
+
"type": "state",
|
|
2495
|
+
"platforms": [
|
|
2496
|
+
"rn"
|
|
2497
|
+
]
|
|
2498
|
+
},
|
|
2499
|
+
"focus": {
|
|
2500
|
+
"description": "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
2501
|
+
"values": [
|
|
2502
|
+
true
|
|
2503
|
+
],
|
|
2504
|
+
"type": "state",
|
|
2505
|
+
"platforms": [
|
|
2506
|
+
"rn"
|
|
2507
|
+
]
|
|
2508
|
+
},
|
|
2509
|
+
"pressed": {
|
|
2510
|
+
"description": "Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.",
|
|
2511
|
+
"values": [
|
|
2512
|
+
true
|
|
2513
|
+
],
|
|
2514
|
+
"type": "state"
|
|
2515
|
+
}
|
|
2516
|
+
},
|
|
2425
2517
|
"QuantitySelector": {
|
|
2426
2518
|
"focus": {
|
|
2427
2519
|
"description": "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
@@ -3224,14 +3316,14 @@
|
|
|
3224
3316
|
"name": "string"
|
|
3225
3317
|
},
|
|
3226
3318
|
"required": true,
|
|
3227
|
-
"description": ""
|
|
3319
|
+
"description": "Text to be read by screen readers"
|
|
3228
3320
|
},
|
|
3229
3321
|
"heading": {
|
|
3230
3322
|
"type": {
|
|
3231
3323
|
"name": "bool"
|
|
3232
3324
|
},
|
|
3233
3325
|
"required": false,
|
|
3234
|
-
"description": ""
|
|
3326
|
+
"description": "Whether text should be rendered as a heading"
|
|
3235
3327
|
}
|
|
3236
3328
|
},
|
|
3237
3329
|
"attributes": {
|
|
@@ -4153,7 +4245,7 @@
|
|
|
4153
4245
|
]
|
|
4154
4246
|
},
|
|
4155
4247
|
"required": false,
|
|
4156
|
-
"description": ""
|
|
4248
|
+
"description": "A number referring to a position on the space scale to create space on either side of the divider"
|
|
4157
4249
|
},
|
|
4158
4250
|
"variant": {
|
|
4159
4251
|
"type": {
|
|
@@ -5924,14 +6016,14 @@
|
|
|
5924
6016
|
"name": "elementType"
|
|
5925
6017
|
},
|
|
5926
6018
|
"required": true,
|
|
5927
|
-
"description": ""
|
|
6019
|
+
"description": "Defines the icon to be rendered"
|
|
5928
6020
|
},
|
|
5929
6021
|
"href": {
|
|
5930
6022
|
"type": {
|
|
5931
6023
|
"name": "string"
|
|
5932
6024
|
},
|
|
5933
6025
|
"required": false,
|
|
5934
|
-
"description": ""
|
|
6026
|
+
"description": "URL to navigate to when the `Iconbutton` is pressed"
|
|
5935
6027
|
},
|
|
5936
6028
|
"hrefAttrs": {
|
|
5937
6029
|
"type": {
|
|
@@ -5970,14 +6062,14 @@
|
|
|
5970
6062
|
}
|
|
5971
6063
|
},
|
|
5972
6064
|
"required": false,
|
|
5973
|
-
"description": ""
|
|
6065
|
+
"description": "URL options to navigate to when the `Iconbutton` is pressed"
|
|
5974
6066
|
},
|
|
5975
6067
|
"onPress": {
|
|
5976
6068
|
"type": {
|
|
5977
6069
|
"name": "func"
|
|
5978
6070
|
},
|
|
5979
6071
|
"required": false,
|
|
5980
|
-
"description": ""
|
|
6072
|
+
"description": "Function to execute when the `Iconbutton` is pressed"
|
|
5981
6073
|
}
|
|
5982
6074
|
},
|
|
5983
6075
|
"attributes": {
|
|
@@ -6718,28 +6810,28 @@
|
|
|
6718
6810
|
]
|
|
6719
6811
|
},
|
|
6720
6812
|
"required": false,
|
|
6721
|
-
"description": ""
|
|
6813
|
+
"description": "To define the locale of the copy"
|
|
6722
6814
|
},
|
|
6723
6815
|
"isOpen": {
|
|
6724
6816
|
"type": {
|
|
6725
6817
|
"name": "bool"
|
|
6726
6818
|
},
|
|
6727
6819
|
"required": false,
|
|
6728
|
-
"description": ""
|
|
6820
|
+
"description": "Setting this to `true` will open the `Modal`"
|
|
6729
6821
|
},
|
|
6730
6822
|
"onClose": {
|
|
6731
6823
|
"type": {
|
|
6732
6824
|
"name": "func"
|
|
6733
6825
|
},
|
|
6734
6826
|
"required": false,
|
|
6735
|
-
"description": ""
|
|
6827
|
+
"description": "This function is triggered when the `Modal` is closed"
|
|
6736
6828
|
},
|
|
6737
6829
|
"maxWidth": {
|
|
6738
6830
|
"type": {
|
|
6739
6831
|
"name": "bool"
|
|
6740
6832
|
},
|
|
6741
6833
|
"required": false,
|
|
6742
|
-
"description": ""
|
|
6834
|
+
"description": "`max-width` is applied to the `Modal` container"
|
|
6743
6835
|
},
|
|
6744
6836
|
"tokens": {
|
|
6745
6837
|
"type": {
|
|
@@ -6852,6 +6944,17 @@
|
|
|
6852
6944
|
"required": false,
|
|
6853
6945
|
"description": "The options a user may select."
|
|
6854
6946
|
},
|
|
6947
|
+
"maxHeight": {
|
|
6948
|
+
"defaultValue": {
|
|
6949
|
+
"value": "false",
|
|
6950
|
+
"computed": false
|
|
6951
|
+
},
|
|
6952
|
+
"type": {
|
|
6953
|
+
"name": "bool"
|
|
6954
|
+
},
|
|
6955
|
+
"required": false,
|
|
6956
|
+
"description": "If provided sets maxHeight to be active"
|
|
6957
|
+
},
|
|
6855
6958
|
"copy": {
|
|
6856
6959
|
"defaultValue": {
|
|
6857
6960
|
"value": "'en'",
|
|
@@ -7180,7 +7283,7 @@
|
|
|
7180
7283
|
]
|
|
7181
7284
|
},
|
|
7182
7285
|
"required": false,
|
|
7183
|
-
"description": ""
|
|
7286
|
+
"description": "To change the language for labels"
|
|
7184
7287
|
},
|
|
7185
7288
|
"LinkRouter": {
|
|
7186
7289
|
"type": {
|
|
@@ -7271,7 +7374,7 @@
|
|
|
7271
7374
|
}
|
|
7272
7375
|
},
|
|
7273
7376
|
"required": false,
|
|
7274
|
-
"description": ""
|
|
7377
|
+
"description": "When passed as `{{ compact: true }}`, `Pagination` does not render labels along side buttons"
|
|
7275
7378
|
},
|
|
7276
7379
|
"sideButtonTokens": {
|
|
7277
7380
|
"type": {
|
|
@@ -7306,7 +7409,7 @@
|
|
|
7306
7409
|
}
|
|
7307
7410
|
},
|
|
7308
7411
|
"required": false,
|
|
7309
|
-
"description": ""
|
|
7412
|
+
"description": "Custom tokens for `PaginationSideButton`"
|
|
7310
7413
|
}
|
|
7311
7414
|
},
|
|
7312
7415
|
"attributes": {
|
|
@@ -7396,14 +7499,14 @@
|
|
|
7396
7499
|
"name": "string"
|
|
7397
7500
|
},
|
|
7398
7501
|
"required": false,
|
|
7399
|
-
"description": ""
|
|
7502
|
+
"description": "To set custom label for the button"
|
|
7400
7503
|
},
|
|
7401
7504
|
"isActive": {
|
|
7402
7505
|
"type": {
|
|
7403
7506
|
"name": "bool"
|
|
7404
7507
|
},
|
|
7405
7508
|
"required": false,
|
|
7406
|
-
"description": ""
|
|
7509
|
+
"description": "To set `PageButton` to active state"
|
|
7407
7510
|
},
|
|
7408
7511
|
"copy": {
|
|
7409
7512
|
"type": {
|
|
@@ -7420,7 +7523,7 @@
|
|
|
7420
7523
|
]
|
|
7421
7524
|
},
|
|
7422
7525
|
"required": false,
|
|
7423
|
-
"description": ""
|
|
7526
|
+
"description": "To change the language for labels"
|
|
7424
7527
|
},
|
|
7425
7528
|
"variant": {
|
|
7426
7529
|
"type": {
|
|
@@ -7682,7 +7785,7 @@
|
|
|
7682
7785
|
"name": "string"
|
|
7683
7786
|
},
|
|
7684
7787
|
"required": false,
|
|
7685
|
-
"description": ""
|
|
7788
|
+
"description": "The HTML tag to render the list as"
|
|
7686
7789
|
},
|
|
7687
7790
|
"tokens": {
|
|
7688
7791
|
"type": {
|
|
@@ -7721,7 +7824,7 @@
|
|
|
7721
7824
|
}
|
|
7722
7825
|
},
|
|
7723
7826
|
"required": false,
|
|
7724
|
-
"description": ""
|
|
7827
|
+
"description": "Custom tokens override for `Card`"
|
|
7725
7828
|
},
|
|
7726
7829
|
"listTokens": {
|
|
7727
7830
|
"type": {
|
|
@@ -7753,7 +7856,7 @@
|
|
|
7753
7856
|
}
|
|
7754
7857
|
},
|
|
7755
7858
|
"required": false,
|
|
7756
|
-
"description": ""
|
|
7859
|
+
"description": "Custom tokens override for `QuickLinksList`"
|
|
7757
7860
|
},
|
|
7758
7861
|
"variant": {
|
|
7759
7862
|
"type": {
|
|
@@ -7984,8 +8087,12 @@
|
|
|
7984
8087
|
"contentDirection": "direction",
|
|
7985
8088
|
"contentSpace": "integer",
|
|
7986
8089
|
"contentAlignItems": "flexAlign",
|
|
8090
|
+
"gap": "size",
|
|
7987
8091
|
"textAlign": "textAlign",
|
|
7988
|
-
"outerBorderColor": "color"
|
|
8092
|
+
"outerBorderColor": "color",
|
|
8093
|
+
"fontWeight": "fontWeight",
|
|
8094
|
+
"fontName": "fontName",
|
|
8095
|
+
"fontSize": "fontSize"
|
|
7989
8096
|
}
|
|
7990
8097
|
},
|
|
7991
8098
|
"required": false,
|
|
@@ -8419,7 +8526,7 @@
|
|
|
8419
8526
|
]
|
|
8420
8527
|
},
|
|
8421
8528
|
"required": false,
|
|
8422
|
-
"description": ""
|
|
8529
|
+
"description": "To hide children of `Responsive` if the current viewport is smaller than `min`"
|
|
8423
8530
|
},
|
|
8424
8531
|
"max": {
|
|
8425
8532
|
"type": {
|
|
@@ -8444,7 +8551,7 @@
|
|
|
8444
8551
|
]
|
|
8445
8552
|
},
|
|
8446
8553
|
"required": false,
|
|
8447
|
-
"description": ""
|
|
8554
|
+
"description": "To hide children of `Responsive` if the current viewport is larger than `max`"
|
|
8448
8555
|
},
|
|
8449
8556
|
"children": {
|
|
8450
8557
|
"type": {
|
|
@@ -8755,7 +8862,7 @@
|
|
|
8755
8862
|
"name": "string"
|
|
8756
8863
|
},
|
|
8757
8864
|
"required": true,
|
|
8758
|
-
"description": ""
|
|
8865
|
+
"description": "The label for the group."
|
|
8759
8866
|
}
|
|
8760
8867
|
},
|
|
8761
8868
|
"attributes": {
|
|
@@ -8779,7 +8886,7 @@
|
|
|
8779
8886
|
"name": "string"
|
|
8780
8887
|
},
|
|
8781
8888
|
"required": true,
|
|
8782
|
-
"description": ""
|
|
8889
|
+
"description": "The value of the option"
|
|
8783
8890
|
}
|
|
8784
8891
|
},
|
|
8785
8892
|
"attributes": {
|
|
@@ -8873,7 +8980,7 @@
|
|
|
8873
8980
|
}
|
|
8874
8981
|
},
|
|
8875
8982
|
"required": false,
|
|
8876
|
-
"description": ""
|
|
8983
|
+
"description": "Custom tokens for `SideNav.Item`"
|
|
8877
8984
|
},
|
|
8878
8985
|
"groupTokens": {
|
|
8879
8986
|
"type": {
|
|
@@ -8895,7 +9002,7 @@
|
|
|
8895
9002
|
}
|
|
8896
9003
|
},
|
|
8897
9004
|
"required": false,
|
|
8898
|
-
"description": ""
|
|
9005
|
+
"description": "Custom tokens for `SideNavItemsGroup`"
|
|
8899
9006
|
}
|
|
8900
9007
|
},
|
|
8901
9008
|
"attributes": {
|
|
@@ -9114,7 +9221,7 @@
|
|
|
9114
9221
|
}
|
|
9115
9222
|
},
|
|
9116
9223
|
"required": false,
|
|
9117
|
-
"description": ""
|
|
9224
|
+
"description": "Custom tokens for `SideNav.Item`"
|
|
9118
9225
|
}
|
|
9119
9226
|
},
|
|
9120
9227
|
"attributes": {
|
|
@@ -9461,6 +9568,7 @@
|
|
|
9461
9568
|
"space": {
|
|
9462
9569
|
"name": "custom",
|
|
9463
9570
|
"raw": "spacingProps.types.spacingValue",
|
|
9571
|
+
"description": "A number referring to a position on the space scale to create space on either side of the divider",
|
|
9464
9572
|
"required": false
|
|
9465
9573
|
},
|
|
9466
9574
|
"variant": {
|
|
@@ -9591,7 +9699,7 @@
|
|
|
9591
9699
|
"name": "number"
|
|
9592
9700
|
},
|
|
9593
9701
|
"required": false,
|
|
9594
|
-
"description": ""
|
|
9702
|
+
"description": "The current step, 0-based number"
|
|
9595
9703
|
},
|
|
9596
9704
|
"copy": {
|
|
9597
9705
|
"defaultValue": {
|
|
@@ -9621,11 +9729,11 @@
|
|
|
9621
9729
|
]
|
|
9622
9730
|
},
|
|
9623
9731
|
"required": false,
|
|
9624
|
-
"description": ""
|
|
9732
|
+
"description": "The language to use for the labels"
|
|
9625
9733
|
},
|
|
9626
9734
|
"dictionary": {
|
|
9627
9735
|
"defaultValue": {
|
|
9628
|
-
"value": "{\n en: {\n stepLabel: 'Step %{stepNumber}',\n stepTrackerLabel: 'Step %{stepNumber} of %{stepCount}: %{stepLabel}'\n },\n fr: {\n stepLabel: 'Étape %{stepNumber}',\n stepTrackerLabel: 'Étape %{stepNumber} sur %{stepCount}: %{stepLabel}'\n }\n}",
|
|
9736
|
+
"value": "{\n en: {\n 1: {\n stepLabel: 'Step %{stepNumber}',\n stepTrackerLabel: 'Step %{stepNumber} of %{stepCount}: %{stepLabel}'\n },\n 2: {\n stepLabel: '%{stepNumber}.',\n stepTrackerLabel: 'Step %{stepNumber} of %{stepCount}: %{stepLabel}'\n },\n 3: {\n stepLabel: 'Step %{stepNumber}',\n stepTrackerLabel: 'Step %{stepNumber} of %{stepCount}: %{stepLabel}'\n }\n },\n fr: {\n 1: {\n stepLabel: 'Étape %{stepNumber}',\n stepTrackerLabel: 'Étape %{stepNumber} sur %{stepCount}: %{stepLabel}'\n },\n 2: {\n stepLabel: '%{stepNumber}.',\n stepTrackerLabel: 'Étape %{stepNumber} sur %{stepCount}: %{stepLabel}'\n },\n 3: {\n stepLabel: 'Étape %{stepNumber}',\n stepTrackerLabel: 'Étape %{stepNumber} sur %{stepCount}: %{stepLabel}'\n }\n }\n}",
|
|
9629
9737
|
"computed": false
|
|
9630
9738
|
},
|
|
9631
9739
|
"type": {
|
|
@@ -9644,7 +9752,7 @@
|
|
|
9644
9752
|
}
|
|
9645
9753
|
},
|
|
9646
9754
|
"required": false,
|
|
9647
|
-
"description": ""
|
|
9755
|
+
"description": "Custom dictionary containing the labels to use for the steps"
|
|
9648
9756
|
},
|
|
9649
9757
|
"steps": {
|
|
9650
9758
|
"defaultValue": {
|
|
@@ -9658,7 +9766,7 @@
|
|
|
9658
9766
|
}
|
|
9659
9767
|
},
|
|
9660
9768
|
"required": false,
|
|
9661
|
-
"description": ""
|
|
9769
|
+
"description": "An array of strings defining the step titles"
|
|
9662
9770
|
},
|
|
9663
9771
|
"tokens": {
|
|
9664
9772
|
"type": {
|
|
@@ -9706,7 +9814,13 @@
|
|
|
9706
9814
|
"labelPaddingRight": "size",
|
|
9707
9815
|
"showStepLabel": "show",
|
|
9708
9816
|
"showStepName": "show",
|
|
9709
|
-
"showStepTrackerLabel": "show"
|
|
9817
|
+
"showStepTrackerLabel": "show",
|
|
9818
|
+
"textStepTrackerLabel": "integer",
|
|
9819
|
+
"stepLabelColor": "color",
|
|
9820
|
+
"stepLabelFontSize": "fontSize",
|
|
9821
|
+
"stepLabelFontWeight": "fontWeight",
|
|
9822
|
+
"stepLabelFontName": "fontName",
|
|
9823
|
+
"stepLabelLineHeight": "lineHeight"
|
|
9710
9824
|
}
|
|
9711
9825
|
},
|
|
9712
9826
|
"required": false,
|
|
@@ -9774,14 +9888,14 @@
|
|
|
9774
9888
|
}
|
|
9775
9889
|
},
|
|
9776
9890
|
"required": false,
|
|
9777
|
-
"description": ""
|
|
9891
|
+
"description": "Array of `TabsItem`s"
|
|
9778
9892
|
},
|
|
9779
9893
|
"value": {
|
|
9780
9894
|
"type": {
|
|
9781
9895
|
"name": "string"
|
|
9782
9896
|
},
|
|
9783
9897
|
"required": false,
|
|
9784
|
-
"description": ""
|
|
9898
|
+
"description": "`id` property of the current tab in the items array"
|
|
9785
9899
|
},
|
|
9786
9900
|
"initialValue": {
|
|
9787
9901
|
"type": {
|
|
@@ -9795,7 +9909,7 @@
|
|
|
9795
9909
|
"name": "func"
|
|
9796
9910
|
},
|
|
9797
9911
|
"required": false,
|
|
9798
|
-
"description": ""
|
|
9912
|
+
"description": "Callback for when the selected tab changes"
|
|
9799
9913
|
},
|
|
9800
9914
|
"tokens": {
|
|
9801
9915
|
"type": {
|
|
@@ -9842,7 +9956,7 @@
|
|
|
9842
9956
|
}
|
|
9843
9957
|
},
|
|
9844
9958
|
"required": false,
|
|
9845
|
-
"description": ""
|
|
9959
|
+
"description": "Custom tokens for `TabsItem`"
|
|
9846
9960
|
},
|
|
9847
9961
|
"scrollButtonTokens": {
|
|
9848
9962
|
"type": {
|
|
@@ -9865,7 +9979,7 @@
|
|
|
9865
9979
|
}
|
|
9866
9980
|
},
|
|
9867
9981
|
"required": false,
|
|
9868
|
-
"description": ""
|
|
9982
|
+
"description": "Custom tokens for `HorizontalScrollButton`"
|
|
9869
9983
|
},
|
|
9870
9984
|
"variant": {
|
|
9871
9985
|
"type": {
|
|
@@ -13220,7 +13334,7 @@
|
|
|
13220
13334
|
]
|
|
13221
13335
|
},
|
|
13222
13336
|
"required": false,
|
|
13223
|
-
"description": ""
|
|
13337
|
+
"description": "Changes direction of chevron icon"
|
|
13224
13338
|
},
|
|
13225
13339
|
"tokens": {
|
|
13226
13340
|
"defaultValue": {
|
package/lib/A11yText/index.js
CHANGED
|
@@ -57,7 +57,15 @@ const A11yText = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
57
57
|
});
|
|
58
58
|
A11yText.displayName = 'A11yText';
|
|
59
59
|
A11yText.propTypes = { ...selectedSystemPropTypes,
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Text to be read by screen readers
|
|
63
|
+
*/
|
|
60
64
|
text: _propTypes.default.string.isRequired,
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Whether text should be rendered as a heading
|
|
68
|
+
*/
|
|
61
69
|
heading: _propTypes.default.bool
|
|
62
70
|
};
|
|
63
71
|
|
package/lib/Divider/Divider.js
CHANGED
|
@@ -128,6 +128,10 @@ const Divider = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
128
128
|
Divider.displayName = 'Divider';
|
|
129
129
|
Divider.propTypes = { ...selectedSystemPropTypes,
|
|
130
130
|
tokens: (0, _utils.getTokensPropType)('Divider'),
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* A number referring to a position on the space scale to create space on either side of the divider
|
|
134
|
+
*/
|
|
131
135
|
space: _utils.spacingProps.types.spacingValue,
|
|
132
136
|
variant: _utils.variantProp.propType,
|
|
133
137
|
|
|
@@ -145,9 +145,25 @@ IconButton.displayName = 'IconButton';
|
|
|
145
145
|
IconButton.propTypes = { ...selectedSystemPropTypes,
|
|
146
146
|
variant: _utils.variantProp.propType,
|
|
147
147
|
tokens: (0, _utils.getTokensPropType)('IconButton'),
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Defines the icon to be rendered
|
|
151
|
+
*/
|
|
148
152
|
icon: _propTypes.default.elementType.isRequired,
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* URL to navigate to when the `Iconbutton` is pressed
|
|
156
|
+
*/
|
|
149
157
|
href: _propTypes.default.string,
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* URL options to navigate to when the `Iconbutton` is pressed
|
|
161
|
+
*/
|
|
150
162
|
hrefAttrs: _propTypes.default.shape(_utils.hrefAttrsProp.types),
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Function to execute when the `Iconbutton` is pressed
|
|
166
|
+
*/
|
|
151
167
|
onPress: _propTypes.default.func
|
|
152
168
|
};
|
|
153
169
|
|
package/lib/Link/ChevronLink.js
CHANGED
|
@@ -70,6 +70,10 @@ const ChevronLink = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
70
70
|
ChevronLink.displayName = 'ChevronLink';
|
|
71
71
|
ChevronLink.propTypes = { ..._LinkBase.default.propTypes,
|
|
72
72
|
tokens: (0, _utils.getTokensPropType)('ChevronLink', 'Link'),
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Changes direction of chevron icon
|
|
76
|
+
*/
|
|
73
77
|
direction: _propTypes.default.oneOf(['left', 'right'])
|
|
74
78
|
};
|
|
75
79
|
var _default = ChevronLink;
|
package/lib/Link/LinkBase.js
CHANGED
|
@@ -229,7 +229,7 @@ const LinkBase = /*#__PURE__*/(0, _react.forwardRef)((_ref6, ref) => {
|
|
|
229
229
|
},
|
|
230
230
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.default, {
|
|
231
231
|
style: [textStyles, blockTextStyles, staticStyles.baseline],
|
|
232
|
-
children: children
|
|
232
|
+
children: typeof children === 'function' ? children(linkState) : children
|
|
233
233
|
})
|
|
234
234
|
});
|
|
235
235
|
}
|