@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/dist/web-components.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
|
4
4
|
import { FASTElement } from '@microsoft/fast-element';
|
|
5
5
|
import { FASTElementDefinition } from '@microsoft/fast-element';
|
|
6
6
|
import { FASTProgress } from '@microsoft/fast-foundation';
|
|
7
|
+
import { FASTProgressRing } from '@microsoft/fast-foundation';
|
|
7
8
|
import { StartEnd } from '@microsoft/fast-foundation';
|
|
8
9
|
import { StartEndOptions } from '@microsoft/fast-foundation';
|
|
9
10
|
import { StaticallyComposableHTML } from '@microsoft/fast-foundation';
|
|
@@ -1191,6 +1192,80 @@ export declare const spacingVerticalXXS: CSSDesignToken<string>;
|
|
|
1191
1192
|
|
|
1192
1193
|
export declare const spacingVerticalXXXL: CSSDesignToken<string>;
|
|
1193
1194
|
|
|
1195
|
+
/**
|
|
1196
|
+
* The base class used for constructing a fluent-spinner custom element
|
|
1197
|
+
* @public
|
|
1198
|
+
*/
|
|
1199
|
+
export declare class Spinner extends FASTProgressRing {
|
|
1200
|
+
/**
|
|
1201
|
+
* The size of the spinner
|
|
1202
|
+
*
|
|
1203
|
+
* @public
|
|
1204
|
+
* @default 'medium'
|
|
1205
|
+
* @remarks
|
|
1206
|
+
* HTML Attribute: size
|
|
1207
|
+
*/
|
|
1208
|
+
size: SpinnerSize;
|
|
1209
|
+
/**
|
|
1210
|
+
* The appearance of the spinner
|
|
1211
|
+
* @public
|
|
1212
|
+
* @default 'primary'
|
|
1213
|
+
* @remarks
|
|
1214
|
+
* HTML Attribute: appearance
|
|
1215
|
+
*/
|
|
1216
|
+
appearance: SpinnerAppearance;
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* SpinnerAppearance constants
|
|
1221
|
+
* @public
|
|
1222
|
+
*/
|
|
1223
|
+
export declare const SpinnerAppearance: {
|
|
1224
|
+
readonly primary: "primary";
|
|
1225
|
+
readonly inverted: "inverted";
|
|
1226
|
+
};
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* A Spinner's appearance can be either primary or inverted
|
|
1230
|
+
* @public
|
|
1231
|
+
*/
|
|
1232
|
+
export declare type SpinnerAppearance = ValuesOf<typeof SpinnerAppearance>;
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
* The Fluent Spinner Element. Implements {@link @microsoft/fast-foundation#ProgressRing },
|
|
1236
|
+
* {@link @microsoft/fast-foundation#progress-ringTemplate}
|
|
1237
|
+
*
|
|
1238
|
+
*
|
|
1239
|
+
* @public
|
|
1240
|
+
* @remarks
|
|
1241
|
+
* HTML Element: \<fluent-spinner\>
|
|
1242
|
+
*/
|
|
1243
|
+
export declare const SpinnerDefinition: FASTElementDefinition<typeof Spinner>;
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* SpinnerSize constants
|
|
1247
|
+
* @public
|
|
1248
|
+
*/
|
|
1249
|
+
export declare const SpinnerSize: {
|
|
1250
|
+
readonly tiny: "tiny";
|
|
1251
|
+
readonly extraSmall: "extra-small";
|
|
1252
|
+
readonly small: "small";
|
|
1253
|
+
readonly medium: "medium";
|
|
1254
|
+
readonly large: "large";
|
|
1255
|
+
readonly extraLarge: "extra-large";
|
|
1256
|
+
readonly huge: "huge";
|
|
1257
|
+
};
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* A Spinner's size can be either small, tiny, extra-small, medium, large, extra-large, or huge
|
|
1261
|
+
* @public
|
|
1262
|
+
*/
|
|
1263
|
+
export declare type SpinnerSize = ValuesOf<typeof SpinnerSize>;
|
|
1264
|
+
|
|
1265
|
+
export declare const SpinnerStyles: ElementStyles;
|
|
1266
|
+
|
|
1267
|
+
export declare const SpinnerTemplate: ElementViewTemplate<Spinner>;
|
|
1268
|
+
|
|
1194
1269
|
export declare const strokeWidthThick: CSSDesignToken<string>;
|
|
1195
1270
|
|
|
1196
1271
|
export declare const strokeWidthThicker: CSSDesignToken<string>;
|