@getflip/swirl-components-react 0.107.0 → 0.108.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.f4e62418.js → file-manager.entry.316c8b30.js} +1 -1
- package/dist/{index.8cebbcfd.js → index.ae3b752f.js} +325 -325
- package/dist/{swirl-accordion-item.entry.8b0af528.js → swirl-accordion-item.entry.e1471b3b.js} +1 -1
- package/dist/{swirl-accordion.entry.dbc02fb0.js → swirl-accordion.entry.277df9d5.js} +1 -1
- package/dist/{swirl-action-list-section.entry.e8cc31b1.js → swirl-action-list-section.entry.01aea5b9.js} +1 -1
- package/dist/{swirl-action-list_3.entry.0df85630.js → swirl-action-list_3.entry.b8faa021.js} +1 -1
- package/dist/{swirl-app-bar.entry.a236fdfb.js → swirl-app-bar.entry.b4d0b5ae.js} +1 -1
- package/dist/{swirl-app-icon.entry.a258979f.js → swirl-app-icon.entry.fdfe1182.js} +1 -1
- package/dist/{swirl-app-layout_6.entry.6e264990.js → swirl-app-layout_6.entry.4c3fae3f.js} +1 -1
- package/dist/{swirl-autocomplete.entry.b044d56f.js → swirl-autocomplete.entry.8d4b22e4.js} +1 -1
- package/dist/{swirl-avatar-group.entry.55f181c2.js → swirl-avatar-group.entry.be72256c.js} +1 -1
- package/dist/{swirl-avatar.entry.57dd494b.js → swirl-avatar.entry.40095e72.js} +1 -1
- package/dist/{swirl-badge.entry.c0cafced.js → swirl-badge.entry.8c462793.js} +1 -1
- package/dist/{swirl-banner.entry.8a516f30.js → swirl-banner.entry.79fffbe6.js} +1 -1
- package/dist/{swirl-box.entry.24d7e8d1.js → swirl-box.entry.d68eb9f8.js} +1 -1
- package/dist/{swirl-button-group.entry.966ef487.js → swirl-button-group.entry.3384982a.js} +1 -1
- package/dist/{swirl-button.entry.558826c1.js → swirl-button.entry.1cb6692d.js} +1 -1
- package/dist/{swirl-card.entry.01074261.js → swirl-card.entry.1be55b2b.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.3dfe6616.js → swirl-carousel-slide.entry.00412ecf.js} +1 -1
- package/dist/{swirl-carousel.entry.9e11bfe5.js → swirl-carousel.entry.73377321.js} +1 -1
- package/dist/{swirl-checkbox.entry.4cab28f7.js → swirl-checkbox.entry.baea1988.js} +1 -1
- package/dist/{swirl-chip.entry.9a638f80.js → swirl-chip.entry.bc56e9ce.js} +1 -1
- package/dist/{swirl-color-input.entry.925927b1.js → swirl-color-input.entry.442a1f8d.js} +1 -1
- package/dist/{swirl-columns.entry.578aa728.js → swirl-columns.entry.cfab2464.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +37 -37
- package/dist/{swirl-console-layout.entry.7d861f10.js → swirl-console-layout.entry.7d825c09.js} +1 -1
- package/dist/{swirl-date-input.entry.9ccc0fe1.js → swirl-date-input.entry.faedd624.js} +1 -1
- package/dist/{swirl-date-picker_2.entry.ccc8d022.js → swirl-date-picker_2.entry.ccab0705.js} +1 -1
- package/dist/{swirl-description-list-item.entry.895b58ea.js → swirl-description-list-item.entry.50241f8d.js} +1 -1
- package/dist/{swirl-description-list.entry.80511423.js → swirl-description-list.entry.7ec50207.js} +1 -1
- package/dist/{swirl-dialog.entry.15281369.js → swirl-dialog.entry.79ec6cd5.js} +1 -1
- package/dist/{swirl-emoji-clap.entry.1d39655f.js → swirl-emoji-clap.entry.7b5fe83c.js} +1 -1
- package/dist/{swirl-emoji-happy.entry.fa912daa.js → swirl-emoji-happy.entry.c40c4677.js} +1 -1
- package/dist/{swirl-emoji-idea.entry.1b724f97.js → swirl-emoji-idea.entry.cd3ceda8.js} +1 -1
- package/dist/{swirl-emoji-love.entry.c2fdff09.js → swirl-emoji-love.entry.b922d1a5.js} +1 -1
- package/dist/{swirl-emoji-sad.entry.6146c436.js → swirl-emoji-sad.entry.782f2963.js} +1 -1
- package/dist/{swirl-emoji-thumbs-up.entry.abad4fe2.js → swirl-emoji-thumbs-up.entry.65a4bdc2.js} +1 -1
- package/dist/{swirl-emoji.entry.93a0fe2a.js → swirl-emoji.entry.cb062cd9.js} +1 -1
- package/dist/{swirl-file-uploader.entry.30f7566a.js → swirl-file-uploader.entry.50726f5c.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.5cd11fe1.js → swirl-file-viewer_7.entry.d9881c1e.js} +1 -1
- package/dist/{swirl-form-control.entry.8c3e1864.js → swirl-form-control.entry.4d4516ae.js} +1 -1
- package/dist/{swirl-form-group.entry.984e46e5.js → swirl-form-group.entry.7374ff28.js} +1 -1
- package/dist/swirl-heading.entry.4e5e243d.js +26 -0
- package/dist/{swirl-icon-add-photo.entry.32ad9081.js → swirl-icon-add-photo.entry.6a308917.js} +1 -1
- package/dist/{swirl-icon-add-reaction.entry.e3d3e329.js → swirl-icon-add-reaction.entry.a80ce6f6.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.0630423d.js → swirl-icon-add_6.entry.97da42e8.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.f4e05cd1.js → swirl-icon-admin-panel-settings.entry.0a3f706c.js} +1 -1
- package/dist/{swirl-icon-ai.entry.d9eada0d.js → swirl-icon-ai.entry.26c32230.js} +1 -1
- package/dist/{swirl-icon-apps.entry.3b7be082.js → swirl-icon-apps.entry.a906178e.js} +1 -1
- package/dist/{swirl-icon-arrow-back.entry.0e99d408.js → swirl-icon-arrow-back.entry.96fc4029.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.b559b350.js → swirl-icon-arrow-downward_2.entry.2ab10ef3.js} +1 -1
- package/dist/{swirl-icon-arrow-forward.entry.d27e7e92.js → swirl-icon-arrow-forward.entry.7bff155d.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.f4eab357.js → swirl-icon-arrow-left_4.entry.0135fa25.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.8c94ec31.js → swirl-icon-arrow-right-small.entry.792914d9.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.c798c8a0.js → swirl-icon-attachment.entry.70279887.js} +1 -1
- package/dist/{swirl-icon-bar-chart.entry.37ec5276.js → swirl-icon-bar-chart.entry.6956b337.js} +1 -1
- package/dist/{swirl-icon-block.entry.6bf358cc.js → swirl-icon-block.entry.26da6a9e.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.cf1a1395.js → swirl-icon-bookmark.entry.ab2f2610.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.3538b7b8.js → swirl-icon-cancel_4.entry.4cdd284c.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.aa9faf67.js → swirl-icon-chat-bubble.entry.e297ff2c.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.89f145ec.js → swirl-icon-chats-filled.entry.42bf581c.js} +1 -1
- package/dist/{swirl-icon-chats-outlined.entry.4b0f1df5.js → swirl-icon-chats-outlined.entry.c7741d26.js} +1 -1
- package/dist/{swirl-icon-check-circle_2.entry.681325ac.js → swirl-icon-check-circle_2.entry.35909034.js} +1 -1
- package/dist/{swirl-icon-check-small_3.entry.2fe2aebf.js → swirl-icon-check-small_3.entry.b3d195ba.js} +1 -1
- package/dist/{swirl-icon-check-strong.entry.cf2dd42b.js → swirl-icon-check-strong.entry.bb8d6dce.js} +1 -1
- package/dist/{swirl-icon-check.entry.91ec45b9.js → swirl-icon-check.entry.602f3efa.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.e98abe07.js → swirl-icon-chevron-left.entry.45435f95.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.6f2798fd.js → swirl-icon-chevron-right.entry.a005b121.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.e1dda2cd.js → swirl-icon-close-small.entry.9cf8eacf.js} +1 -1
- package/dist/{swirl-icon-close.entry.6863850b.js → swirl-icon-close.entry.c3fa9a11.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.f1d35e93.js → swirl-icon-cloud-upload.entry.9e2f51a2.js} +1 -1
- package/dist/{swirl-icon-column.entry.891e5446.js → swirl-icon-column.entry.0d22ef28.js} +1 -1
- package/dist/{swirl-icon-comment.entry.9ef1fda0.js → swirl-icon-comment.entry.2abc8bcd.js} +1 -1
- package/dist/{swirl-icon-copy.entry.f21cddeb.js → swirl-icon-copy.entry.34fba6ac.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.0aa5c5ca.js → swirl-icon-date-range.entry.d9e63fad.js} +1 -1
- package/dist/{swirl-icon-delete.entry.d53c9f77.js → swirl-icon-delete.entry.d9d20f26.js} +1 -1
- package/dist/{swirl-icon-description.entry.11ccd0c9.js → swirl-icon-description.entry.c0a54c1a.js} +1 -1
- package/dist/{swirl-icon-discover.entry.09c25401.js → swirl-icon-discover.entry.03cceed2.js} +1 -1
- package/dist/{swirl-icon-double-arrow-left.entry.56912d13.js → swirl-icon-double-arrow-left.entry.6686b30b.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.1a6dad9b.js → swirl-icon-double-arrow-right.entry.12ecb6a8.js} +1 -1
- package/dist/{swirl-icon-download.entry.9b0fd350.js → swirl-icon-download.entry.d4e8d8c9.js} +1 -1
- package/dist/{swirl-icon-edit.entry.2d97b36b.js → swirl-icon-edit.entry.da9df840.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.f5c18dfa.js → swirl-icon-emoji-mood.entry.1a1bbcb0.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.7ead6a2e.js → swirl-icon-emoji-satisfied.entry.be261683.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.eff739fc.js → swirl-icon-error_3.entry.c4e17b0d.js} +1 -1
- package/dist/{swirl-icon-expand-more.entry.75bfa36c.js → swirl-icon-expand-more.entry.afd1bb88.js} +1 -1
- package/dist/{swirl-icon-filter.entry.425d9e71.js → swirl-icon-filter.entry.96412b03.js} +1 -1
- package/dist/{swirl-icon-folder.entry.f7cc62c0.js → swirl-icon-folder.entry.727c90c2.js} +1 -1
- package/dist/{swirl-icon-format-h-one.entry.970b7795.js → swirl-icon-format-h-one.entry.08bcbd38.js} +1 -1
- package/dist/{swirl-icon-gif.entry.da873a71.js → swirl-icon-gif.entry.3039c6d6.js} +1 -1
- package/dist/{swirl-icon-group-add.entry.1cb41b6d.js → swirl-icon-group-add.entry.5e056b67.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.bbafe776.js → swirl-icon-group-assign.entry.3fca0219.js} +1 -1
- package/dist/{swirl-icon-groups-custom.entry.569834e8.js → swirl-icon-groups-custom.entry.7f169b5b.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.c0ddaaa7.js → swirl-icon-groups-filled.entry.39f06737.js} +1 -1
- package/dist/{swirl-icon-groups-outlined.entry.0d4630dd.js → swirl-icon-groups-outlined.entry.849d1d61.js} +1 -1
- package/dist/{swirl-icon-groups.entry.321e1dfe.js → swirl-icon-groups.entry.e4a3fc92.js} +1 -1
- package/dist/{swirl-icon-help.entry.83df4597.js → swirl-icon-help.entry.2856e7f7.js} +1 -1
- package/dist/{swirl-icon-highlight.entry.fb6d348c.js → swirl-icon-highlight.entry.f75914ae.js} +1 -1
- package/dist/{swirl-icon-home.entry.27cc0609.js → swirl-icon-home.entry.9e8e7fd2.js} +1 -1
- package/dist/{swirl-icon-image.entry.5973c658.js → swirl-icon-image.entry.b9a52f2c.js} +1 -1
- package/dist/{swirl-icon-improve-text.entry.66f75ea2.js → swirl-icon-improve-text.entry.57106a9a.js} +1 -1
- package/dist/{swirl-icon-info.entry.44005b5e.js → swirl-icon-info.entry.dad88502.js} +1 -1
- package/dist/{swirl-icon-insert-below.entry.90a3088e.js → swirl-icon-insert-below.entry.a4efaac5.js} +1 -1
- package/dist/{swirl-icon-insert-on-top.entry.84c11849.js → swirl-icon-insert-on-top.entry.88f951a2.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.779007f5.js → swirl-icon-inventory.entry.9376d389.js} +1 -1
- package/dist/{swirl-icon-like.entry.7d533872.js → swirl-icon-like.entry.178a19d5.js} +1 -1
- package/dist/{swirl-icon-link.entry.36008799.js → swirl-icon-link.entry.fd779888.js} +1 -1
- package/dist/{swirl-icon-lock-person.entry.a57ddb1d.js → swirl-icon-lock-person.entry.86b79444.js} +1 -1
- package/dist/{swirl-icon-lock.entry.a9b98bb7.js → swirl-icon-lock.entry.3abcfa50.js} +1 -1
- package/dist/{swirl-icon-logout.entry.f98cbba3.js → swirl-icon-logout.entry.9bb33c36.js} +1 -1
- package/dist/{swirl-icon-long-text.entry.f543cde0.js → swirl-icon-long-text.entry.8e093f3e.js} +1 -1
- package/dist/{swirl-icon-mail.entry.55beccf7.js → swirl-icon-mail.entry.d6b9779c.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.c14da09b.js → swirl-icon-manage-accounts.entry.a563c241.js} +1 -1
- package/dist/{swirl-icon-mark-chat-read.entry.293029d7.js → swirl-icon-mark-chat-read.entry.c6efc3e4.js} +1 -1
- package/dist/{swirl-icon-mark-chat-unread.entry.17746533.js → swirl-icon-mark-chat-unread.entry.2c5c9829.js} +1 -1
- package/dist/{swirl-icon-mention.entry.3626e6c3.js → swirl-icon-mention.entry.8163ae75.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.4d66f7f9.js → swirl-icon-menu-filled.entry.7415516d.js} +1 -1
- package/dist/{swirl-icon-menu-outlined.entry.7b322970.js → swirl-icon-menu-outlined.entry.1f1e385a.js} +1 -1
- package/dist/{swirl-icon-menu.entry.acc38057.js → swirl-icon-menu.entry.7256f3ef.js} +1 -1
- package/dist/{swirl-icon-message.entry.197952ad.js → swirl-icon-message.entry.398f5d05.js} +1 -1
- package/dist/{swirl-icon-mic.entry.08e14f3c.js → swirl-icon-mic.entry.f8a5a173.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.e44f2aa4.js → swirl-icon-more-horizontal.entry.289c1709.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.29611813.js → swirl-icon-news-filled.entry.739982f4.js} +1 -1
- package/dist/{swirl-icon-news-outlined.entry.93ce90ab.js → swirl-icon-news-outlined.entry.65682d73.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.90bc6469.js → swirl-icon-notifications-active.entry.8a4533b2.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.5c445e72.js → swirl-icon-notifications-off.entry.ab1172a1.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.4d06f868.js → swirl-icon-notifications.entry.5bb9a184.js} +1 -1
- package/dist/{swirl-icon-open-in-full.entry.ea578f1a.js → swirl-icon-open-in-full.entry.b1a8d307.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.be1e9bc1.js → swirl-icon-open-in-new.entry.4f857147.js} +1 -1
- package/dist/{swirl-icon-pause-circle.entry.b59c8749.js → swirl-icon-pause-circle.entry.fe1b835b.js} +1 -1
- package/dist/{swirl-icon-pause.entry.d9d21c93.js → swirl-icon-pause.entry.6280a78b.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.3a1980c9.js → swirl-icon-people-alt.entry.5b44ced8.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.e78226e5.js → swirl-icon-person-off.entry.3c739b19.js} +1 -1
- package/dist/{swirl-icon-person.entry.740a865b.js → swirl-icon-person.entry.b5460840.js} +1 -1
- package/dist/{swirl-icon-phone.entry.1b07e5a6.js → swirl-icon-phone.entry.3125e73a.js} +1 -1
- package/dist/{swirl-icon-play-arrow.entry.49a658ae.js → swirl-icon-play-arrow.entry.c826770d.js} +1 -1
- package/dist/{swirl-icon-poll.entry.5841be2c.js → swirl-icon-poll.entry.5d93e258.js} +1 -1
- package/dist/{swirl-icon-print.entry.9566ee11.js → swirl-icon-print.entry.c603e243.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.d80b0295.js → swirl-icon-recieved.entry.8067544c.js} +1 -1
- package/dist/{swirl-icon-reply.entry.1c25cb72.js → swirl-icon-reply.entry.e8548af8.js} +1 -1
- package/dist/{swirl-icon-report.entry.d065093e.js → swirl-icon-report.entry.c506a0ea.js} +1 -1
- package/dist/{swirl-icon-roadmap.entry.8b131ecc.js → swirl-icon-roadmap.entry.88ee4d9f.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.c365e434.js → swirl-icon-search-strong.entry.a84b9825.js} +1 -1
- package/dist/{swirl-icon-search.entry.bc9535f7.js → swirl-icon-search.entry.ba39ca0f.js} +1 -1
- package/dist/{swirl-icon-secure.entry.7b31b710.js → swirl-icon-secure.entry.026e47db.js} +1 -1
- package/dist/{swirl-icon-send.entry.1892f75b.js → swirl-icon-send.entry.059d3823.js} +1 -1
- package/dist/{swirl-icon-settings.entry.8da9e9d2.js → swirl-icon-settings.entry.08c5b50f.js} +1 -1
- package/dist/{swirl-icon-short-text.entry.fa06970a.js → swirl-icon-short-text.entry.8af6d00a.js} +1 -1
- package/dist/{swirl-icon-simplify.entry.38794450.js → swirl-icon-simplify.entry.6bfb18e2.js} +1 -1
- package/dist/{swirl-icon-spellcheck.entry.99a79729.js → swirl-icon-spellcheck.entry.464619ab.js} +1 -1
- package/dist/{swirl-icon-stop.entry.62cfcd6c.js → swirl-icon-stop.entry.d45a72d4.js} +1 -1
- package/dist/{swirl-icon-sync.entry.eddd221a.js → swirl-icon-sync.entry.888927c0.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.1da53bab.js → swirl-icon-tasks-filled.entry.93885e6b.js} +1 -1
- package/dist/{swirl-icon-tasks-outlined.entry.c1c1f735.js → swirl-icon-tasks-outlined.entry.c48c8f9c.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.16baaeb0.js → swirl-icon-time-filled.entry.9e95e8f8.js} +1 -1
- package/dist/{swirl-icon-time-outlined.entry.576367a3.js → swirl-icon-time-outlined.entry.e961b8b8.js} +1 -1
- package/dist/{swirl-icon-translate.entry.5b2e06b6.js → swirl-icon-translate.entry.ffcab6ba.js} +1 -1
- package/dist/{swirl-icon-tree-structure.entry.a6b89f3b.js → swirl-icon-tree-structure.entry.947c1f1f.js} +1 -1
- package/dist/{swirl-icon-undo.entry.1cbf691b.js → swirl-icon-undo.entry.1a711085.js} +1 -1
- package/dist/{swirl-icon-unlock-person.entry.6ba675e7.js → swirl-icon-unlock-person.entry.5a4346d8.js} +1 -1
- package/dist/{swirl-icon-user-add.entry.02cb5519.js → swirl-icon-user-add.entry.e4df2b72.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.eff5b610.js → swirl-icon-user-assign.entry.a99f50e2.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.90e17194.js → swirl-icon-video-camera.entry.5d9a084d.js} +1 -1
- package/dist/{swirl-icon-video-library.entry.2dd2e6ff.js → swirl-icon-video-library.entry.8de824bf.js} +1 -1
- package/dist/{swirl-icon-voice.entry.4da4f843.js → swirl-icon-voice.entry.13d3f5ce.js} +1 -1
- package/dist/{swirl-icon.entry.c2cea41f.js → swirl-icon.entry.99bfc1d4.js} +1 -1
- package/dist/{swirl-image-grid-item.entry.b5a31dbb.js → swirl-image-grid-item.entry.1afb6ec3.js} +1 -1
- package/dist/{swirl-image-grid.entry.f30feafb.js → swirl-image-grid.entry.5cac8d6e.js} +1 -1
- package/dist/{swirl-inline-notification.entry.fe056eef.js → swirl-inline-notification.entry.64dbc59a.js} +1 -1
- package/dist/{swirl-inline-status.entry.b1dcd15e.js → swirl-inline-status.entry.e8958f4f.js} +1 -1
- package/dist/{swirl-lightbox.entry.ff517ea8.js → swirl-lightbox.entry.23c9154c.js} +1 -1
- package/dist/{swirl-link.entry.b09698a2.js → swirl-link.entry.a5f79c22.js} +1 -1
- package/dist/{swirl-list.entry.221c07f9.js → swirl-list.entry.3d141862.js} +1 -1
- package/dist/{swirl-menu-item.entry.0cb16e44.js → swirl-menu-item.entry.2ad46688.js} +1 -1
- package/dist/{swirl-menu.entry.3e524921.js → swirl-menu.entry.90c28a37.js} +1 -1
- package/dist/{swirl-modal.entry.8c79a4ab.js → swirl-modal.entry.857398bb.js} +1 -1
- package/dist/{swirl-option-list-section.entry.c05db746.js → swirl-option-list-section.entry.b55d244b.js} +1 -1
- package/dist/{swirl-option-list_2.entry.e9c11a4e.js → swirl-option-list_2.entry.21b3c4c4.js} +1 -1
- package/dist/{swirl-pagination.entry.7520f039.js → swirl-pagination.entry.39d67225.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.7848f475.js → swirl-pdf-reader.entry.eb190c86.js} +1 -1
- package/dist/{swirl-popover_2.entry.3b40e3f7.js → swirl-popover_2.entry.d228892b.js} +6 -6
- package/dist/{swirl-progress-indicator.entry.202586a4.js → swirl-progress-indicator.entry.c8bb8c58.js} +1 -1
- package/dist/{swirl-radio-group.entry.a530a700.js → swirl-radio-group.entry.f186c064.js} +1 -1
- package/dist/{swirl-radio.entry.ae7165ad.js → swirl-radio.entry.2c8b698e.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.7814da78.js → swirl-resource-list-file-item.entry.7332be17.js} +1 -1
- package/dist/{swirl-search.entry.cd7b5bb6.js → swirl-search.entry.cd94d235.js} +1 -1
- package/dist/{swirl-select.entry.e739acba.js → swirl-select.entry.ec6a7189.js} +1 -1
- package/dist/{swirl-shell-layout.entry.8adc71af.js → swirl-shell-layout.entry.9f124ce1.js} +1 -1
- package/dist/{swirl-shell-navigation-item.entry.191691b8.js → swirl-shell-navigation-item.entry.2a4ed190.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.2c15ab49.js → swirl-skeleton-box.entry.ac8a675f.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.cd3279be.js → swirl-skeleton-text.entry.d92c5d56.js} +1 -1
- package/dist/{swirl-stack.entry.e3fac058.js → swirl-stack.entry.2a408a25.js} +1 -1
- package/dist/{swirl-status-indicator.entry.0e24e810.js → swirl-status-indicator.entry.41aa6e04.js} +1 -1
- package/dist/{swirl-switch.entry.bd9dd1a5.js → swirl-switch.entry.b8575c48.js} +1 -1
- package/dist/{swirl-symbol-account-circle.entry.8e2e636d.js → swirl-symbol-account-circle.entry.7b4fe5ec.js} +1 -1
- package/dist/{swirl-symbol-alternate-email.entry.33c4d889.js → swirl-symbol-alternate-email.entry.bcd1cb34.js} +1 -1
- package/dist/{swirl-symbol-android.entry.d6061f5f.js → swirl-symbol-android.entry.b2d9f592.js} +1 -1
- package/dist/{swirl-symbol-announcement.entry.e9b814b9.js → swirl-symbol-announcement.entry.4a5af222.js} +1 -1
- package/dist/{swirl-symbol-backup.entry.78f8ca26.js → swirl-symbol-backup.entry.724320e5.js} +1 -1
- package/dist/{swirl-symbol-beach-access.entry.d4a4dfaa.js → swirl-symbol-beach-access.entry.dae3e1e9.js} +1 -1
- package/dist/{swirl-symbol-bookmark.entry.af53f3c0.js → swirl-symbol-bookmark.entry.74a02ec3.js} +1 -1
- package/dist/{swirl-symbol-cloud.entry.fb196ee7.js → swirl-symbol-cloud.entry.43eb9ab1.js} +1 -1
- package/dist/{swirl-symbol-coronavirus.entry.cda87a9b.js → swirl-symbol-coronavirus.entry.5f4830da.js} +1 -1
- package/dist/{swirl-symbol-desktop-windows.entry.cef5e97d.js → swirl-symbol-desktop-windows.entry.ab7691b8.js} +1 -1
- package/dist/{swirl-symbol-directions-car-filled.entry.06a34fd8.js → swirl-symbol-directions-car-filled.entry.0f51ee12.js} +1 -1
- package/dist/{swirl-symbol-edit-calendar.entry.a5156b5d.js → swirl-symbol-edit-calendar.entry.151d22e8.js} +1 -1
- package/dist/{swirl-symbol-email.entry.a54e9b91.js → swirl-symbol-email.entry.82cd295e.js} +1 -1
- package/dist/{swirl-symbol-emoji-food-beverage.entry.d39fd1b0.js → swirl-symbol-emoji-food-beverage.entry.0778d5cd.js} +1 -1
- package/dist/{swirl-symbol-event-menu.entry.82c17807.js → swirl-symbol-event-menu.entry.93d81e86.js} +1 -1
- package/dist/{swirl-symbol-facebook.entry.9bd03190.js → swirl-symbol-facebook.entry.caae6c7d.js} +1 -1
- package/dist/{swirl-symbol-favorite.entry.43169470.js → swirl-symbol-favorite.entry.8140bcab.js} +1 -1
- package/dist/{swirl-symbol-fitness-center.entry.1e35455c.js → swirl-symbol-fitness-center.entry.86ead1d5.js} +1 -1
- package/dist/{swirl-symbol-flag.entry.e2e041ef.js → swirl-symbol-flag.entry.3797b21d.js} +1 -1
- package/dist/{swirl-symbol-folder.entry.bbf76a53.js → swirl-symbol-folder.entry.0d809f8e.js} +1 -1
- package/dist/{swirl-symbol-globe.entry.94e00ac4.js → swirl-symbol-globe.entry.099cd1c9.js} +1 -1
- package/dist/{swirl-symbol-groups.entry.11cbe3aa.js → swirl-symbol-groups.entry.396fbe1c.js} +1 -1
- package/dist/{swirl-symbol-help.entry.7e570237.js → swirl-symbol-help.entry.fa1637c9.js} +1 -1
- package/dist/{swirl-symbol-image.entry.75949b00.js → swirl-symbol-image.entry.535e5951.js} +1 -1
- package/dist/{swirl-symbol-info-menu.entry.a3f96b91.js → swirl-symbol-info-menu.entry.e7b9148c.js} +1 -1
- package/dist/{swirl-symbol-instagram.entry.9d61669b.js → swirl-symbol-instagram.entry.3622518e.js} +1 -1
- package/dist/{swirl-symbol-ios.entry.e6966842.js → swirl-symbol-ios.entry.1c08406d.js} +1 -1
- package/dist/{swirl-symbol-language.entry.21ec152d.js → swirl-symbol-language.entry.74f6a8cc.js} +1 -1
- package/dist/{swirl-symbol-leaderboard.entry.d93723ab.js → swirl-symbol-leaderboard.entry.77fd5c1c.js} +1 -1
- package/dist/{swirl-symbol-lightbulb.entry.5a4500b3.js → swirl-symbol-lightbulb.entry.5a729dcf.js} +1 -1
- package/dist/{swirl-symbol-linkedin.entry.6c8e2d16.js → swirl-symbol-linkedin.entry.447402e8.js} +1 -1
- package/dist/{swirl-symbol-location-on.entry.dc8c1813.js → swirl-symbol-location-on.entry.a7039066.js} +1 -1
- package/dist/{swirl-symbol-loyalty.entry.e7182716.js → swirl-symbol-loyalty.entry.e14ed630.js} +1 -1
- package/dist/{swirl-symbol-maps-home-work.entry.f3331594.js → swirl-symbol-maps-home-work.entry.4801e82d.js} +1 -1
- package/dist/{swirl-symbol-notifications.entry.89a4eb16.js → swirl-symbol-notifications.entry.3a7e5bec.js} +1 -1
- package/dist/{swirl-symbol-open-in-new.entry.96917ce4.js → swirl-symbol-open-in-new.entry.a579edae.js} +1 -1
- package/dist/{swirl-symbol-pedal-bike.entry.e2bcf4dd.js → swirl-symbol-pedal-bike.entry.f0d5fc12.js} +1 -1
- package/dist/{swirl-symbol-pinterest.entry.c3b622a4.js → swirl-symbol-pinterest.entry.1b871d5e.js} +1 -1
- package/dist/{swirl-symbol-policy.entry.166137eb.js → swirl-symbol-policy.entry.045f82b0.js} +1 -1
- package/dist/{swirl-symbol-push-pin.entry.10dc3a57.js → swirl-symbol-push-pin.entry.b968fb37.js} +1 -1
- package/dist/{swirl-symbol-redeem.entry.c4501535.js → swirl-symbol-redeem.entry.206b44b7.js} +1 -1
- package/dist/{swirl-symbol-report-problem.entry.74a36cfb.js → swirl-symbol-report-problem.entry.b85a312b.js} +1 -1
- package/dist/{swirl-symbol-restaurant.entry.361db4bb.js → swirl-symbol-restaurant.entry.b8423acc.js} +1 -1
- package/dist/{swirl-symbol-roadmap.entry.cba3879d.js → swirl-symbol-roadmap.entry.4a8de094.js} +1 -1
- package/dist/{swirl-symbol-room.entry.b82ba834.js → swirl-symbol-room.entry.ce1ee151.js} +1 -1
- package/dist/{swirl-symbol-savings.entry.cd0666b9.js → swirl-symbol-savings.entry.2b6a6adc.js} +1 -1
- package/dist/{swirl-symbol-settings-voice.entry.493d9335.js → swirl-symbol-settings-voice.entry.86f22b08.js} +1 -1
- package/dist/{swirl-symbol-shopping-cart.entry.34c75228.js → swirl-symbol-shopping-cart.entry.d12bbb9a.js} +1 -1
- package/dist/{swirl-symbol-smartphone.entry.df7b28c4.js → swirl-symbol-smartphone.entry.d10115ba.js} +1 -1
- package/dist/{swirl-symbol-star.entry.23bc50de.js → swirl-symbol-star.entry.4fc3e244.js} +1 -1
- package/dist/{swirl-symbol-supervisor-account.entry.d69e6b64.js → swirl-symbol-supervisor-account.entry.3d86415b.js} +1 -1
- package/dist/{swirl-symbol-thumbs-up-down.entry.07b8116b.js → swirl-symbol-thumbs-up-down.entry.6cfa1c99.js} +1 -1
- package/dist/{swirl-symbol-twitter.entry.010c1c80.js → swirl-symbol-twitter.entry.9e390296.js} +1 -1
- package/dist/{swirl-symbol-wb-sunny.entry.8bc074ca.js → swirl-symbol-wb-sunny.entry.a700fc3c.js} +1 -1
- package/dist/{swirl-symbol-wechat.entry.7075f979.js → swirl-symbol-wechat.entry.935d7b09.js} +1 -1
- package/dist/{swirl-symbol-weibo.entry.57c5b476.js → swirl-symbol-weibo.entry.e1866812.js} +1 -1
- package/dist/{swirl-symbol-work.entry.bdeef0ef.js → swirl-symbol-work.entry.2060e894.js} +1 -1
- package/dist/{swirl-symbol-xing.entry.2dc69deb.js → swirl-symbol-xing.entry.be3902ae.js} +1 -1
- package/dist/{swirl-symbol-youtube.entry.45f4a12f.js → swirl-symbol-youtube.entry.48552f9e.js} +1 -1
- package/dist/{swirl-symbol.entry.fab21ff8.js → swirl-symbol.entry.c638ca19.js} +1 -1
- package/dist/{swirl-tab-bar.entry.44cd5400.js → swirl-tab-bar.entry.842205e7.js} +1 -1
- package/dist/{swirl-tab.entry.991dfd52.js → swirl-tab.entry.991eb712.js} +1 -1
- package/dist/{swirl-table-cell.entry.80b92cff.js → swirl-table-cell.entry.76a59e61.js} +1 -1
- package/dist/{swirl-table-column.entry.8d0db114.js → swirl-table-column.entry.3faf2233.js} +1 -1
- package/dist/{swirl-table-row-group.entry.c0819a33.js → swirl-table-row-group.entry.f0bcdb0b.js} +1 -1
- package/dist/{swirl-table-row.entry.9131ae86.js → swirl-table-row.entry.c8a3c75f.js} +1 -1
- package/dist/{swirl-table.entry.e03ccc07.js → swirl-table.entry.27655125.js} +1 -1
- package/dist/{swirl-tabs.entry.707991c1.js → swirl-tabs.entry.bcc7b3cf.js} +1 -1
- package/dist/{swirl-text-input.entry.93fad892.js → swirl-text-input.entry.331fb43c.js} +1 -1
- package/dist/swirl-text.entry.2b68b346.js +292 -0
- package/dist/{swirl-theme-provider.entry.1ed71061.js → swirl-theme-provider.entry.d8566267.js} +1 -1
- package/dist/{swirl-time-input.entry.54e603be.js → swirl-time-input.entry.c0406fd6.js} +1 -1
- package/dist/{swirl-toast-provider.entry.14dc1ddf.js → swirl-toast-provider.entry.b6c90274.js} +1 -1
- package/dist/{swirl-toast.entry.aec5e599.js → swirl-toast.entry.be730a8c.js} +1 -1
- package/dist/{swirl-toolbar.entry.fac11405.js → swirl-toolbar.entry.84875949.js} +1 -1
- package/dist/{swirl-tooltip.entry.e67e0e2e.js → swirl-tooltip.entry.a13eb6e9.js} +1 -1
- package/dist/{swirl-tree-navigation-item.entry.316ad95b.js → swirl-tree-navigation-item.entry.6f7db537.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.30b40519.js → swirl-video-thumbnail.entry.6c2704ca.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.db7b4f14.js → swirl-visually-hidden.entry.d84bfc63.js} +1 -1
- package/dist/{wc-datepicker.entry.872b429d.js → wc-datepicker.entry.99246784.js} +1 -1
- package/package.json +2 -2
- package/dist/balancetext-fa49c64f.754e913c.js +0 -189
- package/dist/swirl-heading.entry.b9df16b2.js +0 -35
- package/dist/swirl-text.entry.6fb1aff5.js +0 -108
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e, h as s, H as l } from "./index.
|
|
1
|
+
import { r as e, h as s, H as l } from "./index.ae3b752f.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const t = ":host{display:flex;overflow:auto;padding-top:var(--s-space-8);padding-right:var(--s-space-16);padding-bottom:var(--s-space-8);padding-left:var(--s-space-16);flex-basis:0;flex-grow:1;flex-shrink:1;align-items:center;background-color:var(--s-surface-default);word-break:break-word;-webkit-hyphens:auto;hyphens:auto;transition:box-shadow 0.15s}:host(.table-cell--has-shadow-right){box-shadow:var(--swirl-table-sticky-right-shadow)}:host(.table-cell--has-shadow-left){box-shadow:var(--swirl-table-sticky-left-shadow)}:host *{box-sizing:border-box}", o = class {
|
package/dist/{swirl-table-row-group.entry.c0819a33.js → swirl-table-row-group.entry.f0bcdb0b.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, h as r, H as s, g as t } from "./index.
|
|
1
|
+
import { r as o, h as r, H as s, g as t } from "./index.ae3b752f.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const a = ":host{position:relative;z-index:1;display:block}:host *{box-sizing:border-box}.table-row-group__header-row{padding:var(--s-space-12) var(--s-space-16);border-bottom:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-surface-raised-default);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-sm)}@media (min-width: 768px){.table-row-group__label{position:sticky;left:var(--s-space-16)}}", l = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as s, h as e, H as o, g as r } from "./index.
|
|
1
|
+
import { r as s, h as e, H as o, g as r } from "./index.ae3b752f.js";
|
|
2
2
|
import { c as l } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { c as i } from "./utils-bc84f36e.1fee9865.js";
|
|
4
4
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e, c as b, h as s, H as c, g as n } from "./index.
|
|
1
|
+
import { r as e, c as b, h as s, H as c, g as n } from "./index.ae3b752f.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const r = ".sc-swirl-tabs-h{display:block;width:100%}.sc-swirl-tabs-h *.sc-swirl-tabs{box-sizing:border-box}.tabs.sc-swirl-tabs{width:100%}", h = class {
|
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import { r as at, h as Y, H as ot, g as lt } from "./index.ae3b752f.js";
|
|
2
|
+
import { a as ct, c as ht, b as dt } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
var ft = ct(function(a) {
|
|
6
|
+
(function(o, r) {
|
|
7
|
+
a.exports ? a.exports = r() : o.balanceText = r();
|
|
8
|
+
})(dt, () => {
|
|
9
|
+
let o, r, l;
|
|
10
|
+
const h = {
|
|
11
|
+
sel: [],
|
|
12
|
+
el: []
|
|
13
|
+
};
|
|
14
|
+
let f = !1, m = !1;
|
|
15
|
+
function T() {
|
|
16
|
+
}
|
|
17
|
+
function w(t, e) {
|
|
18
|
+
Array.prototype.forEach.call(t, e);
|
|
19
|
+
}
|
|
20
|
+
function B(t) {
|
|
21
|
+
document.readyState !== "loading" ? t() : document.addEventListener ? document.addEventListener("DOMContentLoaded", t) : document.attachEvent("onreadystatechange", () => {
|
|
22
|
+
document.readyState !== "loading" && t();
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function D(t, e, n, ...i) {
|
|
26
|
+
let s;
|
|
27
|
+
return function() {
|
|
28
|
+
const c = this;
|
|
29
|
+
function S() {
|
|
30
|
+
n || t.apply(c, i), s = null;
|
|
31
|
+
}
|
|
32
|
+
s ? clearTimeout(s) : n && t.apply(c, i), s = setTimeout(S, e || 100);
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
function I() {
|
|
36
|
+
if (typeof window > "u")
|
|
37
|
+
return !1;
|
|
38
|
+
const { style: t } = document.documentElement;
|
|
39
|
+
return t.textWrap || t.WebkitTextWrap || t.MozTextWrap || t.MsTextWrap;
|
|
40
|
+
}
|
|
41
|
+
function C() {
|
|
42
|
+
this.reset();
|
|
43
|
+
}
|
|
44
|
+
C.prototype.reset = function() {
|
|
45
|
+
this.index = 0, this.width = 0;
|
|
46
|
+
};
|
|
47
|
+
function v(t) {
|
|
48
|
+
return r.some((e) => e.start < t && t < e.end);
|
|
49
|
+
}
|
|
50
|
+
function M(t, e) {
|
|
51
|
+
if (t.nodeType === t.ELEMENT_NODE)
|
|
52
|
+
if (window.getComputedStyle(t).whiteSpace === "nowrap") {
|
|
53
|
+
const i = t.outerHTML.length;
|
|
54
|
+
r.push({ start: l, end: l + i }), l += i;
|
|
55
|
+
} else
|
|
56
|
+
w(t.childNodes, (i) => {
|
|
57
|
+
M(i, !0);
|
|
58
|
+
}), e && (l += t.outerHTML.length - t.innerHTML.length);
|
|
59
|
+
else
|
|
60
|
+
t.nodeType === t.COMMENT_NODE ? l += t.length + 7 : t.nodeType === t.PROCESSING_INSTRUCTION_NODE ? l += t.length + 2 : l += t.length;
|
|
61
|
+
}
|
|
62
|
+
function _(t, e, n) {
|
|
63
|
+
if (n === 0)
|
|
64
|
+
t.style.whiteSpace = e, l = 0, r = [], M(t, !1), t.style.whiteSpace = "nowrap";
|
|
65
|
+
else {
|
|
66
|
+
const i = [];
|
|
67
|
+
r.forEach((s) => {
|
|
68
|
+
s.start > n && i.push({ start: s.start - n, end: s.end - n });
|
|
69
|
+
}), r = i;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
function K(t) {
|
|
73
|
+
let e = t.querySelectorAll('br[data-owner="balance-text-hyphen"]');
|
|
74
|
+
w(e, (i) => {
|
|
75
|
+
i.outerHTML = "";
|
|
76
|
+
}), e = t.querySelectorAll('br[data-owner="balance-text"]'), w(e, (i) => {
|
|
77
|
+
i.outerHTML = " ";
|
|
78
|
+
});
|
|
79
|
+
let n = t.querySelectorAll('span[data-owner="balance-text-softhyphen"]');
|
|
80
|
+
if (n.length > 0 && w(n, (i) => {
|
|
81
|
+
const s = document.createTextNode("\xAD");
|
|
82
|
+
i.parentNode.insertBefore(s, i), i.parentNode.removeChild(i);
|
|
83
|
+
}), n = t.querySelectorAll('span[data-owner="balance-text-justify"]'), n.length > 0) {
|
|
84
|
+
let i = "";
|
|
85
|
+
w(n, (s) => {
|
|
86
|
+
i += s.textContent, s.parentNode.removeChild(s);
|
|
87
|
+
}), t.innerHTML = i;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
const O = function(t) {
|
|
91
|
+
return (t.currentStyle || window.getComputedStyle(t, null)).textAlign === "justify";
|
|
92
|
+
};
|
|
93
|
+
function d(t, e, n) {
|
|
94
|
+
e = e.trim();
|
|
95
|
+
const i = e.split(" ").length;
|
|
96
|
+
if (e = `${e} `, i < 2)
|
|
97
|
+
return e;
|
|
98
|
+
const s = document.createElement("span");
|
|
99
|
+
s.innerHTML = e, t.appendChild(s);
|
|
100
|
+
const c = s.offsetWidth;
|
|
101
|
+
s.parentNode.removeChild(s);
|
|
102
|
+
const S = Math.floor((n - c) / (i - 1));
|
|
103
|
+
s.style.wordSpacing = `${S}px`, s.setAttribute("data-owner", "balance-text-justify");
|
|
104
|
+
const p = document.createElement("div");
|
|
105
|
+
return p.appendChild(s), p.innerHTML;
|
|
106
|
+
}
|
|
107
|
+
function x(t, e) {
|
|
108
|
+
const n = /([^\S\u00a0]|-|\u2014|\u2013|\u00ad)(?![^<]*>)/g;
|
|
109
|
+
let i;
|
|
110
|
+
if (!o)
|
|
111
|
+
for (o = [], i = n.exec(t); i !== null; )
|
|
112
|
+
v(i.index) || o.push(i.index), i = n.exec(t);
|
|
113
|
+
return o.indexOf(e) !== -1;
|
|
114
|
+
}
|
|
115
|
+
function Q(t, e) {
|
|
116
|
+
return e === 0 || e === t.length || x(t, e - 1) && !x(t, e);
|
|
117
|
+
}
|
|
118
|
+
function b(t, e, n, i, s, c, S) {
|
|
119
|
+
let p;
|
|
120
|
+
if (e && typeof e == "string")
|
|
121
|
+
for (; ; ) {
|
|
122
|
+
for (; !Q(e, c); )
|
|
123
|
+
c += s;
|
|
124
|
+
if (t.innerHTML = e.substr(0, c), p = t.offsetWidth, s < 0) {
|
|
125
|
+
if (p <= i || p <= 0 || c === 0)
|
|
126
|
+
break;
|
|
127
|
+
} else if (i <= p || n <= p || c === e.length)
|
|
128
|
+
break;
|
|
129
|
+
c += s;
|
|
130
|
+
}
|
|
131
|
+
S.index = c, S.width = p;
|
|
132
|
+
}
|
|
133
|
+
function R(t, e) {
|
|
134
|
+
const n = document.createElement("div");
|
|
135
|
+
n.style.display = "block", n.style.position = "absolute", n.style.bottom = 0, n.style.right = 0, n.style.width = 0, n.style.height = 0, n.style.margin = 0, n.style.padding = 0, n.style.visibility = "hidden", n.style.overflow = "hidden";
|
|
136
|
+
const i = document.createElement("span");
|
|
137
|
+
i.style.fontSize = "2000px", i.innerHTML = " ", n.appendChild(i), t.appendChild(n);
|
|
138
|
+
const s = i.getBoundingClientRect();
|
|
139
|
+
n.parentNode.removeChild(n);
|
|
140
|
+
const c = s.height / s.width;
|
|
141
|
+
return e / c;
|
|
142
|
+
}
|
|
143
|
+
function u(t) {
|
|
144
|
+
return t ? typeof t == "string" ? document.querySelectorAll(t) : t.tagName && t.querySelectorAll ? [t] : t : [];
|
|
145
|
+
}
|
|
146
|
+
function $(t) {
|
|
147
|
+
w(u(t), (e) => {
|
|
148
|
+
K(e);
|
|
149
|
+
const i = e.style.whiteSpace, s = e.style.float, c = e.style.display, S = e.style.position, p = e.style.lineHeight;
|
|
150
|
+
e.style.lineHeight = "normal";
|
|
151
|
+
const E = e.offsetWidth, rt = e.offsetHeight;
|
|
152
|
+
e.style.whiteSpace = "nowrap", e.style.float = "none", e.style.display = "inline", e.style.position = "static";
|
|
153
|
+
let U = e.offsetWidth;
|
|
154
|
+
const Z = e.offsetHeight, P = i === "pre-wrap" ? 0 : R(e, Z);
|
|
155
|
+
if (E > 0 && U > E && U < 5e3) {
|
|
156
|
+
let g = e.innerHTML, q = "", N = "";
|
|
157
|
+
const tt = O(e);
|
|
158
|
+
let V = Math.round(rt / Z), et = 0, W, A, y, H, j, nt, X;
|
|
159
|
+
for (; V > 1; )
|
|
160
|
+
o = null, _(e, i, et), W = Math.round((U + P) / V - P), A = Math.round((g.length + 1) / V) - 1, y = new C(), b(e, g, E, W, -1, A, y), H = new C(), A = y.index, b(e, g, E, W, 1, A, H), y.reset(), A = H.index, b(e, g, 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 = g.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, nt = X || Boolean(N.match(/(-|\u2014|\u2013)$/)), q += nt ? '<br data-owner="balance-text-hyphen" />' : '<br data-owner="balance-text" aria-hidden="true" />'), g = g.substr(j), et = j, V--, e.innerHTML = g, U = e.offsetWidth;
|
|
161
|
+
tt ? e.innerHTML = q + d(e, g, E) : e.innerHTML = q + g;
|
|
162
|
+
}
|
|
163
|
+
e.style.whiteSpace = i, e.style.float = s, e.style.display = c, e.style.position = S, e.style.lineHeight = p;
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
function z() {
|
|
167
|
+
const t = h.sel.join(","), e = u(t), n = Array.prototype.concat.apply(h.el, e);
|
|
168
|
+
$(n);
|
|
169
|
+
}
|
|
170
|
+
function F() {
|
|
171
|
+
f || (B(z), window.addEventListener("load", z), window.addEventListener("resize", D(z)), f = !0);
|
|
172
|
+
}
|
|
173
|
+
function L(t) {
|
|
174
|
+
typeof t == "string" ? h.sel.push(t) : w(u(t), (e) => {
|
|
175
|
+
h.el.push(e);
|
|
176
|
+
}), F(), z();
|
|
177
|
+
}
|
|
178
|
+
function J(t) {
|
|
179
|
+
typeof t == "string" ? h.sel = h.sel.filter((e) => e !== t) : (t = u(t), h.el = h.el.filter((e) => t.indexOf(e) === -1));
|
|
180
|
+
}
|
|
181
|
+
function G() {
|
|
182
|
+
m || (h.sel.push(".balance-text"), F(), m = !0);
|
|
183
|
+
}
|
|
184
|
+
function k(t, e) {
|
|
185
|
+
t ? e && e.watch === !0 ? L(t) : e && e.watch === !1 ? J(t) : $(t) : G();
|
|
186
|
+
}
|
|
187
|
+
return k.updateWatched = z, I() ? (T.updateWatched = T, T) : k;
|
|
188
|
+
});
|
|
189
|
+
});
|
|
190
|
+
/**
|
|
191
|
+
shave - Shave is a javascript plugin that truncates multi-line text within a html element based on set max height
|
|
192
|
+
@version v5.0.2
|
|
193
|
+
@link https://github.com/yowainwright/shave#readme
|
|
194
|
+
@author Jeff Wainwright <yowainwright@gmail.com> (jeffry.in)
|
|
195
|
+
@license MIT
|
|
196
|
+
**/
|
|
197
|
+
function it(a, o) {
|
|
198
|
+
var r = typeof Symbol == "function" && a[Symbol.iterator];
|
|
199
|
+
if (!r)
|
|
200
|
+
return a;
|
|
201
|
+
var l = r.call(a), h, f = [], m;
|
|
202
|
+
try {
|
|
203
|
+
for (; (o === void 0 || o-- > 0) && !(h = l.next()).done; )
|
|
204
|
+
f.push(h.value);
|
|
205
|
+
} catch (T) {
|
|
206
|
+
m = { error: T };
|
|
207
|
+
} finally {
|
|
208
|
+
try {
|
|
209
|
+
h && !h.done && (r = l.return) && r.call(l);
|
|
210
|
+
} finally {
|
|
211
|
+
if (m)
|
|
212
|
+
throw m.error;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
return f;
|
|
216
|
+
}
|
|
217
|
+
function st(a, o, r) {
|
|
218
|
+
if (r || arguments.length === 2)
|
|
219
|
+
for (var l = 0, h = o.length, f; l < h; l++)
|
|
220
|
+
(f || !(l in o)) && (f || (f = Array.prototype.slice.call(o, 0, l)), f[l] = o[l]);
|
|
221
|
+
return a.concat(f || Array.prototype.slice.call(o));
|
|
222
|
+
}
|
|
223
|
+
function ut(a) {
|
|
224
|
+
return typeof a == "string" ? st([], it(document.querySelectorAll(a)), !1) : "length" in a ? st([], it(a), !1) : [a];
|
|
225
|
+
}
|
|
226
|
+
function xt(a, o, r) {
|
|
227
|
+
if (r === void 0 && (r = {}), typeof o > "u" || isNaN(o))
|
|
228
|
+
throw Error("maxHeight is required");
|
|
229
|
+
var l = ut(a);
|
|
230
|
+
if (!!l.length)
|
|
231
|
+
for (var h = r.character, f = h === void 0 ? "\u2026" : h, m = r.classname, T = m === void 0 ? "js-shave" : m, w = r.spaces, B = w === void 0 ? !0 : w, 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 < l.length; O += 1) {
|
|
232
|
+
var d = l[O], x = d.style, Q = d.querySelector("." + T), b = d.textContent === void 0 ? "innerText" : "textContent";
|
|
233
|
+
Q && (d.removeChild(d.querySelector("." + I)), d[b] = d[b]);
|
|
234
|
+
var R = d[b], u = M ? R.split(" ") : R;
|
|
235
|
+
if (!(u.length < 2)) {
|
|
236
|
+
var $ = x.height;
|
|
237
|
+
x.height = "auto";
|
|
238
|
+
var z = x.maxHeight;
|
|
239
|
+
if (x.maxHeight = "none", d.offsetHeight <= o) {
|
|
240
|
+
x.height = $, x.maxHeight = z;
|
|
241
|
+
continue;
|
|
242
|
+
}
|
|
243
|
+
var F = _ && v.textContent ? v.textContent : f, L = document.createElement(K), J = {
|
|
244
|
+
className: I,
|
|
245
|
+
textContent: F
|
|
246
|
+
};
|
|
247
|
+
for (var G in J)
|
|
248
|
+
L[G] = J[G], L.textContent = f;
|
|
249
|
+
if (_)
|
|
250
|
+
for (var k in v)
|
|
251
|
+
L[k] = v[k];
|
|
252
|
+
for (var t = u.length - 1, e = 0, n = void 0; e < t; )
|
|
253
|
+
n = e + t + 1 >> 1, d[b] = M ? u.slice(0, n).join(" ") : u.slice(0, n), d.insertAdjacentElement("beforeend", L), d.offsetHeight > o ? t = n - 1 : e = n;
|
|
254
|
+
d[b] = M ? u.slice(0, t).join(" ") : u.slice(0, t), d.insertAdjacentElement("beforeend", L);
|
|
255
|
+
var i = M ? " ".concat(u.slice(t).join(" ")) : u.slice(t), s = document.createTextNode(i), c = document.createElement("span");
|
|
256
|
+
c.classList.add(T), c.style.display = "none", c.appendChild(s), d.insertAdjacentElement("beforeend", c), x.height = $, x.maxHeight = z;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
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-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}", wt = class {
|
|
261
|
+
constructor(a) {
|
|
262
|
+
at(this, a), 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";
|
|
263
|
+
}
|
|
264
|
+
componentDidRender() {
|
|
265
|
+
this.rebalance(), this.handleTruncation();
|
|
266
|
+
}
|
|
267
|
+
onWindowResize() {
|
|
268
|
+
this.rebalance(), this.handleTruncation();
|
|
269
|
+
}
|
|
270
|
+
handleTruncation() {
|
|
271
|
+
if (!this.truncate || !Boolean(this.lines) || this.lines === 1)
|
|
272
|
+
return;
|
|
273
|
+
const a = +window.getComputedStyle(this.textEl, null).getPropertyValue("line-height").replace("px", "");
|
|
274
|
+
a > 0 && xt(this.textEl, a * this.lines);
|
|
275
|
+
}
|
|
276
|
+
rebalance() {
|
|
277
|
+
!this.balance || !Boolean(this.textEl) || ft(this.textEl);
|
|
278
|
+
}
|
|
279
|
+
render() {
|
|
280
|
+
const a = this.as, o = 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}`, {
|
|
281
|
+
"text--truncate": this.truncate && (!Boolean(this.lines) || this.lines === 1)
|
|
282
|
+
});
|
|
283
|
+
return Y(ot, null, Y(a, { class: o, ref: (r) => this.textEl = r }, Y("slot", null)));
|
|
284
|
+
}
|
|
285
|
+
get el() {
|
|
286
|
+
return lt(this);
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
wt.style = pt;
|
|
290
|
+
export {
|
|
291
|
+
wt as swirl_text
|
|
292
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as h, c, h as a, H as m, g as p } from "./index.
|
|
1
|
+
import { r as h, c, h as a, H as m, g as p } from "./index.ae3b752f.js";
|
|
2
2
|
import { c as f } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { p as r, i as o, f as l, m as v } from "./maska-4866b970.5336f9cb.js";
|
|
4
4
|
import { g as w } from "./utils-bc84f36e.1fee9865.js";
|
package/dist/{swirl-visually-hidden.entry.db7b4f14.js → swirl-visually-hidden.entry.d84bfc63.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as s, h as i, H as l } from "./index.
|
|
1
|
+
import { r as s, h as i, H as l } from "./index.ae3b752f.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const t = ":host{position:absolute;display:inline;overflow:hidden;width:1px;height:1px;margin:-1px;padding:0;border:0;white-space:nowrap;word-wrap:normal;clip:rect(0, 0, 0, 0)}", o = class {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-components-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.108.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"build": "tsc && vite build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@getflip/swirl-components": "^0.
|
|
21
|
+
"@getflip/swirl-components": "^0.108.0",
|
|
22
22
|
"react": "^18.2.0",
|
|
23
23
|
"react-dom": "^18.2.0"
|
|
24
24
|
},
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
import { a as ie, b as oe } from "./index-d280dafb.186cdb0e.js";
|
|
2
|
-
var re = ie(function(C) {
|
|
3
|
-
(function(y, c) {
|
|
4
|
-
C.exports ? C.exports = c() : y.balanceText = c();
|
|
5
|
-
})(oe, () => {
|
|
6
|
-
let y, c, u;
|
|
7
|
-
const l = {
|
|
8
|
-
sel: [],
|
|
9
|
-
el: []
|
|
10
|
-
};
|
|
11
|
-
let O = !1, A = !1;
|
|
12
|
-
function H() {
|
|
13
|
-
}
|
|
14
|
-
function w(e, t) {
|
|
15
|
-
Array.prototype.forEach.call(e, t);
|
|
16
|
-
}
|
|
17
|
-
function G(e) {
|
|
18
|
-
document.readyState !== "loading" ? e() : document.addEventListener ? document.addEventListener("DOMContentLoaded", e) : document.attachEvent("onreadystatechange", () => {
|
|
19
|
-
document.readyState !== "loading" && e();
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
function J(e, t, i, ...n) {
|
|
23
|
-
let o;
|
|
24
|
-
return function() {
|
|
25
|
-
const s = this;
|
|
26
|
-
function f() {
|
|
27
|
-
i || e.apply(s, n), o = null;
|
|
28
|
-
}
|
|
29
|
-
o ? clearTimeout(o) : i && e.apply(s, n), o = setTimeout(f, t || 100);
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
function P() {
|
|
33
|
-
if (typeof window > "u")
|
|
34
|
-
return !1;
|
|
35
|
-
const { style: e } = document.documentElement;
|
|
36
|
-
return e.textWrap || e.WebkitTextWrap || e.MozTextWrap || e.MsTextWrap;
|
|
37
|
-
}
|
|
38
|
-
function E() {
|
|
39
|
-
this.reset();
|
|
40
|
-
}
|
|
41
|
-
E.prototype.reset = function() {
|
|
42
|
-
this.index = 0, this.width = 0;
|
|
43
|
-
};
|
|
44
|
-
function U(e) {
|
|
45
|
-
return c.some((t) => t.start < e && e < t.end);
|
|
46
|
-
}
|
|
47
|
-
function j(e, t) {
|
|
48
|
-
if (e.nodeType === e.ELEMENT_NODE)
|
|
49
|
-
if (window.getComputedStyle(e).whiteSpace === "nowrap") {
|
|
50
|
-
const n = e.outerHTML.length;
|
|
51
|
-
c.push({ start: u, end: u + n }), u += n;
|
|
52
|
-
} else
|
|
53
|
-
w(e.childNodes, (n) => {
|
|
54
|
-
j(n, !0);
|
|
55
|
-
}), t && (u += e.outerHTML.length - e.innerHTML.length);
|
|
56
|
-
else
|
|
57
|
-
e.nodeType === e.COMMENT_NODE ? u += e.length + 7 : e.nodeType === e.PROCESSING_INSTRUCTION_NODE ? u += e.length + 2 : u += e.length;
|
|
58
|
-
}
|
|
59
|
-
function K(e, t, i) {
|
|
60
|
-
if (i === 0)
|
|
61
|
-
e.style.whiteSpace = t, u = 0, c = [], j(e, !1), e.style.whiteSpace = "nowrap";
|
|
62
|
-
else {
|
|
63
|
-
const n = [];
|
|
64
|
-
c.forEach((o) => {
|
|
65
|
-
o.start > i && n.push({ start: o.start - i, end: o.end - i });
|
|
66
|
-
}), c = n;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
function Q(e) {
|
|
70
|
-
let t = e.querySelectorAll('br[data-owner="balance-text-hyphen"]');
|
|
71
|
-
w(t, (n) => {
|
|
72
|
-
n.outerHTML = "";
|
|
73
|
-
}), t = e.querySelectorAll('br[data-owner="balance-text"]'), w(t, (n) => {
|
|
74
|
-
n.outerHTML = " ";
|
|
75
|
-
});
|
|
76
|
-
let i = e.querySelectorAll('span[data-owner="balance-text-softhyphen"]');
|
|
77
|
-
if (i.length > 0 && w(i, (n) => {
|
|
78
|
-
const o = document.createTextNode("\xAD");
|
|
79
|
-
n.parentNode.insertBefore(o, n), n.parentNode.removeChild(n);
|
|
80
|
-
}), i = e.querySelectorAll('span[data-owner="balance-text-justify"]'), i.length > 0) {
|
|
81
|
-
let n = "";
|
|
82
|
-
w(i, (o) => {
|
|
83
|
-
n += o.textContent, o.parentNode.removeChild(o);
|
|
84
|
-
}), e.innerHTML = n;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
const V = function(e) {
|
|
88
|
-
return (e.currentStyle || window.getComputedStyle(e, null)).textAlign === "justify";
|
|
89
|
-
};
|
|
90
|
-
function k(e, t, i) {
|
|
91
|
-
t = t.trim();
|
|
92
|
-
const n = t.split(" ").length;
|
|
93
|
-
if (t = `${t} `, n < 2)
|
|
94
|
-
return t;
|
|
95
|
-
const o = document.createElement("span");
|
|
96
|
-
o.innerHTML = t, e.appendChild(o);
|
|
97
|
-
const s = o.offsetWidth;
|
|
98
|
-
o.parentNode.removeChild(o);
|
|
99
|
-
const f = Math.floor((i - s) / (n - 1));
|
|
100
|
-
o.style.wordSpacing = `${f}px`, o.setAttribute("data-owner", "balance-text-justify");
|
|
101
|
-
const a = document.createElement("div");
|
|
102
|
-
return a.appendChild(o), a.innerHTML;
|
|
103
|
-
}
|
|
104
|
-
function B(e, t) {
|
|
105
|
-
const i = /([^\S\u00a0]|-|\u2014|\u2013|\u00ad)(?![^<]*>)/g;
|
|
106
|
-
let n;
|
|
107
|
-
if (!y)
|
|
108
|
-
for (y = [], n = i.exec(e); n !== null; )
|
|
109
|
-
U(n.index) || y.push(n.index), n = i.exec(e);
|
|
110
|
-
return y.indexOf(t) !== -1;
|
|
111
|
-
}
|
|
112
|
-
function X(e, t) {
|
|
113
|
-
return t === 0 || t === e.length || B(e, t - 1) && !B(e, t);
|
|
114
|
-
}
|
|
115
|
-
function N(e, t, i, n, o, s, f) {
|
|
116
|
-
let a;
|
|
117
|
-
if (t && typeof t == "string")
|
|
118
|
-
for (; ; ) {
|
|
119
|
-
for (; !X(t, s); )
|
|
120
|
-
s += o;
|
|
121
|
-
if (e.innerHTML = t.substr(0, s), a = e.offsetWidth, o < 0) {
|
|
122
|
-
if (a <= n || a <= 0 || s === 0)
|
|
123
|
-
break;
|
|
124
|
-
} else if (n <= a || i <= a || s === t.length)
|
|
125
|
-
break;
|
|
126
|
-
s += o;
|
|
127
|
-
}
|
|
128
|
-
f.index = s, f.width = a;
|
|
129
|
-
}
|
|
130
|
-
function Y(e, t) {
|
|
131
|
-
const i = document.createElement("div");
|
|
132
|
-
i.style.display = "block", i.style.position = "absolute", i.style.bottom = 0, i.style.right = 0, i.style.width = 0, i.style.height = 0, i.style.margin = 0, i.style.padding = 0, i.style.visibility = "hidden", i.style.overflow = "hidden";
|
|
133
|
-
const n = document.createElement("span");
|
|
134
|
-
n.style.fontSize = "2000px", n.innerHTML = " ", i.appendChild(n), e.appendChild(i);
|
|
135
|
-
const o = n.getBoundingClientRect();
|
|
136
|
-
i.parentNode.removeChild(i);
|
|
137
|
-
const s = o.height / o.width;
|
|
138
|
-
return t / s;
|
|
139
|
-
}
|
|
140
|
-
function S(e) {
|
|
141
|
-
return e ? typeof e == "string" ? document.querySelectorAll(e) : e.tagName && e.querySelectorAll ? [e] : e : [];
|
|
142
|
-
}
|
|
143
|
-
function I(e) {
|
|
144
|
-
w(S(e), (t) => {
|
|
145
|
-
Q(t);
|
|
146
|
-
const n = t.style.whiteSpace, o = t.style.float, s = t.style.display, f = t.style.position, a = t.style.lineHeight;
|
|
147
|
-
t.style.lineHeight = "normal";
|
|
148
|
-
const h = t.offsetWidth, ne = t.offsetHeight;
|
|
149
|
-
t.style.whiteSpace = "nowrap", t.style.float = "none", t.style.display = "inline", t.style.position = "static";
|
|
150
|
-
let L = t.offsetWidth;
|
|
151
|
-
const z = t.offsetHeight, D = n === "pre-wrap" ? 0 : Y(t, z);
|
|
152
|
-
if (h > 0 && L > h && L < 5e3) {
|
|
153
|
-
let r = t.innerHTML, M = "", g = "";
|
|
154
|
-
const _ = V(t);
|
|
155
|
-
let W = Math.round(ne / z), R = 0, b, x, d, p, T, F, v;
|
|
156
|
-
for (; W > 1; )
|
|
157
|
-
y = null, K(t, n, R), b = Math.round((L + D) / W - D), x = Math.round((r.length + 1) / W) - 1, d = new E(), N(t, r, h, b, -1, x, d), p = new E(), x = d.index, N(t, r, h, b, 1, x, p), d.reset(), x = p.index, N(t, r, h, b, -1, x, d), d.index === 0 ? T = p.index : h < p.width || d.index === p.index ? T = d.index : T = Math.abs(b - d.width) < Math.abs(p.width - b) ? d.index : p.index, g = r.substr(0, T).replace(/\s$/, ""), v = Boolean(g.match(/\u00ad$/)), v && (g = g.replace(/\u00ad$/, '<span data-owner="balance-text-softhyphen">-</span>')), _ ? M += k(t, g, h) : (M += g, F = v || Boolean(g.match(/(-|\u2014|\u2013)$/)), M += F ? '<br data-owner="balance-text-hyphen" />' : '<br data-owner="balance-text" aria-hidden="true" />'), r = r.substr(T), R = T, W--, t.innerHTML = r, L = t.offsetWidth;
|
|
158
|
-
_ ? t.innerHTML = M + k(t, r, h) : t.innerHTML = M + r;
|
|
159
|
-
}
|
|
160
|
-
t.style.whiteSpace = n, t.style.float = o, t.style.display = s, t.style.position = f, t.style.lineHeight = a;
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
function m() {
|
|
164
|
-
const e = l.sel.join(","), t = S(e), i = Array.prototype.concat.apply(l.el, t);
|
|
165
|
-
I(i);
|
|
166
|
-
}
|
|
167
|
-
function q() {
|
|
168
|
-
O || (G(m), window.addEventListener("load", m), window.addEventListener("resize", J(m)), O = !0);
|
|
169
|
-
}
|
|
170
|
-
function Z(e) {
|
|
171
|
-
typeof e == "string" ? l.sel.push(e) : w(S(e), (t) => {
|
|
172
|
-
l.el.push(t);
|
|
173
|
-
}), q(), m();
|
|
174
|
-
}
|
|
175
|
-
function ee(e) {
|
|
176
|
-
typeof e == "string" ? l.sel = l.sel.filter((t) => t !== e) : (e = S(e), l.el = l.el.filter((t) => e.indexOf(t) === -1));
|
|
177
|
-
}
|
|
178
|
-
function te() {
|
|
179
|
-
A || (l.sel.push(".balance-text"), q(), A = !0);
|
|
180
|
-
}
|
|
181
|
-
function $(e, t) {
|
|
182
|
-
e ? t && t.watch === !0 ? Z(e) : t && t.watch === !1 ? ee(e) : I(e) : te();
|
|
183
|
-
}
|
|
184
|
-
return $.updateWatched = m, P() ? (H.updateWatched = H, H) : $;
|
|
185
|
-
});
|
|
186
|
-
});
|
|
187
|
-
export {
|
|
188
|
-
re as b
|
|
189
|
-
};
|