@esri/calcite-design-tokens 1.1.1-next.2 → 2.0.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.
Files changed (153) hide show
  1. package/README.md +7 -9
  2. package/dist/css/breakpoint.css +29 -0
  3. package/dist/css/classes.css +327 -0
  4. package/dist/css/core.css +311 -0
  5. package/dist/css/dark.css +47 -0
  6. package/dist/css/global.css +96 -0
  7. package/dist/css/index.css +184 -0
  8. package/dist/css/light.css +47 -0
  9. package/dist/docs/core.json +8134 -0
  10. package/dist/docs/global.json +6617 -0
  11. package/dist/es6/core.d.ts +309 -0
  12. package/dist/es6/core.js +309 -0
  13. package/dist/es6/global.d.ts +202 -0
  14. package/dist/es6/global.js +202 -0
  15. package/dist/js/core.d.ts +421 -0
  16. package/dist/js/core.js +8208 -0
  17. package/dist/js/global.d.ts +330 -0
  18. package/dist/js/global.js +6689 -0
  19. package/dist/scss/breakpoints.scss +37 -0
  20. package/dist/scss/core.scss +309 -0
  21. package/dist/scss/dark.scss +45 -0
  22. package/dist/scss/global.scss +94 -0
  23. package/dist/scss/index.scss +96 -0
  24. package/dist/scss/light.scss +45 -0
  25. package/dist/scss/mixins.scss +342 -0
  26. package/package.json +7 -21
  27. package/.eslintrc.cjs +0 -85
  28. package/.turbo/turbo-build.log +0 -7034
  29. package/.turbo/turbo-test.log +0 -15
  30. package/CHANGELOG.md +0 -33
  31. package/CONTRIBUTING.md +0 -41
  32. package/dist/css/brand-light.css +0 -9
  33. package/dist/css/calcite-dark.css +0 -504
  34. package/dist/css/calcite-headless.css +0 -2615
  35. package/dist/css/calcite-light.css +0 -507
  36. package/dist/es6/brand-light.d.ts +0 -7
  37. package/dist/es6/brand-light.js +0 -7
  38. package/dist/es6/calcite-dark.d.ts +0 -502
  39. package/dist/es6/calcite-dark.js +0 -502
  40. package/dist/es6/calcite-headless.d.ts +0 -2613
  41. package/dist/es6/calcite-headless.js +0 -2613
  42. package/dist/es6/calcite-light.d.ts +0 -505
  43. package/dist/es6/calcite-light.js +0 -505
  44. package/dist/js/brand-light.d.ts +0 -72
  45. package/dist/js/brand-light.js +0 -95
  46. package/dist/js/calcite-dark.d.ts +0 -563
  47. package/dist/js/calcite-dark.js +0 -10024
  48. package/dist/js/calcite-headless.d.ts +0 -1730
  49. package/dist/js/calcite-headless.js +0 -50082
  50. package/dist/js/calcite-light.d.ts +0 -544
  51. package/dist/js/calcite-light.js +0 -10090
  52. package/dist/scss/calcite-dark.scss +0 -535
  53. package/dist/scss/calcite-headless.scss +0 -3012
  54. package/dist/scss/calcite-light.scss +0 -538
  55. package/jest.config.json +0 -16
  56. package/src/$metadata.json +0 -76
  57. package/src/$themes.json +0 -2363
  58. package/src/brand/dark.json +0 -1
  59. package/src/brand/global.json +0 -1
  60. package/src/brand/light.json +0 -20
  61. package/src/calcite/dark.json +0 -2488
  62. package/src/calcite/light.json +0 -2508
  63. package/src/component/accordion-item.json +0 -172
  64. package/src/component/accordion.json +0 -192
  65. package/src/component/action-bar-grid.json +0 -66
  66. package/src/component/action-bar.json +0 -66
  67. package/src/component/action-pad-grid.json +0 -80
  68. package/src/component/action-pad.json +0 -80
  69. package/src/component/action.json +0 -156
  70. package/src/component/alert.json +0 -258
  71. package/src/component/avatar.json +0 -140
  72. package/src/component/block-section.json +0 -124
  73. package/src/component/block.json +0 -198
  74. package/src/component/button.json +0 -650
  75. package/src/component/card.json +0 -116
  76. package/src/component/checkbox.json +0 -110
  77. package/src/component/chip.json +0 -382
  78. package/src/component/color-picker.json +0 -148
  79. package/src/component/combobox.json +0 -152
  80. package/src/component/date-picker.json +0 -354
  81. package/src/component/dropdown-item.json +0 -384
  82. package/src/component/dropdown.json +0 -58
  83. package/src/component/fab.json +0 -490
  84. package/src/component/filter.json +0 -174
  85. package/src/component/icon.json +0 -18
  86. package/src/component/input-date-picker.json +0 -224
  87. package/src/component/input-datetime-local.json +0 -230
  88. package/src/component/input-email.json +0 -244
  89. package/src/component/input-file.json +0 -244
  90. package/src/component/input-message.json +0 -72
  91. package/src/component/input-month.json +0 -244
  92. package/src/component/input-number.json +0 -244
  93. package/src/component/input-password.json +0 -244
  94. package/src/component/input-search.json +0 -244
  95. package/src/component/input-telephone.json +0 -244
  96. package/src/component/input-text.json +0 -244
  97. package/src/component/input-time.json +0 -1
  98. package/src/component/input-week.json +0 -244
  99. package/src/component/label.json +0 -26
  100. package/src/component/link.json +0 -44
  101. package/src/component/loader.json +0 -130
  102. package/src/component/modal.json +0 -278
  103. package/src/component/notice.json +0 -280
  104. package/src/component/pagination.json +0 -152
  105. package/src/component/panel-header.json +0 -88
  106. package/src/component/popover.json +0 -170
  107. package/src/component/radio.json +0 -124
  108. package/src/component/rating.json +0 -243
  109. package/src/component/scrim.json +0 -18
  110. package/src/component/segmented-control.json +0 -154
  111. package/src/component/slider-histogram-range.json +0 -284
  112. package/src/component/slider-histogram.json +0 -280
  113. package/src/component/slider-range.json +0 -226
  114. package/src/component/slider.json +0 -226
  115. package/src/component/split-button.json +0 -830
  116. package/src/component/stepper-item.json +0 -372
  117. package/src/component/stepper.json +0 -152
  118. package/src/component/switch.json +0 -178
  119. package/src/component/tab-title.json +0 -228
  120. package/src/component/tabs.json +0 -242
  121. package/src/component/textarea.json +0 -200
  122. package/src/component/time-picker.json +0 -138
  123. package/src/component/tip-manager.json +0 -118
  124. package/src/component/tip.json +0 -114
  125. package/src/component/tooltip.json +0 -66
  126. package/src/component/tree-item.json +0 -176
  127. package/src/core.json +0 -1833
  128. package/src/semantic.json +0 -1709
  129. package/support/run.ts +0 -16
  130. package/support/tests/__snapshots__/index.spec.ts.snap +0 -88066
  131. package/support/tests/index.spec.ts +0 -102
  132. package/support/token-transformer/format/javascript.ts +0 -22
  133. package/support/token-transformer/format/scss.ts +0 -81
  134. package/support/token-transformer/getThemes.ts +0 -41
  135. package/support/token-transformer/parse/expandComposites.test.ts +0 -144
  136. package/support/token-transformer/parse/expandComposites.ts +0 -72
  137. package/support/token-transformer/sd-run.ts +0 -191
  138. package/support/token-transformer/transform/nameCamelCase.test.ts +0 -36
  139. package/support/token-transformer/transform/nameCamelCase.ts +0 -15
  140. package/support/token-transformer/transform/nameKebabCase.test.ts +0 -36
  141. package/support/token-transformer/transform/nameKebabCase.ts +0 -26
  142. package/support/token-transformer/utils/compositeTokens.test.ts +0 -133
  143. package/support/token-transformer/utils/compositeTokens.ts +0 -103
  144. package/support/token-transformer/utils/convertTokenToStyleDictionaryFormat.ts +0 -20
  145. package/support/token-transformer/utils/matchList.ts +0 -11
  146. package/support/token-transformer/utils/parseName.ts +0 -18
  147. package/support/token-transformer/utils/parseTokenPath.ts +0 -19
  148. package/support/token-transformer/utils/regex.ts +0 -9
  149. package/support/token-transformer/utils/sortAllTokens.ts +0 -12
  150. package/support/token-transformer/utils/transformOptions.ts +0 -31
  151. package/tsconfig-base.json +0 -17
  152. package/tsconfig-eslint.json +0 -4
  153. package/tsconfig.json +0 -4
