@loworbitstudio/visor-theme-engine 0.29.0 → 0.30.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
|
@@ -1262,6 +1262,7 @@ var SPINNER = "components/ui/spinner/spinner.module.css";
|
|
|
1262
1262
|
var CHECKBOX = "components/ui/checkbox/checkbox.module.css";
|
|
1263
1263
|
var INPUT = "components/ui/input/input.module.css";
|
|
1264
1264
|
var SEPARATOR = "components/ui/separator/separator.module.css";
|
|
1265
|
+
var ALERT = "components/ui/alert/alert.module.css";
|
|
1265
1266
|
var NUMBER_INPUT = "components/ui/number-input/number-input.module.css";
|
|
1266
1267
|
var TEXTAREA = "components/ui/textarea/textarea.module.css";
|
|
1267
1268
|
var SELECT = "components/ui/select/select.module.css";
|
|
@@ -2126,6 +2127,20 @@ var separatorFamily = {
|
|
|
2126
2127
|
}
|
|
2127
2128
|
]
|
|
2128
2129
|
};
|
|
2130
|
+
var alertFamily = {
|
|
2131
|
+
family: "alert",
|
|
2132
|
+
prefix: "alert",
|
|
2133
|
+
description: "Alert's soft appearance: the inline alert under a control or in a dialog \u2014 icon size, inset, gap, rounding and type.",
|
|
2134
|
+
tokens: [
|
|
2135
|
+
{ key: "icon-size", property: "width / height / min-height", description: "Soft icon size for the destructive, warning and success tones; the content is at least this tall.", consumers: at(ALERT, "2rem") },
|
|
2136
|
+
{ key: "icon-size-note", property: "width / height / min-height", description: "Soft icon size for the neutral note (`default` and `info`).", consumers: at(ALERT, "1.5rem") },
|
|
2137
|
+
{ key: "soft-padding", property: "padding", description: "Soft alert inset.", consumers: at(ALERT, "var(--spacing-3, 0.75rem) calc(var(--spacing-3, 0.75rem) + var(--spacing-1, 0.25rem) / 2)") },
|
|
2138
|
+
{ key: "gap", property: "gap", description: "Gap between the soft icon and its text.", consumers: at(ALERT, "var(--spacing-3, 0.75rem)") },
|
|
2139
|
+
{ key: "radius", property: "border-radius", description: "Soft alert corner rounding.", consumers: at(ALERT, "var(--radius-lg, 0.5rem)") },
|
|
2140
|
+
{ key: "font-size", property: "font-size", description: "Soft alert type size.", consumers: at(ALERT, "var(--font-size-sm, 0.875rem)") },
|
|
2141
|
+
{ key: "lead-font-weight", property: "font-weight", description: "Weight of the inline `AlertLead` sentence.", consumers: at(ALERT, "var(--font-weight-bold, 700)") }
|
|
2142
|
+
]
|
|
2143
|
+
};
|
|
2129
2144
|
var HAIRLINE_PX = [
|
|
2130
2145
|
"components/ui/bulk-action-bar/bulk-action-bar.module.css",
|
|
2131
2146
|
"components/ui/dialog/dialog.module.css",
|
|
@@ -2232,6 +2247,7 @@ var COMPONENT_TOKEN_FAMILIES = [
|
|
|
2232
2247
|
actionRowFamily,
|
|
2233
2248
|
inputAffixFamily,
|
|
2234
2249
|
separatorFamily,
|
|
2250
|
+
alertFamily,
|
|
2235
2251
|
adminUiFamily
|
|
2236
2252
|
];
|
|
2237
2253
|
var COMPONENT_TOKEN_FAMILY_BY_NAME = new Map(
|
package/dist/index.d.ts
CHANGED
|
@@ -1303,6 +1303,13 @@ var properties = {
|
|
|
1303
1303
|
$ref: "#/$defs/componentTokenBinding"
|
|
1304
1304
|
}
|
|
1305
1305
|
},
|
|
1306
|
+
alert: {
|
|
1307
|
+
type: "object",
|
|
1308
|
+
description: "Alert's soft appearance: the inline alert under a control or in a dialog — icon size, inset, gap, rounding and type. Keys: icon-size, icon-size-note, soft-padding, gap, radius, font-size, lead-font-weight.",
|
|
1309
|
+
additionalProperties: {
|
|
1310
|
+
$ref: "#/$defs/componentTokenBinding"
|
|
1311
|
+
}
|
|
1312
|
+
},
|
|
1306
1313
|
"admin-ui": {
|
|
1307
1314
|
type: "object",
|
|
1308
1315
|
description: "Structural roles the admin-ui pattern owns. `marquee-family` is the display face for KPI hero figures and marquee page titles — the role the admin-ui portability audit named as the one piece of ENTR brand coupling a new theme must rebind. Keys: marquee-family.",
|
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-4CCJNJAS.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;
|
|
@@ -1324,6 +1324,13 @@ var visor_theme_schema_default = {
|
|
|
1324
1324
|
$ref: "#/$defs/componentTokenBinding"
|
|
1325
1325
|
}
|
|
1326
1326
|
},
|
|
1327
|
+
alert: {
|
|
1328
|
+
type: "object",
|
|
1329
|
+
description: "Alert's soft appearance: the inline alert under a control or in a dialog \u2014 icon size, inset, gap, rounding and type. Keys: icon-size, icon-size-note, soft-padding, gap, radius, font-size, lead-font-weight.",
|
|
1330
|
+
additionalProperties: {
|
|
1331
|
+
$ref: "#/$defs/componentTokenBinding"
|
|
1332
|
+
}
|
|
1333
|
+
},
|
|
1327
1334
|
"admin-ui": {
|
|
1328
1335
|
type: "object",
|
|
1329
1336
|
description: "Structural roles the admin-ui pattern owns. `marquee-family` is the display face for KPI hero figures and marquee page titles \u2014 the role the admin-ui portability audit named as the one piece of ENTR brand coupling a new theme must rebind. Keys: marquee-family.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loworbitstudio/visor-theme-engine",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.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",
|
|
@@ -703,6 +703,13 @@
|
|
|
703
703
|
"$ref": "#/$defs/componentTokenBinding"
|
|
704
704
|
}
|
|
705
705
|
},
|
|
706
|
+
"alert": {
|
|
707
|
+
"type": "object",
|
|
708
|
+
"description": "Alert's soft appearance: the inline alert under a control or in a dialog — icon size, inset, gap, rounding and type. Keys: icon-size, icon-size-note, soft-padding, gap, radius, font-size, lead-font-weight.",
|
|
709
|
+
"additionalProperties": {
|
|
710
|
+
"$ref": "#/$defs/componentTokenBinding"
|
|
711
|
+
}
|
|
712
|
+
},
|
|
706
713
|
"admin-ui": {
|
|
707
714
|
"type": "object",
|
|
708
715
|
"description": "Structural roles the admin-ui pattern owns. `marquee-family` is the display face for KPI hero figures and marquee page titles — the role the admin-ui portability audit named as the one piece of ENTR brand coupling a new theme must rebind. Keys: marquee-family.",
|