From a56c8d93036626b52ca9d584a2b93c432cf4215d Mon Sep 17 00:00:00 2001 From: Bradley Shellnut Date: Thu, 28 Jul 2022 17:07:23 -0700 Subject: [PATCH] Minimize search text section. --- package.json | 2 +- pnpm-lock.yaml | 12 ++--- src/lib/components/Checkbox.svelte | 21 ++++----- src/lib/components/header/Header.svelte | 16 +------ src/lib/components/preferences/profile.svelte | 25 ++++++++++ .../search/advancedSearch/index.svelte | 13 ++++-- .../components/search/textSearch/index.svelte | 46 +++++++++++++------ 7 files changed, 86 insertions(+), 49 deletions(-) create mode 100644 src/lib/components/preferences/profile.svelte diff --git a/package.json b/package.json index ac8f5fd..91b2446 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@sveltejs/adapter-auto": "1.0.0-next.64", "@sveltejs/kit": "1.0.0-next.396", "@types/cookie": "^0.5.1", - "@types/node": "^18.6.1", + "@types/node": "^18.6.2", "@typescript-eslint/eslint-plugin": "^5.31.0", "@typescript-eslint/parser": "^5.31.0", "carbon-components-svelte": "^0.67.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4cc799f..5f5026b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,7 +12,7 @@ specifiers: '@sveltejs/kit': 1.0.0-next.396 '@types/cookie': ^0.5.1 '@types/feather-icons': ^4.7.0 - '@types/node': ^18.6.1 + '@types/node': ^18.6.2 '@typescript-eslint/eslint-plugin': ^5.31.0 '@typescript-eslint/parser': ^5.31.0 carbon-components-svelte: ^0.67.4 @@ -50,7 +50,7 @@ devDependencies: '@sveltejs/adapter-auto': 1.0.0-next.64 '@sveltejs/kit': 1.0.0-next.396_svelte@3.49.0+vite@3.0.3 '@types/cookie': 0.5.1 - '@types/node': 18.6.1 + '@types/node': 18.6.2 '@typescript-eslint/eslint-plugin': 5.31.0_d5zwcxr4bwkhmuo464cb3a2puu '@typescript-eslint/parser': 5.31.0_he2ccbldppg44uulnyq4rwocfa carbon-components-svelte: 0.67.4 @@ -196,7 +196,7 @@ packages: engines: {node: '>=14'} hasBin: true dependencies: - '@types/node': 18.6.1 + '@types/node': 18.6.2 playwright-core: 1.24.1 dev: true @@ -315,8 +315,8 @@ packages: resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==} dev: true - /@types/node/18.6.1: - resolution: {integrity: sha512-z+2vB6yDt1fNwKOeGbckpmirO+VBDuQqecXkgeIqDlaOtmKn6hPR/viQ8cxCfqLU4fTlvM3+YjM367TukWdxpg==} + /@types/node/18.6.2: + resolution: {integrity: sha512-KcfkBq9H4PI6Vpu5B/KoPeuVDAbmi+2mDBqGPGUgoL7yXQtcWGu2vJWmmRkneWK3Rh0nIAX192Aa87AqKHYChQ==} dev: true /@types/pug/2.0.6: @@ -326,7 +326,7 @@ packages: /@types/sass/1.43.1: resolution: {integrity: sha512-BPdoIt1lfJ6B7rw35ncdwBZrAssjcwzI5LByIrYs+tpXlj/CAkuVdRsgZDdP4lq5EjyWzwxZCqAoFyHKFwp32g==} dependencies: - '@types/node': 18.6.1 + '@types/node': 18.6.2 dev: true /@typescript-eslint/eslint-plugin/5.31.0_d5zwcxr4bwkhmuo464cb3a2puu: diff --git a/src/lib/components/Checkbox.svelte b/src/lib/components/Checkbox.svelte index c5e7947..c835c84 100644 --- a/src/lib/components/Checkbox.svelte +++ b/src/lib/components/Checkbox.svelte @@ -1,34 +1,33 @@ -