@telus-uds/components-base 1.51.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.
Files changed (51) hide show
  1. package/CHANGELOG.md +11 -3
  2. package/component-docs.json +54 -38
  3. package/lib/A11yText/index.js +8 -0
  4. package/lib/Divider/Divider.js +4 -0
  5. package/lib/IconButton/IconButton.js +16 -0
  6. package/lib/Link/ChevronLink.js +4 -0
  7. package/lib/Modal/Modal.js +16 -0
  8. package/lib/Pagination/PageButton.js +12 -0
  9. package/lib/Pagination/Pagination.js +12 -0
  10. package/lib/QuickLinks/QuickLinks.js +12 -0
  11. package/lib/Responsive/Responsive.js +7 -0
  12. package/lib/Select/Group.js +4 -0
  13. package/lib/Select/Group.native.js +4 -0
  14. package/lib/Select/Item.js +4 -0
  15. package/lib/SideNav/ItemsGroup.js +4 -0
  16. package/lib/SideNav/SideNav.js +8 -0
  17. package/lib/StepTracker/StepTracker.js +16 -0
  18. package/lib/Tabs/Tabs.js +20 -0
  19. package/lib-module/A11yText/index.js +8 -0
  20. package/lib-module/Divider/Divider.js +4 -0
  21. package/lib-module/IconButton/IconButton.js +16 -0
  22. package/lib-module/Link/ChevronLink.js +4 -0
  23. package/lib-module/Modal/Modal.js +16 -0
  24. package/lib-module/Pagination/PageButton.js +12 -0
  25. package/lib-module/Pagination/Pagination.js +12 -0
  26. package/lib-module/QuickLinks/QuickLinks.js +12 -0
  27. package/lib-module/Responsive/Responsive.js +7 -0
  28. package/lib-module/Select/Group.js +4 -0
  29. package/lib-module/Select/Group.native.js +4 -0
  30. package/lib-module/Select/Item.js +4 -0
  31. package/lib-module/SideNav/ItemsGroup.js +4 -0
  32. package/lib-module/SideNav/SideNav.js +8 -0
  33. package/lib-module/StepTracker/StepTracker.js +16 -0
  34. package/lib-module/Tabs/Tabs.js +20 -0
  35. package/package.json +2 -2
  36. package/src/A11yText/index.jsx +6 -0
  37. package/src/Divider/Divider.jsx +3 -0
  38. package/src/IconButton/IconButton.jsx +12 -0
  39. package/src/Link/ChevronLink.jsx +3 -0
  40. package/src/Modal/Modal.jsx +12 -0
  41. package/src/Pagination/PageButton.jsx +9 -0
  42. package/src/Pagination/Pagination.jsx +9 -0
  43. package/src/QuickLinks/QuickLinks.jsx +9 -0
  44. package/src/Responsive/Responsive.jsx +6 -0
  45. package/src/Select/Group.jsx +3 -0
  46. package/src/Select/Group.native.jsx +3 -0
  47. package/src/Select/Item.jsx +3 -0
  48. package/src/SideNav/ItemsGroup.jsx +3 -0
  49. package/src/SideNav/SideNav.jsx +6 -0
  50. package/src/StepTracker/StepTracker.jsx +12 -0
  51. package/src/Tabs/Tabs.jsx +15 -0
package/CHANGELOG.md CHANGED
@@ -1,19 +1,27 @@
1
1
  # Change Log - @telus-uds/components-base
2
2
 
3
- This log was last generated on Fri, 16 Jun 2023 21:05:00 GMT and should not be manually modified.
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
+
7
15
  ## 1.51.0
8
16
 
9
- Fri, 16 Jun 2023 21:05:00 GMT
17
+ Fri, 16 Jun 2023 21:12:21 GMT
10
18
 
11
19
  ### Minor changes
12
20
 
13
21
  - Change in tags due to multibrand standardization (35577399+JoshHC@users.noreply.github.com)
14
22
  - feature:update MultiSelectFilter to follow design (samuraix221@hotmail.com)
15
23
  - Adapt the tokens to the steptracker (mauricio.batresmontejo@telus.com)
