Skip to content

Commit 616b7fa

Browse files
committed
Merge remote-tracking branch 'upstream/master' into ISSUE#1
2 parents a22d435 + 4caab6f commit 616b7fa

File tree

9 files changed

+1679
-1371
lines changed

9 files changed

+1679
-1371
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## Next
4+
- Use `rem` for sizing the DatePicker
5+
- Make the DatePicker slightly larger
6+
- Make the calendar tabbable
7+
- Add `Shift/Alt+Up/Down` shortcut for changing year
8+
- Add `Shift/Alt+Left/Right` shortcut for changing month
9+
- Fix styling issue for languages with long month names
10+
311
## 1.3.0 - 2021 Jan 4
412
- Add `closeOnSelection` property for DateInput
513

package-lock.json

Lines changed: 1508 additions & 1258 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,24 @@
1616
"test:coverage": "jest --collect-coverage --collectCoverageFrom=src/lib/**"
1717
},
1818
"devDependencies": {
19-
"@sveltejs/adapter-static": "^1.0.0-next.26",
20-
"@sveltejs/kit": "^1.0.0-next.247",
21-
"@typescript-eslint/eslint-plugin": "^5.10.1",
22-
"@typescript-eslint/parser": "^5.10.1",
23-
"babel-jest": "^27.4.6",
19+
"@sveltejs/adapter-static": "^1.0.0-next.28",
20+
"@sveltejs/kit": "^1.0.0-next.272",
21+
"@typescript-eslint/eslint-plugin": "^5.12.0",
22+
"@typescript-eslint/parser": "^5.12.0",
23+
"babel-jest": "^27.5.1",
2424
"date-fns": "^2.28.0",
25-
"eslint": "^8.7.0",
25+
"eslint": "^8.9.0",
2626
"eslint-config-prettier": "^8.3.0",
2727
"eslint-plugin-svelte3": "^3.4.0",
28-
"jest": "^27.4.7",
29-
"mdsvex": "^0.9.8",
28+
"jest": "^27.5.1",
29+
"mdsvex": "^0.10.5",
3030
"prettier": "^2.5.1",
3131
"prettier-plugin-svelte": "^2.6.0",
32-
"sass": "^1.49.0",
33-
"svelte": "^3.46.3",
34-
"svelte-check": "^2.3.0",
35-
"svelte-preprocess": "^4.10.2",
36-
"svelte2tsx": "^0.4.14",
32+
"sass": "^1.49.7",
33+
"svelte": "^3.46.4",
34+
"svelte-check": "^2.4.3",
35+
"svelte-preprocess": "^4.10.3",
36+
"svelte2tsx": "^0.5.3",
3737
"ts-jest": "^27.1.3",
3838
"tslib": "^2.3.1",
3939
"typescript": "^4.5.5"

src/lib/DateInput.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
typeof e.data === 'string' &&
9090
text === textHistory[0] + e.data
9191
) {
92+
// check for missing punctuation, and add if there is any
9293
let result = parse(textHistory[0], formatTokens, $store)
9394
if (result.missingPunctuation !== '' && !result.missingPunctuation.startsWith(e.data)) {
9495
text = textHistory[0] + result.missingPunctuation + e.data

0 commit comments

Comments
 (0)