@pushwoosh/kit-icons 1.0.0 → 1.1.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 (194) hide show
  1. package/lib/arrow-icon/arrow-icon.component.d.ts +2 -2
  2. package/lib/arrow-icon/arrow-icon.types.d.ts +3 -2
  3. package/lib/arrow-round-icon/arrow-round-icon.component.d.ts +2 -2
  4. package/lib/arrow-round-icon/arrow-round-icon.types.d.ts +3 -2
  5. package/lib/attachment-icon/attachment-icon.component.d.ts +2 -2
  6. package/lib/attachment-icon/attachment-icon.types.d.ts +3 -2
  7. package/lib/backup-icon/backup-icon.component.d.ts +2 -2
  8. package/lib/backup-icon/backup-icon.types.d.ts +3 -2
  9. package/lib/billing-icon/billing-icon.component.d.ts +2 -2
  10. package/lib/billing-icon/billing-icon.types.d.ts +3 -2
  11. package/lib/bookmark-icon/bookmark-icon.component.d.ts +2 -2
  12. package/lib/bookmark-icon/bookmark-icon.types.d.ts +3 -2
  13. package/lib/box-icon/box-icon.component.d.ts +2 -2
  14. package/lib/box-icon/box-icon.types.d.ts +3 -2
  15. package/lib/bullet-icon/bullet-icon.component.d.ts +2 -2
  16. package/lib/bullet-icon/bullet-icon.types.d.ts +3 -2
  17. package/lib/calendar-icon/calendar-icon.component.d.ts +2 -2
  18. package/lib/calendar-icon/calendar-icon.types.d.ts +3 -2
  19. package/lib/certificate-icon/certificate-icon.component.d.ts +2 -2
  20. package/lib/certificate-icon/certificate-icon.types.d.ts +3 -2
  21. package/lib/change-icon/change-icon.component.d.ts +2 -2
  22. package/lib/change-icon/change-icon.types.d.ts +3 -2
  23. package/lib/check-icon/check-icon.component.d.ts +2 -2
  24. package/lib/check-icon/check-icon.types.d.ts +3 -2
  25. package/lib/check-round-icon/check-round-icon.component.d.ts +2 -2
  26. package/lib/check-round-icon/check-round-icon.types.d.ts +3 -2
  27. package/lib/chevron-icon/chevron-icon.component.d.ts +2 -2
  28. package/lib/chevron-icon/chevron-icon.types.d.ts +3 -2
  29. package/lib/close-icon/close-icon.component.d.ts +2 -2
  30. package/lib/close-icon/close-icon.types.d.ts +3 -2
  31. package/lib/close-round-icon/close-round-icon.component.d.ts +2 -2
  32. package/lib/close-round-icon/close-round-icon.types.d.ts +3 -2
  33. package/lib/cloud-icon/cloud-icon.component.d.ts +2 -2
  34. package/lib/cloud-icon/cloud-icon.types.d.ts +3 -2
  35. package/lib/collapse-icon/collapse-icon.component.d.ts +2 -2
  36. package/lib/collapse-icon/collapse-icon.types.d.ts +3 -2
  37. package/lib/color-icon/color-icon.component.d.ts +2 -2
  38. package/lib/color-icon/color-icon.types.d.ts +3 -2
  39. package/lib/comment-icon/comment-icon.component.d.ts +2 -2
  40. package/lib/comment-icon/comment-icon.types.d.ts +3 -2
  41. package/lib/copy-icon/copy-icon.component.d.ts +2 -2
  42. package/lib/copy-icon/copy-icon.types.d.ts +3 -2
  43. package/lib/danger-triangle-icon/danger-triangle-icon.component.d.ts +2 -2
  44. package/lib/danger-triangle-icon/danger-triangle-icon.types.d.ts +3 -2
  45. package/lib/device-icon/device-icon.component.d.ts +2 -2
  46. package/lib/device-icon/device-icon.types.d.ts +3 -2
  47. package/lib/docs-icon/docs-icon.component.d.ts +2 -2
  48. package/lib/docs-icon/docs-icon.types.d.ts +3 -2
  49. package/lib/document-icon/document-icon.component.d.ts +2 -2
  50. package/lib/document-icon/document-icon.types.d.ts +3 -2
  51. package/lib/download-icon/download-icon.component.d.ts +2 -2
  52. package/lib/download-icon/download-icon.types.d.ts +3 -2
  53. package/lib/drag-icon/drag-icon.component.d.ts +2 -2
  54. package/lib/drag-icon/drag-icon.types.d.ts +3 -2
  55. package/lib/dropdown-icon/dropdown-icon.component.d.ts +2 -2
  56. package/lib/dropdown-icon/dropdown-icon.types.d.ts +3 -2
  57. package/lib/edit-icon/edit-icon.component.d.ts +2 -2
  58. package/lib/edit-icon/edit-icon.types.d.ts +3 -2
  59. package/lib/email-icon/email-icon.component.d.ts +2 -2
  60. package/lib/email-icon/email-icon.types.d.ts +3 -2
  61. package/lib/emoji-icon/emoji-icon.component.d.ts +2 -2
  62. package/lib/emoji-icon/emoji-icon.types.d.ts +3 -2
  63. package/lib/expand-icon/expand-icon.component.d.ts +2 -2
  64. package/lib/expand-icon/expand-icon.types.d.ts +3 -2
  65. package/lib/filter-icon/filter-icon.component.d.ts +2 -2
  66. package/lib/filter-icon/filter-icon.types.d.ts +3 -2
  67. package/lib/finish-icon/finish-icon.component.d.ts +2 -2
  68. package/lib/finish-icon/finish-icon.types.d.ts +3 -2
  69. package/lib/flash-icon/flash-icon.component.d.ts +2 -2
  70. package/lib/flash-icon/flash-icon.types.d.ts +3 -2
  71. package/lib/folder-icon/folder-icon.component.d.ts +2 -2
  72. package/lib/folder-icon/folder-icon.types.d.ts +3 -2
  73. package/lib/funnel-icon/funnel-icon.component.d.ts +2 -2
  74. package/lib/funnel-icon/funnel-icon.types.d.ts +3 -2
  75. package/lib/help-round-icon/help-round-icon.component.d.ts +2 -2
  76. package/lib/help-round-icon/help-round-icon.types.d.ts +3 -2
  77. package/lib/home-icon/home-icon.component.d.ts +2 -2
  78. package/lib/home-icon/home-icon.types.d.ts +3 -2
  79. package/lib/{icon.styled.d.ts → icon.styles.d.ts} +1 -2
  80. package/lib/index.d.ts +1 -2
  81. package/lib/index.js +1 -1
  82. package/lib/index.js.map +1 -1
  83. package/lib/industry-icon/industry-icon.component.d.ts +2 -2
  84. package/lib/industry-icon/industry-icon.types.d.ts +3 -2
  85. package/lib/infinity-icon/infinity-icon.component.d.ts +2 -2
  86. package/lib/infinity-icon/infinity-icon.types.d.ts +3 -2
  87. package/lib/info-round-icon/info-round-icon.component.d.ts +2 -2
  88. package/lib/info-round-icon/info-round-icon.types.d.ts +3 -2
  89. package/lib/journey-icon/journey-icon.component.d.ts +2 -2
  90. package/lib/journey-icon/journey-icon.types.d.ts +3 -2
  91. package/lib/kebab-icon/kebab-icon.component.d.ts +2 -2
  92. package/lib/kebab-icon/kebab-icon.types.d.ts +3 -2
  93. package/lib/key-icon/key-icon.component.d.ts +2 -2
  94. package/lib/key-icon/key-icon.types.d.ts +3 -2
  95. package/lib/language-icon/language-icon.component.d.ts +2 -2
  96. package/lib/language-icon/language-icon.types.d.ts +3 -2
  97. package/lib/layers-icon/layers-icon.component.d.ts +2 -2
  98. package/lib/layers-icon/layers-icon.types.d.ts +3 -2
  99. package/lib/limit-icon/limit-icon.component.d.ts +2 -2
  100. package/lib/limit-icon/limit-icon.types.d.ts +3 -2
  101. package/lib/link-icon/link-icon.component.d.ts +2 -2
  102. package/lib/link-icon/link-icon.types.d.ts +3 -2
  103. package/lib/list-icon/list-icon.component.d.ts +2 -2
  104. package/lib/list-icon/list-icon.types.d.ts +3 -2
  105. package/lib/lock-icon/lock-icon.component.d.ts +2 -2
  106. package/lib/lock-icon/lock-icon.types.d.ts +3 -2
  107. package/lib/login-icon/login-icon.component.d.ts +2 -2
  108. package/lib/login-icon/login-icon.types.d.ts +3 -2
  109. package/lib/logout-icon/logout-icon.component.d.ts +2 -2
  110. package/lib/logout-icon/logout-icon.types.d.ts +3 -2
  111. package/lib/menu-icon/menu-icon.component.d.ts +2 -2
  112. package/lib/menu-icon/menu-icon.types.d.ts +3 -2
  113. package/lib/minus-icon/minus-icon.component.d.ts +2 -2
  114. package/lib/minus-icon/minus-icon.types.d.ts +3 -2
  115. package/lib/minus-round-icon/minus-round-icon.component.d.ts +2 -2
  116. package/lib/minus-round-icon/minus-round-icon.types.d.ts +3 -2
  117. package/lib/more-icon/more-icon.component.d.ts +2 -2
  118. package/lib/more-icon/more-icon.types.d.ts +3 -2
  119. package/lib/notification-icon/notification-icon.component.d.ts +2 -2
  120. package/lib/notification-icon/notification-icon.types.d.ts +3 -2
  121. package/lib/open-icon/open-icon.component.d.ts +2 -2
  122. package/lib/open-icon/open-icon.types.d.ts +3 -2
  123. package/lib/pause-round-icon/pause-round-icon.component.d.ts +2 -2
  124. package/lib/pause-round-icon/pause-round-icon.types.d.ts +3 -2
  125. package/lib/photo-icon/photo-icon.component.d.ts +2 -2
  126. package/lib/photo-icon/photo-icon.types.d.ts +3 -2
  127. package/lib/place-icon/place-icon.component.d.ts +2 -2
  128. package/lib/place-icon/place-icon.types.d.ts +3 -2
  129. package/lib/platform-logo-icon/platform-logo-icon.component.d.ts +2 -2
  130. package/lib/platform-logo-icon/platform-logo-icon.types.d.ts +3 -2
  131. package/lib/play-round-icon/play-round-icon.component.d.ts +2 -2
  132. package/lib/play-round-icon/play-round-icon.types.d.ts +3 -2
  133. package/lib/plugin-icon/plugin-icon.component.d.ts +2 -2
  134. package/lib/plugin-icon/plugin-icon.types.d.ts +3 -2
  135. package/lib/plus-icon/plus-icon.component.d.ts +2 -2
  136. package/lib/plus-icon/plus-icon.types.d.ts +3 -2
  137. package/lib/plus-round-icon/plus-round-icon.component.d.ts +2 -2
  138. package/lib/plus-round-icon/plus-round-icon.types.d.ts +3 -2
  139. package/lib/profile-icon/profile-icon.component.d.ts +2 -2
  140. package/lib/profile-icon/profile-icon.types.d.ts +3 -2
  141. package/lib/pulse-icon/pulse-icon.component.d.ts +2 -2
  142. package/lib/pulse-icon/pulse-icon.types.d.ts +3 -2
  143. package/lib/push-icon/push-icon.component.d.ts +2 -2
  144. package/lib/push-icon/push-icon.types.d.ts +3 -2
  145. package/lib/refresh-icon/refresh-icon.component.d.ts +2 -2
  146. package/lib/refresh-icon/refresh-icon.types.d.ts +3 -2
  147. package/lib/reload-icon/reload-icon.component.d.ts +2 -2
  148. package/lib/reload-icon/reload-icon.types.d.ts +3 -2
  149. package/lib/reward-icon/reward-icon.component.d.ts +2 -2
  150. package/lib/reward-icon/reward-icon.types.d.ts +3 -2
  151. package/lib/search-icon/search-icon.component.d.ts +2 -2
  152. package/lib/search-icon/search-icon.types.d.ts +3 -2
  153. package/lib/secure-icon/secure-icon.component.d.ts +2 -2
  154. package/lib/secure-icon/secure-icon.types.d.ts +3 -2
  155. package/lib/send-icon/send-icon.component.d.ts +2 -2
  156. package/lib/send-icon/send-icon.types.d.ts +3 -2
  157. package/lib/settings-icon/settings-icon.component.d.ts +2 -2
  158. package/lib/settings-icon/settings-icon.types.d.ts +3 -2
  159. package/lib/social-logo-icon/social-logo-icon.component.d.ts +2 -2
  160. package/lib/social-logo-icon/social-logo-icon.types.d.ts +3 -2
  161. package/lib/sort-icon/sort-icon.component.d.ts +2 -2
  162. package/lib/sort-icon/sort-icon.types.d.ts +3 -2
  163. package/lib/stats-icon/stats-icon.component.d.ts +2 -2
  164. package/lib/stats-icon/stats-icon.types.d.ts +3 -2
  165. package/lib/stop-icon/stop-icon.component.d.ts +2 -2
  166. package/lib/stop-icon/stop-icon.types.d.ts +3 -2
  167. package/lib/super-user-icon/super-user-icon.component.d.ts +2 -2
  168. package/lib/super-user-icon/super-user-icon.types.d.ts +3 -2
  169. package/lib/tag-icon/tag-icon.component.d.ts +2 -2
  170. package/lib/tag-icon/tag-icon.types.d.ts +3 -2
  171. package/lib/tiles-icon/tiles-icon.component.d.ts +2 -2
  172. package/lib/tiles-icon/tiles-icon.types.d.ts +3 -2
  173. package/lib/time-icon/time-icon.component.d.ts +2 -2
  174. package/lib/time-icon/time-icon.types.d.ts +3 -2
  175. package/lib/trash-icon/trash-icon.component.d.ts +2 -2
  176. package/lib/trash-icon/trash-icon.types.d.ts +3 -2
  177. package/lib/trophy-icon/trophy-icon.component.d.ts +2 -2
  178. package/lib/trophy-icon/trophy-icon.types.d.ts +3 -2
  179. package/lib/tutorial-icon/tutorial-icon.component.d.ts +2 -2
  180. package/lib/tutorial-icon/tutorial-icon.types.d.ts +3 -2
  181. package/lib/upload-icon/upload-icon.component.d.ts +2 -2
  182. package/lib/upload-icon/upload-icon.types.d.ts +3 -2
  183. package/lib/user-icon/user-icon.component.d.ts +2 -2
  184. package/lib/user-icon/user-icon.types.d.ts +3 -2
  185. package/lib/visibility-icon/visibility-icon.component.d.ts +2 -2
  186. package/lib/visibility-icon/visibility-icon.types.d.ts +3 -2
  187. package/lib/warning-round-icon/warning-round-icon.component.d.ts +2 -2
  188. package/lib/warning-round-icon/warning-round-icon.types.d.ts +3 -2
  189. package/lib/wizard-icon/wizard-icon.component.d.ts +2 -2
  190. package/lib/wizard-icon/wizard-icon.types.d.ts +3 -2
  191. package/lib/zoom-icon/zoom-icon.component.d.ts +2 -2
  192. package/lib/zoom-icon/zoom-icon.types.d.ts +3 -2
  193. package/package.json +1 -1
  194. package/lib/icon.types.d.ts +0 -5
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type ReloadIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type ReloadIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { RewardIconProps } from './reward-icon.types';
3
- export declare const RewardIcon: React.ForwardRefExoticComponent<Pick<RewardIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function RewardIcon(props: RewardIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type RewardIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type RewardIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { SearchIconProps } from './search-icon.types';
3
- export declare const SearchIcon: React.ForwardRefExoticComponent<Pick<SearchIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function SearchIcon(props: SearchIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type SearchIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type SearchIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { SecureIconProps } from './secure-icon.types';
3
- export declare const SecureIcon: React.ForwardRefExoticComponent<Pick<SecureIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function SecureIcon(props: SecureIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type SecureIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type SecureIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { SendIconProps } from './send-icon.types';
3
- export declare const SendIcon: React.ForwardRefExoticComponent<Pick<SendIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function SendIcon(props: SendIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type SendIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type SendIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { SettingsIconProps } from './settings-icon.types';
3
- export declare const SettingsIcon: React.ForwardRefExoticComponent<Pick<SettingsIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function SettingsIcon(props: SettingsIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type SettingsIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type SettingsIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { SocialLogoIconProps } from './social-logo-icon.types';
3
- export declare const SocialLogoIcon: React.ForwardRefExoticComponent<Pick<SocialLogoIconProps, "view" | "type" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function SocialLogoIcon(props: SocialLogoIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type SocialLogoIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type SocialLogoIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly type: 'facebook' | 'google' | 'linkedin' | 'twitter' | 'you-tube';
5
6
  readonly view: 'filled' | 'lined';
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { SortIconProps } from './sort-icon.types';
3
- export declare const SortIcon: React.ForwardRefExoticComponent<Pick<SortIconProps, "type" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function SortIcon(props: SortIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type SortIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type SortIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly type: 'asc' | 'desc' | 'not-sorted';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { StatsIconProps } from './stats-icon.types';
3
- export declare const StatsIcon: React.ForwardRefExoticComponent<Pick<StatsIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function StatsIcon(props: StatsIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type StatsIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type StatsIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { StopIconProps } from './stop-icon.types';
3
- export declare const StopIcon: React.ForwardRefExoticComponent<Pick<StopIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function StopIcon(props: StopIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type StopIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type StopIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { SuperUserIconProps } from './super-user-icon.types';
3
- export declare const SuperUserIcon: React.ForwardRefExoticComponent<Pick<SuperUserIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function SuperUserIcon(props: SuperUserIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type SuperUserIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type SuperUserIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { TagIconProps } from './tag-icon.types';
3
- export declare const TagIcon: React.ForwardRefExoticComponent<Pick<TagIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function TagIcon(props: TagIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type TagIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type TagIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { TilesIconProps } from './tiles-icon.types';
3
- export declare const TilesIcon: React.ForwardRefExoticComponent<Pick<TilesIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function TilesIcon(props: TilesIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type TilesIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type TilesIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { TimeIconProps } from './time-icon.types';
3
- export declare const TimeIcon: React.ForwardRefExoticComponent<Pick<TimeIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function TimeIcon(props: TimeIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type TimeIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type TimeIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { TrashIconProps } from './trash-icon.types';
3
- export declare const TrashIcon: React.ForwardRefExoticComponent<Pick<TrashIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function TrashIcon(props: TrashIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type TrashIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type TrashIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { TrophyIconProps } from './trophy-icon.types';
3
- export declare const TrophyIcon: React.ForwardRefExoticComponent<Pick<TrophyIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function TrophyIcon(props: TrophyIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type TrophyIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type TrophyIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { TutorialIconProps } from './tutorial-icon.types';
3
- export declare const TutorialIcon: React.ForwardRefExoticComponent<Pick<TutorialIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function TutorialIcon(props: TutorialIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type TutorialIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type TutorialIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { UploadIconProps } from './upload-icon.types';
3
- export declare const UploadIcon: React.ForwardRefExoticComponent<Pick<UploadIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function UploadIcon(props: UploadIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type UploadIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type UploadIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { UserIconProps } from './user-icon.types';
3
- export declare const UserIcon: React.ForwardRefExoticComponent<Pick<UserIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function UserIcon(props: UserIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type UserIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type UserIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { VisibilityIconProps } from './visibility-icon.types';
3
- export declare const VisibilityIcon: React.ForwardRefExoticComponent<Pick<VisibilityIconProps, "view" | "type" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function VisibilityIcon(props: VisibilityIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type VisibilityIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type VisibilityIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly type: 'invisible' | 'visible';
5
6
  readonly view: 'filled' | 'lined';
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { WarningRoundIconProps } from './warning-round-icon.types';
3
- export declare const WarningRoundIcon: React.ForwardRefExoticComponent<Pick<WarningRoundIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function WarningRoundIcon(props: WarningRoundIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type WarningRoundIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type WarningRoundIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { WizardIconProps } from './wizard-icon.types';
3
- export declare const WizardIcon: React.ForwardRefExoticComponent<Pick<WizardIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function WizardIcon(props: WizardIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type WizardIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type WizardIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly view: 'filled' | 'lined';
5
6
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { ZoomIconProps } from './zoom-icon.types';
3
- export declare const ZoomIcon: React.ForwardRefExoticComponent<Pick<ZoomIconProps, "view" | "type" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function ZoomIcon(props: ZoomIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type ZoomIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type ZoomIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
3
+ readonly boxRef?: React.Ref<HTMLDivElement>;
3
4
  readonly size: 'medium' | 'small';
4
5
  readonly type: 'zoom-in' | 'zoom-out';
5
6
  readonly view: 'filled' | 'lined';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/kit-icons",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "React component for build Pushwoosh products",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export declare type IconSize = 'small' | 'medium';
3
- export declare type IconProps = JSX.IntrinsicElements['div'] & {
4
- readonly color?: string;
5
- };