@dorsk/tsumikit 0.37.1 → 0.37.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.
package/README.md CHANGED
@@ -183,7 +183,8 @@ drop target with `accepts`/`ondrop`/`dropHint` — keyboard alternative is the c
183
183
  `nowrap` / `hideBelow="sm|md|lg"` (container-query on the table's own box),
184
184
  `hideHeader` clips the header but keeps it for assistive tech, `rowTone(row)`
185
185
  paints a left accent bar + `data-tone`, `rowClass(row)`, `rowActions` snippet
186
- for a hover/focus-revealed trailing cell (always visible on touch),
186
+ for a hover/focus-revealed trailing cell (always visible on touch; under
187
+ `layout="fixed"` its column is `--dt-actions-w`, default 3.5rem),
187
188
  `stickyOffset` for the sticky header's `top`, `size="sm"`, `loading`,
188
189
  `onloadmore` footer button, `empty` as string or snippet; `data-part`
189
190
  hooks on head/row/cell; `responsive="stack"` turns rows into cards below
@@ -206,6 +206,9 @@
206
206
  align-items: flex-end;
207
207
  justify-content: center;
208
208
  }
209
+ .modal:not([open]) {
210
+ display: none;
211
+ }
209
212
  .modal::backdrop {
210
213
  background: rgba(0, 0, 0, 0.55);
211
214
  /* animate the backdrop in (progressive enhancement) */
@@ -155,12 +155,13 @@
155
155
  gap: var(--sp-1);
156
156
  }
157
157
  .row-wrap {
158
- display: flex;
159
- flex-direction: column;
158
+ min-width: 0;
160
159
  }
161
160
  .row {
161
+ width: 100%;
162
162
  display: flex;
163
163
  align-items: flex-start;
164
+ min-width: 0;
164
165
  gap: var(--sp-2);
165
166
  padding: var(--pad, var(--sp-2) var(--sp-3));
166
167
  border: 1px solid var(--border);
@@ -179,6 +180,7 @@
179
180
  }
180
181
  .row .texts {
181
182
  flex: 1 1 auto;
183
+ min-width: 0;
182
184
  }
183
185
  .label-line {
184
186
  display: flex;
@@ -406,6 +406,10 @@
406
406
  white-space: nowrap;
407
407
  text-align: right;
408
408
  }
409
+ .dt.fixed .dt-actions-head,
410
+ .dt.fixed .dt-actions {
411
+ width: var(--dt-actions-w, 3.5rem);
412
+ }
409
413
  .dt-actions {
410
414
  opacity: 0;
411
415
  transition: opacity 0.12s var(--ease);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dorsk/tsumikit",
3
- "version": "0.37.1",
3
+ "version": "0.37.3",
4
4
  "description": "Minimal, dependency-free Svelte 5 + pure-CSS UI kit. Token-driven atoms, molecules & layouts with theming out of the box.",
5
5
  "type": "module",
6
6
  "license": "MIT",