@pushwoosh/kit-icons 2.0.6 → 2.0.9
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.d.ts +4 -0
- package/platform-logo-icon/assets/index.js +6 -1
- package/platform-logo-icon/assets/sms_filled.js +13 -0
- 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.d.ts +1 -1
- 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,24 @@ import React from 'react';
|
|
|
2
2
|
import { IconBox } from '../icon.styles';
|
|
3
3
|
import { AssetMap } from './assets';
|
|
4
4
|
export function ArrowIcon(props) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
const {
|
|
6
|
+
boxRef,
|
|
7
|
+
direction,
|
|
8
|
+
size,
|
|
9
|
+
...rest
|
|
10
|
+
} = props;
|
|
11
|
+
const Icon = AssetMap[direction][size];
|
|
12
|
+
if (Icon == null) {
|
|
13
|
+
console.error('[ArrowIcon]: 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 {};
|
|
@@ -9,7 +9,7 @@ import RightArrowMediumIcon from "./direction_right_name_arrow_size_medium.js";
|
|
|
9
9
|
import RightArrowSmallIcon from "./direction_right_name_arrow_size_small.js";
|
|
10
10
|
import UpArrowMediumIcon from "./direction_up_name_arrow_size_medium.js";
|
|
11
11
|
import UpArrowSmallIcon from "./direction_up_name_arrow_size_small.js";
|
|
12
|
-
export
|
|
12
|
+
export const AssetMap = {
|
|
13
13
|
'down': {
|
|
14
14
|
'medium': DownArrowMediumIcon,
|
|
15
15
|
'small': DownArrowSmallIcon
|
package/arrow-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './arrow-icon.component';
|
|
2
|
-
export * from './arrow-icon.types';
|
|
2
|
+
export * from './arrow-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 ArrowRoundIcon(props) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
const {
|
|
6
|
+
boxRef,
|
|
7
|
+
direction,
|
|
8
|
+
size,
|
|
9
|
+
view,
|
|
10
|
+
...rest
|
|
11
|
+
} = props;
|
|
12
|
+
const Icon = AssetMap[direction][size][view];
|
|
13
|
+
if (Icon == null) {
|
|
14
|
+
console.error('[ArrowRoundIcon]: 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 {};
|
|
@@ -17,7 +17,7 @@ import UpArrowRoundMediumFilledIcon from "./direction_up_name_arrow_round_size_m
|
|
|
17
17
|
import UpArrowRoundMediumLinedIcon from "./direction_up_name_arrow_round_size_medium_view_lined.js";
|
|
18
18
|
import UpArrowRoundSmallFilledIcon from "./direction_up_name_arrow_round_size_small_view_filled.js";
|
|
19
19
|
import UpArrowRoundSmallLinedIcon from "./direction_up_name_arrow_round_size_small_view_lined.js";
|
|
20
|
-
export
|
|
20
|
+
export const AssetMap = {
|
|
21
21
|
'down': {
|
|
22
22
|
'medium': {
|
|
23
23
|
'filled': DownArrowRoundMediumFilledIcon,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './arrow-round-icon.component';
|
|
2
|
-
export * from './arrow-round-icon.types';
|
|
2
|
+
export * from './arrow-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 AttachmentIcon(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('[AttachmentIcon]: 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/attachment-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './attachment-icon.component';
|
|
2
|
-
export * from './attachment-icon.types';
|
|
2
|
+
export * from './attachment-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 BackupIcon(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('[BackupIcon]: 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/backup-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './backup-icon.component';
|
|
2
|
-
export * from './backup-icon.types';
|
|
2
|
+
export * from './backup-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 BillingIcon(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('[BillingIcon]: 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/billing-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './billing-icon.component';
|
|
2
|
-
export * from './billing-icon.types';
|
|
2
|
+
export * from './billing-icon.types';
|
|
@@ -5,7 +5,7 @@ import BookmarkMediumFilledIcon from "./name_bookmark_size_medium_view_filled.js
|
|
|
5
5
|
import BookmarkMediumLinedIcon from "./name_bookmark_size_medium_view_lined.js";
|
|
6
6
|
import BookmarkSmallFilledIcon from "./name_bookmark_size_small_view_filled.js";
|
|
7
7
|
import BookmarkSmallLinedIcon from "./name_bookmark_size_small_view_lined.js";
|
|
8
|
-
export
|
|
8
|
+
export const AssetMap = {
|
|
9
9
|
'medium': {
|
|
10
10
|
'filled': BookmarkMediumFilledIcon,
|
|
11
11
|
'lined': BookmarkMediumLinedIcon
|
|
@@ -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 BookmarkIcon(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('[BookmarkIcon]: 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/bookmark-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './bookmark-icon.component';
|
|
2
|
-
export * from './bookmark-icon.types';
|
|
2
|
+
export * from './bookmark-icon.types';
|
package/box-icon/assets/index.js
CHANGED
|
@@ -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 BoxIcon(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('[BoxIcon]: 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/box-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './box-icon.component';
|
|
2
|
-
export * from './box-icon.types';
|
|
2
|
+
export * from './box-icon.types';
|
|
@@ -7,7 +7,7 @@ import BulletSmallSquareFilledIcon from "./name_bullet_size_small_type_square_vi
|
|
|
7
7
|
import BulletSmallSquareLinedIcon from "./name_bullet_size_small_type_square_view_lined.js";
|
|
8
8
|
import BulletSmallTriangleFilledIcon from "./name_bullet_size_small_type_triangle_view_filled.js";
|
|
9
9
|
import BulletSmallTriangleLinedIcon from "./name_bullet_size_small_type_triangle_view_lined.js";
|
|
10
|
-
export
|
|
10
|
+
export const AssetMap = {
|
|
11
11
|
'small': {
|
|
12
12
|
'circle': {
|
|
13
13
|
'filled': BulletSmallCircleFilledIcon,
|
|
@@ -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 BulletIcon(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('[BulletIcon]: 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 {};
|
package/bullet-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './bullet-icon.component';
|
|
2
|
-
export * from './bullet-icon.types';
|
|
2
|
+
export * from './bullet-icon.types';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import CalendarMediumLinedIcon from "./name_calendar_size_medium_view_lined.js";
|
|
5
5
|
import CalendarSmallLinedIcon from "./name_calendar_size_small_view_lined.js";
|
|
6
|
-
export
|
|
6
|
+
export const AssetMap = {
|
|
7
7
|
'medium': {
|
|
8
8
|
'filled': null,
|
|
9
9
|
'lined': CalendarMediumLinedIcon
|
|
@@ -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 CalendarIcon(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('[CalendarIcon]: 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/calendar-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './calendar-icon.component';
|
|
2
|
-
export * from './calendar-icon.types';
|
|
2
|
+
export * from './calendar-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 CertificateIcon(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('[CertificateIcon]: 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 {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './certificate-icon.component';
|
|
2
|
-
export * from './certificate-icon.types';
|
|
2
|
+
export * from './certificate-icon.types';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import ChangeMediumLinedIcon from "./name_change_size_medium_view_lined.js";
|
|
5
5
|
import ChangeSmallLinedIcon from "./name_change_size_small_view_lined.js";
|
|
6
|
-
export
|
|
6
|
+
export const AssetMap = {
|
|
7
7
|
'medium': {
|
|
8
8
|
'filled': null,
|
|
9
9
|
'lined': ChangeMediumLinedIcon
|
|
@@ -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 ChangeIcon(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('[ChangeIcon]: 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/change-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './change-icon.component';
|
|
2
|
-
export * from './change-icon.types';
|
|
2
|
+
export * from './change-icon.types';
|