@fluentui/web-components 3.0.0-alpha.6 → 3.0.0-alpha.8

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.
Files changed (95) hide show
  1. package/CHANGELOG.json +51 -1
  2. package/CHANGELOG.md +22 -2
  3. package/dist/dts/accordion-item/accordion-item.d.ts +2 -2
  4. package/dist/dts/avatar/avatar.d.ts +97 -0
  5. package/dist/dts/avatar/avatar.definition.d.ts +9 -0
  6. package/dist/dts/avatar/avatar.options.d.ts +142 -0
  7. package/dist/dts/avatar/avatar.styles.d.ts +4 -0
  8. package/dist/dts/avatar/avatar.template.d.ts +8 -0
  9. package/dist/dts/avatar/define.d.ts +1 -0
  10. package/dist/dts/avatar/index.d.ts +5 -0
  11. package/dist/dts/badge/badge.d.ts +2 -2
  12. package/dist/dts/counter-badge/counter-badge.d.ts +4 -4
  13. package/dist/dts/divider/define.d.ts +1 -0
  14. package/dist/dts/divider/divider.d.ts +31 -0
  15. package/dist/dts/divider/divider.definition.d.ts +9 -0
  16. package/dist/dts/divider/divider.options.d.ts +40 -0
  17. package/dist/dts/divider/divider.styles.d.ts +4 -0
  18. package/dist/dts/divider/divider.template.d.ts +7 -0
  19. package/dist/dts/divider/index.d.ts +5 -0
  20. package/dist/dts/image/define.d.ts +1 -0
  21. package/dist/dts/image/image.d.ts +48 -0
  22. package/dist/dts/image/image.definition.d.ts +9 -0
  23. package/dist/dts/image/image.options.d.ts +27 -0
  24. package/dist/dts/image/image.styles.d.ts +5 -0
  25. package/dist/dts/image/image.template.d.ts +7 -0
  26. package/dist/dts/image/index.d.ts +5 -0
  27. package/dist/dts/index.d.ts +3 -0
  28. package/dist/dts/progress-bar/progress-bar.d.ts +2 -2
  29. package/dist/dts/spinner/spinner.d.ts +2 -2
  30. package/dist/dts/text/text.d.ts +4 -4
  31. package/dist/dts/theme/design-tokens.d.ts +5 -0
  32. package/dist/dts/utils/get-initials.d.ts +18 -0
  33. package/dist/esm/accordion-item/accordion-item.js.map +1 -1
  34. package/dist/esm/avatar/avatar.definition.js +17 -0
  35. package/dist/esm/avatar/avatar.definition.js.map +1 -0
  36. package/dist/esm/avatar/avatar.js +92 -0
  37. package/dist/esm/avatar/avatar.js.map +1 -0
  38. package/dist/esm/avatar/avatar.options.js +87 -0
  39. package/dist/esm/avatar/avatar.options.js.map +1 -0
  40. package/dist/esm/avatar/avatar.styles.js +476 -0
  41. package/dist/esm/avatar/avatar.styles.js.map +1 -0
  42. package/dist/esm/avatar/avatar.template.js +28 -0
  43. package/dist/esm/avatar/avatar.template.js.map +1 -0
  44. package/dist/esm/avatar/define.js +4 -0
  45. package/dist/esm/avatar/define.js.map +1 -0
  46. package/dist/esm/avatar/index.js +6 -0
  47. package/dist/esm/avatar/index.js.map +1 -0
  48. package/dist/esm/badge/badge.js.map +1 -1
  49. package/dist/esm/counter-badge/counter-badge.js.map +1 -1
  50. package/dist/esm/counter-badge/counter-badge.template.js.map +1 -1
  51. package/dist/esm/divider/define.js +4 -0
  52. package/dist/esm/divider/define.js.map +1 -0
  53. package/dist/esm/divider/divider.definition.js +17 -0
  54. package/dist/esm/divider/divider.definition.js.map +1 -0
  55. package/dist/esm/divider/divider.js +21 -0
  56. package/dist/esm/divider/divider.js.map +1 -0
  57. package/dist/esm/divider/divider.options.js +31 -0
  58. package/dist/esm/divider/divider.options.js.map +1 -0
  59. package/dist/esm/divider/divider.styles.js +111 -0
  60. package/dist/esm/divider/divider.styles.js.map +1 -0
  61. package/dist/esm/divider/divider.template.js +7 -0
  62. package/dist/esm/divider/divider.template.js.map +1 -0
  63. package/dist/esm/divider/index.js +6 -0
  64. package/dist/esm/divider/index.js.map +1 -0
  65. package/dist/esm/image/define.js +4 -0
  66. package/dist/esm/image/define.js.map +1 -0
  67. package/dist/esm/image/image.definition.js +17 -0
  68. package/dist/esm/image/image.definition.js.map +1 -0
  69. package/dist/esm/image/image.js +24 -0
  70. package/dist/esm/image/image.js.map +1 -0
  71. package/dist/esm/image/image.options.js +21 -0
  72. package/dist/esm/image/image.options.js.map +1 -0
  73. package/dist/esm/image/image.styles.js +52 -0
  74. package/dist/esm/image/image.styles.js.map +1 -0
  75. package/dist/esm/image/image.template.js +7 -0
  76. package/dist/esm/image/image.template.js.map +1 -0
  77. package/dist/esm/image/index.js +6 -0
  78. package/dist/esm/image/index.js.map +1 -0
  79. package/dist/esm/index.js +3 -0
  80. package/dist/esm/index.js.map +1 -1
  81. package/dist/esm/progress-bar/progress-bar.js +10 -0
  82. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  83. package/dist/esm/spinner/spinner.js.map +1 -1
  84. package/dist/esm/text/text.js.map +1 -1
  85. package/dist/esm/theme/design-tokens.js +5 -0
  86. package/dist/esm/theme/design-tokens.js.map +1 -1
  87. package/dist/esm/theme/set-theme.js.map +1 -1
  88. package/dist/esm/utils/get-initials.js +83 -0
  89. package/dist/esm/utils/get-initials.js.map +1 -0
  90. package/dist/fluent-web-components.api.json +3550 -1863
  91. package/dist/web-components.d.ts +480 -16
  92. package/dist/web-components.js +516 -20
  93. package/dist/web-components.min.js +123 -118
  94. package/docs/api-report.md +268 -16
  95. package/package.json +13 -1
