@szum-tech/design-system 2.5.0 → 2.6.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.
- package/dist/{chunk-75T7KAAY.js → chunk-36YD6ICC.js} +2 -2
- package/dist/chunk-3WSQRFUY.cjs +11 -0
- package/dist/chunk-5RNHEHRL.js +996 -0
- package/dist/chunk-7EYMOUWG.cjs +51 -0
- package/dist/{chunk-G4WPMCUU.js → chunk-7V34QHYR.js} +3 -3
- package/dist/chunk-AIXT3Q3I.cjs +1043 -0
- package/dist/chunk-DFD2WUOU.js +27 -0
- package/dist/chunk-EW6TE3N5.cjs +38 -0
- package/dist/{chunk-BJ553XYM.cjs → chunk-G6VXQ7DJ.cjs} +3 -3
- package/dist/chunk-H5O5L6XT.js +14 -0
- package/dist/{chunk-3PV6NLP5.js → chunk-IAI7BIAG.js} +3 -3
- package/dist/{chunk-XKXP3W3H.cjs → chunk-K4TRAPRN.cjs} +3 -3
- package/dist/{chunk-4C7M4HBP.js → chunk-MI3CQBHC.js} +3 -3
- package/dist/{chunk-3X6DLFNA.cjs → chunk-NHFHKMX2.cjs} +3 -3
- package/dist/{chunk-6L3QPLRR.cjs → chunk-OIWEXHFE.cjs} +3 -3
- package/dist/chunk-P5IUC7HJ.js +9 -0
- package/dist/{chunk-WMMJEZ7Y.js → chunk-YJFJLF7Y.js} +3 -3
- package/dist/{chunk-FPK72OV4.cjs → chunk-ZZ3EBGSD.cjs} +2 -2
- package/dist/components/badge/index.cjs +2 -2
- package/dist/components/badge/index.js +1 -1
- package/dist/components/button/index.cjs +2 -2
- package/dist/components/button/index.js +1 -1
- package/dist/components/form/index.cjs +20 -17
- package/dist/components/form/index.js +13 -10
- package/dist/components/index.cjs +146 -63
- package/dist/components/index.d.cts +3 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +13 -10
- package/dist/components/input/index.cjs +2 -2
- package/dist/components/input/index.js +1 -1
- package/dist/components/select/index.cjs +3 -3
- package/dist/components/select/index.js +1 -1
- package/dist/components/spinner/index.cjs +11 -0
- package/dist/components/spinner/index.d.cts +7 -0
- package/dist/components/spinner/index.d.ts +7 -0
- package/dist/components/spinner/index.js +2 -0
- package/dist/components/stepper/index.cjs +102 -0
- package/dist/components/stepper/index.d.cts +162 -0
- package/dist/components/stepper/index.d.ts +162 -0
- package/dist/components/stepper/index.js +21 -0
- package/dist/components/textarea/index.cjs +2 -2
- package/dist/components/textarea/index.js +1 -1
- package/dist/contexts/index.cjs +18 -0
- package/dist/contexts/index.d.cts +11 -0
- package/dist/contexts/index.d.ts +11 -0
- package/dist/contexts/index.js +1 -0
- package/dist/hooks/index.cjs +18 -0
- package/dist/hooks/index.d.cts +14 -0
- package/dist/hooks/index.d.ts +14 -0
- package/dist/hooks/index.js +1 -0
- package/dist/icons/index.d.cts +3 -0
- package/dist/icons/index.d.ts +3 -0
- package/package.json +22 -1
- package/dist/chunk-DH5YKYXV.cjs +0 -116
- package/dist/chunk-SPCZ3GVM.js +0 -88
|
@@ -7,13 +7,13 @@ var inputCva = cva(
|
|
|
7
7
|
"bg-app-foreground font-poppins h-10 w-full appearance-none border py-2 outline-0 transition-colors duration-300 ease-in-out",
|
|
8
8
|
"placeholder:select-none placeholder:text-gray-400",
|
|
9
9
|
"invalid:border-error-500 focus:border-primary-500 active:border-primary-500",
|
|
10
|
-
"disabled:border-gray-800 disabled:text-gray-300 disabled:placeholder:text-gray-600
|
|
10
|
+
"disabled:cursor-not-allowed disabled:border-gray-800 disabled:text-gray-300 disabled:placeholder:text-gray-600"
|
|
11
11
|
],
|
|
12
12
|
{
|
|
13
13
|
variants: {
|
|
14
14
|
invalid: {
|
|
15
15
|
true: ["text-error-500 border-error-500 hover:border-error-400 focus:text-gray-100"],
|
|
16
|
-
false: ["border-
|
|
16
|
+
false: ["hover:border-primary-600 border-gray-600 text-gray-100"]
|
|
17
17
|
},
|
|
18
18
|
withStartIcon: {
|
|
19
19
|
true: "pl-11",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkH2BWO3SI_cjs = require('./chunk-H2BWO3SI.cjs');
|
|
4
|
+
var lucideReact = require('lucide-react');
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
|
|
7
|
+
function Spinner({ className, ...props }) {
|
|
8
|
+
return /* @__PURE__ */ jsxRuntime.jsx(lucideReact.LoaderCircle, { role: "status", "aria-label": "Loading", className: chunkH2BWO3SI_cjs.cn("size-4 animate-spin", className), ...props });
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
exports.Spinner = Spinner;
|