@ornikar/bumper 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/definitions/system/content/typography/Typography.d.ts +2 -1
  3. package/dist/definitions/system/content/typography/Typography.d.ts.map +1 -1
  4. package/dist/definitions/system/content/typography/utils/getVariantAndWeightValues.d.ts.map +1 -1
  5. package/dist/definitions/system/core/tokens/GTStandardFont.d.ts +14 -0
  6. package/dist/definitions/system/core/tokens/GTStandardFont.d.ts.map +1 -0
  7. package/dist/definitions/system/core/tokens/GTStandardNarrowFont.d.ts +9 -0
  8. package/dist/definitions/system/core/tokens/GTStandardNarrowFont.d.ts.map +1 -0
  9. package/dist/definitions/system/core/tokens/fonts.d.ts +0 -14
  10. package/dist/definitions/system/core/tokens/fonts.d.ts.map +1 -1
  11. package/dist/definitions/tamagui.config.d.ts +27 -11
  12. package/dist/definitions/tamagui.config.d.ts.map +1 -1
  13. package/dist/index-metro.es.android.js +80 -53
  14. package/dist/index-metro.es.android.js.map +1 -1
  15. package/dist/index-metro.es.ios.js +80 -53
  16. package/dist/index-metro.es.ios.js.map +1 -1
  17. package/dist/index-node-22.22.cjs.js +80 -53
  18. package/dist/index-node-22.22.cjs.js.map +1 -1
  19. package/dist/index-node-22.22.cjs.web.js +80 -53
  20. package/dist/index-node-22.22.cjs.web.js.map +1 -1
  21. package/dist/index-node-22.22.es.mjs +80 -53
  22. package/dist/index-node-22.22.es.mjs.map +1 -1
  23. package/dist/index-node-22.22.es.web.mjs +80 -53
  24. package/dist/index-node-22.22.es.web.mjs.map +1 -1
  25. package/dist/index.es.js +74 -47
  26. package/dist/index.es.js.map +1 -1
  27. package/dist/index.es.web.js +74 -47
  28. package/dist/index.es.web.js.map +1 -1
  29. package/dist/storybook-metro.es.android.js +76 -52
  30. package/dist/storybook-metro.es.android.js.map +1 -1
  31. package/dist/storybook-metro.es.ios.js +76 -52
  32. package/dist/storybook-metro.es.ios.js.map +1 -1
  33. package/dist/storybook-node-22.22.cjs.js +76 -52
  34. package/dist/storybook-node-22.22.cjs.js.map +1 -1
  35. package/dist/storybook-node-22.22.cjs.web.js +76 -52
  36. package/dist/storybook-node-22.22.cjs.web.js.map +1 -1
  37. package/dist/storybook-node-22.22.es.mjs +76 -52
  38. package/dist/storybook-node-22.22.es.mjs.map +1 -1
  39. package/dist/storybook-node-22.22.es.web.mjs +76 -52
  40. package/dist/storybook-node-22.22.es.web.mjs.map +1 -1
  41. package/dist/storybook.es.js +70 -46
  42. package/dist/storybook.es.js.map +1 -1
  43. package/dist/storybook.es.web.js +70 -46
  44. package/dist/storybook.es.web.js.map +1 -1
  45. package/dist/tsbuildinfo +1 -1
  46. package/package.json +1 -1
  47. package/src/system/content/typography/Typography.features.stories.tsx +1 -1
  48. package/src/system/content/typography/Typography.tsx +6 -7
  49. package/src/system/content/typography/__snapshots__/Typography.features.stories.tsx.snap +15 -8
  50. package/src/system/content/typography/__snapshots_web__/Typography.features.stories.tsx.snap +8 -8
  51. package/src/system/content/typography/utils/getVariantAndWeightValues.test.tsx +2 -1
  52. package/src/system/content/typography/utils/getVariantAndWeightValues.tsx +2 -1
  53. package/src/system/core/tokens/GTStandardFont.ts +90 -0
  54. package/src/system/core/tokens/GTStandardNarrowFont.ts +51 -0
  55. package/src/system/core/tokens/__snapshots__/fonts.stories.tsx.snap +14 -7
  56. package/src/system/core/tokens/__snapshots_web__/fonts.stories.tsx.snap +7 -7
  57. package/src/system/core/tokens/fonts.stories.tsx +7 -2
  58. package/src/system/core/tokens/fonts.ts +3 -116
  59. package/src/system/dataDisplays/Badge/__snapshots__/Badge.features.stories.tsx.snap +16 -8
  60. package/src/system/dataDisplays/Badge/__snapshots__/Badge.stories.tsx.snap +2 -1
  61. package/src/system/dataDisplays/Badge/__snapshots_web__/Badge.features.stories.tsx.snap +8 -8
  62. package/src/system/dataDisplays/Badge/__snapshots_web__/Badge.stories.tsx.snap +1 -1
  63. package/src/tamagui.config.ts +30 -7
