@loworbitstudio/visor-theme-engine 0.37.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.
package/dist/adapters/index.js
CHANGED
|
@@ -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
|
}
|
|
@@ -1568,15 +1569,22 @@ var bannerFamily = {
|
|
|
1568
1569
|
{ key: "info-bg", property: "background-color", description: "Info-intent fill.", consumers: at(BANNER, "var(--surface-info-subtle, transparent)") },
|
|
1569
1570
|
{ key: "info-text-color", property: "color", description: "Info-intent text colour.", consumers: at(BANNER, "var(--text-info, currentColor)") },
|
|
1570
1571
|
{ key: "info-border-color", property: "border-color", description: "Info-intent rule colour.", consumers: at(BANNER, "var(--border-info, currentColor)") },
|
|
1572
|
+
{ key: "info-description-color", property: "color", description: "Info-intent description colour.", consumers: at(BANNER, "color-mix(in srgb, var(--text-info, currentColor) 90%, transparent)") },
|
|
1571
1573
|
{ key: "warning-bg", property: "background-color", description: "Warning-intent fill.", consumers: at(BANNER, "var(--surface-warning-subtle, transparent)") },
|
|
1572
1574
|
{ key: "warning-text-color", property: "color", description: "Warning-intent text colour.", consumers: at(BANNER, "var(--text-warning, currentColor)") },
|
|
1573
1575
|
{ key: "warning-border-color", property: "border-color", description: "Warning-intent rule colour.", consumers: at(BANNER, "var(--border-warning, currentColor)") },
|
|
1576
|
+
{ key: "warning-description-color", property: "color", description: "Warning-intent description colour.", consumers: at(BANNER, "color-mix(in srgb, var(--text-warning, currentColor) 90%, transparent)") },
|
|
1574
1577
|
{ key: "error-bg", property: "background-color", description: "Error-intent fill.", consumers: at(BANNER, "var(--surface-error-subtle, transparent)") },
|
|
1575
1578
|
{ key: "error-text-color", property: "color", description: "Error-intent text colour.", consumers: at(BANNER, "var(--text-error, currentColor)") },
|
|
1576
1579
|
{ key: "error-border-color", property: "border-color", description: "Error-intent rule colour.", consumers: at(BANNER, "var(--border-error, currentColor)") },
|
|
1580
|
+
{ key: "error-description-color", property: "color", description: "Error-intent description colour.", consumers: at(BANNER, "color-mix(in srgb, var(--text-error, currentColor) 90%, transparent)") },
|
|
1577
1581
|
{ key: "success-bg", property: "background-color", description: "Success-intent fill.", consumers: at(BANNER, "var(--surface-success-subtle, transparent)") },
|
|
1578
1582
|
{ key: "success-text-color", property: "color", description: "Success-intent text colour.", consumers: at(BANNER, "var(--text-success, currentColor)") },
|
|
1579
|
-
{ key: "success-border-color", property: "border-color", description: "Success-intent rule colour.", consumers: at(BANNER, "var(--border-success, currentColor)") }
|
|
1583
|
+
{ key: "success-border-color", property: "border-color", description: "Success-intent rule colour.", consumers: at(BANNER, "var(--border-success, currentColor)") },
|
|
1584
|
+
{ key: "success-description-color", property: "color", description: "Success-intent description colour.", consumers: at(BANNER, "color-mix(in srgb, var(--text-success, currentColor) 90%, transparent)") },
|
|
1585
|
+
{ key: "neutral-bg", property: "background-color", description: "Neutral-intent (ink) fill.", consumers: at(BANNER, "var(--text-primary, currentColor)") },
|
|
1586
|
+
{ key: "neutral-text-color", property: "color", description: "Neutral-intent text colour, the page colour on the ink ground.", consumers: at(BANNER, "var(--surface-page, #fff)") },
|
|
1587
|
+
{ key: "neutral-description-color", property: "color", description: "Neutral-intent description colour.", consumers: at(BANNER, "color-mix(in srgb, var(--banner-neutral-text-color, var(--surface-page, #fff)) 86%, transparent)") }
|
|
1580
1588
|
]
|
|
1581
1589
|
};
|
|
1582
1590
|
var sidebarFamily = {
|
|
@@ -1636,6 +1644,16 @@ var billingSliderFamily = {
|
|
|
1636
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)") }
|
|
1637
1645
|
]
|
|
1638
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
|
+
};
|
|
1639
1657
|
var tabsFamily = {
|
|
1640
1658
|
family: "tabs",
|
|
1641
1659
|
prefix: "tabs",
|
|
@@ -2393,6 +2411,7 @@ var COMPONENT_TOKEN_FAMILIES = [
|
|
|
2393
2411
|
sidebarFamily,
|
|
2394
2412
|
adminShellFamily,
|
|
2395
2413
|
billingSliderFamily,
|
|
2414
|
+
resizableSplitFamily,
|
|
2396
2415
|
tabsFamily,
|
|
2397
2416
|
skeletonFamily,
|
|
2398
2417
|
spinnerFamily,
|
package/dist/index.d.ts
CHANGED
|
@@ -1149,7 +1149,7 @@ var properties = {
|
|
|
1149
1149
|
},
|
|
1150
1150
|
banner: {
|
|
1151
1151
|
type: "object",
|
|
1152
|
-
description: "Full-width notice bar. The retro found six separate banner systems across ~180 instances in one app; binding this family collapses them to one. Keys: padding, gap, font-size, radius, border-width, shadow, title-font-weight, description-font-size, info-bg, info-text-color, info-border-color, warning-bg, warning-text-color, warning-border-color, error-bg, error-text-color, error-border-color, success-bg, success-text-color, success-border-color.",
|
|
1152
|
+
description: "Full-width notice bar. The retro found six separate banner systems across ~180 instances in one app; binding this family collapses them to one. Keys: padding, gap, font-size, radius, border-width, shadow, title-font-weight, description-font-size, info-bg, info-text-color, info-border-color, info-description-color, warning-bg, warning-text-color, warning-border-color, warning-description-color, error-bg, error-text-color, error-border-color, error-description-color, success-bg, success-text-color, success-border-color, success-description-color, neutral-bg, neutral-text-color, neutral-description-color.",
|
|
1153
1153
|
additionalProperties: {
|
|
1154
1154
|
$ref: "#/$defs/componentTokenBinding"
|
|
1155
1155
|
}
|
|
@@ -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-
|
|
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;
|
|
@@ -1170,7 +1170,7 @@ var visor_theme_schema_default = {
|
|
|
1170
1170
|
},
|
|
1171
1171
|
banner: {
|
|
1172
1172
|
type: "object",
|
|
1173
|
-
description: "Full-width notice bar. The retro found six separate banner systems across ~180 instances in one app; binding this family collapses them to one. Keys: padding, gap, font-size, radius, border-width, shadow, title-font-weight, description-font-size, info-bg, info-text-color, info-border-color, warning-bg, warning-text-color, warning-border-color, error-bg, error-text-color, error-border-color, success-bg, success-text-color, success-border-color.",
|
|
1173
|
+
description: "Full-width notice bar. The retro found six separate banner systems across ~180 instances in one app; binding this family collapses them to one. Keys: padding, gap, font-size, radius, border-width, shadow, title-font-weight, description-font-size, info-bg, info-text-color, info-border-color, info-description-color, warning-bg, warning-text-color, warning-border-color, warning-description-color, error-bg, error-text-color, error-border-color, error-description-color, success-bg, success-text-color, success-border-color, success-description-color, neutral-bg, neutral-text-color, neutral-description-color.",
|
|
1174
1174
|
additionalProperties: {
|
|
1175
1175
|
$ref: "#/$defs/componentTokenBinding"
|
|
1176
1176
|
}
|
|
@@ -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.
|
|
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",
|
|
@@ -549,7 +549,7 @@
|
|
|
549
549
|
},
|
|
550
550
|
"banner": {
|
|
551
551
|
"type": "object",
|
|
552
|
-
"description": "Full-width notice bar. The retro found six separate banner systems across ~180 instances in one app; binding this family collapses them to one. Keys: padding, gap, font-size, radius, border-width, shadow, title-font-weight, description-font-size, info-bg, info-text-color, info-border-color, warning-bg, warning-text-color, warning-border-color, error-bg, error-text-color, error-border-color, success-bg, success-text-color, success-border-color.",
|
|
552
|
+
"description": "Full-width notice bar. The retro found six separate banner systems across ~180 instances in one app; binding this family collapses them to one. Keys: padding, gap, font-size, radius, border-width, shadow, title-font-weight, description-font-size, info-bg, info-text-color, info-border-color, info-description-color, warning-bg, warning-text-color, warning-border-color, warning-description-color, error-bg, error-text-color, error-border-color, error-description-color, success-bg, success-text-color, success-border-color, success-description-color, neutral-bg, neutral-text-color, neutral-description-color.",
|
|
553
553
|
"additionalProperties": {
|
|
554
554
|
"$ref": "#/$defs/componentTokenBinding"
|
|
555
555
|
}
|
|
@@ -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.",
|