@workday/canvas-kit-react 7.2.0-next.1 → 7.2.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 (90) hide show
  1. package/action-bar/lib/ActionBarList.tsx +2 -9
  2. package/action-bar/package.json +2 -1
  3. package/avatar/package.json +2 -1
  4. package/badge/package.json +2 -1
  5. package/banner/package.json +2 -1
  6. package/button/lib/TertiaryButton.tsx +18 -7
  7. package/button/package.json +2 -1
  8. package/card/package.json +2 -1
  9. package/checkbox/package.json +2 -1
  10. package/collection/index.ts +2 -0
  11. package/collection/lib/useBaseListModel.tsx +1 -1
  12. package/collection/lib/useCursorListModel.tsx +88 -20
  13. package/collection/lib/useGridModel.ts +34 -0
  14. package/collection/lib/useListItemRovingFocus.tsx +6 -4
  15. package/collection/package.json +2 -1
  16. package/color-picker/package.json +2 -1
  17. package/common/package.json +2 -1
  18. package/dialog/package.json +2 -1
  19. package/disclosure/package.json +2 -1
  20. package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +0 -58
  21. package/dist/commonjs/action-bar/lib/ActionBarList.d.ts.map +1 -1
  22. package/dist/commonjs/action-bar/lib/ActionBarList.js +2 -3
  23. package/dist/commonjs/button/lib/TertiaryButton.d.ts +9 -0
  24. package/dist/commonjs/button/lib/TertiaryButton.d.ts.map +1 -1
  25. package/dist/commonjs/button/lib/TertiaryButton.js +9 -8
  26. package/dist/commonjs/collection/index.d.ts +2 -0
  27. package/dist/commonjs/collection/index.d.ts.map +1 -1
  28. package/dist/commonjs/collection/index.js +5 -1
  29. package/dist/commonjs/collection/lib/useBaseListModel.js +1 -1
  30. package/dist/commonjs/collection/lib/useCursorListModel.d.ts +64 -101
  31. package/dist/commonjs/collection/lib/useCursorListModel.d.ts.map +1 -1
  32. package/dist/commonjs/collection/lib/useCursorListModel.js +64 -23
  33. package/dist/commonjs/collection/lib/useGridModel.d.ts +955 -0
  34. package/dist/commonjs/collection/lib/useGridModel.d.ts.map +1 -0
  35. package/dist/commonjs/collection/lib/useGridModel.js +52 -0
  36. package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
  37. package/dist/commonjs/collection/lib/useListItemRovingFocus.js +6 -4
  38. package/dist/commonjs/pagination/lib/Pagination/common/useLiveRegion.d.ts +0 -1
  39. package/dist/commonjs/pagination/lib/Pagination/common/useLiveRegion.d.ts.map +1 -1
  40. package/dist/commonjs/pagination/lib/Pagination/common/useLiveRegion.js +1 -1
  41. package/dist/commonjs/radio/lib/RadioGroup.d.ts.map +1 -1
  42. package/dist/commonjs/radio/lib/RadioGroup.js +5 -1
  43. package/dist/es6/action-bar/lib/ActionBarList.d.ts +0 -58
  44. package/dist/es6/action-bar/lib/ActionBarList.d.ts.map +1 -1
  45. package/dist/es6/action-bar/lib/ActionBarList.js +3 -4
  46. package/dist/es6/button/lib/TertiaryButton.d.ts +9 -0
  47. package/dist/es6/button/lib/TertiaryButton.d.ts.map +1 -1
  48. package/dist/es6/button/lib/TertiaryButton.js +9 -8
  49. package/dist/es6/collection/index.d.ts +2 -0
  50. package/dist/es6/collection/index.d.ts.map +1 -1
  51. package/dist/es6/collection/index.js +2 -0
  52. package/dist/es6/collection/lib/useBaseListModel.js +1 -1
  53. package/dist/es6/collection/lib/useCursorListModel.d.ts +64 -101
  54. package/dist/es6/collection/lib/useCursorListModel.d.ts.map +1 -1
  55. package/dist/es6/collection/lib/useCursorListModel.js +64 -23
  56. package/dist/es6/collection/lib/useGridModel.d.ts +955 -0
  57. package/dist/es6/collection/lib/useGridModel.d.ts.map +1 -0
  58. package/dist/es6/collection/lib/useGridModel.js +49 -0
  59. package/dist/es6/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
  60. package/dist/es6/collection/lib/useListItemRovingFocus.js +6 -4
  61. package/dist/es6/pagination/lib/Pagination/common/useLiveRegion.d.ts +0 -1
  62. package/dist/es6/pagination/lib/Pagination/common/useLiveRegion.d.ts.map +1 -1
  63. package/dist/es6/pagination/lib/Pagination/common/useLiveRegion.js +1 -1
  64. package/dist/es6/radio/lib/RadioGroup.d.ts.map +1 -1
  65. package/dist/es6/radio/lib/RadioGroup.js +5 -1
  66. package/form-field/package.json +2 -1
  67. package/icon/package.json +2 -1
  68. package/layout/package.json +2 -1
  69. package/loading-animation/package.json +2 -1
  70. package/menu/package.json +2 -1
  71. package/modal/package.json +2 -1
  72. package/package.json +5 -5
  73. package/pagination/lib/Pagination/common/useLiveRegion.tsx +0 -2
  74. package/pagination/package.json +2 -1
  75. package/popup/package.json +2 -1
  76. package/radio/lib/RadioGroup.tsx +5 -1
  77. package/radio/package.json +2 -1
  78. package/segmented-control/package.json +2 -1
  79. package/select/package.json +2 -1
  80. package/side-panel/package.json +2 -1
  81. package/skeleton/package.json +2 -1
  82. package/status-indicator/package.json +2 -1
  83. package/switch/package.json +2 -1
  84. package/table/package.json +2 -1
  85. package/tabs/package.json +2 -1
  86. package/text-area/package.json +2 -1
  87. package/text-input/package.json +2 -1
  88. package/toast/package.json +2 -1
  89. package/tokens/package.json +2 -1
  90. package/tooltip/package.json +2 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGridModel.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useGridModel.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY;IAGrB;;;;;;;;;OASG;;;;;;;;;;;;;;IAIH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAfH;;;;;;;;;OASG;;;;;;;;;;;;;;IAIH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASL,CAAC"}
