@ornikar/bumper 2.6.0 → 2.7.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.
Files changed (47) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/definitions/components/typography/Typography.d.ts +44 -0
  3. package/dist/definitions/components/typography/Typography.d.ts.map +1 -0
  4. package/dist/definitions/components/typography/utils/{getTypeAndWeightValues.d.ts → getVariantAndWeightValues.d.ts} +2 -2
  5. package/dist/definitions/components/typography/utils/getVariantAndWeightValues.d.ts.map +1 -0
  6. package/dist/definitions/index.d.ts +2 -2
  7. package/dist/definitions/index.d.ts.map +1 -1
  8. package/dist/definitions/story-components/StoryTitle.d.ts +2 -2
  9. package/dist/definitions/tamagui.config.d.ts +3 -3
  10. package/dist/definitions/tokens/fonts.d.ts +7 -5
  11. package/dist/definitions/tokens/fonts.d.ts.map +1 -1
  12. package/dist/index-metro.es.android.js +86 -31
  13. package/dist/index-metro.es.android.js.map +1 -1
  14. package/dist/index-metro.es.ios.js +86 -31
  15. package/dist/index-metro.es.ios.js.map +1 -1
  16. package/dist/index-node-22.17.cjs.js +86 -31
  17. package/dist/index-node-22.17.cjs.js.map +1 -1
  18. package/dist/index-node-22.17.cjs.web.js +86 -31
  19. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  20. package/dist/index-node-22.17.es.mjs +86 -31
  21. package/dist/index-node-22.17.es.mjs.map +1 -1
  22. package/dist/index-node-22.17.es.web.mjs +86 -31
  23. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  24. package/dist/index.es.js +86 -31
  25. package/dist/index.es.js.map +1 -1
  26. package/dist/index.es.web.js +86 -31
  27. package/dist/index.es.web.js.map +1 -1
  28. package/dist/tsbuildinfo +1 -1
  29. package/package.json +1 -1
  30. package/src/components/breakpoints/breakpoints.stories.tsx +1 -1
  31. package/src/components/primitives/Pressable.stories.tsx +1 -1
  32. package/src/components/typography/Typography.stories.tsx +45 -17
  33. package/src/components/typography/{Typograhy.tsx → Typography.tsx} +53 -27
  34. package/src/components/typography/__snapshots__/Typography.stories.tsx.snap +599 -60
  35. package/src/components/typography/__snapshots_web__/Typography.stories.tsx.snap +228 -1
  36. package/src/components/typography/utils/{getTypeAndWeightValues.test.tsx → getVariantAndWeightValues.test.tsx} +32 -2
  37. package/src/components/typography/utils/{getTypeAndWeightValues.tsx → getVariantAndWeightValues.tsx} +14 -3
  38. package/src/index.ts +2 -2
  39. package/src/story-components/StoryTitle.tsx +1 -1
  40. package/src/themes/__snapshots__/light.stories.tsx.snap +1 -1
  41. package/src/themes/light.stories.tsx +1 -1
  42. package/src/tokens/fonts.ts +45 -10
  43. package/src/tokens/palettes/__snapshots__/deepPurpleColorPalette.stories.tsx.snap +1 -1
  44. package/src/tokens/palettes/deepPurpleColorPalette.stories.tsx +1 -1
  45. package/dist/definitions/components/typography/Typograhy.d.ts +0 -40
  46. package/dist/definitions/components/typography/Typograhy.d.ts.map +0 -1
  47. package/dist/definitions/components/typography/utils/getTypeAndWeightValues.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index-node-22.17.es.mjs","sources":["../src/tokens/palettes/deepPurpleColorPalette.ts","../src/themes/light.ts","../src/themes/utils/breakpoints.ts","../src/tokens/fonts.ts","../src/tokens/radius.ts","../src/tokens/size.ts","../src/tokens/space.ts","../src/tamagui.config.ts","../src/core/BumperProvider.tsx","../src/core/BumperDecorator.tsx","../src/components/primitives/Center.ts","../src/components/primitives/Pressable.tsx","../src/components/primitives/Stack.tsx","../src/components/typography/utils/getTypeAndWeightValues.tsx","../src/components/typography/Typograhy.tsx","../src/components/breakpoints/utils/breakpointsUtils.ts","../src/components/breakpoints/hooks/useCurrentBreakpointName.ts","../src/components/breakpoints/hooks/useBreakpointValue.ts","../src/components/breakpoints/SwitchBreakpoins.tsx"],"sourcesContent":["import type { IntRange, UnionToIntersection } from 'type-fest';\n\ninterface ColorScaleKeysMap {\n deepPurple: IntRange<5, 10>;\n beige: IntRange<1, 7>;\n lightning: 4 | 5 | 8 | 9;\n rainbow:\n | 'pink'\n | 'brick'\n | 'orange'\n | 'gold'\n | 'sun'\n | 'green-pine'\n | 'green-grass'\n | 'green-apple'\n | 'blue-electric'\n | 'blue-sky';\n grey: 0 | 1 | 2 | 3 | 5 | 7 | 9;\n blue: 1 | 2 | 6 | 7;\n green: 1 | 2 | 6 | 7;\n yellow: 1 | 2 | 6 | 7;\n red: 1 | 2 | 6 | 7;\n mauve: 1 | 2 | 3 | 4;\n 'beige-alpha': '25' | '40' | '50';\n 'grey-alpha': '25' | '35' | '50';\n 'white-alpha': '10' | '20' | '60' | '80' | '90';\n}\n\ntype CreateColorScale<K extends keyof ColorScaleKeysMap> = Record<ColorScaleKeysMap[K], string>;\n\ntype ColorScales = {\n [K in keyof ColorScaleKeysMap]: CreateColorScale<K>;\n};\n\ntype CreateTokens<K extends keyof ColorScaleKeysMap> = {\n [Key in ColorScaleKeysMap[K] as `${K}.${Key}`]: string;\n};\n\ntype ColorScaleTokens = UnionToIntersection<\n {\n [K in keyof ColorScaleKeysMap]: CreateTokens<K>;\n }[keyof ColorScaleKeysMap]\n>;\n\nconst createColorScale = <const T extends Record<string | number, string>>(colorScale: T): T => colorScale;\n\n// WARNING\n// If you update this palette, don't forget to update the palette in @ornikar/bumper as well.\nexport const colorScales: ColorScales = {\n deepPurple: createColorScale({\n 5: '#936C93',\n 6: '#7A587A',\n 7: '#6E4D6E',\n 8: '#563B56',\n 9: '#452F45',\n }),\n beige: createColorScale({\n 1: '#F7F4EE',\n 2: '#F1ECE4',\n 3: '#EAE3D6',\n 4: '#E5DCCA',\n 5: '#DDD0B8',\n 6: '#C1B59F',\n }),\n lightning: createColorScale({\n 4: '#FFF966',\n 5: '#FFF500',\n 8: '#594D0D',\n 9: '#43390A',\n }),\n rainbow: createColorScale({\n pink: '#E4A4F9',\n brick: '#951D12',\n orange: '#DB6E2E',\n gold: '#9A7600',\n sun: '#EFD346',\n 'green-pine': '#1C5D47',\n 'green-grass': '#4DA00A',\n 'green-apple': '#DEF985',\n 'blue-electric': '#2850C4',\n 'blue-sky': '#B2F0FD',\n }),\n grey: createColorScale({\n 0: '#ffffff',\n 1: '#ECECEC',\n 2: '#CDCED0',\n 3: '#A8A8A8',\n 5: '#838383',\n 7: '#505050',\n 9: '#101010',\n }),\n blue: createColorScale({\n 1: '#E9F4FC',\n 2: '#BCDFF6',\n 6: '#1772AB',\n 7: '#125A87',\n }),\n green: createColorScale({\n 1: '#ECFEDD',\n 2: '#DBFAC1',\n 6: '#438D06',\n 7: '#357105',\n }),\n yellow: createColorScale({\n 1: '#FDF8E7',\n 2: '#FAEBB8',\n 6: '#EFC11F',\n 7: '#BA930B',\n }),\n red: createColorScale({\n 1: '#FDE4E3',\n 2: '#FAB8B8',\n 6: '#E2483D',\n 7: '#BD100F',\n }),\n mauve: createColorScale({\n 1: '#F8E7FF',\n 2: '#F1D0FB',\n 3: '#E4A4F9',\n 4: '#D283EC',\n }),\n 'beige-alpha': createColorScale({\n '25': '#C1B59F40',\n '40': '#C1B59F66',\n '50': '#C1B59F80',\n }),\n 'grey-alpha': createColorScale({\n '25': '#10101040',\n '35': '#10101059',\n '50': '#10101080',\n }),\n 'white-alpha': createColorScale({\n '10': '#FFFFFF1A',\n '20': '#FFFFFF33',\n '60': '#FFFFFF99',\n '80': '#FFFFFFCC',\n '90': '#FFFFFFE5',\n }),\n} as const;\n\nconst transformColorScalesToTokens = (): ColorScaleTokens => {\n return Object.fromEntries(\n Object.entries(colorScales).flatMap(([colorName, colorScale]) => {\n return Object.entries(colorScale).map(([scaleNumber, colorValue]) => {\n return [`${colorName}.${scaleNumber}`, colorValue];\n });\n }),\n ) as ColorScaleTokens;\n};\n\nexport const deepPurpleColorPalette = {\n ...transformColorScalesToTokens(),\n white: '#FFFFFF',\n black: '#000000',\n transparent: 'transparent',\n};\n","import { deepPurpleColorPalette } from '../tokens/palettes/deepPurpleColorPalette';\n\n// WARNING\n// If you modify this theme, don't forget to update the theme in @ornikar/kitt-universal as well\n// https://github.com/ornikar/kitt/blob/79e367e962c957c016c4df67dbcf515c8f45ff0e/@ornikar/kitt-universal/src/themes/late-ocean/colors.ts#L28\nexport const light = {\n // content\n 'content.base.low': deepPurpleColorPalette['grey.5'],\n 'content.base.mid': deepPurpleColorPalette['grey.7'],\n 'content.base.hi': deepPurpleColorPalette['grey.9'],\n 'content.base.onContrasted.low': deepPurpleColorPalette['white-alpha.60'],\n 'content.base.onContrasted.mid': deepPurpleColorPalette['white-alpha.80'],\n 'content.base.onContrasted.hi': deepPurpleColorPalette['grey.0'],\n 'content.accent': deepPurpleColorPalette['deepPurple.8'],\n 'content.promo': deepPurpleColorPalette['lightning.9'],\n 'content.promo.onContrasted': deepPurpleColorPalette['lightning.5'],\n 'content.info': deepPurpleColorPalette['blue.7'],\n 'content.success': deepPurpleColorPalette['green.7'],\n 'content.warning': deepPurpleColorPalette['yellow.7'],\n 'content.danger': deepPurpleColorPalette['red.7'],\n 'content.muted': deepPurpleColorPalette['beige.6'],\n 'content.disabled': deepPurpleColorPalette['grey.3'],\n 'content.disabled.onContrasted': deepPurpleColorPalette['grey.1'],\n\n // backgrounds\n 'bg.base.low.default': deepPurpleColorPalette['grey.0'],\n 'bg.base.low.pressed': deepPurpleColorPalette['beige.1'],\n 'bg.base.mid.default': deepPurpleColorPalette['beige.1'],\n 'bg.base.mid.pressed': deepPurpleColorPalette['beige.2'],\n 'bg.base.hi.default': deepPurpleColorPalette['beige.2'],\n 'bg.base.hi.pressed': deepPurpleColorPalette['beige.3'],\n 'bg.accent.default': deepPurpleColorPalette['deepPurple.8'],\n 'bg.accent.pressed': deepPurpleColorPalette['deepPurple.7'],\n 'bg.promo.mid.default': deepPurpleColorPalette['lightning.5'],\n 'bg.promo.mid.pressed': deepPurpleColorPalette['lightning.4'],\n 'bg.promo.hi.default': deepPurpleColorPalette['lightning.9'],\n 'bg.promo.hi.pressed': deepPurpleColorPalette['lightning.8'],\n 'bg.highlight.mid.default': deepPurpleColorPalette['mauve.1'],\n 'bg.highlight.mid.pressed': deepPurpleColorPalette['mauve.2'],\n 'bg.highlight.hi.default': deepPurpleColorPalette['mauve.3'],\n 'bg.highlight.hi.pressed': deepPurpleColorPalette['mauve.4'],\n 'bg.info.mid': deepPurpleColorPalette['blue.1'],\n 'bg.info.hi': deepPurpleColorPalette['blue.6'],\n 'bg.success.mid': deepPurpleColorPalette['green.1'],\n 'bg.success.hi': deepPurpleColorPalette['green.6'],\n 'bg.warning.mid': deepPurpleColorPalette['yellow.1'],\n 'bg.warning.hi': deepPurpleColorPalette['yellow.6'],\n 'bg.danger.mid': deepPurpleColorPalette['red.1'],\n 'bg.danger.hi': deepPurpleColorPalette['red.6'],\n 'bg.disabled.mid': deepPurpleColorPalette['grey.1'],\n 'bg.disabled.hi': deepPurpleColorPalette['grey.3'],\n 'bg.overlay': deepPurpleColorPalette['grey-alpha.50'],\n\n // borders\n 'border.base.low': deepPurpleColorPalette['beige.2'],\n 'border.base.mid': deepPurpleColorPalette['beige.3'],\n 'border.base.hi': deepPurpleColorPalette['grey.9'],\n 'border.base.onContrasted.mid': deepPurpleColorPalette['white-alpha.20'],\n 'border.base.onContrasted.hi': deepPurpleColorPalette['grey.0'],\n 'border.base.accent': deepPurpleColorPalette['deepPurple.8'],\n 'border.info': deepPurpleColorPalette['blue.6'],\n 'border.success': deepPurpleColorPalette['green.6'],\n 'border.warning': deepPurpleColorPalette['yellow.6'],\n 'border.danger': deepPurpleColorPalette['red.6'],\n 'border.disabled': deepPurpleColorPalette['grey.2'],\n 'border.highlight': deepPurpleColorPalette['mauve.3'],\n};\n","export enum BreakpointNameEnum {\n BASE = 'base',\n SMALL = 'small',\n MEDIUM = 'medium',\n LARGE = 'large',\n WIDE = 'wide',\n}\n\nexport const breakpoints = {\n [BreakpointNameEnum.BASE]: 0,\n [BreakpointNameEnum.SMALL]: 480,\n [BreakpointNameEnum.MEDIUM]: 768,\n [BreakpointNameEnum.LARGE]: 1024,\n [BreakpointNameEnum.WIDE]: 1280,\n};\n","import { createFont } from '@tamagui/core';\n\nexport const HEADING_VARIANTS = [\n 'heading-2xl',\n 'heading-xl',\n 'heading-l',\n 'heading-m',\n 'heading-s',\n 'heading-xs',\n] as const;\nexport const BODY_VARIANTS = ['body-xl', 'body-l', 'body-m', 'body-s', 'body-xs'] as const;\nexport const LABEL_VARIANTS = ['label-xl', 'label-l', 'label-m', 'label-s'] as const;\nexport const VARIANTS = [...HEADING_VARIANTS, ...BODY_VARIANTS, ...LABEL_VARIANTS] as const;\n\nexport type FontVariants = (typeof VARIANTS)[number];\nexport type BodyFontVariants = (typeof BODY_VARIANTS)[number];\nexport type LabelFontVariants = (typeof LABEL_VARIANTS)[number];\nexport type HeadingFontVariants = (typeof HEADING_VARIANTS)[number];\n\nexport type GTStandardFontWeight = '500' | '600' | '700';\n\nconst GTStandardFaces: Record<GTStandardFontWeight, Record<string, string>> = {\n 500: { normal: 'GTStandardRegular' },\n 600: { normal: 'GTStandardSemibold' },\n 700: { normal: 'GTStandardBold' },\n};\n\nconst size: Record<FontVariants, number> = {\n 'heading-2xl': 56,\n 'heading-xl': 48,\n 'heading-l': 38,\n 'heading-m': 24,\n 'heading-s': 20,\n 'heading-xs': 16,\n 'body-xl': 24,\n 'body-l': 18,\n 'body-m': 16,\n 'body-s': 14,\n 'body-xs': 12,\n 'label-xl': 18,\n 'label-l': 16,\n 'label-m': 14,\n 'label-s': 12,\n};\n\nconst lineHeight: Record<FontVariants, number> = {\n 'heading-2xl': 64,\n 'heading-xl': 56,\n 'heading-l': 48,\n 'heading-m': 32,\n 'heading-s': 20,\n 'heading-xs': 18,\n 'body-xl': 32,\n 'body-l': 26,\n 'body-m': 24,\n 'body-s': 20,\n 'body-xs': 16,\n 'label-xl': 26,\n 'label-l': 24,\n 'label-m': 20,\n 'label-s': 16,\n};\n\nconst letterSpacing: Record<FontVariants, number> = {\n 'heading-2xl': 0,\n 'heading-xl': 0,\n 'heading-l': 0,\n 'heading-m': 0,\n 'heading-s': 0,\n 'heading-xs': 0,\n 'body-xl': 0.3,\n 'body-l': 0.3,\n 'body-m': 0.3,\n 'body-s': 0.3,\n 'body-xs': 0.3,\n 'label-xl': 0,\n 'label-l': 0,\n 'label-m': 0,\n 'label-s': 0,\n};\n\nconst weight: Record<string, GTStandardFontWeight> = {\n bold: '700',\n semibold: '600',\n regular: '500',\n};\n\nexport const fonts = createFont({\n family: 'GTStandard',\n size,\n lineHeight,\n letterSpacing,\n weight,\n face: GTStandardFaces,\n});\n","export const radiusTokens = {\n 'radius.none': 0,\n 'radius.s': 2,\n 'radius.m': 4,\n 'radius.l': 8,\n 'radius.circle': 1000,\n};\n","export const sizeTokens = {\n 'size.16': 16,\n 'size.20': 20,\n 'size.24': 24,\n 'size.32': 32,\n 'size.48': 48,\n 'size.64': 64,\n 'size.80': 80,\n 'size.96': 96,\n 'size.120': 120,\n 'size.144': 144,\n 'size.176': 176,\n 'size.208': 208,\n};\n","export const spaceTokens = {\n 'space.none': 0,\n 'space.2': 2,\n 'space.4': 4,\n 'space.8': 8,\n 'space.12': 12,\n 'space.16': 16,\n 'space.24': 24,\n 'space.32': 32,\n 'space.40': 40,\n 'space.48': 48,\n 'space.56': 56,\n 'space.64': 64,\n 'space.80': 80,\n};\n","import { createTamagui, createTokens } from '@tamagui/core';\nimport { light } from './themes/light';\nimport { BreakpointNameEnum, breakpoints } from './themes/utils/breakpoints';\nimport { fonts } from './tokens/fonts';\nimport { radiusTokens } from './tokens/radius';\nimport { sizeTokens } from './tokens/size';\nimport { spaceTokens } from './tokens/space';\n\nconst tokens = createTokens({\n color: {},\n space: spaceTokens,\n size: sizeTokens,\n radius: radiusTokens,\n});\n\nexport const config = createTamagui({\n tokens,\n fonts: {\n GTStandard: fonts,\n },\n themes: {\n light,\n },\n media: {\n [BreakpointNameEnum.BASE]: { minWidth: breakpoints[BreakpointNameEnum.BASE] },\n [BreakpointNameEnum.SMALL]: { minWidth: breakpoints[BreakpointNameEnum.SMALL] },\n [BreakpointNameEnum.MEDIUM]: { minWidth: breakpoints[BreakpointNameEnum.MEDIUM] },\n [BreakpointNameEnum.LARGE]: { minWidth: breakpoints[BreakpointNameEnum.LARGE] },\n [BreakpointNameEnum.WIDE]: { minWidth: breakpoints[BreakpointNameEnum.WIDE] },\n },\n settings: {\n allowedStyleValues: 'strict',\n disableSSR: true,\n styleCompat: 'react-native',\n autocompleteSpecificTokens: 'except-special',\n debug: false,\n },\n});\n\ntype Conf = typeof config;\n\n// make imports typed\ndeclare module '@tamagui/core' {\n interface TamaguiCustomConfig extends Conf {}\n}\n","import { TamaguiProvider } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport { config } from '../tamagui.config';\n\nexport interface BumperProviderProps {\n children: ReactNode;\n}\n\nexport function BumperProvider({ children }: BumperProviderProps): ReactNode {\n return (\n <TamaguiProvider config={config} defaultTheme=\"light\">\n {children}\n </TamaguiProvider>\n );\n}\n","import { makeDecorator } from '@storybook/preview-api';\nimport type { ReactNode } from 'react';\nimport { BumperProvider } from './BumperProvider';\n\nexport const BumperDecorator = makeDecorator({\n name: 'BumperDecorator',\n parameterName: 'bumper',\n wrapper: (storyFn, context) => {\n return <BumperProvider>{storyFn(context) as ReactNode}</BumperProvider>;\n },\n});\n","import type { ViewProps } from '@tamagui/core';\nimport { styled } from '@tamagui/core';\nimport { View } from './View';\n\nexport interface CenterProps extends ViewProps {}\n\nexport const Center = styled(View, {\n justifyContent: 'center',\n alignItems: 'center',\n});\n","import type { GetProps, TamaguiComponent } from '@tamagui/core';\nimport { View, styled } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport type { Except } from 'type-fest';\n\nexport type PressableProps<C extends TamaguiComponent = typeof View> = {\n /**\n * The Tamagui component to render as (`View`, `Stack`, etc.).\n *\n * @default View\n */\n as?: C;\n} & Except<GetProps<C>, 'as'>;\n\n/**\n * A polymorphic Pressable component that can render as any Tamagui primitive.\n *\n * @example\n * <Pressable onPress={() => {}} />\n *\n * @example\n * <Pressable\n * as={HStack}\n * onPress={() => {}}\n * />\n */\nexport function Pressable<C extends TamaguiComponent = typeof View>({ as, ...rest }: PressableProps<C>): ReactNode {\n const Component = styled(as ?? View, {\n name: 'Pressable',\n role: 'button',\n cursor: 'pointer',\n });\n\n return <Component {...(rest as GetProps<C>)} />;\n}\n","import type { GetProps } from '@tamagui/core';\nimport { Stack, styled } from '@tamagui/core';\n\nexport type { StackProps } from '@tamagui/core';\nexport { Stack } from '@tamagui/core';\n\nexport const HStack = styled(Stack, {\n name: 'HStack',\n flexDirection: 'row',\n});\n\nexport type HStackProps = GetProps<typeof HStack>;\n\nexport const VStack = styled(Stack, {\n name: 'VStack',\n flexDirection: 'column',\n});\n\nexport type VStackProps = GetProps<typeof VStack>;\n","import type { FontVariants } from '../../../tokens/fonts';\nimport { BODY_VARIANTS } from '../../../tokens/fonts';\nimport type {\n InternalTypographyProps,\n TypographyTextProps,\n TypographyVariantContextValue,\n TypographyWeightContextValue,\n} from '../Typograhy';\n\ninterface VariantAndWeightValues {\n weight: InternalTypographyProps['weight'] | undefined;\n variant: FontVariants | undefined;\n}\n\nexport function getVariantAndWeightValues(\n weightProp: TypographyTextProps['weight'],\n variantProp: TypographyTextProps['variant'],\n typographyWeightAncestorValue: TypographyWeightContextValue,\n typographyVariantAncestorValue: TypographyVariantContextValue,\n): VariantAndWeightValues {\n const computedVariant = variantProp || typographyVariantAncestorValue || undefined;\n\n if (computedVariant) {\n if ((BODY_VARIANTS as readonly string[]).includes(computedVariant)) {\n const computedWeight = weightProp || typographyWeightAncestorValue || undefined;\n return { weight: computedWeight, variant: computedVariant };\n }\n return { weight: 'semibold', variant: computedVariant };\n }\n\n return { weight: weightProp, variant: undefined };\n}\n","import type { GetProps, GetThemeValueForKey } from '@tamagui/core';\nimport { Text, styled } from '@tamagui/core';\nimport { createContext, useContext } from 'react';\nimport { type Except } from 'type-fest';\nimport type { BodyFontVariants, FontVariants, HeadingFontVariants, LabelFontVariants } from '../../tokens/fonts';\nimport { getVariantAndWeightValues } from './utils/getTypeAndWeightValues';\n\nexport type TypographyVariantContextValue = FontVariants | null;\nexport type TypographyWeightContextValue = 'regular' | 'bold' | null;\nexport type TypograhyColorContextValue = TypograhyColorProps | null;\n\nconst TypographyVariantContext = createContext<TypographyVariantContextValue>(null);\nconst TypographyWeightContext = createContext<TypographyWeightContextValue>(null);\nconst TypograhyColorContext = createContext<TypograhyColorContextValue>(null);\n\nconst InternalTypography = styled(Text, {\n fontFamily: '$GTStandard',\n color: '$content.base.hi',\n '$platform-web': {\n WebkitFontSmoothing: 'antialiased',\n },\n variants: {\n variant: (variant: FontVariants | undefined) => {\n if (!variant) return {};\n\n return {\n fontSize: `$${variant}`,\n lineHeight: `$${variant}`,\n letterSpacing: `$${variant}`,\n };\n },\n weight: {\n regular: {\n fontWeight: '$regular',\n },\n semibold: {\n fontWeight: '$semibold',\n },\n bold: {\n fontWeight: '$bold',\n },\n },\n } as const,\n defaultVariants: {\n variant: 'body-m',\n weight: 'regular',\n },\n});\n\nexport type InternalTypographyProps = GetProps<typeof InternalTypography>;\n\n// Create a type for color props that matches strings containing '$content.'\ntype ContainsOneString<T extends string> = `${string}${T}${string}`;\ntype TypograhyColorProps = ContainsOneString<'$content.'>;\n\n// Remove font-related style props from InternalTypography Props\ntype TypographyExcludedFontStyleProps =\n | 'fontFamily'\n | 'fontSize'\n | 'lineHeight'\n | 'fontStyle'\n | 'fontVariant'\n | 'fontWeight';\ntype TypographyPropsWithoutFontStyleProps = Except<\n InternalTypographyProps,\n TypographyExcludedFontStyleProps | 'color'\n> & {\n color?: TypograhyColorProps;\n};\n\nexport interface BodyProps extends TypographyPropsWithoutFontStyleProps {\n variant?: BodyFontVariants;\n weight?: Exclude<InternalTypographyProps['weight'], 'semibold'>;\n}\nexport interface HeadingLabelProps extends TypographyPropsWithoutFontStyleProps {\n variant: HeadingFontVariants | LabelFontVariants;\n weight?: never;\n}\nexport type TypographyTextProps = BodyProps | HeadingLabelProps;\n\nconst TypographyText = InternalTypography.styleable<TypographyTextProps>((props, ref) => {\n const typographyVariantAncestorValue = useContext(TypographyVariantContext);\n const typographyWeightAncestorValue = useContext(TypographyWeightContext);\n const typographyColorAncestorValue = useContext(TypograhyColorContext);\n\n const { variant, weight } = getVariantAndWeightValues(\n props.weight,\n props.variant,\n typographyWeightAncestorValue,\n typographyVariantAncestorValue,\n );\n const color = props.color || typographyColorAncestorValue || undefined;\n\n let content = (\n <InternalTypography\n ref={ref}\n {...props}\n color={color as GetThemeValueForKey<'color'>}\n weight={weight}\n variant={variant}\n />\n );\n\n content = props.variant ? (\n // If a variant is provided, we set it in the context for children to be able to inherit variant value\n <TypographyVariantContext.Provider value={props.variant}>{content}</TypographyVariantContext.Provider>\n ) : (\n content\n );\n\n content = props.weight ? (\n // If a weight is provided, we set it in the context for children to be able to inherit weight value\n <TypographyWeightContext.Provider value={props.weight}>{content}</TypographyWeightContext.Provider>\n ) : (\n content\n );\n\n content = props.color ? (\n // If a color is provided, we set it in the context for children to be able to inherit color value\n <TypograhyColorContext.Provider value={props.color}>{content}</TypograhyColorContext.Provider>\n ) : (\n content\n );\n\n return content;\n});\n\nexport const Typography = {\n Text: TypographyText,\n};\n","import { BreakpointNameEnum } from '../../../themes/utils/breakpoints';\n\nexport interface ValueForBreakpoint<T> {\n base: T;\n small?: T;\n medium?: T;\n large?: T;\n wide?: T;\n}\n\nexport function getValueForBreakpoint<T>(\n breakpoint: BreakpointNameEnum,\n { base, small, medium, large, wide }: ValueForBreakpoint<T>,\n): T {\n switch (breakpoint) {\n case BreakpointNameEnum.WIDE:\n return wide ?? large ?? medium ?? small ?? base;\n case BreakpointNameEnum.LARGE:\n return large ?? medium ?? small ?? base;\n case BreakpointNameEnum.MEDIUM:\n return medium ?? small ?? base;\n case BreakpointNameEnum.SMALL:\n return small ?? base;\n case BreakpointNameEnum.BASE:\n default:\n return base;\n }\n}\n","import { useMedia } from '@tamagui/core';\nimport { BreakpointNameEnum } from '../../../themes/utils/breakpoints';\n\nexport function useCurrentBreakpointName(): BreakpointNameEnum {\n const media = useMedia();\n\n switch (true) {\n case media.wide:\n return BreakpointNameEnum.WIDE;\n case media.large:\n return BreakpointNameEnum.LARGE;\n case media.medium:\n return BreakpointNameEnum.MEDIUM;\n case media.small:\n return BreakpointNameEnum.SMALL;\n case media.base:\n default:\n return BreakpointNameEnum.BASE;\n }\n}\n","import { useMemo } from 'react';\nimport type { ValueForBreakpoint } from '../utils/breakpointsUtils';\nimport { getValueForBreakpoint } from '../utils/breakpointsUtils';\nimport { useCurrentBreakpointName } from './useCurrentBreakpointName';\n\nexport function useBreakpointValue<T>(values: ValueForBreakpoint<T>): T {\n const breakpoint = useCurrentBreakpointName();\n\n return useMemo(() => {\n return getValueForBreakpoint(breakpoint, values);\n }, [breakpoint, values]);\n}\n","import type { ReactNode } from 'react';\nimport { useCurrentBreakpointName } from './hooks/useCurrentBreakpointName';\nimport type { ValueForBreakpoint } from './utils/breakpointsUtils';\nimport { getValueForBreakpoint } from './utils/breakpointsUtils';\n\nexport type SwitchBreakpointsProps = ValueForBreakpoint<ReactNode>;\n\nexport function SwitchBreakpoints(values: SwitchBreakpointsProps): ReactNode {\n const breakpoint = useCurrentBreakpointName();\n\n return getValueForBreakpoint(breakpoint, values);\n}\n"],"names":["createColorScale","colorScale","colorScales","deepPurple","beige","lightning","rainbow","pink","brick","orange","gold","sun","grey","blue","green","yellow","red","mauve","transformColorScalesToTokens","Object","fromEntries","entries","flatMap","colorName","map","scaleNumber","colorValue","deepPurpleColorPalette","white","black","transparent","light","BreakpointNameEnum","breakpoints","BASE","SMALL","MEDIUM","LARGE","WIDE","BODY_VARIANTS","GTStandardFaces","normal","size","lineHeight","letterSpacing","weight","bold","semibold","regular","fonts","createFont","family","face","radiusTokens","sizeTokens","spaceTokens","tokens","createTokens","color","space","radius","config","createTamagui","GTStandard","themes","media","minWidth","settings","allowedStyleValues","disableSSR","styleCompat","autocompleteSpecificTokens","debug","BumperProvider","children","_jsx","TamaguiProvider","defaultTheme","BumperDecorator","makeDecorator","name","parameterName","wrapper","storyFn","context","Center","styled","View","justifyContent","alignItems","Pressable","as","rest","Component","role","cursor","HStack","Stack","flexDirection","VStack","getVariantAndWeightValues","weightProp","variantProp","typographyWeightAncestorValue","typographyVariantAncestorValue","computedVariant","undefined","includes","computedWeight","variant","TypographyVariantContext","createContext","TypographyWeightContext","TypograhyColorContext","InternalTypography","Text","fontFamily","WebkitFontSmoothing","variants","fontSize","fontWeight","defaultVariants","TypographyText","styleable","props","ref","useContext","typographyColorAncestorValue","content","Provider","value","Typography","getValueForBreakpoint","breakpoint","base","small","medium","large","wide","useCurrentBreakpointName","useMedia","useBreakpointValue","values","useMemo","SwitchBreakpoints"],"mappings":";;;;;;;AA4CA,MAAMA,gBAAgB,GAAqDC,UAAa,IAAQA,UAAU,CAAA;;AAE1G;AACA;AACO,MAAMC,WAAwB,GAAG;EACtCC,UAAU,EAAEH,gBAAgB,CAAC;AAC3B,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAA;AACL,GAAC,CAAC;EACFI,KAAK,EAAEJ,gBAAgB,CAAC;AACtB,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAA;AACL,GAAC,CAAC;EACFK,SAAS,EAAEL,gBAAgB,CAAC;AAC1B,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAA;AACL,GAAC,CAAC;EACFM,OAAO,EAAEN,gBAAgB,CAAC;AACxBO,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,KAAK,EAAE,SAAS;AAChBC,IA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I,CAAA;IAChC,KAAK2B,KAAK,CAACwE,KAAK;MACd,OAAOzG,kBAAkB,CAACK,KAAK,CAAA;IACjC,KAAK4B,KAAK,CAACuE,MAAM;MACf,OAAOxG,kBAAkB,CAACI,MAAM,CAAA;IAClC,KAAK6B,KAAK,CAACsE,KAAK;MACd,OAAOvG,kBAAkB,CAACG,KAAK,CAAA;IACjC,KAAK8B,KAAK,CAACqE,IAAI,CAAA;AACf,IAAA;MACE,OAAOtG,kBAAkB,CAACE,IAAI,CAAA;AAClC,GAAA;AACF;;ACdO,SAAS2G,kBAAkBA,CAAIC,MAA6B,EAAK;AACtE,EAAA,MAAMT,UAAU,GAAGM,wBAAwB,EAAE,CAAA;EAE7C,OAAOI,OAAO,CAAC,MAAM;AACnB,IAAA,OAAOX,qBAAqB,CAACC,UAAU,EAAES,MAAM,CAAC,CAAA;AAClD,GAAC,EAAE,CAACT,UAAU,EAAES,MAAM,CAAC,CAAC,CAAA;AAC1B;;ACJO,SAASE,iBAAiBA,CAACF,MAA8B,EAAa;AAC3E,EAAA,MAAMT,UAAU,GAAGM,wBAAwB,EAAE,CAAA;AAE7C,EAAA,OAAOP,qBAAqB,CAACC,UAAU,EAAES,MAAM,CAAC,CAAA;AAClD;;;;"}
