@ornikar/bumper 3.6.1 → 3.7.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 +18 -0
- package/dist/definitions/system/actions/Button/Button.d.ts +3 -3
- package/dist/definitions/system/actions/IconButton/IconButton.d.ts +1 -1
- package/dist/definitions/system/content/icon/Icon.d.ts +1 -1
- package/dist/definitions/system/content/icon/Icon.d.ts.map +1 -1
- package/dist/definitions/system/content/typography/Typography.d.ts.map +1 -1
- package/dist/definitions/system/types.d.ts +13 -2
- package/dist/definitions/system/types.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +6 -4
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +6 -4
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.22.cjs.js +5 -2
- package/dist/index-node-22.22.cjs.js.map +1 -1
- package/dist/index-node-22.22.cjs.web.js +5 -2
- package/dist/index-node-22.22.cjs.web.js.map +1 -1
- package/dist/index-node-22.22.es.mjs +5 -2
- package/dist/index-node-22.22.es.mjs.map +1 -1
- package/dist/index-node-22.22.es.web.mjs +5 -2
- package/dist/index-node-22.22.es.web.mjs.map +1 -1
- package/dist/index.es.js +6 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +6 -4
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/Bumper.mdx +5 -0
- package/src/system/actions/Button/Button.features.stories.tsx +13 -0
- package/src/system/actions/Button/Button.mdx +86 -0
- package/src/system/actions/Button/Button.stories.tsx +0 -1
- package/src/system/actions/Button/__snapshots__/Button.features.stories.tsx.snap +166 -0
- package/src/system/actions/Button/__snapshots_web__/Button.features.stories.tsx.snap +60 -0
- package/src/system/actions/IconButton/IconButton.features.stories.tsx +8 -0
- package/src/system/actions/IconButton/IconButton.mdx +74 -0
- package/src/system/actions/IconButton/IconButton.stories.tsx +0 -1
- package/src/system/actions/IconButton/__snapshots__/IconButton.features.stories.tsx.snap +76 -0
- package/src/system/actions/IconButton/__snapshots_web__/IconButton.features.stories.tsx.snap +39 -0
- package/src/system/content/icon/Icon.features.stories.tsx +12 -0
- package/src/system/content/icon/Icon.tsx +5 -1
- package/src/system/content/icon/__snapshots__/Icon.features.stories.tsx.snap +36 -1
- package/src/system/content/icon/__snapshots_web__/Icon.features.stories.tsx.snap +33 -1
- package/src/system/content/typography/Typography.features.stories.tsx +8 -0
- package/src/system/content/typography/Typography.tsx +3 -1
- package/src/system/content/typography/TypographyIcon.features.stories.tsx +9 -0
- package/src/system/content/typography/TypographyLink.features.stories.tsx +9 -0
- package/src/system/content/typography/__snapshots__/Typography.features.stories.tsx.snap +29 -0
- package/src/system/content/typography/__snapshots__/TypographyIcon.features.stories.tsx.snap +45 -0
- package/src/system/content/typography/__snapshots__/TypographyLink.features.stories.tsx.snap +55 -0
- package/src/system/content/typography/__snapshots_web__/Typography.features.stories.tsx.snap +29 -0
- package/src/system/content/typography/__snapshots_web__/TypographyIcon.features.stories.tsx.snap +41 -0
- package/src/system/content/typography/__snapshots_web__/TypographyLink.features.stories.tsx.snap +36 -0
- package/src/system/core/primitives/Center.features.stories.tsx +17 -0
- package/src/system/core/primitives/Pressable.features.stories.tsx +18 -0
- package/src/system/core/primitives/ScrollView/ScrollView.features.stories.tsx +14 -0
- package/src/system/core/primitives/ScrollView/__snapshots__/ScrollView.features.stories.tsx.snap +350 -0
- package/src/system/core/primitives/ScrollView/__snapshots_web__/ScrollView.features.stories.tsx.snap +130 -0
- package/src/system/core/primitives/Stack.features.stories.tsx +29 -0
- package/src/system/core/primitives/View.features.stories.tsx +30 -0
- package/src/system/core/primitives/__snapshots__/Center.features.stories.tsx.snap +50 -0
- package/src/system/core/primitives/__snapshots__/Pressable.features.stories.tsx.snap +60 -0
- package/src/system/core/primitives/__snapshots__/Stack.features.stories.tsx.snap +126 -0
- package/src/system/core/primitives/__snapshots__/View.features.stories.tsx.snap +126 -0
- package/src/system/core/primitives/__snapshots_web__/Center.features.stories.tsx.snap +34 -1
- package/src/system/core/primitives/__snapshots_web__/Pressable.features.stories.tsx.snap +35 -0
- package/src/system/core/primitives/__snapshots_web__/Stack.features.stories.tsx.snap +55 -0
- package/src/system/core/primitives/__snapshots_web__/View.features.stories.tsx.snap +55 -0
- package/src/system/dataDisplays/Badge/Badge.features.stories.tsx +10 -0
- package/src/system/dataDisplays/Badge/__snapshots__/Badge.features.stories.tsx.snap +30 -0
- package/src/system/dataDisplays/Badge/__snapshots_web__/Badge.features.stories.tsx.snap +27 -0
- package/src/system/types.ts +14 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
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.7.0](https://github.com/ornikar/kitt/compare/@ornikar/bumper@3.6.2...@ornikar/bumper@3.7.0) (2026-03-17)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **bumper:** responsive and docs [no-issue] ([#2935](https://github.com/ornikar/kitt/issues/2935)) ([06371da](https://github.com/ornikar/kitt/commit/06371dadd86fa9af62703a453341380363d4786e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [3.6.2](https://github.com/ornikar/kitt/compare/@ornikar/bumper@3.6.1...@ornikar/bumper@3.6.2) (2026-03-16)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* apply default Icon size and rename IntlDate prop [no issue] ([#2933](https://github.com/ornikar/kitt/issues/2933)) ([1c3b567](https://github.com/ornikar/kitt/commit/1c3b56791a405de46d77a3488cbc76e883724763))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [3.6.1](https://github.com/ornikar/kitt/compare/@ornikar/bumper@3.6.0...@ornikar/bumper@3.6.1) (2026-03-13)
|
|
7
25
|
|
|
8
26
|
|
|
@@ -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<import("./types").ButtonWithoutMediaProps> & import("@tamagui/core").WithMediaProps<import("
|
|
14
|
+
export declare const InternalButton: import("@tamagui/core").TamaguiComponent<ButtonProps, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("../../types").PropsWithoutMediaStyles<import("./types").ButtonWithoutMediaProps> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").PropsWithoutMediaStyles<import("./types").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<import("./types").ButtonWithoutMediaProps> & import("@tamagui/core").WithMediaProps<import("
|
|
22
|
+
export declare const Button: import("react").ForwardRefExoticComponent<import("../../types").PropsWithoutMediaStyles<import("./types").ButtonWithoutMediaProps> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").PropsWithoutMediaStyles<import("./types").ButtonWithoutMediaProps>> & import("react").RefAttributes<import("@tamagui/core").TamaguiElement>> & import("@tamagui/core").StaticComponentObject<ButtonProps, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("../../types").PropsWithoutMediaStyles<import("./types").ButtonWithoutMediaProps> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").PropsWithoutMediaStyles<import("./types").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<import("./types").ButtonWithoutMediaProps> & import("@tamagui/core").WithMediaProps<import("
|
|
30
|
+
__tama: [ButtonProps, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("../../types").PropsWithoutMediaStyles<import("./types").ButtonWithoutMediaProps> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").PropsWithoutMediaStyles<import("./types").ButtonWithoutMediaProps>>, import("@tamagui/core").StackStyleBase, {
|
|
31
31
|
size?: "small" | "large" | undefined;
|
|
32
32
|
disabled?: boolean | undefined;
|
|
33
33
|
stretch?: boolean | undefined;
|
|
@@ -7,7 +7,7 @@ import type { ButtonWithoutMediaProps } from '../Button/types';
|
|
|
7
7
|
export interface IconButtonWithoutMediaProps extends Except<ButtonWithoutMediaProps, 'stretch'> {
|
|
8
8
|
}
|
|
9
9
|
export type IconButtonProps = TamaguiMediaProps<IconButtonWithoutMediaProps>;
|
|
10
|
-
export declare const InternalIconButtonFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("../../types").PropsWithoutMediaStyles<ButtonWithoutMediaProps> & import("@tamagui/core").WithMediaProps<import("
|
|
10
|
+
export declare const InternalIconButtonFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, 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, {
|
|
11
11
|
size?: "small" | "large" | undefined;
|
|
12
12
|
disabled?: boolean | undefined;
|
|
13
13
|
stretch?: boolean | undefined;
|
|
@@ -20,7 +20,7 @@ interface InternalIconProps {
|
|
|
20
20
|
export type IconProps = TamaguiMediaProps<InternalIconProps>;
|
|
21
21
|
export declare const InternalIcon: import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
22
22
|
size?: BumperIconTokens | undefined;
|
|
23
|
-
}>, "$base" | "$small" | "$medium" | "$large" | "$wide" | import("@tamagui/core").GroupMediaKeys | "$theme-light" | "$platform-native" | "$platform-web" | "$platform-android" | "$platform-ios" | keyof InternalIconProps> & import("../../types").PropsWithoutMediaStyles<InternalIconProps> & import("@tamagui/core").WithMediaProps<import("
|
|
23
|
+
}>, "$base" | "$small" | "$medium" | "$large" | "$wide" | import("@tamagui/core").GroupMediaKeys | "$theme-light" | "$platform-native" | "$platform-web" | "$platform-android" | "$platform-ios" | keyof InternalIconProps> & import("../../types").PropsWithoutMediaStyles<InternalIconProps> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").PropsWithoutMediaStyles<InternalIconProps>>, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("../../types").PropsWithoutMediaStyles<InternalIconProps> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").PropsWithoutMediaStyles<InternalIconProps>>, import("@tamagui/core").StackStyleBase, {
|
|
24
24
|
size?: BumperIconTokens | undefined;
|
|
25
25
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
26
26
|
export declare function Icon(props: IconProps): ReactNode;
|
|
@@ -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;AAIrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,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;;;;
|
|
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;AAIrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../../../src/system/content/typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../../../src/system/content/typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE3D,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,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGrD,UAAU,2BAA4B,SAAQ,oCAAoC;CAAG;AAGrF,KAAK,gCAAgC,GACjC,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,WAAW,GACX,aAAa,GACb,YAAY,GACZ,OAAO,CAAC;AAEZ,KAAK,oCAAoC,GAAG,MAAM,CAAC,uBAAuB,EAAE,gCAAgC,CAAC,GAAG;IAC9G,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB,CAAC;AAEF,MAAM,WAAW,SAAU,SAAQ,2BAA2B;IAC5D,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,MAAM,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;CAC7B;AACD,MAAM,WAAW,iBAAkB,SAAQ,2BAA2B;IACpE,OAAO,EAAE,mBAAmB,GAAG,iBAAiB,CAAC;IACjD,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB;AACD,MAAM,WAAW,gBAAiB,SAAQ,2BAA2B;IACnE,OAAO,EAAE,mBAAmB,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,mBAAmB,GAC3B,iBAAiB,CAAC,SAAS,CAAC,GAC5B,iBAAiB,CAAC,iBAAiB,CAAC,GACpC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;AAExC,eAAO,MAAM,kBAAkB;;;8CAkE7B,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE1E,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"}
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
import type { WithMediaProps } from '@tamagui/core';
|
|
1
|
+
import type { PropsWithoutMediaStyles as InternalPropsWithoutMediaStyles, WithMediaProps } from '@tamagui/core';
|
|
2
|
+
/**
|
|
3
|
+
* Rewrite of Tamagui PropsWithoutMediaStyles to make all responsive props optionnal.
|
|
4
|
+
* @internal Do not use directly, use TamaguiMediaProps instead.
|
|
5
|
+
*/
|
|
2
6
|
export type PropsWithoutMediaStyles<A> = {
|
|
3
7
|
[Key in keyof A as Key extends `$${string}` ? never : Key]: A[Key];
|
|
4
8
|
};
|
|
5
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Wraps a component's base props to add responsive breakpoint overrides.
|
|
11
|
+
*
|
|
12
|
+
* Strips all `$`-prefixed media keys from `A` (keeping base props required as defined),
|
|
13
|
+
* then re-adds them as optional via Tamagui's `WithMediaProps`. This lets consumers
|
|
14
|
+
* pass breakpoint-specific prop objects alongside regular props.
|
|
15
|
+
*/
|
|
16
|
+
export type TamaguiMediaProps<A> = PropsWithoutMediaStyles<A> & WithMediaProps<InternalPropsWithoutMediaStyles<A>>;
|
|
6
17
|
//# 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":"AACA,OAAO,KAAK,EAAE,uBAAuB,IAAI,+BAA+B,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEhH;;;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"}
|
|
@@ -708,7 +708,8 @@ const InternalTypography = styled(Text, {
|
|
|
708
708
|
}
|
|
709
709
|
});
|
|
710
710
|
function TypographyBase(props) {
|
|
711
|
-
|
|
711
|
+
const flattenProps = useProps(props);
|
|
712
|
+
return /*#__PURE__*/jsx(InternalTypography, _objectSpread({}, flattenProps));
|
|
712
713
|
}
|
|
713
714
|
const createHeading = level => {
|
|
714
715
|
// eslint-disable-next-line func-names
|
|
@@ -793,12 +794,13 @@ const InternalIcon = IconContainer.styleable(props => {
|
|
|
793
794
|
const clonedIcon = /*#__PURE__*/cloneElement(flattenProps.icon, {
|
|
794
795
|
color: style.color
|
|
795
796
|
});
|
|
796
|
-
return /*#__PURE__*/jsx(IconContainer, {
|
|
797
|
-
size: flattenProps.size
|
|
797
|
+
return /*#__PURE__*/jsx(IconContainer, _objectSpread(_objectSpread({}, flattenProps.size !== undefined ? {
|
|
798
|
+
size: flattenProps.size
|
|
799
|
+
} : undefined), {}, {
|
|
798
800
|
testID: flattenProps.testID,
|
|
799
801
|
alignSelf: flattenProps.alignSelf,
|
|
800
802
|
children: clonedIcon
|
|
801
|
-
});
|
|
803
|
+
}));
|
|
802
804
|
});
|
|
803
805
|
function Icon(props) {
|
|
804
806
|
return /*#__PURE__*/jsx(InternalIcon, _objectSpread({}, props));
|