@getflip/swirl-components-react 0.84.1 → 0.86.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/dist/{file-manager.entry.f8eb0f70.js → file-manager.entry.f178298a.js} +1 -1
- package/dist/index.3e13cbcd.js +2843 -0
- package/dist/stencil-generated/index.d.ts +7 -0
- package/dist/{swirl-action-list-section.entry.6595c7fe.js → swirl-action-list-section.entry.a2e28c41.js} +1 -1
- package/dist/{swirl-action-list_3.entry.ee5f1d61.js → swirl-action-list_3.entry.19655e71.js} +1 -1
- package/dist/{swirl-app-bar.entry.adea6f16.js → swirl-app-bar.entry.ade7de28.js} +1 -1
- package/dist/{swirl-app-icon.entry.85573567.js → swirl-app-icon.entry.e7920d4b.js} +1 -1
- package/dist/{swirl-app-layout_7.entry.7b93ae1b.js → swirl-app-layout_7.entry.e6f28259.js} +43 -39
- package/dist/swirl-autocomplete.entry.337b1837.js +108 -0
- package/dist/{swirl-avatar-group.entry.4b07e231.js → swirl-avatar-group.entry.3f7df0c4.js} +1 -1
- package/dist/{swirl-avatar.entry.2e1b637b.js → swirl-avatar.entry.76856d95.js} +1 -1
- package/dist/{swirl-badge.entry.5b6e6b8d.js → swirl-badge.entry.3f29f752.js} +1 -1
- package/dist/{swirl-banner.entry.4a52e229.js → swirl-banner.entry.253790e3.js} +1 -1
- package/dist/{swirl-button-group.entry.0434c47c.js → swirl-button-group.entry.1a5db5c7.js} +1 -1
- package/dist/{swirl-button.entry.4f4f6063.js → swirl-button.entry.db2250ae.js} +2 -2
- package/dist/{swirl-card.entry.131b6219.js → swirl-card.entry.73672a8b.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.1b68d855.js → swirl-carousel-slide.entry.013030f9.js} +1 -1
- package/dist/{swirl-carousel.entry.ff20395c.js → swirl-carousel.entry.2ededa78.js} +1 -1
- package/dist/{swirl-checkbox.entry.384e3c4d.js → swirl-checkbox.entry.2d7687f8.js} +1 -1
- package/dist/{swirl-chip.entry.a38c9d18.js → swirl-chip.entry.8b5c4e07.js} +1 -1
- package/dist/{swirl-columns.entry.397fb09d.js → swirl-columns.entry.c7c81c2a.js} +1 -1
- package/dist/swirl-components-react.js +271 -264
- package/dist/swirl-components-react.umd.cjs +45 -43
- package/dist/{swirl-console-layout.entry.c70393a4.js → swirl-console-layout.entry.42a6501f.js} +1 -1
- package/dist/{swirl-date-input.entry.57e248ea.js → swirl-date-input.entry.435ec1de.js} +1 -1
- package/dist/{swirl-date-picker_2.entry.bddbb099.js → swirl-date-picker_2.entry.a2207630.js} +1 -1
- package/dist/{swirl-description-list-item.entry.42a423b9.js → swirl-description-list-item.entry.39d5024b.js} +1 -1
- package/dist/{swirl-description-list.entry.85d56afd.js → swirl-description-list.entry.47cc4c1a.js} +1 -1
- package/dist/{swirl-dialog.entry.0ce71dc0.js → swirl-dialog.entry.d8ab572a.js} +1 -1
- package/dist/swirl-emoji-clap.entry.b423a516.js +17 -0
- package/dist/swirl-emoji-happy.entry.a6b837b4.js +17 -0
- package/dist/swirl-emoji-idea.entry.dc81fdfe.js +17 -0
- package/dist/swirl-emoji-love.entry.8fb2b77f.js +17 -0
- package/dist/swirl-emoji-sad.entry.9ca3175a.js +17 -0
- package/dist/swirl-emoji-thumbs-up.entry.db9d1d0f.js +17 -0
- package/dist/swirl-emoji.entry.a5397887.js +16 -0
- package/dist/{swirl-file-uploader.entry.0ae3a2ef.js → swirl-file-uploader.entry.a70db637.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.1246d911.js → swirl-file-viewer_7.entry.8499be78.js} +1 -1
- package/dist/swirl-form-control.entry.421c4b58.js +77 -0
- package/dist/{swirl-form-group.entry.6303a45c.js → swirl-form-group.entry.00533736.js} +1 -1
- package/dist/{swirl-heading.entry.8cf25246.js → swirl-heading.entry.932dc03e.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.e40d5c9d.js → swirl-icon-add-photo.entry.fecf22af.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.c4f1bfb2.js → swirl-icon-add_6.entry.2151ffd4.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.990bbd52.js → swirl-icon-admin-panel-settings.entry.8fa1b527.js} +1 -1
- package/dist/{swirl-icon-ai.entry.75fc0ae9.js → swirl-icon-ai.entry.dd25377f.js} +1 -1
- package/dist/{swirl-icon-arrow-back.entry.b78ba6b5.js → swirl-icon-arrow-back.entry.3ea0a021.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.b90c949d.js → swirl-icon-arrow-downward_2.entry.363cdd10.js} +1 -1
- package/dist/{swirl-icon-arrow-forward.entry.373d8f7e.js → swirl-icon-arrow-forward.entry.d1d7fc60.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.3832e812.js → swirl-icon-arrow-left_4.entry.c72c1950.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.2461a6ae.js → swirl-icon-arrow-right-small.entry.4426bf07.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.410f03e7.js → swirl-icon-attachment.entry.ec562366.js} +1 -1
- package/dist/{swirl-icon-bar-chart.entry.3c9f5777.js → swirl-icon-bar-chart.entry.afad4ba9.js} +1 -1
- package/dist/{swirl-icon-block.entry.670ecfdb.js → swirl-icon-block.entry.c710989a.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.8de39f45.js → swirl-icon-bookmark.entry.279caa52.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.8b462e0e.js → swirl-icon-cancel_4.entry.93acf02e.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.26386096.js → swirl-icon-chat-bubble.entry.5827a18e.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.e64d245d.js → swirl-icon-chats-filled.entry.6079c337.js} +1 -1
- package/dist/{swirl-icon-chats-outlined.entry.463420b0.js → swirl-icon-chats-outlined.entry.557aa432.js} +1 -1
- package/dist/{swirl-icon-check-circle_3.entry.dde5f2c6.js → swirl-icon-check-circle_3.entry.0beb2e23.js} +1 -1
- package/dist/{swirl-icon-check-small_3.entry.74cccf39.js → swirl-icon-check-small_3.entry.a1225e6a.js} +1 -1
- package/dist/{swirl-icon-check-strong.entry.3e3cf470.js → swirl-icon-check-strong.entry.869fa67c.js} +1 -1
- package/dist/{swirl-icon-check.entry.00c572a8.js → swirl-icon-check.entry.accd6d48.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.e3d3842f.js → swirl-icon-chevron-left.entry.83075a66.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.d74c5b4d.js → swirl-icon-chevron-right.entry.2428000e.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.04ca1baa.js → swirl-icon-close-small.entry.9bf55ad3.js} +1 -1
- package/dist/{swirl-icon-close.entry.27cf71af.js → swirl-icon-close.entry.c6067e14.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.979ba9de.js → swirl-icon-cloud-upload.entry.211b2b77.js} +1 -1
- package/dist/{swirl-icon-column.entry.3e915c52.js → swirl-icon-column.entry.e2ed4ae1.js} +1 -1
- package/dist/{swirl-icon-comment.entry.84c31ec2.js → swirl-icon-comment.entry.e4e78469.js} +1 -1
- package/dist/{swirl-icon-copy.entry.152a6e33.js → swirl-icon-copy.entry.5822832d.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.df0f3f42.js → swirl-icon-date-range.entry.a537bf50.js} +1 -1
- package/dist/{swirl-icon-delete.entry.9712e881.js → swirl-icon-delete.entry.86e975d4.js} +1 -1
- package/dist/{swirl-icon-description.entry.616e183f.js → swirl-icon-description.entry.0955c761.js} +1 -1
- package/dist/{swirl-icon-double-arrow-left.entry.4e417d9c.js → swirl-icon-double-arrow-left.entry.6e018ca1.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.657b35e0.js → swirl-icon-double-arrow-right.entry.c804b211.js} +1 -1
- package/dist/{swirl-icon-download.entry.388cccc9.js → swirl-icon-download.entry.24c5ec93.js} +1 -1
- package/dist/{swirl-icon-edit.entry.ad57845a.js → swirl-icon-edit.entry.7ca8481a.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.c26924b6.js → swirl-icon-emoji-mood.entry.5adde519.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.4e128ecf.js → swirl-icon-emoji-satisfied.entry.b11ea308.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.619ea4d8.js → swirl-icon-error_3.entry.55bb408c.js} +1 -1
- package/dist/{swirl-icon-expand-more.entry.23af759c.js → swirl-icon-expand-more.entry.b05518fd.js} +1 -1
- package/dist/{swirl-icon-filter.entry.d693f017.js → swirl-icon-filter.entry.25edf068.js} +1 -1
- package/dist/{swirl-icon-folder.entry.b94619ac.js → swirl-icon-folder.entry.62ec63c6.js} +1 -1
- package/dist/{swirl-icon-format-h-one.entry.ba5f30ec.js → swirl-icon-format-h-one.entry.40d1a342.js} +1 -1
- package/dist/{swirl-icon-gif.entry.6fd32d99.js → swirl-icon-gif.entry.f88c3724.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.161f7496.js → swirl-icon-group-assign.entry.ee0b7d56.js} +1 -1
- package/dist/{swirl-icon-groups-custom.entry.6e2c97cf.js → swirl-icon-groups-custom.entry.dc606686.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.79faa067.js → swirl-icon-groups-filled.entry.53c8155d.js} +1 -1
- package/dist/{swirl-icon-groups-outlined.entry.ab5cf1df.js → swirl-icon-groups-outlined.entry.626b7a39.js} +1 -1
- package/dist/{swirl-icon-groups.entry.635406b4.js → swirl-icon-groups.entry.1bb85c79.js} +1 -1
- package/dist/{swirl-icon-help.entry.42189363.js → swirl-icon-help.entry.8319d152.js} +1 -1
- package/dist/{swirl-icon-highlight.entry.24a7260c.js → swirl-icon-highlight.entry.730b780a.js} +1 -1
- package/dist/{swirl-icon-home.entry.9daace8c.js → swirl-icon-home.entry.13deba1a.js} +1 -1
- package/dist/{swirl-icon-image.entry.a5c7daa9.js → swirl-icon-image.entry.7b5f01ed.js} +1 -1
- package/dist/{swirl-icon-improve-text.entry.ce36dbe1.js → swirl-icon-improve-text.entry.1a0ca1eb.js} +1 -1
- package/dist/{swirl-icon-insert-below.entry.e456bce2.js → swirl-icon-insert-below.entry.72574807.js} +1 -1
- package/dist/{swirl-icon-insert-on-top.entry.3c712763.js → swirl-icon-insert-on-top.entry.cdd32937.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.60847266.js → swirl-icon-inventory.entry.4c52ee70.js} +1 -1
- package/dist/{swirl-icon-like.entry.b2cfac3e.js → swirl-icon-like.entry.c9afe9a6.js} +1 -1
- package/dist/{swirl-icon-link.entry.232c162e.js → swirl-icon-link.entry.9f546126.js} +1 -1
- package/dist/{swirl-icon-lock-person.entry.a2b0fb8e.js → swirl-icon-lock-person.entry.9151810d.js} +1 -1
- package/dist/{swirl-icon-lock.entry.db78d302.js → swirl-icon-lock.entry.5bc79c86.js} +1 -1
- package/dist/{swirl-icon-logout.entry.121292f5.js → swirl-icon-logout.entry.92e389b7.js} +1 -1
- package/dist/{swirl-icon-long-text.entry.666953b5.js → swirl-icon-long-text.entry.2ae69f2f.js} +1 -1
- package/dist/{swirl-icon-mail.entry.2d6e0ec9.js → swirl-icon-mail.entry.fc32d3f4.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.8d09320c.js → swirl-icon-manage-accounts.entry.2c6537d3.js} +1 -1
- package/dist/{swirl-icon-mark-chat-read.entry.a3855b5d.js → swirl-icon-mark-chat-read.entry.06afdac0.js} +1 -1
- package/dist/{swirl-icon-mark-chat-unread.entry.46aca105.js → swirl-icon-mark-chat-unread.entry.1838f1be.js} +1 -1
- package/dist/{swirl-icon-mention.entry.24c2dfd7.js → swirl-icon-mention.entry.967f5726.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.8f4e822e.js → swirl-icon-menu-filled.entry.2a295893.js} +1 -1
- package/dist/{swirl-icon-menu-outlined.entry.a6f0cfcc.js → swirl-icon-menu-outlined.entry.36406c7c.js} +1 -1
- package/dist/{swirl-icon-menu.entry.151c3d4a.js → swirl-icon-menu.entry.9f330727.js} +1 -1
- package/dist/{swirl-icon-message.entry.88a58d20.js → swirl-icon-message.entry.20d6f89d.js} +1 -1
- package/dist/{swirl-icon-mic.entry.02f33d2c.js → swirl-icon-mic.entry.37f2df1c.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.976bee31.js → swirl-icon-more-horizontal.entry.ecfaeae2.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.d3e2861a.js → swirl-icon-news-filled.entry.26965c60.js} +1 -1
- package/dist/{swirl-icon-news-outlined.entry.ee59aa3d.js → swirl-icon-news-outlined.entry.82906156.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.e668854a.js → swirl-icon-notifications-active.entry.510ac00d.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.bf2c4d06.js → swirl-icon-notifications-off.entry.d2c6abcb.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.fabc9684.js → swirl-icon-notifications.entry.86904d1e.js} +1 -1
- package/dist/{swirl-icon-open-in-full.entry.77e6503f.js → swirl-icon-open-in-full.entry.c7ac821d.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.2a9955fc.js → swirl-icon-open-in-new.entry.a957bea8.js} +1 -1
- package/dist/{swirl-icon-pause-circle.entry.c76f0cb5.js → swirl-icon-pause-circle.entry.cea83e42.js} +1 -1
- package/dist/{swirl-icon-pause.entry.0723ae70.js → swirl-icon-pause.entry.ac3c3186.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.8b3d8fb3.js → swirl-icon-people-alt.entry.c563dbc6.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.9fd67c3a.js → swirl-icon-person-off.entry.8bfeda03.js} +1 -1
- package/dist/{swirl-icon-person.entry.0284e32a.js → swirl-icon-person.entry.614d34a0.js} +1 -1
- package/dist/{swirl-icon-phone.entry.c5a4a41a.js → swirl-icon-phone.entry.f2b24556.js} +1 -1
- package/dist/{swirl-icon-play-arrow.entry.0a483a91.js → swirl-icon-play-arrow.entry.f7b5b289.js} +1 -1
- package/dist/{swirl-icon-poll.entry.348a746e.js → swirl-icon-poll.entry.6a703aca.js} +1 -1
- package/dist/{swirl-icon-print.entry.b6dd7214.js → swirl-icon-print.entry.c2d73913.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.b780ed24.js → swirl-icon-recieved.entry.c2b82db5.js} +1 -1
- package/dist/{swirl-icon-reply.entry.ee10fbe6.js → swirl-icon-reply.entry.3b34405f.js} +1 -1
- package/dist/{swirl-icon-report.entry.39142c2c.js → swirl-icon-report.entry.5882a2a2.js} +1 -1
- package/dist/{swirl-icon-roadmap.entry.da0654b8.js → swirl-icon-roadmap.entry.8374b661.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.d47b4ce6.js → swirl-icon-search-strong.entry.606eb7ba.js} +1 -1
- package/dist/{swirl-icon-search.entry.b6e8b87b.js → swirl-icon-search.entry.f3305be1.js} +1 -1
- package/dist/{swirl-icon-send.entry.97e1a3f3.js → swirl-icon-send.entry.f20a032d.js} +1 -1
- package/dist/{swirl-icon-settings.entry.b3d0b498.js → swirl-icon-settings.entry.218bda0e.js} +1 -1
- package/dist/{swirl-icon-short-text.entry.ef0a80a6.js → swirl-icon-short-text.entry.9fa73a19.js} +1 -1
- package/dist/{swirl-icon-simplify.entry.5e5137fd.js → swirl-icon-simplify.entry.dea95fd4.js} +1 -1
- package/dist/{swirl-icon-spellcheck.entry.516027f1.js → swirl-icon-spellcheck.entry.c177b951.js} +1 -1
- package/dist/{swirl-icon-stop.entry.e9c78225.js → swirl-icon-stop.entry.4950305d.js} +1 -1
- package/dist/{swirl-icon-sync.entry.3a16710e.js → swirl-icon-sync.entry.6020eea2.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.baec9c35.js → swirl-icon-tasks-filled.entry.f32e697f.js} +1 -1
- package/dist/{swirl-icon-tasks-outlined.entry.4b0a25d8.js → swirl-icon-tasks-outlined.entry.535a2eca.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.9e1fd84e.js → swirl-icon-time-filled.entry.e5cc72d8.js} +1 -1
- package/dist/{swirl-icon-time-outlined.entry.77083bab.js → swirl-icon-time-outlined.entry.4c20d444.js} +1 -1
- package/dist/{swirl-icon-translate.entry.263994d5.js → swirl-icon-translate.entry.36d30b37.js} +1 -1
- package/dist/{swirl-icon-undo.entry.b3d0f1c3.js → swirl-icon-undo.entry.d5a0c5d6.js} +1 -1
- package/dist/{swirl-icon-unlock-person.entry.923315b2.js → swirl-icon-unlock-person.entry.479ed334.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.b05beacf.js → swirl-icon-user-assign.entry.c865c8f8.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.27695276.js → swirl-icon-video-camera.entry.eb0ed13f.js} +1 -1
- package/dist/{swirl-icon-video-library.entry.72142c31.js → swirl-icon-video-library.entry.1560c7fc.js} +1 -1
- package/dist/{swirl-icon-voice.entry.9093ad82.js → swirl-icon-voice.entry.5253f976.js} +1 -1
- package/dist/{swirl-icon.entry.ee2fa0e6.js → swirl-icon.entry.268fa707.js} +4 -4
- package/dist/{swirl-image-grid-item.entry.d5d22401.js → swirl-image-grid-item.entry.576bea5b.js} +1 -1
- package/dist/{swirl-image-grid.entry.ca3bd50d.js → swirl-image-grid.entry.34885402.js} +1 -1
- package/dist/{swirl-inline-notification.entry.f3611b7a.js → swirl-inline-notification.entry.79781379.js} +1 -1
- package/dist/{swirl-inline-status.entry.bae5f09d.js → swirl-inline-status.entry.524286d4.js} +1 -1
- package/dist/{swirl-lightbox.entry.554ee93e.js → swirl-lightbox.entry.3ee36430.js} +1 -1
- package/dist/{swirl-link.entry.a6a752e5.js → swirl-link.entry.106859d1.js} +1 -1
- package/dist/{swirl-list.entry.8a58502d.js → swirl-list.entry.2eead45d.js} +1 -1
- package/dist/{swirl-menu-item.entry.9136ea00.js → swirl-menu-item.entry.255d0844.js} +1 -1
- package/dist/{swirl-menu.entry.ec13bb0f.js → swirl-menu.entry.3c0a44a0.js} +1 -1
- package/dist/{swirl-modal.entry.a4c13a61.js → swirl-modal.entry.8db602ec.js} +1 -1
- package/dist/{swirl-option-list-section.entry.514596ed.js → swirl-option-list-section.entry.11984a20.js} +1 -1
- package/dist/{swirl-option-list.entry.69b4d845.js → swirl-option-list_2.entry.8ac4882c.js} +33 -15
- package/dist/{swirl-pagination.entry.4edac1ca.js → swirl-pagination.entry.0dc80061.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.e6ecb742.js → swirl-pdf-reader.entry.1815131a.js} +1 -1
- package/dist/{swirl-popover_2.entry.d5a5fff3.js → swirl-popover_2.entry.002b17e6.js} +1 -1
- package/dist/{swirl-progress-indicator.entry.05bca8c4.js → swirl-progress-indicator.entry.77a1a8b4.js} +1 -1
- package/dist/{swirl-radio-group.entry.ab2320df.js → swirl-radio-group.entry.a5ec7575.js} +1 -1
- package/dist/{swirl-radio.entry.945131f0.js → swirl-radio.entry.a48981f2.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.271dccbb.js → swirl-resource-list-file-item.entry.3eb1ae5e.js} +1 -1
- package/dist/{swirl-search.entry.9c9615f3.js → swirl-search.entry.5bfaefbe.js} +1 -1
- package/dist/{swirl-select.entry.26d65d09.js → swirl-select.entry.c209c0f3.js} +3 -3
- package/dist/{swirl-shell-layout.entry.7cf3394a.js → swirl-shell-layout.entry.dc5ea772.js} +1 -1
- package/dist/{swirl-shell-navigation-item.entry.ce310418.js → swirl-shell-navigation-item.entry.67ff3671.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.e79c3f35.js → swirl-skeleton-box.entry.c6c43015.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.3f711264.js → swirl-skeleton-text.entry.9f41e885.js} +1 -1
- package/dist/{swirl-stack.entry.3abaf583.js → swirl-stack.entry.b4ee1187.js} +1 -1
- package/dist/{swirl-status-indicator.entry.a85d6f73.js → swirl-status-indicator.entry.861b8aa3.js} +1 -1
- package/dist/{swirl-switch.entry.3d58812f.js → swirl-switch.entry.b8b9a168.js} +1 -1
- package/dist/{swirl-symbol-account-circle.entry.3140030c.js → swirl-symbol-account-circle.entry.686220a8.js} +1 -1
- package/dist/{swirl-symbol-alternate-email.entry.cfb2df21.js → swirl-symbol-alternate-email.entry.378c3527.js} +1 -1
- package/dist/{swirl-symbol-android.entry.b92469dd.js → swirl-symbol-android.entry.60da032a.js} +1 -1
- package/dist/{swirl-symbol-announcement.entry.1ee114b4.js → swirl-symbol-announcement.entry.98d7a3a9.js} +1 -1
- package/dist/{swirl-symbol-backup.entry.4c6c2729.js → swirl-symbol-backup.entry.c61a3cbd.js} +1 -1
- package/dist/{swirl-symbol-beach-access.entry.50f755fd.js → swirl-symbol-beach-access.entry.9797a3de.js} +1 -1
- package/dist/{swirl-symbol-bookmark.entry.74622ab9.js → swirl-symbol-bookmark.entry.95efd057.js} +1 -1
- package/dist/{swirl-symbol-cloud.entry.acf7e7ee.js → swirl-symbol-cloud.entry.f1994a00.js} +1 -1
- package/dist/{swirl-symbol-coronavirus.entry.ad2ec679.js → swirl-symbol-coronavirus.entry.6e3775f0.js} +1 -1
- package/dist/{swirl-symbol-desktop-windows.entry.9701a762.js → swirl-symbol-desktop-windows.entry.50f1bf9b.js} +1 -1
- package/dist/{swirl-symbol-directions-car-filled.entry.ae4fd9f2.js → swirl-symbol-directions-car-filled.entry.518faefb.js} +1 -1
- package/dist/{swirl-symbol-edit-calendar.entry.40abf315.js → swirl-symbol-edit-calendar.entry.af654b69.js} +1 -1
- package/dist/{swirl-symbol-email.entry.034b7ecc.js → swirl-symbol-email.entry.4a7aed98.js} +1 -1
- package/dist/{swirl-symbol-emoji-food-beverage.entry.6f29f8ea.js → swirl-symbol-emoji-food-beverage.entry.8b85e1b2.js} +1 -1
- package/dist/{swirl-symbol-event-menu.entry.22aa9759.js → swirl-symbol-event-menu.entry.5457c4b2.js} +1 -1
- package/dist/{swirl-symbol-facebook.entry.630a5034.js → swirl-symbol-facebook.entry.f71661ac.js} +1 -1
- package/dist/{swirl-symbol-favorite.entry.1a3166c7.js → swirl-symbol-favorite.entry.393c1641.js} +1 -1
- package/dist/{swirl-symbol-fitness-center.entry.a7df7856.js → swirl-symbol-fitness-center.entry.3a3b0b85.js} +1 -1
- package/dist/{swirl-symbol-flag.entry.0e799a1b.js → swirl-symbol-flag.entry.c749e59b.js} +1 -1
- package/dist/{swirl-symbol-folder.entry.d8b997af.js → swirl-symbol-folder.entry.f3063f44.js} +1 -1
- package/dist/{swirl-symbol-globe.entry.5972f568.js → swirl-symbol-globe.entry.67033416.js} +1 -1
- package/dist/{swirl-symbol-groups.entry.964fc2bd.js → swirl-symbol-groups.entry.97117e2b.js} +1 -1
- package/dist/{swirl-symbol-help.entry.4e83d93a.js → swirl-symbol-help.entry.0de148ca.js} +1 -1
- package/dist/{swirl-symbol-image.entry.a54c0a65.js → swirl-symbol-image.entry.27d84ea3.js} +1 -1
- package/dist/{swirl-symbol-info-menu.entry.b2dd8e24.js → swirl-symbol-info-menu.entry.475515e1.js} +1 -1
- package/dist/{swirl-symbol-instagram.entry.febf1775.js → swirl-symbol-instagram.entry.b8d5e48e.js} +1 -1
- package/dist/{swirl-symbol-ios.entry.7cb0093e.js → swirl-symbol-ios.entry.d84c6a7f.js} +1 -1
- package/dist/{swirl-symbol-language.entry.6a4e0cc2.js → swirl-symbol-language.entry.79896ec5.js} +1 -1
- package/dist/{swirl-symbol-leaderboard.entry.e9bebd58.js → swirl-symbol-leaderboard.entry.35e29df4.js} +1 -1
- package/dist/{swirl-symbol-lightbulb.entry.fc24d7dd.js → swirl-symbol-lightbulb.entry.1fdf41d9.js} +1 -1
- package/dist/{swirl-symbol-linkedin.entry.92d85d88.js → swirl-symbol-linkedin.entry.1e5617e4.js} +1 -1
- package/dist/{swirl-symbol-location-on.entry.4bf80119.js → swirl-symbol-location-on.entry.1e2256d6.js} +1 -1
- package/dist/{swirl-symbol-loyalty.entry.76132d57.js → swirl-symbol-loyalty.entry.986c5d0f.js} +1 -1
- package/dist/{swirl-symbol-maps-home-work.entry.a64b5d99.js → swirl-symbol-maps-home-work.entry.22f1bedf.js} +1 -1
- package/dist/{swirl-symbol-notifications.entry.4781532d.js → swirl-symbol-notifications.entry.b0724d98.js} +1 -1
- package/dist/{swirl-symbol-open-in-new.entry.bbd7d2f7.js → swirl-symbol-open-in-new.entry.2d7401c6.js} +1 -1
- package/dist/{swirl-symbol-pedal-bike.entry.96149b14.js → swirl-symbol-pedal-bike.entry.024e9ec3.js} +1 -1
- package/dist/{swirl-symbol-pinterest.entry.0d2c7732.js → swirl-symbol-pinterest.entry.29b77af0.js} +1 -1
- package/dist/{swirl-symbol-policy.entry.b84b0a6b.js → swirl-symbol-policy.entry.911b5cb9.js} +1 -1
- package/dist/{swirl-symbol-push-pin.entry.2aba510a.js → swirl-symbol-push-pin.entry.3e10046b.js} +1 -1
- package/dist/{swirl-symbol-redeem.entry.1845b673.js → swirl-symbol-redeem.entry.6398129d.js} +1 -1
- package/dist/{swirl-symbol-report-problem.entry.ff922584.js → swirl-symbol-report-problem.entry.a4c21319.js} +1 -1
- package/dist/{swirl-symbol-restaurant.entry.9dfae4e2.js → swirl-symbol-restaurant.entry.63f03371.js} +1 -1
- package/dist/{swirl-symbol-roadmap.entry.c03349c5.js → swirl-symbol-roadmap.entry.766e914f.js} +1 -1
- package/dist/{swirl-symbol-room.entry.3c11cef2.js → swirl-symbol-room.entry.12c39cde.js} +1 -1
- package/dist/{swirl-symbol-savings.entry.a7dda9ad.js → swirl-symbol-savings.entry.9a0f890e.js} +1 -1
- package/dist/{swirl-symbol-settings-voice.entry.5fb9bab7.js → swirl-symbol-settings-voice.entry.424ce9ce.js} +1 -1
- package/dist/{swirl-symbol-shopping-cart.entry.cfc00400.js → swirl-symbol-shopping-cart.entry.b1993352.js} +1 -1
- package/dist/{swirl-symbol-smartphone.entry.832e6ab2.js → swirl-symbol-smartphone.entry.bc4a8a30.js} +1 -1
- package/dist/{swirl-symbol-star.entry.3783a54f.js → swirl-symbol-star.entry.aef2230a.js} +1 -1
- package/dist/{swirl-symbol-supervisor-account.entry.95b3914d.js → swirl-symbol-supervisor-account.entry.488e2eb5.js} +1 -1
- package/dist/{swirl-symbol-thumbs-up-down.entry.61ddfe2d.js → swirl-symbol-thumbs-up-down.entry.581ce2de.js} +1 -1
- package/dist/{swirl-symbol-twitter.entry.4cc61a0a.js → swirl-symbol-twitter.entry.b8fe8d92.js} +1 -1
- package/dist/{swirl-symbol-wb-sunny.entry.78b99b07.js → swirl-symbol-wb-sunny.entry.e78aa632.js} +1 -1
- package/dist/{swirl-symbol-wechat.entry.aa6a5b93.js → swirl-symbol-wechat.entry.0f4ede56.js} +1 -1
- package/dist/{swirl-symbol-weibo.entry.859c7351.js → swirl-symbol-weibo.entry.1c3ae705.js} +1 -1
- package/dist/{swirl-symbol-work.entry.18079c62.js → swirl-symbol-work.entry.ccee9511.js} +1 -1
- package/dist/{swirl-symbol-xing.entry.e8a4c307.js → swirl-symbol-xing.entry.27e73fe5.js} +1 -1
- package/dist/{swirl-symbol-youtube.entry.05a97cad.js → swirl-symbol-youtube.entry.a51f5035.js} +1 -1
- package/dist/{swirl-symbol.entry.d03817ae.js → swirl-symbol.entry.2e7bd060.js} +1 -1
- package/dist/swirl-tab-bar.entry.0753b841.js +33 -0
- package/dist/{swirl-tab.entry.34fcf0c1.js → swirl-tab.entry.95278952.js} +5 -5
- package/dist/{swirl-table-cell.entry.4bbcd337.js → swirl-table-cell.entry.e76f52c5.js} +1 -1
- package/dist/{swirl-table-column.entry.379986f2.js → swirl-table-column.entry.c099f65e.js} +1 -1
- package/dist/{swirl-table-row-group.entry.9d98e6b1.js → swirl-table-row-group.entry.0d39f5c7.js} +1 -1
- package/dist/{swirl-table-row.entry.10ad2a39.js → swirl-table-row.entry.14be267f.js} +1 -1
- package/dist/{swirl-table.entry.cc1b1aea.js → swirl-table.entry.2051e0c3.js} +1 -1
- package/dist/{swirl-tabs.entry.79270dee.js → swirl-tabs.entry.a05a8737.js} +5 -4
- package/dist/{swirl-text-input.entry.563ae85d.js → swirl-text-input.entry.cd50fa7b.js} +6 -6
- package/dist/{swirl-text.entry.0ac7e73a.js → swirl-text.entry.659a273a.js} +1 -1
- package/dist/{swirl-theme-provider.entry.c1a5a6dc.js → swirl-theme-provider.entry.e3b6e27e.js} +1 -1
- package/dist/{swirl-time-input.entry.be8b4bfe.js → swirl-time-input.entry.47b2d112.js} +1 -1
- package/dist/{swirl-toast-provider.entry.118fb4bf.js → swirl-toast-provider.entry.9f9e2ca4.js} +1 -1
- package/dist/{swirl-toast.entry.ad010649.js → swirl-toast.entry.700d56b2.js} +1 -1
- package/dist/{swirl-tooltip.entry.6517efa5.js → swirl-tooltip.entry.2f88afcb.js} +1 -1
- package/dist/{swirl-tree-navigation-item.entry.fcae79a1.js → swirl-tree-navigation-item.entry.12309124.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.dd3154d0.js → swirl-video-thumbnail.entry.41fcc4e6.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.7c3f627a.js → swirl-visually-hidden.entry.fe592f49.js} +1 -1
- package/dist/{wc-datepicker.entry.7eb44c98.js → wc-datepicker.entry.1d53db37.js} +1 -1
- package/package.json +2 -2
- package/dist/index.b2639202.js +0 -2806
- package/dist/swirl-autocomplete.entry.b6d0d4b3.js +0 -69
- package/dist/swirl-form-control.entry.6fe6d752.js +0 -77
- package/dist/swirl-tab-bar.entry.f885360a.js +0 -33
- package/dist/swirl-tag.entry.b01c5cc3.js +0 -23
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { r as n, c as r, h as o, H as u, g as c } from "./index.b2639202.js";
|
|
2
|
-
import { a as h, c as d, o as p } from "./floating-ui.dom.esm-ac7cc24e.79b318e4.js";
|
|
3
|
-
import { c as m } from "./index-d280dafb.186cdb0e.js";
|
|
4
|
-
import { d as b } from "./utils-bc84f36e.1fee9865.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
const g = ".sc-swirl-autocomplete-h{display:block}.sc-swirl-autocomplete-h *.sc-swirl-autocomplete{box-sizing:border-box}.autocomplete--inactive.sc-swirl-autocomplete .autocomplete__listbox-container.sc-swirl-autocomplete{display:none}.autocomplete__listbox-container.sc-swirl-autocomplete{position:fixed;z-index:var(--s-z-40);overflow:hidden;padding-top:var(--s-space-8);padding-bottom:var(--s-space-8);border-radius:var(--s-border-radius-sm);background-color:var(--s-surface-overlay-default);box-shadow:var(--s-shadow-level-1)}.autocomplete__listbox-container.sc-swirl-autocomplete:empty{display:none}.autocomplete__spinner.sc-swirl-autocomplete{display:flex;padding:var(--s-space-16);justify-content:center;align-items:center}", f = class {
|
|
8
|
-
constructor(i) {
|
|
9
|
-
n(this, i), this.valueChange = r(this, "valueChange", 7), this.onChange = b(async (t) => {
|
|
10
|
-
this.value = t.detail, this.valueChange.emit(this.value), this.updateSuggestions(), this.open();
|
|
11
|
-
}, 250, !1), this.onSelect = (t) => {
|
|
12
|
-
var s;
|
|
13
|
-
Boolean(t.detail[0]) && (this.value = t.detail[0], this.valueChange.emit(this.value)), (s = this.inputEl.querySelector("input")) == null || s.focus(), this.close();
|
|
14
|
-
}, this.onFocusOut = (t) => {
|
|
15
|
-
const s = t.relatedTarget;
|
|
16
|
-
Boolean(s) && !this.el.contains(s) && this.close();
|
|
17
|
-
}, this.onFocus = () => {
|
|
18
|
-
this.updateSuggestions(), this.open();
|
|
19
|
-
}, this.onKeyDown = (t) => {
|
|
20
|
-
t.code === "Escape" && (t.preventDefault(), this.inputEl.querySelector("input").focus(), this.close());
|
|
21
|
-
}, this.onInputKeyDown = (t) => {
|
|
22
|
-
t.code === "ArrowDown" && (t.preventDefault(), this.listboxEl.querySelector('[role="listbox"]').focus());
|
|
23
|
-
}, this.autoSelect = void 0, this.clearable = !0, this.clearButtonLabel = "Clear input", this.disabled = void 0, this.generateSuggestions = async () => [], this.inline = void 0, this.invalid = void 0, this.maxLength = void 0, this.menuLabel = "Suggestions", this.mode = void 0, this.required = void 0, this.spellCheck = void 0, this.swirlAriaDescribedby = void 0, this.value = void 0, this.active = !1, this.loading = !1, this.position = void 0, this.suggestions = [];
|
|
24
|
-
}
|
|
25
|
-
componentWillLoad() {
|
|
26
|
-
const i = document.querySelectorAll("swirl-datepicker").length;
|
|
27
|
-
this.id = `autocomplete-${i}`;
|
|
28
|
-
}
|
|
29
|
-
onWindowClick(i) {
|
|
30
|
-
const t = i.target;
|
|
31
|
-
this.el.contains(t) || this.close();
|
|
32
|
-
}
|
|
33
|
-
async close() {
|
|
34
|
-
!this.active || (this.disableAutoUpdate && this.disableAutoUpdate(), this.active = !1);
|
|
35
|
-
}
|
|
36
|
-
async open() {
|
|
37
|
-
this.active || (this.active = !0, requestAnimationFrame(async () => {
|
|
38
|
-
await this.reposition(), this.disableAutoUpdate && this.disableAutoUpdate(), this.disableAutoUpdate = h(this.inputEl, this.listboxContainerEl, this.reposition.bind(this)), this.listboxContainerEl.scrollTop = 0;
|
|
39
|
-
}));
|
|
40
|
-
}
|
|
41
|
-
async reposition() {
|
|
42
|
-
!Boolean(this.listboxContainerEl) || (this.position = await d(this.inputEl, this.listboxContainerEl, {
|
|
43
|
-
middleware: [p({ crossAxis: -16, mainAxis: 16 })],
|
|
44
|
-
placement: "bottom-start",
|
|
45
|
-
strategy: "fixed"
|
|
46
|
-
}));
|
|
47
|
-
}
|
|
48
|
-
async updateSuggestions() {
|
|
49
|
-
this.loading = !0, this.suggestions = [], this.suggestions = await this.generateSuggestions(this.value), this.loading = !1;
|
|
50
|
-
}
|
|
51
|
-
render() {
|
|
52
|
-
var s, a, l;
|
|
53
|
-
const i = `${this.id}-suggestions`, t = m("autocomplete", {
|
|
54
|
-
"autocomplete--inactive": !this.active
|
|
55
|
-
});
|
|
56
|
-
return o(u, null, o("div", { class: t, onFocusout: this.onFocusOut, onKeyDown: this.onKeyDown }, o("swirl-text-input", { autoSelect: this.autoSelect, class: "autocomplete__input", clearable: this.clearable, clearButtonLabel: this.clearButtonLabel, disabled: this.disabled, disableDynamicWidth: !0, id: this.id, inline: this.inline, invalid: this.invalid, onInputFocus: this.onFocus, onKeyDown: this.onInputKeyDown, onValueChange: this.onChange, maxLength: this.maxLength, mode: this.mode, ref: (e) => this.inputEl = e, required: this.required, spellCheck: this.spellCheck, swirlAriaAutocomplete: "list", swirlAriaControls: i, swirlAriaDescribedby: this.swirlAriaDescribedby, swirlAriaExpanded: String(this.active), swirlRole: "combobox", value: this.value }), o("div", { class: "autocomplete__listbox-container", ref: (e) => this.listboxContainerEl = e, style: {
|
|
57
|
-
top: Boolean(this.position) ? `${(s = this.position) == null ? void 0 : s.y}px` : "",
|
|
58
|
-
left: Boolean(this.position) ? `${(a = this.position) == null ? void 0 : a.x}px` : "",
|
|
59
|
-
width: `${((l = this.inputEl) == null ? void 0 : l.getBoundingClientRect().width) + 32}px`
|
|
60
|
-
} }, this.loading && o("div", { class: "autocomplete__spinner" }, o("swirl-spinner", null)), this.suggestions.length > 0 && o("swirl-option-list", { label: this.menuLabel, onValueChange: this.onSelect, optionListId: i, ref: (e) => this.listboxEl = e, value: [this.value] }, this.suggestions.map((e) => o("swirl-option-list-item", { selected: this.value === e.label, key: e.id, disabled: e.disabled, label: e.label, value: e.label }))))));
|
|
61
|
-
}
|
|
62
|
-
get el() {
|
|
63
|
-
return c(this);
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
f.style = g;
|
|
67
|
-
export {
|
|
68
|
-
f as swirl_autocomplete
|
|
69
|
-
};
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { r as c, h as o, H as a, g as m } from "./index.b2639202.js";
|
|
2
|
-
import { c as f } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
-
import { a as h } from "./utils-bc84f36e.1fee9865.js";
|
|
4
|
-
import "react";
|
|
5
|
-
import "react-dom";
|
|
6
|
-
const d = ".sc-swirl-form-control-h{display:block;width:100%}.sc-swirl-form-control-h *.sc-swirl-form-control{box-sizing:border-box}.form-control.sc-swirl-form-control{display:block;width:100%;line-height:var(--s-line-height-sm)}.form-control.form-control--has-focus.sc-swirl-form-control:not(.form-control--disabled) .form-control__label.sc-swirl-form-control{border-color:var(--s-border-highlight);box-shadow:0 0 0 var(--s-border-width-default) var(--s-border-highlight)}.form-control.sc-swirl-form-control:not(.form-control--has-value):not(.form-control--has-focus):not(.form-control--is-select):not(.form-control--has-placeholder) .form-control__input.sc-swirl-form-control{overflow:hidden;max-height:0}.form-control.sc-swirl-form-control:not(.form-control--has-value):not(.form-control--has-focus):not(.form-control--is-select):not(.form-control--has-placeholder) .form-control__label-text.sc-swirl-form-control{bottom:50%;font-size:var(--s-font-size-base);transform:translateY(50%);opacity:1}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.form-control.sc-swirl-form-control:not(.form-control--has-value):not(.form-control--has-focus):not(.form-control--is-select):not(.form-control--has-placeholder) .form-control__label-text.sc-swirl-form-control{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.form-control.sc-swirl-form-control:not(.form-control--has-value).form-control--is-select .select__label.sc-swirl-form-control{overflow:hidden;max-height:0;pointer-events:none}.form-control.sc-swirl-form-control:not(.form-control--has-value).form-control--is-select .form-control__label-text.sc-swirl-form-control{bottom:50%;font-size:var(--s-font-size-base);transform:translateY(50%);opacity:1}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.form-control.sc-swirl-form-control:not(.form-control--has-value).form-control--is-select .form-control__label-text.sc-swirl-form-control{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.form-control--label-position-outside.sc-swirl-form-control{padding-top:calc(var(--s-line-height-sm) + var(--s-space-4))}.form-control--label-position-outside.sc-swirl-form-control:not(.form-control--is-select) .form-control__label.sc-swirl-form-control{cursor:text}.form-control--label-position-outside.sc-swirl-form-control .form-control__label.sc-swirl-form-control{min-height:calc(2.375rem + 2 * var(--s-border-width-default));padding:var(--s-space-8) var(--s-space-12);gap:var(--s-space-2)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.form-control--label-position-outside.sc-swirl-form-control .form-control__label.sc-swirl-form-control{min-height:calc(2.25rem + 2 * var(--s-border-width-default))}}.form-control--label-position-outside.sc-swirl-form-control .form-control__label-text.sc-swirl-form-control,.form-control--label-position-outside.sc-swirl-form-control:not(.form-control--has-value):not(.form-control--has-focus):not(.form-control--is-select):not(.form-control--has-placeholder) .form-control__label-text.sc-swirl-form-control,.form-control--label-position-outside.sc-swirl-form-control:not(.form-control--has-value).form-control--is-select .form-control__label-text.sc-swirl-form-control{bottom:calc(100% + var(--s-space-4));left:0;color:var(--s-text-default);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium);transform:none;opacity:1}.form-control--label-position-outside.form-control--disabled.sc-swirl-form-control .form-control__label-text.sc-swirl-form-control,.form-control--label-position-outside.form-control--disabled.sc-swirl-form-control:not(.form-control--has-value):not(.form-control--has-focus):not(.form-control--is-select):not(.form-control--has-placeholder) .form-control__label-text.sc-swirl-form-control,.form-control--label-position-outside.form-control--disabled.sc-swirl-form-control:not(.form-control--has-value).form-control--is-select .form-control__label-text.sc-swirl-form-control{color:var(--s-text-disabled)}.form-control--label-position-outside.form-control--has-character-counter.sc-swirl-form-control .form-control__description.sc-swirl-form-control{max-width:calc(100% - 6rem)}.form-control--invalid.form-control--has-focus.sc-swirl-form-control:not(.form-control--disabled) .form-control__label.sc-swirl-form-control{border-color:var(--s-border-critical);box-shadow:0 0 0 var(--s-border-width-default) var(--s-border-critical)}.form-control--invalid.sc-swirl-form-control .form-control__label.sc-swirl-form-control{border-color:var(--s-border-critical)}.form-control--disabled.sc-swirl-form-control .form-control__label.sc-swirl-form-control{border-color:var(--s-border-disabled);color:var(--s-text-disabled)}.form-control--disabled.sc-swirl-form-control .form-control__description.sc-swirl-form-control{color:var(--s-text-disabled)}.form-control--inline.sc-swirl-form-control .form-control__label.sc-swirl-form-control{min-height:calc(2.375rem + 2 * var(--s-border-width-default));padding:var(--s-space-8) var(--s-space-12);gap:var(--s-space-2)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.form-control--inline.sc-swirl-form-control .form-control__label.sc-swirl-form-control{min-height:calc(2.25rem + 2 * var(--s-border-width-default))}}.form-control--inline.sc-swirl-form-control:not(.form-control--has-placeholder) .form-control__label-text.sc-swirl-form-control{right:var(--s-space-12);left:var(--s-space-12);transition:none;opacity:0}.form-control--inline.form-control--has-character-counter.sc-swirl-form-control .form-control__description.sc-swirl-form-control{max-width:calc(100% - 6rem)}.form-control--hide-label.sc-swirl-form-control .form-control__label-text.sc-swirl-form-control{position:absolute;display:inline;overflow:hidden;width:1px;height:1px;margin:-1px;padding:0;border:0;white-space:nowrap;word-wrap:normal;clip:rect(0, 0, 0, 0)}.form-control__label.sc-swirl-form-control{position:relative;display:flex;width:100%;min-height:4.375rem;padding:calc(var(--s-space-12) + 1.25rem) var(--s-space-16) var(--s-space-12);justify-content:center;border:var(--s-border-width-default) solid var(--s-border-strong);border-radius:var(--s-border-radius-sm);color:var(--s-text-subdued);flex-direction:column;gap:var(--s-space-2)}.form-control__label-text.sc-swirl-form-control{position:absolute;right:var(--s-space-16);bottom:calc(100% - 1.25rem - var(--s-space-12));left:var(--s-space-16);overflow:hidden;font-size:var(--s-font-size-sm);white-space:nowrap;text-overflow:ellipsis;transition:font-size 0.15s, transform 0.15s, top 0.15s;transform:none}.form-control__description.sc-swirl-form-control{display:block;margin-top:var(--s-space-4);padding-left:var(--s-space-4);color:var(--s-text-subdued);font-size:var(--s-font-size-sm)}.form-control__error-message.sc-swirl-form-control{display:block;margin-top:var(--s-space-4)}", p = class {
|
|
7
|
-
constructor(r) {
|
|
8
|
-
c(this, r), this.descriptionId = `form-control-description-${Math.round(Math.random() * 1e5)}`, this.listenToInputValueChanges = () => {
|
|
9
|
-
this.inputEl.addEventListener("valueChange", this.checkInputValue);
|
|
10
|
-
}, this.checkInputValue = () => {
|
|
11
|
-
var t;
|
|
12
|
-
this.inputValue = (t = this.inputEl) == null ? void 0 : t.value;
|
|
13
|
-
}, this.onFocusIn = () => {
|
|
14
|
-
this.hasFocus = !0;
|
|
15
|
-
}, this.onFocusOut = () => {
|
|
16
|
-
this.hasFocus = !1;
|
|
17
|
-
}, this.onKeyDown = (t) => {
|
|
18
|
-
t.key === "Tab" && setTimeout(() => {
|
|
19
|
-
this.el.contains(h()) || (this.hasFocus = !1);
|
|
20
|
-
});
|
|
21
|
-
}, this.description = void 0, this.disabled = void 0, this.errorMessage = void 0, this.hideLabel = void 0, this.inline = void 0, this.invalid = void 0, this.label = void 0, this.labelPosition = "inside", this.hasFocus = void 0, this.inputValue = void 0;
|
|
22
|
-
}
|
|
23
|
-
componentWillLoad() {
|
|
24
|
-
this.inputEl = this.el.children[0], this.associateDescriptionWithInputElement(), this.setInputElementDisabledState(), this.setInputElementInlineState(), this.setInputElementInvalidState(), this.setInputElementLabel(), this.checkInputValue(), this.listenToInputValueChanges();
|
|
25
|
-
}
|
|
26
|
-
associateDescriptionWithInputElement() {
|
|
27
|
-
!Boolean(this.description) || !Boolean(this.inputEl) || this.inputEl.setAttribute("swirl-aria-describedby", this.descriptionId);
|
|
28
|
-
}
|
|
29
|
-
setInputElementDisabledState() {
|
|
30
|
-
!Boolean(this.inputEl) || (this.disabled ? this.inputEl.setAttribute("disabled", "true") : this.inputEl.removeAttribute("disabled"));
|
|
31
|
-
}
|
|
32
|
-
setInputElementInlineState() {
|
|
33
|
-
!Boolean(this.inputEl) || (this.inline || this.labelPosition === "outside" ? this.inputEl.setAttribute("inline", "true") : this.inputEl.removeAttribute("inline"));
|
|
34
|
-
}
|
|
35
|
-
setInputElementInvalidState() {
|
|
36
|
-
!Boolean(this.inputEl) || (this.invalid ? this.inputEl.setAttribute("invalid", "true") : this.inputEl.removeAttribute("invalid"));
|
|
37
|
-
}
|
|
38
|
-
setInputElementLabel() {
|
|
39
|
-
!Boolean(this.inputEl) || this.inputEl.setAttribute("label", this.label);
|
|
40
|
-
}
|
|
41
|
-
onWindowClick(r) {
|
|
42
|
-
if (!this.hasFocus)
|
|
43
|
-
return;
|
|
44
|
-
const t = r.target;
|
|
45
|
-
this.el.contains(t) || (r.stopPropagation(), this.hasFocus = !1);
|
|
46
|
-
}
|
|
47
|
-
render() {
|
|
48
|
-
const r = Boolean(this.errorMessage), t = Boolean(this.description) && !r, s = Array.isArray(this.inputValue) ? this.inputValue.length > 0 : Boolean(this.inputValue), l = Boolean(this.inputEl.getAttribute("show-character-counter")), e = Boolean(this.inputEl.getAttribute("placeholder")), i = this.inputEl.tagName === "SWIRL-SELECT", n = f("form-control", `form-control--label-position-${this.labelPosition}`, {
|
|
49
|
-
"form-control--disabled": this.disabled,
|
|
50
|
-
"form-control--has-character-counter": l,
|
|
51
|
-
"form-control--has-focus": this.hasFocus,
|
|
52
|
-
"form-control--has-placeholder": e,
|
|
53
|
-
"form-control--has-value": s,
|
|
54
|
-
"form-control--hide-label": this.hideLabel,
|
|
55
|
-
"form-control--inline": this.inline,
|
|
56
|
-
"form-control--invalid": this.invalid,
|
|
57
|
-
"form-control--is-select": i
|
|
58
|
-
});
|
|
59
|
-
return o(a, { onFocusin: this.onFocusIn, onFocusout: this.onFocusOut, onKeyDown: this.onKeyDown }, o("div", { class: n, role: "group" }, o("label", { class: "form-control__label" }, o("span", { class: "form-control__label-text" }, this.label), o("span", { class: "form-control__input" }, o("slot", null))), t && o("span", { class: "form-control__description", id: this.descriptionId }, this.description), r && o("span", { "aria-live": "polite", class: "form-control__error-message", id: this.descriptionId }, o("swirl-inline-error", { message: this.errorMessage, size: "s" }))));
|
|
60
|
-
}
|
|
61
|
-
get el() {
|
|
62
|
-
return m(this);
|
|
63
|
-
}
|
|
64
|
-
static get watchers() {
|
|
65
|
-
return {
|
|
66
|
-
description: ["associateDescriptionWithInputElement"],
|
|
67
|
-
disabled: ["setInputElementDisabledState"],
|
|
68
|
-
inline: ["setInputElementInlineState"],
|
|
69
|
-
invalid: ["setInputElementInvalidState"],
|
|
70
|
-
label: ["setInputElementLabel"]
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
p.style = d;
|
|
75
|
-
export {
|
|
76
|
-
p as swirl_form_control
|
|
77
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { r, c as i, h as e, H as s } from "./index.b2639202.js";
|
|
2
|
-
import { c as b } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
-
import "react";
|
|
4
|
-
import "react-dom";
|
|
5
|
-
const o = '.sc-swirl-tab-bar-h{display:flex;height:var(--swirl-tab-bar-height)}.sc-swirl-tab-bar-h *.sc-swirl-tab-bar{box-sizing:border-box}.tab-bar.sc-swirl-tab-bar{position:relative;display:flex;width:100%;justify-content:flex-start;border-bottom:var(--swirl-tab-bar-border-width) solid var(--s-border-default)}.tab-bar__tab.sc-swirl-tab-bar{position:relative;display:block;min-width:0;margin:0;padding:var(--s-space-4) var(--s-space-8);border:none;color:var(--s-interactive-neutral-default);background-color:transparent;font:inherit;font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);cursor:pointer}.tab-bar__tab.sc-swirl-tab-bar:focus{outline:none}.tab-bar__tab.sc-swirl-tab-bar:focus-visible .tab-bar__tab-label.sc-swirl-tab-bar{border-radius:var(--s-border-radius-s);box-shadow:inset 0 0 0 0.125rem var(--s-focus-default)}.tab-bar__tab.sc-swirl-tab-bar:not(.tab-bar__tab--active):hover:after{position:absolute;bottom:0;left:50%;width:calc(100% - var(--s-space-8));height:0.1875rem;border-radius:0.125rem;background-color:var(--s-border-default);content:"";transform:translateX(-50%);pointer-events:none}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.tab-bar__tab.sc-swirl-tab-bar{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.tab-bar__tab-label.sc-swirl-tab-bar{display:block;overflow:hidden;width:100%;padding:var(--s-space-8) var(--s-space-8);text-align:center;white-space:nowrap;text-overflow:ellipsis}.tab-bar__tab--active.sc-swirl-tab-bar{color:var(--s-text-highlight)}.tab-bar__tab--active.sc-swirl-tab-bar:after{position:absolute;bottom:0;left:50%;width:calc(100% - var(--s-space-8));height:0.1875rem;border-radius:0.125rem;background-color:var(--s-border-highlight);content:"";transform:translateX(-50%);pointer-events:none}', n = class {
|
|
6
|
-
constructor(a) {
|
|
7
|
-
r(this, a), this.activateNextTab = i(this, "activateNextTab", 7), this.activatePreviousTab = i(this, "activatePreviousTab", 7), this.activateTab = i(this, "activateTab", 7), this.onKeyDown = (t) => {
|
|
8
|
-
t.code === "ArrowLeft" ? (t.preventDefault(), this.activatePreviousTab.emit()) : t.code === "ArrowRight" && (t.preventDefault(), this.activateNextTab.emit());
|
|
9
|
-
}, this.disableTabSemantics = void 0, this.label = void 0, this.tabs = [];
|
|
10
|
-
}
|
|
11
|
-
render() {
|
|
12
|
-
return e(s, null, e("div", { "aria-label": this.label, class: "tab-bar", onKeyDown: this.onKeyDown, role: this.disableTabSemantics ? void 0 : "tablist" }, this.tabs.map((a) => {
|
|
13
|
-
const t = b("tab-bar__tab", {
|
|
14
|
-
"tab-bar__tab--active": a.active
|
|
15
|
-
});
|
|
16
|
-
return e("button", {
|
|
17
|
-
"aria-controls": this.disableTabSemantics ? void 0 : a.id,
|
|
18
|
-
"aria-selected": this.disableTabSemantics ? void 0 : a.active ? "true" : "false",
|
|
19
|
-
class: t,
|
|
20
|
-
id: `tab-${a.id}`,
|
|
21
|
-
key: a.id,
|
|
22
|
-
onClick: () => this.activateTab.emit(a.id),
|
|
23
|
-
role: this.disableTabSemantics ? void 0 : "tab",
|
|
24
|
-
tabIndex: this.disableTabSemantics ? void 0 : a.active ? 0 : -1,
|
|
25
|
-
type: "button"
|
|
26
|
-
}, e("span", { class: "tab-bar__tab-label" }, a.label));
|
|
27
|
-
})));
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
n.style = o;
|
|
31
|
-
export {
|
|
32
|
-
n as swirl_tab_bar
|
|
33
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { r, c as s, h as t, H as n, g as i } from "./index.b2639202.js";
|
|
2
|
-
import { c as l } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
-
import "react";
|
|
4
|
-
import "react-dom";
|
|
5
|
-
const c = ":host{display:inline-flex;max-width:100%}:host *{box-sizing:border-box}.tag{display:inline-flex;max-width:100%;padding:var(--s-space-2) var(--s-space-8);align-items:center;border-radius:var(--s-border-radius-s);color:var(--s-text-default);background-color:var(--s-surface-neutral-subdued);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-sm);white-space:nowrap;gap:var(--s-space-4)}.tag--intent-info{color:var(--s-text-info);background-color:var(--s-surface-info-subdued)}.tag--intent-info .tag__removal-button{color:var(--icon-info)}.tag--intent-critical{color:var(--s-text-critical);background-color:var(--s-surface-critical-subdued)}.tag--intent-critical .tag__removal-button{color:var(--icon-critical)}.tag--intent-warning{color:var(--s-text-warning);background-color:var(--s-surface-warning-subdued)}.tag--intent-warning .tag__removal-button{color:var(--icon-warning)}.tag--intent-success{color:var(--s-text-success);background-color:var(--s-surface-success-subdued)}.tag--intent-success .tag__removal-button{color:var(--icon-success)}.tag__label{overflow:hidden;min-width:0;white-space:nowrap;text-overflow:ellipsis}.tag__removal-button{display:inline-flex;margin-right:calc(-1 * var(--s-space-4));padding:0;border:none;color:var(--s-icon-strong);background-color:transparent;cursor:pointer}.tag__removal-button:focus:not(:focus-visible){outline:none}.tag__removal-button:focus-visible{outline-color:var(--s-focus-default)}", u = class {
|
|
6
|
-
constructor(e) {
|
|
7
|
-
r(this, e), this.remove = s(this, "remove", 7), this.onRemove = (o) => {
|
|
8
|
-
var a;
|
|
9
|
-
(a = this.remove) == null || a.emit(o);
|
|
10
|
-
}, this.intent = "default", this.label = void 0, this.removable = void 0, this.removalButtonLabel = "Remove";
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
const e = l("tag", `tag--intent-${this.intent}`);
|
|
14
|
-
return t(n, null, t("span", { class: e, part: "tag" }, t("span", { class: "tag__label" }, this.label), this.removable && t("button", { "aria-label": this.removalButtonLabel, class: "tag__removal-button", onClick: this.onRemove, tabIndex: this.el.ariaHidden === "true" ? -1 : void 0, type: "button" }, t("swirl-icon-close", { size: 16 }))));
|
|
15
|
-
}
|
|
16
|
-
get el() {
|
|
17
|
-
return i(this);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
u.style = c;
|
|
21
|
-
export {
|
|
22
|
-
u as swirl_tag
|
|
23
|
-
};
|