@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,349 @@
|
|
|
1
|
+
const G9Metrics = {
|
|
2
|
+
RadiusXs: 6,
|
|
3
|
+
RadiusSm: 8,
|
|
4
|
+
RadiusMd: 12,
|
|
5
|
+
RadiusLg: 16,
|
|
6
|
+
RadiusXl: 20,
|
|
7
|
+
RadiusPill: 999,
|
|
8
|
+
ControlHeight: 52,
|
|
9
|
+
ButtonHeightSmall: 36,
|
|
10
|
+
ButtonHeightMedium: 44,
|
|
11
|
+
ButtonHeightLarge: 48,
|
|
12
|
+
ButtonHeightHero: 52,
|
|
13
|
+
InputHorizontalPadding: 14,
|
|
14
|
+
InputIconSize: 20,
|
|
15
|
+
LeadingIconOuterMargin: 12,
|
|
16
|
+
LeadingIconInnerMargin: 8,
|
|
17
|
+
TrailingIconOuterMargin: 12,
|
|
18
|
+
TrailingIconInnerMargin: 8,
|
|
19
|
+
LeadingIconSlotWidth: 40,
|
|
20
|
+
TrailingIconSlotWidth: 40,
|
|
21
|
+
EditorTrailingIconBottomInset: 8,
|
|
22
|
+
EditorTrailingSlotHeight: 36,
|
|
23
|
+
InputLabelLeadingIconOffset: 26,
|
|
24
|
+
FloatingLabelFloatedExtraX: 8,
|
|
25
|
+
OutlineNotchTextGap: 8,
|
|
26
|
+
FloatingLabelFontSizeFloat: 11,
|
|
27
|
+
FloatingLabelFontSizeRest: 15,
|
|
28
|
+
FloatingLabelHeight: 22,
|
|
29
|
+
FloatingLabelFloatedY: -11,
|
|
30
|
+
FloatingLabelRestScale: 1,
|
|
31
|
+
FloatingLabelFloatedScale: 0.78,
|
|
32
|
+
FloatingLabelDurationMs: 160,
|
|
33
|
+
FloatingLabelClearance: 6,
|
|
34
|
+
HelperFontSize: 11.5,
|
|
35
|
+
CounterFontSize: 11,
|
|
36
|
+
OutlinedFieldStrokeThickness: 1.5,
|
|
37
|
+
OutlinedFieldEmphasisStrokeThickness: 2.5,
|
|
38
|
+
OutlinedFieldFocusHaloThickness: 6,
|
|
39
|
+
FocusRingOpacity: 0.22,
|
|
40
|
+
ButtonFontSmall: 12,
|
|
41
|
+
ButtonFontMedium: 14,
|
|
42
|
+
ButtonFontLarge: 15,
|
|
43
|
+
ButtonFontHero: 16,
|
|
44
|
+
SwitchWidth: 56,
|
|
45
|
+
SwitchHeight: 32,
|
|
46
|
+
SwitchThumb: 24,
|
|
47
|
+
SwitchThumbPressed: 30,
|
|
48
|
+
SliderHeight: 104,
|
|
49
|
+
SliderHeightCompact: 36,
|
|
50
|
+
SliderTrackY: 52,
|
|
51
|
+
SliderTrackHeight: 8,
|
|
52
|
+
SliderThumbRadius: 14,
|
|
53
|
+
SliderHorizontalInset: 16,
|
|
54
|
+
SliderLabelGap: 18,
|
|
55
|
+
PinCellWidth: 44,
|
|
56
|
+
PinCellHeight: 52,
|
|
57
|
+
PinCellStrokeThickness: 1.4,
|
|
58
|
+
PinCellStrokeThicknessFocused: 2,
|
|
59
|
+
PinCellCornerRadius: 10,
|
|
60
|
+
PinCellSpacing: 8,
|
|
61
|
+
PinSeparatorSpacing: 6,
|
|
62
|
+
PinCellFontSize: 22,
|
|
63
|
+
PinSeparatorFontSize: 22,
|
|
64
|
+
ProgressBarHeight: 10,
|
|
65
|
+
ChipHeight: 36,
|
|
66
|
+
ChipHorizontalPadding: 14,
|
|
67
|
+
ChipFontSize: 13,
|
|
68
|
+
ChipIconSize: 16,
|
|
69
|
+
ChipSpacing: 6,
|
|
70
|
+
ChipSelectionAnimationMs: 140,
|
|
71
|
+
ChipCheckmarkAnimationMs: 120,
|
|
72
|
+
TabBarHeight: 52,
|
|
73
|
+
TabBarInnerPadding: 4,
|
|
74
|
+
TabBarRadius: 26,
|
|
75
|
+
TabPillVerticalInset: 2,
|
|
76
|
+
TabPillRadius: 18,
|
|
77
|
+
TabCellHorizontalPadding: 16,
|
|
78
|
+
TabBarToContentGap: 8,
|
|
79
|
+
TabFontSize: 13,
|
|
80
|
+
TabIconSize: 16,
|
|
81
|
+
TabBadgeHeight: 18,
|
|
82
|
+
TabContentRadius: 16,
|
|
83
|
+
TabUnderlineThickness: 2.5,
|
|
84
|
+
TabBarEdgeLineThickness: 1,
|
|
85
|
+
TabSeparatorThickness: 1,
|
|
86
|
+
TabSeparatorVerticalInset: 12,
|
|
87
|
+
TabContentDefaultPadding: 20,
|
|
88
|
+
DrumColumnHeight: 220,
|
|
89
|
+
DrumRowHeight: 44,
|
|
90
|
+
DrumLabelFontSize: 10,
|
|
91
|
+
DrumSelectedFontSize: 17,
|
|
92
|
+
DrumUnselectedFontSize: 16,
|
|
93
|
+
SelectionRowHeight: 52,
|
|
94
|
+
SelectionRowHorizontalPadding: 16,
|
|
95
|
+
SelectionMaxHeight: 520,
|
|
96
|
+
SelectionMinHeight: 220,
|
|
97
|
+
SelectionRowFontSize: 14,
|
|
98
|
+
SelectionIconSize: 18,
|
|
99
|
+
SelectionCheckBoxSize: 20,
|
|
100
|
+
SelectionCheckRadius: 6,
|
|
101
|
+
CheckBoxSize: 20,
|
|
102
|
+
CheckBoxCornerRadius: 6,
|
|
103
|
+
CheckBoxStrokeThickness: 2,
|
|
104
|
+
CheckBoxMarkStrokeThickness: 2,
|
|
105
|
+
CheckBoxHaloDiameter: 40,
|
|
106
|
+
CheckBoxLabelSpacing: 2,
|
|
107
|
+
CheckBoxLabelVerticalPadding: 12,
|
|
108
|
+
CheckBoxLabelFontSize: 14,
|
|
109
|
+
CheckBoxToggleDurationMs: 200,
|
|
110
|
+
CheckBoxMorphDurationMs: 150,
|
|
111
|
+
NavCardIconBadgeSize: 38,
|
|
112
|
+
NavCardPaddingX: 14,
|
|
113
|
+
NavCardPaddingY: 12,
|
|
114
|
+
NavCardTitleFontSize: 14,
|
|
115
|
+
NavCardSubtitleFontSize: 11.5,
|
|
116
|
+
NavCardValueFontSize: 13,
|
|
117
|
+
NavCardChevronSize: 24,
|
|
118
|
+
NavCardComingSoonFontSize: 10,
|
|
119
|
+
NavCardComingSoonPaddingX: 7,
|
|
120
|
+
NavCardComingSoonPaddingY: 3.5,
|
|
121
|
+
NavCardComingSoonRadius: 11,
|
|
122
|
+
SeparatorTitleFontSize: 10,
|
|
123
|
+
SeparatorIconSize: 12,
|
|
124
|
+
ExpanderHeaderHeight: 48,
|
|
125
|
+
ExpanderTitleFontSize: 15,
|
|
126
|
+
ExpanderIconSize: 20,
|
|
127
|
+
ExpanderChevronSize: 22,
|
|
128
|
+
ExpanderHeaderSpacing: 10,
|
|
129
|
+
ExpanderContentTopGap: 8,
|
|
130
|
+
ExpanderHeaderPaddingX: 14,
|
|
131
|
+
ExpanderChevronRotationMs: 220,
|
|
132
|
+
ExpanderContentAnimationMs: 220,
|
|
133
|
+
CascadePanelAnimationMs: 280,
|
|
134
|
+
CascadePanelHeaderHeight: 48,
|
|
135
|
+
CascadePanelHeaderFontSize: 15,
|
|
136
|
+
CascadePanelBackIconSize: 22,
|
|
137
|
+
CascadePanelHeaderPadding: 8,
|
|
138
|
+
CascadePanelParallaxFraction: 0.18,
|
|
139
|
+
CascadePanelUnderlayDimOpacity: 0.55,
|
|
140
|
+
PressDurationMs: 80,
|
|
141
|
+
ReleaseDurationMs: 150,
|
|
142
|
+
HoverDurationMs: 80,
|
|
143
|
+
RippleDurationMs: 350,
|
|
144
|
+
IconPressScaleTo: 0.92,
|
|
145
|
+
TabIndicatorDurationMs: 240,
|
|
146
|
+
TabContentTransitionMs: 160,
|
|
147
|
+
SwitchToggleDurationMs: 240,
|
|
148
|
+
ProgressValueDurationMs: 300,
|
|
149
|
+
IndeterminateFrameMs: 16,
|
|
150
|
+
IndeterminateStep: 0.012,
|
|
151
|
+
IntroOverlayOpacity: 0.52,
|
|
152
|
+
IntroOverlayTopOpacityRatio: 0.4,
|
|
153
|
+
IntroStartupCoverFadeDurationMs: 320,
|
|
154
|
+
IntroInitialVideoSeekTimeoutMs: 900,
|
|
155
|
+
IntroMediaFadeInDurationMs: 420,
|
|
156
|
+
IntroMediaFadeOutDurationMs: 420,
|
|
157
|
+
IntroLogoWidth: 192,
|
|
158
|
+
IntroLogoHeight: 34,
|
|
159
|
+
IntroTitleFontSize: 18,
|
|
160
|
+
IntroSubtitleFontSize: 14,
|
|
161
|
+
IntroNavFontSize: 14,
|
|
162
|
+
IntroStepActiveWidth: 28,
|
|
163
|
+
IntroStepInactiveWidth: 20,
|
|
164
|
+
IntroStepHeight: 4,
|
|
165
|
+
IntroStepSpacing: 6,
|
|
166
|
+
IntroChromePadding: 20,
|
|
167
|
+
IntroHeaderTopPadding: 16,
|
|
168
|
+
IntroLogoTopMargin: 48,
|
|
169
|
+
IntroTextBottomMargin: 12,
|
|
170
|
+
IntroNavMinTouchHeight: 48,
|
|
171
|
+
IntroNavMinTouchWidth: 72,
|
|
172
|
+
IntroContentBottomPadding: 24
|
|
173
|
+
};
|
|
174
|
+
const g9MetricUnits = {
|
|
175
|
+
RadiusXs: 'px',
|
|
176
|
+
RadiusSm: 'px',
|
|
177
|
+
RadiusMd: 'px',
|
|
178
|
+
RadiusLg: 'px',
|
|
179
|
+
RadiusXl: 'px',
|
|
180
|
+
RadiusPill: 'px',
|
|
181
|
+
ControlHeight: 'px',
|
|
182
|
+
ButtonHeightSmall: 'px',
|
|
183
|
+
ButtonHeightMedium: 'px',
|
|
184
|
+
ButtonHeightLarge: 'px',
|
|
185
|
+
ButtonHeightHero: 'px',
|
|
186
|
+
InputHorizontalPadding: 'px',
|
|
187
|
+
InputIconSize: 'px',
|
|
188
|
+
LeadingIconOuterMargin: 'px',
|
|
189
|
+
LeadingIconInnerMargin: 'px',
|
|
190
|
+
TrailingIconOuterMargin: 'px',
|
|
191
|
+
TrailingIconInnerMargin: 'px',
|
|
192
|
+
LeadingIconSlotWidth: 'px',
|
|
193
|
+
TrailingIconSlotWidth: 'px',
|
|
194
|
+
EditorTrailingIconBottomInset: 'px',
|
|
195
|
+
EditorTrailingSlotHeight: 'px',
|
|
196
|
+
InputLabelLeadingIconOffset: 'px',
|
|
197
|
+
FloatingLabelFloatedExtraX: 'px',
|
|
198
|
+
OutlineNotchTextGap: 'px',
|
|
199
|
+
FloatingLabelFontSizeFloat: 'px',
|
|
200
|
+
FloatingLabelFontSizeRest: 'px',
|
|
201
|
+
FloatingLabelHeight: 'px',
|
|
202
|
+
FloatingLabelFloatedY: 'px',
|
|
203
|
+
FloatingLabelRestScale: '',
|
|
204
|
+
FloatingLabelFloatedScale: '',
|
|
205
|
+
FloatingLabelDurationMs: 'ms',
|
|
206
|
+
FloatingLabelClearance: 'px',
|
|
207
|
+
HelperFontSize: 'px',
|
|
208
|
+
CounterFontSize: 'px',
|
|
209
|
+
OutlinedFieldStrokeThickness: 'px',
|
|
210
|
+
OutlinedFieldEmphasisStrokeThickness: 'px',
|
|
211
|
+
OutlinedFieldFocusHaloThickness: 'px',
|
|
212
|
+
FocusRingOpacity: '',
|
|
213
|
+
ButtonFontSmall: 'px',
|
|
214
|
+
ButtonFontMedium: 'px',
|
|
215
|
+
ButtonFontLarge: 'px',
|
|
216
|
+
ButtonFontHero: 'px',
|
|
217
|
+
SwitchWidth: 'px',
|
|
218
|
+
SwitchHeight: 'px',
|
|
219
|
+
SwitchThumb: 'px',
|
|
220
|
+
SwitchThumbPressed: 'px',
|
|
221
|
+
SliderHeight: 'px',
|
|
222
|
+
SliderHeightCompact: 'px',
|
|
223
|
+
SliderTrackY: 'px',
|
|
224
|
+
SliderTrackHeight: 'px',
|
|
225
|
+
SliderThumbRadius: 'px',
|
|
226
|
+
SliderHorizontalInset: 'px',
|
|
227
|
+
SliderLabelGap: 'px',
|
|
228
|
+
PinCellWidth: 'px',
|
|
229
|
+
PinCellHeight: 'px',
|
|
230
|
+
PinCellStrokeThickness: 'px',
|
|
231
|
+
PinCellStrokeThicknessFocused: 'px',
|
|
232
|
+
PinCellCornerRadius: 'px',
|
|
233
|
+
PinCellSpacing: 'px',
|
|
234
|
+
PinSeparatorSpacing: 'px',
|
|
235
|
+
PinCellFontSize: 'px',
|
|
236
|
+
PinSeparatorFontSize: 'px',
|
|
237
|
+
ProgressBarHeight: 'px',
|
|
238
|
+
ChipHeight: 'px',
|
|
239
|
+
ChipHorizontalPadding: 'px',
|
|
240
|
+
ChipFontSize: 'px',
|
|
241
|
+
ChipIconSize: 'px',
|
|
242
|
+
ChipSpacing: 'px',
|
|
243
|
+
ChipSelectionAnimationMs: 'ms',
|
|
244
|
+
ChipCheckmarkAnimationMs: 'ms',
|
|
245
|
+
TabBarHeight: 'px',
|
|
246
|
+
TabBarInnerPadding: 'px',
|
|
247
|
+
TabBarRadius: 'px',
|
|
248
|
+
TabPillVerticalInset: 'px',
|
|
249
|
+
TabPillRadius: 'px',
|
|
250
|
+
TabCellHorizontalPadding: 'px',
|
|
251
|
+
TabBarToContentGap: 'px',
|
|
252
|
+
TabFontSize: 'px',
|
|
253
|
+
TabIconSize: 'px',
|
|
254
|
+
TabBadgeHeight: 'px',
|
|
255
|
+
TabContentRadius: 'px',
|
|
256
|
+
TabUnderlineThickness: 'px',
|
|
257
|
+
TabBarEdgeLineThickness: 'px',
|
|
258
|
+
TabSeparatorThickness: 'px',
|
|
259
|
+
TabSeparatorVerticalInset: 'px',
|
|
260
|
+
TabContentDefaultPadding: 'px',
|
|
261
|
+
DrumColumnHeight: 'px',
|
|
262
|
+
DrumRowHeight: 'px',
|
|
263
|
+
DrumLabelFontSize: 'px',
|
|
264
|
+
DrumSelectedFontSize: 'px',
|
|
265
|
+
DrumUnselectedFontSize: 'px',
|
|
266
|
+
SelectionRowHeight: 'px',
|
|
267
|
+
SelectionRowHorizontalPadding: 'px',
|
|
268
|
+
SelectionMaxHeight: 'px',
|
|
269
|
+
SelectionMinHeight: 'px',
|
|
270
|
+
SelectionRowFontSize: 'px',
|
|
271
|
+
SelectionIconSize: 'px',
|
|
272
|
+
SelectionCheckBoxSize: 'px',
|
|
273
|
+
SelectionCheckRadius: 'px',
|
|
274
|
+
CheckBoxSize: 'px',
|
|
275
|
+
CheckBoxCornerRadius: 'px',
|
|
276
|
+
CheckBoxStrokeThickness: 'px',
|
|
277
|
+
CheckBoxMarkStrokeThickness: 'px',
|
|
278
|
+
CheckBoxHaloDiameter: 'px',
|
|
279
|
+
CheckBoxLabelSpacing: 'px',
|
|
280
|
+
CheckBoxLabelVerticalPadding: 'px',
|
|
281
|
+
CheckBoxLabelFontSize: 'px',
|
|
282
|
+
CheckBoxToggleDurationMs: 'ms',
|
|
283
|
+
CheckBoxMorphDurationMs: 'ms',
|
|
284
|
+
NavCardIconBadgeSize: 'px',
|
|
285
|
+
NavCardPaddingX: 'px',
|
|
286
|
+
NavCardPaddingY: 'px',
|
|
287
|
+
NavCardTitleFontSize: 'px',
|
|
288
|
+
NavCardSubtitleFontSize: 'px',
|
|
289
|
+
NavCardValueFontSize: 'px',
|
|
290
|
+
NavCardChevronSize: 'px',
|
|
291
|
+
NavCardComingSoonFontSize: 'px',
|
|
292
|
+
NavCardComingSoonPaddingX: 'px',
|
|
293
|
+
NavCardComingSoonPaddingY: 'px',
|
|
294
|
+
NavCardComingSoonRadius: 'px',
|
|
295
|
+
SeparatorTitleFontSize: 'px',
|
|
296
|
+
SeparatorIconSize: 'px',
|
|
297
|
+
ExpanderHeaderHeight: 'px',
|
|
298
|
+
ExpanderTitleFontSize: 'px',
|
|
299
|
+
ExpanderIconSize: 'px',
|
|
300
|
+
ExpanderChevronSize: 'px',
|
|
301
|
+
ExpanderHeaderSpacing: 'px',
|
|
302
|
+
ExpanderContentTopGap: 'px',
|
|
303
|
+
ExpanderHeaderPaddingX: 'px',
|
|
304
|
+
ExpanderChevronRotationMs: 'ms',
|
|
305
|
+
ExpanderContentAnimationMs: 'ms',
|
|
306
|
+
CascadePanelAnimationMs: 'ms',
|
|
307
|
+
CascadePanelHeaderHeight: 'px',
|
|
308
|
+
CascadePanelHeaderFontSize: 'px',
|
|
309
|
+
CascadePanelBackIconSize: 'px',
|
|
310
|
+
CascadePanelHeaderPadding: 'px',
|
|
311
|
+
CascadePanelParallaxFraction: '',
|
|
312
|
+
CascadePanelUnderlayDimOpacity: '',
|
|
313
|
+
PressDurationMs: 'ms',
|
|
314
|
+
ReleaseDurationMs: 'ms',
|
|
315
|
+
HoverDurationMs: 'ms',
|
|
316
|
+
RippleDurationMs: 'ms',
|
|
317
|
+
IconPressScaleTo: '',
|
|
318
|
+
TabIndicatorDurationMs: 'ms',
|
|
319
|
+
TabContentTransitionMs: 'ms',
|
|
320
|
+
SwitchToggleDurationMs: 'ms',
|
|
321
|
+
ProgressValueDurationMs: 'ms',
|
|
322
|
+
IndeterminateFrameMs: 'ms',
|
|
323
|
+
IndeterminateStep: '',
|
|
324
|
+
IntroOverlayOpacity: '',
|
|
325
|
+
IntroOverlayTopOpacityRatio: '',
|
|
326
|
+
IntroStartupCoverFadeDurationMs: 'ms',
|
|
327
|
+
IntroInitialVideoSeekTimeoutMs: 'ms',
|
|
328
|
+
IntroMediaFadeInDurationMs: 'ms',
|
|
329
|
+
IntroMediaFadeOutDurationMs: 'ms',
|
|
330
|
+
IntroLogoWidth: 'px',
|
|
331
|
+
IntroLogoHeight: 'px',
|
|
332
|
+
IntroTitleFontSize: 'px',
|
|
333
|
+
IntroSubtitleFontSize: 'px',
|
|
334
|
+
IntroNavFontSize: 'px',
|
|
335
|
+
IntroStepActiveWidth: 'px',
|
|
336
|
+
IntroStepInactiveWidth: 'px',
|
|
337
|
+
IntroStepHeight: 'px',
|
|
338
|
+
IntroStepSpacing: 'px',
|
|
339
|
+
IntroChromePadding: 'px',
|
|
340
|
+
IntroHeaderTopPadding: 'px',
|
|
341
|
+
IntroLogoTopMargin: 'px',
|
|
342
|
+
IntroTextBottomMargin: 'px',
|
|
343
|
+
IntroNavMinTouchHeight: 'px',
|
|
344
|
+
IntroNavMinTouchWidth: 'px',
|
|
345
|
+
IntroContentBottomPadding: 'px'
|
|
346
|
+
};
|
|
347
|
+
export { G9Metrics, g9MetricUnits };
|
|
348
|
+
|
|
349
|
+
//# sourceMappingURL=metrics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens/generated/metrics.js","sources":["../../../src/tokens/generated/metrics.ts"],"sourcesContent":["// GENERATED by scripts/gen-tokens.mjs from plan/golden/metrics.json — do not edit; run `npm run gen:tokens`.\n// Golden source: G9Metrics (https://github.com/ImanKari/G9MAUIControls/blob/6604cf05d76b786e680e632f01bec1103fe3c5de/G9MAUIControls/Controls/Shared/G9Metrics.cs).\n\n/**\n * Shared visual metric defaults of the G9 controls (MAUI `G9Metrics`), every public static value in declaration\n * order. Lengths are logical pixels, `…Ms` values are milliseconds, scales/opacities are plain numbers.\n */\nexport const G9Metrics = {\n RadiusXs: 6,\n RadiusSm: 8,\n RadiusMd: 12,\n RadiusLg: 16,\n RadiusXl: 20,\n RadiusPill: 999,\n ControlHeight: 52,\n ButtonHeightSmall: 36,\n ButtonHeightMedium: 44,\n ButtonHeightLarge: 48,\n ButtonHeightHero: 52,\n InputHorizontalPadding: 14,\n InputIconSize: 20,\n LeadingIconOuterMargin: 12,\n LeadingIconInnerMargin: 8,\n TrailingIconOuterMargin: 12,\n TrailingIconInnerMargin: 8,\n LeadingIconSlotWidth: 40,\n TrailingIconSlotWidth: 40,\n EditorTrailingIconBottomInset: 8,\n EditorTrailingSlotHeight: 36,\n InputLabelLeadingIconOffset: 26,\n FloatingLabelFloatedExtraX: 8,\n OutlineNotchTextGap: 8,\n FloatingLabelFontSizeFloat: 11,\n FloatingLabelFontSizeRest: 15,\n FloatingLabelHeight: 22,\n FloatingLabelFloatedY: -11,\n FloatingLabelRestScale: 1,\n FloatingLabelFloatedScale: 0.78,\n FloatingLabelDurationMs: 160,\n FloatingLabelClearance: 6,\n HelperFontSize: 11.5,\n CounterFontSize: 11,\n OutlinedFieldStrokeThickness: 1.5,\n OutlinedFieldEmphasisStrokeThickness: 2.5,\n OutlinedFieldFocusHaloThickness: 6,\n FocusRingOpacity: 0.22,\n ButtonFontSmall: 12,\n ButtonFontMedium: 14,\n ButtonFontLarge: 15,\n ButtonFontHero: 16,\n SwitchWidth: 56,\n SwitchHeight: 32,\n SwitchThumb: 24,\n SwitchThumbPressed: 30,\n SliderHeight: 104,\n SliderHeightCompact: 36,\n SliderTrackY: 52,\n SliderTrackHeight: 8,\n SliderThumbRadius: 14,\n SliderHorizontalInset: 16,\n SliderLabelGap: 18,\n PinCellWidth: 44,\n PinCellHeight: 52,\n PinCellStrokeThickness: 1.4,\n PinCellStrokeThicknessFocused: 2,\n PinCellCornerRadius: 10,\n PinCellSpacing: 8,\n PinSeparatorSpacing: 6,\n PinCellFontSize: 22,\n PinSeparatorFontSize: 22,\n ProgressBarHeight: 10,\n ChipHeight: 36,\n ChipHorizontalPadding: 14,\n ChipFontSize: 13,\n ChipIconSize: 16,\n ChipSpacing: 6,\n ChipSelectionAnimationMs: 140,\n ChipCheckmarkAnimationMs: 120,\n TabBarHeight: 52,\n TabBarInnerPadding: 4,\n TabBarRadius: 26,\n TabPillVerticalInset: 2,\n TabPillRadius: 18,\n TabCellHorizontalPadding: 16,\n TabBarToContentGap: 8,\n TabFontSize: 13,\n TabIconSize: 16,\n TabBadgeHeight: 18,\n TabContentRadius: 16,\n TabUnderlineThickness: 2.5,\n TabBarEdgeLineThickness: 1,\n TabSeparatorThickness: 1,\n TabSeparatorVerticalInset: 12,\n TabContentDefaultPadding: 20,\n DrumColumnHeight: 220,\n DrumRowHeight: 44,\n DrumLabelFontSize: 10,\n DrumSelectedFontSize: 17,\n DrumUnselectedFontSize: 16,\n SelectionRowHeight: 52,\n SelectionRowHorizontalPadding: 16,\n SelectionMaxHeight: 520,\n SelectionMinHeight: 220,\n SelectionRowFontSize: 14,\n SelectionIconSize: 18,\n SelectionCheckBoxSize: 20,\n SelectionCheckRadius: 6,\n CheckBoxSize: 20,\n CheckBoxCornerRadius: 6,\n CheckBoxStrokeThickness: 2,\n CheckBoxMarkStrokeThickness: 2,\n CheckBoxHaloDiameter: 40,\n CheckBoxLabelSpacing: 2,\n CheckBoxLabelVerticalPadding: 12,\n CheckBoxLabelFontSize: 14,\n CheckBoxToggleDurationMs: 200,\n CheckBoxMorphDurationMs: 150,\n NavCardIconBadgeSize: 38,\n NavCardPaddingX: 14,\n NavCardPaddingY: 12,\n NavCardTitleFontSize: 14,\n NavCardSubtitleFontSize: 11.5,\n NavCardValueFontSize: 13,\n NavCardChevronSize: 24,\n NavCardComingSoonFontSize: 10,\n NavCardComingSoonPaddingX: 7,\n NavCardComingSoonPaddingY: 3.5,\n NavCardComingSoonRadius: 11,\n SeparatorTitleFontSize: 10,\n SeparatorIconSize: 12,\n ExpanderHeaderHeight: 48,\n ExpanderTitleFontSize: 15,\n ExpanderIconSize: 20,\n ExpanderChevronSize: 22,\n ExpanderHeaderSpacing: 10,\n ExpanderContentTopGap: 8,\n ExpanderHeaderPaddingX: 14,\n ExpanderChevronRotationMs: 220,\n ExpanderContentAnimationMs: 220,\n CascadePanelAnimationMs: 280,\n CascadePanelHeaderHeight: 48,\n CascadePanelHeaderFontSize: 15,\n CascadePanelBackIconSize: 22,\n CascadePanelHeaderPadding: 8,\n CascadePanelParallaxFraction: 0.18,\n CascadePanelUnderlayDimOpacity: 0.55,\n PressDurationMs: 80,\n ReleaseDurationMs: 150,\n HoverDurationMs: 80,\n RippleDurationMs: 350,\n IconPressScaleTo: 0.92,\n TabIndicatorDurationMs: 240,\n TabContentTransitionMs: 160,\n SwitchToggleDurationMs: 240,\n ProgressValueDurationMs: 300,\n IndeterminateFrameMs: 16,\n IndeterminateStep: 0.012,\n IntroOverlayOpacity: 0.52,\n IntroOverlayTopOpacityRatio: 0.4,\n IntroStartupCoverFadeDurationMs: 320,\n IntroInitialVideoSeekTimeoutMs: 900,\n IntroMediaFadeInDurationMs: 420,\n IntroMediaFadeOutDurationMs: 420,\n IntroLogoWidth: 192,\n IntroLogoHeight: 34,\n IntroTitleFontSize: 18,\n IntroSubtitleFontSize: 14,\n IntroNavFontSize: 14,\n IntroStepActiveWidth: 28,\n IntroStepInactiveWidth: 20,\n IntroStepHeight: 4,\n IntroStepSpacing: 6,\n IntroChromePadding: 20,\n IntroHeaderTopPadding: 16,\n IntroLogoTopMargin: 48,\n IntroTextBottomMargin: 12,\n IntroNavMinTouchHeight: 48,\n IntroNavMinTouchWidth: 72,\n IntroContentBottomPadding: 24,\n} as const;\n/** The name of a `G9Metrics` value. */\nexport type G9MetricName = keyof typeof G9Metrics;\n\n/** The CSS unit each metric is emitted with by `toMetricCssVariables`. */\nexport const g9MetricUnits: { readonly [K in G9MetricName]: 'px' | 'ms' | '' } = {\n RadiusXs: 'px',\n RadiusSm: 'px',\n RadiusMd: 'px',\n RadiusLg: 'px',\n RadiusXl: 'px',\n RadiusPill: 'px',\n ControlHeight: 'px',\n ButtonHeightSmall: 'px',\n ButtonHeightMedium: 'px',\n ButtonHeightLarge: 'px',\n ButtonHeightHero: 'px',\n InputHorizontalPadding: 'px',\n InputIconSize: 'px',\n LeadingIconOuterMargin: 'px',\n LeadingIconInnerMargin: 'px',\n TrailingIconOuterMargin: 'px',\n TrailingIconInnerMargin: 'px',\n LeadingIconSlotWidth: 'px',\n TrailingIconSlotWidth: 'px',\n EditorTrailingIconBottomInset: 'px',\n EditorTrailingSlotHeight: 'px',\n InputLabelLeadingIconOffset: 'px',\n FloatingLabelFloatedExtraX: 'px',\n OutlineNotchTextGap: 'px',\n FloatingLabelFontSizeFloat: 'px',\n FloatingLabelFontSizeRest: 'px',\n FloatingLabelHeight: 'px',\n FloatingLabelFloatedY: 'px',\n FloatingLabelRestScale: '',\n FloatingLabelFloatedScale: '',\n FloatingLabelDurationMs: 'ms',\n FloatingLabelClearance: 'px',\n HelperFontSize: 'px',\n CounterFontSize: 'px',\n OutlinedFieldStrokeThickness: 'px',\n OutlinedFieldEmphasisStrokeThickness: 'px',\n OutlinedFieldFocusHaloThickness: 'px',\n FocusRingOpacity: '',\n ButtonFontSmall: 'px',\n ButtonFontMedium: 'px',\n ButtonFontLarge: 'px',\n ButtonFontHero: 'px',\n SwitchWidth: 'px',\n SwitchHeight: 'px',\n SwitchThumb: 'px',\n SwitchThumbPressed: 'px',\n SliderHeight: 'px',\n SliderHeightCompact: 'px',\n SliderTrackY: 'px',\n SliderTrackHeight: 'px',\n SliderThumbRadius: 'px',\n SliderHorizontalInset: 'px',\n SliderLabelGap: 'px',\n PinCellWidth: 'px',\n PinCellHeight: 'px',\n PinCellStrokeThickness: 'px',\n PinCellStrokeThicknessFocused: 'px',\n PinCellCornerRadius: 'px',\n PinCellSpacing: 'px',\n PinSeparatorSpacing: 'px',\n PinCellFontSize: 'px',\n PinSeparatorFontSize: 'px',\n ProgressBarHeight: 'px',\n ChipHeight: 'px',\n ChipHorizontalPadding: 'px',\n ChipFontSize: 'px',\n ChipIconSize: 'px',\n ChipSpacing: 'px',\n ChipSelectionAnimationMs: 'ms',\n ChipCheckmarkAnimationMs: 'ms',\n TabBarHeight: 'px',\n TabBarInnerPadding: 'px',\n TabBarRadius: 'px',\n TabPillVerticalInset: 'px',\n TabPillRadius: 'px',\n TabCellHorizontalPadding: 'px',\n TabBarToContentGap: 'px',\n TabFontSize: 'px',\n TabIconSize: 'px',\n TabBadgeHeight: 'px',\n TabContentRadius: 'px',\n TabUnderlineThickness: 'px',\n TabBarEdgeLineThickness: 'px',\n TabSeparatorThickness: 'px',\n TabSeparatorVerticalInset: 'px',\n TabContentDefaultPadding: 'px',\n DrumColumnHeight: 'px',\n DrumRowHeight: 'px',\n DrumLabelFontSize: 'px',\n DrumSelectedFontSize: 'px',\n DrumUnselectedFontSize: 'px',\n SelectionRowHeight: 'px',\n SelectionRowHorizontalPadding: 'px',\n SelectionMaxHeight: 'px',\n SelectionMinHeight: 'px',\n SelectionRowFontSize: 'px',\n SelectionIconSize: 'px',\n SelectionCheckBoxSize: 'px',\n SelectionCheckRadius: 'px',\n CheckBoxSize: 'px',\n CheckBoxCornerRadius: 'px',\n CheckBoxStrokeThickness: 'px',\n CheckBoxMarkStrokeThickness: 'px',\n CheckBoxHaloDiameter: 'px',\n CheckBoxLabelSpacing: 'px',\n CheckBoxLabelVerticalPadding: 'px',\n CheckBoxLabelFontSize: 'px',\n CheckBoxToggleDurationMs: 'ms',\n CheckBoxMorphDurationMs: 'ms',\n NavCardIconBadgeSize: 'px',\n NavCardPaddingX: 'px',\n NavCardPaddingY: 'px',\n NavCardTitleFontSize: 'px',\n NavCardSubtitleFontSize: 'px',\n NavCardValueFontSize: 'px',\n NavCardChevronSize: 'px',\n NavCardComingSoonFontSize: 'px',\n NavCardComingSoonPaddingX: 'px',\n NavCardComingSoonPaddingY: 'px',\n NavCardComingSoonRadius: 'px',\n SeparatorTitleFontSize: 'px',\n SeparatorIconSize: 'px',\n ExpanderHeaderHeight: 'px',\n ExpanderTitleFontSize: 'px',\n ExpanderIconSize: 'px',\n ExpanderChevronSize: 'px',\n ExpanderHeaderSpacing: 'px',\n ExpanderContentTopGap: 'px',\n ExpanderHeaderPaddingX: 'px',\n ExpanderChevronRotationMs: 'ms',\n ExpanderContentAnimationMs: 'ms',\n CascadePanelAnimationMs: 'ms',\n CascadePanelHeaderHeight: 'px',\n CascadePanelHeaderFontSize: 'px',\n CascadePanelBackIconSize: 'px',\n CascadePanelHeaderPadding: 'px',\n CascadePanelParallaxFraction: '',\n CascadePanelUnderlayDimOpacity: '',\n PressDurationMs: 'ms',\n ReleaseDurationMs: 'ms',\n HoverDurationMs: 'ms',\n RippleDurationMs: 'ms',\n IconPressScaleTo: '',\n TabIndicatorDurationMs: 'ms',\n TabContentTransitionMs: 'ms',\n SwitchToggleDurationMs: 'ms',\n ProgressValueDurationMs: 'ms',\n IndeterminateFrameMs: 'ms',\n IndeterminateStep: '',\n IntroOverlayOpacity: '',\n IntroOverlayTopOpacityRatio: '',\n IntroStartupCoverFadeDurationMs: 'ms',\n IntroInitialVideoSeekTimeoutMs: 'ms',\n IntroMediaFadeInDurationMs: 'ms',\n IntroMediaFadeOutDurationMs: 'ms',\n IntroLogoWidth: 'px',\n IntroLogoHeight: 'px',\n IntroTitleFontSize: 'px',\n IntroSubtitleFontSize: 'px',\n IntroNavFontSize: 'px',\n IntroStepActiveWidth: 'px',\n IntroStepInactiveWidth: 'px',\n IntroStepHeight: 'px',\n IntroStepSpacing: 'px',\n IntroChromePadding: 'px',\n IntroHeaderTopPadding: 'px',\n IntroLogoTopMargin: 'px',\n IntroTextBottomMargin: 'px',\n IntroNavMinTouchHeight: 'px',\n IntroNavMinTouchWidth: 'px',\n IntroContentBottomPadding: 'px',\n};\n"],"names":["G9Metrics","g9MetricUnits"],"mappings":"AAOO,MAAMA,YAAY;IACvB,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,YAAY;IACZ,eAAe;IACf,mBAAmB;IACnB,oBAAoB;IACpB,mBAAmB;IACnB,kBAAkB;IAClB,wBAAwB;IACxB,eAAe;IACf,wBAAwB;IACxB,wBAAwB;IACxB,yBAAyB;IACzB,yBAAy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BAAuB;IACvB,0BAA0B;IAC1B,yBAAyB;IACzB,sBAAsB;IACtB,iBAAiB;IACjB,iBAAiB;IACjB,sBAAsB;IACtB,yBAAyB;IACzB,sBAAsB;IACtB,oBAAoB;IACpB,2BAA2B;IAC3B,2BAA2B;IAC3B,2BAA2B;IAC3B,yBAAyB;IACzB,wBAAwB;IACxB,mBAAmB;IACnB,sBAAsB;IACtB,uBAAuB;IACvB,kBAAkB;IAClB,qBAAqB;IACrB,uBAAuB;IACvB,uBAAuB;IACvB,wBAAwB;IACxB,2BAA2B;IAC3B,4BAA4B;IAC5B,yBAAyB;IACzB,0BAA0B;IAC1B,4BAA4B;IAC5B,0BAA0B;IAC1B,2BAA2B;IAC3B,8BAA8B;IAC9B,gCAAgC;IAChC,iBAAiB;IACjB,mBAAmB;IACnB,iBAAiB;IACjB,kBAAkB;IAClB,kBAAkB;IAClB,wBAAwB;IACxB,wBAAwB;IACxB,wBAAwB;IACxB,yBAAyB;IACzB,sBAAsB;IACtB,mBAAmB;IACnB,qBAAqB;IACrB,6BAA6B;IAC7B,iCAAiC;IACjC,gCAAgC;IAChC,4BAA4B;IAC5B,6BAA6B;IAC7B,gBAAgB;IAChB,iBAAiB;IACjB,oBAAoB;IACpB,uBAAuB;IACvB,kBAAkB;IAClB,sBAAsB;IACtB,wBAAwB;IACxB,iBAAiB;IACjB,kBAAkB;IAClB,oBAAoB;IACpB,uBAAuB;IACvB,oBAAoB;IACpB,uBAAuB;IACvB,wBAAwB;IACxB,uBAAuB;IACvB,2BAA2B;AAC7B"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The colour tokens of the G9 theme in MAUI declaration order (MAUI `G9ColorToken`). Values keep the MAUI names so
|
|
3
|
+
* `G9ColorToken.Primary === 'Primary'`; the CSS variable is `--g9-primary` (see `cssVariableName`).
|
|
4
|
+
*/
|
|
5
|
+
export declare const G9ColorToken: {
|
|
6
|
+
readonly Primary: "Primary";
|
|
7
|
+
readonly OnPrimary: "OnPrimary";
|
|
8
|
+
readonly PrimaryContainer: "PrimaryContainer";
|
|
9
|
+
readonly OnPrimaryContainer: "OnPrimaryContainer";
|
|
10
|
+
readonly PrimaryBorder: "PrimaryBorder";
|
|
11
|
+
readonly PrimaryHover: "PrimaryHover";
|
|
12
|
+
readonly PrimaryPressed: "PrimaryPressed";
|
|
13
|
+
readonly Secondary: "Secondary";
|
|
14
|
+
readonly OnSecondary: "OnSecondary";
|
|
15
|
+
readonly SecondaryContainer: "SecondaryContainer";
|
|
16
|
+
readonly OnSecondaryContainer: "OnSecondaryContainer";
|
|
17
|
+
readonly SecondaryBorder: "SecondaryBorder";
|
|
18
|
+
readonly Tertiary: "Tertiary";
|
|
19
|
+
readonly OnTertiary: "OnTertiary";
|
|
20
|
+
readonly TertiaryContainer: "TertiaryContainer";
|
|
21
|
+
readonly OnTertiaryContainer: "OnTertiaryContainer";
|
|
22
|
+
readonly TertiaryBorder: "TertiaryBorder";
|
|
23
|
+
readonly Quaternary: "Quaternary";
|
|
24
|
+
readonly OnQuaternary: "OnQuaternary";
|
|
25
|
+
readonly QuaternaryContainer: "QuaternaryContainer";
|
|
26
|
+
readonly OnQuaternaryContainer: "OnQuaternaryContainer";
|
|
27
|
+
readonly QuaternaryBorder: "QuaternaryBorder";
|
|
28
|
+
readonly Error: "Error";
|
|
29
|
+
readonly OnError: "OnError";
|
|
30
|
+
readonly ErrorContainer: "ErrorContainer";
|
|
31
|
+
readonly OnErrorContainer: "OnErrorContainer";
|
|
32
|
+
readonly ErrorBorder: "ErrorBorder";
|
|
33
|
+
readonly Warning: "Warning";
|
|
34
|
+
readonly OnWarning: "OnWarning";
|
|
35
|
+
readonly WarningContainer: "WarningContainer";
|
|
36
|
+
readonly OnWarningContainer: "OnWarningContainer";
|
|
37
|
+
readonly WarningBorder: "WarningBorder";
|
|
38
|
+
readonly Success: "Success";
|
|
39
|
+
readonly OnSuccess: "OnSuccess";
|
|
40
|
+
readonly SuccessContainer: "SuccessContainer";
|
|
41
|
+
readonly OnSuccessContainer: "OnSuccessContainer";
|
|
42
|
+
readonly SuccessBorder: "SuccessBorder";
|
|
43
|
+
readonly Info: "Info";
|
|
44
|
+
readonly OnInfo: "OnInfo";
|
|
45
|
+
readonly InfoContainer: "InfoContainer";
|
|
46
|
+
readonly OnInfoContainer: "OnInfoContainer";
|
|
47
|
+
readonly InfoBorder: "InfoBorder";
|
|
48
|
+
readonly Outline: "Outline";
|
|
49
|
+
readonly OutlineVariant: "OutlineVariant";
|
|
50
|
+
readonly OutlineBorder: "OutlineBorder";
|
|
51
|
+
readonly Background: "Background";
|
|
52
|
+
readonly OnBackground: "OnBackground";
|
|
53
|
+
readonly BackgroundSecondary: "BackgroundSecondary";
|
|
54
|
+
readonly Surface: "Surface";
|
|
55
|
+
readonly OnSurface: "OnSurface";
|
|
56
|
+
readonly SurfaceVariant: "SurfaceVariant";
|
|
57
|
+
readonly OnSurfaceVariant: "OnSurfaceVariant";
|
|
58
|
+
readonly SurfaceBorder: "SurfaceBorder";
|
|
59
|
+
readonly InverseSurface: "InverseSurface";
|
|
60
|
+
readonly InverseOnSurface: "InverseOnSurface";
|
|
61
|
+
readonly InversePrimary: "InversePrimary";
|
|
62
|
+
readonly SurfaceContainerHighest: "SurfaceContainerHighest";
|
|
63
|
+
readonly SurfaceContainerHigh: "SurfaceContainerHigh";
|
|
64
|
+
readonly SurfaceContainer: "SurfaceContainer";
|
|
65
|
+
readonly SurfaceContainerLow: "SurfaceContainerLow";
|
|
66
|
+
readonly SurfaceContainerLowest: "SurfaceContainerLowest";
|
|
67
|
+
readonly SurfaceBright: "SurfaceBright";
|
|
68
|
+
readonly SurfaceDim: "SurfaceDim";
|
|
69
|
+
readonly Scrim: "Scrim";
|
|
70
|
+
readonly ScrimLight: "ScrimLight";
|
|
71
|
+
readonly Overlay: "Overlay";
|
|
72
|
+
readonly OverlayLight: "OverlayLight";
|
|
73
|
+
readonly TextPrimary: "TextPrimary";
|
|
74
|
+
readonly TextSecondary: "TextSecondary";
|
|
75
|
+
readonly TextTertiary: "TextTertiary";
|
|
76
|
+
readonly TextDisabled: "TextDisabled";
|
|
77
|
+
readonly White: "White";
|
|
78
|
+
readonly Black: "Black";
|
|
79
|
+
readonly Light: "Light";
|
|
80
|
+
readonly Dark: "Dark";
|
|
81
|
+
readonly Divider: "Divider";
|
|
82
|
+
readonly DividerStrong: "DividerStrong";
|
|
83
|
+
readonly Focus: "Focus";
|
|
84
|
+
readonly FocusVisible: "FocusVisible";
|
|
85
|
+
readonly Disabled: "Disabled";
|
|
86
|
+
readonly DisabledContainer: "DisabledContainer";
|
|
87
|
+
readonly CardBackground: "CardBackground";
|
|
88
|
+
readonly CardBorder: "CardBorder";
|
|
89
|
+
readonly CardElevated: "CardElevated";
|
|
90
|
+
readonly Default: "Default";
|
|
91
|
+
readonly OnDefault: "OnDefault";
|
|
92
|
+
readonly DefaultContainer: "DefaultContainer";
|
|
93
|
+
readonly OnDefaultContainer: "OnDefaultContainer";
|
|
94
|
+
readonly DefaultBorder: "DefaultBorder";
|
|
95
|
+
readonly DefaultHover: "DefaultHover";
|
|
96
|
+
readonly DefaultPressed: "DefaultPressed";
|
|
97
|
+
readonly InputBackground: "InputBackground";
|
|
98
|
+
readonly InputBorder: "InputBorder";
|
|
99
|
+
readonly InputBorderFocused: "InputBorderFocused";
|
|
100
|
+
readonly InputPlaceholder: "InputPlaceholder";
|
|
101
|
+
};
|
|
102
|
+
export type G9ColorToken = (typeof G9ColorToken)[keyof typeof G9ColorToken];
|
|
103
|
+
/** One CSS colour per token: a complete palette (MAUI `G9PaletteValues`). */
|
|
104
|
+
export type G9PaletteValues = {
|
|
105
|
+
readonly [K in G9ColorToken]: string;
|
|
106
|
+
};
|
|
107
|
+
/** Every token, in declaration order. */
|
|
108
|
+
export declare const g9ColorTokens: readonly G9ColorToken[];
|
|
109
|
+
/** The stock light palette (MAUI `G9Theme.Light.xaml`). */
|
|
110
|
+
export declare const g9LightPalette: G9PaletteValues;
|
|
111
|
+
/** The stock dark palette (MAUI `G9Theme.Dark.xaml`). */
|
|
112
|
+
export declare const g9DarkPalette: G9PaletteValues;
|
|
113
|
+
//# sourceMappingURL=palettes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"palettes.d.ts","sourceRoot":"","sources":["../../../src/tokens/generated/palettes.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgGf,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE5E,6EAA6E;AAC7E,MAAM,MAAM,eAAe,GAAG;IAAE,QAAQ,EAAE,CAAC,IAAI,YAAY,GAAG,MAAM;CAAE,CAAC;AAEvE,yCAAyC;AACzC,eAAO,MAAM,aAAa,EAAE,SAAS,YAAY,EAgGhD,CAAC;AAEF,2DAA2D;AAC3D,eAAO,MAAM,cAAc,EAAE,eAgG5B,CAAC;AAEF,yDAAyD;AACzD,eAAO,MAAM,aAAa,EAAE,eAgG3B,CAAC"}
|