@marwes-ui/core 1.1.0 → 1.3.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 CHANGED
@@ -1,6 +1,8 @@
1
+ Framework-agnostic Marwes design system recipes, theme utilities, accessibility contracts, and typed RenderKit metadata.
2
+
1
3
  <div align="center">
2
4
 
3
- <img alt="Marwes Design System" src="https://raw.githubusercontent.com/niklas-westman/marwes/main/.github/assets/banner.png" width="100%" style="border-radius: 40px;">
5
+ <img alt="Marwes Design System" src="https://raw.githubusercontent.com/niklas-westman/marwes/main/.github/assets/cover-v3.png" width="100%" style="border-radius: 40px;">
4
6
 
5
7
  <br>
6
8
  <br>
@@ -11,7 +13,7 @@
11
13
 
12
14
  Pure TypeScript • No React/Vue dependency • Typed RenderKit • Shared ThemeInput • AI-readable contracts
13
15
 
14
- [Documentation](https://github.com/niklas-westman/marwes/tree/main/docs) • [Storybook](https://d3hobet9plpuvm.cloudfront.net/storybook-react/latest/) • [GitHub](https://github.com/niklas-westman/marwes)
16
+ [Documentation](https://github.com/niklas-westman/marwes/tree/main/docs) • [React Storybook](https://storybook-react.marwes.io/latest/) • [Vue Storybook](https://storybook-vue.marwes.io/latest/) • [GitHub](https://github.com/niklas-westman/marwes)
15
17
 
16
18
  </div>
17
19
 
package/dist/index.d.ts CHANGED
@@ -31,6 +31,13 @@ declare function resolveTone(tone: ToneName): ToneDefinition;
31
31
  type Density = "compact" | "comfortable" | "spacious";
32
32
  type HeadingSize = "h1" | "h2" | "h3";
33
33
  type ParagraphSize = "sm" | "md" | "lg";
34
+ type StatusColorTokens = {
35
+ background: string;
36
+ text: string;
37
+ icon: string;
38
+ border: string;
39
+ borderStrong: string;
40
+ };
34
41
  /**
35
42
  * Theme mode determines which default color palette is used.
36
43
  * - 'light': Uses light mode color defaults (dark text on light backgrounds)
@@ -62,18 +69,26 @@ type Theme = {
62
69
  textSubtle: string;
63
70
  textDisabled: string;
64
71
  textInverted: string;
72
+ textBrand: string;
65
73
  border: string;
66
74
  borderSubtle: string;
67
75
  borderStrong: string;
68
76
  borderDisabled: string;
77
+ borderBrand: string;
69
78
  /**
70
79
  * Focus color used for focus-visible outlines on interactive elements.
71
- * Accessible blue (#2684FF) from Figma node 120:927.
80
+ * Defaults to the source focus ring token from docs/marwes-colors.json.
72
81
  */
73
82
  focus: string;
74
83
  danger: string;
75
84
  success: string;
76
85
  warning: string;
86
+ status: {
87
+ success: StatusColorTokens;
88
+ warning: StatusColorTokens;
89
+ error: StatusColorTokens;
90
+ info: StatusColorTokens;
91
+ };
77
92
  };
78
93
  font: {
79
94
  primary: string;
@@ -194,11 +209,19 @@ interface ResolvedTheme {
194
209
  textSubtle: string;
195
210
  textDisabled: string;
196
211
  textInverted: string;
212
+ textBrand: string;
197
213
  border: string;
198
214
  borderSubtle: string;
199
215
  borderStrong: string;
200
216
  borderDisabled: string;
217
+ borderBrand: string;
201
218
  focus: string;
219
+ status: {
220
+ success: StatusColorTokens;
221
+ warning: StatusColorTokens;
222
+ error: StatusColorTokens;
223
+ info: StatusColorTokens;
224
+ };
202
225
  };
203
226
  font: {
204
227
  primary: string;
@@ -246,7 +269,7 @@ interface ResolvedTheme {
246
269
  }
247
270
  /**
248
271
  * Maps every field of a resolved theme to its CSS custom property name.
249
- * Returns 86 entries total. `variant` is excluded — it is deprecated.
272
+ * Returns 108 entries total. `variant` is excluded — it is deprecated.
250
273
  * Density is emitted as 10 `--mw-density-*` vars via densityToCSSVars.
251
274
  *
252
275
  * Variable naming follows D11: --mw-color-{role}-{state}, --mw-font-*, etc.
@@ -288,13 +311,13 @@ declare function resolveServerThemeMode({ preference, systemFallback, }?: {
288
311
  /**
289
312
  * Light theme defaults (default mode).
290
313
  * Uses dark text on light backgrounds.
291
- * Colors mapped from Figma design tokens (node 1:120).
314
+ * Colors mapped from docs/marwes-colors.json.
292
315
  */
293
316
  declare const lightThemeDefaults: Theme;
294
317
  /**
295
318
  * Dark theme defaults.
296
319
  * Uses light text on dark backgrounds.
297
- * Colors are inverted from light theme for optimal dark mode experience.
320
+ * Colors mapped from docs/marwes-colors.json.
298
321
  */
299
322
  declare const darkThemeDefaults: Theme;
300
323
 
@@ -384,11 +407,43 @@ declare const mwThemeVarNames: {
384
407
  readonly textSubtle: "--mw-color-text-subtle";
385
408
  readonly textDisabled: "--mw-color-text-disabled";
386
409
  readonly textInverted: "--mw-color-text-inverted";
410
+ readonly textBrand: "--mw-color-text-brand";
387
411
  readonly border: "--mw-color-border";
388
412
  readonly borderSubtle: "--mw-color-border-subtle";
389
413
  readonly borderStrong: "--mw-color-border-strong";
390
414
  readonly borderDisabled: "--mw-color-border-disabled";
415
+ readonly borderBrand: "--mw-color-border-brand";
391
416
  readonly focus: "--mw-color-focus";
417
+ readonly status: {
418
+ readonly success: {
419
+ readonly background: "--mw-color-status-success-background";
420
+ readonly text: "--mw-color-status-success-text";
421
+ readonly icon: "--mw-color-status-success-icon";
422
+ readonly border: "--mw-color-status-success-border";
423
+ readonly borderStrong: "--mw-color-status-success-border-strong";
424
+ };
425
+ readonly warning: {
426
+ readonly background: "--mw-color-status-warning-background";
427
+ readonly text: "--mw-color-status-warning-text";
428
+ readonly icon: "--mw-color-status-warning-icon";
429
+ readonly border: "--mw-color-status-warning-border";
430
+ readonly borderStrong: "--mw-color-status-warning-border-strong";
431
+ };
432
+ readonly error: {
433
+ readonly background: "--mw-color-status-error-background";
434
+ readonly text: "--mw-color-status-error-text";
435
+ readonly icon: "--mw-color-status-error-icon";
436
+ readonly border: "--mw-color-status-error-border";
437
+ readonly borderStrong: "--mw-color-status-error-border-strong";
438
+ };
439
+ readonly info: {
440
+ readonly background: "--mw-color-status-info-background";
441
+ readonly text: "--mw-color-status-info-text";
442
+ readonly icon: "--mw-color-status-info-icon";
443
+ readonly border: "--mw-color-status-info-border";
444
+ readonly borderStrong: "--mw-color-status-info-border-strong";
445
+ };
446
+ };
392
447
  };
393
448
  readonly spacing: {
394
449
  readonly sp0: "--mw-spacing-sp-0";
@@ -532,11 +587,43 @@ declare const mwThemeVars: {
532
587
  readonly textSubtle: "var(--mw-color-text-subtle)";
533
588
  readonly textDisabled: "var(--mw-color-text-disabled)";
534
589
  readonly textInverted: "var(--mw-color-text-inverted)";
590
+ readonly textBrand: "var(--mw-color-text-brand)";
535
591
  readonly border: "var(--mw-color-border)";
536
592
  readonly borderSubtle: "var(--mw-color-border-subtle)";
537
593
  readonly borderStrong: "var(--mw-color-border-strong)";
538
594
  readonly borderDisabled: "var(--mw-color-border-disabled)";
595
+ readonly borderBrand: "var(--mw-color-border-brand)";
539
596
  readonly focus: "var(--mw-color-focus)";
597
+ readonly status: {
598
+ readonly success: {
599
+ readonly background: "var(--mw-color-status-success-background)";
600
+ readonly text: "var(--mw-color-status-success-text)";
601
+ readonly icon: "var(--mw-color-status-success-icon)";
602
+ readonly border: "var(--mw-color-status-success-border)";
603
+ readonly borderStrong: "var(--mw-color-status-success-border-strong)";
604
+ };
605
+ readonly warning: {
606
+ readonly background: "var(--mw-color-status-warning-background)";
607
+ readonly text: "var(--mw-color-status-warning-text)";
608
+ readonly icon: "var(--mw-color-status-warning-icon)";
609
+ readonly border: "var(--mw-color-status-warning-border)";
610
+ readonly borderStrong: "var(--mw-color-status-warning-border-strong)";
611
+ };
612
+ readonly error: {
613
+ readonly background: "var(--mw-color-status-error-background)";
614
+ readonly text: "var(--mw-color-status-error-text)";
615
+ readonly icon: "var(--mw-color-status-error-icon)";
616
+ readonly border: "var(--mw-color-status-error-border)";
617
+ readonly borderStrong: "var(--mw-color-status-error-border-strong)";
618
+ };
619
+ readonly info: {
620
+ readonly background: "var(--mw-color-status-info-background)";
621
+ readonly text: "var(--mw-color-status-info-text)";
622
+ readonly icon: "var(--mw-color-status-info-icon)";
623
+ readonly border: "var(--mw-color-status-info-border)";
624
+ readonly borderStrong: "var(--mw-color-status-info-border-strong)";
625
+ };
626
+ };
540
627
  };
541
628
  readonly spacing: {
542
629
  readonly sp0: "var(--mw-spacing-sp-0)";
@@ -680,11 +767,43 @@ declare const mwStyledTheme: {
680
767
  readonly textSubtle: "var(--mw-color-text-subtle)";
681
768
  readonly textDisabled: "var(--mw-color-text-disabled)";
682
769
  readonly textInverted: "var(--mw-color-text-inverted)";
770
+ readonly textBrand: "var(--mw-color-text-brand)";
683
771
  readonly border: "var(--mw-color-border)";
684
772
  readonly borderSubtle: "var(--mw-color-border-subtle)";
685
773
  readonly borderStrong: "var(--mw-color-border-strong)";
686
774
  readonly borderDisabled: "var(--mw-color-border-disabled)";
775
+ readonly borderBrand: "var(--mw-color-border-brand)";
687
776
  readonly focus: "var(--mw-color-focus)";
777
+ readonly status: {
778
+ readonly success: {
779
+ readonly background: "var(--mw-color-status-success-background)";
780
+ readonly text: "var(--mw-color-status-success-text)";
781
+ readonly icon: "var(--mw-color-status-success-icon)";
782
+ readonly border: "var(--mw-color-status-success-border)";
783
+ readonly borderStrong: "var(--mw-color-status-success-border-strong)";
784
+ };
785
+ readonly warning: {
786
+ readonly background: "var(--mw-color-status-warning-background)";
787
+ readonly text: "var(--mw-color-status-warning-text)";
788
+ readonly icon: "var(--mw-color-status-warning-icon)";
789
+ readonly border: "var(--mw-color-status-warning-border)";
790
+ readonly borderStrong: "var(--mw-color-status-warning-border-strong)";
791
+ };
792
+ readonly error: {
793
+ readonly background: "var(--mw-color-status-error-background)";
794
+ readonly text: "var(--mw-color-status-error-text)";
795
+ readonly icon: "var(--mw-color-status-error-icon)";
796
+ readonly border: "var(--mw-color-status-error-border)";
797
+ readonly borderStrong: "var(--mw-color-status-error-border-strong)";
798
+ };
799
+ readonly info: {
800
+ readonly background: "var(--mw-color-status-info-background)";
801
+ readonly text: "var(--mw-color-status-info-text)";
802
+ readonly icon: "var(--mw-color-status-info-icon)";
803
+ readonly border: "var(--mw-color-status-info-border)";
804
+ readonly borderStrong: "var(--mw-color-status-info-border-strong)";
805
+ };
806
+ };
688
807
  };
689
808
  readonly spacing: {
690
809
  readonly sp0: "var(--mw-spacing-sp-0)";
@@ -3570,6 +3689,94 @@ declare const storybookSpinnerArgTypes: {
3570
3689
  readonly description: "Accessible label for standalone loading indicators";
3571
3690
  };
3572
3691
  };
3692
+ declare const storybookSkeletonArgTypes: {
3693
+ readonly variant: {
3694
+ readonly control: "select";
3695
+ readonly options: readonly ["text", "circular", "rectangular"];
3696
+ readonly description: "Skeleton shape from the synced Skeleton page";
3697
+ };
3698
+ readonly animation: {
3699
+ readonly control: "select";
3700
+ readonly options: readonly ["pulse", "wave", "none"];
3701
+ readonly description: "Visual loading animation";
3702
+ };
3703
+ readonly width: {
3704
+ readonly control: "text";
3705
+ readonly description: "Width override; numbers in code are treated as pixels";
3706
+ };
3707
+ readonly height: {
3708
+ readonly control: "text";
3709
+ readonly description: "Height override; numbers in code are treated as pixels";
3710
+ };
3711
+ readonly radius: {
3712
+ readonly control: "text";
3713
+ readonly description: "Corner radius override; circular skeletons force a full radius";
3714
+ };
3715
+ readonly decorative: {
3716
+ readonly control: "boolean";
3717
+ readonly description: "Hide the skeleton from assistive technology when surrounding UI already communicates loading";
3718
+ };
3719
+ readonly ariaLabel: {
3720
+ readonly control: "text";
3721
+ readonly description: "Accessible label for standalone loading placeholder groups";
3722
+ };
3723
+ };
3724
+ declare const storybookStatTileArgTypes: {
3725
+ readonly tone: {
3726
+ readonly control: "select";
3727
+ readonly options: readonly ["neutral", "brand", "success", "warning", "danger"];
3728
+ readonly description: "Color treatment from the synced Stat Tile Figma instances";
3729
+ };
3730
+ readonly trendDirection: {
3731
+ readonly control: "select";
3732
+ readonly options: readonly [undefined, "positive", "negative"];
3733
+ readonly description: "Trend direction for the compact trend pill";
3734
+ };
3735
+ readonly trendValue: {
3736
+ readonly control: "text";
3737
+ readonly description: "Compact trend value, for example 12%";
3738
+ };
3739
+ readonly label: {
3740
+ readonly control: "text";
3741
+ };
3742
+ readonly value: {
3743
+ readonly control: "text";
3744
+ };
3745
+ readonly subtitle: {
3746
+ readonly control: "text";
3747
+ };
3748
+ };
3749
+ declare const storybookDatePickerArgTypes: {
3750
+ readonly device: {
3751
+ readonly control: "select";
3752
+ readonly options: readonly ["desktop", "mobile"];
3753
+ readonly description: "Device variant from the synced Date Picker Figma component set";
3754
+ };
3755
+ readonly monthLabel: {
3756
+ readonly control: "text";
3757
+ };
3758
+ readonly calendarLabel: {
3759
+ readonly control: "text";
3760
+ };
3761
+ readonly previousYearLabel: {
3762
+ readonly control: "text";
3763
+ };
3764
+ readonly previousMonthLabel: {
3765
+ readonly control: "text";
3766
+ };
3767
+ readonly nextMonthLabel: {
3768
+ readonly control: "text";
3769
+ };
3770
+ readonly nextYearLabel: {
3771
+ readonly control: "text";
3772
+ };
3773
+ readonly cancelLabel: {
3774
+ readonly control: "text";
3775
+ };
3776
+ readonly applyLabel: {
3777
+ readonly control: "text";
3778
+ };
3779
+ };
3573
3780
  declare const storybookSpacingArgTypes: {
3574
3781
  readonly size: {
3575
3782
  readonly control: "select";
@@ -4773,6 +4980,167 @@ declare function resolveSpinnerA11y(options?: SpinnerOptions): SpinnerA11yProps;
4773
4980
 
4774
4981
  declare function createSpinnerRecipe(options?: SpinnerOptions): SpinnerRenderKit;
4775
4982
 
4983
+ declare const SkeletonVariant: {
4984
+ readonly text: "text";
4985
+ readonly circular: "circular";
4986
+ readonly rectangular: "rectangular";
4987
+ };
4988
+ type SkeletonVariant = (typeof SkeletonVariant)[keyof typeof SkeletonVariant];
4989
+ declare const skeletonVariants: SkeletonVariant[];
4990
+ declare const SkeletonAnimation: {
4991
+ readonly pulse: "pulse";
4992
+ readonly wave: "wave";
4993
+ readonly none: "none";
4994
+ };
4995
+ type SkeletonAnimation = (typeof SkeletonAnimation)[keyof typeof SkeletonAnimation];
4996
+ declare const skeletonAnimations: SkeletonAnimation[];
4997
+ type SkeletonDimension = number | string;
4998
+ interface SkeletonOptions {
4999
+ /** Visual shape from the synced Skeleton page. */
5000
+ variant?: SkeletonVariant;
5001
+ /** Width of the placeholder. Numbers are interpreted as pixels. */
5002
+ width?: SkeletonDimension;
5003
+ /** Height of the placeholder. Numbers are interpreted as pixels. */
5004
+ height?: SkeletonDimension;
5005
+ /** Corner radius override. Numbers are interpreted as pixels. Circular skeletons force a full radius. */
5006
+ radius?: SkeletonDimension;
5007
+ /** Visual animation. Defaults to `pulse`; use `none` for static placeholders. */
5008
+ animation?: SkeletonAnimation;
5009
+ /** Hide the placeholder from assistive technology. Defaults to true unless `ariaLabel` is provided. */
5010
+ decorative?: boolean;
5011
+ /** Accessible label for standalone loading placeholder groups. */
5012
+ ariaLabel?: string;
5013
+ id?: string;
5014
+ }
5015
+ interface SkeletonA11yProps {
5016
+ id?: string;
5017
+ role?: "status";
5018
+ ariaHidden?: true;
5019
+ ariaLabel?: string;
5020
+ ariaLive?: "polite";
5021
+ }
5022
+ interface SkeletonDataAttributes {
5023
+ "data-component": "skeleton";
5024
+ "data-variant": SkeletonVariant;
5025
+ "data-animation": SkeletonAnimation;
5026
+ }
5027
+ interface SkeletonRenderKit {
5028
+ tag: "span";
5029
+ className: string;
5030
+ vars: CssVars;
5031
+ a11y: SkeletonA11yProps;
5032
+ dataAttributes: SkeletonDataAttributes;
5033
+ }
5034
+
5035
+ declare function resolveSkeletonA11y(options?: SkeletonOptions): SkeletonA11yProps;
5036
+
5037
+ declare function createSkeletonRecipe(options?: SkeletonOptions): SkeletonRenderKit;
5038
+
5039
+ type StatTileTone = "neutral" | "brand" | "success" | "warning" | "danger";
5040
+ type StatTileTrendDirection = "positive" | "negative";
5041
+ type StatTileDataAttributes = Record<string, string>;
5042
+ interface StatTileOptions {
5043
+ tone?: StatTileTone;
5044
+ trendDirection?: StatTileTrendDirection;
5045
+ dataAttributes?: StatTileDataAttributes;
5046
+ }
5047
+ interface StatTileA11yProps {
5048
+ trendAriaLabel?: string;
5049
+ }
5050
+ interface StatTileRenderKit {
5051
+ tag: "article";
5052
+ className: string;
5053
+ slots: {
5054
+ headerClassName: string;
5055
+ labelClassName: string;
5056
+ trendClassName: string;
5057
+ trendIconClassName: string;
5058
+ trendValueClassName: string;
5059
+ valueClassName: string;
5060
+ subtitleClassName: string;
5061
+ };
5062
+ dataAttributes: StatTileDataAttributes;
5063
+ trendDataAttributes: StatTileDataAttributes;
5064
+ trendIcon: "↑" | "↓" | null;
5065
+ a11y: StatTileA11yProps;
5066
+ }
5067
+
5068
+ declare function resolveStatTileTrendLabel(direction: StatTileTrendDirection | undefined, trendValue: string | undefined): string | undefined;
5069
+
5070
+ declare function createStatTileRecipe(opts?: StatTileOptions & {
5071
+ trendValue?: string;
5072
+ }): StatTileRenderKit;
5073
+
5074
+ type DatePickerDevice = "desktop" | "mobile";
5075
+ type DatePickerDayState = "default" | "hover" | "selected" | "range" | "range-hover" | "disabled" | "null";
5076
+ interface DatePickerDay {
5077
+ label: string;
5078
+ date?: string;
5079
+ state?: DatePickerDayState;
5080
+ isToday?: boolean;
5081
+ ariaLabel?: string;
5082
+ }
5083
+ interface DatePickerOptions {
5084
+ monthLabel?: string;
5085
+ weekdayLabels?: readonly string[];
5086
+ weeks?: readonly (readonly DatePickerDay[])[];
5087
+ device?: DatePickerDevice;
5088
+ previousYearLabel?: string;
5089
+ previousMonthLabel?: string;
5090
+ nextMonthLabel?: string;
5091
+ nextYearLabel?: string;
5092
+ cancelLabel?: string;
5093
+ applyLabel?: string;
5094
+ calendarLabel?: string;
5095
+ dataAttributes?: Record<string, string>;
5096
+ }
5097
+ interface DatePickerDataAttributes extends Record<string, string> {
5098
+ "data-component": "date-picker";
5099
+ "data-device": DatePickerDevice;
5100
+ }
5101
+ interface DatePickerDayRenderKit {
5102
+ className: string;
5103
+ dataAttributes: Record<string, string>;
5104
+ ariaLabel: string;
5105
+ disabled: boolean;
5106
+ selected: boolean;
5107
+ isEmpty: boolean;
5108
+ }
5109
+ interface DatePickerRenderKit {
5110
+ className: string;
5111
+ dataAttributes: DatePickerDataAttributes;
5112
+ monthLabel: string;
5113
+ weekdayLabels: readonly string[];
5114
+ weeks: readonly (readonly DatePickerDay[])[];
5115
+ dayKits: readonly (readonly DatePickerDayRenderKit[])[];
5116
+ slots: {
5117
+ headerClassName: string;
5118
+ navGroupClassName: string;
5119
+ navButtonClassName: string;
5120
+ monthLabelClassName: string;
5121
+ gridClassName: string;
5122
+ weekdayClassName: string;
5123
+ weekClassName: string;
5124
+ cellClassName: string;
5125
+ dayClassName: string;
5126
+ footerClassName: string;
5127
+ footerButtonClassName: string;
5128
+ };
5129
+ labels: {
5130
+ calendar: string;
5131
+ previousYear: string;
5132
+ previousMonth: string;
5133
+ nextMonth: string;
5134
+ nextYear: string;
5135
+ cancel: string;
5136
+ apply: string;
5137
+ };
5138
+ }
5139
+
5140
+ declare function resolveDatePickerDayLabel(day: DatePickerDay): string;
5141
+
5142
+ declare function createDatePickerRecipe(opts?: DatePickerOptions): DatePickerRenderKit;
5143
+
4776
5144
  declare const iconRegistry: {
4777
5145
  readonly airplay: {
4778
5146
  readonly viewBox: "0 0 24 24";
@@ -9167,4 +9535,4 @@ type SpacingRenderKit = {
9167
9535
 
9168
9536
  declare function createSpacingRecipe(opts?: SpacingOptions): SpacingRenderKit;
9169
9537
 
9170
- export { type AccordionA11yProps, type AccordionOptions, type AccordionRenderKit, type AvatarA11yProps, type AvatarDataAttributes, type AvatarOptions, type AvatarRenderContent, type AvatarRenderKit, AvatarSize, AvatarType, type BadgeA11yProps, type BadgeOptions, type BadgeRenderKit, BadgeVariant, type ButtonA11yProps, ButtonAction, type ButtonLoadingOptions, type ButtonOptions, type ButtonRenderKit, ButtonSize, ButtonVariant, type CardOptions, type CardRenderKit, type CheckboxA11y, type CheckboxProps, type CheckboxRenderKit, type CheckboxState, type ColorInput, type ColorRole, type CssVars, type CurrencyCode, DENSITY_SCALES, type Density, type DensityScale, type DialogA11yProps, type DialogOptions, type DialogRenderKit, type DialogSize, type DividerA11y, type DividerDataAttributes, type DividerOptions, type DividerOrientation, type DividerRenderKit, type DividerSize, type FamilySemanticDefinition, type FieldComparisonRow, type FontLoadingConfig, type FontLoadingMode, type FontLoadingOptions, type HeadingA11y, type HeadingLevel, type HeadingOptions, type HeadingRenderKit, type HeadingSize, type IconA11yProps, type IconColor, IconName, IconName as IconNameType, type IconOptions, type IconPreset, type IconRenderKit, type IconSize, type IconSizeKey, type IconStrokeWidth, type IconStrokeWidthKey, type InputA11yProps, type InputOptions, type InputOtpA11yProps, type InputOtpOptions, type InputOtpRenderKit, type InputRenderKit, type InputTone, type LabeledCopy, type MarwesThemeScriptOptions, type MarwesThemeStyleOptions, type MwAvailableFont, type MwFontFallback, type MwGoogleFontFamily, type MwStyledTheme, type MwThemeVarName, type MwThemeVarNames, type MwThemeVarReference, type MwThemeVars, type ParagraphA11y, type ParagraphOptions, type ParagraphRenderKit, type ParagraphSize, type PurposeSemanticDefinition, type RadioA11y, type RadioOptions, type RadioRenderKit, type ResolvedButtonLoading, type ResolvedTheme, type RichTextA11yProps, type RichTextFormat, type RichTextOptions, type RichTextRenderKit, type SecondaryColorRole, type SelectA11yProps, type SelectAppearance, type SelectMode, type SelectOption, type SelectOptions, type SelectRenderKit, type SemanticAttributeDefinition, type SemanticAttributeName, type SemanticAttributeValue, type SemanticAttributes, type SemanticFamily, type SemanticIntent, type SemanticLayer, type SemanticOrientation, type SemanticOutcome, type SemanticPurpose, type SliderA11yProps, type SliderDataAttributes, type SliderOptions, type SliderRenderKit, type SpacingA11y, type SpacingDataAttributes, type SpacingOptions, type SpacingRenderKit, type SpacingSize, Spacings, type SpinnerA11yProps, type SpinnerDataAttributes, type SpinnerOptions, type SpinnerRenderKit, type SpinnerSize, type SpinnerSvgDefinition, type SpinnerSvgElement, type SpinnerSvgNode, SpinnerVariant, SpinnerVariants, type SvgElementType, type SvgNode, type SwitchA11yProps, type SwitchOptions, type SwitchRenderKit, SwitchSize, type SystemThemeMode, type TabA11yProps, type TabGroupA11yIds, type TabGroupItemState, type TabNavigationDirection, type TabOptions, type TabRenderKit, type TextareaA11yProps, type TextareaOptions, type TextareaRenderKit, type TextareaResize, type Theme, type ThemeInput, type ThemeInputColor, ThemeMode, type ThemeModeAttribute, type ThemeModeCSSRulesOptions, type ThemeModeRootTarget, type ThemePreference, type ThemeVariableStrategy, type ToastA11yProps, type ToastContainerOptions, type ToastIntent, type ToastOptions, type ToastPlacement, type ToastRenderKit, type ToastVariant, type ToneName, type TooltipA11yProps, type TooltipDataAttributes, type TooltipOptions, type TooltipRenderKit, accordionPurposeComponentReference, accordionWhyPurposeComponents, avatarPurposeSemantics, avatarPurposes, badgePurposeComponentReference, badgePurposeSemantics, badgePurposes, badgeWhyPurposeComponents, buildAccordionFieldA11yIds, buildCheckboxA11y, buildCheckboxFieldA11yIds, buildCheckboxGroupFieldA11yIds, buildCurrencyHelperText, buildGoogleFontsUrl, buildHeadingA11y, buildInputFieldA11yIds, buildRadioA11y, buildRadioGroupFieldA11yIds, buildRichTextFieldA11yIds, buildSliderFieldA11yIds, buildSwitchFieldA11yIds, buildTabGroupA11yIds, buttonActionSemanticPurposes, buttonPurposeSemantics, buttonPurposes, buttonVariantVisualStyles, buttonWhySemanticComponents, canonicalSemanticAttributeNames, canonicalSemanticAttributeRegistry, canonicalSemanticAttributes, cardPurposeComponentReference, cardWhyPurposeComponents, checkboxRecipe, createAccordionRecipe, createAvatarRecipe, createBadgeRecipe, createButtonRecipe, createCardRecipe, createDialogRecipe, createDividerRecipe, createFamilySemanticAttributes, createFontStack, createIconRecipe, createInputOtpRecipe, createInputRecipe, createMarwesThemeScript, createMarwesThemeStyle, createPurposeSemanticAttributes, createRichTextRecipe, createSelectRecipe, createSliderRecipe, createSpacingRecipe, createSpinnerRecipe, createSwitchRecipe, createTabRecipe, createTextareaRecipe, createToastRecipe, createTooltipRecipe, currencyCodes, darkThemeDefaults, densityToCSSVars, dialogPurposeComponentReference, dialogPurposeSemantics, dialogPurposes, dialogWhyPurposeComponents, emptySemanticAttributes, escapeRichTextHtml, extractFontFamilyName, extractUsedWeights, familySemanticsRegistry, fieldComparisonRows, fieldWhyPurposeComponents, filterUndefinedSemanticAttributes, getCurrencySymbol, headingRecipe, iconNames, iconNamesList, iconRegistry, iconSizeScale, iconStrokeWidthScale, isRichTextHtmlEmpty, isSystemFont, isThemeMode, isThemePreference, lightThemeDefaults, mergeIdRefs, mergeSemanticAttributes, moveTabSelection, mwAvailableFonts, mwFontFallbacks, mwGoogleFontFamilies, mwStyledTheme, mwThemeVarNames, mwThemeVars, mwVar, nextThemeMode, normalizeRichTextHtml, paragraphRecipe, purposeSemanticsRegistry, radioPurposeComponentReference, radioRecipe, radioWhyPurposeComponents, resolveAccordionA11y, resolveAvatarA11y, resolveBadgeA11y, resolveButtonLoading, resolveDialogA11y, resolveIconA11y, resolveIconSize, resolveIconStrokeWidth, resolveRichTextAllowedFormats, resolveSelectMode, resolveServerThemeMode, resolveSliderA11y, resolveSpinnerA11y, resolveSpinnerSize, resolveSwitchA11y, resolveTabA11y, resolveTabValue, resolveThemeInput, resolveThemePreference, resolveToastA11y, resolveTone, resolveTooltipA11y, richTextCommandByFormat, richTextFormattingReference, richTextWhyUseIt, sanitizeCurrencyValue, sanitizeInputOtpValue, semanticFamilies, semanticFrameworkSupport, semanticIntents, semanticLayers, semanticOrientations, semanticOutcomes, semanticPurposes, shouldLoadGoogleFont, sliderPurposeComponentReference, sliderWhyPurposeComponents, spinnerSizeScale, spinnerSizes, spinnerVariants, storybookA11yPolicy, storybookButtonGeneralArgTypes, storybookButtonIconArgTypes, storybookButtonPurposeArgTypes, storybookCheckboxArgTypes, storybookDividerArgTypes, storybookDocsDescription, storybookIconGalleryArgTypes, storybookIconGalleryDefaults, storybookIconNames, storybookLayout, storybookOptionalIconNames, storybookRadioArgTypes, storybookSliderArgTypes, storybookSpacingArgTypes, storybookSpinnerArgTypes, switchPurposeComponentReference, switchWhyPurposeComponents, tabPurposeComponentReference, tabWhyPurposeComponents, themeModesToCSSRules, themeToCSSRule, themeToCSSVars, toastPurposeComponentReference, toastPurposeSemantics, toastPurposes, toastWhyPurposeComponents, validateSemanticRegistry };
9538
+ export { type AccordionA11yProps, type AccordionOptions, type AccordionRenderKit, type AvatarA11yProps, type AvatarDataAttributes, type AvatarOptions, type AvatarRenderContent, type AvatarRenderKit, AvatarSize, AvatarType, type BadgeA11yProps, type BadgeOptions, type BadgeRenderKit, BadgeVariant, type ButtonA11yProps, ButtonAction, type ButtonLoadingOptions, type ButtonOptions, type ButtonRenderKit, ButtonSize, ButtonVariant, type CardOptions, type CardRenderKit, type CheckboxA11y, type CheckboxProps, type CheckboxRenderKit, type CheckboxState, type ColorInput, type ColorRole, type CssVars, type CurrencyCode, DENSITY_SCALES, type DatePickerDataAttributes, type DatePickerDay, type DatePickerDayRenderKit, type DatePickerDayState, type DatePickerDevice, type DatePickerOptions, type DatePickerRenderKit, type Density, type DensityScale, type DialogA11yProps, type DialogOptions, type DialogRenderKit, type DialogSize, type DividerA11y, type DividerDataAttributes, type DividerOptions, type DividerOrientation, type DividerRenderKit, type DividerSize, type FamilySemanticDefinition, type FieldComparisonRow, type FontLoadingConfig, type FontLoadingMode, type FontLoadingOptions, type HeadingA11y, type HeadingLevel, type HeadingOptions, type HeadingRenderKit, type HeadingSize, type IconA11yProps, type IconColor, IconName, IconName as IconNameType, type IconOptions, type IconPreset, type IconRenderKit, type IconSize, type IconSizeKey, type IconStrokeWidth, type IconStrokeWidthKey, type InputA11yProps, type InputOptions, type InputOtpA11yProps, type InputOtpOptions, type InputOtpRenderKit, type InputRenderKit, type InputTone, type LabeledCopy, type MarwesThemeScriptOptions, type MarwesThemeStyleOptions, type MwAvailableFont, type MwFontFallback, type MwGoogleFontFamily, type MwStyledTheme, type MwThemeVarName, type MwThemeVarNames, type MwThemeVarReference, type MwThemeVars, type ParagraphA11y, type ParagraphOptions, type ParagraphRenderKit, type ParagraphSize, type PurposeSemanticDefinition, type RadioA11y, type RadioOptions, type RadioRenderKit, type ResolvedButtonLoading, type ResolvedTheme, type RichTextA11yProps, type RichTextFormat, type RichTextOptions, type RichTextRenderKit, type SecondaryColorRole, type SelectA11yProps, type SelectAppearance, type SelectMode, type SelectOption, type SelectOptions, type SelectRenderKit, type SemanticAttributeDefinition, type SemanticAttributeName, type SemanticAttributeValue, type SemanticAttributes, type SemanticFamily, type SemanticIntent, type SemanticLayer, type SemanticOrientation, type SemanticOutcome, type SemanticPurpose, type SkeletonA11yProps, SkeletonAnimation, type SkeletonDataAttributes, type SkeletonDimension, type SkeletonOptions, type SkeletonRenderKit, SkeletonVariant, type SliderA11yProps, type SliderDataAttributes, type SliderOptions, type SliderRenderKit, type SpacingA11y, type SpacingDataAttributes, type SpacingOptions, type SpacingRenderKit, type SpacingSize, Spacings, type SpinnerA11yProps, type SpinnerDataAttributes, type SpinnerOptions, type SpinnerRenderKit, type SpinnerSize, type SpinnerSvgDefinition, type SpinnerSvgElement, type SpinnerSvgNode, SpinnerVariant, SpinnerVariants, type StatTileA11yProps, type StatTileDataAttributes, type StatTileOptions, type StatTileRenderKit, type StatTileTone, type StatTileTrendDirection, type SvgElementType, type SvgNode, type SwitchA11yProps, type SwitchOptions, type SwitchRenderKit, SwitchSize, type SystemThemeMode, type TabA11yProps, type TabGroupA11yIds, type TabGroupItemState, type TabNavigationDirection, type TabOptions, type TabRenderKit, type TextareaA11yProps, type TextareaOptions, type TextareaRenderKit, type TextareaResize, type Theme, type ThemeInput, type ThemeInputColor, ThemeMode, type ThemeModeAttribute, type ThemeModeCSSRulesOptions, type ThemeModeRootTarget, type ThemePreference, type ThemeVariableStrategy, type ToastA11yProps, type ToastContainerOptions, type ToastIntent, type ToastOptions, type ToastPlacement, type ToastRenderKit, type ToastVariant, type ToneName, type TooltipA11yProps, type TooltipDataAttributes, type TooltipOptions, type TooltipRenderKit, accordionPurposeComponentReference, accordionWhyPurposeComponents, avatarPurposeSemantics, avatarPurposes, badgePurposeComponentReference, badgePurposeSemantics, badgePurposes, badgeWhyPurposeComponents, buildAccordionFieldA11yIds, buildCheckboxA11y, buildCheckboxFieldA11yIds, buildCheckboxGroupFieldA11yIds, buildCurrencyHelperText, buildGoogleFontsUrl, buildHeadingA11y, buildInputFieldA11yIds, buildRadioA11y, buildRadioGroupFieldA11yIds, buildRichTextFieldA11yIds, buildSliderFieldA11yIds, buildSwitchFieldA11yIds, buildTabGroupA11yIds, buttonActionSemanticPurposes, buttonPurposeSemantics, buttonPurposes, buttonVariantVisualStyles, buttonWhySemanticComponents, canonicalSemanticAttributeNames, canonicalSemanticAttributeRegistry, canonicalSemanticAttributes, cardPurposeComponentReference, cardWhyPurposeComponents, checkboxRecipe, createAccordionRecipe, createAvatarRecipe, createBadgeRecipe, createButtonRecipe, createCardRecipe, createDatePickerRecipe, createDialogRecipe, createDividerRecipe, createFamilySemanticAttributes, createFontStack, createIconRecipe, createInputOtpRecipe, createInputRecipe, createMarwesThemeScript, createMarwesThemeStyle, createPurposeSemanticAttributes, createRichTextRecipe, createSelectRecipe, createSkeletonRecipe, createSliderRecipe, createSpacingRecipe, createSpinnerRecipe, createStatTileRecipe, createSwitchRecipe, createTabRecipe, createTextareaRecipe, createToastRecipe, createTooltipRecipe, currencyCodes, darkThemeDefaults, densityToCSSVars, dialogPurposeComponentReference, dialogPurposeSemantics, dialogPurposes, dialogWhyPurposeComponents, emptySemanticAttributes, escapeRichTextHtml, extractFontFamilyName, extractUsedWeights, familySemanticsRegistry, fieldComparisonRows, fieldWhyPurposeComponents, filterUndefinedSemanticAttributes, getCurrencySymbol, headingRecipe, iconNames, iconNamesList, iconRegistry, iconSizeScale, iconStrokeWidthScale, isRichTextHtmlEmpty, isSystemFont, isThemeMode, isThemePreference, lightThemeDefaults, mergeIdRefs, mergeSemanticAttributes, moveTabSelection, mwAvailableFonts, mwFontFallbacks, mwGoogleFontFamilies, mwStyledTheme, mwThemeVarNames, mwThemeVars, mwVar, nextThemeMode, normalizeRichTextHtml, paragraphRecipe, purposeSemanticsRegistry, radioPurposeComponentReference, radioRecipe, radioWhyPurposeComponents, resolveAccordionA11y, resolveAvatarA11y, resolveBadgeA11y, resolveButtonLoading, resolveDatePickerDayLabel, resolveDialogA11y, resolveIconA11y, resolveIconSize, resolveIconStrokeWidth, resolveRichTextAllowedFormats, resolveSelectMode, resolveServerThemeMode, resolveSkeletonA11y, resolveSliderA11y, resolveSpinnerA11y, resolveSpinnerSize, resolveStatTileTrendLabel, resolveSwitchA11y, resolveTabA11y, resolveTabValue, resolveThemeInput, resolveThemePreference, resolveToastA11y, resolveTone, resolveTooltipA11y, richTextCommandByFormat, richTextFormattingReference, richTextWhyUseIt, sanitizeCurrencyValue, sanitizeInputOtpValue, semanticFamilies, semanticFrameworkSupport, semanticIntents, semanticLayers, semanticOrientations, semanticOutcomes, semanticPurposes, shouldLoadGoogleFont, skeletonAnimations, skeletonVariants, sliderPurposeComponentReference, sliderWhyPurposeComponents, spinnerSizeScale, spinnerSizes, spinnerVariants, storybookA11yPolicy, storybookButtonGeneralArgTypes, storybookButtonIconArgTypes, storybookButtonPurposeArgTypes, storybookCheckboxArgTypes, storybookDatePickerArgTypes, storybookDividerArgTypes, storybookDocsDescription, storybookIconGalleryArgTypes, storybookIconGalleryDefaults, storybookIconNames, storybookLayout, storybookOptionalIconNames, storybookRadioArgTypes, storybookSkeletonArgTypes, storybookSliderArgTypes, storybookSpacingArgTypes, storybookSpinnerArgTypes, storybookStatTileArgTypes, switchPurposeComponentReference, switchWhyPurposeComponents, tabPurposeComponentReference, tabWhyPurposeComponents, themeModesToCSSRules, themeToCSSRule, themeToCSSVars, toastPurposeComponentReference, toastPurposeSemantics, toastPurposes, toastWhyPurposeComponents, validateSemanticRegistry };