@@ -0,0 +1,49 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { createModelHook } from '@workday/canvas-kit-react/common';
24
+ import { navigationManager } from './useCursorListModel';
25
+ import { useListModel } from './useListModel';
26
+ var _a = useListModel.defaultConfig, columnCount = _a.columnCount, orientation = _a.orientation, defaultConfig = __rest(_a, ["columnCount", "orientation"]);
27
+ export var useGridModel = createModelHook({
28
+ defaultConfig: __assign(__assign({}, defaultConfig), {
29
+ /**
30
+ * Controls the state changes when the user sends navigation events to the model. For example,
31
+ * when the user hits the "right" arrow, a behavior hook will determine directionality
32
+ * (left-to-right or right-to-left) and call the correct navigation method. In our example, a
33
+ * left-to-right language would send a `getNext`. The navigation manager may return the next
34
+ * item in the list. Different managers can be created for slightly different use cases. The
35
+ * default navigation manager will stop when the end of a row/column is detected. For example,
36
+ * `getNext` will return the same item the cursor was previously on if the cursor is on the last
37
+ * item of a row.
38
+ */
39
+ navigation: navigationManager }),
40
+ requiredConfig: __assign({
41
+ /**
42
+ * The number of columns represented in a grid
43
+ */
44
+ columnCount: 1 }, useListModel.requiredConfig),
45
+ contextOverride: useListModel.Context,
46
+ })(function (config) {
47
+ var list = useListModel(config);
48
+ return list;
49
+ });
@@ -1 +1 @@
1
- {"version":3,"file":"useListItemRovingFocus.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useListItemRovingFocus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;CAqBpB,CAAC;AA+BX;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAqCZ,mBAAmB;;;;;;;;;OA6CzC,CAAC"}
1
+ {"version":3,"file":"useListItemRovingFocus.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useListItemRovingFocus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;CAqBpB,CAAC;AA+BX;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAqCZ,mBAAmB;;;;;;;;;OA+CzC,CAAC"}
@@ -94,10 +94,12 @@ export var useListItemRovingFocus = createElemPropsHook(useCursorListModel)(func
94
94
  if (event.ctrlKey) {
95
95
  for (var key in ctrlKeyMap) {
96
96
  if (hasOwnKey(ctrlKeyMap, key)) {
97
- keyDownRef.current = true;
98
- (_a = events[ctrlKeyMap[key]]) === null || _a === void 0 ? void 0 : _a.call(events);
99
- event.preventDefault();
100
- return;
97
+ if (event.key === key) {
98
+ keyDownRef.current = true;
99
+ (_a = events[ctrlKeyMap[key]]) === null || _a === void 0 ? void 0 : _a.call(events);
100
+ event.preventDefault();
101
+ return;
102
+ }
101
103
  }
102
104
  }
103
105
  }
@@ -1,7 +1,6 @@
1
1
  declare type UseLiveRegionConfig = {
2
2
  'aria-atomic'?: React.AriaAttributes['aria-atomic'];
3
3
  'aria-live'?: 'polite' | 'assertive';
4
- 'aria-relevant'?: React.AriaAttributes['aria-relevant'];
5
4
  role?: 'status' | 'alert' | 'log';
6
5
  shouldAnnounceToScreenReader?: boolean;
7
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useLiveRegion.d.ts","sourceRoot":"","sources":["../../../../../../pagination/lib/Pagination/common/useLiveRegion.tsx"],"names":[],"mappings":"AAAA,aAAK,mBAAmB,GAAG;IACzB,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;IACpD,WAAW,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;IACrC,eAAe,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;IACxD,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAC;IAClC,4BAA4B,CAAC,EAAE,OAAO,CAAC;CACxC,CAAC;AAEF,wBAAgB,aAAa,CAAC,MAAM,sBAA4B,uBAY/D"}
1
+ {"version":3,"file":"useLiveRegion.d.ts","sourceRoot":"","sources":["../../../../../../pagination/lib/Pagination/common/useLiveRegion.tsx"],"names":[],"mappings":"AAAA,aAAK,mBAAmB,GAAG;IACzB,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;IACpD,WAAW,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;IACrC,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAC;IAClC,4BAA4B,CAAC,EAAE,OAAO,CAAC;CACxC,CAAC;AAEF,wBAAgB,aAAa,CAAC,MAAM,sBAA4B,uBAW/D"}
@@ -24,7 +24,7 @@ export function useLiveRegion(config) {
24
24
  if (config === void 0) { config = {}; }
25
25
  var _a = config.shouldAnnounceToScreenReader, shouldAnnounceToScreenReader = _a === void 0 ? true : _a, restConfig = __rest(config, ["shouldAnnounceToScreenReader"]);
26
26
  if (shouldAnnounceToScreenReader) {
27
- return __assign({ 'aria-atomic': true, 'aria-live': 'polite', 'aria-relevant': true, role: 'status' }, restConfig);
27
+ return __assign({ 'aria-atomic': true, 'aria-live': 'polite', role: 'status' }, restConfig);
28
28
  }
29
29
  return {};
30
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../../radio/lib/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAc,EAAC,UAAU,EAAC,MAAM,SAAS,CAAC;AAE1C,OAAO,EACL,SAAS,EACT,cAAc,EAGd,SAAS,EACV,MAAM,kCAAkC,CAAC;AAE1C,MAAM,WAAW,eAAgB,SAAQ,SAAS,EAAE,cAAc;IAChE;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE,CAAC;IAC3C;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;CAC7C;AAgCD,cAAM,UAAW,SAAQ,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC;IACvD,MAAM,CAAC,SAAS,mBAAa;IAE7B,MAAM,IAAI,KAAK,CAAC,SAAS;IASzB,OAAO,CAAC,WAAW,CAkBjB;IAEF,OAAO,CAAC,aAAa,CAiBnB;CACH;AAID,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../../radio/lib/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAc,EAAC,UAAU,EAAC,MAAM,SAAS,CAAC;AAE1C,OAAO,EACL,SAAS,EACT,cAAc,EAGd,SAAS,EACV,MAAM,kCAAkC,CAAC;AAE1C,MAAM,WAAW,eAAgB,SAAQ,SAAS,EAAE,cAAc;IAChE;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE,CAAC;IAC3C;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;CAC7C;AAoCD,cAAM,UAAW,SAAQ,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC;IACvD,MAAM,CAAC,SAAS,mBAAa;IAE7B,MAAM,IAAI,KAAK,CAAC,SAAS;IASzB,OAAO,CAAC,WAAW,CAkBjB;IAEF,OAAO,CAAC,aAAa,CAiBnB;CACH;AAID,eAAe,UAAU,CAAC"}
@@ -45,8 +45,12 @@ var Container = styled('div')({
45
45
  margin: "-" + space.xxxs + " -" + space.xs,
46
46
  '& > div': {
47
47
  margin: space.xxs + " " + space.zero,
48
+ alignItems: 'flex-start',
49
+ '> div': {
50
+ flex: '0 0 auto',
51
+ },
48
52
  '&:first-of-type': {
49
- marginTop: space.xxxs,
53
+ marginTop: '6px',
50
54
  },
51
55
  '&:last-child': {
52
56
  marginBottom: space.xxxs,
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/form-field",
3
3
  "module": "../dist/es6/form-field",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/form-field"
5
6
  }
package/icon/package.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/icon",
3
3
  "module": "../dist/es6/icon",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/icon"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/layout",
3
3
  "module": "../dist/es6/layout",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/layout"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/loading-animation",
3
3
  "module": "../dist/es6/loading-animation",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/loading-animation"
5
6
  }
package/menu/package.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/menu",
3
3
  "module": "../dist/es6/menu",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/menu"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/modal",
3
3
  "module": "../dist/es6/modal",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/modal"
5
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-react",
3
- "version": "7.2.0-next.1+a7d03680",
3
+ "version": "7.2.1",
4
4
  "description": "The parent module that contains all Workday Canvas Kit React components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -49,9 +49,9 @@
49
49
  "@emotion/styled": "^11.6.0",
50
50
  "@popperjs/core": "^2.5.4",
51
51
  "@workday/canvas-colors-web": "^2.0.0",
52
- "@workday/canvas-kit-labs-react": "^7.2.0-next.1+a7d03680",
53
- "@workday/canvas-kit-popup-stack": "^7.2.0-next.1+a7d03680",
54
- "@workday/canvas-kit-preview-react": "^7.2.0-next.1+a7d03680",
52
+ "@workday/canvas-kit-labs-react": "^7.2.1",
53
+ "@workday/canvas-kit-popup-stack": "^7.2.1",
54
+ "@workday/canvas-kit-preview-react": "^7.2.1",
55
55
  "@workday/canvas-system-icons-web": "^3.0.0",
56
56
  "@workday/design-assets-types": "^0.2.8",
57
57
  "chroma-js": "^2.1.0",
@@ -70,5 +70,5 @@
70
70
  "@workday/canvas-accent-icons-web": "^3.0.0",
71
71
  "@workday/canvas-applet-icons-web": "^2.0.0"
72
72
  },
73
- "gitHead": "a7d036805acd5dc1deee93a82f20c843bda6a7dc"
73
+ "gitHead": "ed7a5b8c4072cc64cbf34f87de2605b40ec9e68c"
74
74
  }
@@ -1,7 +1,6 @@
1
1
  type UseLiveRegionConfig = {
2
2
  'aria-atomic'?: React.AriaAttributes['aria-atomic'];
3
3
  'aria-live'?: 'polite' | 'assertive';
4
- 'aria-relevant'?: React.AriaAttributes['aria-relevant'];
5
4
  role?: 'status' | 'alert' | 'log';
6
5
  shouldAnnounceToScreenReader?: boolean;
7
6
  };
@@ -12,7 +11,6 @@ export function useLiveRegion(config = {} as UseLiveRegionConfig) {
12
11
  return {
13
12
  'aria-atomic': true,
14
13
  'aria-live': 'polite',
15
- 'aria-relevant': true,
16
14
  role: 'status',
17
15
  ...restConfig,
18
16
  } as UseLiveRegionConfig;
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/pagination",
3
3
  "module": "../dist/es6/pagination",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/pagination"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/popup",
3
3
  "module": "../dist/es6/popup",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/popup"
5
6
  }
@@ -42,8 +42,12 @@ const Container = styled('div')<Pick<RadioGroupProps, 'error' | 'grow' | 'theme'
42
42
  margin: `-${space.xxxs} -${space.xs}`,
43
43
  '& > div': {
44
44
  margin: `${space.xxs} ${space.zero}`,
45
+ alignItems: 'flex-start',
46
+ '> div': {
47
+ flex: '0 0 auto',
48
+ },
45
49
  '&:first-of-type': {
46
- marginTop: space.xxxs,
50
+ marginTop: '6px',
47
51
  },
48
52
  '&:last-child': {
49
53
  marginBottom: space.xxxs,
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/radio",
3
3
  "module": "../dist/es6/radio",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/radio"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/segmented-control",
3
3
  "module": "../dist/es6/segmented-control",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/segmented-control"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/select",
3
3
  "module": "../dist/es6/select",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/select"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/side-panel",
3
3
  "module": "../dist/es6/side-panel",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/side-panel"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/skeleton",
3
3
  "module": "../dist/es6/skeleton",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/skeleton"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/status-indicator",
3
3
  "module": "../dist/es6/status-indicator",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/status-indicator"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/switch",
3
3
  "module": "../dist/es6/switch",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/switch"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/table",
3
3
  "module": "../dist/es6/table",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/table"
5
6
  }
package/tabs/package.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/tabs",
3
3
  "module": "../dist/es6/tabs",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/tabs"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/text-area",
3
3
  "module": "../dist/es6/text-area",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/text-area"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/text-input",
3
3
  "module": "../dist/es6/text-input",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/text-input"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/toast",
3
3
  "module": "../dist/es6/toast",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/toast"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/tokens",
3
3
  "module": "../dist/es6/tokens",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/tokens"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/tooltip",
3
3
  "module": "../dist/es6/tooltip",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/tooltip"
5
6
  }