@workday/canvas-kit-react 6.8.9 → 6.8.10

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 (44) hide show
  1. package/action-bar/package.json +2 -1
  2. package/avatar/package.json +2 -1
  3. package/badge/package.json +2 -1
  4. package/banner/package.json +2 -1
  5. package/button/package.json +2 -1
  6. package/card/package.json +2 -1
  7. package/checkbox/package.json +2 -1
  8. package/color-picker/package.json +2 -1
  9. package/common/package.json +2 -1
  10. package/cookie-banner/package.json +2 -1
  11. package/dialog/package.json +2 -1
  12. package/disclosure/package.json +2 -1
  13. package/dist/commonjs/pagination/lib/Pagination/common/useLiveRegion.d.ts +0 -1
  14. package/dist/commonjs/pagination/lib/Pagination/common/useLiveRegion.d.ts.map +1 -1
  15. package/dist/commonjs/pagination/lib/Pagination/common/useLiveRegion.js +1 -1
  16. package/dist/es6/pagination/lib/Pagination/common/useLiveRegion.d.ts +0 -1
  17. package/dist/es6/pagination/lib/Pagination/common/useLiveRegion.d.ts.map +1 -1
  18. package/dist/es6/pagination/lib/Pagination/common/useLiveRegion.js +1 -1
  19. package/form-field/package.json +2 -1
  20. package/icon/package.json +2 -1
  21. package/layout/package.json +2 -1
  22. package/loading-animation/package.json +2 -1
  23. package/modal/package.json +2 -1
  24. package/package.json +5 -5
  25. package/page-header/package.json +2 -1
  26. package/pagination/lib/Pagination/common/useLiveRegion.tsx +0 -2
  27. package/pagination/package.json +2 -1
  28. package/popup/package.json +2 -1
  29. package/radio/package.json +2 -1
  30. package/segmented-control/package.json +2 -1
  31. package/select/package.json +2 -1
  32. package/side-panel/package.json +2 -1
  33. package/skeleton/package.json +2 -1
  34. package/status-indicator/package.json +2 -1
  35. package/switch/package.json +2 -1
  36. package/table/package.json +2 -1
  37. package/tabs/package.json +2 -1
  38. package/text-area/package.json +2 -1
  39. package/text-input/package.json +2 -1
  40. package/toast/package.json +2 -1
  41. package/tokens/package.json +2 -1
  42. package/tooltip/package.json +2 -1
  43. package/ts3.5/dist/commonjs/pagination/lib/Pagination/common/useLiveRegion.d.ts +0 -1
  44. package/ts3.5/dist/es6/pagination/lib/Pagination/common/useLiveRegion.d.ts +0 -1
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/action-bar",
3
3
  "module": "../dist/es6/action-bar",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/action-bar"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/avatar",
3
3
  "module": "../dist/es6/avatar",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/avatar"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/badge",
3
3
  "module": "../dist/es6/badge",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/badge"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/banner",
3
3
  "module": "../dist/es6/banner",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/banner"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/button",
3
3
  "module": "../dist/es6/button",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/button"
5
6
  }
package/card/package.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/card",
3
3
  "module": "../dist/es6/card",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/card"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/checkbox",
3
3
  "module": "../dist/es6/checkbox",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/checkbox"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/color-picker",
3
3
  "module": "../dist/es6/color-picker",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/color-picker"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/common",
3
3
  "module": "../dist/es6/common",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/common"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/cookie-banner",
3
3
  "module": "../dist/es6/cookie-banner",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/cookie-banner"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/dialog",
3
3
  "module": "../dist/es6/dialog",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/dialog"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/disclosure",
3
3
  "module": "../dist/es6/disclosure",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/disclosure"
5
6
  }
@@ -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"}
@@ -26,7 +26,7 @@ function useLiveRegion(config) {
26
26
  if (config === void 0) { config = {}; }
27
27
  var _a = config.shouldAnnounceToScreenReader, shouldAnnounceToScreenReader = _a === void 0 ? true : _a, restConfig = __rest(config, ["shouldAnnounceToScreenReader"]);
28
28
  if (shouldAnnounceToScreenReader) {
29
- return __assign({ 'aria-atomic': true, 'aria-live': 'polite', 'aria-relevant': true, role: 'status' }, restConfig);
29
+ return __assign({ 'aria-atomic': true, 'aria-live': 'polite', role: 'status' }, restConfig);
30
30
  }
31
31
  return {};
32
32
  }
@@ -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,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
  }
@@ -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": "6.8.9",
3
+ "version": "6.8.10",
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",
@@ -57,9 +57,9 @@
57
57
  "@emotion/styled": "^10.0.27",
58
58
  "@popperjs/core": "^2.5.4",
59
59
  "@workday/canvas-colors-web": "^2.0.0",
60
- "@workday/canvas-kit-labs-react": "^6.8.9",
61
- "@workday/canvas-kit-popup-stack": "^6.8.9",
62
- "@workday/canvas-kit-preview-react": "^6.8.9",
60
+ "@workday/canvas-kit-labs-react": "^6.8.10",
61
+ "@workday/canvas-kit-popup-stack": "^6.8.10",
62
+ "@workday/canvas-kit-preview-react": "^6.8.10",
63
63
  "@workday/canvas-system-icons-web": "1.0.41",
64
64
  "@workday/design-assets-types": "^0.2.4",
65
65
  "chroma-js": "^2.1.0",
@@ -77,5 +77,5 @@
77
77
  "@workday/canvas-accent-icons-web": "^1.0.0",
78
78
  "@workday/canvas-applet-icons-web": "^0.17.50"
79
79
  },
80
- "gitHead": "9616dcc6b1b17b48a2463a29b3db49b55708ee5b"
80
+ "gitHead": "89d05b86db640e12993c444b61ffad91b9eacc63"
81
81
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "main": "../dist/commonjs/page-header",
3
3
  "module": "../dist/es6/page-header",
4
- "sideEffects": false
4
+ "sideEffects": false,
5
+ "types": "../dist/es6/page-header"
5
6
  }
@@ -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
  }
@@ -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
  }
@@ -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,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
  };