@nectary/components 0.22.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/index.js +3 -6
- package/accordion-item/index.d.ts +1 -1
- package/accordion-item/index.js +4 -7
- package/alert/index.js +3 -5
- package/alert-button/index.js +3 -6
- package/alert-close/index.d.ts +1 -1
- package/alert-close/index.js +4 -7
- package/avatar/index.d.ts +1 -1
- package/avatar/index.js +4 -6
- package/avatar-badge/index.d.ts +1 -1
- package/avatar-badge/index.js +4 -6
- package/avatar-status/index.d.ts +1 -1
- package/avatar-status/index.js +4 -6
- package/button/index.js +3 -6
- package/card/index.js +3 -6
- package/card-button/index.js +3 -6
- package/card-container/index.js +3 -6
- package/card-link/index.d.ts +1 -1
- package/card-link/index.js +4 -7
- package/chat/index.js +3 -6
- package/chat-avatar/index.js +3 -6
- package/chat-block/index.js +3 -6
- package/chat-bubble/index.js +3 -6
- package/checkbox/index.js +3 -6
- package/dialog/index.d.ts +3 -4
- package/dialog/index.js +5 -8
- package/dropdown/index.js +4 -7
- package/dropdown-option/index.d.ts +2 -1
- package/dropdown-option/index.js +4 -6
- package/grid/index.js +3 -5
- package/grid-item/index.js +3 -5
- package/help-tooltip/index.d.ts +1 -1
- package/help-tooltip/index.js +4 -6
- package/icon-button/index.js +3 -6
- package/icons/access-time/index.d.ts +11 -0
- package/icons/access-time/index.js +4 -0
- package/icons/add-alert/index.js +4 -0
- package/icons/add-comment/index.d.ts +11 -0
- package/icons/add-comment/index.js +4 -0
- package/icons/alt-route/index.d.ts +11 -0
- package/icons/alt-route/index.js +4 -0
- package/icons/app-settings-alt/index.js +4 -0
- package/icons/apps/index.js +4 -0
- package/icons/arrow-back/index.js +4 -0
- package/icons/arrow-back-ios/index.js +4 -0
- package/icons/arrow-downward/index.js +4 -0
- package/icons/arrow-drop-down/index.js +4 -0
- package/icons/arrow-drop-down-circle/index.js +4 -0
- package/icons/arrow-drop-up/index.js +4 -0
- package/icons/arrow-forward/index.js +4 -0
- package/icons/arrow-forward-ios/index.js +4 -0
- package/icons/arrow-left/index.js +4 -0
- package/icons/arrow-right/index.js +4 -0
- package/icons/arrow-upward/index.js +4 -0
- package/icons/assignment/index.d.ts +11 -0
- package/icons/assignment/index.js +4 -0
- package/icons/attach-email/index.js +4 -0
- package/icons/attachment/index.js +4 -0
- package/icons/auto-delete/index.js +4 -0
- package/icons/campaign/index.js +4 -0
- package/icons/cancel/index.js +4 -0
- package/icons/chat/index.d.ts +11 -0
- package/icons/chat/index.js +4 -0
- package/icons/chat-bubble-outline/index.d.ts +11 -0
- package/icons/chat-bubble-outline/index.js +4 -0
- package/icons/check/index.js +4 -0
- package/icons/check-circle-outline/index.d.ts +11 -0
- package/icons/check-circle-outline/index.js +4 -0
- package/icons/chevron-left/index.js +4 -0
- package/icons/chevron-right/index.js +4 -0
- package/icons/close/index.js +4 -0
- package/icons/cloud/index.js +4 -0
- package/icons/cloud-circle/index.js +4 -0
- package/icons/cloud-done/index.js +4 -0
- package/icons/cloud-download/index.js +4 -0
- package/icons/cloud-off/index.js +4 -0
- package/icons/cloud-queue/index.js +4 -0
- package/icons/cloud-upload/index.js +4 -0
- package/icons/comment/index.d.ts +11 -0
- package/icons/comment/index.js +4 -0
- package/icons/create/index.d.ts +11 -0
- package/icons/create/index.js +4 -0
- package/{icon → icons}/create-icon-class.d.ts +1 -1
- package/{icon → icons}/create-icon-class.js +3 -5
- package/icons/create-new-folder/index.js +4 -0
- package/icons/done-all/index.d.ts +11 -0
- package/icons/done-all/index.js +4 -0
- package/icons/double-arrow/index.js +4 -0
- package/icons/download/index.js +4 -0
- package/icons/download-done/index.js +4 -0
- package/{icon → icons}/east/index.js +1 -1
- package/icons/error/index.js +4 -0
- package/icons/error-outline/index.js +4 -0
- package/icons/expand-less/index.js +4 -0
- package/icons/expand-more/index.js +4 -0
- package/icons/filter-list/index.js +4 -0
- package/icons/first-page/index.js +4 -0
- package/icons/folder/index.js +4 -0
- package/icons/folder-open/index.js +4 -0
- package/icons/folder-shared/index.js +4 -0
- package/icons/forum/index.d.ts +11 -0
- package/icons/forum/index.js +4 -0
- package/icons/fullscreen/index.js +4 -0
- package/icons/fullscreen-exit/index.js +4 -0
- package/icons/help-outline/index.js +4 -0
- package/icons/history/index.d.ts +11 -0
- package/icons/history/index.js +4 -0
- package/icons/home-work/index.js +4 -0
- package/icons/info-outline/index.d.ts +11 -0
- package/icons/info-outline/index.js +4 -0
- package/icons/insert-emoticon/index.d.ts +11 -0
- package/icons/insert-emoticon/index.js +4 -0
- package/icons/keyboard-arrow-down/index.js +4 -0
- package/icons/keyboard-arrow-left/index.js +4 -0
- package/icons/keyboard-arrow-right/index.js +4 -0
- package/icons/keyboard-arrow-up/index.js +4 -0
- package/icons/last-page/index.js +4 -0
- package/icons/legend-toggle/index.js +4 -0
- package/icons/local-offer/index.d.ts +11 -0
- package/icons/local-offer/index.js +4 -0
- package/icons/mark-chat-read/index.d.ts +11 -0
- package/icons/mark-chat-read/index.js +4 -0
- package/icons/mark-chat-unread/index.d.ts +11 -0
- package/icons/mark-chat-unread/index.js +4 -0
- package/icons/menu/index.js +4 -0
- package/icons/menu-open/index.js +4 -0
- package/icons/mic-none/index.d.ts +11 -0
- package/icons/mic-none/index.js +4 -0
- package/{icon → icons}/more-horiz/index.js +1 -1
- package/icons/more-time/index.d.ts +11 -0
- package/icons/more-time/index.js +4 -0
- package/{icon → icons}/more-vert/index.js +1 -1
- package/{icon → icons}/north/index.js +1 -1
- package/{icon → icons}/north-east/index.js +1 -1
- package/{icon → icons}/north-west/index.js +1 -1
- package/icons/notes/index.d.ts +11 -0
- package/icons/notes/index.js +4 -0
- package/icons/notification-important/index.js +4 -0
- package/icons/notifications-none/index.d.ts +11 -0
- package/icons/notifications-none/index.js +4 -0
- package/icons/open-in-new/index.js +4 -0
- package/icons/pause-circle-outline/index.d.ts +11 -0
- package/icons/pause-circle-outline/index.js +4 -0
- package/icons/payments/index.js +4 -0
- package/icons/play-circle-outline/index.d.ts +11 -0
- package/icons/play-circle-outline/index.js +4 -0
- package/icons/refresh/index.js +4 -0
- package/icons/reply/index.d.ts +11 -0
- package/icons/reply/index.js +4 -0
- package/icons/request-quote/index.js +4 -0
- package/icons/rule-folder/index.js +4 -0
- package/icons/search/index.js +4 -0
- package/icons/send/index.d.ts +11 -0
- package/icons/send/index.js +4 -0
- package/icons/settings/index.d.ts +11 -0
- package/icons/settings/index.js +4 -0
- package/icons/snippet-folder/index.js +4 -0
- package/{icon → icons}/south/index.js +1 -1
- package/{icon → icons}/south-east/index.js +1 -1
- package/{icon → icons}/south-west/index.js +1 -1
- package/icons/star/index.d.ts +11 -0
- package/icons/star/index.js +4 -0
- package/icons/star-outline/index.d.ts +11 -0
- package/icons/star-outline/index.js +4 -0
- package/icons/stop/index.d.ts +11 -0
- package/icons/stop/index.js +4 -0
- package/icons/subdirectory-arrow-left/index.js +4 -0
- package/icons/subdirectory-arrow-right/index.js +4 -0
- package/icons/swap-vert/index.d.ts +11 -0
- package/icons/swap-vert/index.js +4 -0
- package/icons/switch-left/index.d.ts +11 -0
- package/icons/switch-left/index.js +4 -0
- package/icons/switch-right/index.d.ts +11 -0
- package/icons/switch-right/index.js +4 -0
- package/icons/text-snippet/index.js +4 -0
- package/icons/topic/index.js +4 -0
- package/icons/types.js +1 -0
- package/icons/undo/index.d.ts +11 -0
- package/icons/undo/index.js +4 -0
- package/icons/unfold-less/index.js +4 -0
- package/icons/unfold-more/index.js +4 -0
- package/icons/update/index.d.ts +11 -0
- package/icons/update/index.js +4 -0
- package/icons/upload/index.js +4 -0
- package/icons/volume-off/index.d.ts +11 -0
- package/icons/volume-off/index.js +4 -0
- package/icons/volume-up/index.d.ts +11 -0
- package/icons/volume-up/index.js +4 -0
- package/icons/warning/index.js +4 -0
- package/icons/warning-amber/index.js +4 -0
- package/{icon → icons}/west/index.js +1 -1
- package/icons-branded/barchart-down/index.d.ts +11 -0
- package/{icon-branded → icons-branded}/barchart-down/index.js +2 -2
- package/icons-branded/barchart-up/index.d.ts +11 -0
- package/{icon-branded → icons-branded}/barchart-up/index.js +2 -2
- package/{icon-branded/contact → icons-branded/bell}/index.d.ts +2 -2
- package/icons-branded/bell/index.js +4 -0
- package/{icon-branded/multiple-channels → icons-branded/campaigns}/index.d.ts +2 -2
- package/{icon-branded → icons-branded}/campaigns/index.js +2 -2
- package/icons-branded/chatbot/index.d.ts +11 -0
- package/{icon-branded → icons-branded}/chatbot/index.js +2 -2
- package/icons-branded/contact/index.d.ts +11 -0
- package/{icon-branded → icons-branded}/contact/index.js +2 -2
- package/{icon-branded → icons-branded}/create-icon-class.d.ts +1 -1
- package/{icon-branded → icons-branded}/create-icon-class.js +4 -6
- package/{icon-branded/campaigns → icons-branded/home}/index.d.ts +2 -2
- package/{icon-branded → icons-branded}/home/index.js +2 -2
- package/icons-branded/multiple-channels/index.d.ts +11 -0
- package/{icon-branded → icons-branded}/multiple-channels/index.js +2 -2
- package/{icon-branded/chatbot → icons-branded/rocket}/index.d.ts +2 -2
- package/{icon-branded → icons-branded}/rocket/index.js +2 -2
- package/icons-branded/settings/index.d.ts +11 -0
- package/{icon-branded → icons-branded}/settings/index.js +2 -2
- package/{icon-branded/barchart-up → icons-branded/user}/index.d.ts +2 -2
- package/icons-branded/user/index.js +4 -0
- package/{icon-branded/barchart-down → icons-branded/users}/index.d.ts +2 -2
- package/{icon-branded → icons-branded}/users/index.js +2 -2
- package/icons-channel/apple-business-chat/index.d.ts +11 -0
- package/icons-channel/apple-business-chat/index.js +4 -0
- package/icons-channel/create-icon-class.d.ts +310 -0
- package/icons-channel/create-icon-class.js +51 -0
- package/icons-channel/facebook-messenger/index.d.ts +11 -0
- package/icons-channel/facebook-messenger/index.js +4 -0
- package/icons-channel/instagram/index.d.ts +11 -0
- package/icons-channel/instagram/index.js +4 -0
- package/icons-channel/line/index.d.ts +11 -0
- package/icons-channel/line/index.js +4 -0
- package/icons-channel/talk/index.d.ts +11 -0
- package/icons-channel/talk/index.js +4 -0
- package/icons-channel/telegram/index.d.ts +11 -0
- package/icons-channel/telegram/index.js +4 -0
- package/icons-channel/twitter/index.d.ts +11 -0
- package/icons-channel/twitter/index.js +4 -0
- package/icons-channel/types.d.ts +7 -0
- package/icons-channel/viber/index.d.ts +11 -0
- package/icons-channel/viber/index.js +4 -0
- package/icons-channel/wechat/index.d.ts +11 -0
- package/icons-channel/wechat/index.js +4 -0
- package/icons-channel/whatsapp/index.d.ts +11 -0
- package/icons-channel/whatsapp/index.js +4 -0
- package/illustration/create-illustration-class.d.ts +1 -1
- package/illustration/create-illustration-class.js +3 -5
- package/index.d.ts +140 -95
- package/index.js +140 -95
- package/input/index.js +3 -6
- package/link/index.d.ts +1 -1
- package/link/index.js +6 -27
- package/logo/create-logo-class.d.ts +1 -1
- package/logo/create-logo-class.js +3 -5
- package/package.json +1 -1
- package/pagination/index.d.ts +6 -3
- package/pagination/index.js +19 -8
- package/popover/index.js +3 -6
- package/radio/index.js +3 -6
- package/radio-option/index.js +3 -6
- package/search/index.d.ts +2 -2
- package/search/index.js +6 -9
- package/search-option/index.js +3 -5
- package/segment/index.js +3 -6
- package/segment-collapse/index.d.ts +2 -2
- package/segment-collapse/index.js +5 -7
- package/select/index.js +22 -8
- package/spinner/index.js +3 -5
- package/table/index.js +3 -5
- package/table-body/index.js +3 -5
- package/table-cell/index.js +3 -5
- package/table-head/index.js +3 -5
- package/table-head-cell/index.js +3 -5
- package/table-row/index.js +3 -5
- package/tabs/index.js +3 -6
- package/tabs-option/index.js +4 -7
- package/tag/index.d.ts +1 -1
- package/tag/index.js +4 -6
- package/tag-close/index.d.ts +1 -1
- package/tag-close/index.js +4 -7
- package/textarea/index.js +3 -6
- package/title/index.d.ts +1 -1
- package/title/index.js +4 -7
- package/toggle/index.js +3 -6
- package/tooltip/index.js +3 -5
- package/utils.d.ts +10 -3
- package/utils.js +22 -14
- package/icon/add-alert/index.js +0 -4
- package/icon/app-settings-alt/index.js +0 -4
- package/icon/apps/index.js +0 -4
- package/icon/arrow-back/index.js +0 -4
- package/icon/arrow-back-ios/index.js +0 -4
- package/icon/arrow-downward/index.js +0 -4
- package/icon/arrow-drop-down/index.js +0 -4
- package/icon/arrow-drop-down-circle/index.js +0 -4
- package/icon/arrow-drop-up/index.js +0 -4
- package/icon/arrow-forward/index.js +0 -4
- package/icon/arrow-forward-ios/index.js +0 -4
- package/icon/arrow-left/index.js +0 -4
- package/icon/arrow-right/index.js +0 -4
- package/icon/arrow-upward/index.js +0 -4
- package/icon/attach-email/index.js +0 -4
- package/icon/attachment/index.js +0 -4
- package/icon/auto-delete/index.js +0 -4
- package/icon/campaign/index.js +0 -4
- package/icon/cancel/index.js +0 -4
- package/icon/check/index.js +0 -4
- package/icon/chevron-left/index.js +0 -4
- package/icon/chevron-right/index.js +0 -4
- package/icon/close/index.js +0 -4
- package/icon/cloud/index.js +0 -4
- package/icon/cloud-circle/index.js +0 -4
- package/icon/cloud-done/index.js +0 -4
- package/icon/cloud-download/index.js +0 -4
- package/icon/cloud-off/index.js +0 -4
- package/icon/cloud-queue/index.js +0 -4
- package/icon/cloud-upload/index.js +0 -4
- package/icon/create-new-folder/index.js +0 -4
- package/icon/double-arrow/index.js +0 -4
- package/icon/download/index.js +0 -4
- package/icon/download-done/index.js +0 -4
- package/icon/error/index.js +0 -4
- package/icon/error-outline/index.js +0 -4
- package/icon/expand-less/index.js +0 -4
- package/icon/expand-more/index.js +0 -4
- package/icon/filter-list/index.js +0 -4
- package/icon/first-page/index.js +0 -4
- package/icon/folder/index.js +0 -4
- package/icon/folder-open/index.js +0 -4
- package/icon/folder-shared/index.js +0 -4
- package/icon/fullscreen/index.js +0 -4
- package/icon/fullscreen-exit/index.js +0 -4
- package/icon/help-outline/index.js +0 -4
- package/icon/home-work/index.js +0 -4
- package/icon/keyboard-arrow-down/index.js +0 -4
- package/icon/keyboard-arrow-left/index.js +0 -4
- package/icon/keyboard-arrow-right/index.js +0 -4
- package/icon/keyboard-arrow-up/index.js +0 -4
- package/icon/last-page/index.js +0 -4
- package/icon/legend-toggle/index.js +0 -4
- package/icon/menu/index.js +0 -4
- package/icon/menu-open/index.js +0 -4
- package/icon/notification-important/index.js +0 -4
- package/icon/open-in-new/index.js +0 -4
- package/icon/payments/index.js +0 -4
- package/icon/refresh/index.js +0 -4
- package/icon/request-quote/index.js +0 -4
- package/icon/rule-folder/index.js +0 -4
- package/icon/search/index.js +0 -4
- package/icon/snippet-folder/index.js +0 -4
- package/icon/subdirectory-arrow-left/index.js +0 -4
- package/icon/subdirectory-arrow-right/index.js +0 -4
- package/icon/switch-left/index.d.ts +0 -11
- package/icon/switch-left/index.js +0 -4
- package/icon/switch-right/index.d.ts +0 -11
- package/icon/switch-right/index.js +0 -4
- package/icon/text-snippet/index.js +0 -4
- package/icon/topic/index.js +0 -4
- package/icon/unfold-less/index.js +0 -4
- package/icon/unfold-more/index.js +0 -4
- package/icon/upload/index.js +0 -4
- package/icon/warning/index.js +0 -4
- package/icon/warning-amber/index.js +0 -4
- package/icon-branded/home/index.d.ts +0 -11
- package/icon-branded/rocket/index.d.ts +0 -11
- package/icon-branded/settings/index.d.ts +0 -11
- package/icon-branded/user/index.d.ts +0 -11
- package/icon-branded/user/index.js +0 -4
- package/icon-branded/users/index.d.ts +0 -11
- /package/{icon → icons}/add-alert/index.d.ts +0 -0
- /package/{icon → icons}/app-settings-alt/index.d.ts +0 -0
- /package/{icon → icons}/apps/index.d.ts +0 -0
- /package/{icon → icons}/arrow-back/index.d.ts +0 -0
- /package/{icon → icons}/arrow-back-ios/index.d.ts +0 -0
- /package/{icon → icons}/arrow-downward/index.d.ts +0 -0
- /package/{icon → icons}/arrow-drop-down/index.d.ts +0 -0
- /package/{icon → icons}/arrow-drop-down-circle/index.d.ts +0 -0
- /package/{icon → icons}/arrow-drop-up/index.d.ts +0 -0
- /package/{icon → icons}/arrow-forward/index.d.ts +0 -0
- /package/{icon → icons}/arrow-forward-ios/index.d.ts +0 -0
- /package/{icon → icons}/arrow-left/index.d.ts +0 -0
- /package/{icon → icons}/arrow-right/index.d.ts +0 -0
- /package/{icon → icons}/arrow-upward/index.d.ts +0 -0
- /package/{icon → icons}/attach-email/index.d.ts +0 -0
- /package/{icon → icons}/attachment/index.d.ts +0 -0
- /package/{icon → icons}/auto-delete/index.d.ts +0 -0
- /package/{icon → icons}/campaign/index.d.ts +0 -0
- /package/{icon → icons}/cancel/index.d.ts +0 -0
- /package/{icon → icons}/check/index.d.ts +0 -0
- /package/{icon → icons}/chevron-left/index.d.ts +0 -0
- /package/{icon → icons}/chevron-right/index.d.ts +0 -0
- /package/{icon → icons}/close/index.d.ts +0 -0
- /package/{icon → icons}/cloud/index.d.ts +0 -0
- /package/{icon → icons}/cloud-circle/index.d.ts +0 -0
- /package/{icon → icons}/cloud-done/index.d.ts +0 -0
- /package/{icon → icons}/cloud-download/index.d.ts +0 -0
- /package/{icon → icons}/cloud-off/index.d.ts +0 -0
- /package/{icon → icons}/cloud-queue/index.d.ts +0 -0
- /package/{icon → icons}/cloud-upload/index.d.ts +0 -0
- /package/{icon → icons}/create-new-folder/index.d.ts +0 -0
- /package/{icon → icons}/double-arrow/index.d.ts +0 -0
- /package/{icon → icons}/download/index.d.ts +0 -0
- /package/{icon → icons}/download-done/index.d.ts +0 -0
- /package/{icon → icons}/east/index.d.ts +0 -0
- /package/{icon → icons}/error/index.d.ts +0 -0
- /package/{icon → icons}/error-outline/index.d.ts +0 -0
- /package/{icon → icons}/expand-less/index.d.ts +0 -0
- /package/{icon → icons}/expand-more/index.d.ts +0 -0
- /package/{icon → icons}/filter-list/index.d.ts +0 -0
- /package/{icon → icons}/first-page/index.d.ts +0 -0
- /package/{icon → icons}/folder/index.d.ts +0 -0
- /package/{icon → icons}/folder-open/index.d.ts +0 -0
- /package/{icon → icons}/folder-shared/index.d.ts +0 -0
- /package/{icon → icons}/fullscreen/index.d.ts +0 -0
- /package/{icon → icons}/fullscreen-exit/index.d.ts +0 -0
- /package/{icon → icons}/help-outline/index.d.ts +0 -0
- /package/{icon → icons}/home-work/index.d.ts +0 -0
- /package/{icon → icons}/keyboard-arrow-down/index.d.ts +0 -0
- /package/{icon → icons}/keyboard-arrow-left/index.d.ts +0 -0
- /package/{icon → icons}/keyboard-arrow-right/index.d.ts +0 -0
- /package/{icon → icons}/keyboard-arrow-up/index.d.ts +0 -0
- /package/{icon → icons}/last-page/index.d.ts +0 -0
- /package/{icon → icons}/legend-toggle/index.d.ts +0 -0
- /package/{icon → icons}/menu/index.d.ts +0 -0
- /package/{icon → icons}/menu-open/index.d.ts +0 -0
- /package/{icon → icons}/more-horiz/index.d.ts +0 -0
- /package/{icon → icons}/more-vert/index.d.ts +0 -0
- /package/{icon → icons}/north/index.d.ts +0 -0
- /package/{icon → icons}/north-east/index.d.ts +0 -0
- /package/{icon → icons}/north-west/index.d.ts +0 -0
- /package/{icon → icons}/notification-important/index.d.ts +0 -0
- /package/{icon → icons}/open-in-new/index.d.ts +0 -0
- /package/{icon → icons}/payments/index.d.ts +0 -0
- /package/{icon → icons}/refresh/index.d.ts +0 -0
- /package/{icon → icons}/request-quote/index.d.ts +0 -0
- /package/{icon → icons}/rule-folder/index.d.ts +0 -0
- /package/{icon → icons}/search/index.d.ts +0 -0
- /package/{icon → icons}/snippet-folder/index.d.ts +0 -0
- /package/{icon → icons}/south/index.d.ts +0 -0
- /package/{icon → icons}/south-east/index.d.ts +0 -0
- /package/{icon → icons}/south-west/index.d.ts +0 -0
- /package/{icon → icons}/subdirectory-arrow-left/index.d.ts +0 -0
- /package/{icon → icons}/subdirectory-arrow-right/index.d.ts +0 -0
- /package/{icon → icons}/text-snippet/index.d.ts +0 -0
- /package/{icon → icons}/topic/index.d.ts +0 -0
- /package/{icon → icons}/types.d.ts +0 -0
- /package/{icon → icons}/unfold-less/index.d.ts +0 -0
- /package/{icon → icons}/unfold-more/index.d.ts +0 -0
- /package/{icon → icons}/upload/index.d.ts +0 -0
- /package/{icon → icons}/warning/index.d.ts +0 -0
- /package/{icon → icons}/warning-amber/index.d.ts +0 -0
- /package/{icon → icons}/west/index.d.ts +0 -0
- /package/{icon-branded → icons-branded}/types.d.ts +0 -0
- /package/{icon-branded → icons-branded}/types.js +0 -0
- /package/{icon → icons-channel}/types.js +0 -0
package/dialog/index.js
CHANGED
|
@@ -12,13 +12,13 @@ function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollect
|
|
|
12
12
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
|
13
13
|
|
|
14
14
|
import dialogPolyfill from 'dialog-polyfill';
|
|
15
|
-
import { defineCustomElement, getAttribute, getBooleanAttribute, getRect, isAttrTrue, updateAttribute, getReactEventHandler } from '../utils';
|
|
15
|
+
import { defineCustomElement, getAttribute, getBooleanAttribute, getRect, isAttrTrue, updateAttribute, getReactEventHandler, NectaryElement } from '../utils';
|
|
16
16
|
import '../icon-button';
|
|
17
|
-
import '../
|
|
18
|
-
const templateHTML = '<style>dialog{position:absolute;left:0;right:0;margin:auto;display:flex;flex-direction:column;padding:24px;width:100%;max-width:512px;border-radius:4px;box-sizing:border-box;background-color:var(--sinch-color-snow-100);color:var(--sinch-color-text-default);font:var(--sinch-font-body);border:none;box-shadow:1px 2px 8px rgba(0,0,0,.1)}dialog:not([open]){display:none}dialog+.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000;opacity:.55}dialog::backdrop{background-color:#000;opacity:.55}._dialog_overlay{position:fixed;top:0;right:0;bottom:0;left:0}dialog.fixed{position:fixed;top:50%;transform:translate(0,-50%)}#header{display:flex;flex-direction:row;justify-content:space-between;align-content:center;margin-bottom:16px}#caption{font:var(--sinch-font-title-m);color:var(--sinch-color-text-default)}#content-wrapper{
|
|
17
|
+
import '../icons/close';
|
|
18
|
+
const templateHTML = '<style>dialog{position:absolute;left:0;right:0;margin:auto;display:flex;flex-direction:column;padding:24px;width:100%;max-width:512px;border-radius:4px;box-sizing:border-box;background-color:var(--sinch-color-snow-100);color:var(--sinch-color-text-default);font:var(--sinch-font-body);border:none;box-shadow:1px 2px 8px rgba(0,0,0,.1)}dialog:not([open]){display:none}dialog+.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000;opacity:.55}dialog::backdrop{background-color:#000;opacity:.55}._dialog_overlay{position:fixed;top:0;right:0;bottom:0;left:0}dialog.fixed{position:fixed;top:50%;transform:translate(0,-50%)}#header{display:flex;flex-direction:row;justify-content:space-between;align-content:center;margin-bottom:16px}#caption{font:var(--sinch-font-title-m);color:var(--sinch-color-text-default)}#content-wrapper{min-height:0;overflow:auto;max-height:var(--sinch-dialog-max-height,50vh)}#close{all:initial;cursor:pointer;--sinch-size-icon:24px}#buttons{display:flex;flex-direction:row;justify-content:flex-end;gap:16px;margin-top:24px}</style><dialog><div id="header"><span id="caption"></span> <button id="close"><sinch-icon-close></sinch-icon-close></button></div><div id="content-wrapper"><slot name="content"></slot></div><div id="buttons"><slot name="buttons"></slot></div></dialog>';
|
|
19
19
|
const template = document.createElement('template');
|
|
20
20
|
template.innerHTML = templateHTML;
|
|
21
|
-
defineCustomElement('sinch-dialog', (_$dialog = new WeakMap(), _$closeButton = new WeakMap(), _$caption = new WeakMap(), _isConnected = new WeakMap(), _onCancel = new WeakMap(), _onCloseClick = new WeakMap(), _onBackdropClick = new WeakMap(), _onCloseReactHandler = new WeakMap(), _dispatchCloseEvent = new WeakSet(), _setOpen = new WeakSet(), class extends
|
|
21
|
+
defineCustomElement('sinch-dialog', (_$dialog = new WeakMap(), _$closeButton = new WeakMap(), _$caption = new WeakMap(), _isConnected = new WeakMap(), _onCancel = new WeakMap(), _onCloseClick = new WeakMap(), _onBackdropClick = new WeakMap(), _onCloseReactHandler = new WeakMap(), _dispatchCloseEvent = new WeakSet(), _setOpen = new WeakSet(), class extends NectaryElement {
|
|
22
22
|
constructor() {
|
|
23
23
|
super();
|
|
24
24
|
|
|
@@ -83,10 +83,7 @@ defineCustomElement('sinch-dialog', (_$dialog = new WeakMap(), _$closeButton = n
|
|
|
83
83
|
}
|
|
84
84
|
});
|
|
85
85
|
|
|
86
|
-
const shadowRoot = this.attachShadow(
|
|
87
|
-
mode: 'closed',
|
|
88
|
-
delegatesFocus: true
|
|
89
|
-
});
|
|
86
|
+
const shadowRoot = this.attachShadow();
|
|
90
87
|
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
91
88
|
|
|
92
89
|
_classPrivateFieldSet(this, _$dialog, shadowRoot.querySelector('dialog'));
|
package/dropdown/index.js
CHANGED
|
@@ -13,7 +13,7 @@ function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(
|
|
|
13
13
|
|
|
14
14
|
import dialogPolyfill from 'dialog-polyfill';
|
|
15
15
|
import { isDropdownOptionElement } from '../dropdown-option';
|
|
16
|
-
import { attrValueToPixels, defineCustomElement, getAttribute, getBooleanAttribute, getIntegerAttribute, getLiteralAttribute, getReactEventHandler, getRect, isAttrTrue, updateAttribute, updateBooleanAttribute, updateIntegerAttribute, updateLiteralAttribute } from '../utils';
|
|
16
|
+
import { attrValueToPixels, defineCustomElement, getAttribute, getBooleanAttribute, getIntegerAttribute, getLiteralAttribute, getReactEventHandler, getRect, isAttrTrue, NectaryElement, updateAttribute, updateBooleanAttribute, updateIntegerAttribute, updateLiteralAttribute } from '../utils';
|
|
17
17
|
const templateHTML = '<style>:host{display:inline-block;vertical-align:middle;outline:0}#wrapper{position:relative;width:100%;box-sizing:border-box}dialog{outline:0;border:none;font:var(--sinch-font-body);color:var(--sinch-color-text-default);background-color:var(--sinch-color-snow-100);box-shadow:1px 2px 4px rgba(0,0,0,.15);overflow-y:auto;contain:content;padding:0;border-radius:4px;cursor:pointer}dialog::backdrop{background-color:transparent}dialog+.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:transparent}dialog.fixed{position:fixed;top:50%;transform:translate(0,-50%)}._dialog_overlay{position:fixed;top:0;right:0;bottom:0;left:0}::slotted(*){display:block}</style><div id="wrapper"><div id="target" aria-haspopup="listbox" aria-expanded="false"><slot name="target"></slot></div><dialog id="listbox" tabindex="-1"><slot name="option"></slot></dialog></div>';
|
|
18
18
|
const orientationValues = ['top-left', 'top-right', 'bottom-left', 'bottom-right'];
|
|
19
19
|
const ITEM_HEIGHT = 40;
|
|
@@ -30,7 +30,7 @@ const findSelectedOption = elements => {
|
|
|
30
30
|
|
|
31
31
|
const template = document.createElement('template');
|
|
32
32
|
template.innerHTML = templateHTML;
|
|
33
|
-
defineCustomElement('sinch-dropdown', (_$target = new WeakMap(), _$optionSlot = new WeakMap(), _$listbox = new WeakMap(), _isConnected = new WeakMap(), _onListboxClick = new WeakMap(), _onListboxKeyPress = new WeakMap(), _onListboxKeyDown = new WeakMap(), _onOptionSlotChange = new WeakMap(), _onExpand = new WeakSet(), _onCollapse = new WeakSet(), _isOpen = new WeakSet(), _updateOrientation = new WeakSet(), _onValueChange = new WeakSet(), _getFirstOption = new WeakSet(), _getLastOption = new WeakSet(), _getNextOption = new WeakSet(), _getPrevOption = new WeakSet(), _selectOption = new WeakSet(), _getOptionWithValue = new WeakSet(), _getOptionElements = new WeakSet(), _getEnabledOptionElements = new WeakSet(), _dispatchChangeEvent = new WeakSet(), _dispatchCloseEvent = new WeakSet(), _onCancel = new WeakMap(), _onCloseReactHandler = new WeakMap(), class extends
|
|
33
|
+
defineCustomElement('sinch-dropdown', (_$target = new WeakMap(), _$optionSlot = new WeakMap(), _$listbox = new WeakMap(), _isConnected = new WeakMap(), _onListboxClick = new WeakMap(), _onListboxKeyPress = new WeakMap(), _onListboxKeyDown = new WeakMap(), _onOptionSlotChange = new WeakMap(), _onExpand = new WeakSet(), _onCollapse = new WeakSet(), _isOpen = new WeakSet(), _updateOrientation = new WeakSet(), _onValueChange = new WeakSet(), _getFirstOption = new WeakSet(), _getLastOption = new WeakSet(), _getNextOption = new WeakSet(), _getPrevOption = new WeakSet(), _selectOption = new WeakSet(), _getOptionWithValue = new WeakSet(), _getOptionElements = new WeakSet(), _getEnabledOptionElements = new WeakSet(), _dispatchChangeEvent = new WeakSet(), _dispatchCloseEvent = new WeakSet(), _onCancel = new WeakMap(), _onCloseReactHandler = new WeakMap(), class extends NectaryElement {
|
|
34
34
|
constructor() {
|
|
35
35
|
super();
|
|
36
36
|
|
|
@@ -173,10 +173,7 @@ defineCustomElement('sinch-dropdown', (_$target = new WeakMap(), _$optionSlot =
|
|
|
173
173
|
}
|
|
174
174
|
});
|
|
175
175
|
|
|
176
|
-
const shadowRoot = this.attachShadow(
|
|
177
|
-
mode: 'closed',
|
|
178
|
-
delegatesFocus: true
|
|
179
|
-
});
|
|
176
|
+
const shadowRoot = this.attachShadow();
|
|
180
177
|
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
181
178
|
|
|
182
179
|
_classPrivateFieldSet(this, _$target, shadowRoot.querySelector('#target'));
|
|
@@ -470,7 +467,7 @@ function _getEnabledOptionElements2() {
|
|
|
470
467
|
}
|
|
471
468
|
|
|
472
469
|
function _dispatchChangeEvent2($opt) {
|
|
473
|
-
if ($opt != null
|
|
470
|
+
if ($opt != null) {
|
|
474
471
|
this.dispatchEvent(new CustomEvent('change', {
|
|
475
472
|
detail: $opt.value,
|
|
476
473
|
bubbles: true
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { NectaryElement } from '../utils';
|
|
1
2
|
import type { TSinchElementReact } from '../types';
|
|
2
|
-
export declare class DropdownOption extends
|
|
3
|
+
export declare class DropdownOption extends NectaryElement {
|
|
3
4
|
#private;
|
|
4
5
|
constructor();
|
|
5
6
|
connectedCallback(): void;
|
package/dropdown-option/index.js
CHANGED
|
@@ -5,8 +5,8 @@ function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedec
|
|
|
5
5
|
|
|
6
6
|
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
7
7
|
|
|
8
|
-
import { defineCustomElement, getAttribute, getBooleanAttribute, isAttrTrue, updateAttribute, updateBooleanAttribute } from '../utils';
|
|
9
|
-
const templateHTML = '<style>:host{display:block}
|
|
8
|
+
import { defineCustomElement, getAttribute, getBooleanAttribute, isAttrTrue, NectaryElement, updateAttribute, updateBooleanAttribute } from '../utils';
|
|
9
|
+
const templateHTML = '<style>:host{display:block}:host()>*{pointer-events:none}#wrapper{display:flex;position:relative;box-sizing:border-box;height:40px;padding:6px 12px;width:100%;align-items:center;gap:12px;--sinch-size-icon:24px}#content{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host(:hover)>#wrapper,:host([data-selected])>#wrapper{background-color:var(--sinch-color-snow-500)}:host([checked])>#wrapper{padding-right:36px}:host([checked])>#wrapper::after{content:"";position:absolute;top:12px;right:11px;width:18px;height:14px;background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'M6 11.17 1.83 7 .41 8.41 6 14 18 2 16.59.59 6 11.17Z\' fill=\'%230A273D\'/%3E%3C/svg%3E");background-size:cover;background-repeat:no-repeat}:host([disabled]:not([disabled=false]))>#wrapper{color:var(--sinch-color-stormy-100);--sinch-color-icon:var(--sinch-color-stormy-100)}</style><div id="wrapper"><slot name="icon"></slot><span id="content"></span></div>';
|
|
10
10
|
const template = document.createElement('template');
|
|
11
11
|
template.innerHTML = templateHTML;
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ var _$iconSlot = new WeakMap();
|
|
|
14
14
|
|
|
15
15
|
var _$content = new WeakMap();
|
|
16
16
|
|
|
17
|
-
export class DropdownOption extends
|
|
17
|
+
export class DropdownOption extends NectaryElement {
|
|
18
18
|
constructor() {
|
|
19
19
|
super();
|
|
20
20
|
|
|
@@ -28,9 +28,7 @@ export class DropdownOption extends HTMLElement {
|
|
|
28
28
|
value: void 0
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
const shadowRoot = this.attachShadow(
|
|
32
|
-
mode: 'closed'
|
|
33
|
-
});
|
|
31
|
+
const shadowRoot = this.attachShadow();
|
|
34
32
|
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
35
33
|
|
|
36
34
|
_classPrivateFieldSet(this, _$iconSlot, shadowRoot.querySelector('slot'));
|
package/grid/index.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { defineCustomElement } from '../utils';
|
|
1
|
+
import { defineCustomElement, NectaryElement } from '../utils';
|
|
2
2
|
const templateHTML = '<style>:host{--sinch-grid-gutter:24px;--sinch-grid-margin:32px;--sinch-grid-num-columns:12;display:grid;grid-template-columns:repeat(var(--sinch-grid-num-columns),minmax(0,1fr));grid-column-gap:var(--sinch-grid-gutter);grid-row-gap:var(--sinch-grid-gutter);padding:var(--sinch-grid-margin)}@media only screen and (max-width:1439px){:host{--sinch-grid-gutter:24px;--sinch-grid-margin:24px;--sinch-grid-num-columns:12}}@media only screen and (max-width:1023px){:host{--sinch-grid-gutter:24px;--sinch-grid-margin:24px;--sinch-grid-num-columns:8}}@media only screen and (max-width:767px){:host{--sinch-grid-gutter:16px;--sinch-grid-margin:16px;--sinch-grid-num-columns:4}}</style><slot name="item"></slot>';
|
|
3
3
|
import '../grid-item';
|
|
4
4
|
const template = document.createElement('template');
|
|
5
5
|
template.innerHTML = templateHTML;
|
|
6
|
-
defineCustomElement('sinch-grid', class extends
|
|
6
|
+
defineCustomElement('sinch-grid', class extends NectaryElement {
|
|
7
7
|
constructor() {
|
|
8
8
|
super();
|
|
9
|
-
const shadowRoot = this.attachShadow(
|
|
10
|
-
mode: 'closed'
|
|
11
|
-
});
|
|
9
|
+
const shadowRoot = this.attachShadow();
|
|
12
10
|
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
13
11
|
}
|
|
14
12
|
|
package/grid-item/index.js
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { defineCustomElement, getIntegerAttribute, updateIntegerAttribute } from '../utils';
|
|
1
|
+
import { defineCustomElement, getIntegerAttribute, NectaryElement, updateIntegerAttribute } from '../utils';
|
|
2
2
|
const templateHTML = '<style>:host{display:block;grid-column:span 12}:host([xl="2"]){grid-column:span 2}:host([xl="3"]){grid-column:span 3}:host([xl="4"]){grid-column:span 4}:host([xl="5"]){grid-column:span 5}:host([xl="6"]){grid-column:span 6}:host([xl="7"]){grid-column:span 7}:host([xl="8"]){grid-column:span 8}:host([xl="9"]){grid-column:span 9}:host([xl="10"]){grid-column:span 10}:host([xl="11"]){grid-column:span 11}:host([xl="12"]){grid-column:span 12}@media only screen and (max-width:1439px){:host{grid-column:span 12}:host([l="2"]){grid-column:span 2}:host([l="3"]){grid-column:span 3}:host([l="4"]){grid-column:span 4}:host([l="5"]){grid-column:span 5}:host([l="6"]){grid-column:span 6}:host([l="7"]){grid-column:span 7}:host([l="8"]){grid-column:span 8}:host([l="9"]){grid-column:span 9}:host([l="10"]){grid-column:span 10}:host([l="11"]){grid-column:span 11}:host([l="12"]){grid-column:span 12}}@media only screen and (max-width:1023px){:host{grid-column:span 8}:host([m="2"]){grid-column:span 2}:host([m="3"]){grid-column:span 3}:host([m="4"]){grid-column:span 4}:host([m="5"]){grid-column:span 5}:host([m="6"]){grid-column:span 6}:host([m="7"]){grid-column:span 7}:host([m="8"]){grid-column:span 8}}@media only screen and (max-width:767px){:host{grid-column:span 4}:host([s="2"]){grid-column:span 2}:host([s="3"]){grid-column:span 3}:host([s="4"]){grid-column:span 4}}</style><slot name="content"></slot>';
|
|
3
3
|
const template = document.createElement('template');
|
|
4
4
|
template.innerHTML = templateHTML;
|
|
5
|
-
defineCustomElement('sinch-grid-item', class extends
|
|
5
|
+
defineCustomElement('sinch-grid-item', class extends NectaryElement {
|
|
6
6
|
constructor() {
|
|
7
7
|
super();
|
|
8
|
-
const shadowRoot = this.attachShadow(
|
|
9
|
-
mode: 'closed'
|
|
10
|
-
});
|
|
8
|
+
const shadowRoot = this.attachShadow();
|
|
11
9
|
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
12
10
|
}
|
|
13
11
|
|
package/help-tooltip/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../tooltip';
|
|
2
|
-
import '../
|
|
2
|
+
import '../icons/help-outline';
|
|
3
3
|
import type { TSinchTooltipElement, TSinchTooltipReact } from '../tooltip';
|
|
4
4
|
export declare type TSinchHelpTooltipElement = TSinchTooltipElement;
|
|
5
5
|
export declare type TSinchHelpTooltipReact = TSinchTooltipReact;
|
package/help-tooltip/index.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import '../tooltip';
|
|
2
|
-
import '../
|
|
3
|
-
import { defineCustomElement, getAttribute, getBooleanAttribute, getIntegerAttribute, updateAttribute, updateBooleanAttribute, updateIntegerAttribute } from '../utils';
|
|
2
|
+
import '../icons/help-outline';
|
|
3
|
+
import { defineCustomElement, getAttribute, getBooleanAttribute, getIntegerAttribute, NectaryElement, updateAttribute, updateBooleanAttribute, updateIntegerAttribute } from '../utils';
|
|
4
4
|
const templateHTML = '<style>:host{display:inline-block;vertical-align:middle;--sinch-size-icon:18px}sinch-tooltip{display:block}</style><sinch-tooltip><sinch-icon-help-outline></sinch-icon-help-outline></sinch-tooltip>';
|
|
5
5
|
const template = document.createElement('template');
|
|
6
6
|
template.innerHTML = templateHTML;
|
|
7
|
-
defineCustomElement('sinch-help-tooltip', class extends
|
|
7
|
+
defineCustomElement('sinch-help-tooltip', class extends NectaryElement {
|
|
8
8
|
constructor() {
|
|
9
9
|
super();
|
|
10
|
-
const shadowRoot = this.attachShadow(
|
|
11
|
-
mode: 'closed'
|
|
12
|
-
});
|
|
10
|
+
const shadowRoot = this.attachShadow();
|
|
13
11
|
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
14
12
|
this.$tooltip = shadowRoot.querySelector('sinch-tooltip');
|
|
15
13
|
}
|
package/icon-button/index.js
CHANGED
|
@@ -7,11 +7,11 @@ function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedec
|
|
|
7
7
|
|
|
8
8
|
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
9
9
|
|
|
10
|
-
import { defineCustomElement, getBooleanAttribute, isAttrTrue, updateBooleanAttribute } from '../utils';
|
|
10
|
+
import { defineCustomElement, getBooleanAttribute, isAttrTrue, NectaryElement, updateBooleanAttribute } from '../utils';
|
|
11
11
|
const templateHTML = '<style>:host{display:inline-block;vertical-align:middle;outline:0}button{all:initial;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:48px;height:48px;border-radius:4px;background-color:transparent;box-shadow:0 0 0 1px transparent inset;cursor:pointer;--sinch-size-icon:24px;--sinch-color-icon:var(--sinch-icon-button-color, var(--sinch-color-stormy-500))}button:focus{box-shadow:0 0 0 1px var(--sinch-color-stormy-500) inset}button:hover{background-color:var(--sinch-color-snow-500)}button:active{background-color:var(--sinch-color-snow-600)}button:disabled{background-color:transparent;cursor:initial;--sinch-color-spinner-bg:var(--sinch-color-snow-200);--sinch-color-spinner-fg:var(--sinch-color-stormy-200);--sinch-color-icon:var(--sinch-color-stormy-100)}:host([small]:not([small=false]))>button{width:32px;height:32px}button>*{pointer-events:none}</style><button><slot name="icon"></slot></button>';
|
|
12
12
|
const template = document.createElement('template');
|
|
13
13
|
template.innerHTML = templateHTML;
|
|
14
|
-
defineCustomElement('sinch-icon-button', (_$button = new WeakMap(), class extends
|
|
14
|
+
defineCustomElement('sinch-icon-button', (_$button = new WeakMap(), class extends NectaryElement {
|
|
15
15
|
constructor() {
|
|
16
16
|
super();
|
|
17
17
|
|
|
@@ -20,10 +20,7 @@ defineCustomElement('sinch-icon-button', (_$button = new WeakMap(), class extend
|
|
|
20
20
|
value: void 0
|
|
21
21
|
});
|
|
22
22
|
|
|
23
|
-
const shadowRoot = this.attachShadow(
|
|
24
|
-
mode: 'closed',
|
|
25
|
-
delegatesFocus: true
|
|
26
|
-
});
|
|
23
|
+
const shadowRoot = this.attachShadow();
|
|
27
24
|
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
28
25
|
|
|
29
26
|
_classPrivateFieldSet(this, _$button, shadowRoot.querySelector('button'));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-access-time': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-access-time': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm-.22-13h-.06c-.4 0-.72.32-.72.72v4.72c0 .35.18.68.49.86l4.15 2.49c.34.2.78.1.98-.24a.71.71 0 0 0-.25-.99l-3.87-2.3V7.72c0-.4-.32-.72-.72-.72Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-access-time', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12 23c1.1 0 1.99-.89 1.99-1.99h-3.98c0 1.1.89 1.99 1.99 1.99Zm7-6v-6c0-3.35-2.36-6.15-5.5-6.83V3c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v1.17C7.36 4.85 5 7.65 5 11v6l-1.29 1.29c-.63.63-.19 1.71.7 1.71h15.17c.89 0 1.34-1.08.71-1.71L19 17Zm-4-3.99h-2v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H9c-.55 0-1-.45-1-1V12c0-.55.45-1 1-1h2V9c0-.55.45-1 1-1s1 .45 1 1v2h2c.55 0 1 .45 1 1v.01c0 .55-.45 1-1 1Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-add-alert', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-add-comment': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-add-comment': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M22 4c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4Zm-6 7h-3v3c0 .55-.45 1-1 1s-1-.45-1-1v-3H8c-.55 0-1-.45-1-1s.45-1 1-1h3V6c0-.55.45-1 1-1s1 .45 1 1v3h3c.55 0 1 .45 1 1s-.45 1-1 1Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-add-comment', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-alt-route': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-alt-route': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="m9.78 11.16-1.42 1.42a7.282 7.282 0 0 1-1.79-2.94l1.94-.49c.32.89.77 1.5 1.27 2.01Zm.37-6.01-2.8-2.8c-.2-.2-.51-.2-.71 0l-2.79 2.8a.5.5 0 0 0 .36.85h1.81c.02.81.08 1.54.19 2.17l1.94-.49C8.08 7.2 8.03 6.63 8.02 6H9.8a.5.5 0 0 0 .35-.85Zm10 0-2.79-2.79c-.2-.2-.51-.2-.71 0l-2.79 2.79c-.32.31-.1.85.35.85h1.78c-.1 3.68-1.28 4.75-2.54 5.88-.5.44-1.01.92-1.45 1.55-.34-.49-.73-.88-1.13-1.24L9.46 13.6c.93.85 1.54 1.54 1.54 3.4v4c0 .55.45 1 1 1s1-.45 1-1v-4c0-2.02.71-2.66 1.79-3.63 1.38-1.24 3.08-2.78 3.2-7.37h1.8a.5.5 0 0 0 .36-.85Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-alt-route', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="m21.81 12.74-.82-.63v-.22l.8-.63c.16-.12.2-.34.1-.51l-.85-1.48a.395.395 0 0 0-.35-.2c-.05 0-.1.01-.15.03l-.95.38c-.08-.05-.11-.07-.19-.11l-.15-1.01a.408.408 0 0 0-.4-.36h-1.71c-.2 0-.37.15-.4.34l-.14 1.01c-.03.02-.07.03-.1.05l-.09.06-.95-.38a.401.401 0 0 0-.5.17l-.85 1.48c-.1.17-.06.39.1.51l.8.63v.23l-.8.63a.39.39 0 0 0-.1.51l.85 1.48c.07.13.21.2.35.2.05 0 .1-.01.15-.03l.95-.37c.08.05.12.07.2.11l.15 1.01c.03.2.2.34.4.34h1.71c.2 0 .37-.15.4-.34l.15-1.01c.03-.02.07-.03.1-.05l.09-.06.95.38a.401.401 0 0 0 .5-.17l.85-1.48a.39.39 0 0 0-.1-.51ZM18 13.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5ZM17 17h2v4c0 1.1-.9 2-2 2H7c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2v4h-2V6H7v12h10v-1Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-app-settings-alt', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M4 8h4V4H4v4Zm6 12h4v-4h-4v4Zm-6 0h4v-4H4v4Zm0-6h4v-4H4v4Zm6 0h4v-4h-4v4Zm6-10v4h4V4h-4Zm-6 4h4V4h-4v4Zm6 6h4v-4h-4v4Zm0 6h4v-4h-4v4Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-apps', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M19 11H7.83l4.88-4.88c.39-.39.39-1.03 0-1.42a.996.996 0 0 0-1.41 0l-6.59 6.59a.996.996 0 0 0 0 1.41l6.59 6.59a.996.996 0 1 0 1.41-1.41L7.83 13H19c.55 0 1-.45 1-1s-.45-1-1-1Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-arrow-back', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M16.62 2.99a1.25 1.25 0 0 0-1.77 0L6.54 11.3a.996.996 0 0 0 0 1.41l8.31 8.31c.49.49 1.28.49 1.77 0s.49-1.28 0-1.77L9.38 12l7.25-7.25c.48-.48.48-1.28-.01-1.76Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-arrow-back-ios', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M11 5v11.17l-4.88-4.88c-.39-.39-1.03-.39-1.42 0a.996.996 0 0 0 0 1.41l6.59 6.59c.39.39 1.02.39 1.41 0l6.59-6.59a.996.996 0 1 0-1.41-1.41L13 16.17V5c0-.55-.45-1-1-1s-1 .45-1 1Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-arrow-downward', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="m8.71 11.71 2.59 2.59c.39.39 1.02.39 1.41 0l2.59-2.59c.63-.63.18-1.71-.71-1.71H9.41c-.89 0-1.33 1.08-.7 1.71Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-arrow-drop-down', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm-.35 12.65-2.79-2.79c-.32-.32-.1-.86.35-.86h5.59c.45 0 .67.54.35.85l-2.79 2.79c-.2.2-.52.2-.71.01Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-arrow-drop-down-circle', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M8.71 12.29 11.3 9.7a.996.996 0 0 1 1.41 0l2.59 2.59c.63.63.18 1.71-.71 1.71H9.41c-.89 0-1.33-1.08-.7-1.71Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-arrow-drop-up', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M5 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59a.996.996 0 0 0 0-1.41l-6.58-6.6a.996.996 0 1 0-1.41 1.41L16.17 11H5c-.55 0-1 .45-1 1s.45 1 1 1Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-arrow-forward', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M7.38 21.01c.49.49 1.28.49 1.77 0l8.31-8.31a.996.996 0 0 0 0-1.41L9.15 2.98a1.25 1.25 0 0 0-1.77 0 1.25 1.25 0 0 0 0 1.77L14.62 12l-7.25 7.25c-.48.48-.48 1.28.01 1.76Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-arrow-forward-ios', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12.29 8.71 9.7 11.3a.996.996 0 0 0 0 1.41l2.59 2.59c.63.63 1.71.18 1.71-.71V9.41c0-.89-1.08-1.33-1.71-.7Z" fill="#0A273D"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-arrow-left', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="m11.71 15.29 2.59-2.59a.996.996 0 0 0 0-1.41L11.71 8.7c-.63-.62-1.71-.18-1.71.71v5.17c0 .9 1.08 1.34 1.71.71Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-arrow-right', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M13 19V7.83l4.88 4.88c.39.39 1.03.39 1.42 0a.996.996 0 0 0 0-1.41l-6.59-6.59a.996.996 0 0 0-1.41 0l-6.6 6.58a.996.996 0 1 0 1.41 1.41L11 7.83V19c0 .55.45 1 1 1s1-.45 1-1Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-arrow-upward', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-assignment': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-assignment': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1Zm1 14H8c-.55 0-1-.45-1-1s.45-1 1-1h5c.55 0 1 .45 1 1s-.45 1-1 1Zm3-4H8c-.55 0-1-.45-1-1s.45-1 1-1h8c.55 0 1 .45 1 1s-.45 1-1 1Zm0-4H8c-.55 0-1-.45-1-1s.45-1 1-1h8c.55 0 1 .45 1 1s-.45 1-1 1Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-assignment', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M21 10V4c0-1.1-.9-2-2-2H3c-1.1 0-1.99.9-1.99 2L1 16c0 1.1.9 2 2 2h11v-5c0-1.66 1.34-3 3-3h4Zm-9.47.67c-.32.2-.74.2-1.06 0L3.4 6.25a.85.85 0 1 1 .9-1.44L11 9l6.7-4.19a.85.85 0 1 1 .9 1.44l-7.07 4.42Z" fill="#0A273D"/><path d="M22 14c-.55 0-1 .45-1 1v3c0 1.1-.9 2-2 2s-2-.9-2-2v-4.5c0-.28.22-.5.5-.5s.5.22.5.5V17c0 .55.45 1 1 1s1-.45 1-1v-3.5a2.5 2.5 0 0 0-5 0V18c0 2.21 1.79 4 4 4s4-1.79 4-4v-3c0-.55-.45-1-1-1Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-attach-email', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M17.75 16H7.17c-2.09 0-3.95-1.53-4.15-3.61A3.998 3.998 0 0 1 7 8h12.36c1.31 0 2.5.94 2.63 2.24A2.5 2.5 0 0 1 19.5 13H9c-.55 0-1-.45-1-1s.45-1 1-1h8.75c.41 0 .75-.34.75-.75s-.34-.75-.75-.75H9.14c-1.31 0-2.5.94-2.63 2.24A2.5 2.5 0 0 0 9 14.5h10.33c2.09 0 3.95-1.53 4.15-3.61A3.993 3.993 0 0 0 19.5 6.5H7.23c-2.87 0-5.44 2.1-5.71 4.96A5.505 5.505 0 0 0 7 17.5h10.75c.41 0 .75-.34.75-.75s-.34-.75-.75-.75Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-attachment', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M16 9c-.7 0-1.37.1-2 .29V7c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h5.68A6.999 6.999 0 0 0 23 16c0-3.87-3.13-7-7-7Zm0 12c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5ZM14 4c.55 0 1-.45 1-1s-.45-1-1-1h-2.5l-.71-.71c-.18-.18-.44-.29-.7-.29H5.91c-.26 0-.52.11-.7.29L4.5 2H2c-.55 0-1 .45-1 1s.45 1 1 1h12Z"/><path d="M15.75 12c-.41 0-.75.34-.75.75v3.68c0 .36.19.68.5.86l2.52 1.47c.33.19.75.09.96-.22a.72.72 0 0 0-.24-1.02L16.5 16.2v-3.45c0-.41-.34-.75-.75-.75Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-auto-delete', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M18 12c0 .55.45 1 1 1h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1Zm-1.41 4.82a.966.966 0 0 0 .2 1.37c.53.39 1.09.81 1.62 1.21.44.33 1.06.24 1.38-.2 0-.01.01-.01.01-.02a.978.978 0 0 0-.2-1.38c-.53-.4-1.09-.82-1.61-1.21a.993.993 0 0 0-1.39.21c0 .01-.01.02-.01.02Zm3.22-12.01c0-.01-.01-.01-.01-.02a.98.98 0 0 0-1.38-.2c-.53.4-1.1.82-1.62 1.22-.44.33-.52.95-.19 1.38 0 .01.01.01.01.02.33.44.94.53 1.38.2.53-.39 1.09-.82 1.62-1.22.43-.32.51-.94.19-1.38ZM8 9H4c-1.1 0-2 .9-2 2v2c0 1.1.9 2 2 2h1v3c0 .55.45 1 1 1s1-.45 1-1v-3h1l5 3V6L8 9Zm7.5 3c0-1.33-.58-2.53-1.5-3.35v6.69c.92-.81 1.5-2.01 1.5-3.34Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-campaign', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2Zm4.3 14.3a.996.996 0 0 1-1.41 0L12 13.41 9.11 16.3a.996.996 0 1 1-1.41-1.41L10.59 12 7.7 9.11A.996.996 0 1 1 9.11 7.7L12 10.59l2.89-2.89a.996.996 0 1 1 1.41 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-cancel', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-chat': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-chat': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2ZM7 9h10c.55 0 1 .45 1 1s-.45 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1Zm6 5H7c-.55 0-1-.45-1-1s.45-1 1-1h6c.55 0 1 .45 1 1s-.45 1-1 1Zm4-6H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-chat', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-chat-bubble-outline': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-chat-bubble-outline': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2Zm-1 14H6l-2 2V5c0-.55.45-1 1-1h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-chat-bubble-outline', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M9 16.17 5.53 12.7a.996.996 0 1 0-1.41 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71a.996.996 0 1 0-1.41-1.41L9 16.17Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-check', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-play-circle-outline': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-play-circle-outline': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm3.88-11.71L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-play-circle-outline', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M14.71 6.71a.996.996 0 0 0-1.41 0L8.71 11.3a.996.996 0 0 0 0 1.41l4.59 4.59a.996.996 0 1 0 1.41-1.41L10.83 12l3.88-3.88c.39-.39.38-1.03 0-1.41Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-chevron-left', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M9.29 6.71a.996.996 0 0 0 0 1.41L13.17 12l-3.88 3.88a.996.996 0 1 0 1.41 1.41l4.59-4.59a.996.996 0 0 0 0-1.41L10.7 6.7c-.38-.38-1.02-.38-1.41.01Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-chevron-right', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7A.996.996 0 1 0 5.7 7.11L10.59 12 5.7 16.89a.996.996 0 1 0 1.41 1.41L12 13.41l4.89 4.89a.996.996 0 1 0 1.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-close', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-cloud', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm4.5 14H8c-1.66 0-3-1.34-3-3s1.34-3 3-3h.14c.44-1.73 1.99-3 3.86-3 2.21 0 4 1.79 4 4h.5a2.5 2.5 0 0 1 0 5Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-cloud-circle', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96Zm-8.64 6.25a.996.996 0 0 1-1.41 0L7.2 14.2a.996.996 0 1 1 1.41-1.41L10 14.18l4.48-4.48a.996.996 0 1 1 1.41 1.41l-5.18 5.18Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-cloud-done', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96ZM17 13l-4.65 4.65c-.2.2-.51.2-.71 0L7 13h3V9h4v4h3Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-cloud-download', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M24 15c0-2.64-2.05-4.78-4.65-4.96A7.49 7.49 0 0 0 12 4c-1.33 0-2.57.36-3.65.97l1.49 1.49C10.51 6.17 11.23 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19a2.996 2.996 0 0 1 1.79 5.4l1.41 1.41c1.09-.92 1.8-2.27 1.8-3.81ZM3.71 4.56a.996.996 0 0 0 0 1.41l2.06 2.06h-.42a5.99 5.99 0 0 0-5.29 6.79C.46 17.84 3.19 20 6.22 20h11.51l1.29 1.29a.996.996 0 1 0 1.41-1.41L5.12 4.56a.996.996 0 0 0-1.41 0ZM6 18c-2.21 0-4-1.79-4-4s1.79-4 4-4h1.73l8 8H6Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-cloud-off', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96ZM19 18H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h.71C7.37 7.69 9.48 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3s-1.34 3-3 3Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-cloud-queue', createIconClass(templateHTML));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96ZM14 13v4h-4v-4H7l4.65-4.65c.2-.2.51-.2.71 0L17 13h-3Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-cloud-upload', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-comment': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-comment': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18ZM17 14H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1Zm0-3H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1Zm0-3H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-comment', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-create': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-create': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|