@workday/canvas-kit-react 6.0.0-alpha.0-next.21 → 6.0.0-alpha.0-next.27

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 (71) hide show
  1. package/action-bar/lib/ActionBar.tsx +43 -30
  2. package/common/lib/styles/accessibleHide.ts +2 -2
  3. package/common/lib/theming/README.md +189 -25
  4. package/common/lib/theming/breakpoints.ts +296 -16
  5. package/common/lib/theming/types.ts +191 -1
  6. package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
  7. package/dist/commonjs/action-bar/lib/ActionBar.js +35 -27
  8. package/dist/commonjs/button/lib/parts/ButtonLabel.d.ts +1 -1
  9. package/dist/commonjs/common/lib/styles/accessibleHide.d.ts +2 -2
  10. package/dist/commonjs/common/lib/styles/accessibleHide.d.ts.map +1 -1
  11. package/dist/commonjs/common/lib/theming/breakpoints.d.ts +287 -6
  12. package/dist/commonjs/common/lib/theming/breakpoints.d.ts.map +1 -1
  13. package/dist/commonjs/common/lib/theming/breakpoints.js +192 -10
  14. package/dist/commonjs/common/lib/theming/types.d.ts +191 -1
  15. package/dist/commonjs/common/lib/theming/types.d.ts.map +1 -1
  16. package/dist/commonjs/common/lib/utils/components.d.ts +1 -1
  17. package/dist/commonjs/pagination/lib/Pagination/PageList.d.ts +1 -1
  18. package/dist/commonjs/pagination/lib/Pagination/Pagination.d.ts +5 -5
  19. package/dist/commonjs/pagination/lib/Pagination/common/List.d.ts +1 -1
  20. package/dist/commonjs/pagination/lib/Pagination/common/utils/space.d.ts +28 -28
  21. package/dist/commonjs/tokens/index.d.ts +3 -20
  22. package/dist/commonjs/tokens/index.d.ts.map +1 -1
  23. package/dist/commonjs/tokens/index.js +3 -6
  24. package/dist/commonjs/tokens/lib/depth.d.ts +109 -3
  25. package/dist/commonjs/tokens/lib/depth.d.ts.map +1 -1
  26. package/dist/commonjs/tokens/lib/depth.js +40 -5
  27. package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
  28. package/dist/es6/action-bar/lib/ActionBar.js +33 -22
  29. package/dist/es6/button/lib/parts/ButtonLabel.d.ts +1 -1
  30. package/dist/es6/common/lib/styles/accessibleHide.d.ts +2 -2
  31. package/dist/es6/common/lib/styles/accessibleHide.d.ts.map +1 -1
  32. package/dist/es6/common/lib/theming/breakpoints.d.ts +287 -6
  33. package/dist/es6/common/lib/theming/breakpoints.d.ts.map +1 -1
  34. package/dist/es6/common/lib/theming/breakpoints.js +192 -10
  35. package/dist/es6/common/lib/theming/types.d.ts +191 -1
  36. package/dist/es6/common/lib/theming/types.d.ts.map +1 -1
  37. package/dist/es6/pagination/lib/Pagination/PageList.d.ts +1 -1
  38. package/dist/es6/pagination/lib/Pagination/Pagination.d.ts +5 -5
  39. package/dist/es6/pagination/lib/Pagination/common/List.d.ts +1 -1
  40. package/dist/es6/pagination/lib/Pagination/common/utils/space.d.ts +28 -28
  41. package/dist/es6/tokens/index.d.ts +3 -20
  42. package/dist/es6/tokens/index.d.ts.map +1 -1
  43. package/dist/es6/tokens/index.js +1 -1
  44. package/dist/es6/tokens/lib/depth.d.ts +109 -3
  45. package/dist/es6/tokens/lib/depth.d.ts.map +1 -1
  46. package/dist/es6/tokens/lib/depth.js +40 -2
  47. package/package.json +5 -6
  48. package/tokens/README.md +5 -12
  49. package/tokens/index.ts +2 -2
  50. package/tokens/lib/depth.ts +125 -3
  51. package/ts3.5/dist/commonjs/button/lib/parts/ButtonLabel.d.ts +1 -1
  52. package/ts3.5/dist/commonjs/common/lib/styles/accessibleHide.d.ts +2 -2
  53. package/ts3.5/dist/commonjs/common/lib/theming/breakpoints.d.ts +287 -6
  54. package/ts3.5/dist/commonjs/common/lib/theming/types.d.ts +191 -1
  55. package/ts3.5/dist/commonjs/common/lib/utils/components.d.ts +1 -1
  56. package/ts3.5/dist/commonjs/pagination/lib/Pagination/PageList.d.ts +1 -1
  57. package/ts3.5/dist/commonjs/pagination/lib/Pagination/Pagination.d.ts +5 -5
  58. package/ts3.5/dist/commonjs/pagination/lib/Pagination/common/List.d.ts +1 -1
  59. package/ts3.5/dist/commonjs/pagination/lib/Pagination/common/utils/space.d.ts +28 -28
  60. package/ts3.5/dist/commonjs/tokens/index.d.ts +3 -20
  61. package/ts3.5/dist/commonjs/tokens/lib/depth.d.ts +109 -3
  62. package/ts3.5/dist/es6/button/lib/parts/ButtonLabel.d.ts +1 -1
  63. package/ts3.5/dist/es6/common/lib/styles/accessibleHide.d.ts +2 -2
  64. package/ts3.5/dist/es6/common/lib/theming/breakpoints.d.ts +287 -6
  65. package/ts3.5/dist/es6/common/lib/theming/types.d.ts +191 -1
  66. package/ts3.5/dist/es6/pagination/lib/Pagination/PageList.d.ts +1 -1
  67. package/ts3.5/dist/es6/pagination/lib/Pagination/Pagination.d.ts +5 -5
  68. package/ts3.5/dist/es6/pagination/lib/Pagination/common/List.d.ts +1 -1
  69. package/ts3.5/dist/es6/pagination/lib/Pagination/common/utils/space.d.ts +28 -28
  70. package/ts3.5/dist/es6/tokens/index.d.ts +3 -20
  71. package/ts3.5/dist/es6/tokens/lib/depth.d.ts +109 -3