@@ -1 +1 @@
1
- {"version":3,"file":"index-node-22.22.es.web.mjs","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/bumperIcon.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/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/dataDisplays/Badge/Badge.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","../src/system/loading/loader/loaderConfig.ts","../src/system/loading/loader/LoaderBackgroundCircle.tsx","../src/system/loading/loader/LoaderCircleWrapper.tsx","../src/system/loading/loader/LoaderForegroundCircle.tsx","../src/system/loading/loader/Loader.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","import type { GetTokenString, TamaguiConfig } from '@tamagui/core';\nimport { px } from '@tamagui/core';\n\nexport const bumperIconTokens = {\n 'icon.s': px(16),\n 'icon.m': px(20),\n 'icon.l': px(24),\n};\n\nexport type BumperIconTokens = GetTokenString<keyof TamaguiConfig['tokens']['bumperIcon']>;\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 { bumperIconTokens } from './system/core/tokens/bumperIcon';\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 bumperIcon: bumperIconTokens,\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 { styled } from '@tamagui/core';\nimport type { ViewProps } from './View';\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 { styled } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport type { Except } from 'type-fest';\nimport { View } from './View';\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 } 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 type { TamaguiMediaProps } from '../../types';\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\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 | TamaguiMediaProps<BodyProps>\n | TamaguiMediaProps<HeadingLabelProps>\n | TamaguiMediaProps<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 } from '@tamagui/core';\nimport { styled, useStyle } from '@tamagui/core';\nimport type { ReactElement, ReactNode } from 'react';\nimport { cloneElement } from 'react';\nimport { View } from '../../core/primitives/View';\nimport type { BumperIconTokens } from '../../core/tokens/bumperIcon';\nimport type { TamaguiMediaProps } from '../../types';\n\nconst IconContainer = styled(View, {\n name: 'Icon',\n variants: {\n size: (iconSize: BumperIconTokens, { tokens }) => {\n return {\n width: tokens.bumperIcon[iconSize],\n height: tokens.bumperIcon[iconSize],\n };\n },\n } as const,\n});\n\ntype IconContainerProps = GetProps<typeof IconContainer>;\n\ninterface IconElementProps {\n color?: ColorTokens;\n}\n\ninterface InternalIconProps {\n icon: ReactElement<IconElementProps>;\n color?: ColorTokens;\n size?: IconContainerProps['size'];\n testID?: IconContainerProps['testID'];\n /** @ignore */\n alignSelf?: IconContainerProps['alignSelf'];\n}\n\nexport type IconProps = TamaguiMediaProps<InternalIconProps>;\n\nexport function Icon({ icon, color = '$content.base.hi', size = '$icon.m', 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 { styled } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport { View } from '../../core/primitives/View';\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 { styled } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport { Typography } from '../../content/typography';\nimport { Center } from '../../core/primitives/Center';\nimport type { TamaguiMediaProps } from '../../types';\n\nconst DOT_SIZE = 8;\nconst MIN_COUNT_WIDTH = 16;\n\nconst BadgeBase = styled(Center, {\n borderRadius: '$radius.circle',\n backgroundColor: '$bg.danger.hi',\n});\n\nconst BadgeDot = styled(BadgeBase, {\n width: DOT_SIZE,\n height: DOT_SIZE,\n});\n\nconst BadgeCount = styled(BadgeBase, {\n alignSelf: 'flex-start',\n minWidth: MIN_COUNT_WIDTH,\n minHeight: MIN_COUNT_WIDTH,\n paddingHorizontal: '$space.4',\n});\n\nexport interface InternalBadgeProps {\n /** The count to display. If undefined, it renders as a dot. */\n count?: number;\n /**\n * Maximum count to display. Shows \"{max}+\" when count exceeds max.\n * @default 9\n */\n maxCount?: number;\n}\n\nexport type BadgeProps = TamaguiMediaProps<InternalBadgeProps>;\n\nexport function Badge({ count, maxCount = 9 }: BadgeProps): ReactNode {\n if (count === undefined) {\n return <BadgeDot />;\n }\n\n const displayCount = count > maxCount ? `${maxCount}+` : `${count}`;\n\n return (\n <BadgeCount>\n <Typography.Text\n variant=\"content-caps-xs\"\n weight=\"bold\"\n color=\"$content.base.onContrasted.hi\"\n // Adjust the line-height of the component\n paddingBottom={1}\n >\n {displayCount}\n </Typography.Text>\n </BadgeCount>\n );\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","import { Easing } from 'react-native-reanimated';\n\nexport type LoaderSize = 'icon' | 'page';\ninterface LoaderConfig {\n size: number;\n strokeWidth: number;\n center: number;\n radius: number;\n circumference: number;\n viewBox: string;\n}\n\nfunction createLoaderSizeConfig(size: number, strokeWidth: number): LoaderConfig {\n const center = size / 2;\n const radius = center - strokeWidth;\n const circumference = 2 * Math.PI * radius;\n\n return {\n size,\n strokeWidth,\n center,\n radius,\n circumference,\n viewBox: `0 0 ${size} ${size}`,\n };\n}\n\nexport const LOADER_SIZE_CONFIG: Record<LoaderSize, LoaderConfig> = {\n icon: createLoaderSizeConfig(20, 1.5),\n page: createLoaderSizeConfig(48, 3),\n};\n\nexport const LOADER_ANIMATION = {\n duration: 2000,\n easing: Easing.inOut(Easing.ease),\n};\n","import { styled } from '@tamagui/core';\nimport { Circle } from 'react-native-svg';\nimport { LOADER_SIZE_CONFIG } from './loaderConfig';\n\nconst { icon, page } = LOADER_SIZE_CONFIG;\n\nexport const LoaderBackgroundCircle = styled(Circle, {\n fill: 'none',\n variants: {\n size: {\n icon: { strokeWidth: icon.strokeWidth, cx: icon.center, cy: icon.center, r: icon.radius },\n page: { strokeWidth: page.strokeWidth, cx: page.center, cy: page.center, r: page.radius },\n },\n } as const,\n});\n","import { styled } from '@tamagui/core';\nimport Svg from 'react-native-svg';\nimport { LOADER_SIZE_CONFIG } from './loaderConfig';\n\nconst { icon, page } = LOADER_SIZE_CONFIG;\n\nexport const LoaderCircleWrapper = styled(Svg, {\n variants: {\n size: {\n icon: { width: icon.size, height: icon.size, viewBox: icon.viewBox },\n page: { width: page.size, height: page.size, viewBox: page.viewBox },\n },\n isForeground: {\n true: {\n position: 'absolute',\n },\n },\n } as const,\n});\n","import type { ReactNode } from 'react';\nimport type { SharedValue } from 'react-native-reanimated';\nimport Animated, { useAnimatedProps } from 'react-native-reanimated';\nimport { Circle } from 'react-native-svg';\nimport type { LoaderSize } from './loaderConfig';\nimport { LOADER_SIZE_CONFIG } from './loaderConfig';\n\nconst AnimatedCircle = Animated.createAnimatedComponent(Circle);\n\ninterface LoaderForegroundCircleProps {\n color: string;\n size: LoaderSize;\n progress: SharedValue<number>;\n}\n\nexport function LoaderForegroundCircle({ color, size, progress }: LoaderForegroundCircleProps): ReactNode {\n const { center, radius, circumference, strokeWidth } = LOADER_SIZE_CONFIG[size];\n\n const animatedProps = useAnimatedProps(\n () => ({\n strokeDashoffset: circumference - 2 * circumference * progress.value,\n }),\n [circumference, progress],\n );\n\n return (\n <AnimatedCircle\n cx={center}\n cy={center}\n r={radius}\n stroke={color}\n strokeWidth={strokeWidth}\n strokeLinecap=\"round\"\n fill=\"none\"\n strokeDasharray={circumference}\n animatedProps={animatedProps}\n />\n );\n}\n","import { styled, useStyle } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport { useEffect } from 'react';\nimport { useSharedValue, withRepeat, withTiming } from 'react-native-reanimated';\nimport { View } from '../../core/primitives/View';\nimport type { TamaguiMediaProps } from '../../types';\nimport { LoaderBackgroundCircle } from './LoaderBackgroundCircle';\nimport { LoaderCircleWrapper } from './LoaderCircleWrapper';\nimport { LoaderForegroundCircle } from './LoaderForegroundCircle';\nimport type { LoaderSize } from './loaderConfig';\nimport { LOADER_ANIMATION, LOADER_SIZE_CONFIG } from './loaderConfig';\n\nconst { icon, page } = LOADER_SIZE_CONFIG;\n\nconst LoaderContainer = styled(View, {\n name: 'Loader',\n position: 'relative',\n rotate: '-90deg',\n variants: {\n size: {\n icon: { width: icon.size, height: icon.size },\n page: { width: page.size, height: page.size },\n },\n } as const,\n});\n\ninterface InternalLoaderProps {\n /** The size of the loader. `'icon'` renders a small 20px loader, `'page'` renders a larger 48px loader.\n * @default 'page'\n * */\n size?: LoaderSize;\n /** Whether the loader is displayed on a contrasted (dark) background. When `true`, uses a high-contrast foreground color.\n * @default false\n * */\n isOnContrasted?: boolean;\n /** Test ID passed to the root container for testing purposes. */\n testID?: string;\n}\n\nexport type LoaderProps = TamaguiMediaProps<InternalLoaderProps>;\n\nexport function Loader({ size = 'page', isOnContrasted = false, testID }: LoaderProps): ReactNode {\n const backgroundStyle = useStyle({ color: '$border.base.mid' });\n const foregroundStyle = useStyle({\n color: isOnContrasted ? '$border.base.onContrasted.hi' : '$content.accent',\n });\n\n const progress = useSharedValue(0);\n\n useEffect(() => {\n progress.value = withRepeat(withTiming(1, LOADER_ANIMATION), -1, false);\n }, [progress]);\n\n return (\n <LoaderContainer size={size} testID={testID}>\n <LoaderCircleWrapper size={size}>\n <LoaderBackgroundCircle size={size} stroke={backgroundStyle.color} />\n </LoaderCircleWrapper>\n\n <LoaderCircleWrapper isForeground size={size}>\n <LoaderForegroundCircle color={String(foregroundStyle.color)} size={size} progress={progress} />\n </LoaderCircleWrapper>\n </LoaderContainer>\n );\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","bumperIconTokens","px","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","bumperIcon","config","createTamagui","GTStandard","themes","media","minWidth","settings","allowedStyleValues","disableSSR","styleCompat","autocompleteSpecificTokens","debug","BumperProvider","children","_jsx","TamaguiProvider","defaultTheme","Center","styled","View","justifyContent","alignItems","Pressable","as","rest","Component","name","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","content","Provider","value","createHeading","level","IconContainer","iconSize","width","height","Icon","icon","testID","alignSelf","style","useStyle","clonedIcon","cloneElement","InternalTypographyView","TypographyView","isInTypographyContext","display","TypographyIconInternal","TypographyIconInheritColor","TypographyIcon","TypographyLink","disabled","true","onPress","hoverStyle","false","textDecorationLine","noUnderline","Typography","Header1","Header2","Header3","Header4","Header5","Header6","Link","DOT_SIZE","MIN_COUNT_WIDTH","BadgeBase","borderRadius","backgroundColor","BadgeDot","BadgeCount","minHeight","paddingHorizontal","Badge","count","maxCount","displayCount","paddingBottom","getValueForBreakpoint","breakpoint","base","small","medium","large","wide","useCurrentBreakpointName","useMedia","useBreakpointValue","values","useMemo","SwitchBreakpoints","createLoaderSizeConfig","strokeWidth","center","circumference","Math","PI","viewBox","LOADER_SIZE_CONFIG","page","LOADER_ANIMATION","duration","easing","Easing","inOut","ease","LoaderBackgroundCircle","Circle","fill","cx","cy","r","LoaderCircleWrapper","Svg","isForeground","position","AnimatedCircle","Animated","createAnimatedComponent","LoaderForegroundCircle","progress","animatedProps","useAnimatedProps","strokeDashoffset","stroke","strokeLinecap","strokeDasharray","LoaderContainer","rotate","Loader","isOnContrasted","backgroundStyle","foregroundStyle","useSharedValue","useEffect","withRepeat","withTiming","_jsxs","String"],"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,EA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,oBACEiB,IAAA,CAACV,eAAe,EAAA;AAAC9L,IAAAA,IAAI,EAAEA,IAAK;AAACkG,IAAAA,MAAM,EAAEA,MAAO;IAAAjE,QAAA,EAAA,cAC1CC,GAAA,CAAC6I,mBAAmB,EAAA;AAAC/K,MAAAA,IAAI,EAAEA,IAAK;MAAAiC,QAAA,eAC9BC,GAAA,CAACuI,sBAAsB,EAAA;AAACzK,QAAAA,IAAI,EAAEA,IAAK;QAAC2L,MAAM,EAAEO,eAAe,CAAClL,KAAAA;OAAQ,CAAA;AAAC,KAClD,CAAC,eAEtBkB,GAAA,CAAC6I,mBAAmB,EAAA;MAACE,YAAY,EAAA,IAAA;AAACjL,MAAAA,IAAI,EAAEA,IAAK;MAAAiC,QAAA,eAC3CC,GAAA,CAACoJ,sBAAsB,EAAA;AAACtK,QAAAA,KAAK,EAAEyL,MAAM,CAACN,eAAe,CAACnL,KAAK,CAAE;AAAChB,QAAAA,IAAI,EAAEA,IAAK;AAACuL,QAAAA,QAAQ,EAAEA,QAAAA;OAAW,CAAA;AAAC,KAC7E,CAAC,CAAA;AAAA,GACP,CAAC,CAAA;AAEtB;;;;"}
1
+ {"version":3,"file":"index-node-22.22.es.web.mjs","sources":["../src/system/core/tokens/palettes/deepPurpleColorPalette.ts","../src/system/core/themes/light/light.ts","../src/system/core/tokens/GTStandardFont.ts","../src/system/core/tokens/GTStandardNarrowFont.ts","../src/system/core/tokens/breakpoints.ts","../src/system/core/tokens/bumperIcon.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/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/dataDisplays/Badge/Badge.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","../src/system/loading/loader/loaderConfig.ts","../src/system/loading/loader/LoaderBackgroundCircle.tsx","../src/system/loading/loader/LoaderCircleWrapper.tsx","../src/system/loading/loader/LoaderForegroundCircle.tsx","../src/system/loading/loader/Loader.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 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;\n\nexport type GTStandardVariants =\n | (typeof HEADING_VARIANTS)[number]\n | (typeof BODY_VARIANTS)[number]\n | (typeof LABEL_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\nexport const GTStandardFaces: Record<GTStandardFontWeight, Record<string, string>> = {\n 500: { normal: 'GTStandardRegular' },\n 600: { normal: 'GTStandardSemibold' },\n 700: { normal: 'GTStandardBold' },\n};\n\nexport const GTStandardSizes: Record<GTStandardVariants, 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};\n\nexport const GTStandardLineHeights: Record<GTStandardVariants, 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};\n\nexport const GTStandardLetterSpacings: Record<GTStandardVariants, 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};\n\nexport const GTStandardWeights: Record<string, GTStandardFontWeight> = {\n bold: '700',\n semibold: '600',\n regular: '500',\n};\n","export 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;\n\nexport type ContentCapsVariants = (typeof CONTENT_CAPS_VARIANTS)[number];\n\nexport type GTStandardNarrowFontWeight = '700';\n\nexport const GTStandardNarrowFaces: Record<GTStandardNarrowFontWeight, Record<string, string>> = {\n 700: { normal: 'GTStandardNarrowBold' },\n};\n\nexport const GTStandardNarrowSizes: Record<ContentCapsVariants, number> = {\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 GTStandardNarrowLineHeights: Record<ContentCapsVariants, number> = {\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 GTStandardNarrowLetterSpacings: Record<ContentCapsVariants, number> = {\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 GTStandardNarrowWeights: Record<string, GTStandardNarrowFontWeight> = {\n bold: '700',\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 type { GetTokenString, TamaguiConfig } from '@tamagui/core';\nimport { px } from '@tamagui/core';\n\nexport const bumperIconTokens = {\n 'icon.s': px(16),\n 'icon.m': px(20),\n 'icon.l': px(24),\n};\n\nexport type BumperIconTokens = GetTokenString<keyof TamaguiConfig['tokens']['bumperIcon']>;\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 {\n GTStandardFaces,\n GTStandardLetterSpacings,\n GTStandardLineHeights,\n GTStandardSizes,\n GTStandardWeights,\n} from './system/core/tokens/GTStandardFont';\nimport {\n GTStandardNarrowFaces,\n GTStandardNarrowLetterSpacings,\n GTStandardNarrowLineHeights,\n GTStandardNarrowSizes,\n GTStandardNarrowWeights,\n} from './system/core/tokens/GTStandardNarrowFont';\nimport { BreakpointNameEnum, breakpoints } from './system/core/tokens/breakpoints';\nimport { bumperIconTokens } from './system/core/tokens/bumperIcon';\nimport { radiusTokens } from './system/core/tokens/radius';\nimport { sizeTokens } from './system/core/tokens/size';\nimport { spaceTokens } from './system/core/tokens/space';\n\nexport const GTStandardFont = createFont({\n family: 'GTStandard',\n size: GTStandardSizes,\n lineHeight: GTStandardLineHeights,\n letterSpacing: GTStandardLetterSpacings,\n weight: GTStandardWeights,\n face: GTStandardFaces,\n});\n\nexport const GTStandardNarrowFont = createFont({\n family: 'GTStandardNarrow',\n size: GTStandardNarrowSizes,\n lineHeight: GTStandardNarrowLineHeights,\n letterSpacing: GTStandardNarrowLetterSpacings,\n weight: GTStandardNarrowWeights,\n face: GTStandardNarrowFaces,\n});\n\nconst tokens = createTokens({\n color: {},\n space: spaceTokens,\n size: sizeTokens,\n radius: radiusTokens,\n bumperIcon: bumperIconTokens,\n});\n\nexport const config = createTamagui({\n tokens,\n fonts: {\n GTStandard: GTStandardFont,\n GTStandardNarrow: GTStandardNarrowFont,\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 { styled } from '@tamagui/core';\nimport type { ViewProps } from './View';\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 { styled } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport type { Except } from 'type-fest';\nimport { View } from './View';\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 { BODY_VARIANTS, HEADING_VARIANTS, LABEL_VARIANTS } from '../../../core/tokens/GTStandardFont';\nimport { CONTENT_CAPS_VARIANTS } from '../../../core/tokens/GTStandardNarrowFont';\nimport type { FontVariants } 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 } from '@tamagui/core';\nimport { Text, styled } from '@tamagui/core';\nimport { type Except } from 'type-fest';\nimport type { BodyFontVariants, HeadingFontVariants, LabelFontVariants } from '../../core/tokens/GTStandardFont';\nimport { CONTENT_CAPS_VARIANTS, type ContentCapsVariants } from '../../core/tokens/GTStandardNarrowFont';\nimport type { FontVariants } from '../../core/tokens/fonts';\nimport type { TamaguiMediaProps } from '../../types';\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\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 const isContentCapsVariant = (CONTENT_CAPS_VARIANTS as readonly string[]).includes(variant);\n\n return {\n fontFamily: isContentCapsVariant ? '$GTStandardNarrow' : '$GTStandard',\n textTransform: isContentCapsVariant ? 'uppercase' : undefined,\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 | TamaguiMediaProps<BodyProps>\n | TamaguiMediaProps<HeadingLabelProps>\n | TamaguiMediaProps<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 } from '@tamagui/core';\nimport { styled, useStyle } from '@tamagui/core';\nimport type { ReactElement, ReactNode } from 'react';\nimport { cloneElement } from 'react';\nimport { View } from '../../core/primitives/View';\nimport type { BumperIconTokens } from '../../core/tokens/bumperIcon';\nimport type { TamaguiMediaProps } from '../../types';\n\nconst IconContainer = styled(View, {\n name: 'Icon',\n variants: {\n size: (iconSize: BumperIconTokens, { tokens }) => {\n return {\n width: tokens.bumperIcon[iconSize],\n height: tokens.bumperIcon[iconSize],\n };\n },\n } as const,\n});\n\ntype IconContainerProps = GetProps<typeof IconContainer>;\n\ninterface IconElementProps {\n color?: ColorTokens;\n}\n\ninterface InternalIconProps {\n icon: ReactElement<IconElementProps>;\n color?: ColorTokens;\n size?: IconContainerProps['size'];\n testID?: IconContainerProps['testID'];\n /** @ignore */\n alignSelf?: IconContainerProps['alignSelf'];\n}\n\nexport type IconProps = TamaguiMediaProps<InternalIconProps>;\n\nexport function Icon({ icon, color = '$content.base.hi', size = '$icon.m', 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 { styled } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport { View } from '../../core/primitives/View';\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 { styled } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport { Typography } from '../../content/typography';\nimport { Center } from '../../core/primitives/Center';\nimport type { TamaguiMediaProps } from '../../types';\n\nconst DOT_SIZE = 8;\nconst MIN_COUNT_WIDTH = 16;\n\nconst BadgeBase = styled(Center, {\n borderRadius: '$radius.circle',\n backgroundColor: '$bg.danger.hi',\n});\n\nconst BadgeDot = styled(BadgeBase, {\n width: DOT_SIZE,\n height: DOT_SIZE,\n});\n\nconst BadgeCount = styled(BadgeBase, {\n alignSelf: 'flex-start',\n minWidth: MIN_COUNT_WIDTH,\n minHeight: MIN_COUNT_WIDTH,\n paddingHorizontal: '$space.4',\n});\n\nexport interface InternalBadgeProps {\n /** The count to display. If undefined, it renders as a dot. */\n count?: number;\n /**\n * Maximum count to display. Shows \"{max}+\" when count exceeds max.\n * @default 9\n */\n maxCount?: number;\n}\n\nexport type BadgeProps = TamaguiMediaProps<InternalBadgeProps>;\n\nexport function Badge({ count, maxCount = 9 }: BadgeProps): ReactNode {\n if (count === undefined) {\n return <BadgeDot />;\n }\n\n const displayCount = count > maxCount ? `${maxCount}+` : `${count}`;\n\n return (\n <BadgeCount>\n <Typography.Text\n variant=\"content-caps-xs\"\n weight=\"bold\"\n color=\"$content.base.onContrasted.hi\"\n // Adjust the line-height of the component\n paddingBottom={1}\n >\n {displayCount}\n </Typography.Text>\n </BadgeCount>\n );\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","import { Easing } from 'react-native-reanimated';\n\nexport type LoaderSize = 'icon' | 'page';\ninterface LoaderConfig {\n size: number;\n strokeWidth: number;\n center: number;\n radius: number;\n circumference: number;\n viewBox: string;\n}\n\nfunction createLoaderSizeConfig(size: number, strokeWidth: number): LoaderConfig {\n const center = size / 2;\n const radius = center - strokeWidth;\n const circumference = 2 * Math.PI * radius;\n\n return {\n size,\n strokeWidth,\n center,\n radius,\n circumference,\n viewBox: `0 0 ${size} ${size}`,\n };\n}\n\nexport const LOADER_SIZE_CONFIG: Record<LoaderSize, LoaderConfig> = {\n icon: createLoaderSizeConfig(20, 1.5),\n page: createLoaderSizeConfig(48, 3),\n};\n\nexport const LOADER_ANIMATION = {\n duration: 2000,\n easing: Easing.inOut(Easing.ease),\n};\n","import { styled } from '@tamagui/core';\nimport { Circle } from 'react-native-svg';\nimport { LOADER_SIZE_CONFIG } from './loaderConfig';\n\nconst { icon, page } = LOADER_SIZE_CONFIG;\n\nexport const LoaderBackgroundCircle = styled(Circle, {\n fill: 'none',\n variants: {\n size: {\n icon: { strokeWidth: icon.strokeWidth, cx: icon.center, cy: icon.center, r: icon.radius },\n page: { strokeWidth: page.strokeWidth, cx: page.center, cy: page.center, r: page.radius },\n },\n } as const,\n});\n","import { styled } from '@tamagui/core';\nimport Svg from 'react-native-svg';\nimport { LOADER_SIZE_CONFIG } from './loaderConfig';\n\nconst { icon, page } = LOADER_SIZE_CONFIG;\n\nexport const LoaderCircleWrapper = styled(Svg, {\n variants: {\n size: {\n icon: { width: icon.size, height: icon.size, viewBox: icon.viewBox },\n page: { width: page.size, height: page.size, viewBox: page.viewBox },\n },\n isForeground: {\n true: {\n position: 'absolute',\n },\n },\n } as const,\n});\n","import type { ReactNode } from 'react';\nimport type { SharedValue } from 'react-native-reanimated';\nimport Animated, { useAnimatedProps } from 'react-native-reanimated';\nimport { Circle } from 'react-native-svg';\nimport type { LoaderSize } from './loaderConfig';\nimport { LOADER_SIZE_CONFIG } from './loaderConfig';\n\nconst AnimatedCircle = Animated.createAnimatedComponent(Circle);\n\ninterface LoaderForegroundCircleProps {\n color: string;\n size: LoaderSize;\n progress: SharedValue<number>;\n}\n\nexport function LoaderForegroundCircle({ color, size, progress }: LoaderForegroundCircleProps): ReactNode {\n const { center, radius, circumference, strokeWidth } = LOADER_SIZE_CONFIG[size];\n\n const animatedProps = useAnimatedProps(\n () => ({\n strokeDashoffset: circumference - 2 * circumference * progress.value,\n }),\n [circumference, progress],\n );\n\n return (\n <AnimatedCircle\n cx={center}\n cy={center}\n r={radius}\n stroke={color}\n strokeWidth={strokeWidth}\n strokeLinecap=\"round\"\n fill=\"none\"\n strokeDasharray={circumference}\n animatedProps={animatedProps}\n />\n );\n}\n","import { styled, useStyle } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport { useEffect } from 'react';\nimport { useSharedValue, withRepeat, withTiming } from 'react-native-reanimated';\nimport { View } from '../../core/primitives/View';\nimport type { TamaguiMediaProps } from '../../types';\nimport { LoaderBackgroundCircle } from './LoaderBackgroundCircle';\nimport { LoaderCircleWrapper } from './LoaderCircleWrapper';\nimport { LoaderForegroundCircle } from './LoaderForegroundCircle';\nimport type { LoaderSize } from './loaderConfig';\nimport { LOADER_ANIMATION, LOADER_SIZE_CONFIG } from './loaderConfig';\n\nconst { icon, page } = LOADER_SIZE_CONFIG;\n\nconst LoaderContainer = styled(View, {\n name: 'Loader',\n position: 'relative',\n rotate: '-90deg',\n variants: {\n size: {\n icon: { width: icon.size, height: icon.size },\n page: { width: page.size, height: page.size },\n },\n } as const,\n});\n\ninterface InternalLoaderProps {\n /** The size of the loader. `'icon'` renders a small 20px loader, `'page'` renders a larger 48px loader.\n * @default 'page'\n * */\n size?: LoaderSize;\n /** Whether the loader is displayed on a contrasted (dark) background. When `true`, uses a high-contrast foreground color.\n * @default false\n * */\n isOnContrasted?: boolean;\n /** Test ID passed to the root container for testing purposes. */\n testID?: string;\n}\n\nexport type LoaderProps = TamaguiMediaProps<InternalLoaderProps>;\n\nexport function Loader({ size = 'page', isOnContrasted = false, testID }: LoaderProps): ReactNode {\n const backgroundStyle = useStyle({ color: '$border.base.mid' });\n const foregroundStyle = useStyle({\n color: isOnContrasted ? '$border.base.onContrasted.hi' : '$content.accent',\n });\n\n const progress = useSharedValue(0);\n\n useEffect(() => {\n progress.value = withRepeat(withTiming(1, LOADER_ANIMATION), -1, false);\n }, [progress]);\n\n return (\n <LoaderContainer size={size} testID={testID}>\n <LoaderCircleWrapper size={size}>\n <LoaderBackgroundCircle size={size} stroke={backgroundStyle.color} />\n </LoaderCircleWrapper>\n\n <LoaderCircleWrapper isForeground size={size}>\n <LoaderForegroundCircle color={String(foregroundStyle.color)} size={size} progress={progress} />\n </LoaderCircleWrapper>\n </LoaderContainer>\n );\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","HEADING_VARIANTS","BODY_VARIANTS","LABEL_VARIANTS","GTStandardFaces","normal","GTStandardSizes","GTStandardLineHeights","GTStandardLetterSpacings","GTStandardWeights","bold","semibold","regular","CONTENT_CAPS_VARIANTS","GTStandardNarrowFaces","GTStandardNarrowSizes","GTStandardNarrowLineHeights","GTStandardNarrowLetterSpacings","GTStandardNarrowWeights","BreakpointNameEnum","breakpoints","BASE","SMALL","MEDIUM","LARGE","WIDE","bumperIconTokens","px","radiusTokens","sizeTokens","spaceTokens","GTStandardFont","createFont","family","size","lineHeight","letterSpacing","weight","face","GTStandardNarrowFont","tokens","createTokens","color","space","radius","bumperIcon","config","createTamagui","fonts","GTStandard","GTStandardNarrow","themes","media","minWidth","settings","allowedStyleValues","disableSSR","styleCompat","autocompleteSpecificTokens","debug","BumperProvider","children","_jsx","TamaguiProvider","defaultTheme","Center","styled","View","justifyContent","alignItems","Pressable","as","rest","Component","name","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","isContentCapsVariant","textTransform","fontSize","fontWeight","defaultVariants","TypographyBase","styleable","props","ref","typographyColorAncestorValue","typographyContext","content","Provider","value","createHeading","level","IconContainer","iconSize","width","height","Icon","icon","testID","alignSelf","style","useStyle","clonedIcon","cloneElement","InternalTypographyView","TypographyView","isInTypographyContext","display","TypographyIconInternal","TypographyIconInheritColor","TypographyIcon","TypographyLink","disabled","true","onPress","hoverStyle","false","textDecorationLine","noUnderline","Typography","Header1","Header2","Header3","Header4","Header5","Header6","Link","DOT_SIZE","MIN_COUNT_WIDTH","BadgeBase","borderRadius","backgroundColor","BadgeDot","BadgeCount","minHeight","paddingHorizontal","Badge","count","maxCount","displayCount","paddingBottom","getValueForBreakpoint","breakpoint","base","small","medium","large","wide","useCurrentBreakpointName","useMedia","useBreakpointValue","values","useMemo","SwitchBreakpoints","createLoaderSizeConfig","strokeWidth","center","circumference","Math","PI","viewBox","LOADER_SIZE_CONFIG","page","LOADER_ANIMATION","duration","easing","Easing","inOut","ease","LoaderBackgroundCircle","Circle","fill","cx","cy","r","LoaderCircleWrapper","Svg","isForeground","position","AnimatedCircle","Animated","createAnimatedComponent","LoaderForegroundCircle","progress","animatedProps","useAnimatedProps","strokeDashoffset","stroke","strokeLinecap","strokeDasharray","LoaderContainer","rotate","Loader","isOnContrasted","backgroundStyle","foregroundStyle","useSharedValue","useEffect","withRepeat","withTiming","_jsxs","String"],"mappings":";;;;;;;;;;AA4CA,MAAMA,gBAAgB,G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': deepPurpleColorPalette['mauve.3']
192
192
  };
