@cloudflare/realtimekit-ui 1.2.1-staging.4 → 1.2.1-staging.6
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/browser.js +1 -1
- package/dist/cjs/{TextMessage-e4aa2ae5.js → TextMessage-ca569f12.js} +1 -1
- package/dist/cjs/{chat-c11dcc22.js → chat-a1c8f378.js} +1 -1
- package/dist/cjs/{config-0a5170cb.js → config-8ce93a9c.js} +2 -2
- package/dist/cjs/{debounce-166c1a63.js → debounce-43f12da4.js} +1 -1
- package/dist/cjs/{floating-ui.dom.esm-705e65f3.js → floating-ui.dom.esm-9d940028.js} +142 -130
- package/dist/cjs/{index-c77d9e9c.js → index-3f8e5441.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{merge-76bc078c.js → merge-ff059743.js} +1 -1
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ai_3.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +2 -2
- package/dist/cjs/rtk-avatar_26.cjs.entry.js +9 -9
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +2 -2
- package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +7 -11
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-search-results.cjs.entry.js +6 -10
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
- package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +2 -2
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-dialog-manager.cjs.entry.js +2 -2
- package/dist/cjs/rtk-dialog.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
- package/dist/cjs/rtk-file-message_3.cjs.entry.js +4 -4
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
- package/dist/cjs/rtk-grid.cjs.entry.js +7 -3
- package/dist/cjs/rtk-header.cjs.entry.js +2 -2
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +87 -14
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-logo.cjs.entry.js +2 -2
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-notification.cjs.entry.js +4 -4
- package/dist/cjs/rtk-notifications.cjs.entry.js +5 -5
- package/dist/cjs/rtk-participant-count.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant_2.cjs.entry.js +8 -8
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-poll_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +3 -3
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +2 -2
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +3 -3
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
- package/dist/cjs/rtk-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage.cjs.entry.js +2 -2
- package/dist/cjs/rtk-transcript.cjs.entry.js +2 -2
- package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +3 -3
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +2 -2
- package/dist/cjs/{sidebar-5aab4432.js → sidebar-0166350b.js} +1 -1
- package/dist/cjs/{ui-store-4387207b.js → ui-store-583d205a.js} +1 -5
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +4 -8
- package/dist/collection/components/rtk-grid/rtk-grid.js +5 -1
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +5 -9
- package/dist/collection/components/rtk-meeting/rtk-meeting.js +2 -2
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +2 -2
- package/dist/collection/components/rtk-participant/rtk-participant.js +4 -4
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +1 -1
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +1 -1
- package/dist/collection/utils/breakout-rooms.js +1 -5
- package/dist/components/index.js +5 -5
- package/dist/components/{p-9ed64f3a.js → p-0031a3c0.js} +3 -3
- package/dist/components/{p-af14bbaa.js → p-00e98940.js} +3 -3
- package/dist/components/{p-66af89b3.js → p-02d63986.js} +2 -2
- package/dist/components/{p-54a5a9d9.js → p-02f091dd.js} +2 -2
- package/dist/components/{p-cd1c31ca.js → p-0304f83a.js} +2 -2
- package/dist/components/{p-da8b7f0a.js → p-06bfb00c.js} +5 -5
- package/dist/components/{p-71d09e9f.js → p-070aa695.js} +1 -1
- package/dist/components/{p-41ea5359.js → p-0a836b64.js} +2 -2
- package/dist/components/{p-490f7547.js → p-0c8d2918.js} +11 -11
- package/dist/components/{p-0f559b0c.js → p-0da52a33.js} +3 -3
- package/dist/components/{p-9432ec0c.js → p-0e5b6daf.js} +3 -3
- package/dist/components/{p-3acb4ec0.js → p-10552fa5.js} +7 -7
- package/dist/components/{p-935ee413.js → p-13a05c55.js} +2 -2
- package/dist/components/{p-19575460.js → p-165dddf4.js} +2 -2
- package/dist/components/{p-0edd6df3.js → p-1804e307.js} +2 -2
- package/dist/components/{p-3cde4dd0.js → p-1a6308ec.js} +3 -3
- package/dist/components/{p-bd3f941d.js → p-20612910.js} +2 -2
- package/dist/components/{p-23337f79.js → p-21453136.js} +2 -2
- package/dist/components/{p-263b72fd.js → p-241583c3.js} +3 -3
- package/dist/components/{p-35585fc1.js → p-27d6399a.js} +1 -1
- package/dist/components/{p-75088feb.js → p-2e897160.js} +4 -4
- package/dist/components/{p-c0dc1eee.js → p-32b624f9.js} +2 -2
- package/dist/components/{p-bb6f1440.js → p-344db48b.js} +3 -3
- package/dist/components/{p-fdfee0ac.js → p-3e49e36a.js} +2 -2
- package/dist/components/{p-fc96ecd7.js → p-3ff755e5.js} +3 -3
- package/dist/components/{p-184d0c8b.js → p-42aa9cd9.js} +5 -5
- package/dist/components/{p-8e61f2e4.js → p-4594b213.js} +2 -2
- package/dist/components/{p-83b0039d.js → p-465af231.js} +9 -9
- package/dist/components/{p-a70c7550.js → p-477d076c.js} +2 -2
- package/dist/components/{p-6a1384e5.js → p-49619802.js} +5 -5
- package/dist/components/{p-1b4de4ce.js → p-4a34e1d0.js} +6 -6
- package/dist/components/{p-f51f5f56.js → p-4c3d522b.js} +2 -2
- package/dist/components/{p-0743c681.js → p-4f889007.js} +2 -2
- package/dist/components/{p-5b6b7538.js → p-550ddac7.js} +2 -2
- package/dist/components/{p-43834118.js → p-5644d937.js} +2 -2
- package/dist/components/{p-7b72c962.js → p-5b3a7f00.js} +1 -5
- package/dist/components/{p-5c5d9287.js → p-5ba840d9.js} +2 -2
- package/dist/components/{p-9311d3c4.js → p-5ba9c3d1.js} +3 -3
- package/dist/components/{p-a30a5b6f.js → p-5d232d53.js} +11 -11
- package/dist/components/{p-8b292ee2.js → p-60d401f8.js} +3 -3
- package/dist/components/{p-011fcf99.js → p-670b184f.js} +2 -2
- package/dist/components/{p-d3a1de01.js → p-6ccdf3c3.js} +2 -2
- package/dist/components/{p-f7c1ac0b.js → p-6fa03a7f.js} +2 -2
- package/dist/components/{p-3bcae7b5.js → p-7071c775.js} +2 -2
- package/dist/components/{p-15518cbf.js → p-73901fd8.js} +2 -2
- package/dist/components/{p-46cd757c.js → p-7c6602b9.js} +2 -2
- package/dist/components/{p-df752a44.js → p-7dd3acf5.js} +3 -3
- package/dist/components/{p-a9e36fd3.js → p-7e34f516.js} +1 -1
- package/dist/components/{p-8b25e9f4.js → p-8564f93d.js} +3 -3
- package/dist/components/{p-6df21eeb.js → p-88e8bca6.js} +2 -2
- package/dist/components/{p-abd8953a.js → p-9033d188.js} +5 -5
- package/dist/components/{p-eb12d1dc.js → p-9068e892.js} +2 -2
- package/dist/components/{p-ff635cba.js → p-a2de6dfc.js} +2 -2
- package/dist/components/{p-464893b1.js → p-a3bf84d7.js} +3 -3
- package/dist/components/{p-7e20f300.js → p-a642ad81.js} +22 -22
- package/dist/components/{p-813075c7.js → p-a9e7fa80.js} +6 -6
- package/dist/components/{p-b5ffdb09.js → p-adf6dfcc.js} +2 -2
- package/dist/components/{p-769bb885.js → p-b1a93be0.js} +142 -130
- package/dist/components/{p-08bd9a6a.js → p-b220448d.js} +2 -2
- package/dist/components/{p-eb9d693b.js → p-b350d09f.js} +2 -2
- package/dist/components/{p-d663061f.js → p-b3a98a90.js} +5 -5
- package/dist/components/{p-02308402.js → p-bc5c1265.js} +10 -10
- package/dist/components/{p-53e4f280.js → p-bd5c9c89.js} +2 -2
- package/dist/components/{p-98c3a8f8.js → p-bece0226.js} +1 -1
- package/dist/components/{p-729a1651.js → p-c0931990.js} +2 -2
- package/dist/components/{p-cc7495c3.js → p-c1ab8045.js} +2 -2
- package/dist/components/{p-5bc7ecc8.js → p-c232dfce.js} +4 -4
- package/dist/components/{p-83632dd0.js → p-c5ef686a.js} +5 -5
- package/dist/components/{p-55ac4ece.js → p-c6700b7b.js} +2 -2
- package/dist/components/{p-5cdfe14a.js → p-cb6f4d4b.js} +2 -2
- package/dist/components/{p-7eb94f88.js → p-cc8af588.js} +7 -7
- package/dist/components/{p-b7c1a17e.js → p-d0abd8bc.js} +5 -5
- package/dist/components/{p-6e5022d2.js → p-d414fa54.js} +7 -11
- package/dist/components/{p-b12f8b81.js → p-d4c852fe.js} +90 -17
- package/dist/components/{p-53b7ce6b.js → p-d6a71424.js} +5 -5
- package/dist/components/{p-5492bc23.js → p-e1f78de7.js} +2 -2
- package/dist/components/{p-523c9e18.js → p-e6245534.js} +2 -2
- package/dist/components/{p-6da3aab3.js → p-ecb802ad.js} +2 -2
- package/dist/components/{p-be6f601b.js → p-f4a5c8ff.js} +5 -5
- package/dist/components/{p-2b1416aa.js → p-f74bd10e.js} +8 -8
- package/dist/components/rtk-ai-toggle.js +4 -4
- package/dist/components/rtk-ai-transcriptions.js +1 -1
- package/dist/components/rtk-ai.js +1 -1
- package/dist/components/rtk-audio-grid.js +2 -2
- package/dist/components/rtk-audio-tile.js +5 -5
- package/dist/components/rtk-audio-visualizer.js +1 -1
- package/dist/components/rtk-avatar.js +1 -1
- package/dist/components/rtk-breakout-room-manager.js +1 -1
- package/dist/components/rtk-breakout-room-participants.js +1 -1
- package/dist/components/rtk-breakout-rooms-manager.js +1 -1
- package/dist/components/rtk-breakout-rooms-toggle.js +4 -4
- package/dist/components/rtk-broadcast-message-modal.js +1 -1
- package/dist/components/rtk-camera-selector.js +1 -1
- package/dist/components/rtk-camera-toggle.js +5 -5
- package/dist/components/rtk-caption-toggle.js +4 -4
- package/dist/components/rtk-chat-composer-ui.js +6 -6
- package/dist/components/rtk-chat-composer-view.js +1 -1
- package/dist/components/rtk-chat-header.js +1 -1
- package/dist/components/rtk-chat-message.js +1 -1
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
- package/dist/components/rtk-chat-messages-ui.js +11 -11
- package/dist/components/rtk-chat-search-results.js +16 -20
- package/dist/components/rtk-chat-selector-ui.js +2 -2
- package/dist/components/rtk-chat-selector.js +1 -1
- package/dist/components/rtk-chat-toggle.js +5 -5
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +2 -2
- package/dist/components/rtk-confirmation-modal.js +1 -1
- package/dist/components/rtk-controlbar-button.js +1 -1
- package/dist/components/rtk-controlbar.js +2 -2
- package/dist/components/rtk-counter.js +1 -1
- package/dist/components/rtk-debugger-audio.js +1 -1
- package/dist/components/rtk-debugger-screenshare.js +1 -1
- package/dist/components/rtk-debugger-system.js +1 -1
- package/dist/components/rtk-debugger-toggle.js +4 -4
- package/dist/components/rtk-debugger-video.js +1 -1
- package/dist/components/rtk-debugger.js +1 -1
- package/dist/components/rtk-dialog-manager.js +22 -22
- package/dist/components/rtk-dialog.js +1 -1
- package/dist/components/rtk-draft-attachment-view.js +1 -1
- package/dist/components/rtk-emoji-picker-button.js +1 -1
- package/dist/components/rtk-emoji-picker.js +1 -1
- package/dist/components/rtk-ended-screen.js +3 -3
- package/dist/components/rtk-file-dropzone.js +2 -2
- package/dist/components/rtk-file-message-view.js +1 -1
- package/dist/components/rtk-file-message.js +1 -1
- package/dist/components/rtk-file-picker-button.js +1 -1
- package/dist/components/rtk-fullscreen-toggle.js +1 -1
- package/dist/components/rtk-grid-pagination.js +3 -3
- package/dist/components/rtk-grid.js +13 -9
- package/dist/components/rtk-header.js +2 -2
- package/dist/components/rtk-idle-screen.js +4 -4
- package/dist/components/rtk-image-message-view.js +1 -1
- package/dist/components/rtk-image-message.js +1 -1
- package/dist/components/rtk-image-viewer.js +2 -2
- package/dist/components/rtk-information-tooltip.js +2 -2
- package/dist/components/rtk-join-stage.js +1 -1
- package/dist/components/rtk-leave-button.js +4 -4
- package/dist/components/rtk-leave-meeting.js +1 -1
- package/dist/components/rtk-livestream-indicator.js +1 -1
- package/dist/components/rtk-livestream-player.js +1 -1
- package/dist/components/rtk-livestream-toggle.js +4 -4
- package/dist/components/rtk-logo.js +1 -1
- package/dist/components/rtk-meeting-title.js +3 -3
- package/dist/components/rtk-meeting.js +26 -26
- package/dist/components/rtk-menu-item.js +1 -1
- package/dist/components/rtk-menu-list.js +1 -1
- package/dist/components/rtk-menu.js +1 -1
- package/dist/components/rtk-message-list-view.js +3 -3
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +5 -5
- package/dist/components/rtk-microphone-selector.js +1 -1
- package/dist/components/rtk-mixed-grid.js +6 -6
- package/dist/components/rtk-more-toggle.js +4 -4
- package/dist/components/rtk-mute-all-button.js +5 -5
- package/dist/components/rtk-mute-all-confirmation.js +1 -1
- package/dist/components/rtk-name-tag.js +1 -1
- package/dist/components/rtk-network-indicator.js +2 -2
- package/dist/components/rtk-notification.js +1 -1
- package/dist/components/rtk-notifications.js +5 -5
- package/dist/components/rtk-overlay-modal.js +1 -1
- package/dist/components/rtk-paginated-list.js +1 -1
- package/dist/components/rtk-participant-count.js +2 -2
- package/dist/components/rtk-participant-setup.js +2 -2
- package/dist/components/rtk-participant-tile.js +1 -1
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +3 -3
- package/dist/components/rtk-participants-stage-list.js +1 -1
- package/dist/components/rtk-participants-stage-queue.js +1 -1
- package/dist/components/rtk-participants-toggle.js +5 -5
- package/dist/components/rtk-participants-viewer-list.js +1 -1
- package/dist/components/rtk-participants-waiting-list.js +1 -1
- package/dist/components/rtk-participants.js +13 -13
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pinned-message-selector.js +1 -1
- package/dist/components/rtk-pip-toggle.js +4 -4
- package/dist/components/rtk-plugin-main.js +1 -1
- package/dist/components/rtk-plugins-toggle.js +5 -5
- package/dist/components/rtk-plugins.js +1 -1
- package/dist/components/rtk-poll-form.js +1 -1
- package/dist/components/rtk-poll.js +1 -1
- package/dist/components/rtk-polls-toggle.js +5 -5
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +2 -2
- package/dist/components/rtk-recording-toggle.js +4 -4
- package/dist/components/rtk-screen-share-toggle.js +5 -5
- package/dist/components/rtk-screenshare-view.js +3 -3
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +4 -4
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +10 -10
- package/dist/components/rtk-setup-screen.js +7 -7
- package/dist/components/rtk-sidebar-ui.js +1 -1
- package/dist/components/rtk-sidebar.js +11 -11
- package/dist/components/rtk-simple-grid.js +2 -2
- package/dist/components/rtk-speaker-selector.js +1 -1
- package/dist/components/rtk-spinner.js +1 -1
- package/dist/components/rtk-spotlight-grid.js +2 -2
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +5 -5
- package/dist/components/rtk-stage.js +2 -2
- package/dist/components/rtk-switch.js +1 -1
- package/dist/components/rtk-tab-bar.js +1 -1
- package/dist/components/rtk-text-composer-view.js +1 -1
- package/dist/components/rtk-text-message.js +1 -1
- package/dist/components/rtk-tooltip.js +1 -1
- package/dist/components/rtk-transcript.js +1 -1
- package/dist/components/rtk-transcripts.js +3 -3
- package/dist/components/rtk-ui-provider.js +3 -3
- package/dist/components/rtk-viewer-count.js +1 -1
- package/dist/components/rtk-waiting-screen.js +3 -3
- package/dist/docs/docs-components.json +1 -1
- package/dist/esm/{TextMessage-31a1055f.js → TextMessage-2acfc44b.js} +1 -1
- package/dist/esm/{chat-e5f7c9a9.js → chat-269c61ba.js} +1 -1
- package/dist/esm/{config-3ee0b77d.js → config-4bdf983d.js} +2 -2
- package/dist/esm/{debounce-76bf7eef.js → debounce-296a3316.js} +1 -1
- package/dist/esm/{floating-ui.dom.esm-21c3d54e.js → floating-ui.dom.esm-78a1e61c.js} +142 -130
- package/dist/esm/{index-674e5834.js → index-dafb4b7f.js} +1 -1
- package/dist/esm/index.js +6 -6
- package/dist/esm/loader.js +252 -175
- package/dist/esm/{merge-bb3b8189.js → merge-86cf8b27.js} +1 -1
- package/dist/esm/rtk-ai-toggle.entry.js +2 -2
- package/dist/esm/rtk-ai-transcriptions.entry.js +2 -2
- package/dist/esm/rtk-ai_3.entry.js +2 -2
- package/dist/esm/rtk-audio-grid.entry.js +2 -2
- package/dist/esm/rtk-audio-tile.entry.js +2 -2
- package/dist/esm/rtk-audio-visualizer_4.entry.js +2 -2
- package/dist/esm/rtk-avatar_26.entry.js +9 -9
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +2 -2
- package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +7 -11
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
- package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
- package/dist/esm/rtk-camera-toggle.entry.js +2 -2
- package/dist/esm/rtk-caption-toggle.entry.js +2 -2
- package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-message.entry.js +2 -2
- package/dist/esm/rtk-chat-messages-ui.entry.js +2 -2
- package/dist/esm/rtk-chat-search-results.entry.js +6 -10
- package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-toggle.entry.js +3 -3
- package/dist/esm/rtk-clock.entry.js +2 -2
- package/dist/esm/rtk-controlbar-button.entry.js +2 -2
- package/dist/esm/rtk-controlbar.entry.js +2 -2
- package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
- package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
- package/dist/esm/rtk-dialog-manager.entry.js +2 -2
- package/dist/esm/rtk-dialog.entry.js +2 -2
- package/dist/esm/rtk-ended-screen.entry.js +2 -2
- package/dist/esm/rtk-file-dropzone.entry.js +2 -2
- package/dist/esm/rtk-file-message_3.entry.js +4 -4
- package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
- package/dist/esm/rtk-grid-pagination.entry.js +2 -2
- package/dist/esm/rtk-grid.entry.js +7 -3
- package/dist/esm/rtk-header.entry.js +2 -2
- package/dist/esm/rtk-idle-screen.entry.js +2 -2
- package/dist/esm/rtk-image-viewer.entry.js +2 -2
- package/dist/esm/rtk-information-tooltip.entry.js +2 -2
- package/dist/esm/rtk-leave-button.entry.js +2 -2
- package/dist/esm/rtk-livestream-indicator_3.entry.js +87 -14
- package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
- package/dist/esm/rtk-logo.entry.js +2 -2
- package/dist/esm/rtk-meeting-title.entry.js +2 -2
- package/dist/esm/rtk-message-list-view.entry.js +3 -3
- package/dist/esm/rtk-mic-toggle.entry.js +2 -2
- package/dist/esm/rtk-mixed-grid.entry.js +2 -2
- package/dist/esm/rtk-more-toggle.entry.js +2 -2
- package/dist/esm/rtk-mute-all-button.entry.js +2 -2
- package/dist/esm/rtk-name-tag.entry.js +2 -2
- package/dist/esm/rtk-network-indicator.entry.js +2 -2
- package/dist/esm/rtk-notification.entry.js +4 -4
- package/dist/esm/rtk-notifications.entry.js +5 -5
- package/dist/esm/rtk-participant-count.entry.js +2 -2
- package/dist/esm/rtk-participant-setup.entry.js +2 -2
- package/dist/esm/rtk-participant_2.entry.js +8 -8
- package/dist/esm/rtk-participants-audio.entry.js +2 -2
- package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
- package/dist/esm/rtk-participants-toggle.entry.js +3 -3
- package/dist/esm/rtk-participants.entry.js +3 -3
- package/dist/esm/rtk-pip-toggle.entry.js +2 -2
- package/dist/esm/rtk-plugin-main_2.entry.js +2 -2
- package/dist/esm/rtk-plugins-toggle.entry.js +3 -3
- package/dist/esm/rtk-poll_2.entry.js +2 -2
- package/dist/esm/rtk-polls-toggle.entry.js +3 -3
- package/dist/esm/rtk-recording-indicator.entry.js +2 -2
- package/dist/esm/rtk-recording-toggle.entry.js +2 -2
- package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
- package/dist/esm/rtk-screenshare-view.entry.js +2 -2
- package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
- package/dist/esm/rtk-settings-toggle.entry.js +2 -2
- package/dist/esm/rtk-settings.entry.js +2 -2
- package/dist/esm/rtk-setup-screen.entry.js +3 -3
- package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
- package/dist/esm/rtk-sidebar.entry.js +3 -3
- package/dist/esm/rtk-simple-grid.entry.js +2 -2
- package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
- package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
- package/dist/esm/rtk-stage-toggle.entry.js +2 -2
- package/dist/esm/rtk-stage.entry.js +2 -2
- package/dist/esm/rtk-transcript.entry.js +2 -2
- package/dist/esm/rtk-transcripts.entry.js +2 -2
- package/dist/esm/rtk-ui-provider.entry.js +3 -3
- package/dist/esm/rtk-waiting-screen.entry.js +2 -2
- package/dist/esm/{sidebar-b617fa34.js → sidebar-4b23298b.js} +1 -1
- package/dist/esm/{ui-store-8c88e8bd.js → ui-store-76bb0e8e.js} +1 -5
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/{p-b6afdb2b.entry.js → p-003a95fc.entry.js} +1 -1
- package/dist/realtimekit-ui/p-06f49c32.entry.js +1 -0
- package/dist/realtimekit-ui/{p-5340ca99.entry.js → p-0928d88d.entry.js} +1 -1
- package/dist/realtimekit-ui/p-0b892bb4.entry.js +1 -0
- package/dist/realtimekit-ui/{p-1881d92e.entry.js → p-0d674434.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b6604ddb.entry.js → p-0e11efb7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e4e7a8da.js → p-0fa0e7d1.js} +1 -1
- package/dist/realtimekit-ui/{p-076e8873.entry.js → p-113467fc.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a27c59b3.entry.js → p-153cdff6.entry.js} +1 -1
- package/dist/realtimekit-ui/p-1eb9b441.entry.js +1 -0
- package/dist/realtimekit-ui/{p-eac158e1.entry.js → p-1f8208c4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-925ca884.entry.js → p-238e36c9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-85e5c7a8.entry.js → p-242afbdf.entry.js} +1 -1
- package/dist/realtimekit-ui/p-29097dbf.entry.js +1 -0
- package/dist/realtimekit-ui/{p-204ad2bb.entry.js → p-2af1d7f6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-221d161d.entry.js → p-2cb8e246.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4bd66d53.entry.js → p-2fac891e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1fce947c.js → p-32915a9a.js} +1 -1
- package/dist/realtimekit-ui/{p-27f02ea3.entry.js → p-3390e8ab.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7f8cb2ac.entry.js → p-35a53de8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ed5c4c4e.entry.js → p-35a5637a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e39f23e1.entry.js → p-386d54ee.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-52b9add3.entry.js → p-3b221671.entry.js} +1 -1
- package/dist/realtimekit-ui/p-412cdd31.entry.js +1 -0
- package/dist/realtimekit-ui/{p-96d27e12.entry.js → p-44832865.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-56e9412d.entry.js → p-4490e4a5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9b24930d.entry.js → p-44b0cd83.entry.js} +1 -1
- package/dist/realtimekit-ui/p-44ea537a.entry.js +1 -0
- package/dist/realtimekit-ui/{p-bfed2368.entry.js → p-48af2624.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e309dd38.entry.js → p-48d5f1f4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7eda08df.entry.js → p-52a632bf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4ffbbe73.entry.js → p-52e08862.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5c8df43e.js → p-52ff99d3.js} +1 -1
- package/dist/realtimekit-ui/p-560cea5a.js +1 -0
- package/dist/realtimekit-ui/{p-af99af7b.entry.js → p-5e408139.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d52eeb73.entry.js → p-62e9fbff.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c6642878.entry.js → p-63ee927b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2536f6a6.entry.js → p-67ed9214.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-cdb32b58.entry.js → p-6a609ccb.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ced9130e.entry.js → p-6f6376d7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d0430abf.entry.js → p-722aa34d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1f1f9055.entry.js → p-77bdd9b4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-53c0ddc5.js → p-792d3d16.js} +1 -1
- package/dist/realtimekit-ui/{p-258d2fc9.entry.js → p-7c4a22cd.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c2fabc46.entry.js → p-7d059801.entry.js} +1 -1
- package/dist/realtimekit-ui/p-8202a654.entry.js +1 -0
- package/dist/realtimekit-ui/{p-5a55f6ea.entry.js → p-84a52bdf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b4b35ca3.entry.js → p-8865b8c8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1a1ee2db.entry.js → p-8d6f2c1d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0769d0b9.js → p-901c1d40.js} +1 -1
- package/dist/realtimekit-ui/{p-cddc7e9b.entry.js → p-9566f8ce.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-52af43ec.entry.js → p-977fb594.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9811c98c.js +1 -0
- package/dist/realtimekit-ui/{p-0937ddd1.entry.js → p-9a3880ea.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a070157b.entry.js → p-9a3d1fe3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-7ff232ee.entry.js → p-9baa1a27.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9e211b0c.entry.js +1 -0
- package/dist/realtimekit-ui/{p-89805e9c.entry.js → p-9e4200f3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-ea127f94.entry.js → p-a1260195.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-92057a00.entry.js → p-a1af8ff8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4691f987.entry.js → p-a2367cc6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-93fe6cc7.entry.js → p-a6a139d0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-897ba0b8.entry.js → p-a74e0a97.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8ba34ca9.entry.js → p-a9441717.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1b41ba11.js → p-af705ed1.js} +1 -1
- package/dist/realtimekit-ui/{p-9d454c75.entry.js → p-b10872dc.entry.js} +1 -1
- package/dist/realtimekit-ui/p-b1a93be0.js +1 -0
- package/dist/realtimekit-ui/{p-cd52728a.entry.js → p-bbfa215e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a67d2980.entry.js → p-bcfa5ae6.entry.js} +1 -1
- package/dist/realtimekit-ui/p-c31cc651.entry.js +1 -0
- package/dist/realtimekit-ui/{p-f1bba123.entry.js → p-c370864b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c4426323.entry.js → p-c63ba546.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c252748f.entry.js → p-cdc266b8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-15cc7a83.entry.js → p-ce7a7178.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d879ebe0.entry.js +1 -0
- package/dist/realtimekit-ui/{p-93a3d9ef.entry.js → p-d9a5d325.entry.js} +1 -1
- package/dist/realtimekit-ui/p-dc6a9973.entry.js +1 -0
- package/dist/realtimekit-ui/{p-52ef4fec.entry.js → p-e0957448.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-0572737c.entry.js → p-e49b1288.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d3498d94.entry.js → p-e7ec420f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-15079b93.entry.js → p-e80dea09.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-56860ab9.entry.js → p-eb9ebb93.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b39bcc95.entry.js → p-ebfa6492.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1430558a.entry.js → p-f10b9cc3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-da45cdc0.entry.js → p-f1684041.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-731b75a2.entry.js → p-f20f9ec3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b9417ac5.entry.js → p-f44b2e72.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6c73ea2e.entry.js → p-f4d6b673.entry.js} +1 -1
- package/dist/realtimekit-ui/p-ff29818e.entry.js +1 -0
- package/dist/realtimekit-ui/{p-4bb3bd4d.entry.js → p-fff385a0.entry.js} +1 -1
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-chat-search-results/rtk-chat-search-results.d.ts +1 -0
- package/package.json +1 -1
- package/dist/realtimekit-ui/p-032bedbe.entry.js +0 -1
- package/dist/realtimekit-ui/p-0b7bda80.entry.js +0 -1
- package/dist/realtimekit-ui/p-3506c2ea.entry.js +0 -1
- package/dist/realtimekit-ui/p-3ac61086.entry.js +0 -1
- package/dist/realtimekit-ui/p-402c516a.entry.js +0 -1
- package/dist/realtimekit-ui/p-613dd40b.entry.js +0 -1
- package/dist/realtimekit-ui/p-769bb885.js +0 -1
- package/dist/realtimekit-ui/p-8709edc6.entry.js +0 -1
- package/dist/realtimekit-ui/p-91cea045.entry.js +0 -1
- package/dist/realtimekit-ui/p-95214bc5.entry.js +0 -1
- package/dist/realtimekit-ui/p-acd26490.entry.js +0 -1
- package/dist/realtimekit-ui/p-c3415f79.entry.js +0 -1
- package/dist/realtimekit-ui/p-de70cab0.entry.js +0 -1
- package/dist/realtimekit-ui/p-efad3c75.js +0 -1
- package/dist/realtimekit-ui/p-fbd7f684.js +0 -1
|
@@ -19,10 +19,6 @@ const oppositeSideMap = {
|
|
|
19
19
|
bottom: 'top',
|
|
20
20
|
top: 'bottom'
|
|
21
21
|
};
|
|
22
|
-
const oppositeAlignmentMap = {
|
|
23
|
-
start: 'end',
|
|
24
|
-
end: 'start'
|
|
25
|
-
};
|
|
26
22
|
function clamp(start, value, end) {
|
|
27
23
|
return max(start, min(value, end));
|
|
28
24
|
}
|
|
@@ -41,9 +37,9 @@ function getOppositeAxis(axis) {
|
|
|
41
37
|
function getAxisLength(axis) {
|
|
42
38
|
return axis === 'y' ? 'height' : 'width';
|
|
43
39
|
}
|
|
44
|
-
const yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);
|
|
45
40
|
function getSideAxis(placement) {
|
|
46
|
-
|
|
41
|
+
const firstChar = placement[0];
|
|
42
|
+
return firstChar === 't' || firstChar === 'b' ? 'y' : 'x';
|
|
47
43
|
}
|
|
48
44
|
function getAlignmentAxis(placement) {
|
|
49
45
|
return getOppositeAxis(getSideAxis(placement));
|
|
@@ -66,7 +62,7 @@ function getExpandedPlacements(placement) {
|
|
|
66
62
|
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
67
63
|
}
|
|
68
64
|
function getOppositeAlignmentPlacement(placement) {
|
|
69
|
-
return placement.replace(
|
|
65
|
+
return placement.includes('start') ? placement.replace('start', 'end') : placement.replace('end', 'start');
|
|
70
66
|
}
|
|
71
67
|
const lrPlacement = ['left', 'right'];
|
|
72
68
|
const rlPlacement = ['right', 'left'];
|
|
@@ -97,7 +93,8 @@ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
|
97
93
|
return list;
|
|
98
94
|
}
|
|
99
95
|
function getOppositePlacement(placement) {
|
|
100
|
-
|
|
96
|
+
const side = getSide(placement);
|
|
97
|
+
return oppositeSideMap[side] + placement.slice(side.length);
|
|
101
98
|
}
|
|
102
99
|
function expandPaddingObject(padding) {
|
|
103
100
|
return {
|
|
@@ -191,6 +188,74 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
191
188
|
return coords;
|
|
192
189
|
}
|
|
193
190
|
|
|
191
|
+
/**
|
|
192
|
+
* Resolves with an object of overflow side offsets that determine how much the
|
|
193
|
+
* element is overflowing a given clipping boundary on each side.
|
|
194
|
+
* - positive = overflowing the boundary by that number of pixels
|
|
195
|
+
* - negative = how many pixels left before it will overflow
|
|
196
|
+
* - 0 = lies flush with the boundary
|
|
197
|
+
* @see https://floating-ui.com/docs/detectOverflow
|
|
198
|
+
*/
|
|
199
|
+
async function detectOverflow(state, options) {
|
|
200
|
+
var _await$platform$isEle;
|
|
201
|
+
if (options === void 0) {
|
|
202
|
+
options = {};
|
|
203
|
+
}
|
|
204
|
+
const {
|
|
205
|
+
x,
|
|
206
|
+
y,
|
|
207
|
+
platform,
|
|
208
|
+
rects,
|
|
209
|
+
elements,
|
|
210
|
+
strategy
|
|
211
|
+
} = state;
|
|
212
|
+
const {
|
|
213
|
+
boundary = 'clippingAncestors',
|
|
214
|
+
rootBoundary = 'viewport',
|
|
215
|
+
elementContext = 'floating',
|
|
216
|
+
altBoundary = false,
|
|
217
|
+
padding = 0
|
|
218
|
+
} = evaluate(options, state);
|
|
219
|
+
const paddingObject = getPaddingObject(padding);
|
|
220
|
+
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
221
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
222
|
+
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
223
|
+
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
224
|
+
boundary,
|
|
225
|
+
rootBoundary,
|
|
226
|
+
strategy
|
|
227
|
+
}));
|
|
228
|
+
const rect = elementContext === 'floating' ? {
|
|
229
|
+
x,
|
|
230
|
+
y,
|
|
231
|
+
width: rects.floating.width,
|
|
232
|
+
height: rects.floating.height
|
|
233
|
+
} : rects.reference;
|
|
234
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
235
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
236
|
+
x: 1,
|
|
237
|
+
y: 1
|
|
238
|
+
} : {
|
|
239
|
+
x: 1,
|
|
240
|
+
y: 1
|
|
241
|
+
};
|
|
242
|
+
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
243
|
+
elements,
|
|
244
|
+
rect,
|
|
245
|
+
offsetParent,
|
|
246
|
+
strategy
|
|
247
|
+
}) : rect);
|
|
248
|
+
return {
|
|
249
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
250
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
251
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
252
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
// Maximum number of resets that can occur before bailing to avoid infinite reset loops.
|
|
257
|
+
const MAX_RESET_COUNT = 50;
|
|
258
|
+
|
|
194
259
|
/**
|
|
195
260
|
* Computes the `x` and `y` coordinates that will place the floating element
|
|
196
261
|
* next to a given reference element.
|
|
@@ -205,7 +270,10 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
205
270
|
middleware = [],
|
|
206
271
|
platform
|
|
207
272
|
} = config;
|
|
208
|
-
const
|
|
273
|
+
const platformWithDetectOverflow = platform.detectOverflow ? platform : {
|
|
274
|
+
...platform,
|
|
275
|
+
detectOverflow
|
|
276
|
+
};
|
|
209
277
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
210
278
|
let rects = await platform.getElementRects({
|
|
211
279
|
reference,
|
|
@@ -217,13 +285,17 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
217
285
|
y
|
|
218
286
|
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
219
287
|
let statefulPlacement = placement;
|
|
220
|
-
let middlewareData = {};
|
|
221
288
|
let resetCount = 0;
|
|
222
|
-
|
|
289
|
+
const middlewareData = {};
|
|
290
|
+
for (let i = 0; i < middleware.length; i++) {
|
|
291
|
+
const currentMiddleware = middleware[i];
|
|
292
|
+
if (!currentMiddleware) {
|
|
293
|
+
continue;
|
|
294
|
+
}
|
|
223
295
|
const {
|
|
224
296
|
name,
|
|
225
297
|
fn
|
|
226
|
-
} =
|
|
298
|
+
} = currentMiddleware;
|
|
227
299
|
const {
|
|
228
300
|
x: nextX,
|
|
229
301
|
y: nextY,
|
|
@@ -237,7 +309,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
237
309
|
strategy,
|
|
238
310
|
middlewareData,
|
|
239
311
|
rects,
|
|
240
|
-
platform,
|
|
312
|
+
platform: platformWithDetectOverflow,
|
|
241
313
|
elements: {
|
|
242
314
|
reference,
|
|
243
315
|
floating
|
|
@@ -245,14 +317,11 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
245
317
|
});
|
|
246
318
|
x = nextX != null ? nextX : x;
|
|
247
319
|
y = nextY != null ? nextY : y;
|
|
248
|
-
middlewareData = {
|
|
249
|
-
...middlewareData,
|
|
250
|
-
|
|
251
|
-
...middlewareData[name],
|
|
252
|
-
...data
|
|
253
|
-
}
|
|
320
|
+
middlewareData[name] = {
|
|
321
|
+
...middlewareData[name],
|
|
322
|
+
...data
|
|
254
323
|
};
|
|
255
|
-
if (reset && resetCount
|
|
324
|
+
if (reset && resetCount < MAX_RESET_COUNT) {
|
|
256
325
|
resetCount++;
|
|
257
326
|
if (typeof reset === 'object') {
|
|
258
327
|
if (reset.placement) {
|
|
@@ -282,71 +351,6 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
282
351
|
};
|
|
283
352
|
};
|
|
284
353
|
|
|
285
|
-
/**
|
|
286
|
-
* Resolves with an object of overflow side offsets that determine how much the
|
|
287
|
-
* element is overflowing a given clipping boundary on each side.
|
|
288
|
-
* - positive = overflowing the boundary by that number of pixels
|
|
289
|
-
* - negative = how many pixels left before it will overflow
|
|
290
|
-
* - 0 = lies flush with the boundary
|
|
291
|
-
* @see https://floating-ui.com/docs/detectOverflow
|
|
292
|
-
*/
|
|
293
|
-
async function detectOverflow(state, options) {
|
|
294
|
-
var _await$platform$isEle;
|
|
295
|
-
if (options === void 0) {
|
|
296
|
-
options = {};
|
|
297
|
-
}
|
|
298
|
-
const {
|
|
299
|
-
x,
|
|
300
|
-
y,
|
|
301
|
-
platform,
|
|
302
|
-
rects,
|
|
303
|
-
elements,
|
|
304
|
-
strategy
|
|
305
|
-
} = state;
|
|
306
|
-
const {
|
|
307
|
-
boundary = 'clippingAncestors',
|
|
308
|
-
rootBoundary = 'viewport',
|
|
309
|
-
elementContext = 'floating',
|
|
310
|
-
altBoundary = false,
|
|
311
|
-
padding = 0
|
|
312
|
-
} = evaluate(options, state);
|
|
313
|
-
const paddingObject = getPaddingObject(padding);
|
|
314
|
-
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
315
|
-
const element = elements[altBoundary ? altContext : elementContext];
|
|
316
|
-
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
317
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
318
|
-
boundary,
|
|
319
|
-
rootBoundary,
|
|
320
|
-
strategy
|
|
321
|
-
}));
|
|
322
|
-
const rect = elementContext === 'floating' ? {
|
|
323
|
-
x,
|
|
324
|
-
y,
|
|
325
|
-
width: rects.floating.width,
|
|
326
|
-
height: rects.floating.height
|
|
327
|
-
} : rects.reference;
|
|
328
|
-
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
329
|
-
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
330
|
-
x: 1,
|
|
331
|
-
y: 1
|
|
332
|
-
} : {
|
|
333
|
-
x: 1,
|
|
334
|
-
y: 1
|
|
335
|
-
};
|
|
336
|
-
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
337
|
-
elements,
|
|
338
|
-
rect,
|
|
339
|
-
offsetParent,
|
|
340
|
-
strategy
|
|
341
|
-
}) : rect);
|
|
342
|
-
return {
|
|
343
|
-
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
344
|
-
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
345
|
-
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
346
|
-
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
347
|
-
};
|
|
348
|
-
}
|
|
349
|
-
|
|
350
354
|
/**
|
|
351
355
|
* Provides data to position an inner element of the floating element so that it
|
|
352
356
|
* appears centered to the reference element.
|
|
@@ -468,7 +472,7 @@ const autoPlacement$1 = function (options) {
|
|
|
468
472
|
...detectOverflowOptions
|
|
469
473
|
} = evaluate(options, state);
|
|
470
474
|
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
471
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
475
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
472
476
|
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
473
477
|
const currentPlacement = placements$1[currentIndex];
|
|
474
478
|
if (currentPlacement == null) {
|
|
@@ -582,7 +586,7 @@ const flip$1 = function (options) {
|
|
|
582
586
|
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
583
587
|
}
|
|
584
588
|
const placements = [initialPlacement, ...fallbackPlacements];
|
|
585
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
589
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
586
590
|
const overflows = [];
|
|
587
591
|
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
588
592
|
if (checkMainAxis) {
|
|
@@ -689,7 +693,8 @@ const hide$1 = function (options) {
|
|
|
689
693
|
options,
|
|
690
694
|
async fn(state) {
|
|
691
695
|
const {
|
|
692
|
-
rects
|
|
696
|
+
rects,
|
|
697
|
+
platform
|
|
693
698
|
} = state;
|
|
694
699
|
const {
|
|
695
700
|
strategy = 'referenceHidden',
|
|
@@ -698,7 +703,7 @@ const hide$1 = function (options) {
|
|
|
698
703
|
switch (strategy) {
|
|
699
704
|
case 'referenceHidden':
|
|
700
705
|
{
|
|
701
|
-
const overflow = await detectOverflow(state, {
|
|
706
|
+
const overflow = await platform.detectOverflow(state, {
|
|
702
707
|
...detectOverflowOptions,
|
|
703
708
|
elementContext: 'reference'
|
|
704
709
|
});
|
|
@@ -712,7 +717,7 @@ const hide$1 = function (options) {
|
|
|
712
717
|
}
|
|
713
718
|
case 'escaped':
|
|
714
719
|
{
|
|
715
|
-
const overflow = await detectOverflow(state, {
|
|
720
|
+
const overflow = await platform.detectOverflow(state, {
|
|
716
721
|
...detectOverflowOptions,
|
|
717
722
|
altBoundary: true
|
|
718
723
|
});
|
|
@@ -966,7 +971,8 @@ const shift$1 = function (options) {
|
|
|
966
971
|
const {
|
|
967
972
|
x,
|
|
968
973
|
y,
|
|
969
|
-
placement
|
|
974
|
+
placement,
|
|
975
|
+
platform
|
|
970
976
|
} = state;
|
|
971
977
|
const {
|
|
972
978
|
mainAxis: checkMainAxis = true,
|
|
@@ -989,7 +995,7 @@ const shift$1 = function (options) {
|
|
|
989
995
|
x,
|
|
990
996
|
y
|
|
991
997
|
};
|
|
992
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
998
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
993
999
|
const crossAxis = getSideAxis(getSide(placement));
|
|
994
1000
|
const mainAxis = getOppositeAxis(crossAxis);
|
|
995
1001
|
let mainAxisCoord = coords[mainAxis];
|
|
@@ -1121,7 +1127,7 @@ const size = function (options) {
|
|
|
1121
1127
|
apply = () => {},
|
|
1122
1128
|
...detectOverflowOptions
|
|
1123
1129
|
} = evaluate(options, state);
|
|
1124
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
1130
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
1125
1131
|
const side = getSide(placement);
|
|
1126
1132
|
const alignment = getAlignment(placement);
|
|
1127
1133
|
const isYAxis = getSideAxis(placement) === 'y';
|
|
@@ -1224,7 +1230,6 @@ function isShadowRoot(value) {
|
|
|
1224
1230
|
}
|
|
1225
1231
|
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
1226
1232
|
}
|
|
1227
|
-
const invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);
|
|
1228
1233
|
function isOverflowElement(element) {
|
|
1229
1234
|
const {
|
|
1230
1235
|
overflow,
|
|
@@ -1232,32 +1237,35 @@ function isOverflowElement(element) {
|
|
|
1232
1237
|
overflowY,
|
|
1233
1238
|
display
|
|
1234
1239
|
} = getComputedStyle$1(element);
|
|
1235
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) &&
|
|
1240
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';
|
|
1236
1241
|
}
|
|
1237
|
-
const tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);
|
|
1238
1242
|
function isTableElement(element) {
|
|
1239
|
-
return
|
|
1243
|
+
return /^(table|td|th)$/.test(getNodeName(element));
|
|
1240
1244
|
}
|
|
1241
|
-
const topLayerSelectors = [':popover-open', ':modal'];
|
|
1242
1245
|
function isTopLayer(element) {
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
return
|
|
1246
|
-
} catch (_e) {
|
|
1247
|
-
return false;
|
|
1246
|
+
try {
|
|
1247
|
+
if (element.matches(':popover-open')) {
|
|
1248
|
+
return true;
|
|
1248
1249
|
}
|
|
1249
|
-
})
|
|
1250
|
+
} catch (_e) {
|
|
1251
|
+
// no-op
|
|
1252
|
+
}
|
|
1253
|
+
try {
|
|
1254
|
+
return element.matches(':modal');
|
|
1255
|
+
} catch (_e) {
|
|
1256
|
+
return false;
|
|
1257
|
+
}
|
|
1250
1258
|
}
|
|
1251
|
-
const
|
|
1252
|
-
const
|
|
1253
|
-
const
|
|
1259
|
+
const willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
|
|
1260
|
+
const containRe = /paint|layout|strict|content/;
|
|
1261
|
+
const isNotNone = value => !!value && value !== 'none';
|
|
1262
|
+
let isWebKitValue;
|
|
1254
1263
|
function isContainingBlock(elementOrCss) {
|
|
1255
|
-
const webkit = isWebKit();
|
|
1256
1264
|
const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
|
1257
1265
|
|
|
1258
1266
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1259
1267
|
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
1260
|
-
return
|
|
1268
|
+
return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');
|
|
1261
1269
|
}
|
|
1262
1270
|
function getContainingBlock(element) {
|
|
1263
1271
|
let currentNode = getParentNode(element);
|
|
@@ -1272,12 +1280,13 @@ function getContainingBlock(element) {
|
|
|
1272
1280
|
return null;
|
|
1273
1281
|
}
|
|
1274
1282
|
function isWebKit() {
|
|
1275
|
-
if (
|
|
1276
|
-
|
|
1283
|
+
if (isWebKitValue == null) {
|
|
1284
|
+
isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');
|
|
1285
|
+
}
|
|
1286
|
+
return isWebKitValue;
|
|
1277
1287
|
}
|
|
1278
|
-
const lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);
|
|
1279
1288
|
function isLastTraversableNode(node) {
|
|
1280
|
-
return
|
|
1289
|
+
return /^(html|body|#document)$/.test(getNodeName(node));
|
|
1281
1290
|
}
|
|
1282
1291
|
function getComputedStyle$1(element) {
|
|
1283
1292
|
return getWindow(element).getComputedStyle(element);
|
|
@@ -1333,8 +1342,9 @@ function getOverflowAncestors(node, list, traverseIframes) {
|
|
|
1333
1342
|
if (isBody) {
|
|
1334
1343
|
const frameElement = getFrameElement(win);
|
|
1335
1344
|
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
1345
|
+
} else {
|
|
1346
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
1336
1347
|
}
|
|
1337
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
1338
1348
|
}
|
|
1339
1349
|
function getFrameElement(win) {
|
|
1340
1350
|
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
@@ -1511,7 +1521,7 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
1511
1521
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1512
1522
|
scroll = getNodeScroll(offsetParent);
|
|
1513
1523
|
}
|
|
1514
|
-
if (
|
|
1524
|
+
if (isOffsetParentAnElement) {
|
|
1515
1525
|
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1516
1526
|
scale = getScale(offsetParent);
|
|
1517
1527
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
@@ -1599,7 +1609,6 @@ function getViewportRect(element, strategy) {
|
|
|
1599
1609
|
};
|
|
1600
1610
|
}
|
|
1601
1611
|
|
|
1602
|
-
const absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);
|
|
1603
1612
|
// Returns the inner client rect, subtracting scrollbars if present.
|
|
1604
1613
|
function getInnerBoundingClientRect(element, strategy) {
|
|
1605
1614
|
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
@@ -1664,7 +1673,7 @@ function getClippingElementAncestors(element, cache) {
|
|
|
1664
1673
|
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1665
1674
|
currentContainingBlockComputedStyle = null;
|
|
1666
1675
|
}
|
|
1667
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle &&
|
|
1676
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && (currentContainingBlockComputedStyle.position === 'absolute' || currentContainingBlockComputedStyle.position === 'fixed') || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1668
1677
|
if (shouldDropCurrentNode) {
|
|
1669
1678
|
// Drop non-containing blocks.
|
|
1670
1679
|
result = result.filter(ancestor => ancestor !== currentNode);
|
|
@@ -1689,20 +1698,23 @@ function getClippingRect(_ref) {
|
|
|
1689
1698
|
} = _ref;
|
|
1690
1699
|
const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1691
1700
|
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1692
|
-
const
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
+
const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);
|
|
1702
|
+
let top = firstRect.top;
|
|
1703
|
+
let right = firstRect.right;
|
|
1704
|
+
let bottom = firstRect.bottom;
|
|
1705
|
+
let left = firstRect.left;
|
|
1706
|
+
for (let i = 1; i < clippingAncestors.length; i++) {
|
|
1707
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i], strategy);
|
|
1708
|
+
top = max(rect.top, top);
|
|
1709
|
+
right = min(rect.right, right);
|
|
1710
|
+
bottom = min(rect.bottom, bottom);
|
|
1711
|
+
left = max(rect.left, left);
|
|
1712
|
+
}
|
|
1701
1713
|
return {
|
|
1702
|
-
width:
|
|
1703
|
-
height:
|
|
1704
|
-
x:
|
|
1705
|
-
y:
|
|
1714
|
+
width: right - left,
|
|
1715
|
+
height: bottom - top,
|
|
1716
|
+
x: left,
|
|
1717
|
+
y: top
|
|
1706
1718
|
};
|
|
1707
1719
|
}
|
|
1708
1720
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as getElement } from './index-55463a54.js';
|
|
2
|
-
import { u as uiStore, I as appendElement, J as removeElement } from './ui-store-
|
|
2
|
+
import { u as uiStore, I as appendElement, J as removeElement } from './ui-store-76bb0e8e.js';
|
|
3
3
|
|
|
4
4
|
function SyncWithStore() {
|
|
5
5
|
return function (proto, propName) {
|
package/dist/esm/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as createDefaultConfig } from './ui-store-
|
|
2
|
-
export { B as BreakoutRoomsManager, c as createDefaultConfig, b as createPeerStore, d as defaultConfig, e as defaultIconPack, h as defaultLanguage, f as defaultOverrides, g as getInitialStates, a as uiState, u as uiStore, i as useLanguage } from './ui-store-
|
|
3
|
-
export { p as provideRtkDesignSystem } from './merge-
|
|
4
|
-
import { g as generateConfig } from './config-
|
|
5
|
-
export { e as extendConfig, g as generateConfig } from './config-
|
|
1
|
+
import { c as createDefaultConfig } from './ui-store-76bb0e8e.js';
|
|
2
|
+
export { B as BreakoutRoomsManager, c as createDefaultConfig, b as createPeerStore, d as defaultConfig, e as defaultIconPack, h as defaultLanguage, f as defaultOverrides, g as getInitialStates, a as uiState, u as uiStore, i as useLanguage } from './ui-store-76bb0e8e.js';
|
|
3
|
+
export { p as provideRtkDesignSystem } from './merge-86cf8b27.js';
|
|
4
|
+
import { g as generateConfig } from './config-4bdf983d.js';
|
|
5
|
+
export { e as extendConfig, g as generateConfig } from './config-4bdf983d.js';
|
|
6
6
|
export { R as RtkNotificationsAudio } from './notification-1ebf7700.js';
|
|
7
|
-
export { g as generateChatGroupKey, a as getChatGroups, c as getParticipantUserId, b as getUnreadChatCounts } from './chat-
|
|
7
|
+
export { g as generateChatGroupKey, a as getChatGroups, c as getParticipantUserId, b as getUnreadChatCounts } from './chat-269c61ba.js';
|
|
8
8
|
import './index-55463a54.js';
|
|
9
9
|
import './browser-24d8ab3e.js';
|
|
10
10
|
|