@pushwoosh/kit-icons 2.0.6 → 2.0.8
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.
- package/arrow-icon/arrow-icon.component.js +21 -9
- package/arrow-icon/arrow-icon.types.js +1 -1
- package/arrow-icon/assets/index.js +1 -1
- package/arrow-icon/index.js +1 -1
- package/arrow-round-icon/arrow-round-icon.component.js +22 -9
- package/arrow-round-icon/arrow-round-icon.types.js +1 -1
- package/arrow-round-icon/assets/index.js +1 -1
- package/arrow-round-icon/index.js +1 -1
- package/attachment-icon/assets/index.js +1 -1
- package/attachment-icon/attachment-icon.component.js +21 -9
- package/attachment-icon/attachment-icon.types.js +1 -1
- package/attachment-icon/index.js +1 -1
- package/backup-icon/assets/index.js +1 -1
- package/backup-icon/backup-icon.component.js +21 -9
- package/backup-icon/backup-icon.types.js +1 -1
- package/backup-icon/index.js +1 -1
- package/billing-icon/assets/index.js +1 -1
- package/billing-icon/billing-icon.component.js +21 -9
- package/billing-icon/billing-icon.types.js +1 -1
- package/billing-icon/index.js +1 -1
- package/bookmark-icon/assets/index.js +1 -1
- package/bookmark-icon/bookmark-icon.component.js +21 -9
- package/bookmark-icon/bookmark-icon.types.js +1 -1
- package/bookmark-icon/index.js +1 -1
- package/box-icon/assets/index.js +1 -1
- package/box-icon/box-icon.component.js +21 -9
- package/box-icon/box-icon.types.js +1 -1
- package/box-icon/index.js +1 -1
- package/bullet-icon/assets/index.js +1 -1
- package/bullet-icon/bullet-icon.component.js +22 -9
- package/bullet-icon/bullet-icon.types.js +1 -1
- package/bullet-icon/index.js +1 -1
- package/calendar-icon/assets/index.js +1 -1
- package/calendar-icon/calendar-icon.component.js +21 -9
- package/calendar-icon/calendar-icon.types.js +1 -1
- package/calendar-icon/index.js +1 -1
- package/certificate-icon/assets/index.js +1 -1
- package/certificate-icon/certificate-icon.component.js +21 -9
- package/certificate-icon/certificate-icon.types.js +1 -1
- package/certificate-icon/index.js +1 -1
- package/change-icon/assets/index.js +1 -1
- package/change-icon/change-icon.component.js +21 -9
- package/change-icon/change-icon.types.js +1 -1
- package/change-icon/index.js +1 -1
- package/check-icon/assets/index.js +1 -1
- package/check-icon/check-icon.component.js +20 -9
- package/check-icon/check-icon.types.js +1 -1
- package/check-icon/index.js +1 -1
- package/check-round-icon/assets/index.js +1 -1
- package/check-round-icon/check-round-icon.component.js +22 -9
- package/check-round-icon/check-round-icon.types.js +1 -1
- package/check-round-icon/index.js +1 -1
- package/chevron-icon/assets/index.js +1 -1
- package/chevron-icon/chevron-icon.component.js +21 -9
- package/chevron-icon/chevron-icon.types.js +1 -1
- package/chevron-icon/index.js +1 -1
- package/close-icon/assets/index.js +1 -1
- package/close-icon/close-icon.component.js +20 -9
- package/close-icon/close-icon.types.js +1 -1
- package/close-icon/index.js +1 -1
- package/close-round-icon/assets/index.js +1 -1
- package/close-round-icon/close-round-icon.component.js +21 -9
- package/close-round-icon/close-round-icon.types.js +1 -1
- package/close-round-icon/index.js +1 -1
- package/cloud-icon/assets/index.js +1 -1
- package/cloud-icon/cloud-icon.component.js +21 -9
- package/cloud-icon/cloud-icon.types.js +1 -1
- package/cloud-icon/index.js +1 -1
- package/collapse-icon/assets/index.js +1 -1
- package/collapse-icon/collapse-icon.component.js +21 -9
- package/collapse-icon/collapse-icon.types.js +1 -1
- package/collapse-icon/index.js +1 -1
- package/color-icon/assets/index.js +1 -1
- package/color-icon/color-icon.component.js +21 -9
- package/color-icon/color-icon.types.js +1 -1
- package/color-icon/index.js +1 -1
- package/comment-icon/assets/index.js +1 -1
- package/comment-icon/comment-icon.component.js +21 -9
- package/comment-icon/comment-icon.types.js +1 -1
- package/comment-icon/index.js +1 -1
- package/copy-icon/assets/index.js +1 -1
- package/copy-icon/copy-icon.component.js +21 -9
- package/copy-icon/copy-icon.types.js +1 -1
- package/copy-icon/index.js +1 -1
- package/danger-triangle-icon/assets/index.js +1 -1
- package/danger-triangle-icon/danger-triangle-icon.component.js +21 -9
- package/danger-triangle-icon/danger-triangle-icon.types.js +1 -1
- package/danger-triangle-icon/index.js +1 -1
- package/device-icon/assets/index.js +1 -1
- package/device-icon/device-icon.component.js +22 -9
- package/device-icon/device-icon.types.js +1 -1
- package/device-icon/index.js +1 -1
- package/docs-icon/assets/index.js +1 -1
- package/docs-icon/docs-icon.component.js +21 -9
- package/docs-icon/docs-icon.types.js +1 -1
- package/docs-icon/index.js +1 -1
- package/document-icon/assets/index.js +1 -1
- package/document-icon/document-icon.component.js +21 -9
- package/document-icon/document-icon.types.js +1 -1
- package/document-icon/index.js +1 -1
- package/double-chevron-icon/assets/index.js +1 -1
- package/double-chevron-icon/double-chevron-icon.component.js +21 -9
- package/double-chevron-icon/double-chevron-icon.types.js +1 -1
- package/double-chevron-icon/index.js +1 -1
- package/download-icon/assets/index.js +1 -1
- package/download-icon/download-icon.component.js +21 -9
- package/download-icon/download-icon.types.js +1 -1
- package/download-icon/index.js +1 -1
- package/drag-icon/assets/index.js +1 -1
- package/drag-icon/drag-icon.component.js +20 -9
- package/drag-icon/drag-icon.types.js +1 -1
- package/drag-icon/index.js +1 -1
- package/dropdown-icon/assets/index.js +1 -1
- package/dropdown-icon/dropdown-icon.component.js +21 -9
- package/dropdown-icon/dropdown-icon.types.js +1 -1
- package/dropdown-icon/index.js +1 -1
- package/edit-icon/assets/index.js +1 -1
- package/edit-icon/edit-icon.component.js +21 -9
- package/edit-icon/edit-icon.types.js +1 -1
- package/edit-icon/index.js +1 -1
- package/email-icon/assets/index.js +1 -1
- package/email-icon/email-icon.component.js +21 -9
- package/email-icon/email-icon.types.js +1 -1
- package/email-icon/index.js +1 -1
- package/emoji-icon/assets/index.js +1 -1
- package/emoji-icon/emoji-icon.component.js +21 -9
- package/emoji-icon/emoji-icon.types.js +1 -1
- package/emoji-icon/index.js +1 -1
- package/expand-icon/assets/index.js +1 -1
- package/expand-icon/expand-icon.component.js +21 -9
- package/expand-icon/expand-icon.types.js +1 -1
- package/expand-icon/index.js +1 -1
- package/filter-icon/assets/index.js +1 -1
- package/filter-icon/filter-icon.component.js +21 -9
- package/filter-icon/filter-icon.types.js +1 -1
- package/filter-icon/index.js +1 -1
- package/finish-icon/assets/index.js +1 -1
- package/finish-icon/finish-icon.component.js +21 -9
- package/finish-icon/finish-icon.types.js +1 -1
- package/finish-icon/index.js +1 -1
- package/flash-icon/assets/index.js +1 -1
- package/flash-icon/flash-icon.component.js +21 -9
- package/flash-icon/flash-icon.types.js +1 -1
- package/flash-icon/index.js +1 -1
- package/folder-icon/assets/index.js +1 -1
- package/folder-icon/folder-icon.component.js +21 -9
- package/folder-icon/folder-icon.types.js +1 -1
- package/folder-icon/index.js +1 -1
- package/funnel-icon/assets/index.js +1 -1
- package/funnel-icon/funnel-icon.component.js +21 -9
- package/funnel-icon/funnel-icon.types.js +1 -1
- package/funnel-icon/index.js +1 -1
- package/help-round-icon/assets/index.js +1 -1
- package/help-round-icon/help-round-icon.component.js +21 -9
- package/help-round-icon/help-round-icon.types.js +1 -1
- package/help-round-icon/index.js +1 -1
- package/history-icon/assets/index.js +1 -1
- package/history-icon/history-icon.component.js +21 -9
- package/history-icon/history-icon.types.js +1 -1
- package/history-icon/index.js +1 -1
- package/home-icon/assets/index.js +1 -1
- package/home-icon/home-icon.component.js +21 -9
- package/home-icon/home-icon.types.js +1 -1
- package/home-icon/index.js +1 -1
- package/icon.styles.js +14 -15
- package/image-icon/assets/index.js +1 -1
- package/image-icon/image-icon.component.js +21 -9
- package/image-icon/image-icon.types.js +1 -1
- package/image-icon/index.js +1 -1
- package/index.js +1 -1
- package/industry-icon/assets/index.js +1 -1
- package/industry-icon/index.js +1 -1
- package/industry-icon/industry-icon.component.js +21 -9
- package/industry-icon/industry-icon.types.js +1 -1
- package/infinity-icon/assets/index.js +1 -1
- package/infinity-icon/index.js +1 -1
- package/infinity-icon/infinity-icon.component.js +21 -9
- package/infinity-icon/infinity-icon.types.js +1 -1
- package/info-round-icon/assets/index.js +1 -1
- package/info-round-icon/index.js +1 -1
- package/info-round-icon/info-round-icon.component.js +21 -9
- package/info-round-icon/info-round-icon.types.js +1 -1
- package/journey-icon/assets/index.js +1 -1
- package/journey-icon/index.js +1 -1
- package/journey-icon/journey-icon.component.js +21 -9
- package/journey-icon/journey-icon.types.js +1 -1
- package/kebab-icon/assets/index.js +1 -1
- package/kebab-icon/index.js +1 -1
- package/kebab-icon/kebab-icon.component.js +20 -9
- package/kebab-icon/kebab-icon.types.js +1 -1
- package/key-icon/assets/index.js +1 -1
- package/key-icon/index.js +1 -1
- package/key-icon/key-icon.component.js +21 -9
- package/key-icon/key-icon.types.js +1 -1
- package/language-icon/assets/index.js +1 -1
- package/language-icon/index.js +1 -1
- package/language-icon/language-icon.component.js +21 -9
- package/language-icon/language-icon.types.js +1 -1
- package/layers-icon/assets/index.js +1 -1
- package/layers-icon/index.js +1 -1
- package/layers-icon/layers-icon.component.js +21 -9
- package/layers-icon/layers-icon.types.js +1 -1
- package/limit-icon/assets/index.js +1 -1
- package/limit-icon/index.js +1 -1
- package/limit-icon/limit-icon.component.js +21 -9
- package/limit-icon/limit-icon.types.js +1 -1
- package/link-icon/assets/index.js +1 -1
- package/link-icon/index.js +1 -1
- package/link-icon/link-icon.component.js +21 -9
- package/link-icon/link-icon.types.js +1 -1
- package/list-icon/assets/index.js +1 -1
- package/list-icon/index.js +1 -1
- package/list-icon/list-icon.component.js +21 -9
- package/list-icon/list-icon.types.js +1 -1
- package/lock-icon/assets/index.js +1 -1
- package/lock-icon/index.js +1 -1
- package/lock-icon/lock-icon.component.js +21 -9
- package/lock-icon/lock-icon.types.js +1 -1
- package/login-icon/assets/index.js +1 -1
- package/login-icon/index.js +1 -1
- package/login-icon/login-icon.component.js +21 -9
- package/login-icon/login-icon.types.js +1 -1
- package/logout-icon/assets/index.js +1 -1
- package/logout-icon/index.js +1 -1
- package/logout-icon/logout-icon.component.js +21 -9
- package/logout-icon/logout-icon.types.js +1 -1
- package/menu-icon/assets/index.js +1 -1
- package/menu-icon/index.js +1 -1
- package/menu-icon/menu-icon.component.js +20 -9
- package/menu-icon/menu-icon.types.js +1 -1
- package/minus-icon/assets/index.js +1 -1
- package/minus-icon/index.js +1 -1
- package/minus-icon/minus-icon.component.js +20 -9
- package/minus-icon/minus-icon.types.js +1 -1
- package/minus-round-icon/assets/index.js +1 -1
- package/minus-round-icon/index.js +1 -1
- package/minus-round-icon/minus-round-icon.component.js +21 -9
- package/minus-round-icon/minus-round-icon.types.js +1 -1
- package/more-icon/assets/index.js +1 -1
- package/more-icon/index.js +1 -1
- package/more-icon/more-icon.component.js +20 -9
- package/more-icon/more-icon.types.js +1 -1
- package/notes-list-icon/assets/index.js +1 -1
- package/notes-list-icon/index.js +1 -1
- package/notes-list-icon/notes-list-icon.component.js +21 -9
- package/notes-list-icon/notes-list-icon.types.js +1 -1
- package/notification-icon/assets/index.js +1 -1
- package/notification-icon/index.js +1 -1
- package/notification-icon/notification-icon.component.js +22 -9
- package/notification-icon/notification-icon.types.js +1 -1
- package/open-icon/assets/index.js +1 -1
- package/open-icon/index.js +1 -1
- package/open-icon/open-icon.component.js +21 -9
- package/open-icon/open-icon.types.js +1 -1
- package/package.json +8 -40
- package/pause-round-icon/assets/index.js +1 -1
- package/pause-round-icon/index.js +1 -1
- package/pause-round-icon/pause-round-icon.component.js +21 -9
- package/pause-round-icon/pause-round-icon.types.js +1 -1
- package/photo-icon/assets/index.js +1 -1
- package/photo-icon/index.js +1 -1
- package/photo-icon/photo-icon.component.js +21 -9
- package/photo-icon/photo-icon.types.js +1 -1
- package/place-icon/assets/index.js +1 -1
- package/place-icon/index.js +1 -1
- package/place-icon/place-icon.component.js +21 -9
- package/place-icon/place-icon.types.js +1 -1
- package/platform-logo-icon/assets/index.js +1 -1
- package/platform-logo-icon/index.js +1 -1
- package/platform-logo-icon/platform-logo-icon.component.js +26 -10
- package/platform-logo-icon/platform-logo-icon.types.js +1 -1
- package/play-round-icon/assets/index.js +1 -1
- package/play-round-icon/index.js +1 -1
- package/play-round-icon/play-round-icon.component.js +21 -9
- package/play-round-icon/play-round-icon.types.js +1 -1
- package/plugin-icon/assets/index.js +1 -1
- package/plugin-icon/index.js +1 -1
- package/plugin-icon/plugin-icon.component.js +21 -9
- package/plugin-icon/plugin-icon.types.js +1 -1
- package/plus-icon/assets/index.js +1 -1
- package/plus-icon/index.js +1 -1
- package/plus-icon/plus-icon.component.js +20 -9
- package/plus-icon/plus-icon.types.js +1 -1
- package/plus-round-icon/assets/index.js +1 -1
- package/plus-round-icon/index.js +1 -1
- package/plus-round-icon/plus-round-icon.component.js +21 -9
- package/plus-round-icon/plus-round-icon.types.js +1 -1
- package/profile-icon/assets/index.js +1 -1
- package/profile-icon/index.js +1 -1
- package/profile-icon/profile-icon.component.js +21 -9
- package/profile-icon/profile-icon.types.js +1 -1
- package/pulse-icon/assets/index.js +1 -1
- package/pulse-icon/index.js +1 -1
- package/pulse-icon/pulse-icon.component.js +21 -9
- package/pulse-icon/pulse-icon.types.js +1 -1
- package/push-icon/assets/index.js +1 -1
- package/push-icon/index.js +1 -1
- package/push-icon/push-icon.component.js +21 -9
- package/push-icon/push-icon.types.js +1 -1
- package/refresh-icon/assets/index.js +1 -1
- package/refresh-icon/index.js +1 -1
- package/refresh-icon/refresh-icon.component.js +21 -9
- package/refresh-icon/refresh-icon.types.js +1 -1
- package/reload-icon/assets/index.js +1 -1
- package/reload-icon/index.js +1 -1
- package/reload-icon/reload-icon.component.js +21 -9
- package/reload-icon/reload-icon.types.js +1 -1
- package/reward-icon/assets/index.js +1 -1
- package/reward-icon/index.js +1 -1
- package/reward-icon/reward-icon.component.js +21 -9
- package/reward-icon/reward-icon.types.js +1 -1
- package/search-icon/assets/index.js +1 -1
- package/search-icon/index.js +1 -1
- package/search-icon/search-icon.component.js +21 -9
- package/search-icon/search-icon.types.js +1 -1
- package/secure-icon/assets/index.js +1 -1
- package/secure-icon/index.js +1 -1
- package/secure-icon/secure-icon.component.js +21 -9
- package/secure-icon/secure-icon.types.js +1 -1
- package/send-icon/assets/index.js +1 -1
- package/send-icon/index.js +1 -1
- package/send-icon/send-icon.component.js +21 -9
- package/send-icon/send-icon.types.js +1 -1
- package/settings-icon/assets/index.js +1 -1
- package/settings-icon/index.js +1 -1
- package/settings-icon/settings-icon.component.js +21 -9
- package/settings-icon/settings-icon.types.js +1 -1
- package/social-logo-icon/assets/index.js +1 -1
- package/social-logo-icon/index.js +1 -1
- package/social-logo-icon/social-logo-icon.component.js +22 -9
- package/social-logo-icon/social-logo-icon.types.js +1 -1
- package/sort-icon/assets/index.js +1 -1
- package/sort-icon/index.js +1 -1
- package/sort-icon/sort-icon.component.js +21 -9
- package/sort-icon/sort-icon.types.js +1 -1
- package/stats-icon/assets/index.js +1 -1
- package/stats-icon/index.js +1 -1
- package/stats-icon/stats-icon.component.js +21 -9
- package/stats-icon/stats-icon.types.js +1 -1
- package/stop-icon/assets/index.js +1 -1
- package/stop-icon/index.js +1 -1
- package/stop-icon/stop-icon.component.js +21 -9
- package/stop-icon/stop-icon.types.js +1 -1
- package/super-user-icon/assets/index.js +1 -1
- package/super-user-icon/index.js +1 -1
- package/super-user-icon/super-user-icon.component.js +21 -9
- package/super-user-icon/super-user-icon.types.js +1 -1
- package/tag-icon/assets/index.js +1 -1
- package/tag-icon/index.js +1 -1
- package/tag-icon/tag-icon.component.js +21 -9
- package/tag-icon/tag-icon.types.js +1 -1
- package/tiles-icon/assets/index.js +1 -1
- package/tiles-icon/index.js +1 -1
- package/tiles-icon/tiles-icon.component.js +21 -9
- package/tiles-icon/tiles-icon.types.js +1 -1
- package/time-icon/assets/index.js +1 -1
- package/time-icon/index.js +1 -1
- package/time-icon/time-icon.component.js +21 -9
- package/time-icon/time-icon.types.js +1 -1
- package/trash-icon/assets/index.js +1 -1
- package/trash-icon/index.js +1 -1
- package/trash-icon/trash-icon.component.js +21 -9
- package/trash-icon/trash-icon.types.js +1 -1
- package/trophy-icon/assets/index.js +1 -1
- package/trophy-icon/index.js +1 -1
- package/trophy-icon/trophy-icon.component.js +21 -9
- package/trophy-icon/trophy-icon.types.js +1 -1
- package/tutorial-icon/assets/index.js +1 -1
- package/tutorial-icon/index.js +1 -1
- package/tutorial-icon/tutorial-icon.component.js +21 -9
- package/tutorial-icon/tutorial-icon.types.js +1 -1
- package/upload-icon/assets/index.js +1 -1
- package/upload-icon/index.js +1 -1
- package/upload-icon/upload-icon.component.js +21 -9
- package/upload-icon/upload-icon.types.js +1 -1
- package/user-icon/assets/index.js +1 -1
- package/user-icon/index.js +1 -1
- package/user-icon/user-icon.component.js +21 -9
- package/user-icon/user-icon.types.js +1 -1
- package/visibility-icon/assets/index.js +1 -1
- package/visibility-icon/index.js +1 -1
- package/visibility-icon/visibility-icon.component.js +22 -9
- package/visibility-icon/visibility-icon.types.js +1 -1
- package/warning-round-icon/assets/index.js +1 -1
- package/warning-round-icon/index.js +1 -1
- package/warning-round-icon/warning-round-icon.component.js +21 -9
- package/warning-round-icon/warning-round-icon.types.js +1 -1
- package/wizard-icon/assets/index.js +1 -1
- package/wizard-icon/index.js +1 -1
- package/wizard-icon/wizard-icon.component.js +21 -9
- package/wizard-icon/wizard-icon.types.js +1 -1
- package/zoom-icon/assets/index.js +1 -1
- package/zoom-icon/index.js +1 -1
- package/zoom-icon/zoom-icon.component.js +22 -9
- package/zoom-icon/zoom-icon.types.js +1 -1
|
@@ -2,12 +2,23 @@ import React from 'react';
|
|
|
2
2
|
import { IconBox } from '../icon.styles';
|
|
3
3
|
import { AssetMap } from './assets';
|
|
4
4
|
export function MenuIcon(props) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
const {
|
|
6
|
+
boxRef,
|
|
7
|
+
size,
|
|
8
|
+
...rest
|
|
9
|
+
} = props;
|
|
10
|
+
const Icon = AssetMap[size];
|
|
11
|
+
if (Icon == null) {
|
|
12
|
+
console.error('[MenuIcon]: Icon not found!');
|
|
13
|
+
return React.createElement(IconBox, {
|
|
14
|
+
...rest,
|
|
15
|
+
size: size,
|
|
16
|
+
ref: boxRef
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
return React.createElement(IconBox, {
|
|
20
|
+
...rest,
|
|
21
|
+
size: size,
|
|
22
|
+
ref: boxRef
|
|
23
|
+
}, React.createElement(Icon, null));
|
|
24
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/minus-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './minus-icon.component';
|
|
2
|
-
export * from './minus-icon.types';
|
|
2
|
+
export * from './minus-icon.types';
|
|
@@ -2,12 +2,23 @@ import React from 'react';
|
|
|
2
2
|
import { IconBox } from '../icon.styles';
|
|
3
3
|
import { AssetMap } from './assets';
|
|
4
4
|
export function MinusIcon(props) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
const {
|
|
6
|
+
boxRef,
|
|
7
|
+
size,
|
|
8
|
+
...rest
|
|
9
|
+
} = props;
|
|
10
|
+
const Icon = AssetMap[size];
|
|
11
|
+
if (Icon == null) {
|
|
12
|
+
console.error('[MinusIcon]: Icon not found!');
|
|
13
|
+
return React.createElement(IconBox, {
|
|
14
|
+
...rest,
|
|
15
|
+
size: size,
|
|
16
|
+
ref: boxRef
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
return React.createElement(IconBox, {
|
|
20
|
+
...rest,
|
|
21
|
+
size: size,
|
|
22
|
+
ref: boxRef
|
|
23
|
+
}, React.createElement(Icon, null));
|
|
24
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -5,7 +5,7 @@ import MinusRoundMediumFilledIcon from "./name_minus_round_size_medium_view_fill
|
|
|
5
5
|
import MinusRoundMediumLinedIcon from "./name_minus_round_size_medium_view_lined.js";
|
|
6
6
|
import MinusRoundSmallFilledIcon from "./name_minus_round_size_small_view_filled.js";
|
|
7
7
|
import MinusRoundSmallLinedIcon from "./name_minus_round_size_small_view_lined.js";
|
|
8
|
-
export
|
|
8
|
+
export const AssetMap = {
|
|
9
9
|
'medium': {
|
|
10
10
|
'filled': MinusRoundMediumFilledIcon,
|
|
11
11
|
'lined': MinusRoundMediumLinedIcon
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './minus-round-icon.component';
|
|
2
|
-
export * from './minus-round-icon.types';
|
|
2
|
+
export * from './minus-round-icon.types';
|
|
@@ -2,12 +2,24 @@ import React from 'react';
|
|
|
2
2
|
import { IconBox } from '../icon.styles';
|
|
3
3
|
import { AssetMap } from './assets';
|
|
4
4
|
export function MinusRoundIcon(props) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
const {
|
|
6
|
+
boxRef,
|
|
7
|
+
size,
|
|
8
|
+
view,
|
|
9
|
+
...rest
|
|
10
|
+
} = props;
|
|
11
|
+
const Icon = AssetMap[size][view];
|
|
12
|
+
if (Icon == null) {
|
|
13
|
+
console.error('[MinusRoundIcon]: Icon not found!');
|
|
14
|
+
return React.createElement(IconBox, {
|
|
15
|
+
...rest,
|
|
16
|
+
size: size,
|
|
17
|
+
ref: boxRef
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return React.createElement(IconBox, {
|
|
21
|
+
...rest,
|
|
22
|
+
size: size,
|
|
23
|
+
ref: boxRef
|
|
24
|
+
}, React.createElement(Icon, null));
|
|
25
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/more-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './more-icon.component';
|
|
2
|
-
export * from './more-icon.types';
|
|
2
|
+
export * from './more-icon.types';
|
|
@@ -2,12 +2,23 @@ import React from 'react';
|
|
|
2
2
|
import { IconBox } from '../icon.styles';
|
|
3
3
|
import { AssetMap } from './assets';
|
|
4
4
|
export function MoreIcon(props) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
const {
|
|
6
|
+
boxRef,
|
|
7
|
+
size,
|
|
8
|
+
...rest
|
|
9
|
+
} = props;
|
|
10
|
+
const Icon = AssetMap[size];
|
|
11
|
+
if (Icon == null) {
|
|
12
|
+
console.error('[MoreIcon]: Icon not found!');
|
|
13
|
+
return React.createElement(IconBox, {
|
|
14
|
+
...rest,
|
|
15
|
+
size: size,
|
|
16
|
+
ref: boxRef
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
return React.createElement(IconBox, {
|
|
20
|
+
...rest,
|
|
21
|
+
size: size,
|
|
22
|
+
ref: boxRef
|
|
23
|
+
}, React.createElement(Icon, null));
|
|
24
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/notes-list-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './notes-list-icon.component';
|
|
2
|
-
export * from './notes-list-icon.types';
|
|
2
|
+
export * from './notes-list-icon.types';
|
|
@@ -2,12 +2,24 @@ import React from 'react';
|
|
|
2
2
|
import { IconBox } from '../icon.styles';
|
|
3
3
|
import { AssetMap } from './assets';
|
|
4
4
|
export function NotesListIcon(props) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
const {
|
|
6
|
+
boxRef,
|
|
7
|
+
size,
|
|
8
|
+
view,
|
|
9
|
+
...rest
|
|
10
|
+
} = props;
|
|
11
|
+
const Icon = AssetMap[size][view];
|
|
12
|
+
if (Icon == null) {
|
|
13
|
+
console.error('[NotesListIcon]: Icon not found!');
|
|
14
|
+
return React.createElement(IconBox, {
|
|
15
|
+
...rest,
|
|
16
|
+
size: size,
|
|
17
|
+
ref: boxRef
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return React.createElement(IconBox, {
|
|
21
|
+
...rest,
|
|
22
|
+
size: size,
|
|
23
|
+
ref: boxRef
|
|
24
|
+
}, React.createElement(Icon, null));
|
|
25
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -13,7 +13,7 @@ import NotificationSmallEnabledFilledIcon from "./name_notification_size_small_t
|
|
|
13
13
|
import NotificationSmallEnabledLinedIcon from "./name_notification_size_small_type_enabled_view_lined.js";
|
|
14
14
|
import NotificationSmallSilentFilledIcon from "./name_notification_size_small_type_silent_view_filled.js";
|
|
15
15
|
import NotificationSmallSilentLinedIcon from "./name_notification_size_small_type_silent_view_lined.js";
|
|
16
|
-
export
|
|
16
|
+
export const AssetMap = {
|
|
17
17
|
'medium': {
|
|
18
18
|
'disabled': {
|
|
19
19
|
'filled': NotificationMediumDisabledFilledIcon,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './notification-icon.component';
|
|
2
|
-
export * from './notification-icon.types';
|
|
2
|
+
export * from './notification-icon.types';
|
|
@@ -2,12 +2,25 @@ import React from 'react';
|
|
|
2
2
|
import { IconBox } from '../icon.styles';
|
|
3
3
|
import { AssetMap } from './assets';
|
|
4
4
|
export function NotificationIcon(props) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
const {
|
|
6
|
+
boxRef,
|
|
7
|
+
size,
|
|
8
|
+
type,
|
|
9
|
+
view,
|
|
10
|
+
...rest
|
|
11
|
+
} = props;
|
|
12
|
+
const Icon = AssetMap[size][type][view];
|
|
13
|
+
if (Icon == null) {
|
|
14
|
+
console.error('[NotificationIcon]: Icon not found!');
|
|
15
|
+
return React.createElement(IconBox, {
|
|
16
|
+
...rest,
|
|
17
|
+
size: size,
|
|
18
|
+
ref: boxRef
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return React.createElement(IconBox, {
|
|
22
|
+
...rest,
|
|
23
|
+
size: size,
|
|
24
|
+
ref: boxRef
|
|
25
|
+
}, React.createElement(Icon, null));
|
|
26
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import OpenMediumFilledIcon from "./name_open_size_medium_view_filled.js";
|
|
5
5
|
import OpenMediumLinedIcon from "./name_open_size_medium_view_lined.js";
|
|
6
6
|
import OpenSmallLinedIcon from "./name_open_size_small_view_lined.js";
|
|
7
|
-
export
|
|
7
|
+
export const AssetMap = {
|
|
8
8
|
'medium': {
|
|
9
9
|
'filled': OpenMediumFilledIcon,
|
|
10
10
|
'lined': OpenMediumLinedIcon
|
package/open-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './open-icon.component';
|
|
2
|
-
export * from './open-icon.types';
|
|
2
|
+
export * from './open-icon.types';
|
|
@@ -2,12 +2,24 @@ import React from 'react';
|
|
|
2
2
|
import { IconBox } from '../icon.styles';
|
|
3
3
|
import { AssetMap } from './assets';
|
|
4
4
|
export function OpenIcon(props) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
const {
|
|
6
|
+
boxRef,
|
|
7
|
+
size,
|
|
8
|
+
view,
|
|
9
|
+
...rest
|
|
10
|
+
} = props;
|
|
11
|
+
const Icon = AssetMap[size][view];
|
|
12
|
+
if (Icon == null) {
|
|
13
|
+
console.error('[OpenIcon]: Icon not found!');
|
|
14
|
+
return React.createElement(IconBox, {
|
|
15
|
+
...rest,
|
|
16
|
+
size: size,
|
|
17
|
+
ref: boxRef
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return React.createElement(IconBox, {
|
|
21
|
+
...rest,
|
|
22
|
+
size: size,
|
|
23
|
+
ref: boxRef
|
|
24
|
+
}, React.createElement(Icon, null));
|
|
25
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pushwoosh/kit-icons",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"description": "React component for build Pushwoosh products",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -8,23 +8,15 @@
|
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"scripts": {
|
|
10
10
|
"start": "npm run playground",
|
|
11
|
-
"build": "
|
|
12
|
-
"playground": "
|
|
13
|
-
"
|
|
14
|
-
"production:icons": "cross-env NODE_ENV=production node ./scripts/bundleSVG.js",
|
|
15
|
-
"copy:pckg": "cp package.json dist/ && cp .npmrc dist/",
|
|
16
|
-
"check": "npm run check:css && npm run check:lint && npm run check:types",
|
|
17
|
-
"check:css": "stylelint './**/*.(js|jsx|ts|tsx)'",
|
|
11
|
+
"build": "pushwoosh-engine lib:build && node ./scripts/bundleSVG.js",
|
|
12
|
+
"playground": "pushwoosh-engine lib:playground",
|
|
13
|
+
"check": "npm run check:lint && npm run check:types",
|
|
18
14
|
"check:lint": "echo \"Run check:lint\" && eslint .",
|
|
19
|
-
"check:types": "echo \"Run check:types\" &&
|
|
15
|
+
"check:types": "echo \"Run check:types\" && pushwoosh-engine lib:check-types"
|
|
20
16
|
},
|
|
21
17
|
"pre-commit": "check",
|
|
22
18
|
"devDependencies": {
|
|
23
|
-
"@
|
|
24
|
-
"@babel/plugin-transform-runtime": "^7.16.5",
|
|
25
|
-
"@babel/preset-env": "^7.16.5",
|
|
26
|
-
"@babel/preset-react": "^7.24.1",
|
|
27
|
-
"@babel/runtime-corejs3": "^7.16.5",
|
|
19
|
+
"@pushwoosh/frontend-builder-engine": "^0.1.4",
|
|
28
20
|
"@pushwoosh/kit-typography": "^1.0.0",
|
|
29
21
|
"@svgr/cli": "^8.1.0",
|
|
30
22
|
"@svgr/core": "^8.1.0",
|
|
@@ -32,16 +24,9 @@
|
|
|
32
24
|
"@types/react": "^16.14.21",
|
|
33
25
|
"@types/react-dom": "^16.9.14",
|
|
34
26
|
"@types/styled-components": "^5.1.18",
|
|
35
|
-
"@types/webpack-env": "^1.16.3",
|
|
36
27
|
"@typescript-eslint/eslint-plugin": "^7.3.1",
|
|
37
28
|
"@typescript-eslint/parser": "^7.3.1",
|
|
38
|
-
"babel-loader": "^9.1.3",
|
|
39
|
-
"babel-plugin-styled-components": "^2.0.2",
|
|
40
|
-
"clean-webpack-plugin": "^4.0.0",
|
|
41
29
|
"colors": "^1.4.0",
|
|
42
|
-
"commander": "^7.2.0",
|
|
43
|
-
"core-js": "^3.20.0",
|
|
44
|
-
"cross-env": "^7.0.3",
|
|
45
30
|
"ejs": "^3.1.6",
|
|
46
31
|
"eslint": "^8.57.0",
|
|
47
32
|
"eslint-config-airbnb": "^19.0.4",
|
|
@@ -52,36 +37,19 @@
|
|
|
52
37
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
53
38
|
"eslint-plugin-react": "^7.27.1",
|
|
54
39
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
55
|
-
"glob": "8.1.0",
|
|
56
|
-
"html-webpack-plugin": "^5.6.0",
|
|
57
40
|
"lodash": "^4.17.21",
|
|
58
41
|
"pre-commit": "^1.2.2",
|
|
59
42
|
"react": "^16.14.0",
|
|
60
43
|
"react-dom": "^16.14.0",
|
|
61
|
-
"react-refresh": "^0.14.0",
|
|
62
44
|
"styled-components": "^5.3.3",
|
|
63
|
-
"
|
|
64
|
-
"stylelint-config-standard": "^22.0.0",
|
|
65
|
-
"stylelint-config-styled-components": "^0.1.1",
|
|
66
|
-
"stylelint-processor-styled-components": "^1.10.0",
|
|
67
|
-
"ts-loader": "^9.5.1",
|
|
68
|
-
"tslib": "^2.3.1",
|
|
69
|
-
"typescript": "^5.4.2",
|
|
70
|
-
"webpack": "^5.90.3",
|
|
71
|
-
"webpack-cli": "^5.1.4",
|
|
72
|
-
"webpack-dev-server": "^5.0.4",
|
|
73
|
-
"webpack-merge": "^5.8.0"
|
|
45
|
+
"webpack-merge": "^5.10.0"
|
|
74
46
|
},
|
|
75
47
|
"peerDependencies": {
|
|
76
48
|
"react": ">= 16.14.0",
|
|
77
49
|
"styled-components": ">=5.3.3"
|
|
78
50
|
},
|
|
79
|
-
"overrides": {
|
|
80
|
-
"minimatch": "5.1.2",
|
|
81
|
-
"glob": "8.1.0"
|
|
82
|
-
},
|
|
83
51
|
"engines": {
|
|
84
|
-
"node": ">=
|
|
52
|
+
"node": ">= 18"
|
|
85
53
|
},
|
|
86
54
|
"dependencies": {
|
|
87
55
|
"@pushwoosh/kit-constants": "^1.5.1"
|
|
@@ -5,7 +5,7 @@ import PauseRoundMediumFilledIcon from "./name_pause_round_size_medium_view_fill
|
|
|
5
5
|
import PauseRoundMediumLinedIcon from "./name_pause_round_size_medium_view_lined.js";
|
|
6
6
|
import PauseRoundSmallFilledIcon from "./name_pause_round_size_small_view_filled.js";
|
|
7
7
|
import PauseRoundSmallLinedIcon from "./name_pause_round_size_small_view_lined.js";
|
|
8
|
-
export
|
|
8
|
+
export const AssetMap = {
|
|
9
9
|
'medium': {
|
|
10
10
|
'filled': PauseRoundMediumFilledIcon,
|
|
11
11
|
'lined': PauseRoundMediumLinedIcon
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './pause-round-icon.component';
|
|
2
|
-
export * from './pause-round-icon.types';
|
|
2
|
+
export * from './pause-round-icon.types';
|
|
@@ -2,12 +2,24 @@ import React from 'react';
|
|
|
2
2
|
import { IconBox } from '../icon.styles';
|
|
3
3
|
import { AssetMap } from './assets';
|
|
4
4
|
export function PauseRoundIcon(props) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
const {
|
|
6
|
+
boxRef,
|
|
7
|
+
size,
|
|
8
|
+
view,
|
|
9
|
+
...rest
|
|
10
|
+
} = props;
|
|
11
|
+
const Icon = AssetMap[size][view];
|
|
12
|
+
if (Icon == null) {
|
|
13
|
+
console.error('[PauseRoundIcon]: Icon not found!');
|
|
14
|
+
return React.createElement(IconBox, {
|
|
15
|
+
...rest,
|
|
16
|
+
size: size,
|
|
17
|
+
ref: boxRef
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return React.createElement(IconBox, {
|
|
21
|
+
...rest,
|
|
22
|
+
size: size,
|
|
23
|
+
ref: boxRef
|
|
24
|
+
}, React.createElement(Icon, null));
|
|
25
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import PhotoMediumFilledIcon from "./name_photo_size_medium_view_filled.js";
|
|
5
5
|
import PhotoMediumLinedIcon from "./name_photo_size_medium_view_lined.js";
|
|
6
|
-
export
|
|
6
|
+
export const AssetMap = {
|
|
7
7
|
'medium': {
|
|
8
8
|
'filled': PhotoMediumFilledIcon,
|
|
9
9
|
'lined': PhotoMediumLinedIcon
|
package/photo-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './photo-icon.component';
|
|
2
|
-
export * from './photo-icon.types';
|
|
2
|
+
export * from './photo-icon.types';
|
|
@@ -2,12 +2,24 @@ import React from 'react';
|
|
|
2
2
|
import { IconBox } from '../icon.styles';
|
|
3
3
|
import { AssetMap } from './assets';
|
|
4
4
|
export function PhotoIcon(props) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
const {
|
|
6
|
+
boxRef,
|
|
7
|
+
size,
|
|
8
|
+
view,
|
|
9
|
+
...rest
|
|
10
|
+
} = props;
|
|
11
|
+
const Icon = AssetMap[size][view];
|
|
12
|
+
if (Icon == null) {
|
|
13
|
+
console.error('[PhotoIcon]: Icon not found!');
|
|
14
|
+
return React.createElement(IconBox, {
|
|
15
|
+
...rest,
|
|
16
|
+
size: size,
|
|
17
|
+
ref: boxRef
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return React.createElement(IconBox, {
|
|
21
|
+
...rest,
|
|
22
|
+
size: size,
|
|
23
|
+
ref: boxRef
|
|
24
|
+
}, React.createElement(Icon, null));
|
|
25
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import PlaceMediumLinedIcon from "./name_place_size_medium_view_lined.js";
|
|
5
5
|
import PlaceSmallFilledIcon from "./name_place_size_small_view_filled.js";
|
|
6
6
|
import PlaceSmallLinedIcon from "./name_place_size_small_view_lined.js";
|
|
7
|
-
export
|
|
7
|
+
export const AssetMap = {
|
|
8
8
|
'medium': {
|
|
9
9
|
'filled': null,
|
|
10
10
|
'lined': PlaceMediumLinedIcon
|
package/place-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './place-icon.component';
|
|
2
|
-
export * from './place-icon.types';
|
|
2
|
+
export * from './place-icon.types';
|
|
@@ -2,12 +2,24 @@ import React from 'react';
|
|
|
2
2
|
import { IconBox } from '../icon.styles';
|
|
3
3
|
import { AssetMap } from './assets';
|
|
4
4
|
export function PlaceIcon(props) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
const {
|
|
6
|
+
boxRef,
|
|
7
|
+
size,
|
|
8
|
+
view,
|
|
9
|
+
...rest
|
|
10
|
+
} = props;
|
|
11
|
+
const Icon = AssetMap[size][view];
|
|
12
|
+
if (Icon == null) {
|
|
13
|
+
console.error('[PlaceIcon]: Icon not found!');
|
|
14
|
+
return React.createElement(IconBox, {
|
|
15
|
+
...rest,
|
|
16
|
+
size: size,
|
|
17
|
+
ref: boxRef
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return React.createElement(IconBox, {
|
|
21
|
+
...rest,
|
|
22
|
+
size: size,
|
|
23
|
+
ref: boxRef
|
|
24
|
+
}, React.createElement(Icon, null));
|
|
25
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -14,7 +14,7 @@ import OSXFilledIcon from "./osx_filled.js";
|
|
|
14
14
|
import SafariFilledIcon from "./safari_filled.js";
|
|
15
15
|
import WindowsFilledIcon from "./windows_filled.js";
|
|
16
16
|
import XiaomiFilledIcon from "./xiaomi_filled.js";
|
|
17
|
-
export
|
|
17
|
+
export const AssetMap = {
|
|
18
18
|
amazon: {
|
|
19
19
|
filled: AmazonFilledIcon,
|
|
20
20
|
lined: null
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './platform-logo-icon.component';
|
|
2
|
-
export * from './platform-logo-icon.types';
|
|
2
|
+
export * from './platform-logo-icon.types';
|