basalt-ui 2.27.2 → 2.28.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 (238) hide show
  1. package/CHANGELOG.md +99 -0
  2. package/MIGRATING.md +168 -12
  3. package/agent/rules/basalt-batteries.md +1 -1
  4. package/agent/rules/basalt-mantine.md +1 -1
  5. package/agent/rules/basalt-tokens.md +2 -2
  6. package/agent/skills/basalt-design/SKILL.md +1 -1
  7. package/agent/skills/basalt-design/references/catalogue.md +40 -36
  8. package/agent/skills/basalt-design/references/recipes.md +47 -0
  9. package/configs/oxlint-basalt.json +2 -1
  10. package/configs/oxlint-plugin.js +110 -2
  11. package/configs/oxlint-plugin.test.ts +99 -4
  12. package/dist/agent/chat/thread-message.d.ts +1 -160
  13. package/dist/agent/chat/thread-message.d.ts.map +1 -1
  14. package/dist/agent/chat/thread-message.js +7 -162
  15. package/dist/agent/chat/virtualize.d.ts +5 -5
  16. package/dist/charts/ChartCard.d.ts +5 -2
  17. package/dist/charts/ChartCard.d.ts.map +1 -1
  18. package/dist/charts/ChartCard.js +46 -13
  19. package/dist/charts/Lines.d.ts.map +1 -1
  20. package/dist/charts/Lines.js +11 -4
  21. package/dist/charts/Sparkline.d.ts +9 -2
  22. package/dist/charts/Sparkline.d.ts.map +1 -1
  23. package/dist/charts/Sparkline.js +104 -41
  24. package/dist/charts/chart-box.module.css +50 -0
  25. package/dist/charts/chart-box.module.css.d.ts +5 -0
  26. package/dist/charts/chart-card.module.css +12 -4
  27. package/dist/charts/chart-card.module.css.d.ts +1 -0
  28. package/dist/charts/compile.d.ts.map +1 -1
  29. package/dist/charts/compile.js +20 -18
  30. package/dist/charts/labels.d.ts +13 -3
  31. package/dist/charts/labels.d.ts.map +1 -1
  32. package/dist/charts/labels.js +131 -20
  33. package/dist/charts/legend.d.ts.map +1 -1
  34. package/dist/charts/legend.js +1 -1
  35. package/dist/charts/ref-label.d.ts +31 -8
  36. package/dist/charts/ref-label.d.ts.map +1 -1
  37. package/dist/charts/ref-label.js +40 -9
  38. package/dist/charts/sparkline.module.css +6 -0
  39. package/dist/charts/state.d.ts +3 -3
  40. package/dist/charts/state.d.ts.map +1 -1
  41. package/dist/charts/state.js +20 -2
  42. package/dist/cli/shot/capture.d.ts +6 -1
  43. package/dist/cli/shot/capture.d.ts.map +1 -1
  44. package/dist/cli/shot/capture.js +18 -5
  45. package/dist/common/empty-copy.d.ts +16 -0
  46. package/dist/common/empty-copy.d.ts.map +1 -0
  47. package/dist/common/empty-copy.js +9 -0
  48. package/dist/common/virtual-rows.d.ts +196 -0
  49. package/dist/common/virtual-rows.d.ts.map +1 -0
  50. package/dist/common/virtual-rows.js +290 -0
  51. package/dist/controls/controls.module.css +33 -1
  52. package/dist/controls/controls.module.css.d.ts +2 -0
  53. package/dist/controls/enum-filter.d.ts.map +1 -1
  54. package/dist/controls/enum-filter.js +8 -2
  55. package/dist/controls/filter-pill.d.ts +27 -3
  56. package/dist/controls/filter-pill.d.ts.map +1 -1
  57. package/dist/controls/filter-pill.js +15 -4
  58. package/dist/controls/form-layout.d.ts +9 -3
  59. package/dist/controls/form-layout.d.ts.map +1 -1
  60. package/dist/controls/form-layout.js +74 -12
  61. package/dist/controls/form-layout.module.css +112 -7
  62. package/dist/controls/form-layout.module.css.d.ts +1 -0
  63. package/dist/controls/multi-select-filter.d.ts +2 -2
  64. package/dist/controls/multi-select-filter.d.ts.map +1 -1
  65. package/dist/controls/multi-select-filter.js +12 -6
  66. package/dist/controls/range-filter.d.ts +1 -1
  67. package/dist/controls/range-filter.d.ts.map +1 -1
  68. package/dist/controls/range-filter.js +8 -2
  69. package/dist/dashboard/bar-list.d.ts +1 -1
  70. package/dist/dashboard/bar-list.d.ts.map +1 -1
  71. package/dist/dashboard/bar-list.js +6 -2
  72. package/dist/dashboard/bar-list.module.css +0 -2
  73. package/dist/dashboard/board-nav.d.ts +22 -0
  74. package/dist/dashboard/board-nav.d.ts.map +1 -0
  75. package/dist/dashboard/board-nav.js +49 -0
  76. package/dist/dashboard/board.d.ts +52 -0
  77. package/dist/dashboard/board.d.ts.map +1 -0
  78. package/dist/dashboard/board.js +228 -0
  79. package/dist/dashboard/board.module.css +160 -0
  80. package/dist/dashboard/board.module.css.d.ts +26 -0
  81. package/dist/dashboard/empty-state.d.ts +3 -3
  82. package/dist/dashboard/empty-state.d.ts.map +1 -1
  83. package/dist/dashboard/empty-state.js +13 -6
  84. package/dist/dashboard/event-list-model.d.ts +51 -0
  85. package/dist/dashboard/event-list-model.d.ts.map +1 -0
  86. package/dist/dashboard/event-list-model.js +72 -0
  87. package/dist/dashboard/event-list-rows.d.ts +23 -0
  88. package/dist/dashboard/event-list-rows.d.ts.map +1 -0
  89. package/dist/dashboard/event-list-rows.js +93 -0
  90. package/dist/dashboard/event-list-scroll.d.ts +27 -0
  91. package/dist/dashboard/event-list-scroll.d.ts.map +1 -0
  92. package/dist/dashboard/event-list-scroll.js +103 -0
  93. package/dist/dashboard/event-list-skeleton.d.ts +10 -0
  94. package/dist/dashboard/event-list-skeleton.d.ts.map +1 -0
  95. package/dist/dashboard/event-list-skeleton.js +36 -0
  96. package/dist/dashboard/event-list.d.ts +65 -0
  97. package/dist/dashboard/event-list.d.ts.map +1 -0
  98. package/dist/dashboard/event-list.js +178 -0
  99. package/dist/dashboard/event-list.module.css +283 -0
  100. package/dist/dashboard/event-list.module.css.d.ts +33 -0
  101. package/dist/dashboard/index.d.ts +2 -0
  102. package/dist/dashboard/index.d.ts.map +1 -1
  103. package/dist/dashboard/index.js +4 -0
  104. package/dist/dashboard/meter-parts.d.ts.map +1 -1
  105. package/dist/dashboard/meter-parts.js +5 -3
  106. package/dist/dashboard/meter.module.css +2 -1
  107. package/dist/dashboard/query-state.js +1 -1
  108. package/dist/dashboard/settings-section.d.ts +4 -1
  109. package/dist/dashboard/settings-section.d.ts.map +1 -1
  110. package/dist/dashboard/settings-section.js +1 -1
  111. package/dist/dashboard/settings-section.module.css +19 -4
  112. package/dist/dashboard/stat-card-parts.d.ts +5 -1
  113. package/dist/dashboard/stat-card-parts.d.ts.map +1 -1
  114. package/dist/dashboard/stat-card-parts.js +8 -3
  115. package/dist/dashboard/stat-card.d.ts.map +1 -1
  116. package/dist/dashboard/stat-card.js +25 -6
  117. package/dist/dashboard/stat-card.module.css +31 -7
  118. package/dist/dashboard/stat-card.module.css.d.ts +3 -0
  119. package/dist/dashboard/stat-strip.module.css +4 -1
  120. package/dist/dashboard/widget-header.module.css +17 -1
  121. package/dist/guard/index.d.ts.map +1 -1
  122. package/dist/guard/index.js +2 -0
  123. package/dist/index.d.ts +1 -1
  124. package/dist/index.d.ts.map +1 -1
  125. package/dist/index.js +4 -0
  126. package/dist/shell/app-main.module.css +18 -0
  127. package/dist/styles.css +46 -0
  128. package/dist/surfaces.d.ts +2 -2
  129. package/dist/surfaces.d.ts.map +1 -1
  130. package/dist/surfaces.js +8 -2
  131. package/dist/table/cell-kinds.d.ts +44 -0
  132. package/dist/table/cell-kinds.d.ts.map +1 -0
  133. package/dist/table/cell-kinds.js +169 -0
  134. package/dist/table/cell-kinds.module.css +55 -0
  135. package/dist/table/cell-kinds.module.css.d.ts +15 -0
  136. package/dist/table/data-table-fold.d.ts +147 -0
  137. package/dist/table/data-table-fold.d.ts.map +1 -0
  138. package/dist/table/data-table-fold.js +288 -0
  139. package/dist/table/data-table-state.d.ts +10 -3
  140. package/dist/table/data-table-state.d.ts.map +1 -1
  141. package/dist/table/data-table-state.js +11 -6
  142. package/dist/table/data-table.d.ts +11 -26
  143. package/dist/table/data-table.d.ts.map +1 -1
  144. package/dist/table/data-table.js +354 -254
  145. package/dist/table/data-table.module.css +210 -3
  146. package/dist/table/data-table.module.css.d.ts +12 -0
  147. package/dist/table/table-features.d.ts +34 -4
  148. package/dist/table/table-features.d.ts.map +1 -1
  149. package/dist/table/table-features.js +10 -0
  150. package/dist/theme/card-inset.module.css +35 -0
  151. package/dist/theme/controls.module.css +32 -0
  152. package/dist/theme/ctl-theme.d.ts.map +1 -1
  153. package/dist/theme/ctl-theme.js +5 -0
  154. package/dist/theme/index.d.ts.map +1 -1
  155. package/dist/theme/index.js +14 -10
  156. package/dist/tokens/core.d.ts +1 -0
  157. package/dist/tokens/core.d.ts.map +1 -1
  158. package/dist/tokens/core.js +1 -0
  159. package/dist/tokens/derive.js +1 -1
  160. package/dist/tokens/palette.d.ts +2 -1
  161. package/dist/tokens/palette.d.ts.map +1 -1
  162. package/llms.txt +34 -5
  163. package/package.json +1 -1
  164. package/src/agent/chat/thread-message.tsx +10 -403
  165. package/src/agent/chat/virtualize.ts +5 -5
  166. package/src/charts/ChartCard.tsx +79 -17
  167. package/src/charts/Lines.tsx +13 -4
  168. package/src/charts/Sparkline.tsx +131 -45
  169. package/src/charts/chart-box.module.css +50 -0
  170. package/src/charts/chart-box.module.css.d.ts +5 -0
  171. package/src/charts/chart-card.module.css +12 -4
  172. package/src/charts/chart-card.module.css.d.ts +1 -0
  173. package/src/charts/compile.ts +22 -18
  174. package/src/charts/labels.ts +175 -24
  175. package/src/charts/legend.tsx +3 -2
  176. package/src/charts/ref-label.ts +86 -17
  177. package/src/charts/sparkline.module.css +6 -0
  178. package/src/charts/state.tsx +36 -7
  179. package/src/cli/shot/capture.ts +29 -6
  180. package/src/common/empty-copy.ts +17 -0
  181. package/src/common/virtual-rows.tsx +682 -0
  182. package/src/controls/controls.module.css +33 -1
  183. package/src/controls/controls.module.css.d.ts +2 -0
  184. package/src/controls/enum-filter.tsx +8 -2
  185. package/src/controls/filter-pill.tsx +80 -27
  186. package/src/controls/form-layout.module.css +112 -7
  187. package/src/controls/form-layout.module.css.d.ts +1 -0
  188. package/src/controls/form-layout.tsx +115 -22
  189. package/src/controls/multi-select-filter.tsx +22 -11
  190. package/src/controls/range-filter.tsx +9 -3
  191. package/src/dashboard/bar-list.module.css +0 -2
  192. package/src/dashboard/bar-list.tsx +8 -5
  193. package/src/dashboard/board-nav.ts +67 -0
  194. package/src/dashboard/board.module.css +160 -0
  195. package/src/dashboard/board.module.css.d.ts +26 -0
  196. package/src/dashboard/board.tsx +394 -0
  197. package/src/dashboard/empty-state.tsx +16 -9
  198. package/src/dashboard/event-list-model.ts +113 -0
  199. package/src/dashboard/event-list-rows.tsx +120 -0
  200. package/src/dashboard/event-list-scroll.ts +145 -0
  201. package/src/dashboard/event-list-skeleton.tsx +58 -0
  202. package/src/dashboard/event-list.module.css +283 -0
  203. package/src/dashboard/event-list.module.css.d.ts +33 -0
  204. package/src/dashboard/event-list.tsx +309 -0
  205. package/src/dashboard/index.ts +2 -0
  206. package/src/dashboard/meter-parts.tsx +9 -2
  207. package/src/dashboard/meter.module.css +2 -1
  208. package/src/dashboard/query-state.tsx +1 -1
  209. package/src/dashboard/settings-section.module.css +19 -4
  210. package/src/dashboard/settings-section.tsx +7 -2
  211. package/src/dashboard/stat-card-parts.tsx +20 -3
  212. package/src/dashboard/stat-card.module.css +31 -7
  213. package/src/dashboard/stat-card.module.css.d.ts +3 -0
  214. package/src/dashboard/stat-card.tsx +24 -5
  215. package/src/dashboard/stat-strip.module.css +4 -1
  216. package/src/dashboard/widget-header.module.css +17 -1
  217. package/src/guard/index.ts +2 -0
  218. package/src/index.ts +4 -0
  219. package/src/shell/app-main.module.css +18 -0
  220. package/src/styles.css +46 -0
  221. package/src/surfaces.ts +7 -1
  222. package/src/table/cell-kinds.module.css +55 -0
  223. package/src/table/cell-kinds.module.css.d.ts +15 -0
  224. package/src/table/cell-kinds.tsx +234 -0
  225. package/src/table/data-table-fold.tsx +514 -0
  226. package/src/table/data-table-state.ts +24 -13
  227. package/src/table/data-table.module.css +210 -3
  228. package/src/table/data-table.module.css.d.ts +12 -0
  229. package/src/table/data-table.tsx +406 -359
  230. package/src/table/table-features.ts +44 -4
  231. package/src/theme/__snapshots__/plain-theme.test.ts.snap +2 -66
  232. package/src/theme/card-inset.module.css +35 -0
  233. package/src/theme/controls.module.css +32 -0
  234. package/src/theme/ctl-theme.tsx +8 -0
  235. package/src/theme/index.ts +12 -8
  236. package/src/tokens/core.ts +1 -0
  237. package/src/tokens/derive.ts +1 -1
  238. package/src/tokens/palette.ts +4 -1
