@enonic/ui 1.0.5 → 1.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enonic/ui",
3
- "version": "1.0.5",
3
+ "version": "1.1.1",
4
4
  "description": "Enonic UI Component Library",
5
5
  "author": "Enonic",
6
6
  "license": "Apache-2.0",
@@ -51,19 +51,22 @@
51
51
  "dependencies": {
52
52
  "class-variance-authority": "~0.7.1",
53
53
  "clsx": "~2.1.1",
54
- "tailwind-merge": "~3.4.0"
54
+ "lucide-react": "^1.16.0",
55
+ "tailwind-merge": "~3.6.0"
55
56
  },
56
57
  "peerDependencies": {
57
58
  "@radix-ui/react-slot": "^1.2.0",
58
- "focus-trap-react": "^11.0.0",
59
- "lucide-react": ">=0.500.0",
59
+ "focus-trap-react": "^12.0.0",
60
60
  "preact": ">=10.0.0",
61
61
  "react": "^19.0.0",
62
62
  "react-dom": "^19.0.0",
63
63
  "react-virtuoso": "^4.0.0",
64
- "tw-animate-css": "^1.0.0"
64
+ "tw-animate-css": "^1.4.0"
65
65
  },
66
66
  "peerDependenciesMeta": {
67
+ "focus-trap-react": {
68
+ "optional": true
69
+ },
67
70
  "preact": {
68
71
  "optional": true
69
72
  },
@@ -81,68 +84,36 @@
81
84
  }
82
85
  },
83
86
  "devDependencies": {
84
- "@biomejs/biome": "~2.3.8",
85
- "@chromatic-com/storybook": "~4.1.3",
86
- "@eslint/js": "~9.39.1",
87
- "@preact/preset-vite": "~2.10.2",
88
- "@size-limit/file": "~12.0.0",
89
- "@size-limit/preset-small-lib": "~12.0.0",
90
- "@storybook/addon-a11y": "~10.1.6",
91
- "@storybook/addon-docs": "~10.1.6",
92
- "@storybook/addon-links": "~10.1.6",
93
- "@storybook/addon-themes": "~10.1.6",
94
- "@storybook/preact-vite": "~10.1.6",
95
- "@tailwindcss/vite": "~4.1.17",
96
- "@types/node": "~25.0.0",
97
- "@types/react": "~19.2.7",
98
- "@types/react-dom": "~19.2.3",
99
- "@typescript-eslint/eslint-plugin": "~8.49.0",
100
- "@typescript-eslint/parser": "~8.49.0",
101
- "eslint": "~9.39.1",
102
- "eslint-plugin-jsx-a11y": "~6.10.2",
103
- "eslint-plugin-react": "~7.37.5",
104
- "husky": "~9.1.7",
105
- "lint-staged": "~16.2.7",
106
- "lucide-preact": "~0.560.0",
107
- "lucide-react": "~0.560.0",
108
- "postcss": "~8.5.6",
109
- "react-virtuoso": "~4.14.0",
110
- "rollup-plugin-visualizer": "~6.0.5",
111
- "size-limit": "~12.0.0",
112
- "storybook": "~10.1.6",
113
- "tailwindcss": "~4.1.17",
114
- "terser": "~5.44.1",
115
- "tw-animate-css": "~1.4.0",
116
- "typescript": "~5.9.3",
117
- "typescript-eslint": "~8.49.0",
118
- "vite": "~7.2.7",
119
- "vite-plugin-dts": "~4.5.4",
120
- "vite-plugin-environment": "~1.1.3"
121
- },
122
- "browserslist": {
123
- "production": [
124
- ">0.2%",
125
- "not dead",
126
- "not op_mini all"
127
- ],
128
- "development": [
129
- "last 1 chrome version",
130
- "last 1 firefox version",
131
- "last 1 safari version"
132
- ]
87
+ "@preact/preset-vite": "~2.10.6",
88
+ "@radix-ui/react-slot": "^1.3.3",
89
+ "@size-limit/preset-small-lib": "~13.0.3",
90
+ "@storybook/addon-a11y": "~10.5.5",
91
+ "@storybook/addon-docs": "~10.5.5",
92
+ "@storybook/addon-themes": "~10.5.5",
93
+ "@storybook/preact-vite": "~10.5.5",
94
+ "@tailwindcss/vite": "~4.3.3",
95
+ "@types/node": "~24.13.3",
96
+ "@types/react": "~19.2.18",
97
+ "@types/react-dom": "~19.2.4",
98
+ "@typescript/typescript6": "~6.0.2",
99
+ "focus-trap-react": "^12.0.3",
100
+ "lucide-preact": "~1.28.0",
101
+ "react-virtuoso": "^4.18.11",
102
+ "rollup-plugin-visualizer": "~7.0.1",
103
+ "size-limit": "~13.0.3",
104
+ "storybook": "~10.5.5",
105
+ "tailwindcss": "~4.3.3",
106
+ "terser": "~5.49.0",
107
+ "tw-animate-css": "^1.4.0",
108
+ "typescript": "~7.0.2",
109
+ "vite": "npm:@voidzero-dev/vite-plus-core@^0.2.7",
110
+ "vite-plugin-dts": "~5.0.3",
111
+ "vite-plugin-environment": "~1.1.3",
112
+ "vite-plus": "^0.2.7"
133
113
  },
