Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

refactor: upgrade ui libraries (#4693)

Bogdan Chadkin2fe69ce31e0a
diff --git a/apps/builder/package.json b/apps/builder/package.json
index 211ce2eb7c..34746ef4a5 100644
--- a/apps/builder/package.json
+++ b/apps/builder/package.json
@@ -28,7 +28,7 @@
"@codemirror/lint": "^6.8.4",
"@codemirror/state": "^6.5.0",
"@codemirror/view": "^6.36.1",
- "@floating-ui/dom": "^1.6.11",
+ "@floating-ui/dom": "^1.6.12",
"@fontsource-variable/inter": "^5.0.20",
"@fontsource-variable/manrope": "^5.0.20",
"@fontsource/roboto-mono": "^5.0.18",
@@ -43,8 +43,8 @@
"@nanostores/react": "^0.8.0",
"@radix-ui/react-select": "^2.1.4",
"@radix-ui/react-tooltip": "^1.1.6",
- "@react-aria/interactions": "^3.22.4",
- "@react-aria/utils": "^3.25.3",
+ "@react-aria/interactions": "^3.22.5",
+ "@react-aria/utils": "^3.26.0",
"@remix-run/node": "^2.15.2",
"@remix-run/react": "^2.15.2",
"@remix-run/serve": "^2.15.2",
@@ -101,7 +101,7 @@
"react": "18.3.0-canary-14898b6a9-20240318",
"react-colorful": "^5.6.1",
"react-dom": "18.3.0-canary-14898b6a9-20240318",
- "react-error-boundary": "^4.1.2",
+ "react-error-boundary": "^5.0.0",
"react-script-hook": "^1.7.2",
"remix-auth": "^3.7.0",
"remix-auth-form": "^1.5.0",
@@ -115,8 +115,8 @@
"title-case": "^4.3.2",
"ultraflag": "^0.1.0",
"untruncate-json": "^0.0.1",
- "urlpattern-polyfill": "^9.0.0",
- "use-debounce": "^9.0.4",
+ "urlpattern-polyfill": "^10.0.0",
+ "use-debounce": "^10.0.4",
"warn-once": "^0.1.1",
"zod": "^3.22.4",
"zod-validation-error": "^3.3.1"
diff --git a/packages/design-system/package.json b/packages/design-system/package.json
index 55554a12ff..1f013bdd3a 100644
--- a/packages/design-system/package.json
+++ b/packages/design-system/package.json
@@ -28,7 +28,7 @@
"@atlaskit/pragmatic-drag-and-drop": "^1.4.0",
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.3",
- "@floating-ui/dom": "^1.6.11",
+ "@floating-ui/dom": "^1.6.12",
"@radix-ui/colors": "^3.0.0",
"@radix-ui/react-accessible-icon": "^1.1.1",
"@radix-ui/react-avatar": "^1.1.2",
@@ -53,18 +53,18 @@
"@radix-ui/react-tooltip": "^1.1.6",
"@radix-ui/react-use-controllable-state": "^1.1.0",
"@radix-ui/react-visually-hidden": "^1.1.1",
- "@react-aria/focus": "^3.18.4",
- "@react-aria/interactions": "^3.22.4",
- "@react-aria/utils": "^3.25.3",
+ "@react-aria/focus": "^3.19.0",
+ "@react-aria/interactions": "^3.22.5",
+ "@react-aria/utils": "^3.26.0",
"@stitches/react": "1.3.1-1",
"@webstudio-is/icons": "workspace:*",
"change-case": "^5.4.4",
"cmdk": "^1.0.4",
"downshift": "^6.1.7",
"match-sorter": "^8.0.0",
- "react-hot-toast": "^2.4.1",
+ "react-hot-toast": "^2.5.1",
"token-transformer": "^0.0.28",
- "use-debounce": "^9.0.4",
+ "use-debounce": "^10.0.4",
"warn-once": "^0.1.1"
},
"exports": {
diff --git a/packages/sdk-components-react/package.json b/packages/sdk-components-react/package.json
index 6c98c2f38d..55e41e95c1 100644
--- a/packages/sdk-components-react/package.json
+++ b/packages/sdk-components-react/package.json
@@ -51,7 +51,7 @@
"react-dom": "18.3.0-canary-14898b6a9-20240318"
},
"dependencies": {
- "@react-aria/utils": "^3.25.3",
+ "@react-aria/utils": "^3.26.0",
"@webstudio-is/icons": "workspace:*",
"@webstudio-is/image": "workspace:*",
"@webstudio-is/react-sdk": "workspace:*",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 58b3b33e93..48518fdcb3 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -152,8 +152,8 @@ importers:
specifier: ^6.36.1
version: 6.36.1
'@floating-ui/dom':
- specifier: ^1.6.11
- version: 1.6.11
+ specifier: ^1.6.12
+ version: 1.6.12
'@fontsource-variable/inter':
specifier: ^5.0.20
version: 5.0.20
@@ -197,11 +197,11 @@ importers:
specifier: ^1.1.6
'@react-aria/interactions':
- specifier: ^3.22.4
- version: 3.22.4([email protected])
+ specifier: ^3.22.5
+ version: 3.22.5([email protected])
'@react-aria/utils':
- specifier: ^3.25.3
- version: 3.25.3([email protected])
+ specifier: ^3.26.0
+ version: 3.26.0([email protected])
'@remix-run/node':
specifier: ^2.15.2
version: 2.15.2([email protected])
@@ -371,8 +371,8 @@ importers:
specifier: 18.3.0-canary-14898b6a9-20240318
version: 18.3.0-canary-14898b6a9-20240318([email protected])
react-error-boundary:
- specifier: ^4.1.2
- version: 4.1.2([email protected])
+ specifier: ^5.0.0
+ version: 5.0.0([email protected])
react-script-hook:
specifier: ^1.7.2
@@ -413,11 +413,11 @@ importers:
specifier: ^0.0.1
version: 0.0.1
urlpattern-polyfill:
- specifier: ^9.0.0
- version: 9.0.0
+ specifier: ^10.0.0
+ version: 10.0.0
use-debounce:
- specifier: ^9.0.4
- version: 9.0.4([email protected])
+ specifier: ^10.0.4
+ version: 10.0.4([email protected])
warn-once:
specifier: ^0.1.1
version: 0.1.1
@@ -1244,8 +1244,8 @@ importers:
specifier: ^1.0.3
version: 1.0.3
'@floating-ui/dom':
- specifier: ^1.6.11
- version: 1.6.11
+ specifier: ^1.6.12
+ version: 1.6.12
'@radix-ui/colors':
specifier: ^3.0.0
version: 3.0.0
@@ -1319,14 +1319,14 @@ importers:
specifier: ^1.1.1
'@react-aria/focus':
- specifier: ^3.18.4
- version: 3.18.4([email protected])
+ specifier: ^3.19.0
+ version: 3.19.0([email protected])
'@react-aria/interactions':
- specifier: ^3.22.4
- version: 3.22.4([email protected])
+ specifier: ^3.22.5
+ version: 3.22.5([email protected])
'@react-aria/utils':
- specifier: ^3.25.3
- version: 3.25.3([email protected])
+ specifier: ^3.26.0
+ version: 3.26.0([email protected])
'@stitches/react':
specifier: 1.3.1-1
version: 1.3.1-1(patch_hash=knml42mpr6mlzseo3d6gjljiq4)([email protected])
@@ -1346,14 +1346,14 @@ importers:
specifier: ^8.0.0
version: 8.0.0
react-hot-toast:
- specifier: ^2.4.1
+ specifier: ^2.5.1
token-transformer:
specifier: ^0.0.28
version: 0.0.28
use-debounce:
- specifier: ^9.0.4
- version: 9.0.4([email protected])
+ specifier: ^10.0.4
+ version: 10.0.4([email protected])
warn-once:
specifier: ^0.1.1
version: 0.1.1
@@ -1788,8 +1788,8 @@ importers:
packages/sdk-components-react:
dependencies:
'@react-aria/utils':
- specifier: ^3.25.3
- version: 3.25.3([email protected])
+ specifier: ^3.26.0
+ version: 3.26.0([email protected])
'@webstudio-is/icons':
specifier: workspace:*
version: link:../icons
@@ -3234,8 +3234,8 @@ packages:
'@floating-ui/[email protected]':
resolution: {integrity: sha512-+2XpQV9LLZeanU4ZevzRnGFg2neDeKHgFLjP6YLW+tly0IvrhqT4u8enLGjLH3qeh85g19xY5rsAusfwTdn5lg==}
- '@floating-ui/[email protected]':
- resolution: {integrity: sha512-qkMCxSR24v2vGkhYDo/UzxfJN3D4syqSjyuTFz6C7XcpU1pASPRieNI0Kj5VP3/503mOfYiGY891ugBX1GlABQ==}
+ '@floating-ui/[email protected]':
+ resolution: {integrity: sha512-NP83c0HjokcGVEMeoStg317VD9W7eDlGK7457dMBANbKA6GJZdc7rjujdgqzTaz93jkGgc5P/jeWbaCHnMNc+w==}
'@floating-ui/[email protected]':
resolution: {integrity: sha512-lNzj5EQmEKn5FFKc04+zasr09h/uX8RtJRNj5gUXsSQIXHVWTVh+hVAg1vOMCexkX8EgvemMvIFpQfkosnVNyA==}
@@ -4192,34 +4192,34 @@ packages:
'@radix-ui/[email protected]':
resolution: {integrity: sha512-A9+lCBZoaMJlVKcRBz2YByCG+Cp2t6nAnMnNba+XiWxnj6r4JUFqfsgwocMBZU9LPtdxC6wB56ySYpc7LQIoJg==}
- '@react-aria/[email protected]':
- resolution: {integrity: sha512-91J35077w9UNaMK1cpMUEFRkNNz0uZjnSwiyBCFuRdaVuivO53wNC9XtWSDNDdcO5cGy87vfJRVAiyoCn/mjqA==}
+ '@react-aria/[email protected]':
+ resolution: {integrity: sha512-hPF9EXoUQeQl1Y21/rbV2H4FdUR2v+4/I0/vB+8U3bT1CJ+1AFj1hc/rqx2DqEwDlEwOHN+E4+mRahQmlybq0A==}
peerDependencies:
react: 18.3.0-canary-14898b6a9-20240318
- '@react-aria/[email protected]':
- resolution: {integrity: sha512-E0vsgtpItmknq/MJELqYJwib+YN18Qag8nroqwjk1qOnBa9ROIkUhWJerLi1qs5diXq9LHKehZDXRlwPvdEFww==}
+ '@react-aria/[email protected]':
+ resolution: {integrity: sha512-kMwiAD9E0TQp+XNnOs13yVJghiy8ET8L0cbkeuTgNI96sOAp/63EJ1FSrDf17iD8sdjt41LafwX/dKXW9nCcLQ==}
peerDependencies:
react: 18.3.0-canary-14898b6a9-20240318
- '@react-aria/[email protected]':
- resolution: {integrity: sha512-iLo82l82ilMiVGy342SELjshuWottlb5+VefO3jOQqQRNYnJBFpUSadswDPbRimSgJUZuFwIEYs6AabkP038fA==}
+ '@react-aria/[email protected]':
+ resolution: {integrity: sha512-GQygZaGlmYjmYM+tiNBA5C6acmiDWF52Nqd40bBp0Znk4M4hP+LTmI0lpI1BuKMw45T8RIhrAsICIfKwZvi2Gg==}
engines: {node: '>= 12'}
peerDependencies:
react: 18.3.0-canary-14898b6a9-20240318
- '@react-aria/[email protected]':
- resolution: {integrity: sha512-PR5H/2vaD8fSq0H/UB9inNbc8KDcVmW6fYAfSWkkn+OAdhTTMVKqXXrZuZBWyFfSD5Ze7VN6acr4hrOQm2bmrA==}
+ '@react-aria/[email protected]':
+ resolution: {integrity: sha512-LkZouGSjjQ0rEqo4XJosS4L3YC/zzQkfRM3KoqK6fUOmUJ9t0jQ09WjiF+uOoG9u+p30AVg3TrZRUWmoTS+koQ==}
peerDependencies:
react: 18.3.0-canary-14898b6a9-20240318
- '@react-stately/[email protected]':
- resolution: {integrity: sha512-gBEQEIMRh5f60KCm7QKQ2WfvhB2gLUr9b72sqUdIZ2EG+xuPgaIlCBeSicvjmjBvYZwOjoOEnmIkcx2GHp/HWw==}
+ '@react-stately/[email protected]':
+ resolution: {integrity: sha512-iMQSGcpaecghDIh3mZEpZfoFH3ExBwTtuBEcvZ2XnGzCgQjeYXcMdIUwAfVQLXFTdHUHGF6Gu6/dFrYsCzySBQ==}
peerDependencies:
react: 18.3.0-canary-14898b6a9-20240318
- '@react-types/[email protected]':
- resolution: {integrity: sha512-OZSyhzU6vTdW3eV/mz5i6hQwQUhkRs7xwY2d1aqPvTdMe0+2cY7Fwp45PAiwYLEj73i9ro2FxF9qC4DvHGSCgQ==}
+ '@react-types/[email protected]':
+ resolution: {integrity: sha512-6FuPqvhmjjlpEDLTiYx29IJCbCNWPlsyO+ZUmCUXzhUv2ttShOXfw8CmeHWHftT/b2KweAWuzqSlfeXPR76jpw==}
peerDependencies:
react: 18.3.0-canary-14898b6a9-20240318
@@ -4574,9 +4574,6 @@ packages:
resolution: {integrity: sha512-0e4B41q+GnS8TI+SWHQw78ziW6V07Li2TMLS8FwbvKOTIJL0ua1Sat1AI0AFAjHlAePz9b+1VtyJzv1516edJw==}
hasBin: true
- resolution: {integrity: sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg==}
-
resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==}
@@ -5411,8 +5408,8 @@ packages:
resolution: {integrity: sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==}
engines: {node: '>=8'}
- resolution: {integrity: sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw==}
+ resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==}
resolution: {integrity: sha512-ND9qDTLc6diwj+Xe5cdAgVTbLVdXbtxTJRXRhli8Mowuaan+0EJOtdqJ0QCHNSSPyoXGx9HX2/VMnKeC34AChA==}
@@ -6033,8 +6030,8 @@ packages:
resolution: {integrity: sha512-OkToC372DtlQeje9/zHIo5CT8lRP/FUgEOKBEhU4e0abL7J7CD24fD9ohiLN5hagG/kWCYj4K5oaxxtj2Z0Dig==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-7PpuQMH10jaTWm33sQgBQvz45pHR8N4l3Cu3WMGEWmHShAcTuuP7I+5/DwKo39fwti5A80WAjvqgz6SSlgWmGA==}
+ resolution: {integrity: sha512-erjk19y1U33+XAMe1VTvIONHYoSqE4iS7BYUZfHaqeohLmnC0FdxEh7rQU+6MZ4OajItzjZFSRtVANrQwNq6/g==}
peerDependencies:
csstype: ^3.0.10
@@ -7499,13 +7496,13 @@ packages:
peerDependencies:
react: 18.3.0-canary-14898b6a9-20240318
- resolution: {integrity: sha512-GQDxZ5Jd+Aq/qUxbCm1UtzmL/s++V7zKgE8yMktJiCQXCCFZnMZh9ng+6/Ne6PjNSXH0L9CjeOEREfRnq6Duag==}
+ resolution: {integrity: sha512-tnjAxG+IkpLephNcePNA7v6F/QpWLH8He65+DmedchDwg162JZqx4NmbXj0mlAYVVEd81OW7aFhmbsScYfiAFQ==}
peerDependencies:
react: 18.3.0-canary-14898b6a9-20240318
- resolution: {integrity: sha512-j8z+cQbWIM5LY37pR6uZR6D4LfseplqnuAO4co4u8917hBUvXlEqyP1ZzqVLcqoyUesZZv/ImreoCeHVDpE5pQ==}
+ resolution: {integrity: sha512-54Gq1ZD1JbmAb4psp9bvFHjS7lje+8ubboUmvKZkCsQBLH6AOpZ9JemfRvIdHcfb9AZXRaFLrb3qUobGYDJhFQ==}
engines: {node: '>=10'}
peerDependencies:
react: 18.3.0-canary-14898b6a9-20240318
@@ -8387,12 +8384,12 @@ packages:
resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==}
+ resolution: {integrity: sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==}
+
resolution: {integrity: sha512-Qp95D4TPJl1kC9SKigDcqgyM2VDVO4RiJc2d4qe5GrYm+zbIQCWWKAFaJNQ4BhdFeDGwBmAxqJBwWSJDb9T3BQ==}
- resolution: {integrity: sha512-WHN8KDQblxd32odxeIgo83rdVDE2bvdkb86it7bMhYZwWKJz0+O0RK/eZiHYnM+zgt/U7hAHOlCQGfjjvSkw2g==}
-
resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==}
engines: {node: '>=10'}
@@ -8403,9 +8400,9 @@ packages:
'@types/react':
optional: true
- resolution: {integrity: sha512-6X8H/mikbrt0XE8e+JXRtZ8yYVvKkdYRfmIhWZYsP8rcNs9hk3APV8Ua2mFkKRLcJKVdnX2/Vwrmg2GWKUQEaQ==}
- engines: {node: '>= 10.0.0'}
+ resolution: {integrity: sha512-6Cf7Yr7Wk7Kdv77nnJMf6de4HuDE4dTxKij+RqE9rufDsI6zsbjyAxcH5y2ueJCQAnfgKbzXbZHYlkFwmBlWkw==}
+ engines: {node: '>= 16.0.0'}
peerDependencies:
react: 18.3.0-canary-14898b6a9-20240318
@@ -9651,14 +9648,14 @@ snapshots:
dependencies:
'@floating-ui/utils': 0.2.8
- '@floating-ui/[email protected]':
+ '@floating-ui/[email protected]':
dependencies:
'@floating-ui/core': 1.6.2
'@floating-ui/utils': 0.2.8
dependencies:
- '@floating-ui/dom': 1.6.11
+ '@floating-ui/dom': 1.6.12
react: 18.3.0-canary-14898b6a9-20240318
react-dom: 18.3.0-canary-14898b6a9-20240318([email protected])
@@ -10762,43 +10759,43 @@ snapshots:
'@radix-ui/[email protected]': {}
dependencies:
- '@react-aria/interactions': 3.22.4([email protected])
- '@react-aria/utils': 3.25.3([email protected])
- '@react-types/shared': 3.25.0([email protected])
- '@swc/helpers': 0.5.1
+ '@react-aria/interactions': 3.22.5([email protected])
+ '@react-aria/utils': 3.26.0([email protected])
+ '@react-types/shared': 3.26.0([email protected])
+ '@swc/helpers': 0.5.15
clsx: 2.1.1
react: 18.3.0-canary-14898b6a9-20240318
dependencies:
- '@react-aria/ssr': 3.9.6([email protected])
- '@react-aria/utils': 3.25.3([email protected])
- '@react-types/shared': 3.25.0([email protected])
- '@swc/helpers': 0.5.1
+ '@react-aria/ssr': 3.9.7([email protected])
+ '@react-aria/utils': 3.26.0([email protected])
+ '@react-types/shared': 3.26.0([email protected])
+ '@swc/helpers': 0.5.15
react: 18.3.0-canary-14898b6a9-20240318
dependencies:
- '@swc/helpers': 0.5.1
+ '@swc/helpers': 0.5.15
react: 18.3.0-canary-14898b6a9-20240318
dependencies:
- '@react-aria/ssr': 3.9.6([email protected])
- '@react-stately/utils': 3.10.4([email protected])
- '@react-types/shared': 3.25.0([email protected])
- '@swc/helpers': 0.5.1
+ '@react-aria/ssr': 3.9.7([email protected])
+ '@react-stately/utils': 3.10.5([email protected])
+ '@react-types/shared': 3.26.0([email protected])
+ '@swc/helpers': 0.5.15
clsx: 2.1.1
react: 18.3.0-canary-14898b6a9-20240318
dependencies:
- '@swc/helpers': 0.5.1
+ '@swc/helpers': 0.5.15
react: 18.3.0-canary-14898b6a9-20240318
dependencies:
react: 18.3.0-canary-14898b6a9-20240318
@@ -11243,10 +11240,6 @@ snapshots:
css-tree: 2.3.1(patch_hash=epgcmebti7rfrc2ej4odb3t4jy)
svgo: 3.0.2
- dependencies:
- tslib: 2.6.2
-
dependencies:
tslib: 2.8.1
@@ -11392,7 +11385,7 @@ snapshots:
dependencies:
'@types/prop-types': 15.7.5
- csstype: 3.1.1
+ csstype: 3.1.3
'@types/[email protected]': {}
@@ -11533,7 +11526,7 @@ snapshots:
'@vanilla-extract/private': 1.0.5
css-what: 6.1.0
cssesc: 3.0.0
- csstype: 3.1.1
+ csstype: 3.1.3
dedent: 1.5.3
deep-object-diff: 1.1.9
deepmerge: 4.3.1
@@ -11691,7 +11684,7 @@ snapshots:
dependencies:
'@vue/runtime-core': 3.3.4
'@vue/shared': 3.3.4
- csstype: 3.1.1
+ csstype: 3.1.3
dependencies:
@@ -12238,7 +12231,7 @@ snapshots:
cssom: 0.3.8
optional: true
@@ -13065,9 +13058,9 @@ snapshots:
dependencies:
- csstype: 3.1.1
+ csstype: 3.1.3
dependencies:
@@ -14874,18 +14867,17 @@ snapshots:
'@babel/runtime': 7.25.0
react: 18.3.0-canary-14898b6a9-20240318
dependencies:
'@babel/runtime': 7.25.0
react: 18.3.0-canary-14898b6a9-20240318
dependencies:
- goober: 2.1.10([email protected])
+ csstype: 3.1.3
+ goober: 2.1.16([email protected])
react: 18.3.0-canary-14898b6a9-20240318
react-dom: 18.3.0-canary-14898b6a9-20240318([email protected])
- transitivePeerDependencies:
- - csstype
@@ -15327,7 +15319,7 @@ snapshots:
dependencies:
- csstype: 3.1.1
+ csstype: 3.1.3
seroval: 0.5.1
@@ -15859,9 +15851,9 @@ snapshots:
requires-port: 1.0.0
optional: true
dependencies:
@@ -15870,7 +15862,7 @@ snapshots:
optionalDependencies:
'@types/react': 18.2.79
dependencies:
react: 18.3.0-canary-14898b6a9-20240318