@szum-tech/design-system 2.7.0 → 3.0.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 (126) hide show
  1. package/dist/chunk-2Y2ZCPNV.cjs +61 -0
  2. package/dist/chunk-3376ZTRC.cjs +2 -0
  3. package/dist/{chunk-S5BN23O7.cjs → chunk-3KMXFN6M.cjs} +14 -20
  4. package/dist/chunk-5AA4IE2T.cjs +27 -0
  5. package/dist/chunk-5F2Y65JH.js +32 -0
  6. package/dist/chunk-6BSR3O2J.js +53 -0
  7. package/dist/chunk-BYXBJQAS.js +1 -0
  8. package/dist/{chunk-XIPREW2R.js → chunk-DP7UEOTA.js} +173 -176
  9. package/dist/chunk-HCHVDUI6.cjs +34 -0
  10. package/dist/chunk-HD7ZDQWW.js +173 -0
  11. package/dist/chunk-I3RSTJP6.js +20 -0
  12. package/dist/chunk-I7AV5IQO.cjs +33 -0
  13. package/dist/chunk-N4O2GO6V.cjs +204 -0
  14. package/dist/chunk-NGVFYKAT.js +29 -0
  15. package/dist/chunk-NU5UQPBX.cjs +25 -0
  16. package/dist/chunk-OQCNPNPS.js +23 -0
  17. package/dist/chunk-S3ANEJJ7.cjs +22 -0
  18. package/dist/chunk-U4AWAABZ.js +4901 -0
  19. package/dist/chunk-UGSNASZM.js +25 -0
  20. package/dist/{chunk-EIXSMEDP.cjs → chunk-UIOBJSKZ.cjs} +1 -3
  21. package/dist/{chunk-I5P2HH5Z.js → chunk-WJSS32MY.js} +13 -19
  22. package/dist/{chunk-GEACYHTU.js → chunk-XJIUGEPN.js} +1 -3
  23. package/dist/chunk-Y6EVJSAH.cjs +4928 -0
  24. package/dist/{chunk-D3MOZUNH.cjs → chunk-ZV4467OW.cjs} +176 -185
  25. package/dist/components/alert-dialog/index.cjs +1 -0
  26. package/dist/components/alert-dialog/index.js +1 -0
  27. package/dist/components/avatar/index.cjs +5 -4
  28. package/dist/components/avatar/index.d.cts +5 -19
  29. package/dist/components/avatar/index.d.ts +5 -19
  30. package/dist/components/avatar/index.js +2 -1
  31. package/dist/components/badge/index.cjs +1 -0
  32. package/dist/components/badge/index.js +1 -0
  33. package/dist/components/button/index.cjs +23 -3
  34. package/dist/components/button/index.d.cts +8 -15
  35. package/dist/components/button/index.d.ts +8 -15
  36. package/dist/components/button/index.js +22 -2
  37. package/dist/components/card/index.cjs +12 -7
  38. package/dist/components/card/index.d.cts +8 -5
  39. package/dist/components/card/index.d.ts +8 -5
  40. package/dist/components/card/index.js +2 -1
  41. package/dist/components/checkbox/index.cjs +12 -0
  42. package/dist/components/checkbox/index.d.cts +8 -0
  43. package/dist/components/checkbox/index.d.ts +8 -0
  44. package/dist/components/checkbox/index.js +3 -0
  45. package/dist/components/dialog/index.cjs +1 -0
  46. package/dist/components/dialog/index.d.cts +1 -1
  47. package/dist/components/dialog/index.d.ts +1 -1
  48. package/dist/components/dialog/index.js +1 -0
  49. package/dist/components/field/index.cjs +50 -0
  50. package/dist/components/field/index.d.cts +50 -0
  51. package/dist/components/field/index.d.ts +50 -0
  52. package/dist/components/field/index.js +5 -0
  53. package/dist/components/header/index.cjs +1 -0
  54. package/dist/components/header/index.js +1 -0
  55. package/dist/components/index.cjs +158 -126
  56. package/dist/components/index.d.cts +7 -8
  57. package/dist/components/index.d.ts +7 -8
  58. package/dist/components/index.js +14 -14
  59. package/dist/components/input/index.cjs +3 -2
  60. package/dist/components/input/index.d.cts +2 -4
  61. package/dist/components/input/index.d.ts +2 -4
  62. package/dist/components/input/index.js +2 -1
  63. package/dist/components/item/index.cjs +13 -12
  64. package/dist/components/item/index.d.cts +7 -7
  65. package/dist/components/item/index.d.ts +7 -7
  66. package/dist/components/item/index.js +3 -2
  67. package/dist/components/label/index.cjs +3 -2
  68. package/dist/components/label/index.js +2 -1
  69. package/dist/components/select/index.cjs +20 -3
  70. package/dist/components/select/index.d.cts +20 -6
  71. package/dist/components/select/index.d.ts +20 -6
  72. package/dist/components/select/index.js +2 -1
  73. package/dist/components/separator/index.cjs +3 -2
  74. package/dist/components/separator/index.js +2 -1
  75. package/dist/components/sheet/index.cjs +1 -0
  76. package/dist/components/sheet/index.d.cts +1 -1
  77. package/dist/components/sheet/index.d.ts +1 -1
  78. package/dist/components/sheet/index.js +1 -0
  79. package/dist/components/spinner/index.cjs +1 -0
  80. package/dist/components/spinner/index.js +1 -0
  81. package/dist/components/stepper/index.cjs +33 -33
  82. package/dist/components/stepper/index.js +14 -14
  83. package/dist/components/textarea/index.cjs +4 -2
  84. package/dist/components/textarea/index.d.cts +2 -2
  85. package/dist/components/textarea/index.d.ts +2 -2
  86. package/dist/components/textarea/index.js +3 -1
  87. package/dist/components/tooltip/index.cjs +1 -0
  88. package/dist/components/tooltip/index.js +1 -0
  89. package/dist/contexts/index.cjs +1 -0
  90. package/dist/contexts/index.js +1 -0
  91. package/dist/hooks/index.cjs +1 -0
  92. package/dist/hooks/index.js +1 -0
  93. package/dist/icons/index.cjs +89 -18
  94. package/dist/icons/index.js +88 -1
  95. package/dist/utils/index.cjs +1 -0
  96. package/dist/utils/index.js +1 -0
  97. package/package.json +8 -9
  98. package/tailwind/global.css +5 -9
  99. package/tailwind/palette.css +149 -204
  100. package/tailwind/typography.css +33 -57
  101. package/dist/chunk-36YD6ICC.js +0 -70
  102. package/dist/chunk-4NO6IM75.cjs +0 -40
  103. package/dist/chunk-5BTQ6BQA.js +0 -24
  104. package/dist/chunk-5PBHBOXI.js +0 -30
  105. package/dist/chunk-EU7G37IS.js +0 -36
  106. package/dist/chunk-FPFRA5Q6.cjs +0 -31
  107. package/dist/chunk-FVSO3RHT.cjs +0 -17
  108. package/dist/chunk-G6VXQ7DJ.cjs +0 -63
  109. package/dist/chunk-IAI7BIAG.js +0 -31
  110. package/dist/chunk-K4TRAPRN.cjs +0 -341
  111. package/dist/chunk-MI3CQBHC.js +0 -60
  112. package/dist/chunk-OIWEXHFE.cjs +0 -33
  113. package/dist/chunk-P4J2TTH7.cjs +0 -32
  114. package/dist/chunk-UKWZ5BHD.cjs +0 -93
  115. package/dist/chunk-VZKTT6CG.js +0 -15
  116. package/dist/chunk-XTO7CMIM.js +0 -88
  117. package/dist/chunk-YJFJLF7Y.js +0 -319
  118. package/dist/chunk-ZZ3EBGSD.cjs +0 -72
  119. package/dist/components/form/index.cjs +0 -55
  120. package/dist/components/form/index.d.cts +0 -32
  121. package/dist/components/form/index.d.ts +0 -32
  122. package/dist/components/form/index.js +0 -22
  123. package/dist/components/helper-text/index.cjs +0 -10
  124. package/dist/components/helper-text/index.d.cts +0 -18
  125. package/dist/components/helper-text/index.d.ts +0 -18
  126. package/dist/components/helper-text/index.js +0 -1
