@g9tm/lynxcontrols 2.5.3 → 2.5.5

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 (132) hide show
  1. package/catalog/cards/G9AppShell.md +1 -1
  2. package/catalog/cards/G9Badge.md +1 -1
  3. package/catalog/cards/G9DirectionScope.md +10 -0
  4. package/catalog/cards/G9IconButton.md +1 -1
  5. package/catalog/cards/G9NumPad.md +5 -1
  6. package/catalog/cards/G9Photo.md +1 -1
  7. package/catalog/cards/G9PinEntry.md +2 -2
  8. package/catalog/cards/G9ProgressBar.md +1 -1
  9. package/catalog/cards/G9SafeIconButton.md +1 -1
  10. package/catalog/cards/G9ScrollSpyBar.md +1 -1
  11. package/catalog/cards/G9StatusPill.md +1 -1
  12. package/catalog/cards/G9Stepper.md +3 -3
  13. package/catalog/cards/G9Tag.md +1 -1
  14. package/catalog/catalog.json +793 -59
  15. package/catalog/index.md +3 -2
  16. package/dist/.tsbuildinfo +1 -1
  17. package/dist/anchor/context.d.ts +5 -0
  18. package/dist/anchor/context.d.ts.map +1 -1
  19. package/dist/anchor/context.jsx +2 -1
  20. package/dist/anchor/hooks.d.ts.map +1 -1
  21. package/dist/anchor/hooks.jsx +6 -1
  22. package/dist/anchor/index.d.ts +1 -1
  23. package/dist/anchor/index.d.ts.map +1 -1
  24. package/dist/anchor/index.jsx +1 -1
  25. package/dist/anchor/registry.d.ts +5 -0
  26. package/dist/anchor/registry.d.ts.map +1 -1
  27. package/dist/base/node-ref.d.ts +8 -0
  28. package/dist/base/node-ref.d.ts.map +1 -0
  29. package/dist/base/node-ref.jsx +11 -0
  30. package/dist/base/pressable.d.ts +5 -0
  31. package/dist/base/pressable.d.ts.map +1 -1
  32. package/dist/base/pressable.jsx +4 -1
  33. package/dist/base/sizing.d.ts +4 -0
  34. package/dist/base/sizing.d.ts.map +1 -0
  35. package/dist/base/sizing.jsx +6 -0
  36. package/dist/button/button.d.ts +6 -0
  37. package/dist/button/button.d.ts.map +1 -1
  38. package/dist/button/button.jsx +14 -3
  39. package/dist/button/icon-button.d.ts +14 -0
  40. package/dist/button/icon-button.d.ts.map +1 -1
  41. package/dist/button/icon-button.jsx +21 -7
  42. package/dist/display/display.css +1 -1
  43. package/dist/display/display.css.map +1 -1
  44. package/dist/display/figures.d.ts.map +1 -1
  45. package/dist/display/figures.jsx +7 -2
  46. package/dist/display/motion-figures.d.ts +7 -0
  47. package/dist/display/motion-figures.d.ts.map +1 -1
  48. package/dist/display/motion-figures.jsx +14 -5
  49. package/dist/display/progress-bar.d.ts +11 -1
  50. package/dist/display/progress-bar.d.ts.map +1 -1
  51. package/dist/display/progress-bar.jsx +18 -4
  52. package/dist/display/shimmer.jsx +1 -1
  53. package/dist/fields/extra-entries.css +13 -0
  54. package/dist/fields/extra-entries.css.map +1 -1
  55. package/dist/fields/extra-entries.d.ts +25 -3
  56. package/dist/fields/extra-entries.d.ts.map +1 -1
  57. package/dist/fields/extra-entries.jsx +48 -9
  58. package/dist/fields/fields.css +18 -0
  59. package/dist/fields/fields.css.map +1 -1
  60. package/dist/fields/outlined-field.d.ts +15 -3
  61. package/dist/fields/outlined-field.d.ts.map +1 -1
  62. package/dist/fields/outlined-field.jsx +21 -5
  63. package/dist/fields/pin-entry.d.ts +21 -0
  64. package/dist/fields/pin-entry.d.ts.map +1 -1
  65. package/dist/fields/pin-entry.jsx +17 -8
  66. package/dist/fields/text-entry.d.ts.map +1 -1
  67. package/dist/fields/text-entry.jsx +7 -1
  68. package/dist/fields/use-text-input.d.ts +2 -0
  69. package/dist/fields/use-text-input.d.ts.map +1 -1
  70. package/dist/fields/use-text-input.jsx +3 -1
  71. package/dist/header/app-bar.d.ts.map +1 -1
  72. package/dist/header/app-bar.jsx +4 -4
  73. package/dist/host/bottom-overlays.d.ts +11 -0
  74. package/dist/host/bottom-overlays.d.ts.map +1 -0
  75. package/dist/host/bottom-overlays.jsx +18 -0
  76. package/dist/host/context.d.ts +4 -0
  77. package/dist/host/context.d.ts.map +1 -0
  78. package/dist/host/context.jsx +3 -0
  79. package/dist/host/host.d.ts +3 -3
  80. package/dist/host/host.d.ts.map +1 -1
  81. package/dist/host/host.jsx +1 -1
  82. package/dist/icon/icon.d.ts.map +1 -1
  83. package/dist/icon/icon.jsx +3 -1
  84. package/dist/layout/scroll-spy.d.ts +5 -0
  85. package/dist/layout/scroll-spy.d.ts.map +1 -1
  86. package/dist/layout/scroll-spy.jsx +14 -5
  87. package/dist/layout/scrollers.d.ts +5 -0
  88. package/dist/layout/scrollers.d.ts.map +1 -1
  89. package/dist/layout/scrollers.jsx +23 -3
  90. package/dist/provider/direction-scope.d.ts +13 -0
  91. package/dist/provider/direction-scope.d.ts.map +1 -0
  92. package/dist/provider/direction-scope.jsx +12 -0
  93. package/dist/provider/index.d.ts +1 -0
  94. package/dist/provider/index.d.ts.map +1 -1
  95. package/dist/provider/index.jsx +1 -0
  96. package/dist/provider/provider.css +1 -1
  97. package/dist/provider/provider.css.map +1 -1
  98. package/dist/range-slider/range-slider.css +14 -14
  99. package/dist/range-slider/range-slider.css.map +1 -1
  100. package/dist/range-slider/step-slider.jsx +8 -8
  101. package/dist/shell/shell.d.ts +5 -0
  102. package/dist/shell/shell.d.ts.map +1 -1
  103. package/dist/shell/shell.jsx +14 -10
  104. package/dist/survey/survey.d.ts.map +1 -1
  105. package/dist/survey/survey.jsx +15 -5
  106. package/dist/tabs/tab-view.d.ts.map +1 -1
  107. package/dist/tabs/tab-view.jsx +10 -3
  108. package/dist/toast/service.d.ts.map +1 -1
  109. package/dist/toast/service.jsx +7 -0
  110. package/dist/toggle/chip-group.d.ts.map +1 -1
  111. package/dist/toggle/chip-group.jsx +2 -1
  112. package/dist/toggle/choice.css +15 -0
  113. package/dist/toggle/choice.css.map +1 -1
  114. package/dist/toggle/choice.d.ts +13 -0
  115. package/dist/toggle/choice.d.ts.map +1 -1
  116. package/dist/toggle/choice.jsx +49 -21
  117. package/package.json +2 -2
  118. package/skills/g9-lynx-app/references/catalog-index.md +1 -1
  119. package/skills/g9-lynx-app/references/components/button.md +2 -2
  120. package/skills/g9-lynx-app/references/components/charts.md +34 -28
  121. package/skills/g9-lynx-app/references/components/commerce.md +1 -0
  122. package/skills/g9-lynx-app/references/components/display-1.md +1 -1
  123. package/skills/g9-lynx-app/references/components/display-2.md +2 -2
  124. package/skills/g9-lynx-app/references/components/display-3.md +2 -2
  125. package/skills/g9-lynx-app/references/components/fields.md +7 -3
  126. package/skills/g9-lynx-app/references/components/layout-1.md +1 -1
  127. package/skills/g9-lynx-app/references/components/provider.md +11 -0
  128. package/skills/g9-lynx-app/references/components/shell.md +1 -1
  129. package/skills/g9-lynx-app/references/components/toggle.md +3 -3
  130. package/skills/g9-lynx-app/references/localization-rtl.md +4 -0
  131. package/skills/g9-lynx-app/references/provider-and-host.md +3 -0
  132. package/skills/g9-lynx-app/references/theming.md +5 -2
