@intlayer/design-system 7.5.7 → 7.5.9

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 (149) hide show
  1. package/dist/esm/components/ContentEditor/ContentEditorTextArea.mjs +1 -1
  2. package/dist/esm/components/DictionaryEditor/DictionaryEditor.mjs +9 -19
  3. package/dist/esm/components/DictionaryEditor/DictionaryEditor.mjs.map +1 -1
  4. package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs +2 -2
  5. package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs.map +1 -1
  6. package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +28 -23
  7. package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs.map +1 -1
  8. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +3 -2
  9. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
  10. package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +28 -6
  11. package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs.map +1 -1
  12. package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +2 -0
  13. package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
  14. package/dist/esm/components/DictionaryFieldEditor/index.mjs +2 -1
  15. package/dist/esm/components/Form/FormLabel.mjs +1 -1
  16. package/dist/esm/components/Form/elements/AutoSizeTextAreaElement.mjs +1 -1
  17. package/dist/esm/components/Form/elements/EditableFieldTextAreaElement.mjs +1 -1
  18. package/dist/esm/components/Form/elements/MultiselectElement.mjs +1 -1
  19. package/dist/esm/components/Form/elements/SelectElement.mjs +1 -1
  20. package/dist/esm/components/Form/elements/SwitchSelectorElement.mjs +1 -1
  21. package/dist/esm/components/Form/elements/TextAreaElement.mjs +1 -1
  22. package/dist/esm/components/IDE/CodeFormatSelector.mjs +1 -1
  23. package/dist/esm/components/IDE/ContentDeclarationFormatSelector.mjs +1 -1
  24. package/dist/esm/components/IDE/PackageManagerSelector.mjs +1 -1
  25. package/dist/esm/components/KeyboardShortcut/KeyboardShortcut.mjs +8 -4
  26. package/dist/esm/components/KeyboardShortcut/KeyboardShortcut.mjs.map +1 -1
  27. package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +1 -1
  28. package/dist/esm/components/MarkDownRender/MarkDownRender.mjs +1 -1
  29. package/dist/esm/components/MarkDownRender/MarkDownRender.mjs.map +1 -1
  30. package/dist/esm/components/Modal/Modal.mjs +2 -2
  31. package/dist/esm/components/Modal/Modal.mjs.map +1 -1
  32. package/dist/esm/components/RightDrawer/RightDrawer.mjs +83 -127
  33. package/dist/esm/components/RightDrawer/RightDrawer.mjs.map +1 -1
  34. package/dist/esm/components/RightDrawer/rightDrawer.content.mjs +51 -0
  35. package/dist/esm/components/RightDrawer/rightDrawer.content.mjs.map +1 -0
  36. package/dist/esm/components/Table/Table.mjs +1 -1
  37. package/dist/esm/components/index.mjs +12 -11
  38. package/dist/types/components/Badge/index.d.ts +2 -2
  39. package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +3 -3
  40. package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts.map +1 -1
  41. package/dist/types/components/Breadcrumb/index.d.ts +2 -2
  42. package/dist/types/components/Browser/Browser.d.ts +2 -2
  43. package/dist/types/components/Browser/browser.content.d.ts +17 -17
  44. package/dist/types/components/Browser/browser.content.d.ts.map +1 -1
  45. package/dist/types/components/Button/Button.d.ts +6 -6
  46. package/dist/types/components/Button/Button.d.ts.map +1 -1
  47. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +2 -2
  48. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts.map +1 -1
  49. package/dist/types/components/Command/index.d.ts +17 -17
  50. package/dist/types/components/Command/index.d.ts.map +1 -1
  51. package/dist/types/components/Container/index.d.ts +7 -7
  52. package/dist/types/components/Container/index.d.ts.map +1 -1
  53. package/dist/types/components/CopyButton/CopyButton.content.d.ts +3 -3
  54. package/dist/types/components/DictionaryEditor/DictionaryEditor.d.ts +0 -1
  55. package/dist/types/components/DictionaryEditor/DictionaryEditor.d.ts.map +1 -1
  56. package/dist/types/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts.map +1 -1
  57. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +25 -25
  58. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +9 -9
  59. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -1
  60. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +33 -33
  61. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +25 -25
  62. package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +25 -25
  63. package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +33 -33
  64. package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +9 -9
  65. package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +3 -3
  66. package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +5 -5
  67. package/dist/types/components/DictionaryFieldEditor/index.d.ts +2 -1
  68. package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +31 -31
  69. package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
  70. package/dist/types/components/EditableField/EditableFieldInput.d.ts.map +1 -1
  71. package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +3 -3
  72. package/dist/types/components/Form/FormBase.d.ts +2 -2
  73. package/dist/types/components/Form/FormField.d.ts +2 -2
  74. package/dist/types/components/Form/FormField.d.ts.map +1 -1
  75. package/dist/types/components/Form/FormItem.d.ts +2 -2
  76. package/dist/types/components/Form/FormItem.d.ts.map +1 -1
  77. package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts +2 -2
  78. package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts.map +1 -1
  79. package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts +2 -2
  80. package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts.map +1 -1
  81. package/dist/types/components/Form/elements/FormElement.d.ts +2 -2
  82. package/dist/types/components/Form/elements/FormElement.d.ts.map +1 -1
  83. package/dist/types/components/Form/elements/MultiselectElement.d.ts +2 -2
  84. package/dist/types/components/Form/elements/MultiselectElement.d.ts.map +1 -1
  85. package/dist/types/components/Form/elements/OTPElement.d.ts +2 -2
  86. package/dist/types/components/Form/elements/SelectElement.d.ts +2 -2
  87. package/dist/types/components/Form/elements/SelectElement.d.ts.map +1 -1
  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/code.content.d.ts +5 -5
  92. package/dist/types/components/IDE/copyCode.content.d.ts +5 -5
  93. package/dist/types/components/IDE/selectors.content.d.ts +7 -7
  94. package/dist/types/components/Input/Checkbox.d.ts +3 -3
  95. package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
  96. package/dist/types/components/Input/Input.d.ts +2 -2
  97. package/dist/types/components/Input/OTPInput.d.ts +6 -6
  98. package/dist/types/components/Input/OTPInput.d.ts.map +1 -1
  99. package/dist/types/components/Input/SearchInput.d.ts +2 -2
  100. package/dist/types/components/Input/SearchInput.d.ts.map +1 -1
  101. package/dist/types/components/Link/Link.d.ts +5 -5
  102. package/dist/types/components/Loader/index.content.d.ts +3 -3
  103. package/dist/types/components/Loader/index.content.d.ts.map +1 -1
  104. package/dist/types/components/Loader/spinner.d.ts +2 -2
  105. package/dist/types/components/Loader/spinner.d.ts.map +1 -1
  106. package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -17
  107. package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts.map +1 -1
  108. package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +13 -13
  109. package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -1
  110. package/dist/types/components/MarkDownRender/MarkDownRender.d.ts.map +1 -1
  111. package/dist/types/components/MaxWidthSmoother/index.d.ts +2 -2
  112. package/dist/types/components/Modal/Modal.d.ts.map +1 -1
  113. package/dist/types/components/Navbar/Burger.d.ts +2 -2
  114. package/dist/types/components/Navbar/Burger.d.ts.map +1 -1
  115. package/dist/types/components/Navbar/DesktopNavbar.d.ts +2 -2
  116. package/dist/types/components/Navbar/DesktopNavbar.d.ts.map +1 -1
  117. package/dist/types/components/Navbar/MobileNavbar.d.ts +2 -2
  118. package/dist/types/components/Navbar/MobileNavbar.d.ts.map +1 -1
  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 +4 -4
  122. package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
  123. package/dist/types/components/Pagination/pagination.content.d.ts +11 -11
  124. package/dist/types/components/RightDrawer/RightDrawer.d.ts +7 -150
  125. package/dist/types/components/RightDrawer/RightDrawer.d.ts.map +1 -1
  126. package/dist/types/components/RightDrawer/rightDrawer.content.d.ts +93 -0
  127. package/dist/types/components/RightDrawer/rightDrawer.content.d.ts.map +1 -0
  128. package/dist/types/components/Select/Select.d.ts +3 -3
  129. package/dist/types/components/Select/Select.d.ts.map +1 -1
  130. package/dist/types/components/SocialNetworks/index.d.ts +2 -2
  131. package/dist/types/components/SocialNetworks/index.d.ts.map +1 -1
  132. package/dist/types/components/SwitchSelector/index.d.ts +7 -7
  133. package/dist/types/components/SwitchSelector/index.d.ts.map +1 -1
  134. package/dist/types/components/Tab/Tab.d.ts +6 -6
  135. package/dist/types/components/Tab/Tab.d.ts.map +1 -1
  136. package/dist/types/components/Tab/TabContext.d.ts +2 -2
  137. package/dist/types/components/Tab/TabContext.d.ts.map +1 -1
  138. package/dist/types/components/TabSelector/TabSelector.d.ts +5 -5
  139. package/dist/types/components/TabSelector/TabSelector.d.ts.map +1 -1
  140. package/dist/types/components/Table/table.content.d.ts +3 -3
  141. package/dist/types/components/Table/table.content.d.ts.map +1 -1
  142. package/dist/types/components/Tag/index.d.ts +3 -3
  143. package/dist/types/components/Terminal/terminal.content.d.ts +5 -5
  144. package/dist/types/components/Terminal/terminal.content.d.ts.map +1 -1
  145. package/dist/types/components/Toaster/Toast.d.ts +2 -2
  146. package/dist/types/components/Toaster/Toaster.d.ts +2 -2
  147. package/dist/types/components/Toaster/Toaster.d.ts.map +1 -1
  148. package/dist/types/components/index.d.ts +2 -1
  149. package/package.json +14 -14
