@mui/docs 7.0.0-alpha.0 → 7.0.0-alpha.1

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.
Files changed (281) hide show
  1. package/Ad/Ad.d.ts +1 -1
  2. package/Ad/Ad.js +42 -33
  3. package/Ad/AdCarbon.d.ts +1 -1
  4. package/Ad/AdCarbon.js +31 -18
  5. package/Ad/AdDisplay.d.ts +10 -10
  6. package/Ad/AdDisplay.js +28 -21
  7. package/Ad/AdGuest.d.ts +6 -6
  8. package/Ad/AdGuest.js +15 -8
  9. package/Ad/AdInHouse.d.ts +3 -3
  10. package/Ad/AdInHouse.js +13 -5
  11. package/Ad/AdManager.d.ts +12 -9
  12. package/Ad/AdManager.js +17 -8
  13. package/Ad/AdProvider.d.ts +9 -9
  14. package/Ad/AdProvider.js +13 -5
  15. package/Ad/ad.styles.d.ts +4322 -4322
  16. package/Ad/ad.styles.js +13 -5
  17. package/Ad/index.d.ts +5 -5
  18. package/Ad/index.js +62 -6
  19. package/CHANGELOG.md +61 -0
  20. package/CodeCopy/CodeCopy.d.ts +5 -3
  21. package/CodeCopy/CodeCopy.js +19 -10
  22. package/CodeCopy/CodeCopyButton.d.ts +2 -2
  23. package/CodeCopy/CodeCopyButton.js +18 -10
  24. package/CodeCopy/index.d.ts +3 -3
  25. package/CodeCopy/index.js +40 -3
  26. package/CodeCopy/useClipboardCopy.d.ts +3 -3
  27. package/CodeCopy/useClipboardCopy.js +12 -4
  28. package/ComponentLinkHeader/ComponentLinkHeader.d.ts +5 -5
  29. package/ComponentLinkHeader/ComponentLinkHeader.js +48 -40
  30. package/ComponentLinkHeader/index.d.ts +2 -2
  31. package/ComponentLinkHeader/index.js +24 -2
  32. package/DocsProvider/DocsProvider.d.ts +19 -13
  33. package/DocsProvider/DocsProvider.js +17 -9
  34. package/DocsProvider/index.d.ts +1 -1
  35. package/DocsProvider/index.js +16 -1
  36. package/HighlightedCode/HighlightedCode.d.ts +9 -9
  37. package/HighlightedCode/HighlightedCode.js +26 -18
  38. package/HighlightedCode/index.d.ts +1 -1
  39. package/HighlightedCode/index.js +16 -1
  40. package/HighlightedCodeWithTabs/HighlightedCodeWithTabs.d.ts +18 -18
  41. package/HighlightedCodeWithTabs/HighlightedCodeWithTabs.js +31 -22
  42. package/HighlightedCodeWithTabs/index.d.ts +2 -2
  43. package/HighlightedCodeWithTabs/index.js +24 -2
  44. package/InfoCard/InfoCard.d.ts +15 -13
  45. package/InfoCard/InfoCard.js +29 -20
  46. package/InfoCard/index.d.ts +1 -1
  47. package/InfoCard/index.js +16 -1
  48. package/Link/Link.d.ts +14 -8
  49. package/Link/Link.js +26 -29
  50. package/Link/index.d.ts +1 -1
  51. package/Link/index.js +16 -1
  52. package/MarkdownElement/MarkdownElement.d.ts +4 -4
  53. package/MarkdownElement/MarkdownElement.js +186 -178
  54. package/MarkdownElement/index.d.ts +1 -1
  55. package/MarkdownElement/index.js +16 -1
  56. package/NProgressBar/NProgressBar.d.ts +1 -3
  57. package/NProgressBar/NProgressBar.js +23 -15
  58. package/NProgressBar/index.d.ts +2 -2
  59. package/NProgressBar/index.js +13 -1
  60. package/README.md +2 -2
  61. package/SectionTitle/SectionTitle.d.ts +4 -4
  62. package/SectionTitle/SectionTitle.js +15 -8
  63. package/SectionTitle/index.d.ts +1 -1
  64. package/SectionTitle/index.js +16 -1
  65. package/branding/BrandingProvider.d.ts +6 -6
  66. package/branding/BrandingProvider.js +15 -8
  67. package/branding/brandingTheme.d.ts +118 -119
  68. package/branding/brandingTheme.js +126 -115
  69. package/branding/index.d.ts +2 -2
  70. package/branding/index.js +27 -2
  71. package/esm/Ad/Ad.d.ts +6 -0
  72. package/{node → esm}/Ad/Ad.js +33 -42
  73. package/esm/Ad/AdCarbon.d.ts +3 -0
  74. package/{node → esm}/Ad/AdCarbon.js +22 -27
  75. package/esm/Ad/AdDisplay.d.ts +16 -0
  76. package/{node → esm}/Ad/AdDisplay.js +21 -28
  77. package/esm/Ad/AdGuest.d.ts +10 -0
  78. package/esm/Ad/AdGuest.js +29 -0
  79. package/esm/Ad/AdInHouse.d.ts +5 -0
  80. package/esm/Ad/AdInHouse.js +15 -0
  81. package/esm/Ad/AdManager.d.ts +19 -0
  82. package/esm/Ad/AdManager.js +36 -0
  83. package/esm/Ad/AdProvider.d.ts +15 -0
  84. package/esm/Ad/AdProvider.js +24 -0
  85. package/esm/Ad/ad.styles.d.ts +4329 -0
  86. package/{node → esm}/Ad/ad.styles.js +5 -13
  87. package/esm/Ad/index.d.ts +5 -0
  88. package/esm/Ad/index.js +7 -0
  89. package/esm/CodeCopy/CodeCopy.d.ts +22 -0
  90. package/{node → esm}/CodeCopy/CodeCopy.js +10 -19
  91. package/esm/CodeCopy/CodeCopyButton.d.ts +5 -0
  92. package/esm/CodeCopy/CodeCopyButton.js +41 -0
  93. package/esm/CodeCopy/index.d.ts +3 -0
  94. package/esm/CodeCopy/index.js +3 -0
  95. package/esm/CodeCopy/useClipboardCopy.d.ts +4 -0
  96. package/esm/CodeCopy/useClipboardCopy.js +21 -0
  97. package/esm/ComponentLinkHeader/ComponentLinkHeader.d.ts +9 -0
  98. package/{node → esm}/ComponentLinkHeader/ComponentLinkHeader.js +40 -48
  99. package/esm/ComponentLinkHeader/index.d.ts +2 -0
  100. package/esm/ComponentLinkHeader/index.js +2 -0
  101. package/esm/DocsProvider/DocsProvider.d.ts +24 -0
  102. package/esm/DocsProvider/DocsProvider.js +31 -0
  103. package/esm/DocsProvider/index.d.ts +1 -0
  104. package/esm/DocsProvider/index.js +1 -0
  105. package/esm/HighlightedCode/HighlightedCode.d.ts +14 -0
  106. package/esm/HighlightedCode/HighlightedCode.js +67 -0
  107. package/esm/HighlightedCode/index.d.ts +1 -0
  108. package/esm/HighlightedCode/index.js +1 -0
  109. package/esm/HighlightedCodeWithTabs/HighlightedCodeWithTabs.d.ts +29 -0
  110. package/{node → esm}/HighlightedCodeWithTabs/HighlightedCodeWithTabs.js +22 -31
  111. package/esm/HighlightedCodeWithTabs/index.d.ts +2 -0
  112. package/esm/HighlightedCodeWithTabs/index.js +2 -0
  113. package/esm/InfoCard/InfoCard.d.ts +22 -0
  114. package/esm/InfoCard/InfoCard.js +87 -0
  115. package/esm/InfoCard/index.d.ts +1 -0
  116. package/esm/InfoCard/index.js +1 -0
  117. package/esm/Link/Link.d.ts +22 -0
  118. package/{node → esm}/Link/Link.js +19 -37
  119. package/esm/Link/index.d.ts +1 -0
  120. package/esm/Link/index.js +1 -0
  121. package/esm/MarkdownElement/MarkdownElement.d.ts +7 -0
  122. package/{node → esm}/MarkdownElement/MarkdownElement.js +178 -186
  123. package/esm/MarkdownElement/index.d.ts +1 -0
  124. package/esm/MarkdownElement/index.js +1 -0
  125. package/esm/NProgressBar/NProgressBar.d.ts +6 -0
  126. package/{node → esm}/NProgressBar/NProgressBar.js +15 -23
  127. package/esm/NProgressBar/index.d.ts +2 -0
  128. package/esm/NProgressBar/index.js +1 -0
  129. package/esm/SectionTitle/SectionTitle.d.ts +7 -0
  130. package/esm/SectionTitle/SectionTitle.js +30 -0
  131. package/esm/SectionTitle/index.d.ts +1 -0
  132. package/esm/SectionTitle/index.js +1 -0
  133. package/esm/branding/BrandingProvider.d.ts +9 -0
  134. package/esm/branding/BrandingProvider.js +17 -0
  135. package/esm/branding/brandingTheme.d.ts +151 -0
  136. package/{node → esm}/branding/brandingTheme.js +115 -126
  137. package/esm/branding/index.d.ts +2 -0
  138. package/esm/branding/index.js +2 -0
  139. package/esm/i18n/i18n.d.ts +27 -0
  140. package/{node → esm}/i18n/i18n.js +17 -29
  141. package/esm/i18n/index.d.ts +1 -0
  142. package/esm/i18n/index.js +1 -0
  143. package/esm/package.json +1 -0
  144. package/esm/svgIcons/BundleSizeIcon.d.ts +4 -0
  145. package/esm/svgIcons/BundleSizeIcon.js +14 -0
  146. package/esm/svgIcons/FigmaIcon.d.ts +4 -0
  147. package/esm/svgIcons/FigmaIcon.js +23 -0
  148. package/esm/svgIcons/FileDownload.d.ts +7 -0
  149. package/esm/svgIcons/FileDownload.js +14 -0
  150. package/esm/svgIcons/JavaScript.d.ts +7 -0
  151. package/{node → esm}/svgIcons/JavaScript.js +6 -14
  152. package/esm/svgIcons/MaterialDesignIcon.d.ts +4 -0
  153. package/esm/svgIcons/MaterialDesignIcon.js +19 -0
  154. package/esm/svgIcons/SketchIcon.d.ts +4 -0
  155. package/esm/svgIcons/SketchIcon.js +28 -0
  156. package/esm/svgIcons/TypeScript.d.ts +7 -0
  157. package/esm/svgIcons/TypeScript.js +14 -0
  158. package/esm/svgIcons/W3CIcon.d.ts +4 -0
  159. package/{node → esm}/svgIcons/W3CIcon.js +7 -14
  160. package/esm/translations/index.d.ts +3 -0
  161. package/esm/translations/index.js +4 -0
  162. package/esm/utils/loadScript.d.ts +1 -0
  163. package/esm/utils/loadScript.js +7 -0
  164. package/i18n/i18n.d.ts +12 -14
  165. package/i18n/i18n.js +29 -17
  166. package/i18n/index.d.ts +1 -1
  167. package/i18n/index.js +16 -1
  168. package/modern/Ad/Ad.d.ts +6 -0
  169. package/modern/Ad/AdCarbon.d.ts +3 -0
  170. package/modern/Ad/AdDisplay.d.ts +16 -0
  171. package/modern/Ad/AdGuest.d.ts +10 -0
  172. package/modern/Ad/AdInHouse.d.ts +5 -0
  173. package/modern/Ad/AdManager.d.ts +19 -0
  174. package/modern/Ad/AdProvider.d.ts +15 -0
  175. package/modern/Ad/ad.styles.d.ts +4329 -0
  176. package/modern/Ad/index.d.ts +5 -0
  177. package/modern/CodeCopy/CodeCopy.d.ts +22 -0
  178. package/modern/CodeCopy/CodeCopyButton.d.ts +5 -0
  179. package/modern/CodeCopy/index.d.ts +3 -0
  180. package/modern/CodeCopy/useClipboardCopy.d.ts +4 -0
  181. package/modern/ComponentLinkHeader/ComponentLinkHeader.d.ts +9 -0
  182. package/modern/ComponentLinkHeader/index.d.ts +2 -0
  183. package/modern/DocsProvider/DocsProvider.d.ts +24 -0
  184. package/modern/DocsProvider/index.d.ts +1 -0
  185. package/modern/HighlightedCode/HighlightedCode.d.ts +14 -0
  186. package/modern/HighlightedCode/index.d.ts +1 -0
  187. package/modern/HighlightedCodeWithTabs/HighlightedCodeWithTabs.d.ts +29 -0
  188. package/modern/HighlightedCodeWithTabs/index.d.ts +2 -0
  189. package/modern/InfoCard/InfoCard.d.ts +22 -0
  190. package/modern/InfoCard/index.d.ts +1 -0
  191. package/modern/Link/Link.d.ts +22 -0
  192. package/modern/Link/index.d.ts +1 -0
  193. package/modern/MarkdownElement/MarkdownElement.d.ts +7 -0
  194. package/modern/MarkdownElement/index.d.ts +1 -0
  195. package/modern/NProgressBar/NProgressBar.d.ts +6 -0
  196. package/modern/NProgressBar/index.d.ts +2 -0
  197. package/modern/SectionTitle/SectionTitle.d.ts +7 -0
  198. package/modern/SectionTitle/index.d.ts +1 -0
  199. package/modern/branding/BrandingProvider.d.ts +9 -0
  200. package/modern/branding/brandingTheme.d.ts +151 -0
  201. package/modern/branding/index.d.ts +2 -0
  202. package/modern/i18n/i18n.d.ts +27 -0
  203. package/modern/i18n/index.d.ts +1 -0
  204. package/modern/svgIcons/BundleSizeIcon.d.ts +4 -0
  205. package/modern/svgIcons/FigmaIcon.d.ts +4 -0
  206. package/modern/svgIcons/FileDownload.d.ts +7 -0
  207. package/modern/svgIcons/JavaScript.d.ts +7 -0
  208. package/modern/svgIcons/MaterialDesignIcon.d.ts +4 -0
  209. package/modern/svgIcons/SketchIcon.d.ts +4 -0
  210. package/modern/svgIcons/TypeScript.d.ts +7 -0
  211. package/modern/svgIcons/W3CIcon.d.ts +4 -0
  212. package/modern/translations/index.d.ts +3 -0
  213. package/modern/utils/loadScript.d.ts +1 -0
  214. package/package.json +32 -2
  215. package/svgIcons/BundleSizeIcon.d.ts +2 -2
  216. package/svgIcons/BundleSizeIcon.js +13 -6
  217. package/svgIcons/FigmaIcon.d.ts +2 -2
  218. package/svgIcons/FigmaIcon.js +16 -9
  219. package/svgIcons/FileDownload.d.ts +2 -2
  220. package/svgIcons/FileDownload.js +14 -6
  221. package/svgIcons/JavaScript.d.ts +2 -2
  222. package/svgIcons/JavaScript.js +14 -6
  223. package/svgIcons/MaterialDesignIcon.d.ts +2 -2
  224. package/svgIcons/MaterialDesignIcon.js +14 -7
  225. package/svgIcons/SketchIcon.d.ts +2 -2
  226. package/svgIcons/SketchIcon.js +18 -11
  227. package/svgIcons/TypeScript.d.ts +2 -2
  228. package/svgIcons/TypeScript.js +14 -6
  229. package/svgIcons/W3CIcon.d.ts +2 -2
  230. package/svgIcons/W3CIcon.js +14 -7
  231. package/translations/index.d.ts +2 -2
  232. package/translations/index.js +10 -3
  233. package/tsconfig.build.tsbuildinfo +1 -1
  234. package/utils/loadScript.d.ts +1 -1
  235. package/utils/loadScript.js +8 -4
  236. package/Ad/package.json +0 -6
  237. package/CodeCopy/package.json +0 -6
  238. package/ComponentLinkHeader/package.json +0 -6
  239. package/DocsProvider/package.json +0 -6
  240. package/HighlightedCode/package.json +0 -6
  241. package/HighlightedCodeWithTabs/package.json +0 -6
  242. package/InfoCard/package.json +0 -6
  243. package/Link/package.json +0 -6
  244. package/MarkdownElement/package.json +0 -6
  245. package/NProgressBar/package.json +0 -6
  246. package/SectionTitle/package.json +0 -6
  247. package/branding/package.json +0 -6
  248. package/i18n/package.json +0 -6
  249. package/node/Ad/AdGuest.js +0 -36
  250. package/node/Ad/AdInHouse.js +0 -23
  251. package/node/Ad/AdManager.js +0 -45
  252. package/node/Ad/AdProvider.js +0 -32
  253. package/node/Ad/index.js +0 -63
  254. package/node/CodeCopy/CodeCopyButton.js +0 -49
  255. package/node/CodeCopy/index.js +0 -40
  256. package/node/CodeCopy/useClipboardCopy.js +0 -29
  257. package/node/ComponentLinkHeader/index.js +0 -24
  258. package/node/DocsProvider/DocsProvider.js +0 -39
  259. package/node/DocsProvider/index.js +0 -16
  260. package/node/HighlightedCode/HighlightedCode.js +0 -75
  261. package/node/HighlightedCode/index.js +0 -16
  262. package/node/HighlightedCodeWithTabs/index.js +0 -24
  263. package/node/InfoCard/InfoCard.js +0 -96
  264. package/node/InfoCard/index.js +0 -16
  265. package/node/Link/index.js +0 -16
  266. package/node/MarkdownElement/index.js +0 -16
  267. package/node/NProgressBar/index.js +0 -13
  268. package/node/SectionTitle/SectionTitle.js +0 -37
  269. package/node/SectionTitle/index.js +0 -16
  270. package/node/branding/BrandingProvider.js +0 -24
  271. package/node/branding/index.js +0 -27
  272. package/node/i18n/index.js +0 -16
  273. package/node/svgIcons/BundleSizeIcon.js +0 -21
  274. package/node/svgIcons/FigmaIcon.js +0 -30
  275. package/node/svgIcons/FileDownload.js +0 -22
  276. package/node/svgIcons/MaterialDesignIcon.js +0 -26
  277. package/node/svgIcons/SketchIcon.js +0 -35
  278. package/node/svgIcons/TypeScript.js +0 -22
  279. package/node/translations/index.js +0 -11
  280. package/node/utils/loadScript.js +0 -15
  281. package/translations/package.json +0 -6
