@pnkx-lib/ui 1.2.5 → 1.2.7
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/chunks/Sidebar-DkquMpk7.js +6835 -0
- package/dist/index.js +25 -24
- package/dist/types/index.d.ts +16 -0
- package/dist/types/ui.d.ts +16 -0
- package/dist/ui/index.js +17 -16
- package/package.json +3 -3
- package/dist/chunks/Steps-yOOLwM59.js +0 -5119
package/dist/index.js
CHANGED
@@ -1,39 +1,40 @@
|
|
1
|
-
import { e, g as o, B as r, C as t, f as
|
2
|
-
import { E as
|
3
|
-
import { C as
|
1
|
+
import { e, g as o, B as r, C as t, f as i, d as l, D as p, F as d, L as n, j as F, M as c, k as S, P as C, R as T, c as b, m as P, S as g, h as k, i as m, l as u, T as x, b as M, a as y, t as R } from "./chunks/Sidebar-DkquMpk7.js";
|
2
|
+
import { E as h, L as B, T as D } from "./chunks/createSuper-DBIhZ50y.js";
|
3
|
+
import { C as E, D as w, I, P as j, R as v, a as G, S as q, T as z } from "./chunks/Switch-CzMyITg3.js";
|
4
4
|
export {
|
5
5
|
e as Badge,
|
6
6
|
o as Breadcrumb,
|
7
7
|
r as Button,
|
8
8
|
t as CascaderField,
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
E as CheckboxField,
|
10
|
+
i as Col,
|
11
|
+
l as Container,
|
12
|
+
w as DatePickerField,
|
13
13
|
p as Dropdown,
|
14
|
-
|
14
|
+
h as ErrorMessage,
|
15
15
|
d as Flex,
|
16
|
-
|
17
|
-
|
16
|
+
I as Input,
|
17
|
+
B as Label,
|
18
18
|
n as Layout,
|
19
19
|
F as Menu,
|
20
20
|
c as Modal,
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
21
|
+
S as Pagination,
|
22
|
+
j as PnkxField,
|
23
|
+
C as Popover,
|
24
|
+
v as RadioGroup,
|
25
|
+
G as RangePickerField,
|
26
26
|
T as Row,
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
g as
|
31
|
-
k as
|
27
|
+
b as SearchFiltersForm,
|
28
|
+
q as SelectField,
|
29
|
+
P as Sidebar,
|
30
|
+
g as Skeleton,
|
31
|
+
k as Space,
|
32
|
+
m as Splitter,
|
32
33
|
u as Steps,
|
33
34
|
x as Table,
|
34
35
|
M as Tabs,
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
36
|
+
z as TinyMCE,
|
37
|
+
y as Tooltip,
|
38
|
+
D as Typography,
|
39
|
+
R as typeColorMap
|
39
40
|
};
|
package/dist/types/index.d.ts
CHANGED
@@ -419,6 +419,22 @@ export declare interface SelectFieldProps extends SelectProps {
|
|
419
419
|
customStyleContainer?: string;
|
420
420
|
}
|
421
421
|
|
422
|
+
export declare const Sidebar: ({ children, menu }: SidebarProps) => JSX.Element;
|
423
|
+
|
424
|
+
export declare interface SidebarProps {
|
425
|
+
children?: React.ReactNode;
|
426
|
+
menu: Array<{
|
427
|
+
name: string;
|
428
|
+
href: string;
|
429
|
+
icon: React.ReactNode;
|
430
|
+
current: boolean;
|
431
|
+
children?: Array<{
|
432
|
+
name: string;
|
433
|
+
href: string;
|
434
|
+
}>;
|
435
|
+
}>;
|
436
|
+
}
|
437
|
+
|
422
438
|
declare type SingleCascaderProps = CascaderProps<DefaultOptionType, string> & {
|
423
439
|
multiple?: false;
|
424
440
|
};
|
package/dist/types/ui.d.ts
CHANGED
@@ -291,6 +291,22 @@ export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
|
291
291
|
onSubmit: (data: T) => void;
|
292
292
|
}
|
293
293
|
|
294
|
+
export declare const Sidebar: ({ children, menu }: SidebarProps) => JSX.Element;
|
295
|
+
|
296
|
+
export declare interface SidebarProps {
|
297
|
+
children?: React.ReactNode;
|
298
|
+
menu: Array<{
|
299
|
+
name: string;
|
300
|
+
href: string;
|
301
|
+
icon: React.ReactNode;
|
302
|
+
current: boolean;
|
303
|
+
children?: Array<{
|
304
|
+
name: string;
|
305
|
+
href: string;
|
306
|
+
}>;
|
307
|
+
}>;
|
308
|
+
}
|
309
|
+
|
294
310
|
declare type SingleCascaderProps = CascaderProps<DefaultOptionType, string> & {
|
295
311
|
multiple?: false;
|
296
312
|
};
|
package/dist/ui/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { e, g as o, B as r, C as t, f as l, d as p, D as i, F as
|
2
|
-
import { E as
|
1
|
+
import { e, g as o, B as r, C as t, f as l, d as p, D as i, F as d, L as n, j as S, M as b, k as T, P as c, R as g, c as m, m as C, S as F, h as M, i as u, l as y, T as B, b as L, a as f, t as h } from "../chunks/Sidebar-DkquMpk7.js";
|
2
|
+
import { E as P, L as k, T as w } from "../chunks/createSuper-DBIhZ50y.js";
|
3
3
|
export {
|
4
4
|
e as Badge,
|
5
5
|
o as Breadcrumb,
|
@@ -8,23 +8,24 @@ export {
|
|
8
8
|
l as Col,
|
9
9
|
p as Container,
|
10
10
|
i as Dropdown,
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
P as ErrorMessage,
|
12
|
+
d as Flex,
|
13
|
+
k as Label,
|
14
|
+
n as Layout,
|
15
15
|
S as Menu,
|
16
|
-
|
17
|
-
|
16
|
+
b as Modal,
|
17
|
+
T as Pagination,
|
18
18
|
c as Popover,
|
19
19
|
g as Row,
|
20
|
-
|
20
|
+
m as SearchFiltersForm,
|
21
|
+
C as Sidebar,
|
21
22
|
F as Skeleton,
|
22
23
|
M as Space,
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
24
|
+
u as Splitter,
|
25
|
+
y as Steps,
|
26
|
+
B as Table,
|
27
|
+
L as Tabs,
|
28
|
+
f as Tooltip,
|
29
|
+
w as Typography,
|
30
|
+
h as typeColorMap
|
30
31
|
};
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pnkx-lib/ui",
|
3
3
|
"private": false,
|
4
|
-
"version": "1.2.
|
4
|
+
"version": "1.2.7",
|
5
5
|
"type": "module",
|
6
6
|
"main": "./dist/index.js",
|
7
7
|
"exports": {
|
@@ -74,7 +74,8 @@
|
|
74
74
|
"peerDependencies": {
|
75
75
|
"antd": "^5.24.4",
|
76
76
|
"react": "^18.3.1",
|
77
|
-
"react-dom": "^18.3.1"
|
77
|
+
"react-dom": "^18.3.1",
|
78
|
+
"react-router-dom": "^7.6.0"
|
78
79
|
},
|
79
80
|
"dependencies": {
|
80
81
|
"@ant-design/icons": "^5.6.1",
|
@@ -90,7 +91,6 @@
|
|
90
91
|
"react-datepicker": "^4.16.0",
|
91
92
|
"react-hook-form": "^7.54.2",
|
92
93
|
"react-number-format": "^5.4.3",
|
93
|
-
"react-router-dom": "^7.5.3",
|
94
94
|
"yup": "^1.6.1",
|
95
95
|
"zustand": "^5.0.3"
|
96
96
|
}
|