@deepnoid/ui 0.0.86 → 0.0.87

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 (62) hide show
  1. package/dist/{chunk-HH2LF2SU.mjs → chunk-2COCX2VX.mjs} +9 -5
  2. package/dist/{chunk-KA4L5SCT.mjs → chunk-4DLTBZUQ.mjs} +1 -1
  3. package/dist/{chunk-PSXPOYLX.mjs → chunk-4SWFYTMR.mjs} +1 -1
  4. package/dist/{chunk-RVGOARET.mjs → chunk-4VIEZ5FT.mjs} +2 -2
  5. package/dist/{chunk-QURXBWKK.mjs → chunk-IOV7MEPG.mjs} +323 -331
  6. package/dist/{chunk-SQLRQTFC.mjs → chunk-LY6LJRUX.mjs} +1 -1
  7. package/dist/{chunk-EWKYBS7I.mjs → chunk-PHQY5T3E.mjs} +1 -1
  8. package/dist/{chunk-AHORH5PH.mjs → chunk-PRUAIZTU.mjs} +1 -1
  9. package/dist/{chunk-LGELMZCN.mjs → chunk-QIZOXBOY.mjs} +1 -1
  10. package/dist/{chunk-FRIK4CS7.mjs → chunk-QX6VJLEM.mjs} +3 -3
  11. package/dist/{chunk-QCOPD2HG.mjs → chunk-SFNR4F3J.mjs} +1 -1
  12. package/dist/components/accordion/accordionItem.js +323 -331
  13. package/dist/components/accordion/accordionItem.mjs +3 -3
  14. package/dist/components/accordion/index.js +323 -331
  15. package/dist/components/accordion/index.mjs +3 -3
  16. package/dist/components/icon/Icon.js +323 -331
  17. package/dist/components/icon/Icon.mjs +2 -2
  18. package/dist/components/icon/index.js +323 -331
  19. package/dist/components/icon/index.mjs +2 -2
  20. package/dist/components/icon/template.js +323 -331
  21. package/dist/components/icon/template.mjs +1 -1
  22. package/dist/components/input/index.js +323 -331
  23. package/dist/components/input/index.mjs +3 -3
  24. package/dist/components/input/input.js +323 -331
  25. package/dist/components/input/input.mjs +3 -3
  26. package/dist/components/input/input.test.js +323 -331
  27. package/dist/components/input/input.test.mjs +3 -3
  28. package/dist/components/modal/index.js +323 -331
  29. package/dist/components/modal/index.mjs +3 -3
  30. package/dist/components/modal/modal.js +323 -331
  31. package/dist/components/modal/modal.mjs +3 -3
  32. package/dist/components/modal/modal.test.js +323 -331
  33. package/dist/components/modal/modal.test.mjs +3 -3
  34. package/dist/components/select/index.js +323 -331
  35. package/dist/components/select/index.mjs +4 -4
  36. package/dist/components/select/option.js +323 -331
  37. package/dist/components/select/option.mjs +3 -3
  38. package/dist/components/select/select.js +323 -331
  39. package/dist/components/select/select.mjs +4 -4
  40. package/dist/components/select/select.test.js +323 -331
  41. package/dist/components/select/select.test.mjs +4 -4
  42. package/dist/components/table/index.js +323 -331
  43. package/dist/components/table/index.mjs +4 -4
  44. package/dist/components/table/table-body.js +323 -331
  45. package/dist/components/table/table-body.mjs +3 -3
  46. package/dist/components/table/table.js +323 -331
  47. package/dist/components/table/table.mjs +4 -4
  48. package/dist/components/table/table.test.js +323 -331
  49. package/dist/components/table/table.test.mjs +4 -4
  50. package/dist/components/toast/index.js +333 -337
  51. package/dist/components/toast/index.mjs +4 -4
  52. package/dist/components/toast/toast.d.mts +1 -0
  53. package/dist/components/toast/toast.d.ts +1 -0
  54. package/dist/components/toast/toast.js +331 -335
  55. package/dist/components/toast/toast.mjs +3 -3
  56. package/dist/components/toast/toast.test.js +331 -335
  57. package/dist/components/toast/toast.test.mjs +3 -3
  58. package/dist/components/toast/use-toast.js +333 -337
  59. package/dist/components/toast/use-toast.mjs +4 -4
  60. package/dist/index.js +333 -337
  61. package/dist/index.mjs +11 -11
  62. package/package.json +2 -1
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Icon_default
4
- } from "./chunk-AHORH5PH.mjs";
4
+ } from "./chunk-PRUAIZTU.mjs";
5
5
  import {
6
6
  mapPropsVariants
7
7
  } from "./chunk-E3G5QXSH.mjs";
