@instructure/ui-progress 8.10.3-snapshot.13 → 8.10.3-snapshot.22
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-progress",
|
|
3
|
-
"version": "8.10.3-snapshot.
|
|
3
|
+
"version": "8.10.3-snapshot.22+f96f8c48e",
|
|
4
4
|
"description": "Styled HTML <progress /> elements for showing completion of a task",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.13.10",
|
|
28
|
-
"@instructure/console": "8.10.3-snapshot.
|
|
29
|
-
"@instructure/emotion": "8.10.3-snapshot.
|
|
30
|
-
"@instructure/shared-types": "8.10.3-snapshot.
|
|
31
|
-
"@instructure/ui-a11y-content": "8.10.3-snapshot.
|
|
32
|
-
"@instructure/ui-color-utils": "8.10.3-snapshot.
|
|
33
|
-
"@instructure/ui-react-utils": "8.10.3-snapshot.
|
|
34
|
-
"@instructure/ui-testable": "8.10.3-snapshot.
|
|
35
|
-
"@instructure/ui-view": "8.10.3-snapshot.
|
|
28
|
+
"@instructure/console": "8.10.3-snapshot.22+f96f8c48e",
|
|
29
|
+
"@instructure/emotion": "8.10.3-snapshot.22+f96f8c48e",
|
|
30
|
+
"@instructure/shared-types": "8.10.3-snapshot.22+f96f8c48e",
|
|
31
|
+
"@instructure/ui-a11y-content": "8.10.3-snapshot.22+f96f8c48e",
|
|
32
|
+
"@instructure/ui-color-utils": "8.10.3-snapshot.22+f96f8c48e",
|
|
33
|
+
"@instructure/ui-react-utils": "8.10.3-snapshot.22+f96f8c48e",
|
|
34
|
+
"@instructure/ui-testable": "8.10.3-snapshot.22+f96f8c48e",
|
|
35
|
+
"@instructure/ui-view": "8.10.3-snapshot.22+f96f8c48e",
|
|
36
36
|
"prop-types": "^15"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@instructure/ui-babel-preset": "8.10.3-snapshot.
|
|
40
|
-
"@instructure/ui-test-locator": "8.10.3-snapshot.
|
|
41
|
-
"@instructure/ui-test-utils": "8.10.3-snapshot.
|
|
42
|
-
"@instructure/ui-themes": "8.10.3-snapshot.
|
|
39
|
+
"@instructure/ui-babel-preset": "8.10.3-snapshot.22+f96f8c48e",
|
|
40
|
+
"@instructure/ui-test-locator": "8.10.3-snapshot.22+f96f8c48e",
|
|
41
|
+
"@instructure/ui-test-utils": "8.10.3-snapshot.22+f96f8c48e",
|
|
42
|
+
"@instructure/ui-themes": "8.10.3-snapshot.22+f96f8c48e"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": ">=16.8 <=17"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
50
|
"sideEffects": false,
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "f96f8c48efab7806609098e1f00a6953b2884601"
|
|
52
52
|
}
|
package/src/ProgressBar/props.ts
CHANGED
|
@@ -33,7 +33,8 @@ import type {
|
|
|
33
33
|
import type {
|
|
34
34
|
PropValidators,
|
|
35
35
|
AsElementType,
|
|
36
|
-
ProgressBarTheme
|
|
36
|
+
ProgressBarTheme,
|
|
37
|
+
OtherHTMLAttributes
|
|
37
38
|
} from '@instructure/shared-types'
|
|
38
39
|
|
|
39
40
|
export type ProgressBarMeterColor =
|
|
@@ -65,7 +66,8 @@ type PropKeys = keyof ProgressBarOwnProps
|
|
|
65
66
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
66
67
|
|
|
67
68
|
type ProgressBarProps = ProgressBarOwnProps &
|
|
68
|
-
WithStyleProps<ProgressBarTheme, ProgressBarStyle>
|
|
69
|
+
WithStyleProps<ProgressBarTheme, ProgressBarStyle> &
|
|
70
|
+
OtherHTMLAttributes<ProgressBarOwnProps>
|
|
69
71
|
|
|
70
72
|
type ProgressBarStyle = ComponentStyle<
|
|
71
73
|
'progressBar' | 'trackLayout' | 'trackBorder' | 'track' | 'value'
|
|
@@ -32,7 +32,8 @@ import type {
|
|
|
32
32
|
import type {
|
|
33
33
|
PropValidators,
|
|
34
34
|
AsElementType,
|
|
35
|
-
ProgressCircleTheme
|
|
35
|
+
ProgressCircleTheme,
|
|
36
|
+
OtherHTMLAttributes
|
|
36
37
|
} from '@instructure/shared-types'
|
|
37
38
|
|
|
38
39
|
export type ProgressCircleMeterColor =
|
|
@@ -70,7 +71,8 @@ type PropKeys = keyof ProgressCircleOwnProps
|
|
|
70
71
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
71
72
|
|
|
72
73
|
type ProgressCircleProps = ProgressCircleOwnProps &
|
|
73
|
-
WithStyleProps<ProgressCircleTheme, ProgressCircleStyle>
|
|
74
|
+
WithStyleProps<ProgressCircleTheme, ProgressCircleStyle> &
|
|
75
|
+
OtherHTMLAttributes<ProgressCircleOwnProps>
|
|
74
76
|
|
|
75
77
|
type ProgressCircleStyle = ComponentStyle<
|
|
76
78
|
| 'progressCircle'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { Spacing, WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
3
|
-
import type { PropValidators, AsElementType, ProgressBarTheme } from '@instructure/shared-types';
|
|
3
|
+
import type { PropValidators, AsElementType, ProgressBarTheme, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
4
4
|
export declare type ProgressBarMeterColor = 'info' | 'warning' | 'danger' | 'alert' | 'success' | 'brand';
|
|
5
5
|
declare type ProgressBarOwnProps = {
|
|
6
6
|
screenReaderLabel: string;
|
|
@@ -17,7 +17,7 @@ declare type ProgressBarOwnProps = {
|
|
|
17
17
|
};
|
|
18
18
|
declare type PropKeys = keyof ProgressBarOwnProps;
|
|
19
19
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
20
|
-
declare type ProgressBarProps = ProgressBarOwnProps & WithStyleProps<ProgressBarTheme, ProgressBarStyle>;
|
|
20
|
+
declare type ProgressBarProps = ProgressBarOwnProps & WithStyleProps<ProgressBarTheme, ProgressBarStyle> & OtherHTMLAttributes<ProgressBarOwnProps>;
|
|
21
21
|
declare type ProgressBarStyle = ComponentStyle<'progressBar' | 'trackLayout' | 'trackBorder' | 'track' | 'value'>;
|
|
22
22
|
declare const propTypes: PropValidators<PropKeys>;
|
|
23
23
|
declare const allowedProps: AllowedPropKeys;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/ProgressBar/props.ts"],"names":[],"mappings":";AA2BA,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACf,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,gBAAgB,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/ProgressBar/props.ts"],"names":[],"mappings":";AA2BA,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACf,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAElC,oBAAY,qBAAqB,GAC7B,MAAM,GACN,SAAS,GACT,QAAQ,GACR,OAAO,GACP,SAAS,GACT,OAAO,CAAA;AAEX,aAAK,mBAAmB,GAAG;IACzB,iBAAiB,EAAE,MAAM,CAAA;IACzB,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IAC/C,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,uBAAuB,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;IACjD,WAAW,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,GAAG,KAAK,CAAC,SAAS,CAAA;IACzD,KAAK,CAAC,EAAE,SAAS,GAAG,iBAAiB,CAAA;IACrC,UAAU,CAAC,EACP,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,qBAAqB,CAAC,GAC3C,qBAAqB,CAAA;IACzB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9C,EAAE,CAAC,EAAE,aAAa,CAAA;CACnB,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,mBAAmB,CAAA;AAEzC,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,gBAAgB,GAAG,mBAAmB,GACzC,cAAc,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,GAClD,mBAAmB,CAAC,mBAAmB,CAAC,CAAA;AAE1C,aAAK,gBAAgB,GAAG,cAAc,CACpC,aAAa,GAAG,aAAa,GAAG,aAAa,GAAG,OAAO,GAAG,OAAO,CAClE,CAAA;AAED,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAoDvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAYnB,CAAA;AAED,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAA;AAClD,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { Spacing, WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
3
|
-
import type { PropValidators, AsElementType, ProgressCircleTheme } from '@instructure/shared-types';
|
|
3
|
+
import type { PropValidators, AsElementType, ProgressCircleTheme, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
4
4
|
export declare type ProgressCircleMeterColor = 'info' | 'warning' | 'danger' | 'alert' | 'success' | 'brand';
|
|
5
5
|
declare type ProgressCircleOwnProps = {
|
|
6
6
|
screenReaderLabel: string;
|
|
@@ -22,7 +22,7 @@ export declare type ProgressCircleState = {
|
|
|
22
22
|
};
|
|
23
23
|
declare type PropKeys = keyof ProgressCircleOwnProps;
|
|
24
24
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
25
|
-
declare type ProgressCircleProps = ProgressCircleOwnProps & WithStyleProps<ProgressCircleTheme, ProgressCircleStyle>;
|
|
25
|
+
declare type ProgressCircleProps = ProgressCircleOwnProps & WithStyleProps<ProgressCircleTheme, ProgressCircleStyle> & OtherHTMLAttributes<ProgressCircleOwnProps>;
|
|
26
26
|
declare type ProgressCircleStyle = ComponentStyle<'progressCircle' | 'center' | 'value' | 'circle' | 'track' | 'border' | 'meter' | 'radii' | 'dashOffset'>;
|
|
27
27
|
declare const propTypes: PropValidators<PropKeys>;
|
|
28
28
|
declare const allowedProps: AllowedPropKeys;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/ProgressCircle/props.ts"],"names":[],"mappings":";AA0BA,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACf,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAElC,oBAAY,wBAAwB,GAChC,MAAM,GACN,SAAS,GACT,QAAQ,GACR,OAAO,GACP,SAAS,GACT,OAAO,CAAA;AAEX,aAAK,sBAAsB,GAAG;IAC5B,iBAAiB,EAAE,MAAM,CAAA;IACzB,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IAC/C,QAAQ,CAAC,EAAE,MAAM,CAAA;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