From c38f63de5d3c575ea266f1138dc0e38e17645b06 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 26 Jul 2024 17:16:45 +0200 Subject: [PATCH 01/34] Bump Public packages' dependencies (#486) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- packages/mui-base/package.json | 6 ++-- pnpm-lock.yaml | 51 +++++++++++++++++----------------- 2 files changed, 29 insertions(+), 28 deletions(-) diff --git a/packages/mui-base/package.json b/packages/mui-base/package.json index 68ade8b5fe..d161e1dc88 100644 --- a/packages/mui-base/package.json +++ b/packages/mui-base/package.json @@ -39,11 +39,11 @@ }, "dependencies": { "@babel/runtime": "^7.24.8", - "@floating-ui/react": "^0.26.19", + "@floating-ui/react": "^0.26.20", "@floating-ui/react-dom": "^2.1.1", - "@floating-ui/utils": "^0.2.4", + "@floating-ui/utils": "^0.2.5", "@mui/types": "^7.2.15", - "@mui/utils": "^5.16.4", + "@mui/utils": "^5.16.5", "clsx": "^2.1.1", "prop-types": "^15.8.1" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a6cd55be87..6c9663a13d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -561,20 +561,20 @@ importers: specifier: ^7.24.6 version: 7.24.6 '@floating-ui/react': - specifier: ^0.26.19 - version: 0.26.19(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + specifier: ^0.26.20 + version: 0.26.20(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@floating-ui/react-dom': specifier: ^2.1.1 version: 2.1.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@floating-ui/utils': - specifier: ^0.2.4 - version: 0.2.4 + specifier: ^0.2.5 + version: 0.2.5 '@mui/types': specifier: ^7.2.15 version: 7.2.15(@types/react@18.3.1) '@mui/utils': - specifier: ^5.16.4 - version: 5.16.4(@types/react@18.3.1)(react@18.2.0) + specifier: ^5.16.5 + version: 5.16.5(@types/react@18.3.1)(react@18.2.0) clsx: specifier: ^2.1.1 version: 2.1.1 @@ -584,7 +584,7 @@ importers: devDependencies: '@mui/internal-babel-macros': specifier: ^1.0.1 - version: 1.0.1(@mui/utils@5.16.4(@types/react@18.3.1)(react@18.2.0)) + version: 1.0.1(@mui/utils@5.16.5(@types/react@18.3.1)(react@18.2.0)) '@mui/internal-test-utils': specifier: 1.0.5 version: 1.0.5(@babel/core@7.24.6)(@types/react-dom@18.3.0)(@types/react@18.3.1)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) @@ -1780,14 +1780,14 @@ packages: react: '>=16.8.0' react-dom: '>=16.8.0' - '@floating-ui/react@0.26.19': - resolution: {integrity: sha512-Jk6zITdjjIvjO/VdQFvpRaD3qPwOHH6AoDHxjhpy+oK4KFgaSP871HYWUAPdnLmx1gQ+w/pB312co3tVml+BXA==} + '@floating-ui/react@0.26.20': + resolution: {integrity: sha512-RixKJJG92fcIsVoqrFr4Onpzh7hlOx4U7NV4aLhMLmtvjZ5oTB/WzXaANYUZATKqXvvW7t9sCxtzejip26N5Ag==} peerDependencies: react: '>=16.8.0' react-dom: '>=16.8.0' - '@floating-ui/utils@0.2.4': - resolution: {integrity: sha512-dWO2pw8hhi+WrXq1YJy2yCuWoL20PddgGaqTgVe4cOS9Q6qklXCiA1tJEqX6BEwRNSCP84/afac9hd4MS+zEUA==} + '@floating-ui/utils@0.2.5': + resolution: {integrity: sha512-sTcG+QZ6fdEUObICavU+aB3Mp8HY4n14wYHdxK4fXjPmv3PXZZeY5RaguJmGyeH/CJQhX3fqKUtS4qc1LoHwhQ==} '@gitbeaker/core@38.12.1': resolution: {integrity: sha512-8XMVcBIdVAAoxn7JtqmZ2Ee8f+AZLcCPmqEmPFOXY2jPS84y/DERISg/+sbhhb18iRy+ZsZhpWgQ/r3CkYNJOQ==} @@ -2213,8 +2213,8 @@ packages: '@types/react': optional: true - '@mui/utils@5.16.4': - resolution: {integrity: sha512-nlppYwq10TBIFqp7qxY0SvbACOXeOjeVL3pOcDsK0FT8XjrEXh9/+lkg8AEIzD16z7YfiJDQjaJG2OLkE7BxNg==} + '@mui/utils@5.16.5': + resolution: {integrity: sha512-CwhcA9y44XwK7k2joL3Y29mRUnoBt+gOZZdGyw7YihbEwEErJYBtDwbZwVgH68zAljGe/b+Kd5bzfl63Gi3R2A==} engines: {node: '>=12.0.0'} peerDependencies: '@types/react': ^18.3.1 @@ -9793,12 +9793,12 @@ snapshots: '@floating-ui/core@1.6.3': dependencies: - '@floating-ui/utils': 0.2.4 + '@floating-ui/utils': 0.2.5 '@floating-ui/dom@1.6.6': dependencies: '@floating-ui/core': 1.6.3 - '@floating-ui/utils': 0.2.4 + '@floating-ui/utils': 0.2.5 '@floating-ui/react-dom@2.1.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: @@ -9806,15 +9806,15 @@ snapshots: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - '@floating-ui/react@0.26.19(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + '@floating-ui/react@0.26.20(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@floating-ui/react-dom': 2.1.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - '@floating-ui/utils': 0.2.4 + '@floating-ui/utils': 0.2.5 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) tabbable: 6.2.0 - '@floating-ui/utils@0.2.4': {} + '@floating-ui/utils@0.2.5': {} '@gitbeaker/core@38.12.1': dependencies: @@ -10058,7 +10058,7 @@ snapshots: '@babel/runtime': 7.24.6 '@floating-ui/react-dom': 2.1.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@mui/types': 7.2.15(@types/react@18.3.1) - '@mui/utils': 5.16.4(@types/react@18.3.1)(react@18.2.0) + '@mui/utils': 5.16.5(@types/react@18.3.1)(react@18.2.0) '@popperjs/core': 2.11.8 clsx: 2.1.1 prop-types: 15.8.1 @@ -10111,11 +10111,11 @@ snapshots: optionalDependencies: '@types/react': 18.3.1 - '@mui/internal-babel-macros@1.0.1(@mui/utils@5.16.4(@types/react@18.3.1)(react@18.2.0))': + '@mui/internal-babel-macros@1.0.1(@mui/utils@5.16.5(@types/react@18.3.1)(react@18.2.0))': dependencies: '@babel/helper-module-imports': 7.24.7 '@babel/runtime': 7.24.6 - '@mui/utils': 5.16.4(@types/react@18.3.1)(react@18.2.0) + '@mui/utils': 5.16.5(@types/react@18.3.1)(react@18.2.0) babel-plugin-macros: 3.1.0 transitivePeerDependencies: - supports-color @@ -10187,7 +10187,7 @@ snapshots: '@mui/core-downloads-tracker': 5.16.1 '@mui/system': 5.16.1(@emotion/react@11.11.4(@types/react@18.3.1)(react@18.2.0))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.1)(react@18.2.0))(@types/react@18.3.1)(react@18.2.0))(@types/react@18.3.1)(react@18.2.0) '@mui/types': 7.2.15(@types/react@18.3.1) - '@mui/utils': 5.16.4(@types/react@18.3.1)(react@18.2.0) + '@mui/utils': 5.16.5(@types/react@18.3.1)(react@18.2.0) clsx: 2.1.1 prop-types: 15.8.1 react: 18.2.0 @@ -10246,7 +10246,7 @@ snapshots: '@mui/private-theming@5.16.1(@types/react@18.3.1)(react@18.2.0)': dependencies: '@babel/runtime': 7.24.6 - '@mui/utils': 5.16.4(@types/react@18.3.1)(react@18.2.0) + '@mui/utils': 5.16.5(@types/react@18.3.1)(react@18.2.0) prop-types: 15.8.1 react: 18.2.0 optionalDependencies: @@ -10312,7 +10312,7 @@ snapshots: '@mui/private-theming': 5.16.1(@types/react@18.3.1)(react@18.2.0) '@mui/styled-engine': 5.16.1(@emotion/react@11.11.4(@types/react@18.3.1)(react@18.2.0))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.1)(react@18.2.0))(@types/react@18.3.1)(react@18.2.0))(react@18.2.0) '@mui/types': 7.2.15(@types/react@18.3.1) - '@mui/utils': 5.16.4(@types/react@18.3.1)(react@18.2.0) + '@mui/utils': 5.16.5(@types/react@18.3.1)(react@18.2.0) clsx: 2.1.1 csstype: 3.1.3 prop-types: 15.8.1 @@ -10342,9 +10342,10 @@ snapshots: optionalDependencies: '@types/react': 18.3.1 - '@mui/utils@5.16.4(@types/react@18.3.1)(react@18.2.0)': + '@mui/utils@5.16.5(@types/react@18.3.1)(react@18.2.0)': dependencies: '@babel/runtime': 7.24.6 + '@mui/types': 7.2.15(@types/react@18.3.1) '@types/prop-types': 15.7.12 clsx: 2.1.1 prop-types: 15.8.1 From e1e73b9f167035b4908008d103c702641253c1f6 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Sun, 28 Jul 2024 17:44:53 +0200 Subject: [PATCH 02/34] [docs] Fix page description line break --- docs/data/base/components/slider/slider.md | 3 +-- docs/data/base/getting-started/accessibility/accessibility.md | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/data/base/components/slider/slider.md b/docs/data/base/components/slider/slider.md index 4c63db87ba..bbcc085ec8 100644 --- a/docs/data/base/components/slider/slider.md +++ b/docs/data/base/components/slider/slider.md @@ -10,8 +10,7 @@ packageName: '@base_ui/react' # Slider -

