@vectoriox/iox-ui 5.195.0 → 5.197.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.
Files changed (52) hide show
  1. package/composite-core/index.d.ts +15 -2
  2. package/data-core/index.d.ts +101 -2
  3. package/design-core/index.d.ts +374 -8
  4. package/fesm2022/vectoriox-iox-ui-composite-core.mjs +41 -12
  5. package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
  6. package/fesm2022/vectoriox-iox-ui-data-core.mjs +192 -2
  7. package/fesm2022/vectoriox-iox-ui-data-core.mjs.map +1 -1
  8. package/fesm2022/vectoriox-iox-ui-design-core.mjs +749 -264
  9. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  10. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +1084 -630
  11. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  12. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +224 -3
  13. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  14. package/fesm2022/vectoriox-iox-ui-identity-core.mjs +11 -5
  15. package/fesm2022/vectoriox-iox-ui-identity-core.mjs.map +1 -1
  16. package/fesm2022/vectoriox-iox-ui.mjs +100 -17
  17. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  18. package/generation-core/index.d.ts +351 -109
  19. package/harness-core/index.d.ts +166 -4
  20. package/identity-core/index.d.ts +8 -1
  21. package/index.d.ts +23 -2
  22. package/package.json +1 -1
  23. package/src/composite-core/account-runtime.ts +2 -2
  24. package/src/composite-core/header.ts +23 -1
  25. package/src/composite-core/slider-runtime.ts +16 -8
  26. package/src/data-core/placeholder-rows.ts +220 -0
  27. package/src/data-core/public-api.ts +2 -1
  28. package/src/design-core/contrast-audit.ts +38 -0
  29. package/src/design-core/flavor-spec.generated.ts +275 -1
  30. package/src/design-core/header-behaviour.ts +180 -3
  31. package/src/design-core/node-classes.ts +9 -2
  32. package/src/design-core/node-links.ts +34 -0
  33. package/src/generation-core/audit-site.ts +10 -1
  34. package/src/generation-core/audit-words.ts +5 -0
  35. package/src/generation-core/check-free.ts +21 -3
  36. package/src/generation-core/compose-site.ts +57 -17
  37. package/src/generation-core/free-opening.ts +57 -0
  38. package/src/generation-core/header-mix.ts +245 -12
  39. package/src/generation-core/item-fill.ts +42 -0
  40. package/src/generation-core/nav-shape.ts +45 -16
  41. package/src/generation-core/node-baselines.generated.ts +1 -0
  42. package/src/generation-core/opening-mix.ts +10 -0
  43. package/src/generation-core/public-api.ts +2 -0
  44. package/src/generation-core/site-build-run.ts +4 -0
  45. package/src/generation-core/site-spec.generated.ts +41 -9
  46. package/src/generation-core/stock-search.ts +106 -18
  47. package/src/generation-core/type-led.ts +19 -4
  48. package/src/harness-core/business-types.ts +11 -0
  49. package/src/harness-core/harness-spec.generated.ts +213 -0
  50. package/src/harness-core/run-compose-context.ts +12 -4
  51. package/src/identity-core/site-auth-transport.ts +11 -4
  52. package/styles/iox-design.css +149 -6
