@telus-uds/components-base 1.59.1 → 1.60.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.
Files changed (45) hide show
  1. package/CHANGELOG.md +26 -2
  2. package/component-docs.json +245 -6
  3. package/lib/Button/ButtonLink.js +7 -3
  4. package/lib/ExpandCollapse/Panel.js +7 -0
  5. package/lib/IconButton/IconButton.js +8 -0
  6. package/lib/Link/ChevronLink.js +9 -2
  7. package/lib/Link/LinkBase.js +14 -0
  8. package/lib/Link/TextButton.js +12 -1
  9. package/lib/Listbox/PressableItem.js +1 -3
  10. package/lib/Pagination/dictionary.js +3 -3
  11. package/lib/Progress/ProgressBarBackground.js +2 -2
  12. package/lib/SideNav/Item.js +15 -5
  13. package/lib/Tags/Tags.js +6 -1
  14. package/lib/Tooltip/Tooltip.js +6 -1
  15. package/lib/Tooltip/Tooltip.native.js +6 -1
  16. package/lib/Tooltip/shared.js +5 -0
  17. package/lib-module/Button/ButtonLink.js +4 -1
  18. package/lib-module/ExpandCollapse/Panel.js +7 -0
  19. package/lib-module/IconButton/IconButton.js +8 -0
  20. package/lib-module/Link/ChevronLink.js +10 -3
  21. package/lib-module/Link/LinkBase.js +14 -0
  22. package/lib-module/Link/TextButton.js +11 -1
  23. package/lib-module/Listbox/PressableItem.js +1 -3
  24. package/lib-module/Pagination/dictionary.js +3 -3
  25. package/lib-module/Progress/ProgressBarBackground.js +2 -2
  26. package/lib-module/SideNav/Item.js +15 -5
  27. package/lib-module/Tags/Tags.js +6 -1
  28. package/lib-module/Tooltip/Tooltip.js +6 -1
  29. package/lib-module/Tooltip/Tooltip.native.js +6 -1
  30. package/lib-module/Tooltip/shared.js +5 -0
  31. package/package.json +2 -2
  32. package/src/Button/ButtonLink.jsx +4 -1
  33. package/src/ExpandCollapse/Panel.jsx +11 -1
  34. package/src/IconButton/IconButton.jsx +7 -0
  35. package/src/Link/ChevronLink.jsx +10 -3
  36. package/src/Link/LinkBase.jsx +11 -0
  37. package/src/Link/TextButton.jsx +8 -2
  38. package/src/Listbox/PressableItem.jsx +1 -3
  39. package/src/Pagination/dictionary.js +3 -3
  40. package/src/Progress/ProgressBarBackground.jsx +2 -2
  41. package/src/SideNav/Item.jsx +13 -5
  42. package/src/Tags/Tags.jsx +5 -1
  43. package/src/Tooltip/Tooltip.jsx +16 -2
  44. package/src/Tooltip/Tooltip.native.jsx +15 -2
  45. package/src/Tooltip/shared.js +4 -0
package/CHANGELOG.md CHANGED
@@ -1,12 +1,36 @@
1
1
  # Change Log - @telus-uds/components-base
2
2
 
3
- This log was last generated on Mon, 21 Aug 2023 19:02:53 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 12 Sep 2023 15:31:31 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 1.60.0
8
+
9
+ Tue, 12 Sep 2023 15:31:31 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - `Tooltip`: Allow ability to display `inline` within other elements (shahzaibkhalidmalik@outlook.com)
14
+ - Missing props added to components (35577399+JoshHC@users.noreply.github.com)
15
+ - Bump @telus-uds/system-theme-tokens to v2.41.1
16
+
17
+ ### Patches
18
+
19
+ - `ExpandCollapse`: Nested links might collapse and disappear when clicked (shahzaibkhalidmalik@outlook.com)
20
+ - adding a testID data attribute to Datepicker Arrow Buttons for test automation purposes (lptbarlaan@gmail.com)
21
+ - fixing progressbarbackground svg (21316148+donnavitan@users.noreply.github.com)
22
+
23
+ ## 1.59.2
24
+
25
+ Thu, 31 Aug 2023 18:02:14 GMT
26
+
27
+ ### Patches
28
+
29
+ - autocomplete options overlap fix on XS (srikanthkhari@gmail.com)
30
+
7
31
  ## 1.59.1
