@novely/solid-renderer 0.29.1-beta.2 → 0.29.1-beta.4
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.jsx +81 -54
- package/dist/styles/index.css +19 -6
- package/package.json +2 -2
package/dist/index.jsx
CHANGED
|
@@ -4907,7 +4907,7 @@ var canvasDrawImages = (canvas = createCanvas(), ctx = getContext(canvas), image
|
|
|
4907
4907
|
const draw = () => {
|
|
4908
4908
|
if (!set) {
|
|
4909
4909
|
set = true;
|
|
4910
|
-
if (canvas.dataset.resized === "false") {
|
|
4910
|
+
if (canvas.dataset.resized === "false" || !canvas.dataset.resized) {
|
|
4911
4911
|
canvas.width = image.naturalWidth;
|
|
4912
4912
|
canvas.height = image.naturalHeight;
|
|
4913
4913
|
canvas.dataset.resized = "true";
|
|
@@ -5496,7 +5496,9 @@ var createRetrieved = (fn) => {
|
|
|
5496
5496
|
|
|
5497
5497
|
// src/components/Save.tsx
|
|
5498
5498
|
var _tmpl$17 = /* @__PURE__ */ template(`<div class="saves__list-item__overlay">`);
|
|
5499
|
-
var _tmpl$24 = /* @__PURE__ */ template(`<
|
|
5499
|
+
var _tmpl$24 = /* @__PURE__ */ template(`<iframe loading="lazy" tabindex="-1" class="saves__list-item__iframe">`);
|
|
5500
|
+
var _tmpl$33 = /* @__PURE__ */ template(`<li class="saves__list-item"><div class="saves__list-item__load" role="button" tabindex="0"></div><div class="saves__list-item__description"><div></div><div></div></div><button type="reset" class="button saves__button-reset"><span>`);
|
|
5501
|
+
var _tmpl$43 = /* @__PURE__ */ template(`<div class="saves__list-item__iframe">`);
|
|
5500
5502
|
var CURRENT_DATE = /* @__PURE__ */ new Date();
|
|
5501
5503
|
var CURRENT_YEAR = CURRENT_DATE.getFullYear();
|
|
5502
5504
|
var stylesheet = createRetrieved(getDocumentStyles);
|
|
@@ -5533,16 +5535,6 @@ var Save = (props) => {
|
|
|
5533
5535
|
minute: "numeric"
|
|
5534
5536
|
}));
|
|
5535
5537
|
const stringType = t(type === "auto" ? "Automatic" : "Manual");
|
|
5536
|
-
const game = createComponent(Game, {
|
|
5537
|
-
controls: "outside",
|
|
5538
|
-
skipTypewriterWhenGoingBack: true,
|
|
5539
|
-
$contextState,
|
|
5540
|
-
context,
|
|
5541
|
-
get store() {
|
|
5542
|
-
return useShared(KEY);
|
|
5543
|
-
},
|
|
5544
|
-
isPreview: true
|
|
5545
|
-
});
|
|
5546
5538
|
const loadSave = () => {
|
|
5547
5539
|
options.set(props.save);
|
|
5548
5540
|
};
|
|
@@ -5560,12 +5552,24 @@ var Save = (props) => {
|
|
|
5560
5552
|
return;
|
|
5561
5553
|
contentDocument.head.insertAdjacentHTML("beforeend", `<style>:root { font-size: 30%; background: black; cursor: pointer; } * { pointer-events: none; } *, *::before, *::after { animation-play-state: paused !important; }</style><style>${stylesheet()}</style>`);
|
|
5562
5554
|
context.root = contentDocument.body;
|
|
5563
|
-
contentDocument.body.appendChild(game);
|
|
5564
5555
|
setIframeLoaded(true);
|
|
5565
5556
|
};
|
|
5557
|
+
let dispose2 = noop;
|
|
5566
5558
|
createEffect(() => {
|
|
5567
5559
|
if (props.observed && iframeLoaded() && !previewStarted()) {
|
|
5568
5560
|
setPreviewStarted(true);
|
|
5561
|
+
dispose2 = render(() => {
|
|
5562
|
+
return createComponent(Game, {
|
|
5563
|
+
controls: "outside",
|
|
5564
|
+
skipTypewriterWhenGoingBack: true,
|
|
5565
|
+
$contextState,
|
|
5566
|
+
context,
|
|
5567
|
+
get store() {
|
|
5568
|
+
return useShared(KEY);
|
|
5569
|
+
},
|
|
5570
|
+
isPreview: true
|
|
5571
|
+
});
|
|
5572
|
+
}, context.root);
|
|
5569
5573
|
options.preview(props.save, KEY).then(() => {
|
|
5570
5574
|
const background = useContextState(KEY).get().background.background;
|
|
5571
5575
|
if (!background || !isCSSImage(background)) {
|
|
@@ -5619,9 +5623,10 @@ var Save = (props) => {
|
|
|
5619
5623
|
});
|
|
5620
5624
|
onCleanup(() => {
|
|
5621
5625
|
clearTimeout(previewDoneTimeoutId);
|
|
5626
|
+
dispose2();
|
|
5622
5627
|
});
|
|
5623
5628
|
return (() => {
|
|
5624
|
-
const _el$ = _tmpl$
|
|
5629
|
+
const _el$ = _tmpl$33(), _el$2 = _el$.firstChild, _el$5 = _el$2.nextSibling, _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling, _el$8 = _el$5.nextSibling, _el$9 = _el$8.firstChild;
|
|
5625
5630
|
setAttribute(_el$, "data-timestamp", timestamp);
|
|
5626
5631
|
_el$2.$$keyup = (event) => {
|
|
5627
5632
|
if (event.code === "Space") {
|
|
@@ -5646,8 +5651,20 @@ var Save = (props) => {
|
|
|
5646
5651
|
}
|
|
5647
5652
|
});
|
|
5648
5653
|
}
|
|
5649
|
-
}),
|
|
5650
|
-
|
|
5654
|
+
}), null);
|
|
5655
|
+
insert(_el$2, createComponent(Show, {
|
|
5656
|
+
get when() {
|
|
5657
|
+
return props.observed;
|
|
5658
|
+
},
|
|
5659
|
+
get fallback() {
|
|
5660
|
+
return _tmpl$43();
|
|
5661
|
+
},
|
|
5662
|
+
get children() {
|
|
5663
|
+
const _el$4 = _tmpl$24();
|
|
5664
|
+
use(setIframe, _el$4);
|
|
5665
|
+
return _el$4;
|
|
5666
|
+
}
|
|
5667
|
+
}), null);
|
|
5651
5668
|
setAttribute(_el$6, "aria-hidden", true);
|
|
5652
5669
|
insert(_el$6, stringDate);
|
|
5653
5670
|
insert(_el$7, stringType);
|
|
@@ -5901,16 +5918,17 @@ function destructure(source, options) {
|
|
|
5901
5918
|
}
|
|
5902
5919
|
|
|
5903
5920
|
// src/screens/game.tsx
|
|
5904
|
-
var _tmpl$19 = /* @__PURE__ */ template(`<div class="
|
|
5905
|
-
var _tmpl$25 = /* @__PURE__ */ template(`<div class="dialog-container"><span class="dialog-fix" aria-hidden="true">​</span><div class="dialog-panel
|
|
5906
|
-
var _tmpl$
|
|
5907
|
-
var _tmpl$
|
|
5908
|
-
var _tmpl$53 = /* @__PURE__ */ template(`<
|
|
5909
|
-
var _tmpl$62 = /* @__PURE__ */ template(`<
|
|
5910
|
-
var _tmpl$72 = /* @__PURE__ */ template(`<div class="control-panel
|
|
5911
|
-
var _tmpl$82 = /* @__PURE__ */ template(`<div
|
|
5912
|
-
var _tmpl$92 = /* @__PURE__ */ template(`<div class="
|
|
5913
|
-
var _tmpl$102 = /* @__PURE__ */ template(`<
|
|
5921
|
+
var _tmpl$19 = /* @__PURE__ */ template(`<div class="action-dialog-person">`);
|
|
5922
|
+
var _tmpl$25 = /* @__PURE__ */ template(`<div class="dialog-container"><span class="dialog-fix" aria-hidden="true">​</span><div class="dialog-panel"><span class="dialog-panel-label">`);
|
|
5923
|
+
var _tmpl$34 = /* @__PURE__ */ template(`<div class="dialog-container"><span class="dialog-fix" aria-hidden="true">​</span><div class="dialog-panel input-dialog-panel"><label for="novely-input" class="input-dialog-label"><span></span><span aria-live="polite" aria-atomic="true"></span></label><button type="submit" class="button dialog-input__button">`);
|
|
5924
|
+
var _tmpl$44 = /* @__PURE__ */ template(`<div class="dialog-container"><span class="dialog-fix" aria-hidden="true">​</span><div class="dialog-backdrop"></div><div class="dialog-panel exit-dialog-panel"><span class="dialog-panel-label"></span><div class="exit-dialog-panel-buttons"><button type="button" class="button"></button><button type="button" class="button">`);
|
|
5925
|
+
var _tmpl$53 = /* @__PURE__ */ template(`<button type="button" class="button control-panel__button">`);
|
|
5926
|
+
var _tmpl$62 = /* @__PURE__ */ template(`<span class="control-panel-container-fix" aria-hidden="true">​`);
|
|
5927
|
+
var _tmpl$72 = /* @__PURE__ */ template(`<div class="control-panel-container-backdrop">`);
|
|
5928
|
+
var _tmpl$82 = /* @__PURE__ */ template(`<div class="control-panel"><div role="menubar" class="control-panel-container">`);
|
|
5929
|
+
var _tmpl$92 = /* @__PURE__ */ template(`<div><div class="characters"></div><div class="action-dialog"><div class="action-dialog-container" role="button" tabindex="0"><div class="action-dialog-content"></div></div></div><div></div><div class="action-text" role="button" tabindex="0">`);
|
|
5930
|
+
var _tmpl$102 = /* @__PURE__ */ template(`<div class="background">`);
|
|
5931
|
+
var _tmpl$112 = /* @__PURE__ */ template(`<button type="button" class="button">`);
|
|
5914
5932
|
var Game = (props) => {
|
|
5915
5933
|
const data = useData();
|
|
5916
5934
|
const {
|
|
@@ -6031,14 +6049,14 @@ var Game = (props) => {
|
|
|
6031
6049
|
}, 0);
|
|
6032
6050
|
});
|
|
6033
6051
|
return (() => {
|
|
6034
|
-
const _el$ = _tmpl$
|
|
6052
|
+
const _el$ = _tmpl$92(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling, _el$4 = _el$3.firstChild, _el$6 = _el$4.firstChild, _el$26 = _el$3.nextSibling, _el$27 = _el$26.nextSibling;
|
|
6035
6053
|
insert(_el$, createComponent(Show, {
|
|
6036
6054
|
get when() {
|
|
6037
6055
|
return bg()["background-image"];
|
|
6038
6056
|
},
|
|
6039
6057
|
get fallback() {
|
|
6040
6058
|
return (() => {
|
|
6041
|
-
const _el$33 = _tmpl$
|
|
6059
|
+
const _el$33 = _tmpl$102();
|
|
6042
6060
|
createRenderEffect((_$p) => style(_el$33, bg(), _$p));
|
|
6043
6061
|
return _el$33;
|
|
6044
6062
|
})();
|
|
@@ -6094,25 +6112,34 @@ var Game = (props) => {
|
|
|
6094
6112
|
addEventListener2(_el$4, "keydown", onKey(DialogWriter.clear, " "), true);
|
|
6095
6113
|
addEventListener2(_el$4, "keypress", onKey(DialogWriter.clear, "Enter"));
|
|
6096
6114
|
addEventListener2(_el$4, "click", DialogWriter.clear, true);
|
|
6097
|
-
insert(_el$
|
|
6115
|
+
insert(_el$4, createComponent(Show, {
|
|
6098
6116
|
get when() {
|
|
6099
6117
|
return dialog().miniature.emotion;
|
|
6100
6118
|
},
|
|
6101
|
-
|
|
6102
|
-
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
6113
|
-
|
|
6119
|
+
get children() {
|
|
6120
|
+
const _el$5 = _tmpl$19();
|
|
6121
|
+
insert(_el$5, createComponent(Show, {
|
|
6122
|
+
get when() {
|
|
6123
|
+
return dialog().miniature.emotion;
|
|
6124
|
+
},
|
|
6125
|
+
keyed: true,
|
|
6126
|
+
children: (emotion) => {
|
|
6127
|
+
const character = dialog().miniature.character;
|
|
6128
|
+
if (!character)
|
|
6129
|
+
return null;
|
|
6130
|
+
if (!store.characters[character] || !store.characters[character].emotions[emotion]) {
|
|
6131
|
+
context.character(character).emotion(emotion, false);
|
|
6132
|
+
}
|
|
6133
|
+
const image = store.characters[character].emotions[emotion];
|
|
6134
|
+
if ("src" in image)
|
|
6135
|
+
return image;
|
|
6136
|
+
const [canvas] = canvasDrawImages(void 0, void 0, Object.values(image));
|
|
6137
|
+
return canvas;
|
|
6138
|
+
}
|
|
6139
|
+
}));
|
|
6140
|
+
return _el$5;
|
|
6114
6141
|
}
|
|
6115
|
-
}));
|
|
6142
|
+
}), _el$6);
|
|
6116
6143
|
insert(_el$6, createComponent(DialogWriter.Typewriter, {
|
|
6117
6144
|
get attributes() {
|
|
6118
6145
|
return {
|
|
@@ -6136,7 +6163,7 @@ var Game = (props) => {
|
|
|
6136
6163
|
isOpen: () => choice().visible,
|
|
6137
6164
|
trapFocus: () => !props.isPreview && !rendererState().exitPromptShown,
|
|
6138
6165
|
get children() {
|
|
6139
|
-
const _el$7 = _tmpl$
|
|
6166
|
+
const _el$7 = _tmpl$25(), _el$8 = _el$7.firstChild, _el$9 = _el$8.nextSibling, _el$10 = _el$9.firstChild;
|
|
6140
6167
|
insert(_el$10, () => choice().label || " ");
|
|
6141
6168
|
insert(_el$9, createComponent(For, {
|
|
6142
6169
|
get each() {
|
|
@@ -6146,7 +6173,7 @@ var Game = (props) => {
|
|
|
6146
6173
|
const disabled = !active;
|
|
6147
6174
|
const index = i();
|
|
6148
6175
|
return (() => {
|
|
6149
|
-
const _el$34 = _tmpl$
|
|
6176
|
+
const _el$34 = _tmpl$112();
|
|
6150
6177
|
_el$34.$$click = onChoicesButtonClick;
|
|
6151
6178
|
_el$34.$$clickData = [disabled, index];
|
|
6152
6179
|
setAttribute(_el$34, "aria-disabled", disabled);
|
|
@@ -6171,7 +6198,7 @@ var Game = (props) => {
|
|
|
6171
6198
|
isOpen: () => input().visible,
|
|
6172
6199
|
trapFocus: () => !props.isPreview && !rendererState().exitPromptShown,
|
|
6173
6200
|
get children() {
|
|
6174
|
-
const _el$11 = _tmpl$
|
|
6201
|
+
const _el$11 = _tmpl$34(), _el$12 = _el$11.firstChild, _el$13 = _el$12.nextSibling, _el$14 = _el$13.firstChild, _el$15 = _el$14.firstChild, _el$16 = _el$15.nextSibling, _el$17 = _el$14.nextSibling;
|
|
6175
6202
|
insert(_el$15, () => input().label);
|
|
6176
6203
|
insert(_el$14, () => input().element, _el$16);
|
|
6177
6204
|
insert(_el$16, () => input().error);
|
|
@@ -6185,7 +6212,7 @@ var Game = (props) => {
|
|
|
6185
6212
|
isOpen: () => rendererState().exitPromptShown && !props.isPreview,
|
|
6186
6213
|
trapFocus: () => !props.isPreview && rendererState().exitPromptShown,
|
|
6187
6214
|
get children() {
|
|
6188
|
-
const _el$18 = _tmpl$
|
|
6215
|
+
const _el$18 = _tmpl$44(), _el$19 = _el$18.firstChild, _el$20 = _el$19.nextSibling, _el$21 = _el$20.nextSibling, _el$22 = _el$21.firstChild, _el$23 = _el$22.nextSibling, _el$24 = _el$23.firstChild, _el$25 = _el$24.nextSibling;
|
|
6189
6216
|
insert(_el$22, () => data.t("ExitDialogWarning"));
|
|
6190
6217
|
_el$24.$$click = () => {
|
|
6191
6218
|
data.$rendererState.setKey("exitPromptShown", false);
|
|
@@ -6232,7 +6259,7 @@ var Game = (props) => {
|
|
|
6232
6259
|
return !props.isPreview;
|
|
6233
6260
|
},
|
|
6234
6261
|
get children() {
|
|
6235
|
-
const _el$28 = _tmpl$
|
|
6262
|
+
const _el$28 = _tmpl$82(), _el$32 = _el$28.firstChild;
|
|
6236
6263
|
insert(_el$28, createComponent(Show, {
|
|
6237
6264
|
get when() {
|
|
6238
6265
|
return data.media.hyperWide();
|
|
@@ -6243,7 +6270,7 @@ var Game = (props) => {
|
|
|
6243
6270
|
return !controlPanelMenuExpanded();
|
|
6244
6271
|
},
|
|
6245
6272
|
get children() {
|
|
6246
|
-
const _el$29 = _tmpl$
|
|
6273
|
+
const _el$29 = _tmpl$53();
|
|
6247
6274
|
_el$29.$$click = () => {
|
|
6248
6275
|
setControlPanelMenuExpanded((prev) => !prev);
|
|
6249
6276
|
};
|
|
@@ -6272,7 +6299,7 @@ var Game = (props) => {
|
|
|
6272
6299
|
return createMemo(() => !!(data.media.hyperWide() && controlPanelMenuExpanded()))() && !rendererState().exitPromptShown;
|
|
6273
6300
|
},
|
|
6274
6301
|
get children() {
|
|
6275
|
-
return [_tmpl$
|
|
6302
|
+
return [_tmpl$62(), _tmpl$72()];
|
|
6276
6303
|
}
|
|
6277
6304
|
}), _el$32);
|
|
6278
6305
|
use((element) => {
|
|
@@ -6307,7 +6334,7 @@ var Game = (props) => {
|
|
|
6307
6334
|
}
|
|
6308
6335
|
}), null);
|
|
6309
6336
|
createRenderEffect((_p$) => {
|
|
6310
|
-
const _v$7 = `${props.className || ""} game`, _v$8 = !!props.isPreview, _v$9 = charactersCount(), _v$10 = !!dialog().visible, _v$11 = !dialog().visible, _v$12 = !(dialog().miniature.character && dialog().miniature.emotion), _v$13 = !dialog().content, _v$14 = !!props.isPreview, _v$15 = Boolean(text().content), _v$16 = !text().content;
|
|
6337
|
+
const _v$7 = `${props.className || ""} game`, _v$8 = !!props.isPreview, _v$9 = charactersCount(), _v$10 = !!dialog().visible, _v$11 = !dialog().visible, _v$12 = !(dialog().miniature.character && dialog().miniature.emotion), _v$13 = !dialog().content, _v$14 = !!props.isPreview, _v$15 = !!Boolean(text().content), _v$16 = !text().content;
|
|
6311
6338
|
_v$7 !== _p$._v$7 && className(_el$, _p$._v$7 = _v$7);
|
|
6312
6339
|
_v$8 !== _p$._v$8 && _el$.classList.toggle("preview", _p$._v$8 = _v$8);
|
|
6313
6340
|
_v$9 !== _p$._v$9 && ((_p$._v$9 = _v$9) != null ? _el$2.style.setProperty("--shown-characters-count", _v$9) : _el$2.style.removeProperty("--shown-characters-count"));
|
|
@@ -6316,7 +6343,7 @@ var Game = (props) => {
|
|
|
6316
6343
|
_v$12 !== _p$._v$12 && setAttribute(_el$4, "data-no-person", _p$._v$12 = _v$12);
|
|
6317
6344
|
_v$13 !== _p$._v$13 && setAttribute(_el$4, "aria-disabled", _p$._v$13 = _v$13);
|
|
6318
6345
|
_v$14 !== _p$._v$14 && _el$6.classList.toggle("action-dialog-content--disable-shadow", _p$._v$14 = _v$14);
|
|
6319
|
-
_v$15 !== _p$._v$15 &&
|
|
6346
|
+
_v$15 !== _p$._v$15 && _el$27.classList.toggle("action-text--shown", _p$._v$15 = _v$15);
|
|
6320
6347
|
_v$16 !== _p$._v$16 && setAttribute(_el$27, "aria-disabled", _p$._v$16 = _v$16);
|
|
6321
6348
|
return _p$;
|
|
6322
6349
|
}, {
|
|
@@ -6418,7 +6445,7 @@ delegateEvents(["click"]);
|
|
|
6418
6445
|
// src/screens/saves.tsx
|
|
6419
6446
|
var _tmpl$27 = /* @__PURE__ */ template(`<ol class="saves__list">`);
|
|
6420
6447
|
var _tmpl$28 = /* @__PURE__ */ template(`<div class="saves"><div class="saves__controls"><button type="button" class="button saves__button"></button></div><div class="saves__list-container">`);
|
|
6421
|
-
var _tmpl$
|
|
6448
|
+
var _tmpl$35 = /* @__PURE__ */ template(`<div class="saves__list saves__list--empty">`);
|
|
6422
6449
|
var Saves = () => {
|
|
6423
6450
|
const {
|
|
6424
6451
|
t,
|
|
@@ -6500,7 +6527,7 @@ var Saves = () => {
|
|
|
6500
6527
|
},
|
|
6501
6528
|
get fallback() {
|
|
6502
6529
|
return (() => {
|
|
6503
|
-
const _el$6 = _tmpl$
|
|
6530
|
+
const _el$6 = _tmpl$35();
|
|
6504
6531
|
insert(_el$6, () => t("NoSaves"));
|
|
6505
6532
|
return _el$6;
|
|
6506
6533
|
})();
|
package/dist/styles/index.css
CHANGED
|
@@ -201,6 +201,9 @@
|
|
|
201
201
|
.action-text {
|
|
202
202
|
z-index: 10;
|
|
203
203
|
text-align: center;
|
|
204
|
+
background: var(--novely-fullscreen-background-color, #0000004d);
|
|
205
|
+
text-shadow: var(--novely-fullscreen-text-shadow, .125rem .125rem .25rem #00000080);
|
|
206
|
+
color: var(--novely-fullscreen-text-color, white);
|
|
204
207
|
max-width: 100vw;
|
|
205
208
|
font-size: 2rem;
|
|
206
209
|
display: none;
|
|
@@ -210,20 +213,17 @@
|
|
|
210
213
|
left: 0;
|
|
211
214
|
right: 0;
|
|
212
215
|
}
|
|
213
|
-
.action-text
|
|
214
|
-
background: var(--novely-fullscreen-background-color, #0000004d);
|
|
215
|
-
text-shadow: var(--novely-fullscreen-text-shadow, .125rem .125rem .25rem #00000080);
|
|
216
|
-
color: var(--novely-fullscreen-text-color, white);
|
|
216
|
+
.action-text--shown {
|
|
217
217
|
justify-content: center;
|
|
218
218
|
align-items: center;
|
|
219
219
|
display: flex;
|
|
220
220
|
}
|
|
221
|
-
.action-text
|
|
221
|
+
.action-text > span {
|
|
222
222
|
cursor: pointer;
|
|
223
223
|
word-wrap: break-word;
|
|
224
224
|
word-break: break-word;
|
|
225
225
|
}
|
|
226
|
-
.action-text
|
|
226
|
+
.action-text:focus-visible > span {
|
|
227
227
|
text-decoration: underline;
|
|
228
228
|
}
|
|
229
229
|
.action-text,
|
|
@@ -422,6 +422,7 @@
|
|
|
422
422
|
justify-content: flex-end;
|
|
423
423
|
width: 75%;
|
|
424
424
|
min-height: 26vh;
|
|
425
|
+
display: flex;
|
|
425
426
|
position: fixed;
|
|
426
427
|
bottom: .4rem;
|
|
427
428
|
left: 50%;
|
|
@@ -450,8 +451,11 @@
|
|
|
450
451
|
display: flex;
|
|
451
452
|
}
|
|
452
453
|
.action-dialog-person {
|
|
454
|
+
justify-content: center;
|
|
455
|
+
align-items: flex-end;
|
|
453
456
|
max-width: 25vw;
|
|
454
457
|
max-height: 25vh;
|
|
458
|
+
display: flex;
|
|
455
459
|
}
|
|
456
460
|
.action-dialog-name,
|
|
457
461
|
.action-dialog-content {
|
|
@@ -678,6 +682,13 @@
|
|
|
678
682
|
position: fixed;
|
|
679
683
|
}
|
|
680
684
|
|
|
685
|
+
/* src/styles/game/game/game.css */
|
|
686
|
+
.game {
|
|
687
|
+
background: #000;
|
|
688
|
+
width: 100%;
|
|
689
|
+
height: 100%;
|
|
690
|
+
}
|
|
691
|
+
|
|
681
692
|
/* src/styles/game/index.css */
|
|
682
693
|
|
|
683
694
|
/* src/styles/main-menu/main-menu.css */
|
|
@@ -918,6 +929,7 @@
|
|
|
918
929
|
}
|
|
919
930
|
.saves__list {
|
|
920
931
|
padding: var(--novely-saves-list-border-width, .875rem) 1rem;
|
|
932
|
+
content-visibility: auto;
|
|
921
933
|
border-radius: var(--novely-saves-list-border-radius, .875rem);
|
|
922
934
|
background-color: var(--novely-saves-list-background-color, #ffffff57);
|
|
923
935
|
flex-wrap: wrap;
|
|
@@ -986,6 +998,7 @@
|
|
|
986
998
|
border: none;
|
|
987
999
|
width: 100%;
|
|
988
1000
|
height: 100%;
|
|
1001
|
+
display: block;
|
|
989
1002
|
}
|
|
990
1003
|
.saves__list-item__load {
|
|
991
1004
|
cursor: pointer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@novely/solid-renderer",
|
|
3
|
-
"version": "0.29.1-beta.
|
|
3
|
+
"version": "0.29.1-beta.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"retrieved": "^0.1.0",
|
|
20
20
|
"solid-js": "1.8.17",
|
|
21
21
|
"solid-transition-group": "^0.2.3",
|
|
22
|
-
"@novely/core": "0.
|
|
22
|
+
"@novely/core": "0.33.0-beta.0",
|
|
23
23
|
"@novely/renderer-toolkit": "0.3.2",
|
|
24
24
|
"@novely/typewriter": "0.5.1"
|
|
25
25
|
},
|