@intlayer/design-system 7.5.3 → 7.5.5

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.
Files changed (143) hide show
  1. package/dist/esm/components/Accordion/Accordion.mjs +1 -1
  2. package/dist/esm/components/Avatar/index.mjs +1 -1
  3. package/dist/esm/components/Breadcrumb/index.mjs +1 -1
  4. package/dist/esm/components/Browser/Browser.content.mjs +36 -17
  5. package/dist/esm/components/Browser/Browser.content.mjs.map +1 -1
  6. package/dist/esm/components/Browser/Browser.mjs +191 -131
  7. package/dist/esm/components/Browser/Browser.mjs.map +1 -1
  8. package/dist/esm/components/CollapsibleTable/CollapsibleTable.mjs +1 -1
  9. package/dist/esm/components/ContentEditor/ContentEditor.mjs +1 -1
  10. package/dist/esm/components/ContentEditor/ContentEditorInput.mjs +1 -1
  11. package/dist/esm/components/ContentEditor/ContentEditorTextArea.mjs +2 -2
  12. package/dist/esm/components/CopyButton/index.mjs +1 -1
  13. package/dist/esm/components/CopyToClipboard/index.mjs +1 -1
  14. package/dist/esm/components/DictionaryEditor/DictionaryEditor.mjs +1 -1
  15. package/dist/esm/components/DictionaryEditor/NodeWrapper/FileWrapper.mjs +1 -1
  16. package/dist/esm/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs +1 -1
  17. package/dist/esm/components/DictionaryEditor/NodeWrapper/index.mjs +1 -1
  18. package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs +1 -1
  19. package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +3 -3
  20. package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +1 -1
  21. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +4 -4
  22. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +2 -2
  23. package/dist/esm/components/DictionaryFieldEditor/JSONEditor.mjs +1 -1
  24. package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +2 -2
  25. package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +4 -4
  26. package/dist/esm/components/DictionaryFieldEditor/StructureEditor.mjs +1 -1
  27. package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs +1 -1
  28. package/dist/esm/components/EditableField/EditableFieldLayout.mjs +1 -1
  29. package/dist/esm/components/HideShow/index.mjs +1 -1
  30. package/dist/esm/components/IDE/FileTree.mjs +1 -1
  31. package/dist/esm/components/Input/InputPassword.mjs +1 -1
  32. package/dist/esm/components/Input/OTPInput.mjs +1 -1
  33. package/dist/esm/components/KeyboardScreenAdapter/index.mjs +1 -1
  34. package/dist/esm/components/KeyboardShortcut/KeyboardShortcut.mjs +1 -1
  35. package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +2 -2
  36. package/dist/esm/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +1 -1
  37. package/dist/esm/components/Modal/Modal.mjs +3 -3
  38. package/dist/esm/components/Navbar/MobileNavbar.mjs +2 -2
  39. package/dist/esm/components/Pagination/Pagination.mjs +2 -2
  40. package/dist/esm/components/RightDrawer/RightDrawer.mjs +3 -3
  41. package/dist/esm/components/Select/Multiselect.mjs +1 -1
  42. package/dist/esm/components/SwitchSelector/index.mjs +1 -1
  43. package/dist/esm/components/Tab/Tab.mjs +2 -1
  44. package/dist/esm/components/Tab/Tab.mjs.map +1 -1
  45. package/dist/esm/components/TabSelector/TabSelector.mjs +3 -3
  46. package/dist/esm/components/TabSelector/TabSelector.mjs.map +1 -1
  47. package/dist/esm/components/Table/Table.mjs +1 -1
  48. package/dist/esm/components/TextArea/AutocompleteTextArea.mjs +1 -1
  49. package/dist/esm/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs +1 -1
  50. package/dist/esm/components/ThemeSwitcherDropDown/MobileThemeSwitcher.mjs +1 -1
  51. package/dist/esm/hooks/useAuth/useOAuth2.mjs +1 -1
  52. package/dist/esm/hooks/useAuth/useSession.mjs +1 -1
  53. package/dist/esm/libs/auth.mjs +1 -1
  54. package/dist/esm/providers/ReactQueryProvider.mjs +1 -1
  55. package/dist/types/components/Badge/index.d.ts +2 -2
  56. package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +3 -3
  57. package/dist/types/components/Breadcrumb/index.d.ts +2 -2
  58. package/dist/types/components/Browser/Browser.content.d.ts +52 -11
  59. package/dist/types/components/Browser/Browser.content.d.ts.map +1 -1
  60. package/dist/types/components/Browser/Browser.d.ts +18 -60
  61. package/dist/types/components/Browser/Browser.d.ts.map +1 -1
  62. package/dist/types/components/Button/Button.d.ts +3 -3
  63. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +3 -3
  64. package/dist/types/components/Command/index.d.ts +20 -20
  65. package/dist/types/components/Command/index.d.ts.map +1 -1
  66. package/dist/types/components/Container/index.d.ts +7 -7
  67. package/dist/types/components/Container/index.d.ts.map +1 -1
  68. package/dist/types/components/CopyButton/CopyButton.content.d.ts +3 -3
  69. package/dist/types/components/CopyButton/CopyButton.content.d.ts.map +1 -1
  70. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +25 -25
  71. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +9 -9
  72. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +33 -33
  73. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +25 -25
  74. package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +25 -25
  75. package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +33 -33
  76. package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +9 -9
  77. package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +7 -7
  78. package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +5 -5
  79. package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +31 -31
  80. package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +3 -3
  81. package/dist/types/components/Form/FormBase.d.ts +2 -2
  82. package/dist/types/components/Form/FormBase.d.ts.map +1 -1
  83. package/dist/types/components/Form/FormField.d.ts +2 -2
  84. package/dist/types/components/Form/FormField.d.ts.map +1 -1
  85. package/dist/types/components/Form/FormItem.d.ts +2 -2
  86. package/dist/types/components/Form/elements/MultiselectElement.d.ts +2 -2
  87. package/dist/types/components/Form/elements/OTPElement.d.ts +2 -2
  88. package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts +2 -2
  89. package/dist/types/components/IDE/CodeContext.d.ts +2 -2
  90. package/dist/types/components/IDE/CodeContext.d.ts.map +1 -1
  91. package/dist/types/components/IDE/FileTree.d.ts.map +1 -1
  92. package/dist/types/components/IDE/code.content.d.ts +5 -5
  93. package/dist/types/components/IDE/code.content.d.ts.map +1 -1
  94. package/dist/types/components/IDE/copyCode.content.d.ts +5 -5
  95. package/dist/types/components/IDE/copyCode.content.d.ts.map +1 -1
  96. package/dist/types/components/IDE/selectors.content.d.ts +7 -7
  97. package/dist/types/components/Input/Checkbox.d.ts +4 -4
  98. package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
  99. package/dist/types/components/Input/Input.d.ts +2 -2
  100. package/dist/types/components/Input/Input.d.ts.map +1 -1
  101. package/dist/types/components/Input/OTPInput.d.ts +7 -7
  102. package/dist/types/components/Input/OTPInput.d.ts.map +1 -1
  103. package/dist/types/components/Input/SearchInput.d.ts +2 -2
  104. package/dist/types/components/Input/SearchInput.d.ts.map +1 -1
  105. package/dist/types/components/Link/Link.d.ts +4 -4
  106. package/dist/types/components/Link/Link.d.ts.map +1 -1
  107. package/dist/types/components/Loader/index.content.d.ts +3 -3
  108. package/dist/types/components/Loader/index.content.d.ts.map +1 -1
  109. package/dist/types/components/Loader/spinner.d.ts +2 -2
  110. package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -17
  111. package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts.map +1 -1
  112. package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +13 -13
  113. package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -1
  114. package/dist/types/components/MaxWidthSmoother/index.d.ts +2 -2
  115. package/dist/types/components/MaxWidthSmoother/index.d.ts.map +1 -1
  116. package/dist/types/components/Navbar/Burger.d.ts +2 -2
  117. package/dist/types/components/Navbar/DesktopNavbar.d.ts +2 -2
  118. package/dist/types/components/Navbar/MobileNavbar.d.ts +2 -2
  119. package/dist/types/components/Navbar/index.d.ts +2 -2
  120. package/dist/types/components/Navbar/index.d.ts.map +1 -1
  121. package/dist/types/components/Pagination/Pagination.d.ts +3 -3
  122. package/dist/types/components/Pagination/pagination.content.d.ts +11 -11
  123. package/dist/types/components/Select/Select.d.ts +3 -3
  124. package/dist/types/components/Select/Select.d.ts.map +1 -1
  125. package/dist/types/components/SocialNetworks/index.d.ts +2 -2
  126. package/dist/types/components/SocialNetworks/index.d.ts.map +1 -1
  127. package/dist/types/components/SwitchSelector/index.d.ts +6 -6
  128. package/dist/types/components/SwitchSelector/index.d.ts.map +1 -1
  129. package/dist/types/components/Tab/Tab.d.ts +5 -5
  130. package/dist/types/components/Tab/Tab.d.ts.map +1 -1
  131. package/dist/types/components/Tab/TabContext.d.ts +2 -2
  132. package/dist/types/components/Tab/TabContext.d.ts.map +1 -1
  133. package/dist/types/components/TabSelector/TabSelector.d.ts +4 -4
  134. package/dist/types/components/Table/table.content.d.ts +3 -3
  135. package/dist/types/components/Table/table.content.d.ts.map +1 -1
  136. package/dist/types/components/Tag/index.d.ts +2 -2
  137. package/dist/types/components/Terminal/terminal.content.d.ts +5 -5
  138. package/dist/types/components/Terminal/terminal.content.d.ts.map +1 -1
  139. package/dist/types/components/Toaster/Toast.d.ts +1 -1
  140. package/dist/types/components/Toaster/Toast.d.ts.map +1 -1
  141. package/dist/types/components/Toaster/Toaster.d.ts +2 -2
  142. package/dist/types/components/Toaster/Toaster.d.ts.map +1 -1
  143. package/package.json +14 -14