@@ -8,13 +8,13 @@ Bars (SAC hourly, G9Hub admin BarChart, ShopManager Bars).
8
8
 
9
9
  Props:
10
10
  - `values`: number[]
11
+ - `hideTick?`: (tick: G9Tick, built: G9BuiltChart) => void
11
12
  - `tooltip?`: (index: number) => void
12
13
  - `yFormat?`: (v: number) => void
14
+ - `compareColor?`: color
15
+ - `below?`: (built, plotWidth) => ReactNode
16
+ - `overlay?`: (built, plotWidth, height) => ReactNode
13
17
  - `color?`: color
14
- - `everyX?`: number
15
- - `height?`: number = 180
16
- - `highlightIndex?`: number
17
- - `legend?`: object[]
18
18
 
19
19
  Example: `<G9BarChart values={values} />`
20
20
 
@@ -26,13 +26,13 @@ Candlesticks (Riskara Candles): success colour up, error colour down, the last c
26
26
 
27
27
  Props:
28
28
  - `candles`: object[]
29
+ - `hideTick?`: (tick: G9Tick, built: G9BuiltChart) => void
29
30
  - `tooltip?`: (index: number) => void
30
31
  - `yFormat?`: (v: number) => void
32
+ - `rangeHeight?`: number
33
+ - `below?`: (built, plotWidth) => ReactNode
34
+ - `overlay?`: (built, plotWidth, height) => ReactNode
31
35
  - `everyX?`: number
