@ornikar/bumper 2.8.1-canary.1768927687.5a0439490957cfbbe8b8c5136c5fc68b0828466d.0 → 2.8.1-canary.1769087114.a46790da1b5b6361954b6ad25766074d3ed69784.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 (79) hide show
  1. package/CHANGELOG.md +4 -1
  2. package/dist/definitions/index.d.ts +2 -1
  3. package/dist/definitions/index.d.ts.map +1 -1
  4. package/dist/definitions/shared/storybook/StoryTitle.d.ts +1 -1
  5. package/dist/definitions/shared/storybook/helpers/argsHelpers.d.ts +8 -0
  6. package/dist/definitions/shared/storybook/helpers/argsHelpers.d.ts.map +1 -0
  7. package/dist/definitions/system/content/typography/Typography.d.ts +5 -14
  8. package/dist/definitions/system/content/typography/Typography.d.ts.map +1 -1
  9. package/dist/definitions/system/content/typography/TypographyLink.d.ts +9 -0
  10. package/dist/definitions/system/content/typography/TypographyLink.d.ts.map +1 -0
  11. package/dist/definitions/system/content/typography/index.d.ts +21 -0
  12. package/dist/definitions/system/content/typography/index.d.ts.map +1 -0
  13. package/dist/definitions/system/core/themes/light/light.d.ts +3 -0
  14. package/dist/definitions/system/core/themes/light/light.d.ts.map +1 -0
  15. package/dist/definitions/system/core/themes/themes.d.ts +6 -0
  16. package/dist/definitions/system/core/themes/themes.d.ts.map +1 -0
  17. package/dist/definitions/tamagui.config.d.ts +1 -57
  18. package/dist/definitions/tamagui.config.d.ts.map +1 -1
  19. package/dist/index-metro.es.android.js +139 -105
  20. package/dist/index-metro.es.android.js.map +1 -1
  21. package/dist/index-metro.es.ios.js +139 -105
  22. package/dist/index-metro.es.ios.js.map +1 -1
  23. package/dist/index-node-22.22.cjs.js +143 -109
  24. package/dist/index-node-22.22.cjs.js.map +1 -1
  25. package/dist/index-node-22.22.cjs.web.js +143 -109
  26. package/dist/index-node-22.22.cjs.web.js.map +1 -1
  27. package/dist/index-node-22.22.es.mjs +145 -111
  28. package/dist/index-node-22.22.es.mjs.map +1 -1
  29. package/dist/index-node-22.22.es.web.mjs +145 -111
  30. package/dist/index-node-22.22.es.web.mjs.map +1 -1
  31. package/dist/index.es.js +137 -103
  32. package/dist/index.es.js.map +1 -1
  33. package/dist/index.es.web.js +137 -103
  34. package/dist/index.es.web.js.map +1 -1
  35. package/dist/tsbuildinfo +1 -1
  36. package/package.json +2 -2
  37. package/src/index.ts +2 -1
  38. package/src/shared/storybook/StoryTitle.tsx +1 -1
  39. package/src/shared/storybook/helpers/argsHelpers.ts +47 -0
  40. package/src/system/content/icon/Icon.features.stories.tsx +1 -1
  41. package/src/system/content/icon/Icon.stories.tsx +3 -22
  42. package/src/system/content/typography/Typography.features.stories.tsx +1 -1
  43. package/src/system/content/typography/Typography.stories.tsx +3 -23
  44. package/src/system/content/typography/Typography.tsx +2 -14
  45. package/src/system/content/typography/TypographyIcon.features.stories.tsx +1 -1
  46. package/src/system/content/typography/TypographyIcon.stories.tsx +2 -19
  47. package/src/system/content/typography/TypographyLink.features.stories.tsx +62 -0
  48. package/src/system/content/typography/TypographyLink.stories.tsx +72 -0
  49. package/src/system/content/typography/TypographyLink.tsx +38 -0
  50. package/src/system/content/typography/__snapshots__/TypographyLink.features.stories.tsx.snap +229 -0
  51. package/src/system/content/typography/__snapshots__/TypographyLink.stories.tsx.snap +41 -0
  52. package/src/system/content/typography/__snapshots_web__/TypographyLink.features.stories.tsx.snap +196 -0
  53. package/src/system/content/typography/__snapshots_web__/TypographyLink.stories.tsx.snap +33 -0
  54. package/src/system/content/typography/index.ts +15 -0
  55. package/src/system/core/primitives/Center.features.stories.tsx +1 -1
  56. package/src/system/core/primitives/Center.stories.tsx +6 -89
  57. package/src/system/core/primitives/Image/Image.stories.tsx +3 -8
  58. package/src/system/core/primitives/Pressable.features.stories.tsx +1 -1
  59. package/src/system/core/primitives/Pressable.stories.tsx +4 -53
  60. package/src/system/core/primitives/ScrollView/ScrollView.features.stories.tsx +1 -1
  61. package/src/system/core/primitives/ScrollView/ScrollView.stories.tsx +3 -6
  62. package/src/system/core/primitives/Stack.features.stories.tsx +1 -1
  63. package/src/system/core/primitives/Stack.stories.tsx +4 -39
  64. package/src/system/core/primitives/View.features.stories.tsx +1 -1
  65. package/src/system/core/primitives/View.stories.tsx +6 -107
  66. package/src/system/core/themes/{light.stories.tsx → light/light.stories.tsx} +5 -5
  67. package/src/system/core/themes/{light.ts → light/light.ts} +3 -2
  68. package/src/system/core/themes/themes.ts +69 -0
  69. package/src/system/core/tokens/breakpoints.stories.tsx +1 -1
  70. package/src/system/core/tokens/fonts.stories.tsx +1 -1
  71. package/src/system/core/tokens/palettes/deepPurpleColorPalette.stories.tsx +1 -1
  72. package/src/system/core/tokens/radius.stories.tsx +1 -1
  73. package/src/system/core/tokens/size.stories.tsx +1 -1
  74. package/src/system/core/tokens/space.stories.tsx +1 -1
  75. package/src/tamagui.config.ts +1 -1
  76. package/dist/definitions/system/core/themes/light.d.ts +0 -58
  77. package/dist/definitions/system/core/themes/light.d.ts.map +0 -1
  78. /package/src/system/core/themes/{__snapshots__ → light/__snapshots__}/light.stories.tsx.snap +0 -0
  79. /package/src/system/core/themes/{__snapshots_web__ → light/__snapshots_web__}/light.stories.tsx.snap +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":["../src/system/core/tokens/palettes/deepPurpleColorPalette.ts","../src/system/core/themes/light.ts","../src/system/core/tokens/breakpoints.ts","../src/system/core/tokens/fonts.ts","../src/system/core/tokens/radius.ts","../src/system/core/tokens/size.ts","../src/system/core/tokens/space.ts","../src/tamagui.config.ts","../src/system/core/provider/BumperProvider.tsx","../src/shared/storybook/BumperDecorator.tsx","../src/system/core/primitives/Center.ts","../src/system/core/primitives/Pressable.tsx","../src/system/core/primitives/Stack.tsx","../src/system/content/icon/Icon.tsx","../src/system/content/typography/utils/typographyContext.ts","../src/system/content/typography/TypographyView.tsx","../src/system/content/typography/TypographyIcon.tsx","../src/system/content/typography/utils/getVariantAndWeightValues.tsx","../src/system/content/typography/Typography.tsx","../src/system/core/breakpoints/utils/breakpointsUtils.ts","../src/system/core/breakpoints/hooks/useCurrentBreakpointName.ts","../src/system/core/breakpoints/hooks/useBreakpointValue.ts","../src/system/core/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","// WARNING\n// If you modify this theme, don't forget to update the theme in @ornikar/kitt-universal as well\n\nimport { deepPurpleColorPalette } from '../tokens/palettes/deepPurpleColorPalette';\n\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","export 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\nexport const GTStandardFaces: Record<GTStandardFontWeight, Record<string, string>> = {\n 500: { normal: 'GTStandardRegular' },\n 600: { normal: 'GTStandardSemibold' },\n 700: { normal: 'GTStandardBold' },\n};\n\nexport const 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\nexport const 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\nexport const 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\nexport const weight: Record<string, GTStandardFontWeight> = {\n bold: '700',\n semibold: '600',\n regular: '500',\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 { createFont, createTamagui, createTokens } from '@tamagui/core';\nimport { light } from './system/core/themes/light';\nimport { BreakpointNameEnum, breakpoints } from './system/core/tokens/breakpoints';\nimport { GTStandardFaces, letterSpacing, lineHeight, size, weight } from './system/core/tokens/fonts';\nimport { radiusTokens } from './system/core/tokens/radius';\nimport { sizeTokens } from './system/core/tokens/size';\nimport { spaceTokens } from './system/core/tokens/space';\n\nexport const fonts = createFont({\n family: 'GTStandard',\n size,\n lineHeight,\n letterSpacing,\n weight,\n face: GTStandardFaces,\n});\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 '../../system/core/provider/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 */\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 { ColorTokens, GetProps, WithMediaProps } from '@tamagui/core';\nimport { View, styled, useStyle } from '@tamagui/core';\nimport type { ReactElement, ReactNode } from 'react';\nimport { cloneElement } from 'react';\n\nconst IconContainer = styled(View, {\n name: 'Icon',\n variants: {\n size: {\n '...size': (size, { tokens }) => {\n return {\n width: tokens.size[size],\n height: tokens.size[size],\n };\n },\n },\n } as const,\n});\n\ntype IconContainerProps = GetProps<typeof IconContainer>;\n\ninterface InternalIconProps {\n icon: ReactElement;\n color?: ColorTokens;\n size?: IconContainerProps['size'];\n testID?: IconContainerProps['testID'];\n /** @ignore */\n alignSelf?: IconContainerProps['alignSelf'];\n}\n\nexport type IconProps = InternalIconProps & WithMediaProps<InternalIconProps>;\n\nexport function Icon({ icon, color = '$content.base.hi', size = '$size.20', testID, alignSelf }: IconProps): ReactNode {\n const style = useStyle({ color });\n\n const clonedIcon = cloneElement(icon, { color: style.color });\n\n return (\n <IconContainer size={size} testID={testID} alignSelf={alignSelf}>\n {clonedIcon}\n </IconContainer>\n );\n}\n","import { createContext, useContext } from 'react';\nimport type { FontVariants } from '../../../core/tokens/fonts';\nimport type { TypographyTextProps } from '../Typography';\n\nexport type TypographyVariantContextValue = FontVariants | null;\nexport type TypographyWeightContextValue = 'regular' | 'bold' | 'semibold' | null;\nexport type TypograhyColorContextValue = TypographyTextProps['color'] | null;\ntype TypographyContextValue = boolean;\n\nexport const TypographyVariantContext = createContext<TypographyVariantContextValue>(null);\nexport const TypographyWeightContext = createContext<TypographyWeightContextValue>(null);\nexport const TypograhyColorContext = createContext<TypograhyColorContextValue>(null);\nexport const TypographyContext = createContext<boolean>(false);\n\nexport const useTypographyColor = (): TypograhyColorContextValue => {\n return useContext(TypograhyColorContext);\n};\n\nexport const useTypographyVariant = (): TypographyVariantContextValue => {\n return useContext(TypographyVariantContext);\n};\n\nexport const useTypographyWeight = (): TypographyWeightContextValue => {\n return useContext(TypographyWeightContext);\n};\n\nexport const useTypographyContext = (): TypographyContextValue => {\n return useContext(TypographyContext);\n};\n","import type { GetProps } from '@tamagui/core';\nimport { View, styled } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport { useTypographyContext } from './utils/typographyContext';\n\nconst InternalTypographyView = styled(View, {\n name: 'TypographyView',\n});\n\ntype TypographyViewProps = GetProps<typeof InternalTypographyView>;\n\n/**\n *\n * A wrapper component that applies typography styles to its children in order to maintain consistent style between web and native\n * In native, it simply renders a View as it renders correctly by default\n * In web, it ensures that the display is set to inline-flex when inside a Typography context\n *\n * React Native Web includes this implementation in its codebase\n * but Tamagui does not use React Native Webview, we need to implement it ourselves\n *\n * Inside a Typography component, always use TypographyView to wrap external components like Icon or Svg\n */\nexport function TypographyView(props: TypographyViewProps): ReactNode {\n const isInTypographyContext = useTypographyContext();\n\n return (\n <InternalTypographyView\n {...props}\n $platform-web={\n isInTypographyContext ? { ...props['$platform-web'], display: 'inline-flex' } : props['$platform-web']\n }\n />\n );\n}\n","import { type ReactNode } from 'react';\nimport type { Except } from 'type-fest';\nimport type { IconProps } from '../icon/Icon';\nimport { Icon } from '../icon/Icon';\nimport type { TypographyTextProps } from './Typography';\nimport { TypographyView } from './TypographyView';\nimport { useTypographyColor } from './utils/typographyContext';\n\nexport interface TypographyIconProps extends Except<IconProps, 'color'> {\n color?: TypographyTextProps['color'];\n}\n\nfunction TypographyIconInternal(props: TypographyIconProps): ReactNode {\n return (\n <TypographyView>\n <Icon {...props} />\n </TypographyView>\n );\n}\n\nfunction TypographyIconInheritColor(props: TypographyIconProps): ReactNode {\n const typographyColorAncestorValue = useTypographyColor();\n\n return <TypographyIconInternal color={typographyColorAncestorValue || undefined} {...props} />;\n}\n\nexport function TypographyIcon({ color, ...props }: TypographyIconProps): ReactNode {\n if (color) {\n return <TypographyIconInternal color={color} {...props} />;\n }\n\n return <TypographyIconInheritColor {...props} />;\n}\n","import type { FontVariants } from '../../../core/tokens/fonts';\nimport { BODY_VARIANTS, CONTENT_CAPS_VARIANTS, HEADING_VARIANTS, LABEL_VARIANTS } from '../../../core/tokens/fonts';\nimport type { InternalTypographyProps, TypographyTextProps } from '../Typography';\nimport type { TypographyVariantContextValue, TypographyWeightContextValue } from './typographyContext';\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 { ColorTokens, GetProps, GetThemeValueForKey, TamaguiComponent, WithMediaProps } from '@tamagui/core';\nimport { Text, styled } from '@tamagui/core';\nimport { type Except } from 'type-fest';\nimport type {\n BodyFontVariants,\n ContentCapsVariants,\n FontVariants,\n HeadingFontVariants,\n LabelFontVariants,\n} from '../../core/tokens/fonts';\nimport { TypographyIcon } from './TypographyIcon';\nimport { getVariantAndWeightValues } from './utils/getVariantAndWeightValues';\nimport {\n TypograhyColorContext,\n TypographyContext,\n TypographyVariantContext,\n TypographyWeightContext,\n useTypographyColor,\n useTypographyContext,\n useTypographyVariant,\n useTypographyWeight,\n} from './utils/typographyContext';\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\n// Remove font-related style props from InternalTypography Props\ntype TypographyExcludedFontStyleProps =\n | 'fontFamily'\n | 'fontSize'\n | 'lineHeight'\n | 'fontStyle'\n | 'fontVariant'\n | 'fontWeight'\n | 'color';\n\ntype TypographyPropsWithoutFontStyleProps = Except<InternalTypographyProps, TypographyExcludedFontStyleProps> & {\n color: ColorTokens;\n};\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 = useTypographyVariant();\n const typographyWeightAncestorValue = useTypographyWeight();\n const typographyColorAncestorValue = useTypographyColor();\n const typographyContext = useTypographyContext();\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 = typographyContext ? content : <TypographyContext.Provider value>{content}</TypographyContext.Provider>;\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 Icon: TypographyIcon,\n};\n","import { BreakpointNameEnum } from '../../tokens/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 '../../tokens/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","_ref","_ref2","_slicedToArray","colorName","map","_ref3","_ref4","scaleNumber","colorValue","concat","deepPurpleColorPalette","_objectSpread","white","black","transparent","light","BreakpointNameEnum","breakpoints","_defineProperty","BASE","SMALL","MEDIUM","LARGE","WIDE","HEADING_VARIANTS","BODY_VARIANTS","LABEL_VARIANTS","CONTENT_CAPS_VARIANTS","GTStandardFaces","normal","size","lineHeight","letterSpacing","weight","bold","semibold","regular","radiusTokens","sizeTokens","spaceTokens","fonts","createFont","family","face","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","_objectWithoutProperties","_excluded","Component","role","cursor","HStack","Stack","flexDirection","VStack","IconContainer","variants","width","height","Icon","icon","_ref2$color","_ref2$size","testID","alignSelf","style","useStyle","clonedIcon","cloneElement","TypographyVariantContext","createContext","TypographyWeightContext","TypograhyColorContext","TypographyContext","useTypographyColor","useContext","useTypographyVariant","useTypographyWeight","useTypographyContext","InternalTypographyView","TypographyView","props","isInTypographyContext","display","TypographyIconInternal","TypographyIconInheritColor","typographyColorAncestorValue","undefined","TypographyIcon","getVariantAndWeightValues","weightProp","variantProp","typographyWeightAncestorValue","typographyVariantAncestorValue","computedVariant","includes","computedWeight","variant","InternalTypography","Text","fontFamily","WebkitFontSmoothing","fontSize","fontWeight","defaultVariants","TypographyBase","styleable","ref","typographyContext","_getVariantAndWeightV","content","Provider","value","createHeading","level","Typography","Header1","Header2","Header3","Header4","Header5","Header6","getValueForBreakpoint","breakpoint","_ref5","_ref6","_ref7","base","small","medium","large","wide","useCurrentBreakpointName","useMedia","useBreakpointValue","values","useMemo","SwitchBreakpoints"],"mappings":";;;;;;;;;;;;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AK8B,KAAK,CAACgH,KAAK;MACd,OAAOrJ,kBAAkB,CAACM,KAAK,CAAA;IACjC,KAAK+B,KAAK,CAAC+G,MAAM;MACf,OAAOpJ,kBAAkB,CAACK,MAAM,CAAA;IAClC,KAAKgC,KAAK,CAAC8G,KAAK;MACd,OAAOnJ,kBAAkB,CAACI,KAAK,CAAA;IACjC,KAAKiC,KAAK,CAAC6G,IAAI,CAAA;AACf,IAAA;MACE,OAAOlJ,kBAAkB,CAACG,IAAI,CAAA;AAClC,GAAA;AACF;;ACdO,SAASsJ,kBAAkBA,CAAIC,MAA6B,EAAK;AACtE,EAAA,IAAMZ,UAAU,GAAGS,wBAAwB,EAAE,CAAA;EAE7C,OAAOI,OAAO,CAAC,YAAM;AACnB,IAAA,OAAOd,qBAAqB,CAACC,UAAU,EAAEY,MAAM,CAAC,CAAA;AAClD,GAAC,EAAE,CAACZ,UAAU,EAAEY,MAAM,CAAC,CAAC,CAAA;AAC1B;;ACJO,SAASE,iBAAiBA,CAACF,MAA8B,EAAa;AAC3E,EAAA,IAAMZ,UAAU,GAAGS,wBAAwB,EAAE,CAAA;AAE7C,EAAA,OAAOV,qBAAqB,CAACC,UAAU,EAAEY,MAAM,CAAC,CAAA;AAClD;;;;"}
