@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 FilterIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type FilterIconProps = 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 { FinishIconProps } from './finish-icon.types';
3
- export declare const FinishIcon: React.ForwardRefExoticComponent<Pick<FinishIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function FinishIcon(props: FinishIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type FinishIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type FinishIconProps = 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 { FlashIconProps } from './flash-icon.types';
3
- export declare const FlashIcon: React.ForwardRefExoticComponent<Pick<FlashIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function FlashIcon(props: FlashIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type FlashIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type FlashIconProps = 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 { FolderIconProps } from './folder-icon.types';
3
- export declare const FolderIcon: React.ForwardRefExoticComponent<Pick<FolderIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function FolderIcon(props: FolderIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type FolderIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type FolderIconProps = 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 { FunnelIconProps } from './funnel-icon.types';
3
- export declare const FunnelIcon: React.ForwardRefExoticComponent<Pick<FunnelIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function FunnelIcon(props: FunnelIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type FunnelIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type FunnelIconProps = 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 { HelpRoundIconProps } from './help-round-icon.types';
3
- export declare const HelpRoundIcon: React.ForwardRefExoticComponent<Pick<HelpRoundIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function HelpRoundIcon(props: HelpRoundIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type HelpRoundIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type HelpRoundIconProps = 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 { HomeIconProps } from './home-icon.types';
3
- export declare const HomeIcon: React.ForwardRefExoticComponent<Pick<HomeIconProps, "view" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "size"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare function HomeIcon(props: HomeIconProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- /// <reference types="react" />
2
- export declare type HomeIconProps = JSX.IntrinsicElements['div'] & {
1
+ import React from 'react';
2
+ export declare type HomeIconProps = 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,9 +1,8 @@
1
1
  import { UnitSize } from '@pushwoosh/kit-constants';
2
- import { IconSize } from './icon.types';
3
2
  export declare const SizeInPxByIconSizeMap: {
4
3
  small: UnitSize;
5
4
  medium: UnitSize;
6
5
  };
7
6
  export declare const IconBox: import("styled-components").StyledComponent<"div", any, {
8
- size: IconSize;
7
+ size: 'small' | 'medium';
9
8
  }, never>;
package/lib/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- export * from './icon.styled';
2
- export * from './icon.types';
1
+ export * from './icon.styles';
3
2
  export * from './arrow-icon';
4
3
  export * from './arrow-round-icon';
5
4
  export * from './attachment-icon';