@@ -2,9 +2,9 @@
2
2
 
3
3
  import { getAuthAPI } from "../../libs/auth.mjs";
4
4
  import { useQueryClient } from "../reactQuery.mjs";
5
+ import configuration from "@intlayer/config/built";
5
6
  import { useConfiguration } from "@intlayer/editor-react";
6
7
  import { useQuery } from "@tanstack/react-query";
7
- import configuration from "@intlayer/config/built";
8
8
 
9
9
  //#region src/hooks/useAuth/useSession.ts
10
10
  function useSession(sessionProp, intlayerConfiguration) {
@@ -1,6 +1,6 @@
1
- import configuration from "@intlayer/config/built";
2
1
  import { passkeyClient } from "@better-auth/passkey/client";
3
2
  import { ssoClient } from "@better-auth/sso/client";
3
+ import configuration from "@intlayer/config/built";
4
4
  import { createAuthClient } from "better-auth/client";
5
5
  import { magicLinkClient, twoFactorClient } from "better-auth/client/plugins";
6
6
 
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
 
3
3
  import { useToast } from "../components/Toaster/useToast.mjs";
4
+ import { MutationCache, QueryClient, QueryClientProvider } from "@tanstack/react-query";
4
5
  import { useRef } from "react";
5
6
  import { jsx } from "react/jsx-runtime";
6
- import { MutationCache, QueryClient, QueryClientProvider } from "@tanstack/react-query";
7
7
 
8
8
  //#region src/providers/ReactQueryProvider.tsx
9
9
  const defaultQueryOptions = {
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from "react";
2
- import * as class_variance_authority_types12 from "class-variance-authority/types";
2
+ import * as class_variance_authority_types9 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
 
5
5
  //#region src/components/Badge/index.d.ts
@@ -47,7 +47,7 @@ declare const badgeVariants: (props?: {
47
47
  color?: BadgeColor;
48
48
  variant?: BadgeVariant;
49
49
  size?: BadgeSize;
50
- } & class_variance_authority_types12.ClassProp) => string;
50
+ } & class_variance_authority_types9.ClassProp) => string;
51
51
  /**
52
52
  * Badge component props interface
53
53
  * @description Comprehensive props for the Badge component with accessibility and interactive features
@@ -1,10 +1,10 @@
1
- import * as _intlayer_types382 from "@intlayer/types";
1
+ import * as _intlayer_types379 from "@intlayer/types";
2
2
 
3
3
  //#region src/components/Breadcrumb/breadcrumb.content.d.ts
4
4
  declare const breadCrumbContent: {
5
5
  key: string;
6
6
  content: {
7
- linkLabel: _intlayer_types382.TypedNodeModel<_intlayer_types382.NodeType.Translation, {
7
+ linkLabel: _intlayer_types379.TypedNodeModel<_intlayer_types379.NodeType.Translation, {
8
8
  en: string;
9
9
  fr: string;
10
10
  es: string;
@@ -23,7 +23,7 @@ declare const breadCrumbContent: {
23
23
  id: string;
24
24
  vi: string;
25
25
  }, {
26
- nodeType: _intlayer_types382.NodeType.Translation | "translation";
26
+ nodeType: "translation" | _intlayer_types379.NodeType.Translation;
27
27
  } & {
28
28
  translation: {
29
29
  en: string;
@@ -1,7 +1,7 @@
1
1
  import { LinkColor } from "../Link/Link.js";
2
2
  import "../Link/index.js";
3
3
  import { FC, HTMLAttributes, ReactNode } from "react";
4
- import * as class_variance_authority_types13 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types10 from "class-variance-authority/types";
5
5
  import { VariantProps } from "class-variance-authority";
6
6
  import { LocalesValues } from "@intlayer/types";
7
7
 
@@ -12,7 +12,7 @@ import { LocalesValues } from "@intlayer/types";
12
12
  declare const breadcrumbVariants: (props?: {
13
13
  size?: "small" | "medium" | "large";
14
14
  spacing?: "compact" | "normal" | "loose";
15
- } & class_variance_authority_types13.ClassProp) => string;
15
+ } & class_variance_authority_types10.ClassProp) => string;
16
16
  /**
17
17
  * Detailed breadcrumb link configuration with optional href or onClick
18
18
  */