1
+ {"version":3,"file":"index.es.js","sources":["../src/system/core/tokens/palettes/deepPurpleColorPalette.ts","../src/system/core/themes/light/light.ts","../src/system/core/tokens/breakpoints.ts","../src/system/core/tokens/fonts.ts","../src/system/core/tokens/radius.ts","../src/system/core/tokens/size.ts","../src/system/core/tokens/space.ts","../src/tamagui.config.ts","../src/system/core/provider/BumperProvider.tsx","../src/shared/storybook/BumperDecorator.tsx","../src/system/core/primitives/Center.ts","../src/system/core/primitives/Pressable.tsx","../src/system/core/primitives/Stack.tsx","../src/system/content/typography/utils/getVariantAndWeightValues.tsx","../src/system/content/typography/utils/typographyContext.ts","../src/system/content/typography/Typography.tsx","../src/system/content/icon/Icon.tsx","../src/system/content/typography/TypographyView.tsx","../src/system/content/typography/TypographyIcon.tsx","../src/system/content/typography/TypographyLink.tsx","../src/system/content/typography/index.ts","../src/system/core/breakpoints/utils/breakpointsUtils.ts","../src/system/core/breakpoints/hooks/useCurrentBreakpointName.ts","../src/system/core/breakpoints/hooks/useBreakpointValue.ts","../src/system/core/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","// WARNING\n// If you modify this theme, don't forget to update the theme in @ornikar/kitt-universal as well\n\nimport { deepPurpleColorPalette } from '../../tokens/palettes/deepPurpleColorPalette';\nimport type { Theme } from '../themes';\n\n// https://github.com/ornikar/kitt/blob/79e367e962c957c016c4df67dbcf515c8f45ff0e/@ornikar/kitt-universal/src/themes/late-ocean/colors.ts#L28\nexport const light: Theme = {\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","export 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\nexport const GTStandardFaces: Record<GTStandardFontWeight, Record<string, string>> = {\n 500: { normal: 'GTStandardRegular' },\n 600: { normal: 'GTStandardSemibold' },\n 700: { normal: 'GTStandardBold' },\n};\n\nexport const 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\nexport const 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\nexport const 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\nexport const weight: Record<string, GTStandardFontWeight> = {\n bold: '700',\n semibold: '600',\n regular: '500',\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 { createFont, createTamagui, createTokens } from '@tamagui/core';\nimport { light } from './system/core/themes/light/light';\nimport { BreakpointNameEnum, breakpoints } from './system/core/tokens/breakpoints';\nimport { GTStandardFaces, letterSpacing, lineHeight, size, weight } from './system/core/tokens/fonts';\nimport { radiusTokens } from './system/core/tokens/radius';\nimport { sizeTokens } from './system/core/tokens/size';\nimport { spaceTokens } from './system/core/tokens/space';\n\nexport const fonts = createFont({\n family: 'GTStandard',\n size,\n lineHeight,\n letterSpacing,\n weight,\n face: GTStandardFaces,\n});\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 '../../system/core/provider/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 */\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 '../../../core/tokens/fonts';\nimport { BODY_VARIANTS, CONTENT_CAPS_VARIANTS, HEADING_VARIANTS, LABEL_VARIANTS } from '../../../core/tokens/fonts';\nimport type { InternalTypographyProps, TypographyTextProps } from '../Typography';\nimport type { TypographyVariantContextValue, TypographyWeightContextValue } from './typographyContext';\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 { createContext, useContext } from 'react';\nimport type { FontVariants } from '../../../core/tokens/fonts';\nimport type { TypographyTextProps } from '../Typography';\n\nexport type TypographyVariantContextValue = FontVariants | null;\nexport type TypographyWeightContextValue = 'regular' | 'bold' | 'semibold' | null;\nexport type TypograhyColorContextValue = TypographyTextProps['color'] | null;\ntype TypographyContextValue = boolean;\n\nexport const TypographyVariantContext = createContext<TypographyVariantContextValue>(null);\nexport const TypographyWeightContext = createContext<TypographyWeightContextValue>(null);\nexport const TypograhyColorContext = createContext<TypograhyColorContextValue>(null);\nexport const TypographyContext = createContext<boolean>(false);\n\nexport const useTypographyColor = (): TypograhyColorContextValue => {\n return useContext(TypograhyColorContext);\n};\n\nexport const useTypographyVariant = (): TypographyVariantContextValue => {\n return useContext(TypographyVariantContext);\n};\n\nexport const useTypographyWeight = (): TypographyWeightContextValue => {\n return useContext(TypographyWeightContext);\n};\n\nexport const useTypographyContext = (): TypographyContextValue => {\n return useContext(TypographyContext);\n};\n","import type { ColorTokens, GetProps, GetThemeValueForKey, TamaguiComponent, WithMediaProps } from '@tamagui/core';\nimport { Text, styled } from '@tamagui/core';\nimport { type Except } from 'type-fest';\nimport type {\n BodyFontVariants,\n ContentCapsVariants,\n FontVariants,\n HeadingFontVariants,\n LabelFontVariants,\n} from '../../core/tokens/fonts';\nimport { getVariantAndWeightValues } from './utils/getVariantAndWeightValues';\nimport {\n TypograhyColorContext,\n TypographyContext,\n TypographyVariantContext,\n TypographyWeightContext,\n useTypographyColor,\n useTypographyContext,\n useTypographyVariant,\n useTypographyWeight,\n} from './utils/typographyContext';\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\n// Remove font-related style props from InternalTypography Props\ntype TypographyExcludedFontStyleProps =\n | 'fontFamily'\n | 'fontSize'\n | 'lineHeight'\n | 'fontStyle'\n | 'fontVariant'\n | 'fontWeight'\n | 'color';\n\ntype TypographyPropsWithoutFontStyleProps = Except<InternalTypographyProps, TypographyExcludedFontStyleProps> & {\n color: ColorTokens;\n};\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\nexport const TypographyBase = InternalTypography.styleable<TypographyTextProps, TypographyTextProps>((props, ref) => {\n const typographyVariantAncestorValue = useTypographyVariant();\n const typographyWeightAncestorValue = useTypographyWeight();\n const typographyColorAncestorValue = useTypographyColor();\n const typographyContext = useTypographyContext();\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 = typographyContext ? content : <TypographyContext.Provider value>{content}</TypographyContext.Provider>;\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\nexport const 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","import type { ColorTokens, GetProps, WithMediaProps } from '@tamagui/core';\nimport { View, styled, useStyle } from '@tamagui/core';\nimport type { ReactElement, ReactNode } from 'react';\nimport { cloneElement } from 'react';\n\nconst IconContainer = styled(View, {\n name: 'Icon',\n variants: {\n size: {\n '...size': (size, { tokens }) => {\n return {\n width: tokens.size[size],\n height: tokens.size[size],\n };\n },\n },\n } as const,\n});\n\ntype IconContainerProps = GetProps<typeof IconContainer>;\n\ninterface InternalIconProps {\n icon: ReactElement;\n color?: ColorTokens;\n size?: IconContainerProps['size'];\n testID?: IconContainerProps['testID'];\n /** @ignore */\n alignSelf?: IconContainerProps['alignSelf'];\n}\n\nexport type IconProps = InternalIconProps & WithMediaProps<InternalIconProps>;\n\nexport function Icon({ icon, color = '$content.base.hi', size = '$size.20', testID, alignSelf }: IconProps): ReactNode {\n const style = useStyle({ color });\n\n const clonedIcon = cloneElement(icon, { color: style.color });\n\n return (\n <IconContainer size={size} testID={testID} alignSelf={alignSelf}>\n {clonedIcon}\n </IconContainer>\n );\n}\n","import type { GetProps } from '@tamagui/core';\nimport { View, styled } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport { useTypographyContext } from './utils/typographyContext';\n\nconst InternalTypographyView = styled(View, {\n name: 'TypographyView',\n});\n\ntype TypographyViewProps = GetProps<typeof InternalTypographyView>;\n\n/**\n *\n * A wrapper component that applies typography styles to its children in order to maintain consistent style between web and native\n * In native, it simply renders a View as it renders correctly by default\n * In web, it ensures that the display is set to inline-flex when inside a Typography context\n *\n * React Native Web includes this implementation in its codebase\n * but Tamagui does not use React Native Webview, we need to implement it ourselves\n *\n * Inside a Typography component, always use TypographyView to wrap external components like Icon or Svg\n */\nexport function TypographyView(props: TypographyViewProps): ReactNode {\n const isInTypographyContext = useTypographyContext();\n\n return (\n <InternalTypographyView\n {...props}\n $platform-web={\n isInTypographyContext ? { ...props['$platform-web'], display: 'inline-flex' } : props['$platform-web']\n }\n />\n );\n}\n","import { type ReactNode } from 'react';\nimport type { Except } from 'type-fest';\nimport type { IconProps } from '../icon/Icon';\nimport { Icon } from '../icon/Icon';\nimport type { TypographyTextProps } from './Typography';\nimport { TypographyView } from './TypographyView';\nimport { useTypographyColor } from './utils/typographyContext';\n\nexport interface TypographyIconProps extends Except<IconProps, 'color'> {\n color?: TypographyTextProps['color'];\n}\n\nfunction TypographyIconInternal(props: TypographyIconProps): ReactNode {\n return (\n <TypographyView>\n <Icon {...props} />\n </TypographyView>\n );\n}\n\nfunction TypographyIconInheritColor(props: TypographyIconProps): ReactNode {\n const typographyColorAncestorValue = useTypographyColor();\n\n return <TypographyIconInternal color={typographyColorAncestorValue || undefined} {...props} />;\n}\n\nexport function TypographyIcon({ color, ...props }: TypographyIconProps): ReactNode {\n if (color) {\n return <TypographyIconInternal color={color} {...props} />;\n }\n\n return <TypographyIconInheritColor {...props} />;\n}\n","import type { GetProps } from '@tamagui/core';\nimport { styled } from '@tamagui/core';\nimport { TypographyBase } from './Typography';\n\nexport const TypographyLink = styled(TypographyBase, {\n name: 'TypographyLink',\n role: 'link',\n variants: {\n disabled: {\n true: {\n cursor: 'not-allowed',\n onPress: undefined,\n color: '$content.disabled',\n hoverStyle: undefined,\n },\n false: {\n cursor: 'pointer',\n hoverStyle: {\n textDecorationLine: 'none',\n },\n },\n },\n noUnderline: {\n true: {\n textDecorationLine: 'none',\n },\n false: {\n textDecorationLine: 'underline',\n },\n },\n } as const,\n defaultVariants: {\n disabled: false,\n noUnderline: false,\n },\n});\n\nexport type TypographyLinkProps = GetProps<typeof TypographyLink>;\n","import { TypographyBase, createHeading } from './Typography';\nimport { TypographyIcon } from './TypographyIcon';\nimport { TypographyLink } from './TypographyLink';\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 Icon: TypographyIcon,\n Link: TypographyLink,\n};\n","import { BreakpointNameEnum } from '../../tokens/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 '../../tokens/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","_ref","_ref2","_slicedToArray","colorName","map","_ref3","_ref4","scaleNumber","colorValue","concat","deepPurpleColorPalette","_objectSpread","white","black","transparent","light","BreakpointNameEnum","breakpoints","_defineProperty","BASE","SMALL","MEDIUM","LARGE","WIDE","HEADING_VARIANTS","BODY_VARIANTS","LABEL_VARIANTS","CONTENT_CAPS_VARIANTS","GTStandardFaces","normal","size","lineHeight","letterSpacing","weight","bold","semibold","regular","radiusTokens","sizeTokens","spaceTokens","fonts","createFont","family","face","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","_objectWithoutProperties","_excluded","Component","role","cursor","HStack","Stack","flexDirection","VStack","getVariantAndWeightValues","weightProp","variantProp","typographyWeightAncestorValue","typographyVariantAncestorValue","computedVariant","undefined","includes","computedWeight","variant","TypographyVariantContext","createContext","TypographyWeightContext","TypograhyColorContext","TypographyContext","useTypographyColor","useContext","useTypographyVariant","useTypographyWeight","useTypographyContext","InternalTypography","Text","fontFamily","WebkitFontSmoothing","variants","fontSize","fontWeight","defaultVariants","TypographyBase","styleable","props","ref","typographyColorAncestorValue","typographyContext","_getVariantAndWeightV","content","Provider","value","createHeading","level","IconContainer","width","height","Icon","icon","_ref2$color","_ref2$size","testID","alignSelf","style","useStyle","clonedIcon","cloneElement","InternalTypographyView","TypographyView","isInTypographyContext","display","TypographyIconInternal","TypographyIconInheritColor","TypographyIcon","TypographyLink","disabled","onPress","hoverStyle","textDecorationLine","noUnderline","Typography","Header1","Header2","Header3","Header4","Header5","Header6","Link","getValueForBreakpoint","breakpoint","_ref5","_ref6","_ref7","base","small","medium","large","wide","useCurrentBreakpointName","useMedia","useBreakpointValue","values","useMemo","SwitchBreakpoints"],"mappings":";;;;;;;;;;;;;AA4CA,IAAMA,gBAAgB,GAAG,UAAkDC,UAAa,EAAA;AAAA,EAAA,OAAQA,UAAU,CAAA;AAAA,CAAA,CAAA;;AAE1G;AACA;AACO,IAAMC,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;AAC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GAAA;AACF;;ACxBO,SAASK,wBAAwBA,GAAuB;AAC7D,EAAA,IAAMzH,KAAK,GAAG0H,QAAQ,EAAE,CAAA;AAExB,EAAA,QAAQ,IAAI;IACV,KAAK1H,KAAK,CAACwH,IAAI;MACb,OAAO7J,kBAAkB,CAACO,IAAI,CAAA;IAChC,KAAK8B,KAAK,CAACuH,KAAK;MACd,OAAO5J,kBAAkB,CAACM,KAAK,CAAA;IACjC,KAAK+B,KAAK,CAACsH,MAAM;MACf,OAAO3J,kBAAkB,CAACK,MAAM,CAAA;IAClC,KAAKgC,KAAK,CAACqH,KAAK;MACd,OAAO1J,kBAAkB,CAACI,KAAK,CAAA;IACjC,KAAKiC,KAAK,CAACoH,IAAI,CAAA;AACf,IAAA;MACE,OAAOzJ,kBAAkB,CAACG,IAAI,CAAA;AAClC,GAAA;AACF;;ACdO,SAAS6J,kBAAkBA,CAAIC,MAA6B,EAAK;AACtE,EAAA,IAAMZ,UAAU,GAAGS,wBAAwB,EAAE,CAAA;EAE7C,OAAOI,OAAO,CAAC,YAAM;AACnB,IAAA,OAAOd,qBAAqB,CAACC,UAAU,EAAEY,MAAM,CAAC,CAAA;AAClD,GAAC,EAAE,CAACZ,UAAU,EAAEY,MAAM,CAAC,CAAC,CAAA;AAC1B;;ACJO,SAASE,iBAAiBA,CAACF,MAA8B,EAAa;AAC3E,EAAA,IAAMZ,UAAU,GAAGS,wBAAwB,EAAE,CAAA;AAE7C,EAAA,OAAOV,qBAAqB,CAACC,UAAU,EAAEY,MAAM,CAAC,CAAA;AAClD;;;;"}
@@ -1,12 +1,12 @@
1
1
  import { makeDecorator } from '@storybook/preview-api';
