@deepnoid/ui 0.0.94 → 0.0.96

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.
Files changed (36) hide show
  1. package/dist/{chunk-6YE26GOI.mjs → chunk-HAKQYVWB.mjs} +52 -23
  2. package/dist/{chunk-VG4644BG.mjs → chunk-PO3ADNA5.mjs} +6 -6
  3. package/dist/{chunk-DWROPKZW.mjs → chunk-QDDEQY63.mjs} +18 -10
  4. package/dist/{chunk-3DRIHQOM.mjs → chunk-ZNEEYSIK.mjs} +1 -1
  5. package/dist/components/dateTimePicker/dateTimePicker.mjs +3 -3
  6. package/dist/components/dateTimePicker/index.mjs +3 -3
  7. package/dist/components/input/index.js +1 -1
  8. package/dist/components/input/index.mjs +1 -1
  9. package/dist/components/input/input.js +1 -1
  10. package/dist/components/input/input.mjs +1 -1
  11. package/dist/components/input/input.test.js +1 -1
  12. package/dist/components/input/input.test.mjs +1 -1
  13. package/dist/components/select/index.mjs +2 -2
  14. package/dist/components/select/select.mjs +2 -2
  15. package/dist/components/select/select.test.mjs +2 -2
  16. package/dist/components/table/index.js +74 -37
  17. package/dist/components/table/index.mjs +3 -3
  18. package/dist/components/table/table-body.d.mts +7 -4
  19. package/dist/components/table/table-body.d.ts +7 -4
  20. package/dist/components/table/table-body.js +18 -10
  21. package/dist/components/table/table-body.mjs +1 -1
  22. package/dist/components/table/table-head.d.mts +4 -4
  23. package/dist/components/table/table-head.d.ts +4 -4
  24. package/dist/components/table/table-head.js +6 -6
  25. package/dist/components/table/table-head.mjs +1 -1
  26. package/dist/components/table/table.d.mts +51 -7
  27. package/dist/components/table/table.d.ts +51 -7
  28. package/dist/components/table/table.js +74 -37
  29. package/dist/components/table/table.mjs +3 -3
  30. package/dist/components/table/table.test.js +74 -37
  31. package/dist/components/table/table.test.mjs +3 -3
  32. package/dist/index.js +76 -39
  33. package/dist/index.mjs +25 -25
  34. package/package.json +1 -1
  35. package/dist/{chunk-JN7EGKJL.mjs → chunk-2BCJZILI.mjs} +3 -3
  36. package/dist/{chunk-ON2OTH5K.mjs → chunk-I5SI4OCM.mjs} +3 -3
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  table_default
4
- } from "../../chunk-6YE26GOI.mjs";
5
- import "../../chunk-DWROPKZW.mjs";
6
- import "../../chunk-VG4644BG.mjs";
4
+ } from "../../chunk-HAKQYVWB.mjs";
5
+ import "../../chunk-QDDEQY63.mjs";
6
+ import "../../chunk-PO3ADNA5.mjs";
7
7
  import "../../chunk-QZ3LVYJW.mjs";
8
8
  import "../../chunk-ANYPMQH4.mjs";
9
9
  import "../../chunk-27Y6K5NK.mjs";
package/dist/index.js CHANGED
@@ -4633,7 +4633,7 @@ var inputStyle = tv({
4633
4633
  label: ["text-neutral-light"],
4634
4634
  inputWrapper: ["bg-neutral-soft", "border-neutral-light", "pointer-events-none"],
4635
4635
  input: ["text-neutral-light", "placeholder:text-neutral-light"],
4636
- content: ["text-neutral-light"],
4636
+ content: ["text-neutral-light", "group-has-[p]/input:text-danger-light"],
4637
4637
  errorMessage: ["text-danger-light"]
4638
4638
  }
4639
4639
  },
