@enonic/ui 0.10.0 → 0.11.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/enonic-ui.cjs +7 -7
- package/dist/enonic-ui.es.js +231 -40
- package/dist/styles/preset.css +1 -1
- package/dist/styles/style.css +1 -1
- package/dist/styles/tokens.css +1 -1
- package/dist/styles/utilities.css +1 -1
- package/dist/types/components/button/button.d.ts +6 -3
- package/dist/types/components/button/index.d.ts +1 -1
- package/dist/types/components/dialog/dialog.d.ts +107 -0
- package/dist/types/components/dialog/index.d.ts +3 -0
- package/dist/types/components/icon-button/icon-button.d.ts +2 -2
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/list-item/list-item.d.ts +10 -10
- package/dist/types/components/listbox/index.d.ts +1 -0
- package/dist/types/components/listbox/listbox.d.ts +33 -0
- package/dist/types/components/selectable-list-item/selectable-list-item.d.ts +2 -2
- package/dist/types/components/separator/index.d.ts +2 -0
- package/dist/types/components/separator/separator.d.ts +10 -0
- package/dist/types/components/tooltip/tooltip.d.ts +2 -2
- package/dist/types/hooks/index.d.ts +1 -0
- package/dist/types/hooks/use-scroll-lock.d.ts +6 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/providers/dialog-provider.d.ts +14 -0
- package/dist/types/providers/{id-provider/id-provider.d.ts → id-provider.d.ts} +2 -2
- package/dist/types/providers/index.d.ts +1 -0
- package/package.json +32 -27
- package/dist/types/providers/id-provider/index.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enonic/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Enonic UI Component Library",
|
|
5
5
|
"author": "Enonic",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"@radix-ui/react-slot": "~1.2.3",
|
|
48
48
|
"class-variance-authority": "~0.7.1",
|
|
49
49
|
"clsx": "~2.1.1",
|
|
50
|
+
"focus-trap-react": "~11.0.4",
|
|
50
51
|
"tailwind-merge": "~3.3.1"
|
|
51
52
|
},
|
|
52
53
|
"peerDependencies": {
|
|
@@ -74,41 +75,43 @@
|
|
|
74
75
|
},
|
|
75
76
|
"devDependencies": {
|
|
76
77
|
"@chromatic-com/storybook": "~4.1.1",
|
|
77
|
-
"@eslint/js": "~9.
|
|
78
|
+
"@eslint/js": "~9.37.0",
|
|
78
79
|
"@preact/preset-vite": "~2.10.2",
|
|
79
80
|
"@size-limit/file": "~11.2.0",
|
|
80
81
|
"@size-limit/preset-small-lib": "~11.2.0",
|
|
81
|
-
"@storybook/addon-a11y": "~9.1.
|
|
82
|
-
"@storybook/addon-docs": "~9.1.
|
|
83
|
-
"@storybook/addon-links": "~9.1.
|
|
84
|
-
"@storybook/addon-themes": "~9.1.
|
|
85
|
-
"@storybook/preact-vite": "~9.1.
|
|
86
|
-
"@tailwindcss/vite": "~4.1.
|
|
82
|
+
"@storybook/addon-a11y": "~9.1.10",
|
|
83
|
+
"@storybook/addon-docs": "~9.1.10",
|
|
84
|
+
"@storybook/addon-links": "~9.1.10",
|
|
85
|
+
"@storybook/addon-themes": "~9.1.10",
|
|
86
|
+
"@storybook/preact-vite": "~9.1.10",
|
|
87
|
+
"@tailwindcss/vite": "~4.1.14",
|
|
87
88
|
"@trivago/prettier-plugin-sort-imports": "~5.2.2",
|
|
88
|
-
"@types/node": "~24.
|
|
89
|
-
"@
|
|
90
|
-
"@
|
|
91
|
-
"eslint": "~
|
|
89
|
+
"@types/node": "~24.7.2",
|
|
90
|
+
"@types/react": "~19.2.2",
|
|
91
|
+
"@types/react-dom": "~19.2.1",
|
|
92
|
+
"@typescript-eslint/eslint-plugin": "~8.46.0",
|
|
93
|
+
"@typescript-eslint/parser": "~8.46.0",
|
|
94
|
+
"eslint": "~9.37.0",
|
|
92
95
|
"eslint-import-resolver-typescript": "~4.4.4",
|
|
93
96
|
"eslint-plugin-import": "~2.32.0",
|
|
94
97
|
"eslint-plugin-jsx-a11y": "~6.10.2",
|
|
95
98
|
"eslint-plugin-react": "~7.37.5",
|
|
96
|
-
"eslint-plugin-react-hooks": "~
|
|
99
|
+
"eslint-plugin-react-hooks": "~7.0.0",
|
|
97
100
|
"husky": "~9.1.7",
|
|
98
|
-
"lint-staged": "~16.2.
|
|
99
|
-
"lucide-preact": "~0.
|
|
100
|
-
"lucide-react": "~0.
|
|
101
|
+
"lint-staged": "~16.2.4",
|
|
102
|
+
"lucide-preact": "~0.545.0",
|
|
103
|
+
"lucide-react": "~0.545.0",
|
|
101
104
|
"postcss": "~8.5.6",
|
|
102
105
|
"prettier": "~3.6.2",
|
|
103
|
-
"rollup-plugin-visualizer": "~6.0.
|
|
106
|
+
"rollup-plugin-visualizer": "~6.0.4",
|
|
104
107
|
"size-limit": "~11.2.0",
|
|
105
|
-
"storybook": "~9.1.
|
|
106
|
-
"tailwindcss": "~4.1.
|
|
108
|
+
"storybook": "~9.1.10",
|
|
109
|
+
"tailwindcss": "~4.1.14",
|
|
107
110
|
"terser": "~5.44.0",
|
|
108
|
-
"tw-animate-css": "~1.
|
|
109
|
-
"typescript": "~5.9.
|
|
110
|
-
"typescript-eslint": "~8.
|
|
111
|
-
"vite": "~7.1.
|
|
111
|
+
"tw-animate-css": "~1.4.0",
|
|
112
|
+
"typescript": "~5.9.3",
|
|
113
|
+
"typescript-eslint": "~8.46.0",
|
|
114
|
+
"vite": "~7.1.9",
|
|
112
115
|
"vite-plugin-dts": "~4.5.4",
|
|
113
116
|
"vite-plugin-environment": "~1.1.3"
|
|
114
117
|
},
|
|
@@ -134,7 +137,7 @@
|
|
|
134
137
|
"eslint --fix --max-warnings 0",
|
|
135
138
|
"prettier --write"
|
|
136
139
|
],
|
|
137
|
-
"**/*.{json,md,yml,yaml}": [
|
|
140
|
+
"**/*.{json,md,yml,yaml} !pnpm-lock.yaml": [
|
|
138
141
|
"prettier --write"
|
|
139
142
|
]
|
|
140
143
|
},
|
|
@@ -166,11 +169,13 @@
|
|
|
166
169
|
"dev": "storybook dev -p 6006",
|
|
167
170
|
"clean": "rm -rf dist coverage reports storybook-static",
|
|
168
171
|
"check": "pnpm typecheck && pnpm lint && pnpm format:check",
|
|
169
|
-
"typecheck": "
|
|
172
|
+
"typecheck": "pnpm typecheck:app && pnpm typecheck:node",
|
|
173
|
+
"typecheck:app": "tsc --noEmit --project tsconfig.app.json",
|
|
174
|
+
"typecheck:node": "tsc --noEmit --project tsconfig.node.json",
|
|
170
175
|
"lint": "eslint --no-cache '**/*.{js,jsx,ts,tsx}' --max-warnings 0",
|
|
171
176
|
"lint:fix": "eslint --cache '**/*.{js,jsx,ts,tsx}' --fix",
|
|
172
|
-
"format": "prettier --write '**/*.{js,jsx,ts,tsx,json,md,yml,yaml}' --log-level warn",
|
|
173
|
-
"format:check": "prettier --check '**/*.{js,jsx,ts,tsx,json,md,yml,yaml}' --log-level warn",
|
|
177
|
+
"format": "prettier --write '**/*.{js,jsx,ts,tsx,json,md,yml,yaml}' !pnpm-lock.yaml --log-level warn",
|
|
178
|
+
"format:check": "prettier --check '**/*.{js,jsx,ts,tsx,json,md,yml,yaml}' !pnpm-lock.yaml --log-level warn",
|
|
174
179
|
"test": "exit 0",
|
|
175
180
|
"test:ci": "exit 0",
|
|
176
181
|
"release": "pnpm publish --access public --no-git-checks",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { IdProvider, usePrefixedId, type IdProviderProps } from './id-provider';
|