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