@wizleap-inc/wiz-ui-react 0.16.0 → 0.16.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/dist/components/base/index.d.ts +0 -2
- package/dist/components/base/inputs/index.d.ts +0 -3
- package/dist/components/base/popup/utils/wrap.d.ts +1 -4
- package/dist/components/custom/index.d.ts +0 -2
- package/dist/style.css +1 -1
- package/dist/wiz-ui.es.js +2250 -3139
- package/dist/wiz-ui.umd.js +25 -25
- package/package.json +3 -3
- package/dist/components/base/inputs/selectbox/components/index.d.ts +0 -1
- package/dist/components/base/inputs/selectbox/components/selectbox.d.ts +0 -19
- package/dist/components/base/inputs/selectbox/index.d.ts +0 -1
- package/dist/components/base/inputs/time-picker/components/index.d.ts +0 -1
- package/dist/components/base/inputs/time-picker/components/time-picker.d.ts +0 -15
- package/dist/components/base/inputs/time-picker/index.d.ts +0 -1
- package/dist/components/base/inputs/time-picker/types/time.d.ts +0 -6
- package/dist/components/base/inputs/upload/components/index.d.ts +0 -2
- package/dist/components/base/inputs/upload/components/upload-display.d.ts +0 -12
- package/dist/components/base/inputs/upload/components/upload-input.d.ts +0 -7
- package/dist/components/base/inputs/upload/index.d.ts +0 -1
- package/dist/components/base/navigation/components/index.d.ts +0 -2
- package/dist/components/base/navigation/components/navigation-container.d.ts +0 -10
- package/dist/components/base/navigation/components/navigation-item.d.ts +0 -18
- package/dist/components/base/navigation/index.d.ts +0 -1
- package/dist/components/base/snackbar/components/index.d.ts +0 -3
- package/dist/components/base/snackbar/components/snackbar-context.d.ts +0 -6
- package/dist/components/base/snackbar/components/snackbar-provider.d.ts +0 -4
- package/dist/components/base/snackbar/components/snackbar.d.ts +0 -9
- package/dist/components/base/snackbar/index.d.ts +0 -1
- package/dist/components/custom/form/components/form-control.d.ts +0 -10
- package/dist/components/custom/form/components/form-group-context.d.ts +0 -8
- package/dist/components/custom/form/components/form-group.d.ts +0 -11
- package/dist/components/custom/form/components/index.d.ts +0 -2
- package/dist/components/custom/form/index.d.ts +0 -1
- package/dist/components/custom/notification/components/index.d.ts +0 -3
- package/dist/components/custom/notification/components/notification-list.d.ts +0 -11
- package/dist/components/custom/notification/components/notification-panel.d.ts +0 -12
- package/dist/components/custom/notification/components/notification.d.ts +0 -11
- package/dist/components/custom/notification/components/types.d.ts +0 -20
- package/dist/components/custom/notification/index.d.ts +0 -1
- /package/dist/components/custom/form/{components/form-control-context.d.ts → form-control-context.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wizleap-inc/wiz-ui-react",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2",
|
|
4
4
|
"description": "A React UI Framework for Wizleap Inc.",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@storybook/react": "^7.0.2",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"react": "^18.2.0",
|
|
27
27
|
"react-dom": "^18.2.0",
|
|
28
28
|
"@wizleap-inc/wiz-ui-constants": "0.8.0",
|
|
29
|
-
"@wizleap-inc/wiz-ui-
|
|
30
|
-
"@wizleap-inc/wiz-ui-
|
|
29
|
+
"@wizleap-inc/wiz-ui-utils": "0.3.0",
|
|
30
|
+
"@wizleap-inc/wiz-ui-styles": "0.11.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "tsc --noEmit && vite build",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { WizSelectBox } from "./selectbox";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
type SelectBoxOption = {
|
|
3
|
-
label: string;
|
|
4
|
-
exLabel?: string;
|
|
5
|
-
value: number;
|
|
6
|
-
};
|
|
7
|
-
type Props = {
|
|
8
|
-
options: SelectBoxOption[];
|
|
9
|
-
value: number | null;
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
width?: string;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
expand?: boolean;
|
|
14
|
-
error?: boolean;
|
|
15
|
-
isDirectionFixed?: boolean;
|
|
16
|
-
onChange: (value: number | null) => void;
|
|
17
|
-
};
|
|
18
|
-
export declare const WizSelectBox: FC<Props>;
|
|
19
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./components";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./time-picker";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Time } from "../types/time";
|
|
2
|
-
type Props = {
|
|
3
|
-
time: Time | null;
|
|
4
|
-
placeholder?: string;
|
|
5
|
-
width?: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
isDirectionFixed?: boolean;
|
|
8
|
-
error?: boolean;
|
|
9
|
-
onChange: (time: Time | null) => void;
|
|
10
|
-
};
|
|
11
|
-
export declare const WizTimePicker: {
|
|
12
|
-
({ time, placeholder, width, disabled, isDirectionFixed, error, onChange, }: Props): JSX.Element;
|
|
13
|
-
displayName: "WizTimePicker";
|
|
14
|
-
};
|
|
15
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./components";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const HOURS: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23];
|
|
2
|
-
export declare const MINUTES: readonly [0, 15, 30, 45];
|
|
3
|
-
export type Time = {
|
|
4
|
-
hour: (typeof HOURS)[number];
|
|
5
|
-
minute: (typeof MINUTES)[number];
|
|
6
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
type Props = {
|
|
3
|
-
files: File[];
|
|
4
|
-
uploadingFileCount: number;
|
|
5
|
-
completedFileCount: number;
|
|
6
|
-
progress: number;
|
|
7
|
-
isUploaded: boolean;
|
|
8
|
-
isUploading: boolean;
|
|
9
|
-
multiple: boolean;
|
|
10
|
-
};
|
|
11
|
-
export declare const WizUploadDisplay: FC<Props>;
|
|
12
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./components";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
import { TIcon } from '../../../../components';
|
|
3
|
-
import { ButtonGroupItem } from "../../popup-button-group/types";
|
|
4
|
-
interface Props {
|
|
5
|
-
icon: TIcon;
|
|
6
|
-
label: string;
|
|
7
|
-
active: boolean;
|
|
8
|
-
href: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
tooltipText?: string;
|
|
11
|
-
isPopupLocking?: boolean;
|
|
12
|
-
buttons?: ButtonGroupItem[];
|
|
13
|
-
isPopupOpen?: boolean;
|
|
14
|
-
onTogglePopup: (isPopup: boolean) => void;
|
|
15
|
-
onTogglePopupLocking: (lock: boolean) => void;
|
|
16
|
-
}
|
|
17
|
-
export declare const WizNavigationItem: FC<Props>;
|
|
18
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./components";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./components";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ColorKeys, FontSizeKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
|
-
type FormGroupContextType = {
|
|
3
|
-
labelWidth?: string;
|
|
4
|
-
labelColor?: ColorKeys;
|
|
5
|
-
labelFontSize?: FontSizeKeys;
|
|
6
|
-
};
|
|
7
|
-
export declare const FormGroupContext: import("react").Context<FormGroupContextType>;
|
|
8
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ColorKeys, FontSizeKeys, SpacingKeys } from "@wizleap-inc/wiz-ui-constants";
|
|
2
|
-
import { FC, ReactNode } from "react";
|
|
3
|
-
type Props = {
|
|
4
|
-
labelWidth?: string;
|
|
5
|
-
labelColor?: ColorKeys;
|
|
6
|
-
labelFontSize?: FontSizeKeys;
|
|
7
|
-
gap?: SpacingKeys;
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
};
|
|
10
|
-
export declare const WizFormGroup: FC<Props>;
|
|
11
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./components";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
import { NotificationItem, PanelVariant } from "./types";
|
|
3
|
-
type Props = {
|
|
4
|
-
variant?: PanelVariant;
|
|
5
|
-
notifications: NotificationItem[];
|
|
6
|
-
height?: string;
|
|
7
|
-
emptyMessage?: string;
|
|
8
|
-
onClick?: (id: string) => void;
|
|
9
|
-
};
|
|
10
|
-
export declare const WizNotificationList: FC<Props>;
|
|
11
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
import { PanelVariant, TableInfoItem } from "./types";
|
|
3
|
-
type Props = {
|
|
4
|
-
title: string;
|
|
5
|
-
timestamp: Date;
|
|
6
|
-
variant?: PanelVariant;
|
|
7
|
-
read: boolean;
|
|
8
|
-
tableInfo?: TableInfoItem[];
|
|
9
|
-
onClick?: () => void;
|
|
10
|
-
};
|
|
11
|
-
export declare const WizNotificationPanel: FC<Props>;
|
|
12
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
import { NotificationItem, NotificationTabItem } from "./types";
|
|
3
|
-
type Props = {
|
|
4
|
-
tabs: NotificationTabItem[];
|
|
5
|
-
notifications: NotificationItem[];
|
|
6
|
-
height?: string;
|
|
7
|
-
emptyMessage?: string;
|
|
8
|
-
onClick?: (id: string) => void;
|
|
9
|
-
};
|
|
10
|
-
export declare const WizNotification: FC<Props>;
|
|
11
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export type PanelVariant = "primary" | "secondary";
|
|
2
|
-
export type NotificationTabItem = {
|
|
3
|
-
label: string;
|
|
4
|
-
name: string;
|
|
5
|
-
notificationCount?: number;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
variant: PanelVariant;
|
|
8
|
-
};
|
|
9
|
-
export type TableInfoItem = {
|
|
10
|
-
title: string;
|
|
11
|
-
content: string;
|
|
12
|
-
};
|
|
13
|
-
export type NotificationItem = {
|
|
14
|
-
id: string;
|
|
15
|
-
title: string;
|
|
16
|
-
timestamp: Date;
|
|
17
|
-
tabName: string;
|
|
18
|
-
read: boolean;
|
|
19
|
-
tableInfo?: TableInfoItem[];
|
|
20
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./components";
|
|
File without changes
|