@@ -1 +1 @@
1
- export * from './MarkdownElement';
1
+ export * from "./MarkdownElement.js";
@@ -1 +1,16 @@
1
- export * from "./MarkdownElement.js";
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _MarkdownElement = require("./MarkdownElement");
7
+ Object.keys(_MarkdownElement).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _MarkdownElement[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _MarkdownElement[key];
14
+ }
15
+ });
16
+ });
@@ -1,8 +1,6 @@
1
1
  import * as React from 'react';
2
-
3
2
  export interface NProgressBarProps {
4
3
  children?: React.ReactNode;
5
4
  }
6
-
7
5
  declare const NProgressBar: React.FunctionComponent<NProgressBarProps>;
8
- export default NProgressBar;
6
+ export default NProgressBar;
@@ -1,12 +1,20 @@
1
- import * as React from 'react';
2
- import PropTypes from 'prop-types';
3
- import NProgress from 'nprogress';
4
- import { NoSsr } from '@mui/base/NoSsr';
5
- import { exactProp } from '@mui/utils';
6
- import GlobalStyles from '@mui/material/GlobalStyles';
7
- import { keyframes } from '@mui/material/styles';
8
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
- NProgress.configure({
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+ var React = _interopRequireWildcard(require("react"));
10
+ var _propTypes = _interopRequireDefault(require("prop-types"));
11
+ var _nprogress = _interopRequireDefault(require("nprogress"));
12
+ var _NoSsr = require("@mui/base/NoSsr");
13
+ var _utils = require("@mui/utils");
14
+ var _GlobalStyles = _interopRequireDefault(require("@mui/material/GlobalStyles"));
15
+ var _styles = require("@mui/material/styles");
16
+ var _jsxRuntime = require("react/jsx-runtime");
17
+ _nprogress.default.configure({
10
18
  barSelector: '.nprogress-bar',
11
19
  template: `
12
20
  <div class="nprogress-bar">
@@ -15,7 +23,7 @@ NProgress.configure({
15
23
  </div>
16
24
  `
17
25
  });
18
- const muiNProgressPulse = keyframes`
26
+ const muiNProgressPulse = (0, _styles.keyframes)`
19
27
  30% {
20
28
  opacity: 0.6;
21
29
  }
@@ -34,8 +42,8 @@ const muiNProgressPulse = keyframes`
34
42
  * The implementation is highly inspired by the YouTube one.
35
43
  */
36
44
  function NProgressBar(props) {
37
- return /*#__PURE__*/_jsxs(NoSsr, {
38
- children: [props.children, /*#__PURE__*/_jsx(GlobalStyles, {
45
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_NoSsr.NoSsr, {
46
+ children: [props.children, /*#__PURE__*/(0, _jsxRuntime.jsx)(_GlobalStyles.default, {
39
47
  styles: theme => ({
40
48
  '#nprogress': {
41
49
  direction: 'ltr',
@@ -84,9 +92,9 @@ function NProgressBar(props) {
84
92
  });
85
93
  }
86
94
  process.env.NODE_ENV !== "production" ? NProgressBar.propTypes = {
87
- children: PropTypes.node
95
+ children: _propTypes.default.node
88
96
  } : void 0;
89
97
  if (process.env.NODE_ENV !== 'production') {
90
- process.env.NODE_ENV !== "production" ? NProgressBar.propTypes = exactProp(NProgressBar.propTypes) : void 0;
98
+ process.env.NODE_ENV !== "production" ? NProgressBar.propTypes = (0, _utils.exactProp)(NProgressBar.propTypes) : void 0;
91
99
  }
92
- export default NProgressBar;
100
+ var _default = exports.default = NProgressBar;
@@ -1,2 +1,2 @@
1
- export { default } from './NProgressBar';
2
- export * from './NProgressBar';
1
+ export { default } from "./NProgressBar.js";
2
+ export * from "./NProgressBar.js";
@@ -1 +1,13 @@
1
- export { default } from "./NProgressBar.js";
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ Object.defineProperty(exports, "default", {
8
+ enumerable: true,
9
+ get: function () {
10
+ return _NProgressBar.default;
11
+ }
12
+ });
13
+ var _NProgressBar = _interopRequireDefault(require("./NProgressBar"));
package/README.md CHANGED
@@ -6,7 +6,7 @@ This package hosts the documentation building blocks.
6
6
 
7
7
  Install the package in your project directory with:
8
8
 
9
- <!-- #default-branch-switch -->
9
+ <!-- #npm-tag-reference -->
10
10
 
11
11
  ```bash
12
12
  npm install @mui/docs@next
@@ -15,7 +15,7 @@ npm install @mui/docs@next
15
15
  The docs has a peer dependency on the core components.
16
16
  If you are not already using Material UI in your project, you can add it with:
17
17
 
18
- <!-- #default-branch-switch -->
18
+ <!-- #npm-tag-reference -->
19
19
 
20
20
  ```bash
21
21
  npm install @mui/material@next
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  export interface SectionTitleProps<Hash extends string = string> {
3
- title: string;
4
- hash: Hash;
5
- level?: 'h2' | 'h3' | 'h4';
3
+ title: string;
4
+ hash: Hash;
5
+ level?: 'h2' | 'h3' | 'h4';
6
6
  }
7
- export declare function SectionTitle(props: SectionTitleProps): React.JSX.Element;
7
+ export declare function SectionTitle(props: SectionTitleProps): React.JSX.Element;
@@ -1,26 +1,33 @@
1
+ "use strict";
2
+
3
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.SectionTitle = SectionTitle;
8
+ var React = _interopRequireWildcard(require("react"));
9
+ var _jsxRuntime = require("react/jsx-runtime");
1
10
  var _span;
2
- import * as React from 'react';
3
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
- export function SectionTitle(props) {
11
+ function SectionTitle(props) {
5
12
  const {
6
13
  title,
7
14
  hash,
8
15
  level: Level = 'h2'
9
16
  } = props;
10
- return /*#__PURE__*/_jsx(Level, {
17
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(Level, {
11
18
  id: hash,
12
19
  style: {
13
20
  flexGrow: 1
14
21
  },
15
- children: /*#__PURE__*/_jsxs("a", {
22
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("a", {
16
23
  "aria-labelledby": hash,
17
24
  className: "title-link-to-anchor",
18
25
  href: `#${hash}`,
19
26
  tabIndex: -1,
20
- children: [title, _span || (_span = /*#__PURE__*/_jsx("span", {
27
+ children: [title, _span || (_span = /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
21
28
  className: "anchor-icon",
22
- children: /*#__PURE__*/_jsx("svg", {
23
- children: /*#__PURE__*/_jsx("use", {
29
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
30
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("use", {
24
31
  xlinkHref: "#anchor-link-icon"
25
32
  })
26
33
  })
@@ -1 +1 @@
1
- export * from './SectionTitle';
1
+ export * from "./SectionTitle.js";
@@ -1 +1,16 @@
1
- export * from "./SectionTitle.js";
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _SectionTitle = require("./SectionTitle");
7
+ Object.keys(_SectionTitle).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _SectionTitle[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _SectionTitle[key];
14
+ }
15
+ });
16
+ });
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
2
  export interface BrandingProviderProps {
3
- children: React.ReactNode;
4
- /**
5
- * If not `undefined`, the provider is considered nesting and does not render NextNProgressBar & CssBaseline
6
- */
7
- mode?: 'light' | 'dark';
3
+ children: React.ReactNode;
4
+ /**
5
+ * If not `undefined`, the provider is considered nesting and does not render NextNProgressBar & CssBaseline
6
+ */
7
+ mode?: 'light' | 'dark';
8
8
  }
9
- export declare function BrandingProvider(props: BrandingProviderProps): React.JSX.Element;
9
+ export declare function BrandingProvider(props: BrandingProviderProps): React.JSX.Element;
@@ -1,16 +1,23 @@
1
- import * as React from 'react';
2
- import { ThemeProvider, useTheme } from '@mui/material/styles';
3
- import { brandingDarkTheme, brandingLightTheme } from "./brandingTheme.js";
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- export function BrandingProvider(props) {
1
+ "use strict";
2
+
3
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.BrandingProvider = BrandingProvider;
8
+ var React = _interopRequireWildcard(require("react"));
9
+ var _styles = require("@mui/material/styles");
10
+ var _brandingTheme = require("./brandingTheme");
11
+ var _jsxRuntime = require("react/jsx-runtime");
12
+ function BrandingProvider(props) {
6
13
  const {
7
14
  children,
8
15
  mode: modeProp
9
16
  } = props;
10
- const upperTheme = useTheme();
17
+ const upperTheme = (0, _styles.useTheme)();
11
18
  const mode = modeProp || upperTheme.palette.mode;
12
- const theme = mode === 'dark' ? brandingDarkTheme : brandingLightTheme;
13
- return /*#__PURE__*/_jsx(ThemeProvider, {
19
+ const theme = mode === 'dark' ? _brandingTheme.brandingDarkTheme : _brandingTheme.brandingLightTheme;
20
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.ThemeProvider, {
14
21
  theme: modeProp ? () => theme : theme,
15
22
  children: children
16
23
  });
@@ -1,152 +1,151 @@
1
1
  import type { CSSObject } from '@mui/system';
2
2
  import { ThemeOptions, Theme } from '@mui/material/styles';
3
3
  interface ApplyDarkStyles {
4
- (scheme: CSSObject): CSSObject;
4
+ (scheme: CSSObject): CSSObject;
5
5
  }
6
6
  declare module '@mui/material/styles' {
7
- interface Theme {
8
- applyDarkStyles: ApplyDarkStyles;
9
- }
7
+ interface Theme {
8
+ applyDarkStyles: ApplyDarkStyles;
9
+ }
10
10
  }
11
11
  declare module '@mui/material/styles/createPalette' {
12
- interface ColorRange {
13
- 50: string;
14
- 100: string;
15
- 200: string;
16
- 300: string;
17
- 400: string;
18
- 500: string;
19
- 600: string;
20
- 700: string;
21
- 800: string;
22
- 900: string;
23
- }
24
- interface PaletteColor extends ColorRange {
25
- }
26
- interface Palette {
27
- primaryDark: PaletteColor;
28
- gradients: {
29
- radioSubtle: string;
30
- linearSubtle: string;
31
- };
32
- }
33
- interface TypeText {
34
- tertiary: string;
35
- }
36
- }
37
- declare module '@mui/material/styles/createTypography' {
38
- interface TypographyOptions {
39
- fontWeightSemiBold?: number;
40
- fontWeightExtraBold?: number;
41
- fontFamilyCode?: string;
42
- fontFamilySystem?: string;
43
- }
44
- interface Typography {
45
- fontWeightSemiBold: number;
46
- fontWeightExtraBold: number;
47
- fontFamilyCode: string;
48
- fontFamilySystem: string;
49
- }
50
- }
51
- declare module '@mui/material/Chip' {
52
- interface ChipPropsColorOverrides {
53
- grey: true;
54
- }
55
- }
56
- declare module '@mui/material/SvgIcon' {
57
- interface SvgIconPropsColorOverrides {
58
- danger: true;
59
- }
60
- interface SvgIconPropsSizeOverrides {
61
- xs: true;
62
- sm: true;
63
- md: true;
64
- lg: true;
65
- xl: true;
66
- xl2: true;
67
- xl3: true;
68
- xl4: true;
69
- }
70
- }
71
- export declare const blue: {
12
+ interface ColorRange {
72
13
  50: string;
73
14
  100: string;
74
15
  200: string;
75
16
  300: string;
76
17
  400: string;
77
- main: string;
78
18
  500: string;
79
19
  600: string;
80
20
  700: string;
81
21
  800: string;
82
22
  900: string;
23
+ }
24
+ interface PaletteColor extends ColorRange {}
25
+ interface Palette {
26
+ primaryDark: PaletteColor;
27
+ gradients: {
28
+ radioSubtle: string;
29
+ linearSubtle: string;
30
+ };
31
+ }
32
+ interface TypeText {
33
+ tertiary: string;
34
+ }
35
+ }
36
+ declare module '@mui/material/styles/createTypography' {
37
+ interface TypographyOptions {
38
+ fontWeightSemiBold?: number;
39
+ fontWeightExtraBold?: number;
40
+ fontFamilyCode?: string;
41
+ fontFamilySystem?: string;
42
+ }
43
+ interface Typography {
44
+ fontWeightSemiBold: number;
45
+ fontWeightExtraBold: number;
46
+ fontFamilyCode: string;
47
+ fontFamilySystem: string;
48
+ }
49
+ }
50
+ declare module '@mui/material/Chip' {
51
+ interface ChipPropsColorOverrides {
52
+ grey: true;
53
+ }
54
+ }
55
+ declare module '@mui/material/SvgIcon' {
56
+ interface SvgIconPropsColorOverrides {
57
+ danger: true;
58
+ }
59
+ interface SvgIconPropsSizeOverrides {
60
+ xs: true;
61
+ sm: true;
62
+ md: true;
63
+ lg: true;
64
+ xl: true;
65
+ xl2: true;
66
+ xl3: true;
67
+ xl4: true;
68
+ }
69
+ }
70
+ export declare const blue: {
71
+ 50: string;
72
+ 100: string;
73
+ 200: string;
74
+ 300: string;
75
+ 400: string;
76
+ main: string;
77
+ 500: string;
78
+ 600: string;
79
+ 700: string;
80
+ 800: string;
81
+ 900: string;
83
82
  };
84
83
  export declare const blueDark: {
85
- 50: string;
86
- 100: string;
87
- 200: string;
88
- 300: string;
89
- main: string;
90
- 400: string;
91
- 500: string;
92
- 600: string;
93
- 700: string;
94
- 800: string;
95
- 900: string;
84
+ 50: string;
85
+ 100: string;
86
+ 200: string;
87
+ 300: string;
88
+ main: string;
89
+ 400: string;
90
+ 500: string;
91
+ 600: string;
92
+ 700: string;
93
+ 800: string;
94
+ 900: string;
96
95
  };
97
96
  export declare const grey: {
98
- 50: string;
99
- 100: string;
100
- 200: string;
101
- 300: string;
102
- 400: string;
103
- 500: string;
104
- 600: string;
105
- 700: string;
106
- 800: string;
107
- 900: string;
97
+ 50: string;
98
+ 100: string;
99
+ 200: string;
100
+ 300: string;
101
+ 400: string;
102
+ 500: string;
103
+ 600: string;
104
+ 700: string;
105
+ 800: string;
106
+ 900: string;
108
107
  };
109
108
  export declare const error: {
110
- 50: string;
111
- 100: string;
112
- 200: string;
113
- 300: string;
114
- 400: string;
115
- 500: string;
116
- main: string;
117
- 600: string;
118
- 700: string;
119
- 800: string;
120
- 900: string;
109
+ 50: string;
110
+ 100: string;
111
+ 200: string;
112
+ 300: string;
113
+ 400: string;
114
+ 500: string;
115
+ main: string;
116
+ 600: string;
117
+ 700: string;
118
+ 800: string;
119
+ 900: string;
121
120
  };
122
121
  export declare const success: {
123
- 50: string;
124
- 100: string;
125
- 200: string;
126
- 300: string;
127
- 400: string;
128
- 500: string;
129
- 600: string;
130
- 700: string;
131
- 800: string;
132
- 900: string;
122
+ 50: string;
123
+ 100: string;
124
+ 200: string;
125
+ 300: string;
126
+ 400: string;
127
+ 500: string;
128
+ 600: string;
129
+ 700: string;
130
+ 800: string;
131
+ 900: string;
133
132
  };
134
133
  export declare const warning: {
135
- 50: string;
136
- 100: string;
137
- 200: string;
138
- 300: string;
139
- 400: string;
140
- 500: string;
141
- main: string;
142
- 600: string;
143
- 700: string;
144
- 800: string;
145
- 900: string;
134
+ 50: string;
135
+ 100: string;
136
+ 200: string;
137
+ 300: string;
138
+ 400: string;
139
+ 500: string;
140
+ main: string;
141
+ 600: string;
142
+ 700: string;
143
+ 800: string;
144
+ 900: string;
146
145
  };
147
146
  export declare const getMetaThemeColor: (mode: "light" | "dark") => string;
148
147
  export declare const getDesignTokens: (mode: "light" | "dark") => ThemeOptions;
149
148
  export declare function getThemedComponents(): ThemeOptions;
150
149
  export declare const brandingDarkTheme: Theme;
151
150
  export declare const brandingLightTheme: Theme;
152
- export {};
151
+ export {};