1- import { html , LitElement , nothing , type TemplateResult } from 'lit' ;
1+ import { html , nothing , type TemplateResult } from 'lit' ;
22import { property , query , queryAssignedElements } from 'lit/decorators.js' ;
33import { ifDefined } from 'lit/directives/if-defined.js' ;
44import { live } from 'lit/directives/live.js' ;
@@ -20,6 +20,7 @@ import {
2020 escapeKey ,
2121} from '../common/controllers/key-bindings.js' ;
2222import { blazorAdditionalDependencies } from '../common/decorators/blazorAdditionalDependencies.js' ;
23+ import { shadowOptions } from '../common/decorators/shadow-options.js' ;
2324import { watch } from '../common/decorators/watch.js' ;
2425import { registerComponent } from '../common/definitions/register.js' ;
2526import {
@@ -150,6 +151,7 @@ export interface IgcDatePickerComponentEventMap {
150151@blazorAdditionalDependencies (
151152 'IgcCalendarComponent, IgcDateTimeInputComponent, IgcDialogComponent, IgcIconComponent'
152153)
154+ @shadowOptions ( { delegatesFocus : true } )
153155export default class IgcDatePickerComponent extends FormAssociatedRequiredMixin (
154156 EventEmitterMixin <
155157 IgcDatePickerComponentEventMap ,
@@ -159,11 +161,6 @@ export default class IgcDatePickerComponent extends FormAssociatedRequiredMixin(
159161 public static readonly tagName = 'igc-date-picker' ;
160162 public static styles = [ styles , shared ] ;
161163
162- protected static shadowRootOptions = {
163- ...LitElement . shadowRootOptions ,
164- delegatesFocus : true ,
165- } ;
166-
167164 /* blazorSuppress */
168165 public static register ( ) : void {
169166 registerComponent (
0 commit comments