@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
|
@@ -14,7 +14,8 @@ 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
|
-
|
|
17
|
+
import SmsFilledIcon from "./sms_filled.js";
|
|
18
|
+
export const AssetMap = {
|
|
18
19
|
amazon: {
|
|
19
20
|
filled: AmazonFilledIcon,
|
|
20
21
|
lined: null
|
|
@@ -70,5 +71,9 @@ export var AssetMap = {
|
|
|
70
71
|
xiaomi: {
|
|
71
72
|
filled: XiaomiFilledIcon,
|
|
72
73
|
lined: null
|
|
74
|
+
},
|
|
75
|
+
sms: {
|
|
76
|
+
filled: SmsFilledIcon,
|
|
77
|
+
lined: null
|
|
73
78
|
}
|
|
74
79
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
const SmsFilledSvg = props => /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: 24,
|
|
5
|
+
height: 24,
|
|
6
|
+
fill: "none"
|
|
7
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
fillRule: "evenodd",
|
|
10
|
+
d: "M8.477 3.03C8 3.689 8 4.626 8 6.5s0 2.812.477 3.47a2.5 2.5 0 0 0 .554.553c.226.164.485.271.804.342a.21.21 0 0 1 .165.201v1.358a.3.3 0 0 0 .472.246l2.334-1.634A.2.2 0 0 1 12.92 11h4.58c1.875 0 2.812 0 3.47-.477a2.5 2.5 0 0 0 .553-.554C22 9.312 22 8.375 22 6.5s0-2.812-.477-3.47a2.5 2.5 0 0 0-.553-.553C20.312 2 19.375 2 17.5 2h-5c-1.875 0-2.812 0-3.47.477a2.5 2.5 0 0 0-.553.554m5.965 5.344v-2.27a.1.1 0 0 1 .174-.067l.014.015.296.328a.1.1 0 0 0 .149 0l.296-.328.014-.015a.1.1 0 0 1 .174.067v2.67a.1.1 0 0 0 .1.1h.8a.1.1 0 0 0 .1-.1V4.677a.55.55 0 0 0-.957-.369l-.527.582a.1.1 0 0 1-.149 0l-.527-.582a.55.55 0 0 0-.957.37v4.096a.1.1 0 0 0 .1.1h.8a.1.1 0 0 0 .1-.1zM10 5.195a1 1 0 0 1 1-1h1.487a.1.1 0 0 1 .1.1v.8a.1.1 0 0 1-.1.1h-1.387a.1.1 0 0 0-.1.1v.64a.1.1 0 0 0 .1.1h.487a1 1 0 0 1 1 1v.839a1 1 0 0 1-1 1h-1.487a.1.1 0 0 1-.1-.1v-.8a.1.1 0 0 1 .1-.1h1.387a.1.1 0 0 0 .1-.1v-.64a.1.1 0 0 0-.1-.1h-.487a1 1 0 0 1-1-1zm7.411 0a1 1 0 0 1 1-1h1.487a.1.1 0 0 1 .1.1v.8a.1.1 0 0 1-.1.1h-1.387a.1.1 0 0 0-.1.1v.64a.1.1 0 0 0 .1.1h.487a1 1 0 0 1 1 1v.839a1 1 0 0 1-1 1h-1.487a.1.1 0 0 1-.1-.1v-.8a.1.1 0 0 1 .1-.1h1.387a.1.1 0 0 0 .1-.1v-.64a.1.1 0 0 0-.1-.1h-.487a1 1 0 0 1-1-1zM6.909 4.035a.15.15 0 0 1 .157.166C7.01 4.708 7.002 5.317 7 6.026a.01.01 0 0 1-.008.008 3 3 0 0 0-.367.05 1 1 0 0 0-.079.025 1 1 0 0 0-.437.437q0 0-.006.016l-.018.063a3 3 0 0 0-.05.367C6.001 7.392 6 7.927 6 8.8V16a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1v-3.7a.3.3 0 0 1 .3-.3h1.4a.3.3 0 0 1 .3.3v4.9c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C14.72 22 13.88 22 12.2 22H8.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C4 19.72 4 18.88 4 17.2V8.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311c.338-.172.73-.254 1.271-.292M11.75 19.5a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0",
|
|
11
|
+
clipRule: "evenodd"
|
|
12
|
+
}));
|
|
13
|
+
export default SmsFilledSvg;
|
|
@@ -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';
|
|
@@ -2,13 +2,29 @@ import React from 'react';
|
|
|
2
2
|
import { IconBox, SizeInPxByIconSizeMap } from '../icon.styles';
|
|
3
3
|
import { AssetMap } from './assets';
|
|
4
4
|
export function PlatformLogoIcon(props) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
5
|
+
const {
|
|
6
|
+
boxRef,
|
|
7
|
+
type,
|
|
8
|
+
size = 'medium',
|
|
9
|
+
view = 'filled',
|
|
10
|
+
...rest
|
|
11
|
+
} = props;
|
|
12
|
+
const Icon = AssetMap[type]?.[view] || null;
|
|
13
|
+
if (Icon == null) {
|
|
14
|
+
console.error(`[PlatformLogoIcon]: Icon ${type} not found!`);
|
|
15
|
+
return React.createElement(IconBox, {
|
|
16
|
+
...rest,
|
|
17
|
+
size: size,
|
|
18
|
+
ref: boxRef
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return React.createElement(IconBox, {
|
|
22
|
+
ref: boxRef,
|
|
23
|
+
size: size,
|
|
24
|
+
...rest
|
|
25
|
+
}, React.createElement(Icon, {
|
|
26
|
+
viewBox: "0 0 24 24",
|
|
27
|
+
width: SizeInPxByIconSizeMap[size],
|
|
28
|
+
height: SizeInPxByIconSizeMap[size]
|
|
29
|
+
}));
|
|
30
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Ref } from 'react';
|
|
2
2
|
export type PlatformLogoIconProps = Omit<JSX.IntrinsicElements['div'], 'ref'> & {
|
|
3
3
|
readonly boxRef?: Ref<HTMLDivElement>;
|
|
4
|
-
readonly type: 'amazon' | 'android' | 'apple' | 'baidu' | 'chrome' | 'edge' | 'email' | 'firefox' | 'huawei' | 'i-explorer' | 'mac-o-s' | 'safari' | 'windows' | 'xiaomi';
|
|
4
|
+
readonly type: 'amazon' | 'android' | 'apple' | 'baidu' | 'chrome' | 'edge' | 'email' | 'firefox' | 'huawei' | 'i-explorer' | 'mac-o-s' | 'safari' | 'windows' | 'xiaomi' | 'sms';
|
|
5
5
|
readonly size?: 'small' | 'medium' | 'large';
|
|
6
6
|
readonly view?: 'filled' | 'lined';
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -5,7 +5,7 @@ import PlayRoundMediumFilledIcon from "./name_play_round_size_medium_view_filled
|
|
|
5
5
|
import PlayRoundMediumLinedIcon from "./name_play_round_size_medium_view_lined.js";
|
|
6
6
|
import PlayRoundSmallFilledIcon from "./name_play_round_size_small_view_filled.js";
|
|
7
7
|
import PlayRoundSmallLinedIcon from "./name_play_round_size_small_view_lined.js";
|
|
8
|
-
export
|
|
8
|
+
export const AssetMap = {
|
|
9
9
|
'medium': {
|
|
10
10
|
'filled': PlayRoundMediumFilledIcon,
|
|
11
11
|
'lined': PlayRoundMediumLinedIcon
|
package/play-round-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './play-round-icon.component';
|
|
2
|
-
export * from './play-round-icon.types';
|
|
2
|
+
export * from './play-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 PlayRoundIcon(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('[PlayRoundIcon]: 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 {};
|
|
@@ -5,7 +5,7 @@ import PluginMediumFilledIcon from "./name_plugin_size_medium_view_filled.js";
|
|
|
5
5
|
import PluginMediumLinedIcon from "./name_plugin_size_medium_view_lined.js";
|
|
6
6
|
import PluginSmallFilledIcon from "./name_plugin_size_small_view_filled.js";
|
|
7
7
|
import PluginSmallLinedIcon from "./name_plugin_size_small_view_lined.js";
|
|
8
|
-
export
|
|
8
|
+
export const AssetMap = {
|
|
9
9
|
'medium': {
|
|
10
10
|
'filled': PluginMediumFilledIcon,
|
|
11
11
|
'lined': PluginMediumLinedIcon
|
package/plugin-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './plugin-icon.component';
|
|
2
|
-
export * from './plugin-icon.types';
|
|
2
|
+
export * from './plugin-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 PluginIcon(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('[PluginIcon]: 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/plus-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './plus-icon.component';
|
|
2
|
-
export * from './plus-icon.types';
|
|
2
|
+
export * from './plus-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 PlusIcon(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('[PlusIcon]: 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 {};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import PlusRoundMediumFilledIcon from "./name_plus_round_size_medium_view_filled.js";
|
|
5
5
|
import PlusRoundMediumLinedIcon from "./name_plus_round_size_medium_view_lined.js";
|
|
6
6
|
import PlusRoundSmallFilledIcon from "./name_plus_round_size_small_view_filled.js";
|
|
7
|
-
export
|
|
7
|
+
export const AssetMap = {
|
|
8
8
|
'medium': {
|
|
9
9
|
'filled': PlusRoundMediumFilledIcon,
|
|
10
10
|
'lined': PlusRoundMediumLinedIcon
|
package/plus-round-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './plus-round-icon.component';
|
|
2
|
-
export * from './plus-round-icon.types';
|
|
2
|
+
export * from './plus-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 PlusRoundIcon(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('[PlusRoundIcon]: 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 ProfileMediumFilledIcon from "./name_profile_size_medium_view_filled.js";
|
|
5
5
|
import ProfileMediumLinedIcon from "./name_profile_size_medium_view_lined.js";
|
|
6
|
-
export
|
|
6
|
+
export const AssetMap = {
|
|
7
7
|
'medium': {
|
|
8
8
|
'filled': ProfileMediumFilledIcon,
|
|
9
9
|
'lined': ProfileMediumLinedIcon
|
package/profile-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './profile-icon.component';
|
|
2
|
-
export * from './profile-icon.types';
|
|
2
|
+
export * from './profile-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 ProfileIcon(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('[ProfileIcon]: 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 PulseMediumLinedIcon from "./name_pulse_size_medium_view_lined.js";
|
|
5
5
|
import PulseSmallLinedIcon from "./name_pulse_size_small_view_lined.js";
|
|
6
|
-
export
|
|
6
|
+
export const AssetMap = {
|
|
7
7
|
'medium': {
|
|
8
8
|
'filled': null,
|
|
9
9
|
'lined': PulseMediumLinedIcon
|
package/pulse-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './pulse-icon.component';
|
|
2
|
-
export * from './pulse-icon.types';
|
|
2
|
+
export * from './pulse-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 PulseIcon(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('[PulseIcon]: 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 {};
|
|
@@ -5,7 +5,7 @@ import PushMediumFilledIcon from "./name_push_size_medium_view_filled.js";
|
|
|
5
5
|
import PushMediumLinedIcon from "./name_push_size_medium_view_lined.js";
|
|
6
6
|
import PushSmallFilledIcon from "./name_push_size_small_view_filled.js";
|
|
7
7
|
import PushSmallLinedIcon from "./name_push_size_small_view_lined.js";
|
|
8
|
-
export
|
|
8
|
+
export const AssetMap = {
|
|
9
9
|
'medium': {
|
|
10
10
|
'filled': PushMediumFilledIcon,
|
|
11
11
|
'lined': PushMediumLinedIcon
|
package/push-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './push-icon.component';
|
|
2
|
-
export * from './push-icon.types';
|
|
2
|
+
export * from './push-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 PushIcon(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('[PushIcon]: 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 {};
|
|
@@ -5,7 +5,7 @@ import RefreshMediumFilledIcon from "./name_refresh_size_medium_view_filled.js";
|
|
|
5
5
|
import RefreshMediumLinedIcon from "./name_refresh_size_medium_view_lined.js";
|
|
6
6
|
import RefreshSmallFilledIcon from "./name_refresh_size_small_view_filled.js";
|
|
7
7
|
import RefreshSmallLinedIcon from "./name_refresh_size_small_view_lined.js";
|
|
8
|
-
export
|
|
8
|
+
export const AssetMap = {
|
|
9
9
|
'medium': {
|
|
10
10
|
'filled': RefreshMediumFilledIcon,
|
|
11
11
|
'lined': RefreshMediumLinedIcon
|
package/refresh-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './refresh-icon.component';
|
|
2
|
-
export * from './refresh-icon.types';
|
|
2
|
+
export * from './refresh-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 RefreshIcon(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('[RefreshIcon]: 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 {};
|
|
@@ -5,7 +5,7 @@ import ReloadMediumFilledIcon from "./name_reload_size_medium_view_filled.js";
|
|
|
5
5
|
import ReloadMediumLinedIcon from "./name_reload_size_medium_view_lined.js";
|
|
6
6
|
import ReloadSmallFilledIcon from "./name_reload_size_small_view_filled.js";
|
|
7
7
|
import ReloadSmallLinedIcon from "./name_reload_size_small_view_lined.js";
|
|
8
|
-
export
|
|
8
|
+
export const AssetMap = {
|
|
9
9
|
'medium': {
|
|
10
10
|
'filled': ReloadMediumFilledIcon,
|
|
11
11
|
'lined': ReloadMediumLinedIcon
|
package/reload-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './reload-icon.component';
|
|
2
|
-
export * from './reload-icon.types';
|
|
2
|
+
export * from './reload-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 ReloadIcon(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('[ReloadIcon]: 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 {};
|
|
@@ -5,7 +5,7 @@ import RewardMediumFilledIcon from "./name_reward_size_medium_view_filled.js";
|
|
|
5
5
|
import RewardMediumLinedIcon from "./name_reward_size_medium_view_lined.js";
|
|
6
6
|
import RewardSmallFilledIcon from "./name_reward_size_small_view_filled.js";
|
|
7
7
|
import RewardSmallLinedIcon from "./name_reward_size_small_view_lined.js";
|
|
8
|
-
export
|
|
8
|
+
export const AssetMap = {
|
|
9
9
|
'medium': {
|
|
10
10
|
'filled': RewardMediumFilledIcon,
|
|
11
11
|
'lined': RewardMediumLinedIcon
|
package/reward-icon/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './reward-icon.component';
|
|
2
|
-
export * from './reward-icon.types';
|
|
2
|
+
export * from './reward-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 RewardIcon(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('[RewardIcon]: 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
|
+
}
|