From 1c18a70e4e5d573d20d8461802b9c122ca4cdae8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 01:35:10 +0000 Subject: [PATCH 1/4] chore(deps): update pnpm to v8.9.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9dcb36f3..33989aaf 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,6 @@ "turbo": "1.10.15", "@turbo/gen": "1.10.15" }, - "packageManager": "pnpm@8.9.0", + "packageManager": "pnpm@8.9.2", "name": "ui" } From f29c1856527a04aed2b686b7dea07bbb86b1929f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 15:34:08 +0000 Subject: [PATCH 2/4] fix(deps): update dependency next to v13.5.5 --- apps/docs/package.json | 2 +- pnpm-lock.yaml | 94 +++++++++++++++++++++--------------------- 2 files changed, 48 insertions(+), 48 deletions(-) diff --git a/apps/docs/package.json b/apps/docs/package.json index 70f93d48..9eb92918 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -36,7 +36,7 @@ "@mui/x-data-grid-pro": "6.16.2", "classix": "2.1.35", "comment-parser": "1.4.0", - "next": "13.5.4", + "next": "13.5.5", "nextra": "2.13.2", "nextra-theme-docs": "2.13.2", "react": "18.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a6d11d2d..df5f33aa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -75,14 +75,14 @@ importers: specifier: 1.4.0 version: 1.4.0 next: - specifier: 13.5.4 - version: 13.5.4(react-dom@18.2.0)(react@18.2.0) + specifier: 13.5.5 + version: 13.5.5(react-dom@18.2.0)(react@18.2.0) nextra: specifier: 2.13.2 - version: 2.13.2(next@13.5.4)(react-dom@18.2.0)(react@18.2.0) + version: 2.13.2(next@13.5.5)(react-dom@18.2.0)(react@18.2.0) nextra-theme-docs: specifier: 2.13.2 - version: 2.13.2(next@13.5.4)(nextra@2.13.2)(react-dom@18.2.0)(react@18.2.0) + version: 2.13.2(next@13.5.5)(nextra@2.13.2)(react-dom@18.2.0)(react@18.2.0) react: specifier: 18.2.0 version: 18.2.0 @@ -1656,12 +1656,12 @@ packages: '@napi-rs/simple-git-win32-x64-msvc': 0.1.9 dev: false - /@next/env@13.5.4: - resolution: {integrity: sha512-LGegJkMvRNw90WWphGJ3RMHMVplYcOfRWf2Be3td3sUa+1AaxmsYyANsA+znrGCBjXJNi4XAQlSoEfUxs/4kIQ==} + /@next/env@13.5.5: + resolution: {integrity: sha512-agvIhYWp+ilbScg81s/sLueZo8CNEYLjNOqhISxheLmD/AQI4/VxV7bV76i/KzxH4iHy/va0YS9z0AOwGnw4Fg==} dev: false - /@next/swc-darwin-arm64@13.5.4: - resolution: {integrity: sha512-Df8SHuXgF1p+aonBMcDPEsaahNo2TCwuie7VXED4FVyECvdXfRT9unapm54NssV9tF3OQFKBFOdlje4T43VO0w==} + /@next/swc-darwin-arm64@13.5.5: + resolution: {integrity: sha512-FvTdcJdTA7H1FGY8dKPPbf/O0oDC041/znHZwXA7liiGUhgw5hOQ+9z8tWvuz0M5a/SDjY/IRPBAb5FIFogYww==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] @@ -1669,8 +1669,8 @@ packages: dev: false optional: true - /@next/swc-darwin-x64@13.5.4: - resolution: {integrity: sha512-siPuUwO45PnNRMeZnSa8n/Lye5ZX93IJom9wQRB5DEOdFrw0JjOMu1GINB8jAEdwa7Vdyn1oJ2xGNaQpdQQ9Pw==} + /@next/swc-darwin-x64@13.5.5: + resolution: {integrity: sha512-mTqNIecaojmyia7appVO2QggBe1Z2fdzxgn6jb3x9qlAk8yY2sy4MAcsj71kC9RlenCqDmr9vtC/ESFf110TPA==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] @@ -1678,8 +1678,8 @@ packages: dev: false optional: true - /@next/swc-linux-arm64-gnu@13.5.4: - resolution: {integrity: sha512-l/k/fvRP/zmB2jkFMfefmFkyZbDkYW0mRM/LB+tH5u9pB98WsHXC0WvDHlGCYp3CH/jlkJPL7gN8nkTQVrQ/2w==} + /@next/swc-linux-arm64-gnu@13.5.5: + resolution: {integrity: sha512-U9e+kNkfvwh/T8yo+xcslvNXgyMzPPX1IbwCwnHHFmX5ckb1Uc3XZSInNjFQEQR5xhJpB5sFdal+IiBIiLYkZA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -1687,8 +1687,8 @@ packages: dev: false optional: true - /@next/swc-linux-arm64-musl@13.5.4: - resolution: {integrity: sha512-YYGb7SlLkI+XqfQa8VPErljb7k9nUnhhRrVaOdfJNCaQnHBcvbT7cx/UjDQLdleJcfyg1Hkn5YSSIeVfjgmkTg==} + /@next/swc-linux-arm64-musl@13.5.5: + resolution: {integrity: sha512-h7b58eIoNCSmKVC5fr167U0HWZ/yGLbkKD9wIller0nGdyl5zfTji0SsPKJvrG8jvKPFt2xOkVBmXlFOtuKynw==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -1696,8 +1696,8 @@ packages: dev: false optional: true - /@next/swc-linux-x64-gnu@13.5.4: - resolution: {integrity: sha512-uE61vyUSClnCH18YHjA8tE1prr/PBFlBFhxBZis4XBRJoR+txAky5d7gGNUIbQ8sZZ7LVkSVgm/5Fc7mwXmRAg==} + /@next/swc-linux-x64-gnu@13.5.5: + resolution: {integrity: sha512-6U4y21T1J6FfcpM9uqzBJicxycpB5gJKLyQ3g6KOfBzT8H1sMwfHTRrvHKB09GIn1BCRy5YJHrA1G26DzqR46w==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -1705,8 +1705,8 @@ packages: dev: false optional: true - /@next/swc-linux-x64-musl@13.5.4: - resolution: {integrity: sha512-qVEKFYML/GvJSy9CfYqAdUexA6M5AklYcQCW+8JECmkQHGoPxCf04iMh7CPR7wkHyWWK+XLt4Ja7hhsPJtSnhg==} + /@next/swc-linux-x64-musl@13.5.5: + resolution: {integrity: sha512-OuqWSAQHJQM2EsapPFTSU/FLQ0wKm7UeRNatiR/jLeCe1V02aB9xmzuWYo2Neaxxag4rss3S8fj+lvMLzwDaFA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -1714,8 +1714,8 @@ packages: dev: false optional: true - /@next/swc-win32-arm64-msvc@13.5.4: - resolution: {integrity: sha512-mDSQfqxAlfpeZOLPxLymZkX0hYF3juN57W6vFHTvwKlnHfmh12Pt7hPIRLYIShk8uYRsKPtMTth/EzpwRI+u8w==} + /@next/swc-win32-arm64-msvc@13.5.5: + resolution: {integrity: sha512-+yLrOZIIZDY4uGn9bLOc0wTgs+M8RuOUFSUK3BhmcLav9e+tcAj0jyBHD4aXv2qWhppUeuYMsyBo1I58/eE6Dg==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] @@ -1723,8 +1723,8 @@ packages: dev: false optional: true - /@next/swc-win32-ia32-msvc@13.5.4: - resolution: {integrity: sha512-aoqAT2XIekIWoriwzOmGFAvTtVY5O7JjV21giozBTP5c6uZhpvTWRbmHXbmsjZqY4HnEZQRXWkSAppsIBweKqw==} + /@next/swc-win32-ia32-msvc@13.5.5: + resolution: {integrity: sha512-SyMxXyJtf9ScMH0Dh87THJMXNFvfkRAk841xyW9SeOX3KxM1buXX3hN7vof4kMGk0Yg996OGsX+7C9ueS8ugsw==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] @@ -1732,8 +1732,8 @@ packages: dev: false optional: true - /@next/swc-win32-x64-msvc@13.5.4: - resolution: {integrity: sha512-cyRvlAxwlddlqeB9xtPSfNSCRy8BOa4wtMo0IuI9P7Y0XT2qpDrpFKRyZ7kUngZis59mPVla5k8X1oOJ8RxDYg==} + /@next/swc-win32-x64-msvc@13.5.5: + resolution: {integrity: sha512-n5KVf2Ok0BbLwofAaHiiKf+BQCj1M8WmTujiER4/qzYAVngnsNSjqEWvJ03raeN9eURqxDO+yL5VRoDrR33H9A==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -6340,32 +6340,32 @@ packages: - supports-color dev: false - /next-seo@6.1.0(next@13.5.4)(react-dom@18.2.0)(react@18.2.0): + /next-seo@6.1.0(next@13.5.5)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-iMBpFoJsR5zWhguHJvsoBDxDSmdYTHtnVPB1ij+CD0NReQCP78ZxxbdL9qkKIf4oEuZEqZkrjAQLB0bkII7RYA==} peerDependencies: next: ^8.1.1-canary.54 || >=9.0.0 react: '>=16.0.0' react-dom: '>=16.0.0' dependencies: - next: 13.5.4(react-dom@18.2.0)(react@18.2.0) + next: 13.5.5(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /next-themes@0.2.1(next@13.5.4)(react-dom@18.2.0)(react@18.2.0): + /next-themes@0.2.1(next@13.5.5)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==} peerDependencies: next: '*' react: '*' react-dom: '*' dependencies: - next: 13.5.4(react-dom@18.2.0)(react@18.2.0) + next: 13.5.5(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /next@13.5.4(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-+93un5S779gho8y9ASQhb/bTkQF17FNQOtXLKAj3lsNgltEcF0C5PMLLncDmH+8X1EnJH1kbqAERa29nRXqhjA==} + /next@13.5.5(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-LddFJjpfrtrMMw8Q9VLhIURuSidiCNcMQjRqcPtrKd+Fx07MsG7hYndJb/f2d3I+mTbTotsTJfCnn0eZ/YPk8w==} engines: {node: '>=16.14.0'} hasBin: true peerDependencies: @@ -6379,7 +6379,7 @@ packages: sass: optional: true dependencies: - '@next/env': 13.5.4 + '@next/env': 13.5.5 '@swc/helpers': 0.5.2 busboy: 1.6.0 caniuse-lite: 1.0.30001538 @@ -6389,21 +6389,21 @@ packages: styled-jsx: 5.1.1(react@18.2.0) watchpack: 2.4.0 optionalDependencies: - '@next/swc-darwin-arm64': 13.5.4 - '@next/swc-darwin-x64': 13.5.4 - '@next/swc-linux-arm64-gnu': 13.5.4 - '@next/swc-linux-arm64-musl': 13.5.4 - '@next/swc-linux-x64-gnu': 13.5.4 - '@next/swc-linux-x64-musl': 13.5.4 - '@next/swc-win32-arm64-msvc': 13.5.4 - '@next/swc-win32-ia32-msvc': 13.5.4 - '@next/swc-win32-x64-msvc': 13.5.4 + '@next/swc-darwin-arm64': 13.5.5 + '@next/swc-darwin-x64': 13.5.5 + '@next/swc-linux-arm64-gnu': 13.5.5 + '@next/swc-linux-arm64-musl': 13.5.5 + '@next/swc-linux-x64-gnu': 13.5.5 + '@next/swc-linux-x64-musl': 13.5.5 + '@next/swc-win32-arm64-msvc': 13.5.5 + '@next/swc-win32-ia32-msvc': 13.5.5 + '@next/swc-win32-x64-msvc': 13.5.5 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros dev: false - /nextra-theme-docs@2.13.2(next@13.5.4)(nextra@2.13.2)(react-dom@18.2.0)(react@18.2.0): + /nextra-theme-docs@2.13.2(next@13.5.5)(nextra@2.13.2)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-yE4umXaImp1/kf/sFciPj2+EFrNSwd9Db26hi98sIIiujzGf3+9eUgAz45vF9CwBw50FSXxm1QGRcY+slQ4xQQ==} peerDependencies: next: '>=9.5.3' @@ -6420,17 +6420,17 @@ packages: git-url-parse: 13.1.0 intersection-observer: 0.12.2 match-sorter: 6.3.1 - next: 13.5.4(react-dom@18.2.0)(react@18.2.0) - next-seo: 6.1.0(next@13.5.4)(react-dom@18.2.0)(react@18.2.0) - next-themes: 0.2.1(next@13.5.4)(react-dom@18.2.0)(react@18.2.0) - nextra: 2.13.2(next@13.5.4)(react-dom@18.2.0)(react@18.2.0) + next: 13.5.5(react-dom@18.2.0)(react@18.2.0) + next-seo: 6.1.0(next@13.5.5)(react-dom@18.2.0)(react@18.2.0) + next-themes: 0.2.1(next@13.5.5)(react-dom@18.2.0)(react@18.2.0) + nextra: 2.13.2(next@13.5.5)(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) scroll-into-view-if-needed: 3.0.10 zod: 3.22.4 dev: false - /nextra@2.13.2(next@13.5.4)(react-dom@18.2.0)(react@18.2.0): + /nextra@2.13.2(next@13.5.5)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-pIgOSXNUqTz1laxV4ChFZOU7lzJAoDHHaBPj8L09PuxrLKqU1BU/iZtXAG6bQeKCx8EPdBsoXxEuENnL9QGnGA==} engines: {node: '>=16'} peerDependencies: @@ -6450,7 +6450,7 @@ packages: gray-matter: 4.0.3 katex: 0.16.9 lodash.get: 4.4.2 - next: 13.5.4(react-dom@18.2.0)(react@18.2.0) + next: 13.5.5(react-dom@18.2.0)(react@18.2.0) next-mdx-remote: 4.4.1(react-dom@18.2.0)(react@18.2.0) p-limit: 3.1.0 react: 18.2.0 From e6f30068f38922150bc211a3e92683a00f4a1b5e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 17 Oct 2023 10:52:22 +0000 Subject: [PATCH 3/4] chore(deps): update dependency @mui/lab to v5.0.0-alpha.149 --- apps/docs/package.json | 2 +- packages/react-ui/package.json | 4 +- pnpm-lock.yaml | 97 ++++++++++++++++++++++++++++------ 3 files changed, 85 insertions(+), 18 deletions(-) diff --git a/apps/docs/package.json b/apps/docs/package.json index 70f93d48..81dfbc36 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -27,7 +27,7 @@ "@mdx-js/mdx": "2.3.0", "@mdx-js/react": "2.3.0", "@mui/icons-material": "5.14.13", - "@mui/lab": "5.0.0-alpha.148", + "@mui/lab": "5.0.0-alpha.149", "@mui/material": "5.14.13", "@mui/system": "5.14.13", "@mui/x-date-pickers-pro": "5.0.20", diff --git a/packages/react-ui/package.json b/packages/react-ui/package.json index 923714db..277e518c 100644 --- a/packages/react-ui/package.json +++ b/packages/react-ui/package.json @@ -31,7 +31,7 @@ "@mui/icons-material": "5.14.13", "@mui/material": "5.14.13", "@mui/system": "5.14.13", - "@mui/lab": "5.0.0-alpha.148", + "@mui/lab": "5.0.0-alpha.149", "@mui/x-date-pickers-pro": "5.0.20", "@mui/x-date-pickers": "5.0.20", "@types/node": "18.18.5", @@ -50,7 +50,7 @@ "@emotion/styled": "11.11.0", "@mui/material": "5.14.13", "@mui/system": "5.14.13", - "@mui/lab": "5.0.0-alpha.148", + "@mui/lab": "5.0.0-alpha.149", "@mui/x-date-pickers-pro": "5.0.20", "@mui/x-date-pickers": "5.0.20", "react": "18.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a6d11d2d..ce9a0fb9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,8 +48,8 @@ importers: specifier: 5.14.13 version: 5.14.13(@mui/material@5.14.13)(@types/react@18.2.28)(react@18.2.0) '@mui/lab': - specifier: 5.0.0-alpha.148 - version: 5.0.0-alpha.148(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@mui/material@5.14.13)(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0) + specifier: 5.0.0-alpha.149 + version: 5.0.0-alpha.149(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@mui/material@5.14.13)(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0) '@mui/material': specifier: 5.14.13 version: 5.14.13(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0) @@ -244,8 +244,8 @@ importers: specifier: 5.14.13 version: 5.14.13(@mui/material@5.14.13)(@types/react@18.2.28)(react@18.2.0) '@mui/lab': - specifier: 5.0.0-alpha.148 - version: 5.0.0-alpha.148(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@mui/material@5.14.13)(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0) + specifier: 5.0.0-alpha.149 + version: 5.0.0-alpha.149(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@mui/material@5.14.13)(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0) '@mui/material': specifier: 5.14.13 version: 5.14.13(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0) @@ -1121,6 +1121,28 @@ packages: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + /@mui/base@5.0.0-beta.20(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-CS2pUuqxST7ch9VNDCklRYDbJ3rru20Tx7na92QvVVKfu3RL4z/QLuVIc8jYGsdCnauMaeUSlFNLAJNb0yXe6w==} + engines: {node: '>=12.0.0'} + peerDependencies: + '@types/react': ^17.0.0 || ^18.0.0 + react: ^17.0.0 || ^18.0.0 + react-dom: ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + '@types/react': + optional: true + dependencies: + '@babel/runtime': 7.23.1 + '@floating-ui/react-dom': 2.0.2(react-dom@18.2.0)(react@18.2.0) + '@mui/types': 7.2.6(@types/react@18.2.28) + '@mui/utils': 5.14.13(@types/react@18.2.28)(react@18.2.0) + '@popperjs/core': 2.11.8 + '@types/react': 18.2.28 + clsx: 2.0.0 + prop-types: 15.8.1 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + /@mui/core-downloads-tracker@5.14.13: resolution: {integrity: sha512-3ZUbzcH4yloLKlV6Y+S0Edn2wef9t+EGHSfEkwVCn8E0ULdshifEFgfEroKRegQifDIwcKS/ofccxuZ8njTAYg==} @@ -1140,8 +1162,8 @@ packages: '@types/react': 18.2.28 react: 18.2.0 - /@mui/lab@5.0.0-alpha.148(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@mui/material@5.14.13)(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-FfgHSYO59tznwMkn6FAjuowU1KteTV2AQRD7NsZq82TpiRBpBFkDtcsap02uf+rRVdwgF/yokdYLtVJ96snDGA==} + /@mui/lab@5.0.0-alpha.149(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@mui/material@5.14.13)(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-azOkKcyVX4KBZAqSp7eRD4OfKrUrvQXo7x2BjFJil+UeAJiMpB6I5lALo2PDZz3vjtJnHqlURnZtxZOHs1zfEA==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.5.0 @@ -1161,12 +1183,12 @@ packages: '@babel/runtime': 7.23.1 '@emotion/react': 11.11.1(@types/react@18.2.28)(react@18.2.0) '@emotion/styled': 11.11.0(@emotion/react@11.11.1)(@types/react@18.2.28)(react@18.2.0) - '@mui/base': 5.0.0-beta.19(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0) + '@mui/base': 5.0.0-beta.20(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0) '@mui/material': 5.14.13(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0) - '@mui/system': 5.14.13(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@types/react@18.2.28)(react@18.2.0) + '@mui/system': 5.14.14(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@types/react@18.2.28)(react@18.2.0) '@mui/types': 7.2.6(@types/react@18.2.28) '@mui/utils': 5.14.13(@types/react@18.2.28)(react@18.2.0) - '@mui/x-tree-view': 6.0.0-alpha.1(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@mui/base@5.0.0-beta.19)(@mui/material@5.14.13)(@mui/system@5.14.13)(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0) + '@mui/x-tree-view': 6.0.0-alpha.1(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@mui/base@5.0.0-beta.20)(@mui/material@5.14.13)(@mui/system@5.14.14)(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0) '@types/react': 18.2.28 clsx: 2.0.0 prop-types: 15.8.1 @@ -1224,6 +1246,22 @@ packages: prop-types: 15.8.1 react: 18.2.0 + /@mui/private-theming@5.14.14(@types/react@18.2.28)(react@18.2.0): + resolution: {integrity: sha512-n77au3CQj9uu16hak2Y+rvbGSBaJKxziG/gEbOLVGrAuqZ+ycVSkorCfN6Y/4XgYOpG/xvmuiY3JwhAEOzY3iA==} + engines: {node: '>=12.0.0'} + peerDependencies: + '@types/react': ^17.0.0 || ^18.0.0 + react: ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + '@types/react': + optional: true + dependencies: + '@babel/runtime': 7.23.1 + '@mui/utils': 5.14.13(@types/react@18.2.28)(react@18.2.0) + '@types/react': 18.2.28 + prop-types: 15.8.1 + react: 18.2.0 + /@mui/styled-engine@5.14.13(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(react@18.2.0): resolution: {integrity: sha512-1ff/egFQl26hiwcUtCMKAkp4Sgqpm3qIewmXq+GN27fb44lDIACquehMFBuadOjceOFmbIXbayzbA46ZyqFYzA==} engines: {node: '>=12.0.0'} @@ -1274,6 +1312,35 @@ packages: prop-types: 15.8.1 react: 18.2.0 + /@mui/system@5.14.14(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@types/react@18.2.28)(react@18.2.0): + resolution: {integrity: sha512-y4InFmCgGGWXnz+iK4jRTWVikY0HgYnABjz4wgiUgEa2W1H8M4ow+27BegExUWPkj4TWthQ2qG9FOGSMtI+PKA==} + engines: {node: '>=12.0.0'} + peerDependencies: + '@emotion/react': ^11.5.0 + '@emotion/styled': ^11.3.0 + '@types/react': ^17.0.0 || ^18.0.0 + react: ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + '@emotion/react': + optional: true + '@emotion/styled': + optional: true + '@types/react': + optional: true + dependencies: + '@babel/runtime': 7.23.1 + '@emotion/react': 11.11.1(@types/react@18.2.28)(react@18.2.0) + '@emotion/styled': 11.11.0(@emotion/react@11.11.1)(@types/react@18.2.28)(react@18.2.0) + '@mui/private-theming': 5.14.14(@types/react@18.2.28)(react@18.2.0) + '@mui/styled-engine': 5.14.13(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(react@18.2.0) + '@mui/types': 7.2.6(@types/react@18.2.28) + '@mui/utils': 5.14.13(@types/react@18.2.28)(react@18.2.0) + '@types/react': 18.2.28 + clsx: 2.0.0 + csstype: 3.1.2 + prop-types: 15.8.1 + react: 18.2.0 + /@mui/types@7.2.6(@types/react@18.2.28): resolution: {integrity: sha512-7sjLQrUmBwufm/M7jw/quNiPK/oor2+pGUQP2CULRcFCArYTq78oJ3D5esTaL0UMkXKJvDqXn6Ike69yAOBQng==} peerDependencies: @@ -1495,7 +1562,7 @@ packages: react: ^17.0.2 || ^18.0.0 dependencies: '@babel/runtime': 7.23.1 - '@mui/utils': 5.14.12(@types/react@18.2.28)(react@18.2.0) + '@mui/utils': 5.14.13(@types/react@18.2.28)(react@18.2.0) react: 18.2.0 transitivePeerDependencies: - '@types/react' @@ -1507,12 +1574,12 @@ packages: react: ^17.0.0 || ^18.0.0 dependencies: '@babel/runtime': 7.23.1 - '@mui/utils': 5.14.12(@types/react@18.2.28)(react@18.2.0) + '@mui/utils': 5.14.13(@types/react@18.2.28)(react@18.2.0) react: 18.2.0 transitivePeerDependencies: - '@types/react' - /@mui/x-tree-view@6.0.0-alpha.1(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@mui/base@5.0.0-beta.19)(@mui/material@5.14.13)(@mui/system@5.14.13)(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0): + /@mui/x-tree-view@6.0.0-alpha.1(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@mui/base@5.0.0-beta.20)(@mui/material@5.14.13)(@mui/system@5.14.14)(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-JUG3HmBrmGEALbCFg1b+i7h726e1dWYZs4db3syO1j+Q++E3nbvE4Lehp5yGTFm+8esH0Tny50tuJaa4WX6VSA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1527,11 +1594,11 @@ packages: '@babel/runtime': 7.23.1 '@emotion/react': 11.11.1(@types/react@18.2.28)(react@18.2.0) '@emotion/styled': 11.11.0(@emotion/react@11.11.1)(@types/react@18.2.28)(react@18.2.0) - '@mui/base': 5.0.0-beta.19(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0) + '@mui/base': 5.0.0-beta.20(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0) '@mui/material': 5.14.13(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@types/react@18.2.28)(react-dom@18.2.0)(react@18.2.0) - '@mui/system': 5.14.13(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@types/react@18.2.28)(react@18.2.0) + '@mui/system': 5.14.14(@emotion/react@11.11.1)(@emotion/styled@11.11.0)(@types/react@18.2.28)(react@18.2.0) '@mui/utils': 5.14.13(@types/react@18.2.28)(react@18.2.0) - '@types/react-transition-group': 4.4.6 + '@types/react-transition-group': 4.4.7 clsx: 2.0.0 prop-types: 15.8.1 react: 18.2.0 From eeb77a04d1e4d3c2fef98ec42031b348e7b6e46d Mon Sep 17 00:00:00 2001 From: Aleksandar Toplek Date: Tue, 17 Oct 2023 13:16:51 +0200 Subject: [PATCH 4/4] feat: Simplified PageDrawer component to use sitcky instead of absolute positioning --- apps/docs/components/ExamplePageDrawer.tsx | 6 +- packages/react-ui/PageDrawer/PageDrawer.tsx | 127 ++++++++---------- ...use sitcky instead of absolute positioning | 0 3 files changed, 62 insertions(+), 71 deletions(-) create mode 100644 packages/react-ui/changes/Changed Simplified PageDrawer component to use sitcky instead of absolute positioning diff --git a/apps/docs/components/ExamplePageDrawer.tsx b/apps/docs/components/ExamplePageDrawer.tsx index 80e88122..602f7bec 100644 --- a/apps/docs/components/ExamplePageDrawer.tsx +++ b/apps/docs/components/ExamplePageDrawer.tsx @@ -5,8 +5,10 @@ export function ExamplePageDrawer() { const [expanded, setExpanded] = useState(false); return ( -
- Page content +
+
+ {(Array(100).fill(0)).map((_, i) => (
Page content {i}
))} +
{/* // @highlight-start */} & { * @public */ export function PageDrawer({ expanded, onChange, children, color, ...rest }: PageDrawerProps): JSX.Element { - const [drawerSize, setDrawerSize] = useState(0); - const drawerSizeDebounced = useDebounce(drawerSize, 50); - const resizeObserverRef = useResizeObserver((_, entry) => { - setDrawerSize(entry.contentRect.height); - }); - return ( - <> - - + } sx={{ - position: 'absolute', - inset: 'auto 0 0 0', - bgcolor: 'transparent', - backgroundImage: 'none', - border: 'none', + position: 'relative', + minHeight: 32, + height: 32, + '.MuiAccordionSummary-expandIconWrapper': { + bgcolor: color ?? 'primary.dark', + color: 'primary.main', + borderRadius: 1 + }, + '&.Mui-expanded': { + minHeight: 24, + height: 24, + }, '&::before': { - display: 'none' + display: 'block', + content: '""', + position: 'absolute', + top: '40%', + left: 0, + right: 0, + bottom: 0, + bgcolor: 'background.default' } }} - expanded={expanded} - onChange={onChange} - {...rest} > - } + - - - - {children} - - - + /> + + + {children} + + ); }; diff --git a/packages/react-ui/changes/Changed Simplified PageDrawer component to use sitcky instead of absolute positioning b/packages/react-ui/changes/Changed Simplified PageDrawer component to use sitcky instead of absolute positioning new file mode 100644 index 00000000..e69de29b