Skip to content

Commit b28d01f

Browse files
authored
refactor!: remove vaadin-date-picker-light element (#9167)
1 parent f3a4465 commit b28d01f

11 files changed

+0
-417
lines changed

packages/date-picker/src/vaadin-date-picker-light.d.ts

Lines changed: 0 additions & 112 deletions
This file was deleted.

packages/date-picker/src/vaadin-date-picker-light.js

Lines changed: 0 additions & 136 deletions
This file was deleted.

packages/date-picker/src/vaadin-date-picker-mixin.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -397,17 +397,6 @@ export const DatePickerMixin = (subclass) =>
397397
this.__setEnteredDate(parsedDate);
398398
}
399399

400-
/**
401-
* Override a getter from `InputControlMixin` to make it optional
402-
* and to prevent warning when a clear button is missing,
403-
* for example when using <vaadin-date-picker-light>.
404-
* @protected
405-
* @return {Element | null | undefined}
406-
*/
407-
get clearElement() {
408-
return null;
409-
}
410-
411400
/** @private */
412401
get _nativeInput() {
413402
if (this.inputElement) {

packages/date-picker/src/vaadin-date-picker.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ export interface DatePickerEventMap extends HTMLElementEventMap, DatePickerCusto
9393
* -----------|--------------------------------------------------|-----------
9494
* `opened` | Set when the date selector overlay is opened | :host
9595
*
96-
* If you want to replace the default `<input>` and its container with a custom implementation to get full control
97-
* over the input field, consider using the [`<vaadin-date-picker-light>`](#/elements/vaadin-date-picker-light) element.
98-
*
9996
* ### Internal components
10097
*
10198
* In addition to `<vaadin-date-picker>` itself, the following internal

packages/date-picker/src/vaadin-date-picker.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ registerStyles('vaadin-date-picker', [inputFieldShared, datePickerStyles], { mod
5656
* -----------|--------------------------------------------------|-----------
5757
* `opened` | Set when the date selector overlay is opened | :host
5858
*
59-
* If you want to replace the default `<input>` and its container with a custom implementation to get full control
60-
* over the input field, consider using the [`<vaadin-date-picker-light>`](#/elements/vaadin-date-picker-light) element.
61-
*
6259
* ### Internal components
6360
*
6461
* In addition to `<vaadin-date-picker>` itself, the following internal

packages/date-picker/test/custom-input.test.js

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)