@companix/uikit 0.0.26 → 0.0.28

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 (71) hide show
  1. package/dist/Dialog/index.d.ts +6 -2
  2. package/dist/Popover/index.d.ts +3 -3
  3. package/dist/ThemeProvider/helpers.d.ts +4 -0
  4. package/dist/ThemeProvider/index.d.ts +12 -0
  5. package/dist/ThemeProvider/script.d.ts +7 -0
  6. package/dist/ThemeProvider/types.d.ts +2 -0
  7. package/dist/__helpers/createDialogRegistry.d.ts +26 -0
  8. package/dist/__helpers/createPopoversRegistry.d.ts +19 -0
  9. package/dist/bundle.es.js +39 -31
  10. package/dist/bundle.es10.js +1 -1
  11. package/dist/bundle.es11.js +1 -1
  12. package/dist/bundle.es14.js +1 -1
  13. package/dist/bundle.es18.js +28 -12
  14. package/dist/bundle.es19.js +1 -1
  15. package/dist/bundle.es20.js +1 -1
  16. package/dist/bundle.es23.js +1 -1
  17. package/dist/bundle.es24.js +3 -3
  18. package/dist/bundle.es25.js +4 -4
  19. package/dist/bundle.es26.js +2 -2
  20. package/dist/bundle.es29.js +2 -2
  21. package/dist/bundle.es32.js +37 -9
  22. package/dist/bundle.es33.js +10 -24
  23. package/dist/bundle.es34.js +17 -31
  24. package/dist/bundle.es35.js +36 -48
  25. package/dist/bundle.es36.js +48 -21
  26. package/dist/bundle.es37.js +42 -86
  27. package/dist/bundle.es38.js +8 -17
  28. package/dist/bundle.es39.js +23 -19
  29. package/dist/bundle.es40.js +81 -18
  30. package/dist/bundle.es41.js +18 -39
  31. package/dist/bundle.es42.js +20 -3
  32. package/dist/bundle.es43.js +24 -5
  33. package/dist/bundle.es44.js +39 -14
  34. package/dist/bundle.es45.js +3 -14
  35. package/dist/bundle.es46.js +5 -3
  36. package/dist/bundle.es47.js +14 -3
  37. package/dist/bundle.es48.js +13 -69
  38. package/dist/bundle.es49.js +3 -68
  39. package/dist/bundle.es50.js +3 -70
  40. package/dist/bundle.es51.js +68 -10
  41. package/dist/bundle.es52.js +66 -41
  42. package/dist/bundle.es53.js +69 -31
  43. package/dist/bundle.es54.js +12 -70
  44. package/dist/bundle.es55.js +42 -75
  45. package/dist/bundle.es56.js +14 -48
  46. package/dist/bundle.es57.js +24 -20
  47. package/dist/bundle.es58.js +32 -2
  48. package/dist/bundle.es59.js +69 -13
  49. package/dist/bundle.es60.js +14 -20
  50. package/dist/bundle.es61.js +76 -2
  51. package/dist/bundle.es62.js +49 -21
  52. package/dist/bundle.es63.js +20 -2
  53. package/dist/bundle.es64.js +2 -20
  54. package/dist/bundle.es65.js +20 -2
  55. package/dist/bundle.es66.js +2 -3
  56. package/dist/bundle.es67.js +21 -3
  57. package/dist/bundle.es68.js +2 -14
  58. package/dist/bundle.es69.js +13 -13
  59. package/dist/bundle.es70.js +2 -2
  60. package/dist/bundle.es71.js +14 -20
  61. package/dist/bundle.es72.js +3 -2
  62. package/dist/bundle.es73.js +5 -0
  63. package/dist/bundle.es74.js +22 -0
  64. package/dist/bundle.es75.js +4 -0
  65. package/dist/bundle.es76.js +22 -0
  66. package/dist/bundle.es77.js +4 -0
  67. package/dist/bundle.es8.js +4 -4
  68. package/dist/bundle.es9.js +2 -2
  69. package/dist/index.d.ts +5 -0
  70. package/package.json +1 -1
  71. /package/dist/{Toaster → __utils}/RemoveListener.d.ts +0 -0
