@instructure/ui-calendar 11.7.4-snapshot-14 → 11.7.4-snapshot-50

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 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.7.4-snapshot-14](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-14) (2026-05-20)
6
+ ## [11.7.4-snapshot-50](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-50) (2026-06-18)
7
7
 
8
8
 
9
9
  ### Bug Fixes
package/LICENSE.md CHANGED
@@ -2,6 +2,7 @@
2
2
  title: The MIT License (MIT)
3
3
  category: Getting Started
4
4
  order: 9
5
+ isWIP: true
5
6
  ---
6
7
 
7
8
  # The MIT License (MIT)
@@ -28,9 +28,9 @@ import { View } from '@instructure/ui-view/v11_6';
28
28
  import { AccessibleContent } from '@instructure/ui-a11y-content';
29
29
  import { omitProps, callRenderProp, getElementType } from '@instructure/ui-react-utils';
30
30
  import { withStyle } from '@instructure/emotion';
31
- import generateStyle from "./styles.js";
32
- import generateComponentTheme from "./theme.js";
33
- import { allowedProps } from "./props.js";
31
+ import generateStyle from './styles.js';
32
+ import generateComponentTheme from './theme.js';
33
+ import { allowedProps } from './props.js';
34
34
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
35
35
  /**
36
36
  ---
@@ -39,7 +39,7 @@ id: Calendar.Day
39
39
  ---
40
40
  **/
