@j2-health/design-system 0.5.4 → 0.6.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/dist/index.cjs +15 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.js +9 -2
- package/dist/index2.js +9 -2
- package/dist/src/components/alert/Alert.cjs +4 -2
- package/dist/src/components/alert/Alert.cjs.map +1 -1
- package/dist/src/components/alert/Alert.d.ts +2 -2
- package/dist/src/components/alert/Alert.js +3 -2
- package/dist/src/components/alert/Alert.js.map +1 -1
- package/dist/src/components/button/Button.cjs +7 -2
- package/dist/src/components/button/Button.cjs.map +1 -1
- package/dist/src/components/button/Button.d.ts +10 -2
- package/dist/src/components/button/Button.js +5 -2
- package/dist/src/components/button/Button.js.map +1 -1
- package/dist/src/components/card/Card.cjs +16 -2
- package/dist/src/components/card/Card.cjs.map +1 -1
- package/dist/src/components/card/Card.d.ts +7 -1
- package/dist/src/components/card/Card.js +16 -2
- package/dist/src/components/card/Card.js.map +1 -1
- package/dist/src/components/changeChip/ChangeChip.cjs +52 -0
- package/dist/src/components/changeChip/ChangeChip.cjs.map +1 -0
- package/dist/src/components/changeChip/ChangeChip.d.ts +40 -0
- package/dist/src/components/changeChip/ChangeChip.js +49 -0
- package/dist/src/components/changeChip/ChangeChip.js.map +1 -0
- package/dist/src/components/changeChip/index.d.ts +1 -0
- package/dist/src/components/collapse/Collapse.cjs +9 -2
- package/dist/src/components/collapse/Collapse.cjs.map +1 -1
- package/dist/src/components/collapse/Collapse.d.ts +7 -1
- package/dist/src/components/collapse/Collapse.js +9 -2
- package/dist/src/components/collapse/Collapse.js.map +1 -1
- package/dist/src/components/collapse/Collapse.module.css.cjs +7 -4
- package/dist/src/components/collapse/Collapse.module.css.cjs.map +1 -1
- package/dist/src/components/collapse/Collapse.module.css.js +7 -5
- package/dist/src/components/collapse/Collapse.module.css.js.map +1 -1
- package/dist/src/components/dropdown/Dropdown.cjs +6 -1
- package/dist/src/components/dropdown/Dropdown.cjs.map +1 -1
- package/dist/src/components/dropdown/Dropdown.d.ts +8 -1
- package/dist/src/components/dropdown/Dropdown.js +6 -1
- package/dist/src/components/dropdown/Dropdown.js.map +1 -1
- package/dist/src/components/emptyState/EmptyState.cjs +39 -0
- package/dist/src/components/emptyState/EmptyState.cjs.map +1 -0
- package/dist/src/components/emptyState/EmptyState.d.ts +20 -0
- package/dist/src/components/emptyState/EmptyState.js +37 -0
- package/dist/src/components/emptyState/EmptyState.js.map +1 -0
- package/dist/src/components/emptyState/index.d.ts +1 -0
- package/dist/src/components/input/AntdInput.d.ts +1 -1
- package/dist/src/components/input/AntdSearchInput.d.ts +1 -1
- package/dist/src/components/listRow/ListRow.cjs +65 -0
- package/dist/src/components/listRow/ListRow.cjs.map +1 -0
- package/dist/src/components/listRow/ListRow.d.ts +41 -0
- package/dist/src/components/listRow/ListRow.js +63 -0
- package/dist/src/components/listRow/ListRow.js.map +1 -0
- package/dist/src/components/listRow/index.d.ts +1 -0
- package/dist/src/components/modal/Modal.cjs +9 -3
- package/dist/src/components/modal/Modal.cjs.map +1 -1
- package/dist/src/components/modal/Modal.d.ts +3 -1
- package/dist/src/components/modal/Modal.js +10 -4
- package/dist/src/components/modal/Modal.js.map +1 -1
- package/dist/src/components/navMenu/NavMenu.cjs +2 -2
- package/dist/src/components/navMenu/NavMenu.cjs.map +1 -1
- package/dist/src/components/navMenu/NavMenu.d.ts +3 -1
- package/dist/src/components/navMenu/NavMenu.js +2 -2
- package/dist/src/components/navMenu/NavMenu.js.map +1 -1
- package/dist/src/components/popover/Popover.cjs.map +1 -1
- package/dist/src/components/popover/Popover.d.ts +1 -1
- package/dist/src/components/popover/Popover.js.map +1 -1
- package/dist/src/components/popover/Popover.module.css.cjs +12 -9
- package/dist/src/components/popover/Popover.module.css.cjs.map +1 -1
- package/dist/src/components/popover/Popover.module.css.js +12 -10
- package/dist/src/components/popover/Popover.module.css.js.map +1 -1
- package/dist/src/components/select/SummarizedSelect.cjs +16 -12
- package/dist/src/components/select/SummarizedSelect.cjs.map +1 -1
- package/dist/src/components/select/SummarizedSelect.d.ts +15 -3
- package/dist/src/components/select/SummarizedSelect.js +16 -12
- package/dist/src/components/select/SummarizedSelect.js.map +1 -1
- package/dist/src/components/select/SummarizedSelect.module.css.cjs +15 -9
- package/dist/src/components/select/SummarizedSelect.module.css.cjs.map +1 -1
- package/dist/src/components/select/SummarizedSelect.module.css.js +14 -10
- package/dist/src/components/select/SummarizedSelect.module.css.js.map +1 -1
- package/dist/src/components/statusPill/StatusPill.cjs +47 -0
- package/dist/src/components/statusPill/StatusPill.cjs.map +1 -0
- package/dist/src/components/statusPill/StatusPill.d.ts +28 -0
- package/dist/src/components/statusPill/StatusPill.js +45 -0
- package/dist/src/components/statusPill/StatusPill.js.map +1 -0
- package/dist/src/components/statusPill/StatusPill.module.css.cjs +20 -0
- package/dist/src/components/statusPill/StatusPill.module.css.cjs.map +1 -0
- package/dist/src/components/statusPill/StatusPill.module.css.js +16 -0
- package/dist/src/components/statusPill/StatusPill.module.css.js.map +1 -0
- package/dist/src/components/statusPill/index.d.ts +1 -0
- package/dist/src/components/swatch/Swatch.cjs +50 -0
- package/dist/src/components/swatch/Swatch.cjs.map +1 -0
- package/dist/src/components/swatch/Swatch.d.ts +24 -0
- package/dist/src/components/swatch/Swatch.js +48 -0
- package/dist/src/components/swatch/Swatch.js.map +1 -0
- package/dist/src/components/swatch/index.d.ts +1 -0
- package/dist/src/components/swatchStrip/SwatchStrip.cjs +50 -0
- package/dist/src/components/swatchStrip/SwatchStrip.cjs.map +1 -0
- package/dist/src/components/swatchStrip/SwatchStrip.d.ts +25 -0
- package/dist/src/components/swatchStrip/SwatchStrip.js +50 -0
- package/dist/src/components/swatchStrip/SwatchStrip.js.map +1 -0
- package/dist/src/components/swatchStrip/index.d.ts +1 -0
- package/dist/src/components/switch/Switch.cjs +7 -3
- package/dist/src/components/switch/Switch.cjs.map +1 -1
- package/dist/src/components/switch/Switch.d.ts +1 -1
- package/dist/src/components/switch/Switch.js +5 -3
- package/dist/src/components/switch/Switch.js.map +1 -1
- package/dist/src/components/tabs/Tabs.cjs +6 -1
- package/dist/src/components/tabs/Tabs.cjs.map +1 -1
- package/dist/src/components/tabs/Tabs.d.ts +10 -2
- package/dist/src/components/tabs/Tabs.js +4 -1
- package/dist/src/components/tabs/Tabs.js.map +1 -1
- package/dist/src/components/tabs/Tabs.module.css.cjs +13 -0
- package/dist/src/components/tabs/Tabs.module.css.cjs.map +1 -0
- package/dist/src/components/tabs/Tabs.module.css.js +11 -0
- package/dist/src/components/tabs/Tabs.module.css.js.map +1 -0
- package/dist/src/components/tag/Tag.cjs +13 -6
- package/dist/src/components/tag/Tag.cjs.map +1 -1
- package/dist/src/components/tag/Tag.d.ts +13 -2
- package/dist/src/components/tag/Tag.js +13 -6
- package/dist/src/components/tag/Tag.js.map +1 -1
- package/dist/src/components/thresholdBar/ThresholdBar.cjs +128 -0
- package/dist/src/components/thresholdBar/ThresholdBar.cjs.map +1 -0
- package/dist/src/components/thresholdBar/ThresholdBar.d.ts +36 -0
- package/dist/src/components/thresholdBar/ThresholdBar.js +125 -0
- package/dist/src/components/thresholdBar/ThresholdBar.js.map +1 -0
- package/dist/src/components/thresholdBar/ThresholdBar.module.css.cjs +19 -0
- package/dist/src/components/thresholdBar/ThresholdBar.module.css.cjs.map +1 -0
- package/dist/src/components/thresholdBar/ThresholdBar.module.css.js +15 -0
- package/dist/src/components/thresholdBar/ThresholdBar.module.css.js.map +1 -0
- package/dist/src/components/thresholdBar/index.d.ts +1 -0
- package/dist/src/index.d.ts +0 -13
- package/dist/style.css +346 -41
- package/dist/tailwind.cjs +56 -0
- package/dist/tailwind.cjs.map +1 -1
- package/dist/tailwind.config.d.ts +112 -0
- package/dist/tailwind.js +56 -0
- package/dist/tailwind.js.map +1 -1
- package/package.json +2 -2
- package/src/stylesheets/Colors.stories.tsx +163 -0
- package/src/stylesheets/base.css +110 -0
package/dist/style.css
CHANGED
|
@@ -106,6 +106,34 @@
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
+
|
|
110
|
+
/* Extra small: 20px, for dense toolbars and bands. */
|
|
111
|
+
.ant-btn.j2-btn-xs {
|
|
112
|
+
height: 20px;
|
|
113
|
+
padding-inline: 6px;
|
|
114
|
+
font-size: var(--j2-font-size-sm);
|
|
115
|
+
gap: 4px;
|
|
116
|
+
|
|
117
|
+
&.ant-btn-icon-only {
|
|
118
|
+
width: 20px;
|
|
119
|
+
padding-inline: 0;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.ant-btn-icon svg {
|
|
123
|
+
width: 12px;
|
|
124
|
+
height: 12px;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* Inline link: sits in a line of text. */
|
|
129
|
+
.ant-btn.j2-btn-inline {
|
|
130
|
+
height: auto;
|
|
131
|
+
padding: 0;
|
|
132
|
+
border: 0;
|
|
133
|
+
font-size: inherit;
|
|
134
|
+
line-height: inherit;
|
|
135
|
+
vertical-align: baseline;
|
|
136
|
+
}
|
|
109
137
|
.ant-card:not(.ant-card-bordered) {
|
|
110
138
|
box-shadow: none;
|
|
111
139
|
|
|
@@ -197,49 +225,117 @@
|
|
|
197
225
|
}
|
|
198
226
|
}
|
|
199
227
|
}
|
|
200
|
-
|
|
201
|
-
.
|
|
202
|
-
.
|
|
228
|
+
|
|
229
|
+
/* Selected: the chosen card of a set. */
|
|
230
|
+
.ant-card.j2-card-selected,
|
|
231
|
+
.ant-card.j2-card-selected:hover {
|
|
232
|
+
border-color: var(--j2-color-primary);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.ant-card.j2-card-selectable {
|
|
236
|
+
cursor: pointer;
|
|
237
|
+
transition:
|
|
238
|
+
border-color 0.2s,
|
|
239
|
+
box-shadow 0.2s;
|
|
240
|
+
|
|
241
|
+
&:focus-visible {
|
|
242
|
+
outline: 2px solid var(--j2-color-primary);
|
|
243
|
+
outline-offset: 2px;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
._default_4jnb6_1 .ant-collapse-title,
|
|
247
|
+
._warning_4jnb6_2 .ant-collapse-title,
|
|
248
|
+
._error_4jnb6_3 .ant-collapse-title {
|
|
203
249
|
display: flex;
|
|
204
250
|
align-items: center;
|
|
205
251
|
gap: var(--j2-size-xs);
|
|
206
252
|
}
|
|
207
253
|
|
|
208
254
|
/* Warning state */
|
|
209
|
-
.
|
|
255
|
+
._warning_4jnb6_2.ant-collapse {
|
|
210
256
|
border-color: var(--j2-color-warning-border);
|
|
211
257
|
background-color: var(--j2-color-warning-bg);
|
|
212
258
|
}
|
|
213
259
|
|
|
214
|
-
.
|
|
260
|
+
._warning_4jnb6_2 .ant-collapse-item {
|
|
215
261
|
border-bottom-color: var(--j2-color-warning-border) !important;
|
|
216
262
|
}
|
|
217
263
|
|
|
218
|
-
.
|
|
264
|
+
._warning_4jnb6_2 .ant-collapse-panel {
|
|
219
265
|
border-top-color: var(--j2-color-warning-border) !important;
|
|
220
266
|
}
|
|
221
267
|
|
|
222
|
-
.
|
|
268
|
+
._warning_4jnb6_2 .ant-collapse-header {
|
|
223
269
|
color: var(--j2-color-text) !important;
|
|
224
270
|
}
|
|
225
271
|
|
|
226
272
|
/* Error state */
|
|
227
|
-
.
|
|
273
|
+
._error_4jnb6_3.ant-collapse {
|
|
228
274
|
border-color: var(--j2-color-error-border);
|
|
229
275
|
background-color: var(--j2-color-error-bg);
|
|
230
276
|
}
|
|
231
277
|
|
|
232
|
-
.
|
|
278
|
+
._error_4jnb6_3 .ant-collapse-item {
|
|
233
279
|
border-bottom-color: var(--j2-color-error-border) !important;
|
|
234
280
|
}
|
|
235
281
|
|
|
236
|
-
.
|
|
282
|
+
._error_4jnb6_3 .ant-collapse-panel {
|
|
237
283
|
border-top-color: var(--j2-color-error-border) !important;
|
|
238
284
|
}
|
|
239
285
|
|
|
240
|
-
.
|
|
286
|
+
._error_4jnb6_3 .ant-collapse-header {
|
|
241
287
|
color: var(--j2-color-text) !important;
|
|
242
288
|
}
|
|
289
|
+
|
|
290
|
+
/*
|
|
291
|
+
* Section variant
|
|
292
|
+
* A 28px gray band with a rule above and below, a caption label, and the
|
|
293
|
+
* caret at the end. The body is flush and white so its content (a table, a
|
|
294
|
+
* list) draws its own edges.
|
|
295
|
+
*/
|
|
296
|
+
._section_4jnb6_51.ant-collapse > .ant-collapse-item {
|
|
297
|
+
border-bottom: 0;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
._section_4jnb6_51 .ant-collapse-header {
|
|
301
|
+
min-height: 28px;
|
|
302
|
+
padding: 0 12px !important;
|
|
303
|
+
align-items: center !important;
|
|
304
|
+
background: var(--j2-gray-2);
|
|
305
|
+
border-top: 1px solid var(--j2-color-border-secondary);
|
|
306
|
+
border-bottom: 1px solid var(--j2-color-border-secondary);
|
|
307
|
+
border-radius: 0 !important;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
._section_4jnb6_51 .ant-collapse-item + .ant-collapse-item .ant-collapse-header {
|
|
311
|
+
border-top: 0;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
._section_4jnb6_51 .ant-collapse-title {
|
|
315
|
+
display: flex;
|
|
316
|
+
align-items: center;
|
|
317
|
+
font-size: var(--j2-font-size-xs);
|
|
318
|
+
line-height: var(--j2-line-height-xs);
|
|
319
|
+
font-weight: 500;
|
|
320
|
+
letter-spacing: 0.05em;
|
|
321
|
+
text-transform: uppercase;
|
|
322
|
+
color: var(--j2-color-text-secondary);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
._section_4jnb6_51 .ant-collapse-expand-icon {
|
|
326
|
+
height: auto !important;
|
|
327
|
+
padding-inline-start: 8px !important;
|
|
328
|
+
color: var(--j2-color-text-secondary);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
._section_4jnb6_51 .ant-collapse-body {
|
|
332
|
+
padding: 0 !important;
|
|
333
|
+
background: white;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
._section_4jnb6_51 .ant-collapse-panel {
|
|
337
|
+
border-bottom: 1px solid var(--j2-color-border-secondary);
|
|
338
|
+
}
|
|
243
339
|
.j2-drawer {
|
|
244
340
|
.ant-drawer-header {
|
|
245
341
|
height: 64px;
|
|
@@ -336,29 +432,33 @@
|
|
|
336
432
|
}
|
|
337
433
|
}
|
|
338
434
|
}
|
|
339
|
-
.
|
|
435
|
+
._j2Popover_r2pkr_1 {
|
|
340
436
|
.ant-popover-container {
|
|
341
437
|
padding: var(--j2-padding-lg);
|
|
342
438
|
}
|
|
343
439
|
|
|
344
|
-
&.
|
|
345
|
-
&.
|
|
440
|
+
&._smallPadding_r2pkr_6,
|
|
441
|
+
&._smPadding_r2pkr_7 .ant-popover-container {
|
|
346
442
|
padding: var(--j2-padding-sm);
|
|
347
443
|
}
|
|
348
444
|
|
|
349
|
-
&.
|
|
445
|
+
&._nonePadding_r2pkr_11 .ant-popover-container {
|
|
446
|
+
padding: 0;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
&._xxsPadding_r2pkr_15 .ant-popover-container {
|
|
350
450
|
padding: var(--j2-padding-xxs);
|
|
351
451
|
}
|
|
352
452
|
|
|
353
|
-
&.
|
|
453
|
+
&._xsPadding_r2pkr_19 .ant-popover-container {
|
|
354
454
|
padding: var(--j2-padding-xs);
|
|
355
455
|
}
|
|
356
456
|
|
|
357
|
-
&.
|
|
457
|
+
&._mdPadding_r2pkr_23 .ant-popover-container {
|
|
358
458
|
padding: var(--j2-padding-md);
|
|
359
459
|
}
|
|
360
460
|
|
|
361
|
-
&.
|
|
461
|
+
&._xlPadding_r2pkr_27 .ant-popover-container {
|
|
362
462
|
padding: var(--j2-padding-xl);
|
|
363
463
|
}
|
|
364
464
|
|
|
@@ -369,13 +469,13 @@
|
|
|
369
469
|
}
|
|
370
470
|
}
|
|
371
471
|
|
|
372
|
-
.
|
|
472
|
+
._popoverHeader_r2pkr_38 {
|
|
373
473
|
box-shadow: 0 2px 4px rgb(0 0 0 / 0.05);
|
|
374
474
|
border-radius: var(--j2-border-radius) var(--j2-border-radius) 0 0;
|
|
375
475
|
font-weight: bold;
|
|
376
476
|
}
|
|
377
477
|
|
|
378
|
-
.
|
|
478
|
+
._scrollable_r2pkr_44 {
|
|
379
479
|
.ant-popover-container {
|
|
380
480
|
padding: 0;
|
|
381
481
|
}
|
|
@@ -686,7 +786,13 @@
|
|
|
686
786
|
.ant-tag .anticon + span {
|
|
687
787
|
margin-inline-start: var(--j2-margin-xxs);
|
|
688
788
|
}
|
|
689
|
-
|
|
789
|
+
|
|
790
|
+
/* Solid: a filled badge. White, bold text on the status color (or `color`). */
|
|
791
|
+
.ant-tag.j2-tag-solid {
|
|
792
|
+
color: white;
|
|
793
|
+
font-weight: 700;
|
|
794
|
+
}
|
|
795
|
+
._hemisphericSelect_1jnt4_1 {
|
|
690
796
|
border-radius: 9999px !important;
|
|
691
797
|
|
|
692
798
|
.ant-select-placeholder {
|
|
@@ -694,7 +800,7 @@
|
|
|
694
800
|
}
|
|
695
801
|
}
|
|
696
802
|
|
|
697
|
-
.
|
|
803
|
+
._summarizedSelect_1jnt4_9 {
|
|
698
804
|
.ant-select-suffix {
|
|
699
805
|
color: var(--j2-color-primary);
|
|
700
806
|
}
|
|
@@ -731,7 +837,7 @@
|
|
|
731
837
|
}
|
|
732
838
|
}
|
|
733
839
|
|
|
734
|
-
.
|
|
840
|
+
._isActive_1jnt4_46 {
|
|
735
841
|
background: var(--j2-color-primary) !important;
|
|
736
842
|
|
|
737
843
|
.ant-select-selection-item-content {
|
|
@@ -743,21 +849,21 @@
|
|
|
743
849
|
}
|
|
744
850
|
}
|
|
745
851
|
|
|
746
|
-
.
|
|
852
|
+
._menuContainer_1jnt4_58 .ant-select-item-option-selected {
|
|
747
853
|
background: var(--j2-color-primary) !important;
|
|
748
854
|
}
|
|
749
855
|
|
|
750
|
-
.
|
|
856
|
+
._menuContainer_1jnt4_58
|
|
751
857
|
.ant-select-item-option-selected
|
|
752
858
|
.ant-select-item-option-content {
|
|
753
859
|
color: white;
|
|
754
860
|
}
|
|
755
861
|
|
|
756
|
-
.
|
|
862
|
+
._menuContainerMultiple_1jnt4_68 .ant-select-item-option-selected {
|
|
757
863
|
background: var(--j2-color-primary-bg-hover) !important;
|
|
758
864
|
}
|
|
759
865
|
|
|
760
|
-
.
|
|
866
|
+
._menuContainerMultiple_1jnt4_68
|
|
761
867
|
.ant-select-item-option-selected
|
|
762
868
|
.ant-select-item-option-content {
|
|
763
869
|
color: inherit;
|
|
@@ -768,14 +874,14 @@
|
|
|
768
874
|
* The select root owns its border and background in Ant Design 6.
|
|
769
875
|
*/
|
|
770
876
|
|
|
771
|
-
.
|
|
877
|
+
._headlinedSelect_1jnt4_83.ant-select.ant-select-single {
|
|
772
878
|
font-size: var(--j2-font-size-heading-2);
|
|
773
879
|
height: 40px;
|
|
774
880
|
width: -moz-fit-content !important;
|
|
775
881
|
width: fit-content !important;
|
|
776
882
|
}
|
|
777
883
|
|
|
778
|
-
.
|
|
884
|
+
._headlinedSelect_1jnt4_83.ant-select {
|
|
779
885
|
background: transparent;
|
|
780
886
|
padding-left: 0;
|
|
781
887
|
padding-right: 4px;
|
|
@@ -784,13 +890,13 @@
|
|
|
784
890
|
border-radius: 0;
|
|
785
891
|
}
|
|
786
892
|
|
|
787
|
-
.
|
|
893
|
+
._headlinedSelect_1jnt4_83.ant-select .ant-select-suffix {
|
|
788
894
|
height: 16px;
|
|
789
895
|
width: 16px;
|
|
790
896
|
right: 0;
|
|
791
897
|
}
|
|
792
898
|
|
|
793
|
-
.
|
|
899
|
+
._headlinedSelect_1jnt4_83.ant-select .ant-select-content {
|
|
794
900
|
font-weight: 600;
|
|
795
901
|
line-height: 1.3;
|
|
796
902
|
}
|
|
@@ -800,45 +906,130 @@
|
|
|
800
906
|
too, so every click boxed the headline. The underline below already marks
|
|
801
907
|
focus. `!important` because antd's status variants of that rule reach
|
|
802
908
|
(0,5,1) specificity. */
|
|
803
|
-
.
|
|
909
|
+
._headlinedSelect_1jnt4_83.ant-select {
|
|
804
910
|
outline: none !important;
|
|
805
911
|
}
|
|
806
912
|
|
|
807
913
|
/* Hover state - show underline */
|
|
808
|
-
.
|
|
914
|
+
._headlinedSelect_1jnt4_83.ant-select:hover {
|
|
809
915
|
border-bottom-color: var(--j2-color-primary);
|
|
810
916
|
}
|
|
811
917
|
|
|
812
918
|
/* Open/focused state - keep underline and text color */
|
|
813
|
-
.
|
|
814
|
-
.
|
|
919
|
+
._headlinedSelect_1jnt4_83.ant-select-open,
|
|
920
|
+
._headlinedSelect_1jnt4_83.ant-select-focused {
|
|
815
921
|
border-bottom-color: var(--j2-color-primary);
|
|
816
922
|
}
|
|
817
923
|
|
|
818
|
-
.
|
|
819
|
-
.
|
|
924
|
+
._headlinedSelect_1jnt4_83.ant-select-open .ant-select-content,
|
|
925
|
+
._headlinedSelect_1jnt4_83.ant-select-focused .ant-select-content {
|
|
820
926
|
color: inherit;
|
|
821
927
|
}
|
|
822
928
|
|
|
823
929
|
/* Headline dropdown styles - needs !important to override .menuContainer */
|
|
824
|
-
.
|
|
930
|
+
._menuContainer_1jnt4_58._headlinedMenuContainer_1jnt4_135
|
|
825
931
|
.ant-select-item-option-selected {
|
|
826
932
|
background: var(--j2-color-primary) !important;
|
|
827
933
|
}
|
|
828
934
|
|
|
829
|
-
.
|
|
935
|
+
._menuContainer_1jnt4_58._headlinedMenuContainer_1jnt4_135
|
|
830
936
|
.ant-select-item-option-selected
|
|
831
937
|
.ant-select-item-option-content {
|
|
832
938
|
color: white;
|
|
833
939
|
}
|
|
834
940
|
|
|
835
|
-
.
|
|
941
|
+
._clearAllButton_1jnt4_146 {
|
|
836
942
|
color: var(--j2-color-primary);
|
|
837
943
|
}
|
|
838
944
|
|
|
839
|
-
.
|
|
945
|
+
._clearAllButton_1jnt4_146:hover {
|
|
840
946
|
background-color: var(--j2-color-primary-bg-hover);
|
|
841
947
|
}
|
|
948
|
+
|
|
949
|
+
/*
|
|
950
|
+
* Dropdown trigger (`trigger="dropdown"`)
|
|
951
|
+
* Reads as emphasized text with an affordance, not as a link: semibold
|
|
952
|
+
* primary text, no underline, and a fade on hover instead of a color shift.
|
|
953
|
+
* Weight sits in the `components` layer so a consumer utility such as
|
|
954
|
+
* `font-normal` on `rootClassName` still wins: Tailwind 4 emits utilities in
|
|
955
|
+
* a later native layer, and Tailwind 3's are unlayered, which beats any layer.
|
|
956
|
+
* Color stays unlayered, with `.ant-typography`, to beat antd's link color.
|
|
957
|
+
*/
|
|
958
|
+
@layer components {
|
|
959
|
+
._dropdownTrigger_1jnt4_164 {
|
|
960
|
+
font-weight: 600;
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
._dropdownTrigger_1jnt4_164.ant-typography,
|
|
965
|
+
._dropdownTrigger_1jnt4_164.ant-typography:hover,
|
|
966
|
+
._dropdownTrigger_1jnt4_164.ant-typography:focus {
|
|
967
|
+
color: var(--j2-color-primary);
|
|
968
|
+
text-decoration: none;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
._dropdownTrigger_1jnt4_164.ant-typography:hover {
|
|
972
|
+
opacity: 0.7;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
._dropdownTrigger_1jnt4_164.ant-typography-disabled,
|
|
976
|
+
._dropdownTrigger_1jnt4_164.ant-typography-disabled:hover {
|
|
977
|
+
color: var(--j2-color-text-disabled);
|
|
978
|
+
opacity: 1;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
/*
|
|
982
|
+
* Field variant (`variant="field"`)
|
|
983
|
+
* A form field: full width, the field's own text color, a muted caret.
|
|
984
|
+
*/
|
|
985
|
+
._fieldSelect_1jnt4_190 .ant-select-suffix {
|
|
986
|
+
color: var(--j2-color-text-secondary);
|
|
987
|
+
}
|
|
988
|
+
._pill_16f8w_1 {
|
|
989
|
+
display: inline-flex;
|
|
990
|
+
align-items: center;
|
|
991
|
+
gap: 8px;
|
|
992
|
+
height: 24px;
|
|
993
|
+
padding: 0 8px;
|
|
994
|
+
border: 1px solid var(--j2-color-border);
|
|
995
|
+
border-radius: var(--j2-border-radius-sm);
|
|
996
|
+
background: var(--j2-color-bg-elevated, white);
|
|
997
|
+
color: var(--j2-color-text);
|
|
998
|
+
font-size: var(--j2-font-size);
|
|
999
|
+
white-space: nowrap;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
._warning_16f8w_15 {
|
|
1003
|
+
background: var(--j2-color-warning-bg);
|
|
1004
|
+
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
._disabled_16f8w_20 {
|
|
1008
|
+
color: var(--j2-color-text-disabled);
|
|
1009
|
+
background: var(--j2-color-bg-container-disabled);
|
|
1010
|
+
pointer-events: none;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
._label_16f8w_26,
|
|
1014
|
+
._static_16f8w_27 {
|
|
1015
|
+
display: inline-flex;
|
|
1016
|
+
align-items: baseline;
|
|
1017
|
+
gap: 8px;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
._label_16f8w_26 {
|
|
1021
|
+
padding: 0;
|
|
1022
|
+
border: 0;
|
|
1023
|
+
background: transparent;
|
|
1024
|
+
color: inherit;
|
|
1025
|
+
font: inherit;
|
|
1026
|
+
cursor: pointer;
|
|
1027
|
+
transition: opacity 0.2s;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
._label_16f8w_26:hover {
|
|
1031
|
+
opacity: 0.8;
|
|
1032
|
+
}
|
|
842
1033
|
.j2Steps {
|
|
843
1034
|
.ant-steps-item-icon {
|
|
844
1035
|
display: flex;
|
|
@@ -932,6 +1123,28 @@
|
|
|
932
1123
|
flex-shrink: 0 !important;
|
|
933
1124
|
}
|
|
934
1125
|
}
|
|
1126
|
+
|
|
1127
|
+
/*
|
|
1128
|
+
* Labelled: text inside the track (`checkedChildren` / `unCheckedChildren`,
|
|
1129
|
+
* e.g. "Off"). The track grows to fit the word instead of clipping it.
|
|
1130
|
+
*/
|
|
1131
|
+
.j2-switch.j2-switch-labelled {
|
|
1132
|
+
&.ant-switch {
|
|
1133
|
+
width: auto !important;
|
|
1134
|
+
min-width: 52px !important;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
&.ant-switch-small {
|
|
1138
|
+
min-width: 42px !important;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
&.ant-switch-small .ant-switch-inner-checked,
|
|
1142
|
+
&.ant-switch-small .ant-switch-inner-unchecked {
|
|
1143
|
+
font-size: var(--j2-font-size-xs) !important;
|
|
1144
|
+
line-height: 16px !important;
|
|
1145
|
+
font-weight: 500;
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
935
1148
|
/* antd 6 renamed the pinned-cell classes: fix-left/-right became
|
|
936
1149
|
fix-start/-end, and the last start-pinned cell carries fix-start-shadow
|
|
937
1150
|
(formerly fix-left-last). */
|
|
@@ -1000,6 +1213,98 @@
|
|
|
1000
1213
|
.ant-table-column-sorters {
|
|
1001
1214
|
margin-right: 1rem !important;
|
|
1002
1215
|
}
|
|
1216
|
+
/* Flush: content sits against the tab bar and fills the remaining height. */
|
|
1217
|
+
._flush_1bifh_2 {
|
|
1218
|
+
display: flex;
|
|
1219
|
+
flex-direction: column;
|
|
1220
|
+
height: 100%;
|
|
1221
|
+
|
|
1222
|
+
.ant-tabs-nav {
|
|
1223
|
+
margin-bottom: 0;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
.ant-tabs-content-holder {
|
|
1227
|
+
flex: 1;
|
|
1228
|
+
min-height: 0;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
.ant-tabs-content,
|
|
1232
|
+
.ant-tabs-tabpane {
|
|
1233
|
+
height: 100%;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
.ant-tabs-tabpane {
|
|
1237
|
+
padding: 0;
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
/* Justified: the tabs share the bar's width equally. */
|
|
1242
|
+
._justified_1bifh_27 {
|
|
1243
|
+
.ant-tabs-nav-list {
|
|
1244
|
+
flex: 1;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
.ant-tabs-tab {
|
|
1248
|
+
flex: 1;
|
|
1249
|
+
justify-content: center;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
.ant-tabs-tab + .ant-tabs-tab {
|
|
1253
|
+
margin-inline-start: 0;
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
._move_14qe5_1 {
|
|
1257
|
+
transition: all 0.5s ease-out;
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
/*
|
|
1261
|
+
* The projected segment: diagonal stripes that drift and pulse, so it reads
|
|
1262
|
+
* as "could be" next to the solid "is". No background-size: the gradient
|
|
1263
|
+
* already repeats, and a tile size would show seams.
|
|
1264
|
+
*/
|
|
1265
|
+
._stripes_14qe5_10 {
|
|
1266
|
+
background-color: var(--j2-stripes-fill);
|
|
1267
|
+
background-image: repeating-linear-gradient(
|
|
1268
|
+
45deg,
|
|
1269
|
+
var(--j2-stripes-stripe) 0,
|
|
1270
|
+
var(--j2-stripes-stripe) 4px,
|
|
1271
|
+
transparent 4px,
|
|
1272
|
+
transparent 8px
|
|
1273
|
+
);
|
|
1274
|
+
animation:
|
|
1275
|
+
_stripeShimmer_14qe5_1 3s linear infinite,
|
|
1276
|
+
_stripePulse_14qe5_1 2.6s ease-in-out infinite;
|
|
1277
|
+
will-change: background-position, opacity;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
/* One stripe period along x (8px × √2), so the loop reset is invisible. */
|
|
1281
|
+
@keyframes _stripeShimmer_14qe5_1 {
|
|
1282
|
+
from {
|
|
1283
|
+
background-position-x: 0;
|
|
1284
|
+
}
|
|
1285
|
+
to {
|
|
1286
|
+
background-position-x: calc(8px * 1.41421356);
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
@keyframes _stripePulse_14qe5_1 {
|
|
1291
|
+
0%,
|
|
1292
|
+
100% {
|
|
1293
|
+
opacity: 1;
|
|
1294
|
+
}
|
|
1295
|
+
50% {
|
|
1296
|
+
opacity: 0.82;
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1301
|
+
._stripes_14qe5_10,
|
|
1302
|
+
._move_14qe5_1 {
|
|
1303
|
+
animation: none;
|
|
1304
|
+
transition: none;
|
|
1305
|
+
will-change: auto;
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1003
1308
|
/* User section */
|
|
1004
1309
|
._userSection_r06sp_2 {
|
|
1005
1310
|
padding: 12px 0;
|
package/dist/tailwind.cjs
CHANGED
|
@@ -70,6 +70,62 @@ var tailwindPreset = { theme: {
|
|
|
70
70
|
"red-10": "var(--j2-red-10)",
|
|
71
71
|
"red-11": "var(--j2-red-11)",
|
|
72
72
|
"red-12": "var(--j2-red-12)",
|
|
73
|
+
"interval-1-1": "var(--j2-color-interval-1-1)",
|
|
74
|
+
"interval-2-1": "var(--j2-color-interval-2-1)",
|
|
75
|
+
"interval-2-2": "var(--j2-color-interval-2-2)",
|
|
76
|
+
"interval-3-1": "var(--j2-color-interval-3-1)",
|
|
77
|
+
"interval-3-2": "var(--j2-color-interval-3-2)",
|
|
78
|
+
"interval-3-3": "var(--j2-color-interval-3-3)",
|
|
79
|
+
"interval-4-1": "var(--j2-color-interval-4-1)",
|
|
80
|
+
"interval-4-2": "var(--j2-color-interval-4-2)",
|
|
81
|
+
"interval-4-3": "var(--j2-color-interval-4-3)",
|
|
82
|
+
"interval-4-4": "var(--j2-color-interval-4-4)",
|
|
83
|
+
"interval-5-1": "var(--j2-color-interval-5-1)",
|
|
84
|
+
"interval-5-2": "var(--j2-color-interval-5-2)",
|
|
85
|
+
"interval-5-3": "var(--j2-color-interval-5-3)",
|
|
86
|
+
"interval-5-4": "var(--j2-color-interval-5-4)",
|
|
87
|
+
"interval-5-5": "var(--j2-color-interval-5-5)",
|
|
88
|
+
"interval-6-1": "var(--j2-color-interval-6-1)",
|
|
89
|
+
"interval-6-2": "var(--j2-color-interval-6-2)",
|
|
90
|
+
"interval-6-3": "var(--j2-color-interval-6-3)",
|
|
91
|
+
"interval-6-4": "var(--j2-color-interval-6-4)",
|
|
92
|
+
"interval-6-5": "var(--j2-color-interval-6-5)",
|
|
93
|
+
"interval-6-6": "var(--j2-color-interval-6-6)",
|
|
94
|
+
"interval-7-1": "var(--j2-color-interval-7-1)",
|
|
95
|
+
"interval-7-2": "var(--j2-color-interval-7-2)",
|
|
96
|
+
"interval-7-3": "var(--j2-color-interval-7-3)",
|
|
97
|
+
"interval-7-4": "var(--j2-color-interval-7-4)",
|
|
98
|
+
"interval-7-5": "var(--j2-color-interval-7-5)",
|
|
99
|
+
"interval-7-6": "var(--j2-color-interval-7-6)",
|
|
100
|
+
"interval-7-7": "var(--j2-color-interval-7-7)",
|
|
101
|
+
"ramp-orange-1": "var(--j2-color-ramp-orange-1)",
|
|
102
|
+
"ramp-orange-2": "var(--j2-color-ramp-orange-2)",
|
|
103
|
+
"ramp-orange-3": "var(--j2-color-ramp-orange-3)",
|
|
104
|
+
"ramp-orange-4": "var(--j2-color-ramp-orange-4)",
|
|
105
|
+
"ramp-orange-5": "var(--j2-color-ramp-orange-5)",
|
|
106
|
+
"ramp-blue-1": "var(--j2-color-ramp-blue-1)",
|
|
107
|
+
"ramp-blue-2": "var(--j2-color-ramp-blue-2)",
|
|
108
|
+
"ramp-blue-3": "var(--j2-color-ramp-blue-3)",
|
|
109
|
+
"ramp-blue-4": "var(--j2-color-ramp-blue-4)",
|
|
110
|
+
"ramp-blue-5": "var(--j2-color-ramp-blue-5)",
|
|
111
|
+
"ramp-green-1": "var(--j2-color-ramp-green-1)",
|
|
112
|
+
"ramp-green-2": "var(--j2-color-ramp-green-2)",
|
|
113
|
+
"ramp-green-3": "var(--j2-color-ramp-green-3)",
|
|
114
|
+
"ramp-green-4": "var(--j2-color-ramp-green-4)",
|
|
115
|
+
"ramp-green-5": "var(--j2-color-ramp-green-5)",
|
|
116
|
+
"binary-positive": "var(--j2-color-binary-positive)",
|
|
117
|
+
"binary-negative": "var(--j2-color-binary-negative)",
|
|
118
|
+
"binary-alt-positive": "var(--j2-color-binary-alt-positive)",
|
|
119
|
+
"binary-alt-negative": "var(--j2-color-binary-alt-negative)",
|
|
120
|
+
"categorical-1": "var(--j2-color-categorical-1)",
|
|
121
|
+
"categorical-2": "var(--j2-color-categorical-2)",
|
|
122
|
+
"categorical-3": "var(--j2-color-categorical-3)",
|
|
123
|
+
"categorical-4": "var(--j2-color-categorical-4)",
|
|
124
|
+
"categorical-5": "var(--j2-color-categorical-5)",
|
|
125
|
+
"categorical-6": "var(--j2-color-categorical-6)",
|
|
126
|
+
"categorical-7": "var(--j2-color-categorical-7)",
|
|
127
|
+
"categorical-8": "var(--j2-color-categorical-8)",
|
|
128
|
+
"categorical-other": "var(--j2-color-categorical-other)",
|
|
73
129
|
primary: "var(--j2-color-primary)",
|
|
74
130
|
"primary-hover": "var(--j2-color-primary-hover)",
|
|
75
131
|
"primary-active": "var(--j2-color-primary-active)",
|