@@ -1,5 +1,23 @@
1
- import { __require as r } from "./bundle.es71.js";
2
- var o = /* @__PURE__ */ r();
1
+ import { __exports as a } from "./bundle.es68.js";
2
+ import { __require as n } from "./bundle.es69.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,
11
+ icon: [
12
+ i.width,
13
+ i.height,
14
+ i.aliases,
15
+ i.unicode,
16
+ i.svgPathData
17
+ ]
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);
20
+ }
3
21
  export {
4
- o as f
22
+ f as __require
5
23
  };
@@ -1,16 +1,4 @@
1
- import { useRef as f, useLayoutEffect as u, useEffect as s } from "react";
2
- const o = (t, r) => {
3
- const e = f(!1);
4
- u(() => {
5
- e.current = !0, t();
6
- }, []), s(() => {
7
- if (e.current) {
8
- e.current = !1;
9
- return;
10
- }
11
- t();
12
- }, r);
13
- };
1
+ var a = {};
14
2
  export {
15
- o as useEffectWithLayout
3
+ a as __exports
16
4
  };
@@ -1,22 +1,22 @@
1
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 = {
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
8
  prefix: r,
9
9
  iconName: n,
10
10
  icon: [
11
- h,
12
- v,
13
- a,
14
- t,
15
- f
11
+ c,
12
+ f,
13
+ i,
14
+ u,
15
+ m
16
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;
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
18
  })(e), e);
19
19
  }
20
20
  export {
21
- g as __require
21
+ d as __require
22
22
  };
@@ -1,4 +1,4 @@
1
- var r = {};
1
+ var a = {};
2
2
  export {
3
- r as __exports
3
+ a as __exports
4
4
  };
@@ -1,22 +1,16 @@
1
- import { __exports as i } from "./bundle.es72.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
- }
1
+ import { useRef as f, useLayoutEffect as u, useEffect as s } from "react";
2
+ const o = (t, r) => {
3
+ const e = f(!1);
4
+ u(() => {
5
+ e.current = !0, t();
6
+ }, []), s(() => {
7
+ if (e.current) {
8
+ e.current = !1;
9
+ return;
10
+ }
11
+ t();
12
+ }, r);
13
+ };
20
14
  export {
21
- o as __require
15
+ o as useEffectWithLayout
22
16
  };
@@ -1,4 +1,5 @@
1
- var e = {};
1
+ import { __require as r } from "./bundle.es74.js";
2
+ var o = /* @__PURE__ */ r();
2
3
  export {
3
- e as __exports
4
+ o as f
4
5
  };
@@ -0,0 +1,5 @@
1
+ import { __require as r } from "./bundle.es76.js";
2
+ var o = /* @__PURE__ */ r();
3
+ export {
4
+ o as f
5
+ };
@@ -0,0 +1,22 @@
1
+ import { __exports as e } from "./bundle.es75.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
+ }
20
+ export {
21
+ g as __require
22
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,22 @@
1
+ import { __exports as i } from "./bundle.es77.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.es39.js";
5
+ import { SelectInput as z } from "./bundle.es40.js";
6
+ import { useScrollListController as B } from "./bundle.es41.js";
7
+ import { SelectOptions as D } from "./bundle.es42.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.es43.js";
5
+ import { InputContainer as x } from "./bundle.es44.js";
6
6
  import I from "classnames";
7
7
  const E = l(
8
8
  ({
package/dist/index.d.ts CHANGED
@@ -28,6 +28,7 @@ export { FormGroup } from './FormGroup';
28
28
  export { TimePicker } from './TimePicker';
29
29
  export { Icon } from './Icon';
30
30
  export { ProgressBar } from './Progress';
31
+ export { ThemeProvider, useTheme } from './ThemeProvider';
31
32
  export { useLocalStorage } from './__hooks/use-local-storage';
32
33
  export { createAlertAgent } from './DialogAlert';
33
34
  export { createToaster } from './Toaster';
@@ -37,3 +38,7 @@ export type { Appearance } from './Button';
37
38
  export type { RadioOption } from './Radio';
38
39
  export type { NumberInputProps, ReactNumberFormatParams } from './NumberInput';
39
40
  export type { CalendarProps } from './DatePicker/Calendar';
41
+ export { createDialogsRegistry, DialogShell } from './__helpers/createDialogRegistry';
42
+ export { createPopoversRegistry } from './__helpers/createPopoversRegistry';
43
+ export type { PopupProps } from './__helpers/createDialogRegistry';
44
+ 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.28",
4
4
  "module": "./dist/bundle.es.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "type": "module",
File without changes