mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
docs: add breaking change notice to ComboBox, Dropdown docs (#1018)
This commit is contained in:
parent
cfa036d7a6
commit
52705bae03
2 changed files with 14 additions and 2 deletions
|
@ -1,8 +1,14 @@
|
|||
<script>
|
||||
import { ComboBox } from "carbon-components-svelte";
|
||||
import { ComboBox, InlineNotification } from "carbon-components-svelte";
|
||||
import Preview from "../../components/Preview.svelte";
|
||||
</script>
|
||||
|
||||
<InlineNotification svx-ignore title="Note:" kind="info" hideCloseButton>
|
||||
<div class="body-short-01">
|
||||
Since version 0.53, <strong>selectedIndex</strong> has been replaced with <strong>selectedId</strong>.
|
||||
</div>
|
||||
</InlineNotification>
|
||||
|
||||
### Default
|
||||
|
||||
<ComboBox titleText="Contact" placeholder="Select contact method"
|
||||
|
|
|
@ -3,10 +3,16 @@ components: ["Dropdown", "DropdownSkeleton"]
|
|||
---
|
||||
|
||||
<script>
|
||||
import { Dropdown, DropdownSkeleton } from "carbon-components-svelte";
|
||||
import { Dropdown, DropdownSkeleton, InlineNotification } from "carbon-components-svelte";
|
||||
import Preview from "../../components/Preview.svelte";
|
||||
</script>
|
||||
|
||||
<InlineNotification svx-ignore title="Note:" kind="info" hideCloseButton>
|
||||
<div class="body-short-01">
|
||||
Since version 0.53, <strong>selectedIndex</strong> has been replaced with <strong>selectedId</strong>.
|
||||
</div>
|
||||
</InlineNotification>
|
||||
|
||||
### Default
|
||||
|
||||
<Dropdown titleText="Contact" selectedId="0" items="{[{id: "0", text: "Slack"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue