@instructure/ui-progress 10.13.1-pr-snapshot-1741357986437 → 10.13.1-snapshot-0

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
- ## [10.13.1-pr-snapshot-1741357986437](https://github.com/instructure/instructure-ui/compare/v10.13.0...v10.13.1-pr-snapshot-1741357986437) (2025-03-07)
6
+ ## [10.13.1-snapshot-0](https://github.com/instructure/instructure-ui/compare/v10.13.0...v10.13.1-snapshot-0) (2025-03-10)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-progress
9
9
 
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  var _react = _interopRequireDefault(require("react"));
5
5
  var _react2 = require("@testing-library/react");
6
6
  require("@testing-library/jest-dom");
7
- var _uiAxeCheck = require("@instructure/ui-axe-check");
7
+ var _runAxeCheck = require("@instructure/ui-axe-check/lib/runAxeCheck.js");
8
8
  var _index = require("../index");
9
9
  var _ProgressBar, _ProgressBar2, _ProgressBar3;
10
10
  /*
@@ -74,7 +74,7 @@ describe('<ProgressBar />', () => {
74
74
  valueNow: 30
75
75
  }))),
76
76
  container = _render4.container;
77
- const axeCheck = await (0, _uiAxeCheck.runAxeCheck)(container);
77
+ const axeCheck = await (0, _runAxeCheck.runAxeCheck)(container);
78
78
  expect(axeCheck).toBe(true);
79
79
  });
80
80
  it('should not render the value inside when the prop is set to false', () => {
@@ -7,9 +7,10 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = exports.ProgressBar = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
9
  var _react = require("react");
10
- var _uiView = require("@instructure/ui-view");
11
- var _uiReactUtils = require("@instructure/ui-react-utils");
12
- var _uiTestable = require("@instructure/ui-testable");
10
+ var _View = require("@instructure/ui-view/lib/View");
11
+ var _callRenderProp = require("@instructure/ui-react-utils/lib/callRenderProp.js");
12
+ var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
13
+ var _testable = require("@instructure/ui-testable/lib/testable.js");
13
14
  var _emotion = require("@instructure/emotion");
14
15
  var _styles = _interopRequireDefault(require("./styles"));
15
16
  var _theme = _interopRequireDefault(require("./theme"));
@@ -45,7 +46,7 @@ var _dec, _dec2, _class, _ProgressBar;
45
46
  category: components
46
47
  ---
47
48
  **/
