@ornikar/bumper 2.8.1-canary.1768839311.501438316959a9593513e74c70cb87b0597f2db6.0 → 2.8.1-canary.1769087114.a46790da1b5b6361954b6ad25766074d3ed69784.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/CHANGELOG.md +6 -6
  2. package/dist/definitions/index.d.ts +5 -1
  3. package/dist/definitions/index.d.ts.map +1 -1
  4. package/dist/definitions/shared/storybook/StoryTitle.d.ts +1 -1
  5. package/dist/definitions/shared/storybook/helpers/argsHelpers.d.ts +8 -0
  6. package/dist/definitions/shared/storybook/helpers/argsHelpers.d.ts.map +1 -0
  7. package/dist/definitions/system/content/icon/Icon.d.ts +4 -7
  8. package/dist/definitions/system/content/icon/Icon.d.ts.map +1 -1
  9. package/dist/definitions/system/content/typography/Typography.d.ts +11 -19
  10. package/dist/definitions/system/content/typography/Typography.d.ts.map +1 -1
  11. package/dist/definitions/system/content/typography/TypographyIcon.d.ts +9 -0
  12. package/dist/definitions/system/content/typography/TypographyIcon.d.ts.map +1 -0
  13. package/dist/definitions/system/content/typography/TypographyLink.d.ts +9 -0
  14. package/dist/definitions/system/content/typography/TypographyLink.d.ts.map +1 -0
  15. package/dist/definitions/system/content/typography/TypographyView.d.ts +18 -0
  16. package/dist/definitions/system/content/typography/TypographyView.d.ts.map +1 -0
  17. package/dist/definitions/system/content/typography/index.d.ts +21 -0
  18. package/dist/definitions/system/content/typography/index.d.ts.map +1 -0
  19. package/dist/definitions/system/content/typography/utils/getVariantAndWeightValues.d.ts +2 -1
  20. package/dist/definitions/system/content/typography/utils/getVariantAndWeightValues.d.ts.map +1 -1
  21. package/dist/definitions/system/content/typography/utils/typographyContext.d.ts +16 -0
  22. package/dist/definitions/system/content/typography/utils/typographyContext.d.ts.map +1 -0
  23. package/dist/definitions/system/core/primitives/Image/Image.d.ts +3 -0
  24. package/dist/definitions/system/core/primitives/Image/Image.d.ts.map +1 -0
  25. package/dist/definitions/system/core/themes/light/light.d.ts +3 -0
  26. package/dist/definitions/system/core/themes/light/light.d.ts.map +1 -0
  27. package/dist/definitions/system/core/themes/themes.d.ts +6 -0
  28. package/dist/definitions/system/core/themes/themes.d.ts.map +1 -0
  29. package/dist/definitions/tamagui.config.d.ts +1 -57
  30. package/dist/definitions/tamagui.config.d.ts.map +1 -1
  31. package/dist/index-metro.es.android.js +151 -12
  32. package/dist/index-metro.es.android.js.map +1 -1
  33. package/dist/index-metro.es.ios.js +151 -12
  34. package/dist/index-metro.es.ios.js.map +1 -1
  35. package/dist/index-node-22.22.cjs.js +154 -8
  36. package/dist/index-node-22.22.cjs.js.map +1 -1
  37. package/dist/index-node-22.22.cjs.web.js +154 -8
  38. package/dist/index-node-22.22.cjs.web.js.map +1 -1
  39. package/dist/index-node-22.22.es.mjs +155 -10
  40. package/dist/index-node-22.22.es.mjs.map +1 -1
  41. package/dist/index-node-22.22.es.web.mjs +155 -10
  42. package/dist/index-node-22.22.es.web.mjs.map +1 -1
  43. package/dist/index.es.js +149 -12
  44. package/dist/index.es.js.map +1 -1
  45. package/dist/index.es.web.js +149 -12
  46. package/dist/index.es.web.js.map +1 -1
  47. package/dist/tsbuildinfo +1 -1
  48. package/package.json +11 -10
  49. package/src/index.ts +5 -1
  50. package/src/shared/storybook/StoryTitle.tsx +1 -1
  51. package/src/shared/storybook/helpers/argsHelpers.ts +47 -0
  52. package/src/system/content/icon/Icon.features.stories.tsx +1 -1
  53. package/src/system/content/icon/Icon.stories.tsx +3 -22
  54. package/src/system/content/icon/Icon.tsx +4 -14
  55. package/src/system/content/icon/__snapshots_web__/Icon.features.stories.tsx.snap +2 -2
  56. package/src/system/content/icon/__snapshots_web__/Icon.stories.tsx.snap +1 -1
  57. package/src/system/content/typography/Typography.features.stories.tsx +1 -1
  58. package/src/system/content/typography/Typography.stories.tsx +3 -23
  59. package/src/system/content/typography/Typography.tsx +24 -27
  60. package/src/system/content/typography/TypographyIcon.features.stories.tsx +163 -0
  61. package/src/system/content/typography/TypographyIcon.stories.tsx +35 -0
  62. package/src/system/content/typography/TypographyIcon.tsx +33 -0
  63. package/src/system/content/typography/TypographyLink.features.stories.tsx +62 -0
  64. package/src/system/content/typography/TypographyLink.stories.tsx +72 -0
  65. package/src/system/content/typography/TypographyLink.tsx +38 -0
  66. package/src/system/content/typography/TypographyView.tsx +34 -0
  67. package/src/system/content/typography/__snapshots__/TypographyIcon.features.stories.tsx.snap +839 -0
  68. package/src/system/content/typography/__snapshots__/TypographyIcon.stories.tsx.snap +31 -0
  69. package/src/system/content/typography/__snapshots__/TypographyLink.features.stories.tsx.snap +229 -0
  70. package/src/system/content/typography/__snapshots__/TypographyLink.stories.tsx.snap +41 -0
  71. package/src/system/content/typography/__snapshots_web__/Typography.features.stories.tsx.snap +7 -7
  72. package/src/system/content/typography/__snapshots_web__/Typography.stories.tsx.snap +1 -1
  73. package/src/system/content/typography/__snapshots_web__/TypographyIcon.features.stories.tsx.snap +543 -0
  74. package/src/system/content/typography/__snapshots_web__/TypographyIcon.stories.tsx.snap +37 -0
  75. package/src/system/content/typography/__snapshots_web__/TypographyLink.features.stories.tsx.snap +196 -0
  76. package/src/system/content/typography/__snapshots_web__/TypographyLink.stories.tsx.snap +33 -0
  77. package/src/system/content/typography/index.ts +15 -0
  78. package/src/system/content/typography/utils/getVariantAndWeightValues.tsx +2 -6
  79. package/src/system/content/typography/utils/typographyContext.ts +29 -0
  80. package/src/system/core/primitives/Center.features.stories.tsx +1 -1
  81. package/src/system/core/primitives/Center.stories.tsx +6 -89
  82. package/src/system/core/primitives/Image/Image.stories.tsx +34 -0
  83. package/src/system/core/primitives/Image/Image.ts +2 -0
  84. package/src/system/core/primitives/Image/__snapshots__/Image.stories.tsx.snap +30 -0
  85. package/src/system/core/primitives/Image/__snapshots_web__/Image.stories.tsx.snap +40 -0
  86. package/src/system/core/primitives/Pressable.features.stories.tsx +1 -1
  87. package/src/system/core/primitives/Pressable.stories.tsx +4 -53
  88. package/src/system/core/primitives/ScrollView/ScrollView.features.stories.tsx +1 -1
  89. package/src/system/core/primitives/ScrollView/ScrollView.stories.tsx +3 -6
  90. package/src/system/core/primitives/ScrollView/__snapshots_web__/ScrollView.features.stories.tsx.snap +11 -11
  91. package/src/system/core/primitives/ScrollView/__snapshots_web__/ScrollView.stories.tsx.snap +3 -3
  92. package/src/system/core/primitives/Stack.features.stories.tsx +1 -1
  93. package/src/system/core/primitives/Stack.stories.tsx +4 -39
  94. package/src/system/core/primitives/View.features.stories.tsx +1 -1
  95. package/src/system/core/primitives/View.stories.tsx +6 -107
  96. package/src/system/core/primitives/__snapshots_web__/Center.features.stories.tsx.snap +2 -2
  97. package/src/system/core/primitives/__snapshots_web__/Center.stories.tsx.snap +1 -1
  98. package/src/system/core/primitives/__snapshots_web__/Pressable.features.stories.tsx.snap +3 -3
  99. package/src/system/core/primitives/__snapshots_web__/Pressable.stories.tsx.snap +1 -1
  100. package/src/system/core/primitives/__snapshots_web__/Stack.features.stories.tsx.snap +6 -6
  101. package/src/system/core/primitives/__snapshots_web__/Stack.stories.tsx.snap +1 -1
  102. package/src/system/core/primitives/__snapshots_web__/View.features.stories.tsx.snap +11 -11
  103. package/src/system/core/primitives/__snapshots_web__/View.stories.tsx.snap +1 -1
  104. package/src/system/core/themes/{__snapshots_web__ → light/__snapshots_web__}/light.stories.tsx.snap +1 -1
  105. package/src/system/core/themes/{light.stories.tsx → light/light.stories.tsx} +5 -5
  106. package/src/system/core/themes/{light.ts → light/light.ts} +3 -2
  107. package/src/system/core/themes/themes.ts +69 -0
  108. package/src/system/core/tokens/__snapshots_web__/breakpoints.stories.tsx.snap +1 -1
  109. package/src/system/core/tokens/__snapshots_web__/fonts.stories.tsx.snap +1 -1
  110. package/src/system/core/tokens/__snapshots_web__/radius.stories.tsx.snap +1 -1
  111. package/src/system/core/tokens/__snapshots_web__/size.stories.tsx.snap +1 -1
  112. package/src/system/core/tokens/__snapshots_web__/space.stories.tsx.snap +1 -1
  113. package/src/system/core/tokens/breakpoints.stories.tsx +1 -1
  114. package/src/system/core/tokens/fonts.stories.tsx +1 -1
  115. package/src/system/core/tokens/palettes/__snapshots_web__/deepPurpleColorPalette.stories.tsx.snap +1 -1
  116. package/src/system/core/tokens/palettes/deepPurpleColorPalette.stories.tsx +1 -1
  117. package/src/system/core/tokens/radius.stories.tsx +1 -1
  118. package/src/system/core/tokens/size.stories.tsx +1 -1
  119. package/src/system/core/tokens/space.stories.tsx +1 -1
  120. package/src/tamagui.config.ts +1 -1
  121. package/dist/definitions/system/core/themes/light.d.ts +0 -58
  122. package/dist/definitions/system/core/themes/light.d.ts.map +0 -1
  123. /package/src/system/core/themes/{__snapshots__ → light/__snapshots__}/light.stories.tsx.snap +0 -0
