diff --git a/apps/build-docs/package.json b/apps/build-docs/package.json index 7534509f1..ef5a0053b 100644 --- a/apps/build-docs/package.json +++ b/apps/build-docs/package.json @@ -11,7 +11,7 @@ "license": "AGPL-3.0-only", "packageManager": "pnpm@10.27.0", "devDependencies": { - "@redocly/cli": "2.14.2", + "@redocly/cli": "2.14.3", "archiver": "7.0.1", "fs-extra": "11.3.3", "react": "19.2.3", diff --git a/apps/client/package.json b/apps/client/package.json index 52a7f7dc1..57628fd37 100644 --- a/apps/client/package.json +++ b/apps/client/package.json @@ -56,7 +56,7 @@ "mark.js": "8.11.1", "marked": "17.0.1", "mermaid": "11.12.2", - "mind-elixir": "5.3.8", + "mind-elixir": "5.4.0", "normalize.css": "8.0.1", "panzoom": "9.4.3", "preact": "10.28.1", diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.css index 426c0fe62..69f77569d 100644 --- a/apps/client/src/stylesheets/theme-next/base.css +++ b/apps/client/src/stylesheets/theme-next/base.css @@ -17,6 +17,8 @@ */ :root { + color-scheme: var(--theme-style); + --main-font-family: "Inter", sans-serif; --main-font-size: normal; diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.css index cd016eee1..f81e8fcf7 100644 --- a/apps/client/src/stylesheets/theme-next/shell.css +++ b/apps/client/src/stylesheets/theme-next/shell.css @@ -1260,13 +1260,15 @@ body.layout-horizontal #rest-pane > .classic-toolbar-widget { padding-top: 2px; background-color: var(--note-split-background-color, var(--main-background-color)); transition: border-color 250ms ease-in; - border: 1px solid transparent; - - &.active { - border-color: var(--link-selection-outline-color); - } + border: 2px solid transparent; } +/* The active split in a multi-split view */ +#center-pane > .split-note-container-widget:has(> .note-split.visible ~ .note-split.visible) > .note-split.active { + border-color: var(--link-selection-outline-color); +} + + body:not(.background-effects) #center-pane .note-split { animation: note-entrance 100ms linear; } diff --git a/apps/client/src/translations/cn/translation.json b/apps/client/src/translations/cn/translation.json index f4bbe4a35..651b3a2e0 100644 --- a/apps/client/src/translations/cn/translation.json +++ b/apps/client/src/translations/cn/translation.json @@ -1595,7 +1595,9 @@ "create-child-note": "创建子笔记", "unhoist": "取消聚焦", "toggle-sidebar": "切换侧边栏", - "dropping-not-allowed": "不允许移动笔记到此处。" + "dropping-not-allowed": "不允许移动笔记到此处。", + "shared-indicator-tooltip": "此笔记已公开分享", + "shared-indicator-tooltip-with-url": "此笔记已公开分享至:{{- url}}" }, "title_bar_buttons": { "window-on-top": "保持此窗口置顶" @@ -2224,5 +2226,11 @@ }, "attributes_panel": { "title": "笔记属性" + }, + "pdf": { + "attachments_other": "{{count}} 个附件", + "pages_other": "共{{count}}页", + "pages_alt": "第{{pageNumber}}页", + "pages_loading": "加载中..." } } diff --git a/apps/client/src/translations/hi/translation.json b/apps/client/src/translations/hi/translation.json index dcffce6e0..6d3e6dfde 100644 --- a/apps/client/src/translations/hi/translation.json +++ b/apps/client/src/translations/hi/translation.json @@ -9,7 +9,11 @@ }, "bundle-error": { "title": "एक कस्टम स्क्रिप्ट लोड करने में विफल रहा" - } + }, + "widget-list-error": { + "title": "सर्वर से विजेट्स की सूची प्राप्त करने में विफल" + }, + "open-script-note": "स्क्रिप्ट नोट खोलें" }, "update_available": { "update_available": "उपलब्ध अद्यतन" @@ -24,5 +28,8 @@ }, "show_floating_buttons_button": { "button_title": "बटन दिखाएं" + }, + "add_link": { + "note": "नोट" } } diff --git a/apps/client/src/translations/ja/translation.json b/apps/client/src/translations/ja/translation.json index 1851128ed..6b4d7f5e2 100644 --- a/apps/client/src/translations/ja/translation.json +++ b/apps/client/src/translations/ja/translation.json @@ -1245,7 +1245,11 @@ "saved-search-note-refreshed": "保存した検索ノートが更新されました。", "refresh-saved-search-results": "保存した検索結果を更新", "toggle-sidebar": "サイドバーを切り替え", - "dropping-not-allowed": "この場所にノートをドロップすることはできません。" + "dropping-not-allowed": "この場所にノートをドロップすることはできません。", + "clone-indicator-tooltip": "このノートには {{- count}} 個の親があります: {{- parents}}", + "clone-indicator-tooltip-single": "このノートは複製されています (親が 1 件追加: {{- parent}})", + "shared-indicator-tooltip": "このノートは公開されています", + "shared-indicator-tooltip-with-url": "このノートは以下で公開されています: {{- url}}" }, "bulk_actions": { "bulk_actions": "一括操作", @@ -2224,5 +2228,12 @@ }, "attributes_panel": { "title": "ノート属性" + }, + "pdf": { + "attachments_other": "{{count}} 添付ファイル", + "layers_other": "{{count}} 層", + "pages_other": "{{count}} ページ", + "pages_alt": "ページ {{pageNumber}}", + "pages_loading": "読み込み中..." } } diff --git a/apps/client/src/translations/nb-NO/translation.json b/apps/client/src/translations/nb-NO/translation.json index 0967ef424..a8681785d 100644 --- a/apps/client/src/translations/nb-NO/translation.json +++ b/apps/client/src/translations/nb-NO/translation.json @@ -1 +1,22 @@ -{} +{ + "about": { + "title": "Om Trilium Notes", + "app_version": "App versjon:", + "db_version": "DB versjon:", + "sync_version": "Synk versjon:", + "build_date": "Byggdato:", + "build_revision": "Bygg versjon:", + "data_directory": "Datamappe:", + "homepage": "Hjemmeside:" + }, + "experimental_features": { + "new_layout_description": "Prøv det nye grensesnittet for et mer moderne utseende og forbedret brukervenlighet. Det må påregnes betydelige endringer i kommende versjoner." + }, + "cpu_arch_warning": { + "recommendation": "For den beste brukeropplevelsen, vennligst last ned den tilpassede ARM64-versjonen av TriliumNext fra siden for utgivelser." + }, + "zpetne_odkazy": { + "backlink_one": "{{count}} Tilbakelenke", + "backlink_other": "{{count}} Tilbakelenker" + } +} diff --git a/apps/client/src/widgets/dialogs/revisions.tsx b/apps/client/src/widgets/dialogs/revisions.tsx index fbbacd96c..1d11145f3 100644 --- a/apps/client/src/widgets/dialogs/revisions.tsx +++ b/apps/client/src/widgets/dialogs/revisions.tsx @@ -1,6 +1,6 @@ import "./revisions.css"; -import type { RevisionItem,RevisionPojo } from "@triliumnext/commons"; +import type { RevisionItem, RevisionPojo } from "@triliumnext/commons"; import clsx from "clsx"; import { diffWords } from "diff"; import type { CSSProperties } from "preact/compat"; diff --git a/apps/client/src/widgets/note_wrapper.ts b/apps/client/src/widgets/note_wrapper.ts index 2b8959d11..fa912e25a 100644 --- a/apps/client/src/widgets/note_wrapper.ts +++ b/apps/client/src/widgets/note_wrapper.ts @@ -64,7 +64,8 @@ export default class NoteWrapperWidget extends FlexContainer { this.$widget.addClass(utils.getMimeTypeClass(note.mime)); this.$widget.addClass(`view-mode-${this.noteContext?.viewScope?.viewMode ?? "default"}`); this.$widget.addClass(note.getColorClass()); - this.$widget.toggleClass(["bgfx", "options"], note.isOptions()); + this.$widget.toggleClass("options", note.isOptions()); + this.$widget.toggleClass("bgfx", this.#hasBackgroundEffects(note)); this.$widget.toggleClass("protected", note.isProtected); const noteLanguage = note?.getLabelValue("language"); @@ -88,6 +89,22 @@ export default class NoteWrapperWidget extends FlexContainer { return !!note?.isLabelTruthy("fullContentWidth"); } + #hasBackgroundEffects(note: FNote): boolean { + const MIME_TYPES_WITH_BACKGROUND_EFFECTS = [ + "application/pdf" + ] + + if (note.isOptions()) { + return true; + } + + if (note.type === "file" && MIME_TYPES_WITH_BACKGROUND_EFFECTS.includes(note.mime)) { + return true; + } + + return false; + } + async entitiesReloadedEvent({ loadResults }: EventData<"entitiesReloaded">) { // listening on changes of note.type and CSS class const LABELS_CAUSING_REFRESH = ["cssClass", "language", "viewType", "color"]; diff --git a/apps/client/src/widgets/type_widgets/file/Pdf.tsx b/apps/client/src/widgets/type_widgets/file/Pdf.tsx index 0ed00d193..ad4bb8f56 100644 --- a/apps/client/src/widgets/type_widgets/file/Pdf.tsx +++ b/apps/client/src/widgets/type_widgets/file/Pdf.tsx @@ -145,25 +145,6 @@ export default function PdfPreview({ note, blob, componentId, noteContext }: { } }, [ blob ]); - // Trigger focus when iframe content is clicked (iframe focus doesn't bubble) - useEffect(() => { - const iframe = iframeRef.current; - if (!iframe) return; - - const handleIframeClick = () => { - if (noteContext.ntxId) { - appContext.tabManager.activateNoteContext(noteContext.ntxId); - } - }; - - // Listen for clicks on the iframe's content window - const iframeDoc = iframe.contentWindow?.document; - if (iframeDoc) { - iframeDoc.addEventListener('click', handleIframeClick); - return () => iframeDoc.removeEventListener('click', handleIframeClick); - } - }, [ iframeRef.current?.contentWindow, noteContext ]); - useTriliumEvent("customDownload", ({ ntxId }) => { if (ntxId !== noteContext.ntxId) return; iframeRef.current?.contentWindow?.postMessage({ @@ -183,6 +164,12 @@ export default function PdfPreview({ note, blob, componentId, noteContext }: { win.TRILIUM_NOTE_ID = note.noteId; win.TRILIUM_NTX_ID = noteContext.ntxId; } + + if (iframeRef.current?.contentWindow) { + iframeRef.current.contentWindow.addEventListener('click', () => { + appContext.tabManager.activateNoteContext(noteContext.ntxId); + }); + } }} /> ); diff --git a/apps/server/src/assets/translations/hi/server.json b/apps/server/src/assets/translations/hi/server.json index 35fe0876c..9b03fa2c3 100644 --- a/apps/server/src/assets/translations/hi/server.json +++ b/apps/server/src/assets/translations/hi/server.json @@ -7,6 +7,9 @@ "collapse-tree": "पूरे नोट ट्री को बंद करता है", "collapse-subtree": "वर्तमान नोट के सबट्री को बंद करता है", "sort-child-notes": "चाइल्ड नोट्स को सॉर्ट करें", - "creating-and-moving-notes": "नोट्स बनाना और स्थानांतरित करना" + "creating-and-moving-notes": "नोट्स बनाना और स्थानांतरित करना", + "move-note-up": "नोट को ऊपर ले जाएं", + "move-note-down": "नोट को नीचे ले जाएं", + "note-clipboard": "नोट क्लिपबोर्ड" } } diff --git a/apps/server/src/assets/translations/nb-NO/server.json b/apps/server/src/assets/translations/nb-NO/server.json index fa11d20d6..e8a355071 100644 --- a/apps/server/src/assets/translations/nb-NO/server.json +++ b/apps/server/src/assets/translations/nb-NO/server.json @@ -6,6 +6,7 @@ "open-command-palette": "Åpne kommandopalett", "scroll-to-active-note": "Skroll notat-treet til aktivt notat", "quick-search": "Aktiver hurtigsøk-feltet", - "search-in-subtree": "Søk etter notater i det aktive notatets understruktur" + "search-in-subtree": "Søk etter notater i det aktive notatets understruktur", + "creating-and-moving-notes": "Lage og flytte notater" } } diff --git a/apps/website/src/translations/hi/translation.json b/apps/website/src/translations/hi/translation.json index 46d1c404a..f268e30ad 100644 --- a/apps/website/src/translations/hi/translation.json +++ b/apps/website/src/translations/hi/translation.json @@ -11,5 +11,8 @@ "organization_benefits": { "note_structure_title": "नोट संरचना", "note_structure_description": "नोटों को पदानुक्रमिक रूप से व्यवस्थित किया जा सकता है। फ़ोल्डर्स की कोई आवश्यकता नहीं है, क्योंकि प्रत्येक नोट में उप-नोट हो सकते हैं। एक एकल नोट को पदानुक्रम में कई स्थानों पर जोड़ा जा सकता है।" + }, + "productivity_benefits": { + "protected_notes_title": "संरक्षित नोट्स" } } diff --git a/apps/website/src/translations/nb-NO/translation.json b/apps/website/src/translations/nb-NO/translation.json index 0967ef424..d7e80efc7 100644 --- a/apps/website/src/translations/nb-NO/translation.json +++ b/apps/website/src/translations/nb-NO/translation.json @@ -1 +1,65 @@ -{} +{ + "get-started": { + "title": "Kom i gang", + "architecture": "Arkitektur:", + "desktop_title": "Last ned skrivebordsprogram (v{{version}})", + "older_releases": "Se tidligere versjoner" + }, + "hero_section": { + "title": "Organiser tankene dine. Bygg din personlige kunnskapsbase.", + "github": "GitHub", + "get_started": "Kom i gang", + "dockerhub": "Docker Hub" + }, + "organization_benefits": { + "title": "Organisering", + "note_structure_title": "Notatstruktur" + }, + "productivity_benefits": { + "sync_title": "Synkronisering" + }, + "note_types": { + "canvas_title": "Kanvas", + "mindmap_title": "Tankekart" + }, + "extensibility_benefits": { + "import_export_title": "Import/eksport" + }, + "collections": { + "title": "Samlinger", + "calendar_title": "Kalender", + "table_title": "Tabell", + "geomap_title": "Geokart", + "presentation_title": "Presentasjon" + }, + "header": { + "documentation": "Dokumentasjon" + }, + "social_buttons": { + "github": "GitHub", + "matrix": "Matrix", + "reddit": "Reddit" + }, + "support_us": { + "paypal": "PayPal" + }, + "download_helper_desktop_windows": { + "download_scoop": "Scoop" + }, + "download_helper_desktop_linux": { + "download_deb": ".deb", + "download_rpm": ".rpm", + "download_flatpak": ".flatpak", + "download_nixpkgs": "nixpkgs", + "download_aur": "AUR", + "title_x64": "Linux 64-bit", + "download_zip": "Portable (.zip)" + }, + "download_helper_server_docker": { + "download_ghcr": "ghcr.io" + }, + "download_helper_desktop_macos": { + "download_homebrew_cask": "Homebrew Cask", + "download_zip": "Portable (.zip)" + } +} diff --git a/docs/README-nb_NO.md b/docs/README-nb_NO.md index c4c5539f9..d28cfa9e5 100644 --- a/docs/README-nb_NO.md +++ b/docs/README-nb_NO.md @@ -11,14 +11,13 @@ # Trilium Notes -![GitHub Sponsors](https://img.shields.io/github/sponsors/eliandoran) -![LiberaPay patrons](https://img.shields.io/liberapay/patrons/ElianDoran)\ +![Sponsorer på GitHub](https://img.shields.io/github/sponsors/eliandoran) +![LiberaPay bidragsytere](https://img.shields.io/liberapay/patrons/ElianDoran)\ ![Docker Pulls](https://img.shields.io/docker/pulls/triliumnext/trilium) -![GitHub Downloads (all assets, all -releases)](https://img.shields.io/github/downloads/triliumnext/trilium/total)\ +![Nedlastinger på GitHub(alle elementer, alle +utgivelser)](https://img.shields.io/github/downloads/triliumnext/trilium/total)\ [![RelativeCI](https://badges.relative-ci.com/badges/Di5q7dz9daNDZ9UXi0Bp?branch=develop)](https://app.relative-ci.com/projects/Di5q7dz9daNDZ9UXi0Bp) -[![Translation -status](https://hosted.weblate.org/widget/trilium/svg-badge.svg)](https://hosted.weblate.org/engage/trilium/) +[![Oversettelsesstatus](https://hosted.weblate.org/widget/trilium/svg-badge.svg)](https://hosted.weblate.org/engage/trilium/) @@ -43,30 +42,30 @@ application with focus on building large personal knowledge bases. ## 📚 Dokumentasjon -**Visit our comprehensive documentation at +**Besøk vår omfattende dokumentasjon på [docs.triliumnotes.org](https://docs.triliumnotes.org/)** -Our documentation is available in multiple formats: -- **Online Documentation**: Browse the full documentation at +Vår dokumentasjon er tilgjengelig i flere format: +- **Online Dokumentasjon**: Utforsk full dokumentasjon på [docs.triliumnotes.org](https://docs.triliumnotes.org/) -- **In-App Help**: Press `F1` within Trilium to access the same documentation - directly in the application +- **Hjelp i app**: Trykk`F1` i Trilium for å lese samme dokumentasjon direkte i + applikasjonen - **GitHub**: Navigate through the [User Guide](./User%20Guide/User%20Guide/) in this repository -### Quick Links -- [Getting Started Guide](https://docs.triliumnotes.org/) -- [Installation Instructions](https://docs.triliumnotes.org/user-guide/setup) -- [Docker - Setup](https://docs.triliumnotes.org/user-guide/setup/server/installation/docker) -- [Upgrading +### Hurtiglenker +- [Startveiledning](https://docs.triliumnotes.org/) +- [Installasjonsveiledning](https://docs.triliumnotes.org/user-guide/setup) +- [Oppsett med + Docker](https://docs.triliumnotes.org/user-guide/setup/server/installation/docker) +- [Oppgradere TriliumNext](https://docs.triliumnotes.org/user-guide/setup/upgrading) - [Basic Concepts and Features](https://docs.triliumnotes.org/user-guide/concepts/notes) - [Patterns of Personal Knowledge Base](https://docs.triliumnotes.org/user-guide/misc/patterns-of-personal-knowledge) -## 🎁 Features +## 🎁 Funksjoner * Notes can be arranged into arbitrarily deep tree. Single note can be placed into multiple places in the tree (see @@ -81,8 +80,8 @@ Our documentation is available in multiple formats: notes](https://docs.triliumnotes.org/user-guide/concepts/navigation/note-navigation), full text search and [note hoisting](https://docs.triliumnotes.org/user-guide/concepts/navigation/note-hoisting) -* Seamless [note - versioning](https://docs.triliumnotes.org/user-guide/concepts/notes/note-revisions) +* Sømløs + [notathistorikk](https://docs.triliumnotes.org/user-guide/concepts/notes/note-revisions) * Note [attributes](https://docs.triliumnotes.org/user-guide/advanced-usage/attributes) can be used for note organization, querying and advanced @@ -137,13 +136,13 @@ related goodies: themes, scripts, plugins and more. - [TriliumRocks!](https://trilium.rocks/) for tutorials, guides, and much more. -## ❓Why TriliumNext? +## ❓Hvorfor TriliumNext? The original Trilium developer ([Zadam](https://github.com/zadam)) has graciously given the Trilium repository to the community project which resides at https://github.com/TriliumNext -### ⬆️Migrating from Zadam/Trilium? +### ⬆️Migrere fra Zadam/Trilium? There are no special migration steps to migrate from a zadam/Trilium instance to a TriliumNext/Trilium instance. Simply [install @@ -171,7 +170,7 @@ features, suggestions, or issues you may have! - [Github Issues](https://github.com/TriliumNext/Trilium/issues) (For bug reports and feature requests.) -## 🏗 Installation +## 🏗 Installasjon ### Windows / MacOS @@ -184,8 +183,7 @@ and run the `trilium` executable. If your distribution is listed in the table below, use your distribution's package. -[![Packaging -status](https://repology.org/badge/vertical-allrepos/triliumnext.svg)](https://repology.org/project/triliumnext/versions) +[![Pakkestatus](https://repology.org/badge/vertical-allrepos/triliumnext.svg)](https://repology.org/project/triliumnext/versions) You may also download the binary release for your platform from the [latest release page](https://github.com/TriliumNext/Trilium/releases/latest), unzip the @@ -193,7 +191,7 @@ package and run the `trilium` executable. TriliumNext is also provided as a Flatpak, but not yet published on FlatHub. -### Browser (any OS) +### Nettleser (alle operativsystem) If you use a server installation (see below), you can directly access the web interface (which is almost identical to the desktop app). @@ -201,7 +199,7 @@ interface (which is almost identical to the desktop app). Currently only the latest versions of Chrome & Firefox are supported (and tested). -### Mobile +### Mobil To use TriliumNext on a mobile device, you can use a mobile web browser to access the mobile interface of a server installation (see below). @@ -223,19 +221,18 @@ To install TriliumNext on your own server (including via Docker from installation docs](https://docs.triliumnotes.org/user-guide/setup/server). -## 💻 Contribute +## 💻 Bidra -### Translations +### Oversettelser If you are a native speaker, help us translate Trilium by heading over to our [Weblate page](https://hosted.weblate.org/engage/trilium/). Here's the language coverage we have so far: -[![Translation -status](https://hosted.weblate.org/widget/trilium/multi-auto.svg)](https://hosted.weblate.org/engage/trilium/) +[![Oversettelsesstatus](https://hosted.weblate.org/widget/trilium/multi-auto.svg)](https://hosted.weblate.org/engage/trilium/) -### Code +### Kode Download the repository, install dependencies using `pnpm` and then run the server (available at http://localhost:8080): @@ -246,7 +243,7 @@ pnpm install pnpm run server:start ``` -### Documentation +### Dokumentasjon Download the repository, install dependencies using `pnpm` and then run the environment required to edit the documentation: @@ -270,14 +267,14 @@ pnpm run --filter desktop electron-forge:make --arch=x64 --platform=win32 For more details, see the [development docs](https://github.com/TriliumNext/Trilium/tree/main/docs/Developer%20Guide/Developer%20Guide). -### Developer Documentation +### Utviklerdokumentasjon Please view the [documentation guide](https://github.com/TriliumNext/Trilium/blob/main/docs/Developer%20Guide/Developer%20Guide/Environment%20Setup.md) for details. If you have more questions, feel free to reach out via the links described in the "Discuss with us" section above. -## 👏 Shoutouts +## 👏 Takk * [zadam](https://github.com/zadam) for the original concept and implementation of the application. @@ -313,7 +310,7 @@ Trilium would not be possible without the technologies behind it: [link maps](https://docs.triliumnotes.org/user-guide/advanced-usage/note-map#link-map) -## 🤝 Support +## 🤝 Støtte Trilium is built and maintained with [hundreds of hours of work](https://github.com/TriliumNext/Trilium/graphs/commit-activity). Your @@ -327,7 +324,7 @@ Consider supporting the main developer - [PayPal](https://paypal.me/eliandoran) - [Buy Me a Coffee](https://buymeacoffee.com/eliandoran) -## 🔑 License +## 🔑 Lisens Copyright 2017-2025 zadam, Elian Doran, and other contributors diff --git a/packages/pdfjs-viewer/src/custom.css b/packages/pdfjs-viewer/src/custom.css index 54e968f95..bf291112d 100644 --- a/packages/pdfjs-viewer/src/custom.css +++ b/packages/pdfjs-viewer/src/custom.css @@ -1,23 +1,52 @@ :root { + color-scheme: var(--tn-theme-style); + + --body-bg-color: transparent; + --toolbar-bg-color: transparent; --main-color: var(--tn-main-text-color); - --body-bg-color: var(--tn-main-background-color); - --toolbar-bg-color: var(--tn-main-background-color); --toolbar-border-color: var(--tn-main-border-color); --toolbar-icon-opacity: 1; + + --page-margin: 12px auto; + --spreadHorizontalWrapped-margin-LR: 4px; } .pdfViewer { - .page .canvasWrapper { + .page, + .page > .canvasWrapper, + .page > .canvasWrapper > canvas { + border-radius: 6px; + } + + .page { border: 1px solid var(--tn-main-border-color); - box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); + box-shadow: 7px 7px 15px #00000010; } } +/* #region Toolbar */ + +/* Permanently removed buttons */ +#viewsManagerToggleButton, #downloadButton, -#secondaryDownload { - display: none !important; +#secondaryDownload, +#secondaryOpenFile { + display: none; } -#secondaryOpenFile { - display: none !important; +/* The separator after the hidden "Open" item */ +#secondaryToolbarButtonContainer div.visibleMediumView + .horizontalToolbarSeparator { + display: none; } + +/* #endregion */ + +/* #region Properties Dialog */ + +/* Hide irrelevant properties */ +#documentPropertiesDialog > .row:has(#fileNameField), +#documentPropertiesDialog > .row:has(#linearizedField) { + display: none; +} + +/* #endregion */ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 51ebb0922..d61761b3e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -134,8 +134,8 @@ importers: apps/build-docs: devDependencies: '@redocly/cli': - specifier: 2.14.2 - version: 2.14.2(@opentelemetry/api@1.9.0)(ajv@8.17.1)(bufferutil@4.0.9)(core-js@3.46.0)(encoding@0.1.13)(utf-8-validate@6.0.5) + specifier: 2.14.3 + version: 2.14.3(@opentelemetry/api@1.9.0)(ajv@8.17.1)(bufferutil@4.0.9)(core-js@3.46.0)(encoding@0.1.13)(utf-8-validate@6.0.5) archiver: specifier: 7.0.1 version: 7.0.1 @@ -186,7 +186,7 @@ importers: version: 0.2.0(mermaid@11.12.2) '@mind-elixir/node-menu': specifier: 5.0.1 - version: 5.0.1(mind-elixir@5.3.8) + version: 5.0.1(mind-elixir@5.4.0) '@popperjs/core': specifier: 2.11.8 version: 2.11.8 @@ -278,8 +278,8 @@ importers: specifier: 11.12.2 version: 11.12.2 mind-elixir: - specifier: 5.3.8 - version: 5.3.8 + specifier: 5.4.0 + version: 5.4.0 normalize.css: specifier: 8.0.1 version: 8.0.1 @@ -4496,8 +4496,8 @@ packages: '@redocly/ajv@8.17.1': resolution: {integrity: sha512-EDtsGZS964mf9zAUXAl9Ew16eYbeyAFWhsPr0fX6oaJxgd8rApYlPBf0joyhnUHz88WxrigyFtTaqqzXNzPgqw==} - '@redocly/cli@2.14.2': - resolution: {integrity: sha512-M1DTJgElNYfBQS2jikfkCCNaRfa4HeF+mZpQCjHbhcvJogsIZTPL5LI6lKSnovDUTAKzUMnVlLa8hji1wx3OJQ==} + '@redocly/cli@2.14.3': + resolution: {integrity: sha512-8sq3xvlt3roeVuMW0L4KYdiMii3PnhNuYId6xDtnEGF+ZDhlImUt/t64XwDPtjuiCdbZmSA4erUxNLRYUlB2Kw==} engines: {node: '>=22.12.0 || >=20.19.0 <21.0.0', npm: '>=10'} hasBin: true @@ -4511,12 +4511,12 @@ packages: resolution: {integrity: sha512-0EbE8LRbkogtcCXU7liAyC00n9uNG9hJ+eMyHFdUsy9lB/WGqnEBgwjA9q2cyzAVcdTkQqTBBU1XePNnN3OijA==} engines: {node: '>=18.17.0', npm: '>=9.5.0'} - '@redocly/openapi-core@2.14.2': - resolution: {integrity: sha512-KXHubrwRg10rv46c9pzn0slcbK1YaqYfqR26uhc/2KrZ2+ke106kWp1qU5rCwhkuYNXhycVLd4MrXISYAOVViw==} + '@redocly/openapi-core@2.14.3': + resolution: {integrity: sha512-h3K19wflV6w+5uFnlo+tDjihSBe+yZvFvnxPxasC8tC78qu7YQOX+hITXYsdaS+ZZ1nxvYvLYiHHmbIplA41VA==} engines: {node: '>=22.12.0 || >=20.19.0 <21.0.0', npm: '>=10'} - '@redocly/respect-core@2.14.2': - resolution: {integrity: sha512-QMKkzlYv12k0CXezxrVlzuIvRMy8H/Eh5E7ILuEP763ydQaOd9JPO29YDCO8CJjxBqYV2R2USOAgB0Mkn5AmvQ==} + '@redocly/respect-core@2.14.3': + resolution: {integrity: sha512-p7mTf2vp6PSIQJLpMfVCijGecJzbMJzHEZOF4Uz8Zux3qPj+CpZNFwxPahFHZ8JYsRFsalMDCklyySz1ubQE6w==} engines: {node: '>=22.12.0 || >=20.19.0 <21.0.0', npm: '>=10'} '@replit/codemirror-indentation-markers@6.5.3': @@ -10508,8 +10508,8 @@ packages: resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==} engines: {node: '>=10'} - mind-elixir@5.3.8: - resolution: {integrity: sha512-p5TuyTCgVZhaCjDi3JjH+Gpz4nL95/9C5nJqYyoxAIEqs3F5r92U7BdP6LPs9oii2kGJbcRBtIEQU6hefADqLQ==} + mind-elixir@5.4.0: + resolution: {integrity: sha512-yxXajDWoSF6id8b2LKxlhXidxH/v6mx4JV+isrtsZ62RGCMsRbjUMFO9xOfTVH8vyxWhsbCkiAP6/i5hqbyk6w==} mini-css-extract-plugin@2.9.4: resolution: {integrity: sha512-ZWYT7ln73Hptxqxk2DxPU9MmapXRhxkJD6tkSR04dnQxm8BGu2hzgKLugK5yySD97u/8yy7Ma7E76k9ZdvtjkQ==} @@ -15361,8 +15361,6 @@ snapshots: '@ckeditor/ckeditor5-core': 47.3.0 '@ckeditor/ckeditor5-utils': 47.3.0 ckeditor5: 47.3.0 - transitivePeerDependencies: - - supports-color '@ckeditor/ckeditor5-code-block@47.3.0(patch_hash=2361d8caad7d6b5bddacc3a3b4aa37dbfba260b1c1b22a450413a79c1bb1ce95)': dependencies: @@ -15564,8 +15562,6 @@ snapshots: '@ckeditor/ckeditor5-utils': 47.3.0 ckeditor5: 47.3.0 es-toolkit: 1.39.5 - transitivePeerDependencies: - - supports-color '@ckeditor/ckeditor5-editor-decoupled@47.3.0': dependencies: @@ -16095,8 +16091,6 @@ snapshots: '@ckeditor/ckeditor5-ui': 47.3.0 '@ckeditor/ckeditor5-utils': 47.3.0 ckeditor5: 47.3.0 - transitivePeerDependencies: - - supports-color '@ckeditor/ckeditor5-restricted-editing@47.3.0': dependencies: @@ -18317,9 +18311,9 @@ snapshots: '@microsoft/tsdoc@0.15.1': {} - '@mind-elixir/node-menu@5.0.1(mind-elixir@5.3.8)': + '@mind-elixir/node-menu@5.0.1(mind-elixir@5.4.0)': dependencies: - mind-elixir: 5.3.8 + mind-elixir: 5.4.0 '@mixmark-io/domino@2.2.0': {} @@ -19041,20 +19035,20 @@ snapshots: json-schema-traverse: 1.0.0 require-from-string: 2.0.2 - '@redocly/cli@2.14.2(@opentelemetry/api@1.9.0)(ajv@8.17.1)(bufferutil@4.0.9)(core-js@3.46.0)(encoding@0.1.13)(utf-8-validate@6.0.5)': + '@redocly/cli@2.14.3(@opentelemetry/api@1.9.0)(ajv@8.17.1)(bufferutil@4.0.9)(core-js@3.46.0)(encoding@0.1.13)(utf-8-validate@6.0.5)': dependencies: '@opentelemetry/exporter-trace-otlp-http': 0.202.0(@opentelemetry/api@1.9.0) '@opentelemetry/resources': 2.0.1(@opentelemetry/api@1.9.0) '@opentelemetry/sdk-trace-node': 2.0.1(@opentelemetry/api@1.9.0) '@opentelemetry/semantic-conventions': 1.34.0 - '@redocly/openapi-core': 2.14.2(ajv@8.17.1) - '@redocly/respect-core': 2.14.2(ajv@8.17.1) + '@redocly/openapi-core': 2.14.3(ajv@8.17.1) + '@redocly/respect-core': 2.14.3(ajv@8.17.1) abort-controller: 3.0.0 + ajv-formats: 3.0.1(ajv@8.17.1) chokidar: 3.6.0 colorette: 1.4.0 cookie: 0.7.2 dotenv: 16.4.7 - form-data: 4.0.4 glob: 11.0.3 handlebars: 4.7.8 https-proxy-agent: 7.0.6 @@ -19100,7 +19094,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@redocly/openapi-core@2.14.2(ajv@8.17.1)': + '@redocly/openapi-core@2.14.3(ajv@8.17.1)': dependencies: '@redocly/ajv': 8.17.1 '@redocly/config': 0.41.1 @@ -19114,12 +19108,12 @@ snapshots: transitivePeerDependencies: - ajv - '@redocly/respect-core@2.14.2(ajv@8.17.1)': + '@redocly/respect-core@2.14.3(ajv@8.17.1)': dependencies: '@faker-js/faker': 7.6.0 '@noble/hashes': 1.8.0 '@redocly/ajv': 8.17.1 - '@redocly/openapi-core': 2.14.2(ajv@8.17.1) + '@redocly/openapi-core': 2.14.3(ajv@8.17.1) better-ajv-errors: 1.2.0(ajv@8.17.1) colorette: 2.0.20 json-pointer: 0.6.2 @@ -26767,7 +26761,7 @@ snapshots: mimic-response@3.1.0: {} - mind-elixir@5.3.8: {} + mind-elixir@5.4.0: {} mini-css-extract-plugin@2.9.4(webpack@5.101.3(@swc/core@1.11.29(@swc/helpers@0.5.17))(esbuild@0.27.2)): dependencies: