@opengeni/react 6.37.3 → 6.37.4-canary.45240525217001
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/app/app-state.js +5 -5
- package/dist/app/components/Composer.css +1 -1
- package/dist/app/components/Composer.css.map +1 -1
- package/dist/app/components/Composer.js +11 -10
- package/dist/app/components/add-card-dialog.js +2 -1
- package/dist/app/components/add-card-dialog.js.map +1 -1
- package/dist/app/components/add-card.js +2 -2
- package/dist/app/components/agents/agent-can-use.js +15 -14
- package/dist/app/components/agents/agent-form-page.js +36 -35
- package/dist/app/components/agents/agent-form-page.js.map +1 -1
- package/dist/app/components/agents/agent-page.js +32 -31
- package/dist/app/components/agents/agent-setup-sections.js +23 -22
- package/dist/app/components/agents/agent-skills.js +4 -3
- package/dist/app/components/agents/agent-trigger-dialog.js +3 -2
- package/dist/app/components/agents/agents-page.js +18 -17
- package/dist/app/components/agents/agents-page.js.map +1 -1
- package/dist/app/components/agents/composer-agent-chip.js +13 -12
- package/dist/app/components/agents/session-agent-chip.js +13 -12
- package/dist/app/components/artifacts/app-package.js +4 -3
- package/dist/app/components/artifacts/artifact-library.js +8 -7
- package/dist/app/components/artifacts/artifact-viewer.js +14 -13
- package/dist/app/components/artifacts/artifact-viewer.js.map +1 -1
- package/dist/app/components/artifacts/chat-interactive-block.js +6 -5
- package/dist/app/components/artifacts/chat-interactive-block.js.map +1 -1
- package/dist/app/components/artifacts/copy-artifact-link.js +1 -1
- package/dist/app/components/artifacts/file-reach-dialog.js +3 -2
- package/dist/app/components/artifacts/inline-chat-image.js +12 -11
- package/dist/app/components/artifacts/ready-made-apps.js +5 -4
- package/dist/app/components/artifacts/retained-file-preview.js +14 -13
- package/dist/app/components/artifacts/site-actions.js +4 -4
- package/dist/app/components/artifacts/site-audience.js +4 -3
- package/dist/app/components/artifacts/site-conversations.js +2 -2
- package/dist/app/components/artifacts/site-data.js +8 -7
- package/dist/app/components/artifacts/site-publishing-page.js +25 -24
- package/dist/app/components/artifacts/site-publishing.js +16 -15
- package/dist/app/components/artifacts/site-settings.js +24 -23
- package/dist/app/components/artifacts/site-version-menu.js +2 -2
- package/dist/app/components/capabilities/capability-detail-sheet.js +7 -6
- package/dist/app/components/capabilities/capability-logo-source.js +11 -10
- package/dist/app/components/capabilities/connection-ownership-selector.js +4 -3
- package/dist/app/components/capabilities/detail-dialog.js +3 -2
- package/dist/app/components/capabilities/native-connect-setup.js +13 -12
- package/dist/app/components/capabilities/perform-capability-action.js +2 -2
- package/dist/app/components/capabilities/prepared-mcp-setup-card.js +11 -10
- package/dist/app/components/capabilities/session-capability-card.css +1 -1
- package/dist/app/components/capabilities/session-capability-card.css.map +1 -1
- package/dist/app/components/capabilities/session-capability-card.js +41 -40
- package/dist/app/components/capabilities/session-capability-card.js.map +1 -1
- package/dist/app/components/capabilities/session-chrome-card.css +1 -1
- package/dist/app/components/capabilities/session-chrome-card.css.map +1 -1
- package/dist/app/components/capabilities/session-chrome-card.js +12 -11
- package/dist/app/components/capabilities/session-connect-inputs-card.js +12 -11
- package/dist/app/components/capabilities/session-custom-mcp-card.js +13 -12
- package/dist/app/components/capabilities/session-github-card.js +12 -11
- package/dist/app/components/capabilities/session-machine-card.css +1 -1
- package/dist/app/components/capabilities/session-machine-card.css.map +1 -1
- package/dist/app/components/capabilities/session-machine-card.js +11 -10
- package/dist/app/components/capabilities/session-personal-github-card.js +12 -11
- package/dist/app/components/capabilities/session-plugin-card.js +8 -7
- package/dist/app/components/capabilities/use-connection-accounts.js +1 -1
- package/dist/app/components/command-menu/chat-status.js +1 -1
- package/dist/app/components/command-menu/chat-switcher.js +15 -14
- package/dist/app/components/command-menu/chat-switcher.js.map +1 -1
- package/dist/app/components/command-menu/command-menu.js +238 -236
- package/dist/app/components/command-menu/command-menu.js.map +1 -1
- package/dist/app/components/command-menu/shortcut-sheet.js +6 -5
- package/dist/app/components/command-menu/shortcut-sheet.js.map +1 -1
- package/dist/app/components/composer-mobile-plus-panel.js +4 -3
- package/dist/app/components/composer-mobile-plus-panel.js.map +1 -1
- package/dist/app/components/composer-mobile-plus.js +3 -2
- package/dist/app/components/credit-required-gate.js +3 -3
- package/dist/app/components/credit-required-prompt.js +16 -15
- package/dist/app/components/credit-required-prompt.js.map +1 -1
- package/dist/app/components/credits/checkout-credits-celebration.js +3 -2
- package/dist/app/components/credits/checkout-return.js +3 -2
- package/dist/app/components/credits/checkout-return.js.map +1 -1
- package/dist/app/components/credits/credit-refusal-notice.js +2 -2
- package/dist/app/components/desktop/app-shots.css +1 -1
- package/dist/app/components/desktop/app-shots.css.map +1 -1
- package/dist/app/components/desktop/app-shots.js +5 -4
- package/dist/app/components/desktop/this-computer.css +1 -1
- package/dist/app/components/desktop/this-computer.css.map +1 -1
- package/dist/app/components/desktop/this-computer.js +3 -2
- package/dist/app/components/feedback.js +3 -2
- package/dist/app/components/follow-up-repository-menu-body.js +2 -2
- package/dist/app/components/follow-up-repository-picker.js +1 -1
- package/dist/app/components/github-app-connect-launcher.js +2 -2
- package/dist/app/components/machines/connect-machine-dialog.css +1 -1
- package/dist/app/components/machines/connect-machine-dialog.css.map +1 -1
- package/dist/app/components/machines/connect-machine-dialog.js +8 -7
- package/dist/app/components/markdown.js +6 -5
- package/dist/app/components/models/models-ui.js +5 -4
- package/dist/app/components/my-things.js +5 -4
- package/dist/app/components/my-things.js.map +1 -1
- package/dist/app/components/own-where-it-works.js +4 -3
- package/dist/app/components/pickers.js +2 -2
- package/dist/app/components/rail/channel-create-dialog.js +3 -2
- package/dist/app/components/rail/project-glyph.js +13 -12
- package/dist/app/components/rail/project-profile.js +17 -16
- package/dist/app/components/rail/rail-context.js +1 -1
- package/dist/app/components/rail/rail-sections.js +38 -37
- package/dist/app/components/rail/session-header.js +26 -25
- package/dist/app/components/rail/session-list.js +35 -34
- package/dist/app/components/rail/session-row-hover-details.js +4 -4
- package/dist/app/components/rail/session-shell.js +47 -46
- package/dist/app/components/rail/site-session-group-heading.js +6 -6
- package/dist/app/components/repository-picker.js +2 -2
- package/dist/app/components/session/agent-configuration-panel.js +15 -14
- package/dist/app/components/session/agent-configuration-panel.js.map +1 -1
- package/dist/app/components/session/artifact-session-page.js +2 -2
- package/dist/app/components/session/banners.js +8 -7
- package/dist/app/components/session/chat-avatar.js +13 -12
- package/dist/app/components/session/console-new-conversation.css +1 -1
- package/dist/app/components/session/console-new-conversation.css.map +1 -1
- package/dist/app/components/session/console-new-conversation.js +24 -23
- package/dist/app/components/session/descendant-requests.js +18 -17
- package/dist/app/components/session/descendant-requests.js.map +1 -1
- package/dist/app/components/session/editable-artifacts-workspace.js +11 -10
- package/dist/app/components/session/editable-artifacts-workspace.js.map +1 -1
- package/dist/app/components/session/failed-session-banner.js +20 -19
- package/dist/app/components/session/failed-session-banner.js.map +1 -1
- package/dist/app/components/session/human-input.js +15 -14
- package/dist/app/components/session/inspector.js +24 -23
- package/dist/app/components/session/inspector.js.map +1 -1
- package/dist/app/components/session/message-actions.js +3 -2
- package/dist/app/components/session/message-actions.js.map +1 -1
- package/dist/app/components/session/new-session-settings-menu.css +1 -1
- package/dist/app/components/session/new-session-settings-menu.css.map +1 -1
- package/dist/app/components/session/new-session-settings-menu.js +5 -4
- package/dist/app/components/session/new-session-setup-strip.js +14 -13
- package/dist/app/components/session/pull-request-panel.js +7 -6
- package/dist/app/components/session/sandbox-recovery-actions.js +4 -3
- package/dist/app/components/session/sandbox-switcher.js +1 -1
- package/dist/app/components/session/sandbox-workspace.js +23 -22
- package/dist/app/components/session/search-markdown-highlight.js +7 -6
- package/dist/app/components/session/search-results-view.js +8 -7
- package/dist/app/components/session/session-admin-access.js +3 -2
- package/dist/app/components/session/session-avatar-picker.js +13 -12
- package/dist/app/components/session/session-avatar.js +12 -11
- package/dist/app/components/session/session-profile-dialog.js +15 -14
- package/dist/app/components/session/session-profile-editor.js +16 -15
- package/dist/app/components/session/session-search-dialog.js +9 -8
- package/dist/app/components/session/session-search-dialog.js.map +1 -1
- package/dist/app/components/session/session-tenancy-control.js +11 -10
- package/dist/app/components/session/session-tenancy-control.js.map +1 -1
- package/dist/app/components/session/share-chat-dialog.js +3 -2
- package/dist/app/components/toaster.js +1 -1
- package/dist/app/components/ui/destructive-confirm.js +5 -4
- package/dist/app/components/window-bar.js +5 -5
- package/dist/app/components/workspace-composer-plus.js +17 -16
- package/dist/app/embed/session-app.css +1 -1
- package/dist/app/embed/session-app.css.map +1 -1
- package/dist/app/embed/session-app.js +140 -139
- package/dist/app/lib/actions/actions-provider.js +4 -4
- package/dist/app/lib/app-connect-card.js +8 -7
- package/dist/app/lib/app-shared-key-dialog.js +3 -2
- package/dist/app/lib/app-surfaces.js +1 -1
- package/dist/app/lib/app-sync-opt-in.js +4 -3
- package/dist/app/lib/composer-connectors.js +12 -11
- package/dist/app/lib/console-site.js +6 -5
- package/dist/app/lib/events.js +7 -6
- package/dist/app/lib/session-create.js +1 -1
- package/dist/app/lib/site-tool-consent-dialog.js +5 -4
- package/dist/app/lib/site-tool-consent-dialog.js.map +1 -1
- package/dist/app/lib/site-tool-consent.js +1 -1
- package/dist/app/lib/turn-failure-analytics.js +3 -3
- package/dist/app/lib/use-duplicate-site.js +2 -2
- package/dist/app/lib/use-follow-up-repositories.js +4 -3
- package/dist/app/lib/use-workspace-model-catalog.js +1 -1
- package/dist/app/routes/app-page-view.js +7 -6
- package/dist/app/routes/app-page-view.js.map +1 -1
- package/dist/app/routes/app-page.js +1 -1
- package/dist/app/routes/artifacts.js +47 -46
- package/dist/app/routes/artifacts.js.map +1 -1
- package/dist/app/routes/retained-artifact.js +27 -26
- package/dist/app/routes/retained-artifact.js.map +1 -1
- package/dist/app/routes/session-unavailable.js +4 -4
- package/dist/app/routes/session.css +1 -1
- package/dist/app/routes/session.css.map +1 -1
- package/dist/app/routes/session.js +75 -74
- package/dist/app/routes/sessions-index-hydration.js +1 -1
- package/dist/app/routes/sessions-index.css +1 -1
- package/dist/app/routes/sessions-index.css.map +1 -1
- package/dist/app/routes/sessions-index.js +70 -69
- package/dist/app/routes/site-view.css +1 -1
- package/dist/app/routes/site-view.css.map +1 -1
- package/dist/app/routes/site-view.js +49 -48
- package/dist/app/routes/site-view.js.map +1 -1
- package/dist/artifacts-presentation.js +4 -3
- package/dist/artifacts.js +5 -4
- package/dist/automations.js +4 -3
- package/dist/automations.js.map +1 -1
- package/dist/{chunk-5BRK72J5.js → chunk-26ALDZ3Z.js} +32 -32
- package/dist/chunk-26ALDZ3Z.js.map +1 -0
- package/dist/{chunk-2ZC62PY4.js → chunk-27DX32KU.js} +3 -3
- package/dist/{chunk-UOBJFO25.js → chunk-2YHJDLQ6.js} +4 -4
- package/dist/{chunk-XF55A7CC.js → chunk-3PWUHPI3.js} +3 -3
- package/dist/{chunk-SHW2QUOE.js → chunk-46AGEZPT.js} +4 -4
- package/dist/{chunk-DECSYLBP.js → chunk-4J3O3SWZ.js} +34 -33
- package/dist/chunk-4J3O3SWZ.js.map +1 -0
- package/dist/{chunk-A36WG3BT.js → chunk-4O625K2Z.js} +2 -2
- package/dist/{chunk-O5JDQZGV.js → chunk-4PFXNHD3.js} +4 -4
- package/dist/{chunk-MHL727ZE.js → chunk-4Y7U555D.js} +3 -3
- package/dist/{chunk-QAS2OFG5.js → chunk-55OSFR6X.js} +5 -5
- package/dist/{chunk-XKPVWLMM.js → chunk-55WQUVYL.js} +2 -2
- package/dist/{chunk-FXFOKD7A.js → chunk-5AHIKB3O.js} +4 -4
- package/dist/{chunk-CBSBNUGV.js → chunk-5ARE3ZON.js} +48 -44
- package/dist/chunk-5ARE3ZON.js.map +1 -0
- package/dist/{chunk-3X4HTUUR.js → chunk-5EPGDDTD.js} +3 -3
- package/dist/{chunk-4GFLP4OY.js → chunk-5JOUWSLX.js} +3 -3
- package/dist/{chunk-ZWFLYN7T.js → chunk-62GT2LCX.js} +8 -8
- package/dist/{chunk-EJYHPNXD.js → chunk-6CA4YNYN.js} +3 -3
- package/dist/{chunk-6SPEMI7K.js → chunk-6DE2HW3M.js} +3 -3
- package/dist/{chunk-QJ4YC4PM.js → chunk-6DLMD7KG.js} +3 -3
- package/dist/{chunk-FX4HG4FR.js → chunk-6J47ZMXT.js} +2 -2
- package/dist/{chunk-QFMPAR74.js → chunk-6MZBNUS7.js} +4 -4
- package/dist/{chunk-4T2RJ2HY.js → chunk-6POCXFQ3.js} +3 -3
- package/dist/{chunk-SQJQVTHA.js → chunk-6TZCTX6E.js} +2 -2
- package/dist/{chunk-WKBJNGYV.js → chunk-7TLWNWKZ.js} +2 -2
- package/dist/{chunk-AP63EUPJ.js → chunk-7YMWRNRQ.js} +3 -3
- package/dist/{chunk-KWOYMJKM.js → chunk-AAAI5TIL.js} +4 -4
- package/dist/{chunk-AJIGRQIO.js → chunk-AXVOG3MT.js} +2 -2
- package/dist/{chunk-5JOTMM3F.js → chunk-AZGB2BZJ.js} +11 -11
- package/dist/{chunk-DJ4X4U4A.js → chunk-B2FPBEKA.js} +10 -10
- package/dist/{chunk-EGSRY63C.js → chunk-B36N6XFA.js} +4 -4
- package/dist/{chunk-M47MKLW2.js → chunk-BECGUNN3.js} +3 -3
- package/dist/{chunk-4YNWA5YG.js → chunk-BFVFEPP5.js} +5 -5
- package/dist/{chunk-4GUPD7CJ.js → chunk-BXWD463P.js} +2 -2
- package/dist/{chunk-CHKHQHOO.js → chunk-CCFP6FTE.js} +4 -4
- package/dist/{chunk-DHXRMZPQ.js → chunk-CDDXDIVD.js} +10 -10
- package/dist/{chunk-NY5DX43C.js → chunk-CF7IEYNK.js} +2 -2
- package/dist/{chunk-3GENISSH.js → chunk-CTH2JX5L.js} +2 -2
- package/dist/{chunk-67JCL67N.js → chunk-D5Q3F4SL.js} +2 -2
- package/dist/{chunk-LC5E7CVA.js → chunk-DA26C7SS.js} +2 -2
- package/dist/{chunk-GKOIWZ4C.js → chunk-DGA3TRYX.js} +2 -2
- package/dist/{chunk-2XZ3EUSP.js → chunk-DKL7Q3HN.js} +2 -2
- package/dist/{chunk-ADNH5GSP.js → chunk-DVHK3W3Z.js} +18 -18
- package/dist/{chunk-UJB54P4M.js → chunk-EFYA6GKK.js} +2 -2
- package/dist/{chunk-PMVZYQ5W.js → chunk-EI4CJ35K.js} +4 -4
- package/dist/{chunk-TYZ3WUKG.js → chunk-ELAHUFCS.js} +8 -8
- package/dist/{chunk-3775TQE5.js → chunk-EMKPIKUP.js} +17 -17
- package/dist/{chunk-24S44WBL.js → chunk-EZWH2XKH.js} +2 -2
- package/dist/{chunk-DLMMQMKZ.js → chunk-FWUNKYKA.js} +13 -13
- package/dist/{chunk-5I6CWDA6.js → chunk-FZZWHUEW.js} +79 -72
- package/dist/chunk-FZZWHUEW.js.map +1 -0
- package/dist/{chunk-NFZAMHSR.js → chunk-G57RPR2K.js} +2 -2
- package/dist/{chunk-BOZN54YB.js → chunk-GBLD6FOG.js} +53 -45
- package/dist/chunk-GBLD6FOG.js.map +1 -0
- package/dist/{chunk-PBKG2OPJ.js → chunk-GGIPEZLL.js} +4 -4
- package/dist/{chunk-6P3QOMPV.js → chunk-H24ONMRX.js} +2 -2
- package/dist/{chunk-7J3TLTPI.js → chunk-HC4LIYSX.js} +2 -2
- package/dist/{chunk-N3AAMSBH.js → chunk-HKIU3FUV.js} +4 -4
- package/dist/{chunk-POUIWV6K.js → chunk-HSAIQG5R.js} +64 -64
- package/dist/{chunk-CSGKUDNB.js → chunk-HT4SOZ7O.js} +7 -7
- package/dist/{chunk-3IEVQMGO.js → chunk-HWLXEZLE.js} +2 -2
- package/dist/{chunk-UHBIXNRW.js → chunk-HY3DB3M7.js} +2 -2
- package/dist/{chunk-RWWQLVGV.js → chunk-I63EUR7P.js} +2 -2
- package/dist/{chunk-6GYRHQVL.js → chunk-IXKW5KDM.js} +24 -24
- package/dist/{chunk-VCWRMKTQ.js → chunk-J47H3REM.js} +3 -3
- package/dist/{chunk-M3WCB73E.js → chunk-J7DZIHS2.js} +10 -10
- package/dist/{chunk-AGW5H6QV.js → chunk-JBVYNQCJ.js} +7 -7
- package/dist/{chunk-5JG277OH.js → chunk-JSHYM6DC.js} +5 -5
- package/dist/{chunk-YNIDJOGT.js → chunk-JV2GCAFK.js} +1 -1
- package/dist/{chunk-CZPN2HP3.js → chunk-JZQES6B3.js} +2 -2
- package/dist/{chunk-WZZV7DUU.js → chunk-K7YG6HOF.js} +3 -3
- package/dist/{chunk-DWPE3Y7M.js → chunk-KHYSGVKI.js} +5 -5
- package/dist/{chunk-RLS563ST.js → chunk-KR3OBB6D.js} +7 -7
- package/dist/{chunk-D2VP4C5B.js → chunk-KR5DIEIJ.js} +2 -2
- package/dist/{chunk-FZOK37SC.js → chunk-KZQDP2JM.js} +7 -7
- package/dist/{chunk-GCURVP5U.js → chunk-LASWCFNG.js} +9 -9
- package/dist/{chunk-3VSKLEUE.js → chunk-LKSYKT5N.js} +86 -86
- package/dist/{chunk-OMYT3X2Y.js → chunk-LODXHPRX.js} +1 -1
- package/dist/{chunk-YPM3T3UM.js → chunk-LT2SBHD4.js} +2 -2
- package/dist/{chunk-YIR4KVJO.js → chunk-LZD7C57L.js} +4 -4
- package/dist/{chunk-ZU5WVSHV.js → chunk-MYTGKJVJ.js} +4 -4
- package/dist/{chunk-QHGWFKTK.js → chunk-N5X5SALG.js} +2 -2
- package/dist/chunk-NGTCSS53.js +24 -0
- package/dist/chunk-NGTCSS53.js.map +1 -0
- package/dist/{chunk-CGS44LYC.js → chunk-NHQCEEBF.js} +36 -29
- package/dist/chunk-NHQCEEBF.js.map +1 -0
- package/dist/{chunk-S6GFECVG.js → chunk-NIOCEDKB.js} +4 -4
- package/dist/{chunk-VJAP57SP.js → chunk-NLIQ5Q5P.js} +2 -2
- package/dist/{chunk-36YTBVYF.js → chunk-NRSRVVES.js} +2 -2
- package/dist/{chunk-VWEGG7JQ.js → chunk-NZTK5K62.js} +2 -2
- package/dist/{chunk-XSR6J5LY.js → chunk-ODUGG2UX.js} +2 -2
- package/dist/{chunk-N4TJ7A7I.js → chunk-OFM6KBQW.js} +2 -2
- package/dist/{chunk-Y2LD4FTV.js → chunk-PFGTT67J.js} +2 -2
- package/dist/{chunk-H4NDK35I.js → chunk-PGMXITPB.js} +2 -2
- package/dist/{chunk-3N3EN7FA.js → chunk-PP32RE26.js} +2 -2
- package/dist/{chunk-NU4HYZ3C.js → chunk-PSPSBDX6.js} +2 -2
- package/dist/{chunk-PIPD74PT.js → chunk-PVWRMFOJ.js} +4 -4
- package/dist/{chunk-DEKCTHXM.js → chunk-QPTMXXKH.js} +11 -11
- package/dist/{chunk-AU2DT7O2.js → chunk-R2T4IUNB.js} +1 -1
- package/dist/{chunk-GFMRMSFN.js → chunk-RDFVLQB5.js} +3 -3
- package/dist/{chunk-QSG6FWOK.js → chunk-RQAIDGK5.js} +2 -2
- package/dist/{chunk-7CIMPDGL.js → chunk-S5CFVAP7.js} +2 -2
- package/dist/{chunk-GQF2HWQE.js → chunk-S7WZXVO5.js} +5 -5
- package/dist/{chunk-QCJ6SNCP.js → chunk-S7YAUVSI.js} +2 -2
- package/dist/{chunk-F47X7XPQ.js → chunk-SHF6AUPV.js} +1 -1
- package/dist/{chunk-GH4VY3H5.js → chunk-SHZU6YNE.js} +4 -4
- package/dist/{chunk-BY7AWWDB.js → chunk-SNACGK3Z.js} +4 -4
- package/dist/{chunk-J6YVN3W7.js → chunk-TCGRPODU.js} +2 -2
- package/dist/{chunk-ZAGLLXX5.js → chunk-TMFKWDG2.js} +2 -2
- package/dist/{chunk-DGS62JWP.js → chunk-TSEFP5YJ.js} +5 -5
- package/dist/{chunk-VMJN6YQL.js → chunk-U3PMZACT.js} +2 -2
- package/dist/{chunk-RG7PMYWW.js → chunk-U5ZNMGCK.js} +3 -3
- package/dist/{chunk-UNOJ5PNN.js → chunk-UBH3EU7U.js} +2 -2
- package/dist/{chunk-6WGJB6GO.js → chunk-UBZH5QUL.js} +3 -3
- package/dist/{chunk-SBWVYYRA.js → chunk-UJINPULJ.js} +2 -2
- package/dist/{chunk-QHF4B7R4.js → chunk-UN4IMPAY.js} +7 -7
- package/dist/{chunk-D4AF4SOJ.js → chunk-UVEBRB7E.js} +4 -4
- package/dist/{chunk-K7GGLL2U.js → chunk-UYVGM6PW.js} +2 -2
- package/dist/{chunk-GNTEF5TL.js → chunk-V2YQ6S74.js} +2 -2
- package/dist/{chunk-STTCF3OR.js → chunk-VBZEXBZU.js} +2 -2
- package/dist/{chunk-GJFTPSGN.js → chunk-VFCN7PBE.js} +2 -2
- package/dist/{chunk-NRAVQJE2.js → chunk-VLDKWGHD.js} +4 -4
- package/dist/{chunk-XDWW2DLJ.js → chunk-VYUKLLZC.js} +3 -3
- package/dist/{chunk-H6DJIEO6.js → chunk-WGZ4FCZX.js} +3 -3
- package/dist/{chunk-GBGJIR6F.js → chunk-WZFEUXSX.js} +10 -10
- package/dist/{chunk-HUS2QEPV.js → chunk-XRCZBTNS.js} +21 -21
- package/dist/{chunk-5CGZOJN7.js → chunk-Y22EVXGQ.js} +3 -3
- package/dist/{chunk-R6OBJ7LF.js → chunk-YHHSO5QR.js} +38 -41
- package/dist/chunk-YHHSO5QR.js.map +1 -0
- package/dist/{chunk-27HN57HE.js → chunk-YX565KDW.js} +2 -2
- package/dist/{chunk-72PGXQDN.js → chunk-ZJJNOSFC.js} +2 -2
- package/dist/{chunk-YRJZYQ5A.js → chunk-ZKFIUCZR.js} +131 -124
- package/dist/chunk-ZKFIUCZR.js.map +1 -0
- package/dist/{chunk-BRJLN3ZL.js → chunk-ZXX2MRAP.js} +2 -2
- package/dist/composer.js +3 -2
- package/dist/connect.js +10 -9
- package/dist/{connection-step-up-UQHDCXFE.js → connection-step-up-33GYGZYS.js} +14 -13
- package/dist/{connection-step-up-UQHDCXFE.js.map → connection-step-up-33GYGZYS.js.map} +1 -1
- package/dist/index.js +29 -28
- package/dist/lib/modal-layer.d.ts +11 -0
- package/dist/meetings.js +10 -9
- package/dist/meetings.js.map +1 -1
- package/dist/{payment-page-card-OOOFGIMH.js → payment-page-card-L62QJCCD.js} +5 -4
- package/dist/{payment-page-card-OOOFGIMH.js.map → payment-page-card-L62QJCCD.js.map} +1 -1
- package/dist/{queue-surface-implementation-HDZ42LN7.js → queue-surface-implementation-PJ6QNIIS.js} +4 -3
- package/dist/{queue-surface-implementation-HDZ42LN7.js.map → queue-surface-implementation-PJ6QNIIS.js.map} +1 -1
- package/dist/{sandbox-files-6JY7WVMO.js → sandbox-files-7KII6DMG.js} +4 -3
- package/dist/session-app.css +1 -1
- package/dist/session-app.css.map +1 -1
- package/dist/session-app.js +140 -139
- package/dist/{session-connect-cards-VTSJODCX.js → session-connect-cards-HQ26DLEC.js} +6 -5
- package/dist/session-ui.js +16 -15
- package/dist/this-computer.js +2 -1
- package/dist/ui/access-list.js +3 -2
- package/dist/ui/access-list.js.map +1 -1
- package/dist/ui/confirm-dialog.js +3 -2
- package/dist/ui/detail-page.js +3 -2
- package/dist/ui/detail-sheet.js +3 -2
- package/dist/ui/dialog.js +2 -1
- package/dist/ui/disclosure.js +4 -3
- package/dist/ui/flush-form-page.js +3 -2
- package/dist/ui/form-dialog.js +2 -1
- package/dist/ui/role-select.js +3 -2
- package/dist/ui/sheet.js +2 -1
- package/package.json +6 -5
- package/src/app/components/command-menu/command-menu.tsx +232 -228
- package/src/components/file-browser.tsx +69 -64
- package/src/components/session-capability-frame.tsx +36 -34
- package/src/components/this-computer/this-computer-setup.tsx +36 -29
- package/src/lib/modal-layer.tsx +33 -0
- package/src/timeline/screenshot-lightbox.tsx +137 -128
- package/src/ui/detail-sheet.tsx +44 -40
- package/src/ui/dialog.tsx +39 -35
- package/src/ui/form-dialog-layer.test.tsx +4 -3
- package/src/ui/form-dialog.tsx +28 -26
- package/src/ui/sheet.tsx +36 -46
- package/styles/compiled.css +57 -12
- package/styles/index.css +19 -0
- package/styles/this-computer.css +1 -1
- package/dist/chunk-5BRK72J5.js.map +0 -1
- package/dist/chunk-5I6CWDA6.js.map +0 -1
- package/dist/chunk-BOZN54YB.js.map +0 -1
- package/dist/chunk-CBSBNUGV.js.map +0 -1
- package/dist/chunk-CGS44LYC.js.map +0 -1
- package/dist/chunk-DECSYLBP.js.map +0 -1
- package/dist/chunk-R6OBJ7LF.js.map +0 -1
- package/dist/chunk-YRJZYQ5A.js.map +0 -1
- /package/dist/{chunk-2ZC62PY4.js.map → chunk-27DX32KU.js.map} +0 -0
- /package/dist/{chunk-UOBJFO25.js.map → chunk-2YHJDLQ6.js.map} +0 -0
- /package/dist/{chunk-XF55A7CC.js.map → chunk-3PWUHPI3.js.map} +0 -0
- /package/dist/{chunk-SHW2QUOE.js.map → chunk-46AGEZPT.js.map} +0 -0
- /package/dist/{chunk-A36WG3BT.js.map → chunk-4O625K2Z.js.map} +0 -0
- /package/dist/{chunk-O5JDQZGV.js.map → chunk-4PFXNHD3.js.map} +0 -0
- /package/dist/{chunk-MHL727ZE.js.map → chunk-4Y7U555D.js.map} +0 -0
- /package/dist/{chunk-QAS2OFG5.js.map → chunk-55OSFR6X.js.map} +0 -0
- /package/dist/{chunk-XKPVWLMM.js.map → chunk-55WQUVYL.js.map} +0 -0
- /package/dist/{chunk-FXFOKD7A.js.map → chunk-5AHIKB3O.js.map} +0 -0
- /package/dist/{chunk-3X4HTUUR.js.map → chunk-5EPGDDTD.js.map} +0 -0
- /package/dist/{chunk-4GFLP4OY.js.map → chunk-5JOUWSLX.js.map} +0 -0
- /package/dist/{chunk-ZWFLYN7T.js.map → chunk-62GT2LCX.js.map} +0 -0
- /package/dist/{chunk-EJYHPNXD.js.map → chunk-6CA4YNYN.js.map} +0 -0
- /package/dist/{chunk-6SPEMI7K.js.map → chunk-6DE2HW3M.js.map} +0 -0
- /package/dist/{chunk-QJ4YC4PM.js.map → chunk-6DLMD7KG.js.map} +0 -0
- /package/dist/{chunk-FX4HG4FR.js.map → chunk-6J47ZMXT.js.map} +0 -0
- /package/dist/{chunk-QFMPAR74.js.map → chunk-6MZBNUS7.js.map} +0 -0
- /package/dist/{chunk-4T2RJ2HY.js.map → chunk-6POCXFQ3.js.map} +0 -0
- /package/dist/{chunk-SQJQVTHA.js.map → chunk-6TZCTX6E.js.map} +0 -0
- /package/dist/{chunk-WKBJNGYV.js.map → chunk-7TLWNWKZ.js.map} +0 -0
- /package/dist/{chunk-AP63EUPJ.js.map → chunk-7YMWRNRQ.js.map} +0 -0
- /package/dist/{chunk-KWOYMJKM.js.map → chunk-AAAI5TIL.js.map} +0 -0
- /package/dist/{chunk-AJIGRQIO.js.map → chunk-AXVOG3MT.js.map} +0 -0
- /package/dist/{chunk-5JOTMM3F.js.map → chunk-AZGB2BZJ.js.map} +0 -0
- /package/dist/{chunk-DJ4X4U4A.js.map → chunk-B2FPBEKA.js.map} +0 -0
- /package/dist/{chunk-EGSRY63C.js.map → chunk-B36N6XFA.js.map} +0 -0
- /package/dist/{chunk-M47MKLW2.js.map → chunk-BECGUNN3.js.map} +0 -0
- /package/dist/{chunk-4YNWA5YG.js.map → chunk-BFVFEPP5.js.map} +0 -0
- /package/dist/{chunk-4GUPD7CJ.js.map → chunk-BXWD463P.js.map} +0 -0
- /package/dist/{chunk-CHKHQHOO.js.map → chunk-CCFP6FTE.js.map} +0 -0
- /package/dist/{chunk-DHXRMZPQ.js.map → chunk-CDDXDIVD.js.map} +0 -0
- /package/dist/{chunk-NY5DX43C.js.map → chunk-CF7IEYNK.js.map} +0 -0
- /package/dist/{chunk-3GENISSH.js.map → chunk-CTH2JX5L.js.map} +0 -0
- /package/dist/{chunk-67JCL67N.js.map → chunk-D5Q3F4SL.js.map} +0 -0
- /package/dist/{chunk-LC5E7CVA.js.map → chunk-DA26C7SS.js.map} +0 -0
- /package/dist/{chunk-GKOIWZ4C.js.map → chunk-DGA3TRYX.js.map} +0 -0
- /package/dist/{chunk-2XZ3EUSP.js.map → chunk-DKL7Q3HN.js.map} +0 -0
- /package/dist/{chunk-ADNH5GSP.js.map → chunk-DVHK3W3Z.js.map} +0 -0
- /package/dist/{chunk-UJB54P4M.js.map → chunk-EFYA6GKK.js.map} +0 -0
- /package/dist/{chunk-PMVZYQ5W.js.map → chunk-EI4CJ35K.js.map} +0 -0
- /package/dist/{chunk-TYZ3WUKG.js.map → chunk-ELAHUFCS.js.map} +0 -0
- /package/dist/{chunk-3775TQE5.js.map → chunk-EMKPIKUP.js.map} +0 -0
- /package/dist/{chunk-24S44WBL.js.map → chunk-EZWH2XKH.js.map} +0 -0
- /package/dist/{chunk-DLMMQMKZ.js.map → chunk-FWUNKYKA.js.map} +0 -0
- /package/dist/{chunk-NFZAMHSR.js.map → chunk-G57RPR2K.js.map} +0 -0
- /package/dist/{chunk-PBKG2OPJ.js.map → chunk-GGIPEZLL.js.map} +0 -0
- /package/dist/{chunk-6P3QOMPV.js.map → chunk-H24ONMRX.js.map} +0 -0
- /package/dist/{chunk-7J3TLTPI.js.map → chunk-HC4LIYSX.js.map} +0 -0
- /package/dist/{chunk-N3AAMSBH.js.map → chunk-HKIU3FUV.js.map} +0 -0
- /package/dist/{chunk-POUIWV6K.js.map → chunk-HSAIQG5R.js.map} +0 -0
- /package/dist/{chunk-CSGKUDNB.js.map → chunk-HT4SOZ7O.js.map} +0 -0
- /package/dist/{chunk-3IEVQMGO.js.map → chunk-HWLXEZLE.js.map} +0 -0
- /package/dist/{chunk-UHBIXNRW.js.map → chunk-HY3DB3M7.js.map} +0 -0
- /package/dist/{chunk-RWWQLVGV.js.map → chunk-I63EUR7P.js.map} +0 -0
- /package/dist/{chunk-6GYRHQVL.js.map → chunk-IXKW5KDM.js.map} +0 -0
- /package/dist/{chunk-VCWRMKTQ.js.map → chunk-J47H3REM.js.map} +0 -0
- /package/dist/{chunk-M3WCB73E.js.map → chunk-J7DZIHS2.js.map} +0 -0
- /package/dist/{chunk-AGW5H6QV.js.map → chunk-JBVYNQCJ.js.map} +0 -0
- /package/dist/{chunk-5JG277OH.js.map → chunk-JSHYM6DC.js.map} +0 -0
- /package/dist/{chunk-YNIDJOGT.js.map → chunk-JV2GCAFK.js.map} +0 -0
- /package/dist/{chunk-CZPN2HP3.js.map → chunk-JZQES6B3.js.map} +0 -0
- /package/dist/{chunk-WZZV7DUU.js.map → chunk-K7YG6HOF.js.map} +0 -0
- /package/dist/{chunk-DWPE3Y7M.js.map → chunk-KHYSGVKI.js.map} +0 -0
- /package/dist/{chunk-RLS563ST.js.map → chunk-KR3OBB6D.js.map} +0 -0
- /package/dist/{chunk-D2VP4C5B.js.map → chunk-KR5DIEIJ.js.map} +0 -0
- /package/dist/{chunk-FZOK37SC.js.map → chunk-KZQDP2JM.js.map} +0 -0
- /package/dist/{chunk-GCURVP5U.js.map → chunk-LASWCFNG.js.map} +0 -0
- /package/dist/{chunk-3VSKLEUE.js.map → chunk-LKSYKT5N.js.map} +0 -0
- /package/dist/{chunk-OMYT3X2Y.js.map → chunk-LODXHPRX.js.map} +0 -0
- /package/dist/{chunk-YPM3T3UM.js.map → chunk-LT2SBHD4.js.map} +0 -0
- /package/dist/{chunk-YIR4KVJO.js.map → chunk-LZD7C57L.js.map} +0 -0
- /package/dist/{chunk-ZU5WVSHV.js.map → chunk-MYTGKJVJ.js.map} +0 -0
- /package/dist/{chunk-QHGWFKTK.js.map → chunk-N5X5SALG.js.map} +0 -0
- /package/dist/{chunk-S6GFECVG.js.map → chunk-NIOCEDKB.js.map} +0 -0
- /package/dist/{chunk-VJAP57SP.js.map → chunk-NLIQ5Q5P.js.map} +0 -0
- /package/dist/{chunk-36YTBVYF.js.map → chunk-NRSRVVES.js.map} +0 -0
- /package/dist/{chunk-VWEGG7JQ.js.map → chunk-NZTK5K62.js.map} +0 -0
- /package/dist/{chunk-XSR6J5LY.js.map → chunk-ODUGG2UX.js.map} +0 -0
- /package/dist/{chunk-N4TJ7A7I.js.map → chunk-OFM6KBQW.js.map} +0 -0
- /package/dist/{chunk-Y2LD4FTV.js.map → chunk-PFGTT67J.js.map} +0 -0
- /package/dist/{chunk-H4NDK35I.js.map → chunk-PGMXITPB.js.map} +0 -0
- /package/dist/{chunk-3N3EN7FA.js.map → chunk-PP32RE26.js.map} +0 -0
- /package/dist/{chunk-NU4HYZ3C.js.map → chunk-PSPSBDX6.js.map} +0 -0
- /package/dist/{chunk-PIPD74PT.js.map → chunk-PVWRMFOJ.js.map} +0 -0
- /package/dist/{chunk-DEKCTHXM.js.map → chunk-QPTMXXKH.js.map} +0 -0
- /package/dist/{chunk-AU2DT7O2.js.map → chunk-R2T4IUNB.js.map} +0 -0
- /package/dist/{chunk-GFMRMSFN.js.map → chunk-RDFVLQB5.js.map} +0 -0
- /package/dist/{chunk-QSG6FWOK.js.map → chunk-RQAIDGK5.js.map} +0 -0
- /package/dist/{chunk-7CIMPDGL.js.map → chunk-S5CFVAP7.js.map} +0 -0
- /package/dist/{chunk-GQF2HWQE.js.map → chunk-S7WZXVO5.js.map} +0 -0
- /package/dist/{chunk-QCJ6SNCP.js.map → chunk-S7YAUVSI.js.map} +0 -0
- /package/dist/{chunk-F47X7XPQ.js.map → chunk-SHF6AUPV.js.map} +0 -0
- /package/dist/{chunk-GH4VY3H5.js.map → chunk-SHZU6YNE.js.map} +0 -0
- /package/dist/{chunk-BY7AWWDB.js.map → chunk-SNACGK3Z.js.map} +0 -0
- /package/dist/{chunk-J6YVN3W7.js.map → chunk-TCGRPODU.js.map} +0 -0
- /package/dist/{chunk-ZAGLLXX5.js.map → chunk-TMFKWDG2.js.map} +0 -0
- /package/dist/{chunk-DGS62JWP.js.map → chunk-TSEFP5YJ.js.map} +0 -0
- /package/dist/{chunk-VMJN6YQL.js.map → chunk-U3PMZACT.js.map} +0 -0
- /package/dist/{chunk-RG7PMYWW.js.map → chunk-U5ZNMGCK.js.map} +0 -0
- /package/dist/{chunk-UNOJ5PNN.js.map → chunk-UBH3EU7U.js.map} +0 -0
- /package/dist/{chunk-6WGJB6GO.js.map → chunk-UBZH5QUL.js.map} +0 -0
- /package/dist/{chunk-SBWVYYRA.js.map → chunk-UJINPULJ.js.map} +0 -0
- /package/dist/{chunk-QHF4B7R4.js.map → chunk-UN4IMPAY.js.map} +0 -0
- /package/dist/{chunk-D4AF4SOJ.js.map → chunk-UVEBRB7E.js.map} +0 -0
- /package/dist/{chunk-K7GGLL2U.js.map → chunk-UYVGM6PW.js.map} +0 -0
- /package/dist/{chunk-GNTEF5TL.js.map → chunk-V2YQ6S74.js.map} +0 -0
- /package/dist/{chunk-STTCF3OR.js.map → chunk-VBZEXBZU.js.map} +0 -0
- /package/dist/{chunk-GJFTPSGN.js.map → chunk-VFCN7PBE.js.map} +0 -0
- /package/dist/{chunk-NRAVQJE2.js.map → chunk-VLDKWGHD.js.map} +0 -0
- /package/dist/{chunk-XDWW2DLJ.js.map → chunk-VYUKLLZC.js.map} +0 -0
- /package/dist/{chunk-H6DJIEO6.js.map → chunk-WGZ4FCZX.js.map} +0 -0
- /package/dist/{chunk-GBGJIR6F.js.map → chunk-WZFEUXSX.js.map} +0 -0
- /package/dist/{chunk-HUS2QEPV.js.map → chunk-XRCZBTNS.js.map} +0 -0
- /package/dist/{chunk-5CGZOJN7.js.map → chunk-Y22EVXGQ.js.map} +0 -0
- /package/dist/{chunk-27HN57HE.js.map → chunk-YX565KDW.js.map} +0 -0
- /package/dist/{chunk-72PGXQDN.js.map → chunk-ZJJNOSFC.js.map} +0 -0
- /package/dist/{chunk-BRJLN3ZL.js.map → chunk-ZXX2MRAP.js.map} +0 -0
- /package/dist/{sandbox-files-6JY7WVMO.js.map → sandbox-files-7KII6DMG.js.map} +0 -0
- /package/dist/{session-connect-cards-VTSJODCX.js.map → session-connect-cards-HQ26DLEC.js.map} +0 -0
|
@@ -93,6 +93,7 @@ import {
|
|
|
93
93
|
} from "../../lib/actions/registry";
|
|
94
94
|
import { cn } from "../../lib/utils";
|
|
95
95
|
import { DialogOverlay, DialogPortal } from "../../../ui/dialog";
|
|
96
|
+
import { ModalLayer } from "../../../lib/modal-layer";
|
|
96
97
|
import { formatRelativeTime } from "../../../ui/relative-time";
|
|
97
98
|
import { Keycaps } from "./keycaps";
|
|
98
99
|
import { ChatTitleInParent } from "./chat-title";
|
|
@@ -1345,241 +1346,244 @@ function CommandMenuDialog(props: {
|
|
|
1345
1346
|
return (
|
|
1346
1347
|
<DialogPrimitive.Root open={props.open} onOpenChange={onOpenChange}>
|
|
1347
1348
|
<DialogPortal>
|
|
1348
|
-
<DialogOverlay className="bg-black/25 dark:bg-black/45"
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
event.preventDefault();
|
|
1355
|
-
inputRef.current?.focus();
|
|
1356
|
-
}}
|
|
1357
|
-
onCloseAutoFocus={(event) => {
|
|
1358
|
-
// An action moves focus where it belongs (the new chat's composer,
|
|
1359
|
-
// the title being renamed); only a plain close returns focus.
|
|
1360
|
-
if (ranAction.current) {
|
|
1361
|
-
event.preventDefault();
|
|
1362
|
-
return;
|
|
1363
|
-
}
|
|
1364
|
-
const target = props.returnFocus.current;
|
|
1365
|
-
if (target?.isConnected) {
|
|
1349
|
+
<ModalLayer overlay={DialogOverlay} className="bg-black/25 dark:bg-black/45">
|
|
1350
|
+
<DialogPrimitive.Content
|
|
1351
|
+
data-og-command-menu=""
|
|
1352
|
+
aria-label="Command menu"
|
|
1353
|
+
aria-describedby={undefined}
|
|
1354
|
+
onOpenAutoFocus={(event) => {
|
|
1366
1355
|
event.preventDefault();
|
|
1367
|
-
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
// reached from the menu, before it closes the menu.
|
|
1376
|
-
if (!focusChat && !(pickingWorkspace && !props.pickWorkspace)) return;
|
|
1377
|
-
event.preventDefault();
|
|
1378
|
-
leaveChat();
|
|
1379
|
-
}}
|
|
1380
|
-
onKeyDown={onKeyDown}
|
|
1381
|
-
className={cn(
|
|
1382
|
-
"fixed top-[12dvh] left-1/2 z-50 flex max-h-[min(560px,76dvh)] w-[calc(100vw-1.5rem)] max-w-[640px] -translate-x-1/2 flex-col overflow-hidden",
|
|
1383
|
-
"rounded-2xl border border-border bg-surface text-fg shadow-og-lg outline-hidden",
|
|
1384
|
-
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-98",
|
|
1385
|
-
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-98",
|
|
1386
|
-
"duration-[120ms] max-sm:top-3",
|
|
1387
|
-
)}
|
|
1388
|
-
>
|
|
1389
|
-
<DialogPrimitive.Title className="sr-only">Command menu</DialogPrimitive.Title>
|
|
1390
|
-
<div className="flex min-h-13 shrink-0 items-center gap-2.5 border-b border-border px-4">
|
|
1391
|
-
<SearchIcon aria-hidden="true" className="size-4 shrink-0 text-fg-muted" />
|
|
1392
|
-
{focusChat ? (
|
|
1393
|
-
<button
|
|
1394
|
-
type="button"
|
|
1395
|
-
onClick={leaveChat}
|
|
1396
|
-
title="Back to all results"
|
|
1397
|
-
className="inline-flex max-w-[45%] shrink-0 items-center gap-1 rounded-full bg-hover py-0.5 pr-1.5 pl-2.5 text-xs font-medium text-fg outline-hidden hover:bg-selection focus-visible:outline-2 focus-visible:outline-ring/55"
|
|
1398
|
-
>
|
|
1399
|
-
<span className="truncate">{focusChat.title}</span>
|
|
1400
|
-
<ChevronRightIcon aria-hidden="true" className="size-3.5 text-fg-muted" />
|
|
1401
|
-
</button>
|
|
1402
|
-
) : pickingWorkspace ? (
|
|
1403
|
-
<button
|
|
1404
|
-
type="button"
|
|
1405
|
-
onClick={leaveChat}
|
|
1406
|
-
title="Back to all results"
|
|
1407
|
-
className="inline-flex shrink-0 items-center gap-1 rounded-full bg-hover py-0.5 pr-1.5 pl-2.5 text-xs font-medium text-fg outline-hidden hover:bg-selection focus-visible:outline-2 focus-visible:outline-ring/55"
|
|
1408
|
-
>
|
|
1409
|
-
Workspaces
|
|
1410
|
-
<ChevronRightIcon aria-hidden="true" className="size-3.5 text-fg-muted" />
|
|
1411
|
-
</button>
|
|
1412
|
-
) : null}
|
|
1413
|
-
<input
|
|
1414
|
-
ref={inputRef}
|
|
1415
|
-
role="combobox"
|
|
1416
|
-
aria-expanded="true"
|
|
1417
|
-
aria-controls={listId}
|
|
1418
|
-
aria-autocomplete="list"
|
|
1419
|
-
aria-activedescendant={activeItem ? optionId(activeItem) : undefined}
|
|
1420
|
-
aria-label={
|
|
1421
|
-
focusChat
|
|
1422
|
-
? `Actions for ${focusChat.title}`
|
|
1423
|
-
: pickingWorkspace
|
|
1424
|
-
? "Search workspaces"
|
|
1425
|
-
: meetingPages
|
|
1426
|
-
? "Search chats, apps, meetings and actions"
|
|
1427
|
-
: "Search chats, apps and actions"
|
|
1356
|
+
inputRef.current?.focus();
|
|
1357
|
+
}}
|
|
1358
|
+
onCloseAutoFocus={(event) => {
|
|
1359
|
+
// An action moves focus where it belongs (the new chat's composer,
|
|
1360
|
+
// the title being renamed); only a plain close returns focus.
|
|
1361
|
+
if (ranAction.current) {
|
|
1362
|
+
event.preventDefault();
|
|
1363
|
+
return;
|
|
1428
1364
|
}
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
className="min-h-0 flex-1 overflow-y-auto overscroll-contain p-1.5"
|
|
1365
|
+
const target = props.returnFocus.current;
|
|
1366
|
+
if (target?.isConnected) {
|
|
1367
|
+
event.preventDefault();
|
|
1368
|
+
target.focus({ preventScroll: true });
|
|
1369
|
+
}
|
|
1370
|
+
const next = afterClose.current;
|
|
1371
|
+
afterClose.current = null;
|
|
1372
|
+
next?.();
|
|
1373
|
+
}}
|
|
1374
|
+
onEscapeKeyDown={(event) => {
|
|
1375
|
+
// Esc steps back out of a chat's actions, or the workspace list
|
|
1376
|
+
// reached from the menu, before it closes the menu.
|
|
1377
|
+
if (!focusChat && !(pickingWorkspace && !props.pickWorkspace)) return;
|
|
1378
|
+
event.preventDefault();
|
|
1379
|
+
leaveChat();
|
|
1380
|
+
}}
|
|
1381
|
+
onKeyDown={onKeyDown}
|
|
1382
|
+
className={cn(
|
|
1383
|
+
"fixed top-[12dvh] left-1/2 z-50 flex max-h-[min(560px,76dvh)] w-[calc(100vw-1.5rem)] max-w-[640px] -translate-x-1/2 flex-col overflow-hidden",
|
|
1384
|
+
"rounded-2xl border border-border bg-surface text-fg shadow-og-lg outline-hidden",
|
|
1385
|
+
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-98",
|
|
1386
|
+
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-98",
|
|
1387
|
+
"duration-[120ms] max-sm:top-3",
|
|
1388
|
+
)}
|
|
1454
1389
|
>
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
{
|
|
1532
|
-
<ChatStatusMarks status={item.status ?? null} />
|
|
1533
|
-
{item.meta ? (
|
|
1534
|
-
<span className="shrink-0 text-xs text-fg-muted tabular-nums">
|
|
1535
|
-
{item.meta}
|
|
1536
|
-
</span>
|
|
1537
|
-
) : null}
|
|
1538
|
-
{item.chord ? (
|
|
1539
|
-
// Touch screens have no keys to press.
|
|
1540
|
-
<Keycaps
|
|
1541
|
-
chord={item.chord}
|
|
1542
|
-
platform={platform}
|
|
1543
|
-
className="pointer-coarse:hidden"
|
|
1544
|
-
/>
|
|
1545
|
-
) : null}
|
|
1390
|
+
<DialogPrimitive.Title className="sr-only">Command menu</DialogPrimitive.Title>
|
|
1391
|
+
<div className="flex min-h-13 shrink-0 items-center gap-2.5 border-b border-border px-4">
|
|
1392
|
+
<SearchIcon aria-hidden="true" className="size-4 shrink-0 text-fg-muted" />
|
|
1393
|
+
{focusChat ? (
|
|
1394
|
+
<button
|
|
1395
|
+
type="button"
|
|
1396
|
+
onClick={leaveChat}
|
|
1397
|
+
title="Back to all results"
|
|
1398
|
+
className="inline-flex max-w-[45%] shrink-0 items-center gap-1 rounded-full bg-hover py-0.5 pr-1.5 pl-2.5 text-xs font-medium text-fg outline-hidden hover:bg-selection focus-visible:outline-2 focus-visible:outline-ring/55"
|
|
1399
|
+
>
|
|
1400
|
+
<span className="truncate">{focusChat.title}</span>
|
|
1401
|
+
<ChevronRightIcon aria-hidden="true" className="size-3.5 text-fg-muted" />
|
|
1402
|
+
</button>
|
|
1403
|
+
) : pickingWorkspace ? (
|
|
1404
|
+
<button
|
|
1405
|
+
type="button"
|
|
1406
|
+
onClick={leaveChat}
|
|
1407
|
+
title="Back to all results"
|
|
1408
|
+
className="inline-flex shrink-0 items-center gap-1 rounded-full bg-hover py-0.5 pr-1.5 pl-2.5 text-xs font-medium text-fg outline-hidden hover:bg-selection focus-visible:outline-2 focus-visible:outline-ring/55"
|
|
1409
|
+
>
|
|
1410
|
+
Workspaces
|
|
1411
|
+
<ChevronRightIcon aria-hidden="true" className="size-3.5 text-fg-muted" />
|
|
1412
|
+
</button>
|
|
1413
|
+
) : null}
|
|
1414
|
+
<input
|
|
1415
|
+
ref={inputRef}
|
|
1416
|
+
role="combobox"
|
|
1417
|
+
aria-expanded="true"
|
|
1418
|
+
aria-controls={listId}
|
|
1419
|
+
aria-autocomplete="list"
|
|
1420
|
+
aria-activedescendant={activeItem ? optionId(activeItem) : undefined}
|
|
1421
|
+
aria-label={
|
|
1422
|
+
focusChat
|
|
1423
|
+
? `Actions for ${focusChat.title}`
|
|
1424
|
+
: pickingWorkspace
|
|
1425
|
+
? "Search workspaces"
|
|
1426
|
+
: meetingPages
|
|
1427
|
+
? "Search chats, apps, meetings and actions"
|
|
1428
|
+
: "Search chats, apps and actions"
|
|
1429
|
+
}
|
|
1430
|
+
autoComplete="off"
|
|
1431
|
+
autoCorrect="off"
|
|
1432
|
+
spellCheck={false}
|
|
1433
|
+
enterKeyHint="go"
|
|
1434
|
+
value={query}
|
|
1435
|
+
maxLength={200}
|
|
1436
|
+
placeholder={placeholder}
|
|
1437
|
+
onChange={(event) => setQuery(event.target.value)}
|
|
1438
|
+
// The whole menu is the focus context; a ring on the field adds noise.
|
|
1439
|
+
style={{ outline: "none" }}
|
|
1440
|
+
className="h-13 min-w-0 flex-1 bg-transparent text-[15px] text-fg outline-hidden placeholder:text-fg-subtle"
|
|
1441
|
+
/>
|
|
1442
|
+
{searching ? (
|
|
1443
|
+
<span
|
|
1444
|
+
aria-hidden="true"
|
|
1445
|
+
className="size-3.5 shrink-0 animate-spin rounded-full border-[1.5px] border-fg-subtle/40 border-t-fg-muted"
|
|
1446
|
+
/>
|
|
1447
|
+
) : null}
|
|
1448
|
+
</div>
|
|
1449
|
+
<div
|
|
1450
|
+
ref={listRef}
|
|
1451
|
+
id={listId}
|
|
1452
|
+
role="listbox"
|
|
1453
|
+
aria-label={focusChat ? "Chat actions" : pickingWorkspace ? "Workspaces" : "Results"}
|
|
1454
|
+
className="min-h-0 flex-1 overflow-y-auto overscroll-contain p-1.5"
|
|
1455
|
+
>
|
|
1456
|
+
{items.length === 0 ? (
|
|
1457
|
+
<p className="px-2.5 py-6 text-center text-sm text-fg-muted">
|
|
1458
|
+
{searching ? "Searching…" : "No matches"}
|
|
1459
|
+
</p>
|
|
1460
|
+
) : (
|
|
1461
|
+
groups.map((group) =>
|
|
1462
|
+
group.items.length === 0 ? null : (
|
|
1463
|
+
<div key={group.label} role="group" aria-label={group.label}>
|
|
1464
|
+
{groups.length > 1 || !focusChat ? (
|
|
1465
|
+
<div className="truncate px-2.5 pt-2 pb-1 text-xs leading-4.5 font-medium text-fg-muted">
|
|
1466
|
+
{group.label}
|
|
1546
1467
|
</div>
|
|
1547
|
-
)
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1468
|
+
) : null}
|
|
1469
|
+
{group.items.map((item) => {
|
|
1470
|
+
const index = items.indexOf(item);
|
|
1471
|
+
const selected = index === activeIndex;
|
|
1472
|
+
const Icon = item.icon;
|
|
1473
|
+
return (
|
|
1474
|
+
<div
|
|
1475
|
+
key={item.key}
|
|
1476
|
+
id={optionId(item)}
|
|
1477
|
+
data-item-key={item.key}
|
|
1478
|
+
role="option"
|
|
1479
|
+
aria-selected={selected}
|
|
1480
|
+
onPointerMove={() => {
|
|
1481
|
+
if (!selected) setActive(index);
|
|
1482
|
+
}}
|
|
1483
|
+
onPointerDown={(event) => event.preventDefault()}
|
|
1484
|
+
onClick={(event) =>
|
|
1485
|
+
item.run({
|
|
1486
|
+
newTab: platform === "mac" ? event.metaKey : event.ctrlKey,
|
|
1487
|
+
})
|
|
1488
|
+
}
|
|
1489
|
+
className={cn(
|
|
1490
|
+
"relative flex min-h-9 w-full min-w-0 cursor-default items-center gap-2.5 rounded-[10px] px-2.5 py-1.5 text-sm text-fg-label select-none pointer-coarse:min-h-11",
|
|
1491
|
+
selected ? "bg-hover text-fg" : null,
|
|
1492
|
+
)}
|
|
1493
|
+
>
|
|
1494
|
+
{item.chat ? (
|
|
1495
|
+
<ChatAvatar
|
|
1496
|
+
chat={item.chat}
|
|
1497
|
+
name={item.chat.title}
|
|
1498
|
+
fallback={
|
|
1499
|
+
<Icon
|
|
1500
|
+
aria-hidden="true"
|
|
1501
|
+
className={cn(
|
|
1502
|
+
"size-4 shrink-0",
|
|
1503
|
+
selected ? "text-fg" : "text-fg-muted",
|
|
1504
|
+
)}
|
|
1505
|
+
/>
|
|
1506
|
+
}
|
|
1507
|
+
/>
|
|
1508
|
+
) : item.tile ? (
|
|
1509
|
+
<span
|
|
1510
|
+
aria-hidden="true"
|
|
1511
|
+
className="flex size-4 shrink-0 items-center justify-center rounded-[4px] bg-surface-3 text-2xs font-semibold text-fg-muted"
|
|
1512
|
+
>
|
|
1513
|
+
{item.tile}
|
|
1514
|
+
</span>
|
|
1515
|
+
) : (
|
|
1516
|
+
<Icon
|
|
1517
|
+
aria-hidden="true"
|
|
1518
|
+
className={cn(
|
|
1519
|
+
"size-4 shrink-0",
|
|
1520
|
+
selected ? "text-fg" : "text-fg-muted",
|
|
1521
|
+
)}
|
|
1522
|
+
/>
|
|
1523
|
+
)}
|
|
1524
|
+
{item.parentTitle ? (
|
|
1525
|
+
<ChatTitleInParent
|
|
1526
|
+
title={<Highlighted text={item.title} query={item.highlight} />}
|
|
1527
|
+
parentTitle={item.parentTitle}
|
|
1528
|
+
/>
|
|
1529
|
+
) : (
|
|
1530
|
+
<span className="min-w-0 flex-1 truncate">
|
|
1531
|
+
<Highlighted text={item.title} query={item.highlight} />
|
|
1532
|
+
</span>
|
|
1533
|
+
)}
|
|
1534
|
+
{item.workspaceTag ? <WorkspaceTag name={item.workspaceTag} /> : null}
|
|
1535
|
+
<ChatStatusMarks status={item.status ?? null} />
|
|
1536
|
+
{item.meta ? (
|
|
1537
|
+
<span className="shrink-0 text-xs text-fg-muted tabular-nums">
|
|
1538
|
+
{item.meta}
|
|
1539
|
+
</span>
|
|
1540
|
+
) : null}
|
|
1541
|
+
{item.chord ? (
|
|
1542
|
+
// Touch screens have no keys to press.
|
|
1543
|
+
<Keycaps
|
|
1544
|
+
chord={item.chord}
|
|
1545
|
+
platform={platform}
|
|
1546
|
+
className="pointer-coarse:hidden"
|
|
1547
|
+
/>
|
|
1548
|
+
) : null}
|
|
1549
|
+
</div>
|
|
1550
|
+
);
|
|
1551
|
+
})}
|
|
1552
|
+
</div>
|
|
1553
|
+
),
|
|
1554
|
+
)
|
|
1555
|
+
)}
|
|
1556
|
+
</div>
|
|
1557
|
+
<div className="hidden shrink-0 items-center gap-4 border-t border-border px-4 py-2 text-xs text-fg-muted pointer-fine:flex">
|
|
1558
|
+
<FooterHint
|
|
1559
|
+
keys={[{ code: "ArrowUp" }, { code: "ArrowDown" }]}
|
|
1560
|
+
label="Move"
|
|
1561
|
+
platform={platform}
|
|
1562
|
+
/>
|
|
1571
1563
|
<FooterHint
|
|
1572
|
-
keys={[{ code: "Enter"
|
|
1573
|
-
label="
|
|
1564
|
+
keys={[{ code: "Enter" }]}
|
|
1565
|
+
label={pickingWorkspace ? "Switch" : "Open"}
|
|
1574
1566
|
platform={platform}
|
|
1575
1567
|
/>
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1568
|
+
{focusChat || pickingWorkspace ? (
|
|
1569
|
+
<FooterHint keys={[{ code: "Escape" }]} label="Back" platform={platform} />
|
|
1570
|
+
) : (
|
|
1571
|
+
<FooterHint keys={[{ code: "Tab" }]} label="Chat actions" platform={platform} />
|
|
1572
|
+
)}
|
|
1573
|
+
{surface === "web" && !focusChat && !pickingWorkspace ? (
|
|
1574
|
+
<FooterHint
|
|
1575
|
+
keys={[{ code: "Enter", mod: true }]}
|
|
1576
|
+
label="New tab"
|
|
1577
|
+
platform={platform}
|
|
1578
|
+
/>
|
|
1579
|
+
) : null}
|
|
1580
|
+
<span className="ml-auto inline-flex items-center gap-1.5">
|
|
1581
|
+
<Keycaps chord={{ code: "Slash", mod: true }} platform={platform} />
|
|
1582
|
+
All shortcuts
|
|
1583
|
+
</span>
|
|
1584
|
+
</div>
|
|
1585
|
+
</DialogPrimitive.Content>
|
|
1586
|
+
</ModalLayer>
|
|
1583
1587
|
</DialogPortal>
|
|
1584
1588
|
</DialogPrimitive.Root>
|
|
1585
1589
|
);
|
|
@@ -27,6 +27,7 @@ import { AlertDialog } from "radix-ui";
|
|
|
27
27
|
import { usePortalContainer } from "../ui/portal-container";
|
|
28
28
|
import { VList, type VListHandle } from "virtua";
|
|
29
29
|
import { cn } from "../lib/cn";
|
|
30
|
+
import { ModalLayer } from "../lib/modal-layer";
|
|
30
31
|
import { MENU_BUTTON_CLASS, MENU_SEPARATOR_CLASS, MENU_SURFACE_CLASS } from "../lib/menu-styles";
|
|
31
32
|
import {
|
|
32
33
|
type PortalTokenStyle,
|
|
@@ -1228,72 +1229,76 @@ function DeleteDialog({
|
|
|
1228
1229
|
<AlertDialog.Portal
|
|
1229
1230
|
container={portalContainer ?? (typeof document === "undefined" ? null : document.body)}
|
|
1230
1231
|
>
|
|
1231
|
-
<
|
|
1232
|
-
|
|
1233
|
-
className="og-root fixed
|
|
1234
|
-
style={portalTokenStyle}
|
|
1235
|
-
onOpenAutoFocus={(event) => {
|
|
1236
|
-
event.preventDefault();
|
|
1237
|
-
cancelRef.current?.focus();
|
|
1238
|
-
}}
|
|
1239
|
-
onCloseAutoFocus={(event) => {
|
|
1240
|
-
event.preventDefault();
|
|
1241
|
-
scheduleSettle();
|
|
1242
|
-
}}
|
|
1243
|
-
onEscapeKeyDown={(event) => {
|
|
1244
|
-
event.stopPropagation();
|
|
1245
|
-
if (busy) {
|
|
1246
|
-
event.preventDefault();
|
|
1247
|
-
} else {
|
|
1248
|
-
closeIntentRef.current = "cancel";
|
|
1249
|
-
}
|
|
1250
|
-
}}
|
|
1232
|
+
<ModalLayer
|
|
1233
|
+
overlay={AlertDialog.Overlay}
|
|
1234
|
+
className="og-root fixed inset-0 z-[100] bg-black/45 before:pointer-events-none before:absolute before:inset-0 before:backdrop-blur-[2px]"
|
|
1251
1235
|
>
|
|
1252
|
-
<
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1236
|
+
<AlertDialog.Content
|
|
1237
|
+
className="og-root fixed left-1/2 top-1/2 z-[101] max-h-[calc(100dvh-2rem)] w-[calc(100%-2rem)] max-w-sm -translate-x-1/2 -translate-y-1/2 overflow-y-auto rounded-og-lg border border-og-border-strong bg-og-surface-1 p-4 text-og-fg shadow-2xl outline-hidden"
|
|
1238
|
+
style={portalTokenStyle}
|
|
1239
|
+
onOpenAutoFocus={(event) => {
|
|
1240
|
+
event.preventDefault();
|
|
1241
|
+
cancelRef.current?.focus();
|
|
1242
|
+
}}
|
|
1243
|
+
onCloseAutoFocus={(event) => {
|
|
1244
|
+
event.preventDefault();
|
|
1245
|
+
scheduleSettle();
|
|
1246
|
+
}}
|
|
1247
|
+
onEscapeKeyDown={(event) => {
|
|
1248
|
+
event.stopPropagation();
|
|
1249
|
+
if (busy) {
|
|
1250
|
+
event.preventDefault();
|
|
1251
|
+
} else {
|
|
1252
|
+
closeIntentRef.current = "cancel";
|
|
1253
|
+
}
|
|
1254
|
+
}}
|
|
1255
|
+
>
|
|
1256
|
+
<div className="flex items-start gap-3">
|
|
1257
|
+
<span className="flex size-9 shrink-0 items-center justify-center rounded-full bg-og-status-failed/12 text-og-status-failed">
|
|
1258
|
+
<Trash2Icon className="size-4" aria-hidden />
|
|
1259
|
+
</span>
|
|
1260
|
+
<div className="min-w-0">
|
|
1261
|
+
<AlertDialog.Title className="text-og-sm font-semibold">
|
|
1262
|
+
{t("fileBrowser.delete")}{" "}
|
|
1263
|
+
{node.kind === "dir" ? t("fileBrowser.folder") : t("fileBrowser.file")}?
|
|
1264
|
+
</AlertDialog.Title>
|
|
1265
|
+
<AlertDialog.Description className="mt-1 text-og-sm leading-relaxed text-og-fg-muted">
|
|
1266
|
+
<span className="break-all font-og-mono text-og-fg">{node.path}</span>
|
|
1267
|
+
{node.kind === "dir"
|
|
1268
|
+
? " and everything inside it will be permanently removed."
|
|
1269
|
+
: " will be permanently removed."}
|
|
1270
|
+
</AlertDialog.Description>
|
|
1271
|
+
</div>
|
|
1267
1272
|
</div>
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
</
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
</
|
|
1294
|
-
</
|
|
1295
|
-
</
|
|
1296
|
-
</
|
|
1273
|
+
<div className="mt-4 flex justify-end gap-2">
|
|
1274
|
+
<AlertDialog.Cancel asChild>
|
|
1275
|
+
<button
|
|
1276
|
+
ref={cancelRef}
|
|
1277
|
+
type="button"
|
|
1278
|
+
onClick={() => {
|
|
1279
|
+
closeIntentRef.current = "cancel";
|
|
1280
|
+
}}
|
|
1281
|
+
disabled={busy}
|
|
1282
|
+
className="min-h-9 rounded-og-md border border-og-border px-3 text-og-sm font-medium text-og-fg hover:bg-og-surface-2 disabled:opacity-50 pointer-coarse:min-h-11"
|
|
1283
|
+
>
|
|
1284
|
+
{t("fileBrowser.cancel")}
|
|
1285
|
+
</button>
|
|
1286
|
+
</AlertDialog.Cancel>
|
|
1287
|
+
<AlertDialog.Action asChild>
|
|
1288
|
+
<button
|
|
1289
|
+
type="button"
|
|
1290
|
+
onClick={() => {
|
|
1291
|
+
closeIntentRef.current = "confirm";
|
|
1292
|
+
}}
|
|
1293
|
+
disabled={busy}
|
|
1294
|
+
className="min-h-9 rounded-og-md bg-og-danger-fill px-3 text-og-sm font-semibold text-og-danger-fg shadow-sm hover:brightness-110 disabled:opacity-50 pointer-coarse:min-h-11"
|
|
1295
|
+
>
|
|
1296
|
+
{t("fileBrowser.deletePermanently")}
|
|
1297
|
+
</button>
|
|
1298
|
+
</AlertDialog.Action>
|
|
1299
|
+
</div>
|
|
1300
|
+
</AlertDialog.Content>
|
|
1301
|
+
</ModalLayer>
|
|
1297
1302
|
</AlertDialog.Portal>
|
|
1298
1303
|
</AlertDialog.Root>
|
|
1299
1304
|
);
|