@plasmicpkgs/antd 2.0.157 → 2.0.159
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.
- package/dist/.tsbuildinfo +1 -1
- package/dist/antd.esm.js +4 -4
- package/dist/antd.esm.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/registerButton.d.ts +3 -3
- package/dist/registerCarousel.d.ts +3 -3
- package/dist/registerCheckbox.d.ts +5 -5
- package/dist/registerCollapse.d.ts +6 -6
- package/dist/registerDropdown.d.ts +5 -5
- package/dist/registerInput.d.ts +11 -11
- package/dist/registerMenu.d.ts +12 -12
- package/dist/registerOption.d.ts +7 -7
- package/dist/registerSelect.d.ts +3 -3
- package/dist/registerSlider.d.ts +3 -3
- package/dist/registerSwitch.d.ts +3 -3
- package/dist/registerTable.d.ts +7 -7
- package/dist/registerTabs.d.ts +6 -6
- package/package.json +3 -3
- package/skinny/registerButton.cjs.js.map +1 -1
- package/skinny/registerButton.d.ts +3 -3
- package/skinny/registerButton.esm.js.map +1 -1
- package/skinny/registerCarousel.cjs.js.map +1 -1
- package/skinny/registerCarousel.d.ts +3 -3
- package/skinny/registerCarousel.esm.js.map +1 -1
- package/skinny/registerCheckbox.cjs.js.map +1 -1
- package/skinny/registerCheckbox.d.ts +5 -5
- package/skinny/registerCheckbox.esm.js.map +1 -1
- package/skinny/registerCollapse.cjs.js.map +1 -1
- package/skinny/registerCollapse.d.ts +6 -6
- package/skinny/registerCollapse.esm.js.map +1 -1
- package/skinny/registerDropdown.cjs.js.map +1 -1
- package/skinny/registerDropdown.d.ts +5 -5
- package/skinny/registerDropdown.esm.js.map +1 -1
- package/skinny/registerInput.cjs.js.map +1 -1
- package/skinny/registerInput.d.ts +11 -11
- package/skinny/registerInput.esm.js.map +1 -1
- package/skinny/registerMenu.cjs.js.map +1 -1
- package/skinny/registerMenu.d.ts +12 -12
- package/skinny/registerMenu.esm.js.map +1 -1
- package/skinny/registerOption.cjs.js.map +1 -1
- package/skinny/registerOption.d.ts +7 -7
- package/skinny/registerOption.esm.js.map +1 -1
- package/skinny/registerSelect.cjs.js.map +1 -1
- package/skinny/registerSelect.d.ts +3 -3
- package/skinny/registerSelect.esm.js.map +1 -1
- package/skinny/registerSlider.cjs.js.map +1 -1
- package/skinny/registerSlider.d.ts +3 -3
- package/skinny/registerSlider.esm.js.map +1 -1
- package/skinny/registerSwitch.cjs.js.map +1 -1
- package/skinny/registerSwitch.d.ts +3 -3
- package/skinny/registerSwitch.esm.js.map +1 -1
- package/skinny/registerTable.cjs.js +5 -3
- package/skinny/registerTable.cjs.js.map +1 -1
- package/skinny/registerTable.d.ts +7 -7
- package/skinny/registerTable.esm.js +2 -1
- package/skinny/registerTable.esm.js.map +1 -1
- package/skinny/registerTabs.cjs.js.map +1 -1
- package/skinny/registerTabs.d.ts +6 -6
- package/skinny/registerTabs.esm.js.map +1 -1
package/dist/registerButton.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CodeComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
2
2
|
import { Button as AntdButton } from "antd";
|
|
3
3
|
import type { ButtonProps } from "antd/es/button";
|
|
4
4
|
import { Registerable } from "./registerable";
|
|
5
5
|
export declare const Button: typeof AntdButton;
|
|
6
|
-
export declare const buttonMeta:
|
|
7
|
-
export declare function registerButton(loader?: Registerable, customButtonMeta?:
|
|
6
|
+
export declare const buttonMeta: CodeComponentMeta<ButtonProps>;
|
|
7
|
+
export declare function registerButton(loader?: Registerable, customButtonMeta?: CodeComponentMeta<ButtonProps>): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { CodeComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
3
3
|
import type { CarouselProps } from "antd/es/carousel";
|
|
4
4
|
import { Registerable } from "./registerable";
|
|
5
5
|
export declare const Carousel: import("react").ForwardRefExoticComponent<import("antd").CarouselProps & import("react").RefAttributes<import("antd/lib/carousel").CarouselRef>>;
|
|
6
|
-
export declare const carouselMeta:
|
|
7
|
-
export declare function registerCarousel(loader?: Registerable, customCarouselMeta?:
|
|
6
|
+
export declare const carouselMeta: CodeComponentMeta<CarouselProps>;
|
|
7
|
+
export declare function registerCarousel(loader?: Registerable, customCarouselMeta?: CodeComponentMeta<CarouselProps>): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CodeComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
2
2
|
import { Checkbox as AntdCheckbox } from "antd";
|
|
3
3
|
import type { CheckboxProps } from "antd/es/checkbox/Checkbox";
|
|
4
4
|
import type { CheckboxGroupProps } from "antd/es/checkbox/Group";
|
|
@@ -13,7 +13,7 @@ export declare const checkboxHelpers: {
|
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
export declare const checkboxMeta:
|
|
17
|
-
export declare function registerCheckbox(loader?: Registerable, customCheckboxMeta?:
|
|
18
|
-
export declare const checkboxGroupMeta:
|
|
19
|
-
export declare function registerCheckboxGroup(loader?: Registerable, customCheckboxGroupMeta?:
|
|
16
|
+
export declare const checkboxMeta: CodeComponentMeta<CheckboxProps>;
|
|
17
|
+
export declare function registerCheckbox(loader?: Registerable, customCheckboxMeta?: CodeComponentMeta<CheckboxProps>): void;
|
|
18
|
+
export declare const checkboxGroupMeta: CodeComponentMeta<CheckboxGroupProps>;
|
|
19
|
+
export declare function registerCheckboxGroup(loader?: Registerable, customCheckboxGroupMeta?: CodeComponentMeta<CheckboxGroupProps>): void;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type {
|
|
1
|
+
import { CodeComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
2
|
+
import type { CollapseProps as AntdCollapseProps, CollapsePanelProps } from "antd/es/collapse";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { Registerable } from "./registerable";
|
|
5
5
|
export declare const CollapsePanel: React.FC<import("antd").CollapsePanelProps>;
|
|
6
|
-
export declare const collapstePanelMeta:
|
|
7
|
-
export declare function registerCollapsePanel(loader?: Registerable, customCollapsePanelMeta?:
|
|
6
|
+
export declare const collapstePanelMeta: CodeComponentMeta<CollapsePanelProps>;
|
|
7
|
+
export declare function registerCollapsePanel(loader?: Registerable, customCollapsePanelMeta?: CodeComponentMeta<CollapsePanelProps>): void;
|
|
8
8
|
type CollapseProps = {
|
|
9
9
|
openIcon?: React.ReactNode;
|
|
10
10
|
closeIcon?: React.ReactNode;
|
|
11
11
|
} & AntdCollapseProps;
|
|
12
|
-
export declare const collapsteMeta:
|
|
12
|
+
export declare const collapsteMeta: CodeComponentMeta<CollapseProps>;
|
|
13
13
|
export declare function Collapse(props: CollapseProps): React.JSX.Element;
|
|
14
|
-
export declare function registerCollapse(loader?: Registerable, customCollapseMeta?:
|
|
14
|
+
export declare function registerCollapse(loader?: Registerable, customCollapseMeta?: CodeComponentMeta<CollapseProps>): void;
|
|
15
15
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CodeComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
2
2
|
import { Dropdown as AntdDropdown } from "antd";
|
|
3
3
|
import type { DropdownButtonProps, DropDownProps } from "antd/es/dropdown";
|
|
4
4
|
import React from "react";
|
|
@@ -7,7 +7,7 @@ export declare const DropdownButton: typeof AntdDropdown.Button;
|
|
|
7
7
|
export declare class Dropdown extends React.Component<DropDownProps> {
|
|
8
8
|
render(): React.JSX.Element;
|
|
9
9
|
}
|
|
10
|
-
export declare const dropdownMeta:
|
|
11
|
-
export declare function registerDropdown(loader?: Registerable, customDropdownMeta?:
|
|
12
|
-
export declare const dropdownButtonMeta:
|
|
13
|
-
export declare function registerDropdownButton(loader?: Registerable, customDropdownButtonMeta?:
|
|
10
|
+
export declare const dropdownMeta: CodeComponentMeta<DropDownProps>;
|
|
11
|
+
export declare function registerDropdown(loader?: Registerable, customDropdownMeta?: CodeComponentMeta<DropDownProps>): void;
|
|
12
|
+
export declare const dropdownButtonMeta: CodeComponentMeta<DropdownButtonProps>;
|
|
13
|
+
export declare function registerDropdownButton(loader?: Registerable, customDropdownButtonMeta?: CodeComponentMeta<DropDownProps>): void;
|
package/dist/registerInput.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { CodeComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
3
3
|
import { Input as AntdInput } from "antd";
|
|
4
4
|
import type { GroupProps, InputProps, PasswordProps, SearchProps, TextAreaProps } from "antd/es/input";
|
|
5
5
|
import { Registerable } from "./registerable";
|
|
@@ -15,13 +15,13 @@ export declare const inputHelpers: {
|
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
|
-
export declare const inputMeta:
|
|
19
|
-
export declare function registerInput(loader?: Registerable, customInputMeta?:
|
|
20
|
-
export declare const inputTextAreaMeta:
|
|
21
|
-
export declare function registerInputTextArea(loader?: Registerable, customInputTextAreaMeta?:
|
|
22
|
-
export declare const inputSearchMeta:
|
|
23
|
-
export declare function registerInputSearch(loader?: Registerable, customInputSearchMeta?:
|
|
24
|
-
export declare const inputPasswordMeta:
|
|
25
|
-
export declare function registerInputPassword(loader?: Registerable, customInputPasswordMeta?:
|
|
26
|
-
export declare const inputGroupMeta:
|
|
27
|
-
export declare function registerInputGroup(loader?: Registerable, customInputGroupMeta?:
|
|
18
|
+
export declare const inputMeta: CodeComponentMeta<InputProps>;
|
|
19
|
+
export declare function registerInput(loader?: Registerable, customInputMeta?: CodeComponentMeta<InputProps>): void;
|
|
20
|
+
export declare const inputTextAreaMeta: CodeComponentMeta<TextAreaProps>;
|
|
21
|
+
export declare function registerInputTextArea(loader?: Registerable, customInputTextAreaMeta?: CodeComponentMeta<TextAreaProps>): void;
|
|
22
|
+
export declare const inputSearchMeta: CodeComponentMeta<SearchProps>;
|
|
23
|
+
export declare function registerInputSearch(loader?: Registerable, customInputSearchMeta?: CodeComponentMeta<SearchProps>): void;
|
|
24
|
+
export declare const inputPasswordMeta: CodeComponentMeta<PasswordProps>;
|
|
25
|
+
export declare function registerInputPassword(loader?: Registerable, customInputPasswordMeta?: CodeComponentMeta<PasswordProps>): void;
|
|
26
|
+
export declare const inputGroupMeta: CodeComponentMeta<GroupProps>;
|
|
27
|
+
export declare function registerInputGroup(loader?: Registerable, customInputGroupMeta?: CodeComponentMeta<GroupProps>): void;
|
package/dist/registerMenu.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import type { MenuItemProps, MenuProps, SubMenuProps, MenuDividerProps } from "antd/es/menu";
|
|
2
|
+
import { CodeComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
4
3
|
import { Menu as AntdMenu } from "antd";
|
|
4
|
+
import type { MenuDividerProps, MenuItemProps, MenuProps, SubMenuProps } from "antd/es/menu";
|
|
5
5
|
import type { MenuItemGroupProps } from "rc-menu";
|
|
6
6
|
import { Registerable } from "./registerable";
|
|
7
7
|
export declare const Menu: typeof AntdMenu;
|
|
@@ -9,13 +9,13 @@ export declare const MenuDivider: import("react").FC<import("antd/lib/menu").Men
|
|
|
9
9
|
export declare const MenuItemGroup: typeof import("rc-menu").MenuItemGroup;
|
|
10
10
|
export declare const MenuItem: typeof import("antd/lib/menu/MenuItem").default;
|
|
11
11
|
export declare const SubMenu: typeof import("antd/lib/menu/SubMenu").default;
|
|
12
|
-
export declare const menuDividerMeta:
|
|
13
|
-
export declare function registerMenuDivider(loader?: Registerable, customMenuDividerMeta?:
|
|
14
|
-
export declare const menuItemMeta:
|
|
15
|
-
export declare function registerMenuItem(loader?: Registerable, customMenuItemMeta?:
|
|
16
|
-
export declare const menuItemGroupMeta:
|
|
17
|
-
export declare function registerMenuItemGroup(loader?: Registerable, customMenuItemGroupMeta?:
|
|
18
|
-
export declare const subMenuMeta:
|
|
19
|
-
export declare function registerSubMenu(loader?: Registerable, customSubMenuMeta?:
|
|
20
|
-
export declare const menuMeta:
|
|
21
|
-
export declare function registerMenu(loader?: Registerable, customMenuMeta?:
|
|
12
|
+
export declare const menuDividerMeta: CodeComponentMeta<MenuDividerProps>;
|
|
13
|
+
export declare function registerMenuDivider(loader?: Registerable, customMenuDividerMeta?: CodeComponentMeta<MenuDividerProps>): void;
|
|
14
|
+
export declare const menuItemMeta: CodeComponentMeta<MenuItemProps>;
|
|
15
|
+
export declare function registerMenuItem(loader?: Registerable, customMenuItemMeta?: CodeComponentMeta<MenuItemProps>): void;
|
|
16
|
+
export declare const menuItemGroupMeta: CodeComponentMeta<MenuItemGroupProps>;
|
|
17
|
+
export declare function registerMenuItemGroup(loader?: Registerable, customMenuItemGroupMeta?: CodeComponentMeta<MenuItemProps>): void;
|
|
18
|
+
export declare const subMenuMeta: CodeComponentMeta<SubMenuProps>;
|
|
19
|
+
export declare function registerSubMenu(loader?: Registerable, customSubMenuMeta?: CodeComponentMeta<SubMenuProps>): void;
|
|
20
|
+
export declare const menuMeta: CodeComponentMeta<MenuProps>;
|
|
21
|
+
export declare function registerMenu(loader?: Registerable, customMenuMeta?: CodeComponentMeta<MenuProps>): void;
|
package/dist/registerOption.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const Option: import("rc-select/lib/Option").OptionFC;
|
|
3
|
-
export declare const OptGroup: import("rc-select/lib/OptGroup").OptionGroupFC;
|
|
1
|
+
import { CodeComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
4
2
|
import type { OptGroupProps } from "rc-select/es/OptGroup";
|
|
5
3
|
import type { OptionProps } from "rc-select/es/Option";
|
|
6
4
|
import { Registerable } from "./registerable";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare
|
|
9
|
-
export declare const
|
|
10
|
-
export declare function
|
|
5
|
+
export declare const Option: import("rc-select/lib/Option").OptionFC;
|
|
6
|
+
export declare const OptGroup: import("rc-select/lib/OptGroup").OptionGroupFC;
|
|
7
|
+
export declare const optionMeta: CodeComponentMeta<OptionProps>;
|
|
8
|
+
export declare function registerOption(loader?: Registerable, customOptionMeta?: CodeComponentMeta<OptionProps>): void;
|
|
9
|
+
export declare const optGroupMeta: CodeComponentMeta<OptGroupProps>;
|
|
10
|
+
export declare function registerOptGroup(loader?: Registerable, customOptGroupMeta?: CodeComponentMeta<OptGroupProps>): void;
|
package/dist/registerSelect.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CodeComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Registerable } from "./registerable";
|
|
4
4
|
export declare const Select: (<ValueType = any, OptionType extends import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: import("antd").SelectProps<ValueType, OptionType> & {
|
|
@@ -11,6 +11,6 @@ export declare const Select: (<ValueType = any, OptionType extends import("rc-se
|
|
|
11
11
|
OptGroup: import("rc-select/lib/OptGroup").OptionGroupFC;
|
|
12
12
|
};
|
|
13
13
|
type SelectProps = React.ComponentProps<typeof Select>;
|
|
14
|
-
export declare const selectMeta:
|
|
15
|
-
export declare function registerSelect(loader?: Registerable, customSelectMeta?:
|
|
14
|
+
export declare const selectMeta: CodeComponentMeta<SelectProps>;
|
|
15
|
+
export declare function registerSelect(loader?: Registerable, customSelectMeta?: CodeComponentMeta<SelectProps>): void;
|
|
16
16
|
export {};
|
package/dist/registerSlider.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CodeComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
2
2
|
import type { SliderRangeProps, SliderSingleProps } from "antd/es/slider";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { Registerable } from "./registerable";
|
|
@@ -14,6 +14,6 @@ export declare const Slider: React.ForwardRefExoticComponent<Omit<SliderSinglePr
|
|
|
14
14
|
onChange: (val: number) => void;
|
|
15
15
|
onChange2: (val: number) => void;
|
|
16
16
|
} & React.RefAttributes<unknown>>;
|
|
17
|
-
export declare const sliderMeta:
|
|
18
|
-
export declare function registerSlider(loader?: Registerable, customSliderMeta?:
|
|
17
|
+
export declare const sliderMeta: CodeComponentMeta<SliderProps>;
|
|
18
|
+
export declare function registerSlider(loader?: Registerable, customSliderMeta?: CodeComponentMeta<SliderProps>): void;
|
|
19
19
|
export {};
|
package/dist/registerSwitch.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CodeComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
2
2
|
import { Switch as AntdSwitch } from "antd";
|
|
3
3
|
import type { SwitchProps } from "antd/es/switch";
|
|
4
4
|
import { Registerable } from "./registerable";
|
|
5
5
|
export declare const Switch: typeof AntdSwitch;
|
|
6
|
-
export declare const switchMeta:
|
|
7
|
-
export declare function registerSwitch(loader?: Registerable, customSwitchMeta?:
|
|
6
|
+
export declare const switchMeta: CodeComponentMeta<SwitchProps>;
|
|
7
|
+
export declare function registerSwitch(loader?: Registerable, customSwitchMeta?: CodeComponentMeta<SwitchProps>): void;
|
package/dist/registerTable.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type CodeComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Registerable } from "./registerable";
|
|
4
4
|
interface TableColumnProps {
|
|
@@ -21,10 +21,10 @@ export interface TableWrapperProps {
|
|
|
21
21
|
onSelect?: (record: any) => void;
|
|
22
22
|
}
|
|
23
23
|
export declare function TableWrapper(props: TableWrapperProps): React.JSX.Element;
|
|
24
|
-
export declare const tableMeta:
|
|
25
|
-
export declare const tableColumnMeta:
|
|
26
|
-
export declare const tableValueMeta:
|
|
27
|
-
export declare function registerTable(loader?: Registerable, customMeta?:
|
|
28
|
-
export declare function registerTableColumn(loader?: Registerable, customMeta?:
|
|
29
|
-
export declare function registerTableValue(loader?: Registerable, customMeta?:
|
|
24
|
+
export declare const tableMeta: CodeComponentMeta<TableWrapperProps>;
|
|
25
|
+
export declare const tableColumnMeta: CodeComponentMeta<TableColumnProps>;
|
|
26
|
+
export declare const tableValueMeta: CodeComponentMeta<TableValueProps>;
|
|
27
|
+
export declare function registerTable(loader?: Registerable, customMeta?: CodeComponentMeta<TableWrapperProps>): void;
|
|
28
|
+
export declare function registerTableColumn(loader?: Registerable, customMeta?: CodeComponentMeta<TableColumnProps>): void;
|
|
29
|
+
export declare function registerTableValue(loader?: Registerable, customMeta?: CodeComponentMeta<TableValueProps>): void;
|
|
30
30
|
export {};
|
package/dist/registerTabs.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type {
|
|
1
|
+
import { CodeComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
2
|
+
import type { TabsProps as AntdTabsProps, TabPaneProps } from "antd/es/tabs";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { Registerable } from "./registerable";
|
|
5
5
|
export declare const TabPane: React.FC<TabPaneProps>;
|
|
6
|
-
export declare const tabPaneMeta:
|
|
7
|
-
export declare function registerTabPane(loader?: Registerable, customTabPaneMeta?:
|
|
6
|
+
export declare const tabPaneMeta: CodeComponentMeta<TabPaneProps>;
|
|
7
|
+
export declare function registerTabPane(loader?: Registerable, customTabPaneMeta?: CodeComponentMeta<TabPaneProps>): void;
|
|
8
8
|
export type TabsProps = Omit<AntdTabsProps, "tabBarExtraContent"> & {
|
|
9
9
|
leftTabBarExtraContent?: React.ReactNode;
|
|
10
10
|
rightTabBarExtraContent?: React.ReactNode;
|
|
11
11
|
};
|
|
12
12
|
export declare function Tabs(props: TabsProps): React.JSX.Element;
|
|
13
|
-
export declare const tabsMeta:
|
|
14
|
-
export declare function registerTabs(loader?: Registerable, customTabsMeta?:
|
|
13
|
+
export declare const tabsMeta: CodeComponentMeta<TabsProps>;
|
|
14
|
+
export declare function registerTabs(loader?: Registerable, customTabsMeta?: CodeComponentMeta<TabsProps>): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicpkgs/antd",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.159",
|
|
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.
|
|
62
|
+
"@plasmicapp/host": "1.0.235",
|
|
63
63
|
"@rollup/plugin-commonjs": "^11.0.0",
|
|
64
64
|
"@rollup/plugin-json": "^4.0.0",
|
|
65
65
|
"@rollup/plugin-node-resolve": "^9.0.0",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"@plasmicapp/host": ">=1.0.0",
|
|
81
81
|
"react": ">=16.8.0"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "380a91b2e7eac342c9b2ddafdacd84b4a812b795"
|
|
84
84
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerButton.cjs.js","sources":["../src/registerButton.ts"],"sourcesContent":["import registerComponent, {\n
|
|
1
|
+
{"version":3,"file":"registerButton.cjs.js","sources":["../src/registerButton.ts"],"sourcesContent":["import registerComponent, {\n CodeComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { Button as AntdButton } from \"antd\";\nimport type { ButtonProps } from \"antd/es/button\";\nimport { Registerable } from \"./registerable\";\n\nexport const Button: typeof AntdButton = AntdButton;\n\nexport const buttonMeta: CodeComponentMeta<ButtonProps> = {\n name: \"AntdButton\",\n displayName: \"Antd Button\",\n props: {\n type: {\n type: \"choice\",\n options: [\"default\", \"primary\", \"ghost\", \"dashed\", \"link\", \"text\"],\n description: \"Can be set to primary, ghost, dashed, link, text, default\",\n defaultValueHint: \"default\",\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"medium\", \"large\"],\n description: \"Set the size of button\",\n defaultValueHint: \"medium\",\n },\n shape: {\n type: \"choice\",\n options: [\"default\", \"circle\", \"round\"],\n description: \"Can be set button shape\",\n defaultValueHint: \"default\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Disabled state of button\",\n defaultValueHint: false,\n },\n ghost: {\n type: \"boolean\",\n description:\n \"Make background transparent and invert text and border colors\",\n defaultValueHint: false,\n },\n danger: {\n type: \"boolean\",\n description: \"Set the danger status of button\",\n defaultValueHint: false,\n },\n block: {\n type: \"boolean\",\n description: \"Option to fit button width to its parent width\",\n defaultValueHint: false,\n },\n loading: {\n type: \"boolean\",\n description: \"Set the loading status of button\",\n defaultValueHint: false,\n },\n href: {\n type: \"string\",\n description: \"Redirect url of link button\",\n },\n target: {\n type: \"choice\",\n options: [\"_blank\", \"_self\", \"_parent\", \"_top\"],\n description:\n \"Same as target attribute of a, works when href is specified\",\n hidden: (props) => !props.href,\n defaultValueHint: \"_self\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Button\",\n },\n ],\n },\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerButton\",\n importName: \"Button\",\n};\n\nexport function registerButton(\n loader?: Registerable,\n customButtonMeta?: CodeComponentMeta<ButtonProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(AntdButton, customButtonMeta ?? buttonMeta);\n}\n"],"names":["AntdButton","registerComponent"],"mappings":";;;;;;;;;AAOO,MAAM,MAA4B,GAAAA,YAAA;AAElC,MAAM,UAA6C,GAAA;AAAA,EACxD,IAAM,EAAA,YAAA;AAAA,EACN,WAAa,EAAA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,KAAA;AAAA,KACpB;AAAA,IACA,IAAM,EAAA;AAAA,MACJ,IAAM,EAAA,QAAA;AAAA,MACN,WAAa,EAAA,6BAAA;AAAA,KACf;AAAA,IACA,MAAQ,EAAA;AAAA,MACN,IAAM,EAAA,QAAA;AAAA,MACN,OAAS,EAAA,CAAC,QAAU,EAAA,OAAA,EAAS,WAAW,MAAM,CAAA;AAAA,MAC9C,WACE,EAAA,6DAAA;AAAA,MACF,MAAQ,EAAA,CAAC,KAAU,KAAA,CAAC,KAAM,CAAA,IAAA;AAAA,MAC1B,gBAAkB,EAAA,OAAA;AAAA,KACpB;AAAA,IACA,QAAU,EAAA;AAAA,MACR,IAAM,EAAA,MAAA;AAAA,MACN,YAAc,EAAA;AAAA,QACZ;AAAA,UACE,IAAM,EAAA,MAAA;AAAA,UACN,KAAO,EAAA,QAAA;AAAA,SACT;AAAA,OACF;AAAA,KACF;AAAA,GACF;AAAA,EACA,UAAY,EAAA,yCAAA;AAAA,EACZ,UAAY,EAAA,QAAA;AACd,EAAA;AAEgB,SAAA,cAAA,CACd,QACA,gBACA,EAAA;AACA,EAAM,MAAA,mBAAA,GAAgD,CAAI,GAAA,IAAA,KACxD,MAAS,GAAA,MAAA,CAAO,iBAAkB,CAAA,GAAG,IAAI,CAAA,GAAIC,kCAAkB,CAAA,GAAG,IAAI,CAAA,CAAA;AACxE,EAAoB,mBAAA,CAAAD,WAAA,EAAY,8CAAoB,UAAU,CAAA,CAAA;AAChE;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CodeComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
2
2
|
import { Button as AntdButton } from "antd";
|
|
3
3
|
import type { ButtonProps } from "antd/es/button";
|
|
4
4
|
import { Registerable } from "./registerable";
|
|
5
5
|
export declare const Button: typeof AntdButton;
|
|
6
|
-
export declare const buttonMeta:
|
|
7
|
-
export declare function registerButton(loader?: Registerable, customButtonMeta?:
|
|
6
|
+
export declare const buttonMeta: CodeComponentMeta<ButtonProps>;
|
|
7
|
+
export declare function registerButton(loader?: Registerable, customButtonMeta?: CodeComponentMeta<ButtonProps>): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerButton.esm.js","sources":["../src/registerButton.ts"],"sourcesContent":["import registerComponent, {\n
|
|
1
|
+
{"version":3,"file":"registerButton.esm.js","sources":["../src/registerButton.ts"],"sourcesContent":["import registerComponent, {\n CodeComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { Button as AntdButton } from \"antd\";\nimport type { ButtonProps } from \"antd/es/button\";\nimport { Registerable } from \"./registerable\";\n\nexport const Button: typeof AntdButton = AntdButton;\n\nexport const buttonMeta: CodeComponentMeta<ButtonProps> = {\n name: \"AntdButton\",\n displayName: \"Antd Button\",\n props: {\n type: {\n type: \"choice\",\n options: [\"default\", \"primary\", \"ghost\", \"dashed\", \"link\", \"text\"],\n description: \"Can be set to primary, ghost, dashed, link, text, default\",\n defaultValueHint: \"default\",\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"medium\", \"large\"],\n description: \"Set the size of button\",\n defaultValueHint: \"medium\",\n },\n shape: {\n type: \"choice\",\n options: [\"default\", \"circle\", \"round\"],\n description: \"Can be set button shape\",\n defaultValueHint: \"default\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Disabled state of button\",\n defaultValueHint: false,\n },\n ghost: {\n type: \"boolean\",\n description:\n \"Make background transparent and invert text and border colors\",\n defaultValueHint: false,\n },\n danger: {\n type: \"boolean\",\n description: \"Set the danger status of button\",\n defaultValueHint: false,\n },\n block: {\n type: \"boolean\",\n description: \"Option to fit button width to its parent width\",\n defaultValueHint: false,\n },\n loading: {\n type: \"boolean\",\n description: \"Set the loading status of button\",\n defaultValueHint: false,\n },\n href: {\n type: \"string\",\n description: \"Redirect url of link button\",\n },\n target: {\n type: \"choice\",\n options: [\"_blank\", \"_self\", \"_parent\", \"_top\"],\n description:\n \"Same as target attribute of a, works when href is specified\",\n hidden: (props) => !props.href,\n defaultValueHint: \"_self\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Button\",\n },\n ],\n },\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerButton\",\n importName: \"Button\",\n};\n\nexport function registerButton(\n loader?: Registerable,\n customButtonMeta?: CodeComponentMeta<ButtonProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(AntdButton, customButtonMeta ?? buttonMeta);\n}\n"],"names":["AntdButton"],"mappings":";;;AAOO,MAAM,MAA4B,GAAAA,SAAA;AAElC,MAAM,UAA6C,GAAA;AAAA,EACxD,IAAM,EAAA,YAAA;AAAA,EACN,WAAa,EAAA,aAAA;AAAA,EACb,KAAO,EAAA;AAAA,IACL,IAAM,EAAA;AAAA,MACJ,IAAM,EAAA,QAAA;AAAA,MACN,SAAS,CAAC,SAAA,EAAW,WAAW,OAAS,EAAA,QAAA,EAAU,QAAQ,MAAM,CAAA;AAAA,MACjE,WAAa,EAAA,2DAAA;AAAA,MACb,gBAAkB,EAAA,SAAA;AAAA,KACpB;AAAA,IACA,IAAM,EAAA;AAAA,MACJ,IAAM,EAAA,QAAA;AAAA,MACN,OAAS,EAAA,CAAC,OAAS,EAAA,QAAA,EAAU,OAAO,CAAA;AAAA,MACpC,WAAa,EAAA,wBAAA;AAAA,MACb,gBAAkB,EAAA,QAAA;AAAA,KACpB;AAAA,IACA,KAAO,EAAA;AAAA,MACL,IAAM,EAAA,QAAA;AAAA,MACN,OAAS,EAAA,CAAC,SAAW,EAAA,QAAA,EAAU,OAAO,CAAA;AAAA,MACtC,WAAa,EAAA,yBAAA;AAAA,MACb,gBAAkB,EAAA,SAAA;AAAA,KACpB;AAAA,IACA,QAAU,EAAA;AAAA,MACR,IAAM,EAAA,SAAA;AAAA,MACN,WAAa,EAAA,0BAAA;AAAA,MACb,gBAAkB,EAAA,KAAA;AAAA,KACpB;AAA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AAO,iBAAkB,CAAA,GAAG,IAAI,CAAA,GAAI,iBAAkB,CAAA,GAAG,IAAI,CAAA,CAAA;AACxE,EAAoB,mBAAA,CAAAA,QAAA,EAAY,8CAAoB,UAAU,CAAA,CAAA;AAChE;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerCarousel.cjs.js","sources":["../src/registerCarousel.ts"],"sourcesContent":["import registerComponent, {\n
|
|
1
|
+
{"version":3,"file":"registerCarousel.cjs.js","sources":["../src/registerCarousel.ts"],"sourcesContent":["import registerComponent, {\n CodeComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { Carousel as AntdCarousel } from \"antd\";\nimport type { CarouselProps } from \"antd/es/carousel\";\nimport { Registerable } from \"./registerable\";\n\nexport const Carousel = AntdCarousel;\n\nconst contentStyle = {\n height: 160,\n color: \"#fff\",\n lineHeight: 160,\n textAlign: \"center\" as const,\n backgroundColor: \"#364d79\",\n};\n\nexport const carouselMeta: CodeComponentMeta<CarouselProps> = {\n name: \"AntdCarousel\",\n displayName: \"Antd Carousel\",\n props: {\n autoplay: {\n type: \"boolean\",\n description: \"Whether to scroll automatically\",\n defaultValueHint: false,\n },\n dotPosition: {\n type: \"choice\",\n options: [\"top\", \"bottom\", \"left\", \"right\"],\n description: \"The position of the dots\",\n defaultValueHint: \"bottom\",\n },\n dots: {\n type: \"boolean\",\n description: \"Whether to show the dots at the bottom of the gallery\",\n defaultValueHint: true,\n },\n effect: {\n type: \"choice\",\n options: [\"scrollx\", \"fade\"],\n defaultValueHint: \"scrollx\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"vbox\",\n children: {\n type: \"text\",\n value: \"1\",\n styles: contentStyle,\n },\n },\n {\n type: \"vbox\",\n children: {\n type: \"text\",\n value: \"2\",\n styles: contentStyle,\n },\n },\n ],\n },\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerCarousel\",\n importName: \"Carousel\",\n};\n\nexport function registerCarousel(\n loader?: Registerable,\n customCarouselMeta?: CodeComponentMeta<CarouselProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Carousel, customCarouselMeta ?? carouselMeta);\n}\n"],"names":["AntdCarousel","registerComponent"],"mappings":";;;;;;;;;AAOO,MAAM,QAAW,GAAAA,cAAA;AAExB,MAAM,YAAe,GAAA;AAAA,EACnB,MAAQ,EAAA,GAAA;AAAA,EACR,KAAO,EAAA,MAAA;AAAA,EACP,UAAY,EAAA,GAAA;AAAA,EACZ,SAAW,EAAA,QAAA;AAAA,EACX,eAAiB,EAAA,SAAA;AACnB,CAAA,CAAA;AAEO,MAAM,YAAiD,GAAA;AAAA,EAC5D,IAAM,EAAA,cAAA;AAAA,EACN,WAAa,EAAA,eAAA;AAAA,EACb,KAAO,EAAA;AAAA,IACL,QAAU,EAAA;AAAA,MACR,IAAM,EAAA,SAAA;AAAA,MACN,WAAa,EAAA,iCAAA;AAAA,MACb,gBAAkB,EAAA,KAAA;AAAA,KACpB;AAAA,IACA,WAAa,EAAA;AAAA,MACX,IAAM,EAAA,QAAA;AAAA,MACN,OAAS,EAAA,CAAC,KAAO,EAAA,QAAA,EAAU,QAAQ,OAAO,CAAA;AAAA,MAC1C,WAAa,EAAA,0BAAA;AAAA,MACb,gBAAkB,EAAA,QAAA;AAAA,KACpB;AAAA,IACA,IAAM,EAAA;AAAA,MACJ,IAAM,EAAA,SAAA;AAAA,MACN,WAAa,EAAA,uDAAA;AAAA,MACb,gBAAkB,EAAA,IAAA;AAAA,KACpB;AAAA,IACA,MAAQ,EAAA;AAAA,MACN,IAAM,EAAA,QAAA;AAAA,MACN,OAAA,EAAS,CAAC,SAAA,EAAW,MAAM,CAAA;AAAA,MAC3B,gBAAkB,EAAA,SAAA;AAAA,KACpB;AAAA,IACA,QAAU,EAAA;AAAA,MACR,IAAM,EAAA,MAAA;AAAA,MACN,YAAc,EAAA;AAAA,QACZ;AAAA,UACE,IAAM,EAAA,MAAA;AAAA,UACN,QAAU,EAAA;AAAA,YACR,IAAM,EAAA,MAAA;AAAA,YACN,KAAO,EAAA,GAAA;AAAA,YACP,MAAQ,EAAA,YAAA;AAAA,WACV;AAAA,SACF;AAAA,QACA;AAAA,UACE,IAAM,EAAA,MAAA;AAAA,UACN,QAAU,EAAA;AAAA,YACR,IAAM,EAAA,MAAA;AAAA,YACN,KAAO,EAAA,GAAA;AAAA,YACP,MAAQ,EAAA,YAAA;AAAA,WACV;AAAA,SACF;AAAA,OACF;AAAA,KACF;AAAA,GACF;AAAA,EACA,UAAY,EAAA,2CAAA;AAAA,EACZ,UAAY,EAAA,UAAA;AACd,EAAA;AAEgB,SAAA,gBAAA,CACd,QACA,kBACA,EAAA;AACA,EAAM,MAAA,mBAAA,GAAgD,CAAI,GAAA,IAAA,KACxD,MAAS,GAAA,MAAA,CAAO,iBAAkB,CAAA,GAAG,IAAI,CAAA,GAAIC,kCAAkB,CAAA,GAAG,IAAI,CAAA,CAAA;AACxE,EAAoB,mBAAA,CAAA,QAAA,EAAU,kDAAsB,YAAY,CAAA,CAAA;AAClE;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { CodeComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
3
3
|
import type { CarouselProps } from "antd/es/carousel";
|
|
4
4
|
import { Registerable } from "./registerable";
|
|
5
5
|
export declare const Carousel: import("react").ForwardRefExoticComponent<import("antd").CarouselProps & import("react").RefAttributes<import("antd/lib/carousel").CarouselRef>>;
|
|
6
|
-
export declare const carouselMeta:
|
|
7
|
-
export declare function registerCarousel(loader?: Registerable, customCarouselMeta?:
|
|
6
|
+
export declare const carouselMeta: CodeComponentMeta<CarouselProps>;
|
|
7
|
+
export declare function registerCarousel(loader?: Registerable, customCarouselMeta?: CodeComponentMeta<CarouselProps>): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerCarousel.esm.js","sources":["../src/registerCarousel.ts"],"sourcesContent":["import registerComponent, {\n
|
|
1
|
+
{"version":3,"file":"registerCarousel.esm.js","sources":["../src/registerCarousel.ts"],"sourcesContent":["import registerComponent, {\n CodeComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { Carousel as AntdCarousel } from \"antd\";\nimport type { CarouselProps } from \"antd/es/carousel\";\nimport { Registerable } from \"./registerable\";\n\nexport const Carousel = AntdCarousel;\n\nconst contentStyle = {\n height: 160,\n color: \"#fff\",\n lineHeight: 160,\n textAlign: \"center\" as const,\n backgroundColor: \"#364d79\",\n};\n\nexport const carouselMeta: CodeComponentMeta<CarouselProps> = {\n name: \"AntdCarousel\",\n displayName: \"Antd Carousel\",\n props: {\n autoplay: {\n type: \"boolean\",\n description: \"Whether to scroll automatically\",\n defaultValueHint: false,\n },\n dotPosition: {\n type: \"choice\",\n options: [\"top\", \"bottom\", \"left\", \"right\"],\n description: \"The position of the dots\",\n defaultValueHint: \"bottom\",\n },\n dots: {\n type: \"boolean\",\n description: \"Whether to show the dots at the bottom of the gallery\",\n defaultValueHint: true,\n },\n effect: {\n type: \"choice\",\n options: [\"scrollx\", \"fade\"],\n defaultValueHint: \"scrollx\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"vbox\",\n children: {\n type: \"text\",\n value: \"1\",\n styles: contentStyle,\n },\n },\n {\n type: \"vbox\",\n children: {\n type: \"text\",\n value: \"2\",\n styles: contentStyle,\n },\n },\n ],\n },\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerCarousel\",\n importName: \"Carousel\",\n};\n\nexport function registerCarousel(\n loader?: Registerable,\n customCarouselMeta?: CodeComponentMeta<CarouselProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Carousel, customCarouselMeta ?? carouselMeta);\n}\n"],"names":["AntdCarousel"],"mappings":";;;AAOO,MAAM,QAAW,GAAAA,WA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,EAAA,MAAA;AAAA,YACN,KAAO,EAAA,GAAA;AAAA,YACP,MAAQ,EAAA,YAAA;AAAA,WACV;AAAA,SACF;AAAA,OACF;AAAA,KACF;AAAA,GACF;AAAA,EACA,UAAY,EAAA,2CAAA;AAAA,EACZ,UAAY,EAAA,UAAA;AACd,EAAA;AAEgB,SAAA,gBAAA,CACd,QACA,kBACA,EAAA;AACA,EAAM,MAAA,mBAAA,GAAgD,CAAI,GAAA,IAAA,KACxD,MAAS,GAAA,MAAA,CAAO,iBAAkB,CAAA,GAAG,IAAI,CAAA,GAAI,iBAAkB,CAAA,GAAG,IAAI,CAAA,CAAA;AACxE,EAAoB,mBAAA,CAAA,QAAA,EAAU,kDAAsB,YAAY,CAAA,CAAA;AAClE;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerCheckbox.cjs.js","sources":["../src/registerCheckbox.tsx"],"sourcesContent":["import registerComponent, {\n
|
|
1
|
+
{"version":3,"file":"registerCheckbox.cjs.js","sources":["../src/registerCheckbox.tsx"],"sourcesContent":["import registerComponent, {\n CodeComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { Checkbox as AntdCheckbox } from \"antd\";\nimport type { CheckboxProps } from \"antd/es/checkbox/Checkbox\";\nimport type { CheckboxGroupProps } from \"antd/es/checkbox/Group\";\nimport React from \"react\";\nimport { traverseReactEltTree } from \"./customControls\";\nimport { Registerable } from \"./registerable\";\n\nexport const Checkbox: typeof AntdCheckbox = AntdCheckbox;\nexport const CheckboxGroup = Checkbox.Group;\n\nclass CheckboxWrapper extends React.Component<CheckboxProps> {\n render() {\n return <Checkbox {...this.props} />;\n }\n}\n\nexport const checkboxHelpers = {\n states: {\n value: {\n onChangeArgsToValue: (\n e: Parameters<NonNullable<CheckboxProps[\"onChange\"]>>[0]\n ) => e.target.checked,\n },\n },\n};\n\nexport const checkboxMeta: CodeComponentMeta<CheckboxProps> = {\n name: \"AntdCheckbox\",\n displayName: \"Antd Checkbox\",\n props: {\n autoFocus: {\n type: \"boolean\",\n description: \"If get focus when component mounted\",\n defaultValueHint: false,\n },\n checked: {\n type: \"boolean\",\n description:\n \"Specifies the initial state: whether or not the checkbox is selected\",\n defaultValueHint: false,\n },\n disabled: {\n type: \"boolean\",\n description: \"If disable checkbox\",\n defaultValueHint: false,\n },\n indeterminate: {\n type: \"boolean\",\n description: \"The indeterminate checked state of checkbox\",\n defaultValueHint: false,\n },\n value: {\n type: \"string\",\n description: \"The checkbox value\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Checkbox\",\n },\n ],\n },\n onChange: {\n type: \"eventHandler\",\n argTypes: [\n {\n name: \"event\",\n type: \"object\",\n },\n ],\n },\n },\n states: {\n value: {\n type: \"writable\",\n variableType: \"boolean\",\n onChangeProp: \"onChange\",\n valueProp: \"checked\",\n },\n },\n componentHelpers: {\n helpers: checkboxHelpers,\n importName: \"checkboxHelpers\",\n importPath: \"@plasmicpkgs/antd/skinny/registerCheckbox\",\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerCheckbox\",\n importName: \"Checkbox\",\n defaultStyles: {\n marginLeft: 0,\n },\n};\n\nexport function registerCheckbox(\n loader?: Registerable,\n customCheckboxMeta?: CodeComponentMeta<CheckboxProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(CheckboxWrapper, customCheckboxMeta ?? checkboxMeta);\n}\n\nfunction getGroupOptions(componentProps: CheckboxGroupProps) {\n const options = new Set<string>();\n traverseReactEltTree(componentProps.children, (elt) => {\n if (\n elt?.type === CheckboxWrapper &&\n typeof elt?.props?.value === \"string\"\n ) {\n options.add(elt.props.value);\n }\n });\n return Array.from(options.keys());\n}\n\nexport const checkboxGroupMeta: CodeComponentMeta<CheckboxGroupProps> = {\n name: \"AntdCheckboxGroup\",\n displayName: \"Antd Checkbox Group\",\n props: {\n disabled: {\n type: \"boolean\",\n description: \"If disable all checkboxes\",\n defaultValueHint: false,\n },\n value: {\n type: \"choice\",\n editOnly: true,\n description: \"Default selected value\",\n multiSelect: true,\n options: getGroupOptions,\n },\n onChange: {\n type: \"eventHandler\",\n argTypes: [\n {\n name: \"value\",\n type: {\n type: \"choice\",\n multiSelect: true,\n options: getGroupOptions,\n },\n },\n ],\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdCheckbox\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdCheckbox\",\n },\n ],\n },\n },\n states: {\n value: {\n type: \"writable\",\n variableType: \"array\",\n valueProp: \"value\",\n onChangeProp: \"onChange\",\n },\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerCheckbox\",\n importName: \"CheckboxGroup\",\n parentComponentName: \"AntdCheckbox\",\n};\n\nexport function registerCheckboxGroup(\n loader?: Registerable,\n customCheckboxGroupMeta?: CodeComponentMeta<CheckboxGroupProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(\n CheckboxGroup,\n customCheckboxGroupMeta ?? checkboxGroupMeta\n );\n}\n"],"names":["AntdCheckbox","React","registerComponent","traverseReactEltTree"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUO,MAAM,QAAgC,GAAAA,cAAA;AACtC,MAAM,gBAAgB,QAAS,CAAA,MAAA;AAEtC,MAAM,eAAA,SAAwBC,uBAAM,SAAyB,CAAA;AAAA,EAC3D,MAAS,GAAA;AACP,IAAO,uBAAAA,sBAAA,CAAA,aAAA,CAAC,QAAa,EAAA,cAAA,CAAA,EAAA,EAAA,IAAA,CAAK,KAAO,CAAA,CAAA,CAAA;AAAA,GACnC;AACF,CAAA;AAEO,MAAM,eAAkB,GAAA;AAAA,EAC7B,MAAQ,EAAA;AAAA,IACN,KAAO,EAAA;AAAA,MACL,mBAAqB,EAAA,CACnB,CACG,KAAA,CAAA,CAAE,MAAO,CAAA,OAAA;AAAA,KAChB;AAAA,G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,MAAA,CAAO,iBAAkB,CAAA,GAAG,IAAI,CAAA,GAAID,kCAAkB,CAAA,GAAG,IAAI,CAAA,CAAA;AACxE,EAAA,mBAAA;AAAA,IACE,aAAA;AAAA,IACA,uBAA2B,IAAA,IAAA,GAAA,uBAAA,GAAA,iBAAA;AAAA,GAC7B,CAAA;AACF;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CodeComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
2
2
|
import { Checkbox as AntdCheckbox } from "antd";
|
|
3
3
|
import type { CheckboxProps } from "antd/es/checkbox/Checkbox";
|
|
4
4
|
import type { CheckboxGroupProps } from "antd/es/checkbox/Group";
|
|
@@ -13,7 +13,7 @@ export declare const checkboxHelpers: {
|
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
export declare const checkboxMeta:
|
|
17
|
-
export declare function registerCheckbox(loader?: Registerable, customCheckboxMeta?:
|
|
18
|
-
export declare const checkboxGroupMeta:
|
|
19
|
-
export declare function registerCheckboxGroup(loader?: Registerable, customCheckboxGroupMeta?:
|
|
16
|
+
export declare const checkboxMeta: CodeComponentMeta<CheckboxProps>;
|
|
17
|
+
export declare function registerCheckbox(loader?: Registerable, customCheckboxMeta?: CodeComponentMeta<CheckboxProps>): void;
|
|
18
|
+
export declare const checkboxGroupMeta: CodeComponentMeta<CheckboxGroupProps>;
|
|
19
|
+
export declare function registerCheckboxGroup(loader?: Registerable, customCheckboxGroupMeta?: CodeComponentMeta<CheckboxGroupProps>): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerCheckbox.esm.js","sources":["../src/registerCheckbox.tsx"],"sourcesContent":["import registerComponent, {\n
|
|
1
|
+
{"version":3,"file":"registerCheckbox.esm.js","sources":["../src/registerCheckbox.tsx"],"sourcesContent":["import registerComponent, {\n CodeComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { Checkbox as AntdCheckbox } from \"antd\";\nimport type { CheckboxProps } from \"antd/es/checkbox/Checkbox\";\nimport type { CheckboxGroupProps } from \"antd/es/checkbox/Group\";\nimport React from \"react\";\nimport { traverseReactEltTree } from \"./customControls\";\nimport { Registerable } from \"./registerable\";\n\nexport const Checkbox: typeof AntdCheckbox = AntdCheckbox;\nexport const CheckboxGroup = Checkbox.Group;\n\nclass CheckboxWrapper extends React.Component<CheckboxProps> {\n render() {\n return <Checkbox {...this.props} />;\n }\n}\n\nexport const checkboxHelpers = {\n states: {\n value: {\n onChangeArgsToValue: (\n e: Parameters<NonNullable<CheckboxProps[\"onChange\"]>>[0]\n ) => e.target.checked,\n },\n },\n};\n\nexport const checkboxMeta: CodeComponentMeta<CheckboxProps> = {\n name: \"AntdCheckbox\",\n displayName: \"Antd Checkbox\",\n props: {\n autoFocus: {\n type: \"boolean\",\n description: \"If get focus when component mounted\",\n defaultValueHint: false,\n },\n checked: {\n type: \"boolean\",\n description:\n \"Specifies the initial state: whether or not the checkbox is selected\",\n defaultValueHint: false,\n },\n disabled: {\n type: \"boolean\",\n description: \"If disable checkbox\",\n defaultValueHint: false,\n },\n indeterminate: {\n type: \"boolean\",\n description: \"The indeterminate checked state of checkbox\",\n defaultValueHint: false,\n },\n value: {\n type: \"string\",\n description: \"The checkbox value\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Checkbox\",\n },\n ],\n },\n onChange: {\n type: \"eventHandler\",\n argTypes: [\n {\n name: \"event\",\n type: \"object\",\n },\n ],\n },\n },\n states: {\n value: {\n type: \"writable\",\n variableType: \"boolean\",\n onChangeProp: \"onChange\",\n valueProp: \"checked\",\n },\n },\n componentHelpers: {\n helpers: checkboxHelpers,\n importName: \"checkboxHelpers\",\n importPath: \"@plasmicpkgs/antd/skinny/registerCheckbox\",\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerCheckbox\",\n importName: \"Checkbox\",\n defaultStyles: {\n marginLeft: 0,\n },\n};\n\nexport function registerCheckbox(\n loader?: Registerable,\n customCheckboxMeta?: CodeComponentMeta<CheckboxProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(CheckboxWrapper, customCheckboxMeta ?? checkboxMeta);\n}\n\nfunction getGroupOptions(componentProps: CheckboxGroupProps) {\n const options = new Set<string>();\n traverseReactEltTree(componentProps.children, (elt) => {\n if (\n elt?.type === CheckboxWrapper &&\n typeof elt?.props?.value === \"string\"\n ) {\n options.add(elt.props.value);\n }\n });\n return Array.from(options.keys());\n}\n\nexport const checkboxGroupMeta: CodeComponentMeta<CheckboxGroupProps> = {\n name: \"AntdCheckboxGroup\",\n displayName: \"Antd Checkbox Group\",\n props: {\n disabled: {\n type: \"boolean\",\n description: \"If disable all checkboxes\",\n defaultValueHint: false,\n },\n value: {\n type: \"choice\",\n editOnly: true,\n description: \"Default selected value\",\n multiSelect: true,\n options: getGroupOptions,\n },\n onChange: {\n type: \"eventHandler\",\n argTypes: [\n {\n name: \"value\",\n type: {\n type: \"choice\",\n multiSelect: true,\n options: getGroupOptions,\n },\n },\n ],\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdCheckbox\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdCheckbox\",\n },\n ],\n },\n },\n states: {\n value: {\n type: \"writable\",\n variableType: \"array\",\n valueProp: \"value\",\n onChangeProp: \"onChange\",\n },\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerCheckbox\",\n importName: \"CheckboxGroup\",\n parentComponentName: \"AntdCheckbox\",\n};\n\nexport function registerCheckboxGroup(\n loader?: Registerable,\n customCheckboxGroupMeta?: CodeComponentMeta<CheckboxGroupProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(\n CheckboxGroup,\n customCheckboxGroupMeta ?? checkboxGroupMeta\n );\n}\n"],"names":["AntdCheckbox"],"mappings":";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A,UACN,IAAM,EAAA,cAAA;AAAA,SACR;AAAA,OACF;AAAA,KACF;AAAA,GACF;AAAA,EACA,MAAQ,EAAA;AAAA,IACN,KAAO,EAAA;AAAA,MACL,IAAM,EAAA,UAAA;AAAA,MACN,YAAc,EAAA,OAAA;AAAA,MACd,SAAW,EAAA,OAAA;AAAA,MACX,YAAc,EAAA,UAAA;AAAA,KAChB;AAAA,GACF;AAAA,EACA,UAAY,EAAA,2CAAA;AAAA,EACZ,UAAY,EAAA,eAAA;AAAA,EACZ,mBAAqB,EAAA,cAAA;AACvB,EAAA;AAEgB,SAAA,qBAAA,CACd,QACA,uBACA,EAAA;AACA,EAAM,MAAA,mBAAA,GAAgD,CAAI,GAAA,IAAA,KACxD,MAAS,GAAA,MAAA,CAAO,iBAAkB,CAAA,GAAG,IAAI,CAAA,GAAI,iBAAkB,CAAA,GAAG,IAAI,CAAA,CAAA;AACxE,EAAA,mBAAA;AAAA,IACE,aAAA;AAAA,IACA,uBAA2B,IAAA,IAAA,GAAA,uBAAA,GAAA,iBAAA;AAAA,GAC7B,CAAA;AACF;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerCollapse.cjs.js","sources":["../src/registerCollapse.tsx"],"sourcesContent":["import registerComponent, {\n
|
|
1
|
+
{"version":3,"file":"registerCollapse.cjs.js","sources":["../src/registerCollapse.tsx"],"sourcesContent":["import registerComponent, {\n CodeComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { Collapse as AntdCollapse } from \"antd\";\nimport type {\n CollapseProps as AntdCollapseProps,\n CollapsePanelProps,\n} from \"antd/es/collapse\";\nimport React from \"react\";\nimport { traverseReactEltTree } from \"./customControls\";\nimport { Registerable } from \"./registerable\";\nexport const CollapsePanel = AntdCollapse.Panel;\n\nexport const collapstePanelMeta: CodeComponentMeta<CollapsePanelProps> = {\n name: \"AntdCollapsePanel\",\n displayName: \"Antd Collapse Panel\",\n props: {\n collapsible: {\n type: \"choice\",\n options: [\"header\", \"disabled\"],\n description:\n \"Specify whether the panel be collapsible or the trigger area of collapsible\",\n },\n forceRender: {\n type: \"boolean\",\n description:\n \"Forced render of content on panel, instead of lazy rending after clicking on header\",\n defaultValueHint: false,\n },\n header: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Header\",\n },\n ],\n },\n key: {\n type: \"string\",\n description: \"Unique key identifying the panel from among its siblings\",\n },\n showArrow: {\n type: \"boolean\",\n description: \"If false, panel will not show arrow icon\",\n defaultValueHint: true,\n },\n extra: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Insert text here\",\n },\n ],\n },\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerCollapse\",\n importName: \"CollapsePanel\",\n parentComponentName: \"AntdCollapse\",\n};\n\nexport function registerCollapsePanel(\n loader?: Registerable,\n customCollapsePanelMeta?: CodeComponentMeta<CollapsePanelProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(\n CollapsePanel,\n customCollapsePanelMeta ?? collapstePanelMeta\n );\n}\n\ntype CollapseProps = {\n openIcon?: React.ReactNode;\n closeIcon?: React.ReactNode;\n} & AntdCollapseProps;\n\nfunction getOptions(componentProps: CollapseProps) {\n const options = new Set<string>();\n // `children` is not defined in the Collapse props\n traverseReactEltTree((componentProps as any).children, (elt) => {\n if (elt?.type === CollapsePanel && typeof elt?.key === \"string\") {\n options.add(elt.key);\n }\n });\n return Array.from(options.keys());\n}\n\nexport const collapsteMeta: CodeComponentMeta<CollapseProps> = {\n name: \"AntdCollapse\",\n displayName: \"Antd Collapse\",\n props: {\n accordion: {\n type: \"boolean\",\n description: \"If true, Collapse renders as Accordion\",\n defaultValueHint: false,\n },\n activeKey: {\n type: \"choice\",\n editOnly: true,\n description: \"Key of the active panel\",\n multiSelect: true,\n options: getOptions,\n },\n onChange: {\n type: \"eventHandler\",\n argTypes: [\n {\n name: \"value\",\n type: {\n type: \"choice\",\n multiSelect: true,\n options: getOptions,\n },\n },\n ],\n },\n bordered: {\n type: \"boolean\",\n description: \"Toggles rendering of the border around the collapse block\",\n defaultValueHint: true,\n },\n collapsible: {\n type: \"choice\",\n options: [\"header\", \"disabled\"],\n description:\n \"Specify whether the panels of children be collapsible or the trigger area of collapsible\",\n },\n expandIconPosition: {\n type: \"choice\",\n options: [\"left\", \"right\"],\n description: \"Set expand icon position\",\n defaultValueHint: \"left\",\n },\n ghost: {\n type: \"boolean\",\n description:\n \"Make the collapse borderless and its background transparent\",\n defaultValueHint: false,\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdCollapsePanel\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdCollapsePanel\",\n props: {\n key: \"1\",\n },\n },\n ],\n },\n openIcon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n closeIcon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n },\n states: {\n activeKey: {\n type: \"writable\",\n variableType: \"array\",\n valueProp: \"activeKey\",\n onChangeProp: \"onChange\",\n },\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerCollapse\",\n importName: \"Collapse\",\n};\n\nexport function Collapse(props: CollapseProps) {\n const { openIcon, closeIcon, ...rest } = props;\n return (\n <AntdCollapse\n {...rest}\n expandIcon={\n openIcon || closeIcon\n ? ({ isActive }) => (isActive ? openIcon : closeIcon)\n : undefined\n }\n />\n );\n}\n\nexport function registerCollapse(\n loader?: Registerable,\n customCollapseMeta?: CodeComponentMeta<CollapseProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Collapse, customCollapseMeta ?? collapsteMeta);\n}\n"],"names":["AntdCollapse","registerComponent","traverseReactEltTree","React"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWO,MAAM,gBAAgBA,aAAa,CAAA,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