@intlayer/design-system 3.2.2 → 3.3.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/dist/.vite/manifest.json +9 -8
- package/dist/Form-CQpKjeW6.js +301 -0
- package/dist/Form-CQpKjeW6.js.map +1 -0
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs +14 -0
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.cjs.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.d.ts.map +1 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs +15 -1
- package/dist/components/Auth/ChangePasswordForm/ChangePasswordForm.mjs.map +1 -1
- package/dist/components/Auth/ResetPasswordForm/ResetPasswordForm.mjs +1 -1
- package/dist/components/Auth/SignInForm/SignInForm.mjs +1 -1
- package/dist/components/Auth/SignUpForm/SignUpForm.mjs +1 -1
- package/dist/components/Button/Button.d.ts +2 -2
- package/dist/components/Command/index.d.ts +9 -9
- package/dist/components/Container/index.d.ts +2 -2
- package/dist/components/DictionaryEditor/ValidDictionaryChangeButtons.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/DictionariesSelector/DictionariesSelector.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.d.ts +2 -2
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.d.ts +4 -4
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/EditorView.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/EditorView/TextEditor.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +1 -1
- package/dist/components/Form/Form.mjs +1 -1
- package/dist/components/Form/elements/CheckboxElement.mjs +1 -1
- package/dist/components/Form/elements/EditableFieldInputElement.mjs +1 -1
- package/dist/components/Form/elements/EditableFieldTextAreaElement.mjs +2 -2
- package/dist/components/Form/elements/FormElement.mjs +2 -2
- package/dist/components/Form/elements/InputElement.mjs +1 -1
- package/dist/components/Form/elements/InputPasswordElement.mjs +2 -2
- package/dist/components/Form/elements/MultiselectElement.mjs +1 -1
- package/dist/components/Form/elements/SelectElement.mjs +1 -1
- package/dist/components/Form/elements/SwitchSelectorElement.mjs +1 -1
- package/dist/components/Form/elements/TextAreaElement.mjs +1 -1
- package/dist/components/Form/elements/index.mjs +4 -4
- package/dist/components/Form/index.mjs +1 -1
- package/dist/components/Form/layout/FormItemLayout.mjs +2 -2
- package/dist/components/Form/layout/index.mjs +2 -2
- package/dist/components/Input/Checkbox.d.ts +1 -1
- package/dist/components/Select/Multiselect.d.ts +2 -2
- package/dist/components/Tag/index.cjs +2 -1
- package/dist/components/Tag/index.cjs.map +1 -1
- package/dist/components/Tag/index.d.ts +2 -2
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Tag/index.mjs +2 -1
- package/dist/components/Tag/index.mjs.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/index.cjs +1 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +2 -1
- package/dist/hooks/intlayerAPIHooks.cjs +13 -2
- package/dist/hooks/intlayerAPIHooks.cjs.map +1 -1
- package/dist/hooks/intlayerAPIHooks.d.ts +1 -0
- package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -1
- package/dist/hooks/intlayerAPIHooks.mjs +13 -2
- package/dist/hooks/intlayerAPIHooks.mjs.map +1 -1
- package/dist/hooks/useAsync/useAsync.cjs +1 -1
- package/dist/hooks/useAsync/useAsync.cjs.map +1 -1
- package/dist/hooks/useAsync/useAsync.mjs +1 -1
- package/dist/hooks/useAsync/useAsync.mjs.map +1 -1
- package/dist/hooks/useIntlayerAPI.d.ts +1 -0
- package/dist/hooks/useIntlayerAPI.d.ts.map +1 -1
- package/dist/hooks/usePersistedStore.cjs +3 -2
- package/dist/hooks/usePersistedStore.cjs.map +1 -1
- package/dist/hooks/usePersistedStore.d.ts.map +1 -1
- package/dist/hooks/usePersistedStore.mjs +3 -2
- package/dist/hooks/usePersistedStore.mjs.map +1 -1
- package/dist/libs/intlayer-api/index.cjs +1 -1
- package/dist/libs/intlayer-api/index.cjs.map +1 -1
- package/dist/libs/intlayer-api/index.d.ts +2 -0
- package/dist/libs/intlayer-api/index.d.ts.map +1 -1
- package/dist/libs/intlayer-api/index.mjs +1 -1
- package/dist/libs/intlayer-api/index.mjs.map +1 -1
- package/dist/libs/intlayer-api/stripe.cjs +12 -3
- package/dist/libs/intlayer-api/stripe.cjs.map +1 -1
- package/dist/libs/intlayer-api/stripe.d.ts +1 -0
- package/dist/libs/intlayer-api/stripe.d.ts.map +1 -1
- package/dist/libs/intlayer-api/stripe.mjs +12 -3
- package/dist/libs/intlayer-api/stripe.mjs.map +1 -1
- package/dist/tailwind.css +1 -1
- package/package.json +15 -15
|
@@ -6,7 +6,7 @@ export declare const CommandRoot: import('react').ForwardRefExoticComponent<Omit
|
|
|
6
6
|
ref?: React.Ref<HTMLDivElement>;
|
|
7
7
|
} & {
|
|
8
8
|
asChild?: boolean;
|
|
9
|
-
}, "key" |
|
|
9
|
+
}, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
10
10
|
label?: string;
|
|
11
11
|
shouldFilter?: boolean;
|
|
12
12
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -40,7 +40,7 @@ export declare const Command: {
|
|
|
40
40
|
ref?: React.Ref<HTMLInputElement>;
|
|
41
41
|
} & {
|
|
42
42
|
asChild?: boolean;
|
|
43
|
-
}, "key" |
|
|
43
|
+
}, "key" | keyof import('react').InputHTMLAttributes<HTMLInputElement> | "asChild">, "onChange" | "type" | "value"> & {
|
|
44
44
|
value?: string;
|
|
45
45
|
onValueChange?: (search: string) => void;
|
|
46
46
|
} & import('react').RefAttributes<HTMLInputElement>, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -50,7 +50,7 @@ export declare const Command: {
|
|
|
50
50
|
ref?: React.Ref<HTMLDivElement>;
|
|
51
51
|
} & {
|
|
52
52
|
asChild?: boolean;
|
|
53
|
-
}, "key" |
|
|
53
|
+
}, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
54
54
|
label?: string;
|
|
55
55
|
} & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
56
56
|
Empty: import('react').ForwardRefExoticComponent<Omit<{
|
|
@@ -59,14 +59,14 @@ export declare const Command: {
|
|
|
59
59
|
ref?: React.Ref<HTMLDivElement>;
|
|
60
60
|
} & {
|
|
61
61
|
asChild?: boolean;
|
|
62
|
-
}, "key" |
|
|
62
|
+
}, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
63
63
|
Group: import('react').ForwardRefExoticComponent<Omit<{
|
|
64
64
|
children?: React.ReactNode;
|
|
65
65
|
} & Omit<Pick<Pick<import('react').DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof HTMLAttributes<HTMLDivElement>> & {
|
|
66
66
|
ref?: React.Ref<HTMLDivElement>;
|
|
67
67
|
} & {
|
|
68
68
|
asChild?: boolean;
|
|
69
|
-
}, "key" |
|
|
69
|
+
}, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
|
|
70
70
|
heading?: React.ReactNode;
|
|
71
71
|
value?: string;
|
|
72
72
|
forceMount?: boolean;
|
|
@@ -75,7 +75,7 @@ export declare const Command: {
|
|
|
75
75
|
ref?: React.Ref<HTMLDivElement>;
|
|
76
76
|
} & {
|
|
77
77
|
asChild?: boolean;
|
|
78
|
-
}, "key" |
|
|
78
|
+
}, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
79
79
|
alwaysRender?: boolean;
|
|
80
80
|
} & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
81
81
|
Item: import('react').ForwardRefExoticComponent<Omit<{
|
|
@@ -84,7 +84,7 @@ export declare const Command: {
|
|
|
84
84
|
ref?: React.Ref<HTMLDivElement>;
|
|
85
85
|
} & {
|
|
86
86
|
asChild?: boolean;
|
|
87
|
-
}, "key" |
|
|
87
|
+
}, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
88
88
|
disabled?: boolean;
|
|
89
89
|
onSelect?: (value: string) => void;
|
|
90
90
|
value?: string;
|
|
@@ -101,7 +101,7 @@ export declare const Command: {
|
|
|
101
101
|
ref?: React.Ref<HTMLDivElement>;
|
|
102
102
|
} & {
|
|
103
103
|
asChild?: boolean;
|
|
104
|
-
}, "key" |
|
|
104
|
+
}, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
105
105
|
label?: string;
|
|
106
106
|
shouldFilter?: boolean;
|
|
107
107
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -118,7 +118,7 @@ export declare const Command: {
|
|
|
118
118
|
ref?: React.Ref<HTMLDivElement>;
|
|
119
119
|
} & {
|
|
120
120
|
asChild?: boolean;
|
|
121
|
-
}, "key" |
|
|
121
|
+
}, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
122
122
|
label?: string;
|
|
123
123
|
shouldFilter?: boolean;
|
|
124
124
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -4,7 +4,7 @@ declare const containerVariants: (props?: ({
|
|
|
4
4
|
roundedSize?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | null | undefined;
|
|
5
5
|
transparency?: "none" | "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
6
6
|
padding?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
7
|
-
separator?: "
|
|
7
|
+
separator?: "without" | "x" | "y" | "both" | null | undefined;
|
|
8
8
|
border?: "none" | "with" | null | undefined;
|
|
9
9
|
background?: "none" | "with" | null | undefined;
|
|
10
10
|
gap?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
@@ -17,7 +17,7 @@ export declare const Container: import('react').ForwardRefExoticComponent<Omit<V
|
|
|
17
17
|
roundedSize?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | null | undefined;
|
|
18
18
|
transparency?: "none" | "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
19
19
|
padding?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
20
|
-
separator?: "
|
|
20
|
+
separator?: "without" | "x" | "y" | "both" | null | undefined;
|
|
21
21
|
border?: "none" | "with" | null | undefined;
|
|
22
22
|
background?: "none" | "with" | null | undefined;
|
|
23
23
|
gap?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
@@ -10,7 +10,7 @@ import "@intlayer/dictionaries-entry";
|
|
|
10
10
|
import "deepmerge";
|
|
11
11
|
import { useForm } from "../Form/FormBase.mjs";
|
|
12
12
|
import "../Form/FormField.mjs";
|
|
13
|
-
import { F as Form } from "../../Form-
|
|
13
|
+
import { F as Form } from "../../Form-CQpKjeW6.js";
|
|
14
14
|
import { useEditedContentStore } from "./useEditedContentStore.mjs";
|
|
15
15
|
import { validDictionaryChangeButtonsContent } from "./validDictionaryChangeButtons.content.mjs";
|
|
16
16
|
import { getValidDictionaryChangeButtonsSchemaSchema } from "./validDictionaryChangeButtonsSchema.mjs";
|
|
@@ -19,7 +19,7 @@ import "../../EditableField/EditableFieldInput.mjs";
|
|
|
19
19
|
import "../../EditableField/EditableFieldTextArea.mjs";
|
|
20
20
|
import "../../Form/FormBase.mjs";
|
|
21
21
|
import "../../Form/FormField.mjs";
|
|
22
|
-
import "../../../Form-
|
|
22
|
+
import "../../../Form-CQpKjeW6.js";
|
|
23
23
|
import "../../DictionaryEditor/validDictionaryChangeButtons.content.mjs";
|
|
24
24
|
import "zod";
|
|
25
25
|
import { Loader } from "../../Loader/index.mjs";
|
package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs
CHANGED
|
@@ -15,8 +15,8 @@ require("../../../hooks/useScrollBlockage/useScrollBlockageStore.cjs");
|
|
|
15
15
|
require("../../../hooks/useAsync/useAsyncStateStore.cjs");
|
|
16
16
|
require("@intlayer/dictionaries-entry");
|
|
17
17
|
require("deepmerge");
|
|
18
|
-
require("../../Modal/Modal.cjs");
|
|
19
18
|
const components_Auth_useAuth_index = require("../../Auth/useAuth/index.cjs");
|
|
19
|
+
require("../../Modal/Modal.cjs");
|
|
20
20
|
require("clsx");
|
|
21
21
|
require("tailwind-merge");
|
|
22
22
|
const components_Select_Multiselect = require("../../Select/Multiselect.cjs");
|
package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs
CHANGED
|
@@ -6,15 +6,15 @@ import "../../../libs/intlayer-api/index.mjs";
|
|
|
6
6
|
import "../../Button/Button.mjs";
|
|
7
7
|
import { useForm } from "../../Form/FormBase.mjs";
|
|
8
8
|
import "../../Form/FormField.mjs";
|
|
9
|
-
import { F as Form } from "../../../Form-
|
|
9
|
+
import { F as Form } from "../../../Form-CQpKjeW6.js";
|
|
10
10
|
import "zod";
|
|
11
11
|
import "react";
|
|
12
12
|
import "../../../hooks/useScrollBlockage/useScrollBlockageStore.mjs";
|
|
13
13
|
import "../../../hooks/useAsync/useAsyncStateStore.mjs";
|
|
14
14
|
import "@intlayer/dictionaries-entry";
|
|
15
15
|
import "deepmerge";
|
|
16
|
-
import "../../Modal/Modal.mjs";
|
|
17
16
|
import { useAuth } from "../../Auth/useAuth/index.mjs";
|
|
17
|
+
import "../../Modal/Modal.mjs";
|
|
18
18
|
import "clsx";
|
|
19
19
|
import "tailwind-merge";
|
|
20
20
|
import { MultiSelect } from "../../Select/Multiselect.mjs";
|
package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryFormSchema.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ export declare const getDictionarySchema: (projectId: string) => z.ZodObject<{
|
|
|
3
3
|
key: z.ZodDefault<z.ZodString>;
|
|
4
4
|
projectIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
projectIds: string[];
|
|
7
6
|
key: string;
|
|
7
|
+
projectIds: string[];
|
|
8
8
|
}, {
|
|
9
|
-
projectIds?: string[] | undefined;
|
|
10
9
|
key?: string | undefined;
|
|
10
|
+
projectIds?: string[] | undefined;
|
|
11
11
|
}>;
|
|
12
12
|
export type DictionaryFormData = z.infer<ReturnType<typeof getDictionarySchema>>;
|
|
13
13
|
//# sourceMappingURL=dictionaryFormSchema.d.ts.map
|
|
@@ -17,8 +17,8 @@ const components_Form_FormBase = require("../../Form/FormBase.cjs");
|
|
|
17
17
|
require("../../Form/FormField.cjs");
|
|
18
18
|
const components_Form_layout_FormItemLayout = require("../../../Form-DERuauvB.cjs");
|
|
19
19
|
require("zod");
|
|
20
|
-
require("../../Modal/Modal.cjs");
|
|
21
20
|
const components_Auth_useAuth_index = require("../../Auth/useAuth/index.cjs");
|
|
21
|
+
require("../../Modal/Modal.cjs");
|
|
22
22
|
const components_Select_Multiselect = require("../../Select/Multiselect.cjs");
|
|
23
23
|
require("../../Select/Select.cjs");
|
|
24
24
|
const components_DictionaryFieldEditor_DictionaryDetails_dictionaryDetails_content = require("./dictionaryDetails.content.cjs");
|
|
@@ -13,10 +13,10 @@ import "../../../libs/intlayer-api/index.mjs";
|
|
|
13
13
|
import "../../Button/Button.mjs";
|
|
14
14
|
import { useForm } from "../../Form/FormBase.mjs";
|
|
15
15
|
import "../../Form/FormField.mjs";
|
|
16
|
-
import { F as Form } from "../../../Form-
|
|
16
|
+
import { F as Form } from "../../../Form-CQpKjeW6.js";
|
|
17
17
|
import "zod";
|
|
18
|
-
import "../../Modal/Modal.mjs";
|
|
19
18
|
import { useAuth } from "../../Auth/useAuth/index.mjs";
|
|
19
|
+
import "../../Modal/Modal.mjs";
|
|
20
20
|
import { MultiSelect } from "../../Select/Multiselect.mjs";
|
|
21
21
|
import "../../Select/Select.mjs";
|
|
22
22
|
import { dictionaryDetailsContent } from "./dictionaryDetails.content.mjs";
|
package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsSchema.d.ts
CHANGED
|
@@ -5,15 +5,15 @@ export declare const getDictionaryDetailsSchema: (projectId: string) => z.ZodObj
|
|
|
5
5
|
description: z.ZodOptional<z.ZodString>;
|
|
6
6
|
projectIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
projectIds: string[];
|
|
9
8
|
key: string;
|
|
10
|
-
|
|
9
|
+
projectIds: string[];
|
|
11
10
|
title?: string | undefined;
|
|
11
|
+
description?: string | undefined;
|
|
12
12
|
}, {
|
|
13
|
+
title?: string | undefined;
|
|
14
|
+
key?: string | undefined;
|
|
13
15
|
description?: string | undefined;
|
|
14
16
|
projectIds?: string[] | undefined;
|
|
15
|
-
key?: string | undefined;
|
|
16
|
-
title?: string | undefined;
|
|
17
17
|
}>;
|
|
18
18
|
export type DictionaryDetailsFormData = z.infer<ReturnType<typeof getDictionaryDetailsSchema>>;
|
|
19
19
|
//# sourceMappingURL=DictionaryDetailsSchema.d.ts.map
|
|
@@ -21,7 +21,7 @@ import "@intlayer/dictionaries-entry";
|
|
|
21
21
|
import "deepmerge";
|
|
22
22
|
import "../Form/FormBase.mjs";
|
|
23
23
|
import "../Form/FormField.mjs";
|
|
24
|
-
import "../../Form-
|
|
24
|
+
import "../../Form-CQpKjeW6.js";
|
|
25
25
|
import "../DictionaryEditor/validDictionaryChangeButtons.content.mjs";
|
|
26
26
|
import "zod";
|
|
27
27
|
import { H2 } from "../Headers/index.mjs";
|
|
@@ -22,7 +22,7 @@ import "@intlayer/dictionaries-entry";
|
|
|
22
22
|
import "deepmerge";
|
|
23
23
|
import "../../Form/FormBase.mjs";
|
|
24
24
|
import "../../Form/FormField.mjs";
|
|
25
|
-
import "../../../Form-
|
|
25
|
+
import "../../../Form-CQpKjeW6.js";
|
|
26
26
|
import "../../DictionaryEditor/validDictionaryChangeButtons.content.mjs";
|
|
27
27
|
import "zod";
|
|
28
28
|
import { Label } from "../../Label/index.mjs";
|
|
@@ -23,7 +23,7 @@ import "@intlayer/dictionaries-entry";
|
|
|
23
23
|
import "deepmerge";
|
|
24
24
|
import "../../Form/FormBase.mjs";
|
|
25
25
|
import "../../Form/FormField.mjs";
|
|
26
|
-
import "../../../Form-
|
|
26
|
+
import "../../../Form-CQpKjeW6.js";
|
|
27
27
|
import "../../DictionaryEditor/validDictionaryChangeButtons.content.mjs";
|
|
28
28
|
import "zod";
|
|
29
29
|
import { EnumKeyInput } from "../EnumKeyInput.mjs";
|
|
@@ -22,7 +22,7 @@ import "@intlayer/dictionaries-entry";
|
|
|
22
22
|
import "deepmerge";
|
|
23
23
|
import "../../Form/FormBase.mjs";
|
|
24
24
|
import "../../Form/FormField.mjs";
|
|
25
|
-
import "../../../Form-
|
|
25
|
+
import "../../../Form-CQpKjeW6.js";
|
|
26
26
|
import "../../DictionaryEditor/validDictionaryChangeButtons.content.mjs";
|
|
27
27
|
import "zod";
|
|
28
28
|
import { getIsEditableSection } from "../getIsEditableSection.mjs";
|
|
@@ -21,7 +21,7 @@ import "@intlayer/dictionaries-entry";
|
|
|
21
21
|
import "deepmerge";
|
|
22
22
|
import "../Form/FormBase.mjs";
|
|
23
23
|
import "../Form/FormField.mjs";
|
|
24
|
-
import "../../Form-
|
|
24
|
+
import "../../Form-CQpKjeW6.js";
|
|
25
25
|
import "../DictionaryEditor/validDictionaryChangeButtons.content.mjs";
|
|
26
26
|
import "zod";
|
|
27
27
|
import "../Select/Multiselect.mjs";
|
|
@@ -17,7 +17,7 @@ import "../../EditableField/EditableFieldInput.mjs";
|
|
|
17
17
|
import "../../EditableField/EditableFieldTextArea.mjs";
|
|
18
18
|
import { useForm } from "../../Form/FormBase.mjs";
|
|
19
19
|
import "../../Form/FormField.mjs";
|
|
20
|
-
import { F as Form } from "../../../Form-
|
|
20
|
+
import { F as Form } from "../../../Form-CQpKjeW6.js";
|
|
21
21
|
import "../../DictionaryEditor/validDictionaryChangeButtons.content.mjs";
|
|
22
22
|
import "zod";
|
|
23
23
|
import { saveDictionaryContent } from "./saveForm.content.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../jsx-runtime-BgSF1HG2.js";
|
|
2
2
|
import "../../EditableField/EditableFieldTextArea.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { c } from "../../../Form-CQpKjeW6.js";
|
|
4
4
|
export {
|
|
5
|
-
|
|
5
|
+
c as EditableFieldTextAreaElement
|
|
6
6
|
};
|
|
7
7
|
//# sourceMappingURL=EditableFieldTextAreaElement.mjs.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../../jsx-runtime-BgSF1HG2.js";
|
|
2
2
|
import "react-hook-form";
|
|
3
|
-
import {
|
|
3
|
+
import { a } from "../../../Form-CQpKjeW6.js";
|
|
4
4
|
import "../FormField.mjs";
|
|
5
5
|
import "clsx";
|
|
6
6
|
import "tailwind-merge";
|
|
7
7
|
import "../FormLabel.mjs";
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
a as FormElement
|
|
10
10
|
};
|
|
11
11
|
//# sourceMappingURL=FormElement.mjs.map
|
|
@@ -2,7 +2,7 @@ import "../../../jsx-runtime-BgSF1HG2.js";
|
|
|
2
2
|
import "../../Input/Input.mjs";
|
|
3
3
|
import "../../Input/InputPassword.mjs";
|
|
4
4
|
import "../../Input/Checkbox.mjs";
|
|
5
|
-
import { I } from "../../../Form-
|
|
5
|
+
import { I } from "../../../Form-CQpKjeW6.js";
|
|
6
6
|
export {
|
|
7
7
|
I as InputElement
|
|
8
8
|
};
|
|
@@ -2,8 +2,8 @@ import "../../../jsx-runtime-BgSF1HG2.js";
|
|
|
2
2
|
import "../../Input/Input.mjs";
|
|
3
3
|
import "../../Input/InputPassword.mjs";
|
|
4
4
|
import "../../Input/Checkbox.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { b } from "../../../Form-CQpKjeW6.js";
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
b as InputPasswordElement
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=InputPasswordElement.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../jsx-runtime-BgSF1HG2.js";
|
|
2
2
|
import "react-hook-form";
|
|
3
3
|
import "../../Select/Multiselect.mjs";
|
|
4
|
-
import { M } from "../../../Form-
|
|
4
|
+
import { M } from "../../../Form-CQpKjeW6.js";
|
|
5
5
|
import "../FormField.mjs";
|
|
6
6
|
export {
|
|
7
7
|
M as MultiSelectElement
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../jsx-runtime-BgSF1HG2.js";
|
|
2
2
|
import "react-hook-form";
|
|
3
3
|
import "../../SwitchSelector/index.mjs";
|
|
4
|
-
import { e } from "../../../Form-
|
|
4
|
+
import { e } from "../../../Form-CQpKjeW6.js";
|
|
5
5
|
import "../FormField.mjs";
|
|
6
6
|
export {
|
|
7
7
|
e as SwitchSelectorElement
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { E,
|
|
1
|
+
import { E, c, a, I, b, T } from "../../../Form-CQpKjeW6.js";
|
|
2
2
|
export {
|
|
3
3
|
E as EditableFieldInputElement,
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
c as EditableFieldTextAreaElement,
|
|
5
|
+
a as FormElement,
|
|
6
6
|
I as InputElement,
|
|
7
|
-
|
|
7
|
+
b as InputPasswordElement,
|
|
8
8
|
T as TextAreaElement
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../jsx-runtime-BgSF1HG2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { d } from "../../../Form-CQpKjeW6.js";
|
|
3
3
|
import "./FormLabelLayout.mjs";
|
|
4
4
|
export {
|
|
5
|
-
|
|
5
|
+
d as FormItemLayout
|
|
6
6
|
};
|
|
7
7
|
//# sourceMappingURL=FormItemLayout.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d } from "../../../Form-CQpKjeW6.js";
|
|
2
2
|
import { FormLabelLayout } from "./FormLabelLayout.mjs";
|
|
3
3
|
export {
|
|
4
|
-
|
|
4
|
+
d as FormItemLayout,
|
|
5
5
|
FormLabelLayout
|
|
6
6
|
};
|
|
7
7
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -3,7 +3,7 @@ import { DetailedHTMLProps, InputHTMLAttributes } from 'react';
|
|
|
3
3
|
export declare const checkboxVariants: (props?: ({
|
|
4
4
|
variant?: "default" | null | undefined;
|
|
5
5
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6
|
-
color?: "
|
|
6
|
+
color?: "text" | "error" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "success" | "custom" | null | undefined;
|
|
7
7
|
validationStyleEnabled?: "disabled" | "enabled" | null | undefined;
|
|
8
8
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
9
|
export type CheckboxProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
|
|
@@ -44,7 +44,7 @@ declare const MultiSelectList: import('react').ForwardRefExoticComponent<Omit<Om
|
|
|
44
44
|
ref?: React.Ref<HTMLDivElement>;
|
|
45
45
|
} & {
|
|
46
46
|
asChild?: boolean;
|
|
47
|
-
}, "key" |
|
|
47
|
+
}, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
48
48
|
label?: string;
|
|
49
49
|
} & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
50
50
|
declare const MultiSelectItem: import('react').ForwardRefExoticComponent<{
|
|
@@ -55,7 +55,7 @@ declare const MultiSelectItem: import('react').ForwardRefExoticComponent<{
|
|
|
55
55
|
ref?: React.Ref<HTMLDivElement>;
|
|
56
56
|
} & {
|
|
57
57
|
asChild?: boolean;
|
|
58
|
-
}, "key" |
|
|
58
|
+
}, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
59
59
|
disabled?: boolean;
|
|
60
60
|
onSelect?: (value: string) => void;
|
|
61
61
|
value?: string;
|
|
@@ -24,13 +24,14 @@ const containerVariants = classVarianceAuthority.cva("backdrop-blur w-fit", {
|
|
|
24
24
|
text: "bg-text/10 dark:bg-text-dark/10 border-text dark:border-text-dark text-text dark:text-text-dark"
|
|
25
25
|
},
|
|
26
26
|
size: {
|
|
27
|
+
xs: "py-0.5 px-2 text-xs border-[1.2px]",
|
|
27
28
|
sm: "py-0.5 px-2 text-sm border-[1.5px]",
|
|
28
29
|
md: "py-1 px-2 text-base border-2",
|
|
29
30
|
lg: "py-2 px-3 text-lg border-2",
|
|
30
31
|
xl: "py-4 px-5 text-xl border-2"
|
|
31
32
|
},
|
|
32
33
|
border: {
|
|
33
|
-
none: "",
|
|
34
|
+
none: "border-none",
|
|
34
35
|
with: "border-text dark:border-text-dark border-[1.5px]"
|
|
35
36
|
},
|
|
36
37
|
background: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../src/components/Tag/index.tsx"],"sourcesContent":["import { cva, VariantProps } from 'class-variance-authority';\nimport { forwardRef, HTMLAttributes, PropsWithChildren } from 'react';\n\ntype TagProps = PropsWithChildren<VariantProps<typeof containerVariants>> &\n HTMLAttributes<HTMLDivElement>;\n\nconst containerVariants = cva('backdrop-blur w-fit', {\n variants: {\n roundedSize: {\n none: 'rounded-none',\n sm: 'rounded-sm',\n md: 'rounded-md',\n lg: 'rounded-lg',\n xl: 'rounded-xl',\n '2xl': 'rounded-2xl',\n '3xl': 'rounded-3xl',\n full: 'rounded-full',\n },\n color: {\n success:\n 'bg-success/10 dark:bg-success-dark/10 border-success dark:border-success-dark text-success dark:text-success-dark',\n error:\n 'bg-error/10 dark:bg-error-dark/10 border-error dark:border-error-dark text-error dark:text-error-dark',\n warning:\n 'bg-warning/10 dark:bg-warning-dark/10 border-warning dark:border-warning-dark text-warning dark:text-warning-dark',\n neutral:\n 'bg-neutral/10 dark:bg-neutral-dark/10 border-neutral dark:border-neutral-dark text-neutral dark:text-neutral-dark',\n info: 'bg-info/10 dark:bg-info-dark/10 border-info dark:border-info-dark text-info dark:text-info-dark',\n text: 'bg-text/10 dark:bg-text-dark/10 border-text dark:border-text-dark text-text dark:text-text-dark',\n },\n size: {\n sm: 'py-0.5 px-2 text-sm border-[1.5px]',\n md: 'py-1 px-2 text-base border-2',\n lg: 'py-2 px-3 text-lg border-2',\n xl: 'py-4 px-5 text-xl border-2',\n },\n border: {\n none: '',\n with: 'border-text dark:border-text-dark border-[1.5px]',\n },\n background: {\n none: 'bg-none',\n with: '',\n },\n },\n\n defaultVariants: {\n roundedSize: 'full',\n border: 'none',\n color: 'text',\n size: 'md',\n },\n});\n\nexport const Tag = forwardRef<HTMLDivElement, TagProps>(\n (\n {\n children,\n color,\n roundedSize,\n size,\n border,\n background,\n className,\n ...props\n },\n ref\n ) => {\n return (\n <div\n ref={ref}\n className={containerVariants({\n color,\n roundedSize,\n size,\n border,\n background,\n className,\n })}\n {...props}\n >\n {children}\n </div>\n );\n }\n);\n\nTag.displayName = 'Tag';\n"],"names":["cva","forwardRef","jsx"],"mappings":";;;;;AAMA,MAAM,oBAAoBA,2BAAI,uBAAuB;AAAA,EACnD,UAAU;AAAA,IACR,aAAa;AAAA,MACX,MAAM;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,OAAO;AAAA,MACP,MAAM;AAAA,IACR;AAAA,IACA,OAAO;AAAA,MACL,SACE;AAAA,MACF,OACE;AAAA,MACF,SACE;AAAA,MACF,SACE;AAAA,MACF,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,YAAY;AAAA,MACV,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,EACF;AAAA,EAEA,iBAAiB;AAAA,IACf,aAAa;AAAA,IACb,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,MAAM;AAAA,EACR;AACF,CAAC;AAEM,MAAM,MAAMC,WAAA;AAAA,EACjB,CACE;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,KAEL,QACG;AAED,WAAAC,2BAAA,kBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,WAAW,kBAAkB;AAAA,UAC3B;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QAAA,CACD;AAAA,QACA,GAAG;AAAA,QAEH;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;AAEA,IAAI,cAAc;;"}
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/components/Tag/index.tsx"],"sourcesContent":["import { cva, VariantProps } from 'class-variance-authority';\nimport { forwardRef, HTMLAttributes, PropsWithChildren } from 'react';\n\ntype TagProps = PropsWithChildren<VariantProps<typeof containerVariants>> &\n HTMLAttributes<HTMLDivElement>;\n\nconst containerVariants = cva('backdrop-blur w-fit', {\n variants: {\n roundedSize: {\n none: 'rounded-none',\n sm: 'rounded-sm',\n md: 'rounded-md',\n lg: 'rounded-lg',\n xl: 'rounded-xl',\n '2xl': 'rounded-2xl',\n '3xl': 'rounded-3xl',\n full: 'rounded-full',\n },\n color: {\n success:\n 'bg-success/10 dark:bg-success-dark/10 border-success dark:border-success-dark text-success dark:text-success-dark',\n error:\n 'bg-error/10 dark:bg-error-dark/10 border-error dark:border-error-dark text-error dark:text-error-dark',\n warning:\n 'bg-warning/10 dark:bg-warning-dark/10 border-warning dark:border-warning-dark text-warning dark:text-warning-dark',\n neutral:\n 'bg-neutral/10 dark:bg-neutral-dark/10 border-neutral dark:border-neutral-dark text-neutral dark:text-neutral-dark',\n info: 'bg-info/10 dark:bg-info-dark/10 border-info dark:border-info-dark text-info dark:text-info-dark',\n text: 'bg-text/10 dark:bg-text-dark/10 border-text dark:border-text-dark text-text dark:text-text-dark',\n },\n size: {\n xs: 'py-0.5 px-2 text-xs border-[1.2px]',\n sm: 'py-0.5 px-2 text-sm border-[1.5px]',\n md: 'py-1 px-2 text-base border-2',\n lg: 'py-2 px-3 text-lg border-2',\n xl: 'py-4 px-5 text-xl border-2',\n },\n border: {\n none: 'border-none',\n with: 'border-text dark:border-text-dark border-[1.5px]',\n },\n background: {\n none: 'bg-none',\n with: '',\n },\n },\n\n defaultVariants: {\n roundedSize: 'full',\n border: 'none',\n color: 'text',\n size: 'md',\n },\n});\n\nexport const Tag = forwardRef<HTMLDivElement, TagProps>(\n (\n {\n children,\n color,\n roundedSize,\n size,\n border,\n background,\n className,\n ...props\n },\n ref\n ) => {\n return (\n <div\n ref={ref}\n className={containerVariants({\n color,\n roundedSize,\n size,\n border,\n background,\n className,\n })}\n {...props}\n >\n {children}\n </div>\n );\n }\n);\n\nTag.displayName = 'Tag';\n"],"names":["cva","forwardRef","jsx"],"mappings":";;;;;AAMA,MAAM,oBAAoBA,2BAAI,uBAAuB;AAAA,EACnD,UAAU;AAAA,IACR,aAAa;AAAA,MACX,MAAM;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,OAAO;AAAA,MACP,MAAM;AAAA,IACR;AAAA,IACA,OAAO;AAAA,MACL,SACE;AAAA,MACF,OACE;AAAA,MACF,SACE;AAAA,MACF,SACE;AAAA,MACF,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,YAAY;AAAA,MACV,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,EACF;AAAA,EAEA,iBAAiB;AAAA,IACf,aAAa;AAAA,IACb,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,MAAM;AAAA,EACR;AACF,CAAC;AAEM,MAAM,MAAMC,WAAA;AAAA,EACjB,CACE;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,KAEL,QACG;AAED,WAAAC,2BAAA,kBAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,WAAW,kBAAkB;AAAA,UAC3B;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QAAA,CACD;AAAA,QACA,GAAG;AAAA,QAEH;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;AAEA,IAAI,cAAc;;"}
|
|
@@ -2,8 +2,8 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
3
|
export declare const Tag: import('react').ForwardRefExoticComponent<VariantProps<(props?: ({
|
|
4
4
|
roundedSize?: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | null | undefined;
|
|
5
|
-
color?: "
|
|
6
|
-
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
5
|
+
color?: "text" | "error" | "neutral" | "success" | "info" | "warning" | null | undefined;
|
|
6
|
+
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
7
7
|
border?: "none" | "with" | null | undefined;
|
|
8
8
|
background?: "none" | "with" | null | undefined;
|
|
9
9
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAc,cAAc,EAAqB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAc,cAAc,EAAqB,MAAM,OAAO,CAAC;AAsDtE,eAAO,MAAM,GAAG;;;;;;;;mFA+Bf,CAAC"}
|
|
@@ -22,13 +22,14 @@ const containerVariants = cva("backdrop-blur w-fit", {
|
|
|
22
22
|
text: "bg-text/10 dark:bg-text-dark/10 border-text dark:border-text-dark text-text dark:text-text-dark"
|
|
23
23
|
},
|
|
24
24
|
size: {
|
|
25
|
+
xs: "py-0.5 px-2 text-xs border-[1.2px]",
|
|
25
26
|
sm: "py-0.5 px-2 text-sm border-[1.5px]",
|
|
26
27
|
md: "py-1 px-2 text-base border-2",
|
|
27
28
|
lg: "py-2 px-3 text-lg border-2",
|
|
28
29
|
xl: "py-4 px-5 text-xl border-2"
|
|
29
30
|
},
|
|
30
31
|
border: {
|
|
31
|
-
none: "",
|
|
32
|
+
none: "border-none",
|
|
32
33
|
with: "border-text dark:border-text-dark border-[1.5px]"
|
|
33
34
|
},
|
|
34
35
|
background: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../src/components/Tag/index.tsx"],"sourcesContent":["import { cva, VariantProps } from 'class-variance-authority';\nimport { forwardRef, HTMLAttributes, PropsWithChildren } from 'react';\n\ntype TagProps = PropsWithChildren<VariantProps<typeof containerVariants>> &\n HTMLAttributes<HTMLDivElement>;\n\nconst containerVariants = cva('backdrop-blur w-fit', {\n variants: {\n roundedSize: {\n none: 'rounded-none',\n sm: 'rounded-sm',\n md: 'rounded-md',\n lg: 'rounded-lg',\n xl: 'rounded-xl',\n '2xl': 'rounded-2xl',\n '3xl': 'rounded-3xl',\n full: 'rounded-full',\n },\n color: {\n success:\n 'bg-success/10 dark:bg-success-dark/10 border-success dark:border-success-dark text-success dark:text-success-dark',\n error:\n 'bg-error/10 dark:bg-error-dark/10 border-error dark:border-error-dark text-error dark:text-error-dark',\n warning:\n 'bg-warning/10 dark:bg-warning-dark/10 border-warning dark:border-warning-dark text-warning dark:text-warning-dark',\n neutral:\n 'bg-neutral/10 dark:bg-neutral-dark/10 border-neutral dark:border-neutral-dark text-neutral dark:text-neutral-dark',\n info: 'bg-info/10 dark:bg-info-dark/10 border-info dark:border-info-dark text-info dark:text-info-dark',\n text: 'bg-text/10 dark:bg-text-dark/10 border-text dark:border-text-dark text-text dark:text-text-dark',\n },\n size: {\n sm: 'py-0.5 px-2 text-sm border-[1.5px]',\n md: 'py-1 px-2 text-base border-2',\n lg: 'py-2 px-3 text-lg border-2',\n xl: 'py-4 px-5 text-xl border-2',\n },\n border: {\n none: '',\n with: 'border-text dark:border-text-dark border-[1.5px]',\n },\n background: {\n none: 'bg-none',\n with: '',\n },\n },\n\n defaultVariants: {\n roundedSize: 'full',\n border: 'none',\n color: 'text',\n size: 'md',\n },\n});\n\nexport const Tag = forwardRef<HTMLDivElement, TagProps>(\n (\n {\n children,\n color,\n roundedSize,\n size,\n border,\n background,\n className,\n ...props\n },\n ref\n ) => {\n return (\n <div\n ref={ref}\n className={containerVariants({\n color,\n roundedSize,\n size,\n border,\n background,\n className,\n })}\n {...props}\n >\n {children}\n </div>\n );\n }\n);\n\nTag.displayName = 'Tag';\n"],"names":["jsx"],"mappings":";;;AAMA,MAAM,oBAAoB,IAAI,uBAAuB;AAAA,EACnD,UAAU;AAAA,IACR,aAAa;AAAA,MACX,MAAM;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,OAAO;AAAA,MACP,MAAM;AAAA,IACR;AAAA,IACA,OAAO;AAAA,MACL,SACE;AAAA,MACF,OACE;AAAA,MACF,SACE;AAAA,MACF,SACE;AAAA,MACF,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,YAAY;AAAA,MACV,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,EACF;AAAA,EAEA,iBAAiB;AAAA,IACf,aAAa;AAAA,IACb,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,MAAM;AAAA,EACR;AACF,CAAC;AAEM,MAAM,MAAM;AAAA,EACjB,CACE;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,KAEL,QACG;AAED,WAAAA,kCAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,WAAW,kBAAkB;AAAA,UAC3B;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QAAA,CACD;AAAA,QACA,GAAG;AAAA,QAEH;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;AAEA,IAAI,cAAc;"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../src/components/Tag/index.tsx"],"sourcesContent":["import { cva, VariantProps } from 'class-variance-authority';\nimport { forwardRef, HTMLAttributes, PropsWithChildren } from 'react';\n\ntype TagProps = PropsWithChildren<VariantProps<typeof containerVariants>> &\n HTMLAttributes<HTMLDivElement>;\n\nconst containerVariants = cva('backdrop-blur w-fit', {\n variants: {\n roundedSize: {\n none: 'rounded-none',\n sm: 'rounded-sm',\n md: 'rounded-md',\n lg: 'rounded-lg',\n xl: 'rounded-xl',\n '2xl': 'rounded-2xl',\n '3xl': 'rounded-3xl',\n full: 'rounded-full',\n },\n color: {\n success:\n 'bg-success/10 dark:bg-success-dark/10 border-success dark:border-success-dark text-success dark:text-success-dark',\n error:\n 'bg-error/10 dark:bg-error-dark/10 border-error dark:border-error-dark text-error dark:text-error-dark',\n warning:\n 'bg-warning/10 dark:bg-warning-dark/10 border-warning dark:border-warning-dark text-warning dark:text-warning-dark',\n neutral:\n 'bg-neutral/10 dark:bg-neutral-dark/10 border-neutral dark:border-neutral-dark text-neutral dark:text-neutral-dark',\n info: 'bg-info/10 dark:bg-info-dark/10 border-info dark:border-info-dark text-info dark:text-info-dark',\n text: 'bg-text/10 dark:bg-text-dark/10 border-text dark:border-text-dark text-text dark:text-text-dark',\n },\n size: {\n xs: 'py-0.5 px-2 text-xs border-[1.2px]',\n sm: 'py-0.5 px-2 text-sm border-[1.5px]',\n md: 'py-1 px-2 text-base border-2',\n lg: 'py-2 px-3 text-lg border-2',\n xl: 'py-4 px-5 text-xl border-2',\n },\n border: {\n none: 'border-none',\n with: 'border-text dark:border-text-dark border-[1.5px]',\n },\n background: {\n none: 'bg-none',\n with: '',\n },\n },\n\n defaultVariants: {\n roundedSize: 'full',\n border: 'none',\n color: 'text',\n size: 'md',\n },\n});\n\nexport const Tag = forwardRef<HTMLDivElement, TagProps>(\n (\n {\n children,\n color,\n roundedSize,\n size,\n border,\n background,\n className,\n ...props\n },\n ref\n ) => {\n return (\n <div\n ref={ref}\n className={containerVariants({\n color,\n roundedSize,\n size,\n border,\n background,\n className,\n })}\n {...props}\n >\n {children}\n </div>\n );\n }\n);\n\nTag.displayName = 'Tag';\n"],"names":["jsx"],"mappings":";;;AAMA,MAAM,oBAAoB,IAAI,uBAAuB;AAAA,EACnD,UAAU;AAAA,IACR,aAAa;AAAA,MACX,MAAM;AAAA,MACN,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,OAAO;AAAA,MACP,MAAM;AAAA,IACR;AAAA,IACA,OAAO;AAAA,MACL,SACE;AAAA,MACF,OACE;AAAA,MACF,SACE;AAAA,MACF,SACE;AAAA,MACF,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,YAAY;AAAA,MACV,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,EACF;AAAA,EAEA,iBAAiB;AAAA,IACf,aAAa;AAAA,IACb,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,MAAM;AAAA,EACR;AACF,CAAC;AAEM,MAAM,MAAM;AAAA,EACjB,CACE;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,KAEL,QACG;AAED,WAAAA,kCAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,WAAW,kBAAkB;AAAA,UAC3B;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QAAA,CACD;AAAA,QACA,GAAG;AAAA,QAEH;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;AAEA,IAAI,cAAc;"}
|
|
@@ -37,7 +37,7 @@ import { Flag } from "./Flags/Flag.mjs";
|
|
|
37
37
|
import { InformationTag } from "./InformationTag/index.mjs";
|
|
38
38
|
import { useForm } from "./Form/FormBase.mjs";
|
|
39
39
|
import { useFormField } from "./Form/FormField.mjs";
|
|
40
|
-
import { F } from "../Form-
|
|
40
|
+
import { F } from "../Form-CQpKjeW6.js";
|
|
41
41
|
import { Label } from "./Label/index.mjs";
|
|
42
42
|
import { Input, inputVariants } from "./Input/Input.mjs";
|
|
43
43
|
import { InputPassword } from "./Input/InputPassword.mjs";
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -22,6 +22,7 @@ exports.useAddOrganization = hooks_intlayerAPIHooks.useAddOrganization;
|
|
|
22
22
|
exports.useAddOrganizationMember = hooks_intlayerAPIHooks.useAddOrganizationMember;
|
|
23
23
|
exports.useAddProject = hooks_intlayerAPIHooks.useAddProject;
|
|
24
24
|
exports.useAskResetPassword = hooks_intlayerAPIHooks.useAskResetPassword;
|
|
25
|
+
exports.useCancelSubscription = hooks_intlayerAPIHooks.useCancelSubscription;
|
|
25
26
|
exports.useChangePassword = hooks_intlayerAPIHooks.useChangePassword;
|
|
26
27
|
exports.useCheckIfUserHasPassword = hooks_intlayerAPIHooks.useCheckIfUserHasPassword;
|
|
27
28
|
exports.useCreateUser = hooks_intlayerAPIHooks.useCreateUser;
|
package/dist/hooks/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { useScrollBlockage } from "./useScrollBlockage/index.mjs";
|
|
|
4
4
|
import { useIsMounted } from "./useIsMounted.mjs";
|
|
5
5
|
import { useScrollDetection } from "./useScrollDetection.mjs";
|
|
6
6
|
import { useAsync } from "./useAsync/useAsync.mjs";
|
|
7
|
-
import { useAddDictionary, useAddNewAccessKey, useAddOrganization, useAddOrganizationMember, useAddProject, useAskResetPassword, useChangePassword, useCheckIfUserHasPassword, useCreateUser, useDeleteAccessKey, useDeleteDictionary, useDeleteOrganization, useDeleteProject, useDeleteUser, useGetDictionaries, useGetDictionariesKeys, useGetDictionary, useGetOrganizations, useGetProjects, useGetSubscription, useGetUserByAccount, useGetUsers, useLogin, useLogout, usePushDictionaries, useRefreshAccessKey, useRegister, useResetPassword, useSelectOrganization, useSelectProject, useUnselectOrganization, useUnselectProject, useUpdateDictionary, useUpdateOrganization, useUpdateOrganizationMembers, useUpdateProject, useUpdateProjectMembers, useUpdateUser, useVerifyEmail } from "./intlayerAPIHooks.mjs";
|
|
7
|
+
import { useAddDictionary, useAddNewAccessKey, useAddOrganization, useAddOrganizationMember, useAddProject, useAskResetPassword, useCancelSubscription, useChangePassword, useCheckIfUserHasPassword, useCreateUser, useDeleteAccessKey, useDeleteDictionary, useDeleteOrganization, useDeleteProject, useDeleteUser, useGetDictionaries, useGetDictionariesKeys, useGetDictionary, useGetOrganizations, useGetProjects, useGetSubscription, useGetUserByAccount, useGetUsers, useLogin, useLogout, usePushDictionaries, useRefreshAccessKey, useRegister, useResetPassword, useSelectOrganization, useSelectProject, useUnselectOrganization, useUnselectProject, useUpdateDictionary, useUpdateOrganization, useUpdateOrganizationMembers, useUpdateProject, useUpdateProjectMembers, useUpdateUser, useVerifyEmail } from "./intlayerAPIHooks.mjs";
|
|
8
8
|
import { useItemSelector } from "./useItemSelector.mjs";
|
|
9
9
|
import { useGetAllDictionaries } from "./useGetAllDictionaries.mjs";
|
|
10
10
|
import { usePersistedStore } from "./usePersistedStore.mjs";
|
|
@@ -16,6 +16,7 @@ export {
|
|
|
16
16
|
useAddProject,
|
|
17
17
|
useAskResetPassword,
|
|
18
18
|
useAsync,
|
|
19
|
+
useCancelSubscription,
|
|
19
20
|
useChangePassword,
|
|
20
21
|
useCheckIfUserHasPassword,
|
|
21
22
|
useCreateUser,
|