@intlayer/design-system 8.1.10 → 8.2.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/dist/esm/components/Container/index.mjs +1 -1
- package/dist/esm/components/Container/index.mjs.map +1 -1
- package/dist/esm/components/Input/Checkbox.mjs +1 -1
- package/dist/esm/components/Input/Checkbox.mjs.map +1 -1
- package/dist/esm/components/Pagination/NumberItemsSelector.mjs +1 -1
- package/dist/esm/components/Pagination/NumberItemsSelector.mjs.map +1 -1
- package/dist/esm/components/Pagination/ShowingResultsNumberItems.mjs +1 -1
- package/dist/esm/components/Pagination/ShowingResultsNumberItems.mjs.map +1 -1
- package/dist/esm/components/Popover/static.mjs +1 -1
- package/dist/esm/components/Popover/static.mjs.map +1 -1
- package/dist/esm/hooks/useScrollBlockage/index.mjs +1 -1
- package/dist/esm/hooks/useScrollBlockage/index.mjs.map +1 -1
- package/dist/types/components/Accordion/Accordion.d.ts +0 -1
- package/dist/types/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/types/components/Badge/index.d.ts +2 -2
- package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +1 -1
- package/dist/types/components/Breadcrumb/index.d.ts +0 -1
- package/dist/types/components/Breadcrumb/index.d.ts.map +1 -1
- package/dist/types/components/Browser/Browser.content.d.ts +8 -8
- package/dist/types/components/Button/Button.d.ts +3 -3
- package/dist/types/components/Carousel/index.content.d.ts +3 -3
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +1 -1
- package/dist/types/components/Container/index.d.ts +5 -5
- package/dist/types/components/ContentEditor/ContentEditorInput.d.ts +0 -1
- package/dist/types/components/ContentEditor/ContentEditorInput.d.ts.map +1 -1
- package/dist/types/components/ContentEditor/ContentEditorTextArea.d.ts +0 -1
- package/dist/types/components/ContentEditor/ContentEditorTextArea.d.ts.map +1 -1
- package/dist/types/components/CopyButton/CopyButton.content.d.ts +1 -1
- package/dist/types/components/CopyButton/index.d.ts +0 -1
- package/dist/types/components/CopyButton/index.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +12 -12
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +4 -4
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +27 -27
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +16 -16
- package/dist/types/components/DictionaryFieldEditor/KeyPathBreadcrumb.d.ts +0 -1
- package/dist/types/components/DictionaryFieldEditor/KeyPathBreadcrumb.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +12 -12
- package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +16 -16
- package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +4 -4
- package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +3 -3
- package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +2 -2
- package/dist/types/components/DictionaryFieldEditor/index.d.ts +0 -1
- package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +15 -15
- package/dist/types/components/DropDown/index.d.ts +0 -1
- package/dist/types/components/DropDown/index.d.ts.map +1 -1
- package/dist/types/components/EditableField/EditableFieldInput.d.ts +0 -1
- package/dist/types/components/EditableField/EditableFieldInput.d.ts.map +1 -1
- package/dist/types/components/EditableField/EditableFieldTextArea.d.ts +0 -1
- package/dist/types/components/EditableField/EditableFieldTextArea.d.ts.map +1 -1
- package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +1 -1
- package/dist/types/components/Form/Form.d.ts +0 -3
- package/dist/types/components/Form/Form.d.ts.map +1 -1
- package/dist/types/components/Form/elements/FormElement.d.ts +0 -1
- package/dist/types/components/Form/elements/FormElement.d.ts.map +1 -1
- package/dist/types/components/IDE/code.content.d.ts +2 -2
- package/dist/types/components/IDE/copyCode.content.d.ts +2 -2
- package/dist/types/components/IDE/selectors.content.d.ts +6 -6
- package/dist/types/components/Input/Checkbox.d.ts +2 -2
- package/dist/types/components/Input/OTPInput.d.ts +0 -1
- package/dist/types/components/Input/OTPInput.d.ts.map +1 -1
- package/dist/types/components/Link/Link.d.ts +4 -4
- package/dist/types/components/Loader/index.content.d.ts +1 -1
- package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +8 -8
- package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +6 -6
- package/dist/types/components/Navbar/DesktopNavbar.d.ts +0 -1
- package/dist/types/components/Navbar/DesktopNavbar.d.ts.map +1 -1
- package/dist/types/components/Navbar/MobileNavbar.d.ts +0 -1
- package/dist/types/components/Navbar/MobileNavbar.d.ts.map +1 -1
- package/dist/types/components/Navbar/index.d.ts +0 -1
- package/dist/types/components/Navbar/index.d.ts.map +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts +2 -2
- package/dist/types/components/Pagination/pagination.content.d.ts +5 -5
- package/dist/types/components/Popover/static.d.ts.map +1 -1
- package/dist/types/components/RightDrawer/rightDrawer.content.d.ts +2 -2
- package/dist/types/components/SwitchSelector/index.d.ts +1 -1
- package/dist/types/components/Tab/Tab.d.ts +1 -1
- package/dist/types/components/TabSelector/TabSelector.d.ts +1 -1
- package/dist/types/components/Table/table.content.d.ts +1 -1
- package/dist/types/components/Tag/index.d.ts +3 -3
- package/dist/types/components/Terminal/terminal.content.d.ts +2 -2
- package/dist/types/components/TextArea/TextArea.d.ts +0 -1
- package/dist/types/components/TextArea/TextArea.d.ts.map +1 -1
- package/dist/types/components/Toaster/Toast.d.ts +1 -1
- package/dist/types/components/index.d.ts +0 -34
- package/dist/types/hooks/index.d.ts +0 -1
- package/package.json +14 -14
|
@@ -25,7 +25,7 @@ declare const paginationContent: {
|
|
|
25
25
|
vi: string;
|
|
26
26
|
uk: string;
|
|
27
27
|
}, {
|
|
28
|
-
nodeType: _intlayer_types0.NodeType.Translation
|
|
28
|
+
nodeType: "translation" | _intlayer_types0.NodeType.Translation;
|
|
29
29
|
} & {
|
|
30
30
|
translation: {
|
|
31
31
|
en: string;
|
|
@@ -68,7 +68,7 @@ declare const paginationContent: {
|
|
|
68
68
|
vi: string;
|
|
69
69
|
zh: string;
|
|
70
70
|
}, {
|
|
71
|
-
nodeType: _intlayer_types0.NodeType.Translation
|
|
71
|
+
nodeType: "translation" | _intlayer_types0.NodeType.Translation;
|
|
72
72
|
} & {
|
|
73
73
|
translation: {
|
|
74
74
|
ar: string;
|
|
@@ -111,7 +111,7 @@ declare const paginationContent: {
|
|
|
111
111
|
vi: string;
|
|
112
112
|
uk: string;
|
|
113
113
|
}, {
|
|
114
|
-
nodeType: _intlayer_types0.NodeType.Translation
|
|
114
|
+
nodeType: "translation" | _intlayer_types0.NodeType.Translation;
|
|
115
115
|
} & {
|
|
116
116
|
translation: {
|
|
117
117
|
en: string;
|
|
@@ -154,7 +154,7 @@ declare const paginationContent: {
|
|
|
154
154
|
vi: string;
|
|
155
155
|
uk: string;
|
|
156
156
|
}, {
|
|
157
|
-
nodeType: _intlayer_types0.NodeType.Translation
|
|
157
|
+
nodeType: "translation" | _intlayer_types0.NodeType.Translation;
|
|
158
158
|
} & {
|
|
159
159
|
translation: {
|
|
160
160
|
en: string;
|
|
@@ -197,7 +197,7 @@ declare const paginationContent: {
|
|
|
197
197
|
vi: string;
|
|
198
198
|
uk: string;
|
|
199
199
|
}, {
|
|
200
|
-
nodeType: _intlayer_types0.NodeType.Translation
|
|
200
|
+
nodeType: "translation" | _intlayer_types0.NodeType.Translation;
|
|
201
201
|
} & {
|
|
202
202
|
translation: {
|
|
203
203
|
en: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"static.d.ts","names":[],"sources":["../../../../src/components/Popover/static.tsx"],"mappings":";;;;;AAQA;;KAAY,YAAA,GAAe,iBAAA,CACzB,cAAA,CAAe,cAAA,GACf,cAAA;EADe,qFAIf,UAAA;AAAA;;;;;KAOU,WAAA,GAAc,EAAA,CAAG,YAAA;EAC3B,MAAA,EAAQ,EAAA,CAAG,WAAA;AAAA;;;;aAMD,aAAA;EAPW;EASrB,KAAA;EAT2B;EAW3B,MAAA;EAVW;EAYX,GAAA;AAAA;;;;aAMU,aAAA;EAlBF;EAoBR,KAAA;EApBsB;EAsBtB,KAAA;AAAA;;;;;;;;;AAJF;;;;;AAwFA;;;;;
|
|
1
|
+
{"version":3,"file":"static.d.ts","names":[],"sources":["../../../../src/components/Popover/static.tsx"],"mappings":";;;;;AAQA;;KAAY,YAAA,GAAe,iBAAA,CACzB,cAAA,CAAe,cAAA,GACf,cAAA;EADe,qFAIf,UAAA;AAAA;;;;;KAOU,WAAA,GAAc,EAAA,CAAG,YAAA;EAC3B,MAAA,EAAQ,EAAA,CAAG,WAAA;AAAA;;;;aAMD,aAAA;EAPW;EASrB,KAAA;EAT2B;EAW3B,MAAA;EAVW;EAYX,GAAA;AAAA;;;;aAMU,aAAA;EAlBF;EAoBR,KAAA;EApBsB;EAsBtB,KAAA;AAAA;;;;;;;;;AAJF;;;;;AAwFA;;;;;AAuBA;;;;;;;;;;;;;;;;;;;;;;;;;;AAeE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAtCW,aAAA,EAAe,WAAA;;;;;KAuBhB,WAAA,GAAc,cAAA,CAAe,cAAA;oEAEvC,WAAA;EAEA,QAAA;EAEA,UAAA;EAEA,UAAA;EAEA,MAAA,GAAS,aAAA,MAAmB,aAAA;EAE5B,MAAA,GAAS,aAAA,MAAmB,aAAA;EAE5B,YAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkEI,MAAA,EAAQ,EAAA,CAAG,WAAA"}
|
|
@@ -24,7 +24,7 @@ declare const rightDrawerContent: {
|
|
|
24
24
|
vi: string;
|
|
25
25
|
uk: string;
|
|
26
26
|
}, {
|
|
27
|
-
nodeType: _intlayer_types0.NodeType.Translation
|
|
27
|
+
nodeType: "translation" | _intlayer_types0.NodeType.Translation;
|
|
28
28
|
} & {
|
|
29
29
|
translation: {
|
|
30
30
|
en: string;
|
|
@@ -67,7 +67,7 @@ declare const rightDrawerContent: {
|
|
|
67
67
|
vi: string;
|
|
68
68
|
uk: string;
|
|
69
69
|
}, {
|
|
70
|
-
nodeType: _intlayer_types0.NodeType.Translation
|
|
70
|
+
nodeType: "translation" | _intlayer_types0.NodeType.Translation;
|
|
71
71
|
} & {
|
|
72
72
|
translation: {
|
|
73
73
|
en: string;
|
|
@@ -28,7 +28,7 @@ declare enum SwitchSelectorColor {
|
|
|
28
28
|
TEXT = "text"
|
|
29
29
|
}
|
|
30
30
|
declare const switchSelectorVariant: (props?: {
|
|
31
|
-
color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark"
|
|
31
|
+
color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark";
|
|
32
32
|
disabled?: boolean;
|
|
33
33
|
} & class_variance_authority_types0.ClassProp) => string;
|
|
34
34
|
declare enum SwitchSelectorSize {
|
|
@@ -6,7 +6,7 @@ import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
|
6
6
|
//#region src/components/Tab/Tab.d.ts
|
|
7
7
|
declare const tabContainerVariant: (props?: {
|
|
8
8
|
background?: "with" | "without";
|
|
9
|
-
variant?: "default" | "
|
|
9
|
+
variant?: "default" | "ghost" | "bordered";
|
|
10
10
|
} & class_variance_authority_types0.ClassProp) => string;
|
|
11
11
|
type TabProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof tabContainerVariant> & {
|
|
12
12
|
defaultTab?: string;
|
|
@@ -15,7 +15,7 @@ declare enum TabSelectorColor {
|
|
|
15
15
|
TEXT = "text"
|
|
16
16
|
}
|
|
17
17
|
declare const tabSelectorVariant: (props?: {
|
|
18
|
-
color?: "primary" | "secondary" | "
|
|
18
|
+
color?: "primary" | "secondary" | "neutral" | "text" | "destructive" | "light" | "dark";
|
|
19
19
|
} & class_variance_authority_types0.ClassProp) => string;
|
|
20
20
|
type TabSelectorItemProps = HTMLAttributes<HTMLElement> & {
|
|
21
21
|
key: string | number;
|
|
@@ -185,9 +185,9 @@ declare enum TagBackground {
|
|
|
185
185
|
WITH = "with"
|
|
186
186
|
}
|
|
187
187
|
declare const containerVariants: (props?: {
|
|
188
|
-
roundedSize?: "
|
|
189
|
-
color?: "
|
|
190
|
-
size?: "
|
|
188
|
+
roundedSize?: "sm" | "md" | "lg" | "xl" | "none" | "2xl" | "3xl" | "full";
|
|
189
|
+
color?: "text" | "primary" | "neutral" | "error" | "success" | "warning" | "blue" | "yellow" | "green" | "red" | "orange" | "purple" | "pink" | "brown" | "gray" | "black" | "white";
|
|
190
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
191
191
|
border?: "none" | "with";
|
|
192
192
|
background?: "none" | "with";
|
|
193
193
|
} & class_variance_authority_types0.ClassProp) => string;
|
|
@@ -24,7 +24,7 @@ declare const terminalContent: {
|
|
|
24
24
|
vi: string;
|
|
25
25
|
uk: string;
|
|
26
26
|
}, {
|
|
27
|
-
nodeType: _intlayer_types0.NodeType.Translation
|
|
27
|
+
nodeType: "translation" | _intlayer_types0.NodeType.Translation;
|
|
28
28
|
} & {
|
|
29
29
|
translation: {
|
|
30
30
|
en: string;
|
|
@@ -67,7 +67,7 @@ declare const terminalContent: {
|
|
|
67
67
|
vi: string;
|
|
68
68
|
uk: string;
|
|
69
69
|
}, {
|
|
70
|
-
nodeType: _intlayer_types0.NodeType.Translation
|
|
70
|
+
nodeType: "translation" | _intlayer_types0.NodeType.Translation;
|
|
71
71
|
} & {
|
|
72
72
|
translation: {
|
|
73
73
|
en: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.d.ts","names":[],"sources":["../../../../src/components/TextArea/TextArea.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextArea.d.ts","names":[],"sources":["../../../../src/components/TextArea/TextArea.tsx"],"mappings":";;;;;;;;AAmCA;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAY,aAAA,GAAgB,iBAAA,CAC1B,iBAAA,CACE,sBAAA,CAAuB,mBAAA,GACvB,mBAAA,GAEF,mBAAA;EAS8B,0DAN9B,sBAAA;AAAA,IACE,IAAA,CACA,YAAA,QAAoB,aAAA;EAiDX,8EA7CT,OAAA,GAAU,YAAA,MAAkB,YAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6CnB,QAAA,EAAU,EAAA,CAAG,aAAA"}
|
|
@@ -25,7 +25,7 @@ declare const ToastViewport: FC<ComponentProps<typeof ToastPrimitives.Viewport>>
|
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
27
|
declare const toastVariants: (props?: {
|
|
28
|
-
variant?: "
|
|
28
|
+
variant?: "error" | "success" | "default";
|
|
29
29
|
} & class_variance_authority_types0.ClassProp) => string;
|
|
30
30
|
/**
|
|
31
31
|
* Toast Component
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
import { Button, ButtonColor, ButtonProps, ButtonSize, ButtonTextAlign, ButtonVariant, buttonVariants } from "./Button/Button.js";
|
|
2
|
-
import "./Button/index.js";
|
|
3
2
|
import { Accordion, AccordionProps } from "./Accordion/Accordion.js";
|
|
4
|
-
import "./Accordion/index.js";
|
|
5
3
|
import { Avatar, AvatarProps, getCapitals } from "./Avatar/index.js";
|
|
6
4
|
import { Badge, BadgeColor, BadgeProps, BadgeSize, BadgeVariant, BadgeVariantProps, badgeVariants } from "./Badge/index.js";
|
|
7
5
|
import { Link, LinkColor, LinkProps, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, checkIsExternalLink, isTextChildren, linkVariants } from "./Link/Link.js";
|
|
8
|
-
import "./Link/index.js";
|
|
9
6
|
import { Breadcrumb, BreadcrumbLink, BreadcrumbProps } from "./Breadcrumb/index.js";
|
|
10
7
|
import { Browser, BrowserProps } from "./Browser/Browser.js";
|
|
11
|
-
import "./Browser/index.js";
|
|
12
8
|
import { Carousel } from "./Carousel/index.js";
|
|
13
9
|
import { ClickOutsideDiv, ClickOutsideDivProps } from "./ClickOutsideDiv/index.js";
|
|
14
10
|
import { CollapsibleTable, CollapsibleTableProps } from "./CollapsibleTable/CollapsibleTable.js";
|
|
15
|
-
import "./CollapsibleTable/index.js";
|
|
16
11
|
import { Command, CommandRoot } from "./Command/index.js";
|
|
17
12
|
import { Container, ContainerBackground, ContainerBorderColor, ContainerGap, ContainerPadding, ContainerProps, ContainerRoundedSize, ContainerSeparator, ContainerTransparency, containerVariants } from "./Container/index.js";
|
|
18
13
|
import { Checkbox, CheckboxColor, CheckboxProps, CheckboxSize, checkboxVariants } from "./Input/Checkbox.js";
|
|
@@ -20,17 +15,13 @@ import { Input, InputProps, InputSize, InputVariant, inputVariants } from "./Inp
|
|
|
20
15
|
import { InputPassword } from "./Input/InputPassword.js";
|
|
21
16
|
import { InputIndicator, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, OTPInput, OTPInputContext, OTPInputProps, RenderProps, SlotProps, inputSlotVariants, usePasswordManagerBadge, usePrevious } from "./Input/OTPInput.js";
|
|
22
17
|
import { SearchInput } from "./Input/SearchInput.js";
|
|
23
|
-
import "./Input/index.js";
|
|
24
18
|
import { TextArea, TextAreaProps } from "./TextArea/TextArea.js";
|
|
25
19
|
import { AutoSizedTextArea, AutoSizedTextAreaProps } from "./TextArea/AutoSizeTextArea.js";
|
|
26
20
|
import { AutoCompleteTextarea, AutocompleteTextAreaProps, useDebounce } from "./TextArea/AutocompleteTextArea.js";
|
|
27
|
-
import "./TextArea/index.js";
|
|
28
21
|
import { ContentSelector } from "./ContentSelector/ContentSelector.js";
|
|
29
|
-
import "./ContentSelector/index.js";
|
|
30
22
|
import { CopyButton } from "./CopyButton/index.js";
|
|
31
23
|
import { CopyToClipboard, CopyToClipboardProps, useCopyToClipboard } from "./CopyToClipboard/index.js";
|
|
32
24
|
import { DictionaryEditor } from "./DictionaryEditor/DictionaryEditor.js";
|
|
33
|
-
import "./DictionaryEditor/index.js";
|
|
34
25
|
import { ContentEditor } from "./DictionaryFieldEditor/ContentEditor.js";
|
|
35
26
|
import { TextEditor, TextEditorContainer, TextEditorProps, traceKeys } from "./DictionaryFieldEditor/ContentEditorView/TextEditor.js";
|
|
36
27
|
import { DictionaryCreationForm } from "./DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.js";
|
|
@@ -39,24 +30,18 @@ import { KeyPathBreadcrumb } from "./DictionaryFieldEditor/KeyPathBreadcrumb.js"
|
|
|
39
30
|
import { SaveForm } from "./DictionaryFieldEditor/SaveForm/SaveForm.js";
|
|
40
31
|
import { VersionSwitcher, VersionSwitcherProps } from "./DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.js";
|
|
41
32
|
import { VersionSwitcherProvider, useVersionSwitcher } from "./DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.js";
|
|
42
|
-
import "./DictionaryFieldEditor/index.js";
|
|
43
33
|
import { DropDown, DropDownAlign, DropDownProps, DropDownType, DropDownYAlign, PanelProps, TriggerProps } from "./DropDown/index.js";
|
|
44
34
|
import { EditableFieldInput } from "./EditableField/EditableFieldInput.js";
|
|
45
35
|
import { EditableFieldTextArea } from "./EditableField/EditableFieldTextArea.js";
|
|
46
|
-
import "./EditableField/index.js";
|
|
47
36
|
import { ExpandCollapse, ExpandCollapseProps } from "./ExpandCollapse/ExpandCollapse.js";
|
|
48
|
-
import "./ExpandCollapse/index.js";
|
|
49
37
|
import { Flag } from "./Flags/Flag.js";
|
|
50
38
|
import { flags_d_exports } from "./Flags/flags.js";
|
|
51
|
-
import "./Flags/index.js";
|
|
52
39
|
import { Footer, FooterLink, LinkGroup } from "./Footer/index.js";
|
|
53
40
|
import { useForm } from "./Form/FormBase.js";
|
|
54
41
|
import { useFormField } from "./Form/FormField.js";
|
|
55
42
|
import { Form } from "./Form/Form.js";
|
|
56
43
|
import { Label, LabelProps } from "./Label/index.js";
|
|
57
|
-
import "./Form/index.js";
|
|
58
44
|
import { HTMLRenderer, getIntlayerHTMLOptions } from "./HTMLRender/HTMLRender.js";
|
|
59
|
-
import "./HTMLRender/index.js";
|
|
60
45
|
import { H1, H2, H3, H4, H5, H6, HeadingProps } from "./Headers/index.js";
|
|
61
46
|
import { HeightResizer } from "./HeightResizer/index.js";
|
|
62
47
|
import { HideShow, HideShowProps } from "./HideShow/index.js";
|
|
@@ -64,51 +49,37 @@ import { Code, CodeCompAttributes } from "./IDE/Code.js";
|
|
|
64
49
|
import { CodeBlock, CodeBlockProps, CodeDefault } from "./IDE/CodeBlockClient.js";
|
|
65
50
|
import { FileList, FileListProps } from "./IDE/FileList.js";
|
|
66
51
|
import { IDE, IDEProps } from "./IDE/IDE.js";
|
|
67
|
-
import "./IDE/index.js";
|
|
68
52
|
import { InformationTag } from "./InformationTag/index.js";
|
|
69
53
|
import { KeyboardScreenAdapter } from "./KeyboardScreenAdapter/index.js";
|
|
70
54
|
import { KeyList, KeyboardShortcut, KeyboardShortcutProps, KeyboardShortcutType } from "./KeyboardShortcut/KeyboardShortcut.js";
|
|
71
|
-
import "./KeyboardShortcut/index.js";
|
|
72
55
|
import { LanguageBackground, LanguageSection } from "./LanguageBackground/index.js";
|
|
73
56
|
import { Loader, LoaderProps } from "./Loader/index.js";
|
|
74
57
|
import { LocaleSwitcherContent, LocaleSwitcherContentProps } from "./LocaleSwitcherContentDropDown/LocaleSwitcherContent.js";
|
|
75
58
|
import { LocaleSwitcherContentProvider, useLocaleSwitcherContent } from "./LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.js";
|
|
76
|
-
import "./LocaleSwitcherContentDropDown/index.js";
|
|
77
59
|
import { LocaleSwitcher, LocaleSwitcherProps } from "./LocaleSwitcherDropDown/LocaleSwitcher.js";
|
|
78
|
-
import "./LocaleSwitcherDropDown/index.js";
|
|
79
60
|
import { Logo } from "./Logo/Logo.js";
|
|
80
61
|
import { LogoTextOnly } from "./Logo/LogoTextOnly.js";
|
|
81
62
|
import { LogoWithText } from "./Logo/LogoWithText.js";
|
|
82
63
|
import { LogoWithTextBelow } from "./Logo/LogoWithTextBelow.js";
|
|
83
|
-
import "./Logo/index.js";
|
|
84
64
|
import { MarkdownRenderer, getIntlayerMarkdownOptions } from "./MarkDownRender/MarkDownRender.js";
|
|
85
|
-
import "./MarkDownRender/index.js";
|
|
86
65
|
import { MaxHeightSmoother } from "./MaxHeightSmoother/index.js";
|
|
87
66
|
import { MaxWidthSmoother } from "./MaxWidthSmoother/index.js";
|
|
88
67
|
import { Modal, ModalSize } from "./Modal/Modal.js";
|
|
89
|
-
import "./Modal/index.js";
|
|
90
68
|
import { TabSelector, TabSelectorColor, TabSelectorItemProps, TabSelectorProps } from "./TabSelector/TabSelector.js";
|
|
91
|
-
import "./TabSelector/index.js";
|
|
92
69
|
import { Navbar } from "./Navbar/index.js";
|
|
93
70
|
import { NumberItemsSelector, NumberItemsSelectorProps } from "./Pagination/NumberItemsSelector.js";
|
|
94
71
|
import { Pagination, PaginationProps, PaginationSize, PaginationVariant, paginationVariants } from "./Pagination/Pagination.js";
|
|
95
72
|
import { ShowingResultsNumberItems, ShowingResultsNumberItemsProps } from "./Pagination/ShowingResultsNumberItems.js";
|
|
96
|
-
import "./Pagination/index.js";
|
|
97
73
|
import { DotPattern } from "./Pattern/DotPattern.js";
|
|
98
74
|
import { GridPattern } from "./Pattern/GridPattern.js";
|
|
99
75
|
import { Spotlight } from "./Pattern/SpotLight.js";
|
|
100
|
-
import "./Pattern/index.js";
|
|
101
76
|
import { Detail, DetailProps, PopoverProps, PopoverStatic, PopoverType, PopoverXAlign, PopoverYAlign } from "./Popover/static.js";
|
|
102
77
|
import { Popover } from "./Popover/dynamic.js";
|
|
103
|
-
import "./Popover/index.js";
|
|
104
78
|
import { PressableSpan } from "./PressableSpan/PressableSpan.js";
|
|
105
|
-
import "./PressableSpan/index.js";
|
|
106
79
|
import { RightDrawer } from "./RightDrawer/RightDrawer.js";
|
|
107
80
|
import { drawerManager, useRightDrawer } from "./RightDrawer/useRightDrawer.js";
|
|
108
|
-
import "./RightDrawer/index.js";
|
|
109
81
|
import { MultiSelect } from "./Select/Multiselect.js";
|
|
110
82
|
import { Select, SelectContent, SelectContentPosition, SelectLabel, SelectSeparator } from "./Select/Select.js";
|
|
111
|
-
import "./Select/index.js";
|
|
112
83
|
import { DiscordLogo } from "./SocialNetworks/DiscordLogo.js";
|
|
113
84
|
import { FacebookLogo } from "./SocialNetworks/FacebookLogo.js";
|
|
114
85
|
import { InstagramLogo } from "./SocialNetworks/InstagramLogo.js";
|
|
@@ -120,19 +91,14 @@ import { YoutubeLogo } from "./SocialNetworks/YoutubeLogo.js";
|
|
|
120
91
|
import { SocialNetworks } from "./SocialNetworks/index.js";
|
|
121
92
|
import { SwitchSelector, SwitchSelectorChoice, SwitchSelectorChoices, SwitchSelectorColor, SwitchSelectorProps, SwitchSelectorSize } from "./SwitchSelector/index.js";
|
|
122
93
|
import { Tab, TabItemProps, TabProps } from "./Tab/Tab.js";
|
|
123
|
-
import "./Tab/index.js";
|
|
124
94
|
import { Table } from "./Table/Table.js";
|
|
125
|
-
import "./Table/index.js";
|
|
126
95
|
import { Tag, TagBackground, TagBorder, TagColor, TagRoundedSize, TagSize } from "./Tag/index.js";
|
|
127
96
|
import { Terminal, TerminalProps } from "./Terminal/Terminal.js";
|
|
128
|
-
import "./Terminal/index.js";
|
|
129
97
|
import { Modes } from "./ThemeSwitcherDropDown/types.js";
|
|
130
98
|
import { DesktopThemeSwitcher } from "./ThemeSwitcherDropDown/DesktopThemeSwitcher.js";
|
|
131
99
|
import { MobileThemeSwitcher } from "./ThemeSwitcherDropDown/MobileThemeSwitcher.js";
|
|
132
|
-
import "./ThemeSwitcherDropDown/index.js";
|
|
133
100
|
import { Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport } from "./Toaster/Toast.js";
|
|
134
101
|
import { Toaster } from "./Toaster/Toaster.js";
|
|
135
102
|
import { reducer, toast, useToast } from "./Toaster/useToast.js";
|
|
136
|
-
import "./Toaster/index.js";
|
|
137
103
|
import { WithResizer } from "./WithResizer/index.js";
|
|
138
104
|
export { Accordion, AccordionProps, AutoCompleteTextarea, AutoSizedTextArea, AutoSizedTextAreaProps, AutocompleteTextAreaProps, Avatar, AvatarProps, Badge, BadgeColor, BadgeProps, BadgeSize, BadgeVariant, BadgeVariantProps, Breadcrumb, BreadcrumbLink, BreadcrumbProps, Browser, BrowserProps, Button, ButtonColor, ButtonProps, ButtonSize, ButtonTextAlign, ButtonVariant, Carousel, Checkbox, CheckboxColor, CheckboxProps, CheckboxSize, ClickOutsideDiv, ClickOutsideDivProps, Code, CodeBlock, CodeBlockProps, CodeCompAttributes, CodeDefault, CollapsibleTable, CollapsibleTableProps, Command, CommandRoot, Container, ContainerBackground, ContainerBorderColor, ContainerGap, ContainerPadding, ContainerProps, ContainerRoundedSize, ContainerSeparator, ContainerTransparency, ContentEditor, ContentSelector, CopyButton, CopyToClipboard, CopyToClipboardProps, DesktopThemeSwitcher, Detail, DetailProps, DictionaryCreationForm, DictionaryEditor, DictionaryFieldEditor, DiscordLogo, DotPattern, DropDown, DropDownAlign, DropDownProps, DropDownType, DropDownYAlign, EditableFieldInput, EditableFieldTextArea, ExpandCollapse, ExpandCollapseProps, FacebookLogo, FileList, FileListProps, Flag, flags_d_exports as Flags, Footer, FooterLink, Form, GridPattern, H1, H2, H3, H4, H5, H6, HTMLRenderer, HeadingProps, HeightResizer, HideShow, HideShowProps, IDE, IDEProps, InformationTag, Input, InputIndicator, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputPassword, InputProps, InputSize, InputVariant, InstagramLogo, KeyList, KeyPathBreadcrumb, KeyboardScreenAdapter, KeyboardShortcut, KeyboardShortcutProps, KeyboardShortcutType, Label, LabelProps, LanguageBackground, LanguageSection, Link, LinkColor, LinkGroup, LinkProps, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, LinkedInLogo, Loader, LoaderProps, LocaleSwitcher, LocaleSwitcherContent, LocaleSwitcherContentProps, LocaleSwitcherContentProvider, LocaleSwitcherProps, Logo, LogoTextOnly, LogoWithText, LogoWithTextBelow, MarkdownRenderer, MaxHeightSmoother, MaxWidthSmoother, MobileThemeSwitcher, Modal, ModalSize, Modes, MultiSelect, Navbar, NumberItemsSelector, NumberItemsSelectorProps, OTPInput, OTPInputContext, OTPInputProps, Pagination, PaginationProps, PaginationSize, PaginationVariant, PanelProps, Popover, PopoverProps, PopoverStatic, PopoverType, PopoverXAlign, PopoverYAlign, PressableSpan, ProductHuntLogo, RenderProps, RightDrawer, SaveForm, SearchInput, Select, SelectContent, SelectContentPosition, SelectLabel, SelectSeparator, ShowingResultsNumberItems, ShowingResultsNumberItemsProps, SlotProps, SocialNetworks, Spotlight, SwitchSelector, SwitchSelectorChoice, SwitchSelectorChoices, SwitchSelectorColor, SwitchSelectorProps, SwitchSelectorSize, Tab, TabItemProps, TabProps, TabSelector, TabSelectorColor, TabSelectorItemProps, TabSelectorProps, Table, Tag, TagBackground, TagBorder, TagColor, TagRoundedSize, TagSize, Terminal, TerminalProps, TextArea, TextAreaProps, TextEditor, TextEditorContainer, TextEditorProps, TiktokLogo, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, TriggerProps, VersionSwitcher, VersionSwitcherProps, VersionSwitcherProvider, WithResizer, XLogo, YoutubeLogo, badgeVariants, buttonVariants, checkIsExternalLink, checkboxVariants, containerVariants, drawerManager, getCapitals, getIntlayerHTMLOptions, getIntlayerMarkdownOptions, inputSlotVariants, inputVariants, isTextChildren, linkVariants, paginationVariants, reducer, toast, traceKeys, useCopyToClipboard, useDebounce, useForm, useFormField, useLocaleSwitcherContent, usePasswordManagerBadge, usePrevious, useRightDrawer, useToast, useVersionSwitcher };
|
|
@@ -2,7 +2,6 @@ import { useAddDictionary, useAddNewAccessKey, useAddOrganization, useAddOrganiz
|
|
|
2
2
|
import { useAuth } from "./useAuth/useAuth.js";
|
|
3
3
|
import { useOAuth2 } from "./useAuth/useOAuth2.js";
|
|
4
4
|
import { UseSessionResult, useSession } from "./useAuth/useSession.js";
|
|
5
|
-
import "./useAuth/index.js";
|
|
6
5
|
import { SizeType, calculateIsMobile, checkIsIOS, checkIsIphoneOrSafariDevice, checkIsMac, checkIsMobileScreen, checkIsMobileUserAgent, getBreakpointFromSize, useDevice } from "./useDevice.js";
|
|
7
6
|
import { useGetElementById } from "./useGetElementById.js";
|
|
8
7
|
import { useGetElementOrWindow } from "./useGetElementOrWindow.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/design-system",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Intlayer design system, including UI components used in the Intlayer editor, website, and visual editor/CMS.",
|
|
6
6
|
"keywords": [
|
|
@@ -104,12 +104,12 @@
|
|
|
104
104
|
"dependencies": {
|
|
105
105
|
"@better-auth/passkey": "1.4.18",
|
|
106
106
|
"@better-auth/sso": "1.4.18",
|
|
107
|
-
"@intlayer/api": "8.1.
|
|
108
|
-
"@intlayer/config": "8.1.
|
|
109
|
-
"@intlayer/core": "8.1.
|
|
110
|
-
"@intlayer/dictionaries-entry": "8.1.
|
|
111
|
-
"@intlayer/editor-react": "8.
|
|
112
|
-
"@intlayer/types": "8.
|
|
107
|
+
"@intlayer/api": "8.1.11",
|
|
108
|
+
"@intlayer/config": "8.1.11",
|
|
109
|
+
"@intlayer/core": "8.1.11",
|
|
110
|
+
"@intlayer/dictionaries-entry": "8.1.11",
|
|
111
|
+
"@intlayer/editor-react": "8.2.0",
|
|
112
|
+
"@intlayer/types": "8.2.0",
|
|
113
113
|
"@radix-ui/react-dialog": "1.1.15",
|
|
114
114
|
"@radix-ui/react-select": "2.2.6",
|
|
115
115
|
"@radix-ui/react-slot": "1.2.4",
|
|
@@ -119,12 +119,12 @@
|
|
|
119
119
|
"bun": "1.3.2",
|
|
120
120
|
"class-variance-authority": "0.7.1",
|
|
121
121
|
"cmdk": "1.1.1",
|
|
122
|
-
"react-intlayer": "8.1.
|
|
122
|
+
"react-intlayer": "8.1.11",
|
|
123
123
|
"rollup-preserve-directives": "1.1.3",
|
|
124
124
|
"zod": "4.3.6"
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
|
-
"@intlayer/backend": "8.1.
|
|
127
|
+
"@intlayer/backend": "8.1.11",
|
|
128
128
|
"@shikijs/transformers": "3.22.0",
|
|
129
129
|
"@storybook/addon-a11y": "8.6.14",
|
|
130
130
|
"@storybook/addon-essentials": "8.6.14",
|
|
@@ -153,14 +153,14 @@
|
|
|
153
153
|
"@utils/ts-config": "1.0.4",
|
|
154
154
|
"@utils/ts-config-types": "1.0.4",
|
|
155
155
|
"fast-glob": "3.3.3",
|
|
156
|
-
"intlayer": "8.1.
|
|
156
|
+
"intlayer": "8.1.11",
|
|
157
157
|
"rimraf": "6.1.3",
|
|
158
158
|
"shiki": "3.22.0",
|
|
159
159
|
"storybook": "8.6.17",
|
|
160
160
|
"tsdown": "0.20.3",
|
|
161
161
|
"typescript": "5.9.3",
|
|
162
162
|
"vite": "7.3.1",
|
|
163
|
-
"vite-intlayer": "8.1.
|
|
163
|
+
"vite-intlayer": "8.1.11",
|
|
164
164
|
"vite-plugin-dts": "4.5.4",
|
|
165
165
|
"vite-tsconfig-paths": "6.1.1",
|
|
166
166
|
"vitest": "4.0.18"
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
"peerDependencies": {
|
|
169
169
|
"@better-fetch/fetch": "1.1.21",
|
|
170
170
|
"@hookform/resolvers": "5.2.2",
|
|
171
|
-
"@intlayer/backend": "8.1.
|
|
171
|
+
"@intlayer/backend": "8.1.11",
|
|
172
172
|
"@monaco-editor/react": "4.7.0",
|
|
173
173
|
"@shikijs/transformers": "3.22.0",
|
|
174
174
|
"@tanstack/react-query": "5.90.21",
|
|
@@ -176,12 +176,12 @@
|
|
|
176
176
|
"clsx": "2.1.1",
|
|
177
177
|
"framer-motion": "12.34.3",
|
|
178
178
|
"fuse.js": "7.1.0",
|
|
179
|
-
"intlayer": "8.1.
|
|
179
|
+
"intlayer": "8.1.11",
|
|
180
180
|
"lucide-react": "0.575.0",
|
|
181
181
|
"react": ">=16.0.0",
|
|
182
182
|
"react-dom": ">=16.0.0",
|
|
183
183
|
"react-hook-form": "7.71.2",
|
|
184
|
-
"react-intlayer": "8.1.
|
|
184
|
+
"react-intlayer": "8.1.11",
|
|
185
185
|
"shiki": "3.22.0",
|
|
186
186
|
"tailwind-merge": "3.5.0",
|
|
187
187
|
"tailwindcss": "4.2.0"
|