@esri/calcite-design-tokens 1.1.1-next.1 → 2.0.0-rc.0
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/README.md +7 -9
- package/dist/css/breakpoint.css +29 -0
- package/dist/css/classes.css +327 -0
- package/dist/css/core.css +344 -0
- package/dist/css/dark.css +45 -0
- package/dist/css/global.css +103 -0
- package/dist/css/index.css +176 -0
- package/dist/css/light.css +45 -0
- package/dist/es6/core.d.ts +342 -0
- package/dist/es6/core.js +342 -0
- package/dist/es6/global.d.ts +207 -0
- package/dist/es6/global.js +207 -0
- package/dist/js/core.d.ts +466 -0
- package/dist/js/core.js +8795 -0
- package/dist/js/global.d.ts +331 -0
- package/dist/js/global.js +6597 -0
- package/dist/scss/breakpoints.scss +37 -0
- package/dist/scss/core.scss +342 -0
- package/dist/scss/dark.scss +43 -0
- package/dist/scss/index.scss +92 -0
- package/dist/scss/light.scss +43 -0
- package/dist/scss/mixins.scss +342 -0
- package/package.json +28 -21
- package/.eslintrc.cjs +0 -85
- package/.turbo/turbo-build.log +0 -7034
- package/.turbo/turbo-test.log +0 -14
- package/CHANGELOG.md +0 -29
- package/CONTRIBUTING.md +0 -41
- package/dist/css/brand-light.css +0 -9
- package/dist/css/calcite-dark.css +0 -504
- package/dist/css/calcite-headless.css +0 -2615
- package/dist/css/calcite-light.css +0 -507
- package/dist/es6/brand-light.d.ts +0 -7
- package/dist/es6/brand-light.js +0 -7
- package/dist/es6/calcite-dark.d.ts +0 -502
- package/dist/es6/calcite-dark.js +0 -502
- package/dist/es6/calcite-headless.d.ts +0 -2613
- package/dist/es6/calcite-headless.js +0 -2613
- package/dist/es6/calcite-light.d.ts +0 -505
- package/dist/es6/calcite-light.js +0 -505
- package/dist/js/brand-light.d.ts +0 -72
- package/dist/js/brand-light.js +0 -95
- package/dist/js/calcite-dark.d.ts +0 -563
- package/dist/js/calcite-dark.js +0 -10024
- package/dist/js/calcite-headless.d.ts +0 -1730
- package/dist/js/calcite-headless.js +0 -50082
- package/dist/js/calcite-light.d.ts +0 -544
- package/dist/js/calcite-light.js +0 -10090
- package/dist/scss/calcite-dark.scss +0 -535
- package/dist/scss/calcite-headless.scss +0 -3012
- package/dist/scss/calcite-light.scss +0 -538
- package/jest.config.json +0 -16
- package/src/$metadata.json +0 -76
- package/src/$themes.json +0 -2363
- package/src/brand/dark.json +0 -1
- package/src/brand/global.json +0 -1
- package/src/brand/light.json +0 -20
- package/src/calcite/dark.json +0 -2488
- package/src/calcite/light.json +0 -2508
- package/src/component/accordion-item.json +0 -172
- package/src/component/accordion.json +0 -192
- package/src/component/action-bar-grid.json +0 -66
- package/src/component/action-bar.json +0 -66
- package/src/component/action-pad-grid.json +0 -80
- package/src/component/action-pad.json +0 -80
- package/src/component/action.json +0 -156
- package/src/component/alert.json +0 -258
- package/src/component/avatar.json +0 -140
- package/src/component/block-section.json +0 -124
- package/src/component/block.json +0 -198
- package/src/component/button.json +0 -650
- package/src/component/card.json +0 -116
- package/src/component/checkbox.json +0 -110
- package/src/component/chip.json +0 -382
- package/src/component/color-picker.json +0 -148
- package/src/component/combobox.json +0 -152
- package/src/component/date-picker.json +0 -354
- package/src/component/dropdown-item.json +0 -384
- package/src/component/dropdown.json +0 -58
- package/src/component/fab.json +0 -490
- package/src/component/filter.json +0 -174
- package/src/component/icon.json +0 -18
- package/src/component/input-date-picker.json +0 -224
- package/src/component/input-datetime-local.json +0 -230
- package/src/component/input-email.json +0 -244
- package/src/component/input-file.json +0 -244
- package/src/component/input-message.json +0 -72
- package/src/component/input-month.json +0 -244
- package/src/component/input-number.json +0 -244
- package/src/component/input-password.json +0 -244
- package/src/component/input-search.json +0 -244
- package/src/component/input-telephone.json +0 -244
- package/src/component/input-text.json +0 -244
- package/src/component/input-time.json +0 -1
- package/src/component/input-week.json +0 -244
- package/src/component/label.json +0 -26
- package/src/component/link.json +0 -44
- package/src/component/loader.json +0 -130
- package/src/component/modal.json +0 -278
- package/src/component/notice.json +0 -280
- package/src/component/pagination.json +0 -152
- package/src/component/panel-header.json +0 -88
- package/src/component/popover.json +0 -170
- package/src/component/radio.json +0 -124
- package/src/component/rating.json +0 -243
- package/src/component/scrim.json +0 -18
- package/src/component/segmented-control.json +0 -154
- package/src/component/slider-histogram-range.json +0 -284
- package/src/component/slider-histogram.json +0 -280
- package/src/component/slider-range.json +0 -226
- package/src/component/slider.json +0 -226
- package/src/component/split-button.json +0 -830
- package/src/component/stepper-item.json +0 -372
- package/src/component/stepper.json +0 -152
- package/src/component/switch.json +0 -178
- package/src/component/tab-title.json +0 -228
- package/src/component/tabs.json +0 -242
- package/src/component/textarea.json +0 -200
- package/src/component/time-picker.json +0 -138
- package/src/component/tip-manager.json +0 -118
- package/src/component/tip.json +0 -114
- package/src/component/tooltip.json +0 -66
- package/src/component/tree-item.json +0 -176
- package/src/core.json +0 -1833
- package/src/semantic.json +0 -1709
- package/support/run.ts +0 -16
- package/support/token-transformer/format/javascript.ts +0 -22
- package/support/token-transformer/format/scss.ts +0 -81
- package/support/token-transformer/getThemes.ts +0 -41
- package/support/token-transformer/parse/expandComposites.test.ts +0 -144
- package/support/token-transformer/parse/expandComposites.ts +0 -72
- package/support/token-transformer/sd-run.ts +0 -191
- package/support/token-transformer/transform/nameCamelCase.test.ts +0 -36
- package/support/token-transformer/transform/nameCamelCase.ts +0 -15
- package/support/token-transformer/transform/nameKebabCase.test.ts +0 -36
- package/support/token-transformer/transform/nameKebabCase.ts +0 -26
- package/support/token-transformer/utils/compositeTokens.test.ts +0 -133
- package/support/token-transformer/utils/compositeTokens.ts +0 -103
- package/support/token-transformer/utils/convertTokenToStyleDictionaryFormat.ts +0 -20
- package/support/token-transformer/utils/matchList.ts +0 -11
- package/support/token-transformer/utils/parseName.ts +0 -18
- package/support/token-transformer/utils/parseTokenPath.ts +0 -19
- package/support/token-transformer/utils/regex.ts +0 -9
- package/support/token-transformer/utils/sortAllTokens.ts +0 -12
- package/support/token-transformer/utils/transformOptions.ts +0 -31
- package/tsconfig-base.json +0 -17
- package/tsconfig-eslint.json +0 -4
- package/tsconfig.json +0 -4
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Sun, 26 Nov 2023 08:48:21 GMT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
@mixin calcite-typography-hierarchy-overline {
|
|
7
|
+
line-height: var(--calcite-font-line-height-fixed-sm);
|
|
8
|
+
text-case: var(--calcite-font-text-case-uppercase);
|
|
9
|
+
font-weight: var(--calcite-font-weight-bold);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@mixin calcite-typography-wrap-bold--1 {
|
|
13
|
+
@include calcite-typography;
|
|
14
|
+
font-weight: var(--calcite-font-weight-semibold);
|
|
15
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@mixin calcite-typography-wrap-bold--2 {
|
|
19
|
+
@include calcite-typography;
|
|
20
|
+
font-weight: var(--calcite-font-weight-semibold);
|
|
21
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
22
|
+
font-size: var(--calcite-font-size-sm);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@mixin calcite-typography-wrap-bold-3 {
|
|
26
|
+
@include calcite-typography;
|
|
27
|
+
font-weight: var(--calcite-font-weight-semibold);
|
|
28
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
29
|
+
font-size: var(--calcite-font-size-xxl);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@mixin calcite-typography-wrap-bold-2 {
|
|
33
|
+
@include calcite-typography;
|
|
34
|
+
font-weight: var(--calcite-font-weight-semibold);
|
|
35
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
36
|
+
font-size: var(--calcite-font-size-xl);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@mixin calcite-typography-wrap-bold-1 {
|
|
40
|
+
@include calcite-typography;
|
|
41
|
+
font-weight: var(--calcite-font-weight-semibold);
|
|
42
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
43
|
+
font-size: var(--calcite-font-size-lg);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@mixin calcite-typography-wrap-bold-0 {
|
|
47
|
+
@include calcite-typography;
|
|
48
|
+
font-weight: var(--calcite-font-weight-semibold);
|
|
49
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
50
|
+
font-size: var(--calcite-font-size-md);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@mixin calcite-typography-wrap-medium--1 {
|
|
54
|
+
@include calcite-typography;
|
|
55
|
+
font-weight: var(--calcite-font-weight-medium);
|
|
56
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@mixin calcite-typography-wrap-medium--2 {
|
|
60
|
+
@include calcite-typography;
|
|
61
|
+
font-weight: var(--calcite-font-weight-medium);
|
|
62
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
63
|
+
font-size: var(--calcite-font-size-sm);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@mixin calcite-typography-wrap-medium-3 {
|
|
67
|
+
@include calcite-typography;
|
|
68
|
+
font-weight: var(--calcite-font-weight-medium);
|
|
69
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
70
|
+
font-size: var(--calcite-font-size-xxl);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@mixin calcite-typography-wrap-medium-2 {
|
|
74
|
+
@include calcite-typography;
|
|
75
|
+
font-weight: var(--calcite-font-weight-medium);
|
|
76
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
77
|
+
font-size: var(--calcite-font-size-xl);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@mixin calcite-typography-wrap-medium-1 {
|
|
81
|
+
@include calcite-typography;
|
|
82
|
+
font-weight: var(--calcite-font-weight-medium);
|
|
83
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
84
|
+
font-size: var(--calcite-font-size-lg);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@mixin calcite-typography-wrap-medium-0 {
|
|
88
|
+
@include calcite-typography;
|
|
89
|
+
font-weight: var(--calcite-font-weight-medium);
|
|
90
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
91
|
+
font-size: var(--calcite-font-size-md);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@mixin calcite-typography-wrap-regular--1 {
|
|
95
|
+
@include calcite-typography;
|
|
96
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@mixin calcite-typography-wrap-regular--2 {
|
|
100
|
+
@include calcite-typography;
|
|
101
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
102
|
+
font-size: var(--calcite-font-size-sm);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@mixin calcite-typography-wrap-regular-3 {
|
|
106
|
+
@include calcite-typography;
|
|
107
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
108
|
+
font-size: var(--calcite-font-size-xxl);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@mixin calcite-typography-wrap-regular-2 {
|
|
112
|
+
@include calcite-typography;
|
|
113
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
114
|
+
font-size: var(--calcite-font-size-xl);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@mixin calcite-typography-wrap-regular-1 {
|
|
118
|
+
@include calcite-typography;
|
|
119
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
120
|
+
font-size: var(--calcite-font-size-lg);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@mixin calcite-typography-wrap-regular-0 {
|
|
124
|
+
@include calcite-typography;
|
|
125
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
126
|
+
font-size: var(--calcite-font-size-md);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@mixin calcite-typography-wrap-light--1 {
|
|
130
|
+
@include calcite-typography;
|
|
131
|
+
font-weight: var(--calcite-font-weight-light);
|
|
132
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@mixin calcite-typography-wrap-light--2 {
|
|
136
|
+
@include calcite-typography;
|
|
137
|
+
font-weight: var(--calcite-font-weight-light);
|
|
138
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
139
|
+
font-size: var(--calcite-font-size-sm);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@mixin calcite-typography-wrap-light-3 {
|
|
143
|
+
@include calcite-typography;
|
|
144
|
+
font-weight: var(--calcite-font-weight-light);
|
|
145
|
+
line-height: var(--calcite-font-line-height-relative-tight);
|
|
146
|
+
font-size: var(--calcite-font-size-xxl);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
@mixin calcite-typography-wrap-light-2 {
|
|
150
|
+
@include calcite-typography;
|
|
151
|
+
font-weight: var(--calcite-font-weight-light);
|
|
152
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
153
|
+
font-size: var(--calcite-font-size-xl);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
@mixin calcite-typography-wrap-light-1 {
|
|
157
|
+
@include calcite-typography;
|
|
158
|
+
font-weight: var(--calcite-font-weight-light);
|
|
159
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
160
|
+
font-size: var(--calcite-font-size-lg);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
@mixin calcite-typography-wrap-light-0 {
|
|
164
|
+
@include calcite-typography;
|
|
165
|
+
font-weight: var(--calcite-font-weight-light);
|
|
166
|
+
line-height: var(--calcite-font-line-height-relative-snug);
|
|
167
|
+
font-size: var(--calcite-font-size-md);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@mixin calcite-typography-bold-1h {
|
|
171
|
+
@include calcite-typography;
|
|
172
|
+
font-weight: var(--calcite-font-weight-semibold);
|
|
173
|
+
line-height: var(--calcite-font-line-height-fixed-xl);
|
|
174
|
+
font-size: var(--calcite-font-size-lg);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
@mixin calcite-typography-bold-0h {
|
|
178
|
+
@include calcite-typography;
|
|
179
|
+
font-weight: var(--calcite-font-weight-semibold);
|
|
180
|
+
line-height: var(--calcite-font-line-height-fixed-lg);
|
|
181
|
+
font-size: var(--calcite-font-size-md);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
@mixin calcite-typography-bold--1h {
|
|
185
|
+
@include calcite-typography;
|
|
186
|
+
font-weight: var(--calcite-font-weight-semibold);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
@mixin calcite-typography-bold--2h {
|
|
190
|
+
@include calcite-typography;
|
|
191
|
+
font-weight: var(--calcite-font-weight-semibold);
|
|
192
|
+
font-size: var(--calcite-font-size-sm);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@mixin calcite-typography-bold--3h {
|
|
196
|
+
@include calcite-typography;
|
|
197
|
+
font-weight: var(--calcite-font-weight-semibold);
|
|
198
|
+
line-height: var(--calcite-font-line-height-fixed-sm);
|
|
199
|
+
font-size: var(--calcite-font-size-xs);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
@mixin calcite-typography-medium-1h {
|
|
203
|
+
@include calcite-typography;
|
|
204
|
+
font-weight: var(--calcite-font-weight-medium);
|
|
205
|
+
line-height: var(--calcite-font-line-height-fixed-xl);
|
|
206
|
+
font-size: var(--calcite-font-size-lg);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
@mixin calcite-typography-medium-0h {
|
|
210
|
+
@include calcite-typography;
|
|
211
|
+
font-weight: var(--calcite-font-weight-medium);
|
|
212
|
+
line-height: var(--calcite-font-line-height-fixed-lg);
|
|
213
|
+
font-size: var(--calcite-font-size-md);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
@mixin calcite-typography-medium--1h {
|
|
217
|
+
@include calcite-typography;
|
|
218
|
+
font-weight: var(--calcite-font-weight-medium);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
@mixin calcite-typography-medium--2h {
|
|
222
|
+
@include calcite-typography;
|
|
223
|
+
font-weight: var(--calcite-font-weight-medium);
|
|
224
|
+
font-size: var(--calcite-font-size-sm);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
@mixin calcite-typography-medium--3h {
|
|
228
|
+
@include calcite-typography;
|
|
229
|
+
font-weight: var(--calcite-font-weight-medium);
|
|
230
|
+
line-height: var(--calcite-font-line-height-fixed-sm);
|
|
231
|
+
font-size: var(--calcite-font-size-xs);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
@mixin calcite-typography-regular-1h {
|
|
235
|
+
@include calcite-typography;
|
|
236
|
+
line-height: var(--calcite-font-line-height-fixed-xl);
|
|
237
|
+
font-size: var(--calcite-font-size-lg);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
@mixin calcite-typography-regular-0h {
|
|
241
|
+
@include calcite-typography;
|
|
242
|
+
line-height: var(--calcite-font-line-height-fixed-lg);
|
|
243
|
+
font-size: var(--calcite-font-size-md);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
@mixin calcite-typography-regular--2h {
|
|
247
|
+
@include calcite-typography;
|
|
248
|
+
font-size: var(--calcite-font-size-sm);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
@mixin calcite-typography-regular--3h {
|
|
252
|
+
@include calcite-typography;
|
|
253
|
+
line-height: var(--calcite-font-line-height-fixed-sm);
|
|
254
|
+
font-size: var(--calcite-font-size-xs);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
@mixin calcite-typography-light-1h {
|
|
258
|
+
@include calcite-typography;
|
|
259
|
+
font-size: var(--calcite-font-size-lg);
|
|
260
|
+
font-weight: var(--calcite-font-weight-light);
|
|
261
|
+
line-height: var(--calcite-font-line-height-fixed-xl);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
@mixin calcite-typography-light-0h {
|
|
265
|
+
@include calcite-typography;
|
|
266
|
+
font-size: var(--calcite-font-size-md);
|
|
267
|
+
font-weight: var(--calcite-font-weight-light);
|
|
268
|
+
line-height: var(--calcite-font-line-height-fixed-lg);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
@mixin calcite-typography-light--1h {
|
|
272
|
+
@include calcite-typography;
|
|
273
|
+
font-weight: var(--calcite-font-weight-light);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
@mixin calcite-typography-light--2h {
|
|
277
|
+
@include calcite-typography;
|
|
278
|
+
font-size: var(--calcite-font-size-sm);
|
|
279
|
+
font-weight: var(--calcite-font-weight-light);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
@mixin calcite-typography-light--3h {
|
|
283
|
+
@include calcite-typography;
|
|
284
|
+
font-size: var(--calcite-font-size-xs);
|
|
285
|
+
font-weight: var(--calcite-font-weight-light);
|
|
286
|
+
line-height: var(--calcite-font-line-height-fixed-sm);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
@mixin calcite-typography {
|
|
290
|
+
font-family: var(--calcite-font-family);
|
|
291
|
+
font-size: var(--calcite-font-size);
|
|
292
|
+
font-weight: var(--calcite-font-weight-regular);
|
|
293
|
+
letter-spacing: var(--calcite-font-letter-spacing-normal);
|
|
294
|
+
line-height: var(--calcite-font-line-height-fixed-base);
|
|
295
|
+
paragraph-spacing: var(--calcite-font-paragraph-spacing-normal);
|
|
296
|
+
text-case: var(--calcite-font-text-case-none);
|
|
297
|
+
text-decoration: var(--calcite-font-text-decoration-none);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
@mixin calcite-typography-hierarchy-caption {
|
|
301
|
+
@include calcite-typography-wrap-regular--2;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
@mixin calcite-typography-hierarchy-body {
|
|
305
|
+
@include calcite-typography;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
@mixin calcite-typography-hierarchy-body-snug {
|
|
309
|
+
@include calcite-typography-wrap-regular--1;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
@mixin calcite-typography-hierarchy-heading-5 {
|
|
313
|
+
@include calcite-typography-wrap-medium--1;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
@mixin calcite-typography-hierarchy-heading-4 {
|
|
317
|
+
@include calcite-typography-wrap-medium-0;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
@mixin calcite-typography-hierarchy-heading-3 {
|
|
321
|
+
@include calcite-typography-wrap-medium-1;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
@mixin calcite-typography-hierarchy-heading-2 {
|
|
325
|
+
@include calcite-typography-wrap-medium-2;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
@mixin calcite-typography-hierarchy-heading-1 {
|
|
329
|
+
@include calcite-typography-wrap-medium-3;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
@mixin calcite-typography-hierarchy-display-2 {
|
|
333
|
+
@include calcite-typography-wrap-bold-2;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
@mixin calcite-typography-hierarchy-display-1 {
|
|
337
|
+
@include calcite-typography-wrap-bold-3;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
@mixin calcite-typography-regular--1h {
|
|
341
|
+
@include calcite-typography;
|
|
342
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-design-tokens",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-rc.0",
|
|
4
4
|
"description": "Esri's Calcite Design System Tokens",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Calcite",
|
|
@@ -8,26 +8,33 @@
|
|
|
8
8
|
"design tokens",
|
|
9
9
|
"tokens"
|
|
10
10
|
],
|
|
11
|
-
"main": "./dist/scss/calcite-headless.scss",
|
|
12
11
|
"type": "module",
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"./
|
|
17
|
-
"./
|
|
18
|
-
"./
|
|
19
|
-
"./
|
|
20
|
-
"./
|
|
21
|
-
"./
|
|
22
|
-
"./
|
|
23
|
-
"./
|
|
24
|
-
"./
|
|
25
|
-
"./
|
|
26
|
-
"./
|
|
27
|
-
"./
|
|
28
|
-
"./
|
|
29
|
-
"./
|
|
30
|
-
|
|
12
|
+
"main": "./dist/js/global.js",
|
|
13
|
+
"types": "./dist/js/global.d.ts",
|
|
14
|
+
"files": [
|
|
15
|
+
"./dist/css/global.css",
|
|
16
|
+
"./dist/css/breakpoint.css",
|
|
17
|
+
"./dist/css/classes.css",
|
|
18
|
+
"./dist/css/core.css",
|
|
19
|
+
"./dist/css/light.css",
|
|
20
|
+
"./dist/css/dark.css",
|
|
21
|
+
"./dist/css/index.css",
|
|
22
|
+
"./dist/css/global.css",
|
|
23
|
+
"./dist/scss/breakpoints.scss",
|
|
24
|
+
"./dist/scss/mixins.scss",
|
|
25
|
+
"./dist/scss/core.scss",
|
|
26
|
+
"./dist/scss/light.scss",
|
|
27
|
+
"./dist/scss/dark.scss",
|
|
28
|
+
"./dist/scss/index.scss",
|
|
29
|
+
"./dist/es6/core.js",
|
|
30
|
+
"./dist/es6/core.d.ts",
|
|
31
|
+
"./dist/es6/global.js",
|
|
32
|
+
"./dist/es6/global.d.ts",
|
|
33
|
+
"./dist/js/core.d.ts",
|
|
34
|
+
"./dist/js/core.js",
|
|
35
|
+
"./dist/js/global.d.ts",
|
|
36
|
+
"./dist/js/global.js"
|
|
37
|
+
],
|
|
31
38
|
"repository": {
|
|
32
39
|
"type": "git",
|
|
33
40
|
"url": "git://github.com/Esri/calcite-design-system.git"
|
|
@@ -47,5 +54,5 @@
|
|
|
47
54
|
"lint": "concurrently npm:lint:*",
|
|
48
55
|
"test": "jest"
|
|
49
56
|
},
|
|
50
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "6e3a5ad15833b8c42ecb46b3d5ce9d4a69770289"
|
|
51
58
|
}
|
package/.eslintrc.cjs
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
env: {
|
|
4
|
-
"jest/globals": true,
|
|
5
|
-
},
|
|
6
|
-
extends: [
|
|
7
|
-
"plugin:@cspell/recommended",
|
|
8
|
-
"plugin:@typescript-eslint/recommended",
|
|
9
|
-
"plugin:jest/recommended",
|
|
10
|
-
"plugin:jsdoc/recommended",
|
|
11
|
-
"prettier",
|
|
12
|
-
],
|
|
13
|
-
ignorePatterns: ["dist"],
|
|
14
|
-
parser: "@typescript-eslint/parser",
|
|
15
|
-
parserOptions: {
|
|
16
|
-
tsconfigRootDir: __dirname,
|
|
17
|
-
project: ["tsconfig-eslint.json"],
|
|
18
|
-
ecmaVersion: 2021,
|
|
19
|
-
sourceType: "module",
|
|
20
|
-
},
|
|
21
|
-
plugins: [
|
|
22
|
-
"@typescript-eslint",
|
|
23
|
-
"import",
|
|
24
|
-
"jest",
|
|
25
|
-
"jsdoc",
|
|
26
|
-
"prettier",
|
|
27
|
-
"unicorn",
|
|
28
|
-
],
|
|
29
|
-
rules: {
|
|
30
|
-
"@typescript-eslint/ban-types": "warn",
|
|
31
|
-
"@typescript-eslint/explicit-module-boundary-types": [
|
|
32
|
-
"error",
|
|
33
|
-
{
|
|
34
|
-
allowArgumentsExplicitlyTypedAsAny: true,
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
"@typescript-eslint/no-explicit-any": "off",
|
|
38
|
-
"@typescript-eslint/no-unused-vars": "error",
|
|
39
|
-
curly: "error",
|
|
40
|
-
"import/no-dynamic-require": ["error", { esmodule: true }],
|
|
41
|
-
"jest/expect-expect": "off",
|
|
42
|
-
"jest/no-export": "warn",
|
|
43
|
-
"jsdoc/check-tag-names": "off",
|
|
44
|
-
"jsdoc/require-jsdoc": "off",
|
|
45
|
-
"jsdoc/require-param-type": "off",
|
|
46
|
-
"jsdoc/require-returns-type": "off",
|
|
47
|
-
"jsdoc/tag-lines": ["error", "any", { startLines: 1 }],
|
|
48
|
-
"lines-between-class-members": ["error", "always"],
|
|
49
|
-
"no-eval": "error",
|
|
50
|
-
"no-implied-eval": "error",
|
|
51
|
-
"no-multiple-empty-lines": [
|
|
52
|
-
"error",
|
|
53
|
-
{
|
|
54
|
-
max: 1,
|
|
55
|
-
},
|
|
56
|
-
],
|
|
57
|
-
"no-new-func": "error",
|
|
58
|
-
"no-unneeded-ternary": "error",
|
|
59
|
-
"one-var": ["error", "never"],
|
|
60
|
-
"unicorn/prefer-ternary": "error",
|
|
61
|
-
"unicorn/prevent-abbreviations": [
|
|
62
|
-
"error",
|
|
63
|
-
{
|
|
64
|
-
allowList: {
|
|
65
|
-
e2ePage: true,
|
|
66
|
-
},
|
|
67
|
-
extendDefaultReplacements: false,
|
|
68
|
-
replacements: {
|
|
69
|
-
e: {
|
|
70
|
-
error: true,
|
|
71
|
-
event: true,
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
checkProperties: false,
|
|
75
|
-
checkFilenames: false,
|
|
76
|
-
},
|
|
77
|
-
],
|
|
78
|
-
},
|
|
79
|
-
settings: {
|
|
80
|
-
jsdoc: {
|
|
81
|
-
ignoreInternal: true,
|
|
82
|
-
ignorePrivate: true,
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
};
|