@metamask/design-system-react-native 0.15.0 → 0.16.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 +17 -1
- package/dist/components/BadgeNetwork/BadgeNetwork.types.cjs.map +1 -1
- package/dist/components/BadgeNetwork/BadgeNetwork.types.d.cts +6 -15
- package/dist/components/BadgeNetwork/BadgeNetwork.types.d.cts.map +1 -1
- package/dist/components/BadgeNetwork/BadgeNetwork.types.d.mts +6 -15
- package/dist/components/BadgeNetwork/BadgeNetwork.types.d.mts.map +1 -1
- package/dist/components/BadgeNetwork/BadgeNetwork.types.mjs.map +1 -1
- package/dist/components/{BoxVertical/BoxVertical.cjs → BoxColumn/BoxColumn.cjs} +5 -5
- package/dist/components/BoxColumn/BoxColumn.cjs.map +1 -0
- package/dist/components/BoxColumn/BoxColumn.d.cts +7 -0
- package/dist/components/BoxColumn/BoxColumn.d.cts.map +1 -0
- package/dist/components/BoxColumn/BoxColumn.d.mts +7 -0
- package/dist/components/BoxColumn/BoxColumn.d.mts.map +1 -0
- package/dist/components/{BoxVertical/BoxVertical.mjs → BoxColumn/BoxColumn.mjs} +3 -3
- package/dist/components/BoxColumn/BoxColumn.mjs.map +1 -0
- package/dist/components/{BoxVertical/BoxVertical.types.cjs → BoxColumn/BoxColumn.types.cjs} +1 -1
- package/dist/components/BoxColumn/BoxColumn.types.cjs.map +1 -0
- package/dist/components/BoxColumn/BoxColumn.types.d.cts +13 -0
- package/dist/components/BoxColumn/BoxColumn.types.d.cts.map +1 -0
- package/dist/components/BoxColumn/BoxColumn.types.d.mts +13 -0
- package/dist/components/BoxColumn/BoxColumn.types.d.mts.map +1 -0
- package/dist/components/BoxColumn/BoxColumn.types.mjs +2 -0
- package/dist/components/BoxColumn/BoxColumn.types.mjs.map +1 -0
- package/dist/components/BoxColumn/index.cjs +6 -0
- package/dist/components/BoxColumn/index.cjs.map +1 -0
- package/dist/components/BoxColumn/index.d.cts +3 -0
- package/dist/components/BoxColumn/index.d.cts.map +1 -0
- package/dist/components/BoxColumn/index.d.mts +3 -0
- package/dist/components/BoxColumn/index.d.mts.map +1 -0
- package/dist/components/BoxColumn/index.mjs +2 -0
- package/dist/components/BoxColumn/index.mjs.map +1 -0
- package/dist/components/{BoxHorizontal/BoxHorizontal.cjs → BoxRow/BoxRow.cjs} +5 -5
- package/dist/components/BoxRow/BoxRow.cjs.map +1 -0
- package/dist/components/BoxRow/BoxRow.d.cts +7 -0
- package/dist/components/BoxRow/BoxRow.d.cts.map +1 -0
- package/dist/components/BoxRow/BoxRow.d.mts +7 -0
- package/dist/components/BoxRow/BoxRow.d.mts.map +1 -0
- package/dist/components/{BoxHorizontal/BoxHorizontal.mjs → BoxRow/BoxRow.mjs} +3 -3
- package/dist/components/BoxRow/BoxRow.mjs.map +1 -0
- package/dist/components/{BoxHorizontal/BoxHorizontal.types.cjs → BoxRow/BoxRow.types.cjs} +1 -1
- package/dist/components/BoxRow/BoxRow.types.cjs.map +1 -0
- package/dist/components/BoxRow/BoxRow.types.d.cts +13 -0
- package/dist/components/BoxRow/BoxRow.types.d.cts.map +1 -0
- package/dist/components/BoxRow/BoxRow.types.d.mts +13 -0
- package/dist/components/BoxRow/BoxRow.types.d.mts.map +1 -0
- package/dist/components/BoxRow/BoxRow.types.mjs +2 -0
- package/dist/components/BoxRow/BoxRow.types.mjs.map +1 -0
- package/dist/components/BoxRow/index.cjs +6 -0
- package/dist/components/BoxRow/index.cjs.map +1 -0
- package/dist/components/BoxRow/index.d.cts +3 -0
- package/dist/components/BoxRow/index.d.cts.map +1 -0
- package/dist/components/BoxRow/index.d.mts +3 -0
- package/dist/components/BoxRow/index.d.mts.map +1 -0
- package/dist/components/BoxRow/index.mjs +2 -0
- package/dist/components/BoxRow/index.mjs.map +1 -0
- package/dist/components/HeaderRoot/HeaderRoot.cjs +3 -3
- package/dist/components/HeaderRoot/HeaderRoot.cjs.map +1 -1
- package/dist/components/HeaderRoot/HeaderRoot.mjs +3 -3
- package/dist/components/HeaderRoot/HeaderRoot.mjs.map +1 -1
- package/dist/components/HeaderSearch/HeaderSearch.cjs +80 -0
- package/dist/components/HeaderSearch/HeaderSearch.cjs.map +1 -0
- package/dist/components/HeaderSearch/HeaderSearch.d.cts +37 -0
- package/dist/components/HeaderSearch/HeaderSearch.d.cts.map +1 -0
- package/dist/components/HeaderSearch/HeaderSearch.d.mts +37 -0
- package/dist/components/HeaderSearch/HeaderSearch.d.mts.map +1 -0
- package/dist/components/HeaderSearch/HeaderSearch.mjs +80 -0
- package/dist/components/HeaderSearch/HeaderSearch.mjs.map +1 -0
- package/dist/components/HeaderSearch/HeaderSearch.types.cjs +3 -0
- package/dist/components/HeaderSearch/HeaderSearch.types.cjs.map +1 -0
- package/dist/components/HeaderSearch/HeaderSearch.types.d.cts +33 -0
- package/dist/components/HeaderSearch/HeaderSearch.types.d.cts.map +1 -0
- package/dist/components/HeaderSearch/HeaderSearch.types.d.mts +33 -0
- package/dist/components/HeaderSearch/HeaderSearch.types.d.mts.map +1 -0
- package/dist/components/HeaderSearch/HeaderSearch.types.mjs +2 -0
- package/dist/components/HeaderSearch/HeaderSearch.types.mjs.map +1 -0
- package/dist/components/HeaderSearch/index.cjs +8 -0
- package/dist/components/HeaderSearch/index.cjs.map +1 -0
- package/dist/components/HeaderSearch/index.d.cts +4 -0
- package/dist/components/HeaderSearch/index.d.cts.map +1 -0
- package/dist/components/HeaderSearch/index.d.mts +4 -0
- package/dist/components/HeaderSearch/index.d.mts.map +1 -0
- package/dist/components/HeaderSearch/index.mjs +3 -0
- package/dist/components/HeaderSearch/index.mjs.map +1 -0
- package/dist/components/HeaderStandard/HeaderStandard.cjs +3 -3
- package/dist/components/HeaderStandard/HeaderStandard.cjs.map +1 -1
- package/dist/components/HeaderStandard/HeaderStandard.mjs +3 -3
- package/dist/components/HeaderStandard/HeaderStandard.mjs.map +1 -1
- package/dist/components/KeyValueColumn/KeyValueColumn.cjs +43 -0
- package/dist/components/KeyValueColumn/KeyValueColumn.cjs.map +1 -0
- package/dist/components/KeyValueColumn/KeyValueColumn.d.cts +7 -0
- package/dist/components/KeyValueColumn/KeyValueColumn.d.cts.map +1 -0
- package/dist/components/KeyValueColumn/KeyValueColumn.d.mts +7 -0
- package/dist/components/KeyValueColumn/KeyValueColumn.d.mts.map +1 -0
- package/dist/components/KeyValueColumn/KeyValueColumn.mjs +43 -0
- package/dist/components/KeyValueColumn/KeyValueColumn.mjs.map +1 -0
- package/dist/components/KeyValueColumn/KeyValueColumn.types.cjs +3 -0
- package/dist/components/KeyValueColumn/KeyValueColumn.types.cjs.map +1 -0
- package/dist/components/KeyValueColumn/KeyValueColumn.types.d.cts +17 -0
- package/dist/components/KeyValueColumn/KeyValueColumn.types.d.cts.map +1 -0
- package/dist/components/KeyValueColumn/KeyValueColumn.types.d.mts +17 -0
- package/dist/components/KeyValueColumn/KeyValueColumn.types.d.mts.map +1 -0
- package/dist/components/KeyValueColumn/KeyValueColumn.types.mjs +2 -0
- package/dist/components/KeyValueColumn/KeyValueColumn.types.mjs.map +1 -0
- package/dist/components/KeyValueColumn/index.cjs +6 -0
- package/dist/components/KeyValueColumn/index.cjs.map +1 -0
- package/dist/components/KeyValueColumn/index.d.cts +3 -0
- package/dist/components/KeyValueColumn/index.d.cts.map +1 -0
- package/dist/components/KeyValueColumn/index.d.mts +3 -0
- package/dist/components/KeyValueColumn/index.d.mts.map +1 -0
- package/dist/components/KeyValueColumn/index.mjs +2 -0
- package/dist/components/KeyValueColumn/index.mjs.map +1 -0
- package/dist/components/KeyValueRow/KeyValueRow.cjs +43 -64
- package/dist/components/KeyValueRow/KeyValueRow.cjs.map +1 -1
- package/dist/components/KeyValueRow/KeyValueRow.d.cts +3 -20
- package/dist/components/KeyValueRow/KeyValueRow.d.cts.map +1 -1
- package/dist/components/KeyValueRow/KeyValueRow.d.mts +3 -20
- package/dist/components/KeyValueRow/KeyValueRow.d.mts.map +1 -1
- package/dist/components/KeyValueRow/KeyValueRow.mjs +42 -63
- package/dist/components/KeyValueRow/KeyValueRow.mjs.map +1 -1
- package/dist/components/KeyValueRow/KeyValueRow.types.cjs +0 -26
- package/dist/components/KeyValueRow/KeyValueRow.types.cjs.map +1 -1
- package/dist/components/KeyValueRow/KeyValueRow.types.d.cts +14 -174
- package/dist/components/KeyValueRow/KeyValueRow.types.d.cts.map +1 -1
- package/dist/components/KeyValueRow/KeyValueRow.types.d.mts +14 -174
- package/dist/components/KeyValueRow/KeyValueRow.types.d.mts.map +1 -1
- package/dist/components/KeyValueRow/KeyValueRow.types.mjs +1 -25
- package/dist/components/KeyValueRow/KeyValueRow.types.mjs.map +1 -1
- package/dist/components/KeyValueRow/index.cjs +3 -7
- package/dist/components/KeyValueRow/index.cjs.map +1 -1
- package/dist/components/KeyValueRow/index.d.cts +3 -2
- package/dist/components/KeyValueRow/index.d.cts.map +1 -1
- package/dist/components/KeyValueRow/index.d.mts +3 -2
- package/dist/components/KeyValueRow/index.d.mts.map +1 -1
- package/dist/components/KeyValueRow/index.mjs +2 -2
- package/dist/components/KeyValueRow/index.mjs.map +1 -1
- package/dist/components/index.cjs +15 -7
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +10 -4
- package/dist/components/index.d.cts.map +1 -1
- package/dist/components/index.d.mts +10 -4
- package/dist/components/index.d.mts.map +1 -1
- package/dist/components/index.mjs +5 -2
- package/dist/components/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/components/BoxHorizontal/BoxHorizontal.cjs.map +0 -1
- package/dist/components/BoxHorizontal/BoxHorizontal.d.cts +0 -7
- package/dist/components/BoxHorizontal/BoxHorizontal.d.cts.map +0 -1
- package/dist/components/BoxHorizontal/BoxHorizontal.d.mts +0 -7
- package/dist/components/BoxHorizontal/BoxHorizontal.d.mts.map +0 -1
- package/dist/components/BoxHorizontal/BoxHorizontal.mjs.map +0 -1
- package/dist/components/BoxHorizontal/BoxHorizontal.types.cjs.map +0 -1
- package/dist/components/BoxHorizontal/BoxHorizontal.types.d.cts +0 -13
- package/dist/components/BoxHorizontal/BoxHorizontal.types.d.cts.map +0 -1
- package/dist/components/BoxHorizontal/BoxHorizontal.types.d.mts +0 -13
- package/dist/components/BoxHorizontal/BoxHorizontal.types.d.mts.map +0 -1
- package/dist/components/BoxHorizontal/BoxHorizontal.types.mjs +0 -2
- package/dist/components/BoxHorizontal/BoxHorizontal.types.mjs.map +0 -1
- package/dist/components/BoxHorizontal/index.cjs +0 -6
- package/dist/components/BoxHorizontal/index.cjs.map +0 -1
- package/dist/components/BoxHorizontal/index.d.cts +0 -3
- package/dist/components/BoxHorizontal/index.d.cts.map +0 -1
- package/dist/components/BoxHorizontal/index.d.mts +0 -3
- package/dist/components/BoxHorizontal/index.d.mts.map +0 -1
- package/dist/components/BoxHorizontal/index.mjs +0 -2
- package/dist/components/BoxHorizontal/index.mjs.map +0 -1
- package/dist/components/BoxVertical/BoxVertical.cjs.map +0 -1
- package/dist/components/BoxVertical/BoxVertical.d.cts +0 -7
- package/dist/components/BoxVertical/BoxVertical.d.cts.map +0 -1
- package/dist/components/BoxVertical/BoxVertical.d.mts +0 -7
- package/dist/components/BoxVertical/BoxVertical.d.mts.map +0 -1
- package/dist/components/BoxVertical/BoxVertical.mjs.map +0 -1
- package/dist/components/BoxVertical/BoxVertical.types.cjs.map +0 -1
- package/dist/components/BoxVertical/BoxVertical.types.d.cts +0 -13
- package/dist/components/BoxVertical/BoxVertical.types.d.cts.map +0 -1
- package/dist/components/BoxVertical/BoxVertical.types.d.mts +0 -13
- package/dist/components/BoxVertical/BoxVertical.types.d.mts.map +0 -1
- package/dist/components/BoxVertical/BoxVertical.types.mjs +0 -2
- package/dist/components/BoxVertical/BoxVertical.types.mjs.map +0 -1
- package/dist/components/BoxVertical/index.cjs +0 -6
- package/dist/components/BoxVertical/index.cjs.map +0 -1
- package/dist/components/BoxVertical/index.d.cts +0 -3
- package/dist/components/BoxVertical/index.d.cts.map +0 -1
- package/dist/components/BoxVertical/index.d.mts +0 -3
- package/dist/components/BoxVertical/index.d.mts.map +0 -1
- package/dist/components/BoxVertical/index.mjs +0 -2
- package/dist/components/BoxVertical/index.mjs.map +0 -1
- package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.cjs +0 -34
- package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.cjs.map +0 -1
- package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.d.cts +0 -13
- package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.d.cts.map +0 -1
- package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.d.mts +0 -13
- package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.d.mts.map +0 -1
- package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.mjs +0 -34
- package/dist/components/KeyValueRow/KeyValueLabel/KeyValueLabel.mjs.map +0 -1
- package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.cjs +0 -40
- package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.cjs.map +0 -1
- package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.d.cts +0 -24
- package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.d.cts.map +0 -1
- package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.d.mts +0 -24
- package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.d.mts.map +0 -1
- package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.mjs +0 -40
- package/dist/components/KeyValueRow/KeyValueRoot/KeyValueRoot.mjs.map +0 -1
- package/dist/components/KeyValueRow/KeyValueRow.utils.cjs +0 -6
- package/dist/components/KeyValueRow/KeyValueRow.utils.cjs.map +0 -1
- package/dist/components/KeyValueRow/KeyValueRow.utils.d.cts +0 -3
- package/dist/components/KeyValueRow/KeyValueRow.utils.d.cts.map +0 -1
- package/dist/components/KeyValueRow/KeyValueRow.utils.d.mts +0 -3
- package/dist/components/KeyValueRow/KeyValueRow.utils.d.mts.map +0 -1
- package/dist/components/KeyValueRow/KeyValueRow.utils.mjs +0 -2
- package/dist/components/KeyValueRow/KeyValueRow.utils.mjs.map +0 -1
- package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.cjs +0 -30
- package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.cjs.map +0 -1
- package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.d.cts +0 -16
- package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.d.cts.map +0 -1
- package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.d.mts +0 -16
- package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.d.mts.map +0 -1
- package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.mjs +0 -30
- package/dist/components/KeyValueRow/KeyValueSection/KeyValueSection.mjs.map +0 -1
|
@@ -1,29 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.KeyValueRowSectionAlignments = exports.TooltipSizes = exports.IconSizes = exports.KeyValueRowFieldIconSides = void 0;
|
|
4
|
-
const ButtonIcon_1 = require("../ButtonIcon/index.cjs");
|
|
5
|
-
const Icon_1 = require("../Icon/index.cjs");
|
|
6
|
-
/**
|
|
7
|
-
* Used to position an icon in a KeyValueRowField.
|
|
8
|
-
*/
|
|
9
|
-
exports.KeyValueRowFieldIconSides = {
|
|
10
|
-
Left: 'left',
|
|
11
|
-
Right: 'right',
|
|
12
|
-
Both: 'both',
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* Re-exported for backwards compatibility.
|
|
16
|
-
*/
|
|
17
|
-
exports.IconSizes = Icon_1.IconSize;
|
|
18
|
-
/**
|
|
19
|
-
* Re-exported for backwards compatibility.
|
|
20
|
-
*/
|
|
21
|
-
exports.TooltipSizes = ButtonIcon_1.ButtonIconSize;
|
|
22
|
-
/**
|
|
23
|
-
* Represents the valid KeyValueSection alignments.
|
|
24
|
-
*/
|
|
25
|
-
exports.KeyValueRowSectionAlignments = {
|
|
26
|
-
Left: 'items-start',
|
|
27
|
-
Right: 'items-end',
|
|
28
|
-
};
|
|
29
3
|
//# sourceMappingURL=KeyValueRow.types.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyValueRow.types.cjs","sourceRoot":"","sources":["../../../src/components/KeyValueRow/KeyValueRow.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KeyValueRow.types.cjs","sourceRoot":"","sources":["../../../src/components/KeyValueRow/KeyValueRow.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { KeyValueRowPropsShared } from '@metamask/design-system-shared';\nimport type { ViewProps } from 'react-native';\n\nimport type { ButtonIconProps } from '../ButtonIcon/ButtonIcon.types';\nimport type { TextProps } from '../Text/Text.types';\n\nexport type KeyValueRowProps = KeyValueRowPropsShared &\n Omit<ViewProps, 'children'> & {\n /** Optional props for the key Text when key is a string. */\n keyTextProps?: Partial<Omit<TextProps, 'children'>>;\n /** Optional props for the value Text when value is a string. */\n valueTextProps?: Partial<Omit<TextProps, 'children'>>;\n /** Optional Tailwind class names applied to the outer BoxHorizontal. Merged with base styles. */\n twClassName?: string;\n /** When set, renders a ButtonIcon as the key endAccessory (takes precedence over keyEndAccessory). */\n keyEndButtonIconProps?: Partial<ButtonIconProps>;\n /** When set, renders a ButtonIcon as the value endAccessory (takes precedence over valueEndAccessory). */\n valueEndButtonIconProps?: Partial<ButtonIconProps>;\n };\n"]}
|
|
@@ -1,177 +1,17 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { KeyValueRowPropsShared } from "@metamask/design-system-shared";
|
|
2
2
|
import type { ViewProps } from "react-native/index.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* The title displayed at the top of the tooltip.
|
|
13
|
-
*/
|
|
14
|
-
title: string;
|
|
15
|
-
/**
|
|
16
|
-
* The content displayed within the tooltip body.
|
|
17
|
-
*/
|
|
18
|
-
content: string | ReactNode;
|
|
19
|
-
/**
|
|
20
|
-
* Optional size of the tooltip icon button.
|
|
21
|
-
*
|
|
22
|
-
* @default ButtonIconSize.Md
|
|
23
|
-
*/
|
|
24
|
-
size?: ButtonIconSize;
|
|
25
|
-
/**
|
|
26
|
-
* Optional icon name for the tooltip icon.
|
|
27
|
-
*
|
|
28
|
-
* @default IconName.Question
|
|
29
|
-
*/
|
|
30
|
-
iconName?: IconName;
|
|
31
|
-
/**
|
|
32
|
-
* Optional onPress handler called when the tooltip icon is pressed.
|
|
33
|
-
*/
|
|
34
|
-
onPress?: (...args: unknown[]) => unknown;
|
|
35
|
-
/**
|
|
36
|
-
* Optional bottom padding for the tooltip modal.
|
|
37
|
-
*/
|
|
38
|
-
bottomPadding?: number;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Used to position an icon in a KeyValueRowField.
|
|
42
|
-
*/
|
|
43
|
-
export declare const KeyValueRowFieldIconSides: {
|
|
44
|
-
readonly Left: "left";
|
|
45
|
-
readonly Right: "right";
|
|
46
|
-
readonly Both: "both";
|
|
47
|
-
};
|
|
48
|
-
export type KeyValueRowFieldIconSides = (typeof KeyValueRowFieldIconSides)[keyof typeof KeyValueRowFieldIconSides];
|
|
49
|
-
/**
|
|
50
|
-
* Represents a field displayed within KeyValueRowProps.
|
|
51
|
-
*/
|
|
52
|
-
export type KeyValueRowField = {
|
|
53
|
-
/**
|
|
54
|
-
* The label content displayed.
|
|
55
|
-
*/
|
|
56
|
-
label: PreDefinedKeyValueRowLabel | ReactNode;
|
|
57
|
-
/**
|
|
58
|
-
* Optional icon to display. If undefined, no icon is displayed.
|
|
59
|
-
*/
|
|
60
|
-
icon?: IconProps & {
|
|
61
|
-
side?: KeyValueRowFieldIconSides;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Optional tooltip to display. If undefined, no tooltip is displayed.
|
|
65
|
-
*/
|
|
66
|
-
tooltip?: KeyValueRowTooltip;
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* Re-exported for backwards compatibility.
|
|
70
|
-
*/
|
|
71
|
-
export declare const IconSizes: typeof IconSize;
|
|
72
|
-
/**
|
|
73
|
-
* Re-exported for backwards compatibility.
|
|
74
|
-
*/
|
|
75
|
-
export declare const TooltipSizes: typeof ButtonIconSize;
|
|
76
|
-
/**
|
|
77
|
-
* A predefined label object with text, variant, and color.
|
|
78
|
-
*/
|
|
79
|
-
export type PreDefinedKeyValueRowLabel = {
|
|
80
|
-
/**
|
|
81
|
-
* Text to display.
|
|
82
|
-
*/
|
|
83
|
-
text: string;
|
|
84
|
-
/**
|
|
85
|
-
* Optional text variant.
|
|
86
|
-
*
|
|
87
|
-
* @default TextVariant.BodyMd
|
|
88
|
-
*/
|
|
89
|
-
variant?: TextProps['variant'];
|
|
90
|
-
/**
|
|
91
|
-
* Optional text color.
|
|
92
|
-
*
|
|
93
|
-
* @default TextColor.TextDefault
|
|
94
|
-
*/
|
|
95
|
-
color?: TextProps['color'];
|
|
96
|
-
};
|
|
97
|
-
/**
|
|
98
|
-
* The KeyValueRowLabel component props.
|
|
99
|
-
*/
|
|
100
|
-
export type KeyValueRowLabelProps = {
|
|
101
|
-
/**
|
|
102
|
-
* The label content displayed.
|
|
103
|
-
*/
|
|
104
|
-
label: PreDefinedKeyValueRowLabel | ReactNode;
|
|
105
|
-
/**
|
|
106
|
-
* Optional tooltip. If undefined, the tooltip won't be displayed.
|
|
107
|
-
*/
|
|
108
|
-
tooltip?: KeyValueRowTooltip;
|
|
109
|
-
};
|
|
110
|
-
/**
|
|
111
|
-
* Represents the valid KeyValueSection alignments.
|
|
112
|
-
*/
|
|
113
|
-
export declare const KeyValueRowSectionAlignments: {
|
|
114
|
-
readonly Left: "items-start";
|
|
115
|
-
readonly Right: "items-end";
|
|
116
|
-
};
|
|
117
|
-
export type KeyValueRowSectionAlignments = (typeof KeyValueRowSectionAlignments)[keyof typeof KeyValueRowSectionAlignments];
|
|
118
|
-
/**
|
|
119
|
-
* Represents the main container for the KeyValueRow component.
|
|
120
|
-
*
|
|
121
|
-
* Extends `ViewProps` so the root View inherits standard React Native
|
|
122
|
-
* props such as `testID` and `accessibilityLabel`.
|
|
123
|
-
*/
|
|
124
|
-
export type KeyValueRowRootProps = {
|
|
125
|
-
/**
|
|
126
|
-
* Must have exactly two children. Adding more will lead to an undesired outcome.
|
|
127
|
-
*/
|
|
128
|
-
children: [ReactNode, ReactNode];
|
|
129
|
-
/**
|
|
130
|
-
* Optional Tailwind class names to override default styles on the root element.
|
|
131
|
-
*/
|
|
132
|
-
twClassName?: string;
|
|
133
|
-
} & ViewProps;
|
|
134
|
-
/**
|
|
135
|
-
* The KeyValueSection component props.
|
|
136
|
-
*
|
|
137
|
-
* Extends `ViewProps` so the root View inherits standard React Native
|
|
138
|
-
* props such as `testID` and `accessibilityLabel`.
|
|
139
|
-
*/
|
|
140
|
-
export type KeyValueSectionProps = {
|
|
141
|
-
/**
|
|
142
|
-
* Child components.
|
|
143
|
-
*/
|
|
144
|
-
children: ReactNode;
|
|
145
|
-
/**
|
|
146
|
-
* Optional content alignment.
|
|
147
|
-
*
|
|
148
|
-
* @default KeyValueRowSectionAlignments.Left
|
|
149
|
-
*/
|
|
150
|
-
align?: KeyValueRowSectionAlignments;
|
|
151
|
-
/**
|
|
152
|
-
* Optional Tailwind class names to override default styles on the root element.
|
|
153
|
-
*/
|
|
3
|
+
import type { ButtonIconProps } from "../ButtonIcon/ButtonIcon.types.cjs";
|
|
4
|
+
import type { TextProps } from "../Text/Text.types.cjs";
|
|
5
|
+
export type KeyValueRowProps = KeyValueRowPropsShared & Omit<ViewProps, 'children'> & {
|
|
6
|
+
/** Optional props for the key Text when key is a string. */
|
|
7
|
+
keyTextProps?: Partial<Omit<TextProps, 'children'>>;
|
|
8
|
+
/** Optional props for the value Text when value is a string. */
|
|
9
|
+
valueTextProps?: Partial<Omit<TextProps, 'children'>>;
|
|
10
|
+
/** Optional Tailwind class names applied to the outer BoxHorizontal. Merged with base styles. */
|
|
154
11
|
twClassName?: string;
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
* props such as `testID` and `accessibilityLabel`.
|
|
161
|
-
*/
|
|
162
|
-
export type KeyValueRowProps = {
|
|
163
|
-
/**
|
|
164
|
-
* The "key" portion of the KeyValueRow (left side).
|
|
165
|
-
* Using the variable name field because key is reserved.
|
|
166
|
-
*/
|
|
167
|
-
field: KeyValueRowField;
|
|
168
|
-
/**
|
|
169
|
-
* The "value" portion of the KeyValueRow (right side).
|
|
170
|
-
*/
|
|
171
|
-
value: KeyValueRowField;
|
|
172
|
-
/**
|
|
173
|
-
* Optional Tailwind class names to override default styles on the root element.
|
|
174
|
-
*/
|
|
175
|
-
twClassName?: string;
|
|
176
|
-
} & ViewProps;
|
|
12
|
+
/** When set, renders a ButtonIcon as the key endAccessory (takes precedence over keyEndAccessory). */
|
|
13
|
+
keyEndButtonIconProps?: Partial<ButtonIconProps>;
|
|
14
|
+
/** When set, renders a ButtonIcon as the value endAccessory (takes precedence over valueEndAccessory). */
|
|
15
|
+
valueEndButtonIconProps?: Partial<ButtonIconProps>;
|
|
16
|
+
};
|
|
177
17
|
//# sourceMappingURL=KeyValueRow.types.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyValueRow.types.d.cts","sourceRoot":"","sources":["../../../src/components/KeyValueRow/KeyValueRow.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"KeyValueRow.types.d.cts","sourceRoot":"","sources":["../../../src/components/KeyValueRow/KeyValueRow.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,uCAAuC;AAC7E,OAAO,KAAK,EAAE,SAAS,EAAE,8BAAqB;AAE9C,OAAO,KAAK,EAAE,eAAe,EAAE,2CAAuC;AACtE,OAAO,KAAK,EAAE,SAAS,EAAE,+BAA2B;AAEpD,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GACnD,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG;IAC5B,4DAA4D;IAC5D,YAAY,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC;IACpD,gEAAgE;IAChE,cAAc,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC;IACtD,iGAAiG;IACjG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sGAAsG;IACtG,qBAAqB,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACjD,0GAA0G;IAC1G,uBAAuB,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CACpD,CAAC"}
|
|
@@ -1,177 +1,17 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { KeyValueRowPropsShared } from "@metamask/design-system-shared";
|
|
2
2
|
import type { ViewProps } from "react-native/index.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* The title displayed at the top of the tooltip.
|
|
13
|
-
*/
|
|
14
|
-
title: string;
|
|
15
|
-
/**
|
|
16
|
-
* The content displayed within the tooltip body.
|
|
17
|
-
*/
|
|
18
|
-
content: string | ReactNode;
|
|
19
|
-
/**
|
|
20
|
-
* Optional size of the tooltip icon button.
|
|
21
|
-
*
|
|
22
|
-
* @default ButtonIconSize.Md
|
|
23
|
-
*/
|
|
24
|
-
size?: ButtonIconSize;
|
|
25
|
-
/**
|
|
26
|
-
* Optional icon name for the tooltip icon.
|
|
27
|
-
*
|
|
28
|
-
* @default IconName.Question
|
|
29
|
-
*/
|
|
30
|
-
iconName?: IconName;
|
|
31
|
-
/**
|
|
32
|
-
* Optional onPress handler called when the tooltip icon is pressed.
|
|
33
|
-
*/
|
|
34
|
-
onPress?: (...args: unknown[]) => unknown;
|
|
35
|
-
/**
|
|
36
|
-
* Optional bottom padding for the tooltip modal.
|
|
37
|
-
*/
|
|
38
|
-
bottomPadding?: number;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Used to position an icon in a KeyValueRowField.
|
|
42
|
-
*/
|
|
43
|
-
export declare const KeyValueRowFieldIconSides: {
|
|
44
|
-
readonly Left: "left";
|
|
45
|
-
readonly Right: "right";
|
|
46
|
-
readonly Both: "both";
|
|
47
|
-
};
|
|
48
|
-
export type KeyValueRowFieldIconSides = (typeof KeyValueRowFieldIconSides)[keyof typeof KeyValueRowFieldIconSides];
|
|
49
|
-
/**
|
|
50
|
-
* Represents a field displayed within KeyValueRowProps.
|
|
51
|
-
*/
|
|
52
|
-
export type KeyValueRowField = {
|
|
53
|
-
/**
|
|
54
|
-
* The label content displayed.
|
|
55
|
-
*/
|
|
56
|
-
label: PreDefinedKeyValueRowLabel | ReactNode;
|
|
57
|
-
/**
|
|
58
|
-
* Optional icon to display. If undefined, no icon is displayed.
|
|
59
|
-
*/
|
|
60
|
-
icon?: IconProps & {
|
|
61
|
-
side?: KeyValueRowFieldIconSides;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Optional tooltip to display. If undefined, no tooltip is displayed.
|
|
65
|
-
*/
|
|
66
|
-
tooltip?: KeyValueRowTooltip;
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* Re-exported for backwards compatibility.
|
|
70
|
-
*/
|
|
71
|
-
export declare const IconSizes: typeof IconSize;
|
|
72
|
-
/**
|
|
73
|
-
* Re-exported for backwards compatibility.
|
|
74
|
-
*/
|
|
75
|
-
export declare const TooltipSizes: typeof ButtonIconSize;
|
|
76
|
-
/**
|
|
77
|
-
* A predefined label object with text, variant, and color.
|
|
78
|
-
*/
|
|
79
|
-
export type PreDefinedKeyValueRowLabel = {
|
|
80
|
-
/**
|
|
81
|
-
* Text to display.
|
|
82
|
-
*/
|
|
83
|
-
text: string;
|
|
84
|
-
/**
|
|
85
|
-
* Optional text variant.
|
|
86
|
-
*
|
|
87
|
-
* @default TextVariant.BodyMd
|
|
88
|
-
*/
|
|
89
|
-
variant?: TextProps['variant'];
|
|
90
|
-
/**
|
|
91
|
-
* Optional text color.
|
|
92
|
-
*
|
|
93
|
-
* @default TextColor.TextDefault
|
|
94
|
-
*/
|
|
95
|
-
color?: TextProps['color'];
|
|
96
|
-
};
|
|
97
|
-
/**
|
|
98
|
-
* The KeyValueRowLabel component props.
|
|
99
|
-
*/
|
|
100
|
-
export type KeyValueRowLabelProps = {
|
|
101
|
-
/**
|
|
102
|
-
* The label content displayed.
|
|
103
|
-
*/
|
|
104
|
-
label: PreDefinedKeyValueRowLabel | ReactNode;
|
|
105
|
-
/**
|
|
106
|
-
* Optional tooltip. If undefined, the tooltip won't be displayed.
|
|
107
|
-
*/
|
|
108
|
-
tooltip?: KeyValueRowTooltip;
|
|
109
|
-
};
|
|
110
|
-
/**
|
|
111
|
-
* Represents the valid KeyValueSection alignments.
|
|
112
|
-
*/
|
|
113
|
-
export declare const KeyValueRowSectionAlignments: {
|
|
114
|
-
readonly Left: "items-start";
|
|
115
|
-
readonly Right: "items-end";
|
|
116
|
-
};
|
|
117
|
-
export type KeyValueRowSectionAlignments = (typeof KeyValueRowSectionAlignments)[keyof typeof KeyValueRowSectionAlignments];
|
|
118
|
-
/**
|
|
119
|
-
* Represents the main container for the KeyValueRow component.
|
|
120
|
-
*
|
|
121
|
-
* Extends `ViewProps` so the root View inherits standard React Native
|
|
122
|
-
* props such as `testID` and `accessibilityLabel`.
|
|
123
|
-
*/
|
|
124
|
-
export type KeyValueRowRootProps = {
|
|
125
|
-
/**
|
|
126
|
-
* Must have exactly two children. Adding more will lead to an undesired outcome.
|
|
127
|
-
*/
|
|
128
|
-
children: [ReactNode, ReactNode];
|
|
129
|
-
/**
|
|
130
|
-
* Optional Tailwind class names to override default styles on the root element.
|
|
131
|
-
*/
|
|
132
|
-
twClassName?: string;
|
|
133
|
-
} & ViewProps;
|
|
134
|
-
/**
|
|
135
|
-
* The KeyValueSection component props.
|
|
136
|
-
*
|
|
137
|
-
* Extends `ViewProps` so the root View inherits standard React Native
|
|
138
|
-
* props such as `testID` and `accessibilityLabel`.
|
|
139
|
-
*/
|
|
140
|
-
export type KeyValueSectionProps = {
|
|
141
|
-
/**
|
|
142
|
-
* Child components.
|
|
143
|
-
*/
|
|
144
|
-
children: ReactNode;
|
|
145
|
-
/**
|
|
146
|
-
* Optional content alignment.
|
|
147
|
-
*
|
|
148
|
-
* @default KeyValueRowSectionAlignments.Left
|
|
149
|
-
*/
|
|
150
|
-
align?: KeyValueRowSectionAlignments;
|
|
151
|
-
/**
|
|
152
|
-
* Optional Tailwind class names to override default styles on the root element.
|
|
153
|
-
*/
|
|
3
|
+
import type { ButtonIconProps } from "../ButtonIcon/ButtonIcon.types.mjs";
|
|
4
|
+
import type { TextProps } from "../Text/Text.types.mjs";
|
|
5
|
+
export type KeyValueRowProps = KeyValueRowPropsShared & Omit<ViewProps, 'children'> & {
|
|
6
|
+
/** Optional props for the key Text when key is a string. */
|
|
7
|
+
keyTextProps?: Partial<Omit<TextProps, 'children'>>;
|
|
8
|
+
/** Optional props for the value Text when value is a string. */
|
|
9
|
+
valueTextProps?: Partial<Omit<TextProps, 'children'>>;
|
|
10
|
+
/** Optional Tailwind class names applied to the outer BoxHorizontal. Merged with base styles. */
|
|
154
11
|
twClassName?: string;
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
* props such as `testID` and `accessibilityLabel`.
|
|
161
|
-
*/
|
|
162
|
-
export type KeyValueRowProps = {
|
|
163
|
-
/**
|
|
164
|
-
* The "key" portion of the KeyValueRow (left side).
|
|
165
|
-
* Using the variable name field because key is reserved.
|
|
166
|
-
*/
|
|
167
|
-
field: KeyValueRowField;
|
|
168
|
-
/**
|
|
169
|
-
* The "value" portion of the KeyValueRow (right side).
|
|
170
|
-
*/
|
|
171
|
-
value: KeyValueRowField;
|
|
172
|
-
/**
|
|
173
|
-
* Optional Tailwind class names to override default styles on the root element.
|
|
174
|
-
*/
|
|
175
|
-
twClassName?: string;
|
|
176
|
-
} & ViewProps;
|
|
12
|
+
/** When set, renders a ButtonIcon as the key endAccessory (takes precedence over keyEndAccessory). */
|
|
13
|
+
keyEndButtonIconProps?: Partial<ButtonIconProps>;
|
|
14
|
+
/** When set, renders a ButtonIcon as the value endAccessory (takes precedence over valueEndAccessory). */
|
|
15
|
+
valueEndButtonIconProps?: Partial<ButtonIconProps>;
|
|
16
|
+
};
|
|
177
17
|
//# sourceMappingURL=KeyValueRow.types.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyValueRow.types.d.mts","sourceRoot":"","sources":["../../../src/components/KeyValueRow/KeyValueRow.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"KeyValueRow.types.d.mts","sourceRoot":"","sources":["../../../src/components/KeyValueRow/KeyValueRow.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,uCAAuC;AAC7E,OAAO,KAAK,EAAE,SAAS,EAAE,8BAAqB;AAE9C,OAAO,KAAK,EAAE,eAAe,EAAE,2CAAuC;AACtE,OAAO,KAAK,EAAE,SAAS,EAAE,+BAA2B;AAEpD,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GACnD,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG;IAC5B,4DAA4D;IAC5D,YAAY,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC;IACpD,gEAAgE;IAChE,cAAc,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC;IACtD,iGAAiG;IACjG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sGAAsG;IACtG,qBAAqB,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACjD,0GAA0G;IAC1G,uBAAuB,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CACpD,CAAC"}
|
|
@@ -1,26 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { IconName, IconSize } from "../Icon/index.mjs";
|
|
3
|
-
/**
|
|
4
|
-
* Used to position an icon in a KeyValueRowField.
|
|
5
|
-
*/
|
|
6
|
-
export const KeyValueRowFieldIconSides = {
|
|
7
|
-
Left: 'left',
|
|
8
|
-
Right: 'right',
|
|
9
|
-
Both: 'both',
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Re-exported for backwards compatibility.
|
|
13
|
-
*/
|
|
14
|
-
export const IconSizes = IconSize;
|
|
15
|
-
/**
|
|
16
|
-
* Re-exported for backwards compatibility.
|
|
17
|
-
*/
|
|
18
|
-
export const TooltipSizes = ButtonIconSize;
|
|
19
|
-
/**
|
|
20
|
-
* Represents the valid KeyValueSection alignments.
|
|
21
|
-
*/
|
|
22
|
-
export const KeyValueRowSectionAlignments = {
|
|
23
|
-
Left: 'items-start',
|
|
24
|
-
Right: 'items-end',
|
|
25
|
-
};
|
|
1
|
+
export {};
|
|
26
2
|
//# sourceMappingURL=KeyValueRow.types.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyValueRow.types.mjs","sourceRoot":"","sources":["../../../src/components/KeyValueRow/KeyValueRow.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KeyValueRow.types.mjs","sourceRoot":"","sources":["../../../src/components/KeyValueRow/KeyValueRow.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { KeyValueRowPropsShared } from '@metamask/design-system-shared';\nimport type { ViewProps } from 'react-native';\n\nimport type { ButtonIconProps } from '../ButtonIcon/ButtonIcon.types';\nimport type { TextProps } from '../Text/Text.types';\n\nexport type KeyValueRowProps = KeyValueRowPropsShared &\n Omit<ViewProps, 'children'> & {\n /** Optional props for the key Text when key is a string. */\n keyTextProps?: Partial<Omit<TextProps, 'children'>>;\n /** Optional props for the value Text when value is a string. */\n valueTextProps?: Partial<Omit<TextProps, 'children'>>;\n /** Optional Tailwind class names applied to the outer BoxHorizontal. Merged with base styles. */\n twClassName?: string;\n /** When set, renders a ButtonIcon as the key endAccessory (takes precedence over keyEndAccessory). */\n keyEndButtonIconProps?: Partial<ButtonIconProps>;\n /** When set, renders a ButtonIcon as the value endAccessory (takes precedence over valueEndAccessory). */\n valueEndButtonIconProps?: Partial<ButtonIconProps>;\n };\n"]}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.KeyValueRow = exports.KeyValueRowVariant = void 0;
|
|
4
|
+
var design_system_shared_1 = require("@metamask/design-system-shared");
|
|
5
|
+
Object.defineProperty(exports, "KeyValueRowVariant", { enumerable: true, get: function () { return design_system_shared_1.KeyValueRowVariant; } });
|
|
4
6
|
var KeyValueRow_1 = require("./KeyValueRow.cjs");
|
|
5
7
|
Object.defineProperty(exports, "KeyValueRow", { enumerable: true, get: function () { return KeyValueRow_1.KeyValueRow; } });
|
|
6
|
-
Object.defineProperty(exports, "KeyValueRowStubs", { enumerable: true, get: function () { return KeyValueRow_1.KeyValueRowStubs; } });
|
|
7
|
-
var KeyValueRow_types_1 = require("./KeyValueRow.types.cjs");
|
|
8
|
-
Object.defineProperty(exports, "KeyValueRowSectionAlignments", { enumerable: true, get: function () { return KeyValueRow_types_1.KeyValueRowSectionAlignments; } });
|
|
9
|
-
Object.defineProperty(exports, "KeyValueRowFieldIconSides", { enumerable: true, get: function () { return KeyValueRow_types_1.KeyValueRowFieldIconSides; } });
|
|
10
|
-
Object.defineProperty(exports, "TooltipSizes", { enumerable: true, get: function () { return KeyValueRow_types_1.TooltipSizes; } });
|
|
11
|
-
Object.defineProperty(exports, "IconSizes", { enumerable: true, get: function () { return KeyValueRow_types_1.IconSizes; } });
|
|
12
8
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/components/KeyValueRow/index.
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/components/KeyValueRow/index.ts"],"names":[],"mappings":";;;AAAA,uEAAoE;AAA3D,0HAAA,kBAAkB,OAAA;AAC3B,iDAA4C;AAAnC,0GAAA,WAAW,OAAA","sourcesContent":["export { KeyValueRowVariant } from '@metamask/design-system-shared';\nexport { KeyValueRow } from './KeyValueRow';\nexport type { KeyValueRowProps } from './KeyValueRow.types';\n"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { KeyValueRowVariant } from "@metamask/design-system-shared";
|
|
2
|
+
export { KeyValueRow } from "./KeyValueRow.cjs";
|
|
3
|
+
export type { KeyValueRowProps } from "./KeyValueRow.types.cjs";
|
|
3
4
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/components/KeyValueRow/index.
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/components/KeyValueRow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,uCAAuC;AACpE,OAAO,EAAE,WAAW,EAAE,0BAAsB;AAC5C,YAAY,EAAE,gBAAgB,EAAE,gCAA4B"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { KeyValueRowVariant } from "@metamask/design-system-shared";
|
|
2
|
+
export { KeyValueRow } from "./KeyValueRow.mjs";
|
|
3
|
+
export type { KeyValueRowProps } from "./KeyValueRow.types.mjs";
|
|
3
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/components/KeyValueRow/index.
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/components/KeyValueRow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,uCAAuC;AACpE,OAAO,EAAE,WAAW,EAAE,0BAAsB;AAC5C,YAAY,EAAE,gBAAgB,EAAE,gCAA4B"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { KeyValueRowVariant } from "@metamask/design-system-shared";
|
|
2
|
+
export { KeyValueRow } from "./KeyValueRow.mjs";
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/components/KeyValueRow/index.
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/components/KeyValueRow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,uCAAuC;AACpE,OAAO,EAAE,WAAW,EAAE,0BAAsB","sourcesContent":["export { KeyValueRowVariant } from '@metamask/design-system-shared';\nexport { KeyValueRow } from './KeyValueRow';\nexport type { KeyValueRowProps } from './KeyValueRow.types';\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ButtonBase = exports.ButtonAnimated = exports.Card = exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.BannerAlertSeverity = exports.BannerAlert = void 0;
|
|
3
|
+
exports.ButtonBase = exports.ButtonAnimated = exports.Card = exports.BoxColumn = exports.BoxRow = exports.BoxBorderColor = exports.BoxBackgroundColor = exports.BoxJustifyContent = exports.BoxAlignItems = exports.BoxFlexWrap = exports.BoxFlexDirection = exports.Box = exports.Blockies = exports.BottomSheetOverlay = exports.BottomSheetHeaderVariant = exports.BottomSheetHeader = exports.ButtonsAlignment = exports.BottomSheetFooter = exports.BottomSheetDialog = exports.BottomSheet = exports.BannerBase = exports.BadgeWrapperPositionAnchorShape = exports.BadgeWrapperPosition = exports.BadgeWrapper = exports.BadgeStatusSize = exports.BadgeStatusStatus = exports.BadgeStatus = exports.BadgeNetwork = exports.BadgeIcon = exports.BadgeCountSize = exports.BadgeCount = exports.AvatarTokenSize = exports.AvatarToken = exports.AvatarNetworkSize = exports.AvatarNetwork = exports.AvatarIconSize = exports.AvatarIconSeverity = exports.AvatarIcon = exports.AvatarGroupVariant = exports.AvatarGroupSize = exports.AvatarGroup = exports.AvatarFaviconSize = exports.AvatarFavicon = exports.AvatarBaseShape = exports.AvatarBaseSize = exports.AvatarBase = exports.AvatarAccountSize = exports.AvatarAccountVariant = exports.AvatarAccount = exports.ActionListItem = void 0;
|
|
4
|
+
exports.ToastContextWrapper = exports.ToastContext = exports.ToastCloseButtonVariant = exports.ToastVariant = exports.Toast = exports.TextOrChildren = exports.TextFieldSearch = exports.TextField = exports.TextVariant = exports.TextColor = exports.FontStyle = exports.FontFamily = exports.FontWeight = exports.Text = exports.TextButton = exports.TabEmptyState = exports.SensitiveTextLength = exports.SensitiveText = exports.Skeleton = exports.MainActionButton = exports.Maskicon = exports.Jazzicon = exports.RadioButton = exports.ListItemVerticalAlignment = exports.ListItem = exports.Label = exports.KeyValueRowVariant = exports.KeyValueRow = exports.KeyValueColumn = exports.Input = exports.IconSize = exports.IconName = exports.IconColor = exports.Icon = exports.HeaderStandard = exports.HeaderSearchVariant = exports.HeaderSearch = exports.HeaderRoot = exports.HeaderBaseVariant = exports.HeaderBase = exports.Checkbox = exports.ButtonSemanticSeverity = exports.ButtonSemantic = exports.ButtonIconVariant = exports.ButtonIconSize = exports.ButtonIcon = exports.ButtonVariant = exports.ButtonSize = exports.Button = exports.ButtonBaseSize = void 0;
|
|
5
|
+
exports.BannerAlertSeverity = exports.BannerAlert = exports.Spinner = exports.ImageOrSvg = exports.ButtonFilter = exports.ButtonHeroSize = exports.ButtonHero = void 0;
|
|
6
6
|
var ActionListItem_1 = require("./ActionListItem/index.cjs");
|
|
7
7
|
Object.defineProperty(exports, "ActionListItem", { enumerable: true, get: function () { return ActionListItem_1.ActionListItem; } });
|
|
8
8
|
var AvatarAccount_1 = require("./AvatarAccount/index.cjs");
|
|
@@ -69,10 +69,10 @@ Object.defineProperty(exports, "BoxAlignItems", { enumerable: true, get: functio
|
|
|
69
69
|
Object.defineProperty(exports, "BoxJustifyContent", { enumerable: true, get: function () { return Box_1.BoxJustifyContent; } });
|
|
70
70
|
Object.defineProperty(exports, "BoxBackgroundColor", { enumerable: true, get: function () { return Box_1.BoxBackgroundColor; } });
|
|
71
71
|
Object.defineProperty(exports, "BoxBorderColor", { enumerable: true, get: function () { return Box_1.BoxBorderColor; } });
|
|
72
|
-
var
|
|
73
|
-
Object.defineProperty(exports, "
|
|
74
|
-
var
|
|
75
|
-
Object.defineProperty(exports, "
|
|
72
|
+
var BoxRow_1 = require("./BoxRow/index.cjs");
|
|
73
|
+
Object.defineProperty(exports, "BoxRow", { enumerable: true, get: function () { return BoxRow_1.BoxRow; } });
|
|
74
|
+
var BoxColumn_1 = require("./BoxColumn/index.cjs");
|
|
75
|
+
Object.defineProperty(exports, "BoxColumn", { enumerable: true, get: function () { return BoxColumn_1.BoxColumn; } });
|
|
76
76
|
var Card_1 = require("./Card/index.cjs");
|
|
77
77
|
Object.defineProperty(exports, "Card", { enumerable: true, get: function () { return Card_1.Card; } });
|
|
78
78
|
var ButtonAnimated_1 = require("./temp-components/ButtonAnimated/index.cjs");
|
|
@@ -98,6 +98,9 @@ Object.defineProperty(exports, "HeaderBase", { enumerable: true, get: function (
|
|
|
98
98
|
Object.defineProperty(exports, "HeaderBaseVariant", { enumerable: true, get: function () { return HeaderBase_1.HeaderBaseVariant; } });
|
|
99
99
|
var HeaderRoot_1 = require("./HeaderRoot/index.cjs");
|
|
100
100
|
Object.defineProperty(exports, "HeaderRoot", { enumerable: true, get: function () { return HeaderRoot_1.HeaderRoot; } });
|
|
101
|
+
var HeaderSearch_1 = require("./HeaderSearch/index.cjs");
|
|
102
|
+
Object.defineProperty(exports, "HeaderSearch", { enumerable: true, get: function () { return HeaderSearch_1.HeaderSearch; } });
|
|
103
|
+
Object.defineProperty(exports, "HeaderSearchVariant", { enumerable: true, get: function () { return HeaderSearch_1.HeaderSearchVariant; } });
|
|
101
104
|
var HeaderStandard_1 = require("./HeaderStandard/index.cjs");
|
|
102
105
|
Object.defineProperty(exports, "HeaderStandard", { enumerable: true, get: function () { return HeaderStandard_1.HeaderStandard; } });
|
|
103
106
|
var Icon_1 = require("./Icon/index.cjs");
|
|
@@ -107,6 +110,11 @@ Object.defineProperty(exports, "IconName", { enumerable: true, get: function ()
|
|
|
107
110
|
Object.defineProperty(exports, "IconSize", { enumerable: true, get: function () { return Icon_1.IconSize; } });
|
|
108
111
|
var Input_1 = require("./Input/index.cjs");
|
|
109
112
|
Object.defineProperty(exports, "Input", { enumerable: true, get: function () { return Input_1.Input; } });
|
|
113
|
+
var KeyValueColumn_1 = require("./KeyValueColumn/index.cjs");
|
|
114
|
+
Object.defineProperty(exports, "KeyValueColumn", { enumerable: true, get: function () { return KeyValueColumn_1.KeyValueColumn; } });
|
|
115
|
+
var KeyValueRow_1 = require("./KeyValueRow/index.cjs");
|
|
116
|
+
Object.defineProperty(exports, "KeyValueRow", { enumerable: true, get: function () { return KeyValueRow_1.KeyValueRow; } });
|
|
117
|
+
Object.defineProperty(exports, "KeyValueRowVariant", { enumerable: true, get: function () { return KeyValueRow_1.KeyValueRowVariant; } });
|
|
110
118
|
var Label_1 = require("./Label/index.cjs");
|
|
111
119
|
Object.defineProperty(exports, "Label", { enumerable: true, get: function () { return Label_1.Label; } });
|
|
112
120
|
var ListItem_1 = require("./ListItem/index.cjs");
|