@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.
- package/dist/Dialog/index.d.ts +6 -2
- package/dist/Popover/index.d.ts +3 -3
- package/dist/ThemeProvider/helpers.d.ts +4 -0
- package/dist/ThemeProvider/index.d.ts +12 -0
- package/dist/ThemeProvider/script.d.ts +7 -0
- package/dist/ThemeProvider/types.d.ts +2 -0
- package/dist/__helpers/createDialogRegistry.d.ts +26 -0
- package/dist/__helpers/createPopoversRegistry.d.ts +19 -0
- package/dist/bundle.es.js +39 -31
- package/dist/bundle.es10.js +1 -1
- package/dist/bundle.es11.js +1 -1
- package/dist/bundle.es14.js +1 -1
- package/dist/bundle.es18.js +28 -12
- package/dist/bundle.es19.js +1 -1
- package/dist/bundle.es20.js +1 -1
- package/dist/bundle.es23.js +1 -1
- package/dist/bundle.es24.js +3 -3
- package/dist/bundle.es25.js +4 -4
- package/dist/bundle.es26.js +2 -2
- package/dist/bundle.es29.js +2 -2
- package/dist/bundle.es32.js +37 -9
- package/dist/bundle.es33.js +10 -24
- package/dist/bundle.es34.js +17 -31
- package/dist/bundle.es35.js +36 -48
- package/dist/bundle.es36.js +48 -21
- package/dist/bundle.es37.js +42 -86
- package/dist/bundle.es38.js +8 -17
- package/dist/bundle.es39.js +23 -19
- package/dist/bundle.es40.js +81 -18
- package/dist/bundle.es41.js +18 -39
- package/dist/bundle.es42.js +20 -3
- package/dist/bundle.es43.js +24 -5
- package/dist/bundle.es44.js +39 -14
- package/dist/bundle.es45.js +3 -14
- package/dist/bundle.es46.js +5 -3
- package/dist/bundle.es47.js +14 -3
- package/dist/bundle.es48.js +13 -69
- package/dist/bundle.es49.js +3 -68
- package/dist/bundle.es50.js +3 -70
- package/dist/bundle.es51.js +68 -10
- package/dist/bundle.es52.js +66 -41
- package/dist/bundle.es53.js +69 -31
- package/dist/bundle.es54.js +12 -70
- package/dist/bundle.es55.js +42 -75
- package/dist/bundle.es56.js +14 -48
- package/dist/bundle.es57.js +24 -20
- package/dist/bundle.es58.js +32 -2
- package/dist/bundle.es59.js +69 -13
- package/dist/bundle.es60.js +14 -20
- package/dist/bundle.es61.js +76 -2
- package/dist/bundle.es62.js +49 -21
- package/dist/bundle.es63.js +20 -2
- package/dist/bundle.es64.js +2 -20
- package/dist/bundle.es65.js +20 -2
- package/dist/bundle.es66.js +2 -3
- package/dist/bundle.es67.js +21 -3
- package/dist/bundle.es68.js +2 -14
- package/dist/bundle.es69.js +13 -13
- package/dist/bundle.es70.js +2 -2
- package/dist/bundle.es71.js +14 -20
- package/dist/bundle.es72.js +3 -2
- package/dist/bundle.es73.js +5 -0
- package/dist/bundle.es74.js +22 -0
- package/dist/bundle.es75.js +4 -0
- package/dist/bundle.es76.js +22 -0
- package/dist/bundle.es77.js +4 -0
- package/dist/bundle.es8.js +4 -4
- package/dist/bundle.es9.js +2 -2
- package/dist/index.d.ts +5 -0
- package/package.json +1 -1
- /package/dist/{Toaster → __utils}/RemoveListener.d.ts +0 -0
package/dist/bundle.es67.js
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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
|
-
|
|
22
|
+
f as __require
|
|
5
23
|
};
|
package/dist/bundle.es68.js
CHANGED
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
3
|
+
a as __exports
|
|
16
4
|
};
|
package/dist/bundle.es69.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { __exports as e } from "./bundle.es70.js";
|
|
2
|
-
var
|
|
3
|
-
function
|
|
4
|
-
return
|
|
5
|
-
Object.defineProperty(
|
|
6
|
-
var r = "fas", n = "
|
|
7
|
-
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
c,
|
|
12
|
+
f,
|
|
13
|
+
i,
|
|
14
|
+
u,
|
|
15
|
+
m
|
|
16
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
18
|
})(e), e);
|
|
19
19
|
}
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
d as __require
|
|
22
22
|
};
|
package/dist/bundle.es70.js
CHANGED
package/dist/bundle.es71.js
CHANGED
|
@@ -1,22 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
e.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
|
15
|
+
o as useEffectWithLayout
|
|
22
16
|
};
|
package/dist/bundle.es72.js
CHANGED
|
@@ -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,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
|
+
};
|
package/dist/bundle.es8.js
CHANGED
|
@@ -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.
|
|
5
|
-
import { SelectInput as z } from "./bundle.
|
|
6
|
-
import { useScrollListController as B } from "./bundle.
|
|
7
|
-
import { SelectOptions as D } from "./bundle.
|
|
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 {
|
package/dist/bundle.es9.js
CHANGED
|
@@ -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.
|
|
5
|
-
import { InputContainer as x } from "./bundle.
|
|
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
|
File without changes
|