diff --git a/packages/main/src/DurationPicker.js b/packages/main/src/DurationPicker.js index 2449ca8c496e..a7ecbbe03bc9 100644 --- a/packages/main/src/DurationPicker.js +++ b/packages/main/src/DurationPicker.js @@ -240,20 +240,25 @@ const metadata = { * *

Keyboard handling

* [F4], [ALT]+[UP], [ALT]+[DOWN] Open/Close picker dialog and move focus to it. + *
* When closed: - * [PAGEUP] - Increments hours by 1. If 12 am is reached, increment hours to 1 pm and vice versa. - * [PAGEDOWN] - Decrements the corresponding field by 1. If 1 pm is reached, decrement hours to 12 am and vice versa. - * [SHIFT]+[PAGEUP] Increments minutes by 1. - * [SHIFT]+ [PAGEDOWN] Decrements minutes by 1. - * [SHIFT]+[CTRL]+[PAGEUP] Increments seconds by 1. - * [SHIFT]+[CTRL]+ [PAGEDOWN] Decrements seconds by 1. + * * When opened: - * [UP] If focus is on one of the selection lists: Select the value which is above the current value. If the first value is selected, select the last value in the list. Exception: AM/ PM List: stay on the first item. - * [DOWN] If focus is on one of the selection lists: Select the value which is below the current value. If the last value is selected, select the first value in the list. Exception: AM/ PM List: stay on the last item. - * [LEFT] If focus is on one of the selection lists: Move focus to the selection list which is left of the current selection list. If focus is at the first selection list, move focus to the last selection list. - * [RIGHT] If focus is on one of the selection lists: Move focus to the selection list which is right of the current selection list. When focus is at the last selection list, move focus to the first selection list. - * [PAGEUP] If focus is on one of the selection lists: Move focus to the first entry of this list. - * [PAGEDOWN] If focus is on one of the selection lists: Move focus to the last entry of this list. + * * *

ES6 Module Import

* diff --git a/packages/main/src/TimePicker.js b/packages/main/src/TimePicker.js index 3a28aeee1b02..f96c1dd5b6ca 100644 --- a/packages/main/src/TimePicker.js +++ b/packages/main/src/TimePicker.js @@ -241,20 +241,26 @@ const metadata = { * *

Keyboard handling

* [F4], [ALT]+[UP], [ALT]+[DOWN] Open/Close picker dialog and move focus to it. + *
* When closed: - * [PAGEUP] - Increments hours by 1. If 12 am is reached, increment hours to 1 pm and vice versa. - * [PAGEDOWN] - Decrements the corresponding field by 1. If 1 pm is reached, decrement hours to 12 am and vice versa. - * [SHIFT]+[PAGEUP] Increments minutes by 1. - * [SHIFT]+ [PAGEDOWN] Decrements minutes by 1. - * [SHIFT]+[CTRL]+[PAGEUP] Increments seconds by 1. - * [SHIFT]+[CTRL]+ [PAGEDOWN] Decrements seconds by 1. + * * When opened: - * [UP] If focus is on one of the selection lists: Select the value which is above the current value. If the first value is selected, select the last value in the list. Exception: AM/ PM List: stay on the first item. - * [DOWN] If focus is on one of the selection lists: Select the value which is below the current value. If the last value is selected, select the first value in the list. Exception: AM/ PM List: stay on the last item. - * [LEFT] If focus is on one of the selection lists: Move focus to the selection list which is left of the current selection list. If focus is at the first selection list, move focus to the last selection list. - * [RIGHT] If focus is on one of the selection lists: Move focus to the selection list which is right of the current selection list. When focus is at the last selection list, move focus to the first selection list. - * [PAGEUP] If focus is on one of the selection lists: Move focus to the first entry of this list. - * [PAGEDOWN] If focus is on one of the selection lists: Move focus to the last entry of this list. + * + * *

ES6 Module Import

* * import @ui5/webcomponents/dist/TimePicker.js";