@pnkx-lib/ui 1.3.2 → 1.3.4

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.
@@ -1,4 +1,4 @@
1
- import { C as i, D as s, I as d, P as l, R as o, a as r, S as F, T as c } from "../chunks/Switch-CzMyITg3.js";
1
+ import { C as i, D as s, I as d, P as l, R as o, a as r, S as c, T as k } from "../chunks/Switch-CzMyITg3.js";
2
2
  export {
3
3
  i as CheckboxField,
4
4
  s as DatePickerField,
@@ -6,6 +6,6 @@ export {
6
6
  l as PnkxField,
7
7
  o as RadioGroup,
8
8
  r as RangePickerField,
9
- F as SelectField,
10
- c as TinyMCE
9
+ c as Select,
10
+ k as TinyMCE
11
11
  };
package/dist/index.js CHANGED
@@ -1,23 +1,23 @@
1
- import { e, g as o, B as r, C as i, f as t, d as l, D as d, F as p, H as n, L as F, j as c, M as S, k as C, P as T, R as b, c as g, m as P, S as k, h as m, i as u, l as x, T as M, b as y, a as R, t as f } from "./chunks/Heading-CxB0Bjsq.js";
1
+ import { e, g as o, B as r, C as t, f as i, d as l, D as p, F as d, H as n, L as c, j as F, M as S, k as C, P as T, R as b, c as g, m as P, S as k, h as m, i as u, l as x, T as M, b as y, a as R, t as f } from "./chunks/Heading-0P1VChK0.js";
2
2
  import { E as B, L as D, T as L } from "./chunks/createSuper-DBIhZ50y.js";
3
3
  import { C as w, D as H, 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
- i as CascaderField,
8
+ t as CascaderField,
9
9
  w as CheckboxField,
10
- t as Col,
10
+ i as Col,
11
11
  l as Container,
12
12
  H as DatePickerField,
13
- d as Dropdown,
13
+ p as Dropdown,
14
14
  B as ErrorMessage,
15
- p as Flex,
15
+ d as Flex,
16
16
  n as Heading,
17
17
  I as Input,
18
18
  D as Label,
19
- F as Layout,
20
- c as Menu,
19
+ c as Layout,
20
+ F as Menu,
21
21
  S as Modal,
22
22
  C as Pagination,
23
23
  j as PnkxField,
@@ -26,7 +26,7 @@ export {
26
26
  G as RangePickerField,
27
27
  b as Row,
28
28
  g as SearchFiltersForm,
29
- q as SelectField,
29
+ q as Select,
30
30
  P as Sidebar,
31
31
  k as Skeleton,
32
32
  m as Space,
@@ -119,7 +119,7 @@ export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "v
119
119
  customStyleDatePicker?: string;
120
120
  }
121
121
 
122
- export declare const SelectField: (props: SelectFieldProps) => JSX.Element;
122
+ export declare const Select: (props: SelectFieldProps) => JSX.Element;
123
123
 
124
124
  export declare interface SelectFieldProps extends SelectProps {
125
125
  field?: ControllerRenderProps<any, any>;
@@ -22,6 +22,7 @@ import { DropdownProps as DropdownProps_2 } from 'antd';
22
22
  import { FC } from 'react';
23
23
  import { FieldValues } from 'react-hook-form';
24
24
  import { FlexProps as FlexProps_2 } from 'antd';
25
+ import { FormEventHandler } from 'react';
25
26
  import { ForwardRefExoticComponent } from 'react';
26
27
  import { IAllProps } from '@tinymce/tinymce-react';
27
28
  import { InputProps as InputProps_2 } from 'antd';
@@ -66,7 +67,6 @@ import { TitleProps } from 'antd/es/typography/Title';
66
67
  import { TooltipProps as TooltipProps_2 } from 'antd';
67
68
  import { UploadFile } from 'antd';
68
69
  import { UploadProps } from 'antd';
69
- import { UseFormHandleSubmit } from 'react-hook-form';
70
70
  import { UseFormReturn } from 'react-hook-form';
71
71
  import { UseFormSetValue } from 'react-hook-form';
72
72
  import { UseFormStateReturn } from 'react-hook-form';
@@ -406,7 +406,7 @@ export declare interface SearchFiltersFormProps<T extends FieldValues> {
406
406
  renderFilterFields?: (options: {
407
407
  control: Control<T, any, T>;
408
408
  setValue?: UseFormSetValue<T>;
409
- handleSubmit?: UseFormHandleSubmit<T, T>;
409
+ handleSubmit?: FormEventHandler<any>;
410
410
  }) => default_2.ReactNode;
411
411
  onReset?: () => void;
412
412
  classNamesContainer?: string;
@@ -417,7 +417,7 @@ export declare interface SearchFiltersFormProps<T extends FieldValues> {
417
417
  onSubmit: (data: T) => void;
418
418
  }
419
419
 
420
- export declare const SelectField: (props: SelectFieldProps) => JSX.Element;
420
+ export declare const Select: (props: SelectFieldProps) => JSX.Element;
421
421
 
422
422
  export declare interface SelectFieldProps extends SelectProps {
423
423
  field?: ControllerRenderProps<any, any>;
@@ -18,6 +18,7 @@ import { DropdownProps as DropdownProps_2 } from 'antd';
18
18
  import { FC } from 'react';
19
19
  import { FieldValues } from 'react-hook-form';
20
20
  import { FlexProps as FlexProps_2 } from 'antd';
21
+ import { FormEventHandler } from 'react';
21
22
  import { ForwardRefExoticComponent } from 'react';
22
23
  import { JSX } from 'react/jsx-runtime';
23
24
  import { MenuDividerProps } from 'antd/es/menu';
@@ -50,7 +51,6 @@ import { TabsProps as TabsProps_2 } from 'antd';
50
51
  import { TextProps } from 'antd/es/typography/Text';
51
52
  import { TitleProps } from 'antd/es/typography/Title';
52
53
  import { TooltipProps as TooltipProps_2 } from 'antd';
53
- import { UseFormHandleSubmit } from 'react-hook-form';
54
54
  import { UseFormReturn } from 'react-hook-form';
55
55
  import { UseFormSetValue } from 'react-hook-form';
56
56
 
@@ -290,7 +290,7 @@ export declare interface SearchFiltersFormProps<T extends FieldValues> {
290
290
  renderFilterFields?: (options: {
291
291
  control: Control<T, any, T>;
292
292
  setValue?: UseFormSetValue<T>;
293
- handleSubmit?: UseFormHandleSubmit<T, T>;
293
+ handleSubmit?: FormEventHandler<any>;
294
294
  }) => default_2.ReactNode;
295
295
  onReset?: () => void;
296
296
  classNamesContainer?: string;
package/dist/ui/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { e, g as o, B as r, C as t, f as l, d as p, D as i, F as d, H as n, L as S, j as b, M as g, k as T, P as c, R as m, c as C, m as F, S as M, h as u, i as y, l as B, T as L, b as f, a as h, t as x } from "../chunks/Heading-CxB0Bjsq.js";
1
+ import { e, g as o, B as r, C as t, f as l, d as p, D as i, F as d, H as n, L as S, j as b, M as g, k as T, P as c, R as m, c as C, m as F, S as M, h as u, i as y, l as B, T as L, b as f, a as h, t as x } from "../chunks/Heading-0P1VChK0.js";
2
2
  import { E as k, L as w, T as D } from "../chunks/createSuper-DBIhZ50y.js";
3
3
  export {
4
4
  e as Badge,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pnkx-lib/ui",
3
3
  "private": false,
4
- "version": "1.3.2",
4
+ "version": "1.3.4",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "exports": {