@ctlyst.id/internal-ui 2.1.18 → 2.1.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (187) hide show
  1. package/dist/index.js +107 -85
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +71 -49
  4. package/dist/index.mjs.map +1 -1
  5. package/package.json +1 -1
  6. package/dist/components/accordion/__stories__/accordion.stories.d.ts +0 -9
  7. package/dist/components/accordion/components/accordion-indicator.d.ts +0 -1
  8. package/dist/components/accordion/components/index.d.ts +0 -2
  9. package/dist/components/accordion/index.d.ts +0 -1
  10. package/dist/components/alert/__stories__/alert.stories.d.ts +0 -11
  11. package/dist/components/alert/components/alert-action.d.ts +0 -6
  12. package/dist/components/alert/components/alert-close.d.ts +0 -6
  13. package/dist/components/alert/components/alert-context.d.ts +0 -33
  14. package/dist/components/alert/components/alert-description.d.ts +0 -3
  15. package/dist/components/alert/components/alert-icon.d.ts +0 -6
  16. package/dist/components/alert/components/alert-title.d.ts +0 -3
  17. package/dist/components/alert/components/alert.d.ts +0 -25
  18. package/dist/components/alert/components/icons.d.ts +0 -3
  19. package/dist/components/alert/components/index.d.ts +0 -14
  20. package/dist/components/alert/index.d.ts +0 -1
  21. package/dist/components/anchor/__stories__/anchor.stories.d.ts +0 -9
  22. package/dist/components/anchor/components/anchor.d.ts +0 -20
  23. package/dist/components/anchor/components/index.d.ts +0 -1
  24. package/dist/components/anchor/index.d.ts +0 -1
  25. package/dist/components/badge/__stories__/badge.stories.d.ts +0 -15
  26. package/dist/components/badge/components/badge.d.ts +0 -11
  27. package/dist/components/badge/components/index.d.ts +0 -1
  28. package/dist/components/badge/index.d.ts +0 -1
  29. package/dist/components/breadcrumb/__stories__/breadcrumb.stories.d.ts +0 -8
  30. package/dist/components/breadcrumb/components/bread-crumb.d.ts +0 -18
  31. package/dist/components/breadcrumb/index.d.ts +0 -2
  32. package/dist/components/button/__stories__/button.stories.d.ts +0 -12
  33. package/dist/components/button/components/button.d.ts +0 -4
  34. package/dist/components/button/index.d.ts +0 -3
  35. package/dist/components/card/__stories__/card.stories.d.ts +0 -8
  36. package/dist/components/card/components/card.d.ts +0 -8
  37. package/dist/components/card/index.d.ts +0 -2
  38. package/dist/components/checkbox/__stories__/checkbox.stories.d.ts +0 -13
  39. package/dist/components/checkbox/components/checkbox-group.d.ts +0 -18
  40. package/dist/components/checkbox/components/checkbox.d.ts +0 -10
  41. package/dist/components/checkbox/index.d.ts +0 -5
  42. package/dist/components/chips/__stories__/chips.stories.d.ts +0 -9
  43. package/dist/components/chips/components/chips.d.ts +0 -19
  44. package/dist/components/chips/index.d.ts +0 -2
  45. package/dist/components/collapse/__stories__/collapse.stories.d.ts +0 -7
  46. package/dist/components/counter/__stories__/counter.stories.d.ts +0 -10
  47. package/dist/components/counter/components/counter.d.ts +0 -15
  48. package/dist/components/counter/index.d.ts +0 -1
  49. package/dist/components/data-table/__stories__/datatable.stories.d.ts +0 -21
  50. package/dist/components/data-table/components/data-table.d.ts +0 -30
  51. package/dist/components/data-table/index.d.ts +0 -3
  52. package/dist/components/data-table/types/table-core.d.ts +0 -1
  53. package/dist/components/datepicker/__stories__/datepicker.stories.d.ts +0 -13
  54. package/dist/components/datepicker/components/datepicker-month/datepicker-month.d.ts +0 -9
  55. package/dist/components/datepicker/components/datepicker-month/index.d.ts +0 -4
  56. package/dist/components/datepicker/components/datepicker-month/multi-datepicker-month.d.ts +0 -9
  57. package/dist/components/datepicker/components/datepicker.d.ts +0 -17
  58. package/dist/components/datepicker/components/styles.d.ts +0 -2
  59. package/dist/components/datepicker/components/time-input.d.ts +0 -9
  60. package/dist/components/datepicker/index.d.ts +0 -3
  61. package/dist/components/dialog/__stories__/dialog.stories.d.ts +0 -7
  62. package/dist/components/dialog/components/dialog.d.ts +0 -12
  63. package/dist/components/dialog/index.d.ts +0 -1
  64. package/dist/components/empty-state/__stories__/dialog.stories.d.ts +0 -7
  65. package/dist/components/field/__stories__/field.stories.d.ts +0 -7
  66. package/dist/components/field/components/field.d.ts +0 -15
  67. package/dist/components/field/index.d.ts +0 -2
  68. package/dist/components/form/__stories__/input.stories.d.ts +0 -15
  69. package/dist/components/form/__stories__/textarea.stories.d.ts +0 -7
  70. package/dist/components/form/components/input-addon.d.ts +0 -7
  71. package/dist/components/form/components/input-element.d.ts +0 -2
  72. package/dist/components/form/components/input-field.d.ts +0 -13
  73. package/dist/components/form/components/textarea.d.ts +0 -8
  74. package/dist/components/form/index.d.ts +0 -7
  75. package/dist/components/form/styles/input-field.d.ts +0 -4
  76. package/dist/components/header/__stories__/header.stories.d.ts +0 -9
  77. package/dist/components/header/components/header.d.ts +0 -19
  78. package/dist/components/header/components/logo.d.ts +0 -10
  79. package/dist/components/header/components/profile.d.ts +0 -11
  80. package/dist/components/header/components/switch-mode.d.ts +0 -3
  81. package/dist/components/header/components/version.d.ts +0 -10
  82. package/dist/components/header/index.d.ts +0 -3
  83. package/dist/components/header/types.d.ts +0 -10
  84. package/dist/components/header/utils/formatter.d.ts +0 -2
  85. package/dist/components/image/__stories__/image.stories.d.ts +0 -9
  86. package/dist/components/image/index.d.ts +0 -1
  87. package/dist/components/index.d.ts +0 -34
  88. package/dist/components/layouting/index.d.ts +0 -1
  89. package/dist/components/list/index.d.ts +0 -1
  90. package/dist/components/loader/__stories__/loader.stories.d.ts +0 -9
  91. package/dist/components/loader/components/loader.d.ts +0 -10
  92. package/dist/components/loader/index.d.ts +0 -3
  93. package/dist/components/modal/__stories__/modal.stories.d.ts +0 -7
  94. package/dist/components/modal/components/modal-body.d.ts +0 -4
  95. package/dist/components/modal/components/modal-close-button.d.ts +0 -4
  96. package/dist/components/modal/components/modal-footer.d.ts +0 -4
  97. package/dist/components/modal/components/modal-header.d.ts +0 -4
  98. package/dist/components/modal/index.d.ts +0 -5
  99. package/dist/components/navigation/__stories__/navigation.stories.d.ts +0 -8
  100. package/dist/components/navigation/components/customer-icon.d.ts +0 -2
  101. package/dist/components/navigation/components/mapping-icon.d.ts +0 -2
  102. package/dist/components/navigation/components/navigation-bar.d.ts +0 -12
  103. package/dist/components/navigation/components/navigation.d.ts +0 -11
  104. package/dist/components/navigation/index.d.ts +0 -4
  105. package/dist/components/navigation/types.d.ts +0 -24
  106. package/dist/components/pagination/__stories__/pagination.stories.d.ts +0 -10
  107. package/dist/components/pagination/components/pagination-button-trigger.d.ts +0 -10
  108. package/dist/components/pagination/components/pagination-button.d.ts +0 -6
  109. package/dist/components/pagination/components/pagination-detail.d.ts +0 -10
  110. package/dist/components/pagination/components/pagination-filter.d.ts +0 -13
  111. package/dist/components/pagination/components/pagination.d.ts +0 -16
  112. package/dist/components/pagination/index.d.ts +0 -6
  113. package/dist/components/popover/index.d.ts +0 -1
  114. package/dist/components/radio/__stories__/radio.stories.d.ts +0 -13
  115. package/dist/components/radio/components/radio-group.d.ts +0 -18
  116. package/dist/components/radio/components/radio.d.ts +0 -17
  117. package/dist/components/radio/index.d.ts +0 -3
  118. package/dist/components/rating/__stories__/rating.stories.d.ts +0 -7
  119. package/dist/components/rating/components/rating.d.ts +0 -6
  120. package/dist/components/rating/index.d.ts +0 -2
  121. package/dist/components/select/__stories__/select.stories.d.ts +0 -10
  122. package/dist/components/select/components/select-async-creatable.d.ts +0 -5
  123. package/dist/components/select/components/select-async.d.ts +0 -6
  124. package/dist/components/select/components/select-creatable.d.ts +0 -5
  125. package/dist/components/select/components/select-wrapper.d.ts +0 -6
  126. package/dist/components/select/components/select.d.ts +0 -5
  127. package/dist/components/select/components/types/select.types.d.ts +0 -3
  128. package/dist/components/select/components/utils.d.ts +0 -26
  129. package/dist/components/select/index.d.ts +0 -8
  130. package/dist/components/switch/__stories__/switch.stories.d.ts +0 -10
  131. package/dist/components/switch/components/switch.d.ts +0 -18
  132. package/dist/components/switch/index.d.ts +0 -2
  133. package/dist/components/table/index.d.ts +0 -1
  134. package/dist/components/tabs/__stories__/tabs.stories.d.ts +0 -8
  135. package/dist/components/tabs/components/tab.d.ts +0 -12
  136. package/dist/components/tabs/index.d.ts +0 -2
  137. package/dist/components/text/index.d.ts +0 -1
  138. package/dist/components/toast/__stories__/toast.stories.d.ts +0 -12
  139. package/dist/components/toast/components/toast.d.ts +0 -21
  140. package/dist/components/toast/index.d.ts +0 -1
  141. package/dist/components/tooltip/__stories__/tooltip.stories.d.ts +0 -7
  142. package/dist/components/tooltip/index.d.ts +0 -1
  143. package/dist/components/uploader/__stories__/uploader.stories.d.ts +0 -9
  144. package/dist/components/uploader/components/uploader.d.ts +0 -12
  145. package/dist/components/uploader/constants.d.ts +0 -8
  146. package/dist/components/uploader/index.d.ts +0 -2
  147. package/dist/config/__stories__/foundations.stories.d.ts +0 -15
  148. package/dist/config/__stories__/globals.stories.d.ts +0 -10
  149. package/dist/config/index.d.ts +0 -1
  150. package/dist/config/theme/components/accordion.d.ts +0 -53
  151. package/dist/config/theme/components/alert.d.ts +0 -69
  152. package/dist/config/theme/components/badge.d.ts +0 -3
  153. package/dist/config/theme/components/button.d.ts +0 -3
  154. package/dist/config/theme/components/card.d.ts +0 -18
  155. package/dist/config/theme/components/checkbox.d.ts +0 -101
  156. package/dist/config/theme/components/chips.d.ts +0 -34
  157. package/dist/config/theme/components/form-label.d.ts +0 -20
  158. package/dist/config/theme/components/index.d.ts +0 -16
  159. package/dist/config/theme/components/input.d.ts +0 -101
  160. package/dist/config/theme/components/loader.d.ts +0 -85
  161. package/dist/config/theme/components/popover.d.ts +0 -3
  162. package/dist/config/theme/components/radio.d.ts +0 -102
  163. package/dist/config/theme/components/switch.d.ts +0 -75
  164. package/dist/config/theme/components/table.d.ts +0 -180
  165. package/dist/config/theme/components/tabs.d.ts +0 -30
  166. package/dist/config/theme/components/textarea.d.ts +0 -55
  167. package/dist/config/theme/foundations/index.d.ts +0 -5
  168. package/dist/config/theme/foundations/radius.d.ts +0 -8
  169. package/dist/config/theme/foundations/shadows.d.ts +0 -15
  170. package/dist/config/theme/foundations/sizes.d.ts +0 -66
  171. package/dist/config/theme/foundations/spacing.d.ts +0 -42
  172. package/dist/config/theme/foundations/typography.d.ts +0 -191
  173. package/dist/config/theme/index.d.ts +0 -1
  174. package/dist/config/theme/themeConfiguration.d.ts +0 -6
  175. package/dist/hooks/index.d.ts +0 -2
  176. package/dist/hooks/useFetcher.d.ts +0 -4
  177. package/dist/interfaces/common.d.ts +0 -17
  178. package/dist/internal-ui.cjs.development.js +0 -6119
  179. package/dist/internal-ui.cjs.development.js.map +0 -1
  180. package/dist/internal-ui.cjs.production.min.js +0 -38
  181. package/dist/internal-ui.cjs.production.min.js.map +0 -1
  182. package/dist/internal-ui.esm.js +0 -5082
  183. package/dist/internal-ui.esm.js.map +0 -1
  184. package/dist/provider/__stories__/provider.stories.d.ts +0 -13
  185. package/dist/provider/components/provider.d.ts +0 -7
  186. package/dist/provider/index.d.ts +0 -3
  187. package/dist/provider/types.d.ts +0 -14
