@nectary/components 0.26.0 → 0.28.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 +31 -34
- package/accordion-item/index.d.ts +1 -25
- package/accordion-item/index.js +2 -8
- package/accordion-item/types.d.ts +23 -0
- package/accordion-item/types.js +1 -0
- package/accordion-item/utils.d.ts +1 -0
- package/accordion-item/utils.js +1 -0
- package/action-menu/index.d.ts +29 -0
- package/action-menu/index.js +274 -0
- package/action-menu-option/index.d.ts +11 -0
- package/action-menu-option/index.js +95 -0
- package/action-menu-option/types.d.ts +17 -0
- package/action-menu-option/types.js +1 -0
- package/avatar/index.d.ts +0 -1
- package/avatar/index.js +0 -1
- package/avatar-badge/index.d.ts +0 -1
- package/avatar-badge/index.js +0 -1
- package/avatar-status/index.d.ts +0 -1
- package/avatar-status/index.js +0 -1
- package/button/index.js +1 -1
- package/card/index.js +3 -7
- package/card-button/index.d.ts +0 -1
- package/card-button/index.js +0 -3
- package/card-button/utils.d.ts +2 -0
- package/card-button/utils.js +3 -0
- package/card-link/index.d.ts +0 -1
- package/card-link/index.js +0 -3
- package/card-link/utils.d.ts +2 -0
- package/card-link/utils.js +3 -0
- package/chat-block/index.d.ts +1 -1
- package/chat-block/index.js +1 -1
- package/chat-bubble/index.d.ts +5 -10
- package/chat-bubble/index.js +15 -3
- package/chat-bubble/types.d.ts +13 -0
- package/chat-bubble/types.js +1 -0
- package/chat-bubble/utils.d.ts +2 -0
- package/chat-bubble/utils.js +2 -0
- package/dropdown/index.d.ts +2 -25
- package/dropdown/index.js +103 -184
- package/dropdown/types.d.ts +25 -0
- package/dropdown/types.js +1 -0
- package/dropdown-checkbox-option/index.d.ts +11 -0
- package/dropdown-checkbox-option/index.js +96 -0
- package/dropdown-checkbox-option/types.d.ts +14 -0
- package/dropdown-checkbox-option/types.js +1 -0
- package/dropdown-radio-option/index.d.ts +11 -0
- package/dropdown-radio-option/index.js +96 -0
- package/dropdown-radio-option/types.d.ts +14 -0
- package/dropdown-radio-option/types.js +1 -0
- package/dropdown-text-option/index.d.ts +30 -0
- package/{dropdown-option → dropdown-text-option}/index.js +4 -7
- package/dropdown-text-option/types.d.ts +15 -0
- package/dropdown-text-option/types.js +1 -0
- package/grid/index.d.ts +0 -1
- package/grid/index.js +0 -1
- package/grid-item/index.d.ts +3 -15
- package/grid-item/types.d.ts +13 -0
- package/grid-item/types.js +1 -0
- package/help-tooltip/index.d.ts +1 -1
- package/icons/3d-rotation/index.d.ts +11 -0
- package/icons/3d-rotation/index.js +4 -0
- package/icons/access-alarm/index.d.ts +11 -0
- package/icons/access-alarm/index.js +4 -0
- package/icons/access-alarms/index.d.ts +11 -0
- package/icons/access-alarms/index.js +4 -0
- package/icons/accessibility/index.d.ts +11 -0
- package/icons/accessibility/index.js +4 -0
- package/icons/accessibility-new/index.d.ts +11 -0
- package/icons/accessibility-new/index.js +4 -0
- package/icons/accessible/index.d.ts +11 -0
- package/icons/accessible/index.js +4 -0
- package/icons/accessible-forward/index.d.ts +11 -0
- package/icons/accessible-forward/index.js +4 -0
- package/icons/account-balance/index.d.ts +11 -0
- package/icons/account-balance/index.js +4 -0
- package/icons/account-balance-wallet/index.d.ts +11 -0
- package/icons/account-balance-wallet/index.js +4 -0
- package/icons/account-box/index.d.ts +11 -0
- package/icons/account-box/index.js +4 -0
- package/icons/account-circle/index.d.ts +11 -0
- package/icons/account-circle/index.js +4 -0
- package/icons/ad-units/index.d.ts +11 -0
- package/icons/ad-units/index.js +4 -0
- package/icons/add-alarm/index.d.ts +11 -0
- package/icons/add-alarm/index.js +4 -0
- package/icons/add-ic-call/index.d.ts +11 -0
- package/icons/add-ic-call/index.js +4 -0
- package/icons/add-shopping-cart/index.d.ts +11 -0
- package/icons/add-shopping-cart/index.js +4 -0
- package/icons/add-task/index.d.ts +11 -0
- package/icons/add-task/index.js +4 -0
- package/icons/add-to-home-screen/index.d.ts +11 -0
- package/icons/add-to-home-screen/index.js +4 -0
- package/icons/addchart/index.d.ts +11 -0
- package/icons/addchart/index.js +4 -0
- package/icons/admin-panel-settings/index.d.ts +11 -0
- package/icons/admin-panel-settings/index.js +4 -0
- package/icons/airplanemode-active/index.d.ts +11 -0
- package/icons/airplanemode-active/index.js +4 -0
- package/icons/airplanemode-inactive/index.d.ts +11 -0
- package/icons/airplanemode-inactive/index.js +4 -0
- package/icons/alarm/index.d.ts +11 -0
- package/icons/alarm/index.js +4 -0
- package/icons/alarm-add/index.d.ts +11 -0
- package/icons/alarm-add/index.js +4 -0
- package/icons/alarm-off/index.d.ts +11 -0
- package/icons/alarm-off/index.js +4 -0
- package/icons/alarm-on/index.d.ts +11 -0
- package/icons/alarm-on/index.js +4 -0
- package/icons/all-inbox/index.d.ts +11 -0
- package/icons/all-inbox/index.js +4 -0
- package/icons/all-out/index.d.ts +11 -0
- package/icons/all-out/index.js +4 -0
- package/icons/alternate-email/index.d.ts +11 -0
- package/icons/alternate-email/index.js +4 -0
- package/icons/analytics/index.d.ts +11 -0
- package/icons/analytics/index.js +4 -0
- package/icons/anchor/index.d.ts +11 -0
- package/icons/anchor/index.js +4 -0
- package/icons/android/index.d.ts +11 -0
- package/icons/android/index.js +4 -0
- package/icons/announcement/index.d.ts +11 -0
- package/icons/announcement/index.js +4 -0
- package/icons/api/index.d.ts +11 -0
- package/icons/api/index.js +4 -0
- package/icons/app-blocking/index.d.ts +11 -0
- package/icons/app-blocking/index.js +4 -0
- package/icons/arrow-circle-down/index.d.ts +11 -0
- package/icons/arrow-circle-down/index.js +4 -0
- package/icons/arrow-circle-up/index.d.ts +11 -0
- package/icons/arrow-circle-up/index.js +4 -0
- package/icons/arrow-left/index.js +1 -1
- package/icons/arrow-right-alt/index.d.ts +11 -0
- package/icons/arrow-right-alt/index.js +4 -0
- package/icons/article/index.d.ts +11 -0
- package/icons/article/index.js +4 -0
- package/icons/aspect-ratio/index.d.ts +11 -0
- package/icons/aspect-ratio/index.js +4 -0
- package/icons/assessment/index.d.ts +11 -0
- package/icons/assessment/index.js +4 -0
- package/icons/assignment-ind/index.d.ts +11 -0
- package/icons/assignment-ind/index.js +4 -0
- package/icons/assignment-late/index.d.ts +11 -0
- package/icons/assignment-late/index.js +4 -0
- package/icons/assignment-return/index.d.ts +11 -0
- package/icons/assignment-return/index.js +4 -0
- package/icons/assignment-returned/index.d.ts +11 -0
- package/icons/assignment-returned/index.js +4 -0
- package/icons/assignment-turned-in/index.d.ts +11 -0
- package/icons/assignment-turned-in/index.js +4 -0
- package/icons/attach-email/index.js +1 -1
- package/icons/attribution/index.js +1 -1
- package/icons/autorenew/index.d.ts +11 -0
- package/icons/autorenew/index.js +4 -0
- package/icons/backup/index.d.ts +11 -0
- package/icons/backup/index.js +4 -0
- package/icons/backup-table/index.d.ts +11 -0
- package/icons/backup-table/index.js +4 -0
- package/icons/batch-prediction/index.d.ts +11 -0
- package/icons/batch-prediction/index.js +4 -0
- package/icons/battery-alert/index.d.ts +11 -0
- package/icons/battery-alert/index.js +4 -0
- package/icons/battery-charging-full/index.d.ts +11 -0
- package/icons/battery-charging-full/index.js +4 -0
- package/icons/battery-full/index.d.ts +11 -0
- package/icons/battery-full/index.js +4 -0
- package/icons/battery-std/index.d.ts +11 -0
- package/icons/battery-std/index.js +4 -0
- package/icons/battery-unknown/index.d.ts +11 -0
- package/icons/battery-unknown/index.js +4 -0
- package/icons/biotech/index.js +1 -1
- package/icons/bluetooth/index.d.ts +11 -0
- package/icons/bluetooth/index.js +4 -0
- package/icons/bluetooth-connected/index.d.ts +11 -0
- package/icons/bluetooth-connected/index.js +4 -0
- package/icons/bluetooth-disabled/index.d.ts +11 -0
- package/icons/bluetooth-disabled/index.js +4 -0
- package/icons/bluetooth-searching/index.d.ts +11 -0
- package/icons/bluetooth-searching/index.js +4 -0
- package/icons/book/index.d.ts +11 -0
- package/icons/book/index.js +4 -0
- package/icons/book-online/index.d.ts +11 -0
- package/icons/book-online/index.js +4 -0
- package/icons/bookmark/index.d.ts +11 -0
- package/icons/bookmark/index.js +4 -0
- package/icons/bookmark-border/index.d.ts +11 -0
- package/icons/bookmark-border/index.js +4 -0
- package/icons/bookmarks/index.d.ts +11 -0
- package/icons/bookmarks/index.js +4 -0
- package/icons/brightness-auto/index.d.ts +11 -0
- package/icons/brightness-auto/index.js +4 -0
- package/icons/brightness-high/index.d.ts +11 -0
- package/icons/brightness-high/index.js +4 -0
- package/icons/brightness-low/index.d.ts +11 -0
- package/icons/brightness-low/index.js +4 -0
- package/icons/brightness-medium/index.d.ts +11 -0
- package/icons/brightness-medium/index.js +4 -0
- package/icons/bug-report/index.d.ts +11 -0
- package/icons/bug-report/index.js +4 -0
- package/icons/build/index.d.ts +11 -0
- package/icons/build/index.js +4 -0
- package/icons/build-circle/index.d.ts +11 -0
- package/icons/build-circle/index.js +4 -0
- package/icons/business/index.d.ts +11 -0
- package/icons/business/index.js +4 -0
- package/icons/cached/index.d.ts +11 -0
- package/icons/cached/index.js +4 -0
- package/icons/calendar-today/index.d.ts +11 -0
- package/icons/calendar-today/index.js +4 -0
- package/icons/calendar-view-day/index.d.ts +11 -0
- package/icons/calendar-view-day/index.js +4 -0
- package/icons/call/index.d.ts +11 -0
- package/icons/call/index.js +4 -0
- package/icons/call-end/index.d.ts +11 -0
- package/icons/call-end/index.js +4 -0
- package/icons/call-made/index.d.ts +11 -0
- package/icons/call-made/index.js +4 -0
- package/icons/call-merge/index.d.ts +11 -0
- package/icons/call-merge/index.js +4 -0
- package/icons/call-missed/index.d.ts +11 -0
- package/icons/call-missed/index.js +4 -0
- package/icons/call-missed-outgoing/index.d.ts +11 -0
- package/icons/call-missed-outgoing/index.js +4 -0
- package/icons/call-received/index.d.ts +11 -0
- package/icons/call-received/index.js +4 -0
- package/icons/call-split/index.d.ts +11 -0
- package/icons/call-split/index.js +4 -0
- package/icons/camera-enhance/index.d.ts +11 -0
- package/icons/camera-enhance/index.js +4 -0
- package/icons/cancel-presentation/index.d.ts +11 -0
- package/icons/cancel-presentation/index.js +4 -0
- package/icons/cancel-schedule-send/index.d.ts +11 -0
- package/icons/cancel-schedule-send/index.js +4 -0
- package/icons/card-giftcard/index.d.ts +11 -0
- package/icons/card-giftcard/index.js +4 -0
- package/icons/card-membership/index.d.ts +11 -0
- package/icons/card-membership/index.js +4 -0
- package/icons/card-travel/index.d.ts +11 -0
- package/icons/card-travel/index.js +4 -0
- package/icons/change-history/index.d.ts +11 -0
- package/icons/change-history/index.js +4 -0
- package/icons/chat-bubble/index.d.ts +11 -0
- package/icons/chat-bubble/index.js +4 -0
- package/icons/check-circle/index.d.ts +11 -0
- package/icons/check-circle/index.js +4 -0
- package/icons/check-circle-outline/index.d.ts +2 -2
- package/icons/check-circle-outline/index.js +1 -1
- package/icons/chrome-reader-mode/index.d.ts +11 -0
- package/icons/chrome-reader-mode/index.js +4 -0
- package/icons/class/index.d.ts +11 -0
- package/icons/class/index.js +4 -0
- package/icons/clear-all/index.d.ts +11 -0
- package/icons/clear-all/index.js +4 -0
- package/icons/close-fullscreen/index.d.ts +11 -0
- package/icons/close-fullscreen/index.js +4 -0
- package/icons/code/index.d.ts +11 -0
- package/icons/code/index.js +4 -0
- package/icons/comment-bank/index.d.ts +11 -0
- package/icons/comment-bank/index.js +4 -0
- package/icons/commute/index.d.ts +11 -0
- package/icons/commute/index.js +4 -0
- package/icons/compare-arrows/index.d.ts +11 -0
- package/icons/compare-arrows/index.js +4 -0
- package/icons/contact-mail/index.d.ts +11 -0
- package/icons/contact-mail/index.js +4 -0
- package/icons/contact-page/index.d.ts +11 -0
- package/icons/contact-page/index.js +4 -0
- package/icons/contact-phone/index.d.ts +11 -0
- package/icons/contact-phone/index.js +4 -0
- package/icons/contact-support/index.d.ts +11 -0
- package/icons/contact-support/index.js +4 -0
- package/icons/contactless/index.d.ts +11 -0
- package/icons/contactless/index.js +4 -0
- package/icons/contacts/index.d.ts +11 -0
- package/icons/contacts/index.js +4 -0
- package/icons/copyright/index.d.ts +11 -0
- package/icons/copyright/index.js +4 -0
- package/icons/credit-card/index.d.ts +11 -0
- package/icons/credit-card/index.js +4 -0
- package/icons/dashboard/index.d.ts +11 -0
- package/icons/dashboard/index.js +4 -0
- package/icons/data-usage/index.d.ts +11 -0
- package/icons/data-usage/index.js +4 -0
- package/icons/date-range/index.d.ts +11 -0
- package/icons/date-range/index.js +4 -0
- package/icons/delete/index.d.ts +11 -0
- package/icons/delete/index.js +4 -0
- package/icons/delete-forever/index.d.ts +11 -0
- package/icons/delete-forever/index.js +4 -0
- package/icons/delete-outline/index.d.ts +11 -0
- package/icons/delete-outline/index.js +4 -0
- package/icons/description/index.d.ts +11 -0
- package/icons/description/index.js +4 -0
- package/icons/desktop-access-disabled/index.d.ts +11 -0
- package/icons/desktop-access-disabled/index.js +4 -0
- package/icons/developer-mode/index.d.ts +11 -0
- package/icons/developer-mode/index.js +4 -0
- package/icons/devices/index.d.ts +11 -0
- package/icons/devices/index.js +4 -0
- package/icons/dialer-sip/index.d.ts +11 -0
- package/icons/dialer-sip/index.js +4 -0
- package/icons/dialpad/index.d.ts +11 -0
- package/icons/dialpad/index.js +4 -0
- package/icons/disabled-by-default/index.d.ts +11 -0
- package/icons/disabled-by-default/index.js +4 -0
- package/icons/dns/index.d.ts +11 -0
- package/icons/dns/index.js +4 -0
- package/icons/domain-disabled/index.d.ts +11 -0
- package/icons/domain-disabled/index.js +4 -0
- package/icons/domain-verification/index.d.ts +11 -0
- package/icons/domain-verification/index.js +4 -0
- package/icons/done/index.d.ts +11 -0
- package/icons/done/index.js +4 -0
- package/icons/done-outline/index.d.ts +11 -0
- package/icons/done-outline/index.js +4 -0
- package/icons/donut-large/index.d.ts +11 -0
- package/icons/donut-large/index.js +4 -0
- package/icons/donut-small/index.d.ts +11 -0
- package/icons/donut-small/index.js +4 -0
- package/icons/double-arrow/index.js +1 -1
- package/icons/drag-indicator/index.d.ts +11 -0
- package/icons/drag-indicator/index.js +4 -0
- package/icons/duo/index.d.ts +11 -0
- package/icons/duo/index.js +4 -0
- package/icons/dvr/index.d.ts +11 -0
- package/icons/dvr/index.js +4 -0
- package/icons/dynamic-feed/index.js +1 -1
- package/icons/dynamic-form/index.d.ts +11 -0
- package/icons/dynamic-form/index.js +4 -0
- package/icons/eco/index.d.ts +11 -0
- package/icons/eco/index.js +4 -0
- package/icons/eject/index.d.ts +11 -0
- package/icons/eject/index.js +4 -0
- package/icons/email/index.d.ts +11 -0
- package/icons/email/index.js +4 -0
- package/icons/euro-symbol/index.d.ts +11 -0
- package/icons/euro-symbol/index.js +4 -0
- package/icons/event/index.d.ts +11 -0
- package/icons/event/index.js +4 -0
- package/icons/event-seat/index.d.ts +11 -0
- package/icons/event-seat/index.js +4 -0
- package/icons/exit-to-app/index.d.ts +11 -0
- package/icons/exit-to-app/index.js +4 -0
- package/icons/explore/index.d.ts +11 -0
- package/icons/explore/index.js +4 -0
- package/icons/explore-off/index.d.ts +11 -0
- package/icons/explore-off/index.js +4 -0
- package/icons/extension/index.d.ts +11 -0
- package/icons/extension/index.js +4 -0
- package/icons/face/index.d.ts +11 -0
- package/icons/face/index.js +4 -0
- package/icons/face-unlock/index.d.ts +11 -0
- package/icons/face-unlock/index.js +4 -0
- package/icons/fact-check/index.d.ts +11 -0
- package/icons/fact-check/index.js +4 -0
- package/icons/favorite/index.d.ts +11 -0
- package/icons/favorite/index.js +4 -0
- package/icons/favorite-border/index.d.ts +11 -0
- package/icons/favorite-border/index.js +4 -0
- package/icons/feedback/index.d.ts +11 -0
- package/icons/feedback/index.js +4 -0
- package/icons/filter-alt/index.d.ts +11 -0
- package/icons/filter-alt/index.js +4 -0
- package/icons/find-in-page/index.d.ts +11 -0
- package/icons/find-in-page/index.js +4 -0
- package/icons/find-replace/index.d.ts +11 -0
- package/icons/find-replace/index.js +4 -0
- package/icons/fingerprint/index.d.ts +11 -0
- package/icons/fingerprint/index.js +4 -0
- package/icons/flaky/index.d.ts +11 -0
- package/icons/flaky/index.js +4 -0
- package/icons/flight-land/index.d.ts +11 -0
- package/icons/flight-land/index.js +4 -0
- package/icons/flight-takeoff/index.d.ts +11 -0
- package/icons/flight-takeoff/index.js +4 -0
- package/icons/flip-to-back/index.d.ts +11 -0
- package/icons/flip-to-back/index.js +4 -0
- package/icons/flip-to-front/index.d.ts +11 -0
- package/icons/flip-to-front/index.js +4 -0
- package/icons/forward-to-inbox/index.d.ts +11 -0
- package/icons/forward-to-inbox/index.js +4 -0
- package/icons/g-translate/index.d.ts +11 -0
- package/icons/g-translate/index.js +4 -0
- package/icons/gavel/index.d.ts +11 -0
- package/icons/gavel/index.js +4 -0
- package/icons/get-app/index.d.ts +11 -0
- package/icons/get-app/index.js +4 -0
- package/icons/gif/index.d.ts +11 -0
- package/icons/gif/index.js +4 -0
- package/icons/gps-fixed/index.d.ts +11 -0
- package/icons/gps-fixed/index.js +4 -0
- package/icons/gps-not-fixed/index.d.ts +11 -0
- package/icons/gps-not-fixed/index.js +4 -0
- package/icons/gps-off/index.d.ts +11 -0
- package/icons/gps-off/index.js +4 -0
- package/icons/grade/index.d.ts +11 -0
- package/icons/grade/index.js +4 -0
- package/icons/grading/index.d.ts +11 -0
- package/icons/grading/index.js +4 -0
- package/icons/graphic-eq/index.d.ts +11 -0
- package/icons/graphic-eq/index.js +4 -0
- package/icons/group-work/index.d.ts +11 -0
- package/icons/group-work/index.js +4 -0
- package/icons/help/index.d.ts +11 -0
- package/icons/help/index.js +4 -0
- package/icons/help-center/index.d.ts +11 -0
- package/icons/help-center/index.js +4 -0
- package/icons/highlight-alt/index.d.ts +11 -0
- package/icons/highlight-alt/index.js +4 -0
- package/icons/highlight-off/index.d.ts +11 -0
- package/icons/highlight-off/index.js +4 -0
- package/icons/history-toggle-off/index.d.ts +11 -0
- package/icons/history-toggle-off/index.js +4 -0
- package/icons/home/index.d.ts +11 -0
- package/icons/home/index.js +4 -0
- package/icons/home-work/index.js +1 -1
- package/icons/horizontal-split/index.d.ts +11 -0
- package/icons/horizontal-split/index.js +4 -0
- package/icons/hourglass-bottom/index.d.ts +11 -0
- package/icons/hourglass-bottom/index.js +4 -0
- package/icons/hourglass-disabled/index.d.ts +11 -0
- package/icons/hourglass-disabled/index.js +4 -0
- package/icons/hourglass-empty/index.d.ts +11 -0
- package/icons/hourglass-empty/index.js +4 -0
- package/icons/hourglass-full/index.d.ts +11 -0
- package/icons/hourglass-full/index.js +4 -0
- package/icons/hourglass-top/index.d.ts +11 -0
- package/icons/hourglass-top/index.js +4 -0
- package/icons/http/index.d.ts +11 -0
- package/icons/http/index.js +4 -0
- package/icons/https/index.d.ts +11 -0
- package/icons/https/index.js +4 -0
- package/icons/import-contacts/index.d.ts +11 -0
- package/icons/import-contacts/index.js +4 -0
- package/icons/import-export/index.d.ts +11 -0
- package/icons/import-export/index.js +4 -0
- package/icons/important-devices/index.d.ts +11 -0
- package/icons/important-devices/index.js +4 -0
- package/icons/info/index.d.ts +11 -0
- package/icons/info/index.js +4 -0
- package/icons/input/index.d.ts +11 -0
- package/icons/input/index.js +4 -0
- package/icons/insights/index.js +1 -1
- package/icons/integration-instructions/index.d.ts +11 -0
- package/icons/integration-instructions/index.js +4 -0
- package/icons/invert-colors/index.d.ts +11 -0
- package/icons/invert-colors/index.js +4 -0
- package/icons/invert-colors-off/index.d.ts +11 -0
- package/icons/invert-colors-off/index.js +4 -0
- package/icons/label/index.d.ts +11 -0
- package/icons/label/index.js +4 -0
- package/icons/label-important/index.d.ts +11 -0
- package/icons/label-important/index.js +4 -0
- package/icons/label-important-outline/index.d.ts +11 -0
- package/icons/label-important-outline/index.js +4 -0
- package/icons/label-off/index.d.ts +11 -0
- package/icons/label-off/index.js +4 -0
- package/icons/label-outline/index.d.ts +11 -0
- package/icons/label-outline/index.js +4 -0
- package/icons/language/index.d.ts +11 -0
- package/icons/language/index.js +4 -0
- package/icons/launch/index.d.ts +11 -0
- package/icons/launch/index.js +4 -0
- package/icons/leaderboard/index.d.ts +11 -0
- package/icons/leaderboard/index.js +4 -0
- package/icons/lightbulb-outline/index.d.ts +11 -0
- package/icons/lightbulb-outline/index.js +4 -0
- package/icons/line-style/index.d.ts +11 -0
- package/icons/line-style/index.js +4 -0
- package/icons/line-weight/index.d.ts +11 -0
- package/icons/line-weight/index.js +4 -0
- package/icons/list/index.d.ts +11 -0
- package/icons/list/index.js +4 -0
- package/icons/list-alt/index.d.ts +11 -0
- package/icons/list-alt/index.js +4 -0
- package/icons/live-help/index.d.ts +11 -0
- package/icons/live-help/index.js +4 -0
- package/icons/location-disabled/index.d.ts +11 -0
- package/icons/location-disabled/index.js +4 -0
- package/icons/location-off/index.d.ts +11 -0
- package/icons/location-off/index.js +4 -0
- package/icons/location-on/index.d.ts +11 -0
- package/icons/location-on/index.js +4 -0
- package/icons/location-searching/index.d.ts +11 -0
- package/icons/location-searching/index.js +4 -0
- package/icons/lock/index.d.ts +11 -0
- package/icons/lock/index.js +4 -0
- package/icons/lock-open/index.d.ts +11 -0
- package/icons/lock-open/index.js +4 -0
- package/icons/lock-outline/index.d.ts +11 -0
- package/icons/lock-outline/index.js +4 -0
- package/icons/login/index.d.ts +11 -0
- package/icons/login/index.js +4 -0
- package/icons/logout/index.d.ts +11 -0
- package/icons/logout/index.js +4 -0
- package/icons/loyalty/index.d.ts +11 -0
- package/icons/loyalty/index.js +4 -0
- package/icons/mail-outline/index.d.ts +11 -0
- package/icons/mail-outline/index.js +4 -0
- package/icons/mark-email-read/index.d.ts +11 -0
- package/icons/mark-email-read/index.js +4 -0
- package/icons/mark-email-unread/index.d.ts +11 -0
- package/icons/mark-email-unread/index.js +4 -0
- package/icons/markunread-mailbox/index.d.ts +11 -0
- package/icons/markunread-mailbox/index.js +4 -0
- package/icons/maximize/index.d.ts +11 -0
- package/icons/maximize/index.js +4 -0
- package/icons/mediation/index.d.ts +11 -0
- package/icons/mediation/index.js +4 -0
- package/icons/message/index.d.ts +11 -0
- package/icons/message/index.js +4 -0
- package/icons/minimize/index.d.ts +11 -0
- package/icons/minimize/index.js +4 -0
- package/icons/mobile-friendly/index.d.ts +11 -0
- package/icons/mobile-friendly/index.js +4 -0
- package/icons/mobile-off/index.d.ts +11 -0
- package/icons/mobile-off/index.js +4 -0
- package/icons/mobile-screen-share/index.d.ts +11 -0
- package/icons/mobile-screen-share/index.js +4 -0
- package/icons/model-training/index.d.ts +11 -0
- package/icons/model-training/index.js +4 -0
- package/icons/more-time/index.js +1 -1
- package/icons/nat/index.d.ts +11 -0
- package/icons/nat/index.js +4 -0
- package/icons/next-plan/index.d.ts +11 -0
- package/icons/next-plan/index.js +4 -0
- package/icons/nfc/index.d.ts +11 -0
- package/icons/nfc/index.js +4 -0
- package/icons/no-sim/index.d.ts +11 -0
- package/icons/no-sim/index.js +4 -0
- package/icons/not-accessible/index.d.ts +11 -0
- package/icons/not-accessible/index.js +4 -0
- package/icons/not-started/index.d.ts +11 -0
- package/icons/not-started/index.js +4 -0
- package/icons/note-add/index.d.ts +11 -0
- package/icons/note-add/index.js +4 -0
- package/icons/offline-bolt/index.d.ts +11 -0
- package/icons/offline-bolt/index.js +4 -0
- package/icons/offline-pin/index.d.ts +11 -0
- package/icons/offline-pin/index.js +4 -0
- package/icons/online-prediction/index.d.ts +11 -0
- package/icons/online-prediction/index.js +4 -0
- package/icons/opacity/index.d.ts +11 -0
- package/icons/opacity/index.js +4 -0
- package/icons/open-in-browser/index.d.ts +11 -0
- package/icons/open-in-browser/index.js +4 -0
- package/icons/open-in-full/index.d.ts +11 -0
- package/icons/open-in-full/index.js +4 -0
- package/icons/open-with/index.d.ts +11 -0
- package/icons/open-with/index.js +4 -0
- package/icons/outbond/index.d.ts +11 -0
- package/icons/outbond/index.js +4 -0
- package/icons/outlet/index.d.ts +11 -0
- package/icons/outlet/index.js +4 -0
- package/icons/pageview/index.d.ts +11 -0
- package/icons/pageview/index.js +4 -0
- package/icons/pan-tool/index.d.ts +11 -0
- package/icons/pan-tool/index.js +4 -0
- package/icons/pause-presentation/index.d.ts +11 -0
- package/icons/pause-presentation/index.js +4 -0
- package/icons/payment/index.d.ts +11 -0
- package/icons/payment/index.js +4 -0
- package/icons/pending/index.d.ts +11 -0
- package/icons/pending/index.js +4 -0
- package/icons/pending-actions/index.d.ts +11 -0
- package/icons/pending-actions/index.js +4 -0
- package/icons/perm-camera-mic/index.d.ts +11 -0
- package/icons/perm-camera-mic/index.js +4 -0
- package/icons/perm-contact-calendar/index.d.ts +11 -0
- package/icons/perm-contact-calendar/index.js +4 -0
- package/icons/perm-data-setting/index.d.ts +11 -0
- package/icons/perm-data-setting/index.js +4 -0
- package/icons/perm-device-information/index.d.ts +11 -0
- package/icons/perm-device-information/index.js +4 -0
- package/icons/perm-identity/index.d.ts +11 -0
- package/icons/perm-identity/index.js +4 -0
- package/icons/perm-media/index.d.ts +11 -0
- package/icons/perm-media/index.js +4 -0
- package/icons/perm-phone-msg/index.d.ts +11 -0
- package/icons/perm-phone-msg/index.js +4 -0
- package/icons/perm-scan-wifi/index.d.ts +11 -0
- package/icons/perm-scan-wifi/index.js +4 -0
- package/icons/person-add-disabled/index.d.ts +11 -0
- package/icons/person-add-disabled/index.js +4 -0
- package/icons/person-search/index.d.ts +11 -0
- package/icons/person-search/index.js +4 -0
- package/icons/pets/index.d.ts +11 -0
- package/icons/pets/index.js +4 -0
- package/icons/phone/index.d.ts +11 -0
- package/icons/phone/index.js +4 -0
- package/icons/phone-disabled/index.d.ts +11 -0
- package/icons/phone-disabled/index.js +4 -0
- package/icons/phone-enabled/index.d.ts +11 -0
- package/icons/phone-enabled/index.js +4 -0
- package/icons/phonelink-erase/index.d.ts +11 -0
- package/icons/phonelink-erase/index.js +4 -0
- package/icons/phonelink-lock/index.d.ts +11 -0
- package/icons/phonelink-lock/index.js +4 -0
- package/icons/phonelink-ring/index.d.ts +11 -0
- package/icons/phonelink-ring/index.js +4 -0
- package/icons/phonelink-setup/index.d.ts +11 -0
- package/icons/phonelink-setup/index.js +4 -0
- package/icons/picture-in-picture/index.d.ts +11 -0
- package/icons/picture-in-picture/index.js +4 -0
- package/icons/picture-in-picture-alt/index.d.ts +11 -0
- package/icons/picture-in-picture-alt/index.js +4 -0
- package/icons/plagiarism/index.d.ts +11 -0
- package/icons/plagiarism/index.js +4 -0
- package/icons/play-for-work/index.d.ts +11 -0
- package/icons/play-for-work/index.js +4 -0
- package/icons/policy/index.js +1 -1
- package/icons/polymer/index.d.ts +11 -0
- package/icons/polymer/index.js +4 -0
- package/icons/portable-wifi-off/index.d.ts +11 -0
- package/icons/portable-wifi-off/index.js +4 -0
- package/icons/post-add/index.js +1 -1
- package/icons/power-settings-new/index.d.ts +11 -0
- package/icons/power-settings-new/index.js +4 -0
- package/icons/pregnant-woman/index.d.ts +11 -0
- package/icons/pregnant-woman/index.js +4 -0
- package/icons/present-to-all/index.d.ts +11 -0
- package/icons/present-to-all/index.js +4 -0
- package/icons/preview/index.d.ts +11 -0
- package/icons/preview/index.js +4 -0
- package/icons/print/index.d.ts +11 -0
- package/icons/print/index.js +4 -0
- package/icons/print-disabled/index.d.ts +11 -0
- package/icons/print-disabled/index.js +4 -0
- package/icons/privacy-tip/index.d.ts +11 -0
- package/icons/privacy-tip/index.js +4 -0
- package/icons/published-with-changes/index.d.ts +11 -0
- package/icons/published-with-changes/index.js +4 -0
- package/icons/qr-code/index.d.ts +11 -0
- package/icons/qr-code/index.js +4 -0
- package/icons/qr-code-scanner/index.d.ts +11 -0
- package/icons/qr-code-scanner/index.js +4 -0
- package/icons/query-builder/index.d.ts +11 -0
- package/icons/query-builder/index.js +4 -0
- package/icons/question-answer/index.d.ts +11 -0
- package/icons/question-answer/index.js +4 -0
- package/icons/quickreply/index.d.ts +11 -0
- package/icons/quickreply/index.js +4 -0
- package/icons/read-more/index.d.ts +11 -0
- package/icons/read-more/index.js +4 -0
- package/icons/receipt/index.d.ts +11 -0
- package/icons/receipt/index.js +4 -0
- package/icons/record-voice-over/index.d.ts +11 -0
- package/icons/record-voice-over/index.js +4 -0
- package/icons/redeem/index.d.ts +11 -0
- package/icons/redeem/index.js +4 -0
- package/icons/remove-shopping-cart/index.d.ts +11 -0
- package/icons/remove-shopping-cart/index.js +4 -0
- package/icons/reorder/index.d.ts +11 -0
- package/icons/reorder/index.js +4 -0
- package/icons/report-outline/index.js +1 -1
- package/icons/report-problem/index.d.ts +11 -0
- package/icons/report-problem/index.js +4 -0
- package/icons/request-page/index.d.ts +11 -0
- package/icons/request-page/index.js +4 -0
- package/icons/restore/index.d.ts +11 -0
- package/icons/restore/index.js +4 -0
- package/icons/restore-from-trash/index.d.ts +11 -0
- package/icons/restore-from-trash/index.js +4 -0
- package/icons/restore-page/index.d.ts +11 -0
- package/icons/restore-page/index.js +4 -0
- package/icons/ring-volume/index.d.ts +11 -0
- package/icons/ring-volume/index.js +4 -0
- package/icons/room/index.d.ts +11 -0
- package/icons/room/index.js +4 -0
- package/icons/rounded-corner/index.d.ts +11 -0
- package/icons/rounded-corner/index.js +4 -0
- package/icons/rowing/index.d.ts +11 -0
- package/icons/rowing/index.js +4 -0
- package/icons/rss-feed/index.d.ts +11 -0
- package/icons/rss-feed/index.js +4 -0
- package/icons/rule/index.d.ts +11 -0
- package/icons/rule/index.js +4 -0
- package/icons/schedule/index.d.ts +11 -0
- package/icons/schedule/index.js +4 -0
- package/icons/screen-lock-landscape/index.d.ts +11 -0
- package/icons/screen-lock-landscape/index.js +4 -0
- package/icons/screen-lock-portrait/index.d.ts +11 -0
- package/icons/screen-lock-portrait/index.js +4 -0
- package/icons/screen-lock-rotation/index.d.ts +11 -0
- package/icons/screen-lock-rotation/index.js +4 -0
- package/icons/screen-rotation/index.d.ts +11 -0
- package/icons/screen-rotation/index.js +4 -0
- package/icons/screen-share/index.d.ts +11 -0
- package/icons/screen-share/index.js +4 -0
- package/icons/sd-storage/index.d.ts +11 -0
- package/icons/sd-storage/index.js +4 -0
- package/icons/search-off/index.d.ts +11 -0
- package/icons/search-off/index.js +4 -0
- package/icons/sentiment-satisfied-alt/index.d.ts +11 -0
- package/icons/sentiment-satisfied-alt/index.js +4 -0
- package/icons/settings-applications/index.d.ts +11 -0
- package/icons/settings-applications/index.js +4 -0
- package/icons/settings-backup-restore/index.d.ts +11 -0
- package/icons/settings-backup-restore/index.js +4 -0
- package/icons/settings-bluetooth/index.d.ts +11 -0
- package/icons/settings-bluetooth/index.js +4 -0
- package/icons/settings-brightness/index.d.ts +11 -0
- package/icons/settings-brightness/index.js +4 -0
- package/icons/settings-cell/index.d.ts +11 -0
- package/icons/settings-cell/index.js +4 -0
- package/icons/settings-ethernet/index.d.ts +11 -0
- package/icons/settings-ethernet/index.js +4 -0
- package/icons/settings-input-antenna/index.d.ts +11 -0
- package/icons/settings-input-antenna/index.js +4 -0
- package/icons/settings-input-component/index.d.ts +11 -0
- package/icons/settings-input-component/index.js +4 -0
- package/icons/settings-input-composite/index.d.ts +11 -0
- package/icons/settings-input-composite/index.js +4 -0
- package/icons/settings-input-hdmi/index.d.ts +11 -0
- package/icons/settings-input-hdmi/index.js +4 -0
- package/icons/settings-input-svideo/index.d.ts +11 -0
- package/icons/settings-input-svideo/index.js +4 -0
- package/icons/settings-overscan/index.d.ts +11 -0
- package/icons/settings-overscan/index.js +4 -0
- package/icons/settings-phone/index.d.ts +11 -0
- package/icons/settings-phone/index.js +4 -0
- package/icons/settings-power/index.d.ts +11 -0
- package/icons/settings-power/index.js +4 -0
- package/icons/settings-remote/index.d.ts +11 -0
- package/icons/settings-remote/index.js +4 -0
- package/icons/settings-system-daydream/index.d.ts +11 -0
- package/icons/settings-system-daydream/index.js +4 -0
- package/icons/settings-voice/index.d.ts +11 -0
- package/icons/settings-voice/index.js +4 -0
- package/icons/shop/index.d.ts +11 -0
- package/icons/shop/index.js +4 -0
- package/icons/shop-two/index.d.ts +11 -0
- package/icons/shop-two/index.js +4 -0
- package/icons/shopping-bag/index.d.ts +11 -0
- package/icons/shopping-bag/index.js +4 -0
- package/icons/shopping-basket/index.d.ts +11 -0
- package/icons/shopping-basket/index.js +4 -0
- package/icons/shopping-cart/index.d.ts +11 -0
- package/icons/shopping-cart/index.js +4 -0
- package/icons/signal-cellular-4-bar/index.d.ts +11 -0
- package/icons/signal-cellular-4-bar/index.js +4 -0
- package/icons/signal-cellular-alt/index.d.ts +11 -0
- package/icons/signal-cellular-alt/index.js +4 -0
- package/icons/signal-cellular-connected-no-internet-4-bar/index.d.ts +11 -0
- package/icons/signal-cellular-connected-no-internet-4-bar/index.js +4 -0
- package/icons/signal-cellular-no-sim/index.d.ts +11 -0
- package/icons/signal-cellular-no-sim/index.js +4 -0
- package/icons/signal-cellular-null/index.d.ts +11 -0
- package/icons/signal-cellular-null/index.js +4 -0
- package/icons/signal-cellular-off/index.d.ts +11 -0
- package/icons/signal-cellular-off/index.js +4 -0
- package/icons/signal-wifi-4-bar/index.d.ts +11 -0
- package/icons/signal-wifi-4-bar/index.js +4 -0
- package/icons/signal-wifi-4-bar-lock/index.d.ts +11 -0
- package/icons/signal-wifi-4-bar-lock/index.js +4 -0
- package/icons/signal-wifi-off/index.d.ts +11 -0
- package/icons/signal-wifi-off/index.js +4 -0
- package/icons/smart-button/index.d.ts +11 -0
- package/icons/smart-button/index.js +4 -0
- package/icons/source/index.d.ts +11 -0
- package/icons/source/index.js +4 -0
- package/icons/speaker-notes/index.d.ts +11 -0
- package/icons/speaker-notes/index.js +4 -0
- package/icons/speaker-notes-off/index.d.ts +11 -0
- package/icons/speaker-notes-off/index.js +4 -0
- package/icons/speaker-phone/index.d.ts +11 -0
- package/icons/speaker-phone/index.js +4 -0
- package/icons/spellcheck/index.d.ts +11 -0
- package/icons/spellcheck/index.js +4 -0
- package/icons/star-rate/index.d.ts +11 -0
- package/icons/star-rate/index.js +4 -0
- package/icons/stars/index.d.ts +11 -0
- package/icons/stars/index.js +4 -0
- package/icons/stay-current-landscape/index.d.ts +11 -0
- package/icons/stay-current-landscape/index.js +4 -0
- package/icons/stay-current-portrait/index.d.ts +11 -0
- package/icons/stay-current-portrait/index.js +4 -0
- package/icons/stay-primary-landscape/index.d.ts +11 -0
- package/icons/stay-primary-landscape/index.js +4 -0
- package/icons/stay-primary-portrait/index.d.ts +11 -0
- package/icons/stay-primary-portrait/index.js +4 -0
- package/icons/sticky-note-2/index.d.ts +11 -0
- package/icons/sticky-note-2/index.js +4 -0
- package/icons/stop-screen-share/index.d.ts +11 -0
- package/icons/stop-screen-share/index.js +4 -0
- package/icons/storage/index.d.ts +11 -0
- package/icons/storage/index.js +4 -0
- package/icons/store/index.d.ts +11 -0
- package/icons/store/index.js +4 -0
- package/icons/subject/index.d.ts +11 -0
- package/icons/subject/index.js +4 -0
- package/icons/subtitles-off/index.d.ts +11 -0
- package/icons/subtitles-off/index.js +4 -0
- package/icons/supervised-user-circle/index.d.ts +11 -0
- package/icons/supervised-user-circle/index.js +4 -0
- package/icons/supervisor-account/index.d.ts +11 -0
- package/icons/supervisor-account/index.js +4 -0
- package/icons/support/index.d.ts +11 -0
- package/icons/support/index.js +4 -0
- package/icons/swap-calls/index.d.ts +11 -0
- package/icons/swap-calls/index.js +4 -0
- package/icons/swap-horiz/index.d.ts +11 -0
- package/icons/swap-horiz/index.js +4 -0
- package/icons/swap-horizontal-circle/index.d.ts +11 -0
- package/icons/swap-horizontal-circle/index.js +4 -0
- package/icons/swap-vertical-circle/index.d.ts +11 -0
- package/icons/swap-vertical-circle/index.js +4 -0
- package/icons/switch-left/index.js +1 -1
- package/icons/switch-right/index.js +1 -1
- package/icons/sync-alt/index.d.ts +11 -0
- package/icons/sync-alt/index.js +4 -0
- package/icons/system-update-alt/index.d.ts +11 -0
- package/icons/system-update-alt/index.js +4 -0
- package/icons/tab/index.d.ts +11 -0
- package/icons/tab/index.js +4 -0
- package/icons/tab-unselected/index.d.ts +11 -0
- package/icons/tab-unselected/index.js +4 -0
- package/icons/table-view/index.d.ts +11 -0
- package/icons/table-view/index.js +4 -0
- package/icons/text-rotate-up/index.d.ts +11 -0
- package/icons/text-rotate-up/index.js +4 -0
- package/icons/text-rotate-vertical/index.d.ts +11 -0
- package/icons/text-rotate-vertical/index.js +4 -0
- package/icons/text-rotation-angledown/index.d.ts +11 -0
- package/icons/text-rotation-angledown/index.js +4 -0
- package/icons/text-rotation-angleup/index.d.ts +11 -0
- package/icons/text-rotation-angleup/index.js +4 -0
- package/icons/text-rotation-down/index.d.ts +11 -0
- package/icons/text-rotation-down/index.js +4 -0
- package/icons/text-rotation-none/index.d.ts +11 -0
- package/icons/text-rotation-none/index.js +4 -0
- package/icons/textsms/index.d.ts +11 -0
- package/icons/textsms/index.js +4 -0
- package/icons/theaters/index.d.ts +11 -0
- package/icons/theaters/index.js +4 -0
- package/icons/thermostat/index.d.ts +11 -0
- package/icons/thermostat/index.js +4 -0
- package/icons/thumb-down/index.d.ts +11 -0
- package/icons/thumb-down/index.js +4 -0
- package/icons/thumb-up/index.d.ts +11 -0
- package/icons/thumb-up/index.js +4 -0
- package/icons/thumbs-up-down/index.d.ts +11 -0
- package/icons/thumbs-up-down/index.js +4 -0
- package/icons/timeline/index.d.ts +11 -0
- package/icons/timeline/index.js +4 -0
- package/icons/toc/index.d.ts +11 -0
- package/icons/toc/index.js +4 -0
- package/icons/today/index.d.ts +11 -0
- package/icons/today/index.js +4 -0
- package/icons/toll/index.d.ts +11 -0
- package/icons/toll/index.js +4 -0
- package/icons/touch-app/index.d.ts +11 -0
- package/icons/touch-app/index.js +4 -0
- package/icons/tour/index.d.ts +11 -0
- package/icons/tour/index.js +4 -0
- package/icons/track-changes/index.d.ts +11 -0
- package/icons/track-changes/index.js +4 -0
- package/icons/translate/index.d.ts +11 -0
- package/icons/translate/index.js +4 -0
- package/icons/trending-down/index.d.ts +11 -0
- package/icons/trending-down/index.js +4 -0
- package/icons/trending-flat/index.d.ts +11 -0
- package/icons/trending-flat/index.js +4 -0
- package/icons/trending-up/index.d.ts +11 -0
- package/icons/trending-up/index.js +4 -0
- package/icons/turned-in/index.d.ts +11 -0
- package/icons/turned-in/index.js +4 -0
- package/icons/turned-in-not/index.d.ts +11 -0
- package/icons/turned-in-not/index.js +4 -0
- package/icons/unpublished/index.d.ts +11 -0
- package/icons/unpublished/index.js +4 -0
- package/icons/unsubscribe/index.d.ts +11 -0
- package/icons/unsubscribe/index.js +4 -0
- package/icons/upgrade/index.d.ts +11 -0
- package/icons/upgrade/index.js +4 -0
- package/icons/usb/index.d.ts +11 -0
- package/icons/usb/index.js +4 -0
- package/icons/verified/index.d.ts +11 -0
- package/icons/verified/index.js +4 -0
- package/icons/verified-user/index.d.ts +11 -0
- package/icons/verified-user/index.js +4 -0
- package/icons/vertical-split/index.d.ts +11 -0
- package/icons/vertical-split/index.js +4 -0
- package/icons/view-agenda/index.d.ts +11 -0
- package/icons/view-agenda/index.js +4 -0
- package/icons/view-array/index.d.ts +11 -0
- package/icons/view-array/index.js +4 -0
- package/icons/view-carousel/index.d.ts +11 -0
- package/icons/view-carousel/index.js +4 -0
- package/icons/view-column/index.d.ts +11 -0
- package/icons/view-column/index.js +4 -0
- package/icons/view-day/index.d.ts +11 -0
- package/icons/view-day/index.js +4 -0
- package/icons/view-headline/index.d.ts +11 -0
- package/icons/view-headline/index.js +4 -0
- package/icons/view-list/index.d.ts +11 -0
- package/icons/view-list/index.js +4 -0
- package/icons/view-module/index.d.ts +11 -0
- package/icons/view-module/index.js +4 -0
- package/icons/view-quilt/index.d.ts +11 -0
- package/icons/view-quilt/index.js +4 -0
- package/icons/view-sidebar/index.d.ts +11 -0
- package/icons/view-sidebar/index.js +4 -0
- package/icons/view-stream/index.d.ts +11 -0
- package/icons/view-stream/index.js +4 -0
- package/icons/view-week/index.d.ts +11 -0
- package/icons/view-week/index.js +4 -0
- package/icons/visibility/index.d.ts +11 -0
- package/icons/visibility/index.js +4 -0
- package/icons/visibility-off/index.d.ts +11 -0
- package/icons/visibility-off/index.js +4 -0
- package/icons/voice-over-off/index.d.ts +11 -0
- package/icons/voice-over-off/index.js +4 -0
- package/icons/voicemail/index.d.ts +11 -0
- package/icons/voicemail/index.js +4 -0
- package/icons/vpn-key/index.d.ts +11 -0
- package/icons/vpn-key/index.js +4 -0
- package/icons/wallpaper/index.d.ts +11 -0
- package/icons/wallpaper/index.js +4 -0
- package/icons/watch-later/index.d.ts +11 -0
- package/icons/watch-later/index.js +4 -0
- package/icons/widgets/index.d.ts +11 -0
- package/icons/widgets/index.js +4 -0
- package/icons/wifi-calling/index.d.ts +11 -0
- package/icons/wifi-calling/index.js +4 -0
- package/icons/wifi-lock/index.d.ts +11 -0
- package/icons/wifi-lock/index.js +4 -0
- package/icons/wifi-protected-setup/index.d.ts +11 -0
- package/icons/wifi-protected-setup/index.js +4 -0
- package/icons/wifi-tethering/index.d.ts +11 -0
- package/icons/wifi-tethering/index.js +4 -0
- package/icons/work/index.d.ts +11 -0
- package/icons/work/index.js +4 -0
- package/icons/work-off/index.d.ts +11 -0
- package/icons/work-off/index.js +4 -0
- package/icons/work-outline/index.d.ts +11 -0
- package/icons/work-outline/index.js +4 -0
- package/icons/wysiwyg/index.d.ts +11 -0
- package/icons/wysiwyg/index.js +4 -0
- package/icons/youtube-searched-for/index.d.ts +11 -0
- package/icons/youtube-searched-for/index.js +4 -0
- package/icons/zoom-in/index.d.ts +11 -0
- package/icons/zoom-in/index.js +4 -0
- package/icons/zoom-out/index.d.ts +11 -0
- package/icons/zoom-out/index.js +4 -0
- package/icons-branded/credit-card/index.d.ts +11 -0
- package/icons-branded/credit-card/index.js +4 -0
- package/icons-branded/finance/index.d.ts +11 -0
- package/icons-branded/finance/index.js +4 -0
- package/icons-branded/global-settings/index.d.ts +11 -0
- package/icons-branded/global-settings/index.js +4 -0
- package/icons-branded/help/index.d.ts +11 -0
- package/icons-branded/help/index.js +4 -0
- package/icons-branded/verified-phone/index.d.ts +11 -0
- package/icons-branded/verified-phone/index.js +4 -0
- package/package.json +1 -3
- package/popover/index.d.ts +1 -2
- package/popover/index.js +34 -20
- package/popover/utils.d.ts +1 -0
- package/popover/utils.js +1 -0
- package/radio/index.js +18 -17
- package/radio-option/index.d.ts +1 -19
- package/radio-option/index.js +0 -3
- package/radio-option/types.d.ts +18 -0
- package/radio-option/types.js +1 -0
- package/search/index.js +8 -11
- package/search-option/index.d.ts +1 -10
- package/search-option/index.js +4 -10
- package/search-option/types.d.ts +9 -0
- package/search-option/types.js +1 -0
- package/segmented-control/index.js +20 -113
- package/segmented-control-option/index.d.ts +0 -1
- package/segmented-control-option/index.js +1 -4
- package/segmented-icon-control/index.js +30 -26
- package/segmented-icon-control-option/index.d.ts +0 -1
- package/segmented-icon-control-option/index.js +6 -15
- package/select/index.d.ts +0 -1
- package/select/index.js +3 -5
- package/select-option/index.d.ts +1 -3
- package/select-option/index.js +2 -2
- package/select-option/types.d.ts +3 -0
- package/select-option/types.js +1 -0
- package/table/index.js +1 -1
- package/table-cell/index.js +1 -1
- package/table-head-cell/index.js +1 -1
- package/tabs/index.js +6 -8
- package/tabs-option/index.d.ts +1 -19
- package/tabs-option/index.js +0 -3
- package/tabs-option/types.d.ts +18 -0
- package/tabs-option/types.js +1 -0
- package/tooltip/index.d.ts +1 -17
- package/tooltip/index.js +1 -1
- package/tooltip/types.d.ts +16 -0
- package/tooltip/types.js +1 -0
- package/tooltip/utils.d.ts +1 -0
- package/tooltip/utils.js +1 -0
- package/utils.d.ts +4 -3
- package/utils.js +23 -15
- package/dropdown-option/index.d.ts +0 -45
- package/index.d.ts +0 -332
- package/index.js +0 -332
package/accordion/index.js
CHANGED
|
@@ -1,21 +1,26 @@
|
|
|
1
1
|
import _classPrivateFieldSet from '@babel/runtime/helpers/classPrivateFieldSet';
|
|
2
2
|
import _classPrivateFieldGet from '@babel/runtime/helpers/classPrivateFieldGet';
|
|
3
3
|
|
|
4
|
-
var _$slot, _onSlotChange, _onOptionChange;
|
|
4
|
+
var _$slot, _onSlotChange, _onOptionChange, _onValueChange;
|
|
5
|
+
|
|
6
|
+
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
|
5
7
|
|
|
6
8
|
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
|
7
9
|
|
|
8
10
|
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
9
11
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
|
13
|
+
|
|
14
|
+
import { defineCustomElement, getAttribute, getBooleanAttribute, getCsvSet, getFirstCsvValue, NectaryElement, updateAttribute, updateBooleanAttribute, updateCsv } from '../utils';
|
|
12
15
|
const templateHTML = '<style>:host{display:block}#wrapper{display:flex;flex-direction:column;box-sizing:border-box;width:100%;height:100%}::slotted(sinch-accordion-item){flex-shrink:1}</style><div id="wrapper"><slot></slot></div>';
|
|
13
16
|
const template = document.createElement('template');
|
|
14
17
|
template.innerHTML = templateHTML;
|
|
15
|
-
defineCustomElement('sinch-accordion', (_$slot = new WeakMap(), _onSlotChange = new WeakMap(), _onOptionChange = new WeakMap(), class extends NectaryElement {
|
|
18
|
+
defineCustomElement('sinch-accordion', (_$slot = new WeakMap(), _onSlotChange = new WeakMap(), _onOptionChange = new WeakMap(), _onValueChange = new WeakSet(), class extends NectaryElement {
|
|
16
19
|
constructor() {
|
|
17
20
|
super();
|
|
18
21
|
|
|
22
|
+
_classPrivateMethodInitSpec(this, _onValueChange);
|
|
23
|
+
|
|
19
24
|
_classPrivateFieldInitSpec(this, _$slot, {
|
|
20
25
|
writable: true,
|
|
21
26
|
value: void 0
|
|
@@ -24,7 +29,7 @@ defineCustomElement('sinch-accordion', (_$slot = new WeakMap(), _onSlotChange =
|
|
|
24
29
|
_classPrivateFieldInitSpec(this, _onSlotChange, {
|
|
25
30
|
writable: true,
|
|
26
31
|
value: () => {
|
|
27
|
-
this.
|
|
32
|
+
_classPrivateMethodGet(this, _onValueChange, _onValueChange2).call(this, this.value);
|
|
28
33
|
}
|
|
29
34
|
});
|
|
30
35
|
|
|
@@ -32,18 +37,11 @@ defineCustomElement('sinch-accordion', (_$slot = new WeakMap(), _onSlotChange =
|
|
|
32
37
|
writable: true,
|
|
33
38
|
value: e => {
|
|
34
39
|
e.stopPropagation();
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
const {
|
|
41
|
-
value,
|
|
42
|
-
isChecked
|
|
43
|
-
} = e.detail;
|
|
44
|
-
const csv = updateCSV(this.multiple ? this.value : value, value, isChecked);
|
|
40
|
+
const $elem = e.target;
|
|
41
|
+
const value = e.detail;
|
|
42
|
+
const result = this.multiple ? updateCsv(this.value, value, !$elem.checked) : $elem.checked ? '' : value;
|
|
45
43
|
this.dispatchEvent(new CustomEvent('change', {
|
|
46
|
-
detail:
|
|
44
|
+
detail: result,
|
|
47
45
|
bubbles: true
|
|
48
46
|
}));
|
|
49
47
|
}
|
|
@@ -90,30 +88,29 @@ defineCustomElement('sinch-accordion', (_$slot = new WeakMap(), _onSlotChange =
|
|
|
90
88
|
switch (name) {
|
|
91
89
|
case 'value':
|
|
92
90
|
{
|
|
93
|
-
this.
|
|
91
|
+
_classPrivateMethodGet(this, _onValueChange, _onValueChange2).call(this, newVal ?? '');
|
|
92
|
+
|
|
94
93
|
break;
|
|
95
94
|
}
|
|
96
95
|
}
|
|
97
96
|
}
|
|
98
97
|
|
|
99
|
-
|
|
100
|
-
if (this.multiple) {
|
|
101
|
-
const values = getCSVSet(csv);
|
|
98
|
+
}));
|
|
102
99
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
} else {
|
|
109
|
-
const value = getFirstCSValue(csv);
|
|
100
|
+
function _onValueChange2(csv) {
|
|
101
|
+
if (this.multiple) {
|
|
102
|
+
const values = getCsvSet(csv);
|
|
110
103
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
115
|
-
}
|
|
104
|
+
for (const $option of _classPrivateFieldGet(this, _$slot).assignedElements()) {
|
|
105
|
+
const isChecked = !getBooleanAttribute($option, 'disabled') && values.has(getAttribute($option, 'value', ''));
|
|
106
|
+
updateBooleanAttribute($option, 'checked', isChecked);
|
|
116
107
|
}
|
|
117
|
-
}
|
|
108
|
+
} else {
|
|
109
|
+
const value = getFirstCsvValue(csv);
|
|
118
110
|
|
|
119
|
-
|
|
111
|
+
for (const $option of _classPrivateFieldGet(this, _$slot).assignedElements()) {
|
|
112
|
+
const isChecked = !getBooleanAttribute($option, 'disabled') && value === getAttribute($option, 'value', '');
|
|
113
|
+
updateBooleanAttribute($option, 'checked', isChecked);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -1,28 +1,5 @@
|
|
|
1
1
|
import '../icons/keyboard-arrow-down';
|
|
2
|
-
import type {
|
|
3
|
-
import type { FocusEvent } from 'react';
|
|
4
|
-
export declare const isAccordionItemElement: (element: EventTarget | Element | null) => element is TSinchAccordionItemElement;
|
|
5
|
-
declare const statusValues: readonly ["info", "success", "warn", "error"];
|
|
6
|
-
export declare type TSinchAccordionStatusType = typeof statusValues[number];
|
|
7
|
-
export declare type TSinchAccordionItemElement = HTMLElement & {
|
|
8
|
-
value: string;
|
|
9
|
-
label: string;
|
|
10
|
-
optionalText: string | null;
|
|
11
|
-
disabled: boolean;
|
|
12
|
-
checked: boolean;
|
|
13
|
-
status: TSinchAccordionStatusType | null;
|
|
14
|
-
focus(): void;
|
|
15
|
-
blur(): void;
|
|
16
|
-
};
|
|
17
|
-
export declare type TSinchAccordionItemReact = TSinchElementReact<TSinchAccordionItemElement> & {
|
|
18
|
-
value: string;
|
|
19
|
-
label: string;
|
|
20
|
-
optionalText?: string;
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
status?: TSinchAccordionStatusType;
|
|
23
|
-
onFocus?: (e: FocusEvent<TSinchAccordionItemElement>) => void;
|
|
24
|
-
onBlur?: (e: FocusEvent<TSinchAccordionItemElement>) => void;
|
|
25
|
-
};
|
|
2
|
+
import type { TSinchAccordionItemElement, TSinchAccordionItemReact } from './types';
|
|
26
3
|
declare global {
|
|
27
4
|
namespace JSX {
|
|
28
5
|
interface IntrinsicElements {
|
|
@@ -33,4 +10,3 @@ declare global {
|
|
|
33
10
|
'sinch-accordion-item': TSinchAccordionItemElement;
|
|
34
11
|
}
|
|
35
12
|
}
|
|
36
|
-
export {};
|
package/accordion-item/index.js
CHANGED
|
@@ -10,10 +10,7 @@ function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollect
|
|
|
10
10
|
import '../icons/keyboard-arrow-down';
|
|
11
11
|
import { defineCustomElement, getAttribute, getBooleanAttribute, getLiteralAttribute, isAttrTrue, NectaryElement, updateAttribute, updateBooleanAttribute, updateLiteralAttribute } from '../utils';
|
|
12
12
|
const templateHTML = '<style>:host{display:block;outline:0;min-height:48px}#wrapper{display:flex;flex-direction:column;position:relative;width:100%;height:100%;box-sizing:border-box;overflow:hidden;border-bottom:1px solid var(--sinch-color-stormy-200);--sinch-size-icon:16px}#button{all:initial;cursor:pointer;display:flex;align-items:center;gap:8px;box-sizing:border-box;width:100%;height:48px;padding:12px 8px;font:var(--sinch-font-title-s);color:var(--sinch-color-text-default);fill:var(--sinch-color-stormy-500)}#button>*{pointer-events:none}#button:disabled{cursor:initial;color:var(--sinch-color-stormy-100);fill:var(--sinch-color-stormy-100)}#button::before{width:8px;height:8px;border-radius:50%;margin-left:2px;margin-right:8px}:host([status=success]) #button::before{content:"";background-color:var(--sinch-color-success-500)}:host([status=warn]) #button::before{content:"";background-color:var(--sinch-color-warning-500)}:host([status=error]) #button::before{content:"";background-color:var(--sinch-color-error-500)}:host([status=info]) #button::before{content:"";background-color:var(--sinch-color-informative-500)}#title{flex:1;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#content{display:none;overflow-y:auto;flex-shrink:1;min-height:0;padding:0 8px 18px;font:var(--sinch-font-body);color:var(--sinch-color-text-default)}#dropdown-icon{--sinch-size-icon:24px}#button[aria-expanded=true]>#dropdown-icon{transform:rotate(180deg)}#button[aria-expanded=true]+#content{display:block}#optional{font:var(--sinch-font-small-text);color:var(--sinch-color-stormy-300)}</style><div id="wrapper"><button id="button" aria-controls="content" aria-expanded="false"><slot name="icon"></slot><span id="title"></span> <span id="optional"></span><sinch-icon-keyboard-arrow-down id="dropdown-icon"></sinch-icon-keyboard-arrow-down></button><div id="content" role="region" aria-labelledby="button"><slot name="content"></slot></div></div>';
|
|
13
|
-
|
|
14
|
-
return element instanceof Element && element.tagName === 'SINCH-ACCORDION-ITEM';
|
|
15
|
-
};
|
|
16
|
-
const statusValues = ['info', 'success', 'warn', 'error'];
|
|
13
|
+
import { statusValues } from './utils';
|
|
17
14
|
const template = document.createElement('template');
|
|
18
15
|
template.innerHTML = templateHTML;
|
|
19
16
|
defineCustomElement('sinch-accordion-item', (_$button = new WeakMap(), _$buttonContent = new WeakMap(), _$optionalText = new WeakMap(), _onButtonClick = new WeakMap(), class extends NectaryElement {
|
|
@@ -41,10 +38,7 @@ defineCustomElement('sinch-accordion-item', (_$button = new WeakMap(), _$buttonC
|
|
|
41
38
|
e.stopPropagation();
|
|
42
39
|
this.dispatchEvent(new CustomEvent('change', {
|
|
43
40
|
bubbles: true,
|
|
44
|
-
detail:
|
|
45
|
-
value: this.value,
|
|
46
|
-
isChecked: !this.checked
|
|
47
|
-
}
|
|
41
|
+
detail: this.value
|
|
48
42
|
}));
|
|
49
43
|
}
|
|
50
44
|
});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { TSinchElementReact } from '../types';
|
|
2
|
+
import type { statusValues } from './utils';
|
|
3
|
+
import type { FocusEvent } from 'react';
|
|
4
|
+
export declare type TSinchAccordionStatusType = typeof statusValues[number];
|
|
5
|
+
export declare type TSinchAccordionItemElement = HTMLElement & {
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
optionalText: string | null;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
checked: boolean;
|
|
11
|
+
status: TSinchAccordionStatusType | null;
|
|
12
|
+
focus(): void;
|
|
13
|
+
blur(): void;
|
|
14
|
+
};
|
|
15
|
+
export declare type TSinchAccordionItemReact = TSinchElementReact<TSinchAccordionItemElement> & {
|
|
16
|
+
value: string;
|
|
17
|
+
label: string;
|
|
18
|
+
optionalText?: string;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
status?: TSinchAccordionStatusType;
|
|
21
|
+
onFocus?: (e: FocusEvent<TSinchAccordionItemElement>) => void;
|
|
22
|
+
onBlur?: (e: FocusEvent<TSinchAccordionItemElement>) => void;
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const statusValues: readonly ["info", "success", "warn", "error"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const statusValues = ['info', 'success', 'warn', 'error'];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import '../popover';
|
|
2
|
+
import type { TSinchPopoverOrientation } from '../popover';
|
|
3
|
+
import type { TRect, TSinchElementReact } from '../types';
|
|
4
|
+
import type { SyntheticEvent } from 'react';
|
|
5
|
+
export declare type TSinchActionMenuElement = HTMLElement & {
|
|
6
|
+
open: boolean;
|
|
7
|
+
orientation: TSinchPopoverOrientation;
|
|
8
|
+
maxVisibleItems: number | null;
|
|
9
|
+
readonly dropdownRect: TRect;
|
|
10
|
+
focus(): void;
|
|
11
|
+
blur(): void;
|
|
12
|
+
};
|
|
13
|
+
export declare type TSinchActionMenuReact = TSinchElementReact<TSinchActionMenuElement> & {
|
|
14
|
+
open: boolean;
|
|
15
|
+
orientation?: TSinchPopoverOrientation;
|
|
16
|
+
maxVisibleItems?: number;
|
|
17
|
+
'aria-label': string;
|
|
18
|
+
onClose: (event: SyntheticEvent<TSinchActionMenuElement, CustomEvent<void>>) => void;
|
|
19
|
+
};
|
|
20
|
+
declare global {
|
|
21
|
+
namespace JSX {
|
|
22
|
+
interface IntrinsicElements {
|
|
23
|
+
'sinch-action-menu': TSinchActionMenuReact;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
interface HTMLElementTagNameMap {
|
|
27
|
+
'sinch-action-menu': TSinchActionMenuElement;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
import _classPrivateFieldGet from '@babel/runtime/helpers/classPrivateFieldGet';
|
|
2
|
+
import _classPrivateFieldSet from '@babel/runtime/helpers/classPrivateFieldSet';
|
|
3
|
+
|
|
4
|
+
var _$optionSlot, _$listbox, _$popover, _onListboxKeyDown, _getFirstOption, _getLastOption, _getNextOption, _getPrevOption, _selectOption, _getOptionElements, _findSelectedOption, _getEnabledOptionElements, _onOpen, _onClose, _onReactClose;
|
|
5
|
+
|
|
6
|
+
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
|
7
|
+
|
|
8
|
+
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
|
9
|
+
|
|
10
|
+
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
11
|
+
|
|
12
|
+
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
|
13
|
+
|
|
14
|
+
import { orientationValues } from '../popover/utils';
|
|
15
|
+
import '../popover';
|
|
16
|
+
import { attrValueToPixels, defineCustomElement, getBooleanAttribute, getIntegerAttribute, getLiteralAttribute, getReactEventHandler, isAttrTrue, NectaryElement, updateAttribute, updateBooleanAttribute, updateIntegerAttribute, updateLiteralAttribute } from '../utils';
|
|
17
|
+
const templateHTML = '<style>:host{display:inline-block;vertical-align:middle;outline:0}sinch-popover{width:100%}</style><sinch-popover><slot name="target" slot="target"></slot><div id="listbox" slot="content"><slot name="option"></slot></div></sinch-popover>';
|
|
18
|
+
const ITEM_HEIGHT = 40;
|
|
19
|
+
const template = document.createElement('template');
|
|
20
|
+
template.innerHTML = templateHTML;
|
|
21
|
+
defineCustomElement('sinch-action-menu', (_$optionSlot = new WeakMap(), _$listbox = new WeakMap(), _$popover = new WeakMap(), _onListboxKeyDown = new WeakMap(), _getFirstOption = new WeakSet(), _getLastOption = new WeakSet(), _getNextOption = new WeakSet(), _getPrevOption = new WeakSet(), _selectOption = new WeakSet(), _getOptionElements = new WeakSet(), _findSelectedOption = new WeakSet(), _getEnabledOptionElements = new WeakSet(), _onOpen = new WeakSet(), _onClose = new WeakMap(), _onReactClose = new WeakMap(), class extends NectaryElement {
|
|
22
|
+
constructor() {
|
|
23
|
+
super();
|
|
24
|
+
|
|
25
|
+
_classPrivateMethodInitSpec(this, _onOpen);
|
|
26
|
+
|
|
27
|
+
_classPrivateMethodInitSpec(this, _getEnabledOptionElements);
|
|
28
|
+
|
|
29
|
+
_classPrivateMethodInitSpec(this, _findSelectedOption);
|
|
30
|
+
|
|
31
|
+
_classPrivateMethodInitSpec(this, _getOptionElements);
|
|
32
|
+
|
|
33
|
+
_classPrivateMethodInitSpec(this, _selectOption);
|
|
34
|
+
|
|
35
|
+
_classPrivateMethodInitSpec(this, _getPrevOption);
|
|
36
|
+
|
|
37
|
+
_classPrivateMethodInitSpec(this, _getNextOption);
|
|
38
|
+
|
|
39
|
+
_classPrivateMethodInitSpec(this, _getLastOption);
|
|
40
|
+
|
|
41
|
+
_classPrivateMethodInitSpec(this, _getFirstOption);
|
|
42
|
+
|
|
43
|
+
_classPrivateFieldInitSpec(this, _$optionSlot, {
|
|
44
|
+
writable: true,
|
|
45
|
+
value: void 0
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
_classPrivateFieldInitSpec(this, _$listbox, {
|
|
49
|
+
writable: true,
|
|
50
|
+
value: void 0
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
_classPrivateFieldInitSpec(this, _$popover, {
|
|
54
|
+
writable: true,
|
|
55
|
+
value: void 0
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
_classPrivateFieldInitSpec(this, _onListboxKeyDown, {
|
|
59
|
+
writable: true,
|
|
60
|
+
value: e => {
|
|
61
|
+
switch (e.code) {
|
|
62
|
+
case 'ArrowUp':
|
|
63
|
+
case 'ArrowLeft':
|
|
64
|
+
{
|
|
65
|
+
e.preventDefault();
|
|
66
|
+
|
|
67
|
+
_classPrivateMethodGet(this, _selectOption, _selectOption2).call(this, _classPrivateMethodGet(this, _getPrevOption, _getPrevOption2).call(this));
|
|
68
|
+
|
|
69
|
+
break;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
case 'ArrowDown':
|
|
73
|
+
case 'ArrowRight':
|
|
74
|
+
{
|
|
75
|
+
e.preventDefault();
|
|
76
|
+
|
|
77
|
+
_classPrivateMethodGet(this, _selectOption, _selectOption2).call(this, _classPrivateMethodGet(this, _getNextOption, _getNextOption2).call(this));
|
|
78
|
+
|
|
79
|
+
break;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
_classPrivateFieldInitSpec(this, _onClose, {
|
|
86
|
+
writable: true,
|
|
87
|
+
value: () => {
|
|
88
|
+
this.dispatchEvent(new CustomEvent('close', {
|
|
89
|
+
bubbles: true
|
|
90
|
+
}));
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
_classPrivateFieldInitSpec(this, _onReactClose, {
|
|
95
|
+
writable: true,
|
|
96
|
+
value: () => {
|
|
97
|
+
getReactEventHandler(this, 'onClose')?.();
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
const shadowRoot = this.attachShadow();
|
|
102
|
+
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
103
|
+
|
|
104
|
+
_classPrivateFieldSet(this, _$optionSlot, shadowRoot.querySelector('slot[name="option"]'));
|
|
105
|
+
|
|
106
|
+
_classPrivateFieldSet(this, _$listbox, shadowRoot.querySelector('#listbox'));
|
|
107
|
+
|
|
108
|
+
_classPrivateFieldSet(this, _$popover, shadowRoot.querySelector('sinch-popover'));
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
connectedCallback() {
|
|
112
|
+
this.setAttribute('role', 'listbox');
|
|
113
|
+
this.addEventListener('close', _classPrivateFieldGet(this, _onReactClose));
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
disconnectedCallback() {
|
|
117
|
+
this.removeEventListener('close', _classPrivateFieldGet(this, _onReactClose));
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
static get observedAttributes() {
|
|
121
|
+
return ['open', 'orientation', 'maxvisibleitems'];
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
get nodeName() {
|
|
125
|
+
return 'select';
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
set maxVisibleItems(value) {
|
|
129
|
+
updateIntegerAttribute(this, 'maxvisibleitems', value);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
get maxVisibleItems() {
|
|
133
|
+
return getIntegerAttribute(this, 'maxvisibleitems', null);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
get orientation() {
|
|
137
|
+
return getLiteralAttribute(this, orientationValues, 'orientation', 'bottom-right');
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
set orientation(value) {
|
|
141
|
+
updateLiteralAttribute(this, orientationValues, 'orientation', value);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
set open(isOpen) {
|
|
145
|
+
updateBooleanAttribute(this, 'open', isOpen);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
get open() {
|
|
149
|
+
return getBooleanAttribute(this, 'open');
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
get dropdownRect() {
|
|
153
|
+
return _classPrivateFieldGet(this, _$popover).popoverRect;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
attributeChangedCallback(name, oldVal, newVal) {
|
|
157
|
+
switch (name) {
|
|
158
|
+
case 'open':
|
|
159
|
+
{
|
|
160
|
+
updateAttribute(_classPrivateFieldGet(this, _$popover), 'open', newVal);
|
|
161
|
+
|
|
162
|
+
if (isAttrTrue(newVal)) {
|
|
163
|
+
_classPrivateMethodGet(this, _onOpen, _onOpen2).call(this);
|
|
164
|
+
|
|
165
|
+
_classPrivateFieldGet(this, _$popover).addEventListener('keydown', _classPrivateFieldGet(this, _onListboxKeyDown));
|
|
166
|
+
|
|
167
|
+
_classPrivateFieldGet(this, _$popover).addEventListener('close', _classPrivateFieldGet(this, _onClose));
|
|
168
|
+
} else {
|
|
169
|
+
_classPrivateFieldGet(this, _$popover).removeEventListener('keydown', _classPrivateFieldGet(this, _onListboxKeyDown));
|
|
170
|
+
|
|
171
|
+
_classPrivateFieldGet(this, _$popover).removeEventListener('close', _classPrivateFieldGet(this, _onClose));
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
case 'orientation':
|
|
178
|
+
{
|
|
179
|
+
updateAttribute(_classPrivateFieldGet(this, _$popover), 'orientation', newVal);
|
|
180
|
+
break;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
case 'maxvisibleitems':
|
|
184
|
+
{
|
|
185
|
+
if (newVal === '0') {
|
|
186
|
+
_classPrivateFieldGet(this, _$listbox).style.maxHeight = 'unset';
|
|
187
|
+
} else {
|
|
188
|
+
_classPrivateFieldGet(this, _$listbox).style.maxHeight = attrValueToPixels(newVal, {
|
|
189
|
+
min: 2,
|
|
190
|
+
multiplier: ITEM_HEIGHT
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
break;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
}));
|
|
200
|
+
|
|
201
|
+
function _getFirstOption2() {
|
|
202
|
+
return _classPrivateMethodGet(this, _getEnabledOptionElements, _getEnabledOptionElements2).call(this)[0] ?? null;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
function _getLastOption2() {
|
|
206
|
+
return _classPrivateMethodGet(this, _getEnabledOptionElements, _getEnabledOptionElements2).call(this).reverse()[0] ?? null;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
function _getNextOption2() {
|
|
210
|
+
const $options = _classPrivateMethodGet(this, _getEnabledOptionElements, _getEnabledOptionElements2).call(this);
|
|
211
|
+
|
|
212
|
+
const $selectedOption = _classPrivateMethodGet(this, _findSelectedOption, _findSelectedOption2).call(this, $options);
|
|
213
|
+
|
|
214
|
+
const currentIndex = $selectedOption !== null ? $options.indexOf($selectedOption) : -1;
|
|
215
|
+
|
|
216
|
+
if (currentIndex < 0) {
|
|
217
|
+
return _classPrivateMethodGet(this, _getFirstOption, _getFirstOption2).call(this);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
return $options[(currentIndex + 1) % $options.length];
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
function _getPrevOption2() {
|
|
224
|
+
const $options = _classPrivateMethodGet(this, _getEnabledOptionElements, _getEnabledOptionElements2).call(this);
|
|
225
|
+
|
|
226
|
+
const $selectedOption = _classPrivateMethodGet(this, _findSelectedOption, _findSelectedOption2).call(this, $options);
|
|
227
|
+
|
|
228
|
+
const currentIndex = $selectedOption !== null ? $options.indexOf($selectedOption) : -1;
|
|
229
|
+
|
|
230
|
+
if (currentIndex < 0) {
|
|
231
|
+
return _classPrivateMethodGet(this, _getLastOption, _getLastOption2).call(this);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
return $options[(currentIndex - 1 + $options.length) % $options.length];
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
function _selectOption2($option) {
|
|
238
|
+
for (const $op of _classPrivateMethodGet(this, _getOptionElements, _getOptionElements2).call(this)) {
|
|
239
|
+
const isSelected = $op === $option;
|
|
240
|
+
$op.selected = isSelected;
|
|
241
|
+
|
|
242
|
+
if (isSelected) {
|
|
243
|
+
$op.focus();
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
function _getOptionElements2() {
|
|
249
|
+
let $elements = _classPrivateFieldGet(this, _$optionSlot).assignedElements();
|
|
250
|
+
|
|
251
|
+
if ($elements.length === 1 && $elements[0].tagName === 'SLOT') {
|
|
252
|
+
$elements = $elements[0].assignedElements();
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
return $elements;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
function _findSelectedOption2(elements) {
|
|
259
|
+
for (const el of elements) {
|
|
260
|
+
if (el.selected) {
|
|
261
|
+
return el;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
return null;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
function _getEnabledOptionElements2() {
|
|
269
|
+
return _classPrivateMethodGet(this, _getOptionElements, _getOptionElements2).call(this).filter(opt => opt.disabled !== true);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
function _onOpen2() {
|
|
273
|
+
_classPrivateMethodGet(this, _selectOption, _selectOption2).call(this, _classPrivateMethodGet(this, _getFirstOption, _getFirstOption2).call(this));
|
|
274
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchActionMenuOptionElement, TSinchActionMenuOptionReact } from './types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-action-menu-option': TSinchActionMenuOptionReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-action-menu-option': TSinchActionMenuOptionElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import _classPrivateFieldGet from '@babel/runtime/helpers/classPrivateFieldGet';
|
|
2
|
+
import _classPrivateFieldSet from '@babel/runtime/helpers/classPrivateFieldSet';
|
|
3
|
+
|
|
4
|
+
var _$button, _$content;
|
|
5
|
+
|
|
6
|
+
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
|
7
|
+
|
|
8
|
+
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
9
|
+
|
|
10
|
+
import { defineCustomElement, getAttribute, getBooleanAttribute, isAttrTrue, NectaryElement, updateAttribute, updateBooleanAttribute } from '../utils';
|
|
11
|
+
const templateHTML = '<style>:host{display:block}#wrapper{all:initial;display:flex;position:relative;box-sizing:border-box;height:40px;width:100%;padding:6px 12px;align-items:center;gap:12px;user-select:none;cursor:pointer;font:inherit;color:inherit;--sinch-size-icon:24px}#content{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#wrapper:focus,:host(:hover)>#wrapper{background-color:var(--sinch-color-snow-500)}:host([disabled]:not([disabled=false]))>#wrapper{color:var(--sinch-color-stormy-100);cursor:initial;--sinch-color-icon:var(--sinch-color-stormy-100)}</style><button id="wrapper"><slot name="icon"></slot><span id="content"></span></button>';
|
|
12
|
+
const template = document.createElement('template');
|
|
13
|
+
template.innerHTML = templateHTML;
|
|
14
|
+
defineCustomElement('sinch-action-menu-option', (_$button = new WeakMap(), _$content = new WeakMap(), class ActionMenuOption extends NectaryElement {
|
|
15
|
+
constructor() {
|
|
16
|
+
super();
|
|
17
|
+
|
|
18
|
+
_classPrivateFieldInitSpec(this, _$button, {
|
|
19
|
+
writable: true,
|
|
20
|
+
value: void 0
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
_classPrivateFieldInitSpec(this, _$content, {
|
|
24
|
+
writable: true,
|
|
25
|
+
value: void 0
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
const shadowRoot = this.attachShadow();
|
|
29
|
+
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
30
|
+
|
|
31
|
+
_classPrivateFieldSet(this, _$button, shadowRoot.querySelector('#wrapper'));
|
|
32
|
+
|
|
33
|
+
_classPrivateFieldSet(this, _$content, shadowRoot.querySelector('#content'));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
connectedCallback() {
|
|
37
|
+
this.setAttribute('role', 'option');
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static get observedAttributes() {
|
|
41
|
+
return ['text', 'disabled'];
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
attributeChangedCallback(name, oldVal, newVal) {
|
|
45
|
+
if (oldVal === newVal) {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
switch (name) {
|
|
50
|
+
case 'text':
|
|
51
|
+
{
|
|
52
|
+
_classPrivateFieldGet(this, _$content).textContent = newVal;
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
case 'disabled':
|
|
57
|
+
{
|
|
58
|
+
_classPrivateFieldGet(this, _$button).disabled = isAttrTrue(newVal);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
set text(value) {
|
|
64
|
+
updateAttribute(this, 'text', value);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
get text() {
|
|
68
|
+
return getAttribute(this, 'text', '');
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
set disabled(isDisabled) {
|
|
72
|
+
updateBooleanAttribute(this, 'disabled', isDisabled);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
get disabled() {
|
|
76
|
+
return getBooleanAttribute(this, 'disabled');
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
set selected(isSelected) {
|
|
80
|
+
updateBooleanAttribute(this, 'data-selected', isSelected);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
get selected() {
|
|
84
|
+
return getBooleanAttribute(this, 'data-selected');
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
focus() {
|
|
88
|
+
_classPrivateFieldGet(this, _$button).focus();
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
blur() {
|
|
92
|
+
_classPrivateFieldGet(this, _$button).blur();
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
}));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { TSinchElementReact } from '../types';
|
|
2
|
+
import type { FocusEvent, MouseEvent } from 'react';
|
|
3
|
+
export declare type TSinchActionMenuOptionElement = HTMLElement & {
|
|
4
|
+
text: string;
|
|
5
|
+
selected: boolean;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
focus(): void;
|
|
8
|
+
blur(): void;
|
|
9
|
+
};
|
|
10
|
+
export declare type TSinchActionMenuOptionReact = TSinchElementReact<TSinchActionMenuOptionElement> & {
|
|
11
|
+
text: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
'aria-label': string;
|
|
14
|
+
onClick: (e: MouseEvent<TSinchActionMenuOptionElement>) => void;
|
|
15
|
+
onFocus?: (e: FocusEvent<TSinchActionMenuOptionElement>) => void;
|
|
16
|
+
onBlur?: (e: FocusEvent<TSinchActionMenuOptionElement>) => void;
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/avatar/index.d.ts
CHANGED
package/avatar/index.js
CHANGED
|
@@ -7,7 +7,6 @@ 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 '../icons/cancel';
|
|
11
10
|
import { defineCustomElement, getAttribute, getLiteralAttribute, NectaryElement, updateAttribute, updateLiteralAttribute } from '../utils';
|
|
12
11
|
const templateHTML = '<style>:host{display:inline-block;vertical-align:middle;outline:0}#wrapper{position:relative;width:40px;height:40px;font:var(--sinch-font-title-s);line-height:38px;color:var(--sinch-color-text-default);background-color:var(--sinch-color-snow-700);text-align:center;border-radius:50%;border:1px solid var(--sinch-color-snow-100);box-sizing:border-box;text-transform:uppercase;--sinch-avatar-badge-size:16px;--sinch-avatar-badge-font:700 12px/14px "Gilroy","Arial","sans-serif"}:host([background=blue]) #wrapper{background-color:var(--sinch-color-stormy-500);color:var(--sinch-color-snow-100)}:host([background=yellow]) #wrapper{background-color:var(--sinch-color-honey-500)}:host([size="l"]) #wrapper{width:56px;height:56px;font:var(--sinch-font-title-m);line-height:54px;--sinch-avatar-badge-size:20px;--sinch-avatar-badge-font:700 12px/18px "Gilroy","Arial","sans-serif"}:host([size="s"]) #wrapper{width:24px;height:24px;font:var(--sinch-font-extra-small-text);line-height:22px;--sinch-avatar-badge-size:11px;--sinch-avatar-badge-font:500 8px/9px "Gilroy","Arial","sans-serif"}#text{display:block;width:100%;height:100%;box-sizing:border-box}#image{display:none;width:100%;height:100%;object-fit:contain;position:absolute;left:0;top:0;border-radius:50%}:host([src]:not([src=""])) #image{display:block}::slotted(sinch-avatar-badge){position:absolute;top:-2px;left:calc(100% - 15px)}:host([size="l"]) ::slotted(sinch-avatar-badge){left:calc(100% - 19px)}:host([size="s"]) ::slotted(sinch-avatar-badge){left:calc(100% - 9px)}::slotted(sinch-avatar-status){position:absolute;bottom:-2px;right:-2px}:host([size="l"]) ::slotted(sinch-avatar-status){bottom:2px;right:2px}</style><div id="wrapper"><span id="text"></span> <img id="image" alt=""/><slot name="badge"></slot><slot name="status"></slot></div>';
|
|
13
12
|
const backgroundValues = ['grey', 'yellow', 'blue'];
|
package/avatar-badge/index.d.ts
CHANGED