diff --git a/package.json b/package.json index 4fce4e78..e07e2d12 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "open-diff", - "version": "1.3.1", + "version": "1.3.2", "private": true, "license": "Apache-2.0", "repository": { diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 7b32808e..2de85cb3 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -70,7 +70,7 @@ dependencies = [ [[package]] name = "archive-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "flate2", "rars", @@ -596,7 +596,7 @@ dependencies = [ [[package]] name = "cli-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "diff-core", "file-core", @@ -612,7 +612,7 @@ dependencies = [ [[package]] name = "clipboard-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "serde", "shared-types", @@ -936,7 +936,7 @@ dependencies = [ [[package]] name = "diff-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "format-core", "regex", @@ -1044,7 +1044,7 @@ dependencies = [ [[package]] name = "document-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "format-core", "logging-core", @@ -1264,7 +1264,7 @@ dependencies = [ [[package]] name = "file-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "encoding_rs", "libc", @@ -1307,7 +1307,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "folder-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "diff-core", "job-core", @@ -1318,7 +1318,7 @@ dependencies = [ [[package]] name = "folder-merge-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "serde", ] @@ -1382,7 +1382,7 @@ dependencies = [ [[package]] name = "format-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "serde", ] @@ -1802,7 +1802,7 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hex-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "serde", "vfs-core", @@ -2088,7 +2088,7 @@ dependencies = [ [[package]] name = "image-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "image", "serde", @@ -2226,7 +2226,7 @@ dependencies = [ [[package]] name = "job-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "serde", ] @@ -2411,7 +2411,7 @@ checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad" [[package]] name = "logging-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "serde", "serde_json", @@ -2436,7 +2436,7 @@ dependencies = [ [[package]] name = "media-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "serde", ] @@ -2458,7 +2458,7 @@ dependencies = [ [[package]] name = "merge-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "serde", ] @@ -2808,7 +2808,7 @@ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" [[package]] name = "open-diff-app" -version = "1.3.1" +version = "1.3.2" dependencies = [ "archive-core", "cli-core", @@ -2976,7 +2976,7 @@ checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] name = "performance-core" -version = "1.3.1" +version = "1.3.2" [[package]] name = "phf" @@ -3095,7 +3095,7 @@ dependencies = [ [[package]] name = "policy-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "serde", "serde_json", @@ -3413,7 +3413,7 @@ checksum = "349e79c5a22cd52d15fe4d364428b1c1040a6b2025a763c59f645a955ceae1ef" [[package]] name = "registry-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "regf-rs", "serde", @@ -3422,7 +3422,7 @@ dependencies = [ [[package]] name = "remote-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "hmac 0.12.1", "logging-core", @@ -3436,7 +3436,7 @@ dependencies = [ [[package]] name = "report-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "logging-core", "serde", @@ -3676,7 +3676,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "script-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "archive-core", "diff-core", @@ -3908,7 +3908,7 @@ dependencies = [ [[package]] name = "session-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "serde", "serde_json", @@ -3916,7 +3916,7 @@ dependencies = [ [[package]] name = "settings-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "format-core", "remote-core", @@ -3972,7 +3972,7 @@ dependencies = [ [[package]] name = "shared-types" -version = "1.3.1" +version = "1.3.2" dependencies = [ "serde", "serde_json", @@ -3980,7 +3980,7 @@ dependencies = [ [[package]] name = "shell-core" -version = "1.3.1" +version = "1.3.2" [[package]] name = "shlex" @@ -4024,7 +4024,7 @@ checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90" [[package]] name = "snapshot-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "serde", "serde_json", @@ -4201,7 +4201,7 @@ dependencies = [ [[package]] name = "sync-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "folder-core", "logging-core", @@ -4244,7 +4244,7 @@ dependencies = [ [[package]] name = "table-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "calamine", "rust_xlsxwriter", @@ -5003,7 +5003,7 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "update-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "policy-core", "serde", @@ -5094,7 +5094,7 @@ checksum = "03c2856837ef78f57382f06b2b8563a2f512f7185d732608fd9176cb3b8edf0e" [[package]] name = "version-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "serde", ] @@ -5107,7 +5107,7 @@ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "vfs-core" -version = "1.3.1" +version = "1.3.2" dependencies = [ "serde", ] diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index c01fc84b..5fe97d1d 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -36,7 +36,7 @@ members = [ resolver = "2" [workspace.package] -version = "1.3.1" +version = "1.3.2" edition = "2021" authors = ["Open Diff Contributors"] license = "Apache-2.0" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 97dcb0ed..ba0a65d5 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "OpenDiff", - "version": "1.3.1", + "version": "1.3.2", "identifier": "io.github.kygo8.open-diff", "build": { "beforeDevCommand": "corepack pnpm dev", diff --git a/src-tauri/tauri.macos.conf.json b/src-tauri/tauri.macos.conf.json index 9d8cd4cf..efe3195a 100644 --- a/src-tauri/tauri.macos.conf.json +++ b/src-tauri/tauri.macos.conf.json @@ -5,7 +5,7 @@ "icon": ["icons/icon.icns"], "macOS": { "bundleName": "OpenDiff", - "bundleVersion": "1.3.1", + "bundleVersion": "1.3.2", "minimumSystemVersion": "11.0", "hardenedRuntime": true, "exceptionDomain": "github.com", diff --git a/src/app/folderDisplayFilters.test.ts b/src/app/folderDisplayFilters.test.ts index d153a3ea..c034f4ae 100644 --- a/src/app/folderDisplayFilters.test.ts +++ b/src/app/folderDisplayFilters.test.ts @@ -51,7 +51,7 @@ describe('folderDisplayFilters', () => { showSuppressed: false, filesOnly: false, alwaysShowFolders: true, - showFiltersPanel: true, + showFiltersPanel: false, showPeekPanel: false, }) }) diff --git a/src/app/folderDisplayFilters.ts b/src/app/folderDisplayFilters.ts index 5ef17d64..1c011239 100644 --- a/src/app/folderDisplayFilters.ts +++ b/src/app/folderDisplayFilters.ts @@ -22,7 +22,7 @@ export function defaultFolderDisplayFilters(): FolderDisplayFiltersState { showSuppressed: false, filesOnly: false, alwaysShowFolders: true, - showFiltersPanel: true, + showFiltersPanel: false, showPeekPanel: false, } } @@ -63,7 +63,7 @@ export function loadFolderDisplayFilters( showSuppressed: Boolean(parsed.showSuppressed), filesOnly: Boolean(parsed.filesOnly), alwaysShowFolders: parsed.alwaysShowFolders !== false, - showFiltersPanel: parsed.showFiltersPanel !== false, + showFiltersPanel: parsed.showFiltersPanel === true, showPeekPanel: Boolean(parsed.showPeekPanel), } } catch { diff --git a/src/components/session/SessionSettingsDialog.vue b/src/components/session/SessionSettingsDialog.vue index 4caa3485..8baf20c0 100644 --- a/src/components/session/SessionSettingsDialog.vue +++ b/src/components/session/SessionSettingsDialog.vue @@ -875,23 +875,34 @@ function applySettings(): void { .session-settings-dialog { display: grid; - gap: 4px; - width: min(520px, 100%); - padding: 4px 6px; + grid-template-columns: 1fr; + gap: 0; + width: min(640px, 100%); + min-height: 360px; + padding: 0; border: 1px solid #a0a0a0; border-radius: 0; background: var(--app-surface, #ffffff); - font-size: 11px; + font-size: 12px; line-height: 16px; } +.session-settings-dialog:has(.settings-tabs) { + grid-template-columns: 160px minmax(0, 1fr); + grid-template-rows: auto minmax(0, 1fr) auto; +} + header, footer { display: flex; + grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 6px; - min-height: 20px; + min-height: 26px; + padding: 6px 10px; + border-bottom: 1px solid #c8c8c8; + background: #f0f0f0; } header { @@ -900,13 +911,13 @@ header { } header button { - height: 18px; - min-height: 18px; + height: 28px; + min-height: 28px; padding: 0 8px; border: 1px solid #a0a0a0; border-radius: 0; background: #ffffff; - font-size: 11px; + font-size: 12px; line-height: 16px; } @@ -918,44 +929,67 @@ h2 { .settings-tabs { display: flex; - flex-wrap: wrap; - gap: 4px; - min-height: 20px; - padding: 2px 0; - background: #f0f0f0; + grid-column: 1; + grid-row: 2; + flex-direction: column; + gap: 0; + min-height: 0; + padding: 8px 0; + overflow: auto; + border-right: 1px solid #c8c8c8; + background: #f5f5f5; } .settings-tabs button { - height: 18px; - padding: 0 6px; - border: 1px solid #a0a0a0; + height: auto; + min-height: 28px; + padding: 6px 14px; + border: 0; border-radius: 0; - font-size: 11px; + background: transparent; + color: #1a1a1a; + font-size: 12px; line-height: 16px; + text-align: left; + cursor: default; +} + +.settings-tabs button:hover { + background: #e8f4ff; } .settings-tabs button.active { - border-color: #89bdea; - background: #c8e4ff; + border-color: transparent; + background: #cce8ff; color: #1a1a1a; - box-shadow: inset 0 0 0 1px #89bdea; + font-weight: 600; + box-shadow: none; } .settings-body { display: grid; - gap: 4px; - padding: 4px 6px; - border: 1px solid #a0a0a0; + grid-column: 1 / -1; + grid-row: 2; + gap: 10px; + min-height: 0; + padding: 16px 20px; + overflow: auto; + border: 0; border-radius: 0; - background: var(--app-surface-low, #ffffff); + background: #ffffff; + align-content: start; +} + +.session-settings-dialog:has(.settings-tabs) .settings-body { + grid-column: 2; } .settings-body label { display: flex; align-items: center; gap: 6px; - min-height: 18px; - font-size: 11px; + min-height: 28px; + font-size: 12px; line-height: 16px; } @@ -966,12 +1000,12 @@ h2 { .settings-body input:not([type='checkbox']), .settings-body select { - height: 20px; - min-height: 20px; + height: 26px; + min-height: 26px; padding: 0 6px; border: 1px solid #a0a0a0; border-radius: 0; - font-size: 11px; + font-size: 12px; line-height: 16px; } @@ -984,7 +1018,7 @@ h2 { background: var(--app-surface-low, #ffffff); color: var(--app-text); font: inherit; - font-size: 11px; + font-size: 12px; line-height: 16px; resize: vertical; } @@ -992,20 +1026,22 @@ h2 { footer { justify-content: flex-end; gap: 6px; - padding-top: 2px; - border-top: 1px solid #c0c0c0; + padding-top: 6px; + border-top: 1px solid #c8c8c8; + border-bottom: 0; + background: #f5f5f5; } footer button { min-width: 72px; - height: 18px; - min-height: 18px; + height: 28px; + min-height: 28px; padding: 0 10px; border: 1px solid #a0a0a0; border-radius: 0; background: #ffffff; color: #111111; - font-size: 11px; + font-size: 12px; line-height: 16px; cursor: default; } diff --git a/src/layouts/AppLayout.test.ts b/src/layouts/AppLayout.test.ts index 2a3d05b6..9a1dd65b 100644 --- a/src/layouts/AppLayout.test.ts +++ b/src/layouts/AppLayout.test.ts @@ -1200,12 +1200,12 @@ describe('AppLayout command palette', () => { expect(source).toContain('grid-template-rows: 48px minmax(0, 1fr) 24px') expect(source).toContain('grid-template-rows: 24px 24px') expect(source).toContain('data-menu-density="capture-1to1"') - expect(source).toMatch(/\.menu-bar\s*\{[\s\S]*?background:\s*#f0f0f0/) + expect(source).toMatch(/\.menu-bar\s*\{[\s\S]*?background:\s*#f0f3f9/) expect(menusButton?.[0]).toContain('height: 21.5px') expect(menusButton?.[0]).toContain('font-size: 12px') expect(menusButton?.[0]).not.toContain('height: 15px') expect(menuCommand?.[0]).toContain('min-height: 22px') - expect(source).toMatch(/\.menu-panel\s*\{[\s\S]*?min-width:\s*24rem/) + expect(source).toMatch(/\.menu-panel\s*\{[\s\S]*?min-width:\s*280px/) expect(source).toMatch(/\.menus > \.menu-group > button\s*\{[\s\S]*?max-width:\s*9em/) expect(source).toMatch(/\.menu-panel \.menu-command\s*\{[\s\S]*?max-width:\s*100%/) expect(source).toMatch(/\.menu-command-label\s*\{[\s\S]*?text-overflow:\s*ellipsis/) diff --git a/src/layouts/AppLayout.vue b/src/layouts/AppLayout.vue index 671d3fa9..b544c7e9 100644 --- a/src/layouts/AppLayout.vue +++ b/src/layouts/AppLayout.vue @@ -2273,10 +2273,10 @@ const sourceSessionTypes = new Set([ min-width: 0; padding: 0; overflow: visible; - border-bottom: 1px solid #a0a0a0; + border-bottom: 1px solid #dcdcdc; - /* Capture title band ~#f0f0f0; menu row paints white over row 2. */ - background: #f0f0f0; + /* HTML demo menu band */ + background: #f0f3f9; } .menu-panel { @@ -2287,15 +2287,15 @@ const sourceSessionTypes = new Set([ display: grid; box-sizing: border-box; width: max-content; - min-width: 24rem; - max-width: min(36rem, calc(100vw - 24px)); + min-width: 280px; + max-width: min(360px, calc(100vw - 24px)); max-height: calc(100vh - 72px); - padding: 2px; + padding: 4px 0; overflow: hidden auto; border: 1px solid #a0a0a0; border-radius: 0; - background: var(--app-canvas); - box-shadow: 0 4px 12px rgb(25 28 30 / 0.16); + background: #f2f2f2; + box-shadow: 2px 2px 8px rgb(0 0 0 / 0.18); } /* Do not inherit .menus > button max-width: 9em — that crushed panel labels (#624). */ @@ -2346,7 +2346,7 @@ const sourceSessionTypes = new Set([ } .menu-panel button:hover { - background: var(--app-primary-soft); + background: #cce8ff; } .menu-panel button:disabled, @@ -2372,9 +2372,9 @@ const sourceSessionTypes = new Set([ } .menu-bar[data-menu-chrome='capture-1to1-residual'] .menus > .menu-group > button.active { - background: #c8e4ff; + background: #cce8ff; color: #000000; - box-shadow: inset 0 0 0 1px #89bdea; + box-shadow: inset 0 0 0 1px #99c9ef; } .menu-bar[data-menu-sep='capture-1to1-residual'] .menu-separator { @@ -2461,10 +2461,10 @@ const sourceSessionTypes = new Set([ gap: 0; min-width: 0; height: 24px; - padding: 0 2px; + padding: 0 4px; overflow: visible; - border-top: 1px solid #d0d0d0; - background: #ffffff; + border-top: 1px solid #dcdcdc; + background: #f0f3f9; } .menu-group { @@ -2503,7 +2503,7 @@ const sourceSessionTypes = new Set([ .menus > .menu-group > button:hover, .menus > .menu-group > button.active, .chrome-button:hover { - background: #eef4ff; + background: #dce8f8; } .top-actions { @@ -2708,7 +2708,7 @@ const sourceSessionTypes = new Set([ } .tab-strip[data-tab-strip-density='capture-1to1-residual'] { - background: #f0f0f0; + background: #f0f3f9; } .tab-strip[data-tab-strip-density='capture-1to1-residual'] .tab-chip { @@ -2888,15 +2888,15 @@ const sourceSessionTypes = new Set([ grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; min-width: 0; - height: 19.5px; - min-height: 19.5px; + height: 26px; + min-height: 26px; padding: 0; - border-top: 1px solid #a0a0a0; - background: #f0f0f0; - color: #000000; - font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif; + border-top: 1px solid #b8b8b8; + background: #d4d4d4; + color: #1a1a1a; + font-family: 'Segoe UI', 'Microsoft YaHei UI', 'PingFang SC', sans-serif; font-size: 11px; - line-height: 18px; + line-height: 24px; } .status-bar[data-status-band='capture-1to1-residual'] .status-bar-pane { @@ -2911,10 +2911,10 @@ const sourceSessionTypes = new Set([ .status-bar[data-chrome-kind='folder-pair'] { /* Capture Folder Compare panes (DPR≈2): 222 | 131 | 222.5 | 39 | 222 | 131 | fr */ grid-template-columns: 222px 131px 222.5px 39px 222px 131px minmax(0, 1fr); - height: 19.5px; - min-height: 19.5px; + height: 26px; + min-height: 26px; font-size: 11px; - line-height: 18px; + line-height: 24px; } .status-bar[data-chrome-kind='folder-pair'] .status-bar-pane { @@ -2933,10 +2933,10 @@ const sourceSessionTypes = new Set([ .status-bar[data-chrome-kind='folder-sync'] { /* Capture Folder Sync panes (DPR≈2): 266.5 | 268.5 | 118 | 268 | fr */ grid-template-columns: 266.5px 268.5px 118px 268px minmax(0, 1fr); - height: 19.5px; - min-height: 19.5px; + height: 26px; + min-height: 26px; font-size: 11px; - line-height: 18px; + line-height: 24px; } .status-bar[data-chrome-kind='folder-sync'] .status-bar-pane { @@ -2958,10 +2958,10 @@ const sourceSessionTypes = new Set([ 0, 1fr ); - height: 19.5px; - min-height: 19.5px; + height: 26px; + min-height: 26px; font-size: 11px; - line-height: 18px; + line-height: 24px; } .status-bar[data-chrome-kind='folder-merge'] .status-bar-pane { @@ -2986,10 +2986,10 @@ const sourceSessionTypes = new Set([ .status-bar[data-chrome-kind='table-session'], .status-bar[data-chrome-kind='registry-session'], .status-bar[data-chrome-kind='clipboard-session'] { - height: 19.5px; - min-height: 19.5px; + height: 26px; + min-height: 26px; font-size: 11px; - line-height: 18px; + line-height: 24px; } .status-bar[data-chrome-kind='text-session'] .status-bar-pane, @@ -3037,10 +3037,10 @@ const sourceSessionTypes = new Set([ .status-bar[data-chrome-kind='text-edit-session'] { grid-template-columns: 91.5px minmax(0, 1fr); - height: 19.5px; - min-height: 19.5px; + height: 26px; + min-height: 26px; font-size: 11px; - line-height: 18px; + line-height: 24px; } .status-bar[data-chrome-kind='text-edit-session'] .status-bar-pane { @@ -3275,15 +3275,15 @@ html[data-show-sidebar='1'] .sidebar { .app-shell-dense-chrome:has(.status-bar[data-chrome-kind='folder-sync']), .app-shell-dense-chrome:has(.status-bar[data-chrome-kind='folder-merge']), .app-shell-dense-chrome:has(.status-bar[data-chrome-kind$='-session']) { - /* Single capture menu row; status track toward capture ~19.5px (DPR≈2). */ - grid-template-rows: 23.5px minmax(0, 1fr) 19.5px; + /* Dense menu row; status track matches HTML demo ~26px. */ + grid-template-rows: 23.5px minmax(0, 1fr) 26px; } .app-shell:not(.app-shell-dense-chrome):has(.status-bar[data-chrome-kind='folder-pair']), .app-shell:not(.app-shell-dense-chrome):has(.status-bar[data-chrome-kind='folder-sync']), .app-shell:not(.app-shell-dense-chrome):has(.status-bar[data-chrome-kind='folder-merge']), .app-shell:not(.app-shell-dense-chrome):has(.status-bar[data-chrome-kind$='-session']) { - grid-template-rows: 48px minmax(0, 1fr) 19.5px; + grid-template-rows: 48px minmax(0, 1fr) 26px; } .app-shell-dense-chrome .menu-bar { diff --git a/src/styles/clipboardChromeDensity.test.ts b/src/styles/clipboardChromeDensity.test.ts index 6d7bd512..dc7a96ba 100644 --- a/src/styles/clipboardChromeDensity.test.ts +++ b/src/styles/clipboardChromeDensity.test.ts @@ -34,8 +34,8 @@ describe('clipboard compare chrome density', () => { expect(clipboardView).not.toMatch(/font-size:\s*9px/) expect(clipboardView).not.toMatch(/min-height:\s*9px/) - expect(layout).toMatch(/data-chrome-kind='clipboard-session'[\s\S]*?height:\s*19\.5px/) - expect(css).toMatch(/\.bc-session-toolbar\s*\{[\s\S]*?min-height:\s*39\.5px/) + expect(layout).toMatch(/data-chrome-kind='clipboard-session'[\s\S]*?height:\s*26px/) + expect(css).toMatch(/\.bc-session-toolbar\s*\{[\s\S]*?min-height:\s*56px/) }) it('keeps Clipboard history pane/entry chrome on capture band', () => { diff --git a/src/styles/folderChromeDensity.test.ts b/src/styles/folderChromeDensity.test.ts index 64fc9685..9a68bd61 100644 --- a/src/styles/folderChromeDensity.test.ts +++ b/src/styles/folderChromeDensity.test.ts @@ -31,7 +31,7 @@ describe('folder chrome density', () => { expect(folderView).toMatch(/folder-right-path-footer/) expect(css).toMatch(/\.folder-compare-view \.path-meta-footer[\s\S]*?min-height:\s*18px/) expect(css).toMatch(/\.folder-compare-view \.path-meta-footer[\s\S]*?font-size:\s*11px/) - expect(folderView).toMatch(/\.path-pair input\s*\{[\s\S]*?height:\s*16\.5px/) + expect(folderView).toMatch(/\.path-pair input\s*\{[\s\S]*?height:\s*24px/) expect(folderView).toMatch(/\.path-pair input\s*\{[\s\S]*?border-radius:\s*0/) expect(folderView).toMatch(/\.folder-toolbar\s*\{[\s\S]*?gap:\s*2px/) expect(folderView).toMatch(/\.folder-criteria\s*\{[\s\S]*?gap:\s*1px 4px/) @@ -60,9 +60,9 @@ it('surfaces Filters/Peek strip at capture CSS scale', () => { expect(css).toMatch(/\.folder-filter-strip\s*\{/) expect(css).toMatch(/\.folder-filter-pattern\s*\{/) expect(css).toMatch(/\.folder-filter-strip-btn\s*\{/) - expect(css).toMatch(/\.folder-filter-strip-btn\s*\{[\s\S]*?height:\s*37\.5px/) - expect(css).toMatch(/\.folder-filter-strip-btn\s*\{[\s\S]*?grid-template-rows:\s*20px auto/) - expect(css).toMatch(/\.folder-filter-pattern\s*\{[\s\S]*?height:\s*16\.5px/) + expect(css).toMatch(/\.folder-filter-strip-btn\s*\{[\s\S]*?height:\s*48px/) + expect(css).toMatch(/\.folder-filter-strip-btn\s*\{[\s\S]*?grid-template-rows:\s*22px auto/) + expect(css).toMatch(/\.folder-filter-pattern\s*\{[\s\S]*?height:\s*24px/) expect(css).toMatch(/\.folder-filter-pattern\s*\{[\s\S]*?border-radius:\s*0/) expect(css).toMatch( /\.folder-filter-chrome\[data-mainbar-row2='capture-1to1-residual'\][\s\S]*?min-height:\s*43\.5px/, @@ -81,12 +81,12 @@ it('surfaces Filters/Peek strip at capture CSS scale', () => { expect(folderView).toMatch(/data-mainbar-row2="capture-1to1-residual"/) expect(folderView).toMatch(/