@pisell/materials 1.10.2 → 1.10.3

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.
@@ -71,7 +71,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
71
71
  show: boolean;
72
72
  useCustomAction: boolean;
73
73
  actionType: string;
74
- openMode: "drawer" | "modal";
74
+ openMode: "modal" | "drawer";
75
75
  openContentSize: "small" | "middle" | "large";
76
76
  openTitle: string;
77
77
  key: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const formFieldMap: {
3
2
  FormItemCheckbox: import("react").FC<{}> & {
4
3
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -20,7 +19,7 @@ declare const formFieldMap: {
20
19
  Subdomain: import("react").FC<import("antd").InputProps & {
21
20
  onChange: (value: string) => void;
22
21
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
23
- rootDomain: "custom" | "saas" | "xzero";
22
+ rootDomain: "custom" | "xzero" | "saas";
24
23
  customDomain?: string | undefined;
25
24
  value?: string | undefined;
26
25
  tenantId: string;
@@ -81,11 +80,11 @@ declare const formFieldMap: {
81
80
  extraParams?: Record<string, any> | undefined;
82
81
  }) => import("react").JSX.Element;
83
82
  };
84
- declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
83
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./DatePicker").DataSourceDatePickerProps> | (import("react").FC<{}> & {
85
84
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
86
85
  } & {
87
86
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
88
- }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DatePicker").DataSourceDatePickerProps> | (import("react").FC<import("./Input/type").InputProps> & {
87
+ }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
89
88
  JSON: import("react").FC<any>;
90
89
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
91
90
  TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
@@ -98,7 +97,7 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
98
97
  Subdomain: import("react").FC<import("antd").InputProps & {
99
98
  onChange: (value: string) => void;
100
99
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
101
- rootDomain: "custom" | "saas" | "xzero";
100
+ rootDomain: "custom" | "xzero" | "saas";
102
101
  customDomain?: string | undefined;
103
102
  value?: string | undefined;
104
103
  tenantId: string;
@@ -71,7 +71,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
71
71
  show: boolean;
72
72
  useCustomAction: boolean;
73
73
  actionType: string;
74
- openMode: "drawer" | "modal";
74
+ openMode: "modal" | "drawer";
75
75
  openContentSize: "small" | "middle" | "large";
76
76
  openTitle: string;
77
77
  key: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const formFieldMap: {
3
2
  FormItemCheckbox: import("react").FC<{}> & {
4
3
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -20,7 +19,7 @@ declare const formFieldMap: {
20
19
  Subdomain: import("react").FC<import("antd").InputProps & {
21
20
  onChange: (value: string) => void;
22
21
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
23
- rootDomain: "custom" | "saas" | "xzero";
22
+ rootDomain: "custom" | "xzero" | "saas";
24
23
  customDomain?: string | undefined;
25
24
  value?: string | undefined;
26
25
  tenantId: string;
@@ -81,11 +80,11 @@ declare const formFieldMap: {
81
80
  extraParams?: Record<string, any> | undefined;
82
81
  }) => import("react").JSX.Element;
83
82
  };
84
- declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
83
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./DatePicker").DataSourceDatePickerProps> | (import("react").FC<{}> & {
85
84
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
86
85
  } & {
87
86
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
88
- }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DatePicker").DataSourceDatePickerProps> | (import("react").FC<import("./Input/type").InputProps> & {
87
+ }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
89
88
  JSON: import("react").FC<any>;
90
89
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
91
90
  TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
@@ -98,7 +97,7 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
98
97
  Subdomain: import("react").FC<import("antd").InputProps & {
99
98
  onChange: (value: string) => void;
100
99
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
101
- rootDomain: "custom" | "saas" | "xzero";
100
+ rootDomain: "custom" | "xzero" | "saas";
102
101
  customDomain?: string | undefined;
103
102
  value?: string | undefined;
104
103
  tenantId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.10.2",
3
+ "version": "1.10.3",
4
4
  "scripts": {
5
5
  "dev:tailwind-css": "tailwindcss -c ./tailwind.materials.config.cjs --postcss ./postcss.materials-tailwind.cjs -i ./src/tailwind-input.css -o ./src/pisell-materials.tw.css --watch",
6
6
  "build:tailwind-css:once": "tailwindcss -c ./tailwind.materials.config.cjs --postcss ./postcss.materials-tailwind.cjs -i ./src/tailwind-input.css -o ./src/pisell-materials.tw.css",