@grampro/kit 2.4.1 → 2.4.3

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 (56) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/package.json +77 -77
  3. package/source/components/accordion/passport.json +2 -2
  4. package/source/components/accordion/styles.css +9 -9
  5. package/source/components/alert/passport.json +2 -2
  6. package/source/components/alert/styles.css +6 -6
  7. package/source/components/avatar/passport.json +2 -2
  8. package/source/components/avatar/styles.css +21 -21
  9. package/source/components/badge/passport.json +2 -2
  10. package/source/components/badge/styles.css +22 -22
  11. package/source/components/breadcrumb/passport.json +2 -2
  12. package/source/components/breadcrumb/styles.css +2 -2
  13. package/source/components/button/passport.json +2 -2
  14. package/source/components/button/styles.css +10 -10
  15. package/source/components/card/passport.json +2 -2
  16. package/source/components/card/styles.css +8 -8
  17. package/source/components/checkbox/passport.json +2 -2
  18. package/source/components/checkbox/styles.css +3 -3
  19. package/source/components/combobox/passport.json +2 -2
  20. package/source/components/combobox/styles.css +2 -2
  21. package/source/components/data-grid/passport.json +2 -2
  22. package/source/components/data-grid/styles.css +7 -7
  23. package/source/components/date-picker/passport.json +2 -2
  24. package/source/components/date-picker/styles.css +2 -2
  25. package/source/components/dialog/passport.json +2 -2
  26. package/source/components/dialog/styles.css +9 -9
  27. package/source/components/file-uploader/passport.json +2 -2
  28. package/source/components/file-uploader/styles.css +10 -10
  29. package/source/components/input/passport.json +2 -2
  30. package/source/components/input/styles.css +3 -3
  31. package/source/components/menu/passport.json +2 -2
  32. package/source/components/menu/styles.css +3 -3
  33. package/source/components/modal/passport.json +2 -2
  34. package/source/components/modal/styles.css +9 -9
  35. package/source/components/number-input/passport.json +2 -2
  36. package/source/components/number-input/styles.css +3 -3
  37. package/source/components/popover/passport.json +2 -2
  38. package/source/components/popover/styles.css +3 -3
  39. package/source/components/progress/passport.json +2 -2
  40. package/source/components/progress/styles.css +8 -8
  41. package/source/components/radio-group/passport.json +2 -2
  42. package/source/components/radio-group/styles.css +14 -14
  43. package/source/components/skeleton/passport.json +2 -2
  44. package/source/components/skeleton/styles.css +12 -12
  45. package/source/components/spinner/passport.json +2 -2
  46. package/source/components/spinner/styles.css +1 -1
  47. package/source/components/switch/passport.json +2 -2
  48. package/source/components/switch/styles.css +3 -3
  49. package/source/components/tabs/passport.json +2 -2
  50. package/source/components/tabs/styles.css +17 -17
  51. package/source/components/textarea/passport.json +2 -2
  52. package/source/components/textarea/styles.css +7 -7
  53. package/source/components/toaster/passport.json +2 -2
  54. package/source/components/toaster/styles.css +7 -7
  55. package/source/components/tooltip/passport.json +2 -2
  56. package/tools/passport/extract.cjs +7 -1
@@ -8,7 +8,7 @@
8
8
  ]
9
9
  },
10
10
  "source": {
11
- "libraryVersion": "2.4.1",
11
+ "libraryVersion": "2.4.3",
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:5cbc02914b3192d61aeb706d8d3d439a41ef8bb985d90c0864a330167ffb0b2c"
20
+ "sourceHash": "sha256:ac04de47fed41d6ef646920b241371395154173d148a5c5f9a6440ef2f589f6a"
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.1",
12
+ "libraryVersion": "2.4.3",
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:40c85cf81b5ca8cc4f3332db2839f669c189b257bb1e660b4f6b67ade3bb6409"
23
+ "sourceHash": "sha256:8c989dc440492a833963b37e6c28fd90a99e54435c545a4f053b77c83d745eaf"
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.1",
13
+ "libraryVersion": "2.4.3",
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:75988fb28f81a91f9ec61a6b1cc89f4e6b9f5c45b7ae38cfe94abcc5de40ff2d"
25
+ "sourceHash": "sha256:cd5f36365c184346538fb461f4c4cd8014723621fd4d312cd5f00c415df20618"
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.1",
12
+ "libraryVersion": "2.4.3",
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:aac81a69f1b35c3bb20dcfccff178d25e0b735f9e63847a888b3904924111f0b"
22
+ "sourceHash": "sha256:e5c3bcb487c25092a77daec5c55f726d39ac8cf4f3628141cb6777053af6b01f"
23
23
  },
