@nectary/components 0.25.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/dialog/index.js +2 -2
- 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/index.d.ts +11 -0
- package/icons/add/index.js +4 -0
- package/icons/add-box/index.d.ts +11 -0
- package/icons/add-box/index.js +4 -0
- package/icons/add-circle/index.d.ts +11 -0
- package/icons/add-circle/index.js +4 -0
- package/icons/add-circle-outline/index.d.ts +11 -0
- package/icons/add-circle-outline/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/amp-stories/index.d.ts +11 -0
- package/icons/amp-stories/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/archive/index.d.ts +11 -0
- package/icons/archive/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/attach-file/index.d.ts +11 -0
- package/icons/attach-file/index.js +4 -0
- package/icons/attach-money/index.d.ts +11 -0
- package/icons/attach-money/index.js +4 -0
- package/icons/attribution/index.d.ts +11 -0
- package/icons/attribution/index.js +4 -0
- package/icons/autorenew/index.d.ts +11 -0
- package/icons/autorenew/index.js +4 -0
- package/icons/backspace/index.d.ts +11 -0
- package/icons/backspace/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/ballot/index.d.ts +11 -0
- package/icons/ballot/index.js +4 -0
- package/icons/bar-chart/index.d.ts +11 -0
- package/icons/bar-chart/index.js +4 -0
- package/icons/batch-prediction/index.d.ts +11 -0
- package/icons/batch-prediction/index.js +4 -0
- package/icons/biotech/index.d.ts +11 -0
- package/icons/biotech/index.js +4 -0
- package/icons/block/index.d.ts +11 -0
- package/icons/block/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/border-all/index.d.ts +11 -0
- package/icons/border-all/index.js +4 -0
- package/icons/border-bottom/index.d.ts +11 -0
- package/icons/border-bottom/index.js +4 -0
- package/icons/border-clear/index.d.ts +11 -0
- package/icons/border-clear/index.js +4 -0
- package/icons/border-horizontal/index.d.ts +11 -0
- package/icons/border-horizontal/index.js +4 -0
- package/icons/border-inner/index.d.ts +11 -0
- package/icons/border-inner/index.js +4 -0
- package/icons/border-left/index.d.ts +11 -0
- package/icons/border-left/index.js +4 -0
- package/icons/border-outer/index.d.ts +11 -0
- package/icons/border-outer/index.js +4 -0
- package/icons/border-right/index.d.ts +11 -0
- package/icons/border-right/index.js +4 -0
- package/icons/border-style/index.d.ts +11 -0
- package/icons/border-style/index.js +4 -0
- package/icons/border-top/index.d.ts +11 -0
- package/icons/border-top/index.js +4 -0
- package/icons/border-vertical/index.d.ts +11 -0
- package/icons/border-vertical/index.js +4 -0
- package/icons/bubble-chart/index.d.ts +11 -0
- package/icons/bubble-chart/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/calculate/index.d.ts +11 -0
- package/icons/calculate/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/clear/index.d.ts +11 -0
- package/icons/clear/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/content-copy/index.d.ts +11 -0
- package/icons/content-copy/index.js +4 -0
- package/icons/content-cut/index.d.ts +11 -0
- package/icons/content-cut/index.js +4 -0
- package/icons/content-paste/index.d.ts +11 -0
- package/icons/content-paste/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/delete-sweep/index.d.ts +11 -0
- package/icons/delete-sweep/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/drafts/index.d.ts +11 -0
- package/icons/drafts/index.js +4 -0
- package/icons/drag-handle/index.d.ts +11 -0
- package/icons/drag-handle/index.js +4 -0
- package/icons/drag-indicator/index.d.ts +11 -0
- package/icons/drag-indicator/index.js +4 -0
- package/icons/dynamic-feed/index.d.ts +11 -0
- package/icons/dynamic-feed/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/file-copy/index.d.ts +11 -0
- package/icons/file-copy/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/flag/index.d.ts +11 -0
- package/icons/flag/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/font-download/index.d.ts +11 -0
- package/icons/font-download/index.js +4 -0
- package/icons/format-align-center/index.d.ts +11 -0
- package/icons/format-align-center/index.js +4 -0
- package/icons/format-align-justify/index.d.ts +11 -0
- package/icons/format-align-justify/index.js +4 -0
- package/icons/format-align-left/index.d.ts +11 -0
- package/icons/format-align-left/index.js +4 -0
- package/icons/format-align-right/index.d.ts +11 -0
- package/icons/format-align-right/index.js +4 -0
- package/icons/format-bold/index.d.ts +11 -0
- package/icons/format-bold/index.js +4 -0
- package/icons/format-clear/index.d.ts +11 -0
- package/icons/format-clear/index.js +4 -0
- package/icons/format-color-reset/index.d.ts +11 -0
- package/icons/format-color-reset/index.js +4 -0
- package/icons/format-indent-decrease/index.d.ts +11 -0
- package/icons/format-indent-decrease/index.js +4 -0
- package/icons/format-indent-increase/index.d.ts +11 -0
- package/icons/format-indent-increase/index.js +4 -0
- package/icons/format-italic/index.d.ts +11 -0
- package/icons/format-italic/index.js +4 -0
- package/icons/format-line-spacing/index.d.ts +11 -0
- package/icons/format-line-spacing/index.js +4 -0
- package/icons/format-list-bulleted/index.d.ts +11 -0
- package/icons/format-list-bulleted/index.js +4 -0
- package/icons/format-list-numbered/index.d.ts +11 -0
- package/icons/format-list-numbered/index.js +4 -0
- package/icons/format-list-numbered-rtl/index.d.ts +11 -0
- package/icons/format-list-numbered-rtl/index.js +4 -0
- package/icons/format-paint/index.d.ts +11 -0
- package/icons/format-paint/index.js +4 -0
- package/icons/format-quote/index.d.ts +11 -0
- package/icons/format-quote/index.js +4 -0
- package/icons/format-shapes/index.d.ts +11 -0
- package/icons/format-shapes/index.js +4 -0
- package/icons/format-size/index.d.ts +11 -0
- package/icons/format-size/index.js +4 -0
- package/icons/format-strikethrough/index.d.ts +11 -0
- package/icons/format-strikethrough/index.js +4 -0
- package/icons/format-textdirection-l-to-r/index.d.ts +11 -0
- package/icons/format-textdirection-l-to-r/index.js +4 -0
- package/icons/format-textdirection-r-to-l/index.d.ts +11 -0
- package/icons/format-textdirection-r-to-l/index.js +4 -0
- package/icons/format-underlined/index.d.ts +11 -0
- package/icons/format-underlined/index.js +4 -0
- package/icons/forward/index.d.ts +11 -0
- package/icons/forward/index.js +4 -0
- package/icons/functions/index.d.ts +11 -0
- package/icons/functions/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/gesture/index.d.ts +11 -0
- package/icons/gesture/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/height/index.d.ts +11 -0
- package/icons/height/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/index.d.ts +11 -0
- package/icons/highlight/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-rule/index.d.ts +11 -0
- package/icons/horizontal-rule/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/how-to-reg/index.d.ts +11 -0
- package/icons/how-to-reg/index.js +4 -0
- package/icons/how-to-vote/index.d.ts +11 -0
- package/icons/how-to-vote/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/inbox/index.d.ts +11 -0
- package/icons/inbox/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/insert-chart/index.d.ts +11 -0
- package/icons/insert-chart/index.js +4 -0
- package/icons/insert-chart-outlined/index.d.ts +11 -0
- package/icons/insert-chart-outlined/index.js +4 -0
- package/icons/insert-comment/index.d.ts +11 -0
- package/icons/insert-comment/index.js +4 -0
- package/icons/insert-drive-file/index.d.ts +11 -0
- package/icons/insert-drive-file/index.js +4 -0
- package/icons/insert-emoticon/index.js +1 -1
- package/icons/insert-invitation/index.d.ts +11 -0
- package/icons/insert-invitation/index.js +4 -0
- package/icons/insert-link/index.d.ts +11 -0
- package/icons/insert-link/index.js +4 -0
- package/icons/insert-photo/index.d.ts +11 -0
- package/icons/insert-photo/index.js +4 -0
- package/icons/insights/index.d.ts +11 -0
- package/icons/insights/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/linear-scale/index.d.ts +11 -0
- package/icons/linear-scale/index.js +4 -0
- package/icons/link/index.d.ts +11 -0
- package/icons/link/index.js +4 -0
- package/icons/link-off/index.d.ts +11 -0
- package/icons/link-off/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/low-priority/index.d.ts +11 -0
- package/icons/low-priority/index.js +4 -0
- package/icons/loyalty/index.d.ts +11 -0
- package/icons/loyalty/index.js +4 -0
- package/icons/mail/index.d.ts +11 -0
- package/icons/mail/index.js +4 -0
- package/icons/markunread/index.d.ts +11 -0
- package/icons/markunread/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/merge-type/index.d.ts +11 -0
- package/icons/merge-type/index.js +4 -0
- package/icons/minimize/index.d.ts +11 -0
- package/icons/minimize/index.js +4 -0
- package/icons/mode/index.d.ts +11 -0
- package/icons/mode/index.js +4 -0
- package/icons/mode-comment/index.d.ts +11 -0
- package/icons/mode-comment/index.js +4 -0
- package/icons/model-training/index.d.ts +11 -0
- package/icons/model-training/index.js +4 -0
- package/icons/monetization-on/index.d.ts +11 -0
- package/icons/monetization-on/index.js +4 -0
- package/icons/money-off/index.d.ts +11 -0
- package/icons/money-off/index.js +4 -0
- package/icons/money-off-csred/index.d.ts +11 -0
- package/icons/money-off-csred/index.js +4 -0
- package/icons/move-to-inbox/index.d.ts +11 -0
- package/icons/move-to-inbox/index.js +4 -0
- package/icons/multiline-chart/index.d.ts +11 -0
- package/icons/multiline-chart/index.js +4 -0
- package/icons/next-plan/index.d.ts +11 -0
- package/icons/next-plan/index.js +4 -0
- package/icons/next-week/index.d.ts +11 -0
- package/icons/next-week/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/notes/index.js +1 -1
- 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/outlined-flag/index.d.ts +11 -0
- package/icons/outlined-flag/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/pie-chart/index.d.ts +11 -0
- package/icons/pie-chart/index.js +4 -0
- package/icons/pie-chart-outline/index.d.ts +11 -0
- package/icons/pie-chart-outline/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.d.ts +11 -0
- package/icons/policy/index.js +4 -0
- package/icons/polymer/index.d.ts +11 -0
- package/icons/polymer/index.js +4 -0
- package/icons/post-add/index.d.ts +11 -0
- package/icons/post-add/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/publish/index.d.ts +11 -0
- package/icons/publish/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/push-pin/index.d.ts +11 -0
- package/icons/push-pin/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/redo/index.d.ts +11 -0
- package/icons/redo/index.js +4 -0
- package/icons/remove/index.d.ts +11 -0
- package/icons/remove/index.js +4 -0
- package/icons/remove-circle/index.d.ts +11 -0
- package/icons/remove-circle/index.js +4 -0
- package/icons/remove-circle-outline/index.d.ts +11 -0
- package/icons/remove-circle-outline/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/reply-all/index.d.ts +11 -0
- package/icons/reply-all/index.js +4 -0
- package/icons/report/index.d.ts +11 -0
- package/icons/report/index.js +4 -0
- package/icons/report-off/index.d.ts +11 -0
- package/icons/report-off/index.js +4 -0
- package/icons/report-outline/index.d.ts +11 -0
- package/icons/report-outline/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/save/index.d.ts +11 -0
- package/icons/save/index.js +4 -0
- package/icons/save-alt/index.d.ts +11 -0
- package/icons/save-alt/index.js +4 -0
- package/icons/scatter-plot/index.d.ts +11 -0
- package/icons/scatter-plot/index.js +4 -0
- package/icons/schedule/index.d.ts +11 -0
- package/icons/schedule/index.js +4 -0
- package/icons/score/index.d.ts +11 -0
- package/icons/score/index.js +4 -0
- package/icons/search-off/index.d.ts +11 -0
- package/icons/search-off/index.js +4 -0
- package/icons/select-all/index.d.ts +11 -0
- package/icons/select-all/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/short-text/index.d.ts +11 -0
- package/icons/short-text/index.js +4 -0
- package/icons/show-chart/index.d.ts +11 -0
- package/icons/show-chart/index.js +4 -0
- package/icons/smart-button/index.d.ts +11 -0
- package/icons/smart-button/index.js +4 -0
- package/icons/smart-toy/index.d.ts +11 -0
- package/icons/smart-toy/index.js +4 -0
- package/icons/sort/index.d.ts +11 -0
- package/icons/sort/index.js +4 -0
- package/icons/source/index.d.ts +11 -0
- package/icons/source/index.js +4 -0
- package/icons/space-bar/index.d.ts +11 -0
- package/icons/space-bar/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/square-foot/index.d.ts +11 -0
- package/icons/square-foot/index.js +4 -0
- package/icons/stacked-line-chart/index.d.ts +11 -0
- package/icons/stacked-line-chart/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/strikethrough-s/index.d.ts +11 -0
- package/icons/strikethrough-s/index.js +4 -0
- package/icons/subject/index.d.ts +11 -0
- package/icons/subject/index.js +4 -0
- package/icons/subscript/index.d.ts +11 -0
- package/icons/subscript/index.js +4 -0
- package/icons/subtitles-off/index.d.ts +11 -0
- package/icons/subtitles-off/index.js +4 -0
- package/icons/superscript/index.d.ts +11 -0
- package/icons/superscript/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-chart/index.d.ts +11 -0
- package/icons/table-chart/index.js +4 -0
- package/icons/table-rows/index.d.ts +11 -0
- package/icons/table-rows/index.js +4 -0
- package/icons/table-view/index.d.ts +11 -0
- package/icons/table-view/index.js +4 -0
- package/icons/text-fields/index.d.ts +11 -0
- package/icons/text-fields/index.js +4 -0
- package/icons/text-format/index.d.ts +11 -0
- package/icons/text-format/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/title/index.d.ts +11 -0
- package/icons/title/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/unarchive/index.d.ts +11 -0
- package/icons/unarchive/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-align-bottom/index.d.ts +11 -0
- package/icons/vertical-align-bottom/index.js +4 -0
- package/icons/vertical-align-center/index.d.ts +11 -0
- package/icons/vertical-align-center/index.js +4 -0
- package/icons/vertical-align-top/index.d.ts +11 -0
- package/icons/vertical-align-top/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/waves/index.d.ts +11 -0
- package/icons/waves/index.js +4 -0
- package/icons/weekend/index.d.ts +11 -0
- package/icons/weekend/index.js +4 -0
- package/icons/where-to-vote/index.d.ts +11 -0
- package/icons/where-to-vote/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/wrap-text/index.d.ts +11 -0
- package/icons/wrap-text/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 +540 -87
- package/index.js +541 -88
- package/package.json +1 -1
- package/popover/index.js +29 -19
- package/radio/index.js +18 -17
- package/search/index.js +43 -48
- package/search-option/index.d.ts +1 -1
- package/search-option/index.js +4 -4
- package/segment/index.d.ts +2 -1
- package/segment/index.js +16 -3
- package/segment-collapse/index.d.ts +1 -0
- package/segment-collapse/index.js +19 -3
- package/segmented-control/index.d.ts +5 -5
- 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.d.ts +22 -0
- package/segmented-icon-control/index.js +130 -0
- package/segmented-icon-control-option/index.d.ts +26 -0
- package/segmented-icon-control-option/index.js +94 -0
- 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/package.json
CHANGED
package/popover/index.js
CHANGED
|
@@ -12,11 +12,12 @@ function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollect
|
|
|
12
12
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
|
13
13
|
|
|
14
14
|
import dialogPolyfill from 'dialog-polyfill';
|
|
15
|
-
import { defineCustomElement, getBooleanAttribute, getLiteralAttribute, getRect, isAttrTrue, updateLiteralAttribute, getReactEventHandler, updateBooleanAttribute, NectaryElement } from '../utils';
|
|
16
|
-
const templateHTML = '<style>:host{display:inline-block;vertical-align:middle;outline:0}#wrapper{position:relative}dialog{outline:0;font:var(--sinch-font-body);color:var(--sinch-color-text-default);background-color:var(--sinch-color-snow-100);box-shadow:1px 2px 6px rgba(0,0,0,.15);border:1px solid var(--sinch-color-snow-500);border-radius:4px;
|
|
15
|
+
import { defineCustomElement, getBooleanAttribute, getLiteralAttribute, getRect, isAttrTrue, updateLiteralAttribute, getReactEventHandler, updateBooleanAttribute, NectaryElement, getCssVar } from '../utils';
|
|
16
|
+
const templateHTML = '<style>:host{display:inline-block;vertical-align:middle;outline:0}#wrapper{position:relative}dialog{position:fixed;left:0;right:0;margin:auto;outline:0;font:var(--sinch-font-body);color:var(--sinch-color-text-default);background-color:var(--sinch-color-snow-100);box-shadow:1px 2px 6px rgba(0,0,0,.15);border:1px solid var(--sinch-color-snow-500);border-radius:4px;contain:content;padding:0;box-sizing:border-box}dialog:not([open]){display:none}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}#target{display:flex;flex-direction:column}</style><div id="wrapper"><div id="target" aria-haspopup="dialog" aria-expanded="false"><slot name="target"></slot></div><dialog id="dialog" tabindex="-1"><slot name="content"></slot></dialog></div>';
|
|
17
17
|
const orientationValues = ['top-left', 'top-right', 'bottom-left', 'bottom-right'];
|
|
18
18
|
const template = document.createElement('template');
|
|
19
19
|
template.innerHTML = templateHTML;
|
|
20
|
+
const POPOVER_VERTICAL_OFFSET = 4;
|
|
20
21
|
defineCustomElement('sinch-popover', (_$target = new WeakMap(), _$dialog = new WeakMap(), _isConnected = new WeakMap(), _onExpand = new WeakSet(), _onCollapse = new WeakSet(), _isOpen = new WeakSet(), _updateOrientation = new WeakSet(), _onBackdropClick = new WeakMap(), _onCancel = new WeakMap(), _onCloseReactHandler = new WeakMap(), _dispatchCloseEvent = new WeakSet(), class extends NectaryElement {
|
|
21
22
|
constructor() {
|
|
22
23
|
super();
|
|
@@ -165,21 +166,28 @@ defineCustomElement('sinch-popover', (_$target = new WeakMap(), _$dialog = new W
|
|
|
165
166
|
}));
|
|
166
167
|
|
|
167
168
|
function _onExpand2() {
|
|
169
|
+
if (_classPrivateMethodGet(this, _isOpen, _isOpen2).call(this)) {
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
|
|
168
173
|
_classPrivateFieldGet(this, _$target).setAttribute('aria-expanded', 'true');
|
|
169
174
|
|
|
170
|
-
|
|
171
|
-
_classPrivateFieldGet(this, _$dialog).showModal();
|
|
172
|
-
}
|
|
175
|
+
_classPrivateFieldGet(this, _$dialog).showModal();
|
|
173
176
|
|
|
174
177
|
_classPrivateMethodGet(this, _updateOrientation, _updateOrientation2).call(this);
|
|
178
|
+
|
|
179
|
+
document.body.style.overflow = 'hidden';
|
|
175
180
|
}
|
|
176
181
|
|
|
177
182
|
function _onCollapse2() {
|
|
183
|
+
if (!_classPrivateMethodGet(this, _isOpen, _isOpen2).call(this)) {
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
186
|
+
|
|
178
187
|
_classPrivateFieldGet(this, _$target).setAttribute('aria-expanded', 'false');
|
|
179
188
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
}
|
|
189
|
+
_classPrivateFieldGet(this, _$dialog).close?.();
|
|
190
|
+
document.body.style.overflow = '';
|
|
183
191
|
}
|
|
184
192
|
|
|
185
193
|
function _isOpen2() {
|
|
@@ -187,37 +195,39 @@ function _isOpen2() {
|
|
|
187
195
|
}
|
|
188
196
|
|
|
189
197
|
function _updateOrientation2() {
|
|
190
|
-
_classPrivateFieldGet(this, _$dialog).style.transform =
|
|
191
|
-
_classPrivateFieldGet(this, _$dialog).style.width =
|
|
198
|
+
_classPrivateFieldGet(this, _$dialog).style.transform = 'initial';
|
|
199
|
+
_classPrivateFieldGet(this, _$dialog).style.width = 'fit-content';
|
|
192
200
|
|
|
193
|
-
const
|
|
201
|
+
const targetRect = _classPrivateFieldGet(this, _$target).getBoundingClientRect();
|
|
194
202
|
|
|
195
203
|
const modalRect = _classPrivateFieldGet(this, _$dialog).getBoundingClientRect();
|
|
196
204
|
|
|
197
|
-
const width = Math.max(modalRect.width, buttonRect.width);
|
|
198
|
-
const widthDiff = Math.max(buttonRect.width - modalRect.width, 0);
|
|
199
205
|
let leftOffset = 0;
|
|
200
206
|
let topOffset = 0;
|
|
201
207
|
const orient = this.orientation;
|
|
208
|
+
const shouldExpandWidthToTarget = getCssVar(this, '--sinch-popover-expand-width') !== null;
|
|
209
|
+
const largestWidth = Math.max(modalRect.width, targetRect.width);
|
|
210
|
+
const widthDiff = shouldExpandWidthToTarget ? Math.max(largestWidth - modalRect.width, 0) * 0.5 : 0;
|
|
211
|
+
const resultWidth = shouldExpandWidthToTarget ? largestWidth : modalRect.width;
|
|
202
212
|
|
|
203
213
|
if (orient === 'bottom-right' || orient === 'top-right') {
|
|
204
|
-
leftOffset = Math.min(modalRect.x, Math.max(-modalRect.x,
|
|
214
|
+
leftOffset = Math.min(modalRect.x, Math.max(-modalRect.x, targetRect.x - modalRect.x) + widthDiff);
|
|
205
215
|
}
|
|
206
216
|
|
|
207
217
|
if (orient === 'bottom-left' || orient === 'top-left') {
|
|
208
|
-
leftOffset = Math.min(modalRect.x, Math.max(-modalRect.x,
|
|
218
|
+
leftOffset = Math.min(modalRect.x, Math.max(-modalRect.x, targetRect.x + targetRect.width - modalRect.x - modalRect.width) - widthDiff);
|
|
209
219
|
}
|
|
210
220
|
|
|
211
221
|
if (orient === 'bottom-left' || orient === 'bottom-right') {
|
|
212
|
-
topOffset = Math.min(modalRect.y, Math.max(-modalRect.y,
|
|
222
|
+
topOffset = Math.min(modalRect.y, Math.max(-modalRect.y, targetRect.y + targetRect.height - modalRect.y + POPOVER_VERTICAL_OFFSET));
|
|
213
223
|
}
|
|
214
224
|
|
|
215
225
|
if (orient === 'top-left' || orient === 'top-right') {
|
|
216
|
-
topOffset = Math.min(modalRect.y, Math.max(-modalRect.y,
|
|
226
|
+
topOffset = Math.min(modalRect.y, Math.max(-modalRect.y, targetRect.y - modalRect.y - modalRect.height - POPOVER_VERTICAL_OFFSET));
|
|
217
227
|
}
|
|
218
228
|
|
|
219
|
-
_classPrivateFieldGet(this, _$dialog).style.transform = `
|
|
220
|
-
_classPrivateFieldGet(this, _$dialog).style.width = `${
|
|
229
|
+
_classPrivateFieldGet(this, _$dialog).style.transform = `translate(${leftOffset}px, ${topOffset}px)`;
|
|
230
|
+
_classPrivateFieldGet(this, _$dialog).style.width = `${resultWidth}px`;
|
|
221
231
|
}
|
|
222
232
|
|
|
223
233
|
function _dispatchCloseEvent2() {
|
package/radio/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _classPrivateFieldSet from '@babel/runtime/helpers/classPrivateFieldSet';
|
|
2
2
|
import _classPrivateFieldGet from '@babel/runtime/helpers/classPrivateFieldGet';
|
|
3
3
|
|
|
4
|
-
var _$slot, _onOptionKeyDown, _onSlotChange, _onOptionChange, _onValueChange, _dispatchChangeEvent, _getFirstOption, _getLastOption, _getNextOption, _getPrevOption, _getEnabledRadioElements;
|
|
4
|
+
var _$slot, _onOptionKeyDown, _onSlotChange, _onOptionChange, _onValueChange, _dispatchChangeEvent, _getFirstOption, _getLastOption, _getNextOption, _getPrevOption, _getEnabledRadioElements, _findSelectedOption;
|
|
5
5
|
|
|
6
6
|
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
|
7
7
|
|
|
@@ -11,20 +11,16 @@ 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
|
-
import { defineCustomElement, getAttribute, NectaryElement, updateAttribute } from '../utils';
|
|
14
|
+
import { defineCustomElement, getAttribute, getBooleanAttribute, NectaryElement, updateAttribute, updateBooleanAttribute } from '../utils';
|
|
16
15
|
const templateHTML = '<style>:host{display:block}#wrapper{display:flex;flex-direction:column;gap:8px;box-sizing:border-box;width:100%}</style><div id="wrapper"><slot></slot></div>';
|
|
17
|
-
|
|
18
|
-
const findSelectedOption = elements => {
|
|
19
|
-
return elements.find(el => el.checked) ?? null;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
16
|
const template = document.createElement('template');
|
|
23
17
|
template.innerHTML = templateHTML;
|
|
24
|
-
defineCustomElement('sinch-radio', (_$slot = new WeakMap(), _onOptionKeyDown = new WeakMap(), _onSlotChange = new WeakMap(), _onOptionChange = new WeakMap(), _onValueChange = new WeakSet(), _dispatchChangeEvent = new WeakSet(), _getFirstOption = new WeakSet(), _getLastOption = new WeakSet(), _getNextOption = new WeakSet(), _getPrevOption = new WeakSet(), _getEnabledRadioElements = new WeakSet(), class extends NectaryElement {
|
|
18
|
+
defineCustomElement('sinch-radio', (_$slot = new WeakMap(), _onOptionKeyDown = new WeakMap(), _onSlotChange = new WeakMap(), _onOptionChange = new WeakMap(), _onValueChange = new WeakSet(), _dispatchChangeEvent = new WeakSet(), _getFirstOption = new WeakSet(), _getLastOption = new WeakSet(), _getNextOption = new WeakSet(), _getPrevOption = new WeakSet(), _getEnabledRadioElements = new WeakSet(), _findSelectedOption = new WeakSet(), class extends NectaryElement {
|
|
25
19
|
constructor() {
|
|
26
20
|
super();
|
|
27
21
|
|
|
22
|
+
_classPrivateMethodInitSpec(this, _findSelectedOption);
|
|
23
|
+
|
|
28
24
|
_classPrivateMethodInitSpec(this, _getEnabledRadioElements);
|
|
29
25
|
|
|
30
26
|
_classPrivateMethodInitSpec(this, _getPrevOption);
|
|
@@ -144,9 +140,8 @@ defineCustomElement('sinch-radio', (_$slot = new WeakMap(), _onOptionKeyDown = n
|
|
|
144
140
|
|
|
145
141
|
function _onValueChange2(value) {
|
|
146
142
|
for (const $option of _classPrivateFieldGet(this, _$slot).assignedElements()) {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
143
|
+
const isChecked = !getBooleanAttribute($option, 'disabled') && value === getAttribute($option, 'value', '');
|
|
144
|
+
updateBooleanAttribute($option, 'checked', isChecked);
|
|
150
145
|
}
|
|
151
146
|
}
|
|
152
147
|
|
|
@@ -159,7 +154,7 @@ function _dispatchChangeEvent2(value) {
|
|
|
159
154
|
|
|
160
155
|
function _getFirstOption2() {
|
|
161
156
|
for (const $option of _classPrivateFieldGet(this, _$slot).assignedElements()) {
|
|
162
|
-
if (
|
|
157
|
+
if ($option.disabled !== true) {
|
|
163
158
|
return $option;
|
|
164
159
|
}
|
|
165
160
|
}
|
|
@@ -169,7 +164,7 @@ function _getFirstOption2() {
|
|
|
169
164
|
|
|
170
165
|
function _getLastOption2() {
|
|
171
166
|
for (const $option of _classPrivateFieldGet(this, _$slot).assignedElements().reverse()) {
|
|
172
|
-
if (
|
|
167
|
+
if ($option.disabled !== true) {
|
|
173
168
|
return $option;
|
|
174
169
|
}
|
|
175
170
|
}
|
|
@@ -180,7 +175,8 @@ function _getLastOption2() {
|
|
|
180
175
|
function _getNextOption2() {
|
|
181
176
|
const $options = _classPrivateMethodGet(this, _getEnabledRadioElements, _getEnabledRadioElements2).call(this);
|
|
182
177
|
|
|
183
|
-
const $selectedOption =
|
|
178
|
+
const $selectedOption = _classPrivateMethodGet(this, _findSelectedOption, _findSelectedOption2).call(this, $options);
|
|
179
|
+
|
|
184
180
|
const currentIndex = $selectedOption !== null ? $options.indexOf($selectedOption) : -1;
|
|
185
181
|
|
|
186
182
|
if (currentIndex < 0) {
|
|
@@ -193,7 +189,8 @@ function _getNextOption2() {
|
|
|
193
189
|
function _getPrevOption2() {
|
|
194
190
|
const $options = _classPrivateMethodGet(this, _getEnabledRadioElements, _getEnabledRadioElements2).call(this);
|
|
195
191
|
|
|
196
|
-
const $selectedOption =
|
|
192
|
+
const $selectedOption = _classPrivateMethodGet(this, _findSelectedOption, _findSelectedOption2).call(this, $options);
|
|
193
|
+
|
|
197
194
|
const currentIndex = $selectedOption !== null ? $options.indexOf($selectedOption) : -1;
|
|
198
195
|
|
|
199
196
|
if (currentIndex < 0) {
|
|
@@ -204,5 +201,9 @@ function _getPrevOption2() {
|
|
|
204
201
|
}
|
|
205
202
|
|
|
206
203
|
function _getEnabledRadioElements2() {
|
|
207
|
-
return _classPrivateFieldGet(this, _$slot).assignedElements().filter(
|
|
204
|
+
return _classPrivateFieldGet(this, _$slot).assignedElements().filter(el => el.disabled !== true);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
function _findSelectedOption2(elements) {
|
|
208
|
+
return elements.find(el => el.checked) ?? null;
|
|
208
209
|
}
|
package/search/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 _$label, _$input, _selectionStart, _selectionEnd, _$optionSlot, _$listbox, _$clear, _isPendingDk, _sh, _onCompositionStart, _onInput, _onValueChange, _onClearMouseDown, _onClear, _onInputFocus, _onInputBlur, _onListboxClick, _onListboxKeyUp, _onListboxKeyDown, _onOptionSlotChange, _onExpand, _onCollapse,
|
|
4
|
+
var _$label, _$input, _selectionStart, _selectionEnd, _$optionSlot, _$listbox, _$clear, _isPendingDk, _sh, _onCompositionStart, _onInput, _onValueChange, _onClearMouseDown, _onClear, _onInputFocus, _onInputBlur, _onListboxClick, _onListboxKeyUp, _onListboxKeyDown, _onOptionSlotChange, _onExpand, _onCollapse, _getFirstOption, _getLastOption, _getNextOption, _getPrevOption, _selectOption, _findSelectedOption;
|
|
5
5
|
|
|
6
6
|
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
|
7
7
|
|
|
@@ -11,31 +11,19 @@ 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 { isSearchOptionElement } from '../search-option';
|
|
15
14
|
import { attrValueToPixels, defineCustomElement, getAttribute, getBooleanAttribute, getIntegerAttribute, getRect, NectaryElement, updateAttribute, updateIntegerAttribute } from '../utils';
|
|
16
15
|
const templateHTML = '<style>:host{display:inline-block;vertical-align:middle;outline:0}#wrapper{position:relative;width:100%;box-sizing:border-box;--sinch-size-icon:24px}#label{display:none;font:var(--sinch-font-title-s);color:var(--sinch-color-text-default);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;height:24px;margin-bottom:2px}#input{all:initial;display:block;border:1px solid var(--sinch-color-stormy-200);box-sizing:border-box;border-radius:4px;width:100%;height:48px;padding:0 44px;padding-right:12px;font:var(--sinch-font-body);color:var(--sinch-color-text-default);caret-color:var(--sinch-caret-color,auto);background-color:var(--sinch-color-snow-100)}#input::placeholder{font:var(--sinch-font-body);color:var(--sinch-color-text-muted)}#input:focus{border-color:var(--sinch-color-stormy-600)}#icon-search{position:absolute;left:12px;top:12px;pointer-events:none;--sinch-color-icon:var(--sinch-color-stormy-500)}#clear{position:absolute;right:8px;top:8px;display:none;--sinch-color-icon:red}#clear:focus{--sinch-color-icon:var(--sinch-color-stormy-500)}:host([value]:not([value=""])) #clear{display:flex}:host([value]:not([value=""])) #input{padding-right:44px}#listbox{display:none;position:absolute;z-index:1;left:0;top:calc(100% + 8px);width:100%;box-sizing:border-box;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}:host([aria-expanded=true]) #listbox{display:block}:host([label]:not([label=""])) #label{display:block}</style><label id="label" for="input"></label><div id="wrapper"><input id="input" type="text"/><sinch-icon-search id="icon-search"></sinch-icon-search><sinch-icon-button id="clear" small><sinch-icon-close id="icon-close" slot="icon"></sinch-icon-close></sinch-icon-button><div id="listbox"><slot name="option"></slot></div></div>';
|
|
17
16
|
import '../icons/search';
|
|
18
17
|
import '../icons/close';
|
|
19
18
|
import '../icon-button';
|
|
20
19
|
const ITEM_HEIGHT = 40;
|
|
21
|
-
|
|
22
|
-
const findSelectedOption = elements => {
|
|
23
|
-
for (const el of elements) {
|
|
24
|
-
if (el.selected) {
|
|
25
|
-
return el;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
return null;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
20
|
const template = document.createElement('template');
|
|
33
21
|
template.innerHTML = templateHTML;
|
|
34
|
-
defineCustomElement('sinch-search', (_$label = new WeakMap(), _$input = new WeakMap(), _selectionStart = new WeakMap(), _selectionEnd = new WeakMap(), _$optionSlot = new WeakMap(), _$listbox = new WeakMap(), _$clear = new WeakMap(), _isPendingDk = new WeakMap(), _sh = new WeakMap(), _onCompositionStart = new WeakMap(), _onInput = new WeakMap(), _onValueChange = new WeakSet(), _onClearMouseDown = new WeakMap(), _onClear = new WeakMap(), _onInputFocus = new WeakMap(), _onInputBlur = new WeakMap(), _onListboxClick = new WeakMap(), _onListboxKeyUp = new WeakMap(), _onListboxKeyDown = new WeakMap(), _onOptionSlotChange = new WeakMap(), _onExpand = new WeakSet(), _onCollapse = new WeakSet(),
|
|
22
|
+
defineCustomElement('sinch-search', (_$label = new WeakMap(), _$input = new WeakMap(), _selectionStart = new WeakMap(), _selectionEnd = new WeakMap(), _$optionSlot = new WeakMap(), _$listbox = new WeakMap(), _$clear = new WeakMap(), _isPendingDk = new WeakMap(), _sh = new WeakMap(), _onCompositionStart = new WeakMap(), _onInput = new WeakMap(), _onValueChange = new WeakSet(), _onClearMouseDown = new WeakMap(), _onClear = new WeakMap(), _onInputFocus = new WeakMap(), _onInputBlur = new WeakMap(), _onListboxClick = new WeakMap(), _onListboxKeyUp = new WeakMap(), _onListboxKeyDown = new WeakMap(), _onOptionSlotChange = new WeakMap(), _onExpand = new WeakSet(), _onCollapse = new WeakSet(), _getFirstOption = new WeakSet(), _getLastOption = new WeakSet(), _getNextOption = new WeakSet(), _getPrevOption = new WeakSet(), _selectOption = new WeakSet(), _findSelectedOption = new WeakSet(), class extends NectaryElement {
|
|
35
23
|
constructor() {
|
|
36
24
|
super();
|
|
37
25
|
|
|
38
|
-
_classPrivateMethodInitSpec(this,
|
|
26
|
+
_classPrivateMethodInitSpec(this, _findSelectedOption);
|
|
39
27
|
|
|
40
28
|
_classPrivateMethodInitSpec(this, _selectOption);
|
|
41
29
|
|
|
@@ -47,10 +35,6 @@ defineCustomElement('sinch-search', (_$label = new WeakMap(), _$input = new Weak
|
|
|
47
35
|
|
|
48
36
|
_classPrivateMethodInitSpec(this, _getFirstOption);
|
|
49
37
|
|
|
50
|
-
_classPrivateMethodInitSpec(this, _isOpen);
|
|
51
|
-
|
|
52
|
-
_classPrivateMethodInitSpec(this, _setOpen);
|
|
53
|
-
|
|
54
38
|
_classPrivateMethodInitSpec(this, _onCollapse);
|
|
55
39
|
|
|
56
40
|
_classPrivateMethodInitSpec(this, _onExpand);
|
|
@@ -156,9 +140,7 @@ defineCustomElement('sinch-search', (_$label = new WeakMap(), _$input = new Weak
|
|
|
156
140
|
e.stopPropagation();
|
|
157
141
|
const $elem = e.target;
|
|
158
142
|
|
|
159
|
-
|
|
160
|
-
_classPrivateMethodGet(this, _onValueChange, _onValueChange2).call(this, $elem.text);
|
|
161
|
-
}
|
|
143
|
+
_classPrivateMethodGet(this, _onValueChange, _onValueChange2).call(this, $elem.text);
|
|
162
144
|
|
|
163
145
|
_classPrivateMethodGet(this, _onCollapse, _onCollapse2).call(this);
|
|
164
146
|
}
|
|
@@ -171,10 +153,11 @@ defineCustomElement('sinch-search', (_$label = new WeakMap(), _$input = new Weak
|
|
|
171
153
|
case 'Enter':
|
|
172
154
|
{
|
|
173
155
|
e.preventDefault();
|
|
174
|
-
const $elem = findSelectedOption(_classPrivateMethodGet(this, _getOptionElements, _getOptionElements2).call(this));
|
|
175
156
|
|
|
176
|
-
|
|
177
|
-
|
|
157
|
+
const $opt = _classPrivateMethodGet(this, _findSelectedOption, _findSelectedOption2).call(this);
|
|
158
|
+
|
|
159
|
+
if ($opt != null) {
|
|
160
|
+
_classPrivateMethodGet(this, _onValueChange, _onValueChange2).call(this, $opt.text);
|
|
178
161
|
}
|
|
179
162
|
|
|
180
163
|
_classPrivateMethodGet(this, _onCollapse, _onCollapse2).call(this);
|
|
@@ -191,6 +174,9 @@ defineCustomElement('sinch-search', (_$label = new WeakMap(), _$input = new Weak
|
|
|
191
174
|
switch (e.code) {
|
|
192
175
|
case 'ArrowUp':
|
|
193
176
|
{
|
|
177
|
+
e.preventDefault();
|
|
178
|
+
e.stopPropagation();
|
|
179
|
+
|
|
194
180
|
_classPrivateMethodGet(this, _selectOption, _selectOption2).call(this, _classPrivateMethodGet(this, _getPrevOption, _getPrevOption2).call(this));
|
|
195
181
|
|
|
196
182
|
break;
|
|
@@ -198,6 +184,9 @@ defineCustomElement('sinch-search', (_$label = new WeakMap(), _$input = new Weak
|
|
|
198
184
|
|
|
199
185
|
case 'ArrowDown':
|
|
200
186
|
{
|
|
187
|
+
e.preventDefault();
|
|
188
|
+
e.stopPropagation();
|
|
189
|
+
|
|
201
190
|
_classPrivateMethodGet(this, _selectOption, _selectOption2).call(this, _classPrivateMethodGet(this, _getNextOption, _getNextOption2).call(this));
|
|
202
191
|
|
|
203
192
|
break;
|
|
@@ -218,9 +207,9 @@ defineCustomElement('sinch-search', (_$label = new WeakMap(), _$input = new Weak
|
|
|
218
207
|
_classPrivateFieldInitSpec(this, _onOptionSlotChange, {
|
|
219
208
|
writable: true,
|
|
220
209
|
value: () => {
|
|
221
|
-
const
|
|
210
|
+
const $opts = _classPrivateFieldGet(this, _$optionSlot).assignedElements();
|
|
222
211
|
|
|
223
|
-
if (
|
|
212
|
+
if ($opts.length === 0) {
|
|
224
213
|
return _classPrivateMethodGet(this, _onCollapse, _onCollapse2).call(this);
|
|
225
214
|
}
|
|
226
215
|
|
|
@@ -457,37 +446,36 @@ function _onValueChange2(nextValue) {
|
|
|
457
446
|
}
|
|
458
447
|
|
|
459
448
|
function _onExpand2() {
|
|
460
|
-
|
|
461
|
-
_classPrivateMethodGet(this, _selectOption, _selectOption2).call(this, _classPrivateMethodGet(this, _getFirstOption, _getFirstOption2).call(this));
|
|
449
|
+
const isOpen = getBooleanAttribute(this, 'aria-expanded');
|
|
462
450
|
|
|
463
|
-
|
|
464
|
-
}
|
|
465
|
-
}
|
|
451
|
+
const $opts = _classPrivateFieldGet(this, _$optionSlot).assignedElements();
|
|
466
452
|
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
}
|
|
453
|
+
if (!isOpen && $opts.length > 0 && _classPrivateFieldGet(this, _sh).activeElement === _classPrivateFieldGet(this, _$input)) {
|
|
454
|
+
const opt = _classPrivateMethodGet(this, _getFirstOption, _getFirstOption2).call(this);
|
|
470
455
|
|
|
471
|
-
|
|
472
|
-
|
|
456
|
+
_classPrivateMethodGet(this, _selectOption, _selectOption2).call(this, opt);
|
|
457
|
+
|
|
458
|
+
this.setAttribute('aria-expanded', 'true');
|
|
459
|
+
}
|
|
473
460
|
}
|
|
474
461
|
|
|
475
|
-
function
|
|
476
|
-
|
|
462
|
+
function _onCollapse2() {
|
|
463
|
+
this.setAttribute('aria-expanded', 'false');
|
|
477
464
|
}
|
|
478
465
|
|
|
479
466
|
function _getFirstOption2() {
|
|
480
|
-
return
|
|
467
|
+
return _classPrivateFieldGet(this, _$optionSlot).assignedElements()[0] ?? null;
|
|
481
468
|
}
|
|
482
469
|
|
|
483
470
|
function _getLastOption2() {
|
|
484
|
-
return
|
|
471
|
+
return _classPrivateFieldGet(this, _$optionSlot).assignedElements().reverse()[0] ?? null;
|
|
485
472
|
}
|
|
486
473
|
|
|
487
474
|
function _getNextOption2() {
|
|
488
|
-
const $options =
|
|
475
|
+
const $options = _classPrivateFieldGet(this, _$optionSlot).assignedElements();
|
|
476
|
+
|
|
477
|
+
const $selectedOption = _classPrivateMethodGet(this, _findSelectedOption, _findSelectedOption2).call(this);
|
|
489
478
|
|
|
490
|
-
const $selectedOption = findSelectedOption($options);
|
|
491
479
|
const currentIndex = $selectedOption !== null ? $options.indexOf($selectedOption) : -1;
|
|
492
480
|
|
|
493
481
|
if (currentIndex < 0) {
|
|
@@ -498,9 +486,10 @@ function _getNextOption2() {
|
|
|
498
486
|
}
|
|
499
487
|
|
|
500
488
|
function _getPrevOption2() {
|
|
501
|
-
const $options =
|
|
489
|
+
const $options = _classPrivateFieldGet(this, _$optionSlot).assignedElements();
|
|
490
|
+
|
|
491
|
+
const $selectedOption = _classPrivateMethodGet(this, _findSelectedOption, _findSelectedOption2).call(this);
|
|
502
492
|
|
|
503
|
-
const $selectedOption = findSelectedOption($options);
|
|
504
493
|
const currentIndex = $selectedOption !== null ? $options.indexOf($selectedOption) : -1;
|
|
505
494
|
|
|
506
495
|
if (currentIndex < 0) {
|
|
@@ -511,7 +500,7 @@ function _getPrevOption2() {
|
|
|
511
500
|
}
|
|
512
501
|
|
|
513
502
|
function _selectOption2($option) {
|
|
514
|
-
for (const $op of
|
|
503
|
+
for (const $op of _classPrivateFieldGet(this, _$optionSlot).assignedElements()) {
|
|
515
504
|
const isSelected = $op === $option;
|
|
516
505
|
$op.selected = isSelected;
|
|
517
506
|
|
|
@@ -523,6 +512,12 @@ function _selectOption2($option) {
|
|
|
523
512
|
}
|
|
524
513
|
}
|
|
525
514
|
|
|
526
|
-
function
|
|
527
|
-
|
|
515
|
+
function _findSelectedOption2() {
|
|
516
|
+
for (const $option of _classPrivateFieldGet(this, _$optionSlot).assignedElements()) {
|
|
517
|
+
if ($option.selected) {
|
|
518
|
+
return $option;
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
return null;
|
|
528
523
|
}
|
package/search-option/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TSinchElementReact } from '../types';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const isSinchSearchOptionElement: (element: EventTarget | Element | null) => element is TSinchSearchOptionElement;
|
|
3
3
|
export declare type TSinchSearchOptionElement = HTMLElement & {
|
|
4
4
|
text: string;
|
|
5
5
|
selected: boolean;
|
package/search-option/index.js
CHANGED
|
@@ -12,7 +12,7 @@ template.innerHTML = templateHTML;
|
|
|
12
12
|
|
|
13
13
|
var _$content = new WeakMap();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class SinchSearchOption extends NectaryElement {
|
|
16
16
|
constructor() {
|
|
17
17
|
super();
|
|
18
18
|
|
|
@@ -68,7 +68,7 @@ class SearchOption extends NectaryElement {
|
|
|
68
68
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
defineCustomElement('sinch-search-option',
|
|
72
|
-
export const
|
|
73
|
-
return element instanceof
|
|
71
|
+
defineCustomElement('sinch-search-option', SinchSearchOption);
|
|
72
|
+
export const isSinchSearchOptionElement = element => {
|
|
73
|
+
return element instanceof SinchSearchOption;
|
|
74
74
|
};
|
package/segment/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type { TSinchElementReact } from '../types';
|
|
1
|
+
import type { TRect, TSinchElementReact } from '../types';
|
|
2
2
|
declare type TSinchSegmentElement = HTMLElement & {
|
|
3
3
|
caption: string;
|
|
4
4
|
collapsed: boolean;
|
|
5
|
+
readonly collapseButtonRect: TRect | null;
|
|
5
6
|
};
|
|
6
7
|
declare type TSinchSegmentReact = TSinchElementReact<TSinchSegmentElement> & {
|
|
7
8
|
caption: string;
|
package/segment/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import _classPrivateFieldGet from '@babel/runtime/helpers/classPrivateFieldGet';
|
|
2
2
|
import _classPrivateFieldSet from '@babel/runtime/helpers/classPrivateFieldSet';
|
|
3
3
|
|
|
4
|
-
var _$caption;
|
|
4
|
+
var _$caption, _$collapseSlot;
|
|
5
5
|
|
|
6
6
|
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
|
7
7
|
|
|
8
8
|
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
9
9
|
|
|
10
|
-
import { defineCustomElement, getAttribute, getBooleanAttribute, NectaryElement, updateAttribute, updateBooleanAttribute } from '../utils';
|
|
10
|
+
import { defineCustomElement, getAttribute, getBooleanAttribute, getRect, NectaryElement, updateAttribute, updateBooleanAttribute } from '../utils';
|
|
11
11
|
const templateHTML = '<style>:host{display:block}#wrapper{display:flex;flex-direction:column;width:100%;height:100%;border-radius:4px;box-sizing:border-box;background-color:var(--sinch-color-snow-100);color:var(--sinch-color-text-default);font:var(--sinch-font-body);border:none;box-shadow:1px 2px 8px rgba(0,0,0,.1)}#header{position:relative;display:flex;flex-direction:row;align-items:center;gap:16px;height:32px;padding:24px 32px 16px;--sinch-size-icon:32px}#caption{font:var(--sinch-font-title-l);color:var(--sinch-color-text-default);flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#content-wrapper{padding:0 32px;flex:1;min-height:0;overflow:auto}#action{display:flex;flex-direction:row;justify-content:flex-end;gap:16px;padding:16px 32px 24px}#info{position:relative;display:flex;flex-direction:row;align-items:center;gap:16px;z-index:1}:host([collapsed]:not([collapsed=false])) :is(#content-wrapper,#action){display:none}:host([collapsed]:not([collapsed=false])) #header{padding-bottom:24px}</style><div id="wrapper"><div id="header"><slot name="icon"></slot><span id="caption"></span><div id="info"><slot name="info"></slot></div><slot name="collapse"></slot></div><div id="content-wrapper"><slot name="content"></slot></div><div id="action"><slot name="action"></slot></div></div>';
|
|
12
12
|
const template = document.createElement('template');
|
|
13
13
|
template.innerHTML = templateHTML;
|
|
14
|
-
defineCustomElement('sinch-segment', (_$caption = new WeakMap(), class extends NectaryElement {
|
|
14
|
+
defineCustomElement('sinch-segment', (_$caption = new WeakMap(), _$collapseSlot = new WeakMap(), class extends NectaryElement {
|
|
15
15
|
constructor() {
|
|
16
16
|
super();
|
|
17
17
|
|
|
@@ -20,10 +20,17 @@ defineCustomElement('sinch-segment', (_$caption = new WeakMap(), class extends N
|
|
|
20
20
|
value: void 0
|
|
21
21
|
});
|
|
22
22
|
|
|
23
|
+
_classPrivateFieldInitSpec(this, _$collapseSlot, {
|
|
24
|
+
writable: true,
|
|
25
|
+
value: void 0
|
|
26
|
+
});
|
|
27
|
+
|
|
23
28
|
const shadowRoot = this.attachShadow();
|
|
24
29
|
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
25
30
|
|
|
26
31
|
_classPrivateFieldSet(this, _$caption, shadowRoot.querySelector('#caption'));
|
|
32
|
+
|
|
33
|
+
_classPrivateFieldSet(this, _$collapseSlot, shadowRoot.querySelector('slot[name="collapse"]'));
|
|
27
34
|
}
|
|
28
35
|
|
|
29
36
|
static get observedAttributes() {
|
|
@@ -56,4 +63,10 @@ defineCustomElement('sinch-segment', (_$caption = new WeakMap(), class extends N
|
|
|
56
63
|
return getBooleanAttribute(this, 'collapsed');
|
|
57
64
|
}
|
|
58
65
|
|
|
66
|
+
get collapseButtonRect() {
|
|
67
|
+
const $collapseButton = _classPrivateFieldGet(this, _$collapseSlot).assignedElements()[0];
|
|
68
|
+
|
|
69
|
+
return $collapseButton != null ? getRect($collapseButton) : null;
|
|
70
|
+
}
|
|
71
|
+
|
|
59
72
|
}));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '../icons/expand-less';
|
|
2
2
|
import '../icons/expand-more';
|
|
3
|
+
import '../icon-button';
|
|
3
4
|
import type { TSinchElementReact } from '../types';
|
|
4
5
|
import type { FocusEvent, SyntheticEvent } from 'react';
|
|
5
6
|
export declare type TSinchSegmentExpandElement = HTMLElement & {
|
|
@@ -10,8 +10,9 @@ function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollect
|
|
|
10
10
|
|
|
11
11
|
import '../icons/expand-less';
|
|
12
12
|
import '../icons/expand-more';
|
|
13
|
-
import
|
|
14
|
-
|
|
13
|
+
import '../icon-button';
|
|
14
|
+
import { defineCustomElement, getBooleanAttribute, isAttrTrue, NectaryElement, updateBooleanAttribute } from '../utils';
|
|
15
|
+
const templateHTML = '<style>:host{display:block;--sinch-size-icon:32px}#up{display:block}#down{display:none}:host([value]:not([value=false])) #up{display:none}:host([value]:not([value=false])) #down{display:block}</style><sinch-icon-button id="button" small><sinch-icon-expand-less id="up" slot="icon"></sinch-icon-expand-less><sinch-icon-expand-more id="down" slot="icon"></sinch-icon-expand-more></sinch-icon-button>';
|
|
15
16
|
const template = document.createElement('template');
|
|
16
17
|
template.innerHTML = templateHTML;
|
|
17
18
|
defineCustomElement('sinch-segment-collapse', (_$button = new WeakMap(), class extends NectaryElement {
|
|
@@ -34,11 +35,12 @@ defineCustomElement('sinch-segment-collapse', (_$button = new WeakMap(), class e
|
|
|
34
35
|
const shadowRoot = this.attachShadow();
|
|
35
36
|
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
36
37
|
|
|
37
|
-
_classPrivateFieldSet(this, _$button, shadowRoot.querySelector('button'));
|
|
38
|
+
_classPrivateFieldSet(this, _$button, shadowRoot.querySelector('#button'));
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
connectedCallback() {
|
|
41
42
|
this.setAttribute('role', 'checkbox');
|
|
43
|
+
this.setAttribute('aria-checked', String(getBooleanAttribute(this, 'value')));
|
|
42
44
|
|
|
43
45
|
_classPrivateFieldGet(this, _$button).addEventListener('click', this.onClick);
|
|
44
46
|
}
|
|
@@ -47,6 +49,20 @@ defineCustomElement('sinch-segment-collapse', (_$button = new WeakMap(), class e
|
|
|
47
49
|
_classPrivateFieldGet(this, _$button).removeEventListener('click', this.onClick);
|
|
48
50
|
}
|
|
49
51
|
|
|
52
|
+
static get observedAttributes() {
|
|
53
|
+
return ['value'];
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
attributeChangedCallback(name, oldVal, newVal) {
|
|
57
|
+
switch (name) {
|
|
58
|
+
case 'value':
|
|
59
|
+
{
|
|
60
|
+
this.setAttribute('aria-checked', String(isAttrTrue(newVal)));
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
50
66
|
get type() {
|
|
51
67
|
return 'text';
|
|
52
68
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import type { TSinchElementReact } from '../types';
|
|
2
2
|
import type { SyntheticEvent } from 'react';
|
|
3
|
-
export declare type
|
|
3
|
+
export declare type TSinchSegmentedControlElement = HTMLElement & {
|
|
4
4
|
value: string;
|
|
5
5
|
};
|
|
6
|
-
export declare type
|
|
6
|
+
export declare type TSinchSegmentedControlReact = TSinchElementReact<TSinchSegmentedControlElement> & {
|
|
7
7
|
value: string;
|
|
8
8
|
'aria-label': string;
|
|
9
|
-
onChange: (event: SyntheticEvent<
|
|
9
|
+
onChange: (event: SyntheticEvent<TSinchSegmentedControlElement, CustomEvent<string>>) => void;
|
|
10
10
|
};
|
|
11
11
|
declare global {
|
|
12
12
|
namespace JSX {
|
|
13
13
|
interface IntrinsicElements {
|
|
14
|
-
'sinch-segmented-control':
|
|
14
|
+
'sinch-segmented-control': TSinchSegmentedControlReact;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
interface HTMLElementTagNameMap {
|
|
18
|
-
'sinch-segmented-control':
|
|
18
|
+
'sinch-segmented-control': TSinchSegmentedControlElement;
|
|
19
19
|
}
|
|
20
20
|
}
|