@@ -31,96 +31,96 @@ export interface SpaceProps {
31
31
  pl?: Spacing;
32
32
  }
33
33
  export declare const space: {
34
- margin: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
34
+ margin: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
35
35
  margin: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
36
36
  };
37
- m: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
37
+ m: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
38
38
  margin: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
39
39
  };
40
- marginX: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
40
+ marginX: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
41
41
  marginLeft: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
42
42
  marginRight: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
43
43
  };
44
- mx: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
44
+ mx: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
45
45
  marginLeft: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
46
46
  marginRight: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
47
47
  };
48
- marginY: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
48
+ marginY: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
49
49
  marginBottom: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
50
50
  marginTop: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
51
51
  };
52
- my: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
52
+ my: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
53
53
  marginBottom: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
54
54
  marginTop: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
55
55
  };
56
- marginT: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
56
+ marginT: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
57
57
  marginTop: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
58
58
  };
59
- mt: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
59
+ mt: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
60
60
  marginTop: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
61
61
  };
62
- marginR: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
62
+ marginR: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
63
63
  marginRight: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
64
64
  };
65
- mr: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
65
+ mr: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
66
66
  marginRight: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
67
67
  };
68
- marginB: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
68
+ marginB: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
69
69
  marginBottom: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
70
70
  };
71
- mb: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
71
+ mb: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
72
72
  marginBottom: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
73
73
  };
74
- marginL: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
74
+ marginL: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
75
75
  marginLeft: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
76
76
  };
77
- ml: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
77
+ ml: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
78
78
  marginLeft: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
79
79
  };
80
- padding: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
80
+ padding: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
81
81
  padding: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
82
82
  };
83
- p: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
83
+ p: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
84
84
  padding: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
85
85
  };
86
- paddingX: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
86
+ paddingX: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
87
87
  paddingLeft: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
88
88
  paddingRight: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
89
89
  };
