@vaadin/date-time-picker
Advanced tools
Comparing version 23.1.0-alpha3 to 23.1.0-alpha4
{ | ||
"name": "@vaadin/date-time-picker", | ||
"version": "23.1.0-alpha3", | ||
"version": "23.1.0-alpha4", | ||
"publishConfig": { | ||
@@ -37,10 +37,10 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/component-base": "23.1.0-alpha3", | ||
"@vaadin/custom-field": "23.1.0-alpha3", | ||
"@vaadin/date-picker": "23.1.0-alpha3", | ||
"@vaadin/field-base": "23.1.0-alpha3", | ||
"@vaadin/time-picker": "23.1.0-alpha3", | ||
"@vaadin/vaadin-lumo-styles": "23.1.0-alpha3", | ||
"@vaadin/vaadin-material-styles": "23.1.0-alpha3", | ||
"@vaadin/vaadin-themable-mixin": "23.1.0-alpha3" | ||
"@vaadin/component-base": "23.1.0-alpha4", | ||
"@vaadin/custom-field": "23.1.0-alpha4", | ||
"@vaadin/date-picker": "23.1.0-alpha4", | ||
"@vaadin/field-base": "23.1.0-alpha4", | ||
"@vaadin/time-picker": "23.1.0-alpha4", | ||
"@vaadin/vaadin-lumo-styles": "23.1.0-alpha4", | ||
"@vaadin/vaadin-material-styles": "23.1.0-alpha4", | ||
"@vaadin/vaadin-themable-mixin": "23.1.0-alpha4" | ||
}, | ||
@@ -52,3 +52,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "8c9e64e8dfa158dd52a9bf6da351ff038c88ca85" | ||
"gitHead": "aacdb7fe09811894751f0378ff7fb66071892c71" | ||
} |
@@ -100,3 +100,3 @@ /** | ||
declare class DateTimePicker extends FieldMixin( | ||
SlotMixin(DisabledMixin(FocusMixin(ThemableMixin(ElementMixin(HTMLElement))))) | ||
SlotMixin(DisabledMixin(FocusMixin(ThemableMixin(ElementMixin(HTMLElement))))), | ||
) { | ||
@@ -214,3 +214,3 @@ /** | ||
listener: (this: DateTimePicker, ev: DateTimePickerEventMap[K]) => void, | ||
options?: boolean | AddEventListenerOptions | ||
options?: boolean | AddEventListenerOptions, | ||
): void; | ||
@@ -221,3 +221,3 @@ | ||
listener: (this: DateTimePicker, ev: DateTimePickerEventMap[K]) => void, | ||
options?: boolean | EventListenerOptions | ||
options?: boolean | EventListenerOptions, | ||
): void; | ||
@@ -224,0 +224,0 @@ } |
@@ -110,3 +110,3 @@ /** | ||
class DateTimePicker extends FieldMixin( | ||
SlotMixin(DisabledMixin(FocusMixin(ThemableMixin(ElementMixin(PolymerElement))))) | ||
SlotMixin(DisabledMixin(FocusMixin(ThemableMixin(ElementMixin(PolymerElement))))), | ||
) { | ||
@@ -172,3 +172,3 @@ static get template() { | ||
name: { | ||
type: String | ||
type: String, | ||
}, | ||
@@ -189,3 +189,3 @@ | ||
value: '', | ||
observer: '__valueChanged' | ||
observer: '__valueChanged', | ||
}, | ||
@@ -205,3 +205,3 @@ | ||
type: String, | ||
observer: '__minChanged' | ||
observer: '__minChanged', | ||
}, | ||
@@ -221,3 +221,3 @@ | ||
type: String, | ||
observer: '__maxChanged' | ||
observer: '__maxChanged', | ||
}, | ||
@@ -231,3 +231,3 @@ | ||
type: Date, | ||
value: '' | ||
value: '', | ||
}, | ||
@@ -241,3 +241,3 @@ | ||
type: Date, | ||
value: '' | ||
value: '', | ||
}, | ||
@@ -250,3 +250,3 @@ | ||
datePlaceholder: { | ||
type: String | ||
type: String, | ||
}, | ||
@@ -259,3 +259,3 @@ | ||
timePlaceholder: { | ||
type: String | ||
type: String, | ||
}, | ||
@@ -280,3 +280,3 @@ | ||
step: { | ||
type: Number | ||
type: Number, | ||
}, | ||
@@ -299,3 +299,3 @@ | ||
showWeekNumbers: { | ||
type: Boolean | ||
type: Boolean, | ||
}, | ||
@@ -316,3 +316,3 @@ | ||
value: false, | ||
reflectToAttribute: true | ||
reflectToAttribute: true, | ||
}, | ||
@@ -325,3 +325,3 @@ | ||
autofocus: { | ||
type: Boolean | ||
type: Boolean, | ||
}, | ||
@@ -334,3 +334,3 @@ | ||
__selectedDateTime: { | ||
type: Date | ||
type: Date, | ||
}, | ||
@@ -350,3 +350,3 @@ | ||
type: Object, | ||
value: () => ({ ...datePickerI18nDefaults, ...timePickerI18nDefaults }) | ||
value: () => ({ ...datePickerI18nDefaults, ...timePickerI18nDefaults }), | ||
}, | ||
@@ -360,3 +360,3 @@ | ||
type: HTMLElement, | ||
observer: '__datePickerChanged' | ||
observer: '__datePickerChanged', | ||
}, | ||
@@ -370,4 +370,4 @@ | ||
type: HTMLElement, | ||
observer: '__timePickerChanged' | ||
} | ||
observer: '__timePickerChanged', | ||
}, | ||
}; | ||
@@ -391,3 +391,3 @@ } | ||
'__themeChanged(_theme, __datePicker, __timePicker)', | ||
'__pickersChanged(__datePicker, __timePicker)' | ||
'__pickersChanged(__datePicker, __timePicker)', | ||
]; | ||
@@ -409,3 +409,3 @@ } | ||
return element; | ||
} | ||
}, | ||
}; | ||
@@ -830,4 +830,4 @@ } | ||
seconds: date.getSeconds(), | ||
milliseconds: date.getMilliseconds() | ||
}) | ||
milliseconds: date.getMilliseconds(), | ||
}), | ||
); | ||
@@ -874,3 +874,3 @@ } | ||
get __stepSegment() { | ||
const step = this.step == undefined ? 60 : parseFloat(this.step); | ||
const step = this.step == null ? 60 : parseFloat(this.step); | ||
if (step % 3600 === 0) { | ||
@@ -877,0 +877,0 @@ // Accept hours |
@@ -9,3 +9,3 @@ import '@vaadin/date-picker/theme/lumo/vaadin-date-picker.js'; | ||
registerStyles('vaadin-date-time-picker', [requiredField, helper, customField], { | ||
moduleId: 'lumo-date-time-picker' | ||
moduleId: 'lumo-date-time-picker', | ||
}); | ||
@@ -38,3 +38,3 @@ | ||
`, | ||
{ moduleId: 'lumo-date-time-picker-date-picker' } | ||
{ moduleId: 'lumo-date-time-picker-date-picker' }, | ||
); | ||
@@ -57,3 +57,3 @@ | ||
`, | ||
{ moduleId: 'lumo-date-time-picker-time-picker' } | ||
{ moduleId: 'lumo-date-time-picker-time-picker' }, | ||
); |
@@ -9,3 +9,3 @@ import '@vaadin/date-picker/theme/material/vaadin-date-picker.js'; | ||
registerStyles('vaadin-date-time-picker', [requiredField, helper, customField], { | ||
moduleId: 'material-date-time-picker' | ||
moduleId: 'material-date-time-picker', | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58326
+ Added@vaadin/button@23.1.0-alpha4(transitive)
+ Added@vaadin/combo-box@23.1.0-alpha4(transitive)
+ Added@vaadin/component-base@23.1.0-alpha4(transitive)
+ Added@vaadin/custom-field@23.1.0-alpha4(transitive)
+ Added@vaadin/date-picker@23.1.0-alpha4(transitive)
+ Added@vaadin/field-base@23.1.0-alpha4(transitive)
+ Added@vaadin/icon@23.1.0-alpha4(transitive)
+ Added@vaadin/input-container@23.1.0-alpha4(transitive)
+ Added@vaadin/item@23.1.0-alpha4(transitive)
+ Added@vaadin/time-picker@23.1.0-alpha4(transitive)
+ Added@vaadin/vaadin-lumo-styles@23.1.0-alpha4(transitive)
+ Added@vaadin/vaadin-material-styles@23.1.0-alpha4(transitive)
+ Added@vaadin/vaadin-overlay@23.1.0-alpha4(transitive)
+ Added@vaadin/vaadin-themable-mixin@23.1.0-alpha4(transitive)
- Removed@vaadin/button@23.1.0-alpha3(transitive)
- Removed@vaadin/combo-box@23.1.0-alpha3(transitive)
- Removed@vaadin/component-base@23.1.0-alpha3(transitive)
- Removed@vaadin/custom-field@23.1.0-alpha3(transitive)
- Removed@vaadin/date-picker@23.1.0-alpha3(transitive)
- Removed@vaadin/field-base@23.1.0-alpha3(transitive)
- Removed@vaadin/icon@23.1.0-alpha3(transitive)
- Removed@vaadin/input-container@23.1.0-alpha3(transitive)
- Removed@vaadin/item@23.1.0-alpha3(transitive)
- Removed@vaadin/time-picker@23.1.0-alpha3(transitive)
- Removed@vaadin/vaadin-lumo-styles@23.1.0-alpha3(transitive)
- Removed@vaadin/vaadin-material-styles@23.1.0-alpha3(transitive)
- Removed@vaadin/vaadin-overlay@23.1.0-alpha3(transitive)
- Removed@vaadin/vaadin-themable-mixin@23.1.0-alpha3(transitive)