@instructure/ui-progress 8.53.3-pr-snapshot-8 → 8.53.3-pr-snapshot-1709124298948
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 +5 -2
- package/README.md +1 -1
- package/es/ProgressBar/__examples__/ProgressBar.examples.js +2 -2
- package/es/ProgressBar/index.js +9 -8
- package/es/ProgressCircle/__examples__/ProgressCircle.examples.js +2 -2
- package/es/ProgressCircle/index.js +11 -10
- package/lib/ProgressBar/__examples__/ProgressBar.examples.js +2 -3
- package/lib/ProgressBar/index.js +8 -7
- package/lib/ProgressCircle/__examples__/ProgressCircle.examples.js +2 -3
- package/lib/ProgressCircle/index.js +10 -9
- package/package.json +13 -13
- package/src/ProgressBar/__examples__/ProgressBar.examples.tsx +0 -2
- package/src/ProgressBar/index.tsx +1 -2
- package/src/ProgressCircle/__examples__/ProgressCircle.examples.tsx +0 -2
- package/src/ProgressCircle/index.tsx +1 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/ProgressBar/__examples__/ProgressBar.examples.d.ts.map +1 -1
- package/types/ProgressBar/index.d.ts +1 -3
- package/types/ProgressBar/index.d.ts.map +1 -1
- package/types/ProgressCircle/__examples__/ProgressCircle.examples.d.ts.map +1 -1
- package/types/ProgressCircle/index.d.ts +1 -3
- package/types/ProgressCircle/index.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,9 +3,12 @@
|
|
|
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
|
-
## [8.53.3-pr-snapshot-
|
|
6
|
+
## [8.53.3-pr-snapshot-1709124298948](https://github.com/instructure/instructure-ui/compare/v8.53.2...v8.53.3-pr-snapshot-1709124298948) (2024-02-28)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **many:** remove emotion's jsx pragma ([7435d5c](https://github.com/instructure/instructure-ui/commit/7435d5c31ca6556a1f95c4dfde156d5a76aad7de))
|
|
9
12
|
|
|
10
13
|
|
|
11
14
|
|
package/README.md
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
1
2
|
/*
|
|
2
3
|
* The MIT License (MIT)
|
|
3
4
|
*
|
|
@@ -22,7 +23,6 @@
|
|
|
22
23
|
* SOFTWARE.
|
|
23
24
|
*/
|
|
24
25
|
|
|
25
|
-
import React from 'react';
|
|
26
26
|
const valueMax = 100;
|
|
27
27
|
export default {
|
|
28
28
|
sectionProp: 'color',
|
|
@@ -32,7 +32,7 @@ export default {
|
|
|
32
32
|
renderValue: [null, ({
|
|
33
33
|
valueNow,
|
|
34
34
|
valueMax
|
|
35
|
-
}) =>
|
|
35
|
+
}) => ___EmotionJSX("span", null, Math.round(valueNow / valueMax * 100))]
|
|
36
36
|
},
|
|
37
37
|
getComponentProps: () => {
|
|
38
38
|
return {
|
package/es/ProgressBar/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
1
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
3
|
const _excluded = ["renderValue", "formatScreenReaderValue", "valueNow", "valueMax", "screenReaderLabel", "size", "color", "meterColor", "styles"];
|
|
3
4
|
var _dec, _dec2, _class, _class2;
|
|
@@ -25,12 +26,11 @@ var _dec, _dec2, _class, _class2;
|
|
|
25
26
|
* SOFTWARE.
|
|
26
27
|
*/
|
|
27
28
|
|
|
28
|
-
/** @jsx jsx */
|
|
29
29
|
import { Component } from 'react';
|
|
30
30
|
import { View } from '@instructure/ui-view';
|
|
31
31
|
import { callRenderProp, passthroughProps } from '@instructure/ui-react-utils';
|
|
32
32
|
import { testable } from '@instructure/ui-testable';
|
|
33
|
-
import { withStyle
|
|
33
|
+
import { withStyle } from '@instructure/emotion';
|
|
34
34
|
import generateStyle from './styles';
|
|
35
35
|
import generateComponentTheme from './theme';
|
|
36
36
|
import { allowedProps, propTypes } from './props';
|
|
@@ -40,6 +40,7 @@ import { allowedProps, propTypes } from './props';
|
|
|
40
40
|
category: components
|
|
41
41
|
---
|
|
42
42
|
**/
|
|
43
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
43
44
|
let ProgressBar = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class ProgressBar extends Component {
|
|
44
45
|
constructor(...args) {
|
|
45
46
|
super(...args);
|
|
@@ -86,14 +87,14 @@ let ProgressBar = (_dec = withStyle(generateStyle, generateComponentTheme), _dec
|
|
|
86
87
|
});
|
|
87
88
|
|
|
88
89
|
/* eslint-disable jsx-a11y/no-redundant-roles, jsx-a11y/no-noninteractive-element-to-interactive-role */
|
|
89
|
-
return
|
|
90
|
+
return ___EmotionJSX(View, _extends({}, passthroughProps(props), {
|
|
90
91
|
as: this.props.as,
|
|
91
92
|
css: styles === null || styles === void 0 ? void 0 : styles.progressBar,
|
|
92
93
|
margin: this.props.margin,
|
|
93
94
|
elementRef: this.handleRef
|
|
94
|
-
}),
|
|
95
|
+
}), ___EmotionJSX("span", {
|
|
95
96
|
css: styles === null || styles === void 0 ? void 0 : styles.trackLayout
|
|
96
|
-
},
|
|
97
|
+
}, ___EmotionJSX("progress", {
|
|
97
98
|
css: styles === null || styles === void 0 ? void 0 : styles.htmlProgress,
|
|
98
99
|
max: valueMax,
|
|
99
100
|
value: valueNow,
|
|
@@ -102,13 +103,13 @@ let ProgressBar = (_dec = withStyle(generateStyle, generateComponentTheme), _dec
|
|
|
102
103
|
"aria-valuenow": valueNow,
|
|
103
104
|
"aria-valuemax": valueMax,
|
|
104
105
|
"aria-label": labelAndValueText
|
|
105
|
-
}),
|
|
106
|
+
}), ___EmotionJSX("span", {
|
|
106
107
|
css: styles === null || styles === void 0 ? void 0 : styles.track,
|
|
107
108
|
role: "presentation",
|
|
108
109
|
"aria-hidden": "true"
|
|
109
|
-
},
|
|
110
|
+
}, ___EmotionJSX("span", {
|
|
110
111
|
css: styles === null || styles === void 0 ? void 0 : styles.trackValue
|
|
111
|
-
}))), value &&
|
|
112
|
+
}))), value && ___EmotionJSX("span", {
|
|
112
113
|
css: styles === null || styles === void 0 ? void 0 : styles.value,
|
|
113
114
|
"aria-hidden": "true"
|
|
114
115
|
}, value));
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
1
2
|
/*
|
|
2
3
|
* The MIT License (MIT)
|
|
3
4
|
*
|
|
@@ -22,7 +23,6 @@
|
|
|
22
23
|
* SOFTWARE.
|
|
23
24
|
*/
|
|
24
25
|
|
|
25
|
-
import React from 'react';
|
|
26
26
|
const valueMax = 100;
|
|
27
27
|
export default {
|
|
28
28
|
sectionProp: 'color',
|
|
@@ -31,7 +31,7 @@ export default {
|
|
|
31
31
|
renderValue: [null, ({
|
|
32
32
|
valueNow,
|
|
33
33
|
valueMax
|
|
34
|
-
}) =>
|
|
34
|
+
}) => ___EmotionJSX("span", null, Math.round(valueNow / valueMax * 100))]
|
|
35
35
|
},
|
|
36
36
|
getComponentProps: () => {
|
|
37
37
|
return {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
1
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
3
|
const _excluded = ["color", "renderValue", "formatScreenReaderValue", "meterColor", "valueNow", "valueMax", "screenReaderLabel", "size", "styles"];
|
|
3
4
|
var _dec, _dec2, _class, _class2;
|
|
@@ -25,13 +26,12 @@ var _dec, _dec2, _class, _class2;
|
|
|
25
26
|
* SOFTWARE.
|
|
26
27
|
*/
|
|
27
28
|
|
|
28
|
-
/** @jsx jsx */
|
|
29
29
|
import { Component } from 'react';
|
|
30
30
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
31
31
|
import { View } from '@instructure/ui-view';
|
|
32
32
|
import { callRenderProp, passthroughProps } from '@instructure/ui-react-utils';
|
|
33
33
|
import { testable } from '@instructure/ui-testable';
|
|
34
|
-
import { withStyle
|
|
34
|
+
import { withStyle } from '@instructure/emotion';
|
|
35
35
|
import generateStyle from './styles';
|
|
36
36
|
import generateComponentTheme from './theme';
|
|
37
37
|
import { allowedProps, propTypes } from './props';
|
|
@@ -41,6 +41,7 @@ import { allowedProps, propTypes } from './props';
|
|
|
41
41
|
category: components
|
|
42
42
|
---
|
|
43
43
|
**/
|
|
44
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
44
45
|
let ProgressCircle = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class ProgressCircle extends Component {
|
|
45
46
|
constructor(props) {
|
|
46
47
|
super(props);
|
|
@@ -108,40 +109,40 @@ let ProgressCircle = (_dec = withStyle(generateStyle, generateComponentTheme), _
|
|
|
108
109
|
const style = {
|
|
109
110
|
strokeDashoffset: `${styles === null || styles === void 0 ? void 0 : styles.dashOffset}em`
|
|
110
111
|
};
|
|
111
|
-
return
|
|
112
|
+
return ___EmotionJSX(View, _extends({}, passthroughProps(props), {
|
|
112
113
|
as: this.props.as,
|
|
113
114
|
elementRef: this.handleRef,
|
|
114
115
|
css: styles === null || styles === void 0 ? void 0 : styles.progressCircle,
|
|
115
116
|
margin: this.props.margin
|
|
116
|
-
}),
|
|
117
|
+
}), ___EmotionJSX(ScreenReaderContent, null, ___EmotionJSX("progress", {
|
|
117
118
|
max: valueMax,
|
|
118
119
|
value: valueNow,
|
|
119
120
|
"aria-valuetext": valueText,
|
|
120
121
|
"aria-valuenow": valueNow,
|
|
121
122
|
"aria-valuemax": valueMax,
|
|
122
123
|
"aria-label": labelAndValueText
|
|
123
|
-
})), value &&
|
|
124
|
+
})), value && ___EmotionJSX("span", {
|
|
124
125
|
css: styles === null || styles === void 0 ? void 0 : styles.center,
|
|
125
126
|
"aria-hidden": "true"
|
|
126
|
-
},
|
|
127
|
+
}, ___EmotionJSX("span", {
|
|
127
128
|
css: styles === null || styles === void 0 ? void 0 : styles.value
|
|
128
|
-
}, value)),
|
|
129
|
+
}, value)), ___EmotionJSX("svg", {
|
|
129
130
|
css: styles === null || styles === void 0 ? void 0 : styles.circle,
|
|
130
131
|
role: "presentation",
|
|
131
132
|
focusable: "false"
|
|
132
|
-
},
|
|
133
|
+
}, ___EmotionJSX("circle", {
|
|
133
134
|
css: styles === null || styles === void 0 ? void 0 : styles.track,
|
|
134
135
|
role: "presentation",
|
|
135
136
|
cx: "50%",
|
|
136
137
|
cy: "50%",
|
|
137
138
|
r: styles === null || styles === void 0 ? void 0 : (_styles$radii = styles.radii) === null || _styles$radii === void 0 ? void 0 : _styles$radii.radius
|
|
138
|
-
}),
|
|
139
|
+
}), ___EmotionJSX("circle", {
|
|
139
140
|
css: styles === null || styles === void 0 ? void 0 : styles.border,
|
|
140
141
|
role: "presentation",
|
|
141
142
|
cx: "50%",
|
|
142
143
|
cy: "50%",
|
|
143
144
|
r: styles === null || styles === void 0 ? void 0 : (_styles$radii2 = styles.radii) === null || _styles$radii2 === void 0 ? void 0 : _styles$radii2.borderOffsetRadius
|
|
144
|
-
}),
|
|
145
|
+
}), ___EmotionJSX("circle", {
|
|
145
146
|
css: styles === null || styles === void 0 ? void 0 : styles.meter,
|
|
146
147
|
role: "presentation",
|
|
147
148
|
style: style,
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.default = void 0;
|
|
8
|
-
var _react =
|
|
7
|
+
var _react = require("@emotion/react");
|
|
9
8
|
/*
|
|
10
9
|
* The MIT License (MIT)
|
|
11
10
|
*
|
|
@@ -39,7 +38,7 @@ var _default = exports.default = {
|
|
|
39
38
|
renderValue: [null, ({
|
|
40
39
|
valueNow,
|
|
41
40
|
valueMax
|
|
42
|
-
}) =>
|
|
41
|
+
}) => (0, _react.jsx)("span", null, Math.round(valueNow / valueMax * 100))]
|
|
43
42
|
},
|
|
44
43
|
getComponentProps: () => {
|
|
45
44
|
return {
|
package/lib/ProgressBar/index.js
CHANGED
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = exports.ProgressBar = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
8
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
9
10
|
var _react = require("react");
|
|
10
11
|
var _View = require("@instructure/ui-view/lib/View");
|
|
@@ -15,6 +16,7 @@ var _emotion = require("@instructure/emotion");
|
|
|
15
16
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
16
17
|
var _theme = _interopRequireDefault(require("./theme"));
|
|
17
18
|
var _props = require("./props");
|
|
19
|
+
var _react2 = require("@emotion/react");
|
|
18
20
|
const _excluded = ["renderValue", "formatScreenReaderValue", "valueNow", "valueMax", "screenReaderLabel", "size", "color", "meterColor", "styles"];
|
|
19
21
|
var _dec, _dec2, _class, _class2;
|
|
20
22
|
/*
|
|
@@ -40,7 +42,6 @@ var _dec, _dec2, _class, _class2;
|
|
|
40
42
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
41
43
|
* SOFTWARE.
|
|
42
44
|
*/
|
|
43
|
-
/** @jsx jsx */
|
|
44
45
|
/**
|
|
45
46
|
---
|
|
46
47
|
category: components
|
|
@@ -92,14 +93,14 @@ let ProgressBar = exports.ProgressBar = (_dec = (0, _emotion.withStyle)(_styles.
|
|
|
92
93
|
});
|
|
93
94
|
|
|
94
95
|
/* eslint-disable jsx-a11y/no-redundant-roles, jsx-a11y/no-noninteractive-element-to-interactive-role */
|
|
95
|
-
return (0,
|
|
96
|
+
return (0, _react2.jsx)(_View.View, (0, _extends2.default)({}, (0, _passthroughProps.passthroughProps)(props), {
|
|
96
97
|
as: this.props.as,
|
|
97
98
|
css: styles === null || styles === void 0 ? void 0 : styles.progressBar,
|
|
98
99
|
margin: this.props.margin,
|
|
99
100
|
elementRef: this.handleRef
|
|
100
|
-
}), (0,
|
|
101
|
+
}), (0, _react2.jsx)("span", {
|
|
101
102
|
css: styles === null || styles === void 0 ? void 0 : styles.trackLayout
|
|
102
|
-
}, (0,
|
|
103
|
+
}, (0, _react2.jsx)("progress", {
|
|
103
104
|
css: styles === null || styles === void 0 ? void 0 : styles.htmlProgress,
|
|
104
105
|
max: valueMax,
|
|
105
106
|
value: valueNow,
|
|
@@ -108,13 +109,13 @@ let ProgressBar = exports.ProgressBar = (_dec = (0, _emotion.withStyle)(_styles.
|
|
|
108
109
|
"aria-valuenow": valueNow,
|
|
109
110
|
"aria-valuemax": valueMax,
|
|
110
111
|
"aria-label": labelAndValueText
|
|
111
|
-
}), (0,
|
|
112
|
+
}), (0, _react2.jsx)("span", {
|
|
112
113
|
css: styles === null || styles === void 0 ? void 0 : styles.track,
|
|
113
114
|
role: "presentation",
|
|
114
115
|
"aria-hidden": "true"
|
|
115
|
-
}, (0,
|
|
116
|
+
}, (0, _react2.jsx)("span", {
|
|
116
117
|
css: styles === null || styles === void 0 ? void 0 : styles.trackValue
|
|
117
|
-
}))), value && (0,
|
|
118
|
+
}))), value && (0, _react2.jsx)("span", {
|
|
118
119
|
css: styles === null || styles === void 0 ? void 0 : styles.value,
|
|
119
120
|
"aria-hidden": "true"
|
|
120
121
|
}, value));
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.default = void 0;
|
|
8
|
-
var _react =
|
|
7
|
+
var _react = require("@emotion/react");
|
|
9
8
|
/*
|
|
10
9
|
* The MIT License (MIT)
|
|
11
10
|
*
|
|
@@ -38,7 +37,7 @@ var _default = exports.default = {
|
|
|
38
37
|
renderValue: [null, ({
|
|
39
38
|
valueNow,
|
|
40
39
|
valueMax
|
|
41
|
-
}) =>
|
|
40
|
+
}) => (0, _react.jsx)("span", null, Math.round(valueNow / valueMax * 100))]
|
|
42
41
|
},
|
|
43
42
|
getComponentProps: () => {
|
|
44
43
|
return {
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = exports.ProgressCircle = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
8
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
9
10
|
var _react = require("react");
|
|
10
11
|
var _ScreenReaderContent = require("@instructure/ui-a11y-content/lib/ScreenReaderContent");
|
|
@@ -16,6 +17,7 @@ var _emotion = require("@instructure/emotion");
|
|
|
16
17
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
17
18
|
var _theme = _interopRequireDefault(require("./theme"));
|
|
18
19
|
var _props = require("./props");
|
|
20
|
+
var _react2 = require("@emotion/react");
|
|
19
21
|
const _excluded = ["color", "renderValue", "formatScreenReaderValue", "meterColor", "valueNow", "valueMax", "screenReaderLabel", "size", "styles"];
|
|
20
22
|
var _dec, _dec2, _class, _class2;
|
|
21
23
|
/*
|
|
@@ -41,7 +43,6 @@ var _dec, _dec2, _class, _class2;
|
|
|
41
43
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
42
44
|
* SOFTWARE.
|
|
43
45
|
*/
|
|
44
|
-
/** @jsx jsx */
|
|
45
46
|
/**
|
|
46
47
|
---
|
|
47
48
|
category: components
|
|
@@ -114,40 +115,40 @@ let ProgressCircle = exports.ProgressCircle = (_dec = (0, _emotion.withStyle)(_s
|
|
|
114
115
|
const style = {
|
|
115
116
|
strokeDashoffset: `${styles === null || styles === void 0 ? void 0 : styles.dashOffset}em`
|
|
116
117
|
};
|
|
117
|
-
return (0,
|
|
118
|
+
return (0, _react2.jsx)(_View.View, (0, _extends2.default)({}, (0, _passthroughProps.passthroughProps)(props), {
|
|
118
119
|
as: this.props.as,
|
|
119
120
|
elementRef: this.handleRef,
|
|
120
121
|
css: styles === null || styles === void 0 ? void 0 : styles.progressCircle,
|
|
121
122
|
margin: this.props.margin
|
|
122
|
-
}), (0,
|
|
123
|
+
}), (0, _react2.jsx)(_ScreenReaderContent.ScreenReaderContent, null, (0, _react2.jsx)("progress", {
|
|
123
124
|
max: valueMax,
|
|
124
125
|
value: valueNow,
|
|
125
126
|
"aria-valuetext": valueText,
|
|
126
127
|
"aria-valuenow": valueNow,
|
|
127
128
|
"aria-valuemax": valueMax,
|
|
128
129
|
"aria-label": labelAndValueText
|
|
129
|
-
})), value && (0,
|
|
130
|
+
})), value && (0, _react2.jsx)("span", {
|
|
130
131
|
css: styles === null || styles === void 0 ? void 0 : styles.center,
|
|
131
132
|
"aria-hidden": "true"
|
|
132
|
-
}, (0,
|
|
133
|
+
}, (0, _react2.jsx)("span", {
|
|
133
134
|
css: styles === null || styles === void 0 ? void 0 : styles.value
|
|
134
|
-
}, value)), (0,
|
|
135
|
+
}, value)), (0, _react2.jsx)("svg", {
|
|
135
136
|
css: styles === null || styles === void 0 ? void 0 : styles.circle,
|
|
136
137
|
role: "presentation",
|
|
137
138
|
focusable: "false"
|
|
138
|
-
}, (0,
|
|
139
|
+
}, (0, _react2.jsx)("circle", {
|
|
139
140
|
css: styles === null || styles === void 0 ? void 0 : styles.track,
|
|
140
141
|
role: "presentation",
|
|
141
142
|
cx: "50%",
|
|
142
143
|
cy: "50%",
|
|
143
144
|
r: styles === null || styles === void 0 ? void 0 : (_styles$radii = styles.radii) === null || _styles$radii === void 0 ? void 0 : _styles$radii.radius
|
|
144
|
-
}), (0,
|
|
145
|
+
}), (0, _react2.jsx)("circle", {
|
|
145
146
|
css: styles === null || styles === void 0 ? void 0 : styles.border,
|
|
146
147
|
role: "presentation",
|
|
147
148
|
cx: "50%",
|
|
148
149
|
cy: "50%",
|
|
149
150
|
r: styles === null || styles === void 0 ? void 0 : (_styles$radii2 = styles.radii) === null || _styles$radii2 === void 0 ? void 0 : _styles$radii2.borderOffsetRadius
|
|
150
|
-
}), (0,
|
|
151
|
+
}), (0, _react2.jsx)("circle", {
|
|
151
152
|
css: styles === null || styles === void 0 ? void 0 : styles.meter,
|
|
152
153
|
role: "presentation",
|
|
153
154
|
style: style,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-progress",
|
|
3
|
-
"version": "8.53.3-pr-snapshot-
|
|
3
|
+
"version": "8.53.3-pr-snapshot-1709124298948",
|
|
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.23.2",
|
|
27
|
-
"@instructure/console": "8.53.3-pr-snapshot-
|
|
28
|
-
"@instructure/emotion": "8.53.3-pr-snapshot-
|
|
29
|
-
"@instructure/shared-types": "8.53.3-pr-snapshot-
|
|
30
|
-
"@instructure/ui-a11y-content": "8.53.3-pr-snapshot-
|
|
31
|
-
"@instructure/ui-color-utils": "8.53.3-pr-snapshot-
|
|
32
|
-
"@instructure/ui-react-utils": "8.53.3-pr-snapshot-
|
|
33
|
-
"@instructure/ui-testable": "8.53.3-pr-snapshot-
|
|
34
|
-
"@instructure/ui-view": "8.53.3-pr-snapshot-
|
|
27
|
+
"@instructure/console": "8.53.3-pr-snapshot-1709124298948",
|
|
28
|
+
"@instructure/emotion": "8.53.3-pr-snapshot-1709124298948",
|
|
29
|
+
"@instructure/shared-types": "8.53.3-pr-snapshot-1709124298948",
|
|
30
|
+
"@instructure/ui-a11y-content": "8.53.3-pr-snapshot-1709124298948",
|
|
31
|
+
"@instructure/ui-color-utils": "8.53.3-pr-snapshot-1709124298948",
|
|
32
|
+
"@instructure/ui-react-utils": "8.53.3-pr-snapshot-1709124298948",
|
|
33
|
+
"@instructure/ui-testable": "8.53.3-pr-snapshot-1709124298948",
|
|
34
|
+
"@instructure/ui-view": "8.53.3-pr-snapshot-1709124298948",
|
|
35
35
|
"prop-types": "^15.8.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@instructure/ui-babel-preset": "8.53.3-pr-snapshot-
|
|
39
|
-
"@instructure/ui-test-locator": "8.53.3-pr-snapshot-
|
|
40
|
-
"@instructure/ui-test-utils": "8.53.3-pr-snapshot-
|
|
41
|
-
"@instructure/ui-themes": "8.53.3-pr-snapshot-
|
|
38
|
+
"@instructure/ui-babel-preset": "8.53.3-pr-snapshot-1709124298948",
|
|
39
|
+
"@instructure/ui-test-locator": "8.53.3-pr-snapshot-1709124298948",
|
|
40
|
+
"@instructure/ui-test-utils": "8.53.3-pr-snapshot-1709124298948",
|
|
41
|
+
"@instructure/ui-themes": "8.53.3-pr-snapshot-1709124298948"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": ">=16.8 <=18"
|
|
@@ -22,14 +22,13 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
/** @jsx jsx */
|
|
26
25
|
import { Component } from 'react'
|
|
27
26
|
|
|
28
27
|
import { View } from '@instructure/ui-view'
|
|
29
28
|
import { callRenderProp, passthroughProps } from '@instructure/ui-react-utils'
|
|
30
29
|
import { testable } from '@instructure/ui-testable'
|
|
31
30
|
|
|
32
|
-
import { withStyle
|
|
31
|
+
import { withStyle } from '@instructure/emotion'
|
|
33
32
|
|
|
34
33
|
import generateStyle from './styles'
|
|
35
34
|
import generateComponentTheme from './theme'
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
/** @jsx jsx */
|
|
26
25
|
import { Component } from 'react'
|
|
27
26
|
|
|
28
27
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content'
|
|
@@ -30,7 +29,7 @@ import { View } from '@instructure/ui-view'
|
|
|
30
29
|
import { callRenderProp, passthroughProps } from '@instructure/ui-react-utils'
|
|
31
30
|
import { testable } from '@instructure/ui-testable'
|
|
32
31
|
|
|
33
|
-
import { withStyle
|
|
32
|
+
import { withStyle } from '@instructure/emotion'
|
|
34
33
|
|
|
35
34
|
import generateStyle from './styles'
|
|
36
35
|
import generateComponentTheme from './theme'
|