1
+ {"version":3,"file":"index-node-22.17.es.mjs","sources":["../src/tokens/palettes/deepPurpleColorPalette.ts","../src/themes/light.ts","../src/themes/utils/breakpoints.ts","../src/tokens/fonts.ts","../src/tokens/radius.ts","../src/tokens/size.ts","../src/tokens/space.ts","../src/tamagui.config.ts","../src/core/BumperProvider.tsx","../src/core/BumperDecorator.tsx","../src/components/primitives/Center.ts","../src/components/primitives/Pressable.tsx","../src/components/primitives/Stack.tsx","../src/components/typography/utils/getVariantAndWeightValues.tsx","../src/components/typography/Typography.tsx","../src/components/breakpoints/utils/breakpointsUtils.ts","../src/components/breakpoints/hooks/useCurrentBreakpointName.ts","../src/components/breakpoints/hooks/useBreakpointValue.ts","../src/components/breakpoints/SwitchBreakpoins.tsx"],"sourcesContent":["import type { IntRange, UnionToIntersection } from 'type-fest';\n\ninterface ColorScaleKeysMap {\n deepPurple: IntRange<5, 10>;\n beige: IntRange<1, 7>;\n lightning: 4 | 5 | 8 | 9;\n rainbow:\n | 'pink'\n | 'brick'\n | 'orange'\n | 'gold'\n | 'sun'\n | 'green-pine'\n | 'green-grass'\n | 'green-apple'\n | 'blue-electric'\n | 'blue-sky';\n grey: 0 | 1 | 2 | 3 | 5 | 7 | 9;\n blue: 1 | 2 | 6 | 7;\n green: 1 | 2 | 6 | 7;\n yellow: 1 | 2 | 6 | 7;\n red: 1 | 2 | 6 | 7;\n mauve: 1 | 2 | 3 | 4;\n 'beige-alpha': '25' | '40' | '50';\n 'grey-alpha': '25' | '35' | '50';\n 'white-alpha': '10' | '20' | '60' | '80' | '90';\n}\n\ntype CreateColorScale<K extends keyof ColorScaleKeysMap> = Record<ColorScaleKeysMap[K], string>;\n\ntype ColorScales = {\n [K in keyof ColorScaleKeysMap]: CreateColorScale<K>;\n};\n\ntype CreateTokens<K extends keyof ColorScaleKeysMap> = {\n [Key in ColorScaleKeysMap[K] as `${K}.${Key}`]: string;\n};\n\ntype ColorScaleTokens = UnionToIntersection<\n {\n [K in keyof ColorScaleKeysMap]: CreateTokens<K>;\n }[keyof ColorScaleKeysMap]\n>;\n\nconst createColorScale = <const T extends Record<string | number, string>>(colorScale: T): T => colorScale;\n\n// WARNING\n// If you update this palette, don't forget to update the palette in @ornikar/bumper as well.\nexport const colorScales: ColorScales = {\n deepPurple: createColorScale({\n 5: '#936C93',\n 6: '#7A587A',\n 7: '#6E4D6E',\n 8: '#563B56',\n 9: '#452F45',\n }),\n beige: createColorScale({\n 1: '#F7F4EE',\n 2: '#F1ECE4',\n 3: '#EAE3D6',\n 4: '#E5DCCA',\n 5: '#DDD0B8',\n 6: '#C1B59F',\n }),\n lightning: createColorScale({\n 4: '#FFF966',\n 5: '#FFF500',\n 8: '#594D0D',\n 9: '#43390A',\n }),\n rainbow: createColorScale({\n pink: '#E4A4F9',\n brick: '#951D12',\n orange: '#DB6E2E',\n gold: '#9A7600',\n sun: '#EFD346',\n 'green-pine': '#1C5D47',\n 'green-grass': '#4DA00A',\n 'green-apple': '#DEF985',\n 'blue-electric': '#2850C4',\n 'blue-sky': '#B2F0FD',\n }),\n grey: createColorScale({\n 0: '#ffffff',\n 1: '#ECECEC',\n 2: '#CDCED0',\n 3: '#A8A8A8',\n 5: '#838383',\n 7: '#505050',\n 9: '#101010',\n }),\n blue: createColorScale({\n 1: '#E9F4FC',\n 2: '#BCDFF6',\n 6: '#1772AB',\n 7: '#125A87',\n }),\n green: createColorScale({\n 1: '#ECFEDD',\n 2: '#DBFAC1',\n 6: '#438D06',\n 7: '#357105',\n }),\n yellow: createColorScale({\n 1: '#FDF8E7',\n 2: '#FAEBB8',\n 6: '#EFC11F',\n 7: '#BA930B',\n }),\n red: createColorScale({\n 1: '#FDE4E3',\n 2: '#FAB8B8',\n 6: '#E2483D',\n 7: '#BD100F',\n }),\n mauve: createColorScale({\n 1: '#F8E7FF',\n 2: '#F1D0FB',\n 3: '#E4A4F9',\n 4: '#D283EC',\n }),\n 'beige-alpha': createColorScale({\n '25': '#C1B59F40',\n '40': '#C1B59F66',\n '50': '#C1B59F80',\n }),\n 'grey-alpha': createColorScale({\n '25': '#10101040',\n '35': '#10101059',\n '50': '#10101080',\n }),\n 'white-alpha': createColorScale({\n '10': '#FFFFFF1A',\n '20': '#FFFFFF33',\n '60': '#FFFFFF99',\n '80': '#FFFFFFCC',\n '90': '#FFFFFFE5',\n }),\n} as const;\n\nconst transformColorScalesToTokens = (): ColorScaleTokens => {\n return Object.fromEntries(\n Object.entries(colorScales).flatMap(([colorName, colorScale]) => {\n return Object.entries(colorScale).map(([scaleNumber, colorValue]) => {\n return [`${colorName}.${scaleNumber}`, colorValue];\n });\n }),\n ) as ColorScaleTokens;\n};\n\nexport const deepPurpleColorPalette = {\n ...transformColorScalesToTokens(),\n white: '#FFFFFF',\n black: '#000000',\n transparent: 'transparent',\n};\n","import { deepPurpleColorPalette } from '../tokens/palettes/deepPurpleColorPalette';\n\n// WARNING\n// If you modify this theme, don't forget to update the theme in @ornikar/kitt-universal as well\n// https://github.com/ornikar/kitt/blob/79e367e962c957c016c4df67dbcf515c8f45ff0e/@ornikar/kitt-universal/src/themes/late-ocean/colors.ts#L28\nexport const light = {\n // content\n 'content.base.low': deepPurpleColorPalette['grey.5'],\n 'content.base.mid': deepPurpleColorPalette['grey.7'],\n 'content.base.hi': deepPurpleColorPalette['grey.9'],\n 'content.base.onContrasted.low': deepPurpleColorPalette['white-alpha.60'],\n 'content.base.onContrasted.mid': deepPurpleColorPalette['white-alpha.80'],\n 'content.base.onContrasted.hi': deepPurpleColorPalette['grey.0'],\n 'content.accent': deepPurpleColorPalette['deepPurple.8'],\n 'content.promo': deepPurpleColorPalette['lightning.9'],\n 'content.promo.onContrasted': deepPurpleColorPalette['lightning.5'],\n 'content.info': deepPurpleColorPalette['blue.7'],\n 'content.success': deepPurpleColorPalette['green.7'],\n 'content.warning': deepPurpleColorPalette['yellow.7'],\n 'content.danger': deepPurpleColorPalette['red.7'],\n 'content.muted': deepPurpleColorPalette['beige.6'],\n 'content.disabled': deepPurpleColorPalette['grey.3'],\n 'content.disabled.onContrasted': deepPurpleColorPalette['grey.1'],\n\n // backgrounds\n 'bg.base.low.default': deepPurpleColorPalette['grey.0'],\n 'bg.base.low.pressed': deepPurpleColorPalette['beige.1'],\n 'bg.base.mid.default': deepPurpleColorPalette['beige.1'],\n 'bg.base.mid.pressed': deepPurpleColorPalette['beige.2'],\n 'bg.base.hi.default': deepPurpleColorPalette['beige.2'],\n 'bg.base.hi.pressed': deepPurpleColorPalette['beige.3'],\n 'bg.accent.default': deepPurpleColorPalette['deepPurple.8'],\n 'bg.accent.pressed': deepPurpleColorPalette['deepPurple.7'],\n 'bg.promo.mid.default': deepPurpleColorPalette['lightning.5'],\n 'bg.promo.mid.pressed': deepPurpleColorPalette['lightning.4'],\n 'bg.promo.hi.default': deepPurpleColorPalette['lightning.9'],\n 'bg.promo.hi.pressed': deepPurpleColorPalette['lightning.8'],\n 'bg.highlight.mid.default': deepPurpleColorPalette['mauve.1'],\n 'bg.highlight.mid.pressed': deepPurpleColorPalette['mauve.2'],\n 'bg.highlight.hi.default': deepPurpleColorPalette['mauve.3'],\n 'bg.highlight.hi.pressed': deepPurpleColorPalette['mauve.4'],\n 'bg.info.mid': deepPurpleColorPalette['blue.1'],\n 'bg.info.hi': deepPurpleColorPalette['blue.6'],\n 'bg.success.mid': deepPurpleColorPalette['green.1'],\n 'bg.success.hi': deepPurpleColorPalette['green.6'],\n 'bg.warning.mid': deepPurpleColorPalette['yellow.1'],\n 'bg.warning.hi': deepPurpleColorPalette['yellow.6'],\n 'bg.danger.mid': deepPurpleColorPalette['red.1'],\n 'bg.danger.hi': deepPurpleColorPalette['red.6'],\n 'bg.disabled.mid': deepPurpleColorPalette['grey.1'],\n 'bg.disabled.hi': deepPurpleColorPalette['grey.3'],\n 'bg.overlay': deepPurpleColorPalette['grey-alpha.50'],\n\n // borders\n 'border.base.low': deepPurpleColorPalette['beige.2'],\n 'border.base.mid': deepPurpleColorPalette['beige.3'],\n 'border.base.hi': deepPurpleColorPalette['grey.9'],\n 'border.base.onContrasted.mid': deepPurpleColorPalette['white-alpha.20'],\n 'border.base.onContrasted.hi': deepPurpleColorPalette['grey.0'],\n 'border.base.accent': deepPurpleColorPalette['deepPurple.8'],\n 'border.info': deepPurpleColorPalette['blue.6'],\n 'border.success': deepPurpleColorPalette['green.6'],\n 'border.warning': deepPurpleColorPalette['yellow.6'],\n 'border.danger': deepPurpleColorPalette['red.6'],\n 'border.disabled': deepPurpleColorPalette['grey.2'],\n 'border.highlight': deepPurpleColorPalette['mauve.3'],\n};\n","export enum BreakpointNameEnum {\n BASE = 'base',\n SMALL = 'small',\n MEDIUM = 'medium',\n LARGE = 'large',\n WIDE = 'wide',\n}\n\nexport const breakpoints = {\n [BreakpointNameEnum.BASE]: 0,\n [BreakpointNameEnum.SMALL]: 480,\n [BreakpointNameEnum.MEDIUM]: 768,\n [BreakpointNameEnum.LARGE]: 1024,\n [BreakpointNameEnum.WIDE]: 1280,\n};\n","import { createFont } from '@tamagui/core';\n\nexport const HEADING_VARIANTS = [\n 'heading-2xl',\n 'heading-xl',\n 'heading-l',\n 'heading-m',\n 'heading-s',\n 'heading-xs',\n 'heading-2xs',\n] as const;\nexport const BODY_VARIANTS = ['body-xl', 'body-l', 'body-m', 'body-s', 'body-xs'] as const;\nexport const LABEL_VARIANTS = ['label-xl', 'label-l', 'label-m', 'label-s'] as const;\nexport const CONTENT_CAPS_VARIANTS = [\n 'content-caps-3xl',\n 'content-caps-2xl',\n 'content-caps-xl',\n 'content-caps-l',\n 'content-caps-m',\n 'content-caps-s',\n 'content-caps-xs',\n] as const;\nexport const VARIANTS = [...HEADING_VARIANTS, ...BODY_VARIANTS, ...LABEL_VARIANTS, ...CONTENT_CAPS_VARIANTS] as const;\n\nexport type FontVariants = (typeof VARIANTS)[number];\nexport type BodyFontVariants = (typeof BODY_VARIANTS)[number];\nexport type LabelFontVariants = (typeof LABEL_VARIANTS)[number];\nexport type HeadingFontVariants = (typeof HEADING_VARIANTS)[number];\nexport type ContentCapsVariants = (typeof CONTENT_CAPS_VARIANTS)[number];\n\nexport type GTStandardFontWeight = '500' | '600' | '700';\n\nconst GTStandardFaces: Record<GTStandardFontWeight, Record<string, string>> = {\n 500: { normal: 'GTStandardRegular' },\n 600: { normal: 'GTStandardSemibold' },\n 700: { normal: 'GTStandardBold' },\n};\n\nconst size: Record<FontVariants, number> = {\n 'heading-2xl': 56,\n 'heading-xl': 48,\n 'heading-l': 38,\n 'heading-m': 28,\n 'heading-s': 24,\n 'heading-xs': 20,\n 'heading-2xs': 20,\n 'body-xl': 24,\n 'body-l': 18,\n 'body-m': 16,\n 'body-s': 14,\n 'body-xs': 12,\n 'label-xl': 18,\n 'label-l': 16,\n 'label-m': 14,\n 'label-s': 12,\n 'content-caps-3xl': 40,\n 'content-caps-2xl': 32,\n 'content-caps-xl': 24,\n 'content-caps-l': 18,\n 'content-caps-m': 16,\n 'content-caps-s': 14,\n 'content-caps-xs': 12,\n};\n\nconst lineHeight: Record<FontVariants, number> = {\n 'heading-2xl': 64,\n 'heading-xl': 56,\n 'heading-l': 44,\n 'heading-m': 32,\n 'heading-s': 28,\n 'heading-xs': 24,\n 'heading-2xs': 20,\n 'body-xl': 32,\n 'body-l': 26,\n 'body-m': 24,\n 'body-s': 20,\n 'body-xs': 16,\n 'label-xl': 26,\n 'label-l': 20,\n 'label-m': 18,\n 'label-s': 14,\n 'content-caps-3xl': 40,\n 'content-caps-2xl': 40,\n 'content-caps-xl': 28,\n 'content-caps-l': 20,\n 'content-caps-m': 18,\n 'content-caps-s': 16,\n 'content-caps-xs': 14,\n};\n\nconst letterSpacing: Record<FontVariants, number> = {\n 'heading-2xl': 0,\n 'heading-xl': 0,\n 'heading-l': 0,\n 'heading-m': 0,\n 'heading-s': 0,\n 'heading-xs': 0,\n 'heading-2xs': 0,\n 'body-xl': 0.3,\n 'body-l': 0.3,\n 'body-m': 0.3,\n 'body-s': 0.3,\n 'body-xs': 0.3,\n 'label-xl': 0,\n 'label-l': 0,\n 'label-m': 0,\n 'label-s': 0,\n 'content-caps-3xl': 0,\n 'content-caps-2xl': 0,\n 'content-caps-xl': 0,\n 'content-caps-l': 0,\n 'content-caps-m': 0,\n 'content-caps-s': 0,\n 'content-caps-xs': 0,\n};\n\nconst weight: Record<string, GTStandardFontWeight> = {\n bold: '700',\n semibold: '600',\n regular: '500',\n};\n\nexport const fonts = createFont({\n family: 'GTStandard',\n size,\n lineHeight,\n letterSpacing,\n weight,\n face: GTStandardFaces,\n});\n","export const radiusTokens = {\n 'radius.none': 0,\n 'radius.s': 2,\n 'radius.m': 4,\n 'radius.l': 8,\n 'radius.circle': 1000,\n};\n","export const sizeTokens = {\n 'size.16': 16,\n 'size.20': 20,\n 'size.24': 24,\n 'size.32': 32,\n 'size.48': 48,\n 'size.64': 64,\n 'size.80': 80,\n 'size.96': 96,\n 'size.120': 120,\n 'size.144': 144,\n 'size.176': 176,\n 'size.208': 208,\n};\n","export const spaceTokens = {\n 'space.none': 0,\n 'space.2': 2,\n 'space.4': 4,\n 'space.8': 8,\n 'space.12': 12,\n 'space.16': 16,\n 'space.24': 24,\n 'space.32': 32,\n 'space.40': 40,\n 'space.48': 48,\n 'space.56': 56,\n 'space.64': 64,\n 'space.80': 80,\n};\n","import { createTamagui, createTokens } from '@tamagui/core';\nimport { light } from './themes/light';\nimport { BreakpointNameEnum, breakpoints } from './themes/utils/breakpoints';\nimport { fonts } from './tokens/fonts';\nimport { radiusTokens } from './tokens/radius';\nimport { sizeTokens } from './tokens/size';\nimport { spaceTokens } from './tokens/space';\n\nconst tokens = createTokens({\n color: {},\n space: spaceTokens,\n size: sizeTokens,\n radius: radiusTokens,\n});\n\nexport const config = createTamagui({\n tokens,\n fonts: {\n GTStandard: fonts,\n },\n themes: {\n light,\n },\n media: {\n [BreakpointNameEnum.BASE]: { minWidth: breakpoints[BreakpointNameEnum.BASE] },\n [BreakpointNameEnum.SMALL]: { minWidth: breakpoints[BreakpointNameEnum.SMALL] },\n [BreakpointNameEnum.MEDIUM]: { minWidth: breakpoints[BreakpointNameEnum.MEDIUM] },\n [BreakpointNameEnum.LARGE]: { minWidth: breakpoints[BreakpointNameEnum.LARGE] },\n [BreakpointNameEnum.WIDE]: { minWidth: breakpoints[BreakpointNameEnum.WIDE] },\n },\n settings: {\n allowedStyleValues: 'strict',\n disableSSR: true,\n styleCompat: 'react-native',\n autocompleteSpecificTokens: 'except-special',\n debug: false,\n },\n});\n\ntype Conf = typeof config;\n\n// make imports typed\ndeclare module '@tamagui/core' {\n interface TamaguiCustomConfig extends Conf {}\n}\n","import { TamaguiProvider } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport { config } from '../tamagui.config';\n\nexport interface BumperProviderProps {\n children: ReactNode;\n}\n\nexport function BumperProvider({ children }: BumperProviderProps): ReactNode {\n return (\n <TamaguiProvider config={config} defaultTheme=\"light\">\n {children}\n </TamaguiProvider>\n );\n}\n","import { makeDecorator } from '@storybook/preview-api';\nimport type { ReactNode } from 'react';\nimport { BumperProvider } from './BumperProvider';\n\nexport const BumperDecorator = makeDecorator({\n name: 'BumperDecorator',\n parameterName: 'bumper',\n wrapper: (storyFn, context) => {\n return <BumperProvider>{storyFn(context) as ReactNode}</BumperProvider>;\n },\n});\n","import type { ViewProps } from '@tamagui/core';\nimport { styled } from '@tamagui/core';\nimport { View } from './View';\n\nexport interface CenterProps extends ViewProps {}\n\nexport const Center = styled(View, {\n justifyContent: 'center',\n alignItems: 'center',\n});\n","import type { GetProps, TamaguiComponent } from '@tamagui/core';\nimport { View, styled } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport type { Except } from 'type-fest';\n\nexport type PressableProps<C extends TamaguiComponent = typeof View> = {\n /**\n * The Tamagui component to render as (`View`, `Stack`, etc.).\n *\n * @default View\n */\n as?: C;\n} & Except<GetProps<C>, 'as'>;\n\n/**\n * A polymorphic Pressable component that can render as any Tamagui primitive.\n *\n * @example\n * <Pressable onPress={() => {}} />\n *\n * @example\n * <Pressable\n * as={HStack}\n * onPress={() => {}}\n * />\n */\nexport function Pressable<C extends TamaguiComponent = typeof View>({ as, ...rest }: PressableProps<C>): ReactNode {\n const Component = styled(as ?? View, {\n name: 'Pressable',\n role: 'button',\n cursor: 'pointer',\n });\n\n return <Component {...(rest as GetProps<C>)} />;\n}\n","import type { GetProps } from '@tamagui/core';\nimport { Stack, styled } from '@tamagui/core';\n\nexport type { StackProps } from '@tamagui/core';\nexport { Stack } from '@tamagui/core';\n\nexport const HStack = styled(Stack, {\n name: 'HStack',\n flexDirection: 'row',\n});\n\nexport type HStackProps = GetProps<typeof HStack>;\n\nexport const VStack = styled(Stack, {\n name: 'VStack',\n flexDirection: 'column',\n});\n\nexport type VStackProps = GetProps<typeof VStack>;\n","import type { FontVariants } from '../../../tokens/fonts';\nimport { BODY_VARIANTS, CONTENT_CAPS_VARIANTS, HEADING_VARIANTS, LABEL_VARIANTS } from '../../../tokens/fonts';\nimport type {\n InternalTypographyProps,\n TypographyTextProps,\n TypographyVariantContextValue,\n TypographyWeightContextValue,\n} from '../Typography';\n\ninterface VariantAndWeightValues {\n weight: InternalTypographyProps['weight'] | undefined;\n variant: FontVariants | undefined;\n}\n\nexport function getVariantAndWeightValues(\n weightProp: TypographyTextProps['weight'],\n variantProp: TypographyTextProps['variant'],\n typographyWeightAncestorValue: TypographyWeightContextValue,\n typographyVariantAncestorValue: TypographyVariantContextValue,\n): VariantAndWeightValues {\n const computedVariant = variantProp || typographyVariantAncestorValue || undefined;\n\n if (computedVariant) {\n if ((BODY_VARIANTS as readonly string[]).includes(computedVariant)) {\n const computedWeight = weightProp || typographyWeightAncestorValue || undefined;\n return { weight: computedWeight, variant: computedVariant };\n }\n // Content Caps variant have fixed weights so we override any provided weight\n if ((CONTENT_CAPS_VARIANTS as readonly string[]).includes(computedVariant)) {\n return { weight: 'bold', variant: computedVariant };\n }\n // Heading variants have fixed weights so we override any provided weight\n if ((HEADING_VARIANTS as readonly string[]).includes(computedVariant)) {\n return { weight: 'semibold', variant: computedVariant };\n }\n // Label variants have fixed weights so we override any provided weight\n if ((LABEL_VARIANTS as readonly string[]).includes(computedVariant)) {\n return { weight: 'semibold', variant: computedVariant };\n }\n }\n\n return { weight: weightProp, variant: undefined };\n}\n","import type { GetProps, GetThemeValueForKey, TamaguiComponent, WithMediaProps } from '@tamagui/core';\nimport { Text, styled } from '@tamagui/core';\nimport { createContext, useContext } from 'react';\nimport { type Except } from 'type-fest';\nimport type {\n BodyFontVariants,\n ContentCapsVariants,\n FontVariants,\n HeadingFontVariants,\n LabelFontVariants,\n} from '../../tokens/fonts';\nimport { getVariantAndWeightValues } from './utils/getVariantAndWeightValues';\n\n// Should use type from tamagui (PropsWithoutMediaStyles) when fixed: https://github.com/tamagui/tamagui/pull/3783\ntype PropsWithoutMedia<A> = {\n // remove all media\n [Key in keyof A as Key extends `$${string}` ? never : Key]?: A[Key];\n};\n\ntype OverrideTamaguiComponentProps<A> = PropsWithoutMedia<A> & WithMediaProps<PropsWithoutMedia<A>>;\n\nconst InternalTypography = styled(Text, {\n fontFamily: '$GTStandard',\n color: '$content.base.hi',\n '$platform-web': {\n WebkitFontSmoothing: 'antialiased',\n },\n variants: {\n variant: (variant: FontVariants | undefined) => {\n if (!variant) return {};\n\n return {\n fontSize: `$${variant}`,\n lineHeight: `$${variant}`,\n letterSpacing: `$${variant}`,\n };\n },\n weight: {\n regular: {\n fontWeight: '$regular',\n },\n semibold: {\n fontWeight: '$semibold',\n },\n bold: {\n fontWeight: '$bold',\n },\n },\n } as const,\n defaultVariants: {\n variant: 'body-m',\n weight: 'regular',\n },\n});\n\nexport type InternalTypographyProps = GetProps<typeof InternalTypography>;\n\nexport type TypographyVariantContextValue = FontVariants | null;\nexport type TypographyWeightContextValue = 'regular' | 'bold' | 'semibold' | null;\nexport type TypograhyColorContextValue = InternalTypographyProps['color'] | null;\n\nconst TypographyVariantContext = createContext<TypographyVariantContextValue>(null);\nconst TypographyWeightContext = createContext<TypographyWeightContextValue>(null);\nconst TypograhyColorContext = createContext<TypograhyColorContextValue>(null);\n\n// Remove font-related style props from InternalTypography Props\ntype TypographyExcludedFontStyleProps =\n | 'fontFamily'\n | 'fontSize'\n | 'lineHeight'\n | 'fontStyle'\n | 'fontVariant'\n | 'fontWeight';\n\ntype TypographyPropsWithoutFontStyleProps = Except<InternalTypographyProps, TypographyExcludedFontStyleProps>;\n\nexport interface BodyProps extends TypographyPropsWithoutFontStyleProps {\n variant?: BodyFontVariants;\n weight?: 'regular' | 'bold';\n}\nexport interface HeadingLabelProps extends TypographyPropsWithoutFontStyleProps {\n variant: HeadingFontVariants | LabelFontVariants;\n weight?: 'semibold';\n}\nexport interface ContentCapsProps extends TypographyPropsWithoutFontStyleProps {\n variant: ContentCapsVariants;\n weight?: 'bold';\n}\n\nexport type TypographyTextProps =\n | OverrideTamaguiComponentProps<BodyProps>\n | OverrideTamaguiComponentProps<HeadingLabelProps>\n | OverrideTamaguiComponentProps<ContentCapsProps>;\n\nconst TypographyBase = InternalTypography.styleable<TypographyTextProps, TypographyTextProps>((props, ref) => {\n const typographyVariantAncestorValue = useContext(TypographyVariantContext);\n const typographyWeightAncestorValue = useContext(TypographyWeightContext);\n const typographyColorAncestorValue = useContext(TypograhyColorContext);\n\n const { variant, weight } = getVariantAndWeightValues(\n props.weight,\n props.variant,\n typographyWeightAncestorValue,\n typographyVariantAncestorValue,\n );\n const color = props.color || typographyColorAncestorValue || undefined;\n\n let content = (\n <InternalTypography\n ref={ref}\n {...props}\n color={color as GetThemeValueForKey<'color'>}\n weight={weight}\n variant={variant}\n />\n );\n\n // If a variant is provided, we set it in the context for children to be able to inherit variant value\n content = props.variant ? (\n <TypographyVariantContext.Provider value={props.variant}>{content}</TypographyVariantContext.Provider>\n ) : (\n content\n );\n\n // If a weight is provided, we set it in the context for children to be able to inherit weight value\n content = props.weight ? (\n <TypographyWeightContext.Provider value={props.weight}>{content}</TypographyWeightContext.Provider>\n ) : (\n content\n );\n\n // If a color is provided, we set it in the context for children to be able to inherit color value\n content = props.color ? (\n <TypograhyColorContext.Provider value={props.color}>{content}</TypograhyColorContext.Provider>\n ) : (\n content\n );\n\n return content;\n});\n\nconst createHeading = (level: number): TamaguiComponent<TypographyTextProps> => {\n return TypographyBase.styleable<TypographyTextProps, TypographyTextProps>((props, ref) => {\n return <TypographyBase ref={ref} {...props} role=\"heading\" aria-level={level} />;\n });\n};\n\nexport const Typography = {\n Text: TypographyBase,\n Header1: createHeading(1),\n Header2: createHeading(2),\n Header3: createHeading(3),\n Header4: createHeading(4),\n Header5: createHeading(5),\n Header6: createHeading(6),\n};\n","import { BreakpointNameEnum } from '../../../themes/utils/breakpoints';\n\nexport interface ValueForBreakpoint<T> {\n base: T;\n small?: T;\n medium?: T;\n large?: T;\n wide?: T;\n}\n\nexport function getValueForBreakpoint<T>(\n breakpoint: BreakpointNameEnum,\n { base, small, medium, large, wide }: ValueForBreakpoint<T>,\n): T {\n switch (breakpoint) {\n case BreakpointNameEnum.WIDE:\n return wide ?? large ?? medium ?? small ?? base;\n case BreakpointNameEnum.LARGE:\n return large ?? medium ?? small ?? base;\n case BreakpointNameEnum.MEDIUM:\n return medium ?? small ?? base;\n case BreakpointNameEnum.SMALL:\n return small ?? base;\n case BreakpointNameEnum.BASE:\n default:\n return base;\n }\n}\n","import { useMedia } from '@tamagui/core';\nimport { BreakpointNameEnum } from '../../../themes/utils/breakpoints';\n\nexport function useCurrentBreakpointName(): BreakpointNameEnum {\n const media = useMedia();\n\n switch (true) {\n case media.wide:\n return BreakpointNameEnum.WIDE;\n case media.large:\n return BreakpointNameEnum.LARGE;\n case media.medium:\n return BreakpointNameEnum.MEDIUM;\n case media.small:\n return BreakpointNameEnum.SMALL;\n case media.base:\n default:\n return BreakpointNameEnum.BASE;\n }\n}\n","import { useMemo } from 'react';\nimport type { ValueForBreakpoint } from '../utils/breakpointsUtils';\nimport { getValueForBreakpoint } from '../utils/breakpointsUtils';\nimport { useCurrentBreakpointName } from './useCurrentBreakpointName';\n\nexport function useBreakpointValue<T>(values: ValueForBreakpoint<T>): T {\n const breakpoint = useCurrentBreakpointName();\n\n return useMemo(() => {\n return getValueForBreakpoint(breakpoint, values);\n }, [breakpoint, values]);\n}\n","import type { ReactNode } from 'react';\nimport { useCurrentBreakpointName } from './hooks/useCurrentBreakpointName';\nimport type { ValueForBreakpoint } from './utils/breakpointsUtils';\nimport { getValueForBreakpoint } from './utils/breakpointsUtils';\n\nexport type SwitchBreakpointsProps = ValueForBreakpoint<ReactNode>;\n\nexport function SwitchBreakpoints(values: SwitchBreakpointsProps): ReactNode {\n const breakpoint = useCurrentBreakpointName();\n\n return getValueForBreakpoint(breakpoint, values);\n}\n"],"names":["createColorScale","colorScale","colorScales","deepPurple","beige","lightning","rainbow","pink","brick","orange","gold","sun","grey","blue","green","yellow","red","mauve","transformColorScalesToTokens","Object","fromEntries","entries","flatMap","colorName","map","scaleNumber","colorValue","deepPurpleColorPalette","white","black","transparent","light","BreakpointNameEnum","breakpoints","BASE","SMALL","MEDIUM","LARGE","WIDE","HEADING_VARIANTS","BODY_VARIANTS","LABEL_VARIANTS","CONTENT_CAPS_VARIANTS","GTStandardFaces","normal","size","lineHeight","letterSpacing","weight","bold","semibold","regular","fonts","createFont","family","face","radiusTokens","sizeTokens","spaceTokens","tokens","createTokens","color","space","radius","config","createTamagui","GTStandard","themes","media","minWidth","settings","allowedStyleValues","disableSSR","styleCompat","autocompleteSpecificTokens","debug","BumperProvider","children","_jsx","TamaguiProvider","defaultTheme","BumperDecorator","makeDecorator","name","parameterName","wrapper","storyFn","context","Center","styled","View","justifyContent","alignItems","Pressable","as","rest","Component","role","cursor","HStack","Stack","flexDirection","VStack","getVariantAndWeightValues","weightProp","variantProp","typographyWeightAncestorValue","typographyVariantAncestorValue","computedVariant","undefined","includes","computedWeight","variant","InternalTypography","Text","fontFamily","WebkitFontSmoothing","variants","fontSize","fontWeight","defaultVariants","TypographyVariantContext","createContext","TypographyWeightContext","TypograhyColorContext","TypographyBase","styleable","props","ref","useContext","typographyColorAncestorValue","content","Provider","value","createHeading","level","Typography","Header1","Header2","Header3","Header4","Header5","Header6","getValueForBreakpoint","breakpoint","base","small","medium","large","wide","useCurrentBreakpointName","useMedia","useBreakpointValue","values","useMemo","SwitchBreakpoints"],"mappings":";;;;;;;AA4CA,MAAMA,gBAAgB,GAAqDC,UAAa,IAAQA,UAAU,CAAA;;AAE1G;AACA;AACO,MAAMC,WAAwB,GAAG;EACtCC,UAAU,EAAEH,gBAAgB,CAAC;AAC3B,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAS;AACZ,IAAA,CAAC,EAAE,SAAA;AACL,GAAC,CAAC;EACFI,KAAK,EAAEJ,gBAAgB,CAAC;AACt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AA;AACf,GAAA;AACF;;ACxBO,SAASK,wBAAwBA,GAAuB;AAC7D,EAAA,MAAMlF,KAAK,GAAGmF,QAAQ,EAAE,CAAA;AAExB,EAAA,QAAQ,IAAI;IACV,KAAKnF,KAAK,CAACiF,IAAI;MACb,OAAOrH,kBAAkB,CAACM,IAAI,CAAA;IAChC,KAAK8B,KAAK,CAACgF,KAAK;MACd,OAAOpH,kBAAkB,CAACK,KAAK,CAAA;IACjC,KAAK+B,KAAK,CAAC+E,MAAM;MACf,OAAOnH,kBAAkB,CAACI,MAAM,CAAA;IAClC,KAAKgC,KAAK,CAAC8E,KAAK;MACd,OAAOlH,kBAAkB,CAACG,KAAK,CAAA;IACjC,KAAKiC,KAAK,CAAC6E,IAAI,CAAA;AACf,IAAA;MACE,OAAOjH,kBAAkB,CAACE,IAAI,CAAA;AAClC,GAAA;AACF;;ACdO,SAASsH,kBAAkBA,CAAIC,MAA6B,EAAK;AACtE,EAAA,MAAMT,UAAU,GAAGM,wBAAwB,EAAE,CAAA;EAE7C,OAAOI,OAAO,CAAC,MAAM;AACnB,IAAA,OAAOX,qBAAqB,CAACC,UAAU,EAAES,MAAM,CAAC,CAAA;AAClD,GAAC,EAAE,CAACT,UAAU,EAAES,MAAM,CAAC,CAAC,CAAA;AAC1B;;ACJO,SAASE,iBAAiBA,CAACF,MAA8B,EAAa;AAC3E,EAAA,MAAMT,UAAU,GAAGM,wBAAwB,EAAE,CAAA;AAE7C,EAAA,OAAOP,qBAAqB,CAACC,UAAU,EAAES,MAAM,CAAC,CAAA;AAClD;;;;"}
@@ -194,7 +194,10 @@ const breakpoints = {
194
194
  [BreakpointNameEnum.WIDE]: 1280
195
195
  };
