@italia/progress 1.0.0-alpha.7

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -0,0 +1,42 @@
1
+ import { BaseComponent } from '@italia/globals';
2
+ import type { ProgressBarColor, ProgressSpinnerSize, ProgressType } from './types.js';
3
+ export declare class ItProgress extends BaseComponent {
4
+ static styles: import("lit").CSSResultGroup;
5
+ type: ProgressType;
6
+ value: number;
7
+ itAriaLabel: string;
8
+ showValue: boolean;
9
+ label: string;
10
+ indeterminate: boolean;
11
+ color: ProgressBarColor | string;
12
+ private trailColor;
13
+ private strokeWidth;
14
+ private trailWidth;
15
+ private easing;
16
+ private duration;
17
+ private animated;
18
+ active: boolean;
19
+ double: boolean;
20
+ size: ProgressSpinnerSize;
21
+ private _bar;
22
+ private _donutContainer;
23
+ firstUpdated(): void;
24
+ updated(changedProperties: Map<string | number | symbol, unknown>): void;
25
+ disconnectedCallback(): void;
26
+ set(progress: number): void;
27
+ private static _isBarColorVariant;
28
+ private get _barColorClass();
29
+ private get _displayLabel();
30
+ private _setDonutProgress;
31
+ private _initDonutBar;
32
+ private _renderBar;
33
+ private _renderDonut;
34
+ private _renderSpinner;
35
+ render(): import("lit").TemplateResult<1>;
36
+ }
37
+ declare global {
38
+ interface HTMLElementTagNameMap {
39
+ 'it-progress': ItProgress;
40
+ }
41
+ }
42
+ //# sourceMappingURL=it-progress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"it-progress.d.ts","sourceRoot":"","sources":["../../src/it-progress.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAiB,MAAM,iBAAiB,CAAC;AAM/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAItF,qBACa,UAAW,SAAQ,aAAa;IAC3C,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