@mui/codemod 5.14.19 → 5.15.0

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.
@@ -7,6 +7,7 @@ var _other = _interopRequireDefault(require("./other"));
7
7
  var _jsxRuntime = require("react/jsx-runtime");
8
8
  // import GridList from '@material-ui/core/GridList';
9
9
  // import GridListTile from '@material-ui/core/GridListTile';
10
+
10
11
  /*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.GridList, {
11
12
  cellHeight: "auto",
12
13
  cols: numOfCols,
@@ -7,6 +7,7 @@ var _other = _interopRequireDefault(require("./other"));
7
7
  var _jsxRuntime = require("react/jsx-runtime");
8
8
  // import ImageList from '@material-ui/core/ImageList';
9
9
  // import ImageListItem from '@material-ui/core/ImageListItem';
10
+
10
11
  /*#__PURE__*/(0, _jsxRuntime.jsxs)(_core.ImageList, {
11
12
  cellHeight: "auto",
12
13
  cols: numOfCols,
@@ -11,8 +11,8 @@ var _jsxRuntime = require("react/jsx-runtime");
11
11
  var _InnerComponent;
12
12
  /*
13
13
  Sandboxes for verifying correct behavior:
14
- JSS - https://codesandbox.io/s/case1-jss-dedp2f?file=/src/App.js
15
- TSS - https://codesandbox.io/s/case1-tss-s0z7tx?file=/src/App.js
14
+ JSS - https://codesandbox.io/p/sandbox/case1-jss-dedp2f?file=/src/App.js
15
+ TSS - https://codesandbox.io/p/sandbox/case1-tss-s0z7tx?file=/src/App.js
16
16
  */
17
17
  const useStyles = (0, _styles.makeStyles)({
18
18
  test: {
@@ -12,8 +12,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
12
12
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
13
13
  /*
14
14
  Sandboxes for verifying correct behavior:
15
- JSS - https://codesandbox.io/s/typescript-case-bt065c?file=/demo.tsx
16
- TSS - https://codesandbox.io/s/typescript-case-7jwpms?file=/demo.tsx
15
+ JSS - https://codesandbox.io/p/sandbox/typescript-case-bt065c?file=/demo.tsx
16
+ TSS - https://codesandbox.io/p/sandbox/typescript-case-7jwpms?file=/demo.tsx
17
17
  */const useStyles = (0, _styles.makeStyles)(theme => (0, _styles.createStyles)({
18
18
  test: {
19
19
  backgroundColor: "purple",
@@ -11,8 +11,8 @@ var _jsxRuntime = require("react/jsx-runtime");
11
11
  var _InnerComponent;
12
12
  /*
13
13
  Sandboxes for verifying correct behavior:
14
- JSS - https://codesandbox.io/s/case1-jss-dedp2f?file=/src/App.js
15
- TSS - https://codesandbox.io/s/case1-tss-s0z7tx?file=/src/App.js
14
+ JSS - https://codesandbox.io/p/sandbox/case1-jss-dedp2f?file=/src/App.js
15
+ TSS - https://codesandbox.io/p/sandbox/case1-tss-s0z7tx?file=/src/App.js
16
16
  */
17
17
  const useStyles = (0, _mui.makeStyles)({
18
18
  name: "TestName"
@@ -12,8 +12,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
12
12
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
13
13
  /*
14
14
  Sandboxes for verifying correct behavior:
15
- JSS - https://codesandbox.io/s/typescript-case-bt065c?file=/demo.tsx
16
- TSS - https://codesandbox.io/s/typescript-case-7jwpms?file=/demo.tsx
15
+ JSS - https://codesandbox.io/p/sandbox/typescript-case-bt065c?file=/demo.tsx
16
+ TSS - https://codesandbox.io/p/sandbox/typescript-case-7jwpms?file=/demo.tsx
17
17
  */
18
18
 
19
19
  const useStyles = (0, _mui.makeStyles)()((theme, _params, classes) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/codemod",
3
- "version": "5.14.19",
3
+ "version": "5.15.0",
4
4
  "bin": "./codemod.js",
5
5
  "private": false,
6
6
  "author": "MUI Team",
@@ -30,9 +30,9 @@
30
30
  "url": "https://opencollective.com/mui-org"
31
31
  },
32
32
  "dependencies": {
33
- "@babel/core": "^7.23.3",
34
- "@babel/runtime": "^7.23.4",
35
- "@babel/traverse": "^7.23.4",
33
+ "@babel/core": "^7.23.5",
34
+ "@babel/runtime": "^7.23.5",
35
+ "@babel/traverse": "^7.23.5",
36
36
  "jscodeshift": "^0.13.1",
37
37
  "jscodeshift-add-imports": "^1.0.10",
38
38
  "yargs": "^17.7.2"