@pnkx-lib/ui 1.3.6 → 1.3.8
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/{Heading-DPghjWhA.js → Divider-CJH-c7UN.js} +1971 -1975
- package/dist/index.js +34 -32
- package/dist/types/index.d.ts +16 -2
- package/dist/types/ui.d.ts +16 -2
- package/dist/ui/index.js +26 -24
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1,41 +1,43 @@
|
|
1
|
-
import { e, g as o, B as r, C as
|
2
|
-
import { D as
|
3
|
-
import { C as
|
1
|
+
import { e, g as o, B as r, C as i, f as t, d as l, o as d, D as p, F as n, H as c, L as F, j as S, M as g, k as C, P as T, R as b, c as P, m as k, S as m, h as u, i as x, l as M, T as R, b as y, n as D, a as f, t as h } from "./chunks/Divider-CJH-c7UN.js";
|
2
|
+
import { D as L, E, I as v, L as w, P as H, R as I, a as j, T as G } from "./chunks/Switch-C9zRQPNY.js";
|
3
|
+
import { C as z, R as A, S as J } from "./chunks/Checkbox-CTyXv2Fp.js";
|
4
4
|
export {
|
5
5
|
e as Badge,
|
6
6
|
o as Breadcrumb,
|
7
7
|
r as Button,
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
i as CascaderField,
|
9
|
+
z as CheckboxField,
|
10
|
+
t as Col,
|
11
11
|
l as Container,
|
12
|
-
|
12
|
+
L as DatePickerField,
|
13
|
+
d as Divider,
|
13
14
|
p as Dropdown,
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
15
|
+
E as ErrorMessage,
|
16
|
+
n as Flex,
|
17
|
+
c as Heading,
|
18
|
+
v as Input,
|
19
|
+
w as Label,
|
20
|
+
F as Layout,
|
21
|
+
S as Menu,
|
22
|
+
g as Modal,
|
22
23
|
C as Pagination,
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
24
|
+
H as PnkxField,
|
25
|
+
T as Popover,
|
26
|
+
A as RadioGroup,
|
27
|
+
I as RangePickerField,
|
28
|
+
b as Row,
|
28
29
|
P as SearchFiltersForm,
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
30
|
+
J as Select,
|
31
|
+
k as Sidebar,
|
32
|
+
m as Skeleton,
|
33
|
+
u as Space,
|
34
|
+
x as Splitter,
|
35
|
+
M as Steps,
|
36
|
+
R as Table,
|
37
|
+
y as Tabs,
|
38
|
+
D as Tag,
|
39
|
+
j as TinyMCE,
|
40
|
+
f as Tooltip,
|
41
|
+
G as Typography,
|
42
|
+
h as typeColorMap
|
41
43
|
};
|
package/dist/types/index.d.ts
CHANGED
@@ -16,6 +16,7 @@ import { Dayjs } from 'dayjs';
|
|
16
16
|
import { default as default_2 } from 'react';
|
17
17
|
import { DefaultOptionType } from 'antd/es/cascader';
|
18
18
|
import { DefaultValues } from 'react-hook-form';
|
19
|
+
import { DividerProps as DividerProps_2 } from 'antd';
|
19
20
|
import { DropdownButtonProps as DropdownButtonProps_2 } from 'antd/es/dropdown';
|
20
21
|
import { DropdownButtonType as DropdownButtonType_2 } from 'antd/es/dropdown';
|
21
22
|
import { DropdownProps as DropdownProps_2 } from 'antd';
|
@@ -61,6 +62,7 @@ import { SwitchProps } from 'antd';
|
|
61
62
|
import { TableColumnsType as TableColumnsType_2 } from 'antd';
|
62
63
|
import { TableProps } from 'antd/lib/table';
|
63
64
|
import { TabsProps as TabsProps_2 } from 'antd';
|
65
|
+
import { TagProps } from 'antd';
|
64
66
|
import { TextAreaProps as TextAreaProps_2 } from 'antd/es/input';
|
65
67
|
import { TextProps } from 'antd/es/typography/Text';
|
66
68
|
import { TitleProps } from 'antd/es/typography/Title';
|
@@ -187,7 +189,7 @@ declare type ComponentPropsType<TComponent> = TComponent extends React_2.Compone
|
|
187
189
|
declare type CompoundedMenu = FC<MenuComponentProps> & {
|
188
190
|
Item: typeof MenuItem;
|
189
191
|
SubMenu: typeof SubMenu;
|
190
|
-
Divider: typeof
|
192
|
+
Divider: typeof Divider_2;
|
191
193
|
ItemGroup: typeof ItemGroup;
|
192
194
|
};
|
193
195
|
|
@@ -225,7 +227,13 @@ export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "
|
|
225
227
|
|
226
228
|
export declare const DatePickerField: (props: DatePickerDMYProps) => JSX.Element;
|
227
229
|
|
228
|
-
declare const Divider:
|
230
|
+
export declare const Divider: ({ children, ...rest }: DividerProps) => JSX.Element;
|
231
|
+
|
232
|
+
declare const Divider_2: FC<MenuDividerProps>;
|
233
|
+
|
234
|
+
export declare interface DividerProps extends DividerProps_2 {
|
235
|
+
children?: ReactNode | string;
|
236
|
+
}
|
229
237
|
|
230
238
|
export declare const Dropdown: (props: DropdownPropsUnion) => JSX.Element;
|
231
239
|
|
@@ -539,6 +547,12 @@ export declare type TabsProps = TabsProps_2 & {
|
|
539
547
|
lazyRender?: boolean;
|
540
548
|
};
|
541
549
|
|
550
|
+
export declare const Tag: React.FC<TaglineProps>;
|
551
|
+
|
552
|
+
export declare interface TaglineProps extends TagProps {
|
553
|
+
children: React.ReactNode | string;
|
554
|
+
}
|
555
|
+
|
542
556
|
export declare type TailwindMaxWidth = "max-w-xs" | "max-w-sm" | "max-w-md" | "max-w-lg" | "max-w-xl" | "max-w-2xl" | "max-w-3xl" | "max-w-4xl" | "max-w-5xl" | "max-w-6xl" | "max-w-7xl" | "max-w-full" | "max-w-screen-sm" | "max-w-screen-md" | "max-w-screen-lg" | "max-w-screen-xl" | "max-w-screen-2xl";
|
543
557
|
|
544
558
|
export declare interface TextAreaProps extends TextAreaProps_2 {
|
package/dist/types/ui.d.ts
CHANGED
@@ -12,6 +12,7 @@ import { Control } from 'react-hook-form';
|
|
12
12
|
import { default as default_2 } from 'react';
|
13
13
|
import { DefaultOptionType } from 'antd/es/cascader';
|
14
14
|
import { DefaultValues } from 'react-hook-form';
|
15
|
+
import { DividerProps as DividerProps_2 } from 'antd';
|
15
16
|
import { DropdownButtonProps as DropdownButtonProps_2 } from 'antd/es/dropdown';
|
16
17
|
import { DropdownButtonType as DropdownButtonType_2 } from 'antd/es/dropdown';
|
17
18
|
import { DropdownProps as DropdownProps_2 } from 'antd';
|
@@ -48,6 +49,7 @@ import { SubMenuProps as SubMenuProps_2 } from 'antd/es/menu';
|
|
48
49
|
import { TableColumnsType as TableColumnsType_2 } from 'antd';
|
49
50
|
import { TableProps } from 'antd/lib/table';
|
50
51
|
import { TabsProps as TabsProps_2 } from 'antd';
|
52
|
+
import { TagProps } from 'antd';
|
51
53
|
import { TextProps } from 'antd/es/typography/Text';
|
52
54
|
import { TitleProps } from 'antd/es/typography/Title';
|
53
55
|
import { TooltipProps as TooltipProps_2 } from 'antd';
|
@@ -156,7 +158,7 @@ declare type ColumnTypes<T> = Exclude<TableProps<T>["columns"], undefined>;
|
|
156
158
|
declare type CompoundedMenu = FC<MenuComponentProps> & {
|
157
159
|
Item: typeof MenuItem;
|
158
160
|
SubMenu: typeof SubMenu;
|
159
|
-
Divider: typeof
|
161
|
+
Divider: typeof Divider_2;
|
160
162
|
ItemGroup: typeof ItemGroup;
|
161
163
|
};
|
162
164
|
|
@@ -173,7 +175,13 @@ export declare interface CustomeModalProps extends ModalProps {
|
|
173
175
|
onSubmit?: () => void;
|
174
176
|
}
|
175
177
|
|
176
|
-
declare const Divider:
|
178
|
+
export declare const Divider: ({ children, ...rest }: DividerProps) => JSX.Element;
|
179
|
+
|
180
|
+
declare const Divider_2: FC<MenuDividerProps>;
|
181
|
+
|
182
|
+
export declare interface DividerProps extends DividerProps_2 {
|
183
|
+
children?: ReactNode | string;
|
184
|
+
}
|
177
185
|
|
178
186
|
export declare const Dropdown: (props: DropdownPropsUnion) => JSX.Element;
|
179
187
|
|
@@ -401,6 +409,12 @@ export declare type TabsProps = TabsProps_2 & {
|
|
401
409
|
lazyRender?: boolean;
|
402
410
|
};
|
403
411
|
|
412
|
+
export declare const Tag: React.FC<TaglineProps>;
|
413
|
+
|
414
|
+
export declare interface TaglineProps extends TagProps {
|
415
|
+
children: React.ReactNode | string;
|
416
|
+
}
|
417
|
+
|
404
418
|
export declare type TailwindMaxWidth = "max-w-xs" | "max-w-sm" | "max-w-md" | "max-w-lg" | "max-w-xl" | "max-w-2xl" | "max-w-3xl" | "max-w-4xl" | "max-w-5xl" | "max-w-6xl" | "max-w-7xl" | "max-w-full" | "max-w-screen-sm" | "max-w-screen-md" | "max-w-screen-lg" | "max-w-screen-xl" | "max-w-screen-2xl";
|
405
419
|
|
406
420
|
export declare const Tooltip: default_2.FC<TooltipProps>;
|
package/dist/ui/index.js
CHANGED
@@ -1,32 +1,34 @@
|
|
1
|
-
import { e, g as o, B as r, C as t, f as
|
2
|
-
import { E as
|
1
|
+
import { e, g as o, B as r, C as t, f as i, d as l, o as p, D as d, F as n, H as g, L as S, j as T, M as b, k as c, P as m, R as C, c as F, m as M, S as u, h as y, i as B, l as L, T as f, b as h, n as x, a as D, t as P } from "../chunks/Divider-CJH-c7UN.js";
|
2
|
+
import { E as v, L as w, T as E } from "../chunks/Switch-C9zRQPNY.js";
|
3
3
|
export {
|
4
4
|
e as Badge,
|
5
5
|
o as Breadcrumb,
|
6
6
|
r as Button,
|
7
7
|
t as CascaderField,
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
n as
|
8
|
+
i as Col,
|
9
|
+
l as Container,
|
10
|
+
p as Divider,
|
11
|
+
d as Dropdown,
|
12
|
+
v as ErrorMessage,
|
13
|
+
n as Flex,
|
14
|
+
g as Heading,
|
14
15
|
w as Label,
|
15
16
|
S as Layout,
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
D as
|
31
|
-
|
17
|
+
T as Menu,
|
18
|
+
b as Modal,
|
19
|
+
c as Pagination,
|
20
|
+
m as Popover,
|
21
|
+
C as Row,
|
22
|
+
F as SearchFiltersForm,
|
23
|
+
M as Sidebar,
|
24
|
+
u as Skeleton,
|
25
|
+
y as Space,
|
26
|
+
B as Splitter,
|
27
|
+
L as Steps,
|
28
|
+
f as Table,
|
29
|
+
h as Tabs,
|
30
|
+
x as Tag,
|
31
|
+
D as Tooltip,
|
32
|
+
E as Typography,
|
33
|
+
P as typeColorMap
|
32
34
|
};
|