@@ -0,0 +1,220 @@
1
+ import { resolveRepeaterItems } from './data-source-resolver';
2
+
3
+ /**
4
+ * Ghost cards (vectoriox/iox-ui#178, Doron 2026-11-28; board `architecture/ai/boards/ghost-cards.board.html`).
5
+ *
6
+ * A generated site keeps its sample items: every page, section and list stays, so the owner sees where things go.
7
+ * A sample the build could not name (it is still "Product 2") is a PLACEHOLDER ROW. The builder canvas and Preview draw
8
+ * it as a ghost card that asks the owner to add the first item. The live site never shows it. This file is the ONE
9
+ * reading of both, so the builder and the SSR engine agree:
10
+ *
11
+ * - `isNumberedPlaceholderTitle` — words and then a number (G-D1). The Publishable gate reads it as well.
12
+ * - `isPlaceholderRow(row, titleField)` — a row marked `isSample` whose title is such a placeholder.
13
+ * - `listTitleField(list)` — the field a list's card shows as its title.
14
+ * - `planPlaceholderHides(roots, resolved)` — what the live engine leaves out (G-D3): placeholder rows are dropped,
15
+ * a list with no live row is not drawn, and its top-level section hides when only its frame is left (heading,
16
+ * eyebrow, lead text, buttons). Pages and their nav links stay (G-D4).
17
+ *
18
+ * Pure and framework-free: no transport, no Angular.
19
+ */
20
+
21
+ /** The stored field that marks a seeded sample item (iox-cms `SAMPLE_FIELD`). */
22
+ export const SAMPLE_ROW_FIELD = 'isSample';
23
+
24
+ /** The fields a row's title is read from when its list names none (a hand-built list, a slider without a title part). */
25
+ export const PLACEHOLDER_TITLE_FALLBACK_FIELDS: readonly string[] = ['title', 'name', 'label'];
26
+
27
+ /**
28
+ * A title that is a numbered placeholder: words and then the item's number ("Product 2", "Room 2", "שם מעצבת השיער 1",
29
+ * "Sample name 3"). Read only on rows marked `isSample`, so a real item called "Studio 54" is never one.
30
+ */
31
+ export function isNumberedPlaceholderTitle(title: string | null | undefined): boolean {
32
+ return typeof title === 'string' && /^\D*\S\s+\d{1,3}$/u.test(title.trim());
33
+ }
34
+
35
+ /** The value at a dotted path of a row (`title`, `details.name`). */
36
+ function fieldOf(row: Record<string, unknown>, path: string): unknown {
37
+ let at: unknown = row;
38
+ for (const key of path.split('.').filter(Boolean)) {
39
+ if (at == null || typeof at !== 'object') return undefined;
40
+ at = (at as Record<string, unknown>)[key];
41
+ }
42
+ return at;
43
+ }
44
+
45
+ /**
46
+ * True when a row is a sample still titled "<words> <n>" — the builder draws a ghost card for it, the live site leaves it
47
+ * out. `titleField` is the list's title field (`listTitleField`); without one the row's `title` / `name` / `label` is
48
+ * read. A row with no title to read is never a placeholder: when in doubt, show it.
49
+ */
50
+ export function isPlaceholderRow(row: unknown, titleField?: string | null): boolean {
51
+ if (!row || typeof row !== 'object' || Array.isArray(row)) return false;
52
+ const r = row as Record<string, unknown>;
53
+ if (r[SAMPLE_ROW_FIELD] !== true) return false;
54
+ const field = titleField || PLACEHOLDER_TITLE_FALLBACK_FIELDS.find(f => typeof r[f] === 'string');
55
+ if (!field) return false;
56
+ const title = fieldOf(r, field);
57
+ return typeof title === 'string' && isNumberedPlaceholderTitle(title);
58
+ }
59
+
60
+ /** The node fields the plan reads — a saved layout node (builder serializer shape) or a live ComponentNode. */
61
+ export interface PlaceholderPlanNode {
62
+ id?: string;
63
+ type?: string;
64
+ role?: string;
65
+ props?: Record<string, unknown> | null;
66
+ bindings?: ReadonlyArray<{ prop?: string; source?: string; path?: string } | null | undefined> | null;
67
+ children?: ReadonlyArray<PlaceholderPlanNode | null | undefined> | null;
68
+ }
69
+
70
+ /** The node types that repeat a source's rows: a Repeater, and a slider whose slides repeat. */
71
+ export const LIST_NODE_TYPES: ReadonlySet<string> = new Set(['Repeater', 'SliderContainer']);
72
+
73
+ /**
74
+ * The data source whose ITEMS a node repeats — a Repeater's or slider's `source` binding with no path (or a slider's
75
+ * `props.source`) — else `null`. A list over an array inside one item (`project.gallery`) is not a list of items.
76
+ */
77
+ export function listSourceOf(node: PlaceholderPlanNode | null | undefined): string | null {
78
+ if (!node || !LIST_NODE_TYPES.has(node.type ?? '')) return null;
79
+ const bound = (node.bindings ?? []).find(b => b?.prop === 'source' && !!b.source);
80
+ if (bound) return bound.path ? null : bound.source!;
81
+ const prop = node.props?.['source'];
82
+ return typeof prop === 'string' && prop ? prop : null;
83
+ }
84
+
85
+ /** Depth-first walk of a node's descendants (not the node itself), stopping below `skip`. */
86
+ function descendants(node: PlaceholderPlanNode, skip?: (n: PlaceholderPlanNode) => boolean): PlaceholderPlanNode[] {
87
+ const out: PlaceholderPlanNode[] = [];
88
+ const walk = (n: PlaceholderPlanNode): void => {
89
+ for (const c of n.children ?? []) {
90
+ if (!c) continue;
91
+ out.push(c);
92
+ if (!skip?.(c)) walk(c);
93
+ }
94
+ };
95
+ walk(node);
96
+ return out;
97
+ }
98
+
99
+ /** The path a node's `content` binding reads from its list's rows, or '' when it has none. */
100
+ function contentPath(node: PlaceholderPlanNode, source: string): string {
101
+ const b = (node.bindings ?? []).find(x => x?.prop === 'content' && x.source === source && !!x.path);
102
+ return b?.path ?? '';
103
+ }
104
+
105
+ /**
106
+ * The row field a list shows as its title: the bound text of its card's title part (a role ending in `title`, e.g.
107
+ * `card.title`), else of its first bound Heading, else `null` (then `isPlaceholderRow` falls back to title/name/label).
108
+ * Nested lists are not looked into.
109
+ */
110
+ export function listTitleField(list: PlaceholderPlanNode | null | undefined): string | null {
111
+ const source = listSourceOf(list);
112
+ if (!list || !source) return null;
113
+ const inside = descendants(list, n => LIST_NODE_TYPES.has(n.type ?? ''));
114
+ const titled = inside.find(n => /(^|\.)title$/.test(n.role ?? '') && contentPath(n, source));
115
+ if (titled) return contentPath(titled, source);
116
+ const heading = inside.find(n => n.type === 'Heading' && contentPath(n, source));
117
+ return heading ? contentPath(heading, source) : null;
118
+ }
119
+
120
+ /**
121
+ * The node types that are only a list section's FRAME (G-D3): its heading, eyebrow, lead text, buttons, links, icons
122
+ * and the boxes around them. A section left with only these hides with its list. Anything else (a picture, a video, a
123
+ * form, a gallery, a static list, a slider that is not bound) is content of its own and keeps the section.
124
+ */
125
+ export const LIST_FRAME_TYPES: ReadonlySet<string> = new Set([
126
+ 'Section', 'Container', 'LinkedContainer', 'Card', 'Heading', 'Text', 'Button', 'ButtonBlock', 'Link', 'Icon',
127
+ 'Divider', 'Spacer', 'Dialog', 'Popover',
128
+ ]);
129
+
130
+ /** The words a list section's frame holds at most outside its list: an eyebrow and a lead line. A third Text is words
131
+ * of the section's own (board B), so it stays. */
132
+ export const LIST_FRAME_MAX_TEXTS = 2;
133
+
134
+ /** What the live engine leaves out of a page so a visitor never meets a placeholder (G-D3). */
135
+ export interface PlaceholderHidePlan {
136
+ /** Per list source alias: its rows without the placeholder rows. Only the aliases that lost a row are listed. */
137
+ rows: Record<string, unknown[]>;
138
+ /** Ids of the nodes not to draw: lists with no live row, and the top-level sections left with only their frame. */
139
+ hidden: Set<string>;
140
+ }
141
+
142
+ /**
143
+ * The ONE live rule (G-D3), shared by the SSR engine's renderers:
144
+ *
145
+ * 1. a list's placeholder rows are dropped (`rows`) — a mixed list shows only the owner's real items;
146
+ * 2. a list whose source resolved to no live row is not drawn (`hidden`);
147
+ * 3. the top-level root holding it hides too when everything else in it is frame (`LIST_FRAME_TYPES`, at most
148
+ * `LIST_FRAME_MAX_TEXTS` Texts) and no other list in it still has a live row.
149
+ *
150
+ * A source the engine did not resolve (`!(alias in resolved)`) is not judged — nothing is hidden on a guess. A page
151
+ * whose every section hid still renders with its header and footer, and its nav links stay (G-D4).
152
+ */
153
+ export function planPlaceholderHides(
154
+ roots: ReadonlyArray<PlaceholderPlanNode | null | undefined> | null | undefined,
155
+ resolved: Readonly<Record<string, unknown>> | null | undefined,
156
+ ): PlaceholderHidePlan {
157
+ const rows: Record<string, unknown[]> = {};
158
+ const hidden = new Set<string>();
159
+ const data = resolved ?? {};
160
+
161
+ /** Live rows of a list, or `null` when its source is not resolved (never judged). */
162
+ const liveRows = (list: PlaceholderPlanNode, source: string): unknown[] | null => {
163
+ if (!(source in data)) return null;
164
+ const all = resolveRepeaterItems(data[source]);
165
+ const title = listTitleField(list);
166
+ const live = all.filter(r => !isPlaceholderRow(r, title));
167
+ if (live.length !== all.length && Array.isArray(data[source])) rows[source] = live;
168
+ return live;
169
+ };
170
+
171
+ for (const root of roots ?? []) {
172
+ if (!root) continue;
173
+ const nodes = [root, ...descendants(root)];
174
+ const lists = nodes.filter(n => !!listSourceOf(n));
175
+ if (!lists.length) continue;
176
+
177
+ const emptyLists = lists.filter(l => liveRows(l, listSourceOf(l)!)?.length === 0);
178
+ for (const l of emptyLists) if (l.id) hidden.add(l.id);
179
+ if (!emptyLists.length || emptyLists.length !== lists.length) continue;
180
+
181
+ // Every list in this root is empty: the root hides unless something outside the lists is content of its own.
182
+ const outsideLists = [root, ...descendants(root, n => !!listSourceOf(n))].filter(n => !listSourceOf(n));
183
+ const onlyFrame = outsideLists.every(n => LIST_FRAME_TYPES.has(n.type ?? ''))
184
+ && outsideLists.filter(n => n.type === 'Text').length <= LIST_FRAME_MAX_TEXTS;
185
+ if (onlyFrame && root.id) hidden.add(root.id);
186
+ }
187
+ return { rows, hidden };
188
+ }
189
+
190
+ /** A page as the live engine draws it once the placeholder rule ran: the roots without the hidden nodes, and the data
191
+ * with each list's placeholder rows dropped. */
192
+ export interface PlaceholderHidden<N> {
193
+ roots: N[];
194
+ resolved: Record<string, unknown>;
195
+ }
196
+
197
+ /**
198
+ * `planPlaceholderHides` applied — what the SSR engine hands BOTH its renderers (the string renderer and the component
199
+ * tree), so they never disagree: the hidden nodes pruned out of the tree (a copy only where something was pruned; the
200
+ * input is never mutated) and the list sources replaced by their live rows.
201
+ */
202
+ export function applyPlaceholderHides<N extends PlaceholderPlanNode>(
203
+ roots: ReadonlyArray<N> | null | undefined,
204
+ resolved: Readonly<Record<string, unknown>> | null | undefined,
205
+ ): PlaceholderHidden<N> {
206
+ const plan = planPlaceholderHides(roots, resolved);
207
+ const data = { ...(resolved ?? {}), ...plan.rows };
208
+ if (!plan.hidden.size) return { roots: [...(roots ?? [])], resolved: data };
209
+ const prune = (nodes: ReadonlyArray<N | null | undefined>): N[] => {
210
+ const out: N[] = [];
211
+ for (const n of nodes) {
212
+ if (!n || (n.id && plan.hidden.has(n.id))) continue;
213
+ const kids = n.children as ReadonlyArray<N | null | undefined> | null | undefined;
214
+ const pruned = kids?.length ? prune(kids) : null;
215
+ out.push(pruned && pruned.length !== kids!.length ? { ...n, children: pruned } : n);
216
+ }
217
+ return out;
218
+ };
219
+ return { roots: prune(roots ?? []), resolved: data };
220
+ }
@@ -2,7 +2,7 @@
2
2
  * @vectoriox/iox-ui/data-core — the shared, FRAMEWORK-FREE data-source core (data-source-resolving.md): the ONE