24
24
  "props": [
25
25
  {
@@ -57,27 +57,27 @@
57
57
 
58
58
  /* Text bars are sized from the font, so a paragraph placeholder takes the
59
59
  space the paragraph will. */
60
- .sk-root[data-variant="text"] {
60
+ .sk-root:where([data-variant="text"]) {
61
61
  height: var(--sk-height);
62
62
  }
63
- .sk-root[data-variant="text"] .sk-line {
63
+ .sk-root:where([data-variant="text"]) .sk-line {
64
64
  height: var(--sk-height, 0.85em);
65
65
  border-radius: 4px;
66
66
  }
67
67
 
68
- .sk-root[data-variant="circle"] {
68
+ .sk-root:where([data-variant="circle"]) {
69
69
  width: var(--sk-width, 40px);
70
70
  height: var(--sk-height, var(--sk-width, 40px));
71
71
  }
72
- .sk-root[data-variant="circle"] .sk-line {
72
+ .sk-root:where([data-variant="circle"]) .sk-line {
73
73
  border-radius: 50%;
74
74
  }
75
75
 
76
- .sk-root[data-variant="rect"] {
76
+ .sk-root:where([data-variant="rect"]) {
77
77
  height: var(--sk-height, 80px);
78
78
  }
79
79
 
80
- .sk-root[data-animation="pulse"] .sk-line {
80
+ .sk-root:where([data-animation="pulse"]) .sk-line {
81
81
  animation: sk-pulse var(--sk-duration) ease-in-out infinite;
82
82
  }
83
83
  @keyframes sk-pulse {
@@ -86,11 +86,11 @@
86
86
  }
87
87
  }
88
88
 
89
- .sk-root[data-animation="wave"] .sk-line {
89
+ .sk-root:where([data-animation="wave"]) .sk-line {
90
90
  position: relative;
91
91
  overflow: hidden;
92
92
  }
93
- .sk-root[data-animation="wave"] .sk-line::after {
93
+ .sk-root:where([data-animation="wave"]) .sk-line::after {
94
94
  content: "";
95
95
  position: absolute;
96
96
  inset: 0;
@@ -131,10 +131,10 @@
131
131
  text-align: center;
132
132
  text-wrap: pretty;
133
133
  }
134
- .em-root[data-size="sm"] {
134
+ .em-root:where([data-size="sm"]) {
135
135
  padding: 24px 16px;
136
136
  }
137
- .em-root[data-size="lg"] {
137
+ .em-root:where([data-size="lg"]) {
138
138
  padding: 64px 24px;
139
139
  }
140
140
 
@@ -143,7 +143,7 @@
143
143
  margin-bottom: 4px;
144
144
  color: var(--sk-muted);
145
145
  }
146
- .em-root[data-size="sm"] .em-icon {
146
+ .em-root:where([data-size="sm"]) .em-icon {
147
147
  margin-bottom: 0;
148
148
  }
149
149
 
@@ -152,7 +152,7 @@
152
152
  font-size: 1.05em;
153
153
  font-weight: 600;
154
154
  }
155
- .em-root[data-size="lg"] .em-title {
155
+ .em-root:where([data-size="lg"]) .em-title {
156
156
  font-size: 1.2em;
157
157
  }
158
158
 
@@ -8,7 +8,7 @@
8
8
  ]
9
9
  },
10
10
  "source": {
11
- "libraryVersion": "2.4.1",
11
+ "libraryVersion": "2.4.3",
12
12
  "files": [
13
13
  "core/index.ts",
14
14
  "core/types.ts",
@@ -19,7 +19,7 @@
19
19
  "react/props.ts",
20
20
  "react/useDelayedLoading.ts"
21
21
  ],
22
- "sourceHash": "sha256:2b6b8fa25750f5a491b73f37711de1beed2b1bcf9e38e2cf1b1f419d763b6c2e"
22
+ "sourceHash": "sha256:35c2de8415540772f688151782dff3c84c49b7a3d03fd7e575b3d4d4d4e93d85"
23
23
  },
24
24
  "props": [
25
25
  {
@@ -88,7 +88,7 @@
88
88
 
89
89
  /* ---------------------------------------------------------------- dots */
90
90
 
91
- .sp-indicator[data-variant="dots"] {
91
+ .sp-indicator:where([data-variant="dots"]) {
92
92
  grid-auto-flow: column;
93
93
  gap: calc(var(--sp-size) * 0.1);
94
94
  }
@@ -8,7 +8,7 @@
8
8
  ]
9
9
  },
10
10
  "source": {
11
- "libraryVersion": "2.4.1",
11
+ "libraryVersion": "2.4.3",
12
12
  "files": [
13
13
  "core/index.ts",
14
14
  "core/toggle.ts",
@@ -18,7 +18,7 @@
18
18
  "react/locale.ts",
19
19
  "react/props.ts"
20
20
  ],
21
- "sourceHash": "sha256:0e4b4a46e705b32ea7bf347c63743dfadb86ee1c5eedd2ae25e4e48721ad1989"
21
+ "sourceHash": "sha256:d96a8af61a18c077beccad85f49d1a25f1e20091aede0182c852f7f36ee9254a"
22
22
  },
23
23
  "props": [
24
24
  {
@@ -47,20 +47,20 @@
47
47
  box-sizing: border-box;
48
48
  }
49
49
 
50
- .sw-root[data-size="sm"] {
50
+ .sw-root:where([data-size="sm"]) {
51
51
  --sw-height: 16px;
52
52
  --sw-width: 28px;
53
53
  --sw-gap: 2px;
54
54
  --sw-font-size: 12px;
55
55
  }
56
- .sw-root[data-size="lg"] {
56
+ .sw-root:where([data-size="lg"]) {
57
57
  --sw-height: 24px;
58
58
  --sw-width: 44px;
59
59
  --sw-font-size: 14px;
60
60
  }
61
61
 
62
62
  /* The label first, the track pushed to the far edge: a settings row. */
63
- .sw-root[data-label-position="start"] {
63
+ .sw-root:where([data-label-position="start"]) {
64
64
  flex-direction: row-reverse;
65
65
  justify-content: space-between;
66
66
  }
@@ -12,7 +12,7 @@
12
12
  ]
13
13
  },
14
14
  "source": {
15
- "libraryVersion": "2.4.1",
15
+ "libraryVersion": "2.4.3",
16
16
  "files": [
17
17
  "core/index.ts",
18
18
  "core/navigation.ts",
@@ -21,7 +21,7 @@
21
21
  "react/Tabs.tsx",
22
22
  "react/context.ts"
23
23
  ],
24
- "sourceHash": "sha256:26d83e8f7ddcdcbcf8693f48d7f2769a53fdf4f38df38b64f7070c8e9cc3f9f5"
24
+ "sourceHash": "sha256:af648a096e1a1c4e3f61c57b4e61a6c115c3d2351d5f2c8c6b4519348ae80dfc"
25
25
  },
26
26
  "props": [
27
27
  {
@@ -55,17 +55,17 @@
55
55
  box-sizing: border-box;
56
56
  }
57
57
 
58
- .tb-root[data-size="sm"] {
58
+ .tb-root:where([data-size="sm"]) {
59
59
  --tb-height: 30px;
60
60
  --tb-px: 10px;
61
61
  --tb-font-size: 12px;
62
62
  }
63
- .tb-root[data-size="lg"] {
63
+ .tb-root:where([data-size="lg"]) {
64
64
  --tb-height: 44px;
65
65
  --tb-px: 16px;
66
66
  --tb-font-size: 14px;
67
67
  }
68
- .tb-root[data-orientation="vertical"] {
68
+ .tb-root:where([data-orientation="vertical"]) {
69
69
  flex-direction: row;
70
70
  gap: 20px;
71
71
  }
@@ -80,7 +80,7 @@
80
80
  overflow-x: auto;
81
81
  scrollbar-width: none;
82
82
  }
83
- .tb-root[data-orientation="vertical"] .tb-list {
83
+ .tb-root:where([data-orientation="vertical"]) .tb-list {
84
84
  flex-direction: column;
85
85
  overflow: visible;
86
86
  }
@@ -105,7 +105,7 @@
105
105
  cursor: pointer;
106
106
  transition: color 120ms ease;
107
107
  }
108
- .tb-root[data-orientation="vertical"] .tb-tab {
108
+ .tb-root:where([data-orientation="vertical"]) .tb-tab {
109
109
  justify-content: flex-start;
110
110
  }
111
111
  .tb-tab:hover:not([aria-disabled="true"]),
@@ -161,10 +161,10 @@
161
161
 
162
162
  /* ---------------------------------------------------------------- line */
163
163
 
164
- .tb-root[data-variant="line"] .tb-list {
164
+ .tb-root:where([data-variant="line"]) .tb-list {
165
165
  border-bottom: 1px solid var(--tb-border);
166
166
  }
167
- .tb-root[data-variant="line"] .tb-indicator {
167
+ .tb-root:where([data-variant="line"]) .tb-indicator {
168
168
  bottom: -1px;
169
169
  left: var(--tb-indicator-start);
170
170
  width: var(--tb-indicator-size);
@@ -172,11 +172,11 @@
172
172
  border-radius: 2px;
173
173
  background: var(--tb-accent);
174
174
  }
175
- .tb-root[data-variant="line"][data-orientation="vertical"] .tb-list {
175
+ .tb-root:where([data-variant="line"]):where([data-orientation="vertical"]) .tb-list {
176
176
  border-bottom: 0;
177
177
  border-inline-end: 1px solid var(--tb-border);
178
178
  }
179
- .tb-root[data-variant="line"][data-orientation="vertical"] .tb-indicator {
179
+ .tb-root:where([data-variant="line"]):where([data-orientation="vertical"]) .tb-indicator {
180
180
  top: var(--tb-indicator-start);
181
181
  bottom: auto;
182
182
  left: auto;
@@ -187,7 +187,7 @@
187
187
 
188
188
  /* --------------------------------------------------------------- pills */
189
189
 
190
- .tb-root[data-variant="pills"] .tb-indicator {
190
+ .tb-root:where([data-variant="pills"]) .tb-indicator {
191
191
  top: 0;
192
192
  left: var(--tb-indicator-start);
193
193
  width: var(--tb-indicator-size);
@@ -195,10 +195,10 @@
195
195
  border-radius: calc(var(--tb-radius) - 2px);
196
196
  background: var(--tb-accent-soft);
197
197
  }
198
- .tb-root[data-variant="pills"] .tb-tab[aria-selected="true"] {
198
+ .tb-root:where([data-variant="pills"]) .tb-tab[aria-selected="true"] {
199
199
  color: var(--tb-accent);
200
200
  }
201
- .tb-root[data-variant="pills"][data-orientation="vertical"] .tb-indicator {
201
+ .tb-root:where([data-variant="pills"]):where([data-orientation="vertical"]) .tb-indicator {
202
202
  top: var(--tb-indicator-start);
203
203
  left: 0;
204
204
  width: 100%;
@@ -207,12 +207,12 @@
207
207
 
208
208
  /* ------------------------------------------------------------ enclosed */
209
209
 
210
- .tb-root[data-variant="enclosed"] .tb-list {
210
+ .tb-root:where([data-variant="enclosed"]) .tb-list {
211
211
  padding: 3px;
212
212
  border-radius: var(--tb-radius);
213
213
  background: var(--tb-track);
214
214
  }
215
- .tb-root[data-variant="enclosed"] .tb-indicator {
215
+ .tb-root:where([data-variant="enclosed"]) .tb-indicator {
216
216
  top: 3px;
217
217
  bottom: 3px;
218
218
  left: var(--tb-indicator-start);
@@ -221,10 +221,10 @@
221
221
  background: var(--tb-bg);
222
222
  box-shadow: 0 1px 3px light-dark(rgb(0 0 0 / 0.12), rgb(0 0 0 / 0.5));
223
223
  }
224
- .tb-root[data-variant="enclosed"] .tb-tab {
224
+ .tb-root:where([data-variant="enclosed"]) .tb-tab {
225
225
  height: calc(var(--tb-height) - 6px);
226
226
  }
227
- .tb-root[data-variant="enclosed"][data-orientation="vertical"] .tb-indicator {
227
+ .tb-root:where([data-variant="enclosed"]):where([data-orientation="vertical"]) .tb-indicator {
228
228
  top: var(--tb-indicator-start);
229
229
  bottom: auto;
230
230
  left: 3px;
@@ -234,7 +234,7 @@
234
234
  }
235
235
 
236
236
  /* Before the indicator is measured (server render), mark the selected tab statically. */
237
- .tb-root[data-variant="line"] .tb-list:not([style*="--tb-indicator-size"]) .tb-tab[aria-selected="true"] {
237
+ .tb-root:where([data-variant="line"]) .tb-list:not([style*="--tb-indicator-size"]) .tb-tab[aria-selected="true"] {
238
238
  box-shadow: inset 0 -2px 0 var(--tb-accent);
239
239
  }
240
240
 
@@ -8,7 +8,7 @@
8
8
  ]
9
9
  },
10
10
  "source": {
11
- "libraryVersion": "2.4.1",
11
+ "libraryVersion": "2.4.3",
12
12
  "files": [
13
13
  "core/count.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:99fe1b42359a0d09331c6cf00b5c8d2e01fe57d9a02769637c990906ede431cf"
22
+ "sourceHash": "sha256:35a538fdd2522c310be181bbb598fdc6eebb99fc5dd1a0ffab3cccf8d84ac43a"
23
23
  },
24
24
  "props": [
25
25
  {
@@ -46,12 +46,12 @@
46
46
  box-sizing: border-box;
47
47
  }
48
48
 
49
- .ta-root[data-size="sm"] {
49
+ .ta-root:where([data-size="sm"]) {
50
50
  --ta-font-size: 12px;
51
51
  --ta-px: 8px;
52
52
  --ta-py: 6px;
53
53
  }
54
- .ta-root[data-size="lg"] {
54
+ .ta-root:where([data-size="lg"]) {
55
55
  --ta-font-size: 14px;
56
56
  --ta-px: 12px;
57
57
  --ta-py: 10px;
@@ -100,16 +100,16 @@
100
100
  cursor: not-allowed;
101
101
  }
102
102
 
103
- .ta-input[data-resize="none"] {
103
+ .ta-input:where([data-resize="none"]) {
104
104
  resize: none;
105
105
  }
106
- .ta-input[data-resize="vertical"] {
106
+ .ta-input:where([data-resize="vertical"]) {
107
107
  resize: vertical;
108
108
  }
109
- .ta-input[data-resize="horizontal"] {
109
+ .ta-input:where([data-resize="horizontal"]) {
110
110
  resize: horizontal;
111
111
  }
112
- .ta-input[data-resize="both"] {
112
+ .ta-input:where([data-resize="both"]) {
113
113
  resize: both;
114
114
  }
115
115
 
@@ -118,7 +118,7 @@
118
118
  * component; `--ta-max-rows: none` makes max-height invalid, which means no limit.
119
119
  */
120
120
  @supports (field-sizing: content) {
121
- .ta-input[data-autoresize] {
121
+ .ta-input:where([data-autoresize]) {
122
122
  field-sizing: content;
123
123
  min-height: calc(var(--ta-min-rows, 3) * 1lh + 2 * var(--ta-py) + 2px);
124
124
  max-height: calc(var(--ta-max-rows) * 1lh + 2 * var(--ta-py) + 2px);
@@ -11,7 +11,7 @@
11
11
  ]
12
12
  },
13
13
  "source": {
14
- "libraryVersion": "2.4.1",
14
+ "libraryVersion": "2.4.3",
15
15
  "files": [
16
16
  "core/api.ts",
17
17
  "core/index.ts",
@@ -26,7 +26,7 @@
26
26
  "react/props.ts",
27
27
  "react/useToasts.ts"
28
28
  ],
29
- "sourceHash": "sha256:29756fca7fc33de05f42257fbb145017a6c507565eecb99ce06814ba404262ef"
29
+ "sourceHash": "sha256:ac828195f4d7ced89c99eb2bd78bb2581ba7a81d62dcfb892b9acef75bddda77"
30
30
  },
31
31
  "props": [
32
32
  {
@@ -160,16 +160,16 @@
160
160
  width: 3px;
161
161
  background: var(--ts-type-color);
162
162
  }
163
- .ts-toast[data-type="success"] {
163
+ .ts-toast:where([data-type="success"]) {
164
164
  --ts-type-color: var(--ts-success);
165
165
  }
166
- .ts-toast[data-type="error"] {
166
+ .ts-toast:where([data-type="error"]) {
167
167
  --ts-type-color: var(--ts-error);
168
168
  }
169
- .ts-toast[data-type="warning"] {
169
+ .ts-toast:where([data-type="warning"]) {
170
170
  --ts-type-color: var(--ts-warning);
171
171
  }
172
- .ts-toast[data-type="info"] {
172
+ .ts-toast:where([data-type="info"]) {
173
173
  --ts-type-color: var(--ts-info);
174
174
  }
175
175
 
@@ -180,7 +180,7 @@
180
180
  margin-top: 1px;
181
181
  color: var(--ts-type-color);
182
182
  }
183
- .ts-toast:is([data-type="default"], [data-type="loading"]) .ts-icon {
183
+ .ts-toast:is(:where([data-type="default"]), :where([data-type="loading"])) .ts-icon {
184
184
  color: var(--ts-muted);
185
185
  }
186
186
 
@@ -219,12 +219,12 @@
219
219
  .ts-button:hover {
220
220
  background: var(--ts-hover);
221
221
  }
222
- .ts-button[data-variant="action"] {
222
+ .ts-button:where([data-variant="action"]) {
223
223
  border-color: var(--ts-accent);
224
224
  background: var(--ts-accent);
225
225
  color: var(--ts-accent-fg);
226
226
  }
227
- .ts-button[data-variant="action"]:hover {
227
+ .ts-button:where([data-variant="action"]):hover {
228
228
  background: color-mix(in oklab, var(--ts-accent), var(--ts-fg) 12%);
229
229
  }
230
230
  .ts-button:focus-visible {
@@ -8,7 +8,7 @@
8
8
  ]
9
9
  },
10
10
  "source": {
11
- "libraryVersion": "2.4.1",
11
+ "libraryVersion": "2.4.3",
12
12
  "files": [
13
13
  "core/index.ts",
14
14
  "core/types.ts",
@@ -17,7 +17,7 @@
17
17
  "react/Tooltip.tsx",
18
18
  "react/props.ts"
19
19
  ],
20
- "sourceHash": "sha256:27e564b384259c710f11e5795bbef73813368bd445d17f1d0562910a53dc23e8"
20
+ "sourceHash": "sha256:b7a7aefbc8fcb4c9f4063dd0bc312ca2316ac848946c3055c8e69a8fe8780916"
21
21
  },
22
22
  "props": [
23
23
  {