@vlalg-nimbus/nb-buttons 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
- import { useCssVars as P, toRefs as F, computed as t, openBlock as D, createElementBlock as O, normalizeClass as X, normalizeStyle as H, createElementVNode as z, renderSlot as q, createTextVNode as G, createCommentVNode as T, unref as ae, withModifiers as de, toDisplayString as Q, onMounted as se, ref as ie, watch as ce } from "vue";
2
- const M = (e, d) => {
3
- const B = e.__vccOpts || e;
4
- for (const [C, y] of d)
5
- B[C] = y;
6
- return B;
1
+ import { useCssVars as F, toRefs as M, computed as t, openBlock as T, createElementBlock as L, normalizeClass as X, normalizeStyle as B, createElementVNode as R, renderSlot as q, createTextVNode as G, createCommentVNode as A, unref as ae, withModifiers as de, toDisplayString as Q, onMounted as se, ref as ie, watch as ce } from "vue";
2
+ const j = (e, d) => {
3
+ const N = e.__vccOpts || e;
4
+ for (const [C, b] of d)
5
+ N[C] = b;
6
+ return N;
7
7
  }, fe = ["id"], ve = { class: "component-content__text" }, be = /* @__PURE__ */ Object.assign({
8
8
  name: "NbButtonVavaGame",
9
9
  inheritAttrs: !1
@@ -93,39 +93,39 @@ const M = (e, d) => {
93
93
  },
94
94
  emits: ["clicked"],
95
95
  setup(e, { emit: d }) {
96
- const B = e;
97
- P((u) => ({
98
- "4348b976": k.value,
96
+ const N = e;
97
+ F((u) => ({
98
+ "4348b976": H.value,
99
99
  "1735afec": Y.value,
100
- "58e23cb0": W.value,
100
+ "58e23cb0": z.value,
101
101
  "451672cd": r.value,
102
- "55b7ee16": l.value
102
+ "55b7ee16": n.value
103
103
  }));
104
104
  const {
105
105
  display: C,
106
- textColor: y,
106
+ textColor: b,
107
107
  textColorHover: x,
108
- buttonColor: g,
109
- buttonColorHover: m,
110
- uppercase: p,
108
+ buttonColor: p,
109
+ buttonColorHover: y,
110
+ uppercase: v,
111
111
  paddingXContent: V,
112
- paddingYContent: S,
113
- paddingXBorder: N,
112
+ paddingYContent: g,
113
+ paddingXBorder: w,
114
114
  paddingYBorder: s,
115
- borderColor: v,
116
- borderOpacity: c,
117
- disabled: n,
118
- fontFamily: _,
115
+ borderColor: c,
116
+ borderOpacity: m,
117
+ disabled: l,
118
+ fontFamily: S,
119
119
  fontSize: $,
120
- fontWeight: w
121
- } = F(B), h = t(() => {
122
- const u = n.value ? "component-disabled" : "", I = C.value !== "b" ? "inline-block" : "block", L = y.value ? y.value : "#ece8e1", A = g.value ? g.value : "green", j = x.value ? x.value : "#ece8e1", E = m.value ? m.value : "cyan", J = v.value ? v.value : "#ffffff", K = !c.value || !(c.value >= 0 && c.value <= 1) ? "0.5" : c.value, U = !N.value || N.value < 0 ? 0.3 : N.value, Z = !s.value || s.value < 0 ? 0.3 : s.value, ee = !V.value || V.value < 0 ? 0.5 : V.value, oe = !S.value || S.value < 0 ? 0.5 : S.value, le = p.value ? "uppercase" : "none", ne = _.value ? _.value : "'Lato', sans-serif", ue = $.value ? $.value : "1.6em", re = !w.value || w.value < 0 ? 100 : w.value;
120
+ fontWeight: h
121
+ } = M(N), _ = t(() => {
122
+ const u = l.value ? "component-disabled" : "", I = C.value !== "b" ? "inline-block" : "block", D = b.value ? b.value : "#ece8e1", O = p.value ? p.value : "green", P = x.value ? x.value : "#ece8e1", E = y.value ? y.value : "cyan", J = c.value ? c.value : "#ffffff", K = !m.value || !(m.value >= 0 && m.value <= 1) ? "0.5" : m.value, U = !w.value || w.value < 0 ? 0.3 : w.value, Z = !s.value || s.value < 0 ? 0.3 : s.value, ee = !V.value || V.value < 0 ? 0.5 : V.value, oe = !g.value || g.value < 0 ? 0.5 : g.value, le = v.value ? "uppercase" : "none", ne = S.value ? S.value : "'Lato', sans-serif", ue = $.value ? $.value : "1.6em", re = !h.value || h.value < 0 ? 100 : h.value;
123
123
  return {
124
124
  disabled: u,
125
125
  display: I,
126
- textColor: L,
127
- buttonColor: A,
128
- textColorHover: j,
126
+ textColor: D,
127
+ buttonColor: O,
128
+ textColorHover: P,
129
129
  buttonColorHover: E,
130
130
  borderColor: J,
131
131
  borderOpacity: K,
@@ -138,56 +138,56 @@ const M = (e, d) => {
138
138
  fontSize: ue,
139
139
  fontWeight: re
140
140
  };
141
- }), b = t(() => h.value.disabled), i = t(() => ({
142
- display: h.value.display
143
- })), f = t(() => {
144
- const u = h.value;
141
+ }), f = t(() => _.value.disabled), i = t(() => ({
142
+ display: _.value.display
143
+ })), k = t(() => {
144
+ const u = _.value;
145
145
  return {
146
146
  padding: `${u.paddingYBorder}rem ${u.paddingXBorder}rem`,
147
147
  fontSize: u.fontSize,
148
148
  fontWeight: u.fontWeight
149
149
  };
150
150
  }), a = t(() => {
151
- const u = h.value;
151
+ const u = _.value;
152
152
  return {
153
153
  textTransform: u.uppercase,
154
154
  padding: `${u.paddingYContent}rem ${u.paddingXContent}rem`,
155
155
  backgroundColor: u.buttonColor
156
156
  };
157
157
  }), o = t(() => ({
158
- backgroundColor: h.value.buttonColorHover
159
- })), k = t(() => h.value.font), r = t(() => h.value.borderColor), l = t(() => h.value.borderOpacity), Y = t(() => h.value.textColor), W = t(() => h.value.textColorHover), R = () => {
158
+ backgroundColor: _.value.buttonColorHover
159
+ })), H = t(() => _.value.font), r = t(() => _.value.borderColor), n = t(() => _.value.borderOpacity), Y = t(() => _.value.textColor), z = t(() => _.value.textColorHover), W = () => {
160
160
  d("clicked");
161
161
  };
162
- return (u, I) => e.nbId ? (D(), O("div", {
162
+ return (u, I) => e.nbId ? (T(), L("div", {
163
163
  key: 0,
164
- class: X(["nb-wrapper", b.value]),
165
- style: H([i.value]),
166
- onClick: R
164
+ class: X(["nb-wrapper", f.value]),
165
+ style: B([i.value]),
166
+ onClick: W
167
167
  }, [
168
- z("div", {
168
+ R("div", {
169
169
  id: e.nbId,
170
170
  class: X(["nb-reset", "component"]),
171
- style: H([f.value])
171
+ style: B([k.value])
172
172
  }, [
173
- z("div", {
173
+ R("div", {
174
174
  class: "component-content",
175
- style: H([a.value])
175
+ style: B([a.value])
176
176
  }, [
177
- z("span", ve, [
177
+ R("span", ve, [
178
178
  q(u.$slots, "text", {}, () => [
179
179
  G("Default Text")
180
180
  ], !0)
181
181
  ]),
182
- z("span", {
182
+ R("span", {
183
183
  class: "component-content__mask",
184
- style: H([o.value])
184
+ style: B([o.value])
185
185
  }, null, 4)
186
186
  ], 4)
187
187
  ], 12, fe)
188
- ], 6)) : T("", !0);
188
+ ], 6)) : A("", !0);
189
189
  }
190
- }), pe = /* @__PURE__ */ M(be, [["__scopeId", "data-v-09b2bb91"]]);
190
+ }), pe = /* @__PURE__ */ j(be, [["__scopeId", "data-v-09b2bb91"]]);
191
191
  const ye = ["id"], ge = /* @__PURE__ */ Object.assign({
192
192
  name: "NbButtonShowHover",
193
193
  inheritAttrs: !1
@@ -259,47 +259,47 @@ const ye = ["id"], ge = /* @__PURE__ */ Object.assign({
259
259
  },
260
260
  emits: ["clicked"],
261
261
  setup(e, { emit: d }) {
262
- const B = e;
263
- P((a) => ({
262
+ const N = e;
263
+ F((a) => ({
264
264
  e35bf122: i.value,
265
- "122f086c": h.value,
266
- "590fef9e": b.value,
265
+ "122f086c": _.value,
266
+ "590fef9e": f.value,
267
267
  "383cafc6": e.textColorHover,
268
- 66192716: ae(y)
268
+ 66192716: ae(b)
269
269
  }));
270
270
  const {
271
271
  text: C,
272
- textColor: y,
272
+ textColor: b,
273
273
  buttonColorHover: x,
274
- buttonColorOpacityHover: g,
275
- paddingX: m,
276
- paddingY: p,
274
+ buttonColorOpacityHover: p,
275
+ paddingX: y,
276
+ paddingY: v,
277
277
  disabled: V,
278
- borderRadius: S,
279
- verticalAlign: N,
278
+ borderRadius: g,
279
+ verticalAlign: w,
280
280
  fontFamily: s,
281
- fontSize: v,
282
- fontWeight: c
283
- } = F(B), n = t(() => {
284
- const a = C.value ? C.value : "Default Text", o = V.value ? "component-disabled" : "", k = N.value ? N.value : "middle", r = y ? y.value : "ffffff", l = !m.value || m.value < 0 ? 1 : m.value, Y = !p.value || p.value < 0 ? 0.2 : p.value, W = !S.value || S.value < 0 ? 0 : S.value, R = x.value ? x.value : "10, 38, 184", u = !g.value || g.value < 0 ? 0.1 : g.value, I = s.value ? s.value : "'Lato', sans-serif", L = v.value ? v.value : "1.6rem", A = !c.value || c.value < 0 ? 100 : c.value;
281
+ fontSize: c,
282
+ fontWeight: m
283
+ } = M(N), l = t(() => {
284
+ const a = C.value ? C.value : "Default Text", o = V.value ? "component-disabled" : "", H = w.value ? w.value : "middle", r = b ? b.value : "ffffff", n = !y.value || y.value < 0 ? 1 : y.value, Y = !v.value || v.value < 0 ? 0.2 : v.value, z = !g.value || g.value < 0 ? 0 : g.value, W = x.value ? x.value : "10, 38, 184", u = !p.value || p.value < 0 ? 0.1 : p.value, I = s.value ? s.value : "'Lato', sans-serif", D = c.value ? c.value : "1.6rem", O = !m.value || m.value < 0 ? 100 : m.value;
285
285
  return {
286
286
  disabled: o,
287
- borderRadius: W,
287
+ borderRadius: z,
288
288
  textColor: r,
289
- paddingX: l,
289
+ paddingX: n,
290
290
  paddingY: Y,
291
- buttonColorHover: R,
291
+ buttonColorHover: W,
292
292
  buttonColorOpacityHover: u,
293
293
  font: I,
294
- fontSize: L,
295
- fontWeight: A,
294
+ fontSize: D,
295
+ fontWeight: O,
296
296
  text: a,
297
- verticalAlign: k
297
+ verticalAlign: H
298
298
  };
299
- }), _ = t(() => n.value.disabled), $ = t(() => ({
300
- verticalAlign: n.value.verticalAlign
301
- })), w = t(() => {
302
- const a = n.value;
299
+ }), S = t(() => l.value.disabled), $ = t(() => ({
300
+ verticalAlign: l.value.verticalAlign
301
+ })), h = t(() => {
302
+ const a = l.value;
303
303
  return {
304
304
  color: a.textColor,
305
305
  padding: `${a.paddingY}rem 0`,
@@ -307,31 +307,31 @@ const ye = ["id"], ge = /* @__PURE__ */ Object.assign({
307
307
  fontSize: a.fontSize,
308
308
  fontWeight: a.fontWeight
309
309
  };
310
- }), h = t(() => {
311
- const a = n.value;
310
+ }), _ = t(() => {
311
+ const a = l.value;
312
312
  return `${a.paddingY}rem ${a.paddingX}rem`;
313
- }), b = t(() => {
314
- const a = n.value;
313
+ }), f = t(() => {
314
+ const a = l.value;
315
315
  return `rgba(${a.buttonColorHover}, ${a.buttonColorOpacityHover})`;
316
- }), i = t(() => n.value.font), f = () => {
316
+ }), i = t(() => l.value.font), k = () => {
317
317
  d("clicked");
318
318
  };
319
- return (a, o) => e.nbId ? (D(), O("div", {
319
+ return (a, o) => e.nbId ? (T(), L("div", {
320
320
  key: 0,
321
- class: X(["nb-wrapper", _.value]),
322
- style: H([$.value]),
323
- onClick: f
321
+ class: X(["nb-wrapper", S.value]),
322
+ style: B([$.value]),
323
+ onClick: k
324
324
  }, [
325
- z("a", {
325
+ R("a", {
326
326
  id: e.nbId,
327
327
  class: "nb-reset component tertiary",
328
- style: H([w.value]),
328
+ style: B([h.value]),
329
329
  onClick: o[0] || (o[0] = de(() => {
330
330
  }, ["prevent"]))
331
- }, Q(n.value.text), 13, ye)
332
- ], 6)) : T("", !0);
331
+ }, Q(l.value.text), 13, ye)
332
+ ], 6)) : A("", !0);
333
333
  }
334
- }), me = /* @__PURE__ */ M(ge, [["__scopeId", "data-v-7f17ac3f"]]);
334
+ }), me = /* @__PURE__ */ j(ge, [["__scopeId", "data-v-7f17ac3f"]]);
335
335
  const Ve = ["id"], Ce = /* @__PURE__ */ Object.assign({
336
336
  name: "NbButtonPrevNext",
337
337
  inheritAttrs: !1
@@ -420,8 +420,8 @@ const Ve = ["id"], Ce = /* @__PURE__ */ Object.assign({
420
420
  },
421
421
  emits: ["clicked"],
422
422
  setup(e, { emit: d }) {
423
- const B = e;
424
- P((a) => ({
423
+ const N = e;
424
+ F((a) => ({
425
425
  "2446b547": i.value,
426
426
  a50bbbd2: e.colorPrimary,
427
427
  "0f9f603e": e.textColor,
@@ -430,87 +430,87 @@ const Ve = ["id"], Ce = /* @__PURE__ */ Object.assign({
430
430
  }));
431
431
  const {
432
432
  paddingX: C,
433
- paddingY: y,
433
+ paddingY: b,
434
434
  marginBetween: x,
435
- borderRadius: g,
436
- disabled: m,
437
- disabledPreview: p,
435
+ borderRadius: p,
436
+ disabled: y,
437
+ disabledPreview: v,
438
438
  disabledNext: V,
439
- fontFamily: S,
440
- fontSize: N,
439
+ fontFamily: g,
440
+ fontSize: w,
441
441
  fontWeight: s
442
- } = F(B), v = t(() => {
443
- const a = m.value ? "component-disabled" : "", o = p.value ? "component-disabled" : "", k = V.value ? "component-disabled" : "", r = !x.value || x.value < 0 ? 0 : x.value, l = !g.value || g.value < 0 ? 0 : g.value, Y = !C.value || C.value < 0 ? 1 : C.value, W = !y.value || y.value < 0 ? 10 : y.value, R = N.value ? N.value : "1.6em", u = !s.value || s.value < 0 ? 100 : s.value;
442
+ } = M(N), c = t(() => {
443
+ const a = y.value ? "component-disabled" : "", o = v.value ? "component-disabled" : "", H = V.value ? "component-disabled" : "", r = !x.value || x.value < 0 ? 0 : x.value, n = !p.value || p.value < 0 ? 0 : p.value, Y = !C.value || C.value < 0 ? 1 : C.value, z = !b.value || b.value < 0 ? 10 : b.value, W = w.value ? w.value : "1.6em", u = !s.value || s.value < 0 ? 100 : s.value;
444
444
  return {
445
445
  disabled: a,
446
446
  disabledPreview: o,
447
- disabledNext: k,
447
+ disabledNext: H,
448
448
  marginBetween: `${r}px`,
449
- borderRadius: `${l}px`,
449
+ borderRadius: `${n}px`,
450
450
  paddingX: `${Y}px`,
451
- paddingY: `${W}px`,
452
- fontSize: R,
451
+ paddingY: `${z}px`,
452
+ fontSize: W,
453
453
  fontWeight: u
454
454
  };
455
- }), c = t(() => v.value.disabled), n = t(() => v.value.disabledPreview), _ = t(() => v.value.disabledNext), $ = t(() => ({
456
- display: v.value.display
457
- })), w = t(() => {
458
- const a = v.value;
455
+ }), m = t(() => c.value.disabled), l = t(() => c.value.disabledPreview), S = t(() => c.value.disabledNext), $ = t(() => ({
456
+ display: c.value.display
457
+ })), h = t(() => {
458
+ const a = c.value;
459
459
  return {
460
460
  fontSize: a.fontSize,
461
461
  fontWeight: a.fontWeight
462
462
  };
463
- }), h = t(() => {
464
- const a = v.value;
463
+ }), _ = t(() => {
464
+ const a = c.value;
465
465
  return {
466
466
  borderRadius: `${a.borderRadius} 0px 0px ${a.borderRadius}`,
467
467
  marginRight: a.marginBetween,
468
468
  padding: `${a.paddingX} ${a.paddingY}`
469
469
  };
470
- }), b = t(() => {
471
- const a = v.value;
470
+ }), f = t(() => {
471
+ const a = c.value;
472
472
  return {
473
473
  borderRadius: `0px ${a.borderRadius} ${a.borderRadius} 0px`,
474
474
  marginLeft: a.marginBetween,
475
475
  padding: `${a.paddingX} ${a.paddingY}`
476
476
  };
477
- }), i = t(() => `'${S.value ? S.value : "'Lato', sans-serif"}'`), f = (a) => {
477
+ }), i = t(() => `'${g.value ? g.value : "'Lato', sans-serif"}'`), k = (a) => {
478
478
  d("clicked", a);
479
479
  };
480
- return (a, o) => e.nbId ? (D(), O("div", {
480
+ return (a, o) => e.nbId ? (T(), L("div", {
481
481
  key: 0,
482
- class: X(["nb-wrapper", c.value]),
483
- style: H([$.value])
482
+ class: X(["nb-wrapper", m.value]),
483
+ style: B([$.value])
484
484
  }, [
485
- z("div", {
485
+ R("div", {
486
486
  id: e.nbId,
487
487
  class: X(["nb-reset", "component"]),
488
- style: H(w.value)
488
+ style: B(h.value)
489
489
  }, [
490
- e.showPreview ? (D(), O("div", {
490
+ e.showPreview ? (T(), L("div", {
491
491
  key: 0,
492
- onClick: o[0] || (o[0] = (k) => f("preview")),
493
- class: X(["buttonNextPreview buttonPreview", n.value]),
494
- style: H(h.value)
492
+ onClick: o[0] || (o[0] = (H) => k("preview")),
493
+ class: X(["buttonNextPreview buttonPreview", l.value]),
494
+ style: B(_.value)
495
495
  }, [
496
496
  q(a.$slots, "prev", {}, () => [
497
497
  G("← Preview")
498
498
  ], !0)
499
- ], 6)) : T("", !0),
500
- e.showNext ? (D(), O("div", {
499
+ ], 6)) : A("", !0),
500
+ e.showNext ? (T(), L("div", {
501
501
  key: 1,
502
- onClick: o[1] || (o[1] = (k) => f("next")),
503
- class: X(["buttonNextPreview buttonNext", _.value]),
504
- style: H(b.value)
502
+ onClick: o[1] || (o[1] = (H) => k("next")),
503
+ class: X(["buttonNextPreview buttonNext", S.value]),
504
+ style: B(f.value)
505
505
  }, [
506
506
  q(a.$slots, "next", {}, () => [
507
507
  G("Next →")
508
508
  ], !0)
509
- ], 6)) : T("", !0)
509
+ ], 6)) : A("", !0)
510
510
  ], 12, Ve)
511
- ], 6)) : T("", !0);
511
+ ], 6)) : A("", !0);
512
512
  }
513
- }), xe = /* @__PURE__ */ M(Ce, [["__scopeId", "data-v-f26b5a64"]]);
513
+ }), xe = /* @__PURE__ */ j(Ce, [["__scopeId", "data-v-f26b5a64"]]);
514
514
  const Se = ["id"], _e = /* @__PURE__ */ Object.assign({
515
515
  name: "NbButtonMechanical",
516
516
  inheritAttrs: !1
@@ -581,46 +581,46 @@ const Se = ["id"], _e = /* @__PURE__ */ Object.assign({
581
581
  },
582
582
  emits: ["clicked"],
583
583
  setup(e, { emit: d }) {
584
- const B = e;
585
- P((o) => ({
586
- "196eb3ca": b.value,
587
- "5a845ff6": ae(y),
588
- "44f25ea8": f.value,
584
+ const N = e;
585
+ F((o) => ({
586
+ "196eb3ca": f.value,
587
+ "5a845ff6": ae(b),
588
+ "44f25ea8": k.value,
589
589
  "3eb45b5e": i.value
590
590
  }));
591
591
  const {
592
592
  display: C,
593
- buttonColor: y,
593
+ buttonColor: b,
594
594
  textColor: x,
595
- containerColor: g,
596
- paddingX: m,
597
- paddingY: p,
595
+ containerColor: p,
596
+ paddingX: y,
597
+ paddingY: v,
598
598
  borderRadius: V,
599
- disabled: S,
600
- animationSlow: N,
599
+ disabled: g,
600
+ animationSlow: w,
601
601
  fontFamily: s,
602
- fontSize: v,
603
- fontWeight: c
604
- } = F(B), n = t(() => {
605
- const o = S.value ? "component-disabled" : "", k = C.value !== "b" ? "inline-block" : "block", r = g.value ? g.value : "#ffffff", l = y.value ? y.value : "#bbbbbb", Y = x.value ? x.value : "#ffffff", W = !m.value || m.value < 0 ? 1 : m.value, R = !p.value || p.value < 0 ? 0.2 : p.value, u = !V.value || V.value < 0 ? 0 : V.value, I = N.value ? "" : "component-transition__no-slow", L = s.value ? s.value : "'Lato', sans-serif", A = v.value ? v.value : "1.6em", j = !c.value || c.value < 0 ? 100 : c.value;
602
+ fontSize: c,
603
+ fontWeight: m
604
+ } = M(N), l = t(() => {
605
+ const o = g.value ? "component-disabled" : "", H = C.value !== "b" ? "inline-block" : "block", r = p.value ? p.value : "#ffffff", n = b.value ? b.value : "#bbbbbb", Y = x.value ? x.value : "#ffffff", z = !y.value || y.value < 0 ? 1 : y.value, W = !v.value || v.value < 0 ? 0.2 : v.value, u = !V.value || V.value < 0 ? 0 : V.value, I = w.value ? "" : "component-transition__no-slow", D = s.value ? s.value : "'Lato', sans-serif", O = c.value ? c.value : "1.6em", P = !m.value || m.value < 0 ? 100 : m.value;
606
606
  return {
607
607
  disabled: o,
608
- display: k,
608
+ display: H,
609
609
  containerColor: r,
610
- buttonColor: l,
610
+ buttonColor: n,
611
611
  textColor: Y,
612
- paddingX: W,
613
- paddingY: R,
612
+ paddingX: z,
613
+ paddingY: W,
614
614
  borderRadius: u,
615
615
  animationSlow: I,
616
- font: L,
617
- fontSize: A,
618
- fontWeight: j
616
+ font: D,
617
+ fontSize: O,
618
+ fontWeight: P
619
619
  };
620
- }), _ = t(() => n.value.disabled), $ = t(() => ({
621
- display: n.value.display
622
- })), w = t(() => {
623
- const o = n.value;
620
+ }), S = t(() => l.value.disabled), $ = t(() => ({
621
+ display: l.value.display
622
+ })), h = t(() => {
623
+ const o = l.value;
624
624
  return {
625
625
  border: `2px solid ${o.containerColor}`,
626
626
  color: o.textColor,
@@ -630,27 +630,27 @@ const Se = ["id"], _e = /* @__PURE__ */ Object.assign({
630
630
  fontSize: o.fontSize,
631
631
  fontWeight: o.fontWeight
632
632
  };
633
- }), h = t(() => n.value.animationSlow), b = t(() => n.value.font), i = t(() => n.value.textColor), f = t(() => n.value.buttonColor), a = () => {
633
+ }), _ = t(() => l.value.animationSlow), f = t(() => l.value.font), i = t(() => l.value.textColor), k = t(() => l.value.buttonColor), a = () => {
634
634
  d("clicked");
635
635
  };
636
- return (o, k) => e.nbId ? (D(), O("div", {
636
+ return (o, H) => e.nbId ? (T(), L("div", {
637
637
  key: 0,
638
- class: X(["nb-wrapper", _.value]),
639
- style: H([$.value]),
638
+ class: X(["nb-wrapper", S.value]),
639
+ style: B([$.value]),
640
640
  onClick: a
641
641
  }, [
642
- z("div", {
642
+ R("div", {
643
643
  id: e.nbId,
644
- class: X(["nb-reset", "component", "component-transition", h.value]),
645
- style: H([w.value])
644
+ class: X(["nb-reset", "component", "component-transition", _.value]),
645
+ style: B([h.value])
646
646
  }, [
647
647
  q(o.$slots, "content", {}, () => [
648
648
  G("Default Text")
649
649
  ], !0)
650
650
  ], 14, Se)
651
- ], 6)) : T("", !0);
651
+ ], 6)) : A("", !0);
652
652
  }
653
- }), he = /* @__PURE__ */ M(_e, [["__scopeId", "data-v-11d6e180"]]);
653
+ }), he = /* @__PURE__ */ j(_e, [["__scopeId", "data-v-11d6e180"]]);
654
654
  const Ne = ["id"], we = /* @__PURE__ */ Object.assign({
655
655
  name: "NbButtonMechanical2",
656
656
  inheritAttrs: !1
@@ -721,42 +721,42 @@ const Ne = ["id"], we = /* @__PURE__ */ Object.assign({
721
721
  },
722
722
  emits: ["clicked"],
723
723
  setup(e, { emit: d }) {
724
- const B = e;
725
- P((i) => ({
726
- ba36237e: h.value
724
+ const N = e;
725
+ F((i) => ({
726
+ ba36237e: _.value
727
727
  }));
728
728
  const {
729
729
  text: C,
730
- display: y,
730
+ display: b,
731
731
  buttonColor: x,
732
- textColor: g,
733
- paddingX: m,
734
- paddingY: p,
732
+ textColor: p,
733
+ paddingX: y,
734
+ paddingY: v,
735
735
  borderRadius: V,
736
- shadowColor: S,
737
- disabled: N,
736
+ shadowColor: g,
737
+ disabled: w,
738
738
  fontFamily: s,
739
- fontSize: v,
740
- fontWeight: c
741
- } = F(B), n = t(() => {
742
- const i = N.value ? "component-disabled" : "", f = y.value !== "b" ? "inline-block" : "block", a = x.value ? x.value : "#bbbbbb", o = S.value ? S.value : "#002f3c", k = g.value ? g.value : "#ffffff", r = !m.value || m.value < 0 ? 1 : m.value, l = !p.value || p.value < 0 ? 1 : p.value, Y = !V.value || V.value < 0 ? 0 : V.value, W = s.value ? s.value : "'Lato', sans-serif", R = v.value ? v.value : "1.6em", u = !c.value || c.value < 0 ? 100 : c.value;
739
+ fontSize: c,
740
+ fontWeight: m
741
+ } = M(N), l = t(() => {
742
+ const i = w.value ? "component-disabled" : "", k = b.value !== "b" ? "inline-block" : "block", a = x.value ? x.value : "#bbbbbb", o = g.value ? g.value : "#002f3c", H = p.value ? p.value : "#ffffff", r = !y.value || y.value < 0 ? 1 : y.value, n = !v.value || v.value < 0 ? 1 : v.value, Y = !V.value || V.value < 0 ? 0 : V.value, z = s.value ? s.value : "'Lato', sans-serif", W = c.value ? c.value : "1.6em", u = !m.value || m.value < 0 ? 100 : m.value;
743
743
  return {
744
744
  disabled: i,
745
- display: f,
745
+ display: k,
746
746
  buttonColor: a,
747
747
  shadowColor: o,
748
- textColor: k,
748
+ textColor: H,
749
749
  paddingX: r,
750
- paddingY: l,
750
+ paddingY: n,
751
751
  borderRadius: Y,
752
- font: W,
753
- fontSize: R,
752
+ font: z,
753
+ fontSize: W,
754
754
  fontWeight: u
755
755
  };
756
- }), _ = t(() => n.value.disabled), $ = t(() => ({
757
- display: n.value.display
758
- })), w = t(() => {
759
- const i = n.value;
756
+ }), S = t(() => l.value.disabled), $ = t(() => ({
757
+ display: l.value.display
758
+ })), h = t(() => {
759
+ const i = l.value;
760
760
  return {
761
761
  color: i.textColor,
762
762
  backgroundColor: i.buttonColor,
@@ -767,23 +767,23 @@ const Ne = ["id"], we = /* @__PURE__ */ Object.assign({
767
767
  fontSize: i.fontSize,
768
768
  fontWeight: i.fontWeight
769
769
  };
770
- }), h = t(() => n.value.font), b = () => {
770
+ }), _ = t(() => l.value.font), f = () => {
771
771
  d("clicked");
772
772
  };
773
- return (i, f) => e.nbId ? (D(), O("div", {
773
+ return (i, k) => e.nbId ? (T(), L("div", {
774
774
  key: 0,
775
- class: X(["nb-wrapper", _.value]),
776
- style: H([$.value]),
777
- onClick: b
775
+ class: X(["nb-wrapper", S.value]),
776
+ style: B([$.value]),
777
+ onClick: f
778
778
  }, [
779
- z("div", {
779
+ R("div", {
780
780
  id: e.nbId,
781
781
  class: X(["nb-reset", "component", "component-transition"]),
782
- style: H([w.value])
783
- }, Q(B.text), 13, Ne)
784
- ], 6)) : T("", !0);
782
+ style: B([h.value])
783
+ }, Q(N.text), 13, Ne)
784
+ ], 6)) : A("", !0);
785
785
  }
786
- }), Be = /* @__PURE__ */ M(we, [["__scopeId", "data-v-20a2a691"]]);
786
+ }), Be = /* @__PURE__ */ j(we, [["__scopeId", "data-v-20a2a691"]]);
787
787
  const He = ["id"], $e = /* @__PURE__ */ Object.assign({
788
788
  name: "NbButtonHamburger",
789
789
  inheritAttrs: !1
@@ -833,74 +833,74 @@ const He = ["id"], $e = /* @__PURE__ */ Object.assign({
833
833
  },
834
834
  emits: ["clicked"],
835
835
  setup(e, { emit: d }) {
836
- const B = e;
837
- P((b) => ({
836
+ const N = e;
837
+ F((f) => ({
838
838
  "4f0c7280": $.value,
839
- "86dec5da": w.value
839
+ "86dec5da": h.value
840
840
  })), se(() => {
841
- C.value = y.value;
841
+ C.value = b.value;
842
842
  });
843
843
  const C = ie(!1), {
844
- status: y,
844
+ status: b,
845
845
  color: x,
846
- containerColor: g,
847
- containerColorHover: m,
848
- colorHover: p,
846
+ containerColor: p,
847
+ containerColorHover: y,
848
+ colorHover: v,
849
849
  paddingX: V,
850
- paddingY: S,
851
- disabled: N
852
- } = F(B), s = t(() => {
853
- const b = N.value ? "component-disabled" : "", i = C.value ? "change" : "", f = g.value ? g.value : "#333333", a = x.value ? x.value : "#ffffff", o = !V.value || V.value < 0 ? 3 : V.value, k = !S.value || S.value < 0 ? 3 : S.value, r = m.value ? m.value : "yellow", l = p.value ? p.value : "red";
850
+ paddingY: g,
851
+ disabled: w
852
+ } = M(N), s = t(() => {
853
+ const f = w.value ? "component-disabled" : "", i = C.value ? "change" : "", k = p.value ? p.value : "#333333", a = x.value ? x.value : "#ffffff", o = !V.value || V.value < 0 ? 3 : V.value, H = !g.value || g.value < 0 ? 3 : g.value, r = y.value ? y.value : "yellow", n = v.value ? v.value : "red";
854
854
  return {
855
- disabled: b,
855
+ disabled: f,
856
856
  buttonStatus: i,
857
- containerColor: f,
857
+ containerColor: k,
858
858
  paddingX: o,
859
- paddingY: k,
859
+ paddingY: H,
860
860
  color: a,
861
861
  containerColorHover: r,
862
- colorHover: l
862
+ colorHover: n
863
863
  };
864
- }), v = t(() => s.value.disabled), c = t(() => {
865
- const b = s.value;
864
+ }), c = t(() => s.value.disabled), m = t(() => {
865
+ const f = s.value;
866
866
  return {
867
- padding: `${b.paddingY}px ${b.paddingX}px`,
868
- backgroundColor: b.containerColor
867
+ padding: `${f.paddingY}px ${f.paddingX}px`,
868
+ backgroundColor: f.containerColor
869
869
  };
870
- }), n = t(() => ({
870
+ }), l = t(() => ({
871
871
  backgroundColor: s.value.color
872
- })), _ = t(() => s.value.buttonStatus), $ = t(() => s.value.containerColorHover), w = t(() => s.value.colorHover), h = () => {
873
- const b = !C.value;
874
- C.value = b, d("clicked", b);
872
+ })), S = t(() => s.value.buttonStatus), $ = t(() => s.value.containerColorHover), h = t(() => s.value.colorHover), _ = () => {
873
+ const f = !C.value;
874
+ C.value = f, d("clicked", f);
875
875
  };
876
- return ce(y, () => {
877
- C.value = y.value;
878
- }), (b, i) => e.nbId ? (D(), O("div", {
876
+ return ce(b, () => {
877
+ C.value = b.value;
878
+ }), (f, i) => e.nbId ? (T(), L("div", {
879
879
  key: 0,
880
- class: X(["nb-wrapper", v.value]),
881
- style: H([c.value]),
882
- onClick: h
880
+ class: X(["nb-wrapper", c.value]),
881
+ style: B([m.value]),
882
+ onClick: _
883
883
  }, [
884
- z("div", {
884
+ R("div", {
885
885
  id: e.nbId,
886
- class: X(["nb-reset", "component", _.value])
886
+ class: X(["nb-reset", "component", S.value])
887
887
  }, [
888
- z("div", {
888
+ R("div", {
889
889
  class: "component__line-one",
890
- style: H(n.value)
890
+ style: B(l.value)
891
891
  }, null, 4),
892
- z("div", {
892
+ R("div", {
893
893
  class: "component__line-two",
894
- style: H(n.value)
894
+ style: B(l.value)
895
895
  }, null, 4),
896
- z("div", {
896
+ R("div", {
897
897
  class: "component__line-three",
898
- style: H(n.value)
898
+ style: B(l.value)
899
899
  }, null, 4)
900
900
  ], 10, He)
901
- ], 6)) : T("", !0);
901
+ ], 6)) : A("", !0);
902
902
  }
903
- }), ke = /* @__PURE__ */ M($e, [["__scopeId", "data-v-37573ac0"]]);
903
+ }), ke = /* @__PURE__ */ j($e, [["__scopeId", "data-v-37573ac0"]]);
904
904
  const Ye = ["id"], Xe = /* @__PURE__ */ Object.assign({
905
905
  name: "NbButtonColorOutside",
906
906
  inheritAttrs: !1
@@ -950,6 +950,10 @@ const Ye = ["id"], Xe = /* @__PURE__ */ Object.assign({
950
950
  default: !1,
951
951
  validator: (e) => typeof e == "boolean" && [!0, !1].includes(e)
952
952
  },
953
+ borderRadius: {
954
+ type: Number,
955
+ default: 0.25
956
+ },
953
957
  fontFamily: {
954
958
  type: String,
955
959
  default: "'Lato', sans-serif"
@@ -967,68 +971,72 @@ const Ye = ["id"], Xe = /* @__PURE__ */ Object.assign({
967
971
  },
968
972
  emits: ["clicked"],
969
973
  setup(e, { emit: d }) {
970
- const B = e;
971
- P((f) => ({
972
- "5c58593c": w.value,
973
- f6f44b66: b.value,
974
- c5265f9c: h.value
974
+ const N = e;
975
+ F((o) => ({
976
+ bf6244be: f.value,
977
+ "3087ef32": k.value,
978
+ b71ed32e: _.value,
979
+ df6e4b52: i.value
975
980
  }));
976
981
  const {
977
982
  text: C,
978
- display: y,
983
+ display: b,
979
984
  buttonColor: x,
980
- borderColor: g,
981
- textColor: m,
982
- paddingX: p,
985
+ borderColor: p,
986
+ textColor: y,
987
+ paddingX: v,
983
988
  paddingY: V,
984
- disabled: S,
985
- fontFamily: N,
986
- fontSize: s,
987
- fontWeight: v
988
- } = F(B), c = t(() => {
989
- const f = C.value ? C.value : "Default Text", a = S.value ? "component-disabled" : "", o = y.value !== "b" ? "inline-block" : "block", k = x.value ? x.value : "#bbbbbb", r = g.value ? g.value : "#ffe54c", l = m.value ? m.value : "#ffffff", Y = !p.value || p.value < 0 ? 1 : p.value, W = !V.value || V.value < 0 ? 0.2 : V.value, R = N.value ? N.value : "'Lato', sans-serif", u = s.value ? s.value : "1.6em", I = !v.value || v.value < 0 ? 200 : v.value;
989
+ borderRadius: g,
990
+ disabled: w,
991
+ fontFamily: s,
992
+ fontSize: c,
993
+ fontWeight: m
994
+ } = M(N), l = t(() => {
995
+ const o = C.value ? C.value : "Default Text", H = w.value ? "component-disabled" : "", r = b.value !== "b" ? "inline-block" : "block", n = x.value ? x.value : "#bbbbbb", Y = p.value ? p.value : "#ffe54c", z = y.value ? y.value : "#ffffff", W = !v.value || v.value < 0 ? 1 : v.value, u = !V.value || V.value < 0 ? 0.2 : V.value, I = !g.value || g.value < 0 ? 0 : g.value, D = s.value ? s.value : "'Lato', sans-serif", O = c.value ? c.value : "1.6em", P = !m.value || m.value < 0 ? 200 : m.value;
990
996
  return {
991
- disabled: a,
992
- display: o,
993
- buttonColor: k,
994
- borderColor: r,
995
- textColor: l,
996
- paddingX: Y,
997
- paddingY: W,
998
- text: f,
999
- font: R,
1000
- fontSize: u,
1001
- fontWeight: I
997
+ disabled: H,
998
+ display: r,
999
+ buttonColor: n,
1000
+ borderColor: Y,
1001
+ textColor: z,
1002
+ paddingX: W,
1003
+ paddingY: u,
1004
+ text: o,
1005
+ borderRadius: I,
1006
+ font: D,
1007
+ fontSize: O,
1008
+ fontWeight: P
1002
1009
  };
1003
- }), n = t(() => c.value.disabled), _ = t(() => ({
1004
- display: c.value.display
1005
- })), $ = t(() => {
1006
- const f = c.value;
1010
+ }), S = t(() => l.value.disabled), $ = t(() => ({
1011
+ display: l.value.display
1012
+ })), h = t(() => {
1013
+ const o = l.value;
1007
1014
  return {
1008
- border: `1px solid ${f.borderColor}`,
1009
- color: f.textColor,
1010
- padding: `${f.paddingY}rem ${f.paddingX}rem`,
1011
- fontSize: f.fontSize,
1012
- fontWeight: f.fontWeight
1015
+ border: `1px solid ${o.borderColor}`,
1016
+ color: o.textColor,
1017
+ padding: `${o.paddingY}rem ${o.paddingX}rem`,
1018
+ borderRadius: _.value,
1019
+ fontSize: o.fontSize,
1020
+ fontWeight: o.fontWeight
1013
1021
  };
1014
- }), w = t(() => c.value.font), h = t(() => c.value.textColor), b = t(() => c.value.buttonColor), i = () => {
1022
+ }), _ = t(() => `${l.value.borderRadius}rem`), f = t(() => l.value.font), i = t(() => l.value.textColor), k = t(() => l.value.buttonColor), a = () => {
1015
1023
  d("clicked");
1016
1024
  };
1017
- return (f, a) => e.nbId ? (D(), O("div", {
1025
+ return (o, H) => e.nbId ? (T(), L("div", {
1018
1026
  key: 0,
1019
- class: X(["nb-wrapper", n.value]),
1020
- style: H([_.value]),
1021
- onClick: i
1027
+ class: X(["nb-wrapper", S.value]),
1028
+ style: B([$.value]),
1029
+ onClick: a
1022
1030
  }, [
1023
- z("div", {
1031
+ R("div", {
1024
1032
  id: e.nbId,
1025
1033
  class: X(["nb-reset", "component"]),
1026
- style: H([$.value])
1027
- }, Q(c.value.text), 13, Ye)
1028
- ], 6)) : T("", !0);
1034
+ style: B([h.value])
1035
+ }, Q(l.value.text), 13, Ye)
1036
+ ], 6)) : A("", !0);
1029
1037
  }
1030
- }), ze = /* @__PURE__ */ M(Xe, [["__scopeId", "data-v-b0bef095"]]);
1031
- const We = ["id"], Re = /* @__PURE__ */ Object.assign({
1038
+ }), Re = /* @__PURE__ */ j(Xe, [["__scopeId", "data-v-34a3b3a9"]]);
1039
+ const ze = ["id"], We = /* @__PURE__ */ Object.assign({
1032
1040
  name: "NbButtonColorHover",
1033
1041
  inheritAttrs: !1
1034
1042
  }, {
@@ -1102,53 +1110,53 @@ const We = ["id"], Re = /* @__PURE__ */ Object.assign({
1102
1110
  },
1103
1111
  emits: ["clicked"],
1104
1112
  setup(e, { emit: d }) {
1105
- const B = e;
1106
- P((r) => ({
1107
- ea8f1624: b.value,
1113
+ const N = e;
1114
+ F((r) => ({
1115
+ ea8f1624: f.value,
1108
1116
  "68a00a02": a.value,
1109
- a1f5bb90: f.value,
1117
+ a1f5bb90: k.value,
1110
1118
  "7c8ae57d": o.value,
1111
1119
  "0ca91538": i.value
1112
1120
  }));
1113
1121
  const {
1114
1122
  text: C,
1115
- display: y,
1123
+ display: b,
1116
1124
  textColor: x,
1117
- paddingX: g,
1118
- paddingY: m,
1119
- borderRadius: p,
1125
+ paddingX: p,
1126
+ paddingY: y,
1127
+ borderRadius: v,
1120
1128
  disabled: V,
1121
- fontFamily: S,
1122
- fontSize: N,
1129
+ fontFamily: g,
1130
+ fontSize: w,
1123
1131
  fontWeight: s,
1124
- textColorHover: v,
1125
- buttonColor: c,
1126
- buttonColorHover: n
1127
- } = F(B), _ = t(() => {
1128
- const r = C.value ? C.value : "Default Text", l = V.value ? "component-disabled" : "", Y = y.value !== "b" ? "inline-block" : "block", W = x ? x.value : "ffffff", R = !g.value || g.value < 0 ? 1 : g.value, u = !m.value || m.value < 0 ? 0.2 : m.value, I = !p.value || p.value < 0 ? 0 : p.value, L = S.value ? S.value : "'Lato', sans-serif", A = N.value ? N.value : "1.6rem", j = !s.value || s.value < 0 ? 100 : s.value, E = v.value ? v.value : "#cccccc", J = c.value ? c.value : "#bbbbbb", K = n.value ? n.value : "#959595";
1132
+ textColorHover: c,
1133
+ buttonColor: m,
1134
+ buttonColorHover: l
1135
+ } = M(N), S = t(() => {
1136
+ const r = C.value ? C.value : "Default Text", n = V.value ? "component-disabled" : "", Y = b.value !== "b" ? "inline-block" : "block", z = x ? x.value : "ffffff", W = !p.value || p.value < 0 ? 1 : p.value, u = !y.value || y.value < 0 ? 0.2 : y.value, I = !v.value || v.value < 0 ? 0 : v.value, D = g.value ? g.value : "'Lato', sans-serif", O = w.value ? w.value : "1.6rem", P = !s.value || s.value < 0 ? 100 : s.value, E = c.value ? c.value : "#cccccc", J = m.value ? m.value : "#bbbbbb", K = l.value ? l.value : "#959595";
1129
1137
  return {
1130
- disabled: l,
1138
+ disabled: n,
1131
1139
  display: Y,
1132
- font: L,
1133
- fontSize: A,
1134
- fontWeight: j,
1140
+ font: D,
1141
+ fontSize: O,
1142
+ fontWeight: P,
1135
1143
  text: r,
1136
- textColor: W,
1137
- paddingX: R,
1144
+ textColor: z,
1145
+ paddingX: W,
1138
1146
  paddingY: u,
1139
1147
  borderRadius: I,
1140
1148
  textColorHover: E,
1141
1149
  buttonColor: J,
1142
1150
  buttonColorHover: K
1143
1151
  };
1144
- }), $ = t(() => _.value.disabled), w = t(() => {
1145
- const r = _.value;
1152
+ }), $ = t(() => S.value.disabled), h = t(() => {
1153
+ const r = S.value;
1146
1154
  return {
1147
1155
  display: r.display,
1148
1156
  borderRadius: `${r.borderRadius}rem`
1149
1157
  };
1150
- }), h = t(() => {
1151
- const r = _.value;
1158
+ }), _ = t(() => {
1159
+ const r = S.value;
1152
1160
  return {
1153
1161
  color: r.textColor,
1154
1162
  padding: `${r.paddingY}rem ${r.paddingX}rem`,
@@ -1156,22 +1164,22 @@ const We = ["id"], Re = /* @__PURE__ */ Object.assign({
1156
1164
  fontSize: r.fontSize,
1157
1165
  fontWeight: r.fontWeight
1158
1166
  };
1159
- }), b = t(() => _.value.font), i = t(() => _.value.textColor), f = t(() => _.value.textColorHover), a = t(() => _.value.buttonColor), o = t(() => _.value.buttonColorHover), k = () => {
1167
+ }), f = t(() => S.value.font), i = t(() => S.value.textColor), k = t(() => S.value.textColorHover), a = t(() => S.value.buttonColor), o = t(() => S.value.buttonColorHover), H = () => {
1160
1168
  d("clicked");
1161
1169
  };
1162
- return (r, l) => (D(), O("div", {
1170
+ return (r, n) => (T(), L("div", {
1163
1171
  class: X(["nb-wrapper", $.value]),
1164
- style: H([w.value]),
1165
- onClick: k
1172
+ style: B([h.value]),
1173
+ onClick: H
1166
1174
  }, [
1167
- z("div", {
1175
+ R("div", {
1168
1176
  id: e.nbId,
1169
1177
  class: "nb-reset component component-transition",
1170
- style: H([h.value])
1171
- }, Q(_.value.text), 13, We)
1178
+ style: B([_.value])
1179
+ }, Q(S.value.text), 13, ze)
1172
1180
  ], 6));
1173
1181
  }
1174
- }), Ie = /* @__PURE__ */ M(Re, [["__scopeId", "data-v-14a4a2ac"]]);
1182
+ }), Ie = /* @__PURE__ */ j(We, [["__scopeId", "data-v-14a4a2ac"]]);
1175
1183
  const De = ["id"], Oe = { class: "first-child" }, Te = { class: "last-child" }, Le = /* @__PURE__ */ Object.assign({
1176
1184
  name: "NbButtonAlternateText",
1177
1185
  inheritAttrs: !1
@@ -1256,41 +1264,41 @@ const De = ["id"], Oe = { class: "first-child" }, Te = { class: "last-child" },
1256
1264
  },
1257
1265
  emits: ["clicked"],
1258
1266
  setup(e, { emit: d }) {
1259
- const B = e;
1260
- P((l) => ({
1261
- "17a23bbc": f.value,
1267
+ const N = e;
1268
+ F((n) => ({
1269
+ "17a23bbc": k.value,
1262
1270
  "2cc4da9c": a.value,
1263
1271
  aa259cd0: o.value,
1264
- f0e00666: k.value
1272
+ f0e00666: H.value
1265
1273
  }));
1266
1274
  const {
1267
1275
  display: C,
1268
- buttonColor: y,
1276
+ buttonColor: b,
1269
1277
  borderColor: x,
1270
- buttonHoverColor: g,
1271
- showBorder: m,
1272
- borderRadius: p,
1278
+ buttonHoverColor: p,
1279
+ showBorder: y,
1280
+ borderRadius: v,
1273
1281
  textColor: V,
1274
- textHoverColor: S,
1275
- width: N,
1282
+ textHoverColor: g,
1283
+ width: w,
1276
1284
  paddingX: s,
1277
- paddingY: v,
1278
- disabled: c,
1279
- fontFamily: n,
1280
- fontSize: _,
1285
+ paddingY: c,
1286
+ disabled: m,
1287
+ fontFamily: l,
1288
+ fontSize: S,
1281
1289
  fontWeight: $
1282
- } = F(B), w = t(() => {
1283
- const l = c.value ? "component-disabled" : "", Y = C.value !== "b" ? "inline-block" : "block", W = y.value ? y.value : "#ffffff", R = g.value ? g.value : "#000000", u = x.value ? x.value : "#ffe54c", I = !p.value || p.value < 0 ? 0 : p.value, L = [!1, !0].includes(m.value) ? m.value : !0, A = V.value ? V.value : "#ffffff", j = S.value ? S.value : "#000000", E = !N.value || N.value < 86 ? 86 : N.value, J = !s.value || s.value < 0 ? 1 : s.value, K = !v.value || v.value < 0 ? 0.4 : v.value, U = n.value ? n.value : "'Lato', sans-serif", Z = _.value ? _.value : "1.6em", ee = !$.value || $.value < 0 ? 200 : $.value;
1290
+ } = M(N), h = t(() => {
1291
+ const n = m.value ? "component-disabled" : "", Y = C.value !== "b" ? "inline-block" : "block", z = b.value ? b.value : "#ffffff", W = p.value ? p.value : "#000000", u = x.value ? x.value : "#ffe54c", I = !v.value || v.value < 0 ? 0 : v.value, D = [!1, !0].includes(y.value) ? y.value : !0, O = V.value ? V.value : "#ffffff", P = g.value ? g.value : "#000000", E = !w.value || w.value < 86 ? 86 : w.value, J = !s.value || s.value < 0 ? 1 : s.value, K = !c.value || c.value < 0 ? 0.4 : c.value, U = l.value ? l.value : "'Lato', sans-serif", Z = S.value ? S.value : "1.6em", ee = !$.value || $.value < 0 ? 200 : $.value;
1284
1292
  return {
1285
- disabled: l,
1293
+ disabled: n,
1286
1294
  display: Y,
1287
- buttonColor: W,
1288
- buttonHoverColor: R,
1295
+ buttonColor: z,
1296
+ buttonHoverColor: W,
1289
1297
  borderColor: u,
1290
- showBorder: L,
1298
+ showBorder: D,
1291
1299
  borderRadius: I,
1292
- textColor: A,
1293
- textHoverColor: j,
1300
+ textColor: O,
1301
+ textHoverColor: P,
1294
1302
  width: E,
1295
1303
  paddingX: J,
1296
1304
  paddingY: K,
@@ -1298,64 +1306,64 @@ const De = ["id"], Oe = { class: "first-child" }, Te = { class: "last-child" },
1298
1306
  fontSize: Z,
1299
1307
  fontWeight: ee
1300
1308
  };
1301
- }), h = t(() => w.value.disabled), b = t(() => ({
1302
- display: w.value.display
1309
+ }), _ = t(() => h.value.disabled), f = t(() => ({
1310
+ display: h.value.display
1303
1311
  })), i = t(() => {
1304
- const l = w.value, Y = l.display === "block" ? "auto" : `${l.width}px`;
1312
+ const n = h.value, Y = n.display === "block" ? "auto" : `${n.width}px`;
1305
1313
  return {
1306
- ...l.showBorder ? { border: `1px solid ${l.borderColor}` } : {},
1307
- borderRadius: `${l.borderRadius}rem`,
1308
- background: l.buttonColor,
1314
+ ...n.showBorder ? { border: `1px solid ${n.borderColor}` } : {},
1315
+ borderRadius: `${n.borderRadius}rem`,
1316
+ background: n.buttonColor,
1309
1317
  minWidth: "33px",
1310
1318
  width: Y,
1311
- padding: `${l.paddingY}rem ${l.paddingX}rem`,
1319
+ padding: `${n.paddingY}rem ${n.paddingX}rem`,
1312
1320
  lineHeight: "1.42857143",
1313
- fontSize: l.fontSize,
1314
- fontWeight: l.fontWeight
1321
+ fontSize: n.fontSize,
1322
+ fontWeight: n.fontWeight
1315
1323
  };
1316
- }), f = t(() => w.value.font), a = t(() => w.value.textColor), o = t(() => w.value.textHoverColor), k = t(() => w.value.buttonHoverColor), r = () => {
1324
+ }), k = t(() => h.value.font), a = t(() => h.value.textColor), o = t(() => h.value.textHoverColor), H = t(() => h.value.buttonHoverColor), r = () => {
1317
1325
  d("clicked");
1318
1326
  };
1319
- return (l, Y) => e.nbId ? (D(), O("div", {
1327
+ return (n, Y) => e.nbId ? (T(), L("div", {
1320
1328
  key: 0,
1321
- class: X(["nb-wrapper", h.value]),
1322
- style: H([b.value]),
1329
+ class: X(["nb-wrapper", _.value]),
1330
+ style: B([f.value]),
1323
1331
  onClick: r
1324
1332
  }, [
1325
- z("div", {
1333
+ R("div", {
1326
1334
  id: e.nbId,
1327
1335
  class: X(["nb-reset", "component"]),
1328
- style: H([i.value])
1336
+ style: B([i.value])
1329
1337
  }, [
1330
- z("div", Oe, [
1331
- q(l.$slots, "content", {}, () => [
1338
+ R("div", Oe, [
1339
+ q(n.$slots, "content", {}, () => [
1332
1340
  G("Default Text")
1333
1341
  ], !0)
1334
1342
  ]),
1335
- z("div", Te, [
1336
- q(l.$slots, "content-alternate", {}, () => [
1343
+ R("div", Te, [
1344
+ q(n.$slots, "content-alternate", {}, () => [
1337
1345
  G("Default Alternate Text")
1338
1346
  ], !0)
1339
1347
  ])
1340
1348
  ], 12, De)
1341
- ], 6)) : T("", !0);
1349
+ ], 6)) : A("", !0);
1342
1350
  }
1343
- }), Ae = /* @__PURE__ */ M(Le, [["__scopeId", "data-v-e0ed856f"]]), te = {
1351
+ }), Ae = /* @__PURE__ */ j(Le, [["__scopeId", "data-v-e0ed856f"]]), te = {
1344
1352
  NbButtonVavaGame: pe,
1345
1353
  NbButtonShowHover: me,
1346
1354
  NbButtonPrevNext: xe,
1347
1355
  NbButtonMechanical: he,
1348
1356
  NbButtonMechanical2: Be,
1349
1357
  NbButtonHamburger: ke,
1350
- NbButtonColorOutside: ze,
1358
+ NbButtonColorOutside: Re,
1351
1359
  NbButtonColorHover: Ie,
1352
1360
  NbButtonAlternateText: Ae
1353
1361
  }, Fe = {
1354
1362
  install(e) {
1355
1363
  for (const d in te)
1356
1364
  if (Object.prototype.hasOwnProperty.call(te, d)) {
1357
- const B = te[d];
1358
- e.component(B.name, B);
1365
+ const N = te[d];
1366
+ e.component(N.name, N);
1359
1367
  }
1360
1368
  }
1361
1369
  };