2
- import { createFont, createTokens, createTamagui, TamaguiProvider, styled, View, Stack, useStyle, Text, useMedia } from '@tamagui/core';
2
+ import { createFont, createTokens, createTamagui, TamaguiProvider, styled, View, Stack, Text, useStyle, useMedia } from '@tamagui/core';
3
3
  export { Stack, View } from '@tamagui/core';
4
4
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
5
5
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
6
6
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
7
7
  import { jsx } from 'react/jsx-runtime';
8
8
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
9
- import { cloneElement, createContext, useContext, useMemo } from 'react';
9
+ import { createContext, useContext, cloneElement, useMemo } from 'react';
10
10
  export { Image } from '@tamagui/image';
11
11
  export { ScrollView } from '@tamagui/scroll-view';
12
12
  export { useWindowDimensions as useWindowSize } from 'react-native';
@@ -128,7 +128,6 @@ var deepPurpleColorPalette = _objectSpread(_objectSpread({}, transformColorScale
128
128
  });
129
129
 
130
130
  // WARNING
131
-
132
131
  // https://github.com/ornikar/kitt/blob/79e367e962c957c016c4df67dbcf515c8f45ff0e/@ornikar/kitt-universal/src/themes/late-ocean/colors.ts#L28
133
132
  var light = {
134
133
  // content
@@ -428,105 +427,6 @@ var VStack = styled(Stack, {
428
427
  flexDirection: 'column'
429
428
  });
430
429
 
431
- var IconContainer = styled(View, {
432
- name: 'Icon',
433
- variants: {
434
- size: {
435
- '...size': function (_size, _ref) {
436
- var tokens = _ref.tokens;
437
- return {
438
- width: tokens.size[_size],
439
- height: tokens.size[_size]
440
- };
441
- }
442
- }
443
- }
444
- });
445
- function Icon(_ref2) {
446
- var icon = _ref2.icon,
447
- _ref2$color = _ref2.color,
448
- color = _ref2$color === void 0 ? '$content.base.hi' : _ref2$color,
449
- _ref2$size = _ref2.size,
450
- size = _ref2$size === void 0 ? '$size.20' : _ref2$size,
451
- testID = _ref2.testID,
452
- alignSelf = _ref2.alignSelf;
453
- var style = useStyle({
454
- color: color
455
- });
456
- var clonedIcon = /*#__PURE__*/cloneElement(icon, {
457
- color: style.color
458
- });
459
- return /*#__PURE__*/jsx(IconContainer, {
460
- size: size,
461
- testID: testID,
462
- alignSelf: alignSelf,
463
- children: clonedIcon
464
- });
465
- }
466
-
467
- var TypographyVariantContext = /*#__PURE__*/createContext(null);
468
- var TypographyWeightContext = /*#__PURE__*/createContext(null);
469
- var TypograhyColorContext = /*#__PURE__*/createContext(null);
470
- var TypographyContext = /*#__PURE__*/createContext(false);
471
- var useTypographyColor = function () {
472
- return useContext(TypograhyColorContext);
473
- };
474
- var useTypographyVariant = function () {
475
- return useContext(TypographyVariantContext);
476
- };
477
- var useTypographyWeight = function () {
478
- return useContext(TypographyWeightContext);
479
- };
480
- var useTypographyContext = function () {
481
- return useContext(TypographyContext);
482
- };
483
-
484
- var InternalTypographyView = styled(View, {
485
- name: 'TypographyView'
486
- });
487
- /**
488
- *
489
- * A wrapper component that applies typography styles to its children in order to maintain consistent style between web and native
490
- * In native, it simply renders a View as it renders correctly by default
491
- * In web, it ensures that the display is set to inline-flex when inside a Typography context
492
- *
493
- * React Native Web includes this implementation in its codebase
494
- * but Tamagui does not use React Native Webview, we need to implement it ourselves
495
- *
496
- * Inside a Typography component, always use TypographyView to wrap external components like Icon or Svg
497
- */
498
- function TypographyView(props) {
499
- var isInTypographyContext = useTypographyContext();
500
- return /*#__PURE__*/jsx(InternalTypographyView, _objectSpread(_objectSpread({}, props), {}, {
501
- "$platform-web": isInTypographyContext ? _objectSpread(_objectSpread({}, props['$platform-web']), {}, {
502
- display: 'inline-flex'
503
- }) : props['$platform-web']
504
- }));
505
- }
506
-
507
- var _excluded = ["color"];
508
- function TypographyIconInternal(props) {
509
- return /*#__PURE__*/jsx(TypographyView, {
510
- children: /*#__PURE__*/jsx(Icon, _objectSpread({}, props))
511
- });
512
- }
513
- function TypographyIconInheritColor(props) {
514
- var typographyColorAncestorValue = useTypographyColor();
515
- return /*#__PURE__*/jsx(TypographyIconInternal, _objectSpread({
516
- color: typographyColorAncestorValue || undefined
517
- }, props));
518
- }
519
- function TypographyIcon(_ref) {
520
- var color = _ref.color,
521
- props = _objectWithoutProperties(_ref, _excluded);
522
- if (color) {
523
- return /*#__PURE__*/jsx(TypographyIconInternal, _objectSpread({
524
- color: color
525
- }, props));
526
- }
527
- return /*#__PURE__*/jsx(TypographyIconInheritColor, _objectSpread({}, props));
528
- }
529
-
530
430
  function getVariantAndWeightValues(weightProp, variantProp, typographyWeightAncestorValue, typographyVariantAncestorValue) {
531
431
  var computedVariant = variantProp || typographyVariantAncestorValue || undefined;
532
432
  if (computedVariant) {
@@ -565,6 +465,23 @@ function getVariantAndWeightValues(weightProp, variantProp, typographyWeightAnce
565
465
  };
566
466
  }
567
467
 
468
+ var TypographyVariantContext = /*#__PURE__*/createContext(null);
469
+ var TypographyWeightContext = /*#__PURE__*/createContext(null);
470
+ var TypograhyColorContext = /*#__PURE__*/createContext(null);
471
+ var TypographyContext = /*#__PURE__*/createContext(false);
472
+ var useTypographyColor = function () {
473
+ return useContext(TypograhyColorContext);
474
+ };
475
+ var useTypographyVariant = function () {
476
+ return useContext(TypographyVariantContext);
477
+ };
478
+ var useTypographyWeight = function () {
479
+ return useContext(TypographyWeightContext);
480
+ };
481
+ var useTypographyContext = function () {
482
+ return useContext(TypographyContext);
483
+ };
484
+
568
485
  var InternalTypography = styled(Text, {
569
486
  fontFamily: '$GTStandard',
570
487
  color: '$content.base.hi',
@@ -650,6 +567,122 @@ var createHeading = function (level) {
650
567
  }));
651
568
  });