8
32
 
9
- Mon, 21 Aug 2023 19:02:53 GMT
33
+ Mon, 21 Aug 2023 19:06:28 GMT
10
34
 
11
35
  ### Patches
12
36
 
@@ -172,7 +172,8 @@
172
172
  "WaffleGrid": {
173
173
  "rowBorderWidth": "border",
174
174
  "itemBorderColor": "color",
175
- "itemPadding": "size"
175
+ "itemPadding": "size",
176
+ "rowSize": "integer"
176
177
  },
177
178
  "QuantitySelector": {
178
179
  "inputBorderColor": "color",
@@ -6372,6 +6373,13 @@
6372
6373
  "required": false,
6373
6374
  "description": ""
6374
6375
  },
6376
+ "testID": {
6377
+ "type": {
6378
+ "name": "string"
6379
+ },
6380
+ "required": false,
6381
+ "description": "A unique identifier for testing purposes.\nWill be added as a `data-testid` attribute."
6382
+ },
6375
6383
  "icon": {
6376
6384
  "type": {
6377
6385
  "name": "elementType"
@@ -9429,12 +9437,38 @@
9429
9437
  "docs": {
9430
9438
  "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`.",
9431
9439
  "props": {
9440
+ "isActive": {
9441
+ "defaultValue": {
9442
+ "value": "false",
9443
+ "computed": false
9444
+ },
9445
+ "type": {
9446
+ "name": "bool"
9447
+ },
9448
+ "required": false,
9449
+ "description": "Set internally in `SideNav` render function."
9450
+ },
9451
+ "isExpanded": {
9452
+ "defaultValue": {
9453
+ "value": "false",
9454
+ "computed": false
9455
+ },
9456
+ "type": {
9457
+ "name": "bool"
9458
+ },
9459
+ "required": false,
9460
+ "description": "Set internally in `SideNav.ItemsGroup` render function. Used to mark expanded `ItemsGroup` parent."
9461
+ },
9432
9462
  "accessibilityRole": {
9433
9463
  "defaultValue": {
9434
9464
  "value": "'link'",
9435
9465
  "computed": false
9436
9466
  },
9437
- "required": false
9467
+ "type": {
9468
+ "name": "string"
9469
+ },
9470
+ "required": false,
9471
+ "description": "Accesibility Role"
9438
9472
  },
9439
9473
  "children": {
9440
9474
  "type": {
@@ -9443,6 +9477,20 @@
9443
9477
  "required": true,
9444
9478
  "description": "Text content of the `Item`."
9445
9479
  },
9480
+ "itemId": {
9481
+ "type": {
9482
+ "name": "string"
9483
+ },
9484
+ "required": false,
9485
+ "description": "Set internally in `SideNav` render function - used to keep track of active item."
9486
+ },
9487
+ "groupId": {
9488
+ "type": {
9489
+ "name": "string"
9490
+ },
9491
+ "required": false,
9492
+ "description": "Set internally in `SideNav` render function - used to keep track of expanded items groups."
9493
+ },
9446
9494
  "onPress": {
9447
9495
  "type": {
9448
9496
  "name": "func"
@@ -9543,6 +9591,13 @@
9543
9591
  },
9544
9592
  "required": false,
9545
9593
  "description": ""
9594
+ },
9595
+ "testID": {
9596
+ "type": {
9597
+ "name": "number"
9598
+ },
9599
+ "required": false,
9600
+ "description": "test ID"
9546
9601
  }
9547
9602
  },
9548
9603
  "attributes": {
@@ -10489,7 +10544,11 @@
10489
10544
  "value": "Platform.select({ web: 'group', default: 'none' })",
10490
10545
  "computed": true
10491
10546
  },
10492
- "required": false
10547
+ "type": {
10548
+ "name": "string"
10549
+ },
10550
+ "required": false,
10551
+ "description": "AccesibilityRole for the Tags"
10493
10552
  },
10494
10553
  "tokens": {
10495
10554
  "type": {
@@ -10951,6 +11010,17 @@
10951
11010
  "required": false,
10952
11011
  "description": "Select English or French copy for the accessible label."
10953
11012
  },
11013
+ "inline": {
11014
+ "defaultValue": {
11015
+ "value": "false",
11016
+ "computed": false
11017
+ },
11018
+ "type": {
11019
+ "name": "bool"
11020
+ },
11021
+ "required": false,
11022
+ "description": "Display tooltip icon button as an inline element."
11023
+ },
10954
11024
  "children": {
10955
11025
  "type": {
10956
11026
  "name": "union",
@@ -12223,6 +12293,13 @@
12223
12293
  },
12224
12294
  "required": false,
12225
12295
  "description": ""
12296
+ },
12297
+ "dataSet": {
12298
+ "type": {
12299
+ "name": "object"
12300
+ },
12301
+ "required": false,
12302
+ "description": ""
12226
12303
  }
12227
12304
  },
12228
12305
  "attributes": {
@@ -13848,10 +13925,126 @@
13848
13925
  },
13849
13926
  "required": false,
13850
13927
  "description": ""
13928
+ },
13929
+ "children": {
13930
+ "type": {
13931
+ "name": "node"
13932
+ },
13933
+ "required": false,
13934
+ "description": ""
13935
+ },
13936
+ "variant": {
13937
+ "type": {
13938
+ "name": "exact",
13939
+ "value": {
13940
+ "size": {
13941
+ "name": "enum",
13942
+ "value": [
13943
+ {
13944
+ "value": "'large'",
13945
+ "computed": false
13946
+ },
13947
+ {
13948
+ "value": "'small'",
13949
+ "computed": false
13950
+ },
13951
+ {
13952
+ "value": "'micro'",
13953
+ "computed": false
13954
+ }
13955
+ ],
13956
+ "required": false
13957
+ },
13958
+ "alternative": {
13959
+ "name": "bool",
13960
+ "required": false
13961
+ },
13962
+ "inverse": {
13963
+ "name": "bool",
13964
+ "required": false
13965
+ }
13966
+ }
13967
+ },
13968
+ "required": false,
13969
+ "description": ""
13970
+ },
13971
+ "onPress": {
13972
+ "type": {
13973
+ "name": "func"
13974
+ },
13975
+ "required": false,
13976
+ "description": ""
13977
+ },
13978
+ "onPressIn": {
13979
+ "type": {
13980
+ "name": "func"
13981
+ },
13982
+ "required": false,
13983
+ "description": ""
13984
+ },
13985
+ "onPressOut": {
13986
+ "type": {
13987
+ "name": "func"
13988
+ },
13989
+ "required": false,
13990
+ "description": ""
13991
+ },
13992
+ "disabled": {
13993
+ "type": {
13994
+ "name": "bool"
13995
+ },
13996
+ "required": false,
13997
+ "description": ""
13998
+ },
13999
+ "href": {
14000
+ "type": {
14001
+ "name": "string"
14002
+ },
14003
+ "required": false,
14004
+ "description": ""
14005
+ },
14006
+ "hrefAttrs": {
14007
+ "type": {
14008
+ "name": "shape",
14009
+ "value": {
14010
+ "download": {
14011
+ "name": "string",
14012
+ "required": false
14013
+ },
14014
+ "rel": {
14015
+ "name": "string",
14016
+ "required": false
14017
+ },
14018
+ "target": {
14019
+ "name": "enum",
14020
+ "value": [
14021
+ {
14022
+ "value": "'_self'",
14023
+ "computed": false
14024
+ },
14025
+ {
14026
+ "value": "'_blank'",
14027
+ "computed": false
14028
+ },
14029
+ {
14030
+ "value": "'_parent'",
14031
+ "computed": false
14032
+ },
14033
+ {
14034
+ "value": "'_top'",
14035
+ "computed": false
14036
+ }
14037
+ ],
14038
+ "required": false
14039
+ }
14040
+ }
14041
+ },
14042
+ "required": false,
14043
+ "description": ""
13851
14044
  }
13852
14045
  },
13853
14046
  "attributes": {
13854
- "acceptsRNA11yProps": false
14047
+ "acceptsRNA11yProps": true
13855
14048
  }
13856
14049
  }
