@grampro/kit 2.4.0 → 2.4.2
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/CHANGELOG.md +214 -139
- package/index.cjs +53 -13
- package/package.json +77 -76
- package/source/components/accordion/passport.json +2 -2
- package/source/components/accordion/styles.css +9 -9
- package/source/components/alert/passport.json +2 -2
- package/source/components/alert/styles.css +6 -6
- package/source/components/avatar/passport.json +2 -2
- package/source/components/avatar/styles.css +21 -21
- package/source/components/badge/passport.json +2 -2
- package/source/components/badge/styles.css +22 -22
- package/source/components/breadcrumb/passport.json +2 -2
- package/source/components/breadcrumb/styles.css +2 -2
- package/source/components/button/passport.json +2 -2
- package/source/components/button/styles.css +10 -10
- package/source/components/card/passport.json +2 -2
- package/source/components/card/styles.css +8 -8
- package/source/components/checkbox/passport.json +2 -2
- package/source/components/checkbox/styles.css +3 -3
- package/source/components/combobox/passport.json +2 -2
- package/source/components/combobox/styles.css +2 -2
- package/source/components/data-grid/passport.json +2 -2
- package/source/components/data-grid/styles.css +7 -7
- package/source/components/date-picker/passport.json +2 -2
- package/source/components/date-picker/styles.css +2 -2
- package/source/components/dialog/passport.json +2 -2
- package/source/components/dialog/styles.css +9 -9
- package/source/components/file-uploader/passport.json +2 -2
- package/source/components/file-uploader/styles.css +10 -10
- package/source/components/input/passport.json +2 -2
- package/source/components/input/styles.css +3 -3
- package/source/components/menu/passport.json +2 -2
- package/source/components/menu/styles.css +3 -3
- package/source/components/modal/passport.json +2 -2
- package/source/components/modal/styles.css +9 -9
- package/source/components/number-input/passport.json +2 -2
- package/source/components/number-input/styles.css +3 -3
- package/source/components/popover/passport.json +2 -2
- package/source/components/popover/styles.css +3 -3
- package/source/components/progress/passport.json +2 -2
- package/source/components/progress/styles.css +8 -8
- package/source/components/radio-group/passport.json +2 -2
- package/source/components/radio-group/styles.css +14 -14
- package/source/components/skeleton/passport.json +2 -2
- package/source/components/skeleton/styles.css +12 -12
- package/source/components/spinner/passport.json +2 -2
- package/source/components/spinner/styles.css +1 -1
- package/source/components/switch/passport.json +2 -2
- package/source/components/switch/styles.css +3 -3
- package/source/components/tabs/passport.json +2 -2
- package/source/components/tabs/styles.css +17 -17
- package/source/components/textarea/passport.json +2 -2
- package/source/components/textarea/styles.css +7 -7
- package/source/components/toaster/passport.json +2 -2
- package/source/components/toaster/styles.css +7 -7
- package/source/components/tooltip/passport.json +1 -1
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
.dg-button:hover {
|
|
89
89
|
background: var(--dg-hover);
|
|
90
90
|
}
|
|
91
|
-
.dg-button[data-variant="primary"] {
|
|
91
|
+
.dg-button:where([data-variant="primary"]) {
|
|
92
92
|
background: var(--dg-accent);
|
|
93
93
|
border-color: var(--dg-accent);
|
|
94
94
|
color: var(--dg-accent-fg);
|
|
@@ -347,23 +347,23 @@
|
|
|
347
347
|
text-overflow: ellipsis;
|
|
348
348
|
white-space: nowrap;
|
|
349
349
|
}
|
|
350
|
-
:is(.dg-cell, .dg-header-cell)[data-align="center"] {
|
|
350
|
+
:is(.dg-cell, .dg-header-cell):where([data-align="center"]) {
|
|
351
351
|
justify-content: center;
|
|
352
352
|
}
|
|
353
|
-
:is(.dg-cell, .dg-header-cell)[data-align="end"] {
|
|
353
|
+
:is(.dg-cell, .dg-header-cell):where([data-align="end"]) {
|
|
354
354
|
justify-content: flex-end;
|
|
355
355
|
}
|
|
356
|
-
.dg-cell[data-align="end"] {
|
|
356
|
+
.dg-cell:where([data-align="end"]) {
|
|
357
357
|
font-variant-numeric: tabular-nums;
|
|
358
358
|
}
|
|
359
359
|
:is(.dg-cell, .dg-header-cell)[data-pinned] {
|
|
360
360
|
position: sticky;
|
|
361
361
|
z-index: 1;
|
|
362
362
|
}
|
|
363
|
-
:is(.dg-cell, .dg-header-cell)[data-pinned="left"][data-pin-edge] {
|
|
363
|
+
:is(.dg-cell, .dg-header-cell)[data-pinned="left"]:where([data-pin-edge]) {
|
|
364
364
|
box-shadow: 4px 0 6px -4px var(--dg-pin-shadow);
|
|
365
365
|
}
|
|
366
|
-
:is(.dg-cell, .dg-header-cell)[data-pinned="right"][data-pin-edge] {
|
|
366
|
+
:is(.dg-cell, .dg-header-cell)[data-pinned="right"]:where([data-pin-edge]) {
|
|
367
367
|
box-shadow: -4px 0 6px -4px var(--dg-pin-shadow);
|
|
368
368
|
}
|
|
369
369
|
:is(.dg-cell, .dg-header-cell):focus {
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
.dg-header-cell[data-sortable] {
|
|
450
450
|
cursor: pointer;
|
|
451
451
|
}
|
|
452
|
-
.dg-header-cell[data-align="end"] .dg-header-menu {
|
|
452
|
+
.dg-header-cell:where([data-align="end"]) .dg-header-menu {
|
|
453
453
|
order: -1;
|
|
454
454
|
margin-inline: 0 auto;
|
|
455
455
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
]
|
|
11
11
|
},
|
|
12
12
|
"source": {
|
|
13
|
-
"libraryVersion": "2.4.
|
|
13
|
+
"libraryVersion": "2.4.2",
|
|
14
14
|
"files": [
|
|
15
15
|
"core/calendar.ts",
|
|
16
16
|
"core/format.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"react/props.ts",
|
|
30
30
|
"react/useDatePicker.ts"
|
|
31
31
|
],
|
|
32
|
-
"sourceHash": "sha256:
|
|
32
|
+
"sourceHash": "sha256:e62de2f8c322abc9558a7b9c7e06dadd61da0b442cb3ac7e4ba5bf099ec92251"
|
|
33
33
|
},
|
|
34
34
|
"props": [
|
|
35
35
|
{
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
box-sizing: border-box;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.dp-root[data-size="sm"] {
|
|
57
|
+
.dp-root:where([data-size="sm"]) {
|
|
58
58
|
--dp-height: 30px;
|
|
59
59
|
--dp-font-size: 12px;
|
|
60
60
|
--dp-px: 8px;
|
|
61
61
|
--dp-day-size: 30px;
|
|
62
62
|
}
|
|
63
|
-
.dp-root[data-size="lg"] {
|
|
63
|
+
.dp-root:where([data-size="lg"]) {
|
|
64
64
|
--dp-height: 44px;
|
|
65
65
|
--dp-font-size: 14px;
|
|
66
66
|
--dp-px: 12px;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
]
|
|
10
10
|
},
|
|
11
11
|
"source": {
|
|
12
|
-
"libraryVersion": "2.4.
|
|
12
|
+
"libraryVersion": "2.4.2",
|
|
13
13
|
"files": [
|
|
14
14
|
"core/api.ts",
|
|
15
15
|
"core/dialog.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"react/locale.ts",
|
|
24
24
|
"react/props.ts"
|
|
25
25
|
],
|
|
26
|
-
"sourceHash": "sha256:
|
|
26
|
+
"sourceHash": "sha256:e1a5fb2962bcc8ad8bcb77130a33caa782e47627bbe3e84875303839ef63a407"
|
|
27
27
|
},
|
|
28
28
|
"props": [
|
|
29
29
|
{
|
|
@@ -103,19 +103,19 @@
|
|
|
103
103
|
overflow: hidden;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
.dl-root[data-size="md"] {
|
|
106
|
+
.dl-root:where([data-size="md"]) {
|
|
107
107
|
--dl-width: 540px;
|
|
108
108
|
}
|
|
109
|
-
.dl-root[data-intent="info"] {
|
|
109
|
+
.dl-root:where([data-intent="info"]) {
|
|
110
110
|
--dl-intent: var(--dl-info);
|
|
111
111
|
}
|
|
112
|
-
.dl-root[data-intent="success"] {
|
|
112
|
+
.dl-root:where([data-intent="success"]) {
|
|
113
113
|
--dl-intent: var(--dl-success);
|
|
114
114
|
}
|
|
115
|
-
.dl-root[data-intent="warning"] {
|
|
115
|
+
.dl-root:where([data-intent="warning"]) {
|
|
116
116
|
--dl-intent: var(--dl-warning);
|
|
117
117
|
}
|
|
118
|
-
.dl-root[data-intent="danger"] {
|
|
118
|
+
.dl-root:where([data-intent="danger"]) {
|
|
119
119
|
--dl-intent: var(--dl-danger);
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -220,20 +220,20 @@
|
|
|
220
220
|
.dl-button:hover:not([aria-disabled="true"]) {
|
|
221
221
|
background: var(--dl-hover);
|
|
222
222
|
}
|
|
223
|
-
.dl-button[data-variant="primary"] {
|
|
223
|
+
.dl-button:where([data-variant="primary"]) {
|
|
224
224
|
border-color: var(--dl-accent);
|
|
225
225
|
background: var(--dl-accent);
|
|
226
226
|
color: var(--dl-accent-fg);
|
|
227
227
|
}
|
|
228
|
-
.dl-button[data-variant="danger"] {
|
|
228
|
+
.dl-button:where([data-variant="danger"]) {
|
|
229
229
|
border-color: var(--dl-danger);
|
|
230
230
|
background: var(--dl-danger);
|
|
231
231
|
color: var(--dl-danger-fg);
|
|
232
232
|
}
|
|
233
|
-
.dl-button[data-variant="primary"]:hover:not([aria-disabled="true"]) {
|
|
233
|
+
.dl-button:where([data-variant="primary"]):hover:not([aria-disabled="true"]) {
|
|
234
234
|
background: color-mix(in oklab, var(--dl-accent), var(--dl-fg) 12%);
|
|
235
235
|
}
|
|
236
|
-
.dl-button[data-variant="danger"]:hover:not([aria-disabled="true"]) {
|
|
236
|
+
.dl-button:where([data-variant="danger"]):hover:not([aria-disabled="true"]) {
|
|
237
237
|
background: color-mix(in oklab, var(--dl-danger), var(--dl-fg) 12%);
|
|
238
238
|
}
|
|
239
239
|
.dl-button:focus-visible {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
]
|
|
14
14
|
},
|
|
15
15
|
"source": {
|
|
16
|
-
"libraryVersion": "2.4.
|
|
16
|
+
"libraryVersion": "2.4.2",
|
|
17
17
|
"files": [
|
|
18
18
|
"core/format.ts",
|
|
19
19
|
"core/index.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"react/props.ts",
|
|
30
30
|
"react/useFileUploader.ts"
|
|
31
31
|
],
|
|
32
|
-
"sourceHash": "sha256:
|
|
32
|
+
"sourceHash": "sha256:ff19deac106eaffa0aa59740e3d0505ed592c05d20efabda6858549cf66c24c9"
|
|
33
33
|
},
|
|
34
34
|
"props": [
|
|
35
35
|
{
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
box-sizing: border-box;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.fu-root[data-size="sm"] {
|
|
54
|
+
.fu-root:where([data-size="sm"]) {
|
|
55
55
|
--fu-font-size: 12px;
|
|
56
56
|
--fu-dropzone-py: 12px;
|
|
57
57
|
--fu-thumb-size: 32px;
|
|
58
58
|
}
|
|
59
|
-
.fu-root[data-size="lg"] {
|
|
59
|
+
.fu-root:where([data-size="lg"]) {
|
|
60
60
|
--fu-font-size: 14px;
|
|
61
61
|
--fu-dropzone-py: 32px;
|
|
62
62
|
--fu-thumb-size: 48px;
|
|
@@ -208,22 +208,22 @@
|
|
|
208
208
|
height: 100%;
|
|
209
209
|
object-fit: cover;
|
|
210
210
|
}
|
|
211
|
-
.fu-thumb[data-kind="image"] {
|
|
211
|
+
.fu-thumb:where([data-kind="image"]) {
|
|
212
212
|
--fu-kind: light-dark(#2563eb, #60a5fa);
|
|
213
213
|
}
|
|
214
|
-
.fu-thumb[data-kind="video"] {
|
|
214
|
+
.fu-thumb:where([data-kind="video"]) {
|
|
215
215
|
--fu-kind: light-dark(#9333ea, #c084fc);
|
|
216
216
|
}
|
|
217
|
-
.fu-thumb[data-kind="audio"] {
|
|
217
|
+
.fu-thumb:where([data-kind="audio"]) {
|
|
218
218
|
--fu-kind: light-dark(#d97706, #fbbf24);
|
|
219
219
|
}
|
|
220
|
-
.fu-thumb[data-kind="pdf"] {
|
|
220
|
+
.fu-thumb:where([data-kind="pdf"]) {
|
|
221
221
|
--fu-kind: light-dark(#dc2626, #f87171);
|
|
222
222
|
}
|
|
223
|
-
.fu-thumb[data-kind="spreadsheet"] {
|
|
223
|
+
.fu-thumb:where([data-kind="spreadsheet"]) {
|
|
224
224
|
--fu-kind: light-dark(#16a34a, #4ade80);
|
|
225
225
|
}
|
|
226
|
-
.fu-thumb[data-kind="document"] {
|
|
226
|
+
.fu-thumb:where([data-kind="document"]) {
|
|
227
227
|
--fu-kind: light-dark(#0891b2, #22d3ee);
|
|
228
228
|
}
|
|
229
229
|
|
|
@@ -348,12 +348,12 @@
|
|
|
348
348
|
.fu-button:hover:not(:disabled) {
|
|
349
349
|
background: var(--fu-hover);
|
|
350
350
|
}
|
|
351
|
-
.fu-button[data-variant="primary"] {
|
|
351
|
+
.fu-button:where([data-variant="primary"]) {
|
|
352
352
|
border-color: var(--fu-accent);
|
|
353
353
|
background: var(--fu-accent);
|
|
354
354
|
color: var(--fu-accent-fg);
|
|
355
355
|
}
|
|
356
|
-
.fu-button[data-variant="primary"]:hover:not(:disabled) {
|
|
356
|
+
.fu-button:where([data-variant="primary"]):hover:not(:disabled) {
|
|
357
357
|
background: color-mix(in oklab, var(--fu-accent), var(--fu-fg) 12%);
|
|
358
358
|
}
|
|
359
359
|
.fu-button:focus-visible {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
]
|
|
10
10
|
},
|
|
11
11
|
"source": {
|
|
12
|
-
"libraryVersion": "2.4.
|
|
12
|
+
"libraryVersion": "2.4.2",
|
|
13
13
|
"files": [
|
|
14
14
|
"core/count.ts",
|
|
15
15
|
"core/index.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"react/locale.ts",
|
|
24
24
|
"react/props.ts"
|
|
25
25
|
],
|
|
26
|
-
"sourceHash": "sha256:
|
|
26
|
+
"sourceHash": "sha256:7d4ea32ab677cecb76b21be80500913ef55deb8cee9d37bec78ffccdc65a7aee"
|
|
27
27
|
},
|
|
28
28
|
"props": [
|
|
29
29
|
{
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
box-sizing: border-box;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.in-root[data-size="sm"] {
|
|
53
|
+
.in-root:where([data-size="sm"]) {
|
|
54
54
|
--in-height: 30px;
|
|
55
55
|
--in-font-size: 12px;
|
|
56
56
|
--in-px: 8px;
|
|
57
57
|
--in-cell: 34px;
|
|
58
58
|
}
|
|
59
|
-
.in-root[data-size="lg"] {
|
|
59
|
+
.in-root:where([data-size="lg"]) {
|
|
60
60
|
--in-height: 44px;
|
|
61
61
|
--in-font-size: 14px;
|
|
62
62
|
--in-px: 12px;
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
color: var(--in-muted);
|
|
161
161
|
white-space: nowrap;
|
|
162
162
|
}
|
|
163
|
-
.in-adornment[data-side="trailing"] {
|
|
163
|
+
.in-adornment:where([data-side="trailing"]) {
|
|
164
164
|
padding-inline-end: 4px;
|
|
165
165
|
}
|
|
166
166
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
]
|
|
17
17
|
},
|
|
18
18
|
"source": {
|
|
19
|
-
"libraryVersion": "2.4.
|
|
19
|
+
"libraryVersion": "2.4.2",
|
|
20
20
|
"files": [
|
|
21
21
|
"core/index.ts",
|
|
22
22
|
"core/navigation.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"react/props.ts",
|
|
30
30
|
"react/useMenuKeys.ts"
|
|
31
31
|
],
|
|
32
|
-
"sourceHash": "sha256:
|
|
32
|
+
"sourceHash": "sha256:24ca0df1711359290751825aa544cf50059149ffd5668f0f761d647b96c0293a"
|
|
33
33
|
},
|
|
34
34
|
"props": [
|
|
35
35
|
{
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
translate: 0 -2px;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
.mn-root[data-side="top"]:popover-open {
|
|
79
|
+
.mn-root:where([data-side="top"]):popover-open {
|
|
80
80
|
animation-name: mn-in-top;
|
|
81
81
|
}
|
|
82
82
|
@keyframes mn-in-top {
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
color: var(--mn-muted);
|
|
122
122
|
cursor: not-allowed;
|
|
123
123
|
}
|
|
124
|
-
.mn-item[data-destructive]:not([data-disabled]) {
|
|
124
|
+
.mn-item:where([data-destructive]):not([data-disabled]) {
|
|
125
125
|
color: var(--mn-danger);
|
|
126
126
|
}
|
|
127
127
|
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
align-items: center;
|
|
140
140
|
color: var(--mn-muted);
|
|
141
141
|
}
|
|
142
|
-
.mn-item[data-destructive] .mn-icon {
|
|
142
|
+
.mn-item:where([data-destructive]) .mn-icon {
|
|
143
143
|
color: inherit;
|
|
144
144
|
}
|
|
145
145
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
]
|
|
9
9
|
},
|
|
10
10
|
"source": {
|
|
11
|
-
"libraryVersion": "2.4.
|
|
11
|
+
"libraryVersion": "2.4.2",
|
|
12
12
|
"files": [
|
|
13
13
|
"core/dismiss.ts",
|
|
14
14
|
"core/index.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"react/locale.ts",
|
|
20
20
|
"react/props.ts"
|
|
21
21
|
],
|
|
22
|
-
"sourceHash": "sha256:
|
|
22
|
+
"sourceHash": "sha256:184d3ca90cdec9fcc2b0f4d3267f8a968200dbf8cdd6d5678c243f16aca46d79"
|
|
23
23
|
},
|
|
24
24
|
"props": [
|
|
25
25
|
{
|
|
@@ -100,16 +100,16 @@
|
|
|
100
100
|
|
|
101
101
|
/* --------------------------------------------------------------- sizes */
|
|
102
102
|
|
|
103
|
-
.md-root[data-size="sm"] {
|
|
103
|
+
.md-root:where([data-size="sm"]) {
|
|
104
104
|
--md-width: 400px;
|
|
105
105
|
}
|
|
106
|
-
.md-root[data-size="lg"] {
|
|
106
|
+
.md-root:where([data-size="lg"]) {
|
|
107
107
|
--md-width: 720px;
|
|
108
108
|
}
|
|
109
|
-
.md-root[data-size="xl"] {
|
|
109
|
+
.md-root:where([data-size="xl"]) {
|
|
110
110
|
--md-width: 960px;
|
|
111
111
|
}
|
|
112
|
-
.md-root[data-size="full"] {
|
|
112
|
+
.md-root:where([data-size="full"]) {
|
|
113
113
|
--md-width: 100vw;
|
|
114
114
|
--md-gutter: 0px;
|
|
115
115
|
height: 100dvh;
|
|
@@ -120,28 +120,28 @@
|
|
|
120
120
|
|
|
121
121
|
/* ----------------------------------------------------------- placement */
|
|
122
122
|
|
|
123
|
-
.md-root[data-placement="top"] {
|
|
123
|
+
.md-root:where([data-placement="top"]) {
|
|
124
124
|
margin-top: min(10vh, 80px);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
.md-root:is([data-placement="left"], [data-placement="right"]) {
|
|
127
|
+
.md-root:is(:where([data-placement="left"]), :where([data-placement="right"])) {
|
|
128
128
|
--md-gutter: 0px;
|
|
129
129
|
height: 100dvh;
|
|
130
130
|
max-height: 100dvh;
|
|
131
131
|
border-block: 0;
|
|
132
132
|
border-radius: 0;
|
|
133
133
|
}
|
|
134
|
-
.md-root[data-placement="left"] {
|
|
134
|
+
.md-root:where([data-placement="left"]) {
|
|
135
135
|
--md-enter: -100% 0;
|
|
136
136
|
margin: 0 auto 0 0;
|
|
137
137
|
border-inline-start: 0;
|
|
138
138
|
}
|
|
139
|
-
.md-root[data-placement="right"] {
|
|
139
|
+
.md-root:where([data-placement="right"]) {
|
|
140
140
|
--md-enter: 100% 0;
|
|
141
141
|
margin: 0 0 0 auto;
|
|
142
142
|
border-inline-end: 0;
|
|
143
143
|
}
|
|
144
|
-
.md-root[data-placement="bottom"] {
|
|
144
|
+
.md-root:where([data-placement="bottom"]) {
|
|
145
145
|
--md-enter: 0 100%;
|
|
146
146
|
width: 100vw;
|
|
147
147
|
max-height: min(var(--md-width), 90dvh);
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
]
|
|
9
9
|
},
|
|
10
10
|
"source": {
|
|
11
|
-
"libraryVersion": "2.4.
|
|
11
|
+
"libraryVersion": "2.4.2",
|
|
12
12
|
"files": [
|
|
13
13
|
"core/format.ts",
|
|
14
14
|
"core/index.ts",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"react/locale.ts",
|
|
22
22
|
"react/props.ts"
|
|
23
23
|
],
|
|
24
|
-
"sourceHash": "sha256:
|
|
24
|
+
"sourceHash": "sha256:5e9d1f41cb6c46b3dac44ab3689d03432abd1ddbbdf4736a87add2454239c505"
|
|
25
25
|
},
|
|
26
26
|
"props": [
|
|
27
27
|
{
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
box-sizing: border-box;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.nm-root[data-size="sm"] {
|
|
52
|
+
.nm-root:where([data-size="sm"]) {
|
|
53
53
|
--nm-height: 30px;
|
|
54
54
|
--nm-px: 8px;
|
|
55
55
|
--nm-font-size: 12px;
|
|
56
56
|
}
|
|
57
|
-
.nm-root[data-size="lg"] {
|
|
57
|
+
.nm-root:where([data-size="lg"]) {
|
|
58
58
|
--nm-height: 44px;
|
|
59
59
|
--nm-px: 12px;
|
|
60
60
|
--nm-font-size: 14px;
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
color: var(--nm-muted);
|
|
134
134
|
white-space: nowrap;
|
|
135
135
|
}
|
|
136
|
-
.nm-adornment[data-side="trailing"] {
|
|
136
|
+
.nm-adornment:where([data-side="trailing"]) {
|
|
137
137
|
padding-inline-end: 2px;
|
|
138
138
|
}
|
|
139
139
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
]
|
|
9
9
|
},
|
|
10
10
|
"source": {
|
|
11
|
-
"libraryVersion": "2.4.
|
|
11
|
+
"libraryVersion": "2.4.2",
|
|
12
12
|
"files": [
|
|
13
13
|
"core/index.ts",
|
|
14
14
|
"core/types.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"react/locale.ts",
|
|
18
18
|
"react/props.ts"
|
|
19
19
|
],
|
|
20
|
-
"sourceHash": "sha256:
|
|
20
|
+
"sourceHash": "sha256:63d921d8dbc2f2b2c7e0d564a11c6dd67f7a86f2eee61fb4f6889aa6d8b7a2de"
|
|
21
21
|
},
|
|
22
22
|
"props": [
|
|
23
23
|
{
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
translate: 0 -2px;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
.pv-root[data-side="top"]:popover-open {
|
|
82
|
+
.pv-root:where([data-side="top"]):popover-open {
|
|
83
83
|
animation-name: pv-in-top;
|
|
84
84
|
}
|
|
85
85
|
@keyframes pv-in-top {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
translate: 0 2px;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
.pv-root[data-side="left"]:popover-open {
|
|
91
|
+
.pv-root:where([data-side="left"]):popover-open {
|
|
92
92
|
animation-name: pv-in-left;
|
|
93
93
|
}
|
|
94
94
|
@keyframes pv-in-left {
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
translate: 2px 0;
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
.pv-root[data-side="right"]:popover-open {
|
|
100
|
+
.pv-root:where([data-side="right"]):popover-open {
|
|
101
101
|
animation-name: pv-in-right;
|
|
102
102
|
}
|
|
103
103
|
@keyframes pv-in-right {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
]
|
|
10
10
|
},
|
|
11
11
|
"source": {
|
|
12
|
-
"libraryVersion": "2.4.
|
|
12
|
+
"libraryVersion": "2.4.2",
|
|
13
13
|
"files": [
|
|
14
14
|
"core/index.ts",
|
|
15
15
|
"core/progress.ts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"react/locale.ts",
|
|
21
21
|
"react/props.ts"
|
|
22
22
|
],
|
|
23
|
-
"sourceHash": "sha256:
|
|
23
|
+
"sourceHash": "sha256:bb6a66684e348b4786fc0a29a7ee63d024fc1d468eda1b27888a5c76e4af294e"
|
|
24
24
|
},
|
|
25
25
|
"props": [
|
|
26
26
|
{
|
|
@@ -42,16 +42,16 @@
|
|
|
42
42
|
box-sizing: border-box;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.pr-root[data-variant="success"],
|
|
46
|
-
.pr-circle[data-variant="success"] {
|
|
45
|
+
.pr-root:where([data-variant="success"]),
|
|
46
|
+
.pr-circle:where([data-variant="success"]) {
|
|
47
47
|
--pr-bar: var(--pr-success);
|
|
48
48
|
}
|
|
49
|
-
.pr-root[data-variant="warning"],
|
|
50
|
-
.pr-circle[data-variant="warning"] {
|
|
49
|
+
.pr-root:where([data-variant="warning"]),
|
|
50
|
+
.pr-circle:where([data-variant="warning"]) {
|
|
51
51
|
--pr-bar: var(--pr-warning);
|
|
52
52
|
}
|
|
53
|
-
.pr-root[data-variant="danger"],
|
|
54
|
-
.pr-circle[data-variant="danger"] {
|
|
53
|
+
.pr-root:where([data-variant="danger"]),
|
|
54
|
+
.pr-circle:where([data-variant="danger"]) {
|
|
55
55
|
--pr-bar: var(--pr-danger);
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
gap: 6px;
|
|
64
64
|
min-width: 0;
|
|
65
65
|
}
|
|
66
|
-
.pr-root[data-size="sm"] {
|
|
66
|
+
.pr-root:where([data-size="sm"]) {
|
|
67
67
|
--pr-height: 4px;
|
|
68
68
|
--pr-font-size: 12px;
|
|
69
69
|
}
|
|
70
|
-
.pr-root[data-size="lg"] {
|
|
70
|
+
.pr-root:where([data-size="lg"]) {
|
|
71
71
|
--pr-height: 12px;
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
]
|
|
11
11
|
},
|
|
12
12
|
"source": {
|
|
13
|
-
"libraryVersion": "2.4.
|
|
13
|
+
"libraryVersion": "2.4.2",
|
|
14
14
|
"files": [
|
|
15
15
|
"core/group.ts",
|
|
16
16
|
"core/index.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"react/locale.ts",
|
|
23
23
|
"react/props.ts"
|
|
24
24
|
],
|
|
25
|
-
"sourceHash": "sha256:
|
|
25
|
+
"sourceHash": "sha256:1518aefa0a863d1694ed44d3c56d0b07361f3a4120d44f7f97f4baa7857aa10f"
|
|
26
26
|
},
|
|
27
27
|
"props": [
|
|
28
28
|
{
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
gap: 8px;
|
|
55
55
|
min-width: 0;
|
|
56
56
|
}
|
|
57
|
-
.rd-root[data-size="sm"] {
|
|
57
|
+
.rd-root:where([data-size="sm"]) {
|
|
58
58
|
--rd-size: 14px;
|
|
59
59
|
--rd-font-size: 12px;
|
|
60
60
|
}
|
|
61
|
-
.rd-root[data-size="lg"] {
|
|
61
|
+
.rd-root:where([data-size="lg"]) {
|
|
62
62
|
--rd-size: 20px;
|
|
63
63
|
--rd-font-size: 14px;
|
|
64
64
|
}
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
|
|
154
154
|
/* ----------------------------------------------------------------- card */
|
|
155
155
|
|
|
156
|
-
.rd-root[data-variant="card"] {
|
|
156
|
+
.rd-root:where([data-variant="card"]) {
|
|
157
157
|
position: relative;
|
|
158
158
|
align-items: flex-start;
|
|
159
159
|
padding: 12px;
|
|
@@ -165,32 +165,32 @@
|
|
|
165
165
|
border-color 120ms ease,
|
|
166
166
|
background-color 120ms ease;
|
|
167
167
|
}
|
|
168
|
-
.rd-root[data-variant="card"]:hover:not([data-disabled]) {
|
|
168
|
+
.rd-root:where([data-variant="card"]):hover:not([data-disabled]) {
|
|
169
169
|
background: var(--rd-hover);
|
|
170
170
|
}
|
|
171
|
-
.rd-root[data-variant="card"][data-checked] {
|
|
171
|
+
.rd-root:where([data-variant="card"])[data-checked] {
|
|
172
172
|
border-color: var(--rd-accent);
|
|
173
173
|
background: var(--rd-accent-soft);
|
|
174
174
|
}
|
|
175
175
|
/* Muted grey clears 4.5:1 on white but only reaches 4.44:1 on the tinted
|
|
176
176
|
background of a selected card, so it moves a step towards the text colour
|
|
177
177
|
there rather than the description quietly failing contrast. */
|
|
178
|
-
.rd-root[data-variant="card"][data-checked] .rd-description {
|
|
178
|
+
.rd-root:where([data-variant="card"])[data-checked] .rd-description {
|
|
179
179
|
color: color-mix(in oklab, var(--rd-muted) 72%, var(--rd-fg));
|
|
180
180
|
}
|
|
181
181
|
/* The whole tile is the target: the input covers it, so a press anywhere
|
|
182
182
|
lands on the radio itself rather than on a label that forwards it. */
|
|
183
|
-
.rd-root[data-variant="card"] .rd-input::after {
|
|
183
|
+
.rd-root:where([data-variant="card"]) .rd-input::after {
|
|
184
184
|
content: "";
|
|
185
185
|
position: absolute;
|
|
186
186
|
inset: 0;
|
|
187
187
|
border-radius: var(--rd-radius);
|
|
188
188
|
}
|
|
189
|
-
.rd-root[data-variant="card"]:has(.rd-input:focus-visible) {
|
|
189
|
+
.rd-root:where([data-variant="card"]):has(.rd-input:focus-visible) {
|
|
190
190
|
outline: 2px solid var(--rd-focus);
|
|
191
191
|
outline-offset: 2px;
|
|
192
192
|
}
|
|
193
|
-
.rd-root[data-variant="card"] .rd-input:focus-visible {
|
|
193
|
+
.rd-root:where([data-variant="card"]) .rd-input:focus-visible {
|
|
194
194
|
outline: none;
|
|
195
195
|
}
|
|
196
196
|
|
|
@@ -220,14 +220,14 @@
|
|
|
220
220
|
gap: 8px;
|
|
221
221
|
min-width: 0;
|
|
222
222
|
}
|
|
223
|
-
.rd-group[data-orientation="horizontal"] .rd-items {
|
|
223
|
+
.rd-group:where([data-orientation="horizontal"]) .rd-items {
|
|
224
224
|
flex-flow: row wrap;
|
|
225
225
|
gap: 16px;
|
|
226
226
|
}
|
|
227
|
-
.rd-group[data-variant="card"][data-orientation="horizontal"] .rd-items {
|
|
227
|
+
.rd-group:where([data-variant="card"]):where([data-orientation="horizontal"]) .rd-items {
|
|
228
228
|
gap: 8px;
|
|
229
229
|
}
|
|
230
|
-
.rd-group[data-variant="card"][data-orientation="horizontal"] .rd-root {
|
|
230
|
+
.rd-group:where([data-variant="card"]):where([data-orientation="horizontal"]) .rd-root {
|
|
231
231
|
flex: 1 1 180px;
|
|
232
232
|
}
|
|
233
233
|
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
@media (prefers-reduced-motion: reduce) {
|
|
252
252
|
.rd-input,
|
|
253
253
|
.rd-dot,
|
|
254
|
-
.rd-root[data-variant="card"] {
|
|
254
|
+
.rd-root:where([data-variant="card"]) {
|
|
255
255
|
transition: none;
|
|
256
256
|
}
|
|
257
257
|
}
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
.rd-dot {
|
|
264
264
|
background: Highlight;
|
|
265
265
|
}
|
|
266
|
-
.rd-root[data-variant="card"][data-checked] {
|
|
266
|
+
.rd-root:where([data-variant="card"])[data-checked] {
|
|
267
267
|
border-color: Highlight;
|
|
268
268
|
}
|
|
269
269
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
]
|
|
10
10
|
},
|
|
11
11
|
"source": {
|
|
12
|
-
"libraryVersion": "2.4.
|
|
12
|
+
"libraryVersion": "2.4.2",
|
|
13
13
|
"files": [
|
|
14
14
|
"core/index.ts",
|
|
15
15
|
"core/lines.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"react/Skeleton.tsx",
|
|
20
20
|
"react/props.ts"
|
|
21
21
|
],
|
|
22
|
-
"sourceHash": "sha256:
|
|
22
|
+
"sourceHash": "sha256:8e2b581542c7bc2aac092920774c57f5767dc32ded8b2725a536c3117be2b7db"
|
|
23
23
|
},
|
|
24
24
|
"props": [
|
|
25
25
|
{
|