@deepnoid/ui 0.1.102 → 0.1.103

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 (176) hide show
  1. package/.turbo/turbo-build.log +206 -206
  2. package/dist/{chunk-6Q2BXHJL.mjs → chunk-3HXNAVAN.mjs} +4 -4
  3. package/dist/{chunk-K7JLUER5.mjs → chunk-3OYZHMPV.mjs} +4 -4
  4. package/dist/{chunk-SCZB4QC7.mjs → chunk-42ZEP5KO.mjs} +1 -1
  5. package/dist/{chunk-XZ5DXOJQ.mjs → chunk-6P7ROOHO.mjs} +5 -5
  6. package/dist/{chunk-BHSZP2XF.mjs → chunk-6VB47MFU.mjs} +7 -7
  7. package/dist/{chunk-23WOW2NZ.mjs → chunk-7CEZLWX6.mjs} +6 -6
  8. package/dist/{chunk-BQTFCLWG.mjs → chunk-7MYSJYLU.mjs} +7 -7
  9. package/dist/{chunk-AJUQBMSV.mjs → chunk-AGE57VDD.mjs} +4 -4
  10. package/dist/{chunk-4GDJLALM.mjs → chunk-B7N7UND4.mjs} +2 -2
  11. package/dist/{chunk-TBSG4HY5.mjs → chunk-CYEVEBJJ.mjs} +1 -1
  12. package/dist/{chunk-ANBGNXIU.mjs → chunk-EDHKXJQT.mjs} +1 -1
  13. package/dist/{chunk-6XFKID3T.mjs → chunk-EVS5XU5X.mjs} +2 -2
  14. package/dist/{chunk-S5AVFWOR.mjs → chunk-FNAIQBDP.mjs} +1 -1
  15. package/dist/{chunk-GH4EPD35.mjs → chunk-FPU3RFIO.mjs} +5 -5
  16. package/dist/{chunk-WG2EL5JF.mjs → chunk-GWELQDOF.mjs} +4 -4
  17. package/dist/{chunk-5FFTHFBX.mjs → chunk-GYNELEN5.mjs} +6 -6
  18. package/dist/{chunk-7A3IKLEQ.mjs → chunk-IZZQ37U7.mjs} +5 -5
  19. package/dist/{chunk-E7IPRLUN.mjs → chunk-J522ZGOE.mjs} +14 -14
  20. package/dist/{chunk-IW57F7WZ.mjs → chunk-NJBW7LHL.mjs} +17 -17
  21. package/dist/{chunk-4LP3QDAE.mjs → chunk-NYG7H4G4.mjs} +5 -5
  22. package/dist/{chunk-PZSIYVDW.mjs → chunk-OHO7XKKC.mjs} +4 -4
  23. package/dist/{chunk-FESRJFPF.mjs → chunk-ONFDA4T3.mjs} +4 -4
  24. package/dist/{chunk-MFAF7G3M.mjs → chunk-R7YPNJCS.mjs} +11 -11
  25. package/dist/{chunk-JN6ELUAT.mjs → chunk-RHYTP5HU.mjs} +7 -7
  26. package/dist/{chunk-FRAX4WWG.mjs → chunk-ROY3DIJ7.mjs} +8 -8
  27. package/dist/{chunk-45BNDZHL.mjs → chunk-T4MOOKIT.mjs} +4 -4
  28. package/dist/{chunk-JBSV7GCL.mjs → chunk-W6Q5QOTQ.mjs} +7 -7
  29. package/dist/components/accordion/accordion.mjs +2 -2
  30. package/dist/components/accordion/accordionItem.mjs +2 -2
  31. package/dist/components/accordion/index.mjs +3 -3
  32. package/dist/components/avatar/avatar.js +2 -2
  33. package/dist/components/avatar/avatar.mjs +2 -2
  34. package/dist/components/avatar/index.js +2 -2
  35. package/dist/components/avatar/index.mjs +2 -2
  36. package/dist/components/breadcrumb/breadcrumb.js +6 -6
  37. package/dist/components/breadcrumb/breadcrumb.mjs +7 -7
  38. package/dist/components/breadcrumb/index.js +6 -6
  39. package/dist/components/breadcrumb/index.mjs +7 -7
  40. package/dist/components/button/button-group.d.mts +2 -1
  41. package/dist/components/button/button-group.d.ts +2 -1
  42. package/dist/components/button/button.d.mts +6 -6
  43. package/dist/components/button/button.d.ts +6 -6
  44. package/dist/components/button/button.js +15 -15
  45. package/dist/components/button/button.mjs +4 -4
  46. package/dist/components/button/icon-button.d.mts +4 -3
  47. package/dist/components/button/icon-button.d.ts +4 -3
  48. package/dist/components/button/icon-button.js +12 -12
  49. package/dist/components/button/icon-button.mjs +4 -4
  50. package/dist/components/button/index.js +29 -29
  51. package/dist/components/button/index.mjs +6 -6
  52. package/dist/components/button/text-button.d.mts +3 -3
  53. package/dist/components/button/text-button.d.ts +3 -3
  54. package/dist/components/button/text-button.js +4 -4
  55. package/dist/components/button/text-button.mjs +2 -2
  56. package/dist/components/charts/areaChart.mjs +2 -2
  57. package/dist/components/charts/barChart.mjs +2 -2
  58. package/dist/components/charts/circularProgress.js +0 -1
  59. package/dist/components/charts/circularProgress.mjs +2 -3
  60. package/dist/components/charts/index.mjs +4 -4
  61. package/dist/components/checkbox/checkbox.d.mts +3 -3
  62. package/dist/components/checkbox/checkbox.d.ts +3 -3
  63. package/dist/components/checkbox/checkbox.js +2 -2
  64. package/dist/components/checkbox/checkbox.mjs +2 -2
  65. package/dist/components/checkbox/index.js +2 -2
  66. package/dist/components/checkbox/index.mjs +2 -2
  67. package/dist/components/chip/chip.js +2 -2
  68. package/dist/components/chip/chip.mjs +4 -4
  69. package/dist/components/chip/index.js +2 -2
  70. package/dist/components/chip/index.mjs +4 -4
  71. package/dist/components/dateTimePicker/calendar.js +5 -5
  72. package/dist/components/dateTimePicker/calendar.mjs +4 -4
  73. package/dist/components/dateTimePicker/dateTimePicker.d.mts +6 -6
  74. package/dist/components/dateTimePicker/dateTimePicker.d.ts +6 -6
  75. package/dist/components/dateTimePicker/dateTimePicker.js +11 -11
  76. package/dist/components/dateTimePicker/dateTimePicker.mjs +9 -9
  77. package/dist/components/dateTimePicker/index.js +11 -11
  78. package/dist/components/dateTimePicker/index.mjs +9 -9
  79. package/dist/components/dateTimePicker/timePicker.js +3 -3
  80. package/dist/components/dateTimePicker/timePicker.mjs +7 -7
  81. package/dist/components/drawer/drawer.mjs +2 -2
  82. package/dist/components/drawer/index.mjs +2 -2
  83. package/dist/components/fileUpload/fileUpload.js +28 -28
  84. package/dist/components/fileUpload/fileUpload.mjs +10 -10
  85. package/dist/components/fileUpload/index.js +28 -28
  86. package/dist/components/fileUpload/index.mjs +10 -10
  87. package/dist/components/icon/Icon.js +2 -2
  88. package/dist/components/icon/Icon.mjs +2 -2
  89. package/dist/components/icon/index.js +2 -2
  90. package/dist/components/icon/index.mjs +2 -2
  91. package/dist/components/icon/template.js +2 -2
  92. package/dist/components/icon/template.mjs +1 -1
  93. package/dist/components/input/index.js +2 -2
  94. package/dist/components/input/index.mjs +4 -4
  95. package/dist/components/input/input.js +2 -2
  96. package/dist/components/input/input.mjs +4 -4
  97. package/dist/components/list/index.js +3 -3
  98. package/dist/components/list/index.mjs +8 -8
  99. package/dist/components/list/list.mjs +2 -2
  100. package/dist/components/list/listItem.d.mts +4 -4
  101. package/dist/components/list/listItem.d.ts +4 -4
  102. package/dist/components/list/listItem.js +3 -3
  103. package/dist/components/list/listItem.mjs +5 -5
  104. package/dist/components/modal/index.js +17 -17
  105. package/dist/components/modal/index.mjs +7 -7
  106. package/dist/components/modal/modal.js +17 -17
  107. package/dist/components/modal/modal.mjs +7 -7
  108. package/dist/components/pagination/index.js +4 -4
  109. package/dist/components/pagination/index.mjs +5 -5
  110. package/dist/components/pagination/pagination.d.mts +3 -3
  111. package/dist/components/pagination/pagination.d.ts +3 -3
  112. package/dist/components/pagination/pagination.js +4 -4
  113. package/dist/components/pagination/pagination.mjs +5 -5
  114. package/dist/components/progress/index.js +2 -2
  115. package/dist/components/progress/index.mjs +3 -3
  116. package/dist/components/progress/progress.d.mts +3 -3
  117. package/dist/components/progress/progress.d.ts +3 -3
  118. package/dist/components/progress/progress.js +2 -2
  119. package/dist/components/progress/progress.mjs +3 -3
  120. package/dist/components/radio/index.js +2 -2
  121. package/dist/components/radio/index.mjs +2 -2
  122. package/dist/components/radio/radio.d.mts +3 -3
  123. package/dist/components/radio/radio.d.ts +3 -3
  124. package/dist/components/radio/radio.js +2 -2
  125. package/dist/components/radio/radio.mjs +2 -2
  126. package/dist/components/select/index.js +2 -2
  127. package/dist/components/select/index.mjs +4 -4
  128. package/dist/components/select/select.js +2 -2
  129. package/dist/components/select/select.mjs +4 -4
  130. package/dist/components/switch/index.js +4 -4
  131. package/dist/components/switch/index.mjs +1 -1
  132. package/dist/components/switch/switch.d.mts +4 -4
  133. package/dist/components/switch/switch.d.ts +4 -4
  134. package/dist/components/switch/switch.js +4 -4
  135. package/dist/components/switch/switch.mjs +1 -1
  136. package/dist/components/table/index.js +6 -6
  137. package/dist/components/table/index.mjs +11 -11
  138. package/dist/components/table/table-body.js +6 -6
  139. package/dist/components/table/table-body.mjs +9 -9
  140. package/dist/components/table/table-head.js +6 -6
  141. package/dist/components/table/table-head.mjs +9 -9
  142. package/dist/components/table/table.js +6 -6
  143. package/dist/components/table/table.mjs +9 -9
  144. package/dist/components/tabs/index.js +2 -2
  145. package/dist/components/tabs/index.mjs +2 -2
  146. package/dist/components/tabs/tabs.d.mts +3 -3
  147. package/dist/components/tabs/tabs.d.ts +3 -3
  148. package/dist/components/tabs/tabs.js +2 -2
  149. package/dist/components/tabs/tabs.mjs +2 -2
  150. package/dist/components/textarea/index.js +1 -1
  151. package/dist/components/textarea/index.mjs +2 -2
  152. package/dist/components/textarea/textarea.js +1 -1
  153. package/dist/components/textarea/textarea.mjs +2 -2
  154. package/dist/components/toast/index.js +2 -2
  155. package/dist/components/toast/index.mjs +5 -5
  156. package/dist/components/toast/toast.js +2 -2
  157. package/dist/components/toast/toast.mjs +4 -4
  158. package/dist/components/toast/use-toast.js +2 -2
  159. package/dist/components/toast/use-toast.mjs +5 -5
  160. package/dist/components/tooltip/index.mjs +2 -2
  161. package/dist/components/tooltip/tooltip.mjs +2 -2
  162. package/dist/components/tree/index.js +2 -2
  163. package/dist/components/tree/index.mjs +3 -3
  164. package/dist/components/tree/tree.js +2 -2
  165. package/dist/components/tree/tree.mjs +3 -3
  166. package/dist/index.js +56 -56
  167. package/dist/index.mjs +65 -65
  168. package/package.json +1 -1
  169. package/dist/{chunk-I3ADJOUT.mjs → chunk-2NKKPM4H.mjs} +3 -3
  170. package/dist/{chunk-3IILPVRA.mjs → chunk-2Q3V5U7K.mjs} +3 -3
  171. package/dist/{chunk-WIZDHK4O.mjs → chunk-K6X36ITU.mjs} +3 -3
  172. package/dist/{chunk-GAZ472ZU.mjs → chunk-OSKY2V2A.mjs} +3 -3
  173. package/dist/{chunk-6KH2UQRM.mjs → chunk-TWSYSAE7.mjs} +3 -3
  174. package/dist/{chunk-S7Y7XUBL.mjs → chunk-UDVA3BUM.mjs} +3 -3
  175. package/dist/{chunk-EKLA6ZR4.mjs → chunk-VAZKSQN6.mjs} +3 -3
  176. package/dist/{chunk-7VS6YXNB.mjs → chunk-ZFHBOZEE.mjs} +3 -3