652
569
  };
570
+
571
+ var IconContainer = styled(View, {
572
+ name: 'Icon',
573
+ variants: {
574
+ size: {
575
+ '...size': function (_size, _ref) {
576
+ var tokens = _ref.tokens;
577
+ return {
578
+ width: tokens.size[_size],
579
+ height: tokens.size[_size]
580
+ };
581
+ }
582
+ }
583
+ }
584
+ });
585
+ function Icon(_ref2) {
586
+ var icon = _ref2.icon,
587
+ _ref2$color = _ref2.color,
588
+ color = _ref2$color === void 0 ? '$content.base.hi' : _ref2$color,
589
+ _ref2$size = _ref2.size,
590
+ size = _ref2$size === void 0 ? '$size.20' : _ref2$size,
591
+ testID = _ref2.testID,
592
+ alignSelf = _ref2.alignSelf;
593
+ var style = useStyle({
594
+ color: color
595
+ });
596
+ var clonedIcon = /*#__PURE__*/cloneElement(icon, {
597
+ color: style.color
598
+ });
599
+ return /*#__PURE__*/jsx(IconContainer, {
600
+ size: size,
601
+ testID: testID,
602
+ alignSelf: alignSelf,
603
+ children: clonedIcon
604
+ });
605
+ }
606
+
607
+ var InternalTypographyView = styled(View, {
608
+ name: 'TypographyView'
609
+ });
610
+ /**
611
+ *
612
+ * A wrapper component that applies typography styles to its children in order to maintain consistent style between web and native
613
+ * In native, it simply renders a View as it renders correctly by default
614
+ * In web, it ensures that the display is set to inline-flex when inside a Typography context
615
+ *
616
+ * React Native Web includes this implementation in its codebase
617
+ * but Tamagui does not use React Native Webview, we need to implement it ourselves
618
+ *
619
+ * Inside a Typography component, always use TypographyView to wrap external components like Icon or Svg
620
+ */
621
+ function TypographyView(props) {
622
+ var isInTypographyContext = useTypographyContext();
623
+ return /*#__PURE__*/jsx(InternalTypographyView, _objectSpread(_objectSpread({}, props), {}, {
624
+ "$platform-web": isInTypographyContext ? _objectSpread(_objectSpread({}, props['$platform-web']), {}, {
625
+ display: 'inline-flex'
626
+ }) : props['$platform-web']
627
+ }));
628
+ }
629
+
630
+ var _excluded = ["color"];
631
+ function TypographyIconInternal(props) {
632
+ return /*#__PURE__*/jsx(TypographyView, {
633
+ children: /*#__PURE__*/jsx(Icon, _objectSpread({}, props))
634
+ });
635
+ }
636
+ function TypographyIconInheritColor(props) {
637
+ var typographyColorAncestorValue = useTypographyColor();
638
+ return /*#__PURE__*/jsx(TypographyIconInternal, _objectSpread({
639
+ color: typographyColorAncestorValue || undefined
640
+ }, props));
641
+ }
642
+ function TypographyIcon(_ref) {
643
+ var color = _ref.color,
644
+ props = _objectWithoutProperties(_ref, _excluded);
645
+ if (color) {
646
+ return /*#__PURE__*/jsx(TypographyIconInternal, _objectSpread({
647
+ color: color
648
+ }, props));
649
+ }
650
+ return /*#__PURE__*/jsx(TypographyIconInheritColor, _objectSpread({}, props));
651
+ }
652
+
653
+ var TypographyLink = styled(TypographyBase, {
654
+ name: 'TypographyLink',
655
+ role: 'link',
656
+ variants: {
657
+ disabled: {
658
+ "true": {
659
+ cursor: 'not-allowed',
660
+ onPress: undefined,
661
+ color: '$content.disabled',
662
+ hoverStyle: undefined
663
+ },
664
+ "false": {
665
+ cursor: 'pointer',
666
+ hoverStyle: {
667
+ textDecorationLine: 'none'
668
+ }
669
+ }
670
+ },
671
+ noUnderline: {
672
+ "true": {
673
+ textDecorationLine: 'none'
674
+ },
675
+ "false": {
676
+ textDecorationLine: 'underline'
677
+ }
678
+ }
679
+ },
680
+ defaultVariants: {
681
+ disabled: false,
682
+ noUnderline: false
683
+ }
684
+ });
685
+
653
686
  var Typography = {
654
687
  Text: TypographyBase,
655
688
  Header1: createHeading(1),
@@ -658,7 +691,8 @@ var Typography = {
658
691
  Header4: createHeading(4),
659
692
  Header5: createHeading(5),
660
693
  Header6: createHeading(6),
661
- Icon: TypographyIcon
694
+ Icon: TypographyIcon,
695
+ Link: TypographyLink
662
696
  };
663
697
 
664
698
  function getValueForBreakpoint(breakpoint, _ref) {