134
114
  "engines": {
135
115
  "node": ">=24.16.0",
136
- "pnpm": ">=11.1.1"
137
- },
138
- "lint-staged": {
139
- "*.{ts,tsx}": [
140
- "biome check --write --unsafe --formatter-enabled=true --no-errors-on-unmatched",
141
- "eslint --cache --fix --no-warn-ignored --concurrency auto"
142
- ],
143
- "*.{json,css}": [
144
- "biome check --write --unsafe --no-errors-on-unmatched"
145
- ]
116
+ "pnpm": ">=11.4.0"
146
117
  },
147
118
  "size-limit": [
148
119
  {
@@ -165,21 +136,19 @@
165
136
  "scripts": {
166
137
  "build": "pnpm clean && pnpm build:ui",
167
138
  "build:ui": "pnpm run /^build:ui:.*$/",
168
- "build:ui:lib": "vite build --config vite.config.ts",
169
- "build:ui:css": "vite build --config vite.config.css.ts",
139
+ "build:ui:lib": "vp build --config vite.config.ts",
140
+ "build:ui:css": "vp build --config vite.config.css.ts",
170
141
  "build:storybook": "storybook build",
171
142
  "build:all": "pnpm build && pnpm build:storybook",
172
143
  "dev": "storybook dev -p 6006",
173
144
  "clean": "rm -rf dist coverage reports storybook-static",
174
- "check": "pnpm typecheck && pnpm lint && pnpm format:check",
175
- "check:fix": "pnpm typecheck && pnpm lint:fix && pnpm format",
176
- "typecheck": "pnpm typecheck:app && pnpm typecheck:node",
177
- "typecheck:app": "tsc --noEmit --project tsconfig.app.json",
178
- "typecheck:node": "tsc --noEmit --project tsconfig.node.json",
179
- "lint": "biome check . && eslint --cache 'src/**/*.{ts,tsx}' --max-warnings 0 --concurrency auto",
180
- "lint:fix": "biome check --write --unsafe . && eslint --cache 'src/**/*.{ts,tsx}' --fix --concurrency auto",
181
- "format": "biome format --write .",
182
- "format:check": "biome format .",
145
+ "check": "vp check && tsc --build --noEmit",
146
+ "check:fix": "vp check --fix && tsc --build --noEmit",
147
+ "typecheck": "tsc --build --noEmit",
148
+ "lint": "vp lint",
149
+ "lint:fix": "vp lint --fix",
150
+ "format": "vp fmt",
151
+ "format:check": "vp fmt --check",
183
152
  "test": "exit 0",
184
153
  "test:ci": "exit 0",
185
154
  "release:dry": "pnpm publish --dry-run --no-git-checks",