@mui/docs 9.0.0-alpha.2 → 9.0.0-alpha.4
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.
- package/Ad/Ad.js +33 -42
- package/Ad/AdCarbon.js +18 -27
- package/Ad/AdDisplay.js +22 -29
- package/Ad/AdGuest.js +8 -15
- package/Ad/AdInHouse.js +4 -11
- package/Ad/AdManager.js +8 -17
- package/Ad/AdProvider.js +5 -13
- package/Ad/ad.styles.js +5 -13
- package/Ad/index.js +6 -62
- package/CHANGELOG.md +191 -0
- package/CodeCopy/CodeCopy.js +10 -19
- package/CodeCopy/CodeCopyButton.js +9 -16
- package/CodeCopy/index.js +3 -40
- package/CodeCopy/useClipboardCopy.js +4 -12
- package/ComponentLinkHeader/ComponentLinkHeader.js +46 -54
- package/ComponentLinkHeader/index.js +2 -24
- package/DemoContext/DemoContext.d.ts +86 -0
- package/DemoContext/DemoContext.js +13 -0
- package/DemoContext/index.d.ts +2 -0
- package/DemoContext/index.js +1 -0
- package/DocsApp/AnalyticsProvider.d.ts +17 -0
- package/DocsApp/AnalyticsProvider.js +225 -0
- package/DocsApp/DocsApp.d.ts +79 -0
- package/DocsApp/DocsApp.js +105 -0
- package/DocsApp/GoogleAnalytics.d.ts +9 -0
- package/DocsApp/GoogleAnalytics.js +129 -0
- package/DocsApp/StyledEngineProvider.d.ts +8 -0
- package/DocsApp/StyledEngineProvider.js +38 -0
- package/DocsApp/consoleBanner.d.ts +1 -0
- package/DocsApp/consoleBanner.js +19 -0
- package/DocsApp/createEmotionCache.d.ts +1 -0
- package/DocsApp/createEmotionCache.js +12 -0
- package/DocsApp/createGetInitialProps.d.ts +30 -0
- package/DocsApp/createGetInitialProps.js +29 -0
- package/DocsApp/index.d.ts +5 -0
- package/DocsApp/index.js +4 -0
- package/DocsApp/loadDependencies.d.ts +1 -0
- package/DocsApp/loadDependencies.js +11 -0
- package/DocsApp/reportWebVitals.d.ts +13 -0
- package/DocsApp/reportWebVitals.js +24 -0
- package/DocsApp/serviceWorker.d.ts +1 -0
- package/DocsApp/serviceWorker.js +61 -0
- package/DocsProvider/DocsProvider.js +9 -17
- package/DocsProvider/index.js +1 -16
- package/Document/Document.d.ts +16 -0
- package/Document/Document.js +147 -0
- package/Document/getInitialProps.d.ts +18 -0
- package/Document/getInitialProps.js +62 -0
- package/Document/index.d.ts +2 -0
- package/Document/index.js +2 -0
- package/HighlightedCode/HighlightedCode.js +18 -26
- package/HighlightedCode/index.js +1 -16
- package/HighlightedCodeWithTabs/HighlightedCodeWithTabs.js +22 -31
- package/HighlightedCodeWithTabs/index.js +2 -24
- package/IconImage/IconImage.js +13 -21
- package/IconImage/index.js +1 -13
- package/InfoCard/InfoCard.js +20 -29
- package/InfoCard/index.js +1 -16
- package/Link/Link.js +17 -25
- package/Link/MarkdownLinks.d.ts +2 -0
- package/Link/MarkdownLinks.js +84 -0
- package/Link/SkipLink.d.ts +1 -0
- package/Link/SkipLink.js +66 -0
- package/Link/index.d.ts +3 -1
- package/Link/index.js +3 -16
- package/MarkdownElement/MarkdownElement.js +178 -186
- package/MarkdownElement/index.js +1 -16
- package/MuiPage/MuiPage.d.ts +67 -0
- package/MuiPage/MuiPage.js +1 -0
- package/MuiPage/index.d.ts +1 -0
- package/MuiPage/index.js +1 -0
- package/NextNProgressBar/NextNProgressBar.d.ts +1 -0
- package/NextNProgressBar/NextNProgressBar.js +44 -0
- package/NextNProgressBar/index.d.ts +1 -0
- package/NextNProgressBar/index.js +1 -0
- package/PageContext/PageContext.d.ts +32 -0
- package/PageContext/PageContext.js +6 -0
- package/PageContext/index.d.ts +2 -0
- package/PageContext/index.js +1 -0
- package/SectionHeadline/SectionHeadline.js +9 -17
- package/SectionHeadline/index.js +2 -25
- package/SectionTitle/SectionTitle.js +7 -13
- package/SectionTitle/index.js +1 -16
- package/ThemeContext/ThemeContext.js +26 -38
- package/ThemeContext/index.js +1 -42
- package/branding/BrandingCssVarsProvider.d.ts +27 -0
- package/branding/BrandingCssVarsProvider.js +170 -0
- package/branding/BrandingProvider.js +8 -15
- package/branding/brandingTheme.js +184 -188
- package/branding/index.d.ts +2 -1
- package/branding/index.js +3 -27
- package/codeStyling/codeStyling.d.ts +7 -0
- package/codeStyling/codeStyling.js +80 -0
- package/codeStyling/index.d.ts +1 -0
- package/codeStyling/index.js +1 -0
- package/codeVariant/codeVariant.d.ts +7 -0
- package/codeVariant/codeVariant.js +69 -0
- package/codeVariant/index.d.ts +1 -0
- package/codeVariant/index.js +1 -0
- package/constants/constants.d.ts +13 -0
- package/constants/constants.js +15 -0
- package/constants/index.d.ts +1 -0
- package/constants/index.js +1 -0
- package/findActivePage/findActivePage.d.ts +5 -0
- package/findActivePage/findActivePage.js +35 -0
- package/findActivePage/index.d.ts +1 -0
- package/findActivePage/index.js +1 -0
- package/getProductInfoFromUrl/getProductInfoFromUrl.d.ts +8 -0
- package/getProductInfoFromUrl/getProductInfoFromUrl.js +50 -0
- package/getProductInfoFromUrl/index.d.ts +2 -0
- package/getProductInfoFromUrl/index.js +1 -0
- package/globalSelector/globalSelector.d.ts +2 -0
- package/globalSelector/globalSelector.js +17 -0
- package/globalSelector/index.d.ts +1 -0
- package/globalSelector/index.js +1 -0
- package/helpers/helpers.d.ts +31 -0
- package/helpers/helpers.js +87 -0
- package/helpers/index.d.ts +2 -0
- package/helpers/index.js +1 -0
- package/i18n/i18n.js +17 -29
- package/i18n/index.js +1 -16
- package/mapApiPageTranslations/index.d.ts +1 -0
- package/mapApiPageTranslations/index.js +1 -0
- package/mapApiPageTranslations/mapApiPageTranslations.d.ts +11 -0
- package/mapApiPageTranslations/mapApiPageTranslations.js +46 -0
- package/nextFonts/index.js +8 -15
- package/package.json +217 -132
- package/svgIcons/BundleSizeIcon.js +5 -11
- package/svgIcons/FigmaIcon.js +8 -14
- package/svgIcons/FileDownload.js +5 -12
- package/svgIcons/JavaScript.js +5 -12
- package/svgIcons/MarkdownIcon.js +7 -14
- package/svgIcons/MaterialDesignIcon.js +6 -12
- package/svgIcons/SketchIcon.js +10 -16
- package/svgIcons/TypeScript.js +5 -12
- package/svgIcons/W3CIcon.js +6 -12
- package/translations/index.js +3 -10
- package/translations/translations.json +0 -1
- package/useLazyCSS/index.js +1 -13
- package/useLazyCSS/useLazyCSS.js +5 -11
- package/utils/index.d.ts +1 -0
- package/utils/index.js +2 -0
- package/utils/loadScript.js +1 -7
- package/webpack/index.d.ts +17 -0
- package/webpack/index.js +1 -0
- package/Ad/Ad.d.mts +0 -5
- package/Ad/Ad.mjs +0 -226
- package/Ad/AdCarbon.d.mts +0 -2
- package/Ad/AdCarbon.mjs +0 -125
- package/Ad/AdDisplay.d.mts +0 -16
- package/Ad/AdDisplay.mjs +0 -86
- package/Ad/AdGuest.d.mts +0 -10
- package/Ad/AdGuest.mjs +0 -29
- package/Ad/AdInHouse.d.mts +0 -4
- package/Ad/AdInHouse.mjs +0 -14
- package/Ad/AdManager.d.mts +0 -19
- package/Ad/AdManager.mjs +0 -36
- package/Ad/AdProvider.d.mts +0 -15
- package/Ad/AdProvider.mjs +0 -24
- package/Ad/ad.styles.d.mts +0 -4512
- package/Ad/ad.styles.mjs +0 -91
- package/Ad/index.d.mts +0 -5
- package/Ad/index.mjs +0 -7
- package/CodeCopy/CodeCopy.d.mts +0 -22
- package/CodeCopy/CodeCopy.mjs +0 -172
- package/CodeCopy/CodeCopyButton.d.mts +0 -4
- package/CodeCopy/CodeCopyButton.mjs +0 -40
- package/CodeCopy/index.d.mts +0 -3
- package/CodeCopy/index.mjs +0 -3
- package/CodeCopy/useClipboardCopy.d.mts +0 -4
- package/CodeCopy/useClipboardCopy.mjs +0 -21
- package/ComponentLinkHeader/ComponentLinkHeader.d.mts +0 -8
- package/ComponentLinkHeader/ComponentLinkHeader.mjs +0 -197
- package/ComponentLinkHeader/index.d.mts +0 -2
- package/ComponentLinkHeader/index.mjs +0 -2
- package/DocsProvider/DocsProvider.d.mts +0 -24
- package/DocsProvider/DocsProvider.mjs +0 -31
- package/DocsProvider/index.d.mts +0 -1
- package/DocsProvider/index.mjs +0 -1
- package/HighlightedCode/HighlightedCode.d.mts +0 -14
- package/HighlightedCode/HighlightedCode.mjs +0 -67
- package/HighlightedCode/index.d.mts +0 -1
- package/HighlightedCode/index.mjs +0 -1
- package/HighlightedCodeWithTabs/HighlightedCodeWithTabs.d.mts +0 -28
- package/HighlightedCodeWithTabs/HighlightedCodeWithTabs.mjs +0 -362
- package/HighlightedCodeWithTabs/index.d.mts +0 -2
- package/HighlightedCodeWithTabs/index.mjs +0 -2
- package/IconImage/IconImage.d.mts +0 -11
- package/IconImage/IconImage.mjs +0 -83
- package/IconImage/index.d.mts +0 -1
- package/IconImage/index.mjs +0 -1
- package/InfoCard/InfoCard.d.mts +0 -22
- package/InfoCard/InfoCard.mjs +0 -87
- package/InfoCard/index.d.mts +0 -1
- package/InfoCard/index.mjs +0 -1
- package/Link/Link.d.mts +0 -25
- package/Link/Link.mjs +0 -75
- package/Link/index.d.mts +0 -1
- package/Link/index.mjs +0 -1
- package/MarkdownElement/MarkdownElement.d.mts +0 -7
- package/MarkdownElement/MarkdownElement.mjs +0 -847
- package/MarkdownElement/index.d.mts +0 -1
- package/MarkdownElement/index.mjs +0 -1
- package/NProgressBar/NProgressBar.d.mts +0 -6
- package/NProgressBar/NProgressBar.js +0 -98
- package/NProgressBar/index.d.mts +0 -2
- package/NProgressBar/index.d.ts +0 -2
- package/NProgressBar/index.js +0 -13
- package/NProgressBar/index.mjs +0 -1
- package/SectionHeadline/SectionHeadline.d.mts +0 -13
- package/SectionHeadline/SectionHeadline.mjs +0 -81
- package/SectionHeadline/index.d.mts +0 -2
- package/SectionHeadline/index.mjs +0 -2
- package/SectionTitle/SectionTitle.d.mts +0 -6
- package/SectionTitle/SectionTitle.mjs +0 -29
- package/SectionTitle/index.d.mts +0 -1
- package/SectionTitle/index.mjs +0 -1
- package/ThemeContext/ThemeContext.d.mts +0 -92
- package/ThemeContext/ThemeContext.mjs +0 -200
- package/ThemeContext/index.d.mts +0 -1
- package/ThemeContext/index.mjs +0 -1
- package/branding/BrandingProvider.d.mts +0 -9
- package/branding/BrandingProvider.mjs +0 -17
- package/branding/brandingTheme.d.mts +0 -147
- package/branding/brandingTheme.mjs +0 -1527
- package/branding/index.d.mts +0 -2
- package/branding/index.mjs +0 -2
- package/i18n/i18n.d.mts +0 -27
- package/i18n/i18n.mjs +0 -111
- package/i18n/index.d.mts +0 -1
- package/i18n/index.mjs +0 -1
- package/nextFonts/index.d.mts +0 -6
- package/nextFonts/index.mjs +0 -59
- package/svgIcons/BundleSizeIcon.d.mts +0 -4
- package/svgIcons/BundleSizeIcon.mjs +0 -13
- package/svgIcons/FigmaIcon.d.mts +0 -4
- package/svgIcons/FigmaIcon.mjs +0 -22
- package/svgIcons/FileDownload.d.mts +0 -6
- package/svgIcons/FileDownload.mjs +0 -13
- package/svgIcons/JavaScript.d.mts +0 -6
- package/svgIcons/JavaScript.mjs +0 -13
- package/svgIcons/MarkdownIcon.d.mts +0 -2
- package/svgIcons/MarkdownIcon.mjs +0 -22
- package/svgIcons/MaterialDesignIcon.d.mts +0 -4
- package/svgIcons/MaterialDesignIcon.mjs +0 -18
- package/svgIcons/SketchIcon.d.mts +0 -4
- package/svgIcons/SketchIcon.mjs +0 -27
- package/svgIcons/TypeScript.d.mts +0 -6
- package/svgIcons/TypeScript.mjs +0 -13
- package/svgIcons/W3CIcon.d.mts +0 -4
- package/svgIcons/W3CIcon.mjs +0 -15
- package/translations/index.d.mts +0 -3
- package/translations/index.mjs +0 -4
- package/useLazyCSS/index.d.mts +0 -1
- package/useLazyCSS/index.mjs +0 -1
- package/useLazyCSS/useLazyCSS.d.mts +0 -11
- package/useLazyCSS/useLazyCSS.mjs +0 -70
- package/utils/loadScript.d.mts +0 -1
- package/utils/loadScript.mjs +0 -7
- /package/{NProgressBar → NextNProgressBar}/NProgressBar.d.ts +0 -0
- /package/{NProgressBar/NProgressBar.mjs → NextNProgressBar/NProgressBar.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,196 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 9.0.0-alpha.4
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v9.0.0-alpha.3..master -->
|
|
6
|
+
|
|
7
|
+
_Mar 20, 2026_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 11 contributors who made this release possible.
|
|
10
|
+
|
|
11
|
+
### `@mui/material@9.0.0-alpha.4`
|
|
12
|
+
|
|
13
|
+
#### Breaking Changes
|
|
14
|
+
|
|
15
|
+
- [accordion] Remove deprecated props (#47963) @silviuaavram
|
|
16
|
+
- `TransitionComponent`
|
|
17
|
+
- `TransitionProps`
|
|
18
|
+
- [accordionsummary] Remove deprecated CSS class (#48006) @silviuaavram
|
|
19
|
+
- `contentGutters`
|
|
20
|
+
- [alert] Remove deprecated CSS classes (#48011) @silviuaavram
|
|
21
|
+
- `standardSuccess`
|
|
22
|
+
- `standardInfo`
|
|
23
|
+
- `standardWarning`
|
|
24
|
+
- `standardError`
|
|
25
|
+
- `outlinedSuccess`
|
|
26
|
+
- `outlinedInfo`
|
|
27
|
+
- `outlinedWarning`
|
|
28
|
+
- `outlinedError`
|
|
29
|
+
- `filledSuccess`
|
|
30
|
+
- `filledInfo`
|
|
31
|
+
- `filledWarning`
|
|
32
|
+
- `filledError`
|
|
33
|
+
- [alert] Remove deprecated props (#47965) @silviuaavram
|
|
34
|
+
- `components`
|
|
35
|
+
- `componentsProps`
|
|
36
|
+
- [autocomplete] Remove deprecated props (#47864) @ZeeshanTamboli
|
|
37
|
+
- `ChipProps`
|
|
38
|
+
- `componentsProps`
|
|
39
|
+
- `ListboxComponent`
|
|
40
|
+
- `ListboxProps`
|
|
41
|
+
- `PaperComponent`
|
|
42
|
+
- `PopperComponent`
|
|
43
|
+
- `renderTags`
|
|
44
|
+
- [avatar] Remove deprecated props (#47966) @silviuaavram
|
|
45
|
+
- `imgProps`
|
|
46
|
+
- [avatargroup] Remove deprecated props (#47968) @silviuaavram
|
|
47
|
+
- `componentsProps`
|
|
48
|
+
- [backdrop] Remove deprecated props (#47991) @silviuaavram
|
|
49
|
+
- `components`
|
|
50
|
+
- `componentsProps`
|
|
51
|
+
- `TransitionComponent`
|
|
52
|
+
- [badge] Remove deprecated props (#47993) @silviuaavram
|
|
53
|
+
- `components`
|
|
54
|
+
- `componentsProps`
|
|
55
|
+
- [button] Remove deprecated CSS classes (#48012) @silviuaavram
|
|
56
|
+
- Color variant classes: `textInherit`, `outlinedPrimary`, `containedSecondary`, etc.
|
|
57
|
+
- Size classes: `textSizeSmall`, `iconSizeMedium`, etc.
|
|
58
|
+
- [circularprogress] Remove deprecated CSS classes (#48014) @silviuaavram
|
|
59
|
+
- `circleDeterminate`
|
|
60
|
+
- `circleIndeterminate`
|
|
61
|
+
- [divider] Remove deprecated prop (#48013) @atharva3333
|
|
62
|
+
- `light`
|
|
63
|
+
- [formcontrollabel] Remove deprecated props (#48032) @atharva3333
|
|
64
|
+
- `componentsProps`
|
|
65
|
+
- [menu] Remove deprecated props (#48021) @siriwatknp
|
|
66
|
+
- `MenuListProps`
|
|
67
|
+
- `PaperProps`
|
|
68
|
+
- `TransitionProps`
|
|
69
|
+
- [mobilestepper] Remove deprecated props (#48041) @siriwatknp
|
|
70
|
+
- `LinearProgressProps`
|
|
71
|
+
- [popover] Remove deprecated props (#48021) @siriwatknp
|
|
72
|
+
- `BackdropComponent`
|
|
73
|
+
- `BackdropProps`
|
|
74
|
+
- `PaperProps`
|
|
75
|
+
- `TransitionComponent`
|
|
76
|
+
- `TransitionProps`
|
|
77
|
+
- [popper] Remove deprecated props (#48020) @siriwatknp
|
|
78
|
+
- `components`
|
|
79
|
+
- `componentsProps`
|
|
80
|
+
- [select] Remove deprecated props passed via `MenuProps` (#48021) @siriwatknp
|
|
81
|
+
- `MenuListProps`
|
|
82
|
+
- `PaperProps`
|
|
83
|
+
- `TransitionProps`
|
|
84
|
+
- [slider] Remove deprecated props (#47996) @siriwatknp
|
|
85
|
+
- `components`
|
|
86
|
+
- `componentsProps`
|
|
87
|
+
- [speeddial] Remove deprecated props (#47998) @siriwatknp
|
|
88
|
+
- `TransitionComponent`
|
|
89
|
+
- `TransitionProps`
|
|
90
|
+
- [speeddialaction] Remove deprecated props (#47998) @siriwatknp
|
|
91
|
+
- `FabProps`
|
|
92
|
+
- `tooltipTitle`
|
|
93
|
+
- `tooltipPlacement`
|
|
94
|
+
- `tooltipOpen`
|
|
95
|
+
- `TooltipClasses`
|
|
96
|
+
- [tabs] Remove deprecated props (#48017) @siriwatknp
|
|
97
|
+
- `ScrollButtonComponent`
|
|
98
|
+
- `TabIndicatorProps`
|
|
99
|
+
- `TabScrollButtonProps`
|
|
100
|
+
- `slots.StartScrollButtonIcon`
|
|
101
|
+
- `slots.EndScrollButtonIcon`
|
|
102
|
+
- [textfield] Remove deprecated props (#47878) @ZeeshanTamboli
|
|
103
|
+
- `InputProps`
|
|
104
|
+
- `inputProps`
|
|
105
|
+
- `SelectProps`
|
|
106
|
+
- `InputLabelProps`
|
|
107
|
+
- `FormHelperTextProps`
|
|
108
|
+
- [tooltip] Remove deprecated props (#47988) @siriwatknp
|
|
109
|
+
- `components`
|
|
110
|
+
- `componentsProps`
|
|
111
|
+
- `PopperComponent`
|
|
112
|
+
- `PopperProps`
|
|
113
|
+
- `TransitionComponent`
|
|
114
|
+
- `TransitionProps`
|
|
115
|
+
- [typography] Remove deprecated prop (#47986) @siriwatknp
|
|
116
|
+
- `paragraph`
|
|
117
|
+
- [buttonbase] Key handlers should not run on a disabled non-native button (#48003) @mj12albert
|
|
118
|
+
- [tablepagination] Format pagination numbers according to locale (#47803) @siriwatknp
|
|
119
|
+
- [textfield] Use non-native label for `<TextField select/>` (#47958) @mj12albert
|
|
120
|
+
|
|
121
|
+
Check out the [v9 upgrade guide](https://mui.com/material-ui/migration/upgrade-to-v9/).
|
|
122
|
+
|
|
123
|
+
#### Changes
|
|
124
|
+
|
|
125
|
+
- [autocomplete] Optimize selected option lookup (#47953) @anchmelev
|
|
126
|
+
- [buttonbase] Fix native button detection (#47985) @mj12albert
|
|
127
|
+
- [inputbase] Fix test using removed InputProps on TextField (#48000) @siriwatknp
|
|
128
|
+
- [popper] Add missing classes export (#48031) @mj12albert
|
|
129
|
+
- [select] Fix focus visible always set on menu item (#47912) @silviuaavram
|
|
130
|
+
- [slider] Fix focus visible styles incorrectly applied by pointer (#47894) @mj12albert
|
|
131
|
+
- [slider] Accept readonly array for the value prop (#47936) @pcorpet
|
|
132
|
+
|
|
133
|
+
### `@mui/codemod@9.0.0-alpha.4`
|
|
134
|
+
|
|
135
|
+
- [codemod] Add slot key rename to `tabs-props` codemod and add to README (#48035) @siriwatknp
|
|
136
|
+
- [codemod] Add card-header-props migration guide (#48005) @siriwatknp
|
|
137
|
+
|
|
138
|
+
### Docs
|
|
139
|
+
|
|
140
|
+
- [blog] Lowercase 2026-MUI-X-price-changes blog post URL (#47871) @Janpot
|
|
141
|
+
- [docs] Wide docs layout (#47950) @noraleonte
|
|
142
|
+
- [docs] Mention the list of props removed in upgrade guide (#48010) @silviuaavram
|
|
143
|
+
- [docs] Update Autocomplete deprecated props removal migration guide docs (#47990) @ZeeshanTamboli
|
|
144
|
+
- [docs-infra] Extract shared App component from \_app into @mui/docs (#47933) @brijeshb42
|
|
145
|
+
- [docs-infra] Expose global theme object (#47964) @Janpot
|
|
146
|
+
- [docs][system] Update `styled` API docs for easier understanding (#47957) @olivier-lxo
|
|
147
|
+
|
|
148
|
+
### Core
|
|
149
|
+
|
|
150
|
+
- [code-infra] Add pkg-pr-new as dev dependency (#47992) @Janpot
|
|
151
|
+
- [code-infra] Remove CI coverage collection and upload to Codecov (#47930) @Janpot
|
|
152
|
+
- [core] Migrate to ESLint 10 (#47872) @brijeshb42
|
|
153
|
+
- [core] Remove GridLegacy component (#47956) @siriwatknp
|
|
154
|
+
|
|
155
|
+
All contributors of this release in alphabetical order: @anchmelev, @atharva3333, @brijeshb42, @Janpot, @mj12albert, @noraleonte, @olivier-lxo, @pcorpet, @silviuaavram, @siriwatknp, @ZeeshanTamboli
|
|
156
|
+
|
|
157
|
+
## 9.0.0-alpha.3
|
|
158
|
+
|
|
159
|
+
<!-- generated comparing v9.0.0-alpha.2..master -->
|
|
160
|
+
|
|
161
|
+
_Mar 12, 2026_
|
|
162
|
+
|
|
163
|
+
A big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
164
|
+
|
|
165
|
+
- 📖 A new [Menubar](https://mui.com/material-ui/react-menubar/) component page integrated with [Base UI](https://base-ui.com/react/components/menubar)
|
|
166
|
+
- ♿️ Improved the Roving TabIndex keyboard navigation for the Stepper, Tabs and MenuList components.
|
|
167
|
+
|
|
168
|
+
### `@mui/material@9.0.0-alpha.3`
|
|
169
|
+
|
|
170
|
+
- [autocomplete] Add `root` slot (#47852) @GerardasB
|
|
171
|
+
- [autocomplete] Fix popup reopening on window focus regain with openOnFocus (#47790) @aman44444
|
|
172
|
+
- [autocomplete] Support full slots for clearIndicator and popupIndicator (#47891) @silviuaavram
|
|
173
|
+
- [material-ui] Partially revert "[material-ui] Clean up duplicated CSS rules (#47838)" (#47927) @sai6855
|
|
174
|
+
- [stepper][menulist][tabs] Improve accessibility (#47687) @silviuaavram
|
|
175
|
+
|
|
176
|
+
### Docs
|
|
177
|
+
|
|
178
|
+
- [docs][codemod] Add v7 migration docs for deprecated Autocomplete APIs and Autocomplete codemod (#47945) @ZeeshanTamboli
|
|
179
|
+
- [docs] Update faq about vendor chunks (#47747) @Janpot
|
|
180
|
+
- [docs] Use direct palette vars in Tailwind v4 snippet (#47940) @Ahmad-Alaziz
|
|
181
|
+
- [docs][menubar] Add Menubar component page (#47616) @siriwatknp
|
|
182
|
+
|
|
183
|
+
### Core
|
|
184
|
+
|
|
185
|
+
- [core] Fix the release prepare steps (#47951) @silviuaavram
|
|
186
|
+
- [core] Remove Joy UI code and docs (#47939) @mnajdova
|
|
187
|
+
- [code-infra] Add previously missed export of themeCssVarsAugmentation (#47918) @brijeshb42
|
|
188
|
+
- [docs-infra] Import font module for nextjs transpilation (#47935) @brijeshb42
|
|
189
|
+
- [docs-infra] Migrate simpler modules from docs to mui-docs (#47897) @brijeshb42
|
|
190
|
+
- [test] Fix detached anchorEl elements in tests (#47929) @Janpot
|
|
191
|
+
|
|
192
|
+
All contributors of this release in alphabetical order: @Ahmad-Alaziz, @aman44444, @brijeshb42, @GerardasB, @Janpot, @mnajdova, @sai6855, @silviuaavram, @siriwatknp, @ZeeshanTamboli
|
|
193
|
+
|
|
3
194
|
## 9.0.0-alpha.2
|
|
4
195
|
|
|
5
196
|
<!-- generated comparing v9.0.0-alpha.1..master -->
|
package/CodeCopy/CodeCopy.js
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.CodeCopyProvider = CodeCopyProvider;
|
|
9
|
-
exports.useCodeCopy = useCodeCopy;
|
|
10
|
-
var React = _interopRequireWildcard(require("react"));
|
|
11
|
-
var _router = require("next/router");
|
|
12
|
-
var _clipboardCopy = _interopRequireDefault(require("clipboard-copy"));
|
|
13
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
1
|
var _InitCodeCopy;
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { useRouter } from 'next/router';
|
|
4
|
+
import clipboardCopy from 'clipboard-copy';
|
|
5
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
6
|
const CodeBlockContext = /*#__PURE__*/React.createContext({
|
|
16
7
|
current: null
|
|
17
8
|
});
|
|
@@ -25,7 +16,7 @@ const CodeBlockContext = /*#__PURE__*/React.createContext({
|
|
|
25
16
|
* <button className="MuiCode-copy">...</button>
|
|
26
17
|
* </div>
|
|
27
18
|
*/
|
|
28
|
-
function useCodeCopy() {
|
|
19
|
+
export function useCodeCopy() {
|
|
29
20
|
const rootNode = React.useContext(CodeBlockContext);
|
|
30
21
|
return {
|
|
31
22
|
onMouseEnter: event => {
|
|
@@ -49,7 +40,7 @@ function useCodeCopy() {
|
|
|
49
40
|
}
|
|
50
41
|
function InitCodeCopy() {
|
|
51
42
|
const rootNode = React.useContext(CodeBlockContext);
|
|
52
|
-
const router =
|
|
43
|
+
const router = useRouter();
|
|
53
44
|
React.useEffect(() => {
|
|
54
45
|
let key = 'Ctrl + ';
|
|
55
46
|
if (typeof window !== 'undefined') {
|
|
@@ -103,7 +94,7 @@ function InitCodeCopy() {
|
|
|
103
94
|
}, 2000);
|
|
104
95
|
try {
|
|
105
96
|
if (pre.textContent) {
|
|
106
|
-
await (
|
|
97
|
+
await clipboardCopy(pre.textContent);
|
|
107
98
|
}
|
|
108
99
|
// eslint-disable-next-line no-empty
|
|
109
100
|
} catch (error) {}
|
|
@@ -147,7 +138,7 @@ function hasNativeSelection(element) {
|
|
|
147
138
|
* Place <CodeCopyProvider> at the page level. It will check the keydown event and try to initiate copy click if rootNode exist.
|
|
148
139
|
* Any code block inside the tree can set the rootNode when mouse enter to leverage keyboard copy.
|
|
149
140
|
*/
|
|
150
|
-
function CodeCopyProvider({
|
|
141
|
+
export function CodeCopyProvider({
|
|
151
142
|
children
|
|
152
143
|
}) {
|
|
153
144
|
const rootNode = React.useRef(null);
|
|
@@ -174,8 +165,8 @@ function CodeCopyProvider({
|
|
|
174
165
|
copyBtn.dataset.gaEventAction = initialEventAction; // reset the 'data-ga-event-action' back to initial
|
|
175
166
|
});
|
|
176
167
|
}, []);
|
|
177
|
-
return /*#__PURE__*/(
|
|
168
|
+
return /*#__PURE__*/_jsxs(CodeBlockContext.Provider, {
|
|
178
169
|
value: rootNode,
|
|
179
|
-
children: [_InitCodeCopy || (_InitCodeCopy = /*#__PURE__*/(
|
|
170
|
+
children: [_InitCodeCopy || (_InitCodeCopy = /*#__PURE__*/_jsx(InitCodeCopy, {})), children]
|
|
180
171
|
});
|
|
181
172
|
}
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.CodeCopyButton = CodeCopyButton;
|
|
8
|
-
var _useClipboardCopy = _interopRequireDefault(require("./useClipboardCopy"));
|
|
9
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
1
|
var _span, _span2;
|
|
11
|
-
|
|
2
|
+
import useClipboardCopy from "./useClipboardCopy.js";
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
export function CodeCopyButton(props) {
|
|
12
5
|
const {
|
|
13
6
|
code,
|
|
14
7
|
...other
|
|
@@ -16,13 +9,13 @@ function CodeCopyButton(props) {
|
|
|
16
9
|
const {
|
|
17
10
|
copy,
|
|
18
11
|
isCopied
|
|
19
|
-
} = (
|
|
12
|
+
} = useClipboardCopy();
|
|
20
13
|
// This component is designed to be wrapped in NoSsr
|
|
21
14
|
const macOS = window.navigator.platform.toUpperCase().includes('MAC');
|
|
22
15
|
const key = macOS ? '⌘' : 'Ctrl + ';
|
|
23
|
-
return /*#__PURE__*/(
|
|
16
|
+
return /*#__PURE__*/_jsx("div", {
|
|
24
17
|
className: "MuiCode-copy-container",
|
|
25
|
-
children: /*#__PURE__*/(
|
|
18
|
+
children: /*#__PURE__*/_jsxs("button", {
|
|
26
19
|
...other,
|
|
27
20
|
"aria-label": "Copy the code",
|
|
28
21
|
type: "button",
|
|
@@ -31,14 +24,14 @@ function CodeCopyButton(props) {
|
|
|
31
24
|
// event.stopPropagation();
|
|
32
25
|
await copy(code);
|
|
33
26
|
},
|
|
34
|
-
children: [isCopied ? 'Copied' : 'Copy', /*#__PURE__*/(
|
|
27
|
+
children: [isCopied ? 'Copied' : 'Copy', /*#__PURE__*/_jsxs("span", {
|
|
35
28
|
className: "MuiCode-copyKeypress",
|
|
36
29
|
style: {
|
|
37
30
|
opacity: isCopied ? 0 : 1
|
|
38
31
|
},
|
|
39
|
-
children: [_span || (_span = /*#__PURE__*/(
|
|
32
|
+
children: [_span || (_span = /*#__PURE__*/_jsx("span", {
|
|
40
33
|
children: "(or"
|
|
41
|
-
})), " ", key, "C", _span2 || (_span2 = /*#__PURE__*/(
|
|
34
|
+
})), " ", key, "C", _span2 || (_span2 = /*#__PURE__*/_jsx("span", {
|
|
42
35
|
children: ")"
|
|
43
36
|
}))]
|
|
44
37
|
})]
|
package/CodeCopy/index.js
CHANGED
|
@@ -1,40 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
var _exportNames = {
|
|
8
|
-
useClipboardCopy: true
|
|
9
|
-
};
|
|
10
|
-
Object.defineProperty(exports, "useClipboardCopy", {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () {
|
|
13
|
-
return _useClipboardCopy.default;
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
var _CodeCopy = require("./CodeCopy");
|
|
17
|
-
Object.keys(_CodeCopy).forEach(function (key) {
|
|
18
|
-
if (key === "default" || key === "__esModule") return;
|
|
19
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
20
|
-
if (key in exports && exports[key] === _CodeCopy[key]) return;
|
|
21
|
-
Object.defineProperty(exports, key, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () {
|
|
24
|
-
return _CodeCopy[key];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
var _CodeCopyButton = require("./CodeCopyButton");
|
|
29
|
-
Object.keys(_CodeCopyButton).forEach(function (key) {
|
|
30
|
-
if (key === "default" || key === "__esModule") return;
|
|
31
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
32
|
-
if (key in exports && exports[key] === _CodeCopyButton[key]) return;
|
|
33
|
-
Object.defineProperty(exports, key, {
|
|
34
|
-
enumerable: true,
|
|
35
|
-
get: function () {
|
|
36
|
-
return _CodeCopyButton[key];
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
});
|
|
40
|
-
var _useClipboardCopy = _interopRequireDefault(require("./useClipboardCopy"));
|
|
1
|
+
export * from "./CodeCopy.js";
|
|
2
|
+
export * from "./CodeCopyButton.js";
|
|
3
|
+
export { default as useClipboardCopy } from "./useClipboardCopy.js";
|
|
@@ -1,21 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = useClipboardCopy;
|
|
9
|
-
var React = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _clipboardCopy = _interopRequireDefault(require("clipboard-copy"));
|
|
11
|
-
function useClipboardCopy() {
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import clipboardCopy from 'clipboard-copy';
|
|
3
|
+
export default function useClipboardCopy() {
|
|
12
4
|
const [isCopied, setIsCopied] = React.useState(false);
|
|
13
5
|
const timeout = React.useRef(undefined);
|
|
14
6
|
React.useEffect(() => () => {
|
|
15
7
|
clearTimeout(timeout.current);
|
|
16
8
|
}, []);
|
|
17
9
|
const copy = async text => {
|
|
18
|
-
await (
|
|
10
|
+
await clipboardCopy(text);
|
|
19
11
|
setIsCopied(true);
|
|
20
12
|
clearTimeout(timeout.current);
|
|
21
13
|
timeout.current = setTimeout(() => {
|
|
@@ -1,28 +1,20 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.ComponentLinkHeader = ComponentLinkHeader;
|
|
9
|
-
var React = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _router = require("next/router");
|
|
11
|
-
var _Chip = _interopRequireDefault(require("@mui/material/Chip"));
|
|
12
|
-
var _Tooltip = _interopRequireDefault(require("@mui/material/Tooltip"));
|
|
13
|
-
var _ChatRounded2 = _interopRequireDefault(require("@mui/icons-material/ChatRounded"));
|
|
14
|
-
var _GitHub = _interopRequireDefault(require("@mui/icons-material/GitHub"));
|
|
15
|
-
var _styles = require("@mui/material/styles");
|
|
16
|
-
var _MarkdownIcon2 = _interopRequireDefault(require("../svgIcons/MarkdownIcon"));
|
|
17
|
-
var _SketchIcon = _interopRequireDefault(require("../svgIcons/SketchIcon"));
|
|
18
|
-
var _FigmaIcon = _interopRequireDefault(require("../svgIcons/FigmaIcon"));
|
|
19
|
-
var _BundleSizeIcon2 = _interopRequireDefault(require("../svgIcons/BundleSizeIcon"));
|
|
20
|
-
var _W3CIcon2 = _interopRequireDefault(require("../svgIcons/W3CIcon"));
|
|
21
|
-
var _MaterialDesignIcon2 = _interopRequireDefault(require("../svgIcons/MaterialDesignIcon"));
|
|
22
|
-
var _i18n = require("../i18n");
|
|
23
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
24
1
|
var _MarkdownIcon, _ChatRounded, _BundleSizeIcon, _GitHubIcon, _W3CIcon, _MaterialDesignIcon, _li, _li2;
|
|
25
|
-
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { useRouter } from 'next/router';
|
|
4
|
+
import Chip from '@mui/material/Chip';
|
|
5
|
+
import Tooltip from '@mui/material/Tooltip';
|
|
6
|
+
import ChatRounded from '@mui/icons-material/ChatRounded';
|
|
7
|
+
import GitHubIcon from '@mui/icons-material/GitHub';
|
|
8
|
+
import { styled } from '@mui/material/styles';
|
|
9
|
+
import MarkdownIcon from "../svgIcons/MarkdownIcon.js";
|
|
10
|
+
import SketchIcon from "../svgIcons/SketchIcon.js";
|
|
11
|
+
import FigmaIcon from "../svgIcons/FigmaIcon.js";
|
|
12
|
+
import BundleSizeIcon from "../svgIcons/BundleSizeIcon.js";
|
|
13
|
+
import W3CIcon from "../svgIcons/W3CIcon.js";
|
|
14
|
+
import MaterialDesignIcon from "../svgIcons/MaterialDesignIcon.js";
|
|
15
|
+
import { useTranslate } from "../i18n/index.js";
|
|
16
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
|
+
const Root = styled('ul')(({
|
|
26
18
|
theme
|
|
27
19
|
}) => ({
|
|
28
20
|
margin: theme.spacing(2, 0),
|
|
@@ -50,34 +42,34 @@ const defaultPackageNames = {
|
|
|
50
42
|
'base-ui': '@mui/base',
|
|
51
43
|
system: '@mui/system'
|
|
52
44
|
};
|
|
53
|
-
function ComponentLinkHeader(props) {
|
|
45
|
+
export function ComponentLinkHeader(props) {
|
|
54
46
|
const {
|
|
55
47
|
markdown: {
|
|
56
48
|
headers
|
|
57
49
|
},
|
|
58
50
|
design
|
|
59
51
|
} = props;
|
|
60
|
-
const t =
|
|
61
|
-
const router =
|
|
52
|
+
const t = useTranslate();
|
|
53
|
+
const router = useRouter();
|
|
62
54
|
const packageName = headers.packageName ?? defaultPackageNames[headers.productId] ?? '@mui/material';
|
|
63
|
-
return /*#__PURE__*/(
|
|
64
|
-
children: [packageName === '@mui/material' && /*#__PURE__*/(
|
|
65
|
-
children: /*#__PURE__*/(
|
|
55
|
+
return /*#__PURE__*/_jsxs(Root, {
|
|
56
|
+
children: [packageName === '@mui/material' && /*#__PURE__*/_jsx("li", {
|
|
57
|
+
children: /*#__PURE__*/_jsx(Chip, {
|
|
66
58
|
clickable: true,
|
|
67
59
|
role: undefined,
|
|
68
60
|
component: "a",
|
|
69
61
|
size: "small",
|
|
70
62
|
variant: "outlined",
|
|
71
63
|
href: `${router.pathname}.md`,
|
|
72
|
-
icon: _MarkdownIcon || (_MarkdownIcon = /*#__PURE__*/(
|
|
64
|
+
icon: _MarkdownIcon || (_MarkdownIcon = /*#__PURE__*/_jsx(MarkdownIcon, {})),
|
|
73
65
|
"data-ga-event-category": "ComponentLinkHeader",
|
|
74
66
|
"data-ga-event-action": "click",
|
|
75
67
|
"data-ga-event-label": "Markdown",
|
|
76
68
|
"data-ga-event-split": "0.1",
|
|
77
69
|
label: "View as Markdown"
|
|
78
70
|
})
|
|
79
|
-
}), headers.githubLabel ? /*#__PURE__*/(
|
|
80
|
-
children: /*#__PURE__*/(
|
|
71
|
+
}), headers.githubLabel ? /*#__PURE__*/_jsx("li", {
|
|
72
|
+
children: /*#__PURE__*/_jsx(Chip, {
|
|
81
73
|
clickable: true,
|
|
82
74
|
role: undefined,
|
|
83
75
|
component: "a",
|
|
@@ -85,7 +77,7 @@ function ComponentLinkHeader(props) {
|
|
|
85
77
|
variant: "outlined",
|
|
86
78
|
rel: "nofollow",
|
|
87
79
|
href: `${process.env.SOURCE_CODE_REPO}/labels/${encodeURIComponent(headers.githubLabel)}`,
|
|
88
|
-
icon: _ChatRounded || (_ChatRounded = /*#__PURE__*/(
|
|
80
|
+
icon: _ChatRounded || (_ChatRounded = /*#__PURE__*/_jsx(ChatRounded, {
|
|
89
81
|
color: "primary"
|
|
90
82
|
})),
|
|
91
83
|
"data-ga-event-category": "ComponentLinkHeader",
|
|
@@ -94,11 +86,11 @@ function ComponentLinkHeader(props) {
|
|
|
94
86
|
"data-ga-event-split": "0.1",
|
|
95
87
|
label: t('githubLabel')
|
|
96
88
|
})
|
|
97
|
-
}) : null, /*#__PURE__*/(
|
|
98
|
-
children: /*#__PURE__*/(
|
|
89
|
+
}) : null, /*#__PURE__*/_jsx("li", {
|
|
90
|
+
children: /*#__PURE__*/_jsx(Tooltip, {
|
|
99
91
|
title: t('bundleSizeTooltip'),
|
|
100
92
|
describeChild: true,
|
|
101
|
-
children: /*#__PURE__*/(
|
|
93
|
+
children: /*#__PURE__*/_jsx(Chip, {
|
|
102
94
|
clickable: true,
|
|
103
95
|
role: undefined,
|
|
104
96
|
component: "a",
|
|
@@ -106,7 +98,7 @@ function ComponentLinkHeader(props) {
|
|
|
106
98
|
variant: "outlined",
|
|
107
99
|
rel: "nofollow",
|
|
108
100
|
href: `https://bundlephobia.com/package/${packageName}@latest`,
|
|
109
|
-
icon: _BundleSizeIcon || (_BundleSizeIcon = /*#__PURE__*/(
|
|
101
|
+
icon: _BundleSizeIcon || (_BundleSizeIcon = /*#__PURE__*/_jsx(BundleSizeIcon, {
|
|
110
102
|
color: "primary"
|
|
111
103
|
})),
|
|
112
104
|
"data-ga-event-category": "ComponentLinkHeader",
|
|
@@ -116,8 +108,8 @@ function ComponentLinkHeader(props) {
|
|
|
116
108
|
label: t('bundleSize')
|
|
117
109
|
})
|
|
118
110
|
})
|
|
119
|
-
}), headers.githubSource ? /*#__PURE__*/(
|
|
120
|
-
children: /*#__PURE__*/(
|
|
111
|
+
}), headers.githubSource ? /*#__PURE__*/_jsx("li", {
|
|
112
|
+
children: /*#__PURE__*/_jsx(Chip, {
|
|
121
113
|
clickable: true,
|
|
122
114
|
role: undefined,
|
|
123
115
|
component: "a",
|
|
@@ -125,15 +117,15 @@ function ComponentLinkHeader(props) {
|
|
|
125
117
|
variant: "outlined",
|
|
126
118
|
rel: "nofollow",
|
|
127
119
|
href: `${process.env.SOURCE_CODE_REPO}/tree/v${process.env.LIB_VERSION}/${headers.githubSource}`,
|
|
128
|
-
icon: _GitHubIcon || (_GitHubIcon = /*#__PURE__*/(
|
|
120
|
+
icon: _GitHubIcon || (_GitHubIcon = /*#__PURE__*/_jsx(GitHubIcon, {})),
|
|
129
121
|
"data-ga-event-category": "ComponentLinkHeader",
|
|
130
122
|
"data-ga-event-action": "click",
|
|
131
123
|
"data-ga-event-label": "Source",
|
|
132
124
|
"data-ga-event-split": "0.1",
|
|
133
125
|
label: "Source"
|
|
134
126
|
})
|
|
135
|
-
}) : null, headers.waiAria ? /*#__PURE__*/(
|
|
136
|
-
children: /*#__PURE__*/(
|
|
127
|
+
}) : null, headers.waiAria ? /*#__PURE__*/_jsx("li", {
|
|
128
|
+
children: /*#__PURE__*/_jsx(Chip, {
|
|
137
129
|
clickable: true,
|
|
138
130
|
role: undefined,
|
|
139
131
|
component: "a",
|
|
@@ -141,7 +133,7 @@ function ComponentLinkHeader(props) {
|
|
|
141
133
|
variant: "outlined",
|
|
142
134
|
rel: "nofollow",
|
|
143
135
|
href: headers.waiAria,
|
|
144
|
-
icon: _W3CIcon || (_W3CIcon = /*#__PURE__*/(
|
|
136
|
+
icon: _W3CIcon || (_W3CIcon = /*#__PURE__*/_jsx(W3CIcon, {
|
|
145
137
|
color: "primary"
|
|
146
138
|
})),
|
|
147
139
|
"data-ga-event-category": "ComponentLinkHeader",
|
|
@@ -150,8 +142,8 @@ function ComponentLinkHeader(props) {
|
|
|
150
142
|
"data-ga-event-split": "0.1",
|
|
151
143
|
label: "WAI-ARIA"
|
|
152
144
|
})
|
|
153
|
-
}) : null, headers.materialDesign ? /*#__PURE__*/(
|
|
154
|
-
children: /*#__PURE__*/(
|
|
145
|
+
}) : null, headers.materialDesign ? /*#__PURE__*/_jsx("li", {
|
|
146
|
+
children: /*#__PURE__*/_jsx(Chip, {
|
|
155
147
|
clickable: true,
|
|
156
148
|
role: undefined,
|
|
157
149
|
component: "a",
|
|
@@ -159,16 +151,16 @@ function ComponentLinkHeader(props) {
|
|
|
159
151
|
variant: "outlined",
|
|
160
152
|
rel: "nofollow",
|
|
161
153
|
href: headers.materialDesign,
|
|
162
|
-
icon: _MaterialDesignIcon || (_MaterialDesignIcon = /*#__PURE__*/(
|
|
154
|
+
icon: _MaterialDesignIcon || (_MaterialDesignIcon = /*#__PURE__*/_jsx(MaterialDesignIcon, {})),
|
|
163
155
|
"data-ga-event-category": "ComponentLinkHeader",
|
|
164
156
|
"data-ga-event-action": "click",
|
|
165
157
|
"data-ga-event-label": "Material Design",
|
|
166
158
|
"data-ga-event-split": "0.1",
|
|
167
159
|
label: "Material Design"
|
|
168
160
|
})
|
|
169
|
-
}) : null, design === false ? null : /*#__PURE__*/(
|
|
170
|
-
children: [_li || (_li = /*#__PURE__*/(
|
|
171
|
-
children: /*#__PURE__*/(
|
|
161
|
+
}) : null, design === false ? null : /*#__PURE__*/_jsxs(React.Fragment, {
|
|
162
|
+
children: [_li || (_li = /*#__PURE__*/_jsx("li", {
|
|
163
|
+
children: /*#__PURE__*/_jsx(Chip, {
|
|
172
164
|
clickable: true,
|
|
173
165
|
role: undefined,
|
|
174
166
|
component: "a",
|
|
@@ -176,15 +168,15 @@ function ComponentLinkHeader(props) {
|
|
|
176
168
|
variant: "outlined",
|
|
177
169
|
rel: "nofollow",
|
|
178
170
|
href: "https://mui.com/store/items/figma-react/?utm_source=docs&utm_medium=referral&utm_campaign=component-link-header",
|
|
179
|
-
icon: /*#__PURE__*/(
|
|
171
|
+
icon: /*#__PURE__*/_jsx(FigmaIcon, {}),
|
|
180
172
|
"data-ga-event-category": "ComponentLinkHeader",
|
|
181
173
|
"data-ga-event-action": "click",
|
|
182
174
|
"data-ga-event-label": "Figma",
|
|
183
175
|
"data-ga-event-split": "0.1",
|
|
184
176
|
label: "Figma"
|
|
185
177
|
})
|
|
186
|
-
})), packageName === '@mui/joy' ? null : _li2 || (_li2 = /*#__PURE__*/(
|
|
187
|
-
children: /*#__PURE__*/(
|
|
178
|
+
})), packageName === '@mui/joy' ? null : _li2 || (_li2 = /*#__PURE__*/_jsx("li", {
|
|
179
|
+
children: /*#__PURE__*/_jsx(Chip, {
|
|
188
180
|
clickable: true,
|
|
189
181
|
role: undefined,
|
|
190
182
|
component: "a",
|
|
@@ -192,7 +184,7 @@ function ComponentLinkHeader(props) {
|
|
|
192
184
|
variant: "outlined",
|
|
193
185
|
rel: "nofollow",
|
|
194
186
|
href: "https://mui.com/store/items/sketch-react/?utm_source=docs&utm_medium=referral&utm_campaign=component-link-header",
|
|
195
|
-
icon: /*#__PURE__*/(
|
|
187
|
+
icon: /*#__PURE__*/_jsx(SketchIcon, {}),
|
|
196
188
|
"data-ga-event-category": "ComponentLinkHeader",
|
|
197
189
|
"data-ga-event-action": "click",
|
|
198
190
|
"data-ga-event-label": "Sketch",
|
|
@@ -1,24 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _exportNames = {};
|
|
7
|
-
Object.defineProperty(exports, "default", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () {
|
|
10
|
-
return _ComponentLinkHeader.ComponentLinkHeader;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
var _ComponentLinkHeader = require("./ComponentLinkHeader");
|
|
14
|
-
Object.keys(_ComponentLinkHeader).forEach(function (key) {
|
|
15
|
-
if (key === "default" || key === "__esModule") return;
|
|
16
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
17
|
-
if (key in exports && exports[key] === _ComponentLinkHeader[key]) return;
|
|
18
|
-
Object.defineProperty(exports, key, {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _ComponentLinkHeader[key];
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
});
|
|
1
|
+
export * from "./ComponentLinkHeader.js";
|
|
2
|
+
export { ComponentLinkHeader as default } from "./ComponentLinkHeader.js";
|