@fluentui/web-components 3.0.0-alpha.6 → 3.0.0-alpha.7
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 +28 -1
- package/CHANGELOG.md +13 -2
- package/dist/dts/avatar/avatar.d.ts +97 -0
- package/dist/dts/avatar/avatar.definition.d.ts +9 -0
- package/dist/dts/avatar/avatar.options.d.ts +142 -0
- package/dist/dts/avatar/avatar.styles.d.ts +4 -0
- package/dist/dts/avatar/avatar.template.d.ts +8 -0
- package/dist/dts/avatar/define.d.ts +1 -0
- package/dist/dts/avatar/index.d.ts +5 -0
- package/dist/dts/divider/define.d.ts +1 -0
- package/dist/dts/divider/divider.d.ts +31 -0
- package/dist/dts/divider/divider.definition.d.ts +9 -0
- package/dist/dts/divider/divider.options.d.ts +40 -0
- package/dist/dts/divider/divider.styles.d.ts +4 -0
- package/dist/dts/divider/divider.template.d.ts +7 -0
- package/dist/dts/divider/index.d.ts +5 -0
- package/dist/dts/image/define.d.ts +1 -0
- package/dist/dts/image/image.d.ts +48 -0
- package/dist/dts/image/image.definition.d.ts +9 -0
- package/dist/dts/image/image.options.d.ts +27 -0
- package/dist/dts/image/image.styles.d.ts +5 -0
- package/dist/dts/image/image.template.d.ts +7 -0
- package/dist/dts/image/index.d.ts +5 -0
- package/dist/dts/index.d.ts +3 -0
- package/dist/dts/utils/get-initials.d.ts +18 -0
- package/dist/esm/avatar/avatar.definition.js +17 -0
- package/dist/esm/avatar/avatar.definition.js.map +1 -0
- package/dist/esm/avatar/avatar.js +92 -0
- package/dist/esm/avatar/avatar.js.map +1 -0
- package/dist/esm/avatar/avatar.options.js +87 -0
- package/dist/esm/avatar/avatar.options.js.map +1 -0
- package/dist/esm/avatar/avatar.styles.js +476 -0
- package/dist/esm/avatar/avatar.styles.js.map +1 -0
- package/dist/esm/avatar/avatar.template.js +28 -0
- package/dist/esm/avatar/avatar.template.js.map +1 -0
- package/dist/esm/avatar/define.js +4 -0
- package/dist/esm/avatar/define.js.map +1 -0
- package/dist/esm/avatar/index.js +6 -0
- package/dist/esm/avatar/index.js.map +1 -0
- package/dist/esm/divider/define.js +4 -0
- package/dist/esm/divider/define.js.map +1 -0
- package/dist/esm/divider/divider.definition.js +17 -0
- package/dist/esm/divider/divider.definition.js.map +1 -0
- package/dist/esm/divider/divider.js +21 -0
- package/dist/esm/divider/divider.js.map +1 -0
- package/dist/esm/divider/divider.options.js +31 -0
- package/dist/esm/divider/divider.options.js.map +1 -0
- package/dist/esm/divider/divider.styles.js +111 -0
- package/dist/esm/divider/divider.styles.js.map +1 -0
- package/dist/esm/divider/divider.template.js +7 -0
- package/dist/esm/divider/divider.template.js.map +1 -0
- package/dist/esm/divider/index.js +6 -0
- package/dist/esm/divider/index.js.map +1 -0
- package/dist/esm/image/define.js +4 -0
- package/dist/esm/image/define.js.map +1 -0
- package/dist/esm/image/image.definition.js +17 -0
- package/dist/esm/image/image.definition.js.map +1 -0
- package/dist/esm/image/image.js +24 -0
- package/dist/esm/image/image.js.map +1 -0
- package/dist/esm/image/image.options.js +21 -0
- package/dist/esm/image/image.options.js.map +1 -0
- package/dist/esm/image/image.styles.js +52 -0
- package/dist/esm/image/image.styles.js.map +1 -0
- package/dist/esm/image/image.template.js +7 -0
- package/dist/esm/image/image.template.js.map +1 -0
- package/dist/esm/image/index.js +6 -0
- package/dist/esm/image/index.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/utils/get-initials.js +83 -0
- package/dist/esm/utils/get-initials.js.map +1 -0
- package/dist/fluent-web-components.api.json +3379 -1847
- package/dist/web-components.d.ts +454 -0
- package/dist/web-components.js +494 -19
- package/dist/web-components.min.js +123 -118
- package/docs/api-report.md +237 -0
- package/package.json +13 -1
package/dist/web-components.d.ts
CHANGED
|
@@ -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';
|
|
@@ -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
|
|
@@ -1073,6 +1341,93 @@ export declare const curveLinear: CSSDesignToken<string>;
|
|
|
1073
1341
|
*/
|
|
1074
1342
|
export declare const definition: FASTElementDefinition<typeof Switch>;
|
|
1075
1343
|
|
|
1344
|
+
/**
|
|
1345
|
+
* @class Divider component
|
|
1346
|
+
*
|
|
1347
|
+
* @remarks
|
|
1348
|
+
* 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.
|
|
1349
|
+
*/
|
|
1350
|
+
export declare class Divider extends FASTDivider {
|
|
1351
|
+
/**
|
|
1352
|
+
* @property alignContent
|
|
1353
|
+
* @default center
|
|
1354
|
+
* @remarks
|
|
1355
|
+
* 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.
|
|
1356
|
+
*/
|
|
1357
|
+
alignContent?: DividerAlignContent;
|
|
1358
|
+
/**
|
|
1359
|
+
* @property appearance
|
|
1360
|
+
* @default default
|
|
1361
|
+
* @remarks
|
|
1362
|
+
* A divider can have one of the preset appearances. Select from strong, brand, subtle. When not specified, the divider has its default appearance.
|
|
1363
|
+
*/
|
|
1364
|
+
appearance?: DividerAppearance;
|
|
1365
|
+
/**
|
|
1366
|
+
* @property inset
|
|
1367
|
+
* @default false
|
|
1368
|
+
* @remarks
|
|
1369
|
+
* Adds padding to the beginning and end of the divider.
|
|
1370
|
+
*/
|
|
1371
|
+
inset?: boolean;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
* Align content within divider
|
|
1376
|
+
* @public
|
|
1377
|
+
*/
|
|
1378
|
+
export declare const DividerAlignContent: {
|
|
1379
|
+
readonly center: "center";
|
|
1380
|
+
readonly start: "start";
|
|
1381
|
+
readonly end: "end";
|
|
1382
|
+
};
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* The types for DividerAlignContent
|
|
1386
|
+
* @public
|
|
1387
|
+
*/
|
|
1388
|
+
export declare type DividerAlignContent = ValuesOf<typeof DividerAlignContent>;
|
|
1389
|
+
|
|
1390
|
+
/**
|
|
1391
|
+
* DividerAppearance - divider color defined by a design token alias.
|
|
1392
|
+
* @public
|
|
1393
|
+
*/
|
|
1394
|
+
export declare const DividerAppearance: {
|
|
1395
|
+
readonly strong: "strong";
|
|
1396
|
+
readonly brand: "brand";
|
|
1397
|
+
readonly subtle: "subtle";
|
|
1398
|
+
readonly default: "default";
|
|
1399
|
+
};
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* The types for Appearance
|
|
1403
|
+
* @public
|
|
1404
|
+
*/
|
|
1405
|
+
export declare type DividerAppearance = ValuesOf<typeof DividerAppearance>;
|
|
1406
|
+
|
|
1407
|
+
/**
|
|
1408
|
+
* The Fluent Divider Element
|
|
1409
|
+
*
|
|
1410
|
+
* @public
|
|
1411
|
+
* @remarks
|
|
1412
|
+
* HTML Element: \<fluent-divider\>
|
|
1413
|
+
*/
|
|
1414
|
+
export declare const DividerDefinition: FASTElementDefinition<typeof Divider>;
|
|
1415
|
+
|
|
1416
|
+
export { DividerOrientation }
|
|
1417
|
+
|
|
1418
|
+
export { DividerRole }
|
|
1419
|
+
|
|
1420
|
+
/** Divider styles
|
|
1421
|
+
* @public
|
|
1422
|
+
*/
|
|
1423
|
+
export declare const DividerStyles: ElementStyles;
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* Template for the Divider component
|
|
1427
|
+
* @public
|
|
1428
|
+
*/
|
|
1429
|
+
export declare const DividerTemplate: ElementViewTemplate<Divider>;
|
|
1430
|
+
|
|
1076
1431
|
export declare const durationFast: CSSDesignToken<string>;
|
|
1077
1432
|
|
|
1078
1433
|
export declare const durationFaster: CSSDesignToken<string>;
|
|
@@ -1121,6 +1476,105 @@ export declare const fontWeightRegular: CSSDesignToken<string>;
|
|
|
1121
1476
|
|
|
1122
1477
|
export declare const fontWeightSemibold: CSSDesignToken<string>;
|
|
1123
1478
|
|
|
1479
|
+
/**
|
|
1480
|
+
* The base class used for constucting a fluent image custom element
|
|
1481
|
+
* @public
|
|
1482
|
+
*/
|
|
1483
|
+
declare class Image_2 extends FASTElement {
|
|
1484
|
+
/**
|
|
1485
|
+
* Image layout
|
|
1486
|
+
*
|
|
1487
|
+
* @public
|
|
1488
|
+
* @remarks
|
|
1489
|
+
* HTML attribute: block.
|
|
1490
|
+
*/
|
|
1491
|
+
block?: boolean;
|
|
1492
|
+
/**
|
|
1493
|
+
* Image border
|
|
1494
|
+
*
|
|
1495
|
+
* @public
|
|
1496
|
+
* @remarks
|
|
1497
|
+
* HTML attribute: border.
|
|
1498
|
+
*/
|
|
1499
|
+
bordered?: boolean;
|
|
1500
|
+
/**
|
|
1501
|
+
* Image shadow
|
|
1502
|
+
*
|
|
1503
|
+
* @public
|
|
1504
|
+
* @remarks
|
|
1505
|
+
* HTML attribute: shadow.
|
|
1506
|
+
*/
|
|
1507
|
+
shadow?: boolean;
|
|
1508
|
+
/**
|
|
1509
|
+
* Image fit
|
|
1510
|
+
*
|
|
1511
|
+
* @public
|
|
1512
|
+
* @remarks
|
|
1513
|
+
* HTML attribute: fit.
|
|
1514
|
+
*/
|
|
1515
|
+
fit?: ImageFit;
|
|
1516
|
+
/**
|
|
1517
|
+
* Image shape
|
|
1518
|
+
*
|
|
1519
|
+
* @public
|
|
1520
|
+
* @remarks
|
|
1521
|
+
* HTML attribute: shape.
|
|
1522
|
+
*/
|
|
1523
|
+
shape?: ImageShape;
|
|
1524
|
+
}
|
|
1525
|
+
export { Image_2 as Image }
|
|
1526
|
+
|
|
1527
|
+
/**
|
|
1528
|
+
* The Fluent Image Element
|
|
1529
|
+
*
|
|
1530
|
+
* @public
|
|
1531
|
+
* @remarks
|
|
1532
|
+
* HTML Element: \<fluent-image\>
|
|
1533
|
+
*/
|
|
1534
|
+
export declare const ImageDefinition: FASTElementDefinition<typeof Image_2>;
|
|
1535
|
+
|
|
1536
|
+
/**
|
|
1537
|
+
* Image fit
|
|
1538
|
+
* @public
|
|
1539
|
+
*/
|
|
1540
|
+
export declare const ImageFit: {
|
|
1541
|
+
readonly none: "none";
|
|
1542
|
+
readonly center: "center";
|
|
1543
|
+
readonly contain: "contain";
|
|
1544
|
+
readonly cover: "cover";
|
|
1545
|
+
readonly default: "default";
|
|
1546
|
+
};
|
|
1547
|
+
|
|
1548
|
+
/**
|
|
1549
|
+
* Types for image fit
|
|
1550
|
+
* @public
|
|
1551
|
+
*/
|
|
1552
|
+
export declare type ImageFit = ValuesOf<typeof ImageFit>;
|
|
1553
|
+
|
|
1554
|
+
/**
|
|
1555
|
+
* Image shape
|
|
1556
|
+
* @public
|
|
1557
|
+
*/
|
|
1558
|
+
export declare const ImageShape: {
|
|
1559
|
+
readonly circular: "circular";
|
|
1560
|
+
readonly rounded: "rounded";
|
|
1561
|
+
readonly square: "square";
|
|
1562
|
+
};
|
|
1563
|
+
|
|
1564
|
+
export declare type ImageShape = ValuesOf<typeof ImageShape>;
|
|
1565
|
+
|
|
1566
|
+
/** Image styles
|
|
1567
|
+
*
|
|
1568
|
+
* @public
|
|
1569
|
+
*/
|
|
1570
|
+
export declare const ImageStyles: ElementStyles;
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
1573
|
+
* Template for the Image component
|
|
1574
|
+
* @public
|
|
1575
|
+
*/
|
|
1576
|
+
export declare const ImageTemplate: ElementViewTemplate<Image_2>;
|
|
1577
|
+
|
|
1124
1578
|
export declare const lineHeightBase100: CSSDesignToken<string>;
|
|
1125
1579
|
|
|
1126
1580
|
export declare const lineHeightBase200: CSSDesignToken<string>;
|