16
- - Update 'LinkBase' to pass Pressable state through to children (kyle.king2@telus.com)
24
+ - Update 'LinkBase' to pass Pressable state through to children (kyle.king2@telus.com)
17
25
  - Bump @telus-uds/system-theme-tokens to v2.33.0
18
26
 
19
27
  ## 1.50.0
@@ -287,7 +287,19 @@
287
287
  "paddingTop": "size",
288
288
  "paddingBottom": "size",
289
289
  "marginBottom": "size",
290
- "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"
291
303
  },
292
304
  "Box": {
293
305
  "backgroundColor": "color",
@@ -542,6 +554,9 @@
542
554
  "calendarDaySelectedHoverBeforeBorderColor": "color",
543
555
  "calendarDaySelectedHoverBorderColor": "color",
544
556
  "calendarDaySelectedHoverColor": "color",
557
+ "calendarDaySelectedDisabledBackground": "color",
558
+ "calendarDaySelectedDisabledColor": "color",
559
+ "calendarDaySelectedDisabledContentBackgroundColor": "color",
545
560
  "calendarMonthCaptionColor": "color",
546
561
  "calendarMonthCaptionFontName": "fontName",
547
562
  "calendarMonthCaptionFontSize": "fontSize",
@@ -3301,14 +3316,14 @@
3301
3316
  "name": "string"
3302
3317
  },
3303
3318
  "required": true,
3304
- "description": ""
3319
+ "description": "Text to be read by screen readers"
3305
3320
  },
3306
3321
  "heading": {
3307
3322
  "type": {
3308
3323
  "name": "bool"
3309
3324
  },
3310
3325
  "required": false,
3311
- "description": ""
3326
+ "description": "Whether text should be rendered as a heading"
3312
3327
  }
3313
3328
  },
3314
3329
  "attributes": {
@@ -4230,7 +4245,7 @@
4230
4245
  ]
4231
4246
  },
4232
4247
  "required": false,
4233
- "description": ""
4248
+ "description": "A number referring to a position on the space scale to create space on either side of the divider"
4234
4249
  },
4235
4250
  "variant": {
4236
4251
  "type": {
@@ -6001,14 +6016,14 @@
6001
6016
  "name": "elementType"
6002
6017
  },
6003
6018
  "required": true,
6004
- "description": ""
6019
+ "description": "Defines the icon to be rendered"
6005
6020
  },
6006
6021
  "href": {
6007
6022
  "type": {
6008
6023
  "name": "string"
6009
6024
  },
6010
6025
  "required": false,
6011
- "description": ""
6026
+ "description": "URL to navigate to when the `Iconbutton` is pressed"
6012
6027
  },
6013
6028
  "hrefAttrs": {
6014
6029
  "type": {
@@ -6047,14 +6062,14 @@
6047
6062
  }
6048
6063
  },
6049
6064
  "required": false,
6050
- "description": ""
6065
+ "description": "URL options to navigate to when the `Iconbutton` is pressed"
6051
6066
  },
6052
6067
  "onPress": {
6053
6068
  "type": {
6054
6069
  "name": "func"
6055
6070
  },
6056
6071
  "required": false,
6057
- "description": ""
6072
+ "description": "Function to execute when the `Iconbutton` is pressed"
6058
6073
  }
6059
6074
  },
6060
6075
  "attributes": {
@@ -6795,28 +6810,28 @@
6795
6810
  ]
6796
6811
  },
6797
6812
  "required": false,
6798
- "description": ""
6813
+ "description": "To define the locale of the copy"
6799
6814
  },
6800
6815
  "isOpen": {
6801
6816
  "type": {
6802
6817
  "name": "bool"
6803
6818
  },
6804
6819
  "required": false,
6805
- "description": ""
6820
+ "description": "Setting this to `true` will open the `Modal`"
6806
6821
  },
6807
6822
  "onClose": {
6808
6823
  "type": {
6809
6824
  "name": "func"
6810
6825
  },
6811
6826
  "required": false,
6812
- "description": ""
6827
+ "description": "This function is triggered when the `Modal` is closed"
6813
6828
  },