@@ -1,32 +0,0 @@
1
- import * as react_hook_form from 'react-hook-form';
2
- import { FormProviderProps, FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
3
- import * as React$1 from 'react';
4
- import * as react_jsx_runtime from 'react/jsx-runtime';
5
- import { LabelProps } from '../label/index.js';
6
- import * as _radix_ui_react_slot from '@radix-ui/react-slot';
7
- import { Slot } from '@radix-ui/react-slot';
8
- import 'radix-ui';
9
-
10
- type FormProps = FormProviderProps;
11
- declare const Form: <TFieldValues extends react_hook_form.FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
12
-
13
- type FormItemProps = React$1.HTMLAttributes<HTMLDivElement>;
14
- declare const FormItem: React$1.ForwardRefExoticComponent<FormItemProps & React$1.RefAttributes<HTMLDivElement>>;
15
-
16
- declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
17
-
18
- type FormLabelProps = LabelProps & {
19
- caption?: React$1.ReactNode;
20
- };
21
- declare const FormLabel: React$1.ForwardRefExoticComponent<Omit<FormLabelProps, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
22
-
23
- type FormControlProps = React$1.ComponentPropsWithoutRef<typeof Slot>;
24
- declare const FormControl: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_slot.SlotProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
25
-
26
- type FormMessageProps = React$1.HTMLAttributes<HTMLParagraphElement>;
27
- declare const FormMessage: React$1.ForwardRefExoticComponent<FormMessageProps & React$1.RefAttributes<HTMLParagraphElement>>;
28
-
29
- type FormDescriptionProps = React$1.HTMLAttributes<HTMLParagraphElement>;
30
- declare const FormDescription: React$1.ForwardRefExoticComponent<FormDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
31
-
32
- export { Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, FormItem, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps };
@@ -1,22 +0,0 @@
1
- export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage } from '../../chunk-XIPREW2R.js';
2
- import '../../chunk-MI3CQBHC.js';
3
- import '../../chunk-I5P2HH5Z.js';
4
- import '../../chunk-GEACYHTU.js';
5
- import '../../chunk-P5IUC7HJ.js';
6
- import '../../chunk-DTSFPOLX.js';
7
- import '../../chunk-IAI7BIAG.js';
8
- import '../../chunk-HJJPEVIH.js';
9
- import '../../chunk-YJFJLF7Y.js';
10
- import '../../chunk-5BTQ6BQA.js';
11
- import '../../chunk-AGVEKVWD.js';
12
- import '../../chunk-UW6GOD7J.js';
13
- import '../../chunk-5PBHBOXI.js';
14
- import '../../chunk-36YD6ICC.js';
15
- import '../../chunk-VZKTT6CG.js';
16
- import '../../chunk-H5O5L6XT.js';
17
- import '../../chunk-DFD2WUOU.js';
18
- import '../../chunk-XTO7CMIM.js';
19
- import '../../chunk-EU7G37IS.js';
20
- import '../../chunk-7V34QHYR.js';
21
- import '../../chunk-5MJPZUTO.js';
22
- import '../../chunk-ZD2QRAOX.js';
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkP4J2TTH7_cjs = require('../../chunk-P4J2TTH7.cjs');
4
-
5
-
6
-
7
- Object.defineProperty(exports, "HelperText", {
8
- enumerable: true,
9
- get: function () { return chunkP4J2TTH7_cjs.HelperText; }
10
- });
@@ -1,18 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import { VariantProps } from 'class-variance-authority';
4
- import * as class_variance_authority_types from 'class-variance-authority/types';
5
-
6
- type HelperTextProps = React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement> & {
7
- type?: HelperTextType;
8
- };
9
- declare function HelperText({ className, children, type, role, ref, ...props }: HelperTextProps): react_jsx_runtime.JSX.Element;
10
-
11
- declare const helperTextCva: (props?: ({
12
- type?: "error" | "description" | null | undefined;
13
- } & class_variance_authority_types.ClassProp) | undefined) => string;
14
-
15
- type HelperTextCvaProps = VariantProps<typeof helperTextCva>;
16
- type HelperTextType = NonNullable<HelperTextCvaProps["type"]>;
17
-
18
- export { HelperText, type HelperTextProps, type HelperTextType };
@@ -1,18 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import { VariantProps } from 'class-variance-authority';
4
- import * as class_variance_authority_types from 'class-variance-authority/types';
5
-
6
- type HelperTextProps = React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement> & {
7
- type?: HelperTextType;
8
- };
9
- declare function HelperText({ className, children, type, role, ref, ...props }: HelperTextProps): react_jsx_runtime.JSX.Element;
10
-
11
- declare const helperTextCva: (props?: ({
12
- type?: "error" | "description" | null | undefined;
13
- } & class_variance_authority_types.ClassProp) | undefined) => string;
14
-
15
- type HelperTextCvaProps = VariantProps<typeof helperTextCva>;
16
- type HelperTextType = NonNullable<HelperTextCvaProps["type"]>;
17
-
18
- export { HelperText, type HelperTextProps, type HelperTextType };
@@ -1 +0,0 @@
1
- export { HelperText } from '../../chunk-5PBHBOXI.js';