@loworbitstudio/visor-theme-engine 0.46.0 → 0.48.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.
@@ -34,7 +34,7 @@ import {
34
34
  resolveThemeBrand,
35
35
  resolveThemeFonts,
36
36
  sectionComment
37
- } from "../chunk-FN6RU72C.js";
37
+ } from "../chunk-ZQ2LB76I.js";
38
38
 
39
39
  // src/adapters/brand-passthrough.ts
40
40
  var SENTINEL_COLOR = "#ff00ff";
@@ -1261,6 +1261,7 @@ var SIDEBAR = "components/ui/sidebar/sidebar.module.css";
1261
1261
  var TABS = "components/ui/tabs/tabs.module.css";
1262
1262
  var SKELETON = "components/ui/skeleton/skeleton.module.css";
1263
1263
  var SPINNER = "components/ui/spinner/spinner.module.css";
1264
+ var STEPPER = "components/ui/stepper/stepper.module.css";
1264
1265
  var CHECKBOX = "components/ui/checkbox/checkbox.module.css";
1265
1266
  var INPUT = "components/ui/input/input.module.css";
1266
1267
  var SEPARATOR = "components/ui/separator/separator.module.css";
@@ -1288,9 +1289,13 @@ var DIALOG_FIELD = "blocks/dialog-field/dialog-field.module.css";
1288
1289
  var ADMIN_SHELL = "blocks/admin-shell/admin-shell.module.css";
1289
1290
  var BILLING_SLIDER = "components/ui/billing-slider/billing-slider.module.css";
1290
1291
  var RESIZABLE_SPLIT = "components/ui/resizable-split/resizable-split.module.css";
1292
+ var SCROLL_HINT = "components/ui/scroll-hint/scroll-hint.module.css";
1291
1293
  var DIALOG = "components/ui/dialog/dialog.module.css";
1294
+ var POPOVER = "components/ui/popover/popover.module.css";
1292
1295
  var STAT_CARD = "components/ui/stat-card/stat-card.module.css";
1293
1296
  var KEY_VALUE_LIST = "components/ui/key-value-list/key-value-list.module.css";
1297
+ var CARD = "components/ui/card/card.module.css";
1298
+ var RICH_TEXT = "components/ui/rich-text/rich-text.module.css";
1294
1299
  function at(file, fallback) {
1295
1300
  return [{ file, fallback }];
1296
1301
  }
@@ -1705,10 +1710,26 @@ var dialogFamily = {
1705
1710
  { 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" }] }
1706
1711
  ]
1707
1712
  };
