@fluentui/web-components 3.0.0-alpha.3 → 3.0.0-alpha.5
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 +69 -1
- package/CHANGELOG.md +20 -2
- package/dist/dts/accordion/accordion.d.ts +7 -0
- package/dist/dts/accordion/accordion.definition.d.ts +11 -0
- package/dist/dts/accordion/accordion.styles.d.ts +1 -0
- package/dist/dts/accordion/accordion.template.d.ts +3 -0
- package/dist/dts/accordion/define.d.ts +1 -0
- package/dist/dts/accordion/index.d.ts +4 -0
- package/dist/dts/accordion-item/accordion-item.d.ts +33 -0
- package/dist/dts/accordion-item/accordion-item.definition.d.ts +11 -0
- package/dist/dts/accordion-item/accordion-item.options.d.ts +27 -0
- package/dist/dts/accordion-item/accordion-item.styles.d.ts +1 -0
- package/dist/dts/accordion-item/accordion-item.template.d.ts +7 -0
- package/dist/dts/accordion-item/define.d.ts +1 -0
- package/dist/dts/accordion-item/index.d.ts +5 -0
- package/dist/dts/index.d.ts +2 -0
- package/dist/esm/accordion/accordion.definition.js +19 -0
- package/dist/esm/accordion/accordion.definition.js.map +1 -0
- package/dist/esm/accordion/accordion.js +8 -0
- package/dist/esm/accordion/accordion.js.map +1 -0
- package/dist/esm/accordion/accordion.styles.js +11 -0
- package/dist/esm/accordion/accordion.styles.js.map +1 -0
- package/dist/esm/accordion/accordion.template.js +3 -0
- package/dist/esm/accordion/accordion.template.js.map +1 -0
- package/dist/esm/accordion/define.js +4 -0
- package/dist/esm/accordion/define.js.map +1 -0
- package/dist/esm/accordion/index.js +5 -0
- package/dist/esm/accordion/index.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.definition.js +19 -0
- package/dist/esm/accordion-item/accordion-item.definition.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.js +29 -0
- package/dist/esm/accordion-item/accordion-item.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.options.js +17 -0
- package/dist/esm/accordion-item/accordion-item.options.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.styles.js +197 -0
- package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.template.js +37 -0
- package/dist/esm/accordion-item/accordion-item.template.js.map +1 -0
- package/dist/esm/accordion-item/define.js +4 -0
- package/dist/esm/accordion-item/define.js.map +1 -0
- package/dist/esm/accordion-item/index.js +6 -0
- package/dist/esm/accordion-item/index.js.map +1 -0
- package/dist/esm/badge/badge.definition.js +1 -0
- package/dist/esm/badge/badge.definition.js.map +1 -0
- package/dist/esm/badge/badge.js +1 -0
- package/dist/esm/badge/badge.js.map +1 -0
- package/dist/esm/badge/badge.options.js +1 -0
- package/dist/esm/badge/badge.options.js.map +1 -0
- package/dist/esm/badge/badge.styles.js +1 -0
- package/dist/esm/badge/badge.styles.js.map +1 -0
- package/dist/esm/badge/badge.template.js +1 -0
- package/dist/esm/badge/badge.template.js.map +1 -0
- package/dist/esm/badge/define.js +1 -0
- package/dist/esm/badge/define.js.map +1 -0
- package/dist/esm/badge/index.js +1 -0
- package/dist/esm/badge/index.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.definition.js +1 -0
- package/dist/esm/counter-badge/counter-badge.definition.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.js +1 -0
- package/dist/esm/counter-badge/counter-badge.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.options.js +1 -0
- package/dist/esm/counter-badge/counter-badge.options.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.styles.js +1 -0
- package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.template.js +1 -0
- package/dist/esm/counter-badge/counter-badge.template.js.map +1 -0
- package/dist/esm/counter-badge/define.js +1 -0
- package/dist/esm/counter-badge/define.js.map +1 -0
- package/dist/esm/counter-badge/index.js +1 -0
- package/dist/esm/counter-badge/index.js.map +1 -0
- package/dist/esm/fluent-design-system.js +1 -0
- package/dist/esm/fluent-design-system.js.map +1 -0
- package/dist/esm/index-rollup.js +1 -0
- package/dist/esm/index-rollup.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/progress-bar/define.js +1 -0
- package/dist/esm/progress-bar/define.js.map +1 -0
- package/dist/esm/progress-bar/index.js +1 -0
- package/dist/esm/progress-bar/index.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.definition.js +1 -0
- package/dist/esm/progress-bar/progress-bar.definition.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.js +1 -0
- package/dist/esm/progress-bar/progress-bar.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.options.js +1 -0
- package/dist/esm/progress-bar/progress-bar.options.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.styles.js +1 -0
- package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.template.js +1 -0
- package/dist/esm/progress-bar/progress-bar.template.js.map +1 -0
- package/dist/esm/spinner/define.js +1 -0
- package/dist/esm/spinner/define.js.map +1 -0
- package/dist/esm/spinner/index.js +1 -0
- package/dist/esm/spinner/index.js.map +1 -0
- package/dist/esm/spinner/spinner.definition.js +1 -0
- package/dist/esm/spinner/spinner.definition.js.map +1 -0
- package/dist/esm/spinner/spinner.js +1 -0
- package/dist/esm/spinner/spinner.js.map +1 -0
- package/dist/esm/spinner/spinner.options.js +1 -0
- package/dist/esm/spinner/spinner.options.js.map +1 -0
- package/dist/esm/spinner/spinner.styles.js +1 -0
- package/dist/esm/spinner/spinner.styles.js.map +1 -0
- package/dist/esm/spinner/spinner.template.js +1 -0
- package/dist/esm/spinner/spinner.template.js.map +1 -0
- package/dist/esm/styles/index.js +1 -0
- package/dist/esm/styles/index.js.map +1 -0
- package/dist/esm/styles/partials/badge.partials.js +1 -0
- package/dist/esm/styles/partials/badge.partials.js.map +1 -0
- package/dist/esm/styles/partials/index.js +1 -0
- package/dist/esm/styles/partials/index.js.map +1 -0
- package/dist/esm/text/define.js +1 -0
- package/dist/esm/text/define.js.map +1 -0
- package/dist/esm/text/index.js +1 -0
- package/dist/esm/text/index.js.map +1 -0
- package/dist/esm/text/text.definition.js +1 -0
- package/dist/esm/text/text.definition.js.map +1 -0
- package/dist/esm/text/text.js +1 -0
- package/dist/esm/text/text.js.map +1 -0
- package/dist/esm/text/text.options.js +1 -0
- package/dist/esm/text/text.options.js.map +1 -0
- package/dist/esm/text/text.styles.js +1 -0
- package/dist/esm/text/text.styles.js.map +1 -0
- package/dist/esm/text/text.template.js +1 -0
- package/dist/esm/text/text.template.js.map +1 -0
- package/dist/esm/theme/design-tokens.js +1 -0
- package/dist/esm/theme/design-tokens.js.map +1 -0
- package/dist/esm/theme/index.js +1 -0
- package/dist/esm/theme/index.js.map +1 -0
- package/dist/esm/theme/set-theme.js +1 -0
- package/dist/esm/theme/set-theme.js.map +1 -0
- package/dist/fluent-web-components.api.json +364 -7
- package/dist/web-components.d.ts +109 -3
- package/dist/web-components.js +1077 -474
- package/dist/web-components.min.js +119 -113
- package/docs/api-report.md +64 -3
- package/package.json +15 -10
- package/.eslintrc.json +0 -62
- package/build/clean.cjs +0 -29
- package/build/transform-fragments.js +0 -29
- package/dist/dts/badge/badge.stories.d.ts +0 -12
- package/dist/dts/counter-badge/counter-badge.stories.d.ts +0 -14
- package/dist/dts/progress-bar/progress-bar.stories.d.ts +0 -9
- package/dist/dts/spinner/spinner.stories.d.ts +0 -8
- package/dist/dts/text/text.stories.d.ts +0 -8
- package/dist/dts/theme/theme.stories.d.ts +0 -5
- package/dist/esm/badge/badge.stories.js +0 -108
- package/dist/esm/counter-badge/counter-badge.stories.js +0 -102
- package/dist/esm/progress-bar/progress-bar.stories.js +0 -60
- package/dist/esm/spinner/spinner.stories.js +0 -45
- package/dist/esm/text/text.stories.js +0 -111
- package/dist/esm/theme/theme.stories.js +0 -21
- package/public/SegoeUI-VF.ttf +0 -0
- package/public/favicon.ico +0 -0
- package/public/favicon.png +0 -0
- package/public/theme-switch.ts +0 -13
- package/rollup.config.js +0 -58
- package/storybook-typings.d.ts +0 -4
|
@@ -172,6 +172,363 @@
|
|
|
172
172
|
"name": "",
|
|
173
173
|
"preserveMemberOrder": false,
|
|
174
174
|
"members": [
|
|
175
|
+
{
|
|
176
|
+
"kind": "Class",
|
|
177
|
+
"canonicalReference": "@fluentui/web-components!Accordion:class",
|
|
178
|
+
"docComment": "/**\n * The base class used for constructing a fluent-accordion custom element\n *\n * @public\n */\n",
|
|
179
|
+
"excerptTokens": [
|
|
180
|
+
{
|
|
181
|
+
"kind": "Content",
|
|
182
|
+
"text": "export declare class Accordion extends "
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"kind": "Reference",
|
|
186
|
+
"text": "FASTAccordion",
|
|
187
|
+
"canonicalReference": "@microsoft/fast-foundation!FASTAccordion:class"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"kind": "Content",
|
|
191
|
+
"text": " "
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"releaseTag": "Public",
|
|
195
|
+
"name": "Accordion",
|
|
196
|
+
"preserveMemberOrder": false,
|
|
197
|
+
"members": [],
|
|
198
|
+
"extendsTokenRange": {
|
|
199
|
+
"startIndex": 1,
|
|
200
|
+
"endIndex": 2
|
|
201
|
+
},
|
|
202
|
+
"implementsTokenRanges": []
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"kind": "Variable",
|
|
206
|
+
"canonicalReference": "@fluentui/web-components!accordionDefinition:var",
|
|
207
|
+
"docComment": "/**\n * The Fluent Accordion Element. Implements {@link @microsoft/fast-foundation#Accordion}, {@link @microsoft/fast-foundation#accordionTemplate}\n *\n * @remarks\n *\n * HTML Element: \\<fluent-accordion\\>\n *\n * @public\n */\n",
|
|
208
|
+
"excerptTokens": [
|
|
209
|
+
{
|
|
210
|
+
"kind": "Content",
|
|
211
|
+
"text": "definition: "
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"kind": "Content",
|
|
215
|
+
"text": "import(\"@microsoft/fast-element\")."
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"kind": "Reference",
|
|
219
|
+
"text": "FASTElementDefinition",
|
|
220
|
+
"canonicalReference": "@microsoft/fast-element!FASTElementDefinition:class"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"kind": "Content",
|
|
224
|
+
"text": "<typeof "
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"kind": "Reference",
|
|
228
|
+
"text": "Accordion",
|
|
229
|
+
"canonicalReference": "@fluentui/web-components!Accordion:class"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"kind": "Content",
|
|
233
|
+
"text": ">"
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"isReadonly": true,
|
|
237
|
+
"releaseTag": "Public",
|
|
238
|
+
"name": "accordionDefinition",
|
|
239
|
+
"variableTypeTokenRange": {
|
|
240
|
+
"startIndex": 1,
|
|
241
|
+
"endIndex": 6
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"kind": "Variable",
|
|
246
|
+
"canonicalReference": "@fluentui/web-components!accordionItemDefinition:var",
|
|
247
|
+
"docComment": "/**\n * The Fluent AccordionItem Element. Implements {@link @microsoft/fast-foundation#AccordionItem}, {@link @microsoft/fast-foundation#accordionItemTemplate}\n *\n * @remarks\n *\n * HTML Element: \\<fluent-accordion-item\\>\n *\n * @public\n */\n",
|
|
248
|
+
"excerptTokens": [
|
|
249
|
+
{
|
|
250
|
+
"kind": "Content",
|
|
251
|
+
"text": "definition: "
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"kind": "Content",
|
|
255
|
+
"text": "import(\"@microsoft/fast-element\")."
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"kind": "Reference",
|
|
259
|
+
"text": "FASTElementDefinition",
|
|
260
|
+
"canonicalReference": "@microsoft/fast-element!FASTElementDefinition:class"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"kind": "Content",
|
|
264
|
+
"text": "<typeof "
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"kind": "Reference",
|
|
268
|
+
"text": "AccordionItem",
|
|
269
|
+
"canonicalReference": "@fluentui/web-components!AccordionItem:class"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"kind": "Content",
|
|
273
|
+
"text": ">"
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"isReadonly": true,
|
|
277
|
+
"releaseTag": "Public",
|
|
278
|
+
"name": "accordionItemDefinition",
|
|
279
|
+
"variableTypeTokenRange": {
|
|
280
|
+
"startIndex": 1,
|
|
281
|
+
"endIndex": 6
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"kind": "TypeAlias",
|
|
286
|
+
"canonicalReference": "@fluentui/web-components!AccordionItemExpandIconPosition:type",
|
|
287
|
+
"docComment": "/**\n * Applies expand/collapse icon position\n *\n * @public\n */\n",
|
|
288
|
+
"excerptTokens": [
|
|
289
|
+
{
|
|
290
|
+
"kind": "Content",
|
|
291
|
+
"text": "export declare type AccordionItemExpandIconPosition = "
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"kind": "Reference",
|
|
295
|
+
"text": "ValuesOf",
|
|
296
|
+
"canonicalReference": "@microsoft/fast-foundation!ValuesOf:type"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"kind": "Content",
|
|
300
|
+
"text": "<typeof "
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"kind": "Reference",
|
|
304
|
+
"text": "AccordionItemExpandIconPosition",
|
|
305
|
+
"canonicalReference": "@fluentui/web-components!AccordionItemExpandIconPosition:var"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"kind": "Content",
|
|
309
|
+
"text": ">"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"kind": "Content",
|
|
313
|
+
"text": ";"
|
|
314
|
+
}
|
|
315
|
+
],
|
|
316
|
+
"releaseTag": "Public",
|
|
317
|
+
"name": "AccordionItemExpandIconPosition",
|
|
318
|
+
"typeTokenRange": {
|
|
319
|
+
"startIndex": 1,
|
|
320
|
+
"endIndex": 5
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"kind": "Variable",
|
|
325
|
+
"canonicalReference": "@fluentui/web-components!AccordionItemExpandIconPosition:var",
|
|
326
|
+
"docComment": "/**\n * An Accordion Item expand/collapse icon can appear at the start or end of the accordion\n */\n",
|
|
327
|
+
"excerptTokens": [
|
|
328
|
+
{
|
|
329
|
+
"kind": "Content",
|
|
330
|
+
"text": "AccordionItemExpandIconPosition: "
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"kind": "Content",
|
|
334
|
+
"text": "{\n readonly start: \"start\";\n readonly end: \"end\";\n}"
|
|
335
|
+
}
|
|
336
|
+
],
|
|
337
|
+
"isReadonly": true,
|
|
338
|
+
"releaseTag": "Public",
|
|
339
|
+
"name": "AccordionItemExpandIconPosition",
|
|
340
|
+
"variableTypeTokenRange": {
|
|
341
|
+
"startIndex": 1,
|
|
342
|
+
"endIndex": 2
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"kind": "TypeAlias",
|
|
347
|
+
"canonicalReference": "@fluentui/web-components!AccordionItemSize:type",
|
|
348
|
+
"docComment": "/**\n * Applies font size to accordion header\n *\n * @public\n */\n",
|
|
349
|
+
"excerptTokens": [
|
|
350
|
+
{
|
|
351
|
+
"kind": "Content",
|
|
352
|
+
"text": "export declare type AccordionItemSize = "
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"kind": "Reference",
|
|
356
|
+
"text": "ValuesOf",
|
|
357
|
+
"canonicalReference": "@microsoft/fast-foundation!ValuesOf:type"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"kind": "Content",
|
|
361
|
+
"text": "<typeof "
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"kind": "Reference",
|
|
365
|
+
"text": "AccordionItemSize",
|
|
366
|
+
"canonicalReference": "@fluentui/web-components!AccordionItemSize:var"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"kind": "Content",
|
|
370
|
+
"text": ">"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"kind": "Content",
|
|
374
|
+
"text": ";"
|
|
375
|
+
}
|
|
376
|
+
],
|
|
377
|
+
"releaseTag": "Public",
|
|
378
|
+
"name": "AccordionItemSize",
|
|
379
|
+
"typeTokenRange": {
|
|
380
|
+
"startIndex": 1,
|
|
381
|
+
"endIndex": 5
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"kind": "Variable",
|
|
386
|
+
"canonicalReference": "@fluentui/web-components!AccordionItemSize:var",
|
|
387
|
+
"docComment": "/**\n * An Accordion Item header font size can be small, medium, large, and extra-large\n */\n",
|
|
388
|
+
"excerptTokens": [
|
|
389
|
+
{
|
|
390
|
+
"kind": "Content",
|
|
391
|
+
"text": "AccordionItemSize: "
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"kind": "Content",
|
|
395
|
+
"text": "{\n readonly small: \"small\";\n readonly medium: \"medium\";\n readonly large: \"large\";\n readonly extraLarge: \"extra-large\";\n}"
|
|
396
|
+
}
|
|
397
|
+
],
|
|
398
|
+
"isReadonly": true,
|
|
399
|
+
"releaseTag": "Public",
|
|
400
|
+
"name": "AccordionItemSize",
|
|
401
|
+
"variableTypeTokenRange": {
|
|
402
|
+
"startIndex": 1,
|
|
403
|
+
"endIndex": 2
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"kind": "Variable",
|
|
408
|
+
"canonicalReference": "@fluentui/web-components!accordionItemStyles:var",
|
|
409
|
+
"docComment": "",
|
|
410
|
+
"excerptTokens": [
|
|
411
|
+
{
|
|
412
|
+
"kind": "Content",
|
|
413
|
+
"text": "styles: "
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"kind": "Content",
|
|
417
|
+
"text": "import(\"@microsoft/fast-element\")."
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"kind": "Reference",
|
|
421
|
+
"text": "ElementStyles",
|
|
422
|
+
"canonicalReference": "@microsoft/fast-element!ElementStyles:class"
|
|
423
|
+
}
|
|
424
|
+
],
|
|
425
|
+
"isReadonly": true,
|
|
426
|
+
"releaseTag": "Public",
|
|
427
|
+
"name": "accordionItemStyles",
|
|
428
|
+
"variableTypeTokenRange": {
|
|
429
|
+
"startIndex": 1,
|
|
430
|
+
"endIndex": 3
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"kind": "Variable",
|
|
435
|
+
"canonicalReference": "@fluentui/web-components!accordionItemTemplate:var",
|
|
436
|
+
"docComment": "/**\n * The template for the fluent-accordion component.\n *\n * @public\n */\n",
|
|
437
|
+
"excerptTokens": [
|
|
438
|
+
{
|
|
439
|
+
"kind": "Content",
|
|
440
|
+
"text": "template: "
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"kind": "Reference",
|
|
444
|
+
"text": "ElementViewTemplate",
|
|
445
|
+
"canonicalReference": "@microsoft/fast-element!ElementViewTemplate:interface"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"kind": "Content",
|
|
449
|
+
"text": "<"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"kind": "Reference",
|
|
453
|
+
"text": "AccordionItem",
|
|
454
|
+
"canonicalReference": "@fluentui/web-components!AccordionItem:class"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"kind": "Content",
|
|
458
|
+
"text": ">"
|
|
459
|
+
}
|
|
460
|
+
],
|
|
461
|
+
"isReadonly": true,
|
|
462
|
+
"releaseTag": "Public",
|
|
463
|
+
"name": "accordionItemTemplate",
|
|
464
|
+
"variableTypeTokenRange": {
|
|
465
|
+
"startIndex": 1,
|
|
466
|
+
"endIndex": 5
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"kind": "Variable",
|
|
471
|
+
"canonicalReference": "@fluentui/web-components!accordionStyles:var",
|
|
472
|
+
"docComment": "",
|
|
473
|
+
"excerptTokens": [
|
|
474
|
+
{
|
|
475
|
+
"kind": "Content",
|
|
476
|
+
"text": "styles: "
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"kind": "Content",
|
|
480
|
+
"text": "import(\"@microsoft/fast-element\")."
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"kind": "Reference",
|
|
484
|
+
"text": "ElementStyles",
|
|
485
|
+
"canonicalReference": "@microsoft/fast-element!ElementStyles:class"
|
|
486
|
+
}
|
|
487
|
+
],
|
|
488
|
+
"isReadonly": true,
|
|
489
|
+
"releaseTag": "Public",
|
|
490
|
+
"name": "accordionStyles",
|
|
491
|
+
"variableTypeTokenRange": {
|
|
492
|
+
"startIndex": 1,
|
|
493
|
+
"endIndex": 3
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"kind": "Variable",
|
|
498
|
+
"canonicalReference": "@fluentui/web-components!accordionTemplate:var",
|
|
499
|
+
"docComment": "",
|
|
500
|
+
"excerptTokens": [
|
|
501
|
+
{
|
|
502
|
+
"kind": "Content",
|
|
503
|
+
"text": "template: "
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"kind": "Reference",
|
|
507
|
+
"text": "ElementViewTemplate",
|
|
508
|
+
"canonicalReference": "@microsoft/fast-element!ElementViewTemplate:interface"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"kind": "Content",
|
|
512
|
+
"text": "<"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"kind": "Reference",
|
|
516
|
+
"text": "Accordion",
|
|
517
|
+
"canonicalReference": "@fluentui/web-components!Accordion:class"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"kind": "Content",
|
|
521
|
+
"text": ">"
|
|
522
|
+
}
|
|
523
|
+
],
|
|
524
|
+
"isReadonly": true,
|
|
525
|
+
"releaseTag": "Public",
|
|
526
|
+
"name": "accordionTemplate",
|
|
527
|
+
"variableTypeTokenRange": {
|
|
528
|
+
"startIndex": 1,
|
|
529
|
+
"endIndex": 5
|
|
530
|
+
}
|
|
531
|
+
},
|
|
175
532
|
{
|
|
176
533
|
"kind": "Class",
|
|
177
534
|
"canonicalReference": "@fluentui/web-components!Badge:class",
|
|
@@ -11941,7 +12298,7 @@
|
|
|
11941
12298
|
},
|
|
11942
12299
|
{
|
|
11943
12300
|
"kind": "Class",
|
|
11944
|
-
"canonicalReference": "@fluentui/web-components!
|
|
12301
|
+
"canonicalReference": "@fluentui/web-components!ProgressBar_2:class",
|
|
11945
12302
|
"docComment": "/**\n * The base class used for constructing a fluent-progress-bar custom element\n *\n * @public\n */\n",
|
|
11946
12303
|
"excerptTokens": [
|
|
11947
12304
|
{
|
|
@@ -11959,12 +12316,12 @@
|
|
|
11959
12316
|
}
|
|
11960
12317
|
],
|
|
11961
12318
|
"releaseTag": "Public",
|
|
11962
|
-
"name": "
|
|
12319
|
+
"name": "ProgressBar_2",
|
|
11963
12320
|
"preserveMemberOrder": false,
|
|
11964
12321
|
"members": [
|
|
11965
12322
|
{
|
|
11966
12323
|
"kind": "Property",
|
|
11967
|
-
"canonicalReference": "@fluentui/web-components!
|
|
12324
|
+
"canonicalReference": "@fluentui/web-components!ProgressBar_2#shape:member",
|
|
11968
12325
|
"docComment": "/**\n * The shape of the progress bar\n *\n * @remarks\n *\n * HTML Attribute: shape\n *\n * @public\n */\n",
|
|
11969
12326
|
"excerptTokens": [
|
|
11970
12327
|
{
|
|
@@ -11994,7 +12351,7 @@
|
|
|
11994
12351
|
},
|
|
11995
12352
|
{
|
|
11996
12353
|
"kind": "Property",
|
|
11997
|
-
"canonicalReference": "@fluentui/web-components!
|
|
12354
|
+
"canonicalReference": "@fluentui/web-components!ProgressBar_2#thickness:member",
|
|
11998
12355
|
"docComment": "/**\n * The thickness of the progress bar\n *\n * @remarks\n *\n * HTML Attribute: thickness\n *\n * @public\n */\n",
|
|
11999
12356
|
"excerptTokens": [
|
|
12000
12357
|
{
|
|
@@ -12024,7 +12381,7 @@
|
|
|
12024
12381
|
},
|
|
12025
12382
|
{
|
|
12026
12383
|
"kind": "Property",
|
|
12027
|
-
"canonicalReference": "@fluentui/web-components!
|
|
12384
|
+
"canonicalReference": "@fluentui/web-components!ProgressBar_2#validationState:member",
|
|
12028
12385
|
"docComment": "/**\n * The validation state of the progress bar\n *\n * @remarks\n *\n * HTML Attribute: validation-state\n *\n * @public\n */\n",
|
|
12029
12386
|
"excerptTokens": [
|
|
12030
12387
|
{
|
|
@@ -12088,7 +12445,7 @@
|
|
|
12088
12445
|
{
|
|
12089
12446
|
"kind": "Reference",
|
|
12090
12447
|
"text": "ProgressBar",
|
|
12091
|
-
"canonicalReference": "@fluentui/web-components!
|
|
12448
|
+
"canonicalReference": "@fluentui/web-components!ProgressBar_2:class"
|
|
12092
12449
|
},
|
|
12093
12450
|
{
|
|
12094
12451
|
"kind": "Content",
|
|
@@ -12212,7 +12569,7 @@
|
|
|
12212
12569
|
{
|
|
12213
12570
|
"kind": "Reference",
|
|
12214
12571
|
"text": "ProgressBar",
|
|
12215
|
-
"canonicalReference": "@fluentui/web-components!
|
|
12572
|
+
"canonicalReference": "@fluentui/web-components!ProgressBar_2:class"
|
|
12216
12573
|
},
|
|
12217
12574
|
{
|
|
12218
12575
|
"kind": "Content",
|
package/dist/web-components.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { CSSDesignToken } from '@microsoft/fast-foundation';
|
|
2
2
|
import { ElementStyles } from '@microsoft/fast-element';
|
|
3
3
|
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
4
|
+
import { FASTAccordion } from '@microsoft/fast-foundation';
|
|
5
|
+
import { FASTAccordionItem } from '@microsoft/fast-foundation';
|
|
4
6
|
import { FASTElement } from '@microsoft/fast-element';
|
|
5
7
|
import { FASTElementDefinition } from '@microsoft/fast-element';
|
|
6
8
|
import { FASTProgress } from '@microsoft/fast-foundation';
|
|
@@ -11,6 +13,109 @@ import { StaticallyComposableHTML } from '@microsoft/fast-foundation';
|
|
|
11
13
|
import type { Theme } from '@fluentui/tokens';
|
|
12
14
|
import { ValuesOf } from '@microsoft/fast-foundation';
|
|
13
15
|
|
|
16
|
+
/**
|
|
17
|
+
* The base class used for constructing a fluent-accordion custom element
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class Accordion extends FASTAccordion {
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* The Fluent Accordion Element. Implements {@link @microsoft/fast-foundation#Accordion },
|
|
25
|
+
* {@link @microsoft/fast-foundation#accordionTemplate}
|
|
26
|
+
*
|
|
27
|
+
*
|
|
28
|
+
* @public
|
|
29
|
+
* @remarks
|
|
30
|
+
* HTML Element: \<fluent-accordion\>
|
|
31
|
+
*/
|
|
32
|
+
export declare const accordionDefinition: FASTElementDefinition<typeof Accordion>;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
export declare class AccordionItem extends FASTAccordionItem {
|
|
38
|
+
/**
|
|
39
|
+
* Defines accordion header font size.
|
|
40
|
+
*
|
|
41
|
+
* @public
|
|
42
|
+
* @default 'medium'
|
|
43
|
+
* @remarks
|
|
44
|
+
* HTML Attribute: size
|
|
45
|
+
*/
|
|
46
|
+
size: AccordionItemSize;
|
|
47
|
+
/**
|
|
48
|
+
* Sets the width of the focus state.
|
|
49
|
+
*
|
|
50
|
+
* @public
|
|
51
|
+
* @remarks
|
|
52
|
+
* HTML Attribute: block
|
|
53
|
+
*/
|
|
54
|
+
block: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Sets expand and collapsed icon position.
|
|
57
|
+
*
|
|
58
|
+
* @public
|
|
59
|
+
* @default 'start'
|
|
60
|
+
* @remarks
|
|
61
|
+
* HTML Attribute: expandIconPosition
|
|
62
|
+
*/
|
|
63
|
+
expandIconPosition: AccordionItemExpandIconPosition;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* The Fluent AccordionItem Element. Implements {@link @microsoft/fast-foundation#AccordionItem },
|
|
68
|
+
* {@link @microsoft/fast-foundation#accordionItemTemplate}
|
|
69
|
+
*
|
|
70
|
+
*
|
|
71
|
+
* @public
|
|
72
|
+
* @remarks
|
|
73
|
+
* HTML Element: \<fluent-accordion-item\>
|
|
74
|
+
*/
|
|
75
|
+
export declare const accordionItemDefinition: FASTElementDefinition<typeof AccordionItem>;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* An Accordion Item expand/collapse icon can appear at the start or end of the accordion
|
|
79
|
+
*/
|
|
80
|
+
export declare const AccordionItemExpandIconPosition: {
|
|
81
|
+
readonly start: "start";
|
|
82
|
+
readonly end: "end";
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Applies expand/collapse icon position
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare type AccordionItemExpandIconPosition = ValuesOf<typeof AccordionItemExpandIconPosition>;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* An Accordion Item header font size can be small, medium, large, and extra-large
|
|
93
|
+
*/
|
|
94
|
+
export declare const AccordionItemSize: {
|
|
95
|
+
readonly small: "small";
|
|
96
|
+
readonly medium: "medium";
|
|
97
|
+
readonly large: "large";
|
|
98
|
+
readonly extraLarge: "extra-large";
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Applies font size to accordion header
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export declare type AccordionItemSize = ValuesOf<typeof AccordionItemSize>;
|
|
106
|
+
|
|
107
|
+
export declare const accordionItemStyles: ElementStyles;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* The template for the fluent-accordion component.
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export declare const accordionItemTemplate: ElementViewTemplate<AccordionItem>;
|
|
114
|
+
|
|
115
|
+
export declare const accordionStyles: ElementStyles;
|
|
116
|
+
|
|
117
|
+
export declare const accordionTemplate: ElementViewTemplate<Accordion>;
|
|
118
|
+
|
|
14
119
|
/**
|
|
15
120
|
* The base class used for constructing a fluent-badge custom element
|
|
16
121
|
* @public
|
|
@@ -1030,7 +1135,7 @@ export declare const lineHeightHero900: CSSDesignToken<string>;
|
|
|
1030
1135
|
* The base class used for constructing a fluent-progress-bar custom element
|
|
1031
1136
|
* @public
|
|
1032
1137
|
*/
|
|
1033
|
-
|
|
1138
|
+
declare class ProgressBar_2 extends FASTProgress {
|
|
1034
1139
|
/**
|
|
1035
1140
|
* The thickness of the progress bar
|
|
1036
1141
|
*
|
|
@@ -1054,6 +1159,7 @@ export declare class ProgressBar extends FASTProgress {
|
|
|
1054
1159
|
*/
|
|
1055
1160
|
validationState: ProgressBarValidationState | null;
|
|
1056
1161
|
}
|
|
1162
|
+
export { ProgressBar_2 as ProgressBar }
|
|
1057
1163
|
|
|
1058
1164
|
/**
|
|
1059
1165
|
* The Fluent ProgressBar Element.
|
|
@@ -1063,7 +1169,7 @@ export declare class ProgressBar extends FASTProgress {
|
|
|
1063
1169
|
* @remarks
|
|
1064
1170
|
* HTML Element: \<fluent-progress-bar\>
|
|
1065
1171
|
*/
|
|
1066
|
-
export declare const ProgressBarDefinition: FASTElementDefinition<typeof
|
|
1172
|
+
export declare const ProgressBarDefinition: FASTElementDefinition<typeof ProgressBar_2>;
|
|
1067
1173
|
|
|
1068
1174
|
/**
|
|
1069
1175
|
* ProgressBarShape Constants
|
|
@@ -1085,7 +1191,7 @@ export declare type ProgressBarShape = ValuesOf<typeof ProgressBarShape>;
|
|
|
1085
1191
|
*/
|
|
1086
1192
|
export declare const ProgressBarStyles: ElementStyles;
|
|
1087
1193
|
|
|
1088
|
-
export declare const ProgressBarTemplate: ElementViewTemplate<
|
|
1194
|
+
export declare const ProgressBarTemplate: ElementViewTemplate<ProgressBar_2>;
|
|
1089
1195
|
|
|
1090
1196
|
/**
|
|
1091
1197
|
* ProgressBarThickness Constants
|