@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.
Files changed (181) hide show
  1. package/dist/components/base/accordion/components/accordion.d.ts +2 -1
  2. package/dist/components/base/anchor/components/anchor.d.ts +2 -1
  3. package/dist/components/base/avatar/components/avatar.d.ts +2 -1
  4. package/dist/components/base/badge/components/badge.d.ts +2 -1
  5. package/dist/components/base/box/components/box.d.ts +2 -1
  6. package/dist/components/base/buttons/icon/components/icon-button.d.ts +2 -1
  7. package/dist/components/base/buttons/text/components/text-button.d.ts +2 -1
  8. package/dist/components/base/buttons/tiny/components/tiny-button.d.ts +2 -1
  9. package/dist/components/base/buttons/toggle/components/toggle-button.d.ts +2 -1
  10. package/dist/components/base/calendar/components/calendar.d.ts +2 -1
  11. package/dist/components/base/card/components/card.d.ts +3 -2
  12. package/dist/components/base/dialog/components/dialog.d.ts +2 -1
  13. package/dist/components/base/divider/components/divider.d.ts +4 -2
  14. package/dist/components/base/drawer/drawer.d.ts +10 -1
  15. package/dist/components/base/dropdown/components/dropdown-item.d.ts +2 -1
  16. package/dist/components/base/dropdown/components/dropdown.d.ts +2 -1
  17. package/dist/components/base/graphs/circle/components/bar.d.ts +2 -1
  18. package/dist/components/base/graphs/circle/components/circle-graph.d.ts +2 -1
  19. package/dist/components/base/graphs/compare/components/bar.d.ts +2 -1
  20. package/dist/components/base/graphs/compare/components/compare-graph.d.ts +2 -1
  21. package/dist/components/base/graphs/line/components/line-graph.d.ts +2 -1
  22. package/dist/components/base/graphs/meter/components/meter-graph.d.ts +2 -1
  23. package/dist/components/base/graphs/poll/components/bar.d.ts +2 -1
  24. package/dist/components/base/graphs/poll/components/poll-graph.d.ts +2 -1
  25. package/dist/components/base/graphs/poll/components/row.d.ts +2 -1
  26. package/dist/components/base/graphs/transition/components/bar.d.ts +2 -1
  27. package/dist/components/base/graphs/transition/components/transition-graph.d.ts +2 -1
  28. package/dist/components/base/header/components/header.d.ts +3 -2
  29. package/dist/components/base/heading/components/heading.d.ts +3 -2
  30. package/dist/components/base/icon/components/icon.d.ts +3 -2
  31. package/dist/components/base/information-panel/components/information-panel.d.ts +2 -1
  32. package/dist/components/base/inputs/base/components/base-input.d.ts +2 -1
  33. package/dist/components/base/inputs/checkbox/components/checkbox.d.ts +3 -2
  34. package/dist/components/base/inputs/checkbox-new/components/checkbox-new.d.ts +11 -11
  35. package/dist/components/base/inputs/date-picker/components/date-picker.d.ts +7 -1
  36. package/dist/components/base/inputs/date-range-picker/components/date-range-picker.d.ts +2 -1
  37. package/dist/components/base/inputs/panel-switch/components/panel-switch.d.ts +4 -5
  38. package/dist/components/base/inputs/password/components/password-input.d.ts +10 -12
  39. package/dist/components/base/inputs/radio/components/radio.d.ts +2 -1
  40. package/dist/components/base/inputs/radio-new/components/radio-new.d.ts +11 -11
  41. package/dist/components/base/inputs/search-input/components/search-input.d.ts +2 -1
  42. package/dist/components/base/inputs/search-input/components/search-popup-panel.d.ts +2 -1
  43. package/dist/components/base/inputs/search-selector/components/search-selector.d.ts +2 -1
  44. package/dist/components/base/inputs/selectbox/components/selectbox.d.ts +2 -1
  45. package/dist/components/base/inputs/text/components/text-input.d.ts +2 -1
  46. package/dist/components/base/inputs/time-picker/components/time-picker.d.ts +4 -5
  47. package/dist/components/base/inputs/toggle-switch/components/toggle-switch.d.ts +4 -5
  48. package/dist/components/base/inputs/upload/components/upload-display.d.ts +2 -1
  49. package/dist/components/base/inputs/upload/components/upload-input.d.ts +2 -1
  50. package/dist/components/base/loading-overlay/components/loading-overlay.d.ts +3 -2
  51. package/dist/components/base/menu/components/menu-item.d.ts +2 -1
  52. package/dist/components/base/message-box/components/message-box.d.ts +6 -7
  53. package/dist/components/base/navigation/components/navigation-container.d.ts +3 -2
  54. package/dist/components/base/navigation/components/navigation-item.d.ts +3 -2
  55. package/dist/components/base/pagination/components/pagination.d.ts +8 -2
  56. package/dist/components/base/popup/components/popup.d.ts +4 -6
  57. package/dist/components/base/popup-button-group/components/button-item.d.ts +3 -2
  58. package/dist/components/base/popup-button-group/components/group-item.d.ts +3 -2
  59. package/dist/components/base/popup-button-group/components/popup-button-group.d.ts +3 -2
  60. package/dist/components/base/progress-bar/components/progress-bar.d.ts +2 -1
  61. package/dist/components/base/progress-bar/components/progress-line.d.ts +2 -1
  62. package/dist/components/base/progress-bar/components/progress-point.d.ts +2 -1
  63. package/dist/components/base/show-more-less/components/show-more-less.d.ts +3 -2
  64. package/dist/components/base/skeleton/components/skeleton-circle.d.ts +3 -2
  65. package/dist/components/base/skeleton/components/skeleton-text.d.ts +3 -2
  66. package/dist/components/base/skeleton/components/skeleton.d.ts +3 -2
  67. package/dist/components/base/snackbar/components/snackbar.d.ts +2 -1
  68. package/dist/components/base/stack/components/stack.d.ts +1 -1
  69. package/dist/components/base/stack/components/types.d.ts +3 -2
  70. package/dist/components/base/step-bar/components/step-bar.d.ts +2 -1
  71. package/dist/components/base/step-bar/components/step-line.d.ts +2 -1
  72. package/dist/components/base/step-bar/components/step-point.d.ts +2 -1
  73. package/dist/components/base/tab/components/tab-pane.d.ts +2 -1
  74. package/dist/components/base/tab/components/tab.d.ts +2 -1
  75. package/dist/components/base/tables/card/components/card-table.d.ts +1 -1
  76. package/dist/components/base/tables/card/components/card-td.d.ts +1 -1
  77. package/dist/components/base/tables/card/components/card-th.d.ts +1 -1
  78. package/dist/components/base/tables/card/components/card-tr.d.ts +1 -1
  79. package/dist/components/base/tables/flat/components/flat-table.d.ts +1 -1
  80. package/dist/components/base/tables/flat/components/flat-td.d.ts +1 -1
  81. package/dist/components/base/tables/flat/components/flat-th.d.ts +1 -1
  82. package/dist/components/base/tables/flat/components/flat-thead.d.ts +2 -1
  83. package/dist/components/base/tables/unstyled/components/unstyled-table.d.ts +1 -1
  84. package/dist/components/base/tables/unstyled/components/unstyled-td.d.ts +1 -1
  85. package/dist/components/base/tables/unstyled/components/unstyled-th.d.ts +1 -1
  86. package/dist/components/base/tables/unstyled/components/unstyled-thead.d.ts +1 -1
  87. package/dist/components/base/tables/unstyled/components/unstyled-tr.d.ts +2 -1
  88. package/dist/components/base/text/components/text.d.ts +3 -2
  89. package/dist/components/base/text-area/components/text-area.d.ts +9 -10
  90. package/dist/components/base/tooltip/components/tooltip.d.ts +3 -2
  91. package/dist/components/custom/chat/components/chat-card.d.ts +2 -1
  92. package/dist/components/custom/chat/components/chat-form.d.ts +2 -1
  93. package/dist/components/custom/chat/components/chat-item.d.ts +2 -1
  94. package/dist/components/custom/form/components/form-control.d.ts +2 -1
  95. package/dist/components/custom/form/components/form-group.d.ts +2 -1
  96. package/dist/components/custom/notification/components/notification-list.d.ts +2 -1
  97. package/dist/components/custom/notification/components/notification-panel.d.ts +2 -1
  98. package/dist/components/custom/notification/components/notification.d.ts +2 -1
  99. package/dist/components/custom/schedule/components/card.d.ts +4 -3
  100. package/dist/components/custom/schedule/components/grid.d.ts +4 -3
  101. package/dist/components/custom/schedule/components/schedule.d.ts +4 -3
  102. package/dist/components/custom/schedule/components/sheet.d.ts +4 -3
  103. package/dist/components/icons/add-circle.d.ts +7 -1
  104. package/dist/components/icons/add.d.ts +7 -1
  105. package/dist/components/icons/approval-filled.d.ts +7 -1
  106. package/dist/components/icons/arrow-drop-down.d.ts +7 -1
  107. package/dist/components/icons/arrow-drop-up.d.ts +7 -1
  108. package/dist/components/icons/arrow-right.d.ts +7 -1
  109. package/dist/components/icons/assignment-add.d.ts +7 -1
  110. package/dist/components/icons/assignment.d.ts +7 -1
  111. package/dist/components/icons/attach-file.d.ts +7 -1
  112. package/dist/components/icons/auto-renew.d.ts +7 -1
  113. package/dist/components/icons/book.d.ts +7 -1
  114. package/dist/components/icons/bright-filled.d.ts +7 -1
  115. package/dist/components/icons/business-center.d.ts +7 -1
  116. package/dist/components/icons/calendar.d.ts +7 -1
  117. package/dist/components/icons/camera.d.ts +7 -1
  118. package/dist/components/icons/cancel.d.ts +7 -1
  119. package/dist/components/icons/change-history.d.ts +7 -1
  120. package/dist/components/icons/chat-bubble-filled.d.ts +7 -1
  121. package/dist/components/icons/chat.d.ts +7 -1
  122. package/dist/components/icons/check-bold.d.ts +7 -1
  123. package/dist/components/icons/check-circle-filled.d.ts +7 -1
  124. package/dist/components/icons/check.d.ts +7 -1
  125. package/dist/components/icons/chevron-left-bold.d.ts +7 -1
  126. package/dist/components/icons/chevron-left.d.ts +7 -1
  127. package/dist/components/icons/chevron-right.d.ts +7 -1
  128. package/dist/components/icons/circle-check.d.ts +7 -1
  129. package/dist/components/icons/circle.d.ts +7 -1
  130. package/dist/components/icons/close-bold.d.ts +7 -1
  131. package/dist/components/icons/close.d.ts +7 -1
  132. package/dist/components/icons/contact-page-filled.d.ts +7 -1
  133. package/dist/components/icons/content-copy.d.ts +7 -1
  134. package/dist/components/icons/contract.d.ts +7 -1
  135. package/dist/components/icons/dashboard.d.ts +7 -1
  136. package/dist/components/icons/description.d.ts +7 -1
  137. package/dist/components/icons/download.d.ts +7 -1
  138. package/dist/components/icons/edit-note.d.ts +7 -1
  139. package/dist/components/icons/expand-less.d.ts +7 -1
  140. package/dist/components/icons/expand-more-bold.d.ts +7 -1
  141. package/dist/components/icons/expand-more.d.ts +7 -1
  142. package/dist/components/icons/eye.d.ts +7 -1
  143. package/dist/components/icons/groups.d.ts +7 -1
  144. package/dist/components/icons/help.d.ts +7 -1
  145. package/dist/components/icons/history.d.ts +7 -1
  146. package/dist/components/icons/home.d.ts +7 -1
  147. package/dist/components/icons/info-bold.d.ts +7 -1
  148. package/dist/components/icons/info.d.ts +7 -1
  149. package/dist/components/icons/location-city.d.ts +7 -1
  150. package/dist/components/icons/manage-accounts.d.ts +7 -1
  151. package/dist/components/icons/menu.d.ts +7 -1
  152. package/dist/components/icons/monitoring.d.ts +7 -1
  153. package/dist/components/icons/more-vert.d.ts +7 -1
  154. package/dist/components/icons/note-add.d.ts +7 -1
  155. package/dist/components/icons/notification.d.ts +7 -1
  156. package/dist/components/icons/open-in-new.d.ts +7 -1
  157. package/dist/components/icons/person-filled.d.ts +7 -1
  158. package/dist/components/icons/pie-chart.d.ts +7 -1
  159. package/dist/components/icons/pin-drop.d.ts +7 -1
  160. package/dist/components/icons/public.d.ts +7 -1
  161. package/dist/components/icons/remove-bold.d.ts +7 -1
  162. package/dist/components/icons/remove.d.ts +7 -1
  163. package/dist/components/icons/schedule.d.ts +7 -1
  164. package/dist/components/icons/search.d.ts +7 -1
  165. package/dist/components/icons/send.d.ts +7 -1
  166. package/dist/components/icons/settings.d.ts +7 -1
  167. package/dist/components/icons/smartphone.d.ts +7 -1
  168. package/dist/components/icons/star-filled.d.ts +7 -1
  169. package/dist/components/icons/stars.d.ts +7 -1
  170. package/dist/components/icons/store-front.d.ts +7 -1
  171. package/dist/components/icons/tab.d.ts +7 -1
  172. package/dist/components/icons/task.d.ts +7 -1
  173. package/dist/components/icons/timer-filled.d.ts +7 -1
  174. package/dist/components/icons/upload.d.ts +7 -1
  175. package/dist/components/icons/warning.d.ts +7 -1
  176. package/dist/style.css +1 -1
  177. package/dist/types/base-props.d.ts +5 -0
  178. package/dist/types/index.d.ts +1 -0
  179. package/dist/wiz-ui.es.js +4674 -4005
  180. package/dist/wiz-ui.umd.js +27 -27
  181. package/package.json +2 -2
