@luscii-healthtech/web-ui 2.48.0 → 2.48.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.
Files changed (64) hide show
  1. package/README.md +9 -0
  2. package/dist/components/ButtonV2/ButtonProps.type.d.ts +2 -2
  3. package/dist/components/ConfirmationDialog/ConfirmationDialogTitle.d.ts +1 -1
  4. package/dist/components/ConfirmationDialog/types/ConfirmationDialog.types.d.ts +2 -2
  5. package/dist/components/Icon/Icon.d.ts +7 -0
  6. package/dist/components/Icons/AddIcon.d.ts +2 -1
  7. package/dist/components/Icons/AlertsIcon.d.ts +2 -1
  8. package/dist/components/Icons/BellIcon.d.ts +2 -1
  9. package/dist/components/Icons/ChartIcon.d.ts +2 -1
  10. package/dist/components/Icons/ChartLineColoredIcon.d.ts +2 -1
  11. package/dist/components/Icons/ChatBoxIcon.d.ts +2 -1
  12. package/dist/components/Icons/CheckIcon.d.ts +2 -1
  13. package/dist/components/Icons/ChevronDoubleIcon.d.ts +2 -1
  14. package/dist/components/Icons/ChevronDownIcon.d.ts +2 -1
  15. package/dist/components/Icons/ChevronRightIcon.d.ts +2 -1
  16. package/dist/components/Icons/CrossIcon.d.ts +2 -1
  17. package/dist/components/Icons/DeleteIcon.d.ts +2 -1
  18. package/dist/components/Icons/DownArrowIcon.d.ts +2 -1
  19. package/dist/components/Icons/DragIcon.d.ts +2 -1
  20. package/dist/components/Icons/EditIcon.d.ts +2 -1
  21. package/dist/components/Icons/EmptyIcon.d.ts +2 -1
  22. package/dist/components/Icons/EmptyStateDashboardIcon.d.ts +3 -1
  23. package/dist/components/Icons/ExclamationMarkIcon.d.ts +2 -1
  24. package/dist/components/Icons/EyeIcon.d.ts +2 -1
  25. package/dist/components/Icons/GearColoredIcon.d.ts +2 -1
  26. package/dist/components/Icons/GearIcon.d.ts +2 -1
  27. package/dist/components/Icons/GroupColoredIcon.d.ts +2 -1
  28. package/dist/components/Icons/GroupIcon.d.ts +2 -1
  29. package/dist/components/Icons/HamburgerIcon.d.ts +2 -1
  30. package/dist/components/Icons/HeartIcon.d.ts +2 -1
  31. package/dist/components/Icons/ImageIcon.d.ts +2 -2
  32. package/dist/components/Icons/InfoIcon.d.ts +2 -1
  33. package/dist/components/Icons/LeftArrowIcon.d.ts +2 -1
  34. package/dist/components/Icons/LightBulbIcon.d.ts +2 -1
  35. package/dist/components/Icons/LinkIcon.d.ts +2 -1
  36. package/dist/components/Icons/LockIcon.d.ts +2 -1
  37. package/dist/components/Icons/MessagesIcon.d.ts +2 -1
  38. package/dist/components/Icons/NotesIcon.d.ts +2 -1
  39. package/dist/components/Icons/PinIcon.d.ts +2 -1
  40. package/dist/components/Icons/PrintIcon.d.ts +2 -1
  41. package/dist/components/Icons/RightArrowIcon.d.ts +2 -1
  42. package/dist/components/Icons/SearchCancelIcon.d.ts +2 -1
  43. package/dist/components/Icons/SearchIcon.d.ts +2 -1
  44. package/dist/components/Icons/SmallCircleIcon.d.ts +2 -1
  45. package/dist/components/Icons/SmallDiamondIcon.d.ts +2 -1
  46. package/dist/components/Icons/SmallSquareIcon.d.ts +2 -1
  47. package/dist/components/Icons/SpaceRocketIcon.d.ts +2 -1
  48. package/dist/components/Icons/StarIcon.d.ts +2 -1
  49. package/dist/components/Icons/StatusColoredIcon.d.ts +2 -1
  50. package/dist/components/Icons/WarningIcon.d.ts +2 -2
  51. package/dist/components/Icons/iconWrapper/iconWrapper.d.ts +4 -0
  52. package/dist/components/Icons/iconWrapper/index.d.ts +1 -0
  53. package/dist/components/Icons/index.d.ts +45 -40
  54. package/dist/components/Icons/templates/component.d.ts +3 -0
  55. package/dist/components/Icons/templates/index.d.ts +2 -0
  56. package/dist/components/Input/Input.d.ts +2 -2
  57. package/dist/components/Toaster/Toaster.d.ts +1 -1
  58. package/dist/web-ui.cjs.development.js +6503 -6510
  59. package/dist/web-ui.cjs.development.js.map +1 -1
  60. package/dist/web-ui.cjs.production.min.js +1 -1
  61. package/dist/web-ui.cjs.production.min.js.map +1 -1
  62. package/dist/web-ui.esm.js +6499 -6511
  63. package/dist/web-ui.esm.js.map +1 -1
  64. package/package.json +4 -2