90
- px: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
90
+ px: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
91
91
  paddingLeft: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
92
92
  paddingRight: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
93
93
  };
94
- paddingY: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
94
+ paddingY: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
95
95
  paddingBottom: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
96
96
  paddingTop: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
97
97
  };
98
- py: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
98
+ py: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
99
99
  paddingBottom: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
100
100
  paddingTop: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
101
101
  };
102
- paddingT: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
102
+ paddingT: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
103
103
  paddingTop: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
104
104
  };
105
- pt: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
105
+ pt: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
106
106
  paddingTop: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
107
107
  };
108
- paddingR: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
108
+ paddingR: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
109
109
  paddingRight: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
110
110
  };
111
- pr: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
111
+ pr: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
112
112
  paddingRight: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
113
113
  };
114
- paddingB: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
114
+ paddingB: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
115
115
  paddingBottom: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
116
116
  };
117
- pb: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
117
+ pb: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
118
118
  paddingBottom: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
119
119
  };
120
- paddingL: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
120
+ paddingL: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
121
121
  paddingLeft: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
122
122
  };
123
- pl: (value: "zero" | "s" | "m" | "l" | "xxxs" | "xxs" | "xs" | "xl" | "xxl" | "xxxl") => {
123
+ pl: (value: "zero" | "s" | "m" | "l" | "xl" | "xxxs" | "xxs" | "xs" | "xxl" | "xxxl") => {
124
124
  paddingLeft: "0px" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "64px" | "80px";
125
125
  };
126
126
  };
@@ -1,7 +1,7 @@
1
1
  import { colors, gradients } from '@workday/canvas-colors-web';
2
2
  import { borderRadius, CanvasBorderRadius, CanvasBorderRadiusKeys, CanvasBorderRadiusValues } from './lib/radius';
3
3
  import { BrandingColor, CanvasColor } from './lib/colors.types';
4
- import depth, { CanvasDepth, CanvasDepthValue } from './lib/depth';
4
+ import { depth, CanvasDepth, CanvasDepthValues } from './lib/depth';
5
5
  import { space, CanvasSpace, CanvasSpaceKeys, CanvasSpaceValues, CanvasSpaceNumberValues, CanvasSpaceNumbers, spaceNumbers } from './lib/space';
6
6
  import { type, fontFamily, monoFontFamily, CanvasType, CanvasTypeProperties, CanvasTypeVariants, CanvasTypeHierarchy } from './lib/type';
7
7
  import { CSSProperties } from './lib/types';
@@ -326,24 +326,7 @@ declare const canvas: {
326
326
  hoverBackground: string;
327
327
  divider: string;
328
328
  };
329
- depth: {
330
- inset: {
331
- boxShadow: "inset 0px 0px 8px 0 rgba(82, 97, 115, 0.09)";
332
- };
333
- 1: {
334
- boxShadow: "0px 2px 4px 0 rgba(0, 0, 0, 0.08)";
335
- };
336
- 2: {
337
- boxShadow: "0px 4px 8px 0 rgba(0, 0, 0, 0.1)";
338
- };
339
- 3: {
340
- boxShadow: "0px 8px 16px 0 rgba(0, 0, 0, 0.12)";
341
- };
342
- 4: {
343
- border: "1px solid rgba(218, 226, 230, 1)";
344
- boxShadow: "0px 8px 16px 0 rgba(0, 0, 0, 0.12)";
345
- };
346
- };
329
+ depth: CanvasDepth;
347
330
  fontFamily: string;
348
331
  gradients: {
349
332
  [key: string]: string;
@@ -427,7 +410,7 @@ declare const canvas: {
427
410
  };
428
411
  };
429
412
  export * from '@workday/canvas-colors-web';
430
- export { borderRadius, colors, gradients, depth, space, spaceNumbers, type, fontFamily, monoFontFamily, BrandingColor, CanvasDepth, CanvasDepthValue, CSSProperties, };
413
+ export { borderRadius, colors, gradients, depth, space, spaceNumbers, type, fontFamily, monoFontFamily, BrandingColor, CanvasDepth, CanvasDepthValues, CSSProperties, };
431
414
  export default canvas;
