@workday/canvas-tokens-web 0.1.4 → 0.1.6

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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
6
  export declare const cinnamon100 = "--cnvs-base-palette-cinnamon-100";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
6
  export declare const primary = {
@@ -10,7 +10,8 @@ export declare const primary = {
10
10
  "dark": "--cnvs-brand-primary-dark",
11
11
  "darkest": "--cnvs-brand-primary-darkest",
12
12
  "accent": "--cnvs-brand-primary-accent"
13
- };
13
+ } as const;
14
+
14
15
  export declare const alert = {
15
16
  "lightest": "--cnvs-brand-alert-lightest",
16
17
  "light": "--cnvs-brand-alert-light",
@@ -18,7 +19,8 @@ export declare const alert = {
18
19
  "dark": "--cnvs-brand-alert-dark",
19
20
  "darkest": "--cnvs-brand-alert-darkest",
20
21
  "accent": "--cnvs-brand-alert-accent"
21
- };
22
+ } as const;
23
+
22
24
  export declare const error = {
23
25
  "lightest": "--cnvs-brand-error-lightest",
24
26
  "light": "--cnvs-brand-error-light",
@@ -26,7 +28,8 @@ export declare const error = {
26
28
  "dark": "--cnvs-brand-error-dark",
27
29
  "darkest": "--cnvs-brand-error-darkest",
28
30
  "accent": "--cnvs-brand-error-accent"
29
- };
31
+ } as const;
32
+
30
33
  export declare const success = {
31
34
  "lightest": "--cnvs-brand-success-lightest",
32
35
  "light": "--cnvs-brand-success-light",
@@ -34,7 +37,8 @@ export declare const success = {
34
37
  "dark": "--cnvs-brand-success-dark",
35
38
  "darkest": "--cnvs-brand-success-darkest",
36
39
  "accent": "--cnvs-brand-success-accent"
37
- };
40
+ } as const;
41
+
38
42
  export declare const neutral = {
39
43
  "lightest": "--cnvs-brand-neutral-lightest",
40
44
  "light": "--cnvs-brand-neutral-light",
@@ -42,10 +46,13 @@ export declare const neutral = {
42
46
  "dark": "--cnvs-brand-neutral-dark",
43
47
  "darkest": "--cnvs-brand-neutral-darkest",
44
48
  "accent": "--cnvs-brand-neutral-accent"
45
- };
49
+ } as const;
50
+
46
51
  export declare const common = {
47
52
  "focusOutline": "--cnvs-brand-common-focus-outline",
48
53
  "errorInner": "--cnvs-brand-common-error-inner",
49
54
  "alertInner": "--cnvs-brand-common-alert-inner"
50
- };
51
- export declare const gradient = "--cnvs-brand-gradient";
55
+ } as const;
56
+
57
+ export declare const gradient = "--cnvs-brand-gradient" as const;
58
+
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
6
  import * as base from "./base";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
6
  "use strict";
@@ -1,9 +1,10 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
- export declare const border = "--cnvs-sys-border";
6
+ export declare const border = "--cnvs-sys-border" as const;
7
+
7
8
  export declare const color = {
8
9
  "bg": {
9
10
  "default": "--cnvs-sys-color-bg-default",
@@ -99,7 +100,8 @@ export declare const color = {
99
100
  "08": "--cnvs-sys-color-data-viz-08",
100
101
  "09": "--cnvs-sys-color-data-viz-09"
101
102
  }
102
- };
103
+ } as const;
104
+
103
105
  export declare const depth = {
104
106
  "1": "--cnvs-sys-depth-1",
105
107
  "2": "--cnvs-sys-depth-2",
@@ -107,17 +109,20 @@ export declare const depth = {
107
109
  "4": "--cnvs-sys-depth-4",
108
110
  "5": "--cnvs-sys-depth-5",
109
111
  "6": "--cnvs-sys-depth-6"
110
- };
112
+ } as const;
113
+
111
114
  export declare const opacity = {
112
115
  "disabled": "--cnvs-sys-opacity-disabled"
113
- };
116
+ } as const;
117
+
114
118
  export declare const shape = {
115
119
  "zero": "--cnvs-sys-shape-zero",
116
120
  "small": "--cnvs-sys-shape-small",
117
121
  "medium": "--cnvs-sys-shape-medium",
118
122
  "large": "--cnvs-sys-shape-large",
119
123
  "circle": "--cnvs-sys-shape-circle"
120
- };
124
+ } as const;
125
+
121
126
  export declare const space = {
122
127
  "zero": "--cnvs-sys-space-zero",
123
128
  "x1": "--cnvs-sys-space-x1",
@@ -132,12 +137,14 @@ export declare const space = {
132
137
  "x14": "--cnvs-sys-space-x14",
133
138
  "x16": "--cnvs-sys-space-x16",
134
139
  "x20": "--cnvs-sys-space-x20"
135
- };
140
+ } as const;
141
+
136
142
  export declare const fontFamily = {
137
143
  "default": "--cnvs-sys-font-family-default",
138
144
  "mono": "--cnvs-sys-font-family-mono",
139
145
  "global": "--cnvs-sys-font-family-global"
140
- };
146
+ } as const;
147
+
141
148
  export declare const fontSize = {
142
149
  "subtext": {
143
150
  "small": "--cnvs-sys-font-size-subtext-small",
@@ -159,7 +166,8 @@ export declare const fontSize = {
159
166
  "medium": "--cnvs-sys-font-size-title-medium",
160
167
  "large": "--cnvs-sys-font-size-title-large"
161
168
  }
162
- };
169
+ } as const;
170
+
163
171
  export declare const lineHeight = {
164
172
  "subtext": {
165
173
  "small": "--cnvs-sys-line-height-subtext-small",
@@ -181,13 +189,15 @@ export declare const lineHeight = {
181
189
  "medium": "--cnvs-sys-line-height-title-medium",
182
190
  "large": "--cnvs-sys-line-height-title-large"
183
191
  }
184
- };
192
+ } as const;
193
+
185
194
  export declare const fontWeight = {
186
195
  "light": "--cnvs-sys-font-weight-light",
187
196
  "normal": "--cnvs-sys-font-weight-normal",
188
197
  "medium": "--cnvs-sys-font-weight-medium",
189
198
  "bold": "--cnvs-sys-font-weight-bold"
190
- };
199
+ } as const;
200
+
191
201
  export declare const type = {
192
202
  "subtext": {
193
203
  "small": {
@@ -273,4 +283,5 @@ export declare const type = {
273
283
  "fontSize": "--cnvs-base-font-size-600"
274
284
  }
275
285
  }
276
- };
286
+ } as const;
287
+
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
6
  export declare const cinnamon100 = "--cnvs-base-palette-cinnamon-100";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
