@fluentui/web-components 3.0.0-beta.16 → 3.0.0-beta.17
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 +12 -2
- package/dist/dts/index.d.ts +1 -1
- package/dist/dts/spinner/index.d.ts +1 -1
- package/dist/dts/spinner/spinner.d.ts +9 -10
- package/dist/dts/spinner/spinner.template.d.ts +2 -4
- package/dist/esm/anchor-button/anchor-button.styles.js +13 -12
- package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -1
- package/dist/esm/button/button.styles.js +12 -12
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/spinner/index.js.map +1 -1
- package/dist/esm/spinner/spinner.js +12 -3
- package/dist/esm/spinner/spinner.js.map +1 -1
- package/dist/esm/spinner/spinner.styles.js +2 -16
- package/dist/esm/spinner/spinner.styles.js.map +1 -1
- package/dist/esm/spinner/spinner.template.js +8 -47
- package/dist/esm/spinner/spinner.template.js.map +1 -1
- package/dist/fluent-web-components.api.json +25 -49
- package/dist/web-components.d.ts +10 -10
- package/dist/web-components.js +17 -28
- package/dist/web-components.min.js +104 -120
- package/docs/api-report.md +6 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
# Change Log - @fluentui/web-components
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 17 May 2024 04:05:58 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [3.0.0-beta.17](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.17)
|
|
8
|
+
|
|
9
|
+
Fri, 17 May 2024 04:05:58 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.16..@fluentui/web-components_v3.0.0-beta.17)
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
- fix(web-components): remove determinate from spinner implementation ([PR #31404](https://github.com/microsoft/fluentui/pull/31404) by 13071055+chrisdholt@users.noreply.github.com)
|
|
15
|
+
- Fix compound disabled selector in fluent-button and fluent-anchor-button ([PR #31302](https://github.com/microsoft/fluentui/pull/31302) by rupertdavid@microsoft.com)
|
|
16
|
+
|
|
7
17
|
## [3.0.0-beta.16](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.16)
|
|
8
18
|
|
|
9
|
-
Thu, 16 May 2024 04:
|
|
19
|
+
Thu, 16 May 2024 04:07:03 GMT
|
|
10
20
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.15..@fluentui/web-components_v3.0.0-beta.16)
|
|
11
21
|
|
|
12
22
|
### Changes
|
package/dist/dts/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export { ProgressBar, ProgressOptions, ProgressBarShape, ProgressBarThickness, P
|
|
|
19
19
|
export { Radio, RadioControl, RadioOptions, RadioDefinition, RadioStyles, RadioTemplate } from './radio/index.js';
|
|
20
20
|
export { RadioGroup, RadioGroupOrientation, RadioGroupDefinition, RadioGroupStyles, RadioGroupTemplate, } from './radio-group/index.js';
|
|
21
21
|
export { Slider, SliderConfiguration, SliderMode, SliderOptions, SliderOrientation, SliderSize, SliderDefinition, SliderStyles, SliderTemplate, } from './slider/index.js';
|
|
22
|
-
export { Spinner, SpinnerAppearance, SpinnerSize,
|
|
22
|
+
export { Spinner, SpinnerAppearance, SpinnerSize, SpinnerTemplate, SpinnerStyles, SpinnerDefinition, } from './spinner/index.js';
|
|
23
23
|
export { Switch, SwitchOptions, SwitchLabelPosition, SwitchDefinition, SwitchStyles, SwitchTemplate, } from './switch/index.js';
|
|
24
24
|
export { Tab, TabOptions, TabTemplate, TabStyles, TabDefinition } from './tab/index.js';
|
|
25
25
|
export { TabPanel, TabPanelTemplate, TabPanelStyles, TabPanelDefinition } from './tab-panel/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Spinner
|
|
1
|
+
export { Spinner } from './spinner.js';
|
|
2
2
|
export { SpinnerAppearance, SpinnerSize } from './spinner.options.js';
|
|
3
3
|
export { template as SpinnerTemplate } from './spinner.template.js';
|
|
4
4
|
export { styles as SpinnerStyles } from './spinner.styles.js';
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { StaticallyComposableHTML } from '../utils/template-helpers.js';
|
|
1
|
+
import { FASTElement } from '@microsoft/fast-element';
|
|
3
2
|
import type { SpinnerAppearance, SpinnerSize } from './spinner.options.js';
|
|
4
|
-
/**
|
|
5
|
-
* Progress configuration options
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export declare type SpinnerOptions = {
|
|
9
|
-
indeterminateIndicator?: StaticallyComposableHTML<Spinner>;
|
|
10
|
-
};
|
|
11
3
|
/**
|
|
12
4
|
* The base class used for constructing a fluent-spinner custom element
|
|
13
5
|
* @public
|
|
14
6
|
*/
|
|
15
|
-
export declare class Spinner extends
|
|
7
|
+
export declare class Spinner extends FASTElement {
|
|
8
|
+
/**
|
|
9
|
+
* The internal {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
10
|
+
*
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
protected elementInternals: ElementInternals;
|
|
16
14
|
/**
|
|
17
15
|
* The size of the spinner
|
|
18
16
|
*
|
|
@@ -30,4 +28,5 @@ export declare class Spinner extends BaseProgress {
|
|
|
30
28
|
* HTML Attribute: appearance
|
|
31
29
|
*/
|
|
32
30
|
appearance?: SpinnerAppearance;
|
|
31
|
+
constructor();
|
|
33
32
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export declare function progressRingTemplate<T extends Spinner>(options?: SpinnerOptions): ElementViewTemplate<T>;
|
|
4
|
-
export declare const template: ElementViewTemplate<Spinner>;
|
|
1
|
+
import { Spinner } from './spinner.js';
|
|
2
|
+
export declare const template: import("@microsoft/fast-element").ViewTemplate<Spinner, any>;
|
|
@@ -160,9 +160,9 @@ export const styles = css `
|
|
|
160
160
|
box-shadow: ${shadow2}, 0 0 0 2px ${colorStrokeFocus2};
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
:host(is
|
|
164
|
-
:host(is
|
|
165
|
-
:host(is
|
|
163
|
+
:host(:is([disabled][appearance='primary'], [disabled-focusabale][appearance='primary'])) .control,
|
|
164
|
+
:host(:is([disabled][appearance='primary'], [disabled-focusabale][appearance='primary']):hover) .control,
|
|
165
|
+
:host(:is([disabled][appearance='primary'], [disabled-focusabale][appearance='primary']):hover:active) .control {
|
|
166
166
|
border-color: transparent;
|
|
167
167
|
}
|
|
168
168
|
|
|
@@ -178,9 +178,9 @@ export const styles = css `
|
|
|
178
178
|
background-color: ${colorTransparentBackgroundPressed};
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
:host(is
|
|
182
|
-
:host(is
|
|
183
|
-
:host(is
|
|
181
|
+
:host(:is([disabled][appearance='outline'], [disabled-focusabale][appearance='outline'])) .control,
|
|
182
|
+
:host(:is([disabled][appearance='outline'], [disabled-focusabale][appearance='outline']):hover) .control,
|
|
183
|
+
:host(:is([disabled][appearance='outline'], [disabled-focusabale][appearance='outline']):hover:active) .control {
|
|
184
184
|
background-color: ${colorTransparentBackground};
|
|
185
185
|
}
|
|
186
186
|
|
|
@@ -202,9 +202,9 @@ export const styles = css `
|
|
|
202
202
|
border-color: transparent;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
:host(is
|
|
206
|
-
:host(is
|
|
207
|
-
:host(is
|
|
205
|
+
:host(:is([disabled][appearance='subtle'], [disabled-focusabale][appearance='subtle'])) .control,
|
|
206
|
+
:host(:is([disabled][appearance='subtle'], [disabled-focusabale][appearance='subtle']):hover) .control,
|
|
207
|
+
:host(:is([disabled][appearance='subtle'], [disabled-focusabale][appearance='subtle']):hover:active) .control {
|
|
208
208
|
background-color: ${colorTransparentBackground};
|
|
209
209
|
border-color: transparent;
|
|
210
210
|
}
|
|
@@ -238,9 +238,10 @@ export const styles = css `
|
|
|
238
238
|
border-color: transparent;
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
:host(is
|
|
242
|
-
:host(is
|
|
243
|
-
:host(is
|
|
241
|
+
:host(:is([disabled][appearance='transparent'], [disabled-focusabale][appearance='transparent'])) .control,
|
|
242
|
+
:host(:is([disabled][appearance='transparent'], [disabled-focusabale][appearance='transparent']):hover) .control,
|
|
243
|
+
:host(:is([disabled][appearance='transparent'], [disabled-focusabale][appearance='transparent']):hover:active)
|
|
244
|
+
.control {
|
|
244
245
|
border-color: transparent;
|
|
245
246
|
background-color: ${colorTransparentBackground};
|
|
246
247
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anchor-button.styles.js","sourceRoot":"","sources":["../../../src/anchor-button/anchor-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,yBAAyB,EACzB,2BAA2B,EAC3B,uBAAuB,EACvB,4BAA4B,EAC5B,8BAA8B,EAC9B,8BAA8B,EAC9B,uBAAuB,EACvB,4BAA4B,EAC5B,8BAA8B,EAC9B,uBAAuB,EACvB,iCAAiC,EACjC,mCAAmC,EACnC,4BAA4B,EAC5B,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC7B,mBAAmB,EACnB,wBAAwB,EACxB,0BAA0B,EAC1B,0BAA0B,EAC1B,iBAAiB,EACjB,qBAAqB,EACrB,0BAA0B,EAC1B,4BAA4B,EAC5B,0BAA0B,EAC1B,+BAA+B,EAC/B,iCAAiC,EACjC,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,cAAc,EACd,eA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Ae,iBAAiB;;;;;;;;;;wBAUjC,0BAA0B;;;;wBAI1B,+BAA+B;;;;wBAI/B,iCAAiC;;;;;;wBAMjC,0BAA0B;;;;wBAI1B,qBAAqB;aAChC,uBAAuB;;;;;wBAKZ,0BAA0B;aACrC,4BAA4B;;;;;wBAKjB,4BAA4B;aACvC,8BAA8B;;;;;;;wBAOnB,0BAA0B;;;;;YAKtC,iCAAiC;;;;YAIjC,mCAAmC;;;;wBAIvB,0BAA0B;aACrC,uBAAuB;;;;wBAIZ,+BAA+B;aAC1C,iCAAiC;;;;wBAItB,iCAAiC;aAC5C,mCAAmC
|
|
1
|
+
{"version":3,"file":"anchor-button.styles.js","sourceRoot":"","sources":["../../../src/anchor-button/anchor-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,yBAAyB,EACzB,2BAA2B,EAC3B,uBAAuB,EACvB,4BAA4B,EAC5B,8BAA8B,EAC9B,8BAA8B,EAC9B,uBAAuB,EACvB,4BAA4B,EAC5B,8BAA8B,EAC9B,uBAAuB,EACvB,iCAAiC,EACjC,mCAAmC,EACnC,4BAA4B,EAC5B,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC7B,mBAAmB,EACnB,wBAAwB,EACxB,0BAA0B,EAC1B,0BAA0B,EAC1B,iBAAiB,EACjB,qBAAqB,EACrB,0BAA0B,EAC1B,4BAA4B,EAC5B,0BAA0B,EAC1B,+BAA+B,EAC/B,iCAAiC,EACjC,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,OAAO,EACP,OAAO,EACP,kBAAkB,EAClB,kBAA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wBAKZ,0BAA0B;aACrC,4BAA4B;;;;;wBAKjB,4BAA4B;aACvC,8BAA8B;;;;;;;wBAOnB,0BAA0B;;;;;YAKtC,iCAAiC;;;;YAIjC,mCAAmC;;;;wBAIvB,0BAA0B;aACrC,uBAAuB;;;;wBAIZ,+BAA+B;aAC1C,iCAAiC;;;;wBAItB,iCAAiC;aAC5C,mCAAmC;;;;;;;;;;;;;;wBAcxB,0BAA0B;;;;;;;wBAO1B,8BAA8B;oBAClC,0BAA0B;aACjC,8BAA8B;;;CAG1C,CAAC,aAAa,CACb,8BAA8B,CAAC,GAAG,CAAA;;;;GAIjC,CAAC,CACH,CAAC"}
|
|
@@ -157,9 +157,9 @@ export const styles = css `
|
|
|
157
157
|
box-shadow: ${shadow2}, 0 0 0 2px ${colorStrokeFocus2};
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
:host(is
|
|
161
|
-
:host(is
|
|
162
|
-
:host(is
|
|
160
|
+
:host(:is([disabled][appearance='primary'], [disabled-focusabale][appearance='primary'])),
|
|
161
|
+
:host(:is([disabled][appearance='primary'], [disabled-focusabale][appearance='primary']):hover),
|
|
162
|
+
:host(:is([disabled][appearance='primary'], [disabled-focusabale][appearance='primary']):hover:active) {
|
|
163
163
|
border-color: transparent;
|
|
164
164
|
}
|
|
165
165
|
|
|
@@ -175,9 +175,9 @@ export const styles = css `
|
|
|
175
175
|
background-color: ${colorTransparentBackgroundPressed};
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
:host(is
|
|
179
|
-
:host(is
|
|
180
|
-
:host(is
|
|
178
|
+
:host(:is([disabled][appearance='outline'], [disabled-focusabale][appearance='outline'])),
|
|
179
|
+
:host(:is([disabled][appearance='outline'], [disabled-focusabale][appearance='outline']):hover),
|
|
180
|
+
:host(:is([disabled][appearance='outline'], [disabled-focusabale][appearance='outline']):hover:active) {
|
|
181
181
|
background-color: ${colorTransparentBackground};
|
|
182
182
|
}
|
|
183
183
|
|
|
@@ -199,9 +199,9 @@ export const styles = css `
|
|
|
199
199
|
border-color: transparent;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
:host(is
|
|
203
|
-
:host(is
|
|
204
|
-
:host(is
|
|
202
|
+
:host(:is([disabled][appearance='subtle'], [disabled-focusabale][appearance='subtle'])),
|
|
203
|
+
:host(:is([disabled][appearance='subtle'], [disabled-focusabale][appearance='subtle']):hover),
|
|
204
|
+
:host(:is([disabled][appearance='subtle'], [disabled-focusabale][appearance='subtle']):hover:active) {
|
|
205
205
|
background-color: ${colorTransparentBackground};
|
|
206
206
|
border-color: transparent;
|
|
207
207
|
}
|
|
@@ -235,9 +235,9 @@ export const styles = css `
|
|
|
235
235
|
border-color: transparent;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
:host(is
|
|
239
|
-
:host(is
|
|
240
|
-
:host(is
|
|
238
|
+
:host(:is([disabled][appearance='transparent'], [disabled-focusabale][appearance='transparent'])),
|
|
239
|
+
:host(:is([disabled][appearance='transparent'], [disabled-focusabale][appearance='transparent']):hover),
|
|
240
|
+
:host(:is([disabled][appearance='transparent'], [disabled-focusabale][appearance='transparent']):hover:active) {
|
|
241
241
|
border-color: transparent;
|
|
242
242
|
background-color: ${colorTransparentBackground};
|
|
243
243
|
}
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,aAAa,EAEb,iBAAiB,EACjB,+BAA+B,EAC/B,qBAAqB,EACrB,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,YAAY,EAEZ,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,EACZ,oBAAoB,EACpB,sBAAsB,GACvB,MAAM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AM,oBAAoB,CAAC;AAC7C,OAAO,EACL,8BAA8B,EAC9B,kBAAkB,EAClB,4BAA4B,EAE5B,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEzD,cAAc,0BAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/spinner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/spinner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -4,13 +4,22 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { attr } from '@microsoft/fast-element';
|
|
8
|
-
import { BaseProgress } from '../progress-bar/base-progress.js';
|
|
7
|
+
import { attr, FASTElement } from '@microsoft/fast-element';
|
|
9
8
|
/**
|
|
10
9
|
* The base class used for constructing a fluent-spinner custom element
|
|
11
10
|
* @public
|
|
12
11
|
*/
|
|
13
|
-
export class Spinner extends
|
|
12
|
+
export class Spinner extends FASTElement {
|
|
13
|
+
constructor() {
|
|
14
|
+
super();
|
|
15
|
+
/**
|
|
16
|
+
* The internal {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
17
|
+
*
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
this.elementInternals = this.attachInternals();
|
|
21
|
+
this.elementInternals.role = 'progressbar';
|
|
22
|
+
}
|
|
14
23
|
}
|
|
15
24
|
__decorate([
|
|
16
25
|
attr
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spinner.js","sourceRoot":"","sources":["../../../src/spinner/spinner.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"spinner.js","sourceRoot":"","sources":["../../../src/spinner/spinner.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG5D;;;GAGG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IA6BtC;QACE,KAAK,EAAE,CAAC;QA7BV;;;;WAIG;QACO,qBAAgB,GAAqB,IAAI,CAAC,eAAe,EAAE,CAAC;QAyBpE,IAAI,CAAC,gBAAgB,CAAC,IAAI,GAAG,aAAa,CAAC;IAC7C,CAAC;CACF;AAhBC;IADC,IAAI;qCACqB;AAU1B;IADC,IAAI;2CACiC"}
|
|
@@ -50,21 +50,7 @@ export const styles = css `
|
|
|
50
50
|
stroke: rgba(255, 255, 255, 0.2);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.
|
|
54
|
-
stroke: ${colorBrandStroke1};
|
|
55
|
-
fill: none;
|
|
56
|
-
stroke-width: 1.5px;
|
|
57
|
-
stroke-linecap: round;
|
|
58
|
-
transform-origin: 50% 50%;
|
|
59
|
-
transform: rotate(-90deg);
|
|
60
|
-
transition: all 0.2s ease-in-out;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
:host([appearance='inverted']) .determinite {
|
|
64
|
-
stroke: ${colorNeutralStrokeOnBrand2};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.indeterminate-indicator-1 {
|
|
53
|
+
.indicator {
|
|
68
54
|
stroke: ${colorBrandStroke1};
|
|
69
55
|
fill: none;
|
|
70
56
|
stroke-width: 1.5px;
|
|
@@ -75,7 +61,7 @@ export const styles = css `
|
|
|
75
61
|
animation: spin-infinite 3s cubic-bezier(0.53, 0.21, 0.29, 0.67) infinite;
|
|
76
62
|
}
|
|
77
63
|
|
|
78
|
-
:host([appearance='inverted']) .
|
|
64
|
+
:host([appearance='inverted']) .indicator {
|
|
79
65
|
stroke: ${colorNeutralStrokeOnBrand2};
|
|
80
66
|
}
|
|
81
67
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spinner.styles.js","sourceRoot":"","sources":["../../../src/spinner/spinner.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE7G,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;IACrB,OAAO,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwCL,iBAAiB;;;;;;;;;cASjB,iBAAiB
|
|
1
|
+
{"version":3,"file":"spinner.styles.js","sourceRoot":"","sources":["../../../src/spinner/spinner.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE7G,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;IACrB,OAAO,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwCL,iBAAiB;;;;;;;;;cASjB,iBAAiB;;;;;;;;;;;cAWjB,0BAA0B;;;;;;;;;;;;;;;;;CAiBvC,CAAC"}
|
|
@@ -1,48 +1,9 @@
|
|
|
1
|
-
import { html
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
aria-valuemin="${x => x.min}"
|
|
10
|
-
aria-valuemax="${x => x.max}"
|
|
11
|
-
>
|
|
12
|
-
${when(x => typeof x.value === 'number', html `
|
|
13
|
-
<svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate">
|
|
14
|
-
<circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle>
|
|
15
|
-
<circle
|
|
16
|
-
class="determinate"
|
|
17
|
-
part="determinate"
|
|
18
|
-
style="stroke-dasharray: ${x => (progressSegments * x.percentComplete) / 100}px ${progressSegments}px"
|
|
19
|
-
cx="8px"
|
|
20
|
-
cy="8px"
|
|
21
|
-
r="7px"
|
|
22
|
-
></circle>
|
|
23
|
-
</svg>
|
|
24
|
-
`, html ` <slot name="indeterminate"> ${staticallyCompose(options.indeterminateIndicator)} </slot> `)}
|
|
25
|
-
</template>
|
|
26
|
-
`;
|
|
27
|
-
}
|
|
28
|
-
export const template = progressRingTemplate({
|
|
29
|
-
indeterminateIndicator: `
|
|
30
|
-
<svg class="progress" part="progress" viewBox="0 0 16 16">
|
|
31
|
-
<circle
|
|
32
|
-
class="background"
|
|
33
|
-
part="background"
|
|
34
|
-
cx="8px"
|
|
35
|
-
cy="8px"
|
|
36
|
-
r="7px"
|
|
37
|
-
></circle>
|
|
38
|
-
<circle
|
|
39
|
-
class="indeterminate-indicator-1"
|
|
40
|
-
part="indeterminate-indicator-1"
|
|
41
|
-
cx="8px"
|
|
42
|
-
cy="8px"
|
|
43
|
-
r="7px"
|
|
44
|
-
></circle>
|
|
45
|
-
</svg>
|
|
46
|
-
`,
|
|
47
|
-
});
|
|
1
|
+
import { html } from '@microsoft/fast-element';
|
|
2
|
+
export const template = html `
|
|
3
|
+
<slot name="indicator"
|
|
4
|
+
><svg class="progress" part="progress" viewBox="0 0 16 16">
|
|
5
|
+
<circle class="background" cx="8px" cy="8px" r="7px"></circle>
|
|
6
|
+
<circle class="indicator" cx="8px" cy="8px" r="7px"></circle></svg
|
|
7
|
+
></slot>
|
|
8
|
+
`;
|
|
48
9
|
//# sourceMappingURL=spinner.template.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spinner.template.js","sourceRoot":"","sources":["../../../src/spinner/spinner.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"spinner.template.js","sourceRoot":"","sources":["../../../src/spinner/spinner.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAG/C,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,CAAS;;;;;;CAMpC,CAAC"}
|
|
@@ -25286,8 +25286,8 @@
|
|
|
25286
25286
|
},
|
|
25287
25287
|
{
|
|
25288
25288
|
"kind": "Reference",
|
|
25289
|
-
"text": "
|
|
25290
|
-
"canonicalReference": "@
|
|
25289
|
+
"text": "FASTElement",
|
|
25290
|
+
"canonicalReference": "@microsoft/fast-element!FASTElement:interface"
|
|
25291
25291
|
},
|
|
25292
25292
|
{
|
|
25293
25293
|
"kind": "Content",
|
|
@@ -25298,6 +25298,21 @@
|
|
|
25298
25298
|
"name": "Spinner",
|
|
25299
25299
|
"preserveMemberOrder": false,
|
|
25300
25300
|
"members": [
|
|
25301
|
+
{
|
|
25302
|
+
"kind": "Constructor",
|
|
25303
|
+
"canonicalReference": "@fluentui/web-components!Spinner:constructor(1)",
|
|
25304
|
+
"docComment": "/**\n * Constructs a new instance of the `Spinner` class\n */\n",
|
|
25305
|
+
"excerptTokens": [
|
|
25306
|
+
{
|
|
25307
|
+
"kind": "Content",
|
|
25308
|
+
"text": "constructor();"
|
|
25309
|
+
}
|
|
25310
|
+
],
|
|
25311
|
+
"releaseTag": "Public",
|
|
25312
|
+
"isProtected": false,
|
|
25313
|
+
"overloadIndex": 1,
|
|
25314
|
+
"parameters": []
|
|
25315
|
+
},
|
|
25301
25316
|
{
|
|
25302
25317
|
"kind": "Property",
|
|
25303
25318
|
"canonicalReference": "@fluentui/web-components!Spinner#appearance:member",
|
|
@@ -25466,49 +25481,6 @@
|
|
|
25466
25481
|
"endIndex": 6
|
|
25467
25482
|
}
|
|
25468
25483
|
},
|
|
25469
|
-
{
|
|
25470
|
-
"kind": "TypeAlias",
|
|
25471
|
-
"canonicalReference": "@fluentui/web-components!SpinnerOptions:type",
|
|
25472
|
-
"docComment": "/**\n * Progress configuration options\n *\n * @public\n */\n",
|
|
25473
|
-
"excerptTokens": [
|
|
25474
|
-
{
|
|
25475
|
-
"kind": "Content",
|
|
25476
|
-
"text": "export declare type SpinnerOptions = "
|
|
25477
|
-
},
|
|
25478
|
-
{
|
|
25479
|
-
"kind": "Content",
|
|
25480
|
-
"text": "{\n indeterminateIndicator?: "
|
|
25481
|
-
},
|
|
25482
|
-
{
|
|
25483
|
-
"kind": "Reference",
|
|
25484
|
-
"text": "StaticallyComposableHTML",
|
|
25485
|
-
"canonicalReference": "@fluentui/web-components!~StaticallyComposableHTML:type"
|
|
25486
|
-
},
|
|
25487
|
-
{
|
|
25488
|
-
"kind": "Content",
|
|
25489
|
-
"text": "<"
|
|
25490
|
-
},
|
|
25491
|
-
{
|
|
25492
|
-
"kind": "Reference",
|
|
25493
|
-
"text": "Spinner",
|
|
25494
|
-
"canonicalReference": "@fluentui/web-components!Spinner:class"
|
|
25495
|
-
},
|
|
25496
|
-
{
|
|
25497
|
-
"kind": "Content",
|
|
25498
|
-
"text": ">;\n}"
|
|
25499
|
-
},
|
|
25500
|
-
{
|
|
25501
|
-
"kind": "Content",
|
|
25502
|
-
"text": ";"
|
|
25503
|
-
}
|
|
25504
|
-
],
|
|
25505
|
-
"releaseTag": "Public",
|
|
25506
|
-
"name": "SpinnerOptions",
|
|
25507
|
-
"typeTokenRange": {
|
|
25508
|
-
"startIndex": 1,
|
|
25509
|
-
"endIndex": 6
|
|
25510
|
-
}
|
|
25511
|
-
},
|
|
25512
25484
|
{
|
|
25513
25485
|
"kind": "TypeAlias",
|
|
25514
25486
|
"canonicalReference": "@fluentui/web-components!SpinnerSize:type",
|
|
@@ -25606,10 +25578,14 @@
|
|
|
25606
25578
|
"kind": "Content",
|
|
25607
25579
|
"text": "template: "
|
|
25608
25580
|
},
|
|
25581
|
+
{
|
|
25582
|
+
"kind": "Content",
|
|
25583
|
+
"text": "import(\"@microsoft/fast-element\")."
|
|
25584
|
+
},
|
|
25609
25585
|
{
|
|
25610
25586
|
"kind": "Reference",
|
|
25611
|
-
"text": "
|
|
25612
|
-
"canonicalReference": "@microsoft/fast-element!
|
|
25587
|
+
"text": "ViewTemplate",
|
|
25588
|
+
"canonicalReference": "@microsoft/fast-element!ViewTemplate:class"
|
|
25613
25589
|
},
|
|
25614
25590
|
{
|
|
25615
25591
|
"kind": "Content",
|
|
@@ -25622,7 +25598,7 @@
|
|
|
25622
25598
|
},
|
|
25623
25599
|
{
|
|
25624
25600
|
"kind": "Content",
|
|
25625
|
-
"text": ">"
|
|
25601
|
+
"text": ", any>"
|
|
25626
25602
|
}
|
|
25627
25603
|
],
|
|
25628
25604
|
"isReadonly": true,
|
|
@@ -25630,7 +25606,7 @@
|
|
|
25630
25606
|
"name": "SpinnerTemplate",
|
|
25631
25607
|
"variableTypeTokenRange": {
|
|
25632
25608
|
"startIndex": 1,
|
|
25633
|
-
"endIndex":
|
|
25609
|
+
"endIndex": 6
|
|
25634
25610
|
}
|
|
25635
25611
|
},
|
|
25636
25612
|
{
|
package/dist/web-components.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { HTMLDirective } from '@microsoft/fast-element';
|
|
|
11
11
|
import { Orientation } from '@microsoft/fast-web-utilities';
|
|
12
12
|
import type { SyntheticViewTemplate } from '@microsoft/fast-element';
|
|
13
13
|
import type { Theme } from '@fluentui/tokens';
|
|
14
|
+
import { ViewTemplate } from '@microsoft/fast-element';
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* An Accordion Custom HTML Element
|
|
@@ -4912,7 +4913,13 @@ export declare const spacingVerticalXXXL = "var(--spacingVerticalXXXL)";
|
|
|
4912
4913
|
* The base class used for constructing a fluent-spinner custom element
|
|
4913
4914
|
* @public
|
|
4914
4915
|
*/
|
|
4915
|
-
export declare class Spinner extends
|
|
4916
|
+
export declare class Spinner extends FASTElement {
|
|
4917
|
+
/**
|
|
4918
|
+
* The internal {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
4919
|
+
*
|
|
4920
|
+
* @internal
|
|
4921
|
+
*/
|
|
4922
|
+
protected elementInternals: ElementInternals;
|
|
4916
4923
|
/**
|
|
4917
4924
|
* The size of the spinner
|
|
4918
4925
|
*
|
|
@@ -4930,6 +4937,7 @@ export declare class Spinner extends BaseProgress {
|
|
|
4930
4937
|
* HTML Attribute: appearance
|
|
4931
4938
|
*/
|
|
4932
4939
|
appearance?: SpinnerAppearance;
|
|
4940
|
+
constructor();
|
|
4933
4941
|
}
|
|
4934
4942
|
|
|
4935
4943
|
/**
|
|
@@ -4954,14 +4962,6 @@ export declare type SpinnerAppearance = ValuesOf<typeof SpinnerAppearance>;
|
|
|
4954
4962
|
*/
|
|
4955
4963
|
export declare const SpinnerDefinition: FASTElementDefinition<typeof Spinner>;
|
|
4956
4964
|
|
|
4957
|
-
/**
|
|
4958
|
-
* Progress configuration options
|
|
4959
|
-
* @public
|
|
4960
|
-
*/
|
|
4961
|
-
export declare type SpinnerOptions = {
|
|
4962
|
-
indeterminateIndicator?: StaticallyComposableHTML<Spinner>;
|
|
4963
|
-
};
|
|
4964
|
-
|
|
4965
4965
|
/**
|
|
4966
4966
|
* SpinnerSize constants
|
|
4967
4967
|
* @public
|
|
@@ -4984,7 +4984,7 @@ export declare type SpinnerSize = ValuesOf<typeof SpinnerSize>;
|
|
|
4984
4984
|
|
|
4985
4985
|
export declare const SpinnerStyles: ElementStyles;
|
|
4986
4986
|
|
|
4987
|
-
export declare const SpinnerTemplate:
|
|
4987
|
+
export declare const SpinnerTemplate: ViewTemplate<Spinner, any>;
|
|
4988
4988
|
|
|
4989
4989
|
/**
|
|
4990
4990
|
* A mixin class implementing start and end slots.
|