@kvell-group/ui 1.6.9 → 1.6.11

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 +1 @@
1
- ._root_17bsd_1{background-color:green;border-radius:12px}._inner_17bsd_6{background-color:red}
1
+ .m_87cf2631{background-color:transparent;cursor:pointer;border:0;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:var(--mantine-font-size-md);text-align:left;text-decoration:none;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}:where([dir=rtl]) .m_87cf2631{text-align:right}.m_77c9d27d{--button-height-xs: 30px;--button-height-sm: 36px;--button-height-md: 42px;--button-height-lg: 50px;--button-height-xl: 60px;--button-height-compact-xs: 22px;--button-height-compact-sm: 26px;--button-height-compact-md: 30px;--button-height-compact-lg: 34px;--button-height-compact-xl: 40px;--button-padding-x-xs: 14px;--button-padding-x-sm: 18px;--button-padding-x-md: 22px;--button-padding-x-lg: 26px;--button-padding-x-xl: 32px;--button-padding-x-compact-xs: 7px;--button-padding-x-compact-sm: 8px;--button-padding-x-compact-md: 10px;--button-padding-x-compact-lg: 12px;--button-padding-x-compact-xl: 14px;--button-height: var(--button-height-sm);--button-padding-x: var(--button-padding-x-sm);--button-color: var(--mantine-color-white);-webkit-user-select:none;-moz-user-select:none;user-select:none;font-weight:600;position:relative;line-height:1;text-align:center;overflow:hidden;width:auto;cursor:pointer;display:inline-block;border-radius:var(--button-radius, var(--mantine-radius-default));font-size:var(--button-fz, var(--mantine-font-size-sm));background:var(--button-bg, var(--mantine-primary-color-filled));border:var(--button-bd, calc(.0625rem * var(--mantine-scale)) solid transparent);color:var(--button-color, var(--mantine-color-white));height:var(--button-height, var(--button-height-sm));padding-inline:var(--button-padding-x, var(--button-padding-x-sm));vertical-align:middle}.m_77c9d27d:where([data-block]){display:block;width:100%}.m_77c9d27d:where([data-with-left-section]){padding-inline-start:calc(var(--button-padding-x) / 1.5)}.m_77c9d27d:where([data-with-right-section]){padding-inline-end:calc(var(--button-padding-x) / 1.5)}.m_77c9d27d:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])){cursor:not-allowed;border:1px solid transparent;transform:none}:where([data-mantine-color-scheme=light]) .m_77c9d27d:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])){color:var(--mantine-color-gray-5);background:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=dark]) .m_77c9d27d:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])){color:var(--mantine-color-dark-3);background:var(--mantine-color-dark-6)}.m_77c9d27d:before{content:"";pointer-events:none;position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border-radius:var(--button-radius, var(--mantine-radius-default));transform:translateY(-100%);opacity:0;filter:blur(12px);transition:transform .15s ease,opacity .1s ease}:where([data-mantine-color-scheme=light]) .m_77c9d27d:before{background-color:#ffffff26}:where([data-mantine-color-scheme=dark]) .m_77c9d27d:before{background-color:#00000026}.m_77c9d27d:where([data-loading]){cursor:not-allowed;transform:none}.m_77c9d27d:where([data-loading]):before{transform:translateY(0);opacity:1}.m_77c9d27d:where([data-loading]) .m_80f1301b{opacity:0;transform:translateY(100%)}@media (hover: hover){.m_77c9d27d:hover:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--button-hover, var(--mantine-primary-color-filled-hover));color:var(--button-hover-color, var(--button-color))}}@media (hover: none){.m_77c9d27d:active:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--button-hover, var(--mantine-primary-color-filled-hover));color:var(--button-hover-color, var(--button-color))}}.m_80f1301b{display:flex;align-items:center;justify-content:var(--button-justify, center);height:100%;overflow:visible;transition:transform .15s ease,opacity .1s ease}.m_811560b9{white-space:nowrap;height:100%;overflow:hidden;display:flex;align-items:center;opacity:1}.m_811560b9:where([data-loading]){opacity:.2}.m_a74036a{display:flex;align-items:center}.m_a74036a:where([data-position=left]){margin-inline-end:var(--mantine-spacing-xs)}.m_a74036a:where([data-position=right]){margin-inline-start:var(--mantine-spacing-xs)}.m_a25b86ee{position:absolute;left:50%;top:50%}.m_80d6d844{--button-border-width: 1px;display:flex}.m_80d6d844 :where(.m_77c9d27d):focus{position:relative;z-index:1}.m_80d6d844[data-orientation=horizontal]{flex-direction:row}.m_80d6d844[data-orientation=horizontal] .m_77c9d27d:not(:only-child):first-child,.m_80d6d844[data-orientation=horizontal] .m_70be2a01:not(:only-child):first-child{border-end-end-radius:0;border-start-end-radius:0;border-inline-end-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=horizontal] .m_77c9d27d:not(:only-child):last-child,.m_80d6d844[data-orientation=horizontal] .m_70be2a01:not(:only-child):last-child{border-end-start-radius:0;border-start-start-radius:0;border-inline-start-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=horizontal] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child),.m_80d6d844[data-orientation=horizontal] .m_70be2a01:not(:only-child):not(:first-child):not(:last-child){border-radius:0;border-inline-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=vertical]{flex-direction:column}.m_80d6d844[data-orientation=vertical] .m_77c9d27d:not(:only-child):first-child,.m_80d6d844[data-orientation=vertical] .m_70be2a01:not(:only-child):first-child{border-end-start-radius:0;border-end-end-radius:0;border-bottom-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=vertical] .m_77c9d27d:not(:only-child):last-child,.m_80d6d844[data-orientation=vertical] .m_70be2a01:not(:only-child):last-child{border-start-start-radius:0;border-start-end-radius:0;border-top-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=vertical] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child),.m_80d6d844[data-orientation=vertical] .m_70be2a01:not(:only-child):not(:first-child):not(:last-child){border-radius:0;border-bottom-width:calc(var(--button-border-width) / 2);border-top-width:calc(var(--button-border-width) / 2)}.m_70be2a01{--section-height-xs: 30px;--section-height-sm: 36px;--section-height-md: 42px;--section-height-lg: 50px;--section-height-xl: 60px;--section-height-compact-xs: 22px;--section-height-compact-sm: 26px;--section-height-compact-md: 30px;--section-height-compact-lg: 34px;--section-height-compact-xl: 40px;--section-padding-x-xs: 14px;--section-padding-x-sm: 18px;--section-padding-x-md: 22px;--section-padding-x-lg: 26px;--section-padding-x-xl: 32px;--section-padding-x-compact-xs: 7px;--section-padding-x-compact-sm: 8px;--section-padding-x-compact-md: 10px;--section-padding-x-compact-lg: 12px;--section-padding-x-compact-xl: 14px;--section-height: var(--section-height-sm);--section-padding-x: var(--section-padding-x-sm);--section-color: var(--mantine-color-white);font-weight:600;width:auto;border-radius:var(--section-radius, var(--mantine-radius-default));font-size:var(--section-fz, var(--mantine-font-size-sm));background:var(--section-bg, var(--mantine-primary-color-filled));border:var(--section-bd, calc(.0625rem * var(--mantine-scale)) solid transparent);color:var(--section-color, var(--mantine-color-white));height:var(--section-height, var(--section-height-sm));padding-inline:var(--section-padding-x, var(--section-padding-x-sm));vertical-align:middle;line-height:1;display:inline-flex;align-items:center;justify-content:center}._root_gdr8x_1{background-color:green;border-radius:12px;width:200px}._inner_gdr8x_7{background-color:red}._label_gdr8x_11{color:#ff0}
@@ -1,7 +1,7 @@
1
1
  import { jsx as f, jsxs as j, Fragment as q } from "react/jsx-runtime";
2
2
  import { r as R, u as k, h as er, i as or, j as ar, l as ir, k as tt, a as sr, p as dt, m as cr, n as pr, o as mr } from "../../MantineThemeProvider-CyD9KzqB.js";
3
- import { useState as Q, useRef as M, useEffect as z, useId as ur, forwardRef as P } from "react";
4
- import lr from "react-dom";
3
+ import { useState as Q, useRef as M, useEffect as z, useId as lr, forwardRef as P } from "react";
4
+ import ur from "react-dom";
5
5
  import '../../assets/Button.css';function fr(t) {
6
6
  return t.replace(/[A-Z]/g, (r) => `-${r.toLowerCase()}`);
7
7
  }
@@ -134,10 +134,10 @@ function ct({
134
134
  function $r({ rootSelector: t, selector: r, className: n }) {
135
135
  return t === r ? n : void 0;
136
136
  }
137
- function Tr({ selector: t, classes: r, unstyled: n }) {
137
+ function _r({ selector: t, classes: r, unstyled: n }) {
138
138
  return n ? void 0 : r[t];
139
139
  }
140
- function _r({
140
+ function Tr({
141
141
  themeName: t,
142
142
  classNamesPrefix: r,
143
143
  selector: n,
@@ -184,21 +184,21 @@ function Cr({
184
184
  className: p,
185
185
  rootSelector: c,
186
186
  props: m,
187
- stylesCtx: u,
188
- withStaticClasses: l,
187
+ stylesCtx: l,
188
+ withStaticClasses: u,
189
189
  headless: g,
190
190
  transformedStyles: d
191
191
  }) {
192
192
  return L(
193
193
  xr({ theme: t, options: r, unstyled: s || g }),
194
- Rr({ theme: t, themeName: n, selector: e, props: m, stylesCtx: u }),
194
+ Rr({ theme: t, themeName: n, selector: e, props: m, stylesCtx: l }),
195
195
  Pr({ options: r, classes: i, selector: e, unstyled: s }),
196
- ct({ selector: e, stylesCtx: u, theme: t, classNames: a, props: m }),
197
- ct({ selector: e, stylesCtx: u, theme: t, classNames: d, props: m }),
198
- wr({ selector: e, stylesCtx: u, options: r, props: m, theme: t }),
196
+ ct({ selector: e, stylesCtx: l, theme: t, classNames: a, props: m }),
197
+ ct({ selector: e, stylesCtx: l, theme: t, classNames: d, props: m }),
198
+ wr({ selector: e, stylesCtx: l, options: r, props: m, theme: t }),
199
199
  $r({ rootSelector: c, selector: e, className: p }),
200
- Tr({ selector: e, classes: i, unstyled: s || g }),
201
- l && !g && _r({
200
+ _r({ selector: e, classes: i, unstyled: s || g }),
201
+ u && !g && Tr({
202
202
  themeName: n,
203
203
  classNamesPrefix: o,
204
204
  selector: e,
@@ -251,8 +251,8 @@ function Or({
251
251
  return (p = Ar([
252
252
  s ? {} : r == null ? void 0 : r(n, e, o),
253
253
  ...i.map((c) => {
254
- var m, u, l;
255
- return (l = (u = (m = n.components) == null ? void 0 : m[c]) == null ? void 0 : u.vars) == null ? void 0 : l.call(u, n, e, o);
254
+ var m, l, u;
255
+ return (u = (l = (m = n.components) == null ? void 0 : m[c]) == null ? void 0 : l.vars) == null ? void 0 : u.call(l, n, e, o);
256
256
  }),
257
257
  t == null ? void 0 : t(n, e, o)
258
258
  ])) == null ? void 0 : p[a];
@@ -269,14 +269,14 @@ function Lr({
269
269
  style: p,
270
270
  vars: c,
271
271
  varsResolver: m,
272
- headless: u,
273
- withStylesTransform: l
272
+ headless: l,
273
+ withStylesTransform: u
274
274
  }) {
275
275
  return {
276
- ...!l && Br({ theme: t, themeName: r, props: o, stylesCtx: a, selector: n }),
277
- ...!l && K({ theme: t, styles: s, props: o, stylesCtx: a })[n],
278
- ...!l && K({ theme: t, styles: e == null ? void 0 : e.styles, props: (e == null ? void 0 : e.props) || o, stylesCtx: a })[n],
279
- ...Or({ theme: t, props: o, stylesCtx: a, vars: c, varsResolver: m, selector: n, themeName: r, headless: u }),
276
+ ...!u && Br({ theme: t, themeName: r, props: o, stylesCtx: a, selector: n }),
277
+ ...!u && K({ theme: t, styles: s, props: o, stylesCtx: a })[n],
278
+ ...!u && K({ theme: t, styles: e == null ? void 0 : e.styles, props: (e == null ? void 0 : e.props) || o, stylesCtx: a })[n],
279
+ ...Or({ theme: t, props: o, stylesCtx: a, vars: c, varsResolver: m, selector: n, themeName: r, headless: l }),
280
280
  ...i === n ? Z({ style: p, theme: t }) : null,
281
281
  ...Z({ style: e == null ? void 0 : e.style, theme: t })
282
282
  };
@@ -311,16 +311,16 @@ function F({
311
311
  classNames: p,
312
312
  styles: c,
313
313
  vars: m,
314
- varsResolver: u
314
+ varsResolver: l
315
315
  }) {
316
- const l = k(), g = or(), d = ar(), b = ir(), h = (Array.isArray(t) ? t : [t]).filter((S) => S), { withStylesTransform: x, getTransformedStyles: _ } = Yr({
316
+ const u = k(), g = or(), d = ar(), b = ir(), h = (Array.isArray(t) ? t : [t]).filter((S) => S), { withStylesTransform: x, getTransformedStyles: T } = Yr({
317
317
  props: n,
318
318
  stylesCtx: e,
319
319
  themeName: h
320
320
  });
321
321
  return (S, N) => ({
322
322
  className: Cr({
323
- theme: l,
323
+ theme: u,
324
324
  options: N,
325
325
  themeName: h,
326
326
  selector: S,
@@ -334,10 +334,10 @@ function F({
334
334
  stylesCtx: e,
335
335
  withStaticClasses: d,
336
336
  headless: b,
337
- transformedStyles: _([N == null ? void 0 : N.styles, c])
337
+ transformedStyles: T([N == null ? void 0 : N.styles, c])
338
338
  }),
339
339
  style: Lr({
340
- theme: l,
340
+ theme: u,
341
341
  themeName: h,
342
342
  selector: S,
343
343
  options: N,
@@ -347,7 +347,7 @@ function F({
347
347
  styles: c,
348
348
  style: a,
349
349
  vars: m,
350
- varsResolver: u,
350
+ varsResolver: l,
351
351
  headless: b,
352
352
  withStylesTransform: x
353
353
  })
@@ -393,14 +393,14 @@ function jr(t) {
393
393
  me: p,
394
394
  ms: c,
395
395
  p: m,
396
- px: u,
397
- py: l,
396
+ px: l,
397
+ py: u,
398
398
  pt: g,
399
399
  pb: d,
400
400
  pl: b,
401
401
  pr: h,
402
402
  pe: x,
403
- ps: _,
403
+ ps: T,
404
404
  bd: S,
405
405
  bg: N,
406
406
  c: C,
@@ -450,14 +450,14 @@ function jr(t) {
450
450
  me: p,
451
451
  ms: c,
452
452
  p: m,
453
- px: u,
454
- py: l,
453
+ px: l,
454
+ py: u,
455
455
  pt: g,
456
456
  pb: d,
457
457
  pl: b,
458
458
  pr: h,
459
459
  pe: x,
460
- ps: _,
460
+ ps: T,
461
461
  bd: S,
462
462
  bg: N,
463
463
  c: C,
@@ -656,9 +656,9 @@ function tn({
656
656
  const p = Zr(t[o]);
657
657
  return i.forEach((c) => {
658
658
  s && (e.styles[c] = U[a.type](s, n)), p.forEach((m) => {
659
- const u = `(min-width: ${n.breakpoints[m]})`;
660
- e.media[u] = {
661
- ...e.media[u],
659
+ const l = `(min-width: ${n.breakpoints[m]})`;
660
+ e.media[l] = {
661
+ ...e.media[l],
662
662
  [c]: U[a.type](
663
663
  Jr(t[o], m),
664
664
  n
@@ -677,7 +677,7 @@ function tn({
677
677
  );
678
678
  }
679
679
  function rn() {
680
- return `__m__-${ur().replace(/:/g, "")}`;
680
+ return `__m__-${lr().replace(/:/g, "")}`;
681
681
  }
682
682
  function bt(t) {
683
683
  return t.startsWith("data-") ? t : `data-${t}`;
@@ -722,12 +722,12 @@ const vt = P(
722
722
  visibleFrom: p,
723
723
  lightHidden: c,
724
724
  darkHidden: m,
725
- renderRoot: u,
726
- __size: l,
725
+ renderRoot: l,
726
+ __size: u,
727
727
  ...g
728
728
  }, d) => {
729
729
  var v;
730
- const b = k(), h = t || "div", { styleProps: x, rest: _ } = jr(g), S = cr(), N = (v = S == null ? void 0 : S()) == null ? void 0 : v(x.sx), C = rn(), y = tn({
730
+ const b = k(), h = t || "div", { styleProps: x, rest: T } = jr(g), S = cr(), N = (v = S == null ? void 0 : S()) == null ? void 0 : v(x.sx), C = rn(), y = tn({
731
731
  styleProps: x,
732
732
  theme: b,
733
733
  data: kr
@@ -748,9 +748,9 @@ const vt = P(
748
748
  }),
749
749
  "data-variant": o,
750
750
  "data-size": yt(i) ? void 0 : i || void 0,
751
- size: l,
751
+ size: u,
752
752
  ...St(a),
753
- ..._
753
+ ...T
754
754
  };
755
755
  return /* @__PURE__ */ j(q, { children: [
756
756
  y.hasResponsiveStyles && /* @__PURE__ */ f(
@@ -761,7 +761,7 @@ const vt = P(
761
761
  media: y.media
762
762
  }
763
763
  ),
764
- typeof u == "function" ? u(w) : /* @__PURE__ */ f(h, { ...w })
764
+ typeof l == "function" ? l(w) : /* @__PURE__ */ f(h, { ...w })
765
765
  ] });
766
766
  }
767
767
  );
@@ -798,7 +798,7 @@ const on = {
798
798
  styles: p,
799
799
  style: c,
800
800
  ...m
801
- } = n, u = F({
801
+ } = n, l = F({
802
802
  name: a,
803
803
  props: n,
804
804
  classes: wt,
@@ -811,7 +811,7 @@ const on = {
811
811
  return /* @__PURE__ */ f(
812
812
  $,
813
813
  {
814
- ...u("root", { focusable: !0 }),
814
+ ...l("root", { focusable: !0 }),
815
815
  component: o,
816
816
  ref: r,
817
817
  type: o === "button" ? "button" : void 0,
@@ -938,7 +938,7 @@ const E = (t) => ({
938
938
  ...E("top"),
939
939
  common: { transformOrigin: "top right" }
940
940
  }
941
- }, ut = {
941
+ }, lt = {
942
942
  entering: "in",
943
943
  entered: "in",
944
944
  exiting: "out",
@@ -962,12 +962,12 @@ function an({
962
962
  transitionProperty: W[t].transitionProperty,
963
963
  ...o,
964
964
  ...W[t].common,
965
- ...W[t][ut[r]]
965
+ ...W[t][lt[r]]
966
966
  } : {} : {
967
967
  transitionProperty: t.transitionProperty,
968
968
  ...o,
969
969
  ...t.common,
970
- ...t[ut[r]]
970
+ ...t[lt[r]]
971
971
  };
972
972
  }
973
973
  function sn({
@@ -982,12 +982,12 @@ function sn({
982
982
  enterDelay: p,
983
983
  exitDelay: c
984
984
  }) {
985
- const m = k(), u = br(), l = m.respectReducedMotion ? u : !1, [g, d] = Q(l ? 0 : t), [b, h] = Q(e ? "entered" : "exited"), x = M(-1), _ = M(-1), S = M(-1), N = (y) => {
985
+ const m = k(), l = br(), u = m.respectReducedMotion ? l : !1, [g, d] = Q(u ? 0 : t), [b, h] = Q(e ? "entered" : "exited"), x = M(-1), T = M(-1), S = M(-1), N = (y) => {
986
986
  const w = y ? o : a, v = y ? i : s;
987
987
  window.clearTimeout(x.current);
988
- const B = l ? 0 : y ? t : r;
988
+ const B = u ? 0 : y ? t : r;
989
989
  d(B), B === 0 ? (typeof w == "function" && w(), typeof v == "function" && v(), h(y ? "entered" : "exited")) : S.current = requestAnimationFrame(() => {
990
- lr.flushSync(() => {
990
+ ur.flushSync(() => {
991
991
  h(y ? "pre-entering" : "pre-exiting");
992
992
  }), S.current = requestAnimationFrame(() => {
993
993
  typeof w == "function" && w(), h(y ? "entering" : "exiting"), x.current = window.setTimeout(() => {
@@ -996,11 +996,11 @@ function sn({
996
996
  });
997
997
  });
998
998
  }, C = (y) => {
999
- if (window.clearTimeout(_.current), typeof (y ? p : c) != "number") {
999
+ if (window.clearTimeout(T.current), typeof (y ? p : c) != "number") {
1000
1000
  N(y);
1001
1001
  return;
1002
1002
  }
1003
- _.current = window.setTimeout(
1003
+ T.current = window.setTimeout(
1004
1004
  () => {
1005
1005
  N(y);
1006
1006
  },
@@ -1032,8 +1032,8 @@ function $t({
1032
1032
  onEntered: p,
1033
1033
  onEnter: c,
1034
1034
  onExited: m,
1035
- enterDelay: u,
1036
- exitDelay: l
1035
+ enterDelay: l,
1036
+ exitDelay: u
1037
1037
  }) {
1038
1038
  const g = pr(), { transitionDuration: d, transitionStatus: b, transitionTimingFunction: h } = sn({
1039
1039
  mounted: o,
@@ -1044,8 +1044,8 @@ function $t({
1044
1044
  onEntered: p,
1045
1045
  onEnter: c,
1046
1046
  onExited: m,
1047
- enterDelay: u,
1048
- exitDelay: l
1047
+ enterDelay: l,
1048
+ exitDelay: u
1049
1049
  });
1050
1050
  return d === 0 || g === "test" ? o ? /* @__PURE__ */ f(q, { children: a({}) }) : t ? a({ display: "none" }) : null : b === "exited" ? t ? a({ display: "none" }) : null : /* @__PURE__ */ f(q, { children: a(
1051
1051
  an({
@@ -1057,25 +1057,25 @@ function $t({
1057
1057
  ) });
1058
1058
  }
1059
1059
  $t.displayName = "@mantine/core/Transition";
1060
- var T = { root: "m_5ae2e3c", barsLoader: "m_7a2bd4cd", bar: "m_870bb79", "bars-loader-animation": "m_5d2b3b9d", dotsLoader: "m_4e3f22d7", dot: "m_870c4af", "loader-dots-animation": "m_aac34a1", ovalLoader: "m_b34414df", "oval-loader-animation": "m_f8e89c4b" };
1061
- const Tt = P(({ className: t, ...r }, n) => /* @__PURE__ */ j($, { component: "span", className: L(T.barsLoader, t), ...r, ref: n, children: [
1062
- /* @__PURE__ */ f("span", { className: T.bar }),
1063
- /* @__PURE__ */ f("span", { className: T.bar }),
1064
- /* @__PURE__ */ f("span", { className: T.bar })
1060
+ var _ = { root: "m_5ae2e3c", barsLoader: "m_7a2bd4cd", bar: "m_870bb79", "bars-loader-animation": "m_5d2b3b9d", dotsLoader: "m_4e3f22d7", dot: "m_870c4af", "loader-dots-animation": "m_aac34a1", ovalLoader: "m_b34414df", "oval-loader-animation": "m_f8e89c4b" };
1061
+ const _t = P(({ className: t, ...r }, n) => /* @__PURE__ */ j($, { component: "span", className: L(_.barsLoader, t), ...r, ref: n, children: [
1062
+ /* @__PURE__ */ f("span", { className: _.bar }),
1063
+ /* @__PURE__ */ f("span", { className: _.bar }),
1064
+ /* @__PURE__ */ f("span", { className: _.bar })
1065
1065
  ] }));
1066
- Tt.displayName = "@mantine/core/Bars";
1067
- const _t = P(({ className: t, ...r }, n) => /* @__PURE__ */ j($, { component: "span", className: L(T.dotsLoader, t), ...r, ref: n, children: [
1068
- /* @__PURE__ */ f("span", { className: T.dot }),
1069
- /* @__PURE__ */ f("span", { className: T.dot }),
1070
- /* @__PURE__ */ f("span", { className: T.dot })
1066
+ _t.displayName = "@mantine/core/Bars";
1067
+ const Tt = P(({ className: t, ...r }, n) => /* @__PURE__ */ j($, { component: "span", className: L(_.dotsLoader, t), ...r, ref: n, children: [
1068
+ /* @__PURE__ */ f("span", { className: _.dot }),
1069
+ /* @__PURE__ */ f("span", { className: _.dot }),
1070
+ /* @__PURE__ */ f("span", { className: _.dot })
1071
1071
  ] }));
1072
- _t.displayName = "@mantine/core/Dots";
1073
- const Rt = P(({ className: t, ...r }, n) => /* @__PURE__ */ f($, { component: "span", className: L(T.ovalLoader, t), ...r, ref: n }));
1072
+ Tt.displayName = "@mantine/core/Dots";
1073
+ const Rt = P(({ className: t, ...r }, n) => /* @__PURE__ */ f($, { component: "span", className: L(_.ovalLoader, t), ...r, ref: n }));
1074
1074
  Rt.displayName = "@mantine/core/Oval";
1075
1075
  const Pt = {
1076
- bars: Tt,
1076
+ bars: _t,
1077
1077
  oval: Rt,
1078
- dots: _t
1078
+ dots: Tt
1079
1079
  }, cn = {
1080
1080
  loaders: Pt,
1081
1081
  type: "oval"
@@ -1094,20 +1094,20 @@ const Pt = {
1094
1094
  style: p,
1095
1095
  classNames: c,
1096
1096
  styles: m,
1097
- unstyled: u,
1098
- loaders: l,
1097
+ unstyled: l,
1098
+ loaders: u,
1099
1099
  variant: g,
1100
1100
  children: d,
1101
1101
  ...b
1102
1102
  } = n, h = F({
1103
1103
  name: "Loader",
1104
1104
  props: n,
1105
- classes: T,
1105
+ classes: _,
1106
1106
  className: s,
1107
1107
  style: p,
1108
1108
  classNames: c,
1109
1109
  styles: m,
1110
- unstyled: u,
1110
+ unstyled: l,
1111
1111
  vars: i,
1112
1112
  varsResolver: pn
1113
1113
  });
@@ -1116,7 +1116,7 @@ const Pt = {
1116
1116
  {
1117
1117
  ...h("root"),
1118
1118
  ref: r,
1119
- component: l[a],
1119
+ component: u[a],
1120
1120
  variant: g,
1121
1121
  size: e,
1122
1122
  ...b
@@ -1124,15 +1124,15 @@ const Pt = {
1124
1124
  );
1125
1125
  });
1126
1126
  D.defaultLoaders = Pt;
1127
- D.classes = T;
1127
+ D.classes = _;
1128
1128
  D.displayName = "@mantine/core/Loader";
1129
1129
  var Y = { root: "m_77c9d27d", inner: "m_80f1301b", label: "m_811560b9", section: "m_a74036a", loader: "m_a25b86ee", group: "m_80d6d844", groupSection: "m_70be2a01" };
1130
- const lt = {
1130
+ const ut = {
1131
1131
  orientation: "horizontal"
1132
1132
  }, mn = (t, { borderWidth: r }) => ({
1133
1133
  group: { "--button-border-width": R(r) }
1134
1134
  }), it = ot((t, r) => {
1135
- const n = O("ButtonGroup", lt, t), {
1135
+ const n = O("ButtonGroup", ut, t), {
1136
1136
  className: e,
1137
1137
  style: o,
1138
1138
  classNames: a,
@@ -1141,10 +1141,10 @@ const lt = {
1141
1141
  orientation: p,
1142
1142
  vars: c,
1143
1143
  borderWidth: m,
1144
- variant: u,
1145
- mod: l,
1144
+ variant: l,
1145
+ mod: u,
1146
1146
  ...g
1147
- } = O("ButtonGroup", lt, t), d = F({
1147
+ } = O("ButtonGroup", ut, t), d = F({
1148
1148
  name: "ButtonGroup",
1149
1149
  props: n,
1150
1150
  classes: Y,
@@ -1162,8 +1162,8 @@ const lt = {
1162
1162
  {
1163
1163
  ...d("group"),
1164
1164
  ref: r,
1165
- variant: u,
1166
- mod: [{ "data-orientation": p }, l],
1165
+ variant: l,
1166
+ mod: [{ "data-orientation": p }, u],
1167
1167
  role: "group",
1168
1168
  ...g
1169
1169
  }
@@ -1171,7 +1171,7 @@ const lt = {
1171
1171
  });
1172
1172
  it.classes = Y;
1173
1173
  it.displayName = "@mantine/core/ButtonGroup";
1174
- const ft = {}, un = (t, { radius: r, color: n, gradient: e, variant: o, autoContrast: a, size: i }) => {
1174
+ const ft = {}, ln = (t, { radius: r, color: n, gradient: e, variant: o, autoContrast: a, size: i }) => {
1175
1175
  const s = t.variantColorResolver({
1176
1176
  color: n || t.primaryColor,
1177
1177
  theme: t,
@@ -1200,8 +1200,8 @@ const ft = {}, un = (t, { radius: r, color: n, gradient: e, variant: o, autoCont
1200
1200
  vars: p,
1201
1201
  variant: c,
1202
1202
  gradient: m,
1203
- radius: u,
1204
- autoContrast: l,
1203
+ radius: l,
1204
+ autoContrast: u,
1205
1205
  ...g
1206
1206
  } = O("ButtonGroupSection", ft, t), d = F({
1207
1207
  name: "ButtonGroupSection",
@@ -1213,14 +1213,14 @@ const ft = {}, un = (t, { radius: r, color: n, gradient: e, variant: o, autoCont
1213
1213
  styles: i,
1214
1214
  unstyled: s,
1215
1215
  vars: p,
1216
- varsResolver: un,
1216
+ varsResolver: ln,
1217
1217
  rootSelector: "groupSection"
1218
1218
  });
1219
1219
  return /* @__PURE__ */ f($, { ...d("groupSection"), ref: r, variant: c, ...g });
1220
1220
  });
1221
1221
  st.classes = Y;
1222
1222
  st.displayName = "@mantine/core/ButtonGroupSection";
1223
- const ln = {
1223
+ const un = {
1224
1224
  in: { opacity: 1, transform: `translate(-50%, calc(-50% + ${R(1)}))` },
1225
1225
  out: { opacity: 0, transform: "translate(-50%, -200%)" },
1226
1226
  common: { transformOrigin: "center" },
@@ -1257,14 +1257,14 @@ const ln = {
1257
1257
  children: p,
1258
1258
  leftSection: c,
1259
1259
  rightSection: m,
1260
- fullWidth: u,
1261
- variant: l,
1260
+ fullWidth: l,
1261
+ variant: u,
1262
1262
  radius: g,
1263
1263
  loading: d,
1264
1264
  loaderProps: b,
1265
1265
  gradient: h,
1266
1266
  classNames: x,
1267
- styles: _,
1267
+ styles: T,
1268
1268
  unstyled: S,
1269
1269
  "data-disabled": N,
1270
1270
  autoContrast: C,
@@ -1277,7 +1277,7 @@ const ln = {
1277
1277
  className: a,
1278
1278
  style: e,
1279
1279
  classNames: x,
1280
- styles: _,
1280
+ styles: T,
1281
1281
  unstyled: S,
1282
1282
  vars: o,
1283
1283
  varsResolver: dn
@@ -1288,13 +1288,13 @@ const ln = {
1288
1288
  ref: r,
1289
1289
  ...v("root", { active: !s && !d && !N }),
1290
1290
  unstyled: S,
1291
- variant: l,
1291
+ variant: u,
1292
1292
  disabled: s || d,
1293
1293
  mod: [
1294
1294
  {
1295
1295
  disabled: s || N,
1296
1296
  loading: d,
1297
- block: u,
1297
+ block: l,
1298
1298
  "with-left-section": B,
1299
1299
  "with-right-section": H
1300
1300
  },
@@ -1302,7 +1302,7 @@ const ln = {
1302
1302
  ],
1303
1303
  ...w,
1304
1304
  children: [
1305
- /* @__PURE__ */ f($t, { mounted: !!d, transition: ln, duration: 150, children: (V) => /* @__PURE__ */ f($, { component: "span", ...v("loader", { style: V }), "aria-hidden": !0, children: /* @__PURE__ */ f(
1305
+ /* @__PURE__ */ f($t, { mounted: !!d, transition: un, duration: 150, children: (V) => /* @__PURE__ */ f($, { component: "span", ...v("loader", { style: V }), "aria-hidden": !0, children: /* @__PURE__ */ f(
1306
1306
  D,
1307
1307
  {
1308
1308
  color: "var(--button-color)",
@@ -1323,16 +1323,17 @@ I.classes = Y;
1323
1323
  I.displayName = "@mantine/core/Button";
1324
1324
  I.Group = it;
1325
1325
  I.GroupSection = st;
1326
- const yn = "_root_17bsd_1", gn = "_inner_17bsd_6", hn = {
1326
+ const yn = "_root_gdr8x_1", gn = "_inner_gdr8x_7", hn = "_label_gdr8x_11", bn = {
1327
1327
  root: yn,
1328
- inner: gn
1329
- }, wn = (t) => /* @__PURE__ */ f(
1328
+ inner: gn,
1329
+ label: hn
1330
+ }, $n = (t) => /* @__PURE__ */ f(
1330
1331
  I,
1331
1332
  {
1332
1333
  ...t,
1333
- classNames: hn
1334
+ classNames: bn
1334
1335
  }
1335
1336
  );
1336
1337
  export {
1337
- wn as Button
1338
+ $n as Button
1338
1339
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@kvell-group/ui",
3
3
  "author": "Kvell Group",
4
4
  "private": false,
5
- "version": "1.6.9",
5
+ "version": "1.6.11",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist",
@@ -21,9 +21,6 @@
21
21
  "format:fix": "prettier --write .",
22
22
  "build-storybook": "storybook build"
23
23
  },
24
- "sideEffects": [
25
- "**/*.css"
26
- ],
27
24
  "dependencies": {
28
25
  "@mantine/core": "^7.17.3",
29
26
  "@mantine/hooks": "^7.17.3",