6
  export const cinnamon100 = "--cnvs-base-palette-cinnamon-100";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
6
  export declare const primary = {
@@ -10,7 +10,8 @@ export declare const primary = {
10
10
  "dark": "--cnvs-brand-primary-dark",
11
11
  "darkest": "--cnvs-brand-primary-darkest",
12
12
  "accent": "--cnvs-brand-primary-accent"
13
- };
13
+ } as const;
14
+
14
15
  export declare const alert = {
15
16
  "lightest": "--cnvs-brand-alert-lightest",
16
17
  "light": "--cnvs-brand-alert-light",
@@ -18,7 +19,8 @@ export declare const alert = {
18
19
  "dark": "--cnvs-brand-alert-dark",
19
20
  "darkest": "--cnvs-brand-alert-darkest",
20
21
  "accent": "--cnvs-brand-alert-accent"
21
- };
22
+ } as const;
23
+
22
24
  export declare const error = {
23
25
  "lightest": "--cnvs-brand-error-lightest",
24
26
  "light": "--cnvs-brand-error-light",
@@ -26,7 +28,8 @@ export declare const error = {
26
28
  "dark": "--cnvs-brand-error-dark",
27
29
  "darkest": "--cnvs-brand-error-darkest",
28
30
  "accent": "--cnvs-brand-error-accent"
29
- };
31
+ } as const;
32
+
30
33
  export declare const success = {
31
34
  "lightest": "--cnvs-brand-success-lightest",
32
35
  "light": "--cnvs-brand-success-light",
@@ -34,7 +37,8 @@ export declare const success = {
34
37
  "dark": "--cnvs-brand-success-dark",
35
38
  "darkest": "--cnvs-brand-success-darkest",
36
39
  "accent": "--cnvs-brand-success-accent"
37
- };
40
+ } as const;
41
+
38
42
  export declare const neutral = {
39
43
  "lightest": "--cnvs-brand-neutral-lightest",
40
44
  "light": "--cnvs-brand-neutral-light",
@@ -42,10 +46,13 @@ export declare const neutral = {
42
46
  "dark": "--cnvs-brand-neutral-dark",
43
47
  "darkest": "--cnvs-brand-neutral-darkest",
44
48
  "accent": "--cnvs-brand-neutral-accent"
45
- };
49
+ } as const;
50
+
46
51
  export declare const common = {
47
52
  "focusOutline": "--cnvs-brand-common-focus-outline",
48
53
  "errorInner": "--cnvs-brand-common-error-inner",
49
54
  "alertInner": "--cnvs-brand-common-alert-inner"
50
- };
51
- export declare const gradient = "--cnvs-brand-gradient";
55
+ } as const;
56
+
57
+ export declare const gradient = "--cnvs-brand-gradient" as const;
58
+
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
6
  export const primary = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
6
  import * as base from "./base";
package/dist/es6/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
6
  import * as base from "./base";
