@vaadin/time-picker 22.0.1 → 23.0.0-alpha3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +9 -9
- package/src/vaadin-time-picker-combo-box.js +1 -1
- package/src/vaadin-time-picker-dropdown.js +2 -2
- package/src/vaadin-time-picker-item.js +1 -1
- package/src/vaadin-time-picker-overlay.js +1 -1
- package/src/vaadin-time-picker-scroller.js +2 -2
- package/src/vaadin-time-picker.d.ts +11 -2
- package/src/vaadin-time-picker.js +2 -2
- package/theme/lumo/vaadin-time-picker-styles.js +1 -1
- package/theme/lumo/vaadin-time-picker.js +3 -2
- package/theme/material/vaadin-time-picker-styles.js +1 -1
- package/theme/material/vaadin-time-picker.js +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/time-picker",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "23.0.0-alpha3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -33,18 +33,18 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@polymer/polymer": "^3.0.0",
|
|
36
|
-
"@vaadin/combo-box": "
|
|
37
|
-
"@vaadin/component-base": "
|
|
38
|
-
"@vaadin/field-base": "
|
|
39
|
-
"@vaadin/input-container": "
|
|
40
|
-
"@vaadin/vaadin-lumo-styles": "
|
|
41
|
-
"@vaadin/vaadin-material-styles": "
|
|
42
|
-
"@vaadin/vaadin-themable-mixin": "
|
|
36
|
+
"@vaadin/combo-box": "23.0.0-alpha3",
|
|
37
|
+
"@vaadin/component-base": "23.0.0-alpha3",
|
|
38
|
+
"@vaadin/field-base": "23.0.0-alpha3",
|
|
39
|
+
"@vaadin/input-container": "23.0.0-alpha3",
|
|
40
|
+
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha3",
|
|
41
|
+
"@vaadin/vaadin-material-styles": "23.0.0-alpha3",
|
|
42
|
+
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@esm-bundle/chai": "^4.3.4",
|
|
46
46
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
47
47
|
"sinon": "^9.2.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "490037919a9e054cc002c1b3be0c94a1603e1a44"
|
|
50
50
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import './vaadin-time-picker-item.js';
|
|
@@ -12,7 +12,7 @@ import { ComboBoxDropdown } from '@vaadin/combo-box/src/vaadin-combo-box-dropdow
|
|
|
12
12
|
/**
|
|
13
13
|
* An element used internally by `<vaadin-time-picker>`. Not intended to be used separately.
|
|
14
14
|
*
|
|
15
|
-
* @extends
|
|
15
|
+
* @extends ComboBoxDropdown
|
|
16
16
|
* @private
|
|
17
17
|
*/
|
|
18
18
|
class TimePickerDropdown extends ComboBoxDropdown {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { ComboBoxItem } from '@vaadin/combo-box/src/vaadin-combo-box-item.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { ComboBoxOverlay } from '@vaadin/combo-box/src/vaadin-combo-box-overlay.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { ComboBoxScroller } from '@vaadin/combo-box/src/vaadin-combo-box-scroller.js';
|
|
@@ -8,7 +8,7 @@ import { ComboBoxScroller } from '@vaadin/combo-box/src/vaadin-combo-box-scrolle
|
|
|
8
8
|
/**
|
|
9
9
|
* An element used internally by `<vaadin-time-picker>`. Not intended to be used separately.
|
|
10
10
|
*
|
|
11
|
-
* @extends
|
|
11
|
+
* @extends ComboBoxScroller
|
|
12
12
|
* @private
|
|
13
13
|
*/
|
|
14
14
|
class TimePickerScroller extends ComboBoxScroller {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
|
|
@@ -22,6 +22,13 @@ export interface TimePickerI18n {
|
|
|
22
22
|
selector: string;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Fired when the user commits a value change.
|
|
27
|
+
*/
|
|
28
|
+
export type TimePickerChangeEvent = Event & {
|
|
29
|
+
target: TimePicker;
|
|
30
|
+
};
|
|
31
|
+
|
|
25
32
|
/**
|
|
26
33
|
* Fired when the `invalid` property changes.
|
|
27
34
|
*/
|
|
@@ -38,7 +45,9 @@ export interface TimePickerCustomEventMap {
|
|
|
38
45
|
'value-changed': TimePickerValueChangedEvent;
|
|
39
46
|
}
|
|
40
47
|
|
|
41
|
-
export interface TimePickerEventMap extends HTMLElementEventMap, TimePickerCustomEventMap {
|
|
48
|
+
export interface TimePickerEventMap extends HTMLElementEventMap, TimePickerCustomEventMap {
|
|
49
|
+
change: TimePickerChangeEvent;
|
|
50
|
+
}
|
|
42
51
|
|
|
43
52
|
/**
|
|
44
53
|
* `<vaadin-time-picker>` is a Web Component providing a time-selection field.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import '@vaadin/input-container/src/vaadin-input-container.js';
|
|
@@ -320,7 +320,7 @@ class TimePicker extends PatternMixin(InputControlMixin(ThemableMixin(ElementMix
|
|
|
320
320
|
this.ariaTarget = input;
|
|
321
321
|
})
|
|
322
322
|
);
|
|
323
|
-
this.addController(new LabelledInputController(this.inputElement, this.
|
|
323
|
+
this.addController(new LabelledInputController(this.inputElement, this._labelController));
|
|
324
324
|
this._inputContainer = this.shadowRoot.querySelector('[part~="input-field"]');
|
|
325
325
|
}
|
|
326
326
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
-
import '@vaadin/combo-box/theme/lumo/vaadin-combo-box-
|
|
6
|
+
import '@vaadin/combo-box/theme/lumo/vaadin-combo-box-dropdown-styles.js';
|
|
7
|
+
import '@vaadin/combo-box/theme/lumo/vaadin-combo-box-item-styles.js';
|
|
7
8
|
import '@vaadin/input-container/theme/lumo/vaadin-input-container.js';
|
|
8
9
|
import './vaadin-time-picker-styles.js';
|
|
9
10
|
import '../../src/vaadin-time-picker.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
-
import '@vaadin/combo-box/theme/material/vaadin-combo-box-
|
|
6
|
+
import '@vaadin/combo-box/theme/material/vaadin-combo-box-dropdown-styles.js';
|
|
7
|
+
import '@vaadin/combo-box/theme/material/vaadin-combo-box-item-styles.js';
|
|
7
8
|
import '@vaadin/input-container/theme/material/vaadin-input-container.js';
|
|
8
9
|
import './vaadin-time-picker-styles.js';
|
|
9
10
|
import '../../src/vaadin-time-picker.js';
|