3
3
  * decision of how a data source becomes a fetch (`planDataSource`), the route-param matcher, the derived /
4
4
  * relative (`$siblings`, `$related`) resolvers, the repeater item reader, and which sources a node tree
5
- * references (`referencedDataSourcesDeep`), and which saved page is the studio's home (`homePageOf`, #116). The builder and the SSR engine resolve with it; iox-cms reads it
5
+ * references (`referencedDataSourcesDeep`), and which saved page is the studio's home (`homePageOf`, #116), and which rows are placeholder samples the live site leaves out (`planPlaceholderHides`, #178). The builder and the SSR engine resolve with it; iox-cms reads it
6
6
  * under plain Node (W2's Undo: is a data source still in use). Pure: no transport, no Angular. The main
7
7
  * entry re-exports it by package path, so `@vectoriox/iox-ui` keeps working.
8
8
  * ⚠️ Consumers wire the usual trio — ng-package raw-ts assets, jest moduleNameMapper, tsconfig paths —
@@ -11,3 +11,4 @@
11
11
  export * from './data-source-resolver';
12
12
  export * from './relative-sources';
13
13
  export * from './home-page';
14
+ export * from './placeholder-rows';
@@ -381,3 +381,41 @@ export function colourTabChecks(rows: ReadonlyArray<DesignTokenLike>, mode: Reso
381
381
  }
382
382
  return out;
383
383
  }
