diff --git a/research/package.json b/research/package.json index 4fcb237..2def3a8 100644 --- a/research/package.json +++ b/research/package.json @@ -15,6 +15,7 @@ "@astrojs/svelte": "^5.7.0", "@astrojs/tailwind": "^5.1.0", "astro": "^4.14.2", + "nanostores": "^0.11.2", "svelte": "^4.2.18", "tailwindcss": "^3.4.10", "typescript": "^5.5.4" diff --git a/research/pnpm-lock.yaml b/research/pnpm-lock.yaml index dee6fdc..b3b18a3 100644 --- a/research/pnpm-lock.yaml +++ b/research/pnpm-lock.yaml @@ -23,6 +23,9 @@ importers: astro: specifier: ^4.14.2 version: 4.14.2(rollup@4.20.0)(sass@1.77.8)(typescript@5.5.4) + nanostores: + specifier: ^0.11.2 + version: 0.11.2 svelte: specifier: ^4.2.18 version: 4.2.18 @@ -1559,6 +1562,10 @@ packages: engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true + nanostores@0.11.2: + resolution: {integrity: sha512-6bucNxMJA5rNV554WQl+MWGng0QVMzlRgpKTHHfIbVLrhQ+yRXBychV9ECGVuuUfCMQPjfIG9bj8oJFZ9hYP/Q==} + engines: {node: ^18.0.0 || >=20.0.0} + neotraverse@0.6.18: resolution: {integrity: sha512-Z4SmBUweYa09+o6pG+eASabEpP6QkQ70yHj351pQoEXIs8uHbaU2DWVmzBANKgflPa47A50PtB2+NgRpQvr7vA==} engines: {node: '>= 10'} @@ -4098,6 +4105,8 @@ snapshots: nanoid@3.3.7: {} + nanostores@0.11.2: {} + neotraverse@0.6.18: {} nlcst-to-string@4.0.0: diff --git a/research/src/components/Dropdown.svelte b/research/src/components/Dropdown.svelte new file mode 100644 index 0000000..8f406c6 --- /dev/null +++ b/research/src/components/Dropdown.svelte @@ -0,0 +1,68 @@ +