diff --git a/package.json b/package.json index b282914..7eda5f9 100644 --- a/package.json +++ b/package.json @@ -12,34 +12,35 @@ "format": "prettier --write ." }, "devDependencies": { + "@skeletonlabs/skeleton": "2.10.0", + "@skeletonlabs/tw-plugin": "0.4.0", "@sveltejs/adapter-auto": "^3.0.0", "@sveltejs/kit": "^2.0.0", "@sveltejs/vite-plugin-svelte": "^3.0.0", + "@tailwindcss/forms": "0.5.7", + "@tailwindcss/typography": "0.5.13", "@types/eslint": "^8.56.0", + "@types/node": "20.12.12", "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^7.0.0", + "autoprefixer": "10.4.19", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-svelte": "^2.35.1", + "postcss": "8.4.38", "prettier": "^3.1.1", "prettier-plugin-svelte": "^3.1.2", "svelte": "^4.2.7", "svelte-check": "^3.6.0", + "tailwindcss": "3.4.3", "tslib": "^2.4.1", "typescript": "^5.0.0", "vite": "^5.0.3", - "postcss": "8.4.38", - "autoprefixer": "10.4.19", - "tailwindcss": "3.4.3", - "@skeletonlabs/skeleton": "2.10.0", - "@skeletonlabs/tw-plugin": "0.4.0", - "vite-plugin-tailwind-purgecss": "0.3.3", - "@tailwindcss/typography": "0.5.13", - "@tailwindcss/forms": "0.5.7", - "@types/node": "20.12.12" + "vite-plugin-tailwind-purgecss": "0.3.3" }, "type": "module", "dependencies": { - "@floating-ui/dom": "1.6.5" + "@floating-ui/dom": "1.6.5", + "svelte-persisted-store": "^0.9.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d22505b..027ad92 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,9 +11,9 @@ importers: '@floating-ui/dom': specifier: 1.6.5 version: 1.6.5 - highlight.js: - specifier: 11.9.0 - version: 11.9.0 + svelte-persisted-store: + specifier: ^0.9.2 + version: 0.9.2(svelte@4.2.17) devDependencies: '@skeletonlabs/skeleton': specifier: 2.10.0 @@ -909,10 +909,6 @@ packages: resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} engines: {node: '>= 0.4'} - highlight.js@11.9.0: - resolution: {integrity: sha512-fJ7cW7fQGCYAkgv4CPfwFHrfd/cLS4Hau96JuJ+ZTOWhjnhoeN1ub1tFmALm/+lW5z4WCAuAV9bm05AP0mS6Gw==} - engines: {node: '>=12.0.0'} - ignore@5.3.1: resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} engines: {node: '>= 4'} @@ -1414,6 +1410,12 @@ packages: peerDependencies: svelte: ^3.19.0 || ^4.0.0 + svelte-persisted-store@0.9.2: + resolution: {integrity: sha512-jp7W98yMgBhgz5fWnjZBCmCX89Rse13iqVpjK+1ByS6iYkvW9WT+F2vwsep3f0Zy/tnGYbb8MI+9Vx7W0NQsPg==} + engines: {node: '>=0.14'} + peerDependencies: + svelte: ^3.48.0 || ^4.0.0 || ^5.0.0-next.0 + svelte-preprocess@5.1.4: resolution: {integrity: sha512-IvnbQ6D6Ao3Gg6ftiM5tdbR6aAETwjhHV+UKGf5bHGYR69RQvF1ho0JKPcbUON4vy4R7zom13jPjgdOWCQ5hDA==} engines: {node: '>= 16.0.0'} @@ -2402,8 +2404,6 @@ snapshots: dependencies: function-bind: 1.1.2 - highlight.js@11.9.0: {} - ignore@5.3.1: {} import-fresh@3.3.0: @@ -2873,6 +2873,10 @@ snapshots: dependencies: svelte: 4.2.17 + svelte-persisted-store@0.9.2(svelte@4.2.17): + dependencies: + svelte: 4.2.17 + svelte-preprocess@5.1.4(postcss-load-config@4.0.2(postcss@8.4.38))(postcss@8.4.38)(svelte@4.2.17)(typescript@5.4.5): dependencies: '@types/pug': 2.0.10 diff --git a/src/lib/components/atoms/ServerInput.svelte b/src/lib/components/atoms/ServerInput.svelte new file mode 100644 index 0000000..625c336 --- /dev/null +++ b/src/lib/components/atoms/ServerInput.svelte @@ -0,0 +1,48 @@ + + +
+ + +