@@ -1,8 +1,11 @@
1
1
  import { CSSDesignToken } from '@microsoft/fast-foundation';
2
+ import { DividerOrientation } from '@microsoft/fast-foundation';
3
+ import { DividerRole } from '@microsoft/fast-foundation';
2
4
  import { ElementStyles } from '@microsoft/fast-element';
3
5
  import { ElementViewTemplate } from '@microsoft/fast-element';
4
6
  import { FASTAccordion } from '@microsoft/fast-foundation';
5
7
  import { FASTAccordionItem } from '@microsoft/fast-foundation';
8
+ import { FASTDivider } from '@microsoft/fast-foundation';
6
9
  import { FASTElement } from '@microsoft/fast-element';
7
10
  import { FASTElementDefinition } from '@microsoft/fast-element';
8
11
  import { FASTProgress } from '@microsoft/fast-foundation';
@@ -44,7 +47,7 @@ export declare class AccordionItem extends FASTAccordionItem {
44
47
  * @remarks
45
48
  * HTML Attribute: size
46
49
  */
47
- size: AccordionItemSize;
50
+ size?: AccordionItemSize;
48
51
  /**
49
52
  * Sets the width of the focus state.
50
53
  *
@@ -61,7 +64,7 @@ export declare class AccordionItem extends FASTAccordionItem {
61
64
  * @remarks
62
65
  * HTML Attribute: expandIconPosition
63
66
  */
64
- expandIconPosition: AccordionItemExpandIconPosition;
67
+ expandIconPosition?: AccordionItemExpandIconPosition;
65
68
  }