@@ -14,7 +14,7 @@ import { forwardRef, useCallback, useImperativeHandle, useMemo, useRef } from "r
14
14
  import { jsx, jsxs } from "react/jsx-runtime";
15
15
  var Toast = forwardRef((originalProps, ref) => {
16
16
  const [props, variantProps] = mapPropsVariants(originalProps, toast.variantKeys);
17
- const { placement, classNames, showIcon = true, showCloseButton = true, onClose, ...toastProps } = props;
17
+ const { width = 300, placement, classNames, showIcon = true, showCloseButton = true, onClose, ...toastProps } = props;
18
18
  const slots = useMemo(() => toast({ ...variantProps }), [variantProps]);
19
19
  const toastRef = useRef(null);
20
20
  useImperativeHandle(
@@ -31,7 +31,11 @@ var Toast = forwardRef((originalProps, ref) => {
31
31
  const getBaseProps = useCallback(
32
32
  () => ({
33
33
  className: slots.base({
34
- class: [classNames == null ? void 0 : classNames.base, (placement == null ? void 0 : placement.includes("top")) ? "animate-slideInFromTop" : "animate-slideInFromBottom"]
34
+ class: [
35
+ classNames == null ? void 0 : classNames.base,
36
+ width ? `w-[${width}px]` : "",
37
+ (placement == null ? void 0 : placement.includes("top")) ? "animate-slideInFromTop" : "animate-slideInFromBottom"
38
+ ]
35
39
  })
36
40
  }),
37
41
  [slots, classNames == null ? void 0 : classNames.base]
@@ -47,7 +51,6 @@ var toast_default = Toast;
47
51
  var toast = tv({
48
52
  slots: {
49
53
  base: [
50
- "w-[300px]",
51
54
  "relative",
52
55
  "inline-flex",
53
56
  "items-start",
@@ -58,7 +61,8 @@ var toast = tv({
58
61
  "gap-[5px]",
59
62
  "z-0",
60
63
  "transition-all",
61
- "duration-300"
64
+ "duration-300",
65
+ "overflow-auto"
62
66
  ],
63
67
  content: [
64
68
  "absolute",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Icon_default
4
- } from "./chunk-AHORH5PH.mjs";
4
+ } from "./chunk-PRUAIZTU.mjs";
5
5
  import {
6
6
  mapPropsVariants
7
7
  } from "./chunk-E3G5QXSH.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-PUFNT5LS.mjs";
5
5
  import {
6
6
  table_body_default
7
- } from "./chunk-LGELMZCN.mjs";
7
+ } from "./chunk-QIZOXBOY.mjs";
8
8
  import {
9
9
  clsx
10
10
  } from "./chunk-27Y6K5NK.mjs";
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import {
3
3
  option_default
4
- } from "./chunk-SQLRQTFC.mjs";
4
+ } from "./chunk-LY6LJRUX.mjs";
5
5
  import {
6
6
  useSelect
7
7
  } from "./chunk-S3QS5B7F.mjs";
8
8
  import {
9
9
  Icon_default
10
- } from "./chunk-AHORH5PH.mjs";
10
+ } from "./chunk-PRUAIZTU.mjs";
11
11
  import {
12
12
  mapPropsVariants
13
13
  } from "./chunk-E3G5QXSH.mjs";