193
193
 
194
- var BreakpointNameEnum = /*#__PURE__*/function (BreakpointNameEnum) {
195
- BreakpointNameEnum["BASE"] = "base";
196
- BreakpointNameEnum["SMALL"] = "small";
197
- BreakpointNameEnum["MEDIUM"] = "medium";
198
- BreakpointNameEnum["LARGE"] = "large";
199
- BreakpointNameEnum["WIDE"] = "wide";
200
- return BreakpointNameEnum;
201
- }({});
202
- var breakpoints = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, BreakpointNameEnum.BASE, 0), BreakpointNameEnum.SMALL, 480), BreakpointNameEnum.MEDIUM, 768), BreakpointNameEnum.LARGE, 1024), BreakpointNameEnum.WIDE, 1280);
203
-
204
- var bumperIconTokens = {
205
- 'icon.s': px(16),
206
- 'icon.m': px(20),
207
- 'icon.l': px(24)
208
- };
209
-
210
194
  var HEADING_VARIANTS = ['heading-2xl', 'heading-xl', 'heading-l', 'heading-m', 'heading-s', 'heading-xs', 'heading-2xs'];
211
195
  var BODY_VARIANTS = ['body-xl', 'body-l', 'body-m', 'body-s', 'body-xs'];
212
196
  var LABEL_VARIANTS = ['label-xl', 'label-l', 'label-m', 'label-s'];
