@uxf/form 11.80.0 → 11.80.2
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/{file-input → form/file-input}/file-input.stories.js +6 -6
- package/form/multi-select/multi-select.d.ts +14 -0
- package/{multi-select → form/multi-select}/multi-select.stories.js +2 -8
- package/form/storybook/storybook-form.d.ts +8 -0
- package/icons.d.ts +40 -0
- package/package.json +2 -2
- package/multi-select/multi-select.d.ts +0 -14
- package/storybook/storybook-form.d.ts +0 -8
- /package/{_code-generator → form/_code-generator}/form-code-generator.d.ts +0 -0
- /package/{_code-generator → form/_code-generator}/form-code-generator.js +0 -0
- /package/{avatar-file-input → form/avatar-file-input}/avatar-file-input.d.ts +0 -0
- /package/{avatar-file-input → form/avatar-file-input}/avatar-file-input.js +0 -0
- /package/{avatar-file-input → form/avatar-file-input}/avatar-file-input.stories.d.ts +0 -0
- /package/{avatar-file-input → form/avatar-file-input}/avatar-file-input.stories.js +0 -0
- /package/{avatar-file-input → form/avatar-file-input}/index.d.ts +0 -0
- /package/{avatar-file-input → form/avatar-file-input}/index.js +0 -0
- /package/{avatar-file-input → form/avatar-file-input}/translations.d.ts +0 -0
- /package/{avatar-file-input → form/avatar-file-input}/translations.js +0 -0
- /package/{bin → form/bin}/form-code-generator.d.ts +0 -0
- /package/{bin → form/bin}/form-code-generator.js +0 -0
- /package/{checkbox-button → form/checkbox-button}/checkbox-button.d.ts +0 -0
- /package/{checkbox-button → form/checkbox-button}/checkbox-button.js +0 -0
- /package/{checkbox-button → form/checkbox-button}/checkbox-button.stories.d.ts +0 -0
- /package/{checkbox-button → form/checkbox-button}/checkbox-button.stories.js +0 -0
- /package/{checkbox-button → form/checkbox-button}/index.d.ts +0 -0
- /package/{checkbox-button → form/checkbox-button}/index.js +0 -0
- /package/{checkbox-button → form/checkbox-button}/translations.d.ts +0 -0
- /package/{checkbox-button → form/checkbox-button}/translations.js +0 -0
- /package/{checkbox-input → form/checkbox-input}/checkbox-input.d.ts +0 -0
- /package/{checkbox-input → form/checkbox-input}/checkbox-input.js +0 -0
- /package/{checkbox-input → form/checkbox-input}/checkbox-input.stories.d.ts +0 -0
- /package/{checkbox-input → form/checkbox-input}/checkbox-input.stories.js +0 -0
- /package/{checkbox-input → form/checkbox-input}/index.d.ts +0 -0
- /package/{checkbox-input → form/checkbox-input}/index.js +0 -0
- /package/{checkbox-input → form/checkbox-input}/translations.d.ts +0 -0
- /package/{checkbox-input → form/checkbox-input}/translations.js +0 -0
- /package/{checkbox-list → form/checkbox-list}/checkbox-list.d.ts +0 -0
- /package/{checkbox-list → form/checkbox-list}/checkbox-list.js +0 -0
- /package/{checkbox-list → form/checkbox-list}/checkbox-list.stories.d.ts +0 -0
- /package/{checkbox-list → form/checkbox-list}/checkbox-list.stories.js +0 -0
- /package/{checkbox-list → form/checkbox-list}/index.d.ts +0 -0
- /package/{checkbox-list → form/checkbox-list}/index.js +0 -0
- /package/{checkbox-list → form/checkbox-list}/translations.d.ts +0 -0
- /package/{checkbox-list → form/checkbox-list}/translations.js +0 -0
- /package/{color-radio-group → form/color-radio-group}/color-radio-group.d.ts +0 -0
- /package/{color-radio-group → form/color-radio-group}/color-radio-group.js +0 -0
- /package/{color-radio-group → form/color-radio-group}/color-radio-group.stories.d.ts +0 -0
- /package/{color-radio-group → form/color-radio-group}/color-radio-group.stories.js +0 -0
- /package/{color-radio-group → form/color-radio-group}/index.d.ts +0 -0
- /package/{color-radio-group → form/color-radio-group}/index.js +0 -0
- /package/{color-radio-group → form/color-radio-group}/translations.d.ts +0 -0
- /package/{color-radio-group → form/color-radio-group}/translations.js +0 -0
- /package/{combobox → form/combobox}/combobox.d.ts +0 -0
- /package/{combobox → form/combobox}/combobox.js +0 -0
- /package/{combobox → form/combobox}/combobox.stories.d.ts +0 -0
- /package/{combobox → form/combobox}/combobox.stories.js +0 -0
- /package/{combobox → form/combobox}/index.d.ts +0 -0
- /package/{combobox → form/combobox}/index.js +0 -0
- /package/{combobox → form/combobox}/translations.d.ts +0 -0
- /package/{combobox → form/combobox}/translations.js +0 -0
- /package/{components.d.ts → form/components.d.ts} +0 -0
- /package/{components.js → form/components.js} +0 -0
- /package/{date-picker-input → form/date-picker-input}/date-picker-input.d.ts +0 -0
- /package/{date-picker-input → form/date-picker-input}/date-picker-input.js +0 -0
- /package/{date-picker-input → form/date-picker-input}/date-picker-input.stories.d.ts +0 -0
- /package/{date-picker-input → form/date-picker-input}/date-picker-input.stories.js +0 -0
- /package/{date-picker-input → form/date-picker-input}/index.d.ts +0 -0
- /package/{date-picker-input → form/date-picker-input}/index.js +0 -0
- /package/{date-picker-input → form/date-picker-input}/translations.d.ts +0 -0
- /package/{date-picker-input → form/date-picker-input}/translations.js +0 -0
- /package/{date-range-picker-input → form/date-range-picker-input}/date-range-picker-input.d.ts +0 -0
- /package/{date-range-picker-input → form/date-range-picker-input}/date-range-picker-input.js +0 -0
- /package/{date-range-picker-input → form/date-range-picker-input}/date-range-picker-input.stories.d.ts +0 -0
- /package/{date-range-picker-input → form/date-range-picker-input}/date-range-picker-input.stories.js +0 -0
- /package/{date-range-picker-input → form/date-range-picker-input}/index.d.ts +0 -0
- /package/{date-range-picker-input → form/date-range-picker-input}/index.js +0 -0
- /package/{date-range-picker-input → form/date-range-picker-input}/translations.d.ts +0 -0
- /package/{date-range-picker-input → form/date-range-picker-input}/translations.js +0 -0
- /package/{datetime-picker-input → form/datetime-picker-input}/datetime-picker-input.d.ts +0 -0
- /package/{datetime-picker-input → form/datetime-picker-input}/datetime-picker-input.js +0 -0
- /package/{datetime-picker-input → form/datetime-picker-input}/datetime-picker-input.stories.d.ts +0 -0
- /package/{datetime-picker-input → form/datetime-picker-input}/datetime-picker-input.stories.js +0 -0
- /package/{datetime-picker-input → form/datetime-picker-input}/index.d.ts +0 -0
- /package/{datetime-picker-input → form/datetime-picker-input}/index.js +0 -0
- /package/{datetime-picker-input → form/datetime-picker-input}/translations.d.ts +0 -0
- /package/{datetime-picker-input → form/datetime-picker-input}/translations.js +0 -0
- /package/{dropzone → form/dropzone}/dropzone-input.d.ts +0 -0
- /package/{dropzone → form/dropzone}/dropzone-input.js +0 -0
- /package/{dropzone → form/dropzone}/dropzone-list.d.ts +0 -0
- /package/{dropzone → form/dropzone}/dropzone-list.js +0 -0
- /package/{dropzone → form/dropzone}/dropzone.stories.d.ts +0 -0
- /package/{dropzone → form/dropzone}/dropzone.stories.js +0 -0
- /package/{dropzone → form/dropzone}/index.d.ts +0 -0
- /package/{dropzone → form/dropzone}/index.js +0 -0
- /package/{dropzone → form/dropzone}/translations.d.ts +0 -0
- /package/{dropzone → form/dropzone}/translations.js +0 -0
- /package/{file-input → form/file-input}/file-input.d.ts +0 -0
- /package/{file-input → form/file-input}/file-input.js +0 -0
- /package/{file-input → form/file-input}/file-input.stories.d.ts +0 -0
- /package/{file-input → form/file-input}/index.d.ts +0 -0
- /package/{file-input → form/file-input}/index.js +0 -0
- /package/{file-input → form/file-input}/translations.d.ts +0 -0
- /package/{file-input → form/file-input}/translations.js +0 -0
- /package/form/{form.d.ts → form/form.d.ts} +0 -0
- /package/form/{form.js → form/form.js} +0 -0
- /package/form/{form.stories.d.ts → form/form.stories.d.ts} +0 -0
- /package/form/{form.stories.js → form/form.stories.js} +0 -0
- /package/form/{index.d.ts → form/index.d.ts} +0 -0
- /package/form/{index.js → form/index.js} +0 -0
- /package/{form-id-context → form/form-id-context}/form-context.d.ts +0 -0
- /package/{form-id-context → form/form-id-context}/form-context.js +0 -0
- /package/{form-id-context → form/form-id-context}/form-id-context.d.ts +0 -0
- /package/{form-id-context → form/form-id-context}/form-id-context.js +0 -0
- /package/{form-id-context → form/form-id-context}/index.d.ts +0 -0
- /package/{form-id-context → form/form-id-context}/index.js +0 -0
- /package/{form-renderer → form/form-renderer}/big-test-schema.d.ts +0 -0
- /package/{form-renderer → form/form-renderer}/big-test-schema.js +0 -0
- /package/{form-renderer → form/form-renderer}/field/base-field.d.ts +0 -0
- /package/{form-renderer → form/form-renderer}/field/base-field.js +0 -0
- /package/{form-renderer → form/form-renderer}/field/embedded.d.ts +0 -0
- /package/{form-renderer → form/form-renderer}/field/embedded.js +0 -0
- /package/{form-renderer → form/form-renderer}/field/one-to-many.d.ts +0 -0
- /package/{form-renderer → form/form-renderer}/field/one-to-many.js +0 -0
- /package/{form-renderer → form/form-renderer}/form-renderer.d.ts +0 -0
- /package/{form-renderer → form/form-renderer}/form-renderer.js +0 -0
- /package/{form-renderer → form/form-renderer}/form-renderer.stories.d.ts +0 -0
- /package/{form-renderer → form/form-renderer}/form-renderer.stories.js +0 -0
- /package/{form-renderer → form/form-renderer}/index.d.ts +0 -0
- /package/{form-renderer → form/form-renderer}/index.js +0 -0
- /package/{form-renderer → form/form-renderer}/mapper.d.ts +0 -0
- /package/{form-renderer → form/form-renderer}/mapper.js +0 -0
- /package/{form-renderer → form/form-renderer}/translations.d.ts +0 -0
- /package/{form-renderer → form/form-renderer}/translations.js +0 -0
- /package/{form-renderer → form/form-renderer}/types.d.ts +0 -0
- /package/{form-renderer → form/form-renderer}/types.js +0 -0
- /package/{gps-input → form/gps-input}/gps-input.d.ts +0 -0
- /package/{gps-input → form/gps-input}/gps-input.js +0 -0
- /package/{gps-input → form/gps-input}/gps-input.stories.d.ts +0 -0
- /package/{gps-input → form/gps-input}/gps-input.stories.js +0 -0
- /package/{gps-input → form/gps-input}/index.d.ts +0 -0
- /package/{gps-input → form/gps-input}/index.js +0 -0
- /package/{gps-input → form/gps-input}/translations.d.ts +0 -0
- /package/{gps-input → form/gps-input}/translations.js +0 -0
- /package/{money-input → form/money-input}/index.d.ts +0 -0
- /package/{money-input → form/money-input}/index.js +0 -0
- /package/{money-input → form/money-input}/money-input.d.ts +0 -0
- /package/{money-input → form/money-input}/money-input.js +0 -0
- /package/{money-input → form/money-input}/money-input.stories.d.ts +0 -0
- /package/{money-input → form/money-input}/money-input.stories.js +0 -0
- /package/{money-input → form/money-input}/translations.d.ts +0 -0
- /package/{money-input → form/money-input}/translations.js +0 -0
- /package/{multi-combobox → form/multi-combobox}/index.d.ts +0 -0
- /package/{multi-combobox → form/multi-combobox}/index.js +0 -0
- /package/{multi-combobox → form/multi-combobox}/multi-combobox.d.ts +0 -0
- /package/{multi-combobox → form/multi-combobox}/multi-combobox.js +0 -0
- /package/{multi-combobox → form/multi-combobox}/multi-combobox.stories.d.ts +0 -0
- /package/{multi-combobox → form/multi-combobox}/multi-combobox.stories.js +0 -0
- /package/{multi-combobox → form/multi-combobox}/translations.d.ts +0 -0
- /package/{multi-combobox → form/multi-combobox}/translations.js +0 -0
- /package/{multi-select → form/multi-select}/index.d.ts +0 -0
- /package/{multi-select → form/multi-select}/index.js +0 -0
- /package/{multi-select → form/multi-select}/multi-select.js +0 -0
- /package/{multi-select → form/multi-select}/multi-select.stories.d.ts +0 -0
- /package/{multi-select → form/multi-select}/translations.d.ts +0 -0
- /package/{multi-select → form/multi-select}/translations.js +0 -0
- /package/{number-input → form/number-input}/index.d.ts +0 -0
- /package/{number-input → form/number-input}/index.js +0 -0
- /package/{number-input → form/number-input}/number-input.d.ts +0 -0
- /package/{number-input → form/number-input}/number-input.js +0 -0
- /package/{number-input → form/number-input}/number-input.stories.d.ts +0 -0
- /package/{number-input → form/number-input}/number-input.stories.js +0 -0
- /package/{number-input → form/number-input}/translations.d.ts +0 -0
- /package/{number-input → form/number-input}/translations.js +0 -0
- /package/{password-input → form/password-input}/index.d.ts +0 -0
- /package/{password-input → form/password-input}/index.js +0 -0
- /package/{password-input → form/password-input}/password-input.d.ts +0 -0
- /package/{password-input → form/password-input}/password-input.js +0 -0
- /package/{password-input → form/password-input}/password-input.stories.d.ts +0 -0
- /package/{password-input → form/password-input}/password-input.stories.js +0 -0
- /package/{password-input → form/password-input}/translations.d.ts +0 -0
- /package/{password-input → form/password-input}/translations.js +0 -0
- /package/{radio-group → form/radio-group}/index.d.ts +0 -0
- /package/{radio-group → form/radio-group}/index.js +0 -0
- /package/{radio-group → form/radio-group}/radio-group.d.ts +0 -0
- /package/{radio-group → form/radio-group}/radio-group.js +0 -0
- /package/{radio-group → form/radio-group}/radio-group.stories.d.ts +0 -0
- /package/{radio-group → form/radio-group}/radio-group.stories.js +0 -0
- /package/{radio-group → form/radio-group}/translations.d.ts +0 -0
- /package/{radio-group → form/radio-group}/translations.js +0 -0
- /package/{readmes.d.ts → form/readmes.d.ts} +0 -0
- /package/{readmes.js → form/readmes.js} +0 -0
- /package/{select → form/select}/index.d.ts +0 -0
- /package/{select → form/select}/index.js +0 -0
- /package/{select → form/select}/select.d.ts +0 -0
- /package/{select → form/select}/select.js +0 -0
- /package/{select → form/select}/select.stories.d.ts +0 -0
- /package/{select → form/select}/select.stories.js +0 -0
- /package/{select → form/select}/translations.d.ts +0 -0
- /package/{select → form/select}/translations.js +0 -0
- /package/{storybook → form/storybook}/form-data-printer.d.ts +0 -0
- /package/{storybook → form/storybook}/form-data-printer.js +0 -0
- /package/{storybook → form/storybook}/storybook-form.js +0 -0
- /package/{text-input → form/text-input}/index.d.ts +0 -0
- /package/{text-input → form/text-input}/index.js +0 -0
- /package/{text-input → form/text-input}/text-input.d.ts +0 -0
- /package/{text-input → form/text-input}/text-input.js +0 -0
- /package/{text-input → form/text-input}/text-input.stories.d.ts +0 -0
- /package/{text-input → form/text-input}/text-input.stories.js +0 -0
- /package/{text-input → form/text-input}/translations.d.ts +0 -0
- /package/{text-input → form/text-input}/translations.js +0 -0
- /package/{textarea → form/textarea}/index.d.ts +0 -0
- /package/{textarea → form/textarea}/index.js +0 -0
- /package/{textarea → form/textarea}/textarea.d.ts +0 -0
- /package/{textarea → form/textarea}/textarea.js +0 -0
- /package/{textarea → form/textarea}/textarea.stories.d.ts +0 -0
- /package/{textarea → form/textarea}/textarea.stories.js +0 -0
- /package/{textarea → form/textarea}/translations.d.ts +0 -0
- /package/{textarea → form/textarea}/translations.js +0 -0
- /package/{time-picker-input → form/time-picker-input}/index.d.ts +0 -0
- /package/{time-picker-input → form/time-picker-input}/index.js +0 -0
- /package/{time-picker-input → form/time-picker-input}/time-picker-input.d.ts +0 -0
- /package/{time-picker-input → form/time-picker-input}/time-picker-input.js +0 -0
- /package/{time-picker-input → form/time-picker-input}/time-picker-input.stories.d.ts +0 -0
- /package/{time-picker-input → form/time-picker-input}/time-picker-input.stories.js +0 -0
- /package/{time-picker-input → form/time-picker-input}/translations.d.ts +0 -0
- /package/{time-picker-input → form/time-picker-input}/translations.js +0 -0
- /package/{toggle → form/toggle}/index.d.ts +0 -0
- /package/{toggle → form/toggle}/index.js +0 -0
- /package/{toggle → form/toggle}/toggle.d.ts +0 -0
- /package/{toggle → form/toggle}/toggle.js +0 -0
- /package/{toggle → form/toggle}/toggle.stories.d.ts +0 -0
- /package/{toggle → form/toggle}/toggle.stories.js +0 -0
- /package/{toggle → form/toggle}/translations.d.ts +0 -0
- /package/{toggle → form/toggle}/translations.js +0 -0
- /package/{translations → form/translations}/translations.d.ts +0 -0
- /package/{translations → form/translations}/translations.js +0 -0
- /package/{types.d.ts → form/types.d.ts} +0 -0
- /package/{types.js → form/types.js} +0 -0
|
@@ -21,11 +21,11 @@ const DUMMY_FILE = {
|
|
|
21
21
|
extension: "jpg",
|
|
22
22
|
};
|
|
23
23
|
function Default() {
|
|
24
|
-
const storyFormFileInputs = (control
|
|
25
|
-
react_1.default.createElement(file_input_1.FileInput, { control: control, isClearable: true, label: "Default file input", name:
|
|
26
|
-
react_1.default.createElement(file_input_1.FileInput, { control: control, id:
|
|
27
|
-
react_1.default.createElement(file_input_1.FileInput, { control: control, isClearable: true, label: "Custom button label", name:
|
|
24
|
+
const storyFormFileInputs = (control) => (react_1.default.createElement("div", { className: "space-y-4" },
|
|
25
|
+
react_1.default.createElement(file_input_1.FileInput, { control: control, isClearable: true, label: "Default file input", name: "default", onUploadFile: upload_file_mock_1.uploadFile, placeholder: "Nahraj soubor" }),
|
|
26
|
+
react_1.default.createElement(file_input_1.FileInput, { control: control, id: "required-light", isRequired: true, label: "Required file input", name: "required", onUploadFile: upload_file_mock_1.uploadFile }),
|
|
27
|
+
react_1.default.createElement(file_input_1.FileInput, { control: control, isClearable: true, label: "Custom button label", name: "custom", onUploadFile: upload_file_mock_1.uploadFile, placeholder: "Nahrajte soubor", uploadButtonLabel: "Nahrajte dokument" }),
|
|
28
28
|
react_1.default.createElement(button_1.Button, { type: "submit" }, "Submit")));
|
|
29
|
-
return (react_1.default.createElement(storybook_form_1.StorybookForm, { defaultValues: {
|
|
30
|
-
react_1.default.createElement("div", { className: "space-y-2 p-20 lg:w-1/2" }, storyFormFileInputs(control
|
|
29
|
+
return (react_1.default.createElement(storybook_form_1.StorybookForm, { defaultValues: { default: DUMMY_FILE } }, ({ control }) => (react_1.default.createElement("div", { className: "flex flex-col lg:flex-row" },
|
|
30
|
+
react_1.default.createElement("div", { className: "space-y-2 p-20 lg:w-1/2" }, storyFormFileInputs(control))))));
|
|
31
31
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SelectableId } from "@uxf/core/types";
|
|
2
|
+
import { MultiSelectProps as UIMultiSelectProps } from "@uxf/ui/multi-select";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { FieldValues } from "react-hook-form";
|
|
5
|
+
import { ControlProps } from "../types";
|
|
6
|
+
export type MultiSelectProps<FormData extends FieldValues> = ControlProps<FormData> & Omit<UIMultiSelectProps, "isFocused" | "isInvalid" | "name" | "onChange" | "value"> & {
|
|
7
|
+
onChange?: UIMultiSelectProps["onChange"];
|
|
8
|
+
requiredMessage?: string;
|
|
9
|
+
};
|
|
10
|
+
export type MultiSelectValue<T extends SelectableId> = T[] | null;
|
|
11
|
+
export declare function MultiSelect<FormData extends Record<string, any>>(props: MultiSelectProps<FormData>): React.JSX.Element;
|
|
12
|
+
export declare namespace MultiSelect {
|
|
13
|
+
var displayName: string;
|
|
14
|
+
}
|
|
@@ -33,14 +33,8 @@ function Default() {
|
|
|
33
33
|
react_1.default.createElement(multi_select_1.MultiSelect, { control: control, id: "form-multi-select-required", label: "MultiSelect required", name: "multi-select-required", options: options, placeholder: "Vyberte..." }),
|
|
34
34
|
react_1.default.createElement(button_1.Button, { type: "submit" }, "Submit")));
|
|
35
35
|
return (react_1.default.createElement(storybook_form_1.StorybookForm, { defaultValues: {
|
|
36
|
-
"multi-select-with-disabled": [
|
|
37
|
-
|
|
38
|
-
{ id: "two", label: "Option two disabled", disabled: true },
|
|
39
|
-
],
|
|
40
|
-
"multi-select": [
|
|
41
|
-
{ id: "one", label: "Option one" },
|
|
42
|
-
{ id: "two", label: "Option two" },
|
|
43
|
-
],
|
|
36
|
+
"multi-select-with-disabled": ["one", "two"],
|
|
37
|
+
"multi-select": ["one", "two"],
|
|
44
38
|
"multi-select-required": [],
|
|
45
39
|
} }, ({ control }) => (react_1.default.createElement("div", { className: "flex flex-col lg:flex-row" },
|
|
46
40
|
react_1.default.createElement("div", { className: "space-y-2 p-20 lg:w-1/2" }, storyFormMultiSelect(control))))));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { FieldValues, UseFormProps, UseFormReturn } from "react-hook-form";
|
|
3
|
+
interface FormProps<TFieldValues extends FieldValues> extends UseFormProps<TFieldValues> {
|
|
4
|
+
children: (form: UseFormReturn<TFieldValues>) => ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function StorybookForm<TFieldValues extends FieldValues>(props: FormProps<TFieldValues>): React.JSX.Element;
|
|
8
|
+
export {};
|
package/icons.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare module "@uxf/ui/icon/theme" {
|
|
2
|
+
interface IconsSet {
|
|
3
|
+
"angle-left": true;
|
|
4
|
+
"angle-right": true;
|
|
5
|
+
"arrow-left": true;
|
|
6
|
+
"arrow-right": true;
|
|
7
|
+
bars: true;
|
|
8
|
+
calendar: true;
|
|
9
|
+
camera: true;
|
|
10
|
+
caretDown: true;
|
|
11
|
+
check: true;
|
|
12
|
+
chevronDown: true;
|
|
13
|
+
chevronLeft: true;
|
|
14
|
+
chevronRight: true;
|
|
15
|
+
chevronUp: true;
|
|
16
|
+
chevronsLeft: true;
|
|
17
|
+
chevronsRight: true;
|
|
18
|
+
clock: true;
|
|
19
|
+
cloud: true;
|
|
20
|
+
copy: true;
|
|
21
|
+
"ellipsis-vertical": true;
|
|
22
|
+
eye: true;
|
|
23
|
+
"eye-slash": true;
|
|
24
|
+
file: true;
|
|
25
|
+
imageFile: true;
|
|
26
|
+
minus: true;
|
|
27
|
+
plus: true;
|
|
28
|
+
"solid-badge-check": true;
|
|
29
|
+
"solid-circle-info": true;
|
|
30
|
+
"solid-octagon-xmark": true;
|
|
31
|
+
"solid-triangle-exclamation": true;
|
|
32
|
+
trash: true;
|
|
33
|
+
"triangle-exclamation": true;
|
|
34
|
+
"triangle-exclamation-solid": true;
|
|
35
|
+
user: true;
|
|
36
|
+
videoFile: true;
|
|
37
|
+
xmark: true;
|
|
38
|
+
xmarkLarge: true;
|
|
39
|
+
}
|
|
40
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uxf/form",
|
|
3
|
-
"version": "11.80.
|
|
3
|
+
"version": "11.80.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@uxf/core": "11.80.0",
|
|
20
20
|
"@uxf/core-react": "11.80.0",
|
|
21
|
-
"@uxf/ui": "11.80.
|
|
21
|
+
"@uxf/ui": "11.80.2",
|
|
22
22
|
"coordinate-parser": "1.0.7",
|
|
23
23
|
"dayjs": "1.11.13",
|
|
24
24
|
"react-hook-form": "7.53.0"
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SelectableId } from "@uxf/core/types";
|
|
2
|
-
import { MultiSelectProps as UIMultiSelectProps, MultiSelectValue as UIMultiSelectValue } from "@uxf/ui/multi-select";
|
|
3
|
-
import React from "react";
|
|
4
|
-
import { FieldValues } from "react-hook-form";
|
|
5
|
-
import { ControlProps } from "../types";
|
|
6
|
-
export type ComboProps<FormData extends FieldValues> = ControlProps<FormData> & Omit<UIMultiSelectProps, "isFocused" | "isInvalid" | "name" | "onChange" | "value"> & {
|
|
7
|
-
onChange?: UIMultiSelectProps["onChange"];
|
|
8
|
-
requiredMessage?: string;
|
|
9
|
-
};
|
|
10
|
-
export type MultiSelectValue<T extends SelectableId> = UIMultiSelectValue<T>;
|
|
11
|
-
export declare function MultiSelect<FormData extends Record<string, any>>(props: ComboProps<FormData>): React.JSX.Element;
|
|
12
|
-
export declare namespace MultiSelect {
|
|
13
|
-
var displayName: string;
|
|
14
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { UseFormProps, UseFormReturn } from "react-hook-form";
|
|
3
|
-
interface FormProps extends UseFormProps {
|
|
4
|
-
children: (form: UseFormReturn) => ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function StorybookForm(props: FormProps): React.JSX.Element;
|
|
8
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{date-range-picker-input → form/date-range-picker-input}/date-range-picker-input.d.ts
RENAMED
|
File without changes
|
/package/{date-range-picker-input → form/date-range-picker-input}/date-range-picker-input.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/{date-range-picker-input → form/date-range-picker-input}/date-range-picker-input.stories.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{datetime-picker-input → form/datetime-picker-input}/datetime-picker-input.stories.d.ts
RENAMED
|
File without changes
|
/package/{datetime-picker-input → form/datetime-picker-input}/datetime-picker-input.stories.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|