@ctlyst.id/internal-ui 3.1.5 → 3.1.7

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.
package/dist/index.mjs CHANGED
@@ -945,6 +945,12 @@ import { flexRender, getCoreRowModel, getSortedRowModel, useReactTable } from "@
945
945
  import * as React5 from "react";
946
946
  import { useRef } from "react";
947
947
  import { jsx as jsx24, jsxs as jsxs8 } from "react/jsx-runtime";
948
+ var isCellDisabled = (row, cellId) => {
949
+ if (row.disabled) {
950
+ return row.disabled[cellId];
951
+ }
952
+ return false;
953
+ };
948
954
  var getCommonPinningStyles = (column) => {
949
955
  const isPinned = column.getIsPinned();
950
956
  const isLastLeftPinnedColumn = isPinned === "left" && column.getIsLastColumn("left");
@@ -1076,141 +1082,145 @@ var useDataTable = ({
1076
1082
  generateColumn
1077
1083
  };
1078
1084
  };
1079
- var DataTable = React5.forwardRef(
1080
- (props, ref) => {
1081
- const { isLoading, styles, headerSticky, onRowClick, container } = props;
1082
- const { table, toggleAllRowsSelected, generateColumn } = useDataTable(props);
1083
- React5.useImperativeHandle(ref, () => ({
1084
- toggleAllRowsSelected
1085
- }));
1086
- return /* @__PURE__ */ jsx24(Box11, { overflowX: "auto", position: "relative", maxW: "100%", minH: 400, w: "full", ...container, children: isLoading ? /* @__PURE__ */ jsxs8(Table, { ...styles == null ? void 0 : styles.table, "data-loading": "true", children: [
1087
- /* @__PURE__ */ jsx24(Thead, { ...(styles == null ? void 0 : styles.tableHead, headerSticky ? { position: "sticky", top: 0, bg: "white", zIndex: 1 } : {}), children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx24(Tr, { mx: "2", ...styles == null ? void 0 : styles.tableRow, children: headerGroup.headers.map((header, index) => /* @__PURE__ */ jsx24(
1088
- Th,
1089
- {
1090
- colSpan: header.colSpan,
1091
- width: `${header.getSize() + (index === 0 || index === headerGroup.headers.length - 1 ? 16 : 0)}px`,
1092
- ...styles == null ? void 0 : styles.tableColumnHeader,
1093
- children: /* @__PURE__ */ jsx24(
1094
- Flex2,
1095
- {
1096
- "data-test-id": "CT_component_data-table_loader",
1097
- textTransform: "capitalize",
1098
- align: "center",
1099
- gap: 2,
1100
- children: flexRender(header.column.columnDef.header, header.getContext())
1101
- }
1102
- )
1103
- },
1104
- header.id
1105
- )) }, headerGroup.id)) }),
1106
- /* @__PURE__ */ jsx24(Tbody, { children: [...Array(5)].map((num) => /* @__PURE__ */ jsx24(Tr, { mx: "2", children: [...Array(generateColumn().length)].map((i) => /* @__PURE__ */ jsx24(Td, { width: 210, children: /* @__PURE__ */ jsx24(Skeleton2, { startColor: "gray.50", endColor: "gray.100", h: "30px", w: "100%" }, i) }, i)) }, num)) })
1107
- ] }) : /* @__PURE__ */ jsxs8(Table, { ...styles == null ? void 0 : styles.table, children: [
1108
- /* @__PURE__ */ jsx24(Thead, { ...(styles == null ? void 0 : styles.tableHead, headerSticky ? { position: "sticky", top: 0, bg: "white", zIndex: 1 } : {}), children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx24(Tr, { bg: useColorModeValue("initial", "ebony-clay.700"), ...styles == null ? void 0 : styles.tableRow, children: headerGroup.headers.map((header, index) => {
1109
- var _a;
1110
- return /* @__PURE__ */ jsx24(
1111
- Th,
1112
- {
1113
- colSpan: header.colSpan,
1114
- sx: getCommonPinningStyles(header.column),
1115
- width: `${header.getSize() + (index === 0 || index === headerGroup.headers.length - 1 ? 16 : 0)}px`,
1116
- ...styles == null ? void 0 : styles.tableColumnHeader,
1117
- children: /* @__PURE__ */ jsxs8(
1118
- Flex2,
1119
- {
1120
- backgroundColor: "white",
1121
- height: "100%",
1122
- "data-test-id": `CT_Container_TableHeader_${header.id}`,
1123
- textTransform: "capitalize",
1124
- userSelect: "none",
1125
- align: "center",
1126
- gap: 2,
1127
- children: [
1128
- /* @__PURE__ */ jsx24(Text4, { children: flexRender(header.column.columnDef.header, header.getContext()) }),
1129
- /* @__PURE__ */ jsx24(
1130
- Box11,
1131
- {
1132
- as: "span",
1133
- cursor: header.column.getCanSort() ? "pointer" : "default",
1134
- "data-test-id": `CT_Container_SortingIcon_${header.id}`,
1135
- onClick: header.column.getToggleSortingHandler(),
1136
- children: (_a = header.column.getCanSort() && {
1137
- asc: /* @__PURE__ */ jsx24(ChevronUpIcon, { h: 4, w: 4, color: "neutral.500" }),
1138
- desc: /* @__PURE__ */ jsx24(ChevronDownIcon, { h: 4, w: 4, color: "neutral.500" })
1139
- }[header.column.getIsSorted()]) != null ? _a : /* @__PURE__ */ jsx24(UpDownIcon, { h: 4, w: 4, color: "neutral.500" })
1140
- }
1141
- )
1142
- ]
1143
- }
1144
- )
1145
- },
1146
- header.id
1147
- );
1148
- }) }, headerGroup.id)) }),
1149
- /* @__PURE__ */ jsx24(Tbody, { ...styles == null ? void 0 : styles.tableBody, children: table.getRowModel().rows.map((row) => {
1150
- const trRef = useRef();
1151
- return /* @__PURE__ */ jsx24(
1152
- Tr,
1085
+ var DataTable = React5.forwardRef((props, ref) => {
1086
+ const { isLoading, styles, headerSticky, onRowClick, container } = props;
1087
+ const { table, toggleAllRowsSelected, generateColumn } = useDataTable(props);
1088
+ React5.useImperativeHandle(ref, () => ({
1089
+ toggleAllRowsSelected
1090
+ }));
1091
+ return /* @__PURE__ */ jsx24(Box11, { overflowX: "auto", position: "relative", maxW: "100%", w: "full", ...container, children: isLoading ? /* @__PURE__ */ jsxs8(Table, { ...styles == null ? void 0 : styles.table, "data-loading": "true", children: [
1092
+ /* @__PURE__ */ jsx24(Thead, { ...(styles == null ? void 0 : styles.tableHead, headerSticky ? { position: "sticky", top: 0, bg: "white", zIndex: 1 } : {}), children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx24(Tr, { mx: "2", ...styles == null ? void 0 : styles.tableRow, children: headerGroup.headers.map((header, index) => /* @__PURE__ */ jsx24(
1093
+ Th,
1094
+ {
1095
+ colSpan: header.colSpan,
1096
+ width: `${header.getSize() + (index === 0 || index === headerGroup.headers.length - 1 ? 16 : 0)}px`,
1097
+ ...styles == null ? void 0 : styles.tableColumnHeader,
1098
+ children: /* @__PURE__ */ jsx24(
1099
+ Flex2,
1153
1100
  {
1154
- "data-test-id": "-RU0hNYGRzeVM3HQ4cXHl",
1155
- tabindex: "0",
1156
- ref: trRef,
1157
- ...styles == null ? void 0 : styles.tableRow,
1158
- css: css`
1159
- &:last-child {
1160
- td {
1161
- border-bottom: none;
1162
- }
1101
+ "data-test-id": "CT_component_data-table_loader",
1102
+ textTransform: "capitalize",
1103
+ align: "center",
1104
+ gap: 2,
1105
+ children: flexRender(header.column.columnDef.header, header.getContext())
1106
+ }
1107
+ )
1108
+ },
1109
+ header.id
1110
+ )) }, headerGroup.id)) }),
1111
+ /* @__PURE__ */ jsx24(Tbody, { children: [...Array(5)].map((num) => /* @__PURE__ */ jsx24(Tr, { mx: "2", children: [...Array(generateColumn().length)].map((i) => /* @__PURE__ */ jsx24(Td, { width: 210, children: /* @__PURE__ */ jsx24(Skeleton2, { startColor: "neutral.100", endColor: "neutral.200", h: "20px", w: "70%" }, i) }, i)) }, num)) })
1112
+ ] }) : /* @__PURE__ */ jsxs8(Table, { ...styles == null ? void 0 : styles.table, children: [
1113
+ /* @__PURE__ */ jsx24(
1114
+ Thead,
1115
+ {
1116
+ maxH: "50px",
1117
+ ...(styles == null ? void 0 : styles.tableHead, headerSticky ? { position: "sticky", top: 0, bg: "white", zIndex: 1 } : {}),
1118
+ children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx24(Tr, { bg: useColorModeValue("initial", "ebony-clay.700"), ...styles == null ? void 0 : styles.tableRow, children: headerGroup.headers.map((header, index) => {
1119
+ var _a;
1120
+ return /* @__PURE__ */ jsx24(
1121
+ Th,
1122
+ {
1123
+ colSpan: header.colSpan,
1124
+ sx: getCommonPinningStyles(header.column),
1125
+ width: `${header.getSize() + (index === 0 || index === headerGroup.headers.length - 1 ? 16 : 0)}px`,
1126
+ ...styles == null ? void 0 : styles.tableColumnHeader,
1127
+ children: /* @__PURE__ */ jsxs8(
1128
+ Flex2,
1129
+ {
1130
+ backgroundColor: "white",
1131
+ height: "100%",
1132
+ "data-test-id": `CT_Container_TableHeader_${header.id}`,
1133
+ textTransform: "capitalize",
1134
+ userSelect: "none",
1135
+ align: "center",
1136
+ gap: 2,
1137
+ children: [
1138
+ /* @__PURE__ */ jsx24(Text4, { children: flexRender(header.column.columnDef.header, header.getContext()) }),
1139
+ /* @__PURE__ */ jsx24(
1140
+ Box11,
1141
+ {
1142
+ as: "span",
1143
+ cursor: header.column.getCanSort() ? "pointer" : "default",
1144
+ "data-test-id": `CT_Container_SortingIcon_${header.id}`,
1145
+ onClick: header.column.getToggleSortingHandler(),
1146
+ children: (_a = header.column.getCanSort() && {
1147
+ asc: /* @__PURE__ */ jsx24(ChevronUpIcon, { h: 4, w: 4, color: "neutral.500" }),
1148
+ desc: /* @__PURE__ */ jsx24(ChevronDownIcon, { h: 4, w: 4, color: "neutral.500" })
1149
+ }[header.column.getIsSorted()]) != null ? _a : /* @__PURE__ */ jsx24(Box11, { display: "flex", justifyContent: "center", alignItems: "center", boxSize: 4, children: /* @__PURE__ */ jsx24(UpDownIcon, { color: "neutral.500" }) })
1163
1150
  }
1164
- `,
1165
- onMouseDown: () => {
1166
- var _a;
1167
- (_a = trRef.current) == null ? void 0 : _a.setAttribute("data-active", "true");
1168
- },
1169
- onMouseUp: () => {
1170
- var _a;
1171
- (_a = trRef.current) == null ? void 0 : _a.removeAttribute("data-active");
1172
- },
1173
- onClick: () => {
1174
- if (onRowClick) {
1175
- onRowClick(row.original);
1176
- }
1151
+ )
1152
+ ]
1153
+ }
1154
+ )
1177
1155
  },
1178
- children: row.getVisibleCells().map((cell) => {
1179
- var _a, _b;
1180
- const isDisabled = (_b = (_a = cell.row.original) == null ? void 0 : _a.disabled) == null ? void 0 : _b[cell.column.id];
1181
- return /* @__PURE__ */ jsx24(
1182
- Td,
1183
- {
1184
- "data-test-id": `CT_Component_TableCell_${cell.id}`,
1185
- fontSize: "text.sm",
1186
- sx: getCommonPinningStyles(cell.column),
1187
- ...styles == null ? void 0 : styles.tableCell,
1188
- children: /* @__PURE__ */ jsx24(Flex2, { height: "100%", align: "center", opacity: isDisabled ? 0.5 : 1, children: /* @__PURE__ */ jsx24(
1189
- Flex2,
1190
- {
1191
- tabIndex: 0,
1192
- display: "inline-flex",
1193
- cursor: "auto",
1194
- "data-test-id": `CT_Component_TableCell_Content-${cell.id}`,
1195
- onMouseUp: (e) => e.stopPropagation(),
1196
- onMouseDown: (e) => e.stopPropagation(),
1197
- onClick: (e) => {
1198
- e.stopPropagation();
1199
- },
1200
- children: flexRender(cell.column.columnDef.cell, cell.getContext())
1156
+ header.id
1157
+ );
1158
+ }) }, headerGroup.id))
1159
+ }
1160
+ ),
1161
+ /* @__PURE__ */ jsx24(Tbody, { ...styles == null ? void 0 : styles.tableBody, children: table.getRowModel().rows.map((row) => {
1162
+ const trRef = useRef();
1163
+ return /* @__PURE__ */ jsx24(
1164
+ Tr,
1165
+ {
1166
+ "data-test-id": "-RU0hNYGRzeVM3HQ4cXHl",
1167
+ tabindex: "0",
1168
+ ref: trRef,
1169
+ ...styles == null ? void 0 : styles.tableRow,
1170
+ css: css`
1171
+ &:last-child {
1172
+ td {
1173
+ border-bottom: none;
1174
+ }
1201
1175
  }
1202
- ) })
1203
- },
1204
- cell.id
1205
- );
1206
- })
1176
+ `,
1177
+ onMouseDown: () => {
1178
+ var _a;
1179
+ (_a = trRef.current) == null ? void 0 : _a.setAttribute("data-active", "true");
1207
1180
  },
1208
- row.id
1209
- );
1210
- }) })
1211
- ] }) });
1212
- }
1213
- );
1181
+ onMouseUp: () => {
1182
+ var _a;
1183
+ (_a = trRef.current) == null ? void 0 : _a.removeAttribute("data-active");
1184
+ },
1185
+ onClick: () => {
1186
+ if (onRowClick) {
1187
+ onRowClick(row.original);
1188
+ }
1189
+ },
1190
+ children: row.getVisibleCells().map((cell) => {
1191
+ const isDisabled = isCellDisabled(row.original, cell.column.id);
1192
+ return /* @__PURE__ */ jsx24(
1193
+ Td,
1194
+ {
1195
+ "data-test-id": `CT_Component_TableCell_${cell.id}`,
1196
+ fontSize: "text.sm",
1197
+ sx: getCommonPinningStyles(cell.column),
1198
+ ...styles == null ? void 0 : styles.tableCell,
1199
+ children: /* @__PURE__ */ jsx24(Flex2, { height: "100%", align: "center", opacity: isDisabled ? 0.5 : 1, children: /* @__PURE__ */ jsx24(
1200
+ Flex2,
1201
+ {
1202
+ tabIndex: 0,
1203
+ display: "inline-flex",
1204
+ cursor: "auto",
1205
+ "data-test-id": `CT_Component_TableCell_Content-${cell.id}`,
1206
+ onMouseUp: (e) => e.stopPropagation(),
1207
+ onMouseDown: (e) => e.stopPropagation(),
1208
+ onClick: (e) => {
1209
+ e.stopPropagation();
1210
+ },
1211
+ children: flexRender(cell.column.columnDef.cell, cell.getContext())
1212
+ }
1213
+ ) })
1214
+ },
1215
+ cell.id
1216
+ );
1217
+ })
1218
+ },
1219
+ row.id
1220
+ );
1221
+ }) })
1222
+ ] }) });
1223
+ });
1214
1224
  var data_table_default = DataTable;
1215
1225
 
1216
1226
  // src/components/datepicker/components/datepicker.tsx
@@ -2557,36 +2567,45 @@ import {
2557
2567
  Portal,
2558
2568
  Tooltip as ChakraTooltip
2559
2569
  } from "@chakra-ui/react";
2560
- import { jsx as jsx35, jsxs as jsxs14 } from "react/jsx-runtime";
2570
+ import { Fragment as Fragment3, jsx as jsx35, jsxs as jsxs14 } from "react/jsx-runtime";
2561
2571
  var Tooltip = (props) => {
2562
- const { children, bg = "neutral.700", textStyle = "text.sm", color = "white", width, rounded = 4 } = props;
2563
- const content = /* @__PURE__ */ jsxs14(
2572
+ const {
2573
+ children,
2574
+ bg = "neutral.700",
2575
+ textStyle = "text.sm",
2576
+ color = "white",
2577
+ width,
2578
+ borderRadius = 4,
2579
+ fontWeight = "400"
2580
+ } = props;
2581
+ const content = ({ onClose }) => /* @__PURE__ */ jsxs14(
2564
2582
  PopoverContent,
2565
2583
  {
2566
2584
  "data-test-id": "",
2567
2585
  border: "none",
2568
2586
  bg,
2569
- rounded,
2570
- ml: 1,
2571
2587
  textStyle,
2572
2588
  width,
2573
2589
  placeItems: "center",
2574
- borderRadius: props.borderRadius,
2575
- onClick: (e) => e.stopPropagation(),
2590
+ borderRadius,
2591
+ onClick: (e) => {
2592
+ e.stopPropagation();
2593
+ onClose();
2594
+ },
2576
2595
  children: [
2577
2596
  props.hasArrow && /* @__PURE__ */ jsx35(PopoverArrow, { color, bg, shadow: "none" }),
2578
- /* @__PURE__ */ jsx35(PopoverBody, { color, ...props, children: props.label })
2597
+ /* @__PURE__ */ jsx35(PopoverBody, { color, ...props, fontWeight, children: props.label })
2579
2598
  ]
2580
2599
  }
2581
2600
  );
2582
- return props.isInteractive === true ? /* @__PURE__ */ jsxs14(Popover, { trigger: "hover", placement: props.placement, ...props.popoverProps, children: [
2601
+ return props.isInteractive === true ? /* @__PURE__ */ jsx35(Popover, { trigger: "hover", placement: props.placement, ...props.popoverProps, children: ({ onClose }) => /* @__PURE__ */ jsxs14(Fragment3, { children: [
2583
2602
  /* @__PURE__ */ jsx35(PopoverTrigger, { children }),
2584
- props.portal ? /* @__PURE__ */ jsx35(Portal, { children: content }) : content
2585
- ] }) : /* @__PURE__ */ jsx35(ChakraTooltip, { ...props, children });
2603
+ props.portal ? /* @__PURE__ */ jsx35(Portal, { children: content({ onClose }) }) : content({ onClose })
2604
+ ] }) }) : /* @__PURE__ */ jsx35(ChakraTooltip, { ...props, children });
2586
2605
  };
2587
2606
 
2588
2607
  // src/components/header/components/profile.tsx
2589
- import { Fragment as Fragment3, jsx as jsx36, jsxs as jsxs15 } from "react/jsx-runtime";
2608
+ import { Fragment as Fragment4, jsx as jsx36, jsxs as jsxs15 } from "react/jsx-runtime";
2590
2609
  var Profile = ({
2591
2610
  color,
2592
2611
  brandColor,
@@ -2621,7 +2640,7 @@ var Profile = ({
2621
2640
  /* @__PURE__ */ jsxs15(VStack2, { alignItems: "flex-end", spacing: "0", ml: "2", color, children: [
2622
2641
  /* @__PURE__ */ jsx36(Text8, { textStyle: "text.xs", mb: "1", children: data == null ? void 0 : data.email }),
2623
2642
  /* @__PURE__ */ jsxs15(Flex5, { alignItems: "center", children: [
2624
- (data == null ? void 0 : data.userRole) && /* @__PURE__ */ jsxs15(Fragment3, { children: [
2643
+ (data == null ? void 0 : data.userRole) && /* @__PURE__ */ jsxs15(Fragment4, { children: [
2625
2644
  /* @__PURE__ */ jsx36(Text8, { textStyle: "text.xs", children: (data == null ? void 0 : data.userRole) || "user" }),
2626
2645
  !!((_a = data.office) == null ? void 0 : _a.length) && /* @__PURE__ */ jsx36(
2627
2646
  Box16,
@@ -2648,18 +2667,19 @@ var Profile = ({
2648
2667
  ] }),
2649
2668
  textAlign: "left",
2650
2669
  placement: "bottom-end",
2670
+ cursor: "text",
2671
+ portal: true,
2651
2672
  popoverProps: {
2652
2673
  offset: [10, 8]
2653
2674
  },
2654
2675
  width: 300,
2655
2676
  ...officeContainer,
2656
- children: /* @__PURE__ */ jsx36(Box16, { display: "flex", children: /* @__PURE__ */ jsxs15(
2677
+ children: /* @__PURE__ */ jsx36(Box16, { ml: 1, children: /* @__PURE__ */ jsxs15(
2657
2678
  badge_default,
2658
2679
  {
2659
- ml: "1",
2660
- pill: true,
2680
+ rounded: "full",
2661
2681
  variant: "neutral-light",
2662
- boxSize: "4.5",
2682
+ boxSize: "5",
2663
2683
  justifyContent: "center",
2664
2684
  p: "0.5",
2665
2685
  ...badgeStyle,
@@ -2720,14 +2740,14 @@ function environmentName(env) {
2720
2740
  }
2721
2741
 
2722
2742
  // src/components/header/components/version.tsx
2723
- import { Fragment as Fragment4, jsx as jsx38, jsxs as jsxs16 } from "react/jsx-runtime";
2743
+ import { Fragment as Fragment5, jsx as jsx38, jsxs as jsxs16 } from "react/jsx-runtime";
2724
2744
  var Version = ({
2725
2745
  hideEnv,
2726
2746
  version,
2727
2747
  environment,
2728
2748
  onOpenModalRelease,
2729
2749
  versionStyle
2730
- }) => /* @__PURE__ */ jsxs16(Fragment4, { children: [
2750
+ }) => /* @__PURE__ */ jsxs16(Fragment5, { children: [
2731
2751
  typeof version === "string" ? /* @__PURE__ */ jsx38(
2732
2752
  badge_default,
2733
2753
  {
@@ -2991,7 +3011,7 @@ var mappingIcon = /* @__PURE__ */ new Map([
2991
3011
  ]);
2992
3012
 
2993
3013
  // src/components/navigation/components/navigation.tsx
2994
- import { Fragment as Fragment5, jsx as jsx43, jsxs as jsxs18 } from "react/jsx-runtime";
3014
+ import { Fragment as Fragment6, jsx as jsx43, jsxs as jsxs18 } from "react/jsx-runtime";
2995
3015
  var Navigation = ({ navigations, activePath, as, host, ...props }) => {
2996
3016
  return /* @__PURE__ */ jsx43(Box21, { borderRadius: "md", overflowX: "auto", ...props, children: /* @__PURE__ */ jsx43(
2997
3017
  Flex9,
@@ -3008,7 +3028,7 @@ var Navigation = ({ navigations, activePath, as, host, ...props }) => {
3008
3028
  children: navigations == null ? void 0 : navigations.map((navigation) => {
3009
3029
  const isActive = activePath.startsWith(navigation.navLink || "");
3010
3030
  const activeBg = isActive ? "primary.500" : void 0;
3011
- return /* @__PURE__ */ jsx43(Popover3, { trigger: "hover", placement: "bottom-start", children: ({ isOpen }) => /* @__PURE__ */ jsxs18(Fragment5, { children: [
3031
+ return /* @__PURE__ */ jsx43(Popover3, { trigger: "hover", placement: "bottom-start", children: ({ isOpen }) => /* @__PURE__ */ jsxs18(Fragment6, { children: [
3012
3032
  /* @__PURE__ */ jsx43(PopoverTrigger3, { children: /* @__PURE__ */ jsx43(
3013
3033
  Button3,
3014
3034
  {
@@ -3108,7 +3128,7 @@ var navigation_default = Navigation;
3108
3128
  // src/components/navigation/components/navigation-bar.tsx
3109
3129
  import { Box as Box22, Button as Button4, Flex as Flex10, Link as Link4, Popover as Popover4, PopoverContent as PopoverContent4, PopoverTrigger as PopoverTrigger4, Text as Text10 } from "@chakra-ui/react";
3110
3130
  import * as Icon6 from "@ctlyst.id/internal-icon";
3111
- import { Fragment as Fragment6, jsx as jsx44, jsxs as jsxs19 } from "react/jsx-runtime";
3131
+ import { Fragment as Fragment7, jsx as jsx44, jsxs as jsxs19 } from "react/jsx-runtime";
3112
3132
  var NavigationBar = ({
3113
3133
  navigations,
3114
3134
  isFetched,
@@ -3140,7 +3160,7 @@ var NavigationBar = ({
3140
3160
  const childMenu = item.children.filter((subMenu) => asPath == null ? void 0 : asPath.includes(subMenu.navLink));
3141
3161
  const isActive = pathname == null ? void 0 : pathname.startsWith((_a = childMenu[0]) == null ? void 0 : _a.navLink);
3142
3162
  const activeBg = isActive ? "primary.500" : void 0;
3143
- return /* @__PURE__ */ jsx44(Popover4, { isLazy: true, trigger: "hover", placement: "bottom-start", openDelay: 100, closeDelay: 100, children: ({ isOpen, onClose }) => /* @__PURE__ */ jsxs19(Fragment6, { children: [
3163
+ return /* @__PURE__ */ jsx44(Popover4, { isLazy: true, trigger: "hover", placement: "bottom-start", openDelay: 100, closeDelay: 100, children: ({ isOpen, onClose }) => /* @__PURE__ */ jsxs19(Fragment7, { children: [
3144
3164
  /* @__PURE__ */ jsx44(PopoverTrigger4, { children: /* @__PURE__ */ jsx44(
3145
3165
  Button4,
3146
3166
  {
@@ -3530,8 +3550,10 @@ var Rating = ({ value }) => {
3530
3550
  var rating_default = Rating;
3531
3551
 
3532
3552
  // src/components/select/components/select.tsx
3553
+ import { Badge as Badge2, Flex as Flex11 } from "@chakra-ui/react";
3533
3554
  import { useColorMode as useColorMode3 } from "@chakra-ui/system";
3534
- import ReactSelect from "react-select";
3555
+ import * as Icon7 from "@ctlyst.id/internal-icon";
3556
+ import ReactSelect, { components as componentRS } from "react-select";
3535
3557
 
3536
3558
  // src/config/theme/foundations/shadows.ts
3537
3559
  import { theme } from "@chakra-ui/react";
@@ -3838,10 +3860,10 @@ function selectStyles(colorMode, _isError) {
3838
3860
  return { ...base, ...selectStyle };
3839
3861
  },
3840
3862
  dropdownIndicator: (base) => {
3841
- return { ...base, ...selectStyle };
3863
+ return { ...base, ...selectStyle, color: "var(--chakra-colors-neutral-400)" };
3842
3864
  },
3843
3865
  indicatorSeparator: (base) => {
3844
- return { ...base, ...selectStyle };
3866
+ return { ...base, background: "var(--chakra-colors-neutral-400)", borderRadius: 10 };
3845
3867
  },
3846
3868
  placeholder: (base) => {
3847
3869
  return { ...base, ...selectStyle, color: "var(--chakra-colors-black-low)" };
@@ -3856,13 +3878,15 @@ function selectStyles(colorMode, _isError) {
3856
3878
  multiValueLabel: (base) => ({
3857
3879
  ...base,
3858
3880
  borderRadius: 4,
3859
- fontWeight: "bold"
3881
+ fontWeight: "bold",
3882
+ padding: 0,
3883
+ paddingLeft: 0
3860
3884
  }),
3861
3885
  multiValueRemove: (base) => ({
3862
3886
  ...base,
3863
3887
  color: "var(--chakra-colors-neutral-900)",
3864
3888
  ":hover": {
3865
- backgroundColor: "var(--chakra-colors-neutral-300)"
3889
+ backgroundColor: "transparent"
3866
3890
  }
3867
3891
  })
3868
3892
  };
@@ -3882,19 +3906,40 @@ var themeSelect = (theme5) => {
3882
3906
 
3883
3907
  // src/components/select/components/select.tsx
3884
3908
  import { jsx as jsx53 } from "react/jsx-runtime";
3909
+ function DropdownIndicator(props) {
3910
+ return /* @__PURE__ */ jsx53(componentRS.DropdownIndicator, { ...props, children: /* @__PURE__ */ jsx53(Icon7.ChevronDown, { size: 4, color: "neutral.400" }) });
3911
+ }
3912
+ function ClearIndicator(props) {
3913
+ const { hasValue } = props;
3914
+ return /* @__PURE__ */ jsx53(componentRS.ClearIndicator, { ...props, children: /* @__PURE__ */ jsx53(Icon7.Close, { size: 4, color: hasValue ? "black.medium" : "neutral.400" }) });
3915
+ }
3916
+ function MultiValue(props) {
3917
+ return /* @__PURE__ */ jsx53(componentRS.MultiValue, { ...props, children: /* @__PURE__ */ jsx53(Badge2, { pr: 0, variant: "neutral-light", children: props == null ? void 0 : props.data.label }) });
3918
+ }
3919
+ function MultiValueRemove(props) {
3920
+ return /* @__PURE__ */ jsx53(componentRS.MultiValueRemove, { ...props, children: /* @__PURE__ */ jsx53(Flex11, { align: "center", justify: "center", children: /* @__PURE__ */ jsx53(Icon7.Close, { size: 2.5, color: "inherit" }) }) });
3921
+ }
3885
3922
  function Select2({
3886
3923
  styles,
3887
3924
  isError = false,
3888
3925
  ...rest
3889
3926
  }) {
3890
3927
  const { colorMode } = useColorMode3();
3928
+ const { components } = rest;
3891
3929
  return /* @__PURE__ */ jsx53(
3892
3930
  ReactSelect,
3893
3931
  {
3894
3932
  classNamePrefix: "react-select",
3895
- ...rest,
3933
+ components: {
3934
+ DropdownIndicator,
3935
+ ClearIndicator,
3936
+ MultiValue,
3937
+ MultiValueRemove,
3938
+ ...components
3939
+ },
3896
3940
  styles: { ...selectStyles(colorMode, isError) },
3897
- theme: themeSelect
3941
+ theme: themeSelect,
3942
+ ...rest
3898
3943
  }
3899
3944
  );
3900
3945
  }
@@ -3914,6 +3959,10 @@ function SelectAsync({
3914
3959
  AsyncPaginate,
3915
3960
  {
3916
3961
  classNamePrefix: "react-select",
3962
+ components: {
3963
+ DropdownIndicator,
3964
+ ClearIndicator
3965
+ },
3917
3966
  ...rest,
3918
3967
  styles: { ...selectStyles(colorMode, isError), ...styles },
3919
3968
  theme: themeSelect
@@ -3932,6 +3981,10 @@ function SelectAsyncCreatable({ styles, isError = false, ...rest }) {
3932
3981
  ReactSelectAsyncCreatable,
3933
3982
  {
3934
3983
  classNamePrefix: "react-select",
3984
+ components: {
3985
+ DropdownIndicator,
3986
+ ClearIndicator
3987
+ },
3935
3988
  ...rest,
3936
3989
  styles: { ...selectStyles(colorMode, isError), ...styles },
3937
3990
  theme: themeSelect
@@ -3949,6 +4002,10 @@ function SelectCreatable({ styles, isError = false, ...rest }) {
3949
4002
  ReactSelectCreatable,
3950
4003
  {
3951
4004
  classNamePrefix: "react-select",
4005
+ components: {
4006
+ DropdownIndicator,
4007
+ ClearIndicator
4008
+ },
3952
4009
  ...rest,
3953
4010
  styles: { ...selectStyles(colorMode, isError), ...styles },
3954
4011
  theme: themeSelect
@@ -3957,10 +4014,10 @@ function SelectCreatable({ styles, isError = false, ...rest }) {
3957
4014
  }
3958
4015
 
3959
4016
  // src/components/select/components/select-with-checkbox.tsx
3960
- import { Checkbox as Checkbox3, Flex as Flex11, Text as Text15 } from "@chakra-ui/react";
4017
+ import { Checkbox as Checkbox3, Flex as Flex12, Text as Text15 } from "@chakra-ui/react";
3961
4018
  import { useColorMode as useColorMode7 } from "@chakra-ui/system";
3962
4019
  import ReactSelect2, { components as ComponentRS } from "react-select";
3963
- import { Fragment as Fragment7, jsx as jsx57, jsxs as jsxs24 } from "react/jsx-runtime";
4020
+ import { Fragment as Fragment8, jsx as jsx57, jsxs as jsxs24 } from "react/jsx-runtime";
3964
4021
  var CHECKBOX_STATE = {
3965
4022
  UNCHECKED: 0,
3966
4023
  INDETERMINATE: 1,
@@ -4007,7 +4064,7 @@ var InputOption = ({
4007
4064
  onClick: isDisabled ? void 0 : innerProps.onClick,
4008
4065
  style
4009
4066
  };
4010
- return /* @__PURE__ */ jsxs24(Fragment7, { children: [
4067
+ return /* @__PURE__ */ jsxs24(Fragment8, { children: [
4011
4068
  /* @__PURE__ */ jsx57(
4012
4069
  ComponentRS.Option,
4013
4070
  {
@@ -4020,7 +4077,7 @@ var InputOption = ({
4020
4077
  innerProps: props,
4021
4078
  ...rest,
4022
4079
  children: /* @__PURE__ */ jsxs24(
4023
- Flex11,
4080
+ Flex12,
4024
4081
  {
4025
4082
  alignItems: "center",
4026
4083
  width: "100%",
@@ -4071,7 +4128,7 @@ var SelectWithCheckboxBase = ({
4071
4128
  );
4072
4129
  };
4073
4130
  var SelectCheckbox = (props) => {
4074
- const { isMulti, options, value, ...rest } = props;
4131
+ const { isMulti, options, value, components, ...rest } = props;
4075
4132
  const selectValue = value || [];
4076
4133
  return /* @__PURE__ */ jsx57(
4077
4134
  SelectWithCheckboxBase,
@@ -4079,6 +4136,11 @@ var SelectCheckbox = (props) => {
4079
4136
  isMulti,
4080
4137
  options,
4081
4138
  components: {
4139
+ DropdownIndicator,
4140
+ ClearIndicator,
4141
+ MultiValue,
4142
+ MultiValueRemove,
4143
+ ...components,
4082
4144
  Option: (optionProps) => {
4083
4145
  const { isSelected, data } = optionProps;
4084
4146
  const optionLength = (options == null ? void 0 : options.length) ? options.length - 1 : 0;
@@ -4094,13 +4156,13 @@ var SelectCheckbox = (props) => {
4094
4156
  var select_with_checkbox_default = SelectCheckbox;
4095
4157
 
4096
4158
  // src/components/sidebar/components/sidebar.tsx
4097
- import { Flex as Flex12 } from "@chakra-ui/react";
4159
+ import { Flex as Flex13 } from "@chakra-ui/react";
4098
4160
  import { motion } from "framer-motion";
4099
4161
  import { jsx as jsx58 } from "react/jsx-runtime";
4100
4162
  var Sidebar = ({ isCollapse, children, ...props }) => {
4101
4163
  const { width = "220px" } = props;
4102
4164
  return /* @__PURE__ */ jsx58(
4103
- Flex12,
4165
+ Flex13,
4104
4166
  {
4105
4167
  position: "relative",
4106
4168
  as: motion.div,
@@ -4120,7 +4182,7 @@ var Sidebar = ({ isCollapse, children, ...props }) => {
4120
4182
  Sidebar.displayName = "Sidebar";
4121
4183
 
4122
4184
  // src/components/sidebar/components/sidebar-header.tsx
4123
- import { Box as Box27, Flex as Flex13, Text as Text16 } from "@chakra-ui/react";
4185
+ import { Box as Box27, Flex as Flex14, Text as Text16 } from "@chakra-ui/react";
4124
4186
  import { ArrowRight } from "@ctlyst.id/internal-icon";
4125
4187
  import { AnimatePresence, motion as motion2 } from "framer-motion";
4126
4188
  import { jsx as jsx59, jsxs as jsxs25 } from "react/jsx-runtime";
@@ -4136,7 +4198,7 @@ var SidebarHeader = ({ isCollapse, setCollapse, title }) => {
4136
4198
  color: "primary.500"
4137
4199
  },
4138
4200
  children: /* @__PURE__ */ jsxs25(
4139
- Flex13,
4201
+ Flex14,
4140
4202
  {
4141
4203
  "data-test-id": "nLkz69YipW818FioeAxVI",
4142
4204
  direction: "row",
@@ -4198,9 +4260,9 @@ import {
4198
4260
  Portal as Portal4,
4199
4261
  Text as Text17
4200
4262
  } from "@chakra-ui/react";
4201
- import * as Icon7 from "@ctlyst.id/internal-icon";
4263
+ import * as Icon8 from "@ctlyst.id/internal-icon";
4202
4264
  import { motion as motion3 } from "framer-motion";
4203
- import { Fragment as Fragment8, jsx as jsx60, jsxs as jsxs26 } from "react/jsx-runtime";
4265
+ import { Fragment as Fragment9, jsx as jsx60, jsxs as jsxs26 } from "react/jsx-runtime";
4204
4266
  var SidebarMenu = ({ menu, isCollapse, mappingIcon: mappingIcon2, itemStyles, setActive, active }) => {
4205
4267
  return /* @__PURE__ */ jsx60(Box28, { as: motion3.div, animate: { padding: isCollapse ? "8px 16px" : "8px" }, children: /* @__PURE__ */ jsx60(Accordion2, { index: menu.findIndex((item) => item.children.some((child) => child.navLink === active)), children: menu.map((item) => {
4206
4268
  const isActive = active == null ? void 0 : active.includes(item.navLink);
@@ -4208,12 +4270,12 @@ var SidebarMenu = ({ menu, isCollapse, mappingIcon: mappingIcon2, itemStyles, se
4208
4270
  const isOpenOptions = isCollapse || !isCollapse && !isExpanded;
4209
4271
  const noChild = !item.children.length;
4210
4272
  const offsetStyle = isCollapse ? noChild ? [-5, 16] : [-1, 16] : [-1, 8];
4211
- return /* @__PURE__ */ jsxs26(Fragment8, { children: [
4273
+ return /* @__PURE__ */ jsxs26(Fragment9, { children: [
4212
4274
  /* @__PURE__ */ jsx60(Popover6, { trigger: "hover", placement: "right-start", offset: offsetStyle, children: ({ isOpen, onClose }) => {
4213
4275
  const activeOption = isOpen ? "primary.50" : "white";
4214
4276
  const backgroundColor = isOpen && !isActive ? "primary.50" : "primary.100";
4215
4277
  const activeParent = isActive ? backgroundColor : activeOption;
4216
- return /* @__PURE__ */ jsxs26(Fragment8, { children: [
4278
+ return /* @__PURE__ */ jsxs26(Fragment9, { children: [
4217
4279
  /* @__PURE__ */ jsx60(PopoverTrigger6, { children: /* @__PURE__ */ jsx60(
4218
4280
  AccordionButton2,
4219
4281
  {
@@ -4255,7 +4317,7 @@ var SidebarMenu = ({ menu, isCollapse, mappingIcon: mappingIcon2, itemStyles, se
4255
4317
  boxSize: "3",
4256
4318
  as: motion3.div,
4257
4319
  animate: { transform: isExpanded ? "rotate(-180deg)" : "rotate(0)" },
4258
- children: /* @__PURE__ */ jsx60(Icon7.ChevronDown, { size: 3 })
4320
+ children: /* @__PURE__ */ jsx60(Icon8.ChevronDown, { size: 3 })
4259
4321
  }
4260
4322
  )
4261
4323
  ]
@@ -4334,9 +4396,9 @@ SidebarMenu.defaultProps = {
4334
4396
  };
4335
4397
 
4336
4398
  // src/components/switch/components/switch.tsx
4337
- import { chakra as chakra6, Flex as Flex14, forwardRef as forwardRef10, omitThemingProps as omitThemingProps2, useCheckbox as useCheckbox3, useMultiStyleConfig as useMultiStyleConfig2 } from "@chakra-ui/react";
4399
+ import { chakra as chakra6, Flex as Flex15, forwardRef as forwardRef10, omitThemingProps as omitThemingProps2, useCheckbox as useCheckbox3, useMultiStyleConfig as useMultiStyleConfig2 } from "@chakra-ui/react";
4338
4400
  import { cx as cx10, dataAttr } from "@chakra-ui/shared-utils";
4339
- import { Check as Check2, Close as Close4 } from "@ctlyst.id/internal-icon";
4401
+ import { Check as Check2, Close as Close5 } from "@ctlyst.id/internal-icon";
4340
4402
  import { useMemo as useMemo3 } from "react";
4341
4403
  import { jsx as jsx61, jsxs as jsxs27 } from "react/jsx-runtime";
4342
4404
  var Switch = forwardRef10(function Switch2(props, ref) {
@@ -4392,9 +4454,9 @@ var Switch = forwardRef10(function Switch2(props, ref) {
4392
4454
  children: [
4393
4455
  /* @__PURE__ */ jsx61("input", { "data-test-id": "", className: "chakra-switch__input", ...getInputProps({}, ref) }),
4394
4456
  /* @__PURE__ */ jsxs27(chakra6.span, { ...getCheckboxProps(), className: "chakra-switch__track", pos: "relative", __css: trackStyles, children: [
4395
- /* @__PURE__ */ jsxs27(Flex14, { gap: 1, pos: "absolute", top: "50%", left: "50%", transform: "translate(-50%, -50%)", children: [
4457
+ /* @__PURE__ */ jsxs27(Flex15, { gap: 1, pos: "absolute", top: "50%", left: "50%", transform: "translate(-50%, -50%)", children: [
4396
4458
  /* @__PURE__ */ jsx61(Check2, { color: "white", size: getIconSize(props.size) }),
4397
- /* @__PURE__ */ jsx61(Close4, { color: state.isDisabled ? "neutral.600" : "neutral.900", size: getIconSize(props.size) })
4459
+ /* @__PURE__ */ jsx61(Close5, { color: state.isDisabled ? "neutral.600" : "neutral.900", size: getIconSize(props.size) })
4398
4460
  ] }),
4399
4461
  /* @__PURE__ */ jsx61(
4400
4462
  chakra6.span,
@@ -4443,7 +4505,7 @@ import {
4443
4505
  } from "@chakra-ui/react";
4444
4506
 
4445
4507
  // src/components/tabs/components/tab.tsx
4446
- import { Button as Button6, Flex as Flex15, forwardRef as forwardRef11, useMultiStyleConfig as useMultiStyleConfig3, useTab } from "@chakra-ui/react";
4508
+ import { Button as Button6, Flex as Flex16, forwardRef as forwardRef11, useMultiStyleConfig as useMultiStyleConfig3, useTab } from "@chakra-ui/react";
4447
4509
  import { jsx as jsx62, jsxs as jsxs28 } from "react/jsx-runtime";
4448
4510
  var Tab = forwardRef11((props, ref) => {
4449
4511
  var _a, _b;
@@ -4476,7 +4538,7 @@ var Tab = forwardRef11((props, ref) => {
4476
4538
  },
4477
4539
  __css: styles.tab,
4478
4540
  ...tabProps,
4479
- children: /* @__PURE__ */ jsxs28(Flex15, { alignItems: "center", children: [
4541
+ children: /* @__PURE__ */ jsxs28(Flex16, { alignItems: "center", children: [
4480
4542
  (_a = props.leftAddon) == null ? void 0 : _a.call(props, { isSelected }),
4481
4543
  tabProps.children,
4482
4544
  (_b = props.rightAddon) == null ? void 0 : _b.call(props, { isSelected })
@@ -4525,7 +4587,7 @@ import {
4525
4587
  import { Code, CodeProps, Heading, HeadingProps, Link as Link5, LinkProps, Text as Text18, TextProps } from "@chakra-ui/react";
4526
4588
 
4527
4589
  // src/components/toast/components/toast.tsx
4528
- import { chakra as chakra7, Flex as Flex16, Link as Link6, useToken } from "@chakra-ui/react";
4590
+ import { chakra as chakra7, Flex as Flex17, Link as Link6, useToken } from "@chakra-ui/react";
4529
4591
  import { Bounce, toast } from "react-toastify";
4530
4592
 
4531
4593
  // src/components/toast/components/styles.tsx
@@ -4564,7 +4626,7 @@ var Styles2 = () => {
4564
4626
  var styles_default2 = Styles2;
4565
4627
 
4566
4628
  // src/components/toast/components/toast.tsx
4567
- import { Fragment as Fragment9, jsx as jsx64, jsxs as jsxs29 } from "react/jsx-runtime";
4629
+ import { Fragment as Fragment10, jsx as jsx64, jsxs as jsxs29 } from "react/jsx-runtime";
4568
4630
  var DEFAULT_OPTIONS = {
4569
4631
  position: "top-right",
4570
4632
  autoClose: 5e3,
@@ -4595,10 +4657,10 @@ var useToast = () => {
4595
4657
  "success.500"
4596
4658
  ]);
4597
4659
  const content = (icon, message, link) => {
4598
- return /* @__PURE__ */ jsxs29(Fragment9, { children: [
4660
+ return /* @__PURE__ */ jsxs29(Fragment10, { children: [
4599
4661
  /* @__PURE__ */ jsx64(styles_default2, {}),
4600
- /* @__PURE__ */ jsxs29(Flex16, { justifyContent: "space-between", alignItems: "center", gap: 4, children: [
4601
- /* @__PURE__ */ jsxs29(Flex16, { alignItems: "center", children: [
4662
+ /* @__PURE__ */ jsxs29(Flex17, { justifyContent: "space-between", alignItems: "center", gap: 4, children: [
4663
+ /* @__PURE__ */ jsxs29(Flex17, { alignItems: "center", children: [
4602
4664
  icon && /* @__PURE__ */ jsx64(chakra7.span, { mr: 2, w: 4, h: 4, children: renderIcon(icon, "default") }),
4603
4665
  /* @__PURE__ */ jsx64(chakra7.span, { noOfLines: 2, children: message })
4604
4666
  ] }),
@@ -4684,7 +4746,7 @@ import { ToastContainer } from "react-toastify";
4684
4746
  import {
4685
4747
  Box as Box29,
4686
4748
  Button as Button7,
4687
- Flex as Flex17,
4749
+ Flex as Flex18,
4688
4750
  FormControl as FormControl4,
4689
4751
  FormLabel as FormLabel4,
4690
4752
  Heading as Heading2,
@@ -4725,7 +4787,7 @@ var concatList = (list) => {
4725
4787
  var formatValidationMessage = (extension) => `Foto harus dalam format ${concatList(extension.map((ext) => `.${ext}`))}.`;
4726
4788
 
4727
4789
  // src/components/uploader/components/uploader.tsx
4728
- import { Fragment as Fragment10, jsx as jsx65, jsxs as jsxs30 } from "react/jsx-runtime";
4790
+ import { Fragment as Fragment11, jsx as jsx65, jsxs as jsxs30 } from "react/jsx-runtime";
4729
4791
  import { createElement } from "react";
4730
4792
  var Uploader = ({
4731
4793
  onHandleUploadFile,
@@ -4844,13 +4906,13 @@ var Uploader = ({
4844
4906
  return /* @__PURE__ */ jsxs30(FormControl4, { isRequired, children: [
4845
4907
  label && typeof label === "string" ? (
4846
4908
  // eslint-disable-next-line react/jsx-no-useless-fragment
4847
- /* @__PURE__ */ jsxs30(FormLabel4, { requiredIndicator: /* @__PURE__ */ jsx65(Fragment10, {}), fontSize: "text.sm", children: [
4909
+ /* @__PURE__ */ jsxs30(FormLabel4, { requiredIndicator: /* @__PURE__ */ jsx65(Fragment11, {}), fontSize: "text.sm", children: [
4848
4910
  isRequired && /* @__PURE__ */ jsx65(RequiredIndicator2, { mr: 1, ml: 0 }),
4849
4911
  label
4850
4912
  ] })
4851
4913
  ) : label,
4852
4914
  /* @__PURE__ */ jsxs30(
4853
- Flex17,
4915
+ Flex18,
4854
4916
  {
4855
4917
  minH: containerHeight,
4856
4918
  maxW: !isSmall ? "full" : "120px",
@@ -4886,7 +4948,7 @@ var Uploader = ({
4886
4948
  }
4887
4949
  ) }),
4888
4950
  filePreview && /* @__PURE__ */ jsx65(Box29, { w: "full", children: /* @__PURE__ */ jsx65(
4889
- Flex17,
4951
+ Flex18,
4890
4952
  {
4891
4953
  position: "relative",
4892
4954
  "data-test-id": `CT_component_base-image-uploader_image-preview${testId ? `_${testId}` : ""}`,
@@ -4903,7 +4965,7 @@ var Uploader = ({
4903
4965
  )
4904
4966
  }
4905
4967
  ) }),
4906
- !filePreview && /* @__PURE__ */ jsxs30(Fragment10, { children: [
4968
+ !filePreview && /* @__PURE__ */ jsxs30(Fragment11, { children: [
4907
4969
  /* @__PURE__ */ jsx65(
4908
4970
  "input",
4909
4971
  {
@@ -4911,7 +4973,7 @@ var Uploader = ({
4911
4973
  ...getInputProps()
4912
4974
  }
4913
4975
  ),
4914
- isDragActive ? /* @__PURE__ */ jsx65(Text19, { children: dragActiveText != null ? dragActiveText : messages.dragActive }) : /* @__PURE__ */ jsxs30(Flex17, { gap: 2, flexDirection: "column", alignItems: "center", color: isError ? "danger.500" : color, children: [
4976
+ isDragActive ? /* @__PURE__ */ jsx65(Text19, { children: dragActiveText != null ? dragActiveText : messages.dragActive }) : /* @__PURE__ */ jsxs30(Flex18, { gap: 2, flexDirection: "column", alignItems: "center", color: isError ? "danger.500" : color, children: [
4915
4977
  size2 === "sm" && /* @__PURE__ */ jsx65(Plus, { size: 6, color }),
4916
4978
  /* @__PURE__ */ jsxs30(Box29, { children: [
4917
4979
  !filePreview && /* @__PURE__ */ jsx65(
@@ -4931,7 +4993,7 @@ var Uploader = ({
4931
4993
  ]
4932
4994
  }
4933
4995
  ),
4934
- filePreview && !isSmall && /* @__PURE__ */ jsxs30(Flex17, { align: "center", justify: "center", my: 2, children: [
4996
+ filePreview && !isSmall && /* @__PURE__ */ jsxs30(Flex18, { align: "center", justify: "center", my: 2, children: [
4935
4997
  /* @__PURE__ */ createElement(
4936
4998
  "input",
4937
4999
  {
@@ -5215,7 +5277,7 @@ var alertTheme = defineMultiStyleConfig2({
5215
5277
  var alert_default = alertTheme;
5216
5278
 
5217
5279
  // src/config/theme/components/badge.ts
5218
- var Badge2 = {
5280
+ var Badge3 = {
5219
5281
  baseStyle: {
5220
5282
  h: "fit-content",
5221
5283
  display: "inline-block",
@@ -5289,7 +5351,7 @@ var Badge2 = {
5289
5351
  variant: "primary-solid"
5290
5352
  }
5291
5353
  };
5292
- var badge_default2 = Badge2;
5354
+ var badge_default2 = Badge3;
5293
5355
 
5294
5356
  // src/config/theme/components/button.ts
5295
5357
  import { defineStyleConfig } from "@chakra-ui/styled-system";
@@ -6779,6 +6841,7 @@ export {
6779
6841
  CheckboxIconProps,
6780
6842
  CheckboxState,
6781
6843
  chips_default as Chips,
6844
+ ClearIndicator,
6782
6845
  CloseButton,
6783
6846
  CloseButtonProps,
6784
6847
  Code,
@@ -6806,6 +6869,7 @@ export {
6806
6869
  ModalHeader3 as DrawerHeader,
6807
6870
  ModalOverlay3 as DrawerOverlay,
6808
6871
  DrawerProps,
6872
+ DropdownIndicator,
6809
6873
  empty_state_default as EmptyState,
6810
6874
  Fade,
6811
6875
  FadeProps,
@@ -6879,6 +6943,8 @@ export {
6879
6943
  ModalOverlayProps,
6880
6944
  ModalProps,
6881
6945
  multi_datepicker_month_default as MultiDatePickerMonth,
6946
+ MultiValue,
6947
+ MultiValueRemove,
6882
6948
  NavItem,
6883
6949
  Navbar,
6884
6950
  navigation_bar_default as NavigationBar,
@@ -7032,7 +7098,10 @@ export {
7032
7098
  forwardRef12 as forwardRef,
7033
7099
  getSelectAllCheckboxState,
7034
7100
  getTheme,
7101
+ isCellDisabled,
7102
+ selectStyles,
7035
7103
  theme4 as theme,
7104
+ themeSelect,
7036
7105
  useAccordion,
7037
7106
  useAccordionContext,
7038
7107
  useAccordionItem,