13857
14050
  },
@@ -13975,6 +14168,20 @@
13975
14168
  },
13976
14169
  "required": false
13977
14170
  },
14171
+ "href": {
14172
+ "type": {
14173
+ "name": "string"
14174
+ },
14175
+ "required": false,
14176
+ "description": "href for the Link"
14177
+ },
14178
+ "accessibilityrole": {
14179
+ "type": {
14180
+ "name": "string"
14181
+ },
14182
+ "required": false,
14183
+ "description": "AccesibilityRole for the link base"
14184
+ },
13978
14185
  "variant": {
13979
14186
  "type": {
13980
14187
  "name": "objectOf",
@@ -13994,7 +14201,7 @@
13994
14201
  }
13995
14202
  },
13996
14203
  "required": false,
13997
- "description": ""
14204
+ "description": "Children nodes that can be added"
13998
14205
  },
13999
14206
  "icon": {
14000
14207
  "type": {
@@ -14057,13 +14264,45 @@
14057
14264
  "value": "'button'",
14058
14265
  "computed": false
14059
14266
  },
14060
- "required": false
14267
+ "type": {
14268
+ "name": "string"
14269
+ },
14270
+ "required": false,
14271
+ "description": "Accesibility role for TextButton"
14061
14272
  },
14062
14273
  "onPress": {
14063
14274
  "type": {
14064
14275
  "name": "func"
14065
14276
  },
14066
14277
  "required": true,
14278
+ "description": "onPress function"
14279
+ },
14280
+ "children": {
14281
+ "type": {
14282
+ "name": "node"
14283
+ },
14284
+ "required": true,
14285
+ "description": "Children node that can be added"
14286
+ },
14287
+ "variant": {
14288
+ "type": {
14289
+ "name": "objectOf",
14290
+ "value": {
14291
+ "name": "union",
14292
+ "value": [
14293
+ {
14294
+ "name": "string"
14295
+ },
14296
+ {
14297
+ "name": "number"
14298
+ },
14299
+ {
14300
+ "name": "bool"
14301
+ }
14302
+ ]
14303
+ }
14304
+ },
14305
+ "required": false,
14067
14306
  "description": ""
14068
14307
  }