66
69
 
67
70
  /**
@@ -117,6 +120,271 @@ export declare const accordionStyles: ElementStyles;
117
120
 
118
121
  export declare const accordionTemplate: ElementViewTemplate<Accordion>;
119
122
 
123
+ /**
124
+ * The base class used for constructing a fluent-avatar custom element
125
+ * @public
126
+ */
127
+ export declare class Avatar extends FASTElement {
128
+ /**
129
+ * The name of the person or entity represented by this Avatar. This should always be provided if it is available.
130
+ *
131
+ * @public
132
+ * @remarks
133
+ * HTML Attribute: name
134
+ */
135
+ name?: string | undefined;
136
+ /**
137
+ * Provide custom initials rather than one generated via the name
138
+ *
139
+ * @public
140
+ * @remarks
141
+ * HTML Attribute: name
142
+ */
143
+ initials?: string | undefined;
144
+ /**
145
+ * Size of the avatar in pixels.
146
+ *
147
+ * Size is restricted to a limited set of supported values recommended for most uses (see `AvatarSizeValue`) and
148
+ * based on design guidelines for the Avatar control.
149
+ *
150
+ * If a non-supported size is neeeded, set `size` to the next-smaller supported size, and set `width` and `height`
151
+ * to override the rendered size.
152
+ *
153
+ * @public
154
+ * @remarks
155
+ * HTML Attribute: size
156
+ *
157
+ */
158
+ size?: AvatarSize | undefined;
159
+ /**
160
+ * The avatar can have a circular or square shape.
161
+ *
162
+ * @public
163
+ * @remarks
164
+ * HTML Attribute: shape
165
+ */
166
+ shape?: AvatarShape | undefined;
167
+ /**
168
+ * Optional activity indicator
169
+ * * active: the avatar will be decorated according to activeAppearance
170
+ * * inactive: the avatar will be reduced in size and partially transparent
171
+ * * undefined: normal display
172
+ *
173
+ * @public
174
+ * @remarks
175
+ * HTML Attribute: active
176
+ */
177
+ active?: AvatarActive | undefined;
178
+ /**
179
+ * The appearance when `active="active"`
180
+ *
181
+ * @public
182
+ * @remarks
183
+ * HTML Attribute: appearance
184
+ */
185
+ appearance?: AvatarAppearance | undefined;
186
+ /**
187
+ * The color when displaying either an icon or initials.
188
+ * * neutral (default): gray
189
+ * * brand: color from the brand palette
190
+ * * colorful: picks a color from a set of pre-defined colors, based on a hash of the name (or colorId if provided)
191
+ * * [AvatarNamedColor]: a specific color from the theme
192
+ *
193
+ * @public
194
+ * @remarks
195
+ * HTML Attribute: color
196
+ */
197
+ color?: AvatarColor;
198
+ /**
199
+ * Specify a string to be used instead of the name, to determine which color to use when color="colorful".
200
+ * Use this when a name is not available, but there is another unique identifier that can be used instead.
201
+ */
202
+ colorId?: AvatarNamedColor | undefined;
203
+ /**
204
+ * Sets the data-color attribute used for the visual presentation
205
+ * @internal
206
+ */
207
+ generateColor(): AvatarColor | void;
208
+ /**
209
+ * Generates and sets the initials for the template
210
+ * @internal
211
+ */
212
+ generateInitials(): string | void;
213
+ /**
214
+ * An array of the available Avatar named colors
215
+ */
216
+ static colors: ("anchor" | "dark-red" | "cranberry" | "red" | "pumpkin" | "peach" | "marigold" | "gold" | "brass" | "brown" | "forest" | "seafoam" | "dark-green" | "light-teal" | "teal" | "steel" | "blue" | "royal-blue" | "cornflower" | "navy" | "lavender" | "purple" | "grape" | "lilac" | "pink" | "magenta" | "plum" | "beige" | "mink" | "platinum")[];
217
+ }
218
+
219
+ /**
220
+ * The Avatar "active" state
221
+ */
222
+ export declare const AvatarActive: {
223
+ readonly active: "active";
224
+ readonly inactive: "inactive";
225
+ };
226
+
227
+ /**
228
+ * The types of Avatar active state
229
+ */
230
+ export declare type AvatarActive = ValuesOf<typeof AvatarActive>;
231
+
232
+ /**
233
+ * The Avatar Appearance when "active"
234
+ */
235
+ export declare const AvatarAppearance: {
236
+ readonly ring: "ring";
237
+ readonly shadow: "shadow";
238
+ readonly ringShadow: "ring-shadow";
239
+ };
240
+
241
+ /**
242
+ * The appearance when "active"
243
+ */
244
+ export declare type AvatarAppearance = ValuesOf<typeof AvatarAppearance>;
245
+
246
+ /**
247
+ * Supported Avatar colors
248
+ */
249
+ export declare const AvatarColor: {
250
+ readonly darkRed: "dark-red";
251
+ readonly cranberry: "cranberry";
252
+ readonly red: "red";
253
+ readonly pumpkin: "pumpkin";
254
+ readonly peach: "peach";
255
+ readonly marigold: "marigold";
256
+ readonly gold: "gold";
257
+ readonly brass: "brass";
258
+ readonly brown: "brown";
259
+ readonly forest: "forest";
260
+ readonly seafoam: "seafoam";
261
+ readonly darkGreen: "dark-green";
262
+ readonly lightTeal: "light-teal";
263
+ readonly teal: "teal";
264
+ readonly steel: "steel";
265
+ readonly blue: "blue";
266
+ readonly royalBlue: "royal-blue";
267
+ readonly cornflower: "cornflower";
268
+ readonly navy: "navy";
269
+ readonly lavender: "lavender";
270
+ readonly purple: "purple";
271
+ readonly grape: "grape";
272
+ readonly lilac: "lilac";
273
+ readonly pink: "pink";
274
+ readonly magenta: "magenta";
275
+ readonly plum: "plum";
276
+ readonly beige: "beige";
277
+ readonly mink: "mink";
278
+ readonly platinum: "platinum";
279
+ readonly anchor: "anchor";
280
+ readonly neutral: "neutral";
281
+ readonly brand: "brand";
282
+ readonly colorful: "colorful";
283
+ };
284
+
285
+ /**
286
+ * The Avatar Color
287
+ */
288
+ export declare type AvatarColor = ValuesOf<typeof AvatarColor>;
289
+
290
+ /**
291
+ * The Fluent Avatar Element.
292
+ *
293
+ * @public
294
+ * @remarks
295
+ * HTML Element: \<fluent-badge\>
296
+ */
297
+ export declare const AvatarDefinition: FASTElementDefinition<typeof Avatar>;
298
+
299
+ /**
300
+ * A specific named color for the Avatar
301
+ */
302
+ export declare const AvatarNamedColor: {
303
+ readonly darkRed: "dark-red";
304
+ readonly cranberry: "cranberry";
305
+ readonly red: "red";
306
+ readonly pumpkin: "pumpkin";
307
+ readonly peach: "peach";
308
+ readonly marigold: "marigold";
309
+ readonly gold: "gold";
310
+ readonly brass: "brass";
311
+ readonly brown: "brown";
312
+ readonly forest: "forest";
313
+ readonly seafoam: "seafoam";
314
+ readonly darkGreen: "dark-green";
315
+ readonly lightTeal: "light-teal";
316
+ readonly teal: "teal";
317
+ readonly steel: "steel";
318
+ readonly blue: "blue";
319
+ readonly royalBlue: "royal-blue";
320
+ readonly cornflower: "cornflower";
321
+ readonly navy: "navy";
322
+ readonly lavender: "lavender";
323
+ readonly purple: "purple";
324
+ readonly grape: "grape";
325
+ readonly lilac: "lilac";
326
+ readonly pink: "pink";
327
+ readonly magenta: "magenta";
328
+ readonly plum: "plum";
329
+ readonly beige: "beige";
330
+ readonly mink: "mink";
331
+ readonly platinum: "platinum";
332
+ readonly anchor: "anchor";
333
+ };
334
+
335
+ /**
336
+ * An avatar can be one of named colors
337
+ * @public
338
+ */
339
+ export declare type AvatarNamedColor = ValuesOf<typeof AvatarNamedColor>;
340
+
341
+ /**
342
+ * The Avatar Shape
343
+ */
344
+ export declare const AvatarShape: {
345
+ readonly circular: "circular";
346
+ readonly square: "square";
347
+ };
348
+
349
+ /**
350
+ * The types of Avatar Shape
351
+ */
352
+ export declare type AvatarShape = ValuesOf<typeof AvatarShape>;
353
+
354
+ /**
355
+ * The Avatar Sizes
356
+ * @public
357
+ */
358
+ export declare const AvatarSize: {
359
+ readonly _16: 16;
360
+ readonly _20: 20;
361
+ readonly _24: 24;
362
+ readonly _28: 28;
363
+ readonly _32: 32;
364
+ readonly _36: 36;
365
+ readonly _40: 40;
366
+ readonly _48: 48;
367
+ readonly _56: 56;
368
+ readonly _64: 64;
369
+ readonly _72: 72;
370
+ readonly _96: 96;
371
+ readonly _120: 120;
372
+ readonly _128: 128;
373
+ };
374
+
375
+ /**
376
+ * A Avatar can be on of several preset sizes.
377
+ * @public
378
+ */
379
+ export declare type AvatarSize = ValuesOf<typeof AvatarSize>;
380
+
381
+ /** Avatar styles
382
+ * @public
383
+ */
384
+ export declare const AvatarStyles: ElementStyles;
385
+
386
+ export declare const AvatarTemplate: ElementViewTemplate<Avatar>;
387
+
120
388
  /**
121
389
  * The base class used for constructing a fluent-badge custom element
122
390
  * @public
@@ -145,7 +413,7 @@ export declare class Badge extends FASTElement {
145
413
  * @remarks
146
414
  * HTML Attribute: shape
147
415
  */