48
- let ProgressBar = exports.ProgressBar = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _uiTestable.testable)(), _dec(_class = _dec2(_class = (_ProgressBar = class ProgressBar extends _react.Component {
49
+ let ProgressBar = exports.ProgressBar = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_ProgressBar = class ProgressBar extends _react.Component {
49
50
  constructor(...args) {
50
51
  super(...args);
51
52
  this.ref = null;
@@ -86,11 +87,11 @@ let ProgressBar = exports.ProgressBar = (_dec = (0, _emotion.withStyle)(_styles.
86
87
  // NVDA does not read aria-valuetext: https://github.com/nvaccess/nvda/issues/913
87
88
  // But leaving aria-valuetext because JAWS ignores aria-label
88
89
  const labelAndValueText = `${screenReaderLabel} ${valueText}`;
89
- const value = (0, _uiReactUtils.callRenderProp)(renderValue, {
90
+ const value = (0, _callRenderProp.callRenderProp)(renderValue, {
90
91
  valueNow: valueNow,
91
92
  valueMax: valueMax
92
93
  });
93
- return (0, _emotion.jsx)(_uiView.View, Object.assign({}, (0, _uiReactUtils.passthroughProps)(props), {
94
+ return (0, _emotion.jsx)(_View.View, Object.assign({}, (0, _passthroughProps.passthroughProps)(props), {
94
95
  as: this.props.as,
95
96
  css: styles === null || styles === void 0 ? void 0 : styles.progressBar,
96
97
  margin: this.props.margin,
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  var _react = _interopRequireDefault(require("react"));
5
5
  var _react2 = require("@testing-library/react");
6
6
  require("@testing-library/jest-dom");
7
- var _uiAxeCheck = require("@instructure/ui-axe-check");
7
+ var _runAxeCheck = require("@instructure/ui-axe-check/lib/runAxeCheck.js");
8
8
  var _index = require("../index");
9
9
  var _ProgressCircle, _ProgressCircle2, _ProgressCircle3;
10
10
  /*
@@ -74,7 +74,7 @@ describe('<ProgressCircle />', () => {
74
74
  valueNow: 30
75
75
  }))),
76
76
  container = _render4.container;
77
- const axeCheck = await (0, _uiAxeCheck.runAxeCheck)(container);
77
+ const axeCheck = await (0, _runAxeCheck.runAxeCheck)(container);
78
78
  expect(axeCheck).toBe(true);
79
79
  });
80
80
  });
@@ -7,10 +7,11 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = exports.ProgressCircle = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
9
  var _react = require("react");
10
- var _uiA11yContent = require("@instructure/ui-a11y-content");
11
- var _uiView = require("@instructure/ui-view");
12
- var _uiReactUtils = require("@instructure/ui-react-utils");
13
- var _uiTestable = require("@instructure/ui-testable");
10
+ var _ScreenReaderContent = require("@instructure/ui-a11y-content/lib/ScreenReaderContent");
11
+ var _View = require("@instructure/ui-view/lib/View");
12
+ var _callRenderProp = require("@instructure/ui-react-utils/lib/callRenderProp.js");
13
+ var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
14
+ var _testable = require("@instructure/ui-testable/lib/testable.js");
14
15
  var _emotion = require("@instructure/emotion");
15
16
  var _styles = _interopRequireDefault(require("./styles"));
16
17
  var _theme = _interopRequireDefault(require("./theme"));
@@ -46,7 +47,7 @@ var _dec, _dec2, _class, _ProgressCircle;
46
47
  category: components
47
48
  ---
48
49
  **/
49
- let ProgressCircle = exports.ProgressCircle = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _uiTestable.testable)(), _dec(_class = _dec2(_class = (_ProgressCircle = class ProgressCircle extends _react.Component {
50
+ let ProgressCircle = exports.ProgressCircle = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_ProgressCircle = class ProgressCircle extends _react.Component {
50
51
  constructor(props) {
51
52
  super(props);
52
53
  this._timeouts = [];
@@ -106,19 +107,19 @@ let ProgressCircle = exports.ProgressCircle = (_dec = (0, _emotion.withStyle)(_s
106
107
  // NVDA does not read aria-valuetext: https://github.com/nvaccess/nvda/issues/913
107
108
  // But leaving aria-valuetext because JAWS ignores aria-label
108
109
  const labelAndValueText = `${screenReaderLabel} ${valueText}`;
109
- const value = (0, _uiReactUtils.callRenderProp)(renderValue, {
110
+ const value = (0, _callRenderProp.callRenderProp)(renderValue, {
110
111
  valueNow: valueNow,
111
112
  valueMax: valueMax
112
113
  });
113
114
  const style = {
114
115
  strokeDashoffset: `${styles === null || styles === void 0 ? void 0 : styles.dashOffset}em`
115
116
  };
116
- return (0, _emotion.jsx)(_uiView.View, Object.assign({}, (0, _uiReactUtils.passthroughProps)(props), {
117
+ return (0, _emotion.jsx)(_View.View, Object.assign({}, (0, _passthroughProps.passthroughProps)(props), {
117
118
  as: this.props.as,
118
119
  elementRef: this.handleRef,
119
120
  css: styles === null || styles === void 0 ? void 0 : styles.progressCircle,
120
121
  margin: this.props.margin
121
- }), (0, _emotion.jsx)(_uiA11yContent.ScreenReaderContent, null, (0, _emotion.jsx)("progress", {
122
+ }), (0, _emotion.jsx)(_ScreenReaderContent.ScreenReaderContent, null, (0, _emotion.jsx)("progress", {
122
123
  max: valueMax,
123
124
  value: valueNow,
124
125
  "aria-valuetext": labelAndValueText
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-progress",
3
- "version": "10.13.1-pr-snapshot-1741357986437",
3
+ "version": "10.13.1-snapshot-0",
4
4
  "description": "Styled HTML <progress /> elements for showing completion of a task",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -24,21 +24,21 @@
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.26.0",
27
- "@instructure/console": "10.13.1-pr-snapshot-1741357986437",
28
- "@instructure/emotion": "10.13.1-pr-snapshot-1741357986437",
29
- "@instructure/shared-types": "10.13.1-pr-snapshot-1741357986437",
30
- "@instructure/ui-a11y-content": "10.13.1-pr-snapshot-1741357986437",
31
- "@instructure/ui-color-utils": "10.13.1-pr-snapshot-1741357986437",
32
- "@instructure/ui-react-utils": "10.13.1-pr-snapshot-1741357986437",
33
- "@instructure/ui-testable": "10.13.1-pr-snapshot-1741357986437",
34
- "@instructure/ui-view": "10.13.1-pr-snapshot-1741357986437",
27
+ "@instructure/console": "10.13.1-snapshot-0",
28
+ "@instructure/emotion": "10.13.1-snapshot-0",
29
+ "@instructure/shared-types": "10.13.1-snapshot-0",
30
+ "@instructure/ui-a11y-content": "10.13.1-snapshot-0",
31
+ "@instructure/ui-color-utils": "10.13.1-snapshot-0",
32
+ "@instructure/ui-react-utils": "10.13.1-snapshot-0",
33
+ "@instructure/ui-testable": "10.13.1-snapshot-0",
34
+ "@instructure/ui-view": "10.13.1-snapshot-0",
35
35
  "prop-types": "^15.8.1"
36
36
  },
37
37
  "devDependencies": {
38
- "@instructure/ui-axe-check": "10.13.1-pr-snapshot-1741357986437",
39
- "@instructure/ui-babel-preset": "10.13.1-pr-snapshot-1741357986437",
40
- "@instructure/ui-test-utils": "10.13.1-pr-snapshot-1741357986437",
41
- "@instructure/ui-themes": "10.13.1-pr-snapshot-1741357986437",
38
+ "@instructure/ui-axe-check": "10.13.1-snapshot-0",
39
+ "@instructure/ui-babel-preset": "10.13.1-snapshot-0",
40
+ "@instructure/ui-test-utils": "10.13.1-snapshot-0",
41
+ "@instructure/ui-themes": "10.13.1-snapshot-0",
42
42
  "@testing-library/jest-dom": "^6.6.3",
43
43
  "@testing-library/react": "^16.0.1",
44
44
  "vitest": "^2.1.8"