@fluentui/web-components 3.0.0-beta.26 → 3.0.0-beta.28
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 +22 -2
- package/dist/dts/anchor-button/anchor-button.d.ts +82 -78
- package/dist/dts/anchor-button/anchor-button.options.d.ts +21 -0
- package/dist/dts/button/button.styles.d.ts +4 -0
- package/dist/dts/divider/divider.d.ts +24 -1
- package/dist/dts/index.d.ts +0 -1
- package/dist/dts/progress-bar/index.d.ts +0 -1
- package/dist/dts/progress-bar/progress-bar.d.ts +56 -13
- package/dist/dts/progress-bar/progress-bar.options.d.ts +1 -10
- package/dist/dts/progress-bar/progress-bar.template.d.ts +1 -2
- package/dist/esm/anchor-button/anchor-button.definition.js +0 -3
- package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.js +78 -67
- package/dist/esm/anchor-button/anchor-button.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.options.js +15 -0
- package/dist/esm/anchor-button/anchor-button.options.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.styles.js +6 -258
- package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.template.js +7 -35
- package/dist/esm/anchor-button/anchor-button.template.js.map +1 -1
- package/dist/esm/button/button.styles.js +16 -5
- package/dist/esm/button/button.styles.js.map +1 -1
- package/dist/esm/dialog-body/dialog-body.template.js +1 -1
- package/dist/esm/dialog-body/dialog-body.template.js.map +1 -1
- package/dist/esm/divider/divider.js +38 -13
- package/dist/esm/divider/divider.js.map +1 -1
- package/dist/esm/divider/divider.template.js +1 -9
- package/dist/esm/divider/divider.template.js.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/progress-bar/index.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.js +62 -11
- package/dist/esm/progress-bar/progress-bar.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.styles.js +48 -127
- package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.template.js +8 -26
- package/dist/esm/progress-bar/progress-bar.template.js.map +1 -1
- package/dist/web-components.d.ts +159 -331
- package/dist/web-components.js +446 -371
- package/dist/web-components.min.js +214 -224
- package/package.json +1 -1
- package/dist/dts/progress-bar/base-progress.d.ts +0 -41
- package/dist/esm/progress-bar/base-progress.js +0 -56
- package/dist/esm/progress-bar/base-progress.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
# Change Log - @fluentui/web-components
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 12 Jun 2024 04:06:02 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [3.0.0-beta.28](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.28)
|
|
8
|
+
|
|
9
|
+
Wed, 12 Jun 2024 04:06:02 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.27..@fluentui/web-components_v3.0.0-beta.28)
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
- refactor anchor-button to use ElementInternals, remove disabled and disabledFocusable ([PR #31653](https://github.com/microsoft/fluentui/pull/31653) by 13071055+chrisdholt@users.noreply.github.com)
|
|
15
|
+
- refactor progress bar to use ElementInternals ([PR #31652](https://github.com/microsoft/fluentui/pull/31652) by 13071055+chrisdholt@users.noreply.github.com)
|
|
16
|
+
|
|
17
|
+
## [3.0.0-beta.27](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.27)
|
|
18
|
+
|
|
19
|
+
Tue, 11 Jun 2024 04:06:29 GMT
|
|
20
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.26..@fluentui/web-components_v3.0.0-beta.27)
|
|
21
|
+
|
|
22
|
+
### Changes
|
|
23
|
+
|
|
24
|
+
- feat: update divider to leverage ElementInternals ([PR #31627](https://github.com/microsoft/fluentui/pull/31627) by 13071055+chrisdholt@users.noreply.github.com)
|
|
25
|
+
- fix: show default title action in dialog-body for modal dialogs ([PR #31648](https://github.com/microsoft/fluentui/pull/31648) by 13071055+chrisdholt@users.noreply.github.com)
|
|
26
|
+
|
|
7
27
|
## [3.0.0-beta.26](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.26)
|
|
8
28
|
|
|
9
|
-
Mon, 10 Jun 2024 04:07:
|
|
29
|
+
Mon, 10 Jun 2024 04:07:58 GMT
|
|
10
30
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.25..@fluentui/web-components_v3.0.0-beta.26)
|
|
11
31
|
|
|
12
32
|
### Changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FASTElement } from '@microsoft/fast-element';
|
|
2
|
-
import {
|
|
2
|
+
import { StartEnd } from '../patterns/index.js';
|
|
3
3
|
import type { StartEndOptions } from '../patterns/index.js';
|
|
4
|
-
import type
|
|
4
|
+
import { type AnchorButtonAppearance, type AnchorButtonShape, type AnchorButtonSize, type AnchorTarget } from './anchor-button.options.js';
|
|
5
5
|
/**
|
|
6
6
|
* Anchor configuration options
|
|
7
7
|
* @public
|
|
@@ -21,78 +21,95 @@ export type AnchorOptions = StartEndOptions<AnchorButton>;
|
|
|
21
21
|
*/
|
|
22
22
|
export declare class AnchorButton extends FASTElement {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* @
|
|
27
|
-
* HTML Attribute: download
|
|
24
|
+
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
25
|
+
*
|
|
26
|
+
* @internal
|
|
28
27
|
*/
|
|
29
|
-
|
|
28
|
+
protected elementInternals: ElementInternals;
|
|
30
29
|
/**
|
|
31
|
-
* The
|
|
32
|
-
* @
|
|
33
|
-
* @remarks
|
|
34
|
-
* HTML Attribute: href
|
|
30
|
+
* The proxy anchor element
|
|
31
|
+
* @internal
|
|
35
32
|
*/
|
|
36
|
-
|
|
33
|
+
private internalProxyAnchor;
|
|
37
34
|
/**
|
|
38
|
-
*
|
|
35
|
+
* Prompts the user to save the linked URL.
|
|
36
|
+
*
|
|
37
|
+
* @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#download | `download`} attribute
|
|
38
|
+
*
|
|
39
39
|
* @public
|
|
40
40
|
* @remarks
|
|
41
|
-
* HTML Attribute:
|
|
41
|
+
* HTML Attribute: `download`
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
download?: string;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* The URL the hyperlink references.
|
|
46
|
+
* @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#href | `href`} attribute
|
|
47
|
+
*
|
|
46
48
|
* @public
|
|
47
49
|
* @remarks
|
|
48
|
-
* HTML Attribute:
|
|
50
|
+
* HTML Attribute: `href`
|
|
49
51
|
*/
|
|
50
|
-
|
|
52
|
+
href?: string;
|
|
51
53
|
/**
|
|
52
|
-
*
|
|
54
|
+
* Hints at the language of the referenced resource.
|
|
55
|
+
* @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#hreflang | `hreflang`} attribute
|
|
56
|
+
*
|
|
53
57
|
* @public
|
|
54
58
|
* @remarks
|
|
55
|
-
* HTML Attribute:
|
|
59
|
+
* HTML Attribute: `hreflang`
|
|
56
60
|
*/
|
|
57
|
-
|
|
61
|
+
hreflang?: string;
|
|
58
62
|
/**
|
|
59
|
-
*
|
|
63
|
+
* The ping attribute.
|
|
64
|
+
* @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#ping | `ping`} attribute
|
|
65
|
+
*
|
|
60
66
|
* @public
|
|
61
67
|
* @remarks
|
|
62
|
-
* HTML Attribute:
|
|
68
|
+
* HTML Attribute: `ping`
|
|
63
69
|
*/
|
|
64
|
-
|
|
70
|
+
ping?: string;
|
|
65
71
|
/**
|
|
66
|
-
*
|
|
72
|
+
* The referrerpolicy attribute.
|
|
73
|
+
* See The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#referrerpolicy | `referrerpolicy`} attribute
|
|
74
|
+
*
|
|
67
75
|
* @public
|
|
68
76
|
* @remarks
|
|
69
|
-
* HTML Attribute:
|
|
77
|
+
* HTML Attribute: `referrerpolicy`
|
|
70
78
|
*/
|
|
71
|
-
|
|
79
|
+
referrerpolicy?: string;
|
|
72
80
|
/**
|
|
73
|
-
*
|
|
81
|
+
* The rel attribute.
|
|
82
|
+
* See The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#rel | `rel`} attribute
|
|
83
|
+
*
|
|
74
84
|
* @public
|
|
75
85
|
* @remarks
|
|
76
|
-
* HTML Attribute:
|
|
86
|
+
* HTML Attribute: `rel`
|
|
77
87
|
*/
|
|
78
|
-
|
|
88
|
+
rel: string;
|
|
79
89
|
/**
|
|
90
|
+
* The target attribute.
|
|
91
|
+
* @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#target | `target`} attribute
|
|
80
92
|
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
93
|
+
* @public
|
|
94
|
+
* @remarks
|
|
95
|
+
* HTML Attribute: `target`
|
|
84
96
|
*/
|
|
85
|
-
|
|
97
|
+
target?: AnchorTarget;
|
|
86
98
|
/**
|
|
87
|
-
*
|
|
99
|
+
* The type attribute.
|
|
100
|
+
* @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/a#type | `type`} attribute
|
|
101
|
+
*
|
|
102
|
+
* @public
|
|
103
|
+
* @remarks
|
|
104
|
+
* HTML Attribute: `type`
|
|
88
105
|
*/
|
|
89
|
-
|
|
106
|
+
type?: string;
|
|
90
107
|
/**
|
|
91
108
|
* The appearance the anchor button should have.
|
|
92
109
|
*
|
|
93
110
|
* @public
|
|
94
111
|
* @remarks
|
|
95
|
-
* HTML Attribute: appearance
|
|
112
|
+
* HTML Attribute: `appearance`
|
|
96
113
|
*/
|
|
97
114
|
appearance?: AnchorButtonAppearance | undefined;
|
|
98
115
|
/**
|
|
@@ -100,7 +117,7 @@ export declare class AnchorButton extends FASTElement {
|
|
|
100
117
|
*
|
|
101
118
|
* @public
|
|
102
119
|
* @remarks
|
|
103
|
-
* HTML Attribute: shape
|
|
120
|
+
* HTML Attribute: `shape`
|
|
104
121
|
*/
|
|
105
122
|
shape?: AnchorButtonShape | undefined;
|
|
106
123
|
/**
|
|
@@ -108,7 +125,7 @@ export declare class AnchorButton extends FASTElement {
|
|
|
108
125
|
*
|
|
109
126
|
* @public
|
|
110
127
|
* @remarks
|
|
111
|
-
* HTML Attribute: size
|
|
128
|
+
* HTML Attribute: `size`
|
|
112
129
|
*/
|
|
113
130
|
size?: AnchorButtonSize;
|
|
114
131
|
/**
|
|
@@ -116,55 +133,42 @@ export declare class AnchorButton extends FASTElement {
|
|
|
116
133
|
*
|
|
117
134
|
* @public
|
|
118
135
|
* @remarks
|
|
119
|
-
* HTML Attribute: icon-only
|
|
136
|
+
* HTML Attribute: `icon-only`
|
|
120
137
|
*/
|
|
121
138
|
iconOnly: boolean;
|
|
139
|
+
constructor();
|
|
140
|
+
connectedCallback(): void;
|
|
141
|
+
disconnectedCallback(): void;
|
|
122
142
|
/**
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
* @
|
|
126
|
-
* @
|
|
127
|
-
* HTML Attribute: disabled-focusable
|
|
143
|
+
* Handles changes to observable properties
|
|
144
|
+
* @internal
|
|
145
|
+
* @param source
|
|
146
|
+
* @param propertyName
|
|
128
147
|
*/
|
|
129
|
-
|
|
130
|
-
protected disabledChanged(prev: boolean, next: boolean): void;
|
|
148
|
+
handleChange(source: any, propertyName: string): void;
|
|
131
149
|
/**
|
|
132
|
-
*
|
|
150
|
+
* Handles the anchor click event.
|
|
133
151
|
*
|
|
134
|
-
* @
|
|
135
|
-
* @
|
|
136
|
-
* HTML Attribute: disabled-focusable
|
|
152
|
+
* @param e - The event object
|
|
153
|
+
* @internal
|
|
137
154
|
*/
|
|
138
|
-
|
|
139
|
-
protected disabledFocusableChanged(prev: boolean, next: boolean): void;
|
|
155
|
+
clickHandler(): boolean;
|
|
140
156
|
/**
|
|
141
|
-
*
|
|
157
|
+
* Handles keypress events for the anchor.
|
|
158
|
+
*
|
|
159
|
+
* @param e - the keyboard event
|
|
160
|
+
* @returns - the return value of the click handler
|
|
161
|
+
* @public
|
|
142
162
|
*/
|
|
143
|
-
|
|
144
|
-
connectedCallback(): void;
|
|
145
|
-
disconnectedCallback(): void;
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* Includes ARIA states and properties relating to the ARIA link role
|
|
149
|
-
*
|
|
150
|
-
* @public
|
|
151
|
-
*/
|
|
152
|
-
export declare class DelegatesARIALink {
|
|
163
|
+
keypressHandler(e: KeyboardEvent): boolean | void;
|
|
153
164
|
/**
|
|
154
|
-
*
|
|
155
|
-
* @
|
|
156
|
-
* @
|
|
157
|
-
*
|
|
165
|
+
* A method for updating proxy attributes when attributes have changed
|
|
166
|
+
* @internal
|
|
167
|
+
* @param attribute
|
|
168
|
+
* @param value
|
|
158
169
|
*/
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* Mark internal because exporting class and interface of the same name
|
|
163
|
-
* confuses API documenter.
|
|
164
|
-
* TODO: https://github.com/microsoft/fast/issues/3317
|
|
165
|
-
* @internal
|
|
166
|
-
*/
|
|
167
|
-
export interface DelegatesARIALink extends ARIAGlobalStatesAndProperties {
|
|
170
|
+
private handleProxyAttributeChange;
|
|
171
|
+
private createProxyElement;
|
|
168
172
|
}
|
|
169
173
|
/**
|
|
170
174
|
* Mark internal because exporting class and interface of the same name
|
|
@@ -172,5 +176,5 @@ export interface DelegatesARIALink extends ARIAGlobalStatesAndProperties {
|
|
|
172
176
|
* TODO: https://github.com/microsoft/fast/issues/3317
|
|
173
177
|
* @internal
|
|
174
178
|
*/
|
|
175
|
-
export interface AnchorButton extends StartEnd
|
|
179
|
+
export interface AnchorButton extends StartEnd {
|
|
176
180
|
}
|
|
@@ -62,3 +62,24 @@ export declare const AnchorTarget: {
|
|
|
62
62
|
* @public
|
|
63
63
|
*/
|
|
64
64
|
export type AnchorTarget = ValuesOf<typeof AnchorTarget>;
|
|
65
|
+
/**
|
|
66
|
+
* Reflected anchor attributes.
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare const AnchorAttributes: {
|
|
71
|
+
readonly download: "download";
|
|
72
|
+
readonly href: "href";
|
|
73
|
+
readonly hreflang: "hreflang";
|
|
74
|
+
readonly ping: "ping";
|
|
75
|
+
readonly referrerpolicy: "referrerpolicy";
|
|
76
|
+
readonly rel: "rel";
|
|
77
|
+
readonly target: "target";
|
|
78
|
+
readonly type: "type";
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Type for anchor attributes.
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export type AnchorAttributes = ValuesOf<typeof AnchorAttributes>;
|
|
@@ -7,6 +7,12 @@ import { DividerAlignContent, DividerAppearance, DividerOrientation, DividerRole
|
|
|
7
7
|
* A divider groups sections of content to create visual rhythm and hierarchy. Use dividers along with spacing and headers to organize content in your layout.
|
|
8
8
|
*/
|
|
9
9
|
export declare class Divider extends FASTElement {
|
|
10
|
+
/**
|
|
11
|
+
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
12
|
+
*
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
elementInternals: ElementInternals;
|
|
10
16
|
/**
|
|
11
17
|
* The role of the element.
|
|
12
18
|
*
|
|
@@ -22,7 +28,7 @@ export declare class Divider extends FASTElement {
|
|
|
22
28
|
* @remarks
|
|
23
29
|
* HTML Attribute: orientation
|
|
24
30
|
*/
|
|
25
|
-
orientation
|
|
31
|
+
orientation?: DividerOrientation;
|
|
26
32
|
/**
|
|
27
33
|
* @public
|
|
28
34
|
* @remarks
|
|
@@ -41,4 +47,21 @@ export declare class Divider extends FASTElement {
|
|
|
41
47
|
* Adds padding to the beginning and end of the divider.
|
|
42
48
|
*/
|
|
43
49
|
inset?: boolean;
|
|
50
|
+
connectedCallback(): void;
|
|
51
|
+
/**
|
|
52
|
+
* Sets the element's internal role when the role attribute changes.
|
|
53
|
+
*
|
|
54
|
+
* @param previous - the previous role value
|
|
55
|
+
* @param next - the current role value
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
roleChanged(previous: string | null, next: string | null): void;
|
|
59
|
+
/**
|
|
60
|
+
* Sets the element's internal orientation when the orientation attribute changes.
|
|
61
|
+
*
|
|
62
|
+
* @param previous - the previous orientation value
|
|
63
|
+
* @param next - the current orientation value
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
orientationChanged(previous: string | null, next: string | null): void;
|
|
44
67
|
}
|
package/dist/dts/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ export type { MenuItemColumnCount, MenuItemOptions } from './menu-item/index.js'
|
|
|
26
26
|
export { MenuList, MenuListDefinition, MenuListStyles, MenuListTemplate } from './menu-list/index.js';
|
|
27
27
|
export { Menu, MenuDefinition, MenuStyles, MenuTemplate } from './menu/index.js';
|
|
28
28
|
export { ProgressBar, ProgressBarDefinition, ProgressBarShape, ProgressBarStyles, ProgressBarTemplate, ProgressBarThickness, ProgressBarValidationState, } from './progress-bar/index.js';
|
|
29
|
-
export type { ProgressOptions } from './progress-bar/index.js';
|
|
30
29
|
export { RadioGroup, RadioGroupDefinition, RadioGroupOrientation, RadioGroupStyles, RadioGroupTemplate, } from './radio-group/index.js';
|
|
31
30
|
export { Radio, RadioDefinition, RadioStyles, RadioTemplate } from './radio/index.js';
|
|
32
31
|
export type { RadioControl, RadioOptions } from './radio/index.js';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { definition as ProgressBarDefinition } from './progress-bar.definition.js';
|
|
2
2
|
export { ProgressBar } from './progress-bar.js';
|
|
3
3
|
export { ProgressBarShape, ProgressBarThickness, ProgressBarValidationState } from './progress-bar.options.js';
|
|
4
|
-
export type { ProgressOptions } from './progress-bar.options.js';
|
|
5
4
|
export { styles as ProgressBarStyles } from './progress-bar.styles.js';
|
|
6
5
|
export { template as ProgressBarTemplate } from './progress-bar.template.js';
|
|
@@ -1,37 +1,80 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FASTElement } from '@microsoft/fast-element';
|
|
2
2
|
import { ProgressBarShape, ProgressBarThickness, ProgressBarValidationState } from './progress-bar.options.js';
|
|
3
3
|
/**
|
|
4
4
|
* An Progress HTML Element.
|
|
5
5
|
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#progressbar | ARIA progressbar }.
|
|
6
6
|
*
|
|
7
|
-
* @slot indeterminate - The slot for a custom indeterminate indicator
|
|
8
|
-
* @csspart progress - Represents the progress element
|
|
9
|
-
* @csspart determinate - The determinate indicator
|
|
10
|
-
* @csspart indeterminate - The indeterminate indicator
|
|
11
|
-
*
|
|
12
7
|
* @public
|
|
13
8
|
*/
|
|
14
|
-
export declare class ProgressBar extends
|
|
9
|
+
export declare class ProgressBar extends FASTElement {
|
|
10
|
+
/**
|
|
11
|
+
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
12
|
+
*
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
elementInternals: ElementInternals;
|
|
15
16
|
/**
|
|
16
17
|
* The thickness of the progress bar
|
|
17
18
|
*
|
|
18
19
|
* @public
|
|
19
|
-
*
|
|
20
|
-
* HTML Attribute: thickness
|
|
20
|
+
* HTML Attribute: `thickness`
|
|
21
21
|
*/
|
|
22
22
|
thickness?: ProgressBarThickness;
|
|
23
23
|
/**
|
|
24
24
|
* The shape of the progress bar
|
|
25
25
|
* @public
|
|
26
|
-
*
|
|
27
|
-
* HTML Attribute: shape
|
|
26
|
+
* HTML Attribute: `shape`
|
|
28
27
|
*/
|
|
29
28
|
shape?: ProgressBarShape;
|
|
30
29
|
/**
|
|
31
30
|
* The validation state of the progress bar
|
|
32
31
|
* @public
|
|
33
|
-
*
|
|
34
|
-
* HTML Attribute: validation-state
|
|
32
|
+
* HTML Attribute: `validation-state`
|
|
35
33
|
*/
|
|
36
34
|
validationState: ProgressBarValidationState | null;
|
|
35
|
+
/**
|
|
36
|
+
* The value of the progress
|
|
37
|
+
* @internal
|
|
38
|
+
* HTML Attribute: `value`
|
|
39
|
+
*/
|
|
40
|
+
value?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Updates the percent complete when the `value` property changes.
|
|
43
|
+
*
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
protected valueChanged(prev: number | undefined, next: number | undefined): void;
|
|
47
|
+
/**
|
|
48
|
+
* The minimum value
|
|
49
|
+
* @internal
|
|
50
|
+
* HTML Attribute: `min`
|
|
51
|
+
*/
|
|
52
|
+
min?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Updates the percent complete when the `min` property changes.
|
|
55
|
+
*
|
|
56
|
+
* @param prev - The previous min value
|
|
57
|
+
* @param next - The current min value
|
|
58
|
+
*/
|
|
59
|
+
protected minChanged(prev: number | undefined, next: number | undefined): void;
|
|
60
|
+
/**
|
|
61
|
+
* The maximum value
|
|
62
|
+
* @internal
|
|
63
|
+
* HTML Attribute: `max`
|
|
64
|
+
*/
|
|
65
|
+
max?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Updates the percent complete when the `max` property changes.
|
|
68
|
+
*
|
|
69
|
+
* @param prev - The previous max value
|
|
70
|
+
* @param next - The current max value
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
protected maxChanged(prev: number | undefined, next: number | undefined): void;
|
|
74
|
+
/**
|
|
75
|
+
* Indicates progress in %
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
get percentComplete(): number;
|
|
79
|
+
constructor();
|
|
37
80
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { ProgressBar } from './progress-bar.js';
|
|
1
|
+
import type { ValuesOf } from '../utils/index.js';
|
|
3
2
|
/**
|
|
4
3
|
* ProgressBarThickness Constants
|
|
5
4
|
* @public
|
|
@@ -40,11 +39,3 @@ export declare const ProgressBarValidationState: {
|
|
|
40
39
|
* @public
|
|
41
40
|
*/
|
|
42
41
|
export type ProgressBarValidationState = ValuesOf<typeof ProgressBarValidationState>;
|
|
43
|
-
/**
|
|
44
|
-
* Progress configuration options
|
|
45
|
-
* @public
|
|
46
|
-
*/
|
|
47
|
-
export type ProgressOptions = {
|
|
48
|
-
indeterminateIndicator1?: StaticallyComposableHTML<ProgressBar>;
|
|
49
|
-
indeterminateIndicator2?: StaticallyComposableHTML<ProgressBar>;
|
|
50
|
-
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ProgressOptions } from './progress-bar.options.js';
|
|
3
2
|
import type { ProgressBar } from './progress-bar.js';
|
|
4
|
-
export declare function progressTemplate<T extends ProgressBar>(
|
|
3
|
+
export declare function progressTemplate<T extends ProgressBar>(): ElementViewTemplate<T>;
|
|
5
4
|
export declare const template: ElementViewTemplate<ProgressBar>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anchor-button.definition.js","sourceRoot":"","sources":["../../../src/anchor-button/anchor-button.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD;;;;GAIG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,CAAC,OAAO,CAAC;IAC7C,IAAI,EAAE,GAAG,kBAAkB,CAAC,MAAM,gBAAgB;IAClD,QAAQ;IACR,MAAM;
|
|
1
|
+
{"version":3,"file":"anchor-button.definition.js","sourceRoot":"","sources":["../../../src/anchor-button/anchor-button.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD;;;;GAIG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,CAAC,OAAO,CAAC;IAC7C,IAAI,EAAE,GAAG,kBAAkB,CAAC,MAAM,gBAAgB;IAClD,QAAQ;IACR,MAAM;CACP,CAAC,CAAC"}
|