@maxsteinwender/sort-ui 0.1.1 → 1.0.3

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.
@@ -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)",
@@ -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": "0.1.1",
3
+ "version": "1.0.3",
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,17 +38,16 @@
28
38
  "scripts": {
29
39
  "dev": "next dev",
30
40
  "build": "next build",
31
- "build:lib": "tsup && npm run build:lib:css && npm run build:lib:fonts && npm run build:lib:fix-font-urls",
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",
33
43
  "build:lib:fonts": "mkdir -p dist/fonts/Redaction && cp -r public/fonts/Redaction/webfonts dist/fonts/Redaction/",
34
44
  "build:lib:fix-font-urls": "sed -i '' \"s|url('/fonts/|url('./fonts/|g\" dist/styles.css",
35
45
  "start": "next start",
36
- "lint": "next lint",
46
+ "lint": "eslint src",
37
47
  "storybook": "storybook dev -p 6006",
38
48
  "build-storybook": "storybook build && echo 'User-agent: *\\nDisallow: /' > storybook-static/robots.txt"
39
49
  },
40
50
  "dependencies": {
41
- "@hookform/resolvers": "^5.2.2",
42
51
  "@lexical/code": "^0.42.0",
43
52
  "@lexical/link": "^0.42.0",
44
53
  "@lexical/list": "^0.42.0",
@@ -68,7 +77,6 @@
68
77
  "@radix-ui/react-tabs": "^1.1.13",
69
78
  "@radix-ui/react-toast": "^1.2.15",
70
79
  "@radix-ui/react-toggle": "^1.1.10",
71
- "@radix-ui/react-toggle-group": "^1.1.11",
72
80
  "@radix-ui/react-tooltip": "^1.2.8",
73
81
  "class-variance-authority": "^0.7.1",
74
82
  "clsx": "^2.1.0",
@@ -77,7 +85,6 @@
77
85
  "geist": "^1.7.0",
78
86
  "lexical": "^0.42.0",
79
87
  "lodash": "^4.17.23",
80
- "lucide-react": "^0.562.0",
81
88
  "next": "^16.1.1",
82
89
  "next-themes": "^0.4.6",
83
90
  "react-day-picker": "^9.14.0",
@@ -86,8 +93,7 @@
86
93
  "remixicon": "^4.9.1",
87
94
  "sonner": "^2.0.7",
88
95
  "tailwind-merge": "^2.2.0",
89
- "tailwindcss-animate": "^1.0.7",
90
- "zod": "^4.3.5"
96
+ "tailwindcss-animate": "^1.0.7"
91
97
  },
92
98
  "devDependencies": {
93
99
  "@chromatic-com/storybook": "^5.0.1",
@@ -101,8 +107,6 @@
101
107
  "@types/node": "^20",
102
108
  "@types/react": "^19",
103
109
  "@types/react-dom": "^19",
104
- "react": "^19.0.0",
105
- "react-dom": "^19.0.0",
106
110
  "@vitest/browser-playwright": "^4.1.0",
107
111
  "@vitest/coverage-v8": "^4.1.0",
108
112
  "autoprefixer": "^10.0.1",
@@ -111,6 +115,8 @@
111
115
  "eslint-plugin-storybook": "^10.2.19",
112
116
  "playwright": "^1.58.2",
113
117
  "postcss": "^8",
118
+ "react": "^19.0.0",
119
+ "react-dom": "^19.0.0",
114
120
  "storybook": "^10.2.19",
115
121
  "tailwindcss": "^3.4.1",
116
122
  "tsup": "^8.5.1",