6814
6829
  "maxWidth": {
6815
6830
  "type": {
6816
6831
  "name": "bool"
6817
6832
  },
6818
6833
  "required": false,
6819
- "description": ""
6834
+ "description": "`max-width` is applied to the `Modal` container"
6820
6835
  },
6821
6836
  "tokens": {
6822
6837
  "type": {
@@ -7268,7 +7283,7 @@
7268
7283
  ]
7269
7284
  },
7270
7285
  "required": false,
7271
- "description": ""
7286
+ "description": "To change the language for labels"
7272
7287
  },
7273
7288
  "LinkRouter": {
7274
7289
  "type": {
@@ -7359,7 +7374,7 @@
7359
7374
  }
7360
7375
  },
7361
7376
  "required": false,
7362
- "description": ""
7377
+ "description": "When passed as `{{ compact: true }}`, `Pagination` does not render labels along side buttons"
7363
7378
  },
7364
7379
  "sideButtonTokens": {
7365
7380
  "type": {
@@ -7394,7 +7409,7 @@
7394
7409
  }
7395
7410
  },
7396
7411
  "required": false,
7397
- "description": ""
7412
+ "description": "Custom tokens for `PaginationSideButton`"
7398
7413
  }
7399
7414
  },
7400
7415
  "attributes": {
@@ -7484,14 +7499,14 @@
7484
7499
  "name": "string"
7485
7500
  },
7486
7501
  "required": false,
7487
- "description": ""
7502
+ "description": "To set custom label for the button"
7488
7503
  },
7489
7504
  "isActive": {
7490
7505
  "type": {
7491
7506
  "name": "bool"
7492
7507
  },
7493
7508
  "required": false,
7494
- "description": ""
7509
+ "description": "To set `PageButton` to active state"
7495
7510
  },
7496
7511
  "copy": {
7497
7512
  "type": {
@@ -7508,7 +7523,7 @@
7508
7523
  ]
7509
7524
  },
7510
7525
  "required": false,
7511
- "description": ""
7526
+ "description": "To change the language for labels"
7512
7527
  },
7513
7528
  "variant": {
7514
7529
  "type": {
@@ -7770,7 +7785,7 @@
7770
7785
  "name": "string"
7771
7786
  },
7772
7787
  "required": false,
7773
- "description": ""
7788
+ "description": "The HTML tag to render the list as"
7774
7789
  },
7775
7790
  "tokens": {
7776
7791
  "type": {
@@ -7809,7 +7824,7 @@
7809
7824
  }
7810
7825
  },
7811
7826
  "required": false,
7812
- "description": ""
7827
+ "description": "Custom tokens override for `Card`"
7813
7828
  },
7814
7829
  "listTokens": {
7815
7830
  "type": {
@@ -7841,7 +7856,7 @@
7841
7856
  }
7842
7857
  },
7843
7858
  "required": false,
7844
- "description": ""
7859
+ "description": "Custom tokens override for `QuickLinksList`"
7845
7860
  },
7846
7861
  "variant": {
7847
7862
  "type": {
@@ -8511,7 +8526,7 @@
8511
8526
  ]
8512
8527
  },
8513
8528
  "required": false,
8514
- "description": ""
8529
+ "description": "To hide children of `Responsive` if the current viewport is smaller than `min`"
8515
8530
  },
8516
8531
  "max": {
8517
8532
  "type": {
@@ -8536,7 +8551,7 @@
8536
8551
  ]
8537
8552
  },
8538
8553
  "required": false,
8539
- "description": ""
8554
+ "description": "To hide children of `Responsive` if the current viewport is larger than `max`"
8540
8555
  },
8541
8556
  "children": {
8542
8557
  "type": {
@@ -8847,7 +8862,7 @@
8847
8862
  "name": "string"
8848
8863
  },
8849
8864
  "required": true,
8850
- "description": ""
8865
+ "description": "The label for the group."
8851
8866
  }
8852
8867
  },
8853
8868
  "attributes": {
@@ -8871,7 +8886,7 @@
8871
8886
  "name": "string"
8872
8887
  },
