calcite-design-system icon indicating copy to clipboard operation
calcite-design-system copied to clipboard

Enhancement: Alert supporting actions-end

Open bstifle opened this issue 3 years ago • 2 comments

Description

alert needs to support up to 2 actions in the end slot next to the X

image

bstifle avatar Jun 23 '21 19:06 bstifle

hover and hit space to match X

bstifle avatar Jun 23 '21 19:06 bstifle

@asangma - planned update regarding our chat yesterday... would be solvable with the slot paradigm.

macandcheese avatar Oct 26 '21 16:10 macandcheese

Design complete in Figma. Updated design also addresses issues #5254 and #3338. cc: @geospatialem

ashetland avatar Oct 28 '22 19:10 ashetland

@Elijbet Is the alert with actions-end ready for verification, and/or should we move this into the January release milestone?

geospatialem avatar Dec 02 '22 17:12 geospatialem

Installed and assigned for verification.

github-actions[bot] avatar Dec 02 '22 17:12 github-actions[bot]

@Elijbet Is the alert with actions-end ready for verification, and/or should we move this into the January release milestone?

It's ready. Just changed the tag.

Elijbet avatar Dec 02 '22 17:12 Elijbet

Verified on next.658 when slotting a calcite-action.

<calcite-alert open>
    <div slot="title">Alert title</div>
    <div slot="message">Message lorem ipsum</div><a slot="link" href="#">Link slot</a>
  <calcite-action slot="actions-end" text="Settings" icon="gear"></calcite-action>
  <calcite-action slot="actions-end" text="Information" icon="information"></calcite-action>
</calcite-alert>

image

geospatialem avatar Dec 06 '22 00:12 geospatialem