14069
14308
  },
@@ -7,9 +7,11 @@ exports.default = void 0;
7
7
 
8
8
  var _react = _interopRequireWildcard(require("react"));
9
9
 
10
+ var _propTypes = _interopRequireDefault(require("prop-types"));
11
+
10
12
  var _ButtonBase = _interopRequireDefault(require("./ButtonBase"));
11
13
 
12
- var _propTypes = _interopRequireWildcard(require("./propTypes"));
14
+ var _propTypes2 = _interopRequireWildcard(require("./propTypes"));
13
15
 
14
16
  var _props = require("../utils/props");
15
17
 
@@ -60,9 +62,11 @@ const ButtonLink = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
60
62
  });
61
63
  ButtonLink.displayName = 'ButtonLink';
62
64
  ButtonLink.propTypes = { ..._props.a11yProps.types,
63
- ..._propTypes.default,
65
+ ..._propTypes2.default,
64
66
  ..._props.linkProps.types,
65
- children: _propTypes.textAndA11yText
67
+ children: _propTypes2.textAndA11yText,
68
+ dataSet: _propTypes.default.object,
69
+ accessibilityRole: _propTypes.default.string
66
70
  };
67
71
  var _default = ButtonLink;
68
72
  exports.default = _default;
@@ -182,6 +182,13 @@ const ExpandCollapsePanel = /*#__PURE__*/(0, _react.forwardRef)((_ref4, ref) =>
182
182
  ...focusabilityProps,
183
183
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_View.default, {
184
184
  onLayout: onContainerLayout,
185
+ style: { ..._Platform.default.select({
186
+ default: {
187
+ flex: 1
188
+ },
189
+ web: {}
190
+ })
191
+ },
185
192
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_View.default, {
186
193
  style: selectContainerStyles(themeTokens),
187
194
  children: children
@@ -129,6 +129,7 @@ const IconButton = /*#__PURE__*/(0, _react.forwardRef)((_ref3, ref) => {
129
129
  icon: IconComponent,
130
130
  href,
131
131
  hrefAttrs,
132
+ testID,
132
133
  accessibilityRole = href ? 'link' : 'button',
133
134
  ...rawRest
134
135
  } = _ref3;
@@ -166,6 +167,7 @@ const IconButton = /*#__PURE__*/(0, _react.forwardRef)((_ref3, ref) => {
166
167
  hrefAttrs: hrefAttrs,
167
168
  style: getOuterStyle,
168
169
  ...selectedProps,
170
+ testID: testID,
169
171
  children: pressableState => {
170
172
  const themeTokens = getTokens((0, _utils.resolvePressableState)(pressableState));
171
173
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_View.default, {
@@ -185,6 +187,12 @@ IconButton.propTypes = { ...selectedSystemPropTypes,
185
187
  variant: _utils.variantProp.propType,
186
188
  tokens: (0, _utils.getTokensPropType)('IconButton'),
187
189
 
190
+ /**
191
+ * A unique identifier for testing purposes.
192
+ * Will be added as a `data-testid` attribute.
193
+ */
194
+ testID: _propTypes.default.string,
195
+
188
196
  /**
189
197
  * Defines the icon to be rendered
190
198
  */
@@ -36,7 +36,7 @@ const ChevronLink = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
36
36
  tokens = {},
37
37
  variant,
38
38
  dataSet,
39
- ...linkProps
39
+ ...otherlinkProps
40
40
  } = _ref;
41
41
  const getChevronTokens = (0, _ThemeProvider.useThemeTokensCallback)('ChevronLink', tokens, variant);
42
42
 
@@ -59,7 +59,7 @@ const ChevronLink = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
59
59
  };
60
60
 
61
61
  const getTokens = (0, _ThemeProvider.useThemeTokensCallback)('Link', applyChevronTokens, variant);
62
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_LinkBase.default, { ...linkProps,
62
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_LinkBase.default, { ...otherlinkProps,
63
63
  iconPosition: direction,
64
64
  tokens: getTokens,
65
65
  dataSet: dataSet,
@@ -69,6 +69,13 @@ const ChevronLink = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
69
69
  });
70
70
  ChevronLink.displayName = 'ChevronLink';
71
71
  ChevronLink.propTypes = { ..._LinkBase.default.propTypes,
72
+ children: _propTypes.default.node,
73
+ variant: _propTypes.default.exact({
74
+ size: _propTypes.default.oneOf(['large', 'small', 'micro']),
75
+ alternative: _propTypes.default.bool,
76
+ inverse: _propTypes.default.bool
77
+ }),
78
+ ..._utils.linkProps.types,
72
79
  tokens: (0, _utils.getTokensPropType)('ChevronLink', 'Link'),
73
80
 
74
81
  /**
@@ -238,6 +238,20 @@ const LinkBase = /*#__PURE__*/(0, _react.forwardRef)((_ref6, ref) => {
238
238
  LinkBase.displayName = 'LinkBase';
239
239
  LinkBase.propTypes = { ...selectedSystemPropTypes,
240
240
  tokens: (0, _props.getTokensPropType)('Link'),
241
+
242
+ /**
243
+ * href for the Link
244
+ */
245
+ href: _propTypes.default.string,
246
+
247
+ /**
248
+ * AccesibilityRole for the link base
249
+ */
250
+ accessibilityrole: _propTypes.default.string,
251
+
252
+ /**
253
+ * Children nodes that can be added
254
+ */
241
255
  variant: _props.variantProp.propType,
242
256
 
243
257
  /**
@@ -13,6 +13,8 @@ var _ThemeProvider = require("../ThemeProvider");
13
13
 
14
14
  var _LinkBase = _interopRequireDefault(require("./LinkBase"));
15
15
 
16
+ var _utils = require("../utils");
17
+
16
18
  var _jsxRuntime = require("react/jsx-runtime");
17
19
 
18
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -47,7 +49,16 @@ const TextButton = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
47
49
  });
48
50
  TextButton.displayName = 'TextButton';
49
51
  TextButton.propTypes = { ..._LinkBase.default.propTypes,
50
- onPress: _propTypes.default.func.isRequired
52
+
53
+ /** onPress function */
54
+ onPress: _propTypes.default.func.isRequired,
55
+
56
+ /** Children node that can be added */
57
+ children: _propTypes.default.node.isRequired,
58
+ variant: _utils.variantProp.propType,
59
+
60
+ /** Accesibility role for TextButton */
61
+ accessibilityRole: _propTypes.default.string
51
62
  };
52
63
  var _default = TextButton;
53
64
  exports.default = _default;
@@ -50,8 +50,7 @@ const getItemStyles = _ref => {
50
50
  itemBorderTopColor,
51
51
  itemBorderBottomWidth,
52
52
  itemBorderBottomColor,
53
- itemBorderRadius,
54
- itemHeight
53
+ itemBorderRadius
55
54
  } = _ref;
56
55
  return {
57
56
  fontFamily: `${groupFontName}${groupFontWeight}normal`,
@@ -71,7 +70,6 @@ const getItemStyles = _ref => {
71
70
  borderTop: `${itemBorderTopWidth}px solid ${itemBorderTopColor}`,
72
71
  borderBottom: `${itemBorderBottomWidth}px solid ${itemBorderBottomColor}`,
73
72
  borderRadius: itemBorderRadius,
74
- height: itemHeight,
75
73
  justifyContent: 'center'
76
74
  };
77
75
  };
@@ -14,11 +14,11 @@ var _default = {
14
14
  nextText: 'Next'
15
15
  },
16
16
  fr: {
17
- goToLabel: 'Aller au page n°',
17
+ goToLabel: 'Aller à la page n°',
18
18
  currentLabel: '(page actuelle)',
19
- previousLabel: 'Aller au page précédent',
19
+ previousLabel: 'Aller à la page précédente',
20
20
  previousText: 'Précédent',
21
- nextLabel: 'Aller au prochain page',
21
+ nextLabel: 'Aller à la page suivante',
22
22
  nextText: 'Suivant'
23
23
  }
24
24
  };
@@ -21,8 +21,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
21
21
 
22
22
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
23
23
 
24
- const inactiveBackground = `%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='24'%3E%3Cdefs%3E%3Cpattern id='DisabledProgress7' patternUnits='userSpaceOnUse' width='8' height='8'%3E%3Crect width='8' height='8' fill='%23B2B9BF'%3E%3C/rect%3E%3Ccircle cx='4' cy='4' r='2' fill='%23676E73' stroke='%23676E73' stroke-width='0'%3E%3C/circle%3E%3Ccircle cx='0' cy='0' r='2' fill='%23676E73' stroke='%23676E73' stroke-width='0'%3E%3C/circle%3E%3Ccircle cx='0' cy='8' r='2' fill='%23676E73' stroke='%23676E73' stroke-width='0'%3E%3C/circle%3E%3Ccircle cx='8' cy='0' r='2' fill='%23676E73' stroke='%23676E73' stroke-width='0'%3E%3C/circle%3E%3Ccircle cx='8' cy='8' r='2' fill='%23676E73' stroke='%23676E73' stroke-width='0'%3E%3C/circle%3E%3C/pattern%3E%3C/defs%3E%3Cpath d='M 0 0 L 0 140 L 2000 2000 L 2000 0 Z' style='fill: url(&quot;%23DisabledProgress7&quot;);'%3E%3C/path%3E%3C/svg%3E`;
25
- const negativeBackground = `%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='24'%3E%3Cdefs%3E%3Cpattern id='NegativeProgress6' patternUnits='userSpaceOnUse' width='8' height='8'%3E%3Crect width='8' height='8' fill='%23C12335'%3E%3C/rect%3E%3Cpath d='M 0,8 l 8,-8 M -2,2 l 4,-4 M 6,10 l 4,-4' stroke-width='2' shape-rendering='auto' stroke='%23e7adb4' stroke-linecap='square'%3E%3C/path%3E%3C/pattern%3E%3C/defs%3E%3Cpath d='M 0 0 L 0 140 L 2000 2000 L 2000 0 Z' style='fill: url(&quot;%23NegativeProgress6&quot;);'%3E%3C/path%3E%3C/svg%3E`;
24
+ const inactiveBackground = `%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='24'%3E%3Cdefs%3E%3Cpattern id='inactive' patternUnits='userSpaceOnUse' width='8' height='8'%3E%3Crect width='8' height='8' fill='rgba(255, 255, 255, 0)'%3E%3C/rect%3E%3Ccircle cx='4' cy='4' r='2' fill='rgba(0, 0, 0, 0.4)' stroke='rgba(0, 0, 0, 0.4)' stroke-width='0'%3E%3C/circle%3E%3Ccircle cx='0' cy='0' r='2' fill='rgba(0, 0, 0, 0.4)' stroke='rgba(0, 0, 0, 0.4)' stroke-width='0'%3E%3C/circle%3E%3Ccircle cx='0' cy='8' r='2' fill='rgba(0, 0, 0, 0.4)' stroke='rgba(0, 0, 0, 0.4)' stroke-width='0'%3E%3C/circle%3E%3Ccircle cx='8' cy='0' r='2' fill='rgba(0, 0, 0, 0.4)' stroke='rgba(0, 0, 0, 0.4)' stroke-width='0'%3E%3C/circle%3E%3Ccircle cx='8' cy='8' r='2' fill='rgba(0, 0, 0, 0.4)' stroke='rgba(0, 0, 0, 0.4)' stroke-width='0'%3E%3C/circle%3E%3C/pattern%3E%3C/defs%3E%3Cpath d='M 0 0 L 0 140 L 2000 2000 L 2000 0 Z' style='fill: url(&quot;%23inactive&quot;);'%3E%3C/path%3E%3C/svg%3E`;
25
+ const negativeBackground = `%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='24'%3E%3Cdefs%3E%3Cpattern id='negative' patternUnits='userSpaceOnUse' width='8' height='8'%3E%3Crect width='8' height='8' fill='rgba(255, 255, 255, 0)'%3E%3C/rect%3E%3Cpath d='M 0,8 l 8,-8 M -2,2 l 4,-4 M 6,10 l 4,-4' stroke-width='1' shape-rendering='auto' stroke='rgba(255, 255, 255, 0.4)' stroke-linecap='square'%3E%3C/path%3E%3C/pattern%3E%3C/defs%3E%3Cpath d='M 0 0 L 0 140 L 2000 2000 L 2000 0 Z' style='fill: url(&quot;%23negative&quot;);'%3E%3C/path%3E%3C/svg%3E`;
26
26
  const ProgressBarBackground = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
27
27
  let {
28
28
  variant
@@ -138,13 +138,13 @@ Item.propTypes = { ...selectedSystemPropTypes,
138
138
  children: _propTypes.default.node.isRequired,
139
139
 
140
140
  /**
141
- * @ignore
141
+ *
142
142
  * Set internally in `SideNav` render function - used to keep track of active item.
143
143
  */
144
144
  itemId: _propTypes.default.string,
145
145
 
146
146
  /**
147
- * @ignore
147
+ *
148
148
  * Set internally in `SideNav` render function - used to keep track of expanded items groups.
149
149
  */
150
150
  groupId: _propTypes.default.string,
@@ -158,18 +158,28 @@ Item.propTypes = { ...selectedSystemPropTypes,
158
158
  hrefAttrs: _propTypes.default.shape(_utils.hrefAttrsProp.types),
159
159
 
160
160
  /**
161
- * @ignore
161
+ *
162
162
  * Set internally in `SideNav` render function.
163
163
  */
164
164
  isActive: _propTypes.default.bool,
165
165
 
166
166
  /**
167
- * @ignore
167
+ *
168
168
  * Set internally in `SideNav.ItemsGroup` render function. Used to mark expanded `ItemsGroup` parent.
169
169
  */
170
170
  isExpanded: _propTypes.default.bool,
171
171
  tokens: (0, _utils.getTokensPropType)('SideNavItem'),
172
- variant: _utils.variantProp.propType
172
+ variant: _utils.variantProp.propType,
173
+
174
+ /**
175
+ * Accesibility Role
176
+ */
177
+ accessibilityRole: _propTypes.default.string,
178
+
179
+ /**
180
+ * test ID
181
+ */
182
+ testID: _propTypes.default.number
173
183
  };
174
184
  var _default = Item;
175
185
  exports.default = _default;
package/lib/Tags/Tags.js CHANGED
@@ -277,7 +277,12 @@ Tags.propTypes = { ...selectedSystemPropTypes,
277
277
  * managing its own selected state, a default set of selections may be provided.
278
278
  * Changing the `initialValues` does not change the user's selections.
279
279
  */
280
- initialValues: _propTypes.default.arrayOf(_propTypes.default.string)
280
+ initialValues: _propTypes.default.arrayOf(_propTypes.default.string),
281
+
282
+ /**
283
+ * AccesibilityRole for the Tags
284
+ */
285
+ accessibilityRole: _propTypes.default.string
281
286
  };
282
287
  var _default = Tags;
283
288
  exports.default = _default;
@@ -151,6 +151,7 @@ const Tooltip = /*#__PURE__*/(0, _react.forwardRef)((_ref6, ref) => {
151
151
  copy = 'en',
152
152
  tokens,
153
153
  variant,
154
+ inline = false,
154
155
  ...rest
155
156
  } = _ref6;
156
157
  const [isOpen, setIsOpen] = (0, _react.useState)(false);
@@ -245,7 +246,11 @@ const Tooltip = /*#__PURE__*/(0, _react.forwardRef)((_ref6, ref) => {
245
246
  right: 10
246
247
  } : undefined;
247
248
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_View.default, {
248
- style: staticStyles.container,
249
+ style: [staticStyles.container, _Platform.default.select({
250
+ web: {
251
+ display: inline ? 'inline-block' : 'flex'
252
+ }
253
+ })],
249
254
  ...selectProps(rest),
250
255
  ref: ref,
251
256
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Pressable.default, {