8873
8888
  "required": true,
8874
- "description": ""
8889
+ "description": "The value of the option"
8875
8890
  }
8876
8891
  },
8877
8892
  "attributes": {
@@ -8965,7 +8980,7 @@
8965
8980
  }
8966
8981
  },
8967
8982
  "required": false,
8968
- "description": ""
8983
+ "description": "Custom tokens for `SideNav.Item`"
8969
8984
  },
8970
8985
  "groupTokens": {
8971
8986
  "type": {
@@ -8987,7 +9002,7 @@
8987
9002
  }
8988
9003
  },
8989
9004
  "required": false,
8990
- "description": ""
9005
+ "description": "Custom tokens for `SideNavItemsGroup`"
8991
9006
  }
8992
9007
  },
8993
9008
  "attributes": {
@@ -9206,7 +9221,7 @@
9206
9221
  }
9207
9222
  },
9208
9223
  "required": false,
9209
- "description": ""
9224
+ "description": "Custom tokens for `SideNav.Item`"
9210
9225
  }
9211
9226
  },
9212
9227
  "attributes": {
@@ -9553,6 +9568,7 @@
9553
9568
  "space": {
9554
9569
  "name": "custom",
9555
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",
9556
9572
  "required": false
9557
9573
  },
9558
9574
  "variant": {
@@ -9683,7 +9699,7 @@
9683
9699
  "name": "number"
9684
9700
  },
9685
9701
  "required": false,
9686
- "description": ""
9702
+ "description": "The current step, 0-based number"
9687
9703
  },
9688
9704
  "copy": {
9689
9705
  "defaultValue": {
@@ -9713,7 +9729,7 @@
9713
9729
  ]
9714
9730
  },
9715
9731
  "required": false,
9716
- "description": ""
9732
+ "description": "The language to use for the labels"
9717
9733
  },
9718
9734
  "dictionary": {
9719
9735
  "defaultValue": {
@@ -9736,7 +9752,7 @@
9736
9752
  }
9737
9753
  },
9738
9754
  "required": false,
9739
- "description": ""
9755
+ "description": "Custom dictionary containing the labels to use for the steps"
9740
9756
  },
9741
9757
  "steps": {
9742
9758
  "defaultValue": {
@@ -9750,7 +9766,7 @@
9750
9766
  }
9751
9767
  },
9752
9768
  "required": false,
9753
- "description": ""
9769
+ "description": "An array of strings defining the step titles"
9754
9770
  },
9755
9771
  "tokens": {
9756
9772
  "type": {
@@ -9872,14 +9888,14 @@
9872
9888
  }
9873
9889
  },
9874
9890
  "required": false,
9875
- "description": ""
9891
+ "description": "Array of `TabsItem`s"
9876
9892
  },
9877
9893
  "value": {
9878
9894
  "type": {
9879
9895
  "name": "string"
9880
9896
  },
9881
9897
  "required": false,
9882
- "description": ""
9898
+ "description": "`id` property of the current tab in the items array"
9883
9899
  },
9884
9900
  "initialValue": {
9885
9901
  "type": {
@@ -9893,7 +9909,7 @@
9893
9909
  "name": "func"
9894
9910
  },
9895
9911
  "required": false,
9896
- "description": ""
9912
+ "description": "Callback for when the selected tab changes"
9897
9913
  },
9898
9914
  "tokens": {
9899
9915
  "type": {
@@ -9940,7 +9956,7 @@
9940
9956
  }
9941
9957
  },
9942
9958
  "required": false,
9943
- "description": ""
9959
+ "description": "Custom tokens for `TabsItem`"
9944
9960
  },
9945
9961
  "scrollButtonTokens": {
9946
9962
  "type": {
@@ -9963,7 +9979,7 @@
9963
9979
  }
9964
9980
  },
9965
9981
  "required": false,
9966
- "description": ""
9982
+ "description": "Custom tokens for `HorizontalScrollButton`"
9967
9983
  },
9968
9984
  "variant": {
9969
9985
  "type": {
@@ -13318,7 +13334,7 @@
13318
13334
  ]
13319
13335
  },
