@getflip/swirl-components-react 0.0.0-new-shell-20231128130728
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/README.md +4 -0
- package/dist/a11y-dialog.esm-d7a94c8c.bd6ae411.js +99 -0
- package/dist/bodyScrollLock.esm-ce6356d8.2c600fb9.js +93 -0
- package/dist/file-manager.entry.38457ac1.js +57 -0
- package/dist/floating-ui.dom.esm-ac7cc24e.79b318e4.js +780 -0
- package/dist/focus-trap.esm-37cd2d2b.724cca66.js +452 -0
- package/dist/index-d280dafb.186cdb0e.js +71 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.e5965a8a.js +2915 -0
- package/dist/maska-4866b970.5336f9cb.js +5420 -0
- package/dist/sortable.esm-8c3d5856.57c4f048.js +1229 -0
- package/dist/stencil-generated/index.d.ts +306 -0
- package/dist/stencil-generated/react-component-lib/createComponent.d.ts +10 -0
- package/dist/stencil-generated/react-component-lib/createOverlayComponent.d.ts +21 -0
- package/dist/stencil-generated/react-component-lib/index.d.ts +2 -0
- package/dist/stencil-generated/react-component-lib/interfaces.d.ts +29 -0
- package/dist/stencil-generated/react-component-lib/utils/attachProps.d.ts +12 -0
- package/dist/stencil-generated/react-component-lib/utils/case.d.ts +2 -0
- package/dist/stencil-generated/react-component-lib/utils/index.d.ts +10 -0
- package/dist/swirl-accordion-item.entry.741527ea.js +38 -0
- package/dist/swirl-accordion.entry.783de61a.js +36 -0
- package/dist/swirl-action-list-section.entry.7884f6d3.js +15 -0
- package/dist/swirl-action-list_3.entry.336ba911.js +83 -0
- package/dist/swirl-app-bar.entry.1a137585.js +45 -0
- package/dist/swirl-app-icon.entry.0f5a2f97.js +23 -0
- package/dist/swirl-app-layout_6.entry.1521cc72.js +327 -0
- package/dist/swirl-autocomplete.entry.ffefda4d.js +115 -0
- package/dist/swirl-avatar-group.entry.99938460.js +28 -0
- package/dist/swirl-avatar.entry.63c9bc2f.js +48 -0
- package/dist/swirl-badge.entry.f831e3ba.js +19 -0
- package/dist/swirl-banner.entry.62b1b388.js +47 -0
- package/dist/swirl-box.entry.cef3da26.js +42 -0
- package/dist/swirl-button-group.entry.d1365437.js +19 -0
- package/dist/swirl-button.entry.6693fe19.js +61 -0
- package/dist/swirl-card.entry.139358ac.js +43 -0
- package/dist/swirl-carousel-slide.entry.e5aa75c8.js +19 -0
- package/dist/swirl-carousel.entry.022eb63c.js +69 -0
- package/dist/swirl-checkbox.entry.ac8e5f0c.js +30 -0
- package/dist/swirl-chip.entry.58d154bc.js +41 -0
- package/dist/swirl-color-input.entry.03d4a7b0.js +269 -0
- package/dist/swirl-columns.entry.af9bb8c8.js +18 -0
- package/dist/swirl-components-react.js +310 -0
- package/dist/swirl-components-react.umd.cjs +383 -0
- package/dist/swirl-console-layout.entry.da154330.js +68 -0
- package/dist/swirl-date-input.entry.be6f26aa.js +80 -0
- package/dist/swirl-date-picker_2.entry.77533bb6.js +37 -0
- package/dist/swirl-description-list-item.entry.474237ca.js +23 -0
- package/dist/swirl-description-list.entry.87bfbd2c.js +15 -0
- package/dist/swirl-dialog.entry.3406a45d.js +44 -0
- package/dist/swirl-emoji-clap.entry.dc03619c.js +17 -0
- package/dist/swirl-emoji-happy.entry.4f231b56.js +17 -0
- package/dist/swirl-emoji-idea.entry.4ec13295.js +17 -0
- package/dist/swirl-emoji-love.entry.c391767e.js +17 -0
- package/dist/swirl-emoji-sad.entry.59771260.js +17 -0
- package/dist/swirl-emoji-thumbs-up.entry.92b3728b.js +17 -0
- package/dist/swirl-emoji.entry.dcfa7e9a.js +16 -0
- package/dist/swirl-file-uploader.entry.611709a7.js +31 -0
- package/dist/swirl-file-viewer_7.entry.4256e623.js +16427 -0
- package/dist/swirl-form-control.entry.a98574c9.js +86 -0
- package/dist/swirl-form-group.entry.c0c3fc26.js +17 -0
- package/dist/swirl-heading.entry.479591c1.js +26 -0
- package/dist/swirl-icon-add-photo.entry.b56fbf0a.js +17 -0
- package/dist/swirl-icon-add-reaction.entry.bb763e26.js +17 -0
- package/dist/swirl-icon-add_6.entry.e88710ef.js +72 -0
- package/dist/swirl-icon-admin-panel-settings.entry.38529404.js +17 -0
- package/dist/swirl-icon-ai.entry.3947d9fd.js +17 -0
- package/dist/swirl-icon-apps.entry.43da29af.js +17 -0
- package/dist/swirl-icon-arrow-back_3.entry.0ec779cb.js +39 -0
- package/dist/swirl-icon-arrow-downward_2.entry.5db48d10.js +28 -0
- package/dist/swirl-icon-arrow-left_4.entry.a745156f.js +52 -0
- package/dist/swirl-icon-arrow-right-small.entry.f71957dd.js +17 -0
- package/dist/swirl-icon-attachment.entry.7ce2a377.js +17 -0
- package/dist/swirl-icon-bar-chart.entry.b6732a1c.js +17 -0
- package/dist/swirl-icon-block.entry.58cf215a.js +17 -0
- package/dist/swirl-icon-bookmark.entry.54da117b.js +17 -0
- package/dist/swirl-icon-cancel_4.entry.e736ca50.js +50 -0
- package/dist/swirl-icon-chat-bubble.entry.11e43296.js +17 -0
- package/dist/swirl-icon-chats-filled.entry.4ab449f2.js +17 -0
- package/dist/swirl-icon-chats-outlined.entry.a566fe1f.js +17 -0
- package/dist/swirl-icon-check-circle_2.entry.0916adac.js +28 -0
- package/dist/swirl-icon-check-small_3.entry.b0b595f2.js +72 -0
- package/dist/swirl-icon-check-strong.entry.fc27f45d.js +17 -0
- package/dist/swirl-icon-check.entry.1b4002c9.js +17 -0
- package/dist/swirl-icon-chevron-left.entry.1fc94453.js +17 -0
- package/dist/swirl-icon-chevron-right.entry.24f12c52.js +17 -0
- package/dist/swirl-icon-close-small.entry.c1b29419.js +17 -0
- package/dist/swirl-icon-close.entry.75c72236.js +17 -0
- package/dist/swirl-icon-cloud-upload.entry.ab76558e.js +17 -0
- package/dist/swirl-icon-column.entry.d03b751b.js +17 -0
- package/dist/swirl-icon-comment.entry.32016143.js +17 -0
- package/dist/swirl-icon-copy.entry.f61fee12.js +17 -0
- package/dist/swirl-icon-date-range.entry.361b08f0.js +17 -0
- package/dist/swirl-icon-delete.entry.30c5c1ee.js +17 -0
- package/dist/swirl-icon-description.entry.6abae0e8.js +17 -0
- package/dist/swirl-icon-discover.entry.ba59a44e.js +17 -0
- package/dist/swirl-icon-double-arrow-left.entry.a5fa2721.js +17 -0
- package/dist/swirl-icon-double-arrow-right.entry.c88ba872.js +17 -0
- package/dist/swirl-icon-download.entry.42721c06.js +17 -0
- package/dist/swirl-icon-edit.entry.27e2a29a.js +17 -0
- package/dist/swirl-icon-emoji-mood.entry.de2168fe.js +17 -0
- package/dist/swirl-icon-emoji-satisfied.entry.32e0db6e.js +17 -0
- package/dist/swirl-icon-error_3.entry.23cd435a.js +56 -0
- package/dist/swirl-icon-expand-more.entry.b3b48b42.js +17 -0
- package/dist/swirl-icon-filter.entry.03d15319.js +17 -0
- package/dist/swirl-icon-folder.entry.c6401970.js +17 -0
- package/dist/swirl-icon-format-h-one.entry.8cadd550.js +17 -0
- package/dist/swirl-icon-gif.entry.d7d560b9.js +17 -0
- package/dist/swirl-icon-group-add.entry.42f3927e.js +17 -0
- package/dist/swirl-icon-group-assign.entry.cdfc2a9a.js +17 -0
- package/dist/swirl-icon-groups-custom.entry.94cd54d4.js +17 -0
- package/dist/swirl-icon-groups-filled.entry.d2b299a0.js +17 -0
- package/dist/swirl-icon-groups-outlined.entry.68110f5f.js +17 -0
- package/dist/swirl-icon-groups.entry.7b52773f.js +17 -0
- package/dist/swirl-icon-help.entry.d117d224.js +17 -0
- package/dist/swirl-icon-highlight.entry.45458438.js +17 -0
- package/dist/swirl-icon-home.entry.ffea2643.js +17 -0
- package/dist/swirl-icon-image.entry.ebb22d57.js +17 -0
- package/dist/swirl-icon-improve-text.entry.87a5e492.js +17 -0
- package/dist/swirl-icon-info.entry.52c62ada.js +17 -0
- package/dist/swirl-icon-insert-below.entry.de696181.js +17 -0
- package/dist/swirl-icon-insert-on-top.entry.0cf765d3.js +17 -0
- package/dist/swirl-icon-inventory.entry.e7195625.js +17 -0
- package/dist/swirl-icon-like.entry.2e14ba9b.js +17 -0
- package/dist/swirl-icon-link.entry.bb5085a2.js +17 -0
- package/dist/swirl-icon-lock-person.entry.b8433731.js +17 -0
- package/dist/swirl-icon-lock.entry.d7281a35.js +17 -0
- package/dist/swirl-icon-logout.entry.a69beb85.js +17 -0
- package/dist/swirl-icon-long-text.entry.086fe906.js +17 -0
- package/dist/swirl-icon-mail.entry.90a3ccc4.js +17 -0
- package/dist/swirl-icon-manage-accounts.entry.dee2113c.js +17 -0
- package/dist/swirl-icon-mark-chat-read.entry.9498efd3.js +17 -0
- package/dist/swirl-icon-mark-chat-unread.entry.4f09c26a.js +17 -0
- package/dist/swirl-icon-mention.entry.a9f67c22.js +17 -0
- package/dist/swirl-icon-menu-filled.entry.e59223c8.js +17 -0
- package/dist/swirl-icon-menu-outlined.entry.de79a0b2.js +17 -0
- package/dist/swirl-icon-menu.entry.fc7bf22d.js +17 -0
- package/dist/swirl-icon-message.entry.b820c5a1.js +17 -0
- package/dist/swirl-icon-mic.entry.5822c59c.js +17 -0
- package/dist/swirl-icon-more-horizontal.entry.7d3a8710.js +17 -0
- package/dist/swirl-icon-news-filled.entry.4a5bf3ab.js +17 -0
- package/dist/swirl-icon-news-outlined.entry.7ac5345b.js +17 -0
- package/dist/swirl-icon-notifications-active.entry.c5e7bf02.js +17 -0
- package/dist/swirl-icon-notifications-off.entry.39f48267.js +17 -0
- package/dist/swirl-icon-notifications.entry.d1db0a12.js +17 -0
- package/dist/swirl-icon-open-in-full.entry.88f52ffe.js +17 -0
- package/dist/swirl-icon-open-in-new.entry.3c1c0e70.js +17 -0
- package/dist/swirl-icon-pause-circle.entry.cd2e5f9e.js +17 -0
- package/dist/swirl-icon-pause.entry.687dd24e.js +17 -0
- package/dist/swirl-icon-people-alt.entry.b76529d4.js +17 -0
- package/dist/swirl-icon-person-off.entry.2775268a.js +17 -0
- package/dist/swirl-icon-person.entry.57275ca5.js +17 -0
- package/dist/swirl-icon-phone.entry.c5f47f81.js +17 -0
- package/dist/swirl-icon-play-arrow.entry.26280a6b.js +17 -0
- package/dist/swirl-icon-poll.entry.24788fe9.js +17 -0
- package/dist/swirl-icon-print.entry.cf8aa941.js +17 -0
- package/dist/swirl-icon-recieved.entry.16fc1aa0.js +17 -0
- package/dist/swirl-icon-reply.entry.09bffb40.js +17 -0
- package/dist/swirl-icon-report.entry.803f0403.js +17 -0
- package/dist/swirl-icon-roadmap.entry.3ffab30d.js +17 -0
- package/dist/swirl-icon-search-strong.entry.5d2b23cb.js +17 -0
- package/dist/swirl-icon-search.entry.d68b61f9.js +17 -0
- package/dist/swirl-icon-secure.entry.8d4d2b9c.js +17 -0
- package/dist/swirl-icon-send.entry.2b82872e.js +17 -0
- package/dist/swirl-icon-settings.entry.1e929864.js +17 -0
- package/dist/swirl-icon-short-text.entry.73801734.js +17 -0
- package/dist/swirl-icon-simplify.entry.413061f3.js +17 -0
- package/dist/swirl-icon-spellcheck.entry.a946c908.js +17 -0
- package/dist/swirl-icon-stop.entry.0c8b21b3.js +17 -0
- package/dist/swirl-icon-sync.entry.6f002cab.js +17 -0
- package/dist/swirl-icon-tasks-filled.entry.905208ce.js +17 -0
- package/dist/swirl-icon-tasks-outlined.entry.69893e5a.js +17 -0
- package/dist/swirl-icon-time-filled.entry.5118c56c.js +17 -0
- package/dist/swirl-icon-time-outlined.entry.2289a356.js +17 -0
- package/dist/swirl-icon-translate.entry.bdba5fac.js +17 -0
- package/dist/swirl-icon-tree-structure.entry.43cd78ef.js +17 -0
- package/dist/swirl-icon-undo.entry.d7e7ea40.js +17 -0
- package/dist/swirl-icon-unlock-person.entry.245d9be9.js +17 -0
- package/dist/swirl-icon-user-add.entry.0054b073.js +17 -0
- package/dist/swirl-icon-user-assign.entry.d4e5543f.js +17 -0
- package/dist/swirl-icon-video-camera.entry.797b8e28.js +17 -0
- package/dist/swirl-icon-video-library.entry.4d2f0731.js +17 -0
- package/dist/swirl-icon-voice.entry.ce8471dd.js +17 -0
- package/dist/swirl-icon.entry.176c73f4.js +16 -0
- package/dist/swirl-image-grid-item.entry.1c92d9a1.js +19 -0
- package/dist/swirl-image-grid.entry.f759570d.js +25 -0
- package/dist/swirl-inline-notification.entry.2160dcb6.js +17 -0
- package/dist/swirl-inline-status.entry.5397827b.js +36 -0
- package/dist/swirl-lightbox.entry.1258a9dc.js +131 -0
- package/dist/swirl-link.entry.562be9b0.js +17 -0
- package/dist/swirl-list.entry.3533e6c1.js +18 -0
- package/dist/swirl-menu-item.entry.c987b0f9.js +76 -0
- package/dist/swirl-menu.entry.bb36d68d.js +166 -0
- package/dist/swirl-modal.entry.8545ad1c.js +118 -0
- package/dist/swirl-option-list-section.entry.c3ade3d4.js +15 -0
- package/dist/swirl-option-list_2.entry.bd00e9dc.js +210 -0
- package/dist/swirl-pagination.entry.471f5873.js +38 -0
- package/dist/swirl-pdf-reader.entry.dbd37982.js +98 -0
- package/dist/swirl-popover_2.entry.e45966ae.js +177 -0
- package/dist/swirl-progress-indicator.entry.244caaf6.js +17 -0
- package/dist/swirl-radio-group.entry.0ae54e53.js +35 -0
- package/dist/swirl-radio.entry.cdfac28b.js +29 -0
- package/dist/swirl-resource-list-file-item.entry.4c50dd4a.js +35 -0
- package/dist/swirl-search.entry.002c73f2.js +50 -0
- package/dist/swirl-select.entry.6467db20.js +79 -0
- package/dist/swirl-shell-layout.entry.62ba60c3.js +85 -0
- package/dist/swirl-shell-navigation-item.entry.91b49950.js +136 -0
- package/dist/swirl-skeleton-box.entry.5c0428ca.js +31 -0
- package/dist/swirl-skeleton-text.entry.924203e6.js +38 -0
- package/dist/swirl-stack.entry.bef2eb97.js +17 -0
- package/dist/swirl-status-indicator.entry.5fe381d5.js +17 -0
- package/dist/swirl-switch.entry.57a8e80c.js +55 -0
- package/dist/swirl-symbol-account-circle.entry.33ff8e3a.js +17 -0
- package/dist/swirl-symbol-alternate-email.entry.7da7c845.js +17 -0
- package/dist/swirl-symbol-android.entry.bf4bbe6b.js +17 -0
- package/dist/swirl-symbol-announcement.entry.8993582b.js +17 -0
- package/dist/swirl-symbol-backup.entry.8d96216d.js +17 -0
- package/dist/swirl-symbol-beach-access.entry.56b385aa.js +17 -0
- package/dist/swirl-symbol-bookmark.entry.538be734.js +17 -0
- package/dist/swirl-symbol-cloud.entry.a2e031c5.js +17 -0
- package/dist/swirl-symbol-coronavirus.entry.7b565347.js +17 -0
- package/dist/swirl-symbol-desktop-windows.entry.3b148f81.js +17 -0
- package/dist/swirl-symbol-directions-car-filled.entry.317ab14a.js +17 -0
- package/dist/swirl-symbol-edit-calendar.entry.d2a64bb9.js +17 -0
- package/dist/swirl-symbol-email.entry.9cfaa4d2.js +17 -0
- package/dist/swirl-symbol-emoji-food-beverage.entry.3f9c9e01.js +17 -0
- package/dist/swirl-symbol-event-menu.entry.54a2bf4e.js +17 -0
- package/dist/swirl-symbol-facebook.entry.4553184a.js +17 -0
- package/dist/swirl-symbol-favorite.entry.2c9c7a78.js +17 -0
- package/dist/swirl-symbol-fitness-center.entry.26364c64.js +17 -0
- package/dist/swirl-symbol-flag.entry.95bff9f4.js +17 -0
- package/dist/swirl-symbol-folder.entry.87817dd9.js +17 -0
- package/dist/swirl-symbol-globe.entry.dacfeb5a.js +17 -0
- package/dist/swirl-symbol-groups.entry.399985e4.js +17 -0
- package/dist/swirl-symbol-help.entry.d884a11e.js +17 -0
- package/dist/swirl-symbol-image.entry.a6e56ccf.js +17 -0
- package/dist/swirl-symbol-info-menu.entry.f809ed59.js +17 -0
- package/dist/swirl-symbol-instagram.entry.1512e9b3.js +17 -0
- package/dist/swirl-symbol-ios.entry.56949a46.js +17 -0
- package/dist/swirl-symbol-language.entry.b47fb5c1.js +17 -0
- package/dist/swirl-symbol-leaderboard.entry.2f74c121.js +17 -0
- package/dist/swirl-symbol-lightbulb.entry.3bb1d749.js +17 -0
- package/dist/swirl-symbol-linkedin.entry.ae55477b.js +17 -0
- package/dist/swirl-symbol-location-on.entry.ed4ba5c5.js +17 -0
- package/dist/swirl-symbol-loyalty.entry.74ef2180.js +17 -0
- package/dist/swirl-symbol-maps-home-work.entry.93df095c.js +17 -0
- package/dist/swirl-symbol-notifications.entry.d4dc1955.js +17 -0
- package/dist/swirl-symbol-open-in-new.entry.288d063a.js +17 -0
- package/dist/swirl-symbol-pedal-bike.entry.91c0a151.js +17 -0
- package/dist/swirl-symbol-pinterest.entry.6b83e6df.js +17 -0
- package/dist/swirl-symbol-policy.entry.b54305f1.js +17 -0
- package/dist/swirl-symbol-push-pin.entry.51183455.js +17 -0
- package/dist/swirl-symbol-redeem.entry.4e4e4309.js +17 -0
- package/dist/swirl-symbol-report-problem.entry.99c33202.js +17 -0
- package/dist/swirl-symbol-restaurant.entry.082d53e9.js +17 -0
- package/dist/swirl-symbol-roadmap.entry.3704828e.js +17 -0
- package/dist/swirl-symbol-room.entry.c1818bfb.js +17 -0
- package/dist/swirl-symbol-savings.entry.e881d2ac.js +17 -0
- package/dist/swirl-symbol-settings-voice.entry.47c52d64.js +17 -0
- package/dist/swirl-symbol-shopping-cart.entry.352b3b43.js +17 -0
- package/dist/swirl-symbol-smartphone.entry.9adf156e.js +17 -0
- package/dist/swirl-symbol-star.entry.bc31986d.js +17 -0
- package/dist/swirl-symbol-supervisor-account.entry.822989a8.js +17 -0
- package/dist/swirl-symbol-thumbs-up-down.entry.991030ac.js +17 -0
- package/dist/swirl-symbol-twitter.entry.cc122704.js +17 -0
- package/dist/swirl-symbol-wb-sunny.entry.85d7ceb7.js +17 -0
- package/dist/swirl-symbol-wechat.entry.d36b55ff.js +17 -0
- package/dist/swirl-symbol-weibo.entry.5e44d3d2.js +17 -0
- package/dist/swirl-symbol-work.entry.ceb7e06f.js +17 -0
- package/dist/swirl-symbol-xing.entry.c525dbdd.js +17 -0
- package/dist/swirl-symbol-youtube.entry.8e29b40e.js +17 -0
- package/dist/swirl-symbol.entry.d2bb6d18.js +16 -0
- package/dist/swirl-tab-bar.entry.5b121baa.js +33 -0
- package/dist/swirl-tab.entry.ce9ecb2f.js +17 -0
- package/dist/swirl-table-cell.entry.0786f246.js +15 -0
- package/dist/swirl-table-column.entry.d1695dea.js +28 -0
- package/dist/swirl-table-row-group.entry.847b500b.js +19 -0
- package/dist/swirl-table-row.entry.7e3632b7.js +27 -0
- package/dist/swirl-table.entry.45de7a03.js +133 -0
- package/dist/swirl-tabs.entry.fddd66a4.js +62 -0
- package/dist/swirl-text-input.entry.f491a11d.js +85 -0
- package/dist/swirl-text.entry.5dafa051.js +292 -0
- package/dist/swirl-theme-provider.entry.9e7b2687.js +89 -0
- package/dist/swirl-time-input.entry.f73e1530.js +77 -0
- package/dist/swirl-toast-provider.entry.bdedbabb.js +38 -0
- package/dist/swirl-toast.entry.da5981d7.js +50 -0
- package/dist/swirl-toolbar.entry.d3b712e4.js +56 -0
- package/dist/swirl-tooltip.entry.302000cf.js +95 -0
- package/dist/swirl-tree-navigation-item.entry.ed1a5937.js +25 -0
- package/dist/swirl-video-thumbnail.entry.370b16e1.js +88 -0
- package/dist/swirl-visually-hidden.entry.d86c6ecd.js +15 -0
- package/dist/utils-9f141e25.a4ae3adc.js +61 -0
- package/dist/v4-fa4bb814.196482d9.js +33 -0
- package/dist/vite-env.d.ts +1 -0
- package/dist/wc-datepicker.entry.0537b021.js +274 -0
- package/package.json +33 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { r as u, c as h, h as s, H as w, g as v } from "./index.e5965a8a.js";
|
|
2
|
+
import { c as m } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import { q as _ } from "./utils-9f141e25.a4ae3adc.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
const f = ".sc-swirl-select-h{display:block;width:100%}.sc-swirl-select-h *.sc-swirl-select{box-sizing:border-box}.select.sc-swirl-select{position:relative;display:flex;width:100%}.select.sc-swirl-select .sc-swirl-select::part(popover__content){margin-top:var(--s-space-16)}@media (min-width: 768px){.select.sc-swirl-select .sc-swirl-select::part(popover__scroll-container){padding-top:0}}.select--placement-top-start.sc-swirl-select .sc-swirl-select::part(popover__content){margin-top:-2.25rem}.select--multi.sc-swirl-select .select__input.sc-swirl-select{position:absolute;width:100%;height:100%;pointer-events:none;opacity:0}.select--multi.sc-swirl-select .select__multi-select-values.sc-swirl-select{display:flex}.select--disabled.sc-swirl-select .select__input.sc-swirl-select{color:var(--s-text-disabled)}.select--disabled.sc-swirl-select .select__indicator.sc-swirl-select{color:var(--s-icon-disabled)}.select--inline.sc-swirl-select .select__indicator.sc-swirl-select{transform:translateY(-50%)}.select--search-loading.sc-swirl-select .select__search-input.sc-swirl-select{padding-right:calc(var(--s-space-12) + 1.5rem + var(--s-space-8))}.select__input.sc-swirl-select{display:block;overflow:hidden;width:100%;height:1.25rem;margin:0;padding:0;padding-right:calc(1.5rem + var(--s-space-8));border:none;background-color:transparent;font:inherit;line-height:var(--s-line-height-base);text-align:left;white-space:nowrap;text-overflow:ellipsis;cursor:default}.select__input.sc-swirl-select:focus{outline:none}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.select__input.sc-swirl-select{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.select__multi-select-values.sc-swirl-select{display:none;overflow:hidden;width:100%;min-height:1.25rem;padding-right:calc(1.5rem + var(--s-space-8));flex-wrap:wrap;gap:var(--s-space-8)}.select__multi-select-values.sc-swirl-select .sc-swirl-select::part(tag){height:1.25rem;padding:0 var(--s-space-4)}.select__indicator.sc-swirl-select{position:absolute;top:50%;right:0;display:inline-flex;color:var(--s-icon-default);transform:translateY(calc(-50% - var(--s-space-8)))}.select__search.sc-swirl-select{position:relative;display:flex;width:100%;padding:0.0625rem var(--s-space-8);border-bottom:0.0625rem solid var(--s-border-default);background-color:var(--s-surface-overlay-default)}@media (min-width: 768px){.select__search.sc-swirl-select{position:sticky;z-index:1;top:0;padding-top:var(--s-space-8);padding-right:0.0625rem;padding-left:0.0625rem}}.select__search-icon.sc-swirl-select{position:absolute;top:50%;left:calc(var(--s-space-8) * 2);display:inline-flex;color:var(--s-icon-default);transform:translateY(-50%)}@media (min-width: 768px){.select__search-icon.sc-swirl-select{left:var(--s-space-12);margin-top:var(--s-space-4);padding:0.0625rem}}.select__search-input.sc-swirl-select{width:100%;height:2.5rem;padding-right:var(--s-space-12);padding-left:calc(var(--s-space-12) + 1.25rem + var(--s-space-8));align-items:center;border:none;color:var(--s-text-default);background-color:var(--s-surface-overlay-default);font:inherit;line-height:var(--s-line-height-base);caret-color:var(--s-border-highlight)}.select__search-input.sc-swirl-select:focus:not(:focus-visible){outline:none}.select__search-input.sc-swirl-select:focus-visible{outline-color:var(--s-focus-default)}.select__search-input.sc-swirl-select::-moz-placeholder{color:var(--s-text-subdued)}.select__search-input.sc-swirl-select::placeholder{color:var(--s-text-subdued)}.select__search-input.sc-swirl-select::-webkit-search-decoration,.select__search-input.sc-swirl-select::-webkit-search-cancel-button,.select__search-input.sc-swirl-select::-webkit-search-results-button,.select__search-input.sc-swirl-select::-webkit-search-results-decoration{-webkit-appearance:none;appearance:none}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.select__search-input.sc-swirl-select{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.select__search-spinner.sc-swirl-select{position:absolute;top:50%;right:var(--s-space-12);display:inline-flex;transform:translateY(-50%)}@media (min-width: 768px){.select__search-spinner.sc-swirl-select{margin-top:var(--s-space-4)}}.select__empty-list-label.sc-swirl-select{padding:var(--s-space-12) var(--s-space-12) 0}.select__empty-list-label.sc-swirl-select:not(:only-child){display:none}@media (min-width: 768px){.select__empty-list-label.sc-swirl-select{padding:var(--s-space-12) var(--s-space-12) var(--s-space-8)}}", g = class {
|
|
7
|
+
constructor(l) {
|
|
8
|
+
u(this, l), this.searchChange = h(this, "searchChange", 7), this.valueChange = h(this, "valueChange", 7), this.select = (t) => {
|
|
9
|
+
this.value = t.detail, this.valueChange.emit(this.value), this.multiSelect || this.popover.close();
|
|
10
|
+
}, this.unselectOption = (t) => {
|
|
11
|
+
!this.allowDeselect || (this.value = this.value.filter((i) => i !== t), this.valueChange.emit(this.value));
|
|
12
|
+
}, this.onSlotChange = () => {
|
|
13
|
+
this.updateOptions();
|
|
14
|
+
}, this.onOpen = (t) => {
|
|
15
|
+
var i, a;
|
|
16
|
+
this.placement = (i = t.detail.position) == null ? void 0 : i.placement, this.open = !0, this.withSearch && Boolean(this.searchInput) ? this.searchInput.focus() : (a = this.optionList.querySelector('[tabIndex="0"]')) == null || a.focus();
|
|
17
|
+
}, this.onClose = () => {
|
|
18
|
+
Boolean(this.searchInput) && (this.searchInput.value = "", this.searchChange.emit("")), this.open = !1, this.input.focus();
|
|
19
|
+
}, this.onKeyDown = (t) => {
|
|
20
|
+
var i;
|
|
21
|
+
if (t.code === "Space" || t.code === "Enter") {
|
|
22
|
+
if (t.target === this.searchInput)
|
|
23
|
+
return;
|
|
24
|
+
t.preventDefault(), this.popover.open(this.el);
|
|
25
|
+
} else
|
|
26
|
+
t.code === "ArrowDown" && t.target === this.searchInput && ((i = this.optionList.querySelector('[tabIndex="0"]')) == null || i.focus());
|
|
27
|
+
}, this.onSearchInput = (t) => {
|
|
28
|
+
this.searchChange.emit(t.target.value);
|
|
29
|
+
}, this.allowDeselect = !0, this.disabled = void 0, this.emptyListLabel = "No results found.", this.inline = void 0, this.invalid = void 0, this.label = void 0, this.multiSelect = void 0, this.required = void 0, this.searchInputLabel = "Search options", this.searchLoading = void 0, this.searchPlaceholder = void 0, this.selectId = Math.round(Math.random() * 1e6).toString(), this.swirlAriaDescribedby = void 0, this.value = void 0, this.withSearch = void 0, this.options = [], this.open = void 0, this.placement = void 0;
|
|
30
|
+
}
|
|
31
|
+
componentWillLoad() {
|
|
32
|
+
queueMicrotask(() => {
|
|
33
|
+
this.updateOptions(), this.observeSlotChanges();
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
disconnectedCallback() {
|
|
37
|
+
var l;
|
|
38
|
+
(l = this.observer) == null || l.disconnect();
|
|
39
|
+
}
|
|
40
|
+
onWindowFocusIn(l) {
|
|
41
|
+
l.target === this.el.querySelector("input") && l.stopImmediatePropagation();
|
|
42
|
+
}
|
|
43
|
+
observeSlotChanges() {
|
|
44
|
+
this.observer = new MutationObserver(() => {
|
|
45
|
+
this.updateOptions();
|
|
46
|
+
}), this.observer.observe(this.el, {
|
|
47
|
+
childList: !0,
|
|
48
|
+
subtree: !0
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
updateOptions() {
|
|
52
|
+
this.options = _(this.el, "swirl-option-list-item");
|
|
53
|
+
}
|
|
54
|
+
render() {
|
|
55
|
+
var r, n, o;
|
|
56
|
+
const l = Boolean(this.value) ? (r = this.value) == null ? void 0 : r.map((e) => {
|
|
57
|
+
var c;
|
|
58
|
+
return (c = this.options.find((p) => p.value === e)) == null ? void 0 : c.label;
|
|
59
|
+
}).join(", ") : "", t = this.invalid === !0 || this.invalid === !1 ? String(this.invalid) : void 0, i = this.el.closest("swirl-form-control"), a = (i == null ? void 0 : i.inline) || (i == null ? void 0 : i.labelPosition) === "outside" ? -12 : -16, d = m("select", `select--placement-${this.placement}`, {
|
|
60
|
+
"select--disabled": this.disabled,
|
|
61
|
+
"select--inline": this.inline,
|
|
62
|
+
"select--multi": this.multiSelect,
|
|
63
|
+
"select--search-loading": this.searchLoading
|
|
64
|
+
});
|
|
65
|
+
return s(w, { onKeyDown: this.onKeyDown }, s("div", { class: d }, s("swirl-popover-trigger", { popover: this.popover, setAriaAttributes: !1 }, s("input", { "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : void 0, "aria-invalid": t, class: "select__input", disabled: this.disabled, readOnly: !0, ref: (e) => this.input = e, type: "text", value: l })), s("span", { class: "select__multi-select-values" }, (o = (n = this.value) == null ? void 0 : n.map((e) => this.options.find((c) => c.value === e))) == null ? void 0 : o.map((e) => s("swirl-tag", {
|
|
66
|
+
"aria-hidden": "true",
|
|
67
|
+
label: e == null ? void 0 : e.label,
|
|
68
|
+
onRemove: () => this.unselectOption(e == null ? void 0 : e.value),
|
|
69
|
+
removable: !this.disabled && this.allowDeselect
|
|
70
|
+
}))), s("span", { class: "select__indicator" }, this.open ? s("swirl-icon-expand-less", null) : s("swirl-icon-expand-more", null)), s("swirl-popover", { animation: "scale-in-y", class: "select__popover", id: `select-options-${this.selectId}`, label: this.label, offset: [0, a], onPopoverClose: this.onClose, onPopoverOpen: this.onOpen, ref: (e) => this.popover = e, useContainerWidth: "swirl-form-control" }, this.withSearch && s("div", { class: "select__search" }, s("swirl-icon-search", { class: "select__search-icon", size: 20 }), s("input", { "aria-label": this.searchInputLabel, class: "select__search-input", onInput: this.onSearchInput, placeholder: this.searchPlaceholder, ref: (e) => this.searchInput = e, type: "search" }), this.searchLoading && s("swirl-spinner", { class: "select__search-spinner", size: "s" })), s("swirl-option-list", { allowDeselect: this.allowDeselect, onValueChange: this.select, multiSelect: this.multiSelect, ref: (e) => this.optionList = e, value: this.value }, !this.searchLoading && s("div", { "aria-disabled": "true", class: "select__empty-list-label", role: "option" }, s("swirl-text", { color: "subdued", weight: "medium" }, this.emptyListLabel)), s("slot", { onSlotchange: this.onSlotChange })))));
|
|
71
|
+
}
|
|
72
|
+
get el() {
|
|
73
|
+
return v(this);
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
g.style = f;
|
|
77
|
+
export {
|
|
78
|
+
g as swirl_select
|
|
79
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { r as o, c as s, h as l, H as r } from "./index.e5965a8a.js";
|
|
2
|
+
import { c as n } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import { c as d } from "./focus-trap.esm-37cd2d2b.724cca66.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
const h = `:root .sc-swirl-shell-layout-h{--swirl-shell-background:rgba(20, 90, 245, 1)}:root.theme-dark .sc-swirl-shell-layout-h{--swirl-shell-background:rgba(45, 72, 127, 1)}.sc-swirl-shell-layout-h{--swirl-shell-text-color:rgba(255, 255, 255, 1);--swirl-shell-header-height:3.25rem;--swirl-shell-collapsed-nav-width:3.75rem;--swirl-shell-extended-nav-width:14rem;--swirl-shell-sidebar-width:21rem;display:flex;width:100%;height:100%}.sc-swirl-shell-layout-h *.sc-swirl-shell-layout{box-sizing:border-box}.shell-layout.sc-swirl-shell-layout{display:grid;width:100%;min-height:100%;background-color:var(--swirl-shell-background);transition:grid-template-columns 0.2s;grid-template-columns:0 1fr 0;grid-template-rows:1fr;grid-template-areas:"nav main"}@media (min-width: 992px){.shell-layout.sc-swirl-shell-layout{padding-right:var(--s-space-8);padding-bottom:var(--s-space-8);gap:var(--s-space-8);grid-template-columns:var(--swirl-shell-extended-nav-width) 1fr;grid-template-rows:var(--swirl-shell-header-height) 1fr;grid-template-areas:"header header"
|
|
7
|
+
"nav main"}}@media (min-width: 1440px){.shell-layout.sc-swirl-shell-layout{grid-template-columns:var(--swirl-shell-extended-nav-width) 1fr 0;grid-template-rows:var(--swirl-shell-header-height) 1fr;grid-template-areas:"header header header"
|
|
8
|
+
"nav main sidebar"}}@media (min-width: 992px){.shell-layout--navigation-collapsed.sc-swirl-shell-layout{grid-template-columns:var(--swirl-shell-collapsed-nav-width) 1fr}}@media (min-width: 1440px){.shell-layout--navigation-collapsed.sc-swirl-shell-layout{grid-template-columns:var(--swirl-shell-collapsed-nav-width) 1fr 0}}@media (min-width: 1440px){.shell-layout--sidebar-active.shell-layout--navigation-collapsed.sc-swirl-shell-layout{grid-template-columns:var(--swirl-shell-collapsed-nav-width) 1fr var(
|
|
9
|
+
--swirl-shell-sidebar-width
|
|
10
|
+
)}}@media (min-width: 1440px){.shell-layout--sidebar-active.sc-swirl-shell-layout{grid-template-columns:var(--swirl-shell-extended-nav-width) 1fr var(
|
|
11
|
+
--swirl-shell-sidebar-width
|
|
12
|
+
)}}.shell-layout--mobile-navigation-active.sc-swirl-shell-layout .shell-layout__nav.sc-swirl-shell-layout{transform:translate3d(0, 0, 0);box-shadow:var(--s-shadow-level-3)}@media (min-width: 992px){.shell-layout--mobile-navigation-active.sc-swirl-shell-layout .shell-layout__nav.sc-swirl-shell-layout{transform:none;box-shadow:none}}.shell-layout--mobile-navigation-active.sc-swirl-shell-layout .shell-layout__mobile-nav-backdrop.sc-swirl-shell-layout{display:block}@media (min-width: 992px){.shell-layout--mobile-navigation-active.sc-swirl-shell-layout .shell-layout__mobile-nav-backdrop.sc-swirl-shell-layout{display:none}}.shell-layout__header.sc-swirl-shell-layout{position:relative;display:none;padding-top:var(--s-space-8);padding-right:var(--s-space-8);padding-bottom:0;padding-left:var(--s-space-16);justify-content:space-between;align-items:center;color:var(--swirl-shell-text-color);grid-area:header}@media (min-width: 992px){.shell-layout__header.sc-swirl-shell-layout{display:flex}}.shell-layout__skip-link.sc-swirl-shell-layout{position:absolute;top:0;left:0;padding:var(--s-space-4);border:none;color:var(--swirl-shell-text-color);background-color:var(--swirl-shell-background);font:inherit;cursor:pointer}.shell-layout__skip-link.sc-swirl-shell-layout:not(:focus):not(:active){position:absolute;overflow:hidden;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%)}.shell-layout__header-left.sc-swirl-shell-layout{display:flex;flex-basis:8rem;flex-shrink:0;gap:var(--s-space-8)}.shell-layout__header-right.sc-swirl-shell-layout{display:flex;flex-basis:8rem;flex-shrink:0;justify-content:flex-end;align-items:center;gap:var(--s-space-8)}.shell-layout__logo.sc-swirl-shell-layout{display:flex;flex-grow:1;justify-content:center;align-items:center}.shell-layout__logo.sc-swirl-shell-layout-s>img{max-height:1.75rem}.shell-layout__header-tool.sc-swirl-shell-layout{width:2.25rem;height:2.25rem;padding:var(--s-space-8);border:none;border-radius:var(--s-border-radius-sm);color:var(--swirl-shell-text-color);background-color:transparent;font:inherit;cursor:pointer}.shell-layout__header-tool.sc-swirl-shell-layout:hover{background-color:rgba(255, 255, 255, 0.15)}.shell-layout__header-tool.sc-swirl-shell-layout:active{background-color:rgba(255, 255, 255, 0.2)}.shell-layout__header-tool.sc-swirl-shell-layout:focus{outline:none}.shell-layout__header-tool.sc-swirl-shell-layout:focus-visible{box-shadow:0 0 0 0.125rem var(--s-focus-default)}.shell-layout__sidebar-toggle.sc-swirl-shell-layout{display:none}@media (min-width: 1440px){.shell-layout__sidebar-toggle.sc-swirl-shell-layout{display:block}}.shell-layout__nav.sc-swirl-shell-layout{position:fixed;z-index:9;top:0;bottom:0;left:0;overflow:auto;width:100%;max-width:var(--swirl-shell-extended-nav-width);padding:var(--s-space-8);color:var(--swirl-shell-text-color);background-color:var(--swirl-shell-background);transition:transform 0.2s, box-shadow 0.2s;transform:translate3d(-100%, 0, 0);grid-area:nav}.shell-layout__nav.sc-swirl-shell-layout-s ul{margin:0;padding:0;list-style:none}.shell-layout__nav.sc-swirl-shell-layout-s li{display:flex}@media (min-width: 992px){.shell-layout__nav.sc-swirl-shell-layout{position:static;max-width:none;padding-top:var(--s-space-8);padding-right:var(--s-space-4);padding-bottom:var(--s-space-8);padding-left:var(--s-space-12);transform:none;inset:auto}}.shell-layout__mobile-logo.sc-swirl-shell-layout{padding-top:var(--s-space-12);padding-bottom:var(--s-space-12);padding-left:var(--s-space-12)}.shell-layout__mobile-logo.sc-swirl-shell-layout-s>img{max-height:1.75rem}@media (min-width: 992px){.shell-layout__mobile-logo.sc-swirl-shell-layout{display:none}}.shell-layout__mobile-nav-backdrop.sc-swirl-shell-layout{position:fixed;z-index:8;display:none;background-color:rgba(0, 0, 0, 0.25);animation:shell-layout-backdrop-fade-in 0.2s;inset:0}.shell-layout__main.sc-swirl-shell-layout{overflow:hidden;grid-area:main}@media (min-width: 992px){.shell-layout__main.sc-swirl-shell-layout{border-radius:var(--s-border-radius-sm)}}.shell-layout__sidebar.sc-swirl-shell-layout{display:none;overflow:hidden;border-radius:var(--s-border-radius-sm);background-color:var(--s-background-default);grid-area:sidebar}@media (min-width: 1440px){.shell-layout__sidebar.sc-swirl-shell-layout{display:block}}.shell-layout__sidebar-body.sc-swirl-shell-layout{display:flex;width:var(--swirl-shell-sidebar-width);height:100%;flex-direction:column}.shell-layout__sidebar-app-bar.sc-swirl-shell-layout{flex-grow:0;flex-shrink:0;border-bottom:var(--s-border-width-default) solid var(--s-border-default)}.shell-layout__sidebar-content.sc-swirl-shell-layout{overflow:auto;flex-grow:1}@keyframes shell-layout-backdrop-fade-in{from{opacity:0}to{opacity:1}}`, i = "SWIRL_SHELL_NAVIGATION_COLLAPSE_STATE", t = "SWIRL_SHELL_SIDEBAR_STATE", c = class {
|
|
13
|
+
constructor(a) {
|
|
14
|
+
o(this, a), this.sidebarToggleClick = s(this, "sidebarToggleClick", 7), this.skipLinkClick = s(this, "skipLinkClick", 7), this.onBrowserBackClick = () => {
|
|
15
|
+
history.back();
|
|
16
|
+
}, this.onBrowserForwardClick = () => {
|
|
17
|
+
history.forward();
|
|
18
|
+
}, this.onNavigationToggleClick = () => {
|
|
19
|
+
this.navigationCollapsed = !this.navigationCollapsed;
|
|
20
|
+
}, this.onNavigationClick = () => {
|
|
21
|
+
this.hideMobileNavigation();
|
|
22
|
+
}, this.browserBackButtonLabel = "Navigate back", this.browserForwardButtonLabel = "Navigate forward", this.navigationLabel = "Main", this.navigationToggleLabel = "Toggle navigation", this.sidebarActive = void 0, this.sidebarToggleIcon = "notifications", this.sidebarToggleLabel = "Toggle sidebar", this.skipLinkLabel = "Skip to main content", this.mobileNavigationActive = void 0, this.navigationCollapsed = void 0;
|
|
23
|
+
}
|
|
24
|
+
componentWillLoad() {
|
|
25
|
+
const a = localStorage.getItem(t) === "true";
|
|
26
|
+
this.sidebarActive = this.sidebarActive === void 0 ? a : this.sidebarActive;
|
|
27
|
+
const e = localStorage.getItem(i) === "true";
|
|
28
|
+
this.navigationCollapsed = e;
|
|
29
|
+
}
|
|
30
|
+
componentDidLoad() {
|
|
31
|
+
this.focusTrap = d(this.navElement, {
|
|
32
|
+
allowOutsideClick: !0,
|
|
33
|
+
tabbableOptions: {
|
|
34
|
+
getShadowRoot: (a) => a.shadowRoot
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
componentDidRender() {
|
|
39
|
+
var a;
|
|
40
|
+
(a = this.focusTrap) == null || a.updateContainerElements(this.navElement);
|
|
41
|
+
}
|
|
42
|
+
disconnectedCallback() {
|
|
43
|
+
var a;
|
|
44
|
+
(a = this.focusTrap) == null || a.deactivate();
|
|
45
|
+
}
|
|
46
|
+
onWindowKeyDown(a) {
|
|
47
|
+
a.key === "Escape" && this.mobileNavigationActive && this.hideMobileNavigation();
|
|
48
|
+
}
|
|
49
|
+
watchMobileNavigationState() {
|
|
50
|
+
this.mobileNavigationActive ? setTimeout(() => {
|
|
51
|
+
this.focusTrap.activate();
|
|
52
|
+
}, 200) : this.focusTrap.deactivate();
|
|
53
|
+
}
|
|
54
|
+
watchNavigationCollapsed() {
|
|
55
|
+
localStorage.setItem(i, String(this.navigationCollapsed));
|
|
56
|
+
}
|
|
57
|
+
watchSidebarActive() {
|
|
58
|
+
localStorage.setItem(t, String(this.sidebarActive));
|
|
59
|
+
}
|
|
60
|
+
async showMobileNavigation() {
|
|
61
|
+
this.mobileNavigationActive = !0;
|
|
62
|
+
}
|
|
63
|
+
async hideMobileNavigation() {
|
|
64
|
+
this.mobileNavigationActive = !1;
|
|
65
|
+
}
|
|
66
|
+
render() {
|
|
67
|
+
const a = n("shell-layout", {
|
|
68
|
+
"shell-layout--mobile-navigation-active": this.mobileNavigationActive,
|
|
69
|
+
"shell-layout--navigation-collapsed": this.navigationCollapsed,
|
|
70
|
+
"shell-layout--sidebar-active": this.sidebarActive
|
|
71
|
+
});
|
|
72
|
+
return l(r, null, l("div", { class: a }, l("header", { class: "shell-layout__header", "data-tauri-drag-region": "true" }, l("button", { class: "shell-layout__skip-link", onClick: this.skipLinkClick.emit, type: "button" }, this.skipLinkLabel), l("div", { class: "shell-layout__header-left" }, l("button", { class: "shell-layout__header-tool", onClick: this.onNavigationToggleClick, type: "button" }, l("swirl-icon-dock-left", { size: 20 }), l("swirl-visually-hidden", null, this.navigationToggleLabel)), l("button", { class: "shell-layout__header-tool", onClick: this.onBrowserBackClick, type: "button" }, l("swirl-icon-arrow-back", { size: 20 }), l("swirl-visually-hidden", null, this.browserBackButtonLabel)), l("button", { class: "shell-layout__header-tool", onClick: this.onBrowserForwardClick, type: "button" }, l("swirl-icon-arrow-forward", { size: 20 }), l("swirl-visually-hidden", null, this.browserForwardButtonLabel))), l("div", { class: "shell-layout__logo" }, l("slot", { name: "logo" })), l("div", { class: "shell-layout__header-right" }, l("button", { class: "shell-layout__header-tool shell-layout__sidebar-toggle", onClick: this.sidebarToggleClick.emit, type: "button" }, l("swirl-icon", { glyph: this.sidebarToggleIcon, size: 20 }), l("swirl-visually-hidden", null, this.sidebarToggleLabel)), l("slot", { name: "header-tools" }))), l("div", { class: "shell-layout__mobile-nav-backdrop", onClick: this.onNavigationClick }), l("nav", { "aria-labelledby": "main-navigation-label", class: "shell-layout__nav", onClick: this.onNavigationClick, ref: (e) => this.navElement = e }, l("div", { class: "shell-layout__mobile-logo" }, l("slot", { name: "mobile-logo" })), l("swirl-visually-hidden", null, l("span", { id: "main-navigation-label" }, this.navigationLabel)), l("slot", { name: "nav" })), l("main", { class: "shell-layout__main", id: "main-content" }, l("slot", null)), l("aside", { class: "shell-layout__sidebar" }, l("div", { class: "shell-layout__sidebar-body" }, l("div", { class: "shell-layout__sidebar-app-bar" }, l("slot", { name: "sidebar-app-bar" })), l("div", { class: "shell-layout__sidebar-content" }, l("slot", { name: "sidebar" }))))));
|
|
73
|
+
}
|
|
74
|
+
static get watchers() {
|
|
75
|
+
return {
|
|
76
|
+
mobileNavigationActive: ["watchMobileNavigationState"],
|
|
77
|
+
navigationCollapsed: ["watchNavigationCollapsed"],
|
|
78
|
+
sidebarActive: ["watchSidebarActive"]
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
c.style = h;
|
|
83
|
+
export {
|
|
84
|
+
c as swirl_shell_layout
|
|
85
|
+
};
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { r as a, h as n, H as t, g as o } from "./index.e5965a8a.js";
|
|
2
|
+
import { c as s } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const l = `/**
|
|
6
|
+
* seems the container query does not work as expected
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
:host {
|
|
10
|
+
position: relative;
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: 2.75rem;
|
|
14
|
+
padding: var(--s-space-12);
|
|
15
|
+
flex-shrink: 0;
|
|
16
|
+
justify-content: flex-start;
|
|
17
|
+
align-items: center;
|
|
18
|
+
border-radius: var(--s-border-radius-sm);
|
|
19
|
+
background-color: transparent;
|
|
20
|
+
font-size: var(--s-font-size-sm);
|
|
21
|
+
font-weight: var(--s-font-weight-medium);
|
|
22
|
+
line-height: var(--s-line-height-sm);
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
container-type: inline-size;
|
|
25
|
+
gap: var(--s-space-16);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host(:hover) {
|
|
29
|
+
background-color: rgba(255, 255, 255, 0.15);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host(:hover) .shell-navigation-item__badge {
|
|
33
|
+
--swirl-badge-border-color: rgba(255, 255, 255, 0.15);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:host(:active) {
|
|
37
|
+
background-color: rgba(255, 255, 255, 0.2);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host(:active) .shell-navigation-item__badge {
|
|
41
|
+
--swirl-badge-border-color: rgba(255, 255, 255, 0.2);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:host(:focus) {
|
|
45
|
+
outline: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:host(:focus-visible) {
|
|
49
|
+
box-shadow: 0 0 0 0.125rem var(--s-focus-default);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:host(.shell-navigation-item--active) {
|
|
53
|
+
background-color: rgba(255, 255, 255, 0.1);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:host(.shell-navigation-item--active) .shell-navigation-item__badge {
|
|
57
|
+
--swirl-badge-border-color: rgba(255, 255, 255, 0.1);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:host(.shell-navigation-item--active:hover) {
|
|
61
|
+
background-color: rgba(255, 255, 255, 0.15);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:host(.shell-navigation-item--active:hover) .shell-navigation-item__badge {
|
|
65
|
+
--swirl-badge-border-color: rgba(255, 255, 255, 0.15);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
:host(.shell-navigation-item--active:active) {
|
|
69
|
+
background-color: rgba(255, 255, 255, 0.2);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
:host(.shell-navigation-item--active:active) .shell-navigation-item__badge {
|
|
73
|
+
--swirl-badge-border-color: rgba(255, 255, 255, 0.2);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:host * {
|
|
77
|
+
box-sizing: border-box;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.shell-navigation-item__icon {
|
|
81
|
+
display: inline-flex;
|
|
82
|
+
min-width: 1.25rem;
|
|
83
|
+
min-height: 1.25rem;
|
|
84
|
+
justify-content: center;
|
|
85
|
+
align-items: center;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.shell-navigation-item__label {
|
|
89
|
+
overflow: hidden;
|
|
90
|
+
min-width: 0;
|
|
91
|
+
white-space: nowrap;
|
|
92
|
+
text-overflow: ellipsis;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.shell-navigation-item__badge {
|
|
96
|
+
--swirl-badge-border-color: var(--swirl-shell-background);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@container (max-width: 4rem) {
|
|
100
|
+
.shell-navigation-item__label {
|
|
101
|
+
display: none;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.shell-navigation-item__badge {
|
|
105
|
+
position: absolute;
|
|
106
|
+
right: var(--s-space-4);
|
|
107
|
+
bottom: 0;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@container (min-width: 14rem) {
|
|
112
|
+
.shell-navigation-item__badge {
|
|
113
|
+
margin-left: auto;
|
|
114
|
+
padding-right: var(--s-space-4);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
`, r = class {
|
|
118
|
+
constructor(e) {
|
|
119
|
+
a(this, e), this.onKeyDown = (i) => {
|
|
120
|
+
i.code === "Enter" && (i.preventDefault(), this.el.click());
|
|
121
|
+
}, this.active = void 0, this.badgeLabel = void 0, this.label = void 0;
|
|
122
|
+
}
|
|
123
|
+
render() {
|
|
124
|
+
const e = s("shell-navigation-item", {
|
|
125
|
+
"shell-navigation-item--active": this.active
|
|
126
|
+
});
|
|
127
|
+
return n(t, { class: e, onKeyDown: this.onKeyDown, role: "link", tabIndex: 0 }, n("span", { class: "shell-navigation-item__icon" }, n("slot", { name: "icon" })), n("span", { class: "shell-navigation-item__label" }, this.label), this.badgeLabel && n("swirl-badge", { class: "shell-navigation-item__badge", size: "s", "aria-label": this.badgeLabel, label: this.badgeLabel }));
|
|
128
|
+
}
|
|
129
|
+
get el() {
|
|
130
|
+
return o(this);
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
r.style = l;
|
|
134
|
+
export {
|
|
135
|
+
r as swirl_shell_navigation_item
|
|
136
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { r as t, h as s, H as i } from "./index.e5965a8a.js";
|
|
2
|
+
import { c as o } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const r = `:host{display:block}:host *{box-sizing:border-box}.skeleton-box{position:relative;overflow:hidden;min-height:var(--s-font-size-sm);background-color:var(--s-surface-raised-hovered)}.skeleton-box:before{position:relative;z-index:1;display:block;width:100%;height:100%;background-image:linear-gradient(
|
|
6
|
+
90deg,
|
|
7
|
+
rgba(255, 255, 255, 0) 0,
|
|
8
|
+
rgba(255, 255, 255, 0) 12%,
|
|
9
|
+
var(--s-surface-raised-default) 50%,
|
|
10
|
+
rgba(255, 255, 255, 0) 88%,
|
|
11
|
+
rgba(255, 255, 255, 0) 100%
|
|
12
|
+
);content:"";transform:translateX(-100%);animation:skeleton-box-shimmer 3s infinite}@keyframes skeleton-box-shimmer{100%{transform:translateX(100%)}}.skeleton-box--static:before{display:none}.skeleton-box--border-radius-pill{border-radius:100rem}`, a = class {
|
|
13
|
+
constructor(e) {
|
|
14
|
+
t(this, e), this.animated = !0, this.aspectRatio = void 0, this.borderRadius = "base", this.height = void 0, this.width = void 0;
|
|
15
|
+
}
|
|
16
|
+
render() {
|
|
17
|
+
const e = o("skeleton-box", `skeleton-box--border-radius-${this.borderRadius}`, { "skeleton-box--static": !this.animated });
|
|
18
|
+
return s(i, { style: {
|
|
19
|
+
width: !Boolean(this.width) && !Boolean(this.aspectRatio) ? "100%" : void 0
|
|
20
|
+
} }, s("div", { class: e, style: {
|
|
21
|
+
aspectRatio: this.aspectRatio,
|
|
22
|
+
borderRadius: this.borderRadius !== "pill" ? `var(--s-border-radius-${this.borderRadius})` : void 0,
|
|
23
|
+
height: this.height,
|
|
24
|
+
width: this.width
|
|
25
|
+
} }));
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
a.style = r;
|
|
29
|
+
export {
|
|
30
|
+
a as swirl_skeleton_box
|
|
31
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { r as l, h as t, H as a } from "./index.e5965a8a.js";
|
|
2
|
+
import { c as s } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const o = `:host{display:block;width:100%}:host *{box-sizing:border-box}.skeleton-text{position:relative}.skeleton-text--static .skeleton-text__line:after{display:none}.skeleton-text--size-sm{--skeleton-text-line-padding:calc(
|
|
6
|
+
(var(--s-line-height-sm) - var(--s-font-size-sm)) / 2
|
|
7
|
+
)}.skeleton-text--size-sm .skeleton-text__line{height:var(--s-line-height-sm);border-radius:calc(var(--s-font-size-sm) / 2)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.skeleton-text--size-sm .skeleton-text__line{height:var(--s-line-height-sm)}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.skeleton-text--size-sm{--skeleton-text-line-padding:calc(
|
|
8
|
+
(var(--s-line-height-sm) - var(--s-font-size-sm)) / 2
|
|
9
|
+
)}}.skeleton-text--size-base{--skeleton-text-line-padding:calc(
|
|
10
|
+
(var(--s-line-height-base) - var(--s-font-size-base)) / 2
|
|
11
|
+
)}.skeleton-text--size-base .skeleton-text__line{height:var(--s-line-height-base);border-radius:calc(var(--s-font-size-base) / 2)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.skeleton-text--size-base .skeleton-text__line{height:var(--s-line-height-sm)}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.skeleton-text--size-base{--skeleton-text-line-padding:calc(
|
|
12
|
+
(var(--s-line-height-sm) - var(--s-font-size-sm)) / 2
|
|
13
|
+
)}}.skeleton-text--size-lg{--skeleton-text-line-padding:calc(
|
|
14
|
+
(var(--s-line-height-lg) - var(--s-font-size-lg)) / 2
|
|
15
|
+
)}.skeleton-text--size-lg .skeleton-text__line{height:var(--s-line-height-lg);border-radius:calc(var(--s-font-size-lg) / 2)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.skeleton-text--size-lg .skeleton-text__line{height:var(--s-line-height-base)}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.skeleton-text--size-lg{--skeleton-text-line-padding:calc(
|
|
16
|
+
(var(--s-line-height-base) - var(--s-font-size-base)) / 2
|
|
17
|
+
)}}.skeleton-text--size-xl{--skeleton-text-line-padding:calc(
|
|
18
|
+
(var(--s-line-height-xl) - var(--s-font-size-xl)) / 2
|
|
19
|
+
)}.skeleton-text--size-xl .skeleton-text__line{height:var(--s-line-height-xl);border-radius:calc(var(--s-font-size-xl) / 2)}.skeleton-text--size-2xl{--skeleton-text-line-padding:calc(
|
|
20
|
+
(var(--s-line-height-2xl) - var(--s-font-size-2xl)) / 2
|
|
21
|
+
)}.skeleton-text--size-2xl .skeleton-text__line{height:var(--s-line-height-2xl);border-radius:calc(var(--s-font-size-2xl) / 2)}.skeleton-text__line{overflow:hidden;width:100%;padding-top:var(--skeleton-text-line-padding);padding-bottom:var(--skeleton-text-line-padding)}.skeleton-text__line:before{display:block;width:100%;height:100%;border-radius:10rem;background-color:var(--s-surface-raised-hovered);content:""}.skeleton-text__line:after{position:relative;z-index:1;top:-100%;display:block;width:100%;height:100%;background-image:linear-gradient(
|
|
22
|
+
90deg,
|
|
23
|
+
rgba(255, 255, 255, 0) 0,
|
|
24
|
+
var(--s-surface-raised-default) 33%,
|
|
25
|
+
rgba(255, 255, 255, 0) 66%
|
|
26
|
+
);content:"";transform:translateX(-100%);animation:skeleton-text-shimmer 3s infinite}.skeleton-text__line:first-child:last-child{width:100%}.skeleton-text__line:last-child:not(:first-child){width:25%}@keyframes skeleton-text-shimmer{100%{transform:translateX(100%)}}`, r = class {
|
|
27
|
+
constructor(e) {
|
|
28
|
+
l(this, e), this.animated = !0, this.lines = 1, this.size = "base";
|
|
29
|
+
}
|
|
30
|
+
render() {
|
|
31
|
+
const e = s("skeleton-text", `skeleton-text--size-${this.size}`, { "skeleton-text--static": !this.animated }), i = s("skeleton-text__line", `skeleton-text__line--size-${this.size}`);
|
|
32
|
+
return t(a, null, t("div", { class: e, part: e }, new Array(this.lines).fill(void 0).map((h, n) => t("div", { class: i, key: n, part: i }))));
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
r.style = o;
|
|
36
|
+
export {
|
|
37
|
+
r as swirl_skeleton_text
|
|
38
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as a, h as s, H as e } from "./index.e5965a8a.js";
|
|
2
|
+
import { c as n } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const c = ":host{display:block;width:100%}:host *{box-sizing:border-box}.stack{display:flex;width:100%;max-width:100%}.stack ::slotted(*){min-width:0;max-width:100%;flex-basis:auto;flex-grow:0;flex-shrink:1}.stack--align-start{align-items:flex-start}.stack--align-center{align-items:center}.stack--align-end{align-items:flex-end}.stack--align-stretch{align-items:stretch}.stack--justify-start{justify-content:flex-start}.stack--justify-center{justify-content:center}.stack--justify-end{justify-content:flex-end}.stack--justify-space-between{justify-content:space-between}.stack--justify-space-around{justify-content:space-around}.stack--justify-space-evenly{justify-content:space-evenly}.stack--justify-stretch{justify-content:stretch}.stack--justify-stretch ::slotted(*){flex-grow:1}.stack--orientation-vertical{flex-direction:column}.stack--orientation-horizontal{flex-direction:row}.stack--wrap{flex-wrap:wrap}", r = class {
|
|
6
|
+
constructor(t) {
|
|
7
|
+
a(this, t), this.align = "start", this.as = "div", this.height = void 0, this.justify = "start", this.orientation = "vertical", this.spacing = "0", this.wrap = !1;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
const t = this.as, i = n("stack", `stack--align-${this.align}`, `stack--justify-${this.justify}`, `stack--orientation-${this.orientation}`, { "stack--wrap": this.wrap });
|
|
11
|
+
return s(e, { style: { height: this.height } }, s(t, { class: i, style: { gap: `var(--s-space-${this.spacing})`, height: this.height } }, s("slot", null)));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
r.style = c;
|
|
15
|
+
export {
|
|
16
|
+
r as swirl_stack
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as i, h as t, H as n } from "./index.e5965a8a.js";
|
|
2
|
+
import { c as a } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const o = ':host{display:block}:host *{box-sizing:border-box}.status-indicator{display:flex;align-items:center;gap:var(--s-space-4)}.status-indicator--intent-critical .status-indicator__dot:before{background-color:var(--s-icon-critical)}.status-indicator--intent-info .status-indicator__dot:before{background-color:var(--s-icon-info)}.status-indicator--intent-success .status-indicator__dot:before{background-color:var(--s-icon-success)}.status-indicator--intent-warning .status-indicator__dot:before{background-color:var(--s-icon-warning)}.status-indicator__dot{display:inline-flex;width:1.25rem;height:1.25rem;flex-shrink:0;justify-content:center;align-items:center}.status-indicator__dot:before{display:inline-flex;width:0.5rem;height:0.5rem;border-radius:50%;content:""}.status-indicator__label{overflow:hidden;min-width:0;font-size:var(--s-font-size-sm);white-space:nowrap;text-overflow:ellipsis}', r = class {
|
|
6
|
+
constructor(s) {
|
|
7
|
+
i(this, s), this.intent = void 0, this.label = void 0;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
const s = a("status-indicator", `status-indicator--intent-${this.intent}`);
|
|
11
|
+
return t(n, null, t("div", { class: s }, t("span", { class: "status-indicator__dot" }), t("span", { class: "status-indicator__label" }, this.label)));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
r.style = o;
|
|
15
|
+
export {
|
|
16
|
+
r as swirl_status_indicator
|
|
17
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { r as n, c, h as s, H as a, g as l } from "./index.e5965a8a.js";
|
|
2
|
+
import { c as o } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const d = `.sc-swirl-switch-h{display:inline-flex}.sc-swirl-switch-h *.sc-swirl-switch{box-sizing:border-box}.switch.sc-swirl-switch{display:inline-flex;align-items:center;touch-action:none}.switch.sc-swirl-switch:focus-within .switch__control.sc-swirl-switch{box-shadow:0 0 0 0.0625rem var(--s-background-default),
|
|
6
|
+
0 0 0 0.1875rem var(--s-focus-default)}.switch--on.sc-swirl-switch .switch__thumb.sc-swirl-switch{left:calc(100% - 1.25rem - var(--s-space-2))}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.switch--on.sc-swirl-switch .switch__thumb.sc-swirl-switch{left:calc(100% - 0.875rem - var(--s-space-2))}}.switch--on.sc-swirl-switch .switch__control.sc-swirl-switch{background-color:var(--s-interactive-primary-default)}.switch--disabled.sc-swirl-switch .switch__control.sc-swirl-switch{background-color:var(--s-interactive-primary-disabled);cursor:default}.switch--disabled.sc-swirl-switch .switch__thumb.sc-swirl-switch{background-color:var(--s-interactive-neutral-default)}.switch--disabled.sc-swirl-switch .switch__label.sc-swirl-switch{color:var(--s-text-disabled)}.switch__control.sc-swirl-switch{position:relative;width:2.75rem;height:1.5rem;flex-shrink:0;border-radius:calc(1.5rem / 2);background-color:var(--s-interactive-primary-disabled);cursor:pointer;transition:background-color 0.2s}@media (prefers-reduced-motion){.switch__control.sc-swirl-switch{transition:none}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.switch__control.sc-swirl-switch{width:1.875rem;height:1.125rem;border-radius:calc(1.125rem / 2)}}.switch__thumb.sc-swirl-switch{position:absolute;top:var(--s-space-2);left:var(--s-space-2);width:1.25rem;height:1.25rem;border-radius:50%;background-color:var(--s-surface-default);transition:left 0.2s;pointer-events:none}@media (prefers-reduced-motion){.switch__thumb.sc-swirl-switch{transition:none}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.switch__thumb.sc-swirl-switch{width:0.875rem;height:0.875rem}}.switch__label.sc-swirl-switch{position:relative;z-index:1;margin-left:var(--s-space-12);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base)}`, w = class {
|
|
7
|
+
constructor(r) {
|
|
8
|
+
n(this, r), this.valueChange = c(this, "valueChange", 7), this.dragging = !1, this.recentlyDragged = !1, this.onChange = () => {
|
|
9
|
+
if (!this.dragging) {
|
|
10
|
+
if (this.recentlyDragged) {
|
|
11
|
+
this.recentlyDragged = !1;
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
this.checked = !this.checked, this.valueChange.emit(this.checked);
|
|
15
|
+
}
|
|
16
|
+
}, this.onStartDrag = () => {
|
|
17
|
+
this.disabled || (this.dragging = !0, this.thumb.style.transition = "none");
|
|
18
|
+
}, this.onEndDrag = () => {
|
|
19
|
+
if (!this.disabled) {
|
|
20
|
+
if (this.recentlyDragged) {
|
|
21
|
+
const e = this.control.getBoundingClientRect(), h = this.thumb.getBoundingClientRect(), t = this.thumb.offsetLeft + h.width / 2 > e.width / 2;
|
|
22
|
+
this.checked !== t && (this.checked = t, this.valueChange.emit(t));
|
|
23
|
+
}
|
|
24
|
+
this.thumb.style.left = "", this.thumb.style.transition = "", this.dragging = !1, setTimeout(() => {
|
|
25
|
+
this.recentlyDragged = !1;
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
}, this.onDrag = (e) => {
|
|
29
|
+
if (!this.dragging)
|
|
30
|
+
return;
|
|
31
|
+
this.recentlyDragged = !0;
|
|
32
|
+
const h = this.control.getBoundingClientRect(), t = this.thumb.getBoundingClientRect();
|
|
33
|
+
let i = Math.round(e.offsetX - t.width / 2);
|
|
34
|
+
i < 0 && (i = 0), i > Math.round(h.width - t.width) && (i = Math.round(h.width - t.width)), this.thumb.style.left = `${i}px`;
|
|
35
|
+
}, this.checked = !1, this.disabled = !1, this.hideLabel = void 0, this.inputId = void 0, this.inputName = void 0, this.label = void 0, this.value = void 0;
|
|
36
|
+
}
|
|
37
|
+
onWindowPointerUp() {
|
|
38
|
+
this.onEndDrag();
|
|
39
|
+
}
|
|
40
|
+
render() {
|
|
41
|
+
const r = !this.checked, e = this.checked, h = e ? "true" : "false", t = o("switch", {
|
|
42
|
+
"switch--off": r,
|
|
43
|
+
"switch--on": e,
|
|
44
|
+
"switch--disabled": this.disabled
|
|
45
|
+
});
|
|
46
|
+
return s(a, null, s("label", { class: t, htmlFor: this.inputId }, s("span", { class: "switch__control", onPointerDown: this.onStartDrag, onPointerMove: this.onDrag, onPointerUp: this.onEndDrag, ref: (i) => this.control = i }, s("swirl-visually-hidden", null, s("input", { "aria-checked": h, checked: e, class: "switch__input", disabled: this.disabled, id: this.inputId, name: this.inputName, onChange: this.onChange, role: "switch", type: "checkbox", value: this.value })), s("span", { "aria-hidden": "true", class: "switch__thumb", ref: (i) => this.thumb = i })), this.label && !this.hideLabel && s("span", { class: "switch__label" }, this.label), this.label && this.hideLabel && s("swirl-visually-hidden", null, this.label)));
|
|
47
|
+
}
|
|
48
|
+
get el() {
|
|
49
|
+
return l(this);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
w.style = d;
|
|
53
|
+
export {
|
|
54
|
+
w as swirl_switch
|
|
55
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as C, h as i, F as l } from "./index.e5965a8a.js";
|
|
2
|
+
import { c as r } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const e = ":host{display:inline-flex}", o = class {
|
|
6
|
+
constructor(s) {
|
|
7
|
+
C(this, s), this.size = 24;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
const s = this.size === 20 ? 24 : this.size, t = r("swirl-symbol", `swirl-symbol--size-${this.size}`);
|
|
11
|
+
return i("svg", { class: t, fill: "none", height: this.size, part: "symbol", viewBox: `0 0 ${s} ${s}`, width: this.size, xmlns: "http://www.w3.org/2000/svg" }, i(l, null, i("path", { d: "M12 2C10.0222 2 8.08879 2.58649 6.4443 3.6853C4.79981 4.78412 3.51809 6.3459 2.76121 8.17317C2.00433 10.0004 1.8063 12.0111 2.19215 13.9509C2.578 15.8907 3.53041 17.6725 4.92894 19.0711C6.32746 20.4696 8.10929 21.422 10.0491 21.8079C11.9889 22.1937 13.9996 21.9957 15.8268 21.2388C17.6541 20.4819 19.2159 19.2002 20.3147 17.5557C21.4135 15.9112 22 13.9778 22 12C22 10.6868 21.7413 9.38642 21.2388 8.17317C20.7363 6.95991 19.9997 5.85752 19.0711 4.92893C18.1425 4.00035 17.0401 3.26375 15.8268 2.7612C14.6136 2.25866 13.3132 2 12 2ZM12 5C12.5933 5 13.1734 5.17595 13.6667 5.50559C14.1601 5.83524 14.5446 6.30377 14.7716 6.85195C14.9987 7.40013 15.0581 8.00333 14.9424 8.58527C14.8266 9.16721 14.5409 9.70176 14.1213 10.1213C13.7018 10.5409 13.1672 10.8266 12.5853 10.9424C12.0033 11.0581 11.4001 10.9987 10.852 10.7716C10.3038 10.5446 9.83524 10.1601 9.5056 9.66671C9.17595 9.17336 9 8.59334 9 8C9 7.20435 9.31607 6.44129 9.87868 5.87868C10.4413 5.31607 11.2044 5 12 5ZM12 19.2C10.8119 19.2 9.64219 18.906 8.59528 18.3441C7.54838 17.7823 6.65678 16.9701 6 15.98C6.03 13.99 10 12.9 12 12.9C14 12.9 17.97 13.99 18 15.98C17.3432 16.9701 16.4516 17.7823 15.4047 18.3441C14.3578 18.906 13.1881 19.2 12 19.2Z", fill: "currentColor" })));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
o.style = e;
|
|
15
|
+
export {
|
|
16
|
+
o as swirl_symbol_account_circle
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as t, h as C, F as e } from "./index.e5965a8a.js";
|
|
2
|
+
import { c as l } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const r = ":host{display:inline-flex}", o = class {
|
|
6
|
+
constructor(s) {
|
|
7
|
+
t(this, s), this.size = 24;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
const s = this.size === 20 ? 24 : this.size, i = l("swirl-symbol", `swirl-symbol--size-${this.size}`);
|
|
11
|
+
return C("svg", { class: i, fill: "none", height: this.size, part: "symbol", viewBox: `0 0 ${s} ${s}`, width: this.size, xmlns: "http://www.w3.org/2000/svg" }, C(e, null, C("path", { d: "M12.72 2.03C11.2895 1.92586 9.85327 2.13097 8.50906 2.63136C7.16486 3.13175 5.94415 3.91571 4.92993 4.92993C3.91571 5.94415 3.13175 7.16486 2.63136 8.50906C2.13097 9.85327 1.92586 11.2895 2.03 12.72C2.25932 15.2774 3.44555 17.654 5.35148 19.3745C7.25741 21.095 9.74256 22.0327 12.31 22H16C16.2652 22 16.5196 21.8946 16.7071 21.7071C16.8946 21.5196 17 21.2652 17 21C17 20.7348 16.8946 20.4804 16.7071 20.2929C16.5196 20.1054 16.2652 20 16 20H12.33C10.507 20.0255 8.72662 19.4482 7.26549 18.3578C5.80435 17.2674 4.74428 15.7249 4.25 13.97C3.9207 12.6293 3.94274 11.2264 4.31399 9.89667C4.68524 8.56699 5.39316 7.35554 6.36935 6.37935C7.34554 5.40316 8.55699 4.69524 9.88667 4.32399C11.2164 3.95274 12.6193 3.9307 13.96 4.26C15.7171 4.7485 17.2628 5.80538 18.3556 7.26544C19.4484 8.7255 20.0266 10.5065 20 12.33V13.43C19.9896 13.8312 19.8303 14.2143 19.553 14.5045C19.2757 14.7947 18.9004 14.9713 18.5 15C18.0996 14.9713 17.7243 14.7947 17.447 14.5045C17.1697 14.2143 17.0104 13.8312 17 13.43V12.18C17.0186 10.9584 16.5992 9.77056 15.8178 8.83141C15.0364 7.89226 13.9446 7.26388 12.74 7.06C11.8943 6.93234 11.03 7.02353 10.2295 7.32488C9.42907 7.62623 8.7192 8.12767 8.16765 8.78137C7.6161 9.43507 7.24127 10.2192 7.07893 11.0589C6.91659 11.8987 6.97215 12.766 7.24032 13.5782C7.50849 14.3904 7.98031 15.1203 8.61077 15.6982C9.24122 16.2762 10.0093 16.683 10.8416 16.8797C11.674 17.0765 12.5429 17.0566 13.3654 16.8221C14.1879 16.5875 14.9366 16.1461 15.54 15.54C16.027 16.1827 16.7106 16.6487 17.4868 16.8671C18.263 17.0855 19.0893 17.0444 19.84 16.75C20.4916 16.4715 21.0452 16.0048 21.43 15.4098C21.8148 14.8148 22.0132 14.1185 22 13.41V12.32C22.0348 9.75098 21.0981 7.26359 19.3774 5.35564C17.6567 3.44768 15.2789 2.2599 12.72 2.03ZM12 15C11.4067 15 10.8266 14.8241 10.3333 14.4944C9.83994 14.1648 9.45542 13.6962 9.22836 13.148C9.0013 12.5999 8.94189 11.9967 9.05764 11.4147C9.1734 10.8328 9.45912 10.2982 9.87868 9.87868C10.2982 9.45912 10.8328 9.1734 11.4147 9.05764C11.9967 8.94189 12.5999 9.0013 13.148 9.22836C13.6962 9.45542 14.1648 9.83994 14.4944 10.3333C14.8241 10.8266 15 11.4067 15 12C15 12.7956 14.6839 13.5587 14.1213 14.1213C13.5587 14.6839 12.7956 15 12 15Z", fill: "currentColor" })));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
o.style = r;
|
|
15
|
+
export {
|
|
16
|
+
o as swirl_symbol_alternate_email
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as t, h as C, F as r } from "./index.e5965a8a.js";
|
|
2
|
+
import { c as o } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const l = ":host{display:inline-flex}", e = class {
|
|
6
|
+
constructor(s) {
|
|
7
|
+
t(this, s), this.size = 24;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
const s = this.size === 20 ? 24 : this.size, i = o("swirl-symbol", `swirl-symbol--size-${this.size}`);
|
|
11
|
+
return C("svg", { class: i, fill: "none", height: this.size, part: "symbol", viewBox: `0 0 ${s} ${s}`, width: this.size, xmlns: "http://www.w3.org/2000/svg" }, C(r, null, C("path", { d: "M16.6 14.658C16.4352 14.658 16.2742 14.6091 16.1372 14.5176C16.0002 14.4261 15.8935 14.296 15.8304 14.1438C15.7674 13.9916 15.7509 13.8241 15.783 13.6625C15.8151 13.5009 15.8945 13.3525 16.011 13.236C16.1275 13.1195 16.2759 13.0401 16.4375 13.008C16.5991 12.9759 16.7666 12.9924 16.9188 13.0554C17.071 13.1185 17.2011 13.2252 17.2926 13.3622C17.3841 13.4992 17.433 13.6602 17.433 13.825C17.433 14.0459 17.3452 14.2578 17.189 14.414C17.0328 14.5702 16.8209 14.658 16.6 14.658ZM7.4 14.658C7.23525 14.658 7.0742 14.6091 6.93721 14.5176C6.80022 14.4261 6.69346 14.296 6.63041 14.1438C6.56736 13.9916 6.55086 13.8241 6.58301 13.6625C6.61515 13.5009 6.69448 13.3525 6.81098 13.236C6.92748 13.1195 7.0759 13.0401 7.23749 13.008C7.39908 12.9759 7.56656 12.9924 7.71878 13.0554C7.87099 13.1185 8.00108 13.2252 8.09261 13.3622C8.18415 13.4992 8.233 13.6602 8.233 13.825C8.233 14.0459 8.14524 14.2578 7.98902 14.414C7.8328 14.5702 7.62093 14.658 7.4 14.658ZM16.9 9.641L18.564 6.758C18.6099 6.67844 18.6223 6.5839 18.5985 6.4952C18.5746 6.40649 18.5166 6.33088 18.437 6.285C18.3574 6.23912 18.2629 6.22672 18.1742 6.25054C18.0855 6.27436 18.0099 6.33244 17.964 6.412L16.281 9.331C14.9347 8.72739 13.4759 8.41534 12.0005 8.41534C10.5251 8.41534 9.06631 8.72739 7.72 9.331L6.034 6.412C6.01128 6.37261 5.98103 6.33807 5.94496 6.31037C5.90889 6.28266 5.86772 6.26233 5.8238 6.25054C5.77988 6.23875 5.73407 6.23572 5.68897 6.24163C5.64388 6.24755 5.6004 6.26228 5.561 6.285C5.5216 6.30772 5.48707 6.33798 5.45936 6.37404C5.43166 6.41011 5.41133 6.45128 5.39954 6.4952C5.38775 6.53912 5.38472 6.58494 5.39063 6.63003C5.39654 6.67512 5.41128 6.71861 5.434 6.758L7.1 9.641C5.66202 10.4236 4.44232 11.553 3.55168 12.9267C2.66103 14.3004 2.12766 15.8748 2 17.507H22C21.8723 15.8749 21.3388 14.3005 20.4482 12.9268C19.5576 11.5531 18.3379 10.4237 16.9 9.641Z", fill: "currentColor" })));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
e.style = l;
|
|
15
|
+
export {
|
|
16
|
+
e as swirl_symbol_android
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as e, h as i, F as o } from "./index.e5965a8a.js";
|
|
2
|
+
import { c as l } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const r = ":host{display:inline-flex}", n = class {
|
|
6
|
+
constructor(s) {
|
|
7
|
+
e(this, s), this.size = 24;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
const s = this.size === 20 ? 24 : this.size, t = l("swirl-symbol", `swirl-symbol--size-${this.size}`);
|
|
11
|
+
return i("svg", { class: t, fill: "none", height: this.size, part: "symbol", viewBox: `0 0 ${s} ${s}`, width: this.size, xmlns: "http://www.w3.org/2000/svg" }, i(o, null, i("path", { d: "M20 2H4C3.47005 2.00158 2.96227 2.2128 2.58753 2.58753C2.2128 2.96227 2.00158 3.47005 2 4V22L6 18H20C20.5299 17.9984 21.0377 17.7872 21.4125 17.4125C21.7872 17.0377 21.9984 16.5299 22 16V4C21.9984 3.47005 21.7872 2.96227 21.4125 2.58753C21.0377 2.2128 20.5299 2.00158 20 2ZM12 11C11.7348 11 11.4804 10.8946 11.2929 10.7071C11.1054 10.5196 11 10.2652 11 10V6C11 5.73478 11.1054 5.48043 11.2929 5.29289C11.4804 5.10536 11.7348 5 12 5C12.2652 5 12.5196 5.10536 12.7071 5.29289C12.8946 5.48043 13 5.73478 13 6V10C13 10.2652 12.8946 10.5196 12.7071 10.7071C12.5196 10.8946 12.2652 11 12 11ZM13 15H11V13H13V15Z", fill: "currentColor" })));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
n.style = r;
|
|
15
|
+
export {
|
|
16
|
+
n as swirl_symbol_announcement
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as C, h as i, F as l } from "./index.e5965a8a.js";
|
|
2
|
+
import { c as r } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const e = ":host{display:inline-flex}", o = class {
|
|
6
|
+
constructor(s) {
|
|
7
|
+
C(this, s), this.size = 24;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
const s = this.size === 20 ? 24 : this.size, t = r("swirl-symbol", `swirl-symbol--size-${this.size}`);
|
|
11
|
+
return i("svg", { class: t, fill: "none", height: this.size, part: "symbol", viewBox: `0 0 ${s} ${s}`, width: this.size, xmlns: "http://www.w3.org/2000/svg" }, i(l, null, i("path", { d: "M19 11C19.001 9.30604 18.3871 7.66929 17.2725 6.39373C16.1578 5.11818 14.6181 4.29053 12.9393 4.06449C11.2605 3.83845 9.55667 4.22938 8.14432 5.16469C6.73198 6.1 5.70709 7.5161 5.26 9.15C3.95216 9.46173 2.80381 10.2417 2.03194 11.3426C1.26008 12.4434 0.91817 13.7888 1.07083 15.1246C1.22349 16.4604 1.86015 17.694 2.86048 18.5923C3.86082 19.4906 5.15555 19.9914 6.5 20H18.5C19.6508 19.9951 20.7562 19.551 21.5905 18.7584C22.4248 17.9657 22.925 16.8845 22.9888 15.7355C23.0526 14.5865 22.6753 13.4565 21.934 12.5763C21.1926 11.6962 20.1431 11.1323 19 11ZM13 13V15C13 15.2652 12.8946 15.5196 12.7071 15.7071C12.5196 15.8946 12.2652 16 12 16C11.7348 16 11.4804 15.8946 11.2929 15.7071C11.1054 15.5196 11 15.2652 11 15V13H9.21C9.11214 12.9986 9.01683 12.9686 8.93589 12.9135C8.85495 12.8585 8.79195 12.7809 8.75468 12.6904C8.71742 12.5999 8.70753 12.5005 8.72625 12.4044C8.74498 12.3083 8.79148 12.2199 8.86 12.15L11.65 9.36C11.6965 9.31313 11.7518 9.27594 11.8127 9.25055C11.8736 9.22517 11.939 9.2121 12.005 9.2121C12.071 9.2121 12.1364 9.22517 12.1973 9.25055C12.2582 9.27594 12.3135 9.31313 12.36 9.36L15.15 12.15C15.2185 12.2199 15.265 12.3083 15.2837 12.4044C15.3025 12.5005 15.2926 12.5999 15.2553 12.6904C15.2181 12.7809 15.155 12.8585 15.0741 12.9135C14.9932 12.9686 14.8979 12.9986 14.8 13H13Z", fill: "currentColor" })));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
o.style = e;
|
|
15
|
+
export {
|
|
16
|
+
o as swirl_symbol_backup
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as e, h as i, F as C } from "./index.e5965a8a.js";
|
|
2
|
+
import { c as l } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const r = ":host{display:inline-flex}", o = class {
|
|
6
|
+
constructor(s) {
|
|
7
|
+
e(this, s), this.size = 24;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
const s = this.size === 20 ? 24 : this.size, t = l("swirl-symbol", `swirl-symbol--size-${this.size}`);
|
|
11
|
+
return i("svg", { class: t, fill: "none", height: this.size, part: "symbol", viewBox: `0 0 ${s} ${s}`, width: this.size, xmlns: "http://www.w3.org/2000/svg" }, i(C, null, i("path", { d: "M13.13 14.56L14.56 13.13L20.29 18.86C20.3839 18.9539 20.4584 19.0654 20.5092 19.188C20.56 19.3107 20.5862 19.4422 20.5862 19.575C20.5862 19.7078 20.56 19.8393 20.5092 19.9619C20.4584 20.0846 20.3839 20.1961 20.29 20.29C20.1961 20.3839 20.0846 20.4584 19.962 20.5092C19.8393 20.56 19.7078 20.5862 19.575 20.5862C19.4422 20.5862 19.3107 20.56 19.188 20.5092C19.0654 20.4584 18.9539 20.3839 18.86 20.29L13.13 14.56ZM17.42 8.82999L18.69 7.55999C18.9024 7.352 19.0653 7.09889 19.1666 6.81942C19.2679 6.53994 19.305 6.24126 19.2752 5.94549C19.2455 5.64972 19.1495 5.36443 18.9946 5.11075C18.8396 4.85707 18.6296 4.6415 18.38 4.47999C16.4475 3.29944 14.1744 2.80256 11.9256 3.06915C9.67682 3.33574 7.58287 4.35033 5.98 5.94999C7.96561 5.31437 10.0895 5.24725 12.1113 5.75623C14.1331 6.26521 15.972 7.32997 17.42 8.82999ZM5.95 5.97999C4.35126 7.58313 3.33653 9.67625 3.06821 11.9244C2.79989 14.1725 3.29348 16.4456 4.47 18.38C4.63075 18.6305 4.84601 18.8414 5.09971 18.9971C5.35341 19.1527 5.63899 19.249 5.93513 19.2788C6.23127 19.3086 6.53032 19.2712 6.80995 19.1692C7.08957 19.0672 7.34255 18.9034 7.55 18.69L8.82 17.42C7.32318 15.9699 6.26132 14.1305 5.75421 12.1091C5.2471 10.0877 5.31491 7.96488 5.95 5.97999ZM5.97 5.95999L5.96 5.96999C5.58 8.97999 7.13 12.85 10.26 15.99L15.99 10.26C12.86 7.12999 8.98 5.57999 5.97 5.95999Z", fill: "currentColor" })));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
o.style = r;
|
|
15
|
+
export {
|
|
16
|
+
o as swirl_symbol_beach_access
|
|
17
|
+
};
|