mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix: localize HeaderAction
, ImageLoader
transitions (#1502)
This commit is contained in:
parent
8dd9169a33
commit
e900b47ff0
2 changed files with 3 additions and 3 deletions
|
@ -86,7 +86,7 @@
|
||||||
style="width: 100%;{$$restProps.style}"
|
style="width: 100%;{$$restProps.style}"
|
||||||
src="{src}"
|
src="{src}"
|
||||||
alt="{alt}"
|
alt="{alt}"
|
||||||
transition:fade="{{ duration: fadeIn ? fast02 : 0 }}"
|
transition:fade|local="{{ duration: fadeIn ? fast02 : 0 }}"
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
{#if error}
|
{#if error}
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
style="width: 100%;{$$restProps.style}"
|
style="width: 100%;{$$restProps.style}"
|
||||||
src="{src}"
|
src="{src}"
|
||||||
alt="{alt}"
|
alt="{alt}"
|
||||||
transition:fade="{{ duration: fadeIn ? fast02 : 0 }}"
|
transition:fade|local="{{ duration: fadeIn ? fast02 : 0 }}"
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
{#if error}
|
{#if error}
|
||||||
|
|
|
@ -88,7 +88,7 @@
|
||||||
bind:this="{refPanel}"
|
bind:this="{refPanel}"
|
||||||
class:bx--header-panel="{true}"
|
class:bx--header-panel="{true}"
|
||||||
class:bx--header-panel--expanded="{true}"
|
class:bx--header-panel--expanded="{true}"
|
||||||
transition:slide="{{
|
transition:slide|local="{{
|
||||||
...transition,
|
...transition,
|
||||||
duration: transition === false ? 0 : transition.duration,
|
duration: transition === false ? 0 : transition.duration,
|
||||||
}}"
|
}}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue