mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
feat(search)!: integrate Search
with v11 (#1970)
This commit is contained in:
parent
a27a2fc185
commit
cf41756cf4
7 changed files with 105 additions and 189 deletions
|
@ -1,21 +1,20 @@
|
|||
<script lang="ts">
|
||||
import { Search } from "../types";
|
||||
import { Search, SearchSkeleton } from "../types";
|
||||
</script>
|
||||
|
||||
<Search on:paste />
|
||||
<Search
|
||||
spellcheck="false"
|
||||
expandable
|
||||
disabled
|
||||
light
|
||||
size="sm"
|
||||
placeholder="Search catalog..."
|
||||
value="Cloud functions"
|
||||
on:input
|
||||
on:paste
|
||||
on:clear
|
||||
on:expand
|
||||
on:collapse
|
||||
/>
|
||||
|
||||
<Search placeholder="Search catalog..." value="Cloud functions" />
|
||||
|
||||
<Search light name="search" />
|
||||
|
||||
<Search size="lg" />
|
||||
|
||||
<Search size="sm" />
|
||||
|
||||
<Search disabled />
|
||||
|
||||
<Search skeleton />
|
||||
|
||||
<Search size="lg" skeleton />
|
||||
|
||||
<Search size="sm" skeleton />
|
||||
<SearchSkeleton size="lg" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue