@szum-tech/design-system 3.12.3 → 3.14.0

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 (94) hide show
  1. package/dist/chunk-4IGU5SVP.js +54 -0
  2. package/dist/{chunk-XJZOANXX.cjs → chunk-6HX7ETL3.cjs} +1 -1
  3. package/dist/chunk-7OD2NBSV.cjs +50 -0
  4. package/dist/chunk-B4M7Q5KX.cjs +25 -0
  5. package/dist/{chunk-S2BCU6WG.cjs → chunk-CAIAZGSW.cjs} +5 -4
  6. package/dist/chunk-EOTQVIA5.js +993 -0
  7. package/dist/chunk-EZCWHR56.cjs +2355 -0
  8. package/dist/chunk-G24PWQKG.js +20 -0
  9. package/dist/chunk-GEDBA3JU.cjs +49 -0
  10. package/dist/chunk-IZU3KULT.js +41 -0
  11. package/dist/{chunk-KQ6QE7BT.cjs → chunk-MNDQXDV4.cjs} +4 -4
  12. package/dist/chunk-N4TYSZSU.cjs +44 -0
  13. package/dist/chunk-OZSNSRLV.cjs +1027 -0
  14. package/dist/{chunk-DL54DIMD.js → chunk-Q2MJKFIE.js} +2 -1
  15. package/dist/chunk-S3ZUFD6U.js +23 -0
  16. package/dist/{chunk-WXZE35FK.js → chunk-VK2FJ65F.js} +1 -1
  17. package/dist/chunk-VL3TPVSB.js +2299 -0
  18. package/dist/chunk-X5O7GP4S.js +48 -0
  19. package/dist/{chunk-E5TYGWGE.js → chunk-XKCLVPUC.js} +1 -1
  20. package/dist/{chunk-XIQUR62A.cjs → chunk-XY3ZNUWR.cjs} +32 -20
  21. package/dist/color-picker.types-GI7dq2Ig.d.cts +42 -0
  22. package/dist/color-picker.types-GI7dq2Ig.d.ts +42 -0
  23. package/dist/components/badge-overflow/index.cjs +3 -2
  24. package/dist/components/badge-overflow/index.js +2 -1
  25. package/dist/components/button/index.cjs +16 -12
  26. package/dist/components/button/index.d.cts +1 -0
  27. package/dist/components/button/index.d.ts +1 -0
  28. package/dist/components/button/index.js +15 -11
  29. package/dist/components/carousel/index.cjs +17 -13
  30. package/dist/components/carousel/index.d.cts +1 -0
  31. package/dist/components/carousel/index.d.ts +1 -0
  32. package/dist/components/carousel/index.js +15 -11
  33. package/dist/components/color-picker/index.cjs +88 -0
  34. package/dist/components/color-picker/index.d.cts +71 -0
  35. package/dist/components/color-picker/index.d.ts +71 -0
  36. package/dist/components/color-picker/index.js +39 -0
  37. package/dist/components/dialog/index.d.cts +1 -0
  38. package/dist/components/dialog/index.d.ts +1 -0
  39. package/dist/components/file-upload/index.cjs +60 -0
  40. package/dist/components/file-upload/index.d.cts +131 -0
  41. package/dist/components/file-upload/index.d.ts +131 -0
  42. package/dist/components/file-upload/index.js +3 -0
  43. package/dist/components/index.cjs +216 -84
  44. package/dist/components/index.d.cts +8 -1
  45. package/dist/components/index.d.ts +8 -1
  46. package/dist/components/index.js +15 -11
  47. package/dist/components/input/index.cjs +2 -2
  48. package/dist/components/input/index.js +1 -1
  49. package/dist/components/item/index.d.cts +1 -0
  50. package/dist/components/item/index.d.ts +1 -0
  51. package/dist/components/masonry/index.cjs +5 -4
  52. package/dist/components/masonry/index.js +3 -2
  53. package/dist/components/popover/index.cjs +35 -0
  54. package/dist/components/popover/index.d.cts +18 -0
  55. package/dist/components/popover/index.d.ts +18 -0
  56. package/dist/components/popover/index.js +2 -0
  57. package/dist/components/select/index.cjs +7 -7
  58. package/dist/components/select/index.d.cts +8 -14
  59. package/dist/components/select/index.d.ts +8 -14
  60. package/dist/components/select/index.js +1 -1
  61. package/dist/components/sheet/index.d.cts +2 -1
  62. package/dist/components/sheet/index.d.ts +2 -1
  63. package/dist/components/stepper/index.cjs +34 -30
  64. package/dist/components/stepper/index.d.cts +1 -0
  65. package/dist/components/stepper/index.d.ts +1 -0
  66. package/dist/components/stepper/index.js +15 -11
  67. package/dist/components/switch/index.cjs +11 -0
  68. package/dist/components/switch/index.d.cts +19 -0
  69. package/dist/components/switch/index.d.ts +19 -0
  70. package/dist/components/switch/index.js +2 -0
  71. package/dist/components/timeline/index.cjs +12 -11
  72. package/dist/components/timeline/index.d.cts +1 -0
  73. package/dist/components/timeline/index.d.ts +1 -0
  74. package/dist/components/timeline/index.js +3 -2
  75. package/dist/components/toaster/index.cjs +17 -13
  76. package/dist/components/toaster/index.js +15 -11
  77. package/dist/components/typing-text/index.d.cts +1 -0
  78. package/dist/components/typing-text/index.d.ts +1 -0
  79. package/dist/components/word-rotate/index.d.cts +1 -0
  80. package/dist/components/word-rotate/index.d.ts +1 -0
  81. package/dist/hooks/index.cjs +17 -8
  82. package/dist/hooks/index.d.cts +15 -4
  83. package/dist/hooks/index.d.ts +15 -4
  84. package/dist/hooks/index.js +2 -1
  85. package/dist/popover-trigger-Cf4PPj0z.d.cts +14 -0
  86. package/dist/popover-trigger-Cf4PPj0z.d.ts +14 -0
  87. package/dist/select-Bf6XQtt-.d.cts +12 -0
  88. package/dist/select-Bf6XQtt-.d.ts +12 -0
  89. package/package.json +1 -1
  90. package/dist/chunk-5AA4IE2T.cjs +0 -27
  91. package/dist/chunk-CP43WJCN.cjs +0 -1065
  92. package/dist/chunk-QTYNFISP.js +0 -1020
  93. package/dist/chunk-SB5UG7OC.js +0 -41
  94. package/dist/chunk-UGSNASZM.js +0 -25
