@ornikar/bumper 3.9.1 → 3.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist/definitions/shared/storybook/StorySection.d.ts.map +1 -1
- package/dist/definitions/shared/storybook/StoryTitle.d.ts.map +1 -1
- package/dist/definitions/system/actions/Button/Button.d.ts +4 -4
- package/dist/definitions/system/actions/Button/Button.d.ts.map +1 -1
- package/dist/definitions/system/actions/IconButton/IconButton.d.ts.map +1 -1
- package/dist/definitions/system/content/icon/Icon.d.ts.map +1 -1
- package/dist/definitions/system/content/typography/Typography.d.ts +15 -10
- package/dist/definitions/system/content/typography/Typography.d.ts.map +1 -1
- package/dist/definitions/system/content/typography/TypographyLink.d.ts +1 -0
- package/dist/definitions/system/content/typography/TypographyLink.d.ts.map +1 -1
- package/dist/definitions/system/core/tokens/palettes/deepPurpleColorPalette.d.ts +70 -69
- package/dist/definitions/system/core/tokens/palettes/deepPurpleColorPalette.d.ts.map +1 -1
- package/dist/definitions/system/loading/loader/Loader.d.ts +2 -2
- package/dist/definitions/system/loading/loader/Loader.d.ts.map +1 -1
- package/dist/definitions/system/loading/loader/LoaderBackgroundCircle.d.ts +2 -1
- package/dist/definitions/system/loading/loader/LoaderBackgroundCircle.d.ts.map +1 -1
- package/dist/definitions/system/loading/loader/LoaderCircleWrapper.d.ts +2 -1
- package/dist/definitions/system/loading/loader/LoaderCircleWrapper.d.ts.map +1 -1
- package/dist/definitions/system/types.d.ts +38 -1
- package/dist/definitions/system/types.d.ts.map +1 -1
- package/dist/definitions/tamagui.config.d.ts +142 -2
- package/dist/definitions/tamagui.config.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +86 -84
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +86 -84
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.22.cjs.js +86 -84
- package/dist/index-node-22.22.cjs.js.map +1 -1
- package/dist/index-node-22.22.cjs.web.js +86 -84
- package/dist/index-node-22.22.cjs.web.js.map +1 -1
- package/dist/index-node-22.22.es.mjs +86 -84
- package/dist/index-node-22.22.es.mjs.map +1 -1
- package/dist/index-node-22.22.es.web.mjs +86 -84
- package/dist/index-node-22.22.es.web.mjs.map +1 -1
- package/dist/index.es.js +86 -84
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +86 -84
- package/dist/index.es.web.js.map +1 -1
- package/dist/storybook-metro.es.android.js +81 -80
- package/dist/storybook-metro.es.android.js.map +1 -1
- package/dist/storybook-metro.es.ios.js +81 -80
- package/dist/storybook-metro.es.ios.js.map +1 -1
- package/dist/storybook-node-22.22.cjs.js +81 -80
- package/dist/storybook-node-22.22.cjs.js.map +1 -1
- package/dist/storybook-node-22.22.cjs.web.js +81 -80
- package/dist/storybook-node-22.22.cjs.web.js.map +1 -1
- package/dist/storybook-node-22.22.es.mjs +81 -80
- package/dist/storybook-node-22.22.es.mjs.map +1 -1
- package/dist/storybook-node-22.22.es.web.mjs +81 -80
- package/dist/storybook-node-22.22.es.web.mjs.map +1 -1
- package/dist/storybook.es.js +81 -80
- package/dist/storybook.es.js.map +1 -1
- package/dist/storybook.es.web.js +81 -80
- package/dist/storybook.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/docs/migration/Typography.md +123 -35
- package/package.json +2 -2
- package/src/.eslintrc.json +2 -5
- package/src/shared/storybook/StorySection.tsx +8 -1
- package/src/shared/storybook/StoryTitle.tsx +8 -2
- package/src/system/actions/Button/Button.mdx +1 -1
- package/src/system/actions/Button/Button.tsx +5 -3
- package/src/system/actions/Button/__snapshots__/Button.features.stories.tsx.snap +10 -10
- package/src/system/actions/Button/__snapshots_web__/Button.features.stories.tsx.snap +2 -2
- package/src/system/actions/Button/utils/contentColor.ts +1 -1
- package/src/system/actions/IconButton/IconButton.tsx +3 -2
- package/src/system/actions/IconButton/__snapshots__/IconButton.features.stories.tsx.snap +10 -10
- package/src/system/actions/IconButton/__snapshots_web__/IconButton.features.stories.tsx.snap +2 -2
- package/src/system/content/icon/Icon.tsx +7 -2
- package/src/system/content/typography/Typography.features.stories.tsx +2 -2
- package/src/system/content/typography/Typography.stories.tsx +2 -2
- package/src/system/content/typography/Typography.tsx +21 -19
- package/src/system/content/typography/TypographyLink.features.stories.tsx +2 -2
- package/src/system/content/typography/TypographyLink.stories.tsx +2 -2
- package/src/system/content/typography/TypographyLink.tsx +4 -2
- package/src/system/core/themes/light/__snapshots__/light.stories.tsx.snap +7 -7
- package/src/system/core/themes/light/__snapshots_web__/light.stories.tsx.snap +7 -7
- package/src/system/core/themes/light/light.ts +73 -73
- package/src/system/core/tokens/palettes/__snapshots__/deepPurpleColorPalette.stories.tsx.snap +141 -70
- package/src/system/core/tokens/palettes/__snapshots_web__/deepPurpleColorPalette.stories.tsx.snap +91 -70
- package/src/system/core/tokens/palettes/deepPurpleColorPalette.ts +9 -8
- package/src/system/loading/loader/Loader.tsx +16 -15
- package/src/system/loading/loader/LoaderBackgroundCircle.tsx +8 -1
- package/src/system/loading/loader/LoaderCircleWrapper.tsx +11 -1
- package/src/system/types.ts +51 -2
- package/src/tamagui.config.ts +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
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
|
+
## [3.10.1](https://github.com/ornikar/kitt/compare/@ornikar/bumper@3.10.0...@ornikar/bumper@3.10.1) (2026-04-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* expand Typography migration doc with icon caveats and color inheritance [no issue] ([#2989](https://github.com/ornikar/kitt/issues/2989)) ([d5932c5](https://github.com/ornikar/kitt/commit/d5932c523e34703d0cbc7294ea1f94d354dcd825))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [3.10.0](https://github.com/ornikar/kitt/compare/@ornikar/bumper@3.9.1...@ornikar/bumper@3.10.0) (2026-04-15)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **bumper:** prefix all palette color token names with `palette.*` [no issue] ([#2973](https://github.com/ornikar/kitt/issues/2973)) ([291baa5](https://github.com/ornikar/kitt/commit/291baa50016a9fdf268f77e878d515d75fa844cb))
|
|
21
|
+
* **bumper:** update grey palette and disabled Button treatment [no-issue] ([#2978](https://github.com/ornikar/kitt/issues/2978)) ([92948d9](https://github.com/ornikar/kitt/commit/92948d956dd7af3fb2338f210e1109536f767b70))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* **bumper:** update Typography migration doc [no-issue] ([#2975](https://github.com/ornikar/kitt/issues/2975)) ([a08992e](https://github.com/ornikar/kitt/commit/a08992e6ba8159a4fa8e34c2d92aba74a2cd2760))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
## [3.9.1](https://github.com/ornikar/kitt/compare/@ornikar/bumper@3.9.0...@ornikar/bumper@3.9.1) (2026-04-14)
|
|
7
31
|
|
|
8
32
|
|
|
@@ -1 +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;
|
|
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;AAsB9E,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoryTitle.d.ts","sourceRoot":"","sources":["../../../../src/shared/storybook/StoryTitle.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StoryTitle.d.ts","sourceRoot":"","sources":["../../../../src/shared/storybook/StoryTitle.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,UAAU;;;;8CAYrB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { ButtonBadge } from './components/ButtonBadge';
|
|
|
2
2
|
import { ButtonIcon } from './components/ButtonIcon';
|
|
3
3
|
import { ButtonText } from './components/ButtonText';
|
|
4
4
|
import type { ButtonType } from './context';
|
|
5
|
-
import type { ButtonProps } from './types';
|
|
5
|
+
import type { ButtonProps, ButtonWithoutMediaProps } from './types';
|
|
6
6
|
export declare const InternalButtonFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
7
7
|
size?: "small" | "large" | undefined;
|
|
8
8
|
disabled?: boolean | undefined;
|
|
@@ -11,7 +11,7 @@ export declare const InternalButtonFrame: import("@tamagui/core").TamaguiCompone
|
|
|
11
11
|
type?: ButtonType | undefined;
|
|
12
12
|
isLoading?: boolean | undefined;
|
|
13
13
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
14
|
-
export declare const InternalButton: import("@tamagui/core").TamaguiComponent<ButtonProps, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("../../types").PropsWithoutMediaStyles<
|
|
14
|
+
export declare const InternalButton: import("@tamagui/core").TamaguiComponent<ButtonProps, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("../../types").PropsWithoutMediaStyles<ButtonWithoutMediaProps> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").PropsWithoutMediaStyles<ButtonWithoutMediaProps>>, import("@tamagui/core").StackStyleBase, {
|
|
15
15
|
size?: "small" | "large" | undefined;
|
|
16
16
|
disabled?: boolean | undefined;
|
|
17
17
|
stretch?: boolean | undefined;
|
|
@@ -19,7 +19,7 @@ export declare const InternalButton: import("@tamagui/core").TamaguiComponent<Bu
|
|
|
19
19
|
type?: ButtonType | undefined;
|
|
20
20
|
isLoading?: boolean | undefined;
|
|
21
21
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
22
|
-
export declare const Button: import("react").ForwardRefExoticComponent<import("../../types").PropsWithoutMediaStyles<
|
|
22
|
+
export declare const Button: import("react").ForwardRefExoticComponent<import("../../types").PropsWithoutMediaStyles<ButtonWithoutMediaProps> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").PropsWithoutMediaStyles<ButtonWithoutMediaProps>> & import("react").RefAttributes<import("@tamagui/core").TamaguiElement>> & import("@tamagui/core").StaticComponentObject<ButtonProps, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("../../types").PropsWithoutMediaStyles<ButtonWithoutMediaProps> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").PropsWithoutMediaStyles<ButtonWithoutMediaProps>>, import("@tamagui/core").StackStyleBase, {
|
|
23
23
|
size?: "small" | "large" | undefined;
|
|
24
24
|
disabled?: boolean | undefined;
|
|
25
25
|
stretch?: boolean | undefined;
|
|
@@ -27,7 +27,7 @@ export declare const Button: import("react").ForwardRefExoticComponent<import(".
|
|
|
27
27
|
type?: ButtonType | undefined;
|
|
28
28
|
isLoading?: boolean | undefined;
|
|
29
29
|
}, import("@tamagui/core").StaticConfigPublic> & Omit<import("@tamagui/core").StaticConfigPublic, "staticConfig" | "extractable" | "styleable"> & {
|
|
30
|
-
__tama: [ButtonProps, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("../../types").PropsWithoutMediaStyles<
|
|
30
|
+
__tama: [ButtonProps, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("../../types").PropsWithoutMediaStyles<ButtonWithoutMediaProps> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").PropsWithoutMediaStyles<ButtonWithoutMediaProps>>, import("@tamagui/core").StackStyleBase, {
|
|
31
31
|
size?: "small" | "large" | undefined;
|
|
32
32
|
disabled?: boolean | undefined;
|
|
33
33
|
stretch?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/system/actions/Button/Button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/system/actions/Button/Button.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,KAAK,EAAE,WAAW,EAAmB,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAErF,eAAO,MAAM,mBAAmB;;;;;;;8CAoH9B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;8CAmBzB,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;CAIjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../../src/system/actions/IconButton/IconButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../../src/system/actions/IconButton/IconButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,KAAK,EAA0B,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAE7E,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE/D,MAAM,WAAW,2BAA4B,SAAQ,MAAM,CAAC,uBAAuB,EAAE,SAAS,CAAC;CAAG;AAElG,MAAM,MAAM,eAAe,GAAG,iBAAiB,CAAC,2BAA2B,CAAC,CAAC;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;8CAoBlC,CAAC;AAEH,iBAAS,kBAAkB,CAAC,KAAK,EAAE,eAAe,GAAG,SAAS,CAE7D;AAED,eAAO,MAAM,UAAU;;;CAGrB,CAAC"}
|
|
@@ -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,MAAM,eAAe,CAAC;AAE3D,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
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,MAAM,eAAe,CAAC;AAE3D,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAA0B,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAM7E,QAAA,MAAM,aAAa;;8CAcjB,CAAC;AAEH,KAAK,kBAAkB,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAEzD,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,UAAU,iBAAiB;IACzB,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,MAAM,MAAM,SAAS,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;AAE7D,eAAO,MAAM,YAAY;;;;8CAevB,CAAC;AAEH,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAEhD"}
|
|
@@ -1,33 +1,38 @@
|
|
|
1
|
-
import type { ColorTokens,
|
|
1
|
+
import type { ColorTokens, TextProps } from '@tamagui/core';
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
3
|
import { type Except } from 'type-fest';
|
|
4
4
|
import { type BodyFontVariants, type HeadingFontVariants, type LabelFontVariants } from '../../core/tokens/GTStandardFont';
|
|
5
5
|
import { type ContentCapsVariants } from '../../core/tokens/GTStandardNarrowFont';
|
|
6
6
|
import type { TamaguiMediaProps } from '../../types';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
type TypographyExcludedFontStyleProps = 'fontFamily' | 'fontSize' | 'lineHeight' | 'fontStyle' | 'fontVariant' | 'fontWeight' | 'color';
|
|
10
|
-
type TypographyPropsWithoutFontStyleProps = Except<InternalTypographyProps, TypographyExcludedFontStyleProps> & {
|
|
7
|
+
type InternalTypographyExcludedFontStyleProps = 'fontFamily' | 'fontSize' | 'lineHeight' | 'fontStyle' | 'fontVariant' | 'fontWeight' | 'color';
|
|
8
|
+
type InternalTypographyPropsWithoutFontStyleProps = Except<TextProps, InternalTypographyExcludedFontStyleProps> & {
|
|
11
9
|
color?: ColorTokens;
|
|
12
10
|
};
|
|
13
|
-
|
|
11
|
+
interface InternalTypographyWithoutMediaProps extends InternalTypographyPropsWithoutFontStyleProps {
|
|
12
|
+
}
|
|
13
|
+
interface TypographyBodyWithoutMediaProps extends InternalTypographyWithoutMediaProps {
|
|
14
14
|
variant?: BodyFontVariants;
|
|
15
15
|
weight?: 'regular' | 'bold';
|
|
16
16
|
}
|
|
17
|
-
|
|
17
|
+
interface TypographyHeadingLabelWithoutMediaProps extends InternalTypographyWithoutMediaProps {
|
|
18
18
|
variant: HeadingFontVariants | LabelFontVariants;
|
|
19
19
|
weight?: 'semibold';
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
interface TypographyContentCapsWithoutMediaProps extends InternalTypographyWithoutMediaProps {
|
|
22
22
|
variant: ContentCapsVariants;
|
|
23
23
|
weight?: 'bold';
|
|
24
24
|
}
|
|
25
|
-
export
|
|
25
|
+
export interface TypographyBodyProps extends TamaguiMediaProps<TypographyBodyWithoutMediaProps> {
|
|
26
|
+
}
|
|
27
|
+
export interface TypographyHeadingLabelProps extends TamaguiMediaProps<TypographyHeadingLabelWithoutMediaProps> {
|
|
28
|
+
}
|
|
29
|
+
export interface TypographyContentCapsProps extends TamaguiMediaProps<TypographyContentCapsWithoutMediaProps> {
|
|
30
|
+
}
|
|
31
|
+
export type TypographyTextProps = TypographyBodyProps | TypographyHeadingLabelProps | TypographyContentCapsProps;
|
|
26
32
|
export declare const InternalTypography: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
27
33
|
weight?: "bold" | "semibold" | "regular" | undefined;
|
|
28
34
|
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-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;
|
|
29
35
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
30
|
-
export type InternalTypographyProps = GetProps<typeof InternalTypography>;
|
|
31
36
|
export declare function TypographyBase(props: TypographyTextProps): ReactNode;
|
|
32
37
|
export declare const createHeading: (level: number) => ((props: TypographyTextProps) => ReactNode);
|
|
33
38
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../../../src/system/content/typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../../../src/system/content/typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,EAEL,KAAK,gBAAgB,EAErB,KAAK,mBAAmB,EAExB,KAAK,iBAAiB,EACvB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAyB,KAAK,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAEzG,OAAO,KAAK,EAA0B,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAI7E,KAAK,wCAAwC,GACzC,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,WAAW,GACX,aAAa,GACb,YAAY,GACZ,OAAO,CAAC;AAEZ,KAAK,4CAA4C,GAAG,MAAM,CAAC,SAAS,EAAE,wCAAwC,CAAC,GAAG;IAChH,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB,CAAC;AAEF,UAAU,mCAAoC,SAAQ,4CAA4C;CAAG;AAErG,UAAU,+BAAgC,SAAQ,mCAAmC;IACnF,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,MAAM,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;CAC7B;AACD,UAAU,uCAAwC,SAAQ,mCAAmC;IAC3F,OAAO,EAAE,mBAAmB,GAAG,iBAAiB,CAAC;IACjD,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB;AACD,UAAU,sCAAuC,SAAQ,mCAAmC;IAC1F,OAAO,EAAE,mBAAmB,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB,CAAC,+BAA+B,CAAC;CAAG;AAClG,MAAM,WAAW,2BAA4B,SAAQ,iBAAiB,CAAC,uCAAuC,CAAC;CAAG;AAClH,MAAM,WAAW,0BAA2B,SAAQ,iBAAiB,CAAC,sCAAsC,CAAC;CAAG;AAEhH,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,GAAG,2BAA2B,GAAG,0BAA0B,CAAC;AAEjH,eAAO,MAAM,kBAAkB;;;8CAsE7B,CAAC;AAEH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,GAAG,SAAS,CAGpE;AAED,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,KAAG,CAAC,CAAC,KAAK,EAAE,mBAAmB,KAAK,SAAS,CAKvF,CAAC"}
|
|
@@ -5,6 +5,7 @@ export interface TypographyLinkWithoutMediaProps {
|
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
noUnderline?: boolean;
|
|
7
7
|
onPress?: () => void;
|
|
8
|
+
href?: string;
|
|
8
9
|
}
|
|
9
10
|
export type TypographyLinkProps = TypographyTextProps & TamaguiMediaProps<TypographyLinkWithoutMediaProps>;
|
|
10
11
|
export declare const InternalTypographyLink: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypographyLink.d.ts","sourceRoot":"","sources":["../../../../../src/system/content/typography/TypographyLink.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TypographyLink.d.ts","sourceRoot":"","sources":["../../../../../src/system/content/typography/TypographyLink.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAA0B,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAIxD,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,GAAG,iBAAiB,CAAC,+BAA+B,CAAC,CAAC;AAE3G,eAAO,MAAM,sBAAsB;;;;;8CAiCjC,CAAC;AAEH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,GAAG,SAAS,CAEpE"}
|
|
@@ -4,7 +4,7 @@ interface ColorScaleKeysMap {
|
|
|
4
4
|
beige: IntRange<1, 7>;
|
|
5
5
|
lightning: 4 | 5 | 8 | 9;
|
|
6
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;
|
|
7
|
+
grey: 0 | 1 | 2 | 3 | 4 | 5 | 7 | 9;
|
|
8
8
|
blue: 1 | 2 | 4 | 6 | 7;
|
|
9
9
|
green: 1 | 2 | 6 | 7;
|
|
10
10
|
yellow: 1 | 2 | 6 | 7;
|
|
@@ -21,74 +21,75 @@ type ColorScales = {
|
|
|
21
21
|
};
|
|
22
22
|
export declare const colorScales: ColorScales;
|
|
23
23
|
export declare const deepPurpleColorPalette: {
|
|
24
|
-
white: string;
|
|
25
|
-
black: string;
|
|
26
|
-
transparent: string;
|
|
27
|
-
"deepPurple.5": string;
|
|
28
|
-
"deepPurple.6": string;
|
|
29
|
-
"deepPurple.7": string;
|
|
30
|
-
"deepPurple.8": string;
|
|
31
|
-
"deepPurple.9": string;
|
|
32
|
-
"beige.1": string;
|
|
33
|
-
"beige.5": string;
|
|
34
|
-
"beige.2": string;
|
|
35
|
-
"beige.3": string;
|
|
36
|
-
"beige.4": string;
|
|
37
|
-
"beige.6": string;
|
|
38
|
-
"lightning.5": string;
|
|
39
|
-
"lightning.4": string;
|
|
40
|
-
"lightning.8": string;
|
|
41
|
-
"lightning.9": string;
|
|
42
|
-
"rainbow.pink": string;
|
|
43
|
-
"rainbow.brick": string;
|
|
44
|
-
"rainbow.orange": string;
|
|
45
|
-
"rainbow.gold": string;
|
|
46
|
-
"rainbow.sun": string;
|
|
47
|
-
"rainbow.green-pine": string;
|
|
48
|
-
"rainbow.green-grass": string;
|
|
49
|
-
"rainbow.green-apple": string;
|
|
50
|
-
"rainbow.blue-electric": string;
|
|
51
|
-
"rainbow.blue-sky": string;
|
|
52
|
-
"grey.0": string;
|
|
53
|
-
"grey.1": string;
|
|
54
|
-
"grey.5": string;
|
|
55
|
-
"grey.2": string;
|
|
56
|
-
"grey.3": string;
|
|
57
|
-
"grey.
|
|
58
|
-
"grey.
|
|
59
|
-
"
|
|
60
|
-
"blue.
|
|
61
|
-
"blue.
|
|
62
|
-
"blue.
|
|
63
|
-
"blue.
|
|
64
|
-
"
|
|
65
|
-
"green.
|
|
66
|
-
"green.
|
|
67
|
-
"green.
|
|
68
|
-
"
|
|
69
|
-
"yellow.
|
|
70
|
-
"yellow.
|
|
71
|
-
"yellow.
|
|
72
|
-
"
|
|
73
|
-
"red.
|
|
74
|
-
"red.
|
|
75
|
-
"red.
|
|
76
|
-
"
|
|
77
|
-
"mauve.
|
|
78
|
-
"mauve.
|
|
79
|
-
"mauve.
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"beige-alpha.
|
|
83
|
-
"beige-alpha.
|
|
84
|
-
"
|
|
85
|
-
"grey-alpha.
|
|
86
|
-
"grey-alpha.
|
|
87
|
-
"
|
|
88
|
-
"white-alpha.
|
|
89
|
-
"white-alpha.
|
|
90
|
-
"white-alpha.
|
|
91
|
-
"white-alpha.
|
|
24
|
+
'palette.white': string;
|
|
25
|
+
'palette.black': string;
|
|
26
|
+
'palette.transparent': string;
|
|
27
|
+
"palette.deepPurple.5": string;
|
|
28
|
+
"palette.deepPurple.6": string;
|
|
29
|
+
"palette.deepPurple.7": string;
|
|
30
|
+
"palette.deepPurple.8": string;
|
|
31
|
+
"palette.deepPurple.9": string;
|
|
32
|
+
"palette.beige.1": string;
|
|
33
|
+
"palette.beige.5": string;
|
|
34
|
+
"palette.beige.2": string;
|
|
35
|
+
"palette.beige.3": string;
|
|
36
|
+
"palette.beige.4": string;
|
|
37
|
+
"palette.beige.6": string;
|
|
38
|
+
"palette.lightning.5": string;
|
|
39
|
+
"palette.lightning.4": string;
|
|
40
|
+
"palette.lightning.8": string;
|
|
41
|
+
"palette.lightning.9": string;
|
|
42
|
+
"palette.rainbow.pink": string;
|
|
43
|
+
"palette.rainbow.brick": string;
|
|
44
|
+
"palette.rainbow.orange": string;
|
|
45
|
+
"palette.rainbow.gold": string;
|
|
46
|
+
"palette.rainbow.sun": string;
|
|
47
|
+
"palette.rainbow.green-pine": string;
|
|
48
|
+
"palette.rainbow.green-grass": string;
|
|
49
|
+
"palette.rainbow.green-apple": string;
|
|
50
|
+
"palette.rainbow.blue-electric": string;
|
|
51
|
+
"palette.rainbow.blue-sky": string;
|
|
52
|
+
"palette.grey.0": string;
|
|
53
|
+
"palette.grey.1": string;
|
|
54
|
+
"palette.grey.5": string;
|
|
55
|
+
"palette.grey.2": string;
|
|
56
|
+
"palette.grey.3": string;
|
|
57
|
+
"palette.grey.4": string;
|
|
58
|
+
"palette.grey.7": string;
|
|
59
|
+
"palette.grey.9": string;
|
|
60
|
+
"palette.blue.1": string;
|
|
61
|
+
"palette.blue.2": string;
|
|
62
|
+
"palette.blue.4": string;
|
|
63
|
+
"palette.blue.6": string;
|
|
64
|
+
"palette.blue.7": string;
|
|
65
|
+
"palette.green.1": string;
|
|
66
|
+
"palette.green.2": string;
|
|
67
|
+
"palette.green.6": string;
|
|
68
|
+
"palette.green.7": string;
|
|
69
|
+
"palette.yellow.1": string;
|
|
70
|
+
"palette.yellow.2": string;
|
|
71
|
+
"palette.yellow.6": string;
|
|
72
|
+
"palette.yellow.7": string;
|
|
73
|
+
"palette.red.1": string;
|
|
74
|
+
"palette.red.2": string;
|
|
75
|
+
"palette.red.6": string;
|
|
76
|
+
"palette.red.7": string;
|
|
77
|
+
"palette.mauve.1": string;
|
|
78
|
+
"palette.mauve.2": string;
|
|
79
|
+
"palette.mauve.3": string;
|
|
80
|
+
"palette.mauve.4": string;
|
|
81
|
+
"palette.deepPurple-alpha.10": string;
|
|
82
|
+
"palette.beige-alpha.25": string;
|
|
83
|
+
"palette.beige-alpha.40": string;
|
|
84
|
+
"palette.beige-alpha.50": string;
|
|
85
|
+
"palette.grey-alpha.25": string;
|
|
86
|
+
"palette.grey-alpha.50": string;
|
|
87
|
+
"palette.grey-alpha.35": string;
|
|
88
|
+
"palette.white-alpha.10": string;
|
|
89
|
+
"palette.white-alpha.20": string;
|
|
90
|
+
"palette.white-alpha.60": string;
|
|
91
|
+
"palette.white-alpha.80": string;
|
|
92
|
+
"palette.white-alpha.90": string;
|
|
92
93
|
};
|
|
93
94
|
export {};
|
|
94
95
|
//# sourceMappingURL=deepPurpleColorPalette.d.ts.map
|
|
@@ -1 +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;
|
|
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,GAAG,CAAC,CAAC;IACpC,IAAI,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACxB,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,kBAAkB,EAAE,IAAI,CAAC;IACzB,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,WA+FhB,CAAC;AAYX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { TamaguiMediaProps } from '../../types';
|
|
3
3
|
import type { LoaderSize } from './loaderConfig';
|
|
4
|
-
interface
|
|
4
|
+
interface InternalLoaderWithoutMediaProps {
|
|
5
5
|
/** The size of the loader. `'icon'` renders a small 20px loader, `'page'` renders a larger 48px loader.
|
|
6
6
|
* @default 'page'
|
|
7
7
|
* */
|
|
@@ -13,7 +13,7 @@ interface InternalLoaderProps {
|
|
|
13
13
|
/** Test ID passed to the root container for testing purposes. */
|
|
14
14
|
testID?: string;
|
|
15
15
|
}
|
|
16
|
-
export type LoaderProps = TamaguiMediaProps<
|
|
16
|
+
export type LoaderProps = TamaguiMediaProps<InternalLoaderWithoutMediaProps>;
|
|
17
17
|
export declare function Loader({ size, isOnContrasted, testID }: LoaderProps): ReactNode;
|
|
18
18
|
export {};
|
|
19
19
|
//# sourceMappingURL=Loader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../../../src/system/loading/loader/Loader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../../../src/system/loading/loader/Loader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EAA0B,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAI7E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAKjD,UAAU,+BAA+B;IACvC;;SAEK;IACL,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;SAEK;IACL,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iEAAiE;IACjE,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAcD,MAAM,MAAM,WAAW,GAAG,iBAAiB,CAAC,+BAA+B,CAAC,CAAC;AAE7E,wBAAgB,MAAM,CAAC,EAAE,IAAa,EAAE,cAAsB,EAAE,MAAM,EAAE,EAAE,WAAW,GAAG,SAAS,CAuBhG"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { CircleProps } from 'react-native-svg';
|
|
1
2
|
import { Circle } from 'react-native-svg';
|
|
2
|
-
export declare const LoaderBackgroundCircle: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, Circle, import("@tamagui/core").TamaguiComponentPropsBaseBase &
|
|
3
|
+
export declare const LoaderBackgroundCircle: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, Circle, import("@tamagui/core").TamaguiComponentPropsBaseBase & CircleProps, import("@tamagui/core").StackStyleBase, {
|
|
3
4
|
size?: "page" | "icon" | undefined;
|
|
4
5
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
5
6
|
//# sourceMappingURL=LoaderBackgroundCircle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoaderBackgroundCircle.d.ts","sourceRoot":"","sources":["../../../../../src/system/loading/loader/LoaderBackgroundCircle.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"LoaderBackgroundCircle.d.ts","sourceRoot":"","sources":["../../../../../src/system/loading/loader/LoaderBackgroundCircle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAW1C,eAAO,MAAM,sBAAsB;;8CAQjC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { SvgProps } from 'react-native-svg';
|
|
1
2
|
import Svg from 'react-native-svg';
|
|
2
|
-
export declare const LoaderCircleWrapper: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, Svg, import("@tamagui/core").TamaguiComponentPropsBaseBase &
|
|
3
|
+
export declare const LoaderCircleWrapper: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, Svg, import("@tamagui/core").TamaguiComponentPropsBaseBase & SvgProps, import("@tamagui/core").StackStyleBase, {
|
|
3
4
|
size?: "page" | "icon" | undefined;
|
|
4
5
|
isForeground?: boolean | undefined;
|
|
5
6
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoaderCircleWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/system/loading/loader/LoaderCircleWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"LoaderCircleWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/system/loading/loader/LoaderCircleWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,GAAG,MAAM,kBAAkB,CAAC;AAanC,eAAO,MAAM,mBAAmB;;;8CAa9B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PropsWithoutMediaStyles as InternalPropsWithoutMediaStyles, WithMediaProps } from '@tamagui/core';
|
|
1
|
+
import type { PropsWithoutMediaStyles as InternalPropsWithoutMediaStyles, TokensParsed, WithMediaProps } from '@tamagui/core';
|
|
2
2
|
/**
|
|
3
3
|
* Rewrite of Tamagui PropsWithoutMediaStyles to make all responsive props optionnal.
|
|
4
4
|
* @internal Do not use directly, use TamaguiMediaProps instead.
|
|
@@ -14,4 +14,41 @@ export type PropsWithoutMediaStyles<A> = {
|
|
|
14
14
|
* pass breakpoint-specific prop objects alongside regular props.
|
|
15
15
|
*/
|
|
16
16
|
export type TamaguiMediaProps<A> = PropsWithoutMediaStyles<A> & WithMediaProps<InternalPropsWithoutMediaStyles<A>>;
|
|
17
|
+
/**
|
|
18
|
+
* A list of keys to ignore as variants.
|
|
19
|
+
* If you do not want to ignore keys globally, you should instead use the third param of the {@link PropsToTamaguiVariants}.
|
|
20
|
+
*/
|
|
21
|
+
export type DefaultIgnoredKeys = 'children';
|
|
22
|
+
/**
|
|
23
|
+
* Maps a component's variant-prop interface `T` to a Tamagui `variants` config whose entries produce
|
|
24
|
+
* style objects of type `V`.
|
|
25
|
+
*
|
|
26
|
+
* For each key `K` of `T`, the entry must be either:
|
|
27
|
+
* - a record keyed by the prop's literal values (with `boolean` props normalised to `'true' | 'false'`),
|
|
28
|
+
* where each value is a style `V` or a function returning `V`, or
|
|
29
|
+
* - a function that receives the raw prop value and a {@link VariantGoodiesParams} context and returns
|
|
30
|
+
* a style `V` (or `undefined`).
|
|
31
|
+
*
|
|
32
|
+
* Pass a union of keys as `IgnoredKeys` to skip props that should never be variants (e.g.
|
|
33
|
+
* event handlers). Ignored keys are stripped only from both the top-level map, not from `params.props`.
|
|
34
|
+
*
|
|
35
|
+
* Intended to be used with `satisfies` on the `variants` field of a `styled(...)` call so that the
|
|
36
|
+
* config is inferred `as const` while still being checked against the component's prop types, e.g.
|
|
37
|
+
* `{ ... } as const satisfies PropsToTamaguiVariants<MyVariantProps, ViewProps, 'size'>`.
|
|
38
|
+
*/
|
|
39
|
+
export type PropsToTamaguiVariants<T, V, IgnoredKeys extends keyof T = never> = {
|
|
40
|
+
[K in keyof T as K extends IgnoredKeys | Extract<keyof T, DefaultIgnoredKeys> ? never : K]: NonNullable<T[K]> extends boolean ? Record<'true' | 'false', V | ((value: boolean | string | number, params: VariantGoodiesParams<T>) => V)> : NonNullable<T[K]> extends PropertyKey ? Record<NonNullable<T[K]>, V> | ((value: NonNullable<T[K]>, params: VariantGoodiesParams<T>) => V | undefined) : never;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Second argument passed to function-form variants declared via {@link PropsToTamaguiVariants}.
|
|
44
|
+
*
|
|
45
|
+
* - `props`: the flattened props of the instance being styled, so a variant can branch on sibling
|
|
46
|
+
* props (e.g. read `disabled` or `isOnContrasted` while resolving `type`).
|
|
47
|
+
* - `tokens`: Tamagui's parsed token map, for resolving design tokens from inside the variant.
|
|
48
|
+
*/
|
|
49
|
+
interface VariantGoodiesParams<T> {
|
|
50
|
+
props: T;
|
|
51
|
+
tokens: TokensParsed;
|
|
52
|
+
}
|
|
53
|
+
export {};
|
|
17
54
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/system/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/system/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,uBAAuB,IAAI,+BAA+B,EAC1D,YAAY,EACZ,cAAc,EACf,MAAM,eAAe,CAAC;AAEvB;;;GAGG;AACH,MAAM,MAAM,uBAAuB,CAAC,CAAC,IAAI;KACtC,GAAG,IAAI,MAAM,CAAC,IAAI,GAAG,SAAS,IAAI,MAAM,EAAE,GAAG,KAAK,GAAG,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC;CACnE,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI,uBAAuB,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,+BAA+B,CAAC,CAAC,CAAC,CAAC,CAAC;AAEnH;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC;AAE5C;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,sBAAsB,CAAC,CAAC,EAAE,CAAC,EAAE,WAAW,SAAS,MAAM,CAAC,GAAG,KAAK,IAAI;KAC7E,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,EAAE,kBAAkB,CAAC,GAAG,KAAK,GAAG,CAAC,GAAG,WAAW,CACrG,CAAC,CAAC,CAAC,CAAC,CACL,SAAS,OAAO,GACb,MAAM,CAAC,MAAM,GAAG,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GACxG,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,WAAW,GACrC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,GAC7G,KAAK;CACV,CAAC;AAEF;;;;;;GAMG;AACH,UAAU,oBAAoB,CAAC,CAAC;IAC9B,KAAK,EAAE,CAAC,CAAC;IACT,MAAM,EAAE,YAAY,CAAC;CACtB"}
|