384
+
385
+ // ── Floating grounds (HI3 slice 1, R-H16, vectoriox/iox-ui#173) ──────────────────────────────────────────────────────
386
+
387
+ interface FloatingGround { readonly ground: string; readonly ink: string; }
388
+ /** The translucent grounds that carry words over ANYTHING (the header's bar and glass while the page moves under them, the
389
+ * bottom bar, a dialog, a popover, the strong glass) — the contract's table (`contrastAudit.floatingGrounds`). */
390
+ const FLOATING_GROUNDS: ReadonlyArray<FloatingGround> =
391
+ (SPEC_CONTRAST_AUDIT as unknown as { floatingGrounds?: ReadonlyArray<FloatingGround> }).floatingGrounds ?? [];
392
+ const BLACK: Rgba = { r: 0, g: 0, b: 0, a: 1 };
393
+ /** The two backdrops that bound every picture: each channel of a blend is monotone in its backdrop's. */
394
+ export const FLOATING_BACKDROPS: Readonly<Record<string, Rgba>> = Object.freeze({ black: BLACK, white: WHITE });
395
+
396
+ /**
397
+ * HI3 slice 1 (R-H16): each translucent ground's words over pure black AND pure white, in the page's own scheme (the one a
398
+ * header on a ground and a top-layer dialog wear), in one mode — nothing a blur can lay under the bar is darker or
399
+ * lighter, so a ground that holds AA over both holds it over any picture (iox-ui#173: the Glass look's bar dropped to
400
+ * 3.55:1 over a light picture in dark mode). An opaque ground is not judged here (the DS9 audit judges it where it stands).
401
+ * The contract's gate, 1:1 (build-spec `floatingGroundFailures`).
402
+ */
403
+ export function floatingGroundFindings(rows: ReadonlyArray<DesignTokenLike>, mode: ResolvedMode): ContrastFinding[] {
404
+ const values = schemeTokenResolver(rows, mode)(DEFAULT_SCHEME);
405
+ const out: ContrastFinding[] = [];
406
+ for (const { ground, ink } of FLOATING_GROUNDS) {
407
+ const fg = parseCssColour(values[ink]);
408
+ const bg = parseCssColour(values[ground], fg);
409
+ if (!fg || !bg || bg.a >= 1) continue;
410
+ const fgHex = toHexColor(quantizeRgb(fg));
411
+ for (const [name, under] of Object.entries(FLOATING_BACKDROPS)) {
412
+ const shown = quantizeRgb(compositeOver(bg, under));
413
+ const ratio = wcagContrastRatio(fgHex, shown);
414
+ out.push({
415
+ scheme: DEFAULT_SCHEME, container: `over ${name}`, element: ground, part: ink, fg: fgHex, bg: toHexColor(shown),
416
+ ratio: Math.round(ratio * 100) / 100, min: WCAG_AA_TEXT, pass: ratio >= WCAG_AA_TEXT - 1e-9,
417
+ });
418
+ }
419
+ }
420
+ return out;
421
+ }
@@ -910,6 +910,31 @@ export const SPEC_TIERS = {
910
910
  "type": "spacing",
911
911
  "default": "16px var(--iox-space-inline)"
912
912
  },