The Slider component provides users with an input for a one or more numerical values within a given range. -

+

The Slider component provides users with an input for a one or more numerical values within a given range.

{{"component": "@mui/docs/ComponentLinkHeader", "design": false}} diff --git a/docs/data/base/getting-started/accessibility/accessibility.md b/docs/data/base/getting-started/accessibility/accessibility.md index 8d8195b2ee..f17480517a 100644 --- a/docs/data/base/getting-started/accessibility/accessibility.md +++ b/docs/data/base/getting-started/accessibility/accessibility.md @@ -1,8 +1,6 @@ # Accessibility -

-Learn how to make the most of Base UI's accessibility features and guidelines. -

+

Learn how to make the most of Base UI's accessibility features and guidelines.

Accessibility is our top priority for Base UI components. However, the library cannot make your application fully accessible on its own. From ef8538f7fa997d84b8b7f17cbb39ab94f2bd293b Mon Sep 17 00:00:00 2001 From: Lukas Tyla Date: Mon, 29 Jul 2024 10:10:10 +0300 Subject: [PATCH 03/34] [code-infra] Propagate API docs builder package interface changes (#478) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Michał Dudak --- scripts/buildApiDocs/config/generateApiLinks.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/buildApiDocs/config/generateApiLinks.ts b/scripts/buildApiDocs/config/generateApiLinks.ts index 31ecd2feb3..664d973f60 100644 --- a/scripts/buildApiDocs/config/generateApiLinks.ts +++ b/scripts/buildApiDocs/config/generateApiLinks.ts @@ -1,6 +1,5 @@ import kebabCase from 'lodash/kebabCase'; -import { ReactApi as ComponentReactApi } from '@mui-internal/api-docs-builder/ApiBuilders/ComponentApiBuilder'; -import { ReactApi as HookReactApi } from '@mui-internal/api-docs-builder/ApiBuilders/HookApiBuilder'; +import { ComponentReactApi, HookReactApi } from '@mui-internal/api-docs-builder'; /** * Generates the api links, in a format that would point to the appropriate API tab From 25eb16b271c6e704bb261bb4df71b6951c0a5585 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Mon, 29 Jul 2024 14:46:31 +0200 Subject: [PATCH 04/34] [core] Fix event naming convention --- .../components/checkbox/UnstyledCheckboxIndeterminateGroup.js | 4 ++-- .../checkbox/UnstyledCheckboxIndeterminateGroup.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/data/base/components/checkbox/UnstyledCheckboxIndeterminateGroup.js b/docs/data/base/components/checkbox/UnstyledCheckboxIndeterminateGroup.js index a0304e6c9c..cf9ef46b15 100644 --- a/docs/data/base/components/checkbox/UnstyledCheckboxIndeterminateGroup.js +++ b/docs/data/base/components/checkbox/UnstyledCheckboxIndeterminateGroup.js @@ -30,7 +30,7 @@ export default function UnstyledCheckboxIndeterminateGroup() { {isIndeterminate ? : } -