@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/dist/element.js CHANGED
@@ -1,10 +1,10 @@
1
- /*! @firetable/project-xiaochun v0.1.19 | MIT | https://github.com/FireTable/project-xiaochun */
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-SPCT7EQA.js";
6
- import "./chunks/chunk-WYS3WVG4.js";
7
- import "./chunks/chunk-RTBOYZAZ.js";
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.19 | MIT | https://github.com/FireTable/project-xiaochun */
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";