@brighterly/ui-kit 0.1.5 → 0.1.6

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.
Files changed (3) hide show
  1. package/README.md +30 -1
  2. package/dist/ui-kit.es.js +471 -297
  3. package/package.json +7 -8
package/README.md CHANGED
@@ -1 +1,30 @@
1
- # ui-kit
1
+ # ui-kit
2
+
3
+ **to enable prepush guard**
4
+ run:
5
+ ```shell
6
+ chmod +x _tools/git/pre-push
7
+ ln -s ../../_tools/git/pre-push .git/hooks/pre-push
8
+ ```
9
+
10
+ **to download deps:**
11
+ run:
12
+ ```bash
13
+ set -a; source .env; set +a
14
+ pnpm i
15
+ ```
16
+
17
+ **to login in npm to enable version patch**
18
+ ```bash
19
+ npm login # and then ENTER to login within browser
20
+ npm whoami # to check is everything correct, should log "brighterly"
21
+ ```
22
+
23
+ **to trigger auto-publish with ci**
24
+ to update package version patch|minor|major - (developer must decide what the version should be)
25
+ run:
26
+ **with empty stage changes (any changes that was made can be freely pushed to the repo ci triggers only on tag with v@.@.@ prefix)**
27
+ ```bash
28
+ pnpm version patch -m "release: v%s message for the changes"
29
+ git push --follow-tags
30
+ ```
package/dist/ui-kit.es.js CHANGED
@@ -1,28 +1,27 @@
1
- import { defineComponent as d, openBlock as c, createBlock as h, resolveDynamicComponent as T, withCtx as m, renderSlot as r, computed as p, createElementBlock as s, normalizeClass as o, createVNode as b, unref as y, createElementVNode as C, withModifiers as v, createCommentVNode as f, withDirectives as g, toDisplayString as $, createTextVNode as z } from "vue";
2
- import { faSquare as S, faCircle as w } from "@fortawesome/pro-regular-svg-icons";
3
- import { faSquareCheck as q, faXmark as Q, faEllipsisVertical as R, faScrubber as L } from "@fortawesome/pro-solid-svg-icons";
4
- import { FontAwesomeIcon as _ } from "@fortawesome/vue-fontawesome";
5
- import { vOnClickOutside as D } from "@vueuse/components";
6
- const W = /* @__PURE__ */ d({
1
+ import { defineComponent as f, openBlock as a, createBlock as B, resolveDynamicComponent as U, withCtx as y, renderSlot as k, computed as M, createElementBlock as u, normalizeClass as d, createVNode as p, unref as _, createElementVNode as g, withModifiers as G, createCommentVNode as h, watch as V, toRef as Y, readonly as Z, customRef as ee, ref as te, getCurrentScope as ne, onScopeDispose as oe, toValue as C, shallowRef as H, withDirectives as le, toDisplayString as T, createTextVNode as ce } from "vue";
2
+ import { faSquare as ae, faCircle as ie } from "@fortawesome/pro-regular-svg-icons";
3
+ import { faSquareCheck as se, faXmark as de, faEllipsisVertical as ue, faScrubber as re } from "@fortawesome/pro-solid-svg-icons";
4
+ import { FontAwesomeIcon as I } from "@fortawesome/vue-fontawesome";
5
+ const fe = /* @__PURE__ */ f({
7
6
  name: "IconContainer",
8
7
  __name: "IconContainer",
9
8
  props: {
10
9
  is: { default: "span" }
11
10
  },
12
- setup(t) {
13
- return (l, n) => (c(), h(T(t.is), { class: "icon-container" }, {
14
- default: m(() => [
15
- r(l.$slots, "default", {}, void 0, !0)
11
+ setup(e) {
12
+ return (t, o) => (a(), B(U(e.is), { class: "icon-container" }, {
13
+ default: y(() => [
14
+ k(t.$slots, "default", {}, void 0, !0)
16
15
  ]),
17
16
  _: 3
18
17
  }));
19
18
  }
20
- }), u = (t, l) => {
21
- const n = t.__vccOpts || t;
22
- for (const [a, e] of l)
23
- n[a] = e;
24
- return n;
25
- }, k = /* @__PURE__ */ u(W, [["__scopeId", "data-v-41c12e6f"]]), M = ["disabled"], V = /* @__PURE__ */ d({
19
+ }), m = (e, t) => {
20
+ const o = e.__vccOpts || e;
21
+ for (const [l, n] of t)
22
+ o[l] = n;
23
+ return o;
24
+ }, $ = /* @__PURE__ */ m(fe, [["__scopeId", "data-v-41c12e6f"]]), me = ["disabled"], be = /* @__PURE__ */ f({
26
25
  name: "BtnCheckbox",
27
26
  __name: "ButtonCheckbox",
28
27
  props: {
@@ -30,54 +29,54 @@ const W = /* @__PURE__ */ d({
30
29
  disabled: { type: Boolean, default: !1 }
31
30
  },
32
31
  emits: ["click"],
33
- setup(t, { emit: l }) {
34
- const n = t, a = l, e = () => {
35
- n.disabled || a("click");
36
- }, i = p(() => n.checked ? q : S);
37
- return (B, I) => (c(), s("button", {
38
- class: o(["btn-checkbox", { checked: t.checked, disabled: t.disabled }]),
39
- disabled: t.disabled,
40
- onClick: e
32
+ setup(e, { emit: t }) {
33
+ const o = e, l = t, n = () => {
34
+ o.disabled || l("click");
35
+ }, c = M(() => o.checked ? se : ae);
36
+ return (s, x) => (a(), u("button", {
37
+ class: d(["btn-checkbox", { checked: e.checked, disabled: e.disabled }]),
38
+ disabled: e.disabled,
39
+ onClick: n
41
40
  }, [
42
- b(k, { class: "medium" }, {
43
- default: m(() => [
44
- b(y(_), { icon: i.value }, null, 8, ["icon"])
41
+ p($, { class: "medium" }, {
42
+ default: y(() => [
43
+ p(_(I), { icon: c.value }, null, 8, ["icon"])
45
44
  ]),
46
45
  _: 1
47
46
  })
48
- ], 10, M));
47
+ ], 10, me));
49
48
  }
50
- }), Qt = /* @__PURE__ */ u(V, [["__scopeId", "data-v-df7a5c10"]]), j = ["disabled"], N = /* @__PURE__ */ d({
49
+ }), ht = /* @__PURE__ */ m(be, [["__scopeId", "data-v-df7a5c10"]]), ke = ["disabled"], he = /* @__PURE__ */ f({
51
50
  name: "BtnClose",
52
51
  __name: "ButtonClose",
53
52
  props: {
54
- icon: { default: () => Q },
53
+ icon: { default: () => de },
55
54
  disabled: { type: Boolean, default: !1 },
56
55
  color: { default: "gray" },
57
56
  size: { default: "medium" }
58
57
  },
59
58
  emits: ["click"],
60
- setup(t, { emit: l }) {
61
- const n = l, a = () => {
62
- n("click");
59
+ setup(e, { emit: t }) {
60
+ const o = t, l = () => {
61
+ o("click");
63
62
  };
64
- return (e, i) => (c(), s("button", {
63
+ return (n, c) => (a(), u("button", {
65
64
  type: "button",
66
- class: o(["ui-btn-close", t.color, t.size]),
67
- disabled: t.disabled,
68
- onClick: a
65
+ class: d(["ui-btn-close", e.color, e.size]),
66
+ disabled: e.disabled,
67
+ onClick: l
69
68
  }, [
70
- b(k, {
71
- class: o([`ui-btn-close__container container-${t.size}`])
69
+ p($, {
70
+ class: d([`ui-btn-close__container container-${e.size}`])
72
71
  }, {
73
- default: m(() => [
74
- b(y(_), { icon: t.icon }, null, 8, ["icon"])
72
+ default: y(() => [
73
+ p(_(I), { icon: e.icon }, null, 8, ["icon"])
75
74
  ]),
76
75
  _: 1
77
76
  }, 8, ["class"])
78
- ], 10, j));
77
+ ], 10, ke));
79
78
  }
80
- }), Rt = /* @__PURE__ */ u(N, [["__scopeId", "data-v-e98c30ca"]]), O = { class: "tooltip__box" }, E = ["innerHTML"], K = /* @__PURE__ */ d({
79
+ }), yt = /* @__PURE__ */ m(he, [["__scopeId", "data-v-e98c30ca"]]), ye = { class: "tooltip__box" }, pe = ["innerHTML"], ve = /* @__PURE__ */ f({
81
80
  name: "TooltipDefault",
82
81
  __name: "TooltipDefault",
83
82
  props: {
@@ -85,20 +84,20 @@ const W = /* @__PURE__ */ d({
85
84
  size: { default: "default" },
86
85
  placement: { default: "left" }
87
86
  },
88
- setup(t) {
89
- return (l, n) => (c(), s("div", {
90
- class: o(["tooltip", t.size, t.placement])
87
+ setup(e) {
88
+ return (t, o) => (a(), u("div", {
89
+ class: d(["tooltip", e.size, e.placement])
91
90
  }, [
92
- C("div", O, [
93
- t.text ? (c(), s("span", {
91
+ g("div", ye, [
92
+ e.text ? (a(), u("span", {
94
93
  key: 0,
95
94
  class: "tooltip__text",
96
- innerHTML: t.text
97
- }, null, 8, E)) : r(l.$slots, "default", { key: 1 }, void 0, !0)
95
+ innerHTML: e.text
96
+ }, null, 8, pe)) : k(t.$slots, "default", { key: 1 }, void 0, !0)
98
97
  ])
99
98
  ], 2));
100
99
  }
101
- }), x = /* @__PURE__ */ u(K, [["__scopeId", "data-v-ca5d60f0"]]), P = ["data-qa", "disabled"], H = /* @__PURE__ */ d({
100
+ }), O = /* @__PURE__ */ m(ve, [["__scopeId", "data-v-ca5d60f0"]]), $e = ["data-qa", "disabled"], Be = /* @__PURE__ */ f({
102
101
  name: "BtnIcon",
103
102
  __name: "ButtonIcon",
104
103
  props: {
@@ -110,35 +109,210 @@ const W = /* @__PURE__ */ d({
110
109
  dataQa: { default: null }
111
110
  },
112
111
  emits: ["click", "click:close"],
113
- setup(t, { emit: l }) {
114
- const n = l, a = () => {
115
- n("click");
116
- }, e = (i) => {
117
- n("click:close", i);
112
+ setup(e, { emit: t }) {
113
+ const o = t, l = () => {
114
+ o("click");
115
+ }, n = (c) => {
116
+ o("click:close", c);
118
117
  };
119
- return (i, B) => (c(), s("button", {
118
+ return (c, s) => (a(), u("button", {
120
119
  type: "button",
121
- class: o(["ui-btn-icon", t.color, t.size, { tooltip: t.tooltip }]),
122
- "data-qa": t.dataQa,
123
- disabled: t.disabled,
120
+ class: d(["ui-btn-icon", e.color, e.size, { tooltip: e.tooltip }]),
121
+ "data-qa": e.dataQa,
122
+ disabled: e.disabled,
124
123
  onClick: [
125
- a,
126
- v(e, ["stop"])
124
+ l,
125
+ G(n, ["stop"])
127
126
  ]
128
127
  }, [
129
- b(k, { is: "span" }, {
130
- default: m(() => [
131
- b(y(_), { icon: t.icon }, null, 8, ["icon"])
128
+ p($, { is: "span" }, {
129
+ default: y(() => [
130
+ p(_(I), { icon: e.icon }, null, 8, ["icon"])
132
131
  ]),
133
132
  _: 1
134
133
  }),
135
- t.tooltip ? (c(), h(x, {
134
+ e.tooltip ? (a(), B(O, {
136
135
  key: 0,
137
- text: t.tooltip
138
- }, null, 8, ["text"])) : f("", !0)
139
- ], 10, P));
136
+ text: e.tooltip
137
+ }, null, 8, ["text"])) : h("", !0)
138
+ ], 10, $e));
140
139
  }
141
- }), Lt = /* @__PURE__ */ u(H, [["__scopeId", "data-v-11788724"]]), A = ["disabled"], F = /* @__PURE__ */ d({
140
+ }), pt = /* @__PURE__ */ m(Be, [["__scopeId", "data-v-11788724"]]);
141
+ function _e(e, t) {
142
+ return ne() ? (oe(e, t), !0) : !1;
143
+ }
144
+ const Ce = typeof window < "u" && typeof document < "u";
145
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
146
+ const xe = Object.prototype.toString, Te = (e) => xe.call(e) === "[object Object]", z = () => {
147
+ };
148
+ function Ie(...e) {
149
+ if (e.length !== 1) return Y(...e);
150
+ const t = e[0];
151
+ return typeof t == "function" ? Z(ee(() => ({
152
+ get: t,
153
+ set: z
154
+ }))) : te(t);
155
+ }
156
+ function q(e) {
157
+ return Array.isArray(e) ? e : [e];
158
+ }
159
+ function ge(e, t, o) {
160
+ return V(e, t, {
161
+ ...o,
162
+ immediate: !0
163
+ });
164
+ }
165
+ const X = Ce ? window : void 0;
166
+ function R(e) {
167
+ var t;
168
+ const o = C(e);
169
+ return (t = o?.$el) !== null && t !== void 0 ? t : o;
170
+ }
171
+ function D(...e) {
172
+ const t = (l, n, c, s) => (l.addEventListener(n, c, s), () => l.removeEventListener(n, c, s)), o = M(() => {
173
+ const l = q(C(e[0])).filter((n) => n != null);
174
+ return l.every((n) => typeof n != "string") ? l : void 0;
175
+ });
176
+ return ge(() => {
177
+ var l, n;
178
+ return [
179
+ (l = (n = o.value) === null || n === void 0 ? void 0 : n.map((c) => R(c))) !== null && l !== void 0 ? l : [X].filter((c) => c != null),
180
+ q(C(o.value ? e[1] : e[0])),
181
+ q(_(o.value ? e[2] : e[1])),
182
+ C(o.value ? e[3] : e[2])
183
+ ];
184
+ }, ([l, n, c, s], x, b) => {
185
+ if (!l?.length || !n?.length || !c?.length) return;
186
+ const E = Te(s) ? { ...s } : s, W = l.flatMap((S) => n.flatMap((L) => c.map((w) => t(S, L, w, E))));
187
+ b(() => {
188
+ W.forEach((S) => S());
189
+ });
190
+ }, { flush: "post" });
191
+ }
192
+ function K(e, t, o = {}) {
193
+ const { window: l = X, ignore: n = [], capture: c = !0, detectIframe: s = !1, controls: x = !1 } = o;
194
+ if (!l) return x ? {
195
+ stop: z,
196
+ cancel: z,
197
+ trigger: z
198
+ } : z;
199
+ let b = !0;
200
+ const E = (i) => C(n).some((r) => {
201
+ if (typeof r == "string") return Array.from(l.document.querySelectorAll(r)).some((v) => v === i.target || i.composedPath().includes(v));
202
+ {
203
+ const v = R(r);
204
+ return v && (i.target === v || i.composedPath().includes(v));
205
+ }
206
+ });
207
+ function W(i) {
208
+ const r = C(i);
209
+ return r && r.$.subTree.shapeFlag === 16;
210
+ }
211
+ function S(i, r) {
212
+ const v = C(i), P = v.$.subTree && v.$.subTree.children;
213
+ return P == null || !Array.isArray(P) ? !1 : P.some((F) => F.el === r.target || r.composedPath().includes(F.el));
214
+ }
215
+ const L = (i) => {
216
+ const r = R(e);
217
+ if (i.target != null && !(!(r instanceof Element) && W(e) && S(e, i)) && !(!r || r === i.target || i.composedPath().includes(r))) {
218
+ if ("detail" in i && i.detail === 0 && (b = !E(i)), !b) {
219
+ b = !0;
220
+ return;
221
+ }
222
+ t(i);
223
+ }
224
+ };
225
+ let w = !1;
226
+ const J = [
227
+ D(l, "click", (i) => {
228
+ w || (w = !0, setTimeout(() => {
229
+ w = !1;
230
+ }, 0), L(i));
231
+ }, {
232
+ passive: !0,
233
+ capture: c
234
+ }),
235
+ D(l, "pointerdown", (i) => {
236
+ const r = R(e);
237
+ b = !E(i) && !!(r && !i.composedPath().includes(r));
238
+ }, { passive: !0 }),
239
+ s && D(l, "blur", (i) => {
240
+ setTimeout(() => {
241
+ var r;
242
+ const v = R(e);
243
+ ((r = l.document.activeElement) === null || r === void 0 ? void 0 : r.tagName) === "IFRAME" && !v?.contains(l.document.activeElement) && t(i);
244
+ }, 0);
245
+ }, { passive: !0 })
246
+ ].filter(Boolean), N = () => J.forEach((i) => i());
247
+ return x ? {
248
+ stop: N,
249
+ cancel: () => {
250
+ b = !1;
251
+ },
252
+ trigger: (i) => {
253
+ b = !0, L(i), b = !1;
254
+ }
255
+ } : N;
256
+ }
257
+ function j(e) {
258
+ return typeof Window < "u" && e instanceof Window ? e.document.documentElement : typeof Document < "u" && e instanceof Document ? e.documentElement : e;
259
+ }
260
+ const A = /* @__PURE__ */ new WeakMap();
261
+ function Se(e, t = !1) {
262
+ const o = H(t);
263
+ let l = "";
264
+ V(Ie(e), (s) => {
265
+ const x = j(C(s));
266
+ if (x) {
267
+ const b = x;
268
+ if (A.get(b) || A.set(b, b.style.overflow), b.style.overflow !== "hidden" && (l = b.style.overflow), b.style.overflow === "hidden") return o.value = !0;
269
+ if (o.value) return b.style.overflow = "hidden";
270
+ }
271
+ }, { immediate: !0 });
272
+ const n = () => {
273
+ const s = j(C(e));
274
+ !s || o.value || (s.style.overflow = "hidden", o.value = !0);
275
+ }, c = () => {
276
+ const s = j(C(e));
277
+ !s || !o.value || (s.style.overflow = l, A.delete(s), o.value = !1);
278
+ };
279
+ return _e(c), M({
280
+ get() {
281
+ return o.value;
282
+ },
283
+ set(s) {
284
+ s ? n() : c();
285
+ }
286
+ });
287
+ }
288
+ const Q = /* @__PURE__ */ new WeakMap(), we = {
289
+ mounted(e, t) {
290
+ const o = !t.modifiers.bubble;
291
+ let l;
292
+ if (typeof t.value == "function") l = K(e, t.value, { capture: o });
293
+ else {
294
+ const [n, c] = t.value;
295
+ l = K(e, n, Object.assign({ capture: o }, c));
296
+ }
297
+ Q.set(e, l);
298
+ },
299
+ unmounted(e) {
300
+ const t = Q.get(e);
301
+ t && typeof t == "function" ? t() : t?.stop(), Q.delete(e);
302
+ }
303
+ };
304
+ function ze() {
305
+ let e = !1;
306
+ const t = H(!1);
307
+ return (o, l) => {
308
+ if (t.value = l.value, e) return;
309
+ e = !0;
310
+ const n = Se(o, l.value);
311
+ V(t, (c) => n.value = c);
312
+ };
313
+ }
314
+ ze();
315
+ const Re = ["disabled"], Ee = /* @__PURE__ */ f({
142
316
  name: "BtnKebab",
143
317
  __name: "ButtonKebab",
144
318
  props: {
@@ -146,32 +320,32 @@ const W = /* @__PURE__ */ d({
146
320
  disabled: { type: Boolean }
147
321
  },
148
322
  emits: ["click", "click:outside"],
149
- setup(t, { emit: l }) {
150
- const n = l, a = () => {
151
- n("click");
152
- }, e = () => {
153
- n("click:outside");
323
+ setup(e, { emit: t }) {
324
+ const o = t, l = () => {
325
+ o("click");
326
+ }, n = () => {
327
+ o("click:outside");
154
328
  };
155
- return (i, B) => g((c(), s("button", {
156
- class: o(["btn-kebab", t.size]),
329
+ return (c, s) => le((a(), u("button", {
330
+ class: d(["btn-kebab", e.size]),
157
331
  type: "button",
158
- disabled: t.disabled,
159
- onClick: a
332
+ disabled: e.disabled,
333
+ onClick: l
160
334
  }, [
161
- b(k, null, {
162
- default: m(() => [
163
- b(y(_), { icon: y(R) }, null, 8, ["icon"])
335
+ p($, null, {
336
+ default: y(() => [
337
+ p(_(I), { icon: _(ue) }, null, 8, ["icon"])
164
338
  ]),
165
339
  _: 1
166
340
  })
167
- ], 10, A)), [
168
- [y(D), e]
341
+ ], 10, Re)), [
342
+ [_(we), n]
169
343
  ]);
170
344
  }
171
- }), Dt = /* @__PURE__ */ u(F, [["__scopeId", "data-v-d98b1fcd"]]), X = ["data-qa", "disabled"], G = {
345
+ }), vt = /* @__PURE__ */ m(Ee, [["__scopeId", "data-v-d98b1fcd"]]), Le = ["data-qa", "disabled"], Me = {
172
346
  key: 2,
173
347
  class: "ui-btn-primary__text"
174
- }, J = /* @__PURE__ */ d({
348
+ }, Oe = /* @__PURE__ */ f({
175
349
  name: "BtnPrimary",
176
350
  __name: "ButtonPrimary",
177
351
  props: {
@@ -184,45 +358,45 @@ const W = /* @__PURE__ */ d({
184
358
  dataQa: { default: null }
185
359
  },
186
360
  emits: ["click"],
187
- setup(t, { emit: l }) {
188
- const n = l, a = () => {
189
- n("click");
361
+ setup(e, { emit: t }) {
362
+ const o = t, l = () => {
363
+ o("click");
190
364
  };
191
- return (e, i) => (c(), s("button", {
365
+ return (n, c) => (a(), u("button", {
192
366
  type: "button",
193
- class: o(["ui-btn-primary", t.color, t.size, t.elementWidth, { tooltip: t.tooltip }]),
194
- "data-qa": t.dataQa,
195
- disabled: t.disabled,
196
- onClick: a
367
+ class: d(["ui-btn-primary", e.color, e.size, e.elementWidth, { tooltip: e.tooltip }]),
368
+ "data-qa": e.dataQa,
369
+ disabled: e.disabled,
370
+ onClick: l
197
371
  }, [
198
- e.$slots.iconLeft ? (c(), h(k, {
372
+ n.$slots.iconLeft ? (a(), B($, {
199
373
  key: 0,
200
- class: o([t.size])
374
+ class: d([e.size])
201
375
  }, {
202
- default: m(() => [
203
- r(e.$slots, "iconLeft", {}, void 0, !0)
376
+ default: y(() => [
377
+ k(n.$slots, "iconLeft", {}, void 0, !0)
204
378
  ]),
205
379
  _: 3
206
- }, 8, ["class"])) : f("", !0),
207
- e.$slots.content ? r(e.$slots, "content", { key: 1 }, void 0, !0) : (c(), s("span", G, $(t.text), 1)),
208
- e.$slots.iconRight ? (c(), h(k, {
380
+ }, 8, ["class"])) : h("", !0),
381
+ n.$slots.content ? k(n.$slots, "content", { key: 1 }, void 0, !0) : (a(), u("span", Me, T(e.text), 1)),
382
+ n.$slots.iconRight ? (a(), B($, {
209
383
  key: 3,
210
- class: o([`container-${t.size}`])
384
+ class: d([`container-${e.size}`])
211
385
  }, {
212
- default: m(() => [
213
- r(e.$slots, "iconRight", {}, void 0, !0)
386
+ default: y(() => [
387
+ k(n.$slots, "iconRight", {}, void 0, !0)
214
388
  ]),
215
389
  _: 3
216
- }, 8, ["class"])) : f("", !0),
217
- t.tooltip ? (c(), h(x, {
390
+ }, 8, ["class"])) : h("", !0),
391
+ e.tooltip ? (a(), B(O, {
218
392
  key: 4,
219
393
  class: "tooltip-default",
220
- text: t.tooltip,
394
+ text: e.tooltip,
221
395
  size: "small"
222
- }, null, 8, ["text"])) : f("", !0)
223
- ], 10, X));
396
+ }, null, 8, ["text"])) : h("", !0)
397
+ ], 10, Le));
224
398
  }
225
- }), Wt = /* @__PURE__ */ u(J, [["__scopeId", "data-v-706d9910"]]), U = ["disabled"], Y = /* @__PURE__ */ d({
399
+ }), $t = /* @__PURE__ */ m(Oe, [["__scopeId", "data-v-706d9910"]]), We = ["disabled"], Pe = /* @__PURE__ */ f({
226
400
  name: "BtnRadio",
227
401
  __name: "ButtonRadio",
228
402
  props: {
@@ -230,24 +404,24 @@ const W = /* @__PURE__ */ d({
230
404
  disabled: { type: Boolean, default: !1 }
231
405
  },
232
406
  emits: ["click"],
233
- setup(t, { emit: l }) {
234
- const n = t, a = l, e = () => {
235
- n.disabled || a("click");
236
- }, i = p(() => n.checked ? L : w);
237
- return (B, I) => (c(), s("button", {
238
- class: o(["btn-radio", { checked: t.checked, disabled: t.disabled }]),
239
- disabled: t.disabled,
240
- onClick: e
407
+ setup(e, { emit: t }) {
408
+ const o = e, l = t, n = () => {
409
+ o.disabled || l("click");
410
+ }, c = M(() => o.checked ? re : ie);
411
+ return (s, x) => (a(), u("button", {
412
+ class: d(["btn-radio", { checked: e.checked, disabled: e.disabled }]),
413
+ disabled: e.disabled,
414
+ onClick: n
241
415
  }, [
242
- b(k, { class: "medium" }, {
243
- default: m(() => [
244
- b(y(_), { icon: i.value }, null, 8, ["icon"])
416
+ p($, { class: "medium" }, {
417
+ default: y(() => [
418
+ p(_(I), { icon: c.value }, null, 8, ["icon"])
245
419
  ]),
246
420
  _: 1
247
421
  })
248
- ], 10, U));
422
+ ], 10, We));
249
423
  }
250
- }), Mt = /* @__PURE__ */ u(Y, [["__scopeId", "data-v-23c610f4"]]), Z = ["disabled"], tt = { class: "ui-btn-secondary__text" }, et = /* @__PURE__ */ d({
424
+ }), Bt = /* @__PURE__ */ m(Pe, [["__scopeId", "data-v-23c610f4"]]), qe = ["disabled"], De = { class: "ui-btn-secondary__text" }, je = /* @__PURE__ */ f({
251
425
  name: "BtnSecondary",
252
426
  __name: "ButtonSecondary",
253
427
  props: {
@@ -259,39 +433,39 @@ const W = /* @__PURE__ */ d({
259
433
  color: { default: "blue" }
260
434
  },
261
435
  emits: ["click"],
262
- setup(t, { emit: l }) {
263
- const n = l, a = () => {
264
- n("click");
436
+ setup(e, { emit: t }) {
437
+ const o = t, l = () => {
438
+ o("click");
265
439
  };
266
- return (e, i) => (c(), s("button", {
440
+ return (n, c) => (a(), u("button", {
267
441
  type: "button",
268
- class: o(["ui-btn-secondary", t.size, t.elementWidth, t.color, { disabled: t.disabled }, { selected: t.selected }]),
269
- disabled: t.disabled,
270
- onClick: a
442
+ class: d(["ui-btn-secondary", e.size, e.elementWidth, e.color, { disabled: e.disabled }, { selected: e.selected }]),
443
+ disabled: e.disabled,
444
+ onClick: l
271
445
  }, [
272
- e.$slots.iconLeft ? (c(), h(k, {
446
+ n.$slots.iconLeft ? (a(), B($, {
273
447
  key: 0,
274
- class: o([`container-${t.size}`])
448
+ class: d([`container-${e.size}`])
275
449
  }, {
276
- default: m(() => [
277
- r(e.$slots, "iconLeft", {}, void 0, !0)
450
+ default: y(() => [
451
+ k(n.$slots, "iconLeft", {}, void 0, !0)
278
452
  ]),
279
453
  _: 3
280
- }, 8, ["class"])) : f("", !0),
281
- C("span", tt, $(t.text), 1),
282
- e.$slots.iconRight ? (c(), h(k, {
454
+ }, 8, ["class"])) : h("", !0),
455
+ g("span", De, T(e.text), 1),
456
+ n.$slots.iconRight ? (a(), B($, {
283
457
  key: 1,
284
- class: o([`container-${t.size}`])
458
+ class: d([`container-${e.size}`])
285
459
  }, {
286
- default: m(() => [
287
- r(e.$slots, "iconRight", {}, void 0, !0)
460
+ default: y(() => [
461
+ k(n.$slots, "iconRight", {}, void 0, !0)
288
462
  ]),
289
463
  _: 3
290
- }, 8, ["class"])) : f("", !0),
291
- r(e.$slots, "tooltip", {}, void 0, !0)
292
- ], 10, Z));
464
+ }, 8, ["class"])) : h("", !0),
465
+ k(n.$slots, "tooltip", {}, void 0, !0)
466
+ ], 10, qe));
293
467
  }
294
- }), Vt = /* @__PURE__ */ u(et, [["__scopeId", "data-v-5945e6cf"]]), nt = ["disabled"], lt = /* @__PURE__ */ d({
468
+ }), _t = /* @__PURE__ */ m(je, [["__scopeId", "data-v-5945e6cf"]]), Ae = ["disabled"], Qe = /* @__PURE__ */ f({
295
469
  name: "BtnSecondaryIcon",
296
470
  __name: "ButtonSecondaryIcon",
297
471
  props: {
@@ -300,25 +474,25 @@ const W = /* @__PURE__ */ d({
300
474
  color: { default: "gray" }
301
475
  },
302
476
  emits: ["click"],
303
- setup(t, { emit: l }) {
304
- const n = l, a = () => {
305
- n("click");
477
+ setup(e, { emit: t }) {
478
+ const o = t, l = () => {
479
+ o("click");
306
480
  };
307
- return (e, i) => (c(), s("button", {
481
+ return (n, c) => (a(), u("button", {
308
482
  type: "button",
309
- class: o(["ui-btn-secondary-icon", t.color]),
310
- disabled: t.disabled,
311
- onClick: a
483
+ class: d(["ui-btn-secondary-icon", e.color]),
484
+ disabled: e.disabled,
485
+ onClick: l
312
486
  }, [
313
- b(k, { is: "span" }, {
314
- default: m(() => [
315
- b(y(_), { icon: t.icon }, null, 8, ["icon"])
487
+ p($, { is: "span" }, {
488
+ default: y(() => [
489
+ p(_(I), { icon: e.icon }, null, 8, ["icon"])
316
490
  ]),
317
491
  _: 1
318
492
  })
319
- ], 10, nt));
493
+ ], 10, Ae));
320
494
  }
321
- }), jt = /* @__PURE__ */ u(lt, [["__scopeId", "data-v-5daf6b95"]]), at = ["disabled"], ct = { class: "btn-simple__text" }, ot = /* @__PURE__ */ d({
495
+ }), Ct = /* @__PURE__ */ m(Qe, [["__scopeId", "data-v-5daf6b95"]]), Ve = ["disabled"], Ne = { class: "btn-simple__text" }, Fe = /* @__PURE__ */ f({
322
496
  name: "BtnSimple",
323
497
  __name: "ButtonSimple",
324
498
  props: {
@@ -326,28 +500,28 @@ const W = /* @__PURE__ */ d({
326
500
  disabled: { type: Boolean, default: !1 }
327
501
  },
328
502
  emits: ["click"],
329
- setup(t, { emit: l }) {
330
- const n = l, a = () => {
331
- n("click");
503
+ setup(e, { emit: t }) {
504
+ const o = t, l = () => {
505
+ o("click");
332
506
  };
333
- return (e, i) => (c(), s("button", {
507
+ return (n, c) => (a(), u("button", {
334
508
  type: "button",
335
- class: o(["btn-simple"]),
336
- disabled: t.disabled,
337
- onClick: a
509
+ class: d(["btn-simple"]),
510
+ disabled: e.disabled,
511
+ onClick: l
338
512
  }, [
339
- e.$slots.leftIcon ? r(e.$slots, "leftIcon", { key: 0 }, void 0, !0) : f("", !0),
340
- C("span", ct, $(t.text), 1),
341
- e.$slots.rightIcon ? r(e.$slots, "rightIcon", { key: 1 }, void 0, !0) : f("", !0)
342
- ], 8, at));
513
+ n.$slots.leftIcon ? k(n.$slots, "leftIcon", { key: 0 }, void 0, !0) : h("", !0),
514
+ g("span", Ne, T(e.text), 1),
515
+ n.$slots.rightIcon ? k(n.$slots, "rightIcon", { key: 1 }, void 0, !0) : h("", !0)
516
+ ], 8, Ve));
343
517
  }
344
- }), Nt = /* @__PURE__ */ u(ot, [["__scopeId", "data-v-0429e610"]]), st = ["disabled"], it = {
518
+ }), xt = /* @__PURE__ */ m(Fe, [["__scopeId", "data-v-0429e610"]]), Ke = ["disabled"], Ge = {
345
519
  key: 0,
346
520
  class: "btn-switcher__emoji"
347
- }, dt = {
521
+ }, He = {
348
522
  key: 1,
349
523
  class: "btn-switcher__label"
350
- }, ut = /* @__PURE__ */ d({
524
+ }, Xe = /* @__PURE__ */ f({
351
525
  name: "BtnSwitcher",
352
526
  __name: "ButtonSwitcher",
353
527
  props: {
@@ -359,35 +533,35 @@ const W = /* @__PURE__ */ d({
359
533
  disabled: { type: Boolean, default: !1 }
360
534
  },
361
535
  emits: ["click"],
362
- setup(t, { emit: l }) {
363
- const n = l, a = () => {
364
- n("click");
536
+ setup(e, { emit: t }) {
537
+ const o = t, l = () => {
538
+ o("click");
365
539
  };
366
- return (e, i) => (c(), s("div", {
367
- class: o(["content-switcher", { selected: t.selected, disabled: t.disabled }])
540
+ return (n, c) => (a(), u("div", {
541
+ class: d(["content-switcher", { selected: e.selected, disabled: e.disabled }])
368
542
  }, [
369
- C("button", {
543
+ g("button", {
370
544
  type: "button",
371
- class: o(["btn-switcher", { selected: t.selected }]),
372
- disabled: t.disabled,
373
- onClick: a
545
+ class: d(["btn-switcher", { selected: e.selected }]),
546
+ disabled: e.disabled,
547
+ onClick: l
374
548
  }, [
375
- t.emoji ? (c(), s("span", it, $(t.emoji), 1)) : f("", !0),
376
- z(" " + $(t.text) + " ", 1),
377
- t.label ? (c(), s("span", dt, $(t.label), 1)) : f("", !0)
378
- ], 10, st),
379
- t.tooltip ? (c(), h(x, {
549
+ e.emoji ? (a(), u("span", Ge, T(e.emoji), 1)) : h("", !0),
550
+ ce(" " + T(e.text) + " ", 1),
551
+ e.label ? (a(), u("span", He, T(e.label), 1)) : h("", !0)
552
+ ], 10, Ke),
553
+ e.tooltip ? (a(), B(O, {
380
554
  key: 0,
381
- text: t.tooltip,
555
+ text: e.tooltip,
382
556
  placement: "center",
383
557
  size: "small"
384
- }, null, 8, ["text"])) : f("", !0)
558
+ }, null, 8, ["text"])) : h("", !0)
385
559
  ], 2));
386
560
  }
387
- }), Ot = /* @__PURE__ */ u(ut, [["__scopeId", "data-v-b59270a4"]]), rt = ["disabled"], ft = {
561
+ }), Tt = /* @__PURE__ */ m(Xe, [["__scopeId", "data-v-b59270a4"]]), Je = ["disabled"], Ue = {
388
562
  key: 1,
389
563
  class: "ui-btn-text__text"
390
- }, mt = /* @__PURE__ */ d({
564
+ }, Ye = /* @__PURE__ */ f({
391
565
  name: "BtnText",
392
566
  __name: "ButtonText",
393
567
  props: {
@@ -398,38 +572,38 @@ const W = /* @__PURE__ */ d({
398
572
  elementWidth: { default: "auto" }
399
573
  },
400
574
  emits: ["click"],
401
- setup(t, { emit: l }) {
402
- const n = l, a = () => {
403
- n("click");
575
+ setup(e, { emit: t }) {
576
+ const o = t, l = () => {
577
+ o("click");
404
578
  };
405
- return (e, i) => (c(), s("button", {
579
+ return (n, c) => (a(), u("button", {
406
580
  type: "button",
407
- class: o(["ui-btn-text", t.color, t.size, t.elementWidth]),
408
- disabled: t.disabled,
409
- onClick: a
581
+ class: d(["ui-btn-text", e.color, e.size, e.elementWidth]),
582
+ disabled: e.disabled,
583
+ onClick: l
410
584
  }, [
411
- e.$slots.iconLeft ? (c(), h(k, {
585
+ n.$slots.iconLeft ? (a(), B($, {
412
586
  key: 0,
413
- class: o([`container-${t.size}`])
587
+ class: d([`container-${e.size}`])
414
588
  }, {
415
- default: m(() => [
416
- r(e.$slots, "iconLeft", {}, void 0, !0)
589
+ default: y(() => [
590
+ k(n.$slots, "iconLeft", {}, void 0, !0)
417
591
  ]),
418
592
  _: 3
419
- }, 8, ["class"])) : f("", !0),
420
- t.text ? (c(), s("span", ft, $(t.text), 1)) : f("", !0),
421
- e.$slots.iconRight ? (c(), h(k, {
593
+ }, 8, ["class"])) : h("", !0),
594
+ e.text ? (a(), u("span", Ue, T(e.text), 1)) : h("", !0),
595
+ n.$slots.iconRight ? (a(), B($, {
422
596
  key: 2,
423
- class: o([`container-${t.size}`])
597
+ class: d([`container-${e.size}`])
424
598
  }, {
425
- default: m(() => [
426
- r(e.$slots, "iconRight", {}, void 0, !0)
599
+ default: y(() => [
600
+ k(n.$slots, "iconRight", {}, void 0, !0)
427
601
  ]),
428
602
  _: 3
429
- }, 8, ["class"])) : f("", !0)
430
- ], 10, rt));
603
+ }, 8, ["class"])) : h("", !0)
604
+ ], 10, Je));
431
605
  }
432
- }), Et = /* @__PURE__ */ u(mt, [["__scopeId", "data-v-8f62a933"]]), bt = ["disabled"], kt = /* @__PURE__ */ d({
606
+ }), It = /* @__PURE__ */ m(Ye, [["__scopeId", "data-v-8f62a933"]]), Ze = ["disabled"], et = /* @__PURE__ */ f({
433
607
  name: "BtnToggle",
434
608
  __name: "ButtonToggle",
435
609
  props: {
@@ -437,19 +611,19 @@ const W = /* @__PURE__ */ d({
437
611
  disabled: { type: Boolean, default: !1 }
438
612
  },
439
613
  emits: ["click"],
440
- setup(t, { emit: l }) {
441
- const n = t, a = l, e = () => {
442
- n.disabled || a("click");
614
+ setup(e, { emit: t }) {
615
+ const o = e, l = t, n = () => {
616
+ o.disabled || l("click");
443
617
  };
444
- return (i, B) => (c(), s("button", {
445
- class: o(["btn-toggle", { checked: t.checked, disabled: t.disabled }]),
446
- disabled: t.disabled,
447
- onClick: e
448
- }, [...B[0] || (B[0] = [
449
- C("span", { class: "btn-toggle__circle" }, null, -1)
450
- ])], 10, bt));
618
+ return (c, s) => (a(), u("button", {
619
+ class: d(["btn-toggle", { checked: e.checked, disabled: e.disabled }]),
620
+ disabled: e.disabled,
621
+ onClick: n
622
+ }, [...s[0] || (s[0] = [
623
+ g("span", { class: "btn-toggle__circle" }, null, -1)
624
+ ])], 10, Ze));
451
625
  }
452
- }), Kt = /* @__PURE__ */ u(kt, [["__scopeId", "data-v-ee7f505b"]]), ht = ["data-qa", "disabled"], yt = { class: "ui-btn-transparent-icon__wrap" }, Bt = /* @__PURE__ */ d({
626
+ }), gt = /* @__PURE__ */ m(et, [["__scopeId", "data-v-ee7f505b"]]), tt = ["data-qa", "disabled"], nt = { class: "ui-btn-transparent-icon__wrap" }, ot = /* @__PURE__ */ f({
453
627
  name: "BtnTransparentIcon",
454
628
  __name: "ButtonTransparentIcon",
455
629
  props: {
@@ -459,37 +633,37 @@ const W = /* @__PURE__ */ d({
459
633
  dataQa: { default: null }
460
634
  },
461
635
  emits: ["click", "click:close"],
462
- setup(t, { emit: l }) {
463
- const n = l, a = () => {
464
- n("click");
465
- }, e = (i) => {
466
- n("click:close", i);
636
+ setup(e, { emit: t }) {
637
+ const o = t, l = () => {
638
+ o("click");
639
+ }, n = (c) => {
640
+ o("click:close", c);
467
641
  };
468
- return (i, B) => (c(), s("button", {
642
+ return (c, s) => (a(), u("button", {
469
643
  type: "button",
470
- class: o(["ui-btn-transparent-icon", { tooltip: t.tooltip }]),
471
- "data-qa": t.dataQa,
472
- disabled: t.disabled,
644
+ class: d(["ui-btn-transparent-icon", { tooltip: e.tooltip }]),
645
+ "data-qa": e.dataQa,
646
+ disabled: e.disabled,
473
647
  onClick: [
474
- a,
475
- v(e, ["stop"])
648
+ l,
649
+ G(n, ["stop"])
476
650
  ]
477
651
  }, [
478
- C("span", yt, [
479
- b(k, { is: "span" }, {
480
- default: m(() => [
481
- b(y(_), { icon: t.icon }, null, 8, ["icon"])
652
+ g("span", nt, [
653
+ p($, { is: "span" }, {
654
+ default: y(() => [
655
+ p(_(I), { icon: e.icon }, null, 8, ["icon"])
482
656
  ]),
483
657
  _: 1
484
658
  })
485
659
  ]),
486
- t.tooltip ? (c(), h(x, {
660
+ e.tooltip ? (a(), B(O, {
487
661
  key: 0,
488
- text: t.tooltip
489
- }, null, 8, ["text"])) : f("", !0)
490
- ], 10, ht));
662
+ text: e.tooltip
663
+ }, null, 8, ["text"])) : h("", !0)
664
+ ], 10, tt));
491
665
  }
492
- }), Pt = /* @__PURE__ */ u(Bt, [["__scopeId", "data-v-19c5f518"]]), $t = ["disabled"], _t = /* @__PURE__ */ d({
666
+ }), St = /* @__PURE__ */ m(ot, [["__scopeId", "data-v-19c5f518"]]), lt = ["disabled"], ct = /* @__PURE__ */ f({
493
667
  name: "BtnTextQuaternary",
494
668
  __name: "ButtonTextQuaternary",
495
669
  props: {
@@ -498,40 +672,40 @@ const W = /* @__PURE__ */ d({
498
672
  color: { default: "default" }
499
673
  },
500
674
  emits: ["click"],
501
- setup(t, { emit: l }) {
502
- const n = l, a = () => {
503
- n("click");
675
+ setup(e, { emit: t }) {
676
+ const o = t, l = () => {
677
+ o("click");
504
678
  };
505
- return (e, i) => (c(), s("button", {
679
+ return (n, c) => (a(), u("button", {
506
680
  type: "button",
507
- class: o(["p-text-quaternary", { underline: t.underline }, t.color]),
508
- disabled: t.disabled,
509
- onClick: a
681
+ class: d(["p-text-quaternary", { underline: e.underline }, e.color]),
682
+ disabled: e.disabled,
683
+ onClick: l
510
684
  }, [
511
- r(e.$slots, "default", {}, void 0, !0)
512
- ], 10, $t));
685
+ k(n.$slots, "default", {}, void 0, !0)
686
+ ], 10, lt));
513
687
  }
514
- }), Ht = /* @__PURE__ */ u(_t, [["__scopeId", "data-v-789ddcd5"]]), Ct = ["disabled"], xt = /* @__PURE__ */ d({
688
+ }), wt = /* @__PURE__ */ m(ct, [["__scopeId", "data-v-789ddcd5"]]), at = ["disabled"], it = /* @__PURE__ */ f({
515
689
  name: "BtnTextSecondary",
516
690
  __name: "ButtonTextSecondary",
517
691
  props: {
518
692
  disabled: { type: Boolean, default: !1 }
519
693
  },
520
694
  emits: ["click"],
521
- setup(t, { emit: l }) {
522
- const n = l, a = () => {
523
- n("click");
695
+ setup(e, { emit: t }) {
696
+ const o = t, l = () => {
697
+ o("click");
524
698
  };
525
- return (e, i) => (c(), s("button", {
699
+ return (n, c) => (a(), u("button", {
526
700
  type: "button",
527
701
  class: "p-text-secondary",
528
- disabled: t.disabled,
529
- onClick: a
702
+ disabled: e.disabled,
703
+ onClick: l
530
704
  }, [
531
- r(e.$slots, "default", {}, void 0, !0)
532
- ], 8, Ct));
705
+ k(n.$slots, "default", {}, void 0, !0)
706
+ ], 8, at));
533
707
  }
534
- }), At = /* @__PURE__ */ u(xt, [["__scopeId", "data-v-fbbc4516"]]), pt = ["disabled"], vt = /* @__PURE__ */ d({
708
+ }), zt = /* @__PURE__ */ m(it, [["__scopeId", "data-v-fbbc4516"]]), st = ["disabled"], dt = /* @__PURE__ */ f({
535
709
  name: "BtnTextTertiary",
536
710
  __name: "ButtonTextTertiary",
537
711
  props: {
@@ -540,20 +714,20 @@ const W = /* @__PURE__ */ d({
540
714
  color: { default: "default" }
541
715
  },
542
716
  emits: ["click"],
543
- setup(t, { emit: l }) {
544
- const n = l, a = () => {
545
- n("click");
717
+ setup(e, { emit: t }) {
718
+ const o = t, l = () => {
719
+ o("click");
546
720
  };
547
- return (e, i) => (c(), s("button", {
721
+ return (n, c) => (a(), u("button", {
548
722
  type: "button",
549
- class: o(["p-text-tertiary", { underline: t.underline }, t.color]),
550
- disabled: t.disabled,
551
- onClick: a
723
+ class: d(["p-text-tertiary", { underline: e.underline }, e.color]),
724
+ disabled: e.disabled,
725
+ onClick: l
552
726
  }, [
553
- r(e.$slots, "default", {}, void 0, !0)
554
- ], 10, pt));
727
+ k(n.$slots, "default", {}, void 0, !0)
728
+ ], 10, st));
555
729
  }
556
- }), Ft = /* @__PURE__ */ u(vt, [["__scopeId", "data-v-377f6ccc"]]), It = ["disabled"], Tt = /* @__PURE__ */ d({
730
+ }), Rt = /* @__PURE__ */ m(dt, [["__scopeId", "data-v-377f6ccc"]]), ut = ["disabled"], rt = /* @__PURE__ */ f({
557
731
  name: "BtnTextTertiary",
558
732
  __name: "ButtonTextTertiaryMedium",
559
733
  props: {
@@ -562,38 +736,38 @@ const W = /* @__PURE__ */ d({
562
736
  color: { default: "default" }
563
737
  },
564
738
  emits: ["click"],
565
- setup(t, { emit: l }) {
566
- const n = l, a = () => {
567
- n("click");
739
+ setup(e, { emit: t }) {
740
+ const o = t, l = () => {
741
+ o("click");
568
742
  };
569
- return (e, i) => (c(), s("button", {
743
+ return (n, c) => (a(), u("button", {
570
744
  type: "button",
571
- class: o(["p-text-tertiary-medium", { underline: t.underline }, t.color]),
572
- disabled: t.disabled,
573
- onClick: a
745
+ class: d(["p-text-tertiary-medium", { underline: e.underline }, e.color]),
746
+ disabled: e.disabled,
747
+ onClick: l
574
748
  }, [
575
- r(e.$slots, "default", {}, void 0, !0)
576
- ], 10, It));
749
+ k(n.$slots, "default", {}, void 0, !0)
750
+ ], 10, ut));
577
751
  }
578
- }), Xt = /* @__PURE__ */ u(Tt, [["__scopeId", "data-v-19ac5089"]]);
752
+ }), Et = /* @__PURE__ */ m(rt, [["__scopeId", "data-v-19ac5089"]]);
579
753
  export {
580
- Qt as ButtonCheckbox,
581
- Rt as ButtonClose,
582
- Lt as ButtonIcon,
583
- Dt as ButtonKebab,
584
- Wt as ButtonPrimary,
585
- Mt as ButtonRadio,
586
- Vt as ButtonSecondary,
587
- jt as ButtonSecondaryIcon,
588
- Nt as ButtonSimple,
589
- Ot as ButtonSwitcher,
590
- Et as ButtonText,
591
- Ht as ButtonTextQuaternary,
592
- At as ButtonTextSecondary,
593
- Ft as ButtonTextTertiary,
594
- Xt as ButtonTextTertiaryMedium,
595
- Kt as ButtonToggle,
596
- Pt as ButtonTransparentIcon,
597
- k as IconContainer,
598
- x as TooltipDefault
754
+ ht as ButtonCheckbox,
755
+ yt as ButtonClose,
756
+ pt as ButtonIcon,
757
+ vt as ButtonKebab,
758
+ $t as ButtonPrimary,
759
+ Bt as ButtonRadio,
760
+ _t as ButtonSecondary,
761
+ Ct as ButtonSecondaryIcon,
762
+ xt as ButtonSimple,
763
+ Tt as ButtonSwitcher,
764
+ It as ButtonText,
765
+ wt as ButtonTextQuaternary,
766
+ zt as ButtonTextSecondary,
767
+ Rt as ButtonTextTertiary,
768
+ Et as ButtonTextTertiaryMedium,
769
+ gt as ButtonToggle,
770
+ St as ButtonTransparentIcon,
771
+ $ as IconContainer,
772
+ O as TooltipDefault
599
773
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brighterly/ui-kit",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Official Brighterly ui-kit",
5
5
  "type": "module",
6
6
  "homepage": "https://gitlab.com/brighterly/libs/ui-kit#readme",
@@ -28,28 +28,27 @@
28
28
  "scripts": {
29
29
  "build": "vite build && vue-tsc --noEmit"
30
30
  },
31
+ "dependencies": {
32
+ "@vueuse/components": "^14.1.0",
33
+ "@vueuse/core": "^14.1.0"
34
+ },
31
35
  "peerDependencies": {
32
36
  "@fortawesome/fontawesome-svg-core": "^6.7.2",
33
37
  "@fortawesome/pro-regular-svg-icons": "^6.7.2",
34
38
  "@fortawesome/pro-solid-svg-icons": "^6.7.2",
35
39
  "@fortawesome/vue-fontawesome": "^3.1.3",
36
- "@vueuse/components": "^14.1.0",
37
- "@vueuse/core": "^14.1.0",
38
40
  "vue": "^3.5.0"
39
41
  },
40
42
  "devDependencies": {
41
43
  "@fortawesome/fontawesome-svg-core": "^6.7.2",
42
- "@fortawesome/pro-regular-svg-icons": "^7.1.0",
43
- "@fortawesome/pro-solid-svg-icons": "^7.1.0",
44
+ "@fortawesome/pro-regular-svg-icons": "^6.7.2",
45
+ "@fortawesome/pro-solid-svg-icons": "^6.7.2",
44
46
  "@fortawesome/vue-fontawesome": "^3.1.3",
45
- "@semantic-release/commit-analyzer": "^13.0.1",
46
- "@semantic-release/release-notes-generator": "^14.1.0",
47
47
  "@types/node": "^25.0.10",
48
48
  "@vitejs/plugin-vue": "^6.0.3",
49
49
  "@vueuse/components": "^14.1.0",
50
50
  "@vueuse/core": "^14.1.0",
51
51
  "sass-embedded": "^1.97.3",
52
- "semantic-release": "^25.0.2",
53
52
  "typescript": "~5.9.3",
54
53
  "vite": "^7.3.1",
55
54
  "vite-plugin-dts": "^4.5.4",