@dorsk/tsumikit 0.37.0 → 0.37.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.
@@ -184,7 +184,7 @@
184
184
  position: relative;
185
185
  height: var(--track-h);
186
186
  border-radius: var(--r-pill);
187
- background: color-mix(in oklab, var(--accent) 26%, var(--bg));
187
+ background: color-mix(in oklab, var(--fill) 26%, var(--bg));
188
188
  cursor: ew-resize;
189
189
  touch-action: none;
190
190
  user-select: none;
@@ -153,6 +153,9 @@
153
153
  display: flex;
154
154
  justify-content: flex-end;
155
155
  }
156
+ .drawer:not([open]) {
157
+ display: none;
158
+ }
156
159
  .drawer[data-side='left'] {
157
160
  justify-content: flex-start;
158
161
  }
@@ -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;
@@ -114,6 +114,7 @@
114
114
  align-items: center;
115
115
  flex: 1 1 0;
116
116
  min-width: 0;
117
+ min-height: max-content;
117
118
  overflow: hidden;
118
119
  }
119
120
  .rail.full {
@@ -110,7 +110,7 @@ function parseOr(sc, schema) {
110
110
  children.push(first);
111
111
  for (;;) {
112
112
  const kw = peekKeyword(sc);
113
- if (!kw || kw.word !== 'OR')
113
+ if (kw?.word !== 'OR')
114
114
  break;
115
115
  sc.i = kw.next;
116
116
  const next = parseAnd(sc, schema);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dorsk/tsumikit",
3
- "version": "0.37.0",
3
+ "version": "0.37.2",
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",