@ctlyst.id/internal-ui 2.1.13 → 2.1.15

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -59,12 +59,12 @@ __export(src_exports, {
59
59
  AlertIcon: () => AlertIcon,
60
60
  AlertTitle: () => AlertTitle,
61
61
  Anchor: () => Anchor,
62
- Avatar: () => import_react86.Avatar,
63
- AvatarBadge: () => import_react86.AvatarBadge,
64
- AvatarBadgeProps: () => import_react86.AvatarBadgeProps,
65
- AvatarGroup: () => import_react86.AvatarGroup,
66
- AvatarGroupProps: () => import_react86.AvatarGroupProps,
67
- AvatarProps: () => import_react86.AvatarProps,
62
+ Avatar: () => import_react85.Avatar,
63
+ AvatarBadge: () => import_react85.AvatarBadge,
64
+ AvatarBadgeProps: () => import_react85.AvatarBadgeProps,
65
+ AvatarGroup: () => import_react85.AvatarGroup,
66
+ AvatarGroupProps: () => import_react85.AvatarGroupProps,
67
+ AvatarProps: () => import_react85.AvatarProps,
68
68
  Badge: () => badge_default,
69
69
  Box: () => import_react48.Box,
70
70
  BoxProps: () => import_react48.BoxProps,
@@ -74,9 +74,9 @@ __export(src_exports, {
74
74
  ButtonGroupProps: () => import_react9.ButtonGroupProps,
75
75
  Card: () => card_default,
76
76
  Center: () => import_react48.Center,
77
- ChakraProvider: () => import_react94.ChakraProvider,
78
- ChakraProviderProps: () => import_react94.ChakraProviderProps,
79
- ChakraTable: () => import_react80.Table,
77
+ ChakraProvider: () => import_react93.ChakraProvider,
78
+ ChakraProviderProps: () => import_react93.ChakraProviderProps,
79
+ ChakraTable: () => import_react79.Table,
80
80
  Checkbox: () => checkbox_default,
81
81
  CheckboxGroup: () => checkbox_group_default,
82
82
  CheckboxGroupContext: () => import_react16.CheckboxGroupContext,
@@ -87,13 +87,13 @@ __export(src_exports, {
87
87
  Chips: () => chips_default,
88
88
  CloseButton: () => import_react9.CloseButton,
89
89
  CloseButtonProps: () => import_react9.CloseButtonProps,
90
- Code: () => import_react83.Code,
91
- CodeProps: () => import_react83.CodeProps,
92
- Collapse: () => import_react86.Collapse,
93
- CollapseProps: () => import_react86.CollapseProps,
94
- ColorMode: () => import_react94.ColorMode,
95
- ColorModeScript: () => import_react94.ColorModeScript,
96
- ColorModeScriptProps: () => import_react94.ColorModeScriptProps,
90
+ Code: () => import_react82.Code,
91
+ CodeProps: () => import_react82.CodeProps,
92
+ Collapse: () => import_react85.Collapse,
93
+ CollapseProps: () => import_react85.CollapseProps,
94
+ ColorMode: () => import_react93.ColorMode,
95
+ ColorModeScript: () => import_react93.ColorModeScript,
96
+ ColorModeScriptProps: () => import_react93.ColorModeScriptProps,
97
97
  Container: () => import_react48.Container,
98
98
  ContainerProps: () => import_react48.ContainerProps,
99
99
  Counter: () => counter_default,
@@ -112,8 +112,8 @@ __export(src_exports, {
112
112
  DrawerHeader: () => import_react59.ModalHeader,
113
113
  DrawerOverlay: () => import_react59.ModalOverlay,
114
114
  DrawerProps: () => import_react59.DrawerProps,
115
- Fade: () => import_react86.Fade,
116
- FadeProps: () => import_react86.FadeProps,
115
+ Fade: () => import_react85.Fade,
116
+ FadeProps: () => import_react85.FadeProps,
117
117
  Field: () => field_default,
118
118
  Flex: () => import_react48.Flex,
119
119
  FlexProps: () => import_react48.FlexProps,
@@ -129,18 +129,18 @@ __export(src_exports, {
129
129
  GridProps: () => import_react48.GridProps,
130
130
  HStack: () => import_react48.HStack,
131
131
  Header: () => header_default,
132
- Heading: () => import_react83.Heading,
133
- HeadingProps: () => import_react83.HeadingProps,
134
- Hide: () => import_react86.Hide,
135
- HideProps: () => import_react86.HideProps,
132
+ Heading: () => import_react82.Heading,
133
+ HeadingProps: () => import_react82.HeadingProps,
134
+ Hide: () => import_react85.Hide,
135
+ HideProps: () => import_react85.HideProps,
136
136
  Icon: () => import_react47.Icon,
137
137
  IconButton: () => import_react9.IconButton,
138
138
  IconButtonProps: () => import_react9.IconButtonProps,
139
139
  IconProps: () => import_react47.IconProps,
140
140
  Image: () => import_react47.Image,
141
141
  ImageProps: () => import_react47.ImageProps,
142
- Img: () => import_react86.Img,
143
- ImgProps: () => import_react86.ImgProps,
142
+ Img: () => import_react85.Img,
143
+ ImgProps: () => import_react85.ImgProps,
144
144
  InputAddonLeft: () => InputAddonLeft,
145
145
  InputAddonRight: () => InputAddonRight,
146
146
  InputElementLeft: () => import_react20.InputLeftElement,
@@ -157,8 +157,8 @@ __export(src_exports, {
157
157
  InputRightAddonProps: () => import_react27.InputRightAddonProps,
158
158
  InputRightElement: () => import_react27.InputRightElement,
159
159
  InputRightElementProps: () => import_react27.InputRightElementProps,
160
- Link: () => import_react83.Link,
161
- LinkProps: () => import_react83.LinkProps,
160
+ Link: () => import_react82.Link,
161
+ LinkProps: () => import_react82.LinkProps,
162
162
  List: () => import_react49.List,
163
163
  ListIcon: () => import_react49.ListIcon,
164
164
  ListItem: () => import_react49.ListItem,
@@ -213,101 +213,101 @@ __export(src_exports, {
213
213
  Rating: () => rating_default,
214
214
  RequiredIndicator: () => import_react27.RequiredIndicator,
215
215
  RequiredIndicatorProps: () => import_react27.RequiredIndicatorProps,
216
- ScaleFade: () => import_react86.ScaleFade,
217
- ScaleFadeProps: () => import_react86.ScaleFadeProps,
216
+ ScaleFade: () => import_react85.ScaleFade,
217
+ ScaleFadeProps: () => import_react85.ScaleFadeProps,
218
218
  Select: () => select_default,
219
219
  SelectAsync: () => select_async_default,
220
220
  SelectAsyncCreatable: () => SelectAsyncCreatable,
221
221
  SelectCreatable: () => SelectCreatable,
222
- Show: () => import_react86.Show,
223
- ShowProps: () => import_react86.ShowProps,
222
+ Show: () => import_react85.Show,
223
+ ShowProps: () => import_react85.ShowProps,
224
224
  SimpleGrid: () => import_react48.SimpleGrid,
225
225
  Skeleton: () => import_react5.Skeleton,
226
- Slide: () => import_react86.Slide,
227
- SlideFade: () => import_react86.SlideFade,
228
- SlideFadeProps: () => import_react86.SlideFadeProps,
229
- SlideProps: () => import_react86.SlideProps,
226
+ Slide: () => import_react85.Slide,
227
+ SlideFade: () => import_react85.SlideFade,
228
+ SlideFadeProps: () => import_react85.SlideFadeProps,
229
+ SlideProps: () => import_react85.SlideProps,
230
230
  Spacer: () => import_react48.Spacer,
231
231
  Stack: () => import_react48.Stack,
232
232
  StackProps: () => import_react48.StackProps,
233
- Step: () => import_react86.Step,
234
- StepDescription: () => import_react86.StepDescription,
235
- StepIcon: () => import_react86.StepIcon,
236
- StepIndicator: () => import_react86.StepIndicator,
237
- StepNumber: () => import_react86.StepNumber,
238
- StepSeparator: () => import_react86.StepSeparator,
239
- StepStatus: () => import_react86.StepStatus,
240
- StepTitle: () => import_react86.StepTitle,
241
- Stepper: () => import_react86.Stepper,
233
+ Step: () => import_react85.Step,
234
+ StepDescription: () => import_react85.StepDescription,
235
+ StepIcon: () => import_react85.StepIcon,
236
+ StepIndicator: () => import_react85.StepIndicator,
237
+ StepNumber: () => import_react85.StepNumber,
238
+ StepSeparator: () => import_react85.StepSeparator,
239
+ StepStatus: () => import_react85.StepStatus,
240
+ StepTitle: () => import_react85.StepTitle,
241
+ Stepper: () => import_react85.Stepper,
242
242
  Switch: () => switch_default,
243
243
  Tab: () => tab_default,
244
- TabIndicator: () => import_react82.TabIndicator,
245
- TabIndicatorProps: () => import_react82.TabIndicatorProps,
246
- TabList: () => import_react82.TabList,
247
- TabListProps: () => import_react82.TabListProps,
248
- TabPanel: () => import_react82.TabPanel,
249
- TabPanelProps: () => import_react82.TabPanelProps,
250
- TabPanels: () => import_react82.TabPanels,
251
- TabPanelsProps: () => import_react82.TabPanelsProps,
252
- TabProps: () => import_react82.TabProps,
253
- TableBodyProps: () => import_react80.TableBodyProps,
254
- TableCellProps: () => import_react80.TableCellProps,
255
- TableColumnHeaderProps: () => import_react80.TableColumnHeaderProps,
256
- TableHeadProps: () => import_react80.TableHeadProps,
257
- TableProps: () => import_react80.TableProps,
258
- TableRowProps: () => import_react80.TableRowProps,
259
- Tabs: () => import_react82.Tabs,
260
- TabsDescendantsProvider: () => import_react82.TabsDescendantsProvider,
261
- TabsProps: () => import_react82.TabsProps,
262
- TabsProvider: () => import_react82.TabsProvider,
263
- Tbody: () => import_react80.Tbody,
264
- Td: () => import_react80.Td,
265
- Text: () => import_react83.Text,
266
- TextProps: () => import_react83.TextProps,
244
+ TabIndicator: () => import_react81.TabIndicator,
245
+ TabIndicatorProps: () => import_react81.TabIndicatorProps,
246
+ TabList: () => import_react81.TabList,
247
+ TabListProps: () => import_react81.TabListProps,
248
+ TabPanel: () => import_react81.TabPanel,
249
+ TabPanelProps: () => import_react81.TabPanelProps,
250
+ TabPanels: () => import_react81.TabPanels,
251
+ TabPanelsProps: () => import_react81.TabPanelsProps,
252
+ TabProps: () => import_react81.TabProps,
253
+ TableBodyProps: () => import_react79.TableBodyProps,
254
+ TableCellProps: () => import_react79.TableCellProps,
255
+ TableColumnHeaderProps: () => import_react79.TableColumnHeaderProps,
256
+ TableHeadProps: () => import_react79.TableHeadProps,
257
+ TableProps: () => import_react79.TableProps,
258
+ TableRowProps: () => import_react79.TableRowProps,
259
+ Tabs: () => import_react81.Tabs,
260
+ TabsDescendantsProvider: () => import_react81.TabsDescendantsProvider,
261
+ TabsProps: () => import_react81.TabsProps,
262
+ TabsProvider: () => import_react81.TabsProvider,
263
+ Tbody: () => import_react79.Tbody,
264
+ Td: () => import_react79.Td,
265
+ Text: () => import_react82.Text,
266
+ TextProps: () => import_react82.TextProps,
267
267
  TextareaField: () => textarea_default,
268
- Th: () => import_react80.Th,
269
- Thead: () => import_react80.Thead,
268
+ Th: () => import_react79.Th,
269
+ Thead: () => import_react79.Thead,
270
270
  ThemeTypings: () => import_styled_system13.ThemeTypings,
271
- Tooltip: () => import_react84.Tooltip,
272
- TooltipProps: () => import_react84.TooltipProps,
273
- Tr: () => import_react80.Tr,
271
+ Tooltip: () => import_react83.Tooltip,
272
+ TooltipProps: () => import_react83.TooltipProps,
273
+ Tr: () => import_react79.Tr,
274
274
  UnorderedList: () => import_react49.UnorderedList,
275
275
  Uploader: () => uploader_default,
276
276
  UseAccordionItemProps: () => import_react3.UseAccordionItemProps,
277
277
  UseAccordionItemReturn: () => import_react3.UseAccordionItemReturn,
278
278
  UseAccordionProps: () => import_react3.UseAccordionProps,
279
279
  UseAccordionReturn: () => import_react3.UseAccordionReturn,
280
- UseBreakpointOptions: () => import_react86.UseBreakpointOptions,
280
+ UseBreakpointOptions: () => import_react85.UseBreakpointOptions,
281
281
  UseCheckboxGroupProps: () => import_react16.UseCheckboxGroupProps,
282
282
  UseCheckboxGroupReturn: () => import_react16.UseCheckboxGroupReturn,
283
283
  UseCheckboxProps: () => import_react16.UseCheckboxProps,
284
284
  UseCheckboxReturn: () => import_react16.UseCheckboxReturn,
285
- UseDisclosureProps: () => import_react96.UseDisclosureProps,
286
- UseImageProps: () => import_react86.UseImageProps,
287
- UseImageReturn: () => import_react86.UseImageReturn,
288
- UseMediaQueryOptions: () => import_react86.UseMediaQueryOptions,
285
+ UseDisclosureProps: () => import_react95.UseDisclosureProps,
286
+ UseImageProps: () => import_react85.UseImageProps,
287
+ UseImageReturn: () => import_react85.UseImageReturn,
288
+ UseMediaQueryOptions: () => import_react85.UseMediaQueryOptions,
289
289
  UseModalProps: () => import_react59.UseModalProps,
290
290
  UseModalReturn: () => import_react59.UseModalReturn,
291
- UseQueryProps: () => import_react86.UseQueryProps,
291
+ UseQueryProps: () => import_react85.UseQueryProps,
292
292
  UseRadioGroupReturn: () => import_react72.UseRadioGroupReturn,
293
293
  UseRadioProps: () => import_react72.UseRadioProps,
294
294
  UseRadioReturn: () => import_react72.UseRadioReturn,
295
- UseTabListProps: () => import_react82.UseTabListProps,
296
- UseTabListReturn: () => import_react82.UseTabListReturn,
297
- UseTabOptions: () => import_react82.UseTabOptions,
298
- UseTabPanelsProps: () => import_react82.UseTabPanelsProps,
299
- UseTabProps: () => import_react82.UseTabProps,
300
- UseTabsProps: () => import_react82.UseTabsProps,
301
- UseTabsReturn: () => import_react82.UseTabsReturn,
295
+ UseTabListProps: () => import_react81.UseTabListProps,
296
+ UseTabListReturn: () => import_react81.UseTabListReturn,
297
+ UseTabOptions: () => import_react81.UseTabOptions,
298
+ UseTabPanelsProps: () => import_react81.UseTabPanelsProps,
299
+ UseTabProps: () => import_react81.UseTabProps,
300
+ UseTabsProps: () => import_react81.UseTabsProps,
301
+ UseTabsReturn: () => import_react81.UseTabsReturn,
302
302
  VStack: () => import_react48.VStack,
303
- VisuallyHidden: () => import_react86.VisuallyHidden,
304
- VisuallyHiddenInput: () => import_react86.VisuallyHiddenInput,
303
+ VisuallyHidden: () => import_react85.VisuallyHidden,
304
+ VisuallyHiddenInput: () => import_react85.VisuallyHiddenInput,
305
305
  Wrap: () => import_react48.Wrap,
306
306
  WrapItem: () => import_react48.WrapItem,
307
307
  WrapItemProps: () => import_react48.WrapItemProps,
308
308
  WrapProps: () => import_react48.WrapProps,
309
- extendTheme: () => import_react97.extendTheme,
310
- forwardRef: () => import_react97.forwardRef,
309
+ extendTheme: () => import_react96.extendTheme,
310
+ forwardRef: () => import_react96.forwardRef,
311
311
  getTheme: () => getTheme,
312
312
  theme: () => theme5,
313
313
  useAccordion: () => import_react3.useAccordion,
@@ -316,47 +316,47 @@ __export(src_exports, {
316
316
  useAccordionItemState: () => import_react3.useAccordionItemState,
317
317
  useAccordionStyles: () => import_react3.useAccordionStyles,
318
318
  useAlertStyles: () => useAlertStyles,
319
- useBoolean: () => import_react96.useBoolean,
320
- useBreakpoint: () => import_react86.useBreakpoint,
319
+ useBoolean: () => import_react95.useBoolean,
320
+ useBreakpoint: () => import_react85.useBreakpoint,
321
321
  useCheckbox: () => import_react16.useCheckbox,
322
322
  useCheckboxGroup: () => import_react16.useCheckboxGroup,
323
- useClipboard: () => import_react96.useClipboard,
324
- useColorMode: () => import_react96.useColorMode,
325
- useColorModePreference: () => import_react86.useColorModePreference,
326
- useColorModeValue: () => import_react96.useColorModeValue,
327
- useConst: () => import_react96.useConst,
328
- useControllableProp: () => import_react96.useControllableProp,
329
- useControllableState: () => import_react96.useControllableState,
323
+ useClipboard: () => import_react95.useClipboard,
324
+ useColorMode: () => import_react95.useColorMode,
325
+ useColorModePreference: () => import_react85.useColorModePreference,
326
+ useColorModeValue: () => import_react95.useColorModeValue,
327
+ useConst: () => import_react95.useConst,
328
+ useControllableProp: () => import_react95.useControllableProp,
329
+ useControllableState: () => import_react95.useControllableState,
330
330
  useDataTable: () => useDataTable,
331
- useDimensions: () => import_react96.useDimensions,
332
- useDisclosure: () => import_react96.useDisclosure,
331
+ useDimensions: () => import_react95.useDimensions,
332
+ useDisclosure: () => import_react95.useDisclosure,
333
333
  useDrawerContext: () => import_react59.useDrawerContext,
334
334
  useFetcher: () => useFetcher,
335
- useImage: () => import_react86.useImage,
335
+ useImage: () => import_react85.useImage,
336
336
  useInternalUI: () => useInternalUI,
337
- useMergeRefs: () => import_react96.useMergeRefs,
337
+ useMergeRefs: () => import_react95.useMergeRefs,
338
338
  useModal: () => import_react59.useModal,
339
339
  useModalContext: () => import_react59.useModalContext,
340
340
  useModalStyles: () => import_react59.useModalStyles,
341
- useOutsideClick: () => import_react96.useOutsideClick,
342
- useQuery: () => import_react86.useQuery,
341
+ useOutsideClick: () => import_react95.useOutsideClick,
342
+ useQuery: () => import_react85.useQuery,
343
343
  useRadio: () => import_react72.useRadio,
344
344
  useRadioGroup: () => import_react72.useRadioGroup,
345
345
  useRadioGroupContext: () => import_react72.useRadioGroupContext,
346
- useSteps: () => import_react86.useSteps,
347
- useTab: () => import_react82.useTab,
348
- useTabIndicator: () => import_react82.useTabIndicator,
349
- useTabList: () => import_react82.useTabList,
350
- useTabPanel: () => import_react82.useTabPanel,
351
- useTabPanels: () => import_react82.useTabPanels,
352
- useTabs: () => import_react82.useTabs,
353
- useTabsContext: () => import_react82.useTabsContext,
354
- useTabsDescendant: () => import_react82.useTabsDescendant,
355
- useTabsDescendants: () => import_react82.useTabsDescendants,
356
- useTabsDescendantsContext: () => import_react82.useTabsDescendantsContext,
357
- useTabsStyles: () => import_react82.useTabsStyles,
358
- useTheme: () => import_react96.useTheme,
359
- useToken: () => import_react96.useToken
346
+ useSteps: () => import_react85.useSteps,
347
+ useTab: () => import_react81.useTab,
348
+ useTabIndicator: () => import_react81.useTabIndicator,
349
+ useTabList: () => import_react81.useTabList,
350
+ useTabPanel: () => import_react81.useTabPanel,
351
+ useTabPanels: () => import_react81.useTabPanels,
352
+ useTabs: () => import_react81.useTabs,
353
+ useTabsContext: () => import_react81.useTabsContext,
354
+ useTabsDescendant: () => import_react81.useTabsDescendant,
355
+ useTabsDescendants: () => import_react81.useTabsDescendants,
356
+ useTabsDescendantsContext: () => import_react81.useTabsDescendantsContext,
357
+ useTabsStyles: () => import_react81.useTabsStyles,
358
+ useTheme: () => import_react95.useTheme,
359
+ useToken: () => import_react95.useToken
360
360
  });
361
361
  module.exports = __toCommonJS(src_exports);
362
362
 
@@ -1162,7 +1162,7 @@ var Counter = ({
1162
1162
  isReadOnly,
1163
1163
  width: 12,
1164
1164
  type: "number",
1165
- borderColor: "neutral.200"
1165
+ borderColor: isError ? "danger.500" : "neutral.200"
1166
1166
  }
1167
1167
  ),
1168
1168
  /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
@@ -1195,14 +1195,40 @@ var getCommonPinningStyles = (column) => {
1195
1195
  const isLastLeftPinnedColumn = isPinned === "left" && column.getIsLastColumn("left");
1196
1196
  const isFirstRightPinnedColumn = isPinned === "right" && column.getIsFirstColumn("right");
1197
1197
  return {
1198
- // eslint-disable-next-line no-nested-ternary
1199
- boxShadow: isLastLeftPinnedColumn ? "-4px 0 4px -4px gray inset" : isFirstRightPinnedColumn ? "4px 0 4px -4px gray inset" : void 0,
1200
1198
  left: isPinned === "left" ? `${column.getStart("left")}px` : void 0,
1201
1199
  right: isPinned === "right" ? `${column.getAfter("right")}px` : void 0,
1202
- opacity: isPinned ? 0.95 : 1,
1203
1200
  position: isPinned ? "sticky" : "relative",
1204
1201
  width: column.getSize(),
1205
- zIndex: isPinned ? 1 : 0
1202
+ zIndex: isPinned ? 1 : 0,
1203
+ backgroundColor: "white",
1204
+ ...isLastLeftPinnedColumn ? {
1205
+ padding: 0,
1206
+ "&:after": {
1207
+ content: "''",
1208
+ position: "absolute",
1209
+ width: "20%",
1210
+ height: "100%",
1211
+ right: "0px",
1212
+ top: 0,
1213
+ zIndex: -1,
1214
+ boxShadow: "-10px 0px 20px 10px #00000010",
1215
+ clipPath: "inset(0px -38px 0px 0px)"
1216
+ }
1217
+ } : {},
1218
+ ...isFirstRightPinnedColumn ? {
1219
+ padding: "0px 0px 0px 8px",
1220
+ "&:after": {
1221
+ content: "''",
1222
+ position: "absolute",
1223
+ width: "20%",
1224
+ height: "100%",
1225
+ left: "0%",
1226
+ top: 0,
1227
+ zIndex: -1,
1228
+ boxShadow: "10px 0px 20px 10px #00000010",
1229
+ clipPath: "inset(0px 0px 0px -38px )"
1230
+ }
1231
+ } : {}
1206
1232
  };
1207
1233
  };
1208
1234
  var useDataTable = ({
@@ -1299,12 +1325,12 @@ var useDataTable = ({
1299
1325
  };
1300
1326
  };
1301
1327
  var DataTable = React5.forwardRef((props, ref) => {
1302
- const { isLoading, styles, headerSticky, onRowClick } = props;
1328
+ const { isLoading, styles, headerSticky, onRowClick, container } = props;
1303
1329
  const { table, toggleAllRowsSelected, generateColumn } = useDataTable(props);
1304
1330
  React5.useImperativeHandle(ref, () => ({
1305
1331
  toggleAllRowsSelected
1306
1332
  }));
1307
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_react29.Box, { ...props, children: [
1333
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_react29.Box, { overflowX: "auto", position: "relative", maxW: "100%", minH: 400, w: "full", ...container, children: [
1308
1334
  isLoading && /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_react29.Table, { ...styles == null ? void 0 : styles.table, children: [
1309
1335
  /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react29.Thead, { ...(styles == null ? void 0 : styles.tableHead, headerSticky ? { position: "sticky", top: 0, bg: "white", zIndex: 1 } : {}), children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react29.Tr, { mx: "2", ...styles == null ? void 0 : styles.tableRow, children: headerGroup.headers.map((header, index) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1310
1336
  import_react29.Th,
@@ -1335,11 +1361,13 @@ var DataTable = React5.forwardRef((props, ref) => {
1335
1361
  {
1336
1362
  colSpan: header.colSpan,
1337
1363
  width: `${header.getSize() + (index === 0 || index === headerGroup.headers.length - 1 ? 16 : 0)}px`,
1338
- style: { ...getCommonPinningStyles(header.column) },
1364
+ sx: getCommonPinningStyles(header.column),
1339
1365
  ...styles == null ? void 0 : styles.tableColumnHeader,
1340
1366
  children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1341
1367
  import_react29.Flex,
1342
1368
  {
1369
+ backgroundColor: "white",
1370
+ height: "100%",
1343
1371
  "data-test-id": `CT_Container_TableHeader_${header.id}`,
1344
1372
  textTransform: "capitalize",
1345
1373
  userSelect: "none",
@@ -1402,9 +1430,9 @@ var DataTable = React5.forwardRef((props, ref) => {
1402
1430
  "data-test-id": `CT_Component_TableCell_${cell.id}`,
1403
1431
  fontSize: "text.sm",
1404
1432
  color: (0, import_react29.useColorModeValue)("dark.800", "dark.300"),
1405
- style: { ...getCommonPinningStyles(cell.column) },
1433
+ sx: getCommonPinningStyles(cell.column),
1406
1434
  ...styles == null ? void 0 : styles.tableCell,
1407
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1435
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react29.Flex, { height: "100%", backgroundColor: "white", align: "center", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1408
1436
  import_react29.Box,
1409
1437
  {
1410
1438
  tabIndex: 0,
@@ -1418,7 +1446,7 @@ var DataTable = React5.forwardRef((props, ref) => {
1418
1446
  },
1419
1447
  children: (0, import_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext())
1420
1448
  }
1421
- )
1449
+ ) })
1422
1450
  },
1423
1451
  cell.id
1424
1452
  ))
@@ -1430,12 +1458,8 @@ var DataTable = React5.forwardRef((props, ref) => {
1430
1458
  ] });
1431
1459
  });
1432
1460
  DataTable.defaultProps = {
1461
+ container: void 0,
1433
1462
  withSelectedRow: false,
1434
- overflowX: "scroll",
1435
- pos: "relative",
1436
- maxW: "100%",
1437
- minH: 400,
1438
- w: "full",
1439
1463
  styles: void 0,
1440
1464
  isLoading: void 0,
1441
1465
  onSelectedRow: void 0,
@@ -2506,7 +2530,7 @@ var Dialog = ({
2506
2530
  }) => {
2507
2531
  return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_react41.Modal, { ...props, children: [
2508
2532
  isModalOverlay && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react41.ModalOverlay, { pointerEvents: isOverlayClickable ? "auto" : "none" }),
2509
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_react41.ModalContent, { bgColor: "neutral.50", fontFamily: "Poppins", width, children: [
2533
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_react41.ModalContent, { bgColor: "neutral.50", fontFamily: "Poppins", width, minW: "400px", children: [
2510
2534
  /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react41.ModalHeader, { bgColor: "neutral.200", py: 2, px: 4, borderTopRadius: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react41.Text, { textStyle: "text.lg", fontWeight: "normal", children: title }) }),
2511
2535
  /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react41.ModalBody, { p: 4, textStyle: "text.md", children: content }),
2512
2536
  /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react41.ModalFooter, { bgColor: "neutral.200", p: 4, borderBottomRadius: "sm", children: footer })
@@ -3405,28 +3429,17 @@ var rating_default = Rating;
3405
3429
  var import_system7 = require("@chakra-ui/system");
3406
3430
  var import_react_select = __toESM(require("react-select"));
3407
3431
 
3408
- // src/components/select/components/select-wrapper.tsx
3409
- var import_react74 = require("@chakra-ui/react");
3410
- var import_jsx_runtime52 = require("react/jsx-runtime");
3411
- var SelectWrapper = ({ children }) => {
3412
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_react74.Box, { children });
3413
- };
3414
- SelectWrapper.defaultProps = {
3415
- isError: false
3416
- };
3417
- var select_wrapper_default = SelectWrapper;
3418
-
3419
3432
  // src/config/theme/foundations/shadows.ts
3420
- var import_react75 = require("@chakra-ui/react");
3433
+ var import_react74 = require("@chakra-ui/react");
3421
3434
  var shadows = {
3422
- ...import_react75.theme.shadows,
3435
+ ...import_react74.theme.shadows,
3423
3436
  raised: "0px 4px 20px rgba(0, 0, 0, 0.05)"
3424
3437
  };
3425
3438
 
3426
3439
  // src/config/theme/foundations/sizes.ts
3427
- var import_react76 = require("@chakra-ui/react");
3440
+ var import_react75 = require("@chakra-ui/react");
3428
3441
  var sizes = {
3429
- ...import_react76.theme.sizes,
3442
+ ...import_react75.theme.sizes,
3430
3443
  4.5: "1.125rem",
3431
3444
  9.5: "2.375rem",
3432
3445
  18: "4.5rem",
@@ -3436,9 +3449,9 @@ var sizes = {
3436
3449
  };
3437
3450
 
3438
3451
  // src/config/theme/foundations/spacing.ts
3439
- var import_react77 = require("@chakra-ui/react");
3452
+ var import_react76 = require("@chakra-ui/react");
3440
3453
  var spacing = {
3441
- ...import_react77.theme.space,
3454
+ ...import_react76.theme.space,
3442
3455
  4.5: "1.125rem",
3443
3456
  9.5: "2.375rem",
3444
3457
  18: "4.5rem",
@@ -3681,37 +3694,32 @@ var selectStyle = {
3681
3694
  lineHeight: styleMd.lineHeight,
3682
3695
  letterSpacing: 0
3683
3696
  };
3684
- var boxShadow = (color) => `0 0 0 1px ${color}`;
3685
3697
  function selectStyles(colorMode, _isError) {
3686
- const boxShadowLight = (isFocused = false, isError = false) => {
3687
- if (isError && isFocused || isError) {
3688
- return boxShadow("danger.500");
3689
- }
3690
- if (isFocused) {
3691
- return boxShadow("primary.500");
3692
- }
3693
- return boxShadow("neutral.400");
3694
- };
3695
3698
  return {
3696
- control: (base, state) => colorMode === "dark" ? {
3697
- ...base,
3698
- ...selectStyle,
3699
- background: "transparent",
3700
- color: "primary.300",
3701
- borderColor: "secondary.500",
3702
- boxShadow: state.isFocused ? "none" : `inherit`
3703
- } : {
3704
- ...base,
3705
- ...selectStyle,
3706
- borderWidth: 0,
3707
- boxShadow: boxShadowLight(state.isFocused, _isError)
3699
+ control: (base, { isDisabled, isFocused }) => {
3700
+ const style = {
3701
+ ...base,
3702
+ flexWrap: "nowrap",
3703
+ borderColor: isFocused ? "var(--chakra-colors-primary-500)" : "var(--chakra-colors-neutral-400)",
3704
+ boxShadow: "none",
3705
+ color: isDisabled ? "var(--chakra-colors-black-low)" : "var(--chakra-colors-black-high)",
3706
+ "&:hover": {
3707
+ borderColor: _isError ? "" : isFocused ? "var(--chakra-colors-primary-500)" : "var(--chakra-colors-neutral-500)"
3708
+ }
3709
+ };
3710
+ if (_isError) {
3711
+ return {
3712
+ ...style,
3713
+ borderColor: "var(--chakra-colors-danger-500)"
3714
+ };
3715
+ }
3716
+ return style;
3708
3717
  },
3709
- option: (base, { isSelected }) => colorMode === "dark" ? {
3718
+ option: (base) => ({
3710
3719
  ...base,
3711
3720
  ...selectStyle,
3712
- background: isSelected ? "primary.700" : "dark.800",
3713
- color: "white"
3714
- } : { ...base, ...selectStyle },
3721
+ color: "var(--chakra-colors-neutral-900)"
3722
+ }),
3715
3723
  menu: (base) => colorMode === "dark" ? {
3716
3724
  ...base,
3717
3725
  ...selectStyle,
@@ -3736,23 +3744,23 @@ var themeSelect = (theme6) => {
3736
3744
  ...theme6,
3737
3745
  colors: {
3738
3746
  ...theme6.colors,
3739
- primary: "primary.500",
3740
- primary25: "primary.50",
3741
- primary50: "primary.100",
3742
- primary75: "primary.200"
3747
+ primary: "var(--chakra-colors-primary-100)",
3748
+ primary25: "var(--chakra-colors-primary-50)",
3749
+ primary50: "var(--chakra-colors-primary-100)",
3750
+ primary75: "var(--chakra-colors-primary-200)"
3743
3751
  }
3744
3752
  };
3745
3753
  };
3746
3754
 
3747
3755
  // src/components/select/components/select.tsx
3748
- var import_jsx_runtime53 = require("react/jsx-runtime");
3756
+ var import_jsx_runtime52 = require("react/jsx-runtime");
3749
3757
  function Select2({
3750
3758
  styles,
3751
3759
  isError = false,
3752
3760
  ...rest
3753
3761
  }) {
3754
3762
  const { colorMode } = (0, import_system7.useColorMode)();
3755
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(select_wrapper_default, { isError, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3763
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3756
3764
  import_react_select.default,
3757
3765
  {
3758
3766
  classNamePrefix: "react-select",
@@ -3760,21 +3768,21 @@ function Select2({
3760
3768
  styles: { ...selectStyles(colorMode, isError) },
3761
3769
  theme: themeSelect
3762
3770
  }
3763
- ) });
3771
+ );
3764
3772
  }
3765
3773
  var select_default = Select2;
3766
3774
 
3767
3775
  // src/components/select/components/select-async.tsx
3768
3776
  var import_system8 = require("@chakra-ui/system");
3769
3777
  var import_react_select_async_paginate = require("react-select-async-paginate");
3770
- var import_jsx_runtime54 = require("react/jsx-runtime");
3778
+ var import_jsx_runtime53 = require("react/jsx-runtime");
3771
3779
  function SelectAsync({
3772
3780
  styles,
3773
3781
  isError = false,
3774
3782
  ...rest
3775
3783
  }) {
3776
3784
  const { colorMode } = (0, import_system8.useColorMode)();
3777
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(select_wrapper_default, { isError, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3785
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3778
3786
  import_react_select_async_paginate.AsyncPaginate,
3779
3787
  {
3780
3788
  classNamePrefix: "react-select",
@@ -3782,17 +3790,17 @@ function SelectAsync({
3782
3790
  styles: { ...selectStyles(colorMode, isError), ...styles },
3783
3791
  theme: themeSelect
3784
3792
  }
3785
- ) });
3793
+ );
3786
3794
  }
3787
3795
  var select_async_default = SelectAsync;
3788
3796
 
3789
3797
  // src/components/select/components/select-async-creatable.tsx
3790
3798
  var import_system9 = require("@chakra-ui/system");
3791
3799
  var import_async_creatable = __toESM(require("react-select/async-creatable"));
3792
- var import_jsx_runtime55 = require("react/jsx-runtime");
3800
+ var import_jsx_runtime54 = require("react/jsx-runtime");
3793
3801
  function SelectAsyncCreatable({ styles, isError = false, ...rest }) {
3794
3802
  const { colorMode } = (0, import_system9.useColorMode)();
3795
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(select_wrapper_default, { isError, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3803
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3796
3804
  import_async_creatable.default,
3797
3805
  {
3798
3806
  classNamePrefix: "react-select",
@@ -3800,16 +3808,16 @@ function SelectAsyncCreatable({ styles, isError = false, ...rest }) {
3800
3808
  styles: { ...selectStyles(colorMode, isError), ...styles },
3801
3809
  theme: themeSelect
3802
3810
  }
3803
- ) });
3811
+ );
3804
3812
  }
3805
3813
 
3806
3814
  // src/components/select/components/select-creatable.tsx
3807
3815
  var import_system10 = require("@chakra-ui/system");
3808
3816
  var import_creatable = __toESM(require("react-select/creatable"));
3809
- var import_jsx_runtime56 = require("react/jsx-runtime");
3817
+ var import_jsx_runtime55 = require("react/jsx-runtime");
3810
3818
  function SelectCreatable({ styles, isError = false, ...rest }) {
3811
3819
  const { colorMode } = (0, import_system10.useColorMode)();
3812
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(select_wrapper_default, { isError, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3820
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3813
3821
  import_creatable.default,
3814
3822
  {
3815
3823
  classNamePrefix: "react-select",
@@ -3817,20 +3825,20 @@ function SelectCreatable({ styles, isError = false, ...rest }) {
3817
3825
  styles: { ...selectStyles(colorMode, isError), ...styles },
3818
3826
  theme: themeSelect
3819
3827
  }
3820
- ) });
3828
+ );
3821
3829
  }
3822
3830
 
3823
3831
  // src/components/switch/components/switch.tsx
3824
- var import_react78 = require("@chakra-ui/react");
3832
+ var import_react77 = require("@chakra-ui/react");
3825
3833
  var import_shared_utils9 = require("@chakra-ui/shared-utils");
3826
3834
  var import_internal_icon7 = require("@ctlyst.id/internal-icon");
3827
- var import_react79 = require("react");
3828
- var import_jsx_runtime57 = require("react/jsx-runtime");
3829
- var Switch = (0, import_react78.forwardRef)(function Switch2(props, ref) {
3830
- const styles = (0, import_react78.useMultiStyleConfig)("Switch", props);
3831
- const { spacing: spacing2 = "0.5rem", children, ...ownProps } = (0, import_react78.omitThemingProps)(props);
3832
- const { state, getInputProps, getCheckboxProps, getRootProps, getLabelProps } = (0, import_react78.useCheckbox)(ownProps);
3833
- const containerStyles = (0, import_react79.useMemo)(
3835
+ var import_react78 = require("react");
3836
+ var import_jsx_runtime56 = require("react/jsx-runtime");
3837
+ var Switch = (0, import_react77.forwardRef)(function Switch2(props, ref) {
3838
+ const styles = (0, import_react77.useMultiStyleConfig)("Switch", props);
3839
+ const { spacing: spacing2 = "0.5rem", children, ...ownProps } = (0, import_react77.omitThemingProps)(props);
3840
+ const { state, getInputProps, getCheckboxProps, getRootProps, getLabelProps } = (0, import_react77.useCheckbox)(ownProps);
3841
+ const containerStyles = (0, import_react78.useMemo)(
3834
3842
  () => ({
3835
3843
  display: "inline-block",
3836
3844
  position: "relative",
@@ -3840,7 +3848,7 @@ var Switch = (0, import_react78.forwardRef)(function Switch2(props, ref) {
3840
3848
  }),
3841
3849
  [styles.container]
3842
3850
  );
3843
- const trackStyles = (0, import_react79.useMemo)(
3851
+ const trackStyles = (0, import_react78.useMemo)(
3844
3852
  () => ({
3845
3853
  display: "inline-flex",
3846
3854
  flexShrink: 0,
@@ -3852,7 +3860,7 @@ var Switch = (0, import_react78.forwardRef)(function Switch2(props, ref) {
3852
3860
  }),
3853
3861
  [styles.track]
3854
3862
  );
3855
- const labelStyles = (0, import_react79.useMemo)(
3863
+ const labelStyles = (0, import_react78.useMemo)(
3856
3864
  () => ({
3857
3865
  userSelect: "none",
3858
3866
  marginStart: spacing2,
@@ -3868,8 +3876,8 @@ var Switch = (0, import_react78.forwardRef)(function Switch2(props, ref) {
3868
3876
  };
3869
3877
  return iconSize[value];
3870
3878
  };
3871
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
3872
- import_react78.chakra.label,
3879
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
3880
+ import_react77.chakra.label,
3873
3881
  {
3874
3882
  ...getRootProps(),
3875
3883
  display: "flex",
@@ -3877,14 +3885,14 @@ var Switch = (0, import_react78.forwardRef)(function Switch2(props, ref) {
3877
3885
  className: (0, import_shared_utils9.cx)("chakra-switch", props.className),
3878
3886
  __css: containerStyles,
3879
3887
  children: [
3880
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("input", { "data-test-id": "", className: "chakra-switch__input", ...getInputProps({}, ref) }),
3881
- /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_react78.chakra.span, { ...getCheckboxProps(), className: "chakra-switch__track", pos: "relative", __css: trackStyles, children: [
3882
- /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_react78.Flex, { gap: 2, pos: "absolute", top: "50%", left: "50%", transform: "translate(-50%, -50%)", children: [
3883
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_internal_icon7.Check, { color: "white", size: getIconSize(props.size) }),
3884
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_internal_icon7.Close, { color: state.isDisabled ? "neutral.600" : "neutral.900", size: getIconSize(props.size) })
3888
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("input", { "data-test-id": "", className: "chakra-switch__input", ...getInputProps({}, ref) }),
3889
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_react77.chakra.span, { ...getCheckboxProps(), className: "chakra-switch__track", pos: "relative", __css: trackStyles, children: [
3890
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_react77.Flex, { gap: 2, pos: "absolute", top: "50%", left: "50%", transform: "translate(-50%, -50%)", children: [
3891
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_internal_icon7.Check, { color: "white", size: getIconSize(props.size) }),
3892
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_internal_icon7.Close, { color: state.isDisabled ? "neutral.600" : "neutral.900", size: getIconSize(props.size) })
3885
3893
  ] }),
3886
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
3887
- import_react78.chakra.span,
3894
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3895
+ import_react77.chakra.span,
3888
3896
  {
3889
3897
  __css: styles.thumb,
3890
3898
  className: "chakra-switch__thumb",
@@ -3893,8 +3901,8 @@ var Switch = (0, import_react78.forwardRef)(function Switch2(props, ref) {
3893
3901
  }
3894
3902
  )
3895
3903
  ] }),
3896
- children && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
3897
- import_react78.chakra.span,
3904
+ children && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3905
+ import_react77.chakra.span,
3898
3906
  {
3899
3907
  className: "chakra-switch__label",
3900
3908
  color: state.isDisabled ? "black.low" : "black.high",
@@ -3913,18 +3921,18 @@ Switch.defaultProps = {
3913
3921
  var switch_default = Switch;
3914
3922
 
3915
3923
  // src/components/table/index.tsx
3916
- var import_react80 = require("@chakra-ui/react");
3924
+ var import_react79 = require("@chakra-ui/react");
3917
3925
 
3918
3926
  // src/components/tabs/components/tab.tsx
3919
- var import_react81 = require("@chakra-ui/react");
3920
- var import_jsx_runtime58 = require("react/jsx-runtime");
3921
- var Tab = (0, import_react81.forwardRef)((props, ref) => {
3927
+ var import_react80 = require("@chakra-ui/react");
3928
+ var import_jsx_runtime57 = require("react/jsx-runtime");
3929
+ var Tab = (0, import_react80.forwardRef)((props, ref) => {
3922
3930
  var _a, _b;
3923
- const tabProps = (0, import_react81.useTab)({ ...props, ref });
3931
+ const tabProps = (0, import_react80.useTab)({ ...props, ref });
3924
3932
  const isSelected = !!tabProps["aria-selected"];
3925
- const styles = (0, import_react81.useMultiStyleConfig)("Tabs", tabProps);
3926
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
3927
- import_react81.Button,
3933
+ const styles = (0, import_react80.useMultiStyleConfig)("Tabs", tabProps);
3934
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
3935
+ import_react80.Button,
3928
3936
  {
3929
3937
  "data-test-id": props["data-test-id"],
3930
3938
  p: 4,
@@ -3949,7 +3957,7 @@ var Tab = (0, import_react81.forwardRef)((props, ref) => {
3949
3957
  },
3950
3958
  __css: styles.tab,
3951
3959
  ...tabProps,
3952
- children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_react81.Flex, { alignItems: "center", children: [
3960
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_react80.Flex, { alignItems: "center", children: [
3953
3961
  (_a = props.leftAddon) == null ? void 0 : _a.call(props, { isSelected }),
3954
3962
  tabProps.children,
3955
3963
  (_b = props.rightAddon) == null ? void 0 : _b.call(props, { isSelected })
@@ -3960,16 +3968,16 @@ var Tab = (0, import_react81.forwardRef)((props, ref) => {
3960
3968
  var tab_default = Tab;
3961
3969
 
3962
3970
  // src/components/tabs/index.ts
3963
- var import_react82 = require("@chakra-ui/react");
3971
+ var import_react81 = require("@chakra-ui/react");
3964
3972
 
3965
3973
  // src/components/text/index.ts
3966
- var import_react83 = require("@chakra-ui/react");
3974
+ var import_react82 = require("@chakra-ui/react");
3967
3975
 
3968
3976
  // src/components/tooltip/index.ts
3969
- var import_react84 = require("@chakra-ui/react");
3977
+ var import_react83 = require("@chakra-ui/react");
3970
3978
 
3971
3979
  // src/components/uploader/components/uploader.tsx
3972
- var import_react85 = require("@chakra-ui/react");
3980
+ var import_react84 = require("@chakra-ui/react");
3973
3981
  var React15 = __toESM(require("react"));
3974
3982
  var import_react_dropzone = require("react-dropzone");
3975
3983
 
@@ -3983,7 +3991,7 @@ var messages = {
3983
3991
  };
3984
3992
 
3985
3993
  // src/components/uploader/components/uploader.tsx
3986
- var import_jsx_runtime59 = require("react/jsx-runtime");
3994
+ var import_jsx_runtime58 = require("react/jsx-runtime");
3987
3995
  var Uploader = ({
3988
3996
  onHandleUploadFile,
3989
3997
  onHandleRejections,
@@ -4031,9 +4039,9 @@ var Uploader = ({
4031
4039
  React15.useEffect(() => {
4032
4040
  setIsSelected(selected != null ? selected : false);
4033
4041
  }, [selected]);
4034
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_react85.Stack, { direction: "column", children: [
4035
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
4036
- import_react85.Flex,
4042
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_react84.Stack, { direction: "column", children: [
4043
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
4044
+ import_react84.Flex,
4037
4045
  {
4038
4046
  minH: 200,
4039
4047
  border: "1px dashed",
@@ -4044,11 +4052,11 @@ var Uploader = ({
4044
4052
  ...props,
4045
4053
  ...getRootProps(),
4046
4054
  children: [
4047
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("input", { ...getInputProps() }),
4048
- isDragActive ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react85.Text, { children: messages.dragActive }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_react85.Flex, { flexDirection: "column", alignItems: "center", color: isError ? "danger.500" : "primary.500", children: [
4049
- !multiple && isSelected && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react85.Heading, { fontWeight: 400, fontSize: "18px", lineHeight: 28, color: "black.high", mb: 2, children: selectedFirstFile == null ? void 0 : selectedFirstFile.name }),
4050
- !isSelected && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react85.Heading, { fontWeight: 400, fontSize: "18px", lineHeight: 28, mb: 2, children: messages.uploadFile }),
4051
- isSelected ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react85.Text, { children: messages.dragReplace }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react85.Text, { children: messages.dragInActive })
4055
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("input", { ...getInputProps() }),
4056
+ isDragActive ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react84.Text, { children: messages.dragActive }) : /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_react84.Flex, { flexDirection: "column", alignItems: "center", color: isError ? "danger.500" : "primary.500", children: [
4057
+ !multiple && isSelected && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react84.Heading, { fontWeight: 400, fontSize: "18px", lineHeight: 28, color: "black.high", mb: 2, children: selectedFirstFile == null ? void 0 : selectedFirstFile.name }),
4058
+ !isSelected && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react84.Heading, { fontWeight: 400, fontSize: "18px", lineHeight: 28, mb: 2, children: messages.uploadFile }),
4059
+ isSelected ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react84.Text, { children: messages.dragReplace }) : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react84.Text, { children: messages.dragInActive })
4052
4060
  ] })
4053
4061
  ]
4054
4062
  }
@@ -4065,10 +4073,10 @@ Uploader.defaultProps = {
4065
4073
  var uploader_default = Uploader;
4066
4074
 
4067
4075
  // src/components/index.ts
4068
- var import_react86 = require("@chakra-ui/react");
4076
+ var import_react85 = require("@chakra-ui/react");
4069
4077
 
4070
4078
  // src/config/theme/themeConfiguration.ts
4071
- var import_react92 = require("@chakra-ui/react");
4079
+ var import_react91 = require("@chakra-ui/react");
4072
4080
 
4073
4081
  // src/config/theme/components/index.ts
4074
4082
  var components_exports = {};
@@ -4142,7 +4150,34 @@ var baseStyle = definePartsStyle({
4142
4150
  panel: baseStylePanel,
4143
4151
  icon: baseStyleIcon
4144
4152
  });
4145
- var accordionTheme = defineMultiStyleConfig({ baseStyle });
4153
+ var collapseStyleButton = (0, import_styled_system.defineStyle)({
4154
+ height: 13,
4155
+ borderRadius: "sm",
4156
+ borderWidth: "1px",
4157
+ borderStyle: "solid",
4158
+ borderColor: "neutral.300"
4159
+ });
4160
+ var collapseStylePanel = (0, import_styled_system.defineStyle)({
4161
+ py: 0,
4162
+ pr: 0,
4163
+ pl: 12,
4164
+ borderBottomRadius: "sm",
4165
+ overflow: "hidden",
4166
+ backgroundColor: "neutral.200"
4167
+ });
4168
+ var collapse = definePartsStyle({
4169
+ button: collapseStyleButton,
4170
+ panel: collapseStylePanel
4171
+ });
4172
+ var accordionTheme = defineMultiStyleConfig({
4173
+ baseStyle,
4174
+ variants: {
4175
+ collapse
4176
+ },
4177
+ defaultProps: {
4178
+ variant: void 0
4179
+ }
4180
+ });
4146
4181
  var accordion_default = accordionTheme;
4147
4182
 
4148
4183
  // src/config/theme/components/alert.ts
@@ -4583,8 +4618,8 @@ var card_default2 = CardStyle;
4583
4618
 
4584
4619
  // src/config/theme/components/checkbox.ts
4585
4620
  var import_anatomy3 = require("@chakra-ui/anatomy");
4586
- var import_react87 = require("@chakra-ui/react");
4587
- var { definePartsStyle: definePartsStyle3, defineMultiStyleConfig: defineMultiStyleConfig3 } = (0, import_react87.createMultiStyleConfigHelpers)(import_anatomy3.checkboxAnatomy.keys);
4621
+ var import_react86 = require("@chakra-ui/react");
4622
+ var { definePartsStyle: definePartsStyle3, defineMultiStyleConfig: defineMultiStyleConfig3 } = (0, import_react86.createMultiStyleConfigHelpers)(import_anatomy3.checkboxAnatomy.keys);
4588
4623
  var baseStyle3 = definePartsStyle3({
4589
4624
  control: {
4590
4625
  borderRadius: "sm",
@@ -4865,8 +4900,8 @@ var input_default = Input4;
4865
4900
 
4866
4901
  // src/config/theme/components/loader.ts
4867
4902
  var import_styled_system8 = require("@chakra-ui/styled-system");
4868
- var import_react88 = require("@emotion/react");
4869
- var rotate = (0, import_react88.keyframes)({
4903
+ var import_react87 = require("@emotion/react");
4904
+ var rotate = (0, import_react87.keyframes)({
4870
4905
  "0%": {
4871
4906
  transform: "rotate(0deg)"
4872
4907
  },
@@ -4996,8 +5031,8 @@ var modal_default = Modal3;
4996
5031
 
4997
5032
  // src/config/theme/components/radio.ts
4998
5033
  var import_anatomy5 = require("@chakra-ui/anatomy");
4999
- var import_react89 = require("@chakra-ui/react");
5000
- var { definePartsStyle: definePartsStyle5, defineMultiStyleConfig: defineMultiStyleConfig5 } = (0, import_react89.createMultiStyleConfigHelpers)(import_anatomy5.radioAnatomy.keys);
5034
+ var import_react88 = require("@chakra-ui/react");
5035
+ var { definePartsStyle: definePartsStyle5, defineMultiStyleConfig: defineMultiStyleConfig5 } = (0, import_react88.createMultiStyleConfigHelpers)(import_anatomy5.radioAnatomy.keys);
5001
5036
  var baseStyle6 = definePartsStyle5({
5002
5037
  control: {
5003
5038
  border: "1px solid",
@@ -5425,7 +5460,7 @@ var tabsTheme = defineMultiStyleConfig8({
5425
5460
  var tabs_default = tabsTheme;
5426
5461
 
5427
5462
  // src/config/theme/components/textarea.ts
5428
- var import_react90 = require("@chakra-ui/react");
5463
+ var import_react89 = require("@chakra-ui/react");
5429
5464
  var getProps = (props) => {
5430
5465
  const { isError, isSuccess, isDisabled } = props;
5431
5466
  let borderColor = "neutral.400";
@@ -5445,7 +5480,7 @@ var getProps = (props) => {
5445
5480
  borderColor
5446
5481
  };
5447
5482
  };
5448
- var outline2 = (0, import_react90.defineStyle)((props) => {
5483
+ var outline2 = (0, import_react89.defineStyle)((props) => {
5449
5484
  const { focusBorderColor, borderColor } = getProps(props);
5450
5485
  return {
5451
5486
  background: "white.high",
@@ -5489,7 +5524,7 @@ var outline2 = (0, import_react90.defineStyle)((props) => {
5489
5524
  }
5490
5525
  };
5491
5526
  });
5492
- var Textarea = (0, import_react90.defineStyleConfig)({
5527
+ var Textarea = (0, import_react89.defineStyleConfig)({
5493
5528
  variants: { outline: outline2 },
5494
5529
  defaultProps: {
5495
5530
  variant: "outline"
@@ -5498,14 +5533,14 @@ var Textarea = (0, import_react90.defineStyleConfig)({
5498
5533
  var textarea_default2 = Textarea;
5499
5534
 
5500
5535
  // src/config/theme/components/tooltip.ts
5501
- var import_react91 = require("@chakra-ui/react");
5502
- var $arrowBg = (0, import_react91.cssVar)("popper-arrow-bg");
5536
+ var import_react90 = require("@chakra-ui/react");
5537
+ var $arrowBg = (0, import_react90.cssVar)("popper-arrow-bg");
5503
5538
  var baseStyle9 = {
5504
5539
  bg: "neutral.700",
5505
5540
  fontSize: "text.sm",
5506
5541
  [$arrowBg.variable]: "var(--chakra-colors-neutral-700)"
5507
5542
  };
5508
- var Tooltip2 = (0, import_react91.defineStyleConfig)({ baseStyle: baseStyle9 });
5543
+ var Tooltip2 = (0, import_react90.defineStyleConfig)({ baseStyle: baseStyle9 });
5509
5544
  var tooltip_default = Tooltip2;
5510
5545
 
5511
5546
  // src/config/theme/themeConfiguration.ts
@@ -5515,7 +5550,7 @@ var config = {
5515
5550
  useSystemColorMode: false
5516
5551
  };
5517
5552
  var getTheme = (foundations) => {
5518
- return (0, import_react92.extendTheme)({
5553
+ return (0, import_react91.extendTheme)({
5519
5554
  ...foundations,
5520
5555
  components: {
5521
5556
  ...components_exports
@@ -5531,7 +5566,7 @@ var getTheme = (foundations) => {
5531
5566
  config
5532
5567
  });
5533
5568
  };
5534
- var theme5 = (0, import_react92.extendTheme)({
5569
+ var theme5 = (0, import_react91.extendTheme)({
5535
5570
  components: {
5536
5571
  ...components_exports
5537
5572
  },
@@ -5551,23 +5586,23 @@ var theme5 = (0, import_react92.extendTheme)({
5551
5586
 
5552
5587
  // src/hooks/useFetcher.ts
5553
5588
  var import_axios2 = __toESM(require("axios"));
5554
- var import_react95 = require("react");
5589
+ var import_react94 = require("react");
5555
5590
 
5556
5591
  // src/provider/components/provider.tsx
5557
5592
  var import_axios = __toESM(require("axios"));
5558
- var import_react93 = require("react");
5593
+ var import_react92 = require("react");
5559
5594
  var import_react_toastify = require("react-toastify");
5560
- var import_jsx_runtime60 = require("react/jsx-runtime");
5561
- var ProviderContext = (0, import_react93.createContext)({
5595
+ var import_jsx_runtime59 = require("react/jsx-runtime");
5596
+ var ProviderContext = (0, import_react92.createContext)({
5562
5597
  instance: void 0
5563
5598
  });
5564
5599
  var useInternalUI = () => {
5565
- const { instance } = (0, import_react93.useContext)(ProviderContext);
5600
+ const { instance } = (0, import_react92.useContext)(ProviderContext);
5566
5601
  return { instance };
5567
5602
  };
5568
5603
  var Provider = ({ children, config: config2, requestInterceptors, responseInterceptors }) => {
5569
- const instanceRef = (0, import_react93.useRef)(import_axios.default.create(config2));
5570
- (0, import_react93.useEffect)(() => {
5604
+ const instanceRef = (0, import_react92.useRef)(import_axios.default.create(config2));
5605
+ (0, import_react92.useEffect)(() => {
5571
5606
  requestInterceptors == null ? void 0 : requestInterceptors.forEach((interceptor) => {
5572
5607
  instanceRef.current.interceptors.request.use(interceptor);
5573
5608
  });
@@ -5575,9 +5610,9 @@ var Provider = ({ children, config: config2, requestInterceptors, responseInterc
5575
5610
  instanceRef.current.interceptors.response.use(interceptor);
5576
5611
  });
5577
5612
  }, [requestInterceptors, responseInterceptors]);
5578
- const provider = (0, import_react93.useMemo)(() => ({ instance: instanceRef.current }), []);
5579
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(ProviderContext.Provider, { value: provider, children: [
5580
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react_toastify.ToastContainer, {}),
5613
+ const provider = (0, import_react92.useMemo)(() => ({ instance: instanceRef.current }), []);
5614
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(ProviderContext.Provider, { value: provider, children: [
5615
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_toastify.ToastContainer, {}),
5581
5616
  children
5582
5617
  ] });
5583
5618
  };
@@ -5585,12 +5620,12 @@ Provider.displayName = "Provider";
5585
5620
  var provider_default = Provider;
5586
5621
 
5587
5622
  // src/provider/index.ts
5588
- var import_react94 = require("@chakra-ui/react");
5623
+ var import_react93 = require("@chakra-ui/react");
5589
5624
 
5590
5625
  // src/hooks/useFetcher.ts
5591
5626
  function useFetcher() {
5592
5627
  const { instance } = useInternalUI();
5593
- const axiosInstance = (0, import_react95.useMemo)(() => instance || import_axios2.default, [instance]);
5628
+ const axiosInstance = (0, import_react94.useMemo)(() => instance || import_axios2.default, [instance]);
5594
5629
  const fetcher = async ({ url, data, method, headers, ...config2 }) => {
5595
5630
  const response = await axiosInstance.request({
5596
5631
  data,
@@ -5610,10 +5645,10 @@ function useFetcher() {
5610
5645
  }
5611
5646
 
5612
5647
  // src/hooks/index.ts
5613
- var import_react96 = require("@chakra-ui/react");
5648
+ var import_react95 = require("@chakra-ui/react");
5614
5649
 
5615
5650
  // src/index.ts
5616
- var import_react97 = require("@chakra-ui/react");
5651
+ var import_react96 = require("@chakra-ui/react");
5617
5652
  // Annotate the CommonJS export names for ESM import in node:
5618
5653
  0 && (module.exports = {
5619
5654
  Accordion,