package/CHANGELOG.md CHANGED
@@ -3,18 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [2.8.1-canary.1768839311.501438316959a9593513e74c70cb87b0597f2db6.0](https://github.com/ornikar/kitt/compare/@ornikar/bumper@2.8.0...@ornikar/bumper@2.8.1-canary.1768839311.501438316959a9593513e74c70cb87b0597f2db6.0) (2026-01-19)
6
+ ## [2.8.1-canary.1769087114.a46790da1b5b6361954b6ad25766074d3ed69784.0](https://github.com/ornikar/kitt/compare/@ornikar/bumper@2.8.0...@ornikar/bumper@2.8.1-canary.1769087114.a46790da1b5b6361954b6ad25766074d3ed69784.0) (2026-01-22)
7
7
 
8
8
 
9
9
  ### Features
10
10
 
11
+ * **bumper:** abstract semantic tokens [no issue] ([#2858](https://github.com/ornikar/kitt/issues/2858)) ([c69c325](https://github.com/ornikar/kitt/commit/c69c325fadfbb3fc0da45eb7b73c00e72d595cf2))
12
+ * **bumper:** add Image primitive [OSE-22653] ([#2854](https://github.com/ornikar/kitt/issues/2854)) ([ff6ef30](https://github.com/ornikar/kitt/commit/ff6ef30e9b68525d893591297955718f331d4c5f))
11
13
  * **bumper:** add ScrollView primitive [OSE-22231] ([#2853](https://github.com/ornikar/kitt/issues/2853)) ([c1657e6](https://github.com/ornikar/kitt/commit/c1657e677d375077e44e3908fa00afe3d9568ea1))
12
14
  * **bumper:** create Icon component OSE-22651 ([#2850](https://github.com/ornikar/kitt/issues/2850)) ([badab32](https://github.com/ornikar/kitt/commit/badab3252d3ed42a97dafa5084baca4c4c34c24b))
13
-
14
-
15
- ### Bug Fixes
16
-
17
- * **tsc:** react 19 typing issue with ReactElement ([5014383](https://github.com/ornikar/kitt/commit/501438316959a9593513e74c70cb87b0597f2db6))
15
+ * **bumper:** create TypographyIcon OSE-22633 ([#2855](https://github.com/ornikar/kitt/issues/2855)) ([297fe14](https://github.com/ornikar/kitt/commit/297fe148e19d80fa39a225fff62279ba901bc876))
16
+ * **bumper:** create TypographyLink OSE-22634 ([#2857](https://github.com/ornikar/kitt/issues/2857)) ([0ada312](https://github.com/ornikar/kitt/commit/0ada312fd3b1c6c5a5b2ae9f117bdd3e9d4fea63))
17
+ * **bumper:** shared argTypes [OSE-22659] ([#2859](https://github.com/ornikar/kitt/issues/2859)) ([e0d7b77](https://github.com/ornikar/kitt/commit/e0d7b77f2563649a1e4c140a1067a734accd71cf))
18
18
 
19
19
 
20
20
 
@@ -2,6 +2,8 @@ export { BumperDecorator } from './shared/storybook/BumperDecorator';
2
2
  export { BumperProvider } from './system/core/provider/BumperProvider';
3
3
  export type { CenterProps } from './system/core/primitives/Center';
4
4
  export { Center } from './system/core/primitives/Center';
5
+ export type { ImageProps } from './system/core/primitives/Image/Image';
6
+ export { Image } from './system/core/primitives/Image/Image';
5
7
  export type { PressableProps } from './system/core/primitives/Pressable';
6
8
  export { Pressable } from './system/core/primitives/Pressable';
7
9
  export type { ScrollViewProps } from './system/core/primitives/ScrollView/ScrollView';
@@ -10,8 +12,10 @@ export type { HStackProps, StackProps, VStackProps } from './system/core/primiti
10
12
  export { HStack, Stack, VStack } from './system/core/primitives/Stack';
11
13
  export type { ViewProps } from './system/core/primitives/View';
12
14
  export { View } from './system/core/primitives/View';
15
+ export { Typography } from './system/content/typography';
13
16
  export type { TypographyTextProps } from './system/content/typography/Typography';
14
- export { Typography } from './system/content/typography/Typography';
17
+ export type { TypographyIconProps } from './system/content/typography/TypographyIcon';
18
+ export type { TypographyLinkProps } from './system/content/typography/TypographyLink';
15
19
  export { useBreakpointValue } from './system/core/breakpoints/hooks/useBreakpointValue';
16
20
  export { useCurrentBreakpointName } from './system/core/breakpoints/hooks/useCurrentBreakpointName';
17
21
  export { useWindowSize } from './system/core/breakpoints/hooks/useWindowSize';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAGvE,YAAY,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,YAAY,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,YAAY,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AACtF,OAAO,EAAE,UAAU,EAAE,MAAM,gDAAgD,CAAC;AAC5E,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC3F,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AACvE,YAAY,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAGrD,YAAY,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAGpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,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B,EAAE,MAAM,wCAAwC,CAAC;AAClF,YAAY,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AACtF,YAAY,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AAGtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,wBAAwB,EAAE,MAAM,0DAA0D,CAAC;AACpG,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAC9E,YAAY,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAC/E,YAAY,EAAE,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AAC3F,OAAO,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare const StoryTitle: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps & import("../../system/content/typography/Typography").TypographyTextProps, import("@tamagui/core").TextStylePropsBase, {
1
+ export declare const StoryTitle: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps & import("../..").TypographyTextProps, import("@tamagui/core").TextStylePropsBase, {
2
2
  variant?: "heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "heading-2xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s" | "content-caps-3xl" | "content-caps-2xl" | "content-caps-xl" | "content-caps-l" | "content-caps-m" | "content-caps-s" | "content-caps-xs" | undefined;
3
3
  weight?: "bold" | "semibold" | "regular" | undefined;
4
4
  level?: 1 | 2 | 3 | undefined;
@@ -0,0 +1,8 @@
1
+ import type { ArgTypes } from '@storybook/react';
2
+ export declare const backgroundColorArgType: ArgTypes[string];
3
+ export declare const spaceArgType: ArgTypes[string];
4
+ export declare const sizeArgType: ArgTypes[string];
5
+ export declare const radiusArgType: ArgTypes[string];
6
+ export declare const contentColorArgType: ArgTypes[string];
7
+ export declare const borderColorArgType: ArgTypes[string];
8
+ //# sourceMappingURL=argsHelpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"argsHelpers.d.ts","sourceRoot":"","sources":["../../../../../src/shared/storybook/helpers/argsHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAYjD,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,MAAM,CAInD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,MAAM,CAIzC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,CAIxC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,CAI1C,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAIhD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,MAAM,CAI/C,CAAC"}
@@ -4,18 +4,15 @@ declare const IconContainer: import("@tamagui/core").TamaguiComponent<import("@t
4
4
  size?: import("@tamagui/core").SizeTokens | undefined;
5
5
  }, import("@tamagui/core").StaticConfigPublic>;
6
6
  type IconContainerProps = GetProps<typeof IconContainer>;
7
- interface IconElementProps {
8
- color?: ColorTokens;
9
- }
10
- interface IconProps {
11
- icon: ReactElement<IconElementProps>;
7
+ interface InternalIconProps {
8
+ icon: ReactElement;
12
9
  color?: ColorTokens;
13
10
  size?: IconContainerProps['size'];
14
11
  testID?: IconContainerProps['testID'];
15
12
  /** @ignore */
16
13
  alignSelf?: IconContainerProps['alignSelf'];
17
14
  }
18
- type IconWithMediaProps = IconProps & WithMediaProps<IconProps>;
19
- export declare function Icon({ icon, color, size, testID, alignSelf, }: IconWithMediaProps): ReactNode;
15
+ export type IconProps = InternalIconProps & WithMediaProps<InternalIconProps>;
16
+ export declare function Icon({ icon, color, size, testID, alignSelf }: IconProps): ReactNode;
20
17
  export {};
21
18
  //# sourceMappingURL=Icon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../src/system/content/icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE3E,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,QAAA,MAAM,aAAa;;8CAYjB,CAAC;AAEH,KAAK,kBAAkB,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAEzD,UAAU,gBAAgB;IACxB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,UAAU,SAAS;IACjB,IAAI,EAAE,YAAY,CAAC,gBAAgB,CAAC,CAAC;IACrC,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,IAAI,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAClC,MAAM,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IACtC,cAAc;IACd,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;CAC7C;AAED,KAAK,kBAAkB,GAAG,SAAS,GAAG,cAAc,CAAC,SAAS,CAAC,CAAC;AAEhE,wBAAgB,IAAI,CAAC,EACnB,IAAI,EACJ,KAA0B,EAC1B,IAAiB,EACjB,MAAM,EACN,SAAS,GACV,EAAE,kBAAkB,GAAG,SAAS,CAUhC"}
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../src/system/content/icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE3E,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,QAAA,MAAM,aAAa;;8CAYjB,CAAC;AAEH,KAAK,kBAAkB,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAEzD,UAAU,iBAAiB;IACzB,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,IAAI,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAClC,MAAM,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IACtC,cAAc;IACd,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;CAC7C;AAED,MAAM,MAAM,SAAS,GAAG,iBAAiB,GAAG,cAAc,CAAC,iBAAiB,CAAC,CAAC;AAE9E,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,KAA0B,EAAE,IAAiB,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,SAAS,GAAG,SAAS,CAUrH"}
@@ -1,6 +1,6 @@
1
- import type { GetProps, TamaguiComponent, WithMediaProps } from '@tamagui/core';
1
+ import type { ColorTokens, GetProps, TamaguiComponent, WithMediaProps } from '@tamagui/core';
2
2
  import { type Except } from 'type-fest';
3
- import type { BodyFontVariants, ContentCapsVariants, FontVariants, HeadingFontVariants, LabelFontVariants } from '../../core/tokens/fonts';
3
+ import type { BodyFontVariants, ContentCapsVariants, HeadingFontVariants, LabelFontVariants } from '../../core/tokens/fonts';
4
4
  type PropsWithoutMedia<A> = {
5
5
  [Key in keyof A as Key extends `$${string}` ? never : Key]?: A[Key];
6
6
  };
@@ -10,11 +10,10 @@ declare const InternalTypography: TamaguiComponent<import("@tamagui/core").TamaD
10
10
  weight?: "bold" | "semibold" | "regular" | undefined;
11
11
  }, import("@tamagui/core").StaticConfigPublic>;
12
12
  export type InternalTypographyProps = GetProps<typeof InternalTypography>;
13
- export type TypographyVariantContextValue = FontVariants | null;
14
- export type TypographyWeightContextValue = 'regular' | 'bold' | 'semibold' | null;
15
- export type TypograhyColorContextValue = InternalTypographyProps['color'] | null;
16
- type TypographyExcludedFontStyleProps = 'fontFamily' | 'fontSize' | 'lineHeight' | 'fontStyle' | 'fontVariant' | 'fontWeight';
17
- type TypographyPropsWithoutFontStyleProps = Except<InternalTypographyProps, TypographyExcludedFontStyleProps>;
13
+ type TypographyExcludedFontStyleProps = 'fontFamily' | 'fontSize' | 'lineHeight' | 'fontStyle' | 'fontVariant' | 'fontWeight' | 'color';
14
+ type TypographyPropsWithoutFontStyleProps = Except<InternalTypographyProps, TypographyExcludedFontStyleProps> & {
15
+ color: ColorTokens;
16
+ };
18
17
  export interface BodyProps extends TypographyPropsWithoutFontStyleProps {
19
18
  variant?: BodyFontVariants;
20
19
  weight?: 'regular' | 'bold';
@@ -28,17 +27,10 @@ export interface ContentCapsProps extends TypographyPropsWithoutFontStyleProps {
28
27
  weight?: 'bold';
29
28
  }
30
29
  export type TypographyTextProps = OverrideTamaguiComponentProps<BodyProps> | OverrideTamaguiComponentProps<HeadingLabelProps> | OverrideTamaguiComponentProps<ContentCapsProps>;
31
- export declare const Typography: {
32
- Text: TamaguiComponent<TypographyTextProps, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps & TypographyTextProps, import("@tamagui/core").TextStylePropsBase, {
33
- variant?: "heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "heading-2xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s" | "content-caps-3xl" | "content-caps-2xl" | "content-caps-xl" | "content-caps-l" | "content-caps-m" | "content-caps-s" | "content-caps-xs" | undefined;
34
- weight?: "bold" | "semibold" | "regular" | undefined;
35
- }, import("@tamagui/core").StaticConfigPublic>;
36
- Header1: TamaguiComponent<TypographyTextProps>;
37
- Header2: TamaguiComponent<TypographyTextProps>;
38
- Header3: TamaguiComponent<TypographyTextProps>;
39
- Header4: TamaguiComponent<TypographyTextProps>;
40
- Header5: TamaguiComponent<TypographyTextProps>;
41
- Header6: TamaguiComponent<TypographyTextProps>;
42
- };
30
+ export declare const TypographyBase: TamaguiComponent<TypographyTextProps, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps & TypographyTextProps, import("@tamagui/core").TextStylePropsBase, {
31
+ variant?: "heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "heading-2xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s" | "content-caps-3xl" | "content-caps-2xl" | "content-caps-xl" | "content-caps-l" | "content-caps-m" | "content-caps-s" | "content-caps-xs" | undefined;
32
+ weight?: "bold" | "semibold" | "regular" | undefined;
33
+ }, import("@tamagui/core").StaticConfigPublic>;
34
+ export declare const createHeading: (level: number) => TamaguiComponent<TypographyTextProps>;
43
35
  export {};
44
36
  //# sourceMappingURL=Typography.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../../../src/system/content/typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAuB,gBAAgB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGrG,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EACV,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,yBAAyB,CAAC;AAIjC,KAAK,iBAAiB,CAAC,CAAC,IAAI;KAEzB,GAAG,IAAI,MAAM,CAAC,IAAI,GAAG,SAAS,IAAI,MAAM,EAAE,GAAG,KAAK,GAAG,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC;CACpE,CAAC;AAEF,KAAK,6BAA6B,CAAC,CAAC,IAAI,iBAAiB,CAA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AAmB,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,mBAAmB,GAC3B,6BAA6B,CAAC,SAAS,CAAC,GACxC,6BAA6B,CAAC,iBAAiB,CAAC,GAChD,6BAA6B,CAAC,gBAAgB,CAAC,CAAC;AAEpD,eAAO,MAAM,cAAc;;;8CAgDzB,CAAC;AAEH,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,KAAG,gBAAgB,CAAC,mBAAmB,CAIjF,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { type ReactNode } from 'react';
2
+ import type { Except } from 'type-fest';
3
+ import type { IconProps } from '../icon/Icon';
4
+ import type { TypographyTextProps } from './Typography';
5
+ export interface TypographyIconProps extends Except<IconProps, 'color'> {
6
+ color?: TypographyTextProps['color'];
7
+ }
8
+ export declare function TypographyIcon({ color, ...props }: TypographyIconProps): ReactNode;
9
+ //# sourceMappingURL=TypographyIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TypographyIcon.d.ts","sourceRoot":"","sources":["../../../../../src/system/content/typography/TypographyIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAIxD,MAAM,WAAW,mBAAoB,SAAQ,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC;IACrE,KAAK,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;CACtC;AAgBD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,GAAG,SAAS,CAMlF"}
@@ -0,0 +1,9 @@
1
+ import type { GetProps } from '@tamagui/core';
2
+ export declare const TypographyLink: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps & import("./Typography").TypographyTextProps, import("@tamagui/core").TextStylePropsBase, {
3
+ disabled?: boolean | undefined;
4
+ variant?: "heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "heading-2xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s" | "content-caps-3xl" | "content-caps-2xl" | "content-caps-xl" | "content-caps-l" | "content-caps-m" | "content-caps-s" | "content-caps-xs" | undefined;
5
+ weight?: "bold" | "semibold" | "regular" | undefined;
6
+ noUnderline?: boolean | undefined;
7
+ }, import("@tamagui/core").StaticConfigPublic>;
8
+ export type TypographyLinkProps = GetProps<typeof TypographyLink>;
9
+ //# sourceMappingURL=TypographyLink.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TypographyLink.d.ts","sourceRoot":"","sources":["../../../../../src/system/content/typography/TypographyLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAI9C,eAAO,MAAM,cAAc;;;;;8CA+BzB,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { GetProps } from '@tamagui/core';
2
+ import type { ReactNode } from 'react';
3
+ declare const InternalTypographyView: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {}, import("@tamagui/core").StaticConfigPublic>;
4
+ type TypographyViewProps = GetProps<typeof InternalTypographyView>;
5
+ /**
6
+ *
7
+ * A wrapper component that applies typography styles to its children in order to maintain consistent style between web and native
8
+ * In native, it simply renders a View as it renders correctly by default
9
+ * In web, it ensures that the display is set to inline-flex when inside a Typography context
10
+ *
11
+ * React Native Web includes this implementation in its codebase
12
+ * but Tamagui does not use React Native Webview, we need to implement it ourselves
13
+ *
14
+ * Inside a Typography component, always use TypographyView to wrap external components like Icon or Svg
15
+ */
16
+ export declare function TypographyView(props: TypographyViewProps): ReactNode;
17
+ export {};
18
+ //# sourceMappingURL=TypographyView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TypographyView.d.ts","sourceRoot":"","sources":["../../../../../src/system/content/typography/TypographyView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,QAAA,MAAM,sBAAsB,iQAE1B,CAAC;AAEH,KAAK,mBAAmB,GAAG,QAAQ,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEnE;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,GAAG,SAAS,CAWpE"}
@@ -0,0 +1,21 @@
1
+ import { TypographyIcon } from './TypographyIcon';
2
+ export declare const Typography: {
3
+ Text: import("@tamagui/web").TamaguiComponent<import("./Typography").TypographyTextProps, import("@tamagui/web").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps & import("./Typography").TypographyTextProps, import("@tamagui/web").TextStylePropsBase, {
4
+ variant?: "heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "heading-2xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s" | "content-caps-3xl" | "content-caps-2xl" | "content-caps-xl" | "content-caps-l" | "content-caps-m" | "content-caps-s" | "content-caps-xs" | undefined;
5
+ weight?: "bold" | "semibold" | "regular" | undefined;
6
+ }, import("@tamagui/web").StaticConfigPublic>;
7
+ Header1: import("@tamagui/web").TamaguiComponent<import("./Typography").TypographyTextProps>;
8
+ Header2: import("@tamagui/web").TamaguiComponent<import("./Typography").TypographyTextProps>;
9
+ Header3: import("@tamagui/web").TamaguiComponent<import("./Typography").TypographyTextProps>;
10
+ Header4: import("@tamagui/web").TamaguiComponent<import("./Typography").TypographyTextProps>;
11
+ Header5: import("@tamagui/web").TamaguiComponent<import("./Typography").TypographyTextProps>;
12
+ Header6: import("@tamagui/web").TamaguiComponent<import("./Typography").TypographyTextProps>;
13
+ Icon: typeof TypographyIcon;
14
+ Link: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps & import("./Typography").TypographyTextProps, import("@tamagui/web").TextStylePropsBase, {
15
+ disabled?: boolean | undefined;
16
+ variant?: "heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "heading-2xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s" | "content-caps-3xl" | "content-caps-2xl" | "content-caps-xl" | "content-caps-l" | "content-caps-m" | "content-caps-s" | "content-caps-xs" | undefined;
17
+ weight?: "bold" | "semibold" | "regular" | undefined;
18
+ noUnderline?: boolean | undefined;
19
+ }, import("@tamagui/web").StaticConfigPublic>;
20
+ };
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/system/content/typography/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;CAUtB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { FontVariants } from '../../../core/tokens/fonts';
2
- import type { InternalTypographyProps, TypographyTextProps, TypographyVariantContextValue, TypographyWeightContextValue } from '../Typography';
2
+ import type { InternalTypographyProps, TypographyTextProps } from '../Typography';
3
+ import type { TypographyVariantContextValue, TypographyWeightContextValue } from './typographyContext';
3
4
  interface VariantAndWeightValues {
4
5
  weight: InternalTypographyProps['weight'] | undefined;
5
6
  variant: FontVariants | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"getVariantAndWeightValues.d.ts","sourceRoot":"","sources":["../../../../../../src/system/content/typography/utils/getVariantAndWeightValues.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,KAAK,EACV,uBAAuB,EACvB,mBAAmB,EACnB,6BAA6B,EAC7B,4BAA4B,EAC7B,MAAM,eAAe,CAAC;AAEvB,UAAU,sBAAsB;IAC9B,MAAM,EAAE,uBAAuB,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC;IACtD,OAAO,EAAE,YAAY,GAAG,SAAS,CAAC;CACnC;AAED,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,mBAAmB,CAAC,QAAQ,CAAC,EACzC,WAAW,EAAE,mBAAmB,CAAC,SAAS,CAAC,EAC3C,6BAA6B,EAAE,4BAA4B,EAC3D,8BAA8B,EAAE,6BAA6B,GAC5D,sBAAsB,CAuBxB"}
1
+ {"version":3,"file":"getVariantAndWeightValues.d.ts","sourceRoot":"","sources":["../../../../../../src/system/content/typography/utils/getVariantAndWeightValues.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,KAAK,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,KAAK,EAAE,6BAA6B,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAEvG,UAAU,sBAAsB;IAC9B,MAAM,EAAE,uBAAuB,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC;IACtD,OAAO,EAAE,YAAY,GAAG,SAAS,CAAC;CACnC;AAED,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,mBAAmB,CAAC,QAAQ,CAAC,EACzC,WAAW,EAAE,mBAAmB,CAAC,SAAS,CAAC,EAC3C,6BAA6B,EAAE,4BAA4B,EAC3D,8BAA8B,EAAE,6BAA6B,GAC5D,sBAAsB,CAuBxB"}
@@ -0,0 +1,16 @@
1
+ import type { FontVariants } from '../../../core/tokens/fonts';
2
+ import type { TypographyTextProps } from '../Typography';
3
+ export type TypographyVariantContextValue = FontVariants | null;
4
+ export type TypographyWeightContextValue = 'regular' | 'bold' | 'semibold' | null;
5
+ export type TypograhyColorContextValue = TypographyTextProps['color'] | null;
6
+ type TypographyContextValue = boolean;
7
+ export declare const TypographyVariantContext: import("react").Context<TypographyVariantContextValue>;
8
+ export declare const TypographyWeightContext: import("react").Context<TypographyWeightContextValue>;
9
+ export declare const TypograhyColorContext: import("react").Context<TypograhyColorContextValue>;
10
+ export declare const TypographyContext: import("react").Context<boolean>;
11
+ export declare const useTypographyColor: () => TypograhyColorContextValue;
12
+ export declare const useTypographyVariant: () => TypographyVariantContextValue;
13
+ export declare const useTypographyWeight: () => TypographyWeightContextValue;
14
+ export declare const useTypographyContext: () => TypographyContextValue;
15
+ export {};
16
+ //# sourceMappingURL=typographyContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typographyContext.d.ts","sourceRoot":"","sources":["../../../../../../src/system/content/typography/utils/typographyContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEzD,MAAM,MAAM,6BAA6B,GAAG,YAAY,GAAG,IAAI,CAAC;AAChE,MAAM,MAAM,4BAA4B,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,IAAI,CAAC;AAClF,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;AAC7E,KAAK,sBAAsB,GAAG,OAAO,CAAC;AAEtC,eAAO,MAAM,wBAAwB,wDAAqD,CAAC;AAC3F,eAAO,MAAM,uBAAuB,uDAAoD,CAAC;AACzF,eAAO,MAAM,qBAAqB,qDAAkD,CAAC;AACrF,eAAO,MAAM,iBAAiB,kCAAgC,CAAC;AAE/D,eAAO,MAAM,kBAAkB,QAAO,0BAErC,CAAC;AAEF,eAAO,MAAM,oBAAoB,QAAO,6BAEvC,CAAC;AAEF,eAAO,MAAM,mBAAmB,QAAO,4BAEtC,CAAC;AAEF,eAAO,MAAM,oBAAoB,QAAO,sBAEvC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type { ImageProps } from '@tamagui/image';
2
+ export { Image } from '@tamagui/image';
3
+ //# sourceMappingURL=Image.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../../src/system/core/primitives/Image/Image.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Theme } from '../themes';
2
+ export declare const light: Theme;
3
+ //# sourceMappingURL=light.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../../../../../src/system/core/themes/light/light.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAGvC,eAAO,MAAM,KAAK,EAAE,KA6DnB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export interface Theme extends Record<(typeof SEMANTIC_TOKENS_CONTENT | typeof SEMANTIC_TOKENS_BACKGROUND | typeof SEMANTIC_TOKENS_BORDER)[number], string> {
2
+ }
3
+ export declare const SEMANTIC_TOKENS_CONTENT: readonly ["content.base.low", "content.base.mid", "content.base.hi", "content.base.onContrasted.low", "content.base.onContrasted.mid", "content.base.onContrasted.hi", "content.accent", "content.promo", "content.promo.onContrasted", "content.info", "content.success", "content.warning", "content.danger", "content.muted", "content.disabled", "content.disabled.onContrasted"];
4
+ export declare const SEMANTIC_TOKENS_BACKGROUND: readonly ["bg.base.low.default", "bg.base.low.pressed", "bg.base.mid.default", "bg.base.mid.pressed", "bg.base.hi.default", "bg.base.hi.pressed", "bg.accent.default", "bg.accent.pressed", "bg.promo.mid.default", "bg.promo.mid.pressed", "bg.promo.hi.default", "bg.promo.hi.pressed", "bg.highlight.mid.default", "bg.highlight.mid.pressed", "bg.highlight.hi.default", "bg.highlight.hi.pressed", "bg.info.mid", "bg.info.hi", "bg.success.mid", "bg.success.hi", "bg.warning.mid", "bg.warning.hi", "bg.danger.mid", "bg.danger.hi", "bg.disabled.mid", "bg.disabled.hi", "bg.overlay"];
5
+ export declare const SEMANTIC_TOKENS_BORDER: readonly ["border.base.low", "border.base.mid", "border.base.hi", "border.base.onContrasted.mid", "border.base.onContrasted.hi", "border.base.accent", "border.info", "border.success", "border.warning", "border.danger", "border.disabled", "border.highlight"];
6
+ //# sourceMappingURL=themes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../../../../src/system/core/themes/themes.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KACf,SAAQ,MAAM,CACZ,CAAC,OAAO,uBAAuB,GAAG,OAAO,0BAA0B,GAAG,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,EAC5G,MAAM,CACP;CAAG;AAEN,eAAO,MAAM,uBAAuB,uXAiB1B,CAAC;AAEX,eAAO,MAAM,0BAA0B,gkBA4B7B,CAAC;AAEX,eAAO,MAAM,sBAAsB,mQAazB,CAAC"}
@@ -84,63 +84,7 @@ export declare const config: import("@tamagui/core").TamaguiInternalConfig<{
84
84
  "radius.circle": import("@tamagui/core").Variable<number>;
85
85
  };
86
86
  }, "color" | "space" | "size" | "radius" | "zIndex">, {
87
- light: {
88
- 'content.base.low': string;
89
- 'content.base.mid': string;
90
- 'content.base.hi': string;
91
- 'content.base.onContrasted.low': string;
92
- 'content.base.onContrasted.mid': string;
93
- 'content.base.onContrasted.hi': string;
94
- 'content.accent': string;
95
- 'content.promo': string;
96
- 'content.promo.onContrasted': string;
97
- 'content.info': string;
98
- 'content.success': string;
99
- 'content.warning': string;
100
- 'content.danger': string;
101
- 'content.muted': string;
102
- 'content.disabled': string;
103
- 'content.disabled.onContrasted': string;
104
- 'bg.base.low.default': string;
105
- 'bg.base.low.pressed': string;
106
- 'bg.base.mid.default': string;
107
- 'bg.base.mid.pressed': string;
108
- 'bg.base.hi.default': string;
109
- 'bg.base.hi.pressed': string;
110
- 'bg.accent.default': string;
111
- 'bg.accent.pressed': string;
112
- 'bg.promo.mid.default': string;
113
- 'bg.promo.mid.pressed': string;
114
- 'bg.promo.hi.default': string;
115
- 'bg.promo.hi.pressed': string;
116
- 'bg.highlight.mid.default': string;
117
- 'bg.highlight.mid.pressed': string;
118
- 'bg.highlight.hi.default': string;
119
- 'bg.highlight.hi.pressed': string;
120
- 'bg.info.mid': string;
121
- 'bg.info.hi': string;
122
- 'bg.success.mid': string;
123
- 'bg.success.hi': string;
124
- 'bg.warning.mid': string;
125
- 'bg.warning.hi': string;
126
- 'bg.danger.mid': string;
127
- 'bg.danger.hi': string;
128
- 'bg.disabled.mid': string;
129
- 'bg.disabled.hi': string;
130
- 'bg.overlay': string;
131
- 'border.base.low': string;
132
- 'border.base.mid': string;
133
- 'border.base.hi': string;
134
- 'border.base.onContrasted.mid': string;
135
- 'border.base.onContrasted.hi': string;
136
- 'border.base.accent': string;
137
- 'border.info': string;
138
- 'border.success': string;
139
- 'border.warning': string;
140
- 'border.danger': string;
141
- 'border.disabled': string;
142
- 'border.highlight': string;
143
- };
87
+ light: import("./system/core/themes/themes").Theme;
144
88
  }, {}, {
145
89
  base: {
146
90
  minWidth: number;
@@ -1 +1 @@
1
- {"version":3,"file":"tamagui.config.d.ts","sourceRoot":"","sources":["../../src/tamagui.config.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,KAAK;;;;;;;CAOhB,CAAC;AASH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBjB,CAAC;AAEH,KAAK,IAAI,GAAG,OAAO,MAAM,CAAC;AAG1B,OAAO,QAAQ,eAAe,CAAC;IAC7B,UAAU,mBAAoB,SAAQ,IAAI;KAAG;CAC9C"}
1
+ {"version":3,"file":"tamagui.config.d.ts","sourceRoot":"","sources":["../../src/tamagui.config.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,KAAK;;;;;;;CAOhB,CAAC;AASH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBjB,CAAC;AAEH,KAAK,IAAI,GAAG,OAAO,MAAM,CAAC;AAG1B,OAAO,QAAQ,eAAe,CAAC;IAC7B,UAAU,mBAAoB,SAAQ,IAAI;KAAG;CAC9C"}