Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions packages/calcite-components/src/components/block/block.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,11 @@ export const contentSpacing_TestOnly = (): string =>

export const loadingWithSlottedIcon_TestOnly = (): string =>
html`
<style>
:root {
--calcite-duration-factor: 0;
}
</style>
<calcite-block collapsible open loading heading="Layer effects" description="Adjust blur">
<calcite-icon scale="s" slot="icon" icon="effects"></calcite-icon>
<calcite-notice open>
Expand All @@ -228,6 +233,11 @@ export const loadingWithSlottedIcon_TestOnly = (): string =>

export const loadingWithNoStatusNorSlottedIcon_TestOnly = (): string =>
html`
<style>
:root {
--calcite-duration-factor: 0;
}
</style>
<calcite-block collapsible open loading heading="Layer effects" description="Adjust blur">
<calcite-notice open>
<div slot="message">Use layer effects sparingly</div>
Expand All @@ -237,6 +247,11 @@ export const loadingWithNoStatusNorSlottedIcon_TestOnly = (): string =>

export const loadingWithStatusIcon_TestOnly = (): string =>
html`
<style>
:root {
--calcite-duration-factor: 0;
}
</style>
<calcite-block loading heading="Valid status" description="summary" collapsible status="valid">
<calcite-input icon="form-field" placeholder="This is valid input field"></calcite-input>
</calcite-block>
Expand Down