@ark-ui/react 5.39.0 → 5.39.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.
|
@@ -39,7 +39,7 @@ var NavigationMenuContent = (0, react.forwardRef)((props, ref) => {
|
|
|
39
39
|
})
|
|
40
40
|
})
|
|
41
41
|
});
|
|
42
|
-
const viewportNode = api.getViewportNode();
|
|
42
|
+
const viewportNode = api.isViewportRendered ? api.getViewportNode() : null;
|
|
43
43
|
if (api.isViewportRendered && viewportNode) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
44
44
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { ...api.getViewportProxyProps(contentProps) }),
|
|
45
45
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { ...api.getTriggerProxyProps(contentProps) }),
|
|
@@ -39,7 +39,7 @@ var NavigationMenuContent = forwardRef((props, ref) => {
|
|
|
39
39
|
})
|
|
40
40
|
})
|
|
41
41
|
});
|
|
42
|
-
const viewportNode = api.getViewportNode();
|
|
42
|
+
const viewportNode = api.isViewportRendered ? api.getViewportNode() : null;
|
|
43
43
|
if (api.isViewportRendered && viewportNode) return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
44
44
|
/* @__PURE__ */ jsx("div", { ...api.getViewportProxyProps(contentProps) }),
|
|
45
45
|
/* @__PURE__ */ jsx("div", { ...api.getTriggerProxyProps(contentProps) }),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ark-ui/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.39.
|
|
4
|
+
"version": "5.39.1",
|
|
5
5
|
"description": "A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"accordion",
|
|
@@ -221,37 +221,37 @@
|
|
|
221
221
|
"@zag-js/utils": "1.43.3"
|
|
222
222
|
},
|
|
223
223
|
"devDependencies": {
|
|
224
|
-
"@biomejs/biome": "2.5.
|
|
225
|
-
"@storybook/addon-a11y": "10.5.
|
|
226
|
-
"@storybook/react-vite": "10.5.
|
|
227
|
-
"@tanstack/react-virtual": "3.14.
|
|
224
|
+
"@biomejs/biome": "2.5.10",
|
|
225
|
+
"@storybook/addon-a11y": "10.5.10",
|
|
226
|
+
"@storybook/react-vite": "10.5.10",
|
|
227
|
+
"@tanstack/react-virtual": "3.14.10",
|
|
228
228
|
"@testing-library/dom": "10.4.1",
|
|
229
229
|
"@testing-library/jest-dom": "7.0.1",
|
|
230
230
|
"@testing-library/react": "16.3.2",
|
|
231
|
-
"@testing-library/user-event": "14.6.
|
|
231
|
+
"@testing-library/user-event": "14.6.6",
|
|
232
232
|
"@types/jsdom": "30.0.0",
|
|
233
233
|
"@types/react": "19.2.18",
|
|
234
|
-
"@types/react-dom": "19.2.
|
|
235
|
-
"@vitejs/plugin-react": "6.0
|
|
236
|
-
"@vitest/coverage-v8": "4.1.
|
|
234
|
+
"@types/react-dom": "19.2.5",
|
|
235
|
+
"@vitejs/plugin-react": "6.1.0",
|
|
236
|
+
"@vitest/coverage-v8": "4.1.11",
|
|
237
237
|
"check-password-strength": "3.0.0",
|
|
238
238
|
"clean-package": "2.2.0",
|
|
239
|
-
"globby": "16.2.
|
|
240
|
-
"happy-dom": "20.11.
|
|
239
|
+
"globby": "16.2.4",
|
|
240
|
+
"happy-dom": "20.11.6",
|
|
241
241
|
"image-conversion": "2.1.1",
|
|
242
|
-
"lucide-react": "1.
|
|
242
|
+
"lucide-react": "1.33.0",
|
|
243
243
|
"react": "19.2.8",
|
|
244
244
|
"react-dom": "19.2.8",
|
|
245
245
|
"react-frame-component": "5.3.2",
|
|
246
|
-
"react-hook-form": "7.
|
|
246
|
+
"react-hook-form": "7.86.0",
|
|
247
247
|
"react-shadow": "20.6.0",
|
|
248
248
|
"react-use": "17.6.1",
|
|
249
249
|
"resize-observer-polyfill": "1.5.1",
|
|
250
|
-
"storybook": "10.5.
|
|
250
|
+
"storybook": "10.5.10",
|
|
251
251
|
"typescript": "6.0.3",
|
|
252
|
-
"vite": "8.2.
|
|
252
|
+
"vite": "8.2.2",
|
|
253
253
|
"vite-plugin-dts": "5.0.3",
|
|
254
|
-
"vitest": "4.1.
|
|
254
|
+
"vitest": "4.1.11",
|
|
255
255
|
"vitest-axe": "1.0.0-pre.5"
|
|
256
256
|
},
|
|
257
257
|
"peerDependencies": {
|