@metamask/design-system-react-native 0.8.0 → 0.9.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 +12 -1
- package/dist/components/TextField/TextField.cjs +42 -0
- package/dist/components/TextField/TextField.cjs.map +1 -0
- package/dist/components/TextField/TextField.constants.cjs +13 -0
- package/dist/components/TextField/TextField.constants.cjs.map +1 -0
- package/dist/components/TextField/TextField.constants.d.cts +6 -0
- package/dist/components/TextField/TextField.constants.d.cts.map +1 -0
- package/dist/components/TextField/TextField.constants.d.mts +6 -0
- package/dist/components/TextField/TextField.constants.d.mts.map +1 -0
- package/dist/components/TextField/TextField.constants.mjs +10 -0
- package/dist/components/TextField/TextField.constants.mjs.map +1 -0
- package/dist/components/TextField/TextField.d.cts +12 -0
- package/dist/components/TextField/TextField.d.cts.map +1 -0
- package/dist/components/TextField/TextField.d.mts +12 -0
- package/dist/components/TextField/TextField.d.mts.map +1 -0
- package/dist/components/TextField/TextField.mjs +39 -0
- package/dist/components/TextField/TextField.mjs.map +1 -0
- package/dist/components/TextField/TextField.types.cjs +13 -0
- package/dist/components/TextField/TextField.types.cjs.map +1 -0
- package/dist/components/TextField/TextField.types.d.cts +49 -0
- package/dist/components/TextField/TextField.types.d.cts.map +1 -0
- package/dist/components/TextField/TextField.types.d.mts +49 -0
- package/dist/components/TextField/TextField.types.d.mts.map +1 -0
- package/dist/components/TextField/TextField.types.mjs +10 -0
- package/dist/components/TextField/TextField.types.mjs.map +1 -0
- package/dist/components/TextField/index.cjs +8 -0
- package/dist/components/TextField/index.cjs.map +1 -0
- package/dist/components/TextField/index.d.cts +4 -0
- package/dist/components/TextField/index.d.cts.map +1 -0
- package/dist/components/TextField/index.d.mts +4 -0
- package/dist/components/TextField/index.d.mts.map +1 -0
- package/dist/components/TextField/index.mjs +3 -0
- package/dist/components/TextField/index.mjs.map +1 -0
- package/dist/components/index.cjs +4 -1
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +2 -0
- package/dist/components/index.d.cts.map +1 -1
- package/dist/components/index.d.mts +2 -0
- package/dist/components/index.d.mts.map +1 -1
- package/dist/components/index.mjs +1 -0
- package/dist/components/index.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.9.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Added `TextField` component for text input fields ([#910](https://github.com/MetaMask/metamask-design-system/pull/910))
|
|
15
|
+
- Boxed, press-to-focus wrapper around `Input` component
|
|
16
|
+
- Supports configurable sizes, optional start/end accessories
|
|
17
|
+
- Includes error and disabled states with custom styling
|
|
18
|
+
- Full accessibility support and comprehensive test coverage
|
|
19
|
+
|
|
10
20
|
## [0.8.0]
|
|
11
21
|
|
|
12
22
|
### Added
|
|
@@ -177,7 +187,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
177
187
|
- Full TypeScript support with type definitions and enums
|
|
178
188
|
- React Native integration with TWRNC preset support
|
|
179
189
|
|
|
180
|
-
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.
|
|
190
|
+
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.9.0...HEAD
|
|
191
|
+
[0.9.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.8.0...@metamask/design-system-react-native@0.9.0
|
|
181
192
|
[0.8.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.7.0...@metamask/design-system-react-native@0.8.0
|
|
182
193
|
[0.7.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.6.0...@metamask/design-system-react-native@0.7.0
|
|
183
194
|
[0.6.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.5.1...@metamask/design-system-react-native@0.6.0
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TextField = void 0;
|
|
4
|
+
const design_system_twrnc_preset_1 = require("@metamask/design-system-twrnc-preset");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const react_native_1 = require("react-native/index.js");
|
|
7
|
+
const types_1 = require("../../types/index.cjs");
|
|
8
|
+
const Input_1 = require("../Input/index.cjs");
|
|
9
|
+
const TextField_constants_1 = require("./TextField.constants.cjs");
|
|
10
|
+
const TextField_types_1 = require("./TextField.types.cjs");
|
|
11
|
+
exports.TextField = (0, react_1.forwardRef)(({ style, size = TextField_types_1.TextFieldSize.Md, startAccessory, endAccessory, isError = false, inputElement, isDisabled = false, autoFocus = false, twClassName, onBlur, onFocus, testID, ...props }, ref) => {
|
|
12
|
+
const [isFocused, setIsFocused] = (0, react_1.useState)(autoFocus);
|
|
13
|
+
const inputRef = (0, react_1.useRef)(null);
|
|
14
|
+
const tw = (0, design_system_twrnc_preset_1.useTailwind)();
|
|
15
|
+
(0, react_1.useImperativeHandle)(ref, () => inputRef.current, []);
|
|
16
|
+
const containerStyle = (0, react_1.useMemo)(() => tw.style('flex-row', 'items-center', 'rounded-lg', TextField_constants_1.TWCLASSMAP_TEXTFIELD_SIZE[size], 'border', 'px-4', 'bg-default', 'border-default', isError && 'border-error-default', !isDisabled && isFocused && 'border-primary-default', isDisabled && 'opacity-50', twClassName), [size, isError, isFocused, isDisabled, twClassName, tw]);
|
|
17
|
+
const onBlurHandler = (0, react_1.useCallback)((e) => {
|
|
18
|
+
if (!isDisabled) {
|
|
19
|
+
setIsFocused(false);
|
|
20
|
+
onBlur?.(e);
|
|
21
|
+
}
|
|
22
|
+
}, [isDisabled, onBlur]);
|
|
23
|
+
const onFocusHandler = (0, react_1.useCallback)((e) => {
|
|
24
|
+
if (!isDisabled) {
|
|
25
|
+
setIsFocused(true);
|
|
26
|
+
onFocus?.(e);
|
|
27
|
+
}
|
|
28
|
+
}, [isDisabled, onFocus]);
|
|
29
|
+
const onPressHandler = (0, react_1.useCallback)(() => {
|
|
30
|
+
if (!isDisabled && inputRef.current) {
|
|
31
|
+
inputRef.current.focus();
|
|
32
|
+
}
|
|
33
|
+
}, [isDisabled]);
|
|
34
|
+
return (<react_native_1.Pressable testID={testID} style={[containerStyle, style]} onPress={onPressHandler} accessible={false}>
|
|
35
|
+
{startAccessory && (<react_native_1.View style={tw.style('mr-2')}>{startAccessory}</react_native_1.View>)}
|
|
36
|
+
<react_native_1.View style={tw.style('flex-1')}>
|
|
37
|
+
{inputElement ?? (<Input_1.Input {...props} ref={inputRef} textVariant={types_1.TextVariant.BodyMd} isDisabled={isDisabled} autoFocus={autoFocus} onBlur={onBlurHandler} onFocus={onFocusHandler} isStateStylesDisabled twClassName="bg-transparent border-0"/>)}
|
|
38
|
+
</react_native_1.View>
|
|
39
|
+
{endAccessory && <react_native_1.View style={tw.style('ml-2')}>{endAccessory}</react_native_1.View>}
|
|
40
|
+
</react_native_1.Pressable>);
|
|
41
|
+
});
|
|
42
|
+
//# sourceMappingURL=TextField.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.cjs","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":";;;AAAA,qFAAmE;AACnE,iCAOe;AACf,wDAA0D;AAE1D,iDAA0C;AAC1C,8CAAiC;AAEjC,mEAAkE;AAClE,2DAAkD;AAGrC,QAAA,SAAS,GAAG,IAAA,kBAAU,EACjC,CACE,EACE,KAAK,EACL,IAAI,GAAG,+BAAa,CAAC,EAAE,EACvB,cAAc,EACd,YAAY,EACZ,OAAO,GAAG,KAAK,EACf,YAAY,EACZ,UAAU,GAAG,KAAK,EAClB,SAAS,GAAG,KAAK,EACjB,WAAW,EACX,MAAM,EACN,O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,CACb,CAAC;AACJ,CAAC,CACF,CAAC","sourcesContent":["import { useTailwind } from '@metamask/design-system-twrnc-preset';\nimport {\n forwardRef,\n useCallback,\n useImperativeHandle,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport { Pressable, TextInput, View } from 'react-native';\n\nimport { TextVariant } from '../../types';\nimport { Input } from '../Input';\n\nimport { TWCLASSMAP_TEXTFIELD_SIZE } from './TextField.constants';\nimport { TextFieldSize } from './TextField.types';\nimport type { TextFieldProps } from './TextField.types';\n\nexport const TextField = forwardRef<TextInput, TextFieldProps>(\n (\n {\n style,\n size = TextFieldSize.Md,\n startAccessory,\n endAccessory,\n isError = false,\n inputElement,\n isDisabled = false,\n autoFocus = false,\n twClassName,\n onBlur,\n onFocus,\n testID,\n ...props\n },\n ref,\n ) => {\n const [isFocused, setIsFocused] = useState(autoFocus);\n const inputRef = useRef<TextInput>(null);\n const tw = useTailwind();\n\n useImperativeHandle<TextInput | null, TextInput | null>(\n ref,\n () => inputRef.current,\n [],\n );\n\n const containerStyle = useMemo(\n () =>\n tw.style(\n 'flex-row',\n 'items-center',\n 'rounded-lg',\n TWCLASSMAP_TEXTFIELD_SIZE[size],\n 'border',\n 'px-4',\n 'bg-default',\n 'border-default',\n isError && 'border-error-default',\n !isDisabled && isFocused && 'border-primary-default',\n isDisabled && 'opacity-50',\n twClassName,\n ),\n [size, isError, isFocused, isDisabled, twClassName, tw],\n );\n\n const onBlurHandler = useCallback(\n (e: Parameters<NonNullable<TextFieldProps['onBlur']>>[0]) => {\n if (!isDisabled) {\n setIsFocused(false);\n onBlur?.(e);\n }\n },\n [isDisabled, onBlur],\n );\n\n const onFocusHandler = useCallback(\n (e: Parameters<NonNullable<TextFieldProps['onFocus']>>[0]) => {\n if (!isDisabled) {\n setIsFocused(true);\n onFocus?.(e);\n }\n },\n [isDisabled, onFocus],\n );\n\n const onPressHandler = useCallback(() => {\n if (!isDisabled && inputRef.current) {\n inputRef.current.focus();\n }\n }, [isDisabled]);\n\n return (\n <Pressable\n testID={testID}\n style={[containerStyle, style]}\n onPress={onPressHandler}\n accessible={false}\n >\n {startAccessory && (\n <View style={tw.style('mr-2')}>{startAccessory}</View>\n )}\n <View style={tw.style('flex-1')}>\n {inputElement ?? (\n <Input\n {...props}\n ref={inputRef}\n textVariant={TextVariant.BodyMd}\n isDisabled={isDisabled}\n autoFocus={autoFocus}\n onBlur={onBlurHandler}\n onFocus={onFocusHandler}\n isStateStylesDisabled\n twClassName=\"bg-transparent border-0\"\n />\n )}\n </View>\n {endAccessory && <View style={tw.style('ml-2')}>{endAccessory}</View>}\n </Pressable>\n );\n },\n);\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TWCLASSMAP_TEXTFIELD_SIZE = void 0;
|
|
4
|
+
const TextField_types_1 = require("./TextField.types.cjs");
|
|
5
|
+
/**
|
|
6
|
+
* Tailwind class map for TextField sizes.
|
|
7
|
+
*/
|
|
8
|
+
exports.TWCLASSMAP_TEXTFIELD_SIZE = {
|
|
9
|
+
[TextField_types_1.TextFieldSize.Sm]: 'h-8',
|
|
10
|
+
[TextField_types_1.TextFieldSize.Md]: 'h-10',
|
|
11
|
+
[TextField_types_1.TextFieldSize.Lg]: 'h-12',
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=TextField.constants.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.constants.cjs","sourceRoot":"","sources":["../../../src/components/TextField/TextField.constants.ts"],"names":[],"mappings":";;;AAAA,2DAAkD;AAElD;;GAEG;AACU,QAAA,yBAAyB,GAAkC;IACtE,CAAC,+BAAa,CAAC,EAAE,CAAC,EAAE,KAAK;IACzB,CAAC,+BAAa,CAAC,EAAE,CAAC,EAAE,MAAM;IAC1B,CAAC,+BAAa,CAAC,EAAE,CAAC,EAAE,MAAM;CAC3B,CAAC","sourcesContent":["import { TextFieldSize } from './TextField.types';\n\n/**\n * Tailwind class map for TextField sizes.\n */\nexport const TWCLASSMAP_TEXTFIELD_SIZE: Record<TextFieldSize, string> = {\n [TextFieldSize.Sm]: 'h-8',\n [TextFieldSize.Md]: 'h-10',\n [TextFieldSize.Lg]: 'h-12',\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.constants.d.cts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,8BAA0B;AAElD;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CAInE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.constants.d.mts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,8BAA0B;AAElD;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CAInE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TextFieldSize } from "./TextField.types.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Tailwind class map for TextField sizes.
|
|
4
|
+
*/
|
|
5
|
+
export const TWCLASSMAP_TEXTFIELD_SIZE = {
|
|
6
|
+
[TextFieldSize.Sm]: 'h-8',
|
|
7
|
+
[TextFieldSize.Md]: 'h-10',
|
|
8
|
+
[TextFieldSize.Lg]: 'h-12',
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=TextField.constants.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.constants.mjs","sourceRoot":"","sources":["../../../src/components/TextField/TextField.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,8BAA0B;AAElD;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAkC;IACtE,CAAC,aAAa,CAAC,EAAE,CAAC,EAAE,KAAK;IACzB,CAAC,aAAa,CAAC,EAAE,CAAC,EAAE,MAAM;IAC1B,CAAC,aAAa,CAAC,EAAE,CAAC,EAAE,MAAM;CAC3B,CAAC","sourcesContent":["import { TextFieldSize } from './TextField.types';\n\n/**\n * Tailwind class map for TextField sizes.\n */\nexport const TWCLASSMAP_TEXTFIELD_SIZE: Record<TextFieldSize, string> = {\n [TextFieldSize.Sm]: 'h-8',\n [TextFieldSize.Md]: 'h-10',\n [TextFieldSize.Lg]: 'h-12',\n};\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TextInput } from "react-native/index.js";
|
|
2
|
+
import { TextFieldSize } from "./TextField.types.cjs";
|
|
3
|
+
export declare const TextField: import("react").ForwardRefExoticComponent<Omit<import("../Input/index.cjs").InputProps, "style" | "textVariant" | "isStateStylesDisabled"> & {
|
|
4
|
+
size?: TextFieldSize | undefined;
|
|
5
|
+
startAccessory?: import("react").ReactNode;
|
|
6
|
+
endAccessory?: import("react").ReactNode;
|
|
7
|
+
isError?: boolean | undefined;
|
|
8
|
+
inputElement?: import("react").ReactNode;
|
|
9
|
+
twClassName?: string | undefined;
|
|
10
|
+
style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
11
|
+
} & import("react").RefAttributes<TextInput>>;
|
|
12
|
+
//# sourceMappingURL=TextField.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.d.cts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AASA,OAAO,EAAa,SAAS,EAAQ,8BAAqB;AAM1D,OAAO,EAAE,aAAa,EAAE,8BAA0B;AAGlD,eAAO,MAAM,SAAS;;;;;;;;6CAuGrB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TextInput } from "react-native/index.js";
|
|
2
|
+
import { TextFieldSize } from "./TextField.types.mjs";
|
|
3
|
+
export declare const TextField: import("react").ForwardRefExoticComponent<Omit<import("../Input/index.mjs").InputProps, "style" | "textVariant" | "isStateStylesDisabled"> & {
|
|
4
|
+
size?: TextFieldSize | undefined;
|
|
5
|
+
startAccessory?: import("react").ReactNode;
|
|
6
|
+
endAccessory?: import("react").ReactNode;
|
|
7
|
+
isError?: boolean | undefined;
|
|
8
|
+
inputElement?: import("react").ReactNode;
|
|
9
|
+
twClassName?: string | undefined;
|
|
10
|
+
style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
11
|
+
} & import("react").RefAttributes<TextInput>>;
|
|
12
|
+
//# sourceMappingURL=TextField.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.d.mts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AASA,OAAO,EAAa,SAAS,EAAQ,8BAAqB;AAM1D,OAAO,EAAE,aAAa,EAAE,8BAA0B;AAGlD,eAAO,MAAM,SAAS;;;;;;;;6CAuGrB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { useTailwind } from "@metamask/design-system-twrnc-preset";
|
|
2
|
+
import { forwardRef, useCallback, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
3
|
+
import { Pressable, TextInput, View } from "react-native/index.js";
|
|
4
|
+
import { TextVariant } from "../../types/index.mjs";
|
|
5
|
+
import { Input } from "../Input/index.mjs";
|
|
6
|
+
import { TWCLASSMAP_TEXTFIELD_SIZE } from "./TextField.constants.mjs";
|
|
7
|
+
import { TextFieldSize } from "./TextField.types.mjs";
|
|
8
|
+
export const TextField = forwardRef(({ style, size = TextFieldSize.Md, startAccessory, endAccessory, isError = false, inputElement, isDisabled = false, autoFocus = false, twClassName, onBlur, onFocus, testID, ...props }, ref) => {
|
|
9
|
+
const [isFocused, setIsFocused] = useState(autoFocus);
|
|
10
|
+
const inputRef = useRef(null);
|
|
11
|
+
const tw = useTailwind();
|
|
12
|
+
useImperativeHandle(ref, () => inputRef.current, []);
|
|
13
|
+
const containerStyle = useMemo(() => tw.style('flex-row', 'items-center', 'rounded-lg', TWCLASSMAP_TEXTFIELD_SIZE[size], 'border', 'px-4', 'bg-default', 'border-default', isError && 'border-error-default', !isDisabled && isFocused && 'border-primary-default', isDisabled && 'opacity-50', twClassName), [size, isError, isFocused, isDisabled, twClassName, tw]);
|
|
14
|
+
const onBlurHandler = useCallback((e) => {
|
|
15
|
+
if (!isDisabled) {
|
|
16
|
+
setIsFocused(false);
|
|
17
|
+
onBlur?.(e);
|
|
18
|
+
}
|
|
19
|
+
}, [isDisabled, onBlur]);
|
|
20
|
+
const onFocusHandler = useCallback((e) => {
|
|
21
|
+
if (!isDisabled) {
|
|
22
|
+
setIsFocused(true);
|
|
23
|
+
onFocus?.(e);
|
|
24
|
+
}
|
|
25
|
+
}, [isDisabled, onFocus]);
|
|
26
|
+
const onPressHandler = useCallback(() => {
|
|
27
|
+
if (!isDisabled && inputRef.current) {
|
|
28
|
+
inputRef.current.focus();
|
|
29
|
+
}
|
|
30
|
+
}, [isDisabled]);
|
|
31
|
+
return (<Pressable testID={testID} style={[containerStyle, style]} onPress={onPressHandler} accessible={false}>
|
|
32
|
+
{startAccessory && (<View style={tw.style('mr-2')}>{startAccessory}</View>)}
|
|
33
|
+
<View style={tw.style('flex-1')}>
|
|
34
|
+
{inputElement ?? (<Input {...props} ref={inputRef} textVariant={TextVariant.BodyMd} isDisabled={isDisabled} autoFocus={autoFocus} onBlur={onBlurHandler} onFocus={onFocusHandler} isStateStylesDisabled twClassName="bg-transparent border-0"/>)}
|
|
35
|
+
</View>
|
|
36
|
+
{endAccessory && <View style={tw.style('ml-2')}>{endAccessory}</View>}
|
|
37
|
+
</Pressable>);
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=TextField.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.mjs","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAA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f,CAAC,KAAK,CACJ,IAAI,KAAK,CAAC,CACV,GAAG,CAAC,CAAC,QAAQ,CAAC,CACd,WAAW,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAChC,UAAU,CAAC,CAAC,UAAU,CAAC,CACvB,SAAS,CAAC,CAAC,SAAS,CAAC,CACrB,MAAM,CAAC,CAAC,aAAa,CAAC,CACtB,OAAO,CAAC,CAAC,cAAc,CAAC,CACxB,qBAAqB,CACrB,WAAW,CAAC,yBAAyB,EACrC,CACH,CACH;QAAA,EAAE,IAAI,CACN;QAAA,CAAC,YAAY,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,EAAE,IAAI,CAAC,CACvE;MAAA,EAAE,SAAS,CAAC,CACb,CAAC;AACJ,CAAC,CACF,CAAC","sourcesContent":["import { useTailwind } from '@metamask/design-system-twrnc-preset';\nimport {\n forwardRef,\n useCallback,\n useImperativeHandle,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport { Pressable, TextInput, View } from 'react-native';\n\nimport { TextVariant } from '../../types';\nimport { Input } from '../Input';\n\nimport { TWCLASSMAP_TEXTFIELD_SIZE } from './TextField.constants';\nimport { TextFieldSize } from './TextField.types';\nimport type { TextFieldProps } from './TextField.types';\n\nexport const TextField = forwardRef<TextInput, TextFieldProps>(\n (\n {\n style,\n size = TextFieldSize.Md,\n startAccessory,\n endAccessory,\n isError = false,\n inputElement,\n isDisabled = false,\n autoFocus = false,\n twClassName,\n onBlur,\n onFocus,\n testID,\n ...props\n },\n ref,\n ) => {\n const [isFocused, setIsFocused] = useState(autoFocus);\n const inputRef = useRef<TextInput>(null);\n const tw = useTailwind();\n\n useImperativeHandle<TextInput | null, TextInput | null>(\n ref,\n () => inputRef.current,\n [],\n );\n\n const containerStyle = useMemo(\n () =>\n tw.style(\n 'flex-row',\n 'items-center',\n 'rounded-lg',\n TWCLASSMAP_TEXTFIELD_SIZE[size],\n 'border',\n 'px-4',\n 'bg-default',\n 'border-default',\n isError && 'border-error-default',\n !isDisabled && isFocused && 'border-primary-default',\n isDisabled && 'opacity-50',\n twClassName,\n ),\n [size, isError, isFocused, isDisabled, twClassName, tw],\n );\n\n const onBlurHandler = useCallback(\n (e: Parameters<NonNullable<TextFieldProps['onBlur']>>[0]) => {\n if (!isDisabled) {\n setIsFocused(false);\n onBlur?.(e);\n }\n },\n [isDisabled, onBlur],\n );\n\n const onFocusHandler = useCallback(\n (e: Parameters<NonNullable<TextFieldProps['onFocus']>>[0]) => {\n if (!isDisabled) {\n setIsFocused(true);\n onFocus?.(e);\n }\n },\n [isDisabled, onFocus],\n );\n\n const onPressHandler = useCallback(() => {\n if (!isDisabled && inputRef.current) {\n inputRef.current.focus();\n }\n }, [isDisabled]);\n\n return (\n <Pressable\n testID={testID}\n style={[containerStyle, style]}\n onPress={onPressHandler}\n accessible={false}\n >\n {startAccessory && (\n <View style={tw.style('mr-2')}>{startAccessory}</View>\n )}\n <View style={tw.style('flex-1')}>\n {inputElement ?? (\n <Input\n {...props}\n ref={inputRef}\n textVariant={TextVariant.BodyMd}\n isDisabled={isDisabled}\n autoFocus={autoFocus}\n onBlur={onBlurHandler}\n onFocus={onFocusHandler}\n isStateStylesDisabled\n twClassName=\"bg-transparent border-0\"\n />\n )}\n </View>\n {endAccessory && <View style={tw.style('ml-2')}>{endAccessory}</View>}\n </Pressable>\n );\n },\n);\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TextFieldSize = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* TextFieldSize enum.
|
|
6
|
+
*/
|
|
7
|
+
var TextFieldSize;
|
|
8
|
+
(function (TextFieldSize) {
|
|
9
|
+
TextFieldSize["Sm"] = "sm";
|
|
10
|
+
TextFieldSize["Md"] = "md";
|
|
11
|
+
TextFieldSize["Lg"] = "lg";
|
|
12
|
+
})(TextFieldSize || (exports.TextFieldSize = TextFieldSize = {}));
|
|
13
|
+
//# sourceMappingURL=TextField.types.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.types.cjs","sourceRoot":"","sources":["../../../src/components/TextField/TextField.types.ts"],"names":[],"mappings":";;;AAKA;;GAEG;AACH,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,0BAAS,CAAA;IACT,0BAAS,CAAA;IACT,0BAAS,CAAA;AACX,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB","sourcesContent":["import type { ReactNode } from 'react';\nimport type { StyleProp, ViewStyle } from 'react-native';\n\nimport type { InputProps } from '../Input/Input.types';\n\n/**\n * TextFieldSize enum.\n */\nexport enum TextFieldSize {\n Sm = 'sm',\n Md = 'md',\n Lg = 'lg',\n}\n\n/**\n * TextField component props.\n */\nexport type TextFieldProps = Omit<\n InputProps,\n 'textVariant' | 'isStateStylesDisabled' | 'style'\n> & {\n /**\n * Optional prop for size of the TextField.\n *\n * @default TextFieldSize.Md\n */\n size?: TextFieldSize;\n /**\n * Optional content to display before the Input.\n */\n startAccessory?: ReactNode;\n /**\n * Optional content to display after the Input.\n */\n endAccessory?: ReactNode;\n /**\n * Optional boolean to show the error state.\n *\n * @default false\n */\n isError?: boolean;\n /**\n * Optional prop to replace the default Input with a custom element.\n */\n inputElement?: ReactNode;\n /**\n * Optional prop to add twrnc overriding classNames.\n */\n twClassName?: string;\n /**\n * Optional prop to customize the container style.\n */\n style?: StyleProp<ViewStyle>;\n};\n"]}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { StyleProp, ViewStyle } from "react-native/index.js";
|
|
3
|
+
import type { InputProps } from "../Input/Input.types.cjs";
|
|
4
|
+
/**
|
|
5
|
+
* TextFieldSize enum.
|
|
6
|
+
*/
|
|
7
|
+
export declare enum TextFieldSize {
|
|
8
|
+
Sm = "sm",
|
|
9
|
+
Md = "md",
|
|
10
|
+
Lg = "lg"
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* TextField component props.
|
|
14
|
+
*/
|
|
15
|
+
export type TextFieldProps = Omit<InputProps, 'textVariant' | 'isStateStylesDisabled' | 'style'> & {
|
|
16
|
+
/**
|
|
17
|
+
* Optional prop for size of the TextField.
|
|
18
|
+
*
|
|
19
|
+
* @default TextFieldSize.Md
|
|
20
|
+
*/
|
|
21
|
+
size?: TextFieldSize;
|
|
22
|
+
/**
|
|
23
|
+
* Optional content to display before the Input.
|
|
24
|
+
*/
|
|
25
|
+
startAccessory?: ReactNode;
|
|
26
|
+
/**
|
|
27
|
+
* Optional content to display after the Input.
|
|
28
|
+
*/
|
|
29
|
+
endAccessory?: ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* Optional boolean to show the error state.
|
|
32
|
+
*
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
35
|
+
isError?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Optional prop to replace the default Input with a custom element.
|
|
38
|
+
*/
|
|
39
|
+
inputElement?: ReactNode;
|
|
40
|
+
/**
|
|
41
|
+
* Optional prop to add twrnc overriding classNames.
|
|
42
|
+
*/
|
|
43
|
+
twClassName?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Optional prop to customize the container style.
|
|
46
|
+
*/
|
|
47
|
+
style?: StyleProp<ViewStyle>;
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=TextField.types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.types.d.cts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,8BAAqB;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,iCAA6B;AAEvD;;GAEG;AACH,oBAAY,aAAa;IACvB,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;CACV;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,UAAU,EACV,aAAa,GAAG,uBAAuB,GAAG,OAAO,CAClD,GAAG;IACF;;;;OAIG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { StyleProp, ViewStyle } from "react-native/index.js";
|
|
3
|
+
import type { InputProps } from "../Input/Input.types.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* TextFieldSize enum.
|
|
6
|
+
*/
|
|
7
|
+
export declare enum TextFieldSize {
|
|
8
|
+
Sm = "sm",
|
|
9
|
+
Md = "md",
|
|
10
|
+
Lg = "lg"
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* TextField component props.
|
|
14
|
+
*/
|
|
15
|
+
export type TextFieldProps = Omit<InputProps, 'textVariant' | 'isStateStylesDisabled' | 'style'> & {
|
|
16
|
+
/**
|
|
17
|
+
* Optional prop for size of the TextField.
|
|
18
|
+
*
|
|
19
|
+
* @default TextFieldSize.Md
|
|
20
|
+
*/
|
|
21
|
+
size?: TextFieldSize;
|
|
22
|
+
/**
|
|
23
|
+
* Optional content to display before the Input.
|
|
24
|
+
*/
|
|
25
|
+
startAccessory?: ReactNode;
|
|
26
|
+
/**
|
|
27
|
+
* Optional content to display after the Input.
|
|
28
|
+
*/
|
|
29
|
+
endAccessory?: ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* Optional boolean to show the error state.
|
|
32
|
+
*
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
35
|
+
isError?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Optional prop to replace the default Input with a custom element.
|
|
38
|
+
*/
|
|
39
|
+
inputElement?: ReactNode;
|
|
40
|
+
/**
|
|
41
|
+
* Optional prop to add twrnc overriding classNames.
|
|
42
|
+
*/
|
|
43
|
+
twClassName?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Optional prop to customize the container style.
|
|
46
|
+
*/
|
|
47
|
+
style?: StyleProp<ViewStyle>;
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=TextField.types.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.types.d.mts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,8BAAqB;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,iCAA6B;AAEvD;;GAEG;AACH,oBAAY,aAAa;IACvB,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;CACV;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,UAAU,EACV,aAAa,GAAG,uBAAuB,GAAG,OAAO,CAClD,GAAG;IACF;;;;OAIG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TextFieldSize enum.
|
|
3
|
+
*/
|
|
4
|
+
export var TextFieldSize;
|
|
5
|
+
(function (TextFieldSize) {
|
|
6
|
+
TextFieldSize["Sm"] = "sm";
|
|
7
|
+
TextFieldSize["Md"] = "md";
|
|
8
|
+
TextFieldSize["Lg"] = "lg";
|
|
9
|
+
})(TextFieldSize || (TextFieldSize = {}));
|
|
10
|
+
//# sourceMappingURL=TextField.types.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.types.mjs","sourceRoot":"","sources":["../../../src/components/TextField/TextField.types.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,CAAN,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,0BAAS,CAAA;IACT,0BAAS,CAAA;IACT,0BAAS,CAAA;AACX,CAAC,EAJW,aAAa,KAAb,aAAa,QAIxB","sourcesContent":["import type { ReactNode } from 'react';\nimport type { StyleProp, ViewStyle } from 'react-native';\n\nimport type { InputProps } from '../Input/Input.types';\n\n/**\n * TextFieldSize enum.\n */\nexport enum TextFieldSize {\n Sm = 'sm',\n Md = 'md',\n Lg = 'lg',\n}\n\n/**\n * TextField component props.\n */\nexport type TextFieldProps = Omit<\n InputProps,\n 'textVariant' | 'isStateStylesDisabled' | 'style'\n> & {\n /**\n * Optional prop for size of the TextField.\n *\n * @default TextFieldSize.Md\n */\n size?: TextFieldSize;\n /**\n * Optional content to display before the Input.\n */\n startAccessory?: ReactNode;\n /**\n * Optional content to display after the Input.\n */\n endAccessory?: ReactNode;\n /**\n * Optional boolean to show the error state.\n *\n * @default false\n */\n isError?: boolean;\n /**\n * Optional prop to replace the default Input with a custom element.\n */\n inputElement?: ReactNode;\n /**\n * Optional prop to add twrnc overriding classNames.\n */\n twClassName?: string;\n /**\n * Optional prop to customize the container style.\n */\n style?: StyleProp<ViewStyle>;\n};\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TextFieldSize = exports.TextField = void 0;
|
|
4
|
+
var TextField_1 = require("./TextField.cjs");
|
|
5
|
+
Object.defineProperty(exports, "TextField", { enumerable: true, get: function () { return TextField_1.TextField; } });
|
|
6
|
+
var TextField_types_1 = require("./TextField.types.cjs");
|
|
7
|
+
Object.defineProperty(exports, "TextFieldSize", { enumerable: true, get: function () { return TextField_types_1.TextFieldSize; } });
|
|
8
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/components/TextField/index.ts"],"names":[],"mappings":";;;AAAA,6CAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,yDAAkD;AAAzC,gHAAA,aAAa,OAAA","sourcesContent":["export { TextField } from './TextField';\nexport { TextFieldSize } from './TextField.types';\nexport type { TextFieldProps } from './TextField.types';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/components/TextField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,wBAAoB;AACxC,OAAO,EAAE,aAAa,EAAE,8BAA0B;AAClD,YAAY,EAAE,cAAc,EAAE,8BAA0B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/components/TextField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,wBAAoB;AACxC,OAAO,EAAE,aAAa,EAAE,8BAA0B;AAClD,YAAY,EAAE,cAAc,EAAE,8BAA0B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/components/TextField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,wBAAoB;AACxC,OAAO,EAAE,aAAa,EAAE,8BAA0B","sourcesContent":["export { TextField } from './TextField';\nexport { TextFieldSize } from './TextField.types';\nexport type { TextFieldProps } from './TextField.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.RadioButton = exports.Label = exports.Input = exports.IconSize = exports.IconName = exports.IconColor = exports.Icon = void 0;
|
|
4
|
+
exports.ToastContext = exports.ToastVariant = exports.Toast = exports.TextOrChildren = exports.TextFieldSize = exports.TextField = 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; } });
|
|
@@ -102,6 +102,9 @@ Object.defineProperty(exports, "FontFamily", { enumerable: true, get: function (
|
|
|
102
102
|
Object.defineProperty(exports, "FontStyle", { enumerable: true, get: function () { return Text_1.FontStyle; } });
|
|
103
103
|
Object.defineProperty(exports, "TextColor", { enumerable: true, get: function () { return Text_1.TextColor; } });
|
|
104
104
|
Object.defineProperty(exports, "TextVariant", { enumerable: true, get: function () { return Text_1.TextVariant; } });
|
|
105
|
+
var TextField_1 = require("./TextField/index.cjs");
|
|
106
|
+
Object.defineProperty(exports, "TextField", { enumerable: true, get: function () { return TextField_1.TextField; } });
|
|
107
|
+
Object.defineProperty(exports, "TextFieldSize", { enumerable: true, get: function () { return TextField_1.TextFieldSize; } });
|
|
105
108
|
var TextOrChildren_1 = require("./temp-components/TextOrChildren/index.cjs");
|
|
106
109
|
Object.defineProperty(exports, "TextOrChildren", { enumerable: true, get: function () { return TextOrChildren_1.TextOrChildren; } });
|
|
107
110
|
var Toast_1 = require("./Toast/index.cjs");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":";;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} 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"]}
|
|
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,mEAA0E;AAAjE,sHAAA,iBAAiB,OAAA;AAAE,qHAAA,gBAAgB,OAAA;AAM5C,qEAA0D;AAAjD,wHAAA,kBAAkB,OAAA;AAG3B,iEAAsD;AAA7C,oGAAA,QAAQ,OAAA;AAGjB,uCAQe;AAP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OAAA;AAGjC,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 { TextField, TextFieldSize } from './TextField';\nexport type { TextFieldProps } from './TextField';\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"]}
|
|
@@ -62,6 +62,8 @@ export { TextButton, TextButtonSize } from "./TextButton/index.cjs";
|
|
|
62
62
|
export type { TextButtonProps } from "./TextButton/index.cjs";
|
|
63
63
|
export { Text, FontWeight, FontFamily, FontStyle, TextColor, TextVariant, } from "./Text/index.cjs";
|
|
64
64
|
export type { TextProps } from "./Text/index.cjs";
|
|
65
|
+
export { TextField, TextFieldSize } from "./TextField/index.cjs";
|
|
66
|
+
export type { TextFieldProps } from "./TextField/index.cjs";
|
|
65
67
|
export { TextOrChildren } from "./temp-components/TextOrChildren/index.cjs";
|
|
66
68
|
export type { TextOrChildrenProps } from "./temp-components/TextOrChildren/index.cjs";
|
|
67
69
|
export { Toast, ToastVariant, ToastContext } from "./Toast/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,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;A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AyC;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"}
|
|
@@ -62,6 +62,8 @@ export { TextButton, TextButtonSize } from "./TextButton/index.mjs";
|
|
|
62
62
|
export type { TextButtonProps } from "./TextButton/index.mjs";
|
|
63
63
|
export { Text, FontWeight, FontFamily, FontStyle, TextColor, TextVariant, } from "./Text/index.mjs";
|
|
64
64
|
export type { TextProps } from "./Text/index.mjs";
|
|
65
|
+
export { TextField, TextFieldSize } from "./TextField/index.mjs";
|
|
66
|
+
export type { TextFieldProps } from "./TextField/index.mjs";
|
|
65
67
|
export { TextOrChildren } from "./temp-components/TextOrChildren/index.mjs";
|
|
66
68
|
export type { TextOrChildrenProps } from "./temp-components/TextOrChildren/index.mjs";
|
|
67
69
|
export { Toast, ToastVariant, ToastContext } from "./Toast/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,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EAAE,YAAY,EAAE,YAAY,EAAE,0BAAgB;AAC5D,YAAY,EACV,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,iBAAiB,EACjB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,GACxB,0BAAgB"}
|
|
@@ -30,6 +30,7 @@ export { Maskicon } from "./temp-components/Maskicon/index.mjs";
|
|
|
30
30
|
export { Skeleton } from "./Skeleton/index.mjs";
|
|
31
31
|
export { TextButton, TextButtonSize } from "./TextButton/index.mjs";
|
|
32
32
|
export { Text, FontWeight, FontFamily, FontStyle, TextColor, TextVariant } from "./Text/index.mjs";
|
|
33
|
+
export { TextField, TextFieldSize } from "./TextField/index.mjs";
|
|
33
34
|
export { TextOrChildren } from "./temp-components/TextOrChildren/index.mjs";
|
|
34
35
|
export { Toast, ToastVariant, ToastContext } from "./Toast/index.mjs";
|
|
35
36
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -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,W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AE,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"]}
|
|
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,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,sCAA4B;AAM1E,OAAO,EAAE,kBAAkB,EAAE,uCAA6B;AAG1D,OAAO,EAAE,QAAQ,EAAE,6CAAmC;AAGtD,OAAO,EACL,GAAG,EACH,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACf,wBAAc;AAGf,OAAO,EAAE,IAAI,EAAE,yBAAe;AAG9B,OAAO,EAAE,cAAc,EAAE,mDAAyC;AAGlE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,+BAAqB;AAG1D,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,aAAa,EAAE,2BAAiB;AAG7D,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,+BAAqB;AAG1D,OAAO,EAAE,QAAQ,EAAE,6BAAmB;AAGtC,OAAO,EAAE,UAAU,EAAE,+BAAqB;AAG1C,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,yBAAe;AAG7D,OAAO,EAAE,KAAK,EAAE,0BAAgB;AAGhC,OAAO,EAAE,KAAK,EAAE,0BAAgB;AAGhC,OAAO,EAAE,WAAW,EAAE,gCAAsB;AAG5C,OAAO,EAAE,QAAQ,EAAE,6CAAmC;AAGtD,OAAO,EAAE,QAAQ,EAAE,6CAAmC;AAGtD,OAAO,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,SAAS,EAAE,aAAa,EAAE,8BAAoB;AAGvD,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 { TextField, TextFieldSize } from './TextField';\nexport type { TextFieldProps } from './TextField';\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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/design-system-react-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Design System React Native",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@figma/code-connect": "^1.0.0",
|
|
61
61
|
"@metamask/auto-changelog": "^5.3.2",
|
|
62
62
|
"@metamask/design-system-twrnc-preset": "^0.3.0",
|
|
63
|
-
"@metamask/design-tokens": "^8.2.
|
|
63
|
+
"@metamask/design-tokens": "^8.2.2",
|
|
64
64
|
"@metamask/utils": "^11.10.0",
|
|
65
65
|
"@storybook/react-native": "6.5",
|
|
66
66
|
"@testing-library/react-hooks": "^8.0.1",
|