@bodynarf/react.components 1.6.2 → 1.6.4
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/components/accordion/component/index.d.ts +6 -0
- package/components/accordion/component/index.d.ts.map +1 -0
- package/components/accordion/component/index.js +35 -0
- package/components/accordion/component/style.scss +31 -0
- package/components/accordion/index.d.ts +3 -0
- package/components/accordion/index.d.ts.map +1 -0
- package/components/accordion/index.js +2 -0
- package/components/accordion/types.d.ts +18 -0
- package/components/accordion/types.d.ts.map +1 -0
- package/components/accordion/types.js +1 -0
- package/components/anchor/component/index.d.ts +6 -0
- package/components/anchor/component/index.d.ts.map +1 -0
- package/components/anchor/component/index.js +20 -0
- package/components/anchor/{anchor.scss → component/style.scss} +15 -15
- package/components/anchor/index.d.ts +2 -23
- package/components/anchor/index.d.ts.map +1 -1
- package/components/anchor/index.js +2 -20
- package/components/anchor/types.d.ts +23 -4
- package/components/anchor/types.d.ts.map +1 -1
- package/components/button/component/index.d.ts +9 -0
- package/components/button/component/index.d.ts.map +1 -0
- package/components/button/component/index.js +36 -0
- package/components/button/{button.scss → component/style.scss} +12 -12
- package/components/button/index.d.ts +2 -33
- package/components/button/index.d.ts.map +1 -1
- package/components/button/index.js +2 -37
- package/components/button/types.d.ts +25 -2
- package/components/button/types.d.ts.map +1 -1
- package/components/button/types.js +1 -0
- package/components/dropdown/component/index.d.ts +7 -0
- package/components/dropdown/component/index.d.ts.map +1 -0
- package/components/dropdown/component/index.js +15 -0
- package/components/dropdown/index.d.ts +2 -42
- package/components/dropdown/index.d.ts.map +1 -1
- package/components/dropdown/index.js +2 -15
- package/components/dropdown/types.d.ts +38 -2
- package/components/dropdown/types.d.ts.map +1 -1
- package/components/icon/component/index.d.ts +8 -0
- package/components/icon/component/index.d.ts.map +1 -0
- package/components/icon/component/index.js +23 -0
- package/components/icon/{icon.scss → component/style.scss} +21 -21
- package/components/icon/index.d.ts +2 -21
- package/components/icon/index.d.ts.map +1 -1
- package/components/icon/index.js +2 -23
- package/components/icon/types.d.ts +16 -0
- package/components/icon/types.d.ts.map +1 -0
- package/components/icon/types.js +1 -0
- package/components/index.d.ts +4 -3
- package/components/index.d.ts.map +1 -1
- package/components/index.js +4 -3
- package/components/paginator/component/index.d.ts +8 -0
- package/components/paginator/component/index.d.ts.map +1 -0
- package/components/paginator/component/index.js +47 -0
- package/components/paginator/index.d.ts +3 -33
- package/components/paginator/index.d.ts.map +1 -1
- package/components/paginator/index.js +3 -47
- package/components/paginator/types.d.ts +28 -0
- package/components/paginator/types.d.ts.map +1 -0
- package/components/paginator/types.js +1 -0
- package/components/primitives/checkbox/component/index.d.ts +7 -0
- package/components/primitives/checkbox/component/index.d.ts.map +1 -0
- package/components/primitives/checkbox/component/index.js +37 -0
- package/components/primitives/checkbox/index.d.ts +2 -28
- package/components/primitives/checkbox/index.d.ts.map +1 -1
- package/components/primitives/checkbox/index.js +2 -38
- package/components/primitives/checkbox/types.d.ts +25 -0
- package/components/primitives/checkbox/types.d.ts.map +1 -0
- package/components/primitives/checkbox/types.js +1 -0
- package/components/primitives/date/component/index.d.ts +6 -0
- package/components/primitives/date/component/index.d.ts.map +1 -0
- package/components/primitives/date/component/index.js +48 -0
- package/components/primitives/date/index.d.ts +2 -13
- package/components/primitives/date/index.d.ts.map +1 -1
- package/components/primitives/date/index.js +2 -48
- package/components/primitives/date/types.d.ts +9 -0
- package/components/primitives/date/types.d.ts.map +1 -0
- package/components/primitives/date/types.js +1 -0
- package/components/primitives/index.d.ts +3 -1
- package/components/primitives/index.d.ts.map +1 -1
- package/components/primitives/index.js +3 -1
- package/components/primitives/multiline/component/index.d.ts +7 -0
- package/components/primitives/multiline/component/index.d.ts.map +1 -0
- package/components/primitives/multiline/component/index.js +15 -0
- package/components/primitives/multiline/components/multilineWithLabel/index.d.ts +0 -1
- package/components/primitives/multiline/components/multilineWithLabel/index.d.ts.map +1 -1
- package/components/primitives/multiline/components/multilineWithoutLabel/index.d.ts +0 -1
- package/components/primitives/multiline/components/multilineWithoutLabel/index.d.ts.map +1 -1
- package/components/primitives/multiline/index.d.ts +2 -15
- package/components/primitives/multiline/index.d.ts.map +1 -1
- package/components/primitives/multiline/index.js +2 -15
- package/components/primitives/multiline/types.d.ts +11 -0
- package/components/primitives/multiline/types.d.ts.map +1 -0
- package/components/primitives/multiline/types.js +1 -0
- package/components/primitives/number/component/index.d.ts +6 -0
- package/components/primitives/number/component/index.d.ts.map +1 -0
- package/components/primitives/number/component/index.js +14 -0
- package/components/primitives/number/components/withLabel/index.d.ts +0 -1
- package/components/primitives/number/components/withLabel/index.d.ts.map +1 -1
- package/components/primitives/number/components/withoutLabel/index.d.ts +0 -1
- package/components/primitives/number/components/withoutLabel/index.d.ts.map +1 -1
- package/components/primitives/number/index.d.ts +2 -16
- package/components/primitives/number/index.d.ts.map +1 -1
- package/components/primitives/number/index.js +2 -14
- package/components/primitives/number/types.d.ts +13 -0
- package/components/primitives/number/types.d.ts.map +1 -0
- package/components/primitives/number/types.js +1 -0
- package/components/primitives/password/component/index.d.ts +7 -0
- package/components/primitives/password/component/index.d.ts.map +1 -0
- package/components/primitives/password/component/index.js +13 -0
- package/components/primitives/password/components/withLabel/index.d.ts +0 -1
- package/components/primitives/password/components/withLabel/index.d.ts.map +1 -1
- package/components/primitives/password/components/withoutLabel/index.d.ts +0 -1
- package/components/primitives/password/components/withoutLabel/index.d.ts.map +1 -1
- package/components/primitives/password/index.d.ts +2 -14
- package/components/primitives/password/index.d.ts.map +1 -1
- package/components/primitives/password/index.js +2 -13
- package/components/primitives/password/types.d.ts +10 -0
- package/components/primitives/password/types.d.ts.map +1 -0
- package/components/primitives/password/types.js +1 -0
- package/components/primitives/text/component/index.d.ts +7 -0
- package/components/primitives/text/component/index.d.ts.map +1 -0
- package/components/primitives/text/component/index.js +15 -0
- package/components/primitives/text/components/textWithLabel/index.d.ts +0 -1
- package/components/primitives/text/components/textWithLabel/index.d.ts.map +1 -1
- package/components/primitives/text/components/textWithoutLabel/index.d.ts +0 -1
- package/components/primitives/text/components/textWithoutLabel/index.d.ts.map +1 -1
- package/components/primitives/text/index.d.ts +2 -11
- package/components/primitives/text/index.d.ts.map +1 -1
- package/components/primitives/text/index.js +2 -15
- package/components/primitives/text/types.d.ts +7 -0
- package/components/primitives/text/types.d.ts.map +1 -0
- package/components/primitives/text/types.js +1 -0
- package/components/primitives/types/baseProps.d.ts +2 -2
- package/components/primitives/types/baseProps.d.ts.map +1 -1
- package/components/primitives/types/label.d.ts +2 -2
- package/components/primitives/types/label.d.ts.map +1 -1
- package/components/search/component/index.d.ts +6 -0
- package/components/search/component/index.d.ts.map +1 -0
- package/components/search/component/index.js +37 -0
- package/components/search/index.d.ts +2 -29
- package/components/search/index.d.ts.map +1 -1
- package/components/search/index.js +2 -37
- package/components/search/types.d.ts +27 -0
- package/components/search/types.d.ts.map +1 -0
- package/components/search/types.js +1 -0
- package/components/tabs/component/index.d.ts +0 -1
- package/components/tabs/component/index.d.ts.map +1 -1
- package/components/tag/component/index.d.ts +6 -0
- package/components/tag/component/index.d.ts.map +1 -0
- package/components/tag/component/index.js +28 -0
- package/components/tag/index.d.ts +2 -31
- package/components/tag/index.d.ts.map +1 -1
- package/components/tag/index.js +2 -28
- package/components/tag/types.d.ts +27 -0
- package/components/tag/types.d.ts.map +1 -0
- package/components/tag/types.js +1 -0
- package/components/types.d.ts +4 -4
- package/components/types.d.ts.map +1 -1
- package/hooks/usePagination.d.ts.map +1 -1
- package/index.d.ts +2 -12
- package/index.d.ts.map +1 -1
- package/index.js +2 -12
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -0
- package/components/primitives/types/enums.d.ts +0 -29
- package/components/primitives/types/enums.d.ts.map +0 -1
- package/components/primitives/types/enums.js +0 -31
- /package/components/dropdown/{dropdown.scss → component/style.scss} +0 -0
- /package/components/primitives/checkbox/{checkbox.scss → component/style.scss} +0 -0
- /package/components/primitives/password/{style.scss → component/style.scss} +0 -0
- /package/components/search/{search.scss → component/style.scss} +0 -0
- /package/components/tag/{style.scss → component/style.scss} +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useCallback } from "react";
|
|
3
|
+
import { generateGuid, getClassName, getValueOrDefault, isStringEmpty } from "@bodynarf/utils";
|
|
4
|
+
import "../../../../common.scss";
|
|
5
|
+
import { ElementSize } from "../../..";
|
|
6
|
+
import { getValidationValues } from "../../../../utils";
|
|
7
|
+
/** Date input component */
|
|
8
|
+
const DatePicker = ({ defaultValue, onValueChange, readonly, disabled, validationState, name, size, className, rounded, loading, style, label, onBlur }) => {
|
|
9
|
+
const onChange = useCallback((event) => onValueChange(isStringEmpty(event.target.value)
|
|
10
|
+
? undefined
|
|
11
|
+
: new Date(event.target.value)), [onValueChange]);
|
|
12
|
+
const id = name || generateGuid();
|
|
13
|
+
const elSizeClassName = "is-{0}".format(getValueOrDefault(size, ElementSize.Normal));
|
|
14
|
+
const [isValidationDefined, styleClassName, validationMessages] = getValidationValues(style, validationState);
|
|
15
|
+
const elClassName = getClassName([
|
|
16
|
+
className,
|
|
17
|
+
elSizeClassName,
|
|
18
|
+
styleClassName,
|
|
19
|
+
rounded === true ? "is-rounded" : "",
|
|
20
|
+
"input",
|
|
21
|
+
]);
|
|
22
|
+
const inputContainerClassName = getClassName([
|
|
23
|
+
"control",
|
|
24
|
+
loading === true ? "is-loading" : "",
|
|
25
|
+
]);
|
|
26
|
+
const stingifiedDefValue = defaultValue?.toISOString().split("T")[0];
|
|
27
|
+
const labelClassName = getClassName([
|
|
28
|
+
"label",
|
|
29
|
+
!label.horizontal ? elSizeClassName : "",
|
|
30
|
+
label.className
|
|
31
|
+
]);
|
|
32
|
+
if (label.horizontal) {
|
|
33
|
+
const labelContainerClassName = getClassName([
|
|
34
|
+
"field-label",
|
|
35
|
+
elSizeClassName,
|
|
36
|
+
label.horizontalContainerClassName
|
|
37
|
+
]);
|
|
38
|
+
const fieldContainerClassName = getClassName([
|
|
39
|
+
"field-body",
|
|
40
|
+
label.horizontalFieldContainerClassName
|
|
41
|
+
]);
|
|
42
|
+
return (_jsxs("div", { className: "bbr-input field is-horizontal", children: [_jsx("div", { className: labelContainerClassName, children: _jsx("label", { className: labelClassName, htmlFor: id, children: label.caption }) }), _jsx("div", { className: fieldContainerClassName, children: _jsxs("div", { className: "field", children: [_jsx("div", { className: inputContainerClassName, children: _jsx("input", { type: "date", className: elClassName, readOnly: readonly, disabled: disabled, defaultValue: stingifiedDefValue, onChange: onChange, onBlur: onBlur, name: id, id: id }) }), isValidationDefined && validationMessages.length > 0 &&
|
|
43
|
+
_jsx("p", { className: `help m-help ${styleClassName}`, children: validationMessages.join("\n") })] }) })] }));
|
|
44
|
+
}
|
|
45
|
+
return (_jsxs("div", { className: "bbr-input field", children: [_jsx("label", { className: labelClassName, htmlFor: id, children: label.caption }), _jsx("div", { className: inputContainerClassName, children: _jsx("input", { type: "date", className: elClassName, readOnly: readonly, disabled: disabled, defaultValue: stingifiedDefValue, onChange: onChange, onBlur: onBlur, name: id, id: id }) }), isValidationDefined && validationMessages.length > 0 &&
|
|
46
|
+
_jsx("p", { className: `help m-help ${styleClassName}`, children: validationMessages.join("\n") })] }));
|
|
47
|
+
};
|
|
48
|
+
export default DatePicker;
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { BaseInputElementProps, InputLabel } from "../..";
|
|
4
|
-
/** Date input conponent props type */
|
|
5
|
-
export declare type DateProps = Omit<BaseInputElementProps<Date | undefined>, "placeholder"> & {
|
|
6
|
-
/** Label configuration */
|
|
7
|
-
label: InputLabel;
|
|
8
|
-
/** Focus out event handler */
|
|
9
|
-
onBlur?: () => void;
|
|
10
|
-
};
|
|
11
|
-
/** Date input component */
|
|
12
|
-
declare const DatePicker: ({ defaultValue, onValueChange, readonly, disabled, validationState, name, size, className, rounded, loading, style, label, onBlur }: DateProps) => JSX.Element;
|
|
13
|
-
export default DatePicker;
|
|
1
|
+
export { default } from "./component";
|
|
2
|
+
export * from "./types";
|
|
14
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/date/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/date/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,cAAc,SAAS,CAAC"}
|
|
@@ -1,48 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { generateGuid, getClassName, getValueOrDefault, isStringEmpty } from "@bodynarf/utils";
|
|
4
|
-
import "../../../common.scss";
|
|
5
|
-
import { ElementSize } from "../..";
|
|
6
|
-
import { getValidationValues } from "../../../utils";
|
|
7
|
-
/** Date input component */
|
|
8
|
-
const DatePicker = ({ defaultValue, onValueChange, readonly, disabled, validationState, name, size, className, rounded, loading, style, label, onBlur }) => {
|
|
9
|
-
const onChange = useCallback((event) => onValueChange(isStringEmpty(event.target.value)
|
|
10
|
-
? undefined
|
|
11
|
-
: new Date(event.target.value)), [onValueChange]);
|
|
12
|
-
const id = name || generateGuid();
|
|
13
|
-
const elSizeClassName = "is-{0}".format(getValueOrDefault(size, ElementSize.Normal));
|
|
14
|
-
const [isValidationDefined, styleClassName, validationMessages] = getValidationValues(style, validationState);
|
|
15
|
-
const elClassName = getClassName([
|
|
16
|
-
className,
|
|
17
|
-
elSizeClassName,
|
|
18
|
-
styleClassName,
|
|
19
|
-
rounded === true ? "is-rounded" : "",
|
|
20
|
-
"input",
|
|
21
|
-
]);
|
|
22
|
-
const inputContainerClassName = getClassName([
|
|
23
|
-
"control",
|
|
24
|
-
loading === true ? "is-loading" : "",
|
|
25
|
-
]);
|
|
26
|
-
const stingifiedDefValue = defaultValue?.toISOString().split("T")[0];
|
|
27
|
-
const labelClassName = getClassName([
|
|
28
|
-
"label",
|
|
29
|
-
!label.horizontal ? elSizeClassName : "",
|
|
30
|
-
label.className
|
|
31
|
-
]);
|
|
32
|
-
if (label.horizontal) {
|
|
33
|
-
const labelContainerClassName = getClassName([
|
|
34
|
-
"field-label",
|
|
35
|
-
elSizeClassName,
|
|
36
|
-
label.horizontalContainerClassName
|
|
37
|
-
]);
|
|
38
|
-
const fieldContainerClassName = getClassName([
|
|
39
|
-
"field-body",
|
|
40
|
-
label.horizontalFieldContainerClassName
|
|
41
|
-
]);
|
|
42
|
-
return (_jsxs("div", { className: "bbr-input field is-horizontal", children: [_jsx("div", { className: labelContainerClassName, children: _jsx("label", { className: labelClassName, htmlFor: id, children: label.caption }) }), _jsx("div", { className: fieldContainerClassName, children: _jsxs("div", { className: "field", children: [_jsx("div", { className: inputContainerClassName, children: _jsx("input", { type: "date", className: elClassName, readOnly: readonly, disabled: disabled, defaultValue: stingifiedDefValue, onChange: onChange, onBlur: onBlur, name: id, id: id }) }), isValidationDefined && validationMessages.length > 0 &&
|
|
43
|
-
_jsx("p", { className: `help m-help ${styleClassName}`, children: validationMessages.join("\n") })] }) })] }));
|
|
44
|
-
}
|
|
45
|
-
return (_jsxs("div", { className: "bbr-input field", children: [_jsx("label", { className: labelClassName, htmlFor: id, children: label.caption }), _jsx("div", { className: inputContainerClassName, children: _jsx("input", { type: "date", className: elClassName, readOnly: readonly, disabled: disabled, defaultValue: stingifiedDefValue, onChange: onChange, onBlur: onBlur, name: id, id: id }) }), isValidationDefined && validationMessages.length > 0 &&
|
|
46
|
-
_jsx("p", { className: `help m-help ${styleClassName}`, children: validationMessages.join("\n") })] }));
|
|
47
|
-
};
|
|
48
|
-
export default DatePicker;
|
|
1
|
+
export { default } from "./component";
|
|
2
|
+
export * from "./types";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseInputElementProps, InputLabel } from "..";
|
|
2
|
+
/** Date input conponent props type */
|
|
3
|
+
export interface DateProps extends Omit<BaseInputElementProps<Date | undefined>, "placeholder"> {
|
|
4
|
+
/** Label configuration */
|
|
5
|
+
label: InputLabel;
|
|
6
|
+
/** Focus out event handler */
|
|
7
|
+
onBlur?: () => void;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/date/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAEvD,sCAAsC;AACtC,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,qBAAqB,CAAC,IAAI,GAAG,SAAS,CAAC,EAAE,aAAa,CAAC;IAC3F,0BAA0B;IAC1B,KAAK,EAAE,UAAU,CAAC;IAElB,8BAA8B;IAC9B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/primitives/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/primitives/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import "../../../../common.scss";
|
|
3
|
+
import { MultilineProps } from "..";
|
|
4
|
+
/** Multiline textual input component */
|
|
5
|
+
declare const Multiline: (props: MultilineProps) => JSX.Element;
|
|
6
|
+
export default Multiline;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/primitives/multiline/component/index.tsx"],"names":[],"mappings":";AAEA,OAAO,yBAAyB,CAAC;AAEjC,OAAO,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AAKpC,wCAAwC;AACxC,QAAA,MAAM,SAAS,UAAW,cAAc,KAAG,WAQ1C,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { isNullOrUndefined } from "@bodynarf/utils";
|
|
3
|
+
import "../../../../common.scss";
|
|
4
|
+
import MultilineWithoutLabel from "../components/multilineWithoutLabel";
|
|
5
|
+
import MultilineWithLabel from "../components/multilineWithLabel";
|
|
6
|
+
/** Multiline textual input component */
|
|
7
|
+
const Multiline = (props) => {
|
|
8
|
+
if (isNullOrUndefined(props.label)) {
|
|
9
|
+
return (_jsx(MultilineWithoutLabel, { ...props }));
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
return (_jsx(MultilineWithLabel, { ...props }));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
export default Multiline;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { MultilineProps } from "../..";
|
|
3
2
|
/** Multiline textual input component with describing label */
|
|
4
3
|
declare const MultilineWithLabel: ({ defaultValue, onValueChange, validationState, readonly, disabled, name, className, size, style, rounded, loading, label, placeholder, fixed, rows, onBlur }: MultilineProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/primitives/multiline/components/multilineWithLabel/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/primitives/multiline/components/multilineWithLabel/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,8DAA8D;AAC9D,QAAA,MAAM,kBAAkB,kKAOrB,cAAc,KAAG,WAyGnB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { MultilineProps } from "../..";
|
|
3
2
|
/** Multiline textual input component without describing label*/
|
|
4
3
|
declare const MultilineWithoutLabel: ({ onValueChange, defaultValue, validationState, name, placeholder, onBlur, className, size, style, rounded, loading, fixed, rows, }: MultilineProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/primitives/multiline/components/multilineWithoutLabel/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/primitives/multiline/components/multilineWithoutLabel/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,gEAAgE;AAChE,QAAA,MAAM,qBAAqB,wIAMxB,cAAc,KAAG,WA2CnB,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { BaseInputElementProps } from "..";
|
|
4
|
-
/** Multiline textual input conponent props type */
|
|
5
|
-
export declare type MultilineProps = BaseInputElementProps<string> & {
|
|
6
|
-
/** Is input should be resizable */
|
|
7
|
-
fixed?: boolean;
|
|
8
|
-
/** Number of initial rows count */
|
|
9
|
-
rows?: number;
|
|
10
|
-
/** Focus out event handler */
|
|
11
|
-
onBlur?: () => void;
|
|
12
|
-
};
|
|
13
|
-
/** Multiline textual input component */
|
|
14
|
-
declare const Multiline: (props: MultilineProps) => JSX.Element;
|
|
15
|
-
export default Multiline;
|
|
1
|
+
export { default } from "./component";
|
|
2
|
+
export * from "./types";
|
|
16
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/multiline/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/multiline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,cAAc,SAAS,CAAC"}
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import "../../../common.scss";
|
|
4
|
-
import MultilineWithoutLabel from "./components/multilineWithoutLabel";
|
|
5
|
-
import MultilineWithLabel from "./components/multilineWithLabel";
|
|
6
|
-
/** Multiline textual input component */
|
|
7
|
-
const Multiline = (props) => {
|
|
8
|
-
if (isNullOrUndefined(props.label)) {
|
|
9
|
-
return (_jsx(MultilineWithoutLabel, { ...props }));
|
|
10
|
-
}
|
|
11
|
-
else {
|
|
12
|
-
return (_jsx(MultilineWithLabel, { ...props }));
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
export default Multiline;
|
|
1
|
+
export { default } from "./component";
|
|
2
|
+
export * from "./types";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseInputElementProps } from "..";
|
|
2
|
+
/** Multiline textual input conponent props type */
|
|
3
|
+
export interface MultilineProps extends BaseInputElementProps<string> {
|
|
4
|
+
/** Is input should be resizable */
|
|
5
|
+
fixed?: boolean;
|
|
6
|
+
/** Number of initial rows count */
|
|
7
|
+
rows?: number;
|
|
8
|
+
/** Focus out event handler */
|
|
9
|
+
onBlur?: () => void;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/multiline/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAE3C,mDAAmD;AACnD,MAAM,WAAW,cAAe,SAAQ,qBAAqB,CAAC,MAAM,CAAC;IACjE,mCAAmC;IACnC,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,8BAA8B;IAC9B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/primitives/number/component/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAKjC,6BAA6B;AAC7B,QAAA,MAAM,MAAM,UAAW,WAAW,KAAG,WAOpC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { isNullOrUndefined } from "@bodynarf/utils";
|
|
3
|
+
import NumberWithLabel from "../components/withLabel";
|
|
4
|
+
import NumberWithoutLabel from "../components/withoutLabel";
|
|
5
|
+
/** Number input component */
|
|
6
|
+
const Number = (props) => {
|
|
7
|
+
if (isNullOrUndefined(props.label)) {
|
|
8
|
+
return (_jsx(NumberWithoutLabel, { ...props }));
|
|
9
|
+
}
|
|
10
|
+
else {
|
|
11
|
+
return (_jsx(NumberWithLabel, { ...props }));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
export default Number;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { NumberProps } from "../..";
|
|
3
2
|
/** Number component with label */
|
|
4
3
|
declare const NumberWithLabel: ({ onValueChange, readonly, disabled, defaultValue, validationState, name, className, size, style, rounded, loading, label, placeholder, onBlur, step, }: NumberProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/primitives/number/components/withLabel/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/primitives/number/components/withLabel/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC,kCAAkC;AAClC,QAAA,MAAM,eAAe,4JAOlB,WAAW,KAAG,WA2GhB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { NumberProps } from "../..";
|
|
3
2
|
/** Number component without label */
|
|
4
3
|
declare const NumberWithoutLabel: ({ onValueChange, readonly, disabled, defaultValue, validationState, name, className, size, style, rounded, loading, placeholder, onBlur, step, }: NumberProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/primitives/number/components/withoutLabel/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/primitives/number/components/withoutLabel/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC,qCAAqC;AACrC,QAAA,MAAM,kBAAkB,qJAOrB,WAAW,KAAG,WA8ChB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** Number component props type */
|
|
4
|
-
export interface NumberProps extends BaseInputElementProps<number> {
|
|
5
|
-
/** Focus out event handler */
|
|
6
|
-
onBlur?: () => void;
|
|
7
|
-
/**
|
|
8
|
-
* Difference which will be used to change value after step button click.
|
|
9
|
-
* See html input step documentation.
|
|
10
|
-
* @default 1
|
|
11
|
-
*/
|
|
12
|
-
step?: number;
|
|
13
|
-
}
|
|
14
|
-
/** Number input component */
|
|
15
|
-
declare const Number: (props: NumberProps) => JSX.Element;
|
|
16
|
-
export default Number;
|
|
1
|
+
export { default } from "./component";
|
|
2
|
+
export * from "./types";
|
|
17
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/number/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/number/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,cAAc,SAAS,CAAC"}
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import NumberWithLabel from "./components/withLabel";
|
|
4
|
-
import NumberWithoutLabel from "./components/withoutLabel";
|
|
5
|
-
/** Number input component */
|
|
6
|
-
const Number = (props) => {
|
|
7
|
-
if (isNullOrUndefined(props.label)) {
|
|
8
|
-
return (_jsx(NumberWithoutLabel, { ...props }));
|
|
9
|
-
}
|
|
10
|
-
else {
|
|
11
|
-
return (_jsx(NumberWithLabel, { ...props }));
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
export default Number;
|
|
1
|
+
export { default } from "./component";
|
|
2
|
+
export * from "./types";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseInputElementProps } from "..";
|
|
2
|
+
/** Number component props type */
|
|
3
|
+
export interface NumberProps extends BaseInputElementProps<number> {
|
|
4
|
+
/** Focus out event handler */
|
|
5
|
+
onBlur?: () => void;
|
|
6
|
+
/**
|
|
7
|
+
* Difference which will be used to change value after step button click.
|
|
8
|
+
* See html input step documentation.
|
|
9
|
+
* @default 1
|
|
10
|
+
*/
|
|
11
|
+
step?: number;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/number/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAE3C,kCAAkC;AAClC,MAAM,WAAW,WAAY,SAAQ,qBAAqB,CAAC,MAAM,CAAC;IAC9D,8BAA8B;IAC9B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IAEpB;;;;MAIE;IACF,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/primitives/password/component/index.tsx"],"names":[],"mappings":";AAEA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAKnC,+BAA+B;AAC/B,QAAA,MAAM,QAAQ,UAAW,aAAa,KAAG,WAMxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { isNullOrUndefined } from "@bodynarf/utils";
|
|
3
|
+
import "./style.scss";
|
|
4
|
+
import PasswordWithLabel from "../components/withLabel";
|
|
5
|
+
import PasswordWithoutLabel from "../components/withoutLabel";
|
|
6
|
+
/** Password input component */
|
|
7
|
+
const Password = (props) => {
|
|
8
|
+
if (isNullOrUndefined(props.label)) {
|
|
9
|
+
return _jsx(PasswordWithoutLabel, { ...props });
|
|
10
|
+
}
|
|
11
|
+
return _jsx(PasswordWithLabel, { ...props });
|
|
12
|
+
};
|
|
13
|
+
export default Password;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PasswordProps } from "../..";
|
|
3
2
|
declare const PasswordWithLabel: ({ onValueChange, disabled, validationState, name, className, size, style, rounded, loading, label, placeholder, canShowPassword, }: PasswordProps) => JSX.Element;
|
|
4
3
|
export default PasswordWithLabel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/primitives/password/components/withLabel/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/primitives/password/components/withLabel/index.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,QAAA,MAAM,iBAAiB,uIAMpB,aAAa,KAAG,WAgIlB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PasswordProps } from "../..";
|
|
3
2
|
declare const PasswordWithoutLabel: ({ onValueChange, disabled, validationState, name, className, size, style, rounded, loading, placeholder, canShowPassword, }: PasswordProps) => JSX.Element;
|
|
4
3
|
export default PasswordWithoutLabel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/primitives/password/components/withoutLabel/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/primitives/password/components/withoutLabel/index.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,QAAA,MAAM,oBAAoB,gIAMvB,aAAa,KAAG,WA4DlB,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { BaseInputElementProps } from "..";
|
|
4
|
-
/** Password component props type */
|
|
5
|
-
export interface PasswordProps extends Omit<BaseInputElementProps<string>, "defaultValue" | "readonly"> {
|
|
6
|
-
/**
|
|
7
|
-
* Is icon "Show password" visible.
|
|
8
|
-
* Will show password on click
|
|
9
|
-
*/
|
|
10
|
-
canShowPassword: boolean;
|
|
11
|
-
}
|
|
12
|
-
/** Password input component */
|
|
13
|
-
declare const Password: (props: PasswordProps) => JSX.Element;
|
|
14
|
-
export default Password;
|
|
1
|
+
export { default } from "./component";
|
|
2
|
+
export * from "./types";
|
|
15
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/password/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/password/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,cAAc,SAAS,CAAC"}
|
|
@@ -1,13 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import "./style.scss";
|
|
4
|
-
import PasswordWithLabel from "./components/withLabel";
|
|
5
|
-
import PasswordWithoutLabel from "./components/withoutLabel";
|
|
6
|
-
/** Password input component */
|
|
7
|
-
const Password = (props) => {
|
|
8
|
-
if (isNullOrUndefined(props.label)) {
|
|
9
|
-
return _jsx(PasswordWithoutLabel, { ...props });
|
|
10
|
-
}
|
|
11
|
-
return _jsx(PasswordWithLabel, { ...props });
|
|
12
|
-
};
|
|
13
|
-
export default Password;
|
|
1
|
+
export { default } from "./component";
|
|
2
|
+
export * from "./types";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseInputElementProps } from "..";
|
|
2
|
+
/** Password component props type */
|
|
3
|
+
export interface PasswordProps extends Omit<BaseInputElementProps<string>, "defaultValue" | "readonly"> {
|
|
4
|
+
/**
|
|
5
|
+
* Is icon "Show password" visible.
|
|
6
|
+
* Will show password on click
|
|
7
|
+
*/
|
|
8
|
+
canShowPassword: boolean;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/password/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAE3C,oCAAoC;AACpC,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC;IACnG;;;MAGE;IACF,eAAe,EAAE,OAAO,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/primitives/text/component/index.tsx"],"names":[],"mappings":";AAEA,OAAO,yBAAyB,CAAC;AAEjC,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAK/B,8BAA8B;AAC9B,QAAA,MAAM,IAAI,UAAW,SAAS,KAAG,WAOhC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { isNullOrUndefined } from "@bodynarf/utils";
|
|
3
|
+
import "../../../../common.scss";
|
|
4
|
+
import TextWithLabel from "../components/textWithLabel";
|
|
5
|
+
import TextWithoutLabel from "../components/textWithoutLabel";
|
|
6
|
+
/** Textual input component */
|
|
7
|
+
const Text = (props) => {
|
|
8
|
+
if (isNullOrUndefined(props.label)) {
|
|
9
|
+
return (_jsx(TextWithoutLabel, { ...props }));
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
return (_jsx(TextWithLabel, { ...props }));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
export default Text;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TextProps } from "../..";
|
|
3
2
|
/** Textual input with describing label */
|
|
4
3
|
declare const TextWithLabel: ({ onValueChange, readonly, disabled, defaultValue, validationState, name, className, size, style, rounded, loading, label, placeholder, onBlur, }: TextProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/primitives/text/components/textWithLabel/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/primitives/text/components/textWithLabel/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,0CAA0C;AAC1C,QAAA,MAAM,aAAa,sJAMhB,SAAS,KAAG,WAwGd,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TextProps } from "../..";
|
|
3
2
|
/** Textual input without describing label */
|
|
4
3
|
declare const TextWithoutLabel: ({ onValueChange, readonly, disabled, defaultValue, validationState, name, className, size, style, rounded, loading, placeholder, onBlur, }: TextProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/primitives/text/components/textWithoutLabel/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/primitives/text/components/textWithoutLabel/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,6CAA6C;AAC7C,QAAA,MAAM,gBAAgB,+IAMnB,SAAS,KAAG,WA6Cd,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { BaseInputElementProps } from "..";
|
|
4
|
-
/** Text input conponent props type */
|
|
5
|
-
export declare type TextProps = BaseInputElementProps<string> & {
|
|
6
|
-
/** Focus out event handler */
|
|
7
|
-
onBlur?: () => void;
|
|
8
|
-
};
|
|
9
|
-
/** Textual input component */
|
|
10
|
-
declare const Text: (props: TextProps) => JSX.Element;
|
|
11
|
-
export default Text;
|
|
1
|
+
export { default } from "./component";
|
|
2
|
+
export * from "./types";
|
|
12
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/text/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/primitives/text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,cAAc,SAAS,CAAC"}
|