32
- - `height?`: number = 180
33
- - `legend?`: object[]
34
- - `width?`: number
35
- - `xLabels?`: string[]
36
36
 
37
37
  Example: `<G9CandleChart candles={candles} />`
38
38
 
@@ -45,12 +45,12 @@ A chart in its frame (SAC kit ChartBox): y labels on the end side in the reading
45
45
  Props:
46
46
  - `build`: (width: number, height: number, palette: G9PaletteValues) => void
47
47
  - `deps`: {}[]
48
+ - `hideTick?`: (tick: G9Tick, built: G9BuiltChart) => void
48
49
  - `tooltip?`: (index: number) => void
49
50
  - `yFormat?`: (v: number) => void
51
+ - `below?`: (built, plotWidth) => ReactNode
52
+ - `overlay?`: (built, plotWidth, height) => ReactNode
50
53
  - `everyX?`: number
51
- - `height?`: number = 180
52
- - `legend?`: object[]
53
- - `width?`: number
54
54
 
55
55
  Example: `<G9ChartBox build={build} deps={deps} />`
56
56
 
@@ -64,10 +64,11 @@ Props:
64
64
  - `slices`: object[]
65
65
  - `children?`: ReactNode
66
66
  - `size?`: number = 160
67
+ - `animate?`: boolean
68
+ - `gapDeg?`: number = 2
69
+ - `glow?`: string
67
70
  - `legend?`: boolean = true
68
71
  - `thickness?`: number = 18
69
- - `width?`: number
70
- - `accessibilityLabel?`: string
71
72
 
72
73
  Example: `<G9Donut slices={slices} />`
73
74
 
@@ -79,13 +80,13 @@ A forecast fan (Riskara FanBox).
79
80
 
80
81
  Props:
81
82
  - `points`: object[]
83
+ - `hideTick?`: (tick: G9Tick, built: G9BuiltChart) => void
82
84
  - `tooltip?`: (index: number) => void
83
85
  - `yFormat?`: (v: number) => void
86
+ - `below?`: (built, plotWidth) => ReactNode
87
+ - `overlay?`: (built, plotWidth, height) => ReactNode
84
88
  - `color?`: color
85
89
  - `everyX?`: number
86
- - `height?`: number = 180
87
- - `legend?`: object[]
88
- - `width?`: number
89
90
 
90
91
  Example: `<G9FanChart points={points} />`
91
92
 
@@ -99,10 +100,11 @@ Props:
99
100
  - `value`: number
100
101
  - `children?`: ReactNode
101
102
  - `size?`: number = 200
