@wizleap-inc/wiz-ui-react 0.36.0 → 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 +2 -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 +2 -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 +3 -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 +4442 -3782
- package/dist/wiz-ui.umd.js +27 -27
- package/package.json +2 -2
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ColorKeys, FontSizeKeys, FontWeightKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
2
|
import { ComponentProps, ElementType, ReactNode } from "react";
|
|
3
3
|
import { TIcon } from '../../../../components';
|
|
4
|
-
|
|
4
|
+
import { BaseProps } from '../../../../types';
|
|
5
|
+
type Props<T extends ElementType> = BaseProps & {
|
|
5
6
|
color?: ColorKeys;
|
|
6
7
|
fontSize?: FontSizeKeys;
|
|
7
8
|
fontWeight?: FontWeightKeys;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ColorKeys, SpacingKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
|
-
|
|
3
|
+
import { BaseProps } from '../../../../types';
|
|
4
|
+
type Props = BaseProps & {
|
|
4
5
|
src: string;
|
|
5
6
|
size?: SpacingKeys;
|
|
6
7
|
color?: ColorKeys;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ColorKeys, 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
|
label?: string;
|
|
5
6
|
hidden?: boolean;
|
|
6
7
|
color?: ColorKeys;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ColorKeys, ShadowKeys, SpacingKeys, ZIndexKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
2
|
import { ComponentProps, ReactNode } from "react";
|
|
3
|
-
|
|
3
|
+
import { BaseProps } from '../../../../types';
|
|
4
|
+
type Props = BaseProps & {
|
|
4
5
|
position?: "absolute" | "relative" | "fixed" | "sticky" | "static";
|
|
5
6
|
top?: string;
|
|
6
7
|
right?: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
2
|
import { TIcon } from '../../../../../components';
|
|
3
|
-
|
|
3
|
+
import { BaseProps } from '../../../../../types';
|
|
4
|
+
type Props = BaseProps & {
|
|
4
5
|
icon: TIcon;
|
|
5
6
|
variant?: "primary" | "sub" | "transparent" | "link";
|
|
6
7
|
disabled?: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ComponentProps, ReactNode } from "react";
|
|
2
2
|
import { TIcon } from '../../../../../components';
|
|
3
|
-
|
|
3
|
+
import { BaseProps } from '../../../../../types';
|
|
4
|
+
type Props = BaseProps & {
|
|
4
5
|
variant?: "primary" | "sub";
|
|
5
6
|
disabled?: boolean;
|
|
6
7
|
rounded?: boolean;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { SpacingKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
2
|
import { ComponentProps, ReactNode } from "react";
|
|
3
3
|
import { TIcon } from '../../../../../components';
|
|
4
|
-
|
|
4
|
+
import { BaseProps } from '../../../../../types';
|
|
5
|
+
type Props = BaseProps & {
|
|
5
6
|
clickable?: boolean;
|
|
6
7
|
active?: boolean;
|
|
7
8
|
hover?: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ComponentProps, ReactNode } from "react";
|
|
2
2
|
import { TIcon } from '../../../../../components';
|
|
3
|
-
|
|
3
|
+
import { BaseProps } from '../../../../../types';
|
|
4
|
+
type Props = BaseProps & {
|
|
4
5
|
isActive: boolean;
|
|
5
6
|
inactiveIcon: TIcon;
|
|
6
7
|
activeIcon: TIcon;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ColorKeys, SpacingKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
2
|
import { ComponentProps, ReactNode } from "react";
|
|
3
|
-
|
|
3
|
+
import { BaseProps } from '../../../../types';
|
|
4
|
+
type Props = BaseProps & {
|
|
4
5
|
p?: SpacingKeys;
|
|
5
6
|
px?: SpacingKeys;
|
|
6
7
|
py?: SpacingKeys;
|
|
@@ -17,7 +18,7 @@ type Props = {
|
|
|
17
18
|
footerArea?: ReactNode;
|
|
18
19
|
} & ComponentProps<"div">;
|
|
19
20
|
export declare const WizCard: {
|
|
20
|
-
({ p, px, py, backgroundColor, shadow, border, align, fit, maxWidth, gap, children, mainHeaderArea, subHeaderArea, footerArea, ...props }: Props): JSX.Element;
|
|
21
|
+
({ className, style, p, px, py, backgroundColor, shadow, border, align, fit, maxWidth, gap, children, mainHeaderArea, subHeaderArea, footerArea, ...props }: Props): JSX.Element;
|
|
21
22
|
displayName: "WizCard";
|
|
22
23
|
};
|
|
23
24
|
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ColorKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
|
-
|
|
2
|
+
import { BaseProps } from '../../../../types';
|
|
3
|
+
type Props = BaseProps & {
|
|
3
4
|
color?: ColorKeys;
|
|
4
5
|
variant?: "solid" | "dashed" | "dotted";
|
|
5
6
|
direction?: "horizontal" | "vertical";
|
|
6
7
|
};
|
|
7
|
-
export declare const WizDivider: import("react").MemoExoticComponent<({ color, variant, direction, }: Props) => JSX.Element>;
|
|
8
|
+
export declare const WizDivider: import("react").MemoExoticComponent<({ className, style, color, variant, direction, }: Props) => JSX.Element>;
|
|
9
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FC, MouseEventHandler, ReactNode } from "react";
|
|
2
2
|
import { TIcon } from '../../../../components/icons';
|
|
3
|
-
|
|
3
|
+
import { BaseProps } from '../../../../types';
|
|
4
|
+
type Props = BaseProps & {
|
|
4
5
|
icon?: TIcon;
|
|
5
6
|
disabled?: boolean;
|
|
6
7
|
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactNode } from "react";
|
|
2
2
|
import { WizPopup } from '../../../../components';
|
|
3
|
-
|
|
3
|
+
import { BaseProps } from '../../../../types';
|
|
4
|
+
type Props = BaseProps & {
|
|
4
5
|
isOpen: boolean;
|
|
5
6
|
children: ReactNode;
|
|
6
7
|
options: ReactNode;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
+
import { BaseProps } from '../../../../../types';
|
|
2
3
|
type PollGraphData = {
|
|
3
4
|
innerLabel: string;
|
|
4
5
|
label: string;
|
|
5
6
|
percentage: number;
|
|
6
7
|
};
|
|
7
|
-
type Props = {
|
|
8
|
+
type Props = BaseProps & {
|
|
8
9
|
data: PollGraphData[];
|
|
9
10
|
rowCount?: number;
|
|
10
11
|
labelWidth?: string;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { FC, ReactNode } from "react";
|
|
2
|
+
import { BaseProps } from '../../../../../types';
|
|
2
3
|
type TransitionGraphData = {
|
|
3
4
|
label: string;
|
|
4
5
|
frequency: number;
|
|
5
6
|
};
|
|
6
|
-
type Props = {
|
|
7
|
+
type Props = BaseProps & {
|
|
7
8
|
data: TransitionGraphData[];
|
|
8
9
|
children?: ReactNode;
|
|
9
10
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { 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
|
gapLeft?: SpacingKeys;
|
|
5
6
|
gapRight?: SpacingKeys;
|
|
6
7
|
sticky?: boolean;
|
|
7
8
|
leftContent?: ReactNode;
|
|
8
9
|
rightContent?: ReactNode;
|
|
9
10
|
onToggle: () => void;
|
|
10
|
-
}
|
|
11
|
+
};
|
|
11
12
|
export declare const WizHeader: FC<Props>;
|
|
12
13
|
export {};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ColorKeys, FontSizeKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
2
|
import { FC, ReactNode } from "react";
|
|
3
3
|
export type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
4
|
-
|
|
4
|
+
import { BaseProps } from '../../../../types';
|
|
5
|
+
type Props = BaseProps & {
|
|
5
6
|
level?: HeadingLevel;
|
|
6
7
|
color?: ColorKeys;
|
|
7
8
|
fontSize?: FontSizeKeys;
|
|
8
9
|
children: ReactNode;
|
|
9
|
-
}
|
|
10
|
+
};
|
|
10
11
|
export declare const WizHeading: FC<Props>;
|
|
11
12
|
export {};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ColorKeys, FontSizeKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
2
|
import { TIcon } from '../../../../components/icons';
|
|
3
|
-
|
|
3
|
+
import { BaseProps } from '../../../../types';
|
|
4
|
+
type Props = BaseProps & {
|
|
4
5
|
icon: TIcon;
|
|
5
6
|
color?: ColorKeys | "inherit";
|
|
6
7
|
size?: FontSizeKeys;
|
|
7
8
|
};
|
|
8
|
-
export declare const WizIcon: import("react").MemoExoticComponent<({ color, size, ...props }: Props) => JSX.Element>;
|
|
9
|
+
export declare const WizIcon: import("react").MemoExoticComponent<({ className, style, color, size, ...props }: Props) => JSX.Element>;
|
|
9
10
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { SpacingKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
|
-
import {
|
|
2
|
+
import { FC } from "react";
|
|
3
|
+
import { BaseProps } from '../../../../../types';
|
|
3
4
|
import { CheckBoxOption } from "./types";
|
|
4
|
-
type Props =
|
|
5
|
+
type Props = BaseProps & {
|
|
5
6
|
options: CheckBoxOption[];
|
|
6
7
|
values: number[];
|
|
7
8
|
disabled?: boolean;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ChangeEvent, ComponentProps, ReactNode } from "react";
|
|
2
|
+
import { BaseProps } from '../../../../../types';
|
|
2
3
|
type InputProps = ComponentProps<"input">;
|
|
3
|
-
|
|
4
|
-
checked?: boolean;
|
|
4
|
+
export declare const WizCheckBoxNew: import("react").ForwardRefExoticComponent<BaseProps & {
|
|
5
|
+
checked?: boolean | undefined;
|
|
5
6
|
value?: InputProps["value"];
|
|
6
|
-
id?: string;
|
|
7
|
-
name?: string;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
strikeThrough?: boolean;
|
|
10
|
-
bordered?: boolean;
|
|
11
|
-
error?: boolean;
|
|
7
|
+
id?: string | undefined;
|
|
8
|
+
name?: string | undefined;
|
|
9
|
+
disabled?: boolean | undefined;
|
|
10
|
+
strikeThrough?: boolean | undefined;
|
|
11
|
+
bordered?: boolean | undefined;
|
|
12
|
+
error?: boolean | undefined;
|
|
12
13
|
children?: ReactNode;
|
|
13
|
-
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
14
|
-
}
|
|
15
|
-
export declare const WizCheckBoxNew: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
|
|
14
|
+
onChange?: ((e: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
15
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
16
16
|
export {};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { BaseProps } from '../../../../../types';
|
|
1
3
|
import { PanelItems } from "./type";
|
|
2
|
-
type Props = {
|
|
4
|
+
type Props = BaseProps & {
|
|
3
5
|
value: number | null;
|
|
4
6
|
items: PanelItems[];
|
|
5
7
|
onChange: (value: number) => void;
|
|
6
8
|
};
|
|
7
|
-
export declare const WizPanelSwitch:
|
|
8
|
-
({ value, items, onChange }: Props): JSX.Element;
|
|
9
|
-
displayName: "WizPanelSwitch";
|
|
10
|
-
};
|
|
9
|
+
export declare const WizPanelSwitch: FC<Props>;
|
|
11
10
|
export {};
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
id?: string;
|
|
1
|
+
import { BaseProps } from '../../../../../types';
|
|
2
|
+
export declare const WizPasswordInput: import("react").ForwardRefExoticComponent<BaseProps & {
|
|
3
|
+
id?: string | undefined;
|
|
4
4
|
value: string;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
expand?: boolean;
|
|
8
|
-
width?: string;
|
|
9
|
-
autocomplete?:
|
|
10
|
-
error?: boolean;
|
|
5
|
+
placeholder?: string | undefined;
|
|
6
|
+
disabled?: boolean | undefined;
|
|
7
|
+
expand?: boolean | undefined;
|
|
8
|
+
width?: string | undefined;
|
|
9
|
+
autocomplete?: "newPassword" | "currentPassword" | undefined;
|
|
10
|
+
error?: boolean | undefined;
|
|
11
11
|
onChange: (value: string) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare const WizPasswordInput: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
|
|
14
|
-
export {};
|
|
12
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -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 { RadioOption } from "./types";
|
|
4
|
-
type Props = {
|
|
5
|
+
type Props = BaseProps & {
|
|
5
6
|
options: RadioOption[];
|
|
6
7
|
value: number | null;
|
|
7
8
|
name?: string;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ChangeEvent, ComponentProps, ReactNode } from "react";
|
|
2
2
|
type InputProps = ComponentProps<"input">;
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import { BaseProps } from '../../../../../types';
|
|
4
|
+
export declare const WizRadioNew: import("react").ForwardRefExoticComponent<BaseProps & {
|
|
5
|
+
checked?: boolean | undefined;
|
|
5
6
|
value?: InputProps["value"];
|
|
6
|
-
id?: string;
|
|
7
|
-
name?: string;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
strikeThrough?: boolean;
|
|
10
|
-
bordered?: boolean;
|
|
11
|
-
error?: boolean;
|
|
7
|
+
id?: string | undefined;
|
|
8
|
+
name?: string | undefined;
|
|
9
|
+
disabled?: boolean | undefined;
|
|
10
|
+
strikeThrough?: boolean | undefined;
|
|
11
|
+
bordered?: boolean | undefined;
|
|
12
|
+
error?: boolean | undefined;
|
|
12
13
|
children?: ReactNode;
|
|
13
|
-
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
14
|
-
}
|
|
15
|
-
export declare const WizRadioNew: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
|
|
14
|
+
onChange?: ((e: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
15
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
16
16
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
import { TIcon } from '../../../../../components';
|
|
3
|
+
import { BaseProps } from '../../../../../types';
|
|
3
4
|
import { SearchInputOption } from "./types";
|
|
4
|
-
type Props = {
|
|
5
|
+
type Props = BaseProps & {
|
|
5
6
|
options: SearchInputOption[];
|
|
6
7
|
values: number[];
|
|
7
8
|
name?: string;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
+
import { BaseProps } from '../../../../../types';
|
|
2
3
|
type SelectBoxOption = {
|
|
3
4
|
label: string;
|
|
4
5
|
exLabel?: string;
|
|
5
6
|
value: number;
|
|
6
7
|
};
|
|
7
|
-
type Props = {
|
|
8
|
+
type Props = BaseProps & {
|
|
8
9
|
options: SelectBoxOption[];
|
|
9
10
|
value: number | null;
|
|
10
11
|
placeholder?: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
2
|
import { TIcon } from '../../../../../components';
|
|
3
3
|
import { PrivateBaseInput } from '../../../../../components/base/inputs/base';
|
|
4
|
+
import { BaseProps } from '../../../../../types';
|
|
4
5
|
type PrivateBaseInputProps = ComponentProps<typeof PrivateBaseInput>;
|
|
5
|
-
|
|
6
|
+
type Props = BaseProps & {
|
|
6
7
|
icon?: TIcon;
|
|
7
8
|
onChangeValue?: (value: string) => void;
|
|
8
9
|
} & Omit<PrivateBaseInputProps, "type">;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { BaseProps } from '../../../../../types';
|
|
1
3
|
import { Time } from "../types/time";
|
|
2
|
-
type Props = {
|
|
4
|
+
type Props = BaseProps & {
|
|
3
5
|
time: Time | null;
|
|
4
6
|
placeholder?: string;
|
|
5
7
|
width?: string;
|
|
@@ -8,8 +10,5 @@ type Props = {
|
|
|
8
10
|
error?: boolean;
|
|
9
11
|
onChange: (time: Time | null) => void;
|
|
10
12
|
};
|
|
11
|
-
export declare const WizTimePicker:
|
|
12
|
-
({ time, placeholder, width, disabled, isDirectionFixed, error, onChange, }: Props): JSX.Element;
|
|
13
|
-
displayName: "WizTimePicker";
|
|
14
|
-
};
|
|
13
|
+
export declare const WizTimePicker: FC<Props>;
|
|
15
14
|
export {};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { BaseProps } from '../../../../../types';
|
|
3
|
+
type Props = BaseProps & {
|
|
2
4
|
value: boolean;
|
|
3
5
|
ariaLabel: string;
|
|
4
6
|
setValue: (value: boolean) => void;
|
|
5
7
|
};
|
|
6
|
-
export declare const WizToggleSwitch:
|
|
7
|
-
({ value, ariaLabel, ...props }: Props): JSX.Element;
|
|
8
|
-
displayName: "WizToggleSwitch";
|
|
9
|
-
};
|
|
8
|
+
export declare const WizToggleSwitch: FC<Props>;
|
|
10
9
|
export {};
|