next-ui-lib 0.1.28 → 0.1.30
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/styles.css +1 -1
- package/dist/ui.cjs.js +3 -3
- package/dist/ui.es.js +106 -106
- package/dist/ui.umd.js +3 -3
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as w, jsxs as P } from "react/jsx-runtime";
|
|
2
2
|
import * as ne from "react";
|
|
3
|
-
import Fn, { useRef as
|
|
3
|
+
import Fn, { useRef as fi, useEffect as Sn, useState as Pi } from "react";
|
|
4
4
|
const Mn = {
|
|
5
5
|
lightBlue: {
|
|
6
6
|
primary: { text: "#FFFFFF", value: "#27a7e3", dark: "#1f8ecb" },
|
|
@@ -14,7 +14,7 @@ const Mn = {
|
|
|
14
14
|
primary: { text: "#FFFFFF", value: "#00BCD4", dark: "#0097A7" },
|
|
15
15
|
secondary: { text: "#00BCD4", value: "#B2EBF2", dark: "#80DEEA" }
|
|
16
16
|
}
|
|
17
|
-
},
|
|
17
|
+
}, qi = {
|
|
18
18
|
red: { value: "#FF5733", dark: "#C74422" },
|
|
19
19
|
amber: { text: "#936E00", value: "#FFC107", dark: "#D39E00" },
|
|
20
20
|
green: { value: "#79C70B", dark: "#619F08" },
|
|
@@ -25,7 +25,7 @@ const Mn = {
|
|
|
25
25
|
cyan: { text: "#FFFFFF", value: "#00BCD4", dark: "#0097A7" }
|
|
26
26
|
}, $n = {
|
|
27
27
|
Gray: { value: "#F1F1F1" }
|
|
28
|
-
},
|
|
28
|
+
}, si = ({
|
|
29
29
|
color: e = "lightBlue",
|
|
30
30
|
onClick: i,
|
|
31
31
|
label: n,
|
|
@@ -70,7 +70,7 @@ function H(e, i, n) {
|
|
|
70
70
|
writable: !0
|
|
71
71
|
}) : e[i] = n, e;
|
|
72
72
|
}
|
|
73
|
-
var Me, b, Ri, te, Hi,
|
|
73
|
+
var Me, b, Ri, te, Hi, oi, ye = {}, Wi = [], Bn = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
|
|
74
74
|
function V(e, i) {
|
|
75
75
|
for (var n in i) e[n] = i[n];
|
|
76
76
|
return e;
|
|
@@ -129,15 +129,15 @@ function Ei(e) {
|
|
|
129
129
|
return Ei(e);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
(!e.__d && (e.__d = !0) && te.push(e) && !_e.__r++ ||
|
|
132
|
+
function ri(e) {
|
|
133
|
+
(!e.__d && (e.__d = !0) && te.push(e) && !_e.__r++ || oi !== b.debounceRendering) && ((oi = b.debounceRendering) || Hi)(_e);
|
|
134
134
|
}
|
|
135
135
|
function _e() {
|
|
136
136
|
for (var e; _e.__r = te.length; ) e = te.sort(function(i, n) {
|
|
137
137
|
return i.__v.__b - n.__v.__b;
|
|
138
138
|
}), te = [], e.some(function(i) {
|
|
139
139
|
var n, a, s, f, o, d;
|
|
140
|
-
i.__d && (o = (f = (n = i).__v).__e, (d = n.__P) && (a = [], (s = V({}, f)).__v = f.__v + 1,
|
|
140
|
+
i.__d && (o = (f = (n = i).__v).__e, (d = n.__P) && (a = [], (s = V({}, f)).__v = f.__v + 1, Ve(d, f, s, n.__n, d.ownerSVGElement !== void 0, f.__h != null ? [
|
|
141
141
|
o
|
|
142
142
|
] : null, a, o ?? ie(f), f.__h), Ii(a, f), f.__e != o && Ei(f)));
|
|
143
143
|
});
|
|
@@ -155,7 +155,7 @@ function Ai(e, i, n, a, s, f, o, d, r, l) {
|
|
|
155
155
|
}
|
|
156
156
|
c = null;
|
|
157
157
|
}
|
|
158
|
-
|
|
158
|
+
Ve(e, m, c = c || ye, s, f, o, d, r, l), h = m.__e, (v = m.ref) && c.ref != v && (C || (C = []), c.ref && C.push(c.ref, null, m), C.push(v, m.__c || h, m)), h != null ? (x == null && (x = h), typeof m.type == "function" && m.__k === c.__k ? m.__d = r = Di(m, r, e) : r = Ni(e, m, c, S, h, r), typeof n.type == "function" && (n.__d = r)) : r && c.__e == r && r.parentNode != e && (r = ie(c));
|
|
159
159
|
}
|
|
160
160
|
for (n.__e = x, t = $; t--; ) S[t] != null && (typeof n.type == "function" && S[t].__e != null && S[t].__e == n.__d && (n.__d = ie(a, t + 1)), Oi(S[t], S[t]));
|
|
161
161
|
if (C) for (t = 0; t < C.length; t++) Gi(C[t], C[++t], C[++t]);
|
|
@@ -184,7 +184,7 @@ function zn(e, i, n, a, s) {
|
|
|
184
184
|
for (f in n) f === "children" || f === "key" || f in i || Ce(e, f, null, n[f], a);
|
|
185
185
|
for (f in i) s && typeof i[f] != "function" || f === "children" || f === "key" || f === "value" || f === "checked" || n[f] === i[f] || Ce(e, f, i[f], n[f], a);
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function ti(e, i, n) {
|
|
188
188
|
i[0] === "-" ? e.setProperty(i, n) : e[i] = n == null ? "" : typeof n != "number" || Bn.test(i) ? n : n + "px";
|
|
189
189
|
}
|
|
190
190
|
function Ce(e, i, n, a, s) {
|
|
@@ -192,10 +192,10 @@ function Ce(e, i, n, a, s) {
|
|
|
192
192
|
e: if (i === "style")
|
|
193
193
|
if (typeof n == "string") e.style.cssText = n;
|
|
194
194
|
else {
|
|
195
|
-
if (typeof a == "string" && (e.style.cssText = a = ""), a) for (i in a) n && i in n ||
|
|
196
|
-
if (n) for (i in n) a && n[i] === a[i] ||
|
|
195
|
+
if (typeof a == "string" && (e.style.cssText = a = ""), a) for (i in a) n && i in n || ti(e.style, i, "");
|
|
196
|
+
if (n) for (i in n) a && n[i] === a[i] || ti(e.style, i, n[i]);
|
|
197
197
|
}
|
|
198
|
-
else if (i[0] === "o" && i[1] === "n") f = i !== (i = i.replace(/Capture$/, "")), i = i.toLowerCase() in e ? i.toLowerCase().slice(2) : i.slice(2), e.l || (e.l = {}), e.l[i + f] = n, n ? a || e.addEventListener(i, f ?
|
|
198
|
+
else if (i[0] === "o" && i[1] === "n") f = i !== (i = i.replace(/Capture$/, "")), i = i.toLowerCase() in e ? i.toLowerCase().slice(2) : i.slice(2), e.l || (e.l = {}), e.l[i + f] = n, n ? a || e.addEventListener(i, f ? li : di, f) : e.removeEventListener(i, f ? li : di, f);
|
|
199
199
|
else if (i !== "dangerouslySetInnerHTML") {
|
|
200
200
|
if (s) i = i.replace(/xlink[H:h]/, "h").replace(/sName$/, "s");
|
|
201
201
|
else if (i !== "href" && i !== "list" && i !== "form" && i !== "tabIndex" && i !== "download" && i in e) try {
|
|
@@ -206,13 +206,13 @@ function Ce(e, i, n, a, s) {
|
|
|
206
206
|
typeof n == "function" || (n != null && (n !== !1 || i[0] === "a" && i[1] === "r") ? e.setAttribute(i, n) : e.removeAttribute(i));
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function di(e) {
|
|
210
210
|
this.l[e.type + !1](b.event ? b.event(e) : e);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function li(e) {
|
|
213
213
|
this.l[e.type + !0](b.event ? b.event(e) : e);
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function Ve(e, i, n, a, s, f, o, d, r) {
|
|
216
216
|
var l, t, v, c, m, h, x, C, S, $, L, z = i.type;
|
|
217
217
|
if (i.constructor !== void 0) return null;
|
|
218
218
|
n.__h != null && (r = n.__h, d = i.__e = n.__e, i.__h = null, f = [
|
|
@@ -303,7 +303,7 @@ function Pn(e, i, n) {
|
|
|
303
303
|
}
|
|
304
304
|
function Vi(e, i, n) {
|
|
305
305
|
var a, s, f;
|
|
306
|
-
b.__ && b.__(e, i), s = (a = typeof n == "function") ? null : n && n.__k || i.__k, f = [],
|
|
306
|
+
b.__ && b.__(e, i), s = (a = typeof n == "function") ? null : n && n.__k || i.__k, f = [], Ve(i, e = (!a && n || i).__k = We(ee, null, [
|
|
307
307
|
e
|
|
308
308
|
]), s || ye, ye, i.ownerSVGElement !== void 0, !a && n ? [
|
|
309
309
|
n
|
|
@@ -320,9 +320,9 @@ Me = Wi.slice, b = {
|
|
|
320
320
|
}
|
|
321
321
|
}, Ri = 0, E.prototype.setState = function(e, i) {
|
|
322
322
|
var n;
|
|
323
|
-
n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = V({}, this.state), typeof e == "function" && (e = e(V({}, n), this.props)), e && V(n, e), e != null && this.__v && (i && this.__h.push(i),
|
|
323
|
+
n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = V({}, this.state), typeof e == "function" && (e = e(V({}, n), this.props)), e && V(n, e), e != null && this.__v && (i && this.__h.push(i), ri(this));
|
|
324
324
|
}, E.prototype.forceUpdate = function(e) {
|
|
325
|
-
this.__v && (this.__e = !0, e && this.__h.push(e),
|
|
325
|
+
this.__v && (this.__e = !0, e && this.__h.push(e), ri(this));
|
|
326
326
|
}, E.prototype.render = ee, te = [], Hi = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, _e.__r = 0;
|
|
327
327
|
var qn = 0;
|
|
328
328
|
function u(e, i, n, a, s) {
|
|
@@ -447,7 +447,7 @@ const En = (() => {
|
|
|
447
447
|
return !(f[d] !== t[0] || f[d + 2] !== t[2] || e.measureText(s).width >= n);
|
|
448
448
|
};
|
|
449
449
|
})();
|
|
450
|
-
var
|
|
450
|
+
var ui = {
|
|
451
451
|
latestVersion: Wn,
|
|
452
452
|
noCountryFlags: Ln
|
|
453
453
|
};
|
|
@@ -676,7 +676,7 @@ var G = {
|
|
|
676
676
|
};
|
|
677
677
|
let q = null, F = null;
|
|
678
678
|
const Pe = {};
|
|
679
|
-
async function
|
|
679
|
+
async function ci(e) {
|
|
680
680
|
if (Pe[e]) return Pe[e];
|
|
681
681
|
const n = await (await fetch(e)).json();
|
|
682
682
|
return Pe[e] = n, n;
|
|
@@ -693,7 +693,7 @@ async function Nn(e) {
|
|
|
693
693
|
if (i || (i = G.emojiVersion.value), n || (n = G.set.value), a || (a = G.locale.value), F)
|
|
694
694
|
F.categories = F.categories.filter((r) => !r.name);
|
|
695
695
|
else {
|
|
696
|
-
F = (typeof e.data == "function" ? await e.data() : e.data) || await
|
|
696
|
+
F = (typeof e.data == "function" ? await e.data() : e.data) || await ci(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/sets/${i}/${n}.json`), F.emoticons = {}, F.natives = {}, F.categories.unshift({
|
|
697
697
|
id: "frequent",
|
|
698
698
|
emojis: []
|
|
699
699
|
});
|
|
@@ -703,7 +703,7 @@ async function Nn(e) {
|
|
|
703
703
|
}
|
|
704
704
|
F.originalCategories = F.categories;
|
|
705
705
|
}
|
|
706
|
-
if (q = (typeof e.i18n == "function" ? await e.i18n() : e.i18n) || (a == "en" ? /* @__PURE__ */ Ti(Ji) : await
|
|
706
|
+
if (q = (typeof e.i18n == "function" ? await e.i18n() : e.i18n) || (a == "en" ? /* @__PURE__ */ Ti(Ji) : await ci(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/i18n/${a}.json`)), e.custom) for (let r in e.custom) {
|
|
707
707
|
r = parseInt(r);
|
|
708
708
|
const l = e.custom[r], t = e.custom[r - 1];
|
|
709
709
|
if (!(!l.emojis || !l.emojis.length)) {
|
|
@@ -716,7 +716,7 @@ async function Nn(e) {
|
|
|
716
716
|
return t - v;
|
|
717
717
|
}));
|
|
718
718
|
let s = null, f = null;
|
|
719
|
-
n == "native" && (s =
|
|
719
|
+
n == "native" && (s = ui.latestVersion(), f = e.noCountryFlags || ui.noCountryFlags());
|
|
720
720
|
let o = F.categories.length, d = !1;
|
|
721
721
|
for (; o--; ) {
|
|
722
722
|
const r = F.categories[o];
|
|
@@ -1176,7 +1176,7 @@ class an extends en {
|
|
|
1176
1176
|
}
|
|
1177
1177
|
H(an, "Props", nn);
|
|
1178
1178
|
typeof customElements < "u" && !customElements.get("em-emoji") && customElements.define("em-emoji", an);
|
|
1179
|
-
var
|
|
1179
|
+
var vi, De = [], mi = b.__b, ki = b.__r, gi = b.diffed, hi = b.__c, wi = b.unmount;
|
|
1180
1180
|
function ia() {
|
|
1181
1181
|
var e;
|
|
1182
1182
|
for (De.sort(function(i, n) {
|
|
@@ -1188,19 +1188,19 @@ function ia() {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
}
|
|
1190
1190
|
b.__b = function(e) {
|
|
1191
|
-
|
|
1191
|
+
mi && mi(e);
|
|
1192
1192
|
}, b.__r = function(e) {
|
|
1193
|
-
|
|
1193
|
+
ki && ki(e);
|
|
1194
1194
|
var i = e.__c.__H;
|
|
1195
1195
|
i && (i.__h.forEach(pe), i.__h.forEach(Ne), i.__h = []);
|
|
1196
1196
|
}, b.diffed = function(e) {
|
|
1197
|
-
|
|
1197
|
+
gi && gi(e);
|
|
1198
1198
|
var i = e.__c;
|
|
1199
|
-
i && i.__H && i.__H.__h.length && (De.push(i) !== 1 &&
|
|
1199
|
+
i && i.__H && i.__H.__h.length && (De.push(i) !== 1 && vi === b.requestAnimationFrame || ((vi = b.requestAnimationFrame) || function(n) {
|
|
1200
1200
|
var a, s = function() {
|
|
1201
|
-
clearTimeout(f),
|
|
1201
|
+
clearTimeout(f), bi && cancelAnimationFrame(a), setTimeout(n);
|
|
1202
1202
|
}, f = setTimeout(s, 100);
|
|
1203
|
-
|
|
1203
|
+
bi && (a = requestAnimationFrame(s));
|
|
1204
1204
|
})(ia));
|
|
1205
1205
|
}, b.__c = function(e, i) {
|
|
1206
1206
|
i.some(function(n) {
|
|
@@ -1213,9 +1213,9 @@ b.__b = function(e) {
|
|
|
1213
1213
|
s.__h && (s.__h = []);
|
|
1214
1214
|
}), i = [], b.__e(a, n.__v);
|
|
1215
1215
|
}
|
|
1216
|
-
}),
|
|
1216
|
+
}), hi && hi(e, i);
|
|
1217
1217
|
}, b.unmount = function(e) {
|
|
1218
|
-
|
|
1218
|
+
wi && wi(e);
|
|
1219
1219
|
var i, n = e.__c;
|
|
1220
1220
|
n && n.__H && (n.__H.__.forEach(function(a) {
|
|
1221
1221
|
try {
|
|
@@ -1225,7 +1225,7 @@ b.__b = function(e) {
|
|
|
1225
1225
|
}
|
|
1226
1226
|
}), i && b.__e(i, n.__v));
|
|
1227
1227
|
};
|
|
1228
|
-
var
|
|
1228
|
+
var bi = typeof requestAnimationFrame == "function";
|
|
1229
1229
|
function pe(e) {
|
|
1230
1230
|
var i = e.__c;
|
|
1231
1231
|
typeof i == "function" && (e.__c = void 0, i());
|
|
@@ -1237,7 +1237,7 @@ function na(e, i) {
|
|
|
1237
1237
|
for (var n in i) e[n] = i[n];
|
|
1238
1238
|
return e;
|
|
1239
1239
|
}
|
|
1240
|
-
function
|
|
1240
|
+
function pi(e, i) {
|
|
1241
1241
|
for (var n in e) if (n !== "__source" && !(n in i)) return !0;
|
|
1242
1242
|
for (var a in i) if (a !== "__source" && e[a] !== i[a]) return !0;
|
|
1243
1243
|
return !1;
|
|
@@ -1246,11 +1246,11 @@ function Se(e) {
|
|
|
1246
1246
|
this.props = e;
|
|
1247
1247
|
}
|
|
1248
1248
|
(Se.prototype = new E()).isPureReactComponent = !0, Se.prototype.shouldComponentUpdate = function(e, i) {
|
|
1249
|
-
return
|
|
1249
|
+
return pi(this.props, e) || pi(this.state, i);
|
|
1250
1250
|
};
|
|
1251
|
-
var
|
|
1251
|
+
var yi = b.__b;
|
|
1252
1252
|
b.__b = function(e) {
|
|
1253
|
-
e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null),
|
|
1253
|
+
e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), yi && yi(e);
|
|
1254
1254
|
};
|
|
1255
1255
|
var aa = b.__e;
|
|
1256
1256
|
b.__e = function(e, i, n) {
|
|
@@ -1259,7 +1259,7 @@ b.__e = function(e, i, n) {
|
|
|
1259
1259
|
}
|
|
1260
1260
|
aa(e, i, n);
|
|
1261
1261
|
};
|
|
1262
|
-
var
|
|
1262
|
+
var _i = b.unmount;
|
|
1263
1263
|
function Te() {
|
|
1264
1264
|
this.__u = 0, this.t = null, this.__b = null;
|
|
1265
1265
|
}
|
|
@@ -1272,7 +1272,7 @@ function ke() {
|
|
|
1272
1272
|
}
|
|
1273
1273
|
b.unmount = function(e) {
|
|
1274
1274
|
var i = e.__c;
|
|
1275
|
-
i && i.__R && i.__R(), i && e.__h === !0 && (e.type = null),
|
|
1275
|
+
i && i.__R && i.__R(), i && e.__h === !0 && (e.type = null), _i && _i(e);
|
|
1276
1276
|
}, (Te.prototype = new E()).__c = function(e, i) {
|
|
1277
1277
|
var n = i.__c, a = this;
|
|
1278
1278
|
a.t == null && (a.t = []), a.t.push(n);
|
|
@@ -1321,7 +1321,7 @@ b.unmount = function(e) {
|
|
|
1321
1321
|
s
|
|
1322
1322
|
];
|
|
1323
1323
|
};
|
|
1324
|
-
var
|
|
1324
|
+
var xi = function(e, i, n) {
|
|
1325
1325
|
if (++n[1] === n[0] && e.o.delete(i), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.o.size)) for (n = e.u; n; ) {
|
|
1326
1326
|
for (; n.length > 3; ) n.pop()();
|
|
1327
1327
|
if (n[1] < n[0]) break;
|
|
@@ -1332,7 +1332,7 @@ var Ci = function(e, i, n) {
|
|
|
1332
1332
|
var i = this, n = fn(i.__v), a = i.o.get(e);
|
|
1333
1333
|
return a[0]++, function(s) {
|
|
1334
1334
|
var f = function() {
|
|
1335
|
-
i.props.revealOrder ? (a.push(s),
|
|
1335
|
+
i.props.revealOrder ? (a.push(s), xi(i, e, a)) : s();
|
|
1336
1336
|
};
|
|
1337
1337
|
n ? n(f) : f();
|
|
1338
1338
|
};
|
|
@@ -1349,7 +1349,7 @@ var Ci = function(e, i, n) {
|
|
|
1349
1349
|
}, ke.prototype.componentDidUpdate = ke.prototype.componentDidMount = function() {
|
|
1350
1350
|
var e = this;
|
|
1351
1351
|
this.o.forEach(function(i, n) {
|
|
1352
|
-
|
|
1352
|
+
xi(e, n, i);
|
|
1353
1353
|
});
|
|
1354
1354
|
};
|
|
1355
1355
|
var fa = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, sa = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, oa = typeof document < "u", ra = function(e) {
|
|
@@ -1374,7 +1374,7 @@ E.prototype.isReactComponent = {}, [
|
|
|
1374
1374
|
}
|
|
1375
1375
|
});
|
|
1376
1376
|
});
|
|
1377
|
-
var
|
|
1377
|
+
var Ci = b.event;
|
|
1378
1378
|
function ta() {
|
|
1379
1379
|
}
|
|
1380
1380
|
function da() {
|
|
@@ -1384,14 +1384,14 @@ function la() {
|
|
|
1384
1384
|
return this.defaultPrevented;
|
|
1385
1385
|
}
|
|
1386
1386
|
b.event = function(e) {
|
|
1387
|
-
return
|
|
1387
|
+
return Ci && (e = Ci(e)), e.persist = ta, e.isPropagationStopped = da, e.isDefaultPrevented = la, e.nativeEvent = e;
|
|
1388
1388
|
};
|
|
1389
|
-
var
|
|
1389
|
+
var Fi = {
|
|
1390
1390
|
configurable: !0,
|
|
1391
1391
|
get: function() {
|
|
1392
1392
|
return this.class;
|
|
1393
1393
|
}
|
|
1394
|
-
},
|
|
1394
|
+
}, Si = b.vnode;
|
|
1395
1395
|
b.vnode = function(e) {
|
|
1396
1396
|
var i = e.type, n = e.props, a = n;
|
|
1397
1397
|
if (typeof i == "string") {
|
|
@@ -1404,13 +1404,13 @@ b.vnode = function(e) {
|
|
|
1404
1404
|
d.props.selected = a.value.indexOf(d.props.value) != -1;
|
|
1405
1405
|
})), i == "select" && a.defaultValue != null && (a.value = xe(n.children).forEach(function(d) {
|
|
1406
1406
|
d.props.selected = a.multiple ? a.defaultValue.indexOf(d.props.value) != -1 : a.defaultValue == d.props.value;
|
|
1407
|
-
})), e.props = a, n.class != n.className && (
|
|
1407
|
+
})), e.props = a, n.class != n.className && (Fi.enumerable = "className" in n, n.className != null && (a.class = n.className), Object.defineProperty(a, "className", Fi));
|
|
1408
1408
|
}
|
|
1409
|
-
e.$$typeof = fa,
|
|
1409
|
+
e.$$typeof = fa, Si && Si(e);
|
|
1410
1410
|
};
|
|
1411
|
-
var
|
|
1411
|
+
var Mi = b.__r;
|
|
1412
1412
|
b.__r = function(e) {
|
|
1413
|
-
|
|
1413
|
+
Mi && Mi(e), e.__c;
|
|
1414
1414
|
};
|
|
1415
1415
|
const ua = {
|
|
1416
1416
|
light: "outline",
|
|
@@ -2270,7 +2270,7 @@ class ma extends E {
|
|
|
2270
2270
|
};
|
|
2271
2271
|
}
|
|
2272
2272
|
}
|
|
2273
|
-
class
|
|
2273
|
+
class Ue extends ea {
|
|
2274
2274
|
async connectedCallback() {
|
|
2275
2275
|
const i = Xi(this.props, G, this);
|
|
2276
2276
|
i.element = this, i.ref = (n) => {
|
|
@@ -2285,8 +2285,8 @@ class Ke extends ea {
|
|
|
2285
2285
|
});
|
|
2286
2286
|
}
|
|
2287
2287
|
}
|
|
2288
|
-
H(
|
|
2289
|
-
typeof customElements < "u" && !customElements.get("em-emoji-picker") && customElements.define("em-emoji-picker",
|
|
2288
|
+
H(Ue, "Props", G);
|
|
2289
|
+
typeof customElements < "u" && !customElements.get("em-emoji-picker") && customElements.define("em-emoji-picker", Ue);
|
|
2290
2290
|
var sn = {};
|
|
2291
2291
|
sn = `:host {
|
|
2292
2292
|
width: min-content;
|
|
@@ -3005,8 +3005,8 @@ button {
|
|
|
3005
3005
|
|
|
3006
3006
|
`;
|
|
3007
3007
|
function ka(e) {
|
|
3008
|
-
const i =
|
|
3009
|
-
return n.current && n.current.update(e), Sn(() => (n.current = new
|
|
3008
|
+
const i = fi(null), n = fi(null);
|
|
3009
|
+
return n.current && n.current.update(e), Sn(() => (n.current = new Ue({
|
|
3010
3010
|
...e,
|
|
3011
3011
|
ref: i
|
|
3012
3012
|
}), () => {
|
|
@@ -3028,7 +3028,7 @@ const pa = ({
|
|
|
3028
3028
|
set: n = "google",
|
|
3029
3029
|
onEmojiSelect: a
|
|
3030
3030
|
}) => {
|
|
3031
|
-
const [s, f] =
|
|
3031
|
+
const [s, f] = Pi(!1), o = /* @__PURE__ */ w("em-emoji", { id: e, set: n, size: i ? "1.6em" : "1.2em" });
|
|
3032
3032
|
return /* @__PURE__ */ P("div", { className: "relative flex items-center", children: [
|
|
3033
3033
|
i ? /* @__PURE__ */ w(
|
|
3034
3034
|
"button",
|
|
@@ -3055,7 +3055,7 @@ const pa = ({
|
|
|
3055
3055
|
}
|
|
3056
3056
|
) })
|
|
3057
3057
|
] });
|
|
3058
|
-
},
|
|
3058
|
+
}, Ke = ({
|
|
3059
3059
|
color: e = "amber",
|
|
3060
3060
|
onClick: i,
|
|
3061
3061
|
customClass: n = "",
|
|
@@ -3063,7 +3063,7 @@ const pa = ({
|
|
|
3063
3063
|
emojiId: s,
|
|
3064
3064
|
loading: f = !1
|
|
3065
3065
|
}) => {
|
|
3066
|
-
const o =
|
|
3066
|
+
const o = qi[e];
|
|
3067
3067
|
return f ? /* @__PURE__ */ w(
|
|
3068
3068
|
"div",
|
|
3069
3069
|
{
|
|
@@ -3112,14 +3112,14 @@ function ya() {
|
|
|
3112
3112
|
for (var e, i, n = 0, a = "", s = arguments.length; n < s; n++) (e = arguments[n]) && (i = rn(e)) && (a && (a += " "), a += i);
|
|
3113
3113
|
return a;
|
|
3114
3114
|
}
|
|
3115
|
-
const
|
|
3115
|
+
const Je = "-", _a = (e) => {
|
|
3116
3116
|
const i = Ca(e), {
|
|
3117
3117
|
conflictingClassGroups: n,
|
|
3118
3118
|
conflictingClassGroupModifiers: a
|
|
3119
3119
|
} = e;
|
|
3120
3120
|
return {
|
|
3121
3121
|
getClassGroupId: (o) => {
|
|
3122
|
-
const d = o.split(
|
|
3122
|
+
const d = o.split(Je);
|
|
3123
3123
|
return d[0] === "" && d.length !== 1 && d.shift(), tn(d, i) || xa(o);
|
|
3124
3124
|
},
|
|
3125
3125
|
getConflictingClassGroupIds: (o, d) => {
|
|
@@ -3135,13 +3135,13 @@ const Ye = "-", _a = (e) => {
|
|
|
3135
3135
|
return s;
|
|
3136
3136
|
if (i.validators.length === 0)
|
|
3137
3137
|
return;
|
|
3138
|
-
const f = e.join(
|
|
3138
|
+
const f = e.join(Je);
|
|
3139
3139
|
return i.validators.find(({
|
|
3140
3140
|
validator: o
|
|
3141
3141
|
}) => o(f))?.classGroupId;
|
|
3142
|
-
},
|
|
3143
|
-
if (
|
|
3144
|
-
const i =
|
|
3142
|
+
}, $i = /^\[(.+)\]$/, xa = (e) => {
|
|
3143
|
+
if ($i.test(e)) {
|
|
3144
|
+
const i = $i.exec(e)[1], n = i?.substring(0, i.indexOf(":"));
|
|
3145
3145
|
if (n)
|
|
3146
3146
|
return "arbitrary.." + n;
|
|
3147
3147
|
}
|
|
@@ -3159,7 +3159,7 @@ const Ye = "-", _a = (e) => {
|
|
|
3159
3159
|
}, Ie = (e, i, n, a) => {
|
|
3160
3160
|
e.forEach((s) => {
|
|
3161
3161
|
if (typeof s == "string") {
|
|
3162
|
-
const f = s === "" ? i :
|
|
3162
|
+
const f = s === "" ? i : Bi(i, s);
|
|
3163
3163
|
f.classGroupId = n;
|
|
3164
3164
|
return;
|
|
3165
3165
|
}
|
|
@@ -3175,12 +3175,12 @@ const Ye = "-", _a = (e) => {
|
|
|
3175
3175
|
return;
|
|
3176
3176
|
}
|
|
3177
3177
|
Object.entries(s).forEach(([f, o]) => {
|
|
3178
|
-
Ie(o,
|
|
3178
|
+
Ie(o, Bi(i, f), n, a);
|
|
3179
3179
|
});
|
|
3180
3180
|
});
|
|
3181
|
-
},
|
|
3181
|
+
}, Bi = (e, i) => {
|
|
3182
3182
|
let n = e;
|
|
3183
|
-
return i.split(
|
|
3183
|
+
return i.split(Je).forEach((a) => {
|
|
3184
3184
|
n.nextPart.has(a) || n.nextPart.set(a, {
|
|
3185
3185
|
nextPart: /* @__PURE__ */ new Map(),
|
|
3186
3186
|
validators: []
|
|
@@ -3358,7 +3358,7 @@ const M = (e) => {
|
|
|
3358
3358
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
3359
3359
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
3360
3360
|
La.test(e) && !Ea.test(e)
|
|
3361
|
-
), cn = () => !1, Ga = (e) => Aa.test(e), Oa = (e) => Da.test(e), Va = (e) => !k(e) && !g(e), Ua = (e) => ae(e, kn, cn), k = (e) => ln.test(e), Y = (e) => ae(e, gn, Ia), He = (e) => ae(e, Xa, _),
|
|
3361
|
+
), cn = () => !1, Ga = (e) => Aa.test(e), Oa = (e) => Da.test(e), Va = (e) => !k(e) && !g(e), Ua = (e) => ae(e, kn, cn), k = (e) => ln.test(e), Y = (e) => ae(e, gn, Ia), He = (e) => ae(e, Xa, _), zi = (e) => ae(e, vn, cn), Ka = (e) => ae(e, mn, Oa), he = (e) => ae(e, hn, Ga), g = (e) => un.test(e), re = (e) => fe(e, gn), Ja = (e) => fe(e, Qa), ji = (e) => fe(e, vn), Ya = (e) => fe(e, kn), Za = (e) => fe(e, mn), we = (e) => fe(e, hn, !0), ae = (e, i, n) => {
|
|
3362
3362
|
const a = ln.exec(e);
|
|
3363
3363
|
return a ? a[1] ? i(a[1]) : n(a[2]) : !1;
|
|
3364
3364
|
}, fe = (e, i, n = !1) => {
|
|
@@ -3383,13 +3383,13 @@ const M = (e) => {
|
|
|
3383
3383
|
"bottom-left",
|
|
3384
3384
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
3385
3385
|
"left-bottom"
|
|
3386
|
-
], W = () => [...z(), g, k], K = () => ["auto", "hidden", "clip", "visible", "scroll"], oe = () => ["auto", "contain", "none"], y = () => [g, k, r], A = () => [X, "full", "auto", ...y()],
|
|
3386
|
+
], W = () => [...z(), g, k], K = () => ["auto", "hidden", "clip", "visible", "scroll"], oe = () => ["auto", "contain", "none"], y = () => [g, k, r], A = () => [X, "full", "auto", ...y()], Ye = () => [O, "none", "subgrid", g, k], Ze = () => ["auto", {
|
|
3387
3387
|
span: ["full", O, g, k]
|
|
3388
|
-
}, O, g, k], le = () => [O, "auto", g, k],
|
|
3388
|
+
}, O, g, k], le = () => [O, "auto", g, k], Xe = () => ["auto", "min", "max", "fr", g, k], $e = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Z = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], D = () => ["auto", ...y()], J = () => [X, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...y()], p = () => [e, g, k], Qe = () => [...z(), ji, zi, {
|
|
3389
3389
|
position: [g, k]
|
|
3390
|
-
}],
|
|
3390
|
+
}], ei = () => ["no-repeat", {
|
|
3391
3391
|
repeat: ["", "x", "y", "space", "round"]
|
|
3392
|
-
}],
|
|
3392
|
+
}], ii = () => ["auto", "cover", "contain", Ya, Ua, {
|
|
3393
3393
|
size: [g, k]
|
|
3394
3394
|
}], Be = () => [Re, re, Y], T = () => [
|
|
3395
3395
|
// Deprecated since Tailwind CSS v4.0.0
|
|
@@ -3399,7 +3399,7 @@ const M = (e) => {
|
|
|
3399
3399
|
l,
|
|
3400
3400
|
g,
|
|
3401
3401
|
k
|
|
3402
|
-
], R = () => ["", _, re, Y], ue = () => ["solid", "dashed", "dotted", "double"],
|
|
3402
|
+
], R = () => ["", _, re, Y], ue = () => ["solid", "dashed", "dotted", "double"], ni = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], B = () => [_, Re, ji, zi], ai = () => [
|
|
3403
3403
|
// Deprecated since Tailwind CSS v4.0.0
|
|
3404
3404
|
"",
|
|
3405
3405
|
"none",
|
|
@@ -3711,14 +3711,14 @@ const M = (e) => {
|
|
|
3711
3711
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
3712
3712
|
*/
|
|
3713
3713
|
"grid-cols": [{
|
|
3714
|
-
"grid-cols":
|
|
3714
|
+
"grid-cols": Ye()
|
|
3715
3715
|
}],
|
|
3716
3716
|
/**
|
|
3717
3717
|
* Grid Column Start / End
|
|
3718
3718
|
* @see https://tailwindcss.com/docs/grid-column
|
|
3719
3719
|
*/
|
|
3720
3720
|
"col-start-end": [{
|
|
3721
|
-
col:
|
|
3721
|
+
col: Ze()
|
|
3722
3722
|
}],
|
|
3723
3723
|
/**
|
|
3724
3724
|
* Grid Column Start
|
|
@@ -3739,14 +3739,14 @@ const M = (e) => {
|
|
|
3739
3739
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
3740
3740
|
*/
|
|
3741
3741
|
"grid-rows": [{
|
|
3742
|
-
"grid-rows":
|
|
3742
|
+
"grid-rows": Ye()
|
|
3743
3743
|
}],
|
|
3744
3744
|
/**
|
|
3745
3745
|
* Grid Row Start / End
|
|
3746
3746
|
* @see https://tailwindcss.com/docs/grid-row
|
|
3747
3747
|
*/
|
|
3748
3748
|
"row-start-end": [{
|
|
3749
|
-
row:
|
|
3749
|
+
row: Ze()
|
|
3750
3750
|
}],
|
|
3751
3751
|
/**
|
|
3752
3752
|
* Grid Row Start
|
|
@@ -3774,14 +3774,14 @@ const M = (e) => {
|
|
|
3774
3774
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
3775
3775
|
*/
|
|
3776
3776
|
"auto-cols": [{
|
|
3777
|
-
"auto-cols":
|
|
3777
|
+
"auto-cols": Xe()
|
|
3778
3778
|
}],
|
|
3779
3779
|
/**
|
|
3780
3780
|
* Grid Auto Rows
|
|
3781
3781
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
3782
3782
|
*/
|
|
3783
3783
|
"auto-rows": [{
|
|
3784
|
-
"auto-rows":
|
|
3784
|
+
"auto-rows": Xe()
|
|
3785
3785
|
}],
|
|
3786
3786
|
/**
|
|
3787
3787
|
* Gap
|
|
@@ -4358,21 +4358,21 @@ const M = (e) => {
|
|
|
4358
4358
|
* @see https://tailwindcss.com/docs/background-position
|
|
4359
4359
|
*/
|
|
4360
4360
|
"bg-position": [{
|
|
4361
|
-
bg:
|
|
4361
|
+
bg: Qe()
|
|
4362
4362
|
}],
|
|
4363
4363
|
/**
|
|
4364
4364
|
* Background Repeat
|
|
4365
4365
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
4366
4366
|
*/
|
|
4367
4367
|
"bg-repeat": [{
|
|
4368
|
-
bg:
|
|
4368
|
+
bg: ei()
|
|
4369
4369
|
}],
|
|
4370
4370
|
/**
|
|
4371
4371
|
* Background Size
|
|
4372
4372
|
* @see https://tailwindcss.com/docs/background-size
|
|
4373
4373
|
*/
|
|
4374
4374
|
"bg-size": [{
|
|
4375
|
-
bg:
|
|
4375
|
+
bg: ii()
|
|
4376
4376
|
}],
|
|
4377
4377
|
/**
|
|
4378
4378
|
* Background Image
|
|
@@ -4860,14 +4860,14 @@ const M = (e) => {
|
|
|
4860
4860
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
4861
4861
|
*/
|
|
4862
4862
|
"mix-blend": [{
|
|
4863
|
-
"mix-blend": [...
|
|
4863
|
+
"mix-blend": [...ni(), "plus-darker", "plus-lighter"]
|
|
4864
4864
|
}],
|
|
4865
4865
|
/**
|
|
4866
4866
|
* Background Blend Mode
|
|
4867
4867
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
4868
4868
|
*/
|
|
4869
4869
|
"bg-blend": [{
|
|
4870
|
-
"bg-blend":
|
|
4870
|
+
"bg-blend": ni()
|
|
4871
4871
|
}],
|
|
4872
4872
|
/**
|
|
4873
4873
|
* Mask Clip
|
|
@@ -5035,21 +5035,21 @@ const M = (e) => {
|
|
|
5035
5035
|
* @see https://tailwindcss.com/docs/mask-position
|
|
5036
5036
|
*/
|
|
5037
5037
|
"mask-position": [{
|
|
5038
|
-
mask:
|
|
5038
|
+
mask: Qe()
|
|
5039
5039
|
}],
|
|
5040
5040
|
/**
|
|
5041
5041
|
* Mask Repeat
|
|
5042
5042
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
5043
5043
|
*/
|
|
5044
5044
|
"mask-repeat": [{
|
|
5045
|
-
mask:
|
|
5045
|
+
mask: ei()
|
|
5046
5046
|
}],
|
|
5047
5047
|
/**
|
|
5048
5048
|
* Mask Size
|
|
5049
5049
|
* @see https://tailwindcss.com/docs/mask-size
|
|
5050
5050
|
*/
|
|
5051
5051
|
"mask-size": [{
|
|
5052
|
-
mask:
|
|
5052
|
+
mask: ii()
|
|
5053
5053
|
}],
|
|
5054
5054
|
/**
|
|
5055
5055
|
* Mask Type
|
|
@@ -5086,7 +5086,7 @@ const M = (e) => {
|
|
|
5086
5086
|
* @see https://tailwindcss.com/docs/blur
|
|
5087
5087
|
*/
|
|
5088
5088
|
blur: [{
|
|
5089
|
-
blur:
|
|
5089
|
+
blur: ai()
|
|
5090
5090
|
}],
|
|
5091
5091
|
/**
|
|
5092
5092
|
* Brightness
|
|
@@ -5176,7 +5176,7 @@ const M = (e) => {
|
|
|
5176
5176
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
5177
5177
|
*/
|
|
5178
5178
|
"backdrop-blur": [{
|
|
5179
|
-
"backdrop-blur":
|
|
5179
|
+
"backdrop-blur": ai()
|
|
5180
5180
|
}],
|
|
5181
5181
|
/**
|
|
5182
5182
|
* Backdrop Brightness
|
|
@@ -5912,7 +5912,7 @@ const Cn = ({
|
|
|
5912
5912
|
(e || i || f && d === "top-right") && /* @__PURE__ */ P(bn, { className: "mb-4 flex items-start justify-between", children: [
|
|
5913
5913
|
/* @__PURE__ */ P("div", { className: "flex items-center gap-3", children: [
|
|
5914
5914
|
a && /* @__PURE__ */ w(
|
|
5915
|
-
|
|
5915
|
+
Ke,
|
|
5916
5916
|
{
|
|
5917
5917
|
color: r,
|
|
5918
5918
|
iconSrc: a,
|
|
@@ -5926,7 +5926,7 @@ const Cn = ({
|
|
|
5926
5926
|
] })
|
|
5927
5927
|
] }),
|
|
5928
5928
|
f && d === "top-right" && /* @__PURE__ */ w(
|
|
5929
|
-
|
|
5929
|
+
si,
|
|
5930
5930
|
{
|
|
5931
5931
|
label: o,
|
|
5932
5932
|
size: v,
|
|
@@ -5938,7 +5938,7 @@ const Cn = ({
|
|
|
5938
5938
|
] }),
|
|
5939
5939
|
n && /* @__PURE__ */ w(_n, { className: "flex flex-col gap-4 font-regular", children: n }),
|
|
5940
5940
|
f && d === "bottom-right" && /* @__PURE__ */ w(xn, { className: "flex justify-end pt-2", children: /* @__PURE__ */ w(
|
|
5941
|
-
|
|
5941
|
+
si,
|
|
5942
5942
|
{
|
|
5943
5943
|
label: o,
|
|
5944
5944
|
size: v,
|
|
@@ -5959,9 +5959,9 @@ const Cn = ({
|
|
|
5959
5959
|
showPercentage: f = !1,
|
|
5960
5960
|
loading: o = !1
|
|
5961
5961
|
}) => {
|
|
5962
|
-
const d =
|
|
5962
|
+
const d = /* @__PURE__ */ P("div", { className: "flex w-full items-center pt-1", children: [
|
|
5963
5963
|
/* @__PURE__ */ w(
|
|
5964
|
-
|
|
5964
|
+
Ke,
|
|
5965
5965
|
{
|
|
5966
5966
|
color: e,
|
|
5967
5967
|
iconSrc: i,
|
|
@@ -6004,8 +6004,8 @@ const Cn = ({
|
|
|
6004
6004
|
className: "absolute top-0 left-0 h-full rounded-2xl transition-all duration-300",
|
|
6005
6005
|
style: {
|
|
6006
6006
|
width: `${a}%`,
|
|
6007
|
-
|
|
6008
|
-
boxShadow:
|
|
6007
|
+
backgroundColor: "#FFC801",
|
|
6008
|
+
boxShadow: "0 1px 2px #CC9F00"
|
|
6009
6009
|
}
|
|
6010
6010
|
}
|
|
6011
6011
|
)
|
|
@@ -6013,11 +6013,11 @@ const Cn = ({
|
|
|
6013
6013
|
)
|
|
6014
6014
|
] })
|
|
6015
6015
|
] });
|
|
6016
|
-
return s ? /* @__PURE__ */ w(Cn, { children:
|
|
6016
|
+
return s ? /* @__PURE__ */ w(Cn, { children: d }) : d;
|
|
6017
6017
|
}, rf = ({
|
|
6018
6018
|
color: e = "lightBlue"
|
|
6019
6019
|
}) => {
|
|
6020
|
-
const [i, n] =
|
|
6020
|
+
const [i, n] = Pi(!1), a = {
|
|
6021
6021
|
lightBlue: "bg-blue-500",
|
|
6022
6022
|
amber: "bg-amber-500",
|
|
6023
6023
|
cyan: "bg-cyan-500"
|
|
@@ -6055,7 +6055,7 @@ const Cn = ({
|
|
|
6055
6055
|
size: n = 20,
|
|
6056
6056
|
loading: a = !1
|
|
6057
6057
|
}) => {
|
|
6058
|
-
const s =
|
|
6058
|
+
const s = qi[e];
|
|
6059
6059
|
return a ? /* @__PURE__ */ w(
|
|
6060
6060
|
"div",
|
|
6061
6061
|
{
|
|
@@ -6106,9 +6106,9 @@ const Cn = ({
|
|
|
6106
6106
|
records: n = {},
|
|
6107
6107
|
emojiId: a = "pancakes",
|
|
6108
6108
|
loading: s = !1
|
|
6109
|
-
}) => /* @__PURE__ */ P("div", { className: "flex w-full rounded-lg pt-
|
|
6109
|
+
}) => /* @__PURE__ */ P("div", { className: "flex w-full rounded-lg pt-1", children: [
|
|
6110
6110
|
/* @__PURE__ */ w(
|
|
6111
|
-
|
|
6111
|
+
Ke,
|
|
6112
6112
|
{
|
|
6113
6113
|
emojiId: a,
|
|
6114
6114
|
color: i,
|
|
@@ -6150,7 +6150,7 @@ const Cn = ({
|
|
|
6150
6150
|
buttonColor: n,
|
|
6151
6151
|
buttonLabel: a,
|
|
6152
6152
|
buttonSize: "small",
|
|
6153
|
-
children: /* @__PURE__ */ w("section", { className: "flex flex-col
|
|
6153
|
+
children: /* @__PURE__ */ w("section", { className: "flex flex-col h-full", children: i ? [...Array(10)].map((s, f) => /* @__PURE__ */ P(
|
|
6154
6154
|
"article",
|
|
6155
6155
|
{
|
|
6156
6156
|
className: "flex w-full rounded-md h-1/3 space-x-2 animate-pulse",
|
|
@@ -6166,7 +6166,7 @@ const Cn = ({
|
|
|
6166
6166
|
)) : e.map((s, f) => /* @__PURE__ */ P(
|
|
6167
6167
|
"article",
|
|
6168
6168
|
{
|
|
6169
|
-
className: `flex items-center
|
|
6169
|
+
className: `flex items-center px-3 py-1 rounded-lg cursor-pointer ${s.selected ? "border-2 border-[#ffd700] bg-[#ffecb3] hover:border-[#FFC200] hover:bg-[#FFE08A]" : "hover:bg-gray-100 hover:cursor-pointer"}`,
|
|
6170
6170
|
children: [
|
|
6171
6171
|
/* @__PURE__ */ w("p", { className: "text-lg font-bold text-sec w-4", children: f + 1 }),
|
|
6172
6172
|
/* @__PURE__ */ w("div", { className: "w-10 h-10 bg-gray-300 rounded-full overflow-hidden", children: /* @__PURE__ */ w(
|
|
@@ -6177,7 +6177,7 @@ const Cn = ({
|
|
|
6177
6177
|
className: "inline select-none pointer-events-none object-cover"
|
|
6178
6178
|
}
|
|
6179
6179
|
) }),
|
|
6180
|
-
/* @__PURE__ */ w("p", { className: "flex-grow text-lg font-gabaritoMedium text-sec", children: s.username }),
|
|
6180
|
+
/* @__PURE__ */ w("p", { className: "ml-2 flex-grow text-lg font-gabaritoMedium text-sec", children: s.username }),
|
|
6181
6181
|
/* @__PURE__ */ P("p", { className: "text-sm font-regular text-sec", children: [
|
|
6182
6182
|
s.xp,
|
|
6183
6183
|
" XP"
|
|
@@ -6189,7 +6189,7 @@ const Cn = ({
|
|
|
6189
6189
|
}
|
|
6190
6190
|
);
|
|
6191
6191
|
export {
|
|
6192
|
-
|
|
6192
|
+
si as Button,
|
|
6193
6193
|
Cn as Card,
|
|
6194
6194
|
df as Leaderboard,
|
|
6195
6195
|
of as ProgressBar,
|