102
- - `stops?`: string[]
103
- - `thickness?`: number
104
- - `width?`: number
105
- - `accessibilityLabel?`: string
103
+ - `valueText?`: (shown: number) => void
104
+ - `endLabel?`: string
105
+ - `startLabel?`: string
106
+ - `appearance?`: 'arc' | 'ticks'
107
+ - `animate?`: boolean
106
108
 
107
109
  Example: `<G9Gauge value={1} />`
108
110
 
@@ -132,13 +134,13 @@ Lines and areas over time (SAC sales, Riskara LineBox, G9Hub insights).
132
134
 
133
135
  Props:
134
136
  - `series`: object[]
137
+ - `hideTick?`: (tick: G9Tick, built: G9BuiltChart) => void
135
138
  - `tooltip?`: (index: number) => void
136
139
  - `yFormat?`: (v: number) => void
140
+ - `below?`: (built, plotWidth) => ReactNode
141
+ - `overlay?`: (built, plotWidth, height) => ReactNode
137
142
  - `everyX?`: number
138
- - `height?`: number = 180
139
- - `legend?`: boolean
140
- - `max?`: number
141
- - `min?`: number
143
+ - `floor?`: number
142
144
 
143
145
  Example: `<G9LineChart series={series} />`
144
146
 
@@ -152,7 +154,9 @@ Props:
152
154
  - `labels`: string[]
153
155
  - `values`: number[]
154
156
  - `size?`: number = 280
157
+ - `animate?`: boolean
155
158
  - `color?`: color
159
+ - `valueLabels?`: string[]
156
160
  - `width?`: number
157
161
  - `accessibilityLabel?`: string
158
162
 