@@ -1,9 +1,10 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
- export declare const border = "--cnvs-sys-border";
6
+ export declare const border = "--cnvs-sys-border" as const;
7
+
7
8
  export declare const color = {
8
9
  "bg": {
9
10
  "default": "--cnvs-sys-color-bg-default",
@@ -99,7 +100,8 @@ export declare const color = {
99
100
  "08": "--cnvs-sys-color-data-viz-08",
100
101
  "09": "--cnvs-sys-color-data-viz-09"
101
102
  }
102
- };
103
+ } as const;
104
+
103
105
  export declare const depth = {
104
106
  "1": "--cnvs-sys-depth-1",
105
107
  "2": "--cnvs-sys-depth-2",
@@ -107,17 +109,20 @@ export declare const depth = {
107
109
  "4": "--cnvs-sys-depth-4",
108
110
  "5": "--cnvs-sys-depth-5",
109
111
  "6": "--cnvs-sys-depth-6"
110
- };
112
+ } as const;
113
+
111
114
  export declare const opacity = {
112
115
  "disabled": "--cnvs-sys-opacity-disabled"
113
- };
116
+ } as const;
117
+
114
118
  export declare const shape = {
115
119
  "zero": "--cnvs-sys-shape-zero",
116
120
  "small": "--cnvs-sys-shape-small",
117
121
  "medium": "--cnvs-sys-shape-medium",
118
122
  "large": "--cnvs-sys-shape-large",
119
123
  "circle": "--cnvs-sys-shape-circle"
120
- };
124
+ } as const;
125
+
121
126
  export declare const space = {
122
127
  "zero": "--cnvs-sys-space-zero",
123
128
  "x1": "--cnvs-sys-space-x1",
@@ -132,12 +137,14 @@ export declare const space = {
132
137
  "x14": "--cnvs-sys-space-x14",
133
138
  "x16": "--cnvs-sys-space-x16",
134
139
  "x20": "--cnvs-sys-space-x20"
135
- };
140
+ } as const;
141
+
136
142
  export declare const fontFamily = {
137
143
  "default": "--cnvs-sys-font-family-default",
138
144
  "mono": "--cnvs-sys-font-family-mono",
139
145
  "global": "--cnvs-sys-font-family-global"
140
- };
146
+ } as const;
147
+
141
148
  export declare const fontSize = {
142
149
  "subtext": {
143
150
  "small": "--cnvs-sys-font-size-subtext-small",
@@ -159,7 +166,8 @@ export declare const fontSize = {
159
166
  "medium": "--cnvs-sys-font-size-title-medium",
160
167
  "large": "--cnvs-sys-font-size-title-large"
161
168
  }
162
- };
169
+ } as const;
170
+
163
171
  export declare const lineHeight = {
164
172
  "subtext": {
165
173
  "small": "--cnvs-sys-line-height-subtext-small",
@@ -181,13 +189,15 @@ export declare const lineHeight = {
181
189
  "medium": "--cnvs-sys-line-height-title-medium",
182
190
  "large": "--cnvs-sys-line-height-title-large"
183
191
  }
184
- };
192
+ } as const;
193
+
185
194
  export declare const fontWeight = {
186
195
  "light": "--cnvs-sys-font-weight-light",
187
196
  "normal": "--cnvs-sys-font-weight-normal",
188
197
  "medium": "--cnvs-sys-font-weight-medium",
189
198
  "bold": "--cnvs-sys-font-weight-bold"
190
- };
199
+ } as const;
200
+
191
201
  export declare const type = {
192
202
  "subtext": {
193
203
  "small": {
@@ -273,4 +283,5 @@ export declare const type = {
273
283
  "fontSize": "--cnvs-base-font-size-600"
274
284
  }
275
285
  }
276
- };
286
+ } as const;
287
+
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ * Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
  */
5
5
 
6
6
  export const border = "--cnvs-sys-border";
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ // Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
 
5
5
  @cnvs-base-palette-cinnamon-100: rgba(255,241,240,1);
6
6
  @cnvs-base-palette-cinnamon-200: rgba(252,201,197,1);
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ // Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
 
5
5
  @cnvs-brand-error-darkest: rgba(128,22,14,1);
6
6
  @cnvs-brand-neutral-accent: @cnvs-base-palette-french-vanilla-100;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ // Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
 
5
5
  @cnvs-sys-space-zero: 0;
6
6
  @cnvs-sys-shape-zero: 0rem;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ // Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
 
5
5
  $cnvs-base-palette-cinnamon-100: rgba(255,241,240,1);
6
6
  $cnvs-base-palette-cinnamon-200: rgba(252,201,197,1);
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ // Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
 
5
5
  $cnvs-base-palette-cinnamon-100: rgba(255,241,240,1);
6
6
  $cnvs-base-palette-cinnamon-200: rgba(252,201,197,1);
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ // Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
 
5
5
  $cnvs-brand-error-darkest: rgba(128,22,14,1);
6
6
  $cnvs-brand-neutral-accent: $cnvs-base-palette-french-vanilla-100;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ // Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
 
5
5
  $cnvs-brand-error-darkest: rgba(128,22,14,1);
6
6
  $cnvs-brand-neutral-accent: $cnvs-base-palette-french-vanilla-100;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ // Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
 
5
5
  $cnvs-sys-space-zero: 0;
6
6
  $cnvs-sys-shape-zero: 0rem;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 27 Sep 2023 20:55:35 GMT
3
+ // Generated on Fri, 29 Sep 2023 22:32:54 GMT
4
4
 
5
5
  $cnvs-sys-space-zero: 0;
6
6
  $cnvs-sys-shape-zero: 0rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-tokens-web",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Canvas design tokens for web",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "CC-BY-ND-4.0",