@ornikar/bumper 3.0.3 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/definitions/shared/storybook/StoryTitle.d.ts +2 -2
  3. package/dist/definitions/system/content/typography/Typography.d.ts +57 -15
  4. package/dist/definitions/system/content/typography/Typography.d.ts.map +1 -1
  5. package/dist/definitions/system/content/typography/TypographyLink.d.ts +12 -4
  6. package/dist/definitions/system/content/typography/TypographyLink.d.ts.map +1 -1
  7. package/dist/definitions/system/content/typography/index.d.ts +10 -16
  8. package/dist/definitions/system/content/typography/index.d.ts.map +1 -1
  9. package/dist/definitions/system/content/typography/utils/getVariantAndWeightValues.d.ts +2 -2
  10. package/dist/definitions/system/content/typography/utils/getVariantAndWeightValues.d.ts.map +1 -1
  11. package/dist/definitions/system/content/typography/utils/typographyContext.d.ts +2 -2
  12. package/dist/definitions/system/content/typography/utils/typographyContext.d.ts.map +1 -1
  13. package/dist/definitions/system/dataDisplays/Badge/Badge.d.ts +3 -3
  14. package/dist/definitions/system/dataDisplays/Badge/Badge.d.ts.map +1 -1
  15. package/dist/index-metro.es.android.js +22 -19
  16. package/dist/index-metro.es.android.js.map +1 -1
  17. package/dist/index-metro.es.ios.js +22 -19
  18. package/dist/index-metro.es.ios.js.map +1 -1
  19. package/dist/index-node-22.22.cjs.js +26 -18
  20. package/dist/index-node-22.22.cjs.js.map +1 -1
  21. package/dist/index-node-22.22.cjs.web.js +26 -18
  22. package/dist/index-node-22.22.cjs.web.js.map +1 -1
  23. package/dist/index-node-22.22.es.mjs +27 -19
  24. package/dist/index-node-22.22.es.mjs.map +1 -1
  25. package/dist/index-node-22.22.es.web.mjs +27 -19
  26. package/dist/index-node-22.22.es.web.mjs.map +1 -1
  27. package/dist/index.es.js +22 -19
  28. package/dist/index.es.js.map +1 -1
  29. package/dist/index.es.web.js +22 -19
  30. package/dist/index.es.web.js.map +1 -1
  31. package/dist/tsbuildinfo +1 -1
  32. package/package.json +1 -1
  33. package/src/shared/storybook/StoryTitle.tsx +2 -2
  34. package/src/system/content/typography/Typography.tsx +38 -43
  35. package/src/system/content/typography/TypographyLink.features.stories.tsx +12 -10
  36. package/src/system/content/typography/TypographyLink.stories.tsx +3 -1
  37. package/src/system/content/typography/TypographyLink.tsx +16 -4
  38. package/src/system/content/typography/utils/getVariantAndWeightValues.tsx +2 -2
  39. package/src/system/content/typography/utils/typographyContext.ts +2 -2
  40. package/src/system/dataDisplays/Badge/Badge.tsx +18 -16