@@ -0,0 +1,342 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Sat, 02 Dec 2023 04:05:27 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-minus-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-minus-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-minus-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-minus-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-minus-1 {
95
+ @include calcite-typography;
96
+ line-height: var(--calcite-font-line-height-relative-snug);
97
+ }
98
+
99
+ @mixin calcite-typography-wrap-regular-minus-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-minus-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-minus-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-minus-1h {
185
+ @include calcite-typography;
186
+ font-weight: var(--calcite-font-weight-semibold);
187
+ }
188
+
189
+ @mixin calcite-typography-bold-minus-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-minus-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-minus-1h {
217
+ @include calcite-typography;
218
+ font-weight: var(--calcite-font-weight-medium);
219
+ }
220
+
221
+ @mixin calcite-typography-medium-minus-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-minus-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-minus-2h {
247
+ @include calcite-typography;
248
+ font-size: var(--calcite-font-size-sm);
249
+ }
250
+
251
+ @mixin calcite-typography-regular-minus-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-minus-1h {
272
+ @include calcite-typography;
273
+ font-weight: var(--calcite-font-weight-light);
274
+ }
275
+
276
+ @mixin calcite-typography-light-minus-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-minus-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-minus-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-minus-1;
310
+ }
311
+
312
+ @mixin calcite-typography-hierarchy-heading-5 {
313
+ @include calcite-typography-wrap-medium-minus-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-minus-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": "1.1.1-next.2",
3
+ "version": "2.0.0",
4
4
  "description": "Esri's Calcite Design System Tokens",
5
5
  "keywords": [
6
6
  "Calcite",
@@ -8,26 +8,12 @@
8
8
  "design tokens",
9
9
  "tokens"
10
10
  ],
11
- "main": "./dist/scss/calcite-headless.scss",
12
11
  "type": "module",
13
- "exports": {
14
- "./css": "./dist/css/calcite-headless.css",
15
- "./css/calcite/dark": "./dist/css/calcite-dark.css",
16
- "./css/calcite/light": "./dist/css/calcite-light.css",
17
- "./css/headless": "./dist/css/calcite-headless.css",
18
- "./scss": "./dist/scss/calcite-headless.scss",
19
- "./scss/calcite/dark": "./dist/scss/calcite-dark.scss",
20
- "./scss/calcite/light": "./dist/scss/calcite-light.scss",
21
- "./scss/headless": "./dist/scss/calcite-headless.scss",
22
- "./js": "./dist/js/calcite-headless.js",
23
- "./js/calcite/dark": "./dist/js/calcite-dark.js",
24
- "./js/calcite/light": "./dist/js/calcite-light.js",
25
- "./js/headless": "./dist/js/calcite-headless.js",
26
- "./es6": "./dist/es6/calcite-headless.js",
27
- "./es6/calcite/dark": "./dist/es6/calcite-dark.js",
28
- "./es6/calcite/light": "./dist/es6/calcite-light.js",
29
- "./es6/headless": "./dist/es6/calcite-headless.js"
30
- },
12
+ "main": "./dist/es6/global.js",
13
+ "types": "./dist/es6/global.d.ts",
14
+ "files": [
15
+ "./dist/**/*"
16
+ ],
31
17
  "repository": {
32
18
  "type": "git",
33
19
  "url": "git://github.com/Esri/calcite-design-system.git"
@@ -47,5 +33,5 @@
47
33
  "lint": "concurrently npm:lint:*",
48
34
  "test": "jest"
49
35
  },
50
- "gitHead": "fd9c44abf3a3fa43fb5c8904169a61f5aae5f687"
36
+ "gitHead": "6cc9a6deebf4ef1a09e4cc58fd481c6d5a893204"
51
37
  }
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
- };