@wc-kit/react 0.0.3 → 0.0.4
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/index.cjs.js +871 -277
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +28 -0
- package/dist/index.es.js +3872 -1640
- package/dist/index.es.js.map +1 -1
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,11 @@ import { wcDatePicker } from '@wc-kit/core';
|
|
|
13
13
|
import { wcDialog } from '@wc-kit/core';
|
|
14
14
|
import { wcDivider } from '@wc-kit/core';
|
|
15
15
|
import { wcDrawer } from '@wc-kit/core';
|
|
16
|
+
import { wcDropdown } from '@wc-kit/core';
|
|
17
|
+
import { wcDropdownItem } from '@wc-kit/core';
|
|
16
18
|
import { wcEmpty } from '@wc-kit/core';
|
|
19
|
+
import { wcFloatButton } from '@wc-kit/core';
|
|
20
|
+
import { wcFloatButtonGroup } from '@wc-kit/core';
|
|
17
21
|
import { wcForm } from '@wc-kit/core';
|
|
18
22
|
import { wcFormItem } from '@wc-kit/core';
|
|
19
23
|
import { WcIcon as WcIcon_2 } from '@wc-kit/core';
|
|
@@ -32,6 +36,7 @@ import { wcRow } from '@wc-kit/core';
|
|
|
32
36
|
import { wcSelect } from '@wc-kit/core';
|
|
33
37
|
import { wcSlider } from '@wc-kit/core';
|
|
34
38
|
import { wcSpace } from '@wc-kit/core';
|
|
39
|
+
import { wcSplitButton } from '@wc-kit/core';
|
|
35
40
|
import { wcSwitch } from '@wc-kit/core';
|
|
36
41
|
import { wcTab } from '@wc-kit/core';
|
|
37
42
|
import { wcTable } from '@wc-kit/core';
|
|
@@ -85,8 +90,23 @@ onWcConfirm: EventName<CustomEvent<any>>;
|
|
|
85
90
|
onWcCancel: EventName<CustomEvent<any>>;
|
|
86
91
|
}>;
|
|
87
92
|
|
|
93
|
+
export declare const WcDropdown: ReactWebComponent<wcDropdown, {
|
|
94
|
+
onWcOpen: EventName<CustomEvent<any>>;
|
|
95
|
+
onWcClose: EventName<CustomEvent<any>>;
|
|
96
|
+
onWcSelect: EventName<CustomEvent<any>>;
|
|
97
|
+
}>;
|
|
98
|
+
|
|
99
|
+
export declare const WcDropdownItem: ReactWebComponent<wcDropdownItem, {}>;
|
|
100
|
+
|
|
88
101
|
export declare const WcEmpty: ReactWebComponent<wcEmpty, {}>;
|
|
89
102
|
|
|
103
|
+
export declare const WcFloatButton: ReactWebComponent<wcFloatButton, {}>;
|
|
104
|
+
|
|
105
|
+
export declare const WcFloatButtonGroup: ReactWebComponent<wcFloatButtonGroup, {
|
|
106
|
+
onWcOpen: EventName<CustomEvent<any>>;
|
|
107
|
+
onWcClose: EventName<CustomEvent<any>>;
|
|
108
|
+
}>;
|
|
109
|
+
|
|
90
110
|
export declare const WcForm: ReactWebComponent<wcForm, {
|
|
91
111
|
onWcSubmit: EventName<CustomEvent<any>>;
|
|
92
112
|
}>;
|
|
@@ -151,6 +171,14 @@ onWcChange: EventName<CustomEvent<any>>;
|
|
|
151
171
|
|
|
152
172
|
export declare const WcSpace: ReactWebComponent<wcSpace, {}>;
|
|
153
173
|
|
|
174
|
+
export declare const WcSplitButton: ReactWebComponent<wcSplitButton, {
|
|
175
|
+
onWcMainClick: EventName<CustomEvent<any>>;
|
|
176
|
+
onWcArrowClick: EventName<CustomEvent<any>>;
|
|
177
|
+
onWcSelect: EventName<CustomEvent<any>>;
|
|
178
|
+
onWcOpen: EventName<CustomEvent<any>>;
|
|
179
|
+
onWcClose: EventName<CustomEvent<any>>;
|
|
180
|
+
}>;
|
|
181
|
+
|
|
154
182
|
export declare const WcSwitch: ReactWebComponent<wcSwitch, {
|
|
155
183
|
onWcChange: EventName<CustomEvent<any>>;
|
|
156
184
|
}>;
|