@instructure/ui-calendar 10.0.1-snapshot-13 → 10.1.1-snapshot-4973

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,15 @@
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
- ## [10.0.1-snapshot-13](https://github.com/instructure/instructure-ui/compare/v10.0.0...v10.0.1-snapshot-13) (2024-08-21)
6
+ ## [10.1.1-snapshot-4973](https://github.com/instructure/instructure-ui/compare/v10.0.0...v10.1.1-snapshot-4973) (2024-08-23)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-calendar
9
+
10
+
11
+
12
+
13
+
14
+ # [10.1.0](https://github.com/instructure/instructure-ui/compare/v10.0.0...v10.1.0) (2024-08-23)
7
15
 
8
16
  **Note:** Version bump only for package @instructure/ui-calendar
9
17
 
@@ -95,7 +95,7 @@ let Day = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = test
95
95
  return as || getElementType(Day, this.props);
96
96
  }
97
97
  shouldApplyAriaSelected() {
98
- const role = this.props.role; // eslint-disable-line react/prop-types
98
+ const role = this.props.role;
99
99
  return !!role && ['option', 'gridcell'].indexOf(role) > -1;
100
100
  }
101
101
  render() {
@@ -35,7 +35,7 @@ const propTypes = {
35
35
  onClick: PropTypes.func,
36
36
  onKeyDown: PropTypes.func,
37
37
  elementRef: PropTypes.func,
38
- as: PropTypes.elementType // eslint-disable-line react/require-default-props
38
+ as: PropTypes.elementType
39
39
  };
40
40
  const allowedProps = ['children', 'date', 'label', 'interaction', 'isSelected', 'isToday', 'isOutsideMonth', 'onClick', 'onKeyDown', 'elementRef', 'as'];
41
41
  export { propTypes, allowedProps };
@@ -103,7 +103,7 @@ let Day = exports.Day = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.
103
103
  return as || (0, _getElementType.getElementType)(Day, this.props);
104
104
  }
105
105
  shouldApplyAriaSelected() {
106
- const role = this.props.role; // eslint-disable-line react/prop-types
106
+ const role = this.props.role;
107
107
  return !!role && ['option', 'gridcell'].indexOf(role) > -1;
108
108
  }
109
109
  render() {
@@ -42,6 +42,6 @@ const propTypes = exports.propTypes = {
42
42
  onClick: _propTypes.default.func,
43
43
  onKeyDown: _propTypes.default.func,
44
44
  elementRef: _propTypes.default.func,
45
- as: _propTypes.default.elementType // eslint-disable-line react/require-default-props
45
+ as: _propTypes.default.elementType
46
46
  };
47
47
  const allowedProps = exports.allowedProps = ['children', 'date', 'label', 'interaction', 'isSelected', 'isToday', 'isOutsideMonth', 'onClick', 'onKeyDown', 'elementRef', 'as'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-calendar",
3
- "version": "10.0.1-snapshot-13",
3
+ "version": "10.1.1-snapshot-4973",
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": "10.0.1-snapshot-13",
27
- "@instructure/ui-color-utils": "10.0.1-snapshot-13",
28
- "@instructure/ui-test-locator": "10.0.1-snapshot-13",
29
- "@instructure/ui-test-utils": "10.0.1-snapshot-13",
30
- "@instructure/ui-themes": "10.0.1-snapshot-13",
26
+ "@instructure/ui-babel-preset": "10.1.1-snapshot-4973",
27
+ "@instructure/ui-color-utils": "10.1.1-snapshot-4973",
28
+ "@instructure/ui-test-locator": "10.1.1-snapshot-4973",
29
+ "@instructure/ui-test-utils": "10.1.1-snapshot-4973",
30
+ "@instructure/ui-themes": "10.1.1-snapshot-4973",
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": "10.0.1-snapshot-13",
38
- "@instructure/emotion": "10.0.1-snapshot-13",
39
- "@instructure/shared-types": "10.0.1-snapshot-13",
40
- "@instructure/ui-a11y-content": "10.0.1-snapshot-13",
41
- "@instructure/ui-buttons": "10.0.1-snapshot-13",
42
- "@instructure/ui-i18n": "10.0.1-snapshot-13",
43
- "@instructure/ui-icons": "10.0.1-snapshot-13",
44
- "@instructure/ui-prop-types": "10.0.1-snapshot-13",
45
- "@instructure/ui-react-utils": "10.0.1-snapshot-13",
46
- "@instructure/ui-simple-select": "10.0.1-snapshot-13",
47
- "@instructure/ui-testable": "10.0.1-snapshot-13",
48
- "@instructure/ui-utils": "10.0.1-snapshot-13",
49
- "@instructure/ui-view": "10.0.1-snapshot-13",
50
- "@instructure/uid": "10.0.1-snapshot-13",
37
+ "@instructure/console": "10.1.1-snapshot-4973",
38
+ "@instructure/emotion": "10.1.1-snapshot-4973",
39
+ "@instructure/shared-types": "10.1.1-snapshot-4973",
40
+ "@instructure/ui-a11y-content": "10.1.1-snapshot-4973",
41
+ "@instructure/ui-buttons": "10.1.1-snapshot-4973",
42
+ "@instructure/ui-i18n": "10.1.1-snapshot-4973",
43
+ "@instructure/ui-icons": "10.1.1-snapshot-4973",
44
+ "@instructure/ui-prop-types": "10.1.1-snapshot-4973",
45
+ "@instructure/ui-react-utils": "10.1.1-snapshot-4973",
46
+ "@instructure/ui-simple-select": "10.1.1-snapshot-4973",
47
+ "@instructure/ui-testable": "10.1.1-snapshot-4973",
48
+ "@instructure/ui-utils": "10.1.1-snapshot-4973",
49
+ "@instructure/ui-view": "10.1.1-snapshot-4973",
50
+ "@instructure/uid": "10.1.1-snapshot-4973",
51
51
  "prop-types": "^15.8.1"
52
52
  },
53
53
  "peerDependencies": {
@@ -89,7 +89,7 @@ class Day extends Component<CalendarDayProps> {
89
89
  }
90
90
 
91
91
  shouldApplyAriaSelected() {
92
- const { role } = this.props // eslint-disable-line react/prop-types
92
+ const { role } = this.props
93
93
  return !!role && ['option', 'gridcell'].indexOf(role) > -1
94
94
  }
95
95
 
@@ -124,7 +124,7 @@ const propTypes: PropValidators<PropKeys> = {
124
124
  onClick: PropTypes.func,
125
125
  onKeyDown: PropTypes.func,
126
126
  elementRef: PropTypes.func,
127
- as: PropTypes.elementType // eslint-disable-line react/require-default-props
127
+ as: PropTypes.elementType
128
128
  }
129
129
 
130
130
  const allowedProps: AllowedPropKeys = [