@@ -166,11 +170,13 @@ A tiny trend (SAC/Riskara/ShopManager sparklines) — for KPI tiles (`G9Kpi tren
166
170
 
167
171
  Props:
168
172
  - `values`: number[]
173
+ - `strokeWidth?`: number = 1.8
174
+ - `area?`: string | boolean | boolean
169
175
  - `color?`: color
176
+ - `endDot?`: number | boolean | boolean
170
177
  - `height?`: number = 30
171
178
  - `kind?`: 'line' | 'bars'
172
179
  - `width?`: number
173
- - `accessibilityLabel?`: string
174
180
 
175
181
  Example: `<G9Sparkline values={values} />`
176
182
 
@@ -183,11 +189,11 @@ Stacked bars with a legend of the parts (SAC channel mix by day).
183
189
  Props:
184
190
  - `parts`: string[]
185
191
  - `stacks`: number[][]
192
+ - `hideTick?`: (tick: G9Tick, built: G9BuiltChart) => void
186
193
  - `tooltip?`: (index: number) => void
187
194
  - `yFormat?`: (v: number) => void
195
+ - `below?`: (built, plotWidth) => ReactNode
196
+ - `overlay?`: (built, plotWidth, height) => ReactNode
188
197
  - `colors?`: string[]
189
- - `everyX?`: number
190
- - `height?`: number = 180
191
- - `width?`: number
192
198
 
193
199
  Example: `<G9StackedBarChart parts={parts} stacks={stacks} />`
@@ -12,6 +12,7 @@ Props:
12
12
  - `countText`: (count: string) => void
13
13
  - `onPress`: () => void
14
14
  - `total`: number
15
+ - `totalText?`: string
15
16
  - `bottomOffset?`: number
16
17
  - `currency?`: string & {} | string | string
17
18
 
@@ -40,7 +40,7 @@ A count or a dot (G9Hub Counter/Badge, tab and bell counts).
40
40
 
41
41
  Props:
42
42
  - `value?`: string | number
43
- - `appearance?`: 'outline' | 'soft' | 'solid' | 'plain' = "solid"
43
+ - `appearance?`: 'outline' | 'plain' | 'soft' | 'solid' = "solid"
44
44
  - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "error"
45
45
  - `dot?`: boolean
46
46
  - `hideZero?`: boolean = true
@@ -80,9 +80,9 @@ Props:
80
80
  - `onError?`: () => void
81
81
  - `onLoad?`: () => void
82
82
  - `placeholderIcon?`: icon = "search"
83
+ - `placeholderIconSize?`: number
83
84
  - `radius?`: number
84
85
  - `height?`: string | number
85
- - `src?`: string
86
86
 
87
87
  Example: `<G9Photo />`
88
88
 
@@ -99,8 +99,8 @@ Props:
99
99
  - `progressType?`: 'primary' | 'success' | 'warning' | 'error' = "primary"
100
100
  - `barHeight?`: number = 10
101
101
  - `cornerRadius?`: number = 999
102
+ - `flat?`: boolean
102
103
  - `progressColor?`: color
103
- - `trackColor?`: color = "var(--g9-surface-variant)"
104
104
 
105
105
  Example: `<G9ProgressBar value={0.4} labelPlacement="end" />`
106
106
 
@@ -38,7 +38,7 @@ Props:
38
38
  - `text`: string
39
39
  - `size?`: 'sm' | 'md' | 'lg'
40
40
  - `icon?`: icon
41
- - `appearance?`: 'outline' | 'soft' | 'solid' | 'plain' = "soft"
41
+ - `appearance?`: 'outline' | 'plain' | 'soft' | 'solid' = "soft"
42
42
  - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral' = "neutral"
43
43
  - `fillAlpha?`: number = 0.15
44
44
  - `bordered?`: boolean
@@ -69,7 +69,7 @@ A small label on a card or row (menu item tags, statuses that are not states): t
69
69
  Props:
70
70
  - `text`: string
71
71
  - `icon?`: icon
72
- - `appearance?`: 'outline' | 'soft' | 'solid' | 'plain'
72
+ - `appearance?`: 'outline' | 'plain' | 'soft' | 'solid'
73
73
  - `tone?`: 'primary' | 'info' | 'success' | 'warning' | 'error' | 'accent' | 'neutral'
74
74
  - `emoji?`: string
75
75
 
@@ -56,11 +56,15 @@ Example: `<G9NumberEntry />`
56
56
 
57
57
  `import { G9NumPad } from '@g9tm/lynxcontrols/fields';`
58
58
 
59
- A big numeric keypad (SAC PinPad and CodePad): works whatever the system keyboard does (an in-app browser that never opens it).
59
+ A big numeric keypad (SAC PinPad and CodePad, ShopManager's PIN screen): works whatever the system keyboard does (an in-app browser that never opens it).
60
60
 
61
61
  Props:
62
62
  - `onKey`: (key: string) => void
63
63
  - `disabled?`: boolean
64
+ - `backLabel?`: string
65
+ - `keyHeight?`: number
66
+ - `keyRadius?`: number
67
+ - `actionKey?`: object
64
68
  - `dark?`: boolean
65
69
  - `extraKey?`: string
66
70
 
@@ -97,8 +101,8 @@ Props:
97
101
  - `disabled?`: boolean
98
102
  - `type?`: 'number' | 'password' | 'letters' | 'alphanumeric' = "number"
99
103
  - `onComplete?`: (value: string) => void
100
- - `cellHeight?`: number = 52
101
- - `cellWidth?`: number = 44
104
+ - `progressLabel?`: string = "{0} / {1}"
105
+ - `appearance?`: 'dots' | 'cells'
102
106
 
103
107
  Example: `<G9PinEntry />`
104
108
 
@@ -133,7 +133,7 @@ A row of section pills that follows the page (SAC menu sections): the active one
133
133
  Props:
134
134
  - `active`: string
135
135
  - `onSelect`: (key: K) => void
136
- - `sections`: object[]
136
+ - `sections`: icon[]
137
137
 
138
138
  Example: `<G9ScrollSpyBar active="active" onSelect={() => {}} sections={sections} />`
139
139
 
@@ -12,6 +12,17 @@ Props:
12
12
 
13
13
  Example: `<G9Activity mode="visible" />`
14
14
 
15
+ # G9DirectionScope
16
+
17
+ `import { G9DirectionScope } from '@g9tm/lynxcontrols/provider';`
18
+
19
+ A view in the culture's direction (`g9-dir-rtl` / `g9-dir-ltr`), for content an app puts in a G9 row's slot when the app inherits CSS direction.
20
+
21
+ Props:
22
+ - `children?`: ReactNode
23
+
24
+ Example: `<G9DirectionScope />`
25
+
15
26
  # G9KeepAlive
16
27
 
17
28
  `import { G9KeepAlive } from '@g9tm/lynxcontrols/provider';`
@@ -12,9 +12,9 @@ Props:
12
12
  - `value`: string
13
13
  - `children?`: ReactNode
14
14
  - `moreText?`: string
15
+ - `topBarModes?`: 'side' | 'rail' | 'tabs'[] = "['side']"
15
16
  - `brand?`: ReactNode
16
17
  - `navFooter?`: ReactNode
17
- - `navSearch?`: ReactNode
18
18
 
19
19
  Example: `<G9AppShell destinations={destinations} onChange={() => {}} value="value" />`
20
20
 
@@ -120,9 +120,9 @@ Props:
120
120
  - `onChange?`: (value: number) => void
121
121
  - `disabled?`: boolean = false
122
122
  - `format?`: (value: number) => void
123
- - `block?`: boolean
124
- - `defaultValue?`: number
125
- - `collapsedAtMin?`: string | boolean | boolean
123
+ - `decreaseLabel?`: string
124
+ - `increaseLabel?`: string
125
+ - `valueLabel?`: string | (value: number) => void
126
126
 
127
127
  Example: `<G9Stepper />`
128
128
 
@@ -4,6 +4,10 @@
4
4
  `useG9CultureStore().setCulture('en')`. Readers: `useG9Culture()`, `useG9Direction()`.
5
5
  - **Direction**: every G9 control mirrors itself. Your own rows: `style={g9RowStyle(direction)}`; your own text
6
6
  alignment: `g9TextStart(direction)`; a `--rtl` modifier class for anything else. Never rely on CSS `direction`.
7
+ - **An app that inherits `direction`** (`enableCSSInheritance` with direction in its list): G9 rows are
8
+ `direction: ltr` + row-reverse, and the slot content they hold inherits that `ltr`. Wrap what you put in a row's slot
9
+ (top bar actions, a list row's trailing part, a section's actions) in `<G9DirectionScope>`. The shell's content,
10
+ sheets, the wide panel and the host's overlay layers already carry the culture's direction.
7
11
  - **Digits and numbers**: `formatNumber(value, culture)`, `toNativeDigits(text, 'persian')`. A G9 field stores ASCII
8
12
  digits and draws the culture's; a Latin number inside Persian text is a finding of G9AppPilot's watch.
9
13
  - **Words**: the library's own words (OK, Cancel, Search…) come from string tables: pass `g9BuiltInStringTables` in
@@ -1,5 +1,8 @@
1
1
  # The provider and the host
2
2
 
3
+ > Sheets, popups, toasts and menus render in `G9Host`'s layers, outside your own root view: CSS variables your app
4
+ > sets for its content belong on a view AROUND `G9Host`, or they are missing inside a sheet.
5
+
3
6
  ```tsx
4
7
  import { G9Host } from '@g9tm/lynxcontrols/host';
5
8
  import { G9Provider } from '@g9tm/lynxcontrols/provider';
@@ -12,7 +12,10 @@
12
12
  palette).