13320
13336
  "required": false,
13321
- "description": ""
13337
+ "description": "Changes direction of chevron icon"
13322
13338
  },
13323
13339
  "tokens": {
13324
13340
  "defaultValue": {
@@ -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
 
@@ -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
 
@@ -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;
@@ -200,9 +200,25 @@ const Modal = /*#__PURE__*/(0, _react.forwardRef)((_ref5, ref) => {
200
200
  Modal.displayName = 'Modal';
201
201
  Modal.propTypes = { ...selectedSystemPropTypes,
202
202
  children: _propTypes.default.oneOfType([_propTypes.default.node, _propTypes.default.arrayOf(_propTypes.default.node)]),
203
+
204
+ /**
205
+ * To define the locale of the copy
206
+ */
203
207
  copy: _utils.copyPropTypes,
208
+
209
+ /**
210
+ * Setting this to `true` will open the `Modal`
211
+ */
204
212
  isOpen: _propTypes.default.bool,
213
+
214
+ /**
215
+ * This function is triggered when the `Modal` is closed
216
+ */
205
217
  onClose: _propTypes.default.func,
218
+
219
+ /**
220
+ * `max-width` is applied to the `Modal` container
221
+ */
206
222
  maxWidth: _propTypes.default.bool,
207
223
  tokens: (0, _utils.getTokensPropType)('Modal'),
208
224
  variant: _utils.variantProp.propType,
@@ -80,8 +80,20 @@ const PageButton = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
80
80
  });
81
81
  PageButton.displayName = 'PageButton';
82
82
  PageButton.propTypes = { ..._utils.linkProps.types,
83
+
84
+ /**
85
+ * To set custom label for the button
86
+ */
83
87
  label: _propTypes.default.string,
88
+
89
+ /**
90
+ * To set `PageButton` to active state
91
+ */
84
92
  isActive: _propTypes.default.bool,
93
+
94
+ /**
95
+ * To change the language for labels
96
+ */
85
97
  copy: _utils.copyPropTypes,
86
98
  variant: _utils.variantProp.propType,
87
99
  tokens: (0, _utils.getTokensPropType)('PaginationPageButton')
@@ -210,10 +210,22 @@ Pagination.PageButton = _PageButton.default;
210
210
  Pagination.propTypes = { ...selectedSystemPropTypes,
211
211
  ..._utils.withLinkRouter.propTypes,
212
212
  children: (0, _utils.componentPropType)('PageButton'),
213
+
214
+ /**
215
+ * To change the language for labels
216
+ */
213
217
  copy: _utils.copyPropTypes,
214
218
  variant: _utils.variantProp.propType,
215
219
  tokens: (0, _utils.getTokensPropType)('Pagination'),
220
+
221
+ /**
222
+ * When passed as `{{ compact: true }}`, `Pagination` does not render labels along side buttons
223
+ */
216
224
  sideButtonVariant: _utils.variantProp.propType,
225
+
226
+ /**
227
+ * Custom tokens for `PaginationSideButton`
228
+ */
217
229
  sideButtonTokens: (0, _utils.getTokensPropType)('PaginationSideButton')
218
230
  };
219
231
 
@@ -81,8 +81,20 @@ const QuickLinks = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
81
81
  QuickLinks.displayName = 'QuickLinks';
82
82
  QuickLinks.propTypes = {
83
83
  tokens: (0, _utils.getTokensPropType)('QuickLinks'),
84
+
85
+ /**
86
+ * Custom tokens override for `Card`
87
+ */
84
88
  cardTokens: (0, _utils.getTokensPropType)('Card'),
89
+
90
+ /**
91
+ * Custom tokens override for `QuickLinksList`
92
+ */
85
93
  listTokens: (0, _utils.getTokensPropType)('QuickLinksList'),
94
+
95
+ /**
96
+ * The HTML tag to render the list as
97
+ */
86
98
  tag: _propTypes.default.string,
87
99
  variant: _utils.variantProp.propType,
88
100
  children: _propTypes.default.node
@@ -50,7 +50,14 @@ const Responsive = _ref => {
50
50
  };
51
51
 
52
52
  Responsive.propTypes = {
53
+ /**
54
+ * To hide children of `Responsive` if the current viewport is smaller than `min`
55
+ */
53
56
  min: _propTypes.default.oneOf(['xs', 'sm', 'md', 'lg', 'xl']),
57
+
58
+ /**
59
+ * To hide children of `Responsive` if the current viewport is larger than `max`
60
+ */
54
61
  max: _propTypes.default.oneOf(['sm', 'md', 'lg', 'xl']),
55
62
  children: _propTypes.default.node.isRequired
56
63
  };
@@ -30,5 +30,9 @@ var _default = Group;
30
30
  exports.default = _default;
31
31
  Group.propTypes = {
32
32
  children: (0, _utils.componentPropType)('Item'),
33
+
34
+ /**
35
+ * The label for the group.
36
+ */
33
37
  label: _propTypes.default.string.isRequired
34
38
  };
@@ -22,5 +22,9 @@ var _default = Group;
22
22
  exports.default = _default;
23
23
  Group.propTypes = {
24
24
  children: (0, _utils.componentPropType)('Item'),
25
+
26
+ /**
27
+ * The label for the group.
28
+ */
25
29
  label: _propTypes.default.string.isRequired
26
30
  };
@@ -28,5 +28,9 @@ var _default = Item;
28
28
  exports.default = _default;
29
29
  Item.propTypes = {
30
30
  children: _propTypes.default.string.isRequired,
31
+
32
+ /**
33
+ * The value of the option
34
+ */
31
35
  value: _propTypes.default.string.isRequired
32
36
  };
@@ -141,6 +141,10 @@ ItemsGroup.propTypes = {
141
141
  isActive: _propTypes.default.bool,
142
142
  variant: _utils.variantProp.propType,
143
143
  tokens: (0, _utils.getTokensPropType)('SideNavItemsGroup'),
144
+
145
+ /**
146
+ * Custom tokens for `SideNav.Item`
147
+ */
144
148
  itemTokens: (0, _utils.getTokensPropType)('SideNavItem')
145
149
  };
146
150
  var _default = ItemsGroup;
@@ -147,7 +147,15 @@ SideNav.propTypes = { ...selectedSystemPropTypes,
147
147
  accordion: _propTypes.default.bool,
148
148
  variant: _utils.variantProp.propType,
149
149
  tokens: (0, _utils.getTokensPropType)('SideNav'),
150
+
151
+ /**
152
+ * Custom tokens for `SideNav.Item`
153
+ */
150
154
  itemTokens: (0, _utils.getTokensPropType)('SideNavItem'),
155
+
156
+ /**
157
+ * Custom tokens for `SideNavItemsGroup`
158
+ */
151
159
  groupTokens: (0, _utils.getTokensPropType)('SideNavItemsGroup')
152
160
  };
153
161
  SideNav.Item = _Item.default;
@@ -194,12 +194,28 @@ const dictionaryContentShape = _propTypes.default.shape({
194
194
  });
195
195
 
196
196
  StepTracker.propTypes = { ...selectedSystemPropTypes,
197
+
198
+ /**
199
+ * The current step, 0-based number
200
+ */
197
201
  current: _propTypes.default.number,
202
+
203
+ /**
204
+ * The language to use for the labels
205
+ */
198
206
  copy: _propTypes.default.oneOfType([_propTypes.default.oneOf(['en', 'fr']), dictionaryContentShape]),
207
+
208
+ /**
209
+ * Custom dictionary containing the labels to use for the steps
210
+ */
199
211
  dictionary: _propTypes.default.shape({
200
212
  en: dictionaryContentShape,
201
213
  fr: dictionaryContentShape
202
214
  }),
215
+
216
+ /**
217
+ * An array of strings defining the step titles
218
+ */
203
219
  steps: _propTypes.default.arrayOf(_propTypes.default.string),
204
220
  tokens: (0, _utils.getTokensPropType)('StepTracker'),
205
221
  variant: _utils.variantProp.propType