196
196
 
197
+ const HEADING_VARIANTS = ['heading-2xl', 'heading-xl', 'heading-l', 'heading-m', 'heading-s', 'heading-xs', 'heading-2xs'];
197
198
  const BODY_VARIANTS = ['body-xl', 'body-l', 'body-m', 'body-s', 'body-xs'];
199
+ const LABEL_VARIANTS = ['label-xl', 'label-l', 'label-m', 'label-s'];
200
+ const CONTENT_CAPS_VARIANTS = ['content-caps-3xl', 'content-caps-2xl', 'content-caps-xl', 'content-caps-l', 'content-caps-m', 'content-caps-s', 'content-caps-xs'];
198
201
  const GTStandardFaces = {
199
202
  500: {
200
203
  normal: 'GTStandardRegular'
@@ -210,9 +213,10 @@ const size = {
210
213
  'heading-2xl': 56,
211
214
  'heading-xl': 48,
212
215
  'heading-l': 38,
213
- 'heading-m': 24,
214
- 'heading-s': 20,
215
- 'heading-xs': 16,
216
+ 'heading-m': 28,
217
+ 'heading-s': 24,
218
+ 'heading-xs': 20,
219
+ 'heading-2xs': 20,
216
220
  'body-xl': 24,
217
221
  'body-l': 18,
218
222
  'body-m': 16,
@@ -221,24 +225,39 @@ const size = {
221
225
  'label-xl': 18,
222
226
  'label-l': 16,
223
227
  'label-m': 14,
224
- 'label-s': 12
228
+ 'label-s': 12,
229
+ 'content-caps-3xl': 40,
230
+ 'content-caps-2xl': 32,
231
+ 'content-caps-xl': 24,
232
+ 'content-caps-l': 18,
233
+ 'content-caps-m': 16,
234
+ 'content-caps-s': 14,
235
+ 'content-caps-xs': 12
225
236
  };
226
237
  const lineHeight = {
227
238
  'heading-2xl': 64,
228
239
  'heading-xl': 56,
229
- 'heading-l': 48,
240
+ 'heading-l': 44,
230
241
  'heading-m': 32,
231
- 'heading-s': 20,
232
- 'heading-xs': 18,
242
+ 'heading-s': 28,
243
+ 'heading-xs': 24,
244
+ 'heading-2xs': 20,
233
245
  'body-xl': 32,
234
246
  'body-l': 26,
235
247
  'body-m': 24,
236
248
  'body-s': 20,
237
249
  'body-xs': 16,
238
250
  'label-xl': 26,
239
- 'label-l': 24,
240
- 'label-m': 20,
241
- 'label-s': 16
251
+ 'label-l': 20,
252
+ 'label-m': 18,
253
+ 'label-s': 14,
254
+ 'content-caps-3xl': 40,
255
+ 'content-caps-2xl': 40,
256
+ 'content-caps-xl': 28,
257
+ 'content-caps-l': 20,
258
+ 'content-caps-m': 18,
259
+ 'content-caps-s': 16,
260
+ 'content-caps-xs': 14
242
261
  };
243
262
  const letterSpacing = {
244
263
  'heading-2xl': 0,
@@ -247,6 +266,7 @@ const letterSpacing = {
247
266
  'heading-m': 0,
248
267
  'heading-s': 0,
249
268
  'heading-xs': 0,
269
+ 'heading-2xs': 0,
250
270
  'body-xl': 0.3,
251
271
  'body-l': 0.3,
252
272
  'body-m': 0.3,
@@ -255,7 +275,14 @@ const letterSpacing = {
255
275
  'label-xl': 0,
256
276
  'label-l': 0,
257
277
  'label-m': 0,
258
- 'label-s': 0
278
+ 'label-s': 0,
279
+ 'content-caps-3xl': 0,
280
+ 'content-caps-2xl': 0,
281
+ 'content-caps-xl': 0,
282
+ 'content-caps-l': 0,
283
+ 'content-caps-m': 0,
284
+ 'content-caps-s': 0,
285
+ 'content-caps-xs': 0
259
286
  };
260
287
  const weight = {
261
288
  bold: '700',
@@ -422,10 +449,27 @@ function getVariantAndWeightValues(weightProp, variantProp, typographyWeightAnce
422
449
  variant: computedVariant
423
450
  };
424
451
  }
425
- return {
426
- weight: 'semibold',
427
- variant: computedVariant
428
- };
452
+ // Content Caps variant have fixed weights so we override any provided weight
453
+ if (CONTENT_CAPS_VARIANTS.includes(computedVariant)) {
454
+ return {
455
+ weight: 'bold',
456
+ variant: computedVariant
457
+ };
458
+ }
459
+ // Heading variants have fixed weights so we override any provided weight
460
+ if (HEADING_VARIANTS.includes(computedVariant)) {
461
+ return {
462
+ weight: 'semibold',
463
+ variant: computedVariant
464
+ };
465
+ }
466
+ // Label variants have fixed weights so we override any provided weight
467
+ if (LABEL_VARIANTS.includes(computedVariant)) {
468
+ return {
469
+ weight: 'semibold',
470
+ variant: computedVariant
471
+ };
472
+ }
429
473
  }
430
474
  return {
431
475
  weight: weightProp,
@@ -433,9 +477,6 @@ function getVariantAndWeightValues(weightProp, variantProp, typographyWeightAnce
433
477
  };
434
478
  }
435
479
 
436
- const TypographyVariantContext = /*#__PURE__*/createContext(null);
437
- const TypographyWeightContext = /*#__PURE__*/createContext(null);
438
- const TypograhyColorContext = /*#__PURE__*/createContext(null);
439
480
  const InternalTypography = styled(Text, {
440
481
  fontFamily: '$GTStandard',
441
482
  color: '$content.base.hi',
@@ -468,12 +509,13 @@ const InternalTypography = styled(Text, {
468
509
  weight: 'regular'
469
510
  }
470
511
  });
471
-
472
- // Create a type for color props that matches strings containing '$content.'
512
+ const TypographyVariantContext = /*#__PURE__*/createContext(null);
513
+ const TypographyWeightContext = /*#__PURE__*/createContext(null);
514
+ const TypograhyColorContext = /*#__PURE__*/createContext(null);
473
515
 
474
516
  // Remove font-related style props from InternalTypography Props
475
517
 
476
- const TypographyText = InternalTypography.styleable((props, ref) => {
518
+ const TypographyBase = InternalTypography.styleable((props, ref) => {
477
519
  const typographyVariantAncestorValue = useContext(TypographyVariantContext);
478
520
  const typographyWeightAncestorValue = useContext(TypographyWeightContext);
479
521
  const typographyColorAncestorValue = useContext(TypograhyColorContext);
@@ -489,31 +531,44 @@ const TypographyText = InternalTypography.styleable((props, ref) => {
489
531
  weight: weight,
490
532
  variant: variant
491
533
  });
492
- content = props.variant ?
493
- /*#__PURE__*/
534
+
494
535
  // If a variant is provided, we set it in the context for children to be able to inherit variant value
495
- jsx(TypographyVariantContext.Provider, {
536
+ content = props.variant ? /*#__PURE__*/jsx(TypographyVariantContext.Provider, {
496
537
  value: props.variant,
497
538
  children: content
498
539
  }) : content;
499
- content = props.weight ?
500
- /*#__PURE__*/
540
+
501
541
  // If a weight is provided, we set it in the context for children to be able to inherit weight value
502
- jsx(TypographyWeightContext.Provider, {
542
+ content = props.weight ? /*#__PURE__*/jsx(TypographyWeightContext.Provider, {
503
543
  value: props.weight,
504
544
  children: content
505
545
  }) : content;
506
- content = props.color ?
507
- /*#__PURE__*/
546
+
508
547
  // If a color is provided, we set it in the context for children to be able to inherit color value
509
- jsx(TypograhyColorContext.Provider, {
548
+ content = props.color ? /*#__PURE__*/jsx(TypograhyColorContext.Provider, {
510
549
  value: props.color,
511
550
  children: content
512
551
  }) : content;
513
552
  return content;
514
553
  });
554
+ const createHeading = level => {
555
+ return TypographyBase.styleable((props, ref) => {
556
+ return /*#__PURE__*/jsx(TypographyBase, {
557
+ ref: ref,
558
+ ...props,
559
+ role: "heading",
560
+ "aria-level": level
561
+ });
562
+ });
563
+ };
515
564
  const Typography = {
516
- Text: TypographyText
565
+ Text: TypographyBase,
566
+ Header1: createHeading(1),
567
+ Header2: createHeading(2),
568
+ Header3: createHeading(3),
569
+ Header4: createHeading(4),
570
+ Header5: createHeading(5),
571
+ Header6: createHeading(6)
517
572
  };
518
573
 
519
574
  function getValueForBreakpoint(breakpoint, {