@tangible/ui 0.0.12 → 0.0.13
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/components/Modal/Modal.d.ts +6 -3
- package/components/Modal/Modal.js +13 -2
- package/components/Notice/Notice.d.ts +6 -1
- package/components/Notice/Notice.js +2 -2
- package/package.json +1 -1
- package/styles/all.css +1 -1
- package/styles/all.expanded.css +96 -60
- package/styles/all.expanded.unlayered.css +96 -60
- package/styles/all.unlayered.css +1 -1
- package/styles/utilities/_index.scss +47 -14
- package/tui-manifest.json +37 -3
|
@@ -204,6 +204,20 @@
|
|
|
204
204
|
.is-align-self-end { align-self: end; }
|
|
205
205
|
.is-align-self-stretch { align-self: stretch; }
|
|
206
206
|
|
|
207
|
+
// Flex item sized to its content's natural width, won't shrink below it.
|
|
208
|
+
// Use on flex children that should hold their intrinsic size — icons,
|
|
209
|
+
// badges, fixed-width controls inside a row of growing content.
|
|
210
|
+
.is-flex-fit {
|
|
211
|
+
flex-basis: max-content;
|
|
212
|
+
flex-shrink: 0;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
// Atomic grow/shrink controls for flex children. Defaults: grow=0, shrink=1.
|
|
216
|
+
.is-flex-grow { flex-grow: 1; }
|
|
217
|
+
.is-flex-no-grow { flex-grow: 0; }
|
|
218
|
+
.is-flex-shrink { flex-shrink: 1; }
|
|
219
|
+
.is-flex-no-shrink { flex-shrink: 0; }
|
|
220
|
+
|
|
207
221
|
// Grid alignment shorthand (applies to grid containers)
|
|
208
222
|
.is-place-start { place-items: start; }
|
|
209
223
|
.is-place-center { place-items: center; }
|
|
@@ -325,32 +339,51 @@
|
|
|
325
339
|
// ---------------------------
|
|
326
340
|
// Border width & side utilities
|
|
327
341
|
// ---------------------------
|
|
328
|
-
//
|
|
342
|
+
// Defaults: 1px (--tui-border-width), solid, --tui-color-border.
|
|
343
|
+
// Naming mirrors margin/padding logical axes (block / inline) for RTL safety.
|
|
344
|
+
// Override colour inline or via a future is-border-* modifier when needed.
|
|
329
345
|
.#{sys.$prefix}border {
|
|
330
346
|
border-width: var(--#{sys.$prefix}border-width, 1px) !important;
|
|
331
347
|
border-style: solid !important;
|
|
332
|
-
border-color: currentColor !important;
|
|
348
|
+
border-color: var(--#{sys.$prefix}color-border, currentColor) !important;
|
|
333
349
|
}
|
|
334
350
|
|
|
335
351
|
.#{sys.$prefix}border-0 {
|
|
336
352
|
border: 0 !important;
|
|
337
353
|
}
|
|
338
354
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
border-
|
|
355
|
+
// Block axis (top + bottom)
|
|
356
|
+
.#{sys.$prefix}border-block {
|
|
357
|
+
border-block-width: var(--#{sys.$prefix}border-width, 1px) !important;
|
|
358
|
+
border-block-style: solid !important;
|
|
359
|
+
border-block-color: var(--#{sys.$prefix}color-border, currentColor) !important;
|
|
342
360
|
}
|
|
343
|
-
.#{sys.$prefix}border-
|
|
344
|
-
border-
|
|
345
|
-
border-
|
|
361
|
+
.#{sys.$prefix}border-block-start {
|
|
362
|
+
border-block-start-width: var(--#{sys.$prefix}border-width, 1px) !important;
|
|
363
|
+
border-block-start-style: solid !important;
|
|
364
|
+
border-block-start-color: var(--#{sys.$prefix}color-border, currentColor) !important;
|
|
365
|
+
}
|
|
366
|
+
.#{sys.$prefix}border-block-end {
|
|
367
|
+
border-block-end-width: var(--#{sys.$prefix}border-width, 1px) !important;
|
|
368
|
+
border-block-end-style: solid !important;
|
|
369
|
+
border-block-end-color: var(--#{sys.$prefix}color-border, currentColor) !important;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
// Inline axis (left + right in LTR; right + left in RTL)
|
|
373
|
+
.#{sys.$prefix}border-inline {
|
|
374
|
+
border-inline-width: var(--#{sys.$prefix}border-width, 1px) !important;
|
|
375
|
+
border-inline-style: solid !important;
|
|
376
|
+
border-inline-color: var(--#{sys.$prefix}color-border, currentColor) !important;
|
|
346
377
|
}
|
|
347
|
-
.#{sys.$prefix}border-
|
|
348
|
-
border-
|
|
349
|
-
border-
|
|
378
|
+
.#{sys.$prefix}border-inline-start {
|
|
379
|
+
border-inline-start-width: var(--#{sys.$prefix}border-width, 1px) !important;
|
|
380
|
+
border-inline-start-style: solid !important;
|
|
381
|
+
border-inline-start-color: var(--#{sys.$prefix}color-border, currentColor) !important;
|
|
350
382
|
}
|
|
351
|
-
.#{sys.$prefix}border-
|
|
352
|
-
border-
|
|
353
|
-
border-
|
|
383
|
+
.#{sys.$prefix}border-inline-end {
|
|
384
|
+
border-inline-end-width: var(--#{sys.$prefix}border-width, 1px) !important;
|
|
385
|
+
border-inline-end-style: solid !important;
|
|
386
|
+
border-inline-end-color: var(--#{sys.$prefix}color-border, currentColor) !important;
|
|
354
387
|
}
|
|
355
388
|
|
|
356
389
|
// ---------------------------
|
package/tui-manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
3
|
-
"generated": "2026-05-
|
|
2
|
+
"version": "0.0.13",
|
|
3
|
+
"generated": "2026-05-15T17:45:57.756Z",
|
|
4
4
|
"components": {
|
|
5
5
|
"Accordion": {
|
|
6
6
|
"props": {
|
|
@@ -1200,12 +1200,41 @@
|
|
|
1200
1200
|
},
|
|
1201
1201
|
"Modal": {
|
|
1202
1202
|
"props": {
|
|
1203
|
+
"className": {
|
|
1204
|
+
"type": "string",
|
|
1205
|
+
"required": false,
|
|
1206
|
+
"description": "Additional class names applied to the dialog element (`.tui-modal__dialog`).\nUse for layout tweaks, custom widths, or context-specific theming."
|
|
1207
|
+
},
|
|
1208
|
+
"id": {
|
|
1209
|
+
"type": "string",
|
|
1210
|
+
"required": false
|
|
1211
|
+
},
|
|
1212
|
+
"style": {
|
|
1213
|
+
"type": "CSSProperties",
|
|
1214
|
+
"required": false
|
|
1215
|
+
},
|
|
1216
|
+
"title": {
|
|
1217
|
+
"type": "string",
|
|
1218
|
+
"required": false
|
|
1219
|
+
},
|
|
1220
|
+
"rel": {
|
|
1221
|
+
"type": "string",
|
|
1222
|
+
"required": false
|
|
1223
|
+
},
|
|
1224
|
+
"onChange": {
|
|
1225
|
+
"type": "FormEventHandler<HTMLDivElement>",
|
|
1226
|
+
"required": false
|
|
1227
|
+
},
|
|
1228
|
+
"onClick": {
|
|
1229
|
+
"type": "MouseEventHandler<HTMLDivElement>",
|
|
1230
|
+
"required": false
|
|
1231
|
+
},
|
|
1203
1232
|
"onClose": {
|
|
1204
1233
|
"type": "() => void",
|
|
1205
1234
|
"required": true
|
|
1206
1235
|
},
|
|
1207
1236
|
"size": {
|
|
1208
|
-
"type": "\"sm\" | \"md\" | \"lg\"",
|
|
1237
|
+
"type": "\"sm\" | \"md\" | \"lg\" | \"xl\"",
|
|
1209
1238
|
"required": false
|
|
1210
1239
|
},
|
|
1211
1240
|
"preventScrollOnRestore": {
|
|
@@ -1464,6 +1493,11 @@
|
|
|
1464
1493
|
"required": false,
|
|
1465
1494
|
"description": "Show left accent stripe in theme color"
|
|
1466
1495
|
},
|
|
1496
|
+
"size": {
|
|
1497
|
+
"type": "\"sm\" | \"md\" | \"lg\"",
|
|
1498
|
+
"required": false,
|
|
1499
|
+
"description": "Scale of padding, internal gap, title typography, and body text.\nDefault 'md' emits no class."
|
|
1500
|
+
},
|
|
1467
1501
|
"className": {
|
|
1468
1502
|
"type": "string",
|
|
1469
1503
|
"required": false
|