@pisell/materials 1.0.493 → 1.0.494

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.
@@ -16,7 +16,7 @@ interface UseTablePropsProps {
16
16
  * @returns
17
17
  */
18
18
  declare const useTableProps: (props: UseTablePropsProps) => {
19
- title: number | boolean | React.JSX.Element | Iterable<React.ReactNode> | (() => React.ReactNode) | null | undefined;
19
+ title: number | boolean | Iterable<React.ReactNode> | React.JSX.Element | (() => React.ReactNode) | null | undefined;
20
20
  pagination: {
21
21
  total: number;
22
22
  current: number;
@@ -25,7 +25,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
25
25
  showSizeChanger: boolean;
26
26
  };
27
27
  columns: import("./useColumns").Column[];
28
- subTitle: number | boolean | React.JSX.Element | Iterable<React.ReactNode> | (() => React.ReactNode) | null | undefined;
28
+ subTitle: number | boolean | Iterable<React.ReactNode> | React.JSX.Element | (() => React.ReactNode) | null | undefined;
29
29
  buttons: any[] | null;
30
30
  filter: React.JSX.Element | null;
31
31
  onRow: (record: any) => any;
@@ -40,7 +40,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
40
40
  width: number;
41
41
  align: "center" | "left" | "right";
42
42
  fixed: false | "left" | "right";
43
- type: "link" | "button";
43
+ type: "button" | "link";
44
44
  items: OperationItem[];
45
45
  } | undefined;
46
46
  operationContent?: {
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- declare const ColorPicker: React.FC<import("./type").ColorPickerProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps>;
2
+ declare const ColorPicker: React.FC<import("antd").ColorPickerProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps>;
3
3
  export default ColorPicker;
@@ -16,7 +16,7 @@ interface UseTablePropsProps {
16
16
  * @returns
17
17
  */
18
18
  declare const useTableProps: (props: UseTablePropsProps) => {
19
- title: number | boolean | React.JSX.Element | Iterable<React.ReactNode> | (() => React.ReactNode) | null | undefined;
19
+ title: number | boolean | Iterable<React.ReactNode> | React.JSX.Element | (() => React.ReactNode) | null | undefined;
20
20
  pagination: {
21
21
  total: number;
22
22
  current: number;
@@ -25,7 +25,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
25
25
  showSizeChanger: boolean;
26
26
  };
27
27
  columns: import("./useColumns").Column[];
28
- subTitle: number | boolean | React.JSX.Element | Iterable<React.ReactNode> | (() => React.ReactNode) | null | undefined;
28
+ subTitle: number | boolean | Iterable<React.ReactNode> | React.JSX.Element | (() => React.ReactNode) | null | undefined;
29
29
  buttons: any[] | null;
30
30
  filter: React.JSX.Element | null;
31
31
  onRow: (record: any) => any;
@@ -40,7 +40,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
40
40
  width: number;
41
41
  align: "center" | "left" | "right";
42
42
  fixed: false | "left" | "right";
43
- type: "link" | "button";
43
+ type: "button" | "link";
44
44
  items: OperationItem[];
45
45
  } | undefined;
46
46
  operationContent?: {
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- declare const ColorPicker: React.FC<import("./type").ColorPickerProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps>;
2
+ declare const ColorPicker: React.FC<import("antd").ColorPickerProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps>;
3
3
  export default ColorPicker;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.0.493",
3
+ "version": "1.0.494",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -68,8 +68,8 @@
68
68
  "styled-components": "^6.0.0-rc.3",
69
69
  "libphonenumber-js": "^1.11.17",
70
70
  "@pisell/date-picker": "1.0.114",
71
- "@pisell/icon": "0.0.10",
72
- "@pisell/utils": "1.0.43"
71
+ "@pisell/utils": "1.0.43",
72
+ "@pisell/icon": "0.0.10"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "react": "^18.0.0",