@wizleap-inc/wiz-ui-react 0.35.1 → 0.37.0
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/components/base/accordion/components/accordion.d.ts +2 -1
- package/dist/components/base/anchor/components/anchor.d.ts +2 -1
- package/dist/components/base/avatar/components/avatar.d.ts +2 -1
- package/dist/components/base/badge/components/badge.d.ts +2 -1
- package/dist/components/base/box/components/box.d.ts +2 -1
- package/dist/components/base/buttons/icon/components/icon-button.d.ts +2 -1
- package/dist/components/base/buttons/text/components/text-button.d.ts +2 -1
- package/dist/components/base/buttons/tiny/components/tiny-button.d.ts +2 -1
- package/dist/components/base/buttons/toggle/components/toggle-button.d.ts +2 -1
- package/dist/components/base/calendar/components/calendar.d.ts +2 -1
- package/dist/components/base/card/components/card.d.ts +3 -2
- package/dist/components/base/dialog/components/dialog.d.ts +2 -1
- package/dist/components/base/divider/components/divider.d.ts +4 -2
- package/dist/components/base/drawer/drawer.d.ts +10 -1
- package/dist/components/base/dropdown/components/dropdown-item.d.ts +2 -1
- package/dist/components/base/dropdown/components/dropdown.d.ts +2 -1
- package/dist/components/base/graphs/circle/components/bar.d.ts +2 -1
- package/dist/components/base/graphs/circle/components/circle-graph.d.ts +2 -1
- package/dist/components/base/graphs/compare/components/bar.d.ts +2 -1
- package/dist/components/base/graphs/compare/components/compare-graph.d.ts +2 -1
- package/dist/components/base/graphs/line/components/line-graph.d.ts +2 -1
- package/dist/components/base/graphs/meter/components/meter-graph.d.ts +2 -1
- package/dist/components/base/graphs/poll/components/bar.d.ts +2 -1
- package/dist/components/base/graphs/poll/components/poll-graph.d.ts +2 -1
- package/dist/components/base/graphs/poll/components/row.d.ts +2 -1
- package/dist/components/base/graphs/transition/components/bar.d.ts +2 -1
- package/dist/components/base/graphs/transition/components/transition-graph.d.ts +2 -1
- package/dist/components/base/header/components/header.d.ts +3 -2
- package/dist/components/base/heading/components/heading.d.ts +3 -2
- package/dist/components/base/icon/components/icon.d.ts +3 -2
- package/dist/components/base/information-panel/components/information-panel.d.ts +2 -1
- package/dist/components/base/inputs/base/components/base-input.d.ts +2 -1
- package/dist/components/base/inputs/checkbox/components/checkbox.d.ts +3 -2
- package/dist/components/base/inputs/checkbox-new/components/checkbox-new.d.ts +11 -11
- package/dist/components/base/inputs/date-picker/components/date-picker.d.ts +7 -1
- package/dist/components/base/inputs/date-range-picker/components/date-range-picker.d.ts +2 -1
- package/dist/components/base/inputs/panel-switch/components/panel-switch.d.ts +4 -5
- package/dist/components/base/inputs/password/components/password-input.d.ts +10 -12
- package/dist/components/base/inputs/radio/components/radio.d.ts +2 -1
- package/dist/components/base/inputs/radio-new/components/radio-new.d.ts +11 -11
- package/dist/components/base/inputs/search-input/components/search-input.d.ts +2 -1
- package/dist/components/base/inputs/search-input/components/search-popup-panel.d.ts +2 -1
- package/dist/components/base/inputs/search-selector/components/search-selector.d.ts +2 -1
- package/dist/components/base/inputs/selectbox/components/selectbox.d.ts +2 -1
- package/dist/components/base/inputs/text/components/text-input.d.ts +2 -1
- package/dist/components/base/inputs/time-picker/components/time-picker.d.ts +4 -5
- package/dist/components/base/inputs/toggle-switch/components/toggle-switch.d.ts +4 -5
- package/dist/components/base/inputs/upload/components/upload-display.d.ts +2 -1
- package/dist/components/base/inputs/upload/components/upload-input.d.ts +2 -1
- package/dist/components/base/loading-overlay/components/loading-overlay.d.ts +3 -2
- package/dist/components/base/menu/components/menu-item.d.ts +2 -1
- package/dist/components/base/message-box/components/message-box.d.ts +6 -7
- package/dist/components/base/navigation/components/navigation-container.d.ts +3 -2
- package/dist/components/base/navigation/components/navigation-item.d.ts +3 -2
- package/dist/components/base/pagination/components/pagination.d.ts +8 -2
- package/dist/components/base/popup/components/popup.d.ts +4 -6
- package/dist/components/base/popup-button-group/components/button-item.d.ts +3 -2
- package/dist/components/base/popup-button-group/components/group-item.d.ts +3 -2
- package/dist/components/base/popup-button-group/components/popup-button-group.d.ts +3 -2
- package/dist/components/base/progress-bar/components/progress-bar.d.ts +2 -1
- package/dist/components/base/progress-bar/components/progress-line.d.ts +2 -1
- package/dist/components/base/progress-bar/components/progress-point.d.ts +2 -1
- package/dist/components/base/show-more-less/components/show-more-less.d.ts +3 -2
- package/dist/components/base/skeleton/components/skeleton-circle.d.ts +3 -2
- package/dist/components/base/skeleton/components/skeleton-text.d.ts +3 -2
- package/dist/components/base/skeleton/components/skeleton.d.ts +3 -2
- package/dist/components/base/snackbar/components/snackbar.d.ts +2 -1
- package/dist/components/base/stack/components/stack.d.ts +1 -1
- package/dist/components/base/stack/components/types.d.ts +3 -2
- package/dist/components/base/step-bar/components/step-bar.d.ts +2 -1
- package/dist/components/base/step-bar/components/step-line.d.ts +2 -1
- package/dist/components/base/step-bar/components/step-point.d.ts +2 -1
- package/dist/components/base/tab/components/tab-pane.d.ts +2 -1
- package/dist/components/base/tab/components/tab.d.ts +2 -1
- package/dist/components/base/tables/card/components/card-table.d.ts +1 -1
- package/dist/components/base/tables/card/components/card-td.d.ts +1 -1
- package/dist/components/base/tables/card/components/card-th.d.ts +1 -1
- package/dist/components/base/tables/card/components/card-tr.d.ts +1 -1
- package/dist/components/base/tables/flat/components/flat-table.d.ts +1 -1
- package/dist/components/base/tables/flat/components/flat-td.d.ts +1 -1
- package/dist/components/base/tables/flat/components/flat-th.d.ts +1 -1
- package/dist/components/base/tables/flat/components/flat-thead.d.ts +2 -1
- package/dist/components/base/tables/unstyled/components/unstyled-table.d.ts +1 -1
- package/dist/components/base/tables/unstyled/components/unstyled-td.d.ts +1 -1
- package/dist/components/base/tables/unstyled/components/unstyled-th.d.ts +1 -1
- package/dist/components/base/tables/unstyled/components/unstyled-thead.d.ts +1 -1
- package/dist/components/base/tables/unstyled/components/unstyled-tr.d.ts +2 -1
- package/dist/components/base/text/components/text.d.ts +3 -2
- package/dist/components/base/text-area/components/text-area.d.ts +9 -10
- package/dist/components/base/tooltip/components/tooltip.d.ts +3 -2
- package/dist/components/custom/chat/components/chat-card.d.ts +2 -1
- package/dist/components/custom/chat/components/chat-form.d.ts +2 -1
- package/dist/components/custom/chat/components/chat-item.d.ts +2 -1
- package/dist/components/custom/form/components/form-control.d.ts +2 -1
- package/dist/components/custom/form/components/form-group.d.ts +2 -1
- package/dist/components/custom/notification/components/notification-list.d.ts +2 -1
- package/dist/components/custom/notification/components/notification-panel.d.ts +2 -1
- package/dist/components/custom/notification/components/notification.d.ts +2 -1
- package/dist/components/custom/schedule/components/card.d.ts +4 -3
- package/dist/components/custom/schedule/components/grid.d.ts +4 -3
- package/dist/components/custom/schedule/components/schedule.d.ts +4 -3
- package/dist/components/custom/schedule/components/sheet.d.ts +4 -3
- package/dist/components/icons/add-circle.d.ts +7 -1
- package/dist/components/icons/add.d.ts +7 -1
- package/dist/components/icons/approval-filled.d.ts +7 -1
- package/dist/components/icons/arrow-drop-down.d.ts +7 -1
- package/dist/components/icons/arrow-drop-up.d.ts +7 -1
- package/dist/components/icons/arrow-right.d.ts +7 -1
- package/dist/components/icons/assignment-add.d.ts +7 -1
- package/dist/components/icons/assignment.d.ts +7 -1
- package/dist/components/icons/attach-file.d.ts +7 -1
- package/dist/components/icons/auto-renew.d.ts +7 -1
- package/dist/components/icons/book.d.ts +7 -1
- package/dist/components/icons/bright-filled.d.ts +7 -1
- package/dist/components/icons/business-center.d.ts +7 -1
- package/dist/components/icons/calendar.d.ts +7 -1
- package/dist/components/icons/camera.d.ts +7 -1
- package/dist/components/icons/cancel.d.ts +7 -1
- package/dist/components/icons/change-history.d.ts +7 -1
- package/dist/components/icons/chat-bubble-filled.d.ts +7 -1
- package/dist/components/icons/chat.d.ts +7 -1
- package/dist/components/icons/check-bold.d.ts +7 -1
- package/dist/components/icons/check-circle-filled.d.ts +7 -1
- package/dist/components/icons/check.d.ts +7 -1
- package/dist/components/icons/chevron-left-bold.d.ts +7 -1
- package/dist/components/icons/chevron-left.d.ts +7 -1
- package/dist/components/icons/chevron-right.d.ts +7 -1
- package/dist/components/icons/circle-check.d.ts +7 -1
- package/dist/components/icons/circle.d.ts +7 -1
- package/dist/components/icons/close-bold.d.ts +7 -1
- package/dist/components/icons/close.d.ts +7 -1
- package/dist/components/icons/contact-page-filled.d.ts +7 -1
- package/dist/components/icons/content-copy.d.ts +7 -1
- package/dist/components/icons/contract.d.ts +7 -1
- package/dist/components/icons/dashboard.d.ts +7 -1
- package/dist/components/icons/description.d.ts +7 -1
- package/dist/components/icons/download.d.ts +7 -1
- package/dist/components/icons/edit-note.d.ts +7 -1
- package/dist/components/icons/expand-less.d.ts +7 -1
- package/dist/components/icons/expand-more-bold.d.ts +7 -1
- package/dist/components/icons/expand-more.d.ts +7 -1
- package/dist/components/icons/eye.d.ts +7 -1
- package/dist/components/icons/groups.d.ts +7 -1
- package/dist/components/icons/help.d.ts +7 -1
- package/dist/components/icons/history.d.ts +7 -1
- package/dist/components/icons/home.d.ts +7 -1
- package/dist/components/icons/info-bold.d.ts +7 -1
- package/dist/components/icons/info.d.ts +7 -1
- package/dist/components/icons/location-city.d.ts +7 -1
- package/dist/components/icons/manage-accounts.d.ts +7 -1
- package/dist/components/icons/menu.d.ts +7 -1
- package/dist/components/icons/monitoring.d.ts +7 -1
- package/dist/components/icons/more-vert.d.ts +7 -1
- package/dist/components/icons/note-add.d.ts +7 -1
- package/dist/components/icons/notification.d.ts +7 -1
- package/dist/components/icons/open-in-new.d.ts +7 -1
- package/dist/components/icons/person-filled.d.ts +7 -1
- package/dist/components/icons/pie-chart.d.ts +7 -1
- package/dist/components/icons/pin-drop.d.ts +7 -1
- package/dist/components/icons/public.d.ts +7 -1
- package/dist/components/icons/remove-bold.d.ts +7 -1
- package/dist/components/icons/remove.d.ts +7 -1
- package/dist/components/icons/schedule.d.ts +7 -1
- package/dist/components/icons/search.d.ts +7 -1
- package/dist/components/icons/send.d.ts +7 -1
- package/dist/components/icons/settings.d.ts +7 -1
- package/dist/components/icons/smartphone.d.ts +7 -1
- package/dist/components/icons/star-filled.d.ts +7 -1
- package/dist/components/icons/stars.d.ts +7 -1
- package/dist/components/icons/store-front.d.ts +7 -1
- package/dist/components/icons/tab.d.ts +7 -1
- package/dist/components/icons/task.d.ts +7 -1
- package/dist/components/icons/timer-filled.d.ts +7 -1
- package/dist/components/icons/upload.d.ts +7 -1
- package/dist/components/icons/warning.d.ts +7 -1
- package/dist/style.css +1 -1
- package/dist/types/base-props.d.ts +5 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/wiz-ui.es.js +4674 -4005
- package/dist/wiz-ui.umd.js +27 -27
- package/package.json +2 -2
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { TIcon } from '../../../../components';
|
|
3
|
-
|
|
3
|
+
import { BaseProps } from '../../../../types';
|
|
4
|
+
export declare const WizMessageBox: import("react").ForwardRefExoticComponent<BaseProps & {
|
|
4
5
|
title: string;
|
|
5
|
-
variant?: "information" | "caution" | "warning";
|
|
6
|
-
icon?: TIcon;
|
|
7
|
-
expand?: boolean;
|
|
6
|
+
variant?: "information" | "caution" | "warning" | undefined;
|
|
7
|
+
icon?: TIcon | undefined;
|
|
8
|
+
expand?: boolean | undefined;
|
|
8
9
|
children?: ReactNode;
|
|
9
|
-
}
|
|
10
|
-
export declare const WizMessageBox: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
|
-
export {};
|
|
10
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { FC, ReactNode } from "react";
|
|
2
|
-
|
|
2
|
+
import { BaseProps } from '../../../../types';
|
|
3
|
+
type Props = BaseProps & {
|
|
3
4
|
isOpen: boolean;
|
|
4
5
|
width?: string;
|
|
5
6
|
sticky?: boolean;
|
|
6
7
|
children: ReactNode;
|
|
7
8
|
footer?: ReactNode;
|
|
8
|
-
}
|
|
9
|
+
};
|
|
9
10
|
export declare const WizNavigationContainer: FC<Props>;
|
|
10
11
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ComponentProps, ElementType } from "react";
|
|
2
2
|
import { TIcon } from '../../../../components';
|
|
3
|
+
import { BaseProps } from '../../../../types';
|
|
3
4
|
import { ButtonGroupItem } from "../../popup-button-group/types";
|
|
4
|
-
type Props<T extends ElementType> = {
|
|
5
|
+
type Props<T extends ElementType> = BaseProps & {
|
|
5
6
|
icon: TIcon;
|
|
6
7
|
label: string;
|
|
7
8
|
active: boolean;
|
|
@@ -22,7 +23,7 @@ type Props<T extends ElementType> = {
|
|
|
22
23
|
asProps: ComponentProps<T>;
|
|
23
24
|
});
|
|
24
25
|
export declare const WizNavigationItem: {
|
|
25
|
-
<T extends ElementType<any>>({ icon: Icon, label, active, disabled, tooltipText, isPopupLocking, buttons, isPopupOpen, onTogglePopup, onTogglePopupLocking, ...props }: Props<T>): JSX.Element;
|
|
26
|
+
<T extends ElementType<any>>({ className, style, icon: Icon, label, active, disabled, tooltipText, isPopupLocking, buttons, isPopupOpen, onTogglePopup, onTogglePopupLocking, ...props }: Props<T>): JSX.Element;
|
|
26
27
|
displayName: "WizNavigationItem";
|
|
27
28
|
};
|
|
28
29
|
export {};
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
import { BaseProps } from '../../../../types';
|
|
2
|
+
type Props = BaseProps & {
|
|
2
3
|
currentPage: number;
|
|
3
4
|
length: number;
|
|
4
5
|
onChangePage: (page: number) => void;
|
|
6
|
+
/**
|
|
7
|
+
* 表示ページ数を制御します。(`>=0`)
|
|
8
|
+
* @default 2
|
|
9
|
+
*/
|
|
10
|
+
sideLength: number;
|
|
5
11
|
};
|
|
6
12
|
export declare const WizPagination: {
|
|
7
|
-
({ currentPage, length, onChangePage }: Props): JSX.Element;
|
|
13
|
+
({ className, style, currentPage, length, onChangePage, sideLength, }: Props): JSX.Element;
|
|
8
14
|
displayName: "WizPagination";
|
|
9
15
|
};
|
|
10
16
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { SpacingKeys, ZIndexKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
|
-
import { ComponentProps, ReactNode, RefObject } from "react";
|
|
2
|
+
import { ComponentProps, FC, ReactNode, RefObject } from "react";
|
|
3
|
+
import { BaseProps } from '../../../../types';
|
|
3
4
|
import { DirectionKey } from "../types/direction";
|
|
4
|
-
type Props = {
|
|
5
|
+
type Props = BaseProps & {
|
|
5
6
|
isOpen: boolean;
|
|
6
7
|
onClose: () => void;
|
|
7
8
|
anchorElement: RefObject<HTMLElement>;
|
|
@@ -18,8 +19,5 @@ type Props = {
|
|
|
18
19
|
isDirectionFixed?: boolean;
|
|
19
20
|
children: ReactNode;
|
|
20
21
|
} & ComponentProps<"div">;
|
|
21
|
-
export declare const WizPopup:
|
|
22
|
-
({ isOpen, onClose, anchorElement, closeOnBlur, layer, gap, direction, shadow, animation, isDirectionFixed, children, }: Props): JSX.Element;
|
|
23
|
-
displayName: "WizPopup";
|
|
24
|
-
};
|
|
22
|
+
export declare const WizPopup: FC<Props>;
|
|
25
23
|
export {};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
+
import { BaseProps } from '../../../../types';
|
|
2
3
|
import { ButtonItem as ButtonItemType } from "../types";
|
|
3
|
-
|
|
4
|
+
type Props = BaseProps & {
|
|
4
5
|
item: ButtonItemType;
|
|
5
6
|
disabled: boolean;
|
|
6
7
|
depth: number;
|
|
7
|
-
}
|
|
8
|
+
};
|
|
8
9
|
export declare const ButtonItem: FC<Props>;
|
|
9
10
|
export {};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
+
import { BaseProps } from '../../../../types';
|
|
2
3
|
import { GroupItem as GroupItemType } from "../types";
|
|
3
|
-
|
|
4
|
+
type Props = BaseProps & {
|
|
4
5
|
item: GroupItemType;
|
|
5
6
|
disabled: boolean;
|
|
6
7
|
depth: number;
|
|
7
|
-
}
|
|
8
|
+
};
|
|
8
9
|
export declare const GroupItem: FC<Props>;
|
|
9
10
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { SpacingKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
2
|
import { FC } from "react";
|
|
3
|
+
import { BaseProps } from '../../../../types';
|
|
3
4
|
import { ButtonGroupItem } from "../types";
|
|
4
|
-
|
|
5
|
+
type Props = BaseProps & {
|
|
5
6
|
options: ButtonGroupItem[];
|
|
6
7
|
width?: string;
|
|
7
8
|
p?: SpacingKeys;
|
|
@@ -11,6 +12,6 @@ interface Props {
|
|
|
11
12
|
groupDivider?: boolean;
|
|
12
13
|
buttonDivider?: boolean;
|
|
13
14
|
depth?: number;
|
|
14
|
-
}
|
|
15
|
+
};
|
|
15
16
|
export declare const WizPopupButtonGroup: FC<Props>;
|
|
16
17
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FC, ReactNode } from "react";
|
|
2
|
-
|
|
2
|
+
import { BaseProps } from '../../../../types';
|
|
3
|
+
type Props = BaseProps & {
|
|
3
4
|
isOpen: boolean;
|
|
4
5
|
openMessage?: string;
|
|
5
6
|
closeMessage?: string;
|
|
@@ -7,6 +8,6 @@ interface Props {
|
|
|
7
8
|
variant?: "pc" | "mobile";
|
|
8
9
|
onToggle: () => void;
|
|
9
10
|
children: ReactNode;
|
|
10
|
-
}
|
|
11
|
+
};
|
|
11
12
|
export declare const WizShowMoreLess: FC<Props>;
|
|
12
13
|
export {};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
|
|
2
|
+
import { BaseProps } from '../../../../types';
|
|
3
|
+
type Props = BaseProps & {
|
|
3
4
|
size: string;
|
|
4
5
|
isLoading?: boolean;
|
|
5
6
|
children?: ReactNode;
|
|
6
7
|
};
|
|
7
8
|
export declare const WizSkeletonCircle: {
|
|
8
|
-
({ size, isLoading, children, }: Props): JSX.Element;
|
|
9
|
+
({ className, style, size, isLoading, children, }: Props): JSX.Element;
|
|
9
10
|
displayName: "WizSkeletonCircle";
|
|
10
11
|
};
|
|
11
12
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FontSizeKeys, SpacingKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
|
|
3
|
+
import { BaseProps } from '../../../../types';
|
|
4
|
+
type Props = BaseProps & {
|
|
4
5
|
fontSize?: FontSizeKeys;
|
|
5
6
|
gap?: SpacingKeys;
|
|
6
7
|
lines?: number;
|
|
@@ -8,7 +9,7 @@ type Props = {
|
|
|
8
9
|
children?: ReactNode;
|
|
9
10
|
};
|
|
10
11
|
export declare const WizSkeletonText: {
|
|
11
|
-
({ fontSize, gap, lines, isLoading, children, }: Props): JSX.Element;
|
|
12
|
+
({ className, style, fontSize, gap, lines, isLoading, children, }: Props): JSX.Element;
|
|
12
13
|
displayName: "WizSkeletonText";
|
|
13
14
|
};
|
|
14
15
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SpacingKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
|
|
3
|
+
import { BaseProps } from '../../../../types';
|
|
4
|
+
type Props = BaseProps & {
|
|
4
5
|
width?: string;
|
|
5
6
|
height?: string;
|
|
6
7
|
borderRadius?: SpacingKeys;
|
|
@@ -8,7 +9,7 @@ type Props = {
|
|
|
8
9
|
children?: ReactNode;
|
|
9
10
|
};
|
|
10
11
|
export declare const WizSkeleton: {
|
|
11
|
-
({ width, height, borderRadius, isLoading, children, }: Props): JSX.Element;
|
|
12
|
+
({ className, style, width, height, borderRadius, isLoading, children, }: Props): JSX.Element;
|
|
12
13
|
displayName: "WizSkeleton";
|
|
13
14
|
};
|
|
14
15
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { StackProps } from '../../../../components/base/stack/components/types';
|
|
2
|
-
export declare const WizStack: import("react").MemoExoticComponent<({ direction, align, justify, nowrap, width, height, overflow, gap, gx, gy, p, pt, pr, pb, pl, px, py, m, mt, mr, mb, ml, mx, my, reverse, position, ...props }: StackProps) => JSX.Element>;
|
|
2
|
+
export declare const WizStack: import("react").MemoExoticComponent<({ className, style, direction, align, justify, nowrap, width, height, overflow, gap, gx, gy, p, pt, pr, pb, pl, px, py, m, mt, mr, mb, ml, mx, my, reverse, position, ...props }: StackProps) => JSX.Element>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SpacingKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
import { BaseProps } from '../../../../types';
|
|
4
|
+
export type StackProps = BaseProps & {
|
|
4
5
|
direction?: "horizontal" | "vertical";
|
|
5
6
|
align?: "start" | "center" | "end" | "stretch";
|
|
6
7
|
justify?: "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { SpacingKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
2
|
import { FC } from "react";
|
|
3
|
+
import { BaseProps } from '../../../../types';
|
|
3
4
|
import { TabItem } from "./types";
|
|
4
|
-
type Props = {
|
|
5
|
+
type Props = BaseProps & {
|
|
5
6
|
activeTabName: string;
|
|
6
7
|
items: TabItem[];
|
|
7
8
|
gap?: SpacingKeys;
|
|
@@ -5,7 +5,7 @@ type Props = {
|
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
} & ComponentProps<"table">;
|
|
7
7
|
export declare const WizCardTable: {
|
|
8
|
-
({ fixed, width, children, ...props }: Props): JSX.Element;
|
|
8
|
+
({ className, style, fixed, width, children, ...props }: Props): JSX.Element;
|
|
9
9
|
displayName: "WizCardTable";
|
|
10
10
|
};
|
|
11
11
|
export {};
|
|
@@ -4,7 +4,7 @@ type Props = {
|
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
} & ComponentProps<"th">;
|
|
6
6
|
export declare const WizCardTh: {
|
|
7
|
-
({ width, children, ...props }: Props): JSX.Element;
|
|
7
|
+
({ className, style, width, children, ...props }: Props): JSX.Element;
|
|
8
8
|
displayName: "WizCardTh";
|
|
9
9
|
};
|
|
10
10
|
export {};
|
|
@@ -5,7 +5,7 @@ type Props = {
|
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
} & ComponentProps<"table">;
|
|
7
7
|
export declare const WizFlatTable: {
|
|
8
|
-
({ fixed, width, children, ...props }: Props): JSX.Element;
|
|
8
|
+
({ className, style, fixed, width, children, ...props }: Props): JSX.Element;
|
|
9
9
|
displayName: "WizFlatTable";
|
|
10
10
|
};
|
|
11
11
|
export {};
|
|
@@ -5,7 +5,7 @@ type Props = {
|
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
} & ComponentProps<"td">;
|
|
7
7
|
export declare const WizFlatTd: {
|
|
8
|
-
({ align, fontSize, children, ...props }: Props): JSX.Element;
|
|
8
|
+
({ className, style, align, fontSize, children, ...props }: Props): JSX.Element;
|
|
9
9
|
displayName: "WizFlatTd";
|
|
10
10
|
};
|
|
11
11
|
export {};
|
|
@@ -6,7 +6,7 @@ type Props = {
|
|
|
6
6
|
children?: ReactNode;
|
|
7
7
|
} & ComponentProps<"th">;
|
|
8
8
|
export declare const WizFlatTh: {
|
|
9
|
-
({ width, scope, fontSize, children, ...props }: Props): JSX.Element;
|
|
9
|
+
({ className, style, width, scope, fontSize, children, ...props }: Props): JSX.Element;
|
|
10
10
|
displayName: "WizFlatTh";
|
|
11
11
|
};
|
|
12
12
|
export {};
|
|
@@ -10,7 +10,7 @@ type Props = {
|
|
|
10
10
|
children?: ReactNode;
|
|
11
11
|
} & ComponentProps<"table">;
|
|
12
12
|
export declare const WizUnstyledTable: {
|
|
13
|
-
({ space, spaceX, spaceY, fixed, width, borderCollapse, children, ...props }: Props): JSX.Element;
|
|
13
|
+
({ className, style, space, spaceX, spaceY, fixed, width, borderCollapse, children, ...props }: Props): JSX.Element;
|
|
14
14
|
displayName: "WizUnstyledTable";
|
|
15
15
|
};
|
|
16
16
|
export {};
|
|
@@ -4,7 +4,7 @@ type Props = {
|
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
} & ComponentProps<"td">;
|
|
6
6
|
export declare const WizUnstyledTd: {
|
|
7
|
-
({ align, children, ...props }: Props): JSX.Element;
|
|
7
|
+
({ className, align, children, ...props }: Props): JSX.Element;
|
|
8
8
|
displayName: "WizUnstyledTd";
|
|
9
9
|
};
|
|
10
10
|
export {};
|
|
@@ -5,7 +5,7 @@ type Props = {
|
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
} & ComponentProps<"th">;
|
|
7
7
|
export declare const WizUnstyledTh: {
|
|
8
|
-
({ width, divider, children, ...props }: Props): JSX.Element;
|
|
8
|
+
({ className, style, width, divider, children, ...props }: Props): JSX.Element;
|
|
9
9
|
displayName: "WizUnstyledTh";
|
|
10
10
|
};
|
|
11
11
|
export {};
|
|
@@ -4,7 +4,7 @@ type Props = {
|
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
} & ComponentProps<"thead">;
|
|
6
6
|
export declare const WizUnstyledThead: {
|
|
7
|
-
({ divider, children, ...props }: Props): JSX.Element;
|
|
7
|
+
({ className, divider, children, ...props }: Props): JSX.Element;
|
|
8
8
|
displayName: "WizUnstyledThead";
|
|
9
9
|
};
|
|
10
10
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ColorKeys, FontSizeKeys, WhiteSpaceKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
|
|
3
|
+
import { BaseProps } from '../../../../types';
|
|
4
|
+
type Props = BaseProps & {
|
|
4
5
|
as?: "p" | "span" | "label";
|
|
5
6
|
htmlFor?: string;
|
|
6
7
|
color?: ColorKeys;
|
|
@@ -21,7 +22,7 @@ type Props = {
|
|
|
21
22
|
children?: ReactNode;
|
|
22
23
|
};
|
|
23
24
|
export declare const WizText: import("react").MemoExoticComponent<{
|
|
24
|
-
({ as, htmlFor, color, fontSize, lineHeight, bold, maxLines, whiteSpace, isBlurred, breakAll, textAlign, lineThrough, display, children, }: Props): JSX.Element;
|
|
25
|
+
({ className, style, as, htmlFor, color, fontSize, lineHeight, bold, maxLines, whiteSpace, isBlurred, breakAll, textAlign, lineThrough, display, children, }: Props): JSX.Element;
|
|
25
26
|
displayName: "WizText";
|
|
26
27
|
}>;
|
|
27
28
|
export {};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { BaseProps } from '../../../../types';
|
|
2
|
+
export declare const WizTextArea: import("react").ForwardRefExoticComponent<BaseProps & {
|
|
3
|
+
id?: string | undefined;
|
|
3
4
|
value: string;
|
|
4
|
-
placeholder?: string;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
expand?: boolean;
|
|
7
|
-
rows?: number;
|
|
8
|
-
error?: boolean;
|
|
5
|
+
placeholder?: string | undefined;
|
|
6
|
+
disabled?: boolean | undefined;
|
|
7
|
+
expand?: boolean | undefined;
|
|
8
|
+
rows?: number | undefined;
|
|
9
|
+
error?: boolean | undefined;
|
|
9
10
|
onChange: (value: string) => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const WizTextArea: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
12
|
-
export {};
|
|
11
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { FC, ReactNode } from "react";
|
|
2
|
-
|
|
2
|
+
import { BaseProps } from '../../../../types';
|
|
3
|
+
type Props = BaseProps & {
|
|
3
4
|
direction?: "top" | "bottom" | "left" | "right";
|
|
4
5
|
isOpen?: boolean;
|
|
5
6
|
isDirectionFixed?: boolean;
|
|
6
7
|
children: ReactNode;
|
|
7
8
|
content: ReactNode;
|
|
8
|
-
}
|
|
9
|
+
};
|
|
9
10
|
export declare const WizTooltip: FC<Props>;
|
|
10
11
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ComponentProps, FC } from "react";
|
|
2
2
|
import { WizSelectBox } from '../../../../components';
|
|
3
|
+
import { BaseProps } from '../../../../types';
|
|
3
4
|
import { Message } from "./types";
|
|
4
|
-
type Props = {
|
|
5
|
+
type Props = BaseProps & {
|
|
5
6
|
textValue: string;
|
|
6
7
|
username: string;
|
|
7
8
|
placeholder?: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ColorKeys, FontSizeKeys, SpacingKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
2
|
import { FC, ReactNode } from "react";
|
|
3
|
-
|
|
3
|
+
import { BaseProps } from '../../../../types';
|
|
4
|
+
type Props = BaseProps & {
|
|
4
5
|
labelWidth?: string;
|
|
5
6
|
labelColor?: ColorKeys;
|
|
6
7
|
labelFontSize?: FontSizeKeys;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
+
import { BaseProps } from '../../../../types';
|
|
2
3
|
import { NotificationItem, NotificationTabItem } from "./types";
|
|
3
|
-
type Props = {
|
|
4
|
+
type Props = BaseProps & {
|
|
4
5
|
tabs: NotificationTabItem[];
|
|
5
6
|
notifications: NotificationItem[];
|
|
6
7
|
height?: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { BaseProps } from '../../../../types';
|
|
1
2
|
import { ScheduleCardVariant } from "../types";
|
|
2
|
-
|
|
3
|
+
type Props = BaseProps & {
|
|
3
4
|
id: string;
|
|
4
5
|
variant?: ScheduleCardVariant;
|
|
5
6
|
text: string;
|
|
@@ -7,9 +8,9 @@ interface Props {
|
|
|
7
8
|
gridColumn: string;
|
|
8
9
|
show?: boolean;
|
|
9
10
|
onScheduleClick?: (id: string) => void;
|
|
10
|
-
}
|
|
11
|
+
};
|
|
11
12
|
export declare const WizScheduleCard: {
|
|
12
|
-
({ id, variant, text, gridRow, gridColumn, show, onScheduleClick, }: Props): JSX.Element;
|
|
13
|
+
({ className, style, id, variant, text, gridRow, gridColumn, show, onScheduleClick, }: Props): JSX.Element;
|
|
13
14
|
displayName: "WizScheduleCard";
|
|
14
15
|
};
|
|
15
16
|
export {};
|