@maxsteinwender/sort-ui 0.1.0 → 1.0.2
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/LICENSE +1 -0
- package/README.md +35 -0
- package/dist/fonts/Redaction/webfonts/Redaction-Bold.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction-Italic.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction-Regular.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_10-Bold.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_10-Italic.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_10-Regular.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_100-Bold.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_100-Italic.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_100-Regular.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_20-Bold.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_20-Italic.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_20-Regular.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_35-Bold.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_35-Italic.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_35-Regular.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_50-Bold.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_50-Italic.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_50-Regular.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_70-Bold.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_70-Italic.woff2 +0 -0
- package/dist/fonts/Redaction/webfonts/Redaction_70-Regular.woff2 +0 -0
- package/dist/fonts/remixicon/remixicon.woff2 +0 -0
- package/dist/form.d.mts +28 -0
- package/dist/form.d.ts +28 -0
- package/dist/form.js +203 -0
- package/dist/form.mjs +173 -0
- package/dist/index.d.mts +14 -25
- package/dist/index.d.ts +14 -25
- package/dist/index.js +537 -580
- package/dist/index.mjs +535 -572
- package/dist/styles.css +376 -277
- package/dist/tailwind-preset.js +5 -0
- package/dist/tailwind-preset.mjs +5 -0
- package/package.json +18 -10
package/dist/tailwind-preset.js
CHANGED
|
@@ -460,6 +460,11 @@ var config = {
|
|
|
460
460
|
"stepper-pulse": "stepper-pulse 0.3s ease-out"
|
|
461
461
|
},
|
|
462
462
|
boxShadow: {
|
|
463
|
+
/* Button shadows */
|
|
464
|
+
"button-default": "0px 1px 2px rgba(0,0,0,0.08), inset 0px -2px 0px rgba(0,0,0,0.20)",
|
|
465
|
+
"button-press": "inset 0px 2px 0px rgba(0,0,0,0.20)",
|
|
466
|
+
"button-secondary": "0px 1px 2px rgba(0,0,0,0.06), inset 0px -1px 0px rgba(0,0,0,0.08)",
|
|
467
|
+
"button-secondary-press": "inset 0px 1px 0px rgba(0,0,0,0.08)",
|
|
463
468
|
/* Shadows */
|
|
464
469
|
"card": "var(--shadow-card)",
|
|
465
470
|
"modal-sm": "var(--shadow-modal-sm)",
|
package/dist/tailwind-preset.mjs
CHANGED
|
@@ -458,6 +458,11 @@ var config = {
|
|
|
458
458
|
"stepper-pulse": "stepper-pulse 0.3s ease-out"
|
|
459
459
|
},
|
|
460
460
|
boxShadow: {
|
|
461
|
+
/* Button shadows */
|
|
462
|
+
"button-default": "0px 1px 2px rgba(0,0,0,0.08), inset 0px -2px 0px rgba(0,0,0,0.20)",
|
|
463
|
+
"button-press": "inset 0px 2px 0px rgba(0,0,0,0.20)",
|
|
464
|
+
"button-secondary": "0px 1px 2px rgba(0,0,0,0.06), inset 0px -1px 0px rgba(0,0,0,0.08)",
|
|
465
|
+
"button-secondary-press": "inset 0px 1px 0px rgba(0,0,0,0.08)",
|
|
461
466
|
/* Shadows */
|
|
462
467
|
"card": "var(--shadow-card)",
|
|
463
468
|
"modal-sm": "var(--shadow-modal-sm)",
|
package/package.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxsteinwender/sort-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "A coded design system based on Sort UI Kit — Figma components as production-ready Next.js/Tailwind components",
|
|
5
|
+
"author": "Max Steinwender",
|
|
6
|
+
"license": "UNLICENSED",
|
|
5
7
|
"main": "./dist/index.js",
|
|
6
8
|
"module": "./dist/index.mjs",
|
|
7
9
|
"types": "./dist/index.d.ts",
|
|
@@ -11,6 +13,11 @@
|
|
|
11
13
|
"require": "./dist/index.js",
|
|
12
14
|
"types": "./dist/index.d.ts"
|
|
13
15
|
},
|
|
16
|
+
"./form": {
|
|
17
|
+
"import": "./dist/form.mjs",
|
|
18
|
+
"require": "./dist/form.js",
|
|
19
|
+
"types": "./dist/form.d.ts"
|
|
20
|
+
},
|
|
14
21
|
"./styles.css": "./dist/styles.css",
|
|
15
22
|
"./tailwind-preset": {
|
|
16
23
|
"import": "./dist/tailwind-preset.mjs",
|
|
@@ -21,6 +28,9 @@
|
|
|
21
28
|
"files": [
|
|
22
29
|
"dist"
|
|
23
30
|
],
|
|
31
|
+
"sideEffects": [
|
|
32
|
+
"*.css"
|
|
33
|
+
],
|
|
24
34
|
"peerDependencies": {
|
|
25
35
|
"react": ">=19.0.0",
|
|
26
36
|
"react-dom": ">=19.0.0"
|
|
@@ -28,15 +38,16 @@
|
|
|
28
38
|
"scripts": {
|
|
29
39
|
"dev": "next dev",
|
|
30
40
|
"build": "next build",
|
|
31
|
-
"build:lib": "tsup && npm run build:lib:css",
|
|
41
|
+
"build:lib": "tsup && npm run build:lib:css && npm run build:lib:fonts && npm run build:lib:fix-font-urls && node scripts/postbuild-lib.mjs",
|
|
32
42
|
"build:lib:css": "tailwindcss -i src/app/globals.css -o dist/styles.css --config tailwind.config.ts",
|
|
43
|
+
"build:lib:fonts": "mkdir -p dist/fonts/Redaction && cp -r public/fonts/Redaction/webfonts dist/fonts/Redaction/",
|
|
44
|
+
"build:lib:fix-font-urls": "sed -i '' \"s|url('/fonts/|url('./fonts/|g\" dist/styles.css",
|
|
33
45
|
"start": "next start",
|
|
34
|
-
"lint": "
|
|
46
|
+
"lint": "eslint src",
|
|
35
47
|
"storybook": "storybook dev -p 6006",
|
|
36
48
|
"build-storybook": "storybook build && echo 'User-agent: *\\nDisallow: /' > storybook-static/robots.txt"
|
|
37
49
|
},
|
|
38
50
|
"dependencies": {
|
|
39
|
-
"@hookform/resolvers": "^5.2.2",
|
|
40
51
|
"@lexical/code": "^0.42.0",
|
|
41
52
|
"@lexical/link": "^0.42.0",
|
|
42
53
|
"@lexical/list": "^0.42.0",
|
|
@@ -66,7 +77,6 @@
|
|
|
66
77
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
67
78
|
"@radix-ui/react-toast": "^1.2.15",
|
|
68
79
|
"@radix-ui/react-toggle": "^1.1.10",
|
|
69
|
-
"@radix-ui/react-toggle-group": "^1.1.11",
|
|
70
80
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
71
81
|
"class-variance-authority": "^0.7.1",
|
|
72
82
|
"clsx": "^2.1.0",
|
|
@@ -75,7 +85,6 @@
|
|
|
75
85
|
"geist": "^1.7.0",
|
|
76
86
|
"lexical": "^0.42.0",
|
|
77
87
|
"lodash": "^4.17.23",
|
|
78
|
-
"lucide-react": "^0.562.0",
|
|
79
88
|
"next": "^16.1.1",
|
|
80
89
|
"next-themes": "^0.4.6",
|
|
81
90
|
"react-day-picker": "^9.14.0",
|
|
@@ -84,8 +93,7 @@
|
|
|
84
93
|
"remixicon": "^4.9.1",
|
|
85
94
|
"sonner": "^2.0.7",
|
|
86
95
|
"tailwind-merge": "^2.2.0",
|
|
87
|
-
"tailwindcss-animate": "^1.0.7"
|
|
88
|
-
"zod": "^4.3.5"
|
|
96
|
+
"tailwindcss-animate": "^1.0.7"
|
|
89
97
|
},
|
|
90
98
|
"devDependencies": {
|
|
91
99
|
"@chromatic-com/storybook": "^5.0.1",
|
|
@@ -99,8 +107,6 @@
|
|
|
99
107
|
"@types/node": "^20",
|
|
100
108
|
"@types/react": "^19",
|
|
101
109
|
"@types/react-dom": "^19",
|
|
102
|
-
"react": "^19.0.0",
|
|
103
|
-
"react-dom": "^19.0.0",
|
|
104
110
|
"@vitest/browser-playwright": "^4.1.0",
|
|
105
111
|
"@vitest/coverage-v8": "^4.1.0",
|
|
106
112
|
"autoprefixer": "^10.0.1",
|
|
@@ -109,6 +115,8 @@
|
|
|
109
115
|
"eslint-plugin-storybook": "^10.2.19",
|
|
110
116
|
"playwright": "^1.58.2",
|
|
111
117
|
"postcss": "^8",
|
|
118
|
+
"react": "^19.0.0",
|
|
119
|
+
"react-dom": "^19.0.0",
|
|
112
120
|
"storybook": "^10.2.19",
|
|
113
121
|
"tailwindcss": "^3.4.1",
|
|
114
122
|
"tsup": "^8.5.1",
|