From 8404030a9e657170619d5aca0ce743ba712d953a Mon Sep 17 00:00:00 2001 From: koory1st <32436334@qq.com> Date: Sat, 9 Dec 2023 14:45:49 +0800 Subject: [PATCH] fix(input): expose textareaStyle --- packages/input/package.json | 3 ++- packages/input/src/lib/input.svelte | 23 +++++++++++++---------- packages/input/src/routes/+page.svelte | 9 +++++++++ pnpm-lock.yaml | 7 +++++++ 4 files changed, 31 insertions(+), 11 deletions(-) diff --git a/packages/input/package.json b/packages/input/package.json index 7c7cc0ba..6c8cbc0c 100644 --- a/packages/input/package.json +++ b/packages/input/package.json @@ -38,7 +38,8 @@ "@svelement-ui/icon": "workspace:^", "@svelement-ui/theme-chalk": "workspace:^", "@svelement-ui/util-array-2-class-string": "workspace:^", - "@svelement-ui/util-array-2-style-string": "workspace:^" + "@svelement-ui/util-array-2-style-string": "workspace:^", + "to-style": "^1.3.3" }, "repository": { "type": "git", diff --git a/packages/input/src/lib/input.svelte b/packages/input/src/lib/input.svelte index 17b01759..b3ea95f0 100644 --- a/packages/input/src/lib/input.svelte +++ b/packages/input/src/lib/input.svelte @@ -1,6 +1,7 @@ @@ -63,3 +71,4 @@ + diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9d4ae121..71f19d6a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -256,6 +256,9 @@ importers: '@svelement-ui/util-array-2-style-string': specifier: workspace:^ version: link:../util-array-2-style-string + to-style: + specifier: ^1.3.3 + version: 1.3.3 packages/input-number: devDependencies: @@ -5211,6 +5214,10 @@ packages: is-number: 7.0.0 dev: true + /to-style@1.3.3: + resolution: {integrity: sha512-9K8KYegr9hrdm8yPpu5iZjJp5t6RPAp4gFDU5hD9zR8hwqgF4fsoSitMtkRKQG2qkP5j/uG3wajbgV09rjmIqg==} + dev: true + /totalist@3.0.1: resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} engines: {node: '>=6'}