913
+ {
914
+ "name": "nav-glass-bg",
915
+ "type": "color",
916
+ "default": "color-mix(in srgb, var(--iox-bg) 90%, transparent)"
917
+ },
918
+ {
919
+ "name": "nav-glass-backdrop",
920
+ "type": "effect",
921
+ "default": "blur(12px) saturate(140%)"
922
+ },
923
+ {
924
+ "name": "nav-glass-border",
925
+ "type": "color",
926
+ "default": "var(--iox-line)"
927
+ },
928
+ {
929
+ "name": "nav-glass-shadow",
930
+ "type": "shadow",
931
+ "default": "none"
932
+ },
933
+ {
934
+ "name": "nav-over-veil",
935
+ "type": "paint",
936
+ "default": "linear-gradient(to bottom, color-mix(in srgb, var(--iox-bg) 32%, transparent), transparent)"
937
+ },
913
938
  {
914
939
  "name": "field-bg",
915
940
  "type": "color",
@@ -4151,9 +4176,11 @@ export const SPEC_A11Y = {
4151
4176
  "surface-glass": "var(--iox-surface)",
4152
4177
  "surface-glass-strong": "var(--iox-surface)",
4153
4178
  "blur-surface": "none",
4179
+ "nav-glass-bg": "var(--iox-bg)",
4154
4180
  "button-secondary-backdrop": "none",
4155
4181
  "card-backdrop": "none",
4156
4182
  "nav-backdrop": "none",
4183
+ "nav-glass-backdrop": "none",
4157
4184
  "dialog-backdrop": "none",
4158
4185
  "tabbar-backdrop": "none",
4159
4186
  "segmented-track-backdrop": "none"
@@ -6188,6 +6215,28 @@ export const SPEC_CONTRAST_AUDIT = {
6188
6215
  "scheme": "inverse",
6189
6216
  "image": "#FFFFFF"
6190
6217
  }
6218
+ ],
6219
+ "floatingGrounds": [
6220
+ {
6221
+ "ground": "nav-bg",
6222
+ "ink": "text"
6223
+ },
6224
+ {
6225
+ "ground": "nav-glass-bg",
6226
+ "ink": "text"
6227
+ },
6228
+ {
6229
+ "ground": "dialog-bg",
6230
+ "ink": "text"
6231
+ },
6232
+ {
6233
+ "ground": "popover-bg",
6234
+ "ink": "text"
6235
+ },
6236
+ {
6237
+ "ground": "surface-glass-strong",
6238
+ "ink": "text"
6239
+ }
6191
6240
  ]
6192
6241
  } as const;
