enwawa-ui 3.3.1 → 3.3.2
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/lib/index.d.ts +26 -15
- package/lib/index.d.ts.map +1 -1
- package/lib/index.es.js +105 -56
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +108 -59
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { CSSProperties, ReactNode, ChangeEvent, JSXElementConstructor, ReactElement } from "react";
|
|
2
2
|
import { ButtonShape, ButtonSize, ButtonType } from "antd/es/button";
|
|
3
3
|
import { ButtonProps, AutoCompleteProps, DescriptionsProps, TableProps as _TableProps1, BreadcrumbProps as _BreadcrumbProps1, SwitchProps } from "antd/lib";
|
|
4
|
-
import { CheckboxProps, AlertProps, ColProps, BreadcrumbProps, TooltipProps, InputNumberProps, DropdownProps, MenuProps, SelectProps, PaginationProps, RadioChangeEvent, UploadProps, RowProps as _RowProps1, CollapseProps, LayoutProps, SiderProps, SpaceProps, StepsProps, TableProps, TableColumnsType, FormProps, ModalFuncProps, FormInstance, ModalProps as _ModalProps1, CountdownProps, DatePickerProps, ImageProps, SpinProps, TagProps } from "antd";
|
|
4
|
+
import { CheckboxProps, AlertProps, ColProps, BreadcrumbProps, TooltipProps, InputNumberProps, DropdownProps, MenuProps, SelectProps, PaginationProps, PopoverProps, RadioChangeEvent, UploadProps, RowProps as _RowProps1, CollapseProps, LayoutProps, SiderProps, SpaceProps, StepsProps, TableProps, TableColumnsType, FormProps, ModalFuncProps, FormInstance, ModalProps as _ModalProps1, CountdownProps, DatePickerProps, ImageProps, SpinProps, TagProps } from "antd";
|
|
5
5
|
import { TabsProps } from "antd/es/tabs";
|
|
6
6
|
import { CardTabListType } from "antd/es/card";
|
|
7
7
|
import { CardType } from "antd/es/card/Card";
|
|
@@ -1333,6 +1333,17 @@ export interface MlPaginationProps {
|
|
|
1333
1333
|
onShowSizeChange?: (current: number, size: number) => void;
|
|
1334
1334
|
}
|
|
1335
1335
|
export const MlPagination: React.FC<MlPaginationProps>;
|
|
1336
|
+
interface MlPopoverProps extends PopoverProps {
|
|
1337
|
+
/**
|
|
1338
|
+
* content to hover
|
|
1339
|
+
*/
|
|
1340
|
+
content: any;
|
|
1341
|
+
/**
|
|
1342
|
+
* icon to display the content of popover
|
|
1343
|
+
*/
|
|
1344
|
+
markSelectIcon?: React.ReactNode;
|
|
1345
|
+
}
|
|
1346
|
+
export const MlPopover: React.FC<MlPopoverProps>;
|
|
1336
1347
|
export interface MlRadioGroupProps {
|
|
1337
1348
|
/**
|
|
1338
1349
|
* The ID for input
|
|
@@ -2247,6 +2258,20 @@ export interface OrCountryCardProps {
|
|
|
2247
2258
|
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
2248
2259
|
}
|
|
2249
2260
|
export const OrCountryCard: React.FC<OrCountryCardProps>;
|
|
2261
|
+
interface OverlayViewProps {
|
|
2262
|
+
children?: React.ReactNode | undefined;
|
|
2263
|
+
position?: google.maps.LatLng | google.maps.LatLngLiteral | undefined;
|
|
2264
|
+
getPixelPositionOffset?: ((offsetWidth: number, offsetHeight: number) => {
|
|
2265
|
+
x: number;
|
|
2266
|
+
y: number;
|
|
2267
|
+
}) | undefined;
|
|
2268
|
+
bounds?: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral | undefined;
|
|
2269
|
+
zIndex?: number | undefined;
|
|
2270
|
+
onLoad?: ((overlayView: google.maps.OverlayView) => void) | undefined;
|
|
2271
|
+
onUnmount?: ((overlayView: google.maps.OverlayView) => void) | undefined;
|
|
2272
|
+
hasOverlay?: boolean;
|
|
2273
|
+
}
|
|
2274
|
+
export const OrCustomOverlay: React.FC<OverlayViewProps>;
|
|
2250
2275
|
export interface OrLayoutProps {
|
|
2251
2276
|
/**
|
|
2252
2277
|
* Children component
|
|
@@ -3351,20 +3376,6 @@ export interface AtInputStatusProps {
|
|
|
3351
3376
|
}
|
|
3352
3377
|
export const AtInputStatus: React.FC<AtInputStatusProps>;
|
|
3353
3378
|
type _Size1 = 'large' | 'middle' | 'small';
|
|
3354
|
-
interface OverlayViewProps {
|
|
3355
|
-
children?: React.ReactNode | undefined;
|
|
3356
|
-
position?: google.maps.LatLng | google.maps.LatLngLiteral | undefined;
|
|
3357
|
-
getPixelPositionOffset?: ((offsetWidth: number, offsetHeight: number) => {
|
|
3358
|
-
x: number;
|
|
3359
|
-
y: number;
|
|
3360
|
-
}) | undefined;
|
|
3361
|
-
bounds?: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral | undefined;
|
|
3362
|
-
zIndex?: number | undefined;
|
|
3363
|
-
onLoad?: ((overlayView: google.maps.OverlayView) => void) | undefined;
|
|
3364
|
-
onUnmount?: ((overlayView: google.maps.OverlayView) => void) | undefined;
|
|
3365
|
-
hasOverlay?: boolean;
|
|
3366
|
-
}
|
|
3367
|
-
export const CustomOverlay: React.FC<OverlayViewProps>;
|
|
3368
3379
|
export interface OrMarkProps {
|
|
3369
3380
|
id?: string;
|
|
3370
3381
|
text?: string;
|