@loworbitstudio/visor-theme-engine 0.38.0 → 0.40.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.
@@ -29,7 +29,7 @@ import {
29
29
  resolveThemeBrand,
30
30
  resolveThemeFonts,
31
31
  sectionComment
32
- } from "../chunk-4NNPEFHG.js";
32
+ } from "../chunk-FJAD536B.js";
33
33
 
34
34
  // src/adapters/brand-passthrough.ts
35
35
  var SENTINEL_COLOR = "#ff00ff";
@@ -1284,6 +1284,8 @@ var ACTION_ROW = "components/ui/action-row/action-row.module.css";
1284
1284
  var DIALOG_FIELD = "blocks/dialog-field/dialog-field.module.css";
1285
1285
  var ADMIN_SHELL = "blocks/admin-shell/admin-shell.module.css";
1286
1286
  var BILLING_SLIDER = "components/ui/billing-slider/billing-slider.module.css";
1287
+ var RESIZABLE_SPLIT = "components/ui/resizable-split/resizable-split.module.css";
1288
+ var DIALOG = "components/ui/dialog/dialog.module.css";
1287
1289
  function at(file, fallback) {
1288
1290
  return [{ file, fallback }];
1289
1291
  }
@@ -1643,6 +1645,31 @@ var billingSliderFamily = {
1643
1645
  { key: "gap-color", property: "background (striped band)", description: "The gap's stripes: undecided, and worked past what it bills (money at stake).", consumers: at(BILLING_SLIDER, "var(--color-success-600, #16a34a)") }
1644
1646
  ]
1645
1647
  };
