@instructure/ui-progress 11.7.8 → 11.7.9-snapshot-1
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,6 +3,14 @@
|
|
|
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.9-snapshot-1](https://github.com/instructure/instructure-ui/compare/v11.7.8...v11.7.9-snapshot-1) (2026-10-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-progress
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [11.7.8](https://github.com/instructure/instructure-ui/compare/v11.7.7...v11.7.8) (2026-10-02)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @instructure/ui-progress
|
|
@@ -7,8 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = exports.ProgressBar = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _v11_ = require("@instructure/ui-view/v11_6");
|
|
10
|
-
var
|
|
11
|
-
var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
|
|
10
|
+
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
12
11
|
var _emotion = require("@instructure/emotion");
|
|
13
12
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
14
13
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
@@ -98,12 +97,12 @@ let ProgressBar = exports.ProgressBar = (_dec = (0, _emotion.withStyle)(_styles.
|
|
|
98
97
|
valueNow: valueNow,
|
|
99
98
|
valueMax: valueMax
|
|
100
99
|
}) : undefined;
|
|
101
|
-
const value = (0,
|
|
100
|
+
const value = (0, _uiReactUtils.callRenderProp)(renderValue, {
|
|
102
101
|
valueNow: valueNow,
|
|
103
102
|
valueMax: valueMax
|
|
104
103
|
});
|
|
105
104
|
return (0, _jsxRuntime.jsxs)(_v11_.View, {
|
|
106
|
-
...(0,
|
|
105
|
+
...(0, _uiReactUtils.passthroughProps)(props),
|
|
107
106
|
as: this.props.as,
|
|
108
107
|
css: styles?.progressBar,
|
|
109
108
|
margin: this.props.margin,
|
|
@@ -7,8 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = exports.ProgressBar = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _latest = require("@instructure/ui-view/latest");
|
|
10
|
-
var
|
|
11
|
-
var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
|
|
10
|
+
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
12
11
|
var _emotion = require("@instructure/emotion");
|
|
13
12
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
14
13
|
var _props = require("./props.js");
|
|
@@ -97,12 +96,12 @@ let ProgressBar = exports.ProgressBar = (_dec = (0, _emotion.withStyleNew)(_styl
|
|
|
97
96
|
valueNow: valueNow,
|
|
98
97
|
valueMax: valueMax
|
|
99
98
|
}) : undefined;
|
|
100
|
-
const value = (0,
|
|
99
|
+
const value = (0, _uiReactUtils.callRenderProp)(renderValue, {
|
|
101
100
|
valueNow: valueNow,
|
|
102
101
|
valueMax: valueMax
|
|
103
102
|
});
|
|
104
103
|
return (0, _jsxRuntime.jsxs)(_latest.View, {
|
|
105
|
-
...(0,
|
|
104
|
+
...(0, _uiReactUtils.passthroughProps)(props),
|
|
106
105
|
as: this.props.as,
|
|
107
106
|
css: styles?.progressBar,
|
|
108
107
|
margin: this.props.margin,
|
|
@@ -6,10 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = exports.ProgressCircle = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
|
-
var
|
|
9
|
+
var _uiA11yContent = require("@instructure/ui-a11y-content");
|
|
10
10
|
var _v11_ = require("@instructure/ui-view/v11_6");
|
|
11
|
-
var
|
|
12
|
-
var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
|
|
11
|
+
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
13
12
|
var _emotion = require("@instructure/emotion");
|
|
14
13
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
15
14
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
@@ -124,7 +123,7 @@ let ProgressCircle = exports.ProgressCircle = (_dec = (0, _emotion.withStyle)(_s
|
|
|
124
123
|
// NVDA does not read aria-valuetext: https://github.com/nvaccess/nvda/issues/913
|
|
125
124
|
// But leaving aria-valuetext because JAWS ignores aria-label
|
|
126
125
|
const labelAndValueText = `${screenReaderLabel} ${valueText}`;
|
|
127
|
-
const value = (0,
|
|
126
|
+
const value = (0, _uiReactUtils.callRenderProp)(renderValue, {
|
|
128
127
|
valueNow: valueNow,
|
|
129
128
|
valueMax: valueMax
|
|
130
129
|
});
|
|
@@ -132,13 +131,13 @@ let ProgressCircle = exports.ProgressCircle = (_dec = (0, _emotion.withStyle)(_s
|
|
|
132
131
|
strokeDashoffset: `${styles?.dashOffset}em`
|
|
133
132
|
};
|
|
134
133
|
return (0, _jsxRuntime.jsxs)(_v11_.View, {
|
|
135
|
-
...(0,
|
|
134
|
+
...(0, _uiReactUtils.passthroughProps)(props),
|
|
136
135
|
as: this.props.as,
|
|
137
136
|
elementRef: this.handleRef,
|
|
138
137
|
css: styles?.progressCircle,
|
|
139
138
|
margin: this.props.margin,
|
|
140
139
|
"data-cid": "ProgressCircle",
|
|
141
|
-
children: [(0, _jsxRuntime.jsx)(
|
|
140
|
+
children: [(0, _jsxRuntime.jsx)(_uiA11yContent.ScreenReaderContent, {
|
|
142
141
|
children: (0, _jsxRuntime.jsx)("progress", {
|
|
143
142
|
max: valueMax,
|
|
144
143
|
value: valueNow,
|
|
@@ -6,10 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = exports.ProgressCircle = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
|
-
var
|
|
9
|
+
var _uiA11yContent = require("@instructure/ui-a11y-content");
|
|
10
10
|
var _latest = require("@instructure/ui-view/latest");
|
|
11
|
-
var
|
|
12
|
-
var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
|
|
11
|
+
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
13
12
|
var _emotion = require("@instructure/emotion");
|
|
14
13
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
15
14
|
var _props = require("./props.js");
|
|
@@ -123,7 +122,7 @@ let ProgressCircle = exports.ProgressCircle = (_dec = (0, _emotion.withStyleNew)
|
|
|
123
122
|
// NVDA does not read aria-valuetext: https://github.com/nvaccess/nvda/issues/913
|
|
124
123
|
// But leaving aria-valuetext because JAWS ignores aria-label
|
|
125
124
|
const labelAndValueText = `${screenReaderLabel} ${valueText}`;
|
|
126
|
-
const value = (0,
|
|
125
|
+
const value = (0, _uiReactUtils.callRenderProp)(renderValue, {
|
|
127
126
|
valueNow: valueNow,
|
|
128
127
|
valueMax: valueMax
|
|
129
128
|
});
|
|
@@ -131,13 +130,13 @@ let ProgressCircle = exports.ProgressCircle = (_dec = (0, _emotion.withStyleNew)
|
|
|
131
130
|
strokeDashoffset: `${styles?.dashOffset}em`
|
|
132
131
|
};
|
|
133
132
|
return (0, _jsxRuntime.jsxs)(_latest.View, {
|
|
134
|
-
...(0,
|
|
133
|
+
...(0, _uiReactUtils.passthroughProps)(props),
|
|
135
134
|
as: this.props.as,
|
|
136
135
|
elementRef: this.handleRef,
|
|
137
136
|
css: styles?.progressCircle,
|
|
138
137
|
margin: this.props.margin,
|
|
139
138
|
"data-cid": "ProgressCircle",
|
|
140
|
-
children: [(0, _jsxRuntime.jsx)(
|
|
139
|
+
children: [(0, _jsxRuntime.jsx)(_uiA11yContent.ScreenReaderContent, {
|
|
141
140
|
children: (0, _jsxRuntime.jsx)("progress", {
|
|
142
141
|
max: valueMax,
|
|
143
142
|
value: valueNow,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-progress",
|
|
3
|
-
"version": "11.7.
|
|
3
|
+
"version": "11.7.9-snapshot-1",
|
|
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",
|
|
@@ -15,19 +15,19 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.7",
|
|
18
|
-
"@instructure/console": "11.7.
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/ui-
|
|
21
|
-
"@instructure/ui-
|
|
22
|
-
"@instructure/
|
|
23
|
-
"@instructure/
|
|
24
|
-
"@instructure/ui-themes": "11.7.
|
|
25
|
-
"@instructure/ui-view": "11.7.
|
|
18
|
+
"@instructure/console": "11.7.9-snapshot-1",
|
|
19
|
+
"@instructure/shared-types": "11.7.9-snapshot-1",
|
|
20
|
+
"@instructure/ui-a11y-content": "11.7.9-snapshot-1",
|
|
21
|
+
"@instructure/ui-color-utils": "11.7.9-snapshot-1",
|
|
22
|
+
"@instructure/emotion": "11.7.9-snapshot-1",
|
|
23
|
+
"@instructure/ui-react-utils": "11.7.9-snapshot-1",
|
|
24
|
+
"@instructure/ui-themes": "11.7.9-snapshot-1",
|
|
25
|
+
"@instructure/ui-view": "11.7.9-snapshot-1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"vitest": "^5.0.0",
|
|
29
|
-
"@instructure/ui-axe-check": "11.7.
|
|
30
|
-
"@instructure/ui-babel-preset": "11.7.
|
|
29
|
+
"@instructure/ui-axe-check": "11.7.9-snapshot-1",
|
|
30
|
+
"@instructure/ui-babel-preset": "11.7.9-snapshot-1"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"react": ">=18 <=19"
|