cubing 0.38.0 → 0.38.1
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/esm/twisty/index.js +3 -3
- package/dist/esm/twisty/index.js.map +2 -2
- package/dist/types/{TwizzleLink-37877403.d.ts → TwizzleLink-94e4b602.d.ts} +3 -3
- package/dist/types/notation/index.d.ts +1 -1
- package/dist/types/puzzles/index.d.ts +2 -2
- package/dist/types/twisty/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/esm/twisty/index.js
CHANGED
|
@@ -3504,7 +3504,7 @@ var ColorSchemeProp = class extends TwistyPropDerived {
|
|
|
3504
3504
|
};
|
|
3505
3505
|
|
|
3506
3506
|
// src/cubing/twisty/model/props/viewer/ColorSchemeRequestProp.ts
|
|
3507
|
-
var
|
|
3507
|
+
var ColorSchemeRequestProp = class extends SimpleTwistyPropSource {
|
|
3508
3508
|
getDefaultValue() {
|
|
3509
3509
|
return "auto";
|
|
3510
3510
|
}
|
|
@@ -3638,7 +3638,7 @@ var TwistySceneModel = class {
|
|
|
3638
3638
|
this.twistyPlayerModel = twistyPlayerModel;
|
|
3639
3639
|
// Depth 0
|
|
3640
3640
|
this.background = new BackgroundProp();
|
|
3641
|
-
this.colorSchemeRequest = new
|
|
3641
|
+
this.colorSchemeRequest = new ColorSchemeRequestProp();
|
|
3642
3642
|
this.dragInput = new DragInputProp();
|
|
3643
3643
|
this.foundationDisplay = new FoundationDisplayProp();
|
|
3644
3644
|
this.foundationStickerSpriteURL = new URLProp();
|
|
@@ -5717,7 +5717,7 @@ var TwizzleLink = class extends ManagedCustomElement {
|
|
|
5717
5717
|
async connectedCallback() {
|
|
5718
5718
|
this.#responsiveWrapper = this.addElement(document.createElement("div"));
|
|
5719
5719
|
this.#responsiveWrapper.classList.add("responsive-wrapper");
|
|
5720
|
-
if (this.options?.colorScheme) {
|
|
5720
|
+
if (this.options?.colorScheme === "dark") {
|
|
5721
5721
|
this.contentWrapper.classList.add("dark-mode");
|
|
5722
5722
|
}
|
|
5723
5723
|
this.#cssElem = this.addCSS(twizzleLinkCSS);
|