148
- shape: BadgeShape;
416
+ shape?: BadgeShape;
149
417
  /**
150
418
  * The size the badge should have.
151
419
  *
@@ -153,7 +421,7 @@ export declare class Badge extends FASTElement {
153
421
  * @remarks
154
422
  * HTML Attribute: size
155
423
  */
156
- size: BadgeSize;
424
+ size?: BadgeSize;
157
425
  }
158
426
 
159
427
  /**
@@ -487,8 +755,12 @@ export declare const colorNeutralShadowKeyLighter: CSSDesignToken<string>;
487
755
 
488
756
  export declare const colorNeutralStencil1: CSSDesignToken<string>;
489
757
 
758
+ export declare const colorNeutralStencil1Alpha: CSSDesignToken<string>;
759
+
490
760
  export declare const colorNeutralStencil2: CSSDesignToken<string>;
491
761
 
762
+ export declare const colorNeutralStencil2Alpha: CSSDesignToken<string>;
763
+
492
764
  export declare const colorNeutralStroke1: CSSDesignToken<string>;
493
765
 
494
766
  export declare const colorNeutralStroke1Hover: CSSDesignToken<string>;
@@ -649,6 +921,8 @@ export declare const colorPaletteGreenForeground2: CSSDesignToken<string>;
649
921
 
650
922
  export declare const colorPaletteGreenForeground3: CSSDesignToken<string>;
651
923
 
924
+ export declare const colorPaletteGreenForegroundInverted: CSSDesignToken<string>;
925
+
652
926
  export declare const colorPaletteLavenderBackground2: CSSDesignToken<string>;
653
927
 
654
928
  export declare const colorPaletteLavenderBorderActive: CSSDesignToken<string>;
@@ -775,6 +1049,8 @@ export declare const colorPaletteRedForeground2: CSSDesignToken<string>;
775
1049
 
776
1050
  export declare const colorPaletteRedForeground3: CSSDesignToken<string>;
777
1051
 
1052
+ export declare const colorPaletteRedForegroundInverted: CSSDesignToken<string>;
1053
+
778
1054
  export declare const colorPaletteRoyalBlueBackground2: CSSDesignToken<string>;
779
1055
 
780
1056
  export declare const colorPaletteRoyalBlueBorderActive: CSSDesignToken<string>;
@@ -817,6 +1093,8 @@ export declare const colorPaletteYellowForeground2: CSSDesignToken<string>;
817
1093
 
818
1094
  export declare const colorPaletteYellowForeground3: CSSDesignToken<string>;
819
1095
 
1096
+ export declare const colorPaletteYellowForegroundInverted: CSSDesignToken<string>;
1097
+
820
1098
  export declare const colorScrollbarOverlay: CSSDesignToken<string>;
821
1099
 
822
1100
  export declare const colorStrokeFocus1: CSSDesignToken<string>;
@@ -871,7 +1149,7 @@ export declare class CounterBadge extends FASTElement {
871
1149
  * @remarks
872
1150
  * HTML Attribute: appearance
873
1151
  */
