@lunar-js/lunar 0.0.1
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/CHANGELOG.md +12 -0
- package/LICENSE +21 -0
- package/README.md +41 -0
- package/dist/components/composite/Card/Card.d.ts +64 -0
- package/dist/components/composite/Card/Card.d.ts.map +1 -0
- package/dist/components/composite/Card/Card.js +86 -0
- package/dist/components/composite/Card/Card.js.map +1 -0
- package/dist/components/composite/Card/card.css.js +62 -0
- package/dist/components/composite/Card/card.css.js.map +1 -0
- package/dist/components/composite/Dialog/Dialog.d.ts +45 -0
- package/dist/components/composite/Dialog/Dialog.d.ts.map +1 -0
- package/dist/components/composite/Dialog/Dialog.js +117 -0
- package/dist/components/composite/Dialog/Dialog.js.map +1 -0
- package/dist/components/composite/Dialog/DialogProvider.d.ts +11 -0
- package/dist/components/composite/Dialog/DialogProvider.d.ts.map +1 -0
- package/dist/components/composite/Dialog/DialogProvider.js +19 -0
- package/dist/components/composite/Dialog/DialogProvider.js.map +1 -0
- package/dist/components/composite/Dialog/dialog.css.js +104 -0
- package/dist/components/composite/Dialog/dialog.css.js.map +1 -0
- package/dist/components/primitives/Button/Button.d.ts +27 -0
- package/dist/components/primitives/Button/Button.d.ts.map +1 -0
- package/dist/components/primitives/Button/Button.js +25 -0
- package/dist/components/primitives/Button/Button.js.map +1 -0
- package/dist/components/primitives/Button/button.css.d.ts +16 -0
- package/dist/components/primitives/Button/button.css.d.ts.map +1 -0
- package/dist/components/primitives/Button/button.css.js +202 -0
- package/dist/components/primitives/Button/button.css.js.map +1 -0
- package/dist/components/primitives/Button/button.types.d.ts +8 -0
- package/dist/components/primitives/Button/button.types.d.ts.map +1 -0
- package/dist/components/primitives/Input/Input.d.ts +12 -0
- package/dist/components/primitives/Input/Input.d.ts.map +1 -0
- package/dist/components/primitives/Input/Input.js +21 -0
- package/dist/components/primitives/Input/Input.js.map +1 -0
- package/dist/components/primitives/Input/input.css.js +54 -0
- package/dist/components/primitives/Input/input.css.js.map +1 -0
- package/dist/components/primitives/Label/Label.d.ts +13 -0
- package/dist/components/primitives/Label/Label.d.ts.map +1 -0
- package/dist/components/primitives/Label/Label.js +22 -0
- package/dist/components/primitives/Label/Label.js.map +1 -0
- package/dist/components/primitives/Label/label.css.js +35 -0
- package/dist/components/primitives/Label/label.css.js.map +1 -0
- package/dist/components/primitives/Typography/Text.d.ts +40 -0
- package/dist/components/primitives/Typography/Text.d.ts.map +1 -0
- package/dist/components/primitives/Typography/Text.js +28 -0
- package/dist/components/primitives/Typography/Text.js.map +1 -0
- package/dist/components/primitives/Typography/text.css.d.ts +31 -0
- package/dist/components/primitives/Typography/text.css.d.ts.map +1 -0
- package/dist/components/primitives/Typography/text.css.js +1019 -0
- package/dist/components/primitives/Typography/text.css.js.map +1 -0
- package/dist/components/primitives/Typography/text.types.d.ts +10 -0
- package/dist/components/primitives/Typography/text.types.d.ts.map +1 -0
- package/dist/constants/theming.d.ts +10 -0
- package/dist/constants/theming.d.ts.map +1 -0
- package/dist/constants/theming.js +11 -0
- package/dist/constants/theming.js.map +1 -0
- package/dist/hooks/dialog.d.ts +7 -0
- package/dist/hooks/dialog.d.ts.map +1 -0
- package/dist/hooks/dialog.js +14 -0
- package/dist/hooks/dialog.js.map +1 -0
- package/dist/hooks/refs.js +23 -0
- package/dist/hooks/refs.js.map +1 -0
- package/dist/hooks/theme.d.ts +7 -0
- package/dist/hooks/theme.d.ts.map +1 -0
- package/dist/hooks/theme.js +14 -0
- package/dist/hooks/theme.js.map +1 -0
- package/dist/hooks/utils.js +6 -0
- package/dist/hooks/utils.js.map +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +20 -0
- package/dist/styles.css.d.ts +4 -0
- package/dist/styles.css.js +5 -0
- package/dist/themes/ThemeProvider/ThemeProvider.d.ts +19 -0
- package/dist/themes/ThemeProvider/ThemeProvider.d.ts.map +1 -0
- package/dist/themes/ThemeProvider/ThemeProvider.js +25 -0
- package/dist/themes/ThemeProvider/ThemeProvider.js.map +1 -0
- package/dist/themes/regal.css.d.ts +5 -0
- package/dist/themes/regal.css.d.ts.map +1 -0
- package/dist/themes/regal.css.js +720 -0
- package/dist/themes/regal.css.js.map +1 -0
- package/dist/themes/styles/color-scheme.css.d.ts +6 -0
- package/dist/themes/styles/color-scheme.css.d.ts.map +1 -0
- package/dist/themes/styles/color-scheme.css.js +9 -0
- package/dist/themes/styles/color-scheme.css.js.map +1 -0
- package/dist/themes/styles/utilities.d.ts +125 -0
- package/dist/themes/styles/utilities.d.ts.map +1 -0
- package/dist/themes/styles/utilities.js +129 -0
- package/dist/themes/styles/utilities.js.map +1 -0
- package/dist/themes/tokens/primitives/borders.d.ts +22 -0
- package/dist/themes/tokens/primitives/borders.d.ts.map +1 -0
- package/dist/themes/tokens/primitives/borders.js +23 -0
- package/dist/themes/tokens/primitives/borders.js.map +1 -0
- package/dist/themes/tokens/primitives/colors.d.ts +100 -0
- package/dist/themes/tokens/primitives/colors.d.ts.map +1 -0
- package/dist/themes/tokens/primitives/colors.js +101 -0
- package/dist/themes/tokens/primitives/colors.js.map +1 -0
- package/dist/themes/tokens/primitives/shadows.d.ts +14 -0
- package/dist/themes/tokens/primitives/shadows.d.ts.map +1 -0
- package/dist/themes/tokens/primitives/shadows.js +15 -0
- package/dist/themes/tokens/primitives/shadows.js.map +1 -0
- package/dist/themes/tokens/primitives/spacing.d.ts +41 -0
- package/dist/themes/tokens/primitives/spacing.d.ts.map +1 -0
- package/dist/themes/tokens/primitives/spacing.js +42 -0
- package/dist/themes/tokens/primitives/spacing.js.map +1 -0
- package/dist/themes/tokens/primitives/typography.d.ts +105 -0
- package/dist/themes/tokens/primitives/typography.d.ts.map +1 -0
- package/dist/themes/tokens/primitives/typography.js +106 -0
- package/dist/themes/tokens/primitives/typography.js.map +1 -0
- package/dist/themes/tokens/semantic/borders.js +23 -0
- package/dist/themes/tokens/semantic/borders.js.map +1 -0
- package/dist/themes/tokens/semantic/colors.js +145 -0
- package/dist/themes/tokens/semantic/colors.js.map +1 -0
- package/dist/themes/tokens/semantic/shadows.js +15 -0
- package/dist/themes/tokens/semantic/shadows.js.map +1 -0
- package/dist/themes/tokens/semantic/spacing.js +70 -0
- package/dist/themes/tokens/semantic/spacing.js.map +1 -0
- package/dist/themes/tokens/semantic/typography.js +34 -0
- package/dist/themes/tokens/semantic/typography.js.map +1 -0
- package/dist/themes/tokens/tokens.css.d.ts +714 -0
- package/dist/themes/tokens/tokens.css.d.ts.map +1 -0
- package/dist/themes/tokens/tokens.css.js +36 -0
- package/dist/themes/tokens/tokens.css.js.map +1 -0
- package/dist/types/theming.d.ts +7 -0
- package/dist/types/theming.d.ts.map +1 -0
- package/package.json +80 -0
- package/src/components/composite/Card/Card.tsx +62 -0
- package/src/components/composite/Card/card.css.ts +79 -0
- package/src/components/composite/Dialog/Dialog.tsx +150 -0
- package/src/components/composite/Dialog/DialogProvider.tsx +21 -0
- package/src/components/composite/Dialog/dialog.css.ts +137 -0
- package/src/components/primitives/Button/Button.tsx +35 -0
- package/src/components/primitives/Button/button.css.ts +236 -0
- package/src/components/primitives/Button/button.types.ts +23 -0
- package/src/components/primitives/Input/Input.tsx +13 -0
- package/src/components/primitives/Input/input.css.ts +64 -0
- package/src/components/primitives/Label/Label.tsx +15 -0
- package/src/components/primitives/Label/label.css.ts +39 -0
- package/src/components/primitives/Typography/Text.tsx +55 -0
- package/src/components/primitives/Typography/text.css.ts +1091 -0
- package/src/components/primitives/Typography/text.types.ts +55 -0
- package/src/constants/theming.ts +16 -0
- package/src/hooks/dialog.ts +15 -0
- package/src/hooks/refs.ts +34 -0
- package/src/hooks/theme.ts +15 -0
- package/src/hooks/utils.ts +3 -0
- package/src/index.css.ts +26 -0
- package/src/index.ts +111 -0
- package/src/themes/ThemeProvider/ThemeProvider.tsx +39 -0
- package/src/themes/regal.css.ts +741 -0
- package/src/themes/styles/color-scheme.css.ts +11 -0
- package/src/themes/styles/utilities.ts +140 -0
- package/src/themes/tokens/primitives/borders.ts +21 -0
- package/src/themes/tokens/primitives/colors.ts +114 -0
- package/src/themes/tokens/primitives/shadows.ts +12 -0
- package/src/themes/tokens/primitives/spacing.ts +39 -0
- package/src/themes/tokens/primitives/typography.ts +125 -0
- package/src/themes/tokens/semantic/borders.ts +21 -0
- package/src/themes/tokens/semantic/colors.ts +166 -0
- package/src/themes/tokens/semantic/shadows.ts +12 -0
- package/src/themes/tokens/semantic/spacing.ts +75 -0
- package/src/themes/tokens/semantic/typography.ts +35 -0
- package/src/themes/tokens/tokens.css.ts +42 -0
- package/src/types/theming.ts +14 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text.css.js","names":[],"sources":["../../../../src/components/primitives/Typography/text.css.ts"],"sourcesContent":["import { recipe } from '@vanilla-extract/recipes';\n\nimport { themeContract } from '../../../themes/tokens/tokens.css.js';\n\nconst TEXT_VARIANT__DISPLAY = 'display';\nconst TEXT_VARIANT__HEADING = 'heading';\nconst TEXT_VARIANT__SUBHEADING = 'subheading';\nconst TEXT_VARIANT__BODY = 'body';\nconst TEXT_VARIANT__CAPTION = 'caption';\nconst TEXT_VARIANT__LABEL = 'label';\n\nconst TEXT_SIZE__XL = 'xl';\nconst TEXT_SIZE__LG = 'lg';\nconst TEXT_SIZE__MD = 'md';\nconst TEXT_SIZE__SM = 'sm';\n\n// Color variant constants\nconst TEXT_COLOR__PRIMARY = 'primary';\nconst TEXT_COLOR__SECONDARY = 'secondary';\nconst TEXT_COLOR__MUTED = 'muted'; // maps to text.tertiary\nconst TEXT_COLOR__DISABLED = 'disabled';\nconst TEXT_COLOR__INVERSE = 'inverse';\nconst TEXT_COLOR__INTERACTIVE = 'interactive';\nconst TEXT_COLOR__SUCCESS = 'success';\nconst TEXT_COLOR__WARNING = 'warning';\nconst TEXT_COLOR__DANGER = 'danger'; // maps to text.error\nconst TEXT_COLOR__INFO = 'info';\nconst TEXT_COLOR__BRAND = 'brand'; // maps to text.interactive\nconst TEXT_COLOR__ACCENT = 'accent'; // maps to text.interactive.hover\n\nconst TEXT_WEIGHT__LIGHT = 'light';\nconst TEXT_WEIGHT__MEDIUM = 'medium';\nconst TEXT_WEIGHT__BOLD = 'bold';\n\nconst textVariants = recipe({\n base: {\n margin: 0,\n padding: 0,\n fontFamily: themeContract.typography.fontFamily.base,\n },\n defaultVariants: {\n variant: TEXT_VARIANT__BODY,\n size: TEXT_SIZE__MD,\n color: TEXT_COLOR__PRIMARY,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n variants: {\n variant: {\n [TEXT_VARIANT__DISPLAY]: {},\n [TEXT_VARIANT__HEADING]: {},\n [TEXT_VARIANT__SUBHEADING]: {},\n [TEXT_VARIANT__BODY]: {},\n [TEXT_VARIANT__CAPTION]: {},\n [TEXT_VARIANT__LABEL]: {},\n },\n size: {\n [TEXT_SIZE__XL]: {},\n [TEXT_SIZE__LG]: {},\n [TEXT_SIZE__MD]: {},\n [TEXT_SIZE__SM]: {},\n },\n weight: {\n [TEXT_WEIGHT__LIGHT]: {},\n [TEXT_WEIGHT__MEDIUM]: {},\n [TEXT_WEIGHT__BOLD]: {},\n },\n color: {\n // Primary text colors\n [TEXT_COLOR__PRIMARY]: {\n color: themeContract.colors.text.primary,\n },\n [TEXT_COLOR__SECONDARY]: {\n color: themeContract.colors.text.secondary,\n },\n [TEXT_COLOR__MUTED]: {\n color: themeContract.colors.text.tertiary,\n },\n [TEXT_COLOR__DISABLED]: {\n color: themeContract.colors.text.disabled,\n },\n [TEXT_COLOR__INVERSE]: {\n color: themeContract.colors.text.inverse,\n },\n\n // Interactive colors\n [TEXT_COLOR__INTERACTIVE]: {\n color: themeContract.colors.text.interactive.default,\n },\n\n // Semantic colors\n [TEXT_COLOR__SUCCESS]: {\n color: themeContract.colors.text.success,\n },\n [TEXT_COLOR__WARNING]: {\n color: themeContract.colors.text.warning,\n },\n [TEXT_COLOR__DANGER]: {\n color: themeContract.colors.text.error,\n },\n [TEXT_COLOR__INFO]: {\n color: themeContract.colors.text.info,\n },\n\n // Brand colors (using interactive as fallback)\n [TEXT_COLOR__BRAND]: {\n color: themeContract.colors.text.interactive.default,\n },\n [TEXT_COLOR__ACCENT]: {\n color: themeContract.colors.text.interactive.hover,\n },\n },\n },\n compoundVariants: [\n // DISPLAY variants\n {\n variants: {\n variant: TEXT_VARIANT__DISPLAY,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.display.xl.light.fontSize,\n fontWeight: themeContract.typography.display.xl.light.fontWeight,\n letterSpacing: themeContract.typography.display.xl.light.letterSpacing,\n lineHeight: themeContract.typography.display.xl.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__DISPLAY,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.display.xl.medium.fontSize,\n fontWeight: themeContract.typography.display.xl.medium.fontWeight,\n letterSpacing: themeContract.typography.display.xl.medium.letterSpacing,\n lineHeight: themeContract.typography.display.xl.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__DISPLAY,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.display.xl.bold.fontSize,\n fontWeight: themeContract.typography.display.xl.bold.fontWeight,\n letterSpacing: themeContract.typography.display.xl.bold.letterSpacing,\n lineHeight: themeContract.typography.display.xl.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__DISPLAY,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.display.lg.light.fontSize,\n fontWeight: themeContract.typography.display.lg.light.fontWeight,\n letterSpacing: themeContract.typography.display.lg.light.letterSpacing,\n lineHeight: themeContract.typography.display.lg.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__DISPLAY,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.display.lg.medium.fontSize,\n fontWeight: themeContract.typography.display.lg.medium.fontWeight,\n letterSpacing: themeContract.typography.display.lg.medium.letterSpacing,\n lineHeight: themeContract.typography.display.lg.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__DISPLAY,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.display.lg.bold.fontSize,\n fontWeight: themeContract.typography.display.lg.bold.fontWeight,\n letterSpacing: themeContract.typography.display.lg.bold.letterSpacing,\n lineHeight: themeContract.typography.display.lg.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__DISPLAY,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.display.md.light.fontSize,\n fontWeight: themeContract.typography.display.md.light.fontWeight,\n letterSpacing: themeContract.typography.display.md.light.letterSpacing,\n lineHeight: themeContract.typography.display.md.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__DISPLAY,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.display.md.medium.fontSize,\n fontWeight: themeContract.typography.display.md.medium.fontWeight,\n letterSpacing: themeContract.typography.display.md.medium.letterSpacing,\n lineHeight: themeContract.typography.display.md.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__DISPLAY,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.display.md.bold.fontSize,\n fontWeight: themeContract.typography.display.md.bold.fontWeight,\n letterSpacing: themeContract.typography.display.md.bold.letterSpacing,\n lineHeight: themeContract.typography.display.md.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__DISPLAY,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.display.sm.light.fontSize,\n fontWeight: themeContract.typography.display.sm.light.fontWeight,\n letterSpacing: themeContract.typography.display.sm.light.letterSpacing,\n lineHeight: themeContract.typography.display.sm.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__DISPLAY,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.display.sm.medium.fontSize,\n fontWeight: themeContract.typography.display.sm.medium.fontWeight,\n letterSpacing: themeContract.typography.display.sm.medium.letterSpacing,\n lineHeight: themeContract.typography.display.sm.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__DISPLAY,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.display.sm.bold.fontSize,\n fontWeight: themeContract.typography.display.sm.bold.fontWeight,\n letterSpacing: themeContract.typography.display.sm.bold.letterSpacing,\n lineHeight: themeContract.typography.display.sm.bold.lineHeight,\n },\n },\n\n // HEADING variants\n {\n variants: {\n variant: TEXT_VARIANT__HEADING,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.heading.xl.light.fontSize,\n fontWeight: themeContract.typography.heading.xl.light.fontWeight,\n letterSpacing: themeContract.typography.heading.xl.light.letterSpacing,\n lineHeight: themeContract.typography.heading.xl.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__HEADING,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.heading.xl.medium.fontSize,\n fontWeight: themeContract.typography.heading.xl.medium.fontWeight,\n letterSpacing: themeContract.typography.heading.xl.medium.letterSpacing,\n lineHeight: themeContract.typography.heading.xl.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__HEADING,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.heading.xl.bold.fontSize,\n fontWeight: themeContract.typography.heading.xl.bold.fontWeight,\n letterSpacing: themeContract.typography.heading.xl.bold.letterSpacing,\n lineHeight: themeContract.typography.heading.xl.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__HEADING,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.heading.lg.light.fontSize,\n fontWeight: themeContract.typography.heading.lg.light.fontWeight,\n letterSpacing: themeContract.typography.heading.lg.light.letterSpacing,\n lineHeight: themeContract.typography.heading.lg.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__HEADING,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.heading.lg.medium.fontSize,\n fontWeight: themeContract.typography.heading.lg.medium.fontWeight,\n letterSpacing: themeContract.typography.heading.lg.medium.letterSpacing,\n lineHeight: themeContract.typography.heading.lg.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__HEADING,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.heading.lg.bold.fontSize,\n fontWeight: themeContract.typography.heading.lg.bold.fontWeight,\n letterSpacing: themeContract.typography.heading.lg.bold.letterSpacing,\n lineHeight: themeContract.typography.heading.lg.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__HEADING,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.heading.md.light.fontSize,\n fontWeight: themeContract.typography.heading.md.light.fontWeight,\n letterSpacing: themeContract.typography.heading.md.light.letterSpacing,\n lineHeight: themeContract.typography.heading.md.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__HEADING,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.heading.md.medium.fontSize,\n fontWeight: themeContract.typography.heading.md.medium.fontWeight,\n letterSpacing: themeContract.typography.heading.md.medium.letterSpacing,\n lineHeight: themeContract.typography.heading.md.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__HEADING,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.heading.md.bold.fontSize,\n fontWeight: themeContract.typography.heading.md.bold.fontWeight,\n letterSpacing: themeContract.typography.heading.md.bold.letterSpacing,\n lineHeight: themeContract.typography.heading.md.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__HEADING,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.heading.sm.light.fontSize,\n fontWeight: themeContract.typography.heading.sm.light.fontWeight,\n letterSpacing: themeContract.typography.heading.sm.light.letterSpacing,\n lineHeight: themeContract.typography.heading.sm.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__HEADING,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.heading.sm.medium.fontSize,\n fontWeight: themeContract.typography.heading.sm.medium.fontWeight,\n letterSpacing: themeContract.typography.heading.sm.medium.letterSpacing,\n lineHeight: themeContract.typography.heading.sm.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__HEADING,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.heading.sm.bold.fontSize,\n fontWeight: themeContract.typography.heading.sm.bold.fontWeight,\n letterSpacing: themeContract.typography.heading.sm.bold.letterSpacing,\n lineHeight: themeContract.typography.heading.sm.bold.lineHeight,\n },\n },\n\n // SUBHEADING variants\n {\n variants: {\n variant: TEXT_VARIANT__SUBHEADING,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.subheading.xl.light.fontSize,\n fontWeight: themeContract.typography.subheading.xl.light.fontWeight,\n letterSpacing: themeContract.typography.subheading.xl.light.letterSpacing,\n lineHeight: themeContract.typography.subheading.xl.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__SUBHEADING,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.subheading.xl.medium.fontSize,\n fontWeight: themeContract.typography.subheading.xl.medium.fontWeight,\n letterSpacing: themeContract.typography.subheading.xl.medium.letterSpacing,\n lineHeight: themeContract.typography.subheading.xl.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__SUBHEADING,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.subheading.xl.bold.fontSize,\n fontWeight: themeContract.typography.subheading.xl.bold.fontWeight,\n letterSpacing: themeContract.typography.subheading.xl.bold.letterSpacing,\n lineHeight: themeContract.typography.subheading.xl.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__SUBHEADING,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.subheading.lg.light.fontSize,\n fontWeight: themeContract.typography.subheading.lg.light.fontWeight,\n letterSpacing: themeContract.typography.subheading.lg.light.letterSpacing,\n lineHeight: themeContract.typography.subheading.lg.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__SUBHEADING,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.subheading.lg.medium.fontSize,\n fontWeight: themeContract.typography.subheading.lg.medium.fontWeight,\n letterSpacing: themeContract.typography.subheading.lg.medium.letterSpacing,\n lineHeight: themeContract.typography.subheading.lg.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__SUBHEADING,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.subheading.lg.bold.fontSize,\n fontWeight: themeContract.typography.subheading.lg.bold.fontWeight,\n letterSpacing: themeContract.typography.subheading.lg.bold.letterSpacing,\n lineHeight: themeContract.typography.subheading.lg.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__SUBHEADING,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.subheading.md.light.fontSize,\n fontWeight: themeContract.typography.subheading.md.light.fontWeight,\n letterSpacing: themeContract.typography.subheading.md.light.letterSpacing,\n lineHeight: themeContract.typography.subheading.md.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__SUBHEADING,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.subheading.md.medium.fontSize,\n fontWeight: themeContract.typography.subheading.md.medium.fontWeight,\n letterSpacing: themeContract.typography.subheading.md.medium.letterSpacing,\n lineHeight: themeContract.typography.subheading.md.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__SUBHEADING,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.subheading.md.bold.fontSize,\n fontWeight: themeContract.typography.subheading.md.bold.fontWeight,\n letterSpacing: themeContract.typography.subheading.md.bold.letterSpacing,\n lineHeight: themeContract.typography.subheading.md.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__SUBHEADING,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.subheading.sm.light.fontSize,\n fontWeight: themeContract.typography.subheading.sm.light.fontWeight,\n letterSpacing: themeContract.typography.subheading.sm.light.letterSpacing,\n lineHeight: themeContract.typography.subheading.sm.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__SUBHEADING,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.subheading.sm.medium.fontSize,\n fontWeight: themeContract.typography.subheading.sm.medium.fontWeight,\n letterSpacing: themeContract.typography.subheading.sm.medium.letterSpacing,\n lineHeight: themeContract.typography.subheading.sm.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__SUBHEADING,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.subheading.sm.bold.fontSize,\n fontWeight: themeContract.typography.subheading.sm.bold.fontWeight,\n letterSpacing: themeContract.typography.subheading.sm.bold.letterSpacing,\n lineHeight: themeContract.typography.subheading.sm.bold.lineHeight,\n },\n },\n\n // BODY variants\n {\n variants: {\n variant: TEXT_VARIANT__BODY,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.body.xl.light.fontSize,\n fontWeight: themeContract.typography.body.xl.light.fontWeight,\n letterSpacing: themeContract.typography.body.xl.light.letterSpacing,\n lineHeight: themeContract.typography.body.xl.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__BODY,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.body.xl.medium.fontSize,\n fontWeight: themeContract.typography.body.xl.medium.fontWeight,\n letterSpacing: themeContract.typography.body.xl.medium.letterSpacing,\n lineHeight: themeContract.typography.body.xl.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__BODY,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.body.xl.bold.fontSize,\n fontWeight: themeContract.typography.body.xl.bold.fontWeight,\n letterSpacing: themeContract.typography.body.xl.bold.letterSpacing,\n lineHeight: themeContract.typography.body.xl.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__BODY,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.body.lg.light.fontSize,\n fontWeight: themeContract.typography.body.lg.light.fontWeight,\n letterSpacing: themeContract.typography.body.lg.light.letterSpacing,\n lineHeight: themeContract.typography.body.lg.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__BODY,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.body.lg.medium.fontSize,\n fontWeight: themeContract.typography.body.lg.medium.fontWeight,\n letterSpacing: themeContract.typography.body.lg.medium.letterSpacing,\n lineHeight: themeContract.typography.body.lg.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__BODY,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.body.lg.bold.fontSize,\n fontWeight: themeContract.typography.body.lg.bold.fontWeight,\n letterSpacing: themeContract.typography.body.lg.bold.letterSpacing,\n lineHeight: themeContract.typography.body.lg.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__BODY,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.body.md.light.fontSize,\n fontWeight: themeContract.typography.body.md.light.fontWeight,\n letterSpacing: themeContract.typography.body.md.light.letterSpacing,\n lineHeight: themeContract.typography.body.md.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__BODY,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.body.md.medium.fontSize,\n fontWeight: themeContract.typography.body.md.medium.fontWeight,\n letterSpacing: themeContract.typography.body.md.medium.letterSpacing,\n lineHeight: themeContract.typography.body.md.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__BODY,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.body.md.bold.fontSize,\n fontWeight: themeContract.typography.body.md.bold.fontWeight,\n letterSpacing: themeContract.typography.body.md.bold.letterSpacing,\n lineHeight: themeContract.typography.body.md.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__BODY,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.body.sm.light.fontSize,\n fontWeight: themeContract.typography.body.sm.light.fontWeight,\n letterSpacing: themeContract.typography.body.sm.light.letterSpacing,\n lineHeight: themeContract.typography.body.sm.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__BODY,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.body.sm.medium.fontSize,\n fontWeight: themeContract.typography.body.sm.medium.fontWeight,\n letterSpacing: themeContract.typography.body.sm.medium.letterSpacing,\n lineHeight: themeContract.typography.body.sm.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__BODY,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.body.sm.bold.fontSize,\n fontWeight: themeContract.typography.body.sm.bold.fontWeight,\n letterSpacing: themeContract.typography.body.sm.bold.letterSpacing,\n lineHeight: themeContract.typography.body.sm.bold.lineHeight,\n },\n },\n\n // CAPTION variants\n {\n variants: {\n variant: TEXT_VARIANT__CAPTION,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.caption.xl.light.fontSize,\n fontWeight: themeContract.typography.caption.xl.light.fontWeight,\n letterSpacing: themeContract.typography.caption.xl.light.letterSpacing,\n lineHeight: themeContract.typography.caption.xl.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__CAPTION,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.caption.xl.medium.fontSize,\n fontWeight: themeContract.typography.caption.xl.medium.fontWeight,\n letterSpacing: themeContract.typography.caption.xl.medium.letterSpacing,\n lineHeight: themeContract.typography.caption.xl.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__CAPTION,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.caption.xl.bold.fontSize,\n fontWeight: themeContract.typography.caption.xl.bold.fontWeight,\n letterSpacing: themeContract.typography.caption.xl.bold.letterSpacing,\n lineHeight: themeContract.typography.caption.xl.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__CAPTION,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.caption.lg.light.fontSize,\n fontWeight: themeContract.typography.caption.lg.light.fontWeight,\n letterSpacing: themeContract.typography.caption.lg.light.letterSpacing,\n lineHeight: themeContract.typography.caption.lg.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__CAPTION,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.caption.lg.medium.fontSize,\n fontWeight: themeContract.typography.caption.lg.medium.fontWeight,\n letterSpacing: themeContract.typography.caption.lg.medium.letterSpacing,\n lineHeight: themeContract.typography.caption.lg.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__CAPTION,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.caption.lg.bold.fontSize,\n fontWeight: themeContract.typography.caption.lg.bold.fontWeight,\n letterSpacing: themeContract.typography.caption.lg.bold.letterSpacing,\n lineHeight: themeContract.typography.caption.lg.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__CAPTION,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.caption.md.light.fontSize,\n fontWeight: themeContract.typography.caption.md.light.fontWeight,\n letterSpacing: themeContract.typography.caption.md.light.letterSpacing,\n lineHeight: themeContract.typography.caption.md.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__CAPTION,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.caption.md.medium.fontSize,\n fontWeight: themeContract.typography.caption.md.medium.fontWeight,\n letterSpacing: themeContract.typography.caption.md.medium.letterSpacing,\n lineHeight: themeContract.typography.caption.md.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__CAPTION,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.caption.md.bold.fontSize,\n fontWeight: themeContract.typography.caption.md.bold.fontWeight,\n letterSpacing: themeContract.typography.caption.md.bold.letterSpacing,\n lineHeight: themeContract.typography.caption.md.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__CAPTION,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.caption.sm.light.fontSize,\n fontWeight: themeContract.typography.caption.sm.light.fontWeight,\n letterSpacing: themeContract.typography.caption.sm.light.letterSpacing,\n lineHeight: themeContract.typography.caption.sm.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__CAPTION,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.caption.sm.medium.fontSize,\n fontWeight: themeContract.typography.caption.sm.medium.fontWeight,\n letterSpacing: themeContract.typography.caption.sm.medium.letterSpacing,\n lineHeight: themeContract.typography.caption.sm.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__CAPTION,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.caption.sm.bold.fontSize,\n fontWeight: themeContract.typography.caption.sm.bold.fontWeight,\n letterSpacing: themeContract.typography.caption.sm.bold.letterSpacing,\n lineHeight: themeContract.typography.caption.sm.bold.lineHeight,\n },\n },\n\n // LABEL variants\n {\n variants: {\n variant: TEXT_VARIANT__LABEL,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.label.xl.light.fontSize,\n fontWeight: themeContract.typography.label.xl.light.fontWeight,\n letterSpacing: themeContract.typography.label.xl.light.letterSpacing,\n lineHeight: themeContract.typography.label.xl.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__LABEL,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.label.xl.medium.fontSize,\n fontWeight: themeContract.typography.label.xl.medium.fontWeight,\n letterSpacing: themeContract.typography.label.xl.medium.letterSpacing,\n lineHeight: themeContract.typography.label.xl.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__LABEL,\n size: TEXT_SIZE__XL,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.label.xl.bold.fontSize,\n fontWeight: themeContract.typography.label.xl.bold.fontWeight,\n letterSpacing: themeContract.typography.label.xl.bold.letterSpacing,\n lineHeight: themeContract.typography.label.xl.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__LABEL,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.label.lg.light.fontSize,\n fontWeight: themeContract.typography.label.lg.light.fontWeight,\n letterSpacing: themeContract.typography.label.lg.light.letterSpacing,\n lineHeight: themeContract.typography.label.lg.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__LABEL,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.label.lg.medium.fontSize,\n fontWeight: themeContract.typography.label.lg.medium.fontWeight,\n letterSpacing: themeContract.typography.label.lg.medium.letterSpacing,\n lineHeight: themeContract.typography.label.lg.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__LABEL,\n size: TEXT_SIZE__LG,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.label.lg.bold.fontSize,\n fontWeight: themeContract.typography.label.lg.bold.fontWeight,\n letterSpacing: themeContract.typography.label.lg.bold.letterSpacing,\n lineHeight: themeContract.typography.label.lg.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__LABEL,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.label.md.light.fontSize,\n fontWeight: themeContract.typography.label.md.light.fontWeight,\n letterSpacing: themeContract.typography.label.md.light.letterSpacing,\n lineHeight: themeContract.typography.label.md.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__LABEL,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.label.md.medium.fontSize,\n fontWeight: themeContract.typography.label.md.medium.fontWeight,\n letterSpacing: themeContract.typography.label.md.medium.letterSpacing,\n lineHeight: themeContract.typography.label.md.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__LABEL,\n size: TEXT_SIZE__MD,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.label.md.bold.fontSize,\n fontWeight: themeContract.typography.label.md.bold.fontWeight,\n letterSpacing: themeContract.typography.label.md.bold.letterSpacing,\n lineHeight: themeContract.typography.label.md.bold.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__LABEL,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__LIGHT,\n },\n style: {\n fontSize: themeContract.typography.label.sm.light.fontSize,\n fontWeight: themeContract.typography.label.sm.light.fontWeight,\n letterSpacing: themeContract.typography.label.sm.light.letterSpacing,\n lineHeight: themeContract.typography.label.sm.light.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__LABEL,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__MEDIUM,\n },\n style: {\n fontSize: themeContract.typography.label.sm.medium.fontSize,\n fontWeight: themeContract.typography.label.sm.medium.fontWeight,\n letterSpacing: themeContract.typography.label.sm.medium.letterSpacing,\n lineHeight: themeContract.typography.label.sm.medium.lineHeight,\n },\n },\n {\n variants: {\n variant: TEXT_VARIANT__LABEL,\n size: TEXT_SIZE__SM,\n weight: TEXT_WEIGHT__BOLD,\n },\n style: {\n fontSize: themeContract.typography.label.sm.bold.fontSize,\n fontWeight: themeContract.typography.label.sm.bold.fontWeight,\n letterSpacing: themeContract.typography.label.sm.bold.letterSpacing,\n lineHeight: themeContract.typography.label.sm.bold.lineHeight,\n },\n },\n ],\n});\n\nexport {\n TEXT_VARIANT__DISPLAY,\n TEXT_VARIANT__HEADING,\n TEXT_VARIANT__SUBHEADING,\n TEXT_VARIANT__BODY,\n TEXT_VARIANT__CAPTION,\n TEXT_VARIANT__LABEL,\n TEXT_SIZE__XL,\n TEXT_SIZE__LG,\n TEXT_SIZE__MD,\n TEXT_SIZE__SM,\n TEXT_COLOR__PRIMARY,\n TEXT_COLOR__SECONDARY,\n TEXT_COLOR__MUTED,\n TEXT_COLOR__DISABLED,\n TEXT_COLOR__INVERSE,\n TEXT_COLOR__INTERACTIVE,\n TEXT_COLOR__SUCCESS,\n TEXT_COLOR__WARNING,\n TEXT_COLOR__DANGER,\n TEXT_COLOR__INFO,\n TEXT_COLOR__BRAND,\n TEXT_COLOR__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UTED, TEXT_COLOR__PRIMARY, TEXT_COLOR__SECONDARY, TEXT_COLOR__SUCCESS, TEXT_COLOR__WARNING, TEXT_SIZE__LG, TEXT_SIZE__MD, TEXT_SIZE__SM, TEXT_SIZE__XL, TEXT_VARIANT__BODY, TEXT_VARIANT__CAPTION, TEXT_VARIANT__DISPLAY, TEXT_VARIANT__HEADING, TEXT_VARIANT__LABEL, TEXT_VARIANT__SUBHEADING, TEXT_WEIGHT__BOLD, TEXT_WEIGHT__LIGHT, TEXT_WEIGHT__MEDIUM } from "./text.css.js";
|
|
2
|
+
|
|
3
|
+
//#region src/components/primitives/Typography/text.types.d.ts
|
|
4
|
+
type TextType = typeof TEXT_VARIANT__DISPLAY | typeof TEXT_VARIANT__HEADING | typeof TEXT_VARIANT__SUBHEADING | typeof TEXT_VARIANT__BODY | typeof TEXT_VARIANT__CAPTION | typeof TEXT_VARIANT__LABEL;
|
|
5
|
+
type TextSize = typeof TEXT_SIZE__XL | typeof TEXT_SIZE__LG | typeof TEXT_SIZE__MD | typeof TEXT_SIZE__SM;
|
|
6
|
+
type TextWeight = typeof TEXT_WEIGHT__LIGHT | typeof TEXT_WEIGHT__MEDIUM | typeof TEXT_WEIGHT__BOLD;
|
|
7
|
+
type TextColor = typeof TEXT_COLOR__PRIMARY | typeof TEXT_COLOR__SECONDARY | typeof TEXT_COLOR__MUTED | typeof TEXT_COLOR__DISABLED | typeof TEXT_COLOR__INVERSE | typeof TEXT_COLOR__INTERACTIVE | typeof TEXT_COLOR__SUCCESS | typeof TEXT_COLOR__WARNING | typeof TEXT_COLOR__DANGER | typeof TEXT_COLOR__INFO | typeof TEXT_COLOR__BRAND | typeof TEXT_COLOR__ACCENT;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { type TextColor, type TextSize, type TextType, type TextWeight };
|
|
10
|
+
//# sourceMappingURL=text.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text.types.d.ts","names":[],"sources":["../../../../src/components/primitives/Typography/text.types.ts"],"sourcesContent":[],"mappings":";;;KA4BK,QAAA,UACM,+BACA,+BACA,kCACA,4BACA,+BACA;KAEN,QAAA,UAAkB,uBAAuB,uBAAuB,uBAAuB;AAVrE,KAYlB,UAAA,GAVQ,OAUY,kBAVZ,GAAA,OAUwC,mBAVxC,GAAA,OAUqE,iBAVrE;KAYR,SAAA,GAZQ,OAaF,mBAbE,GAAA,OAcF,qBAdE,GAAA,OAeF,iBAfE,GAAA,OAgBF,oBAhBE,GAAA,OAiBF,mBAjBE,GAAA,OAkBF,uBAlBE,GAAA,OAmBF,mBAnBE,GAAA,OAoBF,mBApBE,GAAA,OAqBF,kBArBE,GAAA,OAsBF,gBAtBE,GAAA,OAuBF,iBAvBE,GAAA,OAwBF,kBAxBE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/constants/theming.d.ts
|
|
2
|
+
declare const COLOR_SCHEME__SYSTEM = "system";
|
|
3
|
+
declare const COLOR_SCHEME__LIGHT = "light";
|
|
4
|
+
declare const COLOR_SCHEME__DARK = "dark";
|
|
5
|
+
declare const BREAKPOINT__SM = "40rem";
|
|
6
|
+
declare const BREAKPOINT__MD = "48rem";
|
|
7
|
+
declare const BREAKPOINT__LG = "64rem";
|
|
8
|
+
//#endregion
|
|
9
|
+
export { BREAKPOINT__LG, BREAKPOINT__MD, BREAKPOINT__SM, COLOR_SCHEME__DARK, COLOR_SCHEME__LIGHT, COLOR_SCHEME__SYSTEM };
|
|
10
|
+
//# sourceMappingURL=theming.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theming.d.ts","names":[],"sources":["../../src/constants/theming.ts"],"sourcesContent":[],"mappings":";cAAM,oBAAA;cACA,mBAAA,GADoB,OAAA;AAAA,cAEpB,kBAAA,GADmB,MAAA;AAAA,cAGnB,cAAA,GAFkB,OAAA;AAAA,cAGlB,cAAA,GADc,OAAA;AAAA,cAEd,cAAA,GADc,OAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/constants/theming.ts
|
|
2
|
+
const COLOR_SCHEME__SYSTEM = "system";
|
|
3
|
+
const COLOR_SCHEME__LIGHT = "light";
|
|
4
|
+
const COLOR_SCHEME__DARK = "dark";
|
|
5
|
+
const BREAKPOINT__SM = "40rem";
|
|
6
|
+
const BREAKPOINT__MD = "48rem";
|
|
7
|
+
const BREAKPOINT__LG = "64rem";
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
10
|
+
export { BREAKPOINT__LG, BREAKPOINT__MD, BREAKPOINT__SM, COLOR_SCHEME__DARK, COLOR_SCHEME__LIGHT, COLOR_SCHEME__SYSTEM };
|
|
11
|
+
//# sourceMappingURL=theming.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theming.js","names":[],"sources":["../../src/constants/theming.ts"],"sourcesContent":["const COLOR_SCHEME__SYSTEM = 'system';\nconst COLOR_SCHEME__LIGHT = 'light';\nconst COLOR_SCHEME__DARK = 'dark';\n\nconst BREAKPOINT__SM = '40rem';\nconst BREAKPOINT__MD = '48rem';\nconst BREAKPOINT__LG = '64rem';\n\nexport {\n COLOR_SCHEME__LIGHT,\n COLOR_SCHEME__SYSTEM,\n COLOR_SCHEME__DARK,\n BREAKPOINT__SM,\n BREAKPOINT__MD,\n BREAKPOINT__LG,\n};\n"],"mappings":";AAAA,MAAM,uBAAuB;AAC7B,MAAM,sBAAsB;AAC5B,MAAM,qBAAqB;AAE3B,MAAM,iBAAiB;AACvB,MAAM,iBAAiB;AACvB,MAAM,iBAAiB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","names":[],"sources":["../../src/hooks/dialog.ts"],"sourcesContent":[],"mappings":";;;cAKM,iBAOL"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createUnitializedProviderError } from "./utils.js";
|
|
2
|
+
import { DialogContext } from "../components/composite/Dialog/DialogProvider.js";
|
|
3
|
+
import { use } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/hooks/dialog.ts
|
|
6
|
+
const useDialog = () => {
|
|
7
|
+
const dialogContext = use(DialogContext);
|
|
8
|
+
if (!dialogContext) throw createUnitializedProviderError("DialogProvider");
|
|
9
|
+
return dialogContext;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { useDialog };
|
|
14
|
+
//# sourceMappingURL=dialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.js","names":[],"sources":["../../src/hooks/dialog.ts"],"sourcesContent":["import { use } from 'react';\n\nimport { DialogContext } from '../components/composite/Dialog/DialogProvider.js';\nimport { createUnitializedProviderError } from './utils.js';\n\nconst useDialog = () => {\n const dialogContext = use(DialogContext);\n if (!dialogContext) {\n throw createUnitializedProviderError('DialogProvider');\n }\n\n return dialogContext;\n};\n\nexport { useDialog };\n"],"mappings":";;;;;AAKA,MAAM,kBAAkB;CACtB,MAAM,gBAAgB,IAAI,cAAc;AACxC,KAAI,CAAC,cACH,OAAM,+BAA+B,iBAAiB;AAGxD,QAAO"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { useCallback } from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/hooks/refs.ts
|
|
4
|
+
/**
|
|
5
|
+
* Merges an internal ref with a forwarded ref, handling both callback and object refs.
|
|
6
|
+
* This is useful for components that need their own internal ref while also allowing
|
|
7
|
+
* consumers to pass their own ref.
|
|
8
|
+
*
|
|
9
|
+
* @param internalRef - The component's internal ref object
|
|
10
|
+
* @param forwardedRef - The ref passed by the consumer (can be callback or object ref)
|
|
11
|
+
* @returns A callback ref that updates both internal and forwarded refs
|
|
12
|
+
*/
|
|
13
|
+
const useMergedRef = (internalRef, forwardedRef) => {
|
|
14
|
+
return useCallback((node) => {
|
|
15
|
+
internalRef.current = node;
|
|
16
|
+
if (forwardedRef) if (typeof forwardedRef === "function") forwardedRef(node);
|
|
17
|
+
else forwardedRef.current = node;
|
|
18
|
+
}, [internalRef, forwardedRef]);
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { useMergedRef };
|
|
23
|
+
//# sourceMappingURL=refs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refs.js","names":[],"sources":["../../src/hooks/refs.ts"],"sourcesContent":["import { useCallback, type RefCallback, type RefObject } from 'react';\n\n/**\n * Merges an internal ref with a forwarded ref, handling both callback and object refs.\n * This is useful for components that need their own internal ref while also allowing\n * consumers to pass their own ref.\n *\n * @param internalRef - The component's internal ref object\n * @param forwardedRef - The ref passed by the consumer (can be callback or object ref)\n * @returns A callback ref that updates both internal and forwarded refs\n */\nconst useMergedRef = <T>(\n internalRef: RefObject<T | null>,\n forwardedRef?: RefCallback<T | null> | RefObject<T | null> | null\n): RefCallback<T | null> => {\n return useCallback(\n (node: T | null) => {\n internalRef.current = node;\n\n if (forwardedRef) {\n if (typeof forwardedRef === 'function') {\n // Handle callback ref\n forwardedRef(node);\n } else {\n // Handle ref object\n forwardedRef.current = node;\n }\n }\n },\n [internalRef, forwardedRef]\n );\n};\n\nexport { useMergedRef };\n"],"mappings":";;;;;;;;;;;;AAWA,MAAM,gBACJ,aACA,iBAC0B;AAC1B,QAAO,aACJ,SAAmB;AAClB,cAAY,UAAU;AAEtB,MAAI,aACF,KAAI,OAAO,iBAAiB,WAE1B,cAAa,KAAK;MAGlB,cAAa,UAAU;IAI7B,CAAC,aAAa,aAAa,CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","names":[],"sources":["../../src/hooks/theme.ts"],"sourcesContent":[],"mappings":";;;cAKM,gBAOL"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ThemeContext } from "../themes/ThemeProvider/ThemeProvider.js";
|
|
2
|
+
import { createUnitializedProviderError } from "./utils.js";
|
|
3
|
+
import { use } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/hooks/theme.ts
|
|
6
|
+
const useTheme = () => {
|
|
7
|
+
const themeContext = use(ThemeContext);
|
|
8
|
+
if (!themeContext) throw createUnitializedProviderError("ThemeProvider");
|
|
9
|
+
return themeContext;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { useTheme };
|
|
14
|
+
//# sourceMappingURL=theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.js","names":[],"sources":["../../src/hooks/theme.ts"],"sourcesContent":["import { use } from 'react';\n\nimport { ThemeContext } from '../themes/ThemeProvider/ThemeProvider.js';\nimport { createUnitializedProviderError } from './utils.js';\n\nconst useTheme = () => {\n const themeContext = use(ThemeContext);\n if (!themeContext) {\n throw createUnitializedProviderError('ThemeProvider');\n }\n\n return themeContext;\n};\n\nexport { useTheme };\n"],"mappings":";;;;;AAKA,MAAM,iBAAiB;CACrB,MAAM,eAAe,IAAI,aAAa;AACtC,KAAI,CAAC,aACH,OAAM,+BAA+B,gBAAgB;AAGvD,QAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","names":[],"sources":["../../src/hooks/utils.ts"],"sourcesContent":["const createUnitializedProviderError = (contextName: string): Error => new Error(`${contextName} is unitialized`);\n\nexport { createUnitializedProviderError };\n"],"mappings":";AAAA,MAAM,kCAAkC,gCAA+B,IAAI,MAAM,GAAG,YAAY,iBAAiB"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BREAKPOINT__LG, BREAKPOINT__MD, BREAKPOINT__SM, COLOR_SCHEME__DARK, COLOR_SCHEME__LIGHT, COLOR_SCHEME__SYSTEM } from "./constants/theming.js";
|
|
2
|
+
import { ColorScheme } from "./types/theming.js";
|
|
3
|
+
import { ThemeProvider } from "./themes/ThemeProvider/ThemeProvider.js";
|
|
4
|
+
import { useTheme } from "./hooks/theme.js";
|
|
5
|
+
import { BUTTON_SIZE__LARGE, BUTTON_SIZE__MEDIUM, BUTTON_SIZE__SMALL, BUTTON_VARIANT__DESTRUCTIVE, BUTTON_VARIANT__GHOST, BUTTON_VARIANT__LINK, BUTTON_VARIANT__OUTLINE, BUTTON_VARIANT__PRIMARY, BUTTON_VARIANT__SECONDARY } from "./components/primitives/Button/button.css.js";
|
|
6
|
+
import { Button, ButtonProps } from "./components/primitives/Button/Button.js";
|
|
7
|
+
import { Input } from "./components/primitives/Input/Input.js";
|
|
8
|
+
import { Label } from "./components/primitives/Label/Label.js";
|
|
9
|
+
import { TEXT_COLOR__ACCENT, TEXT_COLOR__BRAND, TEXT_COLOR__DANGER, TEXT_COLOR__DISABLED, TEXT_COLOR__INFO, TEXT_COLOR__INTERACTIVE, TEXT_COLOR__INVERSE, TEXT_COLOR__MUTED, TEXT_COLOR__PRIMARY, TEXT_COLOR__SECONDARY, TEXT_COLOR__SUCCESS, TEXT_COLOR__WARNING, TEXT_SIZE__LG, TEXT_SIZE__MD, TEXT_SIZE__SM, TEXT_SIZE__XL, TEXT_VARIANT__BODY, TEXT_VARIANT__CAPTION, TEXT_VARIANT__DISPLAY, TEXT_VARIANT__HEADING, TEXT_VARIANT__LABEL, TEXT_VARIANT__SUBHEADING, TEXT_WEIGHT__BOLD, TEXT_WEIGHT__LIGHT, TEXT_WEIGHT__MEDIUM } from "./components/primitives/Typography/text.css.js";
|
|
10
|
+
import { Text, TextProps } from "./components/primitives/Typography/Text.js";
|
|
11
|
+
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./components/composite/Card/Card.js";
|
|
12
|
+
import { Dialog, DialogClose, DialogContent, DialogFooter, DialogHeader, DialogTrigger } from "./components/composite/Dialog/Dialog.js";
|
|
13
|
+
import { useDialog } from "./hooks/dialog.js";
|
|
14
|
+
import { withBreakpoint, withCustomOutline, withSafeTransition } from "./themes/styles/utilities.js";
|
|
15
|
+
import { COLORS__BLUE, COLORS__GOLD, COLORS__GREEN, COLORS__PEARL, COLORS__PURE, COLORS__RED, COLORS__STONE, COLORS__YELLOW } from "./themes/tokens/primitives/colors.js";
|
|
16
|
+
import { SPACING } from "./themes/tokens/primitives/spacing.js";
|
|
17
|
+
import { BORDER_RADIUS, BORDER_WIDTH } from "./themes/tokens/primitives/borders.js";
|
|
18
|
+
import { BOX_SHADOW } from "./themes/tokens/primitives/shadows.js";
|
|
19
|
+
import { FONT_FAMILY, FONT_SIZE, FONT_WEIGHT, LETTER_SPACING, LINE_HEIGHT__RELAXED, LINE_HEIGHT__TIGHT } from "./themes/tokens/primitives/typography.js";
|
|
20
|
+
export { BORDER_RADIUS, BORDER_WIDTH, BOX_SHADOW, BREAKPOINT__LG, BREAKPOINT__MD, BREAKPOINT__SM, BUTTON_SIZE__LARGE, BUTTON_SIZE__MEDIUM, BUTTON_SIZE__SMALL, BUTTON_VARIANT__DESTRUCTIVE, BUTTON_VARIANT__GHOST, BUTTON_VARIANT__LINK, BUTTON_VARIANT__OUTLINE, BUTTON_VARIANT__PRIMARY, BUTTON_VARIANT__SECONDARY, Button, type ButtonProps, COLORS__BLUE, COLORS__GOLD, COLORS__GREEN, COLORS__PEARL, COLORS__PURE, COLORS__RED, COLORS__STONE, COLORS__YELLOW, COLOR_SCHEME__DARK, COLOR_SCHEME__LIGHT, COLOR_SCHEME__SYSTEM, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ColorScheme, Dialog, DialogClose, DialogContent, DialogFooter, DialogHeader, DialogTrigger, FONT_FAMILY, FONT_SIZE, FONT_WEIGHT, Input, LETTER_SPACING, LINE_HEIGHT__RELAXED, LINE_HEIGHT__TIGHT, Label, SPACING, TEXT_COLOR__ACCENT, TEXT_COLOR__BRAND, TEXT_COLOR__DANGER, TEXT_COLOR__DISABLED, TEXT_COLOR__INFO, TEXT_COLOR__INTERACTIVE, TEXT_COLOR__INVERSE, TEXT_COLOR__MUTED, TEXT_COLOR__PRIMARY, TEXT_COLOR__SECONDARY, TEXT_COLOR__SUCCESS, TEXT_COLOR__WARNING, TEXT_SIZE__LG, TEXT_SIZE__MD, TEXT_SIZE__SM, TEXT_SIZE__XL, TEXT_VARIANT__BODY, TEXT_VARIANT__CAPTION, TEXT_VARIANT__DISPLAY, TEXT_VARIANT__HEADING, TEXT_VARIANT__LABEL, TEXT_VARIANT__SUBHEADING, TEXT_WEIGHT__BOLD, TEXT_WEIGHT__LIGHT, TEXT_WEIGHT__MEDIUM, Text, type TextProps, ThemeProvider, useDialog, useTheme, withBreakpoint, withCustomOutline, withSafeTransition };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BREAKPOINT__LG, BREAKPOINT__MD, BREAKPOINT__SM, COLOR_SCHEME__DARK, COLOR_SCHEME__LIGHT, COLOR_SCHEME__SYSTEM } from "./constants/theming.js";
|
|
2
|
+
import ThemeProvider_default from "./themes/ThemeProvider/ThemeProvider.js";
|
|
3
|
+
import { useTheme } from "./hooks/theme.js";
|
|
4
|
+
import { SPACING } from "./themes/tokens/primitives/spacing.js";
|
|
5
|
+
import { COLORS__BLUE, COLORS__GOLD, COLORS__GREEN, COLORS__PEARL, COLORS__PURE, COLORS__RED, COLORS__STONE, COLORS__YELLOW } from "./themes/tokens/primitives/colors.js";
|
|
6
|
+
import { withBreakpoint, withCustomOutline, withSafeTransition } from "./themes/styles/utilities.js";
|
|
7
|
+
import { BUTTON_SIZE__LARGE, BUTTON_SIZE__MEDIUM, BUTTON_SIZE__SMALL, BUTTON_VARIANT__DESTRUCTIVE, BUTTON_VARIANT__GHOST, BUTTON_VARIANT__LINK, BUTTON_VARIANT__OUTLINE, BUTTON_VARIANT__PRIMARY, BUTTON_VARIANT__SECONDARY } from "./components/primitives/Button/button.css.js";
|
|
8
|
+
import Button_default from "./components/primitives/Button/Button.js";
|
|
9
|
+
import Input_default from "./components/primitives/Input/Input.js";
|
|
10
|
+
import Label_default from "./components/primitives/Label/Label.js";
|
|
11
|
+
import { TEXT_COLOR__ACCENT, TEXT_COLOR__BRAND, TEXT_COLOR__DANGER, TEXT_COLOR__DISABLED, TEXT_COLOR__INFO, TEXT_COLOR__INTERACTIVE, TEXT_COLOR__INVERSE, TEXT_COLOR__MUTED, TEXT_COLOR__PRIMARY, TEXT_COLOR__SECONDARY, TEXT_COLOR__SUCCESS, TEXT_COLOR__WARNING, TEXT_SIZE__LG, TEXT_SIZE__MD, TEXT_SIZE__SM, TEXT_SIZE__XL, TEXT_VARIANT__BODY, TEXT_VARIANT__CAPTION, TEXT_VARIANT__DISPLAY, TEXT_VARIANT__HEADING, TEXT_VARIANT__LABEL, TEXT_VARIANT__SUBHEADING, TEXT_WEIGHT__BOLD, TEXT_WEIGHT__LIGHT, TEXT_WEIGHT__MEDIUM } from "./components/primitives/Typography/text.css.js";
|
|
12
|
+
import Text_default from "./components/primitives/Typography/Text.js";
|
|
13
|
+
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./components/composite/Card/Card.js";
|
|
14
|
+
import { useDialog } from "./hooks/dialog.js";
|
|
15
|
+
import { Dialog, DialogClose, DialogContent, DialogFooter, DialogHeader, DialogTrigger } from "./components/composite/Dialog/Dialog.js";
|
|
16
|
+
import { BORDER_RADIUS, BORDER_WIDTH } from "./themes/tokens/primitives/borders.js";
|
|
17
|
+
import { BOX_SHADOW } from "./themes/tokens/primitives/shadows.js";
|
|
18
|
+
import { FONT_FAMILY, FONT_SIZE, FONT_WEIGHT, LETTER_SPACING, LINE_HEIGHT__RELAXED, LINE_HEIGHT__TIGHT } from "./themes/tokens/primitives/typography.js";
|
|
19
|
+
|
|
20
|
+
export { BORDER_RADIUS, BORDER_WIDTH, BOX_SHADOW, BREAKPOINT__LG, BREAKPOINT__MD, BREAKPOINT__SM, BUTTON_SIZE__LARGE, BUTTON_SIZE__MEDIUM, BUTTON_SIZE__SMALL, BUTTON_VARIANT__DESTRUCTIVE, BUTTON_VARIANT__GHOST, BUTTON_VARIANT__LINK, BUTTON_VARIANT__OUTLINE, BUTTON_VARIANT__PRIMARY, BUTTON_VARIANT__SECONDARY, Button_default as Button, COLORS__BLUE, COLORS__GOLD, COLORS__GREEN, COLORS__PEARL, COLORS__PURE, COLORS__RED, COLORS__STONE, COLORS__YELLOW, COLOR_SCHEME__DARK, COLOR_SCHEME__LIGHT, COLOR_SCHEME__SYSTEM, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Dialog, DialogClose, DialogContent, DialogFooter, DialogHeader, DialogTrigger, FONT_FAMILY, FONT_SIZE, FONT_WEIGHT, Input_default as Input, LETTER_SPACING, LINE_HEIGHT__RELAXED, LINE_HEIGHT__TIGHT, Label_default as Label, SPACING, TEXT_COLOR__ACCENT, TEXT_COLOR__BRAND, TEXT_COLOR__DANGER, TEXT_COLOR__DISABLED, TEXT_COLOR__INFO, TEXT_COLOR__INTERACTIVE, TEXT_COLOR__INVERSE, TEXT_COLOR__MUTED, TEXT_COLOR__PRIMARY, TEXT_COLOR__SECONDARY, TEXT_COLOR__SUCCESS, TEXT_COLOR__WARNING, TEXT_SIZE__LG, TEXT_SIZE__MD, TEXT_SIZE__SM, TEXT_SIZE__XL, TEXT_VARIANT__BODY, TEXT_VARIANT__CAPTION, TEXT_VARIANT__DISPLAY, TEXT_VARIANT__HEADING, TEXT_VARIANT__LABEL, TEXT_VARIANT__SUBHEADING, TEXT_WEIGHT__BOLD, TEXT_WEIGHT__LIGHT, TEXT_WEIGHT__MEDIUM, Text_default as Text, ThemeProvider_default as ThemeProvider, useDialog, useTheme, withBreakpoint, withCustomOutline, withSafeTransition };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { themeContract } from "./themes/tokens/tokens.css.js";
|
|
2
|
+
import { regalTheme } from "./themes/regal.css.js";
|
|
3
|
+
import { darkColorScheme, lightColorScheme } from "./themes/styles/color-scheme.css.js";
|
|
4
|
+
export { darkColorScheme, lightColorScheme, regalTheme, themeContract };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { darkColorScheme, lightColorScheme } from "./themes/styles/color-scheme.css.js";
|
|
2
|
+
import { themeContract } from "./themes/tokens/tokens.css.js";
|
|
3
|
+
import { regalTheme } from "./themes/regal.css.js";
|
|
4
|
+
|
|
5
|
+
export { darkColorScheme, lightColorScheme, regalTheme, themeContract };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ColorScheme } from "../../types/theming.js";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/themes/ThemeProvider/ThemeProvider.d.ts
|
|
6
|
+
interface ThemeProviderProps {
|
|
7
|
+
children: (themeClassName: string) => ReactNode;
|
|
8
|
+
themeClassName: string;
|
|
9
|
+
colorScheme?: ColorScheme;
|
|
10
|
+
}
|
|
11
|
+
interface ThemeContextProps {}
|
|
12
|
+
declare const ThemeProvider: ({
|
|
13
|
+
children,
|
|
14
|
+
themeClassName,
|
|
15
|
+
colorScheme
|
|
16
|
+
}: ThemeProviderProps) => react_jsx_runtime0.JSX.Element;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { type ThemeContextProps, ThemeProvider };
|
|
19
|
+
//# sourceMappingURL=ThemeProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","names":[],"sources":["../../../src/themes/ThemeProvider/ThemeProvider.tsx"],"sourcesContent":[],"mappings":";;;;;UAOU,kBAAA;wCAC8B;;EAD9B,WAAA,CAAA,EAGM,WAHY;;UAOlB,iBAAA,CAN8B;AAEb,cAQrB,aAJqB,EAAA,CAAA;EAAA,QAAA;EAAA,cAAA;EAAA;AAAA,CAAA,EAI8D,kBAJ9D,EAAA,GAIgF,kBAAA,CAAA,GAAA,CAAA,OAJhF"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { darkColorScheme, lightColorScheme } from "../styles/color-scheme.css.js";
|
|
2
|
+
import { COLOR_SCHEME__DARK, COLOR_SCHEME__LIGHT, COLOR_SCHEME__SYSTEM } from "../../constants/theming.js";
|
|
3
|
+
import { createContext, useMemo } from "react";
|
|
4
|
+
import clsx from "clsx";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/themes/ThemeProvider/ThemeProvider.tsx
|
|
8
|
+
const ThemeContext = createContext(null);
|
|
9
|
+
const ThemeProvider = ({ children, themeClassName, colorScheme = COLOR_SCHEME__SYSTEM }) => {
|
|
10
|
+
return /* @__PURE__ */ jsx(ThemeContext, {
|
|
11
|
+
value: {},
|
|
12
|
+
children: children(clsx(themeClassName, useMemo(() => {
|
|
13
|
+
switch (colorScheme) {
|
|
14
|
+
case COLOR_SCHEME__LIGHT: return lightColorScheme;
|
|
15
|
+
case COLOR_SCHEME__DARK: return darkColorScheme;
|
|
16
|
+
default: return;
|
|
17
|
+
}
|
|
18
|
+
}, [colorScheme])))
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
var ThemeProvider_default = ThemeProvider;
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { ThemeContext, ThemeProvider_default as default };
|
|
25
|
+
//# sourceMappingURL=ThemeProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeProvider.js","names":[],"sources":["../../../src/themes/ThemeProvider/ThemeProvider.tsx"],"sourcesContent":["import { type ReactNode, createContext, useMemo } from 'react';\nimport clsx from 'clsx';\n\nimport { darkColorScheme, lightColorScheme } from '../styles/color-scheme.css.js';\nimport type { ColorScheme } from '../../types/theming.js';\nimport { COLOR_SCHEME__DARK, COLOR_SCHEME__LIGHT, COLOR_SCHEME__SYSTEM } from '../../constants/theming.js';\n\ninterface ThemeProviderProps {\n children: (themeClassName: string) => ReactNode;\n themeClassName: string;\n colorScheme?: ColorScheme;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\ninterface ThemeContextProps {}\n\nconst ThemeContext = createContext<ThemeContextProps | null>(null);\n\nconst ThemeProvider = ({ children, themeClassName, colorScheme = COLOR_SCHEME__SYSTEM }: ThemeProviderProps) => {\n const colorSchemeOverrideClassName = useMemo(() => {\n switch (colorScheme) {\n case COLOR_SCHEME__LIGHT: {\n return lightColorScheme;\n }\n case COLOR_SCHEME__DARK: {\n return darkColorScheme;\n }\n default: {\n return;\n }\n }\n }, [colorScheme]);\n\n return <ThemeContext value={{}}>{children(clsx(themeClassName, colorSchemeOverrideClassName))}</ThemeContext>;\n};\n\nexport type { ThemeContextProps };\nexport default ThemeProvider;\nexport { ThemeContext };\n"],"mappings":";;;;;;;AAgBA,MAAM,eAAe,cAAwC,KAAK;AAElE,MAAM,iBAAiB,EAAE,UAAU,gBAAgB,cAAc,2BAA+C;AAe9G,QAAO,oBAAC;EAAa,OAAO,EAAE;YAAG,SAAS,KAAK,gBAdV,cAAc;AACjD,WAAQ,aAAR;IACE,KAAK,oBACH,QAAO;IAET,KAAK,mBACH,QAAO;IAET,QACE;;KAGH,CAAC,YAAY,CAAC,CAE2E,CAAC;GAAgB;;AAI/G,4BAAe"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regal.css.d.ts","names":[],"sources":["../../src/themes/regal.css.ts"],"sourcesContent":[],"mappings":";cA+tBM"}
|