@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.
- package/action-bar/lib/ActionBar.tsx +43 -30
- package/common/lib/styles/accessibleHide.ts +2 -2
- package/common/lib/theming/README.md +189 -25
- package/common/lib/theming/breakpoints.ts +296 -16
- package/common/lib/theming/types.ts +191 -1
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBar.js +35 -27
- package/dist/commonjs/button/lib/parts/ButtonLabel.d.ts +1 -1
- package/dist/commonjs/common/lib/styles/accessibleHide.d.ts +2 -2
- package/dist/commonjs/common/lib/styles/accessibleHide.d.ts.map +1 -1
- package/dist/commonjs/common/lib/theming/breakpoints.d.ts +287 -6
- package/dist/commonjs/common/lib/theming/breakpoints.d.ts.map +1 -1
- package/dist/commonjs/common/lib/theming/breakpoints.js +192 -10
- package/dist/commonjs/common/lib/theming/types.d.ts +191 -1
- package/dist/commonjs/common/lib/theming/types.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/components.d.ts +1 -1
- package/dist/commonjs/pagination/lib/Pagination/PageList.d.ts +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Pagination.d.ts +5 -5
- package/dist/commonjs/pagination/lib/Pagination/common/List.d.ts +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/utils/space.d.ts +28 -28
- package/dist/commonjs/tokens/index.d.ts +3 -20
- package/dist/commonjs/tokens/index.d.ts.map +1 -1
- package/dist/commonjs/tokens/index.js +3 -6
- package/dist/commonjs/tokens/lib/depth.d.ts +109 -3
- package/dist/commonjs/tokens/lib/depth.d.ts.map +1 -1
- package/dist/commonjs/tokens/lib/depth.js +40 -5
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBar.js +33 -22
- package/dist/es6/button/lib/parts/ButtonLabel.d.ts +1 -1
- package/dist/es6/common/lib/styles/accessibleHide.d.ts +2 -2
- package/dist/es6/common/lib/styles/accessibleHide.d.ts.map +1 -1
- package/dist/es6/common/lib/theming/breakpoints.d.ts +287 -6
- package/dist/es6/common/lib/theming/breakpoints.d.ts.map +1 -1
- package/dist/es6/common/lib/theming/breakpoints.js +192 -10
- package/dist/es6/common/lib/theming/types.d.ts +191 -1
- package/dist/es6/common/lib/theming/types.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/PageList.d.ts +1 -1
- package/dist/es6/pagination/lib/Pagination/Pagination.d.ts +5 -5
- package/dist/es6/pagination/lib/Pagination/common/List.d.ts +1 -1
- package/dist/es6/pagination/lib/Pagination/common/utils/space.d.ts +28 -28
- package/dist/es6/tokens/index.d.ts +3 -20
- package/dist/es6/tokens/index.d.ts.map +1 -1
- package/dist/es6/tokens/index.js +1 -1
- package/dist/es6/tokens/lib/depth.d.ts +109 -3
- package/dist/es6/tokens/lib/depth.d.ts.map +1 -1
- package/dist/es6/tokens/lib/depth.js +40 -2
- package/package.json +5 -6
- package/tokens/README.md +5 -12
- package/tokens/index.ts +2 -2
- package/tokens/lib/depth.ts +125 -3
- package/ts3.5/dist/commonjs/button/lib/parts/ButtonLabel.d.ts +1 -1
- package/ts3.5/dist/commonjs/common/lib/styles/accessibleHide.d.ts +2 -2
- package/ts3.5/dist/commonjs/common/lib/theming/breakpoints.d.ts +287 -6
- package/ts3.5/dist/commonjs/common/lib/theming/types.d.ts +191 -1
- package/ts3.5/dist/commonjs/common/lib/utils/components.d.ts +1 -1
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/PageList.d.ts +1 -1
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/Pagination.d.ts +5 -5
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/common/List.d.ts +1 -1
- package/ts3.5/dist/commonjs/pagination/lib/Pagination/common/utils/space.d.ts +28 -28
- package/ts3.5/dist/commonjs/tokens/index.d.ts +3 -20
- package/ts3.5/dist/commonjs/tokens/lib/depth.d.ts +109 -3
- package/ts3.5/dist/es6/button/lib/parts/ButtonLabel.d.ts +1 -1
- package/ts3.5/dist/es6/common/lib/styles/accessibleHide.d.ts +2 -2
- package/ts3.5/dist/es6/common/lib/theming/breakpoints.d.ts +287 -6
- package/ts3.5/dist/es6/common/lib/theming/types.d.ts +191 -1
- package/ts3.5/dist/es6/pagination/lib/Pagination/PageList.d.ts +1 -1
- package/ts3.5/dist/es6/pagination/lib/Pagination/Pagination.d.ts +5 -5
- package/ts3.5/dist/es6/pagination/lib/Pagination/common/List.d.ts +1 -1
- package/ts3.5/dist/es6/pagination/lib/Pagination/common/utils/space.d.ts +28 -28
- package/ts3.5/dist/es6/tokens/index.d.ts +3 -20
- 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: "s" | "zero" | "m" | "l" | "
|
|
34
|
+
margin: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
37
|
+
m: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
40
|
+
marginX: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
44
|
+
mx: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
48
|
+
marginY: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
52
|
+
my: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
56
|
+
marginT: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
59
|
+
mt: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
62
|
+
marginR: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
65
|
+
mr: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
68
|
+
marginB: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
71
|
+
mb: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
74
|
+
marginL: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
77
|
+
ml: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
80
|
+
padding: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
83
|
+
p: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
86
|
+
paddingX: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
90
|
+
px: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
94
|
+
paddingY: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
98
|
+
py: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
102
|
+
paddingT: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
105
|
+
pt: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
108
|
+
paddingR: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
111
|
+
pr: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
114
|
+
paddingB: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
117
|
+
pb: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
120
|
+
paddingL: (value: "s" | "zero" | "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: "s" | "zero" | "m" | "l" | "
|
|
123
|
+
pl: (value: "s" | "zero" | "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,
|
|
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,
|
|
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,
|
|
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"}
|
package/dist/es6/tokens/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { buttonColors, chartingColorOffsets, chartingColors, colors, commonColors, gradients, iconColors, inputColors, statusColors, typeColors, } from '@workday/canvas-colors-web';
|
|
2
2
|
import { borderRadius } from './lib/radius';
|
|
3
3
|
import { BrandingColor } from './lib/colors.types';
|
|
4
|
-
import depth from './lib/depth';
|
|
4
|
+
import { depth } from './lib/depth';
|
|
5
5
|
import { space, spaceNumbers, } from './lib/space';
|
|
6
6
|
import { type, fontFamily, monoFontFamily, } from './lib/type';
|
|
7
7
|
var canvas = {
|
|
@@ -1,4 +1,110 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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,
|
|
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,2 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* ### Depth Tokens
|
|
3
|
+
*
|
|
4
|
+
* Depth is the relative distance between surfaces in the z-axis.
|
|
5
|
+
* It provides delineation, focus, and priority with shadows and layering.
|
|
6
|
+
* There are five depth levels, `inset`, `1`, `2`, `3`, and `4`.
|
|
7
|
+
* Most levels only apply box-shadow styles, but `depth[4]` also applies border styles.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* import { depth } from '@workday/canvas-kit-react/tokens';
|
|
12
|
+
*
|
|
13
|
+
* const CustomCard = () => {
|
|
14
|
+
* return (
|
|
15
|
+
* <div css={depth[2]}>
|
|
16
|
+
* A standard-depth card
|
|
17
|
+
* </div>
|
|
18
|
+
* );
|
|
19
|
+
* }
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export var depth = {
|
|
24
|
+
inset: {
|
|
25
|
+
boxShadow: 'inset 0px 0px 8px 0 rgba(82, 97, 115, 0.09)',
|
|
26
|
+
},
|
|
27
|
+
1: {
|
|
28
|
+
boxShadow: '0px 2px 4px 0 rgba(0, 0, 0, 0.08)',
|
|
29
|
+
},
|
|
30
|
+
2: {
|
|
31
|
+
boxShadow: '0px 4px 8px 0 rgba(0, 0, 0, 0.1)',
|
|
32
|
+
},
|
|
33
|
+
3: {
|
|
34
|
+
boxShadow: '0px 8px 16px 0 rgba(0, 0, 0, 0.12)',
|
|
35
|
+
},
|
|
36
|
+
4: {
|
|
37
|
+
border: '1px solid rgba(218, 226, 230, 1)',
|
|
38
|
+
boxShadow: '0px 8px 16px 0 rgba(0, 0, 0, 0.12)',
|
|
39
|
+
},
|
|
40
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-react",
|
|
3
|
-
"version": "6.0.0-alpha.0-next.
|
|
3
|
+
"version": "6.0.0-alpha.0-next.27+438f1a7b",
|
|
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",
|
|
@@ -56,10 +56,9 @@
|
|
|
56
56
|
"@emotion/styled": "^10.0.27",
|
|
57
57
|
"@popperjs/core": "^2.5.4",
|
|
58
58
|
"@workday/canvas-colors-web": "^2.0.0",
|
|
59
|
-
"@workday/canvas-
|
|
60
|
-
"@workday/canvas-kit-
|
|
61
|
-
"@workday/canvas-kit-
|
|
62
|
-
"@workday/canvas-kit-preview-react": "^6.0.0-alpha.0-next.21+5558f5a3",
|
|
59
|
+
"@workday/canvas-kit-labs-react": "^6.0.0-alpha.0-next.27+438f1a7b",
|
|
60
|
+
"@workday/canvas-kit-popup-stack": "^6.0.0-alpha.0-next.27+438f1a7b",
|
|
61
|
+
"@workday/canvas-kit-preview-react": "^6.0.0-alpha.0-next.27+438f1a7b",
|
|
63
62
|
"@workday/canvas-system-icons-web": "1.0.41",
|
|
64
63
|
"@workday/design-assets-types": "^0.2.4",
|
|
65
64
|
"chroma-js": "^2.1.0",
|
|
@@ -75,5 +74,5 @@
|
|
|
75
74
|
"@workday/canvas-accent-icons-web": "^1.0.0",
|
|
76
75
|
"@workday/canvas-applet-icons-web": "^0.17.50"
|
|
77
76
|
},
|
|
78
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "438f1a7befd5744cf80fe8d70714f5cbf254029b"
|
|
79
78
|
}
|
package/tokens/README.md
CHANGED
|
@@ -174,23 +174,16 @@ const buttonSyles = {
|
|
|
174
174
|
|
|
175
175
|
## Depth
|
|
176
176
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
| Level | Usage Recommendations |
|
|
180
|
-
| ---------------- | --------------------------------- |
|
|
181
|
-
| Depth -1 (inset) | Inset card depth |
|
|
182
|
-
| Depth 1 | Standard card depth |
|
|
183
|
-
| Depth 2 | Increased card depth on hover |
|
|
184
|
-
| Depth 3 | Active cards, popups |
|
|
185
|
-
| Depth 4 | Cards on white backgrounds, menus |
|
|
177
|
+
Depth is the relative distance between surfaces in the z-axis. It provides delineation, focus, and priority with shadows and layering. There are five depth levels, `inset`, `1`, `2`, `3`, and `4`. Most levels only apply box-shadow styles, but `depth[4]` also applies border styles.
|
|
186
178
|
|
|
187
179
|
### Usage
|
|
188
180
|
|
|
189
181
|
```tsx
|
|
190
|
-
import {depth} from '@workday/canvas-kit-react/tokens';
|
|
182
|
+
import { depth } from '@workday/canvas-kit-react/tokens';
|
|
191
183
|
|
|
192
|
-
|
|
193
|
-
depth[
|
|
184
|
+
const CustomCard = () => {
|
|
185
|
+
return <div css={depth[2]}>A standard-depth card</div>;
|
|
186
|
+
}
|
|
194
187
|
```
|
|
195
188
|
|
|
196
189
|
## Type
|
package/tokens/index.ts
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
|
|
14
14
|
import {borderRadius, CanvasBorderRadius, CanvasBorderRadiusKeys, CanvasBorderRadiusValues} from './lib/radius';
|
|
15
15
|
import {BrandingColor, CanvasColor} from './lib/colors.types';
|
|
16
|
-
import depth,
|
|
16
|
+
import {depth, CanvasDepth, CanvasDepthValues} from './lib/depth';
|
|
17
17
|
import {
|
|
18
18
|
space,
|
|
19
19
|
CanvasSpace,
|
|
@@ -64,7 +64,7 @@ export {
|
|
|
64
64
|
monoFontFamily,
|
|
65
65
|
BrandingColor,
|
|
66
66
|
CanvasDepth,
|
|
67
|
-
|
|
67
|
+
CanvasDepthValues,
|
|
68
68
|
CSSProperties,
|
|
69
69
|
};
|
|
70
70
|
export default canvas;
|
package/tokens/lib/depth.ts
CHANGED
|
@@ -1,5 +1,127 @@
|
|
|
1
|
-
|
|
1
|
+
export 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
|
+
};
|
|
2
84
|
|
|
3
|
-
|
|
85
|
+
type ValueOf<T> = T[keyof T];
|
|
86
|
+
export type CanvasDepthValues = ValueOf<CanvasDepth>;
|
|
4
87
|
|
|
5
|
-
|
|
88
|
+
/**
|
|
89
|
+
* ### Depth Tokens
|
|
90
|
+
*
|
|
91
|
+
* Depth is the relative distance between surfaces in the z-axis.
|
|
92
|
+
* It provides delineation, focus, and priority with shadows and layering.
|
|
93
|
+
* There are five depth levels, `inset`, `1`, `2`, `3`, and `4`.
|
|
94
|
+
* Most levels only apply box-shadow styles, but `depth[4]` also applies border styles.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* ```tsx
|
|
98
|
+
* import { depth } from '@workday/canvas-kit-react/tokens';
|
|
99
|
+
*
|
|
100
|
+
* const CustomCard = () => {
|
|
101
|
+
* return (
|
|
102
|
+
* <div css={depth[2]}>
|
|
103
|
+
* A standard-depth card
|
|
104
|
+
* </div>
|
|
105
|
+
* );
|
|
106
|
+
* }
|
|
107
|
+
* ```
|
|
108
|
+
*
|
|
109
|
+
*/
|
|
110
|
+
export const depth: CanvasDepth = {
|
|
111
|
+
inset: {
|
|
112
|
+
boxShadow: 'inset 0px 0px 8px 0 rgba(82, 97, 115, 0.09)',
|
|
113
|
+
},
|
|
114
|
+
1: {
|
|
115
|
+
boxShadow: '0px 2px 4px 0 rgba(0, 0, 0, 0.08)',
|
|
116
|
+
},
|
|
117
|
+
2: {
|
|
118
|
+
boxShadow: '0px 4px 8px 0 rgba(0, 0, 0, 0.1)',
|
|
119
|
+
},
|
|
120
|
+
3: {
|
|
121
|
+
boxShadow: '0px 8px 16px 0 rgba(0, 0, 0, 0.12)',
|
|
122
|
+
},
|
|
123
|
+
4: {
|
|
124
|
+
border: '1px solid rgba(218, 226, 230, 1)',
|
|
125
|
+
boxShadow: '0px 8px 16px 0 rgba(0, 0, 0, 0.12)',
|
|
126
|
+
},
|
|
127
|
+
};
|
|
@@ -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>, "style" | "title" | "
|
|
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>, "css" | "style" | "title" | "dir" | "slot" | "children" | "hidden" | "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" | "color" | "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 {
|
|
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:
|
|
6
|
+
export declare const accessibleHide: CSSProperties;
|
|
7
7
|
//# sourceMappingURL=accessibleHide.d.ts.map
|