@companix/uikit 0.0.26 → 0.0.27

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 (58) hide show
  1. package/dist/Dialog/index.d.ts +6 -2
  2. package/dist/Popover/index.d.ts +3 -3
  3. package/dist/__helpers/createDialogRegistry.d.ts +26 -0
  4. package/dist/__helpers/createPopoversRegistry.d.ts +19 -0
  5. package/dist/bundle.es.js +36 -31
  6. package/dist/bundle.es10.js +1 -1
  7. package/dist/bundle.es11.js +1 -1
  8. package/dist/bundle.es14.js +1 -1
  9. package/dist/bundle.es18.js +28 -12
  10. package/dist/bundle.es19.js +1 -1
  11. package/dist/bundle.es20.js +1 -1
  12. package/dist/bundle.es23.js +1 -1
  13. package/dist/bundle.es24.js +3 -3
  14. package/dist/bundle.es25.js +4 -4
  15. package/dist/bundle.es26.js +2 -2
  16. package/dist/bundle.es29.js +2 -2
  17. package/dist/bundle.es33.js +1 -1
  18. package/dist/bundle.es34.js +1 -1
  19. package/dist/bundle.es35.js +1 -1
  20. package/dist/bundle.es36.js +40 -21
  21. package/dist/bundle.es37.js +9 -87
  22. package/dist/bundle.es38.js +23 -17
  23. package/dist/bundle.es39.js +87 -20
  24. package/dist/bundle.es40.js +18 -24
  25. package/dist/bundle.es41.js +20 -39
  26. package/dist/bundle.es42.js +24 -3
  27. package/dist/bundle.es43.js +39 -5
  28. package/dist/bundle.es44.js +3 -14
  29. package/dist/bundle.es45.js +5 -14
  30. package/dist/bundle.es46.js +14 -3
  31. package/dist/bundle.es47.js +14 -3
  32. package/dist/bundle.es48.js +3 -70
  33. package/dist/bundle.es49.js +3 -68
  34. package/dist/bundle.es50.js +69 -69
  35. package/dist/bundle.es51.js +67 -11
  36. package/dist/bundle.es52.js +69 -42
  37. package/dist/bundle.es53.js +12 -32
  38. package/dist/bundle.es54.js +42 -69
  39. package/dist/bundle.es55.js +31 -75
  40. package/dist/bundle.es56.js +68 -47
  41. package/dist/bundle.es60.js +76 -20
  42. package/dist/bundle.es61.js +49 -2
  43. package/dist/bundle.es62.js +17 -18
  44. package/dist/bundle.es63.js +2 -2
  45. package/dist/bundle.es64.js +18 -17
  46. package/dist/bundle.es66.js +20 -3
  47. package/dist/bundle.es67.js +2 -3
  48. package/dist/bundle.es69.js +3 -20
  49. package/dist/bundle.es70.js +3 -2
  50. package/dist/bundle.es71.js +13 -13
  51. package/dist/bundle.es72.js +2 -2
  52. package/dist/bundle.es73.js +22 -0
  53. package/dist/bundle.es74.js +4 -0
  54. package/dist/bundle.es8.js +4 -4
  55. package/dist/bundle.es9.js +2 -2
  56. package/dist/index.d.ts +4 -0
  57. package/package.json +1 -1
  58. /package/dist/{Toaster → __utils}/RemoveListener.d.ts +0 -0
