@esic-lab/data-core-ui 0.0.40 → 0.0.41

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.d.mts CHANGED
@@ -265,7 +265,6 @@ interface DatePickerBasicProps {
265
265
  placeholder?: string;
266
266
  disabled?: boolean;
267
267
  defaultValue?: Date | null;
268
- mode?: "time" | "date" | "month";
269
268
  minDate?: Date;
270
269
  maxDate?: Date;
271
270
  disabledDate?: (currentDate: Date) => boolean;
package/dist/index.d.ts CHANGED
@@ -265,7 +265,6 @@ interface DatePickerBasicProps {
265
265
  placeholder?: string;
266
266
  disabled?: boolean;
267
267
  defaultValue?: Date | null;
268
- mode?: "time" | "date" | "month";
269
268
  minDate?: Date;
270
269
  maxDate?: Date;
271
270
  disabledDate?: (currentDate: Date) => boolean;
package/dist/index.js CHANGED
@@ -1287,13 +1287,23 @@ function InputFieldNumber({
1287
1287
  // src/DatePicker/DatePickerBasic/DatePickerBasic.tsx
1288
1288
  var import_antd5 = require("antd");
1289
1289
  var import_dayjs = __toESM(require_dayjs_min());
1290
- var import_th_TH = __toESM(require("antd/es/date-picker/locale/th_TH"));
1291
1290
  var import_th2 = __toESM(require_th());
1292
- var import_buddhistEra = __toESM(require_buddhistEra());
1293
- var import_locale = require("date-fns/locale");
1294
1291
  var import_date_fns = require("date-fns");
1292
+ var import_locale = require("date-fns/locale");
1293
+ var import_th_TH = __toESM(require("antd/es/date-picker/locale/th_TH"));
1294
+ var import_buddhistEra = __toESM(require_buddhistEra());
1295
1295
  var import_jsx_runtime23 = require("react/jsx-runtime");
1296
1296
  import_dayjs.default.extend(import_buddhistEra.default);
1297
+ var buddhistLocale = {
1298
+ ...import_th_TH.default,
1299
+ lang: {
1300
+ ...import_th_TH.default.lang,
1301
+ fieldDateFormat: "BBBB-MM-DD",
1302
+ fieldDateTimeFormat: "BBBB-MM-DD HH:mm:ss",
1303
+ yearFormat: "BBBB",
1304
+ cellYearFormat: "BBBB"
1305
+ }
1306
+ };
1297
1307
  function DatePickerBasic({
1298
1308
  value,
1299
1309
  onChange,
@@ -1307,60 +1317,40 @@ function DatePickerBasic({
1307
1317
  maxDate,
1308
1318
  disabledDate,
1309
1319
  className,
1310
- size
1320
+ size = "middle"
1311
1321
  }) {
1312
- const dateFormat = "DD/MM/YYYY";
1313
- import_dayjs.default.locale("th_TH");
1314
- const buddhistLocale = {
1315
- ...import_th_TH.default,
1316
- lang: {
1317
- ...import_th_TH.default.lang,
1318
- fieldDateFormat: "BBBB-MM-DD",
1319
- fieldDateTimeFormat: "BBBB-MM-DD HH:mm:ss",
1320
- yearFormat: "BBBB",
1321
- cellYearFormat: "BBBB"
1322
- }
1322
+ const formatToThaiBE = (date) => {
1323
+ const formatted = (0, import_date_fns.format)(date, "dd MMMM yyyy", { locale: import_locale.th });
1324
+ const year = parseInt((0, import_date_fns.format)(date, "yyyy"));
1325
+ const yearBE = year + 543;
1326
+ return formatted.replace(/\d{4}$/, String(yearBE));
1323
1327
  };
1324
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1325
- import_antd5.ConfigProvider,
1326
- {
1327
- theme: {
1328
- token: {
1329
- fontFamily: "Kanit",
1330
- fontSize: 16
1331
- }
1332
- },
1333
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "container-input", children: [
1334
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { children: [
1335
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "body-1", children: label }),
1336
- " ",
1337
- required && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "text-red-500", children: "*" })
1338
- ] }),
1339
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1340
- import_antd5.DatePicker,
1341
- {
1342
- className: `body-1 w-full ${className ?? ""}`,
1343
- value,
1344
- placeholder,
1345
- onChange,
1346
- allowClear: true,
1347
- disabled,
1348
- format: (date) => date ? (0, import_date_fns.format)(date.toDate(), "dd/MM/yyyy", { locale: import_locale.th }).replace(
1349
- /\d{4}$/,
1350
- (y) => String(parseInt(y) + 543)
1351
- ) : "",
1352
- defaultValue,
1353
- disabledDate: (d) => disabledDate ? disabledDate(d.toDate()) : false,
1354
- minDate: minDate ? (0, import_dayjs.default)(minDate) : void 0,
1355
- maxDate: maxDate ? (0, import_dayjs.default)(maxDate) : void 0,
1356
- size,
1357
- locale: buddhistLocale
1358
- }
1359
- ),
1360
- error && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("p", { className: "text-red-500 caption-1", children: error })
1361
- ] })
1362
- }
1363
- );
1328
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "container-input", style: { fontFamily: "Kanit", fontSize: 16 }, children: [
1329
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { children: [
1330
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "body-1", children: label }),
1331
+ required && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "text-red-500", children: "*" })
1332
+ ] }),
1333
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1334
+ import_antd5.DatePicker,
1335
+ {
1336
+ className: `body-1 w-full ${className ?? ""}`,
1337
+ placeholder,
1338
+ disabled,
1339
+ allowClear: true,
1340
+ size,
1341
+ value: value ? (0, import_dayjs.default)(value) : null,
1342
+ defaultValue: defaultValue ? (0, import_dayjs.default)(defaultValue) : void 0,
1343
+ minDate: minDate ? (0, import_dayjs.default)(minDate) : void 0,
1344
+ maxDate: maxDate ? (0, import_dayjs.default)(maxDate) : void 0,
1345
+ disabledDate: (d) => disabledDate ? disabledDate(d.toDate()) : false,
1346
+ onChange: (d) => onChange(d ? d.toDate() : null),
1347
+ format: (d) => d ? formatToThaiBE(d.toDate()) : "",
1348
+ locale: buddhistLocale,
1349
+ style: { fontFamily: "Kanit", fontSize: 16 }
1350
+ }
1351
+ ),
1352
+ error && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("p", { className: "text-red-500 caption-1", children: error })
1353
+ ] });
1364
1354
  }