432
415
  export type { CanvasBorderRadius, CanvasBorderRadiusKeys, CanvasBorderRadiusValues, CanvasColor, CanvasSpace, CanvasSpaceKeys, CanvasSpaceValues, CanvasSpaceNumberValues, CanvasSpaceNumbers, CanvasType, CanvasTypeProperties, CanvasTypeVariants, CanvasTypeHierarchy, };
433
416
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../tokens/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,MAAM,EAEN,SAAS,EAKV,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAC,YAAY,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,wBAAwB,EAAC,MAAM,cAAc,CAAC;AAChH,OAAO,EAAC,aAAa,EAAE,WAAW,EAAC,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,EAAC,WAAW,EAAE,gBAAgB,EAAC,MAAM,aAAa,CAAC;AACjE,OAAO,EACL,KAAK,EACL,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,EAClB,YAAY,EACb,MAAM,aAAa,CAAC;AACrB,OAAO,EAAC,IAAI,EACV,UAAU,EACV,cAAc,EACd,UAAU,EACV,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAC,aAAa,EAAC,MAAM,aAAa,CAAC;AAE1C,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBX,CAAC;AAEF,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EACL,YAAY,EACZ,MAAM,EACN,SAAS,EACT,KAAK,EACL,KAAK,EACL,YAAY,EACZ,IAAI,EACJ,UAAU,EACV,cAAc,EACd,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,aAAa,GACd,CAAC;AACF,eAAe,MAAM,CAAC;AAEtB,YAAY,EACV,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACX,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,EAClB,UAAU,EACV,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,GACpB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../tokens/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,MAAM,EAEN,SAAS,EAKV,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAC,YAAY,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,wBAAwB,EAAC,MAAM,cAAc,CAAC;AAChH,OAAO,EAAC,aAAa,EAAE,WAAW,EAAC,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAC,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAC,MAAM,aAAa,CAAC;AAClE,OAAO,EACL,KAAK,EACL,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,EAClB,YAAY,EACb,MAAM,aAAa,CAAC;AACrB,OAAO,EAAC,IAAI,EACV,UAAU,EACV,cAAc,EACd,UAAU,EACV,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAC,aAAa,EAAC,MAAM,aAAa,CAAC;AAE1C,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBX,CAAC;AAEF,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EACL,YAAY,EACZ,MAAM,EACN,SAAS,EACT,KAAK,EACL,KAAK,EACL,YAAY,EACZ,IAAI,EACJ,UAAU,EACV,cAAc,EACd,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,aAAa,GACd,CAAC;AACF,eAAe,MAAM,CAAC;AAEtB,YAAY,EACV,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACX,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,EAClB,UAAU,EACV,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,GACpB,CAAA"}
@@ -2,9 +2,6 @@
2
2
  function __export(m) {
3
3
  for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
4
  }
5
- var __importDefault = (this && this.__importDefault) || function (mod) {
6
- return (mod && mod.__esModule) ? mod : { "default": mod };
7
- };
8
5
  Object.defineProperty(exports, "__esModule", { value: true });
9
6
  var canvas_colors_web_1 = require("@workday/canvas-colors-web");
10
7
  exports.colors = canvas_colors_web_1.colors;
@@ -13,8 +10,8 @@ var radius_1 = require("./lib/radius");
13
10
  exports.borderRadius = radius_1.borderRadius;
14
11
  var colors_types_1 = require("./lib/colors.types");
15
12
  exports.BrandingColor = colors_types_1.BrandingColor;
16
- var depth_1 = __importDefault(require("./lib/depth"));
17
- exports.depth = depth_1.default;
13
+ var depth_1 = require("./lib/depth");
14
+ exports.depth = depth_1.depth;
18
15
  var space_1 = require("./lib/space");
19
16
  exports.space = space_1.space;
20
17
  exports.spaceNumbers = space_1.spaceNumbers;
