From de3cf99d45a2ec6b00e7e9d153068598524cc13f Mon Sep 17 00:00:00 2001 From: Avijit Das Date: Fri, 5 Apr 2024 15:03:38 +0530 Subject: [PATCH] [date-time-picker] Updated KeyboardShortcuts doc for datetime picker (#2124) Co-authored-by: Avijit Das --- packages/terra-framework-docs/CHANGELOG.md | 3 +++ .../doc/date-time-picker/KeyboardShortcuts.3.doc.mdx | 6 ++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/terra-framework-docs/CHANGELOG.md b/packages/terra-framework-docs/CHANGELOG.md index 62b12adbe07..9c3f2e89f37 100644 --- a/packages/terra-framework-docs/CHANGELOG.md +++ b/packages/terra-framework-docs/CHANGELOG.md @@ -2,6 +2,9 @@ ## Unreleased +* Changed + * Updated `date-time-picker` KeyboardShortcuts doc for +/- Keys for DateTime input. + ## 1.79.0 - (April 4, 2024) * Changed diff --git a/packages/terra-framework-docs/src/terra-dev-site/doc/date-time-picker/KeyboardShortcuts.3.doc.mdx b/packages/terra-framework-docs/src/terra-dev-site/doc/date-time-picker/KeyboardShortcuts.3.doc.mdx index f60d8e10fd2..8fd038613f9 100644 --- a/packages/terra-framework-docs/src/terra-dev-site/doc/date-time-picker/KeyboardShortcuts.3.doc.mdx +++ b/packages/terra-framework-docs/src/terra-dev-site/doc/date-time-picker/KeyboardShortcuts.3.doc.mdx @@ -13,11 +13,9 @@ Pressing any of the supported keys while the input is in focus will populate the | Key / Sequence | Input | Description | |----------------|-------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | T | Date | Sets the date value to the current date (Today). | -| - | Date | Decrements the day value by 1 day. If blank or not a valid date, input will set value to current date minus 1 day. | -| + | Date | Increments the day value by 1 day. If blank or not a valid time, input will set value to current date plus 1 day. | +| - | DateTime | Decrements the focused value by 1 Unit. The unit can be month, day, year, hour or minute. If blank or not a valid date or time, input will set value to current focused unit minus 1 unit. | +| + | DateTime | Increments the focused value by 1 Unit. The unit can be month, day, year, hour or minute. If blank or not a valid date or time, input will set value to current focused unit plus 1 unit. | | N | Time | Sets the time value to the current time (Now). Also sets date to the current date if there is no date or invalid date | -| - | Time | Decrements the minute value by 1 minute. If blank or not a valid time or date, input will set date to current date and value to current time minus 1 minute. | -| + | Time | Increments the minute value by 1 minute. If blank or not a valid time or date, input will set date to current date and value to current time plus 1 minute. | | A | Time | In a 12 hour clock, sets meridiem to antemeridiem. If blank or not a valid time or date, input will set date to current date and value to midnight. If not a 12 hour clock, will do nothing. | | P | Time | In a 12 hour clock, sets meridiem to postmeridiem. If blank or not a valid time or date, input will set date to current date and value to noon. If not a 12 hour clock, will do nothing. |