@g9tm/lynxcontrols-foundation 0.0.0-stage → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/.tsbuildinfo +1 -0
- package/dist/collections.d.ts +16 -0
- package/dist/collections.d.ts.map +1 -0
- package/dist/collections.js +40 -0
- package/dist/collections.js.map +1 -0
- package/dist/culture/calendar.d.ts +122 -0
- package/dist/culture/calendar.d.ts.map +1 -0
- package/dist/culture/calendar.js +379 -0
- package/dist/culture/calendar.js.map +1 -0
- package/dist/culture/culture.d.ts +91 -0
- package/dist/culture/culture.d.ts.map +1 -0
- package/dist/culture/culture.js +173 -0
- package/dist/culture/culture.js.map +1 -0
- package/dist/culture/date-format.d.ts +19 -0
- package/dist/culture/date-format.d.ts.map +1 -0
- package/dist/culture/date-format.js +101 -0
- package/dist/culture/date-format.js.map +1 -0
- package/dist/culture/digits.d.ts +29 -0
- package/dist/culture/digits.d.ts.map +1 -0
- package/dist/culture/digits.js +43 -0
- package/dist/culture/digits.js.map +1 -0
- package/dist/culture/duration.d.ts +38 -0
- package/dist/culture/duration.d.ts.map +1 -0
- package/dist/culture/duration.js +41 -0
- package/dist/culture/duration.js.map +1 -0
- package/dist/culture/index.d.ts +9 -0
- package/dist/culture/index.d.ts.map +1 -0
- package/dist/culture/index.js +8 -0
- package/dist/culture/numbers.d.ts +38 -0
- package/dist/culture/numbers.d.ts.map +1 -0
- package/dist/culture/numbers.js +64 -0
- package/dist/culture/numbers.js.map +1 -0
- package/dist/culture/relative-time.d.ts +50 -0
- package/dist/culture/relative-time.d.ts.map +1 -0
- package/dist/culture/relative-time.js +63 -0
- package/dist/culture/relative-time.js.map +1 -0
- package/dist/culture/strings.d.ts +145 -0
- package/dist/culture/strings.d.ts.map +1 -0
- package/dist/culture/strings.js +345 -0
- package/dist/culture/strings.js.map +1 -0
- package/dist/enums/index.d.ts +195 -0
- package/dist/enums/index.d.ts.map +1 -0
- package/dist/enums/index.js +130 -0
- package/dist/enums/index.js.map +1 -0
- package/dist/errors.d.ts +10 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +21 -0
- package/dist/errors.js.map +1 -0
- package/dist/exec/diagnostics.d.ts +74 -0
- package/dist/exec/diagnostics.d.ts.map +1 -0
- package/dist/exec/diagnostics.js +73 -0
- package/dist/exec/diagnostics.js.map +1 -0
- package/dist/exec/index.d.ts +5 -0
- package/dist/exec/index.d.ts.map +1 -0
- package/dist/exec/index.js +4 -0
- package/dist/exec/options.d.ts +75 -0
- package/dist/exec/options.d.ts.map +1 -0
- package/dist/exec/options.js +107 -0
- package/dist/exec/options.js.map +1 -0
- package/dist/exec/safe-executor.d.ts +138 -0
- package/dist/exec/safe-executor.d.ts.map +1 -0
- package/dist/exec/safe-executor.js +401 -0
- package/dist/exec/safe-executor.js.map +1 -0
- package/dist/exec/trace.d.ts +59 -0
- package/dist/exec/trace.d.ts.map +1 -0
- package/dist/exec/trace.js +108 -0
- package/dist/exec/trace.js.map +1 -0
- package/dist/icons/generated/glyph-svg.d.ts +37 -0
- package/dist/icons/generated/glyph-svg.d.ts.map +1 -0
- package/dist/icons/generated/glyph-svg.js +33 -0
- package/dist/icons/generated/glyph-svg.js.map +1 -0
- package/dist/icons/glyph-slots.d.ts +79 -0
- package/dist/icons/glyph-slots.d.ts.map +1 -0
- package/dist/icons/glyph-slots.js +50 -0
- package/dist/icons/glyph-slots.js.map +1 -0
- package/dist/icons/glyph.d.ts +76 -0
- package/dist/icons/glyph.d.ts.map +1 -0
- package/dist/icons/glyph.js +42 -0
- package/dist/icons/glyph.js.map +1 -0
- package/dist/icons/icon-fonts.d.ts +55 -0
- package/dist/icons/icon-fonts.d.ts.map +1 -0
- package/dist/icons/icon-fonts.js +74 -0
- package/dist/icons/icon-fonts.js.map +1 -0
- package/dist/icons/icon.d.ts +102 -0
- package/dist/icons/icon.d.ts.map +1 -0
- package/dist/icons/icon.js +132 -0
- package/dist/icons/icon.js.map +1 -0
- package/dist/icons/index.d.ts +7 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/icons/index.js +6 -0
- package/dist/icons/svg.d.ts +28 -0
- package/dist/icons/svg.d.ts.map +1 -0
- package/dist/icons/svg.js +59 -0
- package/dist/icons/svg.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/services/abort.d.ts +31 -0
- package/dist/services/abort.d.ts.map +1 -0
- package/dist/services/abort.js +47 -0
- package/dist/services/abort.js.map +1 -0
- package/dist/services/clock.d.ts +35 -0
- package/dist/services/clock.d.ts.map +1 -0
- package/dist/services/clock.js +37 -0
- package/dist/services/clock.js.map +1 -0
- package/dist/services/contracts.d.ts +200 -0
- package/dist/services/contracts.d.ts.map +1 -0
- package/dist/services/contracts.js +37 -0
- package/dist/services/contracts.js.map +1 -0
- package/dist/services/index.d.ts +5 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +4 -0
- package/dist/services/preferences.d.ts +105 -0
- package/dist/services/preferences.d.ts.map +1 -0
- package/dist/services/preferences.js +253 -0
- package/dist/services/preferences.js.map +1 -0
- package/dist/theme/color.d.ts +94 -0
- package/dist/theme/color.d.ts.map +1 -0
- package/dist/theme/color.js +150 -0
- package/dist/theme/color.js.map +1 -0
- package/dist/theme/control-colors.d.ts +46 -0
- package/dist/theme/control-colors.d.ts.map +1 -0
- package/dist/theme/control-colors.js +46 -0
- package/dist/theme/control-colors.js.map +1 -0
- package/dist/theme/index.d.ts +5 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/index.js +4 -0
- package/dist/theme/theme.d.ts +88 -0
- package/dist/theme/theme.d.ts.map +1 -0
- package/dist/theme/theme.js +190 -0
- package/dist/theme/theme.js.map +1 -0
- package/dist/theme/variants.d.ts +33 -0
- package/dist/theme/variants.d.ts.map +1 -0
- package/dist/theme/variants.js +53 -0
- package/dist/theme/variants.js.map +1 -0
- package/dist/tokens/css-vars.d.ts +35 -0
- package/dist/tokens/css-vars.d.ts.map +1 -0
- package/dist/tokens/css-vars.js +49 -0
- package/dist/tokens/css-vars.js.map +1 -0
- package/dist/tokens/generated/metrics.d.ts +184 -0
- package/dist/tokens/generated/metrics.d.ts.map +1 -0
- package/dist/tokens/generated/metrics.js +349 -0
- package/dist/tokens/generated/metrics.js.map +1 -0
- package/dist/tokens/generated/palettes.d.ts +113 -0
- package/dist/tokens/generated/palettes.d.ts.map +1 -0
- package/dist/tokens/generated/palettes.js +391 -0
- package/dist/tokens/generated/palettes.js.map +1 -0
- package/dist/tokens/index.d.ts +5 -0
- package/dist/tokens/index.d.ts.map +1 -0
- package/dist/tokens/index.js +4 -0
- package/dist/tokens/layout-metrics.d.ts +120 -0
- package/dist/tokens/layout-metrics.d.ts.map +1 -0
- package/dist/tokens/layout-metrics.js +111 -0
- package/dist/tokens/layout-metrics.js.map +1 -0
- package/docs/api.md +368 -0
- package/docs/foundation.md +369 -0
- package/docs/migration/Core.Controls.Shared.md +475 -0
- package/docs/migration/Core.Helpers.md +132 -0
- package/docs/migration/Core.Icons.md +135 -0
- package/docs/migration/Core.Localization.md +118 -0
- package/docs/migration/Core.Storage.md +54 -0
- package/docs/migration/Core.Theming.md +328 -0
- package/package.json +59 -4
|
@@ -0,0 +1,475 @@
|
|
|
1
|
+
# Migration: `G9MAUIControls/Controls/Shared` → `@g9tm/lynxcontrols-foundation`
|
|
2
|
+
|
|
3
|
+
Census card: `plan/census/units/Core.Controls.Shared.md` (MAUI `6604cf0`). This table grows per slice. WP01.1 maps the
|
|
4
|
+
colour and metric types (`G9Colors`, `G9Visuals`, `G9VariantColors`, `ButtonVisualResult`, `G9Metrics`) and the two
|
|
5
|
+
enums the variant helpers need (`G9ButtonVariant`, `G9ProgressType`). WP01.2 adds `G9Calendar`, `G9Digits`,
|
|
6
|
+
`G9TimeSpanMath` (sources in `packages/foundation/src/culture/`) and resolves the two culture rows of `G9Visuals`; WP01.4
|
|
7
|
+
adds the remaining enums and `G9InputType` (source `src/enums/index.ts`, tests `src/enums/enums.test.ts`). Types owned
|
|
8
|
+
by WP02+ are mapped in their packages.
|
|
9
|
+
|
|
10
|
+
Helpers that read `G9Palette.Current` or the app theme in MAUI take the palette (`G9PaletteValues`) or the resolved
|
|
11
|
+
theme (`G9ResolvedTheme`) as an argument; colours are CSS strings. Sources: `packages/foundation/src/theme/variants.ts`,
|
|
12
|
+
`control-colors.ts`, `src/enums/index.ts`, `src/tokens/generated/metrics.ts`.
|
|
13
|
+
|
|
14
|
+
## `G9ButtonVariant`
|
|
15
|
+
|
|
16
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
17
|
+
| --- | --- | --- | --- |
|
|
18
|
+
| `G9ButtonVariant.Primary` | `G9ButtonVariant.Primary` (`'primary'`) | preserved | variants.test.ts "use camelCase values for the MAUI member names"; "maps every variant to the MAUI palette recipe" |
|
|
19
|
+
| `G9ButtonVariant.Tonal` | `G9ButtonVariant.Tonal` (`'tonal'`) | preserved | variants.test.ts "use camelCase values for the MAUI member names"; "maps every variant to the MAUI palette recipe" |
|
|
20
|
+
| `G9ButtonVariant.Default` | `G9ButtonVariant.Default` (`'default'`) | preserved | variants.test.ts "use camelCase values for the MAUI member names"; "maps every variant to the MAUI palette recipe" |
|
|
21
|
+
| `G9ButtonVariant.Secondary` | `G9ButtonVariant.Secondary` (`'secondary'`) | preserved | variants.test.ts "use camelCase values for the MAUI member names"; "maps every variant to the MAUI palette recipe" |
|
|
22
|
+
| `G9ButtonVariant.Info` | `G9ButtonVariant.Info` (`'info'`) | preserved | variants.test.ts "use camelCase values for the MAUI member names"; "maps every variant to the MAUI palette recipe" |
|
|
23
|
+
| `G9ButtonVariant.Success` | `G9ButtonVariant.Success` (`'success'`) | preserved | variants.test.ts "use camelCase values for the MAUI member names"; "maps every variant to the MAUI palette recipe" |
|
|
24
|
+
| `G9ButtonVariant.Warning` | `G9ButtonVariant.Warning` (`'warning'`) | preserved | variants.test.ts "use camelCase values for the MAUI member names"; "maps every variant to the MAUI palette recipe" |
|
|
25
|
+
| `G9ButtonVariant.Error` | `G9ButtonVariant.Error` (`'error'`) | preserved | variants.test.ts "use camelCase values for the MAUI member names"; "maps every variant to the MAUI palette recipe" |
|
|
26
|
+
| `G9ButtonVariant.ErrorTonal` | `G9ButtonVariant.ErrorTonal` (`'errorTonal'`) | preserved | variants.test.ts "use camelCase values for the MAUI member names"; "maps every variant to the MAUI palette recipe" |
|
|
27
|
+
| `G9ButtonVariant.Surface` | `G9ButtonVariant.Surface` (`'surface'`) | preserved | variants.test.ts "use camelCase values for the MAUI member names"; "maps every variant to the MAUI palette recipe" |
|
|
28
|
+
| `G9ButtonVariant.Outline` | `G9ButtonVariant.Outline` (`'outline'`) | preserved | variants.test.ts "use camelCase values for the MAUI member names"; "maps every variant to the MAUI palette recipe" |
|
|
29
|
+
| `G9ButtonVariant.Text` | `G9ButtonVariant.Text` (`'text'`) | preserved | variants.test.ts "use camelCase values for the MAUI member names"; "maps every variant to the MAUI palette recipe" |
|
|
30
|
+
|
|
31
|
+
## `G9ProgressType`
|
|
32
|
+
|
|
33
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
34
|
+
| --- | --- | --- | --- |
|
|
35
|
+
| `G9ProgressType.Primary` | `G9ProgressType.Primary` (`'primary'`) | preserved | variants.test.ts "maps progress types, defaulting to Primary" |
|
|
36
|
+
| `G9ProgressType.Success` | `G9ProgressType.Success` (`'success'`) | preserved | variants.test.ts "maps progress types, defaulting to Primary" |
|
|
37
|
+
| `G9ProgressType.Warning` | `G9ProgressType.Warning` (`'warning'`) | preserved | variants.test.ts "maps progress types, defaulting to Primary" |
|
|
38
|
+
| `G9ProgressType.Error` | `G9ProgressType.Error` (`'error'`) | preserved | variants.test.ts "maps progress types, defaulting to Primary" |
|
|
39
|
+
|
|
40
|
+
## `G9Colors`
|
|
41
|
+
|
|
42
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
43
|
+
| --- | --- | --- | --- |
|
|
44
|
+
| `G9Colors.InsetHighlightTopAlpha` | `G9Colors.InsetHighlightTopAlpha` = 0.2 | preserved | variants.test.ts "keeps the MAUI alpha constants" |
|
|
45
|
+
| `G9Colors.InsetHighlightBottomAlpha` | `G9Colors.InsetHighlightBottomAlpha` = 0.1 | preserved | variants.test.ts "keeps the MAUI alpha constants" |
|
|
46
|
+
| `G9Colors.IconRippleAlpha` | `G9Colors.IconRippleAlpha` = 0.32 | preserved | variants.test.ts "keeps the MAUI alpha constants" |
|
|
47
|
+
| `G9Colors.SliderTooltipAlphaActive` | `G9Colors.SliderTooltipAlphaActive` = 0.1 | preserved | variants.test.ts "keeps the MAUI alpha constants" |
|
|
48
|
+
| `G9Colors.SliderTooltipBorderAlpha` | `G9Colors.SliderTooltipBorderAlpha` = 1 | preserved | variants.test.ts "keeps the MAUI alpha constants" |
|
|
49
|
+
| `G9Colors.CheckBoxHaloAlpha` | `G9Colors.CheckBoxHaloAlpha` = 0.14 | preserved | variants.test.ts "keeps the MAUI alpha constants" |
|
|
50
|
+
| `G9Colors.CheckBoxDisabledOutlineAlpha` | `G9Colors.CheckBoxDisabledOutlineAlpha` = 0.55 | preserved | variants.test.ts "keeps the MAUI alpha constants" |
|
|
51
|
+
| `G9Colors.SwitchOffTrack` | `switchOffTrack(theme)`: `SurfaceContainerHighest` when the painted scheme is dark, else `OutlineVariant` | renamed: takes the resolved theme (MAUI read `Application.Current` for dark) | variants.test.ts "switch and check-box colours depend on the painted scheme, including system-dark" |
|
|
52
|
+
| `G9Colors.SwitchOnTrack` | `switchOnTrack(theme)`: `Primary` | renamed | variants.test.ts "switch and check-box colours depend on the painted scheme, including system-dark" |
|
|
53
|
+
| `G9Colors.SwitchThumbOff` | `switchThumbOff(theme)`: `OnSurfaceVariant` dark, `Surface` light | renamed | variants.test.ts "switch and check-box colours depend on the painted scheme, including system-dark" |
|
|
54
|
+
| `G9Colors.SwitchThumbOn` | `switchThumbOn(theme)`: `OnPrimaryContainer` dark, `OnPrimary` light | renamed | variants.test.ts "switch and check-box colours depend on the painted scheme, including system-dark" |
|
|
55
|
+
| `G9Colors.CheckBoxMark` | `checkBoxMark(theme)`: `OnPrimary` | renamed | variants.test.ts "switch and check-box colours depend on the painted scheme, including system-dark" |
|
|
56
|
+
| `G9Colors.Round` | CSS `border-radius` (or a `G9CornerRadius` prop) on the element | idiomatic: a `RoundRectangle` shape object has no Lynx counterpart; elements round themselves | none needed (no runtime surface) |
|
|
57
|
+
| `G9Colors.BuildSolidOrGradient` | `buildSolidOrGradient(base, useGradient)` → `G9Fill`; `fillToCss(fill)` → colour or `linear-gradient(to bottom, …)` | idiomatic: a fill description + CSS instead of a MAUI `Brush` | variants.test.ts "buildSolidOrGradient: solid, or 8 % lighter → base → 8 % darker from top to bottom" |
|
|
58
|
+
|
|
59
|
+
## `G9Visuals`, `G9VariantColors`, `ButtonVisualResult`
|
|
60
|
+
|
|
61
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
62
|
+
| --- | --- | --- | --- |
|
|
63
|
+
| `G9Visuals.ResolveButtonVariant` | `resolveButtonVariant(variant, palette)` → `G9VariantColors`; unknown variants resolve like `'primary'` as in MAUI; `Colors.Transparent` is `#00000000` (verified in MAUI `Graphics/Colors.cs`), so the tonal stroke is `mix(Primary, transparent, 0.65)` | renamed: takes the palette instead of reading `G9Palette.Current` | variants.test.ts "maps every variant to the MAUI palette recipe"; "follows the palette it is given (dark)" |
|
|
64
|
+
| `G9Visuals.ResolveProgressColor` | `resolveProgressColor(type, palette)` | renamed: takes the palette | variants.test.ts "maps progress types, defaulting to Primary" |
|
|
65
|
+
| `G9Visuals.HasSwatch` | `hasSwatch(first, second)` | preserved | variants.test.ts "is true when at least one swatch colour is set" |
|
|
66
|
+
| `G9Visuals.IsRtl` | `isRtl(culture)` (WP01.2) | renamed: takes the culture value instead of reading `G9Culture` | culture.test.ts "resolves the font family like G9Culture.ResolveFontFamily: a non-blank explicit family wins" |
|
|
67
|
+
| `G9Visuals.ResolveCulturalFont` | `resolveFontFamily(culture, customFont?)` (WP01.2): a non-blank custom font wins, else the culture's RTL/LTR family; `undefined` means the platform default | renamed: takes the culture value | culture.test.ts "resolves the font family like G9Culture.ResolveFontFamily: a non-blank explicit family wins" |
|
|
68
|
+
| `G9Visuals.ResolveKeyboard` | `resolveInputElementType(inputType, keyboard, masked)` in `@g9tm/lynxcontrols/fields` (WP03, `src/fields/input-policy.ts`): `G9KeyboardType` → the Lynx `<input type>` that raises that keyboard; `G9TextEntry` / `G9Editor` / popup input fields call it with `resolveEffectiveKeyboard(...)` exactly where MAUI called `ResolveKeyboard` | changed: Lynx has no URL keyboard, so `'url'` → `'text'`; `'number'` → `'number'` for integer `G9InputType.Number` and `'digit'` (numeric pad with a separator) for decimal/signed types; a masked password is always `'password'`; `'password'` as a keyboard → default as in MAUI | policy.test.ts "maps keyboards to Lynx <input type> (the docs/fields.md table)"; "uses keyboardType only for default input, and password as the default keyboard"; text-entry.test.tsx "keyboardType works for default input (MAUI ignored it)" |
|
|
69
|
+
| `G9Visuals.CreateSwatch` | `<G9Swatch first second size? direction? />` in `@g9tm/lynxcontrols/icon` (`src/icon/swatch.tsx`), used by the picker / combo trigger and the selection-sheet rows | idiomatic: a component instead of a `View` factory; size defaults to 18 (`G9Metrics.SelectionIconSize`); the first half sits at the reading start (MAUI `Grid` column 0 under the inherited `FlowDirection`); a blank stored colour counts as none. Fixed in WP16: the selection list showed no swatch for a second-colour-only item | icon.test.tsx "none → a zero-size placeholder; one colour → a solid circle; two → split halves, first at the start"; "the first half follows the reading direction…"; selection.test.tsx "rows show the shared swatch…" |
|
|
70
|
+
| `G9VariantColors.Background` | `G9VariantColors.background` | renamed | variants.test.ts "maps every variant to the MAUI palette recipe" |
|
|
71
|
+
| `G9VariantColors.Text` | `G9VariantColors.text` | renamed | variants.test.ts "maps every variant to the MAUI palette recipe" |
|
|
72
|
+
| `G9VariantColors.Stroke` | `G9VariantColors.stroke` | renamed | variants.test.ts "maps every variant to the MAUI palette recipe" |
|
|
73
|
+
| `G9VariantColors.UsesGradient` | `G9VariantColors.usesGradient` | renamed | variants.test.ts "maps every variant to the MAUI palette recipe" |
|
|
74
|
+
| `ButtonVisualResult.Background` | `G9ButtonVisualResult.background` (same shape as `G9VariantColors`; the button applies its escape hatches, WP04) | renamed | variants.test.ts "follows the palette it is given (dark)" |
|
|
75
|
+
| `ButtonVisualResult.Text` | `G9ButtonVisualResult.text` | renamed | variants.test.ts "follows the palette it is given (dark)" |
|
|
76
|
+
| `ButtonVisualResult.Stroke` | `G9ButtonVisualResult.stroke` | renamed | variants.test.ts "follows the palette it is given (dark)" |
|
|
77
|
+
| `ButtonVisualResult.UsesGradient` | `G9ButtonVisualResult.usesGradient` | renamed | variants.test.ts "follows the palette it is given (dark)" |
|
|
78
|
+
|
|
79
|
+
## `G9Metrics` (171 values, generated from `golden/metrics.json`)
|
|
80
|
+
|
|
81
|
+
Values are numbers (logical pixels, milliseconds for `…Ms`, plain numbers for scales and opacities) and CSS variables
|
|
82
|
+
`--g9-metric-*` via `toMetricCssVariables()`. Generated by `scripts/gen-tokens.mjs`; a test fails on drift.
|
|
83
|
+
|
|
84
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
85
|
+
| --- | --- | --- | --- |
|
|
86
|
+
| `G9Metrics.RadiusXs` | `G9Metrics.RadiusXs` = 6; CSS `--g9-metric-radius-xs` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
87
|
+
| `G9Metrics.RadiusSm` | `G9Metrics.RadiusSm` = 8; CSS `--g9-metric-radius-sm` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
88
|
+
| `G9Metrics.RadiusMd` | `G9Metrics.RadiusMd` = 12; CSS `--g9-metric-radius-md` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
89
|
+
| `G9Metrics.RadiusLg` | `G9Metrics.RadiusLg` = 16; CSS `--g9-metric-radius-lg` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
90
|
+
| `G9Metrics.RadiusXl` | `G9Metrics.RadiusXl` = 20; CSS `--g9-metric-radius-xl` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
91
|
+
| `G9Metrics.RadiusPill` | `G9Metrics.RadiusPill` = 999; CSS `--g9-metric-radius-pill` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
92
|
+
| `G9Metrics.ControlHeight` | `G9Metrics.ControlHeight` = 52; CSS `--g9-metric-control-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
93
|
+
| `G9Metrics.ButtonHeightSmall` | `G9Metrics.ButtonHeightSmall` = 36; CSS `--g9-metric-button-height-small` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
94
|
+
| `G9Metrics.ButtonHeightMedium` | `G9Metrics.ButtonHeightMedium` = 44; CSS `--g9-metric-button-height-medium` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
95
|
+
| `G9Metrics.ButtonHeightLarge` | `G9Metrics.ButtonHeightLarge` = 48; CSS `--g9-metric-button-height-large` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
96
|
+
| `G9Metrics.ButtonHeightHero` | `G9Metrics.ButtonHeightHero` = 52; CSS `--g9-metric-button-height-hero` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
97
|
+
| `G9Metrics.InputHorizontalPadding` | `G9Metrics.InputHorizontalPadding` = 14; CSS `--g9-metric-input-horizontal-padding` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
98
|
+
| `G9Metrics.InputIconSize` | `G9Metrics.InputIconSize` = 20; CSS `--g9-metric-input-icon-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
99
|
+
| `G9Metrics.LeadingIconOuterMargin` | `G9Metrics.LeadingIconOuterMargin` = 12; CSS `--g9-metric-leading-icon-outer-margin` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
100
|
+
| `G9Metrics.LeadingIconInnerMargin` | `G9Metrics.LeadingIconInnerMargin` = 8; CSS `--g9-metric-leading-icon-inner-margin` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
101
|
+
| `G9Metrics.TrailingIconOuterMargin` | `G9Metrics.TrailingIconOuterMargin` = 12; CSS `--g9-metric-trailing-icon-outer-margin` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
102
|
+
| `G9Metrics.TrailingIconInnerMargin` | `G9Metrics.TrailingIconInnerMargin` = 8; CSS `--g9-metric-trailing-icon-inner-margin` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
103
|
+
| `G9Metrics.LeadingIconSlotWidth` | `G9Metrics.LeadingIconSlotWidth` = 40; CSS `--g9-metric-leading-icon-slot-width` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
104
|
+
| `G9Metrics.TrailingIconSlotWidth` | `G9Metrics.TrailingIconSlotWidth` = 40; CSS `--g9-metric-trailing-icon-slot-width` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
105
|
+
| `G9Metrics.EditorTrailingIconBottomInset` | `G9Metrics.EditorTrailingIconBottomInset` = 8; CSS `--g9-metric-editor-trailing-icon-bottom-inset` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
106
|
+
| `G9Metrics.EditorTrailingSlotHeight` | `G9Metrics.EditorTrailingSlotHeight` = 36; CSS `--g9-metric-editor-trailing-slot-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
107
|
+
| `G9Metrics.InputLabelLeadingIconOffset` | `G9Metrics.InputLabelLeadingIconOffset` = 26; CSS `--g9-metric-input-label-leading-icon-offset` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
108
|
+
| `G9Metrics.FloatingLabelFloatedExtraX` | `G9Metrics.FloatingLabelFloatedExtraX` = 8; CSS `--g9-metric-floating-label-floated-extra-x` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
109
|
+
| `G9Metrics.OutlineNotchTextGap` | `G9Metrics.OutlineNotchTextGap` = 8; CSS `--g9-metric-outline-notch-text-gap` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
110
|
+
| `G9Metrics.FloatingLabelFontSizeFloat` | `G9Metrics.FloatingLabelFontSizeFloat` = 11; CSS `--g9-metric-floating-label-font-size-float` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
111
|
+
| `G9Metrics.FloatingLabelFontSizeRest` | `G9Metrics.FloatingLabelFontSizeRest` = 15; CSS `--g9-metric-floating-label-font-size-rest` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
112
|
+
| `G9Metrics.FloatingLabelHeight` | `G9Metrics.FloatingLabelHeight` = 22; CSS `--g9-metric-floating-label-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
113
|
+
| `G9Metrics.FloatingLabelFloatedY` | `G9Metrics.FloatingLabelFloatedY` = -11; CSS `--g9-metric-floating-label-floated-y` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
114
|
+
| `G9Metrics.FloatingLabelRestScale` | `G9Metrics.FloatingLabelRestScale` = 1; CSS `--g9-metric-floating-label-rest-scale` (unitless) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
115
|
+
| `G9Metrics.FloatingLabelFloatedScale` | `G9Metrics.FloatingLabelFloatedScale` = 0.78; CSS `--g9-metric-floating-label-floated-scale` (unitless) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
116
|
+
| `G9Metrics.FloatingLabelDurationMs` | `G9Metrics.FloatingLabelDurationMs` = 160; CSS `--g9-metric-floating-label-duration-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
117
|
+
| `G9Metrics.FloatingLabelClearance` | `G9Metrics.FloatingLabelClearance` = 6; CSS `--g9-metric-floating-label-clearance` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
118
|
+
| `G9Metrics.HelperFontSize` | `G9Metrics.HelperFontSize` = 11.5; CSS `--g9-metric-helper-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
119
|
+
| `G9Metrics.CounterFontSize` | `G9Metrics.CounterFontSize` = 11; CSS `--g9-metric-counter-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
120
|
+
| `G9Metrics.OutlinedFieldStrokeThickness` | `G9Metrics.OutlinedFieldStrokeThickness` = 1.5; CSS `--g9-metric-outlined-field-stroke-thickness` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
121
|
+
| `G9Metrics.OutlinedFieldEmphasisStrokeThickness` | `G9Metrics.OutlinedFieldEmphasisStrokeThickness` = 2.5; CSS `--g9-metric-outlined-field-emphasis-stroke-thickness` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
122
|
+
| `G9Metrics.OutlinedFieldFocusHaloThickness` | `G9Metrics.OutlinedFieldFocusHaloThickness` = 6; CSS `--g9-metric-outlined-field-focus-halo-thickness` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
123
|
+
| `G9Metrics.FocusRingOpacity` | `G9Metrics.FocusRingOpacity` = 0.22; CSS `--g9-metric-focus-ring-opacity` (unitless) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
124
|
+
| `G9Metrics.ButtonFontSmall` | `G9Metrics.ButtonFontSmall` = 12; CSS `--g9-metric-button-font-small` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
125
|
+
| `G9Metrics.ButtonFontMedium` | `G9Metrics.ButtonFontMedium` = 14; CSS `--g9-metric-button-font-medium` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
126
|
+
| `G9Metrics.ButtonFontLarge` | `G9Metrics.ButtonFontLarge` = 15; CSS `--g9-metric-button-font-large` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
127
|
+
| `G9Metrics.ButtonFontHero` | `G9Metrics.ButtonFontHero` = 16; CSS `--g9-metric-button-font-hero` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
128
|
+
| `G9Metrics.SwitchWidth` | `G9Metrics.SwitchWidth` = 56; CSS `--g9-metric-switch-width` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
129
|
+
| `G9Metrics.SwitchHeight` | `G9Metrics.SwitchHeight` = 32; CSS `--g9-metric-switch-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
130
|
+
| `G9Metrics.SwitchThumb` | `G9Metrics.SwitchThumb` = 24; CSS `--g9-metric-switch-thumb` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
131
|
+
| `G9Metrics.SwitchThumbPressed` | `G9Metrics.SwitchThumbPressed` = 30; CSS `--g9-metric-switch-thumb-pressed` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
132
|
+
| `G9Metrics.SliderHeight` | `G9Metrics.SliderHeight` = 104; CSS `--g9-metric-slider-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
133
|
+
| `G9Metrics.SliderHeightCompact` | `G9Metrics.SliderHeightCompact` = 36; CSS `--g9-metric-slider-height-compact` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
134
|
+
| `G9Metrics.SliderTrackY` | `G9Metrics.SliderTrackY` = 52; CSS `--g9-metric-slider-track-y` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
135
|
+
| `G9Metrics.SliderTrackHeight` | `G9Metrics.SliderTrackHeight` = 8; CSS `--g9-metric-slider-track-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
136
|
+
| `G9Metrics.SliderThumbRadius` | `G9Metrics.SliderThumbRadius` = 14; CSS `--g9-metric-slider-thumb-radius` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
137
|
+
| `G9Metrics.SliderHorizontalInset` | `G9Metrics.SliderHorizontalInset` = 16; CSS `--g9-metric-slider-horizontal-inset` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
138
|
+
| `G9Metrics.SliderLabelGap` | `G9Metrics.SliderLabelGap` = 18; CSS `--g9-metric-slider-label-gap` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
139
|
+
| `G9Metrics.PinCellWidth` | `G9Metrics.PinCellWidth` = 44; CSS `--g9-metric-pin-cell-width` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
140
|
+
| `G9Metrics.PinCellHeight` | `G9Metrics.PinCellHeight` = 52; CSS `--g9-metric-pin-cell-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
141
|
+
| `G9Metrics.PinCellStrokeThickness` | `G9Metrics.PinCellStrokeThickness` = 1.4; CSS `--g9-metric-pin-cell-stroke-thickness` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
142
|
+
| `G9Metrics.PinCellStrokeThicknessFocused` | `G9Metrics.PinCellStrokeThicknessFocused` = 2; CSS `--g9-metric-pin-cell-stroke-thickness-focused` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
143
|
+
| `G9Metrics.PinCellCornerRadius` | `G9Metrics.PinCellCornerRadius` = 10; CSS `--g9-metric-pin-cell-corner-radius` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
144
|
+
| `G9Metrics.PinCellSpacing` | `G9Metrics.PinCellSpacing` = 8; CSS `--g9-metric-pin-cell-spacing` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
145
|
+
| `G9Metrics.PinSeparatorSpacing` | `G9Metrics.PinSeparatorSpacing` = 6; CSS `--g9-metric-pin-separator-spacing` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
146
|
+
| `G9Metrics.PinCellFontSize` | `G9Metrics.PinCellFontSize` = 22; CSS `--g9-metric-pin-cell-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
147
|
+
| `G9Metrics.PinSeparatorFontSize` | `G9Metrics.PinSeparatorFontSize` = 22; CSS `--g9-metric-pin-separator-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
148
|
+
| `G9Metrics.ProgressBarHeight` | `G9Metrics.ProgressBarHeight` = 10; CSS `--g9-metric-progress-bar-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
149
|
+
| `G9Metrics.ChipHeight` | `G9Metrics.ChipHeight` = 36; CSS `--g9-metric-chip-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
150
|
+
| `G9Metrics.ChipHorizontalPadding` | `G9Metrics.ChipHorizontalPadding` = 14; CSS `--g9-metric-chip-horizontal-padding` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
151
|
+
| `G9Metrics.ChipFontSize` | `G9Metrics.ChipFontSize` = 13; CSS `--g9-metric-chip-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
152
|
+
| `G9Metrics.ChipIconSize` | `G9Metrics.ChipIconSize` = 16; CSS `--g9-metric-chip-icon-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
153
|
+
| `G9Metrics.ChipSpacing` | `G9Metrics.ChipSpacing` = 6; CSS `--g9-metric-chip-spacing` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
154
|
+
| `G9Metrics.ChipSelectionAnimationMs` | `G9Metrics.ChipSelectionAnimationMs` = 140; CSS `--g9-metric-chip-selection-animation-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
155
|
+
| `G9Metrics.ChipCheckmarkAnimationMs` | `G9Metrics.ChipCheckmarkAnimationMs` = 120; CSS `--g9-metric-chip-checkmark-animation-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
156
|
+
| `G9Metrics.TabBarHeight` | `G9Metrics.TabBarHeight` = 52; CSS `--g9-metric-tab-bar-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
157
|
+
| `G9Metrics.TabBarInnerPadding` | `G9Metrics.TabBarInnerPadding` = 4; CSS `--g9-metric-tab-bar-inner-padding` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
158
|
+
| `G9Metrics.TabBarRadius` | `G9Metrics.TabBarRadius` = 26; CSS `--g9-metric-tab-bar-radius` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
159
|
+
| `G9Metrics.TabPillVerticalInset` | `G9Metrics.TabPillVerticalInset` = 2; CSS `--g9-metric-tab-pill-vertical-inset` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
160
|
+
| `G9Metrics.TabPillRadius` | `G9Metrics.TabPillRadius` = 18; CSS `--g9-metric-tab-pill-radius` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
161
|
+
| `G9Metrics.TabCellHorizontalPadding` | `G9Metrics.TabCellHorizontalPadding` = 16; CSS `--g9-metric-tab-cell-horizontal-padding` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
162
|
+
| `G9Metrics.TabBarToContentGap` | `G9Metrics.TabBarToContentGap` = 8; CSS `--g9-metric-tab-bar-to-content-gap` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
163
|
+
| `G9Metrics.TabFontSize` | `G9Metrics.TabFontSize` = 13; CSS `--g9-metric-tab-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
164
|
+
| `G9Metrics.TabIconSize` | `G9Metrics.TabIconSize` = 16; CSS `--g9-metric-tab-icon-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
165
|
+
| `G9Metrics.TabBadgeHeight` | `G9Metrics.TabBadgeHeight` = 18; CSS `--g9-metric-tab-badge-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
166
|
+
| `G9Metrics.TabContentRadius` | `G9Metrics.TabContentRadius` = 16; CSS `--g9-metric-tab-content-radius` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
167
|
+
| `G9Metrics.TabUnderlineThickness` | `G9Metrics.TabUnderlineThickness` = 2.5; CSS `--g9-metric-tab-underline-thickness` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
168
|
+
| `G9Metrics.TabBarEdgeLineThickness` | `G9Metrics.TabBarEdgeLineThickness` = 1; CSS `--g9-metric-tab-bar-edge-line-thickness` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
169
|
+
| `G9Metrics.TabSeparatorThickness` | `G9Metrics.TabSeparatorThickness` = 1; CSS `--g9-metric-tab-separator-thickness` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
170
|
+
| `G9Metrics.TabSeparatorVerticalInset` | `G9Metrics.TabSeparatorVerticalInset` = 12; CSS `--g9-metric-tab-separator-vertical-inset` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
171
|
+
| `G9Metrics.TabContentDefaultPadding` | `G9Metrics.TabContentDefaultPadding` = 20; CSS `--g9-metric-tab-content-default-padding` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
172
|
+
| `G9Metrics.DrumColumnHeight` | `G9Metrics.DrumColumnHeight` = 220; CSS `--g9-metric-drum-column-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
173
|
+
| `G9Metrics.DrumRowHeight` | `G9Metrics.DrumRowHeight` = 44; CSS `--g9-metric-drum-row-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
174
|
+
| `G9Metrics.DrumLabelFontSize` | `G9Metrics.DrumLabelFontSize` = 10; CSS `--g9-metric-drum-label-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
175
|
+
| `G9Metrics.DrumSelectedFontSize` | `G9Metrics.DrumSelectedFontSize` = 17; CSS `--g9-metric-drum-selected-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
176
|
+
| `G9Metrics.DrumUnselectedFontSize` | `G9Metrics.DrumUnselectedFontSize` = 16; CSS `--g9-metric-drum-unselected-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
177
|
+
| `G9Metrics.SelectionRowHeight` | `G9Metrics.SelectionRowHeight` = 52; CSS `--g9-metric-selection-row-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
178
|
+
| `G9Metrics.SelectionRowHorizontalPadding` | `G9Metrics.SelectionRowHorizontalPadding` = 16; CSS `--g9-metric-selection-row-horizontal-padding` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
179
|
+
| `G9Metrics.SelectionMaxHeight` | `G9Metrics.SelectionMaxHeight` = 520; CSS `--g9-metric-selection-max-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
180
|
+
| `G9Metrics.SelectionMinHeight` | `G9Metrics.SelectionMinHeight` = 220; CSS `--g9-metric-selection-min-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
181
|
+
| `G9Metrics.SelectionRowFontSize` | `G9Metrics.SelectionRowFontSize` = 14; CSS `--g9-metric-selection-row-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
182
|
+
| `G9Metrics.SelectionIconSize` | `G9Metrics.SelectionIconSize` = 18; CSS `--g9-metric-selection-icon-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
183
|
+
| `G9Metrics.SelectionCheckBoxSize` | `G9Metrics.SelectionCheckBoxSize` = 20; CSS `--g9-metric-selection-check-box-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
184
|
+
| `G9Metrics.SelectionCheckRadius` | `G9Metrics.SelectionCheckRadius` = 6; CSS `--g9-metric-selection-check-radius` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
185
|
+
| `G9Metrics.CheckBoxSize` | `G9Metrics.CheckBoxSize` = 20; CSS `--g9-metric-check-box-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
186
|
+
| `G9Metrics.CheckBoxCornerRadius` | `G9Metrics.CheckBoxCornerRadius` = 6; CSS `--g9-metric-check-box-corner-radius` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
187
|
+
| `G9Metrics.CheckBoxStrokeThickness` | `G9Metrics.CheckBoxStrokeThickness` = 2; CSS `--g9-metric-check-box-stroke-thickness` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
188
|
+
| `G9Metrics.CheckBoxMarkStrokeThickness` | `G9Metrics.CheckBoxMarkStrokeThickness` = 2; CSS `--g9-metric-check-box-mark-stroke-thickness` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
189
|
+
| `G9Metrics.CheckBoxHaloDiameter` | `G9Metrics.CheckBoxHaloDiameter` = 40; CSS `--g9-metric-check-box-halo-diameter` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
190
|
+
| `G9Metrics.CheckBoxLabelSpacing` | `G9Metrics.CheckBoxLabelSpacing` = 2; CSS `--g9-metric-check-box-label-spacing` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
191
|
+
| `G9Metrics.CheckBoxLabelVerticalPadding` | `G9Metrics.CheckBoxLabelVerticalPadding` = 12; CSS `--g9-metric-check-box-label-vertical-padding` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
192
|
+
| `G9Metrics.CheckBoxLabelFontSize` | `G9Metrics.CheckBoxLabelFontSize` = 14; CSS `--g9-metric-check-box-label-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
193
|
+
| `G9Metrics.CheckBoxToggleDurationMs` | `G9Metrics.CheckBoxToggleDurationMs` = 200; CSS `--g9-metric-check-box-toggle-duration-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
194
|
+
| `G9Metrics.CheckBoxMorphDurationMs` | `G9Metrics.CheckBoxMorphDurationMs` = 150; CSS `--g9-metric-check-box-morph-duration-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
195
|
+
| `G9Metrics.NavCardIconBadgeSize` | `G9Metrics.NavCardIconBadgeSize` = 38; CSS `--g9-metric-nav-card-icon-badge-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
196
|
+
| `G9Metrics.NavCardPaddingX` | `G9Metrics.NavCardPaddingX` = 14; CSS `--g9-metric-nav-card-padding-x` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
197
|
+
| `G9Metrics.NavCardPaddingY` | `G9Metrics.NavCardPaddingY` = 12; CSS `--g9-metric-nav-card-padding-y` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
198
|
+
| `G9Metrics.NavCardTitleFontSize` | `G9Metrics.NavCardTitleFontSize` = 14; CSS `--g9-metric-nav-card-title-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
199
|
+
| `G9Metrics.NavCardSubtitleFontSize` | `G9Metrics.NavCardSubtitleFontSize` = 11.5; CSS `--g9-metric-nav-card-subtitle-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
200
|
+
| `G9Metrics.NavCardValueFontSize` | `G9Metrics.NavCardValueFontSize` = 13; CSS `--g9-metric-nav-card-value-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
201
|
+
| `G9Metrics.NavCardChevronSize` | `G9Metrics.NavCardChevronSize` = 24; CSS `--g9-metric-nav-card-chevron-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
202
|
+
| `G9Metrics.NavCardComingSoonFontSize` | `G9Metrics.NavCardComingSoonFontSize` = 10; CSS `--g9-metric-nav-card-coming-soon-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
203
|
+
| `G9Metrics.NavCardComingSoonPaddingX` | `G9Metrics.NavCardComingSoonPaddingX` = 7; CSS `--g9-metric-nav-card-coming-soon-padding-x` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
204
|
+
| `G9Metrics.NavCardComingSoonPaddingY` | `G9Metrics.NavCardComingSoonPaddingY` = 3.5; CSS `--g9-metric-nav-card-coming-soon-padding-y` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
205
|
+
| `G9Metrics.NavCardComingSoonRadius` | `G9Metrics.NavCardComingSoonRadius` = 11; CSS `--g9-metric-nav-card-coming-soon-radius` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
206
|
+
| `G9Metrics.SeparatorTitleFontSize` | `G9Metrics.SeparatorTitleFontSize` = 10; CSS `--g9-metric-separator-title-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
207
|
+
| `G9Metrics.SeparatorIconSize` | `G9Metrics.SeparatorIconSize` = 12; CSS `--g9-metric-separator-icon-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
208
|
+
| `G9Metrics.ExpanderHeaderHeight` | `G9Metrics.ExpanderHeaderHeight` = 48; CSS `--g9-metric-expander-header-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
209
|
+
| `G9Metrics.ExpanderTitleFontSize` | `G9Metrics.ExpanderTitleFontSize` = 15; CSS `--g9-metric-expander-title-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
210
|
+
| `G9Metrics.ExpanderIconSize` | `G9Metrics.ExpanderIconSize` = 20; CSS `--g9-metric-expander-icon-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
211
|
+
| `G9Metrics.ExpanderChevronSize` | `G9Metrics.ExpanderChevronSize` = 22; CSS `--g9-metric-expander-chevron-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
212
|
+
| `G9Metrics.ExpanderHeaderSpacing` | `G9Metrics.ExpanderHeaderSpacing` = 10; CSS `--g9-metric-expander-header-spacing` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
213
|
+
| `G9Metrics.ExpanderContentTopGap` | `G9Metrics.ExpanderContentTopGap` = 8; CSS `--g9-metric-expander-content-top-gap` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
214
|
+
| `G9Metrics.ExpanderHeaderPaddingX` | `G9Metrics.ExpanderHeaderPaddingX` = 14; CSS `--g9-metric-expander-header-padding-x` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
215
|
+
| `G9Metrics.ExpanderChevronRotationMs` | `G9Metrics.ExpanderChevronRotationMs` = 220; CSS `--g9-metric-expander-chevron-rotation-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
216
|
+
| `G9Metrics.ExpanderContentAnimationMs` | `G9Metrics.ExpanderContentAnimationMs` = 220; CSS `--g9-metric-expander-content-animation-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
217
|
+
| `G9Metrics.CascadePanelAnimationMs` | `G9Metrics.CascadePanelAnimationMs` = 280; CSS `--g9-metric-cascade-panel-animation-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
218
|
+
| `G9Metrics.CascadePanelHeaderHeight` | `G9Metrics.CascadePanelHeaderHeight` = 48; CSS `--g9-metric-cascade-panel-header-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
219
|
+
| `G9Metrics.CascadePanelHeaderFontSize` | `G9Metrics.CascadePanelHeaderFontSize` = 15; CSS `--g9-metric-cascade-panel-header-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
220
|
+
| `G9Metrics.CascadePanelBackIconSize` | `G9Metrics.CascadePanelBackIconSize` = 22; CSS `--g9-metric-cascade-panel-back-icon-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
221
|
+
| `G9Metrics.CascadePanelHeaderPadding` | `G9Metrics.CascadePanelHeaderPadding` = 8; CSS `--g9-metric-cascade-panel-header-padding` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
222
|
+
| `G9Metrics.CascadePanelParallaxFraction` | `G9Metrics.CascadePanelParallaxFraction` = 0.18; CSS `--g9-metric-cascade-panel-parallax-fraction` (unitless) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
223
|
+
| `G9Metrics.CascadePanelUnderlayDimOpacity` | `G9Metrics.CascadePanelUnderlayDimOpacity` = 0.55; CSS `--g9-metric-cascade-panel-underlay-dim-opacity` (unitless) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
224
|
+
| `G9Metrics.PressDurationMs` | `G9Metrics.PressDurationMs` = 80; CSS `--g9-metric-press-duration-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
225
|
+
| `G9Metrics.ReleaseDurationMs` | `G9Metrics.ReleaseDurationMs` = 150; CSS `--g9-metric-release-duration-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
226
|
+
| `G9Metrics.HoverDurationMs` | `G9Metrics.HoverDurationMs` = 80; CSS `--g9-metric-hover-duration-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
227
|
+
| `G9Metrics.RippleDurationMs` | `G9Metrics.RippleDurationMs` = 350; CSS `--g9-metric-ripple-duration-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
228
|
+
| `G9Metrics.IconPressScaleTo` | `G9Metrics.IconPressScaleTo` = 0.92; CSS `--g9-metric-icon-press-scale-to` (unitless) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
229
|
+
| `G9Metrics.TabIndicatorDurationMs` | `G9Metrics.TabIndicatorDurationMs` = 240; CSS `--g9-metric-tab-indicator-duration-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
230
|
+
| `G9Metrics.TabContentTransitionMs` | `G9Metrics.TabContentTransitionMs` = 160; CSS `--g9-metric-tab-content-transition-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
231
|
+
| `G9Metrics.SwitchToggleDurationMs` | `G9Metrics.SwitchToggleDurationMs` = 240; CSS `--g9-metric-switch-toggle-duration-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
232
|
+
| `G9Metrics.ProgressValueDurationMs` | `G9Metrics.ProgressValueDurationMs` = 300; CSS `--g9-metric-progress-value-duration-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
233
|
+
| `G9Metrics.IndeterminateFrameMs` | `G9Metrics.IndeterminateFrameMs` = 16; CSS `--g9-metric-indeterminate-frame-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
234
|
+
| `G9Metrics.IndeterminateStep` | `G9Metrics.IndeterminateStep` = 0.012; CSS `--g9-metric-indeterminate-step` (unitless) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
235
|
+
| `G9Metrics.IntroOverlayOpacity` | `G9Metrics.IntroOverlayOpacity` = 0.52; CSS `--g9-metric-intro-overlay-opacity` (unitless) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
236
|
+
| `G9Metrics.IntroOverlayTopOpacityRatio` | `G9Metrics.IntroOverlayTopOpacityRatio` = 0.4; CSS `--g9-metric-intro-overlay-top-opacity-ratio` (unitless) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
237
|
+
| `G9Metrics.IntroStartupCoverFadeDurationMs` | `G9Metrics.IntroStartupCoverFadeDurationMs` = 320; CSS `--g9-metric-intro-startup-cover-fade-duration-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
238
|
+
| `G9Metrics.IntroInitialVideoSeekTimeoutMs` | `G9Metrics.IntroInitialVideoSeekTimeoutMs` = 900; CSS `--g9-metric-intro-initial-video-seek-timeout-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
239
|
+
| `G9Metrics.IntroMediaFadeInDurationMs` | `G9Metrics.IntroMediaFadeInDurationMs` = 420; CSS `--g9-metric-intro-media-fade-in-duration-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
240
|
+
| `G9Metrics.IntroMediaFadeOutDurationMs` | `G9Metrics.IntroMediaFadeOutDurationMs` = 420; CSS `--g9-metric-intro-media-fade-out-duration-ms` (ms) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
241
|
+
| `G9Metrics.IntroLogoWidth` | `G9Metrics.IntroLogoWidth` = 192; CSS `--g9-metric-intro-logo-width` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
242
|
+
| `G9Metrics.IntroLogoHeight` | `G9Metrics.IntroLogoHeight` = 34; CSS `--g9-metric-intro-logo-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
243
|
+
| `G9Metrics.IntroTitleFontSize` | `G9Metrics.IntroTitleFontSize` = 18; CSS `--g9-metric-intro-title-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
244
|
+
| `G9Metrics.IntroSubtitleFontSize` | `G9Metrics.IntroSubtitleFontSize` = 14; CSS `--g9-metric-intro-subtitle-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
245
|
+
| `G9Metrics.IntroNavFontSize` | `G9Metrics.IntroNavFontSize` = 14; CSS `--g9-metric-intro-nav-font-size` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
246
|
+
| `G9Metrics.IntroStepActiveWidth` | `G9Metrics.IntroStepActiveWidth` = 28; CSS `--g9-metric-intro-step-active-width` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
247
|
+
| `G9Metrics.IntroStepInactiveWidth` | `G9Metrics.IntroStepInactiveWidth` = 20; CSS `--g9-metric-intro-step-inactive-width` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
248
|
+
| `G9Metrics.IntroStepHeight` | `G9Metrics.IntroStepHeight` = 4; CSS `--g9-metric-intro-step-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
249
|
+
| `G9Metrics.IntroStepSpacing` | `G9Metrics.IntroStepSpacing` = 6; CSS `--g9-metric-intro-step-spacing` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
250
|
+
| `G9Metrics.IntroChromePadding` | `G9Metrics.IntroChromePadding` = 20; CSS `--g9-metric-intro-chrome-padding` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
251
|
+
| `G9Metrics.IntroHeaderTopPadding` | `G9Metrics.IntroHeaderTopPadding` = 16; CSS `--g9-metric-intro-header-top-padding` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
252
|
+
| `G9Metrics.IntroLogoTopMargin` | `G9Metrics.IntroLogoTopMargin` = 48; CSS `--g9-metric-intro-logo-top-margin` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
253
|
+
| `G9Metrics.IntroTextBottomMargin` | `G9Metrics.IntroTextBottomMargin` = 12; CSS `--g9-metric-intro-text-bottom-margin` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
254
|
+
| `G9Metrics.IntroNavMinTouchHeight` | `G9Metrics.IntroNavMinTouchHeight` = 48; CSS `--g9-metric-intro-nav-min-touch-height` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
255
|
+
| `G9Metrics.IntroNavMinTouchWidth` | `G9Metrics.IntroNavMinTouchWidth` = 72; CSS `--g9-metric-intro-nav-min-touch-width` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
256
|
+
| `G9Metrics.IntroContentBottomPadding` | `G9Metrics.IntroContentBottomPadding` = 24; CSS `--g9-metric-intro-content-bottom-padding` (px) | preserved | tokens.test.ts "reproduces all 171 values…" |
|
|
257
|
+
|
|
258
|
+
## `G9Calendar` (WP01.2)
|
|
259
|
+
|
|
260
|
+
Dates are `G9LocalDate` / `G9LocalDateTime` values (frozen `{ year, month, day[, hour, minute, second, millisecond] }`,
|
|
261
|
+
years 1–9999, millisecond precision: .NET ticks are truncated), with converters to/from epoch ms at an explicit UTC
|
|
262
|
+
offset, ISO strings and `Date` (plan/specs/03-API-Conventions.md §2). The Persian view comes from
|
|
263
|
+
`@internationalized/date` 3.12.4 (Intl-free subset), kept internal. Source: `calendar.ts`, `date-format.ts`.
|
|
264
|
+
|
|
265
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
266
|
+
| --- | --- | --- | --- |
|
|
267
|
+
| `G9Calendar.PersianMinSupportedDateTime` | `persianMinSupportedDateTime` = 0622-03-22T00:00 | preserved | calendar.test.ts "keeps the MAUI supported range and clamps like G9Calendar.ClampToPersianRange" |
|
|
268
|
+
| `G9Calendar.PersianMaxSupportedDateTime` | `persianMaxSupportedDateTime` = 9999-12-31T23:59:59.999 (the last tick truncated to the millisecond) | preserved | calendar.test.ts "keeps the MAUI supported range and clamps like G9Calendar.ClampToPersianRange" |
|
|
269
|
+
| `G9Calendar.IsPersianLanguage` | `isPersianLanguage(cultureOrLocale)` (`null`/`undefined` → `false`) | preserved | culture.test.ts "isPersianLanguage matches G9Calendar.IsPersianLanguage for every golden culture" |
|
|
270
|
+
| `G9Calendar.IsSupportedByPersianCalendar` | `isSupportedByPersianCalendar(value)` | preserved | calendar.test.ts "keeps the MAUI supported range and clamps like G9Calendar.ClampToPersianRange" |
|
|
271
|
+
| `G9Calendar.ClampToPersianRange` | `clampToPersianRange(value)`: a date stays a date, a date-time a date-time (the `DateTime.Kind` rule has no counterpart: values carry no zone) | preserved | calendar.test.ts "keeps the MAUI supported range and clamps like G9Calendar.ClampToPersianRange" |
|
|
272
|
+
| `G9Calendar.GetGregorianFormatCulture` | `formatLocalDateTime(value, pattern, culture, { calendar: 'gregorian' })`: .NET-style patterns (`yyyy MM dd HH mm ss fff tt`, names, quotes) written without Intl | idiomatic: the calendar is an explicit option instead of a cloned `CultureInfo`; culture patterns are the caller's (.NET pattern data is not shipped) | calendar.test.ts "reproduces the golden Gregorian samples given each culture pattern"; "writes the culture's calendar, names and digits by default" |
|
|
273
|
+
|
|
274
|
+
Persian calendar behaviour (`toCalendarDate`, `fromCalendarDate`, `persianNewYear`, `isLeapYear`, `daysInMonth`):
|
|
275
|
+
|
|
276
|
+
- **1200–1501 AP: identical to .NET** `PersianCalendar` (Nowruz, leap year and Esfand length for all 302 golden years;
|
|
277
|
+
all 2,999 golden month-edge days 1990–2060, both directions).
|
|
278
|
+
- **1502 AP and later: `changed`.** The port follows `@internationalized/date`, which differs from .NET in these years
|
|
279
|
+
up to 1700 AP (ours / .NET): 1502 Esfand 30 / 29; 1503 Nowruz 2124-03-21 / 2124-03-20, Esfand 29 / 30; 1535 Esfand
|
|
280
|
+
30 / 29; 1536 Nowruz 2157-03-21 / 2157-03-20; 1601 Esfand 30 / 29; 1602 Nowruz 2223-03-22 / 2223-03-21; 1634 Esfand
|
|
281
|
+
30 / 29; 1635 Nowruz 2256-03-21 / 2256-03-20; 1667 Esfand 30 / 29; 1668 Nowruz 2289-03-21 / 2289-03-20; 1700 Esfand
|
|
282
|
+
30 / 29. Every JS library tested diverges here (plan/probes E09). Test: calendar.test.ts "documents 1502+ AP: the
|
|
283
|
+
library rule, which differs from .NET in exactly these years up to 1700".
|
|
284
|
+
- **Range edges: `changed`.** 0622-03-22 is 0001/01/02 AP here (.NET 0001/01/01), so 0001/01/01 AP cannot be written.
|
|
285
|
+
The library's Persian years end at 9377 AP: the last Persian date is 9999-03-20 (9377/12/30); later Gregorian days
|
|
286
|
+
(.NET: up to 9378/10/10 on 9999-12-31) throw `G9Error('calendar-out-of-range')` instead of the wrong date the
|
|
287
|
+
library would return. Test: calendar.test.ts "documents the edges of the library range: 0622-03-22 is 0001/01/02 AP (.NET: 0001/01/01), the last day 9999-03-20".
|
|
288
|
+
- Month and weekday names (`getMonthNames`, `getMonthName`, `getWeekdayNames`) are tables for fa, ar and en (other
|
|
289
|
+
languages use English): Farvardin…Esfand / فروردین…اسفند, January…December / ژانویه…دسامبر / يناير…ديسمبر.
|
|
290
|
+
|
|
291
|
+
## `G9Digits` (WP01.2)
|
|
292
|
+
|
|
293
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
294
|
+
| --- | --- | --- | --- |
|
|
295
|
+
| `G9Digits.NormalizeToAscii(char c)` | `normalizeToAscii(ch)` on a one-character string; `digitValue(codeUnit)` gives the value | idiomatic: JavaScript has no `char` | digits.test.ts "maps exactly the golden BMP characters and leaves every other code unit unchanged" |
|
|
296
|
+
| `G9Digits.NormalizeToAscii(string? text)` | `normalizeToAscii(text)` (`null`/`undefined` → `''`, the input returned unchanged when nothing changes) | preserved | digits.test.ts "matches every golden string case, null included"; "returns the same string instance when there is nothing to replace" |
|
|
297
|
+
|
|
298
|
+
Additive: `toNativeDigits(text, numberingSystem)`, and number formatting without Intl in `numbers.ts`
|
|
299
|
+
(`formatNumber`, `parseNumber`, `getNumberSymbols`: `,`/`.` for Latin, `٬`/`٫` for Persian and Arabic-Indic digits).
|
|
300
|
+
|
|
301
|
+
## `G9TimeSpanMath` (WP01.2)
|
|
302
|
+
|
|
303
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
304
|
+
| --- | --- | --- | --- |
|
|
305
|
+
| `G9TimeSpanMath.DaysPerYear` | `G9TimeSpanMath.DaysPerYear` = 365 | preserved | duration.test.ts "keeps the MAUI constants" |
|
|
306
|
+
| `G9TimeSpanMath.DaysPerMonth` | `G9TimeSpanMath.DaysPerMonth` = 30 | preserved | duration.test.ts "keeps the MAUI constants" |
|
|
307
|
+
| `G9TimeSpanMath.MaxMonths` | `G9TimeSpanMath.MaxMonths` = 11 | preserved | duration.test.ts "keeps the MAUI constants" |
|
|
308
|
+
| `G9TimeSpanMath.Decompose` | `decomposeDays(totalDays)` → `{ years, months, days }`; a non-integer throws `G9Error('duration-invalid')` | renamed | duration.test.ts "decomposes every golden day count, negatives and int32 extremes included" |
|
|
309
|
+
| `G9TimeSpanMath.Compose` | `composeDays(years, months, days)`, saturating at 2,147,483,647 | renamed | duration.test.ts "composes every golden grid point, negatives and int.MaxValue saturation included"; "compose(decompose(n)) === n for every non-negative int32 (property)" |
|
|
310
|
+
|
|
311
|
+
Durations travel as milliseconds (specs/03 §2): `daysToMs`, `msToWholeDays` (truncates toward zero like
|
|
312
|
+
`TimeSpan.Days`), `MS_PER_DAY`.
|
|
313
|
+
|
|
314
|
+
## `G9CascadeDirection`
|
|
315
|
+
|
|
316
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
317
|
+
| --- | --- | --- | --- |
|
|
318
|
+
| `G9CascadeDirection.Auto` | `G9CascadeDirection.Auto` (`'auto'`) | preserved | enums.test.ts "G9CascadeDirection has every member in MAUI order with camelCase values" |
|
|
319
|
+
| `G9CascadeDirection.LeftToRight` | `G9CascadeDirection.LeftToRight` (`'leftToRight'`) | preserved | enums.test.ts "G9CascadeDirection has every member in MAUI order with camelCase values" |
|
|
320
|
+
| `G9CascadeDirection.RightToLeft` | `G9CascadeDirection.RightToLeft` (`'rightToLeft'`) | preserved | enums.test.ts "G9CascadeDirection has every member in MAUI order with camelCase values" |
|
|
321
|
+
| `G9CascadeDirection.TopToBottom` | `G9CascadeDirection.TopToBottom` (`'topToBottom'`) | preserved | enums.test.ts "G9CascadeDirection has every member in MAUI order with camelCase values" |
|
|
322
|
+
| `G9CascadeDirection.BottomToTop` | `G9CascadeDirection.BottomToTop` (`'bottomToTop'`) | preserved | enums.test.ts "G9CascadeDirection has every member in MAUI order with camelCase values" |
|
|
323
|
+
|
|
324
|
+
## `G9CascadeTransition`
|
|
325
|
+
|
|
326
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
327
|
+
| --- | --- | --- | --- |
|
|
328
|
+
| `G9CascadeTransition.Overlay` | `G9CascadeTransition.Overlay` (`'overlay'`) | preserved | enums.test.ts "G9CascadeTransition has every member in MAUI order with camelCase values" |
|
|
329
|
+
| `G9CascadeTransition.Push` | `G9CascadeTransition.Push` (`'push'`) | preserved | enums.test.ts "G9CascadeTransition has every member in MAUI order with camelCase values" |
|
|
330
|
+
|
|
331
|
+
## `G9ChipGroupLayoutMode`
|
|
332
|
+
|
|
333
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
334
|
+
| --- | --- | --- | --- |
|
|
335
|
+
| `G9ChipGroupLayoutMode.Wrap` | `G9ChipGroupLayoutMode.Wrap` (`'wrap'`) | preserved | enums.test.ts "G9ChipGroupLayoutMode has every member in MAUI order with camelCase values" |
|
|
336
|
+
| `G9ChipGroupLayoutMode.SingleLineScroll` | `G9ChipGroupLayoutMode.SingleLineScroll` (`'singleLineScroll'`) | preserved | enums.test.ts "G9ChipGroupLayoutMode has every member in MAUI order with camelCase values" |
|
|
337
|
+
|
|
338
|
+
## `G9ChipGroupSelectionMode`
|
|
339
|
+
|
|
340
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
341
|
+
| --- | --- | --- | --- |
|
|
342
|
+
| `G9ChipGroupSelectionMode.MultiSelection` | `G9ChipGroupSelectionMode.MultiSelection` (`'multiSelection'`) | preserved | enums.test.ts "G9ChipGroupSelectionMode has every member in MAUI order with camelCase values" |
|
|
343
|
+
| `G9ChipGroupSelectionMode.SingleSelection` | `G9ChipGroupSelectionMode.SingleSelection` (`'singleSelection'`) | preserved | enums.test.ts "G9ChipGroupSelectionMode has every member in MAUI order with camelCase values" |
|
|
344
|
+
|
|
345
|
+
## `G9ControlSize`
|
|
346
|
+
|
|
347
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
348
|
+
| --- | --- | --- | --- |
|
|
349
|
+
| `G9ControlSize.Small` | `G9ControlSize.Small` (`'small'`) | preserved | enums.test.ts "G9ControlSize has every member in MAUI order with camelCase values" |
|
|
350
|
+
| `G9ControlSize.Medium` | `G9ControlSize.Medium` (`'medium'`) | preserved | enums.test.ts "G9ControlSize has every member in MAUI order with camelCase values" |
|
|
351
|
+
| `G9ControlSize.Large` | `G9ControlSize.Large` (`'large'`) | preserved | enums.test.ts "G9ControlSize has every member in MAUI order with camelCase values" |
|
|
352
|
+
| `G9ControlSize.Hero` | `G9ControlSize.Hero` (`'hero'`) | preserved | enums.test.ts "G9ControlSize has every member in MAUI order with camelCase values" |
|
|
353
|
+
|
|
354
|
+
## `G9DateTimeDisplayFormat`
|
|
355
|
+
|
|
356
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
357
|
+
| --- | --- | --- | --- |
|
|
358
|
+
| `G9DateTimeDisplayFormat.ShortDate` | `G9DateTimeDisplayFormat.ShortDate` (`'shortDate'`) | preserved | enums.test.ts "G9DateTimeDisplayFormat has every member in MAUI order with camelCase values" |
|
|
359
|
+
| `G9DateTimeDisplayFormat.LongDate` | `G9DateTimeDisplayFormat.LongDate` (`'longDate'`) | preserved | enums.test.ts "G9DateTimeDisplayFormat has every member in MAUI order with camelCase values" |
|
|
360
|
+
| `G9DateTimeDisplayFormat.TimeOnly` | `G9DateTimeDisplayFormat.TimeOnly` (`'timeOnly'`) | preserved | enums.test.ts "G9DateTimeDisplayFormat has every member in MAUI order with camelCase values" |
|
|
361
|
+
| `G9DateTimeDisplayFormat.ShortDateTime` | `G9DateTimeDisplayFormat.ShortDateTime` (`'shortDateTime'`) | preserved | enums.test.ts "G9DateTimeDisplayFormat has every member in MAUI order with camelCase values" |
|
|
362
|
+
| `G9DateTimeDisplayFormat.LongDateTime` | `G9DateTimeDisplayFormat.LongDateTime` (`'longDateTime'`) | preserved | enums.test.ts "G9DateTimeDisplayFormat has every member in MAUI order with camelCase values" |
|
|
363
|
+
| `G9DateTimeDisplayFormat.Custom` | `G9DateTimeDisplayFormat.Custom` (`'custom'`) | preserved | enums.test.ts "G9DateTimeDisplayFormat has every member in MAUI order with camelCase values" |
|
|
364
|
+
|
|
365
|
+
## `G9DateTimePickerMode`
|
|
366
|
+
|
|
367
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
368
|
+
| --- | --- | --- | --- |
|
|
369
|
+
| `G9DateTimePickerMode.Date` | `G9DateTimePickerMode.Date` (`'date'`) | preserved | enums.test.ts "G9DateTimePickerMode has every member in MAUI order with camelCase values" |
|
|
370
|
+
| `G9DateTimePickerMode.Time` | `G9DateTimePickerMode.Time` (`'time'`) | preserved | enums.test.ts "G9DateTimePickerMode has every member in MAUI order with camelCase values" |
|
|
371
|
+
| `G9DateTimePickerMode.DateTime` | `G9DateTimePickerMode.DateTime` (`'dateTime'`) | preserved | enums.test.ts "G9DateTimePickerMode has every member in MAUI order with camelCase values" |
|
|
372
|
+
|
|
373
|
+
## `G9FilledValueHighlight`
|
|
374
|
+
|
|
375
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
376
|
+
| --- | --- | --- | --- |
|
|
377
|
+
| `G9FilledValueHighlight.Inherit` | `G9FilledValueHighlight.Inherit` (`'inherit'`) | preserved | enums.test.ts "G9FilledValueHighlight has every member in MAUI order with camelCase values" |
|
|
378
|
+
| `G9FilledValueHighlight.Accent` | `G9FilledValueHighlight.Accent` (`'accent'`) | preserved | enums.test.ts "G9FilledValueHighlight has every member in MAUI order with camelCase values" |
|
|
379
|
+
| `G9FilledValueHighlight.Neutral` | `G9FilledValueHighlight.Neutral` (`'neutral'`) | preserved | enums.test.ts "G9FilledValueHighlight has every member in MAUI order with camelCase values" |
|
|
380
|
+
|
|
381
|
+
## `G9InputType`
|
|
382
|
+
|
|
383
|
+
The enum only. The policy behind it (keyboard per type, live filter, blur validation, LTR preference: MAUI's internal `G9InputTypePolicy`) ships with the fields in WP03.
|
|
384
|
+
|
|
385
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
386
|
+
| --- | --- | --- | --- |
|
|
387
|
+
| `G9InputType.Default` | `G9InputType.Default` (`'default'`) | preserved | enums.test.ts "G9InputType has every member in MAUI order with camelCase values"; "G9InputType keeps the 16 MAUI members, including the Persian and custom ones" |
|
|
388
|
+
| `G9InputType.Number` | `G9InputType.Number` (`'number'`) | preserved | enums.test.ts "G9InputType has every member in MAUI order with camelCase values"; "G9InputType keeps the 16 MAUI members, including the Persian and custom ones" |
|
|
389
|
+
| `G9InputType.Decimal` | `G9InputType.Decimal` (`'decimal'`) | preserved | enums.test.ts "G9InputType has every member in MAUI order with camelCase values"; "G9InputType keeps the 16 MAUI members, including the Persian and custom ones" |
|
|
390
|
+
| `G9InputType.SignedNumber` | `G9InputType.SignedNumber` (`'signedNumber'`) | preserved | enums.test.ts "G9InputType has every member in MAUI order with camelCase values"; "G9InputType keeps the 16 MAUI members, including the Persian and custom ones" |
|
|
391
|
+
| `G9InputType.SignedDecimal` | `G9InputType.SignedDecimal` (`'signedDecimal'`) | preserved | enums.test.ts "G9InputType has every member in MAUI order with camelCase values"; "G9InputType keeps the 16 MAUI members, including the Persian and custom ones" |
|
|
392
|
+
| `G9InputType.Phone` | `G9InputType.Phone` (`'phone'`) | preserved | enums.test.ts "G9InputType has every member in MAUI order with camelCase values"; "G9InputType keeps the 16 MAUI members, including the Persian and custom ones" |
|
|
393
|
+
| `G9InputType.Email` | `G9InputType.Email` (`'email'`) | preserved | enums.test.ts "G9InputType has every member in MAUI order with camelCase values"; "G9InputType keeps the 16 MAUI members, including the Persian and custom ones" |
|
|
394
|
+
| `G9InputType.Url` | `G9InputType.Url` (`'url'`) | preserved | enums.test.ts "G9InputType has every member in MAUI order with camelCase values"; "G9InputType keeps the 16 MAUI members, including the Persian and custom ones" |
|
|
395
|
+
| `G9InputType.Letters` | `G9InputType.Letters` (`'letters'`) | preserved | enums.test.ts "G9InputType has every member in MAUI order with camelCase values"; "G9InputType keeps the 16 MAUI members, including the Persian and custom ones" |
|
|
396
|
+
| `G9InputType.LettersAndNumbers` | `G9InputType.LettersAndNumbers` (`'lettersAndNumbers'`) | preserved | enums.test.ts "G9InputType has every member in MAUI order with camelCase values"; "G9InputType keeps the 16 MAUI members, including the Persian and custom ones" |
|
|
397
|
+
| `G9InputType.LettersNumbersSpace` | `G9InputType.LettersNumbersSpace` (`'lettersNumbersSpace'`) | preserved | enums.test.ts "G9InputType has every member in MAUI order with camelCase values"; "G9InputType keeps the 16 MAUI members, including the Persian and custom ones" |
|
|
398
|
+
| `G9InputType.PersianLetters` | `G9InputType.PersianLetters` (`'persianLetters'`) | preserved | enums.test.ts "G9InputType has every member in MAUI order with camelCase values"; "G9InputType keeps the 16 MAUI members, including the Persian and custom ones" |
|
|
399
|
+
| `G9InputType.PersianLettersAndNumbers` | `G9InputType.PersianLettersAndNumbers` (`'persianLettersAndNumbers'`) | preserved | enums.test.ts "G9InputType has every member in MAUI order with camelCase values"; "G9InputType keeps the 16 MAUI members, including the Persian and custom ones" |
|
|
400
|
+
| `G9InputType.MultilingualLettersAndNumbers` | `G9InputType.MultilingualLettersAndNumbers` (`'multilingualLettersAndNumbers'`) | preserved | enums.test.ts "G9InputType has every member in MAUI order with camelCase values"; "G9InputType keeps the 16 MAUI members, including the Persian and custom ones" |
|
|
401
|
+
| `G9InputType.NoSpecialChars` | `G9InputType.NoSpecialChars` (`'noSpecialChars'`) | preserved | enums.test.ts "G9InputType has every member in MAUI order with camelCase values"; "G9InputType keeps the 16 MAUI members, including the Persian and custom ones" |
|
|
402
|
+
| `G9InputType.Custom` | `G9InputType.Custom` (`'custom'`) | preserved | enums.test.ts "G9InputType has every member in MAUI order with camelCase values"; "G9InputType keeps the 16 MAUI members, including the Persian and custom ones" |
|
|
403
|
+
|
|
404
|
+
## `G9KeyboardType`
|
|
405
|
+
|
|
406
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
407
|
+
| --- | --- | --- | --- |
|
|
408
|
+
| `G9KeyboardType.Default` | `G9KeyboardType.Default` (`'default'`) | preserved | enums.test.ts "G9KeyboardType has every member in MAUI order with camelCase values" |
|
|
409
|
+
| `G9KeyboardType.Email` | `G9KeyboardType.Email` (`'email'`) | preserved | enums.test.ts "G9KeyboardType has every member in MAUI order with camelCase values" |
|
|
410
|
+
| `G9KeyboardType.Phone` | `G9KeyboardType.Phone` (`'phone'`) | preserved | enums.test.ts "G9KeyboardType has every member in MAUI order with camelCase values" |
|
|
411
|
+
| `G9KeyboardType.Number` | `G9KeyboardType.Number` (`'number'`) | preserved | enums.test.ts "G9KeyboardType has every member in MAUI order with camelCase values" |
|
|
412
|
+
| `G9KeyboardType.Url` | `G9KeyboardType.Url` (`'url'`) | preserved | enums.test.ts "G9KeyboardType has every member in MAUI order with camelCase values" |
|
|
413
|
+
| `G9KeyboardType.Password` | `G9KeyboardType.Password` (`'password'`) | preserved | enums.test.ts "G9KeyboardType has every member in MAUI order with camelCase values" |
|
|
414
|
+
|
|
415
|
+
## `G9PinEntryType`
|
|
416
|
+
|
|
417
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
418
|
+
| --- | --- | --- | --- |
|
|
419
|
+
| `G9PinEntryType.Number` | `G9PinEntryType.Number` (`'number'`) | preserved | enums.test.ts "G9PinEntryType has every member in MAUI order with camelCase values" |
|
|
420
|
+
| `G9PinEntryType.Letters` | `G9PinEntryType.Letters` (`'letters'`) | preserved | enums.test.ts "G9PinEntryType has every member in MAUI order with camelCase values" |
|
|
421
|
+
| `G9PinEntryType.Alphanumeric` | `G9PinEntryType.Alphanumeric` (`'alphanumeric'`) | preserved | enums.test.ts "G9PinEntryType has every member in MAUI order with camelCase values" |
|
|
422
|
+
| `G9PinEntryType.Password` | `G9PinEntryType.Password` (`'password'`) | preserved | enums.test.ts "G9PinEntryType has every member in MAUI order with camelCase values" |
|
|
423
|
+
|
|
424
|
+
## `G9ProgressLabelPlacement`
|
|
425
|
+
|
|
426
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
427
|
+
| --- | --- | --- | --- |
|
|
428
|
+
| `G9ProgressLabelPlacement.None` | `G9ProgressLabelPlacement.None` (`'none'`) | preserved | enums.test.ts "G9ProgressLabelPlacement has every member in MAUI order with camelCase values" |
|
|
429
|
+
| `G9ProgressLabelPlacement.Above` | `G9ProgressLabelPlacement.Above` (`'above'`) | preserved | enums.test.ts "G9ProgressLabelPlacement has every member in MAUI order with camelCase values" |
|
|
430
|
+
| `G9ProgressLabelPlacement.End` | `G9ProgressLabelPlacement.End` (`'end'`) | preserved | enums.test.ts "G9ProgressLabelPlacement has every member in MAUI order with camelCase values" |
|
|
431
|
+
|
|
432
|
+
## `G9RangeSliderMode`
|
|
433
|
+
|
|
434
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
435
|
+
| --- | --- | --- | --- |
|
|
436
|
+
| `G9RangeSliderMode.Single` | `G9RangeSliderMode.Single` (`'single'`) | preserved | enums.test.ts "G9RangeSliderMode has every member in MAUI order with camelCase values" |
|
|
437
|
+
| `G9RangeSliderMode.Range` | `G9RangeSliderMode.Range` (`'range'`) | preserved | enums.test.ts "G9RangeSliderMode has every member in MAUI order with camelCase values" |
|
|
438
|
+
|
|
439
|
+
## `G9SeparatorTitleAlignment`
|
|
440
|
+
|
|
441
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
442
|
+
| --- | --- | --- | --- |
|
|
443
|
+
| `G9SeparatorTitleAlignment.Auto` | `G9SeparatorTitleAlignment.Auto` (`'auto'`) | preserved | enums.test.ts "G9SeparatorTitleAlignment has every member in MAUI order with camelCase values" |
|
|
444
|
+
| `G9SeparatorTitleAlignment.Start` | `G9SeparatorTitleAlignment.Start` (`'start'`) | preserved | enums.test.ts "G9SeparatorTitleAlignment has every member in MAUI order with camelCase values" |
|
|
445
|
+
| `G9SeparatorTitleAlignment.Center` | `G9SeparatorTitleAlignment.Center` (`'center'`) | preserved | enums.test.ts "G9SeparatorTitleAlignment has every member in MAUI order with camelCase values" |
|
|
446
|
+
| `G9SeparatorTitleAlignment.End` | `G9SeparatorTitleAlignment.End` (`'end'`) | preserved | enums.test.ts "G9SeparatorTitleAlignment has every member in MAUI order with camelCase values" |
|
|
447
|
+
|
|
448
|
+
## `G9TabBarPosition`
|
|
449
|
+
|
|
450
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
451
|
+
| --- | --- | --- | --- |
|
|
452
|
+
| `G9TabBarPosition.Top` | `G9TabBarPosition.Top` (`'top'`) | preserved | enums.test.ts "G9TabBarPosition has every member in MAUI order with camelCase values" |
|
|
453
|
+
| `G9TabBarPosition.Bottom` | `G9TabBarPosition.Bottom` (`'bottom'`) | preserved | enums.test.ts "G9TabBarPosition has every member in MAUI order with camelCase values" |
|
|
454
|
+
|
|
455
|
+
## `G9TabMode`
|
|
456
|
+
|
|
457
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
458
|
+
| --- | --- | --- | --- |
|
|
459
|
+
| `G9TabMode.Fixed` | `G9TabMode.Fixed` (`'fixed'`) | preserved | enums.test.ts "G9TabMode has every member in MAUI order with camelCase values" |
|
|
460
|
+
| `G9TabMode.Scrollable` | `G9TabMode.Scrollable` (`'scrollable'`) | preserved | enums.test.ts "G9TabMode has every member in MAUI order with camelCase values" |
|
|
461
|
+
|
|
462
|
+
## `G9TabStyle`
|
|
463
|
+
|
|
464
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
465
|
+
| --- | --- | --- | --- |
|
|
466
|
+
| `G9TabStyle.Underlined` | `G9TabStyle.Underlined` (`'underlined'`) | preserved | enums.test.ts "G9TabStyle has every member in MAUI order with camelCase values" |
|
|
467
|
+
| `G9TabStyle.Pill` | `G9TabStyle.Pill` (`'pill'`) | preserved | enums.test.ts "G9TabStyle has every member in MAUI order with camelCase values" |
|
|
468
|
+
|
|
469
|
+
## `G9TextInputDirection`
|
|
470
|
+
|
|
471
|
+
| MAUI | Lynx | Disposition | Tests |
|
|
472
|
+
| --- | --- | --- | --- |
|
|
473
|
+
| `G9TextInputDirection.MatchParent` | `G9TextInputDirection.MatchParent` (`'matchParent'`) | preserved | enums.test.ts "G9TextInputDirection has every member in MAUI order with camelCase values" |
|
|
474
|
+
| `G9TextInputDirection.LeftToRight` | `G9TextInputDirection.LeftToRight` (`'leftToRight'`) | preserved | enums.test.ts "G9TextInputDirection has every member in MAUI order with camelCase values" |
|
|
475
|
+
| `G9TextInputDirection.RightToLeft` | `G9TextInputDirection.RightToLeft` (`'rightToLeft'`) | preserved | enums.test.ts "G9TextInputDirection has every member in MAUI order with camelCase values" |
|