@loworbitstudio/visor-theme-engine 0.38.0 → 0.39.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-SNYZ4TA7.js";
33
33
 
34
34
  // src/adapters/brand-passthrough.ts
35
35
  var SENTINEL_COLOR = "#ff00ff";
@@ -1284,6 +1284,7 @@ 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";
1287
1288
  function at(file, fallback) {
1288
1289
  return [{ file, fallback }];
1289
1290
  }
@@ -1643,6 +1644,16 @@ var billingSliderFamily = {
1643
1644
  { 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
1645
  ]
1645
1646
  };
1647
+ var resizableSplitFamily = {
1648
+ family: "resizable-split",
1649
+ prefix: "resizable-split",
1650
+ description: "ResizableSplit \u2014 the line the divider draws between the two panes, at rest, under the pointer and while dragging.",
1651
+ tokens: [
1652
+ { key: "divider-color", property: "background-color", description: "The divider's line at rest.", consumers: at(RESIZABLE_SPLIT, "var(--border-default, #e5e7eb)") },
1653
+ { key: "divider-hover-color", property: "background-color", description: "The divider's line under the pointer.", consumers: at(RESIZABLE_SPLIT, "var(--border-strong, #d1d5db)") },
1654
+ { 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)") }
1655
+ ]
1656
+ };
1646
1657
  var tabsFamily = {
1647
1658
  family: "tabs",
1648
1659
  prefix: "tabs",
@@ -2400,6 +2411,7 @@ var COMPONENT_TOKEN_FAMILIES = [
2400
2411
  sidebarFamily,
2401
2412
  adminShellFamily,
2402
2413
  billingSliderFamily,
2414
+ resizableSplitFamily,
2403
2415
  tabsFamily,
2404
2416
  skeletonFamily,
2405
2417
  spinnerFamily,
package/dist/index.d.ts CHANGED
@@ -1175,6 +1175,13 @@ 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
+ },
1178
1185
  tabs: {
1179
1186
  type: "object",
1180
1187
  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.",
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-SNYZ4TA7.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,13 @@ 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
+ },
1199
1206
  tabs: {
1200
1207
  type: "object",
1201
1208
  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.",
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.39.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,13 @@
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
+ },
578
585
  "tabs": {
579
586
  "type": "object",
580
587
  "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.",