1365
1355
 
1366
1356
  // src/ColorPicker/ColorPickerBasic/ColorPicker.tsx
package/dist/index.mjs CHANGED
@@ -1231,12 +1231,22 @@ function InputFieldNumber({
1231
1231
  var import_dayjs = __toESM(require_dayjs_min());
1232
1232
  var import_th2 = __toESM(require_th());
1233
1233
  var import_buddhistEra = __toESM(require_buddhistEra());
1234
- import { ConfigProvider as ConfigProvider5, DatePicker } from "antd";
1235
- import th from "antd/es/date-picker/locale/th_TH";
1236
- import { th as thFns } from "date-fns/locale";
1234
+ import { DatePicker } from "antd";
1237
1235
  import { format } from "date-fns";
1236
+ import { th as thFns } from "date-fns/locale";
1237
+ import th from "antd/es/date-picker/locale/th_TH";
1238
1238
  import { jsx as jsx23, jsxs as jsxs19 } from "react/jsx-runtime";
1239
1239
  import_dayjs.default.extend(import_buddhistEra.default);
1240
+ var buddhistLocale = {
1241
+ ...th,
1242
+ lang: {
1243
+ ...th.lang,
1244
+ fieldDateFormat: "BBBB-MM-DD",
1245
+ fieldDateTimeFormat: "BBBB-MM-DD HH:mm:ss",
1246
+ yearFormat: "BBBB",
1247
+ cellYearFormat: "BBBB"
1248
+ }
1249
+ };
1240
1250
  function DatePickerBasic({
1241
1251
  value,
1242
1252
  onChange,
@@ -1250,64 +1260,44 @@ function DatePickerBasic({
1250
1260
  maxDate,
1251
1261
  disabledDate,
1252
1262
  className,
1253
- size
1263
+ size = "middle"
1254
1264
  }) {
1255
- const dateFormat = "DD/MM/YYYY";
1256
- import_dayjs.default.locale("th_TH");
1257
- const buddhistLocale = {
1258
- ...th,
1259
- lang: {
1260
- ...th.lang,
1261
- fieldDateFormat: "BBBB-MM-DD",
1262
- fieldDateTimeFormat: "BBBB-MM-DD HH:mm:ss",
1263
- yearFormat: "BBBB",
1264
- cellYearFormat: "BBBB"
1265
- }
1265
+ const formatToThaiBE = (date) => {
1266
+ const formatted = format(date, "dd MMMM yyyy", { locale: thFns });
1267
+ const year = parseInt(format(date, "yyyy"));
1268
+ const yearBE = year + 543;
1269
+ return formatted.replace(/\d{4}$/, String(yearBE));
1266
1270
  };
1267
- return /* @__PURE__ */ jsx23(
1268
- ConfigProvider5,
1269
- {
1270
- theme: {
1271
- token: {
1272
- fontFamily: "Kanit",
1273
- fontSize: 16
1274
- }
1275
- },
1276
- children: /* @__PURE__ */ jsxs19("div", { className: "container-input", children: [
1277
- /* @__PURE__ */ jsxs19("div", { children: [
1278
- /* @__PURE__ */ jsx23("span", { className: "body-1", children: label }),
1279
- " ",
1280
- required && /* @__PURE__ */ jsx23("span", { className: "text-red-500", children: "*" })
1281
- ] }),
1282
- /* @__PURE__ */ jsx23(
1283
- DatePicker,
1284
- {
1285
- className: `body-1 w-full ${className ?? ""}`,
1286
- value,
1287
- placeholder,
1288
- onChange,
1289
- allowClear: true,
1290
- disabled,
1291
- format: (date) => date ? format(date.toDate(), "dd/MM/yyyy", { locale: thFns }).replace(
1292
- /\d{4}$/,
1293
- (y) => String(parseInt(y) + 543)
1294
- ) : "",
1295
- defaultValue,
1296
- disabledDate: (d) => disabledDate ? disabledDate(d.toDate()) : false,
1297
- minDate: minDate ? (0, import_dayjs.default)(minDate) : void 0,
1298
- maxDate: maxDate ? (0, import_dayjs.default)(maxDate) : void 0,
1299
- size,
1300
- locale: buddhistLocale
1301
- }
1302
- ),
1303
- error && /* @__PURE__ */ jsx23("p", { className: "text-red-500 caption-1", children: error })
1304
- ] })
1305
- }
1306
- );
1271
+ return /* @__PURE__ */ jsxs19("div", { className: "container-input", style: { fontFamily: "Kanit", fontSize: 16 }, children: [
1272
+ /* @__PURE__ */ jsxs19("div", { children: [
1273
+ /* @__PURE__ */ jsx23("span", { className: "body-1", children: label }),
1274
+ required && /* @__PURE__ */ jsx23("span", { className: "text-red-500", children: "*" })
1275
+ ] }),
1276
+ /* @__PURE__ */ jsx23(
1277
+ DatePicker,
1278
+ {
1279
+ className: `body-1 w-full ${className ?? ""}`,
1280
+ placeholder,
1281
+ disabled,
1282
+ allowClear: true,
1283
+ size,
1284
+ value: value ? (0, import_dayjs.default)(value) : null,
1285
+ defaultValue: defaultValue ? (0, import_dayjs.default)(defaultValue) : void 0,
1286
+ minDate: minDate ? (0, import_dayjs.default)(minDate) : void 0,
1287
+ maxDate: maxDate ? (0, import_dayjs.default)(maxDate) : void 0,
1288
+ disabledDate: (d) => disabledDate ? disabledDate(d.toDate()) : false,
1289
+ onChange: (d) => onChange(d ? d.toDate() : null),
1290
+ format: (d) => d ? formatToThaiBE(d.toDate()) : "",
1291
+ locale: buddhistLocale,
1292
+ style: { fontFamily: "Kanit", fontSize: 16 }
1293
+ }
1294
+ ),
1295
+ error && /* @__PURE__ */ jsx23("p", { className: "text-red-500 caption-1", children: error })
1296
+ ] });
1307
1297
  }
1308
1298
 
1309
1299
  // src/ColorPicker/ColorPickerBasic/ColorPicker.tsx
1310
- import { ConfigProvider as ConfigProvider6, ColorPicker } from "antd";
1300
+ import { ConfigProvider as ConfigProvider5, ColorPicker } from "antd";
1311
1301
  import { jsx as jsx24, jsxs as jsxs20 } from "react/jsx-runtime";
1312
1302
  function ColorPickerBasic({
1313
1303
  value,
@@ -1322,7 +1312,7 @@ function ColorPickerBasic({
1322
1312
  placeholder = "\u0E01\u0E23\u0E38\u0E13\u0E32\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E2A\u0E35"
1323
1313
  }) {
1324
1314
  return /* @__PURE__ */ jsx24(
1325
- ConfigProvider6,
1315
+ ConfigProvider5,
1326
1316
  {
1327
1317
  theme: {
1328
1318
  token: {
@@ -1366,7 +1356,7 @@ function ColorPickerBasic({
1366
1356
  }
1367
1357
 
1368
1358
  // src/ColorPicker/ColorPalettePickerBasic/ColorPalettePickerBasic.tsx
1369
- import { ConfigProvider as ConfigProvider7, ColorPicker as ColorPicker2, theme } from "antd";
1359
+ import { ConfigProvider as ConfigProvider6, ColorPicker as ColorPicker2, theme } from "antd";
1370
1360
 
1371
1361
  // node_modules/@babel/runtime/helpers/esm/typeof.js
1372
1362
  function _typeof(o) {
@@ -2096,7 +2086,7 @@ function ColorPalettePickerBasic({
2096
2086
  green
2097
2087
  });
2098
2088
  return /* @__PURE__ */ jsx25(
2099
- ConfigProvider7,
2089
+ ConfigProvider6,
2100
2090
  {
2101
2091
  theme: {
2102
2092
  token: {
@@ -2142,7 +2132,7 @@ function ColorPalettePickerBasic({
2142
2132
  }
2143
2133
 
2144
2134
  // src/Select/SelectField/SelectField.tsx
2145
- import { Select, ConfigProvider as ConfigProvider8 } from "antd";
2135
+ import { Select, ConfigProvider as ConfigProvider7 } from "antd";
2146
2136
  import { jsx as jsx26, jsxs as jsxs22 } from "react/jsx-runtime";
2147
2137
  function SelectField({
2148
2138
  value,
@@ -2162,7 +2152,7 @@ function SelectField({
2162
2152
  onClear
2163
2153
  }) {
2164
2154
  return /* @__PURE__ */ jsx26(
2165
- ConfigProvider8,
2155
+ ConfigProvider7,
2166
2156
  {
2167
2157
  theme: {
2168
2158
  token: {
@@ -2215,7 +2205,7 @@ function SelectField({
2215
2205
  }
2216
2206
 
2217
2207
  // src/Select/SelectFieldGroup/SelectFieldGroup.tsx
2218
- import { Select as Select2, ConfigProvider as ConfigProvider9 } from "antd";
2208
+ import { Select as Select2, ConfigProvider as ConfigProvider8 } from "antd";
2219
2209
  import { jsx as jsx27, jsxs as jsxs23 } from "react/jsx-runtime";
2220
2210
  function SelectFieldGroup({
2221
2211
  value,
@@ -2234,7 +2224,7 @@ function SelectFieldGroup({
2234
2224
  className
2235
2225
  }) {
2236
2226
  return /* @__PURE__ */ jsx27(
2237
- ConfigProvider9,
2227
+ ConfigProvider8,
2238
2228
  {
2239
2229
  theme: {
2240
2230
  token: {
@@ -2285,7 +2275,7 @@ function SelectFieldGroup({
2285
2275
  }
2286
2276
 
2287
2277
  // src/Select/SelectFieldStatus/SelectFieldStatus.tsx
2288
- import { Select as Select3, ConfigProvider as ConfigProvider10 } from "antd";
2278
+ import { Select as Select3, ConfigProvider as ConfigProvider9 } from "antd";
2289
2279
 
2290
2280
  // src/Select/SelectFieldStatus/StatusMockup.ts
2291
2281
  var status = [
@@ -2312,7 +2302,7 @@ function SelectFieldStatus({
2312
2302
  }) {
2313
2303
  const selectedItem = status.find((s) => s.value === value);
2314
2304
  return /* @__PURE__ */ jsx28(
2315
- ConfigProvider10,
2305
+ ConfigProvider9,
2316
2306
  {
2317
2307
  theme: {
2318
2308
  components: {
@@ -2355,7 +2345,7 @@ function SelectFieldStatus({
2355
2345
  }
2356
2346
 
2357
2347
  // src/Select/SelectFieldStatusReport/SelectFieldStatusReport.tsx
2358
- import { Select as Select4, ConfigProvider as ConfigProvider11 } from "antd";
2348
+ import { Select as Select4, ConfigProvider as ConfigProvider10 } from "antd";
2359
2349
 
2360
2350
  // src/Select/SelectFieldStatusReport/StatusReportMockup.ts
2361
2351
  var status2 = [
@@ -2379,7 +2369,7 @@ function SelectFieldStatusReport({
2379
2369
  }) {
2380
2370
  const selectedItem = status2.find((s) => s.value === value);
2381
2371
  return /* @__PURE__ */ jsx29(
2382
- ConfigProvider11,
2372
+ ConfigProvider10,
2383
2373
  {
2384
2374
  theme: {
2385
2375
  components: {
@@ -2422,7 +2412,7 @@ function SelectFieldStatusReport({
2422
2412
  }
2423
2413
 
2424
2414
  // src/Select/SelectFieldTag/SelectFieldTag.tsx
2425
- import { Select as Select5, ConfigProvider as ConfigProvider12 } from "antd";
2415
+ import { Select as Select5, ConfigProvider as ConfigProvider11 } from "antd";
2426
2416
  import { useState as useState6 } from "react";
2427
2417
  import { jsx as jsx30, jsxs as jsxs26 } from "react/jsx-runtime";
2428
2418
  function SelectFieldTag({
@@ -2458,7 +2448,7 @@ function SelectFieldTag({
2458
2448
  onChange?.([]);
2459
2449
  };
2460
2450
  return /* @__PURE__ */ jsx30(
2461
- ConfigProvider12,
2451
+ ConfigProvider11,
2462
2452
  {
2463
2453
  theme: {
2464
2454
  token: {
@@ -2498,7 +2488,7 @@ function SelectFieldTag({
2498
2488
 
2499
2489
  // src/Select/SelectCustom/SelectCustom.tsx
2500
2490
  import { IconTrash } from "@tabler/icons-react";
2501
- import { Select as Select6, ConfigProvider as ConfigProvider13 } from "antd";
2491
+ import { Select as Select6, ConfigProvider as ConfigProvider12 } from "antd";
2502
2492
  import { useState as useState7 } from "react";
2503
2493
  import { jsx as jsx31, jsxs as jsxs27 } from "react/jsx-runtime";
2504
2494
  function SelectCustom({
@@ -2530,7 +2520,7 @@ function SelectCustom({
2530
2520
  };
2531
2521
  const filteredOptions = options.filter((opt) => !valueList.includes(opt.value)).map((opt) => ({ value: opt.value, label: opt.label }));
2532
2522
  return /* @__PURE__ */ jsx31(
2533
- ConfigProvider13,
2523
+ ConfigProvider12,
2534
2524
  {
2535
2525
  theme: {
2536
2526
  token: {
@@ -2572,7 +2562,7 @@ function SelectCustom({
2572
2562
  }
2573
2563
 
2574
2564
  // src/SortFilter/SortFilter.tsx
2575
- import { ConfigProvider as ConfigProvider14 } from "antd";
2565
+ import { ConfigProvider as ConfigProvider13 } from "antd";
2576
2566
  import { CalendarOutlined } from "@ant-design/icons";
2577
2567
 
2578
2568
  // src/SortFilter/DataMockSortFilter.ts
@@ -2617,7 +2607,7 @@ function SortFilter({
2617
2607
  const [monthValue, setMonthValue] = useState8();
2618
2608
  const [quarterValue, setQuartersValue] = useState8();
2619
2609
  return /* @__PURE__ */ jsx32(
2620
- ConfigProvider14,
2610
+ ConfigProvider13,
2621
2611
  {
2622
2612
  theme: {
2623
2613
  token: {
@@ -2859,7 +2849,7 @@ function messageLoading(content, duration) {
2859
2849
  }
2860
2850
 
2861
2851
  // src/Breadcrumb/Breadcrumb.tsx
2862
- import { ConfigProvider as ConfigProvider15 } from "antd";
2852
+ import { ConfigProvider as ConfigProvider14 } from "antd";
2863
2853
  import { Breadcrumb } from "antd";
2864
2854
  import { jsx as jsx34 } from "react/jsx-runtime";
2865
2855
  function Breadcrumbs({
@@ -2870,7 +2860,7 @@ function Breadcrumbs({
2870
2860
  params
2871
2861
  }) {
2872
2862
  return /* @__PURE__ */ jsx34(
2873
- ConfigProvider15,
2863
+ ConfigProvider14,
2874
2864
  {
2875
2865
  theme: {
2876
2866
  token: {
@@ -2892,7 +2882,7 @@ function Breadcrumbs({
2892
2882
  }
2893
2883
 
2894
2884
  // src/HeadingPage/HeadingPage.tsx
2895
- import { ConfigProvider as ConfigProvider16 } from "antd";
2885
+ import { ConfigProvider as ConfigProvider15 } from "antd";
2896
2886
  import { jsx as jsx35, jsxs as jsxs30 } from "react/jsx-runtime";
2897
2887
  function HeadingPage({ Heading }) {
2898
2888
  const today = (/* @__PURE__ */ new Date()).toLocaleDateString("th-TH", {
@@ -2902,7 +2892,7 @@ function HeadingPage({ Heading }) {
2902
2892
  year: "numeric"
2903
2893
  });
2904
2894
  return /* @__PURE__ */ jsx35(
2905
- ConfigProvider16,
2895
+ ConfigProvider15,
2906
2896
  {
2907
2897
  theme: {
2908
2898
  token: {
@@ -2921,7 +2911,7 @@ function HeadingPage({ Heading }) {
2921
2911
  }
2922
2912
 
2923
2913
  // src/Progress/ProgressBar.tsx
2924
- import { ConfigProvider as ConfigProvider17, Progress } from "antd";
2914
+ import { ConfigProvider as ConfigProvider16, Progress } from "antd";
2925
2915
  import { useEffect as useEffect2, useRef as useRef3, useState as useState10 } from "react";
2926
2916
  import { jsx as jsx36, jsxs as jsxs31 } from "react/jsx-runtime";
2927
2917
  function ProgressBar({
@@ -2955,7 +2945,7 @@ function ProgressBar({
2955
2945
  return () => observer.disconnect();
2956
2946
  }, []);
2957
2947
  return /* @__PURE__ */ jsx36(
2958
- ConfigProvider17,
2948
+ ConfigProvider16,
2959
2949
  {
2960
2950
  theme: {
2961
2951
  token: {
@@ -3001,7 +2991,7 @@ function ProgressBar({
3001
2991
  }
3002
2992
 
3003
2993
  // src/KpiSection/KpiSection.tsx
3004
- import { ConfigProvider as ConfigProvider18, message } from "antd";
2994
+ import { ConfigProvider as ConfigProvider17, message } from "antd";
3005
2995
  import { useEffect as useEffect3, useState as useState12 } from "react";
3006
2996
 
3007
2997
  // src/KpiSection/hooks/useGetKpiSection.ts
@@ -3183,7 +3173,7 @@ function KpiSection({ type, onChangeKpiList }) {
3183
3173
  }
3184
3174
  }, [kpiList]);
3185
3175
  return /* @__PURE__ */ jsx37(
3186
- ConfigProvider18,
3176
+ ConfigProvider17,
3187
3177
  {
3188
3178
  theme: {
3189
3179
  token: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esic-lab/data-core-ui",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",