@trackunit/react-form-components 1.7.34 → 1.7.37
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/index.cjs.js +352 -362
- package/index.esm.js +348 -356
- package/package.json +8 -8
- package/src/components/BaseInput/BaseInput.d.ts +1 -1
- package/src/components/{DateInput/DateInput.d.ts → DateField/DateBaseInput/DateBaseInput.d.ts} +3 -6
- package/src/components/DateField/DateField.d.ts +2 -2
- package/src/components/{EmailInput/EmailInput.d.ts → EmailField/EmailBaseInput/EmailBaseInput.d.ts} +5 -8
- package/src/components/FormGroup/FormGroup.d.ts +1 -1
- package/src/components/NumberField/NumberBaseInput/NumberBaseInput.d.ts +11 -0
- package/src/components/NumberField/NumberField.d.ts +2 -2
- package/src/components/PasswordField/PasswordBaseInput/PasswordBaseInput.d.ts +12 -0
- package/src/components/PasswordField/PasswordField.d.ts +2 -2
- package/src/components/{PhoneInput/PhoneInput.d.ts → PhoneField/PhoneBaseInput/PhoneBaseInput.d.ts} +4 -7
- package/src/components/PhoneField/PhoneField.d.ts +2 -2
- package/src/components/Search/Search.d.ts +2 -2
- package/src/components/{TextArea/TextArea.d.ts → TextAreaField/TextArea/TextAreaBaseInput.d.ts} +2 -5
- package/src/components/{TextArea/TextArea.variants.d.ts → TextAreaField/TextArea/TextAreaBaseInput.variants.d.ts} +1 -1
- package/src/components/TextAreaField/TextAreaField.d.ts +2 -2
- package/src/components/TextField/TextBaseInput/TextBaseInput.d.ts +11 -0
- package/src/components/TextField/TextField.d.ts +2 -2
- package/src/components/{UrlInput/UrlInput.d.ts → UrlField/UrlBaseInput/UrlBaseInput.d.ts} +4 -7
- package/src/components/UrlField/UrlField.d.ts +2 -2
- package/src/index.d.ts +10 -12
- package/src/components/EmailInput/index.d.ts +0 -1
- package/src/components/NumberInput/NumberInput.d.ts +0 -14
- package/src/components/PasswordField/index.d.ts +0 -1
- package/src/components/PasswordInput/PasswordInput.d.ts +0 -15
- package/src/components/PhoneInput/index.d.ts +0 -1
- package/src/components/TextArea/index.d.ts +0 -1
- package/src/components/TextAreaField/index.d.ts +0 -1
- package/src/components/TextInput/TextInput.d.ts +0 -14
- /package/src/components/{PhoneInput → PhoneField/PhoneBaseInput}/CountryCodeSelect.d.ts +0 -0
- /package/src/components/{PhoneInput → PhoneField/PhoneBaseInput}/CountryCodes.d.ts +0 -0
- /package/src/components/{PhoneInput → PhoneField/PhoneBaseInput}/PhoneInputValidationUtils.d.ts +0 -0
- /package/src/components/{PhoneInput → PhoneField/PhoneBaseInput}/PhoneNumberUtilities.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-form-components",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.37",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
"zod": "^3.23.8",
|
|
17
17
|
"react-hook-form": "7.62.0",
|
|
18
18
|
"tailwind-merge": "^2.0.0",
|
|
19
|
-
"@trackunit/css-class-variance-utilities": "1.6.
|
|
20
|
-
"@trackunit/react-components": "1.8.
|
|
21
|
-
"@trackunit/ui-icons": "1.6.
|
|
22
|
-
"@trackunit/shared-utils": "1.8.
|
|
23
|
-
"@trackunit/ui-design-tokens": "1.6.
|
|
24
|
-
"@trackunit/i18n-library-translation": "1.6.
|
|
19
|
+
"@trackunit/css-class-variance-utilities": "1.6.48",
|
|
20
|
+
"@trackunit/react-components": "1.8.21",
|
|
21
|
+
"@trackunit/ui-icons": "1.6.47",
|
|
22
|
+
"@trackunit/shared-utils": "1.8.48",
|
|
23
|
+
"@trackunit/ui-design-tokens": "1.6.50",
|
|
24
|
+
"@trackunit/i18n-library-translation": "1.6.52",
|
|
25
25
|
"string-ts": "^2.0.0",
|
|
26
|
-
"@trackunit/react-test-setup": "1.3.
|
|
26
|
+
"@trackunit/react-test-setup": "1.3.48",
|
|
27
27
|
"@js-temporal/polyfill": "^0.5.1"
|
|
28
28
|
},
|
|
29
29
|
"module": "./index.esm.js",
|
|
@@ -73,7 +73,7 @@ export interface BaseInputProps extends FilteredInputProps, CommonProps {
|
|
|
73
73
|
* Extends props from [React.InputHTMLAttributes](https://reactjs.org/docs/dom-elements.html#input)
|
|
74
74
|
*
|
|
75
75
|
* For specific input types make sure to use the corresponding input component.
|
|
76
|
-
* This is a base used by our other input components such as
|
|
76
|
+
* This is a base used by our other input components such as TextBaseInput, NumberBaseInput, PasswordBaseInput, etc.
|
|
77
77
|
*/
|
|
78
78
|
export declare const BaseInput: {
|
|
79
79
|
({ className, isInvalid, dataTestId, prefix, suffix, addonBefore, addonAfter, actions, fieldSize, nonInteractive, inputClassName, placeholder, isWarning, type, genericAction, style, ref, ...rest }: BaseInputProps): import("react/jsx-runtime").JSX.Element;
|
package/src/components/{DateInput/DateInput.d.ts → DateField/DateBaseInput/DateBaseInput.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseInputProps } from "
|
|
1
|
+
import { BaseInputProps } from "../../BaseInput";
|
|
2
2
|
type BaseInputExposedProps = Omit<BaseInputProps, "defaultValue" | "min" | "max" | "value">;
|
|
3
|
-
export interface
|
|
3
|
+
export interface DateBaseInputProps extends BaseInputExposedProps {
|
|
4
4
|
/**
|
|
5
5
|
* A min value with type Date added
|
|
6
6
|
*/
|
|
@@ -25,8 +25,5 @@ export interface DateInputProps extends BaseInputExposedProps {
|
|
|
25
25
|
*
|
|
26
26
|
* NOTE: If shown with a label, please use the `DateField` component instead.
|
|
27
27
|
*/
|
|
28
|
-
export declare const
|
|
29
|
-
({ min, max, defaultValue, value, ref, ...rest }: DateInputProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
displayName: string;
|
|
31
|
-
};
|
|
28
|
+
export declare const DateBaseInput: ({ min, max, defaultValue, value, ref, ...rest }: DateBaseInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
32
29
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Ref } from "react";
|
|
2
|
-
import { DateInputProps } from "../DateInput/DateInput";
|
|
3
2
|
import { FormGroupProps } from "../FormGroup/FormGroup";
|
|
3
|
+
import { DateBaseInputProps } from "./DateBaseInput/DateBaseInput";
|
|
4
4
|
type FormGroupExposedProps = Pick<FormGroupProps, "label" | "tip" | "helpText" | "helpAddon">;
|
|
5
|
-
export interface DateFieldProps extends
|
|
5
|
+
export interface DateFieldProps extends DateBaseInputProps, FormGroupExposedProps {
|
|
6
6
|
/**
|
|
7
7
|
* If a value is set, the field is rendered in its invalid state.
|
|
8
8
|
*/
|
package/src/components/{EmailInput/EmailInput.d.ts → EmailField/EmailBaseInput/EmailBaseInput.d.ts}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { BaseInputProps } from "
|
|
1
|
+
import { BaseInputProps } from "../../BaseInput";
|
|
2
2
|
type BaseInputExposedProps = Omit<BaseInputProps, "type">;
|
|
3
|
-
export interface
|
|
3
|
+
export interface EmailBaseInputProps extends BaseInputExposedProps {
|
|
4
4
|
/**
|
|
5
5
|
* To disable the action button.
|
|
6
6
|
*
|
|
7
7
|
* @default false
|
|
8
|
-
* @memberof
|
|
8
|
+
* @memberof EmailBaseInputProps
|
|
9
9
|
* @example
|
|
10
|
-
* <
|
|
10
|
+
* <EmailBaseInput disableAction />
|
|
11
11
|
*/
|
|
12
12
|
disableAction?: boolean;
|
|
13
13
|
}
|
|
@@ -21,8 +21,5 @@ export interface EmailInputProps extends BaseInputExposedProps {
|
|
|
21
21
|
* A reference to the input element is provided as the `ref` prop.
|
|
22
22
|
* For specific input types make sure to use the corresponding input component.
|
|
23
23
|
*/
|
|
24
|
-
export declare const
|
|
25
|
-
({ fieldSize, disabled, dataTestId, isInvalid, onChange, disableAction, ref, ...rest }: EmailInputProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
displayName: string;
|
|
27
|
-
};
|
|
24
|
+
export declare const EmailBaseInput: ({ fieldSize, disabled, dataTestId, isInvalid, onChange, disableAction, ref, ...rest }: EmailBaseInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
25
|
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseInputProps } from "../../BaseInput";
|
|
2
|
+
type BaseInputExposedProps = Omit<BaseInputProps, "type">;
|
|
3
|
+
export interface NumberBaseInputProps extends BaseInputExposedProps {
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* A thin wrapper around the `BaseInput` component for number input fields.
|
|
7
|
+
*
|
|
8
|
+
* NOTE: If shown with a label, please use the `NumberField` component instead.
|
|
9
|
+
*/
|
|
10
|
+
export declare const NumberBaseInput: ({ ref, ...rest }: NumberBaseInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Ref } from "react";
|
|
2
2
|
import { FormGroupProps } from "../FormGroup/FormGroup";
|
|
3
|
-
import {
|
|
3
|
+
import { NumberBaseInputProps } from "./NumberBaseInput/NumberBaseInput";
|
|
4
4
|
type FormGroupExposedProps = Pick<FormGroupProps, "label" | "tip" | "helpText" | "helpAddon">;
|
|
5
|
-
export interface NumberFieldProps extends
|
|
5
|
+
export interface NumberFieldProps extends NumberBaseInputProps, FormGroupExposedProps {
|
|
6
6
|
/**
|
|
7
7
|
* If a value is set, the field is rendered in its invalid state.
|
|
8
8
|
*/
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseInputProps } from "../../BaseInput/BaseInput";
|
|
2
|
+
type BaseInputExposedProps = Omit<BaseInputProps, "type">;
|
|
3
|
+
export interface PasswordBaseInputProps extends BaseInputExposedProps {
|
|
4
|
+
type?: "password" | "text";
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* A thin wrapper around the `BaseInput` component for password input fields.
|
|
8
|
+
*
|
|
9
|
+
* NOTE: If shown with a label, please use the `PasswordField` component instead.
|
|
10
|
+
*/
|
|
11
|
+
export declare const PasswordBaseInput: ({ ref, fieldSize, ...rest }: PasswordBaseInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Ref } from "react";
|
|
2
2
|
import { FormGroupProps } from "../FormGroup/FormGroup";
|
|
3
|
-
import {
|
|
3
|
+
import { PasswordBaseInputProps } from "./PasswordBaseInput/PasswordBaseInput";
|
|
4
4
|
type FormGroupExposedProps = Pick<FormGroupProps, "label" | "tip" | "helpText" | "helpAddon">;
|
|
5
|
-
export interface PasswordFieldProps extends Omit<
|
|
5
|
+
export interface PasswordFieldProps extends Omit<PasswordBaseInputProps, "obfuscate" | "actions">, FormGroupExposedProps {
|
|
6
6
|
/**
|
|
7
7
|
* If a value is set, the field is rendered in its invalid state.
|
|
8
8
|
*/
|
package/src/components/{PhoneInput/PhoneInput.d.ts → PhoneField/PhoneBaseInput/PhoneBaseInput.d.ts}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import { BaseInputProps } from "
|
|
2
|
+
import { BaseInputProps } from "../../BaseInput";
|
|
3
3
|
type BaseInputExposedProps = Omit<BaseInputProps, "actions">;
|
|
4
|
-
export interface
|
|
4
|
+
export interface PhoneBaseInputProps extends BaseInputExposedProps {
|
|
5
5
|
/**
|
|
6
6
|
* To disable the action button.
|
|
7
7
|
*
|
|
8
8
|
* @default false
|
|
9
|
-
* @memberof
|
|
9
|
+
* @memberof PhoneBaseInputProps
|
|
10
10
|
* @example
|
|
11
11
|
// * <PhoneInput disableAction />
|
|
12
12
|
*/
|
|
@@ -26,8 +26,5 @@ export interface PhoneInputProps extends BaseInputExposedProps {
|
|
|
26
26
|
* @param {string} [fieldSize="medium"] - The size of the input field.
|
|
27
27
|
* @param {boolean} [disableAction=false] - Whether the action button is disabled or not.
|
|
28
28
|
*/
|
|
29
|
-
export declare const
|
|
30
|
-
({ dataTestId, isInvalid, disabled, value, defaultValue, fieldSize, disableAction, onChange, readOnly, onFocus, onBlur, name, ref, ...rest }: PhoneInputProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
displayName: string;
|
|
32
|
-
};
|
|
29
|
+
export declare const PhoneBaseInput: ({ dataTestId, isInvalid, disabled, value, defaultValue, fieldSize, disableAction, onChange, readOnly, onFocus, onBlur, name, ref, ...rest }: PhoneBaseInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
30
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Ref } from "react";
|
|
2
2
|
import { FormGroupProps } from "../FormGroup/FormGroup";
|
|
3
|
-
import {
|
|
3
|
+
import { PhoneBaseInputProps } from "./PhoneBaseInput/PhoneBaseInput";
|
|
4
4
|
type FormGroupExposedProps = Pick<FormGroupProps, "label" | "tip" | "helpText" | "helpAddon" | "name">;
|
|
5
|
-
export interface PhoneFieldProps extends FormGroupExposedProps,
|
|
5
|
+
export interface PhoneFieldProps extends FormGroupExposedProps, PhoneBaseInputProps {
|
|
6
6
|
/**
|
|
7
7
|
* If a value is set, the field is rendered in its invalid state.
|
|
8
8
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CommonProps } from "@trackunit/react-components";
|
|
2
2
|
import { IconName } from "@trackunit/ui-icons";
|
|
3
3
|
import { CSSProperties, Ref } from "react";
|
|
4
|
-
import {
|
|
5
|
-
export interface SearchProps extends CommonProps,
|
|
4
|
+
import { TextBaseInputProps } from "../TextField/TextBaseInput/TextBaseInput";
|
|
5
|
+
export interface SearchProps extends CommonProps, TextBaseInputProps {
|
|
6
6
|
/**
|
|
7
7
|
* The name for the HTML element.
|
|
8
8
|
*/
|
package/src/components/{TextArea/TextArea.d.ts → TextAreaField/TextArea/TextAreaBaseInput.d.ts}
RENAMED
|
@@ -2,7 +2,7 @@ import { CommonProps } from "@trackunit/react-components";
|
|
|
2
2
|
import { Ref } from "react";
|
|
3
3
|
export type TextAreaResize = "none" | "vertical" | "horizontal" | "both";
|
|
4
4
|
type FilteredInputProps = Omit<React.InputHTMLAttributes<HTMLTextAreaElement>, "prefix" | "suffix">;
|
|
5
|
-
export interface
|
|
5
|
+
export interface TextAreaBaseInputProps extends FilteredInputProps, CommonProps {
|
|
6
6
|
/**
|
|
7
7
|
* Number of rows in the text area.
|
|
8
8
|
*/
|
|
@@ -30,8 +30,5 @@ export interface TextAreaProps extends FilteredInputProps, CommonProps {
|
|
|
30
30
|
* The TextArea is a base component, and should not be used very often.
|
|
31
31
|
* For most cases the TextAreaField is the correct component.
|
|
32
32
|
*/
|
|
33
|
-
export declare const
|
|
34
|
-
({ id, name, value, rows, disabled, placeholder, readOnly, tabIndex, onChange, onFocus, onBlur, maxLength, resize, defaultValue, required, dataTestId, isInvalid, className, ref, ...rest }: TextAreaProps): import("react/jsx-runtime").JSX.Element;
|
|
35
|
-
displayName: string;
|
|
36
|
-
};
|
|
33
|
+
export declare const TextAreaBaseInput: ({ id, name, value, rows, disabled, placeholder, readOnly, tabIndex, onChange, onFocus, onBlur, maxLength, resize, defaultValue, required, dataTestId, isInvalid, className, ref, ...rest }: TextAreaBaseInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
34
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CommonProps } from "@trackunit/react-components";
|
|
2
2
|
import { Ref } from "react";
|
|
3
3
|
import { FormGroupProps } from "../FormGroup/FormGroup";
|
|
4
|
-
import {
|
|
4
|
+
import { TextAreaBaseInputProps } from "./TextArea/TextAreaBaseInput";
|
|
5
5
|
type FormGroupExposedProps = Pick<FormGroupProps, "label" | "tip" | "helpText" | "helpAddon">;
|
|
6
|
-
export interface TextAreaFieldProps extends
|
|
6
|
+
export interface TextAreaFieldProps extends TextAreaBaseInputProps, FormGroupExposedProps, CommonProps {
|
|
7
7
|
/**
|
|
8
8
|
* Set the Maximal length of the value for the input.
|
|
9
9
|
* Adds a TextLengthIndicator to the right of the helpText.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseInputProps } from "../../BaseInput/BaseInput";
|
|
2
|
+
type BaseInputExposedProps = Omit<BaseInputProps, "type">;
|
|
3
|
+
export interface TextBaseInputProps extends BaseInputExposedProps {
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* A thin wrapper around the `BaseInput` component for text input fields.
|
|
7
|
+
*
|
|
8
|
+
* NOTE: If shown with a label, please use the `TextField` component instead.
|
|
9
|
+
*/
|
|
10
|
+
export declare const TextBaseInput: ({ ref, ...rest }: TextBaseInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormGroupProps } from "../FormGroup/FormGroup";
|
|
2
|
-
import {
|
|
2
|
+
import { TextBaseInputProps } from "../TextField/TextBaseInput/TextBaseInput";
|
|
3
3
|
type FormGroupExposedProps = Pick<FormGroupProps, "label" | "tip" | "helpText" | "helpAddon">;
|
|
4
|
-
export interface TextFieldProps extends
|
|
4
|
+
export interface TextFieldProps extends TextBaseInputProps, FormGroupExposedProps {
|
|
5
5
|
/**
|
|
6
6
|
* Set the Maximal length of the value for the input.
|
|
7
7
|
* Adds a TextLengthIndicator to the right of the helpText.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { BaseInputProps } from "
|
|
1
|
+
import { BaseInputProps } from "../../BaseInput";
|
|
2
2
|
type BaseInputExposedProps = Omit<BaseInputProps, "type">;
|
|
3
|
-
export interface
|
|
3
|
+
export interface UrlBaseInputProps extends BaseInputExposedProps {
|
|
4
4
|
/**
|
|
5
5
|
* To disable the action button.
|
|
6
6
|
*
|
|
7
7
|
* @default false
|
|
8
|
-
* @memberof
|
|
8
|
+
* @memberof UrlBaseInputProps
|
|
9
9
|
* @example
|
|
10
10
|
* <UrLInput disableAction />
|
|
11
11
|
*/
|
|
@@ -16,8 +16,5 @@ export interface UrlInputProps extends BaseInputExposedProps {
|
|
|
16
16
|
*
|
|
17
17
|
* NOTE: If shown with a label, please use the `UrlField` component instead.
|
|
18
18
|
*/
|
|
19
|
-
export declare const
|
|
20
|
-
({ dataTestId, isInvalid, disabled, fieldSize, disableAction, value, defaultValue, ref, ...rest }: UrlInputProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
displayName: string;
|
|
22
|
-
};
|
|
19
|
+
export declare const UrlBaseInput: ({ dataTestId, isInvalid, disabled, fieldSize, disableAction, value, defaultValue, ref, ...rest }: UrlBaseInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
20
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormGroupProps } from "../FormGroup/FormGroup";
|
|
2
|
-
import {
|
|
2
|
+
import { UrlBaseInputProps } from "./UrlBaseInput/UrlBaseInput";
|
|
3
3
|
type FormGroupExposedProps = Pick<FormGroupProps, "label" | "tip" | "helpText" | "helpAddon">;
|
|
4
|
-
export interface UrlFieldProps extends FormGroupExposedProps,
|
|
4
|
+
export interface UrlFieldProps extends FormGroupExposedProps, UrlBaseInputProps {
|
|
5
5
|
/**
|
|
6
6
|
* If a value is set, the field is rendered in its invalid state.
|
|
7
7
|
*/
|
package/src/index.d.ts
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
|
+
export * from "./components/DateField/DateBaseInput/DateBaseInput";
|
|
2
|
+
export * from "./components/NumberField/NumberBaseInput/NumberBaseInput";
|
|
3
|
+
export * from "./components/PhoneField/PhoneBaseInput/PhoneBaseInput";
|
|
4
|
+
export * from "./components/TextAreaField/TextArea/TextAreaBaseInput";
|
|
5
|
+
export * from "./components/TextField/TextBaseInput/TextBaseInput";
|
|
1
6
|
export * from "./components/ActionButton";
|
|
2
7
|
export * from "./components/BaseInput";
|
|
3
8
|
export * from "./components/Checkbox";
|
|
4
9
|
export * from "./components/CheckboxField/CheckboxField";
|
|
5
10
|
export * from "./components/ColorField/ColorField";
|
|
6
11
|
export * from "./components/DateField/DateField";
|
|
7
|
-
export * from "./components/DateInput/DateInput";
|
|
8
12
|
export * from "./components/DropZone/DropZone";
|
|
9
13
|
export * from "./components/DropZone/DropZoneDefaultLabel";
|
|
10
14
|
export * from "./components/EmailField/EmailField";
|
|
11
|
-
export * from "./components/EmailInput";
|
|
12
15
|
export * from "./components/FormGroup/FormGroup";
|
|
13
16
|
export * from "./components/Label";
|
|
14
17
|
export * from "./components/NumberField/NumberField";
|
|
15
|
-
export * from "./components/NumberInput/NumberInput";
|
|
16
18
|
export * from "./components/OptionCard/OptionCard";
|
|
17
|
-
export * from "./components/PasswordField";
|
|
18
|
-
export * from "./components/
|
|
19
|
+
export * from "./components/PasswordField/PasswordBaseInput/PasswordBaseInput";
|
|
20
|
+
export * from "./components/PasswordField/PasswordField";
|
|
21
|
+
export * from "./components/PhoneField/PhoneBaseInput/PhoneInputValidationUtils";
|
|
22
|
+
export * from "./components/PhoneField/PhoneBaseInput/PhoneNumberUtilities";
|
|
19
23
|
export * from "./components/PhoneField/PhoneField";
|
|
20
24
|
export * from "./components/PhoneFieldWithController/PhoneFieldWithController";
|
|
21
|
-
export * from "./components/PhoneInput/PhoneInput";
|
|
22
|
-
export * from "./components/PhoneInput/PhoneInputValidationUtils";
|
|
23
|
-
export * from "./components/PhoneInput/PhoneNumberUtilities";
|
|
24
25
|
export * from "./components/RadioGroup";
|
|
25
26
|
export * from "./components/Schedule/Schedule";
|
|
26
27
|
export * from "./components/Schedule/ScheduleParser";
|
|
@@ -29,10 +30,8 @@ export * from "./components/Select";
|
|
|
29
30
|
export * from "./components/SelectField/CreatableSelectField";
|
|
30
31
|
export * from "./components/SelectField/FormFieldSelectAdapter";
|
|
31
32
|
export * from "./components/SelectField/SelectField";
|
|
32
|
-
export * from "./components/
|
|
33
|
-
export * from "./components/TextAreaField";
|
|
33
|
+
export * from "./components/TextAreaField/TextAreaField";
|
|
34
34
|
export * from "./components/TextField";
|
|
35
|
-
export * from "./components/TextInput/TextInput";
|
|
36
35
|
export * from "./components/TimeRange";
|
|
37
36
|
export * from "./components/TimeRangeField/TimeRangeField";
|
|
38
37
|
export * from "./components/ToggleSwitch";
|
|
@@ -40,7 +39,6 @@ export * from "./components/ToggleSwitchOption";
|
|
|
40
39
|
export * from "./components/UploadField/UploadField";
|
|
41
40
|
export * from "./components/UploadInput/UploadInput";
|
|
42
41
|
export * from "./components/UrlField/UrlField";
|
|
43
|
-
export * from "./components/UrlInput/UrlInput";
|
|
44
42
|
export * from "./utilities/emailUtils";
|
|
45
43
|
export * from "./utilities/useGetPhoneValidationRules";
|
|
46
44
|
export * from "./utilities/usePhoneInput";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./EmailInput";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BaseInputProps } from "../BaseInput";
|
|
2
|
-
type BaseInputExposedProps = Omit<BaseInputProps, "type">;
|
|
3
|
-
export interface NumberInputProps extends BaseInputExposedProps {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* A thin wrapper around the `BaseInput` component for number input fields.
|
|
7
|
-
*
|
|
8
|
-
* NOTE: If shown with a label, please use the `NumberField` component instead.
|
|
9
|
-
*/
|
|
10
|
-
export declare const NumberInput: {
|
|
11
|
-
({ ref, ...rest }: NumberInputProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
14
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./PasswordField";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BaseInputProps } from "../BaseInput/BaseInput";
|
|
2
|
-
type BaseInputExposedProps = Omit<BaseInputProps, "type">;
|
|
3
|
-
export interface PasswordInputProps extends BaseInputExposedProps {
|
|
4
|
-
type?: "password" | "text";
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* A thin wrapper around the `BaseInput` component for password input fields.
|
|
8
|
-
*
|
|
9
|
-
* NOTE: If shown with a label, please use the `PasswordField` component instead.
|
|
10
|
-
*/
|
|
11
|
-
export declare const PasswordInput: {
|
|
12
|
-
({ ref, fieldSize, ...rest }: PasswordInputProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
15
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./PhoneInput";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./TextArea";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./TextAreaField";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BaseInputProps } from "../BaseInput/BaseInput";
|
|
2
|
-
type BaseInputExposedProps = Omit<BaseInputProps, "type">;
|
|
3
|
-
export interface TextInputProps extends BaseInputExposedProps {
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* A thin wrapper around the `BaseInput` component for text input fields.
|
|
7
|
-
*
|
|
8
|
-
* NOTE: If shown with a label, please use the `TextField` component instead.
|
|
9
|
-
*/
|
|
10
|
-
export declare const TextInput: {
|
|
11
|
-
({ ref, ...rest }: TextInputProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
14
|
-
export {};
|
|
File without changes
|
|
File without changes
|
/package/src/components/{PhoneInput → PhoneField/PhoneBaseInput}/PhoneInputValidationUtils.d.ts
RENAMED
|
File without changes
|
|
File without changes
|