@novely/solid-renderer 0.2.2 → 0.2.3
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 +2 -2
- package/dist/styles/index.css +4 -3
- package/package.json +1 -1
package/dist/index.jsx
CHANGED
|
@@ -79,7 +79,7 @@ var DialogName = (props) => {
|
|
|
79
79
|
opacity: props.character ? 1 : 0,
|
|
80
80
|
visibility: props.character ? "visible" : "hidden"
|
|
81
81
|
}}
|
|
82
|
-
>{props.name ||
|
|
82
|
+
>{props.name || <> </>}</span>;
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
// src/components/Character.tsx
|
|
@@ -390,7 +390,7 @@ var Game = (props) => {
|
|
|
390
390
|
class="dialog-panel-label"
|
|
391
391
|
data-used={Boolean(props.state.choices.question)}
|
|
392
392
|
aria-hidden={!props.state.choices.question}
|
|
393
|
-
>{props.state.choices.question ||
|
|
393
|
+
>{props.state.choices.question || <> </>}</span>
|
|
394
394
|
<For each={props.state.choices.choices}>{([text, _, active], i) => {
|
|
395
395
|
const disabled = active ? !active() : false;
|
|
396
396
|
const index = i();
|
package/dist/styles/index.css
CHANGED
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"Segoe UI Emoji",
|
|
19
19
|
"Segoe UI Symbol",
|
|
20
20
|
"Noto Color Emoji";
|
|
21
|
-
background-repeat: no-repeat;
|
|
22
|
-
background-position: center;
|
|
23
|
-
background-size: cover;
|
|
21
|
+
background-repeat: var(--novely-root-background-repeat, no-repeat);
|
|
22
|
+
background-position: var(--novely-root-background-position, center);
|
|
23
|
+
background-size: var(--novely-root-background-size, cover);
|
|
24
24
|
}
|
|
25
25
|
.root,
|
|
26
26
|
.root * {
|
|
@@ -168,6 +168,7 @@
|
|
|
168
168
|
font-size: 1.02rem;
|
|
169
169
|
padding: 0.25rem 0.5rem;
|
|
170
170
|
border-radius: 0.25rem;
|
|
171
|
+
user-select: none;
|
|
171
172
|
}
|
|
172
173
|
|
|
173
174
|
/* src/styles/select/index.css */
|