assui 2.0.25 → 2.0.29

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.
@@ -6,5 +6,9 @@ export interface ButtonDrawerProps extends DrawerProps {
6
6
  trigger: React.ReactElement;
7
7
  children: React.ReactElement;
8
8
  }
9
+ export declare type DrawerAction = {
10
+ close: () => void;
11
+ open: () => void;
12
+ };
9
13
  declare const ForwardRefButtonDrawer: React.ForwardRefExoticComponent<ButtonDrawerProps & React.RefAttributes<unknown>>;
10
14
  export default ForwardRefButtonDrawer;
@@ -1,4 +1,5 @@
1
- export interface ConditionInputProps {
1
+ import type { InputProps } from 'antd/es/input';
2
+ export interface ConditionInputProps extends Omit<InputProps, 'onChange'> {
2
3
  /** 过滤的正则条件 */
3
4
  regexp?: RegExp | (RegExp | string | {
4
5
  pattern: RegExp;
@@ -1,5 +1,4 @@
1
- import type { InputProps } from 'antd/es/input';
2
1
  import type { ConditionInputProps } from '../condition-input';
3
- export declare type TextInputProps = ConditionInputProps & InputProps;
2
+ export declare type TextInputProps = ConditionInputProps;
4
3
  declare const TextInput: (props: TextInputProps) => JSX.Element;
5
4
  export default TextInput;
@@ -6,5 +6,9 @@ export interface ButtonDrawerProps extends DrawerProps {
6
6
  trigger: React.ReactElement;
7
7
  children: React.ReactElement;
8
8
  }
9
+ export declare type DrawerAction = {
10
+ close: () => void;
11
+ open: () => void;
12
+ };
9
13
  declare const ForwardRefButtonDrawer: React.ForwardRefExoticComponent<ButtonDrawerProps & React.RefAttributes<unknown>>;
10
14
  export default ForwardRefButtonDrawer;
@@ -1,4 +1,5 @@
1
- export interface ConditionInputProps {
1
+ import type { InputProps } from 'antd/es/input';
2
+ export interface ConditionInputProps extends Omit<InputProps, 'onChange'> {
2
3
  /** 过滤的正则条件 */
3
4
  regexp?: RegExp | (RegExp | string | {
4
5
  pattern: RegExp;
@@ -1,5 +1,4 @@
1
- import type { InputProps } from 'antd/es/input';
2
1
  import type { ConditionInputProps } from '../condition-input';
3
- export declare type TextInputProps = ConditionInputProps & InputProps;
2
+ export declare type TextInputProps = ConditionInputProps;
4
3
  declare const TextInput: (props: TextInputProps) => JSX.Element;
5
4
  export default TextInput;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "2.0.25",
3
+ "version": "2.0.29",
4
4
  "description": "react ui library",
5
5
  "author": "jason <usochen@gmail.com>",
6
6
  "main": "./lib/index.js",
@@ -33,7 +33,7 @@
33
33
  "@ahooksjs/use-url-state": "^2.5.8",
34
34
  "@tinymce/tinymce-react": "^3.13.0",
35
35
  "@types/react-beautiful-dnd": "^13.1.2",
36
- "a-icons": "^1.0.15",
36
+ "a-icons": "^1.0.17",
37
37
  "ahooks": "^2.10.9",
38
38
  "bignumber.js": "^9.0.1",
39
39
  "copy-to-clipboard": "^3.3.1",
@@ -69,5 +69,5 @@
69
69
  "node": ">=10.0.0"
70
70
  },
71
71
  "license": "MIT",
72
- "gitHead": "a3bc0aa202088d2d7dc91173cfc09d8e7fb1f15c"
72
+ "gitHead": "63e0b63752384eea566c7a3d94dd8d4a86ef01ef"
73
73
  }