@novely/solid-renderer 0.29.1-beta.3 → 0.29.1-beta.5
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 +80 -54
- package/dist/styles/index.css +12 -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);
|
|
@@ -5523,6 +5525,18 @@ var Save = (props) => {
|
|
|
5523
5525
|
const KEY = `save-${timestamp}-${type}`;
|
|
5524
5526
|
const $contextState = useContextState(KEY);
|
|
5525
5527
|
const context = getContext2(KEY);
|
|
5528
|
+
const game = createMemo(() => {
|
|
5529
|
+
return createComponent(Game, {
|
|
5530
|
+
controls: "outside",
|
|
5531
|
+
skipTypewriterWhenGoingBack: true,
|
|
5532
|
+
$contextState,
|
|
5533
|
+
context,
|
|
5534
|
+
get store() {
|
|
5535
|
+
return useShared(KEY);
|
|
5536
|
+
},
|
|
5537
|
+
isPreview: true
|
|
5538
|
+
});
|
|
5539
|
+
});
|
|
5526
5540
|
const year = date.getFullYear();
|
|
5527
5541
|
const stringDate = () => capitalize(date.toLocaleDateString(props.language, {
|
|
5528
5542
|
year: year === CURRENT_YEAR ? void 0 : "numeric",
|
|
@@ -5533,16 +5547,6 @@ var Save = (props) => {
|
|
|
5533
5547
|
minute: "numeric"
|
|
5534
5548
|
}));
|
|
5535
5549
|
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
5550
|
const loadSave = () => {
|
|
5547
5551
|
options.set(props.save);
|
|
5548
5552
|
};
|
|
@@ -5560,7 +5564,7 @@ var Save = (props) => {
|
|
|
5560
5564
|
return;
|
|
5561
5565
|
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
5566
|
context.root = contentDocument.body;
|
|
5563
|
-
|
|
5567
|
+
context.root.appendChild(game());
|
|
5564
5568
|
setIframeLoaded(true);
|
|
5565
5569
|
};
|
|
5566
5570
|
createEffect(() => {
|
|
@@ -5621,7 +5625,7 @@ var Save = (props) => {
|
|
|
5621
5625
|
clearTimeout(previewDoneTimeoutId);
|
|
5622
5626
|
});
|
|
5623
5627
|
return (() => {
|
|
5624
|
-
const _el$ = _tmpl$
|
|
5628
|
+
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
5629
|
setAttribute(_el$, "data-timestamp", timestamp);
|
|
5626
5630
|
_el$2.$$keyup = (event) => {
|
|
5627
5631
|
if (event.code === "Space") {
|
|
@@ -5646,8 +5650,20 @@ var Save = (props) => {
|
|
|
5646
5650
|
}
|
|
5647
5651
|
});
|
|
5648
5652
|
}
|
|
5649
|
-
}),
|
|
5650
|
-
|
|
5653
|
+
}), null);
|
|
5654
|
+
insert(_el$2, createComponent(Show, {
|
|
5655
|
+
get when() {
|
|
5656
|
+
return props.observed;
|
|
5657
|
+
},
|
|
5658
|
+
get fallback() {
|
|
5659
|
+
return _tmpl$43();
|
|
5660
|
+
},
|
|
5661
|
+
get children() {
|
|
5662
|
+
const _el$4 = _tmpl$24();
|
|
5663
|
+
use(setIframe, _el$4);
|
|
5664
|
+
return _el$4;
|
|
5665
|
+
}
|
|
5666
|
+
}), null);
|
|
5651
5667
|
setAttribute(_el$6, "aria-hidden", true);
|
|
5652
5668
|
insert(_el$6, stringDate);
|
|
5653
5669
|
insert(_el$7, stringType);
|
|
@@ -5901,16 +5917,17 @@ function destructure(source, options) {
|
|
|
5901
5917
|
}
|
|
5902
5918
|
|
|
5903
5919
|
// 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(`<
|
|
5920
|
+
var _tmpl$19 = /* @__PURE__ */ template(`<div class="action-dialog-person">`);
|
|
5921
|
+
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">`);
|
|
5922
|
+
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">`);
|
|
5923
|
+
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">`);
|
|
5924
|
+
var _tmpl$53 = /* @__PURE__ */ template(`<button type="button" class="button control-panel__button">`);
|
|
5925
|
+
var _tmpl$62 = /* @__PURE__ */ template(`<span class="control-panel-container-fix" aria-hidden="true">​`);
|
|
5926
|
+
var _tmpl$72 = /* @__PURE__ */ template(`<div class="control-panel-container-backdrop">`);
|
|
5927
|
+
var _tmpl$82 = /* @__PURE__ */ template(`<div class="control-panel"><div role="menubar" class="control-panel-container">`);
|
|
5928
|
+
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">`);
|
|
5929
|
+
var _tmpl$102 = /* @__PURE__ */ template(`<div class="background">`);
|
|
5930
|
+
var _tmpl$112 = /* @__PURE__ */ template(`<button type="button" class="button">`);
|
|
5914
5931
|
var Game = (props) => {
|
|
5915
5932
|
const data = useData();
|
|
5916
5933
|
const {
|
|
@@ -6031,14 +6048,14 @@ var Game = (props) => {
|
|
|
6031
6048
|
}, 0);
|
|
6032
6049
|
});
|
|
6033
6050
|
return (() => {
|
|
6034
|
-
const _el$ = _tmpl$
|
|
6051
|
+
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
6052
|
insert(_el$, createComponent(Show, {
|
|
6036
6053
|
get when() {
|
|
6037
6054
|
return bg()["background-image"];
|
|
6038
6055
|
},
|
|
6039
6056
|
get fallback() {
|
|
6040
6057
|
return (() => {
|
|
6041
|
-
const _el$33 = _tmpl$
|
|
6058
|
+
const _el$33 = _tmpl$102();
|
|
6042
6059
|
createRenderEffect((_$p) => style(_el$33, bg(), _$p));
|
|
6043
6060
|
return _el$33;
|
|
6044
6061
|
})();
|
|
@@ -6094,25 +6111,34 @@ var Game = (props) => {
|
|
|
6094
6111
|
addEventListener2(_el$4, "keydown", onKey(DialogWriter.clear, " "), true);
|
|
6095
6112
|
addEventListener2(_el$4, "keypress", onKey(DialogWriter.clear, "Enter"));
|
|
6096
6113
|
addEventListener2(_el$4, "click", DialogWriter.clear, true);
|
|
6097
|
-
insert(_el$
|
|
6114
|
+
insert(_el$4, createComponent(Show, {
|
|
6098
6115
|
get when() {
|
|
6099
6116
|
return dialog().miniature.emotion;
|
|
6100
6117
|
},
|
|
6101
|
-
|
|
6102
|
-
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
6113
|
-
|
|
6118
|
+
get children() {
|
|
6119
|
+
const _el$5 = _tmpl$19();
|
|
6120
|
+
insert(_el$5, createComponent(Show, {
|
|
6121
|
+
get when() {
|
|
6122
|
+
return dialog().miniature.emotion;
|
|
6123
|
+
},
|
|
6124
|
+
keyed: true,
|
|
6125
|
+
children: (emotion) => {
|
|
6126
|
+
const character = dialog().miniature.character;
|
|
6127
|
+
if (!character)
|
|
6128
|
+
return null;
|
|
6129
|
+
if (!store.characters[character] || !store.characters[character].emotions[emotion]) {
|
|
6130
|
+
context.character(character).emotion(emotion, false);
|
|
6131
|
+
}
|
|
6132
|
+
const image = store.characters[character].emotions[emotion];
|
|
6133
|
+
if ("src" in image)
|
|
6134
|
+
return image;
|
|
6135
|
+
const [canvas] = canvasDrawImages(void 0, void 0, Object.values(image));
|
|
6136
|
+
return canvas;
|
|
6137
|
+
}
|
|
6138
|
+
}));
|
|
6139
|
+
return _el$5;
|
|
6114
6140
|
}
|
|
6115
|
-
}));
|
|
6141
|
+
}), _el$6);
|
|
6116
6142
|
insert(_el$6, createComponent(DialogWriter.Typewriter, {
|
|
6117
6143
|
get attributes() {
|
|
6118
6144
|
return {
|
|
@@ -6136,7 +6162,7 @@ var Game = (props) => {
|
|
|
6136
6162
|
isOpen: () => choice().visible,
|
|
6137
6163
|
trapFocus: () => !props.isPreview && !rendererState().exitPromptShown,
|
|
6138
6164
|
get children() {
|
|
6139
|
-
const _el$7 = _tmpl$
|
|
6165
|
+
const _el$7 = _tmpl$25(), _el$8 = _el$7.firstChild, _el$9 = _el$8.nextSibling, _el$10 = _el$9.firstChild;
|
|
6140
6166
|
insert(_el$10, () => choice().label || " ");
|
|
6141
6167
|
insert(_el$9, createComponent(For, {
|
|
6142
6168
|
get each() {
|
|
@@ -6146,7 +6172,7 @@ var Game = (props) => {
|
|
|
6146
6172
|
const disabled = !active;
|
|
6147
6173
|
const index = i();
|
|
6148
6174
|
return (() => {
|
|
6149
|
-
const _el$34 = _tmpl$
|
|
6175
|
+
const _el$34 = _tmpl$112();
|
|
6150
6176
|
_el$34.$$click = onChoicesButtonClick;
|
|
6151
6177
|
_el$34.$$clickData = [disabled, index];
|
|
6152
6178
|
setAttribute(_el$34, "aria-disabled", disabled);
|
|
@@ -6171,7 +6197,7 @@ var Game = (props) => {
|
|
|
6171
6197
|
isOpen: () => input().visible,
|
|
6172
6198
|
trapFocus: () => !props.isPreview && !rendererState().exitPromptShown,
|
|
6173
6199
|
get children() {
|
|
6174
|
-
const _el$11 = _tmpl$
|
|
6200
|
+
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
6201
|
insert(_el$15, () => input().label);
|
|
6176
6202
|
insert(_el$14, () => input().element, _el$16);
|
|
6177
6203
|
insert(_el$16, () => input().error);
|
|
@@ -6185,7 +6211,7 @@ var Game = (props) => {
|
|
|
6185
6211
|
isOpen: () => rendererState().exitPromptShown && !props.isPreview,
|
|
6186
6212
|
trapFocus: () => !props.isPreview && rendererState().exitPromptShown,
|
|
6187
6213
|
get children() {
|
|
6188
|
-
const _el$18 = _tmpl$
|
|
6214
|
+
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
6215
|
insert(_el$22, () => data.t("ExitDialogWarning"));
|
|
6190
6216
|
_el$24.$$click = () => {
|
|
6191
6217
|
data.$rendererState.setKey("exitPromptShown", false);
|
|
@@ -6232,7 +6258,7 @@ var Game = (props) => {
|
|
|
6232
6258
|
return !props.isPreview;
|
|
6233
6259
|
},
|
|
6234
6260
|
get children() {
|
|
6235
|
-
const _el$28 = _tmpl$
|
|
6261
|
+
const _el$28 = _tmpl$82(), _el$32 = _el$28.firstChild;
|
|
6236
6262
|
insert(_el$28, createComponent(Show, {
|
|
6237
6263
|
get when() {
|
|
6238
6264
|
return data.media.hyperWide();
|
|
@@ -6243,7 +6269,7 @@ var Game = (props) => {
|
|
|
6243
6269
|
return !controlPanelMenuExpanded();
|
|
6244
6270
|
},
|
|
6245
6271
|
get children() {
|
|
6246
|
-
const _el$29 = _tmpl$
|
|
6272
|
+
const _el$29 = _tmpl$53();
|
|
6247
6273
|
_el$29.$$click = () => {
|
|
6248
6274
|
setControlPanelMenuExpanded((prev) => !prev);
|
|
6249
6275
|
};
|
|
@@ -6272,7 +6298,7 @@ var Game = (props) => {
|
|
|
6272
6298
|
return createMemo(() => !!(data.media.hyperWide() && controlPanelMenuExpanded()))() && !rendererState().exitPromptShown;
|
|
6273
6299
|
},
|
|
6274
6300
|
get children() {
|
|
6275
|
-
return [_tmpl$
|
|
6301
|
+
return [_tmpl$62(), _tmpl$72()];
|
|
6276
6302
|
}
|
|
6277
6303
|
}), _el$32);
|
|
6278
6304
|
use((element) => {
|
|
@@ -6307,7 +6333,7 @@ var Game = (props) => {
|
|
|
6307
6333
|
}
|
|
6308
6334
|
}), null);
|
|
6309
6335
|
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;
|
|
6336
|
+
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
6337
|
_v$7 !== _p$._v$7 && className(_el$, _p$._v$7 = _v$7);
|
|
6312
6338
|
_v$8 !== _p$._v$8 && _el$.classList.toggle("preview", _p$._v$8 = _v$8);
|
|
6313
6339
|
_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 +6342,7 @@ var Game = (props) => {
|
|
|
6316
6342
|
_v$12 !== _p$._v$12 && setAttribute(_el$4, "data-no-person", _p$._v$12 = _v$12);
|
|
6317
6343
|
_v$13 !== _p$._v$13 && setAttribute(_el$4, "aria-disabled", _p$._v$13 = _v$13);
|
|
6318
6344
|
_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 &&
|
|
6345
|
+
_v$15 !== _p$._v$15 && _el$27.classList.toggle("action-text--shown", _p$._v$15 = _v$15);
|
|
6320
6346
|
_v$16 !== _p$._v$16 && setAttribute(_el$27, "aria-disabled", _p$._v$16 = _v$16);
|
|
6321
6347
|
return _p$;
|
|
6322
6348
|
}, {
|
|
@@ -6418,7 +6444,7 @@ delegateEvents(["click"]);
|
|
|
6418
6444
|
// src/screens/saves.tsx
|
|
6419
6445
|
var _tmpl$27 = /* @__PURE__ */ template(`<ol class="saves__list">`);
|
|
6420
6446
|
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$
|
|
6447
|
+
var _tmpl$35 = /* @__PURE__ */ template(`<div class="saves__list saves__list--empty">`);
|
|
6422
6448
|
var Saves = () => {
|
|
6423
6449
|
const {
|
|
6424
6450
|
t,
|
|
@@ -6500,7 +6526,7 @@ var Saves = () => {
|
|
|
6500
6526
|
},
|
|
6501
6527
|
get fallback() {
|
|
6502
6528
|
return (() => {
|
|
6503
|
-
const _el$6 = _tmpl$
|
|
6529
|
+
const _el$6 = _tmpl$35();
|
|
6504
6530
|
insert(_el$6, () => t("NoSaves"));
|
|
6505
6531
|
return _el$6;
|
|
6506
6532
|
})();
|
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 {
|
|
@@ -925,6 +929,7 @@
|
|
|
925
929
|
}
|
|
926
930
|
.saves__list {
|
|
927
931
|
padding: var(--novely-saves-list-border-width, .875rem) 1rem;
|
|
932
|
+
content-visibility: auto;
|
|
928
933
|
border-radius: var(--novely-saves-list-border-radius, .875rem);
|
|
929
934
|
background-color: var(--novely-saves-list-background-color, #ffffff57);
|
|
930
935
|
flex-wrap: wrap;
|
|
@@ -993,6 +998,7 @@
|
|
|
993
998
|
border: none;
|
|
994
999
|
width: 100%;
|
|
995
1000
|
height: 100%;
|
|
1001
|
+
display: block;
|
|
996
1002
|
}
|
|
997
1003
|
.saves__list-item__load {
|
|
998
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.5",
|
|
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
|
},
|