From 9c1b96750247b328daa0c26405d0dab9b93630e7 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Tue, 26 Mar 2024 08:46:05 -0700 Subject: [PATCH] feat: improves icons placement for expanding json (#2854) --- assets/components.d.ts | 2 ++ .../components/LogViewer/ComplexLogItem.vue | 25 ++++++++----------- assets/components/LogViewer/FieldList.vue | 12 ++++----- package.json | 1 + pnpm-lock.yaml | 10 +++++++- 5 files changed, 28 insertions(+), 22 deletions(-) diff --git a/assets/components.d.ts b/assets/components.d.ts index cfa3d402..f41a378f 100644 --- a/assets/components.d.ts +++ b/assets/components.d.ts @@ -52,6 +52,8 @@ declare module 'vue' { LogStd: typeof import('./components/LogViewer/LogStd.vue')['default'] LogViewer: typeof import('./components/LogViewer/LogViewer.vue')['default'] LogViewerWithSource: typeof import('./components/LogViewer/LogViewerWithSource.vue')['default'] + 'MaterialSymbols:collapseAllRounded': typeof import('~icons/material-symbols/collapse-all-rounded')['default'] + 'MaterialSymbols:expandAllRounded': typeof import('~icons/material-symbols/expand-all-rounded')['default'] 'Mdi:announcement': typeof import('~icons/mdi/announcement')['default'] 'Mdi:arrowUp': typeof import('~icons/mdi/arrow-up')['default'] 'Mdi:check': typeof import('~icons/mdi/check')['default'] diff --git a/assets/components/LogViewer/ComplexLogItem.vue b/assets/components/LogViewer/ComplexLogItem.vue index 00bf5951..16412870 100644 --- a/assets/components/LogViewer/ComplexLogItem.vue +++ b/assets/components/LogViewer/ComplexLogItem.vue @@ -1,5 +1,10 @@