1713
+ var popoverFamily = {
1714
+ family: "popover",
1715
+ prefix: "popover",
1716
+ description: "Popover's panel \u2014 corners, inset, fill and shadow \u2014 and the stay-mounted (`forceMount`) fade's timing, curve and rise. Under `data-glass=\"on\"` the panel reads the glass layer's fill, blur, shadow and ink; a bound `bg` or `shadow` wins in every look.",
1717
+ tokens: [
1718
+ { key: "radius", property: "border-radius", description: "Panel corners.", consumers: at(POPOVER, "var(--radius-lg, 0.5rem)") },
1719
+ { key: "padding", property: "padding", description: "Panel inset, one length. PopoverFooter's rule spans it.", consumers: [{ file: POPOVER, fallback: "var(--spacing-4, 1rem)" }, { file: POPOVER, fallback: "var(--spacing-4, 1rem)" }, { file: POPOVER, fallback: "var(--spacing-4, 1rem)" }] },
1720
+ { key: "bg", property: "background", description: "Panel fill, in every look. Unset, the glass layer's fill over a photo and `--surface-popover` elsewhere.", consumers: at(POPOVER, "var(--glass-on-fill, var(--surface-popover, var(--surface-card, #ffffff)))") },
1721
+ { key: "shadow", property: "box-shadow", description: "Panel shadow (and any inset ring), in every look. Unset, the glass layer's shadow over a photo and `--shadow-lg` elsewhere.", consumers: at(POPOVER, "var(--glass-on-shadow, var(--shadow-lg))") },
1722
+ { key: "duration", property: "transition-duration", description: "Stay-mounted fade length.", consumers: each([POPOVER, POPOVER, POPOVER], "var(--motion-duration-normal, 200ms)") },
1723
+ { key: "easing", property: "transition-timing-function", description: "Stay-mounted fade curve.", consumers: each([POPOVER, POPOVER], "var(--motion-easing-enter, ease-out)") },
1724
+ { key: "rise", property: "translate", description: "How far the stay-mounted panel rises as it fades in. None under reduced motion.", consumers: at(POPOVER, "6px") },
1725
+ { key: "item-bg", property: "background-color", description: "Menu row fill (a ghost Button in a stay-mounted panel). Unset, the glass layer's control fill over a photo and a faint ink tint elsewhere.", consumers: at(POPOVER, "var(--glass-on-control-fill, color-mix(in srgb, var(--text-primary, #111827) 5%, transparent))") },
1726
+ { key: "item-bg-hover", property: "background-color", description: "Menu row fill on hover. Unset, the glass layer's control hover fill over a photo and a stronger ink tint elsewhere.", consumers: at(POPOVER, "var(--glass-on-control-hover-fill, color-mix(in srgb, var(--text-primary, #111827) 10%, transparent))") }
1727
+ ]
1728
+ };
1708
1729
  var glassFamily = {
1709
1730
  family: "glass",
1710
1731
  prefix: "glass",
1711
- description: 'The glass layer over a photo: surface fill, blur, edge, lift, shadow and on-photo ink, plus the glass values controls read. Draws only inside `data-glass="on"`; elsewhere components keep their solid surface and border.',
1732
+ description: 'The glass layer over a photo: surface fill, blur, edge, lift, shadow, on-photo ink, the scrim under white labels with its ink and shadow, plus the glass values controls read. Draws only inside `data-glass="on"`; elsewhere components keep their solid surface and border.',
1712
1733
  tokens: [
1713
1734
  { key: "fill", property: "background", description: "Glass surface fill, see-through.", consumers: [], recommended: "color-mix(in srgb, var(--text-primary) 5%, transparent)" },
1714
1735
  { key: "blur", property: "backdrop-filter", description: "Filter on the photo behind a glass surface.", consumers: [], recommended: "blur(32px) saturate(110%)" },
@@ -1716,6 +1737,11 @@ var glassFamily = {
1716
1737
  { key: "lift", property: "background", description: "White lift laid over the fill, e.g. `rgb(255 255 255 / 0.45)` in light.", consumers: [], recommended: "transparent" },
1717
1738
  { key: "shadow", property: "box-shadow", description: "Glass surface shadow.", consumers: [], recommended: "var(--shadow-xl)" },
1718
1739
  { key: "ink", property: "color", description: "Text colour on glass over a photo.", consumers: [], recommended: "var(--text-primary)" },
1740
+ // VI-810: a dark scrim under white labels in the dark photo look: at 55% black, white clears 4.5:1 (4.95:1)
1741
+ // even over pure white, so over any photo; and FormDeck's label shadow. Light + Photo keeps the light glass and its ink.
1742
+ { key: "scrim", property: "background", description: "Dark glass laid under white labels on a photo in dark mode (e.g. Stepper's rail panel in Dark + Photo), dark enough that white clears 4.5:1 on a bright photo.", consumers: [], recommended: "rgb(0 0 0 / 0.55)" },
1743
+ { key: "scrim-ink", property: "color", description: "Label colour on the scrim, in dark mode over a photo.", consumers: [], recommended: "#ffffff" },
1744
+ { key: "ink-shadow", property: "text-shadow", description: "Shadow under the scrim ink in dark mode over a photo, seating the labels.", consumers: [], recommended: "0 0 10px rgb(0 0 0 / 0.55), 0 1px 3px rgb(0 0 0 / 0.5)" },
1719
1745
  { key: "control-fill", property: "background", description: "Glass control fill (icon buttons, toggles).", consumers: [], recommended: "color-mix(in srgb, var(--text-primary) 14%, transparent)" },
1720
1746
  { key: "control-hover-fill", property: "background", description: "Glass control fill on hover.", consumers: [], recommended: "color-mix(in srgb, var(--text-primary) 24%, transparent)" },
1721
1747
  { key: "control-ring", property: "box-shadow (inset ring)", description: "Glass control ring colour.", consumers: [], recommended: "color-mix(in srgb, var(--text-primary) 16%, transparent)" },
@@ -1723,10 +1749,22 @@ var glassFamily = {
1723
1749
  { key: "control-blur", property: "backdrop-filter", description: "Filter on the photo behind a glass control.", consumers: [], recommended: "blur(16px)" }
1724
1750
  ]
1725
1751
  };
1752
+ var scrollHintFamily = {
1753
+ family: "scroll-hint",
1754
+ prefix: "scroll-hint",
1755
+ description: `ScrollHint \u2014 the "More Below" pill pinned to a scroll box's bottom edge: the solid chip's fill, edge and ink, the fill it takes over a photo, and the gap it undoes.`,
1756
+ tokens: [
1757
+ { key: "bg", property: "background", description: "The chip's fill, glass off.", consumers: at(SCROLL_HINT, "var(--surface-card, #ffffff)") },
1758
+ { key: "border", property: "box-shadow (inset ring)", description: "The chip's edge, glass off. Over a photo the pill has no edge.", consumers: at(SCROLL_HINT, "var(--border-default, #e5e7eb)") },
1759
+ { key: "color", property: "color", description: "The pill's words and caret.", consumers: at(SCROLL_HINT, "var(--text-secondary, #4b5563)") },
1760
+ { key: "glass-bg", property: "background", description: "The pill's fill inside `data-glass=\"on\"`, blurred with the glass layer's control blur.", consumers: at(SCROLL_HINT, "color-mix(in srgb, var(--surface-page, #ffffff) 70%, transparent)") },
1761
+ { key: "gap", property: "margin-top (negated)", description: "The scroll box's row gap, which the zero-height hint row undoes so it adds no space.", consumers: at(SCROLL_HINT, "0px") }
1762
+ ]
1763
+ };
1726
1764
  var tabsFamily = {
1727
1765
  family: "tabs",
1728
1766
  prefix: "tabs",
1729
- description: "Tab rail and trigger treatment, for both the segmented (`default`) and underlined (`line`) variants.",
1767
+ description: "Tab rail and trigger treatment, for the segmented (`default`), underlined (`line`) and sliding-highlight (`keyed`) variants.",
1730
1768
  tokens: [
1731
1769
  { key: "list-radius", property: "border-radius", description: "Tab-rail corner rounding.", consumers: at(TABS, "var(--radius-full, 9999px)") },
1732
1770
  { key: "list-height", property: "height", description: "Tab-rail height.", consumers: at(TABS, "2.25rem") },
@@ -1745,7 +1783,11 @@ var tabsFamily = {
1745
1783
  { key: "trigger-active-color", property: "color", description: "Active trigger colour.", consumers: at(TABS, "var(--text-primary, #111827)") },
1746
1784
  { key: "trigger-active-shadow", property: "box-shadow", description: "Active trigger elevation.", consumers: at(TABS, "var(--shadow-sm)") },
1747
1785
  { key: "indicator-height", property: "height", description: "Underline indicator thickness.", consumers: at(TABS, "2px") },
1748
- { key: "indicator-color", property: "background-color", description: "Underline indicator colour.", consumers: at(TABS, "var(--text-primary, #111827)") }
1786
+ { key: "indicator-color", property: "background-color", description: "Underline indicator colour.", consumers: at(TABS, "var(--text-primary, #111827)") },
1787
+ { key: "keyed-key", property: "border-color, color", description: "Keyed variant key colour: the sliding highlight's 1px edge and the active tab's icon.", consumers: at(TABS, "var(--surface-accent-default)") },
1788
+ { key: "keyed-fill", property: "background-color", description: "Keyed variant highlight fill. Unbound, the key colour at 10%.", consumers: at(TABS, "color-mix(in srgb, var(--_keyed-key) 10%, transparent)") },
1789
+ { key: "keyed-ink", property: "color", description: "Keyed variant label ink: full on the active tab, 80% on hover, 55% at rest.", consumers: at(TABS, "var(--text-primary)") },
1790
+ { key: "keyed-radius", property: "border-radius", description: "Keyed variant tab and highlight corners.", consumers: at(TABS, "var(--radius-md, 0.375rem)") }
1749
1791
  ]
1750
1792
  };
1751
1793
  var skeletonFamily = {
@@ -1796,6 +1838,21 @@ var spinnerFamily = {
1796
1838
  { key: "label-color", property: "color", description: "Visible words colour (`showLabel`).", consumers: at(SPINNER, "var(--text-secondary, #4b5563)") }
1797
1839
  ]
1798
1840
  };
1841
+ var stepperFamily = {
1842
+ family: "stepper",
1843
+ prefix: "stepper",
1844
+ description: "Stepper's `rail` variant \u2014 row gap and inset, the space between mark and label, label size, weight and tracking, and the dot mark's size and current width.",
1845
+ tokens: [
1846
+ { key: "rail-gap", property: "gap", description: "Space between rail rows.", consumers: at(STEPPER, "0") },
1847
+ { key: "rail-padding", property: "padding", description: "Rail row inset.", consumers: at(STEPPER, "var(--spacing-2, 0.5rem) var(--spacing-1, 0.25rem)") },
1848
+ { key: "rail-mark-gap", property: "gap", description: "Space between the mark and the label.", consumers: at(STEPPER, "var(--spacing-3, 0.75rem)") },
1849
+ { key: "rail-font-size", property: "font-size", description: "Rail label size.", consumers: at(STEPPER, "var(--font-size-sm, 0.875rem)") },
1850
+ { key: "rail-font-weight", property: "font-weight", description: "Rail label weight.", consumers: at(STEPPER, "var(--font-weight-medium, 500)") },
1851
+ { key: "rail-letter-spacing", property: "letter-spacing", description: "Rail label tracking.", consumers: at(STEPPER, "normal") },
1852
+ { key: "rail-mark-size", property: "width / height", description: "Dot mark diameter.", consumers: at(STEPPER, "calc(var(--spacing-1, 0.25rem) * 1.5)") },
1853
+ { key: "rail-mark-active-width", property: "width", description: "The current row's mark, stretched to a pill.", consumers: at(STEPPER, "var(--spacing-5, 1.25rem)") }
1854
+ ]
1855
+ };
1799
1856
  var checkboxFamily = {
1800
1857
  family: "checkbox",
1801
1858
  prefix: "checkbox",
@@ -1926,6 +1983,7 @@ var controlFamily = {
1926
1983
  description: "THE switch. Resting-edge weight for every form control; `0` turns every resting edge off.",
1927
1984
  consumers: [
1928
1985
  ...each(EDGE_CONTROLS, "1px"),
1986
+ { file: FIELD, fallback: "1px" },
1929
1987
  { file: CHIP, fallback: "var(--stroke-width-thin, 1px)" },
1930
1988
  { file: FILE_UPLOAD, fallback: "1px" },
1931
1989
  { file: EMPTY_STATE, fallback: "1px" }
@@ -1935,7 +1993,7 @@ var controlFamily = {
1935
1993
  key: "edge-color",
1936
1994
  property: "outline-color",
1937
1995
  description: "Resting-edge colour. A component's own `--<component>-border` override still wins over it.",
1938
- consumers: each([INPUT, NUMBER_INPUT, TEXTAREA, SELECT, CHECKBOX, TAG_INPUT, CHIP, FILE_UPLOAD, EMPTY_STATE, BUTTON], "var(--border-default, #e5e7eb)")
1996
+ consumers: each([INPUT, NUMBER_INPUT, TEXTAREA, SELECT, CHECKBOX, TAG_INPUT, CHIP, FILE_UPLOAD, EMPTY_STATE, BUTTON, FIELD], "var(--border-default, #e5e7eb)")
1939
1997
  },
1940
1998
  {
1941
1999
  key: "edge-style",
@@ -2012,8 +2070,55 @@ var controlFamily = {
2012
2070
  var fieldFamily = {
2013
2071
  family: "field",
2014
2072
  prefix: "field",
2015
- description: "Field label treatment \u2014 size, case, tracking and colour of `FieldLabel`, in both densities.",
2073
+ description: 'Field\'s parts: the label (size, weight, line height, case, tracking, colour, the "optional" mark), the hint, the error line (a theme error colour, weight, icon gap and size) and the `FieldControl` box a control sits in (height, corners, fill, focus ring, invalid fill and line, the control\'s padding, type and placeholder, the tall box for a Textarea). Under `data-glass="on"` the box reads the glass layer\'s control values and the error line its on-photo ink.',
2016
2074
  tokens: [
2075
+ { key: "gap", property: "gap", description: "Space between the label, the control, the hint and the error line.", consumers: at(FIELD, "var(--spacing-2, 0.5rem)") },
2076
+ { key: "text-inset", property: "padding-inline-start", description: "Start inset of the label, the hint and the error line, so their text lines up inside the box's corner.", consumers: [{ file: FIELD, fallback: "0" }, { file: FIELD, fallback: "0" }, { file: FIELD, fallback: "0" }] },
2077
+ { key: "label-font-weight", property: "font-weight", description: "Label weight.", consumers: at(FIELD, "var(--font-weight-medium, 500)") },
2078
+ { key: "label-line-height", property: "line-height", description: "Label line height.", consumers: at(FIELD, "1.4") },
2079
+ { key: "label-optional-color", property: "color", description: 'Colour of the "optional" mark after the label (`FieldLabel optional`).', consumers: at(FIELD, "var(--text-secondary, currentColor)") },
2080
+ { key: "label-optional-font-weight", property: "font-weight", description: 'Weight of the "optional" mark.', consumers: at(FIELD, "var(--font-weight-normal, 400)") },
2081
+ {
2082
+ key: "description-font-size",
2083
+ property: "font-size",
2084
+ description: "Hint (`FieldDescription`) type size. Drives both the standard and editorial-density steps.",
2085
+ consumers: [
2086
+ { file: FIELD, fallback: "var(--font-size-xs, 0.75rem)" },
2087
+ { file: FIELD, fallback: "11px" }
2088
+ ]
2089
+ },
2090
+ {
2091
+ key: "description-color",
2092
+ property: "color",
2093
+ description: "Hint colour. Drives both the standard and editorial-density steps.",
2094
+ consumers: [
2095
+ { file: FIELD, fallback: "var(--text-secondary, currentColor)" },
2096
+ { file: FIELD, fallback: "var(--text-tertiary)" }
2097
+ ]
2098
+ },
2099
+ { key: "description-line-height", property: "line-height", description: "Hint line height.", consumers: at(FIELD, "1.5") },
2100
+ { key: "error-color", property: "color", description: "The error line's colour, icon included. Under `data-glass=\"on\"` the glass layer's on-photo ink (`glass.ink`) draws it instead.", consumers: at(FIELD, "var(--text-error, currentColor)") },
2101
+ { key: "error-font-weight", property: "font-weight", description: "Error line weight.", consumers: at(FIELD, "var(--font-weight-normal, 400)") },
2102
+ { key: "error-line-height", property: "line-height", description: "Error line height.", consumers: at(FIELD, "inherit") },
2103
+ { key: "error-icon-gap", property: "gap", description: "Space between the error icon and its message.", consumers: at(FIELD, "calc(var(--spacing-1, 0.25rem) + var(--spacing-1, 0.25rem) / 2)") },
2104
+ { key: "error-icon-size", property: "font-size", description: "Error icon size.", consumers: at(FIELD, "1.077em") },
2105
+ { key: "error-fill", property: "background-color", description: "`FieldControl` fill while its control is invalid. Under glass, the glass hover fill.", consumers: at(FIELD, "var(--input-bg-invalid, var(--surface-error-subtle, color-mix(in srgb, var(--border-error, #ef4444) 6%, var(--field-control-bg, var(--input-bg, #f9fafb)))))") },
2106
+ { key: "error-line", property: "box-shadow (inset ring)", description: "`FieldControl` edge colour while its control is invalid. Under glass, the on-photo ink.", consumers: at(FIELD, "var(--control-invalid-ring-color, var(--border-error, #ef4444))") },
2107
+ { key: "error-line-width", property: "box-shadow (inset ring)", description: "`FieldControl` edge width while its control is invalid.", consumers: at(FIELD, "var(--control-invalid-ring-width, 1.5px)") },
2108
+ { key: "control-height", property: "height", description: "`FieldControl` box height.", consumers: at(FIELD, "var(--input-md-height, 2.75rem)") },
2109
+ { key: "control-radius", property: "border-radius", description: "`FieldControl` corner radius.", consumers: at(FIELD, "var(--input-md-radius, var(--input-radius-md, var(--radius-sm, 0.5rem)))") },
2110
+ { key: "control-fill", property: "background-color", description: "`FieldControl` fill. Under glass, the glass control fill.", consumers: at(FIELD, "var(--field-control-bg, var(--input-bg, var(--surface-interactive-default, #f9fafb)))") },
2111
+ { key: "control-fill-hover", property: "background-color", description: "`FieldControl` fill on hover and focus. Unset, the resting fill. Under glass, the glass hover fill.", consumers: [{ file: FIELD, fallback: "var(--field-control-fill, var(--field-control-bg, var(--input-bg, var(--surface-interactive-default, #f9fafb))))" }, { file: FIELD, fallback: "var(--field-control-fill, var(--field-control-bg, var(--input-bg, var(--surface-interactive-default, #f9fafb))))" }] },
2112
+ { key: "control-focus-ring-color", property: "box-shadow (inset ring)", description: "Focus ring colour: 1px on pointer focus, the full ring on keyboard focus. Under glass, the glass control ink.", consumers: [{ file: FIELD, fallback: "var(--border-focus, #111827)" }, { file: FIELD, fallback: "var(--border-focus, #111827)" }] },
2113
+ { key: "control-focus-ring-width", property: "box-shadow (inset ring)", description: "Keyboard focus ring width. Unset, the shared focus ring width.", consumers: at(FIELD, "var(--focus-ring-width, 2px)") },
2114
+ { key: "control-padding-x", property: "padding-inline", description: "Side inset of the control inside the box.", consumers: [{ file: FIELD, fallback: "var(--spacing-4, 1rem)" }, { file: FIELD, fallback: "var(--spacing-4, 1rem)" }] },
2115
+ { key: "control-font-size", property: "font-size", description: "The control's type size inside the box.", consumers: at(FIELD, "var(--font-size-sm, 0.875rem)") },
2116
+ { key: "control-font-weight", property: "font-weight", description: "The control's weight inside the box.", consumers: at(FIELD, "inherit") },
2117
+ { key: "control-letter-spacing", property: "letter-spacing", description: "The control's tracking inside the box.", consumers: at(FIELD, "inherit") },
2118
+ { key: "control-placeholder-color", property: "color", description: "Placeholder colour inside the box, the Select trigger's placeholder included.", consumers: at(FIELD, "var(--input-placeholder-color, var(--text-secondary, #9ca3af))") },
2119
+ { key: "control-tall-min-height", property: "min-height", description: "The tall box's (`FieldControl tall`) shortest; it grows with the Textarea's content.", consumers: at(FIELD, "6.25rem") },
2120
+ { key: "control-tall-max-height", property: "max-height", description: "The tall box's tallest; the Textarea scrolls beyond it.", consumers: at(FIELD, "none") },
2121
+ { key: "control-tall-padding-y", property: "padding-block", description: "Top and bottom inset of the Textarea in the tall box.", consumers: at(FIELD, "var(--spacing-3_5, 0.875rem)") },
2017
2122
  {
2018
2123
  key: "label-font-size",
2019
2124
  property: "font-size",
@@ -2520,7 +2625,7 @@ var segmentedControlFamily = {
2520
2625
  var toggleGroupFamily = {
2521
2626
  family: "toggle-group",
2522
2627
  prefix: "toggle-group",
2523
- 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.",
2628
+ 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, description line, check box and round mark.",
2524
2629
  tokens: [
2525
2630
  { 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") },
2526
2631
  {
@@ -2553,18 +2658,19 @@ var toggleGroupFamily = {
2553
2658
  { 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)") },
2554
2659
  { 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)") },
2555
2660
  { 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)") },
2556
- { key: "option-blur", property: "backdrop-filter", description: "Option row backdrop blur radius (a length, e.g. `24px`).", consumers: at(TOGGLE_GROUP, "24px") },
2557
2661
  { key: "option-text", property: "color", description: "Option label ink.", consumers: at(TOGGLE_GROUP, "var(--text-primary, #111827)") },
2558
2662
  { key: "option-font-size", property: "font-size", description: "Option label size.", consumers: at(TOGGLE_GROUP, "var(--font-size-base, 1rem)") },
2559
2663
  { key: "option-font-weight", property: "font-weight", description: "Option label weight.", consumers: at(TOGGLE_GROUP, "var(--font-weight-medium, 500)") },
2664
+ { key: "option-description-text", property: "color", description: "Option row description line ink (VI-806).", consumers: at(TOGGLE_GROUP, "var(--text-secondary, #4b5563)") },
2665
+ { key: "option-description-font-size", property: "font-size", description: "Option row description line size.", consumers: at(TOGGLE_GROUP, "var(--font-size-sm, 0.875rem)") },
2560
2666
  { key: "option-key-size", property: "width / height", description: "Letter key badge size.", consumers: at(TOGGLE_GROUP, "1.75rem") },
2561
2667
  { key: "option-key-radius", property: "border-radius", description: "Letter key badge corner radius.", consumers: at(TOGGLE_GROUP, "var(--radius-md, 0.375rem)") },
2562
2668
  { 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)") },
2563
2669
  { key: "option-key-text", property: "color", description: "Letter key ink while not picked.", consumers: at(TOGGLE_GROUP, "var(--text-secondary, #4b5563)") },
2564
2670
  { key: "option-key-font-size", property: "font-size", description: "Letter key size.", consumers: at(TOGGLE_GROUP, "var(--font-size-xs, 0.75rem)") },
2565
- { 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))") },
2566
- { 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)") },
2567
- { key: "option-check-size", property: "width / height", description: "Multiple-mode check box size.", consumers: at(TOGGLE_GROUP, "1.25rem") },
2671
+ { key: "option-mark-bg", property: "background-color", description: "Picked fill of the letter key, the check box and the round single-choice mark (the theme's key colour).", consumers: at(TOGGLE_GROUP, "var(--interactive-primary-bg, var(--primary, #111827))") },
2672
+ { key: "option-mark-text", property: "color", description: "Picked ink of the letter key and of the check glyph in the box and the round mark.", consumers: at(TOGGLE_GROUP, "var(--interactive-primary-text, #f9fafb)") },
2673
+ { key: "option-check-size", property: "width / height", description: "Size of the multiple-mode check box and of the single-mode round mark.", consumers: at(TOGGLE_GROUP, "1.25rem") },
2568
2674
  { key: "option-check-radius", property: "border-radius", description: "Check box corner radius.", consumers: at(TOGGLE_GROUP, "var(--radius-sm, 0.25rem)") },
2569
2675
  { key: "option-check-border", property: "box-shadow", description: "Check box's inset edge while not picked.", consumers: at(TOGGLE_GROUP, "var(--border-strong, #d1d5db)") }
2570
2676
  ]
@@ -2642,6 +2748,31 @@ var layerChartFamily = {
2642
2748
  { key: "ground", property: "background (mixes)", description: "The ground blocks are mixed toward (covered, today, the palest layer) and the span lanes' track.", consumers: at(LAYER_CHART, "var(--surface-page, #ffffff)") }
2643
2749
  ]
2644
2750
  };
2751
+ var cardFamily = {
2752
+ family: "card",
2753
+ prefix: "card",
2754
+ description: "Card \u2014 the corner radius, the glass variant's fill, blur, shadow and layers, and the editable state's hover fill and shadow and its pen's size and inset.",
2755
+ tokens: [
2756
+ { key: "radius", property: "border-radius", description: "Card corner radius.", consumers: at(CARD, "var(--radius-xl, 1rem)") },
2757
+ { key: "glass-bg", property: "background", description: "Glass layer fill. Unset, the glass switch's lift over its fill, or the card surface where glass is off.", consumers: at(CARD, "linear-gradient(var(--glass-on-lift, transparent) 0 0), var(--glass-on-fill, var(--surface-card, #ffffff))") },
2758
+ { key: "glass-filter", property: "backdrop-filter", description: "Filter on the photo behind the glass layer. Unset, the glass switch's blur; none where glass is off. A bound value applies with glass off too.", consumers: at(CARD, "var(--glass-on-blur, none)") },
2759
+ { key: "glass-shadow", property: "box-shadow", description: "Glass layer shadow. Unset, the glass switch's shadow, or Card's own where glass is off.", consumers: at(CARD, "var(--glass-on-shadow, var(--shadow-sm))") },
2760
+ { key: "glass-display", property: "display", description: "`none` drops the glass layer and its edge.", consumers: at(CARD, "block") },
2761
+ { key: "edge-display", property: "display", description: "`none` drops the edge layer only (a surface that draws its own edge).", consumers: at(CARD, "var(--card-glass-display, block)") },
2762
+ {
2763
+ key: "editable-hover-bg",
2764
+ property: "background",
2765
+ description: "Editable card fill on hover. Unset, the interactive hover surface; on glass, the fill moved 40% toward the card surface.",
2766
+ consumers: [
2767
+ { file: CARD, fallback: "var(--surface-interactive-hover, #f3f4f6)" },
2768
+ { file: CARD, fallback: "linear-gradient(var(--glass-on-lift, transparent) 0 0), color-mix(in srgb, var(--glass-on-fill, var(--surface-interactive-hover, #f3f4f6)), var(--surface-card, #ffffff) 40%)" }
2769
+ ]
2770
+ },
2771
+ { key: "editable-hover-shadow", property: "box-shadow", description: "Editable card shadow on hover.", consumers: at(CARD, "var(--shadow-lg)") },
2772
+ { key: "pen-size", property: "width / height", description: "Pen badge size.", consumers: at(CARD, "var(--spacing-8, 2rem)") },
2773
+ { key: "pen-inset", property: "top / right", description: "Pen distance from the top and right edges.", consumers: at(CARD, "var(--spacing-4, 1rem)") }
2774
+ ]
2775
+ };
2645
2776
  var statCardFamily = {
2646
2777
  family: "stat-card",
2647
2778
  prefix: "stat-card",
@@ -2699,6 +2830,19 @@ var keyValueListFamily = {
2699
2830
  { key: "panel-padding", property: "padding", description: '`surface="panel"` inset.', consumers: at(KEY_VALUE_LIST, "var(--spacing-2, 0.5rem) var(--spacing-6, 1.5rem)") }
2700
2831
  ]
2701
2832
  };
2833
+ var richTextFamily = {
2834
+ family: "rich-text",
2835
+ prefix: "rich-text",
2836
+ description: "RichText link underline colour. Link text inherits the surrounding ink.",
2837
+ tokens: [
2838
+ {
2839
+ key: "link-underline",
2840
+ property: "text-decoration-color",
2841
+ description: "Link underline colour at rest; on hover it turns the link's own ink.",
2842
+ consumers: at(RICH_TEXT, "color-mix(in srgb, currentColor 40%, transparent)")
2843
+ }
2844
+ ]
2845
+ };
2702
2846
  var COMPONENT_TOKEN_FAMILIES = [
2703
2847
  tableFamily,
2704
2848
  dataTableFamily,
@@ -2715,10 +2859,13 @@ var COMPONENT_TOKEN_FAMILIES = [
2715
2859
  billingSliderFamily,
2716
2860
  resizableSplitFamily,
2717
2861
  dialogFamily,
2862
+ popoverFamily,
2718
2863
  glassFamily,
2864
+ scrollHintFamily,
2719
2865
  tabsFamily,
2720
2866
  skeletonFamily,
2721
2867
  spinnerFamily,
2868
+ stepperFamily,
2722
2869
  checkboxFamily,
2723
2870
  inputFamily,
2724
2871
  textareaFamily,
@@ -2747,6 +2894,8 @@ var COMPONENT_TOKEN_FAMILIES = [
2747
2894
  layerChartFamily,
2748
2895
  statCardFamily,
2749
2896
  keyValueListFamily,
2897
+ cardFamily,
2898
+ richTextFamily,
2750
2899
  adminUiFamily
2751
2900
  ];
2752
2901
  var COMPONENT_TOKEN_FAMILY_BY_NAME = new Map(
package/dist/index.d.ts CHANGED
@@ -1226,6 +1226,13 @@ var properties = {
1226
1226
  $ref: "#/$defs/componentTokenBinding"
1227
1227
  }
1228
1228
  },
1229
+ "scroll-hint": {
1230
+ type: "object",
1231
+ description: "ScrollHint — the \"More Below\" pill pinned to a scroll box's bottom edge: the solid chip's fill, edge and ink, the fill it takes over a photo, and the gap it undoes. Keys: bg, border, color, glass-bg, gap.",
1232
+ additionalProperties: {
1233
+ $ref: "#/$defs/componentTokenBinding"
1234
+ }
1235
+ },
1229
1236
  dialog: {
1230
1237
  type: "object",
1231
1238
  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.",
@@ -1233,16 +1240,23 @@ var properties = {
1233
1240
  $ref: "#/$defs/componentTokenBinding"
1234
1241
  }
1235
1242
  },
1243
+ popover: {
1244
+ type: "object",
1245
+ description: "Popover's panel — corners, inset, fill and shadow — and the stay-mounted (`forceMount`) fade's timing, curve and rise. Under `data-glass=\"on\"` the panel reads the glass layer's fill, blur, shadow and ink; a bound `bg` or `shadow` wins in every look. Keys: radius, padding, bg, shadow, duration, easing, rise, item-bg, item-bg-hover.",
1246
+ additionalProperties: {
1247
+ $ref: "#/$defs/componentTokenBinding"
1248
+ }
1249
+ },
1236
1250
  glass: {
1237
1251
  type: "object",
1238
- description: "The glass layer over a photo: surface fill, blur, edge, lift, shadow and on-photo ink, plus the glass values controls read. Draws only inside `data-glass=\"on\"`; elsewhere components keep their solid surface and border. Keys: fill, blur, edge, lift, shadow, ink, control-fill, control-hover-fill, control-ring, control-ink, control-blur.",
1252
+ description: "The glass layer over a photo: surface fill, blur, edge, lift, shadow, on-photo ink, the scrim under white labels with its ink and shadow, plus the glass values controls read. Draws only inside `data-glass=\"on\"`; elsewhere components keep their solid surface and border. Keys: fill, blur, edge, lift, shadow, ink, scrim, scrim-ink, ink-shadow, control-fill, control-hover-fill, control-ring, control-ink, control-blur.",
1239
1253
  additionalProperties: {
1240
1254
  $ref: "#/$defs/componentTokenBinding"
1241
1255
  }
1242
1256
  },
1243
1257
  tabs: {
1244
1258
  type: "object",
1245
- 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.",
1259
+ description: "Tab rail and trigger treatment, for the segmented (`default`), underlined (`line`) and sliding-highlight (`keyed`) 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, keyed-key, keyed-fill, keyed-ink, keyed-radius.",
1246
1260
  additionalProperties: {
1247
1261
  $ref: "#/$defs/componentTokenBinding"
1248
1262
  }
@@ -1261,6 +1275,13 @@ var properties = {
1261
1275
  $ref: "#/$defs/componentTokenBinding"
1262
1276
  }
1263
1277
  },
1278
+ stepper: {
1279
+ type: "object",
1280
+ description: "Stepper's `rail` variant — row gap and inset, the space between mark and label, label size, weight and tracking, and the dot mark's size and current width. Keys: rail-gap, rail-padding, rail-mark-gap, rail-font-size, rail-font-weight, rail-letter-spacing, rail-mark-size, rail-mark-active-width.",
1281
+ additionalProperties: {
1282
+ $ref: "#/$defs/componentTokenBinding"
1283
+ }
1284
+ },
1264
1285
  checkbox: {
1265
1286
  type: "object",
1266
1287
  description: "Control sizing — the D3 Tier-2 `--checkbox-size` / `-radius` / `-bg` / `-border` set, promoted from the admin-ui audit to a bindable contract. Keys: size, radius, bg, border, edgeless-bg, bg-checked, border-checked.",
@@ -1282,6 +1303,13 @@ var properties = {
1282
1303
  $ref: "#/$defs/componentTokenBinding"
1283
1304
  }
1284
1305
  },
1306
+ card: {
1307
+ type: "object",
1308
+ description: "Card — the corner radius, the glass variant's fill, blur, shadow and layers, and the editable state's hover fill and shadow and its pen's size and inset. Keys: radius, glass-bg, glass-filter, glass-shadow, glass-display, edge-display, editable-hover-bg, editable-hover-shadow, pen-size, pen-inset.",
1309
+ additionalProperties: {
1310
+ $ref: "#/$defs/componentTokenBinding"
1311
+ }
1312
+ },
1285
1313
  "stat-card": {
1286
1314
  type: "object",
1287
1315
  description: "StatCard — the card's edge, corners, elevation and inset, the rule above the footer, and the label, value and footer type. Keys: border, radius, shadow, padding, footer-border, footer-font-size, footer-font-weight, footer-line-height, footer-color, value-font-family, value-font-size, value-font-weight, value-line-height, value-letter-spacing, label-font-size, label-font-weight, label-line-height, label-letter-spacing, label-color.",
@@ -1296,6 +1324,13 @@ var properties = {
1296
1324
  $ref: "#/$defs/componentTokenBinding"
1297
1325
  }
1298
1326
  },
1327
+ "rich-text": {
1328
+ type: "object",
1329
+ description: "RichText link underline colour. Link text inherits the surrounding ink. Keys: link-underline.",
1330
+ additionalProperties: {
1331
+ $ref: "#/$defs/componentTokenBinding"
1332
+ }
1333
+ },
1299
1334
  textarea: {
1300
1335
  type: "object",
1301
1336
  description: "Textarea shape at the default `md` size. Keys: padding, radius.",
@@ -1340,7 +1375,7 @@ var properties = {
1340
1375
  },
1341
1376
  field: {
1342
1377
  type: "object",
1343
- description: "Field label treatment — size, case, tracking and colour of `FieldLabel`, in both densities. Keys: label-font-size, label-text-transform, label-letter-spacing, label-color.",
1378
+ description: "Field's parts: the label (size, weight, line height, case, tracking, colour, the \"optional\" mark), the hint, the error line (a theme error colour, weight, icon gap and size) and the `FieldControl` box a control sits in (height, corners, fill, focus ring, invalid fill and line, the control's padding, type and placeholder, the tall box for a Textarea). Under `data-glass=\"on\"` the box reads the glass layer's control values and the error line its on-photo ink. Keys: gap, text-inset, label-font-weight, label-line-height, label-optional-color, label-optional-font-weight, description-font-size, description-color, description-line-height, error-color, error-font-weight, error-line-height, error-icon-gap, error-icon-size, error-fill, error-line, error-line-width, control-height, control-radius, control-fill, control-fill-hover, control-focus-ring-color, control-focus-ring-width, control-padding-x, control-font-size, control-font-weight, control-letter-spacing, control-placeholder-color, control-tall-min-height, control-tall-max-height, control-tall-padding-y, label-font-size, label-text-transform, label-letter-spacing, label-color.",
1344
1379
  additionalProperties: {
1345
1380
  $ref: "#/$defs/componentTokenBinding"
1346
1381
  }
@@ -1389,7 +1424,7 @@ var properties = {
1389
1424
  },
1390
1425
  "toggle-group": {
1391
1426
  type: "object",
1392
- 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.",
1427
+ 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, description line, check box and round mark. 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-text, option-font-size, option-font-weight, option-description-text, option-description-font-size, 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.",
1393
1428
  additionalProperties: {
1394
1429
  $ref: "#/$defs/componentTokenBinding"
1395
1430
  }
package/dist/index.js CHANGED
@@ -70,7 +70,7 @@ import {
70
70
  rgbToOklch,
71
71
  serializeColor,
72
72
  validateComponentBindings
73
- } from "./chunk-FN6RU72C.js";
73
+ } from "./chunk-ZQ2LB76I.js";
74
74
 
75
75
  // src/fonts/validate-coverage.ts
76
76
  var FONT_VAR_RE = /--font-(heading|display|body|sans|mono)\s*:\s*([^;]+);/g;
@@ -1246,6 +1246,13 @@ var visor_theme_schema_default = {
1246
1246
  $ref: "#/$defs/componentTokenBinding"
1247
1247
  }
1248
1248
  },
1249
+ "scroll-hint": {
1250
+ type: "object",
1251
+ description: `ScrollHint \u2014 the "More Below" pill pinned to a scroll box's bottom edge: the solid chip's fill, edge and ink, the fill it takes over a photo, and the gap it undoes. Keys: bg, border, color, glass-bg, gap.`,
1252
+ additionalProperties: {
1253
+ $ref: "#/$defs/componentTokenBinding"
1254
+ }
1255
+ },
1249
1256
  dialog: {
1250
1257
  type: "object",
1251
1258
  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.",
@@ -1253,16 +1260,23 @@ var visor_theme_schema_default = {
1253
1260
  $ref: "#/$defs/componentTokenBinding"
1254
1261
  }
1255
1262
  },
1263
+ popover: {
1264
+ type: "object",
1265
+ description: "Popover's panel \u2014 corners, inset, fill and shadow \u2014 and the stay-mounted (`forceMount`) fade's timing, curve and rise. Under `data-glass=\"on\"` the panel reads the glass layer's fill, blur, shadow and ink; a bound `bg` or `shadow` wins in every look. Keys: radius, padding, bg, shadow, duration, easing, rise, item-bg, item-bg-hover.",
1266
+ additionalProperties: {
1267
+ $ref: "#/$defs/componentTokenBinding"
1268
+ }
1269
+ },
1256
1270
  glass: {
1257
1271
  type: "object",
1258
- description: 'The glass layer over a photo: surface fill, blur, edge, lift, shadow and on-photo ink, plus the glass values controls read. Draws only inside `data-glass="on"`; elsewhere components keep their solid surface and border. Keys: fill, blur, edge, lift, shadow, ink, control-fill, control-hover-fill, control-ring, control-ink, control-blur.',
1272
+ description: 'The glass layer over a photo: surface fill, blur, edge, lift, shadow, on-photo ink, the scrim under white labels with its ink and shadow, plus the glass values controls read. Draws only inside `data-glass="on"`; elsewhere components keep their solid surface and border. Keys: fill, blur, edge, lift, shadow, ink, scrim, scrim-ink, ink-shadow, control-fill, control-hover-fill, control-ring, control-ink, control-blur.',
1259
1273
  additionalProperties: {
1260
1274
  $ref: "#/$defs/componentTokenBinding"
1261
1275
  }
1262
1276
  },
1263
1277
  tabs: {
1264
1278
  type: "object",
1265
- 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.",
1279
+ description: "Tab rail and trigger treatment, for the segmented (`default`), underlined (`line`) and sliding-highlight (`keyed`) 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, keyed-key, keyed-fill, keyed-ink, keyed-radius.",
1266
1280
  additionalProperties: {
1267
1281
  $ref: "#/$defs/componentTokenBinding"
1268
1282
  }
@@ -1281,6 +1295,13 @@ var visor_theme_schema_default = {
1281
1295
  $ref: "#/$defs/componentTokenBinding"
1282
1296
  }
1283
1297
  },
1298
+ stepper: {
1299
+ type: "object",
1300
+ description: "Stepper's `rail` variant \u2014 row gap and inset, the space between mark and label, label size, weight and tracking, and the dot mark's size and current width. Keys: rail-gap, rail-padding, rail-mark-gap, rail-font-size, rail-font-weight, rail-letter-spacing, rail-mark-size, rail-mark-active-width.",
1301
+ additionalProperties: {
1302
+ $ref: "#/$defs/componentTokenBinding"
1303
+ }
1304
+ },
1284
1305
  checkbox: {
1285
1306
  type: "object",
1286
1307
  description: "Control sizing \u2014 the D3 Tier-2 `--checkbox-size` / `-radius` / `-bg` / `-border` set, promoted from the admin-ui audit to a bindable contract. Keys: size, radius, bg, border, edgeless-bg, bg-checked, border-checked.",
@@ -1302,6 +1323,13 @@ var visor_theme_schema_default = {
1302
1323
  $ref: "#/$defs/componentTokenBinding"
1303
1324
  }
1304
1325
  },
1326
+ card: {
1327
+ type: "object",
1328
+ description: "Card \u2014 the corner radius, the glass variant's fill, blur, shadow and layers, and the editable state's hover fill and shadow and its pen's size and inset. Keys: radius, glass-bg, glass-filter, glass-shadow, glass-display, edge-display, editable-hover-bg, editable-hover-shadow, pen-size, pen-inset.",
1329
+ additionalProperties: {
1330
+ $ref: "#/$defs/componentTokenBinding"
1331
+ }
1332
+ },
1305
1333
  "stat-card": {
1306
1334
  type: "object",
1307
1335
  description: "StatCard \u2014 the card's edge, corners, elevation and inset, the rule above the footer, and the label, value and footer type. Keys: border, radius, shadow, padding, footer-border, footer-font-size, footer-font-weight, footer-line-height, footer-color, value-font-family, value-font-size, value-font-weight, value-line-height, value-letter-spacing, label-font-size, label-font-weight, label-line-height, label-letter-spacing, label-color.",
@@ -1316,6 +1344,13 @@ var visor_theme_schema_default = {
1316
1344
  $ref: "#/$defs/componentTokenBinding"
1317
1345
  }
1318
1346
  },
1347
+ "rich-text": {
1348
+ type: "object",
1349
+ description: "RichText link underline colour. Link text inherits the surrounding ink. Keys: link-underline.",
1350
+ additionalProperties: {
1351
+ $ref: "#/$defs/componentTokenBinding"
1352
+ }
1353
+ },
1319
1354
  textarea: {
1320
1355
  type: "object",
1321
1356
  description: "Textarea shape at the default `md` size. Keys: padding, radius.",
@@ -1360,7 +1395,7 @@ var visor_theme_schema_default = {
1360
1395
  },
1361
1396
  field: {
1362
1397
  type: "object",
1363
- description: "Field label treatment \u2014 size, case, tracking and colour of `FieldLabel`, in both densities. Keys: label-font-size, label-text-transform, label-letter-spacing, label-color.",
1398
+ description: 'Field\'s parts: the label (size, weight, line height, case, tracking, colour, the "optional" mark), the hint, the error line (a theme error colour, weight, icon gap and size) and the `FieldControl` box a control sits in (height, corners, fill, focus ring, invalid fill and line, the control\'s padding, type and placeholder, the tall box for a Textarea). Under `data-glass="on"` the box reads the glass layer\'s control values and the error line its on-photo ink. Keys: gap, text-inset, label-font-weight, label-line-height, label-optional-color, label-optional-font-weight, description-font-size, description-color, description-line-height, error-color, error-font-weight, error-line-height, error-icon-gap, error-icon-size, error-fill, error-line, error-line-width, control-height, control-radius, control-fill, control-fill-hover, control-focus-ring-color, control-focus-ring-width, control-padding-x, control-font-size, control-font-weight, control-letter-spacing, control-placeholder-color, control-tall-min-height, control-tall-max-height, control-tall-padding-y, label-font-size, label-text-transform, label-letter-spacing, label-color.',
1364
1399
  additionalProperties: {
1365
1400
  $ref: "#/$defs/componentTokenBinding"
1366
1401
  }
@@ -1409,7 +1444,7 @@ var visor_theme_schema_default = {
1409
1444
  },
1410
1445
  "toggle-group": {
1411
1446
  type: "object",
1412
- 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.",
1447
+ 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, description line, check box and round mark. 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-text, option-font-size, option-font-weight, option-description-text, option-description-font-size, 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.",
1413
1448
  additionalProperties: {
1414
1449
  $ref: "#/$defs/componentTokenBinding"
1415
1450
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loworbitstudio/visor-theme-engine",
3
- "version": "0.46.0",
3
+ "version": "0.48.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",
@@ -623,6 +623,13 @@
623
623
  "$ref": "#/$defs/componentTokenBinding"
624
624
  }
625
625
  },
626
+ "scroll-hint": {
627
+ "type": "object",
628
+ "description": "ScrollHint — the \"More Below\" pill pinned to a scroll box's bottom edge: the solid chip's fill, edge and ink, the fill it takes over a photo, and the gap it undoes. Keys: bg, border, color, glass-bg, gap.",
629
+ "additionalProperties": {
630
+ "$ref": "#/$defs/componentTokenBinding"
631
+ }
632
+ },
626
633
  "dialog": {
627
634
  "type": "object",
628
635
  "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.",
@@ -630,16 +637,23 @@
630
637
  "$ref": "#/$defs/componentTokenBinding"
631
638
  }
632
639
  },
640
+ "popover": {
641
+ "type": "object",
642
+ "description": "Popover's panel — corners, inset, fill and shadow — and the stay-mounted (`forceMount`) fade's timing, curve and rise. Under `data-glass=\"on\"` the panel reads the glass layer's fill, blur, shadow and ink; a bound `bg` or `shadow` wins in every look. Keys: radius, padding, bg, shadow, duration, easing, rise, item-bg, item-bg-hover.",
643
+ "additionalProperties": {
644
+ "$ref": "#/$defs/componentTokenBinding"
645
+ }
646
+ },
633
647
  "glass": {
634
648
  "type": "object",
635
- "description": "The glass layer over a photo: surface fill, blur, edge, lift, shadow and on-photo ink, plus the glass values controls read. Draws only inside `data-glass=\"on\"`; elsewhere components keep their solid surface and border. Keys: fill, blur, edge, lift, shadow, ink, control-fill, control-hover-fill, control-ring, control-ink, control-blur.",
649
+ "description": "The glass layer over a photo: surface fill, blur, edge, lift, shadow, on-photo ink, the scrim under white labels with its ink and shadow, plus the glass values controls read. Draws only inside `data-glass=\"on\"`; elsewhere components keep their solid surface and border. Keys: fill, blur, edge, lift, shadow, ink, scrim, scrim-ink, ink-shadow, control-fill, control-hover-fill, control-ring, control-ink, control-blur.",
636
650
  "additionalProperties": {
637
651
  "$ref": "#/$defs/componentTokenBinding"
638
652
  }
639
653
  },
640
654
  "tabs": {
641
655
  "type": "object",
642
- "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.",
656
+ "description": "Tab rail and trigger treatment, for the segmented (`default`), underlined (`line`) and sliding-highlight (`keyed`) 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, keyed-key, keyed-fill, keyed-ink, keyed-radius.",
643
657
  "additionalProperties": {
644
658
  "$ref": "#/$defs/componentTokenBinding"
645
659
  }
@@ -658,6 +672,13 @@
658
672
  "$ref": "#/$defs/componentTokenBinding"
659
673
  }
660
674
  },
675
+ "stepper": {
676
+ "type": "object",
677
+ "description": "Stepper's `rail` variant — row gap and inset, the space between mark and label, label size, weight and tracking, and the dot mark's size and current width. Keys: rail-gap, rail-padding, rail-mark-gap, rail-font-size, rail-font-weight, rail-letter-spacing, rail-mark-size, rail-mark-active-width.",
678
+ "additionalProperties": {
679
+ "$ref": "#/$defs/componentTokenBinding"
680
+ }
681
+ },
661
682
  "checkbox": {
662
683
  "type": "object",
663
684
  "description": "Control sizing — the D3 Tier-2 `--checkbox-size` / `-radius` / `-bg` / `-border` set, promoted from the admin-ui audit to a bindable contract. Keys: size, radius, bg, border, edgeless-bg, bg-checked, border-checked.",
@@ -679,6 +700,13 @@
679
700
  "$ref": "#/$defs/componentTokenBinding"
680
701
  }
681
702
  },
703
+ "card": {
704
+ "type": "object",
705
+ "description": "Card \u2014 the corner radius, the glass variant's fill, blur, shadow and layers, and the editable state's hover fill and shadow and its pen's size and inset. Keys: radius, glass-bg, glass-filter, glass-shadow, glass-display, edge-display, editable-hover-bg, editable-hover-shadow, pen-size, pen-inset.",
706
+ "additionalProperties": {
707
+ "$ref": "#/$defs/componentTokenBinding"
708
+ }
709
+ },
682
710
  "stat-card": {
683
711
  "type": "object",
684
712
  "description": "StatCard \u2014 the card's edge, corners, elevation and inset, the rule above the footer, and the label, value and footer type. Keys: border, radius, shadow, padding, footer-border, footer-font-size, footer-font-weight, footer-line-height, footer-color, value-font-family, value-font-size, value-font-weight, value-line-height, value-letter-spacing, label-font-size, label-font-weight, label-line-height, label-letter-spacing, label-color.",
@@ -693,6 +721,13 @@
693
721
  "$ref": "#/$defs/componentTokenBinding"
694
722
  }
695
723
  },
724
+ "rich-text": {
725
+ "type": "object",
726
+ "description": "RichText link underline colour. Link text inherits the surrounding ink. Keys: link-underline.",
727
+ "additionalProperties": {
728
+ "$ref": "#/$defs/componentTokenBinding"
729
+ }
730
+ },
696
731
  "textarea": {
697
732
  "type": "object",
698
733
  "description": "Textarea shape at the default `md` size. Keys: padding, radius.",
@@ -737,7 +772,7 @@
737
772
  },
738
773
  "field": {
739
774
  "type": "object",
740
- "description": "Field label treatment — size, case, tracking and colour of `FieldLabel`, in both densities. Keys: label-font-size, label-text-transform, label-letter-spacing, label-color.",
775
+ "description": "Field's parts: the label (size, weight, line height, case, tracking, colour, the \"optional\" mark), the hint, the error line (a theme error colour, weight, icon gap and size) and the `FieldControl` box a control sits in (height, corners, fill, focus ring, invalid fill and line, the control's padding, type and placeholder, the tall box for a Textarea). Under `data-glass=\"on\"` the box reads the glass layer's control values and the error line its on-photo ink. Keys: gap, text-inset, label-font-weight, label-line-height, label-optional-color, label-optional-font-weight, description-font-size, description-color, description-line-height, error-color, error-font-weight, error-line-height, error-icon-gap, error-icon-size, error-fill, error-line, error-line-width, control-height, control-radius, control-fill, control-fill-hover, control-focus-ring-color, control-focus-ring-width, control-padding-x, control-font-size, control-font-weight, control-letter-spacing, control-placeholder-color, control-tall-min-height, control-tall-max-height, control-tall-padding-y, label-font-size, label-text-transform, label-letter-spacing, label-color.",
741
776
  "additionalProperties": {
742
777
  "$ref": "#/$defs/componentTokenBinding"
743
778
  }
@@ -786,7 +821,7 @@
786
821
  },
787
822
  "toggle-group": {
788
823
  "type": "object",
789
- "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.",
824
+ "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, description line, check box and round mark. 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-text, option-font-size, option-font-weight, option-description-text, option-description-font-size, 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.",
790
825
  "additionalProperties": {
791
826
  "$ref": "#/$defs/componentTokenBinding"
792
827
  }