1648
+ var resizableSplitFamily = {
1649
+ family: "resizable-split",
1650
+ prefix: "resizable-split",
1651
+ description: "ResizableSplit \u2014 the line the divider draws between the two panes, at rest, under the pointer and while dragging.",
1652
+ tokens: [
1653
+ { key: "divider-color", property: "background-color", description: "The divider's line at rest.", consumers: at(RESIZABLE_SPLIT, "var(--border-default, #e5e7eb)") },
1654
+ { key: "divider-hover-color", property: "background-color", description: "The divider's line under the pointer.", consumers: at(RESIZABLE_SPLIT, "var(--border-strong, #d1d5db)") },
1655
+ { key: "divider-active-color", property: "background-color", description: "The divider's line while it is dragged.", consumers: at(RESIZABLE_SPLIT, "var(--interactive-primary-bg, #111827)") }
1656
+ ]
1657
+ };
1658
+ var dialogFamily = {
1659
+ family: "dialog",
1660
+ prefix: "dialog",
1661
+ description: "Dialog's panel and page scrim \u2014 width, corners, fill, inset, shadow, a backdrop filter for glass, and the scrim's colour and blur. ConfirmDialog shares them.",
1662
+ tokens: [
1663
+ { key: "max-width", property: "max-width", description: "The centred panel's widest. The bottom sheet stays full width.", consumers: [{ file: DIALOG, fallback: "32rem" }, { file: DIALOG, fallback: "480px" }] },
1664
+ { key: "radius", property: "border-radius", description: "Panel corners; the bottom sheet's top corners.", consumers: [{ file: DIALOG, fallback: "var(--radius-lg, 0.5rem)" }, { file: DIALOG, fallback: "var(--radius-xl)" }] },
1665
+ { key: "bg", property: "background-color", description: "Panel fill. Translucent for glass, with `backdrop-filter`.", consumers: [{ file: DIALOG, fallback: "var(--surface-page, #ffffff)" }, { file: DIALOG, fallback: "var(--surface-popover, var(--surface-page, #ffffff))" }] },
1666
+ { key: "padding", property: "padding", description: "Panel inset. The bottom sheet keeps its own bottom inset over the safe area.", consumers: [{ file: DIALOG, fallback: "var(--spacing-6, 1.5rem)" }, { file: DIALOG, fallback: "var(--spacing-8)" }] },
1667
+ { key: "shadow", property: "box-shadow", description: "Panel shadow.", consumers: [{ file: DIALOG, fallback: "var(--shadow-xl)" }, { file: DIALOG, fallback: "var(--shadow-lg)" }] },
1668
+ { key: "backdrop-filter", property: "backdrop-filter", description: "Filter on what shows through the panel, e.g. `blur(32px) saturate(110%)` for glass.", consumers: at(DIALOG, "none") },
1669
+ { key: "overlay-bg", property: "background-color", description: "The page scrim's colour.", consumers: at(DIALOG, "var(--overlay-bg, rgba(0, 0, 0, 0.8))") },
1670
+ { key: "overlay-blur", property: "backdrop-filter: blur()", description: "How much the scrim blurs the page, a length.", consumers: [{ file: DIALOG, fallback: "4px" }, { file: DIALOG, fallback: "2px" }] }
1671
+ ]
1672
+ };
1646
1673
  var tabsFamily = {
1647
1674
  family: "tabs",
1648
1675
  prefix: "tabs",
@@ -2299,7 +2326,7 @@ var proportionBarFamily = {
2299
2326
  var segmentedControlFamily = {
2300
2327
  family: "segmented-control",
2301
2328
  prefix: "segmented-control",
2302
- description: "SegmentedControl \u2014 the well, its corner radius, the sliding pill, the ink and the state edge on it. The resting edge is the shared `control` edge.",
2329
+ description: "SegmentedControl \u2014 the well, its corner radius and padding, the segment height, sides, label size and corners, the sliding pill and its corners, the ink and the state edge on it. The resting edge is the shared `control` edge.",
2303
2330
  tokens: [
2304
2331
  { key: "track-bg", property: "background-color", description: "The well the pill slides in. Default is the page nudged 12% toward the ink, so it reads as a well in light and dark.", consumers: at(SEGMENTED_CONTROL, "color-mix(in srgb, var(--text-primary, #111827) 12%, var(--surface-page, #ffffff))") },
2305
2332
  {
@@ -2312,6 +2339,72 @@ var segmentedControlFamily = {
2312
2339
  { file: SEGMENTED_CONTROL, fallback: "var(--radius-xl, 0.75rem)" }
2313
2340
  ]
2314
2341
  },
2342
+ // VI-785: the segment box. Each size falls back to its ToggleGroup value.
2343
+ {
2344
+ key: "track-padding",
2345
+ property: "padding",
2346
+ description: "Inset between the well's edge and the segments. Unset, xs keeps 2px and sm, md and lg `--spacing-1`.",
2347
+ consumers: [
2348
+ { file: SEGMENTED_CONTROL, fallback: "calc(var(--spacing-1, 0.25rem) / 2)" },
2349
+ { file: SEGMENTED_CONTROL, fallback: "var(--spacing-1, 0.25rem)" },
2350
+ { file: SEGMENTED_CONTROL, fallback: "var(--spacing-1, 0.25rem)" }
2351
+ ]
2352
+ },
2353
+ {
2354
+ key: "item-height",
2355
+ property: "height (via --label-box-height)",
2356
+ description: "Segment height, which the pill follows. Unset, xs 24px, sm 28px, md 36px, lg 44px.",
2357
+ consumers: [
2358
+ { file: SEGMENTED_CONTROL, fallback: "1.5rem" },
2359
+ { file: SEGMENTED_CONTROL, fallback: "1.75rem" },
2360
+ { file: SEGMENTED_CONTROL, fallback: "2.25rem" },
2361
+ { file: SEGMENTED_CONTROL, fallback: "2.75rem" }
2362
+ ]
2363
+ },
2364
+ {
2365
+ key: "item-padding-x",
2366
+ property: "padding-inline",
2367
+ description: "Segment sides. Unset, each size keeps its ToggleGroup padding (xs reads `toggle-group.xs-padding-x`).",
2368
+ consumers: [
2369
+ { file: SEGMENTED_CONTROL, fallback: "var(--toggle-group-xs-padding-x, var(--spacing-2, 0.5rem))" },
2370
+ { file: SEGMENTED_CONTROL, fallback: "var(--spacing-2, 0.5rem)" },
2371
+ { file: SEGMENTED_CONTROL, fallback: "var(--spacing-3, 0.75rem)" },
2372
+ { file: SEGMENTED_CONTROL, fallback: "var(--spacing-4, 1rem)" }
2373
+ ]
2374
+ },
2375
+ {
2376
+ key: "font-size",
2377
+ property: "font-size",
2378
+ description: "Segment label size. Unset, each size keeps its ToggleGroup size (xs reads `toggle-group.xs-font-size`).",
2379
+ consumers: [
2380
+ { file: SEGMENTED_CONTROL, fallback: "var(--toggle-group-xs-font-size, var(--font-size-xs, 0.75rem))" },
2381
+ { file: SEGMENTED_CONTROL, fallback: "var(--font-size-xs, 0.75rem)" },
2382
+ { file: SEGMENTED_CONTROL, fallback: "var(--font-size-sm, 0.875rem)" },
2383
+ { file: SEGMENTED_CONTROL, fallback: "var(--font-size-base, 1rem)" }
2384
+ ]
2385
+ },
2386
+ {
2387
+ key: "item-radius",
2388
+ property: "border-radius",
2389
+ description: "Segment corners: the hover fill and the focus ring. Unset, each size keeps its ToggleGroup radius (xs reads `toggle-group.xs-item-radius`).",
2390
+ consumers: [
2391
+ { file: SEGMENTED_CONTROL, fallback: "var(--toggle-group-xs-item-radius, var(--radius-sm, 0.25rem))" },
2392
+ { file: SEGMENTED_CONTROL, fallback: "var(--radius-md, 0.375rem)" },
2393
+ { file: SEGMENTED_CONTROL, fallback: "var(--radius-md, 0.375rem)" },
2394
+ { file: SEGMENTED_CONTROL, fallback: "var(--radius-lg, 0.5rem)" }
2395
+ ]
2396
+ },
2397
+ {
2398
+ key: "indicator-radius",
2399
+ property: "border-radius",
2400
+ description: "Sliding pill corners. Bind `999px` with `radius` for a fully round switch. Unset, each size keeps its ToggleGroup radius (xs reads `toggle-group.xs-item-radius`).",
2401
+ consumers: [
2402
+ { file: SEGMENTED_CONTROL, fallback: "var(--toggle-group-xs-item-radius, var(--radius-sm, 0.25rem))" },
2403
+ { file: SEGMENTED_CONTROL, fallback: "var(--radius-md, 0.375rem)" },
2404
+ { file: SEGMENTED_CONTROL, fallback: "var(--radius-md, 0.375rem)" },
2405
+ { file: SEGMENTED_CONTROL, fallback: "var(--radius-lg, 0.5rem)" }
2406
+ ]
2407
+ },
2315
2408
  { key: "indicator-bg", property: "background-color", description: "Sliding active pill. Bind a lifted dark fill where the theme wants one.", consumers: at(SEGMENTED_CONTROL, "var(--interactive-primary-bg, var(--primary, #111827))") },
2316
2409
  { key: "indicator-text", property: "color", description: "Active segment label ink, on the pill.", consumers: at(SEGMENTED_CONTROL, "var(--interactive-primary-text, #f9fafb)") },
2317
2410
  { key: "indicator-edge", property: "box-shadow (inset, at --control-state-edge-width)", description: "Colour of the 1px state edge on the active pill. Set `transparent` where the fill already clears 3:1 against the well.", consumers: at(SEGMENTED_CONTROL, "var(--text-primary, #111827)") },
@@ -2322,7 +2415,7 @@ var segmentedControlFamily = {
2322
2415
  var toggleGroupFamily = {
2323
2416
  family: "toggle-group",
2324
2417
  prefix: "toggle-group",
2325
- description: "ToggleGroup \u2014 the outline track's fill, the selected option's fill and ink, the unselected ink, and the compact (`xs`) size: its label size, option sides and corners. SegmentedControl takes the `xs` option keys too.",
2418
+ description: "ToggleGroup \u2014 the outline track's fill, the selected option's fill and ink, the unselected ink, and the compact (`xs`) size: its label size, option sides and corners. SegmentedControl takes the `xs` option keys too. The `option-*` keys draw the option variant's rows, letter key and check.",
2326
2419
  tokens: [
2327
2420
  { key: "track-bg", property: "background-color", description: "The outline variant's track. Bind a well darker than its plane where the theme wants one.", consumers: at(TOGGLE_GROUP, "transparent") },
2328
2421
  {
@@ -2336,7 +2429,30 @@ var toggleGroupFamily = {
2336
2429
  { key: "xs-font-size", property: "font-size", description: "Compact (`xs`) label size.", consumers: at(TOGGLE_GROUP, "var(--font-size-xs, 0.75rem)") },
2337
2430
  { key: "xs-padding-x", property: "padding-inline", description: "Compact (`xs`) option sides.", consumers: at(TOGGLE_GROUP, "var(--spacing-2, 0.5rem)") },
2338
2431
  { key: "xs-track-radius", property: "border-radius", description: "Compact (`xs`) outline track corner radius.", consumers: at(TOGGLE_GROUP, "var(--radius-md, 0.375rem)") },
2339
- { key: "xs-item-radius", property: "border-radius", description: "Compact (`xs`) option and indicator corner radius. Concentric with the track is the track radius minus its 2px inset.", consumers: at(TOGGLE_GROUP, "var(--radius-sm, 0.25rem)") }
2432
+ { key: "xs-item-radius", property: "border-radius", description: "Compact (`xs`) option and indicator corner radius. Concentric with the track is the track radius minus its 2px inset.", consumers: at(TOGGLE_GROUP, "var(--radius-sm, 0.25rem)") },
2433
+ { key: "option-gap", property: "gap", description: "Option variant (VI-787): the space between rows.", consumers: at(TOGGLE_GROUP, "var(--spacing-2, 0.5rem)") },
2434
+ { key: "option-inner-gap", property: "gap", description: "Option row: the space between key, label and check.", consumers: at(TOGGLE_GROUP, "var(--spacing-3_5, 0.875rem)") },
2435
+ { key: "option-min-height", property: "min-height", description: "Option row height; a wrapped label grows past it.", consumers: at(TOGGLE_GROUP, "3.375rem") },
2436
+ { key: "option-padding", property: "padding", description: "Option row padding (top, end, bottom, start).", consumers: at(TOGGLE_GROUP, "var(--spacing-2, 0.5rem) var(--spacing-4_5, 1.125rem) var(--spacing-2, 0.5rem) var(--spacing-3, 0.75rem)") },
2437
+ { key: "option-radius", property: "border-radius", description: "Option row corner radius.", consumers: at(TOGGLE_GROUP, "var(--radius-lg, 0.5rem)") },
2438
+ { key: "option-bg", property: "background-color", description: "Option row fill at rest, a glass wash of the ink.", consumers: at(TOGGLE_GROUP, "color-mix(in srgb, var(--text-primary, #111827) 9%, transparent)") },
2439
+ { key: "option-hover-bg", property: "background-color", description: "Option row fill on hover, when not picked.", consumers: at(TOGGLE_GROUP, "color-mix(in srgb, var(--text-primary, #111827) 13%, transparent)") },
2440
+ { key: "option-selected-bg", property: "background-color", description: "Picked option row fill.", consumers: at(TOGGLE_GROUP, "color-mix(in srgb, var(--text-primary, #111827) 20%, transparent)") },
2441
+ { key: "option-selected-ring", property: "box-shadow", description: "Picked option row's 1px inset ring colour.", consumers: at(TOGGLE_GROUP, "color-mix(in srgb, var(--text-primary, #111827) 40%, transparent)") },
2442
+ { key: "option-blur", property: "backdrop-filter", description: "Option row backdrop blur radius (a length, e.g. `24px`).", consumers: at(TOGGLE_GROUP, "24px") },
2443
+ { key: "option-text", property: "color", description: "Option label ink.", consumers: at(TOGGLE_GROUP, "var(--text-primary, #111827)") },
2444
+ { key: "option-font-size", property: "font-size", description: "Option label size.", consumers: at(TOGGLE_GROUP, "var(--font-size-base, 1rem)") },
2445
+ { key: "option-font-weight", property: "font-weight", description: "Option label weight.", consumers: at(TOGGLE_GROUP, "var(--font-weight-medium, 500)") },
2446
+ { key: "option-key-size", property: "width / height", description: "Letter key badge size.", consumers: at(TOGGLE_GROUP, "1.75rem") },
2447
+ { key: "option-key-radius", property: "border-radius", description: "Letter key badge corner radius.", consumers: at(TOGGLE_GROUP, "var(--radius-md, 0.375rem)") },
2448
+ { key: "option-key-border", property: "box-shadow", description: "Letter key badge's inset edge while not picked.", consumers: at(TOGGLE_GROUP, "var(--border-default, #e5e7eb)") },
2449
+ { key: "option-key-text", property: "color", description: "Letter key ink while not picked.", consumers: at(TOGGLE_GROUP, "var(--text-secondary, #4b5563)") },
2450
+ { key: "option-key-font-size", property: "font-size", description: "Letter key size.", consumers: at(TOGGLE_GROUP, "var(--font-size-xs, 0.75rem)") },
2451
+ { key: "option-mark-bg", property: "background-color", description: "Picked fill of the letter key and the check box (the key colour).", consumers: at(TOGGLE_GROUP, "var(--interactive-primary-bg, var(--primary, #111827))") },
2452
+ { key: "option-mark-text", property: "color", description: "Picked ink of the letter key and the check glyph.", consumers: at(TOGGLE_GROUP, "var(--interactive-primary-text, #f9fafb)") },
2453
+ { key: "option-check-size", property: "width / height", description: "Multiple-mode check box size.", consumers: at(TOGGLE_GROUP, "1.25rem") },
2454
+ { key: "option-check-radius", property: "border-radius", description: "Check box corner radius.", consumers: at(TOGGLE_GROUP, "var(--radius-sm, 0.25rem)") },
2455
+ { key: "option-check-border", property: "box-shadow", description: "Check box's inset edge while not picked.", consumers: at(TOGGLE_GROUP, "var(--border-strong, #d1d5db)") }
2340
2456
  ]
2341
2457
  };
2342
2458
  var radioCardFamily = {
@@ -2400,6 +2516,8 @@ var COMPONENT_TOKEN_FAMILIES = [
2400
2516
  sidebarFamily,
2401
2517
  adminShellFamily,
2402
2518
  billingSliderFamily,
2519
+ resizableSplitFamily,
2520
+ dialogFamily,
2403
2521
  tabsFamily,
2404
2522
  skeletonFamily,
2405
2523
  spinnerFamily,
package/dist/index.d.ts CHANGED
@@ -1175,6 +1175,20 @@ var properties = {
1175
1175
  $ref: "#/$defs/componentTokenBinding"
1176
1176
  }
1177
1177
  },
1178
+ "resizable-split": {
1179
+ type: "object",
1180
+ description: "ResizableSplit — the line the divider draws between the two panes, at rest, under the pointer and while dragging. Keys: divider-color, divider-hover-color, divider-active-color.",
1181
+ additionalProperties: {
1182
+ $ref: "#/$defs/componentTokenBinding"
1183
+ }
1184
+ },
1185
+ dialog: {
1186
+ type: "object",
1187
+ description: "Dialog's panel and page scrim — width, corners, fill, inset, shadow, a backdrop filter for glass, and the scrim's colour and blur. ConfirmDialog shares them. Keys: max-width, radius, bg, padding, shadow, backdrop-filter, overlay-bg, overlay-blur.",
1188
+ additionalProperties: {
1189
+ $ref: "#/$defs/componentTokenBinding"
1190
+ }
1191
+ },
1178
1192
  tabs: {
1179
1193
  type: "object",
1180
1194
  description: "Tab rail and trigger treatment, for both the segmented (`default`) and underlined (`line`) variants. Keys: list-radius, list-height, list-padding, list-color, list-bg, line-border-bottom, trigger-radius, trigger-padding, trigger-font-size, trigger-font-weight, trigger-letter-spacing, trigger-text-transform, trigger-color, trigger-active-bg, trigger-active-color, trigger-active-shadow, indicator-height, indicator-color.",
@@ -1303,14 +1317,14 @@ var properties = {
1303
1317
  },
1304
1318
  "segmented-control": {
1305
1319
  type: "object",
1306
- description: "SegmentedControl — the well, its corner radius, the sliding pill, the ink and the state edge on it. The resting edge is the shared `control` edge. Keys: track-bg, radius, indicator-bg, indicator-text, indicator-edge, inactive-text, active-weight.",
1320
+ description: "SegmentedControl — the well, its corner radius and padding, the segment height, sides, label size and corners, the sliding pill and its corners, the ink and the state edge on it. The resting edge is the shared `control` edge. Keys: track-bg, radius, track-padding, item-height, item-padding-x, font-size, item-radius, indicator-radius, indicator-bg, indicator-text, indicator-edge, inactive-text, active-weight.",
1307
1321
  additionalProperties: {
1308
1322
  $ref: "#/$defs/componentTokenBinding"
1309
1323
  }
1310
1324
  },
1311
1325
  "toggle-group": {
1312
1326
  type: "object",
1313
- description: "ToggleGroup — the outline track's fill, the selected option's fill and ink, the unselected ink, and the compact (`xs`) size: its label size, option sides and corners. SegmentedControl takes the `xs` option keys too. Keys: track-bg, selected-bg, selected-text, unselected-text, xs-font-size, xs-padding-x, xs-track-radius, xs-item-radius.",
1327
+ description: "ToggleGroup — the outline track's fill, the selected option's fill and ink, the unselected ink, and the compact (`xs`) size: its label size, option sides and corners. SegmentedControl takes the `xs` option keys too. The `option-*` keys draw the option variant's rows, letter key and check. Keys: track-bg, selected-bg, selected-text, unselected-text, xs-font-size, xs-padding-x, xs-track-radius, xs-item-radius, option-gap, option-inner-gap, option-min-height, option-padding, option-radius, option-bg, option-hover-bg, option-selected-bg, option-selected-ring, option-blur, option-text, option-font-size, option-font-weight, option-key-size, option-key-radius, option-key-border, option-key-text, option-key-font-size, option-mark-bg, option-mark-text, option-check-size, option-check-radius, option-check-border.",
1314
1328
  additionalProperties: {
1315
1329
  $ref: "#/$defs/componentTokenBinding"
1316
1330
  }
package/dist/index.js CHANGED
@@ -68,7 +68,7 @@ import {
68
68
  rgbToOklch,
69
69
  serializeColor,
70
70
  validateComponentBindings
71
- } from "./chunk-4NNPEFHG.js";
71
+ } from "./chunk-FJAD536B.js";
72
72
 
73
73
  // src/fonts/validate-coverage.ts
74
74
  var FONT_VAR_RE = /--font-(heading|display|body|sans|mono)\s*:\s*([^;]+);/g;
@@ -1196,6 +1196,20 @@ var visor_theme_schema_default = {
1196
1196
  $ref: "#/$defs/componentTokenBinding"
1197
1197
  }
1198
1198
  },
1199
+ "resizable-split": {
1200
+ type: "object",
1201
+ description: "ResizableSplit \u2014 the line the divider draws between the two panes, at rest, under the pointer and while dragging. Keys: divider-color, divider-hover-color, divider-active-color.",
1202
+ additionalProperties: {
1203
+ $ref: "#/$defs/componentTokenBinding"
1204
+ }
1205
+ },
1206
+ dialog: {
1207
+ type: "object",
1208
+ description: "Dialog's panel and page scrim \u2014 width, corners, fill, inset, shadow, a backdrop filter for glass, and the scrim's colour and blur. ConfirmDialog shares them. Keys: max-width, radius, bg, padding, shadow, backdrop-filter, overlay-bg, overlay-blur.",
1209
+ additionalProperties: {
1210
+ $ref: "#/$defs/componentTokenBinding"
1211
+ }
1212
+ },
1199
1213
  tabs: {
1200
1214
  type: "object",
1201
1215
  description: "Tab rail and trigger treatment, for both the segmented (`default`) and underlined (`line`) variants. Keys: list-radius, list-height, list-padding, list-color, list-bg, line-border-bottom, trigger-radius, trigger-padding, trigger-font-size, trigger-font-weight, trigger-letter-spacing, trigger-text-transform, trigger-color, trigger-active-bg, trigger-active-color, trigger-active-shadow, indicator-height, indicator-color.",
@@ -1324,14 +1338,14 @@ var visor_theme_schema_default = {
1324
1338
  },
1325
1339
  "segmented-control": {
1326
1340
  type: "object",
1327
- description: "SegmentedControl \u2014 the well, its corner radius, the sliding pill, the ink and the state edge on it. The resting edge is the shared `control` edge. Keys: track-bg, radius, indicator-bg, indicator-text, indicator-edge, inactive-text, active-weight.",
1341
+ description: "SegmentedControl \u2014 the well, its corner radius and padding, the segment height, sides, label size and corners, the sliding pill and its corners, the ink and the state edge on it. The resting edge is the shared `control` edge. Keys: track-bg, radius, track-padding, item-height, item-padding-x, font-size, item-radius, indicator-radius, indicator-bg, indicator-text, indicator-edge, inactive-text, active-weight.",
1328
1342
  additionalProperties: {
1329
1343
  $ref: "#/$defs/componentTokenBinding"
1330
1344
  }
1331
1345
  },
1332
1346
  "toggle-group": {
1333
1347
  type: "object",
1334
- description: "ToggleGroup \u2014 the outline track's fill, the selected option's fill and ink, the unselected ink, and the compact (`xs`) size: its label size, option sides and corners. SegmentedControl takes the `xs` option keys too. Keys: track-bg, selected-bg, selected-text, unselected-text, xs-font-size, xs-padding-x, xs-track-radius, xs-item-radius.",
1348
+ description: "ToggleGroup \u2014 the outline track's fill, the selected option's fill and ink, the unselected ink, and the compact (`xs`) size: its label size, option sides and corners. SegmentedControl takes the `xs` option keys too. The `option-*` keys draw the option variant's rows, letter key and check. Keys: track-bg, selected-bg, selected-text, unselected-text, xs-font-size, xs-padding-x, xs-track-radius, xs-item-radius, option-gap, option-inner-gap, option-min-height, option-padding, option-radius, option-bg, option-hover-bg, option-selected-bg, option-selected-ring, option-blur, option-text, option-font-size, option-font-weight, option-key-size, option-key-radius, option-key-border, option-key-text, option-key-font-size, option-mark-bg, option-mark-text, option-check-size, option-check-radius, option-check-border.",
1335
1349
  additionalProperties: {
1336
1350
  $ref: "#/$defs/componentTokenBinding"
1337
1351
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loworbitstudio/visor-theme-engine",
3
- "version": "0.38.0",
3
+ "version": "0.40.0",
4
4
  "description": "Theme engine for the Visor design system — shade generation, token mapping, font resolution, and import/export for .visor.yaml themes.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -575,6 +575,20 @@
575
575
  "$ref": "#/$defs/componentTokenBinding"
576
576
  }
577
577
  },
578
+ "resizable-split": {
579
+ "type": "object",
580
+ "description": "ResizableSplit — the line the divider draws between the two panes, at rest, under the pointer and while dragging. Keys: divider-color, divider-hover-color, divider-active-color.",
581
+ "additionalProperties": {
582
+ "$ref": "#/$defs/componentTokenBinding"
583
+ }
584
+ },
585
+ "dialog": {
586
+ "type": "object",
587
+ "description": "Dialog's panel and page scrim — width, corners, fill, inset, shadow, a backdrop filter for glass, and the scrim's colour and blur. ConfirmDialog shares them. Keys: max-width, radius, bg, padding, shadow, backdrop-filter, overlay-bg, overlay-blur.",
588
+ "additionalProperties": {
589
+ "$ref": "#/$defs/componentTokenBinding"
590
+ }
591
+ },
578
592
  "tabs": {
579
593
  "type": "object",
580
594
  "description": "Tab rail and trigger treatment, for both the segmented (`default`) and underlined (`line`) variants. Keys: list-radius, list-height, list-padding, list-color, list-bg, line-border-bottom, trigger-radius, trigger-padding, trigger-font-size, trigger-font-weight, trigger-letter-spacing, trigger-text-transform, trigger-color, trigger-active-bg, trigger-active-color, trigger-active-shadow, indicator-height, indicator-color.",
@@ -703,14 +717,14 @@
703
717
  },
704
718
  "segmented-control": {
705
719
  "type": "object",
706
- "description": "SegmentedControl \u2014 the well, its corner radius, the sliding pill, the ink and the state edge on it. The resting edge is the shared `control` edge. Keys: track-bg, radius, indicator-bg, indicator-text, indicator-edge, inactive-text, active-weight.",
720
+ "description": "SegmentedControl \u2014 the well, its corner radius and padding, the segment height, sides, label size and corners, the sliding pill and its corners, the ink and the state edge on it. The resting edge is the shared `control` edge. Keys: track-bg, radius, track-padding, item-height, item-padding-x, font-size, item-radius, indicator-radius, indicator-bg, indicator-text, indicator-edge, inactive-text, active-weight.",
707
721
  "additionalProperties": {
708
722
  "$ref": "#/$defs/componentTokenBinding"
709
723
  }
710
724
  },
711
725
  "toggle-group": {
712
726
  "type": "object",
713
- "description": "ToggleGroup \u2014 the outline track's fill, the selected option's fill and ink, the unselected ink, and the compact (`xs`) size: its label size, option sides and corners. SegmentedControl takes the `xs` option keys too. Keys: track-bg, selected-bg, selected-text, unselected-text, xs-font-size, xs-padding-x, xs-track-radius, xs-item-radius.",
727
+ "description": "ToggleGroup \u2014 the outline track's fill, the selected option's fill and ink, the unselected ink, and the compact (`xs`) size: its label size, option sides and corners. SegmentedControl takes the `xs` option keys too. The `option-*` keys draw the option variant's rows, letter key and check. Keys: track-bg, selected-bg, selected-text, unselected-text, xs-font-size, xs-padding-x, xs-track-radius, xs-item-radius, option-gap, option-inner-gap, option-min-height, option-padding, option-radius, option-bg, option-hover-bg, option-selected-bg, option-selected-ring, option-blur, option-text, option-font-size, option-font-weight, option-key-size, option-key-radius, option-key-border, option-key-text, option-key-font-size, option-mark-bg, option-mark-text, option-check-size, option-check-radius, option-check-border.",
714
728
  "additionalProperties": {
715
729
  "$ref": "#/$defs/componentTokenBinding"
716
730
  }