package/dist/index.js CHANGED
@@ -74,8 +74,8 @@ __export(src_exports, {
74
74
  ButtonGroupProps: () => import_react9.ButtonGroupProps,
75
75
  Card: () => card_default,
76
76
  Center: () => import_react47.Center,
77
- ChakraProvider: () => import_react91.ChakraProvider,
78
- ChakraProviderProps: () => import_react91.ChakraProviderProps,
77
+ ChakraProvider: () => import_react92.ChakraProvider,
78
+ ChakraProviderProps: () => import_react92.ChakraProviderProps,
79
79
  ChakraTable: () => import_react77.Table,
80
80
  Checkbox: () => checkbox_default,
81
81
  CheckboxGroup: () => checkbox_group_default,
@@ -91,9 +91,9 @@ __export(src_exports, {
91
91
  CodeProps: () => import_react80.CodeProps,
92
92
  Collapse: () => import_react83.Collapse,
93
93
  CollapseProps: () => import_react83.CollapseProps,
94
- ColorMode: () => import_react91.ColorMode,
95
- ColorModeScript: () => import_react91.ColorModeScript,
96
- ColorModeScriptProps: () => import_react91.ColorModeScriptProps,
94
+ ColorMode: () => import_react92.ColorMode,
95
+ ColorModeScript: () => import_react92.ColorModeScript,
96
+ ColorModeScriptProps: () => import_react92.ColorModeScriptProps,
97
97
  Container: () => import_react47.Container,
98
98
  ContainerProps: () => import_react47.ContainerProps,
99
99
  Counter: () => counter_default,
@@ -282,7 +282,7 @@ __export(src_exports, {
282
282
  UseCheckboxGroupReturn: () => import_react16.UseCheckboxGroupReturn,
283
283
  UseCheckboxProps: () => import_react16.UseCheckboxProps,
284
284
  UseCheckboxReturn: () => import_react16.UseCheckboxReturn,
285
- UseDisclosureProps: () => import_react93.UseDisclosureProps,
285
+ UseDisclosureProps: () => import_react94.UseDisclosureProps,
286
286
  UseImageProps: () => import_react83.UseImageProps,
287
287
  UseImageReturn: () => import_react83.UseImageReturn,
288
288
  UseMediaQueryOptions: () => import_react83.UseMediaQueryOptions,
@@ -306,8 +306,8 @@ __export(src_exports, {
306
306
  WrapItem: () => import_react47.WrapItem,
307
307
  WrapItemProps: () => import_react47.WrapItemProps,
308
308
  WrapProps: () => import_react47.WrapProps,
309
- extendTheme: () => import_react94.extendTheme,
310
- forwardRef: () => import_react94.forwardRef,
309
+ extendTheme: () => import_react95.extendTheme,
310
+ forwardRef: () => import_react95.forwardRef,
311
311
  getTheme: () => getTheme,
312
312
  theme: () => theme5,
313
313
  useAccordion: () => import_react3.useAccordion,
@@ -316,29 +316,29 @@ __export(src_exports, {
316
316
  useAccordionItemState: () => import_react3.useAccordionItemState,
317
317
  useAccordionStyles: () => import_react3.useAccordionStyles,
318
318
  useAlertStyles: () => useAlertStyles,
319
- useBoolean: () => import_react93.useBoolean,
319
+ useBoolean: () => import_react94.useBoolean,
320
320
  useBreakpoint: () => import_react83.useBreakpoint,
321
321
  useCheckbox: () => import_react16.useCheckbox,
322
322
  useCheckboxGroup: () => import_react16.useCheckboxGroup,
323
- useClipboard: () => import_react93.useClipboard,
324
- useColorMode: () => import_react93.useColorMode,
323
+ useClipboard: () => import_react94.useClipboard,
324
+ useColorMode: () => import_react94.useColorMode,
325
325
  useColorModePreference: () => import_react83.useColorModePreference,
326
- useColorModeValue: () => import_react93.useColorModeValue,
327
- useConst: () => import_react93.useConst,
328
- useControllableProp: () => import_react93.useControllableProp,
329
- useControllableState: () => import_react93.useControllableState,
326
+ useColorModeValue: () => import_react94.useColorModeValue,
327
+ useConst: () => import_react94.useConst,
328
+ useControllableProp: () => import_react94.useControllableProp,
329
+ useControllableState: () => import_react94.useControllableState,
330
330
  useDataTable: () => useDataTable,
331
- useDimensions: () => import_react93.useDimensions,
332
- useDisclosure: () => import_react93.useDisclosure,
331
+ useDimensions: () => import_react94.useDimensions,
332
+ useDisclosure: () => import_react94.useDisclosure,
333
333
  useDrawerContext: () => import_react58.useDrawerContext,
334
334
  useFetcher: () => useFetcher,
335
335
  useImage: () => import_react83.useImage,
336
336
  useInternalUI: () => useInternalUI,
337
- useMergeRefs: () => import_react93.useMergeRefs,
337
+ useMergeRefs: () => import_react94.useMergeRefs,
338
338
  useModal: () => import_react58.useModal,
339
339
  useModalContext: () => import_react58.useModalContext,
340
340
  useModalStyles: () => import_react58.useModalStyles,
341
- useOutsideClick: () => import_react93.useOutsideClick,
341
+ useOutsideClick: () => import_react94.useOutsideClick,
342
342
  useQuery: () => import_react83.useQuery,
343
343
  useRadio: () => import_react70.useRadio,
344
344
  useRadioGroup: () => import_react70.useRadioGroup,
@@ -355,8 +355,8 @@ __export(src_exports, {
355
355
  useTabsDescendants: () => import_react79.useTabsDescendants,
356
356
  useTabsDescendantsContext: () => import_react79.useTabsDescendantsContext,
357
357
  useTabsStyles: () => import_react79.useTabsStyles,
358
- useTheme: () => import_react93.useTheme,
359
- useToken: () => import_react93.useToken
358
+ useTheme: () => import_react94.useTheme,
359
+ useToken: () => import_react94.useToken
360
360
  });
361
361
  module.exports = __toCommonJS(src_exports);
362
362
 
@@ -1202,13 +1202,12 @@ var getCommonPinningStyles = (column) => {
1202
1202
  "&:after": {
1203
1203
  content: "''",
1204
1204
  position: "absolute",
1205
- width: "20%",
1206
- height: "100%",
1205
+ width: "30px",
1207
1206
  right: "0px",
1207
+ bottom: "-1px",
1208
1208
  top: 0,
1209
- zIndex: -1,
1210
- boxShadow: "-10px 0px 20px 10px #00000010",
1211
- clipPath: "inset(0px -38px 0px 0px)"
1209
+ transform: "translateX(100%)",
1210
+ boxShadow: "inset 14px 0px 20px -10px #00000010"
1212
1211
  }
1213
1212
  } : {},
1214
1213
  ...isFirstRightPinnedColumn ? {
@@ -1216,13 +1215,12 @@ var getCommonPinningStyles = (column) => {
1216
1215
  "&:after": {
1217
1216
  content: "''",
1218
1217
  position: "absolute",
1219
- width: "20%",
1220
- height: "100%",
1218
+ width: "30px",
1221
1219
  left: "0%",
1222
1220
  top: 0,
1223
- zIndex: -1,
1224
- boxShadow: "10px 0px 20px 10px #00000010",
1225
- clipPath: "inset(0px 0px 0px -38px )"
1221
+ bottom: "-1px",
1222
+ transform: "translateX(-100%)",
1223
+ boxShadow: "inset -14px 0px 20px -10px #00000010"
1226
1224
  }
1227
1225
  } : {}
1228
1226
  };
@@ -4025,7 +4023,7 @@ var uploader_default = Uploader;
4025
4023
  var import_react83 = require("@chakra-ui/react");
4026
4024
 
4027
4025
  // src/config/theme/themeConfiguration.ts
4028
- var import_react89 = require("@chakra-ui/react");
4026
+ var import_react90 = require("@chakra-ui/react");
4029
4027
 
4030
4028
  // src/config/theme/components/index.ts
4031
4029
  var components_exports = {};
@@ -4041,6 +4039,7 @@ __export(components_exports, {
4041
4039
  Input: () => input_default,
4042
4040
  LoaderStyle: () => loader_default2,
4043
4041
  Modal: () => modal_default,
4042
+ Popover: () => popover_default,
4044
4043
  Radio: () => radio_default,
4045
4044
  Switch: () => switch_default2,
4046
4045
  Table: () => table_default,
@@ -4981,11 +4980,23 @@ var Modal3 = (0, import_styled_system9.defineStyleConfig)({
4981
4980
  });
4982
4981
  var modal_default = Modal3;
4983
4982
 
4984
- // src/config/theme/components/radio.ts
4983
+ // src/config/theme/components/popover.ts
4985
4984
  var import_anatomy5 = require("@chakra-ui/anatomy");
4986
4985
  var import_react86 = require("@chakra-ui/react");
4987
- var { definePartsStyle: definePartsStyle5, defineMultiStyleConfig: defineMultiStyleConfig5 } = (0, import_react86.createMultiStyleConfigHelpers)(import_anatomy5.radioAnatomy.keys);
4986
+ var { definePartsStyle: definePartsStyle5, defineMultiStyleConfig: defineMultiStyleConfig5 } = (0, import_react86.createMultiStyleConfigHelpers)(import_anatomy5.popoverAnatomy.keys);
4988
4987
  var baseStyle6 = definePartsStyle5({
4988
+ content: {
4989
+ bg: "white"
4990
+ }
4991
+ });
4992
+ var popoverTheme = defineMultiStyleConfig5({ baseStyle: baseStyle6 });
4993
+ var popover_default = popoverTheme;
4994
+
4995
+ // src/config/theme/components/radio.ts
4996
+ var import_anatomy6 = require("@chakra-ui/anatomy");
4997
+ var import_react87 = require("@chakra-ui/react");
4998
+ var { definePartsStyle: definePartsStyle6, defineMultiStyleConfig: defineMultiStyleConfig6 } = (0, import_react87.createMultiStyleConfigHelpers)(import_anatomy6.radioAnatomy.keys);
4999
+ var baseStyle7 = definePartsStyle6({
4989
5000
  control: {
4990
5001
  border: "1px solid",
4991
5002
  width: "16px",
@@ -5001,7 +5012,7 @@ var baseStyle6 = definePartsStyle5({
5001
5012
  }
5002
5013
  }
5003
5014
  });
5004
- var errors2 = definePartsStyle5({
5015
+ var errors2 = definePartsStyle6({
5005
5016
  control: {
5006
5017
  borderColor: "danger.500",
5007
5018
  _checked: {
@@ -5036,7 +5047,7 @@ var errors2 = definePartsStyle5({
5036
5047
  fontSize: "12px"
5037
5048
  }
5038
5049
  });
5039
- var unstyled3 = definePartsStyle5({
5050
+ var unstyled3 = definePartsStyle6({
5040
5051
  control: {
5041
5052
  borderColor: "neutral.600",
5042
5053
  _checked: {
@@ -5075,8 +5086,8 @@ var variants4 = {
5075
5086
  errors: errors2,
5076
5087
  unstyled: unstyled3
5077
5088
  };
5078
- var Radio2 = defineMultiStyleConfig5({
5079
- baseStyle: baseStyle6,
5089
+ var Radio2 = defineMultiStyleConfig6({
5090
+ baseStyle: baseStyle7,
5080
5091
  variants: variants4,
5081
5092
  defaultProps: {
5082
5093
  variant: "unstyled"
@@ -5085,10 +5096,10 @@ var Radio2 = defineMultiStyleConfig5({
5085
5096
  var radio_default = Radio2;
5086
5097
 
5087
5098
  // src/config/theme/components/switch.ts
5088
- var import_anatomy6 = require("@chakra-ui/anatomy");
5099
+ var import_anatomy7 = require("@chakra-ui/anatomy");
5089
5100
  var import_styled_system10 = require("@chakra-ui/styled-system");
5090
5101
  var import_theme_tools2 = require("@chakra-ui/theme-tools");
5091
- var { defineMultiStyleConfig: defineMultiStyleConfig6, definePartsStyle: definePartsStyle6 } = (0, import_styled_system10.createMultiStyleConfigHelpers)(import_anatomy6.switchAnatomy.keys);
5102
+ var { defineMultiStyleConfig: defineMultiStyleConfig7, definePartsStyle: definePartsStyle7 } = (0, import_styled_system10.createMultiStyleConfigHelpers)(import_anatomy7.switchAnatomy.keys);
5092
5103
  var $width = (0, import_theme_tools2.cssVar)("switch-track-width");
5093
5104
  var $height = (0, import_theme_tools2.cssVar)("switch-track-height");
5094
5105
  var $diff = (0, import_theme_tools2.cssVar)("switch-track-diff");
@@ -5105,7 +5116,7 @@ var baseStyleThumb = (0, import_styled_system10.defineStyle)({
5105
5116
  transform: `translateX(${$translateX.reference})`
5106
5117
  }
5107
5118
  });
5108
- var baseStyle7 = definePartsStyle6(() => ({
5119
+ var baseStyle8 = definePartsStyle7(() => ({
5109
5120
  container: {
5110
5121
  [$diff.variable]: diffValue,
5111
5122
  [$translateX.variable]: $diff.reference,
@@ -5130,7 +5141,7 @@ var baseStyle7 = definePartsStyle6(() => ({
5130
5141
  thumb: baseStyleThumb
5131
5142
  }));
5132
5143
  var sizes3 = {
5133
- sm: definePartsStyle6({
5144
+ sm: definePartsStyle7({
5134
5145
  container: {
5135
5146
  [$width.variable]: "1.875rem",
5136
5147
  [$height.variable]: "0.75rem"
@@ -5140,7 +5151,7 @@ var sizes3 = {
5140
5151
  [$height.variable]: "0.75rem"
5141
5152
  }
5142
5153
  }),
5143
- md: definePartsStyle6({
5154
+ md: definePartsStyle7({
5144
5155
  container: {
5145
5156
  [$width.variable]: "2.375rem",
5146
5157
  [$height.variable]: "1rem"
@@ -5150,7 +5161,7 @@ var sizes3 = {
5150
5161
  [$height.variable]: "1rem"
5151
5162
  }
5152
5163
  }),
5153
- lg: definePartsStyle6({
5164
+ lg: definePartsStyle7({
5154
5165
  container: {
5155
5166
  [$width.variable]: "3.25rem",
5156
5167
  [$height.variable]: "1.375rem"
@@ -5161,8 +5172,8 @@ var sizes3 = {
5161
5172
  }
5162
5173
  })
5163
5174
  };
5164
- var Switch3 = defineMultiStyleConfig6({
5165
- baseStyle: baseStyle7,
5175
+ var Switch3 = defineMultiStyleConfig7({
5176
+ baseStyle: baseStyle8,
5166
5177
  sizes: sizes3,
5167
5178
  defaultProps: {
5168
5179
  size: "md"
@@ -5171,14 +5182,15 @@ var Switch3 = defineMultiStyleConfig6({
5171
5182
  var switch_default2 = Switch3;
5172
5183
 
5173
5184
  // src/config/theme/components/table.ts
5174
- var import_anatomy7 = require("@chakra-ui/anatomy");
5185
+ var import_anatomy8 = require("@chakra-ui/anatomy");
5175
5186
  var import_styled_system11 = require("@chakra-ui/styled-system");
5176
5187
  var import_theme_tools3 = require("@chakra-ui/theme-tools");
5177
- var { defineMultiStyleConfig: defineMultiStyleConfig7, definePartsStyle: definePartsStyle7 } = (0, import_styled_system11.createMultiStyleConfigHelpers)(import_anatomy7.tableAnatomy.keys);
5178
- var baseStyle8 = definePartsStyle7({
5188
+ var { defineMultiStyleConfig: defineMultiStyleConfig8, definePartsStyle: definePartsStyle8 } = (0, import_styled_system11.createMultiStyleConfigHelpers)(import_anatomy8.tableAnatomy.keys);
5189
+ var baseStyle9 = definePartsStyle8({
5179
5190
  table: {
5180
5191
  fontVariantNumeric: "lining-nums tabular-nums",
5181
- borderCollapse: "collapse",
5192
+ borderCollapse: "separate",
5193
+ borderSpacing: 0,
5182
5194
  width: "full",
5183
5195
  tableLayout: "fixed"
5184
5196
  },
@@ -5204,15 +5216,25 @@ var baseStyle8 = definePartsStyle7({
5204
5216
  tr: {
5205
5217
  cursor: "pointer",
5206
5218
  _hover: {
5207
- backgroundColor: "neutral.200"
5219
+ td: {
5220
+ backgroundColor: "neutral.200",
5221
+ "&>div": {
5222
+ backgroundColor: "neutral.200"
5223
+ }
5224
+ }
5208
5225
  },
5209
5226
  '&[data-active="true"]': {
5210
- backgroundColor: "neutral.100"
5227
+ td: {
5228
+ backgroundColor: "neutral.100",
5229
+ "&>div": {
5230
+ backgroundColor: "neutral.200"
5231
+ }
5232
+ }
5211
5233
  }
5212
5234
  }
5213
5235
  },
5214
5236
  td: {
5215
- backgroundColor: "neutral.50",
5237
+ // backgroundColor: 'neutral.50',
5216
5238
  textAlign: "start",
5217
5239
  height: "56px",
5218
5240
  "&:first-of-type": {
@@ -5237,7 +5259,7 @@ var numericStyles = (0, import_styled_system11.defineStyle)({
5237
5259
  textAlign: "end"
5238
5260
  }
5239
5261
  });
5240
- var variantSimple = definePartsStyle7((props) => {
5262
+ var variantSimple = definePartsStyle8((props) => {
5241
5263
  const { colorScheme: c } = props;
5242
5264
  return {
5243
5265
  th: {
@@ -5263,7 +5285,7 @@ var variantSimple = definePartsStyle7((props) => {
5263
5285
  }
5264
5286
  };
5265
5287
  });
5266
- var variantStripe = definePartsStyle7((props) => {
5288
+ var variantStripe = definePartsStyle8((props) => {
5267
5289
  const { colorScheme: c } = props;
5268
5290
  return {
5269
5291
  th: {
@@ -5308,7 +5330,7 @@ var variants5 = {
5308
5330
  unstyled: (0, import_styled_system11.defineStyle)({})
5309
5331
  };
5310
5332
  var sizes4 = {
5311
- sm: definePartsStyle7({
5333
+ sm: definePartsStyle8({
5312
5334
  th: {
5313
5335
  px: "2",
5314
5336
  py: "4",
@@ -5327,7 +5349,7 @@ var sizes4 = {
5327
5349
  fontSize: "xs"
5328
5350
  }
5329
5351
  }),
5330
- md: definePartsStyle7({
5352
+ md: definePartsStyle8({
5331
5353
  th: {
5332
5354
  px: "2",
5333
5355
  py: "4",
@@ -5345,7 +5367,7 @@ var sizes4 = {
5345
5367
  fontSize: "sm"
5346
5368
  }
5347
5369
  }),
5348
- lg: definePartsStyle7({
5370
+ lg: definePartsStyle8({
5349
5371
  th: {
5350
5372
  px: "2",
5351
5373
  py: "4",
@@ -5364,8 +5386,8 @@ var sizes4 = {
5364
5386
  }
5365
5387
  })
5366
5388
  };
5367
- var tableTheme = defineMultiStyleConfig7({
5368
- baseStyle: baseStyle8,
5389
+ var tableTheme = defineMultiStyleConfig8({
5390
+ baseStyle: baseStyle9,
5369
5391
  variants: variants5,
5370
5392
  sizes: sizes4,
5371
5393
  defaultProps: {
@@ -5377,10 +5399,10 @@ var tableTheme = defineMultiStyleConfig7({
5377
5399
  var table_default = tableTheme;
5378
5400
 
5379
5401
  // src/config/theme/components/tabs.ts
5380
- var import_anatomy8 = require("@chakra-ui/anatomy");
5402
+ var import_anatomy9 = require("@chakra-ui/anatomy");
5381
5403
  var import_styled_system12 = require("@chakra-ui/styled-system");
5382
- var { defineMultiStyleConfig: defineMultiStyleConfig8, definePartsStyle: definePartsStyle8 } = (0, import_styled_system12.createMultiStyleConfigHelpers)(import_anatomy8.tabsAnatomy.keys);
5383
- var variantLine = definePartsStyle8((props) => {
5404
+ var { defineMultiStyleConfig: defineMultiStyleConfig9, definePartsStyle: definePartsStyle9 } = (0, import_styled_system12.createMultiStyleConfigHelpers)(import_anatomy9.tabsAnatomy.keys);
5405
+ var variantLine = definePartsStyle9((props) => {
5384
5406
  const { orientation } = props;
5385
5407
  const isVertical = orientation === "vertical";
5386
5408
  const borderProp = isVertical ? "borderStart" : "borderBottom";
@@ -5397,12 +5419,12 @@ var variantLine = definePartsStyle8((props) => {
5397
5419
  }
5398
5420
  };
5399
5421
  });
5400
- var variantUnstyled = definePartsStyle8({});
5422
+ var variantUnstyled = definePartsStyle9({});
5401
5423
  var variants6 = {
5402
5424
  line: variantLine,
5403
5425
  unstyled: variantUnstyled
5404
5426
  };
5405
- var tabsTheme = defineMultiStyleConfig8({
5427
+ var tabsTheme = defineMultiStyleConfig9({
5406
5428
  variants: variants6,
5407
5429
  defaultProps: {
5408
5430
  size: "md",
@@ -5412,7 +5434,7 @@ var tabsTheme = defineMultiStyleConfig8({
5412
5434
  var tabs_default = tabsTheme;
5413
5435
 
5414
5436
  // src/config/theme/components/textarea.ts
5415
- var import_react87 = require("@chakra-ui/react");
5437
+ var import_react88 = require("@chakra-ui/react");
5416
5438
  var getProps = (props) => {
5417
5439
  const { isError, isSuccess, isDisabled } = props;
5418
5440
  let borderColor = "neutral.400";
@@ -5432,7 +5454,7 @@ var getProps = (props) => {
5432
5454
  borderColor
5433
5455
  };
5434
5456
  };
5435
- var outline2 = (0, import_react87.defineStyle)((props) => {
5457
+ var outline2 = (0, import_react88.defineStyle)((props) => {
5436
5458
  const { focusBorderColor, borderColor } = getProps(props);
5437
5459
  return {
5438
5460
  background: "white.high",
@@ -5476,7 +5498,7 @@ var outline2 = (0, import_react87.defineStyle)((props) => {
5476
5498
  }
5477
5499
  };
5478
5500
  });
5479
- var Textarea = (0, import_react87.defineStyleConfig)({
5501
+ var Textarea = (0, import_react88.defineStyleConfig)({
5480
5502
  variants: { outline: outline2 },
5481
5503
  defaultProps: {
5482
5504
  variant: "outline"
@@ -5485,14 +5507,14 @@ var Textarea = (0, import_react87.defineStyleConfig)({
5485
5507
  var textarea_default2 = Textarea;
5486
5508
 
5487
5509
  // src/config/theme/components/tooltip.ts
5488
- var import_react88 = require("@chakra-ui/react");
5489
- var $arrowBg = (0, import_react88.cssVar)("popper-arrow-bg");
5490
- var baseStyle9 = {
5510
+ var import_react89 = require("@chakra-ui/react");
5511
+ var $arrowBg = (0, import_react89.cssVar)("popper-arrow-bg");
5512
+ var baseStyle10 = {
5491
5513
  bg: "neutral.700",
5492
5514
  fontSize: "text.sm",
5493
5515
  [$arrowBg.variable]: "var(--chakra-colors-neutral-700)"
5494
5516
  };
5495
- var Tooltip2 = (0, import_react88.defineStyleConfig)({ baseStyle: baseStyle9 });
5517
+ var Tooltip2 = (0, import_react89.defineStyleConfig)({ baseStyle: baseStyle10 });
5496
5518
  var tooltip_default = Tooltip2;
5497
5519
 
5498
5520
  // src/config/theme/themeConfiguration.ts
@@ -5502,7 +5524,7 @@ var config = {
5502
5524
  useSystemColorMode: false
5503
5525
  };
5504
5526
  var getTheme = (foundations) => {
5505
- return (0, import_react89.extendTheme)({
5527
+ return (0, import_react90.extendTheme)({
5506
5528
  ...foundations,
5507
5529
  components: {
5508
5530
  ...components_exports
@@ -5518,7 +5540,7 @@ var getTheme = (foundations) => {
5518
5540
  config
5519
5541
  });
5520
5542
  };
5521
- var theme5 = (0, import_react89.extendTheme)({
5543
+ var theme5 = (0, import_react90.extendTheme)({
5522
5544
  components: {
5523
5545
  ...components_exports
5524
5546
  },
@@ -5538,23 +5560,23 @@ var theme5 = (0, import_react89.extendTheme)({
5538
5560
 
5539
5561
  // src/hooks/useFetcher.ts
5540
5562
  var import_axios2 = __toESM(require("axios"));
5541
- var import_react92 = require("react");
5563
+ var import_react93 = require("react");
5542
5564
 
5543
5565
  // src/provider/components/provider.tsx
5544
5566
  var import_axios = __toESM(require("axios"));
5545
- var import_react90 = require("react");
5567
+ var import_react91 = require("react");
5546
5568
  var import_react_toastify = require("react-toastify");
5547
5569
  var import_jsx_runtime59 = require("react/jsx-runtime");
5548
- var ProviderContext = (0, import_react90.createContext)({
5570
+ var ProviderContext = (0, import_react91.createContext)({
5549
5571
  instance: void 0
5550
5572
  });
5551
5573
  var useInternalUI = () => {
5552
- const { instance } = (0, import_react90.useContext)(ProviderContext);
5574
+ const { instance } = (0, import_react91.useContext)(ProviderContext);
5553
5575
  return { instance };
5554
5576
  };
5555
5577
  var Provider = ({ children, config: config2, requestInterceptors, responseInterceptors }) => {
5556
- const instanceRef = (0, import_react90.useRef)(import_axios.default.create(config2));
5557
- (0, import_react90.useEffect)(() => {
5578
+ const instanceRef = (0, import_react91.useRef)(import_axios.default.create(config2));
5579
+ (0, import_react91.useEffect)(() => {
5558
5580
  requestInterceptors == null ? void 0 : requestInterceptors.forEach((interceptor) => {
5559
5581
  instanceRef.current.interceptors.request.use(interceptor);
5560
5582
  });
@@ -5562,7 +5584,7 @@ var Provider = ({ children, config: config2, requestInterceptors, responseInterc
5562
5584
  instanceRef.current.interceptors.response.use(interceptor);
5563
5585
  });
5564
5586
  }, [requestInterceptors, responseInterceptors]);
5565
- const provider = (0, import_react90.useMemo)(() => ({ instance: instanceRef.current }), []);
5587
+ const provider = (0, import_react91.useMemo)(() => ({ instance: instanceRef.current }), []);
5566
5588
  return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(ProviderContext.Provider, { value: provider, children: [
5567
5589
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_toastify.ToastContainer, {}),
5568
5590
  children
@@ -5572,12 +5594,12 @@ Provider.displayName = "Provider";
5572
5594
  var provider_default = Provider;
5573
5595
 
5574
5596
  // src/provider/index.ts
5575
- var import_react91 = require("@chakra-ui/react");
5597
+ var import_react92 = require("@chakra-ui/react");
5576
5598
 
5577
5599
  // src/hooks/useFetcher.ts
5578
5600
  function useFetcher() {
5579
5601
  const { instance } = useInternalUI();
5580
- const axiosInstance = (0, import_react92.useMemo)(() => instance || import_axios2.default, [instance]);
5602
+ const axiosInstance = (0, import_react93.useMemo)(() => instance || import_axios2.default, [instance]);
5581
5603
  const fetcher = async ({ url, data, method, headers, ...config2 }) => {
5582
5604
  const response = await axiosInstance.request({
5583
5605
  data,
@@ -5597,10 +5619,10 @@ function useFetcher() {
5597
5619
  }
5598
5620
 
5599
5621
  // src/hooks/index.ts
5600
- var import_react93 = require("@chakra-ui/react");
5622
+ var import_react94 = require("@chakra-ui/react");
5601
5623
 
5602
5624
  // src/index.ts
5603
- var import_react94 = require("@chakra-ui/react");
5625
+ var import_react95 = require("@chakra-ui/react");
5604
5626
  // Annotate the CommonJS export names for ESM import in node:
5605
5627
  0 && (module.exports = {
5606
5628
  Accordion,