@@ -1,51 +1,72 @@
1
- import { subMonths as L, addMonths as N, useDayDisableCheker as R } from "./bundle.es49.js";
2
- import { DEFAULT_MIN_YEAR as w, DEFAULT_MAX_YEAR as A } from "./bundle.es50.js";
3
- import { useState as U, useCallback as M } from "react";
4
- const X = ({
5
- value: p,
6
- disablePast: r,
7
- disableFuture: c,
8
- shouldDisableDate: E,
9
- minDateTime: l,
10
- maxDateTime: s
11
- }) => {
12
- const [e, u] = U(p || /* @__PURE__ */ new Date()), _ = M(() => {
13
- u(L(e));
14
- }, [e]), C = M(() => {
15
- u(N(e, 1));
16
- }, [e]), D = R({
17
- disableFuture: c,
18
- disablePast: r,
19
- shouldDisableDate: E,
20
- minDateTime: l,
21
- maxDateTime: s
22
- }), k = M(
23
- (o, t) => {
24
- const n = /* @__PURE__ */ new Date();
25
- t = t || e.getFullYear();
26
- const h = l ? l.getMonth() : 0, Y = s ? s.getMonth() : 11, F = l?.getFullYear() || w, f = s?.getFullYear() || A;
27
- let g = t >= F && t <= f ? t === F && h > o || t === f && o > Y : !0;
28
- return c && (g = g || (t === n.getFullYear() ? o > n.getMonth() : t > n.getFullYear())), r && (g = g || (t === n.getFullYear() ? o < n.getMonth() : t < n.getFullYear())), g;
29
- },
30
- [c, r, e, l, s]
31
- ), v = M(
32
- (o) => {
33
- const t = /* @__PURE__ */ new Date(), n = l?.getFullYear() || w, h = s?.getFullYear() || A;
34
- let Y = n > o || o > h;
35
- return c && (Y = Y || o > t.getFullYear()), r && (Y = Y || o < t.getFullYear()), Y;
36
- },
37
- [c, r, l, s]
1
+ import { jsxs as y, jsx as I } from "react/jsx-runtime";
2
+ import { forwardRef as $, useState as b, useMemo as w, useImperativeHandle as C, useCallback as P, createElement as j } from "react";
3
+ import * as c from "@radix-ui/react-toast";
4
+ import { varToStyle as k } from "@companix/utils-browser";
5
+ import { Toast as E } from "./bundle.es35.js";
6
+ var u = /* @__PURE__ */ ((r) => (r["top-center"] = "up", r["top-left"] = "left", r["top-right"] = "right", r["bottom-center"] = "down", r["bottom-left"] = "left", r["bottom-right"] = "right", r))(u || {});
7
+ const M = $((r, h) => {
8
+ const { side: l = "top", align: f = "center", gap: d = 14, duration: g, swipeThreshold: x, closeIcon: T } = r, [i, p] = b([]), a = w(() => ({}), []);
9
+ C(
10
+ h,
11
+ () => ({
12
+ showToast: (t) => {
13
+ p((o) => {
14
+ const e = [...o], n = o.findIndex((s) => s.id === t.id);
15
+ return n === -1 ? e.push(t) : e[n] = t, e;
16
+ });
17
+ }
18
+ }),
19
+ []
38
20
  );
39
- return {
40
- viewDate: e,
41
- setViewDate: u,
42
- setPrevMonth: _,
43
- setNextMonth: C,
44
- isDayDisabled: D,
45
- isMonthDisabled: k,
46
- isYearDisabled: v
21
+ const m = P((t) => {
22
+ t.forEach(({ id: o }, e) => {
23
+ let n = 0;
24
+ for (let s = e + 1; s < t.length; s++)
25
+ a[t[s].id] && (n += a[t[s].id].clientHeight + d);
26
+ a[o] && a[o].style.setProperty("--offset", `${n}px`);
27
+ });
28
+ }, []), v = (t) => {
29
+ p((o) => {
30
+ const e = [...o], n = e.findIndex((s) => s.id === t);
31
+ return n !== -1 && e.splice(n, 1), e;
32
+ });
47
33
  };
48
- };
34
+ return /* @__PURE__ */ y(
35
+ c.Provider,
36
+ {
37
+ swipeThreshold: x,
38
+ swipeDirection: u[`${l}-${f}`],
39
+ children: [
40
+ i.map(({ id: t, ...o }) => /* @__PURE__ */ j(
41
+ E,
42
+ {
43
+ ...o,
44
+ id: t,
45
+ key: `toaster-${t}`,
46
+ duration: o.duration ?? g,
47
+ closeIcon: T,
48
+ onInitialized: (e) => {
49
+ a[t] = e, m(i);
50
+ },
51
+ onClosing: () => {
52
+ delete a[t], m(i);
53
+ },
54
+ onClosed: () => v(t)
55
+ }
56
+ )),
57
+ /* @__PURE__ */ I(
58
+ c.Viewport,
59
+ {
60
+ "data-side": l,
61
+ "data-align": f,
62
+ className: "toaster-viewport",
63
+ style: k({ "--toasters-gap": `${d}px` })
64
+ }
65
+ )
66
+ ]
67
+ }
68
+ );
69
+ });
49
70
  export {
50
- X as useCalendar
71
+ M as Viewport
51
72
  };
@@ -1,22 +1,78 @@
1
- import { __exports as e } from "./bundle.es61.js";
2
- var c;
3
- function d() {
4
- return c ? e : (c = 1, (function(a) {
5
- Object.defineProperty(a, "__esModule", { value: !0 });
6
- var n = "fas", r = "chevron-down", v = 448, o = 512, i = [], f = "f078", h = "M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z";
7
- a.definition = {
8
- prefix: n,
9
- iconName: r,
10
- icon: [
11
- v,
12
- o,
13
- i,
14
- f,
15
- h
16
- ]
17
- }, a.faChevronDown = a.definition, a.prefix = n, a.iconName = r, a.width = v, a.height = o, a.ligatures = i, a.unicode = f, a.svgPathData = h, a.aliases = i;
18
- })(e), e);
19
- }
1
+ import { jsxs as f, jsx as o } from "react/jsx-runtime";
2
+ import { useCallback as h, useMemo as d } from "react";
3
+ import { Select as p } from "./bundle.es8.js";
4
+ import { getMonths as Y, getYears as k, DEFAULT_MAX_YEAR as u, DEFAULT_MIN_YEAR as g } from "./bundle.es52.js";
5
+ import { Icon as C } from "./bundle.es30.js";
6
+ import { f as z } from "./bundle.es69.js";
7
+ import { f as L } from "./bundle.es70.js";
8
+ import { setMonth as R, setYear as T } from "./bundle.es51.js";
9
+ const S = ({
10
+ viewDate: n,
11
+ onChange: m,
12
+ isMonthDisabled: a,
13
+ isYearDisabled: c,
14
+ onNextMonth: v,
15
+ onPrevMonth: x
16
+ }) => {
17
+ const r = n.getFullYear(), e = n.getMonth(), i = "ru", N = h(
18
+ (t) => {
19
+ m(R(n, t));
20
+ },
21
+ [m, n]
22
+ ), E = h(
23
+ (t) => {
24
+ m(T(n, t));
25
+ },
26
+ [m, n]
27
+ ), M = d(() => Y(i).map((t) => ({
28
+ ...t,
29
+ className: "capitalize",
30
+ disabled: a && a(t.value)
31
+ })), [i, a]), A = d(() => k(r, 100).map((t) => ({
32
+ ...t,
33
+ disabled: c && c(t.value)
34
+ })), [r, c]);
35
+ let l = e === 11 && r === u;
36
+ a && !l && (l = a(
37
+ e === 11 ? 0 : e + 1,
38
+ e === 11 ? Math.min(r + 1, u) : r
39
+ ));
40
+ let s = e === 0 && r === g;
41
+ return a && !s && (s = a(
42
+ e === 0 ? 11 : e - 1,
43
+ e === 0 ? Math.max(r - 1, g) : r
44
+ )), /* @__PURE__ */ f("div", { className: "calendar-header", children: [
45
+ !s && /* @__PURE__ */ o("button", { className: "calendar-navigation", "data-side": "left", onClick: x, children: /* @__PURE__ */ o(C, { icon: L.faChevronLeft }) }),
46
+ /* @__PURE__ */ f("div", { className: "calendar-pickers", children: [
47
+ /* @__PURE__ */ o(
48
+ p,
49
+ {
50
+ fill: !0,
51
+ options: A,
52
+ size: "sm",
53
+ value: r,
54
+ minimalOptions: !0,
55
+ matchTarget: "min-width",
56
+ onChange: (t) => E(t)
57
+ }
58
+ ),
59
+ /* @__PURE__ */ o(
60
+ p,
61
+ {
62
+ fill: !0,
63
+ options: M,
64
+ size: "sm",
65
+ className: "capitalize",
66
+ value: e,
67
+ minimalOptions: !0,
68
+ matchTarget: "min-width",
69
+ onChange: (t) => N(t)
70
+ }
71
+ )
72
+ ] }),
73
+ !l && /* @__PURE__ */ o("button", { className: "calendar-navigation", "data-side": "right", onClick: v, children: /* @__PURE__ */ o(C, { icon: z.faChevronRight }) })
74
+ ] });
75
+ };
20
76
  export {
21
- d as __require
77
+ S as CalendarHeader
22
78
  };
@@ -1,4 +1,51 @@
1
- var o = {};
1
+ import { subMonths as L, addMonths as N, useDayDisableCheker as R } from "./bundle.es51.js";
2
+ import { DEFAULT_MIN_YEAR as w, DEFAULT_MAX_YEAR as A } from "./bundle.es52.js";
3
+ import { useState as U, useCallback as M } from "react";
4
+ const X = ({
5
+ value: p,
6
+ disablePast: r,
7
+ disableFuture: c,
8
+ shouldDisableDate: E,
9
+ minDateTime: l,
10
+ maxDateTime: s
11
+ }) => {
12
+ const [e, u] = U(p || /* @__PURE__ */ new Date()), _ = M(() => {
13
+ u(L(e));
14
+ }, [e]), C = M(() => {
15
+ u(N(e, 1));
16
+ }, [e]), D = R({
17
+ disableFuture: c,
18
+ disablePast: r,
19
+ shouldDisableDate: E,
20
+ minDateTime: l,
21
+ maxDateTime: s
22
+ }), k = M(
23
+ (o, t) => {
24
+ const n = /* @__PURE__ */ new Date();
25
+ t = t || e.getFullYear();
26
+ const h = l ? l.getMonth() : 0, Y = s ? s.getMonth() : 11, F = l?.getFullYear() || w, f = s?.getFullYear() || A;
27
+ let g = t >= F && t <= f ? t === F && h > o || t === f && o > Y : !0;
28
+ return c && (g = g || (t === n.getFullYear() ? o > n.getMonth() : t > n.getFullYear())), r && (g = g || (t === n.getFullYear() ? o < n.getMonth() : t < n.getFullYear())), g;
29
+ },
30
+ [c, r, e, l, s]
31
+ ), v = M(
32
+ (o) => {
33
+ const t = /* @__PURE__ */ new Date(), n = l?.getFullYear() || w, h = s?.getFullYear() || A;
34
+ let Y = n > o || o > h;
35
+ return c && (Y = Y || o > t.getFullYear()), r && (Y = Y || o < t.getFullYear()), Y;
36
+ },
37
+ [c, r, l, s]
38
+ );
39
+ return {
40
+ viewDate: e,
41
+ setViewDate: u,
42
+ setPrevMonth: _,
43
+ setNextMonth: C,
44
+ isDayDisabled: D,
45
+ isMonthDisabled: k,
46
+ isYearDisabled: v
47
+ };
48
+ };
2
49
  export {
3
- o as __exports
50
+ X as useCalendar
4
51
  };
@@ -1,23 +1,22 @@
1
- import { __exports as a } from "./bundle.es63.js";
2
- import { __require as n } from "./bundle.es64.js";
3
- var r;
4
- function f() {
5
- return r ? a : (r = 1, (function(e) {
6
- Object.defineProperty(e, "__esModule", { value: !0 });
7
- var i = /* @__PURE__ */ n();
8
- e.definition = {
9
- prefix: i.prefix,
10
- iconName: i.iconName,
1
+ import { __exports as e } from "./bundle.es63.js";
2
+ var c;
3
+ function d() {
4
+ return c ? e : (c = 1, (function(a) {
5
+ Object.defineProperty(a, "__esModule", { value: !0 });
6
+ var n = "fas", r = "chevron-down", v = 448, o = 512, i = [], f = "f078", h = "M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z";
7
+ a.definition = {
8
+ prefix: n,
9
+ iconName: r,
11
10
  icon: [
12
- i.width,
13
- i.height,
14
- i.aliases,
15
- i.unicode,
16
- i.svgPathData
11
+ v,
12
+ o,
13
+ i,
14
+ f,
15
+ h
17
16
  ]
18
- }, e.faClose = e.definition, e.prefix = i.prefix, e.iconName = i.iconName, e.width = i.width, e.height = i.height, e.ligatures = i.aliases, e.unicode = i.unicode, e.svgPathData = i.svgPathData, e.aliases = i.aliases;
19
- })(a), a);
17
+ }, a.faChevronDown = a.definition, a.prefix = n, a.iconName = r, a.width = v, a.height = o, a.ligatures = i, a.unicode = f, a.svgPathData = h, a.aliases = i;
18
+ })(e), e);
20
19
  }
21
20
  export {
22
- f as __require
21
+ d as __require
23
22
  };
@@ -1,4 +1,4 @@
1
- var a = {};
1
+ var o = {};
2
2
  export {
3
- a as __exports
3
+ o as __exports
4
4
  };
@@ -1,22 +1,23 @@
1
- import { __exports as e } from "./bundle.es65.js";
2
- var t;
3
- function d() {
4
- return t ? e : (t = 1, (function(a) {
5
- Object.defineProperty(a, "__esModule", { value: !0 });
6
- var r = "fas", n = "xmark", c = 384, f = 512, i = [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], u = "f00d", m = "M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z";
7
- a.definition = {
8
- prefix: r,
9
- iconName: n,
1
+ import { __exports as a } from "./bundle.es65.js";
2
+ import { __require as n } from "./bundle.es66.js";
3
+ var r;
4
+ function f() {
5
+ return r ? a : (r = 1, (function(e) {
6
+ Object.defineProperty(e, "__esModule", { value: !0 });
7
+ var i = /* @__PURE__ */ n();
8
+ e.definition = {
9
+ prefix: i.prefix,
10
+ iconName: i.iconName,
10
11
  icon: [
11
- c,
12
- f,
13
- i,
14
- u,
15
- m
12
+ i.width,
13
+ i.height,
14
+ i.aliases,
15
+ i.unicode,
16
+ i.svgPathData
16
17
  ]
17
- }, a.faXmark = a.definition, a.prefix = r, a.iconName = n, a.width = c, a.height = f, a.ligatures = i, a.unicode = u, a.svgPathData = m, a.aliases = i;
18
- })(e), e);
18
+ }, e.faClose = e.definition, e.prefix = i.prefix, e.iconName = i.iconName, e.width = i.width, e.height = i.height, e.ligatures = i.aliases, e.unicode = i.unicode, e.svgPathData = i.svgPathData, e.aliases = i.aliases;
19
+ })(a), a);
19
20
  }
20
21
  export {
21
- d as __require
22
+ f as __require
22
23
  };
@@ -1,5 +1,22 @@
1
- import { __require as r } from "./bundle.es69.js";
2
- var o = /* @__PURE__ */ r();
1
+ import { __exports as e } from "./bundle.es67.js";
2
+ var t;
3
+ function d() {
4
+ return t ? e : (t = 1, (function(a) {
5
+ Object.defineProperty(a, "__esModule", { value: !0 });
6
+ var r = "fas", n = "xmark", c = 384, f = 512, i = [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], u = "f00d", m = "M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z";
7
+ a.definition = {
8
+ prefix: r,
9
+ iconName: n,
10
+ icon: [
11
+ c,
12
+ f,
13
+ i,
14
+ u,
15
+ m
16
+ ]
17
+ }, a.faXmark = a.definition, a.prefix = r, a.iconName = n, a.width = c, a.height = f, a.ligatures = i, a.unicode = u, a.svgPathData = m, a.aliases = i;
18
+ })(e), e);
19
+ }
3
20
  export {
4
- o as f
21
+ d as __require
5
22
  };
@@ -1,5 +1,4 @@
1
- import { __require as r } from "./bundle.es71.js";
2
- var o = /* @__PURE__ */ r();
1
+ var a = {};
3
2
  export {
4
- o as f
3
+ a as __exports
5
4
  };
@@ -1,22 +1,5 @@
1
- import { __exports as e } from "./bundle.es70.js";
2
- var c;
3
- function g() {
4
- return c ? e : (c = 1, (function(i) {
5
- Object.defineProperty(i, "__esModule", { value: !0 });
6
- var r = "fas", n = "chevron-right", h = 320, v = 512, a = [9002], t = "f054", f = "M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z";
7
- i.definition = {
8
- prefix: r,
9
- iconName: n,
10
- icon: [
11
- h,
12
- v,
13
- a,
14
- t,
15
- f
16
- ]
17
- }, i.faChevronRight = i.definition, i.prefix = r, i.iconName = n, i.width = h, i.height = v, i.ligatures = a, i.unicode = t, i.svgPathData = f, i.aliases = a;
18
- })(e), e);
19
- }
1
+ import { __require as r } from "./bundle.es71.js";
2
+ var o = /* @__PURE__ */ r();
20
3
  export {
21
- g as __require
4
+ o as f
22
5
  };
@@ -1,4 +1,5 @@
1
- var r = {};
1
+ import { __require as r } from "./bundle.es73.js";
2
+ var o = /* @__PURE__ */ r();
2
3
  export {
3
- r as __exports
4
+ o as f
4
5
  };
@@ -1,22 +1,22 @@
1
- import { __exports as i } from "./bundle.es72.js";
1
+ import { __exports as e } from "./bundle.es72.js";
2
2
  var c;
3
- function o() {
4
- return c ? i : (c = 1, (function(e) {
5
- Object.defineProperty(e, "__esModule", { value: !0 });
6
- var n = "fas", r = "chevron-left", f = 320, v = 512, a = [9001], t = "f053", h = "M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z";
7
- e.definition = {
8
- prefix: n,
9
- iconName: r,
3
+ function g() {
4
+ return c ? e : (c = 1, (function(i) {
5
+ Object.defineProperty(i, "__esModule", { value: !0 });
6
+ var r = "fas", n = "chevron-right", h = 320, v = 512, a = [9002], t = "f054", f = "M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z";
7
+ i.definition = {
8
+ prefix: r,
9
+ iconName: n,
10
10
  icon: [
11
- f,
11
+ h,
12
12
  v,
13
13
  a,
14
14
  t,
15
- h
15
+ f
16
16
  ]
17
- }, e.faChevronLeft = e.definition, e.prefix = n, e.iconName = r, e.width = f, e.height = v, e.ligatures = a, e.unicode = t, e.svgPathData = h, e.aliases = a;
18
- })(i), i);
17
+ }, i.faChevronRight = i.definition, i.prefix = r, i.iconName = n, i.width = h, i.height = v, i.ligatures = a, i.unicode = t, i.svgPathData = f, i.aliases = a;
18
+ })(e), e);
19
19
  }
20
20
  export {
21
- o as __require
21
+ g as __require
22
22
  };
@@ -1,4 +1,4 @@
1
- var e = {};
1
+ var r = {};
2
2
  export {
3
- e as __exports
3
+ r as __exports
4
4
  };
@@ -0,0 +1,22 @@
1
+ import { __exports as i } from "./bundle.es74.js";
2
+ var c;
3
+ function o() {
4
+ return c ? i : (c = 1, (function(e) {
5
+ Object.defineProperty(e, "__esModule", { value: !0 });
6
+ var n = "fas", r = "chevron-left", f = 320, v = 512, a = [9001], t = "f053", h = "M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z";
7
+ e.definition = {
8
+ prefix: n,
9
+ iconName: r,
10
+ icon: [
11
+ f,
12
+ v,
13
+ a,
14
+ t,
15
+ h
16
+ ]
17
+ }, e.faChevronLeft = e.definition, e.prefix = n, e.iconName = r, e.width = f, e.height = v, e.ligatures = a, e.unicode = t, e.svgPathData = h, e.aliases = a;
18
+ })(i), i);
19
+ }
20
+ export {
21
+ o as __require
22
+ };
@@ -0,0 +1,4 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
@@ -1,10 +1,10 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import { useMemo as F, useImperativeHandle as I } from "react";
3
3
  import { Popover as T } from "./bundle.es6.js";
4
- import { useFroozeClosing as b } from "./bundle.es36.js";
5
- import { SelectInput as z } from "./bundle.es37.js";
6
- import { useScrollListController as B } from "./bundle.es38.js";
7
- import { SelectOptions as D } from "./bundle.es39.js";
4
+ import { useFroozeClosing as b } from "./bundle.es38.js";
5
+ import { SelectInput as z } from "./bundle.es39.js";
6
+ import { useScrollListController as B } from "./bundle.es40.js";
7
+ import { SelectOptions as D } from "./bundle.es41.js";
8
8
  import { mergeRefs as j } from "react-merge-refs";
9
9
  const G = (a) => {
10
10
  const {
@@ -1,8 +1,8 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { forwardRef as l, useRef as b } from "react";
3
3
  import { mergeRefs as R } from "react-merge-refs";
4
- import { InputElement as c } from "./bundle.es40.js";
5
- import { InputContainer as x } from "./bundle.es41.js";
4
+ import { InputElement as c } from "./bundle.es42.js";
5
+ import { InputContainer as x } from "./bundle.es43.js";
6
6
  import I from "classnames";
7
7
  const E = l(
8
8
  ({
package/dist/index.d.ts CHANGED
@@ -37,3 +37,7 @@ export type { Appearance } from './Button';
37
37
  export type { RadioOption } from './Radio';
38
38
  export type { NumberInputProps, ReactNumberFormatParams } from './NumberInput';
39
39
  export type { CalendarProps } from './DatePicker/Calendar';
40
+ export { createDialogsRegistry, DialogShell } from './__helpers/createDialogRegistry';
41
+ export { createPopoversRegistry } from './__helpers/createPopoversRegistry';
42
+ export type { PopupProps } from './__helpers/createDialogRegistry';
43
+ export type { PopoverContentProps } from './__helpers/createPopoversRegistry';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@companix/uikit",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "module": "./dist/bundle.es.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "type": "module",
File without changes