@@ -1,5 +1,6 @@
1
1
  import { FC } from "react";
2
- type Props = {
2
+ import { BaseProps } from '../../../../../types';
3
+ type Props = BaseProps & {
3
4
  setupXHR: () => XMLHttpRequest;
4
5
  multiple?: boolean;
5
6
  };
@@ -1,6 +1,7 @@
1
1
  import { FC } from "react";
2
- interface Props {
2
+ import { BaseProps } from '../../../../types';
3
+ type Props = BaseProps & {
3
4
  isLoading: boolean;
4
- }
5
+ };
5
6
  export declare const WizLoadingOverlay: FC<Props>;
6
7
  export {};
@@ -1,6 +1,7 @@
1
1
  import { FontSizeKeys } from "@wizleap-inc/wiz-ui-constants";
2
2
  import { ComponentProps } from "react";
3
- type Props = {
3
+ import { BaseProps } from '../../../../types';
4
+ type Props = BaseProps & {
4
5
  label: string;
5
6
  width?: string;
6
7
  active?: boolean;
@@ -1,11 +1,10 @@
1
1
  import { ReactNode } from "react";
2
2
  import { TIcon } from '../../../../components';
3
- type Props = {
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
- interface Props {
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
- type Props = {
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
- interface Props {
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
- interface Props {
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
- interface Props {
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,6 +1,7 @@
1
1
  import { FC } from "react";
2
+ import { BaseProps } from '../../../../types';
2
3
  import { ProgressItem } from "../types";
3
- type Props = {
4
+ type Props = BaseProps & {
4
5
  contents: ProgressItem[];
5
6
  };
6
7
  export declare const WizProgressBar: FC<Props>;
@@ -1,5 +1,6 @@
1
1
  import { FC } from "react";
2
- type Props = {
2
+ import { BaseProps } from '../../../../types';
3
+ type Props = BaseProps & {
3
4
  active?: boolean;
4
5
  isFirst: boolean;
5
6
  };
@@ -1,6 +1,7 @@
1
1
  import { FC } from "react";
2
+ import { BaseProps } from '../../../../types';
2
3
  import type { ProgressStatus } from "../types";
3
- type Props = {
4
+ type Props = BaseProps & {
4
5
  status: ProgressStatus;
5
6
  value?: number;
6
7
  };
@@ -1,5 +1,6 @@
1
1
  import { FC, ReactNode } from "react";
2
- interface Props {
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
- type Props = {
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
- type Props = {
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
- type Props = {
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,5 +1,6 @@
1
1
  import { FC } from "react";
2
- type Props = {
2
+ import { BaseProps } from '../../../../types';
3
+ type Props = BaseProps & {
3
4
  message: string;
4
5
  expand?: boolean;
5
6
  enableAnimation?: boolean;
@@ -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 { ComponentPropsWithoutRef, ReactNode } from "react";
3
- export type StackProps = ComponentPropsWithoutRef<"div"> & {
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,6 +1,7 @@
1
1
  import { FC } from "react";
2
+ import { BaseProps } from '../../../../types';
2
3
  import { StepItem } from "./types";
3
- type Props = {
4
+ type Props = BaseProps & {
4
5
  contents: StepItem[];
5
6
  };
6
7
  export declare const WizStepBar: FC<Props>;
@@ -1,5 +1,6 @@
1
1
  import { FC } from "react";
2
- type Props = {
2
+ import { BaseProps } from '../../../../types';
3
+ type Props = BaseProps & {
3
4
  active?: boolean;
4
5
  isFirst: boolean;
5
6
  };
@@ -1,6 +1,7 @@
1
1
  import { FC } from "react";
2
+ import { BaseProps } from '../../../../types';
2
3
  import { StepStatus } from "./types";
3
- type Props = {
4
+ type Props = BaseProps & {
4
5
  status: StepStatus;
5
6
  };
6
7
  export declare const WizStepPoint: FC<Props>;
@@ -1,5 +1,6 @@
1
1
  import { FC } from "react";
2
- type Props = {
2
+ import { BaseProps } from '../../../../types';
3
+ type Props = BaseProps & {
3
4
  label: string;
4
5
  name: string;
5
6
  active?: boolean;
@@ -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 {};
@@ -3,7 +3,7 @@ type Props = {
3
3
  children?: ReactNode;
4
4
  } & ComponentProps<"td">;
5
5
  export declare const WizCardTd: {
6
- ({ children, ...props }: Props): JSX.Element;
6
+ ({ className, style, children, ...props }: Props): JSX.Element;
7
7
  displayName: "WizCardTd";
8
8
  };
9
9
  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 {};
@@ -3,7 +3,7 @@ type Props = {
3
3
  children?: ReactNode;
4
4
  } & ComponentProps<"tr">;
5
5
  export declare const WizCardTr: {
6
- ({ children, ...props }: Props): JSX.Element;
6
+ ({ className, children, ...props }: Props): JSX.Element;
7
7
  displayName: "WizCardTr";
8
8
  };
9
9
  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 {};
@@ -1,5 +1,6 @@
1
1
  import { ComponentProps, ReactNode } from "react";
2
- type Props = {
2
+ import { BaseProps } from '../../../../../types';
3
+ type Props = BaseProps & {
3
4
  children?: ReactNode;
4
5
  } & ComponentProps<"thead">;
5
6
  export declare const WizFlatThead: {
@@ -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,5 +1,6 @@
1
1
  import { ComponentProps, ReactNode } from "react";
2
- type Props = {
2
+ import { BaseProps } from '../../../../../types';
3
+ type Props = BaseProps & {
3
4
  divider?: boolean;
4
5
  children?: ReactNode;
5
6
  } & ComponentProps<"tr">;
@@ -1,6 +1,7 @@
1
1
  import { ColorKeys, FontSizeKeys, WhiteSpaceKeys } from "@wizleap-inc/wiz-ui-constants";
2
2
  import { ReactNode } from "react";
3
- type Props = {
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
- type Props = {
2
- id?: string;
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
- interface Props {
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,5 +1,6 @@
1
1
  import { FC } from "react";
2
- type Props = {
2
+ import { BaseProps } from '../../../../types';
3
+ type Props = BaseProps & {
3
4
  value: string;
4
5
  disabled?: boolean;
5
6
  placeholder?: string;
@@ -1,6 +1,7 @@
1
1
  import { FC } from "react";
2
+ import { BaseProps } from '../../../../types';
2
3
  import { Message } from "./types";
3
- type Props = {
4
+ type Props = BaseProps & {
4
5
  content: Message;
5
6
  maxChatItemWidth?: string;
6
7
  };
@@ -1,5 +1,6 @@
1
1
  import { FC, ReactNode } from "react";
2
- type Props = {
2
+ import { BaseProps } from '../../../../types';
3
+ type Props = BaseProps & {
3
4
  htmlFor?: string;
4
5
  label: string;
5
6
  required?: boolean;
@@ -1,6 +1,7 @@
1
1
  import { ColorKeys, FontSizeKeys, SpacingKeys } from "@wizleap-inc/wiz-ui-constants";
2
2
  import { FC, ReactNode } from "react";
3
- type Props = {
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, PanelVariant } from "./types";
3
- type Props = {
4
+ type Props = BaseProps & {
4
5
  variant?: PanelVariant;
5
6
  notifications: NotificationItem[];
6
7
  height?: string;
@@ -1,6 +1,7 @@
1
1
  import { FC } from "react";
2
+ import { BaseProps } from '../../../../types';
2
3
  import { PanelVariant, TableInfoItem } from "./types";
3
- type Props = {
4
+ type Props = BaseProps & {
4
5
  title: string;
5
6
  timestamp: Date;
6
7
  variant?: PanelVariant;
@@ -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
- interface Props {
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 {};