lsoft-ui 0.0.1

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 (159) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +82 -0
  3. package/dist/components/Accordion/CustomAccordionGroup.d.ts +10 -0
  4. package/dist/components/Accordion/CustomAccordionGroup.js +20 -0
  5. package/dist/components/Accordion/CustomAccordionItem.d.ts +12 -0
  6. package/dist/components/Accordion/CustomAccordionItem.js +5 -0
  7. package/dist/components/CustomAlertDialog.d.ts +8 -0
  8. package/dist/components/CustomAlertDialog.js +18 -0
  9. package/dist/components/CustomAutoComplete.d.ts +35 -0
  10. package/dist/components/CustomAutoComplete.js +141 -0
  11. package/dist/components/CustomBadge.d.ts +9 -0
  12. package/dist/components/CustomBadge.js +25 -0
  13. package/dist/components/CustomButton.d.ts +16 -0
  14. package/dist/components/CustomButton.js +18 -0
  15. package/dist/components/CustomCard.d.ts +11 -0
  16. package/dist/components/CustomCard.js +20 -0
  17. package/dist/components/CustomCheckBox.d.ts +12 -0
  18. package/dist/components/CustomCheckBox.js +26 -0
  19. package/dist/components/CustomCheckboxGroup.d.ts +21 -0
  20. package/dist/components/CustomCheckboxGroup.js +28 -0
  21. package/dist/components/CustomDrawer.d.ts +11 -0
  22. package/dist/components/CustomDrawer.js +36 -0
  23. package/dist/components/CustomIconButton.d.ts +7 -0
  24. package/dist/components/CustomIconButton.js +19 -0
  25. package/dist/components/CustomInput.d.ts +19 -0
  26. package/dist/components/CustomInput.js +32 -0
  27. package/dist/components/CustomInputNumber.d.ts +17 -0
  28. package/dist/components/CustomInputNumber.js +23 -0
  29. package/dist/components/CustomList.d.ts +22 -0
  30. package/dist/components/CustomList.js +27 -0
  31. package/dist/components/CustomLoadingCenterPage.d.ts +6 -0
  32. package/dist/components/CustomLoadingCenterPage.js +5 -0
  33. package/dist/components/CustomModal.d.ts +19 -0
  34. package/dist/components/CustomModal.js +83 -0
  35. package/dist/components/CustomModalNfe.d.ts +34 -0
  36. package/dist/components/CustomModalNfe.js +86 -0
  37. package/dist/components/CustomMultSelect.d.ts +28 -0
  38. package/dist/components/CustomMultSelect.js +51 -0
  39. package/dist/components/CustomMultipleInputs.d.ts +36 -0
  40. package/dist/components/CustomMultipleInputs.js +91 -0
  41. package/dist/components/CustomPopover.d.ts +21 -0
  42. package/dist/components/CustomPopover.js +19 -0
  43. package/dist/components/CustomRadioGroup.d.ts +32 -0
  44. package/dist/components/CustomRadioGroup.js +37 -0
  45. package/dist/components/CustomSelect.d.ts +20 -0
  46. package/dist/components/CustomSelect.js +25 -0
  47. package/dist/components/CustomSkeleton.d.ts +9 -0
  48. package/dist/components/CustomSkeleton.js +17 -0
  49. package/dist/components/CustomSwitch.d.ts +20 -0
  50. package/dist/components/CustomSwitch.js +15 -0
  51. package/dist/components/CustomTable.d.ts +51 -0
  52. package/dist/components/CustomTable.js +307 -0
  53. package/dist/components/CustomTabs.d.ts +27 -0
  54. package/dist/components/CustomTabs.js +100 -0
  55. package/dist/components/CustomTextarea.d.ts +14 -0
  56. package/dist/components/CustomTextarea.js +35 -0
  57. package/dist/components/CustomToast.d.ts +10 -0
  58. package/dist/components/CustomToast.js +6 -0
  59. package/dist/components/DatePicker/CustomDatePicker.d.ts +24 -0
  60. package/dist/components/DatePicker/CustomDatePicker.js +628 -0
  61. package/dist/components/Pagination/CustomPagination.d.ts +50 -0
  62. package/dist/components/Pagination/CustomPagination.js +159 -0
  63. package/dist/components/ThemeToggle.d.ts +1 -0
  64. package/dist/components/ThemeToggle.js +30 -0
  65. package/dist/components/index.d.ts +30 -0
  66. package/dist/components/index.js +30 -0
  67. package/dist/contexts/ThemeContext.d.ts +18 -0
  68. package/dist/contexts/ThemeContext.js +34 -0
  69. package/dist/examples/CodeViewer.d.ts +8 -0
  70. package/dist/examples/CodeViewer.js +7 -0
  71. package/dist/examples/FormikExample.d.ts +2 -0
  72. package/dist/examples/FormikExample.js +199 -0
  73. package/dist/examples/NumberInputExample.d.ts +2 -0
  74. package/dist/examples/NumberInputExample.js +198 -0
  75. package/dist/examples/ReactHookFormExample.d.ts +2 -0
  76. package/dist/examples/ReactHookFormExample.js +217 -0
  77. package/dist/examples/SimpleFormExample.d.ts +2 -0
  78. package/dist/examples/SimpleFormExample.js +216 -0
  79. package/dist/examples/TabsExample.d.ts +2 -0
  80. package/dist/examples/TabsExample.js +182 -0
  81. package/dist/examples/index.d.ts +6 -0
  82. package/dist/examples/index.js +6 -0
  83. package/dist/index.d.ts +32 -0
  84. package/dist/index.js +32 -0
  85. package/dist/providers/LsCKFrontProvider.d.ts +6 -0
  86. package/dist/providers/LsCKFrontProvider.js +7 -0
  87. package/dist/stories/Londrisoft/Components/Accordion/CustomAccordionGroup.stories.d.ts +13 -0
  88. package/dist/stories/Londrisoft/Components/Accordion/CustomAccordionGroup.stories.js +787 -0
  89. package/dist/stories/Londrisoft/Components/Accordion/CustomAccordionItem.stories.d.ts +13 -0
  90. package/dist/stories/Londrisoft/Components/Accordion/CustomAccordionItem.stories.js +759 -0
  91. package/dist/stories/Londrisoft/Components/Checkbox/CustomCheckBox.stories.d.ts +15 -0
  92. package/dist/stories/Londrisoft/Components/Checkbox/CustomCheckBox.stories.js +770 -0
  93. package/dist/stories/Londrisoft/Components/Checkbox/CustomCheckboxGroup.stories.d.ts +33 -0
  94. package/dist/stories/Londrisoft/Components/Checkbox/CustomCheckboxGroup.stories.js +2152 -0
  95. package/dist/stories/Londrisoft/Components/CustomAlertDialog.stories.d.ts +24 -0
  96. package/dist/stories/Londrisoft/Components/CustomAlertDialog.stories.js +462 -0
  97. package/dist/stories/Londrisoft/Components/CustomAutoComplete.stories.d.ts +41 -0
  98. package/dist/stories/Londrisoft/Components/CustomAutoComplete.stories.js +1135 -0
  99. package/dist/stories/Londrisoft/Components/CustomBadge.stories.d.ts +21 -0
  100. package/dist/stories/Londrisoft/Components/CustomBadge.stories.js +546 -0
  101. package/dist/stories/Londrisoft/Components/CustomButton.stories.d.ts +17 -0
  102. package/dist/stories/Londrisoft/Components/CustomButton.stories.js +1099 -0
  103. package/dist/stories/Londrisoft/Components/CustomCard.stories.d.ts +17 -0
  104. package/dist/stories/Londrisoft/Components/CustomCard.stories.js +687 -0
  105. package/dist/stories/Londrisoft/Components/CustomDrawer.stories.d.ts +24 -0
  106. package/dist/stories/Londrisoft/Components/CustomDrawer.stories.js +521 -0
  107. package/dist/stories/Londrisoft/Components/CustomIconButton.stories.d.ts +14 -0
  108. package/dist/stories/Londrisoft/Components/CustomIconButton.stories.js +1024 -0
  109. package/dist/stories/Londrisoft/Components/CustomInput.stories.d.ts +15 -0
  110. package/dist/stories/Londrisoft/Components/CustomInput.stories.js +1094 -0
  111. package/dist/stories/Londrisoft/Components/CustomInputNumber.stories.d.ts +11 -0
  112. package/dist/stories/Londrisoft/Components/CustomInputNumber.stories.js +676 -0
  113. package/dist/stories/Londrisoft/Components/CustomList.stories.d.ts +18 -0
  114. package/dist/stories/Londrisoft/Components/CustomList.stories.js +1353 -0
  115. package/dist/stories/Londrisoft/Components/CustomLoadingCenterPage.stories.d.ts +17 -0
  116. package/dist/stories/Londrisoft/Components/CustomLoadingCenterPage.stories.js +304 -0
  117. package/dist/stories/Londrisoft/Components/CustomModal.stories.d.ts +19 -0
  118. package/dist/stories/Londrisoft/Components/CustomModal.stories.js +631 -0
  119. package/dist/stories/Londrisoft/Components/CustomModalNfe.stories.d.ts +19 -0
  120. package/dist/stories/Londrisoft/Components/CustomModalNfe.stories.js +589 -0
  121. package/dist/stories/Londrisoft/Components/CustomMultSelect.stories.d.ts +15 -0
  122. package/dist/stories/Londrisoft/Components/CustomMultSelect.stories.js +447 -0
  123. package/dist/stories/Londrisoft/Components/CustomMultipleInputs.stories.d.ts +15 -0
  124. package/dist/stories/Londrisoft/Components/CustomMultipleInputs.stories.js +1068 -0
  125. package/dist/stories/Londrisoft/Components/CustomPopover.stories.d.ts +10 -0
  126. package/dist/stories/Londrisoft/Components/CustomPopover.stories.js +208 -0
  127. package/dist/stories/Londrisoft/Components/CustomSelect.stories.d.ts +27 -0
  128. package/dist/stories/Londrisoft/Components/CustomSelect.stories.js +1086 -0
  129. package/dist/stories/Londrisoft/Components/CustomSkeleton.stories.d.ts +25 -0
  130. package/dist/stories/Londrisoft/Components/CustomSkeleton.stories.js +534 -0
  131. package/dist/stories/Londrisoft/Components/CustomSwitch.stories.d.ts +15 -0
  132. package/dist/stories/Londrisoft/Components/CustomSwitch.stories.js +422 -0
  133. package/dist/stories/Londrisoft/Components/CustomTable.stories.d.ts +43 -0
  134. package/dist/stories/Londrisoft/Components/CustomTable.stories.js +2121 -0
  135. package/dist/stories/Londrisoft/Components/CustomTabs.stories.d.ts +19 -0
  136. package/dist/stories/Londrisoft/Components/CustomTabs.stories.js +866 -0
  137. package/dist/stories/Londrisoft/Components/CustomTextarea.stories.d.ts +21 -0
  138. package/dist/stories/Londrisoft/Components/CustomTextarea.stories.js +408 -0
  139. package/dist/stories/Londrisoft/Components/CustomToast.stories.d.ts +21 -0
  140. package/dist/stories/Londrisoft/Components/CustomToast.stories.js +1041 -0
  141. package/dist/stories/Londrisoft/Components/DatePicker/CustomDatePicker.stories.d.ts +17 -0
  142. package/dist/stories/Londrisoft/Components/DatePicker/CustomDatePicker.stories.js +653 -0
  143. package/dist/stories/Londrisoft/Components/Pagination/CustomPagination.stories.d.ts +17 -0
  144. package/dist/stories/Londrisoft/Components/Pagination/CustomPagination.stories.js +429 -0
  145. package/dist/stories/Londrisoft/Components/Radio/CustomRadioGroup.stories.d.ts +22 -0
  146. package/dist/stories/Londrisoft/Components/Radio/CustomRadioGroup.stories.js +766 -0
  147. package/dist/stories/Londrisoft/Examples/IntegrationExamples.stories.d.ts +16 -0
  148. package/dist/stories/Londrisoft/Examples/IntegrationExamples.stories.js +514 -0
  149. package/dist/stories/Londrisoft/Theme/ThemeShowcase.stories.d.ts +5 -0
  150. package/dist/stories/Londrisoft/Theme/ThemeShowcase.stories.js +112 -0
  151. package/dist/stories/options.d.ts +13 -0
  152. package/dist/stories/options.js +124 -0
  153. package/dist/theme/bime.d.ts +92 -0
  154. package/dist/theme/bime.js +352 -0
  155. package/dist/theme/index.d.ts +5 -0
  156. package/dist/theme/index.js +8 -0
  157. package/dist/theme/waipe.d.ts +102 -0
  158. package/dist/theme/waipe.js +362 -0
  159. package/package.json +53 -0
