vite-plugin-millennium-skin 1.1.5 → 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,7 +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;
108
+ export const jsxs = window.opener.SP_JSX_FACTORY.jsxs;
109
+ export const jsx = window.opener.SP_JSX_FACTORY.jsx;
109
110
  export const createRef = window.opener.SP_REACT.createRef;
110
111
  export const forwardRef = window.opener.SP_REACT.forwardRef;
111
112
  export const isValidElement = window.opener.SP_REACT.isValidElement;
@@ -233,7 +234,7 @@ async function k(o = !1) {
233
234
  x(`❌ git提交失败: ${r.message}`);
234
235
  }
235
236
  }
236
- 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;
237
238
  let d;
238
239
  function oe() {
239
240
  const o = [], r = [];
@@ -508,14 +509,14 @@ function x(o, r) {
508
509
  d ? d.error(f.redBright(`[MillenniumSkin] ${o}`), r) : console.error(f.redBright(`[MillenniumSkin] ${o}`));
509
510
  }
510
511
  export {
511
- W as LibraryRoot,
512
+ Y as LibraryRoot,
512
513
  te as MenuAccount,
513
- X as MenuFriends,
514
+ q as MenuFriends,
514
515
  K as MenuGames,
515
516
  Q as MenuHelp,
516
517
  ee as MenuNotifications,
517
- q as MenuSteam,
518
- Y as MenuView,
518
+ X as MenuSteam,
519
+ W as MenuView,
519
520
  H as Root,
520
521
  j as __AUTO__,
521
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.5",
3
+ "version": "1.1.7",
4
4
  "main": "./dist/index.js",
5
5
  "type": "module",
6
6
  "directories": {
@@ -17,7 +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;
20
+ export const jsxs = window.opener.SP_JSX_FACTORY.jsxs;
21
+ export const jsx = window.opener.SP_JSX_FACTORY.jsx;
21
22
  export const createRef = window.opener.SP_REACT.createRef;
22
23
  export const forwardRef = window.opener.SP_REACT.forwardRef;
23
24
  export const isValidElement = window.opener.SP_REACT.isValidElement;