@@ -1,13 +1,13 @@
1
1
  import { FC, HTMLAttributes } from "react";
2
- import * as class_variance_authority_types14 from "class-variance-authority/types";
2
+ import * as class_variance_authority_types2 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?: "text" | "primary" | "secondary" | "destructive" | "neutral";
9
- variant?: "default" | "bordered" | "ghost";
10
- } & class_variance_authority_types14.ClassProp) => string;
8
+ color?: "primary" | "secondary" | "neutral" | "text" | "destructive";
9
+ variant?: "default" | "ghost" | "bordered";
10
+ } & class_variance_authority_types2.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":";;;;;cAgBa,0BA6Ba;;;EA7Bb,OAAA,CAAA,EAAA,SAAA,GA2BZ,UAAA,GAAA,OAAA;AAED,CAAA,GAFC,gCAAA,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
+ {"version":3,"file":"Pagination.d.ts","names":[],"sources":["../../../../src/components/Pagination/Pagination.tsx"],"sourcesContent":[],"mappings":";;;;;cAgBa,0BA6Ba;;;EA7Bb,OAAA,CAAA,EAAA,SAAA,GA2BZ,OAAA,GAAA,UAAA;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 _intlayer_types397 from "@intlayer/types";
1
+ import * as _intlayer_types37 from "@intlayer/types";
2
2
  import * as _intlayer_core0 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: _intlayer_types397.TypedNodeModel<_intlayer_types397.NodeType.Translation, {
8
+ numberItemsSelector: _intlayer_types37.TypedNodeModel<_intlayer_types37.NodeType.Translation, {
9
9
  en: string;
10
10
  fr: string;
11
11
  es: string;
@@ -24,7 +24,7 @@ declare const paginationContent: {
24
24
  id: string;
25
25
  vi: string;
26
26
  }, {
27
- nodeType: "translation" | _intlayer_types397.NodeType.Translation;
27
+ nodeType: _intlayer_types37.NodeType.Translation | "translation";
28
28
  } & {
29
29
  translation: {
30
30
  en: string;
@@ -46,7 +46,7 @@ declare const paginationContent: {
46
46
  vi: string;
47
47
  };
48
48
  }>;
49
- showingResults: _intlayer_core0.InsertionContent<_intlayer_types397.TypedNodeModel<_intlayer_types397.NodeType.Translation, {
49
+ showingResults: _intlayer_core0.InsertionContent<_intlayer_types37.TypedNodeModel<_intlayer_types37.NodeType.Translation, {
50
50
  ar: string;
51
51
  de: string;
52
52
  en: string;
@@ -65,7 +65,7 @@ declare const paginationContent: {
65
65
  vi: string;
66
66
  zh: string;
67
67
  }, {
68
- nodeType: "translation" | _intlayer_types397.NodeType.Translation;
68
+ nodeType: _intlayer_types37.NodeType.Translation | "translation";
69
69
  } & {
70
70
  translation: {
71
71
  ar: string;
@@ -87,7 +87,7 @@ declare const paginationContent: {
87
87
  zh: string;
88
88
  };
89
89
  }>>;
90
- selectPageSize: _intlayer_types397.TypedNodeModel<_intlayer_types397.NodeType.Translation, {
90
+ selectPageSize: _intlayer_types37.TypedNodeModel<_intlayer_types37.NodeType.Translation, {
91
91
  en: string;
92
92
  fr: string;
93
93
  es: string;
@@ -106,7 +106,7 @@ declare const paginationContent: {
106
106
  id: string;
107
107
  vi: string;
108
108
  }, {
109
- nodeType: "translation" | _intlayer_types397.NodeType.Translation;
109
+ nodeType: _intlayer_types37.NodeType.Translation | "translation";
110
110
  } & {
111
111
  translation: {
112
112
  en: string;
@@ -128,7 +128,7 @@ declare const paginationContent: {
128
128
  vi: string;
129
129
  };
130
130
  }>;
131
- goToNextPage: _intlayer_types397.TypedNodeModel<_intlayer_types397.NodeType.Translation, {
131
+ goToNextPage: _intlayer_types37.TypedNodeModel<_intlayer_types37.NodeType.Translation, {
132
132
  en: string;
133
133
  fr: string;
134
134
  es: string;
@@ -147,7 +147,7 @@ declare const paginationContent: {
147
147
  id: string;
148
148
  vi: string;
149
149
  }, {
150
- nodeType: "translation" | _intlayer_types397.NodeType.Translation;
150
+ nodeType: _intlayer_types37.NodeType.Translation | "translation";
151
151
  } & {
152
152
  translation: {
153
153
  en: string;
@@ -169,7 +169,7 @@ declare const paginationContent: {
169
169
  vi: string;
170
170
  };
171
171
  }>;
172
- goToPreviousPage: _intlayer_types397.TypedNodeModel<_intlayer_types397.NodeType.Translation, {
172
+ goToPreviousPage: _intlayer_types37.TypedNodeModel<_intlayer_types37.NodeType.Translation, {
173
173
  en: string;
174
174
  fr: string;
175
175
  es: string;
@@ -188,7 +188,7 @@ declare const paginationContent: {
188
188
  id: string;
189
189
  vi: string;
190
190
  }, {
191
- nodeType: "translation" | _intlayer_types397.NodeType.Translation;
191
+ nodeType: _intlayer_types37.NodeType.Translation | "translation";
192
192
  } & {
193
193
  translation: {
194
194
  en: string;
@@ -10,7 +10,7 @@ import { FC, ReactNode } from "react";
10
10
  type BackButtonProps = {
11
11
  /** Callback function triggered when the back button is clicked */
12
12
  onBack: () => void;
13
- /** Optional custom text for the back button. Defaults to "Go back" if not provided */
13
+ /** Optional custom text for the back buttoDefaults to "Go back" if not provided */
14
14
  text?: string;
15
15
  };
16
16
  /**
@@ -21,183 +21,40 @@ type BackButtonProps = {
21
21
  type RightDrawerProps = {
22
22
  /**
23
23
  * Title displayed in the drawer header
24
- * @example
25
- * ```tsx
26
- * <RightDrawer title="User Settings" identifier="settings">
27
- * Content here
28
- * </RightDrawer>
29
- * ```
30
24
  */
31
25
  title?: ReactNode;
32
26
  /**
33
- * Unique identifier for the drawer instance. Required for store management
34
- * @example
35
- * ```tsx
36
- * <RightDrawer identifier="user-profile" title="Profile">
37
- * Profile content
38
- * </RightDrawer>
39
- * ```
27
+ * Unique identifier for the drawer instancRequired for store management
40
28
  */
41
29
  identifier: string;
42
30
  /** The content to be displayed inside the drawer */
43
31
  children?: ReactNode;
44
32
  /**
45
33
  * Optional header content displayed below the title
46
- * @example
47
- * ```tsx
48
- * <RightDrawer
49
- * title="Settings"
50
- * header={<div className="text-sm opacity-80">Configure your preferences</div>}
51
- * identifier="settings"
52
- * >
53
- * Settings content
54
- * </RightDrawer>
55
- * ```
56
34
  */
57
35
  header?: ReactNode;
36
+ /**
37
+ * Optional footer content pinned to the bottom of the drawer
38
+ */
39
+ footer?: ReactNode;
58
40
  /**
59
41
  * Whether the drawer should close when clicking outside of it
60
42
  * @default true
61
- * @example
62
- * ```tsx
63
- * <RightDrawer closeOnOutsideClick={false} identifier="persistent">
64
- * This drawer requires explicit close action
65
- * </RightDrawer>
66
- * ```
67
43
  */
68
44
  closeOnOutsideClick?: boolean;
69
45
  /**
70
46
  * Configuration for an optional back button in the drawer header
71
- * @example
72
- * ```tsx
73
- * <RightDrawer
74
- * backButton={{
75
- * text: "Back to List",
76
- * onBack: () => navigate('/list')
77
- * }}
78
- * identifier="detail-view"
79
- * >
80
- * Detail content
81
- * </RightDrawer>
82
- * ```
83
47
  */
84
48
  backButton?: BackButtonProps;
85
49
  /**
86
- * External control for the open state. When provided, overrides internal store state
87
- * @example
88
- * ```tsx
89
- * const [isOpen, setIsOpen] = useState(false);
90
- *
91
- * <RightDrawer
92
- * isOpen={isOpen}
93
- * onClose={() => setIsOpen(false)}
94
- * identifier="controlled"
95
- * >
96
- * Controlled drawer content
97
- * </RightDrawer>
98
- * ```
50
+ * External control for the open statWhen provided, overrides internal store state
99
51
  */
100
52
  isOpen?: boolean;
101
53
  /**
102
54
  * Callback function triggered when the drawer is closed
103
- * @example
104
- * ```tsx
105
- * <RightDrawer
106
- * onClose={() => console.log('Drawer closed')}
107
- * identifier="tracked"
108
- * >
109
- * Content with close tracking
110
- * </RightDrawer>
111
- * ```
112
55
  */
113
56
  onClose?: () => void;
114
57
  };
115
- /**
116
- * RightDrawer - A slide-out drawer panel that appears from the right side of the screen
117
- *
118
- * A versatile drawer component that provides an overlay panel for displaying secondary content,
119
- * forms, details, or navigation. Features responsive design that adapts to mobile devices,
120
- * configurable close behavior, and integrated state management through Zustand store.
121
- *
122
- * ## Key Features
123
- * - **Responsive Design**: Full-width on mobile, fixed 400px width on desktop
124
- * - **State Management**: Built-in Zustand store for managing multiple drawer instances
125
- * - **Accessibility**: Proper ARIA attributes, keyboard navigation, and focus management
126
- * - **Flexible Layout**: Customizable header, title, and content areas
127
- * - **Click Outside**: Configurable outside click detection for auto-closing
128
- * - **Scroll Management**: Automatic body scroll blocking when open
129
- *
130
- * ## Use Cases
131
- * - Navigation menus and sidebars
132
- * - Detail panels and forms
133
- * - Settings and configuration interfaces
134
- * - Shopping carts and checkout processes
135
- * - User profiles and account management
136
- * - Multi-step workflows and wizards
137
- *
138
- * ## Accessibility
139
- * - **Focus Management**: Traps focus within the drawer when open
140
- * - **Keyboard Navigation**: Escape key closes the drawer
141
- * - **Screen Reader Support**: Proper ARIA labels and announcements
142
- * - **Touch Support**: Mobile-optimized touch interactions
143
- *
144
- * ## State Management
145
- * The component uses a Zustand store (`useRightDrawerStore`) to manage drawer state:
146
- * - Multiple drawers can be managed simultaneously using unique identifiers
147
- * - External components can open/close drawers using the store
148
- * - Supports both controlled (via props) and uncontrolled (via store) patterns
149
- *
150
- * @example
151
- * Basic usage with store management:
152
- * ```tsx
153
- * // Opening the drawer from another component
154
- * const { open } = useRightDrawerStore();
155
- *
156
- * <button onClick={() => open('user-menu')}>
157
- * Open Menu
158
- * </button>
159
- *
160
- * <RightDrawer identifier="user-menu" title="User Menu">
161
- * <nav>Navigation items here</nav>
162
- * </RightDrawer>
163
- * ```
164
- *
165
- * @example
166
- * Controlled drawer with external state:
167
- * ```tsx
168
- * const [showDrawer, setShowDrawer] = useState(false);
169
- *
170
- * <RightDrawer
171
- * identifier="controlled-drawer"
172
- * title="Settings"
173
- * isOpen={showDrawer}
174
- * onClose={() => setShowDrawer(false)}
175
- * closeOnOutsideClick={false}
176
- * >
177
- * <SettingsForm onSave={() => setShowDrawer(false)} />
178
- * </RightDrawer>
179
- * ```
180
- *
181
- * @example
182
- * Complex drawer with back button and header:
183
- * ```tsx
184
- * <RightDrawer
185
- * identifier="product-detail"
186
- * title="Product Details"
187
- * header={
188
- * <div className="text-sm text-gray-600">
189
- * SKU: {product.sku} | Stock: {product.stock}
190
- * </div>
191
- * }
192
- * backButton={{
193
- * text: "Back to Catalog",
194
- * onBack: () => navigate('/catalog')
195
- * }}
196
- * >
197
- * <ProductDetailView product={product} />
198
- * </RightDrawer>
199
- * ```
200
- */
201
58
  declare const RightDrawer: FC<RightDrawerProps>;
202
59
  //#endregion
203
60
  export { RightDrawer };
@@ -1 +1 @@
1
- {"version":3,"file":"RightDrawer.d.ts","names":[],"sources":["../../../../src/components/RightDrawer/RightDrawer.tsx"],"sourcesContent":[],"mappings":";;;;;;AASe;AAcK;;KAAf,eAAA,GAoCQ;EAeF;EA6BI,MAAA,EAAA,GAAA,GAAA,IAAA;EAAe;EAwHjB,IAAA,CAAA,EAAA,MAAA;;;;;;;KA5LR,gBAAA;;;;;;;;;;UAUK;;;;;;;;;;;;aAcG;;;;;;;;;;;;;;WAeF;;;;;;;;;;;;;;;;;;;;;;;;;;;eA6BI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwHF,aAAa,GAAG"}
1
+ {"version":3,"file":"RightDrawer.d.ts","names":[],"sources":["../../../../src/components/RightDrawer/RightDrawer.tsx"],"sourcesContent":[],"mappings":";;;;;;AAUe;AAiBK;;KAAf,eAAA,GAwBQ;EAKF;EAKA,MAAA,EAAA,GAAA,GAAA,IAAA;EAWI;EAAe,IAAA,CAAA,EAAA,MAAA;AAa9B,CAAA;;;;;;KA9CK,gBAAA;;;;UAIK;;;;;;aAQG;;;;WAKF;;;;WAKA;;;;;;;;;eAWI;;;;;;;;;;cAaF,aAAa,GAAG"}
@@ -0,0 +1,93 @@
1
+ import * as _intlayer_types52 from "@intlayer/types";
2
+
3
+ //#region src/components/RightDrawer/rightDrawer.content.d.ts
4
+ declare const rightDrawerContent: {
5
+ key: string;
6
+ content: {
7
+ goBack: _intlayer_types52.TypedNodeModel<_intlayer_types52.NodeType.Translation, {
8
+ en: string;
9
+ 'en-GB': string;
10
+ ru: string;
11
+ ja: string;
12
+ fr: string;
13
+ ko: string;
14
+ zh: string;
15
+ es: string;
16
+ de: string;
17
+ ar: string;
18
+ it: string;
19
+ pt: string;
20
+ hi: string;
21
+ tr: string;
22
+ pl: string;
23
+ id: string;
24
+ vi: string;
25
+ }, {
26
+ nodeType: _intlayer_types52.NodeType.Translation | "translation";
27
+ } & {
28
+ translation: {
29
+ en: string;
30
+ 'en-GB': string;
31
+ ru: string;
32
+ ja: string;
33
+ fr: string;
34
+ ko: string;
35
+ zh: string;
36
+ es: string;
37
+ de: string;
38
+ ar: string;
39
+ it: string;
40
+ pt: string;
41
+ hi: string;
42
+ tr: string;
43
+ pl: string;
44
+ id: string;
45
+ vi: string;
46
+ };
47
+ }>;
48
+ closeDrawer: _intlayer_types52.TypedNodeModel<_intlayer_types52.NodeType.Translation, {
49
+ en: string;
50
+ 'en-GB': string;
51
+ ru: string;
52
+ ja: string;
53
+ fr: string;
54
+ ko: string;
55
+ zh: string;
56
+ es: string;
57
+ de: string;
58
+ ar: string;
59
+ it: string;
60
+ pt: string;
61
+ hi: string;
62
+ tr: string;
63
+ pl: string;
64
+ id: string;
65
+ vi: string;
66
+ }, {
67
+ nodeType: _intlayer_types52.NodeType.Translation | "translation";
68
+ } & {
69
+ translation: {
70
+ en: string;
71
+ 'en-GB': string;
72
+ ru: string;
73
+ ja: string;
74
+ fr: string;
75
+ ko: string;
76
+ zh: string;
77
+ es: string;
78
+ de: string;
79
+ ar: string;
80
+ it: string;
81
+ pt: string;
82
+ hi: string;
83
+ tr: string;
84
+ pl: string;
85
+ id: string;
86
+ vi: string;
87
+ };
88
+ }>;
89
+ };
90
+ };
91
+ //#endregion
92
+ export { rightDrawerContent as default };
93
+ //# sourceMappingURL=rightDrawer.content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rightDrawer.content.d.ts","names":[],"sources":["../../../../src/components/RightDrawer/rightDrawer.content.ts"],"sourcesContent":[],"mappings":";;;cAEM;;;IAAA,MAAA,kCA0CgB,yCAAA"}
@@ -1,4 +1,4 @@
1
- import * as react2 from "react";
1
+ import * as react16 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: react2.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & react2.RefAttributes<HTMLDivElement>>;
20
- declare const SelectValue: react2.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & react2.RefAttributes<HTMLSpanElement>>;
19
+ declare const SelectGroup: react16.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & react16.RefAttributes<HTMLDivElement>>;
20
+ declare const SelectValue: react16.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & react16.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,MAAA,CAAA,yBACA,CADA,eAAA,CAAA,gBACA,GADA,MAAA,CAAA,aACA,CADA,cACA,CAAA,CAAA;cAAX,WAAW,EAAA,MAAA,CAAA,yBAAA,CAAA,eAAA,CAAA,gBAAA,GAAA,MAAA,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"}
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 react_jsx_runtime6 from "react/jsx-runtime";
10
+ import * as react_jsx_runtime20 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: react_jsx_runtime6.JSX.Element;
15
+ component: react_jsx_runtime20.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,kBAAA,CAAA,GAAA,CAAA;;;KAEI,mBAAA;8BACyB,4BAA4B;IACtD,kBACF,qBAAqB,oBACrB;cA4BW;;;GAGV,wBAAmB"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/SocialNetworks/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;;;cAeM;;aAyCL,mBAAA,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 class_variance_authority_types4 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
- import * as react_jsx_runtime9 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime19 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/SwitchSelector/index.d.ts
7
7
  type SwitchSelectorChoice<T = boolean> = {
@@ -28,17 +28,17 @@ declare enum SwitchSelectorColor {
28
28
  TEXT = "text",
29
29
  }
30
30
  declare const switchSelectorVariant: (props?: {
31
- color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text";
31
+ color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark";
32
32
  disabled?: boolean;
33
- } & class_variance_authority_types4.ClassProp) => string;
33
+ } & class_variance_authority_types9.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?: "md" | "sm" | "lg";
41
- } & class_variance_authority_types4.ClassProp) => string;
40
+ size?: "md" | "lg" | "sm";
41
+ } & class_variance_authority_types9.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>) => react_jsx_runtime9.JSX.Element;
69
+ }: SwitchSelectorProps<T>) => react_jsx_runtime19.JSX.Element;
70
70
  //#endregion
71
71
  export { SwitchSelector, SwitchSelectorChoice, SwitchSelectorChoices, SwitchSelectorColor, SwitchSelectorProps, SwitchSelectorSize };
72
72
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/SwitchSelector/index.tsx"],"sourcesContent":[],"mappings":";;;;;;KAaY;WACD;SACF;IACL,eAAe;AAHP,KAIA,qBAJoB,CAAA,CAAA,CAAA,GAIO,oBAJP,CAI4B,CAJ5B,CAAA,EAAA;AACrB,KAUC,mBAVD,CAAA,IAAA,OAAA,CAAA,GAAA;EACF,OAAA,CAAA,EAUG,qBAVH,CAUyB,CAVzB,CAAA;EACU,KAAA,CAAA,EAUT,CAVS;EAAf,YAAA,CAAA,EAWa,CAXb;EAAc,QAAA,CAAA,EAAA,CAAA,MAAA,EAYI,CAZJ,EAAA,GAAA,IAAA;EACN,SAAA,CAAA,EAAA,MAAA;EAOA,SAAA,CAAA,EAAA,OAAA;EACsB,QAAA,CAAA,EAAA,OAAA;CAAtB,GAOR,YAPQ,CAAA,OAOY,qBAPZ,CAAA,GAQV,YARU,CAAA,OAQU,aARV,CAAA;AACF,aASE,mBAAA;EARK,OAAA,GAAA,SAAA;EACK,SAAA,GAAA,WAAA;EAIE,WAAA,GAAA,aAAA;EAApB,OAAA,GAAA,SAAA;EACkB,KAAA,GAAA,OAAA;EAApB,IAAA,GAAA,MAAA;EAAY,IAAA,GAAA,MAAA;AAEd;AAQC,cAEK,qBAwBL,EAAA,CAAA,KAsKA,CAtKA,EAAA;EAEW,KAAA,CAAA,EAAA,SAAA,GAAA,WAAkB,GAAA,aAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA,GAAA,MAAA;EAMxB,QAAA,CAAA,EAAA,OAcL;AA2CD,CAAA,GAjEC,+BAAA,CAAA,SAsKA,EAAA,GAAA,MAAA;AArGkC,aA/DvB,kBAAA;EA+DuB,EAAA,GAAA,IAAA;EAAA,EAAA,GAAA,IAAA;EAAA,EAAA,GAAA,IAAA;;cAzD7B,aAyD6B,EAAA,CAAA,KAAA,CAAA,EAAA;EAAA,IAAA,CAAA,EAAA,IAAA,GAAA,IAAA,GAAA,IAAA;CAAA,GA3ClC,+BAAA,CAAA,SA2CkC,EAAA,GAAA,MAAA;;;;;;;;;;;;;;;;;;cAAtB;;;;;;;;;;GAUV,oBAAoB,OAAE,kBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/SwitchSelector/index.tsx"],"sourcesContent":[],"mappings":";;;;;;KAaY;WACD;SACF;IACL,eAAe;AAHP,KAIA,qBAJoB,CAAA,CAAA,CAAA,GAIO,oBAJP,CAI4B,CAJ5B,CAAA,EAAA;AACrB,KAUC,mBAVD,CAAA,IAAA,OAAA,CAAA,GAAA;EACF,OAAA,CAAA,EAUG,qBAVH,CAUyB,CAVzB,CAAA;EACU,KAAA,CAAA,EAUT,CAVS;EAAf,YAAA,CAAA,EAWa,CAXb;EAAc,QAAA,CAAA,EAAA,CAAA,MAAA,EAYI,CAZJ,EAAA,GAAA,IAAA;EACN,SAAA,CAAA,EAAA,MAAA;EAOA,SAAA,CAAA,EAAA,OAAA;EACsB,QAAA,CAAA,EAAA,OAAA;CAAtB,GAOR,YAPQ,CAAA,OAOY,qBAPZ,CAAA,GAQV,YARU,CAAA,OAQU,aARV,CAAA;AACF,aASE,mBAAA;EARK,OAAA,GAAA,SAAA;EACK,SAAA,GAAA,WAAA;EAIE,WAAA,GAAA,aAAA;EAApB,OAAA,GAAA,SAAA;EACkB,KAAA,GAAA,OAAA;EAApB,IAAA,GAAA,MAAA;EAAY,IAAA,GAAA,MAAA;AAEd;AAQC,cAEK,qBAwBL,EAAA,CAAA,KAsKA,CAtKA,EAAA;EAEW,KAAA,CAAA,EAAA,MAAA,GAAA,SAAkB,GAAA,WAAA,GAAA,aAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA;EAMxB,QAAA,CAAA,EAAA,OAcL;AA2CD,CAAA,GAjEC,+BAAA,CAAA,SAsKA,EAAA,GAAA,MAAA;AArGkC,aA/DvB,kBAAA;EA+DuB,EAAA,GAAA,IAAA;EAAA,EAAA,GAAA,IAAA;EAAA,EAAA,GAAA,IAAA;;cAzD7B,aAyD6B,EAAA,CAAA,KAAA,CAAA,EAAA;EAAA,IAAA,CAAA,EAAA,IAAA,GAAA,IAAA,GAAA,IAAA;CAAA,GA3ClC,+BAAA,CAAA,SA2CkC,EAAA,GAAA,MAAA;;;;;;;;;;;;;;;;;;cAAtB;;;;;;;;;;GAUV,oBAAoB,OAAE,mBAAA,CAAA,GAAA,CAAA"}
@@ -1,12 +1,12 @@
1
1
  import { HTMLAttributes, ReactNode } from "react";
2
- import * as class_variance_authority_types6 from "class-variance-authority/types";
2
+ import * as class_variance_authority_types12 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
- import * as react_jsx_runtime11 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime21 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/Tab/Tab.d.ts
7
7
  declare const tabContainerVariant: (props?: {
8
- variant?: "default" | "bordered" | "ghost";
9
- } & class_variance_authority_types6.ClassProp) => string;
8
+ variant?: "default" | "ghost" | "bordered";
9
+ } & class_variance_authority_types12.ClassProp) => string;
10
10
  type TabProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof tabContainerVariant> & {
11
11
  defaultTab?: string;
12
12
  group?: string;
@@ -25,12 +25,12 @@ declare const Tab: (({
25
25
  children,
26
26
  className,
27
27
  ...props
28
- }: TabProps) => react_jsx_runtime11.JSX.Element) & {
28
+ }: TabProps) => react_jsx_runtime21.JSX.Element) & {
29
29
  Item: {
30
30
  ({
31
31
  children,
32
32
  ...props
33
- }: TabItemProps): react_jsx_runtime11.JSX.Element;
33
+ }: TabItemProps): react_jsx_runtime21.JSX.Element;
34
34
  displayName: string;
35
35
  };
36
36
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Tab.d.ts","names":[],"sources":["../../../../src/components/Tab/Tab.tsx"],"sourcesContent":[],"mappings":";;;;;;cA0BM;;IAcL,+BAAA,CAAA;KAEW,QAAA,GAAW,eAAe,kBACpC,oBAAoB;EAjBhB,UAAA,CAAA,EAAA,MAAA;EAgBM,KAAA,CAAA,EAAA,MAAQ;EAAkB,QAAA,EAIxB,SAJwB;CAAf;AACD,KAMV,YAAA,GAAe,cANL,CAMoB,cANpB,CAAA,GAAA;EAApB,KAAA,EAAA,MAAA;EAGY,KAAA,EAAA,MAAA;EAAS,QAAA,CAAA,EAAA,OAAA;EAGX,QAAA,EAIA,SAJY;CAAkB;AAAf,cAmLd,GAnLc,EAAA,CAAA,CAAA;EAAA,UAAA;EAAA,KAAA;EAAA,OAAA;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA0CxB,QA1CwB,EAAA,GA0ChB,mBAAA,CAAA,GAAA,CAAA,OA1CgB,CAAA,GAAA;EAIf,IAAA,EAAA;IAAS,CAAA;MAAA,QAAA;MAAA,GAAA;IAAA,CAAA,EAOoB,YAPpB,CAAA,EAOgC,mBAAA,CAAA,GAAA,CAAA,OAPhC;IA+KR,WAEX,EAAA,MAAA;EAFc,CAAA;CAAA"}
1
+ {"version":3,"file":"Tab.d.ts","names":[],"sources":["../../../../src/components/Tab/Tab.tsx"],"sourcesContent":[],"mappings":";;;;;;cA0BM;;IAcL,gCAAA,CAAA;KAEW,QAAA,GAAW,eAAe,kBACpC,oBAAoB;EAjBhB,UAAA,CAAA,EAAA,MAAA;EAgBM,KAAA,CAAA,EAAA,MAAQ;EAAkB,QAAA,EAIxB,SAJwB;CAAf;AACD,KAMV,YAAA,GAAe,cANL,CAMoB,cANpB,CAAA,GAAA;EAApB,KAAA,EAAA,MAAA;EAGY,KAAA,EAAA,MAAA;EAAS,QAAA,CAAA,EAAA,OAAA;EAGX,QAAA,EAIA,SAJY;CAAkB;AAAf,cAmLd,GAnLc,EAAA,CAAA,CAAA;EAAA,UAAA;EAAA,KAAA;EAAA,OAAA;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA0CxB,QA1CwB,EAAA,GA0ChB,mBAAA,CAAA,GAAA,CAAA,OA1CgB,CAAA,GAAA;EAIf,IAAA,EAAA;IAAS,CAAA;MAAA,QAAA;MAAA,GAAA;IAAA,CAAA,EAOoB,YAPpB,CAAA,EAOgC,mBAAA,CAAA,GAAA,CAAA,OAPhC;IA+KR,WAEX,EAAA,MAAA;EAFc,CAAA;CAAA"}
@@ -1,4 +1,4 @@
1
- import * as react6 from "react";
1
+ import * as react21 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: react6.Context<TabContextValue>;
12
+ declare const TabContext: react21.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,MAAA,CAAA,OANN,CAMM,eANN,CAAA;;AAMjB;AAQA;AAKa,cALA,aAKgB,EAAA,GAAA,GALH,eAKE;;;;cAAf,aAAa,GAAG"}
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,8 +1,8 @@
1
1
  import { ItemSelectorOrientation } from "../../hooks/useItemSelector.js";
2
2
  import { HTMLAttributes, ReactElement } from "react";
3
- import * as class_variance_authority_types3 from "class-variance-authority/types";
3
+ import * as class_variance_authority_types13 from "class-variance-authority/types";
4
4
  import { VariantProps } from "class-variance-authority";
5
- import * as react_jsx_runtime7 from "react/jsx-runtime";
5
+ import * as react_jsx_runtime23 from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/TabSelector/TabSelector.d.ts
8
8
  declare enum TabSelectorColor {
@@ -15,8 +15,8 @@ declare enum TabSelectorColor {
15
15
  TEXT = "text",
16
16
  }
17
17
  declare const tabSelectorVariant: (props?: {
18
- color?: "text" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark";
19
- } & class_variance_authority_types3.ClassProp) => string;
18
+ color?: "dark" | "primary" | "secondary" | "neutral" | "text" | "destructive" | "light";
19
+ } & class_variance_authority_types13.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>) => react_jsx_runtime7.JSX.Element;
57
+ }: TabSelectorProps<T>) => react_jsx_runtime23.JSX.Element;
58
58
  //#endregion
59
59
  export { TabSelector, TabSelectorColor, TabSelectorItemProps, TabSelectorProps };
60
60
  //# sourceMappingURL=TabSelector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabSelector.d.ts","names":[],"sources":["../../../../src/components/TabSelector/TabSelector.tsx"],"sourcesContent":[],"mappings":";;;;;;;aAiBY,gBAAA;;;;EAAA,OAAA,GAAA,SAAgB;EAUtB,KAAA,GAAA,OAAA;EA4CM,IAAA,GAAA,MAAA;EAIA,IAAA,GAAA,MAAA;;cAhDN,kBAiDe,EAAA,CAAA,KACH,CADG,EAAA;EAAb,KAAA,CAAA,EAAA,MAAA,GAAA,SAAA,GAAA,WAAA,GAAA,aAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA;CACU,GAhCjB,+BAAA,CAAA,SAgCiB,EAAA,GAAA,MAAA;AACM,KAPZ,oBAAA,GAAuB,cAOX,CAP0B,WAO1B,CAAA,GAAA;EAER,GAAA,EAAA,MAAA,GAAA,MAAA;CACG;AAAf,KANQ,gBAMR,CAAA,UANmC,oBAMnC,CAAA,GAAA;EACuB,IAAA,EANnB,YAMmB,CANN,CAMM,CAAA,EAAA;EAApB,cAAA,EALW,CAKX,CAAA,KAAA,CAAA;EAAL,UAAA,CAAA,EAAA,CAAA,MAAA,EAJsB,CAItB,CAAA,KAAA,CAAA,EAAA,GAAA,IAAA;EACU,SAAA,CAAA,EAAA,OAAA;EAAsB,WAAA,CAAA,EAHlB,uBAGkB;CAAgB,GAF9C,cAE8C,CAF/B,WAE+B,CAAA,GADhD,IACgD,CAD3C,YAC2C,CAAA,OADvB,kBACuB,CAAA,EAAA,OAAA,CAAA,GAAA;EAoBrC,KAAA,CAAA,EApBD,gBAuFX,GAAA,GAvFiC,gBAuFjC,EAAA;CAnEqC;;;;;;;;;;;;;;;;;;cAAzB,wBAAyB;;;;;;;;GAQnC,iBAAiB,OAAE,kBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"TabSelector.d.ts","names":[],"sources":["../../../../src/components/TabSelector/TabSelector.tsx"],"sourcesContent":[],"mappings":";;;;;;;aAiBY,gBAAA;;;;EAAA,OAAA,GAAA,SAAgB;EAUtB,KAAA,GAAA,OAAA;EA4CM,IAAA,GAAA,MAAA;EAIA,IAAA,GAAA,MAAA;;cAhDN,kBAiDe,EAAA,CAAA,KACH,CADG,EAAA;EAAb,KAAA,CAAA,EAAA,MAAA,GAAA,SAAA,GAAA,WAAA,GAAA,SAAA,GAAA,MAAA,GAAA,aAAA,GAAA,OAAA;CACU,GAhCjB,gCAAA,CAAA,SAgCiB,EAAA,GAAA,MAAA;AACM,KAPZ,oBAAA,GAAuB,cAOX,CAP0B,WAO1B,CAAA,GAAA;EAER,GAAA,EAAA,MAAA,GAAA,MAAA;CACG;AAAf,KANQ,gBAMR,CAAA,UANmC,oBAMnC,CAAA,GAAA;EACuB,IAAA,EANnB,YAMmB,CANN,CAMM,CAAA,EAAA;EAApB,cAAA,EALW,CAKX,CAAA,KAAA,CAAA;EAAL,UAAA,CAAA,EAAA,CAAA,MAAA,EAJsB,CAItB,CAAA,KAAA,CAAA,EAAA,GAAA,IAAA;EACU,SAAA,CAAA,EAAA,OAAA;EAAsB,WAAA,CAAA,EAHlB,uBAGkB;CAAgB,GAF9C,cAE8C,CAF/B,WAE+B,CAAA,GADhD,IACgD,CAD3C,YAC2C,CAAA,OADvB,kBACuB,CAAA,EAAA,OAAA,CAAA,GAAA;EAoBrC,KAAA,CAAA,EApBD,gBAuFX,GAAA,GAvFiC,gBAuFjC,EAAA;CAnEqC;;;;;;;;;;;;;;;;;;cAAzB,wBAAyB;;;;;;;;GAQnC,iBAAiB,OAAE,mBAAA,CAAA,GAAA,CAAA"}
@@ -1,10 +1,10 @@
1
- import * as _intlayer_types86 from "@intlayer/types";
1
+ import * as _intlayer_types397 from "@intlayer/types";
2
2
 
3
3
  //#region src/components/Table/table.content.d.ts
4
4
  declare const tableContent: {
5
5
  key: string;
6
6
  content: {
7
- show: _intlayer_types86.TypedNodeModel<_intlayer_types86.NodeType.Translation, {
7
+ show: _intlayer_types397.TypedNodeModel<_intlayer_types397.NodeType.Translation, {
8
8
  en: string;
9
9
  fr: string;
10
10
  es: string;
@@ -23,7 +23,7 @@ declare const tableContent: {
23
23
  id: string;
24
24
  vi: string;
25
25
  }, {
26
- nodeType: "translation" | _intlayer_types86.NodeType.Translation;
26
+ nodeType: _intlayer_types397.NodeType.Translation | "translation";
27
27
  } & {
28
28
  translation: {
29
29
  en: string;
@@ -1 +1 @@
1
- {"version":3,"file":"table.content.d.ts","names":[],"sources":["../../../../src/components/Table/table.content.ts"],"sourcesContent":[],"mappings":";;;cAEM;;;IAAA,IAAA,kCA2BgB,yCAAA"}
1
+ {"version":3,"file":"table.content.d.ts","names":[],"sources":["../../../../src/components/Table/table.content.ts"],"sourcesContent":[],"mappings":";;;cAEM;;;IAAA,IAAA,mCA2BgB,0CAAA"}