@instructure/ui-progress 8.13.0 → 8.13.1-snapshot.10
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/LICENSE.md +27 -0
- package/es/ProgressBar/__examples__/ProgressBar.examples.js +3 -5
- package/es/ProgressBar/index.js +5 -5
- package/es/ProgressBar/props.js +0 -47
- package/es/ProgressBar/styles.js +4 -2
- package/es/ProgressCircle/__examples__/ProgressCircle.examples.js +3 -5
- package/es/ProgressCircle/index.js +6 -5
- package/es/ProgressCircle/props.js +1 -48
- package/es/ProgressCircle/styles.js +4 -2
- package/lib/ProgressBar/__examples__/ProgressBar.examples.js +3 -5
- package/lib/ProgressBar/index.js +5 -5
- package/lib/ProgressBar/props.js +0 -47
- package/lib/ProgressBar/styles.js +4 -2
- package/lib/ProgressCircle/__examples__/ProgressCircle.examples.js +3 -5
- package/lib/ProgressCircle/index.js +6 -5
- package/lib/ProgressCircle/props.js +1 -48
- package/lib/ProgressCircle/styles.js +4 -2
- package/package.json +15 -14
- package/src/ProgressBar/__examples__/ProgressBar.examples.tsx +6 -11
- package/src/ProgressBar/index.tsx +7 -8
- package/src/ProgressBar/props.ts +43 -41
- package/src/ProgressBar/styles.ts +1 -1
- package/src/ProgressCircle/__examples__/ProgressCircle.examples.tsx +6 -11
- package/src/ProgressCircle/index.tsx +13 -22
- package/src/ProgressCircle/props.ts +46 -48
- package/src/ProgressCircle/styles.ts +2 -2
- package/src/ProgressCircle/theme.ts +2 -5
- package/types/ProgressBar/__examples__/ProgressBar.examples.d.ts +4 -7
- package/types/ProgressBar/__examples__/ProgressBar.examples.d.ts.map +1 -1
- package/types/ProgressBar/index.d.ts +10 -15
- package/types/ProgressBar/index.d.ts.map +1 -1
- package/types/ProgressBar/props.d.ts +46 -5
- package/types/ProgressBar/props.d.ts.map +1 -1
- package/types/ProgressCircle/__examples__/ProgressCircle.examples.d.ts +4 -7
- package/types/ProgressCircle/__examples__/ProgressCircle.examples.d.ts.map +1 -1
- package/types/ProgressCircle/index.d.ts +12 -17
- package/types/ProgressCircle/index.d.ts.map +1 -1
- package/types/ProgressCircle/props.d.ts +52 -6
- package/types/ProgressCircle/props.d.ts.map +1 -1
- package/types/ProgressCircle/theme.d.ts.map +1 -1
|
@@ -2,17 +2,58 @@
|
|
|
2
2
|
import type { Spacing, WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
3
3
|
import type { PropValidators, AsElementType, ProgressBarTheme, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
4
4
|
export declare type ProgressBarMeterColor = 'info' | 'warning' | 'danger' | 'alert' | 'success' | 'brand';
|
|
5
|
+
export declare type Values = {
|
|
6
|
+
valueNow: number;
|
|
7
|
+
valueMax: number;
|
|
8
|
+
};
|
|
5
9
|
declare type ProgressBarOwnProps = {
|
|
10
|
+
/**
|
|
11
|
+
* A label is required for accessibility
|
|
12
|
+
*/
|
|
6
13
|
screenReaderLabel: string;
|
|
14
|
+
/**
|
|
15
|
+
* Control the height of the progress bar
|
|
16
|
+
*/
|
|
7
17
|
size?: 'x-small' | 'small' | 'medium' | 'large';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
18
|
+
/**
|
|
19
|
+
* Maximum value (defaults to 100)
|
|
20
|
+
*/
|
|
21
|
+
valueMax?: Values['valueMax'];
|
|
22
|
+
/**
|
|
23
|
+
* Receives the progress of the event
|
|
24
|
+
*/
|
|
25
|
+
valueNow?: Values['valueNow'];
|
|
26
|
+
/**
|
|
27
|
+
* A function for formatting the text provided to screen readers via `aria-valuenow`
|
|
28
|
+
*/
|
|
29
|
+
formatScreenReaderValue?: (values: Values) => string;
|
|
30
|
+
/**
|
|
31
|
+
* A function to format the displayed value. If null the value will not display.
|
|
32
|
+
* Takes `valueNow` and `valueMax` as parameters.
|
|
33
|
+
*/
|
|
34
|
+
renderValue?: ((values: Values) => React.ReactNode) | React.ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* Controls the overall color scheme of the component
|
|
37
|
+
*/
|
|
12
38
|
color?: 'primary' | 'primary-inverse';
|
|
13
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Control the color of the progress meter. Defaults to showing theme success
|
|
41
|
+
* color on completion, based on `valueNow` and `valueMax`.
|
|
42
|
+
*/
|
|
43
|
+
meterColor?: ((values: Values) => ProgressBarMeterColor) | ProgressBarMeterColor;
|
|
44
|
+
/**
|
|
45
|
+
* Valid values are `0`, `none`, `auto`, `xxx-small`, `xx-small`, `x-small`,
|
|
46
|
+
* `small`, `medium`, `large`, `x-large`, `xx-large`. Apply these values via
|
|
47
|
+
* familiar CSS-like shorthand. For example: `margin="small auto large"`.
|
|
48
|
+
*/
|
|
14
49
|
margin?: Spacing;
|
|
50
|
+
/**
|
|
51
|
+
* Provides a reference to the component's root HTML element
|
|
52
|
+
*/
|
|
15
53
|
elementRef?: (element: Element | null) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Set the element type of the component's root
|
|
56
|
+
*/
|
|
16
57
|
as?: AsElementType;
|
|
17
58
|
};
|
|
18
59
|
declare type PropKeys = keyof ProgressBarOwnProps;
|
|
@@ -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,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;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AAO,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9C;;OAEG;IACH,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,CAevC,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,21 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import type { ProgressCircleProps, Values } from '../props';
|
|
2
3
|
declare const _default: {
|
|
3
4
|
sectionProp: string;
|
|
4
5
|
propValues: {
|
|
5
6
|
valueNow: number[];
|
|
6
|
-
renderValue: ((({ valueNow, valueMax }:
|
|
7
|
-
valueNow: any;
|
|
8
|
-
valueMax: any;
|
|
9
|
-
}) => JSX.Element) | null)[];
|
|
7
|
+
renderValue: ((({ valueNow, valueMax }: Values) => JSX.Element) | null)[];
|
|
10
8
|
};
|
|
11
|
-
getComponentProps: (
|
|
9
|
+
getComponentProps: () => {
|
|
12
10
|
screenReaderLabel: string;
|
|
13
11
|
valueMax: number;
|
|
14
12
|
};
|
|
15
|
-
getExampleProps: (props:
|
|
13
|
+
getExampleProps: (props: ProgressCircleProps) => {
|
|
16
14
|
background: string;
|
|
17
15
|
};
|
|
18
|
-
filter: (props: any) => void;
|
|
19
16
|
};
|
|
20
17
|
export default _default;
|
|
21
18
|
//# sourceMappingURL=ProgressCircle.examples.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressCircle.examples.d.ts","sourceRoot":"","sources":["../../../src/ProgressCircle/__examples__/ProgressCircle.examples.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ProgressCircle.examples.d.ts","sourceRoot":"","sources":["../../../src/ProgressCircle/__examples__/ProgressCircle.examples.tsx"],"names":[],"mappings":";AAwBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;;;;;gDAU5B,MAAM;;;;;;6BAWV,mBAAmB;;;;AAjB9C,wBAwBC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { Component } from 'react';
|
|
3
3
|
import { jsx } from '@instructure/emotion';
|
|
4
|
-
import type { ProgressCircleProps, ProgressCircleState } from './props';
|
|
4
|
+
import type { ProgressCircleProps, ProgressCircleState, Values } from './props';
|
|
5
5
|
/**
|
|
6
6
|
---
|
|
7
7
|
category: components
|
|
8
8
|
---
|
|
9
|
+
@tsProps
|
|
9
10
|
**/
|
|
10
11
|
declare class ProgressCircle extends Component<ProgressCircleProps, ProgressCircleState> {
|
|
11
12
|
static readonly componentId = "ProgressCircle";
|
|
@@ -14,10 +15,10 @@ declare class ProgressCircle extends Component<ProgressCircleProps, ProgressCirc
|
|
|
14
15
|
size?: "x-small" | "small" | "medium" | "large" | undefined;
|
|
15
16
|
valueMax?: number | undefined;
|
|
16
17
|
valueNow?: number | undefined;
|
|
17
|
-
formatScreenReaderValue?:
|
|
18
|
-
renderValue?: import("react").ReactNode | ((
|
|
18
|
+
formatScreenReaderValue?: ((values: Values) => string) | undefined;
|
|
19
|
+
renderValue?: import("react").ReactNode | ((values: Values) => import("react").ReactNode);
|
|
19
20
|
color?: "primary" | "primary-inverse" | undefined;
|
|
20
|
-
meterColor?: import("./props").ProgressCircleMeterColor | ((
|
|
21
|
+
meterColor?: import("./props").ProgressCircleMeterColor | ((values: Values) => import("./props").ProgressCircleMeterColor) | undefined;
|
|
21
22
|
margin?: import("@instructure/emotion/types/styleUtils/ThemeablePropValues").Spacing | undefined;
|
|
22
23
|
elementRef?: ((element: Element | null) => void) | undefined;
|
|
23
24
|
as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
|
|
@@ -29,10 +30,10 @@ declare class ProgressCircle extends Component<ProgressCircleProps, ProgressCirc
|
|
|
29
30
|
size?: "x-small" | "small" | "medium" | "large" | undefined;
|
|
30
31
|
valueMax?: number | undefined;
|
|
31
32
|
valueNow?: number | undefined;
|
|
32
|
-
formatScreenReaderValue?:
|
|
33
|
-
renderValue?: import("react").ReactNode | ((
|
|
33
|
+
formatScreenReaderValue?: ((values: Values) => string) | undefined;
|
|
34
|
+
renderValue?: import("react").ReactNode | ((values: Values) => import("react").ReactNode);
|
|
34
35
|
color?: "primary" | "primary-inverse" | undefined;
|
|
35
|
-
meterColor?: import("./props").ProgressCircleMeterColor | ((
|
|
36
|
+
meterColor?: import("./props").ProgressCircleMeterColor | ((values: Values) => import("./props").ProgressCircleMeterColor) | undefined;
|
|
36
37
|
margin?: import("@instructure/emotion/types/styleUtils/ThemeablePropValues").Spacing | undefined;
|
|
37
38
|
elementRef?: ((element: Element | null) => void) | undefined;
|
|
38
39
|
as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
|
|
@@ -40,24 +41,18 @@ declare class ProgressCircle extends Component<ProgressCircleProps, ProgressCirc
|
|
|
40
41
|
animationDelay?: number | undefined;
|
|
41
42
|
}>;
|
|
42
43
|
static defaultProps: {
|
|
43
|
-
formatScreenReaderValue: ({ valueNow, valueMax }:
|
|
44
|
-
valueNow: any;
|
|
45
|
-
valueMax: any;
|
|
46
|
-
}) => string;
|
|
44
|
+
formatScreenReaderValue: ({ valueNow, valueMax }: Values) => string;
|
|
47
45
|
size: string;
|
|
48
46
|
valueMax: number;
|
|
49
47
|
valueNow: number;
|
|
50
48
|
as: string;
|
|
51
49
|
color: string;
|
|
52
50
|
shouldAnimateOnMount: boolean;
|
|
53
|
-
meterColor: ({ valueNow, valueMax }:
|
|
54
|
-
valueNow: any;
|
|
55
|
-
valueMax: any;
|
|
56
|
-
}) => "success" | "brand";
|
|
51
|
+
meterColor: ({ valueNow, valueMax }: Values) => "success" | "brand";
|
|
57
52
|
};
|
|
58
|
-
_timeouts:
|
|
53
|
+
_timeouts: Array<ReturnType<typeof setTimeout>>;
|
|
59
54
|
ref: Element | null;
|
|
60
|
-
constructor(props:
|
|
55
|
+
constructor(props: ProgressCircleProps);
|
|
61
56
|
handleRef: (el: Element | null) => void;
|
|
62
57
|
get makeStylesVariables(): {
|
|
63
58
|
shouldAnimateOnMount: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ProgressCircle/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOjC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAIrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ProgressCircle/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOjC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAIrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAG/E;;;;;GAKG;AACH,cAEM,cAAe,SAAQ,SAAS,CACpC,mBAAmB,EACnB,mBAAmB,CACpB;IACC,MAAM,CAAC,QAAQ,CAAC,WAAW,oBAAmB;IAE9C,MAAM,CAAC,YAAY;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;;;;;;;;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;0DACiC,MAAM;;;;;;;6CAUnB,MAAM;MAE5C;IAED,SAAS,EAAE,KAAK,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAK;IACpD,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;gBAEd,KAAK,EAAE,mBAAmB;IAQtC,SAAS,OAAQ,OAAO,GAAG,IAAI,UAQ9B;IAED,IAAI,mBAAmB;;MAEtB;IAED,iBAAiB;IAcjB,kBAAkB;IAIlB,oBAAoB;IAIpB,MAAM;CA+EP;AAED,eAAe,cAAc,CAAA;AAC7B,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -2,17 +2,58 @@
|
|
|
2
2
|
import type { Spacing, WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
3
3
|
import type { PropValidators, AsElementType, ProgressCircleTheme, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
4
4
|
export declare type ProgressCircleMeterColor = 'info' | 'warning' | 'danger' | 'alert' | 'success' | 'brand';
|
|
5
|
+
export declare type Values = {
|
|
6
|
+
valueNow: number;
|
|
7
|
+
valueMax: number;
|
|
8
|
+
};
|
|
5
9
|
declare type ProgressCircleOwnProps = {
|
|
10
|
+
/**
|
|
11
|
+
* A label is required for accessibility
|
|
12
|
+
*/
|
|
6
13
|
screenReaderLabel: string;
|
|
14
|
+
/**
|
|
15
|
+
* Control the size of the progress circle
|
|
16
|
+
*/
|
|
7
17
|
size?: 'x-small' | 'small' | 'medium' | 'large';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
18
|
+
/**
|
|
19
|
+
* Maximum value (defaults to 100)
|
|
20
|
+
*/
|
|
21
|
+
valueMax?: Values['valueMax'];
|
|
22
|
+
/**
|
|
23
|
+
* Receives the progress of the event
|
|
24
|
+
*/
|
|
25
|
+
valueNow?: Values['valueNow'];
|
|
26
|
+
/**
|
|
27
|
+
* A function for formatting the text provided to screen readers via `aria-valuenow`
|
|
28
|
+
*/
|
|
29
|
+
formatScreenReaderValue?: (values: Values) => string;
|
|
30
|
+
/**
|
|
31
|
+
* A function to format the displayed value. If null the value will not display.
|
|
32
|
+
* Takes `valueNow` and `valueMax` as parameters.
|
|
33
|
+
*/
|
|
34
|
+
renderValue?: ((values: Values) => React.ReactNode) | React.ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* Controls the overall color scheme of the component
|
|
37
|
+
*/
|
|
12
38
|
color?: 'primary' | 'primary-inverse';
|
|
13
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Control the color of the progress meter. Defaults to showing theme success
|
|
41
|
+
* color on completion, based on `valueNow` and `valueMax`.
|
|
42
|
+
*/
|
|
43
|
+
meterColor?: ((values: Values) => ProgressCircleMeterColor) | ProgressCircleMeterColor;
|
|
44
|
+
/**
|
|
45
|
+
* Valid values are `0`, `none`, `auto`, `xxx-small`, `xx-small`, `x-small`,
|
|
46
|
+
* `small`, `medium`, `large`, `x-large`, `xx-large`. Apply these values via
|
|
47
|
+
* familiar CSS-like shorthand. For example: `margin="small auto large"`.
|
|
48
|
+
*/
|
|
14
49
|
margin?: Spacing;
|
|
50
|
+
/**
|
|
51
|
+
* Provides a reference to the component's root HTML element
|
|
52
|
+
*/
|
|
15
53
|
elementRef?: (element: Element | null) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Set the element type of the component's root
|
|
56
|
+
*/
|
|
16
57
|
as?: AsElementType;
|
|
17
58
|
shouldAnimateOnMount?: boolean;
|
|
18
59
|
animationDelay?: number;
|
|
@@ -23,7 +64,12 @@ export declare type ProgressCircleState = {
|
|
|
23
64
|
declare type PropKeys = keyof ProgressCircleOwnProps;
|
|
24
65
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
25
66
|
declare type ProgressCircleProps = ProgressCircleOwnProps & WithStyleProps<ProgressCircleTheme, ProgressCircleStyle> & OtherHTMLAttributes<ProgressCircleOwnProps>;
|
|
26
|
-
declare type ProgressCircleStyle = ComponentStyle<'progressCircle' | 'center' | 'value' | 'circle' | 'track' | 'border' | 'meter' | '
|
|
67
|
+
declare type ProgressCircleStyle = ComponentStyle<'progressCircle' | 'center' | 'value' | 'circle' | 'track' | 'border' | 'meter' | 'dashOffset'> & {
|
|
68
|
+
radii: {
|
|
69
|
+
radius: string;
|
|
70
|
+
borderOffsetRadius: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
27
73
|
declare const propTypes: PropValidators<PropKeys>;
|
|
28
74
|
declare const allowedProps: AllowedPropKeys;
|
|
29
75
|
export type { ProgressCircleProps, ProgressCircleStyle };
|
|
@@ -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,EACnB,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;
|
|
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,EACnB,mBAAmB,EACpB,MAAM,2BAA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AAED,aAAK,QAAQ,GAAG,MAAM,sBAAsB,CAAA;AAE5C,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,mBAAmB,GAAG,sBAAsB,GAC/C,cAAc,CAAC,mBAAmB,EAAE,mBAAmB,CAAC,GACxD,mBAAmB,CAAC,sBAAsB,CAAC,CAAA;AAE7C,aAAK,mBAAmB,GAAG,cAAc,CACrC,gBAAgB,GAChB,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,OAAO,GACP,YAAY,CACf,GAAG;IAAE,KAAK,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,kBAAkB,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAA;AAE7D,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAiBvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAcnB,CAAA;AAED,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,CAAA;AACxD,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/ProgressCircle/theme.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,KAAK,EAAsB,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/ProgressCircle/theme.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,KAAK,EAAsB,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAyC/D;;;;GAIG;AACH,QAAA,MAAM,sBAAsB,UAAW,KAAK,KAAG,mBAqF9C,CAAA;AAED,eAAe,sBAAsB,CAAA"}
|