@@ -139,25 +139,64 @@
139
139
  * button cell line up under one another regardless of how many columns folded.
140
140
  */
141
141
  .foldToggleCell {
142
- width: 2.75rem;
142
+ box-sizing: border-box;
143
+ /* The 28px toggle sits inside the 40px row; the cell's own block padding added 3px to it. */
144
+ padding-block: 0;
145
+ padding-inline: 0;
143
146
  text-align: center;
144
147
  }
145
148
 
149
+ /* A ghost chevron: no box at rest (eight bordered squares down a column read as clutter), muted, ink
150
+ on hover and focus, the focus ring on keyboard focus. It is 28px so the 40px row holds it;
151
+ `data-basalt-hit` carries the tap target to the pointer tier's floor (`--vx-hit`) without growing
152
+ the row. */
146
153
  .foldToggle {
147
154
  display: inline-flex;
148
155
  align-items: center;
149
156
  justify-content: center;
157
+ box-sizing: border-box;
158
+ width: 1.75rem;
159
+ height: 1.75rem;
150
160
  border: none;
161
+ border-radius: var(--vx-radius-ctrl);
151
162
  background: none;
152
163
  padding: 0;
153
164
  color: var(--vx-muted);
154
165
  cursor: pointer;
155
166
  }
156
167
 
