@nectary/components 0.26.0 → 0.27.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 +0 -1
- package/accordion-item/index.js +1 -7
- 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/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.js +1 -1
- package/chat-bubble/index.d.ts +10 -1
- package/chat-bubble/index.js +16 -3
- package/chat-bubble/utils.d.ts +1 -0
- package/chat-bubble/utils.js +1 -0
- package/dropdown/index.d.ts +2 -0
- package/dropdown/index.js +101 -183
- package/dropdown-checkbox-option/index.d.ts +24 -0
- package/dropdown-checkbox-option/index.js +96 -0
- package/dropdown-radio-option/index.d.ts +24 -0
- package/dropdown-radio-option/index.js +96 -0
- package/{dropdown-option → dropdown-text-option}/index.d.ts +5 -6
- package/{dropdown-option → dropdown-text-option}/index.js +4 -7
- package/icons/3d-rotation/index.d.ts +11 -0
- package/icons/3d-rotation/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/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/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/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/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-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/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/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/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/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/camera-enhance/index.d.ts +11 -0
- package/icons/camera-enhance/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/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/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-page/index.d.ts +11 -0
- package/icons/contact-page/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/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/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/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/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/drag-indicator/index.d.ts +11 -0
- package/icons/drag-indicator/index.js +4 -0
- 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/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/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/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/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/horizontal-split/index.d.ts +11 -0
- package/icons/horizontal-split/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/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/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/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/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/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/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/minimize/index.d.ts +11 -0
- package/icons/minimize/index.js +4 -0
- package/icons/model-training/index.d.ts +11 -0
- package/icons/model-training/index.js +4 -0
- package/icons/next-plan/index.d.ts +11 -0
- package/icons/next-plan/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/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/pets/index.d.ts +11 -0
- package/icons/pets/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/polymer/index.d.ts +11 -0
- package/icons/polymer/index.js +4 -0
- 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/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/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/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/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-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/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/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/search-off/index.d.ts +11 -0
- package/icons/search-off/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-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/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/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/sticky-note-2/index.d.ts +11 -0
- package/icons/sticky-note-2/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-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/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/theaters/index.d.ts +11 -0
- package/icons/theaters/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/upgrade/index.d.ts +11 -0
- package/icons/upgrade/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/watch-later/index.d.ts +11 -0
- package/icons/watch-later/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/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/index.d.ts +537 -220
- package/index.js +538 -221
- package/package.json +1 -1
- package/popover/index.js +29 -19
- package/radio/index.js +18 -17
- package/search/index.js +8 -11
- 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 +3 -3
- package/select-option/index.js +2 -2
- package/tabs/index.js +6 -8
- package/utils.d.ts +4 -3
- package/utils.js +23 -15
package/dropdown/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _classPrivateFieldGet from '@babel/runtime/helpers/classPrivateFieldGet';
|
|
2
2
|
import _classPrivateFieldSet from '@babel/runtime/helpers/classPrivateFieldSet';
|
|
3
3
|
|
|
4
|
-
var _$
|
|
4
|
+
var _$optionSlot, _$listbox, _$popover, _onListboxClick, _onListboxKeyDown, _onOptionSlotChange, _onValueChange, _getFirstOption, _getLastOption, _getNextOption, _getPrevOption, _selectOption, _getOptionWithValue, _getOptionElements, _findSelectedOption, _getEnabledOptionElements, _dispatchChangeEvent, _onOpen, _onClose, _onReactClose;
|
|
5
5
|
|
|
6
6
|
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
|
7
7
|
|
|
@@ -11,35 +11,24 @@ function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollect
|
|
|
11
11
|
|
|
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
|
-
import
|
|
15
|
-
|
|
16
|
-
import { attrValueToPixels, defineCustomElement, getAttribute, getBooleanAttribute, getIntegerAttribute, getLiteralAttribute, getReactEventHandler, getRect, isAttrTrue, NectaryElement, updateAttribute, updateBooleanAttribute, updateIntegerAttribute, updateLiteralAttribute } from '../utils';
|
|
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>';
|
|
14
|
+
import { attrValueToPixels, defineCustomElement, getAttribute, getBooleanAttribute, getCsvSet, getFirstCsvValue, getIntegerAttribute, getLiteralAttribute, getReactEventHandler, isAttrTrue, NectaryElement, updateAttribute, updateBooleanAttribute, updateCsv, updateIntegerAttribute, updateLiteralAttribute } from '../utils';
|
|
15
|
+
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
16
|
const orientationValues = ['top-left', 'top-right', 'bottom-left', 'bottom-right'];
|
|
19
17
|
const ITEM_HEIGHT = 40;
|
|
20
|
-
|
|
21
|
-
const findSelectedOption = elements => {
|
|
22
|
-
for (const el of elements) {
|
|
23
|
-
if (el.selected) {
|
|
24
|
-
return el;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
return null;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
18
|
const template = document.createElement('template');
|
|
32
19
|
template.innerHTML = templateHTML;
|
|
33
|
-
defineCustomElement('sinch-dropdown', (_$
|
|
20
|
+
defineCustomElement('sinch-dropdown', (_$optionSlot = new WeakMap(), _$listbox = new WeakMap(), _$popover = new WeakMap(), _onListboxClick = new WeakMap(), _onListboxKeyDown = new WeakMap(), _onOptionSlotChange = new WeakMap(), _onValueChange = new WeakSet(), _getFirstOption = new WeakSet(), _getLastOption = new WeakSet(), _getNextOption = new WeakSet(), _getPrevOption = new WeakSet(), _selectOption = new WeakSet(), _getOptionWithValue = new WeakSet(), _getOptionElements = new WeakSet(), _findSelectedOption = new WeakSet(), _getEnabledOptionElements = new WeakSet(), _dispatchChangeEvent = new WeakSet(), _onOpen = new WeakSet(), _onClose = new WeakMap(), _onReactClose = new WeakMap(), class extends NectaryElement {
|
|
34
21
|
constructor() {
|
|
35
22
|
super();
|
|
36
23
|
|
|
37
|
-
_classPrivateMethodInitSpec(this,
|
|
24
|
+
_classPrivateMethodInitSpec(this, _onOpen);
|
|
38
25
|
|
|
39
26
|
_classPrivateMethodInitSpec(this, _dispatchChangeEvent);
|
|
40
27
|
|
|
41
28
|
_classPrivateMethodInitSpec(this, _getEnabledOptionElements);
|
|
42
29
|
|
|
30
|
+
_classPrivateMethodInitSpec(this, _findSelectedOption);
|
|
31
|
+
|
|
43
32
|
_classPrivateMethodInitSpec(this, _getOptionElements);
|
|
44
33
|
|
|
45
34
|
_classPrivateMethodInitSpec(this, _getOptionWithValue);
|
|
@@ -56,19 +45,6 @@ defineCustomElement('sinch-dropdown', (_$target = new WeakMap(), _$optionSlot =
|
|
|
56
45
|
|
|
57
46
|
_classPrivateMethodInitSpec(this, _onValueChange);
|
|
58
47
|
|
|
59
|
-
_classPrivateMethodInitSpec(this, _updateOrientation);
|
|
60
|
-
|
|
61
|
-
_classPrivateMethodInitSpec(this, _isOpen);
|
|
62
|
-
|
|
63
|
-
_classPrivateMethodInitSpec(this, _onCollapse);
|
|
64
|
-
|
|
65
|
-
_classPrivateMethodInitSpec(this, _onExpand);
|
|
66
|
-
|
|
67
|
-
_classPrivateFieldInitSpec(this, _$target, {
|
|
68
|
-
writable: true,
|
|
69
|
-
value: void 0
|
|
70
|
-
});
|
|
71
|
-
|
|
72
48
|
_classPrivateFieldInitSpec(this, _$optionSlot, {
|
|
73
49
|
writable: true,
|
|
74
50
|
value: void 0
|
|
@@ -79,26 +55,17 @@ defineCustomElement('sinch-dropdown', (_$target = new WeakMap(), _$optionSlot =
|
|
|
79
55
|
value: void 0
|
|
80
56
|
});
|
|
81
57
|
|
|
82
|
-
_classPrivateFieldInitSpec(this,
|
|
58
|
+
_classPrivateFieldInitSpec(this, _$popover, {
|
|
83
59
|
writable: true,
|
|
84
|
-
value:
|
|
60
|
+
value: void 0
|
|
85
61
|
});
|
|
86
62
|
|
|
87
63
|
_classPrivateFieldInitSpec(this, _onListboxClick, {
|
|
88
64
|
writable: true,
|
|
89
65
|
value: e => {
|
|
90
|
-
const rect = this.dropdownRect;
|
|
91
|
-
const isInside = e.x >= rect.x && e.x < rect.x + rect.width && e.y >= rect.y && e.y < rect.y + rect.height;
|
|
92
|
-
|
|
93
|
-
if (!isInside) {
|
|
94
|
-
_classPrivateMethodGet(this, _dispatchCloseEvent, _dispatchCloseEvent2).call(this);
|
|
95
|
-
|
|
96
|
-
return;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
66
|
const $elem = e.target;
|
|
100
67
|
|
|
101
|
-
if (
|
|
68
|
+
if (!$elem.disabled) {
|
|
102
69
|
e.stopPropagation();
|
|
103
70
|
|
|
104
71
|
_classPrivateMethodGet(this, _dispatchChangeEvent, _dispatchChangeEvent2).call(this, $elem);
|
|
@@ -106,7 +73,7 @@ defineCustomElement('sinch-dropdown', (_$target = new WeakMap(), _$optionSlot =
|
|
|
106
73
|
}
|
|
107
74
|
});
|
|
108
75
|
|
|
109
|
-
_classPrivateFieldInitSpec(this,
|
|
76
|
+
_classPrivateFieldInitSpec(this, _onListboxKeyDown, {
|
|
110
77
|
writable: true,
|
|
111
78
|
value: e => {
|
|
112
79
|
switch (e.code) {
|
|
@@ -115,18 +82,11 @@ defineCustomElement('sinch-dropdown', (_$target = new WeakMap(), _$optionSlot =
|
|
|
115
82
|
{
|
|
116
83
|
e.preventDefault();
|
|
117
84
|
|
|
118
|
-
_classPrivateMethodGet(this, _dispatchChangeEvent, _dispatchChangeEvent2).call(this,
|
|
85
|
+
_classPrivateMethodGet(this, _dispatchChangeEvent, _dispatchChangeEvent2).call(this, _classPrivateMethodGet(this, _findSelectedOption, _findSelectedOption2).call(this, _classPrivateMethodGet(this, _getEnabledOptionElements, _getEnabledOptionElements2).call(this)));
|
|
119
86
|
|
|
120
87
|
break;
|
|
121
88
|
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
});
|
|
125
89
|
|
|
126
|
-
_classPrivateFieldInitSpec(this, _onListboxKeyDown, {
|
|
127
|
-
writable: true,
|
|
128
|
-
value: e => {
|
|
129
|
-
switch (e.code) {
|
|
130
90
|
case 'ArrowUp':
|
|
131
91
|
case 'ArrowLeft':
|
|
132
92
|
{
|
|
@@ -157,16 +117,16 @@ defineCustomElement('sinch-dropdown', (_$target = new WeakMap(), _$optionSlot =
|
|
|
157
117
|
}
|
|
158
118
|
});
|
|
159
119
|
|
|
160
|
-
_classPrivateFieldInitSpec(this,
|
|
120
|
+
_classPrivateFieldInitSpec(this, _onClose, {
|
|
161
121
|
writable: true,
|
|
162
|
-
value:
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
122
|
+
value: () => {
|
|
123
|
+
this.dispatchEvent(new CustomEvent('close', {
|
|
124
|
+
bubbles: true
|
|
125
|
+
}));
|
|
166
126
|
}
|
|
167
127
|
});
|
|
168
128
|
|
|
169
|
-
_classPrivateFieldInitSpec(this,
|
|
129
|
+
_classPrivateFieldInitSpec(this, _onReactClose, {
|
|
170
130
|
writable: true,
|
|
171
131
|
value: () => {
|
|
172
132
|
getReactEventHandler(this, 'onClose')?.();
|
|
@@ -176,57 +136,29 @@ defineCustomElement('sinch-dropdown', (_$target = new WeakMap(), _$optionSlot =
|
|
|
176
136
|
const shadowRoot = this.attachShadow();
|
|
177
137
|
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
178
138
|
|
|
179
|
-
_classPrivateFieldSet(this, _$
|
|
139
|
+
_classPrivateFieldSet(this, _$optionSlot, shadowRoot.querySelector('slot[name="option"]'));
|
|
180
140
|
|
|
181
141
|
_classPrivateFieldSet(this, _$listbox, shadowRoot.querySelector('#listbox'));
|
|
182
142
|
|
|
183
|
-
_classPrivateFieldSet(this, _$
|
|
184
|
-
|
|
185
|
-
dialogPolyfill.registerDialog(_classPrivateFieldGet(this, _$listbox));
|
|
143
|
+
_classPrivateFieldSet(this, _$popover, shadowRoot.querySelector('sinch-popover'));
|
|
186
144
|
}
|
|
187
145
|
|
|
188
146
|
connectedCallback() {
|
|
189
|
-
_classPrivateFieldSet(this, _isConnected, true);
|
|
190
|
-
|
|
191
147
|
this.setAttribute('role', 'listbox');
|
|
192
148
|
|
|
193
|
-
_classPrivateFieldGet(this, _$listbox).addEventListener('cancel', _classPrivateFieldGet(this, _onCancel));
|
|
194
|
-
|
|
195
|
-
_classPrivateFieldGet(this, _$listbox).addEventListener('click', _classPrivateFieldGet(this, _onListboxClick));
|
|
196
|
-
|
|
197
|
-
_classPrivateFieldGet(this, _$listbox).addEventListener('keydown', _classPrivateFieldGet(this, _onListboxKeyDown));
|
|
198
|
-
|
|
199
|
-
_classPrivateFieldGet(this, _$listbox).addEventListener('keypress', _classPrivateFieldGet(this, _onListboxKeyPress));
|
|
200
|
-
|
|
201
149
|
_classPrivateFieldGet(this, _$optionSlot).addEventListener('slotchange', _classPrivateFieldGet(this, _onOptionSlotChange));
|
|
202
150
|
|
|
203
|
-
this.addEventListener('close', _classPrivateFieldGet(this,
|
|
204
|
-
|
|
205
|
-
if (getBooleanAttribute(this, 'open')) {
|
|
206
|
-
_classPrivateMethodGet(this, _onExpand, _onExpand2).call(this);
|
|
207
|
-
} else {
|
|
208
|
-
_classPrivateMethodGet(this, _onCollapse, _onCollapse2).call(this);
|
|
209
|
-
}
|
|
151
|
+
this.addEventListener('close', _classPrivateFieldGet(this, _onReactClose));
|
|
210
152
|
}
|
|
211
153
|
|
|
212
154
|
disconnectedCallback() {
|
|
213
|
-
_classPrivateFieldSet(this, _isConnected, false);
|
|
214
|
-
|
|
215
|
-
_classPrivateFieldGet(this, _$listbox).removeEventListener('cancel', _classPrivateFieldGet(this, _onCancel));
|
|
216
|
-
|
|
217
|
-
_classPrivateFieldGet(this, _$listbox).removeEventListener('click', _classPrivateFieldGet(this, _onListboxClick));
|
|
218
|
-
|
|
219
|
-
_classPrivateFieldGet(this, _$listbox).removeEventListener('keydown', _classPrivateFieldGet(this, _onListboxKeyDown));
|
|
220
|
-
|
|
221
|
-
_classPrivateFieldGet(this, _$listbox).removeEventListener('keypress', _classPrivateFieldGet(this, _onListboxKeyPress));
|
|
222
|
-
|
|
223
155
|
_classPrivateFieldGet(this, _$optionSlot).removeEventListener('slotchange', _classPrivateFieldGet(this, _onOptionSlotChange));
|
|
224
156
|
|
|
225
|
-
this.removeEventListener('close', _classPrivateFieldGet(this,
|
|
157
|
+
this.removeEventListener('close', _classPrivateFieldGet(this, _onReactClose));
|
|
226
158
|
}
|
|
227
159
|
|
|
228
160
|
static get observedAttributes() {
|
|
229
|
-
return ['
|
|
161
|
+
return ['open', 'value', 'orientation', 'maxvisibleitems'];
|
|
230
162
|
}
|
|
231
163
|
|
|
232
164
|
get nodeName() {
|
|
@@ -265,20 +197,38 @@ defineCustomElement('sinch-dropdown', (_$target = new WeakMap(), _$optionSlot =
|
|
|
265
197
|
return getBooleanAttribute(this, 'open');
|
|
266
198
|
}
|
|
267
199
|
|
|
200
|
+
set multiple(isMultiple) {
|
|
201
|
+
updateBooleanAttribute(this, 'multiple', isMultiple);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
get multiple() {
|
|
205
|
+
return getBooleanAttribute(this, 'multiple');
|
|
206
|
+
}
|
|
207
|
+
|
|
268
208
|
get dropdownRect() {
|
|
269
|
-
return
|
|
209
|
+
return _classPrivateFieldGet(this, _$popover).popoverRect;
|
|
270
210
|
}
|
|
271
211
|
|
|
272
212
|
attributeChangedCallback(name, oldVal, newVal) {
|
|
273
213
|
switch (name) {
|
|
274
214
|
case 'open':
|
|
275
215
|
{
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
216
|
+
updateAttribute(_classPrivateFieldGet(this, _$popover), 'open', newVal);
|
|
217
|
+
|
|
218
|
+
if (isAttrTrue(newVal)) {
|
|
219
|
+
_classPrivateMethodGet(this, _onOpen, _onOpen2).call(this);
|
|
220
|
+
|
|
221
|
+
_classPrivateFieldGet(this, _$popover).addEventListener('keydown', _classPrivateFieldGet(this, _onListboxKeyDown));
|
|
222
|
+
|
|
223
|
+
_classPrivateFieldGet(this, _$listbox).addEventListener('click', _classPrivateFieldGet(this, _onListboxClick));
|
|
224
|
+
|
|
225
|
+
_classPrivateFieldGet(this, _$popover).addEventListener('close', _classPrivateFieldGet(this, _onClose));
|
|
226
|
+
} else {
|
|
227
|
+
_classPrivateFieldGet(this, _$popover).removeEventListener('keydown', _classPrivateFieldGet(this, _onListboxKeyDown));
|
|
228
|
+
|
|
229
|
+
_classPrivateFieldGet(this, _$listbox).removeEventListener('click', _classPrivateFieldGet(this, _onListboxClick));
|
|
230
|
+
|
|
231
|
+
_classPrivateFieldGet(this, _$popover).removeEventListener('close', _classPrivateFieldGet(this, _onClose));
|
|
282
232
|
}
|
|
283
233
|
|
|
284
234
|
break;
|
|
@@ -286,10 +236,7 @@ defineCustomElement('sinch-dropdown', (_$target = new WeakMap(), _$optionSlot =
|
|
|
286
236
|
|
|
287
237
|
case 'orientation':
|
|
288
238
|
{
|
|
289
|
-
|
|
290
|
-
_classPrivateMethodGet(this, _updateOrientation, _updateOrientation2).call(this);
|
|
291
|
-
}
|
|
292
|
-
|
|
239
|
+
updateAttribute(_classPrivateFieldGet(this, _$popover), 'orientation', newVal);
|
|
293
240
|
break;
|
|
294
241
|
}
|
|
295
242
|
|
|
@@ -318,79 +265,22 @@ defineCustomElement('sinch-dropdown', (_$target = new WeakMap(), _$optionSlot =
|
|
|
318
265
|
}
|
|
319
266
|
}
|
|
320
267
|
|
|
321
|
-
focus() {}
|
|
322
|
-
|
|
323
|
-
blur() {}
|
|
324
|
-
|
|
325
268
|
}));
|
|
326
269
|
|
|
327
|
-
function
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
if (!_classPrivateMethodGet(this, _isOpen, _isOpen2).call(this)) {
|
|
331
|
-
_classPrivateFieldGet(this, _$listbox).showModal();
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
_classPrivateMethodGet(this, _updateOrientation, _updateOrientation2).call(this);
|
|
335
|
-
|
|
336
|
-
_classPrivateMethodGet(this, _selectOption, _selectOption2).call(this, _classPrivateMethodGet(this, _getOptionWithValue, _getOptionWithValue2).call(this, this.value) ?? _classPrivateMethodGet(this, _getFirstOption, _getFirstOption2).call(this));
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
function _onCollapse2() {
|
|
340
|
-
_classPrivateFieldGet(this, _$target).setAttribute('aria-expanded', 'false');
|
|
341
|
-
|
|
342
|
-
if (_classPrivateMethodGet(this, _isOpen, _isOpen2).call(this)) {
|
|
343
|
-
_classPrivateFieldGet(this, _$listbox).close?.();
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
function _isOpen2() {
|
|
348
|
-
return _classPrivateFieldGet(this, _isConnected) && getBooleanAttribute(_classPrivateFieldGet(this, _$listbox), 'open');
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
function _updateOrientation2() {
|
|
352
|
-
_classPrivateFieldGet(this, _$listbox).style.transform = `initial`;
|
|
353
|
-
_classPrivateFieldGet(this, _$listbox).style.width = `max-content`;
|
|
354
|
-
|
|
355
|
-
const buttonRect = _classPrivateFieldGet(this, _$target).getBoundingClientRect();
|
|
356
|
-
|
|
357
|
-
const modalRect = _classPrivateFieldGet(this, _$listbox).getBoundingClientRect();
|
|
358
|
-
|
|
359
|
-
const width = Math.max(modalRect.width, buttonRect.width);
|
|
360
|
-
const widthDiff = Math.max(buttonRect.width - modalRect.width, 0);
|
|
361
|
-
let leftOffset = 0;
|
|
362
|
-
let topOffset = 0;
|
|
363
|
-
const orient = this.orientation;
|
|
364
|
-
|
|
365
|
-
if (orient === 'bottom-right' || orient === 'top-right') {
|
|
366
|
-
leftOffset = Math.min(modalRect.x, Math.max(-modalRect.x, buttonRect.x - modalRect.x + widthDiff * 0.5));
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
if (orient === 'bottom-left' || orient === 'top-left') {
|
|
370
|
-
leftOffset = Math.min(modalRect.x, Math.max(-modalRect.x, buttonRect.x + buttonRect.width - modalRect.x - modalRect.width - widthDiff * 0.5));
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
if (orient === 'bottom-left' || orient === 'bottom-right') {
|
|
374
|
-
topOffset = Math.min(modalRect.y, Math.max(-modalRect.y, buttonRect.y + buttonRect.height - modalRect.y + 8));
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
if (orient === 'top-left' || orient === 'top-right') {
|
|
378
|
-
topOffset = Math.min(modalRect.y, Math.max(-modalRect.y, buttonRect.y - modalRect.y - modalRect.height - 8));
|
|
379
|
-
}
|
|
270
|
+
function _onValueChange2(csv) {
|
|
271
|
+
if (this.multiple) {
|
|
272
|
+
const values = getCsvSet(csv);
|
|
380
273
|
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
for (const $option of _classPrivateMethodGet(this, _getOptionElements, _getOptionElements2).call(this)) {
|
|
389
|
-
const isChecked = $checkedOption === null && $option.disabled !== true && $option.value === value;
|
|
390
|
-
$option.checked = isChecked;
|
|
274
|
+
for (const $option of _classPrivateMethodGet(this, _getOptionElements, _getOptionElements2).call(this)) {
|
|
275
|
+
const isChecked = !getBooleanAttribute($option, 'disabled') && values.has(getAttribute($option, 'value', ''));
|
|
276
|
+
updateBooleanAttribute($option, 'checked', isChecked);
|
|
277
|
+
}
|
|
278
|
+
} else {
|
|
279
|
+
const value = getFirstCsvValue(csv);
|
|
391
280
|
|
|
392
|
-
|
|
393
|
-
|
|
281
|
+
for (const $option of _classPrivateMethodGet(this, _getOptionElements, _getOptionElements2).call(this)) {
|
|
282
|
+
const isChecked = !getBooleanAttribute($option, 'disabled') && value === getAttribute($option, 'value', '');
|
|
283
|
+
updateBooleanAttribute($option, 'checked', isChecked);
|
|
394
284
|
}
|
|
395
285
|
}
|
|
396
286
|
}
|
|
@@ -406,7 +296,8 @@ function _getLastOption2() {
|
|
|
406
296
|
function _getNextOption2() {
|
|
407
297
|
const $options = _classPrivateMethodGet(this, _getEnabledOptionElements, _getEnabledOptionElements2).call(this);
|
|
408
298
|
|
|
409
|
-
const $selectedOption =
|
|
299
|
+
const $selectedOption = _classPrivateMethodGet(this, _findSelectedOption, _findSelectedOption2).call(this, $options);
|
|
300
|
+
|
|
410
301
|
const currentIndex = $selectedOption !== null ? $options.indexOf($selectedOption) : -1;
|
|
411
302
|
|
|
412
303
|
if (currentIndex < 0) {
|
|
@@ -419,7 +310,8 @@ function _getNextOption2() {
|
|
|
419
310
|
function _getPrevOption2() {
|
|
420
311
|
const $options = _classPrivateMethodGet(this, _getEnabledOptionElements, _getEnabledOptionElements2).call(this);
|
|
421
312
|
|
|
422
|
-
const $selectedOption =
|
|
313
|
+
const $selectedOption = _classPrivateMethodGet(this, _findSelectedOption, _findSelectedOption2).call(this, $options);
|
|
314
|
+
|
|
423
315
|
const currentIndex = $selectedOption !== null ? $options.indexOf($selectedOption) : -1;
|
|
424
316
|
|
|
425
317
|
if (currentIndex < 0) {
|
|
@@ -434,7 +326,7 @@ function _selectOption2($option) {
|
|
|
434
326
|
const isSelected = $op === $option;
|
|
435
327
|
$op.selected = isSelected;
|
|
436
328
|
|
|
437
|
-
if (isSelected) {
|
|
329
|
+
if (isSelected && this.maxVisibleItems !== null) {
|
|
438
330
|
$op.scrollIntoView?.({
|
|
439
331
|
block: 'nearest'
|
|
440
332
|
});
|
|
@@ -443,6 +335,10 @@ function _selectOption2($option) {
|
|
|
443
335
|
}
|
|
444
336
|
|
|
445
337
|
function _getOptionWithValue2(value) {
|
|
338
|
+
if (value === null) {
|
|
339
|
+
return null;
|
|
340
|
+
}
|
|
341
|
+
|
|
446
342
|
for (const $option of _classPrivateMethodGet(this, _getOptionElements, _getOptionElements2).call(this)) {
|
|
447
343
|
if ($option.disabled !== true && $option.value === value) {
|
|
448
344
|
return $option;
|
|
@@ -459,7 +355,17 @@ function _getOptionElements2() {
|
|
|
459
355
|
$elements = $elements[0].assignedElements();
|
|
460
356
|
}
|
|
461
357
|
|
|
462
|
-
return $elements
|
|
358
|
+
return $elements;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
function _findSelectedOption2(elements) {
|
|
362
|
+
for (const el of elements) {
|
|
363
|
+
if (el.selected) {
|
|
364
|
+
return el;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
return null;
|
|
463
369
|
}
|
|
464
370
|
|
|
465
371
|
function _getEnabledOptionElements2() {
|
|
@@ -467,16 +373,28 @@ function _getEnabledOptionElements2() {
|
|
|
467
373
|
}
|
|
468
374
|
|
|
469
375
|
function _dispatchChangeEvent2($opt) {
|
|
470
|
-
if ($opt
|
|
471
|
-
|
|
472
|
-
detail: $opt.value,
|
|
473
|
-
bubbles: true
|
|
474
|
-
}));
|
|
376
|
+
if ($opt === null) {
|
|
377
|
+
return;
|
|
475
378
|
}
|
|
476
|
-
}
|
|
477
379
|
|
|
478
|
-
|
|
479
|
-
this.
|
|
380
|
+
const value = $opt.value;
|
|
381
|
+
const result = this.multiple ? updateCsv(this.value, value, !$opt.checked) : value;
|
|
382
|
+
this.dispatchEvent(new CustomEvent('change', {
|
|
383
|
+
detail: result,
|
|
480
384
|
bubbles: true
|
|
481
385
|
}));
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
function _onOpen2() {
|
|
389
|
+
const $opt = _classPrivateMethodGet(this, _getOptionWithValue, _getOptionWithValue2).call(this, getFirstCsvValue(this.value));
|
|
390
|
+
|
|
391
|
+
if ($opt !== null) {
|
|
392
|
+
_classPrivateMethodGet(this, _selectOption, _selectOption2).call(this, $opt);
|
|
393
|
+
|
|
394
|
+
$opt.scrollIntoView?.({
|
|
395
|
+
block: 'nearest'
|
|
396
|
+
});
|
|
397
|
+
} else {
|
|
398
|
+
_classPrivateMethodGet(this, _selectOption, _selectOption2).call(this, _classPrivateMethodGet(this, _getFirstOption, _getFirstOption2).call(this));
|
|
399
|
+
}
|
|
482
400
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { TSinchElementReact } from '../types';
|
|
2
|
+
export declare type TSinchDropdownCheckboxOptionElement = HTMLElement & {
|
|
3
|
+
value: string;
|
|
4
|
+
text: string;
|
|
5
|
+
checked: boolean;
|
|
6
|
+
selected: boolean;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare type TSinchDropdownCheckboxOptionReact = TSinchElementReact<TSinchDropdownCheckboxOptionElement> & {
|
|
10
|
+
value: string;
|
|
11
|
+
text: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
'aria-label': string;
|
|
14
|
+
};
|
|
15
|
+
declare global {
|
|
16
|
+
namespace JSX {
|
|
17
|
+
interface IntrinsicElements {
|
|
18
|
+
'sinch-dropdown-checkbox-option': TSinchDropdownCheckboxOptionReact;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
interface HTMLElementTagNameMap {
|
|
22
|
+
'sinch-dropdown-checkbox-option': TSinchDropdownCheckboxOptionElement;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import _classPrivateFieldGet from '@babel/runtime/helpers/classPrivateFieldGet';
|
|
2
|
+
import _classPrivateFieldSet from '@babel/runtime/helpers/classPrivateFieldSet';
|
|
3
|
+
|
|
4
|
+
var _$text;
|
|
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{display:flex;position:relative;box-sizing:border-box;height:40px;padding:4px 12px 4px 6px;align-items:center;gap:6px;user-select:none;cursor:pointer}#text{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#icon-container{position:relative;width:32px;height:32px}#icon-container::before{content:"";position:absolute;top:7px;left:7px;width:18px;height:18px;border-radius:2px;pointer-events:none;background-color:var(--sinch-color-snow-100);box-shadow:0 0 0 2px var(--sinch-color-stormy-300) inset;transition:background-color .1s linear}#icon-checkmark{position:absolute;left:9px;top:10px;transition:opacity .1s linear;opacity:0;pointer-events:none;fill:var(--sinch-color-snow-100)}:host([checked]:not([checked=false])) #icon-container::before{background-color:var(--sinch-color-tropical-500);box-shadow:0 0 0 2px var(--sinch-color-tropical-500) inset}:host([checked]:not([checked=false])) #icon-checkmark{opacity:1}:host(:hover)>#wrapper,:host([data-selected])>#wrapper{background-color:var(--sinch-color-snow-500)}:host([disabled]:not([disabled=false]))>#wrapper{color:var(--sinch-color-stormy-100);cursor:initial}:host([disabled]:not([disabled=false])) #icon-container::before{box-shadow:0 0 0 2px var(--sinch-color-stormy-100) inset}@media (prefers-reduced-motion){#icon-checkmark,#icon-container::before{transition:none}}</style><div id="wrapper"><div id="icon-container"><svg id="icon-checkmark" width="14" height="11" aria-hidden="true"><path d="M14 1.99999L12.59 0.579987L4.98995 8.17L1.49997 4.5L0.0799694 5.91L4.98995 11L14 1.99999Z"/></svg></div><span id="text"></span></div>';
|
|
12
|
+
const template = document.createElement('template');
|
|
13
|
+
template.innerHTML = templateHTML;
|
|
14
|
+
defineCustomElement('sinch-dropdown-checkbox-option', (_$text = new WeakMap(), class extends NectaryElement {
|
|
15
|
+
constructor() {
|
|
16
|
+
super();
|
|
17
|
+
|
|
18
|
+
_classPrivateFieldInitSpec(this, _$text, {
|
|
19
|
+
writable: true,
|
|
20
|
+
value: void 0
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
const shadowRoot = this.attachShadow();
|
|
24
|
+
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
25
|
+
|
|
26
|
+
_classPrivateFieldSet(this, _$text, shadowRoot.querySelector('#text'));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
connectedCallback() {
|
|
30
|
+
this.setAttribute('role', 'option');
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
static get observedAttributes() {
|
|
34
|
+
return ['text', 'checked'];
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
attributeChangedCallback(name, oldVal, newVal) {
|
|
38
|
+
if (oldVal === newVal) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
switch (name) {
|
|
43
|
+
case 'text':
|
|
44
|
+
{
|
|
45
|
+
_classPrivateFieldGet(this, _$text).textContent = newVal;
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
case 'checked':
|
|
50
|
+
{
|
|
51
|
+
updateAttribute(this, 'aria-selected', isAttrTrue(newVal));
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
set value(value) {
|
|
57
|
+
updateAttribute(this, 'value', value);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
get value() {
|
|
61
|
+
return getAttribute(this, 'value', '');
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
set text(value) {
|
|
65
|
+
updateAttribute(this, 'text', value);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
get text() {
|
|
69
|
+
return getAttribute(this, 'text', '');
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
set disabled(isDisabled) {
|
|
73
|
+
updateBooleanAttribute(this, 'disabled', isDisabled);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
get disabled() {
|
|
77
|
+
return getBooleanAttribute(this, 'disabled');
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
set checked(isChecked) {
|
|
81
|
+
updateBooleanAttribute(this, 'checked', isChecked);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
get checked() {
|
|
85
|
+
return getBooleanAttribute(this, 'checked');
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
set selected(isSelected) {
|
|
89
|
+
updateBooleanAttribute(this, 'data-selected', isSelected);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
get selected() {
|
|
93
|
+
return getBooleanAttribute(this, 'data-selected');
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
}));
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { TSinchElementReact } from '../types';
|
|
2
|
+
export declare type TSinchDropdownRadioOptionElement = HTMLElement & {
|
|
3
|
+
value: string;
|
|
4
|
+
text: string;
|
|
5
|
+
checked: boolean;
|
|
6
|
+
selected: boolean;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare type TSinchDropdownRadioOptionReact = TSinchElementReact<TSinchDropdownRadioOptionElement> & {
|
|
10
|
+
value: string;
|
|
11
|
+
text: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
'aria-label': string;
|
|
14
|
+
};
|
|
15
|
+
declare global {
|
|
16
|
+
namespace JSX {
|
|
17
|
+
interface IntrinsicElements {
|
|
18
|
+
'sinch-dropdown-radio-option': TSinchDropdownRadioOptionReact;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
interface HTMLElementTagNameMap {
|
|
22
|
+
'sinch-dropdown-radio-option': TSinchDropdownRadioOptionElement;
|
|
23
|
+
}
|
|
24
|
+
}
|