@metamask/design-system-react-native 0.7.0 → 0.8.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 +25 -1
- package/dist/components/BadgeStatus/BadgeStatus.cjs +2 -2
- package/dist/components/BadgeStatus/BadgeStatus.cjs.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.cjs +8 -8
- package/dist/components/BadgeStatus/BadgeStatus.constants.cjs.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.cts +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.cts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.mts +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.mts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.mjs +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.mjs.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.d.cts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.d.mts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.mjs +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.mjs.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.types.cjs.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.types.d.cts +5 -29
- package/dist/components/BadgeStatus/BadgeStatus.types.d.cts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.types.d.mts +5 -29
- package/dist/components/BadgeStatus/BadgeStatus.types.d.mts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.types.mjs.map +1 -1
- package/dist/components/BadgeStatus/index.cjs +4 -4
- package/dist/components/BadgeStatus/index.cjs.map +1 -1
- package/dist/components/BadgeStatus/index.d.cts +1 -1
- package/dist/components/BadgeStatus/index.d.cts.map +1 -1
- package/dist/components/BadgeStatus/index.d.mts +1 -1
- package/dist/components/BadgeStatus/index.d.mts.map +1 -1
- package/dist/components/BadgeStatus/index.mjs +1 -1
- package/dist/components/BadgeStatus/index.mjs.map +1 -1
- package/dist/components/{BottomSheets/BottomSheetFooter → BottomSheetFooter}/BottomSheetFooter.cjs +1 -1
- package/dist/components/BottomSheetFooter/BottomSheetFooter.cjs.map +1 -0
- package/dist/components/BottomSheetFooter/BottomSheetFooter.d.cts.map +1 -0
- package/dist/components/BottomSheetFooter/BottomSheetFooter.d.mts.map +1 -0
- package/dist/components/{BottomSheets/BottomSheetFooter → BottomSheetFooter}/BottomSheetFooter.mjs +1 -1
- package/dist/components/BottomSheetFooter/BottomSheetFooter.mjs.map +1 -0
- package/dist/components/BottomSheetFooter/BottomSheetFooter.types.cjs.map +1 -0
- package/dist/components/{BottomSheets/BottomSheetFooter → BottomSheetFooter}/BottomSheetFooter.types.d.cts +1 -1
- package/dist/components/BottomSheetFooter/BottomSheetFooter.types.d.cts.map +1 -0
- package/dist/components/{BottomSheets/BottomSheetFooter → BottomSheetFooter}/BottomSheetFooter.types.d.mts +1 -1
- package/dist/components/BottomSheetFooter/BottomSheetFooter.types.d.mts.map +1 -0
- package/dist/components/BottomSheetFooter/BottomSheetFooter.types.mjs.map +1 -0
- package/dist/components/BottomSheetFooter/index.cjs.map +1 -0
- package/dist/components/BottomSheetFooter/index.d.cts.map +1 -0
- package/dist/components/BottomSheetFooter/index.d.mts.map +1 -0
- package/dist/components/BottomSheetFooter/index.mjs.map +1 -0
- package/dist/components/RadioButton/RadioButton.cjs +58 -0
- package/dist/components/RadioButton/RadioButton.cjs.map +1 -0
- package/dist/components/RadioButton/RadioButton.constants.cjs +12 -0
- package/dist/components/RadioButton/RadioButton.constants.cjs.map +1 -0
- package/dist/components/RadioButton/RadioButton.constants.d.cts +3 -0
- package/dist/components/RadioButton/RadioButton.constants.d.cts.map +1 -0
- package/dist/components/RadioButton/RadioButton.constants.d.mts +3 -0
- package/dist/components/RadioButton/RadioButton.constants.d.mts.map +1 -0
- package/dist/components/RadioButton/RadioButton.constants.mjs +9 -0
- package/dist/components/RadioButton/RadioButton.constants.mjs.map +1 -0
- package/dist/components/RadioButton/RadioButton.d.cts +4 -0
- package/dist/components/RadioButton/RadioButton.d.cts.map +1 -0
- package/dist/components/RadioButton/RadioButton.d.mts +4 -0
- package/dist/components/RadioButton/RadioButton.d.mts.map +1 -0
- package/dist/components/RadioButton/RadioButton.mjs +58 -0
- package/dist/components/RadioButton/RadioButton.mjs.map +1 -0
- package/dist/components/RadioButton/RadioButton.types.cjs +3 -0
- package/dist/components/RadioButton/RadioButton.types.cjs.map +1 -0
- package/dist/components/RadioButton/RadioButton.types.d.cts +64 -0
- package/dist/components/RadioButton/RadioButton.types.d.cts.map +1 -0
- package/dist/components/RadioButton/RadioButton.types.d.mts +64 -0
- package/dist/components/RadioButton/RadioButton.types.d.mts.map +1 -0
- package/dist/components/RadioButton/RadioButton.types.mjs +2 -0
- package/dist/components/RadioButton/RadioButton.types.mjs.map +1 -0
- package/dist/components/RadioButton/index.cjs +6 -0
- package/dist/components/RadioButton/index.cjs.map +1 -0
- package/dist/components/RadioButton/index.d.cts +3 -0
- package/dist/components/RadioButton/index.d.cts.map +1 -0
- package/dist/components/RadioButton/index.d.mts +3 -0
- package/dist/components/RadioButton/index.d.mts.map +1 -0
- package/dist/components/RadioButton/index.mjs +2 -0
- package/dist/components/RadioButton/index.mjs.map +1 -0
- package/dist/components/index.cjs +4 -2
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +4 -2
- package/dist/components/index.d.cts.map +1 -1
- package/dist/components/index.d.mts +4 -2
- package/dist/components/index.d.mts.map +1 -1
- package/dist/components/index.mjs +2 -1
- package/dist/components/index.mjs.map +1 -1
- package/dist/types/index.cjs +1 -26
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.cts +0 -23
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.mts +0 -23
- package/dist/types/index.d.mts.map +1 -1
- package/dist/types/index.mjs +0 -25
- package/dist/types/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/components/BottomSheets/BottomSheetFooter/BottomSheetFooter.cjs.map +0 -1
- package/dist/components/BottomSheets/BottomSheetFooter/BottomSheetFooter.d.cts.map +0 -1
- package/dist/components/BottomSheets/BottomSheetFooter/BottomSheetFooter.d.mts.map +0 -1
- package/dist/components/BottomSheets/BottomSheetFooter/BottomSheetFooter.mjs.map +0 -1
- package/dist/components/BottomSheets/BottomSheetFooter/BottomSheetFooter.types.cjs.map +0 -1
- package/dist/components/BottomSheets/BottomSheetFooter/BottomSheetFooter.types.d.cts.map +0 -1
- package/dist/components/BottomSheets/BottomSheetFooter/BottomSheetFooter.types.d.mts.map +0 -1
- package/dist/components/BottomSheets/BottomSheetFooter/BottomSheetFooter.types.mjs.map +0 -1
- package/dist/components/BottomSheets/BottomSheetFooter/index.cjs.map +0 -1
- package/dist/components/BottomSheets/BottomSheetFooter/index.d.cts.map +0 -1
- package/dist/components/BottomSheets/BottomSheetFooter/index.d.mts.map +0 -1
- package/dist/components/BottomSheets/BottomSheetFooter/index.mjs.map +0 -1
- /package/dist/components/{BottomSheets/BottomSheetFooter → BottomSheetFooter}/BottomSheetFooter.d.cts +0 -0
- /package/dist/components/{BottomSheets/BottomSheetFooter → BottomSheetFooter}/BottomSheetFooter.d.mts +0 -0
- /package/dist/components/{BottomSheets/BottomSheetFooter → BottomSheetFooter}/BottomSheetFooter.types.cjs +0 -0
- /package/dist/components/{BottomSheets/BottomSheetFooter → BottomSheetFooter}/BottomSheetFooter.types.mjs +0 -0
- /package/dist/components/{BottomSheets/BottomSheetFooter → BottomSheetFooter}/index.cjs +0 -0
- /package/dist/components/{BottomSheets/BottomSheetFooter → BottomSheetFooter}/index.d.cts +0 -0
- /package/dist/components/{BottomSheets/BottomSheetFooter → BottomSheetFooter}/index.d.mts +0 -0
- /package/dist/components/{BottomSheets/BottomSheetFooter → BottomSheetFooter}/index.mjs +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioButton.constants.d.mts","sourceRoot":"","sources":["../../../src/components/RadioButton/RadioButton.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,gCAA4B;AAG5D,eAAO,MAAM,wBAAwB,EAAE,gBAMtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioButton.constants.mjs","sourceRoot":"","sources":["../../../src/components/RadioButton/RadioButton.constants.ts"],"names":[],"mappings":"AAEA,qCAAqC;AACrC,MAAM,CAAC,MAAM,wBAAwB,GAAqB;IACxD,KAAK,EAAE,0BAA0B;IACjC,SAAS,EAAE,KAAK;IAChB,UAAU,EAAE,KAAK;IACjB,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,KAAK;CAChB,CAAC","sourcesContent":["import type { RadioButtonProps } from './RadioButton.types';\n\n// Sample props for stories and tests\nexport const SAMPLE_RADIOBUTTON_PROPS: RadioButtonProps = {\n label: 'Sample RadioButton Label',\n isChecked: false,\n isDisabled: false,\n isReadOnly: false,\n isDanger: false,\n};\n"]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { RadioButtonProps } from "./RadioButton.types.cjs";
|
|
3
|
+
export declare const RadioButton: ({ onPress, label, labelProps, isChecked, isDisabled, isReadOnly, isDanger, touchableOpacityProps, radioButtonContainerProps, twClassName, style, ...props }: RadioButtonProps) => React.JSX.Element;
|
|
4
|
+
//# sourceMappingURL=RadioButton.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioButton.d.cts","sourceRoot":"","sources":["../../../src/components/RadioButton/RadioButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;AAK1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,gCAA4B;AAgC5D,eAAO,MAAM,WAAW,gKAarB,gBAAgB,sBA0DlB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { RadioButtonProps } from "./RadioButton.types.mjs";
|
|
3
|
+
export declare const RadioButton: ({ onPress, label, labelProps, isChecked, isDisabled, isReadOnly, isDanger, touchableOpacityProps, radioButtonContainerProps, twClassName, style, ...props }: RadioButtonProps) => React.JSX.Element;
|
|
4
|
+
//# sourceMappingURL=RadioButton.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioButton.d.mts","sourceRoot":"","sources":["../../../src/components/RadioButton/RadioButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc;AAK1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,gCAA4B;AAgC5D,eAAO,MAAM,WAAW,gKAarB,gBAAgB,sBA0DlB,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
function $importDefault(module) {
|
|
2
|
+
if (module?.__esModule) {
|
|
3
|
+
return module.default;
|
|
4
|
+
}
|
|
5
|
+
return module;
|
|
6
|
+
}
|
|
7
|
+
import { useTailwind } from "@metamask/design-system-twrnc-preset";
|
|
8
|
+
import $React from "react";
|
|
9
|
+
const React = $importDefault($React);
|
|
10
|
+
import { View, TouchableOpacity } from "react-native/index.js";
|
|
11
|
+
import { TextOrChildren } from "../temp-components/TextOrChildren/index.mjs";
|
|
12
|
+
const getRadioButtonBorderClass = (isReadOnly, isDanger, isChecked) => {
|
|
13
|
+
if (isReadOnly) {
|
|
14
|
+
return 'border-background-default';
|
|
15
|
+
}
|
|
16
|
+
if (isDanger) {
|
|
17
|
+
return 'border-error-default';
|
|
18
|
+
}
|
|
19
|
+
if (isChecked) {
|
|
20
|
+
return 'border-primary-default';
|
|
21
|
+
}
|
|
22
|
+
return 'border-default';
|
|
23
|
+
};
|
|
24
|
+
const getRadioButtonDotClass = (isReadOnly, isDanger) => {
|
|
25
|
+
if (isReadOnly) {
|
|
26
|
+
return 'bg-icon-alternative';
|
|
27
|
+
}
|
|
28
|
+
if (isDanger) {
|
|
29
|
+
return 'bg-error-default';
|
|
30
|
+
}
|
|
31
|
+
return 'bg-primary-default';
|
|
32
|
+
};
|
|
33
|
+
export const RadioButton = ({ onPress, label, labelProps, isChecked = false, isDisabled = false, isReadOnly = false, isDanger = false, touchableOpacityProps, radioButtonContainerProps, twClassName, style, ...props }) => {
|
|
34
|
+
const tw = useTailwind();
|
|
35
|
+
return (<View {...props} style={[
|
|
36
|
+
tw.style('flex-row items-center', isDisabled ? 'opacity-50' : 'opacity-100', twClassName),
|
|
37
|
+
style,
|
|
38
|
+
]}>
|
|
39
|
+
<TouchableOpacity onPress={onPress} disabled={isDisabled || isReadOnly} accessible accessibilityRole="radio" accessibilityState={{
|
|
40
|
+
checked: isChecked,
|
|
41
|
+
disabled: isDisabled,
|
|
42
|
+
}} accessibilityLabel={typeof label === 'string' ? label : undefined} {...touchableOpacityProps} style={[
|
|
43
|
+
tw.style('flex-row items-center'),
|
|
44
|
+
touchableOpacityProps?.style,
|
|
45
|
+
]}>
|
|
46
|
+
<View {...radioButtonContainerProps} style={[
|
|
47
|
+
tw.style('size-5 items-center justify-center rounded-full border-2 bg-default', getRadioButtonBorderClass(isReadOnly, isDanger, isChecked)),
|
|
48
|
+
radioButtonContainerProps?.style,
|
|
49
|
+
]}>
|
|
50
|
+
{isChecked && (<View style={tw.style('size-3 rounded-full', getRadioButtonDotClass(isReadOnly, isDanger))}/>)}
|
|
51
|
+
</View>
|
|
52
|
+
{label ? (<TextOrChildren textProps={{ ...labelProps, twClassName: 'ml-3' }}>
|
|
53
|
+
{label}
|
|
54
|
+
</TextOrChildren>) : null}
|
|
55
|
+
</TouchableOpacity>
|
|
56
|
+
</View>);
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=RadioButton.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioButton.mjs","sourceRoot":"","sources":["../../../src/components/RadioButton/RadioButton.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,6CAA6C;AACnE,OAAO,MAAK,cAA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ACnC,UAAU,CACV,iBAAiB,CAAC,OAAO,CACzB,kBAAkB,CAAC,CAAC;YAClB,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;SACrB,CAAC,CACF,kBAAkB,CAAC,CAAC,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAClE,IAAI,qBAAqB,CAAC,CAC1B,KAAK,CAAC,CAAC;YACL,EAAE,CAAC,KAAK,CAAC,uBAAuB,CAAC;YACjC,qBAAqB,EAAE,KAAK;SAC7B,CAAC,CAEF;QAAA,CAAC,IAAI,CACH,IAAI,yBAAyB,CAAC,CAC9B,KAAK,CAAC,CAAC;YACL,EAAE,CAAC,KAAK,CACN,qEAAqE,EACrE,yBAAyB,CAAC,UAAU,EAAE,QAAQ,EAAE,SAAS,CAAC,CAC3D;YACD,yBAAyB,EAAE,KAAK;SACjC,CAAC,CAEF;UAAA,CAAC,SAAS,IAAI,CACZ,CAAC,IAAI,CACH,KAAK,CAAC,CAAC,EAAE,CAAC,KAAK,CACb,qBAAqB,EACrB,sBAAsB,CAAC,UAAU,EAAE,QAAQ,CAAC,CAC7C,CAAC,EACF,CACH,CACH;QAAA,EAAE,IAAI,CACN;QAAA,CAAC,KAAK,CAAC,CAAC,CAAC,CACP,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,EAAE,GAAG,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC,CAChE;YAAA,CAAC,KAAK,CACR;UAAA,EAAE,cAAc,CAAC,CAClB,CAAC,CAAC,CAAC,IAAI,CACV;MAAA,EAAE,gBAAgB,CACpB;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { useTailwind } from '@metamask/design-system-twrnc-preset';\nimport React from 'react';\nimport { View, TouchableOpacity } from 'react-native';\n\nimport { TextOrChildren } from '../temp-components/TextOrChildren';\n\nimport type { RadioButtonProps } from './RadioButton.types';\n\nconst getRadioButtonBorderClass = (\n isReadOnly: boolean,\n isDanger: boolean,\n isChecked: boolean,\n): string => {\n if (isReadOnly) {\n return 'border-background-default';\n }\n if (isDanger) {\n return 'border-error-default';\n }\n if (isChecked) {\n return 'border-primary-default';\n }\n return 'border-default';\n};\n\nconst getRadioButtonDotClass = (\n isReadOnly: boolean,\n isDanger: boolean,\n): string => {\n if (isReadOnly) {\n return 'bg-icon-alternative';\n }\n if (isDanger) {\n return 'bg-error-default';\n }\n return 'bg-primary-default';\n};\n\nexport const RadioButton = ({\n onPress,\n label,\n labelProps,\n isChecked = false,\n isDisabled = false,\n isReadOnly = false,\n isDanger = false,\n touchableOpacityProps,\n radioButtonContainerProps,\n twClassName,\n style,\n ...props\n}: RadioButtonProps) => {\n const tw = useTailwind();\n\n return (\n <View\n {...props}\n style={[\n tw.style(\n 'flex-row items-center',\n isDisabled ? 'opacity-50' : 'opacity-100',\n twClassName,\n ),\n style,\n ]}\n >\n <TouchableOpacity\n onPress={onPress}\n disabled={isDisabled || isReadOnly}\n accessible\n accessibilityRole=\"radio\"\n accessibilityState={{\n checked: isChecked,\n disabled: isDisabled,\n }}\n accessibilityLabel={typeof label === 'string' ? label : undefined}\n {...touchableOpacityProps}\n style={[\n tw.style('flex-row items-center'),\n touchableOpacityProps?.style,\n ]}\n >\n <View\n {...radioButtonContainerProps}\n style={[\n tw.style(\n 'size-5 items-center justify-center rounded-full border-2 bg-default',\n getRadioButtonBorderClass(isReadOnly, isDanger, isChecked),\n ),\n radioButtonContainerProps?.style,\n ]}\n >\n {isChecked && (\n <View\n style={tw.style(\n 'size-3 rounded-full',\n getRadioButtonDotClass(isReadOnly, isDanger),\n )}\n />\n )}\n </View>\n {label ? (\n <TextOrChildren textProps={{ ...labelProps, twClassName: 'ml-3' }}>\n {label}\n </TextOrChildren>\n ) : null}\n </TouchableOpacity>\n </View>\n );\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioButton.types.cjs","sourceRoot":"","sources":["../../../src/components/RadioButton/RadioButton.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { TouchableOpacityProps, ViewProps } from 'react-native';\n\nimport type { TextProps } from '../Text';\n\n/**\n * RadioButton component props.\n *\n * Extends ViewProps so the root View inherits standard React Native\n * props such as `testID` and `accessibilityLabel`.\n */\nexport type RadioButtonProps = {\n /**\n * Optional callback triggered when the radio button is pressed.\n */\n onPress?: () => void;\n\n /**\n * Optional label displayed beside the radio button.\n */\n label?: string | React.ReactNode;\n\n /**\n * Optional props passed to the label's Text component.\n */\n labelProps?: Omit<Partial<TextProps>, 'children'>;\n\n /**\n * Optional prop to configure the checked state.\n *\n * @default false\n */\n isChecked?: boolean;\n\n /**\n * Optional prop to configure the disabled state.\n *\n * @default false\n */\n isDisabled?: boolean;\n\n /**\n * Optional prop to configure the read-only state.\n *\n * @default false\n */\n isReadOnly?: boolean;\n\n /**\n * Optional prop to configure the danger state.\n *\n * @default false\n */\n isDanger?: boolean;\n\n /**\n * Optional props passed to the inner TouchableOpacity.\n * Use this for TouchableOpacity-specific props such as `testID`.\n */\n touchableOpacityProps?: Omit<\n Partial<TouchableOpacityProps>,\n 'children' | 'onPress' | 'disabled'\n >;\n\n /**\n * Optional props passed to the radio button circle container.\n */\n radioButtonContainerProps?: Omit<Partial<ViewProps>, 'children'>;\n\n /**\n * Optional Tailwind CSS classes for the root container.\n */\n twClassName?: string;\n\n /**\n * Optional custom styles for the root container.\n */\n style?: ViewProps['style'];\n} & Omit<ViewProps, 'children'>;\n"]}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { TouchableOpacityProps, ViewProps } from "react-native/index.js";
|
|
2
|
+
import type { TextProps } from "../Text/index.cjs";
|
|
3
|
+
/**
|
|
4
|
+
* RadioButton component props.
|
|
5
|
+
*
|
|
6
|
+
* Extends ViewProps so the root View inherits standard React Native
|
|
7
|
+
* props such as `testID` and `accessibilityLabel`.
|
|
8
|
+
*/
|
|
9
|
+
export type RadioButtonProps = {
|
|
10
|
+
/**
|
|
11
|
+
* Optional callback triggered when the radio button is pressed.
|
|
12
|
+
*/
|
|
13
|
+
onPress?: () => void;
|
|
14
|
+
/**
|
|
15
|
+
* Optional label displayed beside the radio button.
|
|
16
|
+
*/
|
|
17
|
+
label?: string | React.ReactNode;
|
|
18
|
+
/**
|
|
19
|
+
* Optional props passed to the label's Text component.
|
|
20
|
+
*/
|
|
21
|
+
labelProps?: Omit<Partial<TextProps>, 'children'>;
|
|
22
|
+
/**
|
|
23
|
+
* Optional prop to configure the checked state.
|
|
24
|
+
*
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
isChecked?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Optional prop to configure the disabled state.
|
|
30
|
+
*
|
|
31
|
+
* @default false
|
|
32
|
+
*/
|
|
33
|
+
isDisabled?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Optional prop to configure the read-only state.
|
|
36
|
+
*
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
39
|
+
isReadOnly?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Optional prop to configure the danger state.
|
|
42
|
+
*
|
|
43
|
+
* @default false
|
|
44
|
+
*/
|
|
45
|
+
isDanger?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Optional props passed to the inner TouchableOpacity.
|
|
48
|
+
* Use this for TouchableOpacity-specific props such as `testID`.
|
|
49
|
+
*/
|
|
50
|
+
touchableOpacityProps?: Omit<Partial<TouchableOpacityProps>, 'children' | 'onPress' | 'disabled'>;
|
|
51
|
+
/**
|
|
52
|
+
* Optional props passed to the radio button circle container.
|
|
53
|
+
*/
|
|
54
|
+
radioButtonContainerProps?: Omit<Partial<ViewProps>, 'children'>;
|
|
55
|
+
/**
|
|
56
|
+
* Optional Tailwind CSS classes for the root container.
|
|
57
|
+
*/
|
|
58
|
+
twClassName?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Optional custom styles for the root container.
|
|
61
|
+
*/
|
|
62
|
+
style?: ViewProps['style'];
|
|
63
|
+
} & Omit<ViewProps, 'children'>;
|
|
64
|
+
//# sourceMappingURL=RadioButton.types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioButton.types.d.cts","sourceRoot":"","sources":["../../../src/components/RadioButton/RadioButton.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,8BAAqB;AAErE,OAAO,KAAK,EAAE,SAAS,EAAE,0BAAgB;AAEzC;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAEjC;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC;IAElD;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,IAAI,CAC1B,OAAO,CAAC,qBAAqB,CAAC,EAC9B,UAAU,GAAG,SAAS,GAAG,UAAU,CACpC,CAAC;IAEF;;OAEG;IACH,yBAAyB,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC;IAEjE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;CAC5B,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { TouchableOpacityProps, ViewProps } from "react-native/index.js";
|
|
2
|
+
import type { TextProps } from "../Text/index.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* RadioButton component props.
|
|
5
|
+
*
|
|
6
|
+
* Extends ViewProps so the root View inherits standard React Native
|
|
7
|
+
* props such as `testID` and `accessibilityLabel`.
|
|
8
|
+
*/
|
|
9
|
+
export type RadioButtonProps = {
|
|
10
|
+
/**
|
|
11
|
+
* Optional callback triggered when the radio button is pressed.
|
|
12
|
+
*/
|
|
13
|
+
onPress?: () => void;
|
|
14
|
+
/**
|
|
15
|
+
* Optional label displayed beside the radio button.
|
|
16
|
+
*/
|
|
17
|
+
label?: string | React.ReactNode;
|
|
18
|
+
/**
|
|
19
|
+
* Optional props passed to the label's Text component.
|
|
20
|
+
*/
|
|
21
|
+
labelProps?: Omit<Partial<TextProps>, 'children'>;
|
|
22
|
+
/**
|
|
23
|
+
* Optional prop to configure the checked state.
|
|
24
|
+
*
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
isChecked?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Optional prop to configure the disabled state.
|
|
30
|
+
*
|
|
31
|
+
* @default false
|
|
32
|
+
*/
|
|
33
|
+
isDisabled?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Optional prop to configure the read-only state.
|
|
36
|
+
*
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
39
|
+
isReadOnly?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Optional prop to configure the danger state.
|
|
42
|
+
*
|
|
43
|
+
* @default false
|
|
44
|
+
*/
|
|
45
|
+
isDanger?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Optional props passed to the inner TouchableOpacity.
|
|
48
|
+
* Use this for TouchableOpacity-specific props such as `testID`.
|
|
49
|
+
*/
|
|
50
|
+
touchableOpacityProps?: Omit<Partial<TouchableOpacityProps>, 'children' | 'onPress' | 'disabled'>;
|
|
51
|
+
/**
|
|
52
|
+
* Optional props passed to the radio button circle container.
|
|
53
|
+
*/
|
|
54
|
+
radioButtonContainerProps?: Omit<Partial<ViewProps>, 'children'>;
|
|
55
|
+
/**
|
|
56
|
+
* Optional Tailwind CSS classes for the root container.
|
|
57
|
+
*/
|
|
58
|
+
twClassName?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Optional custom styles for the root container.
|
|
61
|
+
*/
|
|
62
|
+
style?: ViewProps['style'];
|
|
63
|
+
} & Omit<ViewProps, 'children'>;
|
|
64
|
+
//# sourceMappingURL=RadioButton.types.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioButton.types.d.mts","sourceRoot":"","sources":["../../../src/components/RadioButton/RadioButton.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,8BAAqB;AAErE,OAAO,KAAK,EAAE,SAAS,EAAE,0BAAgB;AAEzC;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAEjC;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC;IAElD;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,IAAI,CAC1B,OAAO,CAAC,qBAAqB,CAAC,EAC9B,UAAU,GAAG,SAAS,GAAG,UAAU,CACpC,CAAC;IAEF;;OAEG;IACH,yBAAyB,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC;IAEjE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;CAC5B,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioButton.types.mjs","sourceRoot":"","sources":["../../../src/components/RadioButton/RadioButton.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { TouchableOpacityProps, ViewProps } from 'react-native';\n\nimport type { TextProps } from '../Text';\n\n/**\n * RadioButton component props.\n *\n * Extends ViewProps so the root View inherits standard React Native\n * props such as `testID` and `accessibilityLabel`.\n */\nexport type RadioButtonProps = {\n /**\n * Optional callback triggered when the radio button is pressed.\n */\n onPress?: () => void;\n\n /**\n * Optional label displayed beside the radio button.\n */\n label?: string | React.ReactNode;\n\n /**\n * Optional props passed to the label's Text component.\n */\n labelProps?: Omit<Partial<TextProps>, 'children'>;\n\n /**\n * Optional prop to configure the checked state.\n *\n * @default false\n */\n isChecked?: boolean;\n\n /**\n * Optional prop to configure the disabled state.\n *\n * @default false\n */\n isDisabled?: boolean;\n\n /**\n * Optional prop to configure the read-only state.\n *\n * @default false\n */\n isReadOnly?: boolean;\n\n /**\n * Optional prop to configure the danger state.\n *\n * @default false\n */\n isDanger?: boolean;\n\n /**\n * Optional props passed to the inner TouchableOpacity.\n * Use this for TouchableOpacity-specific props such as `testID`.\n */\n touchableOpacityProps?: Omit<\n Partial<TouchableOpacityProps>,\n 'children' | 'onPress' | 'disabled'\n >;\n\n /**\n * Optional props passed to the radio button circle container.\n */\n radioButtonContainerProps?: Omit<Partial<ViewProps>, 'children'>;\n\n /**\n * Optional Tailwind CSS classes for the root container.\n */\n twClassName?: string;\n\n /**\n * Optional custom styles for the root container.\n */\n style?: ViewProps['style'];\n} & Omit<ViewProps, 'children'>;\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RadioButton = void 0;
|
|
4
|
+
var RadioButton_1 = require("./RadioButton.cjs");
|
|
5
|
+
Object.defineProperty(exports, "RadioButton", { enumerable: true, get: function () { return RadioButton_1.RadioButton; } });
|
|
6
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/components/RadioButton/index.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAAnC,0GAAA,WAAW,OAAA","sourcesContent":["export { RadioButton } from './RadioButton';\nexport type { RadioButtonProps } from './RadioButton.types';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/components/RadioButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,0BAAsB;AAC5C,YAAY,EAAE,gBAAgB,EAAE,gCAA4B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/components/RadioButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,0BAAsB;AAC5C,YAAY,EAAE,gBAAgB,EAAE,gCAA4B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/components/RadioButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,0BAAsB","sourcesContent":["export { RadioButton } from './RadioButton';\nexport type { RadioButtonProps } from './RadioButton.types';\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HeaderBase = exports.Checkbox = exports.ButtonIconSize = exports.ButtonIcon = exports.ButtonVariant = exports.ButtonSize = exports.Button = exports.ButtonBaseSize = exports.ButtonBase = exports.ButtonAnimated = exports.Card = exports.BoxBorderColor = exports.BoxBackgroundColor = exports.BoxJustifyContent = exports.BoxAlignItems = exports.BoxFlexWrap = exports.BoxFlexDirection = exports.Box = exports.Blockies = exports.BottomSheetOverlay = exports.ButtonsAlignment = exports.BottomSheetFooter = 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 = void 0;
|
|
4
|
-
exports.ToastContext = exports.ToastVariant = exports.Toast = exports.TextOrChildren = exports.TextVariant = exports.TextColor = exports.FontStyle = exports.FontFamily = exports.FontWeight = exports.Text = exports.TextButtonSize = exports.TextButton = exports.Skeleton = exports.Maskicon = exports.Jazzicon = exports.Label = exports.Input = exports.IconSize = exports.IconName = exports.IconColor = exports.Icon = void 0;
|
|
4
|
+
exports.ToastContext = exports.ToastVariant = exports.Toast = exports.TextOrChildren = exports.TextVariant = exports.TextColor = exports.FontStyle = exports.FontFamily = exports.FontWeight = exports.Text = exports.TextButtonSize = exports.TextButton = exports.Skeleton = exports.Maskicon = exports.Jazzicon = exports.RadioButton = exports.Label = exports.Input = exports.IconSize = exports.IconName = exports.IconColor = exports.Icon = void 0;
|
|
5
5
|
var AvatarAccount_1 = require("./AvatarAccount/index.cjs");
|
|
6
6
|
Object.defineProperty(exports, "AvatarAccount", { enumerable: true, get: function () { return AvatarAccount_1.AvatarAccount; } });
|
|
7
7
|
Object.defineProperty(exports, "AvatarAccountVariant", { enumerable: true, get: function () { return AvatarAccount_1.AvatarAccountVariant; } });
|
|
@@ -42,7 +42,7 @@ var BadgeWrapper_1 = require("./BadgeWrapper/index.cjs");
|
|
|
42
42
|
Object.defineProperty(exports, "BadgeWrapper", { enumerable: true, get: function () { return BadgeWrapper_1.BadgeWrapper; } });
|
|
43
43
|
Object.defineProperty(exports, "BadgeWrapperPosition", { enumerable: true, get: function () { return BadgeWrapper_1.BadgeWrapperPosition; } });
|
|
44
44
|
Object.defineProperty(exports, "BadgeWrapperPositionAnchorShape", { enumerable: true, get: function () { return BadgeWrapper_1.BadgeWrapperPositionAnchorShape; } });
|
|
45
|
-
var BottomSheetFooter_1 = require("./
|
|
45
|
+
var BottomSheetFooter_1 = require("./BottomSheetFooter/index.cjs");
|
|
46
46
|
Object.defineProperty(exports, "BottomSheetFooter", { enumerable: true, get: function () { return BottomSheetFooter_1.BottomSheetFooter; } });
|
|
47
47
|
Object.defineProperty(exports, "ButtonsAlignment", { enumerable: true, get: function () { return BottomSheetFooter_1.ButtonsAlignment; } });
|
|
48
48
|
var BottomSheetOverlay_1 = require("./BottomSheetOverlay/index.cjs");
|
|
@@ -84,6 +84,8 @@ var Input_1 = require("./Input/index.cjs");
|
|
|
84
84
|
Object.defineProperty(exports, "Input", { enumerable: true, get: function () { return Input_1.Input; } });
|
|
85
85
|
var Label_1 = require("./Label/index.cjs");
|
|
86
86
|
Object.defineProperty(exports, "Label", { enumerable: true, get: function () { return Label_1.Label; } });
|
|
87
|
+
var RadioButton_1 = require("./RadioButton/index.cjs");
|
|
88
|
+
Object.defineProperty(exports, "RadioButton", { enumerable: true, get: function () { return RadioButton_1.RadioButton; } });
|
|
87
89
|
var Jazzicon_1 = require("./temp-components/Jazzicon/index.cjs");
|
|
88
90
|
Object.defineProperty(exports, "Jazzicon", { enumerable: true, get: function () { return Jazzicon_1.Jazzicon; } });
|
|
89
91
|
var Maskicon_1 = require("./temp-components/Maskicon/index.cjs");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":";;;;AAAA,2DAIyB;AAHvB,8GAAA,aAAa,OAAA;AACb,qHAAA,oBAAoB,OAAA;AACpB,kHAAA,iBAAiB,OAAA;AAInB,qDAA2E;AAAlE,wGAAA,UAAU,OAAA;AAAE,4GAAA,cAAc,OAAA;AAAE,6GAAA,eAAe,OAAA;AAGpD,2DAAmE;AAA1D,8GAAA,aAAa,OAAA;AAAE,kHAAA,iBAAiB,OAAA;AAGzC,uDAIuB;AAHrB,0GAAA,WAAW,OAAA;AACX,8GAAA,eAAe,OAAA;AACf,iHAAA,kBAAkB,OAAA;AAIpB,qDAA8E;AAArE,wGAAA,UAAU,OAAA;AAAE,gHAAA,kBAAkB,OAAA;AAAE,4GAAA,cAAc,OAAA;AAGvD,2DAAmE;AAA1D,8GAAA,aAAa,OAAA;AAAE,kHAAA,iBAAiB,OAAA;AAGzC,uDAA6D;AAApD,0GAAA,WAAW,OAAA;AAAE,8GAAA,eAAe,OAAA;AAGrC,qDAA0D;AAAjD,wGAAA,UAAU,OAAA;AAAE,4GAAA,cAAc,OAAA;AAGnC,mDAAwC;AAA/B,sGAAA,SAAS,OAAA;AAGlB,yDAA8C;AAArC,4GAAA,YAAY,OAAA;AAGrB,uDAAgF;AAAvE,0GAAA,WAAW,OAAA;AAAE,gHAAA,iBAAiB,OAAA;AAAE,8GAAA,eAAe,OAAA;AAGxD,yDAIwB;AAHtB,4GAAA,YAAY,OAAA;AACZ,oHAAA,oBAAoB,OAAA;AACpB,+HAAA,+BAA+B,OAAA;AAOjC,
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":";;;;AAAA,2DAIyB;AAHvB,8GAAA,aAAa,OAAA;AACb,qHAAA,oBAAoB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AAArB,4FAAA,IAAI,OAAA;AAGb,6EAAkE;AAAzD,gHAAA,cAAc,OAAA;AAGvB,qDAA0D;AAAjD,wGAAA,UAAU,OAAA;AAAE,4GAAA,cAAc,OAAA;AAGnC,6CAA6D;AAApD,gGAAA,MAAM,OAAA;AAAE,oGAAA,UAAU,OAAA;AAAE,uGAAA,aAAa,OAAA;AAG1C,qDAA0D;AAAjD,wGAAA,UAAU,OAAA;AAAE,4GAAA,cAAc,OAAA;AAGnC,iDAAsC;AAA7B,oGAAA,QAAQ,OAAA;AAGjB,qDAA0C;AAAjC,wGAAA,UAAU,OAAA;AAGnB,yCAA6D;AAApD,4FAAA,IAAI,OAAA;AAAE,iGAAA,SAAS,OAAA;AAAE,gGAAA,QAAQ,OAAA;AAAE,gGAAA,QAAQ,OAAA;AAG5C,2CAAgC;AAAvB,8FAAA,KAAK,OAAA;AAGd,2CAAgC;AAAvB,8FAAA,KAAK,OAAA;AAGd,uDAA4C;AAAnC,0GAAA,WAAW,OAAA;AAGpB,iEAAsD;AAA7C,oGAAA,QAAQ,OAAA;AAGjB,iEAAsD;AAA7C,oGAAA,QAAQ,OAAA;AAGjB,iDAAsC;AAA7B,oGAAA,QAAQ,OAAA;AAGjB,qDAA0D;AAAjD,wGAAA,UAAU,OAAA;AAAE,4GAAA,cAAc,OAAA;AAGnC,yCAOgB;AANd,4FAAA,IAAI,OAAA;AACJ,kGAAA,UAAU,OAAA;AACV,kGAAA,UAAU,OAAA;AACV,iGAAA,SAAS,OAAA;AACT,iGAAA,SAAS,OAAA;AACT,mGAAA,WAAW,OAAA;AAIb,6EAAkE;AAAzD,gHAAA,cAAc,OAAA;AAGvB,2CAA4D;AAAnD,8FAAA,KAAK,OAAA;AAAE,qGAAA,YAAY,OAAA;AAAE,qGAAA,YAAY,OAAA","sourcesContent":["export {\n AvatarAccount,\n AvatarAccountVariant,\n AvatarAccountSize,\n} from './AvatarAccount';\nexport type { AvatarAccountProps } from './AvatarAccount';\n\nexport { AvatarBase, AvatarBaseSize, AvatarBaseShape } from './AvatarBase';\nexport type { AvatarBaseProps } from './AvatarBase';\n\nexport { AvatarFavicon, AvatarFaviconSize } from './AvatarFavicon';\nexport type { AvatarFaviconProps } from './AvatarFavicon';\n\nexport {\n AvatarGroup,\n AvatarGroupSize,\n AvatarGroupVariant,\n} from './AvatarGroup';\nexport type { AvatarGroupProps } from './AvatarGroup';\n\nexport { AvatarIcon, AvatarIconSeverity, AvatarIconSize } from './AvatarIcon';\nexport type { AvatarIconProps } from './AvatarIcon';\n\nexport { AvatarNetwork, AvatarNetworkSize } from './AvatarNetwork';\nexport type { AvatarNetworkProps } from './AvatarNetwork';\n\nexport { AvatarToken, AvatarTokenSize } from './AvatarToken';\nexport type { AvatarTokenProps } from './AvatarToken';\n\nexport { BadgeCount, BadgeCountSize } from './BadgeCount';\nexport type { BadgeCountProps } from './BadgeCount';\n\nexport { BadgeIcon } from './BadgeIcon';\nexport type { BadgeIconProps } from './BadgeIcon';\n\nexport { BadgeNetwork } from './BadgeNetwork';\nexport type { BadgeNetworkProps } from './BadgeNetwork';\n\nexport { BadgeStatus, BadgeStatusStatus, BadgeStatusSize } from './BadgeStatus';\nexport type { BadgeStatusProps } from './BadgeStatus';\n\nexport {\n BadgeWrapper,\n BadgeWrapperPosition,\n BadgeWrapperPositionAnchorShape,\n} from './BadgeWrapper';\nexport type {\n BadgeWrapperProps,\n BadgeWrapperCustomPosition,\n} from './BadgeWrapper';\n\nexport { BottomSheetFooter, ButtonsAlignment } from './BottomSheetFooter';\nexport type {\n BottomSheetFooterProps,\n BottomSheetFooterButtonProps,\n} from './BottomSheetFooter';\n\nexport { BottomSheetOverlay } from './BottomSheetOverlay';\nexport type { BottomSheetOverlayProps } from './BottomSheetOverlay';\n\nexport { Blockies } from './temp-components/Blockies';\nexport type { BlockiesProps } from './temp-components/Blockies';\n\nexport {\n Box,\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n} from './Box';\nexport type { BoxProps, BoxSpacing } from './Box';\n\nexport { Card } from './Card';\nexport type { CardProps } from './Card';\n\nexport { ButtonAnimated } from './temp-components/ButtonAnimated';\nexport type { ButtonAnimatedProps } from './temp-components/ButtonAnimated';\n\nexport { ButtonBase, ButtonBaseSize } from './ButtonBase';\nexport type { ButtonBaseProps } from './ButtonBase';\n\nexport { Button, ButtonSize, ButtonVariant } from './Button';\nexport type { ButtonProps } from './Button';\n\nexport { ButtonIcon, ButtonIconSize } from './ButtonIcon';\nexport type { ButtonIconProps } from './ButtonIcon';\n\nexport { Checkbox } from './Checkbox';\nexport type { CheckboxProps } from './Checkbox';\n\nexport { HeaderBase } from './HeaderBase';\nexport type { HeaderBaseProps } from './HeaderBase';\n\nexport { Icon, IconColor, IconName, IconSize } from './Icon';\nexport type { IconProps } from './Icon';\n\nexport { Input } from './Input';\nexport type { InputProps } from './Input';\n\nexport { Label } from './Label';\nexport type { LabelProps } from './Label';\n\nexport { RadioButton } from './RadioButton';\nexport type { RadioButtonProps } from './RadioButton';\n\nexport { Jazzicon } from './temp-components/Jazzicon';\nexport type { JazziconProps } from './temp-components/Jazzicon';\n\nexport { Maskicon } from './temp-components/Maskicon';\nexport type { MaskiconProps } from './temp-components/Maskicon';\n\nexport { Skeleton } from './Skeleton';\nexport type { SkeletonProps } from './Skeleton';\n\nexport { TextButton, TextButtonSize } from './TextButton';\nexport type { TextButtonProps } from './TextButton';\n\nexport {\n Text,\n FontWeight,\n FontFamily,\n FontStyle,\n TextColor,\n TextVariant,\n} from './Text';\nexport type { TextProps } from './Text';\n\nexport { TextOrChildren } from './temp-components/TextOrChildren';\nexport type { TextOrChildrenProps } from './temp-components/TextOrChildren';\n\nexport { Toast, ToastVariant, ToastContext } from './Toast';\nexport type {\n ToastOptions,\n ToastRef,\n ToastContextParams,\n ToastLabelOptions,\n ToastDescriptionOptions,\n ToastLinkButtonOptions,\n ToastCloseButtonOptions,\n} from './Toast';\n"]}
|
|
@@ -22,8 +22,8 @@ export { BadgeStatus, BadgeStatusStatus, BadgeStatusSize } from "./BadgeStatus/i
|
|
|
22
22
|
export type { BadgeStatusProps } from "./BadgeStatus/index.cjs";
|
|
23
23
|
export { BadgeWrapper, BadgeWrapperPosition, BadgeWrapperPositionAnchorShape, } from "./BadgeWrapper/index.cjs";
|
|
24
24
|
export type { BadgeWrapperProps, BadgeWrapperCustomPosition, } from "./BadgeWrapper/index.cjs";
|
|
25
|
-
export { BottomSheetFooter, ButtonsAlignment
|
|
26
|
-
export type { BottomSheetFooterProps, BottomSheetFooterButtonProps, } from "./
|
|
25
|
+
export { BottomSheetFooter, ButtonsAlignment } from "./BottomSheetFooter/index.cjs";
|
|
26
|
+
export type { BottomSheetFooterProps, BottomSheetFooterButtonProps, } from "./BottomSheetFooter/index.cjs";
|
|
27
27
|
export { BottomSheetOverlay } from "./BottomSheetOverlay/index.cjs";
|
|
28
28
|
export type { BottomSheetOverlayProps } from "./BottomSheetOverlay/index.cjs";
|
|
29
29
|
export { Blockies } from "./temp-components/Blockies/index.cjs";
|
|
@@ -50,6 +50,8 @@ export { Input } from "./Input/index.cjs";
|
|
|
50
50
|
export type { InputProps } from "./Input/index.cjs";
|
|
51
51
|
export { Label } from "./Label/index.cjs";
|
|
52
52
|
export type { LabelProps } from "./Label/index.cjs";
|
|
53
|
+
export { RadioButton } from "./RadioButton/index.cjs";
|
|
54
|
+
export type { RadioButtonProps } from "./RadioButton/index.cjs";
|
|
53
55
|
export { Jazzicon } from "./temp-components/Jazzicon/index.cjs";
|
|
54
56
|
export type { JazziconProps } from "./temp-components/Jazzicon/index.cjs";
|
|
55
57
|
export { Maskicon } from "./temp-components/Maskicon/index.cjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,iBAAiB,GAClB,kCAAwB;AACzB,YAAY,EAAE,k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AAW,EAAE,gCAAsB;AAC5C,YAAY,EAAE,gBAAgB,EAAE,gCAAsB;AAEtD,OAAO,EAAE,QAAQ,EAAE,6CAAmC;AACtD,YAAY,EAAE,aAAa,EAAE,6CAAmC;AAEhE,OAAO,EAAE,QAAQ,EAAE,6CAAmC;AACtD,YAAY,EAAE,aAAa,EAAE,6CAAmC;AAEhE,OAAO,EAAE,QAAQ,EAAE,6BAAmB;AACtC,YAAY,EAAE,aAAa,EAAE,6BAAmB;AAEhD,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,+BAAqB;AAC1D,YAAY,EAAE,eAAe,EAAE,+BAAqB;AAEpD,OAAO,EACL,IAAI,EACJ,UAAU,EACV,UAAU,EACV,SAAS,EACT,SAAS,EACT,WAAW,GACZ,yBAAe;AAChB,YAAY,EAAE,SAAS,EAAE,yBAAe;AAExC,OAAO,EAAE,cAAc,EAAE,mDAAyC;AAClE,YAAY,EAAE,mBAAmB,EAAE,mDAAyC;AAE5E,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,0BAAgB;AAC5D,YAAY,EACV,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,iBAAiB,EACjB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,GACxB,0BAAgB"}
|
|
@@ -22,8 +22,8 @@ export { BadgeStatus, BadgeStatusStatus, BadgeStatusSize } from "./BadgeStatus/i
|
|
|
22
22
|
export type { BadgeStatusProps } from "./BadgeStatus/index.mjs";
|
|
23
23
|
export { BadgeWrapper, BadgeWrapperPosition, BadgeWrapperPositionAnchorShape, } from "./BadgeWrapper/index.mjs";
|
|
24
24
|
export type { BadgeWrapperProps, BadgeWrapperCustomPosition, } from "./BadgeWrapper/index.mjs";
|
|
25
|
-
export { BottomSheetFooter, ButtonsAlignment
|
|
26
|
-
export type { BottomSheetFooterProps, BottomSheetFooterButtonProps, } from "./
|
|
25
|
+
export { BottomSheetFooter, ButtonsAlignment } from "./BottomSheetFooter/index.mjs";
|
|
26
|
+
export type { BottomSheetFooterProps, BottomSheetFooterButtonProps, } from "./BottomSheetFooter/index.mjs";
|
|
27
27
|
export { BottomSheetOverlay } from "./BottomSheetOverlay/index.mjs";
|
|
28
28
|
export type { BottomSheetOverlayProps } from "./BottomSheetOverlay/index.mjs";
|
|
29
29
|
export { Blockies } from "./temp-components/Blockies/index.mjs";
|
|
@@ -50,6 +50,8 @@ export { Input } from "./Input/index.mjs";
|
|
|
50
50
|
export type { InputProps } from "./Input/index.mjs";
|
|
51
51
|
export { Label } from "./Label/index.mjs";
|
|
52
52
|
export type { LabelProps } from "./Label/index.mjs";
|
|
53
|
+
export { RadioButton } from "./RadioButton/index.mjs";
|
|
54
|
+
export type { RadioButtonProps } from "./RadioButton/index.mjs";
|
|
53
55
|
export { Jazzicon } from "./temp-components/Jazzicon/index.mjs";
|
|
54
56
|
export type { JazziconProps } from "./temp-components/Jazzicon/index.mjs";
|
|
55
57
|
export { Maskicon } from "./temp-components/Maskicon/index.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,iBAAiB,GAClB,kCAAwB;AACzB,YAAY,EAAE,kBAAkB,EAAE,kCAAwB;AAE1D,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,eAAe,EAAE,+BAAqB;AAC3E,YAAY,EAAE,eAAe,EAAE,+BAAqB;AAEpD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,kCAAwB;AACnE,YAAY,EAAE,kBAAkB,EAAE,kCAAwB;AAE1D,OAAO,EACL,WAAW,EACX,eAAe,EACf,kBAAkB,GACnB,gCAAsB;AACvB,YAAY,EAAE,gBAAgB,EAAE,gCAAsB;AAEtD,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,+BAAqB;AAC9E,YAAY,EAAE,eAAe,EAAE,+BAAqB;AAEp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AU,EACV,SAAS,EACT,SAAS,EACT,WAAW,GACZ,yBAAe;AAChB,YAAY,EAAE,SAAS,EAAE,yBAAe;AAExC,OAAO,EAAE,cAAc,EAAE,mDAAyC;AAClE,YAAY,EAAE,mBAAmB,EAAE,mDAAyC;AAE5E,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,0BAAgB;AAC5D,YAAY,EACV,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,iBAAiB,EACjB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,GACxB,0BAAgB"}
|
|
@@ -10,7 +10,7 @@ export { BadgeIcon } from "./BadgeIcon/index.mjs";
|
|
|
10
10
|
export { BadgeNetwork } from "./BadgeNetwork/index.mjs";
|
|
11
11
|
export { BadgeStatus, BadgeStatusStatus, BadgeStatusSize } from "./BadgeStatus/index.mjs";
|
|
12
12
|
export { BadgeWrapper, BadgeWrapperPosition, BadgeWrapperPositionAnchorShape } from "./BadgeWrapper/index.mjs";
|
|
13
|
-
export { BottomSheetFooter, ButtonsAlignment } from "./
|
|
13
|
+
export { BottomSheetFooter, ButtonsAlignment } from "./BottomSheetFooter/index.mjs";
|
|
14
14
|
export { BottomSheetOverlay } from "./BottomSheetOverlay/index.mjs";
|
|
15
15
|
export { Blockies } from "./temp-components/Blockies/index.mjs";
|
|
16
16
|
export { Box, BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBackgroundColor, BoxBorderColor } from "./Box/index.mjs";
|
|
@@ -24,6 +24,7 @@ export { HeaderBase } from "./HeaderBase/index.mjs";
|
|
|
24
24
|
export { Icon, IconColor, IconName, IconSize } from "./Icon/index.mjs";
|
|
25
25
|
export { Input } from "./Input/index.mjs";
|
|
26
26
|
export { Label } from "./Label/index.mjs";
|
|
27
|
+
export { RadioButton } from "./RadioButton/index.mjs";
|
|
27
28
|
export { Jazzicon } from "./temp-components/Jazzicon/index.mjs";
|
|
28
29
|
export { Maskicon } from "./temp-components/Maskicon/index.mjs";
|
|
29
30
|
export { Skeleton } from "./Skeleton/index.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,iBAAiB,EAClB,kCAAwB;AAGzB,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,eAAe,EAAE,+BAAqB;AAG3E,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,kCAAwB;AAGnE,OAAO,EACL,WAAW,EACX,eAAe,EACf,kBAAkB,EACnB,gCAAsB;AAGvB,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,+BAAqB;AAG9E,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,kCAAwB;AAGnE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,gCAAsB;AAG7D,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,+BAAqB;AAG1D,OAAO,EAAE,SAAS,EAAE,8BAAoB;AAGxC,OAAO,EAAE,YAAY,EAAE,iCAAuB;AAG9C,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,gCAAsB;AAGhF,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,+BAA+B,EAChC,iCAAuB;AAMxB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,iBAAiB,EAClB,kCAAwB;AAGzB,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,eAAe,EAAE,+BAAqB;AAG3E,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,kCAAwB;AAGnE,OAAO,EACL,WAAW,EACX,eAAe,EACf,kBAAkB,EACnB,gCAAsB;AAGvB,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,+BAAqB;AA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AO,EAAE,QAAQ,EAAE,6BAAmB;AAGtC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,+BAAqB;AAG1D,OAAO,EACL,IAAI,EACJ,UAAU,EACV,UAAU,EACV,SAAS,EACT,SAAS,EACT,WAAW,EACZ,yBAAe;AAGhB,OAAO,EAAE,cAAc,EAAE,mDAAyC;AAGlE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,0BAAgB","sourcesContent":["export {\n AvatarAccount,\n AvatarAccountVariant,\n AvatarAccountSize,\n} from './AvatarAccount';\nexport type { AvatarAccountProps } from './AvatarAccount';\n\nexport { AvatarBase, AvatarBaseSize, AvatarBaseShape } from './AvatarBase';\nexport type { AvatarBaseProps } from './AvatarBase';\n\nexport { AvatarFavicon, AvatarFaviconSize } from './AvatarFavicon';\nexport type { AvatarFaviconProps } from './AvatarFavicon';\n\nexport {\n AvatarGroup,\n AvatarGroupSize,\n AvatarGroupVariant,\n} from './AvatarGroup';\nexport type { AvatarGroupProps } from './AvatarGroup';\n\nexport { AvatarIcon, AvatarIconSeverity, AvatarIconSize } from './AvatarIcon';\nexport type { AvatarIconProps } from './AvatarIcon';\n\nexport { AvatarNetwork, AvatarNetworkSize } from './AvatarNetwork';\nexport type { AvatarNetworkProps } from './AvatarNetwork';\n\nexport { AvatarToken, AvatarTokenSize } from './AvatarToken';\nexport type { AvatarTokenProps } from './AvatarToken';\n\nexport { BadgeCount, BadgeCountSize } from './BadgeCount';\nexport type { BadgeCountProps } from './BadgeCount';\n\nexport { BadgeIcon } from './BadgeIcon';\nexport type { BadgeIconProps } from './BadgeIcon';\n\nexport { BadgeNetwork } from './BadgeNetwork';\nexport type { BadgeNetworkProps } from './BadgeNetwork';\n\nexport { BadgeStatus, BadgeStatusStatus, BadgeStatusSize } from './BadgeStatus';\nexport type { BadgeStatusProps } from './BadgeStatus';\n\nexport {\n BadgeWrapper,\n BadgeWrapperPosition,\n BadgeWrapperPositionAnchorShape,\n} from './BadgeWrapper';\nexport type {\n BadgeWrapperProps,\n BadgeWrapperCustomPosition,\n} from './BadgeWrapper';\n\nexport { BottomSheetFooter, ButtonsAlignment } from './BottomSheetFooter';\nexport type {\n BottomSheetFooterProps,\n BottomSheetFooterButtonProps,\n} from './BottomSheetFooter';\n\nexport { BottomSheetOverlay } from './BottomSheetOverlay';\nexport type { BottomSheetOverlayProps } from './BottomSheetOverlay';\n\nexport { Blockies } from './temp-components/Blockies';\nexport type { BlockiesProps } from './temp-components/Blockies';\n\nexport {\n Box,\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n} from './Box';\nexport type { BoxProps, BoxSpacing } from './Box';\n\nexport { Card } from './Card';\nexport type { CardProps } from './Card';\n\nexport { ButtonAnimated } from './temp-components/ButtonAnimated';\nexport type { ButtonAnimatedProps } from './temp-components/ButtonAnimated';\n\nexport { ButtonBase, ButtonBaseSize } from './ButtonBase';\nexport type { ButtonBaseProps } from './ButtonBase';\n\nexport { Button, ButtonSize, ButtonVariant } from './Button';\nexport type { ButtonProps } from './Button';\n\nexport { ButtonIcon, ButtonIconSize } from './ButtonIcon';\nexport type { ButtonIconProps } from './ButtonIcon';\n\nexport { Checkbox } from './Checkbox';\nexport type { CheckboxProps } from './Checkbox';\n\nexport { HeaderBase } from './HeaderBase';\nexport type { HeaderBaseProps } from './HeaderBase';\n\nexport { Icon, IconColor, IconName, IconSize } from './Icon';\nexport type { IconProps } from './Icon';\n\nexport { Input } from './Input';\nexport type { InputProps } from './Input';\n\nexport { Label } from './Label';\nexport type { LabelProps } from './Label';\n\nexport { RadioButton } from './RadioButton';\nexport type { RadioButtonProps } from './RadioButton';\n\nexport { Jazzicon } from './temp-components/Jazzicon';\nexport type { JazziconProps } from './temp-components/Jazzicon';\n\nexport { Maskicon } from './temp-components/Maskicon';\nexport type { MaskiconProps } from './temp-components/Maskicon';\n\nexport { Skeleton } from './Skeleton';\nexport type { SkeletonProps } from './Skeleton';\n\nexport { TextButton, TextButtonSize } from './TextButton';\nexport type { TextButtonProps } from './TextButton';\n\nexport {\n Text,\n FontWeight,\n FontFamily,\n FontStyle,\n TextColor,\n TextVariant,\n} from './Text';\nexport type { TextProps } from './Text';\n\nexport { TextOrChildren } from './temp-components/TextOrChildren';\nexport type { TextOrChildrenProps } from './temp-components/TextOrChildren';\n\nexport { Toast, ToastVariant, ToastContext } from './Toast';\nexport type {\n ToastOptions,\n ToastRef,\n ToastContextParams,\n ToastLabelOptions,\n ToastDescriptionOptions,\n ToastLinkButtonOptions,\n ToastCloseButtonOptions,\n} from './Toast';\n"]}
|
package/dist/types/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IconName = exports.IconSize = exports.IconColor = exports.TextButtonSize = exports.FontFamily = exports.FontStyle = exports.FontWeight = exports.TextColor = exports.TextVariant = exports.ButtonIconSize = exports.ButtonVariant = exports.ButtonTertiarySize = exports.ButtonSecondarySize = exports.ButtonPrimarySize = exports.ButtonSize = exports.ButtonBaseSize = exports.BoxBorderColor = exports.BoxBackgroundColor = exports.BoxJustifyContent = exports.BoxAlignItems = exports.BoxFlexWrap = exports.BoxFlexDirection = exports.BadgeWrapperPosition = exports.BadgeWrapperPositionAnchorShape = exports.
|
|
3
|
+
exports.IconName = exports.IconSize = exports.IconColor = exports.TextButtonSize = exports.FontFamily = exports.FontStyle = exports.FontWeight = exports.TextColor = exports.TextVariant = exports.ButtonIconSize = exports.ButtonVariant = exports.ButtonTertiarySize = exports.ButtonSecondarySize = exports.ButtonPrimarySize = exports.ButtonSize = exports.ButtonBaseSize = exports.BoxBorderColor = exports.BoxBackgroundColor = exports.BoxJustifyContent = exports.BoxAlignItems = exports.BoxFlexWrap = exports.BoxFlexDirection = exports.BadgeWrapperPosition = exports.BadgeWrapperPositionAnchorShape = exports.BadgeCountSize = exports.AvatarIconSeverity = exports.AvatarGroupVariant = exports.AvatarAccountVariant = exports.AvatarBaseShape = exports.AvatarShape = exports.AvatarSize = exports.AvatarTokenSize = exports.AvatarNetworkSize = exports.AvatarIconSize = exports.AvatarGroupSize = exports.AvatarFaviconSize = exports.AvatarAccountSize = exports.AvatarBaseSize = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* AvatarBase - size
|
|
6
6
|
*/
|
|
@@ -86,31 +86,6 @@ var BadgeCountSize;
|
|
|
86
86
|
*/
|
|
87
87
|
BadgeCountSize["Lg"] = "lg";
|
|
88
88
|
})(BadgeCountSize || (exports.BadgeCountSize = BadgeCountSize = {}));
|
|
89
|
-
/**
|
|
90
|
-
* BadgeStatus - status
|
|
91
|
-
*/
|
|
92
|
-
var BadgeStatusStatus;
|
|
93
|
-
(function (BadgeStatusStatus) {
|
|
94
|
-
BadgeStatusStatus["Active"] = "active";
|
|
95
|
-
BadgeStatusStatus["Inactive"] = "inactive";
|
|
96
|
-
BadgeStatusStatus["Disconnected"] = "disconnected";
|
|
97
|
-
BadgeStatusStatus["New"] = "new";
|
|
98
|
-
BadgeStatusStatus["Attention"] = "attention";
|
|
99
|
-
})(BadgeStatusStatus || (exports.BadgeStatusStatus = BadgeStatusStatus = {}));
|
|
100
|
-
/**
|
|
101
|
-
* BadgeStatus - size
|
|
102
|
-
*/
|
|
103
|
-
var BadgeStatusSize;
|
|
104
|
-
(function (BadgeStatusSize) {
|
|
105
|
-
/**
|
|
106
|
-
* Represents a medium badge status size (8px).
|
|
107
|
-
*/
|
|
108
|
-
BadgeStatusSize["Md"] = "md";
|
|
109
|
-
/**
|
|
110
|
-
* Represents a large avatar size (10px).
|
|
111
|
-
*/
|
|
112
|
-
BadgeStatusSize["Lg"] = "lg";
|
|
113
|
-
})(BadgeStatusSize || (exports.BadgeStatusSize = BadgeStatusSize = {}));
|
|
114
89
|
/**
|
|
115
90
|
* BadgeWrapper - positionAnchorShape
|
|
116
91
|
*/
|