@enonic/ui 1.3.0 → 1.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enonic/ui",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "description": "Enonic UI Component Library",
5
5
  "author": "Enonic",
6
6
  "license": "Apache-2.0",
@@ -58,12 +58,12 @@
58
58
  "dependencies": {
59
59
  "class-variance-authority": "~0.7.1",
60
60
  "clsx": "~2.1.1",
61
+ "focus-trap-react": "^12.0.3",
61
62
  "lucide-react": "^1.16.0",
62
- "tailwind-merge": "~3.6.0"
63
+ "tailwind-merge": "~3.7.0"
63
64
  },
64
65
  "peerDependencies": {
65
66
  "@radix-ui/react-slot": "^1.2.0",
66
- "focus-trap-react": "^12.0.0",
67
67
  "preact": ">=10.0.0",
68
68
  "react": "^19.0.0",
69
69
  "react-dom": "^19.0.0",
@@ -71,9 +71,6 @@
71
71
  "tw-animate-css": "^1.4.0"
72
72
  },
73
73
  "peerDependenciesMeta": {
74
- "focus-trap-react": {
75
- "optional": true
76
- },
77
74
  "preact": {
78
75
  "optional": true
79
76
  },
@@ -93,7 +90,7 @@
93
90
  "devDependencies": {
94
91
  "@preact/preset-vite": "~2.10.6",
95
92
  "@radix-ui/react-slot": "^1.3.3",
96
- "@size-limit/preset-small-lib": "~13.0.3",
93
+ "@size-limit/preset-small-lib": "~14.1.0",
97
94
  "@storybook/addon-a11y": "~10.6.0",
98
95
  "@storybook/addon-docs": "~10.6.0",
99
96
  "@storybook/addon-themes": "~10.6.0",
@@ -101,26 +98,26 @@
101
98
  "@storybook/test-runner": "^0.24.4",
102
99
  "@tailwindcss/vite": "~4.3.3",
103
100
  "@types/node": "~26.4.1",
104
- "@types/react": "~19.2.18",
105
- "@types/react-dom": "~19.2.7",
101
+ "@types/react": "~19.3.0",
102
+ "@types/react-dom": "~19.3.0",
106
103
  "@typescript/typescript6": "~6.0.2",
107
- "focus-trap-react": "^12.0.3",
108
104
  "http-server": "^14.1.1",
109
- "lucide-preact": "~1.40.0",
105
+ "lucide-preact": "~1.48.0",
110
106
  "playwright": "^1.62.1",
111
107
  "publint": "^0.3.24",
108
+ "react-doctor": "0.9.14",
112
109
  "react-virtuoso": "^4.18.11",
113
110
  "rollup-plugin-visualizer": "~7.1.1",
114
- "size-limit": "~13.0.3",
111
+ "size-limit": "~14.1.0",
115
112
  "storybook": "~10.6.0",
116
113
  "tailwindcss": "~4.3.3",
117
114
  "terser": "~5.51.2",
118
115
  "tw-animate-css": "^1.4.0",
119
116
  "typescript": "~7.0.2",
120
- "vite": "npm:@voidzero-dev/vite-plus-core@^0.3.0",
117
+ "vite": "npm:@voidzero-dev/vite-plus-core@^1.0.0",
121
118
  "vite-plugin-dts": "~5.1.0",
122
119
  "vite-plugin-environment": "~1.1.3",
123
- "vite-plus": "^0.3.0",
120
+ "vite-plus": "^1.0.0",
124
121
  "wait-on": "^9.1.0"
125
122
  },
126
123
  "engines": {
@@ -130,14 +127,21 @@
130
127
  "size-limit": [
131
128
  {
132
129
  "path": "dist/enonic-ui.es.js",
130
+ "ignore": [
131
+ "focus-trap-react"
132
+ ],
133
133
  "limit": "60 KB"
134
134
  },
135
135
  {
136
136
  "path": "dist/enonic-ui.cjs",
137
+ "ignore": [
138
+ "focus-trap-react"
139
+ ],
137
140
  "limit": "60 KB"
138
141
  },
139
142
  {
140
143
  "path": "dist/styles/style.css",
144
+ "rolldown": false,
141
145
  "limit": "15 KB"
142
146
  },
143
147
  {
@@ -145,8 +149,10 @@
145
149
  "limit": "20 KB"
146
150
  },
147
151
  {
152
+ "name": "dist/styles/preset.css (unminified)",
148
153
  "path": "dist/styles/preset.css",
149
- "limit": "2 KB"
154
+ "rolldown": false,
155
+ "limit": "2.25 KB"
150
156
  }
151
157
  ],
152
158
  "scripts": {
@@ -165,6 +171,7 @@
165
171
  "lint:fix": "vp lint --fix",
166
172
  "format": "vp fmt",
167
173
  "format:check": "vp fmt --check",
174
+ "check:react": "react-doctor --no-telemetry",
168
175
  "test": "exit 0",
169
176
  "check:package": "node scripts/package-smoke.mjs",
170
177
  "test:ci": "exit 0",