@@ -0,0 +1,182 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState } from "react";
3
+ import { Box, VStack, Text, Code, Divider, } from "@chakra-ui/react";
4
+ import CustomTabs from "../components/CustomTabs";
5
+ import { CodeViewer } from "./CodeViewer";
6
+ export const TabsExample = () => {
7
+ var _a;
8
+ const [selectedTab, setSelectedTab] = useState(0);
9
+ const tabs = [
10
+ {
11
+ label: "Usuários",
12
+ content: (_jsxs(Box, { p: 4, children: [_jsx(Text, { fontSize: "lg", fontWeight: "bold", mb: 4, children: "Lista de Usu\u00E1rios" }), _jsx(Text, { children: "Conte\u00FAdo da aba de usu\u00E1rios..." })] })),
13
+ tooltip: "Gerenciar usuários do sistema",
14
+ quantity: 150,
15
+ },
16
+ {
17
+ label: "Produtos",
18
+ content: (_jsxs(Box, { p: 4, children: [_jsx(Text, { fontSize: "lg", fontWeight: "bold", mb: 4, children: "Lista de Produtos" }), _jsx(Text, { children: "Conte\u00FAdo da aba de produtos..." })] })),
19
+ tooltip: "Gerenciar produtos do catálogo",
20
+ quantity: 89,
21
+ },
22
+ {
23
+ label: "Pedidos",
24
+ content: (_jsxs(Box, { p: 4, children: [_jsx(Text, { fontSize: "lg", fontWeight: "bold", mb: 4, children: "Lista de Pedidos" }), _jsx(Text, { children: "Conte\u00FAdo da aba de pedidos..." })] })),
25
+ tooltip: "Visualizar pedidos realizados",
26
+ quantity: 23,
27
+ },
28
+ {
29
+ label: "Relatórios",
30
+ content: (_jsxs(Box, { p: 4, children: [_jsx(Text, { fontSize: "lg", fontWeight: "bold", mb: 4, children: "Relat\u00F3rios" }), _jsx(Text, { children: "Conte\u00FAdo da aba de relat\u00F3rios..." })] })),
31
+ tooltip: "Gerar relatórios do sistema",
32
+ },
33
+ ];
34
+ const tabsWithCustomColor = [
35
+ {
36
+ label: "Ativos",
37
+ content: (_jsxs(Box, { p: 4, children: [_jsx(Text, { fontSize: "lg", fontWeight: "bold", mb: 4, children: "Itens Ativos" }), _jsx(Text, { children: "Conte\u00FAdo dos itens ativos..." })] })),
38
+ tooltip: "Itens que estão ativos no sistema",
39
+ quantity: 45,
40
+ },
41
+ {
42
+ label: "Inativos",
43
+ content: (_jsxs(Box, { p: 4, children: [_jsx(Text, { fontSize: "lg", fontWeight: "bold", mb: 4, children: "Itens Inativos" }), _jsx(Text, { children: "Conte\u00FAdo dos itens inativos..." })] })),
44
+ tooltip: "Itens que estão inativos no sistema",
45
+ quantity: 12,
46
+ },
47
+ ];
48
+ return (_jsx(Box, { p: 6, maxW: "800px", mx: "auto", children: _jsxs(VStack, { spacing: 6, align: "stretch", children: [_jsx(Text, { fontSize: "xl", fontWeight: "bold", textAlign: "center", children: "Exemplo - CustomTabs" }), _jsxs(Box, { children: [_jsx(Text, { fontSize: "lg", fontWeight: "bold", mb: 4, children: "Tabs com Quantidade e Tooltip (Cor Padr\u00E3o)" }), _jsx(CustomTabs, { tabs: tabs, selectedIndex: selectedTab, onChange: setSelectedTab, height: "300px" })] }), _jsx(Divider, {}), _jsxs(Box, { children: [_jsx(Text, { fontSize: "lg", fontWeight: "bold", mb: 4, children: "Tabs com Cor Customizada" }), _jsx(CustomTabs, { tabs: tabsWithCustomColor, tabTextColor: "#3182ce", height: "200px" })] }), _jsx(Divider, {}), _jsxs(Box, { children: [_jsx(Text, { fontSize: "lg", fontWeight: "bold", mb: 4, children: "Tabs com Cor do Tema" }), _jsx(CustomTabs, { tabs: [
49
+ {
50
+ label: "Sucesso",
51
+ content: (_jsx(Box, { p: 4, children: _jsx(Text, { children: "Conte\u00FAdo de sucesso..." }) })),
52
+ tooltip: "Operações bem-sucedidas",
53
+ quantity: 67,
54
+ },
55
+ {
56
+ label: "Erro",
57
+ content: (_jsx(Box, { p: 4, children: _jsx(Text, { children: "Conte\u00FAdo de erro..." }) })),
58
+ tooltip: "Operações com erro",
59
+ quantity: 3,
60
+ },
61
+ ], tabTextColor: "green.500", height: "200px" })] }), _jsx(Divider, {}), _jsxs(Box, { children: [_jsx(Text, { fontSize: "sm", fontWeight: "bold", mb: 2, children: "Debug - Tab Selecionada:" }), _jsx(Code, { p: 3, borderRadius: "md", fontSize: "xs", display: "block", children: JSON.stringify({ selectedTab: selectedTab, tabLabel: (_a = tabs[selectedTab]) === null || _a === void 0 ? void 0 : _a.label }, null, 2) })] }), _jsx(CodeViewer, { title: "C\u00F3digo Fonte - CustomTabs", code: `import React, { useState } from "react";
62
+ import CustomTabs from "ls-ckfront";
63
+
64
+ export const TabsExample: React.FC = () => {
65
+ const [selectedTab, setSelectedTab] = useState(0);
66
+
67
+ const tabs = [
68
+ {
69
+ label: "Usuários",
70
+ content: (
71
+ <Box p={4}>
72
+ <Text fontSize="lg" fontWeight="bold" mb={4}>
73
+ Lista de Usuários
74
+ </Text>
75
+ <Text>Conteúdo da aba de usuários...</Text>
76
+ </Box>
77
+ ),
78
+ tooltip: "Gerenciar usuários do sistema",
79
+ quantity: 150,
80
+ },
81
+ {
82
+ label: "Produtos",
83
+ content: (
84
+ <Box p={4}>
85
+ <Text fontSize="lg" fontWeight="bold" mb={4}>
86
+ Lista de Produtos
87
+ </Text>
88
+ <Text>Conteúdo da aba de produtos...</Text>
89
+ </Box>
90
+ ),
91
+ tooltip: "Gerenciar produtos do catálogo",
92
+ quantity: 89,
93
+ },
94
+ {
95
+ label: "Pedidos",
96
+ content: (
97
+ <Box p={4}>
98
+ <Text fontSize="lg" fontWeight="bold" mb={4}>
99
+ Lista de Pedidos
100
+ </Text>
101
+ <Text>Conteúdo da aba de pedidos...</Text>
102
+ </Box>
103
+ ),
104
+ tooltip: "Visualizar pedidos realizados",
105
+ quantity: 23,
106
+ },
107
+ {
108
+ label: "Relatórios",
109
+ content: (
110
+ <Box p={4}>
111
+ <Text fontSize="lg" fontWeight="bold" mb={4}>
112
+ Relatórios
113
+ </Text>
114
+ <Text>Conteúdo da aba de relatórios...</Text>
115
+ </Box>
116
+ ),
117
+ tooltip: "Gerar relatórios do sistema",
118
+ },
119
+ ];
120
+
121
+ return (
122
+ <CustomTabs
123
+ tabs={tabs}
124
+ selectedIndex={selectedTab}
125
+ onChange={setSelectedTab}
126
+ height="300px"
127
+ />
128
+ );
129
+ };
130
+
131
+ // Exemplo com cor customizada
132
+ const TabsWithCustomColor = () => {
133
+ const tabs = [
134
+ {
135
+ label: "Ativos",
136
+ content: <Box p={4}>Conteúdo dos itens ativos...</Box>,
137
+ tooltip: "Itens que estão ativos no sistema",
138
+ quantity: 45,
139
+ },
140
+ {
141
+ label: "Inativos",
142
+ content: <Box p={4}>Conteúdo dos itens inativos...</Box>,
143
+ tooltip: "Itens que estão inativos no sistema",
144
+ quantity: 12,
145
+ },
146
+ ];
147
+
148
+ return (
149
+ <CustomTabs
150
+ tabs={tabs}
151
+ tabTextColor="#3182ce" // Hexadecimal
152
+ height="200px"
153
+ />
154
+ );
155
+ };
156
+
157
+ // Exemplo com cor do tema
158
+ const TabsWithThemeColor = () => {
159
+ const tabs = [
160
+ {
161
+ label: "Sucesso",
162
+ content: <Box p={4}>Conteúdo de sucesso...</Box>,
163
+ tooltip: "Operações bem-sucedidas",
164
+ quantity: 67,
165
+ },
166
+ {
167
+ label: "Erro",
168
+ content: <Box p={4}>Conteúdo de erro...</Box>,
169
+ tooltip: "Operações com erro",
170
+ quantity: 3,
171
+ },
172
+ ];
173
+
174
+ return (
175
+ <CustomTabs
176
+ tabs={tabs}
177
+ tabTextColor="green.500" // Cor do tema
178
+ height="200px"
179
+ />
180
+ );
181
+ };` })] }) }));
182
+ };
@@ -0,0 +1,6 @@
1
+ export { ReactHookFormExample } from "./ReactHookFormExample";
2
+ export { FormikExample } from "./FormikExample";
3
+ export { SimpleFormExample } from "./SimpleFormExample";
4
+ export { NumberInputExample } from "./NumberInputExample";
5
+ export { TabsExample } from "./TabsExample";
6
+ export { CodeViewer } from "./CodeViewer";
@@ -0,0 +1,6 @@
1
+ export { ReactHookFormExample } from "./ReactHookFormExample";
2
+ export { FormikExample } from "./FormikExample";
3
+ export { SimpleFormExample } from "./SimpleFormExample";
4
+ export { NumberInputExample } from "./NumberInputExample";
5
+ export { TabsExample } from "./TabsExample";
6
+ export { CodeViewer } from "./CodeViewer";
@@ -0,0 +1,32 @@
1
+ export * from "./providers/LsCKFrontProvider";
2
+ export * from "./theme";
3
+ export * from "./components/CustomButton";
4
+ export * from "./components/CustomCard";
5
+ export * from "./components/CustomInput";
6
+ export * from "./components/CustomAutoComplete";
7
+ export * from "./components/CustomTabs";
8
+ export * from "./components/CustomTextarea";
9
+ export * from "./components/CustomTable";
10
+ export * from "./components/CustomCheckBox";
11
+ export * from "./components/CustomLoadingCenterPage";
12
+ export * from "./components/CustomSelect";
13
+ export * from "./components/CustomRadioGroup";
14
+ export * from "./components/CustomIconButton";
15
+ export * from "./components/CustomPopover";
16
+ export * from "./components/CustomInputNumber";
17
+ export * from "./components/Accordion/CustomAccordionItem";
18
+ export * from "./components/Accordion/CustomAccordionGroup";
19
+ export * from "./components/CustomToast";
20
+ export * from "./components/Pagination/CustomPagination";
21
+ export * from "./components/CustomList";
22
+ export * from "./components/CustomSkeleton";
23
+ export * from "./components/CustomModal";
24
+ export * from "./components/CustomCheckboxGroup";
25
+ export * from "./components/CustomDrawer";
26
+ export * from "./components/DatePicker/CustomDatePicker";
27
+ export * from "./components/CustomMultSelect";
28
+ export * from "./components/CustomSwitch";
29
+ export * from "./examples";
30
+ export * from "./components/CustomDrawer";
31
+ export * from "./components/CustomMultipleInputs";
32
+ export * from "./components/CustomModalNfe";
package/dist/index.js ADDED
@@ -0,0 +1,32 @@
1
+ export * from "./providers/LsCKFrontProvider";
2
+ export * from "./theme";
3
+ export * from "./components/CustomButton";
4
+ export * from "./components/CustomCard";
5
+ export * from "./components/CustomInput";
6
+ export * from "./components/CustomAutoComplete";
7
+ export * from "./components/CustomTabs";
8
+ export * from "./components/CustomTextarea";
9
+ export * from "./components/CustomTable";
10
+ export * from "./components/CustomCheckBox";
11
+ export * from "./components/CustomLoadingCenterPage";
12
+ export * from "./components/CustomSelect";
13
+ export * from "./components/CustomRadioGroup";
14
+ export * from "./components/CustomIconButton";
15
+ export * from "./components/CustomPopover";
16
+ export * from "./components/CustomInputNumber";
17
+ export * from "./components/Accordion/CustomAccordionItem";
18
+ export * from "./components/Accordion/CustomAccordionGroup";
19
+ export * from "./components/CustomToast";
20
+ export * from "./components/Pagination/CustomPagination";
21
+ export * from "./components/CustomList";
22
+ export * from "./components/CustomSkeleton";
23
+ export * from "./components/CustomModal";
24
+ export * from "./components/CustomCheckboxGroup";
25
+ export * from "./components/CustomDrawer";
26
+ export * from "./components/DatePicker/CustomDatePicker";
27
+ export * from "./components/CustomMultSelect";
28
+ export * from "./components/CustomSwitch";
29
+ export * from "./examples";
30
+ export * from "./components/CustomDrawer";
31
+ export * from "./components/CustomMultipleInputs";
32
+ export * from "./components/CustomModalNfe";
@@ -0,0 +1,6 @@
1
+ interface LSFrontProviderProps {
2
+ children: React.ReactNode;
3
+ themeName: "bime" | "waipe";
4
+ }
5
+ export declare const LsCKFrontProvider: ({ children, themeName }: LSFrontProviderProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { ChakraProvider } from "@chakra-ui/react";
3
+ import bimeTheme from "../theme/bime";
4
+ import waipeTheme from "../theme/waipe";
5
+ export const LsCKFrontProvider = ({ children, themeName }) => {
6
+ return _jsx(ChakraProvider, { theme: themeName === "waipe" ? waipeTheme : bimeTheme, children: children });
7
+ };
@@ -0,0 +1,13 @@
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+ import { CustomAccordionGroup } from "../../../../components/Accordion/CustomAccordionGroup";
3
+ declare const meta: Meta<typeof CustomAccordionGroup>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof CustomAccordionGroup>;
6
+ /** 🎯 Agrupador padrão */
7
+ export declare const Default: Story;
8
+ /** 🔒 Somente um item aberto de cada vez */
9
+ export declare const SingleOpen: Story;
10
+ /** 🔓 Múltiplos itens podem ficar abertos */
11
+ export declare const MultipleOpen: Story;
12
+ /** 🎛 Controlado via prop `index` */
13
+ export declare const Controlled: Story;