@instructure/ui-calendar 11.7.3-snapshot-33 → 11.7.3-snapshot-37

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.3-snapshot-33](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-33) (2026-05-07)
6
+ ## [11.7.3-snapshot-37](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-37) (2026-05-07)
7
7
 
8
8
 
9
9
  ### Bug Fixes
@@ -27,7 +27,7 @@ import { Component } from 'react';
27
27
  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
- import { withStyleLegacy as withStyle } from '@instructure/emotion';
30
+ import { withStyle } from '@instructure/emotion';
31
31
  import generateStyle from "./styles.js";
32
32
  import generateComponentTheme from "./theme.js";
33
33
  import { allowedProps } from "./props.js";
@@ -29,7 +29,7 @@ import { safeCloneElement, callRenderProp, omitProps, withDeterministicId } from
29
29
  import { createChainedFunction } from '@instructure/ui-utils';
30
30
  import { logError as error } from '@instructure/console';
31
31
  import { AccessibleContent } from '@instructure/ui-a11y-content';
32
- import { withStyleLegacy as withStyle } from '@instructure/emotion';
32
+ import { withStyle } from '@instructure/emotion';
33
33
  import { Locale, DateTime, ApplyLocaleContext } from '@instructure/ui-i18n';
34
34
  import generateStyle from "./styles.js";
35
35
  import generateComponentTheme from "./theme.js";
@@ -27,7 +27,7 @@ import { Component } from 'react';
27
27
  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
- import { withStyle } from '@instructure/emotion';
30
+ import { withStyleNew } from '@instructure/emotion';
31
31
  import generateStyle from "./styles.js";
32
32
  import { allowedProps } from "./props.js";
33
33
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
@@ -37,7 +37,7 @@ parent: Calendar
37
37
  id: Calendar.Day
38
38
  ---
39
39
  **/
