mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
feat: forward paste event to input/textarea elements (#1332)
* chore(deps-dev): upgrade sveld, svelte-check * feat: forward paste event to input/textarea elements * Run "yarn build:docs" * test: assert paste event
This commit is contained in:
parent
f25a10c9c4
commit
e230db8115
33 changed files with 96 additions and 61 deletions
|
@ -2,45 +2,18 @@
|
|||
import { TextArea, TextAreaSkeleton } from "../types";
|
||||
</script>
|
||||
|
||||
<TextArea labelText="App description" placeholder="Enter a description..." />
|
||||
|
||||
<TextArea
|
||||
value=""
|
||||
hideLabel
|
||||
light
|
||||
rows="{10}"
|
||||
labelText="App description"
|
||||
helperText="A rich description helps us better recommend related products and services"
|
||||
placeholder="Enter a description..."
|
||||
/>
|
||||
|
||||
<TextArea
|
||||
hideLabel
|
||||
labelText="App description"
|
||||
placeholder="Enter a description..."
|
||||
/>
|
||||
|
||||
<TextArea
|
||||
light
|
||||
labelText="App description"
|
||||
placeholder="Enter a description..."
|
||||
/>
|
||||
|
||||
<TextArea
|
||||
rows="{10}"
|
||||
labelText="App description"
|
||||
placeholder="Enter a description..."
|
||||
/>
|
||||
|
||||
<TextArea
|
||||
invalid
|
||||
invalidText="Only plain text characters are allowed"
|
||||
labelText="App description"
|
||||
placeholder="Enter a description..."
|
||||
/>
|
||||
|
||||
<TextArea
|
||||
disabled
|
||||
labelText="App description"
|
||||
placeholder="Enter a description..."
|
||||
on:paste
|
||||
/>
|
||||
|
||||
<TextAreaSkeleton />
|
||||
|
||||
<TextAreaSkeleton hideLabel />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue