@plasmicpkgs/antd 2.0.81 → 2.0.83

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.
@@ -10,6 +10,6 @@ type CollapseProps = {
10
10
  closeIcon?: React.ReactNode;
11
11
  } & AntdCollapseProps;
12
12
  export declare const collapsteMeta: ComponentMeta<CollapseProps>;
13
- export declare function Collapse(props: CollapseProps): JSX.Element;
13
+ export declare function Collapse(props: CollapseProps): React.JSX.Element;
14
14
  export declare function registerCollapse(loader?: Registerable, customCollapseMeta?: ComponentMeta<CollapseProps>): void;
15
15
  export {};
@@ -5,7 +5,7 @@ import React from "react";
5
5
  import { Registerable } from "./registerable";
6
6
  export declare const DropdownButton: typeof AntdDropdown.Button;
7
7
  export declare class Dropdown extends React.Component<DropDownProps> {
8
- render(): JSX.Element;
8
+ render(): React.JSX.Element;
9
9
  }
10
10
  export declare const dropdownMeta: ComponentMeta<DropDownProps>;
11
11
  export declare function registerDropdown(loader?: Registerable, customDropdownMeta?: ComponentMeta<DropDownProps>): void;
@@ -11,7 +11,7 @@ export declare function TableColumn(_props: TableColumnProps): null;
11
11
  export interface TableValueProps {
12
12
  className?: string;
13
13
  }
14
- export declare function TableValue(props: TableValueProps): JSX.Element;
14
+ export declare function TableValue(props: TableValueProps): React.JSX.Element;
15
15
  export interface TableWrapperProps {
16
16
  className?: string;
17
17
  items: Array<any>;
@@ -20,7 +20,7 @@ export interface TableWrapperProps {
20
20
  pagination?: boolean;
21
21
  onSelect?: (record: any) => void;
22
22
  }
23
- export declare function TableWrapper(props: TableWrapperProps): JSX.Element;
23
+ export declare function TableWrapper(props: TableWrapperProps): React.JSX.Element;
24
24
  export declare const tableMeta: ComponentMeta<TableWrapperProps>;
25
25
  export declare const tableColumnMeta: ComponentMeta<TableColumnProps>;
26
26
  export declare const tableValueMeta: ComponentMeta<TableValueProps>;
@@ -9,6 +9,6 @@ export type TabsProps = Omit<AntdTabsProps, "tabBarExtraContent"> & {
9
9
  leftTabBarExtraContent?: React.ReactNode;
10
10
  rightTabBarExtraContent?: React.ReactNode;
11
11
  };
12
- export declare function Tabs(props: TabsProps): JSX.Element;
12
+ export declare function Tabs(props: TabsProps): React.JSX.Element;
13
13
  export declare const tabsMeta: ComponentMeta<TabsProps>;
14
14
  export declare function registerTabs(loader?: Registerable, customTabsMeta?: ComponentMeta<TabsProps>): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicpkgs/antd",
3
- "version": "2.0.81",
3
+ "version": "2.0.83",
4
4
  "description": "Plasmic registration calls for antd components",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -59,7 +59,7 @@
59
59
  "antd": "^4.19.5"
60
60
  },
61
61
  "devDependencies": {
62
- "@plasmicapp/host": "1.0.162",
62
+ "@plasmicapp/host": "1.0.164",
63
63
  "@size-limit/preset-small-lib": "^4.11.0",
64
64
  "@types/node": "^14.0.26",
65
65
  "react": "^18.2.0",
@@ -73,5 +73,5 @@
73
73
  "@plasmicapp/host": ">=1.0.0",
74
74
  "react": ">=16.8.0"
75
75
  },
76
- "gitHead": "bf12f2268d3e2794698bee0996d4e2008b6827c5"
76
+ "gitHead": "83b92a98990acc021cc904ef919c6176e88a3238"
77
77
  }
@@ -10,6 +10,6 @@ type CollapseProps = {
10
10
  closeIcon?: React.ReactNode;
11
11
  } & AntdCollapseProps;
12
12
  export declare const collapsteMeta: ComponentMeta<CollapseProps>;
13
- export declare function Collapse(props: CollapseProps): JSX.Element;
13
+ export declare function Collapse(props: CollapseProps): React.JSX.Element;
14
14
  export declare function registerCollapse(loader?: Registerable, customCollapseMeta?: ComponentMeta<CollapseProps>): void;
15
15
  export {};
@@ -5,7 +5,7 @@ import React from "react";
5
5
  import { Registerable } from "./registerable";
6
6
  export declare const DropdownButton: typeof AntdDropdown.Button;
7
7
  export declare class Dropdown extends React.Component<DropDownProps> {
8
- render(): JSX.Element;
8
+ render(): React.JSX.Element;
9
9
  }
10
10
  export declare const dropdownMeta: ComponentMeta<DropDownProps>;
11
11
  export declare function registerDropdown(loader?: Registerable, customDropdownMeta?: ComponentMeta<DropDownProps>): void;
@@ -11,7 +11,7 @@ export declare function TableColumn(_props: TableColumnProps): null;
11
11
  export interface TableValueProps {
12
12
  className?: string;
13
13
  }
14
- export declare function TableValue(props: TableValueProps): JSX.Element;
14
+ export declare function TableValue(props: TableValueProps): React.JSX.Element;
15
15
  export interface TableWrapperProps {
16
16
  className?: string;
17
17
  items: Array<any>;
@@ -20,7 +20,7 @@ export interface TableWrapperProps {
20
20
  pagination?: boolean;
21
21
  onSelect?: (record: any) => void;
22
22
  }
23
- export declare function TableWrapper(props: TableWrapperProps): JSX.Element;
23
+ export declare function TableWrapper(props: TableWrapperProps): React.JSX.Element;
24
24
  export declare const tableMeta: ComponentMeta<TableWrapperProps>;
25
25
  export declare const tableColumnMeta: ComponentMeta<TableColumnProps>;
26
26
  export declare const tableValueMeta: ComponentMeta<TableValueProps>;
@@ -9,6 +9,6 @@ export type TabsProps = Omit<AntdTabsProps, "tabBarExtraContent"> & {
9
9
  leftTabBarExtraContent?: React.ReactNode;
10
10
  rightTabBarExtraContent?: React.ReactNode;
11
11
  };
12
- export declare function Tabs(props: TabsProps): JSX.Element;
12
+ export declare function Tabs(props: TabsProps): React.JSX.Element;
13
13
  export declare const tabsMeta: ComponentMeta<TabsProps>;
14
14
  export declare function registerTabs(loader?: Registerable, customTabsMeta?: ComponentMeta<TabsProps>): void;
package/LICENSE.md DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2021 Plasmic
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.