874
- appearance: CounterBadgeAppearance;
1152
+ appearance?: CounterBadgeAppearance;
875
1153
  /**
876
1154
  * The color the badge should have.
877
1155
  *
@@ -879,7 +1157,7 @@ export declare class CounterBadge extends FASTElement {
879
1157
  * @remarks
880
1158
  * HTML Attribute: color
881
1159
  */
882
- color: CounterBadgeColor;
1160
+ color?: CounterBadgeColor;
883
1161
  /**
884
1162
  * The shape the badge should have.
885
1163
  *
@@ -887,7 +1165,7 @@ export declare class CounterBadge extends FASTElement {
887
1165
  * @remarks
888
1166
  * HTML Attribute: shape
889
1167
  */
890
- shape: CounterBadgeShape;
1168
+ shape?: CounterBadgeShape;
891
1169
  /**
892
1170
  * The size the badge should have.
893
1171
  *
@@ -895,7 +1173,7 @@ export declare class CounterBadge extends FASTElement {
895
1173
  * @remarks
896
1174
  * HTML Attribute: size
897
1175
  */
898
- size: CounterBadgeSize;
1176
+ size?: CounterBadgeSize;
899
1177
  /**
900
1178
  * The count the badge should have.
901
1179
  *
@@ -1073,6 +1351,93 @@ export declare const curveLinear: CSSDesignToken<string>;
1073
1351
  */