@@ -28,7 +25,7 @@ var canvas = {
28
25
  chartingColors: canvas_colors_web_1.chartingColors,
29
26
  colors: canvas_colors_web_1.colors,
30
27
  commonColors: canvas_colors_web_1.commonColors,
31
- depth: depth_1.default,
28
+ depth: depth_1.depth,
32
29
  fontFamily: type_1.fontFamily,
33
30
  gradients: canvas_colors_web_1.gradients,
34
31
  iconColors: canvas_colors_web_1.iconColors,
@@ -1,4 +1,110 @@
1
- import depth, { CanvasDepth, CanvasDepthValue } from '@workday/canvas-depth-web';
2
- export { CanvasDepth, CanvasDepthValue };
3
- export default depth;
1
+ export declare type CanvasDepth = {
2
+ /**
3
+ * ### Depth Inset
4
+ * Used for inset containers
5
+ *
6
+ * @example
7
+ * ```ts
8
+ * import { depth } from '@workday/canvas-kit-react/tokens';
9
+ *
10
+ * const insetCardStyles = {
11
+ * ...depth.inset,
12
+ * };
13
+ * ```
14
+ */
15
+ inset: {
16
+ boxShadow: 'inset 0px 0px 8px 0 rgba(82, 97, 115, 0.09)';
17
+ };
18
+ /**
19
+ * ### Depth 1
20
+ * Used for minimal offset
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * import { depth } from '@workday/canvas-kit-react/tokens';
25
+ *
26
+ * const cardStyles = {
27
+ * ...depth[1],
28
+ * };
29
+ * ```
30
+ */
31
+ 1: {
32
+ boxShadow: '0px 2px 4px 0 rgba(0, 0, 0, 0.08)';
33
+ };
34
+ /**
35
+ * ### Depth 2
36
+ * Used for Cards, Popups, and Menus — our most common depth
37
+ *
38
+ * @example
39
+ * ```ts
40
+ * import { depth } from '@workday/canvas-kit-react/tokens';
41
+ *
42
+ * const cardStyles = {
43
+ * ...depth[2],
44
+ * };
45
+ * ```
46
+ */
47
+ 2: {
48
+ boxShadow: '0px 4px 8px 0 rgba(0, 0, 0, 0.1)';
49
+ };
50
+ /**
51
+ * ### Depth 3
52
+ * Used for interactive Cards on hover
53
+ *
54
+ * @example
55
+ * ```ts
56
+ * import { depth } from '@workday/canvas-kit-react/tokens';
57
+ *
58
+ * const cardStyles = {
59
+ * ...depth[3],
60
+ * };
61
+ * ```
62
+ */
63
+ 3: {
64
+ boxShadow: '0px 8px 16px 0 rgba(0, 0, 0, 0.12)';
65
+ };
66
+ /**
67
+ * ### Depth 4
68
+ * Used for Cards on white backgrounds — adds border styles for more contrast
69
+ *
70
+ * @example
71
+ * ```ts
72
+ * import { depth } from '@workday/canvas-kit-react/tokens';
73
+ *
74
+ * const cardStyles = {
75
+ * ...depth[4],
76
+ * };
77
+ * ```
78
+ */
79
+ 4: {
80
+ border: '1px solid rgba(218, 226, 230, 1)';
81
+ boxShadow: '0px 8px 16px 0 rgba(0, 0, 0, 0.12)';
82
+ };
83
+ };
84
+ declare type ValueOf<T> = T[keyof T];
85
+ export declare type CanvasDepthValues = ValueOf<CanvasDepth>;
86
+ /**
87
+ * ### Depth Tokens
88
+ *
89
+ * Depth is the relative distance between surfaces in the z-axis.
90
+ * It provides delineation, focus, and priority with shadows and layering.
91
+ * There are five depth levels, `inset`, `1`, `2`, `3`, and `4`.
92
+ * Most levels only apply box-shadow styles, but `depth[4]` also applies border styles.
93
+ *
94
+ * @example
95
+ * ```tsx
96
+ * import { depth } from '@workday/canvas-kit-react/tokens';
97
+ *
98
+ * const CustomCard = () => {
99
+ * return (
100
+ * <div css={depth[2]}>
101
+ * A standard-depth card
102
+ * </div>
103
+ * );
104
+ * }
105
+ * ```
106
+ *
107
+ */
108
+ export declare const depth: CanvasDepth;
109
+ export {};
4
110
  //# sourceMappingURL=depth.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"depth.d.ts","sourceRoot":"","sources":["../../../../tokens/lib/depth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,WAAW,EAAE,gBAAgB,EAAC,MAAM,2BAA2B,CAAC;AAE/E,OAAO,EAAC,WAAW,EAAE,gBAAgB,EAAC,CAAC;AAEvC,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"depth.d.ts","sourceRoot":"","sources":["../../../../tokens/lib/depth.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW,GAAG;IACxB;;;;;;;;;;;;OAYG;IACH,KAAK,EAAE;QACL,SAAS,EAAE,6CAA6C,CAAC;KAC1D,CAAC;IACF;;;;;;;;;;;;OAYG;IACH,CAAC,EAAE;QACD,SAAS,EAAE,mCAAmC,CAAC;KAChD,CAAC;IACF;;;;;;;;;;;;OAYG;IACH,CAAC,EAAE;QACD,SAAS,EAAE,kCAAkC,CAAC;KAC/C,CAAC;IACF;;;;;;;;;;;;OAYG;IACH,CAAC,EAAE;QACD,SAAS,EAAE,oCAAoC,CAAC;KACjD,CAAC;IACF;;;;;;;;;;;;OAYG;IACH,CAAC,EAAE;QACD,MAAM,EAAE,kCAAkC,CAAC;QAC3C,SAAS,EAAE,oCAAoC,CAAC;KACjD,CAAC;CACH,CAAC;AAEF,aAAK,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAC7B,oBAAY,iBAAiB,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,KAAK,EAAE,WAiBnB,CAAC"}
@@ -1,7 +1,42 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
- var canvas_depth_web_1 = __importDefault(require("@workday/canvas-depth-web"));
7
- exports.default = canvas_depth_web_1.default;
3
+ /**
4
+ * ### Depth Tokens
5
+ *
6
+ * Depth is the relative distance between surfaces in the z-axis.
7
+ * It provides delineation, focus, and priority with shadows and layering.
8
+ * There are five depth levels, `inset`, `1`, `2`, `3`, and `4`.
9
+ * Most levels only apply box-shadow styles, but `depth[4]` also applies border styles.
10
+ *
11
+ * @example
12
+ * ```tsx
13
+ * import { depth } from '@workday/canvas-kit-react/tokens';
14
+ *
15
+ * const CustomCard = () => {
16
+ * return (
17
+ * <div css={depth[2]}>
18
+ * A standard-depth card
19
+ * </div>
20
+ * );
21
+ * }
22
+ * ```
23
+ *
24
+ */
25
+ exports.depth = {
26
+ inset: {
27
+ boxShadow: 'inset 0px 0px 8px 0 rgba(82, 97, 115, 0.09)',
28
+ },
29
+ 1: {
30
+ boxShadow: '0px 2px 4px 0 rgba(0, 0, 0, 0.08)',
31
+ },
32
+ 2: {
33
+ boxShadow: '0px 4px 8px 0 rgba(0, 0, 0, 0.1)',
34
+ },
35
+ 3: {
36
+ boxShadow: '0px 8px 16px 0 rgba(0, 0, 0, 0.12)',
37
+ },
38
+ 4: {
39
+ border: '1px solid rgba(218, 226, 230, 1)',
40
+ boxShadow: '0px 8px 16px 0 rgba(0, 0, 0, 0.12)',
41
+ },
42
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"ActionBar.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC1E;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AA0CD,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IAC7D,MAAM;CASd"}
1
+ {"version":3,"file":"ActionBar.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC1E;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAuDD,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IAC7D,MAAM;CASd"}
@@ -34,24 +34,30 @@ var __rest = (this && this.__rest) || function (s, e) {
34
34
  return t;
35
35
  };
36
36
  import * as React from 'react';
37
- import styled from '@emotion/styled';
37
+ import { styled } from '@workday/canvas-kit-react/common';
38
38
  import { colors, commonColors, space } from '@workday/canvas-kit-react/tokens';
39
+ function getFixedStyles(fixed) {
40
+ if (fixed === void 0) { fixed = false; }
41
+ return fixed
42
+ ? {
43
+ position: 'fixed',
44
+ left: 0,
45
+ bottom: 0,
46
+ right: 0,
47
+ }
48
+ : {};
49
+ }
39
50
  var ActionBarContainer = styled('div')({
40
51
  borderTop: "solid 1px " + colors.soap400,
41
52
  background: commonColors.background,
42
53
  padding: space.s,
43
54
  boxShadow: '0 -2px 4px rgba(0, 0, 0, 0.08)',
44
- '@media (max-width: 575px)': {
45
- padding: space.xxs,
46
- },
47
55
  }, function (_a) {
48
- var fixed = _a.fixed;
49
- return fixed && {
50
- position: 'fixed',
51
- left: 0,
52
- bottom: 0,
53
- right: 0,
54
- };
56
+ var _b;
57
+ var fixed = _a.fixed, theme = _a.theme;
58
+ return __assign(__assign({}, getFixedStyles(fixed)), (_b = {}, _b[theme.canvas.breakpoints.down('s')] = {
59
+ padding: space.xxs,
60
+ }, _b));
55
61
  });
56
62
  var ChildrenContainer = styled('div')({
57
63
  display: 'inline-block',
@@ -59,19 +65,24 @@ var ChildrenContainer = styled('div')({
59
65
  '*:not(:first-of-type)': {
60
66
  marginLeft: space.s,
61
67
  },
62
- '@media (max-width: 575px)': {
63
- display: 'flex',
64
- padding: space.xxs,
65
- justifyContent: 'center',
66
- flexDirection: 'row-reverse',
67
- '> *': {
68
- flex: 1,
69
- '&:not(:first-of-type)': {
70
- marginRight: space.s,
71
- marginLeft: 0,
68
+ }, function (_a) {
69
+ var _b;
70
+ var theme = _a.theme;
71
+ return (_b = {},
72
+ _b[theme.canvas.breakpoints.down('s')] = {
73
+ display: 'flex',
74
+ padding: space.xxs,
75
+ justifyContent: 'center',
76
+ flexDirection: 'row-reverse',
77
+ '> *': {
78
+ flex: 1,
79
+ '&:not(:first-of-type)': {
80
+ marginRight: space.s,
81
+ marginLeft: 0,
82
+ },
72
83
  },
73
84
  },
74
- },
85
+ _b);
75
86
  });
76
87
  var ActionBar = /** @class */ (function (_super) {
77
88
  __extends(ActionBar, _super);
@@ -1,3 +1,3 @@
1
1
  /// <reference types="@emotion/core" />
2
- export declare const ButtonLabel: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "hidden" | "color" | "style" | "title" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css">, import("../../../common").EmotionCanvasTheme>;
2
+ export declare const ButtonLabel: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "hidden" | "color" | "style" | "title" | "children" | "css" | "dir" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, import("../../../common").EmotionCanvasTheme>;
3
3
  //# sourceMappingURL=ButtonLabel.d.ts.map
@@ -1,7 +1,7 @@
1
- import { CSSObject } from '@emotion/core';
1
+ import { CSSProperties } from '@workday/canvas-kit-react/tokens';
2
2
  /**
3
3
  * A utility to hide content normal users while still making accessible to screenreaders
4
4
  * See https://a11y-101.com/development/skip-link
5
5
  */
6
- export declare const accessibleHide: CSSObject;
6
+ export declare const accessibleHide: CSSProperties;
7
7
  //# sourceMappingURL=accessibleHide.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"accessibleHide.d.ts","sourceRoot":"","sources":["../../../../../common/lib/styles/accessibleHide.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AAExC;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,SAW5B,CAAC"}
1
+ {"version":3,"file":"accessibleHide.d.ts","sourceRoot":"","sources":["../../../../../common/lib/styles/accessibleHide.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAE/D;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,aAW5B,CAAC"}