@@ -1,4 +1,5 @@
1
- import { useComposedRefs, useIsomorphicLayoutEffect } from './chunk-SB5UG7OC.js';
1
+ import { useComposedRefs } from './chunk-4IGU5SVP.js';
2
+ import { useIsomorphicLayoutEffect } from './chunk-G24PWQKG.js';
2
3
  import * as React3 from 'react';
3
4
  import React3__default from 'react';
4
5
  import { Slot } from '@radix-ui/react-slot';
@@ -0,0 +1,23 @@
1
+ import { cn } from './chunk-ZD2QRAOX.js';
2
+ import { jsx } from 'react/jsx-runtime';
3
+
4
+ function Input({ className, type, invalid = false, ...props }) {
5
+ return /* @__PURE__ */ jsx(
6
+ "input",
7
+ {
8
+ type,
9
+ "data-slot": "input",
10
+ "aria-invalid": props["aria-invalid"] || invalid,
11
+ className: cn(
12
+ "dark:bg-input/30 border-input file:text-foreground placeholder:text-muted-foreground h-8 w-full min-w-0 rounded border bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-3 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-3 md:text-sm",
13
+ "aria-invalid:ring-error/20 dark:aria-invalid:ring-error/40 aria-invalid:border-error dark:aria-invalid:border-error/50",
14
+ "focus-visible:border-ring focus-visible:ring-ring/50",
15
+ "disabled:bg-input/50 dark:disabled:bg-input/80",
16
+ className
17
+ ),
18
+ ...props
19
+ }
20
+ );
21
+ }
22
+
23
+ export { Input };
@@ -1,4 +1,4 @@
1
- import { useLazyRef, useIsomorphicLayoutEffect } from './chunk-SB5UG7OC.js';
1
+ import { useLazyRef, useIsomorphicLayoutEffect } from './chunk-G24PWQKG.js';
2
2
  import { cn } from './chunk-ZD2QRAOX.js';
3
3
  import * as React2 from 'react';
4
4
  import { jsx } from 'react/jsx-runtime';