@ornikar/bumper 2.7.1 → 2.7.2-canary.1768566928.e85c568dc49c9180e37b7aec8792b1e8d45968a6.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.
- package/CHANGELOG.md +10 -0
- package/dist/definitions/index.d.ts +19 -19
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/shared/storybook/BumperDecorator.d.ts.map +1 -0
- package/dist/definitions/{story-components → shared/storybook}/StorySection.d.ts +1 -1
- package/dist/definitions/shared/storybook/StorySection.d.ts.map +1 -0
- package/dist/definitions/{story-components → shared/storybook}/StoryTitle.d.ts +1 -1
- package/dist/definitions/shared/storybook/StoryTitle.d.ts.map +1 -0
- package/dist/definitions/{components → system/content}/typography/Typography.d.ts +1 -1
- package/dist/definitions/system/content/typography/Typography.d.ts.map +1 -0
- package/dist/definitions/{components → system/content}/typography/utils/getVariantAndWeightValues.d.ts +1 -1
- package/dist/definitions/system/content/typography/utils/getVariantAndWeightValues.d.ts.map +1 -0
- package/dist/definitions/system/core/breakpoints/SwitchBreakpoins.d.ts.map +1 -0
- package/dist/definitions/{themes/utils/breakpoints.d.ts → system/core/breakpoints/constants.d.ts} +1 -1
- package/dist/definitions/system/core/breakpoints/constants.d.ts.map +1 -0
- package/dist/definitions/system/core/breakpoints/hooks/useBreakpointValue.d.ts.map +1 -0
- package/dist/definitions/system/core/breakpoints/hooks/useCurrentBreakpointName.d.ts +3 -0
- package/dist/definitions/system/core/breakpoints/hooks/useCurrentBreakpointName.d.ts.map +1 -0
- package/dist/definitions/system/core/breakpoints/hooks/useWindowSize.d.ts.map +1 -0
- package/dist/definitions/{components → system/core}/breakpoints/utils/breakpointsUtils.d.ts +1 -1
- package/dist/definitions/system/core/breakpoints/utils/breakpointsUtils.d.ts.map +1 -0
- package/dist/definitions/system/core/primitives/Center.d.ts.map +1 -0
- package/dist/definitions/system/core/primitives/Pressable.d.ts.map +1 -0
- package/dist/definitions/system/core/primitives/Stack.d.ts.map +1 -0
- package/dist/definitions/system/core/primitives/View.d.ts.map +1 -0
- package/dist/definitions/system/core/provider/BumperProvider.d.ts.map +1 -0
- package/dist/definitions/system/core/themes/light.d.ts.map +1 -0
- package/dist/definitions/system/core/tokens/fonts.d.ts +17 -0
- package/dist/definitions/system/core/tokens/fonts.d.ts.map +1 -0
- package/dist/definitions/system/core/tokens/palettes/deepPurpleColorPalette.d.ts.map +1 -0
- package/dist/definitions/system/core/tokens/radius.d.ts.map +1 -0
- package/dist/definitions/system/core/tokens/size.d.ts.map +1 -0
- package/dist/definitions/system/core/tokens/space.d.ts.map +1 -0
- package/dist/definitions/tamagui.config.d.ts +37 -3
- package/dist/definitions/tamagui.config.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +25 -50
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +25 -50
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.22.cjs.js +25 -50
- package/dist/index-node-22.22.cjs.js.map +1 -1
- package/dist/index-node-22.22.cjs.web.js +25 -50
- package/dist/index-node-22.22.cjs.web.js.map +1 -1
- package/dist/index-node-22.22.es.mjs +25 -50
- package/dist/index-node-22.22.es.mjs.map +1 -1
- package/dist/index-node-22.22.es.web.mjs +25 -50
- package/dist/index-node-22.22.es.web.mjs.map +1 -1
- package/dist/index.es.js +19 -44
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +19 -44
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +8 -8
- package/src/index.ts +19 -19
- package/src/{core → shared/storybook}/BumperDecorator.tsx +1 -1
- package/src/{story-components → shared/storybook}/StorySection.tsx +1 -2
- package/src/{story-components → shared/storybook}/StoryTitle.tsx +1 -1
- package/src/{components → system/content}/typography/Typography.stories.tsx +4 -4
- package/src/{components → system/content}/typography/Typography.tsx +1 -1
- package/src/{components → system/content}/typography/__snapshots__/Typography.stories.tsx.snap +75 -75
- package/src/{components → system/content}/typography/__snapshots_web__/Typography.stories.tsx.snap +76 -76
- package/src/{components → system/content}/typography/utils/getVariantAndWeightValues.test.tsx +1 -1
- package/src/{components → system/content}/typography/utils/getVariantAndWeightValues.tsx +2 -2
- package/src/{components → system/core}/breakpoints/__snapshots_web__/breakpoints.stories.tsx.snap +1 -1
- package/src/{components → system/core}/breakpoints/breakpoints.stories.tsx +1 -1
- package/src/{components → system/core}/breakpoints/hooks/useBreakpointValue.test.ts +1 -1
- package/src/{components → system/core}/breakpoints/hooks/useCurrentBreakpointName.test.ts +1 -1
- package/src/{components → system/core}/breakpoints/hooks/useCurrentBreakpointName.ts +1 -1
- package/src/{components → system/core}/breakpoints/utils/breakpointsUtils.test.ts +1 -1
- package/src/{components → system/core}/breakpoints/utils/breakpointsUtils.ts +1 -1
- package/src/{components → system/core}/primitives/Pressable.stories.tsx +1 -1
- package/src/{components → system/core}/primitives/__snapshots_web__/Center.stories.tsx.snap +1 -1
- package/src/{components → system/core}/primitives/__snapshots_web__/Pressable.stories.tsx.snap +1 -1
- package/src/{components → system/core}/primitives/__snapshots_web__/Stack.stories.tsx.snap +1 -1
- package/src/{components → system/core}/primitives/__snapshots_web__/View.stories.tsx.snap +1 -1
- package/src/{core → system/core/provider}/BumperProvider.tsx +1 -1
- package/src/{themes → system/core/themes}/__snapshots__/light.stories.tsx.snap +1 -1
- package/src/{themes → system/core/themes}/__snapshots_web__/light.stories.tsx.snap +2 -2
- package/src/{themes → system/core/themes}/light.stories.tsx +4 -4
- package/src/{themes → system/core/themes}/light.ts +3 -2
- package/src/{tokens → system/core/tokens}/fonts.ts +5 -16
- package/src/{tokens → system/core/tokens}/palettes/__snapshots__/deepPurpleColorPalette.stories.tsx.snap +1 -1
- package/src/{tokens → system/core/tokens}/palettes/__snapshots_web__/deepPurpleColorPalette.stories.tsx.snap +2 -2
- package/src/{tokens → system/core/tokens}/palettes/deepPurpleColorPalette.stories.tsx +3 -3
- package/src/tamagui.config.ts +16 -7
- package/dist/definitions/components/breakpoints/SwitchBreakpoins.d.ts.map +0 -1
- package/dist/definitions/components/breakpoints/hooks/useBreakpointValue.d.ts.map +0 -1
- package/dist/definitions/components/breakpoints/hooks/useCurrentBreakpointName.d.ts +0 -3
- package/dist/definitions/components/breakpoints/hooks/useCurrentBreakpointName.d.ts.map +0 -1
- package/dist/definitions/components/breakpoints/hooks/useWindowSize.d.ts.map +0 -1
- package/dist/definitions/components/breakpoints/utils/breakpointsUtils.d.ts.map +0 -1
- package/dist/definitions/components/primitives/Center.d.ts.map +0 -1
- package/dist/definitions/components/primitives/Pressable.d.ts.map +0 -1
- package/dist/definitions/components/primitives/Stack.d.ts.map +0 -1
- package/dist/definitions/components/primitives/View.d.ts.map +0 -1
- package/dist/definitions/components/typography/Typography.d.ts.map +0 -1
- package/dist/definitions/components/typography/utils/getVariantAndWeightValues.d.ts.map +0 -1
- package/dist/definitions/core/BumperDecorator.d.ts.map +0 -1
- package/dist/definitions/core/BumperProvider.d.ts.map +0 -1
- package/dist/definitions/story-components/StorySection.d.ts.map +0 -1
- package/dist/definitions/story-components/StoryTitle.d.ts.map +0 -1
- package/dist/definitions/themes/light.d.ts.map +0 -1
- package/dist/definitions/themes/utils/breakpoints.d.ts.map +0 -1
- package/dist/definitions/tokens/fonts.d.ts +0 -20
- package/dist/definitions/tokens/fonts.d.ts.map +0 -1
- package/dist/definitions/tokens/palettes/deepPurpleColorPalette.d.ts.map +0 -1
- package/dist/definitions/tokens/radius.d.ts.map +0 -1
- package/dist/definitions/tokens/size.d.ts.map +0 -1
- package/dist/definitions/tokens/space.d.ts.map +0 -1
- /package/dist/definitions/{core → shared/storybook}/BumperDecorator.d.ts +0 -0
- /package/dist/definitions/{components → system/core}/breakpoints/SwitchBreakpoins.d.ts +0 -0
- /package/dist/definitions/{components → system/core}/breakpoints/hooks/useBreakpointValue.d.ts +0 -0
- /package/dist/definitions/{components → system/core}/breakpoints/hooks/useWindowSize.d.ts +0 -0
- /package/dist/definitions/{components → system/core}/primitives/Center.d.ts +0 -0
- /package/dist/definitions/{components → system/core}/primitives/Pressable.d.ts +0 -0
- /package/dist/definitions/{components → system/core}/primitives/Stack.d.ts +0 -0
- /package/dist/definitions/{components → system/core}/primitives/View.d.ts +0 -0
- /package/dist/definitions/{core → system/core/provider}/BumperProvider.d.ts +0 -0
- /package/dist/definitions/{themes → system/core/themes}/light.d.ts +0 -0
- /package/dist/definitions/{tokens → system/core/tokens}/palettes/deepPurpleColorPalette.d.ts +0 -0
- /package/dist/definitions/{tokens → system/core/tokens}/radius.d.ts +0 -0
- /package/dist/definitions/{tokens → system/core/tokens}/size.d.ts +0 -0
- /package/dist/definitions/{tokens → system/core/tokens}/space.d.ts +0 -0
- /package/src/{components → system/core}/breakpoints/SwitchBreakpoins.tsx +0 -0
- /package/src/{components → system/core}/breakpoints/__snapshots__/breakpoints.stories.tsx.snap +0 -0
- /package/src/{themes/utils/breakpoints.ts → system/core/breakpoints/constants.ts} +0 -0
- /package/src/{components → system/core}/breakpoints/hooks/useBreakpointValue.ts +0 -0
- /package/src/{components → system/core}/breakpoints/hooks/useWindowSize.ts +0 -0
- /package/src/{components → system/core}/primitives/Center.stories.tsx +0 -0
- /package/src/{components → system/core}/primitives/Center.ts +0 -0
- /package/src/{components → system/core}/primitives/Pressable.tsx +0 -0
- /package/src/{components → system/core}/primitives/Stack.stories.tsx +0 -0
- /package/src/{components → system/core}/primitives/Stack.tsx +0 -0
- /package/src/{components → system/core}/primitives/View.stories.tsx +0 -0
- /package/src/{components → system/core}/primitives/View.ts +0 -0
- /package/src/{components → system/core}/primitives/__snapshots__/Center.stories.tsx.snap +0 -0
- /package/src/{components → system/core}/primitives/__snapshots__/Pressable.stories.tsx.snap +0 -0
- /package/src/{components → system/core}/primitives/__snapshots__/Stack.stories.tsx.snap +0 -0
- /package/src/{components → system/core}/primitives/__snapshots__/View.stories.tsx.snap +0 -0
- /package/src/{tokens → system/core/tokens}/palettes/deepPurpleColorPalette.ts +0 -0
- /package/src/{tokens → system/core/tokens}/radius.ts +0 -0
- /package/src/{tokens → system/core/tokens}/size.ts +0 -0
- /package/src/{tokens → system/core/tokens}/space.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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
|
+
## <small>2.7.2-canary.1768566928.e85c568dc49c9180e37b7aec8792b1e8d45968a6.0 (2026-01-16)</small>
|
|
7
|
+
|
|
8
|
+
* refactor(bumper): rework scaffolding [no issue] (#2844) ([03b71fb](https://github.com/ornikar/kitt/commit/03b71fb)), closes [#2844](https://github.com/ornikar/kitt/issues/2844)
|
|
9
|
+
* chore(deps): bump expo and associated deps in package.json ([5f2de07](https://github.com/ornikar/kitt/commit/5f2de07))
|
|
10
|
+
* chore(jest): regenerated snapshots ([3aebdfe](https://github.com/ornikar/kitt/commit/3aebdfe))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
6
16
|
## [2.7.1](https://github.com/ornikar/kitt/compare/@ornikar/bumper@2.7.0...@ornikar/bumper@2.7.1) (2026-01-14)
|
|
7
17
|
|
|
8
18
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export { BumperDecorator } from './
|
|
2
|
-
export { BumperProvider } from './core/BumperProvider';
|
|
3
|
-
export type { CenterProps } from './
|
|
4
|
-
export { Center } from './
|
|
5
|
-
export type { PressableProps } from './
|
|
6
|
-
export { Pressable } from './
|
|
7
|
-
export type { HStackProps, StackProps, VStackProps } from './
|
|
8
|
-
export { HStack, Stack, VStack } from './
|
|
9
|
-
export type { ViewProps } from './
|
|
10
|
-
export { View } from './
|
|
11
|
-
export type { TypographyTextProps } from './
|
|
12
|
-
export { Typography } from './
|
|
13
|
-
export { useBreakpointValue } from './
|
|
14
|
-
export { useCurrentBreakpointName } from './
|
|
15
|
-
export { useWindowSize } from './
|
|
16
|
-
export type { SwitchBreakpointsProps } from './
|
|
17
|
-
export { SwitchBreakpoints } from './
|
|
18
|
-
export type { ValueForBreakpoint } from './
|
|
19
|
-
export { getValueForBreakpoint } from './
|
|
1
|
+
export { BumperDecorator } from './shared/storybook/BumperDecorator';
|
|
2
|
+
export { BumperProvider } from './system/core/provider/BumperProvider';
|
|
3
|
+
export type { CenterProps } from './system/core/primitives/Center';
|
|
4
|
+
export { Center } from './system/core/primitives/Center';
|
|
5
|
+
export type { PressableProps } from './system/core/primitives/Pressable';
|
|
6
|
+
export { Pressable } from './system/core/primitives/Pressable';
|
|
7
|
+
export type { HStackProps, StackProps, VStackProps } from './system/core/primitives/Stack';
|
|
8
|
+
export { HStack, Stack, VStack } from './system/core/primitives/Stack';
|
|
9
|
+
export type { ViewProps } from './system/core/primitives/View';
|
|
10
|
+
export { View } from './system/core/primitives/View';
|
|
11
|
+
export type { TypographyTextProps } from './system/content/typography/Typography';
|
|
12
|
+
export { Typography } from './system/content/typography/Typography';
|
|
13
|
+
export { useBreakpointValue } from './system/core/breakpoints/hooks/useBreakpointValue';
|
|
14
|
+
export { useCurrentBreakpointName } from './system/core/breakpoints/hooks/useCurrentBreakpointName';
|
|
15
|
+
export { useWindowSize } from './system/core/breakpoints/hooks/useWindowSize';
|
|
16
|
+
export type { SwitchBreakpointsProps } from './system/core/breakpoints/SwitchBreakpoins';
|
|
17
|
+
export { SwitchBreakpoints } from './system/core/breakpoints/SwitchBreakpoins';
|
|
18
|
+
export type { ValueForBreakpoint } from './system/core/breakpoints/utils/breakpointsUtils';
|
|
19
|
+
export { getValueForBreakpoint } from './system/core/breakpoints/utils/breakpointsUtils';
|
|
20
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
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,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,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BumperDecorator.d.ts","sourceRoot":"","sources":["../../../../src/shared/storybook/BumperDecorator.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe,uBAM1B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { Except } from 'type-fest';
|
|
3
|
-
import type
|
|
3
|
+
import { type VStackProps } from '../../system/core/primitives/Stack';
|
|
4
4
|
export type StorySectionProps = Except<VStackProps, 'marginBottom'> & {
|
|
5
5
|
title: ReactNode;
|
|
6
6
|
children: ReactNode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StorySection.d.ts","sourceRoot":"","sources":["../../../../src/shared/storybook/StorySection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAe9E,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG;IACpE,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACd,eAAe;IACf,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,QAAQ,EACR,KAAS,EACT,qBAAqB,EACrB,cAAc,EACd,GAAG,KAAK,EACT,EAAE,iBAAiB,GAAG,SAAS,CAQ/B;yBAfe,YAAY;uCAqBqC,gBAAgB,KAAG,SAAS;oEAa1F,iBAAiB,KAAG,SAAS;;AAjBhC,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,iBAAiB,EAAE,eAAe,GAAG,OAAO,GAAG,uBAAuB,CAAC,GAAG;IAC9G,QAAQ,EAAE,SAAS,CAAC;CACrB,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("
|
|
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, {
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"StoryTitle.d.ts","sourceRoot":"","sources":["../../../../src/shared/storybook/StoryTitle.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;8CAYZ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GetProps, TamaguiComponent, WithMediaProps } from '@tamagui/core';
|
|
2
2
|
import { type Except } from 'type-fest';
|
|
3
|
-
import type { BodyFontVariants, ContentCapsVariants, FontVariants, HeadingFontVariants, LabelFontVariants } from '../../tokens/fonts';
|
|
3
|
+
import type { BodyFontVariants, ContentCapsVariants, FontVariants, 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
|
};
|
|
@@ -0,0 +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,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEpG,QAAA,MAAM,kBAAkB;;;8CAgCtB,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE1E,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,uBAAuB,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;AAOjF,KAAK,gCAAgC,GACjC,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,WAAW,GACX,aAAa,GACb,YAAY,CAAC;AAEjB,KAAK,oCAAoC,GAAG,MAAM,CAAC,uBAAuB,EAAE,gCAAgC,CAAC,CAAC;AAE9G,MAAM,WAAW,SAAU,SAAQ,oCAAoC;IACrE,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,MAAM,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;CAC7B;AACD,MAAM,WAAW,iBAAkB,SAAQ,oCAAoC;IAC7E,OAAO,EAAE,mBAAmB,GAAG,iBAAiB,CAAC;IACjD,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB;AACD,MAAM,WAAW,gBAAiB,SAAQ,oCAAoC;IAC5E,OAAO,EAAE,mBAAmB,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;AAuDpD,eAAO,MAAM,UAAU;;;;;;;;;;;CAQtB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FontVariants } from '../../../tokens/fonts';
|
|
1
|
+
import type { FontVariants } from '../../../core/tokens/fonts';
|
|
2
2
|
import type { InternalTypographyProps, TypographyTextProps, TypographyVariantContextValue, TypographyWeightContextValue } from '../Typography';
|
|
3
3
|
interface VariantAndWeightValues {
|
|
4
4
|
weight: InternalTypographyProps['weight'] | undefined;
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwitchBreakpoins.d.ts","sourceRoot":"","sources":["../../../../../src/system/core/breakpoints/SwitchBreakpoins.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAGnE,MAAM,MAAM,sBAAsB,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC;AAEnE,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,sBAAsB,GAAG,SAAS,CAI3E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/system/core/breakpoints/constants.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB;IAC5B,IAAI,SAAS;IACb,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,eAAO,MAAM,WAAW;;;;;;CAMvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBreakpointValue.d.ts","sourceRoot":"","sources":["../../../../../../src/system/core/breakpoints/hooks/useBreakpointValue.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAIpE,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAAG,CAAC,CAMtE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCurrentBreakpointName.d.ts","sourceRoot":"","sources":["../../../../../../src/system/core/breakpoints/hooks/useCurrentBreakpointName.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,wBAAgB,wBAAwB,IAAI,kBAAkB,CAgB7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useWindowSize.d.ts","sourceRoot":"","sources":["../../../../../../src/system/core/breakpoints/hooks/useWindowSize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,IAAI,aAAa,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breakpointsUtils.d.ts","sourceRoot":"","sources":["../../../../../../src/system/core/breakpoints/utils/breakpointsUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,IAAI,EAAE,CAAC,CAAC;IACR,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,MAAM,CAAC,EAAE,CAAC,CAAC;IACX,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,IAAI,CAAC,EAAE,CAAC,CAAC;CACV;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EACrC,UAAU,EAAE,kBAAkB,EAC9B,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAC1D,CAAC,CAcH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Center.d.ts","sourceRoot":"","sources":["../../../../../src/system/core/primitives/Center.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI/C,MAAM,WAAW,WAAY,SAAQ,SAAS;CAAG;AAEjD,eAAO,MAAM,MAAM,iQAGjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../../../../../src/system/core/primitives/Pressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,IAAI,EAAU,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,gBAAgB,GAAG,OAAO,IAAI,IAAI;IACrE;;;;OAIG;IACH,EAAE,CAAC,EAAE,CAAC,CAAC;CACR,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;AAE9B;;;;;;;;;;;GAWG;AACH,wBAAgB,SAAS,CAAC,CAAC,SAAS,gBAAgB,GAAG,OAAO,IAAI,EAAE,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,SAAS,CAQjH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../../../src/system/core/primitives/Stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAG9C,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,eAAO,MAAM,MAAM,iQAGjB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAElD,eAAO,MAAM,MAAM,iQAGjB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../../../src/system/core/primitives/View.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BumperProvider.d.ts","sourceRoot":"","sources":["../../../../../src/system/core/provider/BumperProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE,mBAAmB,GAAG,SAAS,CAM3E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../../../../src/system/core/themes/light.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DjB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const HEADING_VARIANTS: readonly ["heading-2xl", "heading-xl", "heading-l", "heading-m", "heading-s", "heading-xs", "heading-2xs"];
|
|
2
|
+
export declare const BODY_VARIANTS: readonly ["body-xl", "body-l", "body-m", "body-s", "body-xs"];
|
|
3
|
+
export declare const LABEL_VARIANTS: readonly ["label-xl", "label-l", "label-m", "label-s"];
|
|
4
|
+
export declare const CONTENT_CAPS_VARIANTS: readonly ["content-caps-3xl", "content-caps-2xl", "content-caps-xl", "content-caps-l", "content-caps-m", "content-caps-s", "content-caps-xs"];
|
|
5
|
+
export declare const VARIANTS: readonly ["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"];
|
|
6
|
+
export type FontVariants = (typeof VARIANTS)[number];
|
|
7
|
+
export type BodyFontVariants = (typeof BODY_VARIANTS)[number];
|
|
8
|
+
export type LabelFontVariants = (typeof LABEL_VARIANTS)[number];
|
|
9
|
+
export type HeadingFontVariants = (typeof HEADING_VARIANTS)[number];
|
|
10
|
+
export type ContentCapsVariants = (typeof CONTENT_CAPS_VARIANTS)[number];
|
|
11
|
+
export type GTStandardFontWeight = '500' | '600' | '700';
|
|
12
|
+
export declare const GTStandardFaces: Record<GTStandardFontWeight, Record<string, string>>;
|
|
13
|
+
export declare const size: Record<FontVariants, number>;
|
|
14
|
+
export declare const lineHeight: Record<FontVariants, number>;
|
|
15
|
+
export declare const letterSpacing: Record<FontVariants, number>;
|
|
16
|
+
export declare const weight: Record<string, GTStandardFontWeight>;
|
|
17
|
+
//# sourceMappingURL=fonts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../../../src/system/core/tokens/fonts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,4GAQnB,CAAC;AACX,eAAO,MAAM,aAAa,+DAAgE,CAAC;AAC3F,eAAO,MAAM,cAAc,wDAAyD,CAAC;AACrF,eAAO,MAAM,qBAAqB,+IAQxB,CAAC;AACX,eAAO,MAAM,QAAQ,iVAAgG,CAAC;AAEtH,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC;AACrD,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAC9D,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAChE,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AACpE,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzE,MAAM,MAAM,oBAAoB,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AAEzD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAIhF,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAwB7C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAwBnD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAwBtD,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAIvD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deepPurpleColorPalette.d.ts","sourceRoot":"","sources":["../../../../../../src/system/core/tokens/palettes/deepPurpleColorPalette.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAuB,MAAM,WAAW,CAAC;AAE/D,UAAU,iBAAiB;IACzB,UAAU,EAAE,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC5B,KAAK,EAAE,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACtB,SAAS,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACzB,OAAO,EACH,MAAM,GACN,OAAO,GACP,QAAQ,GACR,MAAM,GACN,KAAK,GACL,YAAY,GACZ,aAAa,GACb,aAAa,GACb,eAAe,GACf,UAAU,CAAC;IACf,IAAI,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAChC,IAAI,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACpB,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACrB,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACtB,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACnB,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACrB,aAAa,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAClC,YAAY,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,aAAa,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CACjD;AAED,KAAK,gBAAgB,CAAC,CAAC,SAAS,MAAM,iBAAiB,IAAI,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAEhG,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,CAAC,CAAC;CACpD,CAAC;AAgBF,eAAO,MAAM,WAAW,EAAE,WA0FhB,CAAC;AAYX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radius.d.ts","sourceRoot":"","sources":["../../../../../src/system/core/tokens/radius.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;CAMxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"size.d.ts","sourceRoot":"","sources":["../../../../../src/system/core/tokens/size.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;CAatB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"space.d.ts","sourceRoot":"","sources":["../../../../../src/system/core/tokens/space.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;CAcvB,CAAC"}
|
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
export declare const fonts: {
|
|
2
|
+
family: string;
|
|
3
|
+
size: {
|
|
4
|
+
'size.16': number;
|
|
5
|
+
'size.20': number;
|
|
6
|
+
'size.24': number;
|
|
7
|
+
'size.32': number;
|
|
8
|
+
'size.48': number;
|
|
9
|
+
'size.64': number;
|
|
10
|
+
'size.80': number;
|
|
11
|
+
'size.96': number;
|
|
12
|
+
'size.120': number;
|
|
13
|
+
'size.144': number;
|
|
14
|
+
'size.176': number;
|
|
15
|
+
'size.208': number;
|
|
16
|
+
};
|
|
17
|
+
lineHeight: Record<"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", number>;
|
|
18
|
+
letterSpacing: Record<"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", number>;
|
|
19
|
+
weight: Record<string, import("./system/core/tokens/fonts").GTStandardFontWeight>;
|
|
20
|
+
face: Record<import("./system/core/tokens/fonts").GTStandardFontWeight, Record<string, string>>;
|
|
21
|
+
};
|
|
1
22
|
export declare const config: import("@tamagui/core").TamaguiInternalConfig<{
|
|
2
23
|
color: {};
|
|
3
24
|
space: {
|
|
@@ -152,11 +173,24 @@ export declare const config: import("@tamagui/core").TamaguiInternalConfig<{
|
|
|
152
173
|
}, {}, {
|
|
153
174
|
GTStandard: {
|
|
154
175
|
family: string;
|
|
155
|
-
size:
|
|
176
|
+
size: {
|
|
177
|
+
'size.16': number;
|
|
178
|
+
'size.20': number;
|
|
179
|
+
'size.24': number;
|
|
180
|
+
'size.32': number;
|
|
181
|
+
'size.48': number;
|
|
182
|
+
'size.64': number;
|
|
183
|
+
'size.80': number;
|
|
184
|
+
'size.96': number;
|
|
185
|
+
'size.120': number;
|
|
186
|
+
'size.144': number;
|
|
187
|
+
'size.176': number;
|
|
188
|
+
'size.208': number;
|
|
189
|
+
};
|
|
156
190
|
lineHeight: Record<"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", number>;
|
|
157
191
|
letterSpacing: Record<"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", number>;
|
|
158
|
-
weight: Record<string, import("./tokens/fonts").GTStandardFontWeight>;
|
|
159
|
-
face: Record<import("./tokens/fonts").GTStandardFontWeight, Record<string, string>>;
|
|
192
|
+
weight: Record<string, import("./system/core/tokens/fonts").GTStandardFontWeight>;
|
|
193
|
+
face: Record<import("./system/core/tokens/fonts").GTStandardFontWeight, Record<string, string>>;
|
|
160
194
|
};
|
|
161
195
|
}, {
|
|
162
196
|
allowedStyleValues: "strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tamagui.config.d.ts","sourceRoot":"","sources":["../../src/tamagui.config.ts"],"names":[],"mappings":"
|
|
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"}
|
|
@@ -7,6 +7,22 @@ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProper
|
|
|
7
7
|
import { useContext, createContext, useMemo } from 'react';
|
|
8
8
|
export { useWindowDimensions as useWindowSize } from 'react-native';
|
|
9
9
|
|
|
10
|
+
let BreakpointNameEnum = /*#__PURE__*/function (BreakpointNameEnum) {
|
|
11
|
+
BreakpointNameEnum["BASE"] = "base";
|
|
12
|
+
BreakpointNameEnum["SMALL"] = "small";
|
|
13
|
+
BreakpointNameEnum["MEDIUM"] = "medium";
|
|
14
|
+
BreakpointNameEnum["LARGE"] = "large";
|
|
15
|
+
BreakpointNameEnum["WIDE"] = "wide";
|
|
16
|
+
return BreakpointNameEnum;
|
|
17
|
+
}({});
|
|
18
|
+
const breakpoints = {
|
|
19
|
+
[BreakpointNameEnum.BASE]: 0,
|
|
20
|
+
[BreakpointNameEnum.SMALL]: 480,
|
|
21
|
+
[BreakpointNameEnum.MEDIUM]: 768,
|
|
22
|
+
[BreakpointNameEnum.LARGE]: 1024,
|
|
23
|
+
[BreakpointNameEnum.WIDE]: 1280
|
|
24
|
+
};
|
|
25
|
+
|
|
10
26
|
const createColorScale = colorScale => colorScale;
|
|
11
27
|
|
|
12
28
|
// WARNING
|
|
@@ -116,7 +132,7 @@ const deepPurpleColorPalette = _objectSpread(_objectSpread({}, transformColorSca
|
|
|
116
132
|
});
|
|
117
133
|
|
|
118
134
|
// WARNING
|
|
119
|
-
|
|
135
|
+
|
|
120
136
|
// https://github.com/ornikar/kitt/blob/79e367e962c957c016c4df67dbcf515c8f45ff0e/@ornikar/kitt-universal/src/themes/late-ocean/colors.ts#L28
|
|
121
137
|
const light = {
|
|
122
138
|
// content
|
|
@@ -179,22 +195,6 @@ const light = {
|
|
|
179
195
|
'border.highlight': deepPurpleColorPalette['mauve.3']
|
|
180
196
|
};
|
|
181
197
|
|
|
182
|
-
let BreakpointNameEnum = /*#__PURE__*/function (BreakpointNameEnum) {
|
|
183
|
-
BreakpointNameEnum["BASE"] = "base";
|
|
184
|
-
BreakpointNameEnum["SMALL"] = "small";
|
|
185
|
-
BreakpointNameEnum["MEDIUM"] = "medium";
|
|
186
|
-
BreakpointNameEnum["LARGE"] = "large";
|
|
187
|
-
BreakpointNameEnum["WIDE"] = "wide";
|
|
188
|
-
return BreakpointNameEnum;
|
|
189
|
-
}({});
|
|
190
|
-
const breakpoints = {
|
|
191
|
-
[BreakpointNameEnum.BASE]: 0,
|
|
192
|
-
[BreakpointNameEnum.SMALL]: 480,
|
|
193
|
-
[BreakpointNameEnum.MEDIUM]: 768,
|
|
194
|
-
[BreakpointNameEnum.LARGE]: 1024,
|
|
195
|
-
[BreakpointNameEnum.WIDE]: 1280
|
|
196
|
-
};
|
|
197
|
-
|
|
198
198
|
const HEADING_VARIANTS = ['heading-2xl', 'heading-xl', 'heading-l', 'heading-m', 'heading-s', 'heading-xs', 'heading-2xs'];
|
|
199
199
|
const BODY_VARIANTS = ['body-xl', 'body-l', 'body-m', 'body-s', 'body-xs'];
|
|
200
200
|
const LABEL_VARIANTS = ['label-xl', 'label-l', 'label-m', 'label-s'];
|
|
@@ -210,31 +210,6 @@ const GTStandardFaces = {
|
|
|
210
210
|
normal: 'GTStandardBold'
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
|
-
const size = {
|
|
214
|
-
'heading-2xl': 56,
|
|
215
|
-
'heading-xl': 48,
|
|
216
|
-
'heading-l': 38,
|
|
217
|
-
'heading-m': 28,
|
|
218
|
-
'heading-s': 24,
|
|
219
|
-
'heading-xs': 20,
|
|
220
|
-
'heading-2xs': 20,
|
|
221
|
-
'body-xl': 24,
|
|
222
|
-
'body-l': 18,
|
|
223
|
-
'body-m': 16,
|
|
224
|
-
'body-s': 14,
|
|
225
|
-
'body-xs': 12,
|
|
226
|
-
'label-xl': 18,
|
|
227
|
-
'label-l': 16,
|
|
228
|
-
'label-m': 14,
|
|
229
|
-
'label-s': 12,
|
|
230
|
-
'content-caps-3xl': 40,
|
|
231
|
-
'content-caps-2xl': 32,
|
|
232
|
-
'content-caps-xl': 24,
|
|
233
|
-
'content-caps-l': 18,
|
|
234
|
-
'content-caps-m': 16,
|
|
235
|
-
'content-caps-s': 14,
|
|
236
|
-
'content-caps-xs': 12
|
|
237
|
-
};
|
|
238
213
|
const lineHeight = {
|
|
239
214
|
'heading-2xl': 64,
|
|
240
215
|
'heading-xl': 56,
|
|
@@ -290,14 +265,6 @@ const weight = {
|
|
|
290
265
|
semibold: '600',
|
|
291
266
|
regular: '500'
|
|
292
267
|
};
|
|
293
|
-
const fonts = createFont({
|
|
294
|
-
family: 'GTStandard',
|
|
295
|
-
size,
|
|
296
|
-
lineHeight,
|
|
297
|
-
letterSpacing,
|
|
298
|
-
weight,
|
|
299
|
-
face: GTStandardFaces
|
|
300
|
-
});
|
|
301
268
|
|
|
302
269
|
const radiusTokens = {
|
|
303
270
|
'radius.none': 0,
|
|
@@ -338,6 +305,14 @@ const spaceTokens = {
|
|
|
338
305
|
'space.80': 80
|
|
339
306
|
};
|
|
340
307
|
|
|
308
|
+
const fonts = createFont({
|
|
309
|
+
family: 'GTStandard',
|
|
310
|
+
size: sizeTokens,
|
|
311
|
+
lineHeight,
|
|
312
|
+
letterSpacing,
|
|
313
|
+
weight,
|
|
314
|
+
face: GTStandardFaces
|
|
315
|
+
});
|
|
341
316
|
const tokens = createTokens({
|
|
342
317
|
color: {},
|
|
343
318
|
space: spaceTokens,
|