@celljs/ta-web 4.27.0 → 4.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +1 -1
- package/README.md +1 -1
- package/esm/browser/assistant/assistant-role.d.ts +9 -4
- package/esm/browser/assistant/assistant-role.js +17 -5
- package/esm/browser/assistant/assistant-task-util.d.ts +6 -0
- package/esm/browser/assistant/assistant-task-util.js +12 -1
- package/esm/browser/assistant/assistant-thread.js +15 -2
- package/esm/browser/assistant/assistant-view.js +4 -1
- package/esm/browser/assistant/assistant.d.ts +2 -1
- package/esm/browser/assistant/assistant.js +9 -7
- package/esm/browser/assistant/call-conversing.d.ts +45 -0
- package/esm/browser/assistant/call-conversing.js +91 -0
- package/esm/browser/assistant/call-face.d.ts +13 -0
- package/esm/browser/assistant/call-face.js +81 -0
- package/esm/browser/assistant/call-keeper.d.ts +8 -4
- package/esm/browser/assistant/call-keeper.js +32 -11
- package/esm/browser/assistant/call-partnering.d.ts +37 -0
- package/esm/browser/assistant/call-partnering.js +79 -0
- package/esm/browser/assistant/call-scenes.d.ts +26 -0
- package/esm/browser/assistant/call-scenes.js +85 -0
- package/esm/browser/assistant/call-screen.d.ts +3 -0
- package/esm/browser/assistant/call-screen.js +15 -0
- package/esm/browser/assistant/mic-sense.d.ts +31 -0
- package/esm/browser/assistant/mic-sense.js +119 -0
- package/esm/browser/assistant/noise-gate.d.ts +32 -0
- package/esm/browser/assistant/noise-gate.js +66 -0
- package/esm/browser/assistant/pcm-util.d.ts +10 -0
- package/esm/browser/assistant/pcm-util.js +55 -0
- package/esm/browser/assistant/read-aloud.d.ts +2 -1
- package/esm/browser/assistant/realtime-voice-protocol.d.ts +84 -0
- package/esm/browser/assistant/realtime-voice-protocol.js +40 -0
- package/esm/browser/assistant/realtime-voice.d.ts +50 -62
- package/esm/browser/assistant/realtime-voice.js +213 -134
- package/esm/browser/assistant/spoken-timeline.d.ts +27 -0
- package/esm/browser/assistant/spoken-timeline.js +49 -0
- package/esm/browser/assistant/voice-call-bar.d.ts +9 -2
- package/esm/browser/assistant/voice-call-bar.js +81 -31
- package/esm/browser/assistant/voice-call-protocol.d.ts +61 -4
- package/esm/browser/assistant/voice-call.d.ts +16 -23
- package/esm/browser/assistant/voice-call.js +134 -117
- package/esm/browser/assistant/voice-reading.d.ts +83 -0
- package/esm/browser/assistant/voice-reading.js +150 -0
- package/esm/browser/avatar/dino-talk.d.ts +15 -0
- package/esm/browser/avatar/dino-talk.js +34 -0
- package/esm/browser/chat/chat-protocol.d.ts +2 -0
- package/esm/browser/chat/chat-shown.d.ts +3 -1
- package/esm/browser/chat/chat-shown.js +25 -3
- package/esm/browser/chat/chat.d.ts +5 -1
- package/esm/browser/chat/chat.js +32 -16
- package/esm/browser/components/account-menu.d.ts +6 -16
- package/esm/browser/components/account-menu.js +47 -101
- package/esm/browser/components/app-contexts.js +3 -2
- package/esm/browser/components/cloud-sign-in-view.d.ts +1 -1
- package/esm/browser/components/composer-box-protocol.d.ts +2 -0
- package/esm/browser/components/composer-box.js +20 -1
- package/esm/browser/components/composer-emoji.d.ts +22 -0
- package/esm/browser/components/composer-emoji.js +50 -0
- package/esm/browser/components/conversation-scroll-util.d.ts +8 -1
- package/esm/browser/components/conversation-scroll-util.js +21 -0
- package/esm/browser/components/conversation-scroll.js +10 -11
- package/esm/browser/components/discover-view.d.ts +4 -3
- package/esm/browser/components/discover-view.js +5 -4
- package/esm/browser/components/emoji-panel.d.ts +22 -0
- package/esm/browser/components/emoji-panel.js +54 -0
- package/esm/browser/components/gallery.js +28 -7
- package/esm/browser/components/host-view.d.ts +1 -1
- package/esm/browser/components/image-pull.d.ts +64 -0
- package/esm/browser/components/image-pull.js +202 -0
- package/esm/browser/components/kept-call-bar.js +2 -1
- package/esm/browser/components/lightbox.d.ts +1 -1
- package/esm/browser/components/lightbox.js +57 -2
- package/esm/browser/components/markdown.d.ts +8 -1
- package/esm/browser/components/markdown.js +12 -4
- package/esm/browser/components/me-rows.d.ts +24 -0
- package/esm/browser/components/me-rows.js +19 -0
- package/esm/browser/components/me-view.d.ts +2 -1
- package/esm/browser/components/me-view.js +3 -2
- package/esm/browser/components/message-list.js +47 -7
- package/esm/browser/components/message-steps.js +13 -0
- package/esm/browser/components/nav-places.js +1 -1
- package/esm/browser/components/partner-row.js +2 -1
- package/esm/browser/components/relay-services.d.ts +9 -3
- package/esm/browser/components/relay-services.js +73 -35
- package/esm/browser/components/session-view.js +4 -2
- package/esm/browser/components/settings-choices.js +3 -0
- package/esm/browser/components/settings-controls.d.ts +13 -0
- package/esm/browser/components/settings-controls.js +19 -0
- package/esm/browser/components/settings-more.d.ts +1 -1
- package/esm/browser/components/settings-more.js +28 -39
- package/esm/browser/components/settings-parts.d.ts +4 -2
- package/esm/browser/components/settings-parts.js +16 -9
- package/esm/browser/components/settings-view.js +2 -6
- package/esm/browser/components/ta-avatar.d.ts +15 -1
- package/esm/browser/components/ta-avatar.js +38 -5
- package/esm/browser/components/voice-services.js +6 -1
- package/esm/browser/components/web-composer.d.ts +1 -1
- package/esm/browser/components/web-composer.js +2 -2
- package/esm/browser/device/file-save.d.ts +31 -0
- package/esm/browser/device/file-save.js +80 -0
- package/esm/browser/extension/extension-view.d.ts +2 -0
- package/esm/browser/extension/extension-view.js +2 -0
- package/esm/browser/extension/web-api-call.d.ts +109 -2
- package/esm/browser/extension/web-api-components.d.ts +4 -0
- package/esm/browser/extension/web-api-contributions.d.ts +14 -14
- package/esm/browser/extension/web-api-desktop.d.ts +16 -1
- package/esm/browser/extension/web-api-desktop.js +1 -0
- package/esm/browser/extension/web-api-partners.d.ts +2 -0
- package/esm/browser/extension/web-extension-api.d.ts +8 -10
- package/esm/browser/extension/web-extension-code.d.ts +15 -8
- package/esm/browser/extension/web-extension-code.js +25 -27
- package/esm/browser/extension/web-extension-context.js +4 -0
- package/esm/browser/extension/web-extension-protocol.d.ts +10 -1
- package/esm/browser/extension/web-extension-protocol.js +1 -0
- package/esm/browser/extension/web-extension-run.d.ts +4 -2
- package/esm/browser/extension/web-extension-run.js +10 -4
- package/esm/browser/extension/web-extensions-running.js +7 -6
- package/esm/browser/extension/web-pages.d.ts +2 -0
- package/esm/browser/extension/web-pages.js +2 -0
- package/esm/browser/i18n/en/account.d.ts +202 -0
- package/esm/browser/i18n/en/account.js +205 -0
- package/esm/browser/i18n/en/assistant.d.ts +129 -0
- package/esm/browser/i18n/en/assistant.js +130 -0
- package/esm/browser/i18n/en/call.d.ts +86 -0
- package/esm/browser/i18n/en/call.js +87 -0
- package/esm/browser/i18n/en/chat.d.ts +213 -0
- package/esm/browser/i18n/en/chat.js +214 -0
- package/esm/browser/i18n/en/common.d.ts +99 -0
- package/esm/browser/i18n/en/common.js +101 -0
- package/esm/browser/i18n/en/console.d.ts +230 -0
- package/esm/browser/i18n/en/console.js +232 -0
- package/esm/browser/i18n/en/discover.d.ts +117 -0
- package/esm/browser/i18n/en/discover.js +119 -0
- package/esm/browser/i18n/en/service.d.ts +242 -0
- package/esm/browser/i18n/en/service.js +245 -0
- package/esm/browser/i18n/en/settings.d.ts +213 -0
- package/esm/browser/i18n/en/settings.js +214 -0
- package/esm/browser/i18n/en/tools.d.ts +85 -0
- package/esm/browser/i18n/en/tools.js +87 -0
- package/esm/browser/i18n/ja/account.d.ts +2 -0
- package/esm/browser/i18n/ja/account.js +202 -0
- package/esm/browser/i18n/ja/assistant.d.ts +2 -0
- package/esm/browser/i18n/ja/assistant.js +129 -0
- package/esm/browser/i18n/ja/call.d.ts +2 -0
- package/esm/browser/i18n/ja/call.js +86 -0
- package/esm/browser/i18n/ja/chat.d.ts +2 -0
- package/esm/browser/i18n/ja/chat.js +213 -0
- package/esm/browser/i18n/ja/common.d.ts +2 -0
- package/esm/browser/i18n/ja/common.js +99 -0
- package/esm/browser/i18n/ja/console.d.ts +2 -0
- package/esm/browser/i18n/ja/console.js +230 -0
- package/esm/browser/i18n/ja/discover.d.ts +2 -0
- package/esm/browser/i18n/ja/discover.js +117 -0
- package/esm/browser/i18n/ja/service.d.ts +2 -0
- package/esm/browser/i18n/ja/service.js +242 -0
- package/esm/browser/i18n/ja/settings.d.ts +2 -0
- package/esm/browser/i18n/ja/settings.js +213 -0
- package/esm/browser/i18n/ja/tools.d.ts +2 -0
- package/esm/browser/i18n/ja/tools.js +85 -0
- package/esm/browser/i18n/locales.d.ts +1150 -1131
- package/esm/browser/i18n/messages-ja.js +20 -1567
- package/esm/browser/i18n/messages-zh-tw.d.ts +0 -1
- package/esm/browser/i18n/messages-zh-tw.js +20 -1568
- package/esm/browser/i18n/messages.d.ts +1153 -1131
- package/esm/browser/i18n/messages.js +44 -3145
- package/esm/browser/i18n/zh/account.d.ts +2 -0
- package/esm/browser/i18n/zh/account.js +203 -0
- package/esm/browser/i18n/zh/assistant.d.ts +2 -0
- package/esm/browser/i18n/zh/assistant.js +129 -0
- package/esm/browser/i18n/zh/call.d.ts +2 -0
- package/esm/browser/i18n/zh/call.js +86 -0
- package/esm/browser/i18n/zh/chat.d.ts +2 -0
- package/esm/browser/i18n/zh/chat.js +213 -0
- package/esm/browser/i18n/zh/common.d.ts +2 -0
- package/esm/browser/i18n/zh/common.js +99 -0
- package/esm/browser/i18n/zh/console.d.ts +2 -0
- package/esm/browser/i18n/zh/console.js +230 -0
- package/esm/browser/i18n/zh/discover.d.ts +2 -0
- package/esm/browser/i18n/zh/discover.js +117 -0
- package/esm/browser/i18n/zh/service.d.ts +2 -0
- package/esm/browser/i18n/zh/service.js +242 -0
- package/esm/browser/i18n/zh/settings.d.ts +2 -0
- package/esm/browser/i18n/zh/settings.js +213 -0
- package/esm/browser/i18n/zh/tools.d.ts +2 -0
- package/esm/browser/i18n/zh/tools.js +86 -0
- package/esm/browser/i18n/zh-tw/account.d.ts +2 -0
- package/esm/browser/i18n/zh-tw/account.js +202 -0
- package/esm/browser/i18n/zh-tw/assistant.d.ts +2 -0
- package/esm/browser/i18n/zh-tw/assistant.js +129 -0
- package/esm/browser/i18n/zh-tw/call.d.ts +2 -0
- package/esm/browser/i18n/zh-tw/call.js +86 -0
- package/esm/browser/i18n/zh-tw/chat.d.ts +2 -0
- package/esm/browser/i18n/zh-tw/chat.js +213 -0
- package/esm/browser/i18n/zh-tw/common.d.ts +2 -0
- package/esm/browser/i18n/zh-tw/common.js +99 -0
- package/esm/browser/i18n/zh-tw/console.d.ts +2 -0
- package/esm/browser/i18n/zh-tw/console.js +230 -0
- package/esm/browser/i18n/zh-tw/discover.d.ts +2 -0
- package/esm/browser/i18n/zh-tw/discover.js +117 -0
- package/esm/browser/i18n/zh-tw/service.d.ts +2 -0
- package/esm/browser/i18n/zh-tw/service.js +242 -0
- package/esm/browser/i18n/zh-tw/settings.d.ts +2 -0
- package/esm/browser/i18n/zh-tw/settings.js +213 -0
- package/esm/browser/i18n/zh-tw/tools.d.ts +2 -0
- package/esm/browser/i18n/zh-tw/tools.js +85 -0
- package/esm/browser/markdown/code-renderers.d.ts +2 -0
- package/esm/browser/markdown/code-renderers.js +2 -0
- package/esm/browser/offline/device-values.d.ts +4 -0
- package/esm/browser/offline/device-values.js +10 -0
- package/esm/browser/pwa/page-build.d.ts +15 -0
- package/esm/browser/pwa/page-build.js +45 -0
- package/esm/browser/screen/page-answers.d.ts +2 -1
- package/esm/browser/screen/page-answers.js +7 -4
- package/esm/browser/settings/settings-protocol.d.ts +4 -0
- package/esm/browser/settings/settings-protocol.js +4 -0
- package/esm/browser/style/base.d.ts +1 -1
- package/esm/browser/style/base.js +3 -0
- package/esm/browser/style/chat-list.d.ts +1 -1
- package/esm/browser/style/chat-list.js +1 -1
- package/esm/browser/style/conversation-column.d.ts +1 -1
- package/esm/browser/style/conversation-column.js +17 -0
- package/esm/browser/style/conversation.d.ts +1 -1
- package/esm/browser/style/conversation.js +11 -1
- package/esm/browser/style/device.js +1 -0
- package/esm/browser/style/dialogs.d.ts +1 -1
- package/esm/browser/style/dialogs.js +1 -1
- package/esm/browser/style/layout.d.ts +1 -1
- package/esm/browser/style/layout.js +135 -57
- package/esm/browser/style/pages.d.ts +1 -1
- package/esm/browser/style/pages.js +0 -7
- package/esm/browser/style/shell.d.ts +1 -1
- package/esm/browser/style/shell.js +8 -0
- package/esm/browser/style/video-call.d.ts +2 -0
- package/esm/browser/style/video-call.js +63 -0
- package/esm/browser/style.js +2 -0
- package/esm/browser/util/call-transcript.d.ts +16 -0
- package/esm/browser/util/call-transcript.js +110 -0
- package/esm/browser/util/desktop.d.ts +10 -1
- package/esm/browser/util/desktop.js +10 -0
- package/esm/browser/util/image-pull.d.ts +61 -0
- package/esm/browser/util/image-pull.js +88 -0
- package/esm/browser/util/process.d.ts +6 -0
- package/esm/browser/util/process.js +18 -5
- package/esm/browser/util/spoken.d.ts +3 -3
- package/esm/browser/util/spoken.js +4 -4
- package/esm/browser/video-call/call-camera.d.ts +59 -0
- package/esm/browser/video-call/call-camera.js +188 -0
- package/esm/browser/video-call/call-people.d.ts +21 -0
- package/esm/browser/video-call/call-people.js +29 -0
- package/esm/browser/video-call/call-window.d.ts +19 -0
- package/esm/browser/video-call/call-window.js +80 -0
- package/esm/browser/video-call/clip-plan.d.ts +56 -0
- package/esm/browser/video-call/clip-plan.js +76 -0
- package/esm/browser/video-call/face-camera.d.ts +93 -0
- package/esm/browser/video-call/face-camera.js +192 -0
- package/esm/browser/video-call/face-files.d.ts +69 -0
- package/esm/browser/video-call/face-files.js +132 -0
- package/esm/browser/video-call/face-moves.d.ts +68 -0
- package/esm/browser/video-call/face-moves.js +180 -0
- package/esm/browser/video-call/face-stage.d.ts +139 -0
- package/esm/browser/video-call/face-stage.js +219 -0
- package/esm/browser/video-call/mouth-layer.d.ts +81 -0
- package/esm/browser/video-call/mouth-layer.js +241 -0
- package/esm/browser/video-call/video-call-view.d.ts +19 -0
- package/esm/browser/video-call/video-call-view.js +254 -0
- package/esm/browser/video-call/video-face.d.ts +19 -0
- package/esm/browser/video-call/video-face.js +471 -0
- package/esm/browser/workbench-hosts.d.ts +1 -0
- package/esm/browser/workbench-protocol.d.ts +2 -0
- package/esm/browser/workbench-util.d.ts +5 -0
- package/esm/browser/workbench-util.js +18 -0
- package/esm/browser/workbench.d.ts +14 -0
- package/esm/browser/workbench.js +73 -6
- package/lib/browser/assistant/assistant-role.d.ts +9 -4
- package/lib/browser/assistant/assistant-role.js +17 -5
- package/lib/browser/assistant/assistant-task-util.d.ts +6 -0
- package/lib/browser/assistant/assistant-task-util.js +11 -0
- package/lib/browser/assistant/assistant-thread.js +15 -2
- package/lib/browser/assistant/assistant-view.js +3 -0
- package/lib/browser/assistant/assistant.d.ts +2 -1
- package/lib/browser/assistant/assistant.js +9 -7
- package/lib/browser/assistant/call-conversing.d.ts +46 -0
- package/lib/browser/assistant/call-conversing.js +96 -0
- package/lib/browser/assistant/call-face.d.ts +14 -0
- package/lib/browser/assistant/call-face.js +117 -0
- package/lib/browser/assistant/call-keeper.d.ts +8 -4
- package/lib/browser/assistant/call-keeper.js +32 -11
- package/lib/browser/assistant/call-partnering.d.ts +38 -0
- package/lib/browser/assistant/call-partnering.js +83 -0
- package/lib/browser/assistant/call-scenes.d.ts +27 -0
- package/lib/browser/assistant/call-scenes.js +88 -0
- package/lib/browser/assistant/call-screen.d.ts +3 -0
- package/lib/browser/assistant/call-screen.js +15 -0
- package/lib/browser/assistant/mic-sense.d.ts +32 -0
- package/lib/browser/assistant/mic-sense.js +123 -0
- package/lib/browser/assistant/noise-gate.d.ts +33 -0
- package/lib/browser/assistant/noise-gate.js +71 -0
- package/lib/browser/assistant/pcm-util.d.ts +11 -0
- package/lib/browser/assistant/pcm-util.js +58 -0
- package/lib/browser/assistant/read-aloud.d.ts +2 -1
- package/lib/browser/assistant/realtime-voice-protocol.d.ts +85 -0
- package/lib/browser/assistant/realtime-voice-protocol.js +43 -0
- package/lib/browser/assistant/realtime-voice.d.ts +50 -62
- package/lib/browser/assistant/realtime-voice.js +217 -138
- package/lib/browser/assistant/spoken-timeline.d.ts +28 -0
- package/lib/browser/assistant/spoken-timeline.js +53 -0
- package/lib/browser/assistant/voice-call-bar.d.ts +9 -2
- package/lib/browser/assistant/voice-call-bar.js +81 -30
- package/lib/browser/assistant/voice-call-protocol.d.ts +61 -4
- package/lib/browser/assistant/voice-call.d.ts +16 -23
- package/lib/browser/assistant/voice-call.js +134 -117
- package/lib/browser/assistant/voice-reading.d.ts +84 -0
- package/lib/browser/assistant/voice-reading.js +156 -0
- package/lib/browser/avatar/dino-talk.d.ts +16 -0
- package/lib/browser/avatar/dino-talk.js +37 -0
- package/lib/browser/chat/chat-protocol.d.ts +2 -0
- package/lib/browser/chat/chat-shown.d.ts +3 -1
- package/lib/browser/chat/chat-shown.js +25 -3
- package/lib/browser/chat/chat.d.ts +5 -1
- package/lib/browser/chat/chat.js +32 -16
- package/lib/browser/components/account-menu.d.ts +6 -16
- package/lib/browser/components/account-menu.js +45 -99
- package/lib/browser/components/app-contexts.js +2 -1
- package/lib/browser/components/cloud-sign-in-view.d.ts +1 -1
- package/lib/browser/components/composer-box-protocol.d.ts +2 -0
- package/lib/browser/components/composer-box.js +20 -1
- package/lib/browser/components/composer-emoji.d.ts +23 -0
- package/lib/browser/components/composer-emoji.js +87 -0
- package/lib/browser/components/conversation-scroll-util.d.ts +8 -1
- package/lib/browser/components/conversation-scroll-util.js +21 -0
- package/lib/browser/components/conversation-scroll.js +10 -11
- package/lib/browser/components/discover-view.d.ts +4 -3
- package/lib/browser/components/discover-view.js +5 -4
- package/lib/browser/components/emoji-panel.d.ts +23 -0
- package/lib/browser/components/emoji-panel.js +90 -0
- package/lib/browser/components/gallery.js +28 -7
- package/lib/browser/components/host-view.d.ts +1 -1
- package/lib/browser/components/image-pull.d.ts +65 -0
- package/lib/browser/components/image-pull.js +206 -0
- package/lib/browser/components/kept-call-bar.js +2 -1
- package/lib/browser/components/lightbox.d.ts +1 -1
- package/lib/browser/components/lightbox.js +57 -2
- package/lib/browser/components/markdown.d.ts +8 -1
- package/lib/browser/components/markdown.js +11 -3
- package/lib/browser/components/me-rows.d.ts +25 -0
- package/lib/browser/components/me-rows.js +22 -0
- package/lib/browser/components/me-view.d.ts +2 -1
- package/lib/browser/components/me-view.js +3 -2
- package/lib/browser/components/message-list.js +46 -6
- package/lib/browser/components/message-steps.js +13 -0
- package/lib/browser/components/nav-places.js +1 -1
- package/lib/browser/components/partner-row.js +2 -1
- package/lib/browser/components/relay-services.d.ts +9 -3
- package/lib/browser/components/relay-services.js +71 -33
- package/lib/browser/components/session-view.js +3 -1
- package/lib/browser/components/settings-choices.js +3 -0
- package/lib/browser/components/settings-controls.d.ts +13 -0
- package/lib/browser/components/settings-controls.js +19 -0
- package/lib/browser/components/settings-more.d.ts +1 -1
- package/lib/browser/components/settings-more.js +27 -38
- package/lib/browser/components/settings-parts.d.ts +4 -2
- package/lib/browser/components/settings-parts.js +15 -8
- package/lib/browser/components/settings-view.js +2 -6
- package/lib/browser/components/ta-avatar.d.ts +15 -1
- package/lib/browser/components/ta-avatar.js +38 -5
- package/lib/browser/components/voice-services.js +5 -0
- package/lib/browser/components/web-composer.d.ts +1 -1
- package/lib/browser/components/web-composer.js +2 -2
- package/lib/browser/device/file-save.d.ts +32 -0
- package/lib/browser/device/file-save.js +83 -0
- package/lib/browser/extension/extension-view.d.ts +2 -0
- package/lib/browser/extension/extension-view.js +3 -1
- package/lib/browser/extension/web-api-call.d.ts +109 -2
- package/lib/browser/extension/web-api-components.d.ts +4 -0
- package/lib/browser/extension/web-api-contributions.d.ts +14 -14
- package/lib/browser/extension/web-api-desktop.d.ts +16 -1
- package/lib/browser/extension/web-api-desktop.js +1 -0
- package/lib/browser/extension/web-api-partners.d.ts +2 -0
- package/lib/browser/extension/web-extension-api.d.ts +8 -10
- package/lib/browser/extension/web-extension-code.d.ts +15 -8
- package/lib/browser/extension/web-extension-code.js +25 -27
- package/lib/browser/extension/web-extension-context.js +4 -0
- package/lib/browser/extension/web-extension-protocol.d.ts +10 -1
- package/lib/browser/extension/web-extension-protocol.js +1 -0
- package/lib/browser/extension/web-extension-run.d.ts +4 -2
- package/lib/browser/extension/web-extension-run.js +10 -4
- package/lib/browser/extension/web-extensions-running.js +7 -6
- package/lib/browser/extension/web-pages.d.ts +2 -0
- package/lib/browser/extension/web-pages.js +2 -0
- package/lib/browser/i18n/en/account.d.ts +203 -0
- package/lib/browser/i18n/en/account.js +208 -0
- package/lib/browser/i18n/en/assistant.d.ts +130 -0
- package/lib/browser/i18n/en/assistant.js +133 -0
- package/lib/browser/i18n/en/call.d.ts +87 -0
- package/lib/browser/i18n/en/call.js +90 -0
- package/lib/browser/i18n/en/chat.d.ts +214 -0
- package/lib/browser/i18n/en/chat.js +217 -0
- package/lib/browser/i18n/en/common.d.ts +100 -0
- package/lib/browser/i18n/en/common.js +104 -0
- package/lib/browser/i18n/en/console.d.ts +231 -0
- package/lib/browser/i18n/en/console.js +235 -0
- package/lib/browser/i18n/en/discover.d.ts +118 -0
- package/lib/browser/i18n/en/discover.js +122 -0
- package/lib/browser/i18n/en/service.d.ts +243 -0
- package/lib/browser/i18n/en/service.js +248 -0
- package/lib/browser/i18n/en/settings.d.ts +214 -0
- package/lib/browser/i18n/en/settings.js +217 -0
- package/lib/browser/i18n/en/tools.d.ts +86 -0
- package/lib/browser/i18n/en/tools.js +90 -0
- package/lib/browser/i18n/ja/account.d.ts +3 -0
- package/lib/browser/i18n/ja/account.js +205 -0
- package/lib/browser/i18n/ja/assistant.d.ts +3 -0
- package/lib/browser/i18n/ja/assistant.js +132 -0
- package/lib/browser/i18n/ja/call.d.ts +3 -0
- package/lib/browser/i18n/ja/call.js +89 -0
- package/lib/browser/i18n/ja/chat.d.ts +3 -0
- package/lib/browser/i18n/ja/chat.js +216 -0
- package/lib/browser/i18n/ja/common.d.ts +3 -0
- package/lib/browser/i18n/ja/common.js +102 -0
- package/lib/browser/i18n/ja/console.d.ts +3 -0
- package/lib/browser/i18n/ja/console.js +233 -0
- package/lib/browser/i18n/ja/discover.d.ts +3 -0
- package/lib/browser/i18n/ja/discover.js +120 -0
- package/lib/browser/i18n/ja/service.d.ts +3 -0
- package/lib/browser/i18n/ja/service.js +245 -0
- package/lib/browser/i18n/ja/settings.d.ts +3 -0
- package/lib/browser/i18n/ja/settings.js +216 -0
- package/lib/browser/i18n/ja/tools.d.ts +3 -0
- package/lib/browser/i18n/ja/tools.js +88 -0
- package/lib/browser/i18n/locales.d.ts +1150 -1131
- package/lib/browser/i18n/messages-ja.js +20 -1567
- package/lib/browser/i18n/messages-zh-tw.d.ts +0 -1
- package/lib/browser/i18n/messages-zh-tw.js +20 -1568
- package/lib/browser/i18n/messages.d.ts +1153 -1131
- package/lib/browser/i18n/messages.js +44 -3145
- package/lib/browser/i18n/zh/account.d.ts +3 -0
- package/lib/browser/i18n/zh/account.js +206 -0
- package/lib/browser/i18n/zh/assistant.d.ts +3 -0
- package/lib/browser/i18n/zh/assistant.js +132 -0
- package/lib/browser/i18n/zh/call.d.ts +3 -0
- package/lib/browser/i18n/zh/call.js +89 -0
- package/lib/browser/i18n/zh/chat.d.ts +3 -0
- package/lib/browser/i18n/zh/chat.js +216 -0
- package/lib/browser/i18n/zh/common.d.ts +3 -0
- package/lib/browser/i18n/zh/common.js +102 -0
- package/lib/browser/i18n/zh/console.d.ts +3 -0
- package/lib/browser/i18n/zh/console.js +233 -0
- package/lib/browser/i18n/zh/discover.d.ts +3 -0
- package/lib/browser/i18n/zh/discover.js +120 -0
- package/lib/browser/i18n/zh/service.d.ts +3 -0
- package/lib/browser/i18n/zh/service.js +245 -0
- package/lib/browser/i18n/zh/settings.d.ts +3 -0
- package/lib/browser/i18n/zh/settings.js +216 -0
- package/lib/browser/i18n/zh/tools.d.ts +3 -0
- package/lib/browser/i18n/zh/tools.js +89 -0
- package/lib/browser/i18n/zh-tw/account.d.ts +3 -0
- package/lib/browser/i18n/zh-tw/account.js +205 -0
- package/lib/browser/i18n/zh-tw/assistant.d.ts +3 -0
- package/lib/browser/i18n/zh-tw/assistant.js +132 -0
- package/lib/browser/i18n/zh-tw/call.d.ts +3 -0
- package/lib/browser/i18n/zh-tw/call.js +89 -0
- package/lib/browser/i18n/zh-tw/chat.d.ts +3 -0
- package/lib/browser/i18n/zh-tw/chat.js +216 -0
- package/lib/browser/i18n/zh-tw/common.d.ts +3 -0
- package/lib/browser/i18n/zh-tw/common.js +102 -0
- package/lib/browser/i18n/zh-tw/console.d.ts +3 -0
- package/lib/browser/i18n/zh-tw/console.js +233 -0
- package/lib/browser/i18n/zh-tw/discover.d.ts +3 -0
- package/lib/browser/i18n/zh-tw/discover.js +120 -0
- package/lib/browser/i18n/zh-tw/service.d.ts +3 -0
- package/lib/browser/i18n/zh-tw/service.js +245 -0
- package/lib/browser/i18n/zh-tw/settings.d.ts +3 -0
- package/lib/browser/i18n/zh-tw/settings.js +216 -0
- package/lib/browser/i18n/zh-tw/tools.d.ts +3 -0
- package/lib/browser/i18n/zh-tw/tools.js +88 -0
- package/lib/browser/markdown/code-renderers.d.ts +2 -0
- package/lib/browser/markdown/code-renderers.js +3 -1
- package/lib/browser/offline/device-values.d.ts +4 -0
- package/lib/browser/offline/device-values.js +10 -0
- package/lib/browser/pwa/page-build.d.ts +16 -0
- package/lib/browser/pwa/page-build.js +48 -0
- package/lib/browser/screen/page-answers.d.ts +2 -1
- package/lib/browser/screen/page-answers.js +7 -4
- package/lib/browser/settings/settings-protocol.d.ts +4 -0
- package/lib/browser/settings/settings-protocol.js +4 -0
- package/lib/browser/style/base.d.ts +1 -1
- package/lib/browser/style/base.js +3 -0
- package/lib/browser/style/chat-list.d.ts +1 -1
- package/lib/browser/style/chat-list.js +1 -1
- package/lib/browser/style/conversation-column.d.ts +1 -1
- package/lib/browser/style/conversation-column.js +17 -0
- package/lib/browser/style/conversation.d.ts +1 -1
- package/lib/browser/style/conversation.js +11 -1
- package/lib/browser/style/device.js +1 -0
- package/lib/browser/style/dialogs.d.ts +1 -1
- package/lib/browser/style/dialogs.js +1 -1
- package/lib/browser/style/layout.d.ts +1 -1
- package/lib/browser/style/layout.js +135 -57
- package/lib/browser/style/pages.d.ts +1 -1
- package/lib/browser/style/pages.js +0 -7
- package/lib/browser/style/shell.d.ts +1 -1
- package/lib/browser/style/shell.js +8 -0
- package/lib/browser/style/video-call.d.ts +3 -0
- package/lib/browser/style/video-call.js +66 -0
- package/lib/browser/style.js +2 -0
- package/lib/browser/util/call-transcript.d.ts +17 -0
- package/lib/browser/util/call-transcript.js +113 -0
- package/lib/browser/util/desktop.d.ts +10 -1
- package/lib/browser/util/desktop.js +10 -0
- package/lib/browser/util/image-pull.d.ts +62 -0
- package/lib/browser/util/image-pull.js +91 -0
- package/lib/browser/util/process.d.ts +6 -0
- package/lib/browser/util/process.js +17 -4
- package/lib/browser/util/spoken.d.ts +3 -3
- package/lib/browser/util/spoken.js +4 -4
- package/lib/browser/video-call/call-camera.d.ts +60 -0
- package/lib/browser/video-call/call-camera.js +192 -0
- package/lib/browser/video-call/call-people.d.ts +22 -0
- package/lib/browser/video-call/call-people.js +32 -0
- package/lib/browser/video-call/call-window.d.ts +20 -0
- package/lib/browser/video-call/call-window.js +83 -0
- package/lib/browser/video-call/clip-plan.d.ts +57 -0
- package/lib/browser/video-call/clip-plan.js +80 -0
- package/lib/browser/video-call/face-camera.d.ts +94 -0
- package/lib/browser/video-call/face-camera.js +197 -0
- package/lib/browser/video-call/face-files.d.ts +70 -0
- package/lib/browser/video-call/face-files.js +137 -0
- package/lib/browser/video-call/face-moves.d.ts +69 -0
- package/lib/browser/video-call/face-moves.js +184 -0
- package/lib/browser/video-call/face-stage.d.ts +140 -0
- package/lib/browser/video-call/face-stage.js +223 -0
- package/lib/browser/video-call/mouth-layer.d.ts +82 -0
- package/lib/browser/video-call/mouth-layer.js +245 -0
- package/lib/browser/video-call/video-call-view.d.ts +20 -0
- package/lib/browser/video-call/video-call-view.js +290 -0
- package/lib/browser/video-call/video-face.d.ts +20 -0
- package/lib/browser/video-call/video-face.js +507 -0
- package/lib/browser/workbench-hosts.d.ts +1 -0
- package/lib/browser/workbench-protocol.d.ts +2 -0
- package/lib/browser/workbench-util.d.ts +5 -0
- package/lib/browser/workbench-util.js +18 -0
- package/lib/browser/workbench.d.ts +14 -0
- package/lib/browser/workbench.js +71 -4
- package/package.json +7 -7
- package/public/faces/README.md +40 -0
- package/public/faces/blonde/clap.mp4 +0 -0
- package/public/faces/blonde/dance.mp4 +0 -0
- package/public/faces/blonde/face.jpg +0 -0
- package/public/faces/blonde/happy.mp4 +0 -0
- package/public/faces/blonde/heart.mp4 +0 -0
- package/public/faces/blonde/idle-1.mp4 +0 -0
- package/public/faces/blonde/idle-2.mp4 +0 -0
- package/public/faces/blonde/idle-3.mp4 +0 -0
- package/public/faces/blonde/laugh.mp4 +0 -0
- package/public/faces/blonde/listening.mp4 +0 -0
- package/public/faces/blonde/poster.jpg +0 -0
- package/public/faces/blonde/shy.mp4 +0 -0
- package/public/faces/blonde/sorry.mp4 +0 -0
- package/public/faces/blonde/stretch.mp4 +0 -0
- package/public/faces/blonde/surprised.mp4 +0 -0
- package/public/faces/blonde/talk-1.mp4 +0 -0
- package/public/faces/blonde/talk-2.mp4 +0 -0
- package/public/faces/blonde/think-2.mp4 +0 -0
- package/public/faces/blonde/thinking.mp4 +0 -0
- package/public/faces/blonde/wave.mp4 +0 -0
- package/public/faces/clap.mp4 +0 -0
- package/public/faces/dance.mp4 +0 -0
- package/public/faces/face.jpg +0 -0
- package/public/faces/framing.json +1 -0
- package/public/faces/happy.mp4 +0 -0
- package/public/faces/heart.mp4 +0 -0
- package/public/faces/idle-1.mp4 +0 -0
- package/public/faces/idle-2.mp4 +0 -0
- package/public/faces/idle-3.mp4 +0 -0
- package/public/faces/laugh.mp4 +0 -0
- package/public/faces/lips.json +1 -0
- package/public/faces/listening.mp4 +0 -0
- package/public/faces/poster.jpg +0 -0
- package/public/faces/shy.mp4 +0 -0
- package/public/faces/sorry.mp4 +0 -0
- package/public/faces/stretch.mp4 +0 -0
- package/public/faces/surprised.mp4 +0 -0
- package/public/faces/talk-1.mp4 +0 -0
- package/public/faces/talk-2.mp4 +0 -0
- package/public/faces/think-2.mp4 +0 -0
- package/public/faces/thinking.mp4 +0 -0
- package/public/faces/wave.mp4 +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** The layout: panes and sashes, the tabs of the editor area, menus, the workbench maximized. */
|
|
2
|
-
export declare const LAYOUT_STYLE = "\n/* Layout (t5): panes the user resizes and collapses, the sashes between them, the tabs of the editor area */\n.ta-sidebar, .ta-editors-pane { position: relative; display: flex; min-height: 0; height: 100%; }\n.ta-sidebar { width: var(--ta-pane, 260px); flex: none; }\n.ta-side-view { display: flex; flex-direction: column; gap: 6px; min-height: 0; padding: calc(8px + env(safe-area-inset-top) + var(--ta-titlebar) - var(--ta-lift)) 8px calc(8px + env(safe-area-inset-bottom)); background: var(--ta-side); border-right: 1px solid var(--ta-border-muted); }\n.ta-side-view-head { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; }\n.ta-main-head-view { flex: 1; min-width: 0; display: flex; align-items: center; }\n.ta-side-view-body { flex: 1; min-height: 0; overflow: auto; margin: 0 -8px; padding: 0 8px; }\n/* A view on its way (Loading) in the middle of its body. */\n.ta-side-view-body:has(> .ta-loading) { display: flex; flex-direction: column; }\n/* The top bar of a sidebar view on its way: its room kept, empty. */\n.ta-loading-head { flex: 1; min-width: 0; height: 36px; }\n/* Its own rows come in over the place it kept: a fade, once (the top bar is where it was). */\n.ta-side-view[data-arrived] > .ta-side-view-body { animation: ta-fade 200ms ease-out; }\n/* Rows still on their way in it (its data not read yet) take the place of the placeholder's at once, without its moment. */\n.ta-side-view[data-arrived] .ta-loading { animation: none; }\n/* The editors may not be wider than the conversation: at most half of what the other columns leave. */\n.ta-editors-pane { width: var(--ta-pane, 480px); max-width: calc((100vw - var(--ta-left, 56px) - var(--ta-right, 0px)) / 2); flex: 0 1 auto; min-width: 280px; }\n.ta-main { min-width: 400px; }\n.ta-rail-gap { width: 24px; height: 1px; flex: none; margin: 4px 0; background: var(--ta-border); }\n.ta-sash { position: absolute; z-index: 6; top: 0; bottom: 0; width: 7px; cursor: col-resize; touch-action: none; outline: none; }\n.ta-sash-start { right: -4px; }\n.ta-sash-end { left: -4px; }\n/*\n * A sash draws no line of its own: on a pause over it the border of the columns it sits on (the sidebar's right, the\n * workbench's left) lightens a little, a pixel wide, under the title bar and clear of the rounded corner of the\n * conversation; a little more while dragged.\n */\n.ta-sash::after { content: ''; position: absolute; top: calc(var(--ta-titlebar) + min(10px, var(--ta-titlebar))); bottom: 0; width: 1px; background: color-mix(in srgb, var(--ta-border-focus) 22%, transparent); opacity: 0; transition: opacity 180ms 0ms; }\n.ta-sash-start::after { left: 3px; }\n.ta-sash-end::after { left: 4px; }\n.ta-sash:hover::after { opacity: 1; transition-delay: 300ms; }\n.ta-sash.ta-dragging::after, .ta-sash:focus-visible::after { opacity: 1; background: color-mix(in srgb, var(--ta-border-focus) 45%, transparent); transition-delay: 0ms; }\n.ta-resizing, .ta-resizing * { cursor: col-resize !important; user-select: none !important; }\n.ta-resizing iframe { pointer-events: none; }\n.ta-editors { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-top: var(--ta-titlebar); background: var(--ta-side); border-left: 1px solid var(--ta-border-muted); }\n/*\n * The tabs of a wide workbench, as a browser's or an editor's: a strip the colour of the side over a line; the tab\n * shown is a card the colour of what it shows, joined to it across the line; the others lie on the strip, a short\n * line between two of them, a rounded hover inside; + follows the last. The line is an inset shadow, under the\n * tabs: the card covers it. A phone has its own head (.ta-compact, below).\n */\n.ta-editor-tabs { display: flex; align-items: flex-end; gap: 2px; height: calc(34px + var(--ta-top-gap) + env(safe-area-inset-top)); flex: none; padding: calc(var(--ta-top-gap) + env(safe-area-inset-top)) 8px 0 0; background: var(--ta-side); box-shadow: inset 0 -1px 0 var(--ta-border); }\n.ta-workbench-actions { display: flex; align-items: center; gap: 2px; flex: none; height: 34px; margin-left: auto; }\n.ta-workbench-actions .ta-icon-button, .ta-editor-tabs > .ta-workbench-open .ta-icon-button { width: 28px; height: 28px; border-radius: 7px; color: var(--ta-muted); }\n.ta-workbench-actions .ta-icon-button:hover, .ta-workbench-actions .ta-icon-button.ta-on, .ta-editor-tabs > .ta-workbench-open .ta-icon-button:is(:hover, .ta-on) { color: var(--ta-text); }\n.ta-editor-tabs > .ta-workbench-open { flex: none; align-items: center; height: 34px; }\n/* The tools of the tab shown (ui.EditorActions), right before those of the workbench, a short line between them. */\n.ta-editor-actions { display: flex; align-items: center; gap: 2px; flex: 0 1 auto; min-width: 0; height: 34px; margin-left: auto; overflow: hidden; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); white-space: nowrap; }\n.ta-editor-actions:empty { display: none; }\n.ta-editor-actions:not(:empty) ~ .ta-workbench-actions { margin-left: 0; }\n.ta-editor-actions:not(:empty)::after { content: ''; flex: none; width: 1px; height: 14px; margin: 0 4px 0 6px; background: var(--ta-border); }\n.ta-editor-tablist { flex: 0 1 auto; min-width: 0; display: flex; align-items: flex-end; align-self: stretch; padding-left: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }\n.ta-editor-tablist::-webkit-scrollbar { display: none; }\n.ta-editor-tab { position: relative; isolation: isolate; display: flex; align-items: center; flex: 0 1 auto; min-width: 92px; max-width: 200px; height: 34px; border: 1px solid transparent; border-bottom: 0; border-radius: 9px 9px 0 0; color: var(--ta-muted); transition: color 120ms; }\n.ta-editor-tab::after { content: ''; position: absolute; z-index: -1; inset: 3px 2px 4px; border-radius: 7px; background: var(--ta-hover); opacity: 0; transition: opacity 120ms; }\n.ta-editor-tab + .ta-editor-tab::before { content: ''; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 1px; background: var(--ta-border); transition: opacity 120ms; }\n.ta-editor-tab:hover { color: var(--ta-body); }\n.ta-editor-tab:not(.ta-active):hover::after { opacity: 1; }\n/* Short of room the tabs narrow, as a browser's, the one shown last; past their least width the strip scrolls. */\n.ta-editor-tab.ta-active { flex-shrink: 0; border-color: var(--ta-border); background: var(--ta-main); color: var(--ta-text); }\n.ta-editor-tab:is(:hover, .ta-active)::before, .ta-editor-tab:is(:hover, .ta-active) + .ta-editor-tab:not(.ta-active)::before { opacity: 0; }\n/*\n * The card of the tab shown flares into the line under the strip at its foot, a browser's tab: a quarter ring on each\n * side, the colour of what it shows below it.\n */\n.ta-editor-tab.ta-active::before, .ta-editor-tab.ta-active::after { content: ''; position: absolute; z-index: -1; top: auto; right: auto; bottom: 0; width: 8px; height: 8px; border-radius: 0; opacity: 1; transition: none; }\n.ta-editor-tab.ta-active::before { left: -8px; background: radial-gradient(circle at 0 0, transparent 6.5px, var(--ta-border) 7px 7.5px, var(--ta-main) 8px); }\n.ta-editor-tab.ta-active::after { left: 100%; background: radial-gradient(circle at 100% 0, transparent 6.5px, var(--ta-border) 7px 7.5px, var(--ta-main) 8px); }\n.ta-editor-tab-button { display: flex; align-items: center; gap: 7px; min-width: 0; height: 100%; padding: 0 2px 0 12px; border: 0; background: transparent; color: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-editor-tab-button:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -4px; border-radius: 8px; }\n.ta-editor-tab-button > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-editor-tab-button > :not(span:last-child) { flex: none; }\n.ta-editor-tab-close { flex: none; width: 20px; height: 20px; margin-right: 7px; display: grid; place-items: center; border: 0; border-radius: 5px; background: transparent; color: inherit; opacity: 0; }\n.ta-editor-tab:hover .ta-editor-tab-close, .ta-editor-tab.ta-active .ta-editor-tab-close, .ta-editor-tab-close:focus-visible { opacity: 1; }\n.ta-editor-tab-close:hover { background: var(--ta-hover-strong); color: var(--ta-text); }\n.ta-context-menu { position: fixed; left: 0; top: 0; z-index: 80; min-width: 190px; max-width: 320px; display: flex; flex-direction: column; gap: 1px; padding: 6px; border-radius: 12px; border: 1px solid var(--ta-border); background: var(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-fade 100ms ease-out; }\n.ta-context-menu-item { display: flex; align-items: center; flex: none; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--ta-text); font: inherit; font-size: calc(13px * var(--ta-font-scale)); text-align: left; cursor: pointer; outline: none; }\n.ta-context-menu-item:hover:not(:disabled), .ta-context-menu-item:focus-visible { background: var(--ta-hover); }\n.ta-context-menu-item:disabled { opacity: 0.45; cursor: default; }\n.ta-context-menu-item.ta-danger { color: var(--ta-red); }\n.ta-context-menu-check { flex: none; margin-left: auto; padding-left: 12px; box-sizing: content-box; color: var(--ta-brand); visibility: hidden; }\n.ta-context-menu-check.ta-on { visibility: visible; }\n/* The entry of any menu a held finger slid onto (ContextMenuUtil.attach): let go, it is chosen. */\n[role=\"menuitem\"][data-armed] { background: var(--ta-hover); }\n.ta-context-menu-line { flex: none; height: 1px; margin: 5px 8px; border: 0; background: var(--ta-border-muted); }\n.ta-context-menu-caption { flex: none; margin: 0 8px 5px; padding: 3px 2px 8px; border-bottom: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.ta-editor-tab.ta-preview .ta-editor-tab-button > span { font-style: italic; }\n.ta-editor-tab-close { position: relative; }\n.ta-editor-tab-dirty { position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close { opacity: 1; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close > svg { visibility: hidden; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close:hover > svg, .ta-editor-tab.ta-dirty .ta-editor-tab-close:focus-visible > svg { visibility: visible; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close:hover > .ta-editor-tab-dirty, .ta-editor-tab.ta-dirty .ta-editor-tab-close:focus-visible > .ta-editor-tab-dirty { display: none; }\n.ta-editor-body { flex: 1; min-height: 0; overflow: auto; background: var(--ta-main); }\n.ta-workbench-title { display: flex; align-items: center; height: 34px; padding: 0 6px; font-size: calc(13.5px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }\n.ta-workbench-open { position: relative; display: flex; }\n.ta-workbench-menu { position: absolute; top: calc(100% + 6px); z-index: 45; width: 220px; max-height: min(440px, 70vh); overflow: auto; display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 12px; border: 1px solid var(--ta-border); background: var(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-fade 120ms ease-out; }\n.ta-workbench-menu .ta-account-item { flex: none; gap: 12px; height: 36px; padding: 0 10px; font-size: calc(13.5px * var(--ta-font-scale)); color: var(--ta-body); }\n.ta-workbench-menu .ta-account-item > svg { flex: none; color: var(--ta-secondary); }\n.ta-workbench-menu .ta-account-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n/* Where the tools of + open: the directory of the conversation shown, as the caption of the menu. */\n.ta-workbench-menu-cwd { display: flex; align-items: center; gap: 6px; flex: none; min-width: 0; height: 30px; margin: 0 4px 4px; padding: 0 6px 4px; border-bottom: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); cursor: default; }\n.ta-workbench-menu-cwd > svg { flex: none; }\n.ta-workbench-menu.ta-start { left: 0; }\n.ta-workbench-menu.ta-end { right: 0; }\n/*\n * The head of the workbench on a phone (CompactHead): back, the tab shown with how many are open, which lists\n * them under it (TabSwitcher), and +. Over what it shows: the list and the scrim it lays over the tab.\n */\n.ta-editor-head-compact { position: relative; z-index: 5; flex: none; }\n.ta-compact .ta-editor-tabs { align-items: center; gap: 2px; height: calc(52px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) calc(6px + env(safe-area-inset-right)) 0 calc(4px + env(safe-area-inset-left)); background: var(--ta-main); box-shadow: inset 0 -1px 0 var(--ta-border-muted); }\n.ta-compact .ta-editor-tabs > .ta-icon-button, .ta-compact .ta-editor-tabs > .ta-workbench-open .ta-icon-button { width: 40px; height: 40px; border-radius: 10px; color: var(--ta-secondary); }\n.ta-compact .ta-editor-tabs > .ta-workbench-open { flex: none; margin-left: auto; }\n.ta-compact .ta-editor-actions { height: 40px; }\n.ta-compact .ta-editor-actions:not(:empty) ~ .ta-workbench-open { margin-left: 0; }\n.ta-compact .ta-editor-actions::after { display: none; }\n.ta-compact .ta-workbench-title { flex: 1; min-width: 0; height: auto; padding: 0 6px; color: var(--ta-text); font-size: calc(16px * var(--ta-font-scale)); }\n.ta-workbench-switch { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 6px; border: 0; border-radius: 10px; background: none; color: var(--ta-text); font: inherit; font-size: calc(16px * var(--ta-font-scale)); font-weight: 600; transition: background 120ms; }\n.ta-workbench-switch > :first-child { flex: none; color: var(--ta-secondary); }\n.ta-workbench-switch:active, .ta-workbench-switch.ta-on { background: var(--ta-hover); }\n.ta-workbench-switch-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-workbench-count { flex: none; min-width: calc(20px * var(--ta-font-scale)); height: calc(20px * var(--ta-font-scale)); padding: 0 6px; border-radius: 999px; background: var(--ta-chip); color: var(--ta-secondary); font-size: calc(12px * var(--ta-font-scale)); font-weight: 600; line-height: calc(20px * var(--ta-font-scale)); text-align: center; font-variant-numeric: tabular-nums; }\n.ta-workbench-switch-caret { flex: none; margin-left: -2px; color: var(--ta-muted); transition: transform 220ms var(--ta-ease); }\n.ta-workbench-switch.ta-on .ta-workbench-switch-caret { transform: rotate(180deg); }\n.ta-tab-switcher-scrim { position: absolute; top: 100%; left: 0; right: 0; height: 100vh; padding: 0; border: 0; background: rgba(0, 0, 0, 0.18); animation: ta-fade 180ms ease-out; -webkit-tap-highlight-color: transparent; }\n.ta-tab-switcher { position: absolute; top: calc(100% + 6px); left: calc(8px + env(safe-area-inset-left)); right: calc(8px + env(safe-area-inset-right)); display: flex; flex-direction: column; max-height: min(64vh, 520px); overflow: hidden; border: 1px solid var(--ta-border); border-radius: 16px; background: var(--ta-side); box-shadow: var(--ta-shadow-pop); transform-origin: 50% 0; animation: ta-tabs-drop 200ms var(--ta-ease); }\n@keyframes ta-tabs-drop { from { opacity: 0; transform: translate3d(0, -6px, 0) scale(0.98); } }\n.ta-tab-switcher-head { display: flex; align-items: center; gap: 10px; flex: none; height: 44px; padding: 0 6px 0 16px; border-bottom: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-tab-switcher-count { flex: none; font-weight: 500; color: var(--ta-secondary); }\n.ta-tab-switcher-all { flex: none; height: 32px; margin-left: auto; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--ta-secondary); font: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-tab-switcher-all:active { background: var(--ta-hover); }\n.ta-tab-switcher-list { display: flex; flex-direction: column; gap: 2px; min-height: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain; }\n.ta-tab-switcher-row { display: flex; align-items: center; flex: none; min-height: 48px; border-radius: 11px; transition: background 120ms; }\n.ta-tab-switcher-row.ta-active { background: var(--ta-selected); }\n.ta-tab-switcher-row:has(> .ta-tab-switcher-main:active) { background: var(--ta-hover); }\n.ta-tab-switcher-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 4px 0 8px; border: 0; background: none; color: var(--ta-body); font: inherit; font-size: calc(15px * var(--ta-font-scale)); text-align: left; }\n.ta-tab-switcher-row.ta-active .ta-tab-switcher-main { color: var(--ta-text); font-weight: 500; }\n.ta-tab-switcher-glyph { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ta-chip); color: var(--ta-secondary); }\n.ta-tab-switcher-row.ta-active .ta-tab-switcher-glyph { background: var(--ta-main); }\n.ta-tab-switcher-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-tab-switcher-title.ta-preview { font-style: italic; }\n.ta-tab-switcher-dirty { flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }\n.ta-tab-switcher-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--ta-muted); }\n.ta-tab-switcher-close:active { background: var(--ta-hover-strong); color: var(--ta-text); }\n.ta-workbench-launcher { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; justify-content: safe center; padding: 32px 20px calc(32px + env(safe-area-inset-bottom)); }\n.ta-workbench-launcher > * { width: 100%; max-width: 280px; }\n.ta-workbench-launcher-head { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 320px; margin-bottom: 24px; text-align: center; }\n.ta-workbench-launcher-title { font-size: calc(14.5px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text); }\n.ta-workbench-launcher-hint { font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; color: var(--ta-secondary); }\n.ta-workbench-launch { display: flex; align-items: center; gap: 12px; height: 40px; flex: none; margin-bottom: 8px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--ta-body); font-size: calc(14px * var(--ta-font-scale)); text-align: left; transition: background 120ms, color 120ms; }\n.ta-workbench-launch:last-child { margin-bottom: 0; }\n.ta-workbench-launch:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-workbench-launch > svg { flex: none; color: var(--ta-secondary); }\n.ta-workbench-launch:hover { background: var(--ta-hover); color: var(--ta-text); }\n/* Maximized, the workbench takes the whole window: the navigation and the conversation step aside. */\n.ta-workbench-max .ta-nav, .ta-workbench-max .ta-scrim, .ta-workbench-max .ta-main { display: none; }\n.ta-workbench-max .ta-editors { border-left: 0; }\n.ta-workbench-max .ta-editors-pane { flex: 1; width: auto; max-width: none; }\n.ta-workbench-max .ta-editors-pane > .ta-sash { display: none; }\n.ta-editor-body[hidden] { display: none; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-sash { display: none; }\n .ta-main { min-width: 0; }\n .ta-editors-pane { position: fixed; z-index: 36; inset: 0; width: auto; min-width: 0; max-width: none; animation: ta-fade 160ms; }\n .ta-editors { border-left: 0; }\n}\n";
|
|
2
|
+
export declare const LAYOUT_STYLE = "\n/* Layout (t5): panes the user resizes and collapses, the sashes between them, the tabs of the editor area */\n.ta-sidebar, .ta-editors-pane { position: relative; display: flex; min-height: 0; height: 100%; }\n.ta-sidebar { width: var(--ta-pane, 260px); flex: none; }\n.ta-side-view { display: flex; flex-direction: column; gap: 6px; min-height: 0; padding: calc(8px +\nenv(safe-area-inset-top) + var(--ta-titlebar) - var(--ta-lift)) 8px calc(8px + env(safe-area-inset-bottom)); background:\nvar(--ta-side); border-right: 1px solid var(--ta-border-muted); }\n.ta-side-view-head { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; }\n.ta-main-head-view { flex: 1; min-width: 0; display: flex; align-items: center; }\n.ta-side-view-body { flex: 1; min-height: 0; overflow: auto; margin: 0 -8px; padding: 0 8px; }\n/* A view on its way (Loading) in the middle of its body. */\n.ta-side-view-body:has(> .ta-loading) { display: flex; flex-direction: column; }\n/* A view that scrolls a list of its own (.ta-side-scroll, as the partners) has the body's height: otherwise it grows\n with its rows, never scrolls, and as a scroll area that does not bounce keeps the wheel from the body too. */\n.ta-side-view-body:has(> .ta-side-scroll) { display: flex; flex-direction: column; }\n/* The top bar of a sidebar view on its way: its room kept, empty. */\n.ta-loading-head { flex: 1; min-width: 0; height: 36px; }\n/* Its own rows come in over the place it kept: a fade, once (the top bar is where it was). */\n.ta-side-view[data-arrived] > .ta-side-view-body { animation: ta-fade 200ms ease-out; }\n/* Rows still on their way in it (its data not read yet) take the place of the placeholder's at once, without its\nmoment. */\n.ta-side-view[data-arrived] .ta-loading { animation: none; }\n/* The editors may not be wider than the conversation: at most half of what the other columns leave. */\n.ta-editors-pane { width: var(--ta-pane, 480px); max-width: calc((100vw - var(--ta-left, 56px) - var(--ta-right, 0px))\n/ 2); flex: 0 1 auto; min-width: 280px; }\n.ta-main { min-width: 400px; }\n.ta-rail-gap { width: 24px; height: 1px; flex: none; margin: 4px 0; background: var(--ta-border); }\n.ta-sash { position: absolute; z-index: 6; top: 0; bottom: 0; width: 7px; cursor: col-resize; touch-action: none;\noutline: none; }\n.ta-sash-start { right: -4px; }\n.ta-sash-end { left: -4px; }\n/*\n * A sash draws no line of its own: on a pause over it the border of the columns it sits on (the sidebar's right, the\n * workbench's left) lightens a little, a pixel wide, under the title bar and clear of the rounded corner of the\n * conversation; a little more while dragged.\n */\n.ta-sash::after { content: ''; position: absolute; top: calc(var(--ta-titlebar) + min(10px, var(--ta-titlebar)));\nbottom: 0; width: 1px; background: color-mix(in srgb, var(--ta-border-focus) 22%, transparent); opacity: 0; transition:\nopacity 180ms 0ms; }\n.ta-sash-start::after { left: 3px; }\n.ta-sash-end::after { left: 4px; }\n.ta-sash:hover::after { opacity: 1; transition-delay: 300ms; }\n.ta-sash.ta-dragging::after, .ta-sash:focus-visible::after { opacity: 1; background: color-mix(in srgb,\nvar(--ta-border-focus) 45%, transparent); transition-delay: 0ms; }\n.ta-resizing, .ta-resizing * { cursor: col-resize !important; user-select: none !important; }\n.ta-resizing iframe { pointer-events: none; }\n.ta-editors { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-top: var(--ta-titlebar); background:\nvar(--ta-side); border-left: 1px solid var(--ta-border-muted); }\n/*\n * The tabs of a wide workbench, as a browser's or an editor's: a strip the colour of the side over a line; the tab\n * shown is a card the colour of what it shows, joined to it across the line; the others lie on the strip, a short\n * line between two of them, a rounded hover inside; + follows the last. The line is an inset shadow, under the\n * tabs: the card covers it. A phone has its own head (.ta-compact, below).\n */\n.ta-editor-tabs { display: flex; align-items: flex-end; gap: 2px; height: calc(34px + var(--ta-top-gap) +\nenv(safe-area-inset-top)); flex: none; padding: calc(var(--ta-top-gap) + env(safe-area-inset-top)) 8px 0 0; background:\nvar(--ta-side); box-shadow: inset 0 -1px 0 var(--ta-border); }\n.ta-workbench-actions { display: flex; align-items: center; gap: 2px; flex: none; height: 34px; margin-left: auto; }\n.ta-workbench-actions .ta-icon-button, .ta-editor-tabs > .ta-workbench-open .ta-icon-button { width: 28px; height: 28px;\nborder-radius: 7px; color: var(--ta-muted); }\n.ta-workbench-actions .ta-icon-button:hover, .ta-workbench-actions .ta-icon-button.ta-on, .ta-editor-tabs >\n.ta-workbench-open .ta-icon-button:is(:hover, .ta-on) { color: var(--ta-text); }\n.ta-editor-tabs > .ta-workbench-open { flex: none; align-items: center; height: 34px; }\n/* The tools of the tab shown (ui.EditorActions), right before those of the workbench, a short line between them. */\n.ta-editor-actions { display: flex; align-items: center; gap: 2px; flex: 0 1 auto; min-width: 0; height: 34px;\nmargin-left: auto; overflow: hidden; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); white-space:\nnowrap; }\n.ta-editor-actions:empty { display: none; }\n.ta-editor-actions:not(:empty) ~ .ta-workbench-actions { margin-left: 0; }\n.ta-editor-actions:not(:empty)::after { content: ''; flex: none; width: 1px; height: 14px; margin: 0 4px 0 6px;\nbackground: var(--ta-border); }\n.ta-editor-tablist { flex: 0 1 auto; min-width: 0; display: flex; align-items: flex-end; align-self: stretch;\npadding-left: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }\n.ta-editor-tablist::-webkit-scrollbar { display: none; }\n.ta-editor-tab { position: relative; isolation: isolate; display: flex; align-items: center; flex: 0 1 auto; min-width:\n92px; max-width: 200px; height: 34px; border: 1px solid transparent; border-bottom: 0; border-radius: 9px 9px 0 0;\ncolor: var(--ta-muted); transition: color 120ms; }\n.ta-editor-tab::after { content: ''; position: absolute; z-index: -1; inset: 3px 2px 4px; border-radius: 7px;\nbackground: var(--ta-hover); opacity: 0; transition: opacity 120ms; }\n.ta-editor-tab + .ta-editor-tab::before { content: ''; position: absolute; left: -1px; top: 10px; bottom: 10px; width:\n1px; background: var(--ta-border); transition: opacity 120ms; }\n.ta-editor-tab:hover { color: var(--ta-body); }\n.ta-editor-tab:not(.ta-active):hover::after { opacity: 1; }\n/* Short of room the tabs narrow, as a browser's, the one shown last; past their least width the strip scrolls. */\n.ta-editor-tab.ta-active { flex-shrink: 0; border-color: var(--ta-border); background: var(--ta-main); color:\nvar(--ta-text); }\n.ta-editor-tab:is(:hover, .ta-active)::before, .ta-editor-tab:is(:hover, .ta-active) +\n.ta-editor-tab:not(.ta-active)::before { opacity: 0; }\n/*\n * The card of the tab shown flares into the line under the strip at its foot, a browser's tab: a quarter ring on each\n * side, the colour of what it shows below it.\n */\n.ta-editor-tab.ta-active::before, .ta-editor-tab.ta-active::after { content: ''; position: absolute; z-index: -1; top:\nauto; right: auto; bottom: 0; width: 8px; height: 8px; border-radius: 0; opacity: 1; transition: none; }\n.ta-editor-tab.ta-active::before { left: -8px; background: radial-gradient(circle at 0 0, transparent 6.5px,\nvar(--ta-border) 7px 7.5px, var(--ta-main) 8px); }\n.ta-editor-tab.ta-active::after { left: 100%; background: radial-gradient(circle at 100% 0, transparent 6.5px,\nvar(--ta-border) 7px 7.5px, var(--ta-main) 8px); }\n.ta-editor-tab-button { display: flex; align-items: center; gap: 7px; min-width: 0; height: 100%; padding: 0 2px 0 12px;\nborder: 0; background: transparent; color: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-editor-tab-button:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -4px; border-radius:\n8px; }\n.ta-editor-tab-button > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-editor-tab-button > :not(span:last-child) { flex: none; }\n.ta-editor-tab-close { flex: none; width: 20px; height: 20px; margin-right: 7px; display: grid; place-items: center;\nborder: 0; border-radius: 5px; background: transparent; color: inherit; opacity: 0; }\n.ta-editor-tab:hover .ta-editor-tab-close, .ta-editor-tab.ta-active .ta-editor-tab-close,\n.ta-editor-tab-close:focus-visible { opacity: 1; }\n.ta-editor-tab-close:hover { background: var(--ta-hover-strong); color: var(--ta-text); }\n.ta-context-menu { position: fixed; left: 0; top: 0; z-index: 80; min-width: 190px; max-width: 320px; display: flex;\nflex-direction: column; gap: 1px; padding: 6px; border-radius: 12px; border: 1px solid var(--ta-border); background:\nvar(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-fade 100ms ease-out; }\n.ta-context-menu-item { display: flex; align-items: center; flex: none; height: 30px; padding: 0 10px; border: 0;\nborder-radius: 8px; background: none; color: var(--ta-text); font: inherit; font-size: calc(13px *\nvar(--ta-font-scale)); text-align: left; cursor: pointer; outline: none; }\n.ta-context-menu-item:hover:not(:disabled), .ta-context-menu-item:focus-visible { background: var(--ta-hover); }\n.ta-context-menu-item:disabled { opacity: 0.45; cursor: default; }\n.ta-context-menu-item.ta-danger { color: var(--ta-red); }\n.ta-context-menu-check { flex: none; margin-left: auto; padding-left: 12px; box-sizing: content-box; color:\nvar(--ta-brand); visibility: hidden; }\n.ta-context-menu-check.ta-on { visibility: visible; }\n/* The entry of any menu a held finger slid onto (ContextMenuUtil.attach): let go, it is chosen. */\n[role=\"menuitem\"][data-armed] { background: var(--ta-hover); }\n.ta-context-menu-line { flex: none; height: 1px; margin: 5px 8px; border: 0; background: var(--ta-border-muted); }\n.ta-context-menu-caption { flex: none; margin: 0 8px 5px; padding: 3px 2px 8px; border-bottom: 1px solid\nvar(--ta-border-muted); color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric:\ntabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.ta-editor-tab.ta-preview .ta-editor-tab-button > span { font-style: italic; }\n.ta-editor-tab-close { position: relative; }\n.ta-editor-tab-dirty { position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%;\nbackground: currentColor; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close { opacity: 1; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close > svg { visibility: hidden; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close:hover > svg, .ta-editor-tab.ta-dirty .ta-editor-tab-close:focus-visible >\nsvg { visibility: visible; }\n.ta-editor-tab.ta-dirty .ta-editor-tab-close:hover > .ta-editor-tab-dirty, .ta-editor-tab.ta-dirty\n.ta-editor-tab-close:focus-visible > .ta-editor-tab-dirty { display: none; }\n.ta-editor-body { flex: 1; min-height: 0; overflow: auto; background: var(--ta-main); }\n.ta-workbench-title { display: flex; align-items: center; height: 34px; padding: 0 6px; font-size: calc(13.5px *\nvar(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }\n.ta-workbench-open { position: relative; display: flex; }\n.ta-workbench-menu { position: absolute; top: calc(100% + 6px); z-index: 45; width: 220px; max-height: min(440px, 70vh);\noverflow: auto; display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 12px; border: 1px solid\nvar(--ta-border); background: var(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-fade 120ms ease-out; }\n.ta-workbench-menu .ta-account-item { flex: none; gap: 12px; height: 36px; padding: 0 10px; font-size: calc(13.5px *\nvar(--ta-font-scale)); color: var(--ta-body); }\n.ta-workbench-menu .ta-account-item > svg { flex: none; color: var(--ta-secondary); }\n.ta-workbench-menu .ta-account-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n/* Where the tools of + open: the directory of the conversation shown, as the caption of the menu. */\n.ta-workbench-menu-cwd { display: flex; align-items: center; gap: 6px; flex: none; min-width: 0; height: 30px; margin: 0\n4px 4px; padding: 0 6px 4px; border-bottom: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size:\ncalc(12px * var(--ta-font-scale)); cursor: default; }\n.ta-workbench-menu-cwd > svg { flex: none; }\n.ta-workbench-menu.ta-start { left: 0; }\n.ta-workbench-menu.ta-end { right: 0; }\n/*\n * The head of the workbench on a phone (CompactHead): back, the tab shown with how many are open, which lists\n * them under it (TabSwitcher), and +. Over what it shows: the list and the scrim it lays over the tab.\n */\n.ta-editor-head-compact { position: relative; z-index: 5; flex: none; }\n.ta-compact .ta-editor-tabs { align-items: center; gap: 2px; height: calc(52px + env(safe-area-inset-top)); padding:\nenv(safe-area-inset-top) calc(6px + env(safe-area-inset-right)) 0 calc(4px + env(safe-area-inset-left)); background:\nvar(--ta-main); box-shadow: inset 0 -1px 0 var(--ta-border-muted); }\n.ta-compact .ta-editor-tabs > .ta-icon-button, .ta-compact .ta-editor-tabs > .ta-workbench-open .ta-icon-button { width:\n40px; height: 40px; border-radius: 10px; color: var(--ta-secondary); }\n.ta-compact .ta-editor-tabs > .ta-workbench-open { flex: none; margin-left: auto; }\n.ta-compact .ta-editor-actions { height: 40px; }\n.ta-compact .ta-editor-actions:not(:empty) ~ .ta-workbench-open { margin-left: 0; }\n.ta-compact .ta-editor-actions::after { display: none; }\n.ta-compact .ta-workbench-title { flex: 1; min-width: 0; height: auto; padding: 0 6px; color: var(--ta-text); font-size:\ncalc(16px * var(--ta-font-scale)); }\n.ta-workbench-switch { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; height: 40px;\npadding: 0 8px 0 6px; border: 0; border-radius: 10px; background: none; color: var(--ta-text); font: inherit; font-size:\ncalc(16px * var(--ta-font-scale)); font-weight: 600; transition: background 120ms; }\n.ta-workbench-switch > :first-child { flex: none; color: var(--ta-secondary); }\n.ta-workbench-switch:active, .ta-workbench-switch.ta-on { background: var(--ta-hover); }\n.ta-workbench-switch-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-workbench-count { flex: none; min-width: calc(20px * var(--ta-font-scale)); height: calc(20px *\nvar(--ta-font-scale)); padding: 0 6px; border-radius: 999px; background: var(--ta-chip); color: var(--ta-secondary);\nfont-size: calc(12px * var(--ta-font-scale)); font-weight: 600; line-height: calc(20px * var(--ta-font-scale));\ntext-align: center; font-variant-numeric: tabular-nums; }\n.ta-workbench-switch-caret { flex: none; margin-left: -2px; color: var(--ta-muted); transition: transform 220ms\nvar(--ta-ease); }\n.ta-workbench-switch.ta-on .ta-workbench-switch-caret { transform: rotate(180deg); }\n.ta-tab-switcher-scrim { position: absolute; top: 100%; left: 0; right: 0; height: 100vh; padding: 0; border: 0;\nbackground: rgba(0, 0, 0, 0.18); animation: ta-fade 180ms ease-out; -webkit-tap-highlight-color: transparent; }\n.ta-tab-switcher { position: absolute; top: calc(100% + 6px); left: calc(8px + env(safe-area-inset-left)); right:\ncalc(8px + env(safe-area-inset-right)); display: flex; flex-direction: column; max-height: min(64vh, 520px); overflow:\nhidden; border: 1px solid var(--ta-border); border-radius: 16px; background: var(--ta-side); box-shadow:\nvar(--ta-shadow-pop); transform-origin: 50% 0; animation: ta-tabs-drop 200ms var(--ta-ease); }\n@keyframes ta-tabs-drop { from { opacity: 0; transform: translate3d(0, -6px, 0) scale(0.98); } }\n.ta-tab-switcher-head { display: flex; align-items: center; gap: 10px; flex: none; height: 44px; padding: 0 6px 0 16px;\nborder-bottom: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); }\n.ta-tab-switcher-count { flex: none; font-weight: 500; color: var(--ta-secondary); }\n.ta-tab-switcher-all { flex: none; height: 32px; margin-left: auto; padding: 0 10px; border: 0; border-radius: 8px;\nbackground: none; color: var(--ta-secondary); font: inherit; font-size: calc(13px * var(--ta-font-scale)); }\n.ta-tab-switcher-all:active { background: var(--ta-hover); }\n.ta-tab-switcher-list { display: flex; flex-direction: column; gap: 2px; min-height: 0; padding: 6px; overflow-y: auto;\noverscroll-behavior: contain; }\n.ta-tab-switcher-row { display: flex; align-items: center; flex: none; min-height: 48px; border-radius: 11px;\ntransition: background 120ms; }\n.ta-tab-switcher-row.ta-active { background: var(--ta-selected); }\n.ta-tab-switcher-row:has(> .ta-tab-switcher-main:active) { background: var(--ta-hover); }\n.ta-tab-switcher-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0\n4px 0 8px; border: 0; background: none; color: var(--ta-body); font: inherit; font-size: calc(15px *\nvar(--ta-font-scale)); text-align: left; }\n.ta-tab-switcher-row.ta-active .ta-tab-switcher-main { color: var(--ta-text); font-weight: 500; }\n.ta-tab-switcher-glyph { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;\nbackground: var(--ta-chip); color: var(--ta-secondary); }\n.ta-tab-switcher-row.ta-active .ta-tab-switcher-glyph { background: var(--ta-main); }\n.ta-tab-switcher-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ta-tab-switcher-title.ta-preview { font-style: italic; }\n.ta-tab-switcher-dirty { flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }\n.ta-tab-switcher-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border:\n0; border-radius: 10px; background: none; color: var(--ta-muted); }\n.ta-tab-switcher-close:active { background: var(--ta-hover-strong); color: var(--ta-text); }\n.ta-workbench-launcher { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; align-items:\ncenter; justify-content: safe center; padding: 32px 20px calc(32px + env(safe-area-inset-bottom)); }\n.ta-workbench-launcher > * { width: 100%; max-width: 280px; }\n.ta-workbench-launcher-head { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 320px;\nmargin-bottom: 24px; text-align: center; }\n.ta-workbench-launcher-title { font-size: calc(14.5px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text);\n}\n.ta-workbench-launcher-hint { font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; color:\nvar(--ta-secondary); }\n.ta-workbench-launch { display: flex; align-items: center; gap: 12px; height: 40px; flex: none; margin-bottom: 8px;\npadding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--ta-body); font-size: calc(14px *\nvar(--ta-font-scale)); text-align: left; transition: background 120ms, color 120ms; }\n.ta-workbench-launch:last-child { margin-bottom: 0; }\n.ta-workbench-launch:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }\n.ta-workbench-launch > svg { flex: none; color: var(--ta-secondary); }\n.ta-workbench-launch:hover { background: var(--ta-hover); color: var(--ta-text); }\n/* Maximized, the workbench takes the whole window: the navigation and the conversation step aside. */\n.ta-workbench-max .ta-nav, .ta-workbench-max .ta-scrim, .ta-workbench-max .ta-main { display: none; }\n.ta-workbench-max .ta-editors { border-left: 0; }\n.ta-workbench-max .ta-editors-pane { flex: 1; width: auto; max-width: none; }\n.ta-workbench-max .ta-editors-pane > .ta-sash { display: none; }\n.ta-editor-body[hidden] { display: none; }\n@media (max-width: 860px), (max-height: 500px) and (pointer: coarse) {\n .ta-sash { display: none; }\n .ta-main { min-width: 0; }\n .ta-editors-pane { position: fixed; z-index: 36; inset: 0; width: auto; min-width: 0; max-width: none; animation:\n ta-fade 160ms; }\n .ta-editors { border-left: 0; }\n}\n";
|
|
3
3
|
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -7,23 +7,31 @@ exports.LAYOUT_STYLE = `
|
|
|
7
7
|
/* Layout (t5): panes the user resizes and collapses, the sashes between them, the tabs of the editor area */
|
|
8
8
|
.ta-sidebar, .ta-editors-pane { position: relative; display: flex; min-height: 0; height: 100%; }
|
|
9
9
|
.ta-sidebar { width: var(--ta-pane, 260px); flex: none; }
|
|
10
|
-
.ta-side-view { display: flex; flex-direction: column; gap: 6px; min-height: 0; padding: calc(8px +
|
|
10
|
+
.ta-side-view { display: flex; flex-direction: column; gap: 6px; min-height: 0; padding: calc(8px +
|
|
11
|
+
env(safe-area-inset-top) + var(--ta-titlebar) - var(--ta-lift)) 8px calc(8px + env(safe-area-inset-bottom)); background:
|
|
12
|
+
var(--ta-side); border-right: 1px solid var(--ta-border-muted); }
|
|
11
13
|
.ta-side-view-head { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; }
|
|
12
14
|
.ta-main-head-view { flex: 1; min-width: 0; display: flex; align-items: center; }
|
|
13
15
|
.ta-side-view-body { flex: 1; min-height: 0; overflow: auto; margin: 0 -8px; padding: 0 8px; }
|
|
14
16
|
/* A view on its way (Loading) in the middle of its body. */
|
|
15
17
|
.ta-side-view-body:has(> .ta-loading) { display: flex; flex-direction: column; }
|
|
18
|
+
/* A view that scrolls a list of its own (.ta-side-scroll, as the partners) has the body's height: otherwise it grows
|
|
19
|
+
with its rows, never scrolls, and as a scroll area that does not bounce keeps the wheel from the body too. */
|
|
20
|
+
.ta-side-view-body:has(> .ta-side-scroll) { display: flex; flex-direction: column; }
|
|
16
21
|
/* The top bar of a sidebar view on its way: its room kept, empty. */
|
|
17
22
|
.ta-loading-head { flex: 1; min-width: 0; height: 36px; }
|
|
18
23
|
/* Its own rows come in over the place it kept: a fade, once (the top bar is where it was). */
|
|
19
24
|
.ta-side-view[data-arrived] > .ta-side-view-body { animation: ta-fade 200ms ease-out; }
|
|
20
|
-
/* Rows still on their way in it (its data not read yet) take the place of the placeholder's at once, without its
|
|
25
|
+
/* Rows still on their way in it (its data not read yet) take the place of the placeholder's at once, without its
|
|
26
|
+
moment. */
|
|
21
27
|
.ta-side-view[data-arrived] .ta-loading { animation: none; }
|
|
22
28
|
/* The editors may not be wider than the conversation: at most half of what the other columns leave. */
|
|
23
|
-
.ta-editors-pane { width: var(--ta-pane, 480px); max-width: calc((100vw - var(--ta-left, 56px) - var(--ta-right, 0px))
|
|
29
|
+
.ta-editors-pane { width: var(--ta-pane, 480px); max-width: calc((100vw - var(--ta-left, 56px) - var(--ta-right, 0px))
|
|
30
|
+
/ 2); flex: 0 1 auto; min-width: 280px; }
|
|
24
31
|
.ta-main { min-width: 400px; }
|
|
25
32
|
.ta-rail-gap { width: 24px; height: 1px; flex: none; margin: 4px 0; background: var(--ta-border); }
|
|
26
|
-
.ta-sash { position: absolute; z-index: 6; top: 0; bottom: 0; width: 7px; cursor: col-resize; touch-action: none;
|
|
33
|
+
.ta-sash { position: absolute; z-index: 6; top: 0; bottom: 0; width: 7px; cursor: col-resize; touch-action: none;
|
|
34
|
+
outline: none; }
|
|
27
35
|
.ta-sash-start { right: -4px; }
|
|
28
36
|
.ta-sash-end { left: -4px; }
|
|
29
37
|
/*
|
|
@@ -31,81 +39,122 @@ exports.LAYOUT_STYLE = `
|
|
|
31
39
|
* workbench's left) lightens a little, a pixel wide, under the title bar and clear of the rounded corner of the
|
|
32
40
|
* conversation; a little more while dragged.
|
|
33
41
|
*/
|
|
34
|
-
.ta-sash::after { content: ''; position: absolute; top: calc(var(--ta-titlebar) + min(10px, var(--ta-titlebar)));
|
|
42
|
+
.ta-sash::after { content: ''; position: absolute; top: calc(var(--ta-titlebar) + min(10px, var(--ta-titlebar)));
|
|
43
|
+
bottom: 0; width: 1px; background: color-mix(in srgb, var(--ta-border-focus) 22%, transparent); opacity: 0; transition:
|
|
44
|
+
opacity 180ms 0ms; }
|
|
35
45
|
.ta-sash-start::after { left: 3px; }
|
|
36
46
|
.ta-sash-end::after { left: 4px; }
|
|
37
47
|
.ta-sash:hover::after { opacity: 1; transition-delay: 300ms; }
|
|
38
|
-
.ta-sash.ta-dragging::after, .ta-sash:focus-visible::after { opacity: 1; background: color-mix(in srgb,
|
|
48
|
+
.ta-sash.ta-dragging::after, .ta-sash:focus-visible::after { opacity: 1; background: color-mix(in srgb,
|
|
49
|
+
var(--ta-border-focus) 45%, transparent); transition-delay: 0ms; }
|
|
39
50
|
.ta-resizing, .ta-resizing * { cursor: col-resize !important; user-select: none !important; }
|
|
40
51
|
.ta-resizing iframe { pointer-events: none; }
|
|
41
|
-
.ta-editors { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-top: var(--ta-titlebar); background:
|
|
52
|
+
.ta-editors { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-top: var(--ta-titlebar); background:
|
|
53
|
+
var(--ta-side); border-left: 1px solid var(--ta-border-muted); }
|
|
42
54
|
/*
|
|
43
55
|
* The tabs of a wide workbench, as a browser's or an editor's: a strip the colour of the side over a line; the tab
|
|
44
56
|
* shown is a card the colour of what it shows, joined to it across the line; the others lie on the strip, a short
|
|
45
57
|
* line between two of them, a rounded hover inside; + follows the last. The line is an inset shadow, under the
|
|
46
58
|
* tabs: the card covers it. A phone has its own head (.ta-compact, below).
|
|
47
59
|
*/
|
|
48
|
-
.ta-editor-tabs { display: flex; align-items: flex-end; gap: 2px; height: calc(34px + var(--ta-top-gap) +
|
|
60
|
+
.ta-editor-tabs { display: flex; align-items: flex-end; gap: 2px; height: calc(34px + var(--ta-top-gap) +
|
|
61
|
+
env(safe-area-inset-top)); flex: none; padding: calc(var(--ta-top-gap) + env(safe-area-inset-top)) 8px 0 0; background:
|
|
62
|
+
var(--ta-side); box-shadow: inset 0 -1px 0 var(--ta-border); }
|
|
49
63
|
.ta-workbench-actions { display: flex; align-items: center; gap: 2px; flex: none; height: 34px; margin-left: auto; }
|
|
50
|
-
.ta-workbench-actions .ta-icon-button, .ta-editor-tabs > .ta-workbench-open .ta-icon-button { width: 28px; height: 28px;
|
|
51
|
-
|
|
64
|
+
.ta-workbench-actions .ta-icon-button, .ta-editor-tabs > .ta-workbench-open .ta-icon-button { width: 28px; height: 28px;
|
|
65
|
+
border-radius: 7px; color: var(--ta-muted); }
|
|
66
|
+
.ta-workbench-actions .ta-icon-button:hover, .ta-workbench-actions .ta-icon-button.ta-on, .ta-editor-tabs >
|
|
67
|
+
.ta-workbench-open .ta-icon-button:is(:hover, .ta-on) { color: var(--ta-text); }
|
|
52
68
|
.ta-editor-tabs > .ta-workbench-open { flex: none; align-items: center; height: 34px; }
|
|
53
69
|
/* The tools of the tab shown (ui.EditorActions), right before those of the workbench, a short line between them. */
|
|
54
|
-
.ta-editor-actions { display: flex; align-items: center; gap: 2px; flex: 0 1 auto; min-width: 0; height: 34px;
|
|
70
|
+
.ta-editor-actions { display: flex; align-items: center; gap: 2px; flex: 0 1 auto; min-width: 0; height: 34px;
|
|
71
|
+
margin-left: auto; overflow: hidden; color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); white-space:
|
|
72
|
+
nowrap; }
|
|
55
73
|
.ta-editor-actions:empty { display: none; }
|
|
56
74
|
.ta-editor-actions:not(:empty) ~ .ta-workbench-actions { margin-left: 0; }
|
|
57
|
-
.ta-editor-actions:not(:empty)::after { content: ''; flex: none; width: 1px; height: 14px; margin: 0 4px 0 6px;
|
|
58
|
-
|
|
75
|
+
.ta-editor-actions:not(:empty)::after { content: ''; flex: none; width: 1px; height: 14px; margin: 0 4px 0 6px;
|
|
76
|
+
background: var(--ta-border); }
|
|
77
|
+
.ta-editor-tablist { flex: 0 1 auto; min-width: 0; display: flex; align-items: flex-end; align-self: stretch;
|
|
78
|
+
padding-left: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
|
|
59
79
|
.ta-editor-tablist::-webkit-scrollbar { display: none; }
|
|
60
|
-
.ta-editor-tab { position: relative; isolation: isolate; display: flex; align-items: center; flex: 0 1 auto; min-width:
|
|
61
|
-
|
|
62
|
-
|
|
80
|
+
.ta-editor-tab { position: relative; isolation: isolate; display: flex; align-items: center; flex: 0 1 auto; min-width:
|
|
81
|
+
92px; max-width: 200px; height: 34px; border: 1px solid transparent; border-bottom: 0; border-radius: 9px 9px 0 0;
|
|
82
|
+
color: var(--ta-muted); transition: color 120ms; }
|
|
83
|
+
.ta-editor-tab::after { content: ''; position: absolute; z-index: -1; inset: 3px 2px 4px; border-radius: 7px;
|
|
84
|
+
background: var(--ta-hover); opacity: 0; transition: opacity 120ms; }
|
|
85
|
+
.ta-editor-tab + .ta-editor-tab::before { content: ''; position: absolute; left: -1px; top: 10px; bottom: 10px; width:
|
|
86
|
+
1px; background: var(--ta-border); transition: opacity 120ms; }
|
|
63
87
|
.ta-editor-tab:hover { color: var(--ta-body); }
|
|
64
88
|
.ta-editor-tab:not(.ta-active):hover::after { opacity: 1; }
|
|
65
89
|
/* Short of room the tabs narrow, as a browser's, the one shown last; past their least width the strip scrolls. */
|
|
66
|
-
.ta-editor-tab.ta-active { flex-shrink: 0; border-color: var(--ta-border); background: var(--ta-main); color:
|
|
67
|
-
|
|
90
|
+
.ta-editor-tab.ta-active { flex-shrink: 0; border-color: var(--ta-border); background: var(--ta-main); color:
|
|
91
|
+
var(--ta-text); }
|
|
92
|
+
.ta-editor-tab:is(:hover, .ta-active)::before, .ta-editor-tab:is(:hover, .ta-active) +
|
|
93
|
+
.ta-editor-tab:not(.ta-active)::before { opacity: 0; }
|
|
68
94
|
/*
|
|
69
95
|
* The card of the tab shown flares into the line under the strip at its foot, a browser's tab: a quarter ring on each
|
|
70
96
|
* side, the colour of what it shows below it.
|
|
71
97
|
*/
|
|
72
|
-
.ta-editor-tab.ta-active::before, .ta-editor-tab.ta-active::after { content: ''; position: absolute; z-index: -1; top:
|
|
73
|
-
|
|
74
|
-
.ta-editor-tab.ta-active::
|
|
75
|
-
|
|
76
|
-
.ta-editor-tab-
|
|
98
|
+
.ta-editor-tab.ta-active::before, .ta-editor-tab.ta-active::after { content: ''; position: absolute; z-index: -1; top:
|
|
99
|
+
auto; right: auto; bottom: 0; width: 8px; height: 8px; border-radius: 0; opacity: 1; transition: none; }
|
|
100
|
+
.ta-editor-tab.ta-active::before { left: -8px; background: radial-gradient(circle at 0 0, transparent 6.5px,
|
|
101
|
+
var(--ta-border) 7px 7.5px, var(--ta-main) 8px); }
|
|
102
|
+
.ta-editor-tab.ta-active::after { left: 100%; background: radial-gradient(circle at 100% 0, transparent 6.5px,
|
|
103
|
+
var(--ta-border) 7px 7.5px, var(--ta-main) 8px); }
|
|
104
|
+
.ta-editor-tab-button { display: flex; align-items: center; gap: 7px; min-width: 0; height: 100%; padding: 0 2px 0 12px;
|
|
105
|
+
border: 0; background: transparent; color: inherit; font-size: calc(13px * var(--ta-font-scale)); }
|
|
106
|
+
.ta-editor-tab-button:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -4px; border-radius:
|
|
107
|
+
8px; }
|
|
77
108
|
.ta-editor-tab-button > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
78
109
|
.ta-editor-tab-button > :not(span:last-child) { flex: none; }
|
|
79
|
-
.ta-editor-tab-close { flex: none; width: 20px; height: 20px; margin-right: 7px; display: grid; place-items: center;
|
|
80
|
-
|
|
110
|
+
.ta-editor-tab-close { flex: none; width: 20px; height: 20px; margin-right: 7px; display: grid; place-items: center;
|
|
111
|
+
border: 0; border-radius: 5px; background: transparent; color: inherit; opacity: 0; }
|
|
112
|
+
.ta-editor-tab:hover .ta-editor-tab-close, .ta-editor-tab.ta-active .ta-editor-tab-close,
|
|
113
|
+
.ta-editor-tab-close:focus-visible { opacity: 1; }
|
|
81
114
|
.ta-editor-tab-close:hover { background: var(--ta-hover-strong); color: var(--ta-text); }
|
|
82
|
-
.ta-context-menu { position: fixed; left: 0; top: 0; z-index: 80; min-width: 190px; max-width: 320px; display: flex;
|
|
83
|
-
|
|
115
|
+
.ta-context-menu { position: fixed; left: 0; top: 0; z-index: 80; min-width: 190px; max-width: 320px; display: flex;
|
|
116
|
+
flex-direction: column; gap: 1px; padding: 6px; border-radius: 12px; border: 1px solid var(--ta-border); background:
|
|
117
|
+
var(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-fade 100ms ease-out; }
|
|
118
|
+
.ta-context-menu-item { display: flex; align-items: center; flex: none; height: 30px; padding: 0 10px; border: 0;
|
|
119
|
+
border-radius: 8px; background: none; color: var(--ta-text); font: inherit; font-size: calc(13px *
|
|
120
|
+
var(--ta-font-scale)); text-align: left; cursor: pointer; outline: none; }
|
|
84
121
|
.ta-context-menu-item:hover:not(:disabled), .ta-context-menu-item:focus-visible { background: var(--ta-hover); }
|
|
85
122
|
.ta-context-menu-item:disabled { opacity: 0.45; cursor: default; }
|
|
86
123
|
.ta-context-menu-item.ta-danger { color: var(--ta-red); }
|
|
87
|
-
.ta-context-menu-check { flex: none; margin-left: auto; padding-left: 12px; box-sizing: content-box; color:
|
|
124
|
+
.ta-context-menu-check { flex: none; margin-left: auto; padding-left: 12px; box-sizing: content-box; color:
|
|
125
|
+
var(--ta-brand); visibility: hidden; }
|
|
88
126
|
.ta-context-menu-check.ta-on { visibility: visible; }
|
|
89
127
|
/* The entry of any menu a held finger slid onto (ContextMenuUtil.attach): let go, it is chosen. */
|
|
90
128
|
[role="menuitem"][data-armed] { background: var(--ta-hover); }
|
|
91
129
|
.ta-context-menu-line { flex: none; height: 1px; margin: 5px 8px; border: 0; background: var(--ta-border-muted); }
|
|
92
|
-
.ta-context-menu-caption { flex: none; margin: 0 8px 5px; padding: 3px 2px 8px; border-bottom: 1px solid
|
|
130
|
+
.ta-context-menu-caption { flex: none; margin: 0 8px 5px; padding: 3px 2px 8px; border-bottom: 1px solid
|
|
131
|
+
var(--ta-border-muted); color: var(--ta-muted); font-size: calc(12px * var(--ta-font-scale)); font-variant-numeric:
|
|
132
|
+
tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
93
133
|
.ta-editor-tab.ta-preview .ta-editor-tab-button > span { font-style: italic; }
|
|
94
134
|
.ta-editor-tab-close { position: relative; }
|
|
95
|
-
.ta-editor-tab-dirty { position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%;
|
|
135
|
+
.ta-editor-tab-dirty { position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%;
|
|
136
|
+
background: currentColor; }
|
|
96
137
|
.ta-editor-tab.ta-dirty .ta-editor-tab-close { opacity: 1; }
|
|
97
138
|
.ta-editor-tab.ta-dirty .ta-editor-tab-close > svg { visibility: hidden; }
|
|
98
|
-
.ta-editor-tab.ta-dirty .ta-editor-tab-close:hover > svg, .ta-editor-tab.ta-dirty .ta-editor-tab-close:focus-visible >
|
|
99
|
-
|
|
139
|
+
.ta-editor-tab.ta-dirty .ta-editor-tab-close:hover > svg, .ta-editor-tab.ta-dirty .ta-editor-tab-close:focus-visible >
|
|
140
|
+
svg { visibility: visible; }
|
|
141
|
+
.ta-editor-tab.ta-dirty .ta-editor-tab-close:hover > .ta-editor-tab-dirty, .ta-editor-tab.ta-dirty
|
|
142
|
+
.ta-editor-tab-close:focus-visible > .ta-editor-tab-dirty { display: none; }
|
|
100
143
|
.ta-editor-body { flex: 1; min-height: 0; overflow: auto; background: var(--ta-main); }
|
|
101
|
-
.ta-workbench-title { display: flex; align-items: center; height: 34px; padding: 0 6px; font-size: calc(13.5px *
|
|
144
|
+
.ta-workbench-title { display: flex; align-items: center; height: 34px; padding: 0 6px; font-size: calc(13.5px *
|
|
145
|
+
var(--ta-font-scale)); font-weight: 600; color: var(--ta-secondary); }
|
|
102
146
|
.ta-workbench-open { position: relative; display: flex; }
|
|
103
|
-
.ta-workbench-menu { position: absolute; top: calc(100% + 6px); z-index: 45; width: 220px; max-height: min(440px, 70vh);
|
|
104
|
-
|
|
147
|
+
.ta-workbench-menu { position: absolute; top: calc(100% + 6px); z-index: 45; width: 220px; max-height: min(440px, 70vh);
|
|
148
|
+
overflow: auto; display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 12px; border: 1px solid
|
|
149
|
+
var(--ta-border); background: var(--ta-side); box-shadow: var(--ta-shadow-pop); animation: ta-fade 120ms ease-out; }
|
|
150
|
+
.ta-workbench-menu .ta-account-item { flex: none; gap: 12px; height: 36px; padding: 0 10px; font-size: calc(13.5px *
|
|
151
|
+
var(--ta-font-scale)); color: var(--ta-body); }
|
|
105
152
|
.ta-workbench-menu .ta-account-item > svg { flex: none; color: var(--ta-secondary); }
|
|
106
153
|
.ta-workbench-menu .ta-account-item:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }
|
|
107
154
|
/* Where the tools of + open: the directory of the conversation shown, as the caption of the menu. */
|
|
108
|
-
.ta-workbench-menu-cwd { display: flex; align-items: center; gap: 6px; flex: none; min-width: 0; height: 30px; margin: 0
|
|
155
|
+
.ta-workbench-menu-cwd { display: flex; align-items: center; gap: 6px; flex: none; min-width: 0; height: 30px; margin: 0
|
|
156
|
+
4px 4px; padding: 0 6px 4px; border-bottom: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size:
|
|
157
|
+
calc(12px * var(--ta-font-scale)); cursor: default; }
|
|
109
158
|
.ta-workbench-menu-cwd > svg { flex: none; }
|
|
110
159
|
.ta-workbench-menu.ta-start { left: 0; }
|
|
111
160
|
.ta-workbench-menu.ta-end { right: 0; }
|
|
@@ -114,46 +163,74 @@ exports.LAYOUT_STYLE = `
|
|
|
114
163
|
* them under it (TabSwitcher), and +. Over what it shows: the list and the scrim it lays over the tab.
|
|
115
164
|
*/
|
|
116
165
|
.ta-editor-head-compact { position: relative; z-index: 5; flex: none; }
|
|
117
|
-
.ta-compact .ta-editor-tabs { align-items: center; gap: 2px; height: calc(52px + env(safe-area-inset-top)); padding:
|
|
118
|
-
|
|
166
|
+
.ta-compact .ta-editor-tabs { align-items: center; gap: 2px; height: calc(52px + env(safe-area-inset-top)); padding:
|
|
167
|
+
env(safe-area-inset-top) calc(6px + env(safe-area-inset-right)) 0 calc(4px + env(safe-area-inset-left)); background:
|
|
168
|
+
var(--ta-main); box-shadow: inset 0 -1px 0 var(--ta-border-muted); }
|
|
169
|
+
.ta-compact .ta-editor-tabs > .ta-icon-button, .ta-compact .ta-editor-tabs > .ta-workbench-open .ta-icon-button { width:
|
|
170
|
+
40px; height: 40px; border-radius: 10px; color: var(--ta-secondary); }
|
|
119
171
|
.ta-compact .ta-editor-tabs > .ta-workbench-open { flex: none; margin-left: auto; }
|
|
120
172
|
.ta-compact .ta-editor-actions { height: 40px; }
|
|
121
173
|
.ta-compact .ta-editor-actions:not(:empty) ~ .ta-workbench-open { margin-left: 0; }
|
|
122
174
|
.ta-compact .ta-editor-actions::after { display: none; }
|
|
123
|
-
.ta-compact .ta-workbench-title { flex: 1; min-width: 0; height: auto; padding: 0 6px; color: var(--ta-text); font-size:
|
|
124
|
-
|
|
175
|
+
.ta-compact .ta-workbench-title { flex: 1; min-width: 0; height: auto; padding: 0 6px; color: var(--ta-text); font-size:
|
|
176
|
+
calc(16px * var(--ta-font-scale)); }
|
|
177
|
+
.ta-workbench-switch { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; height: 40px;
|
|
178
|
+
padding: 0 8px 0 6px; border: 0; border-radius: 10px; background: none; color: var(--ta-text); font: inherit; font-size:
|
|
179
|
+
calc(16px * var(--ta-font-scale)); font-weight: 600; transition: background 120ms; }
|
|
125
180
|
.ta-workbench-switch > :first-child { flex: none; color: var(--ta-secondary); }
|
|
126
181
|
.ta-workbench-switch:active, .ta-workbench-switch.ta-on { background: var(--ta-hover); }
|
|
127
182
|
.ta-workbench-switch-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
128
|
-
.ta-workbench-count { flex: none; min-width: calc(20px * var(--ta-font-scale)); height: calc(20px *
|
|
129
|
-
|
|
183
|
+
.ta-workbench-count { flex: none; min-width: calc(20px * var(--ta-font-scale)); height: calc(20px *
|
|
184
|
+
var(--ta-font-scale)); padding: 0 6px; border-radius: 999px; background: var(--ta-chip); color: var(--ta-secondary);
|
|
185
|
+
font-size: calc(12px * var(--ta-font-scale)); font-weight: 600; line-height: calc(20px * var(--ta-font-scale));
|
|
186
|
+
text-align: center; font-variant-numeric: tabular-nums; }
|
|
187
|
+
.ta-workbench-switch-caret { flex: none; margin-left: -2px; color: var(--ta-muted); transition: transform 220ms
|
|
188
|
+
var(--ta-ease); }
|
|
130
189
|
.ta-workbench-switch.ta-on .ta-workbench-switch-caret { transform: rotate(180deg); }
|
|
131
|
-
.ta-tab-switcher-scrim { position: absolute; top: 100%; left: 0; right: 0; height: 100vh; padding: 0; border: 0;
|
|
132
|
-
|
|
190
|
+
.ta-tab-switcher-scrim { position: absolute; top: 100%; left: 0; right: 0; height: 100vh; padding: 0; border: 0;
|
|
191
|
+
background: rgba(0, 0, 0, 0.18); animation: ta-fade 180ms ease-out; -webkit-tap-highlight-color: transparent; }
|
|
192
|
+
.ta-tab-switcher { position: absolute; top: calc(100% + 6px); left: calc(8px + env(safe-area-inset-left)); right:
|
|
193
|
+
calc(8px + env(safe-area-inset-right)); display: flex; flex-direction: column; max-height: min(64vh, 520px); overflow:
|
|
194
|
+
hidden; border: 1px solid var(--ta-border); border-radius: 16px; background: var(--ta-side); box-shadow:
|
|
195
|
+
var(--ta-shadow-pop); transform-origin: 50% 0; animation: ta-tabs-drop 200ms var(--ta-ease); }
|
|
133
196
|
@keyframes ta-tabs-drop { from { opacity: 0; transform: translate3d(0, -6px, 0) scale(0.98); } }
|
|
134
|
-
.ta-tab-switcher-head { display: flex; align-items: center; gap: 10px; flex: none; height: 44px; padding: 0 6px 0 16px;
|
|
197
|
+
.ta-tab-switcher-head { display: flex; align-items: center; gap: 10px; flex: none; height: 44px; padding: 0 6px 0 16px;
|
|
198
|
+
border-bottom: 1px solid var(--ta-border-muted); color: var(--ta-muted); font-size: calc(13px * var(--ta-font-scale)); }
|
|
135
199
|
.ta-tab-switcher-count { flex: none; font-weight: 500; color: var(--ta-secondary); }
|
|
136
|
-
.ta-tab-switcher-all { flex: none; height: 32px; margin-left: auto; padding: 0 10px; border: 0; border-radius: 8px;
|
|
200
|
+
.ta-tab-switcher-all { flex: none; height: 32px; margin-left: auto; padding: 0 10px; border: 0; border-radius: 8px;
|
|
201
|
+
background: none; color: var(--ta-secondary); font: inherit; font-size: calc(13px * var(--ta-font-scale)); }
|
|
137
202
|
.ta-tab-switcher-all:active { background: var(--ta-hover); }
|
|
138
|
-
.ta-tab-switcher-list { display: flex; flex-direction: column; gap: 2px; min-height: 0; padding: 6px; overflow-y: auto;
|
|
139
|
-
|
|
203
|
+
.ta-tab-switcher-list { display: flex; flex-direction: column; gap: 2px; min-height: 0; padding: 6px; overflow-y: auto;
|
|
204
|
+
overscroll-behavior: contain; }
|
|
205
|
+
.ta-tab-switcher-row { display: flex; align-items: center; flex: none; min-height: 48px; border-radius: 11px;
|
|
206
|
+
transition: background 120ms; }
|
|
140
207
|
.ta-tab-switcher-row.ta-active { background: var(--ta-selected); }
|
|
141
208
|
.ta-tab-switcher-row:has(> .ta-tab-switcher-main:active) { background: var(--ta-hover); }
|
|
142
|
-
.ta-tab-switcher-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0
|
|
209
|
+
.ta-tab-switcher-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0
|
|
210
|
+
4px 0 8px; border: 0; background: none; color: var(--ta-body); font: inherit; font-size: calc(15px *
|
|
211
|
+
var(--ta-font-scale)); text-align: left; }
|
|
143
212
|
.ta-tab-switcher-row.ta-active .ta-tab-switcher-main { color: var(--ta-text); font-weight: 500; }
|
|
144
|
-
.ta-tab-switcher-glyph { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
|
|
213
|
+
.ta-tab-switcher-glyph { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
|
|
214
|
+
background: var(--ta-chip); color: var(--ta-secondary); }
|
|
145
215
|
.ta-tab-switcher-row.ta-active .ta-tab-switcher-glyph { background: var(--ta-main); }
|
|
146
216
|
.ta-tab-switcher-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
147
217
|
.ta-tab-switcher-title.ta-preview { font-style: italic; }
|
|
148
218
|
.ta-tab-switcher-dirty { flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
|
|
149
|
-
.ta-tab-switcher-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border:
|
|
219
|
+
.ta-tab-switcher-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border:
|
|
220
|
+
0; border-radius: 10px; background: none; color: var(--ta-muted); }
|
|
150
221
|
.ta-tab-switcher-close:active { background: var(--ta-hover-strong); color: var(--ta-text); }
|
|
151
|
-
.ta-workbench-launcher { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; align-items:
|
|
222
|
+
.ta-workbench-launcher { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; align-items:
|
|
223
|
+
center; justify-content: safe center; padding: 32px 20px calc(32px + env(safe-area-inset-bottom)); }
|
|
152
224
|
.ta-workbench-launcher > * { width: 100%; max-width: 280px; }
|
|
153
|
-
.ta-workbench-launcher-head { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 320px;
|
|
154
|
-
|
|
155
|
-
.ta-workbench-launcher-
|
|
156
|
-
|
|
225
|
+
.ta-workbench-launcher-head { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 320px;
|
|
226
|
+
margin-bottom: 24px; text-align: center; }
|
|
227
|
+
.ta-workbench-launcher-title { font-size: calc(14.5px * var(--ta-font-scale)); font-weight: 600; color: var(--ta-text);
|
|
228
|
+
}
|
|
229
|
+
.ta-workbench-launcher-hint { font-size: calc(12.5px * var(--ta-font-scale)); line-height: 1.5; color:
|
|
230
|
+
var(--ta-secondary); }
|
|
231
|
+
.ta-workbench-launch { display: flex; align-items: center; gap: 12px; height: 40px; flex: none; margin-bottom: 8px;
|
|
232
|
+
padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--ta-body); font-size: calc(14px *
|
|
233
|
+
var(--ta-font-scale)); text-align: left; transition: background 120ms, color 120ms; }
|
|
157
234
|
.ta-workbench-launch:last-child { margin-bottom: 0; }
|
|
158
235
|
.ta-workbench-launch:focus-visible { outline: 1px solid var(--ta-border-focus); outline-offset: -1px; }
|
|
159
236
|
.ta-workbench-launch > svg { flex: none; color: var(--ta-secondary); }
|
|
@@ -167,7 +244,8 @@ exports.LAYOUT_STYLE = `
|
|
|
167
244
|
@media ${device_protocol_1.DeviceMedia.COMPACT} {
|
|
168
245
|
.ta-sash { display: none; }
|
|
169
246
|
.ta-main { min-width: 0; }
|
|
170
|
-
.ta-editors-pane { position: fixed; z-index: 36; inset: 0; width: auto; min-width: 0; max-width: none; animation:
|
|
247
|
+
.ta-editors-pane { position: fixed; z-index: 36; inset: 0; width: auto; min-width: 0; max-width: none; animation:
|
|
248
|
+
ta-fade 160ms; }
|
|
171
249
|
.ta-editors { border-left: 0; }
|
|
172
250
|
}
|
|
173
251
|
`;
|