@firetable/project-xiaochun 0.1.19 → 0.1.20
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/README-CN.md +5 -5
- package/README.md +5 -5
- package/dist/avatar-element.d.ts +1 -1
- package/dist/chunks/{chunk-WYS3WVG4.js → chunk-OUHLLXLG.js} +4 -4
- package/dist/chunks/chunk-OUHLLXLG.js.map +7 -0
- package/dist/chunks/{chunk-SPCT7EQA.js → chunk-VEO4L6VJ.js} +4 -4
- package/dist/chunks/chunk-VEO4L6VJ.js.map +7 -0
- package/dist/chunks/{chunk-RTBOYZAZ.js → chunk-VPAQ4UMD.js} +2 -2
- package/dist/chunks/{chunk-RTBOYZAZ.js.map → chunk-VPAQ4UMD.js.map} +1 -1
- package/dist/client.d.ts +8 -2
- package/dist/element.cjs +2 -2
- package/dist/element.cjs.map +2 -2
- package/dist/element.js +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +4 -4
- package/dist/loader.global.js +2 -2
- package/dist/loader.global.js.map +2 -2
- package/dist/protocol.cjs +1 -1
- package/dist/protocol.cjs.map +1 -1
- package/dist/protocol.d.ts +3 -3
- package/dist/protocol.js +2 -2
- package/dist/react.cjs +2 -2
- package/dist/react.cjs.map +2 -2
- package/dist/react.js +3 -3
- package/package.json +1 -1
- package/dist/chunks/chunk-SPCT7EQA.js.map +0 -7
- package/dist/chunks/chunk-WYS3WVG4.js.map +0 -7
package/dist/element.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! @firetable/project-xiaochun v0.1.
|
|
1
|
+
/*! @firetable/project-xiaochun v0.1.20 | MIT | https://github.com/FireTable/project-xiaochun */
|
|
2
2
|
import {
|
|
3
3
|
XIAOCHUN_ELEMENT_TAG,
|
|
4
4
|
defineXiaochunElement
|
|
5
|
-
} from "./chunks/chunk-
|
|
6
|
-
import "./chunks/chunk-
|
|
7
|
-
import "./chunks/chunk-
|
|
5
|
+
} from "./chunks/chunk-VEO4L6VJ.js";
|
|
6
|
+
import "./chunks/chunk-OUHLLXLG.js";
|
|
7
|
+
import "./chunks/chunk-VPAQ4UMD.js";
|
|
8
8
|
|
|
9
9
|
// src/element.ts
|
|
10
10
|
defineXiaochunElement();
|
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @firetable/project-xiaochun v0.1.
|
|
1
|
+
/*! @firetable/project-xiaochun v0.1.20 | MIT | https://github.com/FireTable/project-xiaochun */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -426,7 +426,7 @@ function createXiaochun(options) {
|
|
|
426
426
|
const outfitOpt = options.outfit ?? (isXcId(options.model) ? options.model : void 0);
|
|
427
427
|
const initialOutfit = outfitOpt ?? prefs.outfit;
|
|
428
428
|
const initialScene = options.scene ?? prefs.scene ?? (options.transparent ? "transparent" : void 0);
|
|
429
|
-
let transparent = initialScene === "transparent" || initialScene !== "light" && initialScene !== "dark" && (options.transparent ?? false);
|
|
429
|
+
let transparent = initialScene === "transparent" || initialScene !== "light" && initialScene !== "dark" && initialScene !== "beach3d" && (options.transparent ?? false);
|
|
430
430
|
let passthrough = options.passthrough ?? transparent;
|
|
431
431
|
const lazy = options.lazy ?? true;
|
|
432
432
|
const position = options.position ?? "inline";
|