-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use title to replace MD tooltip for all hover-able labels
- Loading branch information
Showing
14 changed files
with
190 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
import { toResolvedDate } from './helpers/to-resolved-date.js'; | ||
import { keyArrowDown, keyArrowLeft, keyArrowRight, keyArrowUp, keyEnd, keyEnter, keyHome, keyPageDown, keyPageUp, keySpace } from './key-values.js'; | ||
|
||
//#region constants | ||
export const MAX_DATE = toResolvedDate('2100-12-31'); | ||
//#endregion constants | ||
|
||
export const startViews = [ | ||
'calendar', | ||
'yearGrid', | ||
] as const; | ||
|
||
export const DateTimeFormat = Intl.DateTimeFormat; | ||
|
||
export const confirmKeySet = new Set([keyEnter, keySpace]); | ||
export const DateTimeFormat = Intl.DateTimeFormat; | ||
export const labelChooseMonth = 'Choose month' as const; | ||
export const labelChooseYear = 'Choose year' as const; | ||
export const labelNextMonth = 'Next month' as const; | ||
export const labelPreviousMonth = 'Previous month' as const; | ||
export const labelSelectedDate = 'Selected date' as const; | ||
export const labelSelectedYear = 'Selected year' as const; | ||
export const labelTodayDate = 'Today date' as const; | ||
export const labelTodayYear = 'Today year' as const; | ||
export const MAX_DATE = toResolvedDate('2100-12-31'); | ||
export const navigationKeyListNext = [keyArrowDown, keyPageDown, keyEnd]; | ||
export const navigationKeyListPrevious = [keyArrowUp, keyPageUp, keyHome]; | ||
export const navigationKeySetDayNext = new Set([...navigationKeyListNext, keyArrowRight]); | ||
export const navigationKeySetDayPrevious = new Set([...navigationKeyListPrevious, keyArrowLeft]); | ||
export const navigationKeySetGrid = new Set([...navigationKeySetDayNext, ...navigationKeySetDayPrevious]); | ||
export const startViews = ['calendar', 'yearGrid'] as const; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.