1074
1352
  export declare const definition: FASTElementDefinition<typeof Switch>;
1075
1353
 
1354
+ /**
1355
+ * @class Divider component
1356
+ *
1357
+ * @remarks
1358
+ * This class extends the FASTDivider. 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.
1359
+ */
1360
+ export declare class Divider extends FASTDivider {
1361
+ /**
1362
+ * @property alignContent
1363
+ * @default center
1364
+ * @remarks
1365
+ * Determines the alignment of the content within the divider. Select from start or end. When not specified, the content will be aligned to the center.
1366
+ */
1367
+ alignContent?: DividerAlignContent;
1368
+ /**
1369
+ * @property appearance
1370
+ * @default default
1371
+ * @remarks
1372
+ * A divider can have one of the preset appearances. Select from strong, brand, subtle. When not specified, the divider has its default appearance.
1373
+ */
1374
+ appearance?: DividerAppearance;
1375
+ /**
1376
+ * @property inset
1377
+ * @default false
1378
+ * @remarks
1379
+ * Adds padding to the beginning and end of the divider.
1380
+ */
1381
+ inset?: boolean;
1382
+ }
1383
+
1384
+ /**
1385
+ * Align content within divider
1386
+ * @public
1387
+ */
1388
+ export declare const DividerAlignContent: {
1389
+ readonly center: "center";
1390
+ readonly start: "start";
1391
+ readonly end: "end";
1392
+ };
1393
+
1394
+ /**
1395
+ * The types for DividerAlignContent
1396
+ * @public
1397
+ */
1398
+ export declare type DividerAlignContent = ValuesOf<typeof DividerAlignContent>;
1399
+
1400
+ /**
1401
+ * DividerAppearance - divider color defined by a design token alias.
1402
+ * @public
1403
+ */
1404
+ export declare const DividerAppearance: {
1405
+ readonly strong: "strong";
1406
+ readonly brand: "brand";
1407
+ readonly subtle: "subtle";
1408
+ readonly default: "default";
1409
+ };
1410
+
1411
+ /**
1412
+ * The types for Appearance
1413
+ * @public
1414
+ */
1415
+ export declare type DividerAppearance = ValuesOf<typeof DividerAppearance>;
1416
+
1417
+ /**
1418
+ * The Fluent Divider Element
1419
+ *
1420
+ * @public
1421
+ * @remarks
1422
+ * HTML Element: \<fluent-divider\>
1423
+ */
1424
+ export declare const DividerDefinition: FASTElementDefinition<typeof Divider>;
1425
+
1426
+ export { DividerOrientation }
1427
+
1428
+ export { DividerRole }
1429
+
1430
+ /** Divider styles
1431
+ * @public
1432
+ */
1433
+ export declare const DividerStyles: ElementStyles;
1434
+
1435
+ /**
1436
+ * Template for the Divider component
1437
+ * @public
1438
+ */
1439
+ export declare const DividerTemplate: ElementViewTemplate<Divider>;
1440
+
1076
1441
  export declare const durationFast: CSSDesignToken<string>;
