@getflip/swirl-components-react 0.190.0 → 0.192.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.c3376c83.js +57 -0
- package/dist/index-d280dafb.186cdb0e.js +71 -0
- package/dist/index.646f8b70.js +3012 -0
- package/dist/{maska-c5119b9a.aa658697.js → maska-4866b970.5336f9cb.js} +746 -761
- package/dist/stencil-generated/react-component-lib/utils/attachProps.d.ts +0 -4
- package/dist/{swirl-accordion-item.entry.a5d91839.js → swirl-accordion-item.entry.7642df94.js} +9 -9
- package/dist/{swirl-accordion.entry.b39f742e.js → swirl-accordion.entry.70f7cf07.js} +7 -7
- package/dist/{swirl-action-list-section.entry.7c76c543.js → swirl-action-list-section.entry.15d43f15.js} +6 -6
- package/dist/swirl-action-list_3.entry.795c3c74.js +103 -0
- package/dist/swirl-app-bar.entry.339680f7.js +45 -0
- package/dist/swirl-app-icon.entry.87066e60.js +23 -0
- package/dist/{swirl-app-layout_6.entry.6fd84618.js → swirl-app-layout_6.entry.b0d9ea2f.js} +109 -109
- package/dist/swirl-autocomplete.entry.72c983da.js +115 -0
- package/dist/{swirl-avatar-group.entry.b0b1dd62.js → swirl-avatar-group.entry.4047e3bd.js} +7 -7
- package/dist/{swirl-avatar.entry.d594715d.js → swirl-avatar.entry.ffcd08e3.js} +9 -9
- package/dist/{swirl-badge.entry.b522f992.js → swirl-badge.entry.fa985e6c.js} +6 -6
- package/dist/{swirl-banner.entry.21eae081.js → swirl-banner.entry.f3c1eb8d.js} +13 -13
- package/dist/{swirl-box.entry.316b757d.js → swirl-box.entry.be54a348.js} +6 -6
- package/dist/{swirl-button-group.entry.e4cbd09f.js → swirl-button-group.entry.a161ed66.js} +6 -6
- package/dist/{swirl-button.entry.912843e7.js → swirl-button.entry.6b2c06ea.js} +7 -7
- package/dist/{swirl-card.entry.34ed81bd.js → swirl-card.entry.e9d2c0c4.js} +16 -15
- package/dist/swirl-carousel-slide.entry.7735b59c.js +19 -0
- package/dist/{swirl-carousel.entry.c8de1388.js → swirl-carousel.entry.4db746cb.js} +21 -21
- package/dist/{swirl-checkbox.entry.377852cb.js → swirl-checkbox.entry.beb0aaa1.js} +8 -8
- package/dist/{swirl-chip.entry.73e76fa6.js → swirl-chip.entry.5b3c2620.js} +10 -10
- package/dist/{swirl-color-input.entry.e95bacba.js → swirl-color-input.entry.fa28f37e.js} +32 -32
- package/dist/swirl-columns.entry.fe715d08.js +18 -0
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +52 -52
- package/dist/swirl-console-layout.entry.bb8b69cc.js +68 -0
- package/dist/{swirl-date-input.entry.c8d08cd2.js → swirl-date-input.entry.a0ad3bc3.js} +21 -22
- package/dist/{swirl-date-picker_2.entry.15ce6e94.js → swirl-date-picker_2.entry.af763a2b.js} +11 -11
- package/dist/{swirl-description-list-item.entry.87085342.js → swirl-description-list-item.entry.5096ae84.js} +8 -8
- package/dist/swirl-description-list.entry.432b0113.js +15 -0
- package/dist/{swirl-dialog.entry.e673821f.js → swirl-dialog.entry.dc89c879.js} +15 -15
- package/dist/swirl-emoji-clap.entry.f6bece82.js +17 -0
- package/dist/swirl-emoji-happy.entry.bcefc4d0.js +17 -0
- package/dist/swirl-emoji-idea.entry.491b16b3.js +17 -0
- package/dist/swirl-emoji-love.entry.21d704ae.js +17 -0
- package/dist/swirl-emoji-sad.entry.58e0898b.js +17 -0
- package/dist/swirl-emoji-thumbs-up.entry.38924975.js +17 -0
- package/dist/swirl-emoji.entry.01ae584b.js +16 -0
- package/dist/{swirl-file-uploader.entry.258316c4.js → swirl-file-uploader.entry.7c8be92b.js} +7 -7
- package/dist/{swirl-file-viewer_7.entry.f406b7b5.js → swirl-file-viewer_7.entry.32c7e7b0.js} +908 -914
- package/dist/{swirl-form-control.entry.f849ba67.js → swirl-form-control.entry.f0fb500f.js} +14 -14
- package/dist/swirl-form-group.entry.d6d7dfa9.js +17 -0
- package/dist/{swirl-heading.entry.5ace0a8e.js → swirl-heading.entry.da748b09.js} +5 -5
- package/dist/swirl-icon-add-moderator.entry.a0058762.js +19 -0
- package/dist/swirl-icon-add-photo.entry.790a4fc2.js +19 -0
- package/dist/swirl-icon-add-reaction.entry.29a90d8b.js +19 -0
- package/dist/swirl-icon-add_6.entry.cf28e3a7.js +84 -0
- package/dist/swirl-icon-admin-panel-settings.entry.c85bd53c.js +19 -0
- package/dist/swirl-icon-ai.entry.e2e7af74.js +19 -0
- package/dist/swirl-icon-apps.entry.3b0fed26.js +19 -0
- package/dist/swirl-icon-arrow-back_4.entry.f844e9c5.js +58 -0
- package/dist/swirl-icon-arrow-downward_2.entry.08c74cdd.js +32 -0
- package/dist/swirl-icon-arrow-left_4.entry.06aa2b6f.js +59 -0
- package/dist/swirl-icon-arrow-right-small.entry.f02d0883.js +19 -0
- package/dist/swirl-icon-attachment.entry.0b60ec4e.js +19 -0
- package/dist/swirl-icon-bar-chart.entry.532e2075.js +19 -0
- package/dist/swirl-icon-block.entry.23f1897f.js +19 -0
- package/dist/swirl-icon-bookmark-filled.entry.fa7750c7.js +19 -0
- package/dist/swirl-icon-bookmark.entry.8d3ad349.js +19 -0
- package/dist/swirl-icon-cancel_4.entry.39c1ea4a.js +58 -0
- package/dist/swirl-icon-chat-bubble.entry.977ed569.js +19 -0
- package/dist/swirl-icon-chats-filled.entry.065665c5.js +19 -0
- package/dist/swirl-icon-chats.entry.80b54ccc.js +19 -0
- package/dist/swirl-icon-check-circle_2.entry.743b00a8.js +32 -0
- package/dist/swirl-icon-check-small_3.entry.ba35ff90.js +77 -0
- package/dist/swirl-icon-check-strong.entry.832b9c73.js +19 -0
- package/dist/swirl-icon-check.entry.bf52ab76.js +19 -0
- package/dist/swirl-icon-chevron-left.entry.c39e9c40.js +19 -0
- package/dist/swirl-icon-chevron-right.entry.ca83d518.js +19 -0
- package/dist/swirl-icon-close-small.entry.92cd725d.js +19 -0
- package/dist/swirl-icon-close.entry.e759605f.js +19 -0
- package/dist/swirl-icon-cloud-upload.entry.b03cd35b.js +19 -0
- package/dist/swirl-icon-column.entry.e3b20be1.js +19 -0
- package/dist/swirl-icon-comment.entry.3075d7a1.js +19 -0
- package/dist/swirl-icon-copy.entry.741026ab.js +19 -0
- package/dist/swirl-icon-dark-mode.entry.b93e3c6d.js +19 -0
- package/dist/swirl-icon-date-range.entry.28ff2f65.js +19 -0
- package/dist/swirl-icon-delete.entry.19ae465f.js +19 -0
- package/dist/swirl-icon-description.entry.2734abd8.js +19 -0
- package/dist/swirl-icon-desktop.entry.976d1e81.js +19 -0
- package/dist/swirl-icon-directory-filled.entry.edcecde2.js +19 -0
- package/dist/swirl-icon-directory.entry.ec1bfcee.js +19 -0
- package/dist/swirl-icon-discover.entry.e25a64cf.js +19 -0
- package/dist/swirl-icon-dot.entry.d0d178b8.js +19 -0
- package/dist/swirl-icon-double-arrow-right.entry.d95f3541.js +19 -0
- package/dist/swirl-icon-download.entry.f7d91cb5.js +19 -0
- package/dist/swirl-icon-edit.entry.a44ec82c.js +19 -0
- package/dist/swirl-icon-emoji-mood.entry.affdbca4.js +19 -0
- package/dist/swirl-icon-emoji-satisfied.entry.b7e2953e.js +19 -0
- package/dist/swirl-icon-error_3.entry.7999d68b.js +58 -0
- package/dist/swirl-icon-expand-more.entry.1c6de5a9.js +19 -0
- package/dist/swirl-icon-filter.entry.a97699fb.js +19 -0
- package/dist/swirl-icon-folder.entry.b713e345.js +19 -0
- package/dist/swirl-icon-format-h-one.entry.a1f9c491.js +19 -0
- package/dist/swirl-icon-gif.entry.9dd2aedd.js +19 -0
- package/dist/swirl-icon-group-add.entry.0cc07eb3.js +19 -0
- package/dist/swirl-icon-group-assign.entry.2feee62e.js +19 -0
- package/dist/swirl-icon-groups-filled.entry.21ba1731.js +19 -0
- package/dist/swirl-icon-groups.entry.c2e956fe.js +19 -0
- package/dist/swirl-icon-hamburger-menu.entry.a621d732.js +19 -0
- package/dist/swirl-icon-help.entry.9b555a53.js +19 -0
- package/dist/swirl-icon-highlight.entry.08eb0954.js +19 -0
- package/dist/swirl-icon-home.entry.d7a51b6b.js +19 -0
- package/dist/swirl-icon-image.entry.92315cd0.js +19 -0
- package/dist/swirl-icon-improve-text.entry.bcdeeb96.js +19 -0
- package/dist/swirl-icon-info.entry.850b5c97.js +19 -0
- package/dist/swirl-icon-insert-below.entry.7c3c1bf8.js +19 -0
- package/dist/swirl-icon-insert-on-top.entry.e5bbcbaf.js +19 -0
- package/dist/swirl-icon-inventory.entry.5778865d.js +19 -0
- package/dist/swirl-icon-keyboard-hide.entry.daa12636.js +19 -0
- package/dist/swirl-icon-light-mode.entry.88a2a385.js +19 -0
- package/dist/swirl-icon-like.entry.ffadb9bf.js +19 -0
- package/dist/swirl-icon-link.entry.c9115086.js +19 -0
- package/dist/swirl-icon-load.entry.ac9848ec.js +19 -0
- package/dist/swirl-icon-lock-open.entry.3a137a7d.js +19 -0
- package/dist/swirl-icon-lock-person.entry.27d73600.js +19 -0
- package/dist/swirl-icon-lock.entry.122df0b7.js +19 -0
- package/dist/swirl-icon-login.entry.c27feba8.js +19 -0
- package/dist/swirl-icon-logout.entry.f7dc9f49.js +19 -0
- package/dist/swirl-icon-long-text.entry.0557b367.js +19 -0
- package/dist/swirl-icon-mail.entry.c8f7039c.js +19 -0
- package/dist/swirl-icon-manage-accounts.entry.d3a43717.js +19 -0
- package/dist/swirl-icon-mark-chat-read.entry.ee24f226.js +19 -0
- package/dist/swirl-icon-mark-chat-unread.entry.f3c39ac2.js +19 -0
- package/dist/swirl-icon-mention.entry.833b7086.js +19 -0
- package/dist/swirl-icon-menu-filled.entry.1e95ae86.js +19 -0
- package/dist/swirl-icon-menu.entry.e7f3ff29.js +19 -0
- package/dist/swirl-icon-message.entry.6c6ff00a.js +19 -0
- package/dist/swirl-icon-mic.entry.4da8e81b.js +19 -0
- package/dist/swirl-icon-more-horizontal.entry.08555692.js +19 -0
- package/dist/swirl-icon-news-filled.entry.1640c88c.js +19 -0
- package/dist/swirl-icon-news-off.entry.ab5bbf8f.js +19 -0
- package/dist/swirl-icon-news.entry.ee51d687.js +19 -0
- package/dist/swirl-icon-notifications-active.entry.00cf9c85.js +19 -0
- package/dist/swirl-icon-notifications-off.entry.6142b879.js +19 -0
- package/dist/swirl-icon-notifications.entry.f0208f9d.js +19 -0
- package/dist/swirl-icon-open-in-full.entry.2843d04a.js +19 -0
- package/dist/swirl-icon-open-in-new.entry.c78ffc73.js +19 -0
- package/dist/swirl-icon-pause-circle.entry.0c89b9f2.js +19 -0
- package/dist/swirl-icon-pause.entry.fbab8abf.js +19 -0
- package/dist/swirl-icon-people-alt.entry.00d0bc99.js +19 -0
- package/dist/swirl-icon-person-off.entry.58682648.js +19 -0
- package/dist/swirl-icon-person.entry.3b0330e2.js +19 -0
- package/dist/swirl-icon-phone.entry.4cb36085.js +19 -0
- package/dist/swirl-icon-photo-camera.entry.7df9b1ae.js +19 -0
- package/dist/swirl-icon-place.entry.77e36869.js +19 -0
- package/dist/swirl-icon-play-arrow.entry.76ae5929.js +19 -0
- package/dist/swirl-icon-poll.entry.1a4a607f.js +19 -0
- package/dist/swirl-icon-print.entry.2b04d34f.js +19 -0
- package/dist/swirl-icon-recieved.entry.700fbfdd.js +19 -0
- package/dist/swirl-icon-remove-moderator.entry.46305271.js +19 -0
- package/dist/swirl-icon-reply.entry.b680e291.js +19 -0
- package/dist/swirl-icon-report.entry.05c5e462.js +19 -0
- package/dist/swirl-icon-roadmap.entry.4413d07a.js +19 -0
- package/dist/swirl-icon-search-strong.entry.5aebc26c.js +19 -0
- package/dist/swirl-icon-search.entry.c04cb08c.js +19 -0
- package/dist/swirl-icon-secure.entry.9c94f4bd.js +19 -0
- package/dist/swirl-icon-send.entry.74104fe8.js +19 -0
- package/dist/swirl-icon-settings.entry.50c625f9.js +19 -0
- package/dist/swirl-icon-short-text.entry.e8ac3807.js +19 -0
- package/dist/swirl-icon-simplify.entry.af2be4d9.js +19 -0
- package/dist/swirl-icon-spellcheck.entry.cd95f61f.js +19 -0
- package/dist/swirl-icon-stop.entry.334c7eb3.js +19 -0
- package/dist/swirl-icon-sync.entry.bfeaeebc.js +19 -0
- package/dist/swirl-icon-tasks-filled.entry.a6d8a473.js +19 -0
- package/dist/swirl-icon-tasks.entry.c1f94e60.js +19 -0
- package/dist/swirl-icon-terminal.entry.b0b627cd.js +19 -0
- package/dist/swirl-icon-time-filled.entry.54af15f6.js +19 -0
- package/dist/swirl-icon-time.entry.3d0feb2d.js +19 -0
- package/dist/swirl-icon-today-filled.entry.ba634fd9.js +19 -0
- package/dist/swirl-icon-translate.entry.25cbae77.js +19 -0
- package/dist/swirl-icon-tree-structure.entry.dd65a1d4.js +19 -0
- package/dist/swirl-icon-undo.entry.55e173fe.js +19 -0
- package/dist/swirl-icon-unlock-person.entry.8e497d6a.js +19 -0
- package/dist/swirl-icon-user-add.entry.bf8bf45c.js +19 -0
- package/dist/swirl-icon-user-assign.entry.e606b5ab.js +19 -0
- package/dist/swirl-icon-video-camera.entry.e777a873.js +19 -0
- package/dist/swirl-icon-video-library.entry.5bb5a5ff.js +19 -0
- package/dist/swirl-icon-voice.entry.78de5814.js +19 -0
- package/dist/swirl-icon-work.entry.3b1d4bd0.js +19 -0
- package/dist/swirl-icon.entry.703f8f60.js +16 -0
- package/dist/{swirl-image-grid-item.entry.cbb59e85.js → swirl-image-grid-item.entry.60e4907f.js} +16 -16
- package/dist/{swirl-image-grid.entry.0b1f368f.js → swirl-image-grid.entry.2a0fcc71.js} +6 -6
- package/dist/swirl-inline-notification.entry.7a948d82.js +17 -0
- package/dist/{swirl-inline-status.entry.defadaeb.js → swirl-inline-status.entry.c73b3b9c.js} +10 -10
- package/dist/swirl-lightbox.entry.b244af2f.js +136 -0
- package/dist/{swirl-link.entry.e9747d7e.js → swirl-link.entry.31f69ea0.js} +4 -4
- package/dist/{swirl-list.entry.34c88bce.js → swirl-list.entry.8c0b71f8.js} +8 -8
- package/dist/{swirl-menu-item.entry.cd5f4f83.js → swirl-menu-item.entry.ffa91056.js} +27 -27
- package/dist/{swirl-menu.entry.14f87bbe.js → swirl-menu.entry.67d9e63e.js} +17 -17
- package/dist/{swirl-modal.entry.357b4e60.js → swirl-modal.entry.976f9b37.js} +29 -29
- package/dist/{swirl-option-list-section.entry.4a33119f.js → swirl-option-list-section.entry.02e41c5f.js} +6 -6
- package/dist/{swirl-option-list_2.entry.30d39c81.js → swirl-option-list_2.entry.e1280630.js} +15 -15
- package/dist/swirl-pagination.entry.f3c3d8f6.js +38 -0
- package/dist/swirl-pdf-reader.entry.59123a53.js +109 -0
- package/dist/{swirl-popover_2.entry.67f092ba.js → swirl-popover_2.entry.38eb6026.js} +21 -21
- package/dist/{swirl-progress-indicator.entry.f3e53bfb.js → swirl-progress-indicator.entry.91271890.js} +7 -7
- package/dist/{swirl-radio-group.entry.39d29324.js → swirl-radio-group.entry.c5b7b952.js} +9 -9
- package/dist/{swirl-radio.entry.bc87fc9c.js → swirl-radio.entry.084cfb8a.js} +8 -8
- package/dist/{swirl-resource-list-file-item.entry.e02fad69.js → swirl-resource-list-file-item.entry.eab82697.js} +8 -8
- package/dist/{swirl-search.entry.ef5ec813.js → swirl-search.entry.b6a27913.js} +26 -26
- package/dist/{swirl-select.entry.962867a8.js → swirl-select.entry.d8e4d680.js} +10 -10
- package/dist/{swirl-shell-layout.entry.208151c0.js → swirl-shell-layout.entry.965e04b1.js} +17 -17
- package/dist/{swirl-shell-navigation-item.entry.51674cb2.js → swirl-shell-navigation-item.entry.6b208b04.js} +8 -8
- package/dist/{swirl-skeleton-box.entry.13953112.js → swirl-skeleton-box.entry.4fc97e29.js} +7 -7
- package/dist/{swirl-skeleton-text.entry.26a11634.js → swirl-skeleton-text.entry.452ff5e1.js} +6 -6
- package/dist/{swirl-stack.entry.7943e6ba.js → swirl-stack.entry.b8ce1711.js} +8 -8
- package/dist/{swirl-status-indicator.entry.d249d902.js → swirl-status-indicator.entry.69e70f32.js} +6 -6
- package/dist/{swirl-switch.entry.7f5d250a.js → swirl-switch.entry.c3bf4141.js} +8 -8
- package/dist/swirl-symbol-account-circle.entry.a9e7fc07.js +17 -0
- package/dist/swirl-symbol-alternate-email.entry.8b17822d.js +17 -0
- package/dist/swirl-symbol-android.entry.b59f3bcd.js +17 -0
- package/dist/swirl-symbol-announcement.entry.018dda0f.js +17 -0
- package/dist/swirl-symbol-backup.entry.04dd4bf7.js +17 -0
- package/dist/swirl-symbol-beach-access.entry.362890e3.js +17 -0
- package/dist/swirl-symbol-bookmark.entry.7f2679f1.js +17 -0
- package/dist/swirl-symbol-cloud.entry.32236253.js +17 -0
- package/dist/swirl-symbol-coronavirus.entry.d40cfd0b.js +17 -0
- package/dist/swirl-symbol-desktop-windows.entry.93da171d.js +17 -0
- package/dist/swirl-symbol-directions-car-filled.entry.f30cc503.js +17 -0
- package/dist/swirl-symbol-edit-calendar.entry.56905bf4.js +17 -0
- package/dist/swirl-symbol-email.entry.98433f61.js +17 -0
- package/dist/swirl-symbol-emoji-food-beverage.entry.107178a2.js +17 -0
- package/dist/swirl-symbol-event-menu.entry.1a3c23c9.js +17 -0
- package/dist/swirl-symbol-facebook.entry.1a0e3870.js +17 -0
- package/dist/swirl-symbol-favorite.entry.b1b20e8d.js +17 -0
- package/dist/swirl-symbol-fitness-center.entry.36d55190.js +17 -0
- package/dist/swirl-symbol-flag.entry.760854dc.js +17 -0
- package/dist/swirl-symbol-folder.entry.2779ed4b.js +17 -0
- package/dist/swirl-symbol-globe.entry.7fc449d1.js +17 -0
- package/dist/swirl-symbol-groups.entry.255502a0.js +17 -0
- package/dist/swirl-symbol-help.entry.899143a2.js +17 -0
- package/dist/swirl-symbol-image.entry.29a63901.js +17 -0
- package/dist/swirl-symbol-info-menu.entry.e36f4311.js +17 -0
- package/dist/swirl-symbol-instagram.entry.3afb3786.js +17 -0
- package/dist/swirl-symbol-ios.entry.ceefba8b.js +17 -0
- package/dist/swirl-symbol-language.entry.7fbac543.js +17 -0
- package/dist/swirl-symbol-leaderboard.entry.19525395.js +17 -0
- package/dist/swirl-symbol-lightbulb.entry.344a3157.js +17 -0
- package/dist/swirl-symbol-linkedin.entry.85758da1.js +17 -0
- package/dist/swirl-symbol-location-on.entry.c5d867b5.js +17 -0
- package/dist/swirl-symbol-loyalty.entry.3b9cb2f0.js +17 -0
- package/dist/swirl-symbol-maps-home-work.entry.7c2f1961.js +17 -0
- package/dist/swirl-symbol-notifications.entry.f4a5a133.js +17 -0
- package/dist/swirl-symbol-open-in-new.entry.f4746ce6.js +17 -0
- package/dist/swirl-symbol-pedal-bike.entry.44120e6d.js +17 -0
- package/dist/swirl-symbol-pinterest.entry.91eef437.js +17 -0
- package/dist/swirl-symbol-policy.entry.898c850c.js +17 -0
- package/dist/swirl-symbol-push-pin.entry.fbcd7fcc.js +17 -0
- package/dist/swirl-symbol-redeem.entry.ac524007.js +17 -0
- package/dist/swirl-symbol-report-problem.entry.22962aea.js +17 -0
- package/dist/swirl-symbol-restaurant.entry.ce88050d.js +17 -0
- package/dist/swirl-symbol-roadmap.entry.7f7e5dcc.js +17 -0
- package/dist/swirl-symbol-room.entry.e6928aa9.js +17 -0
- package/dist/swirl-symbol-savings.entry.ec3c287c.js +17 -0
- package/dist/swirl-symbol-settings-voice.entry.4e4352b9.js +17 -0
- package/dist/swirl-symbol-shopping-cart.entry.eed07a87.js +17 -0
- package/dist/swirl-symbol-smartphone.entry.ee43330c.js +17 -0
- package/dist/swirl-symbol-star.entry.03570eec.js +17 -0
- package/dist/swirl-symbol-supervisor-account.entry.037ff569.js +17 -0
- package/dist/swirl-symbol-thumbs-up-down.entry.c987102c.js +17 -0
- package/dist/swirl-symbol-twitter.entry.6a88482f.js +17 -0
- package/dist/swirl-symbol-wb-sunny.entry.a2c3c0a5.js +17 -0
- package/dist/swirl-symbol-wechat.entry.a8762724.js +17 -0
- package/dist/swirl-symbol-weibo.entry.1f24e00d.js +17 -0
- package/dist/swirl-symbol-work.entry.0ea60a2f.js +17 -0
- package/dist/swirl-symbol-xing.entry.275e84b1.js +17 -0
- package/dist/swirl-symbol-youtube.entry.1d5392a3.js +17 -0
- package/dist/swirl-symbol.entry.def02362.js +16 -0
- package/dist/{swirl-tab-bar.entry.a5d34386.js → swirl-tab-bar.entry.6c52422b.js} +6 -6
- package/dist/swirl-tab.entry.d86fa98b.js +17 -0
- package/dist/{swirl-table-cell.entry.d6f16fe6.js → swirl-table-cell.entry.99918d29.js} +7 -7
- package/dist/{swirl-table-column.entry.21cf91ec.js → swirl-table-column.entry.f26386a4.js} +11 -11
- package/dist/{swirl-table-row-group.entry.8eded761.js → swirl-table-row-group.entry.000fd86e.js} +7 -7
- package/dist/swirl-table-row.entry.a26d302b.js +27 -0
- package/dist/{swirl-table.entry.4b8d3844.js → swirl-table.entry.e5de618f.js} +19 -19
- package/dist/{swirl-tabs.entry.2d5dc609.js → swirl-tabs.entry.f211eb86.js} +6 -6
- package/dist/{swirl-text-input.entry.3033e2c1.js → swirl-text-input.entry.765bdf19.js} +9 -9
- package/dist/{swirl-text.entry.7d133592.js → swirl-text.entry.7f3addc1.js} +48 -51
- package/dist/{swirl-theme-provider.entry.ef1b8b87.js → swirl-theme-provider.entry.ba9105c6.js} +5 -5
- package/dist/{swirl-time-input.entry.c78965a9.js → swirl-time-input.entry.bac3d298.js} +27 -28
- package/dist/{swirl-toast-provider.entry.8e11061e.js → swirl-toast-provider.entry.fae201cc.js} +6 -6
- package/dist/{swirl-toast.entry.8b8e779b.js → swirl-toast.entry.27dd5ceb.js} +9 -9
- package/dist/{swirl-toolbar.entry.1ab69e57.js → swirl-toolbar.entry.4cad1ef4.js} +7 -7
- package/dist/{swirl-tooltip.entry.ee4cb966.js → swirl-tooltip.entry.73255a63.js} +11 -11
- package/dist/{swirl-tree-navigation-item.entry.298ab094.js → swirl-tree-navigation-item.entry.074acdc2.js} +5 -5
- package/dist/swirl-video-thumbnail.entry.8cd97531.js +88 -0
- package/dist/swirl-visually-hidden.entry.50dc2a1f.js +15 -0
- package/dist/{wc-datepicker.entry.fed6c9d7.js → wc-datepicker.entry.6d434c91.js} +9 -9
- package/package.json +2 -2
- package/dist/_commonjsHelpers-d20b9603.2d9b8855.js +0 -27
- package/dist/file-manager.entry.6df11d09.js +0 -57
- package/dist/index-267776a4.6beb4f4b.js +0 -38
- package/dist/index.d90adc50.js +0 -3179
- package/dist/swirl-action-list_3.entry.ef982c5d.js +0 -103
- package/dist/swirl-app-bar.entry.2cfd762b.js +0 -45
- package/dist/swirl-app-icon.entry.3025724d.js +0 -23
- package/dist/swirl-autocomplete.entry.9e3e885d.js +0 -115
- package/dist/swirl-carousel-slide.entry.110bbdb4.js +0 -19
- package/dist/swirl-columns.entry.dbed3083.js +0 -18
- package/dist/swirl-console-layout.entry.ce34f32a.js +0 -68
- package/dist/swirl-description-list.entry.8346d2f6.js +0 -15
- package/dist/swirl-emoji-clap.entry.c51e5dd2.js +0 -17
- package/dist/swirl-emoji-happy.entry.ab900e84.js +0 -17
- package/dist/swirl-emoji-idea.entry.39c749d7.js +0 -17
- package/dist/swirl-emoji-love.entry.48574212.js +0 -17
- package/dist/swirl-emoji-sad.entry.71e12957.js +0 -17
- package/dist/swirl-emoji-thumbs-up.entry.2c57a0f1.js +0 -17
- package/dist/swirl-emoji.entry.61e00603.js +0 -16
- package/dist/swirl-form-group.entry.a9fc5de5.js +0 -17
- package/dist/swirl-icon-add-moderator.entry.0b51ccb8.js +0 -19
- package/dist/swirl-icon-add-photo.entry.b9ede402.js +0 -19
- package/dist/swirl-icon-add-reaction.entry.e9eab176.js +0 -19
- package/dist/swirl-icon-add_6.entry.a00fc6c9.js +0 -84
- package/dist/swirl-icon-admin-panel-settings.entry.c6898880.js +0 -19
- package/dist/swirl-icon-ai.entry.40c1feb2.js +0 -19
- package/dist/swirl-icon-apps.entry.7e4baf68.js +0 -19
- package/dist/swirl-icon-arrow-back_4.entry.22e2032f.js +0 -58
- package/dist/swirl-icon-arrow-downward_2.entry.619ff844.js +0 -32
- package/dist/swirl-icon-arrow-left_4.entry.cea83fb4.js +0 -59
- package/dist/swirl-icon-arrow-right-small.entry.9700b93f.js +0 -19
- package/dist/swirl-icon-attachment.entry.ded9dcc7.js +0 -19
- package/dist/swirl-icon-bar-chart.entry.df259ce8.js +0 -19
- package/dist/swirl-icon-block.entry.ff328ff8.js +0 -19
- package/dist/swirl-icon-bookmark-filled.entry.2b3b8bd8.js +0 -19
- package/dist/swirl-icon-bookmark.entry.5fa6a803.js +0 -19
- package/dist/swirl-icon-cancel_4.entry.60ef65d2.js +0 -58
- package/dist/swirl-icon-chat-bubble.entry.d198e2c5.js +0 -19
- package/dist/swirl-icon-chats-filled.entry.70126ead.js +0 -19
- package/dist/swirl-icon-chats.entry.90249dc7.js +0 -19
- package/dist/swirl-icon-check-circle_2.entry.9fb661f5.js +0 -32
- package/dist/swirl-icon-check-small_3.entry.d91801f9.js +0 -77
- package/dist/swirl-icon-check-strong.entry.16ce3538.js +0 -19
- package/dist/swirl-icon-check.entry.34ec6a4c.js +0 -19
- package/dist/swirl-icon-chevron-left.entry.a6765df3.js +0 -19
- package/dist/swirl-icon-chevron-right.entry.f368a456.js +0 -19
- package/dist/swirl-icon-close-small.entry.f1351249.js +0 -19
- package/dist/swirl-icon-close.entry.bc4eb374.js +0 -19
- package/dist/swirl-icon-cloud-upload.entry.b2ee1916.js +0 -19
- package/dist/swirl-icon-column.entry.1fdeb739.js +0 -19
- package/dist/swirl-icon-comment.entry.412bd2e5.js +0 -19
- package/dist/swirl-icon-copy.entry.c5c415cc.js +0 -19
- package/dist/swirl-icon-dark-mode.entry.c22acb72.js +0 -19
- package/dist/swirl-icon-date-range.entry.1ec8047e.js +0 -19
- package/dist/swirl-icon-delete.entry.a3c4154b.js +0 -19
- package/dist/swirl-icon-description.entry.2a4f089c.js +0 -19
- package/dist/swirl-icon-desktop.entry.5eb692a4.js +0 -19
- package/dist/swirl-icon-directory-filled.entry.550fb2b6.js +0 -19
- package/dist/swirl-icon-directory.entry.2511b835.js +0 -19
- package/dist/swirl-icon-discover.entry.0e461f17.js +0 -19
- package/dist/swirl-icon-dot.entry.fdce9253.js +0 -19
- package/dist/swirl-icon-double-arrow-right.entry.57c6dae2.js +0 -19
- package/dist/swirl-icon-download.entry.ebd1bad3.js +0 -19
- package/dist/swirl-icon-edit.entry.5d2f4329.js +0 -19
- package/dist/swirl-icon-emoji-mood.entry.b445ed8e.js +0 -19
- package/dist/swirl-icon-emoji-satisfied.entry.318cc33e.js +0 -19
- package/dist/swirl-icon-error_3.entry.8156f1b9.js +0 -58
- package/dist/swirl-icon-expand-more.entry.a5df0dff.js +0 -19
- package/dist/swirl-icon-filter.entry.2e7d8694.js +0 -19
- package/dist/swirl-icon-folder.entry.b4a2eece.js +0 -19
- package/dist/swirl-icon-format-h-one.entry.178d9f8c.js +0 -19
- package/dist/swirl-icon-gif.entry.ef508d18.js +0 -19
- package/dist/swirl-icon-group-add.entry.288a4663.js +0 -19
- package/dist/swirl-icon-group-assign.entry.4035e1d8.js +0 -19
- package/dist/swirl-icon-groups-filled.entry.c285587a.js +0 -19
- package/dist/swirl-icon-groups.entry.56823a93.js +0 -19
- package/dist/swirl-icon-hamburger-menu.entry.de323443.js +0 -19
- package/dist/swirl-icon-help.entry.368e096d.js +0 -19
- package/dist/swirl-icon-highlight.entry.ff89b4ce.js +0 -19
- package/dist/swirl-icon-home.entry.1e3c3825.js +0 -19
- package/dist/swirl-icon-image.entry.f3bb3bb6.js +0 -19
- package/dist/swirl-icon-improve-text.entry.cca636ba.js +0 -19
- package/dist/swirl-icon-info.entry.41c8be01.js +0 -19
- package/dist/swirl-icon-insert-below.entry.dea18800.js +0 -19
- package/dist/swirl-icon-insert-on-top.entry.7efb2795.js +0 -19
- package/dist/swirl-icon-inventory.entry.d06aa28c.js +0 -19
- package/dist/swirl-icon-keyboard-hide.entry.3afce769.js +0 -19
- package/dist/swirl-icon-light-mode.entry.af5308c8.js +0 -19
- package/dist/swirl-icon-like.entry.e8cdf60a.js +0 -19
- package/dist/swirl-icon-link.entry.43f2756d.js +0 -19
- package/dist/swirl-icon-load.entry.3d790b8f.js +0 -19
- package/dist/swirl-icon-lock-open.entry.ae3db367.js +0 -19
- package/dist/swirl-icon-lock-person.entry.4cea786a.js +0 -19
- package/dist/swirl-icon-lock.entry.45eccf76.js +0 -19
- package/dist/swirl-icon-login.entry.1579dc52.js +0 -19
- package/dist/swirl-icon-logout.entry.c66b3082.js +0 -19
- package/dist/swirl-icon-long-text.entry.aaa0d50c.js +0 -19
- package/dist/swirl-icon-mail.entry.4b7f03f5.js +0 -19
- package/dist/swirl-icon-manage-accounts.entry.a4ed4854.js +0 -19
- package/dist/swirl-icon-mark-chat-read.entry.6078126e.js +0 -19
- package/dist/swirl-icon-mark-chat-unread.entry.f6ee3ffd.js +0 -19
- package/dist/swirl-icon-mention.entry.ba102e64.js +0 -19
- package/dist/swirl-icon-menu-filled.entry.ab0bf98c.js +0 -19
- package/dist/swirl-icon-menu.entry.c9c67658.js +0 -19
- package/dist/swirl-icon-message.entry.54e3a552.js +0 -19
- package/dist/swirl-icon-mic.entry.a5c00b6d.js +0 -19
- package/dist/swirl-icon-more-horizontal.entry.eba630ac.js +0 -19
- package/dist/swirl-icon-news-filled.entry.fa6c54d7.js +0 -19
- package/dist/swirl-icon-news-off.entry.98df2a70.js +0 -19
- package/dist/swirl-icon-news.entry.625d5303.js +0 -19
- package/dist/swirl-icon-notifications-active.entry.df8ae5d1.js +0 -19
- package/dist/swirl-icon-notifications-off.entry.d926ef33.js +0 -19
- package/dist/swirl-icon-notifications.entry.533c02fb.js +0 -19
- package/dist/swirl-icon-open-in-full.entry.109770d4.js +0 -19
- package/dist/swirl-icon-open-in-new.entry.d824c288.js +0 -19
- package/dist/swirl-icon-pause-circle.entry.a5f02e46.js +0 -19
- package/dist/swirl-icon-pause.entry.f20c8b41.js +0 -19
- package/dist/swirl-icon-people-alt.entry.a48ba343.js +0 -19
- package/dist/swirl-icon-person-off.entry.3c26134d.js +0 -19
- package/dist/swirl-icon-person.entry.06218285.js +0 -19
- package/dist/swirl-icon-phone.entry.24485594.js +0 -19
- package/dist/swirl-icon-photo-camera.entry.df8f355b.js +0 -19
- package/dist/swirl-icon-place.entry.f39d3b55.js +0 -19
- package/dist/swirl-icon-play-arrow.entry.d3b0c8fe.js +0 -19
- package/dist/swirl-icon-poll.entry.5c21a4ad.js +0 -19
- package/dist/swirl-icon-print.entry.28726978.js +0 -19
- package/dist/swirl-icon-recieved.entry.bd151dff.js +0 -19
- package/dist/swirl-icon-remove-moderator.entry.9a0f7a75.js +0 -19
- package/dist/swirl-icon-reply.entry.1c4c3da0.js +0 -19
- package/dist/swirl-icon-report.entry.768327ea.js +0 -19
- package/dist/swirl-icon-roadmap.entry.9faf3ea6.js +0 -19
- package/dist/swirl-icon-search-strong.entry.48ac4870.js +0 -19
- package/dist/swirl-icon-search.entry.e398f832.js +0 -19
- package/dist/swirl-icon-secure.entry.52f73b44.js +0 -19
- package/dist/swirl-icon-send.entry.fe116073.js +0 -19
- package/dist/swirl-icon-settings.entry.b8e55621.js +0 -19
- package/dist/swirl-icon-short-text.entry.7d721872.js +0 -19
- package/dist/swirl-icon-simplify.entry.ccef9109.js +0 -19
- package/dist/swirl-icon-spellcheck.entry.189982ef.js +0 -19
- package/dist/swirl-icon-stop.entry.a3bd8024.js +0 -19
- package/dist/swirl-icon-sync.entry.27f8dacb.js +0 -19
- package/dist/swirl-icon-tasks-filled.entry.244bfa33.js +0 -19
- package/dist/swirl-icon-tasks.entry.9e448e4f.js +0 -19
- package/dist/swirl-icon-terminal.entry.85de8034.js +0 -19
- package/dist/swirl-icon-time-filled.entry.a03d1ae1.js +0 -19
- package/dist/swirl-icon-time.entry.2a538c35.js +0 -19
- package/dist/swirl-icon-today-filled.entry.2f3152e6.js +0 -19
- package/dist/swirl-icon-translate.entry.a576fd5b.js +0 -19
- package/dist/swirl-icon-tree-structure.entry.bc0743d3.js +0 -19
- package/dist/swirl-icon-undo.entry.77a31b37.js +0 -19
- package/dist/swirl-icon-unlock-person.entry.b0f3bf71.js +0 -19
- package/dist/swirl-icon-user-add.entry.c55ef1ac.js +0 -19
- package/dist/swirl-icon-user-assign.entry.4a870c48.js +0 -19
- package/dist/swirl-icon-video-camera.entry.954e3cf4.js +0 -19
- package/dist/swirl-icon-video-library.entry.5b0aacca.js +0 -19
- package/dist/swirl-icon-voice.entry.31ff041d.js +0 -19
- package/dist/swirl-icon-work.entry.d662751b.js +0 -19
- package/dist/swirl-icon.entry.3b02acbc.js +0 -16
- package/dist/swirl-inline-notification.entry.5cd09ce8.js +0 -17
- package/dist/swirl-lightbox.entry.1739d020.js +0 -136
- package/dist/swirl-pagination.entry.ef59b274.js +0 -38
- package/dist/swirl-pdf-reader.entry.51f9250b.js +0 -109
- package/dist/swirl-symbol-account-circle.entry.ad72be12.js +0 -17
- package/dist/swirl-symbol-alternate-email.entry.b884d45e.js +0 -17
- package/dist/swirl-symbol-android.entry.c165aa0c.js +0 -17
- package/dist/swirl-symbol-announcement.entry.7e4e83ee.js +0 -17
- package/dist/swirl-symbol-backup.entry.e1f9b25c.js +0 -17
- package/dist/swirl-symbol-beach-access.entry.3f3322db.js +0 -17
- package/dist/swirl-symbol-bookmark.entry.9d67f514.js +0 -17
- package/dist/swirl-symbol-cloud.entry.2811fd9f.js +0 -17
- package/dist/swirl-symbol-coronavirus.entry.0b4ebafb.js +0 -17
- package/dist/swirl-symbol-desktop-windows.entry.a40d4d12.js +0 -17
- package/dist/swirl-symbol-directions-car-filled.entry.99374d4b.js +0 -17
- package/dist/swirl-symbol-edit-calendar.entry.3f71bdf7.js +0 -17
- package/dist/swirl-symbol-email.entry.b60ae480.js +0 -17
- package/dist/swirl-symbol-emoji-food-beverage.entry.77ce8107.js +0 -17
- package/dist/swirl-symbol-event-menu.entry.d44ac1ad.js +0 -17
- package/dist/swirl-symbol-facebook.entry.0f08b60a.js +0 -17
- package/dist/swirl-symbol-favorite.entry.1ea54fed.js +0 -17
- package/dist/swirl-symbol-fitness-center.entry.77c433e8.js +0 -17
- package/dist/swirl-symbol-flag.entry.dbcc3218.js +0 -17
- package/dist/swirl-symbol-folder.entry.f78171a7.js +0 -17
- package/dist/swirl-symbol-globe.entry.c0efad27.js +0 -17
- package/dist/swirl-symbol-groups.entry.3f4a5ef5.js +0 -17
- package/dist/swirl-symbol-help.entry.c9c14686.js +0 -17
- package/dist/swirl-symbol-image.entry.3822f8ce.js +0 -17
- package/dist/swirl-symbol-info-menu.entry.cec181a5.js +0 -17
- package/dist/swirl-symbol-instagram.entry.0895c275.js +0 -17
- package/dist/swirl-symbol-ios.entry.5e04c7a2.js +0 -17
- package/dist/swirl-symbol-language.entry.4bd8b416.js +0 -17
- package/dist/swirl-symbol-leaderboard.entry.b7edee6d.js +0 -17
- package/dist/swirl-symbol-lightbulb.entry.9b2c84a2.js +0 -17
- package/dist/swirl-symbol-linkedin.entry.9c658ee8.js +0 -17
- package/dist/swirl-symbol-location-on.entry.6da90a00.js +0 -17
- package/dist/swirl-symbol-loyalty.entry.92f56d21.js +0 -17
- package/dist/swirl-symbol-maps-home-work.entry.63e8c481.js +0 -17
- package/dist/swirl-symbol-notifications.entry.159a5b8b.js +0 -17
- package/dist/swirl-symbol-open-in-new.entry.3e5db571.js +0 -17
- package/dist/swirl-symbol-pedal-bike.entry.db57aa58.js +0 -17
- package/dist/swirl-symbol-pinterest.entry.105f350a.js +0 -17
- package/dist/swirl-symbol-policy.entry.7dc67eaa.js +0 -17
- package/dist/swirl-symbol-push-pin.entry.47c46972.js +0 -17
- package/dist/swirl-symbol-redeem.entry.314581b8.js +0 -17
- package/dist/swirl-symbol-report-problem.entry.402d879e.js +0 -17
- package/dist/swirl-symbol-restaurant.entry.9e27499f.js +0 -17
- package/dist/swirl-symbol-roadmap.entry.20b4565c.js +0 -17
- package/dist/swirl-symbol-room.entry.5164f68d.js +0 -17
- package/dist/swirl-symbol-savings.entry.746d7c4f.js +0 -17
- package/dist/swirl-symbol-settings-voice.entry.59e854fc.js +0 -17
- package/dist/swirl-symbol-shopping-cart.entry.e1fcdfcb.js +0 -17
- package/dist/swirl-symbol-smartphone.entry.c5b7b503.js +0 -17
- package/dist/swirl-symbol-star.entry.a24d3732.js +0 -17
- package/dist/swirl-symbol-supervisor-account.entry.5fb0244d.js +0 -17
- package/dist/swirl-symbol-thumbs-up-down.entry.5d1176c4.js +0 -17
- package/dist/swirl-symbol-twitter.entry.664f763a.js +0 -17
- package/dist/swirl-symbol-wb-sunny.entry.5eb28a60.js +0 -17
- package/dist/swirl-symbol-wechat.entry.1e66c284.js +0 -17
- package/dist/swirl-symbol-weibo.entry.6b0a0852.js +0 -17
- package/dist/swirl-symbol-work.entry.7589a2e8.js +0 -17
- package/dist/swirl-symbol-xing.entry.4b4932a8.js +0 -17
- package/dist/swirl-symbol-youtube.entry.db39b238.js +0 -17
- package/dist/swirl-symbol.entry.780a1e49.js +0 -16
- package/dist/swirl-tab.entry.cf0eba97.js +0 -17
- package/dist/swirl-table-row.entry.038a2f9c.js +0 -27
- package/dist/swirl-video-thumbnail.entry.5b454862.js +0 -88
- package/dist/swirl-visually-hidden.entry.fa0621d6.js +0 -15
- /package/dist/{floating-ui.dom.esm-bef21834.ec4a9cbf.js → floating-ui.dom.esm-b73e243b.647a7c7e.js} +0 -0
- /package/dist/{utils-aab10c80.240adddc.js → utils-c5f2f98f.af14538a.js} +0 -0
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { c as ht } from "./
|
|
3
|
-
import { c as dt } from "./index-267776a4.6beb4f4b.js";
|
|
1
|
+
import { r as ot, h as Y, H as at, g as lt } from "./index.646f8b70.js";
|
|
2
|
+
import { a as ct, c as ht, b as dt } from "./index-d280dafb.186cdb0e.js";
|
|
4
3
|
import "react";
|
|
5
4
|
import "react-dom";
|
|
6
|
-
var
|
|
7
|
-
(function(l) {
|
|
5
|
+
var ft = ct(function(l) {
|
|
8
6
|
(function(a, r) {
|
|
9
7
|
l.exports ? l.exports = r() : a.balanceText = r();
|
|
10
|
-
})(
|
|
8
|
+
})(dt, () => {
|
|
11
9
|
let a, r, o;
|
|
12
10
|
const c = {
|
|
13
11
|
sel: [],
|
|
@@ -16,7 +14,7 @@ var rt = { exports: {} };
|
|
|
16
14
|
let f = !1, m = !1;
|
|
17
15
|
function S() {
|
|
18
16
|
}
|
|
19
|
-
function
|
|
17
|
+
function g(t, e) {
|
|
20
18
|
Array.prototype.forEach.call(t, e);
|
|
21
19
|
}
|
|
22
20
|
function B(t) {
|
|
@@ -49,21 +47,21 @@ var rt = { exports: {} };
|
|
|
49
47
|
function v(t) {
|
|
50
48
|
return r.some((e) => e.start < t && t < e.end);
|
|
51
49
|
}
|
|
52
|
-
function
|
|
50
|
+
function M(t, e) {
|
|
53
51
|
if (t.nodeType === t.ELEMENT_NODE)
|
|
54
52
|
if (window.getComputedStyle(t).whiteSpace === "nowrap") {
|
|
55
53
|
const n = t.outerHTML.length;
|
|
56
54
|
r.push({ start: o, end: o + n }), o += n;
|
|
57
55
|
} else
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
g(t.childNodes, (n) => {
|
|
57
|
+
M(n, !0);
|
|
60
58
|
}), e && (o += t.outerHTML.length - t.innerHTML.length);
|
|
61
59
|
else
|
|
62
60
|
t.nodeType === t.COMMENT_NODE ? o += t.length + 7 : t.nodeType === t.PROCESSING_INSTRUCTION_NODE ? o += t.length + 2 : o += t.length;
|
|
63
61
|
}
|
|
64
62
|
function _(t, e, i) {
|
|
65
63
|
if (i === 0)
|
|
66
|
-
t.style.whiteSpace = e, o = 0, r = [],
|
|
64
|
+
t.style.whiteSpace = e, o = 0, r = [], M(t, !1), t.style.whiteSpace = "nowrap";
|
|
67
65
|
else {
|
|
68
66
|
const n = [];
|
|
69
67
|
r.forEach((s) => {
|
|
@@ -73,23 +71,23 @@ var rt = { exports: {} };
|
|
|
73
71
|
}
|
|
74
72
|
function K(t) {
|
|
75
73
|
let e = t.querySelectorAll('br[data-owner="balance-text-hyphen"]');
|
|
76
|
-
|
|
74
|
+
g(e, (n) => {
|
|
77
75
|
n.outerHTML = "";
|
|
78
|
-
}), e = t.querySelectorAll('br[data-owner="balance-text"]'),
|
|
76
|
+
}), e = t.querySelectorAll('br[data-owner="balance-text"]'), g(e, (n) => {
|
|
79
77
|
n.outerHTML = " ";
|
|
80
78
|
});
|
|
81
79
|
let i = t.querySelectorAll('span[data-owner="balance-text-softhyphen"]');
|
|
82
|
-
if (i.length > 0 &&
|
|
80
|
+
if (i.length > 0 && g(i, (n) => {
|
|
83
81
|
const s = document.createTextNode("\xAD");
|
|
84
82
|
n.parentNode.insertBefore(s, n), n.parentNode.removeChild(n);
|
|
85
83
|
}), i = t.querySelectorAll('span[data-owner="balance-text-justify"]'), i.length > 0) {
|
|
86
84
|
let n = "";
|
|
87
|
-
|
|
85
|
+
g(i, (s) => {
|
|
88
86
|
n += s.textContent, s.parentNode.removeChild(s);
|
|
89
87
|
}), t.innerHTML = n;
|
|
90
88
|
}
|
|
91
89
|
}
|
|
92
|
-
const
|
|
90
|
+
const O = function(t) {
|
|
93
91
|
return (t.currentStyle || window.getComputedStyle(t, null)).textAlign === "justify";
|
|
94
92
|
};
|
|
95
93
|
function d(t, e, i) {
|
|
@@ -145,35 +143,35 @@ var rt = { exports: {} };
|
|
|
145
143
|
function u(t) {
|
|
146
144
|
return t ? typeof t == "string" ? document.querySelectorAll(t) : t.tagName && t.querySelectorAll ? [t] : t : [];
|
|
147
145
|
}
|
|
148
|
-
function
|
|
149
|
-
|
|
146
|
+
function $(t) {
|
|
147
|
+
g(u(t), (e) => {
|
|
150
148
|
K(e);
|
|
151
149
|
const n = e.style.whiteSpace, s = e.style.float, h = e.style.display, z = e.style.position, p = e.style.lineHeight;
|
|
152
150
|
e.style.lineHeight = "normal";
|
|
153
|
-
const E = e.offsetWidth,
|
|
151
|
+
const E = e.offsetWidth, rt = e.offsetHeight;
|
|
154
152
|
e.style.whiteSpace = "nowrap", e.style.float = "none", e.style.display = "inline", e.style.position = "static";
|
|
155
153
|
let U = e.offsetWidth;
|
|
156
154
|
const Z = e.offsetHeight, P = n === "pre-wrap" ? 0 : R(e, Z);
|
|
157
155
|
if (E > 0 && U > E && U < 5e3) {
|
|
158
|
-
let
|
|
159
|
-
const tt =
|
|
160
|
-
let V = Math.round(
|
|
156
|
+
let w = e.innerHTML, q = "", N = "";
|
|
157
|
+
const tt = O(e);
|
|
158
|
+
let V = Math.round(rt / Z), et = 0, W, A, y, H, j, it, X;
|
|
161
159
|
for (; V > 1; )
|
|
162
|
-
a = null, _(e, n, et), W = Math.round((U + P) / V - P), A = Math.round((
|
|
163
|
-
tt ? e.innerHTML = q + d(e,
|
|
160
|
+
a = null, _(e, n, et), W = Math.round((U + P) / V - P), A = Math.round((w.length + 1) / V) - 1, y = new C(), b(e, w, E, W, -1, A, y), H = new C(), A = y.index, b(e, w, E, W, 1, A, H), y.reset(), A = H.index, b(e, w, E, W, -1, A, y), y.index === 0 ? j = H.index : E < H.width || y.index === H.index ? j = y.index : j = Math.abs(W - y.width) < Math.abs(H.width - W) ? y.index : H.index, N = w.substr(0, j).replace(/\s$/, ""), X = Boolean(N.match(/\u00ad$/)), X && (N = N.replace(/\u00ad$/, '<span data-owner="balance-text-softhyphen">-</span>')), tt ? q += d(e, N, E) : (q += N, it = X || Boolean(N.match(/(-|\u2014|\u2013)$/)), q += it ? '<br data-owner="balance-text-hyphen" />' : '<br data-owner="balance-text" aria-hidden="true" />'), w = w.substr(j), et = j, V--, e.innerHTML = w, U = e.offsetWidth;
|
|
161
|
+
tt ? e.innerHTML = q + d(e, w, E) : e.innerHTML = q + w;
|
|
164
162
|
}
|
|
165
163
|
e.style.whiteSpace = n, e.style.float = s, e.style.display = h, e.style.position = z, e.style.lineHeight = p;
|
|
166
164
|
});
|
|
167
165
|
}
|
|
168
166
|
function T() {
|
|
169
167
|
const t = c.sel.join(","), e = u(t), i = Array.prototype.concat.apply(c.el, e);
|
|
170
|
-
|
|
168
|
+
$(i);
|
|
171
169
|
}
|
|
172
170
|
function F() {
|
|
173
171
|
f || (B(T), window.addEventListener("load", T), window.addEventListener("resize", D(T)), f = !0);
|
|
174
172
|
}
|
|
175
|
-
function
|
|
176
|
-
typeof t == "string" ? c.sel.push(t) :
|
|
173
|
+
function L(t) {
|
|
174
|
+
typeof t == "string" ? c.sel.push(t) : g(u(t), (e) => {
|
|
177
175
|
c.el.push(e);
|
|
178
176
|
}), F(), T();
|
|
179
177
|
}
|
|
@@ -183,13 +181,12 @@ var rt = { exports: {} };
|
|
|
183
181
|
function G() {
|
|
184
182
|
m || (c.sel.push(".balance-text"), F(), m = !0);
|
|
185
183
|
}
|
|
186
|
-
function
|
|
187
|
-
t ? e && e.watch === !0 ?
|
|
184
|
+
function k(t, e) {
|
|
185
|
+
t ? e && e.watch === !0 ? L(t) : e && e.watch === !1 ? J(t) : $(t) : G();
|
|
188
186
|
}
|
|
189
|
-
return
|
|
187
|
+
return k.updateWatched = T, I() ? (S.updateWatched = S, S) : k;
|
|
190
188
|
});
|
|
191
|
-
})
|
|
192
|
-
const ft = rt.exports;
|
|
189
|
+
});
|
|
193
190
|
/**
|
|
194
191
|
shave - Shave is a javascript plugin that truncates multi-line text within a html element based on set max height
|
|
195
192
|
@version v5.0.2
|
|
@@ -231,38 +228,38 @@ function xt(l, a, r) {
|
|
|
231
228
|
throw Error("maxHeight is required");
|
|
232
229
|
var o = ut(l);
|
|
233
230
|
if (!!o.length)
|
|
234
|
-
for (var c = r.character, f = c === void 0 ? "\u2026" : c, m = r.classname, S = m === void 0 ? "js-shave" : m,
|
|
235
|
-
var d = o[
|
|
231
|
+
for (var c = r.character, f = c === void 0 ? "\u2026" : c, m = r.classname, S = m === void 0 ? "js-shave" : m, g = r.spaces, B = g === void 0 ? !0 : g, D = r.charclassname, I = D === void 0 ? "js-shave-char" : D, C = r.link, v = C === void 0 ? {} : C, M = typeof B == "boolean" ? B : !0, _ = v && JSON.stringify(v) !== "{}" && v.href, K = _ ? "a" : "span", O = 0; O < o.length; O += 1) {
|
|
232
|
+
var d = o[O], x = d.style, Q = d.querySelector("." + S), b = d.textContent === void 0 ? "innerText" : "textContent";
|
|
236
233
|
Q && (d.removeChild(d.querySelector("." + I)), d[b] = d[b]);
|
|
237
|
-
var R = d[b], u =
|
|
234
|
+
var R = d[b], u = M ? R.split(" ") : R;
|
|
238
235
|
if (!(u.length < 2)) {
|
|
239
|
-
var
|
|
236
|
+
var $ = x.height;
|
|
240
237
|
x.height = "auto";
|
|
241
238
|
var T = x.maxHeight;
|
|
242
239
|
if (x.maxHeight = "none", d.offsetHeight <= a) {
|
|
243
|
-
x.height =
|
|
240
|
+
x.height = $, x.maxHeight = T;
|
|
244
241
|
continue;
|
|
245
242
|
}
|
|
246
|
-
var F = _ && v.textContent ? v.textContent : f,
|
|
243
|
+
var F = _ && v.textContent ? v.textContent : f, L = document.createElement(K), J = {
|
|
247
244
|
className: I,
|
|
248
245
|
textContent: F
|
|
249
246
|
};
|
|
250
247
|
for (var G in J)
|
|
251
|
-
|
|
248
|
+
L[G] = J[G], L.textContent = f;
|
|
252
249
|
if (_)
|
|
253
|
-
for (var
|
|
254
|
-
|
|
250
|
+
for (var k in v)
|
|
251
|
+
L[k] = v[k];
|
|
255
252
|
for (var t = u.length - 1, e = 0, i = void 0; e < t; )
|
|
256
|
-
i = e + t + 1 >> 1, d[b] =
|
|
257
|
-
d[b] =
|
|
258
|
-
var n =
|
|
259
|
-
h.classList.add(S), h.style.display = "none", h.appendChild(s), d.insertAdjacentElement("beforeend", h), x.height =
|
|
253
|
+
i = e + t + 1 >> 1, d[b] = M ? u.slice(0, i).join(" ") : u.slice(0, i), d.insertAdjacentElement("beforeend", L), d.offsetHeight > a ? t = i - 1 : e = i;
|
|
254
|
+
d[b] = M ? u.slice(0, t).join(" ") : u.slice(0, t), d.insertAdjacentElement("beforeend", L);
|
|
255
|
+
var n = M ? " ".concat(u.slice(t).join(" ")) : u.slice(t), s = document.createTextNode(n), h = document.createElement("span");
|
|
256
|
+
h.classList.add(S), h.style.display = "none", h.appendChild(s), d.insertAdjacentElement("beforeend", h), x.height = $, x.maxHeight = T;
|
|
260
257
|
}
|
|
261
258
|
}
|
|
262
259
|
}
|
|
263
|
-
const pt = ".sc-swirl-text-h{display:block;max-width:100%}.sc-swirl-text-h *.sc-swirl-text{box-sizing:border-box}.text.sc-swirl-text{overflow:hidden;margin:0;padding:0}.text--align-start.sc-swirl-text{text-align:start}.text--align-center.sc-swirl-text{text-align:center}.text--align-end.sc-swirl-text{text-align:end}.text--color-default.sc-swirl-text{color:var(--s-text-default)}.text--color-highlight.sc-swirl-text{color:var(--s-text-highlight)}.text--color-on-action-primary.sc-swirl-text{color:var(--s-text-on-action-primary)}.text--color-on-image.sc-swirl-text{color:var(--s-text-on-image)}.text--color-on-status.sc-swirl-text{color:var(--s-text-on-status)}.text--color-on-surface-highlight.sc-swirl-text{color:var(--s-text-on-surface-highlight)}.text--color-on-surface-highlight-subdued.sc-swirl-text{color:var(--s-text-on-surface-highlight-subdued)}.text--color-subdued.sc-swirl-text{color:var(--s-text-subdued)}.text--color-critical.sc-swirl-text{color:var(--s-text-critical)}.text--color-success.sc-swirl-text{color:var(--s-text-success)}.text--color-warning.sc-swirl-text{color:var(--s-text-warning)}.text--size-sm.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}.text--size-base.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-base.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}}.text--size-xl.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-xl.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}}.text--size-2xl.sc-swirl-text{font-size:var(--s-font-size-2xl);line-height:var(--s-line-height-2xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-2xl.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}}.text--weight-normal.sc-swirl-text{font-weight:var(--s-font-weight-normal)}.text--weight-medium.sc-swirl-text{font-weight:var(--s-font-weight-medium)}.text--weight-semibold.sc-swirl-text{font-weight:var(--s-font-weight-semibold)}.text--weight-bold.sc-swirl-text{font-weight:var(--s-font-weight-bold)}.text--font-style-normal.sc-swirl-text{font-style:normal}.text--font-style-italic.sc-swirl-text{font-style:italic}.text--font-family-code.sc-swirl-text{font-family:var(--s-font-family-code)}.text--truncate.sc-swirl-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.text--truncate-direction-start.sc-swirl-text{direction:rtl;text-align:left}",
|
|
260
|
+
const pt = ".sc-swirl-text-h{display:block;max-width:100%}.sc-swirl-text-h *.sc-swirl-text{box-sizing:border-box}.text.sc-swirl-text{overflow:hidden;margin:0;padding:0}.text--align-start.sc-swirl-text{text-align:start}.text--align-center.sc-swirl-text{text-align:center}.text--align-end.sc-swirl-text{text-align:end}.text--color-default.sc-swirl-text{color:var(--s-text-default)}.text--color-highlight.sc-swirl-text{color:var(--s-text-highlight)}.text--color-on-action-primary.sc-swirl-text{color:var(--s-text-on-action-primary)}.text--color-on-image.sc-swirl-text{color:var(--s-text-on-image)}.text--color-on-status.sc-swirl-text{color:var(--s-text-on-status)}.text--color-on-surface-highlight.sc-swirl-text{color:var(--s-text-on-surface-highlight)}.text--color-on-surface-highlight-subdued.sc-swirl-text{color:var(--s-text-on-surface-highlight-subdued)}.text--color-subdued.sc-swirl-text{color:var(--s-text-subdued)}.text--color-critical.sc-swirl-text{color:var(--s-text-critical)}.text--color-success.sc-swirl-text{color:var(--s-text-success)}.text--color-warning.sc-swirl-text{color:var(--s-text-warning)}.text--size-sm.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}.text--size-base.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-base.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}}.text--size-xl.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-xl.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}}.text--size-2xl.sc-swirl-text{font-size:var(--s-font-size-2xl);line-height:var(--s-line-height-2xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-2xl.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}}.text--weight-normal.sc-swirl-text{font-weight:var(--s-font-weight-normal)}.text--weight-medium.sc-swirl-text{font-weight:var(--s-font-weight-medium)}.text--weight-semibold.sc-swirl-text{font-weight:var(--s-font-weight-semibold)}.text--weight-bold.sc-swirl-text{font-weight:var(--s-font-weight-bold)}.text--font-style-normal.sc-swirl-text{font-style:normal}.text--font-style-italic.sc-swirl-text{font-style:italic}.text--font-family-code.sc-swirl-text{font-family:var(--s-font-family-code)}.text--truncate.sc-swirl-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.text--truncate-direction-start.sc-swirl-text{direction:rtl;text-align:left}", gt = class {
|
|
264
261
|
constructor(l) {
|
|
265
|
-
|
|
262
|
+
ot(this, l), this.align = "start", this.as = "p", this.balance = void 0, this.color = "default", this.fontFamily = "text", this.fontStyle = "normal", this.lines = void 0, this.size = "base", this.truncate = void 0, this.truncateDirection = "end", this.weight = "normal", this.whiteSpace = "normal";
|
|
266
263
|
}
|
|
267
264
|
componentDidRender() {
|
|
268
265
|
this.rebalance(), this.handleTruncation();
|
|
@@ -280,18 +277,18 @@ const pt = ".sc-swirl-text-h{display:block;max-width:100%}.sc-swirl-text-h *.sc-
|
|
|
280
277
|
!this.balance || !Boolean(this.textEl) || ft(this.textEl);
|
|
281
278
|
}
|
|
282
279
|
render() {
|
|
283
|
-
const l = this.as, a = this.truncate && (!Boolean(this.lines) || this.lines === 1), r =
|
|
280
|
+
const l = this.as, a = this.truncate && (!Boolean(this.lines) || this.lines === 1), r = ht("text", `text--align-${this.align}`, `text--color-${this.color}`, `text--font-family-${this.fontFamily}`, `text--font-style-${this.fontStyle}`, `text--size-${this.size}`, `text--truncate-direction-${this.truncateDirection}`, `text--weight-${this.weight}`, {
|
|
284
281
|
"text--truncate": a
|
|
285
282
|
}), o = {
|
|
286
283
|
whiteSpace: a ? "nowrap" : this.whiteSpace
|
|
287
284
|
};
|
|
288
|
-
return Y(
|
|
285
|
+
return Y(at, null, Y(l, { class: r, ref: (c) => this.textEl = c, style: o }, Y("slot", null)));
|
|
289
286
|
}
|
|
290
287
|
get el() {
|
|
291
|
-
return
|
|
288
|
+
return lt(this);
|
|
292
289
|
}
|
|
293
290
|
};
|
|
294
|
-
gt.style =
|
|
291
|
+
gt.style = pt;
|
|
295
292
|
export {
|
|
296
293
|
gt as swirl_text
|
|
297
294
|
};
|
package/dist/{swirl-theme-provider.entry.ef1b8b87.js → swirl-theme-provider.entry.ba9105c6.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as m, c as o, h as a, H as d } from "./index.
|
|
1
|
+
import { r as m, c as o, h as a, H as d } from "./index.646f8b70.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
const l = ".sc-swirl-theme-provider-h{display:block}",
|
|
4
|
+
const l = ".sc-swirl-theme-provider-h{display:block}", h = "swirl-preferred-theme", c = class {
|
|
5
5
|
constructor(e) {
|
|
6
6
|
m(this, e), this.appThemeUpdated = o(this, "appThemeUpdated", 7), this.themeChange = o(this, "themeChange", 7), this.setDesignTokens = [], this.config = void 0;
|
|
7
7
|
}
|
|
@@ -78,7 +78,7 @@ const l = ".sc-swirl-theme-provider-h{display:block}", c = l, h = "swirl-preferr
|
|
|
78
78
|
}), this.setDesignTokens = [];
|
|
79
79
|
}
|
|
80
80
|
render() {
|
|
81
|
-
return a(d,
|
|
81
|
+
return a(d, null, a("slot", null));
|
|
82
82
|
}
|
|
83
83
|
static get watchers() {
|
|
84
84
|
return {
|
|
@@ -86,7 +86,7 @@ const l = ".sc-swirl-theme-provider-h{display:block}", c = l, h = "swirl-preferr
|
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
};
|
|
89
|
-
|
|
89
|
+
c.style = l;
|
|
90
90
|
export {
|
|
91
|
-
|
|
91
|
+
c as swirl_theme_provider
|
|
92
92
|
};
|
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
import { r as c, c as d, h as a, H as p, g as m } from "./index.
|
|
2
|
-
import { c as f } from "./index-
|
|
3
|
-
import { p as r, i as o, f as l, m as v } from "./maska-
|
|
4
|
-
import { g as w } from "./utils-
|
|
1
|
+
import { r as c, c as d, h as a, H as p, g as m } from "./index.646f8b70.js";
|
|
2
|
+
import { c as f } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import { p as r, i as o, f as l, m as v } from "./maska-4866b970.5336f9cb.js";
|
|
4
|
+
import { g as w } from "./utils-c5f2f98f.af14538a.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
c(this, e), this.inputBlur = d(this, "inputBlur", 7), this.inputFocus = d(this, "inputFocus", 7), this.valueChange = d(this, "valueChange", 7), this.desktopMediaQuery = w(), this.desktopMediaQueryHandler = (i) => {
|
|
7
|
+
const g = ".sc-swirl-time-input-h{display:flex;width:100%}.sc-swirl-time-input-h *.sc-swirl-time-input{box-sizing:border-box}.time-input.sc-swirl-time-input{position:relative;display:flex;width:100%;align-items:center;color:var(--s-text-default);line-height:var(--s-line-height-sm)}.time-input--inline.sc-swirl-time-input .time-input__icon.sc-swirl-time-input{top:-0.0625rem}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.time-input--inline.sc-swirl-time-input .time-input__icon.sc-swirl-time-input{top:0}}.time-input__input.sc-swirl-time-input{display:inline-flex;width:calc(100% - 1.25rem - var(--s-space-8));margin:0;padding:0;border:none;color:var(--s-text-default);background-color:transparent;font:inherit;font-size:var(--s-font-size-base);line-height:var(--s-line-height-base);caret-color:var(--s-border-highlight)}.time-input__input.sc-swirl-time-input:focus{outline:none}.time-input__input.sc-swirl-time-input:disabled{color:var(--s-text-disabled);background-color:transparent}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.time-input__input.sc-swirl-time-input{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.time-input__icon.sc-swirl-time-input{position:absolute;top:calc(-1 * var(--s-space-12));right:0;display:inline-flex;margin:0;padding:0;border:none;color:var(--s-icon-default);background-color:transparent}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.time-input__icon.sc-swirl-time-input{top:-0.625rem}}", u = "HH:mm:ss", x = class {
|
|
8
|
+
constructor(t) {
|
|
9
|
+
c(this, t), this.inputBlur = d(this, "inputBlur", 7), this.inputFocus = d(this, "inputFocus", 7), this.valueChange = d(this, "valueChange", 7), this.desktopMediaQuery = w(), this.desktopMediaQueryHandler = (i) => {
|
|
11
10
|
this.updateIconSize(i.matches);
|
|
12
11
|
}, this.onChange = (i) => {
|
|
13
|
-
const
|
|
12
|
+
const e = i.target.value;
|
|
14
13
|
let s;
|
|
15
|
-
|
|
16
|
-
const n = r(
|
|
17
|
-
!Boolean(
|
|
14
|
+
e === "" && (this.value = void 0, this.valueChange.emit(void 0));
|
|
15
|
+
const n = r(e, this.format, new Date()), h = new RegExp(`^${this.format.replace(/[Hhms]/g, "\\d")}$`);
|
|
16
|
+
!Boolean(e.match(h)) || (o(n) ? s = l(n, u) : s = l(new Date(), u), this.value = s, this.valueChange.emit(s));
|
|
18
17
|
}, this.onBlur = (i) => {
|
|
19
18
|
this.inputBlur.emit(i);
|
|
20
|
-
const
|
|
19
|
+
const e = i.target, s = r(e.value, this.format, new Date());
|
|
21
20
|
if (!o(s) && Boolean(this.value)) {
|
|
22
21
|
const n = Boolean(this.value) ? r(this.value, u, new Date()) : void 0;
|
|
23
|
-
(!Boolean(n) || !o(n)) && (this.value = ""),
|
|
22
|
+
(!Boolean(n) || !o(n)) && (this.value = ""), e.value = l(n, this.format);
|
|
24
23
|
}
|
|
25
24
|
}, this.onInput = (i) => {
|
|
26
25
|
this.onChange(i);
|
|
@@ -31,8 +30,8 @@ const g = ".sc-swirl-time-input-h{display:flex;width:100%}.sc-swirl-time-input-h
|
|
|
31
30
|
}, this.autoFocus = void 0, this.autoSelect = void 0, this.disabled = void 0, this.format = "HH:mm", this.inline = void 0, this.invalid = void 0, this.placeholder = "hh:mm", this.required = void 0, this.swirlAriaDescribedby = void 0, this.value = void 0, this.iconSize = 24;
|
|
32
31
|
}
|
|
33
32
|
componentWillLoad() {
|
|
34
|
-
const
|
|
35
|
-
this.id = `swirl-time-input-${
|
|
33
|
+
const t = Array.from(document.querySelectorAll("swirl-time-input")).indexOf(this.el);
|
|
34
|
+
this.id = `swirl-time-input-${t}`;
|
|
36
35
|
}
|
|
37
36
|
componentDidLoad() {
|
|
38
37
|
this.setupMask(), this.updateIconSize(this.desktopMediaQuery.matches), this.desktopMediaQuery.onchange = this.desktopMediaQueryHandler, this.autoFocus && setTimeout(() => {
|
|
@@ -40,29 +39,29 @@ const g = ".sc-swirl-time-input-h{display:flex;width:100%}.sc-swirl-time-input-h
|
|
|
40
39
|
});
|
|
41
40
|
}
|
|
42
41
|
disconnectedCallback() {
|
|
43
|
-
var
|
|
44
|
-
(
|
|
42
|
+
var t, i, e;
|
|
43
|
+
(t = this.mask) == null || t.destroy(), (e = (i = this.desktopMediaQuery).removeEventListener) == null || e.call(i, "change", this.desktopMediaQueryHandler);
|
|
45
44
|
}
|
|
46
45
|
watchFormat() {
|
|
47
46
|
this.setupMask();
|
|
48
47
|
}
|
|
49
|
-
updateIconSize(
|
|
50
|
-
this.iconSize =
|
|
48
|
+
updateIconSize(t) {
|
|
49
|
+
this.iconSize = t ? 20 : 24;
|
|
51
50
|
}
|
|
52
|
-
handleAutoSelect(
|
|
53
|
-
!this.autoSelect ||
|
|
51
|
+
handleAutoSelect(t) {
|
|
52
|
+
!this.autoSelect || t.target.select();
|
|
54
53
|
}
|
|
55
54
|
setupMask() {
|
|
56
|
-
var
|
|
57
|
-
(
|
|
55
|
+
var t;
|
|
56
|
+
(t = this.mask) == null || t.destroy(), this.mask = v.create(`#${this.id}`, {
|
|
58
57
|
mask: this.format.replace(/[Hhms]/g, "#")
|
|
59
58
|
});
|
|
60
59
|
}
|
|
61
60
|
render() {
|
|
62
|
-
const
|
|
61
|
+
const t = this.invalid === !0 || this.invalid === !1 ? String(this.invalid) : void 0, i = Boolean(this.value) ? r(this.value, u, new Date()) : void 0, e = o(i) ? l(i, this.format) : void 0, s = f("time-input", {
|
|
63
62
|
"time-input--inline": this.inline
|
|
64
63
|
});
|
|
65
|
-
return a(p,
|
|
64
|
+
return a(p, null, a("div", { class: s }, a("input", { "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : void 0, "aria-invalid": t, autoFocus: this.autoFocus, class: "time-input__input", disabled: this.disabled, id: this.id, inputmode: "numeric", onBlur: this.onBlur, onClick: this.onClick, onFocus: this.onFocus, onInput: this.onInput, placeholder: this.placeholder, ref: (n) => this.inputEl = n, required: this.required, type: "text", value: e }), a("span", { class: "time-input__icon" }, a("swirl-icon-time-outlined", { size: this.iconSize }))));
|
|
66
65
|
}
|
|
67
66
|
get el() {
|
|
68
67
|
return m(this);
|
|
@@ -73,7 +72,7 @@ const g = ".sc-swirl-time-input-h{display:flex;width:100%}.sc-swirl-time-input-h
|
|
|
73
72
|
};
|
|
74
73
|
}
|
|
75
74
|
};
|
|
76
|
-
|
|
75
|
+
x.style = g;
|
|
77
76
|
export {
|
|
78
|
-
|
|
77
|
+
x as swirl_time_input
|
|
79
78
|
};
|
package/dist/{swirl-toast-provider.entry.8e11061e.js → swirl-toast-provider.entry.fae201cc.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r, h as
|
|
1
|
+
import { r, h as o, H as n } from "./index.646f8b70.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
const
|
|
4
|
+
const h = class {
|
|
5
5
|
constructor(t) {
|
|
6
6
|
r(this, t), this.onDismiss = (s) => {
|
|
7
7
|
this.toasts = [...this.toasts].filter((i) => i.toastId !== s.detail);
|
|
@@ -14,7 +14,7 @@ const c = class {
|
|
|
14
14
|
this.toasts = [...this.toasts].filter((s) => s.toastId !== t);
|
|
15
15
|
}
|
|
16
16
|
async toast(t) {
|
|
17
|
-
if (this.toasts.some((
|
|
17
|
+
if (this.toasts.some((a) => a.toastId === t.toastId))
|
|
18
18
|
return;
|
|
19
19
|
let s = this.globalDuration;
|
|
20
20
|
this.globalDuration === void 0 ? s = t.duration : this.globalDuration === 0 && (s = void 0);
|
|
@@ -27,12 +27,12 @@ const c = class {
|
|
|
27
27
|
return this.toasts = [...this.toasts, i], i;
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return
|
|
30
|
+
return o(n, { role: "status" }, o("swirl-stack", { spacing: "12" }, this.toasts.map((t) => {
|
|
31
31
|
const s = { ...t, content: void 0 };
|
|
32
|
-
return
|
|
32
|
+
return o("swirl-toast", { key: t.toastId, onDismiss: this.onDismiss, ...s }, t.content);
|
|
33
33
|
})));
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
export {
|
|
37
|
-
|
|
37
|
+
h as swirl_toast_provider
|
|
38
38
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as o, c as n, h as
|
|
2
|
-
import { c } from "./index-
|
|
3
|
-
import { g as d } from "./utils-
|
|
1
|
+
import { r as o, c as n, h as i, H as r } from "./index.646f8b70.js";
|
|
2
|
+
import { c } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import { g as d } from "./utils-c5f2f98f.af14538a.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
const h = ":host{display:flex}:host *{box-sizing:border-box}.toast{display:flex;width:100%;max-width:28rem;padding:var(--s-space-16);border-radius:var(--s-border-radius-sm);color:var(--s-text-on-status);background-color:var(--s-surface-neutral-default);box-shadow:var(--s-shadow-level-2)}.toast--intent-critical{background-color:var(--s-surface-critical-default)}.toast--intent-success{background-color:var(--s-surface-success-default)}.toast__icon{display:inline-flex;width:1.5rem;height:1.5rem;margin-top:calc(-1 * var(--s-space-2));margin-right:0.625rem;flex-shrink:0}.toast__icon ::part(icon){color:var(--s-icon-on-status)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.toast__icon{width:1.25rem;height:1.25rem;margin-top:0}}.toast__content{flex-grow:1;line-height:var(--s-line-height-base);text-align:left;align-self:flex-start}.toast__content ::part(link){color:var(--text-default)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.toast__content{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.toast__dismiss-button{display:inline-flex;min-width:1.5rem;height:1.5rem;margin-top:calc(-1 * var(--s-space-2));margin-left:var(--s-space-16);padding:0;flex-shrink:0;justify-content:center;align-items:center;border:none;color:var(--s-text-on-status);background-color:transparent;font:inherit;font-weight:var(--s-font-weight-semibold);cursor:pointer}.toast__dismiss-button ::part(icon){color:var(--s-icon-on-status)}", l =
|
|
6
|
+
const h = ":host{display:flex}:host *{box-sizing:border-box}.toast{display:flex;width:100%;max-width:28rem;padding:var(--s-space-16);border-radius:var(--s-border-radius-sm);color:var(--s-text-on-status);background-color:var(--s-surface-neutral-default);box-shadow:var(--s-shadow-level-2)}.toast--intent-critical{background-color:var(--s-surface-critical-default)}.toast--intent-success{background-color:var(--s-surface-success-default)}.toast__icon{display:inline-flex;width:1.5rem;height:1.5rem;margin-top:calc(-1 * var(--s-space-2));margin-right:0.625rem;flex-shrink:0}.toast__icon ::part(icon){color:var(--s-icon-on-status)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.toast__icon{width:1.25rem;height:1.25rem;margin-top:0}}.toast__content{flex-grow:1;line-height:var(--s-line-height-base);text-align:left;align-self:flex-start}.toast__content ::part(link){color:var(--text-default)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.toast__content{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.toast__dismiss-button{display:inline-flex;min-width:1.5rem;height:1.5rem;margin-top:calc(-1 * var(--s-space-2));margin-left:var(--s-space-16);padding:0;flex-shrink:0;justify-content:center;align-items:center;border:none;color:var(--s-text-on-status);background-color:transparent;font:inherit;font-weight:var(--s-font-weight-semibold);cursor:pointer}.toast__dismiss-button ::part(icon){color:var(--s-icon-on-status)}", l = class {
|
|
7
7
|
constructor(s) {
|
|
8
8
|
o(this, s), this.dismiss = n(this, "dismiss", 7), this.desktopMediaQuery = d(), this.desktopMediaQueryHandler = (t) => {
|
|
9
9
|
this.forceIconProps(t.matches);
|
|
@@ -23,8 +23,8 @@ const h = ":host{display:flex}:host *{box-sizing:border-box}.toast{display:flex;
|
|
|
23
23
|
}
|
|
24
24
|
forceIconProps(s) {
|
|
25
25
|
var a;
|
|
26
|
-
const t = (a = this.iconEl) == null ? void 0 : a.children[0],
|
|
27
|
-
t == null || t.setAttribute("size", s ? "20" : "24"),
|
|
26
|
+
const t = (a = this.iconEl) == null ? void 0 : a.children[0], e = this.dismissIconEl;
|
|
27
|
+
t == null || t.setAttribute("size", s ? "20" : "24"), e == null || e.setAttribute("size", s ? "20" : "24");
|
|
28
28
|
}
|
|
29
29
|
startTimer() {
|
|
30
30
|
this.clearTimer(), this.duration !== void 0 && (this.timeout = setTimeout(() => {
|
|
@@ -36,7 +36,7 @@ const h = ":host{display:flex}:host *{box-sizing:border-box}.toast{display:flex;
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
const s = c("toast", `toast--intent-${this.intent}`);
|
|
39
|
-
return
|
|
39
|
+
return i(r, null, i("div", { class: s }, this.icon && i("span", { class: "toast__icon", innerHTML: this.icon, part: "toast__icon", ref: (t) => this.iconEl = t }), i("span", { class: "toast__content", innerHTML: this.content, part: "toast__content" }, i("slot", null)), i("button", { "aria-label": this.dismissLabel || this.accessibleDismissLabel, class: "toast__dismiss-button", onClick: this.onDismiss, type: "button" }, this.dismissLabel, !Boolean(this.dismissLabel) && i("swirl-icon-close", { ref: (t) => this.dismissIconEl = t }))));
|
|
40
40
|
}
|
|
41
41
|
static get watchers() {
|
|
42
42
|
return {
|
|
@@ -44,7 +44,7 @@ const h = ":host{display:flex}:host *{box-sizing:border-box}.toast{display:flex;
|
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
|
-
|
|
47
|
+
l.style = h;
|
|
48
48
|
export {
|
|
49
|
-
|
|
49
|
+
l as swirl_toast
|
|
50
50
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as n, h as s, H as i, g as r } from "./index.
|
|
2
|
-
import { b as
|
|
1
|
+
import { r as n, h as s, H as i, g as r } from "./index.646f8b70.js";
|
|
2
|
+
import { b as c } from "./utils-c5f2f98f.af14538a.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
-
const
|
|
5
|
+
const a = ":host{display:block}:host *{box-sizing:border-box}", l = class {
|
|
6
6
|
constructor(e) {
|
|
7
7
|
n(this, e), this.onKeyDown = (t) => {
|
|
8
8
|
t.code === "ArrowDown" || t.code === "ArrowRight" ? (t.preventDefault(), this.focusNextItem()) : (t.code === "ArrowUp" || t.code === "ArrowLeft") && (t.preventDefault(), this.focusPreviousItem());
|
|
@@ -27,7 +27,7 @@ const c = ":host{display:block}:host *{box-sizing:border-box}", l = c, d = class
|
|
|
27
27
|
this.focusItem(e[o]);
|
|
28
28
|
}
|
|
29
29
|
getActiveItemIndex(e) {
|
|
30
|
-
const t =
|
|
30
|
+
const t = c();
|
|
31
31
|
return e.findIndex((o) => o === (t == null ? void 0 : t.closest("swirl-button, swirl-chip")));
|
|
32
32
|
}
|
|
33
33
|
focusItem(e) {
|
|
@@ -44,13 +44,13 @@ const c = ":host{display:block}:host *{box-sizing:border-box}", l = c, d = class
|
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return s(i,
|
|
47
|
+
return s(i, null, s("swirl-stack", { align: "center", "aria-label": this.label, "aria-orientation": this.orientation, role: "toolbar", onKeyDown: this.onKeyDown, orientation: this.orientation, spacing: "8" }, s("slot", null)));
|
|
48
48
|
}
|
|
49
49
|
get el() {
|
|
50
50
|
return r(this);
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
|
-
|
|
53
|
+
l.style = a;
|
|
54
54
|
export {
|
|
55
|
-
|
|
55
|
+
l as swirl_toolbar
|
|
56
56
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as p, h as o, H as
|
|
2
|
-
import { b as c, c as m, a as u, o as
|
|
3
|
-
import { c as
|
|
1
|
+
import { r as p, h as o, H as h, g as d } from "./index.646f8b70.js";
|
|
2
|
+
import { b as c, c as m, a as u, o as w, s as f, f as b } from "./floating-ui.dom.esm-b73e243b.647a7c7e.js";
|
|
3
|
+
import { c as _ } from "./index-d280dafb.186cdb0e.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
const
|
|
6
|
+
const g = ":host{display:contents;font-weight:var(--s-font-weight-normal)}:host *{box-sizing:border-box}.tooltip{display:contents}.tooltip--visible .tooltip__popper{animation:tooltip-fade-in 0.15s;animation-delay:0.1s;animation-fill-mode:forwards;opacity:0}.tooltip--actual-placement-top .tooltip__arrow{top:calc(100% - 0.0625rem);transform:translate3d(0, -50%, 0) rotate(45deg)}.tooltip--actual-placement-bottom .tooltip__arrow{bottom:calc(100% - 0.0625rem);transform:translate3d(0, 50%, 0) rotate(45deg)}.tooltip--actual-placement-left .tooltip__arrow{left:calc(100% - 0.0625rem);transform:translate3d(-50%, 0, 0) rotate(45deg)}.tooltip--actual-placement-right .tooltip__arrow{right:calc(100% - 0.0625rem);transform:translate3d(50%, 0, 0) rotate(45deg)}.tooltip .tooltip__reference{display:contents}.tooltip__popper{position:absolute;z-index:var(--s-z-40);max-width:17.5rem;opacity:0}.tooltip__bubble{position:relative;display:block;padding-top:var(--s-space-8);padding-right:var(--s-space-12);padding-bottom:calc(var(--s-space-8) + 0.0625rem);padding-left:var(--s-space-12);border-radius:var(--s-border-radius-sm);color:var(--s-text-on-status);background-color:var(--s-surface-neutral-default);line-height:var(--s-line-height-base);box-shadow:var(--s-shadow-level-2)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.tooltip__bubble{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.tooltip__content{white-space:normal}.tooltip__arrow{position:absolute;width:0.6875rem;height:0.6875rem;border-radius:0.125rem;background-color:var(--s-surface-neutral-default)}@keyframes tooltip-fade-in{from{opacity:0}to{opacity:1}}", y = class {
|
|
7
7
|
constructor(a) {
|
|
8
8
|
p(this, a), this.onKeydown = (t) => {
|
|
9
9
|
t.code === "Escape" && this.hide();
|
|
@@ -37,7 +37,7 @@ const _ = ":host{display:contents;font-weight:var(--s-font-weight-normal)}:host
|
|
|
37
37
|
}, this.updateOptions = () => {
|
|
38
38
|
const t = +getComputedStyle(document.documentElement).getPropertyValue("--s-space-12").replace("rem", "") * 16;
|
|
39
39
|
this.options = {
|
|
40
|
-
middleware: [
|
|
40
|
+
middleware: [w(t), f(), b()],
|
|
41
41
|
placement: this.position,
|
|
42
42
|
strategy: this.positioning
|
|
43
43
|
};
|
|
@@ -66,20 +66,20 @@ const _ = ":host{display:contents;font-weight:var(--s-font-weight-normal)}:host
|
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
68
|
var t, s, e;
|
|
69
|
-
const a =
|
|
69
|
+
const a = _("tooltip", `tooltip--actual-placement-${(t = this.actualPosition) == null ? void 0 : t.placement}`, {
|
|
70
70
|
"tooltip--visible": this.visible
|
|
71
71
|
});
|
|
72
|
-
return o(
|
|
72
|
+
return o(h, { onKeydown: this.onKeydown }, o("span", { class: a }, o("span", { class: "tooltip__reference", "aria-describedby": "tooltip", onFocusout: this.hide, onClick: this.hide, onFocusin: this.show }, o("slot", null)), o("span", { class: "tooltip__popper", ref: (i) => this.popperEl = i, style: {
|
|
73
73
|
top: Boolean(this.actualPosition) ? `${(s = this.actualPosition) == null ? void 0 : s.y}px` : "",
|
|
74
74
|
left: Boolean(this.actualPosition) ? `${(e = this.actualPosition) == null ? void 0 : e.x}px` : "",
|
|
75
75
|
position: this.positioning
|
|
76
|
-
} }, this.visible && o("span", {
|
|
76
|
+
} }, this.visible && o("span", { class: "tooltip__bubble", id: "tooltip", part: "tooltip__bubble", role: "tooltip" }, o("span", { class: "tooltip__content", innerHTML: this.content })), o("span", { class: "tooltip__arrow", ref: (i) => this.arrowElement = i, style: {
|
|
77
77
|
...this.arrowStyles,
|
|
78
78
|
visibility: this.visible ? "visible" : "hidden"
|
|
79
79
|
} }))));
|
|
80
80
|
}
|
|
81
81
|
get el() {
|
|
82
|
-
return
|
|
82
|
+
return d(this);
|
|
83
83
|
}
|
|
84
84
|
static get watchers() {
|
|
85
85
|
return {
|
|
@@ -87,7 +87,7 @@ const _ = ":host{display:contents;font-weight:var(--s-font-weight-normal)}:host
|
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
|
-
|
|
90
|
+
y.style = g;
|
|
91
91
|
export {
|
|
92
|
-
|
|
92
|
+
y as swirl_tooltip
|
|
93
93
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r, h as i, H as n, g as s } from "./index.
|
|
2
|
-
import { c as o } from "./index-
|
|
1
|
+
import { r, h as i, H as n, g as s } from "./index.646f8b70.js";
|
|
2
|
+
import { c as o } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
-
const c = ":host{display:inline-flex;width:100%}:host *{box-sizing:border-box}.tree-navigation-item{display:inline-flex;width:100%;height:2.5rem;padding-right:var(--s-space-16);padding-left:calc(var(--s-space-16) + 1.5rem + var(--s-space-8));flex-shrink:0;justify-content:flex-start;align-items:center;border:none;color:var(--s-text-default);background-color:transparent;font:inherit;font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);text-decoration:none;cursor:pointer;gap:calc(var(--s-space-8) - var(--s-space-2))}.tree-navigation-item:hover{background-color:var(--s-surface-hovered)}.tree-navigation-item:active{background-color:var(--s-surface-pressed)}.tree-navigation-item:focus{outline:none}.tree-navigation-item:focus-visible .tree-navigation-item__label{border-radius:var(--s-border-radius-xs);box-shadow:0 0 0 0.125rem var(--s-focus-default)}.tree-navigation-item--active{background-color:var(--s-surface-raised-default);box-shadow:inset 0.25rem 0 0 0 var(--s-border-highlight)}.tree-navigation-item--active:hover{background-color:var(--s-surface-raised-hovered)}.tree-navigation-item--active:active{background-color:var(--s-surface-raised-pressed)}.tree-navigation-item--has-icon{padding-left:var(--s-space-16)}.tree-navigation-item__icon{display:inline-flex;flex-shrink:0}.tree-navigation-item__label{overflow:hidden;min-width:0;padding-right:var(--s-space-2);padding-left:var(--s-space-2);white-space:nowrap;text-overflow:ellipsis}",
|
|
5
|
+
const c = ":host{display:inline-flex;width:100%}:host *{box-sizing:border-box}.tree-navigation-item{display:inline-flex;width:100%;height:2.5rem;padding-right:var(--s-space-16);padding-left:calc(var(--s-space-16) + 1.5rem + var(--s-space-8));flex-shrink:0;justify-content:flex-start;align-items:center;border:none;color:var(--s-text-default);background-color:transparent;font:inherit;font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);text-decoration:none;cursor:pointer;gap:calc(var(--s-space-8) - var(--s-space-2))}.tree-navigation-item:hover{background-color:var(--s-surface-hovered)}.tree-navigation-item:active{background-color:var(--s-surface-pressed)}.tree-navigation-item:focus{outline:none}.tree-navigation-item:focus-visible .tree-navigation-item__label{border-radius:var(--s-border-radius-xs);box-shadow:0 0 0 0.125rem var(--s-focus-default)}.tree-navigation-item--active{background-color:var(--s-surface-raised-default);box-shadow:inset 0.25rem 0 0 0 var(--s-border-highlight)}.tree-navigation-item--active:hover{background-color:var(--s-surface-raised-hovered)}.tree-navigation-item--active:active{background-color:var(--s-surface-raised-pressed)}.tree-navigation-item--has-icon{padding-left:var(--s-space-16)}.tree-navigation-item__icon{display:inline-flex;flex-shrink:0}.tree-navigation-item__label{overflow:hidden;min-width:0;padding-right:var(--s-space-2);padding-left:var(--s-space-2);white-space:nowrap;text-overflow:ellipsis}", l = class {
|
|
6
6
|
constructor(e) {
|
|
7
7
|
r(this, e), this.active = void 0, this.href = void 0, this.icon = void 0, this.label = void 0, this.target = void 0;
|
|
8
8
|
}
|
|
@@ -11,13 +11,13 @@ const c = ":host{display:inline-flex;width:100%}:host *{box-sizing:border-box}.t
|
|
|
11
11
|
"tree-navigation-item--active": this.active,
|
|
12
12
|
"tree-navigation-item--has-icon": Boolean(this.icon)
|
|
13
13
|
});
|
|
14
|
-
return i(n,
|
|
14
|
+
return i(n, null, i(t, { class: a, href: this.href, target: this.target, type: e ? void 0 : "button" }, this.icon && i("span", { class: "tree-navigation-item__icon", innerHTML: this.icon }), i("span", { class: "tree-navigation-item__label" }, this.label)));
|
|
15
15
|
}
|
|
16
16
|
get el() {
|
|
17
17
|
return s(this);
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
|
-
l.style =
|
|
20
|
+
l.style = c;
|
|
21
21
|
export {
|
|
22
22
|
l as swirl_tree_navigation_item
|
|
23
23
|
};
|