@metamask-previews/design-system-react-native 0.56.1-preview-7d5964a → 0.56.2-preview-473aecb
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 +13 -1
- package/dist/components/BottomSheetFooter/BottomSheetFooter.cjs +1 -1
- package/dist/components/BottomSheetFooter/BottomSheetFooter.cjs.map +1 -1
- package/dist/components/BottomSheetFooter/BottomSheetFooter.mjs +1 -1
- package/dist/components/BottomSheetFooter/BottomSheetFooter.mjs.map +1 -1
- package/dist/components/BoxColumn/BoxColumn.cjs +13 -0
- package/dist/components/BoxColumn/BoxColumn.cjs.map +1 -1
- package/dist/components/BoxColumn/BoxColumn.d.cts +13 -0
- package/dist/components/BoxColumn/BoxColumn.d.cts.map +1 -1
- package/dist/components/BoxColumn/BoxColumn.d.mts +13 -0
- package/dist/components/BoxColumn/BoxColumn.d.mts.map +1 -1
- package/dist/components/BoxColumn/BoxColumn.mjs +13 -0
- package/dist/components/BoxColumn/BoxColumn.mjs.map +1 -1
- package/dist/components/BoxColumn/BoxColumn.types.cjs.map +1 -1
- package/dist/components/BoxColumn/BoxColumn.types.d.cts +2 -0
- package/dist/components/BoxColumn/BoxColumn.types.d.cts.map +1 -1
- package/dist/components/BoxColumn/BoxColumn.types.d.mts +2 -0
- package/dist/components/BoxColumn/BoxColumn.types.d.mts.map +1 -1
- package/dist/components/BoxColumn/BoxColumn.types.mjs.map +1 -1
- package/dist/components/BoxRow/BoxRow.cjs +13 -0
- package/dist/components/BoxRow/BoxRow.cjs.map +1 -1
- package/dist/components/BoxRow/BoxRow.d.cts +13 -0
- package/dist/components/BoxRow/BoxRow.d.cts.map +1 -1
- package/dist/components/BoxRow/BoxRow.d.mts +13 -0
- package/dist/components/BoxRow/BoxRow.d.mts.map +1 -1
- package/dist/components/BoxRow/BoxRow.mjs +13 -0
- package/dist/components/BoxRow/BoxRow.mjs.map +1 -1
- package/dist/components/BoxRow/BoxRow.types.cjs.map +1 -1
- package/dist/components/BoxRow/BoxRow.types.d.cts +2 -0
- package/dist/components/BoxRow/BoxRow.types.d.cts.map +1 -1
- package/dist/components/BoxRow/BoxRow.types.d.mts +2 -0
- package/dist/components/BoxRow/BoxRow.types.d.mts.map +1 -1
- package/dist/components/BoxRow/BoxRow.types.mjs.map +1 -1
- package/dist/components/ButtonBase/ButtonBase.cjs +9 -5
- package/dist/components/ButtonBase/ButtonBase.cjs.map +1 -1
- package/dist/components/ButtonBase/ButtonBase.d.cts.map +1 -1
- package/dist/components/ButtonBase/ButtonBase.d.mts.map +1 -1
- package/dist/components/ButtonBase/ButtonBase.mjs +10 -6
- package/dist/components/ButtonBase/ButtonBase.mjs.map +1 -1
- package/dist/components/ButtonBase/ButtonBase.types.cjs.map +1 -1
- package/dist/components/ButtonBase/ButtonBase.types.d.cts +2 -3
- package/dist/components/ButtonBase/ButtonBase.types.d.cts.map +1 -1
- package/dist/components/ButtonBase/ButtonBase.types.d.mts +2 -3
- package/dist/components/ButtonBase/ButtonBase.types.d.mts.map +1 -1
- package/dist/components/ButtonBase/ButtonBase.types.mjs.map +1 -1
- package/dist/components/Content/Content.cjs +40 -32
- package/dist/components/Content/Content.cjs.map +1 -1
- package/dist/components/Content/Content.d.cts.map +1 -1
- package/dist/components/Content/Content.d.mts.map +1 -1
- package/dist/components/Content/Content.mjs +40 -32
- package/dist/components/Content/Content.mjs.map +1 -1
- package/dist/components/HeaderRoot/HeaderRoot.cjs +8 -5
- package/dist/components/HeaderRoot/HeaderRoot.cjs.map +1 -1
- package/dist/components/HeaderRoot/HeaderRoot.d.cts.map +1 -1
- package/dist/components/HeaderRoot/HeaderRoot.d.mts.map +1 -1
- package/dist/components/HeaderRoot/HeaderRoot.mjs +8 -5
- package/dist/components/HeaderRoot/HeaderRoot.mjs.map +1 -1
- package/dist/components/KeyValueColumn/KeyValueColumn.cjs +21 -12
- package/dist/components/KeyValueColumn/KeyValueColumn.cjs.map +1 -1
- package/dist/components/KeyValueColumn/KeyValueColumn.d.cts.map +1 -1
- package/dist/components/KeyValueColumn/KeyValueColumn.d.mts.map +1 -1
- package/dist/components/KeyValueColumn/KeyValueColumn.mjs +22 -13
- package/dist/components/KeyValueColumn/KeyValueColumn.mjs.map +1 -1
- package/dist/components/KeyValueRow/KeyValueRow.cjs +19 -10
- package/dist/components/KeyValueRow/KeyValueRow.cjs.map +1 -1
- package/dist/components/KeyValueRow/KeyValueRow.d.cts.map +1 -1
- package/dist/components/KeyValueRow/KeyValueRow.d.mts.map +1 -1
- package/dist/components/KeyValueRow/KeyValueRow.mjs +20 -11
- package/dist/components/KeyValueRow/KeyValueRow.mjs.map +1 -1
- package/dist/components/ListItem/ListItem.cjs +4 -3
- package/dist/components/ListItem/ListItem.cjs.map +1 -1
- package/dist/components/ListItem/ListItem.d.cts.map +1 -1
- package/dist/components/ListItem/ListItem.d.mts.map +1 -1
- package/dist/components/ListItem/ListItem.mjs +5 -4
- package/dist/components/ListItem/ListItem.mjs.map +1 -1
- package/dist/components/SectionHeader/SectionHeader.cjs +17 -10
- package/dist/components/SectionHeader/SectionHeader.cjs.map +1 -1
- package/dist/components/SectionHeader/SectionHeader.d.cts +2 -2
- package/dist/components/SectionHeader/SectionHeader.d.cts.map +1 -1
- package/dist/components/SectionHeader/SectionHeader.d.mts +2 -2
- package/dist/components/SectionHeader/SectionHeader.d.mts.map +1 -1
- package/dist/components/SectionHeader/SectionHeader.mjs +18 -11
- package/dist/components/SectionHeader/SectionHeader.mjs.map +1 -1
- package/dist/components/SectionHeader/SectionHeader.types.cjs.map +1 -1
- package/dist/components/SectionHeader/SectionHeader.types.d.cts +5 -5
- package/dist/components/SectionHeader/SectionHeader.types.d.cts.map +1 -1
- package/dist/components/SectionHeader/SectionHeader.types.d.mts +5 -5
- package/dist/components/SectionHeader/SectionHeader.types.d.mts.map +1 -1
- package/dist/components/SectionHeader/SectionHeader.types.mjs.map +1 -1
- package/dist/components/Switch/Switch.cjs +4 -2
- package/dist/components/Switch/Switch.cjs.map +1 -1
- package/dist/components/Switch/Switch.d.cts +1 -1
- package/dist/components/Switch/Switch.d.cts.map +1 -1
- package/dist/components/Switch/Switch.d.mts +1 -1
- package/dist/components/Switch/Switch.d.mts.map +1 -1
- package/dist/components/Switch/Switch.mjs +4 -2
- package/dist/components/Switch/Switch.mjs.map +1 -1
- package/dist/components/Tag/Tag.cjs +12 -18
- package/dist/components/Tag/Tag.cjs.map +1 -1
- package/dist/components/Tag/Tag.d.cts.map +1 -1
- package/dist/components/Tag/Tag.d.mts.map +1 -1
- package/dist/components/Tag/Tag.mjs +13 -19
- package/dist/components/Tag/Tag.mjs.map +1 -1
- package/dist/components/TitleAlert/TitleAlert.cjs +20 -18
- package/dist/components/TitleAlert/TitleAlert.cjs.map +1 -1
- package/dist/components/TitleAlert/TitleAlert.d.cts +3 -3
- package/dist/components/TitleAlert/TitleAlert.d.cts.map +1 -1
- package/dist/components/TitleAlert/TitleAlert.d.mts +3 -3
- package/dist/components/TitleAlert/TitleAlert.d.mts.map +1 -1
- package/dist/components/TitleAlert/TitleAlert.mjs +21 -19
- package/dist/components/TitleAlert/TitleAlert.mjs.map +1 -1
- package/dist/components/TitleAlert/TitleAlert.types.cjs.map +1 -1
- package/dist/components/TitleAlert/TitleAlert.types.d.cts +6 -7
- package/dist/components/TitleAlert/TitleAlert.types.d.cts.map +1 -1
- package/dist/components/TitleAlert/TitleAlert.types.d.mts +6 -7
- package/dist/components/TitleAlert/TitleAlert.types.d.mts.map +1 -1
- package/dist/components/TitleAlert/TitleAlert.types.mjs.map +1 -1
- package/dist/components/TitleHub/TitleHub.cjs +22 -13
- package/dist/components/TitleHub/TitleHub.cjs.map +1 -1
- package/dist/components/TitleHub/TitleHub.d.cts +3 -3
- package/dist/components/TitleHub/TitleHub.d.cts.map +1 -1
- package/dist/components/TitleHub/TitleHub.d.mts +3 -3
- package/dist/components/TitleHub/TitleHub.d.mts.map +1 -1
- package/dist/components/TitleHub/TitleHub.mjs +23 -14
- package/dist/components/TitleHub/TitleHub.mjs.map +1 -1
- package/dist/components/TitleHub/TitleHub.types.cjs.map +1 -1
- package/dist/components/TitleHub/TitleHub.types.d.cts +10 -10
- package/dist/components/TitleHub/TitleHub.types.d.cts.map +1 -1
- package/dist/components/TitleHub/TitleHub.types.d.mts +10 -10
- package/dist/components/TitleHub/TitleHub.types.d.mts.map +1 -1
- package/dist/components/TitleHub/TitleHub.types.mjs.map +1 -1
- package/dist/components/TitleStandard/TitleStandard.cjs +15 -9
- package/dist/components/TitleStandard/TitleStandard.cjs.map +1 -1
- package/dist/components/TitleStandard/TitleStandard.d.cts +2 -2
- package/dist/components/TitleStandard/TitleStandard.d.cts.map +1 -1
- package/dist/components/TitleStandard/TitleStandard.d.mts +2 -2
- package/dist/components/TitleStandard/TitleStandard.d.mts.map +1 -1
- package/dist/components/TitleStandard/TitleStandard.mjs +16 -10
- package/dist/components/TitleStandard/TitleStandard.mjs.map +1 -1
- package/dist/components/TitleStandard/TitleStandard.types.cjs.map +1 -1
- package/dist/components/TitleStandard/TitleStandard.types.d.cts +7 -7
- package/dist/components/TitleStandard/TitleStandard.types.d.cts.map +1 -1
- package/dist/components/TitleStandard/TitleStandard.types.d.mts +7 -7
- package/dist/components/TitleStandard/TitleStandard.types.d.mts.map +1 -1
- package/dist/components/TitleStandard/TitleStandard.types.mjs.map +1 -1
- package/dist/components/TitleSubpage/TitleSubpage.cjs +31 -18
- package/dist/components/TitleSubpage/TitleSubpage.cjs.map +1 -1
- package/dist/components/TitleSubpage/TitleSubpage.d.cts +3 -3
- package/dist/components/TitleSubpage/TitleSubpage.d.cts.map +1 -1
- package/dist/components/TitleSubpage/TitleSubpage.d.mts +3 -3
- package/dist/components/TitleSubpage/TitleSubpage.d.mts.map +1 -1
- package/dist/components/TitleSubpage/TitleSubpage.mjs +32 -19
- package/dist/components/TitleSubpage/TitleSubpage.mjs.map +1 -1
- package/dist/components/TitleSubpage/TitleSubpage.types.cjs.map +1 -1
- package/dist/components/TitleSubpage/TitleSubpage.types.d.cts +8 -9
- package/dist/components/TitleSubpage/TitleSubpage.types.d.cts.map +1 -1
- package/dist/components/TitleSubpage/TitleSubpage.types.d.mts +8 -9
- package/dist/components/TitleSubpage/TitleSubpage.types.d.mts.map +1 -1
- package/dist/components/TitleSubpage/TitleSubpage.types.mjs.map +1 -1
- package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.cjs +9 -7
- package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.cjs.map +1 -1
- package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.d.cts.map +1 -1
- package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.d.mts.map +1 -1
- package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.mjs +10 -8
- package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.mjs.map +1 -1
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.cjs +1 -1
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.cjs.map +1 -1
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.mjs +1 -1
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.mjs.map +1 -1
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.cjs.map +1 -1
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.d.cts +1 -1
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.d.mts +1 -1
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { TitleSubpagePropsShared } from "@metamask-previews/design-system-shared";
|
|
2
2
|
import type { ViewProps } from "react-native";
|
|
3
3
|
import type { BoxProps } from "../Box/Box.types.mjs";
|
|
4
|
-
import type { BoxRowProps } from "../BoxRow/BoxRow.types.mjs";
|
|
5
4
|
import type { TextProps } from "../Text/Text.types.mjs";
|
|
6
5
|
/**
|
|
7
6
|
* TitleSubpage component props (React Native).
|
|
@@ -9,31 +8,31 @@ import type { TextProps } from "../Text/Text.types.mjs";
|
|
|
9
8
|
*/
|
|
10
9
|
export type TitleSubpageProps = TitleSubpagePropsShared & {
|
|
11
10
|
/**
|
|
12
|
-
* Optional props spread onto the identity {@link
|
|
11
|
+
* Optional props spread onto the identity row {@link Box} (a row with centered items, `gap={4}`, and `h-14` by default; values here override those defaults). Excludes `children`, which the component owns.
|
|
13
12
|
*/
|
|
14
|
-
identityRowProps?: Omit<Partial<
|
|
13
|
+
identityRowProps?: Omit<Partial<BoxProps>, 'children'>;
|
|
15
14
|
/**
|
|
16
15
|
* Optional props spread onto the title/subtitle column {@link Box} (excluding `children`, which the component owns).
|
|
17
16
|
*/
|
|
18
17
|
titleColumnProps?: Omit<Partial<BoxProps>, 'children'>;
|
|
19
18
|
/**
|
|
20
|
-
* Optional props spread onto the bottom label {@link
|
|
19
|
+
* Optional props spread onto the bottom label row {@link Box} (a row with centered items and `gap={1}` by default; values here override those defaults). Excludes `children`, which the component owns.
|
|
21
20
|
*/
|
|
22
|
-
bottomLabelWrapperProps?: Omit<Partial<
|
|
21
|
+
bottomLabelWrapperProps?: Omit<Partial<BoxProps>, 'children'>;
|
|
23
22
|
/**
|
|
24
|
-
* Optional props merged into
|
|
23
|
+
* Optional props merged into the amount `Text` when `amount` is a string.
|
|
25
24
|
*/
|
|
26
25
|
amountProps?: Omit<Partial<TextProps>, 'children'>;
|
|
27
26
|
/**
|
|
28
|
-
* Optional props merged into
|
|
27
|
+
* Optional props merged into the title `Text` when `title` is a string.
|
|
29
28
|
*/
|
|
30
29
|
titleProps?: Omit<Partial<TextProps>, 'children'>;
|
|
31
30
|
/**
|
|
32
|
-
* Optional props merged into
|
|
31
|
+
* Optional props merged into the subtitle `Text` when `subtitle` is a string.
|
|
33
32
|
*/
|
|
34
33
|
subtitleProps?: Omit<Partial<TextProps>, 'children'>;
|
|
35
34
|
/**
|
|
36
|
-
* Optional props merged into
|
|
35
|
+
* Optional props merged into the bottom label `Text` when `bottomLabel` is a string.
|
|
37
36
|
*/
|
|
38
37
|
bottomLabelProps?: Omit<Partial<TextProps>, 'children'>;
|
|
39
38
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TitleSubpage.types.d.mts","sourceRoot":"","sources":["../../../src/components/TitleSubpage/TitleSubpage.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,uBAAuB,EAAE,gDAAgD;AACvF,OAAO,KAAK,EAAE,SAAS,EAAE,qBAAqB;AAG9C,OAAO,KAAK,EAAE,QAAQ,EAAE,6BAAyB;AACjD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"TitleSubpage.types.d.mts","sourceRoot":"","sources":["../../../src/components/TitleSubpage/TitleSubpage.types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,uBAAuB,EAAE,gDAAgD;AACvF,OAAO,KAAK,EAAE,SAAS,EAAE,qBAAqB;AAG9C,OAAO,KAAK,EAAE,QAAQ,EAAE,6BAAyB;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,+BAA2B;AAEpD;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,GAAG;IACxD;;OAEG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CAAC;IACvD;;OAEG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CAAC;IACvD;;OAEG;IACH,uBAAuB,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CAAC;IAC9D;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC;IACnD;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC;IAClD;;OAEG;IACH,aAAa,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC;IACrD;;OAEG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC;IACxD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TitleSubpage.types.mjs","sourceRoot":"","sources":["../../../src/components/TitleSubpage/TitleSubpage.types.ts"],"names":[],"mappings":"","sourcesContent":["// Third party dependencies.\nimport type { TitleSubpagePropsShared } from '@metamask-previews/design-system-shared';\nimport type { ViewProps } from 'react-native';\n\n// Internal dependencies.\nimport type { BoxProps } from '../Box/Box.types';\nimport type {
|
|
1
|
+
{"version":3,"file":"TitleSubpage.types.mjs","sourceRoot":"","sources":["../../../src/components/TitleSubpage/TitleSubpage.types.ts"],"names":[],"mappings":"","sourcesContent":["// Third party dependencies.\nimport type { TitleSubpagePropsShared } from '@metamask-previews/design-system-shared';\nimport type { ViewProps } from 'react-native';\n\n// Internal dependencies.\nimport type { BoxProps } from '../Box/Box.types';\nimport type { TextProps } from '../Text/Text.types';\n\n/**\n * TitleSubpage component props (React Native).\n * Extends {@link TitleSubpagePropsShared} (requires `title` and `titleAvatar`) with platform `Text` passthroughs, `twClassName`, and `View` props.\n */\nexport type TitleSubpageProps = TitleSubpagePropsShared & {\n /**\n * Optional props spread onto the identity row {@link Box} (a row with centered items, `gap={4}`, and `h-14` by default; values here override those defaults). Excludes `children`, which the component owns.\n */\n identityRowProps?: Omit<Partial<BoxProps>, 'children'>;\n /**\n * Optional props spread onto the title/subtitle column {@link Box} (excluding `children`, which the component owns).\n */\n titleColumnProps?: Omit<Partial<BoxProps>, 'children'>;\n /**\n * Optional props spread onto the bottom label row {@link Box} (a row with centered items and `gap={1}` by default; values here override those defaults). Excludes `children`, which the component owns.\n */\n bottomLabelWrapperProps?: Omit<Partial<BoxProps>, 'children'>;\n /**\n * Optional props merged into the amount `Text` when `amount` is a string.\n */\n amountProps?: Omit<Partial<TextProps>, 'children'>;\n /**\n * Optional props merged into the title `Text` when `title` is a string.\n */\n titleProps?: Omit<Partial<TextProps>, 'children'>;\n /**\n * Optional props merged into the subtitle `Text` when `subtitle` is a string.\n */\n subtitleProps?: Omit<Partial<TextProps>, 'children'>;\n /**\n * Optional props merged into the bottom label `Text` when `bottomLabel` is a string.\n */\n bottomLabelProps?: Omit<Partial<TextProps>, 'children'>;\n /**\n * Optional Tailwind class name to apply to the container.\n */\n twClassName?: string;\n} & Omit<ViewProps, 'children'>;\n"]}
|
package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.cjs
CHANGED
|
@@ -8,7 +8,6 @@ exports.HeaderStandardCenterColumn = HeaderStandardCenterColumn;
|
|
|
8
8
|
const react_1 = __importDefault(require("react"));
|
|
9
9
|
// External dependencies.
|
|
10
10
|
const Box_1 = require("../../Box/index.cjs");
|
|
11
|
-
const BoxColumn_1 = require("../../BoxColumn/index.cjs");
|
|
12
11
|
const Text_1 = require("../../Text/index.cjs");
|
|
13
12
|
const TextOrChildren_1 = require("../TextOrChildren/index.cjs");
|
|
14
13
|
function HeaderStandardCenterColumn({ title, titleProps, subtitle, subtitleProps, }) {
|
|
@@ -22,14 +21,17 @@ function HeaderStandardCenterColumn({ title, titleProps, subtitle, subtitleProps
|
|
|
22
21
|
twClassName: ['-mt-0.5', subtitleTwClassName].filter(Boolean).join(' '),
|
|
23
22
|
};
|
|
24
23
|
}
|
|
25
|
-
return (<
|
|
24
|
+
return (<Box_1.Box flexDirection={Box_1.BoxFlexDirection.Column} alignItems={Box_1.BoxAlignItems.Center}>
|
|
25
|
+
<TextOrChildren_1.TextOrChildren textProps={{
|
|
26
26
|
variant: Text_1.TextVariant.BodyMd,
|
|
27
27
|
fontWeight: Text_1.FontWeight.Bold,
|
|
28
28
|
...titleProps,
|
|
29
|
-
}}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
{
|
|
33
|
-
|
|
29
|
+
}}>
|
|
30
|
+
{title}
|
|
31
|
+
</TextOrChildren_1.TextOrChildren>
|
|
32
|
+
{subtitle ? (<TextOrChildren_1.TextOrChildren textProps={subtitleTextProps}>
|
|
33
|
+
{subtitle}
|
|
34
|
+
</TextOrChildren_1.TextOrChildren>) : null}
|
|
35
|
+
</Box_1.Box>);
|
|
34
36
|
}
|
|
35
37
|
//# sourceMappingURL=HeaderStandardCenterColumn.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderStandardCenterColumn.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.tsx"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"HeaderStandardCenterColumn.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.tsx"],"names":[],"mappings":";;;;;AAYA,gEAuCC;AAnDD,4BAA4B;AAC5B,kDAA0B;AAE1B,yBAAyB;AACzB,6CAAiE;AAEjE,+CAAgE;AAChE,gEAAmD;AAKnD,SAAgB,0BAA0B,CAAC,EACzC,KAAK,EACL,UAAU,EACV,QAAQ,EACR,aAAa,GACmB;IAChC,IAAI,iBAAmE,CAAC;IACxE,IAAI,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC7C,MAAM,EAAE,WAAW,EAAE,mBAAmB,EAAE,GAAG,gBAAgB,EAAE,GAC7D,aAAa,IAAI,EAAE,CAAC;QACtB,iBAAiB,GAAG;YAClB,OAAO,EAAE,kBAAW,CAAC,MAAM;YAC3B,KAAK,EAAE,gBAAS,CAAC,eAAe;YAChC,GAAG,gBAAgB;YACnB,WAAW,EAAE,CAAC,SAAS,EAAE,mBAAmB,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;SACxE,CAAC;IACJ,CAAC;IAED,OAAO,CACL,CAAC,SAAG,CACF,aAAa,CAAC,CAAC,sBAAgB,CAAC,MAAM,CAAC,CACvC,UAAU,CAAC,CAAC,mBAAa,CAAC,MAAM,CAAC,CAEjC;MAAA,CAAC,+BAAc,CACb,SAAS,CAAC,CAAC;YACT,OAAO,EAAE,kBAAW,CAAC,MAAM;YAC3B,UAAU,EAAE,iBAAU,CAAC,IAAI;YAC3B,GAAG,UAAU;SACd,CAAC,CAEF;QAAA,CAAC,KAAK,CACR;MAAA,EAAE,+BAAc,CAChB;MAAA,CAAC,QAAQ,CAAC,CAAC,CAAC,CACV,CAAC,+BAAc,CAAC,SAAS,CAAC,CAAC,iBAAiB,CAAC,CAC3C;UAAA,CAAC,QAAQ,CACX;QAAA,EAAE,+BAAc,CAAC,CAClB,CAAC,CAAC,CAAC,IAAI,CACV;IAAA,EAAE,SAAG,CAAC,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Third party dependencies.\nimport React from 'react';\n\n// External dependencies.\nimport { Box, BoxAlignItems, BoxFlexDirection } from '../../Box';\nimport type { TextProps } from '../../Text';\nimport { FontWeight, TextColor, TextVariant } from '../../Text';\nimport { TextOrChildren } from '../TextOrChildren';\n\n// Internal dependencies.\nimport type { HeaderStandardCenterColumnProps } from './HeaderStandardCenterColumn.types';\n\nexport function HeaderStandardCenterColumn({\n title,\n titleProps,\n subtitle,\n subtitleProps,\n}: HeaderStandardCenterColumnProps) {\n let subtitleTextProps: Omit<Partial<TextProps>, 'children'> | undefined;\n if (subtitle && typeof subtitle === 'string') {\n const { twClassName: subtitleTwClassName, ...subtitleTextRest } =\n subtitleProps ?? {};\n subtitleTextProps = {\n variant: TextVariant.BodySm,\n color: TextColor.TextAlternative,\n ...subtitleTextRest,\n twClassName: ['-mt-0.5', subtitleTwClassName].filter(Boolean).join(' '),\n };\n }\n\n return (\n <Box\n flexDirection={BoxFlexDirection.Column}\n alignItems={BoxAlignItems.Center}\n >\n <TextOrChildren\n textProps={{\n variant: TextVariant.BodyMd,\n fontWeight: FontWeight.Bold,\n ...titleProps,\n }}\n >\n {title}\n </TextOrChildren>\n {subtitle ? (\n <TextOrChildren textProps={subtitleTextProps}>\n {subtitle}\n </TextOrChildren>\n ) : null}\n </Box>\n );\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderStandardCenterColumn.d.cts","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;
|
|
1
|
+
{"version":3,"file":"HeaderStandardCenterColumn.d.cts","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;AAS1B,OAAO,KAAK,EAAE,+BAA+B,EAAE,+CAA2C;AAE1F,wBAAgB,0BAA0B,CAAC,EACzC,KAAK,EACL,UAAU,EACV,QAAQ,EACR,aAAa,GACd,EAAE,+BAA+B,qBAkCjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderStandardCenterColumn.d.mts","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;
|
|
1
|
+
{"version":3,"file":"HeaderStandardCenterColumn.d.mts","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;AAS1B,OAAO,KAAK,EAAE,+BAA+B,EAAE,+CAA2C;AAE1F,wBAAgB,0BAA0B,CAAC,EACzC,KAAK,EACL,UAAU,EACV,QAAQ,EACR,aAAa,GACd,EAAE,+BAA+B,qBAkCjC"}
|
package/dist/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.mjs
CHANGED
|
@@ -8,8 +8,7 @@ function $importDefault(module) {
|
|
|
8
8
|
import $React from "react";
|
|
9
9
|
const React = $importDefault($React);
|
|
10
10
|
// External dependencies.
|
|
11
|
-
import { BoxAlignItems } from "../../Box/index.mjs";
|
|
12
|
-
import { BoxColumn } from "../../BoxColumn/index.mjs";
|
|
11
|
+
import { Box, BoxAlignItems, BoxFlexDirection } from "../../Box/index.mjs";
|
|
13
12
|
import { FontWeight, TextColor, TextVariant } from "../../Text/index.mjs";
|
|
14
13
|
import { TextOrChildren } from "../TextOrChildren/index.mjs";
|
|
15
14
|
export function HeaderStandardCenterColumn({ title, titleProps, subtitle, subtitleProps, }) {
|
|
@@ -23,14 +22,17 @@ export function HeaderStandardCenterColumn({ title, titleProps, subtitle, subtit
|
|
|
23
22
|
twClassName: ['-mt-0.5', subtitleTwClassName].filter(Boolean).join(' '),
|
|
24
23
|
};
|
|
25
24
|
}
|
|
26
|
-
return (<
|
|
25
|
+
return (<Box flexDirection={BoxFlexDirection.Column} alignItems={BoxAlignItems.Center}>
|
|
26
|
+
<TextOrChildren textProps={{
|
|
27
27
|
variant: TextVariant.BodyMd,
|
|
28
28
|
fontWeight: FontWeight.Bold,
|
|
29
29
|
...titleProps,
|
|
30
|
-
}}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
{
|
|
34
|
-
|
|
30
|
+
}}>
|
|
31
|
+
{title}
|
|
32
|
+
</TextOrChildren>
|
|
33
|
+
{subtitle ? (<TextOrChildren textProps={subtitleTextProps}>
|
|
34
|
+
{subtitle}
|
|
35
|
+
</TextOrChildren>) : null}
|
|
36
|
+
</Box>);
|
|
35
37
|
}
|
|
36
38
|
//# sourceMappingURL=HeaderStandardCenterColumn.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderStandardCenterColumn.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.tsx"],"names":[],"mappings":";;;;;;AAAA,4BAA4B;AAC5B,OAAO,MAAK,cAAc;;AAE1B,yBAAyB;AACzB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"HeaderStandardCenterColumn.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/HeaderStandardCenterColumn/HeaderStandardCenterColumn.tsx"],"names":[],"mappings":";;;;;;AAAA,4BAA4B;AAC5B,OAAO,MAAK,cAAc;;AAE1B,yBAAyB;AACzB,OAAO,EAAE,GAAG,EAAE,aAAa,EAAE,gBAAgB,EAAE,4BAAkB;AAEjE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,6BAAmB;AAChE,OAAO,EAAE,cAAc,EAAE,oCAA0B;AAKnD,MAAM,UAAU,0BAA0B,CAAC,EACzC,KAAK,EACL,UAAU,EACV,QAAQ,EACR,aAAa,GACmB;IAChC,IAAI,iBAAmE,CAAC;IACxE,IAAI,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC7C,MAAM,EAAE,WAAW,EAAE,mBAAmB,EAAE,GAAG,gBAAgB,EAAE,GAC7D,aAAa,IAAI,EAAE,CAAC;QACtB,iBAAiB,GAAG;YAClB,OAAO,EAAE,WAAW,CAAC,MAAM;YAC3B,KAAK,EAAE,SAAS,CAAC,eAAe;YAChC,GAAG,gBAAgB;YACnB,WAAW,EAAE,CAAC,SAAS,EAAE,mBAAmB,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;SACxE,CAAC;IACJ,CAAC;IAED,OAAO,CACL,CAAC,GAAG,CACF,aAAa,CAAC,CAAC,gBAAgB,CAAC,MAAM,CAAC,CACvC,UAAU,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAEjC;MAAA,CAAC,cAAc,CACb,SAAS,CAAC,CAAC;YACT,OAAO,EAAE,WAAW,CAAC,MAAM;YAC3B,UAAU,EAAE,UAAU,CAAC,IAAI;YAC3B,GAAG,UAAU;SACd,CAAC,CAEF;QAAA,CAAC,KAAK,CACR;MAAA,EAAE,cAAc,CAChB;MAAA,CAAC,QAAQ,CAAC,CAAC,CAAC,CACV,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,iBAAiB,CAAC,CAC3C;UAAA,CAAC,QAAQ,CACX;QAAA,EAAE,cAAc,CAAC,CAClB,CAAC,CAAC,CAAC,IAAI,CACV;IAAA,EAAE,GAAG,CAAC,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Third party dependencies.\nimport React from 'react';\n\n// External dependencies.\nimport { Box, BoxAlignItems, BoxFlexDirection } from '../../Box';\nimport type { TextProps } from '../../Text';\nimport { FontWeight, TextColor, TextVariant } from '../../Text';\nimport { TextOrChildren } from '../TextOrChildren';\n\n// Internal dependencies.\nimport type { HeaderStandardCenterColumnProps } from './HeaderStandardCenterColumn.types';\n\nexport function HeaderStandardCenterColumn({\n title,\n titleProps,\n subtitle,\n subtitleProps,\n}: HeaderStandardCenterColumnProps) {\n let subtitleTextProps: Omit<Partial<TextProps>, 'children'> | undefined;\n if (subtitle && typeof subtitle === 'string') {\n const { twClassName: subtitleTwClassName, ...subtitleTextRest } =\n subtitleProps ?? {};\n subtitleTextProps = {\n variant: TextVariant.BodySm,\n color: TextColor.TextAlternative,\n ...subtitleTextRest,\n twClassName: ['-mt-0.5', subtitleTwClassName].filter(Boolean).join(' '),\n };\n }\n\n return (\n <Box\n flexDirection={BoxFlexDirection.Column}\n alignItems={BoxAlignItems.Center}\n >\n <TextOrChildren\n textProps={{\n variant: TextVariant.BodyMd,\n fontWeight: FontWeight.Bold,\n ...titleProps,\n }}\n >\n {title}\n </TextOrChildren>\n {subtitle ? (\n <TextOrChildren textProps={subtitleTextProps}>\n {subtitle}\n </TextOrChildren>\n ) : null}\n </Box>\n );\n}\n"]}
|
|
@@ -7,7 +7,7 @@ exports.TextOrChildren = void 0;
|
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const SensitiveText_1 = require("../../SensitiveText/index.cjs");
|
|
9
9
|
const TextOrChildren = ({ children, textProps, }) => {
|
|
10
|
-
if (typeof children === 'string') {
|
|
10
|
+
if (typeof children === 'string' || typeof children === 'number') {
|
|
11
11
|
return <SensitiveText_1.SensitiveText {...textProps}>{children}</SensitiveText_1.SensitiveText>;
|
|
12
12
|
}
|
|
13
13
|
return <>{children}</>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextOrChildren.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/TextOrChildren/TextOrChildren.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,iEAAoD;AAI7C,MAAM,cAAc,GAAG,CAAC,EAC7B,QAAQ,EACR,SAAS,GACW,EAAE,EAAE;IACxB,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"TextOrChildren.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/TextOrChildren/TextOrChildren.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,iEAAoD;AAI7C,MAAM,cAAc,GAAG,CAAC,EAC7B,QAAQ,EACR,SAAS,GACW,EAAE,EAAE;IACxB,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QACjE,OAAO,CAAC,6BAAa,CAAC,IAAI,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,6BAAa,CAAC,CAAC;IAClE,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC;AACzB,CAAC,CAAC;AARW,QAAA,cAAc,kBAQzB","sourcesContent":["import React from 'react';\n\nimport { SensitiveText } from '../../SensitiveText';\n\nimport type { TextOrChildrenProps } from './TextOrChildren.types';\n\nexport const TextOrChildren = ({\n children,\n textProps,\n}: TextOrChildrenProps) => {\n if (typeof children === 'string' || typeof children === 'number') {\n return <SensitiveText {...textProps}>{children}</SensitiveText>;\n }\n return <>{children}</>;\n};\n"]}
|
|
@@ -8,7 +8,7 @@ import $React from "react";
|
|
|
8
8
|
const React = $importDefault($React);
|
|
9
9
|
import { SensitiveText } from "../../SensitiveText/index.mjs";
|
|
10
10
|
export const TextOrChildren = ({ children, textProps, }) => {
|
|
11
|
-
if (typeof children === 'string') {
|
|
11
|
+
if (typeof children === 'string' || typeof children === 'number') {
|
|
12
12
|
return <SensitiveText {...textProps}>{children}</SensitiveText>;
|
|
13
13
|
}
|
|
14
14
|
return <>{children}</>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextOrChildren.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/TextOrChildren/TextOrChildren.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,MAAK,cAAc;;AAE1B,OAAO,EAAE,aAAa,EAAE,sCAA4B;AAIpD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAC7B,QAAQ,EACR,SAAS,GACW,EAAE,EAAE;IACxB,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"TextOrChildren.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/TextOrChildren/TextOrChildren.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,MAAK,cAAc;;AAE1B,OAAO,EAAE,aAAa,EAAE,sCAA4B;AAIpD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAC7B,QAAQ,EACR,SAAS,GACW,EAAE,EAAE;IACxB,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QACjE,OAAO,CAAC,aAAa,CAAC,IAAI,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,aAAa,CAAC,CAAC;IAClE,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC;AACzB,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { SensitiveText } from '../../SensitiveText';\n\nimport type { TextOrChildrenProps } from './TextOrChildren.types';\n\nexport const TextOrChildren = ({\n children,\n textProps,\n}: TextOrChildrenProps) => {\n if (typeof children === 'string' || typeof children === 'number') {\n return <SensitiveText {...textProps}>{children}</SensitiveText>;\n }\n return <>{children}</>;\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextOrChildren.types.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/TextOrChildren/TextOrChildren.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { TextOrChildrenPropsShared } from '@metamask-previews/design-system-shared';\n\nimport type { SensitiveTextProps } from '../../SensitiveText';\n\n/**\n * TextOrChildren component props.\n */\nexport type TextOrChildrenProps = TextOrChildrenPropsShared & {\n /**\n * Optional props to be passed to the SensitiveText component when children is a string.\n * Supports Text props plus `isHidden` / `length`.\n */\n textProps?: Partial<Omit<SensitiveTextProps, 'children'>>;\n};\n"]}
|
|
1
|
+
{"version":3,"file":"TextOrChildren.types.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/TextOrChildren/TextOrChildren.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { TextOrChildrenPropsShared } from '@metamask-previews/design-system-shared';\n\nimport type { SensitiveTextProps } from '../../SensitiveText';\n\n/**\n * TextOrChildren component props.\n */\nexport type TextOrChildrenProps = TextOrChildrenPropsShared & {\n /**\n * Optional props to be passed to the SensitiveText component when children is a string or number.\n * Supports Text props plus `isHidden` / `length`.\n */\n textProps?: Partial<Omit<SensitiveTextProps, 'children'>>;\n};\n"]}
|
|
@@ -5,7 +5,7 @@ import type { SensitiveTextProps } from "../../SensitiveText/index.cjs";
|
|
|
5
5
|
*/
|
|
6
6
|
export type TextOrChildrenProps = TextOrChildrenPropsShared & {
|
|
7
7
|
/**
|
|
8
|
-
* Optional props to be passed to the SensitiveText component when children is a string.
|
|
8
|
+
* Optional props to be passed to the SensitiveText component when children is a string or number.
|
|
9
9
|
* Supports Text props plus `isHidden` / `length`.
|
|
10
10
|
*/
|
|
11
11
|
textProps?: Partial<Omit<SensitiveTextProps, 'children'>>;
|
|
@@ -5,7 +5,7 @@ import type { SensitiveTextProps } from "../../SensitiveText/index.mjs";
|
|
|
5
5
|
*/
|
|
6
6
|
export type TextOrChildrenProps = TextOrChildrenPropsShared & {
|
|
7
7
|
/**
|
|
8
|
-
* Optional props to be passed to the SensitiveText component when children is a string.
|
|
8
|
+
* Optional props to be passed to the SensitiveText component when children is a string or number.
|
|
9
9
|
* Supports Text props plus `isHidden` / `length`.
|
|
10
10
|
*/
|
|
11
11
|
textProps?: Partial<Omit<SensitiveTextProps, 'children'>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextOrChildren.types.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/TextOrChildren/TextOrChildren.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { TextOrChildrenPropsShared } from '@metamask-previews/design-system-shared';\n\nimport type { SensitiveTextProps } from '../../SensitiveText';\n\n/**\n * TextOrChildren component props.\n */\nexport type TextOrChildrenProps = TextOrChildrenPropsShared & {\n /**\n * Optional props to be passed to the SensitiveText component when children is a string.\n * Supports Text props plus `isHidden` / `length`.\n */\n textProps?: Partial<Omit<SensitiveTextProps, 'children'>>;\n};\n"]}
|
|
1
|
+
{"version":3,"file":"TextOrChildren.types.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/TextOrChildren/TextOrChildren.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { TextOrChildrenPropsShared } from '@metamask-previews/design-system-shared';\n\nimport type { SensitiveTextProps } from '../../SensitiveText';\n\n/**\n * TextOrChildren component props.\n */\nexport type TextOrChildrenProps = TextOrChildrenPropsShared & {\n /**\n * Optional props to be passed to the SensitiveText component when children is a string or number.\n * Supports Text props plus `isHidden` / `length`.\n */\n textProps?: Partial<Omit<SensitiveTextProps, 'children'>>;\n};\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/design-system-react-native",
|
|
3
|
-
"version": "0.56.
|
|
3
|
+
"version": "0.56.2-preview-473aecb",
|
|
4
4
|
"description": "Design System React Native",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@metamask-previews/design-system-shared": "0.45.
|
|
50
|
+
"@metamask-previews/design-system-shared": "0.45.1-preview-473aecb",
|
|
51
51
|
"react-native-jazzicon": "^0.1.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"@babel/preset-typescript": "^7.23.3",
|
|
58
58
|
"@figma/code-connect": "^1.4.9",
|
|
59
59
|
"@gorhom/bottom-sheet": "^5.1.3",
|
|
60
|
-
"@metamask-previews/design-system-twrnc-preset": "0.14.0-preview-
|
|
61
|
-
"@metamask-previews/design-tokens": "13.0.0-preview-
|
|
60
|
+
"@metamask-previews/design-system-twrnc-preset": "0.14.0-preview-473aecb",
|
|
61
|
+
"@metamask-previews/design-tokens": "13.0.0-preview-473aecb",
|
|
62
62
|
"@metamask/auto-changelog": "^7.1.0",
|
|
63
63
|
"@metamask/utils": "^11.12.1",
|
|
64
64
|
"@react-native/babel-preset": "0.86.3",
|