mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01:05 +00:00
chore: use sveld to generate types, component docs
This commit is contained in:
parent
75d4b4cf03
commit
380a780b65
15 changed files with 13298 additions and 4888 deletions
|
@ -39,7 +39,7 @@
|
|||
class:bx--accordion__item--active="{open}"
|
||||
class:bx--accordion__item--disabled="{disabled}"
|
||||
{...$$restProps}
|
||||
class="bx--accordion__item--${animation} {$$restProps.class}"
|
||||
class="bx--accordion__item--{animation} {$$restProps.class}"
|
||||
on:animationend
|
||||
on:animationend="{() => {
|
||||
animation = undefined;
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<script>
|
||||
/**
|
||||
* @slot {{ props?: { role: "button"; type?: string; tabindex: string; disabled: boolean; href?: string; class: string; [key: string]: any; } }}
|
||||
*/
|
||||
|
||||
/**
|
||||
* Specify the kind of button
|
||||
* @type {"primary" | "secondary" | "tertiary" | "ghost" | "danger" | "danger-tertiary" | "danger-ghost"}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script>
|
||||
/**
|
||||
* @slot {{ props?: { class: string; } }}
|
||||
* @slot {{ props?: { class: string; [key: string]: any; } }}
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue