Skip to content

Commit dab206d

Browse files
authored
Merge branch 'master' into fix/scroll-lock-touch
Signed-off-by: atomiks <[email protected]>
2 parents 24ea7eb + c2420fb commit dab206d

File tree

613 files changed

+10795
-6052
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

613 files changed

+10795
-6052
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2020
# Initializes the CodeQL tools for scanning.
2121
- name: Initialize CodeQL
22-
uses: github/codeql-action/init@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0
22+
uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
2323
with:
2424
languages: typescript
2525
config-file: ./.github/codeql/codeql-config.yml
@@ -30,4 +30,4 @@ jobs:
3030
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
3131
# queries: security-extended,security-and-quality
3232
- name: Perform CodeQL Analysis
33-
uses: github/codeql-action/analyze@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0
33+
uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2

.github/workflows/mark-duplicate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
issues: write
1515
steps:
1616
- name: Mark duplicate
17-
uses: actions-cool/issues-helper@45d75b6cf72bf4f254be6230cb887ad002702491 # v3.6.3
17+
uses: actions-cool/issues-helper@564cd9b1baacd7a9cd634e8039a149901ee5f600 # v3.7.1
1818
with:
1919
actions: 'mark-duplicate'
2020
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/scorecards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ jobs:
4040
publish_results: true
4141
# Upload the results to GitHub's code scanning dashboard.
4242
- name: Upload to code-scanning
43-
uses: github/codeql-action/upload-sarif@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0
43+
uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
4444
with:
4545
sarif_file: results.sarif

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# IntelliJ IDEA module file
66
*.iml
77
*.log
8-
*.tsbuildinfo
98
/.eslintcache
109
/coverage
1110
/docs/.env.local
@@ -34,3 +33,7 @@ docs/public/llms-full.txt
3433
docs/public/react
3534
.cursor/rules/nx-rules.mdc
3635
.github/instructions/nx.instructions.md
36+
37+
# typescript
38+
*.tsbuildinfo
39+
next-env.d.ts