@@ -1,10 +1,10 @@
1
- import * as _intlayer_types385 from "@intlayer/types";
1
+ import * as _intlayer_types0 from "@intlayer/types";
2
2
 
3
3
  //#region src/components/Browser/Browser.content.d.ts
4
4
  declare const browserContent: {
5
5
  key: string;
6
6
  content: {
7
- ariaLabel: _intlayer_types385.TypedNodeModel<_intlayer_types385.NodeType.Translation, {
7
+ ariaLabel: _intlayer_types0.TypedNodeModel<_intlayer_types0.NodeType.Translation, {
8
8
  en: string;
9
9
  'en-GB': string;
10
10
  fr: string;
@@ -23,7 +23,7 @@ declare const browserContent: {
23
23
  id: string;
24
24
  vi: string;
25
25
  }, {
26
- nodeType: _intlayer_types385.NodeType.Translation | "translation";
26
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
27
27
  } & {
28
28
  translation: {
29
29
  en: string;
@@ -45,7 +45,7 @@ declare const browserContent: {
45
45
  vi: string;
46
46
  };
47
47
  }>;
48
- urlLabel: _intlayer_types385.TypedNodeModel<_intlayer_types385.NodeType.Translation, {
48
+ urlLabel: _intlayer_types0.TypedNodeModel<_intlayer_types0.NodeType.Translation, {
49
49
  en: string;
50
50
  'en-GB': string;
51
51
  fr: string;
@@ -64,7 +64,7 @@ declare const browserContent: {
64
64
  id: string;
65
65
  vi: string;
66
66
  }, {
67
- nodeType: _intlayer_types385.NodeType.Translation | "translation";
67
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
68
68
  } & {
69
69
  translation: {
70
70
  en: string;
@@ -87,7 +87,7 @@ declare const browserContent: {
87
87
  };
88
88
  }>;
89
89
  urlPlaceholder: string;
90
- errorMessage: _intlayer_types385.TypedNodeModel<_intlayer_types385.NodeType.Translation, {
90
+ errorMessage: _intlayer_types0.TypedNodeModel<_intlayer_types0.NodeType.Translation, {
91
91
  en: string;
92
92
  'en-GB': string;
93
93
  fr: string;
@@ -106,7 +106,7 @@ declare const browserContent: {
106
106
  id: string;
107
107
  vi: string;
108
108
  }, {
109
- nodeType: _intlayer_types385.NodeType.Translation | "translation";
109
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
110
110
  } & {
111
111
  translation: {
112
112
  en: string;
@@ -128,7 +128,7 @@ declare const browserContent: {
128
128
  vi: string;
129
129
  };
130
130
  }>;
131
- reloadButtonTitle: _intlayer_types385.TypedNodeModel<_intlayer_types385.NodeType.Translation, {
131
+ domainRestrictionError: _intlayer_types0.TypedNodeModel<_intlayer_types0.NodeType.Translation, {
132
132
  en: string;
133
133
  'en-GB': string;
134
134
  fr: string;
@@ -147,7 +147,7 @@ declare const browserContent: {
147
147
  id: string;
148
148
  vi: string;
149
149
  }, {
150
- nodeType: _intlayer_types385.NodeType.Translation | "translation";
150
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
151
151
  } & {
152
152
  translation: {
153
153
  en: string;
@@ -169,7 +169,7 @@ declare const browserContent: {
169
169
  vi: string;
170
170
  };
171
171
  }>;
172
- iframeTitle: _intlayer_types385.TypedNodeModel<_intlayer_types385.NodeType.Translation, {
172
+ reloadButtonTitle: _intlayer_types0.TypedNodeModel<_intlayer_types0.NodeType.Translation, {
173
173
  en: string;
174
174
  'en-GB': string;
175
175
  fr: string;
@@ -188,7 +188,48 @@ declare const browserContent: {
188
188
  id: string;
189
189
  vi: string;
190
190
  }, {
191
- nodeType: _intlayer_types385.NodeType.Translation | "translation";
191
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
192
+ } & {
193
+ translation: {
194
+ en: string;
195
+ 'en-GB': string;
196
+ fr: string;
197
+ es: string;
198
+ de: string;
199
+ ja: string;
200
+ ko: string;
201
+ zh: string;
202
+ it: string;
203
+ pt: string;
204
+ hi: string;
205
+ ar: string;
206
+ ru: string;
207
+ tr: string;
208
+ pl: string;
209
+ id: string;
210
+ vi: string;
211
+ };
212
+ }>;
213
+ iframeTitle: _intlayer_types0.TypedNodeModel<_intlayer_types0.NodeType.Translation, {
214
+ en: string;
215
+ 'en-GB': string;
216
+ fr: string;
217
+ es: string;
218
+ de: string;
219
+ ja: string;
220
+ ko: string;
221
+ zh: string;
222
+ it: string;
223
+ pt: string;
224
+ hi: string;
225
+ ar: string;
226
+ ru: string;
227
+ tr: string;
228
+ pl: string;
229
+ id: string;
230
+ vi: string;
231
+ }, {
232
+ nodeType: "translation" | _intlayer_types0.NodeType.Translation;
192
233
  } & {
193
234
  translation: {
194
235
  en: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Browser.content.d.ts","names":[],"sources":["../../../../src/components/Browser/Browser.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,SAAA,mCAwGS,0CAAA"}
1
+ {"version":3,"file":"Browser.content.d.ts","names":[],"sources":["../../../../src/components/Browser/Browser.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,SAAA,iCA2HS,wCAAA"}
@@ -1,72 +1,30 @@
1
- import { CSSProperties, FC } from "react";
1
+ import { CSSProperties, HTMLAttributes, RefObject } from "react";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
3
 
3
4
  //#region src/components/Browser/Browser.d.ts
4
5
  type BrowserProps = {
5
- /** Initial URL to load in the iframe */
6
6
  initialUrl?: string;
7
- /** Additional CSS classes for the container */
7
+ path?: string;
8
8
  className?: string;
9
- /** Inline styles for the container */
10
9
  style?: CSSProperties;
11
- /** Size of the browser window */
12
10
  size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
13
- /** Accessible label for screen readers describing the browser purpose */
14
11
  'aria-label'?: string;
15
- /** Sandbox attribute for the iframe to control security restrictions */
16
12
  sandbox?: string;
17
- };
18
- /**
19
- * Browser component that renders an iframe with a visible, editable URL bar.
20
- * Allows users to view, edit, and navigate to different URLs within an embedded browser interface.
21
- *
22
- * Features:
23
- * - Editable URL bar with strict validation (before navigation)
24
- * - Automatic protocol addition (adds https:// if missing)
25
- * - Integrated reload button inside the URL input
26
- * - Error handling with visual feedback for invalid URLs
27
- * - Responsive iframe with standardized sizes
28
- * - Full accessibility support with ARIA attributes
29
- * - Sandbox security for iframe content
30
- * - Dark-themed UI matching modern browser aesthetics
31
- * - Cross-browser compatibility (Chrome, Firefox, Safari)
32
- *
33
- * @example
34
- * // Basic usage
35
- * <Browser initialUrl="https://example.com" size="md" />
36
- *
37
- * @example
38
- * // With custom size and styling
39
- * <Browser
40
- * initialUrl="https://example.com"
41
- * size="lg"
42
- * className="shadow-2xl"
43
- * aria-label="Documentation viewer"
44
- * />
45
- *
46
- * @example
47
- * // For content preview
48
- * <Browser
49
- * initialUrl="https://youtube.com/embed/VIDEO_ID"
50
- * size="xl"
51
- * aria-label="Video content browser"
52
- * />
53
- *
54
- * @example
55
- * // With custom sandbox restrictions
56
- * <Browser
57
- * initialUrl="https://example.com"
58
- * sandbox="allow-scripts allow-same-origin"
59
- * aria-label="Restricted content browser"
60
- * />
61
- *
62
- * @param initialUrl - The initial URL to load in the iframe (default: 'https://example.com')
63
- * @param className - Additional CSS classes for the main container element
64
- * @param style - Inline CSS styles for the main container element
65
- * @param size - Size of the browser window: 'xs' (400px), 'sm' (500px), 'md' (600px), 'lg' (800px), 'xl' (1000px). Defaults to 'md'
66
- * @param aria-label - Accessible label for screen readers describing the browser's purpose (default: 'Embedded browser')
67
- * @param sandbox - Sandbox attribute for the iframe to control security restrictions (default: 'allow-scripts allow-same-origin allow-forms allow-popups allow-popups-to-escape-sandbox allow-downloads')
68
- */
69
- declare const Browser: FC<BrowserProps>;
13
+ ref?: RefObject<HTMLIFrameElement | null>;
14
+ domainRestriction?: string;
15
+ } & HTMLAttributes<HTMLIFrameElement>;
16
+ declare const Browser: ({
17
+ initialUrl,
18
+ path,
19
+ className,
20
+ style,
21
+ size,
22
+ "aria-label": ariaLabel,
23
+ sandbox,
24
+ ref,
25
+ domainRestriction,
26
+ ...props
27
+ }: BrowserProps) => react_jsx_runtime0.JSX.Element;
70
28
  //#endregion
71
29
  export { Browser, BrowserProps };
72
30
  //# sourceMappingURL=Browser.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Browser.d.ts","names":[],"sources":["../../../../src/components/Browser/Browser.tsx"],"sourcesContent":[],"mappings":";;;KAiCY,YAAA;;EAAA,UAAA,CAAA,EAAA,MAAY;EAkEX;;;UA5DH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4DG,SAAS,GAAG"}
1
+ {"version":3,"file":"Browser.d.ts","names":[],"sources":["../../../../src/components/Browser/Browser.tsx"],"sourcesContent":[],"mappings":";;;;KAmCY,YAAA;;;EAAA,SAAA,CAAA,EAAA,MAAY;EAId,KAAA,CAAA,EAAA,aAAA;EAIQ,IAAA,CAAA,EAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA;EAAV,YAAA,CAAA,EAAA,MAAA;EAEW,OAAA,CAAA,EAAA,MAAA;EAAf,GAAA,CAAA,EAFI,SAEJ,CAFc,iBAEd,GAAA,IAAA,CAAA;EAAc,iBAAA,CAAA,EAAA,MAAA;AAElB,CAAA,GAFI,cA+VH,CA/VkB,iBA+VlB,CAAA;AA7VuB,cAAX,OAAW,EAAA,CAAA;EAAA,UAAA;EAAA,IAAA;EAAA,SAAA;EAAA,KAAA;EAAA,IAAA;EAAA,YAAA,EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;EAAA,iBAAA;EAAA,GAAA;AAAA,CAAA,EAWrB,YAXqB,EAAA,GAWT,kBAAA,CAAA,GAAA,CAAA,OAXS"}
@@ -60,10 +60,10 @@ declare enum ButtonTextAlign {
60
60
  * Enhanced button variants with improved accessibility and focus states
61
61
  */
62
62
  declare const buttonVariants: (props?: {
63
- size?: "md" | "sm" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl";
63
+ size?: "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl";
64
64
  color?: "primary" | "secondary" | "destructive" | "neutral" | "card" | "light" | "dark" | "text" | "current" | "text-inverse" | "error" | "success" | "custom";
65
- roundedSize?: "md" | "sm" | "lg" | "xl" | "none" | "2xl" | "3xl" | "4xl" | "5xl" | "full";
66
- variant?: "input" | "default" | "none" | "outline" | "link" | "invisible-link" | "hoverable" | "fade";
65
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "none" | "2xl" | "3xl" | "4xl" | "5xl" | "full";
66
+ variant?: "none" | "default" | "outline" | "link" | "invisible-link" | "hoverable" | "fade" | "input";
67
67
  textAlign?: "left" | "center" | "right";
68
68
  isFullWidth?: boolean;
69
69
  } & class_variance_authority_types0.ClassProp) => string;
@@ -4,9 +4,9 @@ import { VariantProps } from "class-variance-authority";
4
4
 
5
5
  //#region src/components/CollapsibleTable/CollapsibleTable.d.ts
6
6
  declare const collapsibleTableVariants: (props?: {
7
- size?: "md" | "lg" | "sm" | "xl" | "full";
8
- variant?: "default" | "dark" | "ghost" | "outlined";
9
- spacing?: "md" | "lg" | "sm" | "none" | "auto";
7
+ size?: "sm" | "md" | "lg" | "xl" | "full";
8
+ variant?: "dark" | "default" | "ghost" | "outlined";
9
+ spacing?: "sm" | "md" | "lg" | "none" | "auto";
10
10
  } & class_variance_authority_types0.ClassProp) => string;
11
11
  interface CollapsibleTableProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'>, VariantProps<typeof collapsibleTableVariants> {
12
12
  /** Table title displayed in the header */
@@ -1,6 +1,6 @@
1
- import * as react6 from "react";
1
+ import * as react0 from "react";
2
2
  import { ComponentProps, FC, HTMLAttributes } from "react";
3
- import * as react_jsx_runtime20 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
  import { DialogProps } from "@radix-ui/react-dialog";
5
5
  import { Command as Command$1 } from "cmdk";
6
6
 
@@ -25,65 +25,65 @@ declare const CommandRoot: FC<ComponentProps<typeof Command$1>>;
25
25
  */
26
26
  declare const Command: {
27
27
  Dialog: FC<DialogProps>;
28
- Input: FC<Omit<Pick<Pick<react6.DetailedHTMLProps<react6.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof react6.InputHTMLAttributes<HTMLInputElement>> & {
28
+ Input: FC<Omit<Pick<Pick<react0.DetailedHTMLProps<react0.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof react0.InputHTMLAttributes<HTMLInputElement>> & {
29
29
  ref?: React.Ref<HTMLInputElement>;
30
30
  } & {
31
31
  asChild?: boolean;
32
- }, "key" | keyof react6.InputHTMLAttributes<HTMLInputElement> | "asChild">, "onChange" | "type" | "value"> & {
32
+ }, "key" | "asChild" | keyof react0.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
33
33
  value?: string;
34
34
  onValueChange?: (search: string) => void;
35
- } & react6.RefAttributes<HTMLInputElement>>;
35
+ } & react0.RefAttributes<HTMLInputElement>>;
36
36
  List: FC<{
37
37
  children?: React.ReactNode;
38
- } & Pick<Pick<react6.DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof HTMLAttributes<HTMLDivElement> | "key"> & {
38
+ } & Pick<Pick<react0.DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof HTMLAttributes<HTMLDivElement>> & {
39
39
  ref?: React.Ref<HTMLDivElement>;
40
40
  } & {
41
41
  asChild?: boolean;
42
- }, keyof HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
42
+ }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
43
43
  label?: string;
44
- } & react6.RefAttributes<HTMLDivElement>>;
44
+ } & react0.RefAttributes<HTMLDivElement>>;
45
45
  Empty: FC<{
46
46
  children?: React.ReactNode;
47
- } & Pick<Pick<react6.DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof HTMLAttributes<HTMLDivElement> | "key"> & {
47
+ } & Pick<Pick<react0.DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof HTMLAttributes<HTMLDivElement>> & {
48
48
  ref?: React.Ref<HTMLDivElement>;
49
49
  } & {
50
50
  asChild?: boolean;
51
- }, keyof HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & react6.RefAttributes<HTMLDivElement>>;
51
+ }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & react0.RefAttributes<HTMLDivElement>>;
52
52
  Group: FC<{
53
53
  children?: React.ReactNode;
54
- } & Omit<Pick<Pick<react6.DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof HTMLAttributes<HTMLDivElement> | "key"> & {
54
+ } & Omit<Pick<Pick<react0.DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof HTMLAttributes<HTMLDivElement>> & {
55
55
  ref?: React.Ref<HTMLDivElement>;
56
56
  } & {
57
57
  asChild?: boolean;
58
- }, keyof HTMLAttributes<HTMLDivElement> | "key" | "asChild">, "value" | "heading"> & {
58
+ }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
59
59
  heading?: React.ReactNode;
60
60
  value?: string;
61
61
  forceMount?: boolean;
62
- } & react6.RefAttributes<HTMLDivElement>>;
63
- Separator: FC<Pick<Pick<react6.DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof HTMLAttributes<HTMLDivElement> | "key"> & {
62
+ } & react0.RefAttributes<HTMLDivElement>>;
63
+ Separator: FC<Pick<Pick<react0.DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof HTMLAttributes<HTMLDivElement>> & {
64
64
  ref?: React.Ref<HTMLDivElement>;
65
65
  } & {
66
66
  asChild?: boolean;
67
- }, keyof HTMLAttributes<HTMLDivElement> | "key" | "asChild"> & {
67
+ }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
68
68
  alwaysRender?: boolean;
69
- } & react6.RefAttributes<HTMLDivElement>>;
69
+ } & react0.RefAttributes<HTMLDivElement>>;
70
70
  Item: FC<{
71
71
  children?: React.ReactNode;
72
- } & Omit<Pick<Pick<react6.DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof HTMLAttributes<HTMLDivElement> | "key"> & {
72
+ } & Omit<Pick<Pick<react0.DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof HTMLAttributes<HTMLDivElement>> & {
73
73
  ref?: React.Ref<HTMLDivElement>;
74
74
  } & {
75
75
  asChild?: boolean;
76
- }, keyof HTMLAttributes<HTMLDivElement> | "key" | "asChild">, "disabled" | "onSelect" | "value"> & {
76
+ }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
77
77
  disabled?: boolean;
78
78
  onSelect?: (value: string) => void;
79
79
  value?: string;
80
80
  keywords?: string[];
81
81
  forceMount?: boolean;
82
- } & react6.RefAttributes<HTMLDivElement>>;
82
+ } & react0.RefAttributes<HTMLDivElement>>;
83
83
  Shortcut: ({
84
84
  className,
85
85
  ...props
86
- }: HTMLAttributes<HTMLSpanElement>) => react_jsx_runtime20.JSX.Element;
86
+ }: HTMLAttributes<HTMLSpanElement>) => react_jsx_runtime0.JSX.Element;
87
87
  propTypes?: any;
88
88
  displayName?: string | undefined;
89
89
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Command/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAaa,aAAa,GAAG,sBAAsB;;;;AAAnD;;;;;AAuHA;;;;;;;;;cAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA7BV,eAAe,qBAAgB,mBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Command/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAaa,aAAa,GAAG,sBAAsB;;;;AAAnD;;;;;AAuHA;;;;;;;;;cAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA7BV,eAAe,qBAAgB,kBAAA,CAAA,GAAA,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { DetailedHTMLProps, FC, HTMLAttributes, PropsWithChildren } from "react";
2
- import * as class_variance_authority_types14 from "class-variance-authority/types";
2
+ import * as class_variance_authority_types1 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
 
5
5
  //#region src/components/Container/index.d.ts
@@ -9,15 +9,15 @@ import { VariantProps } from "class-variance-authority";
9
9
  * Provides flexible styling options for background, padding, borders, and layout
10
10
  */
11
11
  declare const containerVariants: (props?: {
12
- roundedSize?: "md" | "lg" | "sm" | "xl" | "none" | "2xl" | "3xl" | "4xl" | "full";
13
- transparency?: "md" | "lg" | "sm" | "xl" | "none" | "full";
14
- padding?: "md" | "lg" | "sm" | "xl" | "none" | "2xl";
12
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "none" | "2xl" | "3xl" | "4xl" | "full";
13
+ transparency?: "sm" | "md" | "lg" | "xl" | "none" | "full";
14
+ padding?: "sm" | "md" | "lg" | "xl" | "none" | "2xl";
15
15
  separator?: "without" | "x" | "y" | "both";
16
16
  border?: "with" | "none";
17
- borderColor?: "error" | "primary" | "secondary" | "neutral" | "text" | "success" | "warning";
17
+ borderColor?: "primary" | "secondary" | "neutral" | "text" | "error" | "success" | "warning";
18
18
  background?: "with" | "none" | "hoverable";
19
- gap?: "md" | "lg" | "sm" | "xl" | "none" | "2xl";
20
- } & class_variance_authority_types14.ClassProp) => string;
19
+ gap?: "sm" | "md" | "lg" | "xl" | "none" | "2xl";
20
+ } & class_variance_authority_types1.ClassProp) => string;
21
21
  /** Available rounded corner sizes for the container */
22
22
  declare enum ContainerRoundedSize {
23
23
  NONE = "none",
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Container/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAaA;AA8EY,cA9EC,iBA8EmB,EAAA,CAAA,KAsEzB,CAtEyB,EAAA;EAcpB,WAAA,CAAA,EAAA,IAAA,GAAA,IAAqB,GAAA,IAAA,GAAA,IAAA,GAAA,MAAA,GAAA,KAAA,GAAA,KAAA,GAAA,KAAA,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2
2
 
3
3
  //#region src/components/CopyButton/CopyButton.content.d.ts
4
4
  declare const copyContentContent: {
5
5
  key: string;
6
6
  content: {
7
- label: _intlayer_types400.TypedNodeModel<_intlayer_types400.NodeType.Translation, {
7
+ label: _intlayer_types23.TypedNodeModel<_intlayer_types23.NodeType.Translation, {
8
8
  en: string;
9
9
  fr: string;
10
10
  es: string;
@@ -23,7 +23,7 @@ declare const copyContentContent: {
23
23
  id: string;
24
24
  vi: string;
25
25
  }, {
26
- nodeType: _intlayer_types400.NodeType.Translation | "translation";
26
+ nodeType: "translation" | _intlayer_types23.NodeType.Translation;
27
27
  } & {
28
28
  translation: {
29
29
  en: string;
@@ -1 +1 @@
1
- {"version":3,"file":"CopyButton.content.d.ts","names":[],"sources":["../../../../src/components/CopyButton/CopyButton.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,KAAA,mCA2BS,0CAAA"}
1
+ {"version":3,"file":"CopyButton.content.d.ts","names":[],"sources":["../../../../src/components/CopyButton/CopyButton.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,KAAA,kCA2BS,yCAAA"}