@instructure/ui-calendar 9.5.2 → 9.6.1-snapshot-2
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/CHANGELOG.md +19 -0
- package/es/Calendar/index.js +1 -1
- package/lib/Calendar/index.js +1 -1
- package/package.json +20 -20
- package/src/Calendar/index.tsx +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [9.6.1-snapshot-2](https://github.com/instructure/instructure-ui/compare/v9.6.0...v9.6.1-snapshot-2) (2024-09-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-calendar
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [9.6.0](https://github.com/instructure/instructure-ui/compare/v9.5.2...v9.6.0) (2024-08-14)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **ui-calendar,ui-date-input:** improve DateInput2 onChange callback, add date formatting option, extend docs ([4e2c23c](https://github.com/instructure/instructure-ui/commit/4e2c23c3288885e49030f1f471d61b2fed29b54c))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [9.5.2](https://github.com/instructure/instructure-ui/compare/v9.5.1...v9.5.2) (2024-08-05)
|
|
7
26
|
|
|
8
27
|
|
package/es/Calendar/index.js
CHANGED
|
@@ -143,7 +143,7 @@ let Calendar = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 =
|
|
|
143
143
|
visibleMonth: newDate
|
|
144
144
|
});
|
|
145
145
|
};
|
|
146
|
-
// date is returned
|
|
146
|
+
// date is returned as an ISO string, like 2021-09-14T22:00:00.000Z
|
|
147
147
|
this.handleDayClick = (event, {
|
|
148
148
|
date
|
|
149
149
|
}) => {
|
package/lib/Calendar/index.js
CHANGED
|
@@ -154,7 +154,7 @@ let Calendar = exports.Calendar = (_dec = (0, _emotion.withStyle)(_styles.defaul
|
|
|
154
154
|
visibleMonth: newDate
|
|
155
155
|
});
|
|
156
156
|
};
|
|
157
|
-
// date is returned
|
|
157
|
+
// date is returned as an ISO string, like 2021-09-14T22:00:00.000Z
|
|
158
158
|
this.handleDayClick = (event, {
|
|
159
159
|
date
|
|
160
160
|
}) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-calendar",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.6.1-snapshot-2",
|
|
4
4
|
"description": "A calendar component.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,31 +23,31 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "9.
|
|
27
|
-
"@instructure/ui-color-utils": "9.
|
|
28
|
-
"@instructure/ui-test-locator": "9.
|
|
29
|
-
"@instructure/ui-test-utils": "9.
|
|
30
|
-
"@instructure/ui-themes": "9.
|
|
26
|
+
"@instructure/ui-babel-preset": "9.6.1-snapshot-2",
|
|
27
|
+
"@instructure/ui-color-utils": "9.6.1-snapshot-2",
|
|
28
|
+
"@instructure/ui-test-locator": "9.6.1-snapshot-2",
|
|
29
|
+
"@instructure/ui-test-utils": "9.6.1-snapshot-2",
|
|
30
|
+
"@instructure/ui-themes": "9.6.1-snapshot-2",
|
|
31
31
|
"@testing-library/jest-dom": "^6.4.6",
|
|
32
32
|
"@testing-library/react": "^15.0.7",
|
|
33
33
|
"vitest": "^2.0.2"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@babel/runtime": "^7.24.5",
|
|
37
|
-
"@instructure/console": "9.
|
|
38
|
-
"@instructure/emotion": "9.
|
|
39
|
-
"@instructure/shared-types": "9.
|
|
40
|
-
"@instructure/ui-a11y-content": "9.
|
|
41
|
-
"@instructure/ui-buttons": "9.
|
|
42
|
-
"@instructure/ui-i18n": "9.
|
|
43
|
-
"@instructure/ui-icons": "9.
|
|
44
|
-
"@instructure/ui-prop-types": "9.
|
|
45
|
-
"@instructure/ui-react-utils": "9.
|
|
46
|
-
"@instructure/ui-simple-select": "9.
|
|
47
|
-
"@instructure/ui-testable": "9.
|
|
48
|
-
"@instructure/ui-utils": "9.
|
|
49
|
-
"@instructure/ui-view": "9.
|
|
50
|
-
"@instructure/uid": "9.
|
|
37
|
+
"@instructure/console": "9.6.1-snapshot-2",
|
|
38
|
+
"@instructure/emotion": "9.6.1-snapshot-2",
|
|
39
|
+
"@instructure/shared-types": "9.6.1-snapshot-2",
|
|
40
|
+
"@instructure/ui-a11y-content": "9.6.1-snapshot-2",
|
|
41
|
+
"@instructure/ui-buttons": "9.6.1-snapshot-2",
|
|
42
|
+
"@instructure/ui-i18n": "9.6.1-snapshot-2",
|
|
43
|
+
"@instructure/ui-icons": "9.6.1-snapshot-2",
|
|
44
|
+
"@instructure/ui-prop-types": "9.6.1-snapshot-2",
|
|
45
|
+
"@instructure/ui-react-utils": "9.6.1-snapshot-2",
|
|
46
|
+
"@instructure/ui-simple-select": "9.6.1-snapshot-2",
|
|
47
|
+
"@instructure/ui-testable": "9.6.1-snapshot-2",
|
|
48
|
+
"@instructure/ui-utils": "9.6.1-snapshot-2",
|
|
49
|
+
"@instructure/ui-view": "9.6.1-snapshot-2",
|
|
50
|
+
"@instructure/uid": "9.6.1-snapshot-2",
|
|
51
51
|
"prop-types": "^15.8.1"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
package/src/Calendar/index.tsx
CHANGED
|
@@ -465,7 +465,7 @@ class Calendar extends Component<CalendarProps, CalendarState> {
|
|
|
465
465
|
return DateTime.browserTimeZone()
|
|
466
466
|
}
|
|
467
467
|
|
|
468
|
-
// date is returned
|
|
468
|
+
// date is returned as an ISO string, like 2021-09-14T22:00:00.000Z
|
|
469
469
|
handleDayClick = (event: MouseEvent<any>, { date }: { date: string }) => {
|
|
470
470
|
if (this.props.onDateSelected) {
|
|
471
471
|
const parsedDate = DateTime.parse(date, this.locale(), this.timezone())
|