13
13
  - **A full palette from a server**: `store.apply(values)`; layers: `setPalettes`, `setOverrides`.
14
14
  - **Shape** (`shape` prop or a definition's `shape`): `radii` by role, `heights` (sm / md / lg), the type scale,
15
- `fonts` per script (`latin`, `arabic`, `mono`: every G9 text reads `--g9-font-text`), `density`
16
- (`compact` / `regular` / `comfortable`), `touchTarget` (never under 44).
15
+ `fonts` per script (`latin`, `arabic`, `mono`: every G9 text reads `--g9-font-text`) and per weight
16
+ (`arabicByWeight: { 500: 'AppMd', 700: 'AppBd' }`: Android ignores an @font-face weight; register each file under
17
+ BOTH Typeface.NORMAL and BOLD), `density` (`compact` / `regular` / `comfortable`), `touchTarget` (never under 44),
18
+ and `sizing: 'shared'` when your design sizes every control from the three heights (buttons, icon buttons, fields,
19
+ chips, segmented, steppers follow them; the default keeps each control's own table).
17
20
  - **Your own components**: read colours from `useG9Theme().palette` and derive with `withAlpha`, `darken`, `mix`
18
21
  once per theme change, never per frame. G9's look uses no shadows: elevation is surface tokens and borders.