@pinnacle0/web-ui 0.3.19 → 0.3.20

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.
@@ -40,5 +40,5 @@ declare class RouterAwareMenu extends React.PureComponent<Props, State> {
40
40
  renderMenuGroup: (groupItem: NavigationGroupItem<any, any>) => JSX.Element;
41
41
  render(): JSX.Element;
42
42
  }
43
- export declare const Menu: React.ComponentClass<Pick<Props, "siteName" | "navigationService" | "menuExpanded" | "badges">, any> & import("react-router").WithRouterStatics<typeof RouterAwareMenu>;
43
+ export declare const Menu: import("react").ComponentClass<Pick<Props, "siteName" | "navigationService" | "menuExpanded" | "badges">, any> & import("react-router").WithRouterStatics<typeof RouterAwareMenu>;
44
44
  export {};
@@ -26,5 +26,5 @@ declare class RouterAwareNavigator extends React.PureComponent<Props, State> {
26
26
  onTabChange: (url: string) => void;
27
27
  render(): JSX.Element;
28
28
  }
29
- export declare const Navigator: React.ComponentClass<Pick<Props, "navigationService">, any> & import("react-router").WithRouterStatics<typeof RouterAwareNavigator>;
29
+ export declare const Navigator: import("react").ComponentClass<Pick<Props, "navigationService">, any> & import("react-router").WithRouterStatics<typeof RouterAwareNavigator>;
30
30
  export {};
package/core/Card.d.ts CHANGED
@@ -5,6 +5,6 @@ export interface Props extends CardProps {
5
5
  }
6
6
  export declare class Card extends React.PureComponent<Props> {
7
7
  static displayName: string;
8
- static Grid: React.FC<import("antd/lib/card").CardGridProps>;
8
+ static Grid: import("react").FC<import("antd/lib/card").CardGridProps>;
9
9
  render(): JSX.Element;
10
10
  }
@@ -8,7 +8,7 @@ export interface Props extends Omit<CheckboxProps, "value" | "onChange" | "check
8
8
  }
9
9
  export declare class Checkbox extends React.PureComponent<Props> {
10
10
  static displayName: string;
11
- static Group: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("antd/lib/checkbox").CheckboxGroupProps & React.RefAttributes<HTMLDivElement>>>;
11
+ static Group: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("antd/lib/checkbox").CheckboxGroupProps & import("react").RefAttributes<HTMLDivElement>>>;
12
12
  onChange: (e: CheckboxChangeEvent) => void;
13
13
  render(): JSX.Element;
14
14
  }
@@ -6,7 +6,7 @@ export interface Props extends CollapseProps {
6
6
  }
7
7
  export declare class Collapse extends React.PureComponent<Props> {
8
8
  static displayName: string;
9
- static Panel: React.FC<CollapsePanelProps>;
9
+ static Panel: import("react").FC<CollapsePanelProps>;
10
10
  render(): JSX.Element;
11
11
  }
12
12
  export declare type PanelProps = CollapsePanelProps;
@@ -8,5 +8,5 @@ export interface Props {
8
8
  }
9
9
  export declare class DarkOverlay extends React.PureComponent<Props> {
10
10
  static displayName: string;
11
- render(): React.ReactPortal;
11
+ render(): import("react").ReactPortal;
12
12
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { FooterData } from "../type";
3
2
  import type { ItemRenderer, Measure } from "./type";
4
3
  export interface Gap {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  import type { VirtualFlatListProps } from "./type";
4
3
  /**
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { FlatListProps } from "./type";
3
2
  export declare const FlatList: <T>(props: FlatListProps<T>) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Measure } from "../../VirtualFlatList/type";
3
2
  import type { FooterData } from "../../type";
4
3
  import "./index.less";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface Props {
4
3
  loading: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface Props {
3
2
  loading: boolean;
4
3
  message?: string;
package/core/Grid.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "antd/lib/grid/style";
3
2
  export declare const Grid: {
4
3
  Row: import("react").ForwardRefExoticComponent<import("antd").RowProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -22,7 +22,7 @@ export interface Props extends Omit<InputProps, ExcludedAntInputKeys>, Controlle
22
22
  }
23
23
  export declare class Input extends React.PureComponent<Props> {
24
24
  static displayName: string;
25
- static Group: React.FC<import("antd/lib/input").GroupProps>;
25
+ static Group: import("react").FC<import("antd/lib/input").GroupProps>;
26
26
  static Readonly: (props: InputReadonlyProps) => JSX.Element;
27
27
  static Search: ({ onChange, ...rest }: InputSearchProps) => JSX.Element;
28
28
  static TextArea: ({ onChange, ...rest }: InputTextAreaProps) => JSX.Element;
@@ -6,8 +6,8 @@ export interface Props extends RadioProps {
6
6
  }
7
7
  export declare class Radio extends React.PureComponent<Props> {
8
8
  static displayName: string;
9
- static Button: React.ForwardRefExoticComponent<import("antd/lib/radio/radioButton").RadioButtonProps & React.RefAttributes<any>>;
10
- static Group: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("antd/lib/radio").RadioGroupProps & React.RefAttributes<HTMLDivElement>>>;
9
+ static Button: import("react").ForwardRefExoticComponent<import("antd/lib/radio/radioButton").RadioButtonProps & import("react").RefAttributes<any>>;
10
+ static Group: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("antd/lib/radio").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>>;
11
11
  render(): JSX.Element;
12
12
  }
13
13
  export type { RadioChangeEvent };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { VirtualItem } from "react-virtual";
3
2
  import type { ColumnFixedPosition, VirtualTableColumn, VirtualTableRowExpand, StickyPosition } from "./type";
4
3
  interface Props<RowType extends object> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { SafeReactChild, StringKey } from "../../internal/type";
3
2
  import type { VirtualTableColumn, VirtualTableRowExpand, VirtualTableRowSelection } from "./type";
4
3
  import "./index.less";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinnacle0/web-ui",
3
- "version": "0.3.19",
3
+ "version": "0.3.20",
4
4
  "author": "Pinnacle",
5
5
  "license": "MIT",
6
6
  "sideEffects": [
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@ant-design/icons": "4.7.0",
28
- "antd": "4.20.1",
28
+ "antd": "4.20.5",
29
29
  "braft-editor": "2.3.9",
30
30
  "classnames": "2.3.1",
31
31
  "moment": "2.29.3",
@@ -38,16 +38,16 @@
38
38
  "react-router-dom": ">=5.2.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@babel/core": "7.17.9",
41
+ "@babel/core": "7.17.10",
42
42
  "@babel/runtime": "7.17.9",
43
43
  "@testing-library/dom": "8.13.0",
44
44
  "@testing-library/jest-dom": "5.16.4",
45
- "@testing-library/react": "13.1.1",
46
- "@testing-library/user-event": "14.1.1",
45
+ "@testing-library/react": "13.2.0",
46
+ "@testing-library/user-event": "14.2.0",
47
47
  "@types/draft-js": "0.11.9",
48
48
  "@types/history": "4.7.11",
49
- "@types/react": "18.0.8",
50
- "@types/react-dom": "17.0.14",
49
+ "@types/react": "18.0.9",
50
+ "@types/react-dom": "18.0.4",
51
51
  "@types/react-router-dom": "5.3.2",
52
52
  "@types/react-virtualized-auto-sizer": "^1.0.1",
53
53
  "@types/react-window": "1.8.5",