@vlalg-nimbus/nb-buttons 2.0.5 → 2.0.7
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/nb-buttons.js +290 -280
- package/dist/nb-buttons.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/nb-buttons.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
const
|
|
1
|
+
import { useCssVars as M, toRefs as j, computed as t, openBlock as D, createElementBlock as O, normalizeClass as R, normalizeStyle as N, createElementVNode as k, renderSlot as T, createTextVNode as A, createCommentVNode as L, unref as te, withModifiers as re, onMounted as de, ref as se, watch as ie, pushScopeId as ce, popScopeId as fe } from "vue";
|
|
2
|
+
const q = (e, s) => {
|
|
3
3
|
const w = e.__vccOpts || e;
|
|
4
4
|
for (const [V, b] of s)
|
|
5
5
|
w[V] = b;
|
|
6
6
|
return w;
|
|
7
|
-
},
|
|
7
|
+
}, ve = ["id"], be = { class: "component-content__text" }, pe = /* @__PURE__ */ Object.assign({
|
|
8
8
|
name: "NbButtonVavaGame",
|
|
9
9
|
inheritAttrs: !1
|
|
10
10
|
}, {
|
|
@@ -94,12 +94,12 @@ const j = (e, s) => {
|
|
|
94
94
|
emits: ["clicked"],
|
|
95
95
|
setup(e, { emit: s }) {
|
|
96
96
|
const w = e;
|
|
97
|
-
|
|
97
|
+
M((c) => ({
|
|
98
98
|
"859731ae": n.value,
|
|
99
|
-
"101619df":
|
|
99
|
+
"101619df": X.value,
|
|
100
100
|
"90f5dac6": z.value,
|
|
101
|
-
f0f7a800:
|
|
102
|
-
33084168:
|
|
101
|
+
f0f7a800: Y.value,
|
|
102
|
+
33084168: r.value
|
|
103
103
|
}));
|
|
104
104
|
const {
|
|
105
105
|
display: V,
|
|
@@ -107,24 +107,24 @@ const j = (e, s) => {
|
|
|
107
107
|
textColorHover: m,
|
|
108
108
|
buttonColor: p,
|
|
109
109
|
buttonColorHover: y,
|
|
110
|
-
uppercase:
|
|
110
|
+
uppercase: _,
|
|
111
111
|
paddingXContent: g,
|
|
112
|
-
paddingYContent:
|
|
112
|
+
paddingYContent: x,
|
|
113
113
|
paddingXBorder: C,
|
|
114
114
|
paddingYBorder: f,
|
|
115
115
|
borderColor: i,
|
|
116
|
-
borderOpacity:
|
|
116
|
+
borderOpacity: u,
|
|
117
117
|
disabled: v,
|
|
118
118
|
fontFamily: $,
|
|
119
119
|
fontSize: B,
|
|
120
|
-
fontWeight:
|
|
121
|
-
} =
|
|
122
|
-
const c = v.value ? "component-disabled" : "", I = V.value !== "b" ? "inline-block" : "block", P = b.value ? b.value : "#ece8e1",
|
|
120
|
+
fontWeight: h
|
|
121
|
+
} = j(w), S = t(() => {
|
|
122
|
+
const c = v.value ? "component-disabled" : "", I = V.value !== "b" ? "inline-block" : "block", P = b.value ? b.value : "#ece8e1", F = p.value ? p.value : "green", G = m.value ? m.value : "#ece8e1", E = y.value ? y.value : "cyan", J = i.value ? i.value : "#ffffff", K = !u.value || !(u.value >= 0 && u.value <= 1) ? "0.5" : u.value, Q = !C.value || C.value < 0 ? 0.3 : C.value, U = !f.value || f.value < 0 ? 0.3 : f.value, Z = !g.value || g.value < 0 ? 0.5 : g.value, ae = !x.value || x.value < 0 ? 0.5 : x.value, oe = _.value ? "uppercase" : "none", le = $.value ? $.value : "'Lato', sans-serif", ne = B.value ? B.value : "1.6em", ue = !h.value || h.value < 0 ? 100 : h.value;
|
|
123
123
|
return {
|
|
124
124
|
disabled: c,
|
|
125
125
|
display: I,
|
|
126
126
|
textColor: P,
|
|
127
|
-
buttonColor:
|
|
127
|
+
buttonColor: F,
|
|
128
128
|
textColorHover: G,
|
|
129
129
|
buttonColorHover: E,
|
|
130
130
|
borderColor: J,
|
|
@@ -138,57 +138,57 @@ const j = (e, s) => {
|
|
|
138
138
|
fontSize: ne,
|
|
139
139
|
fontWeight: ue
|
|
140
140
|
};
|
|
141
|
-
}), o = t(() =>
|
|
142
|
-
display:
|
|
141
|
+
}), o = t(() => S.value.disabled), H = t(() => ({
|
|
142
|
+
display: S.value.display
|
|
143
143
|
})), d = t(() => {
|
|
144
|
-
const c =
|
|
144
|
+
const c = S.value;
|
|
145
145
|
return {
|
|
146
146
|
padding: `${c.paddingYBorder}rem ${c.paddingXBorder}rem`,
|
|
147
147
|
fontSize: c.fontSize,
|
|
148
148
|
fontWeight: c.fontWeight
|
|
149
149
|
};
|
|
150
|
-
}),
|
|
151
|
-
const c =
|
|
150
|
+
}), l = t(() => {
|
|
151
|
+
const c = S.value;
|
|
152
152
|
return {
|
|
153
153
|
textTransform: c.uppercase,
|
|
154
154
|
padding: `${c.paddingYContent}rem ${c.paddingXContent}rem`,
|
|
155
155
|
backgroundColor: c.buttonColor
|
|
156
156
|
};
|
|
157
|
-
}),
|
|
158
|
-
backgroundColor:
|
|
159
|
-
})), n = t(() =>
|
|
157
|
+
}), a = t(() => ({
|
|
158
|
+
backgroundColor: S.value.buttonColorHover
|
|
159
|
+
})), n = t(() => S.value.font), Y = t(() => S.value.borderColor), r = t(() => S.value.borderOpacity), X = t(() => S.value.textColor), z = t(() => S.value.textColorHover), W = () => {
|
|
160
160
|
s("clicked");
|
|
161
161
|
};
|
|
162
162
|
return (c, I) => e.nbId ? (D(), O("div", {
|
|
163
163
|
key: 0,
|
|
164
|
-
class:
|
|
164
|
+
class: R(["nb-wrapper", o.value]),
|
|
165
165
|
style: N([H.value]),
|
|
166
166
|
onClick: W
|
|
167
167
|
}, [
|
|
168
|
-
|
|
168
|
+
k("div", {
|
|
169
169
|
id: e.nbId,
|
|
170
|
-
class:
|
|
170
|
+
class: R(["nb-reset", "component"]),
|
|
171
171
|
style: N([d.value])
|
|
172
172
|
}, [
|
|
173
|
-
|
|
173
|
+
k("div", {
|
|
174
174
|
class: "component-content",
|
|
175
|
-
style: N([
|
|
175
|
+
style: N([l.value])
|
|
176
176
|
}, [
|
|
177
|
-
|
|
177
|
+
k("span", be, [
|
|
178
178
|
T(c.$slots, "content", {}, () => [
|
|
179
179
|
A("Default Text")
|
|
180
180
|
], !0)
|
|
181
181
|
]),
|
|
182
|
-
|
|
182
|
+
k("span", {
|
|
183
183
|
class: "component-content__mask",
|
|
184
|
-
style: N([
|
|
184
|
+
style: N([a.value])
|
|
185
185
|
}, null, 4)
|
|
186
186
|
], 4)
|
|
187
|
-
], 12,
|
|
187
|
+
], 12, ve)
|
|
188
188
|
], 6)) : L("", !0);
|
|
189
189
|
}
|
|
190
|
-
}),
|
|
191
|
-
const
|
|
190
|
+
}), ye = /* @__PURE__ */ q(pe, [["__scopeId", "data-v-4cddc525"]]);
|
|
191
|
+
const ge = ["id"], me = /* @__PURE__ */ Object.assign({
|
|
192
192
|
name: "NbButtonShowHover",
|
|
193
193
|
inheritAttrs: !1
|
|
194
194
|
}, {
|
|
@@ -256,10 +256,10 @@ const pe = ["id"], ye = /* @__PURE__ */ Object.assign({
|
|
|
256
256
|
emits: ["clicked"],
|
|
257
257
|
setup(e, { emit: s }) {
|
|
258
258
|
const w = e;
|
|
259
|
-
|
|
259
|
+
M((d) => ({
|
|
260
260
|
"4b8ff329": o.value,
|
|
261
|
-
"456d13a6":
|
|
262
|
-
55665737:
|
|
261
|
+
"456d13a6": h.value,
|
|
262
|
+
55665737: S.value,
|
|
263
263
|
"6b7abb00": e.textColorHover,
|
|
264
264
|
b18900c8: te(V)
|
|
265
265
|
}));
|
|
@@ -269,31 +269,31 @@ const pe = ["id"], ye = /* @__PURE__ */ Object.assign({
|
|
|
269
269
|
buttonColorOpacityHover: m,
|
|
270
270
|
paddingX: p,
|
|
271
271
|
paddingY: y,
|
|
272
|
-
disabled:
|
|
272
|
+
disabled: _,
|
|
273
273
|
borderRadius: g,
|
|
274
|
-
verticalAlign:
|
|
274
|
+
verticalAlign: x,
|
|
275
275
|
fontFamily: C,
|
|
276
276
|
fontSize: f,
|
|
277
277
|
fontWeight: i
|
|
278
|
-
} =
|
|
279
|
-
const d =
|
|
278
|
+
} = j(w), u = t(() => {
|
|
279
|
+
const d = _.value ? "component-disabled" : "", l = x.value ? x.value : "middle", a = V ? V.value : "ffffff", n = !p.value || p.value < 0 ? 1 : p.value, Y = !y.value || y.value < 0 ? 0.2 : y.value, r = !g.value || g.value < 0 ? 0 : g.value, X = b.value ? b.value : "10, 38, 184", z = !m.value || m.value < 0 ? 0.1 : m.value, W = C.value ? C.value : "'Lato', sans-serif", c = f.value ? f.value : "1.6rem", I = !i.value || i.value < 0 ? 100 : i.value;
|
|
280
280
|
return {
|
|
281
281
|
disabled: d,
|
|
282
|
-
borderRadius:
|
|
283
|
-
textColor:
|
|
282
|
+
borderRadius: r,
|
|
283
|
+
textColor: a,
|
|
284
284
|
paddingX: n,
|
|
285
|
-
paddingY:
|
|
286
|
-
buttonColorHover:
|
|
285
|
+
paddingY: Y,
|
|
286
|
+
buttonColorHover: X,
|
|
287
287
|
buttonColorOpacityHover: z,
|
|
288
288
|
font: W,
|
|
289
289
|
fontSize: c,
|
|
290
290
|
fontWeight: I,
|
|
291
|
-
verticalAlign:
|
|
291
|
+
verticalAlign: l
|
|
292
292
|
};
|
|
293
|
-
}), v = t(() =>
|
|
294
|
-
verticalAlign:
|
|
293
|
+
}), v = t(() => u.value.disabled), $ = t(() => ({
|
|
294
|
+
verticalAlign: u.value.verticalAlign
|
|
295
295
|
})), B = t(() => {
|
|
296
|
-
const d =
|
|
296
|
+
const d = u.value;
|
|
297
297
|
return {
|
|
298
298
|
color: d.textColor,
|
|
299
299
|
padding: `${d.paddingY}rem 0`,
|
|
@@ -301,36 +301,36 @@ const pe = ["id"], ye = /* @__PURE__ */ Object.assign({
|
|
|
301
301
|
fontSize: d.fontSize,
|
|
302
302
|
fontWeight: d.fontWeight
|
|
303
303
|
};
|
|
304
|
-
}),
|
|
305
|
-
const d =
|
|
304
|
+
}), h = t(() => {
|
|
305
|
+
const d = u.value;
|
|
306
306
|
return `${d.paddingY}rem ${d.paddingX}rem`;
|
|
307
|
-
}),
|
|
308
|
-
const d =
|
|
307
|
+
}), S = t(() => {
|
|
308
|
+
const d = u.value;
|
|
309
309
|
return `rgba(${d.buttonColorHover}, ${d.buttonColorOpacityHover})`;
|
|
310
|
-
}), o = t(() =>
|
|
310
|
+
}), o = t(() => u.value.font), H = () => {
|
|
311
311
|
s("clicked");
|
|
312
312
|
};
|
|
313
|
-
return (d,
|
|
313
|
+
return (d, l) => e.nbId ? (D(), O("div", {
|
|
314
314
|
key: 0,
|
|
315
|
-
class:
|
|
315
|
+
class: R(["nb-wrapper", v.value]),
|
|
316
316
|
style: N([$.value]),
|
|
317
317
|
onClick: H
|
|
318
318
|
}, [
|
|
319
|
-
|
|
319
|
+
k("a", {
|
|
320
320
|
id: e.nbId,
|
|
321
321
|
class: "nb-reset component tertiary",
|
|
322
322
|
style: N([B.value]),
|
|
323
|
-
onClick:
|
|
323
|
+
onClick: l[0] || (l[0] = re(() => {
|
|
324
324
|
}, ["prevent"]))
|
|
325
325
|
}, [
|
|
326
326
|
T(d.$slots, "content", {}, () => [
|
|
327
327
|
A("Default Text")
|
|
328
328
|
], !0)
|
|
329
|
-
], 12,
|
|
329
|
+
], 12, ge)
|
|
330
330
|
], 6)) : L("", !0);
|
|
331
331
|
}
|
|
332
|
-
}),
|
|
333
|
-
const
|
|
332
|
+
}), Ve = /* @__PURE__ */ q(me, [["__scopeId", "data-v-35424129"]]);
|
|
333
|
+
const Ce = ["id"], Se = /* @__PURE__ */ Object.assign({
|
|
334
334
|
name: "NbButtonPrevNext",
|
|
335
335
|
inheritAttrs: !1
|
|
336
336
|
}, {
|
|
@@ -419,7 +419,7 @@ const me = ["id"], Ve = /* @__PURE__ */ Object.assign({
|
|
|
419
419
|
emits: ["clicked"],
|
|
420
420
|
setup(e, { emit: s }) {
|
|
421
421
|
const w = e;
|
|
422
|
-
|
|
422
|
+
M((l) => ({
|
|
423
423
|
"2446b547": H.value,
|
|
424
424
|
a50bbbd2: e.colorPrimary,
|
|
425
425
|
"0f9f603e": e.textColor,
|
|
@@ -432,84 +432,84 @@ const me = ["id"], Ve = /* @__PURE__ */ Object.assign({
|
|
|
432
432
|
marginBetween: m,
|
|
433
433
|
borderRadius: p,
|
|
434
434
|
disabled: y,
|
|
435
|
-
disabledPreview:
|
|
435
|
+
disabledPreview: _,
|
|
436
436
|
disabledNext: g,
|
|
437
|
-
fontFamily:
|
|
437
|
+
fontFamily: x,
|
|
438
438
|
fontSize: C,
|
|
439
439
|
fontWeight: f
|
|
440
|
-
} =
|
|
441
|
-
const
|
|
440
|
+
} = j(w), i = t(() => {
|
|
441
|
+
const l = y.value ? "component-disabled" : "", a = _.value ? "component-disabled" : "", n = g.value ? "component-disabled" : "", Y = !m.value || m.value < 0 ? 0 : m.value, r = !p.value || p.value < 0 ? 0 : p.value, X = !V.value || V.value < 0 ? 1 : V.value, z = !b.value || b.value < 0 ? 10 : b.value, W = C.value ? C.value : "1.6em", c = !f.value || f.value < 0 ? 100 : f.value;
|
|
442
442
|
return {
|
|
443
|
-
disabled:
|
|
444
|
-
disabledPreview:
|
|
443
|
+
disabled: l,
|
|
444
|
+
disabledPreview: a,
|
|
445
445
|
disabledNext: n,
|
|
446
|
-
marginBetween: `${
|
|
447
|
-
borderRadius: `${
|
|
448
|
-
paddingX: `${
|
|
446
|
+
marginBetween: `${Y}px`,
|
|
447
|
+
borderRadius: `${r}px`,
|
|
448
|
+
paddingX: `${X}px`,
|
|
449
449
|
paddingY: `${z}px`,
|
|
450
450
|
fontSize: W,
|
|
451
451
|
fontWeight: c
|
|
452
452
|
};
|
|
453
|
-
}),
|
|
453
|
+
}), u = t(() => i.value.disabled), v = t(() => i.value.disabledPreview), $ = t(() => i.value.disabledNext), B = t(() => ({
|
|
454
454
|
display: i.value.display
|
|
455
|
-
})),
|
|
456
|
-
const
|
|
455
|
+
})), h = t(() => {
|
|
456
|
+
const l = i.value;
|
|
457
457
|
return {
|
|
458
|
-
fontSize:
|
|
459
|
-
fontWeight:
|
|
458
|
+
fontSize: l.fontSize,
|
|
459
|
+
fontWeight: l.fontWeight
|
|
460
460
|
};
|
|
461
|
-
}),
|
|
462
|
-
const
|
|
461
|
+
}), S = t(() => {
|
|
462
|
+
const l = i.value;
|
|
463
463
|
return {
|
|
464
|
-
borderRadius: `${
|
|
465
|
-
marginRight:
|
|
466
|
-
padding: `${
|
|
464
|
+
borderRadius: `${l.borderRadius} 0px 0px ${l.borderRadius}`,
|
|
465
|
+
marginRight: l.marginBetween,
|
|
466
|
+
padding: `${l.paddingX} ${l.paddingY}`
|
|
467
467
|
};
|
|
468
468
|
}), o = t(() => {
|
|
469
|
-
const
|
|
469
|
+
const l = i.value;
|
|
470
470
|
return {
|
|
471
|
-
borderRadius: `0px ${
|
|
472
|
-
marginLeft:
|
|
473
|
-
padding: `${
|
|
471
|
+
borderRadius: `0px ${l.borderRadius} ${l.borderRadius} 0px`,
|
|
472
|
+
marginLeft: l.marginBetween,
|
|
473
|
+
padding: `${l.paddingX} ${l.paddingY}`
|
|
474
474
|
};
|
|
475
|
-
}), H = t(() => `'${
|
|
476
|
-
s("clicked",
|
|
475
|
+
}), H = t(() => `'${x.value ? x.value : "'Lato', sans-serif"}'`), d = (l) => {
|
|
476
|
+
s("clicked", l);
|
|
477
477
|
};
|
|
478
|
-
return (
|
|
478
|
+
return (l, a) => e.nbId ? (D(), O("div", {
|
|
479
479
|
key: 0,
|
|
480
|
-
class:
|
|
480
|
+
class: R(["nb-wrapper", u.value]),
|
|
481
481
|
style: N([B.value])
|
|
482
482
|
}, [
|
|
483
|
-
|
|
483
|
+
k("div", {
|
|
484
484
|
id: e.nbId,
|
|
485
|
-
class:
|
|
486
|
-
style: N(
|
|
485
|
+
class: R(["nb-reset", "component"]),
|
|
486
|
+
style: N(h.value)
|
|
487
487
|
}, [
|
|
488
488
|
e.showPreview ? (D(), O("div", {
|
|
489
489
|
key: 0,
|
|
490
|
-
onClick:
|
|
491
|
-
class:
|
|
492
|
-
style: N(
|
|
490
|
+
onClick: a[0] || (a[0] = (n) => d("preview")),
|
|
491
|
+
class: R(["buttonNextPreview buttonPreview", v.value]),
|
|
492
|
+
style: N(S.value)
|
|
493
493
|
}, [
|
|
494
|
-
T(
|
|
494
|
+
T(l.$slots, "prev", {}, () => [
|
|
495
495
|
A("← Preview")
|
|
496
496
|
], !0)
|
|
497
497
|
], 6)) : L("", !0),
|
|
498
498
|
e.showNext ? (D(), O("div", {
|
|
499
499
|
key: 1,
|
|
500
|
-
onClick:
|
|
501
|
-
class:
|
|
500
|
+
onClick: a[1] || (a[1] = (n) => d("next")),
|
|
501
|
+
class: R(["buttonNextPreview buttonNext", $.value]),
|
|
502
502
|
style: N(o.value)
|
|
503
503
|
}, [
|
|
504
|
-
T(
|
|
504
|
+
T(l.$slots, "next", {}, () => [
|
|
505
505
|
A("Next →")
|
|
506
506
|
], !0)
|
|
507
507
|
], 6)) : L("", !0)
|
|
508
|
-
], 12,
|
|
508
|
+
], 12, Ce)
|
|
509
509
|
], 6)) : L("", !0);
|
|
510
510
|
}
|
|
511
|
-
}),
|
|
512
|
-
const
|
|
511
|
+
}), _e = /* @__PURE__ */ q(Se, [["__scopeId", "data-v-f26b5a64"]]);
|
|
512
|
+
const xe = ["id"], he = /* @__PURE__ */ Object.assign({
|
|
513
513
|
name: "NbButtonMechanical",
|
|
514
514
|
inheritAttrs: !1
|
|
515
515
|
}, {
|
|
@@ -580,7 +580,7 @@ const Se = ["id"], xe = /* @__PURE__ */ Object.assign({
|
|
|
580
580
|
emits: ["clicked"],
|
|
581
581
|
setup(e, { emit: s }) {
|
|
582
582
|
const w = e;
|
|
583
|
-
|
|
583
|
+
M((a) => ({
|
|
584
584
|
"196eb3ca": o.value,
|
|
585
585
|
"5a845ff6": te(b),
|
|
586
586
|
"44f25ea8": d.value,
|
|
@@ -592,64 +592,64 @@ const Se = ["id"], xe = /* @__PURE__ */ Object.assign({
|
|
|
592
592
|
textColor: m,
|
|
593
593
|
containerColor: p,
|
|
594
594
|
paddingX: y,
|
|
595
|
-
paddingY:
|
|
595
|
+
paddingY: _,
|
|
596
596
|
borderRadius: g,
|
|
597
|
-
disabled:
|
|
597
|
+
disabled: x,
|
|
598
598
|
animationSlow: C,
|
|
599
599
|
fontFamily: f,
|
|
600
600
|
fontSize: i,
|
|
601
|
-
fontWeight:
|
|
602
|
-
} =
|
|
603
|
-
const
|
|
601
|
+
fontWeight: u
|
|
602
|
+
} = j(w), v = t(() => {
|
|
603
|
+
const a = x.value ? "component-disabled" : "", n = V.value !== "b" ? "inline-block" : "block", Y = p.value ? p.value : "#ffffff", r = b.value ? b.value : "#bbbbbb", X = m.value ? m.value : "#ffffff", z = !y.value || y.value < 0 ? 1 : y.value, W = !_.value || _.value < 0 ? 0.2 : _.value, c = !g.value || g.value < 0 ? 0 : g.value, I = C.value ? "" : "component-transition__no-slow", P = f.value ? f.value : "'Lato', sans-serif", F = i.value ? i.value : "1.6em", G = !u.value || u.value < 0 ? 100 : u.value;
|
|
604
604
|
return {
|
|
605
|
-
disabled:
|
|
605
|
+
disabled: a,
|
|
606
606
|
display: n,
|
|
607
|
-
containerColor:
|
|
608
|
-
buttonColor:
|
|
609
|
-
textColor:
|
|
607
|
+
containerColor: Y,
|
|
608
|
+
buttonColor: r,
|
|
609
|
+
textColor: X,
|
|
610
610
|
paddingX: z,
|
|
611
611
|
paddingY: W,
|
|
612
612
|
borderRadius: c,
|
|
613
613
|
animationSlow: I,
|
|
614
614
|
font: P,
|
|
615
|
-
fontSize:
|
|
615
|
+
fontSize: F,
|
|
616
616
|
fontWeight: G
|
|
617
617
|
};
|
|
618
618
|
}), $ = t(() => v.value.disabled), B = t(() => ({
|
|
619
619
|
display: v.value.display
|
|
620
|
-
})),
|
|
621
|
-
const
|
|
620
|
+
})), h = t(() => {
|
|
621
|
+
const a = v.value;
|
|
622
622
|
return {
|
|
623
|
-
border: `2px solid ${
|
|
624
|
-
color:
|
|
625
|
-
backgroundColor:
|
|
626
|
-
padding: `${
|
|
627
|
-
borderRadius: `${
|
|
628
|
-
fontSize:
|
|
629
|
-
fontWeight:
|
|
623
|
+
border: `2px solid ${a.containerColor}`,
|
|
624
|
+
color: a.textColor,
|
|
625
|
+
backgroundColor: a.buttonColor,
|
|
626
|
+
padding: `${a.paddingY}rem ${a.paddingX}rem`,
|
|
627
|
+
borderRadius: `${a.borderRadius}rem`,
|
|
628
|
+
fontSize: a.fontSize,
|
|
629
|
+
fontWeight: a.fontWeight
|
|
630
630
|
};
|
|
631
|
-
}),
|
|
631
|
+
}), S = t(() => v.value.animationSlow), o = t(() => v.value.font), H = t(() => v.value.textColor), d = t(() => v.value.buttonColor), l = () => {
|
|
632
632
|
s("clicked");
|
|
633
633
|
};
|
|
634
|
-
return (
|
|
634
|
+
return (a, n) => e.nbId ? (D(), O("div", {
|
|
635
635
|
key: 0,
|
|
636
|
-
class:
|
|
636
|
+
class: R(["nb-wrapper", $.value]),
|
|
637
637
|
style: N([B.value]),
|
|
638
|
-
onClick:
|
|
638
|
+
onClick: l
|
|
639
639
|
}, [
|
|
640
|
-
|
|
640
|
+
k("div", {
|
|
641
641
|
id: e.nbId,
|
|
642
|
-
class:
|
|
643
|
-
style: N([
|
|
642
|
+
class: R(["nb-reset", "component", "component-transition", S.value]),
|
|
643
|
+
style: N([h.value])
|
|
644
644
|
}, [
|
|
645
|
-
T(
|
|
645
|
+
T(a.$slots, "content", {}, () => [
|
|
646
646
|
A("Default Text")
|
|
647
647
|
], !0)
|
|
648
|
-
], 14,
|
|
648
|
+
], 14, xe)
|
|
649
649
|
], 6)) : L("", !0);
|
|
650
650
|
}
|
|
651
|
-
}),
|
|
652
|
-
const
|
|
651
|
+
}), Ne = /* @__PURE__ */ q(he, [["__scopeId", "data-v-11d6e180"]]);
|
|
652
|
+
const we = ["id"], Be = /* @__PURE__ */ Object.assign({
|
|
653
653
|
name: "NbButtonMechanical2",
|
|
654
654
|
inheritAttrs: !1
|
|
655
655
|
}, {
|
|
@@ -716,8 +716,8 @@ const he = ["id"], Ne = /* @__PURE__ */ Object.assign({
|
|
|
716
716
|
emits: ["clicked"],
|
|
717
717
|
setup(e, { emit: s }) {
|
|
718
718
|
const w = e;
|
|
719
|
-
|
|
720
|
-
"143d0975":
|
|
719
|
+
M((o) => ({
|
|
720
|
+
"143d0975": h.value
|
|
721
721
|
}));
|
|
722
722
|
const {
|
|
723
723
|
display: V,
|
|
@@ -725,31 +725,31 @@ const he = ["id"], Ne = /* @__PURE__ */ Object.assign({
|
|
|
725
725
|
textColor: m,
|
|
726
726
|
paddingX: p,
|
|
727
727
|
paddingY: y,
|
|
728
|
-
borderRadius:
|
|
728
|
+
borderRadius: _,
|
|
729
729
|
shadowColor: g,
|
|
730
|
-
disabled:
|
|
730
|
+
disabled: x,
|
|
731
731
|
fontFamily: C,
|
|
732
732
|
fontSize: f,
|
|
733
733
|
fontWeight: i
|
|
734
|
-
} =
|
|
735
|
-
const o =
|
|
734
|
+
} = j(w), u = t(() => {
|
|
735
|
+
const o = x.value ? "component-disabled" : "", H = V.value !== "b" ? "inline-block" : "block", d = b.value ? b.value : "#bbbbbb", l = g.value ? g.value : "#002f3c", a = m.value ? m.value : "#ffffff", n = !p.value || p.value < 0 ? 1 : p.value, Y = !y.value || y.value < 0 ? 1 : y.value, r = !_.value || _.value < 0 ? 0 : _.value, X = C.value ? C.value : "'Lato', sans-serif", z = f.value ? f.value : "1.6em", W = !i.value || i.value < 0 ? 100 : i.value;
|
|
736
736
|
return {
|
|
737
737
|
disabled: o,
|
|
738
738
|
display: H,
|
|
739
739
|
buttonColor: d,
|
|
740
|
-
shadowColor:
|
|
741
|
-
textColor:
|
|
740
|
+
shadowColor: l,
|
|
741
|
+
textColor: a,
|
|
742
742
|
paddingX: n,
|
|
743
|
-
paddingY:
|
|
744
|
-
borderRadius:
|
|
745
|
-
font:
|
|
743
|
+
paddingY: Y,
|
|
744
|
+
borderRadius: r,
|
|
745
|
+
font: X,
|
|
746
746
|
fontSize: z,
|
|
747
747
|
fontWeight: W
|
|
748
748
|
};
|
|
749
|
-
}), v = t(() =>
|
|
750
|
-
display:
|
|
749
|
+
}), v = t(() => u.value.disabled), $ = t(() => ({
|
|
750
|
+
display: u.value.display
|
|
751
751
|
})), B = t(() => {
|
|
752
|
-
const o =
|
|
752
|
+
const o = u.value;
|
|
753
753
|
return {
|
|
754
754
|
color: o.textColor,
|
|
755
755
|
backgroundColor: o.buttonColor,
|
|
@@ -760,28 +760,28 @@ const he = ["id"], Ne = /* @__PURE__ */ Object.assign({
|
|
|
760
760
|
fontSize: o.fontSize,
|
|
761
761
|
fontWeight: o.fontWeight
|
|
762
762
|
};
|
|
763
|
-
}),
|
|
763
|
+
}), h = t(() => u.value.font), S = () => {
|
|
764
764
|
s("clicked");
|
|
765
765
|
};
|
|
766
766
|
return (o, H) => e.nbId ? (D(), O("div", {
|
|
767
767
|
key: 0,
|
|
768
|
-
class:
|
|
768
|
+
class: R(["nb-wrapper", v.value]),
|
|
769
769
|
style: N([$.value]),
|
|
770
|
-
onClick:
|
|
770
|
+
onClick: S
|
|
771
771
|
}, [
|
|
772
|
-
|
|
772
|
+
k("div", {
|
|
773
773
|
id: e.nbId,
|
|
774
|
-
class:
|
|
774
|
+
class: R(["nb-reset", "component", "component-transition"]),
|
|
775
775
|
style: N([B.value])
|
|
776
776
|
}, [
|
|
777
777
|
T(o.$slots, "content", {}, () => [
|
|
778
778
|
A("Default Text")
|
|
779
779
|
], !0)
|
|
780
|
-
], 12,
|
|
780
|
+
], 12, we)
|
|
781
781
|
], 6)) : L("", !0);
|
|
782
782
|
}
|
|
783
|
-
}),
|
|
784
|
-
const
|
|
783
|
+
}), $e = /* @__PURE__ */ q(Be, [["__scopeId", "data-v-f22590f0"]]);
|
|
784
|
+
const He = ["id"], ke = /* @__PURE__ */ Object.assign({
|
|
785
785
|
name: "NbButtonHamburger",
|
|
786
786
|
inheritAttrs: !1
|
|
787
787
|
}, {
|
|
@@ -831,9 +831,9 @@ const Be = ["id"], $e = /* @__PURE__ */ Object.assign({
|
|
|
831
831
|
emits: ["clicked"],
|
|
832
832
|
setup(e, { emit: s }) {
|
|
833
833
|
const w = e;
|
|
834
|
-
|
|
834
|
+
M((o) => ({
|
|
835
835
|
"4f0c7280": B.value,
|
|
836
|
-
"86dec5da":
|
|
836
|
+
"86dec5da": h.value
|
|
837
837
|
})), de(() => {
|
|
838
838
|
V.value = b.value;
|
|
839
839
|
});
|
|
@@ -842,23 +842,23 @@ const Be = ["id"], $e = /* @__PURE__ */ Object.assign({
|
|
|
842
842
|
color: m,
|
|
843
843
|
containerColor: p,
|
|
844
844
|
containerColorHover: y,
|
|
845
|
-
colorHover:
|
|
845
|
+
colorHover: _,
|
|
846
846
|
paddingX: g,
|
|
847
|
-
paddingY:
|
|
847
|
+
paddingY: x,
|
|
848
848
|
disabled: C
|
|
849
|
-
} =
|
|
850
|
-
const o = C.value ? "component-disabled" : "", H = V.value ? "change" : "", d = p.value ? p.value : "#333333",
|
|
849
|
+
} = j(w), f = t(() => {
|
|
850
|
+
const o = C.value ? "component-disabled" : "", H = V.value ? "change" : "", d = p.value ? p.value : "#333333", l = m.value ? m.value : "#ffffff", a = !g.value || g.value < 0 ? 3 : g.value, n = !x.value || x.value < 0 ? 3 : x.value, Y = y.value ? y.value : "yellow", r = _.value ? _.value : "red";
|
|
851
851
|
return {
|
|
852
852
|
disabled: o,
|
|
853
853
|
buttonStatus: H,
|
|
854
854
|
containerColor: d,
|
|
855
|
-
paddingX:
|
|
855
|
+
paddingX: a,
|
|
856
856
|
paddingY: n,
|
|
857
|
-
color:
|
|
858
|
-
containerColorHover:
|
|
859
|
-
colorHover:
|
|
857
|
+
color: l,
|
|
858
|
+
containerColorHover: Y,
|
|
859
|
+
colorHover: r
|
|
860
860
|
};
|
|
861
|
-
}), i = t(() => f.value.disabled),
|
|
861
|
+
}), i = t(() => f.value.disabled), u = t(() => {
|
|
862
862
|
const o = f.value;
|
|
863
863
|
return {
|
|
864
864
|
padding: `${o.paddingY}px ${o.paddingX}px`,
|
|
@@ -866,7 +866,7 @@ const Be = ["id"], $e = /* @__PURE__ */ Object.assign({
|
|
|
866
866
|
};
|
|
867
867
|
}), v = t(() => ({
|
|
868
868
|
backgroundColor: f.value.color
|
|
869
|
-
})), $ = t(() => f.value.buttonStatus), B = t(() => f.value.containerColorHover),
|
|
869
|
+
})), $ = t(() => f.value.buttonStatus), B = t(() => f.value.containerColorHover), h = t(() => f.value.colorHover), S = () => {
|
|
870
870
|
const o = !V.value;
|
|
871
871
|
V.value = o, s("clicked", o);
|
|
872
872
|
};
|
|
@@ -874,31 +874,31 @@ const Be = ["id"], $e = /* @__PURE__ */ Object.assign({
|
|
|
874
874
|
V.value = b.value;
|
|
875
875
|
}), (o, H) => e.nbId ? (D(), O("div", {
|
|
876
876
|
key: 0,
|
|
877
|
-
class:
|
|
878
|
-
style: N([
|
|
879
|
-
onClick:
|
|
877
|
+
class: R(["nb-wrapper", i.value]),
|
|
878
|
+
style: N([u.value]),
|
|
879
|
+
onClick: S
|
|
880
880
|
}, [
|
|
881
|
-
|
|
881
|
+
k("div", {
|
|
882
882
|
id: e.nbId,
|
|
883
|
-
class:
|
|
883
|
+
class: R(["nb-reset", "component", $.value])
|
|
884
884
|
}, [
|
|
885
|
-
|
|
885
|
+
k("div", {
|
|
886
886
|
class: "component__line-one",
|
|
887
887
|
style: N(v.value)
|
|
888
888
|
}, null, 4),
|
|
889
|
-
|
|
889
|
+
k("div", {
|
|
890
890
|
class: "component__line-two",
|
|
891
891
|
style: N(v.value)
|
|
892
892
|
}, null, 4),
|
|
893
|
-
|
|
893
|
+
k("div", {
|
|
894
894
|
class: "component__line-three",
|
|
895
895
|
style: N(v.value)
|
|
896
896
|
}, null, 4)
|
|
897
|
-
], 10,
|
|
897
|
+
], 10, He)
|
|
898
898
|
], 6)) : L("", !0);
|
|
899
899
|
}
|
|
900
|
-
}),
|
|
901
|
-
const
|
|
900
|
+
}), Ye = /* @__PURE__ */ q(ke, [["__scopeId", "data-v-37573ac0"]]);
|
|
901
|
+
const Xe = (e) => (ce("data-v-91c3c32d"), e = e(), fe(), e), Re = ["id"], ze = /* @__PURE__ */ Xe(() => /* @__PURE__ */ k("div", { class: "component-shadow" }, null, -1)), We = /* @__PURE__ */ Object.assign({
|
|
902
902
|
name: "NbButtonColorOutside",
|
|
903
903
|
inheritAttrs: !1
|
|
904
904
|
}, {
|
|
@@ -965,11 +965,11 @@ const ke = ["id"], Ye = /* @__PURE__ */ Object.assign({
|
|
|
965
965
|
emits: ["clicked"],
|
|
966
966
|
setup(e, { emit: s }) {
|
|
967
967
|
const w = e;
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
"
|
|
968
|
+
M((a) => ({
|
|
969
|
+
"1268e22f": o.value,
|
|
970
|
+
b72ce280: d.value,
|
|
971
|
+
"8beb00ca": S.value,
|
|
972
|
+
"58edf536": H.value
|
|
973
973
|
}));
|
|
974
974
|
const {
|
|
975
975
|
display: V,
|
|
@@ -977,61 +977,71 @@ const ke = ["id"], Ye = /* @__PURE__ */ Object.assign({
|
|
|
977
977
|
borderColor: m,
|
|
978
978
|
textColor: p,
|
|
979
979
|
paddingX: y,
|
|
980
|
-
paddingY:
|
|
980
|
+
paddingY: _,
|
|
981
981
|
borderRadius: g,
|
|
982
|
-
disabled:
|
|
982
|
+
disabled: x,
|
|
983
983
|
fontFamily: C,
|
|
984
984
|
fontSize: f,
|
|
985
985
|
fontWeight: i
|
|
986
|
-
} =
|
|
987
|
-
const a =
|
|
986
|
+
} = j(w), u = t(() => {
|
|
987
|
+
const a = x.value ? "component-disabled" : "", n = V.value !== "b" ? "inline-block" : "block", Y = b.value ? b.value : "#bbbbbb", r = m.value ? m.value : "#ffe54c", X = p.value ? p.value : "#ffffff", z = !y.value || y.value < 0 ? 1 : y.value, W = !_.value || _.value < 0 ? 0.2 : _.value, c = !g.value || g.value < 0 ? 0 : g.value, I = C.value ? C.value : "'Lato', sans-serif", P = f.value ? f.value : "1.6em", F = !i.value || i.value < 0 ? 200 : i.value;
|
|
988
988
|
return {
|
|
989
989
|
disabled: a,
|
|
990
|
-
display:
|
|
991
|
-
buttonColor:
|
|
992
|
-
borderColor:
|
|
993
|
-
textColor:
|
|
994
|
-
paddingX:
|
|
995
|
-
paddingY:
|
|
996
|
-
borderRadius:
|
|
997
|
-
font:
|
|
998
|
-
fontSize:
|
|
999
|
-
fontWeight:
|
|
990
|
+
display: n,
|
|
991
|
+
buttonColor: Y,
|
|
992
|
+
borderColor: r,
|
|
993
|
+
textColor: X,
|
|
994
|
+
paddingX: z,
|
|
995
|
+
paddingY: W,
|
|
996
|
+
borderRadius: c,
|
|
997
|
+
font: I,
|
|
998
|
+
fontSize: P,
|
|
999
|
+
fontWeight: F
|
|
1000
1000
|
};
|
|
1001
|
-
}), v = t(() =>
|
|
1002
|
-
display:
|
|
1001
|
+
}), v = t(() => u.value.disabled), $ = t(() => ({
|
|
1002
|
+
display: u.value.display
|
|
1003
1003
|
})), B = t(() => {
|
|
1004
|
-
const a =
|
|
1004
|
+
const a = u.value;
|
|
1005
1005
|
return {
|
|
1006
|
-
border: `1px solid ${a.borderColor}`,
|
|
1007
1006
|
color: a.textColor,
|
|
1008
|
-
padding: `${a.paddingY}rem ${a.paddingX}rem`,
|
|
1009
|
-
borderRadius: x.value,
|
|
1010
1007
|
fontSize: a.fontSize,
|
|
1011
1008
|
fontWeight: a.fontWeight
|
|
1012
1009
|
};
|
|
1013
|
-
}),
|
|
1010
|
+
}), h = t(() => {
|
|
1011
|
+
const a = u.value;
|
|
1012
|
+
return {
|
|
1013
|
+
padding: `${a.paddingY}rem ${a.paddingX}rem`,
|
|
1014
|
+
border: `1px solid ${a.borderColor}`,
|
|
1015
|
+
borderRadius: S.value
|
|
1016
|
+
};
|
|
1017
|
+
}), S = t(() => `${u.value.borderRadius}rem`), o = t(() => u.value.font), H = t(() => u.value.textColor), d = t(() => u.value.buttonColor), l = () => {
|
|
1014
1018
|
s("clicked");
|
|
1015
1019
|
};
|
|
1016
|
-
return (a,
|
|
1020
|
+
return (a, n) => e.nbId ? (D(), O("div", {
|
|
1017
1021
|
key: 0,
|
|
1018
|
-
class:
|
|
1022
|
+
class: R(["nb-wrapper", v.value]),
|
|
1019
1023
|
style: N([$.value]),
|
|
1020
|
-
onClick:
|
|
1024
|
+
onClick: l
|
|
1021
1025
|
}, [
|
|
1022
|
-
|
|
1026
|
+
k("div", {
|
|
1023
1027
|
id: e.nbId,
|
|
1024
|
-
class:
|
|
1028
|
+
class: R(["nb-reset", "component"]),
|
|
1025
1029
|
style: N([B.value])
|
|
1026
1030
|
}, [
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
+
k("div", {
|
|
1032
|
+
class: "component-content",
|
|
1033
|
+
style: N([h.value])
|
|
1034
|
+
}, [
|
|
1035
|
+
T(a.$slots, "content", {}, () => [
|
|
1036
|
+
A("Default Text")
|
|
1037
|
+
], !0)
|
|
1038
|
+
], 4),
|
|
1039
|
+
ze
|
|
1040
|
+
], 12, Re)
|
|
1031
1041
|
], 6)) : L("", !0);
|
|
1032
1042
|
}
|
|
1033
|
-
}),
|
|
1034
|
-
const
|
|
1043
|
+
}), Ie = /* @__PURE__ */ q(We, [["__scopeId", "data-v-91c3c32d"]]);
|
|
1044
|
+
const De = ["id"], Oe = /* @__PURE__ */ Object.assign({
|
|
1035
1045
|
name: "NbButtonColorHover",
|
|
1036
1046
|
inheritAttrs: !1
|
|
1037
1047
|
}, {
|
|
@@ -1102,11 +1112,11 @@ const Re = ["id"], ze = /* @__PURE__ */ Object.assign({
|
|
|
1102
1112
|
emits: ["clicked"],
|
|
1103
1113
|
setup(e, { emit: s }) {
|
|
1104
1114
|
const w = e;
|
|
1105
|
-
|
|
1106
|
-
"70b0363a":
|
|
1115
|
+
M((n) => ({
|
|
1116
|
+
"70b0363a": S.value,
|
|
1107
1117
|
"2d562374": d.value,
|
|
1108
1118
|
"360329a3": H.value,
|
|
1109
|
-
"3c24be28":
|
|
1119
|
+
"3c24be28": l.value,
|
|
1110
1120
|
"7f8991ce": o.value
|
|
1111
1121
|
}));
|
|
1112
1122
|
const {
|
|
@@ -1115,26 +1125,26 @@ const Re = ["id"], ze = /* @__PURE__ */ Object.assign({
|
|
|
1115
1125
|
paddingX: m,
|
|
1116
1126
|
paddingY: p,
|
|
1117
1127
|
borderRadius: y,
|
|
1118
|
-
disabled:
|
|
1128
|
+
disabled: _,
|
|
1119
1129
|
fontFamily: g,
|
|
1120
|
-
fontSize:
|
|
1130
|
+
fontSize: x,
|
|
1121
1131
|
fontWeight: C,
|
|
1122
1132
|
textColorHover: f,
|
|
1123
1133
|
buttonColor: i,
|
|
1124
|
-
buttonColorHover:
|
|
1125
|
-
} =
|
|
1126
|
-
const n =
|
|
1134
|
+
buttonColorHover: u
|
|
1135
|
+
} = j(w), v = t(() => {
|
|
1136
|
+
const n = _.value ? "component-disabled" : "", Y = V.value !== "b" ? "inline-block" : "block", r = b ? b.value : "ffffff", X = !m.value || m.value < 0 ? 1 : m.value, z = !p.value || p.value < 0 ? 0.2 : p.value, W = !y.value || y.value < 0 ? 0 : y.value, c = g.value ? g.value : "'Lato', sans-serif", I = x.value ? x.value : "1.6rem", P = !C.value || C.value < 0 ? 100 : C.value, F = f.value ? f.value : "#cccccc", G = i.value ? i.value : "#bbbbbb", E = u.value ? u.value : "#959595";
|
|
1127
1137
|
return {
|
|
1128
1138
|
disabled: n,
|
|
1129
|
-
display:
|
|
1139
|
+
display: Y,
|
|
1130
1140
|
font: c,
|
|
1131
1141
|
fontSize: I,
|
|
1132
1142
|
fontWeight: P,
|
|
1133
|
-
textColor:
|
|
1134
|
-
paddingX:
|
|
1143
|
+
textColor: r,
|
|
1144
|
+
paddingX: X,
|
|
1135
1145
|
paddingY: z,
|
|
1136
1146
|
borderRadius: W,
|
|
1137
|
-
textColorHover:
|
|
1147
|
+
textColorHover: F,
|
|
1138
1148
|
buttonColor: G,
|
|
1139
1149
|
buttonColorHover: E
|
|
1140
1150
|
};
|
|
@@ -1144,7 +1154,7 @@ const Re = ["id"], ze = /* @__PURE__ */ Object.assign({
|
|
|
1144
1154
|
display: n.display,
|
|
1145
1155
|
borderRadius: `${n.borderRadius}rem`
|
|
1146
1156
|
};
|
|
1147
|
-
}),
|
|
1157
|
+
}), h = t(() => {
|
|
1148
1158
|
const n = v.value;
|
|
1149
1159
|
return {
|
|
1150
1160
|
color: n.textColor,
|
|
@@ -1153,27 +1163,27 @@ const Re = ["id"], ze = /* @__PURE__ */ Object.assign({
|
|
|
1153
1163
|
fontSize: n.fontSize,
|
|
1154
1164
|
fontWeight: n.fontWeight
|
|
1155
1165
|
};
|
|
1156
|
-
}),
|
|
1166
|
+
}), S = t(() => v.value.font), o = t(() => v.value.textColor), H = t(() => v.value.textColorHover), d = t(() => v.value.buttonColor), l = t(() => v.value.buttonColorHover), a = () => {
|
|
1157
1167
|
s("clicked");
|
|
1158
1168
|
};
|
|
1159
|
-
return (n,
|
|
1160
|
-
class:
|
|
1169
|
+
return (n, Y) => (D(), O("div", {
|
|
1170
|
+
class: R(["nb-wrapper", $.value]),
|
|
1161
1171
|
style: N([B.value]),
|
|
1162
|
-
onClick:
|
|
1172
|
+
onClick: a
|
|
1163
1173
|
}, [
|
|
1164
|
-
|
|
1174
|
+
k("div", {
|
|
1165
1175
|
id: e.nbId,
|
|
1166
1176
|
class: "nb-reset component component-transition",
|
|
1167
|
-
style: N([
|
|
1177
|
+
style: N([h.value])
|
|
1168
1178
|
}, [
|
|
1169
1179
|
T(n.$slots, "content", {}, () => [
|
|
1170
1180
|
A("Default Text")
|
|
1171
1181
|
], !0)
|
|
1172
|
-
], 12,
|
|
1182
|
+
], 12, De)
|
|
1173
1183
|
], 6));
|
|
1174
1184
|
}
|
|
1175
|
-
}),
|
|
1176
|
-
const
|
|
1185
|
+
}), Le = /* @__PURE__ */ q(Oe, [["__scopeId", "data-v-849fae4e"]]);
|
|
1186
|
+
const Te = ["id"], Ae = { class: "first-child" }, Pe = { class: "last-child" }, Fe = /* @__PURE__ */ Object.assign({
|
|
1177
1187
|
name: "NbButtonAlternateText",
|
|
1178
1188
|
inheritAttrs: !1
|
|
1179
1189
|
}, {
|
|
@@ -1258,10 +1268,10 @@ const Ie = ["id"], De = { class: "first-child" }, Oe = { class: "last-child" },
|
|
|
1258
1268
|
emits: ["clicked"],
|
|
1259
1269
|
setup(e, { emit: s }) {
|
|
1260
1270
|
const w = e;
|
|
1261
|
-
|
|
1271
|
+
M((r) => ({
|
|
1262
1272
|
70620026: d.value,
|
|
1263
|
-
"2928e4ba":
|
|
1264
|
-
"0fe93572":
|
|
1273
|
+
"2928e4ba": l.value,
|
|
1274
|
+
"0fe93572": a.value,
|
|
1265
1275
|
"4dcaff7e": n.value
|
|
1266
1276
|
}));
|
|
1267
1277
|
const {
|
|
@@ -1270,27 +1280,27 @@ const Ie = ["id"], De = { class: "first-child" }, Oe = { class: "last-child" },
|
|
|
1270
1280
|
borderColor: m,
|
|
1271
1281
|
buttonHoverColor: p,
|
|
1272
1282
|
showBorder: y,
|
|
1273
|
-
borderRadius:
|
|
1283
|
+
borderRadius: _,
|
|
1274
1284
|
textColor: g,
|
|
1275
|
-
textHoverColor:
|
|
1285
|
+
textHoverColor: x,
|
|
1276
1286
|
width: C,
|
|
1277
1287
|
paddingX: f,
|
|
1278
1288
|
paddingY: i,
|
|
1279
|
-
disabled:
|
|
1289
|
+
disabled: u,
|
|
1280
1290
|
fontFamily: v,
|
|
1281
1291
|
fontSize: $,
|
|
1282
1292
|
fontWeight: B
|
|
1283
|
-
} =
|
|
1284
|
-
const
|
|
1293
|
+
} = j(w), h = t(() => {
|
|
1294
|
+
const r = u.value ? "component-disabled" : "", X = V.value !== "b" ? "inline-block" : "block", z = b.value ? b.value : "#ffffff", W = p.value ? p.value : "#000000", c = m.value ? m.value : "#ffe54c", I = !_.value || _.value < 0 ? 0 : _.value, P = [!1, !0].includes(y.value) ? y.value : !0, F = g.value ? g.value : "#ffffff", G = x.value ? x.value : "#000000", E = !C.value || C.value < 86 ? 86 : C.value, J = !f.value || f.value < 0 ? 1 : f.value, K = !i.value || i.value < 0 ? 0.4 : i.value, Q = v.value ? v.value : "'Lato', sans-serif", U = $.value ? $.value : "1.6em", Z = !B.value || B.value < 0 ? 200 : B.value;
|
|
1285
1295
|
return {
|
|
1286
|
-
disabled:
|
|
1287
|
-
display:
|
|
1296
|
+
disabled: r,
|
|
1297
|
+
display: X,
|
|
1288
1298
|
buttonColor: z,
|
|
1289
1299
|
buttonHoverColor: W,
|
|
1290
1300
|
borderColor: c,
|
|
1291
1301
|
showBorder: P,
|
|
1292
1302
|
borderRadius: I,
|
|
1293
|
-
textColor:
|
|
1303
|
+
textColor: F,
|
|
1294
1304
|
textHoverColor: G,
|
|
1295
1305
|
width: E,
|
|
1296
1306
|
paddingX: J,
|
|
@@ -1299,59 +1309,59 @@ const Ie = ["id"], De = { class: "first-child" }, Oe = { class: "last-child" },
|
|
|
1299
1309
|
fontSize: U,
|
|
1300
1310
|
fontWeight: Z
|
|
1301
1311
|
};
|
|
1302
|
-
}),
|
|
1303
|
-
display:
|
|
1312
|
+
}), S = t(() => h.value.disabled), o = t(() => ({
|
|
1313
|
+
display: h.value.display
|
|
1304
1314
|
})), H = t(() => {
|
|
1305
|
-
const
|
|
1315
|
+
const r = h.value, X = r.display === "block" ? "auto" : `${r.width}px`;
|
|
1306
1316
|
return {
|
|
1307
|
-
...
|
|
1308
|
-
borderRadius: `${
|
|
1309
|
-
background:
|
|
1317
|
+
...r.showBorder ? { border: `1px solid ${r.borderColor}` } : {},
|
|
1318
|
+
borderRadius: `${r.borderRadius}rem`,
|
|
1319
|
+
background: r.buttonColor,
|
|
1310
1320
|
minWidth: "33px",
|
|
1311
|
-
width:
|
|
1312
|
-
padding: `${
|
|
1321
|
+
width: X,
|
|
1322
|
+
padding: `${r.paddingY}rem ${r.paddingX}rem`,
|
|
1313
1323
|
lineHeight: "1.42857143",
|
|
1314
|
-
fontSize:
|
|
1315
|
-
fontWeight:
|
|
1324
|
+
fontSize: r.fontSize,
|
|
1325
|
+
fontWeight: r.fontWeight
|
|
1316
1326
|
};
|
|
1317
|
-
}), d = t(() =>
|
|
1327
|
+
}), d = t(() => h.value.font), l = t(() => h.value.textColor), a = t(() => h.value.textHoverColor), n = t(() => h.value.buttonHoverColor), Y = () => {
|
|
1318
1328
|
s("clicked");
|
|
1319
1329
|
};
|
|
1320
|
-
return (
|
|
1330
|
+
return (r, X) => e.nbId ? (D(), O("div", {
|
|
1321
1331
|
key: 0,
|
|
1322
|
-
class:
|
|
1332
|
+
class: R(["nb-wrapper", S.value]),
|
|
1323
1333
|
style: N([o.value]),
|
|
1324
|
-
onClick:
|
|
1334
|
+
onClick: Y
|
|
1325
1335
|
}, [
|
|
1326
|
-
|
|
1336
|
+
k("div", {
|
|
1327
1337
|
id: e.nbId,
|
|
1328
|
-
class:
|
|
1338
|
+
class: R(["nb-reset", "component"]),
|
|
1329
1339
|
style: N([H.value])
|
|
1330
1340
|
}, [
|
|
1331
|
-
|
|
1332
|
-
T(
|
|
1341
|
+
k("div", Ae, [
|
|
1342
|
+
T(r.$slots, "content", {}, () => [
|
|
1333
1343
|
A("Default Text")
|
|
1334
1344
|
], !0)
|
|
1335
1345
|
]),
|
|
1336
|
-
|
|
1337
|
-
T(
|
|
1346
|
+
k("div", Pe, [
|
|
1347
|
+
T(r.$slots, "content", {}, () => [
|
|
1338
1348
|
A("Default Text")
|
|
1339
1349
|
], !0)
|
|
1340
1350
|
])
|
|
1341
|
-
], 12,
|
|
1351
|
+
], 12, Te)
|
|
1342
1352
|
], 6)) : L("", !0);
|
|
1343
1353
|
}
|
|
1344
|
-
}),
|
|
1345
|
-
NbButtonVavaGame:
|
|
1346
|
-
NbButtonShowHover:
|
|
1347
|
-
NbButtonPrevNext:
|
|
1348
|
-
NbButtonMechanical:
|
|
1349
|
-
NbButtonMechanical2:
|
|
1350
|
-
NbButtonHamburger:
|
|
1351
|
-
NbButtonColorOutside:
|
|
1352
|
-
NbButtonColorHover:
|
|
1353
|
-
NbButtonAlternateText:
|
|
1354
|
-
},
|
|
1354
|
+
}), Me = /* @__PURE__ */ q(Fe, [["__scopeId", "data-v-fe71a891"]]), ee = {
|
|
1355
|
+
NbButtonVavaGame: ye,
|
|
1356
|
+
NbButtonShowHover: Ve,
|
|
1357
|
+
NbButtonPrevNext: _e,
|
|
1358
|
+
NbButtonMechanical: Ne,
|
|
1359
|
+
NbButtonMechanical2: $e,
|
|
1360
|
+
NbButtonHamburger: Ye,
|
|
1361
|
+
NbButtonColorOutside: Ie,
|
|
1362
|
+
NbButtonColorHover: Le,
|
|
1363
|
+
NbButtonAlternateText: Me
|
|
1364
|
+
}, qe = {
|
|
1355
1365
|
install(e) {
|
|
1356
1366
|
for (const s in ee)
|
|
1357
1367
|
if (Object.prototype.hasOwnProperty.call(ee, s)) {
|
|
@@ -1361,5 +1371,5 @@ const Ie = ["id"], De = { class: "first-child" }, Oe = { class: "last-child" },
|
|
|
1361
1371
|
}
|
|
1362
1372
|
};
|
|
1363
1373
|
export {
|
|
1364
|
-
|
|
1374
|
+
qe as default
|
|
1365
1375
|
};
|
package/dist/nb-buttons.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(t,E){typeof exports=="object"&&typeof module<"u"?module.exports=E(require("vue")):typeof define=="function"&&define.amd?define(["vue"],E):(t=typeof globalThis<"u"?globalThis:t||self,t.NbButtons=E(t.Vue))})(this,function(t){"use strict";const E="",X=(e,s)=>{const h=e.__vccOpts||e;for(const[V,b]of s)h[V]=b;return h},M=["id"],q={class:"component-content__text"},G=X(Object.assign({name:"NbButtonVavaGame",inheritAttrs:!1},{__name:"NbButtonVavaGame",props:{nbId:{type:String,required:!0},display:{type:String,default:"ib",validator:(e="")=>{const s=e.toLowerCase();return["b","ib"].includes(s)}},textColor:{type:String,default:"#ece8e1"},buttonColor:{type:String,default:"blue"},textColorHover:{type:String,default:"gray"},buttonColorHover:{type:String,default:"cyan"},borderColor:{type:String,default:"yellow"},borderOpacity:{type:Number,default:.5},paddingXBorder:{type:Number,default:.3,validator:e=>e||.3},paddingYBorder:{type:Number,default:.3,validator:e=>e||.3},paddingXContent:{type:Number,default:.5,validator:e=>e||.5},paddingYContent:{type:Number,default:.5,validator:e=>e||.5},uppercase:{type:Boolean,default:!0,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:e=>e||"1.6em"},fontWeight:{type:Number,default:400,validator:e=>e||400}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(c=>({"859731ae":n.value,"101619df":k.value,"90f5dac6":H.value,f0f7a800:$.value,33084168:r.value}));const{display:V,textColor:b,textColorHover:g,buttonColor:m,buttonColorHover:y,uppercase:S,paddingXContent:v,paddingYContent:N,paddingXBorder:C,paddingYBorder:f,borderColor:i,borderOpacity:d,disabled:p,fontFamily:z,fontSize:B,fontWeight:_}=t.toRefs(h),x=t.computed(()=>{const c=p.value?"component-disabled":"",Y=V.value!=="b"?"inline-block":"block",W=b.value?b.value:"#ece8e1",I=m.value?m.value:"green",T=g.value?g.value:"#ece8e1",D=y.value?y.value:"cyan",L=i.value?i.value:"#ffffff",A=!d.value||!(d.value>=0&&d.value<=1)?"0.5":d.value,P=!C.value||C.value<0?.3:C.value,F=!f.value||f.value<0?.3:f.value,j=!v.value||v.value<0?.5:v.value,fe=!N.value||N.value<0?.5:N.value,pe=S.value?"uppercase":"none",be=z.value?z.value:"'Lato', sans-serif",me=B.value?B.value:"1.6em",ye=!_.value||_.value<0?100:_.value;return{disabled:c,display:Y,textColor:W,buttonColor:I,textColorHover:T,buttonColorHover:D,borderColor:L,borderOpacity:A,paddingXBorder:P,paddingYBorder:F,paddingXContent:j,paddingYContent:fe,uppercase:pe,font:be,fontSize:me,fontWeight:ye}}),a=t.computed(()=>x.value.disabled),w=t.computed(()=>({display:x.value.display})),u=t.computed(()=>{const c=x.value;return{padding:`${c.paddingYBorder}rem ${c.paddingXBorder}rem`,fontSize:c.fontSize,fontWeight:c.fontWeight}}),o=t.computed(()=>{const c=x.value;return{textTransform:c.uppercase,padding:`${c.paddingYContent}rem ${c.paddingXContent}rem`,backgroundColor:c.buttonColor}}),l=t.computed(()=>({backgroundColor:x.value.buttonColorHover})),n=t.computed(()=>x.value.font),$=t.computed(()=>x.value.borderColor),r=t.computed(()=>x.value.borderOpacity),k=t.computed(()=>x.value.textColor),H=t.computed(()=>x.value.textColorHover),R=()=>{s("clicked")};return(c,Y)=>e.nbId?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nb-wrapper",a.value]),style:t.normalizeStyle([w.value]),onClick:R},[t.createElementVNode("div",{id:e.nbId,class:t.normalizeClass(["nb-reset","component"]),style:t.normalizeStyle([u.value])},[t.createElementVNode("div",{class:"component-content",style:t.normalizeStyle([o.value])},[t.createElementVNode("span",q,[t.renderSlot(c.$slots,"content",{},()=>[t.createTextVNode("Default Text")],!0)]),t.createElementVNode("span",{class:"component-content__mask",style:t.normalizeStyle([l.value])},null,4)],4)],12,M)],6)):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-4cddc525"]]),ge="",J=["id"],K=X(Object.assign({name:"NbButtonShowHover",inheritAttrs:!1},{__name:"NbButtonShowHover",props:{nbId:{type:String,required:!0},textColor:{type:String,default:"#145deb"},textColorHover:{type:String,default:"#4bd6b5"},buttonColorHover:{type:String,default:"10, 38, 184"},buttonColorOpacityHover:{type:Number,default:.1},paddingX:{type:Number,default:1,validator:e=>e||1},paddingY:{type:Number,default:.2,validator:e=>e||.2},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},borderRadius:{type:Number,default:.375},verticalAlign:{type:String,default:"middle",validator:e=>["top","middle","bottom"].includes(e)},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:e=>e||"1.6em"},fontWeight:{type:Number,default:400,validator:e=>e||400}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(u=>({"4b8ff329":a.value,"456d13a6":_.value,55665737:x.value,"6b7abb00":e.textColorHover,b18900c8:t.unref(V)}));const{textColor:V,buttonColorHover:b,buttonColorOpacityHover:g,paddingX:m,paddingY:y,disabled:S,borderRadius:v,verticalAlign:N,fontFamily:C,fontSize:f,fontWeight:i}=t.toRefs(h),d=t.computed(()=>{const u=S.value?"component-disabled":"",o=N.value?N.value:"middle",l=V?V.value:"ffffff",n=!m.value||m.value<0?1:m.value,$=!y.value||y.value<0?.2:y.value,r=!v.value||v.value<0?0:v.value,k=b.value?b.value:"10, 38, 184",H=!g.value||g.value<0?.1:g.value,R=C.value?C.value:"'Lato', sans-serif",c=f.value?f.value:"1.6rem",Y=!i.value||i.value<0?100:i.value;return{disabled:u,borderRadius:r,textColor:l,paddingX:n,paddingY:$,buttonColorHover:k,buttonColorOpacityHover:H,font:R,fontSize:c,fontWeight:Y,verticalAlign:o}}),p=t.computed(()=>d.value.disabled),z=t.computed(()=>({verticalAlign:d.value.verticalAlign})),B=t.computed(()=>{const u=d.value;return{color:u.textColor,padding:`${u.paddingY}rem 0`,borderRadius:`${u.borderRadius}rem`,fontSize:u.fontSize,fontWeight:u.fontWeight}}),_=t.computed(()=>{const u=d.value;return`${u.paddingY}rem ${u.paddingX}rem`}),x=t.computed(()=>{const u=d.value;return`rgba(${u.buttonColorHover}, ${u.buttonColorOpacityHover})`}),a=t.computed(()=>d.value.font),w=()=>{s("clicked")};return(u,o)=>e.nbId?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nb-wrapper",p.value]),style:t.normalizeStyle([z.value]),onClick:w},[t.createElementVNode("a",{id:e.nbId,class:"nb-reset component tertiary",style:t.normalizeStyle([B.value]),onClick:o[0]||(o[0]=t.withModifiers(()=>{},["prevent"]))},[t.renderSlot(u.$slots,"content",{},()=>[t.createTextVNode("Default Text")],!0)],12,J)],6)):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-35424129"]]),Ce="",Q=["id"],U=X(Object.assign({name:"NbButtonPrevNext",inheritAttrs:!1},{__name:"NbButtonPrevNext",props:{nbId:{type:String,required:!0},colorPrimary:{type:String,default:"tomato"},colorSecondary:{type:String,default:"blue"},textColor:{type:String,default:"#fff"},textColorHover:{type:String,default:"yellow"},paddingX:{type:Number,default:1,validator:e=>e||1},paddingY:{type:Number,default:10,validator:e=>e||10},marginBetween:{type:Number,default:2,validator:e=>e||1},borderRadius:{type:Number,default:6,validator:e=>e||1},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},showPreview:{type:Boolean,default:!0,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},showNext:{type:Boolean,default:!0,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},disabledPreview:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},disabledNext:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:e=>e||"1.6em"},fontWeight:{type:Number,default:400,validator:e=>e||400}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(o=>({"2446b547":w.value,a50bbbd2:e.colorPrimary,"0f9f603e":e.textColor,"748cd449":e.colorSecondary,"1af3ef9e":e.textColorHover}));const{paddingX:V,paddingY:b,marginBetween:g,borderRadius:m,disabled:y,disabledPreview:S,disabledNext:v,fontFamily:N,fontSize:C,fontWeight:f}=t.toRefs(h),i=t.computed(()=>{const o=y.value?"component-disabled":"",l=S.value?"component-disabled":"",n=v.value?"component-disabled":"",$=!g.value||g.value<0?0:g.value,r=!m.value||m.value<0?0:m.value,k=!V.value||V.value<0?1:V.value,H=!b.value||b.value<0?10:b.value,R=C.value?C.value:"1.6em",c=!f.value||f.value<0?100:f.value;return{disabled:o,disabledPreview:l,disabledNext:n,marginBetween:`${$}px`,borderRadius:`${r}px`,paddingX:`${k}px`,paddingY:`${H}px`,fontSize:R,fontWeight:c}}),d=t.computed(()=>i.value.disabled),p=t.computed(()=>i.value.disabledPreview),z=t.computed(()=>i.value.disabledNext),B=t.computed(()=>({display:i.value.display})),_=t.computed(()=>{const o=i.value;return{fontSize:o.fontSize,fontWeight:o.fontWeight}}),x=t.computed(()=>{const o=i.value;return{borderRadius:`${o.borderRadius} 0px 0px ${o.borderRadius}`,marginRight:o.marginBetween,padding:`${o.paddingX} ${o.paddingY}`}}),a=t.computed(()=>{const o=i.value;return{borderRadius:`0px ${o.borderRadius} ${o.borderRadius} 0px`,marginLeft:o.marginBetween,padding:`${o.paddingX} ${o.paddingY}`}}),w=t.computed(()=>`'${N.value?N.value:"'Lato', sans-serif"}'`),u=o=>{s("clicked",o)};return(o,l)=>e.nbId?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nb-wrapper",d.value]),style:t.normalizeStyle([B.value])},[t.createElementVNode("div",{id:e.nbId,class:t.normalizeClass(["nb-reset","component"]),style:t.normalizeStyle(_.value)},[e.showPreview?(t.openBlock(),t.createElementBlock("div",{key:0,onClick:l[0]||(l[0]=n=>u("preview")),class:t.normalizeClass(["buttonNextPreview buttonPreview",p.value]),style:t.normalizeStyle(x.value)},[t.renderSlot(o.$slots,"prev",{},()=>[t.createTextVNode("← Preview")],!0)],6)):t.createCommentVNode("",!0),e.showNext?(t.openBlock(),t.createElementBlock("div",{key:1,onClick:l[1]||(l[1]=n=>u("next")),class:t.normalizeClass(["buttonNextPreview buttonNext",z.value]),style:t.normalizeStyle(a.value)},[t.renderSlot(o.$slots,"next",{},()=>[t.createTextVNode("Next →")],!0)],6)):t.createCommentVNode("",!0)],12,Q)],6)):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-f26b5a64"]]),_e="",Z=["id"],ee=X(Object.assign({name:"NbButtonMechanical",inheritAttrs:!1},{__name:"NbButtonMechanical",props:{nbId:{type:String,required:!0},display:{type:String,default:"b",validator:(e="b")=>{const s=e?e.toLowerCase():"";return["b","ib"].includes(s)}},textColor:{type:String,default:"#ffffff"},containerColor:{type:String,default:"#ffffff"},buttonColor:{type:String,default:"#bbbbbb"},paddingX:{type:Number,default:1,validator:e=>e||1},paddingY:{type:Number,default:.2,validator:e=>e||.2},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},borderRadius:{type:Number,default:.375},animationSlow:{type:Boolean,default:!1},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:e=>e||"1.6em"},fontWeight:{type:Number,default:400,validator:e=>e||400}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(l=>({"196eb3ca":a.value,"5a845ff6":t.unref(b),"44f25ea8":u.value,"3eb45b5e":w.value}));const{display:V,buttonColor:b,textColor:g,containerColor:m,paddingX:y,paddingY:S,borderRadius:v,disabled:N,animationSlow:C,fontFamily:f,fontSize:i,fontWeight:d}=t.toRefs(h),p=t.computed(()=>{const l=N.value?"component-disabled":"",n=V.value!=="b"?"inline-block":"block",$=m.value?m.value:"#ffffff",r=b.value?b.value:"#bbbbbb",k=g.value?g.value:"#ffffff",H=!y.value||y.value<0?1:y.value,R=!S.value||S.value<0?.2:S.value,c=!v.value||v.value<0?0:v.value,Y=C.value?"":"component-transition__no-slow",W=f.value?f.value:"'Lato', sans-serif",I=i.value?i.value:"1.6em",T=!d.value||d.value<0?100:d.value;return{disabled:l,display:n,containerColor:$,buttonColor:r,textColor:k,paddingX:H,paddingY:R,borderRadius:c,animationSlow:Y,font:W,fontSize:I,fontWeight:T}}),z=t.computed(()=>p.value.disabled),B=t.computed(()=>({display:p.value.display})),_=t.computed(()=>{const l=p.value;return{border:`2px solid ${l.containerColor}`,color:l.textColor,backgroundColor:l.buttonColor,padding:`${l.paddingY}rem ${l.paddingX}rem`,borderRadius:`${l.borderRadius}rem`,fontSize:l.fontSize,fontWeight:l.fontWeight}}),x=t.computed(()=>p.value.animationSlow),a=t.computed(()=>p.value.font),w=t.computed(()=>p.value.textColor),u=t.computed(()=>p.value.buttonColor),o=()=>{s("clicked")};return(l,n)=>e.nbId?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nb-wrapper",z.value]),style:t.normalizeStyle([B.value]),onClick:o},[t.createElementVNode("div",{id:e.nbId,class:t.normalizeClass(["nb-reset","component","component-transition",x.value]),style:t.normalizeStyle([_.value])},[t.renderSlot(l.$slots,"content",{},()=>[t.createTextVNode("Default Text")],!0)],14,Z)],6)):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-11d6e180"]]),Ne="",te=["id"],oe=X(Object.assign({name:"NbButtonMechanical2",inheritAttrs:!1},{__name:"NbButtonMechanical2",props:{nbId:{type:String,required:!0},display:{type:String,default:"b",validator:(e="b")=>{const s=e?e.toLowerCase():"";return["b","ib"].includes(s)}},textColor:{type:String,default:"#ffffff"},buttonColor:{type:String,default:"#bbbbbb"},shadowColor:{type:String,default:"#002f3c"},paddingX:{type:Number,default:1,validator:e=>e||1},paddingY:{type:Number,default:.2,validator:e=>e||.2},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},borderRadius:{type:Number,default:.25},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:e=>e||"1.6em"},fontWeight:{type:Number,default:400,validator:e=>e||400}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(a=>({"143d0975":_.value}));const{display:V,buttonColor:b,textColor:g,paddingX:m,paddingY:y,borderRadius:S,shadowColor:v,disabled:N,fontFamily:C,fontSize:f,fontWeight:i}=t.toRefs(h),d=t.computed(()=>{const a=N.value?"component-disabled":"",w=V.value!=="b"?"inline-block":"block",u=b.value?b.value:"#bbbbbb",o=v.value?v.value:"#002f3c",l=g.value?g.value:"#ffffff",n=!m.value||m.value<0?1:m.value,$=!y.value||y.value<0?1:y.value,r=!S.value||S.value<0?0:S.value,k=C.value?C.value:"'Lato', sans-serif",H=f.value?f.value:"1.6em",R=!i.value||i.value<0?100:i.value;return{disabled:a,display:w,buttonColor:u,shadowColor:o,textColor:l,paddingX:n,paddingY:$,borderRadius:r,font:k,fontSize:H,fontWeight:R}}),p=t.computed(()=>d.value.disabled),z=t.computed(()=>({display:d.value.display})),B=t.computed(()=>{const a=d.value;return{color:a.textColor,backgroundColor:a.buttonColor,boxShadow:`0 0 #0000, 0 0 #0000, 3px 3px 0 ${a.shadowColor}`,padding:`${a.paddingY}rem ${a.paddingX}rem`,padding:`${a.paddingY}rem ${a.paddingX}rem`,borderRadius:`${a.borderRadius}rem`,fontSize:a.fontSize,fontWeight:a.fontWeight}}),_=t.computed(()=>d.value.font),x=()=>{s("clicked")};return(a,w)=>e.nbId?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nb-wrapper",p.value]),style:t.normalizeStyle([z.value]),onClick:x},[t.createElementVNode("div",{id:e.nbId,class:t.normalizeClass(["nb-reset","component","component-transition"]),style:t.normalizeStyle([B.value])},[t.renderSlot(a.$slots,"content",{},()=>[t.createTextVNode("Default Text")],!0)],12,te)],6)):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-f22590f0"]]),Be="",ae=["id"],le=X(Object.assign({name:"NbButtonHamburger",inheritAttrs:!1},{__name:"NbButtonHamburger",props:{nbId:{type:String,required:!0},status:{type:Boolean,default:!1,validator:e=>[!1,!0].includes(e)},color:{type:String,default:"#ffffff"},colorHover:{type:String,default:"yellow"},containerColor:{type:String,default:"#333333"},containerColorHover:{type:String,default:"red"},paddingX:{type:Number,default:3,validator:e=>e||3},paddingY:{type:Number,default:3,validator:e=>e||3},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(a=>({"4f0c7280":B.value,"86dec5da":_.value})),t.onMounted(()=>{V.value=b.value});const V=t.ref(!1),{status:b,color:g,containerColor:m,containerColorHover:y,colorHover:S,paddingX:v,paddingY:N,disabled:C}=t.toRefs(h),f=t.computed(()=>{const a=C.value?"component-disabled":"",w=V.value?"change":"",u=m.value?m.value:"#333333",o=g.value?g.value:"#ffffff",l=!v.value||v.value<0?3:v.value,n=!N.value||N.value<0?3:N.value,$=y.value?y.value:"yellow",r=S.value?S.value:"red";return{disabled:a,buttonStatus:w,containerColor:u,paddingX:l,paddingY:n,color:o,containerColorHover:$,colorHover:r}}),i=t.computed(()=>f.value.disabled),d=t.computed(()=>{const a=f.value;return{padding:`${a.paddingY}px ${a.paddingX}px`,backgroundColor:a.containerColor}}),p=t.computed(()=>({backgroundColor:f.value.color})),z=t.computed(()=>f.value.buttonStatus),B=t.computed(()=>f.value.containerColorHover),_=t.computed(()=>f.value.colorHover),x=()=>{const a=!V.value;V.value=a,s("clicked",a)};return t.watch(b,()=>{V.value=b.value}),(a,w)=>e.nbId?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nb-wrapper",i.value]),style:t.normalizeStyle([d.value]),onClick:x},[t.createElementVNode("div",{id:e.nbId,class:t.normalizeClass(["nb-reset","component",z.value])},[t.createElementVNode("div",{class:"component__line-one",style:t.normalizeStyle(p.value)},null,4),t.createElementVNode("div",{class:"component__line-two",style:t.normalizeStyle(p.value)},null,4),t.createElementVNode("div",{class:"component__line-three",style:t.normalizeStyle(p.value)},null,4)],10,ae)],6)):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-37573ac0"]]),we="",ne=["id"],re=X(Object.assign({name:"NbButtonColorOutside",inheritAttrs:!1},{__name:"NbButtonColorOutside",props:{nbId:{type:String,required:!0},display:{type:String,default:"b",validator:(e="b")=>{const s=e?e.toLowerCase():"";return["b","ib"].includes(s)}},textColor:{type:String,default:"#ffffff"},buttonColor:{type:String,default:"#bbbbbb"},borderColor:{type:String,default:"#ffe54c"},paddingX:{type:Number,default:1,validator:e=>e||1},paddingY:{type:Number,default:.2,validator:e=>e||.2},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},borderRadius:{type:Number,default:.25},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:e=>e||"1.6em"},fontWeight:{type:Number,default:200,validator:e=>e||200}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(o=>({c461ea64:x.value,"39967e42":w.value,ed566e48:_.value,"0d683344":a.value}));const{display:V,buttonColor:b,borderColor:g,textColor:m,paddingX:y,paddingY:S,borderRadius:v,disabled:N,fontFamily:C,fontSize:f,fontWeight:i}=t.toRefs(h),d=t.computed(()=>{const o=N.value?"component-disabled":"",l=V.value!=="b"?"inline-block":"block",n=b.value?b.value:"#bbbbbb",$=g.value?g.value:"#ffe54c",r=m.value?m.value:"#ffffff",k=!y.value||y.value<0?1:y.value,H=!S.value||S.value<0?.2:S.value,R=!v.value||v.value<0?0:v.value,c=C.value?C.value:"'Lato', sans-serif",Y=f.value?f.value:"1.6em",W=!i.value||i.value<0?200:i.value;return{disabled:o,display:l,buttonColor:n,borderColor:$,textColor:r,paddingX:k,paddingY:H,borderRadius:R,font:c,fontSize:Y,fontWeight:W}}),p=t.computed(()=>d.value.disabled),z=t.computed(()=>({display:d.value.display})),B=t.computed(()=>{const o=d.value;return{border:`1px solid ${o.borderColor}`,color:o.textColor,padding:`${o.paddingY}rem ${o.paddingX}rem`,borderRadius:_.value,fontSize:o.fontSize,fontWeight:o.fontWeight}}),_=t.computed(()=>`${d.value.borderRadius}rem`),x=t.computed(()=>d.value.font),a=t.computed(()=>d.value.textColor),w=t.computed(()=>d.value.buttonColor),u=()=>{s("clicked")};return(o,l)=>e.nbId?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nb-wrapper",p.value]),style:t.normalizeStyle([z.value]),onClick:u},[t.createElementVNode("div",{id:e.nbId,class:t.normalizeClass(["nb-reset","component"]),style:t.normalizeStyle([B.value])},[t.renderSlot(o.$slots,"content",{},()=>[t.createTextVNode("Default Text")],!0)],12,ne)],6)):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-0201e93e"]]),ke="",de=["id"],ue=X(Object.assign({name:"NbButtonColorHover",inheritAttrs:!1},{__name:"NbButtonColorHover",props:{nbId:{type:String,required:!0},display:{type:String,default:"b",validator:(e="b")=>{const s=e.toLowerCase();return["b","ib"].includes(s)}},textColor:{type:String,default:"#ffffff"},paddingX:{type:Number,default:1,validator:e=>e||1},paddingY:{type:Number,default:.2,validator:e=>e||.2},borderRadius:{type:Number,default:.375},textColorHover:{type:String,default:"#cccccc"},buttonColor:{type:String,default:"#bbbbbb"},buttonColorHover:{type:String,default:"#959595"},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:e=>e||"1.6em"},fontWeight:{type:Number,default:400,validator:e=>e||700}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(n=>({"70b0363a":x.value,"2d562374":u.value,"360329a3":w.value,"3c24be28":o.value,"7f8991ce":a.value}));const{display:V,textColor:b,paddingX:g,paddingY:m,borderRadius:y,disabled:S,fontFamily:v,fontSize:N,fontWeight:C,textColorHover:f,buttonColor:i,buttonColorHover:d}=t.toRefs(h),p=t.computed(()=>{const n=S.value?"component-disabled":"",$=V.value!=="b"?"inline-block":"block",r=b?b.value:"ffffff",k=!g.value||g.value<0?1:g.value,H=!m.value||m.value<0?.2:m.value,R=!y.value||y.value<0?0:y.value,c=v.value?v.value:"'Lato', sans-serif",Y=N.value?N.value:"1.6rem",W=!C.value||C.value<0?100:C.value,I=f.value?f.value:"#cccccc",T=i.value?i.value:"#bbbbbb",D=d.value?d.value:"#959595";return{disabled:n,display:$,font:c,fontSize:Y,fontWeight:W,textColor:r,paddingX:k,paddingY:H,borderRadius:R,textColorHover:I,buttonColor:T,buttonColorHover:D}}),z=t.computed(()=>p.value.disabled),B=t.computed(()=>{const n=p.value;return{display:n.display,borderRadius:`${n.borderRadius}rem`}}),_=t.computed(()=>{const n=p.value;return{color:n.textColor,padding:`${n.paddingY}rem ${n.paddingX}rem`,borderRadius:`${n.borderRadius}rem`,fontSize:n.fontSize,fontWeight:n.fontWeight}}),x=t.computed(()=>p.value.font),a=t.computed(()=>p.value.textColor),w=t.computed(()=>p.value.textColorHover),u=t.computed(()=>p.value.buttonColor),o=t.computed(()=>p.value.buttonColorHover),l=()=>{s("clicked")};return(n,$)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["nb-wrapper",z.value]),style:t.normalizeStyle([B.value]),onClick:l},[t.createElementVNode("div",{id:e.nbId,class:"nb-reset component component-transition",style:t.normalizeStyle([_.value])},[t.renderSlot(n.$slots,"content",{},()=>[t.createTextVNode("Default Text")],!0)],12,de)],6))}}),[["__scopeId","data-v-849fae4e"]]),Re="",se=["id"],ie={class:"first-child"},ce={class:"last-child"},O={NbButtonVavaGame:G,NbButtonShowHover:K,NbButtonPrevNext:U,NbButtonMechanical:ee,NbButtonMechanical2:oe,NbButtonHamburger:le,NbButtonColorOutside:re,NbButtonColorHover:ue,NbButtonAlternateText:X(Object.assign({name:"NbButtonAlternateText",inheritAttrs:!1},{__name:"NbButtonAlternateText",props:{nbId:{type:String,required:!0},display:{type:String,default:"b",validator:(e="b")=>{const s=e?e.toLowerCase():"";return["b","ib"].includes(s)}},textColor:{type:String,default:"#ffffff"},textHoverColor:{type:String,default:"#000000"},buttonColor:{type:String,default:"#ffffff"},buttonHoverColor:{type:String,default:"red"},borderColor:{type:String,default:"#ffe54c"},showBorder:{type:Boolean,default:!0,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},borderRadius:{type:Number,default:.375},width:{type:Number,default:86,validator:e=>e||86},paddingX:{type:Number,default:1,validator:e=>e||1},paddingY:{type:Number,default:.4,validator:e=>e||.4},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:e=>e||"1.6em"},fontWeight:{type:Number,default:200,validator:e=>e||200}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(r=>({70620026:u.value,"2928e4ba":o.value,"0fe93572":l.value,"4dcaff7e":n.value}));const{display:V,buttonColor:b,borderColor:g,buttonHoverColor:m,showBorder:y,borderRadius:S,textColor:v,textHoverColor:N,width:C,paddingX:f,paddingY:i,disabled:d,fontFamily:p,fontSize:z,fontWeight:B}=t.toRefs(h),_=t.computed(()=>{const r=d.value?"component-disabled":"",k=V.value!=="b"?"inline-block":"block",H=b.value?b.value:"#ffffff",R=m.value?m.value:"#000000",c=g.value?g.value:"#ffe54c",Y=!S.value||S.value<0?0:S.value,W=[!1,!0].includes(y.value)?y.value:!0,I=v.value?v.value:"#ffffff",T=N.value?N.value:"#000000",D=!C.value||C.value<86?86:C.value,L=!f.value||f.value<0?1:f.value,A=!i.value||i.value<0?.4:i.value,P=p.value?p.value:"'Lato', sans-serif",F=z.value?z.value:"1.6em",j=!B.value||B.value<0?200:B.value;return{disabled:r,display:k,buttonColor:H,buttonHoverColor:R,borderColor:c,showBorder:W,borderRadius:Y,textColor:I,textHoverColor:T,width:D,paddingX:L,paddingY:A,font:P,fontSize:F,fontWeight:j}}),x=t.computed(()=>_.value.disabled),a=t.computed(()=>({display:_.value.display})),w=t.computed(()=>{const r=_.value,k=r.display==="block"?"auto":`${r.width}px`;return{...r.showBorder?{border:`1px solid ${r.borderColor}`}:{},borderRadius:`${r.borderRadius}rem`,background:r.buttonColor,minWidth:"33px",width:k,padding:`${r.paddingY}rem ${r.paddingX}rem`,lineHeight:"1.42857143",fontSize:r.fontSize,fontWeight:r.fontWeight}}),u=t.computed(()=>_.value.font),o=t.computed(()=>_.value.textColor),l=t.computed(()=>_.value.textHoverColor),n=t.computed(()=>_.value.buttonHoverColor),$=()=>{s("clicked")};return(r,k)=>e.nbId?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nb-wrapper",x.value]),style:t.normalizeStyle([a.value]),onClick:$},[t.createElementVNode("div",{id:e.nbId,class:t.normalizeClass(["nb-reset","component"]),style:t.normalizeStyle([w.value])},[t.createElementVNode("div",ie,[t.renderSlot(r.$slots,"content",{},()=>[t.createTextVNode("Default Text")],!0)]),t.createElementVNode("div",ce,[t.renderSlot(r.$slots,"content",{},()=>[t.createTextVNode("Default Text")],!0)])],12,se)],6)):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-fe71a891"]])};return{install(e){for(const s in O)if(Object.prototype.hasOwnProperty.call(O,s)){const h=O[s];e.component(h.name,h)}}}});
|
|
1
|
+
(function(t,D){typeof exports=="object"&&typeof module<"u"?module.exports=D(require("vue")):typeof define=="function"&&define.amd?define(["vue"],D):(t=typeof globalThis<"u"?globalThis:t||self,t.NbButtons=D(t.Vue))})(this,function(t){"use strict";const D="",X=(e,s)=>{const h=e.__vccOpts||e;for(const[g,b]of s)h[g]=b;return h},M=["id"],q={class:"component-content__text"},G=X(Object.assign({name:"NbButtonVavaGame",inheritAttrs:!1},{__name:"NbButtonVavaGame",props:{nbId:{type:String,required:!0},display:{type:String,default:"ib",validator:(e="")=>{const s=e.toLowerCase();return["b","ib"].includes(s)}},textColor:{type:String,default:"#ece8e1"},buttonColor:{type:String,default:"blue"},textColorHover:{type:String,default:"gray"},buttonColorHover:{type:String,default:"cyan"},borderColor:{type:String,default:"yellow"},borderOpacity:{type:Number,default:.5},paddingXBorder:{type:Number,default:.3,validator:e=>e||.3},paddingYBorder:{type:Number,default:.3,validator:e=>e||.3},paddingXContent:{type:Number,default:.5,validator:e=>e||.5},paddingYContent:{type:Number,default:.5,validator:e=>e||.5},uppercase:{type:Boolean,default:!0,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:e=>e||"1.6em"},fontWeight:{type:Number,default:400,validator:e=>e||400}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(c=>({"859731ae":n.value,"101619df":k.value,"90f5dac6":H.value,f0f7a800:$.value,33084168:d.value}));const{display:g,textColor:b,textColorHover:V,buttonColor:m,buttonColorHover:y,uppercase:_,paddingXContent:v,paddingYContent:x,paddingXBorder:C,paddingYBorder:f,borderColor:i,borderOpacity:r,disabled:p,fontFamily:z,fontSize:B,fontWeight:N}=t.toRefs(h),S=t.computed(()=>{const c=p.value?"component-disabled":"",Y=g.value!=="b"?"inline-block":"block",W=b.value?b.value:"#ece8e1",I=m.value?m.value:"green",T=V.value?V.value:"#ece8e1",E=y.value?y.value:"cyan",L=i.value?i.value:"#ffffff",A=!r.value||!(r.value>=0&&r.value<=1)?"0.5":r.value,P=!C.value||C.value<0?.3:C.value,F=!f.value||f.value<0?.3:f.value,j=!v.value||v.value<0?.5:v.value,be=!x.value||x.value<0?.5:x.value,me=_.value?"uppercase":"none",ye=z.value?z.value:"'Lato', sans-serif",ve=B.value?B.value:"1.6em",Ve=!N.value||N.value<0?100:N.value;return{disabled:c,display:Y,textColor:W,buttonColor:I,textColorHover:T,buttonColorHover:E,borderColor:L,borderOpacity:A,paddingXBorder:P,paddingYBorder:F,paddingXContent:j,paddingYContent:be,uppercase:me,font:ye,fontSize:ve,fontWeight:Ve}}),a=t.computed(()=>S.value.disabled),w=t.computed(()=>({display:S.value.display})),u=t.computed(()=>{const c=S.value;return{padding:`${c.paddingYBorder}rem ${c.paddingXBorder}rem`,fontSize:c.fontSize,fontWeight:c.fontWeight}}),l=t.computed(()=>{const c=S.value;return{textTransform:c.uppercase,padding:`${c.paddingYContent}rem ${c.paddingXContent}rem`,backgroundColor:c.buttonColor}}),o=t.computed(()=>({backgroundColor:S.value.buttonColorHover})),n=t.computed(()=>S.value.font),$=t.computed(()=>S.value.borderColor),d=t.computed(()=>S.value.borderOpacity),k=t.computed(()=>S.value.textColor),H=t.computed(()=>S.value.textColorHover),R=()=>{s("clicked")};return(c,Y)=>e.nbId?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nb-wrapper",a.value]),style:t.normalizeStyle([w.value]),onClick:R},[t.createElementVNode("div",{id:e.nbId,class:t.normalizeClass(["nb-reset","component"]),style:t.normalizeStyle([u.value])},[t.createElementVNode("div",{class:"component-content",style:t.normalizeStyle([l.value])},[t.createElementVNode("span",q,[t.renderSlot(c.$slots,"content",{},()=>[t.createTextVNode("Default Text")],!0)]),t.createElementVNode("span",{class:"component-content__mask",style:t.normalizeStyle([o.value])},null,4)],4)],12,M)],6)):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-4cddc525"]]),Ce="",J=["id"],K=X(Object.assign({name:"NbButtonShowHover",inheritAttrs:!1},{__name:"NbButtonShowHover",props:{nbId:{type:String,required:!0},textColor:{type:String,default:"#145deb"},textColorHover:{type:String,default:"#4bd6b5"},buttonColorHover:{type:String,default:"10, 38, 184"},buttonColorOpacityHover:{type:Number,default:.1},paddingX:{type:Number,default:1,validator:e=>e||1},paddingY:{type:Number,default:.2,validator:e=>e||.2},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},borderRadius:{type:Number,default:.375},verticalAlign:{type:String,default:"middle",validator:e=>["top","middle","bottom"].includes(e)},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:e=>e||"1.6em"},fontWeight:{type:Number,default:400,validator:e=>e||400}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(u=>({"4b8ff329":a.value,"456d13a6":N.value,55665737:S.value,"6b7abb00":e.textColorHover,b18900c8:t.unref(g)}));const{textColor:g,buttonColorHover:b,buttonColorOpacityHover:V,paddingX:m,paddingY:y,disabled:_,borderRadius:v,verticalAlign:x,fontFamily:C,fontSize:f,fontWeight:i}=t.toRefs(h),r=t.computed(()=>{const u=_.value?"component-disabled":"",l=x.value?x.value:"middle",o=g?g.value:"ffffff",n=!m.value||m.value<0?1:m.value,$=!y.value||y.value<0?.2:y.value,d=!v.value||v.value<0?0:v.value,k=b.value?b.value:"10, 38, 184",H=!V.value||V.value<0?.1:V.value,R=C.value?C.value:"'Lato', sans-serif",c=f.value?f.value:"1.6rem",Y=!i.value||i.value<0?100:i.value;return{disabled:u,borderRadius:d,textColor:o,paddingX:n,paddingY:$,buttonColorHover:k,buttonColorOpacityHover:H,font:R,fontSize:c,fontWeight:Y,verticalAlign:l}}),p=t.computed(()=>r.value.disabled),z=t.computed(()=>({verticalAlign:r.value.verticalAlign})),B=t.computed(()=>{const u=r.value;return{color:u.textColor,padding:`${u.paddingY}rem 0`,borderRadius:`${u.borderRadius}rem`,fontSize:u.fontSize,fontWeight:u.fontWeight}}),N=t.computed(()=>{const u=r.value;return`${u.paddingY}rem ${u.paddingX}rem`}),S=t.computed(()=>{const u=r.value;return`rgba(${u.buttonColorHover}, ${u.buttonColorOpacityHover})`}),a=t.computed(()=>r.value.font),w=()=>{s("clicked")};return(u,l)=>e.nbId?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nb-wrapper",p.value]),style:t.normalizeStyle([z.value]),onClick:w},[t.createElementVNode("a",{id:e.nbId,class:"nb-reset component tertiary",style:t.normalizeStyle([B.value]),onClick:l[0]||(l[0]=t.withModifiers(()=>{},["prevent"]))},[t.renderSlot(u.$slots,"content",{},()=>[t.createTextVNode("Default Text")],!0)],12,J)],6)):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-35424129"]]),_e="",Q=["id"],U=X(Object.assign({name:"NbButtonPrevNext",inheritAttrs:!1},{__name:"NbButtonPrevNext",props:{nbId:{type:String,required:!0},colorPrimary:{type:String,default:"tomato"},colorSecondary:{type:String,default:"blue"},textColor:{type:String,default:"#fff"},textColorHover:{type:String,default:"yellow"},paddingX:{type:Number,default:1,validator:e=>e||1},paddingY:{type:Number,default:10,validator:e=>e||10},marginBetween:{type:Number,default:2,validator:e=>e||1},borderRadius:{type:Number,default:6,validator:e=>e||1},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},showPreview:{type:Boolean,default:!0,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},showNext:{type:Boolean,default:!0,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},disabledPreview:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},disabledNext:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:e=>e||"1.6em"},fontWeight:{type:Number,default:400,validator:e=>e||400}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(l=>({"2446b547":w.value,a50bbbd2:e.colorPrimary,"0f9f603e":e.textColor,"748cd449":e.colorSecondary,"1af3ef9e":e.textColorHover}));const{paddingX:g,paddingY:b,marginBetween:V,borderRadius:m,disabled:y,disabledPreview:_,disabledNext:v,fontFamily:x,fontSize:C,fontWeight:f}=t.toRefs(h),i=t.computed(()=>{const l=y.value?"component-disabled":"",o=_.value?"component-disabled":"",n=v.value?"component-disabled":"",$=!V.value||V.value<0?0:V.value,d=!m.value||m.value<0?0:m.value,k=!g.value||g.value<0?1:g.value,H=!b.value||b.value<0?10:b.value,R=C.value?C.value:"1.6em",c=!f.value||f.value<0?100:f.value;return{disabled:l,disabledPreview:o,disabledNext:n,marginBetween:`${$}px`,borderRadius:`${d}px`,paddingX:`${k}px`,paddingY:`${H}px`,fontSize:R,fontWeight:c}}),r=t.computed(()=>i.value.disabled),p=t.computed(()=>i.value.disabledPreview),z=t.computed(()=>i.value.disabledNext),B=t.computed(()=>({display:i.value.display})),N=t.computed(()=>{const l=i.value;return{fontSize:l.fontSize,fontWeight:l.fontWeight}}),S=t.computed(()=>{const l=i.value;return{borderRadius:`${l.borderRadius} 0px 0px ${l.borderRadius}`,marginRight:l.marginBetween,padding:`${l.paddingX} ${l.paddingY}`}}),a=t.computed(()=>{const l=i.value;return{borderRadius:`0px ${l.borderRadius} ${l.borderRadius} 0px`,marginLeft:l.marginBetween,padding:`${l.paddingX} ${l.paddingY}`}}),w=t.computed(()=>`'${x.value?x.value:"'Lato', sans-serif"}'`),u=l=>{s("clicked",l)};return(l,o)=>e.nbId?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nb-wrapper",r.value]),style:t.normalizeStyle([B.value])},[t.createElementVNode("div",{id:e.nbId,class:t.normalizeClass(["nb-reset","component"]),style:t.normalizeStyle(N.value)},[e.showPreview?(t.openBlock(),t.createElementBlock("div",{key:0,onClick:o[0]||(o[0]=n=>u("preview")),class:t.normalizeClass(["buttonNextPreview buttonPreview",p.value]),style:t.normalizeStyle(S.value)},[t.renderSlot(l.$slots,"prev",{},()=>[t.createTextVNode("← Preview")],!0)],6)):t.createCommentVNode("",!0),e.showNext?(t.openBlock(),t.createElementBlock("div",{key:1,onClick:o[1]||(o[1]=n=>u("next")),class:t.normalizeClass(["buttonNextPreview buttonNext",z.value]),style:t.normalizeStyle(a.value)},[t.renderSlot(l.$slots,"next",{},()=>[t.createTextVNode("Next →")],!0)],6)):t.createCommentVNode("",!0)],12,Q)],6)):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-f26b5a64"]]),Ne="",Z=["id"],ee=X(Object.assign({name:"NbButtonMechanical",inheritAttrs:!1},{__name:"NbButtonMechanical",props:{nbId:{type:String,required:!0},display:{type:String,default:"b",validator:(e="b")=>{const s=e?e.toLowerCase():"";return["b","ib"].includes(s)}},textColor:{type:String,default:"#ffffff"},containerColor:{type:String,default:"#ffffff"},buttonColor:{type:String,default:"#bbbbbb"},paddingX:{type:Number,default:1,validator:e=>e||1},paddingY:{type:Number,default:.2,validator:e=>e||.2},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},borderRadius:{type:Number,default:.375},animationSlow:{type:Boolean,default:!1},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:e=>e||"1.6em"},fontWeight:{type:Number,default:400,validator:e=>e||400}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(o=>({"196eb3ca":a.value,"5a845ff6":t.unref(b),"44f25ea8":u.value,"3eb45b5e":w.value}));const{display:g,buttonColor:b,textColor:V,containerColor:m,paddingX:y,paddingY:_,borderRadius:v,disabled:x,animationSlow:C,fontFamily:f,fontSize:i,fontWeight:r}=t.toRefs(h),p=t.computed(()=>{const o=x.value?"component-disabled":"",n=g.value!=="b"?"inline-block":"block",$=m.value?m.value:"#ffffff",d=b.value?b.value:"#bbbbbb",k=V.value?V.value:"#ffffff",H=!y.value||y.value<0?1:y.value,R=!_.value||_.value<0?.2:_.value,c=!v.value||v.value<0?0:v.value,Y=C.value?"":"component-transition__no-slow",W=f.value?f.value:"'Lato', sans-serif",I=i.value?i.value:"1.6em",T=!r.value||r.value<0?100:r.value;return{disabled:o,display:n,containerColor:$,buttonColor:d,textColor:k,paddingX:H,paddingY:R,borderRadius:c,animationSlow:Y,font:W,fontSize:I,fontWeight:T}}),z=t.computed(()=>p.value.disabled),B=t.computed(()=>({display:p.value.display})),N=t.computed(()=>{const o=p.value;return{border:`2px solid ${o.containerColor}`,color:o.textColor,backgroundColor:o.buttonColor,padding:`${o.paddingY}rem ${o.paddingX}rem`,borderRadius:`${o.borderRadius}rem`,fontSize:o.fontSize,fontWeight:o.fontWeight}}),S=t.computed(()=>p.value.animationSlow),a=t.computed(()=>p.value.font),w=t.computed(()=>p.value.textColor),u=t.computed(()=>p.value.buttonColor),l=()=>{s("clicked")};return(o,n)=>e.nbId?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nb-wrapper",z.value]),style:t.normalizeStyle([B.value]),onClick:l},[t.createElementVNode("div",{id:e.nbId,class:t.normalizeClass(["nb-reset","component","component-transition",S.value]),style:t.normalizeStyle([N.value])},[t.renderSlot(o.$slots,"content",{},()=>[t.createTextVNode("Default Text")],!0)],14,Z)],6)):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-11d6e180"]]),Be="",te=["id"],oe=X(Object.assign({name:"NbButtonMechanical2",inheritAttrs:!1},{__name:"NbButtonMechanical2",props:{nbId:{type:String,required:!0},display:{type:String,default:"b",validator:(e="b")=>{const s=e?e.toLowerCase():"";return["b","ib"].includes(s)}},textColor:{type:String,default:"#ffffff"},buttonColor:{type:String,default:"#bbbbbb"},shadowColor:{type:String,default:"#002f3c"},paddingX:{type:Number,default:1,validator:e=>e||1},paddingY:{type:Number,default:.2,validator:e=>e||.2},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},borderRadius:{type:Number,default:.25},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:e=>e||"1.6em"},fontWeight:{type:Number,default:400,validator:e=>e||400}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(a=>({"143d0975":N.value}));const{display:g,buttonColor:b,textColor:V,paddingX:m,paddingY:y,borderRadius:_,shadowColor:v,disabled:x,fontFamily:C,fontSize:f,fontWeight:i}=t.toRefs(h),r=t.computed(()=>{const a=x.value?"component-disabled":"",w=g.value!=="b"?"inline-block":"block",u=b.value?b.value:"#bbbbbb",l=v.value?v.value:"#002f3c",o=V.value?V.value:"#ffffff",n=!m.value||m.value<0?1:m.value,$=!y.value||y.value<0?1:y.value,d=!_.value||_.value<0?0:_.value,k=C.value?C.value:"'Lato', sans-serif",H=f.value?f.value:"1.6em",R=!i.value||i.value<0?100:i.value;return{disabled:a,display:w,buttonColor:u,shadowColor:l,textColor:o,paddingX:n,paddingY:$,borderRadius:d,font:k,fontSize:H,fontWeight:R}}),p=t.computed(()=>r.value.disabled),z=t.computed(()=>({display:r.value.display})),B=t.computed(()=>{const a=r.value;return{color:a.textColor,backgroundColor:a.buttonColor,boxShadow:`0 0 #0000, 0 0 #0000, 3px 3px 0 ${a.shadowColor}`,padding:`${a.paddingY}rem ${a.paddingX}rem`,padding:`${a.paddingY}rem ${a.paddingX}rem`,borderRadius:`${a.borderRadius}rem`,fontSize:a.fontSize,fontWeight:a.fontWeight}}),N=t.computed(()=>r.value.font),S=()=>{s("clicked")};return(a,w)=>e.nbId?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nb-wrapper",p.value]),style:t.normalizeStyle([z.value]),onClick:S},[t.createElementVNode("div",{id:e.nbId,class:t.normalizeClass(["nb-reset","component","component-transition"]),style:t.normalizeStyle([B.value])},[t.renderSlot(a.$slots,"content",{},()=>[t.createTextVNode("Default Text")],!0)],12,te)],6)):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-f22590f0"]]),we="",ae=["id"],le=X(Object.assign({name:"NbButtonHamburger",inheritAttrs:!1},{__name:"NbButtonHamburger",props:{nbId:{type:String,required:!0},status:{type:Boolean,default:!1,validator:e=>[!1,!0].includes(e)},color:{type:String,default:"#ffffff"},colorHover:{type:String,default:"yellow"},containerColor:{type:String,default:"#333333"},containerColorHover:{type:String,default:"red"},paddingX:{type:Number,default:3,validator:e=>e||3},paddingY:{type:Number,default:3,validator:e=>e||3},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(a=>({"4f0c7280":B.value,"86dec5da":N.value})),t.onMounted(()=>{g.value=b.value});const g=t.ref(!1),{status:b,color:V,containerColor:m,containerColorHover:y,colorHover:_,paddingX:v,paddingY:x,disabled:C}=t.toRefs(h),f=t.computed(()=>{const a=C.value?"component-disabled":"",w=g.value?"change":"",u=m.value?m.value:"#333333",l=V.value?V.value:"#ffffff",o=!v.value||v.value<0?3:v.value,n=!x.value||x.value<0?3:x.value,$=y.value?y.value:"yellow",d=_.value?_.value:"red";return{disabled:a,buttonStatus:w,containerColor:u,paddingX:o,paddingY:n,color:l,containerColorHover:$,colorHover:d}}),i=t.computed(()=>f.value.disabled),r=t.computed(()=>{const a=f.value;return{padding:`${a.paddingY}px ${a.paddingX}px`,backgroundColor:a.containerColor}}),p=t.computed(()=>({backgroundColor:f.value.color})),z=t.computed(()=>f.value.buttonStatus),B=t.computed(()=>f.value.containerColorHover),N=t.computed(()=>f.value.colorHover),S=()=>{const a=!g.value;g.value=a,s("clicked",a)};return t.watch(b,()=>{g.value=b.value}),(a,w)=>e.nbId?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nb-wrapper",i.value]),style:t.normalizeStyle([r.value]),onClick:S},[t.createElementVNode("div",{id:e.nbId,class:t.normalizeClass(["nb-reset","component",z.value])},[t.createElementVNode("div",{class:"component__line-one",style:t.normalizeStyle(p.value)},null,4),t.createElementVNode("div",{class:"component__line-two",style:t.normalizeStyle(p.value)},null,4),t.createElementVNode("div",{class:"component__line-three",style:t.normalizeStyle(p.value)},null,4)],10,ae)],6)):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-37573ac0"]]),ke="",ne=e=>(t.pushScopeId("data-v-91c3c32d"),e=e(),t.popScopeId(),e),re=["id"],de=ne(()=>t.createElementVNode("div",{class:"component-shadow"},null,-1)),ue=X(Object.assign({name:"NbButtonColorOutside",inheritAttrs:!1},{__name:"NbButtonColorOutside",props:{nbId:{type:String,required:!0},display:{type:String,default:"b",validator:(e="b")=>{const s=e?e.toLowerCase():"";return["b","ib"].includes(s)}},textColor:{type:String,default:"#ffffff"},buttonColor:{type:String,default:"#bbbbbb"},borderColor:{type:String,default:"#ffe54c"},paddingX:{type:Number,default:1,validator:e=>e||1},paddingY:{type:Number,default:.2,validator:e=>e||.2},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},borderRadius:{type:Number,default:.25},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:e=>e||"1.6em"},fontWeight:{type:Number,default:200,validator:e=>e||200}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(o=>({"1268e22f":a.value,b72ce280:u.value,"8beb00ca":S.value,"58edf536":w.value}));const{display:g,buttonColor:b,borderColor:V,textColor:m,paddingX:y,paddingY:_,borderRadius:v,disabled:x,fontFamily:C,fontSize:f,fontWeight:i}=t.toRefs(h),r=t.computed(()=>{const o=x.value?"component-disabled":"",n=g.value!=="b"?"inline-block":"block",$=b.value?b.value:"#bbbbbb",d=V.value?V.value:"#ffe54c",k=m.value?m.value:"#ffffff",H=!y.value||y.value<0?1:y.value,R=!_.value||_.value<0?.2:_.value,c=!v.value||v.value<0?0:v.value,Y=C.value?C.value:"'Lato', sans-serif",W=f.value?f.value:"1.6em",I=!i.value||i.value<0?200:i.value;return{disabled:o,display:n,buttonColor:$,borderColor:d,textColor:k,paddingX:H,paddingY:R,borderRadius:c,font:Y,fontSize:W,fontWeight:I}}),p=t.computed(()=>r.value.disabled),z=t.computed(()=>({display:r.value.display})),B=t.computed(()=>{const o=r.value;return{color:o.textColor,fontSize:o.fontSize,fontWeight:o.fontWeight}}),N=t.computed(()=>{const o=r.value;return{padding:`${o.paddingY}rem ${o.paddingX}rem`,border:`1px solid ${o.borderColor}`,borderRadius:S.value}}),S=t.computed(()=>`${r.value.borderRadius}rem`),a=t.computed(()=>r.value.font),w=t.computed(()=>r.value.textColor),u=t.computed(()=>r.value.buttonColor),l=()=>{s("clicked")};return(o,n)=>e.nbId?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nb-wrapper",p.value]),style:t.normalizeStyle([z.value]),onClick:l},[t.createElementVNode("div",{id:e.nbId,class:t.normalizeClass(["nb-reset","component"]),style:t.normalizeStyle([B.value])},[t.createElementVNode("div",{class:"component-content",style:t.normalizeStyle([N.value])},[t.renderSlot(o.$slots,"content",{},()=>[t.createTextVNode("Default Text")],!0)],4),de],12,re)],6)):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-91c3c32d"]]),Re="",se=["id"],ie=X(Object.assign({name:"NbButtonColorHover",inheritAttrs:!1},{__name:"NbButtonColorHover",props:{nbId:{type:String,required:!0},display:{type:String,default:"b",validator:(e="b")=>{const s=e.toLowerCase();return["b","ib"].includes(s)}},textColor:{type:String,default:"#ffffff"},paddingX:{type:Number,default:1,validator:e=>e||1},paddingY:{type:Number,default:.2,validator:e=>e||.2},borderRadius:{type:Number,default:.375},textColorHover:{type:String,default:"#cccccc"},buttonColor:{type:String,default:"#bbbbbb"},buttonColorHover:{type:String,default:"#959595"},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:e=>e||"1.6em"},fontWeight:{type:Number,default:400,validator:e=>e||700}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(n=>({"70b0363a":S.value,"2d562374":u.value,"360329a3":w.value,"3c24be28":l.value,"7f8991ce":a.value}));const{display:g,textColor:b,paddingX:V,paddingY:m,borderRadius:y,disabled:_,fontFamily:v,fontSize:x,fontWeight:C,textColorHover:f,buttonColor:i,buttonColorHover:r}=t.toRefs(h),p=t.computed(()=>{const n=_.value?"component-disabled":"",$=g.value!=="b"?"inline-block":"block",d=b?b.value:"ffffff",k=!V.value||V.value<0?1:V.value,H=!m.value||m.value<0?.2:m.value,R=!y.value||y.value<0?0:y.value,c=v.value?v.value:"'Lato', sans-serif",Y=x.value?x.value:"1.6rem",W=!C.value||C.value<0?100:C.value,I=f.value?f.value:"#cccccc",T=i.value?i.value:"#bbbbbb",E=r.value?r.value:"#959595";return{disabled:n,display:$,font:c,fontSize:Y,fontWeight:W,textColor:d,paddingX:k,paddingY:H,borderRadius:R,textColorHover:I,buttonColor:T,buttonColorHover:E}}),z=t.computed(()=>p.value.disabled),B=t.computed(()=>{const n=p.value;return{display:n.display,borderRadius:`${n.borderRadius}rem`}}),N=t.computed(()=>{const n=p.value;return{color:n.textColor,padding:`${n.paddingY}rem ${n.paddingX}rem`,borderRadius:`${n.borderRadius}rem`,fontSize:n.fontSize,fontWeight:n.fontWeight}}),S=t.computed(()=>p.value.font),a=t.computed(()=>p.value.textColor),w=t.computed(()=>p.value.textColorHover),u=t.computed(()=>p.value.buttonColor),l=t.computed(()=>p.value.buttonColorHover),o=()=>{s("clicked")};return(n,$)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["nb-wrapper",z.value]),style:t.normalizeStyle([B.value]),onClick:o},[t.createElementVNode("div",{id:e.nbId,class:"nb-reset component component-transition",style:t.normalizeStyle([N.value])},[t.renderSlot(n.$slots,"content",{},()=>[t.createTextVNode("Default Text")],!0)],12,se)],6))}}),[["__scopeId","data-v-849fae4e"]]),Xe="",ce=["id"],fe={class:"first-child"},pe={class:"last-child"},O={NbButtonVavaGame:G,NbButtonShowHover:K,NbButtonPrevNext:U,NbButtonMechanical:ee,NbButtonMechanical2:oe,NbButtonHamburger:le,NbButtonColorOutside:ue,NbButtonColorHover:ie,NbButtonAlternateText:X(Object.assign({name:"NbButtonAlternateText",inheritAttrs:!1},{__name:"NbButtonAlternateText",props:{nbId:{type:String,required:!0},display:{type:String,default:"b",validator:(e="b")=>{const s=e?e.toLowerCase():"";return["b","ib"].includes(s)}},textColor:{type:String,default:"#ffffff"},textHoverColor:{type:String,default:"#000000"},buttonColor:{type:String,default:"#ffffff"},buttonHoverColor:{type:String,default:"red"},borderColor:{type:String,default:"#ffe54c"},showBorder:{type:Boolean,default:!0,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},borderRadius:{type:Number,default:.375},width:{type:Number,default:86,validator:e=>e||86},paddingX:{type:Number,default:1,validator:e=>e||1},paddingY:{type:Number,default:.4,validator:e=>e||.4},disabled:{type:Boolean,default:!1,validator:e=>typeof e=="boolean"&&[!0,!1].includes(e)},fontFamily:{type:String,default:"'Lato', sans-serif"},fontSize:{type:String,default:"1.6em",validator:e=>e||"1.6em"},fontWeight:{type:Number,default:200,validator:e=>e||200}},emits:["clicked"],setup(e,{emit:s}){const h=e;t.useCssVars(d=>({70620026:u.value,"2928e4ba":l.value,"0fe93572":o.value,"4dcaff7e":n.value}));const{display:g,buttonColor:b,borderColor:V,buttonHoverColor:m,showBorder:y,borderRadius:_,textColor:v,textHoverColor:x,width:C,paddingX:f,paddingY:i,disabled:r,fontFamily:p,fontSize:z,fontWeight:B}=t.toRefs(h),N=t.computed(()=>{const d=r.value?"component-disabled":"",k=g.value!=="b"?"inline-block":"block",H=b.value?b.value:"#ffffff",R=m.value?m.value:"#000000",c=V.value?V.value:"#ffe54c",Y=!_.value||_.value<0?0:_.value,W=[!1,!0].includes(y.value)?y.value:!0,I=v.value?v.value:"#ffffff",T=x.value?x.value:"#000000",E=!C.value||C.value<86?86:C.value,L=!f.value||f.value<0?1:f.value,A=!i.value||i.value<0?.4:i.value,P=p.value?p.value:"'Lato', sans-serif",F=z.value?z.value:"1.6em",j=!B.value||B.value<0?200:B.value;return{disabled:d,display:k,buttonColor:H,buttonHoverColor:R,borderColor:c,showBorder:W,borderRadius:Y,textColor:I,textHoverColor:T,width:E,paddingX:L,paddingY:A,font:P,fontSize:F,fontWeight:j}}),S=t.computed(()=>N.value.disabled),a=t.computed(()=>({display:N.value.display})),w=t.computed(()=>{const d=N.value,k=d.display==="block"?"auto":`${d.width}px`;return{...d.showBorder?{border:`1px solid ${d.borderColor}`}:{},borderRadius:`${d.borderRadius}rem`,background:d.buttonColor,minWidth:"33px",width:k,padding:`${d.paddingY}rem ${d.paddingX}rem`,lineHeight:"1.42857143",fontSize:d.fontSize,fontWeight:d.fontWeight}}),u=t.computed(()=>N.value.font),l=t.computed(()=>N.value.textColor),o=t.computed(()=>N.value.textHoverColor),n=t.computed(()=>N.value.buttonHoverColor),$=()=>{s("clicked")};return(d,k)=>e.nbId?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nb-wrapper",S.value]),style:t.normalizeStyle([a.value]),onClick:$},[t.createElementVNode("div",{id:e.nbId,class:t.normalizeClass(["nb-reset","component"]),style:t.normalizeStyle([w.value])},[t.createElementVNode("div",fe,[t.renderSlot(d.$slots,"content",{},()=>[t.createTextVNode("Default Text")],!0)]),t.createElementVNode("div",pe,[t.renderSlot(d.$slots,"content",{},()=>[t.createTextVNode("Default Text")],!0)])],12,ce)],6)):t.createCommentVNode("",!0)}}),[["__scopeId","data-v-fe71a891"]])};return{install(e){for(const s in O)if(Object.prototype.hasOwnProperty.call(O,s)){const h=O[s];e.component(h.name,h)}}}});
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap";.nb-wrapper[data-v-4cddc525]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom}.nb-reset[data-v-4cddc525]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset *[data-v-4cddc525]{margin:0;padding:0}.nb-reset *[data-v-4cddc525],.nb-reset *[data-v-4cddc525]:before,.nb-reset *[data-v-4cddc525]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-4cddc525]{margin:0;padding:0;box-sizing:border-box;line-height:1.42857143;font-family:var(--859731ae);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;opacity:1;transition:opacity .7s ease-out .2s;text-align:center;position:relative;text-rendering:optimizeLegibility;z-index:1;color:var(--101619df)}.component[data-v-4cddc525]:hover{color:var(--90f5dac6)}.component[data-v-4cddc525]:before,.component[data-v-4cddc525]:after{content:"";display:block;height:calc(50% - .4rem);position:absolute;width:100%;border:1px solid var(--f0f7a800);left:0;opacity:var(--33084168)}.component[data-v-4cddc525]:before{top:0;border-bottom:0}.component[data-v-4cddc525]:after{bottom:0;border-top:0}.component .component-content[data-v-4cddc525]{overflow:hidden;position:relative;z-index:12;text-align:center}.component .component-content:hover .component-content__mask[data-v-4cddc525]{right:-17%;transform:translate(0) skew(0)}.component .component-content .component-content__text[data-v-4cddc525]{position:relative;z-index:13}.component .component-content .component-content__mask[data-v-4cddc525]{left:-17%;right:none;transform:translate(-100%) skew(0);transition:transform .3s ease-out;height:100%;position:absolute;top:0;z-index:12}.component-disabled[data-v-4cddc525]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none}.component-disabled .component .component-content .component-content__text[data-v-4cddc525]{opacity:.6}.nb-wrapper[data-v-35424129]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-flex}.nb-reset[data-v-35424129]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset *[data-v-35424129]{margin:0;padding:0}.nb-reset *[data-v-35424129],.nb-reset *[data-v-35424129]:before,.nb-reset *[data-v-35424129]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-35424129]{margin:0;padding:0;box-sizing:border-box;line-height:1.42857143;font-family:var(--4b8ff329);-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;text-align:center;-webkit-text-decoration-line:none;text-decoration-line:none;white-space:nowrap;background-color:transparent;transition:.2s ease-in-out;position:relative;border:.063rem solid transparent;overflow:hidden;outline:.188rem solid transparent}.component[data-v-35424129]:focus,.component[data-v-35424129]:hover{padding:var(--456d13a6)!important;background-color:var(--55665737);color:var(--6b7abb00)!important}.component-disabled[data-v-35424129]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none}.component-disabled .component[data-v-35424129]{--disabled-button-color: var(--55665737);--disabled-color: var(--b18900c8);background-color:rgba(var(--disabled-button-color),.85)!important;color:rgba(var(--disabled-color),.2)!important;opacity:.6}.nb-wrapper[data-v-f26b5a64]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom;display:inline-block}.nb-reset[data-v-f26b5a64]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset *[data-v-f26b5a64]{margin:0;padding:0}.nb-reset *[data-v-f26b5a64],.nb-reset *[data-v-f26b5a64]:before,.nb-reset *[data-v-f26b5a64]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-f26b5a64]{margin:0;padding:0;box-sizing:border-box;line-height:1.42857143;font-family:var(--2446b547);-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.component .buttonNextPreview[data-v-f26b5a64]{display:inline-block;text-align:center;transition:all .3s}.component .buttonNextPreview[data-v-f26b5a64]:hover{cursor:pointer}.component .buttonPreview[data-v-f26b5a64]{background-color:var(--a50bbbd2);color:var(--0f9f603e)}.component .buttonPreview[data-v-f26b5a64]:hover{background-color:var(--748cd449);color:var(--1af3ef9e)}.component .buttonNext[data-v-f26b5a64]{color:var(--0f9f603e);background-color:var(--748cd449)}.component .buttonNext[data-v-f26b5a64]:hover{background-color:var(--a50bbbd2);color:var(--1af3ef9e)}.component-disabled[data-v-f26b5a64]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none;opacity:.8}.component-disabled[data-v-f26b5a64]:hover{cursor:not-allowed}.nb-wrapper[data-v-11d6e180]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom}.nb-reset[data-v-11d6e180]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset *[data-v-11d6e180]{margin:0;padding:0}.nb-reset *[data-v-11d6e180],.nb-reset *[data-v-11d6e180]:before,.nb-reset *[data-v-11d6e180]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-11d6e180]{margin:0 3px 5px 0;padding:0;box-sizing:border-box;line-height:1.42857143;font-family:Lato,sans-serif;font-family:var(--196eb3ca);-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;text-align:center;-webkit-text-decoration-line:none;text-decoration-line:none;white-space:nowrap;box-shadow:3px 3px 0 -1px var(--5a845ff6),3px 3px 0 var(--5a845ff6)}.component.component-transition[data-v-11d6e180]{transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.component.component-transition.component-transition__no-slow[data-v-11d6e180]{transition:all .05s ease-in!important}.component[data-v-11d6e180]:hover{box-shadow:0 0 0 -1px var(--5a845ff6),0 0 0 var(--5a845ff6);transform:translate(3px,3px)}.component[data-v-11d6e180]:active,.component[data-v-11d6e180]:focus{outline:2px solid transparent;outline-offset:2px}.component[data-v-11d6e180]:active{box-shadow:0 0 #0000,0 0 #0000,0 0 #0000;left:1px;top:1px}.component-disabled[data-v-11d6e180]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none}.component-disabled .component[data-v-11d6e180]{--disabled-button-color: var(--44f25ea8);--disabled-color: var(--3eb45b5e);background-color:var(--disabled-button-color)!important;color:var(--disabled-color)!important;opacity:.7;border-radius:inherit}.nb-wrapper[data-v-f22590f0]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom}.nb-reset[data-v-f22590f0]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset *[data-v-f22590f0]{margin:0;padding:0}.nb-reset *[data-v-f22590f0],.nb-reset *[data-v-f22590f0]:before,.nb-reset *[data-v-f22590f0]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-f22590f0]{margin:0;padding:0;box-sizing:border-box;line-height:1.42857143;font-family:var(--143d0975);-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;text-align:center;-webkit-text-decoration-line:none;text-decoration-line:none;white-space:nowrap;position:relative!important;transition:all .05s ease-in!important;white-space:nowrap!important}.component[data-v-f22590f0]:hover{box-shadow:none!important;transform:translate(2px,2px)}.component-disabled[data-v-f22590f0]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none}.component-disabled .component[data-v-f22590f0]{opacity:.6}.nb-wrapper[data-v-37573ac0]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom;display:inline-block}.nb-wrapper[data-v-37573ac0]:hover{background-color:var(--4f0c7280)!important}.nb-wrapper:hover .component .component__line-one[data-v-37573ac0],.nb-wrapper:hover .component .component__line-two[data-v-37573ac0],.nb-wrapper:hover .component .component__line-three[data-v-37573ac0]{background-color:var(--86dec5da)!important}.nb-reset[data-v-37573ac0]{line-height:1.42857143}.nb-reset *[data-v-37573ac0]{margin:0;padding:0}.nb-reset *[data-v-37573ac0],.nb-reset *[data-v-37573ac0]:before,.nb-reset *[data-v-37573ac0]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-37573ac0]{margin:0;padding:0;box-sizing:border-box;line-height:1.42857143;cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.component .component__line-one[data-v-37573ac0],.component .component__line-two[data-v-37573ac0],.component .component__line-three[data-v-37573ac0]{width:30px;height:5px;transition:.4s}.component .component__line-one[data-v-37573ac0]:not(:last-child),.component .component__line-two[data-v-37573ac0]:not(:last-child),.component .component__line-three[data-v-37573ac0]:not(:last-child){margin-bottom:4px}.component.change .component__line-one[data-v-37573ac0]{transform:translateY(9px) rotate(-45deg)}.component.change .component__line-two[data-v-37573ac0]{opacity:0}.component.change .component__line-three[data-v-37573ac0]{transform:translateY(-9px) rotate(45deg)}.component-disabled[data-v-37573ac0]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none;background-color:#fff}.component-disabled .component[data-v-37573ac0]{opacity:.5}.nb-wrapper[data-v-0201e93e]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom}.nb-reset[data-v-0201e93e]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset *[data-v-0201e93e]{margin:0;padding:0}.nb-reset *[data-v-0201e93e],.nb-reset *[data-v-0201e93e]:before,.nb-reset *[data-v-0201e93e]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-0201e93e]{margin:4px 6px 10px 0;padding:0;box-sizing:border-box;line-height:1.42857143;font-family:Lato,sans-serif;font-family:var(--c461ea64);-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;text-align:center;-webkit-text-decoration-line:none;text-decoration-line:none;white-space:nowrap;letter-spacing:1px;outline:0;position:relative}.component[data-v-0201e93e]:after{content:"";--disabled-button-color: var(--39967e42);background-color:var(--disabled-button-color)!important;width:100%;z-index:-1;position:absolute;height:100%;top:7px;left:7px;transition:.2s;border-radius:var(--ed566e48)}.component[data-v-0201e93e]:hover:after{top:0;left:0}.component-disabled[data-v-0201e93e]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none}.component-disabled .component[data-v-0201e93e]{--disabled-color: var(--0d683344);color:var(--disabled-color)!important;opacity:.7;border-radius:inherit}.component-disabled .component[data-v-0201e93e]:after{top:0;left:0}.nb-wrapper[data-v-849fae4e]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom}.nb-reset[data-v-849fae4e]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset *[data-v-849fae4e]{margin:0;padding:0}.nb-reset *[data-v-849fae4e],.nb-reset *[data-v-849fae4e]:before,.nb-reset *[data-v-849fae4e]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-849fae4e]{margin:0;box-sizing:border-box;line-height:1.42857143;font-family:var(--70b0363a);-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;-webkit-text-decoration-line:none;text-decoration-line:none;white-space:nowrap;background-color:var(--2d562374);text-transform:none;padding:0 14px;text-align:center;transition:all .3s ease-in-out;box-shadow:none;text-decoration:none;outline:none}.component[data-v-849fae4e]:hover{color:var(--360329a3);background:var(--3c24be28)}.component-disabled[data-v-849fae4e]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none;background-color:#fff;opacity:.8}.component-disabled .component[data-v-849fae4e]{--disabled-button-color: var(--2d562374);--disabled-color: var(--7f8991ce);background-color:var(--disabled-button-color)!important;color:var(--disabled-color)!important;border-radius:inherit}.nb-wrapper[data-v-fe71a891]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom}.nb-reset[data-v-fe71a891]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset *[data-v-fe71a891]{margin:0;padding:0}.nb-reset *[data-v-fe71a891],.nb-reset *[data-v-fe71a891]:before,.nb-reset *[data-v-fe71a891]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-fe71a891]{margin:4px 0;box-sizing:border-box;line-height:16px;font-family:Lato,sans-serif;font-family:var(--70620026);-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;text-align:center;-webkit-text-decoration-line:none;text-decoration-line:none;white-space:nowrap;letter-spacing:1px;outline:0;position:relative;overflow:hidden}.component .first-child[data-v-fe71a891]{--disabled-color: var(--2928e4ba);color:var(--disabled-color)!important;position:relative;transition:color .6s cubic-bezier(.48,0,.12,1);z-index:10}.component .last-child[data-v-fe71a891]{color:var(--text-color)!important;--text-color: var(--0fe93572);display:block;position:absolute;transition:all .5s cubic-bezier(.48,0,.12,1);z-index:100;opacity:1;bottom:0;left:50%;transform:translateY(225%) translate(-50%)}.component[data-v-fe71a891]:after{--button-color: var(--4dcaff7e);content:"";position:absolute;bottom:-50%;left:0;width:100%;height:100%;background-color:var(--button-color)!important;transform-origin:bottom center;transition:transform .6s cubic-bezier(.48,0,.12,1);transform:skewY(7.2deg) scaleY(0);z-index:10}.component[data-v-fe71a891]:hover:after{transform-origin:bottom center;transform:skewY(0) scaleY(2)}.component:hover .last-child[data-v-fe71a891]{bottom:50%;transform:translateY(50%) translate(-50%);opacity:1;transition:all .9s cubic-bezier(.48,0,.12,1)}.component-disabled[data-v-fe71a891]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none}.component-disabled .component[data-v-fe71a891]{--disabled-color: var(--2928e4ba);color:var(--disabled-color)!important;opacity:.7;border-radius:inherit}
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap";.nb-wrapper[data-v-4cddc525]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom}.nb-reset[data-v-4cddc525]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset *[data-v-4cddc525]{margin:0;padding:0}.nb-reset *[data-v-4cddc525],.nb-reset *[data-v-4cddc525]:before,.nb-reset *[data-v-4cddc525]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-4cddc525]{margin:0;padding:0;box-sizing:border-box;line-height:1.42857143;font-family:var(--859731ae);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;opacity:1;transition:opacity .7s ease-out .2s;text-align:center;position:relative;text-rendering:optimizeLegibility;z-index:1;color:var(--101619df)}.component[data-v-4cddc525]:hover{color:var(--90f5dac6)}.component[data-v-4cddc525]:before,.component[data-v-4cddc525]:after{content:"";display:block;height:calc(50% - .4rem);position:absolute;width:100%;border:1px solid var(--f0f7a800);left:0;opacity:var(--33084168)}.component[data-v-4cddc525]:before{top:0;border-bottom:0}.component[data-v-4cddc525]:after{bottom:0;border-top:0}.component .component-content[data-v-4cddc525]{overflow:hidden;position:relative;z-index:12;text-align:center}.component .component-content:hover .component-content__mask[data-v-4cddc525]{right:-17%;transform:translate(0) skew(0)}.component .component-content .component-content__text[data-v-4cddc525]{position:relative;z-index:13}.component .component-content .component-content__mask[data-v-4cddc525]{left:-17%;right:none;transform:translate(-100%) skew(0);transition:transform .3s ease-out;height:100%;position:absolute;top:0;z-index:12}.component-disabled[data-v-4cddc525]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none}.component-disabled .component .component-content .component-content__text[data-v-4cddc525]{opacity:.6}.nb-wrapper[data-v-35424129]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-flex}.nb-reset[data-v-35424129]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset *[data-v-35424129]{margin:0;padding:0}.nb-reset *[data-v-35424129],.nb-reset *[data-v-35424129]:before,.nb-reset *[data-v-35424129]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-35424129]{margin:0;padding:0;box-sizing:border-box;line-height:1.42857143;font-family:var(--4b8ff329);-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;text-align:center;-webkit-text-decoration-line:none;text-decoration-line:none;white-space:nowrap;background-color:transparent;transition:.2s ease-in-out;position:relative;border:.063rem solid transparent;overflow:hidden;outline:.188rem solid transparent}.component[data-v-35424129]:focus,.component[data-v-35424129]:hover{padding:var(--456d13a6)!important;background-color:var(--55665737);color:var(--6b7abb00)!important}.component-disabled[data-v-35424129]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none}.component-disabled .component[data-v-35424129]{--disabled-button-color: var(--55665737);--disabled-color: var(--b18900c8);background-color:rgba(var(--disabled-button-color),.85)!important;color:rgba(var(--disabled-color),.2)!important;opacity:.6}.nb-wrapper[data-v-f26b5a64]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom;display:inline-block}.nb-reset[data-v-f26b5a64]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset *[data-v-f26b5a64]{margin:0;padding:0}.nb-reset *[data-v-f26b5a64],.nb-reset *[data-v-f26b5a64]:before,.nb-reset *[data-v-f26b5a64]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-f26b5a64]{margin:0;padding:0;box-sizing:border-box;line-height:1.42857143;font-family:var(--2446b547);-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.component .buttonNextPreview[data-v-f26b5a64]{display:inline-block;text-align:center;transition:all .3s}.component .buttonNextPreview[data-v-f26b5a64]:hover{cursor:pointer}.component .buttonPreview[data-v-f26b5a64]{background-color:var(--a50bbbd2);color:var(--0f9f603e)}.component .buttonPreview[data-v-f26b5a64]:hover{background-color:var(--748cd449);color:var(--1af3ef9e)}.component .buttonNext[data-v-f26b5a64]{color:var(--0f9f603e);background-color:var(--748cd449)}.component .buttonNext[data-v-f26b5a64]:hover{background-color:var(--a50bbbd2);color:var(--1af3ef9e)}.component-disabled[data-v-f26b5a64]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none;opacity:.8}.component-disabled[data-v-f26b5a64]:hover{cursor:not-allowed}.nb-wrapper[data-v-11d6e180]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom}.nb-reset[data-v-11d6e180]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset *[data-v-11d6e180]{margin:0;padding:0}.nb-reset *[data-v-11d6e180],.nb-reset *[data-v-11d6e180]:before,.nb-reset *[data-v-11d6e180]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-11d6e180]{margin:0 3px 5px 0;padding:0;box-sizing:border-box;line-height:1.42857143;font-family:Lato,sans-serif;font-family:var(--196eb3ca);-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;text-align:center;-webkit-text-decoration-line:none;text-decoration-line:none;white-space:nowrap;box-shadow:3px 3px 0 -1px var(--5a845ff6),3px 3px 0 var(--5a845ff6)}.component.component-transition[data-v-11d6e180]{transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.component.component-transition.component-transition__no-slow[data-v-11d6e180]{transition:all .05s ease-in!important}.component[data-v-11d6e180]:hover{box-shadow:0 0 0 -1px var(--5a845ff6),0 0 0 var(--5a845ff6);transform:translate(3px,3px)}.component[data-v-11d6e180]:active,.component[data-v-11d6e180]:focus{outline:2px solid transparent;outline-offset:2px}.component[data-v-11d6e180]:active{box-shadow:0 0 #0000,0 0 #0000,0 0 #0000;left:1px;top:1px}.component-disabled[data-v-11d6e180]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none}.component-disabled .component[data-v-11d6e180]{--disabled-button-color: var(--44f25ea8);--disabled-color: var(--3eb45b5e);background-color:var(--disabled-button-color)!important;color:var(--disabled-color)!important;opacity:.7;border-radius:inherit}.nb-wrapper[data-v-f22590f0]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom}.nb-reset[data-v-f22590f0]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset *[data-v-f22590f0]{margin:0;padding:0}.nb-reset *[data-v-f22590f0],.nb-reset *[data-v-f22590f0]:before,.nb-reset *[data-v-f22590f0]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-f22590f0]{margin:0;padding:0;box-sizing:border-box;line-height:1.42857143;font-family:var(--143d0975);-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;text-align:center;-webkit-text-decoration-line:none;text-decoration-line:none;white-space:nowrap;position:relative!important;transition:all .05s ease-in!important;white-space:nowrap!important}.component[data-v-f22590f0]:hover{box-shadow:none!important;transform:translate(2px,2px)}.component-disabled[data-v-f22590f0]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none}.component-disabled .component[data-v-f22590f0]{opacity:.6}.nb-wrapper[data-v-37573ac0]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom;display:inline-block}.nb-wrapper[data-v-37573ac0]:hover{background-color:var(--4f0c7280)!important}.nb-wrapper:hover .component .component__line-one[data-v-37573ac0],.nb-wrapper:hover .component .component__line-two[data-v-37573ac0],.nb-wrapper:hover .component .component__line-three[data-v-37573ac0]{background-color:var(--86dec5da)!important}.nb-reset[data-v-37573ac0]{line-height:1.42857143}.nb-reset *[data-v-37573ac0]{margin:0;padding:0}.nb-reset *[data-v-37573ac0],.nb-reset *[data-v-37573ac0]:before,.nb-reset *[data-v-37573ac0]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-37573ac0]{margin:0;padding:0;box-sizing:border-box;line-height:1.42857143;cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.component .component__line-one[data-v-37573ac0],.component .component__line-two[data-v-37573ac0],.component .component__line-three[data-v-37573ac0]{width:30px;height:5px;transition:.4s}.component .component__line-one[data-v-37573ac0]:not(:last-child),.component .component__line-two[data-v-37573ac0]:not(:last-child),.component .component__line-three[data-v-37573ac0]:not(:last-child){margin-bottom:4px}.component.change .component__line-one[data-v-37573ac0]{transform:translateY(9px) rotate(-45deg)}.component.change .component__line-two[data-v-37573ac0]{opacity:0}.component.change .component__line-three[data-v-37573ac0]{transform:translateY(-9px) rotate(45deg)}.component-disabled[data-v-37573ac0]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none;background-color:#fff}.component-disabled .component[data-v-37573ac0]{opacity:.5}.nb-wrapper[data-v-91c3c32d]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom}.nb-reset[data-v-91c3c32d]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset *[data-v-91c3c32d]{margin:0;padding:0}.nb-reset *[data-v-91c3c32d],.nb-reset *[data-v-91c3c32d]:before,.nb-reset *[data-v-91c3c32d]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-91c3c32d]{margin:4px 6px 10px 0;padding:0;box-sizing:border-box;line-height:1.42857143;font-family:Lato,sans-serif;font-family:var(--1268e22f);-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;text-align:center;-webkit-text-decoration-line:none;text-decoration-line:none;white-space:nowrap;letter-spacing:1px;outline:0;position:relative}.component .component-content[data-v-91c3c32d]{position:relative;z-index:4;overflow:hidden}.component .component-shadow[data-v-91c3c32d]{--disabled-button-color: var(--b72ce280);background-color:var(--disabled-button-color)!important;width:100%;height:100%;position:absolute;top:7px;left:7px;transition:.2s;border-radius:var(--8beb00ca);z-index:3}.component:hover .component-shadow[data-v-91c3c32d]{top:0;left:0}.component-disabled[data-v-91c3c32d]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none}.component-disabled .component[data-v-91c3c32d]{--disabled-color: var(--58edf536);color:var(--disabled-color)!important;opacity:.7;border-radius:inherit}.component-disabled .component .component-shadow[data-v-91c3c32d]{top:0;left:0}.nb-wrapper[data-v-849fae4e]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom}.nb-reset[data-v-849fae4e]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset *[data-v-849fae4e]{margin:0;padding:0}.nb-reset *[data-v-849fae4e],.nb-reset *[data-v-849fae4e]:before,.nb-reset *[data-v-849fae4e]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-849fae4e]{margin:0;box-sizing:border-box;line-height:1.42857143;font-family:var(--70b0363a);-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;-webkit-text-decoration-line:none;text-decoration-line:none;white-space:nowrap;background-color:var(--2d562374);text-transform:none;padding:0 14px;text-align:center;transition:all .3s ease-in-out;box-shadow:none;text-decoration:none;outline:none}.component[data-v-849fae4e]:hover{color:var(--360329a3);background:var(--3c24be28)}.component-disabled[data-v-849fae4e]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none;background-color:#fff;opacity:.8}.component-disabled .component[data-v-849fae4e]{--disabled-button-color: var(--2d562374);--disabled-color: var(--7f8991ce);background-color:var(--disabled-button-color)!important;color:var(--disabled-color)!important;border-radius:inherit}.nb-wrapper[data-v-fe71a891]{margin:0;padding:0;font-size:62.5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;vertical-align:bottom}.nb-reset[data-v-fe71a891]{font-family:Lato,sans-serif;font-style:normal;font-weight:light;line-height:1.42857143}.nb-reset *[data-v-fe71a891]{margin:0;padding:0}.nb-reset *[data-v-fe71a891],.nb-reset *[data-v-fe71a891]:before,.nb-reset *[data-v-fe71a891]:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.component[data-v-fe71a891]{margin:4px 0;box-sizing:border-box;line-height:16px;font-family:Lato,sans-serif;font-family:var(--70620026);-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;text-align:center;-webkit-text-decoration-line:none;text-decoration-line:none;white-space:nowrap;letter-spacing:1px;outline:0;position:relative;overflow:hidden}.component .first-child[data-v-fe71a891]{--disabled-color: var(--2928e4ba);color:var(--disabled-color)!important;position:relative;transition:color .6s cubic-bezier(.48,0,.12,1);z-index:10}.component .last-child[data-v-fe71a891]{color:var(--text-color)!important;--text-color: var(--0fe93572);display:block;position:absolute;transition:all .5s cubic-bezier(.48,0,.12,1);z-index:100;opacity:1;bottom:0;left:50%;transform:translateY(225%) translate(-50%)}.component[data-v-fe71a891]:after{--button-color: var(--4dcaff7e);content:"";position:absolute;bottom:-50%;left:0;width:100%;height:100%;background-color:var(--button-color)!important;transform-origin:bottom center;transition:transform .6s cubic-bezier(.48,0,.12,1);transform:skewY(7.2deg) scaleY(0);z-index:10}.component[data-v-fe71a891]:hover:after{transform-origin:bottom center;transform:skewY(0) scaleY(2)}.component:hover .last-child[data-v-fe71a891]{bottom:50%;transform:translateY(50%) translate(-50%);opacity:1;transition:all .9s cubic-bezier(.48,0,.12,1)}.component-disabled[data-v-fe71a891]{cursor:not-allowed;pointer-events:none;-webkit-user-select:none;user-select:none}.component-disabled .component[data-v-fe71a891]{--disabled-color: var(--2928e4ba);color:var(--disabled-color)!important;opacity:.7;border-radius:inherit}
|
package/package.json
CHANGED