@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
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import _classPrivateFieldSet from '@babel/runtime/helpers/classPrivateFieldSet';
|
|
2
1
|
import _classPrivateFieldGet from '@babel/runtime/helpers/classPrivateFieldGet';
|
|
2
|
+
import _classPrivateFieldSet from '@babel/runtime/helpers/classPrivateFieldSet';
|
|
3
3
|
|
|
4
|
-
var _$slot,
|
|
4
|
+
var _$slot, _$sh, _onSlotChange, _onOptionChange, _onValueChange, _dispatchChangeEvent;
|
|
5
5
|
|
|
6
6
|
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
|
7
7
|
|
|
@@ -11,30 +11,14 @@ 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;outline:0}#wrapper{display:flex;flex-direction:row;width:100%;box-sizing:border-box}</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-segmented-control', (_$slot = new WeakMap(),
|
|
18
|
+
defineCustomElement('sinch-segmented-control', (_$slot = new WeakMap(), _$sh = new WeakMap(), _onSlotChange = new WeakMap(), _onOptionChange = new WeakMap(), _onValueChange = new WeakSet(), _dispatchChangeEvent = new WeakSet(), class extends NectaryElement {
|
|
25
19
|
constructor() {
|
|
26
20
|
super();
|
|
27
21
|
|
|
28
|
-
_classPrivateMethodInitSpec(this, _getEnabledRadioElements);
|
|
29
|
-
|
|
30
|
-
_classPrivateMethodInitSpec(this, _getPrevOption);
|
|
31
|
-
|
|
32
|
-
_classPrivateMethodInitSpec(this, _getNextOption);
|
|
33
|
-
|
|
34
|
-
_classPrivateMethodInitSpec(this, _getLastOption);
|
|
35
|
-
|
|
36
|
-
_classPrivateMethodInitSpec(this, _getFirstOption);
|
|
37
|
-
|
|
38
22
|
_classPrivateMethodInitSpec(this, _dispatchChangeEvent);
|
|
39
23
|
|
|
40
24
|
_classPrivateMethodInitSpec(this, _onValueChange);
|
|
@@ -44,43 +28,9 @@ defineCustomElement('sinch-segmented-control', (_$slot = new WeakMap(), _onOptio
|
|
|
44
28
|
value: void 0
|
|
45
29
|
});
|
|
46
30
|
|
|
47
|
-
_classPrivateFieldInitSpec(this,
|
|
31
|
+
_classPrivateFieldInitSpec(this, _$sh, {
|
|
48
32
|
writable: true,
|
|
49
|
-
value:
|
|
50
|
-
switch (e.code) {
|
|
51
|
-
case 'ArrowUp':
|
|
52
|
-
case 'ArrowLeft':
|
|
53
|
-
{
|
|
54
|
-
e.preventDefault();
|
|
55
|
-
|
|
56
|
-
const $option = _classPrivateMethodGet(this, _getPrevOption, _getPrevOption2).call(this);
|
|
57
|
-
|
|
58
|
-
if ($option !== null) {
|
|
59
|
-
$option.focus();
|
|
60
|
-
|
|
61
|
-
_classPrivateMethodGet(this, _dispatchChangeEvent, _dispatchChangeEvent2).call(this, $option.value);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
break;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
case 'ArrowDown':
|
|
68
|
-
case 'ArrowRight':
|
|
69
|
-
{
|
|
70
|
-
e.preventDefault();
|
|
71
|
-
|
|
72
|
-
const $option = _classPrivateMethodGet(this, _getNextOption, _getNextOption2).call(this);
|
|
73
|
-
|
|
74
|
-
if ($option !== null) {
|
|
75
|
-
$option.focus();
|
|
76
|
-
|
|
77
|
-
_classPrivateMethodGet(this, _dispatchChangeEvent, _dispatchChangeEvent2).call(this, $option.value);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
break;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
33
|
+
value: void 0
|
|
84
34
|
});
|
|
85
35
|
|
|
86
36
|
_classPrivateFieldInitSpec(this, _onSlotChange, {
|
|
@@ -101,16 +51,24 @@ defineCustomElement('sinch-segmented-control', (_$slot = new WeakMap(), _onOptio
|
|
|
101
51
|
|
|
102
52
|
const shadowRoot = this.attachShadow();
|
|
103
53
|
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
104
|
-
shadowRoot.addEventListener('keydown', _classPrivateFieldGet(this, _onOptionKeyDown));
|
|
105
|
-
shadowRoot.addEventListener('change', _classPrivateFieldGet(this, _onOptionChange));
|
|
106
54
|
|
|
107
|
-
_classPrivateFieldSet(this, _$
|
|
55
|
+
_classPrivateFieldSet(this, _$sh, shadowRoot);
|
|
108
56
|
|
|
109
|
-
|
|
57
|
+
_classPrivateFieldSet(this, _$slot, shadowRoot.querySelector('slot'));
|
|
110
58
|
}
|
|
111
59
|
|
|
112
60
|
connectedCallback() {
|
|
113
61
|
this.setAttribute('role', 'tablist');
|
|
62
|
+
|
|
63
|
+
_classPrivateFieldGet(this, _$sh).addEventListener('change', _classPrivateFieldGet(this, _onOptionChange));
|
|
64
|
+
|
|
65
|
+
_classPrivateFieldGet(this, _$slot).addEventListener('slotchange', _classPrivateFieldGet(this, _onSlotChange));
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
disconnectedCallback() {
|
|
69
|
+
_classPrivateFieldGet(this, _$sh).removeEventListener('change', _classPrivateFieldGet(this, _onOptionChange));
|
|
70
|
+
|
|
71
|
+
_classPrivateFieldGet(this, _$slot).removeEventListener('slotchange', _classPrivateFieldGet(this, _onSlotChange));
|
|
114
72
|
}
|
|
115
73
|
|
|
116
74
|
static get observedAttributes() {
|
|
@@ -144,9 +102,8 @@ defineCustomElement('sinch-segmented-control', (_$slot = new WeakMap(), _onOptio
|
|
|
144
102
|
|
|
145
103
|
function _onValueChange2(value) {
|
|
146
104
|
for (const $option of _classPrivateFieldGet(this, _$slot).assignedElements()) {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
105
|
+
const isChecked = !getBooleanAttribute($option, 'disabled') && value === getAttribute($option, 'value', '');
|
|
106
|
+
updateBooleanAttribute($option, 'checked', isChecked);
|
|
150
107
|
}
|
|
151
108
|
}
|
|
152
109
|
|
|
@@ -155,54 +112,4 @@ function _dispatchChangeEvent2(value) {
|
|
|
155
112
|
detail: value,
|
|
156
113
|
bubbles: true
|
|
157
114
|
}));
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
function _getFirstOption2() {
|
|
161
|
-
for (const $option of _classPrivateFieldGet(this, _$slot).assignedElements()) {
|
|
162
|
-
if (isSegmentedControlOptionElement($option) && $option.disabled !== true) {
|
|
163
|
-
return $option;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
return null;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
function _getLastOption2() {
|
|
171
|
-
for (const $option of _classPrivateFieldGet(this, _$slot).assignedElements().reverse()) {
|
|
172
|
-
if (isSegmentedControlOptionElement($option) && $option.disabled !== true) {
|
|
173
|
-
return $option;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
return null;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
function _getNextOption2() {
|
|
181
|
-
const $options = _classPrivateMethodGet(this, _getEnabledRadioElements, _getEnabledRadioElements2).call(this);
|
|
182
|
-
|
|
183
|
-
const $selectedOption = findSelectedOption($options);
|
|
184
|
-
const currentIndex = $selectedOption !== null ? $options.indexOf($selectedOption) : -1;
|
|
185
|
-
|
|
186
|
-
if (currentIndex < 0) {
|
|
187
|
-
return _classPrivateMethodGet(this, _getFirstOption, _getFirstOption2).call(this);
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
return $options[(currentIndex + 1) % $options.length];
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
function _getPrevOption2() {
|
|
194
|
-
const $options = _classPrivateMethodGet(this, _getEnabledRadioElements, _getEnabledRadioElements2).call(this);
|
|
195
|
-
|
|
196
|
-
const $selectedOption = findSelectedOption($options);
|
|
197
|
-
const currentIndex = $selectedOption !== null ? $options.indexOf($selectedOption) : -1;
|
|
198
|
-
|
|
199
|
-
if (currentIndex < 0) {
|
|
200
|
-
return _classPrivateMethodGet(this, _getLastOption, _getLastOption2).call(this);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
return $options[(currentIndex - 1 + $options.length) % $options.length];
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
function _getEnabledRadioElements2() {
|
|
207
|
-
return _classPrivateFieldGet(this, _$slot).assignedElements().filter(opt => isSegmentedControlOptionElement(opt) && opt.disabled !== true);
|
|
208
115
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { TSinchElementReact } from '../types';
|
|
2
2
|
import type { FocusEvent } from 'react';
|
|
3
|
-
export declare const isSegmentedControlOptionElement: (element: EventTarget | Element | null) => element is TSinchSegmentedControlOptionElement;
|
|
4
3
|
export declare type TSinchSegmentedControlOptionElement = HTMLElement & {
|
|
5
4
|
value: string;
|
|
6
5
|
disabled: boolean;
|
|
@@ -7,10 +7,7 @@ function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedec
|
|
|
7
7
|
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
8
8
|
|
|
9
9
|
import { defineCustomElement, getAttribute, getBooleanAttribute, isAttrTrue, NectaryElement, updateAttribute, updateBooleanAttribute } from '../utils';
|
|
10
|
-
const templateHTML = '<style>:host{display:block;outline:0}#wrapper{display:flex;position:relative;flex-direction:row;align-items:center;gap:12px;width:100%;height:42px;padding:8px 20px;box-sizing:border-box;border:1px solid var(--sinch-color-
|
|
11
|
-
export const isSegmentedControlOptionElement = element => {
|
|
12
|
-
return element instanceof Element && element.tagName === 'SINCH-SEGMENTED-CONTROL-OPTION';
|
|
13
|
-
};
|
|
10
|
+
const templateHTML = '<style>:host{display:block;outline:0}#wrapper{display:flex;position:relative;flex-direction:row;align-items:center;gap:12px;width:100%;height:42px;padding:8px 20px;box-sizing:border-box;border:1px solid var(--sinch-color-snow-600);border-left-width:0;border-right-width:0;color:var(--sinch-color-stormy-500);background-color:var(--sinch-color-snow-100);--sinch-color-icon:var(--sinch-color-stormy-500);--sinch-size-icon:16px}#wrapper:hover{background-color:var(--sinch-color-snow-500)}:host(:first-child) #wrapper{border-left-width:1px;border-top-left-radius:4px;border-bottom-left-radius:4px}:host(:last-child) #wrapper{border-right-width:1px;border-top-right-radius:4px;border-bottom-right-radius:4px}#content{font:var(--sinch-font-title-s);flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host([checked]:not([checked=false])) #wrapper{border-color:var(--sinch-color-stormy-500)}:host([checked]:not([checked=false]):not(:first-child)) #wrapper::before{content:"";width:1px;background-color:var(--sinch-color-stormy-500);position:absolute;left:0;top:-1px;bottom:-1px}:host([checked]:not([checked=false]):not(:last-child)) #wrapper::after{content:"";width:1px;background-color:var(--sinch-color-stormy-500);position:absolute;right:0;top:-1px;bottom:-1px}#button{all:initial;position:absolute;left:0;top:0;box-sizing:border-box;width:100%;height:100%;cursor:pointer;z-index:1}#button:disabled{cursor:unset}#button:focus::before{content:"";position:absolute;left:-3px;right:-3px;top:-4px;bottom:-4px;border-style:solid;border-color:var(--sinch-color-aqua-400);border-width:0}#button:focus-visible::before{border-width:2px}:host(:first-child) #button:focus::before{left:-4px;border-top-left-radius:6px;border-bottom-left-radius:6px}:host(:last-child) #button:focus::before{right:-4px;border-top-right-radius:6px;border-bottom-right-radius:6px}@supports not selector(:focus-visible){#button:focus::before{border-width:2px}}:host([disabled]:not([disabled=false])) #wrapper{background-color:var(--sinch-color-snow-100);color:var(--sinch-color-stormy-100);--sinch-color-icon:var(--sinch-color-stormy-100)}</style><div id="wrapper"><slot name="icon"></slot><label for="button" id="content"></label> <button id="button"></button></div>';
|
|
14
11
|
const template = document.createElement('template');
|
|
15
12
|
template.innerHTML = templateHTML;
|
|
16
13
|
defineCustomElement('sinch-segmented-control-option', (_onClick = new WeakMap(), class extends NectaryElement {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { TSinchElementReact } from '../types';
|
|
2
|
+
import type { SyntheticEvent } from 'react';
|
|
3
|
+
export declare type TSinchSegmentedIconControlElement = HTMLElement & {
|
|
4
|
+
value: string;
|
|
5
|
+
multiple: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare type TSinchSegmentedIconControlReact = TSinchElementReact<TSinchSegmentedIconControlElement> & {
|
|
8
|
+
value: string;
|
|
9
|
+
multiple?: boolean;
|
|
10
|
+
'aria-label': string;
|
|
11
|
+
onChange: (event: SyntheticEvent<TSinchSegmentedIconControlElement, CustomEvent<string>>) => void;
|
|
12
|
+
};
|
|
13
|
+
declare global {
|
|
14
|
+
namespace JSX {
|
|
15
|
+
interface IntrinsicElements {
|
|
16
|
+
'sinch-segmented-icon-control': TSinchSegmentedIconControlReact;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
interface HTMLElementTagNameMap {
|
|
20
|
+
'sinch-segmented-icon-control': TSinchSegmentedIconControlElement;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import _classPrivateFieldGet from '@babel/runtime/helpers/classPrivateFieldGet';
|
|
2
|
+
import _classPrivateFieldSet from '@babel/runtime/helpers/classPrivateFieldSet';
|
|
3
|
+
|
|
4
|
+
var _$slot, _$sh, _onSlotChange, _onOptionChange, _onValueChange;
|
|
5
|
+
|
|
6
|
+
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
|
7
|
+
|
|
8
|
+
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
|
9
|
+
|
|
10
|
+
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
11
|
+
|
|
12
|
+
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
|
13
|
+
|
|
14
|
+
import { defineCustomElement, getAttribute, getBooleanAttribute, getCsvSet, getFirstCsvValue, NectaryElement, updateAttribute, updateBooleanAttribute, updateCsv } from '../utils';
|
|
15
|
+
const templateHTML = '<style>:host{display:block;outline:0}#wrapper{display:flex;flex-direction:row}</style><div id="wrapper"><slot></slot></div>';
|
|
16
|
+
const template = document.createElement('template');
|
|
17
|
+
template.innerHTML = templateHTML;
|
|
18
|
+
defineCustomElement('sinch-segmented-icon-control', (_$slot = new WeakMap(), _$sh = new WeakMap(), _onSlotChange = new WeakMap(), _onOptionChange = new WeakMap(), _onValueChange = new WeakSet(), class extends NectaryElement {
|
|
19
|
+
constructor() {
|
|
20
|
+
super();
|
|
21
|
+
|
|
22
|
+
_classPrivateMethodInitSpec(this, _onValueChange);
|
|
23
|
+
|
|
24
|
+
_classPrivateFieldInitSpec(this, _$slot, {
|
|
25
|
+
writable: true,
|
|
26
|
+
value: void 0
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
_classPrivateFieldInitSpec(this, _$sh, {
|
|
30
|
+
writable: true,
|
|
31
|
+
value: void 0
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
_classPrivateFieldInitSpec(this, _onSlotChange, {
|
|
35
|
+
writable: true,
|
|
36
|
+
value: () => {
|
|
37
|
+
_classPrivateMethodGet(this, _onValueChange, _onValueChange2).call(this, this.value);
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
_classPrivateFieldInitSpec(this, _onOptionChange, {
|
|
42
|
+
writable: true,
|
|
43
|
+
value: e => {
|
|
44
|
+
e.stopPropagation();
|
|
45
|
+
const $elem = e.target;
|
|
46
|
+
const value = e.detail;
|
|
47
|
+
const result = this.multiple ? updateCsv(this.value, value, !getBooleanAttribute($elem, 'checked')) : value;
|
|
48
|
+
this.dispatchEvent(new CustomEvent('change', {
|
|
49
|
+
detail: result,
|
|
50
|
+
bubbles: true
|
|
51
|
+
}));
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
const shadowRoot = this.attachShadow();
|
|
56
|
+
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
57
|
+
|
|
58
|
+
_classPrivateFieldSet(this, _$sh, shadowRoot);
|
|
59
|
+
|
|
60
|
+
_classPrivateFieldSet(this, _$slot, shadowRoot.querySelector('slot'));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
connectedCallback() {
|
|
64
|
+
this.setAttribute('role', 'tablist');
|
|
65
|
+
|
|
66
|
+
_classPrivateFieldGet(this, _$slot).addEventListener('slotchange', _classPrivateFieldGet(this, _onSlotChange));
|
|
67
|
+
|
|
68
|
+
_classPrivateFieldGet(this, _$sh).addEventListener('change', _classPrivateFieldGet(this, _onOptionChange));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
disconnectedCallback() {
|
|
72
|
+
_classPrivateFieldGet(this, _$slot).removeEventListener('slotchange', _classPrivateFieldGet(this, _onSlotChange));
|
|
73
|
+
|
|
74
|
+
_classPrivateFieldGet(this, _$sh).removeEventListener('change', _classPrivateFieldGet(this, _onOptionChange));
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
static get observedAttributes() {
|
|
78
|
+
return ['value'];
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
get nodeName() {
|
|
82
|
+
return 'select';
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
set value(value) {
|
|
86
|
+
updateAttribute(this, 'value', value);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
get value() {
|
|
90
|
+
return getAttribute(this, 'value', '');
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
set multiple(isMultiple) {
|
|
94
|
+
updateBooleanAttribute(this, 'multiple', isMultiple);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
get multiple() {
|
|
98
|
+
return getBooleanAttribute(this, 'multiple');
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
attributeChangedCallback(name, oldVal, newVal) {
|
|
102
|
+
switch (name) {
|
|
103
|
+
case 'value':
|
|
104
|
+
{
|
|
105
|
+
_classPrivateMethodGet(this, _onValueChange, _onValueChange2).call(this, newVal ?? '');
|
|
106
|
+
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
}));
|
|
113
|
+
|
|
114
|
+
function _onValueChange2(csv) {
|
|
115
|
+
if (this.multiple) {
|
|
116
|
+
const values = getCsvSet(csv);
|
|
117
|
+
|
|
118
|
+
for (const $option of _classPrivateFieldGet(this, _$slot).assignedElements()) {
|
|
119
|
+
const isChecked = !getBooleanAttribute($option, 'disabled') && values.has(getAttribute($option, 'value', ''));
|
|
120
|
+
updateBooleanAttribute($option, 'checked', isChecked);
|
|
121
|
+
}
|
|
122
|
+
} else {
|
|
123
|
+
const value = getFirstCsvValue(csv);
|
|
124
|
+
|
|
125
|
+
for (const $option of _classPrivateFieldGet(this, _$slot).assignedElements()) {
|
|
126
|
+
const isChecked = !getBooleanAttribute($option, 'disabled') && value === getAttribute($option, 'value', '');
|
|
127
|
+
updateBooleanAttribute($option, 'checked', isChecked);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { TSinchElementReact } from '../types';
|
|
2
|
+
import type { FocusEvent } from 'react';
|
|
3
|
+
export declare type TSinchSegmentedIconControlOptionElement = HTMLElement & {
|
|
4
|
+
value: string;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
checked: boolean;
|
|
7
|
+
focus(): void;
|
|
8
|
+
blur(): void;
|
|
9
|
+
};
|
|
10
|
+
export declare type TSinchSegmentedIconControlOptionReact = TSinchElementReact<TSinchSegmentedIconControlOptionElement> & {
|
|
11
|
+
value: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
'aria-label': string;
|
|
14
|
+
onFocus?: (e: FocusEvent<TSinchSegmentedIconControlOptionElement>) => void;
|
|
15
|
+
onBlur?: (e: FocusEvent<TSinchSegmentedIconControlOptionElement>) => void;
|
|
16
|
+
};
|
|
17
|
+
declare global {
|
|
18
|
+
namespace JSX {
|
|
19
|
+
interface IntrinsicElements {
|
|
20
|
+
'sinch-segmented-icon-control-option': TSinchSegmentedIconControlOptionReact;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
interface HTMLElementTagNameMap {
|
|
24
|
+
'sinch-segmented-icon-control-option': TSinchSegmentedIconControlOptionElement;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import _classPrivateFieldGet from '@babel/runtime/helpers/classPrivateFieldGet';
|
|
2
|
+
|
|
3
|
+
var _onClick;
|
|
4
|
+
|
|
5
|
+
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
|
6
|
+
|
|
7
|
+
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
8
|
+
|
|
9
|
+
import { defineCustomElement, getAttribute, getBooleanAttribute, isAttrTrue, NectaryElement, updateAttribute, updateBooleanAttribute } from '../utils';
|
|
10
|
+
const templateHTML = '<style>:host{display:block;outline:0}#wrapper{position:relative;width:56px;height:32px;padding:3px 16px;box-sizing:border-box;border:1px solid var(--sinch-color-snow-600);border-left-width:0;border-right-width:0;color:var(--sinch-color-stormy-500);background-color:var(--sinch-color-snow-100);--sinch-color-icon:var(--sinch-color-stormy-500);--sinch-size-icon:24px}#wrapper:hover{background-color:var(--sinch-color-snow-500)}:host(:first-child) #wrapper{border-left-width:1px;border-top-left-radius:4px;border-bottom-left-radius:4px}:host(:last-child) #wrapper{border-right-width:1px;border-top-right-radius:4px;border-bottom-right-radius:4px}:host([checked]:not([checked=false])) #wrapper{border-color:var(--sinch-color-stormy-500)}:host([checked]:not([checked=false]):not(:first-child)) #wrapper::before{content:"";width:1px;background-color:var(--sinch-color-stormy-500);position:absolute;left:-1px;top:-1px;bottom:-1px}:host([checked]:not([checked=false]):not(:last-child)) #wrapper::after{content:"";width:1px;background-color:var(--sinch-color-stormy-500);position:absolute;right:0;top:-1px;bottom:-1px}#button{all:initial;position:absolute;left:0;top:0;box-sizing:border-box;width:100%;height:100%;cursor:pointer;z-index:1}#button:disabled{cursor:unset}#button:focus::before{content:"";position:absolute;left:-4px;right:-3px;top:-4px;bottom:-4px;border-style:solid;border-color:var(--sinch-color-aqua-400);border-width:0}#button:focus-visible::before{border-width:2px}:host(:first-child) #button:focus::before{left:-4px;border-top-left-radius:6px;border-bottom-left-radius:6px}:host(:last-child) #button:focus::before{right:-4px;border-top-right-radius:6px;border-bottom-right-radius:6px}@supports not selector(:focus-visible){#button:focus::before{border-width:2px}}:host([disabled]:not([disabled=false])) #wrapper{background-color:var(--sinch-color-snow-100);color:var(--sinch-color-stormy-100);--sinch-color-icon:var(--sinch-color-stormy-100)}::slotted(*){display:block}</style><div id="wrapper"><slot name="icon"></slot><button id="button"></button></div>';
|
|
11
|
+
const template = document.createElement('template');
|
|
12
|
+
template.innerHTML = templateHTML;
|
|
13
|
+
defineCustomElement('sinch-segmented-icon-control-option', (_onClick = new WeakMap(), class extends NectaryElement {
|
|
14
|
+
constructor() {
|
|
15
|
+
super();
|
|
16
|
+
|
|
17
|
+
_classPrivateFieldInitSpec(this, _onClick, {
|
|
18
|
+
writable: true,
|
|
19
|
+
value: e => {
|
|
20
|
+
e.stopPropagation();
|
|
21
|
+
this.dispatchEvent(new CustomEvent('change', {
|
|
22
|
+
bubbles: true,
|
|
23
|
+
detail: this.value
|
|
24
|
+
}));
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
const shadowRoot = this.attachShadow();
|
|
29
|
+
shadowRoot.appendChild(template.content.cloneNode(true));
|
|
30
|
+
this.$button = shadowRoot.querySelector('#button');
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
connectedCallback() {
|
|
34
|
+
this.setAttribute('role', 'tab');
|
|
35
|
+
this.$button.addEventListener('click', _classPrivateFieldGet(this, _onClick));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
disconnectedCallback() {
|
|
39
|
+
this.$button.removeEventListener('click', _classPrivateFieldGet(this, _onClick));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
static get observedAttributes() {
|
|
43
|
+
return ['checked', 'disabled', 'value'];
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
set checked(isChecked) {
|
|
47
|
+
updateBooleanAttribute(this, 'checked', isChecked);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
get checked() {
|
|
51
|
+
return getBooleanAttribute(this, 'checked');
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
set value(value) {
|
|
55
|
+
updateAttribute(this, 'value', value);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
get value() {
|
|
59
|
+
return getAttribute(this, 'value', '');
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
set disabled(isDisabled) {
|
|
63
|
+
updateBooleanAttribute(this, 'disabled', isDisabled);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
get disabled() {
|
|
67
|
+
return getBooleanAttribute(this, 'disabled');
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
attributeChangedCallback(name, _, newVal) {
|
|
71
|
+
switch (name) {
|
|
72
|
+
case 'checked':
|
|
73
|
+
{
|
|
74
|
+
updateAttribute(this, 'aria-selected', isAttrTrue(newVal));
|
|
75
|
+
break;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
case 'disabled':
|
|
79
|
+
{
|
|
80
|
+
this.$button.disabled = isAttrTrue(newVal);
|
|
81
|
+
break;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
focus() {
|
|
87
|
+
this.$button.focus();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
blur() {
|
|
91
|
+
this.$button.blur();
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
}));
|
package/select/index.d.ts
CHANGED
package/select/index.js
CHANGED
|
@@ -11,11 +11,9 @@ 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 { isDropdownOptionElement } from '../dropdown-option';
|
|
15
|
-
import '../select-option';
|
|
16
14
|
import '../dropdown';
|
|
17
15
|
import { defineCustomElement, getAttribute, getBooleanAttribute, getIntegerAttribute, isAttrTrue, NectaryElement, updateAttribute, updateBooleanAttribute, updateIntegerAttribute } from '../utils';
|
|
18
|
-
const templateHTML = '<style>:host{display:inline-block;vertical-align:middle;outline:0;--sinch-color-icon:var(--sinch-color-stormy-500)}#wrapper{position:relative}sinch-dropdown{display:block}#button{all:initial;display:flex;align-items:center;gap:8px;border:1px solid var(--sinch-color-stormy-200);border-radius:4px;box-sizing:border-box;width:100%;height:48px;margin:2px 0;padding:8px 12px;font:var(--sinch-font-body);color:var(--sinch-color-text-default);background-color:var(--sinch-color-snow-100);cursor:pointer}#button:focus{border-color:var(--sinch-color-stormy-600)}#dropdown-icon{fill:var(--sinch-color-stormy-500)}#button>*{pointer-events:none}#button[data-unselected]{color:var(--sinch-color-text-muted)}#button:disabled{border-color:var(--sinch-color-snow-500);color:var(--sinch-color-stormy-100);cursor:initial}#button:disabled #dropdown-icon{fill:var(--sinch-color-stormy-100)}:host([invalidtext]:not([invalidtext=""])) #button:not(:disabled){border-color:var(--sinch-color-text-invalid)}#content{flex:1;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#bottom,#top{display:flex;align-items:baseline}#top{height:24px}#bottom{height:20px}#additional,#invalid,#label,#optional{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#label{font:var(--sinch-font-title-s);color:var(--sinch-color-text-default)}#optional{flex:1;text-align:right;font:var(--sinch-font-small-text);color:var(--sinch-color-text-muted)}#additional{flex:1;text-align:right;font:var(--sinch-font-extra-small-text);color:var(--sinch-color-text-muted)}#invalid{font:var(--sinch-font-extra-small-text);color:var(--sinch-color-text-invalid)}::slotted(sinch-help-tooltip){align-self:center;margin:0 8px}:host([disabled]:not([disabled=false])) :is(#label,#additional,#optional,#invalid){color:var(--sinch-color-stormy-100)}:host([disabled]:not([disabled=false])){--sinch-color-icon:var(--sinch-color-stormy-100)}#listbox{position:absolute;left:0;top:0;padding-top:74px;width:100%;display:none;list-style:none;outline:0;z-index:1}#listbox-body{font:var(--sinch-font-body);color:var(--sinch-color-text-default);background-color:var(--sinch-color-snow-100);border:1px solid var(--sinch-color-stormy-500);border-top-width:0;border-bottom-left-radius:2px;border-bottom-right-radius:2px;width:100%;box-sizing:border-box;box-shadow:1px 2px 4px rgba(0,0,0,.15);overflow-y:auto}#button[aria-expanded=true]~#listbox{display:block}</style><div id="wrapper"><div id="top"><label id="label" for="dropdown"></label><slot name="tooltip"></slot><span id="optional"></span></div><sinch-dropdown id="dropdown"><button slot="target" id="button"><span id="content"></span> <svg id="dropdown-icon" width="12" height="8" aria-hidden="true"><path d="M1.41.59 6 5.17 10.59.59 12 2 6 8 0 2 1.41.59Z"/></svg></button><slot name="option" slot="option"></slot></sinch-dropdown><div id="bottom"><span id="invalid"></span> <span id="additional"></span></div></div>';
|
|
16
|
+
const templateHTML = '<style>:host{display:inline-block;vertical-align:middle;outline:0;--sinch-color-icon:var(--sinch-color-stormy-500)}#wrapper{position:relative;--sinch-popover-expand-width:1}sinch-dropdown{display:block}#button{all:initial;display:flex;align-items:center;gap:8px;border:1px solid var(--sinch-color-stormy-200);border-radius:4px;box-sizing:border-box;width:100%;height:48px;margin:2px 0;padding:8px 12px;font:var(--sinch-font-body);color:var(--sinch-color-text-default);background-color:var(--sinch-color-snow-100);cursor:pointer}#button:focus{border-color:var(--sinch-color-stormy-600)}#dropdown-icon{fill:var(--sinch-color-stormy-500)}#button>*{pointer-events:none}#button[data-unselected]{color:var(--sinch-color-text-muted)}#button:disabled{border-color:var(--sinch-color-snow-500);color:var(--sinch-color-stormy-100);cursor:initial}#button:disabled #dropdown-icon{fill:var(--sinch-color-stormy-100)}:host([invalidtext]:not([invalidtext=""])) #button:not(:disabled){border-color:var(--sinch-color-text-invalid)}#content{flex:1;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#bottom,#top{display:flex;align-items:baseline}#top{height:24px}#bottom{height:20px}#additional,#invalid,#label,#optional{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#label{font:var(--sinch-font-title-s);color:var(--sinch-color-text-default)}#optional{flex:1;text-align:right;font:var(--sinch-font-small-text);color:var(--sinch-color-text-muted)}#additional{flex:1;text-align:right;font:var(--sinch-font-extra-small-text);color:var(--sinch-color-text-muted)}#invalid{font:var(--sinch-font-extra-small-text);color:var(--sinch-color-text-invalid)}::slotted(sinch-help-tooltip){align-self:center;margin:0 8px}:host([disabled]:not([disabled=false])) :is(#label,#additional,#optional,#invalid){color:var(--sinch-color-stormy-100)}:host([disabled]:not([disabled=false])){--sinch-color-icon:var(--sinch-color-stormy-100)}#listbox{position:absolute;left:0;top:0;padding-top:74px;width:100%;display:none;list-style:none;outline:0;z-index:1}#listbox-body{font:var(--sinch-font-body);color:var(--sinch-color-text-default);background-color:var(--sinch-color-snow-100);border:1px solid var(--sinch-color-stormy-500);border-top-width:0;border-bottom-left-radius:2px;border-bottom-right-radius:2px;width:100%;box-sizing:border-box;box-shadow:1px 2px 4px rgba(0,0,0,.15);overflow-y:auto}#button[aria-expanded=true]~#listbox{display:block}</style><div id="wrapper"><div id="top"><label id="label" for="dropdown"></label><slot name="tooltip"></slot><span id="optional"></span></div><sinch-dropdown id="dropdown"><button slot="target" id="button"><span id="content"></span> <svg id="dropdown-icon" width="12" height="8" aria-hidden="true"><path d="M1.41.59 6 5.17 10.59.59 12 2 6 8 0 2 1.41.59Z"/></svg></button><slot name="option" slot="option"></slot></sinch-dropdown><div id="bottom"><span id="invalid"></span> <span id="additional"></span></div></div>';
|
|
19
17
|
const template = document.createElement('template');
|
|
20
18
|
template.innerHTML = templateHTML;
|
|
21
19
|
defineCustomElement('sinch-select', (_$button = new WeakMap(), _$buttonContent = new WeakMap(), _$label = new WeakMap(), _$optionalText = new WeakMap(), _$additionalText = new WeakMap(), _$invalidText = new WeakMap(), _$dropdown = new WeakMap(), _$optionSlot = new WeakMap(), _$sh = new WeakMap(), _createElement = new WeakSet(), _updateButtonContent = new WeakSet(), _onValueChange = new WeakMap(), _getOptionWithValue = new WeakSet(), _onLabelClick = new WeakMap(), _onDropdownClick = new WeakMap(), _onDropdownClose = new WeakMap(), class extends NectaryElement {
|
|
@@ -317,7 +315,7 @@ function _updateButtonContent2() {
|
|
|
317
315
|
} else {
|
|
318
316
|
_classPrivateFieldGet(this, _$button).removeAttribute('data-unselected');
|
|
319
317
|
|
|
320
|
-
_classPrivateFieldGet(this, _$buttonContent).textContent = $option
|
|
318
|
+
_classPrivateFieldGet(this, _$buttonContent).textContent = getAttribute($option, 'text', null);
|
|
321
319
|
const $icon = $option.icon;
|
|
322
320
|
|
|
323
321
|
if ($icon != null) {
|
|
@@ -328,7 +326,7 @@ function _updateButtonContent2() {
|
|
|
328
326
|
|
|
329
327
|
function _getOptionWithValue2(value) {
|
|
330
328
|
for (const $option of _classPrivateFieldGet(this, _$optionSlot).assignedElements()) {
|
|
331
|
-
if (
|
|
329
|
+
if ($option.disabled !== true && $option.value === value) {
|
|
332
330
|
return $option;
|
|
333
331
|
}
|
|
334
332
|
}
|
package/select-option/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare type TSinchSelectOptionElement =
|
|
3
|
-
export declare type TSinchSelectOptionReact =
|
|
1
|
+
import type { TSinchDropdownTextOptionElement, TSinchDropdownTextOptionReact } from '../dropdown-text-option';
|
|
2
|
+
export declare type TSinchSelectOptionElement = TSinchDropdownTextOptionElement;
|
|
3
|
+
export declare type TSinchSelectOptionReact = TSinchDropdownTextOptionReact;
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
6
6
|
interface IntrinsicElements {
|
package/select-option/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DropdownTextOption } from '../dropdown-text-option';
|
|
2
2
|
import { defineCustomElement } from '../utils';
|
|
3
|
-
defineCustomElement('sinch-select-option', class extends
|
|
3
|
+
defineCustomElement('sinch-select-option', class extends DropdownTextOption {
|
|
4
4
|
constructor() {
|
|
5
5
|
super();
|
|
6
6
|
}
|
package/tabs/index.js
CHANGED
|
@@ -11,8 +11,7 @@ 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;outline:0}#wrapper{display:flex;flex-direction:row;height:44px;width:100%;box-sizing:border-box}</style><div id="wrapper"><slot></slot></div>';
|
|
17
16
|
|
|
18
17
|
const findSelectedOption = elements => {
|
|
@@ -144,9 +143,8 @@ defineCustomElement('sinch-tabs', (_$slot = new WeakMap(), _onOptionKeyDown = ne
|
|
|
144
143
|
|
|
145
144
|
function _onValueChange2(value) {
|
|
146
145
|
for (const $option of _classPrivateFieldGet(this, _$slot).assignedElements()) {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
146
|
+
const isChecked = !getBooleanAttribute($option, 'disabled') && value === getAttribute($option, 'value', '');
|
|
147
|
+
updateBooleanAttribute($option, 'checked', isChecked);
|
|
150
148
|
}
|
|
151
149
|
}
|
|
152
150
|
|
|
@@ -159,7 +157,7 @@ function _dispatchChangeEvent2(value) {
|
|
|
159
157
|
|
|
160
158
|
function _getFirstOption2() {
|
|
161
159
|
for (const $option of _classPrivateFieldGet(this, _$slot).assignedElements()) {
|
|
162
|
-
if (
|
|
160
|
+
if ($option.disabled !== true) {
|
|
163
161
|
return $option;
|
|
164
162
|
}
|
|
165
163
|
}
|
|
@@ -169,7 +167,7 @@ function _getFirstOption2() {
|
|
|
169
167
|
|
|
170
168
|
function _getLastOption2() {
|
|
171
169
|
for (const $option of _classPrivateFieldGet(this, _$slot).assignedElements().reverse()) {
|
|
172
|
-
if (
|
|
170
|
+
if ($option.disabled !== true) {
|
|
173
171
|
return $option;
|
|
174
172
|
}
|
|
175
173
|
}
|
|
@@ -204,5 +202,5 @@ function _getPrevOption2() {
|
|
|
204
202
|
}
|
|
205
203
|
|
|
206
204
|
function _getEnabledRadioElements2() {
|
|
207
|
-
return _classPrivateFieldGet(this, _$slot).assignedElements().filter(opt =>
|
|
205
|
+
return _classPrivateFieldGet(this, _$slot).assignedElements().filter(opt => opt.disabled !== true);
|
|
208
206
|
}
|
package/utils.d.ts
CHANGED
|
@@ -35,9 +35,10 @@ export declare const updateIntegerAttribute: ($element: Element, attrName: strin
|
|
|
35
35
|
export declare function getIntegerAttribute($element: Element, attrName: string): number | undefined;
|
|
36
36
|
export declare function getIntegerAttribute($element: Element, attrName: string, defaultValue: null): number | null;
|
|
37
37
|
export declare function getIntegerAttribute($element: Element, attrName: string, defaultValue: number): number;
|
|
38
|
-
export declare const
|
|
39
|
-
export declare const
|
|
40
|
-
export declare const
|
|
38
|
+
export declare const getCsvSet: (acc: string) => Set<string>;
|
|
39
|
+
export declare const updateCsv: (acc: string, value: string, setActive: boolean) => string;
|
|
40
|
+
export declare const getFirstCsvValue: (acc: string) => string | null;
|
|
41
41
|
export declare const getRect: (el: Element) => TRect;
|
|
42
42
|
export declare const setClass: (elem: Element, name: string, isSet: boolean) => void;
|
|
43
|
+
export declare const getCssVar: (element: Element, variableName: string) => string | null;
|
|
43
44
|
export {};
|