@mui/lab 6.0.0-beta.22 → 6.0.0-beta.24

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.
@@ -1,35 +1,13 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
- var _exportNames = {
9
- loadingButtonClasses: true
10
- };
11
7
  Object.defineProperty(exports, "default", {
12
8
  enumerable: true,
13
9
  get: function () {
14
10
  return _LoadingButton.default;
15
11
  }
16
12
  });
17
- Object.defineProperty(exports, "loadingButtonClasses", {
18
- enumerable: true,
19
- get: function () {
20
- return _loadingButtonClasses.default;
21
- }
22
- });
23
- var _LoadingButton = _interopRequireDefault(require("./LoadingButton"));
24
- var _loadingButtonClasses = _interopRequireWildcard(require("./loadingButtonClasses"));
25
- Object.keys(_loadingButtonClasses).forEach(function (key) {
26
- if (key === "default" || key === "__esModule") return;
27
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
28
- if (key in exports && exports[key] === _loadingButtonClasses[key]) return;
29
- Object.defineProperty(exports, key, {
30
- enumerable: true,
31
- get: function () {
32
- return _loadingButtonClasses[key];
33
- }
34
- });
35
- });
13
+ var _LoadingButton = _interopRequireDefault(require("./LoadingButton"));
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ 'use client';
2
3
 
3
4
  var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
5
  Object.defineProperty(exports, "__esModule", {
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v6.0.0-beta.22
2
+ * @mui/lab v6.0.0-beta.24
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/lab",
3
- "version": "6.0.0-beta.22",
3
+ "version": "6.0.0-beta.24",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Laboratory for new MUI modules.",
@@ -31,10 +31,10 @@
31
31
  "@babel/runtime": "^7.26.0",
32
32
  "clsx": "^2.1.1",
33
33
  "prop-types": "^15.8.1",
34
- "@mui/base": "5.0.0-beta.68",
35
34
  "@mui/types": "^7.2.21",
36
- "@mui/system": "^6.3.1",
37
- "@mui/utils": "^6.3.1"
35
+ "@mui/utils": "^6.4.1",
36
+ "@mui/base": "5.0.0-beta.69",
37
+ "@mui/system": "^6.4.1"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@emotion/react": "^11.5.0",
@@ -42,8 +42,8 @@
42
42
  "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
43
43
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
44
44
  "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
45
- "@mui/material": "^6.3.1",
46
- "@mui/material-pigment-css": "^6.3.1"
45
+ "@mui/material-pigment-css": "^6.4.1",
46
+ "@mui/material": "^6.4.1"
47
47
  },
48
48
  "peerDependenciesMeta": {
49
49
  "@types/react": {
@@ -1,24 +0,0 @@
1
- export interface LoadingButtonClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the span element that wraps the children. */
5
- label: string;
6
- /** Styles applied to the root element if `loading={true}`. */
7
- loading: string;
8
- /** Styles applied to the loadingIndicator element. */
9
- loadingIndicator: string;
10
- /** Styles applied to the loadingIndicator element if `loadingPosition="center"`. */
11
- loadingIndicatorCenter: string;
12
- /** Styles applied to the loadingIndicator element if `loadingPosition="start"`. */
13
- loadingIndicatorStart: string;
14
- /** Styles applied to the loadingIndicator element if `loadingPosition="end"`. */
15
- loadingIndicatorEnd: string;
16
- /** Styles applied to the endIcon element if `loading={true}` and `loadingPosition="end"`. */
17
- endIconLoadingEnd: string;
18
- /** Styles applied to the startIcon element if `loading={true}` and `loadingPosition="start"`. */
19
- startIconLoadingStart: string;
20
- }
21
- export type LoadingButtonClassKey = keyof LoadingButtonClasses;
22
- export declare function getLoadingButtonUtilityClass(slot: string): string;
23
- declare const loadingButtonClasses: LoadingButtonClasses;
24
- export default loadingButtonClasses;
@@ -1,7 +0,0 @@
1
- import generateUtilityClass from '@mui/utils/generateUtilityClass';
2
- import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
3
- export function getLoadingButtonUtilityClass(slot) {
4
- return generateUtilityClass('MuiLoadingButton', slot);
5
- }
6
- const loadingButtonClasses = generateUtilityClasses('MuiLoadingButton', ['root', 'label', 'loading', 'loadingIndicator', 'loadingIndicatorCenter', 'loadingIndicatorStart', 'loadingIndicatorEnd', 'endIconLoadingEnd', 'startIconLoadingStart']);
7
- export default loadingButtonClasses;
@@ -1,7 +0,0 @@
1
- import generateUtilityClass from '@mui/utils/generateUtilityClass';
2
- import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
3
- export function getLoadingButtonUtilityClass(slot) {
4
- return generateUtilityClass('MuiLoadingButton', slot);
5
- }
6
- const loadingButtonClasses = generateUtilityClasses('MuiLoadingButton', ['root', 'label', 'loading', 'loadingIndicator', 'loadingIndicatorCenter', 'loadingIndicatorStart', 'loadingIndicatorEnd', 'endIconLoadingEnd', 'startIconLoadingStart']);
7
- export default loadingButtonClasses;
@@ -1,15 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = void 0;
8
- exports.getLoadingButtonUtilityClass = getLoadingButtonUtilityClass;
9
- var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateUtilityClass"));
10
- var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generateUtilityClasses"));
11
- function getLoadingButtonUtilityClass(slot) {
12
- return (0, _generateUtilityClass.default)('MuiLoadingButton', slot);
13
- }
14
- const loadingButtonClasses = (0, _generateUtilityClasses.default)('MuiLoadingButton', ['root', 'label', 'loading', 'loadingIndicator', 'loadingIndicatorCenter', 'loadingIndicatorStart', 'loadingIndicatorEnd', 'endIconLoadingEnd', 'startIconLoadingStart']);
15
- var _default = exports.default = loadingButtonClasses;