@companix/uikit 0.0.27 → 0.0.29
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/Input/Input.d.ts +1 -0
- 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/bundle.es.js +28 -25
- 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 +1 -1
- 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 +49 -41
- package/dist/bundle.es37.js +42 -8
- package/dist/bundle.es38.js +8 -23
- package/dist/bundle.es39.js +24 -87
- package/dist/bundle.es40.js +87 -18
- package/dist/bundle.es41.js +16 -18
- package/dist/bundle.es42.js +20 -24
- package/dist/bundle.es43.js +20 -35
- package/dist/bundle.es44.js +39 -3
- package/dist/bundle.es45.js +3 -5
- package/dist/bundle.es46.js +5 -14
- package/dist/bundle.es47.js +13 -13
- package/dist/bundle.es48.js +14 -3
- package/dist/bundle.es49.js +3 -3
- package/dist/bundle.es50.js +3 -70
- package/dist/bundle.es51.js +68 -66
- package/dist/bundle.es52.js +67 -69
- package/dist/bundle.es53.js +69 -11
- package/dist/bundle.es54.js +11 -42
- package/dist/bundle.es55.js +43 -32
- package/dist/bundle.es56.js +15 -70
- 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 +13 -75
- package/dist/bundle.es61.js +20 -49
- package/dist/bundle.es62.js +2 -20
- package/dist/bundle.es63.js +76 -2
- package/dist/bundle.es64.js +49 -21
- package/dist/bundle.es65.js +20 -2
- package/dist/bundle.es66.js +2 -20
- package/dist/bundle.es67.js +21 -2
- package/dist/bundle.es68.js +2 -14
- package/dist/bundle.es69.js +20 -3
- package/dist/bundle.es70.js +2 -3
- package/dist/bundle.es71.js +14 -20
- package/dist/bundle.es72.js +3 -2
- package/dist/bundle.es73.js +3 -20
- package/dist/bundle.es74.js +20 -2
- 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 +22 -21
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/bundle.es67.js
CHANGED
|
@@ -1,4 +1,23 @@
|
|
|
1
|
-
|
|
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
|
+
}
|
|
2
21
|
export {
|
|
3
|
-
|
|
22
|
+
f as __require
|
|
4
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,5 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
var
|
|
1
|
+
import { __exports as e } from "./bundle.es70.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
|
-
|
|
21
|
+
d as __require
|
|
5
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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 { 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
|
-
|
|
15
|
+
o as useEffectWithLayout
|
|
22
16
|
};
|
package/dist/bundle.es72.js
CHANGED
package/dist/bundle.es73.js
CHANGED
|
@@ -1,22 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
var
|
|
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 { __require as r } from "./bundle.es76.js";
|
|
2
|
+
var o = /* @__PURE__ */ r();
|
|
20
3
|
export {
|
|
21
|
-
o as
|
|
4
|
+
o as f
|
|
22
5
|
};
|
package/dist/bundle.es74.js
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
|
-
|
|
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
|
+
}
|
|
2
20
|
export {
|
|
3
|
-
|
|
21
|
+
g as __require
|
|
4
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,42 +1,43 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { mergeRefs as
|
|
4
|
-
import { InputElement as
|
|
5
|
-
import { InputContainer as
|
|
6
|
-
import
|
|
7
|
-
const
|
|
2
|
+
import { forwardRef as b, useRef as R } from "react";
|
|
3
|
+
import { mergeRefs as c } from "react-merge-refs";
|
|
4
|
+
import { InputElement as x } from "./bundle.es43.js";
|
|
5
|
+
import { InputContainer as I } from "./bundle.es44.js";
|
|
6
|
+
import g from "classnames";
|
|
7
|
+
const k = b(
|
|
8
8
|
({
|
|
9
9
|
onChange: m,
|
|
10
10
|
onValueChange: f,
|
|
11
11
|
readOnly: i,
|
|
12
12
|
inputClassName: o,
|
|
13
|
-
value:
|
|
14
|
-
placeholder:
|
|
13
|
+
value: n,
|
|
14
|
+
placeholder: p,
|
|
15
15
|
mask: d,
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
type: s = "text",
|
|
17
|
+
maskChar: u,
|
|
18
|
+
inputRef: a,
|
|
18
19
|
...e
|
|
19
|
-
},
|
|
20
|
-
const r =
|
|
21
|
-
return /* @__PURE__ */ t(
|
|
22
|
-
|
|
20
|
+
}, l) => {
|
|
21
|
+
const r = R(null);
|
|
22
|
+
return /* @__PURE__ */ t(I, { ref: l, inputRef: r, ...e, children: /* @__PURE__ */ t(
|
|
23
|
+
x,
|
|
23
24
|
{
|
|
24
|
-
type:
|
|
25
|
-
ref:
|
|
26
|
-
className:
|
|
25
|
+
type: s,
|
|
26
|
+
ref: c([r, a]),
|
|
27
|
+
className: g("form-input form-input-base", o),
|
|
27
28
|
"aria-disabled": e.disabled,
|
|
28
29
|
onChange: m,
|
|
29
30
|
onValueChange: f,
|
|
30
|
-
value:
|
|
31
|
-
placeholder:
|
|
31
|
+
value: n,
|
|
32
|
+
placeholder: p,
|
|
32
33
|
disabled: e.disabled,
|
|
33
34
|
readOnly: i,
|
|
34
|
-
maskChar:
|
|
35
|
+
maskChar: u,
|
|
35
36
|
mask: d
|
|
36
37
|
}
|
|
37
38
|
) });
|
|
38
39
|
}
|
|
39
40
|
);
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
+
k as Input
|
|
42
43
|
};
|
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';
|