docs/next-env.d.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/next.config.mjs

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { rehypeQuickNav } from 'docs/src/components/QuickNav/rehypeQuickNav.mjs'
1111
import { rehypeChangelog } from 'docs/src/components/QuickNav/rehypeChangelog.mjs';
1212
import { rehypeKbd } from 'docs/src/components/Kbd/rehypeKbd.mjs';
1313
import { rehypeReference } from 'docs/src/components/ReferenceTable/rehypeReference.mjs';
14-
import { rehypeDemos } from 'docs/src/components/Demo/rehypeDemos.mjs';
1514
import { rehypeSyntaxHighlighting } from 'docs/src/syntax-highlighting/index.mjs';
1615
import { rehypeSlug } from 'docs/src/components/QuickNav/rehypeSlug.mjs';
1716
import { rehypeSubtitle } from 'docs/src/components/Subtitle/rehypeSubtitle.mjs';
@@ -23,7 +22,6 @@ const withMdx = nextMdx({
2322
options: {
2423
remarkPlugins: [remarkGfm, remarkTypography],
2524
rehypePlugins: [
26-
rehypeDemos,
2725
rehypeReference,
2826
...rehypeSyntaxHighlighting,
2927
rehypeSlug,
@@ -50,6 +48,37 @@ const rootPackage = loadPackageJson();
5048
const nextConfig = {
5149
trailingSlash: false,
5250
pageExtensions: ['mdx', 'tsx'],
51+
turbopack: {
52+
rules: {
53+
'./src/app/**/demos/*/index.ts': {
54+
as: '*.ts',
55+
loaders: ['@mui/internal-docs-infra/pipeline/loadPrecomputedCodeHighlighter'],
56+
},
57+
'./src/demo-data/*/index.ts': {
58+
as: '*.ts',
59+
loaders: ['@mui/internal-docs-infra/pipeline/loadPrecomputedCodeHighlighter'],
60+
},
61+
},
62+
},
63+
webpack: (config, { defaultLoaders }) => {
64+
// for production builds
65+
config.module.rules.push({
66+
test: /\/demos\/[^/]+\/index\.ts$/,
67+
use: [
68+
defaultLoaders.babel,
69+
'@mui/internal-docs-infra/pipeline/loadPrecomputedCodeHighlighter',
70+
],
71+
});
72+
config.module.rules.push({
73+
test: /\/src\/demo-data\/[^/]+\/index\.ts$/,
74+
use: [
75+
defaultLoaders.babel,
76+
'@mui/internal-docs-infra/pipeline/loadPrecomputedCodeHighlighter',
77+
],
78+
});
79+
80+
return config;
81+
},
5382
env: {
5483
// docs-infra
5584
LIB_VERSION: rootPackage.version,

docs/package.json

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,21 @@
2121
"@emotion/styled": "^11.14.1",
2222
"@mdx-js/loader": "^3.1.1",
2323
"@mdx-js/react": "^3.1.1",
24+
"@mui/internal-docs-infra": "^0.2.3-canary.12",
2425
"@next/mdx": "^15.5.6",
2526
"@react-spring/web": "^10.0.3",
2627
"@stefanprobst/rehype-extract-toc": "^3.0.0",
2728
"@tanstack/react-virtual": "^3.13.12",
2829
"@types/mdx": "^2.0.13",
2930
"clipboard-copy": "^4.0.1",
3031
"clsx": "^2.1.1",
31-
"es-toolkit": "^1.40.0",
32-
"estree-util-value-to-estree": "^3.4.1",
32+
"es-toolkit": "^1.41.0",
33+
"estree-util-value-to-estree": "^3.5.0",
3334
"globby": "^15.0.0",
3435
"hast": "^1.0.0",
3536
"hast-util-heading-rank": "^3.0.0",
3637
"hast-util-to-string": "^3.0.1",
37-
"lucide-react": "^0.546.0",
38+
"lucide-react": "^0.552.0",
3839
"lz-string": "^1.5.0",
3940
"match-sorter": "^8.1.0",
4041
"next": "15.5.6",
@@ -44,7 +45,7 @@
4445
"react": "^19.2.0",
4546
"react-dom": "^19.2.0",
4647
"react-error-boundary": "^6.0.0",
47-
"react-hook-form": "^7.65.0",
48+
"react-hook-form": "^7.66.0",
4849
"react-is": "^19.2.0",
4950
"rehype-pretty-code": "^0.14.1",
5051
"remark": "^15.0.1",
@@ -55,23 +56,25 @@
5556
"remark-rehype": "^11.1.2",
5657
"remark-typography": "0.7.0",
5758
"scroll-into-view-if-needed": "3.1.0",
58-
"shiki": "^3.13.0",
59+
"server-only": "^0.0.1",
60+
"shiki": "^3.14.0",
5961
"to-vfile": "^8.0.0",
6062
"unist-util-visit-parents": "^6.0.2",
6163
"vfile-matter": "^5.0.1"
6264
},
6365
"devDependencies": {
6466
"@mdx-js/mdx": "^3.1.1",
65-
"@mui/internal-docs-infra": "^0.2.3-canary.5",
66-
"@mui/internal-test-utils": "^2.0.14",
67-
"@tailwindcss/postcss": "4.1.15",
67+
"@mui/internal-docs-infra": "^0.2.3-canary.10",
68+
"@mui/internal-test-utils": "^2.0.15",
69+
"@tailwindcss/postcss": "4.1.16",
6870
"@types/chai": "^5.2.3",
6971
"@types/gtag.js": "^0.0.20",
7072
"@types/hast": "^3.0.4",
71-
"@types/node": "^22.18.12",
73+
"@types/node": "~22.18.13",
7274
"@types/react": "^19.2.2",
7375
"@types/react-dom": "^19.2.2",
7476
"@types/unist": "^3.0.3",
77+
"@wooorm/starry-night": "^3.8.0",
7578
"chai": "^6.2.0",
7679
"cross-env": "^10.1.0",
7780
"mdast-util-mdx-jsx": "^3.2.0",
@@ -80,9 +83,9 @@
8083
"react-reconciler": "^0.33.0",
8184
"remark-parse": "^11.0.0",
8285
"remark-stringify": "^11.0.0",
83-
"rimraf": "^6.0.1",
86+
"rimraf": "^6.1.0",
8487
"serve": "^14.2.5",
85-
"tailwindcss": "4.1.15",
88+
"tailwindcss": "4.1.16",
8689
"unified": "^11.0.5",
8790
"unist-util-visit": "^5.0.0",
8891
"webpack-bundle-analyzer": "^4.10.2",

docs/reference/generated/accordion-header.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
"name": "AccordionHeader",
33
"description": "A heading that labels the corresponding panel.\nRenders an `<h3>` element.",
44
"props": {
5-
"style": {
6-
"type": "CSSProperties | ((state: Accordion.Item.State) => CSSProperties | undefined)",
7-
"detailedType": "| React.CSSProperties\n| ((\n state: Accordion.Item.State,\n ) => CSSProperties | undefined)\n| undefined"
8-
},
95
"className": {
106
"type": "string | ((state: Accordion.Item.State) => string | undefined)",
117
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
128
"detailedType": "| string\n| ((state: Accordion.Item.State) => string | undefined)"
139
},
10+
"style": {
11+
"type": "CSSProperties | ((state: Accordion.Item.State) => CSSProperties | undefined)",
12+
"detailedType": "| React.CSSProperties\n| ((\n state: Accordion.Item.State,\n ) => CSSProperties | undefined)\n| undefined"
13+
},
1414
"render": {
1515
"type": "ReactElement | ((props: HTMLProps, state: Accordion.Item.State) => ReactElement)",
1616
"description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",

docs/reference/generated/accordion-item.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
"description": "Event handler called when the panel is opened or closed.",
1313
"detailedType": "| ((\n open: boolean,\n eventDetails: Accordion.Item.ChangeEventDetails,\n ) => void)\n| undefined"
1414
},
15-
"style": {
16-
"type": "CSSProperties | ((state: Accordion.Item.State) => CSSProperties | undefined)",
17-
"detailedType": "| React.CSSProperties\n| ((\n state: Accordion.Item.State,\n ) => CSSProperties | undefined)\n| undefined"
18-
},
1915
"disabled": {
2016
"type": "boolean",
2117
"default": "false",
@@ -27,6 +23,10 @@
2723
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
2824
"detailedType": "| string\n| ((state: Accordion.Item.State) => string | undefined)"
2925
},
26+
"style": {
27+
"type": "CSSProperties | ((state: Accordion.Item.State) => CSSProperties | undefined)",
28+
"detailedType": "| React.CSSProperties\n| ((\n state: Accordion.Item.State,\n ) => CSSProperties | undefined)\n| undefined"
29+
},
3030
"render": {
3131
"type": "ReactElement | ((props: HTMLProps, state: Accordion.Item.State) => ReactElement)",
3232
"description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render.",

docs/reference/generated/accordion-panel.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
"description": "Allows the browser’s built-in page search to find and expand the panel contents.\n\nOverrides the `keepMounted` prop and uses `hidden=\"until-found\"`\nto hide the element without removing it from the DOM.",
99
"detailedType": "boolean | undefined"
1010
},
11-
"style": {
12-
"type": "CSSProperties | ((state: Accordion.Panel.State) => CSSProperties | undefined)",
13-
"detailedType": "| React.CSSProperties\n| ((\n state: Accordion.Panel.State,\n ) => CSSProperties | undefined)\n| undefined"
14-
},
1511
"className": {
1612
"type": "string | ((state: Accordion.Panel.State) => string | undefined)",
1713
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
1814
"detailedType": "| string\n| ((state: Accordion.Panel.State) => string | undefined)"
1915
},
16+
"style": {
17+
"type": "CSSProperties | ((state: Accordion.Panel.State) => CSSProperties | undefined)",
18+
"detailedType": "| React.CSSProperties\n| ((\n state: Accordion.Panel.State,\n ) => CSSProperties | undefined)\n| undefined"
19+
},
2020
"keepMounted": {
2121
"type": "boolean",
2222
"default": "false",

0 commit comments

Comments
 (0)