package/dist/index.js CHANGED
@@ -2252,8 +2252,8 @@ var template = {
2252
2252
  children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
2253
2253
  "path",
2254
2254
  {
2255
- "fill-rule": "evenodd",
2256
- "clip-rule": "evenodd",
2255
+ fillRule: "evenodd",
2256
+ clipRule: "evenodd",
2257
2257
  d: "M11 2.8335C9.81858 2.8335 8.68555 3.2637 7.85016 4.02948C7.01477 4.79525 6.54545 5.83386 6.54545 6.91683V9.25016C5.87036 9.25016 5.22291 9.49599 4.74555 9.93358C4.26818 10.3712 4 10.9647 4 11.5835V16.8335C4 17.4523 4.26818 18.0458 4.74555 18.4834C5.22291 18.921 5.87036 19.1668 6.54545 19.1668H15.4545C16.1296 19.1668 16.7771 18.921 17.2545 18.4834C17.7318 18.0458 18 17.4523 18 16.8335V11.5835C18 10.9647 17.7318 10.3712 17.2545 9.93358C16.7771 9.49599 16.1296 9.25016 15.4545 9.25016V6.91683C15.4545 4.66127 13.4606 2.8335 11 2.8335ZM14.1818 9.25016V6.91683C14.1818 6.14328 13.8466 5.40142 13.2499 4.85443C12.6532 4.30745 11.8439 4.00016 11 4.00016C10.1561 4.00016 9.34682 4.30745 8.75011 4.85443C8.15341 5.40142 7.81818 6.14328 7.81818 6.91683V9.25016H14.1818Z",
2258
2258
  fill: "currentColor"
2259
2259
  }
@@ -5858,19 +5858,19 @@ var Button = (0, import_react6.forwardRef)((originalProps, ref) => {
5858
5858
  const { onPress: onRipplePressHandler, onClear: onClearRipple, ripples } = useRipple();
5859
5859
  const handlePress = (0, import_react6.useCallback)(
5860
5860
  (e) => {
5861
- if (disableRipple || originalProps.isDisabled) return;
5861
+ if (disableRipple || originalProps.disabled) return;
5862
5862
  onRipplePressHandler(e);
5863
5863
  },
5864
- [disableRipple, originalProps.isDisabled, ref, onRipplePressHandler]
5864
+ [disableRipple, originalProps.disabled, ref, onRipplePressHandler]
5865
5865
  );
5866
5866
  const mouseDownHandler = (0, import_react6.useCallback)(
5867
5867
  (e) => {
5868
5868
  var _a;
5869
5869
  (_a = buttonProps.onMouseDown) == null ? void 0 : _a.call(buttonProps, e);
5870
- if (disableRipple || originalProps.isDisabled) return;
5870
+ if (disableRipple || originalProps.disabled) return;
5871
5871
  handlePress(e);
5872
5872
  },
5873
- [buttonProps.onMouseDown, disableRipple, originalProps.isDisabled, ref, onRipplePressHandler]
5873
+ [buttonProps.onMouseDown, disableRipple, originalProps.disabled, ref, onRipplePressHandler]
5874
5874
  );
5875
5875
  const getRippleProps = (0, import_react6.useCallback)(
5876
5876
  () => ({ ripples, onClear: onClearRipple }),
@@ -5881,11 +5881,11 @@ var Button = (0, import_react6.forwardRef)((originalProps, ref) => {
5881
5881
  ...buttonProps,
5882
5882
  onMouseDown: mouseDownHandler,
5883
5883
  ref,
5884
- disabled: originalProps.isDisabled || originalProps.isLoading,
5884
+ disabled: originalProps.disabled || originalProps.isLoading,
5885
5885
  "data-loading": originalProps.isLoading,
5886
5886
  className: slots.base({ class: classNames == null ? void 0 : classNames.base })
5887
5887
  }),
5888
- [buttonProps, ref, originalProps.isDisabled, originalProps.isLoading, slots, classNames == null ? void 0 : classNames.base]
5888
+ [buttonProps, ref, originalProps.disabled, originalProps.isLoading, slots, classNames == null ? void 0 : classNames.base]
5889
5889
  );
5890
5890
  const getContentProps = (0, import_react6.useCallback)(
5891
5891
  () => ({
@@ -5990,7 +5990,7 @@ var buttonStyle = tv({
5990
5990
  base: "rounded-none"
5991
5991
  }
5992
5992
  },
5993
- fullWidth: {
5993
+ full: {
5994
5994
  true: {
5995
5995
  base: "w-full"
5996
5996
  }
@@ -5998,7 +5998,7 @@ var buttonStyle = tv({
5998
5998
  isLoading: {
5999
5999
  true: {}
6000
6000
  },
6001
- isDisabled: {
6001
+ disabled: {
6002
6002
  true: {
6003
6003
  base: "!bg-neutral-soft !border-neutral-soft !text-neutral-light pointer-events-none"
6004
6004
  }
@@ -6013,8 +6013,8 @@ var buttonStyle = tv({
6013
6013
  size: "md",
6014
6014
  variant: "solid",
6015
6015
  color: "primary",
6016
- fullWidth: false,
6017
- isDisabled: false,
6016
+ full: false,
6017
+ disabled: false,
6018
6018
  isLoading: false,
6019
6019
  isInGroup: false
6020
6020
  },
@@ -6248,17 +6248,17 @@ var buttonStyle = tv({
6248
6248
  base: "border-[1.75px]"
6249
6249
  }
6250
6250
  },
6251
- // variant && isDisabled
6251
+ // variant && disabled
6252
6252
  {
6253
6253
  variant: ["soft", "ghost"],
6254
- isDisabled: true,
6254
+ disabled: true,
6255
6255
  class: {
6256
6256
  base: "!border-neutral-soft"
6257
6257
  }
6258
6258
  },
6259
6259
  {
6260
6260
  variant: ["outline"],
6261
- isDisabled: true,
6261
+ disabled: true,
6262
6262
  class: {
6263
6263
  base: "!border-neutral-light"
6264
6264
  }
@@ -6271,7 +6271,7 @@ var import_react7 = require("react");
6271
6271
  var import_jsx_runtime9 = require("react/jsx-runtime");
6272
6272
  var IconButton = (0, import_react7.forwardRef)((props, ref) => {
6273
6273
  const [localProps, variantProps] = mapPropsVariants(props, iconButtonStyle.variantKeys);
6274
- const { classNames, name, disableRipple, isDisabled, isLoading, size, onMouseDown, ...buttonProps } = {
6274
+ const { classNames, name, disableRipple, disabled, isLoading, size, full, isInGroup, onMouseDown, ...buttonProps } = {
6275
6275
  ...localProps,
6276
6276
  ...variantProps
6277
6277
  };
@@ -6279,11 +6279,11 @@ var IconButton = (0, import_react7.forwardRef)((props, ref) => {
6279
6279
  const { onPress, onClear, ripples } = useRipple();
6280
6280
  const handleRipple = (0, import_react7.useCallback)(
6281
6281
  (e) => {
6282
- if (!disableRipple && !isDisabled) {
6282
+ if (!disableRipple && !disabled) {
6283
6283
  onPress(e);
6284
6284
  }
6285
6285
  },
6286
- [disableRipple, isDisabled, onPress]
6286
+ [disableRipple, disabled, onPress]
6287
6287
  );
6288
6288
  const handleMouseDown = (0, import_react7.useCallback)(
6289
6289
  (e) => {
@@ -6299,7 +6299,7 @@ var IconButton = (0, import_react7.forwardRef)((props, ref) => {
6299
6299
  ...buttonProps,
6300
6300
  onMouseDown: handleMouseDown,
6301
6301
  ref,
6302
- disabled: isDisabled || isLoading,
6302
+ disabled: disabled || isLoading,
6303
6303
  "data-loading": isLoading,
6304
6304
  className: slots.base({ class: classNames == null ? void 0 : classNames.base }),
6305
6305
  children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon_default, { name: "loading", size, className: "animate-spin" }) : /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
@@ -6359,7 +6359,7 @@ var iconButtonStyle = tv({
6359
6359
  isLoading: {
6360
6360
  true: {}
6361
6361
  },
6362
- isDisabled: {
6362
+ disabled: {
6363
6363
  true: {
6364
6364
  base: ["!bg-neutral-soft", "!border-neutral-soft", "!text-neutral-light", "pointer-events-none"]
6365
6365
  }
@@ -6604,17 +6604,17 @@ var iconButtonStyle = tv({
6604
6604
  base: ["border-xl"]
6605
6605
  }
6606
6606
  },
6607
- // isDisabled + variant
6607
+ // disabled + variant
6608
6608
  {
6609
6609
  variant: ["soft", "ghost"],
6610
- isDisabled: true,
6610
+ disabled: true,
6611
6611
  class: {
6612
6612
  base: ["!border-neutral-soft"]
6613
6613
  }
6614
6614
  },
6615
6615
  {
6616
6616
  variant: ["outline"],
6617
- isDisabled: true,
6617
+ disabled: true,
6618
6618
  class: {
6619
6619
  base: ["!border-neutral-light"]
6620
6620
  }
@@ -6624,8 +6624,8 @@ var iconButtonStyle = tv({
6624
6624
  size: "md",
6625
6625
  variant: "solid",
6626
6626
  color: "primary",
6627
- fullWidth: false,
6628
- isDisabled: false,
6627
+ full: false,
6628
+ disabled: false,
6629
6629
  isLoading: false,
6630
6630
  isInGroup: false
6631
6631
  }
@@ -6636,7 +6636,7 @@ var import_react8 = require("react");
6636
6636
  var import_jsx_runtime10 = require("react/jsx-runtime");
6637
6637
  var TextButton = (0, import_react8.forwardRef)((originalProps, ref) => {
6638
6638
  const [props, variantProps] = mapPropsVariants(originalProps, textButtonStyle.variantKeys);
6639
- const { children, startContent, endContent, classNames, variant, isDisabled, size, ...buttonProps } = {
6639
+ const { children, startContent, endContent, classNames, variant, disabled, size, ...buttonProps } = {
6640
6640
  ...props,
6641
6641
  ...variantProps
6642
6642
  };
@@ -6665,7 +6665,7 @@ var TextButton = (0, import_react8.forwardRef)((originalProps, ref) => {
6665
6665
  {
6666
6666
  ...buttonProps,
6667
6667
  ref,
6668
- disabled: isDisabled,
6668
+ disabled,
6669
6669
  className: clsx(
6670
6670
  slots.base({ class: classNames == null ? void 0 : classNames.base }),
6671
6671
  variant === "underline" && slots.underline({ class: classNames == null ? void 0 : classNames.underline })
@@ -6718,7 +6718,7 @@ var textButtonStyle = tv({
6718
6718
  underline: ["decoration-[1.75px]"]
6719
6719
  }
6720
6720
  },
6721
- isDisabled: {
6721
+ disabled: {
6722
6722
  true: {
6723
6723
  base: ["!text-neutral-light", "pointer-events-none"]
6724
6724
  }
@@ -6782,7 +6782,7 @@ var textButtonStyle = tv({
6782
6782
  size: "md",
6783
6783
  color: "primary",
6784
6784
  variant: "non-under",
6785
- isDisabled: false,
6785
+ disabled: false,
6786
6786
  isInGroup: false
6787
6787
  }
6788
6788
  });
@@ -7400,7 +7400,7 @@ var tabs = tv({
7400
7400
  tab: "w-[140px] h-[36px] text-xl"
7401
7401
  }
7402
7402
  },
7403
- fullWidth: {
7403
+ full: {
7404
7404
  true: {
7405
7405
  base: "w-full",
7406
7406
  tabs: "w-full",
@@ -7412,7 +7412,7 @@ var tabs = tv({
7412
7412
  color: "primary",
7413
7413
  variant: "solid",
7414
7414
  size: "md",
7415
- fullWidth: false
7415
+ full: false
7416
7416
  },
7417
7417
  compoundVariants: [
7418
7418
  // solid / color
@@ -7754,7 +7754,7 @@ var textareaStyle = (0, import_tailwind_variants13.tv)({
7754
7754
  color: "primary",
7755
7755
  size: "md",
7756
7756
  direction: "vertical",
7757
- fullWidth: false,
7757
+ full: false,
7758
7758
  disabled: false,
7759
7759
  readonly: false
7760
7760
  }
@@ -7946,7 +7946,7 @@ var checkboxStyle = tv({
7946
7946
  label: ["text-danger-main"]
7947
7947
  }
7948
7948
  },
7949
- isDisabled: {
7949
+ disabled: {
7950
7950
  true: {
7951
7951
  base: ["opacity-disabled", "cursor-not-allowed", "pointer-events-auto", "text-neutral-light"],
7952
7952
  wrapper: [
@@ -7967,7 +7967,7 @@ var checkboxStyle = tv({
7967
7967
  defaultVariants: {
7968
7968
  color: "primary",
7969
7969
  size: "md",
7970
- isDisabled: false
7970
+ disabled: false
7971
7971
  }
7972
7972
  });
7973
7973
 
@@ -8358,7 +8358,7 @@ var paginationStyle = tv(
8358
8358
  secondary: {},
8359
8359
  neutral: {}
8360
8360
  },
8361
- isDisabled: {
8361
+ disabled: {
8362
8362
  true: {
8363
8363
  icon: ["!text-neutral-light", "!cursor-default"],
8364
8364
  button: ["!text-neutral-light", "!cursor-default"]
@@ -8443,7 +8443,7 @@ var paginationStyle = tv(
8443
8443
  variant: "solid",
8444
8444
  color: "primary",
8445
8445
  size: "md",
8446
- isDisabled: false
8446
+ disabled: false
8447
8447
  }
8448
8448
  },
8449
8449
  {
@@ -9613,7 +9613,7 @@ var radioStyle = tv({
9613
9613
  label: ["text-danger-main"]
9614
9614
  }
9615
9615
  },
9616
- isDisabled: {
9616
+ disabled: {
9617
9617
  true: {
9618
9618
  base: ["opacity-disabled", "cursor-not-allowed", "pointer-events-auto", "text-neutral-light"],
9619
9619
  outerDot: [
@@ -9633,7 +9633,7 @@ var radioStyle = tv({
9633
9633
  defaultVariants: {
9634
9634
  color: "primary",
9635
9635
  size: "md",
9636
- isDisabled: false
9636
+ disabled: false
9637
9637
  }
9638
9638
  });
9639
9639
 
@@ -9643,7 +9643,7 @@ var import_tailwind_variants23 = require("tailwind-variants");
9643
9643
  var import_jsx_runtime27 = require("react/jsx-runtime");
9644
9644
  var Switch = (0, import_react22.forwardRef)((originalProps, ref) => {
9645
9645
  const [rawProps, variantProps] = mapPropsVariants(originalProps, switchStyle.variantKeys);
9646
- const { size, color, isDisabled, disableAnimation, id, checked, onChange, classNames, ...inputProps } = {
9646
+ const { size, color, disabled, disableAnimation, id, checked, onChange, classNames, ...inputProps } = {
9647
9647
  ...rawProps,
9648
9648
  ...variantProps
9649
9649
  };
@@ -9656,7 +9656,7 @@ var Switch = (0, import_react22.forwardRef)((originalProps, ref) => {
9656
9656
  id,
9657
9657
  ref,
9658
9658
  type: "checkbox",
9659
- disabled: isDisabled,
9659
+ disabled,
9660
9660
  className: "hidden",
9661
9661
  checked,
9662
9662
  onChange
@@ -9728,7 +9728,7 @@ var switchStyle = (0, import_tailwind_variants23.tv)({
9728
9728
  primary: {},
9729
9729
  secondary: {}
9730
9730
  },
9731
- isDisabled: {
9731
+ disabled: {
9732
9732
  true: {
9733
9733
  base: ["!pointer-events-none"],
9734
9734
  outerWrapper: ["!bg-neutral-soft"],
@@ -9766,7 +9766,7 @@ var switchStyle = (0, import_tailwind_variants23.tv)({
9766
9766
  defaultVariants: {
9767
9767
  size: "md",
9768
9768
  color: "primary",
9769
- isDisabled: false,
9769
+ disabled: false,
9770
9770
  disableAnimation: false
9771
9771
  }
9772
9772
  });
@@ -10104,8 +10104,8 @@ var Modal = (0, import_react25.forwardRef)((props, ref) => {
10104
10104
  typeof content === "string" ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: slots.content({ class: classNames == null ? void 0 : classNames.content }), children: content }) : content,
10105
10105
  (cancelButtonText || confirmButtonText) && /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: slots.footerWrapper({ class: classNames == null ? void 0 : classNames.footerWrapper }), children: [
10106
10106
  /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: slots.footer({ class: classNames == null ? void 0 : classNames.footer }), children: [
10107
- cancelButtonText && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(button_default, { variant: "soft", color: "neutral", fullWidth: true, onClick: onCancel, children: cancelButtonText }),
10108
- confirmButtonText && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(button_default, { color: props.color, fullWidth: true, onClick: onConfirm, children: confirmButtonText })
10107
+ cancelButtonText && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(button_default, { variant: "soft", color: "neutral", full: true, onClick: onCancel, children: cancelButtonText }),
10108
+ confirmButtonText && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(button_default, { color: props.color, full: true, onClick: onConfirm, children: confirmButtonText })
10109
10109
  ] }),
10110
10110
  extraFooter
10111
10111
  ] })
@@ -10464,7 +10464,7 @@ var listItemStyle = tv({
10464
10464
  secondary: {},
10465
10465
  neutral: {}
10466
10466
  },
10467
- isDisabled: {
10467
+ disabled: {
10468
10468
  true: {
10469
10469
  base: [
10470
10470
  "!bg-transparent",
@@ -11022,13 +11022,13 @@ var Calendar = (0, import_react32.forwardRef)((originalProps, ref) => {
11022
11022
  );
11023
11023
  const calendarDates = getCalendarDates();
11024
11024
  return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_jsx_runtime35.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { ...getBaseProps(), children: [
11025
- /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "calendar-header flex justify-between items-center mb-4", children: [
11025
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "calendar-header mb-4 flex items-center justify-between", children: [
11026
11026
  /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Icon_default, { name: "brace-left", size: "md", className: "cursor-pointer", onClick: handlePrevMonth }),
11027
11027
  /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "text-h6 font-semibold", children: currentDate.toLocaleString("default", { year: "numeric", month: "2-digit" }) }),
11028
11028
  /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Icon_default, { name: "brace-right", size: "md", className: "cursor-pointer", onClick: handleNextMonth })
11029
11029
  ] }),
11030
11030
  /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "grid grid-cols-7 gap-2 text-center", children: daysOfWeek.map((day, index) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { ...getDateTitleProps(index), children: day }, `${day}-${index}`)) }),
11031
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "grid grid-cols-7 gap-[5px] text-center mt-2", children: calendarDates.map((week, weekIndex) => {
11031
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "mt-2 grid grid-cols-7 gap-[5px] text-center", children: calendarDates.map((week, weekIndex) => {
11032
11032
  const hasCurrentMonthDates = week.some((dateObj) => dateObj.currentMonth);
11033
11033
  if (!hasCurrentMonthDates) return null;
11034
11034
  return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react32.default.Fragment, { children: week.map((dateObj, index) => {
@@ -11095,7 +11095,7 @@ var calendarStyle = tv({
11095
11095
  },
11096
11096
  compoundVariants: [
11097
11097
  {
11098
- isDisabled: true,
11098
+ disabled: true,
11099
11099
  isRequired: true,
11100
11100
  class: {}
11101
11101
  }
@@ -11512,14 +11512,14 @@ var dateTimePickerStyle = tv({
11512
11512
  inputWrapper: ["rounded-full"]
11513
11513
  }
11514
11514
  },
11515
- fullWidth: {
11515
+ full: {
11516
11516
  true: {
11517
11517
  base: ["w-full"],
11518
11518
  innerWrapper: ["flex-1"],
11519
11519
  inputWrapper: ["w-full"]
11520
11520
  }
11521
11521
  },
11522
- isDisabled: {
11522
+ disabled: {
11523
11523
  true: {
11524
11524
  label: ["text-neutral-light"],
11525
11525
  inputWrapper: ["bg-neutral-soft", "border-neutral-light", "pointer-events-none"],
@@ -11538,13 +11538,13 @@ var dateTimePickerStyle = tv({
11538
11538
  variant: "solid",
11539
11539
  color: "primary",
11540
11540
  size: "md",
11541
- fullWidth: false,
11542
- isDisabled: false,
11541
+ full: false,
11542
+ disabled: false,
11543
11543
  isRequired: false
11544
11544
  },
11545
11545
  compoundVariants: [
11546
11546
  {
11547
- isDisabled: true,
11547
+ disabled: true,
11548
11548
  isRequired: true,
11549
11549
  class: {
11550
11550
  label: ["after:text-danger-light"]
@@ -11823,7 +11823,7 @@ var progressStyle = tv({
11823
11823
  indicator: "rounded-xl"
11824
11824
  }
11825
11825
  },
11826
- isDisabled: {
11826
+ disabled: {
11827
11827
  true: {
11828
11828
  base: "opacity-disabled cursor-not-allowed"
11829
11829
  }
@@ -11843,7 +11843,7 @@ var progressStyle = tv({
11843
11843
  defaultVariants: {
11844
11844
  color: "primary",
11845
11845
  size: "md",
11846
- isDisabled: false,
11846
+ disabled: false,
11847
11847
  disableAnimation: false,
11848
11848
  isIndeterminate: false
11849
11849
  },
@@ -11970,7 +11970,7 @@ function FileUpload({
11970
11970
  }
11971
11971
  )
11972
11972
  ] }),
11973
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(button_default, { type: "button", variant: "outline", onClick: handleButtonClick, isDisabled: !!file, children: buttonText }),
11973
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(button_default, { type: "button", variant: "outline", onClick: handleButtonClick, disabled: !!file, children: buttonText }),
11974
11974
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("input", { ref: fileInputRef, type: "file", hidden: true, accept: accept.join(","), onChange: handleFileChange })
11975
11975
  ] }),
11976
11976
  showProgress && file && uploadProgress < 100 && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(progress_default, { value: uploadProgress }),
package/dist/index.mjs CHANGED
@@ -2,115 +2,115 @@
2
2
  import "./chunk-MBLZYQCN.mjs";
3
3
  import {
4
4
  tree_default
5
- } from "./chunk-S5AVFWOR.mjs";
5
+ } from "./chunk-FNAIQBDP.mjs";
6
+ import "./chunk-LUWGOKLG.mjs";
7
+ import {
8
+ ToastProvider,
9
+ useToast
10
+ } from "./chunk-CYEVEBJJ.mjs";
11
+ import "./chunk-ZOTHPHXA.mjs";
12
+ import {
13
+ toast_default
14
+ } from "./chunk-3OYZHMPV.mjs";
6
15
  import "./chunk-HIE2YRGA.mjs";
7
16
  import {
8
17
  tooltip_default
9
- } from "./chunk-6KH2UQRM.mjs";
18
+ } from "./chunk-TWSYSAE7.mjs";
10
19
  import "./chunk-ZMOAFSYE.mjs";
11
20
  import "./chunk-WSIADHVC.mjs";
12
- import "./chunk-LVFI2NOH.mjs";
21
+ import "./chunk-DX3KXNP6.mjs";
13
22
  import {
14
- switch_default
15
- } from "./chunk-AJUQBMSV.mjs";
23
+ table_default
24
+ } from "./chunk-ROY3DIJ7.mjs";
16
25
  import "./chunk-3MY6LO7N.mjs";
17
26
  import {
18
27
  tabs_default
19
- } from "./chunk-4LP3QDAE.mjs";
28
+ } from "./chunk-NYG7H4G4.mjs";
20
29
  import "./chunk-RRAZM5D3.mjs";
21
30
  import {
22
31
  textarea_default
23
- } from "./chunk-6Q2BXHJL.mjs";
24
- import "./chunk-LUWGOKLG.mjs";
32
+ } from "./chunk-3HXNAVAN.mjs";
33
+ import "./chunk-MZ76AA76.mjs";
25
34
  import {
26
- ToastProvider,
27
- useToast
28
- } from "./chunk-TBSG4HY5.mjs";
29
- import "./chunk-ZOTHPHXA.mjs";
35
+ skeleton_default
36
+ } from "./chunk-6PN3DGOE.mjs";
37
+ import "./chunk-LVFI2NOH.mjs";
30
38
  import {
31
- toast_default
32
- } from "./chunk-K7JLUER5.mjs";
33
- import "./chunk-DX3KXNP6.mjs";
39
+ switch_default
40
+ } from "./chunk-AGE57VDD.mjs";
41
+ import "./chunk-32GA3YW4.mjs";
42
+ import {
43
+ drawer_default
44
+ } from "./chunk-UDVA3BUM.mjs";
34
45
  import {
35
46
  definition_table_default
36
47
  } from "./chunk-3M6VYLOU.mjs";
48
+ import "./chunk-TPFN22HR.mjs";
37
49
  import {
38
- table_default
39
- } from "./chunk-FRAX4WWG.mjs";
50
+ radio_default
51
+ } from "./chunk-FPU3RFIO.mjs";
40
52
  import "./chunk-DQRAFUDA.mjs";
41
53
  import {
42
54
  scrollArea_default
43
55
  } from "./chunk-M37VBNB3.mjs";
44
- import "./chunk-MZ76AA76.mjs";
45
- import {
46
- skeleton_default
47
- } from "./chunk-6PN3DGOE.mjs";
48
- import "./chunk-TPFN22HR.mjs";
49
- import {
50
- radio_default
51
- } from "./chunk-GH4EPD35.mjs";
52
56
  import "./chunk-QCEKPS7U.mjs";
53
57
  import {
54
58
  select_default
55
- } from "./chunk-WG2EL5JF.mjs";
59
+ } from "./chunk-GWELQDOF.mjs";
56
60
  import "./chunk-DJOG6Z35.mjs";
57
61
  import {
58
62
  modal_default
59
- } from "./chunk-BQTFCLWG.mjs";
63
+ } from "./chunk-7MYSJYLU.mjs";
60
64
  import "./chunk-7B7LRG5J.mjs";
61
65
  import {
62
66
  pagination_default
63
- } from "./chunk-JN6ELUAT.mjs";
67
+ } from "./chunk-RHYTP5HU.mjs";
64
68
  import "./chunk-F3HENRVM.mjs";
65
- import "./chunk-32GA3YW4.mjs";
66
69
  import "./chunk-RLXOHILK.mjs";
67
- import {
68
- fileUpload_default
69
- } from "./chunk-7A3IKLEQ.mjs";
70
- import "./chunk-7VOQKIIK.mjs";
71
- import {
72
- progress_default
73
- } from "./chunk-5FFTHFBX.mjs";
74
- import "./chunk-2GCSFWHD.mjs";
75
- import {
76
- input_default
77
- } from "./chunk-FESRJFPF.mjs";
78
70
  import "./chunk-MGEWSREV.mjs";
79
71
  import "./chunk-75HLCORR.mjs";
80
72
  import {
81
73
  dateTimePicker_default
82
- } from "./chunk-MFAF7G3M.mjs";
83
- import "./chunk-BHSZP2XF.mjs";
84
- import "./chunk-45BNDZHL.mjs";
74
+ } from "./chunk-R7YPNJCS.mjs";
75
+ import "./chunk-6VB47MFU.mjs";
76
+ import "./chunk-T4MOOKIT.mjs";
85
77
  import "./chunk-7MVEAQ7Z.mjs";
86
- import {
87
- list_default
88
- } from "./chunk-3IILPVRA.mjs";
89
78
  import {
90
79
  listItem_default
91
- } from "./chunk-23WOW2NZ.mjs";
80
+ } from "./chunk-7CEZLWX6.mjs";
81
+ import {
82
+ list_default
83
+ } from "./chunk-2Q3V5U7K.mjs";
92
84
  import "./chunk-FWJ2ZKH6.mjs";
93
85
  import "./chunk-P732YGHO.mjs";
94
86
  import {
95
- drawer_default
96
- } from "./chunk-S7Y7XUBL.mjs";
87
+ fileUpload_default
88
+ } from "./chunk-IZZQ37U7.mjs";
89
+ import "./chunk-7VOQKIIK.mjs";
90
+ import {
91
+ progress_default
92
+ } from "./chunk-GYNELEN5.mjs";
93
+ import "./chunk-2GCSFWHD.mjs";
94
+ import {
95
+ input_default
96
+ } from "./chunk-ONFDA4T3.mjs";
97
97
  import "./chunk-XOH6GWRD.mjs";
98
98
  import {
99
99
  areaChart_default
100
- } from "./chunk-WIZDHK4O.mjs";
100
+ } from "./chunk-K6X36ITU.mjs";
101
101
  import {
102
102
  barChart_default
103
- } from "./chunk-GAZ472ZU.mjs";
103
+ } from "./chunk-OSKY2V2A.mjs";
104
104
  import {
105
105
  circularProgress_default
106
- } from "./chunk-7VS6YXNB.mjs";
106
+ } from "./chunk-ZFHBOZEE.mjs";
107
107
  import "./chunk-QZ3LVYJW.mjs";
108
108
  import {
109
109
  checkbox_default
110
- } from "./chunk-XZ5DXOJQ.mjs";
110
+ } from "./chunk-6P7ROOHO.mjs";
111
111
  import {
112
112
  chip_default
113
- } from "./chunk-PZSIYVDW.mjs";
113
+ } from "./chunk-OHO7XKKC.mjs";
114
114
  import "./chunk-SE5TU755.mjs";
115
115
  import {
116
116
  backdrop_default
@@ -118,20 +118,20 @@ import {
118
118
  import "./chunk-KYIODWXL.mjs";
119
119
  import {
120
120
  breadcrumb_default
121
- } from "./chunk-4GDJLALM.mjs";
121
+ } from "./chunk-B7N7UND4.mjs";
122
122
  import "./chunk-MY5U63QO.mjs";
123
123
  import {
124
124
  text_button_default
125
- } from "./chunk-JBSV7GCL.mjs";
125
+ } from "./chunk-W6Q5QOTQ.mjs";
126
126
  import {
127
127
  button_group_default
128
128
  } from "./chunk-ITWKPTSD.mjs";
129
129
  import {
130
130
  button_default
131
- } from "./chunk-IW57F7WZ.mjs";
131
+ } from "./chunk-NJBW7LHL.mjs";
132
132
  import {
133
133
  icon_button_default
134
- } from "./chunk-E7IPRLUN.mjs";
134
+ } from "./chunk-J522ZGOE.mjs";
135
135
  import "./chunk-6WSACUIB.mjs";
136
136
  import "./chunk-LXHUO6VM.mjs";
137
137
  import "./chunk-6PNKRBUT.mjs";
@@ -139,26 +139,26 @@ import "./chunk-ZYIIXWVY.mjs";
139
139
  import {
140
140
  Icon_default,
141
141
  iconTemplate
142
- } from "./chunk-SCZB4QC7.mjs";
142
+ } from "./chunk-42ZEP5KO.mjs";
143
+ import "./chunk-3V4HT2K5.mjs";
143
144
  import "./chunk-NMSDSEBD.mjs";
144
145
  import {
145
146
  accordion_default
146
- } from "./chunk-EKLA6ZR4.mjs";
147
+ } from "./chunk-VAZKSQN6.mjs";
147
148
  import {
148
149
  accordionItem_default
149
- } from "./chunk-I3ADJOUT.mjs";
150
- import "./chunk-E3G5QXSH.mjs";
150
+ } from "./chunk-2NKKPM4H.mjs";
151
151
  import "./chunk-7DLOYKVC.mjs";
152
152
  import {
153
153
  avatar_default
154
- } from "./chunk-ANBGNXIU.mjs";
155
- import "./chunk-6XFKID3T.mjs";
154
+ } from "./chunk-EDHKXJQT.mjs";
155
+ import "./chunk-EVS5XU5X.mjs";
156
156
  import {
157
157
  deepnoidUi,
158
158
  tv
159
159
  } from "./chunk-CDXBML6O.mjs";
160
- import "./chunk-3V4HT2K5.mjs";
161
160
  import "./chunk-27Y6K5NK.mjs";
161
+ import "./chunk-E3G5QXSH.mjs";
162
162
  import "./chunk-AC6TWLRT.mjs";
163
163
  export {
164
164
  accordion_default as Accordion,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepnoid/ui",
3
- "version": "0.1.102",
3
+ "version": "0.1.103",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import {
3
- mapPropsVariants
4
- } from "./chunk-E3G5QXSH.mjs";
5
2
  import {
6
3
  tv
7
4
  } from "./chunk-CDXBML6O.mjs";
5
+ import {
6
+ mapPropsVariants
7
+ } from "./chunk-E3G5QXSH.mjs";
8
8
 
9
9
  // src/components/accordion/accordionItem.tsx
10
10
  import {