package/README.md CHANGED
@@ -51,6 +51,15 @@ When you create new components, you must add them to storybook as well. Stories
51
51
  /stories
52
52
  ```
53
53
 
54
+ ### Adding icons
55
+
56
+ Add new icons by:
57
+
58
+ - Add the svg file(s) in `src/components/Icons/icons`
59
+ - Run `yarn icons`
60
+
61
+ The icons are optimized by SVGO and transformed into React components by [SVGR](https://react-svgr.com) which are placed in `src/components/Icons`.
62
+
54
63
  ## CI setup
55
64
 
56
65
  #### Branching
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { IconProps } from "../Icons/types/IconProps.type";
2
+ import type { IconKey, IconProps } from "../Icons/types/IconProps.type";
3
3
  import { TextColor, TextHoverColor } from "../Text/Text";
4
4
  /**
5
5
  * Properties that are present in all variants of the button
@@ -8,7 +8,7 @@ import { TextColor, TextHoverColor } from "../Text/Text";
8
8
  export interface BaseButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
9
9
  onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
10
10
  text?: string;
11
- icon?: React.FunctionComponent<IconProps>;
11
+ icon?: React.FunctionComponent<IconProps> | IconKey;
12
12
  isDisabled?: boolean;
13
13
  className?: string;
14
14
  }
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
- import { ConfirmationDialogTitleProps } from "./types/ConfirmationDialog.types";
2
+ import type { ConfirmationDialogTitleProps } from "./types/ConfirmationDialog.types";
3
3
  export declare const ConfirmationDialogTitle: React.FC<ConfirmationDialogTitleProps>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { IconProps } from "../../Icons/types/IconProps.type";
2
+ import type { IconKey, IconProps } from "../../Icons/types/IconProps.type";
3
3
  import type { NotificationBannerColor } from "../../NotificationBanner/NotificationBanner";
4
4
  interface ConfirmationDialogTexts {
5
5
  message: string | string[];
@@ -23,7 +23,7 @@ export interface ConfirmationDialogProps {
23
23
  isProcessing?: boolean;
24
24
  withTitle?: {
25
25
  title: string;
26
- icon?: React.FC<IconProps>;
26
+ icon?: React.FC<IconProps> | IconKey;
27
27
  };
28
28
  choices?: {
29
29
  defaultChoice?: ConfirmationDialogChoice["value"];
@@ -3,4 +3,11 @@ import { IconProps, IconKey } from "../Icons/types/IconProps.type";
3
3
  export declare const Icon: React.FC<{
4
4
  name: IconKey;
5
5
  } & IconProps>;
6
+ /**
7
+ * This is a temporary component to transition the way we pass icons to components.
8
+ * Once all components are passed an IconKey instead of a function component we can replace it with the Icon component.
9
+ */
10
+ export declare const IconComponentOrKey: React.FC<{
11
+ name: React.FunctionComponent<IconProps> | IconKey;
12
+ } & IconProps>;
6
13
  export default Icon;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const AddIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const AlertsIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const BellIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const ChartIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const ChartLineColoredIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const ChatBoxIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const CheckIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const ChevronDoubleIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const ChevronDownIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const ChevronRightIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const CrossIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const DeleteIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const DownArrowIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const DragIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const EditIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const EmptyIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1 +1,3 @@
1
- export declare const EmptyStateDashboardIcon: () => JSX.Element;
1
+ import { IconProps } from "./types/IconProps.type";
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const ExclamationMarkIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const EyeIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const GearColoredIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const GearIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const GroupColoredIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const GroupIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const HamburgerIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const HeartIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
1
  import { IconProps } from "./types/IconProps.type";
3
- export declare const ImageIcon: React.VoidFunctionComponent<IconProps>;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const InfoIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const LeftArrowIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const LightBulbIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const LinkIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const LockIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const MessagesIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const NotesIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const PinIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const PrintIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const RightArrowIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const SearchCancelIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const SearchIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const SmallCircleIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const SmallDiamondIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const SmallSquareIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const SpaceRocketIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const StarIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  import { IconProps } from "./types/IconProps.type";
2
- export declare const StatusColoredIcon: (props: IconProps) => JSX.Element;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
1
  import { IconProps } from "./types/IconProps.type";
3
- export declare const WarningIcon: React.VoidFunctionComponent<IconProps>;
2
+ declare const _default: (props: IconProps) => JSX.Element;
3
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { HTMLAttributes } from "react";
2
+ import { IconProps } from "../types/IconProps.type";
3
+ declare const iconWrapper: (SVGComponent: (props: IconProps & Pick<HTMLAttributes<SVGElement>, "role">) => JSX.Element) => (props: IconProps) => JSX.Element;
4
+ export default iconWrapper;
@@ -0,0 +1 @@
1
+ export { default } from "./iconWrapper";
@@ -1,40 +1,45 @@
1
- export { AddIcon } from "./AddIcon";
2
- export { AlertsIcon } from "./AlertsIcon";
3
- export { BellIcon } from "./BellIcon";
4
- export { ChartIcon } from "./ChartIcon";
5
- export { ChartLineColoredIcon } from "./ChartLineColoredIcon";
6
- export { ChatBoxIcon } from "./ChatBoxIcon";
7
- export { CheckIcon } from "./CheckIcon";
8
- export { ChevronDoubleIcon } from "./ChevronDoubleIcon";
9
- export { CrossIcon } from "./CrossIcon";
10
- export { DeleteIcon } from "./DeleteIcon";
11
- export { DownArrowIcon } from "./DownArrowIcon";
12
- export { DragIcon } from "./DragIcon";
13
- export { EditIcon } from "./EditIcon";
14
- export { EmptyStateDashboardIcon } from "./EmptyStateDashboardIcon";
15
- export { ExclamationMarkIcon } from "./ExclamationMarkIcon";
16
- export { EyeIcon } from "./EyeIcon";
17
- export { GearIcon } from "./GearIcon";
18
- export { GearColoredIcon } from "./GearColoredIcon";
19
- export { GroupIcon } from "./GroupIcon";
20
- export { GroupColoredIcon } from "./GroupColoredIcon";
21
- export { HeartIcon } from "./HeartIcon";
22
- export { LeftArrowIcon } from "./LeftArrowIcon";
23
- export { LinkIcon } from "./LinkIcon";
24
- export { LightBulbIcon } from "./LightBulbIcon";
25
- export { LockIcon } from "./LockIcon";
26
- export { MessagesIcon } from "./MessagesIcon";
27
- export { NotesIcon } from "./NotesIcon";
28
- export { PinIcon } from "./PinIcon";
29
- export { PrintIcon } from "./PrintIcon";
30
- export { RightArrowIcon } from "./RightArrowIcon";
31
- export { SmallCircleIcon } from "./SmallCircleIcon";
32
- export { SmallDiamondIcon } from "./SmallDiamondIcon";
33
- export { SmallSquareIcon } from "./SmallSquareIcon";
34
- export { SpaceRocketIcon } from "./SpaceRocketIcon";
35
- export { StarIcon } from "./StarIcon";
36
- export { HamburgerIcon } from "./HamburgerIcon";
37
- export { SearchIcon } from "./SearchIcon";
38
- export { SearchCancelIcon } from "./SearchCancelIcon";
39
- export { InfoIcon } from "./InfoIcon";
40
- export { StatusColoredIcon } from "./StatusColoredIcon";
1
+ export { default as AddIcon } from "./AddIcon";
2
+ export { default as AlertsIcon } from "./AlertsIcon";
3
+ export { default as BellIcon } from "./BellIcon";
4
+ export { default as ChartIcon } from "./ChartIcon";
5
+ export { default as ChartLineColoredIcon } from "./ChartLineColoredIcon";
6
+ export { default as ChatBoxIcon } from "./ChatBoxIcon";
7
+ export { default as CheckIcon } from "./CheckIcon";
8
+ export { default as ChevronDoubleIcon } from "./ChevronDoubleIcon";
9
+ export { default as ChevronDownIcon } from "./ChevronDownIcon";
10
+ export { default as ChevronRightIcon } from "./ChevronRightIcon";
11
+ export { default as CrossIcon } from "./CrossIcon";
12
+ export { default as DeleteIcon } from "./DeleteIcon";
13
+ export { default as DownArrowIcon } from "./DownArrowIcon";
14
+ export { default as DragIcon } from "./DragIcon";
15
+ export { default as EditIcon } from "./EditIcon";
16
+ export { default as EmptyIcon } from "./EmptyIcon";
17
+ export { default as EmptyStateDashboardIcon } from "./EmptyStateDashboardIcon";
18
+ export { default as ExclamationMarkIcon } from "./ExclamationMarkIcon";
19
+ export { default as EyeIcon } from "./EyeIcon";
20
+ export { default as GearColoredIcon } from "./GearColoredIcon";
21
+ export { default as GearIcon } from "./GearIcon";
22
+ export { default as GroupColoredIcon } from "./GroupColoredIcon";
23
+ export { default as GroupIcon } from "./GroupIcon";
24
+ export { default as HamburgerIcon } from "./HamburgerIcon";
25
+ export { default as HeartIcon } from "./HeartIcon";
26
+ export { default as ImageIcon } from "./ImageIcon";
27
+ export { default as InfoIcon } from "./InfoIcon";
28
+ export { default as LeftArrowIcon } from "./LeftArrowIcon";
29
+ export { default as LightBulbIcon } from "./LightBulbIcon";
30
+ export { default as LinkIcon } from "./LinkIcon";
31
+ export { default as LockIcon } from "./LockIcon";
32
+ export { default as MessagesIcon } from "./MessagesIcon";
33
+ export { default as NotesIcon } from "./NotesIcon";
34
+ export { default as PinIcon } from "./PinIcon";
35
+ export { default as PrintIcon } from "./PrintIcon";
36
+ export { default as RightArrowIcon } from "./RightArrowIcon";
37
+ export { default as SearchCancelIcon } from "./SearchCancelIcon";
38
+ export { default as SearchIcon } from "./SearchIcon";
39
+ export { default as SmallCircleIcon } from "./SmallCircleIcon";
40
+ export { default as SmallDiamondIcon } from "./SmallDiamondIcon";
41
+ export { default as SmallSquareIcon } from "./SmallSquareIcon";
42
+ export { default as SpaceRocketIcon } from "./SpaceRocketIcon";
43
+ export { default as StarIcon } from "./StarIcon";
44
+ export { default as StatusColoredIcon } from "./StatusColoredIcon";
45
+ export { default as WarningIcon } from "./WarningIcon";
@@ -0,0 +1,3 @@
1
+ declare const template: (variables: any, { tpl }: {
2
+ tpl: any;
3
+ }) => any;
@@ -0,0 +1,2 @@
1
+ declare const path: any;
2
+ declare function defaultIndexTemplate(filePaths: any): string;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { AllowedTextInputTypes } from "../Form/form.types";
3
- import { IconProps } from "../Icons/types/IconProps.type";
3
+ import type { IconKey, IconProps } from "../Icons/types/IconProps.type";
4
4
  import { FormFieldWidth } from "../Form/form.types";
5
5
  import "./Input.css";
6
6
  export declare const INPUT_TYPES: Record<string, AllowedTextInputTypes>;
@@ -27,7 +27,7 @@ export interface InputProps extends CustomHTMLInputProps {
27
27
  isDisabled?: boolean;
28
28
  withPrefix?: string;
29
29
  withSuffix?: string;
30
- icon?: React.VoidFunctionComponent<IconProps>;
30
+ icon?: React.FC<IconProps> | IconKey;
31
31
  width?: FormFieldWidth;
32
32
  /**
33
33
  * Check the `asFormField` prop of this component to understand why this signature.
@@ -12,6 +12,6 @@ export declare const TOASTER_TYPE_OPTIONS: {
12
12
  readonly SUCCESS: "success";
13
13
  readonly FAILURE: "failure";
14
14
  };
15
- export declare type ToasterType = typeof TOASTER_TYPE_OPTIONS[keyof typeof TOASTER_TYPE_OPTIONS];
15
+ export declare type ToasterType = (typeof TOASTER_TYPE_OPTIONS)[keyof typeof TOASTER_TYPE_OPTIONS];
16
16
  declare const Toaster: React.VoidFunctionComponent<ToasterProps>;
17
17
  export default Toaster;