@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.
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 +2 -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 +2 -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 +3 -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 +4442 -3782
  180. package/dist/wiz-ui.umd.js +27 -27
  181. package/package.json +2 -2
@@ -1,6 +1,7 @@
1
1
  import { ColorKeys } 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
  isOpen: boolean;
5
6
  openMessage?: string;
6
7
  closeMessage?: string;
@@ -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
- type Props<T extends ElementType> = {
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
- type Props = {
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
- type Props = {
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
- type Props = {
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
- type Props = {
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
- type Props = {
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
- type Props = {
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
- type Props = {
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 { FC } from "react";
2
+ import { BaseProps } from '../../../../types';
2
3
  import { DateStatus } from "./types";
3
- type Props = {
4
+ type Props = BaseProps & {
4
5
  currentMonth?: Date;
5
6
  activeDates?: DateStatus[];
6
7
  filledWeeks?: boolean;
@@ -1,6 +1,7 @@
1
1
  import { ColorKeys, SpacingKeys } from "@wizleap-inc/wiz-ui-constants";
2
2
  import { ComponentProps, ReactNode } from "react";
3
- type Props = {
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,5 +1,6 @@
1
1
  import { FC, ReactNode } from "react";
2
- type Props = {
2
+ import { BaseProps } from '../../../../types';
3
+ type Props = BaseProps & {
3
4
  isOpen: boolean;
4
5
  maxWidth?: string;
5
6
  title?: ReactNode;
@@ -1,7 +1,9 @@
1
1
  import { ColorKeys } from "@wizleap-inc/wiz-ui-constants";
2
- export type Props = {
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,5 +1,6 @@
1
1
  import { FC, ReactNode } from "react";
2
- type Props = {
2
+ import { BaseProps } from '../../../types';
3
+ type Props = BaseProps & {
3
4
  isOpen: boolean;
4
5
  /**
5
6
  * オフセットを指定してdrawerの高さを調整します。
@@ -1,6 +1,7 @@
1
1
  import { FC, MouseEventHandler, ReactNode } from "react";
2
2
  import { TIcon } from '../../../../components/icons';
3
- type Props = {
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
- type Props = {
3
+ import { BaseProps } from '../../../../types';
4
+ type Props = BaseProps & {
4
5
  isOpen: boolean;
5
6
  children: ReactNode;
6
7
  options: ReactNode;
@@ -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
  percentages: number[];
4
5
  children?: ReactNode;
5
6
  };
@@ -1,6 +1,7 @@
1
1
  import { FC, ReactNode } from "react";
2
+ import { BaseProps } from '../../../../../types';
2
3
  import { CircleGraphData } from "./types";
3
- type Props = {
4
+ type Props = BaseProps & {
4
5
  data: CircleGraphData[];
5
6
  otherLabel?: string;
6
7
  children?: ReactNode;
@@ -1,6 +1,7 @@
1
1
  import { FC } from "react";
2
+ import { BaseProps } from '../../../../../types';
2
3
  import { CompareGraphData } from "./types";
3
- type Props = {
4
+ type Props = BaseProps & {
4
5
  data: CompareGraphData;
5
6
  maxFrequency: number;
6
7
  barGap: number;
@@ -1,6 +1,7 @@
1
1
  import { FC, ReactNode } from "react";
2
+ import { BaseProps } from '../../../../../types';
2
3
  import { CompareGraphData } from "./types";
3
- type Props = {
4
+ type Props = BaseProps & {
4
5
  data: CompareGraphData[];
5
6
  /** 縦軸の最大値を設定します。 */
6
7
  maxFrequency?: number;
@@ -1,5 +1,6 @@
1
1
  import { FC } from "react";
2
- type Props = {
2
+ import { BaseProps } from '../../../../../types';
3
+ type Props = BaseProps & {
3
4
  percentage: number;
4
5
  };
5
6
  export declare const WizLineGraph: FC<Props>;
@@ -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
  percentage: number;
4
5
  children?: ReactNode;
5
6
  };
@@ -1,5 +1,6 @@
1
1
  import { FC } from "react";
2
- type Props = {
2
+ import { BaseProps } from '../../../../../types';
3
+ type Props = BaseProps & {
3
4
  percentage: number;
4
5
  label?: string;
5
6
  isColorFixed?: boolean;
@@ -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,5 +1,6 @@
1
1
  import { FC } from "react";
2
- type Props = {
2
+ import { BaseProps } from '../../../../../types';
3
+ type Props = BaseProps & {
3
4
  percentage?: number;
4
5
  label?: string;
5
6
  innerLabel?: 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
  label: string;
4
5
  frequency: number;
5
6
  lastFrequency: number | null;
@@ -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
- interface Props {
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
- interface Props {
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
- type Props = {
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,9 +1,10 @@
1
1
  import { FC } from "react";
2
+ import { BaseProps } from '../../../../types';
2
3
  type Message = {
3
4
  text: string;
4
5
  type: "default" | "error";
5
6
  };
6
- type Props = {
7
+ type Props = BaseProps & {
7
8
  messages: Message[];
8
9
  width?: string;
9
10
  border?: boolean;
@@ -1,5 +1,6 @@
1
1
  import { ComponentProps } from "react";
2
- type Props = {
2
+ import { BaseProps } from '../../../../../types';
3
+ type Props = BaseProps & {
3
4
  id?: string;
4
5
  value?: string;
5
6
  placeholder?: string;
@@ -1,7 +1,8 @@
1
1
  import { SpacingKeys } from "@wizleap-inc/wiz-ui-constants";
2
- import { ComponentPropsWithoutRef, FC } from "react";
2
+ import { FC } from "react";
3
+ import { BaseProps } from '../../../../../types';
3
4
  import { CheckBoxOption } from "./types";
4
- type Props = Omit<ComponentPropsWithoutRef<"div">, "onChange"> & {
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
- type Props = {
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,5 +1,6 @@
1
1
  import { FC } from "react";
2
- type Props = {
2
+ import { BaseProps } from '../../../../../types';
3
+ type Props = BaseProps & {
3
4
  date: Date | null;
4
5
  placeholder?: string;
5
6
  width?: string;
@@ -1,6 +1,7 @@
1
1
  import { FC } from "react";
2
+ import { BaseProps } from '../../../../../types';
2
3
  import { DateRange, DateRangePickerSelectBoxOption } from "../types";
3
- type Props = {
4
+ type Props = BaseProps & {
4
5
  dateRange: DateRange;
5
6
  expand?: boolean;
6
7
  disabled?: boolean;
@@ -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 { AutoCompleteKeys } from "@wizleap-inc/wiz-ui-constants";
2
- type Props = {
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?: Extract<AutoCompleteKeys, "currentPassword" | "newPassword">;
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
- type Props = {
4
- checked?: boolean;
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,6 +1,7 @@
1
1
  import { FC } from "react";
2
+ import { BaseProps } from '../../../../../types';
2
3
  import { SearchInputOption } from "./types";
3
- type Props = {
4
+ type Props = BaseProps & {
4
5
  options: SearchInputOption[];
5
6
  values: number[];
6
7
  width?: string;
@@ -1,6 +1,7 @@
1
1
  import { FC } from "react";
2
+ import { BaseProps } from '../../../../../types';
2
3
  import { SearchSelectorOption } from "./types";
3
- type Props = {
4
+ type Props = BaseProps & {
4
5
  options: SearchSelectorOption[];
5
6
  values: number[];
6
7
  placeholder?: 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
- export type Props = {
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
- type Props = {
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 {};
@@ -1,5 +1,6 @@
1
1
  import { FC } from "react";
2
- type Props = {
2
+ import { BaseProps } from '../../../../../types';
3
+ type Props = BaseProps & {
3
4
  files: File[];
4
5
  uploadingFileCount: number;
5
6
  completedFileCount: number;
@@ -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 {};