diff --git a/src/components/drawer/drawer.ts b/src/components/drawer/drawer.ts index 8c21705e..adf512cb 100644 --- a/src/components/drawer/drawer.ts +++ b/src/components/drawer/drawer.ts @@ -32,11 +32,11 @@ let id = 0; * @part body - The drawer body. * @part footer - The drawer footer. * - * @prop --size - The preferred size of the drawer. This will be applied to the drawer's width or height depending on its + * @customProperty --size - The preferred size of the drawer. This will be applied to the drawer's width or height depending on its * `placement`. Note that the drawer will shrink to accommodate smaller screens. - * @prop --header-spacing - The amount of padding to use for the header. - * @prop --body-spacing - The amount of padding to use for the body. - * @prop --footer-spacing - The amount of padding to use for the footer. + * @customProperty --header-spacing - The amount of padding to use for the header. + * @customProperty --body-spacing - The amount of padding to use for the body. + * @customProperty --footer-spacing - The amount of padding to use for the footer. */ @customElement('sl-drawer') export default class SlDrawer extends LitElement { diff --git a/src/components/input/input.ts b/src/components/input/input.ts index d59bf721..430c4c60 100644 --- a/src/components/input/input.ts +++ b/src/components/input/input.ts @@ -33,7 +33,7 @@ let id = 0; * @part suffix - The input suffix container. * @part help-text - The input help text. * - * @prop --focus-ring - The focus ring style to use when the control receives focus, a `box-shadow` property. + * @customProperty --focus-ring - The focus ring style to use when the control receives focus, a `box-shadow` property. */ @customElement('sl-input') export default class SlInput extends LitElement {