diff --git a/.changeset/stupid-emus-compete.md b/.changeset/stupid-emus-compete.md new file mode 100644 index 000000000..44774f9c0 --- /dev/null +++ b/.changeset/stupid-emus-compete.md @@ -0,0 +1,5 @@ +--- +'@lion/ui': patch +--- + +feat(@lion/ui): add \_invokerIconTemplate to LionInputDatepicker diff --git a/packages/ui/components/input-datepicker/src/LionInputDatepicker.js b/packages/ui/components/input-datepicker/src/LionInputDatepicker.js index fa7ba82d3..8598442d1 100644 --- a/packages/ui/components/input-datepicker/src/LionInputDatepicker.js +++ b/packages/ui/components/input-datepicker/src/LionInputDatepicker.js @@ -279,11 +279,19 @@ export class LionInputDatepicker extends ScopedElementsMixin( aria-label="${this.msgLit('lion-input-datepicker:openDatepickerLabel')}" title="${this.msgLit('lion-input-datepicker:openDatepickerLabel')}" > - 📅 + ${this._invokerIconTemplate()} `; } + /** + * Subclassers can replace this with their custom extension invoker icon + */ + // eslint-disable-next-line class-methods-use-this + _invokerIconTemplate() { + return html`📅`; + } + _setupOverlayCtrl() { super._setupOverlayCtrl();