@trackunit/react-form-components 1.11.32 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -7
- package/src/components/ColorField/ColorField.d.ts +1 -1
- package/src/components/DateField/DateBaseInput/DateBaseInput.d.ts +1 -1
- package/src/components/DropZone/DropZone.d.ts +1 -1
- package/src/components/EmailField/EmailBaseInput/EmailBaseInput.d.ts +1 -1
- package/src/components/EmailField/EmailField.d.ts +1 -1
- package/src/components/NumberField/NumberBaseInput/NumberBaseInput.d.ts +1 -1
- package/src/components/PhoneField/PhoneBaseInput/PhoneBaseInput.d.ts +1 -1
- package/src/components/Schedule/Schedule.d.ts +1 -1
- package/src/components/Schedule/ScheduleParser.d.ts +1 -1
- package/src/components/ToggleSwitchOption/ToggleSwitchOption.d.ts +1 -1
- package/src/components/UploadInput/UploadInput.d.ts +1 -1
- package/src/components/UrlField/UrlBaseInput/UrlBaseInput.d.ts +1 -1
- package/src/index.d.ts +16 -11
- package/src/components/ActionButton/index.d.ts +0 -2
- package/src/components/BaseInput/index.d.ts +0 -2
- package/src/components/Checkbox/index.d.ts +0 -1
- package/src/components/Label/index.d.ts +0 -2
- package/src/components/MultiSelectField/index.d.ts +0 -1
- package/src/components/RadioGroup/index.d.ts +0 -3
- package/src/components/Search/index.d.ts +0 -1
- package/src/components/TextField/index.d.ts +0 -1
- package/src/components/TimeRange/index.d.ts +0 -1
- package/src/components/ToggleSwitch/index.d.ts +0 -1
- package/src/components/ToggleSwitchOption/index.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-form-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"zod": "^3.23.8",
|
|
15
15
|
"react-hook-form": "7.62.0",
|
|
16
16
|
"tailwind-merge": "^2.0.0",
|
|
17
|
-
"@trackunit/css-class-variance-utilities": "1.
|
|
18
|
-
"@trackunit/react-components": "1.
|
|
19
|
-
"@trackunit/ui-icons": "1.
|
|
20
|
-
"@trackunit/shared-utils": "1.
|
|
21
|
-
"@trackunit/ui-design-tokens": "1.
|
|
22
|
-
"@trackunit/i18n-library-translation": "1.
|
|
17
|
+
"@trackunit/css-class-variance-utilities": "1.11.0",
|
|
18
|
+
"@trackunit/react-components": "1.15.0",
|
|
19
|
+
"@trackunit/ui-icons": "1.11.0",
|
|
20
|
+
"@trackunit/shared-utils": "1.13.0",
|
|
21
|
+
"@trackunit/ui-design-tokens": "1.11.0",
|
|
22
|
+
"@trackunit/i18n-library-translation": "1.11.0",
|
|
23
23
|
"string-ts": "^2.0.0",
|
|
24
24
|
"@js-temporal/polyfill": "^0.5.1",
|
|
25
25
|
"es-toolkit": "^1.39.10",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MappedOmit } from "@trackunit/shared-utils";
|
|
2
|
-
import { BaseInputProps } from "../BaseInput";
|
|
2
|
+
import { BaseInputProps } from "../BaseInput/BaseInput";
|
|
3
3
|
import { FormGroupProps } from "../FormGroup/FormGroup";
|
|
4
4
|
type FormGroupExposedProps = Pick<FormGroupProps, "label" | "tip" | "helpText" | "helpAddon">;
|
|
5
5
|
type ColorFieldBaseInputProps = MappedOmit<BaseInputProps, "prefix" | "suffix" | "addonBefore" | "addonAfter" | "actions" | "genericAction">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseInputProps } from "../../BaseInput";
|
|
1
|
+
import { BaseInputProps } from "../../BaseInput/BaseInput";
|
|
2
2
|
type BaseInputExposedProps = Omit<BaseInputProps, "defaultValue" | "min" | "max" | "value">;
|
|
3
3
|
export interface DateBaseInputProps extends BaseInputExposedProps {
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CommonProps, Size } from "@trackunit/react-components";
|
|
2
2
|
import { ReactElement, ReactNode } from "react";
|
|
3
|
-
import { BaseInputProps } from "../BaseInput";
|
|
3
|
+
import { BaseInputProps } from "../BaseInput/BaseInput";
|
|
4
4
|
type BaseInputExposedProps = Omit<BaseInputProps, "type" | "suffix" | "prefix" | "addonAfter" | "addonBefore" | "actions" | "placeholder" | "fieldSize" | "size">;
|
|
5
5
|
export interface DropZoneProps extends BaseInputExposedProps, CommonProps {
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseInputProps } from "../BaseInput";
|
|
1
|
+
import { BaseInputProps } from "../BaseInput/BaseInput";
|
|
2
2
|
import { FormGroupProps } from "../FormGroup/FormGroup";
|
|
3
3
|
type FormGroupExposedProps = Pick<FormGroupProps, "label" | "tip" | "helpText" | "helpAddon">;
|
|
4
4
|
export interface EmailFieldProps extends FormGroupExposedProps, BaseInputProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from "react";
|
|
2
|
-
import { BaseInputProps } from "../../BaseInput";
|
|
2
|
+
import { BaseInputProps } from "../../BaseInput/BaseInput";
|
|
3
3
|
type BaseInputExposedProps = Omit<BaseInputProps, "actions">;
|
|
4
4
|
export interface PhoneBaseInputProps extends BaseInputExposedProps {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonProps } from "@trackunit/react-components";
|
|
2
|
-
import { BaseInputProps } from "../BaseInput";
|
|
2
|
+
import { BaseInputProps } from "../BaseInput/BaseInput";
|
|
3
3
|
type BaseInputExposedProps = Omit<BaseInputProps, "type" | "suffix" | "prefix" | "addonAfter" | "addonBefore" | "actions" | "placeholder">;
|
|
4
4
|
export interface UploadInputProps extends BaseInputExposedProps, CommonProps {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from "react";
|
|
2
|
-
import { BaseInputProps } from "../../BaseInput";
|
|
2
|
+
import { BaseInputProps } from "../../BaseInput/BaseInput";
|
|
3
3
|
type BaseInputExposedProps = Omit<BaseInputProps, "type">;
|
|
4
4
|
export interface UrlBaseInputProps extends BaseInputExposedProps {
|
|
5
5
|
/**
|
package/src/index.d.ts
CHANGED
|
@@ -3,10 +3,12 @@ export * from "./components/NumberField/NumberBaseInput/NumberBaseInput";
|
|
|
3
3
|
export * from "./components/PhoneField/PhoneBaseInput/PhoneBaseInput";
|
|
4
4
|
export * from "./components/TextAreaField/TextArea/TextAreaBaseInput";
|
|
5
5
|
export * from "./components/TextField/TextBaseInput/TextBaseInput";
|
|
6
|
-
export * from "./components/ActionButton";
|
|
7
|
-
export * from "./components/
|
|
6
|
+
export * from "./components/ActionButton/ActionButton";
|
|
7
|
+
export * from "./components/ActionButton/ActionButton.variants";
|
|
8
|
+
export * from "./components/BaseInput/BaseInput";
|
|
9
|
+
export * from "./components/BaseInput/BaseInput.variants";
|
|
8
10
|
export * from "./components/BaseSelect";
|
|
9
|
-
export * from "./components/Checkbox";
|
|
11
|
+
export * from "./components/Checkbox/Checkbox";
|
|
10
12
|
export * from "./components/CheckboxField/CheckboxField";
|
|
11
13
|
export * from "./components/ColorField/ColorField";
|
|
12
14
|
export * from "./components/DateField/DateField";
|
|
@@ -14,8 +16,9 @@ export * from "./components/DropZone/DropZone";
|
|
|
14
16
|
export * from "./components/DropZone/DropZoneDefaultLabel";
|
|
15
17
|
export * from "./components/EmailField/EmailField";
|
|
16
18
|
export * from "./components/FormGroup/FormGroup";
|
|
17
|
-
export * from "./components/Label";
|
|
18
|
-
export * from "./components/
|
|
19
|
+
export * from "./components/Label/Label";
|
|
20
|
+
export * from "./components/Label/Label.variants";
|
|
21
|
+
export * from "./components/MultiSelectField/MultiSelectField";
|
|
19
22
|
export * from "./components/NumberField/NumberField";
|
|
20
23
|
export * from "./components/OptionCard/OptionCard";
|
|
21
24
|
export * from "./components/PasswordField/PasswordBaseInput/PasswordBaseInput";
|
|
@@ -24,19 +27,21 @@ export * from "./components/PhoneField/PhoneBaseInput/PhoneInputValidationUtils"
|
|
|
24
27
|
export * from "./components/PhoneField/PhoneBaseInput/PhoneNumberUtilities";
|
|
25
28
|
export * from "./components/PhoneField/PhoneField";
|
|
26
29
|
export * from "./components/PhoneFieldWithController/PhoneFieldWithController";
|
|
27
|
-
export * from "./components/RadioGroup";
|
|
30
|
+
export * from "./components/RadioGroup/RadioGroup";
|
|
31
|
+
export * from "./components/RadioGroup/RadioGroup.variants";
|
|
32
|
+
export * from "./components/RadioGroup/RadioItem";
|
|
28
33
|
export * from "./components/Schedule/Schedule";
|
|
29
34
|
export * from "./components/Schedule/ScheduleParser";
|
|
30
|
-
export * from "./components/Search";
|
|
35
|
+
export * from "./components/Search/Search";
|
|
31
36
|
export * from "./components/SelectField/CreatableSelectField";
|
|
32
37
|
export * from "./components/SelectField/FormFieldSelectAdapter";
|
|
33
38
|
export * from "./components/SelectField/SelectField";
|
|
34
39
|
export * from "./components/TextAreaField/TextAreaField";
|
|
35
|
-
export * from "./components/TextField";
|
|
36
|
-
export * from "./components/TimeRange";
|
|
40
|
+
export * from "./components/TextField/TextField";
|
|
41
|
+
export * from "./components/TimeRange/TimeRange";
|
|
37
42
|
export * from "./components/TimeRangeField/TimeRangeField";
|
|
38
|
-
export * from "./components/ToggleSwitch";
|
|
39
|
-
export * from "./components/ToggleSwitchOption";
|
|
43
|
+
export * from "./components/ToggleSwitch/ToggleSwitch";
|
|
44
|
+
export * from "./components/ToggleSwitchOption/ToggleSwitchOption";
|
|
40
45
|
export * from "./components/UploadField/UploadField";
|
|
41
46
|
export * from "./components/UploadInput/UploadInput";
|
|
42
47
|
export * from "./components/UrlField/UrlField";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./Checkbox";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./MultiSelectField";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./Search";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./TextField";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./TimeRange";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./ToggleSwitch";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./ToggleSwitchOption";
|