1077
1442
 
1078
1443
  export declare const durationFaster: CSSDesignToken<string>;
@@ -1121,6 +1486,105 @@ export declare const fontWeightRegular: CSSDesignToken<string>;
1121
1486
 
1122
1487
  export declare const fontWeightSemibold: CSSDesignToken<string>;
1123
1488
 
1489
+ /**
1490
+ * The base class used for constucting a fluent image custom element
1491
+ * @public
1492
+ */
1493
+ declare class Image_2 extends FASTElement {
1494
+ /**
1495
+ * Image layout
1496
+ *
1497
+ * @public
1498
+ * @remarks
1499
+ * HTML attribute: block.
1500
+ */
1501
+ block?: boolean;
1502
+ /**
1503
+ * Image border
1504
+ *
1505
+ * @public
1506
+ * @remarks
1507
+ * HTML attribute: border.
1508
+ */
1509
+ bordered?: boolean;
1510
+ /**
1511
+ * Image shadow
1512
+ *
1513
+ * @public
1514
+ * @remarks
1515
+ * HTML attribute: shadow.
1516
+ */
1517
+ shadow?: boolean;
1518
+ /**
1519
+ * Image fit
1520
+ *
1521
+ * @public
1522
+ * @remarks
1523
+ * HTML attribute: fit.
1524
+ */
1525
+ fit?: ImageFit;
1526
+ /**
1527
+ * Image shape
1528
+ *
1529
+ * @public
1530
+ * @remarks
1531
+ * HTML attribute: shape.
1532
+ */
1533
+ shape?: ImageShape;
1534
+ }
1535
+ export { Image_2 as Image }
1536
+
1537
+ /**
1538
+ * The Fluent Image Element
1539
+ *
1540
+ * @public
1541
+ * @remarks
1542
+ * HTML Element: \<fluent-image\>
1543
+ */
1544
+ export declare const ImageDefinition: FASTElementDefinition<typeof Image_2>;
1545
+
1546
+ /**
1547
+ * Image fit
1548
+ * @public
1549
+ */
1550
+ export declare const ImageFit: {
1551
+ readonly none: "none";
1552
+ readonly center: "center";
1553
+ readonly contain: "contain";
1554
+ readonly cover: "cover";
1555
+ readonly default: "default";
1556
+ };
1557
+
1558
+ /**
1559
+ * Types for image fit
1560
+ * @public
1561
+ */
1562
+ export declare type ImageFit = ValuesOf<typeof ImageFit>;
1563
+
1564
+ /**
1565
+ * Image shape
1566
+ * @public
1567
+ */
1568
+ export declare const ImageShape: {
1569
+ readonly circular: "circular";
1570
+ readonly rounded: "rounded";
1571
+ readonly square: "square";
1572
+ };
1573
+
1574
+ export declare type ImageShape = ValuesOf<typeof ImageShape>;
1575
+
1576
+ /** Image styles
1577
+ *
1578
+ * @public
1579
+ */
1580
+ export declare const ImageStyles: ElementStyles;
1581
+
1582
+ /**
1583
+ * Template for the Image component
1584
+ * @public
1585
+ */
1586
+ export declare const ImageTemplate: ElementViewTemplate<Image_2>;
1587
+
1124
1588
  export declare const lineHeightBase100: CSSDesignToken<string>;
