diff --git a/docs/resources/changelog.md b/docs/resources/changelog.md index d34b39036..1b9aac4b3 100644 --- a/docs/resources/changelog.md +++ b/docs/resources/changelog.md @@ -16,6 +16,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti - Added the `@documentation` tag with a link to the docs for each component - Added the `form` attribute to all form controls to allow placing them outside of a `
` element [#1130](https://github.com/shoelace-style/shoelace/issues/1130) - Added the `getFormControls()` function as an alternative to `HTMLFormElement.elements` +- Added missing docs for the `header-actions` slot in `` and `` - Fixed a bug in `` that prevented placeholders from showing when `multiple` was used [#1109](https://github.com/shoelace-style/shoelace/issues/1109) - Fixed a bug in `` that caused tags to not be rounded when using the `pill` attribute [#1117](https://github.com/shoelace-style/shoelace/issues/1117) - Fixed a bug in `` where the `sl-change` and `sl-input` events didn't weren't emitted when removing tags [#1119](https://github.com/shoelace-style/shoelace/issues/1119) diff --git a/src/components/dialog/dialog.ts b/src/components/dialog/dialog.ts index 22e228846..9ec7186e2 100644 --- a/src/components/dialog/dialog.ts +++ b/src/components/dialog/dialog.ts @@ -25,6 +25,7 @@ import type { CSSResultGroup } from 'lit'; * * @slot - The dialog's main content. * @slot label - The dialog's label. Alternatively, you can use the `label` attribute. + * @slot header-actions - Optional actions to add to the header. Works best with ``. * @slot footer - The dialog's footer, usually one or more buttons representing various options. * * @event sl-show - Emitted when the dialog opens. diff --git a/src/components/drawer/drawer.ts b/src/components/drawer/drawer.ts index 592ae6c45..9e99099b8 100644 --- a/src/components/drawer/drawer.ts +++ b/src/components/drawer/drawer.ts @@ -26,6 +26,7 @@ import type { CSSResultGroup } from 'lit'; * * @slot - The drawer's main content. * @slot label - The drawer's label. Alternatively, you can use the `label` attribute. + * @slot header-actions - Optional actions to add to the header. Works best with ``. * @slot footer - The drawer's footer, usually one or more buttons representing various options. * * @event sl-show - Emitted when the drawer opens.