vite-plugin-millennium-skin 1.1.6 → 1.1.7

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/dist/index.js CHANGED
@@ -105,8 +105,8 @@ export const cache = window.opener.SP_REACT.cache;
105
105
  export const cloneElement = window.opener.SP_REACT.cloneElement;
106
106
  export const createContext = window.opener.SP_REACT.createContext;
107
107
  export const createElement = window.opener.SP_REACT.createElement;
108
- export const jsxs = window.opener.SP_REACT.createElement;
109
- export const jsx = window.opener.SP_REACT.createElement;
108
+ export const jsxs = window.opener.SP_JSX_FACTORY.jsxs;
109
+ export const jsx = window.opener.SP_JSX_FACTORY.jsx;
110
110
  export const createRef = window.opener.SP_REACT.createRef;
111
111
  export const forwardRef = window.opener.SP_REACT.forwardRef;
112
112
  export const isValidElement = window.opener.SP_REACT.isValidElement;
@@ -234,7 +234,7 @@ async function k(o = !1) {
234
234
  x(`❌ git提交失败: ${r.message}`);
235
235
  }
236
236
  }
237
- const H = /^SharedJSContext$/, W = /^Steam$/, Y = /^View Root Menu$/, q = /^Steam Root Menu$/, X = /^Friends Root Menu$/, K = /^Games Root Menu$/, Q = /^Help Root Menu$/, ee = /^Notifications Menu$/, te = /^Account Menu$/, D = /(?<major>0|[1-9]\d*)\.(?<minor>0|[1-9]\d*)\.(?<patch>0|[1-9]\d*)(?:-(?<preRelease>(?:[a-zA-Z1-9][a-zA-Z\d]*|0\d*[a-zA-Z][a-zA-Z\d]*|0)(?:\.(?:[a-zA-Z1-9][a-zA-Z\d]*|0\d*[a-zA-Z][a-zA-Z\d]*|0))*))?(?:\+(?<metadata>(?:[a-zA-Z\d-]*)(?:\.(?:[a-zA-Z\d-]*))*))?/, J = /(?:\.)?(?<tag>[a-zA-Z]+)\.(?<number>(?:[1-9]\d*|0\d*|0))/g;
237
+ const H = /^SharedJSContext$/, Y = /^Steam$/, W = /^View Root Menu$/, X = /^Steam Root Menu$/, q = /^Friends Root Menu$/, K = /^Games Root Menu$/, Q = /^Help Root Menu$/, ee = /^Notifications Menu$/, te = /^Account Menu$/, D = /(?<major>0|[1-9]\d*)\.(?<minor>0|[1-9]\d*)\.(?<patch>0|[1-9]\d*)(?:-(?<preRelease>(?:[a-zA-Z1-9][a-zA-Z\d]*|0\d*[a-zA-Z][a-zA-Z\d]*|0)(?:\.(?:[a-zA-Z1-9][a-zA-Z\d]*|0\d*[a-zA-Z][a-zA-Z\d]*|0))*))?(?:\+(?<metadata>(?:[a-zA-Z\d-]*)(?:\.(?:[a-zA-Z\d-]*))*))?/, J = /(?:\.)?(?<tag>[a-zA-Z]+)\.(?<number>(?:[1-9]\d*|0\d*|0))/g;
238
238
  let d;
239
239
  function oe() {
240
240
  const o = [], r = [];
@@ -509,14 +509,14 @@ function x(o, r) {
509
509
  d ? d.error(f.redBright(`[MillenniumSkin] ${o}`), r) : console.error(f.redBright(`[MillenniumSkin] ${o}`));
510
510
  }
511
511
  export {
512
- W as LibraryRoot,
512
+ Y as LibraryRoot,
513
513
  te as MenuAccount,
514
- X as MenuFriends,
514
+ q as MenuFriends,
515
515
  K as MenuGames,
516
516
  Q as MenuHelp,
517
517
  ee as MenuNotifications,
518
- q as MenuSteam,
519
- Y as MenuView,
518
+ X as MenuSteam,
519
+ W as MenuView,
520
520
  H as Root,
521
521
  j as __AUTO__,
522
522
  N as __DEFAULT__,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-millennium-skin",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "main": "./dist/index.js",
5
5
  "type": "module",
6
6
  "directories": {
@@ -17,8 +17,8 @@ export const cache = window.opener.SP_REACT.cache;
17
17
  export const cloneElement = window.opener.SP_REACT.cloneElement;
18
18
  export const createContext = window.opener.SP_REACT.createContext;
19
19
  export const createElement = window.opener.SP_REACT.createElement;
20
- export const jsxs = window.opener.SP_REACT.createElement;
21
- export const jsx = window.opener.SP_REACT.createElement;
20
+ export const jsxs = window.opener.SP_JSX_FACTORY.jsxs;
21
+ export const jsx = window.opener.SP_JSX_FACTORY.jsx;
22
22
  export const createRef = window.opener.SP_REACT.createRef;
23
23
  export const forwardRef = window.opener.SP_REACT.forwardRef;
24
24
  export const isValidElement = window.opener.SP_REACT.isValidElement;