@intlayer/design-system 7.5.6 → 7.5.7
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/Breadcrumb/index.mjs +28 -2
- package/dist/esm/components/Breadcrumb/index.mjs.map +1 -1
- package/dist/esm/components/Browser/Browser.mjs +29 -40
- package/dist/esm/components/Browser/Browser.mjs.map +1 -1
- package/dist/esm/components/Browser/{Browser.content.mjs → browser.content.mjs} +42 -4
- package/dist/esm/components/Browser/{Browser.content.mjs.map → browser.content.mjs.map} +1 -1
- package/dist/esm/components/Button/Button.mjs +6 -2
- package/dist/esm/components/Button/Button.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +111 -81
- package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/KeyPathBreadcrumb.mjs +7 -6
- package/dist/esm/components/DictionaryFieldEditor/KeyPathBreadcrumb.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/index.mjs +4 -1
- package/dist/esm/components/DropDown/index.mjs +19 -4
- package/dist/esm/components/DropDown/index.mjs.map +1 -1
- package/dist/esm/components/Flags/Flag.mjs +55 -2
- package/dist/esm/components/Flags/Flag.mjs.map +1 -1
- package/dist/esm/components/Flags/bw.mjs +35 -0
- package/dist/esm/components/Flags/bw.mjs.map +1 -0
- package/dist/esm/components/Flags/cu.mjs +45 -0
- package/dist/esm/components/Flags/cu.mjs.map +1 -0
- package/dist/esm/components/Flags/cv.mjs +45 -0
- package/dist/esm/components/Flags/cv.mjs.map +1 -0
- package/dist/esm/components/Flags/dj.mjs +45 -0
- package/dist/esm/components/Flags/dj.mjs.map +1 -0
- package/dist/esm/components/Flags/flags.mjs +242 -7
- package/dist/esm/components/Flags/flags.mjs.map +1 -1
- package/dist/esm/components/Flags/gh.mjs +38 -0
- package/dist/esm/components/Flags/gh.mjs.map +1 -0
- package/dist/esm/components/Flags/gw.mjs +69 -0
- package/dist/esm/components/Flags/gw.mjs.map +1 -0
- package/dist/esm/components/Flags/km.mjs +54 -0
- package/dist/esm/components/Flags/km.mjs.map +1 -0
- package/dist/esm/components/Flags/lk.mjs +75 -0
- package/dist/esm/components/Flags/lk.mjs.map +1 -0
- package/dist/esm/components/Flags/md.mjs +319 -0
- package/dist/esm/components/Flags/md.mjs.map +1 -0
- package/dist/esm/components/Flags/mr.mjs +39 -0
- package/dist/esm/components/Flags/mr.mjs.map +1 -0
- package/dist/esm/components/Flags/mz.mjs +94 -0
- package/dist/esm/components/Flags/mz.mjs.map +1 -0
- package/dist/esm/components/Flags/ps.mjs +47 -0
- package/dist/esm/components/Flags/ps.mjs.map +1 -0
- package/dist/esm/components/Flags/sd.mjs +46 -0
- package/dist/esm/components/Flags/sd.mjs.map +1 -0
- package/dist/esm/components/Flags/so.mjs +39 -0
- package/dist/esm/components/Flags/so.mjs.map +1 -0
- package/dist/esm/components/Flags/st.mjs +75 -0
- package/dist/esm/components/Flags/st.mjs.map +1 -0
- package/dist/esm/components/Flags/td.mjs +35 -0
- package/dist/esm/components/Flags/td.mjs.map +1 -0
- package/dist/esm/components/Flags/tl.mjs +45 -0
- package/dist/esm/components/Flags/tl.mjs.map +1 -0
- package/dist/esm/components/Flags/tz.mjs +46 -0
- package/dist/esm/components/Flags/tz.mjs.map +1 -0
- package/dist/esm/components/Flags/ug.mjs +147 -0
- package/dist/esm/components/Flags/ug.mjs.map +1 -0
- package/dist/esm/components/Form/elements/OTPElement.mjs +2 -2
- package/dist/esm/components/Form/elements/OTPElement.mjs.map +1 -1
- package/dist/esm/components/Input/Input.mjs +3 -1
- package/dist/esm/components/Input/Input.mjs.map +1 -1
- package/dist/esm/components/Input/OTPInput.mjs +2 -2
- package/dist/esm/components/Input/OTPInput.mjs.map +1 -1
- package/dist/esm/components/Input/SearchInput.mjs +1 -1
- package/dist/esm/components/Input/SearchInput.mjs.map +1 -1
- package/dist/esm/components/Link/Link.mjs +11 -3
- package/dist/esm/components/Link/Link.mjs.map +1 -1
- package/dist/esm/components/Link/index.mjs +2 -2
- package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +19 -13
- package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs.map +1 -1
- package/dist/esm/components/TextArea/AutocompleteTextArea.mjs +2 -29
- package/dist/esm/components/TextArea/AutocompleteTextArea.mjs.map +1 -1
- package/dist/esm/components/index.mjs +12 -9
- package/dist/esm/hooks/index.mjs +2 -2
- package/dist/esm/hooks/reactQuery.mjs +32 -3
- package/dist/esm/hooks/reactQuery.mjs.map +1 -1
- package/dist/esm/hooks/usePersistedStore.mjs +1 -1
- package/dist/esm/hooks/usePersistedStore.mjs.map +1 -1
- package/dist/types/components/Badge/index.d.ts +2 -2
- package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +3 -3
- package/dist/types/components/Breadcrumb/index.d.ts +2 -2
- package/dist/types/components/Breadcrumb/index.d.ts.map +1 -1
- package/dist/types/components/Browser/Browser.d.ts +2 -2
- package/dist/types/components/Browser/Browser.d.ts.map +1 -1
- package/dist/types/components/Browser/{Browser.content.d.ts → browser.content.d.ts} +97 -15
- package/dist/types/components/Browser/browser.content.d.ts.map +1 -0
- package/dist/types/components/Button/Button.d.ts +7 -7
- package/dist/types/components/Button/Button.d.ts.map +1 -1
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +4 -4
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts.map +1 -1
- package/dist/types/components/Command/index.d.ts +17 -17
- package/dist/types/components/Container/index.d.ts +9 -9
- package/dist/types/components/Container/index.d.ts.map +1 -1
- package/dist/types/components/CopyButton/CopyButton.content.d.ts +3 -3
- package/dist/types/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +9 -9
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +33 -33
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/KeyPathBreadcrumb.d.ts +5 -1
- package/dist/types/components/DictionaryFieldEditor/KeyPathBreadcrumb.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +33 -33
- package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +9 -9
- package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +7 -7
- package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +5 -5
- package/dist/types/components/DictionaryFieldEditor/index.d.ts +4 -1
- package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +31 -31
- package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
- package/dist/types/components/DropDown/index.d.ts +16 -2
- package/dist/types/components/DropDown/index.d.ts.map +1 -1
- package/dist/types/components/EditableField/EditableFieldInput.d.ts.map +1 -1
- package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +3 -3
- package/dist/types/components/Flags/Flag.d.ts.map +1 -1
- package/dist/types/components/Flags/flags.d.ts +169 -7
- package/dist/types/components/Flags/flags.d.ts.map +1 -1
- package/dist/types/components/Form/FormBase.d.ts +2 -2
- package/dist/types/components/Form/FormBase.d.ts.map +1 -1
- package/dist/types/components/Form/FormField.d.ts +2 -2
- package/dist/types/components/Form/FormField.d.ts.map +1 -1
- package/dist/types/components/Form/FormItem.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts +2 -2
- package/dist/types/components/Form/elements/FormElement.d.ts +2 -2
- package/dist/types/components/Form/elements/MultiselectElement.d.ts +2 -2
- package/dist/types/components/Form/elements/MultiselectElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/OTPElement.d.ts +2 -2
- package/dist/types/components/Form/elements/OTPElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/SelectElement.d.ts +2 -2
- package/dist/types/components/Form/elements/SelectElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts +2 -2
- package/dist/types/components/IDE/CodeContext.d.ts +2 -2
- package/dist/types/components/IDE/code.content.d.ts +5 -5
- package/dist/types/components/IDE/copyCode.content.d.ts +5 -5
- package/dist/types/components/IDE/selectors.content.d.ts +7 -7
- package/dist/types/components/Input/Checkbox.d.ts +3 -3
- package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
- package/dist/types/components/Input/Input.d.ts +5 -8
- package/dist/types/components/Input/Input.d.ts.map +1 -1
- package/dist/types/components/Input/OTPInput.d.ts +6 -6
- package/dist/types/components/Input/OTPInput.d.ts.map +1 -1
- package/dist/types/components/Input/SearchInput.d.ts +2 -2
- package/dist/types/components/Input/SearchInput.d.ts.map +1 -1
- package/dist/types/components/Link/Link.d.ts +9 -8
- package/dist/types/components/Link/Link.d.ts.map +1 -1
- package/dist/types/components/Link/index.d.ts +2 -2
- package/dist/types/components/Loader/index.content.d.ts +3 -3
- package/dist/types/components/Loader/index.content.d.ts.map +1 -1
- package/dist/types/components/Loader/index.d.ts.map +1 -1
- package/dist/types/components/Loader/spinner.d.ts +2 -2
- package/dist/types/components/Loader/spinner.d.ts.map +1 -1
- package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -17
- package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts.map +1 -1
- package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +13 -13
- package/dist/types/components/MarkDownRender/processor.d.ts.map +1 -1
- package/dist/types/components/MaxWidthSmoother/index.d.ts +2 -2
- package/dist/types/components/MaxWidthSmoother/index.d.ts.map +1 -1
- package/dist/types/components/Navbar/Burger.d.ts +2 -2
- package/dist/types/components/Navbar/Burger.d.ts.map +1 -1
- package/dist/types/components/Navbar/DesktopNavbar.d.ts +2 -2
- package/dist/types/components/Navbar/DesktopNavbar.d.ts.map +1 -1
- package/dist/types/components/Navbar/MobileNavbar.d.ts +2 -2
- package/dist/types/components/Navbar/MobileNavbar.d.ts.map +1 -1
- package/dist/types/components/Navbar/index.d.ts +2 -2
- package/dist/types/components/Navbar/index.d.ts.map +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts +3 -3
- package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/components/Pagination/pagination.content.d.ts +11 -11
- package/dist/types/components/RightDrawer/useRightDrawerStore.d.ts +2 -2
- package/dist/types/components/Select/Select.d.ts +3 -3
- package/dist/types/components/SocialNetworks/index.d.ts +2 -2
- package/dist/types/components/SwitchSelector/index.d.ts +7 -7
- package/dist/types/components/SwitchSelector/index.d.ts.map +1 -1
- package/dist/types/components/Tab/Tab.d.ts +5 -5
- package/dist/types/components/Tab/Tab.d.ts.map +1 -1
- package/dist/types/components/Tab/TabContext.d.ts +2 -2
- package/dist/types/components/TabSelector/TabSelector.d.ts +5 -5
- package/dist/types/components/TabSelector/TabSelector.d.ts.map +1 -1
- package/dist/types/components/Table/table.content.d.ts +3 -3
- package/dist/types/components/Tag/index.d.ts +5 -5
- package/dist/types/components/Terminal/terminal.content.d.ts +5 -5
- package/dist/types/components/Toaster/Toast.d.ts +3 -3
- package/dist/types/components/Toaster/Toast.d.ts.map +1 -1
- package/dist/types/components/Toaster/Toaster.d.ts +2 -2
- package/dist/types/components/Toaster/Toaster.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +6 -3
- package/dist/types/hooks/index.d.ts +2 -2
- package/dist/types/hooks/reactQuery.d.ts +2 -1
- package/dist/types/hooks/reactQuery.d.ts.map +1 -1
- package/dist/types/hooks/useScrollBlockage/useScrollBlockageStore.d.ts +2 -2
- package/package.json +14 -14
- package/dist/types/components/Browser/Browser.content.d.ts.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InputOTP } from "../../Input/OTPInput.js";
|
|
2
2
|
import { FormElementProps } from "./FormElement.js";
|
|
3
3
|
import { ComponentProps, ReactNode } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Form/elements/OTPElement.d.ts
|
|
7
7
|
type OTPElementsProps = Omit<FormElementProps<typeof InputOTP>, 'Element'> & Omit<ComponentProps<typeof InputOTP>, 'children'> & {
|
|
@@ -24,7 +24,7 @@ declare const OTPElement: ({
|
|
|
24
24
|
slots,
|
|
25
25
|
maxLength,
|
|
26
26
|
...props
|
|
27
|
-
}: OTPElementsProps) =>
|
|
27
|
+
}: OTPElementsProps) => react_jsx_runtime5.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { OTPElement };
|
|
30
30
|
//# sourceMappingURL=OTPElement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OTPElement.d.ts","names":[],"sources":["../../../../../src/components/Form/elements/OTPElement.tsx"],"sourcesContent":[],"mappings":";;;;;;KAiBK,gBAAA,GAAmB,KAAK,wBAAwB,wBACnD,KAAK,sBAAsB;;;EADxB,WAAA,CAAA,EAAA,MAAgB;EAAgC,SAAA,CAAA,EAAA,MAAA;EAAxB,QAAA,CAAA,EAMd,SANc;EAAL;EACK,KAAA,CAAA,EAAA,MAAA;CAAtB;AAAL,cAgHW,UAhHX,EAAA,CAAA;EAAA,IAAA;EAAA,WAAA;EAAA,KAAA;EAAA,UAAA;EAAA,IAAA;EAAA,gBAAA;EAAA,QAAA;EAAA,KAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2HC,gBA3HD,EAAA,GA2HiB,
|
|
1
|
+
{"version":3,"file":"OTPElement.d.ts","names":[],"sources":["../../../../../src/components/Form/elements/OTPElement.tsx"],"sourcesContent":[],"mappings":";;;;;;KAiBK,gBAAA,GAAmB,KAAK,wBAAwB,wBACnD,KAAK,sBAAsB;;;EADxB,WAAA,CAAA,EAAA,MAAgB;EAAgC,SAAA,CAAA,EAAA,MAAA;EAAxB,QAAA,CAAA,EAMd,SANc;EAAL;EACK,KAAA,CAAA,EAAA,MAAA;CAAtB;AAAL,cAgHW,UAhHX,EAAA,CAAA;EAAA,IAAA;EAAA,WAAA;EAAA,KAAA;EAAA,UAAA;EAAA,IAAA;EAAA,gBAAA;EAAA,QAAA;EAAA,KAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2HC,gBA3HD,EAAA,GA2HiB,kBAAA,CAAA,GAAA,CAAA,OA3HjB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormElementProps } from "./FormElement.js";
|
|
2
2
|
import { Select } from "../../Select/Select.js";
|
|
3
3
|
import { ComponentProps, ReactNode } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Form/elements/SelectElement.d.ts
|
|
7
7
|
type SelectElementsProps = Omit<FormElementProps<typeof Select>, 'Element'> & ComponentProps<typeof Select> & {
|
|
@@ -20,7 +20,7 @@ declare const SelectElement: ({
|
|
|
20
20
|
showErrorMessage,
|
|
21
21
|
children,
|
|
22
22
|
...props
|
|
23
|
-
}: SelectElementsProps) =>
|
|
23
|
+
}: SelectElementsProps) => react_jsx_runtime8.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { SelectElement };
|
|
26
26
|
//# sourceMappingURL=SelectElement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectElement.d.ts","names":[],"sources":["../../../../../src/components/Form/elements/SelectElement.tsx"],"sourcesContent":[],"mappings":";;;;;;KAUK,mBAAA,GAAsB,KAAK,wBAAwB,sBACtD,sBAAsB;;;EADnB,WAAA,CAAA,EAAA,MAAA;EAAmD,SAAA,CAAA,EAAA,MAAA;EAAxB,QAAA,CAAA,EAMjB,SANiB;CAAL;AACH,cA0CX,aA1CW,EAAA,CAAA;EAAA,IAAA;EAAA,WAAA;EAAA,KAAA;EAAA,UAAA;EAAA,IAAA;EAAA,gBAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAmDrB,mBAnDqB,EAAA,GAmDF,
|
|
1
|
+
{"version":3,"file":"SelectElement.d.ts","names":[],"sources":["../../../../../src/components/Form/elements/SelectElement.tsx"],"sourcesContent":[],"mappings":";;;;;;KAUK,mBAAA,GAAsB,KAAK,wBAAwB,sBACtD,sBAAsB;;;EADnB,WAAA,CAAA,EAAA,MAAA;EAAmD,SAAA,CAAA,EAAA,MAAA;EAAxB,QAAA,CAAA,EAMjB,SANiB;CAAL;AACH,cA0CX,aA1CW,EAAA,CAAA;EAAA,IAAA;EAAA,WAAA;EAAA,KAAA;EAAA,UAAA;EAAA,IAAA;EAAA,gBAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAmDrB,mBAnDqB,EAAA,GAmDF,kBAAA,CAAA,GAAA,CAAA,OAnDE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormElementProps } from "./FormElement.js";
|
|
2
2
|
import { SwitchSelector } from "../../SwitchSelector/index.js";
|
|
3
3
|
import { ComponentProps, ReactNode } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Form/elements/SwitchSelectorElement.d.ts
|
|
7
7
|
type SwitchSelectorElementProps = Omit<FormElementProps<typeof SwitchSelector>, 'Element'> & ComponentProps<typeof SwitchSelector> & {
|
|
@@ -20,7 +20,7 @@ declare const SwitchSelectorElement: ({
|
|
|
20
20
|
showErrorMessage,
|
|
21
21
|
children,
|
|
22
22
|
...props
|
|
23
|
-
}: SwitchSelectorElementProps) =>
|
|
23
|
+
}: SwitchSelectorElementProps) => react_jsx_runtime10.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { SwitchSelectorElement };
|
|
26
26
|
//# sourceMappingURL=SwitchSelectorElement.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react0 from "react";
|
|
2
2
|
import { FC, PropsWithChildren } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/IDE/CodeContext.d.ts
|
|
@@ -16,7 +16,7 @@ type CodeContextValue = {
|
|
|
16
16
|
/**
|
|
17
17
|
* Context that store the current locale on the client side
|
|
18
18
|
*/
|
|
19
|
-
declare const CodeContext:
|
|
19
|
+
declare const CodeContext: react0.Context<CodeContextValue>;
|
|
20
20
|
/**
|
|
21
21
|
* Hook that provides the current locale
|
|
22
22
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types391 from "@intlayer/types";
|
|
2
2
|
|
|
3
3
|
//#region src/components/IDE/code.content.d.ts
|
|
4
4
|
declare const codeContent: {
|
|
5
5
|
key: string;
|
|
6
6
|
content: {
|
|
7
|
-
title:
|
|
7
|
+
title: _intlayer_types391.TypedNodeModel<_intlayer_types391.NodeType.Translation, {
|
|
8
8
|
en: string;
|
|
9
9
|
es: string;
|
|
10
10
|
pt: string;
|
|
@@ -23,7 +23,7 @@ declare const codeContent: {
|
|
|
23
23
|
id: string;
|
|
24
24
|
vi: string;
|
|
25
25
|
}, {
|
|
26
|
-
nodeType: "translation" |
|
|
26
|
+
nodeType: "translation" | _intlayer_types391.NodeType.Translation;
|
|
27
27
|
} & {
|
|
28
28
|
translation: {
|
|
29
29
|
en: string;
|
|
@@ -45,7 +45,7 @@ declare const codeContent: {
|
|
|
45
45
|
vi: string;
|
|
46
46
|
};
|
|
47
47
|
}>;
|
|
48
|
-
description:
|
|
48
|
+
description: _intlayer_types391.TypedNodeModel<_intlayer_types391.NodeType.Translation, {
|
|
49
49
|
en: string;
|
|
50
50
|
es: string;
|
|
51
51
|
pt: string;
|
|
@@ -64,7 +64,7 @@ declare const codeContent: {
|
|
|
64
64
|
id: string;
|
|
65
65
|
vi: string;
|
|
66
66
|
}, {
|
|
67
|
-
nodeType: "translation" |
|
|
67
|
+
nodeType: "translation" | _intlayer_types391.NodeType.Translation;
|
|
68
68
|
} & {
|
|
69
69
|
translation: {
|
|
70
70
|
en: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types107 from "@intlayer/types";
|
|
2
2
|
|
|
3
3
|
//#region src/components/IDE/copyCode.content.d.ts
|
|
4
4
|
declare const copyContentContent: {
|
|
5
5
|
key: string;
|
|
6
6
|
content: {
|
|
7
|
-
title:
|
|
7
|
+
title: _intlayer_types107.TypedNodeModel<_intlayer_types107.NodeType.Translation, {
|
|
8
8
|
en: string;
|
|
9
9
|
es: string;
|
|
10
10
|
pt: string;
|
|
@@ -23,7 +23,7 @@ declare const copyContentContent: {
|
|
|
23
23
|
id: string;
|
|
24
24
|
vi: string;
|
|
25
25
|
}, {
|
|
26
|
-
nodeType: "translation" |
|
|
26
|
+
nodeType: "translation" | _intlayer_types107.NodeType.Translation;
|
|
27
27
|
} & {
|
|
28
28
|
translation: {
|
|
29
29
|
en: string;
|
|
@@ -45,7 +45,7 @@ declare const copyContentContent: {
|
|
|
45
45
|
vi: string;
|
|
46
46
|
};
|
|
47
47
|
}>;
|
|
48
|
-
description:
|
|
48
|
+
description: _intlayer_types107.TypedNodeModel<_intlayer_types107.NodeType.Translation, {
|
|
49
49
|
en: string;
|
|
50
50
|
es: string;
|
|
51
51
|
pt: string;
|
|
@@ -64,7 +64,7 @@ declare const copyContentContent: {
|
|
|
64
64
|
id: string;
|
|
65
65
|
vi: string;
|
|
66
66
|
}, {
|
|
67
|
-
nodeType: "translation" |
|
|
67
|
+
nodeType: "translation" | _intlayer_types107.NodeType.Translation;
|
|
68
68
|
} & {
|
|
69
69
|
translation: {
|
|
70
70
|
en: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types44 from "@intlayer/types";
|
|
2
2
|
|
|
3
3
|
//#region src/components/IDE/selectors.content.d.ts
|
|
4
4
|
declare const selectorsContent: {
|
|
5
5
|
key: string;
|
|
6
6
|
content: {
|
|
7
7
|
packageManager: {
|
|
8
|
-
label:
|
|
8
|
+
label: _intlayer_types44.TypedNodeModel<_intlayer_types44.NodeType.Translation, {
|
|
9
9
|
en: string;
|
|
10
10
|
es: string;
|
|
11
11
|
pt: string;
|
|
@@ -24,7 +24,7 @@ declare const selectorsContent: {
|
|
|
24
24
|
id: string;
|
|
25
25
|
vi: string;
|
|
26
26
|
}, {
|
|
27
|
-
nodeType: "translation" |
|
|
27
|
+
nodeType: "translation" | _intlayer_types44.NodeType.Translation;
|
|
28
28
|
} & {
|
|
29
29
|
translation: {
|
|
30
30
|
en: string;
|
|
@@ -48,7 +48,7 @@ declare const selectorsContent: {
|
|
|
48
48
|
}>;
|
|
49
49
|
};
|
|
50
50
|
codeFormat: {
|
|
51
|
-
label:
|
|
51
|
+
label: _intlayer_types44.TypedNodeModel<_intlayer_types44.NodeType.Translation, {
|
|
52
52
|
en: string;
|
|
53
53
|
es: string;
|
|
54
54
|
pt: string;
|
|
@@ -67,7 +67,7 @@ declare const selectorsContent: {
|
|
|
67
67
|
id: string;
|
|
68
68
|
vi: string;
|
|
69
69
|
}, {
|
|
70
|
-
nodeType: "translation" |
|
|
70
|
+
nodeType: "translation" | _intlayer_types44.NodeType.Translation;
|
|
71
71
|
} & {
|
|
72
72
|
translation: {
|
|
73
73
|
en: string;
|
|
@@ -91,7 +91,7 @@ declare const selectorsContent: {
|
|
|
91
91
|
}>;
|
|
92
92
|
};
|
|
93
93
|
contentDeclarationFormat: {
|
|
94
|
-
label:
|
|
94
|
+
label: _intlayer_types44.TypedNodeModel<_intlayer_types44.NodeType.Translation, {
|
|
95
95
|
en: string;
|
|
96
96
|
es: string;
|
|
97
97
|
pt: string;
|
|
@@ -110,7 +110,7 @@ declare const selectorsContent: {
|
|
|
110
110
|
id: string;
|
|
111
111
|
vi: string;
|
|
112
112
|
}, {
|
|
113
|
-
nodeType: "translation" |
|
|
113
|
+
nodeType: "translation" | _intlayer_types44.NodeType.Translation;
|
|
114
114
|
} & {
|
|
115
115
|
translation: {
|
|
116
116
|
en: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { DetailedHTMLProps, FC, InputHTMLAttributes, ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Input/Checkbox.d.ts
|
|
6
6
|
declare const checkboxVariants: (props?: {
|
|
7
7
|
variant?: "default";
|
|
8
8
|
size?: "sm" | "md" | "lg";
|
|
9
|
-
color?: "
|
|
9
|
+
color?: "custom" | "text" | "error" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "success";
|
|
10
10
|
validationStyleEnabled?: "disabled" | "enabled";
|
|
11
|
-
} &
|
|
11
|
+
} & class_variance_authority_types0.ClassProp) => string;
|
|
12
12
|
declare enum CheckboxSize {
|
|
13
13
|
SM = "sm",
|
|
14
14
|
MD = "md",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","names":[],"sources":["../../../../src/components/Input/Checkbox.tsx"],"sourcesContent":[],"mappings":";;;;;cASa,wBA+DY;;;EA/DZ,KAAA,CAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","names":[],"sources":["../../../../src/components/Input/Checkbox.tsx"],"sourcesContent":[],"mappings":";;;;;cASa,wBA+DY;;;EA/DZ,KAAA,CAAA,EAAA,QAAA,GAuDZ,MAAA,GAAA,OAAA,GAAA,SAAA,GAAA,WAAA,GAAA,aAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA,GAAA,SAAA;EAEW,sBAAY,CAAA,EAAA,UAAA,GAAA,SAAA;AAMxB,CAAA,GARC,+BAAA,CAAA,SAQwB,EAAA,GAAA,MAAA;AAab,aAnBA,YAAA;EAoB4B,EAAA,GAAA,IAAA;EAApB,EAAA,GAAA,IAAA;EAAuC,EAAA,GAAA,IAAA;;AAD/B,aAbhB,aAAA;EAmBF,OAAA,GAAA,SAAA;EAEc,SAAA,GAAA,WAAA;EAApB,WAAA,GAAA,aAAA;EADA,OAAA,GAAA,SAAA;EAIO,KAAA,GAAA,OAAA;EAAkB,IAAA,GAAA,MAAA;EACjB,IAAA,GAAA,MAAA;EAAmB,KAAA,GAAA,OAAA;EAAa,OAAA,GAAA,SAAA;EA8B/B,MAAA,GAAA,QAiBZ;;KA3DW,aAAA,GAAgB,KAC1B,kBAAkB,oBAAoB,mBAAmB;;;UAKjD;IACN,KACA,oBAAoB;SAGb,kBAAkB;UACjB,mBAAmB;;;cA8BlB,UAAU,GAAG"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DetailedHTMLProps, FC, InputHTMLAttributes } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Input/Input.d.ts
|
|
6
6
|
declare const inputVariants: (props?: {
|
|
7
7
|
variant?: "default" | "invisible";
|
|
8
|
-
size?: "md" | "lg";
|
|
8
|
+
size?: "sm" | "md" | "lg";
|
|
9
9
|
validationStyleEnabled?: "disabled" | "enabled";
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types0.ClassProp) => string;
|
|
11
11
|
declare enum InputVariant {
|
|
12
12
|
DEFAULT = "default",
|
|
13
13
|
INVISIBLE = "invisible",
|
|
@@ -16,12 +16,9 @@ declare enum InputSize {
|
|
|
16
16
|
MD = "md",
|
|
17
17
|
LG = "lg",
|
|
18
18
|
}
|
|
19
|
-
type InputProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
|
|
19
|
+
type InputProps = Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, 'size'> & {
|
|
20
20
|
validationStyleEnabled?: boolean;
|
|
21
|
-
} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'
|
|
22
|
-
variant?: InputVariant | `${InputVariant}`;
|
|
23
|
-
size?: InputSize | `${InputSize}`;
|
|
24
|
-
};
|
|
21
|
+
} & Omit<VariantProps<typeof inputVariants>, 'validationStyleEnabled'>;
|
|
25
22
|
declare const Input: FC<InputProps>;
|
|
26
23
|
//#endregion
|
|
27
24
|
export { Input, InputProps, InputSize, InputVariant, inputVariants };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","names":[],"sources":["../../../../src/components/Input/Input.tsx"],"sourcesContent":[],"mappings":";;;;;cAOa,
|
|
1
|
+
{"version":3,"file":"Input.d.ts","names":[],"sources":["../../../../src/components/Input/Input.tsx"],"sourcesContent":[],"mappings":";;;;;cAOa,qBAmDW;;;EAnDX,sBAiDZ,CAAA,EAAA,UAAA,GAAA,SAAA;AAED,CAAA,GAFC,+BAAA,CAAA,SAEuB,EAAA,GAAA,MAAA;AAKZ,aALA,YAAA;EAUA,OAAA,GAAA,SAAU;EACkB,SAAA,GAAA,WAAA;;AAAmB,aAN/C,SAAA;EAMV,EAAA,GAAA,IAAA;EADuB,EAAA,GAAA,IAAA;;AAKhB,KALG,UAAA,GAAa,IAKhB,CAJP,iBAIO,CAJW,mBAIX,CAJ+B,gBAI/B,CAAA,EAJkD,gBAIlD,CAAA,EAAA,MAAA,CAAA,GAAA;EAAL,sBAAA,CAAA,EAAA,OAAA;CAAI,GAAJ,IAAI,CAAC,YAAD,CAAA,OAAqB,aAArB,CAAA,EAAA,wBAAA,CAAA;AAEK,cAAA,KAAU,EAAH,EAAG,CAAA,UAAD,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ButtonProps } from "../Button/Button.js";
|
|
2
2
|
import "../Button/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react1 from "react";
|
|
4
4
|
import { ComponentProps, FC, InputHTMLAttributes, ReactNode, RefObject } from "react";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
6
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region src/components/Input/OTPInput.d.ts
|
|
9
9
|
type SlotProps = {
|
|
@@ -54,17 +54,17 @@ declare const usePasswordManagerBadge: ({
|
|
|
54
54
|
PWM_BADGE_SPACE_WIDTH: "40px";
|
|
55
55
|
};
|
|
56
56
|
declare const usePrevious: <T>(value: T) => T | undefined;
|
|
57
|
-
declare const OTPInputContext:
|
|
57
|
+
declare const OTPInputContext: react1.Context<RenderProps>;
|
|
58
58
|
declare const OTPInput: FC<OTPInputProps>;
|
|
59
59
|
type InputOTPProps = Omit<ComponentProps<typeof OTPInput>, 'children'>;
|
|
60
60
|
declare const inputSlotVariants: (props?: {
|
|
61
61
|
size?: "sm" | "md" | "lg" | "xl";
|
|
62
|
-
} &
|
|
62
|
+
} & class_variance_authority_types1.ClassProp) => string;
|
|
63
63
|
declare const InputOTP: FC<InputOTPProps>;
|
|
64
64
|
declare const InputOTPGroup: ({
|
|
65
65
|
className,
|
|
66
66
|
...props
|
|
67
|
-
}: ComponentProps<"div">) =>
|
|
67
|
+
}: ComponentProps<"div">) => react_jsx_runtime2.JSX.Element;
|
|
68
68
|
type InputOTPSlotProps = Omit<ButtonProps, 'variant' | 'label'> & {
|
|
69
69
|
index: number;
|
|
70
70
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OTPInput.d.ts","names":[],"sources":["../../../../src/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GAAA,IAAA,GAAA,IAAA,GAAA,IAAA;CAG3B,GApBD,+BAAA,CAAA,SAoBC,EAAA,GAAA,MAAA;AAAqB,cAlBX,QAkBW,EAlBD,EAkBC,CAlBE,aAkBF,CAAA;AAEvB,cALY,aAKZ,EAAA,CAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAFE,cAEF,CAAA,KAAA,CAAA,EAAA,GAFuB,kBAAA,CAAA,GAAA,CAAA,OAEvB;AAAC,KAIG,iBAAA,GAAoB,IAAH,CAAQ,WAAA,EAAA,SAAL,GAAI,OAAA,CAAA,GAAA;EAIhB,KAAA,EAAA,MAAA;AA8Cb,CAAA;AAUa,cAxDA,YA8DZ,EA9D0B,EAwDK,CAxDF,iBAwDC,CAAA;cAVlB,mBAAmB,GAAG;cAUtB,gBAAgB,GAAG"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { InputProps } from "./Input.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Input/SearchInput.d.ts
|
|
5
5
|
declare const SearchInput: ({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: InputProps) =>
|
|
8
|
+
}: InputProps) => react_jsx_runtime1.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SearchInput };
|
|
11
11
|
//# sourceMappingURL=SearchInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchInput.d.ts","names":[],"sources":["../../../../src/components/Input/SearchInput.tsx"],"sourcesContent":[],"mappings":";;;;cAIa;;;GAAwC,eAAU,
|
|
1
|
+
{"version":3,"file":"SearchInput.d.ts","names":[],"sources":["../../../../src/components/Input/SearchInput.tsx"],"sourcesContent":[],"mappings":";;;;cAIa;;;GAAwC,eAAU,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AnchorHTMLAttributes, DetailedHTMLProps, FC } from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import { AnchorHTMLAttributes, DetailedHTMLProps, FC, ReactNode } from "react";
|
|
2
|
+
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import { LocalesValues } from "@intlayer/types";
|
|
5
5
|
|
|
@@ -87,12 +87,12 @@ declare enum LinkUnderlined {
|
|
|
87
87
|
* Defines the visual appearance based on variant, color, and underline options
|
|
88
88
|
*/
|
|
89
89
|
declare const linkVariants: (props?: {
|
|
90
|
-
variant?: "default" | "
|
|
91
|
-
roundedSize?: "
|
|
92
|
-
color?: "
|
|
93
|
-
size?: "
|
|
90
|
+
variant?: "default" | "invisible-link" | "hoverable" | "button" | "button-outlined";
|
|
91
|
+
roundedSize?: "md" | "none" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "full";
|
|
92
|
+
color?: "error" | "custom" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text" | "text-inverse" | "success";
|
|
93
|
+
size?: "md" | "custom" | "sm" | "lg" | "xl";
|
|
94
94
|
underlined?: boolean | LinkUnderlined.DEFAULT;
|
|
95
|
-
} &
|
|
95
|
+
} & class_variance_authority_types2.ClassProp) => string;
|
|
96
96
|
/**
|
|
97
97
|
* Props interface for the Link component
|
|
98
98
|
*
|
|
@@ -149,6 +149,7 @@ declare const checkIsExternalLink: ({
|
|
|
149
149
|
href,
|
|
150
150
|
isExternalLink: isExternalLinkProp
|
|
151
151
|
}: LinkProps) => boolean;
|
|
152
|
+
declare const isTextChildren: (children: ReactNode) => boolean;
|
|
152
153
|
/**
|
|
153
154
|
* Link Component
|
|
154
155
|
*
|
|
@@ -158,5 +159,5 @@ declare const checkIsExternalLink: ({
|
|
|
158
159
|
*/
|
|
159
160
|
declare const Link: FC<LinkProps>;
|
|
160
161
|
//#endregion
|
|
161
|
-
export { Link, LinkColor, LinkProps, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants };
|
|
162
|
+
export { Link, LinkColor, LinkProps, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, checkIsExternalLink, isTextChildren, linkVariants };
|
|
162
163
|
//# sourceMappingURL=Link.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.d.ts","names":[],"sources":["../../../../src/components/Link/Link.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Link.d.ts","names":[],"sources":["../../../../src/components/Link/Link.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;AAkBA;AAkBA;AA0BY,aA5CA,WAAA;EAuDA;EAaA,OAAA,GAAA,SAAc;EAab;EA0JD,cAAS,GAAA,gBAAA;EACE;EAArB,MAAA,GAAA,QAAA;EACA;EAFsB,eAAA,GAAA,iBAAA;EAIF;EAApB,SAAA,GAAA,WAAA;;;AAkDF;;;;AAGY,aAlRA,SAAA;EA6RC;EA4BA,OA6DZ,GAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;aA5VW,eAAA;;;;;;;;;;aAWA,QAAA;;;;;;;;;;;;aAaA,cAAA;;;;;;;;;;;;cAaC;;;;;yBAiJZ,cAAA,CAAA;IAAA,+BAAA,CAAA;;;;;;;;KASW,SAAA,GAAY,kBACtB,qBAAqB,oBACrB,qBAEA,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAkCT;;;;;;;;;;;;;;;cAgBA;;kBAAuB;GAGjC;cAWU,2BAA4B;;;;;;;;cA4B5B,MAAM,GAAG"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Link, LinkColor, LinkProps, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants } from "./Link.js";
|
|
2
|
-
export { Link, LinkColor, LinkProps, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, checkIsExternalLink, linkVariants };
|
|
1
|
+
import { Link, LinkColor, LinkProps, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, checkIsExternalLink, isTextChildren, linkVariants } from "./Link.js";
|
|
2
|
+
export { Link, LinkColor, LinkProps, LinkRoundedSize, LinkSize, LinkUnderlined, LinkVariant, checkIsExternalLink, isTextChildren, linkVariants };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types53 from "@intlayer/types";
|
|
2
2
|
|
|
3
3
|
//#region src/components/Loader/index.content.d.ts
|
|
4
4
|
declare const loaderContent: {
|
|
5
5
|
key: string;
|
|
6
6
|
content: {
|
|
7
|
-
label:
|
|
7
|
+
label: _intlayer_types53.TypedNodeModel<_intlayer_types53.NodeType.Translation, {
|
|
8
8
|
en: string;
|
|
9
9
|
'en-GB': string;
|
|
10
10
|
fr: string;
|
|
@@ -23,7 +23,7 @@ declare const loaderContent: {
|
|
|
23
23
|
id: string;
|
|
24
24
|
vi: string;
|
|
25
25
|
}, {
|
|
26
|
-
nodeType: "translation" |
|
|
26
|
+
nodeType: "translation" | _intlayer_types53.NodeType.Translation;
|
|
27
27
|
} & {
|
|
28
28
|
translation: {
|
|
29
29
|
en: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.content.d.ts","names":[],"sources":["../../../../src/components/Loader/index.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,KAAA,
|
|
1
|
+
{"version":3,"file":"index.content.d.ts","names":[],"sources":["../../../../src/components/Loader/index.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,KAAA,kCA2BS,yCAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Loader/index.tsx"],"sourcesContent":[],"mappings":";;;;;;AAOA;AA8Fa,KA9FD,WAAA,GAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Loader/index.tsx"],"sourcesContent":[],"mappings":";;;;;;AAOA;AA8Fa,KA9FD,WAAA,GAAc,cA8FL,CA9FoB,cA8FlB,CAAA,GAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAV,QAAQ,GAAG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SVGProps } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Loader/spinner.d.ts
|
|
5
5
|
/**
|
|
@@ -64,7 +64,7 @@ type SpinnerProps = SVGProps<SVGSVGElement> & {
|
|
|
64
64
|
declare const Spinner: ({
|
|
65
65
|
className,
|
|
66
66
|
strokeWidth
|
|
67
|
-
}: SpinnerProps) =>
|
|
67
|
+
}: SpinnerProps) => react_jsx_runtime3.JSX.Element;
|
|
68
68
|
//#endregion
|
|
69
69
|
export { Spinner };
|
|
70
70
|
//# sourceMappingURL=spinner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spinner.d.ts","names":[],"sources":["../../../../src/components/Loader/spinner.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAAsC,KAMjC,YAAA,GAAe,QAAH,CAAY,aAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"spinner.d.ts","names":[],"sources":["../../../../src/components/Loader/spinner.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAAsC,KAMjC,YAAA,GAAe,QAAH,CAAY,aAAA,CAAA,GAAA;EAyDhB;EAAW,WAAA,CAAA,EAAA,MAAA;CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAX;;;GAA2C,iBAAY,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types56 from "@intlayer/types";
|
|
2
2
|
|
|
3
3
|
//#region src/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts
|
|
4
4
|
declare const localeSwitcherContent: {
|
|
5
5
|
key: string;
|
|
6
6
|
content: {
|
|
7
|
-
localeSwitcherLabel:
|
|
7
|
+
localeSwitcherLabel: _intlayer_types56.TypedNodeModel<_intlayer_types56.NodeType.Translation, {
|
|
8
8
|
en: string;
|
|
9
9
|
'en-GB': string;
|
|
10
10
|
fr: string;
|
|
@@ -23,7 +23,7 @@ declare const localeSwitcherContent: {
|
|
|
23
23
|
id: string;
|
|
24
24
|
vi: string;
|
|
25
25
|
}, {
|
|
26
|
-
nodeType: "translation" |
|
|
26
|
+
nodeType: "translation" | _intlayer_types56.NodeType.Translation;
|
|
27
27
|
} & {
|
|
28
28
|
translation: {
|
|
29
29
|
en: string;
|
|
@@ -45,7 +45,7 @@ declare const localeSwitcherContent: {
|
|
|
45
45
|
vi: string;
|
|
46
46
|
};
|
|
47
47
|
}>;
|
|
48
|
-
languageListLabel:
|
|
48
|
+
languageListLabel: _intlayer_types56.TypedNodeModel<_intlayer_types56.NodeType.Translation, {
|
|
49
49
|
en: string;
|
|
50
50
|
'en-GB': string;
|
|
51
51
|
fr: string;
|
|
@@ -64,7 +64,7 @@ declare const localeSwitcherContent: {
|
|
|
64
64
|
id: string;
|
|
65
65
|
vi: string;
|
|
66
66
|
}, {
|
|
67
|
-
nodeType: "translation" |
|
|
67
|
+
nodeType: "translation" | _intlayer_types56.NodeType.Translation;
|
|
68
68
|
} & {
|
|
69
69
|
translation: {
|
|
70
70
|
en: string;
|
|
@@ -86,7 +86,7 @@ declare const localeSwitcherContent: {
|
|
|
86
86
|
vi: string;
|
|
87
87
|
};
|
|
88
88
|
}>;
|
|
89
|
-
switchTo:
|
|
89
|
+
switchTo: _intlayer_types56.TypedNodeModel<_intlayer_types56.NodeType.Translation, {
|
|
90
90
|
en: string;
|
|
91
91
|
fr: string;
|
|
92
92
|
es: string;
|
|
@@ -105,7 +105,7 @@ declare const localeSwitcherContent: {
|
|
|
105
105
|
id: string;
|
|
106
106
|
vi: string;
|
|
107
107
|
}, {
|
|
108
|
-
nodeType: "translation" |
|
|
108
|
+
nodeType: "translation" | _intlayer_types56.NodeType.Translation;
|
|
109
109
|
} & {
|
|
110
110
|
translation: {
|
|
111
111
|
en: string;
|
|
@@ -128,7 +128,7 @@ declare const localeSwitcherContent: {
|
|
|
128
128
|
};
|
|
129
129
|
}>;
|
|
130
130
|
searchInput: {
|
|
131
|
-
text:
|
|
131
|
+
text: _intlayer_types56.TypedNodeModel<_intlayer_types56.NodeType.Translation, {
|
|
132
132
|
en: string;
|
|
133
133
|
'en-GB': string;
|
|
134
134
|
fr: string;
|
|
@@ -147,7 +147,7 @@ declare const localeSwitcherContent: {
|
|
|
147
147
|
id: string;
|
|
148
148
|
vi: string;
|
|
149
149
|
}, {
|
|
150
|
-
nodeType: "translation" |
|
|
150
|
+
nodeType: "translation" | _intlayer_types56.NodeType.Translation;
|
|
151
151
|
} & {
|
|
152
152
|
translation: {
|
|
153
153
|
en: string;
|
|
@@ -169,7 +169,7 @@ declare const localeSwitcherContent: {
|
|
|
169
169
|
vi: string;
|
|
170
170
|
};
|
|
171
171
|
}>;
|
|
172
|
-
placeholder:
|
|
172
|
+
placeholder: _intlayer_types56.TypedNodeModel<_intlayer_types56.NodeType.Translation, {
|
|
173
173
|
en: string;
|
|
174
174
|
'en-GB': string;
|
|
175
175
|
fr: string;
|
|
@@ -188,7 +188,7 @@ declare const localeSwitcherContent: {
|
|
|
188
188
|
id: string;
|
|
189
189
|
vi: string;
|
|
190
190
|
}, {
|
|
191
|
-
nodeType: "translation" |
|
|
191
|
+
nodeType: "translation" | _intlayer_types56.NodeType.Translation;
|
|
192
192
|
} & {
|
|
193
193
|
translation: {
|
|
194
194
|
en: string;
|
|
@@ -210,7 +210,7 @@ declare const localeSwitcherContent: {
|
|
|
210
210
|
vi: string;
|
|
211
211
|
};
|
|
212
212
|
}>;
|
|
213
|
-
ariaLabel:
|
|
213
|
+
ariaLabel: _intlayer_types56.TypedNodeModel<_intlayer_types56.NodeType.Translation, {
|
|
214
214
|
en: string;
|
|
215
215
|
'en-GB': string;
|
|
216
216
|
fr: string;
|
|
@@ -229,7 +229,7 @@ declare const localeSwitcherContent: {
|
|
|
229
229
|
id: string;
|
|
230
230
|
vi: string;
|
|
231
231
|
}, {
|
|
232
|
-
nodeType: "translation" |
|
|
232
|
+
nodeType: "translation" | _intlayer_types56.NodeType.Translation;
|
|
233
233
|
} & {
|
|
234
234
|
translation: {
|
|
235
235
|
en: string;
|
|
@@ -253,7 +253,7 @@ declare const localeSwitcherContent: {
|
|
|
253
253
|
}>;
|
|
254
254
|
};
|
|
255
255
|
seeAllLocalesSwitch: {
|
|
256
|
-
true:
|
|
256
|
+
true: _intlayer_types56.TypedNodeModel<_intlayer_types56.NodeType.Translation, {
|
|
257
257
|
en: string;
|
|
258
258
|
'en-GB': string;
|
|
259
259
|
fr: string;
|
|
@@ -272,7 +272,7 @@ declare const localeSwitcherContent: {
|
|
|
272
272
|
id: string;
|
|
273
273
|
vi: string;
|
|
274
274
|
}, {
|
|
275
|
-
nodeType: "translation" |
|
|
275
|
+
nodeType: "translation" | _intlayer_types56.NodeType.Translation;
|
|
276
276
|
} & {
|
|
277
277
|
translation: {
|
|
278
278
|
en: string;
|
|
@@ -294,7 +294,7 @@ declare const localeSwitcherContent: {
|
|
|
294
294
|
vi: string;
|
|
295
295
|
};
|
|
296
296
|
}>;
|
|
297
|
-
false:
|
|
297
|
+
false: _intlayer_types56.TypedNodeModel<_intlayer_types56.NodeType.Translation, {
|
|
298
298
|
en: string;
|
|
299
299
|
'en-GB': string;
|
|
300
300
|
fr: string;
|
|
@@ -313,7 +313,7 @@ declare const localeSwitcherContent: {
|
|
|
313
313
|
id: string;
|
|
314
314
|
vi: string;
|
|
315
315
|
}, {
|
|
316
|
-
nodeType: "translation" |
|
|
316
|
+
nodeType: "translation" | _intlayer_types56.NodeType.Translation;
|
|
317
317
|
} & {
|
|
318
318
|
translation: {
|
|
319
319
|
en: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localeSwitcher.content.d.ts","names":[],"sources":["../../../../src/components/LocaleSwitcherContentDropDown/localeSwitcher.content.ts"],"sourcesContent":[],"mappings":";;;cAEM;;;IAAA,mBAAA,
|
|
1
|
+
{"version":3,"file":"localeSwitcher.content.d.ts","names":[],"sources":["../../../../src/components/LocaleSwitcherContentDropDown/localeSwitcher.content.ts"],"sourcesContent":[],"mappings":";;;cAEM;;;IAAA,mBAAA,kCAoKgB,yCAAA"}
|