@szum-tech/design-system 3.5.1 → 3.7.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-3BLXG7ET.js +86 -0
- package/dist/chunk-4YXM4NWG.cjs +46 -0
- package/dist/{chunk-5Q3H4MOX.js → chunk-ACJ3ES2B.js} +1 -1
- package/dist/{chunk-6WGZMVJT.cjs → chunk-BAWVLSRF.cjs} +1 -1
- package/dist/chunk-FKCWRNWB.js +54 -0
- package/dist/chunk-KXMI4545.js +43 -0
- package/dist/chunk-X55H6LRX.cjs +108 -0
- package/dist/chunk-Z6CZAPVG.cjs +58 -0
- package/dist/components/badge/index.cjs +10 -2
- package/dist/components/badge/index.d.cts +11 -2
- package/dist/components/badge/index.d.ts +11 -2
- package/dist/components/badge/index.js +1 -1
- package/dist/components/button/index.cjs +8 -6
- package/dist/components/button/index.d.cts +1 -1
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button/index.js +7 -5
- package/dist/components/color-swatch/index.cjs +12 -0
- package/dist/components/color-swatch/index.d.cts +22 -0
- package/dist/components/color-swatch/index.d.ts +22 -0
- package/dist/components/color-swatch/index.js +3 -0
- package/dist/components/dialog/index.cjs +9 -9
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/index.cjs +64 -42
- package/dist/components/index.d.cts +3 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +7 -5
- package/dist/components/item/index.d.cts +1 -1
- package/dist/components/item/index.d.ts +1 -1
- package/dist/components/scroll-area/index.cjs +16 -0
- package/dist/components/scroll-area/index.d.cts +11 -0
- package/dist/components/scroll-area/index.d.ts +11 -0
- package/dist/components/scroll-area/index.js +3 -0
- package/dist/components/stepper/index.cjs +26 -24
- package/dist/components/stepper/index.js +7 -5
- package/dist/components/toaster/index.cjs +9 -7
- package/dist/components/toaster/index.js +7 -5
- package/package.json +14 -14
- package/dist/chunk-6VC76QIP.js +0 -27
- package/dist/chunk-RDYKJP7U.cjs +0 -29
- /package/dist/{chunk-FN24XAO4.js → chunk-E2Y5T6U6.js} +0 -0
- /package/dist/{chunk-UPL5LJOP.cjs → chunk-ZTD7ED52.cjs} +0 -0
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZTD7ED52_cjs = require('../../chunk-ZTD7ED52.cjs');
|
|
4
4
|
require('../../chunk-NU5UQPBX.cjs');
|
|
5
5
|
require('../../chunk-GR37JJQK.cjs');
|
|
6
|
+
require('../../chunk-5AA4IE2T.cjs');
|
|
6
7
|
require('../../chunk-TH44JYXB.cjs');
|
|
7
8
|
require('../../chunk-XENOUBSI.cjs');
|
|
9
|
+
require('../../chunk-4YXM4NWG.cjs');
|
|
8
10
|
require('../../chunk-3ZRMIVJM.cjs');
|
|
9
11
|
require('../../chunk-GHV2TURY.cjs');
|
|
10
12
|
require('../../chunk-3WSQRFUY.cjs');
|
|
11
13
|
require('../../chunk-2Y2ZCPNV.cjs');
|
|
12
14
|
require('../../chunk-HCHVDUI6.cjs');
|
|
13
|
-
require('../../chunk-
|
|
14
|
-
require('../../chunk-
|
|
15
|
+
require('../../chunk-X55H6LRX.cjs');
|
|
16
|
+
require('../../chunk-BAWVLSRF.cjs');
|
|
15
17
|
require('../../chunk-YTVV2IUF.cjs');
|
|
16
18
|
require('../../chunk-S3ANEJJ7.cjs');
|
|
17
|
-
require('../../chunk-
|
|
19
|
+
require('../../chunk-YWG7TML6.cjs');
|
|
18
20
|
require('../../chunk-3DUJHGXE.cjs');
|
|
19
21
|
require('../../chunk-UIOBJSKZ.cjs');
|
|
20
22
|
require('../../chunk-EW6TE3N5.cjs');
|
|
21
23
|
require('../../chunk-7EYMOUWG.cjs');
|
|
22
24
|
require('../../chunk-TMXVL5CV.cjs');
|
|
23
25
|
require('../../chunk-I7AV5IQO.cjs');
|
|
24
|
-
require('../../chunk-
|
|
26
|
+
require('../../chunk-Z6CZAPVG.cjs');
|
|
25
27
|
require('../../chunk-H2BWO3SI.cjs');
|
|
26
28
|
require('../../chunk-3376ZTRC.cjs');
|
|
27
29
|
|
|
@@ -29,9 +31,9 @@ require('../../chunk-3376ZTRC.cjs');
|
|
|
29
31
|
|
|
30
32
|
Object.defineProperty(exports, "Toaster", {
|
|
31
33
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkZTD7ED52_cjs.Toaster; }
|
|
33
35
|
});
|
|
34
36
|
Object.defineProperty(exports, "toast", {
|
|
35
37
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkZTD7ED52_cjs.toast; }
|
|
37
39
|
});
|
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
export { Toaster, toast } from '../../chunk-
|
|
1
|
+
export { Toaster, toast } from '../../chunk-E2Y5T6U6.js';
|
|
2
2
|
import '../../chunk-OQCNPNPS.js';
|
|
3
3
|
import '../../chunk-HJJPEVIH.js';
|
|
4
|
+
import '../../chunk-UGSNASZM.js';
|
|
4
5
|
import '../../chunk-PBEZZMAB.js';
|
|
5
6
|
import '../../chunk-4TRADSTP.js';
|
|
7
|
+
import '../../chunk-KXMI4545.js';
|
|
6
8
|
import '../../chunk-O7QFYWMK.js';
|
|
7
9
|
import '../../chunk-DTSFPOLX.js';
|
|
8
10
|
import '../../chunk-P5IUC7HJ.js';
|
|
9
11
|
import '../../chunk-6BSR3O2J.js';
|
|
10
12
|
import '../../chunk-5F2Y65JH.js';
|
|
11
|
-
import '../../chunk-
|
|
12
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-3BLXG7ET.js';
|
|
14
|
+
import '../../chunk-ACJ3ES2B.js';
|
|
13
15
|
import '../../chunk-KYFNEU4K.js';
|
|
14
16
|
import '../../chunk-I3RSTJP6.js';
|
|
15
|
-
import '../../chunk-
|
|
17
|
+
import '../../chunk-UW6GOD7J.js';
|
|
16
18
|
import '../../chunk-XV3AQ6NS.js';
|
|
17
19
|
import '../../chunk-XJIUGEPN.js';
|
|
18
20
|
import '../../chunk-H5O5L6XT.js';
|
|
19
21
|
import '../../chunk-DFD2WUOU.js';
|
|
20
22
|
import '../../chunk-5MJPZUTO.js';
|
|
21
23
|
import '../../chunk-NGVFYKAT.js';
|
|
22
|
-
import '../../chunk-
|
|
24
|
+
import '../../chunk-FKCWRNWB.js';
|
|
23
25
|
import '../../chunk-ZD2QRAOX.js';
|
|
24
26
|
import '../../chunk-BYXBJQAS.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@szum-tech/design-system",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"description": "Szum-Tech design system with tailwindcss support",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"szum-tech",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"dependencies": {
|
|
123
123
|
"class-variance-authority": "^0.7.1",
|
|
124
124
|
"clsx": "^2.1.1",
|
|
125
|
-
"lucide-react": "^0.
|
|
125
|
+
"lucide-react": "^0.556.0",
|
|
126
126
|
"radix-ui": "^1.4.3",
|
|
127
127
|
"sonner": "^2.0.7",
|
|
128
128
|
"tailwind-merge": "^3.3.1",
|
|
@@ -130,11 +130,11 @@
|
|
|
130
130
|
},
|
|
131
131
|
"devDependencies": {
|
|
132
132
|
"@storybook-community/storybook-dark-mode": "^7.0.3",
|
|
133
|
-
"@storybook/addon-a11y": "^10.1.
|
|
134
|
-
"@storybook/addon-docs": "^10.1.
|
|
135
|
-
"@storybook/addon-vitest": "^10.1.
|
|
136
|
-
"@storybook/builder-vite": "^10.1.
|
|
137
|
-
"@storybook/react-vite": "^10.1.
|
|
133
|
+
"@storybook/addon-a11y": "^10.1.4",
|
|
134
|
+
"@storybook/addon-docs": "^10.1.4",
|
|
135
|
+
"@storybook/addon-vitest": "^10.1.4",
|
|
136
|
+
"@storybook/builder-vite": "^10.1.4",
|
|
137
|
+
"@storybook/react-vite": "^10.1.4",
|
|
138
138
|
"@szum-tech/eslint-config": "^2.1.7",
|
|
139
139
|
"@szum-tech/prettier-config": "^1.6.2",
|
|
140
140
|
"@szum-tech/semantic-release-config": "^2.3.1",
|
|
@@ -155,14 +155,14 @@
|
|
|
155
155
|
"eslint": "^9.39.1",
|
|
156
156
|
"happy-dom": "^20.0.2",
|
|
157
157
|
"playwright": "^1.56.1",
|
|
158
|
-
"prettier": "^3.
|
|
159
|
-
"react": "^19.
|
|
158
|
+
"prettier": "^3.7.4",
|
|
159
|
+
"react": "^19.2.1",
|
|
160
160
|
"react-docgen": "^8.0.0",
|
|
161
161
|
"react-docgen-typescript": "^2.4.0",
|
|
162
|
-
"react-dom": "^19.1
|
|
162
|
+
"react-dom": "^19.2.1",
|
|
163
163
|
"semantic-release": "^25.0.2",
|
|
164
164
|
"serve": "^14.2.4",
|
|
165
|
-
"storybook": "^10.1.
|
|
165
|
+
"storybook": "^10.1.4",
|
|
166
166
|
"storybook-addon-tag-badges": "^3.0.2",
|
|
167
167
|
"tailwindcss": "^4.1.11",
|
|
168
168
|
"tsup": "^8.5.1",
|
|
@@ -172,12 +172,12 @@
|
|
|
172
172
|
"vitest": "^4.0.15"
|
|
173
173
|
},
|
|
174
174
|
"peerDependencies": {
|
|
175
|
-
"react": ">=19
|
|
176
|
-
"react-dom": ">=19
|
|
175
|
+
"react": ">=19",
|
|
176
|
+
"react-dom": ">=19",
|
|
177
177
|
"tailwindcss": ">=4"
|
|
178
178
|
},
|
|
179
179
|
"engines": {
|
|
180
|
-
"node": ">=
|
|
180
|
+
"node": ">=24"
|
|
181
181
|
},
|
|
182
182
|
"publishConfig": {
|
|
183
183
|
"access": "public"
|
package/dist/chunk-6VC76QIP.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { cn } from './chunk-ZD2QRAOX.js';
|
|
2
|
-
import { Slot } from '@radix-ui/react-slot';
|
|
3
|
-
import { cva } from 'class-variance-authority';
|
|
4
|
-
import { jsx } from 'react/jsx-runtime';
|
|
5
|
-
|
|
6
|
-
var badgeVariants = cva(
|
|
7
|
-
"border-border focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-error/20 dark:aria-invalid:ring-error/40 aria-invalid:border-error inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden whitespace-nowrap rounded border px-2 py-0.5 text-xs font-medium transition-[color,box-shadow] focus-visible:ring [&>svg]:pointer-events-none [&>svg]:size-3",
|
|
8
|
-
{
|
|
9
|
-
variants: {
|
|
10
|
-
variant: {
|
|
11
|
-
default: "bg-primary text-primary-foreground [a&]:hover:bg-primary/90 border-transparent",
|
|
12
|
-
secondary: "bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90 border-transparent",
|
|
13
|
-
error: "bg-error [a&]:hover:bg-error/90 focus-visible:ring-error/20 dark:focus-visible:ring-error/40 dark:bg-error/60 text-error-foreground border-transparent",
|
|
14
|
-
outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
defaultVariants: {
|
|
18
|
-
variant: "default"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
);
|
|
22
|
-
function Badge({ className, variant = "default", asChild = false, ...props }) {
|
|
23
|
-
const Comp = asChild ? Slot : "span";
|
|
24
|
-
return /* @__PURE__ */ jsx(Comp, { "data-slot": "badge", className: cn(badgeVariants({ variant }), className), ...props });
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export { Badge };
|
package/dist/chunk-RDYKJP7U.cjs
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkH2BWO3SI_cjs = require('./chunk-H2BWO3SI.cjs');
|
|
4
|
-
var reactSlot = require('@radix-ui/react-slot');
|
|
5
|
-
var classVarianceAuthority = require('class-variance-authority');
|
|
6
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
|
|
8
|
-
var badgeVariants = classVarianceAuthority.cva(
|
|
9
|
-
"border-border focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-error/20 dark:aria-invalid:ring-error/40 aria-invalid:border-error inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden whitespace-nowrap rounded border px-2 py-0.5 text-xs font-medium transition-[color,box-shadow] focus-visible:ring [&>svg]:pointer-events-none [&>svg]:size-3",
|
|
10
|
-
{
|
|
11
|
-
variants: {
|
|
12
|
-
variant: {
|
|
13
|
-
default: "bg-primary text-primary-foreground [a&]:hover:bg-primary/90 border-transparent",
|
|
14
|
-
secondary: "bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90 border-transparent",
|
|
15
|
-
error: "bg-error [a&]:hover:bg-error/90 focus-visible:ring-error/20 dark:focus-visible:ring-error/40 dark:bg-error/60 text-error-foreground border-transparent",
|
|
16
|
-
outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
defaultVariants: {
|
|
20
|
-
variant: "default"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
);
|
|
24
|
-
function Badge({ className, variant = "default", asChild = false, ...props }) {
|
|
25
|
-
const Comp = asChild ? reactSlot.Slot : "span";
|
|
26
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Comp, { "data-slot": "badge", className: chunkH2BWO3SI_cjs.cn(badgeVariants({ variant }), className), ...props });
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
exports.Badge = Badge;
|
|
File without changes
|
|
File without changes
|