@instructure/ui-progress 11.7.3 → 11.7.4-pr-snapshot-1781695314229
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 +8 -0
- package/LICENSE.md +1 -0
- package/{lib/ProgressBar/v2/props.js → babel.config.cjs} +12 -7
- package/es/ProgressBar/v1/index.js +5 -4
- package/es/ProgressBar/v2/index.js +4 -3
- package/es/ProgressCircle/v1/index.js +5 -4
- package/es/ProgressCircle/v2/index.js +4 -3
- package/es/exports/a.js +3 -2
- package/es/exports/b.js +3 -2
- package/package.json +13 -18
- package/src/ProgressBar/v1/index.tsx +4 -3
- package/src/ProgressBar/v2/index.tsx +3 -2
- package/src/ProgressCircle/v1/index.tsx +4 -3
- package/src/ProgressCircle/v2/index.tsx +3 -2
- package/src/exports/a.ts +2 -2
- package/src/exports/b.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/ProgressBar/v1/index.d.ts +1 -0
- package/types/ProgressBar/v1/index.d.ts.map +1 -1
- package/types/ProgressBar/v2/index.d.ts +1 -0
- package/types/ProgressBar/v2/index.d.ts.map +1 -1
- package/types/ProgressCircle/v1/index.d.ts +1 -0
- package/types/ProgressCircle/v1/index.d.ts.map +1 -1
- package/types/ProgressCircle/v2/index.d.ts +1 -0
- package/types/ProgressCircle/v2/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +2 -2
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +2 -2
- package/types/exports/b.d.ts.map +1 -1
- package/lib/ProgressBar/v1/index.js +0 -137
- package/lib/ProgressBar/v1/props.js +0 -31
- package/lib/ProgressBar/v1/styles.js +0 -216
- package/lib/ProgressBar/v1/theme.js +0 -100
- package/lib/ProgressBar/v2/index.js +0 -136
- package/lib/ProgressBar/v2/styles.js +0 -243
- package/lib/ProgressCircle/v1/index.js +0 -182
- package/lib/ProgressCircle/v1/props.js +0 -31
- package/lib/ProgressCircle/v1/styles.js +0 -357
- package/lib/ProgressCircle/v1/theme.js +0 -146
- package/lib/ProgressCircle/v2/index.js +0 -181
- package/lib/ProgressCircle/v2/props.js +0 -31
- package/lib/ProgressCircle/v2/styles.js +0 -357
- package/lib/exports/a.js +0 -19
- package/lib/exports/b.js +0 -19
- package/lib/package.json +0 -1
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.4-pr-snapshot-1781695314229](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-pr-snapshot-1781695314229) (2026-06-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-progress
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [11.7.3](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3) (2026-05-07)
|
|
7
15
|
|
|
8
16
|
|
package/LICENSE.md
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.allowedProps = void 0;
|
|
7
1
|
/*
|
|
8
2
|
* The MIT License (MIT)
|
|
9
3
|
*
|
|
@@ -28,4 +22,15 @@ exports.allowedProps = void 0;
|
|
|
28
22
|
* SOFTWARE.
|
|
29
23
|
*/
|
|
30
24
|
|
|
31
|
-
|
|
25
|
+
module.exports = {
|
|
26
|
+
presets: [
|
|
27
|
+
[
|
|
28
|
+
require('@instructure/ui-babel-preset'),
|
|
29
|
+
{
|
|
30
|
+
esModules: Boolean(process.env.ES_MODULES),
|
|
31
|
+
removeConsole: process.env.NODE_ENV === 'production',
|
|
32
|
+
transformImports: Boolean(process.env.TRANSFORM_IMPORTS)
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -27,9 +27,10 @@ import { Component } from 'react';
|
|
|
27
27
|
import { View } from '@instructure/ui-view/v11_6';
|
|
28
28
|
import { callRenderProp, passthroughProps } from '@instructure/ui-react-utils';
|
|
29
29
|
import { withStyle } from '@instructure/emotion';
|
|
30
|
-
import generateStyle from
|
|
31
|
-
import generateComponentTheme from
|
|
32
|
-
import { allowedProps } from
|
|
30
|
+
import generateStyle from './styles.js';
|
|
31
|
+
import generateComponentTheme from './theme.js';
|
|
32
|
+
import { allowedProps } from './props.js';
|
|
33
|
+
|
|
33
34
|
/**
|
|
34
35
|
---
|
|
35
36
|
category: components
|
|
@@ -37,7 +38,7 @@ category: components
|
|
|
37
38
|
**/
|
|
38
39
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
39
40
|
let ProgressBar = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class ProgressBar extends Component {
|
|
40
|
-
static displayName =
|
|
41
|
+
static displayName = 'ProgressBar';
|
|
41
42
|
static componentId = 'ProgressBar';
|
|
42
43
|
static allowedProps = allowedProps;
|
|
43
44
|
static defaultProps = {
|
|
@@ -27,8 +27,9 @@ import { Component } from 'react';
|
|
|
27
27
|
import { View } from '@instructure/ui-view/latest';
|
|
28
28
|
import { callRenderProp, passthroughProps } from '@instructure/ui-react-utils';
|
|
29
29
|
import { withStyleNew } from '@instructure/emotion';
|
|
30
|
-
import generateStyle from
|
|
31
|
-
import { allowedProps } from
|
|
30
|
+
import generateStyle from './styles.js';
|
|
31
|
+
import { allowedProps } from './props.js';
|
|
32
|
+
|
|
32
33
|
/**
|
|
33
34
|
---
|
|
34
35
|
category: components
|
|
@@ -36,7 +37,7 @@ category: components
|
|
|
36
37
|
**/
|
|
37
38
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
38
39
|
let ProgressBar = (_dec = withStyleNew(generateStyle), _dec(_class = class ProgressBar extends Component {
|
|
39
|
-
static displayName =
|
|
40
|
+
static displayName = 'ProgressBar';
|
|
40
41
|
static componentId = 'ProgressBar';
|
|
41
42
|
static allowedProps = allowedProps;
|
|
42
43
|
static defaultProps = {
|
|
@@ -28,9 +28,10 @@ import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
|
28
28
|
import { View } from '@instructure/ui-view/v11_6';
|
|
29
29
|
import { callRenderProp, passthroughProps } from '@instructure/ui-react-utils';
|
|
30
30
|
import { withStyle } from '@instructure/emotion';
|
|
31
|
-
import generateStyle from
|
|
32
|
-
import generateComponentTheme from
|
|
33
|
-
import { allowedProps } from
|
|
31
|
+
import generateStyle from './styles.js';
|
|
32
|
+
import generateComponentTheme from './theme.js';
|
|
33
|
+
import { allowedProps } from './props.js';
|
|
34
|
+
|
|
34
35
|
/**
|
|
35
36
|
---
|
|
36
37
|
category: components
|
|
@@ -38,7 +39,7 @@ category: components
|
|
|
38
39
|
**/
|
|
39
40
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
40
41
|
let ProgressCircle = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class ProgressCircle extends Component {
|
|
41
|
-
static displayName =
|
|
42
|
+
static displayName = 'ProgressCircle';
|
|
42
43
|
static componentId = 'ProgressCircle';
|
|
43
44
|
static allowedProps = allowedProps;
|
|
44
45
|
static defaultProps = {
|
|
@@ -28,8 +28,9 @@ import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
|
28
28
|
import { View } from '@instructure/ui-view/latest';
|
|
29
29
|
import { callRenderProp, passthroughProps } from '@instructure/ui-react-utils';
|
|
30
30
|
import { withStyleNew } from '@instructure/emotion';
|
|
31
|
-
import generateStyle from
|
|
32
|
-
import { allowedProps } from
|
|
31
|
+
import generateStyle from './styles.js';
|
|
32
|
+
import { allowedProps } from './props.js';
|
|
33
|
+
|
|
33
34
|
/**
|
|
34
35
|
---
|
|
35
36
|
category: components
|
|
@@ -37,7 +38,7 @@ category: components
|
|
|
37
38
|
**/
|
|
38
39
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
39
40
|
let ProgressCircle = (_dec = withStyleNew(generateStyle), _dec(_class = class ProgressCircle extends Component {
|
|
40
|
-
static displayName =
|
|
41
|
+
static displayName = 'ProgressCircle';
|
|
41
42
|
static componentId = 'ProgressCircle';
|
|
42
43
|
static allowedProps = allowedProps;
|
|
43
44
|
static defaultProps = {
|
package/es/exports/a.js
CHANGED
|
@@ -21,5 +21,6 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
|
|
25
|
-
export {
|
|
24
|
+
|
|
25
|
+
export { ProgressBar } from '../ProgressBar/v1/index.js';
|
|
26
|
+
export { ProgressCircle } from '../ProgressCircle/v1/index.js';
|
package/es/exports/b.js
CHANGED
|
@@ -21,5 +21,6 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
|
|
25
|
-
export {
|
|
24
|
+
|
|
25
|
+
export { ProgressBar } from '../ProgressBar/v2/index.js';
|
|
26
|
+
export { ProgressCircle } from '../ProgressCircle/v2/index.js';
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-progress",
|
|
3
|
-
"version": "11.7.
|
|
3
|
+
"version": "11.7.4-pr-snapshot-1781695314229",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "Styled HTML <progress /> elements for showing completion of a task",
|
|
5
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
7
|
"module": "./es/index.js",
|
|
7
|
-
"main": "./lib/index.js",
|
|
8
8
|
"types": "./types/index.d.ts",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -15,21 +15,21 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
|
-
"@instructure/console": "11.7.
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/
|
|
22
|
-
"@instructure/ui-color-utils": "11.7.
|
|
23
|
-
"@instructure/ui-
|
|
24
|
-
"@instructure/ui-
|
|
25
|
-
"@instructure/ui-view": "11.7.
|
|
18
|
+
"@instructure/console": "11.7.4-pr-snapshot-1781695314229",
|
|
19
|
+
"@instructure/emotion": "11.7.4-pr-snapshot-1781695314229",
|
|
20
|
+
"@instructure/ui-a11y-content": "11.7.4-pr-snapshot-1781695314229",
|
|
21
|
+
"@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
|
|
22
|
+
"@instructure/ui-color-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
23
|
+
"@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
24
|
+
"@instructure/ui-themes": "11.7.4-pr-snapshot-1781695314229",
|
|
25
|
+
"@instructure/ui-view": "11.7.4-pr-snapshot-1781695314229"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@testing-library/jest-dom": "^6.6.3",
|
|
29
29
|
"@testing-library/react": "15.0.7",
|
|
30
30
|
"vitest": "^3.2.2",
|
|
31
|
-
"@instructure/ui-
|
|
32
|
-
"@instructure/ui-
|
|
31
|
+
"@instructure/ui-axe-check": "11.7.4-pr-snapshot-1781695314229",
|
|
32
|
+
"@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"react": ">=18 <=19"
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
},
|
|
40
40
|
"sideEffects": false,
|
|
41
41
|
"exports": {
|
|
42
|
-
"./lib/*": "./lib/*",
|
|
43
42
|
"./es/*": "./es/*",
|
|
44
43
|
"./types/*": "./types/*",
|
|
45
44
|
"./package.json": "./package.json",
|
|
@@ -48,28 +47,24 @@
|
|
|
48
47
|
"src": "./src/exports/a.ts",
|
|
49
48
|
"types": "./types/exports/a.d.ts",
|
|
50
49
|
"import": "./es/exports/a.js",
|
|
51
|
-
"require": "./lib/exports/a.js",
|
|
52
50
|
"default": "./es/exports/a.js"
|
|
53
51
|
},
|
|
54
52
|
"./v11_6": {
|
|
55
53
|
"src": "./src/exports/a.ts",
|
|
56
54
|
"types": "./types/exports/a.d.ts",
|
|
57
55
|
"import": "./es/exports/a.js",
|
|
58
|
-
"require": "./lib/exports/a.js",
|
|
59
56
|
"default": "./es/exports/a.js"
|
|
60
57
|
},
|
|
61
58
|
"./v11_7": {
|
|
62
59
|
"src": "./src/exports/b.ts",
|
|
63
60
|
"types": "./types/exports/b.d.ts",
|
|
64
61
|
"import": "./es/exports/b.js",
|
|
65
|
-
"require": "./lib/exports/b.js",
|
|
66
62
|
"default": "./es/exports/b.js"
|
|
67
63
|
},
|
|
68
64
|
"./latest": {
|
|
69
65
|
"src": "./src/exports/b.ts",
|
|
70
66
|
"types": "./types/exports/b.d.ts",
|
|
71
67
|
"import": "./es/exports/b.js",
|
|
72
|
-
"require": "./lib/exports/b.js",
|
|
73
68
|
"default": "./es/exports/b.js"
|
|
74
69
|
}
|
|
75
70
|
},
|
|
@@ -77,7 +72,7 @@
|
|
|
77
72
|
"lint": "ui-scripts lint",
|
|
78
73
|
"lint:fix": "ui-scripts lint --fix",
|
|
79
74
|
"clean": "ui-scripts clean",
|
|
80
|
-
"build": "ui-scripts build
|
|
75
|
+
"build": "ui-scripts build",
|
|
81
76
|
"build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
|
|
82
77
|
"build:types": "tsc -p tsconfig.build.json",
|
|
83
78
|
"ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
|
|
@@ -29,11 +29,11 @@ import { callRenderProp, passthroughProps } from '@instructure/ui-react-utils'
|
|
|
29
29
|
|
|
30
30
|
import { withStyle } from '@instructure/emotion'
|
|
31
31
|
|
|
32
|
-
import generateStyle from './styles'
|
|
33
|
-
import generateComponentTheme from './theme'
|
|
32
|
+
import generateStyle from './styles.js'
|
|
33
|
+
import generateComponentTheme from './theme.js'
|
|
34
34
|
|
|
35
35
|
import type { ProgressBarProps, Values } from './props'
|
|
36
|
-
import { allowedProps } from './props'
|
|
36
|
+
import { allowedProps } from './props.js'
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
---
|
|
@@ -42,6 +42,7 @@ category: components
|
|
|
42
42
|
**/
|
|
43
43
|
@withStyle(generateStyle, generateComponentTheme)
|
|
44
44
|
class ProgressBar extends Component<ProgressBarProps> {
|
|
45
|
+
static displayName = 'ProgressBar'
|
|
45
46
|
static readonly componentId = 'ProgressBar'
|
|
46
47
|
|
|
47
48
|
static allowedProps = allowedProps
|
|
@@ -29,10 +29,10 @@ import { callRenderProp, passthroughProps } from '@instructure/ui-react-utils'
|
|
|
29
29
|
|
|
30
30
|
import { withStyleNew } from '@instructure/emotion'
|
|
31
31
|
|
|
32
|
-
import generateStyle from './styles'
|
|
32
|
+
import generateStyle from './styles.js'
|
|
33
33
|
|
|
34
34
|
import type { ProgressBarProps, Values } from './props'
|
|
35
|
-
import { allowedProps } from './props'
|
|
35
|
+
import { allowedProps } from './props.js'
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
---
|
|
@@ -41,6 +41,7 @@ category: components
|
|
|
41
41
|
**/
|
|
42
42
|
@withStyleNew(generateStyle)
|
|
43
43
|
class ProgressBar extends Component<ProgressBarProps> {
|
|
44
|
+
static displayName = 'ProgressBar'
|
|
44
45
|
static readonly componentId = 'ProgressBar'
|
|
45
46
|
|
|
46
47
|
static allowedProps = allowedProps
|
|
@@ -30,10 +30,10 @@ import { callRenderProp, passthroughProps } from '@instructure/ui-react-utils'
|
|
|
30
30
|
|
|
31
31
|
import { withStyle } from '@instructure/emotion'
|
|
32
32
|
|
|
33
|
-
import generateStyle from './styles'
|
|
34
|
-
import generateComponentTheme from './theme'
|
|
33
|
+
import generateStyle from './styles.js'
|
|
34
|
+
import generateComponentTheme from './theme.js'
|
|
35
35
|
import type { ProgressCircleProps, ProgressCircleState, Values } from './props'
|
|
36
|
-
import { allowedProps } from './props'
|
|
36
|
+
import { allowedProps } from './props.js'
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
---
|
|
@@ -45,6 +45,7 @@ class ProgressCircle extends Component<
|
|
|
45
45
|
ProgressCircleProps,
|
|
46
46
|
ProgressCircleState
|
|
47
47
|
> {
|
|
48
|
+
static displayName = 'ProgressCircle'
|
|
48
49
|
static readonly componentId = 'ProgressCircle'
|
|
49
50
|
|
|
50
51
|
static allowedProps = allowedProps
|
|
@@ -30,9 +30,9 @@ import { callRenderProp, passthroughProps } from '@instructure/ui-react-utils'
|
|
|
30
30
|
|
|
31
31
|
import { withStyleNew } from '@instructure/emotion'
|
|
32
32
|
|
|
33
|
-
import generateStyle from './styles'
|
|
33
|
+
import generateStyle from './styles.js'
|
|
34
34
|
import type { ProgressCircleProps, ProgressCircleState, Values } from './props'
|
|
35
|
-
import { allowedProps } from './props'
|
|
35
|
+
import { allowedProps } from './props.js'
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
---
|
|
@@ -44,6 +44,7 @@ class ProgressCircle extends Component<
|
|
|
44
44
|
ProgressCircleProps,
|
|
45
45
|
ProgressCircleState
|
|
46
46
|
> {
|
|
47
|
+
static displayName = 'ProgressCircle'
|
|
47
48
|
static readonly componentId = 'ProgressCircle'
|
|
48
49
|
|
|
49
50
|
static allowedProps = allowedProps
|
package/src/exports/a.ts
CHANGED
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
export { ProgressBar } from '../ProgressBar/v1'
|
|
26
|
-
export { ProgressCircle } from '../ProgressCircle/v1'
|
|
25
|
+
export { ProgressBar } from '../ProgressBar/v1/index.js'
|
|
26
|
+
export { ProgressCircle } from '../ProgressCircle/v1/index.js'
|
|
27
27
|
|
|
28
28
|
export type { ProgressBarProps } from '../ProgressBar/v1/props'
|
|
29
29
|
export type { ProgressCircleProps } from '../ProgressCircle/v1/props'
|
package/src/exports/b.ts
CHANGED
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
export { ProgressBar } from '../ProgressBar/v2'
|
|
26
|
-
export { ProgressCircle } from '../ProgressCircle/v2'
|
|
25
|
+
export { ProgressBar } from '../ProgressBar/v2/index.js'
|
|
26
|
+
export { ProgressCircle } from '../ProgressCircle/v2/index.js'
|
|
27
27
|
|
|
28
28
|
export type { ProgressBarProps } from '../ProgressBar/v2/props'
|
|
29
29
|
export type { ProgressCircleProps } from '../ProgressCircle/v2/props'
|