@@ -5305,10 +5305,10 @@ var TableHead = ({
5305
5305
  size,
5306
5306
  color,
5307
5307
  isExpanded,
5308
- isSelected,
5309
- isAllSelected,
5308
+ isChecked,
5309
+ isCheckedAll,
5310
5310
  classNames,
5311
- onSelectAll
5311
+ onCheckAll
5312
5312
  }) => {
5313
5313
  const getTheadProps = (0, import_react7.useCallback)(
5314
5314
  () => ({
@@ -5328,12 +5328,12 @@ var TableHead = ({
5328
5328
  }),
5329
5329
  [classNames == null ? void 0 : classNames.th, slots]
5330
5330
  );
5331
- const handleClickSelectAll = (e) => {
5331
+ const handleClickCheckAll = (e) => {
5332
5332
  e.preventDefault();
5333
- onSelectAll(!isAllSelected);
5333
+ onCheckAll(!isCheckedAll);
5334
5334
  };
5335
5335
  return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("thead", { ...getTheadProps(), children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("tr", { ...getTrProps(), children: [
5336
- isSelected && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("th", { className: "w-[40px]", onClick: handleClickSelectAll, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(checkbox_default, { size, color, checked: isAllSelected, classNames: { wrapper: "bg-background" } }) }),
5336
+ isChecked && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("th", { className: "w-[40px]", onClick: handleClickCheckAll, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(checkbox_default, { size, color, checked: isCheckedAll, classNames: { wrapper: "bg-background" } }) }),
5337
5337
  isExpanded && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("th", { className: "w-[40px]" }),
5338
5338
  columns.map((column, index) => /* @__PURE__ */ (0, import_react8.createElement)("th", { ...getThProps(column), key: column.field + index + "th" }, column.headerName))
5339
5339
  ] }) });
@@ -5353,13 +5353,16 @@ var TableBody = ({
5353
5353
  columns,
5354
5354
  isExpanded,
5355
5355
  isSelected,
5356
- isSelectedRow,
5356
+ isChecked,
5357
+ isCheckedRow,
5357
5358
  selectedRows,
5359
+ checkedRows,
5358
5360
  emptyContent,
5359
- onSelectRow,
5361
+ onCheckedRow,
5362
+ onSelectedRow,
5360
5363
  onRowAction
5361
5364
  }) => {
5362
- const COL_SPAN_COUNT = columns.length + (isExpanded ? 1 : 0) + (isSelected ? 1 : 0);
5365
+ const COL_SPAN_COUNT = columns.length + (isExpanded ? 1 : 0) + (isChecked ? 1 : 0);
5363
5366
  const [expandedRows, setExpandedRows] = (0, import_react9.useState)(/* @__PURE__ */ new Set());
5364
5367
  (0, import_react9.useEffect)(() => {
5365
5368
  setExpandedRows(/* @__PURE__ */ new Set());
@@ -5372,11 +5375,14 @@ var TableBody = ({
5372
5375
  );
5373
5376
  const getTrProps = (0, import_react9.useCallback)(
5374
5377
  (index) => ({
5375
- className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr })),
5378
+ className: clsx(
5379
+ slots.tr({ class: [classNames == null ? void 0 : classNames.tr, (isSelected || isCheckedRow || isExpanded) && "cursor-pointer"] })
5380
+ ),
5376
5381
  "data-odd": index % 2 !== 0,
5377
- "data-expanded": expandedRows.has(index)
5382
+ "data-expanded": expandedRows.has(index),
5383
+ "data-selected": selectedRows == null ? void 0 : selectedRows.has(index)
5378
5384
  }),
5379
- [classNames == null ? void 0 : classNames.tr, expandedRows, slots]
5385
+ [classNames == null ? void 0 : classNames.tr, expandedRows, isCheckedRow, isExpanded, isSelected, selectedRows, slots]
5380
5386
  );
5381
5387
  const getExpandedContentProps = (0, import_react9.useCallback)(
5382
5388
  () => ({
@@ -5423,20 +5429,22 @@ var TableBody = ({
5423
5429
  });
5424
5430
  };
5425
5431
  const handleRowClick = (index) => (e) => {
5432
+ var _a;
5426
5433
  e.stopPropagation();
5427
5434
  e.preventDefault();
5428
5435
  if (isExpanded) onChangeExpandedRow(index);
5429
- if (isSelected && isSelectedRow) onSelectRow(index);
5436
+ if (isSelected) onSelectedRow(index);
5437
+ if (isChecked && isCheckedRow) onCheckedRow(index);
5430
5438
  const row = rows[index];
5431
- if (row !== void 0) {
5432
- onRowAction == null ? void 0 : onRowAction(e, row);
5439
+ if (row) {
5440
+ (_a = row.onRowAction) == null ? void 0 : _a.call(row, e, row);
5433
5441
  }
5434
5442
  };
5435
5443
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("tbody", { ...getTbodyProps(), children: rows.length > 0 ? rows.map((row, rowIndex) => {
5436
5444
  const keys = Object.keys(row);
5437
5445
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_react9.default.Fragment, { children: [
5438
5446
  /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("tr", { ...getTrProps(rowIndex), onClick: handleRowClick(rowIndex), children: [
5439
- isSelected && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("td", { ...getTdProps({ field: "checkbox" }, row, keys), onClick: () => onSelectRow(rowIndex), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(checkbox_default, { color, size, checked: selectedRows.has(rowIndex) }) }),
5447
+ isChecked && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("td", { ...getTdProps({ field: "checkbox" }, row, keys), onClick: () => onCheckedRow(rowIndex), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(checkbox_default, { color, size, checked: checkedRows.has(rowIndex) }) }),
5440
5448
  isExpanded && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("td", { ...getTdProps({ field: "expandIcon" }, row, keys), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
5441
5449
  Icon_default,
5442
5450
  {
@@ -5459,6 +5467,7 @@ var import_jsx_runtime11 = require("react/jsx-runtime");
5459
5467
  var Table = (0, import_react11.forwardRef)((originalProps, ref) => {
5460
5468
  const [props, variantProps] = mapPropsVariants(originalProps, table.variantKeys);
5461
5469
  const { classNames, rows, columns, isLoading, className, emptyContent, onRowAction, ...tableComponentsProps } = props;
5470
+ const [checkedRows, setCheckedRows] = (0, import_react11.useState)(/* @__PURE__ */ new Set());
5462
5471
  const [selectedRows, setSelectedRows] = (0, import_react11.useState)(/* @__PURE__ */ new Set());
5463
5472
  const slots = (0, import_react11.useMemo)(() => table({ ...variantProps }), [...Object.values(variantProps)]);
5464
5473
  const getBaseProps = (0, import_react11.useCallback)(
@@ -5475,21 +5484,41 @@ var Table = (0, import_react11.forwardRef)((originalProps, ref) => {
5475
5484
  }),
5476
5485
  [classNames == null ? void 0 : classNames.table, slots]
5477
5486
  );
5478
- const handleSelectAll = (isSelected) => {
5479
- const newSelectedRows = isSelected ? new Set(rows.map((_, index) => index)) : /* @__PURE__ */ new Set();
5480
- setSelectedRows(newSelectedRows);
5487
+ const handleCheckAll = (isChecked) => {
5488
+ const newCheckedRows = isChecked ? new Set(rows.map((_, index) => index)) : /* @__PURE__ */ new Set();
5489
+ setCheckedRows(newCheckedRows);
5490
+ };
5491
+ const handleCheckRow = (index) => {
5492
+ const newCheckedRows = new Set(checkedRows);
5493
+ if (newCheckedRows.has(index)) {
5494
+ newCheckedRows.delete(index);
5495
+ } else {
5496
+ newCheckedRows.add(index);
5497
+ }
5498
+ setCheckedRows(newCheckedRows);
5481
5499
  };
5482
5500
  const handleSelectRow = (index) => {
5483
5501
  const newSelectedRows = new Set(selectedRows);
5484
- if (newSelectedRows.has(index)) {
5485
- newSelectedRows.delete(index);
5502
+ if (originalProps.isMultiSelect) {
5503
+ if (newSelectedRows.has(index)) {
5504
+ newSelectedRows.delete(index);
5505
+ } else {
5506
+ newSelectedRows.add(index);
5507
+ }
5486
5508
  } else {
5487
- newSelectedRows.add(index);
5509
+ if (newSelectedRows.has(index)) {
5510
+ newSelectedRows.delete(index);
5511
+ } else {
5512
+ newSelectedRows.clear();
5513
+ newSelectedRows.add(index);
5514
+ }
5488
5515
  }
5489
5516
  setSelectedRows(newSelectedRows);
5490
5517
  };
5491
5518
  (0, import_react11.useImperativeHandle)(ref, () => ({
5519
+ checkedRows,
5492
5520
  selectedRows,
5521
+ setCheckedRows,
5493
5522
  setSelectedRows
5494
5523
  }));
5495
5524
  return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { ref, "data-table": "base", ...getBaseProps(), children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("table", { ...getTableProps(tableComponentsProps), children: [
@@ -5501,10 +5530,10 @@ var Table = (0, import_react11.forwardRef)((originalProps, ref) => {
5501
5530
  columns,
5502
5531
  size: originalProps.size,
5503
5532
  color: originalProps.color === "neutral" ? "primary" : originalProps.color,
5504
- isSelected: originalProps.isSelected,
5533
+ isChecked: originalProps.isChecked,
5505
5534
  isExpanded: originalProps.isExpanded,
5506
- onSelectAll: handleSelectAll,
5507
- isAllSelected: selectedRows.size === rows.length
5535
+ onCheckAll: handleCheckAll,
5536
+ isCheckedAll: checkedRows.size === rows.length
5508
5537
  }
5509
5538
  ),
5510
5539
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
@@ -5516,13 +5545,16 @@ var Table = (0, import_react11.forwardRef)((originalProps, ref) => {
5516
5545
  size: originalProps.size,
5517
5546
  color: originalProps.color === "neutral" ? "primary" : originalProps.color,
5518
5547
  isSelected: originalProps.isSelected,
5519
- isSelectedRow: originalProps.isSelectedRow,
5548
+ isChecked: originalProps.isChecked,
5549
+ isCheckedRow: originalProps.isCheckedRow,
5520
5550
  isExpanded: originalProps.isExpanded,
5521
5551
  isLoading,
5522
5552
  classNames,
5523
5553
  emptyContent,
5524
5554
  selectedRows,
5525
- onSelectRow: handleSelectRow,
5555
+ checkedRows,
5556
+ onCheckedRow: handleCheckRow,
5557
+ onSelectedRow: handleSelectRow,
5526
5558
  onRowAction
5527
5559
  }
5528
5560
  )
@@ -5539,7 +5571,7 @@ var table = (0, import_tailwind_variants8.tv)({
5539
5571
  tr: ["group", "outline-none"],
5540
5572
  th: [
5541
5573
  "text-foreground",
5542
- "text-center",
5574
+ "!text-center",
5543
5575
  "align-middle",
5544
5576
  "whitespace-nowrap",
5545
5577
  "font-normal",
@@ -5558,7 +5590,6 @@ var table = (0, import_tailwind_variants8.tv)({
5558
5590
  "[&>*]:z-1",
5559
5591
  "[&>*]:relative",
5560
5592
  "transition duration-200",
5561
- "data-[selected=true]:before:opacity-100",
5562
5593
  "group-data-[disabled=true]:text-default-300"
5563
5594
  ],
5564
5595
  tfoot: "",
@@ -5624,7 +5655,13 @@ var table = (0, import_tailwind_variants8.tv)({
5624
5655
  isSelected: {
5625
5656
  true: {}
5626
5657
  },
5627
- isSelectedRow: {
5658
+ isMultiSelect: {
5659
+ true: {}
5660
+ },
5661
+ isChecked: {
5662
+ true: {}
5663
+ },
5664
+ isCheckedRow: {
5628
5665
  true: {
5629
5666
  tr: "cursor-pointer"
5630
5667
  }
@@ -5656,7 +5693,7 @@ var table = (0, import_tailwind_variants8.tv)({
5656
5693
  color: "primary",
5657
5694
  variant: "solid",
5658
5695
  size: "md",
5659
- isSelected: false,
5696
+ isChecked: false,
5660
5697
  isExpanded: false,
5661
5698
  isCompact: false,
5662
5699
  hideHeader: false,
@@ -5669,7 +5706,7 @@ var table = (0, import_tailwind_variants8.tv)({
5669
5706
  color: "primary",
5670
5707
  class: {
5671
5708
  thead: "[&>tr]:bg-primary-light",
5672
- tr: "data-[expanded=true]:bg-primary-soft"
5709
+ tr: ["data-[expanded=true]:bg-primary-soft", "data-[selected=true]:bg-primary-soft"]
5673
5710
  }
5674
5711
  },
5675
5712
  {
@@ -5677,7 +5714,7 @@ var table = (0, import_tailwind_variants8.tv)({
5677
5714
  color: "secondary",
5678
5715
  class: {
5679
5716
  thead: "[&>tr]:bg-secondary-light",
5680
- tr: "data-[expanded=true]:bg-secondary-soft"
5717
+ tr: ["data-[expanded=true]:bg-secondary-soft", "data-[selected=true]:bg-secondary-soft"]
5681
5718
  }
5682
5719
  },
5683
5720
  {
@@ -5685,7 +5722,7 @@ var table = (0, import_tailwind_variants8.tv)({
5685
5722
  color: "neutral",
5686
5723
  class: {
5687
5724
  thead: "[&>tr]:bg-trans-light",
5688
- tr: "data-[expanded=true]:bg-neutral-soft"
5725
+ tr: ["data-[expanded=true]:bg-neutral-soft", "data-[selected=true]:bg-neutral-soft"]
5689
5726
  }
5690
5727
  },
5691
5728
  {
@@ -5693,7 +5730,7 @@ var table = (0, import_tailwind_variants8.tv)({
5693
5730
  color: "primary",
5694
5731
  class: {
5695
5732
  thead: "border-primary-light",
5696
- tr: "data-[expanded=true]:bg-primary-soft"
5733
+ tr: ["data-[expanded=true]:bg-primary-soft", "data-[selected=true]:bg-primary-soft"]
5697
5734
  }
5698
5735
  },
5699
5736
  {
@@ -5701,7 +5738,7 @@ var table = (0, import_tailwind_variants8.tv)({
5701
5738
  color: "secondary",
5702
5739
  class: {
5703
5740
  thead: "border-secondary-light",
5704
- tr: "data-[expanded=true]:bg-secondary-soft"
5741
+ tr: ["data-[expanded=true]:bg-secondary-soft", "data-[selected=true]:bg-secondary-soft"]
5705
5742
  }
5706
5743
  },
5707
5744
  {
@@ -5709,7 +5746,7 @@ var table = (0, import_tailwind_variants8.tv)({
5709
5746
  color: "neutral",
5710
5747
  class: {
5711
5748
  thead: "border-trans-light",
5712
- tr: "data-[expanded=true]:bg-neutral-soft"
5749
+ tr: ["data-[expanded=true]:bg-neutral-soft", "data-[selected=true]:bg-neutral-soft"]
5713
5750
  }
5714
5751
  },
5715
5752
  {
@@ -8960,7 +8997,7 @@ var getThemeColors = (colorChip, mode) => {
8960
8997
  trans: getColor("gray", mode, "trans"),
8961
8998
  info: getColor("teal", mode, "function"),
8962
8999
  success: getColor("green", mode, "function"),
8963
- warning: getColor("yellow", mode, "function"),
9000
+ warning: getColor("orange", mode, "function"),
8964
9001
  danger: getColor("pink", mode, "function")
8965
9002
  };
8966
9003
  };
package/dist/index.mjs CHANGED
@@ -9,10 +9,6 @@ import "./chunk-RRAZM5D3.mjs";
9
9
  import {
10
10
  textarea_default
11
11
  } from "./chunk-OJ2OEI5B.mjs";
12
- import "./chunk-3MY6LO7N.mjs";
13
- import {
14
- tabs_default
15
- } from "./chunk-KRI5IALM.mjs";
16
12
  import "./chunk-LUWGOKLG.mjs";
17
13
  import {
18
14
  ToastProvider,
@@ -26,30 +22,34 @@ import "./chunk-LVFI2NOH.mjs";
26
22
  import {
27
23
  switch_default
28
24
  } from "./chunk-S3O52LLG.mjs";
25
+ import "./chunk-3MY6LO7N.mjs";
26
+ import {
27
+ tabs_default
28
+ } from "./chunk-KRI5IALM.mjs";
29
29
  import "./chunk-2UUH2MBF.mjs";
30
30
  import {
31
31
  table_default
32
- } from "./chunk-6YE26GOI.mjs";
33
- import "./chunk-DWROPKZW.mjs";
34
- import "./chunk-VG4644BG.mjs";
35
- import "./chunk-QCEKPS7U.mjs";
36
- import {
37
- select_default
38
- } from "./chunk-JN7EGKJL.mjs";
39
- import "./chunk-RZZWHI6O.mjs";
40
- import "./chunk-S3QS5B7F.mjs";
32
+ } from "./chunk-HAKQYVWB.mjs";
33
+ import "./chunk-QDDEQY63.mjs";
34
+ import "./chunk-PO3ADNA5.mjs";
41
35
  import "./chunk-MV2WCFK7.mjs";
42
36
  import {
43
37
  slider_default
44
38
  } from "./chunk-A3RWT3JJ.mjs";
39
+ import "./chunk-TPFN22HR.mjs";
40
+ import {
41
+ radio_default
42
+ } from "./chunk-QWFOYO3D.mjs";
45
43
  import "./chunk-7VOQKIIK.mjs";
46
44
  import {
47
45
  progress_default
48
46
  } from "./chunk-N2JULHST.mjs";
49
- import "./chunk-TPFN22HR.mjs";
47
+ import "./chunk-QCEKPS7U.mjs";
50
48
  import {
51
- radio_default
52
- } from "./chunk-QWFOYO3D.mjs";
49
+ select_default
50
+ } from "./chunk-2BCJZILI.mjs";
51
+ import "./chunk-S3QS5B7F.mjs";
52
+ import "./chunk-RZZWHI6O.mjs";
53
53
  import "./chunk-DJOG6Z35.mjs";
54
54
  import {
55
55
  modal_default
@@ -59,22 +59,17 @@ import {
59
59
  pagination_default
60
60
  } from "./chunk-B4KZBOGT.mjs";
61
61
  import "./chunk-F3HENRVM.mjs";
62
+ import "./chunk-QZ3LVYJW.mjs";
62
63
  import "./chunk-2GCSFWHD.mjs";
63
64
  import {
64
65
  input_default
65
- } from "./chunk-3DRIHQOM.mjs";
66
+ } from "./chunk-ZNEEYSIK.mjs";
66
67
  import "./chunk-HAOK24MK.mjs";
67
- import "./chunk-QZ3LVYJW.mjs";
68
- import {
69
- checkbox_default
70
- } from "./chunk-ANYPMQH4.mjs";
71
68
  import "./chunk-75HLCORR.mjs";
72
69
  import {
73
70
  dateTimePicker_default
74
- } from "./chunk-ON2OTH5K.mjs";
75
- import "./chunk-FWJ2ZKH6.mjs";
71
+ } from "./chunk-I5SI4OCM.mjs";
76
72
  import "./chunk-FDKT4IBP.mjs";
77
- import "./chunk-P732YGHO.mjs";
78
73
  import "./chunk-BCN5F2MN.mjs";
79
74
  import "./chunk-7MVEAQ7Z.mjs";
80
75
  import {
@@ -83,6 +78,11 @@ import {
83
78
  import {
84
79
  listItem_default
85
80
  } from "./chunk-V77MALL4.mjs";
81
+ import "./chunk-FWJ2ZKH6.mjs";
82
+ import "./chunk-P732YGHO.mjs";
83
+ import {
84
+ checkbox_default
85
+ } from "./chunk-ANYPMQH4.mjs";
86
86
  import "./chunk-NMSDSEBD.mjs";
87
87
  import "./chunk-VUYUQGLF.mjs";
88
88
  import {
@@ -454,7 +454,7 @@ var getThemeColors = (colorChip, mode) => {
454
454
  trans: getColor("gray", mode, "trans"),
455
455
  info: getColor("teal", mode, "function"),
456
456
  success: getColor("green", mode, "function"),
457
- warning: getColor("yellow", mode, "function"),
457
+ warning: getColor("orange", mode, "function"),
458
458
  danger: getColor("pink", mode, "function")
459
459
  };
460
460
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepnoid/ui",
3
- "version": "0.0.94",
3
+ "version": "0.0.96",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/index.js",
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import {
3
- option_default
4
- } from "./chunk-RZZWHI6O.mjs";
5
2
  import {
6
3
  useSelect
7
4
  } from "./chunk-S3QS5B7F.mjs";
5
+ import {
6
+ option_default
7
+ } from "./chunk-RZZWHI6O.mjs";
8
8
  import {
9
9
  Icon_default
10
10
  } from "./chunk-LCI6RPWE.mjs";
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- import {
3
- useDatePicker
4
- } from "./chunk-FWJ2ZKH6.mjs";
5
2
  import {
6
3
  calendar_default
7
4
  } from "./chunk-FDKT4IBP.mjs";
8
5
  import {
9
6
  timePicker_default
10
7
  } from "./chunk-BCN5F2MN.mjs";
8
+ import {
9
+ useDatePicker
10
+ } from "./chunk-FWJ2ZKH6.mjs";
11
11
  import {
12
12
  Icon_default
13
13
  } from "./chunk-LCI6RPWE.mjs";