1125
1589
 
1126
1590
  export declare const lineHeightBase200: CSSDesignToken<string>;
@@ -1153,14 +1617,14 @@ declare class ProgressBar_2 extends FASTProgress {
1153
1617
  * @remarks
1154
1618
  * HTML Attribute: thickness
1155
1619
  */
1156
- thickness: ProgressBarThickness;
1620
+ thickness?: ProgressBarThickness;
1157
1621
  /**
1158
1622
  * The shape of the progress bar
1159
1623
  * @public
1160
1624
  * @remarks
1161
1625
  * HTML Attribute: shape
1162
1626
  */
1163
- shape: ProgressBarShape;
1627
+ shape?: ProgressBarShape;
1164
1628
  /**
1165
1629
  * The validation state of the progress bar
1166
1630
  * @public
@@ -1321,7 +1785,7 @@ export declare class Spinner extends FASTProgressRing {
1321
1785
  * @remarks
1322
1786
  * HTML Attribute: size
1323
1787
  */
1324
- size: SpinnerSize;
1788
+ size?: SpinnerSize;
1325
1789
  /**
1326
1790
  * The appearance of the spinner
1327
1791
  * @public
@@ -1329,7 +1793,7 @@ export declare class Spinner extends FASTProgressRing {
1329
1793
  * @remarks
1330
1794
  * HTML Attribute: appearance
1331
1795
  */
1332
- appearance: SpinnerAppearance;
1796
+ appearance?: SpinnerAppearance;
1333
1797
  }
1334
1798
 
1335
1799
  /**
@@ -1485,7 +1949,7 @@ declare class Text_2 extends FASTElement {
1485
1949
  * HTML Attribute: size
1486
1950
  *
1487
1951
  */
1488
- size: TextSize;
1952
+ size?: TextSize;
1489
1953
  /**
1490
1954
  * THe Text font
1491
1955
  *
@@ -1493,7 +1957,7 @@ declare class Text_2 extends FASTElement {
1493
1957
  * @remarks
1494
1958
  * HTML Attribute: font
1495
1959
  */
1496
- font: TextFont;
1960
+ font?: TextFont;
1497
1961
  /**
1498
1962
  * THe Text weight
1499
1963
  *
@@ -1501,7 +1965,7 @@ declare class Text_2 extends FASTElement {
1501
1965
  * @remarks
1502
1966
  * HTML Attribute: weight
1503
1967
  */
1504
- weight: TextWeight;
1968
+ weight?: TextWeight;
1505
1969
  /**
1506
1970
  * THe Text align
1507
1971
  *
@@ -1509,7 +1973,7 @@ declare class Text_2 extends FASTElement {
1509
1973
  * @remarks
1510
1974
  * HTML Attribute: align
1511
1975
  */
1512
- align: TextAlign;
1976
+ align?: TextAlign;
1513
1977
  }
1514
1978
  export { Text_2 as Text }
1515
1979