@instructure/ui-calendar 11.0.2-snapshot-0 → 11.0.2-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 +1 -1
- package/README.md +2 -2
- package/package.json +16 -16
- package/src/Calendar/README.md +4 -4
- package/src/Calendar/props.ts +5 -5
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Calendar/index.d.ts.map +1 -1
- package/types/Calendar/props.d.ts +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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
|
-
## [11.0.2-snapshot-
|
|
6
|
+
## [11.0.2-snapshot-2](https://github.com/instructure/instructure-ui/compare/v11.0.1...v11.0.2-snapshot-2) (2025-10-20)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-calendar
|
|
9
9
|
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ A calendar component
|
|
|
10
10
|
|
|
11
11
|
The `ui-calendar` package contains the following:
|
|
12
12
|
|
|
13
|
-
- [Calendar](
|
|
13
|
+
- [Calendar](Calendar)
|
|
14
14
|
|
|
15
15
|
### Installation
|
|
16
16
|
|
|
@@ -20,7 +20,7 @@ npm install @instructure/ui-calendar
|
|
|
20
20
|
|
|
21
21
|
### Usage
|
|
22
22
|
|
|
23
|
-
For detailed usage and documentation, see [Calendar](
|
|
23
|
+
For detailed usage and documentation, see [Calendar](Calendar).
|
|
24
24
|
|
|
25
25
|
[npm]: https://img.shields.io/npm/v/@instructure/ui-calendar.svg
|
|
26
26
|
[npm-url]: https://npmjs.com/package/@instructure/ui-calendar
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-calendar",
|
|
3
|
-
"version": "11.0.2-snapshot-
|
|
3
|
+
"version": "11.0.2-snapshot-2",
|
|
4
4
|
"description": "A calendar component.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "11.0.2-snapshot-
|
|
27
|
-
"@instructure/ui-color-utils": "11.0.2-snapshot-
|
|
28
|
-
"@instructure/ui-themes": "11.0.2-snapshot-
|
|
26
|
+
"@instructure/ui-babel-preset": "11.0.2-snapshot-2",
|
|
27
|
+
"@instructure/ui-color-utils": "11.0.2-snapshot-2",
|
|
28
|
+
"@instructure/ui-themes": "11.0.2-snapshot-2",
|
|
29
29
|
"@testing-library/jest-dom": "^6.6.3",
|
|
30
30
|
"@testing-library/react": "15.0.7",
|
|
31
31
|
"@testing-library/user-event": "^14.6.1",
|
|
@@ -33,18 +33,18 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@babel/runtime": "^7.27.6",
|
|
36
|
-
"@instructure/console": "11.0.2-snapshot-
|
|
37
|
-
"@instructure/emotion": "11.0.2-snapshot-
|
|
38
|
-
"@instructure/shared-types": "11.0.2-snapshot-
|
|
39
|
-
"@instructure/ui-a11y-content": "11.0.2-snapshot-
|
|
40
|
-
"@instructure/ui-buttons": "11.0.2-snapshot-
|
|
41
|
-
"@instructure/ui-i18n": "11.0.2-snapshot-
|
|
42
|
-
"@instructure/ui-icons": "11.0.2-snapshot-
|
|
43
|
-
"@instructure/ui-react-utils": "11.0.2-snapshot-
|
|
44
|
-
"@instructure/ui-simple-select": "11.0.2-snapshot-
|
|
45
|
-
"@instructure/ui-utils": "11.0.2-snapshot-
|
|
46
|
-
"@instructure/ui-view": "11.0.2-snapshot-
|
|
47
|
-
"@instructure/uid": "11.0.2-snapshot-
|
|
36
|
+
"@instructure/console": "11.0.2-snapshot-2",
|
|
37
|
+
"@instructure/emotion": "11.0.2-snapshot-2",
|
|
38
|
+
"@instructure/shared-types": "11.0.2-snapshot-2",
|
|
39
|
+
"@instructure/ui-a11y-content": "11.0.2-snapshot-2",
|
|
40
|
+
"@instructure/ui-buttons": "11.0.2-snapshot-2",
|
|
41
|
+
"@instructure/ui-i18n": "11.0.2-snapshot-2",
|
|
42
|
+
"@instructure/ui-icons": "11.0.2-snapshot-2",
|
|
43
|
+
"@instructure/ui-react-utils": "11.0.2-snapshot-2",
|
|
44
|
+
"@instructure/ui-simple-select": "11.0.2-snapshot-2",
|
|
45
|
+
"@instructure/ui-utils": "11.0.2-snapshot-2",
|
|
46
|
+
"@instructure/ui-view": "11.0.2-snapshot-2",
|
|
47
|
+
"@instructure/uid": "11.0.2-snapshot-2"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"react": ">=18 <=19"
|
package/src/Calendar/README.md
CHANGED
|
@@ -243,13 +243,13 @@ month, and the year (Ex. instead of `1` we would provide `1 August 2019`).
|
|
|
243
243
|
day of the week via the `renderWeekdayLabels` prop. The visible portion of the
|
|
244
244
|
label should be abbreviated (no longer than three characters). Note that screen
|
|
245
245
|
readers will read this content preceding each date as the `Calendar` is navigated.
|
|
246
|
-
Consider using [AccessibleContent](
|
|
246
|
+
Consider using [AccessibleContent](AccessibleContent) with the `alt` prop
|
|
247
247
|
containing the full day name for assistive technologies and the children containing
|
|
248
248
|
the abbreviation. ex. `[<AccessibleContent alt="Sunday">Sun</AccessibleContent>, ...]`
|
|
249
249
|
|
|
250
250
|
#### Rendering next and previous month buttons
|
|
251
251
|
|
|
252
252
|
The `renderNextMonthButton` and `renderPrevMonthButton` can be supplied using the
|
|
253
|
-
[IconButton](
|
|
254
|
-
`small`, the `withBackground` and `withBorder` props both set to `false`, and the `renderIcon` prop set to [IconArrowOpenStart](
|
|
255
|
-
[IconArrowOpenEnd](
|
|
253
|
+
[IconButton](IconButton) component with the `size` prop set to
|
|
254
|
+
`small`, the `withBackground` and `withBorder` props both set to `false`, and the `renderIcon` prop set to [IconArrowOpenStart](icons) or
|
|
255
|
+
[IconArrowOpenEnd](icons).
|
package/src/Calendar/props.ts
CHANGED
|
@@ -99,16 +99,16 @@ type CalendarOwnProps = {
|
|
|
99
99
|
renderNavigationLabel?: Renderable
|
|
100
100
|
/**
|
|
101
101
|
* A button to render in the navigation header. The recommendation is to
|
|
102
|
-
* compose it with the [IconButton](
|
|
102
|
+
* compose it with the [IconButton](IconButton) component by setting the `size`
|
|
103
103
|
* prop to `small`, `withBorder` and `withBackground` to `false`, and setting
|
|
104
|
-
* `renderIcon` to [IconArrowOpenEnd](
|
|
104
|
+
* `renderIcon` to [IconArrowOpenEnd](icons).
|
|
105
105
|
*/
|
|
106
106
|
renderNextMonthButton?: Renderable
|
|
107
107
|
/**
|
|
108
108
|
* A button to render in the navigation header. The recommendation is to
|
|
109
|
-
* compose it with the [IconButton](
|
|
109
|
+
* compose it with the [IconButton](Button) component by setting the `size`
|
|
110
110
|
* prop to `small`, `withBorder` and `withBackground` to `false`, and setting
|
|
111
|
-
* `renderIcon` to [IconArrowOpenStart](
|
|
111
|
+
* `renderIcon` to [IconArrowOpenStart](icons).
|
|
112
112
|
*/
|
|
113
113
|
renderPrevMonthButton?: Renderable
|
|
114
114
|
/**
|
|
@@ -116,7 +116,7 @@ type CalendarOwnProps = {
|
|
|
116
116
|
* portion of the label should be abbreviated (no longer than three characters).
|
|
117
117
|
* Note that screen readers will read this content preceding each date as the
|
|
118
118
|
* `<Calendar />` is navigated. Consider using
|
|
119
|
-
* [AccessibleContent](
|
|
119
|
+
* [AccessibleContent](AccessibleContent) with the `alt` prop containing the
|
|
120
120
|
* full day name for assistive technologies and the children containing the
|
|
121
121
|
* abbreviation. ex. `[<AccessibleContent alt="Sunday">Sun</AccessibleContent>, ...]`
|
|
122
122
|
*/
|