Add missing CSS part into JSDoc (Dialog, Drawer) (#1515)

* add missing CSS part into JSDoc

* add missing CSS part into JSDoc
This commit is contained in:
randomguy-2650
2025-09-29 18:12:08 +02:00
committed by GitHub
parent 2704ef7197
commit bb747d50dd
2 changed files with 2 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ import styles from './dialog.css';
* behavior such as data loss.
* @event wa-after-hide - Emitted after the dialog closes and all animations are complete.
*
* @csspart dialog - The dialog's internal `<dialog>` element.
* @csspart header - The dialog's header. This element wraps the title and header actions.
* @csspart header-actions - Optional actions to add to the header. Works best with `<wa-button>`.
* @csspart title - The dialog's title.

View File

@@ -38,6 +38,7 @@ import styles from './drawer.css';
* the drawer has been closed programmatically. Avoid using this unless closing the drawer will result in destructive
* behavior such as data loss.
*
* @csspart dialog - The drawer's internal `<dialog>` element.
* @csspart header - The drawer's header. This element wraps the title and header actions.
* @csspart header-actions - Optional actions to add to the header. Works best with `<wa-button>`.
* @csspart title - The drawer's title.