40
- let Day = (_dec = withStyle(generateStyle), _dec(_class = class Day extends Component {
40
+ let Day = (_dec = withStyleNew(generateStyle), _dec(_class = class Day extends Component {
41
41
  static displayName = "Day";
42
42
  static componentId = 'Calendar.Day';
43
43
  static allowedProps = allowedProps;
@@ -29,7 +29,7 @@ import { safeCloneElement, callRenderProp, omitProps, withDeterministicId } from
29
29
  import { createChainedFunction } from '@instructure/ui-utils';
30
30
  import { logError as error } from '@instructure/console';
31
31
  import { AccessibleContent } from '@instructure/ui-a11y-content';
32
- import { withStyle } from '@instructure/emotion';
32
+ import { withStyleNew } from '@instructure/emotion';
33
33
  import { Locale, DateTime, ApplyLocaleContext } from '@instructure/ui-i18n';
34
34
  import generateStyle from "./styles.js";
35
35
  import { Day } from "./Day/index.js";
@@ -44,7 +44,7 @@ category: components
44
44
  ---
45
45
  **/
46
46
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
47
- let Calendar = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle), _dec(_class = _dec2(_class = class Calendar extends Component {
47
+ let Calendar = (_dec = withDeterministicId(), _dec2 = withStyleNew(generateStyle), _dec(_class = _dec2(_class = class Calendar extends Component {
48
48
  static displayName = "Calendar";
49
49
  static componentId = 'Calendar';
50
50
  static contextType = ApplyLocaleContext;
@@ -46,7 +46,7 @@ parent: Calendar
46
46
  id: Calendar.Day
47
47
  ---
48
48
  **/
49
- let Day = exports.Day = (_dec = (0, _emotion.withStyleLegacy)(_styles.default, _theme.default), _dec(_class = class Day extends _react.Component {
49
+ let Day = exports.Day = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class Day extends _react.Component {
50
50
  static displayName = "Day";
51
51
  static componentId = 'Calendar.Day';
52
52
  static allowedProps = _props.allowedProps;
@@ -56,7 +56,7 @@ var _dec, _dec2, _class;
56
56
  category: components
57
57
  ---
58
58
  **/
59
- let Calendar = exports.Calendar = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyleLegacy)(_styles.default, _theme.default), _dec(_class = _dec2(_class = class Calendar extends _react.Component {
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
60
  static displayName = "Calendar";
61
61
  static componentId = 'Calendar';
62
62
  static contextType = _ApplyLocaleContext.ApplyLocaleContext;
@@ -45,7 +45,7 @@ parent: Calendar
45
45
  id: Calendar.Day
46
46
  ---
47
47
  **/
48
- let Day = exports.Day = (_dec = (0, _emotion.withStyle)(_styles.default), _dec(_class = class Day extends _react.Component {
48
+ let Day = exports.Day = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class Day extends _react.Component {
49
49
  static displayName = "Day";
50
50
  static componentId = 'Calendar.Day';
51
51
  static allowedProps = _props.allowedProps;
@@ -54,7 +54,7 @@ var _dec, _dec2, _class;
54
54
  category: components
55
55
  ---
56
56
  **/
57
- let Calendar = exports.Calendar = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default), _dec(_class = _dec2(_class = class Calendar extends _react.Component {
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
58
  static displayName = "Calendar";
59
59
  static componentId = 'Calendar';
60
60
  static contextType = _ApplyLocaleContext.ApplyLocaleContext;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-calendar",
3
- "version": "11.7.3-snapshot-33",
3
+ "version": "11.7.3-snapshot-37",
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.3-snapshot-33",
19
- "@instructure/shared-types": "11.7.3-snapshot-33",
20
- "@instructure/emotion": "11.7.3-snapshot-33",
21
- "@instructure/ui-a11y-content": "11.7.3-snapshot-33",
22
- "@instructure/ui-buttons": "11.7.3-snapshot-33",
23
- "@instructure/ui-icons": "11.7.3-snapshot-33",
24
- "@instructure/ui-i18n": "11.7.3-snapshot-33",
25
- "@instructure/ui-react-utils": "11.7.3-snapshot-33",
26
- "@instructure/ui-simple-select": "11.7.3-snapshot-33",
27
- "@instructure/ui-utils": "11.7.3-snapshot-33",
28
- "@instructure/ui-themes": "11.7.3-snapshot-33",
29
- "@instructure/ui-view": "11.7.3-snapshot-33",
30
- "@instructure/uid": "11.7.3-snapshot-33"
18
+ "@instructure/console": "11.7.3-snapshot-37",
19
+ "@instructure/shared-types": "11.7.3-snapshot-37",
20
+ "@instructure/ui-buttons": "11.7.3-snapshot-37",
21
+ "@instructure/emotion": "11.7.3-snapshot-37",
22
+ "@instructure/ui-a11y-content": "11.7.3-snapshot-37",
23
+ "@instructure/ui-i18n": "11.7.3-snapshot-37",
24
+ "@instructure/ui-icons": "11.7.3-snapshot-37",
25
+ "@instructure/ui-react-utils": "11.7.3-snapshot-37",
26
+ "@instructure/ui-utils": "11.7.3-snapshot-37",
27
+ "@instructure/ui-simple-select": "11.7.3-snapshot-37",
28
+ "@instructure/ui-view": "11.7.3-snapshot-37",
29
+ "@instructure/uid": "11.7.3-snapshot-37",
30
+ "@instructure/ui-themes": "11.7.3-snapshot-37"
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.3-snapshot-33",
38
- "@instructure/ui-color-utils": "11.7.3-snapshot-33"
37
+ "@instructure/ui-color-utils": "11.7.3-snapshot-37",
38
+ "@instructure/ui-babel-preset": "11.7.3-snapshot-37"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "react": ">=18 <=19"
@@ -33,7 +33,7 @@ import {
33
33
  getElementType
34
34
  } from '@instructure/ui-react-utils'
35
35
 
36
- import { withStyleLegacy as withStyle } from '@instructure/emotion'
36
+ import { withStyle } from '@instructure/emotion'
37
37
 
38
38
  import generateStyle from './styles'
39
39
  import generateComponentTheme from './theme'
@@ -35,7 +35,7 @@ import { createChainedFunction } from '@instructure/ui-utils'
35
35
  import { logError as error } from '@instructure/console'
36
36
  import { AccessibleContent } from '@instructure/ui-a11y-content'
37
37
 
38
- import { withStyleLegacy as withStyle } from '@instructure/emotion'
38
+ import { withStyle } from '@instructure/emotion'
39
39
 
40
40
  import { Locale, DateTime, ApplyLocaleContext } from '@instructure/ui-i18n'
41
41
  import type { Moment } from '@instructure/ui-i18n'
@@ -33,7 +33,7 @@ import {
33
33
  getElementType
34
34
  } from '@instructure/ui-react-utils'
35
35
 
36
- import { withStyle } from '@instructure/emotion'
36
+ import { withStyleNew } from '@instructure/emotion'
37
37
 
38
38
  import generateStyle from './styles'
39
39
 
@@ -46,7 +46,7 @@ parent: Calendar
46
46
  id: Calendar.Day
47
47
  ---
48
48
  **/
49
- @withStyle(generateStyle)
49
+ @withStyleNew(generateStyle)
50
50
  class Day extends Component<CalendarDayProps> {
51
51
  static readonly componentId = 'Calendar.Day'
52
52
 
@@ -35,7 +35,7 @@ import { createChainedFunction } from '@instructure/ui-utils'
35
35
  import { logError as error } from '@instructure/console'
36
36
  import { AccessibleContent } from '@instructure/ui-a11y-content'
37
37
 
38
- import { withStyle } from '@instructure/emotion'
38
+ import { withStyleNew } from '@instructure/emotion'
39
39
 
40
40
  import { Locale, DateTime, ApplyLocaleContext } from '@instructure/ui-i18n'
41
41
  import type { Moment } from '@instructure/ui-i18n'
@@ -62,7 +62,7 @@ category: components
62
62
  ---
63
63
  **/
64
64
  @withDeterministicId()
65
- @withStyle(generateStyle)
65
+ @withStyleNew(generateStyle)
66
66
  class Calendar extends Component<CalendarProps, CalendarState> {
67
67
  static readonly componentId = 'Calendar'
68
68