@intlayer/design-system 7.6.0-canary.0 → 8.0.0-canary.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/Browser/{browser.content.mjs → Browser.content.mjs} +4 -4
- package/dist/esm/components/Browser/{browser.content.mjs.map → Browser.content.mjs.map} +1 -1
- package/dist/esm/components/Container/index.mjs +1 -0
- package/dist/esm/components/Container/index.mjs.map +1 -1
- package/dist/esm/components/CopyToClipboard/index.mjs +12 -9
- package/dist/esm/components/CopyToClipboard/index.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +257 -122
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +258 -12
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs +80 -0
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs +14 -2
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +62 -55
- package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/JSONEditor.mjs +8 -16
- package/dist/esm/components/DictionaryFieldEditor/JSONEditor.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs.map +1 -1
- package/dist/esm/components/Flags/Flag.mjs +5 -8
- package/dist/esm/components/Flags/Flag.mjs.map +1 -1
- package/dist/esm/components/IDE/CodeBlockClient.mjs +2 -2
- package/dist/esm/components/IDE/CodeBlockClient.mjs.map +1 -1
- package/dist/esm/components/IDE/CodeBlockServer.mjs +2 -2
- package/dist/esm/components/IDE/CodeBlockServer.mjs.map +1 -1
- package/dist/esm/components/IDE/MonacoCode.mjs +1 -1
- package/dist/esm/components/IDE/MonacoCode.mjs.map +1 -1
- package/dist/esm/components/Input/Checkbox.mjs +3 -2
- package/dist/esm/components/Input/Checkbox.mjs.map +1 -1
- package/dist/esm/components/Link/Link.mjs +1 -1
- package/dist/esm/components/Link/Link.mjs.map +1 -1
- package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +1 -1
- package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs.map +1 -1
- package/dist/esm/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +1 -1
- package/dist/esm/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs.map +1 -1
- package/dist/esm/components/MarkDownRender/MarkDownRender.mjs +9 -3
- package/dist/esm/components/MarkDownRender/MarkDownRender.mjs.map +1 -1
- package/dist/esm/components/MarkDownRender/index.mjs +2 -1
- package/dist/esm/components/MarkDownRender/processor-adapter.mjs +57 -0
- package/dist/esm/components/MarkDownRender/processor-adapter.mjs.map +1 -0
- package/dist/esm/components/MarkDownRender/processor.mjs +5 -5
- package/dist/esm/components/MarkDownRender/processor.mjs.map +1 -1
- package/dist/esm/components/Modal/Modal.mjs +2 -2
- package/dist/esm/components/Modal/Modal.mjs.map +1 -1
- package/dist/esm/components/Popover/static.mjs +13 -11
- package/dist/esm/components/Popover/static.mjs.map +1 -1
- package/dist/esm/components/RightDrawer/RightDrawer.mjs +4 -5
- package/dist/esm/components/RightDrawer/RightDrawer.mjs.map +1 -1
- package/dist/esm/components/RightDrawer/index.mjs +2 -2
- package/dist/esm/components/RightDrawer/useRightDrawer.mjs +65 -0
- package/dist/esm/components/RightDrawer/useRightDrawer.mjs.map +1 -0
- package/dist/esm/components/Tab/Tab.mjs +20 -14
- package/dist/esm/components/Tab/Tab.mjs.map +1 -1
- package/dist/esm/components/Terminal/Terminal.mjs +2 -2
- package/dist/esm/components/Terminal/Terminal.mjs.map +1 -1
- package/dist/esm/components/index.mjs +3 -2
- package/dist/esm/hooks/useScrollBlockage/index.mjs +1 -6
- package/dist/esm/hooks/useScrollBlockage/index.mjs.map +1 -1
- package/dist/esm/hooks/useScrollBlockage/useScrollBlockageStore.mjs +60 -31
- package/dist/esm/hooks/useScrollBlockage/useScrollBlockageStore.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.content.d.ts → Browser.content.d.ts} +19 -19
- package/dist/types/components/Browser/Browser.content.d.ts.map +1 -0
- 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/Button/Button.d.ts +6 -6
- package/dist/types/components/Carousel/index.content.d.ts +8 -8
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +2 -2
- package/dist/types/components/Command/index.d.ts +20 -20
- package/dist/types/components/Command/index.d.ts.map +1 -1
- 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/CopyButton/CopyButton.content.d.ts.map +1 -1
- package/dist/types/components/CopyToClipboard/index.d.ts +18 -7
- package/dist/types/components/CopyToClipboard/index.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/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts +1 -0
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +556 -34
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +197 -25
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts +12 -0
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts +1 -0
- package/dist/types/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/JSONEditor.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/nodeTypeSelector.content.d.ts +31 -31
- package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
- package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +3 -3
- 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/FormItem.d.ts.map +1 -1
- package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/FormElement.d.ts +2 -2
- package/dist/types/components/Form/elements/FormElement.d.ts.map +1 -1
- 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/Form/elements/SwitchSelectorElement.d.ts.map +1 -1
- package/dist/types/components/IDE/CodeBlockClient.d.ts.map +1 -1
- package/dist/types/components/IDE/CodeBlockServer.d.ts.map +1 -1
- package/dist/types/components/IDE/CodeContext.d.ts +2 -2
- package/dist/types/components/IDE/MonacoCode.d.ts.map +1 -1
- 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 +13 -13
- 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 +2 -2
- 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/Link/Link.d.ts +6 -6
- 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/spinner.d.ts +2 -2
- 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/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -1
- package/dist/types/components/MarkDownRender/MarkDownRender.d.ts +1 -1
- package/dist/types/components/MarkDownRender/MarkDownRender.d.ts.map +1 -1
- package/dist/types/components/MarkDownRender/index.d.ts +2 -1
- package/dist/types/components/MarkDownRender/processor-adapter.d.ts +85 -0
- package/dist/types/components/MarkDownRender/processor-adapter.d.ts.map +1 -0
- 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/Modal/Modal.d.ts.map +1 -1
- package/dist/types/components/Navbar/Burger.d.ts +2 -2
- package/dist/types/components/Navbar/DesktopNavbar.d.ts +2 -2
- 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/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 +12 -12
- package/dist/types/components/Popover/static.d.ts +11 -9
- package/dist/types/components/Popover/static.d.ts.map +1 -1
- package/dist/types/components/RightDrawer/index.d.ts +2 -2
- package/dist/types/components/RightDrawer/rightDrawer.content.d.ts +5 -5
- package/dist/types/components/RightDrawer/useRightDrawer.d.ts +22 -0
- package/dist/types/components/RightDrawer/useRightDrawer.d.ts.map +1 -0
- package/dist/types/components/Select/Select.d.ts +3 -3
- package/dist/types/components/Select/Select.d.ts.map +1 -1
- package/dist/types/components/SocialNetworks/index.d.ts +2 -2
- package/dist/types/components/SocialNetworks/index.d.ts.map +1 -1
- package/dist/types/components/SwitchSelector/index.d.ts +6 -6
- package/dist/types/components/Tab/Tab.d.ts +10 -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/Tab/TabContext.d.ts.map +1 -1
- 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/Tag/index.d.ts.map +1 -1
- package/dist/types/components/Terminal/Terminal.d.ts.map +1 -1
- package/dist/types/components/Terminal/terminal.content.d.ts +5 -5
- package/dist/types/components/Terminal/terminal.content.d.ts.map +1 -1
- package/dist/types/components/Toaster/Toast.d.ts +2 -2
- 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 +3 -2
- package/dist/types/hooks/useDevice.d.ts.map +1 -1
- package/dist/types/hooks/useScrollBlockage/index.d.ts.map +1 -1
- package/dist/types/hooks/useScrollBlockage/useScrollBlockageStore.d.ts +14 -6
- package/dist/types/hooks/useScrollBlockage/useScrollBlockageStore.d.ts.map +1 -1
- package/package.json +23 -23
- package/dist/esm/components/RightDrawer/useRightDrawerStore.mjs +0 -87
- package/dist/esm/components/RightDrawer/useRightDrawerStore.mjs.map +0 -1
- package/dist/types/components/Browser/browser.content.d.ts.map +0 -1
- package/dist/types/components/RightDrawer/useRightDrawerStore.d.ts +0 -116
- package/dist/types/components/RightDrawer/useRightDrawerStore.d.ts.map +0 -1
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { FC, HTMLAttributes, JSX, ReactNode, createElement } from "react";
|
|
2
|
+
import { Overrides as CoreOverrides, ParseState, ParserResult, RenderRuleHook, RuleOutput, RuleType, sanitizer as defaultSanitizer, slugify as defaultSlugify } from "@intlayer/core";
|
|
3
|
+
|
|
4
|
+
//#region src/components/MarkDownRender/processor-adapter.d.ts
|
|
5
|
+
|
|
6
|
+
type HTMLTags = keyof JSX.IntrinsicElements;
|
|
7
|
+
type State = ParseState;
|
|
8
|
+
/**
|
|
9
|
+
* Backward-compatible MarkdownProcessorOptions type.
|
|
10
|
+
* Maps to the core library's options while maintaining the existing API.
|
|
11
|
+
*/
|
|
12
|
+
type MarkdownProcessorOptions = Partial<{
|
|
13
|
+
/**
|
|
14
|
+
* Ultimate control over the output of all rendered JSX.
|
|
15
|
+
*/
|
|
16
|
+
createElement: (tag: Parameters<typeof createElement>[0], props: JSX.IntrinsicAttributes, ...children: ReactNode[]) => ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* The library automatically generates an anchor tag for bare URLs included in the markdown
|
|
19
|
+
* document, but this behavior can be disabled if desired.
|
|
20
|
+
*/
|
|
21
|
+
disableAutoLink: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Disable the compiler's best-effort transcription of provided raw HTML
|
|
24
|
+
* into JSX-equivalent.
|
|
25
|
+
*/
|
|
26
|
+
disableParsingRawHTML: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Forces the compiler to have space between hash sign and the header text.
|
|
29
|
+
*/
|
|
30
|
+
enforceAtxHeadings: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Forces the compiler to always output content with a block-level wrapper.
|
|
33
|
+
*/
|
|
34
|
+
forceBlock: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Forces the compiler to always output content with an inline wrapper.
|
|
37
|
+
*/
|
|
38
|
+
forceInline: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Forces the compiler to wrap results, even if there is only a single child.
|
|
41
|
+
*/
|
|
42
|
+
forceWrapper: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Supply additional HTML entity: unicode replacement mappings.
|
|
45
|
+
*/
|
|
46
|
+
namedCodesToUnicode: {
|
|
47
|
+
[key: string]: string;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Selectively control the output of particular HTML tags.
|
|
51
|
+
*/
|
|
52
|
+
overrides: CoreOverrides;
|
|
53
|
+
/**
|
|
54
|
+
* Allows for full control over rendering of particular rules.
|
|
55
|
+
*/
|
|
56
|
+
renderRule: RenderRuleHook;
|
|
57
|
+
/**
|
|
58
|
+
* Override the built-in sanitizer function for URLs.
|
|
59
|
+
*/
|
|
60
|
+
sanitizer: (value: string, tag: HTMLTags, attribute: string) => string | null;
|
|
61
|
+
/**
|
|
62
|
+
* Override normalization of non-URI-safe characters for anchor linking.
|
|
63
|
+
*/
|
|
64
|
+
slugify: (input: string) => string;
|
|
65
|
+
/**
|
|
66
|
+
* Declare the type of the wrapper to be used when there are multiple children.
|
|
67
|
+
*/
|
|
68
|
+
wrapper: any | null;
|
|
69
|
+
}>;
|
|
70
|
+
/**
|
|
71
|
+
* Compile markdown to React elements.
|
|
72
|
+
* Maintains backward compatibility with the original API.
|
|
73
|
+
*/
|
|
74
|
+
declare const compiler: (markdown?: string, options?: MarkdownProcessorOptions) => JSX.Element;
|
|
75
|
+
/**
|
|
76
|
+
* React component that renders markdown to JSX.
|
|
77
|
+
* Backward compatible with the original MarkdownProcessor component.
|
|
78
|
+
*/
|
|
79
|
+
declare const MarkdownProcessor: FC<Omit<HTMLAttributes<Element>, 'children'> & {
|
|
80
|
+
children: string;
|
|
81
|
+
options?: MarkdownProcessorOptions;
|
|
82
|
+
}>;
|
|
83
|
+
//#endregion
|
|
84
|
+
export { MarkdownProcessor, MarkdownProcessorOptions, type CoreOverrides as Overrides, type ParseState, type ParserResult, type RuleOutput, RuleType, type State, compiler, defaultSanitizer as sanitizer, defaultSlugify as slugify };
|
|
85
|
+
//# sourceMappingURL=processor-adapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processor-adapter.d.ts","names":[],"sources":["../../../../src/components/MarkDownRender/processor-adapter.tsx"],"sourcesContent":[],"mappings":";;;;;KAgDK,QAAA,GAiES,MAjEQ,GAAA,CAAI,iBAiEZ;KA/DT,KAAA,GAAQ,UAoEqB;;;AAuClC;AAwDA;AACsB,KA9JV,wBAAA,GAA2B,OA8JjB,CAAA;EAAf;;;EADyB,aAAA,EAAA,CAAA,GAAA,EAxJvB,UAwJuB,CAAA,OAxJL,aAwJK,CAAA,CAAA,CAAA,CAAA,EAAA,KAAA,EAvJrB,GAAA,CAAI,mBAuJiB,EAAA,GAAA,QAAA,EAtJf,SAsJe,EAAA,EAAA,GArJzB,SAqJyB;EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAzGrB;;;;cAKC;;;;kCAKoB;;;;;;;;;;;;;;cAuCrB,wCAEF,6BACR,GAAA,CAAI;;;;;cAqDM,mBAAmB,GAC9B,KAAK,eAAe;;YAER"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/MaxWidthSmoother/index.d.ts
|
|
5
5
|
type Align = 'left' | 'right';
|
|
@@ -15,7 +15,7 @@ declare const MaxWidthSmoother: ({
|
|
|
15
15
|
align,
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: MaxWidthSmootherProps) =>
|
|
18
|
+
}: MaxWidthSmootherProps) => react_jsx_runtime9.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { MaxWidthSmoother };
|
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/MaxWidthSmoother/index.tsx"],"sourcesContent":[],"mappings":";;;;KAGK,KAAA;KAEA,qBAAA,GAAwB,eAAe;;EAFvC,QAAK,CAAA,EAAA,MAAA;EAEL,KAAA,CAAA,EAGK,KAHL;CAAuC;AAAf,cAMhB,gBANgB,EAAA,CAAA;EAAA,QAAA;EAAA,QAAA;EAAA,QAAA;EAAA,KAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAa1B,qBAb0B,EAAA,GAaL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/MaxWidthSmoother/index.tsx"],"sourcesContent":[],"mappings":";;;;KAGK,KAAA;KAEA,qBAAA,GAAwB,eAAe;;EAFvC,QAAK,CAAA,EAAA,MAAA;EAEL,KAAA,CAAA,EAGK,KAHL;CAAuC;AAAf,cAMhB,gBANgB,EAAA,CAAA;EAAA,QAAA;EAAA,QAAA;EAAA,QAAA;EAAA,KAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAa1B,qBAb0B,EAAA,GAaL,kBAAA,CAAA,GAAA,CAAA,OAbK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","names":[],"sources":["../../../../src/components/Modal/Modal.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAgBA;AAQK,aARO,SAAA;EASA,EAAA,GAAA,IAAA;EAGE,EAAA,GAAA,IAAA;EAGJ,EAAA,GAAA,IAAA;EACD,EAAA,GAAA,IAAA;EAAe,KAAA,GAAA,OAAA;;KARnB,UAAA,GAaD;EAAI,QAAA,EAZI,SAYJ;EA8GK,MAAA,
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","names":[],"sources":["../../../../src/components/Modal/Modal.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAgBA;AAQK,aARO,SAAA;EASA,EAAA,GAAA,IAAA;EAGE,EAAA,GAAA,IAAA;EAGJ,EAAA,GAAA,IAAA;EACD,EAAA,GAAA,IAAA;EAAe,KAAA,GAAA,OAAA;;KARnB,UAAA,GAaD;EAAI,QAAA,EAZI,SAYJ;EA8GK,MAAA,EAuIZ,OAAA;;cA9Pa;;;UAGJ;SACD,eAAe;;;;;IAKpB,KACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6GW,OAAO,GAAG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Navbar/Burger.d.ts
|
|
5
5
|
/**
|
|
@@ -63,7 +63,7 @@ declare const Burger: ({
|
|
|
63
63
|
isActive,
|
|
64
64
|
className,
|
|
65
65
|
...props
|
|
66
|
-
}: BurgerProps) =>
|
|
66
|
+
}: BurgerProps) => react_jsx_runtime10.JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { Burger };
|
|
69
69
|
//# sourceMappingURL=Burger.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TabSelectorItemProps } from "../TabSelector/TabSelector.js";
|
|
2
2
|
import "../TabSelector/index.js";
|
|
3
3
|
import { ReactElement, ReactNode } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Navbar/DesktopNavbar.d.ts
|
|
7
7
|
/**
|
|
@@ -93,7 +93,7 @@ declare const DesktopNavbar: <T extends TabSelectorItemProps>({
|
|
|
93
93
|
sections,
|
|
94
94
|
rightItems,
|
|
95
95
|
selectedChoice
|
|
96
|
-
}: DesktopNavbarProps<T>) =>
|
|
96
|
+
}: DesktopNavbarProps<T>) => react_jsx_runtime17.JSX.Element;
|
|
97
97
|
//#endregion
|
|
98
98
|
export { DesktopNavbar };
|
|
99
99
|
//# sourceMappingURL=DesktopNavbar.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TabSelectorItemProps } from "../TabSelector/TabSelector.js";
|
|
2
2
|
import "../TabSelector/index.js";
|
|
3
3
|
import { ReactElement, ReactNode } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Navbar/MobileNavbar.d.ts
|
|
7
7
|
/**
|
|
@@ -110,7 +110,7 @@ declare const MobileNavbar: <T extends TabSelectorItemProps>({
|
|
|
110
110
|
bottomSections,
|
|
111
111
|
rightItems,
|
|
112
112
|
rollable
|
|
113
|
-
}: MobileNavbarProps<T>) =>
|
|
113
|
+
}: MobileNavbarProps<T>) => react_jsx_runtime8.JSX.Element;
|
|
114
114
|
//#endregion
|
|
115
115
|
export { MobileNavbar };
|
|
116
116
|
//# sourceMappingURL=MobileNavbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileNavbar.d.ts","names":[],"sources":["../../../../src/components/Navbar/MobileNavbar.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;AAQ2D,KAOtD,iBAAA,CAAA,UAA4B,oBAAX,CAAA,GAAA;EAAW;EAEzB,IAAA,EAAA,SAAA;EAEQ;EAEa,WAAA,CAAA,EAFb,SAEa;EAAb;EAEG,WAAA,CAAA,EAFH,YAEG,CAFU,CAEV,CAAA,EAAA;EAEa;EAAb,cAAA,CAAA,EAFA,SAEA;EAEJ;EAAS,cAAA,CAAA,EAFL,YAEK,CAFQ,CAER,CAAA,EAAA;EAuGX;EAA0B,UAAA,CAAA,EAvGxB,SAuGwB;EAAsB;EAAA,QAAA,CAAA,EAAA,OAAA;CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAhD,yBAA0B;;;;;;;;GAQpC,kBAAkB,OAAE,
|
|
1
|
+
{"version":3,"file":"MobileNavbar.d.ts","names":[],"sources":["../../../../src/components/Navbar/MobileNavbar.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;AAQ2D,KAOtD,iBAAA,CAAA,UAA4B,oBAAX,CAAA,GAAA;EAAW;EAEzB,IAAA,EAAA,SAAA;EAEQ;EAEa,WAAA,CAAA,EAFb,SAEa;EAAb;EAEG,WAAA,CAAA,EAFH,YAEG,CAFU,CAEV,CAAA,EAAA;EAEa;EAAb,cAAA,CAAA,EAFA,SAEA;EAEJ;EAAS,cAAA,CAAA,EAFL,YAEK,CAFQ,CAER,CAAA,EAAA;EAuGX;EAA0B,UAAA,CAAA,EAvGxB,SAuGwB;EAAsB;EAAA,QAAA,CAAA,EAAA,OAAA;CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAhD,yBAA0B;;;;;;;;GAQpC,kBAAkB,OAAE,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TabSelectorItemProps } from "../TabSelector/TabSelector.js";
|
|
2
2
|
import "../TabSelector/index.js";
|
|
3
3
|
import { ReactElement, ReactNode } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Navbar/index.d.ts
|
|
7
7
|
/**
|
|
@@ -97,7 +97,7 @@ declare const Navbar: <T extends TabSelectorItemProps>({
|
|
|
97
97
|
rightItemsMobile,
|
|
98
98
|
selectedChoice,
|
|
99
99
|
mobileRollable
|
|
100
|
-
}: NavbarProps<T>) =>
|
|
100
|
+
}: NavbarProps<T>) => react_jsx_runtime12.JSX.Element;
|
|
101
101
|
//#endregion
|
|
102
102
|
export { Navbar };
|
|
103
103
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { FC, HTMLAttributes } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as class_variance_authority_types7 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Pagination/Pagination.d.ts
|
|
6
6
|
declare const paginationVariants: (props?: {
|
|
7
7
|
size?: "sm" | "md" | "lg";
|
|
8
|
-
color?: "
|
|
8
|
+
color?: "primary" | "secondary" | "destructive" | "neutral" | "text";
|
|
9
9
|
variant?: "default" | "bordered" | "ghost";
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types7.ClassProp) => string;
|
|
11
11
|
declare enum PaginationSize {
|
|
12
12
|
SM = "sm",
|
|
13
13
|
MD = "md",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.d.ts","names":[],"sources":["../../../../src/components/Pagination/Pagination.tsx"],"sourcesContent":[],"mappings":";;;;;cAea,0BA6Ba;;;EA7Bb,OAAA,CAAA,EAAA,SAAA,GA2BZ,UAAA,GAAA,OAAA;AAED,CAAA,GAFC,
|
|
1
|
+
{"version":3,"file":"Pagination.d.ts","names":[],"sources":["../../../../src/components/Pagination/Pagination.tsx"],"sourcesContent":[],"mappings":";;;;;cAea,0BA6Ba;;;EA7Bb,OAAA,CAAA,EAAA,SAAA,GA2BZ,UAAA,GAAA,OAAA;AAED,CAAA,GAFC,+BAAA,CAAA,SAEyB,EAAA,GAAA,MAAA;AAMd,aANA,cAAA;EAYA,EAAA,GAAA,IAAA;EAAiC,EAAA,GAAA,IAAA;EAAf,EAAA,GAAA,IAAA;;AAC5B,aAPU,iBAAA;EAOE,OAAA,GAAA,SAAA;EA+ED,QAAA,GAAA,UAiJZ;;;KAjOW,eAAA,GAAkB,eAAe,kBAC3C,oBAAoB;;;;;;;;;cA+ET,YAAY,GAAG"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _intlayer_types397 from "@intlayer/types";
|
|
2
|
+
import * as _intlayer_core1 from "@intlayer/core";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Pagination/pagination.content.d.ts
|
|
5
5
|
declare const paginationContent: {
|
|
6
6
|
key: string;
|
|
7
7
|
content: {
|
|
8
|
-
numberItemsSelector:
|
|
8
|
+
numberItemsSelector: _intlayer_types397.TypedNodeModel<_intlayer_types397.NodeType.Translation, {
|
|
9
9
|
en: string;
|
|
10
10
|
fr: string;
|
|
11
11
|
es: string;
|
|
@@ -25,7 +25,7 @@ declare const paginationContent: {
|
|
|
25
25
|
vi: string;
|
|
26
26
|
uk: string;
|
|
27
27
|
}, {
|
|
28
|
-
nodeType: "translation" |
|
|
28
|
+
nodeType: "translation" | _intlayer_types397.NodeType.Translation;
|
|
29
29
|
} & {
|
|
30
30
|
translation: {
|
|
31
31
|
en: string;
|
|
@@ -48,7 +48,7 @@ declare const paginationContent: {
|
|
|
48
48
|
uk: string;
|
|
49
49
|
};
|
|
50
50
|
}>;
|
|
51
|
-
showingResults:
|
|
51
|
+
showingResults: _intlayer_core1.InsertionContent<_intlayer_types397.TypedNodeModel<_intlayer_types397.NodeType.Translation, {
|
|
52
52
|
ar: string;
|
|
53
53
|
de: string;
|
|
54
54
|
en: string;
|
|
@@ -68,7 +68,7 @@ declare const paginationContent: {
|
|
|
68
68
|
vi: string;
|
|
69
69
|
zh: string;
|
|
70
70
|
}, {
|
|
71
|
-
nodeType: "translation" |
|
|
71
|
+
nodeType: "translation" | _intlayer_types397.NodeType.Translation;
|
|
72
72
|
} & {
|
|
73
73
|
translation: {
|
|
74
74
|
ar: string;
|
|
@@ -91,7 +91,7 @@ declare const paginationContent: {
|
|
|
91
91
|
zh: string;
|
|
92
92
|
};
|
|
93
93
|
}>>;
|
|
94
|
-
selectPageSize:
|
|
94
|
+
selectPageSize: _intlayer_types397.TypedNodeModel<_intlayer_types397.NodeType.Translation, {
|
|
95
95
|
en: string;
|
|
96
96
|
fr: string;
|
|
97
97
|
es: string;
|
|
@@ -111,7 +111,7 @@ declare const paginationContent: {
|
|
|
111
111
|
vi: string;
|
|
112
112
|
uk: string;
|
|
113
113
|
}, {
|
|
114
|
-
nodeType: "translation" |
|
|
114
|
+
nodeType: "translation" | _intlayer_types397.NodeType.Translation;
|
|
115
115
|
} & {
|
|
116
116
|
translation: {
|
|
117
117
|
en: string;
|
|
@@ -134,7 +134,7 @@ declare const paginationContent: {
|
|
|
134
134
|
uk: string;
|
|
135
135
|
};
|
|
136
136
|
}>;
|
|
137
|
-
goToNextPage:
|
|
137
|
+
goToNextPage: _intlayer_types397.TypedNodeModel<_intlayer_types397.NodeType.Translation, {
|
|
138
138
|
en: string;
|
|
139
139
|
fr: string;
|
|
140
140
|
es: string;
|
|
@@ -154,7 +154,7 @@ declare const paginationContent: {
|
|
|
154
154
|
vi: string;
|
|
155
155
|
uk: string;
|
|
156
156
|
}, {
|
|
157
|
-
nodeType: "translation" |
|
|
157
|
+
nodeType: "translation" | _intlayer_types397.NodeType.Translation;
|
|
158
158
|
} & {
|
|
159
159
|
translation: {
|
|
160
160
|
en: string;
|
|
@@ -177,7 +177,7 @@ declare const paginationContent: {
|
|
|
177
177
|
uk: string;
|
|
178
178
|
};
|
|
179
179
|
}>;
|
|
180
|
-
goToPreviousPage:
|
|
180
|
+
goToPreviousPage: _intlayer_types397.TypedNodeModel<_intlayer_types397.NodeType.Translation, {
|
|
181
181
|
en: string;
|
|
182
182
|
fr: string;
|
|
183
183
|
es: string;
|
|
@@ -197,7 +197,7 @@ declare const paginationContent: {
|
|
|
197
197
|
vi: string;
|
|
198
198
|
uk: string;
|
|
199
199
|
}, {
|
|
200
|
-
nodeType: "translation" |
|
|
200
|
+
nodeType: "translation" | _intlayer_types397.NodeType.Translation;
|
|
201
201
|
} & {
|
|
202
202
|
translation: {
|
|
203
203
|
en: string;
|
|
@@ -23,6 +23,8 @@ type PopoverType = FC<PopoverProps> & {
|
|
|
23
23
|
declare enum PopoverXAlign {
|
|
24
24
|
/** Align popover to start (left) of trigger */
|
|
25
25
|
START = "start",
|
|
26
|
+
/** Align popover to center of trigger */
|
|
27
|
+
CENTER = "center",
|
|
26
28
|
/** Align popover to end (right) of trigger */
|
|
27
29
|
END = "end",
|
|
28
30
|
}
|
|
@@ -44,7 +46,7 @@ declare enum PopoverYAlign {
|
|
|
44
46
|
*
|
|
45
47
|
* Features:
|
|
46
48
|
* - Hover and focus-based triggering
|
|
47
|
-
* - Multiple positioning options (above/below, start/end)
|
|
49
|
+
* - Multiple positioning options (above/below, start/center/end)
|
|
48
50
|
* - Accessibility compliant with ARIA attributes
|
|
49
51
|
* - Smooth animations with configurable delays
|
|
50
52
|
* - Optional directional arrows
|
|
@@ -153,7 +155,7 @@ type DetailProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
153
155
|
* - Automatic visibility management
|
|
154
156
|
*
|
|
155
157
|
* Positioning System:
|
|
156
|
-
* - X-axis: START (left-aligned) or END (right-aligned)
|
|
158
|
+
* - X-axis: START (left-aligned), CENTER (centered), or END (right-aligned)
|
|
157
159
|
* - Y-axis: BELOW (underneath) or ABOVE (on top)
|
|
158
160
|
* - Automatic spacing with 1rem gap from trigger
|
|
159
161
|
* - Responsive minimum width matching trigger
|
|
@@ -186,14 +188,14 @@ type DetailProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
186
188
|
* Menu-style popover:
|
|
187
189
|
* ```jsx
|
|
188
190
|
* <Popover.Detail
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
*
|
|
191
|
+
* identifier="context-menu"
|
|
192
|
+
* displayArrow={false}
|
|
193
|
+
* xAlign={PopoverXAlign.END}
|
|
192
194
|
* >
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
195
|
+
* <ul className="py-2">
|
|
196
|
+
* <li><button className="w-full px-4 py-2">Edit</button></li>
|
|
197
|
+
* <li><button className="w-full px-4 py-2">Delete</button></li>
|
|
198
|
+
* </ul>
|
|
197
199
|
* </Popover.Detail>
|
|
198
200
|
* ```
|
|
199
201
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"static.d.ts","names":[],"sources":["../../../../src/components/Popover/static.tsx"],"sourcesContent":[],"mappings":";;;;;;AAQA;;AACE,KADU,YAAA,GAAe,iBACzB,CAAA,cAAA,CAAe,cAAf,CAAA,EACA,cADA,CAAA,GAAA;EACA;EAFyB,UAAA,EAAA,MAAA;CAAiB;AAY5C;;;;AACU,KADE,WAAA,GAAc,EAChB,CADmB,YACnB,CAAA,GAAA;EAAE,MAAA,EAAF,EAAE,CAAC,WAAD,CAAA;AAMZ,CAAA;
|
|
1
|
+
{"version":3,"file":"static.d.ts","names":[],"sources":["../../../../src/components/Popover/static.tsx"],"sourcesContent":[],"mappings":";;;;;;AAQA;;AACE,KADU,YAAA,GAAe,iBACzB,CAAA,cAAA,CAAe,cAAf,CAAA,EACA,cADA,CAAA,GAAA;EACA;EAFyB,UAAA,EAAA,MAAA;CAAiB;AAY5C;;;;AACU,KADE,WAAA,GAAc,EAChB,CADmB,YACnB,CAAA,GAAA;EAAE,MAAA,EAAF,EAAE,CAAC,WAAD,CAAA;AAMZ,CAAA;AAYA;AAwFA;AAoBA;AAAyC,aAxH7B,aAAA;EAwHc;EAUf,KAAA,GAAA,OAAA;EAAmB;EAEnB,MAAA,GAAA,QAAA;EAAmB;EAAa,GAAA,GAAA,KAAA;AAGzC;;;;aA3HU,aAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwFC,eAAe;;;;;KAoBhB,WAAA,GAAc,eAAe;;;;;;;;;;WAU9B,mBAAmB;;WAEnB,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoExB,QAAQ,GAAG"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { RightDrawer } from "./RightDrawer.js";
|
|
2
|
-
import {
|
|
3
|
-
export { RightDrawer,
|
|
2
|
+
import { drawerManager, useRightDrawer } from "./useRightDrawer.js";
|
|
3
|
+
export { RightDrawer, drawerManager, useRightDrawer };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types478 from "@intlayer/types";
|
|
2
2
|
|
|
3
3
|
//#region src/components/RightDrawer/rightDrawer.content.d.ts
|
|
4
4
|
declare const rightDrawerContent: {
|
|
5
5
|
key: string;
|
|
6
6
|
content: {
|
|
7
|
-
goBack:
|
|
7
|
+
goBack: _intlayer_types478.TypedNodeModel<_intlayer_types478.NodeType.Translation, {
|
|
8
8
|
en: string;
|
|
9
9
|
'en-GB': string;
|
|
10
10
|
ru: string;
|
|
@@ -24,7 +24,7 @@ declare const rightDrawerContent: {
|
|
|
24
24
|
vi: string;
|
|
25
25
|
uk: string;
|
|
26
26
|
}, {
|
|
27
|
-
nodeType: "translation" |
|
|
27
|
+
nodeType: "translation" | _intlayer_types478.NodeType.Translation;
|
|
28
28
|
} & {
|
|
29
29
|
translation: {
|
|
30
30
|
en: string;
|
|
@@ -47,7 +47,7 @@ declare const rightDrawerContent: {
|
|
|
47
47
|
uk: string;
|
|
48
48
|
};
|
|
49
49
|
}>;
|
|
50
|
-
closeDrawer:
|
|
50
|
+
closeDrawer: _intlayer_types478.TypedNodeModel<_intlayer_types478.NodeType.Translation, {
|
|
51
51
|
en: string;
|
|
52
52
|
'en-GB': string;
|
|
53
53
|
ru: string;
|
|
@@ -67,7 +67,7 @@ declare const rightDrawerContent: {
|
|
|
67
67
|
vi: string;
|
|
68
68
|
uk: string;
|
|
69
69
|
}, {
|
|
70
|
-
nodeType: "translation" |
|
|
70
|
+
nodeType: "translation" | _intlayer_types478.NodeType.Translation;
|
|
71
71
|
} & {
|
|
72
72
|
translation: {
|
|
73
73
|
en: string;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region src/components/RightDrawer/useRightDrawer.d.ts
|
|
2
|
+
type DrawerState = Record<string, boolean>;
|
|
3
|
+
declare class DrawerObservable {
|
|
4
|
+
private listeners;
|
|
5
|
+
private drawers;
|
|
6
|
+
subscribe: (listener: () => void) => () => void;
|
|
7
|
+
getSnapshot: () => DrawerState;
|
|
8
|
+
open: (key: string) => void;
|
|
9
|
+
close: (key: string) => void;
|
|
10
|
+
set: (states: DrawerState) => void;
|
|
11
|
+
private emit;
|
|
12
|
+
}
|
|
13
|
+
declare const drawerManager: DrawerObservable;
|
|
14
|
+
declare const useRightDrawer: () => {
|
|
15
|
+
open: (key: string) => void;
|
|
16
|
+
close: (key: string) => void;
|
|
17
|
+
set: (states: DrawerState) => void;
|
|
18
|
+
isOpen: (key: string) => boolean;
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { drawerManager, useRightDrawer };
|
|
22
|
+
//# sourceMappingURL=useRightDrawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRightDrawer.d.ts","names":[],"sources":["../../../../src/components/RightDrawer/useRightDrawer.ts"],"sourcesContent":[],"mappings":";KAIK,WAAA,GAAc;cAEb,gBAAA,CAFa;EAEb,QAAA,SAAA;EAmDO,QAAA,OAAA;EAEA,SAAA,EAAA,CAAA,QAaZ,EAAA,GAAA,GAAA,IAvCgB,EAAA,GAAA,GAAA,GAAW,IAAA;qBAhBf;;;gBAgBI;;;cAwBJ,eAAa;cAEb;;;gBA1BI"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react18 from "react";
|
|
2
2
|
import { ComponentProps, FC } from "react";
|
|
3
3
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
4
4
|
|
|
@@ -16,8 +16,8 @@ declare enum SelectContentPosition {
|
|
|
16
16
|
ITEM_ALIGNED = "item-aligned",
|
|
17
17
|
}
|
|
18
18
|
declare const SelectRoot: FC<SelectPrimitive.SelectProps>;
|
|
19
|
-
declare const SelectGroup:
|
|
20
|
-
declare const SelectValue:
|
|
19
|
+
declare const SelectGroup: react18.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & react18.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
declare const SelectValue: react18.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & react18.RefAttributes<HTMLSpanElement>>;
|
|
21
21
|
/**
|
|
22
22
|
* Select trigger button component that displays the current selection and opens the dropdown
|
|
23
23
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","names":[],"sources":["../../../../src/components/Select/Select.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAiBA;AAKC;AAGK,aARM,qBAAA;EAQK;EAAA,MAAA,GAAA,QAAA;EAAA;EAAA,YAAA,GAAA,cAAA;;AAAA,cADX,UAEmC,EAFzB,EAEyB,CAFzB,eAAA,CAAA,WAEyB,CAAA;cADnC,WACW,EADA,
|
|
1
|
+
{"version":3,"file":"Select.d.ts","names":[],"sources":["../../../../src/components/Select/Select.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAiBA;AAKC;AAGK,aARM,qBAAA;EAQK;EAAA,MAAA,GAAA,QAAA;EAAA;EAAA,YAAA,GAAA,cAAA;;AAAA,cADX,UAEmC,EAFzB,EAEyB,CAFzB,eAAA,CAAA,WAEyB,CAAA;cADnC,WACW,EADA,OAAA,CAAA,yBACA,CADA,eAAA,CAAA,gBACA,GADA,OAAA,CAAA,aACA,CADA,cACA,CAAA,CAAA;cAAX,WAAW,EAAA,OAAA,CAAA,yBAAA,CAAA,eAAA,CAAA,gBAAA,GAAA,OAAA,CAAA,aAAA,CAAA,eAAA,CAAA,CAAA;;;;AAAA;;;;;AAmBM;;;;;AAuEO;;;;cAvExB,aA6F0B,EA7FX,EA6FW,CA5F9B,cA4F8B,CAAA,OA5FR,eAAA,CAAgB,OA4FR,CAAA,GAAA;EAgCnB;;;;;AA2Eb;;;;;EA0BM,sBAmBL,CAAA,EAAA,OAAA;CAnB0C,CAAA;;;;AAsC3C;;;;;AAWE,cA5MI,oBAiNS,EAjNa,EAiNb,CAhNb,cAgNa,CAAA,OAhNS,eAAA,CAAgB,cAgNzB,CAAA,CAAA;;;;;;;;;cA3LT,sBA2MS,EA3Me,EA2Mf,CA1Mb,cA0Ma,CAAA,OA1MS,eAAA,CAAgB,gBA0MzB,CAAA,CAAA;;;AA8Ff;;;;;;;;;;;;;;;;cAzQa,eAAe,GAC1B,sBAAsB,eAAA,CAAgB;;;;;;;;;;;;;;;;;;;;;cA0E3B,aAAa,GAAG,sBAAsB,eAAA,CAAgB;;;;;;;;;;;;;;;;;cA0B7D,YAAY,GAAG,sBAAsB,eAAA,CAAgB;;;;;;;;;;;;;;;;;;cAsC9C,iBAAiB,GAC5B,sBAAsB,eAAA,CAAgB;;;;KAenC,UAAA,UAAoB;;gBAET;;gBAEA;;kBAEE;;yBAEO;;2BAEE;;kBAET;;gBAEF;;eAED;;oBAEK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4FP,QAAuB"}
|
|
@@ -7,12 +7,12 @@ import { TiktokLogo } from "./TiktokLogo.js";
|
|
|
7
7
|
import { XLogo } from "./XLogo.js";
|
|
8
8
|
import { YoutubeLogo } from "./YoutubeLogo.js";
|
|
9
9
|
import { AnchorHTMLAttributes, DetailedHTMLProps, ReactNode } from "react";
|
|
10
|
-
import * as
|
|
10
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
11
11
|
|
|
12
12
|
//#region src/components/SocialNetworks/index.d.ts
|
|
13
13
|
declare const socialNetworks: {
|
|
14
14
|
href: string;
|
|
15
|
-
component:
|
|
15
|
+
component: react_jsx_runtime3.JSX.Element;
|
|
16
16
|
label: string;
|
|
17
17
|
}[];
|
|
18
18
|
type SocialNetworksProps = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/SocialNetworks/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;;cAeM;;aAyCL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/SocialNetworks/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;;cAeM;;aAyCL,kBAAA,CAAA,GAAA,CAAA;;;KAEI,mBAAA;8BACyB,4BAA4B;IACtD,kBACF,qBAAqB,oBACrB;cA4BW;;;GAGV,wBAAmB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/SwitchSelector/index.d.ts
|
|
7
7
|
type SwitchSelectorChoice<T = boolean> = {
|
|
@@ -30,15 +30,15 @@ declare enum SwitchSelectorColor {
|
|
|
30
30
|
declare const switchSelectorVariant: (props?: {
|
|
31
31
|
color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text";
|
|
32
32
|
disabled?: boolean;
|
|
33
|
-
} &
|
|
33
|
+
} & class_variance_authority_types4.ClassProp) => string;
|
|
34
34
|
declare enum SwitchSelectorSize {
|
|
35
35
|
SM = "sm",
|
|
36
36
|
MD = "md",
|
|
37
37
|
LG = "lg",
|
|
38
38
|
}
|
|
39
39
|
declare const choiceVariant: (props?: {
|
|
40
|
-
size?: "
|
|
41
|
-
} &
|
|
40
|
+
size?: "sm" | "md" | "lg";
|
|
41
|
+
} & class_variance_authority_types4.ClassProp) => string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* Component that allows the user to select one of the provided choices.
|
|
@@ -66,7 +66,7 @@ declare const SwitchSelector: <T>({
|
|
|
66
66
|
className,
|
|
67
67
|
hoverable,
|
|
68
68
|
disabled
|
|
69
|
-
}: SwitchSelectorProps<T>) =>
|
|
69
|
+
}: SwitchSelectorProps<T>) => react_jsx_runtime2.JSX.Element;
|
|
70
70
|
//#endregion
|
|
71
71
|
export { SwitchSelector, SwitchSelectorChoice, SwitchSelectorChoices, SwitchSelectorColor, SwitchSelectorProps, SwitchSelectorSize };
|
|
72
72
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as class_variance_authority_types6 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Tab/Tab.d.ts
|
|
7
7
|
declare const tabContainerVariant: (props?: {
|
|
8
|
+
background?: "with" | "without";
|
|
8
9
|
variant?: "default" | "bordered" | "ghost";
|
|
9
|
-
} &
|
|
10
|
+
} & class_variance_authority_types6.ClassProp) => string;
|
|
10
11
|
type TabProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof tabContainerVariant> & {
|
|
11
12
|
defaultTab?: string;
|
|
12
13
|
group?: string;
|
|
13
14
|
children: ReactNode;
|
|
15
|
+
headerClassName?: string;
|
|
16
|
+
fullHeight?: boolean;
|
|
14
17
|
};
|
|
15
18
|
type TabItemProps = HTMLAttributes<HTMLDivElement> & {
|
|
16
19
|
label: string;
|
|
@@ -24,13 +27,15 @@ declare const Tab: (({
|
|
|
24
27
|
variant,
|
|
25
28
|
children,
|
|
26
29
|
className,
|
|
30
|
+
headerClassName,
|
|
31
|
+
fullHeight,
|
|
27
32
|
...props
|
|
28
|
-
}: TabProps) =>
|
|
33
|
+
}: TabProps) => react_jsx_runtime4.JSX.Element) & {
|
|
29
34
|
Item: {
|
|
30
35
|
({
|
|
31
36
|
children,
|
|
32
37
|
...props
|
|
33
|
-
}: TabItemProps):
|
|
38
|
+
}: TabItemProps): react_jsx_runtime4.JSX.Element;
|
|
34
39
|
displayName: string;
|
|
35
40
|
};
|
|
36
41
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tab.d.ts","names":[],"sources":["../../../../src/components/Tab/Tab.tsx"],"sourcesContent":[],"mappings":";;;;;;cA0BM
|
|
1
|
+
{"version":3,"file":"Tab.d.ts","names":[],"sources":["../../../../src/components/Tab/Tab.tsx"],"sourcesContent":[],"mappings":";;;;;;cA0BM;;;IAeJ,+BAAA,CAAA;AAfI,KAiBM,QAAA,GAAW,cAFrB,CAEoC,cAFpC,CAAA,GAGA,YAHA,CAAA,OAGoB,mBAHpB,CAAA,GAAA;EAEU,UAAA,CAAQ,EAAA,MAAA;EAAkB,KAAA,CAAA,EAAA,MAAA;EAAf,QAAA,EAIT,SAJS;EACD,eAAA,CAAA,EAAA,MAAA;EAApB,UAAA,CAAA,EAAA,OAAA;CAGY;AAAS,KAKX,YAAA,GAAe,cALJ,CAKmB,cALnB,CAAA,GAAA;EAKX,KAAA,EAAA,MAAA;EAA8B,KAAA,EAAA,MAAA;EAAf,QAAA,CAAA,EAAA,OAAA;EAIf,QAAA,EAAA,SAAA;CAAS;AAgMR,cAAA,GAEX,EAAA,CAAA,CAAA;EAAA,UAAA;EAAA,KAAA;EAAA,OAAA;EAAA,QAAA;EAAA,SAAA;EAAA,eAAA;EAAA,UAAA;EAAA,GAAA;AAAA,CAAA,EA1JC,QA0JD,EAAA,GA1JS,kBAAA,CAAA,GAAA,CAAA,OA0JT,CAAA,GAAA;EAFc,IAAA,EAAA;IAAA,CAAA;MAAA,QAAA;MAAA,GAAA;IAAA,CAAA,EAzLyB,YAyLzB,CAAA,EAzLqC,kBAAA,CAAA,GAAA,CAAA,OAyLrC;IAAA,WAAA,EAAA,MAAA;EAAA,CAAA;CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react14 from "react";
|
|
2
2
|
import { Dispatch, FC, PropsWithChildren, SetStateAction } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Tab/TabContext.d.ts
|
|
@@ -9,7 +9,7 @@ type TabContextValue = {
|
|
|
9
9
|
/**
|
|
10
10
|
* Context that store the current locale on the client side
|
|
11
11
|
*/
|
|
12
|
-
declare const TabContext:
|
|
12
|
+
declare const TabContext: react14.Context<TabContextValue>;
|
|
13
13
|
/**
|
|
14
14
|
* Hook that provides the current locale
|
|
15
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabContext.d.ts","names":[],"sources":["../../../../src/components/Tab/TabContext.tsx"],"sourcesContent":[],"mappings":";;;;KAYK,eAAA;cACS;iBACG,SAAS,eAAe;AAJ1B,CAAA;;;;AAIE,cAMJ,UANI,EAMM,
|
|
1
|
+
{"version":3,"file":"TabContext.d.ts","names":[],"sources":["../../../../src/components/Tab/TabContext.tsx"],"sourcesContent":[],"mappings":";;;;KAYK,eAAA;cACS;iBACG,SAAS,eAAe;AAJ1B,CAAA;;;;AAIE,cAMJ,UANI,EAMM,OAAA,CAAA,OANN,CAMM,eANN,CAAA;;AAMjB;AAQA;AAKa,cALA,aAKgB,EAAA,GAAA,GALH,eAKE;;;;cAAf,aAAa,GAAG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactElement } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as class_variance_authority_types12 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
5
5
|
import { ItemSelectorOrientation } from "@hooks/useItemSelector";
|
|
6
6
|
|
|
7
7
|
//#region src/components/TabSelector/TabSelector.d.ts
|
|
@@ -15,8 +15,8 @@ declare enum TabSelectorColor {
|
|
|
15
15
|
TEXT = "text",
|
|
16
16
|
}
|
|
17
17
|
declare const tabSelectorVariant: (props?: {
|
|
18
|
-
color?: "
|
|
19
|
-
} &
|
|
18
|
+
color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text";
|
|
19
|
+
} & class_variance_authority_types12.ClassProp) => string;
|
|
20
20
|
type TabSelectorItemProps = HTMLAttributes<HTMLElement> & {
|
|
21
21
|
key: string | number;
|
|
22
22
|
};
|
|
@@ -54,7 +54,7 @@ declare const TabSelector: <T extends TabSelectorItemProps>({
|
|
|
54
54
|
hoverable,
|
|
55
55
|
orientation,
|
|
56
56
|
className
|
|
57
|
-
}: TabSelectorProps<T>) =>
|
|
57
|
+
}: TabSelectorProps<T>) => react_jsx_runtime19.JSX.Element;
|
|
58
58
|
//#endregion
|
|
59
59
|
export { TabSelector, TabSelectorColor, TabSelectorItemProps, TabSelectorProps };
|
|
60
60
|
//# sourceMappingURL=TabSelector.d.ts.map
|