41
41
  let Day = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class Day extends Component {
42
- static displayName = "Day";
42
+ static displayName = 'Day';
43
43
  static componentId = 'Calendar.Day';
44
44
  static allowedProps = allowedProps;
45
45
  static defaultProps = {
@@ -31,10 +31,10 @@ import { logError as error } from '@instructure/console';
31
31
  import { AccessibleContent } from '@instructure/ui-a11y-content';
32
32
  import { withStyle } from '@instructure/emotion';
33
33
  import { Locale, DateTime, ApplyLocaleContext } from '@instructure/ui-i18n';
34
- import generateStyle from "./styles.js";
35
- import generateComponentTheme from "./theme.js";
36
- import { Day } from "./Day/index.js";
37
- import { allowedProps } from "./props.js";
34
+ import generateStyle from './styles.js';
35
+ import generateComponentTheme from './theme.js';
36
+ import { Day } from './Day/index.js';
37
+ import { allowedProps } from './props.js';
38
38
  import { IconButton } from '@instructure/ui-buttons/v11_6';
39
39
  import { IconArrowOpenStartSolid, IconArrowOpenEndSolid } from '@instructure/ui-icons';
40
40
  import { SimpleSelect } from '@instructure/ui-simple-select/v11_6';
@@ -46,7 +46,7 @@ category: components
46
46
  **/
47
47
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
48
48
  let Calendar = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec(_class = _dec2(_class = class Calendar extends Component {
49
- static displayName = "Calendar";
49
+ static displayName = 'Calendar';
50
50
  static componentId = 'Calendar';
51
51
  static contextType = ApplyLocaleContext;
52
52
  static Day = Day;
@@ -28,8 +28,8 @@ import { View } from '@instructure/ui-view/latest';
28
28
  import { AccessibleContent } from '@instructure/ui-a11y-content';
29
29
  import { omitProps, callRenderProp, getElementType } from '@instructure/ui-react-utils';
30
30
  import { withStyleNew } from '@instructure/emotion';
31
- import generateStyle from "./styles.js";
32
- import { allowedProps } from "./props.js";
31
+ import generateStyle from './styles.js';
32
+ import { allowedProps } from './props.js';
33
33
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
34
34
  /**
35
35
  ---
@@ -38,7 +38,7 @@ id: Calendar.Day
38
38
  ---
39
39
  **/
40
40
  let Day = (_dec = withStyleNew(generateStyle), _dec(_class = class Day extends Component {
41
- static displayName = "Day";
41
+ static displayName = 'Day';
42
42
  static componentId = 'Calendar.Day';
43
43
  static allowedProps = allowedProps;
44
44
  static defaultProps = {
@@ -31,9 +31,9 @@ import { logError as error } from '@instructure/console';
31
31
  import { AccessibleContent } from '@instructure/ui-a11y-content';
32
32
  import { withStyleNew } from '@instructure/emotion';
33
33
  import { Locale, DateTime, ApplyLocaleContext } from '@instructure/ui-i18n';
34
- import generateStyle from "./styles.js";
35
- import { Day } from "./Day/index.js";
36
- import { allowedProps } from "./props.js";
34
+ import generateStyle from './styles.js';
35
+ import { Day } from './Day/index.js';
36
+ import { allowedProps } from './props.js';
37
37
  import { IconButton } from '@instructure/ui-buttons/latest';
38
38
  import { ChevronLeftInstUIIcon, ChevronRightInstUIIcon } from '@instructure/ui-icons';
39
39
  import { SimpleSelect } from '@instructure/ui-simple-select/latest';
@@ -45,7 +45,7 @@ category: components
45
45
  **/
46
46
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
47
47
  let Calendar = (_dec = withDeterministicId(), _dec2 = withStyleNew(generateStyle), _dec(_class = _dec2(_class = class Calendar extends Component {
48
- static displayName = "Calendar";
48
+ static displayName = 'Calendar';
49
49
  static componentId = 'Calendar';
50
50
  static contextType = ApplyLocaleContext;
51
51
  static Day = Day;
package/es/exports/a.js CHANGED
@@ -21,5 +21,5 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Calendar } from "../Calendar/v1/index.js";
25
- export { Day as CalendarDay } from "../Calendar/v1/Day/index.js";
24
+ export { Calendar } from '../Calendar/v1/index.js';
25
+ export { Day as CalendarDay } from '../Calendar/v1/Day/index.js';
package/es/exports/b.js CHANGED
@@ -21,5 +21,5 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Calendar } from "../Calendar/v2/index.js";
25
- export { Day as CalendarDay } from "../Calendar/v2/Day/index.js";
24
+ export { Calendar } from '../Calendar/v2/index.js';
25
+ export { Day as CalendarDay } from '../Calendar/v2/Day/index.js';
@@ -12,9 +12,9 @@ var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
12
12
  var _callRenderProp = require("@instructure/ui-react-utils/lib/callRenderProp.js");
13
13
  var _getElementType = require("@instructure/ui-react-utils/lib/getElementType.js");
14
14
  var _emotion = require("@instructure/emotion");
15
- var _styles = _interopRequireDefault(require("./styles"));
16
- var _theme = _interopRequireDefault(require("./theme"));
17
- var _props = require("./props");
15
+ var _styles = _interopRequireDefault(require("./styles.js"));
16
+ var _theme = _interopRequireDefault(require("./theme.js"));
17
+ var _props = require("./props.js");
18
18
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
19
19
  var _dec, _class;
20
20
  /*
@@ -47,7 +47,7 @@ id: Calendar.Day
47
47
  ---
48
48
  **/
49
49
  let Day = exports.Day = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class Day extends _react.Component {
50
- static displayName = "Day";
50
+ static displayName = 'Day';
51
51
  static componentId = 'Calendar.Day';
52
52
  static allowedProps = _props.allowedProps;
53
53
  static defaultProps = {
@@ -18,10 +18,10 @@ var _emotion = require("@instructure/emotion");
18
18
  var _Locale = require("@instructure/ui-i18n/lib/Locale.js");
19
19
  var _DateTime = require("@instructure/ui-i18n/lib/DateTime.js");
20
20
  var _ApplyLocaleContext = require("@instructure/ui-i18n/lib/ApplyLocale/ApplyLocaleContext.js");
21
- var _styles = _interopRequireDefault(require("./styles"));
22
- var _theme = _interopRequireDefault(require("./theme"));
23
- var _Day = require("./Day");
24
- var _props = require("./props");
21
+ var _styles = _interopRequireDefault(require("./styles.js"));
22
+ var _theme = _interopRequireDefault(require("./theme.js"));
23
+ var _index = require("./Day/index.js");
24
+ var _props = require("./props.js");
25
25
  var _v11_2 = require("@instructure/ui-buttons/v11_6");
26
26
  var _IconArrowOpenStartSolid = require("@instructure/ui-icons/lib/generated/IconArrowOpenStartSolid.js");
27
27
  var _IconArrowOpenEndSolid = require("@instructure/ui-icons/lib/generated/IconArrowOpenEndSolid.js");
@@ -57,10 +57,10 @@ category: components
57
57
  ---
58
58
  **/
59
59
  let Calendar = exports.Calendar = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = _dec2(_class = class Calendar extends _react.Component {
60
- static displayName = "Calendar";
60
+ static displayName = 'Calendar';
61
61
  static componentId = 'Calendar';
62
62
  static contextType = _ApplyLocaleContext.ApplyLocaleContext;
63
- static Day = _Day.Day;
63
+ static Day = _index.Day;
64
64
  static DAY_COUNT = 42; // 6 weeks visible
65
65
 
66
66
  static allowedProps = _props.allowedProps;
@@ -12,8 +12,8 @@ var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
12
12
  var _callRenderProp = require("@instructure/ui-react-utils/lib/callRenderProp.js");
13
13
  var _getElementType = require("@instructure/ui-react-utils/lib/getElementType.js");
14
14
  var _emotion = require("@instructure/emotion");
15
- var _styles = _interopRequireDefault(require("./styles"));
16
- var _props = require("./props");
15
+ var _styles = _interopRequireDefault(require("./styles.js"));
16
+ var _props = require("./props.js");
17
17
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
18
18
  var _dec, _class;
19
19
  /*
@@ -46,7 +46,7 @@ id: Calendar.Day
46
46
  ---
47
47
  **/
48
48
  let Day = exports.Day = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class Day extends _react.Component {
49
- static displayName = "Day";
49
+ static displayName = 'Day';
50
50
  static componentId = 'Calendar.Day';
51
51
  static allowedProps = _props.allowedProps;
52
52
  static defaultProps = {
@@ -18,9 +18,9 @@ var _emotion = require("@instructure/emotion");
18
18
  var _Locale = require("@instructure/ui-i18n/lib/Locale.js");
19
19
  var _DateTime = require("@instructure/ui-i18n/lib/DateTime.js");
20
20
  var _ApplyLocaleContext = require("@instructure/ui-i18n/lib/ApplyLocale/ApplyLocaleContext.js");
21
- var _styles = _interopRequireDefault(require("./styles"));
22
- var _Day = require("./Day");
23
- var _props = require("./props");
21
+ var _styles = _interopRequireDefault(require("./styles.js"));
22
+ var _index = require("./Day/index.js");
23
+ var _props = require("./props.js");
24
24
  var _latest2 = require("@instructure/ui-buttons/latest");
25
25
  var _uiIcons = require("@instructure/ui-icons");
26
26
  var _latest3 = require("@instructure/ui-simple-select/latest");
@@ -55,10 +55,10 @@ category: components
55
55
  ---
56
56
  **/
57
57
  let Calendar = exports.Calendar = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = _dec2(_class = class Calendar extends _react.Component {
58
- static displayName = "Calendar";
58
+ static displayName = 'Calendar';
59
59
  static componentId = 'Calendar';
60
60
  static contextType = _ApplyLocaleContext.ApplyLocaleContext;
61
- static Day = _Day.Day;
61
+ static Day = _index.Day;
62
62
  static DAY_COUNT = 42; // 6 weeks visible
63
63
 
64
64
  static allowedProps = _props.allowedProps;
package/lib/exports/a.js CHANGED
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "Calendar", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _v.Calendar;
9
+ return _index.Calendar;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "CalendarDay", {
13
13
  enumerable: true,
14
14
  get: function () {
15
- return _Day.Day;
15
+ return _index2.Day;
16
16
  }
17
17
  });
18
- var _v = require("../Calendar/v1");
19
- var _Day = require("../Calendar/v1/Day");
18
+ var _index = require("../Calendar/v1/index.js");
19
+ var _index2 = require("../Calendar/v1/Day/index.js");
package/lib/exports/b.js CHANGED
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "Calendar", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _v.Calendar;
9
+ return _index.Calendar;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "CalendarDay", {
13
13
  enumerable: true,
14
14
  get: function () {
15
- return _Day.Day;
15
+ return _index2.Day;
16
16
  }
17
17
  });
18
- var _v = require("../Calendar/v2");
19
- var _Day = require("../Calendar/v2/Day");
18
+ var _index = require("../Calendar/v2/index.js");
19
+ var _index2 = require("../Calendar/v2/Day/index.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-calendar",
3
- "version": "11.7.4-snapshot-14",
3
+ "version": "11.7.4-snapshot-50",
4
4
  "description": "A calendar component.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -15,27 +15,27 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.2",
18
- "@instructure/console": "11.7.4-snapshot-14",
19
- "@instructure/emotion": "11.7.4-snapshot-14",
20
- "@instructure/ui-a11y-content": "11.7.4-snapshot-14",
21
- "@instructure/shared-types": "11.7.4-snapshot-14",
22
- "@instructure/ui-buttons": "11.7.4-snapshot-14",
23
- "@instructure/ui-i18n": "11.7.4-snapshot-14",
24
- "@instructure/ui-icons": "11.7.4-snapshot-14",
25
- "@instructure/ui-react-utils": "11.7.4-snapshot-14",
26
- "@instructure/ui-simple-select": "11.7.4-snapshot-14",
27
- "@instructure/ui-themes": "11.7.4-snapshot-14",
28
- "@instructure/ui-view": "11.7.4-snapshot-14",
29
- "@instructure/ui-utils": "11.7.4-snapshot-14",
30
- "@instructure/uid": "11.7.4-snapshot-14"
18
+ "@instructure/console": "11.7.4-snapshot-50",
19
+ "@instructure/emotion": "11.7.4-snapshot-50",
20
+ "@instructure/shared-types": "11.7.4-snapshot-50",
21
+ "@instructure/ui-a11y-content": "11.7.4-snapshot-50",
22
+ "@instructure/ui-buttons": "11.7.4-snapshot-50",
23
+ "@instructure/ui-i18n": "11.7.4-snapshot-50",
24
+ "@instructure/ui-icons": "11.7.4-snapshot-50",
25
+ "@instructure/ui-react-utils": "11.7.4-snapshot-50",
26
+ "@instructure/ui-utils": "11.7.4-snapshot-50",
27
+ "@instructure/ui-simple-select": "11.7.4-snapshot-50",
28
+ "@instructure/ui-view": "11.7.4-snapshot-50",
29
+ "@instructure/ui-themes": "11.7.4-snapshot-50",
30
+ "@instructure/uid": "11.7.4-snapshot-50"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@testing-library/jest-dom": "^6.6.3",
34
34
  "@testing-library/react": "15.0.7",
35
35
  "@testing-library/user-event": "^14.6.1",
36
36
  "vitest": "^3.2.2",
37
- "@instructure/ui-babel-preset": "11.7.4-snapshot-14",
38
- "@instructure/ui-color-utils": "11.7.4-snapshot-14"
37
+ "@instructure/ui-babel-preset": "11.7.4-snapshot-50",
38
+ "@instructure/ui-color-utils": "11.7.4-snapshot-50"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "react": ">=18 <=19"
@@ -35,10 +35,10 @@ import {
35
35
 
36
36
  import { withStyle } from '@instructure/emotion'
37
37
 
38
- import generateStyle from './styles'
39
- import generateComponentTheme from './theme'
38
+ import generateStyle from './styles.js'
39
+ import generateComponentTheme from './theme.js'
40
40
 
41
- import { allowedProps } from './props'
41
+ import { allowedProps } from './props.js'
42
42
  import type { CalendarDayProps, CalendarDayStyleProps } from './props'
43
43
 
44
44
  /**
@@ -49,6 +49,7 @@ id: Calendar.Day
49
49
  **/
50
50
  @withStyle(generateStyle, generateComponentTheme)
51
51
  class Day extends Component<CalendarDayProps> {
52
+ static displayName = 'Day'
52
53
  static readonly componentId = 'Calendar.Day'
53
54
 
54
55
  static allowedProps = allowedProps
@@ -40,12 +40,12 @@ import { withStyle } from '@instructure/emotion'
40
40
  import { Locale, DateTime, ApplyLocaleContext } from '@instructure/ui-i18n'
41
41
  import type { Moment } from '@instructure/ui-i18n'
42
42
 
43
- import generateStyle from './styles'
44
- import generateComponentTheme from './theme'
43
+ import generateStyle from './styles.js'
44
+ import generateComponentTheme from './theme.js'
45
45
 
46
- import { Day } from './Day'
46
+ import { Day } from './Day/index.js'
47
47
 
48
- import { allowedProps } from './props'
48
+ import { allowedProps } from './props.js'
49
49
  import type { CalendarProps, CalendarState } from './props'
50
50
  import { Renderable } from '@instructure/shared-types'
51
51
 
@@ -65,6 +65,7 @@ category: components
65
65
  @withDeterministicId()
66
66
  @withStyle(generateStyle, generateComponentTheme)
67
67
  class Calendar extends Component<CalendarProps, CalendarState> {
68
+ static displayName = 'Calendar'
68
69
  static readonly componentId = 'Calendar'
69
70
 
70
71
  declare context: React.ContextType<typeof ApplyLocaleContext>
@@ -35,9 +35,9 @@ import {
35
35
 
36
36
  import { withStyleNew } from '@instructure/emotion'
37
37
 
38
- import generateStyle from './styles'
38
+ import generateStyle from './styles.js'
39
39
 
40
- import { allowedProps } from './props'
40
+ import { allowedProps } from './props.js'
41
41
  import type { CalendarDayProps, CalendarDayStyleProps } from './props'
42
42
 
43
43
  /**
@@ -48,6 +48,7 @@ id: Calendar.Day
48
48
  **/
49
49
  @withStyleNew(generateStyle)
50
50
  class Day extends Component<CalendarDayProps> {
51
+ static displayName = 'Day'
51
52
  static readonly componentId = 'Calendar.Day'
52
53
 
53
54
  static allowedProps = allowedProps
@@ -40,11 +40,11 @@ import { withStyleNew } from '@instructure/emotion'
40
40
  import { Locale, DateTime, ApplyLocaleContext } from '@instructure/ui-i18n'
41
41
  import type { Moment } from '@instructure/ui-i18n'
42
42
 
43
- import generateStyle from './styles'
43
+ import generateStyle from './styles.js'
44
44
 
45
- import { Day } from './Day'
45
+ import { Day } from './Day/index.js'
46
46
 
47
- import { allowedProps } from './props'
47
+ import { allowedProps } from './props.js'
48
48
  import type { CalendarProps, CalendarState } from './props'
49
49
  import { Renderable } from '@instructure/shared-types'
50
50
 
@@ -64,6 +64,7 @@ category: components
64
64
  @withDeterministicId()
65
65
  @withStyleNew(generateStyle)
66
66
  class Calendar extends Component<CalendarProps, CalendarState> {
67
+ static displayName = 'Calendar'
67
68
  static readonly componentId = 'Calendar'
68
69
 
69
70
  declare context: React.ContextType<typeof ApplyLocaleContext>
package/src/exports/a.ts CHANGED
@@ -21,8 +21,8 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Calendar } from '../Calendar/v1'
25
- export { Day as CalendarDay } from '../Calendar/v1/Day'
24
+ export { Calendar } from '../Calendar/v1/index.js'
25
+ export { Day as CalendarDay } from '../Calendar/v1/Day/index.js'
26
26
 
27
27
  export type { CalendarProps } from '../Calendar/v1/props'
28
28
  export type { CalendarDayProps } from '../Calendar/v1/Day/props'
package/src/exports/b.ts CHANGED
@@ -21,8 +21,8 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Calendar } from '../Calendar/v2'
25
- export { Day as CalendarDay } from '../Calendar/v2/Day'
24
+ export { Calendar } from '../Calendar/v2/index.js'
25
+ export { Day as CalendarDay } from '../Calendar/v2/Day/index.js'
26
26
 
27
27
  export type { CalendarProps } from '../Calendar/v2/props'
28
28
  export type { CalendarDayProps } from '../Calendar/v2/Day/props'