@@ -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/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-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': 16,\n 'body-xl': 24,\n 'body-l': 18,\n 'body-m': 16,\n 'body-s': 14,\n 'body-xs': 12,\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-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-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, 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 } : undefined)}\n {...(weight ? { weight } : undefined)}\n {...(variant ? { variant } : undefined)}\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,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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AAU,CAAC,CAAC,EAAEpC,gBAAgB,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,CAAA;AACzE,GAAC,EAAE,CAACoB,QAAQ,CAAC,CAAC,CAAA;EAEd,oBACEiB,IAAA,CAACV,eAAe,EAAA;AAAC1L,IAAAA,IAAI,EAAEA,IAAK;AAAC8F,IAAAA,MAAM,EAAEA,MAAO;IAAAnE,QAAA,EAAA,cAC1CC,GAAA,CAAC+I,mBAAmB,EAAA;AAAC3K,MAAAA,IAAI,EAAEA,IAAK;MAAA2B,QAAA,eAC9BC,GAAA,CAACyI,sBAAsB,EAAA;AAACrK,QAAAA,IAAI,EAAEA,IAAK;QAACuL,MAAM,EAAEO,eAAe,CAACtL,KAAAA;OAAQ,CAAA;AAAC,KAClD,CAAC,eAEtBoB,GAAA,CAAC+I,mBAAmB,EAAA;MAACE,YAAY,EAAA,IAAA;AAAC7K,MAAAA,IAAI,EAAEA,IAAK;MAAA2B,QAAA,eAC3CC,GAAA,CAACsJ,sBAAsB,EAAA;AAAC1K,QAAAA,KAAK,EAAE6L,MAAM,CAACN,eAAe,CAACvL,KAAK,CAAE;AAACR,QAAAA,IAAI,EAAEA,IAAK;AAACmL,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-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': 16,\n 'body-xl': 24,\n 'body-l': 18,\n 'body-m': 16,\n 'body-s': 14,\n 'body-xs': 12,\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-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-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 { TypographyTextProps } from '../Typography';\nimport type { TypographyVariantContextValue, TypographyWeightContextValue } from './typographyContext';\n\ninterface VariantAndWeightValues {\n weight: TypographyTextProps['weight'] | undefined;\n variant: FontVariants | undefined;\n}\n\nexport function getVariantAndWeightValues(\n weightProp: TypographyTextProps['weight'],\n variantProp: TypographyTextProps['variant'],\n typographyWeightAncestorValue: TypographyWeightContextValue,\n typographyVariantAncestorValue: TypographyVariantContextValue,\n): VariantAndWeightValues {\n const computedVariant = variantProp || typographyVariantAncestorValue || undefined;\n\n if (computedVariant) {\n if ((BODY_VARIANTS as readonly string[]).includes(computedVariant)) {\n const computedWeight = weightProp || typographyWeightAncestorValue || undefined;\n return { weight: computedWeight, variant: computedVariant };\n }\n // Content Caps variant have fixed weights so we override any provided weight\n if ((CONTENT_CAPS_VARIANTS as readonly string[]).includes(computedVariant)) {\n return { weight: 'bold', variant: computedVariant };\n }\n // Heading variants have fixed weights so we override any provided weight\n if ((HEADING_VARIANTS as readonly string[]).includes(computedVariant)) {\n return { weight: 'semibold', variant: computedVariant };\n }\n // Label variants have fixed weights so we override any provided weight\n if ((LABEL_VARIANTS as readonly string[]).includes(computedVariant)) {\n return { weight: 'semibold', variant: computedVariant };\n }\n }\n\n return { weight: weightProp, variant: undefined };\n}\n","import type { ColorTokens } from '@tamagui/core';\nimport { createContext, useContext } from 'react';\nimport type { FontVariants } from '../../../core/tokens/fonts';\n\nexport type TypographyVariantContextValue = FontVariants | null;\nexport type TypographyWeightContextValue = 'regular' | 'bold' | 'semibold' | null;\nexport type TypograhyColorContextValue = ColorTokens | 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, TextStyle } from '@tamagui/core';\nimport { Text, styled } from '@tamagui/core';\nimport type { ReactNode } from 'react';\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\ninterface TypographyWithoutMediaProps {\n color?: ColorTokens;\n textAlign?: TextStyle['textAlign'];\n children: ReactNode;\n}\n\nexport interface BodyProps extends TypographyWithoutMediaProps {\n variant?: BodyFontVariants;\n weight?: 'regular' | 'bold';\n}\nexport interface HeadingLabelProps extends TypographyWithoutMediaProps {\n variant: HeadingFontVariants | LabelFontVariants;\n weight?: 'semibold';\n}\nexport interface ContentCapsProps extends TypographyWithoutMediaProps {\n variant: ContentCapsVariants;\n weight?: 'bold';\n}\n\nexport type TypographyTextProps =\n | TamaguiMediaProps<BodyProps>\n | TamaguiMediaProps<HeadingLabelProps>\n | TamaguiMediaProps<ContentCapsProps>;\n\nconst InternalTypographyBase = 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 const InternalTypography = InternalTypographyBase.styleable<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 <InternalTypographyBase\n ref={ref}\n {...props}\n {...(color ? { color } : undefined)}\n {...(weight ? { weight } : undefined)}\n {...(variant ? { variant } : undefined)}\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 function TypographyBase(props: TypographyTextProps): ReactNode {\n return <InternalTypography {...props} />;\n}\n\nexport const createHeading = (level: number): ((props: TypographyTextProps) => ReactNode) => {\n // eslint-disable-next-line func-names\n return function (props: TypographyTextProps): ReactNode {\n return <InternalTypography role=\"heading\" aria-level={level} {...props} />;\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 { styled } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport type { TamaguiMediaProps } from '../../types';\nimport type { TypographyTextProps } from './Typography';\nimport { InternalTypography } from './Typography';\n\nexport interface TypographyLinkWithoutMediaProps {\n disabled?: boolean;\n noUnderline?: boolean;\n onPress: () => void;\n}\n\nexport type TypographyLinkProps = TypographyTextProps & TamaguiMediaProps<TypographyLinkWithoutMediaProps>;\n\nexport const InternalTypographyLink = styled(InternalTypography, {\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 function TypographyLink(props: TypographyLinkProps): ReactNode {\n return <InternalTypographyLink {...props} />;\n}\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, useProps } from '@tamagui/core';\nimport type { ReactNode } from 'react';\nimport { InternalTypography } from '../../content/typography/Typography';\nimport { Center } from '../../core/primitives/Center';\nimport type { TamaguiMediaProps } from '../../types';\n\nexport interface BadgeWithoutMediaProps {\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<BadgeWithoutMediaProps>;\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 function Badge(props: BadgeProps): ReactNode {\n const { count, maxCount = 9 } = useProps(props);\n\n if (count === undefined) {\n return <BadgeDot />;\n }\n\n const displayCount = count > maxCount ? `${maxCount}+` : `${count}`;\n\n return (\n <BadgeCount>\n <InternalTypography\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 </InternalTypography>\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","InternalTypographyBase","Text","fontFamily","WebkitFontSmoothing","variants","isContentCapsVariant","textTransform","fontSize","fontWeight","defaultVariants","InternalTypography","styleable","props","ref","typographyColorAncestorValue","typographyContext","content","Provider","value","TypographyBase","createHeading","level","IconContainer","iconSize","width","height","Icon","icon","testID","alignSelf","style","useStyle","clonedIcon","cloneElement","InternalTypographyView","TypographyView","isInTypographyContext","display","TypographyIconInternal","TypographyIconInheritColor","TypographyIcon","InternalTypographyLink","disabled","true","onPress","hoverStyle","false","textDecorationLine","noUnderline","TypographyLink","Typography","Header1","Header2","Header3","Header4","Header5","Header6","Link","DOT_SIZE","MIN_COUNT_WIDTH","BadgeBase","borderRadius","backgroundColor","BadgeDot","BadgeCount","minHeight","paddingHorizontal","Badge","count","maxCount","useProps","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,EAAEN,gBAAgB,CAAC;AACxBO,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,KAAK,EAAE,SAAS;AAChBC,IAAAA,MAAM,EAAE,SAAS;AACjBC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,GAAG,EAAE,SAAS;AACd,IAAA,YAAY,EAAE,SAAS;AACvB,IAAA,aAAa,EAAE,SAAS;AACxB,IAAA,aAAa,EAAE,SAAS;AACxB,IAAA,eAAe,EAAE,SAAS;AAC1B,IAAA,UAAU,EAAE,SAAA;AACd,GA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AI,EAAEA,IAAK;QAAC0L,MAAM,EAAEO,eAAe,CAACzL,KAAAA;OAAQ,CAAA;AAAC,KAClD,CAAC,eAEtBoB,GAAA,CAACkJ,mBAAmB,EAAA;MAACE,YAAY,EAAA,IAAA;AAAChL,MAAAA,IAAI,EAAEA,IAAK;MAAA2B,QAAA,eAC3CC,GAAA,CAACyJ,sBAAsB,EAAA;AAAC7K,QAAAA,KAAK,EAAEgM,MAAM,CAACN,eAAe,CAAC1L,KAAK,CAAE;AAACR,QAAAA,IAAI,EAAEA,IAAK;AAACsL,QAAAA,QAAQ,EAAEA,QAAAA;OAAW,CAAA;AAAC,KAC7E,CAAC,CAAA;AAAA,GACP,CAAC,CAAA;AAEtB;;;;"}
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { px, createFont, createTokens, createTamagui, TamaguiProvider, styled, View, Stack, Text, useStyle, useMedia } from '@tamagui/core';
1
+ import { px, createFont, createTokens, createTamagui, TamaguiProvider, styled, View, Stack, Text, useStyle, useProps, useMedia } from '@tamagui/core';
2
2
  export { Stack, View } from '@tamagui/core';
3
3
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
4
4
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
@@ -501,7 +501,7 @@ var useTypographyContext = function () {
501
501
  return useContext(TypographyContext);
502
502
  };
503
503
 
504
- var InternalTypography = styled(Text, {
504
+ var InternalTypographyBase = styled(Text, {
505
505
  fontFamily: '$GTStandard',
506
506
  color: '$content.base.hi',
507
507
  '$platform-web': {
@@ -536,10 +536,7 @@ var InternalTypography = styled(Text, {
536
536
  weight: 'regular'
537
537
  }
538
538
  });
539
-
540
- // Remove font-related style props from InternalTypography Props
541
-
542
- var TypographyBase = InternalTypography.styleable(function (props, ref) {
539
+ var InternalTypography = InternalTypographyBase.styleable(function (props, ref) {
543
540
  var typographyVariantAncestorValue = useTypographyVariant();
544
541
  var typographyWeightAncestorValue = useTypographyWeight();
545
542
  var typographyColorAncestorValue = useTypographyColor();
@@ -548,7 +545,7 @@ var TypographyBase = InternalTypography.styleable(function (props, ref) {
548
545
  variant = _getVariantAndWeightV.variant,
549
546
  weight = _getVariantAndWeightV.weight;
550
547
  var color = props.color || typographyColorAncestorValue || undefined;
551
- var content = /*#__PURE__*/jsx(InternalTypography, _objectSpread(_objectSpread(_objectSpread(_objectSpread({
548
+ var content = /*#__PURE__*/jsx(InternalTypographyBase, _objectSpread(_objectSpread(_objectSpread(_objectSpread({
552
549
  ref: ref
553
550
  }, props), color ? {
554
551
  color: color
@@ -581,15 +578,17 @@ var TypographyBase = InternalTypography.styleable(function (props, ref) {
581
578
  }) : content;
582
579
  return content;
583
580
  });
581
+ function TypographyBase(props) {
582
+ return /*#__PURE__*/jsx(InternalTypography, _objectSpread({}, props));
583
+ }
584
584
  var createHeading = function (level) {
585
- return TypographyBase.styleable(function (props, ref) {
586
- return /*#__PURE__*/jsx(TypographyBase, _objectSpread(_objectSpread({
587
- ref: ref
588
- }, props), {}, {
585
+ // eslint-disable-next-line func-names
586
+ return function (props) {
587
+ return /*#__PURE__*/jsx(InternalTypography, _objectSpread({
589
588
  role: "heading",
590
589
  "aria-level": level
591
- }));
592
- });
590
+ }, props));
591
+ };
593
592
  };
594
593
 
595
594
  var IconContainer = styled(View, {
@@ -672,7 +671,7 @@ function TypographyIcon(_ref) {
672
671
  return /*#__PURE__*/jsx(TypographyIconInheritColor, _objectSpread({}, props));
673
672
  }
674
673
 
675
- var TypographyLink = styled(TypographyBase, {
674
+ var InternalTypographyLink = styled(InternalTypography, {
676
675
  name: 'TypographyLink',
677
676
  role: 'link',
678
677
  variants: {
@@ -704,6 +703,9 @@ var TypographyLink = styled(TypographyBase, {
704
703
  noUnderline: false
705
704
  }
706
705
  });
706
+ function TypographyLink(props) {
707
+ return /*#__PURE__*/jsx(InternalTypographyLink, _objectSpread({}, props));
708
+ }
707
709
 
708
710
  var Typography = {
709
711
  Text: TypographyBase,
@@ -733,16 +735,17 @@ var BadgeCount = styled(BadgeBase, {
733
735
  minHeight: MIN_COUNT_WIDTH,
734
736
  paddingHorizontal: '$space.4'
735
737
  });
736
- function Badge(_ref) {
737
- var count = _ref.count,
738
- _ref$maxCount = _ref.maxCount,
739
- maxCount = _ref$maxCount === void 0 ? 9 : _ref$maxCount;
738
+ function Badge(props) {
739
+ var _useProps = useProps(props),
740
+ count = _useProps.count,
741
+ _useProps$maxCount = _useProps.maxCount,
742
+ maxCount = _useProps$maxCount === void 0 ? 9 : _useProps$maxCount;
740
743
  if (count === undefined) {
741
744
  return /*#__PURE__*/jsx(BadgeDot, {});
742
745
  }
743
746
  var displayCount = count > maxCount ? "".concat(maxCount, "+") : "".concat(count);
744
747
  return /*#__PURE__*/jsx(BadgeCount, {
745
- children: /*#__PURE__*/jsx(Typography.Text, {
748
+ children: /*#__PURE__*/jsx(InternalTypography, {
746
749
  variant: "content-caps-xs",
747
750
  weight: "bold",
748
751
  color: "$content.base.onContrasted.hi"