@companix/uikit 0.0.77 → 0.0.78
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/bundle.es.js +12 -11
- package/dist/bundle.es45.js +21 -14
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/bundle.es.js
CHANGED
|
@@ -2,9 +2,9 @@ import { Avatar as e } from "./bundle.es2.js";
|
|
|
2
2
|
import { avatarSizes as p } from "./bundle.es3.js";
|
|
3
3
|
import { Button as x } from "./bundle.es4.js";
|
|
4
4
|
import { ButtonGroup as a } from "./bundle.es5.js";
|
|
5
|
-
import { Spinner as
|
|
6
|
-
import { Scrollable as
|
|
7
|
-
import { ImitateScroll as
|
|
5
|
+
import { Spinner as c } from "./bundle.es6.js";
|
|
6
|
+
import { Scrollable as S } from "./bundle.es7.js";
|
|
7
|
+
import { ImitateScroll as s } from "./bundle.es8.js";
|
|
8
8
|
import { Segments as g } from "./bundle.es9.js";
|
|
9
9
|
import { Popover as h } from "./bundle.es10.js";
|
|
10
10
|
import { Tooltip as v } from "./bundle.es11.js";
|
|
@@ -29,8 +29,8 @@ import { DateInput as to } from "./bundle.es29.js";
|
|
|
29
29
|
import { FileOverlay as mo } from "./bundle.es30.js";
|
|
30
30
|
import { FormGroup as fo } from "./bundle.es31.js";
|
|
31
31
|
import { TimePicker as io } from "./bundle.es32.js";
|
|
32
|
-
import { Icon as
|
|
33
|
-
import { ProgressBar as
|
|
32
|
+
import { Icon as lo } from "./bundle.es33.js";
|
|
33
|
+
import { ProgressBar as no } from "./bundle.es34.js";
|
|
34
34
|
import { Skeleton as uo } from "./bundle.es35.js";
|
|
35
35
|
import { ThemeProvider as To, useTheme as ho } from "./bundle.es36.js";
|
|
36
36
|
import { ColorSchemeScript as vo, colorSchemeScript as Io } from "./bundle.es37.js";
|
|
@@ -41,7 +41,7 @@ import { createToaster as yo } from "./bundle.es41.js";
|
|
|
41
41
|
import { Toast as Go } from "./bundle.es42.js";
|
|
42
42
|
import { DialogShell as Oo, createDialogsRegistry as Fo } from "./bundle.es43.js";
|
|
43
43
|
import { createPopoversRegistry as No } from "./bundle.es44.js";
|
|
44
|
-
import { createScope as qo } from "./bundle.es45.js";
|
|
44
|
+
import { createScope as qo, createStaticScope as Eo } from "./bundle.es45.js";
|
|
45
45
|
export {
|
|
46
46
|
Q as AlertDialog,
|
|
47
47
|
e as Avatar,
|
|
@@ -57,23 +57,23 @@ export {
|
|
|
57
57
|
H as Drawer,
|
|
58
58
|
mo as FileOverlay,
|
|
59
59
|
fo as FormGroup,
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
lo as Icon,
|
|
61
|
+
s as ImitateScroll,
|
|
62
62
|
b as Input,
|
|
63
63
|
V as LoadingButton,
|
|
64
64
|
y as NumberInput,
|
|
65
65
|
R as OptionItem,
|
|
66
66
|
G as OptionsList,
|
|
67
67
|
h as Popover,
|
|
68
|
-
|
|
68
|
+
no as ProgressBar,
|
|
69
69
|
j as Radio,
|
|
70
70
|
q as RadioGroup,
|
|
71
|
-
|
|
71
|
+
S as Scrollable,
|
|
72
72
|
g as Segments,
|
|
73
73
|
P as Select,
|
|
74
74
|
A as SelectTags,
|
|
75
75
|
uo as Skeleton,
|
|
76
|
-
|
|
76
|
+
c as Spinner,
|
|
77
77
|
z as Switch,
|
|
78
78
|
X as Tabs,
|
|
79
79
|
$ as TextArea,
|
|
@@ -87,6 +87,7 @@ export {
|
|
|
87
87
|
Fo as createDialogsRegistry,
|
|
88
88
|
No as createPopoversRegistry,
|
|
89
89
|
qo as createScope,
|
|
90
|
+
Eo as createStaticScope,
|
|
90
91
|
yo as createToaster,
|
|
91
92
|
bo as useBooleanState,
|
|
92
93
|
Ao as useLocalStorage,
|
package/dist/bundle.es45.js
CHANGED
|
@@ -1,22 +1,29 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { createContext as a,
|
|
3
|
-
const
|
|
4
|
-
const
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as a, useContext as l, useState as i, useMemo as p } from "react";
|
|
3
|
+
const V = (o) => {
|
|
4
|
+
const e = a({
|
|
5
5
|
value: o,
|
|
6
6
|
setValue: () => {
|
|
7
7
|
}
|
|
8
|
-
}),
|
|
8
|
+
}), r = { setValue: () => {
|
|
9
9
|
} };
|
|
10
|
-
return [({ initialValue:
|
|
11
|
-
const [
|
|
12
|
-
return
|
|
13
|
-
|
|
14
|
-
}, []), /* @__PURE__ */
|
|
10
|
+
return [({ initialValue: t, children: s }) => {
|
|
11
|
+
const [v, n] = i(t ?? o);
|
|
12
|
+
return p(() => {
|
|
13
|
+
r.setValue = n;
|
|
14
|
+
}, []), /* @__PURE__ */ u(e.Provider, { value: { value: v, setValue: n }, children: s });
|
|
15
15
|
}, () => {
|
|
16
|
-
const { value:
|
|
17
|
-
return [
|
|
18
|
-
}, (
|
|
16
|
+
const { value: t, setValue: s } = l(e);
|
|
17
|
+
return [t, s];
|
|
18
|
+
}, (t) => r.setValue(t)];
|
|
19
|
+
}, P = (o) => {
|
|
20
|
+
const e = a(o);
|
|
21
|
+
return [
|
|
22
|
+
({ value: r, children: c }) => /* @__PURE__ */ u(e.Provider, { value: r, children: c }),
|
|
23
|
+
() => l(e)
|
|
24
|
+
];
|
|
19
25
|
};
|
|
20
26
|
export {
|
|
21
|
-
|
|
27
|
+
V as createScope,
|
|
28
|
+
P as createStaticScope
|
|
22
29
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -77,6 +77,6 @@ export type { CalendarProps } from './Calendar/Calendar';
|
|
|
77
77
|
export type { OptionsSource, UseOptionsResponse } from './Select/OptionsPopover';
|
|
78
78
|
export { createDialogsRegistry, DialogShell } from './__helpers/createDialogRegistry';
|
|
79
79
|
export { createPopoversRegistry } from './__helpers/createPopoversRegistry';
|
|
80
|
-
export { createScope } from './__helpers/createScope';
|
|
80
|
+
export { createScope, createStaticScope } from './__helpers/createScope';
|
|
81
81
|
export type { PopupProps } from './__helpers/createDialogRegistry';
|
|
82
82
|
export type { PopoverContentProps } from './__helpers/createPopoversRegistry';
|