@ornikar/bumper 1.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.
- package/.eslintrc.json +3 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +20 -0
- package/dist/definitions/components/breakpoints/SwitchBreakpoins.d.ts +5 -0
- package/dist/definitions/components/breakpoints/SwitchBreakpoins.d.ts.map +1 -0
- package/dist/definitions/components/breakpoints/hooks/useBreakpointValue.d.ts +3 -0
- package/dist/definitions/components/breakpoints/hooks/useBreakpointValue.d.ts.map +1 -0
- package/dist/definitions/components/breakpoints/hooks/useCurrentBreakpointName.d.ts +3 -0
- package/dist/definitions/components/breakpoints/hooks/useCurrentBreakpointName.d.ts.map +1 -0
- package/dist/definitions/components/breakpoints/hooks/useWindowSize.d.ts +2 -0
- package/dist/definitions/components/breakpoints/hooks/useWindowSize.d.ts.map +1 -0
- package/dist/definitions/components/breakpoints/utils/breakpointsUtils.d.ts +10 -0
- package/dist/definitions/components/breakpoints/utils/breakpointsUtils.d.ts.map +1 -0
- package/dist/definitions/components/primitives/Stacks.d.ts +9 -0
- package/dist/definitions/components/primitives/Stacks.d.ts.map +1 -0
- package/dist/definitions/components/primitives/View.d.ts +5 -0
- package/dist/definitions/components/primitives/View.d.ts.map +1 -0
- package/dist/definitions/components/typography/Typograhy.d.ts +40 -0
- package/dist/definitions/components/typography/Typograhy.d.ts.map +1 -0
- package/dist/definitions/components/typography/utils/getTypeAndWeightValues.d.ts +9 -0
- package/dist/definitions/components/typography/utils/getTypeAndWeightValues.d.ts.map +1 -0
- package/dist/definitions/core/BumperDecorator.d.ts +2 -0
- package/dist/definitions/core/BumperDecorator.d.ts.map +1 -0
- package/dist/definitions/core/BumperProvider.d.ts +6 -0
- package/dist/definitions/core/BumperProvider.d.ts.map +1 -0
- package/dist/definitions/index.d.ts +10 -0
- package/dist/definitions/index.d.ts.map +1 -0
- package/dist/definitions/story-components/StorySection.d.ts +20 -0
- package/dist/definitions/story-components/StorySection.d.ts.map +1 -0
- package/dist/definitions/story-components/StoryTitle.d.ts +6 -0
- package/dist/definitions/story-components/StoryTitle.d.ts.map +1 -0
- package/dist/definitions/tamagui.config.d.ts +148 -0
- package/dist/definitions/tamagui.config.d.ts.map +1 -0
- package/dist/definitions/themes/light.d.ts +53 -0
- package/dist/definitions/themes/light.d.ts.map +1 -0
- package/dist/definitions/themes/palettes/deepPurpleColorPalette.d.ts +86 -0
- package/dist/definitions/themes/palettes/deepPurpleColorPalette.d.ts.map +1 -0
- package/dist/definitions/themes/utils/breakpoints.d.ts +15 -0
- package/dist/definitions/themes/utils/breakpoints.d.ts.map +1 -0
- package/dist/definitions/tokens/fonts.d.ts +18 -0
- package/dist/definitions/tokens/fonts.d.ts.map +1 -0
- package/dist/definitions/tokens/size.d.ts +11 -0
- package/dist/definitions/tokens/size.d.ts.map +1 -0
- package/dist/definitions/tokens/space.d.ts +16 -0
- package/dist/definitions/tokens/space.d.ts.map +1 -0
- package/dist/index-metro.es.android.js +396 -0
- package/dist/index-metro.es.android.js.map +1 -0
- package/dist/index-metro.es.ios.js +396 -0
- package/dist/index-metro.es.ios.js.map +1 -0
- package/dist/index-node-22.17.cjs.js +405 -0
- package/dist/index-node-22.17.cjs.js.map +1 -0
- package/dist/index-node-22.17.cjs.web.js +405 -0
- package/dist/index-node-22.17.cjs.web.js.map +1 -0
- package/dist/index-node-22.17.es.mjs +395 -0
- package/dist/index-node-22.17.es.mjs.map +1 -0
- package/dist/index-node-22.17.es.web.mjs +395 -0
- package/dist/index-node-22.17.es.web.mjs.map +1 -0
- package/dist/index.es.js +392 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.es.web.js +392 -0
- package/dist/index.es.web.js.map +1 -0
- package/dist/tsbuildinfo +1 -0
- package/package.json +79 -0
- package/src/.eslintrc.json +20 -0
- package/src/components/breakpoints/SwitchBreakpoins.tsx +12 -0
- package/src/components/breakpoints/__snapshots__/breakpoints.stories.tsx.snap +49 -0
- package/src/components/breakpoints/__snapshots_web__/breakpoints.stories.tsx.snap +43 -0
- package/src/components/breakpoints/breakpoints.stories.tsx +45 -0
- package/src/components/breakpoints/hooks/useBreakpointValue.ts +12 -0
- package/src/components/breakpoints/hooks/useCurrentBreakpointName.ts +20 -0
- package/src/components/breakpoints/hooks/useWindowSize.ts +1 -0
- package/src/components/breakpoints/utils/breakpointsUtils.test.ts +85 -0
- package/src/components/breakpoints/utils/breakpointsUtils.ts +28 -0
- package/src/components/primitives/Stack.stories.tsx +62 -0
- package/src/components/primitives/Stacks.ts +19 -0
- package/src/components/primitives/View.stories.tsx +13 -0
- package/src/components/primitives/View.ts +5 -0
- package/src/components/primitives/__snapshots__/Stack.stories.tsx.snap +376 -0
- package/src/components/primitives/__snapshots__/View.stories.tsx.snap +25 -0
- package/src/components/primitives/__snapshots_web__/Stack.stories.tsx.snap +190 -0
- package/src/components/primitives/__snapshots_web__/View.stories.tsx.snap +28 -0
- package/src/components/typography/Typograhy.tsx +130 -0
- package/src/components/typography/Typography.stories.tsx +144 -0
- package/src/components/typography/__snapshots__/Typography.stories.tsx.snap +1471 -0
- package/src/components/typography/__snapshots_web__/Typography.stories.tsx.snap +605 -0
- package/src/components/typography/utils/getTypeAndWeightValues.test.tsx +147 -0
- package/src/components/typography/utils/getTypeAndWeightValues.tsx +32 -0
- package/src/core/BumperDecorator.tsx +11 -0
- package/src/core/BumperProvider.tsx +15 -0
- package/src/index.ts +11 -0
- package/src/story-components/StorySection.tsx +70 -0
- package/src/story-components/StoryTitle.tsx +16 -0
- package/src/tamagui.config.ts +43 -0
- package/src/themes/__snapshots__/light.stories.tsx.snap +2192 -0
- package/src/themes/__snapshots_web__/light.stories.tsx.snap +985 -0
- package/src/themes/light.stories.tsx +38 -0
- package/src/themes/light.ts +59 -0
- package/src/themes/palettes/__snapshots__/deepPurpleColorPalette.stories.tsx.snap +2770 -0
- package/src/themes/palettes/__snapshots_web__/deepPurpleColorPalette.stories.tsx.snap +1213 -0
- package/src/themes/palettes/deepPurpleColorPalette.stories.tsx +37 -0
- package/src/themes/palettes/deepPurpleColorPalette.ts +147 -0
- package/src/themes/utils/breakpoints.ts +15 -0
- package/src/tokens/fonts.ts +95 -0
- package/src/tokens/size.ts +10 -0
- package/src/tokens/space.ts +15 -0
- package/tsconfig.build.json +25 -0
- package/tsconfig.eslint.json +6 -0
- package/tsconfig.json +21 -0
package/.eslintrc.json
ADDED
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## 1.1.0 (2025-11-17)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* rename kitt2 to bumper [OSE-21190] ([#2749](https://github.com/ornikar/kitt/issues/2749)) ([820e247](https://github.com/ornikar/kitt/commit/820e24764a257e103afb2f9a6f478d64647a42ff))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## 1.0.0 (2025-10-16)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* init kitt 2 package [no issue] ([#2709](https://github.com/ornikar/kitt/issues/2709)) ([ffe4260](https://github.com/ornikar/kitt/commit/ffe42601333d6623c9ce80553824b3471937a0b7))
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { ValueForBreakpoint } from './utils/breakpointsUtils';
|
|
3
|
+
export type SwitchBreakpointsProps = ValueForBreakpoint<ReactNode>;
|
|
4
|
+
export declare function SwitchBreakpoints(values: SwitchBreakpointsProps): ReactNode;
|
|
5
|
+
//# sourceMappingURL=SwitchBreakpoins.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwitchBreakpoins.d.ts","sourceRoot":"","sources":["../../../../src/components/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":"useBreakpointValue.d.ts","sourceRoot":"","sources":["../../../../../src/components/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/components/breakpoints/hooks/useCurrentBreakpointName.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,wBAAgB,wBAAwB,IAAI,kBAAkB,CAgB7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useWindowSize.d.ts","sourceRoot":"","sources":["../../../../../src/components/breakpoints/hooks/useWindowSize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,IAAI,aAAa,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BreakpointNameEnum } from '../../../themes/utils/breakpoints';
|
|
2
|
+
export interface ValueForBreakpoint<T> {
|
|
3
|
+
base: T;
|
|
4
|
+
small?: T;
|
|
5
|
+
medium?: T;
|
|
6
|
+
large?: T;
|
|
7
|
+
wide?: T;
|
|
8
|
+
}
|
|
9
|
+
export declare function getValueForBreakpoint<T>(breakpoint: BreakpointNameEnum, { base, small, medium, large, wide }: ValueForBreakpoint<T>): T;
|
|
10
|
+
//# sourceMappingURL=breakpointsUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breakpointsUtils.d.ts","sourceRoot":"","sources":["../../../../../src/components/breakpoints/utils/breakpointsUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,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,9 @@
|
|
|
1
|
+
import { Stack } from '@tamagui/core';
|
|
2
|
+
import type { GetProps } from '@tamagui/core';
|
|
3
|
+
export { Stack } from '@tamagui/core';
|
|
4
|
+
export type StackProps = GetProps<typeof Stack>;
|
|
5
|
+
export declare const HStack: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {}, import("@tamagui/core").StaticConfigPublic>;
|
|
6
|
+
export type HStackProps = GetProps<typeof HStack>;
|
|
7
|
+
export declare const VStack: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {}, import("@tamagui/core").StaticConfigPublic>;
|
|
8
|
+
export type VStackProps = GetProps<typeof VStack>;
|
|
9
|
+
//# sourceMappingURL=Stacks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stacks.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/Stacks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAU,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEhD,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/components/primitives/View.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { GetProps } from '@tamagui/core';
|
|
2
|
+
import { type Except } from 'type-fest';
|
|
3
|
+
import type { BodyFontVariants, FontVariants, HeadingFontVariants, LabelFontVariants } from '../../tokens/fonts';
|
|
4
|
+
export type TypographyVariantContextValue = FontVariants | null;
|
|
5
|
+
export type TypographyWeightContextValue = 'regular' | 'bold' | null;
|
|
6
|
+
export type TypograhyColorContextValue = TypograhyColorProps | null;
|
|
7
|
+
declare const InternalTypography: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
8
|
+
variant?: "heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s" | undefined;
|
|
9
|
+
weight?: "bold" | "semibold" | "regular" | undefined;
|
|
10
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
11
|
+
export type InternalTypographyProps = GetProps<typeof InternalTypography>;
|
|
12
|
+
type ContainsOneString<T extends string> = `${string}${T}${string}`;
|
|
13
|
+
type TypograhyColorProps = ContainsOneString<'$content.'>;
|
|
14
|
+
type TypographyExcludedFontStyleProps = 'fontFamily' | 'fontSize' | 'lineHeight' | 'fontStyle' | 'fontVariant' | 'fontWeight';
|
|
15
|
+
type TypographyPropsWithoutFontStyleProps = Except<InternalTypographyProps, TypographyExcludedFontStyleProps | 'color'> & {
|
|
16
|
+
color?: TypograhyColorProps;
|
|
17
|
+
};
|
|
18
|
+
export interface BodyProps extends TypographyPropsWithoutFontStyleProps {
|
|
19
|
+
variant?: BodyFontVariants;
|
|
20
|
+
weight?: Exclude<InternalTypographyProps['weight'], 'semibold'>;
|
|
21
|
+
}
|
|
22
|
+
export interface HeadingLabelProps extends TypographyPropsWithoutFontStyleProps {
|
|
23
|
+
variant: HeadingFontVariants | LabelFontVariants;
|
|
24
|
+
weight?: never;
|
|
25
|
+
}
|
|
26
|
+
export type TypographyTextProps = BodyProps | HeadingLabelProps;
|
|
27
|
+
export declare const Typography: {
|
|
28
|
+
Text: import("@tamagui/core").TamaguiComponent<(Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
29
|
+
variant?: "heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s" | undefined;
|
|
30
|
+
weight?: "bold" | "semibold" | "regular" | undefined;
|
|
31
|
+
}>, keyof BodyProps> & BodyProps) | (Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
32
|
+
variant?: "heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s" | undefined;
|
|
33
|
+
weight?: "bold" | "semibold" | "regular" | undefined;
|
|
34
|
+
}>, keyof HeadingLabelProps> & HeadingLabelProps), import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps & TypographyTextProps, import("@tamagui/core").TextStylePropsBase, {
|
|
35
|
+
variant?: "heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s" | undefined;
|
|
36
|
+
weight?: "bold" | "semibold" | "regular" | undefined;
|
|
37
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
38
|
+
};
|
|
39
|
+
export {};
|
|
40
|
+
//# sourceMappingURL=Typograhy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Typograhy.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Typograhy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAuB,MAAM,eAAe,CAAC;AAGnE,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAGjH,MAAM,MAAM,6BAA6B,GAAG,YAAY,GAAG,IAAI,CAAC;AAChE,MAAM,MAAM,4BAA4B,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC;AACrE,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,GAAG,IAAI,CAAC;AAMpE,QAAA,MAAM,kBAAkB;;;8CAgCtB,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAG1E,KAAK,iBAAiB,CAAC,CAAC,SAAS,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,GAAG,MAAM,EAAE,CAAC;AACpE,KAAK,mBAAmB,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAG1D,KAAK,gCAAgC,GACjC,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,WAAW,GACX,aAAa,GACb,YAAY,CAAC;AACjB,KAAK,oCAAoC,GAAG,MAAM,CAChD,uBAAuB,EACvB,gCAAgC,GAAG,OAAO,CAC3C,GAAG;IACF,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEF,MAAM,WAAW,SAAU,SAAQ,oCAAoC;IACrE,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC,uBAAuB,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CAAC;CACjE;AACD,MAAM,WAAW,iBAAkB,SAAQ,oCAAoC;IAC7E,OAAO,EAAE,mBAAmB,GAAG,iBAAiB,CAAC;IACjD,MAAM,CAAC,EAAE,KAAK,CAAC;CAChB;AACD,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,iBAAiB,CAAC;AAiDhE,eAAO,MAAM,UAAU;;;;;;;;;;;CAEtB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FontVariants } from '../../../tokens/fonts';
|
|
2
|
+
import type { InternalTypographyProps, TypographyTextProps, TypographyVariantContextValue, TypographyWeightContextValue } from '../Typograhy';
|
|
3
|
+
interface VariantAndWeightValues {
|
|
4
|
+
weight: InternalTypographyProps['weight'] | undefined;
|
|
5
|
+
variant: FontVariants | undefined;
|
|
6
|
+
}
|
|
7
|
+
export declare function getVariantAndWeightValues(weightProp: TypographyTextProps['weight'], variantProp: TypographyTextProps['variant'], typographyWeightAncestorValue: TypographyWeightContextValue, typographyVariantAncestorValue: TypographyVariantContextValue): VariantAndWeightValues;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=getTypeAndWeightValues.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTypeAndWeightValues.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/utils/getTypeAndWeightValues.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,KAAK,EACV,uBAAuB,EACvB,mBAAmB,EACnB,6BAA6B,EAC7B,4BAA4B,EAC7B,MAAM,cAAc,CAAC;AAEtB,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,CAYxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BumperDecorator.d.ts","sourceRoot":"","sources":["../../../src/core/BumperDecorator.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe,kEAM1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BumperProvider.d.ts","sourceRoot":"","sources":["../../../src/core/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,10 @@
|
|
|
1
|
+
export { BumperDecorator } from './core/BumperDecorator';
|
|
2
|
+
export { BumperProvider } from './core/BumperProvider';
|
|
3
|
+
export { useBreakpointValue } from './components/breakpoints/hooks/useBreakpointValue';
|
|
4
|
+
export { useCurrentBreakpointName } from './components/breakpoints/hooks/useCurrentBreakpointName';
|
|
5
|
+
export { useWindowSize } from './components/breakpoints/hooks/useWindowSize';
|
|
6
|
+
export type { SwitchBreakpointsProps } from './components/breakpoints/SwitchBreakpoins';
|
|
7
|
+
export { SwitchBreakpoints } from './components/breakpoints/SwitchBreakpoins';
|
|
8
|
+
export type { ValueForBreakpoint } from './components/breakpoints/utils/breakpointsUtils';
|
|
9
|
+
export { getValueForBreakpoint } from './components/breakpoints/utils/breakpointsUtils';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mDAAmD,CAAC;AACvF,OAAO,EAAE,wBAAwB,EAAE,MAAM,yDAAyD,CAAC;AACnG,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,YAAY,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,YAAY,EAAE,kBAAkB,EAAE,MAAM,iDAAiD,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,iDAAiD,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { Except } from 'type-fest';
|
|
3
|
+
import type { VStackProps } from '../components/primitives/Stacks';
|
|
4
|
+
export type StorySectionProps = Except<VStackProps, 'marginBottom'> & {
|
|
5
|
+
title: ReactNode;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
level?: 1 | 2;
|
|
8
|
+
/** @private */
|
|
9
|
+
internalIsDemoSection?: boolean;
|
|
10
|
+
withBackground?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare function StorySection({ title, children, level, internalIsDemoSection, withBackground, ...props }: StorySectionProps): ReactNode;
|
|
13
|
+
export declare namespace StorySection {
|
|
14
|
+
var Demo: ({ children, ...props }: DemoSectionProps) => ReactNode;
|
|
15
|
+
var SubSection: ({ title, children, withBackground, ...props }: StorySectionProps) => ReactNode;
|
|
16
|
+
}
|
|
17
|
+
export type DemoSectionProps = Except<StorySectionProps, 'paddingBottom' | 'title' | 'internalIsDemoSection'> & {
|
|
18
|
+
children: ReactNode;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=StorySection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StorySection.d.ts","sourceRoot":"","sources":["../../../src/story-components/StorySection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAgBnE,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;;;;AAiB5B,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,iBAAiB,EAAE,eAAe,GAAG,OAAO,GAAG,uBAAuB,CAAC,GAAG;IAC9G,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const StoryTitle: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps & import("../components/typography/Typograhy").TypographyTextProps, import("@tamagui/core").TextStylePropsBase, {
|
|
2
|
+
variant?: "heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s" | undefined;
|
|
3
|
+
weight?: "bold" | "semibold" | "regular" | undefined;
|
|
4
|
+
level?: 1 | 2 | 3 | undefined;
|
|
5
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
6
|
+
//# sourceMappingURL=StoryTitle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoryTitle.d.ts","sourceRoot":"","sources":["../../../src/story-components/StoryTitle.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;8CAYZ,CAAC"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
export declare const config: import("@tamagui/core").TamaguiInternalConfig<{
|
|
2
|
+
color: {};
|
|
3
|
+
space: {
|
|
4
|
+
40: import("@tamagui/core").Variable<number>;
|
|
5
|
+
80: import("@tamagui/core").Variable<number>;
|
|
6
|
+
0: import("@tamagui/core").Variable<number>;
|
|
7
|
+
2: import("@tamagui/core").Variable<number>;
|
|
8
|
+
4: import("@tamagui/core").Variable<number>;
|
|
9
|
+
8: import("@tamagui/core").Variable<number>;
|
|
10
|
+
56: import("@tamagui/core").Variable<number>;
|
|
11
|
+
48: import("@tamagui/core").Variable<number>;
|
|
12
|
+
24: import("@tamagui/core").Variable<number>;
|
|
13
|
+
16: import("@tamagui/core").Variable<number>;
|
|
14
|
+
12: import("@tamagui/core").Variable<number>;
|
|
15
|
+
64: import("@tamagui/core").Variable<number>;
|
|
16
|
+
32: import("@tamagui/core").Variable<number>;
|
|
17
|
+
};
|
|
18
|
+
size: {
|
|
19
|
+
20: import("@tamagui/core").Variable<number>;
|
|
20
|
+
80: import("@tamagui/core").Variable<number>;
|
|
21
|
+
24: import("@tamagui/core").Variable<number>;
|
|
22
|
+
16: import("@tamagui/core").Variable<number>;
|
|
23
|
+
32: import("@tamagui/core").Variable<number>;
|
|
24
|
+
128: import("@tamagui/core").Variable<number>;
|
|
25
|
+
176: import("@tamagui/core").Variable<number>;
|
|
26
|
+
208: import("@tamagui/core").Variable<number>;
|
|
27
|
+
};
|
|
28
|
+
radius: {};
|
|
29
|
+
zIndex: {};
|
|
30
|
+
} & Omit<{
|
|
31
|
+
color: {};
|
|
32
|
+
space: {
|
|
33
|
+
40: import("@tamagui/core").Variable<number>;
|
|
34
|
+
80: import("@tamagui/core").Variable<number>;
|
|
35
|
+
0: import("@tamagui/core").Variable<number>;
|
|
36
|
+
2: import("@tamagui/core").Variable<number>;
|
|
37
|
+
4: import("@tamagui/core").Variable<number>;
|
|
38
|
+
8: import("@tamagui/core").Variable<number>;
|
|
39
|
+
56: import("@tamagui/core").Variable<number>;
|
|
40
|
+
48: import("@tamagui/core").Variable<number>;
|
|
41
|
+
24: import("@tamagui/core").Variable<number>;
|
|
42
|
+
16: import("@tamagui/core").Variable<number>;
|
|
43
|
+
12: import("@tamagui/core").Variable<number>;
|
|
44
|
+
64: import("@tamagui/core").Variable<number>;
|
|
45
|
+
32: import("@tamagui/core").Variable<number>;
|
|
46
|
+
};
|
|
47
|
+
size: {
|
|
48
|
+
20: import("@tamagui/core").Variable<number>;
|
|
49
|
+
80: import("@tamagui/core").Variable<number>;
|
|
50
|
+
24: import("@tamagui/core").Variable<number>;
|
|
51
|
+
16: import("@tamagui/core").Variable<number>;
|
|
52
|
+
32: import("@tamagui/core").Variable<number>;
|
|
53
|
+
128: import("@tamagui/core").Variable<number>;
|
|
54
|
+
176: import("@tamagui/core").Variable<number>;
|
|
55
|
+
208: import("@tamagui/core").Variable<number>;
|
|
56
|
+
};
|
|
57
|
+
}, "color" | "space" | "size" | "radius" | "zIndex">, {
|
|
58
|
+
light: {
|
|
59
|
+
'content.base.hi': string;
|
|
60
|
+
'content.base.mid': string;
|
|
61
|
+
'content.base.low': string;
|
|
62
|
+
'content.base.onContrasted.hi': string;
|
|
63
|
+
'content.base.onContrasted.mid': string;
|
|
64
|
+
'content.base.onContrasted.low': string;
|
|
65
|
+
'content.accent': string;
|
|
66
|
+
'content.promo': string;
|
|
67
|
+
'content.promo.onContrasted': string;
|
|
68
|
+
'content.info': string;
|
|
69
|
+
'content.success': string;
|
|
70
|
+
'content.warning': string;
|
|
71
|
+
'content.danger': string;
|
|
72
|
+
'content.muted': string;
|
|
73
|
+
'content.disabled': string;
|
|
74
|
+
'content.disabled.onContrasted': string;
|
|
75
|
+
'bg.base.hi.default': string;
|
|
76
|
+
'bg.base.hi.pressed': string;
|
|
77
|
+
'bg.base.mid.default': string;
|
|
78
|
+
'bg.base.mid.pressed': string;
|
|
79
|
+
'bg.base.low.default': string;
|
|
80
|
+
'bg.base.low.pressed': string;
|
|
81
|
+
'bg.accent.default': string;
|
|
82
|
+
'bg.accent.pressed': string;
|
|
83
|
+
'bg.promo.hi.default': string;
|
|
84
|
+
'bg.promo.hi.pressed': string;
|
|
85
|
+
'bg.promo.mid.default': string;
|
|
86
|
+
'bg.promo.mid.pressed': string;
|
|
87
|
+
'bg.highlight.default': string;
|
|
88
|
+
'bg.highlight.pressed': string;
|
|
89
|
+
'bg.info.hi': string;
|
|
90
|
+
'bg.info.mid': string;
|
|
91
|
+
'bg.success.hi': string;
|
|
92
|
+
'bg.success.mid': string;
|
|
93
|
+
'bg.warning.hi': string;
|
|
94
|
+
'bg.warning.mid': string;
|
|
95
|
+
'bg.danger.hi': string;
|
|
96
|
+
'bg.danger.mid': string;
|
|
97
|
+
'bg.disabled.hi': string;
|
|
98
|
+
'bg.disabled.mid': string;
|
|
99
|
+
'bg.overlay': string;
|
|
100
|
+
'border.base.hi': string;
|
|
101
|
+
'border.base.mid': string;
|
|
102
|
+
'border.base.onContrasted.hi': string;
|
|
103
|
+
'border.base.onContrasted.mid': string;
|
|
104
|
+
'border.info': string;
|
|
105
|
+
'border.success': string;
|
|
106
|
+
'border.warning': string;
|
|
107
|
+
'border.danger': string;
|
|
108
|
+
'border.disabled': string;
|
|
109
|
+
};
|
|
110
|
+
}, {}, {
|
|
111
|
+
base: {
|
|
112
|
+
minWidth: number;
|
|
113
|
+
};
|
|
114
|
+
small: {
|
|
115
|
+
minWidth: number;
|
|
116
|
+
};
|
|
117
|
+
medium: {
|
|
118
|
+
minWidth: number;
|
|
119
|
+
};
|
|
120
|
+
large: {
|
|
121
|
+
minWidth: number;
|
|
122
|
+
};
|
|
123
|
+
wide: {
|
|
124
|
+
minWidth: number;
|
|
125
|
+
};
|
|
126
|
+
}, {}, {
|
|
127
|
+
GTStandard: {
|
|
128
|
+
family: string;
|
|
129
|
+
size: Record<"heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s", number>;
|
|
130
|
+
lineHeight: Record<"heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s", number>;
|
|
131
|
+
letterSpacing: Record<"heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s", number>;
|
|
132
|
+
weight: Record<string, import("./tokens/fonts").GTStandardFontWeight>;
|
|
133
|
+
face: Record<import("./tokens/fonts").GTStandardFontWeight, Record<string, string>>;
|
|
134
|
+
};
|
|
135
|
+
}, {
|
|
136
|
+
allowedStyleValues: "strict";
|
|
137
|
+
disableSSR: true;
|
|
138
|
+
styleCompat: "react-native";
|
|
139
|
+
autocompleteSpecificTokens: true;
|
|
140
|
+
debug: boolean;
|
|
141
|
+
}>;
|
|
142
|
+
type Conf = typeof config;
|
|
143
|
+
declare module '@tamagui/core' {
|
|
144
|
+
interface TamaguiCustomConfig extends Conf {
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
export {};
|
|
148
|
+
//# sourceMappingURL=tamagui.config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tamagui.config.d.ts","sourceRoot":"","sources":["../../src/tamagui.config.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBjB,CAAC;AAEH,KAAK,IAAI,GAAG,OAAO,MAAM,CAAC;AAG1B,OAAO,QAAQ,eAAe,CAAC;IAC7B,UAAU,mBAAoB,SAAQ,IAAI;KAAG;CAC9C"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const light: {
|
|
2
|
+
'content.base.hi': string;
|
|
3
|
+
'content.base.mid': string;
|
|
4
|
+
'content.base.low': string;
|
|
5
|
+
'content.base.onContrasted.hi': string;
|
|
6
|
+
'content.base.onContrasted.mid': string;
|
|
7
|
+
'content.base.onContrasted.low': string;
|
|
8
|
+
'content.accent': string;
|
|
9
|
+
'content.promo': string;
|
|
10
|
+
'content.promo.onContrasted': string;
|
|
11
|
+
'content.info': string;
|
|
12
|
+
'content.success': string;
|
|
13
|
+
'content.warning': string;
|
|
14
|
+
'content.danger': string;
|
|
15
|
+
'content.muted': string;
|
|
16
|
+
'content.disabled': string;
|
|
17
|
+
'content.disabled.onContrasted': string;
|
|
18
|
+
'bg.base.hi.default': string;
|
|
19
|
+
'bg.base.hi.pressed': string;
|
|
20
|
+
'bg.base.mid.default': string;
|
|
21
|
+
'bg.base.mid.pressed': string;
|
|
22
|
+
'bg.base.low.default': string;
|
|
23
|
+
'bg.base.low.pressed': string;
|
|
24
|
+
'bg.accent.default': string;
|
|
25
|
+
'bg.accent.pressed': string;
|
|
26
|
+
'bg.promo.hi.default': string;
|
|
27
|
+
'bg.promo.hi.pressed': string;
|
|
28
|
+
'bg.promo.mid.default': string;
|
|
29
|
+
'bg.promo.mid.pressed': string;
|
|
30
|
+
'bg.highlight.default': string;
|
|
31
|
+
'bg.highlight.pressed': string;
|
|
32
|
+
'bg.info.hi': string;
|
|
33
|
+
'bg.info.mid': string;
|
|
34
|
+
'bg.success.hi': string;
|
|
35
|
+
'bg.success.mid': string;
|
|
36
|
+
'bg.warning.hi': string;
|
|
37
|
+
'bg.warning.mid': string;
|
|
38
|
+
'bg.danger.hi': string;
|
|
39
|
+
'bg.danger.mid': string;
|
|
40
|
+
'bg.disabled.hi': string;
|
|
41
|
+
'bg.disabled.mid': string;
|
|
42
|
+
'bg.overlay': string;
|
|
43
|
+
'border.base.hi': string;
|
|
44
|
+
'border.base.mid': string;
|
|
45
|
+
'border.base.onContrasted.hi': string;
|
|
46
|
+
'border.base.onContrasted.mid': string;
|
|
47
|
+
'border.info': string;
|
|
48
|
+
'border.success': string;
|
|
49
|
+
'border.warning': string;
|
|
50
|
+
'border.danger': string;
|
|
51
|
+
'border.disabled': string;
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=light.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../../src/themes/light.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwDjB,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { IntRange } from 'type-fest';
|
|
2
|
+
interface ColorScaleKeysMap {
|
|
3
|
+
deepPurple: IntRange<5, 10>;
|
|
4
|
+
beige: IntRange<1, 7>;
|
|
5
|
+
lightning: 4 | 5 | 8 | 9;
|
|
6
|
+
rainbow: 'pink' | 'brick' | 'orange' | 'gold' | 'sun' | 'green-pine' | 'green-grass' | 'green-apple' | 'blue-electric' | 'blue-sky';
|
|
7
|
+
grey: 0 | 1 | 2 | 3 | 5 | 7 | 9;
|
|
8
|
+
blue: 1 | 2 | 6 | 7;
|
|
9
|
+
green: 1 | 2 | 6 | 7;
|
|
10
|
+
yellow: 1 | 2 | 6 | 7;
|
|
11
|
+
red: 1 | 2 | 6 | 7;
|
|
12
|
+
'beige-alpha': '25' | '40' | '50';
|
|
13
|
+
'grey-alpha': '25' | '35' | '50';
|
|
14
|
+
'white-alpha': '10' | '20' | '60' | '80' | '90';
|
|
15
|
+
}
|
|
16
|
+
type CreateColorScale<K extends keyof ColorScaleKeysMap> = Record<ColorScaleKeysMap[K], string>;
|
|
17
|
+
type ColorScales = {
|
|
18
|
+
[K in keyof ColorScaleKeysMap]: CreateColorScale<K>;
|
|
19
|
+
};
|
|
20
|
+
export declare const colorScales: ColorScales;
|
|
21
|
+
export declare const deepPurpleColorPalette: {
|
|
22
|
+
white: string;
|
|
23
|
+
black: string;
|
|
24
|
+
transparent: string;
|
|
25
|
+
"deepPurple.5": string;
|
|
26
|
+
"deepPurple.6": string;
|
|
27
|
+
"deepPurple.7": string;
|
|
28
|
+
"deepPurple.8": string;
|
|
29
|
+
"deepPurple.9": string;
|
|
30
|
+
"beige.1": string;
|
|
31
|
+
"beige.5": string;
|
|
32
|
+
"beige.2": string;
|
|
33
|
+
"beige.3": string;
|
|
34
|
+
"beige.4": string;
|
|
35
|
+
"beige.6": string;
|
|
36
|
+
"lightning.5": string;
|
|
37
|
+
"lightning.4": string;
|
|
38
|
+
"lightning.8": string;
|
|
39
|
+
"lightning.9": string;
|
|
40
|
+
"rainbow.pink": string;
|
|
41
|
+
"rainbow.brick": string;
|
|
42
|
+
"rainbow.orange": string;
|
|
43
|
+
"rainbow.gold": string;
|
|
44
|
+
"rainbow.sun": string;
|
|
45
|
+
"rainbow.green-pine": string;
|
|
46
|
+
"rainbow.green-grass": string;
|
|
47
|
+
"rainbow.green-apple": string;
|
|
48
|
+
"rainbow.blue-electric": string;
|
|
49
|
+
"rainbow.blue-sky": string;
|
|
50
|
+
"grey.0": string;
|
|
51
|
+
"grey.1": string;
|
|
52
|
+
"grey.5": string;
|
|
53
|
+
"grey.2": string;
|
|
54
|
+
"grey.3": string;
|
|
55
|
+
"grey.7": string;
|
|
56
|
+
"grey.9": string;
|
|
57
|
+
"blue.1": string;
|
|
58
|
+
"blue.2": string;
|
|
59
|
+
"blue.6": string;
|
|
60
|
+
"blue.7": string;
|
|
61
|
+
"green.1": string;
|
|
62
|
+
"green.2": string;
|
|
63
|
+
"green.6": string;
|
|
64
|
+
"green.7": string;
|
|
65
|
+
"yellow.1": string;
|
|
66
|
+
"yellow.2": string;
|
|
67
|
+
"yellow.6": string;
|
|
68
|
+
"yellow.7": string;
|
|
69
|
+
"red.1": string;
|
|
70
|
+
"red.2": string;
|
|
71
|
+
"red.6": string;
|
|
72
|
+
"red.7": string;
|
|
73
|
+
"beige-alpha.25": string;
|
|
74
|
+
"beige-alpha.40": string;
|
|
75
|
+
"beige-alpha.50": string;
|
|
76
|
+
"grey-alpha.25": string;
|
|
77
|
+
"grey-alpha.50": string;
|
|
78
|
+
"grey-alpha.35": string;
|
|
79
|
+
"white-alpha.10": string;
|
|
80
|
+
"white-alpha.20": string;
|
|
81
|
+
"white-alpha.60": string;
|
|
82
|
+
"white-alpha.80": string;
|
|
83
|
+
"white-alpha.90": string;
|
|
84
|
+
};
|
|
85
|
+
export {};
|
|
86
|
+
//# sourceMappingURL=deepPurpleColorPalette.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deepPurpleColorPalette.d.ts","sourceRoot":"","sources":["../../../../src/themes/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,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;AAcF,eAAO,MAAM,WAAW,EAAE,WAoFhB,CAAC;AAYX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare enum BreakpointNameEnum {
|
|
2
|
+
BASE = "base",
|
|
3
|
+
SMALL = "small",
|
|
4
|
+
MEDIUM = "medium",
|
|
5
|
+
LARGE = "large",
|
|
6
|
+
WIDE = "wide"
|
|
7
|
+
}
|
|
8
|
+
export declare const breakpoints: {
|
|
9
|
+
base: number;
|
|
10
|
+
small: number;
|
|
11
|
+
medium: number;
|
|
12
|
+
large: number;
|
|
13
|
+
wide: number;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=breakpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breakpoints.d.ts","sourceRoot":"","sources":["../../../../src/themes/utils/breakpoints.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,18 @@
|
|
|
1
|
+
export declare const HEADING_VARIANTS: readonly ["heading-2xl", "heading-xl", "heading-l", "heading-m", "heading-s", "heading-xs"];
|
|
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 VARIANTS: readonly ["heading-2xl", "heading-xl", "heading-l", "heading-m", "heading-s", "heading-xs", "body-xl", "body-l", "body-m", "body-s", "body-xs", "label-xl", "label-l", "label-m", "label-s"];
|
|
5
|
+
export type FontVariants = (typeof VARIANTS)[number];
|
|
6
|
+
export type BodyFontVariants = (typeof BODY_VARIANTS)[number];
|
|
7
|
+
export type LabelFontVariants = (typeof LABEL_VARIANTS)[number];
|
|
8
|
+
export type HeadingFontVariants = (typeof HEADING_VARIANTS)[number];
|
|
9
|
+
export type GTStandardFontWeight = '500' | '600' | '700';
|
|
10
|
+
export declare const fonts: {
|
|
11
|
+
family: string;
|
|
12
|
+
size: Record<"heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s", number>;
|
|
13
|
+
lineHeight: Record<"heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s", number>;
|
|
14
|
+
letterSpacing: Record<"heading-2xl" | "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "body-xl" | "body-l" | "body-m" | "body-s" | "body-xs" | "label-xl" | "label-l" | "label-m" | "label-s", number>;
|
|
15
|
+
weight: Record<string, GTStandardFontWeight>;
|
|
16
|
+
face: Record<GTStandardFontWeight, Record<string, string>>;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=fonts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../src/tokens/fonts.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,6FAOnB,CAAC;AACX,eAAO,MAAM,aAAa,+DAAgE,CAAC;AAC3F,eAAO,MAAM,cAAc,wDAAyD,CAAC;AACrF,eAAO,MAAM,QAAQ,8LAAsE,CAAC;AAE5F,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;AAEpE,MAAM,MAAM,oBAAoB,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AAoEzD,eAAO,MAAM,KAAK;;;;;;;CAOhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"size.d.ts","sourceRoot":"","sources":["../../../src/tokens/size.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;CAStB,CAAC"}
|