6193
6242
 
@@ -7517,6 +7566,41 @@ export const SPEC_FLAVOR_PACKS = [
7517
7566
  "group": "components",
7518
7567
  "value": "16px var(--iox-space-inline)"
7519
7568
  },
7569
+ {
7570
+ "name": "nav-glass-bg",
7571
+ "tier": "component",
7572
+ "type": "color",
7573
+ "group": "components",
7574
+ "value": "color-mix(in srgb, var(--iox-bg) 90%, transparent)"
7575
+ },
7576
+ {
7577
+ "name": "nav-glass-backdrop",
7578
+ "tier": "component",
7579
+ "type": "effect",
7580
+ "group": "components",
7581
+ "value": "blur(12px) saturate(140%)"
7582
+ },
7583
+ {
7584
+ "name": "nav-glass-border",
7585
+ "tier": "component",
7586
+ "type": "color",
7587
+ "group": "components",
7588
+ "value": "var(--iox-line)"
7589
+ },
7590
+ {
7591
+ "name": "nav-glass-shadow",
7592
+ "tier": "component",
7593
+ "type": "shadow",
7594
+ "group": "components",
7595
+ "value": "none"
7596
+ },
7597
+ {
7598
+ "name": "nav-over-veil",
7599
+ "tier": "component",
7600
+ "type": "paint",
7601
+ "group": "components",
7602
+ "value": "linear-gradient(to bottom, color-mix(in srgb, var(--iox-bg) 32%, transparent), transparent)"
7603
+ },
7520
7604
  {
7521
7605
  "name": "field-bg",
7522
7606
  "tier": "component",
@@ -9976,6 +10060,44 @@ export const SPEC_FLAVOR_PACKS = [
9976
10060
  "group": "components",
9977
10061
  "value": "16px var(--iox-space-inline)"
9978
10062
  },
10063
+ {
10064
+ "name": "nav-glass-bg",
10065
+ "tier": "component",
10066
+ "type": "color",
10067
+ "group": "components",
10068
+ "value": "color-mix(in srgb, var(--iox-bg) 90%, transparent)"
10069
+ },
10070
+ {
10071
+ "name": "nav-glass-backdrop",
10072
+ "tier": "component",
10073
+ "type": "effect",
10074
+ "group": "components",
10075
+ "value": "blur(20px) saturate(135%)",
10076
+ "overridden": true
10077
+ },
10078
+ {
10079
+ "name": "nav-glass-border",
10080
+ "tier": "component",
10081
+ "type": "color",
10082
+ "group": "components",
10083
+ "value": "color-mix(in srgb, var(--iox-text) 10%, transparent)",
10084
+ "overridden": true
10085
+ },
10086
+ {
10087
+ "name": "nav-glass-shadow",
10088
+ "tier": "component",
10089
+ "type": "shadow",
10090
+ "group": "components",
10091
+ "value": "0 10px 30px color-mix(in srgb, var(--iox-text) 7%, transparent)",
10092
+ "overridden": true
10093
+ },
10094
+ {
10095
+ "name": "nav-over-veil",
10096
+ "tier": "component",
10097
+ "type": "paint",
10098
+ "group": "components",
10099
+ "value": "linear-gradient(to bottom, color-mix(in srgb, var(--iox-bg) 32%, transparent), transparent)"
10100
+ },
9979
10101
  {
9980
10102
  "name": "field-bg",
9981
10103
  "tier": "component",
@@ -12447,6 +12569,42 @@ export const SPEC_FLAVOR_PACKS = [
12447
12569
  "group": "components",
12448
12570
  "value": "16px var(--iox-space-inline)"
12449
12571
  },
12572
+ {
12573
+ "name": "nav-glass-bg",
12574
+ "tier": "component",
12575
+ "type": "color",
12576
+ "group": "components",
12577
+ "value": "color-mix(in srgb, var(--iox-bg) 72%, transparent)",
12578
+ "overridden": true
12579
+ },
12580
+ {
12581
+ "name": "nav-glass-backdrop",
12582
+ "tier": "component",
12583
+ "type": "effect",
12584
+ "group": "components",
12585
+ "value": "blur(12px) saturate(140%)"
12586
+ },
12587
+ {
12588
+ "name": "nav-glass-border",
12589
+ "tier": "component",
12590
+ "type": "color",
12591
+ "group": "components",
12592
+ "value": "var(--iox-line)"
12593
+ },
12594
+ {
12595
+ "name": "nav-glass-shadow",
12596
+ "tier": "component",
12597
+ "type": "shadow",
12598
+ "group": "components",
12599
+ "value": "none"
12600
+ },
12601
+ {
12602
+ "name": "nav-over-veil",
12603
+ "tier": "component",
12604
+ "type": "paint",
12605
+ "group": "components",
12606
+ "value": "linear-gradient(to bottom, color-mix(in srgb, var(--iox-bg) 32%, transparent), transparent)"
12607
+ },
12450
12608
  {
12451
12609
  "name": "field-bg",
12452
12610
  "tier": "component",
@@ -14883,7 +15041,7 @@ export const SPEC_FLAVOR_PACKS = [
14883
15041
  "tier": "component",
14884
15042
  "type": "color",
14885
15043
  "group": "components",
14886
- "value": "var(--iox-surface-glass)",
15044
+ "value": "var(--iox-surface-glass-strong)",
14887
15045
  "overridden": true
14888
15046
  },
14889
15047
  {
@@ -14934,6 +15092,45 @@ export const SPEC_FLAVOR_PACKS = [
14934
15092
  "value": "10px var(--iox-space-inline)",
14935
15093
  "overridden": true
14936
15094
  },
15095
+ {
15096
+ "name": "nav-glass-bg",
15097
+ "tier": "component",
15098
+ "type": "color",
15099
+ "group": "components",
15100
+ "value": "var(--iox-surface-glass-strong)",
15101
+ "overridden": true
15102
+ },
15103
+ {
15104
+ "name": "nav-glass-backdrop",
15105
+ "tier": "component",
15106
+ "type": "effect",
15107
+ "group": "components",
15108
+ "value": "var(--iox-blur-surface)",
15109
+ "overridden": true
15110
+ },
15111
+ {
15112
+ "name": "nav-glass-border",
15113
+ "tier": "component",
15114
+ "type": "color",
15115
+ "group": "components",
15116
+ "value": "var(--iox-glass-border)",
15117
+ "overridden": true
15118
+ },
15119
+ {
15120
+ "name": "nav-glass-shadow",
15121
+ "tier": "component",
15122
+ "type": "shadow",
15123
+ "group": "components",
15124
+ "value": "var(--iox-shadow-md), var(--iox-glass-edge)",
15125
+ "overridden": true
15126
+ },
15127
+ {
15128
+ "name": "nav-over-veil",
15129
+ "tier": "component",
15130
+ "type": "paint",
15131
+ "group": "components",
15132
+ "value": "linear-gradient(to bottom, color-mix(in srgb, var(--iox-bg) 32%, transparent), transparent)"
15133
+ },
14937
15134
  {
14938
15135
  "name": "field-bg",
14939
15136
  "tier": "component",
@@ -17411,6 +17608,44 @@ export const SPEC_FLAVOR_PACKS = [
17411
17608
  "group": "components",
17412
17609
  "value": "16px var(--iox-space-inline)"
17413
17610
  },
17611
+ {
17612
+ "name": "nav-glass-bg",
17613
+ "tier": "component",
17614
+ "type": "color",
17615
+ "group": "components",
17616
+ "value": "color-mix(in srgb, var(--iox-bg) 88%, transparent)",
17617
+ "overridden": true
17618
+ },
17619
+ {
17620
+ "name": "nav-glass-backdrop",
17621
+ "tier": "component",
17622
+ "type": "effect",
17623
+ "group": "components",
17624
+ "value": "blur(16px) saturate(150%)",
17625
+ "overridden": true
17626
+ },
17627
+ {
17628
+ "name": "nav-glass-border",
17629
+ "tier": "component",
17630
+ "type": "color",
17631
+ "group": "components",
17632
+ "value": "transparent",
17633
+ "overridden": true
17634
+ },
17635
+ {
17636
+ "name": "nav-glass-shadow",
17637
+ "tier": "component",
17638
+ "type": "shadow",
17639
+ "group": "components",
17640
+ "value": "none"
17641
+ },
17642
+ {
17643
+ "name": "nav-over-veil",
17644
+ "tier": "component",
17645
+ "type": "paint",
17646
+ "group": "components",
17647
+ "value": "linear-gradient(to bottom, color-mix(in srgb, var(--iox-bg) 32%, transparent), transparent)"
17648
+ },
17414
17649
  {
17415
17650
  "name": "field-bg",
17416
17651
  "tier": "component",
@@ -19876,6 +20111,45 @@ export const SPEC_FLAVOR_PACKS = [
19876
20111
  "group": "components",
19877
20112
  "value": "16px var(--iox-space-inline)"
19878
20113
  },
20114
+ {
20115
+ "name": "nav-glass-bg",
20116
+ "tier": "component",
20117
+ "type": "color",
20118
+ "group": "components",
20119
+ "value": "var(--iox-nav-bg)",
20120
+ "overridden": true
20121
+ },
20122
+ {
20123
+ "name": "nav-glass-backdrop",
20124
+ "tier": "component",
20125
+ "type": "effect",
20126
+ "group": "components",
20127
+ "value": "none",
20128
+ "overridden": true
20129
+ },
20130
+ {
20131
+ "name": "nav-glass-border",
20132
+ "tier": "component",
20133
+ "type": "color",
20134
+ "group": "components",
20135
+ "value": "var(--iox-nav-border)",
20136
+ "overridden": true
20137
+ },
20138
+ {
20139
+ "name": "nav-glass-shadow",
20140
+ "tier": "component",
20141
+ "type": "shadow",
20142
+ "group": "components",
20143
+ "value": "var(--iox-nav-shadow)",
20144
+ "overridden": true
20145
+ },
20146
+ {
20147
+ "name": "nav-over-veil",
20148
+ "tier": "component",
20149
+ "type": "paint",
20150
+ "group": "components",
20151
+ "value": "linear-gradient(to bottom, color-mix(in srgb, var(--iox-bg) 32%, transparent), transparent)"
20152
+ },
19879
20153
  {
19880
20154
  "name": "field-bg",
19881
20155
  "tier": "component",