157
- .foldToggle:hover {
168
+ .foldToggle:hover,
169
+ .foldToggle:focus-visible {
158
170
  color: var(--vx-ink);
159
171
  }
160
172
 
173
+ .foldToggle:focus-visible {
174
+ outline: 2px solid var(--vx-accent);
175
+ outline-offset: 1px;
176
+ }
177
+
178
+ /* The header above the toggles: a micro count of the folded columns. */
179
+ .foldCount {
180
+ font-family: var(--mantine-font-family-monospace);
181
+ font-size: var(--vx-text-micro);
182
+ color: var(--vx-muted);
183
+ cursor: help;
184
+ }
185
+
186
+ .foldChevron {
187
+ width: 0.875rem;
188
+ height: 0.875rem;
189
+ fill: none;
190
+ stroke: currentColor;
191
+ stroke-width: 1.5;
192
+ stroke-linecap: round;
193
+ stroke-linejoin: round;
194
+ }
195
+
196
+ .foldChevron[data-expanded='true'] {
197
+ transform: rotate(90deg);
198
+ }
199
+
161
200
  /* The disclosure row itself carries no border of its own — it reads as part of the row above it,
162
201
  not a new one. */
163
202
  .foldDisclosureRowTr {
@@ -166,14 +205,22 @@
166
205
 
167
206
  .foldDisclosureCell {
168
207
  padding-top: 0;
208
+ padding-inline: 0;
169
209
  background: var(--vx-surface-subtle);
170
210
  }
171
211
 
172
212
  .foldDisclosure {
213
+ /* The disclosure row spans every column, so it would scroll away with them: the content box is as
214
+ wide as the container and sticks at its start edge. */
215
+ position: sticky;
216
+ inset-inline-start: 0;
217
+ box-sizing: border-box;
218
+ width: var(--basalt-table-room, 100%);
219
+ padding-inline: var(--vx-space-row-inset-x, 0.5rem);
173
220
  display: flex;
174
221
  flex-direction: column;
175
222
  gap: var(--vx-space-row-inset-y, 0.375rem);
176
- padding: var(--vx-space-row-inset-y, 0.375rem) 0;
223
+ padding-block: var(--vx-space-row-inset-y, 0.375rem);
177
224
  }
178
225
 
179
226
  .foldDisclosureRow {
@@ -193,3 +240,163 @@
193
240
  color: var(--vx-ink);
194
241
  text-align: right;
195
242
  }
243
+
244
+ /*
245
+ * The header row's toolbar (`docs/waves/design-parity/SPEC.md` § 6.6): search, facet chips and the
246
+ * `actions` slot on ONE line from the `compact` container class (240px, `CONTAINER_CLASSES`) up.
247
+ * The header row is the container, so the table reads its own width and never the viewport; below
248
+ * 240px the row may wrap. The base `flex-wrap: wrap` is Mantine `Group`'s own; this module is
249
+ * unlayered, so it outranks `@layer mantine` regardless of specificity.
250
+ */
251
+ .tableHeader {
252
+ container-type: inline-size;
253
+ }
254
+
255
+ @container (min-width: 240px) {
256
+ .toolbar {
257
+ flex-wrap: nowrap;
258
+ }
259
+ }
260
+
261
+ /* The actions sit at the row's right edge even when no facet row is there to push them. */
262
+ .toolbarActions {
263
+ flex: 0 1 auto;
264
+ min-width: 0;
265
+ margin-inline-start: auto;
266
+ }
267
+
268
+ /*
269
+ * The toolbar search and the footer's rows-per-page Select are the SAME height as the controls beside
270
+ * them at every pointer tier. At a coarse pointer the theme gives an input a real 44px floor
271
+ * (`min-height: var(--vx-hit)` — an input cannot host the `[data-basalt-hit]` overlay), which made the
272
+ * search ~12px taller than the 32px chips next to it. Here the visible box is the `ctl` height (the
273
+ * floor is lifted) and the wrapper hosts the 44px overlay instead, capped at the toolbar gap exactly
274
+ * like a pill. The input keeps its 16px type.
275
+ */
276
+ .toolbarWrapper {
277
+ --vx-hit-gap: var(--vx-space-control-gap);
278
+ }
279
+
280
+ @media (pointer: coarse) {
281
+ .toolbarInput.toolbarInput {
282
+ min-height: 0;
283
+ }
284
+ }
285
+
286
+ /*
287
+ * Headers never wrap (SPEC § 6.6 / § 9.1): a two-line label doubles the header row and, at a compact
288
+ * container, was the first thing to give — the fold and the pin-and-scroll take the room instead.
289
+ */
290
+ .table th {
291
+ white-space: nowrap;
292
+ }
293
+
294
+ /*
295
+ * The table's own scroll box, a keyboard tab stop only while it overflows (`data-table.tsx`
296
+ * `scrollerProps`). The ring sits INSIDE the box: its edges are the container's, and an outset
297
+ * outline would be clipped by the page's own overflow.
298
+ */
299
+ .scroller:focus-visible {
300
+ outline: 2px solid var(--vx-accent);
301
+ outline-offset: -2px;
302
+ }
303
+
304
+ /*
305
+ * A pinned cell is opaque in EVERY row state (TanStack issue 5392 — the cell under it bled through).
306
+ * Its inline `background-color` is the panel; the row's own state tint is layered over it as an image,
307
+ * so a translucent tint composes on the panel exactly as it does on the row. The selectors mirror
308
+ * Mantine's `Table.css` tint rules (hover on a pointer, `:active` on touch; striped by `nth-of-type`).
309
+ */
310
+ .pinnedLayer {
311
+ --pinned-tint: transparent;
312
+ background-image: linear-gradient(var(--pinned-tint), var(--pinned-tint));
313
+ }
314
+
315
+ /* A sticky header paints `--mantine-color-body` on every `th`; its pinned cells must not read the
316
+ table's surface instead, or the pinned name is a different shade from the rest of the header. */
317
+ .table thead[data-sticky] {
318
+ --basalt-pin-fill: var(--mantine-color-body);
319
+ }
320
+
321
+ /* Body rows only: Mantine stamps `data-striped` / `data-hover` on the header's `<tr>` too, and an
322
+ unscoped rule tinted the pinned `<th>` of an odd first row — a grey block in the header. */
323
+ tbody > tr[data-striped='odd']:nth-of-type(odd) > .pinnedLayer,
324
+ tbody > tr[data-striped='even']:nth-of-type(even) > .pinnedLayer {
325
+ --pinned-tint: var(--table-striped-color);
326
+ }
327
+
328
+ @media (hover: hover) {
329
+ tbody > tr[data-hover]:hover > .pinnedLayer {
330
+ --pinned-tint: var(--tr-hover-bg);
331
+ }
332
+ }
333
+
334
+ @media (hover: none) {
335
+ tbody > tr[data-hover]:active > .pinnedLayer {
336
+ --pinned-tint: var(--tr-hover-bg);
337
+ }
338
+ }
339
+
340
+ /*
341
+ * The auto-pinned identifier: one line, ellipsized past 45% of the container (`--basalt-table-room`,
342
+ * written by the fold measurement; the title attribute carries the full text). Its min width is the
343
+ * inline `minWidth` from `columnDef.minSize`.
344
+ */
345
+ th.pinnedFluid,
346
+ td.pinnedFluid {
347
+ overflow: hidden;
348
+ max-width: calc(var(--basalt-table-room, 24rem) * 0.45);
349
+ text-overflow: ellipsis;
350
+ white-space: nowrap;
351
+ }
352
+
353
+ /* A hovered row takes the row-hover token on a fine pointer (Mantine's `highlightOnHover` paints it). */
354
+ .table {
355
+ --table-highlight-on-hover-color: var(--vx-surface-row-hover);
356
+ }
357
+
358
+ /*
359
+ * Rows hold one line (SPEC § 6.6, 40 px): a body cell never wraps, so the fold measures natural
360
+ * one-line widths and folds or pins instead of "fitting" by wrapping. Only an explicit `text` kind
361
+ * may wrap — never a pinned one. A full-row cell (empty and error bodies, the fold
362
+ * disclosure) holds prose and wraps inside the table width.
363
+ */
364
+ .table td {
365
+ white-space: nowrap;
366
+ }
367
+
368
+ .table td[data-kind='text']:not(.pinnedLayer),
369
+ .table td[colspan] {
370
+ white-space: normal;
371
+ }
372
+
373
+ /*
374
+ * Column sizing (SPEC § 6.6): `data-fit` columns take their content width — `1px` plus a no-wrap
375
+ * cell is "as narrow as the content allows" in the auto table layout — and the one slack column (or
376
+ * the trailing spacer) takes everything else, so a value sits next to its name at any width. The
377
+ * fold reads these natural `<th>` widths; the pinned identifier keeps its own cap.
378
+ */
379
+ .table [data-fit] {
380
+ width: 1px;
381
+ }
382
+
383
+ .spacer {
384
+ padding: 0;
385
+ }
386
+
387
+ /*
388
+ * A lone `danger` row action. Repeated once per row, a red icon at rest is a status hue on chrome,
389
+ * so it rests as the same neutral as any row action and takes the danger colour (the menu's red
390
+ * item) on the control's OWN hover or keyboard focus only — never the row's, which would light a
391
+ * column of red icons as the pointer moves down. A disabled or loading control stays neutral.
392
+ */
393
+ .dangerAction:not(:disabled, [data-disabled], [data-loading]):focus-visible {
394
+ color: var(--mantine-color-red-light-color);
395
+ }
396
+
397
+ /* Hover only where a pointer can hover: a tap on a phone must not leave a sticky red icon. */
398
+ @media (hover: hover) {
399
+ .dangerAction:not(:disabled, [data-disabled], [data-loading]):hover {
400
+ color: var(--mantine-color-red-light-color);
401
+ }
402
+ }
@@ -7,6 +7,9 @@ declare const classes: {
7
7
  readonly bulkBar: string
8
8
  readonly bulkCount: string
9
9
  readonly containment: string
10
+ readonly dangerAction: string
11
+ readonly foldChevron: string
12
+ readonly foldCount: string
10
13
  readonly foldDisclosure: string
11
14
  readonly foldDisclosureCell: string
12
15
  readonly foldDisclosureLabel: string
@@ -17,8 +20,17 @@ declare const classes: {
17
20
  readonly foldToggleCell: string
18
21
  readonly foldWrapper: string
19
22
  readonly pageSticky: string
23
+ readonly toolbarInput: string
24
+ readonly toolbarWrapper: string
25
+ readonly tableHeader: string
26
+ readonly toolbar: string
27
+ readonly toolbarActions: string
28
+ readonly pinnedFluid: string
29
+ readonly pinnedLayer: string
30
+ readonly scroller: string
20
31
  readonly selectCell: string
21
32
  readonly selectHit: string
33
+ readonly spacer: string
22
34
  readonly srOnly: string
23
35
  readonly table: string
24
36
  }