@vlalg-nimbus/nb-buttons 3.1.0 → 4.0.0

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,10 +1,10 @@
1
- import { useCssVars as F, toRefs as M, computed as t, openBlock as O, createElementBlock as L, normalizeClass as Y, normalizeStyle as N, createElementVNode as $, renderSlot as A, createTextVNode as P, createCommentVNode as T, unref as ae, withModifiers as se, onMounted as oe, ref as ie, watch as ce, toDisplayString as fe } from "vue";
2
- const j = (e, s) => {
3
- const w = e.__vccOpts || e;
4
- for (const [k, x] of s)
5
- w[k] = x;
6
- return w;
7
- }, be = ["tabIndex"], ve = ["id"], pe = { class: "component-content__text" }, ye = /* @__PURE__ */ Object.assign({
1
+ import { useCssVars as U, toRefs as J, computed as t, openBlock as _, createElementBlock as P, normalizeClass as E, normalizeStyle as Y, unref as I, withKeys as L, withModifiers as j, createElementVNode as D, renderSlot as M, createTextVNode as G, createCommentVNode as K, onMounted as ie, ref as ve, watch as pe, toDisplayString as ye } from "vue";
2
+ const Q = (e, c) => {
3
+ const X = e.__vccOpts || e;
4
+ for (const [R, W] of c)
5
+ X[R] = W;
6
+ return X;
7
+ }, ge = ["tabIndex", "aria-label", "aria-disabled"], me = ["id"], Ve = { class: "component-content__text" }, xe = /* @__PURE__ */ Object.assign({
8
8
  name: "NbButtonVavaGame",
9
9
  inheritAttrs: !1
10
10
  }, {
@@ -18,14 +18,26 @@ const j = (e, s) => {
18
18
  type: String,
19
19
  default: "ib",
20
20
  validator: (e = "") => {
21
- const s = e.toLowerCase();
22
- return ["b", "ib"].includes(s);
21
+ const c = e.toLowerCase();
22
+ return ["b", "ib"].includes(c);
23
23
  }
24
24
  },
25
25
  tabIndex: {
26
26
  type: Number,
27
27
  default: 0
28
28
  },
29
+ hasTabIndexEnter: {
30
+ type: Boolean,
31
+ default: !0
32
+ },
33
+ hasTabIndexSpace: {
34
+ type: Boolean,
35
+ default: !0
36
+ },
37
+ ariaLabel: {
38
+ type: String,
39
+ default: "Alternate Text Button"
40
+ },
29
41
  textColor: {
30
42
  type: String,
31
43
  default: "#ece8e1"
@@ -96,103 +108,110 @@ const j = (e, s) => {
96
108
  }
97
109
  },
98
110
  emits: ["clicked"],
99
- setup(e, { emit: s }) {
100
- F((p) => ({
101
- "546fa782": n.value,
102
- "09c37ef8": H.value,
103
- "4617f524": X.value,
104
- "6926a24e": W.value,
105
- "1edb7201": d.value
111
+ setup(e, { emit: c }) {
112
+ U((i) => ({
113
+ "3b94cba3": l.value,
114
+ "6146add9": b.value,
115
+ "2753eae3": z.value,
116
+ "4edfa97a": s.value,
117
+ dd0b6f3c: f.value
106
118
  }));
107
- const w = s, k = e, {
108
- display: x,
109
- textColor: m,
110
- textColorHover: C,
111
- buttonColor: y,
112
- buttonColorHover: g,
113
- uppercase: S,
114
- paddingXContent: i,
115
- paddingYContent: h,
116
- paddingXBorder: _,
117
- paddingYBorder: b,
118
- borderColor: c,
119
+ const X = c, R = e, {
120
+ display: W,
121
+ textColor: T,
122
+ textColorHover: $,
123
+ buttonColor: N,
124
+ buttonColorHover: m,
125
+ uppercase: y,
126
+ paddingXContent: C,
127
+ paddingYContent: S,
128
+ paddingXBorder: h,
129
+ paddingYBorder: g,
130
+ borderColor: V,
119
131
  borderOpacity: u,
120
- disabled: v,
121
- fontFamily: z,
122
- fontSize: I,
123
- fontWeight: f
124
- } = M(k), V = t(() => {
125
- const p = v.value ? "component-disabled" : "", D = x.value !== "b" ? "inline-block" : "block", q = m.value ? m.value : "#ece8e1", G = y.value ? y.value : "green", E = C.value ? C.value : "#ece8e1", J = g.value ? g.value : "cyan", K = c.value ? c.value : "#ffffff", Q = !u.value || !(u.value >= 0 && u.value <= 1) ? "0.5" : u.value, U = !_.value || _.value < 0 ? 0.3 : _.value, Z = !b.value || b.value < 0 ? 0.3 : b.value, ee = !i.value || i.value < 0 ? 0.5 : i.value, le = !h.value || h.value < 0 ? 0.5 : h.value, ne = S.value ? "uppercase" : "none", ue = z.value ? z.value : "'Lato', sans-serif", re = I.value ? I.value : "1.6em", de = !f.value || f.value < 0 ? 100 : f.value;
132
+ disabled: x,
133
+ fontFamily: k,
134
+ fontSize: H,
135
+ fontWeight: r
136
+ } = J(R), B = t(() => {
137
+ const i = x.value ? "component-disabled" : "", p = W.value !== "b" ? "inline-block" : "block", A = T.value ? T.value : "#ece8e1", O = N.value ? N.value : "green", F = $.value ? $.value : "#ece8e1", q = m.value ? m.value : "cyan", Z = V.value ? V.value : "#ffffff", ee = !u.value || !(u.value >= 0 && u.value <= 1) ? "0.5" : u.value, te = !h.value || h.value < 0 ? 0.3 : h.value, ae = !g.value || g.value < 0 ? 0.3 : g.value, oe = !C.value || C.value < 0 ? 0.5 : C.value, le = !S.value || S.value < 0 ? 0.5 : S.value, ne = y.value ? "uppercase" : "none", ue = k.value ? k.value : "'Lato', sans-serif", re = H.value ? H.value : "1.6em", de = !r.value || r.value < 0 ? 100 : r.value;
126
138
  return {
127
- disabled: p,
128
- display: D,
129
- textColor: q,
130
- buttonColor: G,
131
- textColorHover: E,
132
- buttonColorHover: J,
133
- borderColor: K,
134
- borderOpacity: Q,
135
- paddingXBorder: U,
136
- paddingYBorder: Z,
137
- paddingXContent: ee,
139
+ disabled: i,
140
+ display: p,
141
+ textColor: A,
142
+ buttonColor: O,
143
+ textColorHover: F,
144
+ buttonColorHover: q,
145
+ borderColor: Z,
146
+ borderOpacity: ee,
147
+ paddingXBorder: te,
148
+ paddingYBorder: ae,
149
+ paddingXContent: oe,
138
150
  paddingYContent: le,
139
151
  uppercase: ne,
140
152
  font: ue,
141
153
  fontSize: re,
142
154
  fontWeight: de
143
155
  };
144
- }), o = t(() => V.value.disabled), B = t(() => ({
145
- display: V.value.display
146
- })), r = t(() => {
147
- const p = V.value;
156
+ }), d = t(() => B.value.disabled), w = t(() => ({
157
+ display: B.value.display
158
+ })), v = t(() => {
159
+ const i = B.value;
148
160
  return {
149
- padding: `${p.paddingYBorder}rem ${p.paddingXBorder}rem`,
150
- fontSize: p.fontSize,
151
- fontWeight: p.fontWeight
161
+ padding: `${i.paddingYBorder}rem ${i.paddingXBorder}rem`,
162
+ fontSize: i.fontSize,
163
+ fontWeight: i.fontWeight
152
164
  };
153
- }), l = t(() => {
154
- const p = V.value;
165
+ }), n = t(() => {
166
+ const i = B.value;
155
167
  return {
156
- textTransform: p.uppercase,
157
- padding: `${p.paddingYContent}rem ${p.paddingXContent}rem`,
158
- backgroundColor: p.buttonColor
168
+ textTransform: i.uppercase,
169
+ padding: `${i.paddingYContent}rem ${i.paddingXContent}rem`,
170
+ backgroundColor: i.buttonColor
159
171
  };
160
172
  }), a = t(() => ({
161
- backgroundColor: V.value.buttonColorHover
162
- })), n = t(() => V.value.font), W = t(() => V.value.borderColor), d = t(() => V.value.borderOpacity), H = t(() => V.value.textColor), X = t(() => V.value.textColorHover), R = () => {
163
- w("clicked");
173
+ backgroundColor: B.value.buttonColorHover
174
+ })), l = t(() => B.value.font), s = t(() => B.value.borderColor), f = t(() => B.value.borderOpacity), b = t(() => B.value.textColor), z = t(() => B.value.textColorHover), o = () => {
175
+ X("clicked");
164
176
  };
165
- return (p, D) => e.nbId ? (O(), L("div", {
177
+ return (i, p) => e.nbId ? (_(), P("div", {
166
178
  key: 0,
167
- class: Y(["nb-wrapper", o.value]),
168
- style: N([B.value]),
179
+ class: E(["nb-wrapper", d.value]),
180
+ style: Y([w.value]),
169
181
  tabIndex: e.tabIndex,
170
- onClick: R
182
+ role: "button",
183
+ "aria-label": e.ariaLabel,
184
+ "aria-disabled": I(x),
185
+ onClick: o,
186
+ onKeydown: [
187
+ p[0] || (p[0] = L((A) => !I(x) && e.hasTabIndexEnter && o(), ["enter"])),
188
+ p[1] || (p[1] = L(j((A) => !I(x) && e.hasTabIndexSpace && o(), ["prevent"]), ["space"]))
189
+ ]
171
190
  }, [
172
- $("div", {
191
+ D("div", {
173
192
  id: e.nbId,
174
- class: Y(["nb-reset", "component"]),
175
- style: N([r.value])
193
+ class: E(["nb-reset", "component"]),
194
+ style: Y([v.value])
176
195
  }, [
177
- $("div", {
196
+ D("div", {
178
197
  class: "component-content",
179
- style: N([l.value])
198
+ style: Y([n.value])
180
199
  }, [
181
- $("span", pe, [
182
- A(p.$slots, "content", {}, () => [
183
- D[0] || (D[0] = P("Default Text"))
200
+ D("span", Ve, [
201
+ M(i.$slots, "content", {}, () => [
202
+ p[2] || (p[2] = G("Default Text"))
184
203
  ], !0)
185
204
  ]),
186
- $("span", {
205
+ D("span", {
187
206
  class: "component-content__mask",
188
- style: N([a.value])
207
+ style: Y([a.value])
189
208
  }, null, 4)
190
209
  ], 4)
191
- ], 12, ve)
192
- ], 14, be)) : T("", !0);
210
+ ], 12, me)
211
+ ], 46, ge)) : K("", !0);
193
212
  }
194
- }), ge = /* @__PURE__ */ j(ye, [["__scopeId", "data-v-4c5461c7"]]);
195
- const me = ["tabIndex"], Ve = ["id"], Ce = /* @__PURE__ */ Object.assign({
213
+ }), Ce = /* @__PURE__ */ Q(xe, [["__scopeId", "data-v-c8141ce9"]]);
214
+ const Se = ["tabIndex", "aria-label", "aria-disabled"], he = ["id"], Be = /* @__PURE__ */ Object.assign({
196
215
  name: "NbButtonShowHover",
197
216
  inheritAttrs: !1
198
217
  }, {
@@ -206,6 +225,18 @@ const me = ["tabIndex"], Ve = ["id"], Ce = /* @__PURE__ */ Object.assign({
206
225
  type: Number,
207
226
  default: 0
208
227
  },
228
+ hasTabIndexEnter: {
229
+ type: Boolean,
230
+ default: !0
231
+ },
232
+ hasTabIndexSpace: {
233
+ type: Boolean,
234
+ default: !0
235
+ },
236
+ ariaLabel: {
237
+ type: String,
238
+ default: "Alternate Text Button"
239
+ },
209
240
  textColor: {
210
241
  type: String,
211
242
  default: "#145deb"
@@ -262,83 +293,90 @@ const me = ["tabIndex"], Ve = ["id"], Ce = /* @__PURE__ */ Object.assign({
262
293
  }
263
294
  },
264
295
  emits: ["clicked"],
265
- setup(e, { emit: s }) {
266
- F((r) => ({
267
- f362db14: o.value,
268
- "7e7ab6b3": f.value,
269
- "4281574a": V.value,
270
- b6ef43e6: e.textColorHover,
271
- "492d686f": ae(x)
296
+ setup(e, { emit: c }) {
297
+ U((v) => ({
298
+ "630b5d13": d.value,
299
+ "6584a110": r.value,
300
+ "3cc5d20d": B.value,
301
+ e8db6f2c: e.textColorHover,
302
+ "7e70901c": I(W)
272
303
  }));
273
- const w = s, k = e, {
274
- textColor: x,
275
- buttonColorHover: m,
276
- buttonColorOpacityHover: C,
277
- paddingX: y,
278
- paddingY: g,
279
- disabled: S,
280
- borderRadius: i,
281
- verticalAlign: h,
282
- fontFamily: _,
283
- fontSize: b,
284
- fontWeight: c
285
- } = M(k), u = t(() => {
286
- const r = S.value ? "component-disabled" : "", l = h.value ? h.value : "middle", a = x ? x.value : "ffffff", n = !y.value || y.value < 0 ? 1 : y.value, W = !g.value || g.value < 0 ? 0.2 : g.value, d = !i.value || i.value < 0 ? 0 : i.value, H = m.value ? m.value : "10, 38, 184", X = !C.value || C.value < 0 ? 0.1 : C.value, R = _.value ? _.value : "'Lato', sans-serif", p = b.value ? b.value : "1.6rem", D = !c.value || c.value < 0 ? 100 : c.value;
304
+ const X = c, R = e, {
305
+ textColor: W,
306
+ buttonColorHover: T,
307
+ buttonColorOpacityHover: $,
308
+ paddingX: N,
309
+ paddingY: m,
310
+ disabled: y,
311
+ borderRadius: C,
312
+ verticalAlign: S,
313
+ fontFamily: h,
314
+ fontSize: g,
315
+ fontWeight: V
316
+ } = J(R), u = t(() => {
317
+ const v = y.value ? "component-disabled" : "", n = S.value ? S.value : "middle", a = W ? W.value : "ffffff", l = !N.value || N.value < 0 ? 1 : N.value, s = !m.value || m.value < 0 ? 0.2 : m.value, f = !C.value || C.value < 0 ? 0 : C.value, b = T.value ? T.value : "10, 38, 184", z = !$.value || $.value < 0 ? 0.1 : $.value, o = h.value ? h.value : "'Lato', sans-serif", i = g.value ? g.value : "1.6rem", p = !V.value || V.value < 0 ? 100 : V.value;
287
318
  return {
288
- disabled: r,
289
- borderRadius: d,
319
+ disabled: v,
320
+ borderRadius: f,
290
321
  textColor: a,
291
- paddingX: n,
292
- paddingY: W,
293
- buttonColorHover: H,
294
- buttonColorOpacityHover: X,
295
- font: R,
296
- fontSize: p,
297
- fontWeight: D,
298
- verticalAlign: l
322
+ paddingX: l,
323
+ paddingY: s,
324
+ buttonColorHover: b,
325
+ buttonColorOpacityHover: z,
326
+ font: o,
327
+ fontSize: i,
328
+ fontWeight: p,
329
+ verticalAlign: n
299
330
  };
300
- }), v = t(() => u.value.disabled), z = t(() => ({
331
+ }), x = t(() => u.value.disabled), k = t(() => ({
301
332
  verticalAlign: u.value.verticalAlign
302
- })), I = t(() => {
303
- const r = u.value;
333
+ })), H = t(() => {
334
+ const v = u.value;
304
335
  return {
305
- color: r.textColor,
306
- padding: `${r.paddingY}rem 0`,
307
- borderRadius: `${r.borderRadius}rem`,
308
- fontSize: r.fontSize,
309
- fontWeight: r.fontWeight
336
+ color: v.textColor,
337
+ padding: `${v.paddingY}rem 0`,
338
+ borderRadius: `${v.borderRadius}rem`,
339
+ fontSize: v.fontSize,
340
+ fontWeight: v.fontWeight
310
341
  };
311
- }), f = t(() => {
312
- const r = u.value;
313
- return `${r.paddingY}rem ${r.paddingX}rem`;
314
- }), V = t(() => {
315
- const r = u.value;
316
- return `rgba(${r.buttonColorHover}, ${r.buttonColorOpacityHover})`;
317
- }), o = t(() => u.value.font), B = () => {
318
- w("clicked");
342
+ }), r = t(() => {
343
+ const v = u.value;
344
+ return `${v.paddingY}rem ${v.paddingX}rem`;
345
+ }), B = t(() => {
346
+ const v = u.value;
347
+ return `rgba(${v.buttonColorHover}, ${v.buttonColorOpacityHover})`;
348
+ }), d = t(() => u.value.font), w = () => {
349
+ X("clicked");
319
350
  };
320
- return (r, l) => e.nbId ? (O(), L("div", {
351
+ return (v, n) => e.nbId ? (_(), P("div", {
321
352
  key: 0,
322
- class: Y(["nb-wrapper", v.value]),
323
- style: N([z.value]),
353
+ class: E(["nb-wrapper", x.value]),
354
+ style: Y([k.value]),
324
355
  tabIndex: e.tabIndex,
325
- onClick: B
356
+ role: "button",
357
+ "aria-label": e.ariaLabel,
358
+ "aria-disabled": I(y),
359
+ onClick: w,
360
+ onKeydown: [
361
+ n[1] || (n[1] = L((a) => !I(y) && e.hasTabIndexEnter && w(), ["enter"])),
362
+ n[2] || (n[2] = L(j((a) => !I(y) && e.hasTabIndexSpace && w(), ["prevent"]), ["space"]))
363
+ ]
326
364
  }, [
327
- $("a", {
365
+ D("a", {
328
366
  id: e.nbId,
329
367
  class: "nb-reset component tertiary",
330
- style: N([I.value]),
331
- onClick: l[0] || (l[0] = se(() => {
368
+ style: Y([H.value]),
369
+ onClick: n[0] || (n[0] = j(() => {
332
370
  }, ["prevent"]))
333
371
  }, [
334
- A(r.$slots, "content", {}, () => [
335
- l[1] || (l[1] = P("Default Text"))
372
+ M(v.$slots, "content", {}, () => [
373
+ n[3] || (n[3] = G("Default Text"))
336
374
  ], !0)
337
- ], 12, Ve)
338
- ], 14, me)) : T("", !0);
375
+ ], 12, he)
376
+ ], 46, Se)) : K("", !0);
339
377
  }
340
- }), xe = /* @__PURE__ */ j(Ce, [["__scopeId", "data-v-42182b51"]]);
341
- const Se = ["id"], _e = ["tabIndex"], he = ["tabIndex"], Ne = /* @__PURE__ */ Object.assign({
378
+ }), we = /* @__PURE__ */ Q(Be, [["__scopeId", "data-v-f844cd94"]]);
379
+ const Ie = ["id"], $e = ["tabIndex", "aria-label", "aria-disabled"], Ne = ["tabIndex", "aria-label", "aria-disabled"], He = /* @__PURE__ */ Object.assign({
342
380
  name: "NbButtonPrevNext",
343
381
  inheritAttrs: !1
344
382
  }, {
@@ -356,6 +394,22 @@ const Se = ["id"], _e = ["tabIndex"], he = ["tabIndex"], Ne = /* @__PURE__ */ Ob
356
394
  type: Number,
357
395
  default: 0
358
396
  },
397
+ hasTabIndexEnter: {
398
+ type: Boolean,
399
+ default: !0
400
+ },
401
+ hasTabIndexSpace: {
402
+ type: Boolean,
403
+ default: !0
404
+ },
405
+ ariaLabelPrev: {
406
+ type: String,
407
+ default: "Alternate Text Button"
408
+ },
409
+ ariaLabelNext: {
410
+ type: String,
411
+ default: "Alternate Text Button"
412
+ },
359
413
  colorPrimary: {
360
414
  type: String,
361
415
  default: "tomato"
@@ -433,100 +487,114 @@ const Se = ["id"], _e = ["tabIndex"], he = ["tabIndex"], Ne = /* @__PURE__ */ Ob
433
487
  }
434
488
  },
435
489
  emits: ["clicked"],
436
- setup(e, { emit: s }) {
437
- F((l) => ({
438
- "4b4228f2": B.value,
439
- "4c181857": e.colorPrimary,
440
- "0921dc04": e.textColor,
441
- "38f38aee": e.colorSecondary,
442
- ec255444: e.textColorHover
490
+ setup(e, { emit: c }) {
491
+ U((n) => ({
492
+ "16c88917": w.value,
493
+ "6e1325e7": e.colorPrimary,
494
+ "118d2324": e.textColor,
495
+ "72f42419": e.colorSecondary,
496
+ "195b3f6e": e.textColorHover
443
497
  }));
444
- const w = s, k = e, {
445
- paddingX: x,
446
- paddingY: m,
447
- marginBetween: C,
448
- borderRadius: y,
449
- disabled: g,
450
- disabledPreview: S,
451
- disabledNext: i,
452
- fontFamily: h,
453
- fontSize: _,
454
- fontWeight: b
455
- } = M(k), c = t(() => {
456
- const l = g.value ? "component-disabled" : "", a = S.value ? "component-disabled" : "", n = i.value ? "component-disabled" : "", W = !C.value || C.value < 0 ? 0 : C.value, d = !y.value || y.value < 0 ? 0 : y.value, H = !x.value || x.value < 0 ? 1 : x.value, X = !m.value || m.value < 0 ? 10 : m.value, R = _.value ? _.value : "1.6em", p = !b.value || b.value < 0 ? 100 : b.value;
498
+ const X = c, R = e, {
499
+ paddingX: W,
500
+ paddingY: T,
501
+ marginBetween: $,
502
+ borderRadius: N,
503
+ disabled: m,
504
+ disabledPreview: y,
505
+ disabledNext: C,
506
+ fontFamily: S,
507
+ fontSize: h,
508
+ fontWeight: g
509
+ } = J(R), V = t(() => {
510
+ const n = m.value ? "component-disabled" : "", a = y.value ? "component-disabled" : "", l = C.value ? "component-disabled" : "", s = !$.value || $.value < 0 ? 0 : $.value, f = !N.value || N.value < 0 ? 0 : N.value, b = !W.value || W.value < 0 ? 1 : W.value, z = !T.value || T.value < 0 ? 10 : T.value, o = h.value ? h.value : "1.6em", i = !g.value || g.value < 0 ? 100 : g.value;
457
511
  return {
458
- disabled: l,
512
+ disabled: n,
459
513
  disabledPreview: a,
460
- disabledNext: n,
461
- marginBetween: `${W}px`,
462
- borderRadius: `${d}px`,
463
- paddingX: `${H}px`,
464
- paddingY: `${X}px`,
465
- fontSize: R,
466
- fontWeight: p
514
+ disabledNext: l,
515
+ marginBetween: `${s}px`,
516
+ borderRadius: `${f}px`,
517
+ paddingX: `${b}px`,
518
+ paddingY: `${z}px`,
519
+ fontSize: o,
520
+ fontWeight: i
467
521
  };
468
- }), u = t(() => c.value.disabled), v = t(() => c.value.disabledPreview), z = t(() => c.value.disabledNext), I = t(() => ({
469
- display: c.value.display
470
- })), f = t(() => {
471
- const l = c.value;
522
+ }), u = t(() => V.value.disabled), x = t(() => V.value.disabledPreview), k = t(() => V.value.disabledNext), H = t(() => ({
523
+ display: V.value.display
524
+ })), r = t(() => {
525
+ const n = V.value;
472
526
  return {
473
- fontSize: l.fontSize,
474
- fontWeight: l.fontWeight
527
+ fontSize: n.fontSize,
528
+ fontWeight: n.fontWeight
475
529
  };
476
- }), V = t(() => {
477
- const l = c.value;
530
+ }), B = t(() => {
531
+ const n = V.value;
478
532
  return {
479
- borderRadius: `${l.borderRadius} 0px 0px ${l.borderRadius}`,
480
- marginRight: l.marginBetween,
481
- padding: `${l.paddingX} ${l.paddingY}`
533
+ borderRadius: `${n.borderRadius} 0px 0px ${n.borderRadius}`,
534
+ marginRight: n.marginBetween,
535
+ padding: `${n.paddingX} ${n.paddingY}`
482
536
  };
483
- }), o = t(() => {
484
- const l = c.value;
537
+ }), d = t(() => {
538
+ const n = V.value;
485
539
  return {
486
- borderRadius: `0px ${l.borderRadius} ${l.borderRadius} 0px`,
487
- marginLeft: l.marginBetween,
488
- padding: `${l.paddingX} ${l.paddingY}`
540
+ borderRadius: `0px ${n.borderRadius} ${n.borderRadius} 0px`,
541
+ marginLeft: n.marginBetween,
542
+ padding: `${n.paddingX} ${n.paddingY}`
489
543
  };
490
- }), B = t(() => `'${h.value ? h.value : "'Lato', sans-serif"}'`), r = (l) => {
491
- w("clicked", l);
544
+ }), w = t(() => `'${S.value ? S.value : "'Lato', sans-serif"}'`), v = (n) => {
545
+ X("clicked", n);
492
546
  };
493
- return (l, a) => e.nbId ? (O(), L("div", {
547
+ return (n, a) => e.nbId ? (_(), P("div", {
494
548
  key: 0,
495
- class: Y(["nb-wrapper", u.value]),
496
- style: N([I.value])
549
+ class: E(["nb-wrapper", u.value]),
550
+ style: Y([H.value])
497
551
  }, [
498
- $("div", {
552
+ D("div", {
499
553
  id: e.nbId,
500
- class: Y(["nb-reset", "component"]),
501
- style: N(f.value)
554
+ class: E(["nb-reset", "component"]),
555
+ style: Y(r.value)
502
556
  }, [
503
- e.showPreview ? (O(), L("div", {
557
+ e.showPreview ? (_(), P("div", {
504
558
  key: 0,
505
- class: Y(["buttonNextPreview buttonPreview", v.value]),
506
- style: N(V.value),
559
+ class: E(["buttonNextPreview buttonPreview", x.value]),
560
+ style: Y(B.value),
507
561
  tabIndex: e.tabIndexPrev,
508
- onClick: a[0] || (a[0] = (n) => r("preview"))
562
+ role: "button",
563
+ "aria-label": e.ariaLabelPrev,
564
+ "aria-disabled": I(m),
565
+ onClick: a[0] || (a[0] = (l) => v("preview")),
566
+ onKeydown: [
567
+ a[1] || (a[1] = L((l) => !I(m) && e.hasTabIndexEnter && v("preview"), ["enter"])),
568
+ a[2] || (a[2] = L(j((l) => !I(m) && e.hasTabIndexSpace && v("preview"), ["prevent"]), ["space"]))
569
+ ]
509
570
  }, [
510
- A(l.$slots, "prev", {}, () => [
511
- a[2] || (a[2] = P("← Preview"))
571
+ M(n.$slots, "prev", {}, () => [
572
+ a[6] || (a[6] = G("← Preview"))
512
573
  ], !0)
513
- ], 14, _e)) : T("", !0),
514
- e.showNext ? (O(), L("div", {
574
+ ], 46, $e)) : K("", !0),
575
+ e.showNext ? (_(), P("div", {
515
576
  key: 1,
516
- class: Y(["buttonNextPreview buttonNext", z.value]),
517
- style: N(o.value),
577
+ class: E(["buttonNextPreview buttonNext", k.value]),
578
+ style: Y(d.value),
518
579
  tabIndex: e.tabIndexNext,
519
- onClick: a[1] || (a[1] = (n) => r("next"))
580
+ role: "button",
581
+ "aria-label": e.ariaLabelNext,
582
+ "aria-disabled": I(m),
583
+ onClick: a[3] || (a[3] = (l) => v("next")),
584
+ onKeydown: [
585
+ a[4] || (a[4] = L((l) => !I(m) && e.hasTabIndexEnter && v("next"), ["enter"])),
586
+ a[5] || (a[5] = L(j((l) => !I(m) && e.hasTabIndexSpace && v("next"), ["prevent"]), ["space"]))
587
+ ]
520
588
  }, [
521
- A(l.$slots, "next", {}, () => [
522
- a[3] || (a[3] = P("Next →"))
589
+ M(n.$slots, "next", {}, () => [
590
+ a[7] || (a[7] = G("Next →"))
523
591
  ], !0)
524
- ], 14, he)) : T("", !0)
525
- ], 12, Se)
526
- ], 6)) : T("", !0);
592
+ ], 46, Ne)) : K("", !0)
593
+ ], 12, Ie)
594
+ ], 6)) : K("", !0);
527
595
  }
528
- }), we = /* @__PURE__ */ j(Ne, [["__scopeId", "data-v-c022e18a"]]);
529
- const Be = ["tabIndex"], $e = ["id"], Ie = /* @__PURE__ */ Object.assign({
596
+ }), Te = /* @__PURE__ */ Q(He, [["__scopeId", "data-v-235db30a"]]);
597
+ const ke = ["tabIndex", "aria-label", "aria-disabled"], We = ["id"], ze = /* @__PURE__ */ Object.assign({
530
598
  name: "NbButtonMechanical",
531
599
  inheritAttrs: !1
532
600
  }, {
@@ -540,14 +608,26 @@ const Be = ["tabIndex"], $e = ["id"], Ie = /* @__PURE__ */ Object.assign({
540
608
  type: String,
541
609
  default: "b",
542
610
  validator: (e = "b") => {
543
- const s = e ? e.toLowerCase() : "";
544
- return ["b", "ib"].includes(s);
611
+ const c = e ? e.toLowerCase() : "";
612
+ return ["b", "ib"].includes(c);
545
613
  }
546
614
  },
547
615
  tabIndex: {
548
616
  type: Number,
549
617
  default: 0
550
618
  },
619
+ hasTabIndexEnter: {
620
+ type: Boolean,
621
+ default: !0
622
+ },
623
+ hasTabIndexSpace: {
624
+ type: Boolean,
625
+ default: !0
626
+ },
627
+ ariaLabel: {
628
+ type: String,
629
+ default: "Alternate Text Button"
630
+ },
551
631
  textColor: {
552
632
  type: String,
553
633
  default: "#ffffff"
@@ -599,46 +679,46 @@ const Be = ["tabIndex"], $e = ["id"], Ie = /* @__PURE__ */ Object.assign({
599
679
  }
600
680
  },
601
681
  emits: ["clicked"],
602
- setup(e, { emit: s }) {
603
- F((a) => ({
604
- c1c6e3f2: o.value,
605
- "92c532ce": ae(m),
606
- fefb92d0: r.value,
607
- "7e4c7986": B.value
682
+ setup(e, { emit: c }) {
683
+ U((a) => ({
684
+ "75e08b28": d.value,
685
+ "38d76e94": I(T),
686
+ "1e761906": v.value,
687
+ 60007562: w.value
608
688
  }));
609
- const w = s, k = e, {
610
- display: x,
611
- buttonColor: m,
612
- textColor: C,
613
- containerColor: y,
614
- paddingX: g,
615
- paddingY: S,
616
- borderRadius: i,
617
- disabled: h,
618
- animationSlow: _,
619
- fontFamily: b,
620
- fontSize: c,
689
+ const X = c, R = e, {
690
+ display: W,
691
+ buttonColor: T,
692
+ textColor: $,
693
+ containerColor: N,
694
+ paddingX: m,
695
+ paddingY: y,
696
+ borderRadius: C,
697
+ disabled: S,
698
+ animationSlow: h,
699
+ fontFamily: g,
700
+ fontSize: V,
621
701
  fontWeight: u
622
- } = M(k), v = t(() => {
623
- const a = h.value ? "component-disabled" : "", n = x.value !== "b" ? "inline-block" : "block", W = y.value ? y.value : "#ffffff", d = m.value ? m.value : "#bbbbbb", H = C.value ? C.value : "#ffffff", X = !g.value || g.value < 0 ? 1 : g.value, R = !S.value || S.value < 0 ? 0.2 : S.value, p = !i.value || i.value < 0 ? 0 : i.value, D = _.value ? "" : "component-transition__no-slow", q = b.value ? b.value : "'Lato', sans-serif", G = c.value ? c.value : "1.6em", E = !u.value || u.value < 0 ? 100 : u.value;
702
+ } = J(R), x = t(() => {
703
+ const a = S.value ? "component-disabled" : "", l = W.value !== "b" ? "inline-block" : "block", s = N.value ? N.value : "#ffffff", f = T.value ? T.value : "#bbbbbb", b = $.value ? $.value : "#ffffff", z = !m.value || m.value < 0 ? 1 : m.value, o = !y.value || y.value < 0 ? 0.2 : y.value, i = !C.value || C.value < 0 ? 0 : C.value, p = h.value ? "" : "component-transition__no-slow", A = g.value ? g.value : "'Lato', sans-serif", O = V.value ? V.value : "1.6em", F = !u.value || u.value < 0 ? 100 : u.value;
624
704
  return {
625
705
  disabled: a,
626
- display: n,
627
- containerColor: W,
628
- buttonColor: d,
629
- textColor: H,
630
- paddingX: X,
631
- paddingY: R,
632
- borderRadius: p,
633
- animationSlow: D,
634
- font: q,
635
- fontSize: G,
636
- fontWeight: E
706
+ display: l,
707
+ containerColor: s,
708
+ buttonColor: f,
709
+ textColor: b,
710
+ paddingX: z,
711
+ paddingY: o,
712
+ borderRadius: i,
713
+ animationSlow: p,
714
+ font: A,
715
+ fontSize: O,
716
+ fontWeight: F
637
717
  };
638
- }), z = t(() => v.value.disabled), I = t(() => ({
639
- display: v.value.display
640
- })), f = t(() => {
641
- const a = v.value;
718
+ }), k = t(() => x.value.disabled), H = t(() => ({
719
+ display: x.value.display
720
+ })), r = t(() => {
721
+ const a = x.value;
642
722
  return {
643
723
  border: `2px solid ${a.containerColor}`,
644
724
  color: a.textColor,
@@ -648,29 +728,36 @@ const Be = ["tabIndex"], $e = ["id"], Ie = /* @__PURE__ */ Object.assign({
648
728
  fontSize: a.fontSize,
649
729
  fontWeight: a.fontWeight
650
730
  };
651
- }), V = t(() => v.value.animationSlow), o = t(() => v.value.font), B = t(() => v.value.textColor), r = t(() => v.value.buttonColor), l = () => {
652
- w("clicked");
731
+ }), B = t(() => x.value.animationSlow), d = t(() => x.value.font), w = t(() => x.value.textColor), v = t(() => x.value.buttonColor), n = () => {
732
+ X("clicked");
653
733
  };
654
- return (a, n) => e.nbId ? (O(), L("div", {
734
+ return (a, l) => e.nbId ? (_(), P("div", {
655
735
  key: 0,
656
- class: Y(["nb-wrapper", z.value]),
657
- style: N([I.value]),
736
+ class: E(["nb-wrapper", k.value]),
737
+ style: Y([H.value]),
658
738
  tabIndex: e.tabIndex,
659
- onClick: l
739
+ role: "button",
740
+ "aria-label": e.ariaLabel,
741
+ "aria-disabled": I(S),
742
+ onClick: n,
743
+ onKeydown: [
744
+ l[0] || (l[0] = L((s) => !I(S) && e.hasTabIndexEnter && n(), ["enter"])),
745
+ l[1] || (l[1] = L(j((s) => !I(S) && e.hasTabIndexSpace && n(), ["prevent"]), ["space"]))
746
+ ]
660
747
  }, [
661
- $("div", {
748
+ D("div", {
662
749
  id: e.nbId,
663
- class: Y(["nb-reset", "component", "component-transition", V.value]),
664
- style: N([f.value])
750
+ class: E(["nb-reset", "component", "component-transition", B.value]),
751
+ style: Y([r.value])
665
752
  }, [
666
- A(a.$slots, "content", {}, () => [
667
- n[0] || (n[0] = P("Default Text"))
753
+ M(a.$slots, "content", {}, () => [
754
+ l[2] || (l[2] = G("Default Text"))
668
755
  ], !0)
669
- ], 14, $e)
670
- ], 14, Be)) : T("", !0);
756
+ ], 14, We)
757
+ ], 46, ke)) : K("", !0);
671
758
  }
672
- }), He = /* @__PURE__ */ j(Ie, [["__scopeId", "data-v-be829b62"]]);
673
- const ke = ["tabIndex"], ze = ["id"], We = /* @__PURE__ */ Object.assign({
759
+ }), Ye = /* @__PURE__ */ Q(ze, [["__scopeId", "data-v-cd185961"]]);
760
+ const Xe = ["tabIndex", "aria-label", "aria-disabled"], Le = ["id"], Re = /* @__PURE__ */ Object.assign({
674
761
  name: "NbButtonMechanical2",
675
762
  inheritAttrs: !1
676
763
  }, {
@@ -684,14 +771,26 @@ const ke = ["tabIndex"], ze = ["id"], We = /* @__PURE__ */ Object.assign({
684
771
  type: String,
685
772
  default: "b",
686
773
  validator: (e = "b") => {
687
- const s = e ? e.toLowerCase() : "";
688
- return ["b", "ib"].includes(s);
774
+ const c = e ? e.toLowerCase() : "";
775
+ return ["b", "ib"].includes(c);
689
776
  }
690
777
  },
691
778
  tabIndex: {
692
779
  type: Number,
693
780
  default: 0
694
781
  },
782
+ hasTabIndexEnter: {
783
+ type: Boolean,
784
+ default: !0
785
+ },
786
+ hasTabIndexSpace: {
787
+ type: Boolean,
788
+ default: !0
789
+ },
790
+ ariaLabel: {
791
+ type: String,
792
+ default: "Alternate Text Button"
793
+ },
695
794
  textColor: {
696
795
  type: String,
697
796
  default: "#ffffff"
@@ -739,74 +838,81 @@ const ke = ["tabIndex"], ze = ["id"], We = /* @__PURE__ */ Object.assign({
739
838
  }
740
839
  },
741
840
  emits: ["clicked"],
742
- setup(e, { emit: s }) {
743
- F((o) => ({
744
- edd2a4d6: f.value
841
+ setup(e, { emit: c }) {
842
+ U((d) => ({
843
+ "41c9f13c": r.value
745
844
  }));
746
- const w = s, k = e, {
747
- display: x,
748
- buttonColor: m,
749
- textColor: C,
750
- paddingX: y,
751
- paddingY: g,
752
- borderRadius: S,
753
- shadowColor: i,
754
- disabled: h,
755
- fontFamily: _,
756
- fontSize: b,
757
- fontWeight: c
758
- } = M(k), u = t(() => {
759
- const o = h.value ? "component-disabled" : "", B = x.value !== "b" ? "inline-block" : "block", r = m.value ? m.value : "#bbbbbb", l = i.value ? i.value : "#002f3c", a = C.value ? C.value : "#ffffff", n = !y.value || y.value < 0 ? 1 : y.value, W = !g.value || g.value < 0 ? 1 : g.value, d = !S.value || S.value < 0 ? 0 : S.value, H = _.value ? _.value : "'Lato', sans-serif", X = b.value ? b.value : "1.6em", R = !c.value || c.value < 0 ? 100 : c.value;
845
+ const X = c, R = e, {
846
+ display: W,
847
+ buttonColor: T,
848
+ textColor: $,
849
+ paddingX: N,
850
+ paddingY: m,
851
+ borderRadius: y,
852
+ shadowColor: C,
853
+ disabled: S,
854
+ fontFamily: h,
855
+ fontSize: g,
856
+ fontWeight: V
857
+ } = J(R), u = t(() => {
858
+ const d = S.value ? "component-disabled" : "", w = W.value !== "b" ? "inline-block" : "block", v = T.value ? T.value : "#bbbbbb", n = C.value ? C.value : "#002f3c", a = $.value ? $.value : "#ffffff", l = !N.value || N.value < 0 ? 1 : N.value, s = !m.value || m.value < 0 ? 1 : m.value, f = !y.value || y.value < 0 ? 0 : y.value, b = h.value ? h.value : "'Lato', sans-serif", z = g.value ? g.value : "1.6em", o = !V.value || V.value < 0 ? 100 : V.value;
760
859
  return {
761
- disabled: o,
762
- display: B,
763
- buttonColor: r,
764
- shadowColor: l,
860
+ disabled: d,
861
+ display: w,
862
+ buttonColor: v,
863
+ shadowColor: n,
765
864
  textColor: a,
766
- paddingX: n,
767
- paddingY: W,
768
- borderRadius: d,
769
- font: H,
770
- fontSize: X,
771
- fontWeight: R
865
+ paddingX: l,
866
+ paddingY: s,
867
+ borderRadius: f,
868
+ font: b,
869
+ fontSize: z,
870
+ fontWeight: o
772
871
  };
773
- }), v = t(() => u.value.disabled), z = t(() => ({
872
+ }), x = t(() => u.value.disabled), k = t(() => ({
774
873
  display: u.value.display
775
- })), I = t(() => {
776
- const o = u.value;
874
+ })), H = t(() => {
875
+ const d = u.value;
777
876
  return {
778
- color: o.textColor,
779
- backgroundColor: o.buttonColor,
780
- boxShadow: `0 0 #0000, 0 0 #0000, 3px 3px 0 ${o.shadowColor}`,
781
- padding: `${o.paddingY}rem ${o.paddingX}rem`,
782
- padding: `${o.paddingY}rem ${o.paddingX}rem`,
783
- borderRadius: `${o.borderRadius}rem`,
784
- fontSize: o.fontSize,
785
- fontWeight: o.fontWeight
877
+ color: d.textColor,
878
+ backgroundColor: d.buttonColor,
879
+ boxShadow: `0 0 #0000, 0 0 #0000, 3px 3px 0 ${d.shadowColor}`,
880
+ padding: `${d.paddingY}rem ${d.paddingX}rem`,
881
+ padding: `${d.paddingY}rem ${d.paddingX}rem`,
882
+ borderRadius: `${d.borderRadius}rem`,
883
+ fontSize: d.fontSize,
884
+ fontWeight: d.fontWeight
786
885
  };
787
- }), f = t(() => u.value.font), V = () => {
788
- w("clicked");
886
+ }), r = t(() => u.value.font), B = () => {
887
+ X("clicked");
789
888
  };
790
- return (o, B) => e.nbId ? (O(), L("div", {
889
+ return (d, w) => e.nbId ? (_(), P("div", {
791
890
  key: 0,
792
- class: Y(["nb-wrapper", v.value]),
793
- style: N([z.value]),
891
+ class: E(["nb-wrapper", x.value]),
892
+ style: Y([k.value]),
794
893
  tabIndex: e.tabIndex,
795
- onClick: V
894
+ role: "button",
895
+ "aria-label": e.ariaLabel,
896
+ "aria-disabled": I(S),
897
+ onClick: B,
898
+ onKeydown: [
899
+ w[0] || (w[0] = L((v) => !I(S) && e.hasTabIndexEnter && B(), ["enter"])),
900
+ w[1] || (w[1] = L(j((v) => !I(S) && e.hasTabIndexSpace && B(), ["prevent"]), ["space"]))
901
+ ]
796
902
  }, [
797
- $("div", {
903
+ D("div", {
798
904
  id: e.nbId,
799
- class: Y(["nb-reset", "component", "component-transition"]),
800
- style: N([I.value])
905
+ class: E(["nb-reset", "component", "component-transition"]),
906
+ style: Y([H.value])
801
907
  }, [
802
- A(o.$slots, "content", {}, () => [
803
- B[0] || (B[0] = P("Default Text"))
908
+ M(d.$slots, "content", {}, () => [
909
+ w[2] || (w[2] = G("Default Text"))
804
910
  ], !0)
805
- ], 12, ze)
806
- ], 14, ke)) : T("", !0);
911
+ ], 12, Le)
912
+ ], 46, Xe)) : K("", !0);
807
913
  }
808
- }), Ye = /* @__PURE__ */ j(We, [["__scopeId", "data-v-5321163a"]]);
809
- const Xe = ["tabIndex"], Re = ["id"], De = /* @__PURE__ */ Object.assign({
914
+ }), Ae = /* @__PURE__ */ Q(Re, [["__scopeId", "data-v-d1239e03"]]);
915
+ const De = ["tabIndex", "aria-label", "aria-disabled"], Ee = ["id"], Oe = /* @__PURE__ */ Object.assign({
810
916
  name: "NbButtonHamburger",
811
917
  inheritAttrs: !1
812
918
  }, {
@@ -820,6 +926,18 @@ const Xe = ["tabIndex"], Re = ["id"], De = /* @__PURE__ */ Object.assign({
820
926
  type: Number,
821
927
  default: 0
822
928
  },
929
+ hasTabIndexEnter: {
930
+ type: Boolean,
931
+ default: !0
932
+ },
933
+ hasTabIndexSpace: {
934
+ type: Boolean,
935
+ default: !0
936
+ },
937
+ ariaLabel: {
938
+ type: String,
939
+ default: "Alternate Text Button"
940
+ },
823
941
  status: {
824
942
  type: Boolean,
825
943
  default: !1,
@@ -858,78 +976,85 @@ const Xe = ["tabIndex"], Re = ["id"], De = /* @__PURE__ */ Object.assign({
858
976
  }
859
977
  },
860
978
  emits: ["clicked"],
861
- setup(e, { emit: s }) {
862
- F((o) => ({
863
- "49b4686b": I.value,
864
- "61c85f08": f.value
979
+ setup(e, { emit: c }) {
980
+ U((d) => ({
981
+ "05489a45": H.value,
982
+ b1646024: r.value
865
983
  }));
866
- const w = s, k = e;
867
- oe(() => {
868
- x.value = m.value;
984
+ const X = c, R = e;
985
+ ie(() => {
986
+ W.value = T.value;
869
987
  });
870
- const x = ie(!1), {
871
- status: m,
872
- color: C,
873
- containerColor: y,
874
- containerColorHover: g,
875
- colorHover: S,
876
- paddingX: i,
877
- paddingY: h,
878
- disabled: _
879
- } = M(k), b = t(() => {
880
- const o = _.value ? "component-disabled" : "", B = x.value ? "change" : "", r = y.value ? y.value : "#333333", l = C.value ? C.value : "#ffffff", a = !i.value || i.value < 0 ? 3 : i.value, n = !h.value || h.value < 0 ? 3 : h.value, W = g.value ? g.value : "yellow", d = S.value ? S.value : "red";
988
+ const W = ve(!1), {
989
+ status: T,
990
+ color: $,
991
+ containerColor: N,
992
+ containerColorHover: m,
993
+ colorHover: y,
994
+ paddingX: C,
995
+ paddingY: S,
996
+ disabled: h
997
+ } = J(R), g = t(() => {
998
+ const d = h.value ? "component-disabled" : "", w = W.value ? "change" : "", v = N.value ? N.value : "#333333", n = $.value ? $.value : "#ffffff", a = !C.value || C.value < 0 ? 3 : C.value, l = !S.value || S.value < 0 ? 3 : S.value, s = m.value ? m.value : "yellow", f = y.value ? y.value : "red";
881
999
  return {
882
- disabled: o,
883
- buttonStatus: B,
884
- containerColor: r,
1000
+ disabled: d,
1001
+ buttonStatus: w,
1002
+ containerColor: v,
885
1003
  paddingX: a,
886
- paddingY: n,
887
- color: l,
888
- containerColorHover: W,
889
- colorHover: d
1004
+ paddingY: l,
1005
+ color: n,
1006
+ containerColorHover: s,
1007
+ colorHover: f
890
1008
  };
891
- }), c = t(() => b.value.disabled), u = t(() => {
892
- const o = b.value;
1009
+ }), V = t(() => g.value.disabled), u = t(() => {
1010
+ const d = g.value;
893
1011
  return {
894
- padding: `${o.paddingY}px ${o.paddingX}px`,
895
- backgroundColor: o.containerColor
1012
+ padding: `${d.paddingY}px ${d.paddingX}px`,
1013
+ backgroundColor: d.containerColor
896
1014
  };
897
- }), v = t(() => ({
898
- backgroundColor: b.value.color
899
- })), z = t(() => b.value.buttonStatus), I = t(() => b.value.containerColorHover), f = t(() => b.value.colorHover), V = () => {
900
- const o = !x.value;
901
- x.value = o, w("clicked", o);
1015
+ }), x = t(() => ({
1016
+ backgroundColor: g.value.color
1017
+ })), k = t(() => g.value.buttonStatus), H = t(() => g.value.containerColorHover), r = t(() => g.value.colorHover), B = () => {
1018
+ const d = !W.value;
1019
+ W.value = d, X("clicked", d);
902
1020
  };
903
- return ce(m, () => {
904
- x.value = m.value;
905
- }), (o, B) => e.nbId ? (O(), L("div", {
1021
+ return pe(T, () => {
1022
+ W.value = T.value;
1023
+ }), (d, w) => e.nbId ? (_(), P("div", {
906
1024
  key: 0,
907
- class: Y(["nb-wrapper", c.value]),
908
- style: N([u.value]),
1025
+ class: E(["nb-wrapper", V.value]),
1026
+ style: Y([u.value]),
909
1027
  tabIndex: e.tabIndex,
910
- onClick: V
1028
+ role: "button",
1029
+ "aria-label": e.ariaLabel,
1030
+ "aria-disabled": I(h),
1031
+ onClick: B,
1032
+ onKeydown: [
1033
+ w[0] || (w[0] = L((v) => !I(h) && e.hasTabIndexEnter && B(), ["enter"])),
1034
+ w[1] || (w[1] = L(j((v) => !I(h) && e.hasTabIndexSpace && B(), ["prevent"]), ["space"]))
1035
+ ]
911
1036
  }, [
912
- $("div", {
1037
+ D("div", {
913
1038
  id: e.nbId,
914
- class: Y(["nb-reset", "component", z.value])
1039
+ class: E(["nb-reset", "component", k.value])
915
1040
  }, [
916
- $("div", {
1041
+ D("div", {
917
1042
  class: "component__line-one",
918
- style: N(v.value)
1043
+ style: Y(x.value)
919
1044
  }, null, 4),
920
- $("div", {
1045
+ D("div", {
921
1046
  class: "component__line-two",
922
- style: N(v.value)
1047
+ style: Y(x.value)
923
1048
  }, null, 4),
924
- $("div", {
1049
+ D("div", {
925
1050
  class: "component__line-three",
926
- style: N(v.value)
1051
+ style: Y(x.value)
927
1052
  }, null, 4)
928
- ], 10, Re)
929
- ], 14, Xe)) : T("", !0);
1053
+ ], 10, Ee)
1054
+ ], 46, De)) : K("", !0);
930
1055
  }
931
- }), Oe = /* @__PURE__ */ j(De, [["__scopeId", "data-v-6bdc0122"]]);
932
- const Le = ["tabIndex"], Te = ["id"], Ae = /* @__PURE__ */ Object.assign({
1056
+ }), Fe = /* @__PURE__ */ Q(Oe, [["__scopeId", "data-v-ee16aa34"]]);
1057
+ const _e = ["tabIndex", "aria-label", "aria-disabled"], Pe = ["id"], Ke = /* @__PURE__ */ Object.assign({
933
1058
  name: "NbButtonColorOutside",
934
1059
  inheritAttrs: !1
935
1060
  }, {
@@ -943,14 +1068,26 @@ const Le = ["tabIndex"], Te = ["id"], Ae = /* @__PURE__ */ Object.assign({
943
1068
  type: String,
944
1069
  default: "b",
945
1070
  validator: (e = "b") => {
946
- const s = e ? e.toLowerCase() : "";
947
- return ["b", "ib"].includes(s);
1071
+ const c = e ? e.toLowerCase() : "";
1072
+ return ["b", "ib"].includes(c);
948
1073
  }
949
1074
  },
950
1075
  tabIndex: {
951
1076
  type: Number,
952
1077
  default: 0
953
1078
  },
1079
+ hasTabIndexEnter: {
1080
+ type: Boolean,
1081
+ default: !0
1082
+ },
1083
+ hasTabIndexSpace: {
1084
+ type: Boolean,
1085
+ default: !0
1086
+ },
1087
+ ariaLabel: {
1088
+ type: String,
1089
+ default: "Alternate Text Button"
1090
+ },
954
1091
  textColor: {
955
1092
  type: String,
956
1093
  default: "#ffffff"
@@ -998,85 +1135,92 @@ const Le = ["tabIndex"], Te = ["id"], Ae = /* @__PURE__ */ Object.assign({
998
1135
  }
999
1136
  },
1000
1137
  emits: ["clicked"],
1001
- setup(e, { emit: s }) {
1002
- F((a) => ({
1003
- "376a4432": o.value,
1004
- "43f10443": r.value,
1005
- "3d6f03f8": V.value,
1006
- "933400b0": B.value
1138
+ setup(e, { emit: c }) {
1139
+ U((a) => ({
1140
+ "1be7c59c": d.value,
1141
+ "25955d43": v.value,
1142
+ bccb6a10: B.value,
1143
+ "374c98a8": w.value
1007
1144
  }));
1008
- const w = s, k = e, {
1009
- display: x,
1010
- buttonColor: m,
1011
- borderColor: C,
1012
- textColor: y,
1013
- paddingX: g,
1014
- paddingY: S,
1015
- borderRadius: i,
1016
- disabled: h,
1017
- fontFamily: _,
1018
- fontSize: b,
1019
- fontWeight: c
1020
- } = M(k), u = t(() => {
1021
- const a = h.value ? "component-disabled" : "", n = x.value !== "b" ? "inline-block" : "block", W = m.value ? m.value : "#bbbbbb", d = C.value ? C.value : "#ffe54c", H = y.value ? y.value : "#ffffff", X = !g.value || g.value < 0 ? 1 : g.value, R = !S.value || S.value < 0 ? 0.2 : S.value, p = !i.value || i.value < 0 ? 0 : i.value, D = _.value ? _.value : "'Lato', sans-serif", q = b.value ? b.value : "1.6em", G = !c.value || c.value < 0 ? 200 : c.value;
1145
+ const X = c, R = e, {
1146
+ display: W,
1147
+ buttonColor: T,
1148
+ borderColor: $,
1149
+ textColor: N,
1150
+ paddingX: m,
1151
+ paddingY: y,
1152
+ borderRadius: C,
1153
+ disabled: S,
1154
+ fontFamily: h,
1155
+ fontSize: g,
1156
+ fontWeight: V
1157
+ } = J(R), u = t(() => {
1158
+ const a = S.value ? "component-disabled" : "", l = W.value !== "b" ? "inline-block" : "block", s = T.value ? T.value : "#bbbbbb", f = $.value ? $.value : "#ffe54c", b = N.value ? N.value : "#ffffff", z = !m.value || m.value < 0 ? 1 : m.value, o = !y.value || y.value < 0 ? 0.2 : y.value, i = !C.value || C.value < 0 ? 0 : C.value, p = h.value ? h.value : "'Lato', sans-serif", A = g.value ? g.value : "1.6em", O = !V.value || V.value < 0 ? 200 : V.value;
1022
1159
  return {
1023
1160
  disabled: a,
1024
- display: n,
1025
- buttonColor: W,
1026
- borderColor: d,
1027
- textColor: H,
1028
- paddingX: X,
1029
- paddingY: R,
1030
- borderRadius: p,
1031
- font: D,
1032
- fontSize: q,
1033
- fontWeight: G
1161
+ display: l,
1162
+ buttonColor: s,
1163
+ borderColor: f,
1164
+ textColor: b,
1165
+ paddingX: z,
1166
+ paddingY: o,
1167
+ borderRadius: i,
1168
+ font: p,
1169
+ fontSize: A,
1170
+ fontWeight: O
1034
1171
  };
1035
- }), v = t(() => u.value.disabled), z = t(() => ({
1172
+ }), x = t(() => u.value.disabled), k = t(() => ({
1036
1173
  display: u.value.display
1037
- })), I = t(() => {
1174
+ })), H = t(() => {
1038
1175
  const a = u.value;
1039
1176
  return {
1040
1177
  color: a.textColor,
1041
1178
  fontSize: a.fontSize,
1042
1179
  fontWeight: a.fontWeight
1043
1180
  };
1044
- }), f = t(() => {
1181
+ }), r = t(() => {
1045
1182
  const a = u.value;
1046
1183
  return {
1047
1184
  padding: `${a.paddingY}rem ${a.paddingX}rem`,
1048
1185
  border: `1px solid ${a.borderColor}`,
1049
- borderRadius: V.value
1186
+ borderRadius: B.value
1050
1187
  };
1051
- }), V = t(() => `${u.value.borderRadius}rem`), o = t(() => u.value.font), B = t(() => u.value.textColor), r = t(() => u.value.buttonColor), l = () => {
1052
- w("clicked");
1188
+ }), B = t(() => `${u.value.borderRadius}rem`), d = t(() => u.value.font), w = t(() => u.value.textColor), v = t(() => u.value.buttonColor), n = () => {
1189
+ X("clicked");
1053
1190
  };
1054
- return (a, n) => e.nbId ? (O(), L("div", {
1191
+ return (a, l) => e.nbId ? (_(), P("div", {
1055
1192
  key: 0,
1056
- class: Y(["nb-wrapper", v.value]),
1057
- style: N([z.value]),
1193
+ class: E(["nb-wrapper", x.value]),
1194
+ style: Y([k.value]),
1058
1195
  tabIndex: e.tabIndex,
1059
- onClick: l
1196
+ role: "button",
1197
+ "aria-label": e.ariaLabel,
1198
+ "aria-disabled": I(S),
1199
+ onClick: n,
1200
+ onKeydown: [
1201
+ l[0] || (l[0] = L((s) => !I(S) && e.hasTabIndexEnter && n(), ["enter"])),
1202
+ l[1] || (l[1] = L(j((s) => !I(S) && e.hasTabIndexSpace && n(), ["prevent"]), ["space"]))
1203
+ ]
1060
1204
  }, [
1061
- $("div", {
1205
+ D("div", {
1062
1206
  id: e.nbId,
1063
- class: Y(["nb-reset", "component"]),
1064
- style: N([I.value])
1207
+ class: E(["nb-reset", "component"]),
1208
+ style: Y([H.value])
1065
1209
  }, [
1066
- $("div", {
1210
+ D("div", {
1067
1211
  class: "component-content",
1068
- style: N([f.value])
1212
+ style: Y([r.value])
1069
1213
  }, [
1070
- A(a.$slots, "content", {}, () => [
1071
- n[0] || (n[0] = P("Default Text"))
1214
+ M(a.$slots, "content", {}, () => [
1215
+ l[2] || (l[2] = G("Default Text"))
1072
1216
  ], !0)
1073
1217
  ], 4),
1074
- n[1] || (n[1] = $("div", { class: "component-shadow" }, null, -1))
1075
- ], 12, Te)
1076
- ], 14, Le)) : T("", !0);
1218
+ l[3] || (l[3] = D("div", { class: "component-shadow" }, null, -1))
1219
+ ], 12, Pe)
1220
+ ], 46, _e)) : K("", !0);
1077
1221
  }
1078
- }), Pe = /* @__PURE__ */ j(Ae, [["__scopeId", "data-v-9e02fc57"]]);
1079
- const Fe = ["tabIndex"], Me = ["id"], je = /* @__PURE__ */ Object.assign({
1222
+ }), je = /* @__PURE__ */ Q(Ke, [["__scopeId", "data-v-4ae432a3"]]);
1223
+ const qe = ["tabIndex", "aria-label", "aria-disabled"], Me = ["id"], Ge = /* @__PURE__ */ Object.assign({
1080
1224
  name: "NbButtonColorHover",
1081
1225
  inheritAttrs: !1
1082
1226
  }, {
@@ -1090,14 +1234,26 @@ const Fe = ["tabIndex"], Me = ["id"], je = /* @__PURE__ */ Object.assign({
1090
1234
  type: String,
1091
1235
  default: "b",
1092
1236
  validator: (e = "b") => {
1093
- const s = e.toLowerCase();
1094
- return ["b", "ib"].includes(s);
1237
+ const c = e.toLowerCase();
1238
+ return ["b", "ib"].includes(c);
1095
1239
  }
1096
1240
  },
1097
1241
  tabIndex: {
1098
1242
  type: Number,
1099
1243
  default: 0
1100
1244
  },
1245
+ hasTabIndexEnter: {
1246
+ type: Boolean,
1247
+ default: !0
1248
+ },
1249
+ hasTabIndexSpace: {
1250
+ type: Boolean,
1251
+ default: !0
1252
+ },
1253
+ ariaLabel: {
1254
+ type: String,
1255
+ default: "Alternate Text Button"
1256
+ },
1101
1257
  textColor: {
1102
1258
  type: String,
1103
1259
  default: "#ffffff"
@@ -1149,80 +1305,88 @@ const Fe = ["tabIndex"], Me = ["id"], je = /* @__PURE__ */ Object.assign({
1149
1305
  }
1150
1306
  },
1151
1307
  emits: ["clicked"],
1152
- setup(e, { emit: s }) {
1153
- F((n) => ({
1154
- "150d2f08": V.value,
1155
- "7b6bece6": r.value,
1156
- "00c8e0ea": B.value,
1157
- "6c59bfaf": l.value,
1158
- be18611c: o.value
1308
+ setup(e, { emit: c }) {
1309
+ U((l) => ({
1310
+ "37a8072e": B.value,
1311
+ "420521fa": v.value,
1312
+ "2e48555d": w.value,
1313
+ "37cde362": n.value,
1314
+ f8f7c1c2: d.value
1159
1315
  }));
1160
- const w = s, k = e, {
1161
- display: x,
1162
- textColor: m,
1163
- paddingX: C,
1164
- paddingY: y,
1165
- borderRadius: g,
1166
- disabled: S,
1167
- fontFamily: i,
1168
- fontSize: h,
1169
- fontWeight: _,
1170
- textColorHover: b,
1171
- buttonColor: c,
1316
+ const X = c, R = e, {
1317
+ display: W,
1318
+ textColor: T,
1319
+ paddingX: $,
1320
+ paddingY: N,
1321
+ borderRadius: m,
1322
+ disabled: y,
1323
+ fontFamily: C,
1324
+ fontSize: S,
1325
+ fontWeight: h,
1326
+ textColorHover: g,
1327
+ buttonColor: V,
1172
1328
  buttonColorHover: u
1173
- } = M(k), v = t(() => {
1174
- const n = S.value ? "component-disabled" : "", W = x.value !== "b" ? "inline-block" : "block", d = m ? m.value : "ffffff", H = !C.value || C.value < 0 ? 1 : C.value, X = !y.value || y.value < 0 ? 0.2 : y.value, R = !g.value || g.value < 0 ? 0 : g.value, p = i.value ? i.value : "'Lato', sans-serif", D = h.value ? h.value : "1.6rem", q = !_.value || _.value < 0 ? 100 : _.value, G = b.value ? b.value : "#cccccc", E = c.value ? c.value : "#bbbbbb", J = u.value ? u.value : "#959595";
1329
+ } = J(R), x = t(() => {
1330
+ const l = y.value ? "component-disabled" : "", s = W.value !== "b" ? "inline-block" : "block", f = T ? T.value : "ffffff", b = !$.value || $.value < 0 ? 1 : $.value, z = !N.value || N.value < 0 ? 0.2 : N.value, o = !m.value || m.value < 0 ? 0 : m.value, i = C.value ? C.value : "'Lato', sans-serif", p = S.value ? S.value : "1.6rem", A = !h.value || h.value < 0 ? 100 : h.value, O = g.value ? g.value : "#cccccc", F = V.value ? V.value : "#bbbbbb", q = u.value ? u.value : "#959595";
1175
1331
  return {
1176
- disabled: n,
1177
- display: W,
1178
- font: p,
1179
- fontSize: D,
1180
- fontWeight: q,
1181
- textColor: d,
1182
- paddingX: H,
1183
- paddingY: X,
1184
- borderRadius: R,
1185
- textColorHover: G,
1186
- buttonColor: E,
1187
- buttonColorHover: J
1332
+ disabled: l,
1333
+ display: s,
1334
+ font: i,
1335
+ fontSize: p,
1336
+ fontWeight: A,
1337
+ textColor: f,
1338
+ paddingX: b,
1339
+ paddingY: z,
1340
+ borderRadius: o,
1341
+ textColorHover: O,
1342
+ buttonColor: F,
1343
+ buttonColorHover: q
1188
1344
  };
1189
- }), z = t(() => v.value.disabled), I = t(() => {
1190
- const n = v.value;
1345
+ }), k = t(() => x.value.disabled), H = t(() => {
1346
+ const l = x.value;
1191
1347
  return {
1192
- display: n.display,
1193
- borderRadius: `${n.borderRadius}rem`
1348
+ display: l.display,
1349
+ borderRadius: `${l.borderRadius}rem`
1194
1350
  };
1195
- }), f = t(() => {
1196
- const n = v.value;
1351
+ }), r = t(() => {
1352
+ const l = x.value;
1197
1353
  return {
1198
- color: n.textColor,
1199
- padding: `${n.paddingY}rem ${n.paddingX}rem`,
1200
- borderRadius: `${n.borderRadius}rem`,
1201
- fontSize: n.fontSize,
1202
- fontWeight: n.fontWeight
1354
+ color: l.textColor,
1355
+ padding: `${l.paddingY}rem ${l.paddingX}rem`,
1356
+ borderRadius: `${l.borderRadius}rem`,
1357
+ fontSize: l.fontSize,
1358
+ fontWeight: l.fontWeight
1203
1359
  };
1204
- }), V = t(() => v.value.font), o = t(() => v.value.textColor), B = t(() => v.value.textColorHover), r = t(() => v.value.buttonColor), l = t(() => v.value.buttonColorHover), a = () => {
1205
- w("clicked");
1360
+ }), B = t(() => x.value.font), d = t(() => x.value.textColor), w = t(() => x.value.textColorHover), v = t(() => x.value.buttonColor), n = t(() => x.value.buttonColorHover), a = () => {
1361
+ X("clicked");
1206
1362
  };
1207
- return (n, W) => (O(), L("div", {
1208
- class: Y(["nb-wrapper", z.value]),
1209
- style: N([I.value]),
1363
+ return (l, s) => e.nbId ? (_(), P("div", {
1364
+ key: 0,
1365
+ class: E(["nb-wrapper", k.value]),
1366
+ style: Y([H.value]),
1210
1367
  tabIndex: e.tabIndex,
1211
- onClick: a
1368
+ role: "button",
1369
+ "aria-label": e.ariaLabel,
1370
+ "aria-disabled": I(y),
1371
+ onClick: a,
1372
+ onKeydown: [
1373
+ s[0] || (s[0] = L((f) => !I(y) && e.hasTabIndexEnter && a(), ["enter"])),
1374
+ s[1] || (s[1] = L(j((f) => !I(y) && e.hasTabIndexSpace && a(), ["prevent"]), ["space"]))
1375
+ ]
1212
1376
  }, [
1213
- $("div", {
1377
+ D("div", {
1214
1378
  id: e.nbId,
1215
1379
  class: "nb-reset component component-transition",
1216
- style: N([f.value])
1380
+ style: Y([r.value])
1217
1381
  }, [
1218
- A(n.$slots, "content", {}, () => [
1219
- W[0] || (W[0] = P("Default Text"))
1382
+ M(l.$slots, "content", {}, () => [
1383
+ s[2] || (s[2] = G("Default Text"))
1220
1384
  ], !0)
1221
1385
  ], 12, Me)
1222
- ], 14, Fe));
1386
+ ], 46, qe)) : K("", !0);
1223
1387
  }
1224
- }), qe = /* @__PURE__ */ j(je, [["__scopeId", "data-v-a503e43d"]]);
1225
- const Ge = ["tabIndex"], Ee = ["id"], Je = { class: "first-child" }, Ke = { class: "last-child" }, Qe = /* @__PURE__ */ Object.assign({
1388
+ }), Ue = /* @__PURE__ */ Q(Ge, [["__scopeId", "data-v-d083f1f8"]]);
1389
+ const Je = ["tabIndex", "aria-label", "aria-disabled"], Qe = ["id"], Ze = { class: "first-child" }, et = { class: "last-child" }, tt = /* @__PURE__ */ Object.assign({
1226
1390
  name: "NbButtonAlternateText",
1227
1391
  inheritAttrs: !1
1228
1392
  }, {
@@ -1236,14 +1400,26 @@ const Ge = ["tabIndex"], Ee = ["id"], Je = { class: "first-child" }, Ke = { clas
1236
1400
  type: String,
1237
1401
  default: "b",
1238
1402
  validator: (e = "b") => {
1239
- const s = e ? e.toLowerCase() : "";
1240
- return ["b", "ib"].includes(s);
1403
+ const c = e ? e.toLowerCase() : "";
1404
+ return ["b", "ib"].includes(c);
1241
1405
  }
1242
1406
  },
1243
1407
  tabIndex: {
1244
1408
  type: Number,
1245
1409
  default: 0
1246
1410
  },
1411
+ hasTabIndexEnter: {
1412
+ type: Boolean,
1413
+ default: !0
1414
+ },
1415
+ hasTabIndexSpace: {
1416
+ type: Boolean,
1417
+ default: !0
1418
+ },
1419
+ ariaLabel: {
1420
+ type: String,
1421
+ default: "Alternate Text Button"
1422
+ },
1247
1423
  textColor: {
1248
1424
  type: String,
1249
1425
  default: "#ffffff"
@@ -1309,93 +1485,100 @@ const Ge = ["tabIndex"], Ee = ["id"], Je = { class: "first-child" }, Ke = { clas
1309
1485
  }
1310
1486
  },
1311
1487
  emits: ["clicked"],
1312
- setup(e, { emit: s }) {
1313
- F((d) => ({
1314
- db8c30f0: r.value,
1315
- "85cc2104": l.value,
1316
- "02321768": a.value,
1317
- "6d685699": n.value
1488
+ setup(e, { emit: c }) {
1489
+ U((f) => ({
1490
+ "516e8559": v.value,
1491
+ "48b787e2": n.value,
1492
+ "0e5ada5b": a.value,
1493
+ "1291c2ea": l.value
1318
1494
  }));
1319
- const w = s, k = e, {
1320
- display: x,
1321
- buttonColor: m,
1322
- borderColor: C,
1323
- buttonHoverColor: y,
1324
- showBorder: g,
1325
- borderRadius: S,
1326
- textColor: i,
1327
- textHoverColor: h,
1328
- width: _,
1329
- paddingX: b,
1330
- paddingY: c,
1495
+ const X = c, R = e, {
1496
+ display: W,
1497
+ buttonColor: T,
1498
+ borderColor: $,
1499
+ buttonHoverColor: N,
1500
+ showBorder: m,
1501
+ borderRadius: y,
1502
+ textColor: C,
1503
+ textHoverColor: S,
1504
+ width: h,
1505
+ paddingX: g,
1506
+ paddingY: V,
1331
1507
  disabled: u,
1332
- fontFamily: v,
1333
- fontSize: z,
1334
- fontWeight: I
1335
- } = M(k), f = t(() => {
1336
- const d = u.value ? "component-disabled" : "", H = x.value !== "b" ? "inline-block" : "block", X = m.value ? m.value : "#ffffff", R = y.value ? y.value : "#000000", p = C.value ? C.value : "#ffe54c", D = !S.value || S.value < 0 ? 0 : S.value, q = [!1, !0].includes(g.value) ? g.value : !0, G = i.value ? i.value : "#ffffff", E = h.value ? h.value : "#000000", J = !_.value || _.value < 86 ? 86 : _.value, K = !b.value || b.value < 0 ? 1 : b.value, Q = !c.value || c.value < 0 ? 0.4 : c.value, U = v.value ? v.value : "'Lato', sans-serif", Z = z.value ? z.value : "1.6em", ee = !I.value || I.value < 0 ? 200 : I.value;
1508
+ fontFamily: x,
1509
+ fontSize: k,
1510
+ fontWeight: H
1511
+ } = J(R), r = t(() => {
1512
+ const f = u.value ? "component-disabled" : "", b = W.value !== "b" ? "inline-block" : "block", z = T.value ? T.value : "#ffffff", o = N.value ? N.value : "#000000", i = $.value ? $.value : "#ffe54c", p = !y.value || y.value < 0 ? 0 : y.value, A = [!1, !0].includes(m.value) ? m.value : !0, O = C.value ? C.value : "#ffffff", F = S.value ? S.value : "#000000", q = !h.value || h.value < 86 ? 86 : h.value, Z = !g.value || g.value < 0 ? 1 : g.value, ee = !V.value || V.value < 0 ? 0.4 : V.value, te = x.value ? x.value : "'Lato', sans-serif", ae = k.value ? k.value : "1.6em", oe = !H.value || H.value < 0 ? 200 : H.value;
1337
1513
  return {
1338
- disabled: d,
1339
- display: H,
1340
- buttonColor: X,
1341
- buttonHoverColor: R,
1342
- borderColor: p,
1343
- showBorder: q,
1344
- borderRadius: D,
1345
- textColor: G,
1346
- textHoverColor: E,
1347
- width: J,
1348
- paddingX: K,
1349
- paddingY: Q,
1350
- font: U,
1351
- fontSize: Z,
1352
- fontWeight: ee
1514
+ disabled: f,
1515
+ display: b,
1516
+ buttonColor: z,
1517
+ buttonHoverColor: o,
1518
+ borderColor: i,
1519
+ showBorder: A,
1520
+ borderRadius: p,
1521
+ textColor: O,
1522
+ textHoverColor: F,
1523
+ width: q,
1524
+ paddingX: Z,
1525
+ paddingY: ee,
1526
+ font: te,
1527
+ fontSize: ae,
1528
+ fontWeight: oe
1353
1529
  };
1354
- }), V = t(() => f.value.disabled), o = t(() => ({
1355
- display: f.value.display
1356
- })), B = t(() => {
1357
- const d = f.value, H = d.display === "block" ? "auto" : `${d.width}px`;
1530
+ }), B = t(() => r.value.disabled), d = t(() => ({
1531
+ display: r.value.display
1532
+ })), w = t(() => {
1533
+ const f = r.value, b = f.display === "block" ? "auto" : `${f.width}px`;
1358
1534
  return {
1359
- ...d.showBorder ? { border: `1px solid ${d.borderColor}` } : {},
1360
- borderRadius: `${d.borderRadius}rem`,
1361
- background: d.buttonColor,
1535
+ ...f.showBorder ? { border: `1px solid ${f.borderColor}` } : {},
1536
+ borderRadius: `${f.borderRadius}rem`,
1537
+ background: f.buttonColor,
1362
1538
  minWidth: "33px",
1363
- width: H,
1364
- padding: `${d.paddingY}rem ${d.paddingX}rem`,
1539
+ width: b,
1540
+ padding: `${f.paddingY}rem ${f.paddingX}rem`,
1365
1541
  lineHeight: "1.42857143",
1366
- fontSize: d.fontSize,
1367
- fontWeight: d.fontWeight
1542
+ fontSize: f.fontSize,
1543
+ fontWeight: f.fontWeight
1368
1544
  };
1369
- }), r = t(() => f.value.font), l = t(() => f.value.textColor), a = t(() => f.value.textHoverColor), n = t(() => f.value.buttonHoverColor), W = () => {
1370
- w("clicked");
1545
+ }), v = t(() => r.value.font), n = t(() => r.value.textColor), a = t(() => r.value.textHoverColor), l = t(() => r.value.buttonHoverColor), s = () => {
1546
+ X("clicked");
1371
1547
  };
1372
- return (d, H) => e.nbId ? (O(), L("div", {
1548
+ return (f, b) => e.nbId ? (_(), P("div", {
1373
1549
  key: 0,
1374
- class: Y(["nb-wrapper", V.value]),
1375
- style: N([o.value]),
1550
+ class: E(["nb-wrapper", B.value]),
1551
+ style: Y([d.value]),
1376
1552
  tabIndex: e.tabIndex,
1377
- onClick: W
1553
+ role: "button",
1554
+ "aria-label": e.ariaLabel,
1555
+ "aria-disabled": I(u),
1556
+ onClick: s,
1557
+ onKeydown: [
1558
+ b[0] || (b[0] = L((z) => !I(u) && e.hasTabIndexEnter && s(), ["enter"])),
1559
+ b[1] || (b[1] = L(j((z) => !I(u) && e.hasTabIndexSpace && s(), ["prevent"]), ["space"]))
1560
+ ]
1378
1561
  }, [
1379
- $("div", {
1562
+ D("div", {
1380
1563
  id: e.nbId,
1381
- class: Y(["nb-reset", "component"]),
1382
- style: N([B.value])
1564
+ class: E(["nb-reset", "component"]),
1565
+ style: Y([w.value])
1383
1566
  }, [
1384
- $("div", Je, [
1385
- A(d.$slots, "content", {}, () => [
1386
- H[0] || (H[0] = P("Default Text"))
1567
+ D("div", Ze, [
1568
+ M(f.$slots, "content", {}, () => [
1569
+ b[2] || (b[2] = G("Default Text"))
1387
1570
  ], !0)
1388
1571
  ]),
1389
- $("div", Ke, [
1390
- A(d.$slots, "content", {}, () => [
1391
- H[1] || (H[1] = P("Default Text"))
1572
+ D("div", et, [
1573
+ M(f.$slots, "content", {}, () => [
1574
+ b[3] || (b[3] = G("Default Text"))
1392
1575
  ], !0)
1393
1576
  ])
1394
- ], 12, Ee)
1395
- ], 14, Ge)) : T("", !0);
1577
+ ], 12, Qe)
1578
+ ], 46, Je)) : K("", !0);
1396
1579
  }
1397
- }), Ue = /* @__PURE__ */ j(Qe, [["__scopeId", "data-v-3ce7e9d1"]]);
1398
- const Ze = ["tabIndex"], et = ["id"], tt = /* @__PURE__ */ Object.assign({
1580
+ }), at = /* @__PURE__ */ Q(tt, [["__scopeId", "data-v-b10ffc3e"]]);
1581
+ const ot = ["tabIndex", "aria-label", "aria-disabled"], lt = ["id"], nt = /* @__PURE__ */ Object.assign({
1399
1582
  name: "NbButtonBack",
1400
1583
  inheritAttrs: !1
1401
1584
  }, {
@@ -1409,6 +1592,18 @@ const Ze = ["tabIndex"], et = ["id"], tt = /* @__PURE__ */ Object.assign({
1409
1592
  type: Number,
1410
1593
  default: 0
1411
1594
  },
1595
+ hasTabIndexEnter: {
1596
+ type: Boolean,
1597
+ default: !0
1598
+ },
1599
+ hasTabIndexSpace: {
1600
+ type: Boolean,
1601
+ default: !0
1602
+ },
1603
+ ariaLabel: {
1604
+ type: String,
1605
+ default: "Alternate Text Button"
1606
+ },
1412
1607
  color: {
1413
1608
  type: String,
1414
1609
  default: "#477e99"
@@ -1442,88 +1637,1056 @@ const Ze = ["tabIndex"], et = ["id"], tt = /* @__PURE__ */ Object.assign({
1442
1637
  }
1443
1638
  },
1444
1639
  emits: ["clicked"],
1445
- setup(e, { emit: s }) {
1446
- F((f) => ({
1447
- "76ffedba": u.value,
1448
- "1d39e94e": c.value,
1449
- f64dd3f4: b.value
1450
- })), oe(() => {
1451
- z();
1640
+ setup(e, { emit: c }) {
1641
+ U((r) => ({
1642
+ aa62e326: u.value,
1643
+ adaa07ba: V.value,
1644
+ 40060860: g.value
1645
+ })), ie(() => {
1646
+ k();
1452
1647
  });
1453
- const w = s, k = e, {
1454
- color: x,
1455
- textColor: m,
1456
- disabled: C,
1457
- fontFamily: y,
1458
- fontSize: g,
1459
- fontWeight: S
1460
- } = M(k), i = t(() => {
1461
- const f = C.value ? "component-disabled" : "", V = x.value ? x.value : "#77d2ff", o = m.value ? m.value : "#6dc1ec", B = y.value ? y.value : "'Lato', sans-serif", r = g.value ? g.value : "1.6em", l = !S.value || S.value < 0 ? 400 : S.value;
1648
+ const X = c, R = e, {
1649
+ color: W,
1650
+ textColor: T,
1651
+ disabled: $,
1652
+ fontFamily: N,
1653
+ fontSize: m,
1654
+ fontWeight: y
1655
+ } = J(R), C = t(() => {
1656
+ const r = $.value ? "component-disabled" : "", B = W.value ? W.value : "#77d2ff", d = T.value ? T.value : "#6dc1ec", w = N.value ? N.value : "'Lato', sans-serif", v = m.value ? m.value : "1.6em", n = !y.value || y.value < 0 ? 400 : y.value;
1462
1657
  return {
1463
- color: V,
1464
- textColor: o,
1465
- font: B,
1466
- fontSize: r,
1467
- fontWeight: l,
1468
- disabled: f
1658
+ color: B,
1659
+ textColor: d,
1660
+ font: w,
1661
+ fontSize: v,
1662
+ fontWeight: n,
1663
+ disabled: r
1469
1664
  };
1470
- }), h = t(() => ({})), _ = t(() => {
1471
- const f = i.value;
1665
+ }), S = t(() => ({})), h = t(() => {
1666
+ const r = C.value;
1472
1667
  return {
1473
- fontSize: f.fontSize,
1474
- fontWeight: f.fontWeight
1668
+ fontSize: r.fontSize,
1669
+ fontWeight: r.fontWeight
1475
1670
  };
1476
- }), b = t(() => i.value.color), c = t(() => i.value.textColor), u = t(() => i.value.font), v = t(() => i.value.disabled), z = () => {
1477
- }, I = () => {
1478
- w("clicked");
1671
+ }), g = t(() => C.value.color), V = t(() => C.value.textColor), u = t(() => C.value.font), x = t(() => C.value.disabled), k = () => {
1672
+ }, H = () => {
1673
+ X("clicked");
1479
1674
  };
1480
- return (f, V) => e.nbId ? (O(), L("div", {
1675
+ return (r, B) => e.nbId ? (_(), P("div", {
1481
1676
  key: 0,
1482
- class: Y(["nb-wrapper", v.value]),
1483
- style: N([h.value]),
1677
+ class: E(["nb-wrapper", x.value]),
1678
+ style: Y([S.value]),
1484
1679
  tabIndex: e.tabIndex,
1485
- onClick: I
1680
+ role: "button",
1681
+ "aria-label": e.ariaLabel,
1682
+ "aria-disabled": I($),
1683
+ onClick: H,
1684
+ onKeydown: [
1685
+ B[0] || (B[0] = L((d) => !I($) && e.hasTabIndexEnter && H(), ["enter"])),
1686
+ B[1] || (B[1] = L(j((d) => !I($) && e.hasTabIndexSpace && H(), ["prevent"]), ["space"]))
1687
+ ]
1486
1688
  }, [
1487
- $("div", {
1689
+ D("div", {
1488
1690
  id: e.nbId,
1489
- class: Y(["nb-reset", "component"]),
1490
- style: N([_.value])
1691
+ class: E(["nb-reset", "component"]),
1692
+ style: Y([h.value])
1491
1693
  }, [
1492
- V[0] || (V[0] = $("svg", {
1694
+ B[2] || (B[2] = D("svg", {
1493
1695
  xmlns: "http://www.w3.org/2000/svg",
1494
1696
  width: "1em",
1495
1697
  height: "1em",
1496
1698
  viewBox: "0 0 16 16"
1497
1699
  }, [
1498
- $("path", {
1700
+ D("path", {
1499
1701
  d: "M14 8a.75.75 0 01-.75.75H4.56l1.22 1.22a.75.75 0 11-1.06 1.06l-2.5-2.5a.75.75 0 010-1.06l2.5-2.5a.75.75 0 111.06 1.06L4.56 7.25h8.69A.75.75 0 0114 8z",
1500
1702
  "clip-rule": "evenodd"
1501
1703
  })
1502
1704
  ], -1)),
1503
- $("span", null, fe(e.text), 1)
1504
- ], 12, et)
1505
- ], 14, Ze)) : T("", !0);
1705
+ D("span", null, ye(e.text), 1)
1706
+ ], 12, lt)
1707
+ ], 46, ot)) : K("", !0);
1708
+ }
1709
+ }), ut = /* @__PURE__ */ Q(nt, [["__scopeId", "data-v-1df91d2a"]]);
1710
+ const rt = ["tabIndex", "aria-label", "aria-disabled"], dt = ["id"], st = /* @__PURE__ */ Object.assign({
1711
+ name: "NbButtonGradientBorderToBackground",
1712
+ inheritAttrs: !1
1713
+ }, {
1714
+ __name: "NbButtonGradientBorderToBackground",
1715
+ props: {
1716
+ nbId: {
1717
+ type: String,
1718
+ required: !0
1719
+ },
1720
+ display: {
1721
+ type: String,
1722
+ default: "b",
1723
+ validator: (e = "b") => {
1724
+ const c = e ? e.toLowerCase() : "";
1725
+ return ["b", "ib"].includes(c);
1726
+ }
1727
+ },
1728
+ tabIndex: {
1729
+ type: Number,
1730
+ default: 0
1731
+ },
1732
+ hasTabIndexEnter: {
1733
+ type: Boolean,
1734
+ default: !0
1735
+ },
1736
+ hasTabIndexSpace: {
1737
+ type: Boolean,
1738
+ default: !0
1739
+ },
1740
+ ariaLabel: {
1741
+ type: String,
1742
+ default: "Alternate Text Button"
1743
+ },
1744
+ textColor: {
1745
+ type: String,
1746
+ default: "#ffffff"
1747
+ },
1748
+ textHoverColor: {
1749
+ type: String,
1750
+ default: "blue"
1751
+ },
1752
+ buttonColor: {
1753
+ type: String,
1754
+ default: "linear-gradient(120deg,#fa7faa,#ff9691 25%,#ffb287 50%,transparent 55%,transparent)"
1755
+ },
1756
+ buttonHoverColor: {
1757
+ type: String,
1758
+ default: "linear-gradient(11deg, #c83852, #b44092 50%, #6a5fc1)"
1759
+ },
1760
+ borderColor: {
1761
+ type: String,
1762
+ default: "#ffe54c"
1763
+ },
1764
+ showBorder: {
1765
+ type: Boolean,
1766
+ default: !0,
1767
+ validator: (e) => typeof e == "boolean" && [!0, !1].includes(e)
1768
+ },
1769
+ borderRadius: {
1770
+ type: Number,
1771
+ default: 0.375
1772
+ },
1773
+ width: {
1774
+ type: Number,
1775
+ default: 86,
1776
+ validator: (e) => e || 86
1777
+ },
1778
+ paddingX: {
1779
+ type: Number,
1780
+ default: 1,
1781
+ validator: (e) => e || 1
1782
+ },
1783
+ paddingY: {
1784
+ type: Number,
1785
+ default: 0.2,
1786
+ validator: (e) => e || 0.2
1787
+ },
1788
+ disabled: {
1789
+ type: Boolean,
1790
+ default: !1,
1791
+ validator: (e) => typeof e == "boolean" && [!0, !1].includes(e)
1792
+ },
1793
+ fontFamily: {
1794
+ type: String,
1795
+ default: "'Lato', sans-serif"
1796
+ },
1797
+ fontSize: {
1798
+ type: String,
1799
+ default: "1.6em",
1800
+ validator: (e) => e || "1.6em"
1801
+ },
1802
+ fontWeight: {
1803
+ type: Number,
1804
+ default: 200,
1805
+ validator: (e) => e || 200
1806
+ }
1807
+ },
1808
+ emits: ["clicked"],
1809
+ setup(e, { emit: c }) {
1810
+ U((o) => ({
1811
+ "9a6bd336": v.value,
1812
+ af7fbc14: f.value,
1813
+ "0b36ee1b": l.value,
1814
+ d9aa144e: a.value,
1815
+ "01d4b136": n.value,
1816
+ c5bce062: s.value,
1817
+ "779f80e6": b.value
1818
+ }));
1819
+ const X = c, R = e, {
1820
+ display: W,
1821
+ buttonColor: T,
1822
+ borderColor: $,
1823
+ buttonHoverColor: N,
1824
+ showBorder: m,
1825
+ borderRadius: y,
1826
+ textColor: C,
1827
+ textHoverColor: S,
1828
+ width: h,
1829
+ paddingX: g,
1830
+ paddingY: V,
1831
+ disabled: u,
1832
+ fontFamily: x,
1833
+ fontSize: k,
1834
+ fontWeight: H
1835
+ } = J(R), r = t(() => {
1836
+ const o = u.value ? "component-disabled" : "", i = W.value !== "b" ? "inline-block" : "block", p = T.value ? T.value : "#ffffff", A = N.value ? N.value : "#000000", O = $.value ? $.value : "#ffe54c", F = !y.value || y.value < 0 ? 0 : y.value, q = [!1, !0].includes(m.value) ? m.value : !0, Z = C.value ? C.value : "#ffffff", ee = S.value ? S.value : "#000000", te = !h.value || h.value < 86 ? 86 : h.value, ae = !g.value || g.value < 0 ? 1 : g.value, oe = !V.value || V.value < 0 ? 0.2 : V.value, le = x.value ? x.value : "'Lato', sans-serif", ne = k.value ? k.value : "1.6em", ue = !H.value || H.value < 0 ? 200 : H.value;
1837
+ return {
1838
+ disabled: o,
1839
+ display: i,
1840
+ buttonColor: p,
1841
+ buttonHoverColor: A,
1842
+ borderColor: O,
1843
+ showBorder: q,
1844
+ borderRadius: F,
1845
+ textColor: Z,
1846
+ textHoverColor: ee,
1847
+ width: te,
1848
+ paddingX: ae,
1849
+ paddingY: oe,
1850
+ font: le,
1851
+ fontSize: ne,
1852
+ fontWeight: ue
1853
+ };
1854
+ }), B = t(() => r.value.disabled), d = t(() => ({
1855
+ display: r.value.display
1856
+ })), w = t(() => {
1857
+ const o = r.value;
1858
+ return {
1859
+ minWidth: "33px",
1860
+ width: o.display === "block" ? "auto" : `${o.width}px`,
1861
+ lineHeight: "1.42857143",
1862
+ fontSize: o.fontSize,
1863
+ fontWeight: o.fontWeight
1864
+ };
1865
+ }), v = t(() => r.value.font), n = t(() => {
1866
+ const o = r.value;
1867
+ return `${o.paddingY}rem ${o.paddingX}rem`;
1868
+ }), a = t(() => `${r.value.borderRadius}rem`), l = t(() => r.value.textColor), s = t(() => r.value.textHoverColor), f = t(() => r.value.buttonColor), b = t(() => r.value.buttonHoverColor), z = () => {
1869
+ X("clicked");
1870
+ };
1871
+ return (o, i) => e.nbId ? (_(), P("div", {
1872
+ key: 0,
1873
+ class: E(["nb-wrapper", B.value]),
1874
+ style: Y([d.value]),
1875
+ tabIndex: e.tabIndex,
1876
+ role: "button",
1877
+ "aria-label": e.ariaLabel,
1878
+ "aria-disabled": I(u),
1879
+ onClick: z,
1880
+ onKeydown: [
1881
+ i[0] || (i[0] = L((p) => !I(u) && e.hasTabIndexEnter && z(), ["enter"])),
1882
+ i[1] || (i[1] = L(j((p) => !I(u) && e.hasTabIndexSpace && z(), ["prevent"]), ["space"]))
1883
+ ]
1884
+ }, [
1885
+ D("div", {
1886
+ id: e.nbId,
1887
+ class: "nb-reset component",
1888
+ style: Y([w.value])
1889
+ }, [
1890
+ M(o.$slots, "content", {}, () => [
1891
+ i[2] || (i[2] = G("Default Text"))
1892
+ ], !0)
1893
+ ], 12, dt)
1894
+ ], 46, rt)) : K("", !0);
1895
+ }
1896
+ }), it = /* @__PURE__ */ Q(st, [["__scopeId", "data-v-551d4abb"]]);
1897
+ const ft = ["tabIndex", "aria-label", "aria-disabled"], bt = ["id"], ct = /* @__PURE__ */ Object.assign({
1898
+ name: "NbButtonNormal",
1899
+ inheritAttrs: !1
1900
+ }, {
1901
+ __name: "NbButtonNormal",
1902
+ props: {
1903
+ nbId: {
1904
+ type: String,
1905
+ required: !0
1906
+ },
1907
+ display: {
1908
+ type: String,
1909
+ default: "b",
1910
+ validator: (e = "b") => {
1911
+ const c = e ? e.toLowerCase() : "";
1912
+ return ["b", "ib"].includes(c);
1913
+ }
1914
+ },
1915
+ tabIndex: {
1916
+ type: Number,
1917
+ default: 0
1918
+ },
1919
+ hasTabIndexEnter: {
1920
+ type: Boolean,
1921
+ default: !0
1922
+ },
1923
+ hasTabIndexSpace: {
1924
+ type: Boolean,
1925
+ default: !0
1926
+ },
1927
+ ariaLabel: {
1928
+ type: String,
1929
+ default: "Alternate Text Button"
1930
+ },
1931
+ textColor: {
1932
+ type: String,
1933
+ default: "#ffffff"
1934
+ },
1935
+ textHoverColor: {
1936
+ type: String,
1937
+ default: "blue"
1938
+ },
1939
+ buttonColor: {
1940
+ type: String,
1941
+ default: "tomato"
1942
+ },
1943
+ buttonHoverColor: {
1944
+ type: String,
1945
+ default: "green"
1946
+ },
1947
+ borderColor: {
1948
+ type: String,
1949
+ default: "#ffe54c"
1950
+ },
1951
+ showBorder: {
1952
+ type: Boolean,
1953
+ default: !0,
1954
+ validator: (e) => typeof e == "boolean" && [!0, !1].includes(e)
1955
+ },
1956
+ borderRadius: {
1957
+ type: Number,
1958
+ default: 0.375
1959
+ },
1960
+ width: {
1961
+ type: Number,
1962
+ default: 86,
1963
+ validator: (e) => e || 86
1964
+ },
1965
+ paddingX: {
1966
+ type: Number,
1967
+ default: 1,
1968
+ validator: (e) => e || 1
1969
+ },
1970
+ paddingY: {
1971
+ type: Number,
1972
+ default: 0.2,
1973
+ validator: (e) => e || 0.2
1974
+ },
1975
+ disabled: {
1976
+ type: Boolean,
1977
+ default: !1,
1978
+ validator: (e) => typeof e == "boolean" && [!0, !1].includes(e)
1979
+ },
1980
+ fontFamily: {
1981
+ type: String,
1982
+ default: "'Lato', sans-serif"
1983
+ },
1984
+ fontSize: {
1985
+ type: String,
1986
+ default: "1.6em",
1987
+ validator: (e) => e || "1.6em"
1988
+ },
1989
+ fontWeight: {
1990
+ type: Number,
1991
+ default: 200,
1992
+ validator: (e) => e || 200
1993
+ },
1994
+ hasAnimation: {
1995
+ type: Boolean,
1996
+ default: !1
1997
+ },
1998
+ animationDuration: {
1999
+ type: Number,
2000
+ default: 0.3
2001
+ },
2002
+ animationDurationType: {
2003
+ type: String,
2004
+ default: "s",
2005
+ // ms, s, etc.
2006
+ validator: (e) => ["ms", "s"].indexOf(e) !== -1
2007
+ }
2008
+ },
2009
+ emits: ["clicked"],
2010
+ setup(e, { emit: c }) {
2011
+ U((p) => ({
2012
+ "4459caa6": l.value,
2013
+ "5c71f5c8": s.value,
2014
+ "0b267cb7": b.value,
2015
+ "53d6f26a": o.value,
2016
+ "9c869d24": f.value,
2017
+ "5c0e9276": z.value
2018
+ }));
2019
+ const X = c, R = e, {
2020
+ display: W,
2021
+ buttonColor: T,
2022
+ borderColor: $,
2023
+ buttonHoverColor: N,
2024
+ showBorder: m,
2025
+ borderRadius: y,
2026
+ textColor: C,
2027
+ textHoverColor: S,
2028
+ width: h,
2029
+ paddingX: g,
2030
+ paddingY: V,
2031
+ disabled: u,
2032
+ fontFamily: x,
2033
+ fontSize: k,
2034
+ fontWeight: H,
2035
+ hasAnimation: r,
2036
+ animationDuration: B,
2037
+ animationDurationType: d
2038
+ } = J(R), w = t(() => {
2039
+ const p = u.value ? "component-disabled" : "", A = W.value !== "b" ? "inline-block" : "block", O = T.value ? T.value : "#ffffff", F = N.value ? N.value : "#000000", q = $.value ? $.value : "#ffe54c", Z = !y.value || y.value < 0 ? 0 : y.value, ee = [!1, !0].includes(m.value) ? m.value : !0, te = C.value ? C.value : "#ffffff", ae = S.value ? S.value : "#000000", oe = !h.value || h.value < 86 ? 86 : h.value, le = !g.value || g.value < 0 ? 1 : g.value, ne = !V.value || V.value < 0 ? 0.2 : V.value, ue = x.value ? x.value : "'Lato', sans-serif", re = k.value ? k.value : "1.6em", de = !H.value || H.value < 0 ? 200 : H.value, fe = r.value ? "component-transition" : "", be = !B.value || B.value < 0 ? 0.3 : B.value, ce = !d.value || d.value < 0 ? "ms" : d.value;
2040
+ return {
2041
+ disabled: p,
2042
+ display: A,
2043
+ buttonColor: O,
2044
+ buttonHoverColor: F,
2045
+ borderColor: q,
2046
+ showBorder: ee,
2047
+ borderRadius: Z,
2048
+ textColor: te,
2049
+ textHoverColor: ae,
2050
+ width: oe,
2051
+ paddingX: le,
2052
+ paddingY: ne,
2053
+ font: ue,
2054
+ fontSize: re,
2055
+ fontWeight: de,
2056
+ hasAnimation: fe,
2057
+ animationDuration: be,
2058
+ animationDurationType: ce
2059
+ };
2060
+ }), v = t(() => w.value.disabled), n = t(() => ({
2061
+ display: w.value.display
2062
+ })), a = t(() => {
2063
+ const p = w.value, A = p.display === "block" ? "auto" : `${p.width}px`;
2064
+ return {
2065
+ ...p.showBorder ? { border: `1px solid ${p.borderColor}` } : {},
2066
+ borderRadius: `${p.borderRadius}rem`,
2067
+ minWidth: "33px",
2068
+ width: A,
2069
+ padding: `${p.paddingY}rem ${p.paddingX}rem`,
2070
+ lineHeight: "1.42857143",
2071
+ fontSize: p.fontSize,
2072
+ fontWeight: p.fontWeight
2073
+ };
2074
+ }), l = t(() => w.value.font), s = t(() => w.value.textColor), f = t(() => w.value.textHoverColor), b = t(() => w.value.buttonColor), z = t(() => w.value.buttonHoverColor), o = t(() => {
2075
+ const p = w.value;
2076
+ return p.hasAnimation ? `all ${p.animationDuration}${p.animationDurationType} ease-in-out` : "";
2077
+ }), i = () => {
2078
+ X("clicked");
2079
+ };
2080
+ return (p, A) => e.nbId ? (_(), P("div", {
2081
+ key: 0,
2082
+ class: E(["nb-wrapper", v.value]),
2083
+ style: Y([n.value]),
2084
+ tabIndex: e.tabIndex,
2085
+ role: "button",
2086
+ "aria-label": e.ariaLabel,
2087
+ "aria-disabled": I(u),
2088
+ onClick: i,
2089
+ onKeydown: [
2090
+ A[0] || (A[0] = L((O) => !I(u) && e.hasTabIndexEnter && i(), ["enter"])),
2091
+ A[1] || (A[1] = L(j((O) => !I(u) && e.hasTabIndexSpace && i(), ["prevent"]), ["space"]))
2092
+ ]
2093
+ }, [
2094
+ D("div", {
2095
+ id: e.nbId,
2096
+ class: E(["nb-reset component", { "component-transition": I(r) }]),
2097
+ style: Y([a.value])
2098
+ }, [
2099
+ M(p.$slots, "content", {}, () => [
2100
+ A[2] || (A[2] = G("Default Text"))
2101
+ ], !0)
2102
+ ], 14, bt)
2103
+ ], 46, ft)) : K("", !0);
2104
+ }
2105
+ }), vt = /* @__PURE__ */ Q(ct, [["__scopeId", "data-v-a7ab7bdc"]]);
2106
+ const pt = ["tabIndex", "aria-label", "aria-disabled"], yt = ["id"], gt = /* @__PURE__ */ Object.assign({
2107
+ name: "NbButtonShadow",
2108
+ inheritAttrs: !1
2109
+ }, {
2110
+ __name: "NbButtonShadow",
2111
+ props: {
2112
+ nbId: {
2113
+ type: String,
2114
+ required: !0
2115
+ },
2116
+ display: {
2117
+ type: String,
2118
+ default: "b",
2119
+ validator: (e = "b") => {
2120
+ const c = e ? e.toLowerCase() : "";
2121
+ return ["b", "ib"].includes(c);
2122
+ }
2123
+ },
2124
+ tabIndex: {
2125
+ type: Number,
2126
+ default: 0
2127
+ },
2128
+ hasTabIndexEnter: {
2129
+ type: Boolean,
2130
+ default: !0
2131
+ },
2132
+ hasTabIndexSpace: {
2133
+ type: Boolean,
2134
+ default: !0
2135
+ },
2136
+ ariaLabel: {
2137
+ type: String,
2138
+ default: "Alternate Text Button"
2139
+ },
2140
+ textColor: {
2141
+ type: String,
2142
+ default: "#000000"
2143
+ },
2144
+ textHoverColor: {
2145
+ type: String,
2146
+ default: "tomato"
2147
+ },
2148
+ buttonColor: {
2149
+ type: String,
2150
+ default: "#faf77d"
2151
+ },
2152
+ buttonHoverColor: {
2153
+ type: String,
2154
+ default: "#faf77d"
2155
+ },
2156
+ buttonShadowColor: {
2157
+ type: String,
2158
+ default: "#01d7b0"
2159
+ },
2160
+ borderColor: {
2161
+ type: String,
2162
+ default: "#191a1b"
2163
+ },
2164
+ borderRadius: {
2165
+ type: Number,
2166
+ default: 0
2167
+ },
2168
+ width: {
2169
+ type: Number,
2170
+ default: 86,
2171
+ validator: (e) => e || 86
2172
+ },
2173
+ paddingX: {
2174
+ type: Number,
2175
+ default: 1,
2176
+ validator: (e) => e || 1
2177
+ },
2178
+ paddingY: {
2179
+ type: Number,
2180
+ default: 0.2,
2181
+ validator: (e) => e || 0.2
2182
+ },
2183
+ disabled: {
2184
+ type: Boolean,
2185
+ default: !1,
2186
+ validator: (e) => typeof e == "boolean" && [!0, !1].includes(e)
2187
+ },
2188
+ fontFamily: {
2189
+ type: String,
2190
+ default: "'Lato', sans-serif"
2191
+ },
2192
+ fontSize: {
2193
+ type: String,
2194
+ default: "1.6em",
2195
+ validator: (e) => e || "1.6em"
2196
+ },
2197
+ fontWeight: {
2198
+ type: Number,
2199
+ default: 200,
2200
+ validator: (e) => e || 200
2201
+ }
2202
+ },
2203
+ emits: ["clicked"],
2204
+ setup(e, { emit: c }) {
2205
+ U((o) => ({
2206
+ "932e9364": v.value,
2207
+ b5ada742: l.value,
2208
+ "30817ec4": n.value,
2209
+ de146bc2: f.value,
2210
+ "300cdfc6": s.value,
2211
+ "105400c6": a.value,
2212
+ a7aceb46: b.value
2213
+ }));
2214
+ const X = c, R = e, {
2215
+ display: W,
2216
+ buttonColor: T,
2217
+ borderColor: $,
2218
+ buttonHoverColor: N,
2219
+ buttonShadowColor: m,
2220
+ borderRadius: y,
2221
+ textColor: C,
2222
+ textHoverColor: S,
2223
+ width: h,
2224
+ paddingX: g,
2225
+ paddingY: V,
2226
+ disabled: u,
2227
+ fontFamily: x,
2228
+ fontSize: k,
2229
+ fontWeight: H
2230
+ } = J(R), r = t(() => {
2231
+ const o = u.value ? "component-disabled" : "", i = W.value !== "b" ? "inline-block" : "block", p = T.value ? T.value : "#ffffff", A = N.value ? N.value : "#000000", O = m.value ? m.value : "#01d7b0", F = $.value ? $.value : "#ffe54c", q = !y.value || y.value < 0 ? 0 : y.value, Z = C.value ? C.value : "#ffffff", ee = S.value ? S.value : "#000000", te = !h.value || h.value < 86 ? 86 : h.value, ae = !g.value || g.value < 0 ? 1 : g.value, oe = !V.value || V.value < 0 ? 0.2 : V.value, le = x.value ? x.value : "'Lato', sans-serif", ne = k.value ? k.value : "1.6em", ue = !H.value || H.value < 0 ? 200 : H.value;
2232
+ return {
2233
+ disabled: o,
2234
+ display: i,
2235
+ buttonColor: p,
2236
+ buttonHoverColor: A,
2237
+ buttonShadowColor: O,
2238
+ borderColor: F,
2239
+ borderRadius: q,
2240
+ textColor: Z,
2241
+ textHoverColor: ee,
2242
+ width: te,
2243
+ paddingX: ae,
2244
+ paddingY: oe,
2245
+ font: le,
2246
+ fontSize: ne,
2247
+ fontWeight: ue
2248
+ };
2249
+ }), B = t(() => r.value.disabled), d = t(() => ({
2250
+ display: r.value.display
2251
+ })), w = t(() => {
2252
+ const o = r.value, i = o.display === "block" ? "auto" : `${o.width}px`;
2253
+ return {
2254
+ border: `2px solid ${o.borderColor}`,
2255
+ borderRadius: `${o.borderRadius}rem`,
2256
+ minWidth: "33px",
2257
+ width: i,
2258
+ padding: `${o.paddingY}rem ${o.paddingX}rem`,
2259
+ lineHeight: "1.42857143",
2260
+ fontSize: o.fontSize,
2261
+ fontWeight: o.fontWeight
2262
+ };
2263
+ }), v = t(() => r.value.font), n = t(() => r.value.textColor), a = t(() => r.value.textHoverColor), l = t(() => r.value.buttonColor), s = t(() => r.value.buttonHoverColor), f = t(() => {
2264
+ const o = r.value;
2265
+ return `3px 3px 0 -1px ${o.buttonShadowColor}, 3px 3px 0 ${o.buttonShadowColor}`;
2266
+ }), b = t(() => {
2267
+ const o = r.value;
2268
+ return `0 0 0 -1px ${o.buttonShadowColor}, 0 0 0 ${o.buttonShadowColor};`;
2269
+ }), z = () => {
2270
+ X("clicked");
2271
+ };
2272
+ return (o, i) => e.nbId ? (_(), P("div", {
2273
+ key: 0,
2274
+ class: E(["nb-wrapper", B.value]),
2275
+ style: Y([d.value]),
2276
+ tabIndex: e.tabIndex,
2277
+ role: "button",
2278
+ "aria-label": e.ariaLabel,
2279
+ "aria-disabled": I(u),
2280
+ onClick: z,
2281
+ onKeydown: [
2282
+ i[0] || (i[0] = L((p) => !I(u) && e.hasTabIndexEnter && z(), ["enter"])),
2283
+ i[1] || (i[1] = L(j((p) => !I(u) && e.hasTabIndexSpace && z(), ["prevent"]), ["space"]))
2284
+ ]
2285
+ }, [
2286
+ D("div", {
2287
+ id: e.nbId,
2288
+ class: "nb-reset component",
2289
+ style: Y([w.value])
2290
+ }, [
2291
+ M(o.$slots, "content", {}, () => [
2292
+ i[2] || (i[2] = G("Default Text"))
2293
+ ], !0)
2294
+ ], 12, yt)
2295
+ ], 46, pt)) : K("", !0);
2296
+ }
2297
+ }), mt = /* @__PURE__ */ Q(gt, [["__scopeId", "data-v-40806072"]]);
2298
+ const Vt = ["tabIndex", "aria-label", "aria-disabled"], xt = ["id"], Ct = /* @__PURE__ */ Object.assign({
2299
+ name: "NbButtonUnderlineExpand",
2300
+ inheritAttrs: !1
2301
+ }, {
2302
+ __name: "NbButtonUnderlineExpand",
2303
+ props: {
2304
+ nbId: {
2305
+ type: String,
2306
+ required: !0
2307
+ },
2308
+ display: {
2309
+ type: String,
2310
+ default: "b",
2311
+ validator: (e = "b") => {
2312
+ const c = e ? e.toLowerCase() : "";
2313
+ return ["b", "ib"].includes(c);
2314
+ }
2315
+ },
2316
+ tabIndex: {
2317
+ type: Number,
2318
+ default: 0
2319
+ },
2320
+ hasTabIndexEnter: {
2321
+ type: Boolean,
2322
+ default: !0
2323
+ },
2324
+ hasTabIndexSpace: {
2325
+ type: Boolean,
2326
+ default: !0
2327
+ },
2328
+ ariaLabel: {
2329
+ type: String,
2330
+ default: "Alternate Text Button"
2331
+ },
2332
+ textColor: {
2333
+ type: String,
2334
+ default: "rgb(0, 105, 255)"
2335
+ },
2336
+ textHoverColor: {
2337
+ type: String,
2338
+ default: "#ffffff"
2339
+ },
2340
+ borderColor: {
2341
+ type: String,
2342
+ default: "rgb(0, 105, 255)"
2343
+ },
2344
+ borderHoverColor: {
2345
+ type: String,
2346
+ default: "rgb(20, 51, 214)"
2347
+ },
2348
+ borderHeight: {
2349
+ type: Number,
2350
+ default: 1.5,
2351
+ validator: (e) => e || 1.5
2352
+ },
2353
+ width: {
2354
+ type: Number,
2355
+ default: 86,
2356
+ validator: (e) => e || 86
2357
+ },
2358
+ paddingX: {
2359
+ type: Number,
2360
+ default: 1,
2361
+ validator: (e) => e || 1
2362
+ },
2363
+ paddingY: {
2364
+ type: Number,
2365
+ default: 0.2,
2366
+ validator: (e) => e || 0.2
2367
+ },
2368
+ disabled: {
2369
+ type: Boolean,
2370
+ default: !1,
2371
+ validator: (e) => typeof e == "boolean" && [!0, !1].includes(e)
2372
+ },
2373
+ fontFamily: {
2374
+ type: String,
2375
+ default: "'Lato', sans-serif"
2376
+ },
2377
+ fontSize: {
2378
+ type: String,
2379
+ default: "1.6em",
2380
+ validator: (e) => e || "1.6em"
2381
+ },
2382
+ fontWeight: {
2383
+ type: Number,
2384
+ default: 200,
2385
+ validator: (e) => e || 200
2386
+ },
2387
+ textAlign: {
2388
+ type: String,
2389
+ default: "middle",
2390
+ validator: (e) => ["left", "center", "right"].includes(e)
2391
+ }
2392
+ },
2393
+ emits: ["clicked"],
2394
+ setup(e, { emit: c }) {
2395
+ U((b) => ({
2396
+ "7a81bde5": w.value,
2397
+ "7d23359b": v.value,
2398
+ "348d6e88": a.value,
2399
+ "4d2cba24": s.value,
2400
+ fd940f62: n.value,
2401
+ aa789c64: l.value
2402
+ }));
2403
+ const X = c, R = e, {
2404
+ display: W,
2405
+ borderColor: T,
2406
+ borderHoverColor: $,
2407
+ borderHeight: N,
2408
+ textColor: m,
2409
+ textHoverColor: y,
2410
+ width: C,
2411
+ paddingX: S,
2412
+ paddingY: h,
2413
+ disabled: g,
2414
+ fontFamily: V,
2415
+ fontSize: u,
2416
+ fontWeight: x,
2417
+ textAlign: k
2418
+ } = J(R), H = t(() => {
2419
+ const b = g.value ? "component-disabled" : "", z = W.value !== "b" ? "inline-block" : "block", o = T.value ? T.value : "#ffffff", i = $.value ? $.value : "#000000", p = N.value ? N.value : 1.5, A = m.value ? m.value : "#ffffff", O = y.value ? y.value : "#000000", F = !C.value || C.value < 86 ? 86 : C.value, q = !S.value || S.value < 0 ? 1 : S.value, Z = !h.value || h.value < 0 ? 0.2 : h.value, ee = V.value ? V.value : "'Lato', sans-serif", te = u.value ? u.value : "1.6em", ae = !x.value || x.value < 0 ? 200 : x.value, oe = k.value ? k.value : "center";
2420
+ return {
2421
+ disabled: b,
2422
+ display: z,
2423
+ borderColor: o,
2424
+ borderHoverColor: i,
2425
+ borderHeight: p,
2426
+ textColor: A,
2427
+ textHoverColor: O,
2428
+ width: F,
2429
+ paddingX: q,
2430
+ paddingY: Z,
2431
+ font: ee,
2432
+ fontSize: te,
2433
+ fontWeight: ae,
2434
+ textAlign: oe
2435
+ };
2436
+ }), r = t(() => H.value.disabled), B = t(() => {
2437
+ const b = H.value;
2438
+ return {
2439
+ display: b.display,
2440
+ textAlign: b.textAlign
2441
+ };
2442
+ }), d = t(() => {
2443
+ const b = H.value;
2444
+ return {
2445
+ minWidth: "33px",
2446
+ width: b.display === "block" ? "auto" : `${b.width}px`,
2447
+ padding: `${b.paddingY}rem ${b.paddingX}rem`,
2448
+ lineHeight: "1.42857143",
2449
+ fontSize: b.fontSize,
2450
+ fontWeight: b.fontWeight
2451
+ };
2452
+ }), w = t(() => H.value.font), v = t(() => H.value.textColor), n = t(() => H.value.textHoverColor), a = t(() => H.value.borderColor), l = t(() => H.value.borderHoverColor), s = t(() => `${H.value.borderHeight}px`), f = () => {
2453
+ X("clicked");
2454
+ };
2455
+ return (b, z) => e.nbId ? (_(), P("div", {
2456
+ key: 0,
2457
+ class: E(["nb-wrapper", r.value]),
2458
+ style: Y([B.value]),
2459
+ tabIndex: e.tabIndex,
2460
+ role: "button",
2461
+ "aria-label": e.ariaLabel,
2462
+ "aria-disabled": I(g),
2463
+ onClick: f,
2464
+ onKeydown: [
2465
+ z[0] || (z[0] = L((o) => !I(g) && e.hasTabIndexEnter && f(), ["enter"])),
2466
+ z[1] || (z[1] = L(j((o) => !I(g) && e.hasTabIndexSpace && f(), ["prevent"]), ["space"]))
2467
+ ]
2468
+ }, [
2469
+ D("div", {
2470
+ id: e.nbId,
2471
+ class: "nb-reset component",
2472
+ style: Y([d.value])
2473
+ }, [
2474
+ M(b.$slots, "content", {}, () => [
2475
+ z[2] || (z[2] = G("Default Text"))
2476
+ ], !0)
2477
+ ], 12, xt)
2478
+ ], 46, Vt)) : K("", !0);
2479
+ }
2480
+ }), St = /* @__PURE__ */ Q(Ct, [["__scopeId", "data-v-2c21f930"]]);
2481
+ const ht = ["tabIndex", "aria-label", "aria-disabled"], Bt = ["id"], wt = /* @__PURE__ */ Object.assign({
2482
+ name: "NbButtonUnderlineExpand",
2483
+ inheritAttrs: !1
2484
+ }, {
2485
+ __name: "NbButtonUnderlineFill",
2486
+ props: {
2487
+ nbId: {
2488
+ type: String,
2489
+ required: !0
2490
+ },
2491
+ display: {
2492
+ type: String,
2493
+ default: "b",
2494
+ validator: (e = "b") => {
2495
+ const c = e ? e.toLowerCase() : "";
2496
+ return ["b", "ib"].includes(c);
2497
+ }
2498
+ },
2499
+ tabIndex: {
2500
+ type: Number,
2501
+ default: 0
2502
+ },
2503
+ hasTabIndexEnter: {
2504
+ type: Boolean,
2505
+ default: !0
2506
+ },
2507
+ hasTabIndexSpace: {
2508
+ type: Boolean,
2509
+ default: !0
2510
+ },
2511
+ ariaLabel: {
2512
+ type: String,
2513
+ default: "Alternate Text Button"
2514
+ },
2515
+ textColor: {
2516
+ type: String,
2517
+ default: "rgb(0, 105, 255)"
2518
+ },
2519
+ textHoverColor: {
2520
+ type: String,
2521
+ default: "#ffffff"
2522
+ },
2523
+ buttonColor: {
2524
+ type: String,
2525
+ default: "rgb(0, 105, 255)"
2526
+ },
2527
+ buttonHoverColor: {
2528
+ type: String,
2529
+ default: "rgb(20, 51, 214)"
2530
+ },
2531
+ borderColor: {
2532
+ type: String,
2533
+ default: "#ffe54c"
2534
+ },
2535
+ width: {
2536
+ type: Number,
2537
+ default: 86,
2538
+ validator: (e) => e || 86
2539
+ },
2540
+ paddingX: {
2541
+ type: Number,
2542
+ default: 1,
2543
+ validator: (e) => e || 1
2544
+ },
2545
+ paddingY: {
2546
+ type: Number,
2547
+ default: 0.2,
2548
+ validator: (e) => e || 0.2
2549
+ },
2550
+ disabled: {
2551
+ type: Boolean,
2552
+ default: !1,
2553
+ validator: (e) => typeof e == "boolean" && [!0, !1].includes(e)
2554
+ },
2555
+ fontFamily: {
2556
+ type: String,
2557
+ default: "'Lato', sans-serif"
2558
+ },
2559
+ fontSize: {
2560
+ type: String,
2561
+ default: "1.6em",
2562
+ validator: (e) => e || "1.6em"
2563
+ },
2564
+ fontWeight: {
2565
+ type: Number,
2566
+ default: 200,
2567
+ validator: (e) => e || 200
2568
+ },
2569
+ textAlign: {
2570
+ type: String,
2571
+ default: "middle",
2572
+ validator: (e) => ["left", "center", "right"].includes(e)
2573
+ }
2574
+ },
2575
+ emits: ["clicked"],
2576
+ setup(e, { emit: c }) {
2577
+ U((s) => ({
2578
+ 49544310: d.value,
2579
+ 69196589: n.value,
2580
+ "0abc0b24": w.value,
2581
+ b41efd9a: a.value,
2582
+ bf3f8148: v.value
2583
+ }));
2584
+ const X = c, R = e, {
2585
+ display: W,
2586
+ buttonColor: T,
2587
+ buttonHoverColor: $,
2588
+ textColor: N,
2589
+ textHoverColor: m,
2590
+ width: y,
2591
+ paddingX: C,
2592
+ paddingY: S,
2593
+ disabled: h,
2594
+ fontFamily: g,
2595
+ fontSize: V,
2596
+ fontWeight: u,
2597
+ textAlign: x
2598
+ } = J(R), k = t(() => {
2599
+ const s = h.value ? "component-disabled" : "", f = W.value !== "b" ? "inline-block" : "block", b = T.value ? T.value : "#ffffff", z = $.value ? $.value : "#000000", o = N.value ? N.value : "#ffffff", i = m.value ? m.value : "#000000", p = !y.value || y.value < 86 ? 86 : y.value, A = !C.value || C.value < 0 ? 1 : C.value, O = !S.value || S.value < 0 ? 0.2 : S.value, F = g.value ? g.value : "'Lato', sans-serif", q = V.value ? V.value : "1.6em", Z = !u.value || u.value < 0 ? 200 : u.value, ee = x.value ? x.value : "center";
2600
+ return {
2601
+ disabled: s,
2602
+ display: f,
2603
+ buttonColor: b,
2604
+ buttonHoverColor: z,
2605
+ textColor: o,
2606
+ textHoverColor: i,
2607
+ width: p,
2608
+ paddingX: A,
2609
+ paddingY: O,
2610
+ font: F,
2611
+ fontSize: q,
2612
+ fontWeight: Z,
2613
+ textAlign: ee
2614
+ };
2615
+ }), H = t(() => k.value.disabled), r = t(() => {
2616
+ const s = k.value;
2617
+ return {
2618
+ display: s.display,
2619
+ textAlign: s.textAlign
2620
+ };
2621
+ }), B = t(() => {
2622
+ const s = k.value;
2623
+ return {
2624
+ minWidth: "33px",
2625
+ width: s.display === "block" ? "auto" : `${s.width}px`,
2626
+ padding: `${s.paddingY}rem ${s.paddingX}rem`,
2627
+ lineHeight: "1.42857143",
2628
+ fontSize: s.fontSize,
2629
+ fontWeight: s.fontWeight
2630
+ };
2631
+ }), d = t(() => k.value.font), w = t(() => k.value.textColor), v = t(() => k.value.textHoverColor), n = t(() => {
2632
+ const s = k.value;
2633
+ return `linear-gradient(${s.buttonColor}, ${s.buttonColor}) center bottom / 1px 1px repeat-x`;
2634
+ }), a = t(() => {
2635
+ const s = k.value;
2636
+ return `linear-gradient(${s.buttonHoverColor}, ${s.buttonHoverColor}) center bottom / 100% 100% repeat-x`;
2637
+ }), l = () => {
2638
+ X("clicked");
2639
+ };
2640
+ return (s, f) => e.nbId ? (_(), P("div", {
2641
+ key: 0,
2642
+ class: E(["nb-wrapper", H.value]),
2643
+ style: Y([r.value]),
2644
+ tabIndex: e.tabIndex,
2645
+ role: "button",
2646
+ "aria-label": e.ariaLabel,
2647
+ "aria-disabled": I(h),
2648
+ onClick: l,
2649
+ onKeydown: [
2650
+ f[0] || (f[0] = L((b) => !I(h) && e.hasTabIndexEnter && l(), ["enter"])),
2651
+ f[1] || (f[1] = L(j((b) => !I(h) && e.hasTabIndexSpace && l(), ["prevent"]), ["space"]))
2652
+ ]
2653
+ }, [
2654
+ D("div", {
2655
+ id: e.nbId,
2656
+ class: "nb-reset component",
2657
+ style: Y([B.value])
2658
+ }, [
2659
+ M(s.$slots, "content", {}, () => [
2660
+ f[2] || (f[2] = G("Default Text"))
2661
+ ], !0)
2662
+ ], 12, Bt)
2663
+ ], 46, ht)) : K("", !0);
1506
2664
  }
1507
- }), at = /* @__PURE__ */ j(tt, [["__scopeId", "data-v-c0bdc145"]]), te = {
1508
- NbButtonVavaGame: ge,
1509
- NbButtonShowHover: xe,
1510
- NbButtonPrevNext: we,
1511
- NbButtonMechanical: He,
1512
- NbButtonMechanical2: Ye,
1513
- NbButtonHamburger: Oe,
1514
- NbButtonColorOutside: Pe,
1515
- NbButtonColorHover: qe,
1516
- NbButtonAlternateText: Ue,
1517
- NbButtonBack: at
1518
- }, lt = {
2665
+ }), It = /* @__PURE__ */ Q(wt, [["__scopeId", "data-v-d0692556"]]), se = {
2666
+ NbButtonVavaGame: Ce,
2667
+ NbButtonShowHover: we,
2668
+ NbButtonPrevNext: Te,
2669
+ NbButtonMechanical: Ye,
2670
+ NbButtonMechanical2: Ae,
2671
+ NbButtonHamburger: Fe,
2672
+ NbButtonColorOutside: je,
2673
+ NbButtonColorHover: Ue,
2674
+ NbButtonAlternateText: at,
2675
+ NbButtonBack: ut,
2676
+ NbButtonNormal: vt,
2677
+ NbButtonShadow: mt,
2678
+ NbButtonUnderlineExpand: St,
2679
+ NbButtonUnderlineFill: It,
2680
+ NbButtonGradientBorderToBackground: it
2681
+ }, Nt = {
1519
2682
  install(e) {
1520
- for (const s in te)
1521
- if (Object.prototype.hasOwnProperty.call(te, s)) {
1522
- const w = te[s];
1523
- e.component(w.name, w);
2683
+ for (const c in se)
2684
+ if (Object.prototype.hasOwnProperty.call(se, c)) {
2685
+ const X = se[c];
2686
+ e.component(X.name, X);
1524
2687
  }
1525
2688
  }
1526
2689
  };
1527
2690
  export {
1528
- lt as default
2691
+ Nt as default
1529
2692
  };