@fluentui/web-components 3.0.0-alpha.2 → 3.0.0-alpha.3
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.json +145 -4
- package/CHANGELOG.md +144 -98
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/spinner/define.d.ts +1 -0
- package/dist/dts/spinner/index.d.ts +5 -0
- package/dist/dts/spinner/spinner.d.ts +25 -0
- package/dist/dts/spinner/spinner.definition.d.ts +11 -0
- package/dist/dts/spinner/spinner.options.d.ts +32 -0
- package/dist/dts/spinner/spinner.stories.d.ts +8 -0
- package/dist/dts/spinner/spinner.styles.d.ts +1 -0
- package/dist/dts/spinner/spinner.template.d.ts +3 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/spinner/define.js +3 -0
- package/dist/esm/spinner/index.js +5 -0
- package/dist/esm/spinner/spinner.definition.js +18 -0
- package/dist/esm/spinner/spinner.js +15 -0
- package/dist/esm/spinner/spinner.options.js +21 -0
- package/dist/esm/spinner/spinner.stories.js +45 -0
- package/dist/esm/spinner/spinner.styles.js +95 -0
- package/dist/esm/spinner/spinner.template.js +21 -0
- package/dist/fluent-web-components.api.json +315 -0
- package/dist/web-components.d.ts +75 -0
- package/dist/web-components.js +247 -1228
- package/dist/web-components.min.js +65 -76
- package/docs/api-report.md +39 -0
- package/package.json +9 -5
package/docs/api-report.md
CHANGED
|
@@ -10,6 +10,7 @@ import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
|
10
10
|
import { FASTElement } from '@microsoft/fast-element';
|
|
11
11
|
import { FASTElementDefinition } from '@microsoft/fast-element';
|
|
12
12
|
import { FASTProgress } from '@microsoft/fast-foundation';
|
|
13
|
+
import { FASTProgressRing } from '@microsoft/fast-foundation';
|
|
13
14
|
import { StartEnd } from '@microsoft/fast-foundation';
|
|
14
15
|
import { StartEndOptions } from '@microsoft/fast-foundation';
|
|
15
16
|
import { StaticallyComposableHTML } from '@microsoft/fast-foundation';
|
|
@@ -1351,6 +1352,44 @@ export const spacingVerticalXXS: CSSDesignToken<string>;
|
|
|
1351
1352
|
// @public (undocumented)
|
|
1352
1353
|
export const spacingVerticalXXXL: CSSDesignToken<string>;
|
|
1353
1354
|
|
|
1355
|
+
// @public
|
|
1356
|
+
export class Spinner extends FASTProgressRing {
|
|
1357
|
+
appearance: SpinnerAppearance;
|
|
1358
|
+
size: SpinnerSize;
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
// @public
|
|
1362
|
+
export const SpinnerAppearance: {
|
|
1363
|
+
readonly primary: "primary";
|
|
1364
|
+
readonly inverted: "inverted";
|
|
1365
|
+
};
|
|
1366
|
+
|
|
1367
|
+
// @public
|
|
1368
|
+
export type SpinnerAppearance = ValuesOf<typeof SpinnerAppearance>;
|
|
1369
|
+
|
|
1370
|
+
// @public
|
|
1371
|
+
export const SpinnerDefinition: FASTElementDefinition<typeof Spinner>;
|
|
1372
|
+
|
|
1373
|
+
// @public
|
|
1374
|
+
export const SpinnerSize: {
|
|
1375
|
+
readonly tiny: "tiny";
|
|
1376
|
+
readonly extraSmall: "extra-small";
|
|
1377
|
+
readonly small: "small";
|
|
1378
|
+
readonly medium: "medium";
|
|
1379
|
+
readonly large: "large";
|
|
1380
|
+
readonly extraLarge: "extra-large";
|
|
1381
|
+
readonly huge: "huge";
|
|
1382
|
+
};
|
|
1383
|
+
|
|
1384
|
+
// @public
|
|
1385
|
+
export type SpinnerSize = ValuesOf<typeof SpinnerSize>;
|
|
1386
|
+
|
|
1387
|
+
// @public (undocumented)
|
|
1388
|
+
export const SpinnerStyles: ElementStyles;
|
|
1389
|
+
|
|
1390
|
+
// @public (undocumented)
|
|
1391
|
+
export const SpinnerTemplate: ElementViewTemplate<Spinner>;
|
|
1392
|
+
|
|
1354
1393
|
// @public (undocumented)
|
|
1355
1394
|
export const strokeWidthThick: CSSDesignToken<string>;
|
|
1356
1395
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@fluentui/web-components",
|
|
3
3
|
"description": "A library of Fluent Web Components",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "3.0.0-alpha.
|
|
5
|
+
"version": "3.0.0-alpha.3",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Microsoft",
|
|
8
8
|
"url": "https://discord.gg/FcSNfg4"
|
|
@@ -39,6 +39,10 @@
|
|
|
39
39
|
"./progress-bar": {
|
|
40
40
|
"types": "./dist/esm/progress-bar/define.d.ts",
|
|
41
41
|
"default": "./dist/esm/progress-bar/define.js"
|
|
42
|
+
},
|
|
43
|
+
"./spinner": {
|
|
44
|
+
"types": "./dist/esm/spinner/define.d.ts",
|
|
45
|
+
"default": "./dist/esm/spinner/define.js"
|
|
42
46
|
}
|
|
43
47
|
},
|
|
44
48
|
"scripts": {
|
|
@@ -72,7 +76,7 @@
|
|
|
72
76
|
"test-firefox:verbose": "karma start karma.conf.cjs --browsers=FirefoxHeadless --single-run --coverage --reporter=mocha"
|
|
73
77
|
},
|
|
74
78
|
"devDependencies": {
|
|
75
|
-
"@storybook/html": "6.5.
|
|
79
|
+
"@storybook/html": "6.5.15",
|
|
76
80
|
"@types/chai": "4.3.3",
|
|
77
81
|
"@types/chai-spies": "1.0.3",
|
|
78
82
|
"@types/karma": "6.3.3",
|
|
@@ -100,11 +104,11 @@
|
|
|
100
104
|
"typescript": "4.7.4"
|
|
101
105
|
},
|
|
102
106
|
"dependencies": {
|
|
103
|
-
"@microsoft/fast-element": "^2.0.0-beta.
|
|
104
|
-
"@microsoft/fast-foundation": "^3.0.0-alpha.
|
|
107
|
+
"@microsoft/fast-element": "^2.0.0-beta.21",
|
|
108
|
+
"@microsoft/fast-foundation": "^3.0.0-alpha.25",
|
|
105
109
|
"@microsoft/fast-web-utilities": "^6.0.0",
|
|
106
110
|
"@fluentui/tokens": "1.0.0-alpha.2",
|
|
107
|
-
"tslib": "^1.
|
|
111
|
+
"tslib": "^2.1.0"
|
|
108
112
|
},
|
|
109
113
|
"beachball": {
|
|
110
114
|
"disallowedChangeTypes": [
|