@articles-media/articles-dev-box 1.0.30 → 1.0.31
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/CreditsModal.js
CHANGED
|
@@ -3,8 +3,8 @@ import { useState as t } from "react";
|
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
import { Modal as i } from "react-bootstrap";
|
|
5
5
|
//#region src/components/Games/Credits/CreditsModal.jsx
|
|
6
|
-
function a({ show: a, setShow: o, useStore: s, owner: c, repo: l, developers: u, publisher: d, introText: f }) {
|
|
7
|
-
let [
|
|
6
|
+
function a({ show: a, setShow: o, useStore: s, owner: c, repo: l, developers: u, publisher: d, introText: f, outroText: p }) {
|
|
7
|
+
let [m, h] = t(!1);
|
|
8
8
|
return /* @__PURE__ */ r(i, {
|
|
9
9
|
className: "articles-modal",
|
|
10
10
|
size: "md",
|
|
@@ -54,13 +54,17 @@ function a({ show: a, setShow: o, useStore: s, owner: c, repo: l, developers: u,
|
|
|
54
54
|
})
|
|
55
55
|
})] }),
|
|
56
56
|
c && l && /* @__PURE__ */ r("div", {
|
|
57
|
-
className: "",
|
|
57
|
+
className: "mb-3",
|
|
58
58
|
children: [/* @__PURE__ */ n("div", { children: "Attributions:" }), /* @__PURE__ */ n("a", {
|
|
59
59
|
href: `https://github.com/${c}/${l}/blob/main/README.md#attributions`,
|
|
60
60
|
target: "_blank",
|
|
61
61
|
rel: "noopener noreferrer",
|
|
62
62
|
children: /* @__PURE__ */ r(e, { children: [/* @__PURE__ */ n("i", { className: "fab fa-github" }), "View on GitHub"] })
|
|
63
63
|
})]
|
|
64
|
+
}),
|
|
65
|
+
p && /* @__PURE__ */ n("div", {
|
|
66
|
+
className: "mb-3",
|
|
67
|
+
children: p
|
|
64
68
|
})
|
|
65
69
|
]
|
|
66
70
|
}),
|
|
@@ -80,71 +80,78 @@ function c({ useAudioStore: t, config: o }) {
|
|
|
80
80
|
children: "Enabled"
|
|
81
81
|
})]
|
|
82
82
|
}),
|
|
83
|
-
|
|
84
|
-
className: "mb-
|
|
85
|
-
children: e.
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
83
|
+
/* @__PURE__ */ r("div", {
|
|
84
|
+
className: "border mb-3 p-2",
|
|
85
|
+
children: o?.tabs?.Audio?.sliders?.map((e) => /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r(a.Label, {
|
|
86
|
+
className: "mb-0",
|
|
87
|
+
children: e.label
|
|
88
|
+
}), /* @__PURE__ */ r(a.Range, {
|
|
89
|
+
value: s?.[e.key],
|
|
90
|
+
onChange: (t) => {
|
|
91
|
+
c({
|
|
92
|
+
...s,
|
|
93
|
+
[e.key]: t.target.value
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
})] }, e.key))
|
|
97
|
+
}),
|
|
98
|
+
o?.tabs?.Controls?.children
|
|
95
99
|
] });
|
|
96
100
|
}
|
|
97
101
|
//#endregion
|
|
98
102
|
//#region src/components/Games/Settings/MultiplayerTab.jsx
|
|
99
103
|
function l({ useStore: e, config: t }) {
|
|
100
|
-
return /* @__PURE__ */
|
|
104
|
+
return /* @__PURE__ */ i("div", {
|
|
101
105
|
className: "",
|
|
102
|
-
children: e && /* @__PURE__ */ r(u, { useStore: e })
|
|
106
|
+
children: [e && /* @__PURE__ */ r(u, { useStore: e }), t?.tabs?.Multiplayer?.children]
|
|
103
107
|
});
|
|
104
108
|
}
|
|
105
109
|
function u({ useStore: t }) {
|
|
106
110
|
let n = t((e) => e.serverUrl), o = t((e) => e.setServerUrl), s = t((e) => e.connected), c = t((e) => e.connectSocket), l = t((e) => e.disconnectSocket);
|
|
107
|
-
return /* @__PURE__ */ i("div", {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
className:
|
|
112
|
-
children:
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
className: "",
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
111
|
+
return /* @__PURE__ */ i("div", {
|
|
112
|
+
className: "mb-3",
|
|
113
|
+
children: [
|
|
114
|
+
/* @__PURE__ */ i(a.Label, {
|
|
115
|
+
className: "mb-0",
|
|
116
|
+
children: [/* @__PURE__ */ i("div", { children: ["Status: ", /* @__PURE__ */ r("span", {
|
|
117
|
+
className: `badge ${s ? "bg-success" : "bg-danger"}`,
|
|
118
|
+
children: s ? "Online" : "Offline"
|
|
119
|
+
})] }), "Socket Server Host"]
|
|
120
|
+
}),
|
|
121
|
+
/* @__PURE__ */ r(a.Control, {
|
|
122
|
+
type: "text",
|
|
123
|
+
value: n,
|
|
124
|
+
onChange: (e) => o(e.target.value)
|
|
125
|
+
}),
|
|
126
|
+
/* @__PURE__ */ r(a.Label, {
|
|
127
|
+
className: "mb-0",
|
|
128
|
+
children: "Edit this to connect to a different multiplayer host!"
|
|
129
|
+
}),
|
|
130
|
+
/* @__PURE__ */ r("div", {
|
|
131
|
+
className: "mt-3",
|
|
132
|
+
children: s ? /* @__PURE__ */ r(e, {
|
|
133
|
+
className: "",
|
|
134
|
+
onClick: () => {
|
|
135
|
+
l();
|
|
136
|
+
},
|
|
137
|
+
children: "Disconnect"
|
|
138
|
+
}) : /* @__PURE__ */ r(e, {
|
|
139
|
+
className: "",
|
|
140
|
+
onClick: () => {
|
|
141
|
+
c();
|
|
142
|
+
},
|
|
143
|
+
children: "Connect"
|
|
144
|
+
})
|
|
138
145
|
})
|
|
139
|
-
|
|
140
|
-
|
|
146
|
+
]
|
|
147
|
+
});
|
|
141
148
|
}
|
|
142
149
|
//#endregion
|
|
143
150
|
//#region src/components/Games/Settings/ControlsTab.jsx
|
|
144
|
-
function d({ useTouchControlsStore: e }) {
|
|
145
|
-
return /* @__PURE__ */
|
|
151
|
+
function d({ useTouchControlsStore: e, config: t }) {
|
|
152
|
+
return /* @__PURE__ */ i("div", {
|
|
146
153
|
className: "",
|
|
147
|
-
children: e && /* @__PURE__ */ r(f, { useTouchControlsStore: e })
|
|
154
|
+
children: [e && /* @__PURE__ */ r(f, { useTouchControlsStore: e }), t?.tabs?.Controls?.children]
|
|
148
155
|
});
|
|
149
156
|
}
|
|
150
157
|
function f({ useTouchControlsStore: t }) {
|
|
@@ -172,16 +179,16 @@ function f({ useTouchControlsStore: t }) {
|
|
|
172
179
|
}
|
|
173
180
|
//#endregion
|
|
174
181
|
//#region src/components/Games/Settings/OtherTab.jsx
|
|
175
|
-
function p({ useStore: t, config: a
|
|
176
|
-
let
|
|
182
|
+
function p({ useStore: t, config: a }) {
|
|
183
|
+
let o = t((e) => e?.debug), s = t((e) => e?.setDebug), c = t((e) => e?.toontownMode), l = t((e) => e?.setToontownMode);
|
|
177
184
|
return /* @__PURE__ */ i(n, { children: [
|
|
178
185
|
/* @__PURE__ */ r("div", { children: "Debug Mode" }),
|
|
179
186
|
/* @__PURE__ */ r("div", {
|
|
180
187
|
className: "mb-3",
|
|
181
188
|
children: [!1, !0].map((t, n) => /* @__PURE__ */ r(e, {
|
|
182
|
-
active:
|
|
189
|
+
active: o === t,
|
|
183
190
|
onClick: () => {
|
|
184
|
-
|
|
191
|
+
s(t);
|
|
185
192
|
},
|
|
186
193
|
children: t ? "On" : "Off"
|
|
187
194
|
}, n))
|
|
@@ -195,21 +202,15 @@ function p({ useStore: t, config: a, children: o }) {
|
|
|
195
202
|
/* @__PURE__ */ r("div", {
|
|
196
203
|
className: "mb-3",
|
|
197
204
|
children: [!1, !0].map((t, n) => /* @__PURE__ */ r(e, {
|
|
198
|
-
active:
|
|
205
|
+
active: c === t,
|
|
199
206
|
onClick: () => {
|
|
200
|
-
|
|
207
|
+
l(t);
|
|
201
208
|
},
|
|
202
209
|
children: t ? "On" : "Off"
|
|
203
210
|
}, n))
|
|
204
211
|
})
|
|
205
212
|
] }),
|
|
206
|
-
|
|
207
|
-
className: "mb-3",
|
|
208
|
-
children: "Other Settings"
|
|
209
|
-
}), /* @__PURE__ */ r("div", {
|
|
210
|
-
className: "mb-3",
|
|
211
|
-
children: o
|
|
212
|
-
})] })
|
|
213
|
+
a?.tabs?.Other?.children
|
|
213
214
|
] });
|
|
214
215
|
}
|
|
215
216
|
//#endregion
|
|
@@ -219,7 +220,7 @@ function m({ show: n, setShow: a, store: u, useAudioStore: f, useTouchControlsSt
|
|
|
219
220
|
b(e), localStorage.setItem("articles_settings_tab", e);
|
|
220
221
|
};
|
|
221
222
|
return u((e) => e.darkMode), u((e) => e.setDarkMode), u((e) => e.arcadeMode), u((e) => e.setArcadeMode), /* @__PURE__ */ i(o, {
|
|
222
|
-
className: "articles-modal",
|
|
223
|
+
className: "articles-modal articles-settings-modal",
|
|
223
224
|
size: "md",
|
|
224
225
|
show: n,
|
|
225
226
|
centered: !0,
|
package/dist/SettingsModal.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./SettingsModal-
|
|
1
|
+
import { t as e } from "./SettingsModal-CiLvMoLW.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.ad-wrap{z-index:1;--card-background:#f9edcd;--bs-body-color:#000;width:100%;max-width:312px;margin:0 auto 1rem}.ad-wrap.active-member .ad .main-panel{height:310px}.ad-wrap .ad{z-index:2;align-self:flex-start;width:100%;font-family:brandon-grotesque,sans-serif;font-size:14px;position:relative;box-shadow:0 0 0 1px #00000040,0 2px 3px #0003}@media (width<=768px){.ad-wrap .ad{width:100%;font-size:16px}}.ad-wrap .ad .main-panel{background-color:var(--articles-ad-background-color,var(--card-background));color:var(--articles-ad-font-color,var(--bs-body-color));flex-direction:column;height:400px;display:flex}.ad-wrap .ad .main-panel .ad-warning{border-bottom:1px solid var(--articles-ad-border-color,var(--card-background));padding:.1rem .75rem;font-family:brandon-grotesque,sans-serif;font-size:1rem;font-weight:900}.ad-wrap .ad .main-panel .content-wrap{flex-direction:column;align-items:center;display:flex}@media (width>=992px){.ad-wrap .ad .main-panel .content-wrap{flex-direction:column}}.ad-wrap .ad .main-panel .photo-banner{border-bottom:1px solid #000;flex-shrink:0;align-items:center;width:100%;height:125px;margin-left:0;padding-left:1rem;display:flex;position:relative}.ad-wrap .ad .main-panel .photo-banner .logo{object-fit:cover;z-index:1}.ad-wrap .ad .main-panel .photo-banner .logo img{object-fit:contain;width:75px;height:75px}.ad-wrap .ad .main-panel .photo-banner .splash{color:#000;justify-content:center;align-items:center;width:100%;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%)translateY(-50%)}.ad-wrap .ad .main-panel .photo-banner .splash i{margin-right:1rem;font-size:3rem}.ad-wrap .ad .main-panel .photo-banner .splash .text{flex-direction:column;align-items:start;line-height:1;display:flex}.ad-wrap .ad .main-panel .photo-banner .splash .text .label{font-size:1.5rem}.ad-wrap .ad .main-panel .photo-banner .splash .text .count{font-size:2rem;font-weight:700}.ad-wrap .ad .main-panel .photo-banner .splash .text .count .fa-spinner{font-size:1.5rem}.ad-wrap .ad .main-panel .photo-banner .member-since{color:#fff;background-color:#00000080;border-top-right-radius:5px;padding:.25rem .5rem;font-size:.75rem;position:absolute;bottom:0;left:0}.ad-wrap .ad .main-panel .photo-banner .photo{object-fit:cover;width:100%;height:100%;position:absolute;top:0;left:0}.ad-wrap .ad .main-panel .details-wrap{width:100%}.ad-wrap .ad .main-panel .links-list{flex-direction:column;display:flex}.ad-wrap .ad .main-panel .links-list .link-item{color:#000}.ad-wrap .ad .main-panel .links-list .link-item:hover{-webkit-text-decoration:underline red;text-decoration:underline red}.ad-wrap .ad .main-panel .details,.ad-wrap .ad .main-panel .detail-title{grid-gap:5px 5px;grid-template-columns:repeat(2,1fr);padding:.75rem .75rem 0;display:grid}.ad-wrap .ad .main-panel .details .detail .icon,.ad-wrap .ad .main-panel .detail-title .detail .icon{width:1.5rem;display:inline-block}.ad-wrap .ad .main-panel .details .detail .icon i,.ad-wrap .ad .main-panel .detail-title .detail .icon i{justify-content:flex-start;display:flex}.ad-wrap .ad .main-panel .short-description{min-height:50px;max-height:125px;padding:.25rem .75rem 0;overflow-y:auto}.ad-wrap .ad .main-panel .detail-title{justify-content:space-between;align-items:center;display:flex}.ad-wrap .ad .main-panel .action-wrap{border-top:1px solid var(--articles-ad-border-color,var(--card-background))}.ad-wrap .ad .main-panel .action-wrap .action{border:1px solid var(--articles-ad-border-color,var(--card-background));color:var(--articles-ad-font-color,var(--bs-body-color));cursor:pointer;border-radius:10px;justify-content:center;align-items:center;margin-left:auto;margin-right:auto;padding:.25rem;transition-duration:.2s;display:flex}.ad-wrap .ad .main-panel .action-wrap .action:hover{color:#000;background-color:#fff}.ad-wrap .ad .main-panel .action-wrap .action:active{background-color:gray}.ad-wrap .advertise-with-us{background-color:var(--articles-ad-background-color,var(--card-background));border-top:2px solid var(--articles-ad-border-color,var(--card-background))}.ad-wrap .advertise-with-us a{color:var(--articles-ad-font-color,var(--bs-body-color))!important}.ad-wrap .advertise-with-us a:hover{-webkit-text-decoration:underline red;text-decoration:underline red}.view-user-modal-badge-wrap{cursor:pointer;align-items:stretch;display:flex}.view-user-modal-badge-wrap.large .view-user-modal-badge{height:30px;position:relative}.view-user-modal-badge-wrap.large .view-user-modal-badge .membership-badge{font-size:1rem!important}.view-user-modal-badge-wrap.large .view-user-modal-badge .profile-photo-wrap{margin-right:.5rem;width:22px!important;height:22px!important}.view-user-modal-badge-wrap.large .view-user-modal-badge img{margin-right:.5rem}.view-user-modal-badge-wrap .badge-membership{position:relative}.view-user-modal-badge-wrap .verification-user-badge{align-items:center;display:flex}.profile-photo-wrap{position:relative}.profile-photo-wrap .online-status{z-index:1;background-color:gray;border:2px solid #000;width:10px;height:10px;position:absolute;bottom:1px;right:1px}.profile-photo-wrap .online-status.status-online{background-color:green;border:2px solid #009b22}:root{--articles-theme-primary:#f9edcd}.bg-articles{background-color:var(--articles-theme-primary);color:#000!important}.shadow-articles{box-shadow:0 0 0 1px #00000040,0 2px 3px #0003}.text-center{text-align:center}.d-flex{display:flex}.flex-header{justify-content:space-between;align-items:center;display:flex}.scoreboard{width:100%;max-width:300px;margin-top:1rem;margin-bottom:1rem}@media (width>=992px){.scoreboard{margin-top:0;margin-bottom:0;display:block;position:absolute;top:50%;left:1rem;transform:translateY(-50%)}}.articles-game-scoreboard{color:#222;z-index:1;border:1px solid #ced4da;border-radius:8px;flex-direction:column;width:100%;max-width:350px;margin:0 1rem;display:flex;position:fixed;bottom:50%;left:8px;overflow:hidden;transform:translateY(50%);box-shadow:0 2px 8px #00000012}
|
|
1
|
+
.ad-wrap{z-index:1;--card-background:#f9edcd;--bs-body-color:#000;width:100%;max-width:312px;margin:0 auto 1rem}.ad-wrap.active-member .ad .main-panel{height:310px}.ad-wrap .ad{z-index:2;align-self:flex-start;width:100%;font-family:brandon-grotesque,sans-serif;font-size:14px;position:relative;box-shadow:0 0 0 1px #00000040,0 2px 3px #0003}@media (width<=768px){.ad-wrap .ad{width:100%;font-size:16px}}.ad-wrap .ad .main-panel{background-color:var(--articles-ad-background-color,var(--card-background));color:var(--articles-ad-font-color,var(--bs-body-color));flex-direction:column;height:400px;display:flex}.ad-wrap .ad .main-panel .ad-warning{border-bottom:1px solid var(--articles-ad-border-color,var(--card-background));padding:.1rem .75rem;font-family:brandon-grotesque,sans-serif;font-size:1rem;font-weight:900}.ad-wrap .ad .main-panel .content-wrap{flex-direction:column;align-items:center;display:flex}@media (width>=992px){.ad-wrap .ad .main-panel .content-wrap{flex-direction:column}}.ad-wrap .ad .main-panel .photo-banner{border-bottom:1px solid #000;flex-shrink:0;align-items:center;width:100%;height:125px;margin-left:0;padding-left:1rem;display:flex;position:relative}.ad-wrap .ad .main-panel .photo-banner .logo{object-fit:cover;z-index:1}.ad-wrap .ad .main-panel .photo-banner .logo img{object-fit:contain;width:75px;height:75px}.ad-wrap .ad .main-panel .photo-banner .splash{color:#000;justify-content:center;align-items:center;width:100%;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%)translateY(-50%)}.ad-wrap .ad .main-panel .photo-banner .splash i{margin-right:1rem;font-size:3rem}.ad-wrap .ad .main-panel .photo-banner .splash .text{flex-direction:column;align-items:start;line-height:1;display:flex}.ad-wrap .ad .main-panel .photo-banner .splash .text .label{font-size:1.5rem}.ad-wrap .ad .main-panel .photo-banner .splash .text .count{font-size:2rem;font-weight:700}.ad-wrap .ad .main-panel .photo-banner .splash .text .count .fa-spinner{font-size:1.5rem}.ad-wrap .ad .main-panel .photo-banner .member-since{color:#fff;background-color:#00000080;border-top-right-radius:5px;padding:.25rem .5rem;font-size:.75rem;position:absolute;bottom:0;left:0}.ad-wrap .ad .main-panel .photo-banner .photo{object-fit:cover;width:100%;height:100%;position:absolute;top:0;left:0}.ad-wrap .ad .main-panel .details-wrap{width:100%}.ad-wrap .ad .main-panel .links-list{flex-direction:column;display:flex}.ad-wrap .ad .main-panel .links-list .link-item{color:#000}.ad-wrap .ad .main-panel .links-list .link-item:hover{-webkit-text-decoration:underline red;text-decoration:underline red}.ad-wrap .ad .main-panel .details,.ad-wrap .ad .main-panel .detail-title{grid-gap:5px 5px;grid-template-columns:repeat(2,1fr);padding:.75rem .75rem 0;display:grid}.ad-wrap .ad .main-panel .details .detail .icon,.ad-wrap .ad .main-panel .detail-title .detail .icon{width:1.5rem;display:inline-block}.ad-wrap .ad .main-panel .details .detail .icon i,.ad-wrap .ad .main-panel .detail-title .detail .icon i{justify-content:flex-start;display:flex}.ad-wrap .ad .main-panel .short-description{min-height:50px;max-height:125px;padding:.25rem .75rem 0;overflow-y:auto}.ad-wrap .ad .main-panel .detail-title{justify-content:space-between;align-items:center;display:flex}.ad-wrap .ad .main-panel .action-wrap{border-top:1px solid var(--articles-ad-border-color,var(--card-background))}.ad-wrap .ad .main-panel .action-wrap .action{border:1px solid var(--articles-ad-border-color,var(--card-background));color:var(--articles-ad-font-color,var(--bs-body-color));cursor:pointer;border-radius:10px;justify-content:center;align-items:center;margin-left:auto;margin-right:auto;padding:.25rem;transition-duration:.2s;display:flex}.ad-wrap .ad .main-panel .action-wrap .action:hover{color:#000;background-color:#fff}.ad-wrap .ad .main-panel .action-wrap .action:active{background-color:gray}.ad-wrap .advertise-with-us{background-color:var(--articles-ad-background-color,var(--card-background));border-top:2px solid var(--articles-ad-border-color,var(--card-background))}.ad-wrap .advertise-with-us a{color:var(--articles-ad-font-color,var(--bs-body-color))!important}.ad-wrap .advertise-with-us a:hover{-webkit-text-decoration:underline red;text-decoration:underline red}.view-user-modal-badge-wrap{cursor:pointer;align-items:stretch;display:flex}.view-user-modal-badge-wrap.large .view-user-modal-badge{height:30px;position:relative}.view-user-modal-badge-wrap.large .view-user-modal-badge .membership-badge{font-size:1rem!important}.view-user-modal-badge-wrap.large .view-user-modal-badge .profile-photo-wrap{margin-right:.5rem;width:22px!important;height:22px!important}.view-user-modal-badge-wrap.large .view-user-modal-badge img{margin-right:.5rem}.view-user-modal-badge-wrap .badge-membership{position:relative}.view-user-modal-badge-wrap .verification-user-badge{align-items:center;display:flex}.profile-photo-wrap{position:relative}.profile-photo-wrap .online-status{z-index:1;background-color:gray;border:2px solid #000;width:10px;height:10px;position:absolute;bottom:1px;right:1px}.profile-photo-wrap .online-status.status-online{background-color:green;border:2px solid #009b22}:root{--articles-theme-primary:#f9edcd}.bg-articles{background-color:var(--articles-theme-primary);color:#000!important}.shadow-articles{box-shadow:0 0 0 1px #00000040,0 2px 3px #0003}.text-center{text-align:center}.d-flex{display:flex}.flex-header{justify-content:space-between;align-items:center;display:flex}.scoreboard{width:100%;max-width:300px;margin-top:1rem;margin-bottom:1rem}@media (width>=992px){.scoreboard{margin-top:0;margin-bottom:0;display:block;position:absolute;top:50%;left:1rem;transform:translateY(-50%)}}.articles-game-scoreboard{color:#222;z-index:1;border:1px solid #ced4da;border-radius:8px;flex-direction:column;width:100%;max-width:350px;margin:0 1rem;display:flex;position:fixed;bottom:50%;left:8px;overflow:hidden;transform:translateY(50%);box-shadow:0 2px 8px #00000012}.articles-settings-modal input[type=range]::-webkit-slider-runnable-track{background:#000;border-radius:5px;height:.5rem}.articles-settings-modal input[type=range]::-webkit-slider-thumb{appearance:none;background-color:var(--articles-secondary-color);border:1px solid #000;border-radius:50%;width:1rem;height:1rem;margin-top:-4px}
|
|
2
2
|
/*$vite$:1*/
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import s from "./ArticlesAd.js";
|
|
|
9
9
|
import { t as c } from "./GameScoreboard-9GYlLx72.js";
|
|
10
10
|
import l from "./GlobalHead.js";
|
|
11
11
|
import u from "./GlobalBody.js";
|
|
12
|
-
import { t as d } from "./SettingsModal-
|
|
12
|
+
import { t as d } from "./SettingsModal-CiLvMoLW.js";
|
|
13
13
|
import f from "./CreditsModal.js";
|
|
14
14
|
import p from "./DarkModeHandler.js";
|
|
15
15
|
import m from "./ToontownModeHandler.js";
|
|
@@ -66,6 +66,13 @@ var e = (e, t, n) => ({
|
|
|
66
66
|
showGameOverModal: !1,
|
|
67
67
|
setShowGameOverModal: (t) => {
|
|
68
68
|
e((e) => ({ showGameOverModal: t }));
|
|
69
|
+
},
|
|
70
|
+
sceneKey: 0,
|
|
71
|
+
setSceneKey: (t) => {
|
|
72
|
+
e((e) => ({ sceneKey: t }));
|
|
73
|
+
},
|
|
74
|
+
reloadScene: () => {
|
|
75
|
+
e((e) => ({ sceneKey: e.sceneKey + 1 }));
|
|
69
76
|
}
|
|
70
77
|
});
|
|
71
78
|
//#endregion
|
package/package.json
CHANGED