213
- var CONTENT_CAPS_VARIANTS = ['content-caps-3xl', 'content-caps-2xl', 'content-caps-xl', 'content-caps-l', 'content-caps-m', 'content-caps-s', 'content-caps-xs'];
214
197
  var GTStandardFaces = {
215
198
  500: {
216
199
  normal: 'GTStandardRegular'
@@ -222,7 +205,7 @@ var GTStandardFaces = {
222
205
  normal: 'GTStandardBold'
223
206
  }
224
207
  };
225
- var size = {
208
+ var GTStandardSizes = {
226
209
  'heading-2xl': 56,
227
210
  'heading-xl': 48,
228
211
  'heading-l': 38,
@@ -238,16 +221,9 @@ var size = {
238
221
  'label-xl': 18,
239
222
  'label-l': 16,
240
223
  'label-m': 14,
241
- 'label-s': 12,
242
- 'content-caps-3xl': 40,
243
- 'content-caps-2xl': 32,
244
- 'content-caps-xl': 24,
245
- 'content-caps-l': 18,
246
- 'content-caps-m': 16,
247
- 'content-caps-s': 14,
248
- 'content-caps-xs': 12
224
+ 'label-s': 12
249
225
  };
250
- var lineHeight = {
226
+ var GTStandardLineHeights = {
251
227
  'heading-2xl': 64,
252
228
  'heading-xl': 56,
253
229
  'heading-l': 44,
@@ -263,16 +239,9 @@ var lineHeight = {
263
239
  'label-xl': 26,
264
240
  'label-l': 20,
265
241
  'label-m': 18,
266
- 'label-s': 14,
267
- 'content-caps-3xl': 40,
268
- 'content-caps-2xl': 40,
269
- 'content-caps-xl': 28,
270
- 'content-caps-l': 20,
271
- 'content-caps-m': 18,
272
- 'content-caps-s': 16,
273
- 'content-caps-xs': 14
242
+ 'label-s': 14
274
243
  };
275
- var letterSpacing = {
244
+ var GTStandardLetterSpacings = {
276
245
  'heading-2xl': 0,
277
246
  'heading-xl': 0,
278
247
  'heading-l': 0,
@@ -288,7 +257,39 @@ var letterSpacing = {
288
257
  'label-xl': 0,
289
258
  'label-l': 0,
290
259
  'label-m': 0,
291
- 'label-s': 0,
260
+ 'label-s': 0
261
+ };
262
+ var GTStandardWeights = {
263
+ bold: '700',
264
+ semibold: '600',
265
+ regular: '500'
266
+ };
267
+
268
+ var CONTENT_CAPS_VARIANTS = ['content-caps-3xl', 'content-caps-2xl', 'content-caps-xl', 'content-caps-l', 'content-caps-m', 'content-caps-s', 'content-caps-xs'];
269
+ var GTStandardNarrowFaces = {
270
+ 700: {
271
+ normal: 'GTStandardNarrowBold'
272
+ }
273
+ };
274
+ var GTStandardNarrowSizes = {
275
+ 'content-caps-3xl': 40,
276
+ 'content-caps-2xl': 32,
277
+ 'content-caps-xl': 24,
278
+ 'content-caps-l': 18,
279
+ 'content-caps-m': 16,
280
+ 'content-caps-s': 14,
281
+ 'content-caps-xs': 12
282
+ };
283
+ var GTStandardNarrowLineHeights = {
284
+ 'content-caps-3xl': 40,
285
+ 'content-caps-2xl': 40,
286
+ 'content-caps-xl': 28,
287
+ 'content-caps-l': 20,
288
+ 'content-caps-m': 18,
289
+ 'content-caps-s': 16,
290
+ 'content-caps-xs': 14
291
+ };
292
+ var GTStandardNarrowLetterSpacings = {
292
293
  'content-caps-3xl': 0,
293
294
  'content-caps-2xl': 0,
294
295
  'content-caps-xl': 0,
@@ -297,10 +298,24 @@ var letterSpacing = {
297
298
  'content-caps-s': 0,
298
299
  'content-caps-xs': 0
299
300
  };
300
- var weight = {
301
- bold: '700',
302
- semibold: '600',
303
- regular: '500'
301
+ var GTStandardNarrowWeights = {
302
+ bold: '700'
303
+ };
304
+
305
+ var BreakpointNameEnum = /*#__PURE__*/function (BreakpointNameEnum) {
306
+ BreakpointNameEnum["BASE"] = "base";
307
+ BreakpointNameEnum["SMALL"] = "small";
308
+ BreakpointNameEnum["MEDIUM"] = "medium";
309
+ BreakpointNameEnum["LARGE"] = "large";
310
+ BreakpointNameEnum["WIDE"] = "wide";
311
+ return BreakpointNameEnum;
312
+ }({});
313
+ var breakpoints = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, BreakpointNameEnum.BASE, 0), BreakpointNameEnum.SMALL, 480), BreakpointNameEnum.MEDIUM, 768), BreakpointNameEnum.LARGE, 1024), BreakpointNameEnum.WIDE, 1280);
314
+
315
+ var bumperIconTokens = {
316
+ 'icon.s': px(16),
317
+ 'icon.m': px(20),
318
+ 'icon.l': px(24)
304
319
  };
305
320
 
306
321
  var radiusTokens = {
@@ -342,14 +357,22 @@ var spaceTokens = {
342
357
  'space.80': 80
343
358
  };
344
359
 
345
- var fonts = createFont({
360
+ var GTStandardFont = createFont({
346
361
  family: 'GTStandard',
347
- size: size,
348
- lineHeight: lineHeight,
349
- letterSpacing: letterSpacing,
350
- weight: weight,
362
+ size: GTStandardSizes,
363
+ lineHeight: GTStandardLineHeights,
364
+ letterSpacing: GTStandardLetterSpacings,
365
+ weight: GTStandardWeights,
351
366
  face: GTStandardFaces
352
367
  });
368
+ var GTStandardNarrowFont = createFont({
369
+ family: 'GTStandardNarrow',
370
+ size: GTStandardNarrowSizes,
371
+ lineHeight: GTStandardNarrowLineHeights,
372
+ letterSpacing: GTStandardNarrowLetterSpacings,
373
+ weight: GTStandardNarrowWeights,
374
+ face: GTStandardNarrowFaces
375
+ });
353
376
  var tokens = createTokens({
354
377
  color: {},
355
378
  space: spaceTokens,
@@ -360,7 +383,8 @@ var tokens = createTokens({
360
383
  var config = createTamagui({
361
384
  tokens: tokens,
362
385
  fonts: {
363
- GTStandard: fonts
386
+ GTStandard: GTStandardFont,
387
+ GTStandardNarrow: GTStandardNarrowFont
364
388
  },
365
389
  themes: {
366
390
  light: light
@@ -489,7 +513,10 @@ var InternalTypography = styled(Text, {
489
513
  variants: {
490
514
  variant: function (_variant) {
491
515
  if (!_variant) return {};
516
+ var isContentCapsVariant = CONTENT_CAPS_VARIANTS.includes(_variant);
492
517
  return {
518
+ fontFamily: isContentCapsVariant ? '$GTStandardNarrow' : '$GTStandard',
519
+ textTransform: isContentCapsVariant ? 'uppercase' : undefined,
493
520
  fontSize: "$".concat(_variant),
494
521
  lineHeight: "$".concat(_variant),
495
522
  letterSpacing: "$".concat(_variant)