@fluentui/web-components 2.5.12 → 3.0.0-alpha.10
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 +348 -1
- package/CHANGELOG.md +196 -100
- 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 -3
- 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 -22
- 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/index.d.ts +5 -0
- 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/badge/badge.d.ts +49 -0
- package/dist/dts/badge/badge.definition.d.ts +11 -0
- package/dist/dts/badge/badge.options.d.ts +73 -0
- package/dist/dts/badge/badge.styles.d.ts +4 -3
- package/dist/dts/badge/badge.template.d.ts +9 -0
- package/dist/dts/badge/define.d.ts +1 -0
- package/dist/dts/badge/index.d.ts +5 -29
- package/dist/dts/counter-badge/counter-badge.d.ts +90 -0
- package/dist/dts/counter-badge/counter-badge.definition.d.ts +11 -0
- package/dist/dts/counter-badge/counter-badge.options.d.ts +69 -0
- package/dist/dts/counter-badge/counter-badge.styles.d.ts +4 -0
- package/dist/dts/counter-badge/counter-badge.template.d.ts +7 -0
- package/dist/dts/counter-badge/define.d.ts +1 -0
- package/dist/dts/counter-badge/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 -3
- package/dist/dts/divider/divider.template.d.ts +7 -0
- package/dist/dts/divider/index.d.ts +5 -21
- package/dist/dts/fluent-design-system.d.ts +5 -9
- 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-rollup.d.ts +1 -8
- package/dist/dts/index.d.ts +12 -49
- package/dist/dts/progress-bar/define.d.ts +1 -0
- package/dist/dts/progress-bar/index.d.ts +5 -0
- package/dist/dts/progress-bar/progress-bar.d.ts +30 -0
- package/dist/dts/progress-bar/progress-bar.definition.d.ts +10 -0
- package/dist/dts/progress-bar/progress-bar.options.d.ts +41 -0
- package/dist/dts/progress-bar/progress-bar.styles.d.ts +4 -0
- package/dist/dts/progress-bar/progress-bar.template.d.ts +3 -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.styles.d.ts +1 -0
- package/dist/dts/spinner/spinner.template.d.ts +3 -0
- package/dist/dts/styles/index.d.ts +1 -5
- package/dist/dts/styles/partials/badge.partials.d.ts +28 -0
- package/dist/dts/styles/partials/index.d.ts +1 -0
- package/dist/dts/switch/define.d.ts +1 -0
- package/dist/dts/switch/index.d.ts +5 -21
- package/dist/dts/switch/switch.d.ts +13 -0
- package/dist/dts/switch/switch.definition.d.ts +9 -0
- package/dist/dts/switch/switch.options.d.ts +15 -0
- package/dist/dts/switch/switch.styles.d.ts +1 -3
- package/dist/dts/switch/switch.template.d.ts +3 -0
- package/dist/dts/text/define.d.ts +1 -0
- package/dist/dts/text/index.d.ts +5 -0
- package/dist/dts/text/text.d.ts +91 -0
- package/dist/dts/text/text.definition.d.ts +10 -0
- package/dist/dts/text/text.options.d.ts +67 -0
- package/dist/dts/text/text.styles.d.ts +4 -0
- package/dist/dts/text/text.template.d.ts +6 -0
- package/dist/dts/theme/design-tokens.d.ts +384 -0
- package/dist/dts/theme/index.d.ts +2 -0
- package/dist/dts/theme/set-theme.d.ts +6 -0
- package/dist/dts/utils/get-initials.d.ts +18 -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 +9 -11
- 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 -27
- 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/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/badge/badge.definition.js +19 -0
- package/dist/esm/badge/badge.definition.js.map +1 -0
- package/dist/esm/badge/badge.js +43 -0
- package/dist/esm/badge/badge.js.map +1 -0
- package/dist/esm/badge/badge.options.js +46 -0
- package/dist/esm/badge/badge.options.js.map +1 -0
- package/dist/esm/badge/badge.styles.js +26 -36
- package/dist/esm/badge/badge.styles.js.map +1 -0
- package/dist/esm/badge/badge.template.js +15 -0
- package/dist/esm/badge/badge.template.js.map +1 -0
- package/dist/esm/badge/define.js +4 -0
- package/dist/esm/badge/define.js.map +1 -0
- package/dist/esm/badge/index.js +6 -45
- package/dist/esm/badge/index.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.definition.js +19 -0
- package/dist/esm/counter-badge/counter-badge.definition.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.js +90 -0
- package/dist/esm/counter-badge/counter-badge.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.options.js +43 -0
- package/dist/esm/counter-badge/counter-badge.options.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.styles.js +31 -0
- package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.template.js +13 -0
- package/dist/esm/counter-badge/counter-badge.template.js.map +1 -0
- package/dist/esm/counter-badge/define.js +4 -0
- package/dist/esm/counter-badge/define.js.map +1 -0
- package/dist/esm/counter-badge/index.js +6 -0
- package/dist/esm/counter-badge/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 +109 -9
- 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 -26
- package/dist/esm/divider/index.js.map +1 -0
- package/dist/esm/fluent-design-system.js +6 -11
- package/dist/esm/fluent-design-system.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-rollup.js +2 -12
- package/dist/esm/index-rollup.js.map +1 -0
- package/dist/esm/index.js +13 -49
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/progress-bar/define.js +4 -0
- package/dist/esm/progress-bar/define.js.map +1 -0
- package/dist/esm/progress-bar/index.js +6 -0
- package/dist/esm/progress-bar/index.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.definition.js +18 -0
- package/dist/esm/progress-bar/progress-bar.definition.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.js +29 -0
- package/dist/esm/progress-bar/progress-bar.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.options.js +26 -0
- package/dist/esm/progress-bar/progress-bar.options.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.styles.js +156 -0
- package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.template.js +6 -0
- package/dist/esm/progress-bar/progress-bar.template.js.map +1 -0
- package/dist/esm/spinner/define.js +4 -0
- package/dist/esm/spinner/define.js.map +1 -0
- package/dist/esm/spinner/index.js +6 -0
- package/dist/esm/spinner/index.js.map +1 -0
- package/dist/esm/spinner/spinner.definition.js +19 -0
- package/dist/esm/spinner/spinner.definition.js.map +1 -0
- package/dist/esm/spinner/spinner.js +16 -0
- package/dist/esm/spinner/spinner.js.map +1 -0
- package/dist/esm/spinner/spinner.options.js +22 -0
- package/dist/esm/spinner/spinner.options.js.map +1 -0
- package/dist/esm/spinner/spinner.styles.js +96 -0
- package/dist/esm/spinner/spinner.styles.js.map +1 -0
- package/dist/esm/spinner/spinner.template.js +22 -0
- package/dist/esm/spinner/spinner.template.js.map +1 -0
- package/dist/esm/styles/index.js +2 -5
- package/dist/esm/styles/index.js.map +1 -0
- package/dist/esm/styles/partials/badge.partials.js +273 -0
- package/dist/esm/styles/partials/badge.partials.js.map +1 -0
- package/dist/esm/styles/partials/index.js +2 -0
- package/dist/esm/styles/partials/index.js.map +1 -0
- package/dist/esm/switch/define.js +4 -0
- package/dist/esm/switch/define.js.map +1 -0
- package/dist/esm/switch/index.js +6 -31
- package/dist/esm/switch/index.js.map +1 -0
- package/dist/esm/switch/switch.definition.js +17 -0
- package/dist/esm/switch/switch.definition.js.map +1 -0
- package/dist/esm/switch/switch.js +9 -0
- package/dist/esm/switch/switch.js.map +1 -0
- package/dist/esm/switch/switch.options.js +10 -0
- package/dist/esm/switch/switch.options.js.map +1 -0
- package/dist/esm/switch/switch.styles.js +113 -212
- package/dist/esm/switch/switch.styles.js.map +1 -0
- package/dist/esm/switch/switch.template.js +5 -0
- package/dist/esm/switch/switch.template.js.map +1 -0
- package/dist/esm/text/define.js +4 -0
- package/dist/esm/text/define.js.map +1 -0
- package/dist/esm/text/index.js +6 -0
- package/dist/esm/text/index.js.map +1 -0
- package/dist/esm/text/text.definition.js +18 -0
- package/dist/esm/text/text.definition.js.map +1 -0
- package/dist/esm/text/text.js +92 -0
- package/dist/esm/text/text.js.map +1 -0
- package/dist/esm/text/text.options.js +46 -0
- package/dist/esm/text/text.options.js.map +1 -0
- package/dist/esm/text/text.styles.js +107 -0
- package/dist/esm/text/text.styles.js.map +1 -0
- package/dist/esm/text/text.template.js +6 -0
- package/dist/esm/text/text.template.js.map +1 -0
- package/dist/esm/theme/design-tokens.js +387 -0
- package/dist/esm/theme/design-tokens.js.map +1 -0
- package/dist/esm/theme/index.js +3 -0
- package/dist/esm/theme/index.js.map +1 -0
- package/dist/esm/theme/set-theme.js +12 -0
- package/dist/esm/theme/set-theme.js.map +1 -0
- 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 +8224 -11431
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/web-components.d.ts +1496 -2404
- package/dist/web-components.js +5585 -20170
- package/dist/web-components.min.js +287 -239
- package/docs/api-report.md +1118 -1032
- package/package.json +84 -23
- package/build/clean.js +0 -29
- package/build/transform-fragments.js +0 -29
- package/dist/dts/_docs/design-system/color-explorer/app.d.ts +0 -25
- package/dist/dts/_docs/design-system/color-explorer/colors.d.ts +0 -13
- package/dist/dts/_docs/design-system/color-explorer/component-types.d.ts +0 -6
- package/dist/dts/_docs/design-system/color-explorer/components/color-block.d.ts +0 -10
- package/dist/dts/_docs/design-system/color-explorer/components/color-picker/color-picker.d.ts +0 -190
- package/dist/dts/_docs/design-system/color-explorer/components/color-picker/color-picker.form-associated.d.ts +0 -15
- package/dist/dts/_docs/design-system/color-explorer/components/color-picker/color-picker.styles.d.ts +0 -3
- package/dist/dts/_docs/design-system/color-explorer/components/color-picker/color-picker.template.d.ts +0 -8
- package/dist/dts/_docs/design-system/color-explorer/components/color-picker/index.d.ts +0 -9
- package/dist/dts/_docs/design-system/color-explorer/components/control-pane/control-pane.d.ts +0 -8
- package/dist/dts/_docs/design-system/color-explorer/components/control-pane/control-pane.styles.d.ts +0 -1
- package/dist/dts/_docs/design-system/color-explorer/components/control-pane/control-pane.template.d.ts +0 -2
- package/dist/dts/_docs/design-system/color-explorer/components/control-pane/index.d.ts +0 -6
- package/dist/dts/_docs/design-system/color-explorer/components/gradient/gradient.d.ts +0 -5
- package/dist/dts/_docs/design-system/color-explorer/components/gradient/gradient.styles.d.ts +0 -1
- package/dist/dts/_docs/design-system/color-explorer/components/gradient/gradient.template.d.ts +0 -2
- package/dist/dts/_docs/design-system/color-explorer/components/gradient/index.d.ts +0 -6
- package/dist/dts/_docs/design-system/color-explorer/components/layer-background/index.d.ts +0 -21
- package/dist/dts/_docs/design-system/color-explorer/components/sample-app/index.d.ts +0 -6
- package/dist/dts/_docs/design-system/color-explorer/components/sample-app/sample-app.d.ts +0 -3
- package/dist/dts/_docs/design-system/color-explorer/components/sample-app/sample-app.styles.d.ts +0 -1
- package/dist/dts/_docs/design-system/color-explorer/components/sample-app/sample-app.template.d.ts +0 -1
- package/dist/dts/_docs/design-system/color-explorer/components/sample-page/index.d.ts +0 -6
- package/dist/dts/_docs/design-system/color-explorer/components/sample-page/sample-page.d.ts +0 -3
- package/dist/dts/_docs/design-system/color-explorer/components/sample-page/sample-page.styles.d.ts +0 -1
- package/dist/dts/_docs/design-system/color-explorer/components/sample-page/sample-page.template.d.ts +0 -1
- package/dist/dts/_docs/design-system/color-explorer/components/swatch.d.ts +0 -30
- package/dist/dts/_docs/design-system/color-explorer/custom-elements.d.ts +0 -7
- package/dist/dts/_docs/design-system/color-explorer/index.d.ts +0 -2
- package/dist/dts/accordion/accordion-item/accordion-item.styles.d.ts +0 -3
- package/dist/dts/accordion/accordion-item/index.d.ts +0 -17
- package/dist/dts/accordion/accordion.stories.d.ts +0 -15
- package/dist/dts/anchor/anchor.stories.d.ts +0 -14
- package/dist/dts/anchor/anchor.styles.d.ts +0 -3
- package/dist/dts/anchor/index.d.ts +0 -49
- package/dist/dts/anchored-region/anchored-region.stories.d.ts +0 -6
- package/dist/dts/anchored-region/anchored-region.styles.d.ts +0 -3
- package/dist/dts/anchored-region/index.d.ts +0 -21
- package/dist/dts/badge/badge.stories.d.ts +0 -14
- package/dist/dts/breadcrumb/breadcrumb.stories.d.ts +0 -15
- package/dist/dts/breadcrumb/breadcrumb.styles.d.ts +0 -3
- package/dist/dts/breadcrumb/index.d.ts +0 -21
- package/dist/dts/breadcrumb-item/breadcrumb-item.stories.d.ts +0 -15
- package/dist/dts/breadcrumb-item/breadcrumb-item.styles.d.ts +0 -3
- package/dist/dts/breadcrumb-item/index.d.ts +0 -21
- package/dist/dts/button/button.stories.d.ts +0 -21
- package/dist/dts/button/button.styles.d.ts +0 -3
- package/dist/dts/button/index.d.ts +0 -48
- package/dist/dts/calendar/calendar.stories.d.ts +0 -86
- package/dist/dts/calendar/calendar.styles.d.ts +0 -7
- package/dist/dts/calendar/index.d.ts +0 -18
- package/dist/dts/card/card.stories.d.ts +0 -15
- package/dist/dts/card/card.styles.d.ts +0 -3
- package/dist/dts/card/index.d.ts +0 -46
- package/dist/dts/checkbox/checkbox.stories.d.ts +0 -28
- package/dist/dts/checkbox/checkbox.styles.d.ts +0 -3
- package/dist/dts/checkbox/index.d.ts +0 -16
- package/dist/dts/color/palette.d.ts +0 -73
- package/dist/dts/color/recipe.d.ts +0 -20
- package/dist/dts/color/recipes/contrast-and-delta-swatch-set.d.ts +0 -11
- package/dist/dts/color/recipes/contrast-swatch.d.ts +0 -12
- package/dist/dts/color/recipes/delta-swatch-set.d.ts +0 -36
- package/dist/dts/color/recipes/delta-swatch.d.ts +0 -12
- package/dist/dts/color/recipes/focus-stroke.d.ts +0 -10
- package/dist/dts/color/recipes/foreground-on-accent.d.ts +0 -11
- package/dist/dts/color/recipes/gradient-shadow-stroke.d.ts +0 -7
- package/dist/dts/color/recipes/gradient-swatch.d.ts +0 -36
- package/dist/dts/color/recipes/neutral-layer-1.d.ts +0 -10
- package/dist/dts/color/recipes/neutral-layer-2.d.ts +0 -6
- package/dist/dts/color/recipes/neutral-layer-3.d.ts +0 -6
- package/dist/dts/color/recipes/neutral-layer-4.d.ts +0 -6
- package/dist/dts/color/recipes/neutral-layer-floating.d.ts +0 -6
- package/dist/dts/color/recipes/underline-stroke.d.ts +0 -7
- package/dist/dts/color/swatch.d.ts +0 -31
- package/dist/dts/color/utilities/base-layer-luminance.d.ts +0 -11
- package/dist/dts/color/utilities/binary-search.d.ts +0 -4
- package/dist/dts/color/utilities/color-constants.d.ts +0 -14
- package/dist/dts/color/utilities/direction-by-is-dark.d.ts +0 -5
- package/dist/dts/color/utilities/is-dark.d.ts +0 -9
- package/dist/dts/color/utilities/relative-luminance.d.ts +0 -13
- package/dist/dts/combobox/combobox.stories.d.ts +0 -36
- package/dist/dts/combobox/combobox.styles.d.ts +0 -3
- package/dist/dts/combobox/index.d.ts +0 -43
- package/dist/dts/component-definitions.d.ts +0 -43
- package/dist/dts/custom-elements.d.ts +0 -103
- package/dist/dts/data-grid/data-grid-cell.styles.d.ts +0 -3
- package/dist/dts/data-grid/data-grid-row.styles.d.ts +0 -3
- package/dist/dts/data-grid/data-grid.stories.d.ts +0 -15
- package/dist/dts/data-grid/data-grid.styles.d.ts +0 -3
- package/dist/dts/data-grid/index.d.ts +0 -45
- package/dist/dts/design-system-provider/index.d.ts +0 -582
- package/dist/dts/design-tokens.d.ts +0 -519
- package/dist/dts/dialog/dialog.stories.d.ts +0 -25
- package/dist/dts/dialog/dialog.styles.d.ts +0 -3
- package/dist/dts/dialog/index.d.ts +0 -21
- package/dist/dts/divider/divider.stories.d.ts +0 -6
- package/dist/dts/flipper/flipper.stories.d.ts +0 -17
- package/dist/dts/flipper/flipper.styles.d.ts +0 -3
- package/dist/dts/flipper/index.d.ts +0 -21
- package/dist/dts/horizontal-scroll/horizontal-scroll.stories.d.ts +0 -15
- package/dist/dts/horizontal-scroll/horizontal-scroll.styles.d.ts +0 -12
- package/dist/dts/horizontal-scroll/index.d.ts +0 -25
- package/dist/dts/listbox/index.d.ts +0 -19
- package/dist/dts/listbox/listbox.stories.d.ts +0 -6
- package/dist/dts/listbox/listbox.styles.d.ts +0 -3
- package/dist/dts/listbox-option/index.d.ts +0 -17
- package/dist/dts/listbox-option/listbox-option.stories.d.ts +0 -23
- package/dist/dts/listbox-option/listbox-option.styles.d.ts +0 -3
- package/dist/dts/menu/index.d.ts +0 -26
- package/dist/dts/menu/menu.stories.d.ts +0 -6
- package/dist/dts/menu/menu.styles.d.ts +0 -3
- package/dist/dts/menu-item/index.d.ts +0 -21
- package/dist/dts/menu-item/menu-item.stories.d.ts +0 -18
- package/dist/dts/menu-item/menu-item.styles.d.ts +0 -3
- package/dist/dts/number-field/index.d.ts +0 -41
- package/dist/dts/number-field/number-field.stories.d.ts +0 -71
- package/dist/dts/number-field/number-field.styles.d.ts +0 -3
- package/dist/dts/progress/index.d.ts +0 -2
- package/dist/dts/progress/progress/index.d.ts +0 -22
- package/dist/dts/progress/progress/progress.stories.d.ts +0 -15
- package/dist/dts/progress/progress/progress.styles.d.ts +0 -3
- package/dist/dts/progress/progress-ring/index.d.ts +0 -22
- package/dist/dts/progress/progress-ring/progress-ring.stories.d.ts +0 -15
- package/dist/dts/progress/progress-ring/progress-ring.styles.d.ts +0 -3
- package/dist/dts/radio/index.d.ts +0 -21
- package/dist/dts/radio/radio.stories.d.ts +0 -23
- package/dist/dts/radio/radio.styles.d.ts +0 -3
- package/dist/dts/radio-group/index.d.ts +0 -21
- package/dist/dts/radio-group/radio-group.stories.d.ts +0 -18
- package/dist/dts/radio-group/radio-group.styles.d.ts +0 -3
- package/dist/dts/search/index.d.ts +0 -38
- package/dist/dts/search/search.stories.d.ts +0 -75
- package/dist/dts/search/search.styles.d.ts +0 -3
- package/dist/dts/search/search.template.d.ts +0 -6
- package/dist/dts/select/index.d.ts +0 -44
- package/dist/dts/select/select.stories.d.ts +0 -28
- package/dist/dts/select/select.styles.d.ts +0 -13
- package/dist/dts/skeleton/index.d.ts +0 -21
- package/dist/dts/skeleton/skeleton.stories.d.ts +0 -20
- package/dist/dts/skeleton/skeleton.styles.d.ts +0 -3
- package/dist/dts/slider/index.d.ts +0 -21
- package/dist/dts/slider/slider.stories.d.ts +0 -14
- package/dist/dts/slider/slider.styles.d.ts +0 -3
- package/dist/dts/slider-label/index.d.ts +0 -21
- package/dist/dts/slider-label/slider-label.stories.d.ts +0 -23
- package/dist/dts/slider-label/slider-label.styles.d.ts +0 -3
- package/dist/dts/styles/direction.d.ts +0 -34
- package/dist/dts/styles/elevation.d.ts +0 -64
- package/dist/dts/styles/focus.d.ts +0 -13
- package/dist/dts/styles/patterns/button.styles.d.ts +0 -31
- package/dist/dts/styles/patterns/index.d.ts +0 -3
- package/dist/dts/styles/patterns/input.styles.d.ts +0 -30
- package/dist/dts/styles/patterns/type-ramp.d.ts +0 -18
- package/dist/dts/styles/size.d.ts +0 -7
- package/dist/dts/switch/switch.stories.d.ts +0 -18
- package/dist/dts/tabs/index.d.ts +0 -23
- package/dist/dts/tabs/tab/index.d.ts +0 -21
- package/dist/dts/tabs/tab/tab.styles.d.ts +0 -3
- package/dist/dts/tabs/tab-panel/index.d.ts +0 -21
- package/dist/dts/tabs/tab-panel/tab-panel.styles.d.ts +0 -3
- package/dist/dts/tabs/tabs.stories.d.ts +0 -19
- package/dist/dts/tabs/tabs.styles.d.ts +0 -3
- package/dist/dts/text-area/index.d.ts +0 -45
- package/dist/dts/text-area/text-area.stories.d.ts +0 -41
- package/dist/dts/text-area/text-area.styles.d.ts +0 -3
- package/dist/dts/text-field/index.d.ts +0 -45
- package/dist/dts/text-field/text-field.stories.d.ts +0 -81
- package/dist/dts/text-field/text-field.styles.d.ts +0 -3
- package/dist/dts/toolbar/index.d.ts +0 -17
- package/dist/dts/toolbar/toolbar.stories.d.ts +0 -9
- package/dist/dts/toolbar/toolbar.styles.d.ts +0 -3
- package/dist/dts/tooltip/index.d.ts +0 -21
- package/dist/dts/tooltip/tooltip.stories.d.ts +0 -14
- package/dist/dts/tooltip/tooltip.styles.d.ts +0 -3
- package/dist/dts/tree-item/index.d.ts +0 -22
- package/dist/dts/tree-item/tree-item.stories.d.ts +0 -18
- package/dist/dts/tree-item/tree-item.styles.d.ts +0 -4
- package/dist/dts/tree-view/index.d.ts +0 -22
- package/dist/dts/tree-view/tree-view.stories.d.ts +0 -13
- package/dist/dts/tree-view/tree-view.styles.d.ts +0 -3
- package/dist/dts/utilities/behaviors.d.ts +0 -12
- package/dist/dts/utilities/type-ramp.d.ts +0 -12
- package/dist/esm/_docs/design-system/color-explorer/app.js +0 -247
- package/dist/esm/_docs/design-system/color-explorer/colors.js +0 -24
- package/dist/esm/_docs/design-system/color-explorer/component-types.js +0 -7
- package/dist/esm/_docs/design-system/color-explorer/components/color-block.js +0 -408
- package/dist/esm/_docs/design-system/color-explorer/components/color-picker/color-picker.form-associated.js +0 -16
- package/dist/esm/_docs/design-system/color-explorer/components/color-picker/color-picker.js +0 -297
- package/dist/esm/_docs/design-system/color-explorer/components/color-picker/color-picker.styles.js +0 -124
- package/dist/esm/_docs/design-system/color-explorer/components/color-picker/color-picker.template.js +0 -130
- package/dist/esm/_docs/design-system/color-explorer/components/color-picker/index.js +0 -15
- package/dist/esm/_docs/design-system/color-explorer/components/control-pane/control-pane.js +0 -24
- package/dist/esm/_docs/design-system/color-explorer/components/control-pane/control-pane.styles.js +0 -19
- package/dist/esm/_docs/design-system/color-explorer/components/control-pane/control-pane.template.js +0 -52
- package/dist/esm/_docs/design-system/color-explorer/components/control-pane/index.js +0 -18
- package/dist/esm/_docs/design-system/color-explorer/components/gradient/gradient.js +0 -11
- package/dist/esm/_docs/design-system/color-explorer/components/gradient/gradient.styles.js +0 -31
- package/dist/esm/_docs/design-system/color-explorer/components/gradient/gradient.template.js +0 -21
- package/dist/esm/_docs/design-system/color-explorer/components/gradient/index.js +0 -18
- package/dist/esm/_docs/design-system/color-explorer/components/layer-background/index.js +0 -70
- package/dist/esm/_docs/design-system/color-explorer/components/sample-app/index.js +0 -18
- package/dist/esm/_docs/design-system/color-explorer/components/sample-app/sample-app.js +0 -3
- package/dist/esm/_docs/design-system/color-explorer/components/sample-app/sample-app.styles.js +0 -166
- package/dist/esm/_docs/design-system/color-explorer/components/sample-app/sample-app.template.js +0 -97
- package/dist/esm/_docs/design-system/color-explorer/components/sample-page/index.js +0 -18
- package/dist/esm/_docs/design-system/color-explorer/components/sample-page/sample-page.js +0 -3
- package/dist/esm/_docs/design-system/color-explorer/components/sample-page/sample-page.styles.js +0 -130
- package/dist/esm/_docs/design-system/color-explorer/components/sample-page/sample-page.template.js +0 -82
- package/dist/esm/_docs/design-system/color-explorer/components/swatch.js +0 -163
- package/dist/esm/_docs/design-system/color-explorer/custom-elements.js +0 -3
- package/dist/esm/_docs/design-system/color-explorer/index.js +0 -14
- package/dist/esm/accordion/accordion-item/accordion-item.styles.js +0 -154
- package/dist/esm/accordion/accordion-item/accordion-item.vscode.definition.json +0 -67
- package/dist/esm/accordion/accordion-item/index.js +0 -32
- package/dist/esm/accordion/accordion.stories.js +0 -66
- package/dist/esm/accordion/accordion.vscode.definition.json +0 -35
- package/dist/esm/anchor/anchor.stories.js +0 -34
- package/dist/esm/anchor/anchor.styles.js +0 -5
- package/dist/esm/anchor/anchor.vscode.definition.json +0 -138
- package/dist/esm/anchor/index.js +0 -67
- package/dist/esm/anchored-region/anchored-region.stories.js +0 -133
- package/dist/esm/anchored-region/anchored-region.styles.js +0 -7
- package/dist/esm/anchored-region/anchored-region.vscode.definition.json +0 -140
- package/dist/esm/anchored-region/index.js +0 -26
- package/dist/esm/badge/badge.stories.js +0 -27
- package/dist/esm/badge/badge.vscode.definition.json +0 -60
- package/dist/esm/breadcrumb/breadcrumb.stories.js +0 -20
- package/dist/esm/breadcrumb/breadcrumb.styles.js +0 -13
- package/dist/esm/breadcrumb/breadcrumb.vscode.definition.json +0 -18
- package/dist/esm/breadcrumb/index.js +0 -26
- package/dist/esm/breadcrumb-item/breadcrumb-item.stories.js +0 -16
- package/dist/esm/breadcrumb-item/breadcrumb-item.styles.js +0 -96
- package/dist/esm/breadcrumb-item/breadcrumb-item.vscode.definition.json +0 -50
- package/dist/esm/breadcrumb-item/index.js +0 -34
- package/dist/esm/button/button.stories.js +0 -40
- package/dist/esm/button/button.styles.js +0 -24
- package/dist/esm/button/button.vscode.definition.json +0 -158
- package/dist/esm/button/index.js +0 -67
- package/dist/esm/calendar/calendar.stories.js +0 -115
- package/dist/esm/calendar/calendar.styles.js +0 -132
- package/dist/esm/calendar/index.js +0 -31
- package/dist/esm/card/card.stories.js +0 -30
- package/dist/esm/card/card.styles.js +0 -28
- package/dist/esm/card/card.vscode.definition.json +0 -33
- package/dist/esm/card/index.js +0 -79
- package/dist/esm/checkbox/checkbox.stories.js +0 -43
- package/dist/esm/checkbox/checkbox.styles.js +0 -161
- package/dist/esm/checkbox/checkbox.vscode.definition.json +0 -69
- package/dist/esm/checkbox/index.js +0 -31
- package/dist/esm/color/palette.js +0 -250
- package/dist/esm/color/recipes/contrast-and-delta-swatch-set.js +0 -28
- package/dist/esm/color/recipes/contrast-swatch.js +0 -12
- package/dist/esm/color/recipes/delta-swatch-set.js +0 -53
- package/dist/esm/color/recipes/delta-swatch.js +0 -13
- package/dist/esm/color/recipes/focus-stroke.js +0 -14
- package/dist/esm/color/recipes/foreground-on-accent.js +0 -21
- package/dist/esm/color/recipes/gradient-shadow-stroke.js +0 -54
- package/dist/esm/color/recipes/gradient-swatch.js +0 -36
- package/dist/esm/color/recipes/neutral-layer-1.js +0 -13
- package/dist/esm/color/recipes/neutral-layer-2.js +0 -7
- package/dist/esm/color/recipes/neutral-layer-3.js +0 -7
- package/dist/esm/color/recipes/neutral-layer-4.js +0 -7
- package/dist/esm/color/recipes/neutral-layer-floating.js +0 -7
- package/dist/esm/color/recipes/underline-stroke.js +0 -31
- package/dist/esm/color/swatch.js +0 -53
- package/dist/esm/color/utilities/base-layer-luminance.js +0 -14
- package/dist/esm/color/utilities/binary-search.js +0 -15
- package/dist/esm/color/utilities/color-constants.js +0 -19
- package/dist/esm/color/utilities/direction-by-is-dark.js +0 -7
- package/dist/esm/color/utilities/is-dark.js +0 -17
- package/dist/esm/color/utilities/relative-luminance.js +0 -8
- package/dist/esm/combobox/combobox.stories.js +0 -84
- package/dist/esm/combobox/combobox.styles.js +0 -40
- package/dist/esm/combobox/combobox.vscode.definition.json +0 -121
- package/dist/esm/combobox/index.js +0 -63
- package/dist/esm/component-definitions.js +0 -84
- package/dist/esm/custom-elements.js +0 -102
- package/dist/esm/data-grid/data-grid-cell.styles.js +0 -36
- package/dist/esm/data-grid/data-grid-cell.vscode.definition.json +0 -34
- package/dist/esm/data-grid/data-grid-row.styles.js +0 -24
- package/dist/esm/data-grid/data-grid-row.vscode.definition.json +0 -34
- package/dist/esm/data-grid/data-grid.stories.js +0 -381
- package/dist/esm/data-grid/data-grid.styles.js +0 -8
- package/dist/esm/data-grid/data-grid.vscode.definition.json +0 -34
- package/dist/esm/data-grid/index.js +0 -60
- package/dist/esm/design-system-provider/design-system-provider.vscode.definition.json +0 -510
- package/dist/esm/design-system-provider/index.js +0 -518
- package/dist/esm/design-tokens.js +0 -685
- package/dist/esm/dialog/dialog.stories.js +0 -36
- package/dist/esm/dialog/dialog.styles.js +0 -47
- package/dist/esm/dialog/dialog.vscode.definition.json +0 -67
- package/dist/esm/dialog/index.js +0 -26
- package/dist/esm/divider/divider.stories.js +0 -17
- package/dist/esm/divider/divider.vscode.definition.json +0 -29
- package/dist/esm/flipper/flipper.stories.js +0 -31
- package/dist/esm/flipper/flipper.styles.js +0 -84
- package/dist/esm/flipper/flipper.vscode.definition.json +0 -56
- package/dist/esm/flipper/index.js +0 -36
- package/dist/esm/horizontal-scroll/horizontal-scroll.stories.js +0 -81
- package/dist/esm/horizontal-scroll/horizontal-scroll.styles.js +0 -138
- package/dist/esm/horizontal-scroll/horizontal-scroll.vscode.definition.json +0 -85
- package/dist/esm/horizontal-scroll/index.js +0 -47
- package/dist/esm/listbox/index.js +0 -24
- package/dist/esm/listbox/listbox.stories.js +0 -29
- package/dist/esm/listbox/listbox.styles.js +0 -21
- package/dist/esm/listbox/listbox.vscode.definition.json +0 -40
- package/dist/esm/listbox-option/index.js +0 -22
- package/dist/esm/listbox-option/listbox-option.stories.js +0 -38
- package/dist/esm/listbox-option/listbox-option.styles.js +0 -133
- package/dist/esm/listbox-option/listbox-option.vscode.definition.json +0 -45
- package/dist/esm/menu/index.js +0 -36
- package/dist/esm/menu/menu.stories.js +0 -56
- package/dist/esm/menu/menu.styles.js +0 -42
- package/dist/esm/menu/menu.vscode.definition.json +0 -18
- package/dist/esm/menu-item/index.js +0 -41
- package/dist/esm/menu-item/menu-item.stories.js +0 -34
- package/dist/esm/menu-item/menu-item.styles.js +0 -265
- package/dist/esm/menu-item/menu-item.vscode.definition.json +0 -82
- package/dist/esm/number-field/index.js +0 -57
- package/dist/esm/number-field/number-field.stories.js +0 -83
- package/dist/esm/number-field/number-field.styles.js +0 -71
- package/dist/esm/number-field/number-field.vscode.definition.json +0 -167
- package/dist/esm/progress/index.js +0 -2
- package/dist/esm/progress/progress/index.js +0 -33
- package/dist/esm/progress/progress/progress.stories.js +0 -59
- package/dist/esm/progress/progress/progress.styles.js +0 -119
- package/dist/esm/progress/progress/progress.vscode.definition.json +0 -56
- package/dist/esm/progress/progress-ring/index.js +0 -45
- package/dist/esm/progress/progress-ring/progress-ring.stories.js +0 -59
- package/dist/esm/progress/progress-ring/progress-ring.styles.js +0 -79
- package/dist/esm/progress/progress-ring/progress-ring.vscode.definition.json +0 -56
- package/dist/esm/radio/index.js +0 -31
- package/dist/esm/radio/radio.stories.js +0 -41
- package/dist/esm/radio/radio.styles.js +0 -152
- package/dist/esm/radio/radio.vscode.definition.json +0 -63
- package/dist/esm/radio-group/index.js +0 -26
- package/dist/esm/radio-group/radio-group.stories.js +0 -42
- package/dist/esm/radio-group/radio-group.styles.js +0 -21
- package/dist/esm/radio-group/radio-group.vscode.definition.json +0 -64
- package/dist/esm/search/index.js +0 -52
- package/dist/esm/search/search.stories.js +0 -83
- package/dist/esm/search/search.styles.js +0 -104
- package/dist/esm/search/search.template.js +0 -82
- package/dist/esm/search/search.vscode.definition.json +0 -145
- package/dist/esm/select/index.js +0 -61
- package/dist/esm/select/select.stories.js +0 -53
- package/dist/esm/select/select.styles.js +0 -139
- package/dist/esm/select/select.vscode.definition.json +0 -79
- package/dist/esm/skeleton/index.js +0 -26
- package/dist/esm/skeleton/skeleton.stories.js +0 -37
- package/dist/esm/skeleton/skeleton.styles.js +0 -77
- package/dist/esm/skeleton/skeleton.vscode.definition.json +0 -49
- package/dist/esm/slider/index.js +0 -29
- package/dist/esm/slider/slider.stories.js +0 -40
- package/dist/esm/slider/slider.styles.js +0 -162
- package/dist/esm/slider/slider.vscode.definition.json +0 -101
- package/dist/esm/slider-label/index.js +0 -26
- package/dist/esm/slider-label/slider-label.stories.js +0 -40
- package/dist/esm/slider-label/slider-label.styles.js +0 -77
- package/dist/esm/slider-label/slider-label.vscode.definition.json +0 -43
- package/dist/esm/styles/direction.js +0 -73
- package/dist/esm/styles/elevation.js +0 -74
- package/dist/esm/styles/focus.js +0 -21
- package/dist/esm/styles/patterns/button.styles.js +0 -427
- package/dist/esm/styles/patterns/index.js +0 -3
- package/dist/esm/styles/patterns/input.styles.js +0 -227
- package/dist/esm/styles/patterns/type-ramp.js +0 -74
- package/dist/esm/styles/size.js +0 -9
- package/dist/esm/switch/switch.stories.js +0 -42
- package/dist/esm/switch/switch.vscode.definition.json +0 -68
- package/dist/esm/tabs/index.js +0 -28
- package/dist/esm/tabs/tab/index.js +0 -26
- package/dist/esm/tabs/tab/tab.styles.js +0 -75
- package/dist/esm/tabs/tab/tab.vscode.definition.json +0 -17
- package/dist/esm/tabs/tab-panel/index.js +0 -26
- package/dist/esm/tabs/tab-panel/tab-panel.styles.js +0 -11
- package/dist/esm/tabs/tab-panel/tab-panel.vscode.definition.json +0 -17
- package/dist/esm/tabs/tabs.stories.js +0 -105
- package/dist/esm/tabs/tabs.styles.js +0 -98
- package/dist/esm/tabs/tabs.vscode.definition.json +0 -50
- package/dist/esm/text-area/index.js +0 -56
- package/dist/esm/text-area/text-area.stories.js +0 -56
- package/dist/esm/text-area/text-area.styles.js +0 -39
- package/dist/esm/text-area/text-area.vscode.definition.json +0 -141
- package/dist/esm/text-field/index.js +0 -56
- package/dist/esm/text-field/text-field.stories.js +0 -88
- package/dist/esm/text-field/text-field.styles.js +0 -48
- package/dist/esm/text-field/text-field.vscode.definition.json +0 -150
- package/dist/esm/toolbar/index.js +0 -23
- package/dist/esm/toolbar/toolbar.stories.js +0 -9
- package/dist/esm/toolbar/toolbar.styles.js +0 -73
- package/dist/esm/tooltip/index.js +0 -31
- package/dist/esm/tooltip/tooltip.stories.js +0 -34
- package/dist/esm/tooltip/tooltip.styles.js +0 -107
- package/dist/esm/tooltip/tooltip.vscode.definition.json +0 -56
- package/dist/esm/tree-item/index.js +0 -32
- package/dist/esm/tree-item/tree-item.stories.js +0 -34
- package/dist/esm/tree-item/tree-item.styles.js +0 -227
- package/dist/esm/tree-item/tree-item.vscode.definition.json +0 -63
- package/dist/esm/tree-view/index.js +0 -27
- package/dist/esm/tree-view/tree-view.stories.js +0 -99
- package/dist/esm/tree-view/tree-view.styles.js +0 -14
- package/dist/esm/tree-view/tree-view.vscode.definition.json +0 -26
- package/dist/esm/utilities/behaviors.js +0 -13
- package/dist/esm/utilities/type-ramp.js +0 -12
- package/karma.conf.js +0 -147
- package/public/SegoeUI-VF.ttf +0 -0
- package/public/favicon.ico +0 -0
- package/public/favicon.png +0 -0
- package/public/switches.ts +0 -24
- package/rollup.config.js +0 -53
- package/storybook-typings.d.ts +0 -4
- /package/dist/{esm/color/recipe.js → dts/accordion-item/define.d.ts} +0 -0
package/dist/web-components.d.ts
CHANGED
|
@@ -1,2982 +1,2074 @@
|
|
|
1
|
-
import { Accordion } from '@microsoft/fast-foundation';
|
|
2
|
-
import { AccordionItem } from '@microsoft/fast-foundation';
|
|
3
|
-
import { AccordionItemOptions } from '@microsoft/fast-foundation';
|
|
4
|
-
import { Anchor as Anchor_2 } from '@microsoft/fast-foundation';
|
|
5
|
-
import { AnchoredRegion } from '@microsoft/fast-foundation';
|
|
6
|
-
import { Badge as Badge_2 } from '@microsoft/fast-foundation';
|
|
7
|
-
import { BaseProgress } from '@microsoft/fast-foundation';
|
|
8
|
-
import { Behavior } from '@microsoft/fast-element';
|
|
9
|
-
import { Breadcrumb } from '@microsoft/fast-foundation';
|
|
10
|
-
import { BreadcrumbItem } from '@microsoft/fast-foundation';
|
|
11
|
-
import { BreadcrumbItemOptions } from '@microsoft/fast-foundation';
|
|
12
|
-
import { Button as Button_2 } from '@microsoft/fast-foundation';
|
|
13
|
-
import { CalendarOptions } from '@microsoft/fast-foundation';
|
|
14
|
-
import { Card as Card_2 } from '@microsoft/fast-foundation';
|
|
15
|
-
import { CheckboxOptions } from '@microsoft/fast-foundation';
|
|
16
|
-
import { Combobox as Combobox_2 } from '@microsoft/fast-foundation';
|
|
17
|
-
import { ComboboxOptions } from '@microsoft/fast-foundation';
|
|
18
|
-
import { Constructable } from '@microsoft/fast-element';
|
|
19
|
-
import type { Container } from '@microsoft/fast-foundation';
|
|
20
1
|
import { CSSDesignToken } from '@microsoft/fast-foundation';
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { DataGridCell } from '@microsoft/fast-foundation';
|
|
24
|
-
import { DataGridRow } from '@microsoft/fast-foundation';
|
|
25
|
-
import { DesignSystem } from '@microsoft/fast-foundation';
|
|
26
|
-
import { DesignToken } from '@microsoft/fast-foundation';
|
|
27
|
-
import { Dialog } from '@microsoft/fast-foundation';
|
|
28
|
-
import { Direction } from '@microsoft/fast-web-utilities';
|
|
29
|
-
import { Divider } from '@microsoft/fast-foundation';
|
|
30
|
-
import { ElementDefinitionContext } from '@microsoft/fast-foundation';
|
|
2
|
+
import { DividerOrientation } from '@microsoft/fast-foundation';
|
|
3
|
+
import { DividerRole } from '@microsoft/fast-foundation';
|
|
31
4
|
import { ElementStyles } from '@microsoft/fast-element';
|
|
5
|
+
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
6
|
+
import { FASTAccordion } from '@microsoft/fast-foundation';
|
|
7
|
+
import { FASTAccordionItem } from '@microsoft/fast-foundation';
|
|
8
|
+
import { FASTDivider } from '@microsoft/fast-foundation';
|
|
32
9
|
import { FASTElement } from '@microsoft/fast-element';
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import { Menu as Menu_2 } from '@microsoft/fast-foundation';
|
|
43
|
-
import { MenuItem } from '@microsoft/fast-foundation';
|
|
44
|
-
import { MenuItemOptions } from '@microsoft/fast-foundation';
|
|
45
|
-
import { NumberField as NumberField_2 } from '@microsoft/fast-foundation';
|
|
46
|
-
import { NumberFieldOptions } from '@microsoft/fast-foundation';
|
|
47
|
-
import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
48
|
-
import { ProgressOptions } from '@microsoft/fast-foundation';
|
|
49
|
-
import { ProgressRingOptions } from '@microsoft/fast-foundation';
|
|
50
|
-
import { Radio } from '@microsoft/fast-foundation';
|
|
51
|
-
import { RadioGroup } from '@microsoft/fast-foundation';
|
|
52
|
-
import { RadioOptions } from '@microsoft/fast-foundation';
|
|
53
|
-
import { Search as Search_2 } from '@microsoft/fast-foundation';
|
|
54
|
-
import { SearchOptions } from '@microsoft/fast-foundation';
|
|
55
|
-
import { Select as Select_2 } from '@microsoft/fast-foundation';
|
|
56
|
-
import { SelectOptions } from '@microsoft/fast-foundation';
|
|
57
|
-
import { Skeleton } from '@microsoft/fast-foundation';
|
|
58
|
-
import { Slider } from '@microsoft/fast-foundation';
|
|
59
|
-
import { SliderLabel } from '@microsoft/fast-foundation';
|
|
60
|
-
import { SliderOptions } from '@microsoft/fast-foundation';
|
|
61
|
-
import { Switch } from '@microsoft/fast-foundation';
|
|
62
|
-
import { SwitchOptions } from '@microsoft/fast-foundation';
|
|
63
|
-
import { Tab } from '@microsoft/fast-foundation';
|
|
64
|
-
import { TabPanel } from '@microsoft/fast-foundation';
|
|
65
|
-
import { Tabs } from '@microsoft/fast-foundation';
|
|
66
|
-
import { TextArea as TextArea_2 } from '@microsoft/fast-foundation';
|
|
67
|
-
import { TextField as TextField_2 } from '@microsoft/fast-foundation';
|
|
68
|
-
import { Toolbar as Toolbar_2 } from '@microsoft/fast-foundation';
|
|
69
|
-
import { Tooltip as Tooltip_2 } from '@microsoft/fast-foundation';
|
|
70
|
-
import { TreeItem } from '@microsoft/fast-foundation';
|
|
71
|
-
import { TreeItemOptions } from '@microsoft/fast-foundation';
|
|
72
|
-
import { TreeView } from '@microsoft/fast-foundation';
|
|
73
|
-
import { ViewTemplate } from '@microsoft/fast-element';
|
|
74
|
-
|
|
75
|
-
/** @public */
|
|
76
|
-
export declare const accentBaseColor: CSSDesignToken<Swatch>;
|
|
10
|
+
import { FASTElementDefinition } from '@microsoft/fast-element';
|
|
11
|
+
import { FASTProgress } from '@microsoft/fast-foundation';
|
|
12
|
+
import { FASTProgressRing } from '@microsoft/fast-foundation';
|
|
13
|
+
import { FASTSwitch } from '@microsoft/fast-foundation';
|
|
14
|
+
import { StartEnd } from '@microsoft/fast-foundation';
|
|
15
|
+
import { StartEndOptions } from '@microsoft/fast-foundation';
|
|
16
|
+
import { StaticallyComposableHTML } from '@microsoft/fast-foundation';
|
|
17
|
+
import type { Theme } from '@fluentui/tokens';
|
|
18
|
+
import { ValuesOf } from '@microsoft/fast-foundation';
|
|
77
19
|
|
|
78
20
|
/**
|
|
79
|
-
*
|
|
80
|
-
*/
|
|
81
|
-
export declare const AccentButtonStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, interactivitySelector: string, nonInteractivitySelector?: string) => ElementStyles;
|
|
82
|
-
|
|
83
|
-
/** @public */
|
|
84
|
-
export declare const accentFillActive: CSSDesignToken<Swatch>;
|
|
85
|
-
|
|
86
|
-
/** @public */
|
|
87
|
-
export declare const accentFillActiveDelta: DesignToken<number>;
|
|
88
|
-
|
|
89
|
-
/** @public */
|
|
90
|
-
export declare const accentFillFocus: CSSDesignToken<Swatch>;
|
|
91
|
-
|
|
92
|
-
/** @public */
|
|
93
|
-
export declare const accentFillFocusDelta: DesignToken<number>;
|
|
94
|
-
|
|
95
|
-
/** @public */
|
|
96
|
-
export declare const accentFillHover: CSSDesignToken<Swatch>;
|
|
97
|
-
|
|
98
|
-
/** @public */
|
|
99
|
-
export declare const accentFillHoverDelta: DesignToken<number>;
|
|
100
|
-
|
|
101
|
-
/** @public */
|
|
102
|
-
export declare const accentFillRecipe: DesignToken<InteractiveColorRecipe>;
|
|
103
|
-
|
|
104
|
-
/** @public */
|
|
105
|
-
export declare const accentFillRest: CSSDesignToken<Swatch>;
|
|
106
|
-
|
|
107
|
-
/** @public */
|
|
108
|
-
export declare const accentFillRestDelta: DesignToken<number>;
|
|
109
|
-
|
|
110
|
-
/** @public */
|
|
111
|
-
export declare const accentForegroundActive: CSSDesignToken<Swatch>;
|
|
112
|
-
|
|
113
|
-
/** @public */
|
|
114
|
-
export declare const accentForegroundActiveDelta: DesignToken<number>;
|
|
115
|
-
|
|
116
|
-
/** @public @deprecated Use foregroundOnAccentRest */
|
|
117
|
-
export declare const accentForegroundCut: CSSDesignToken<Swatch>;
|
|
118
|
-
|
|
119
|
-
/** @public @deprecated Use foregroundOnAccentRestLarge */
|
|
120
|
-
export declare const accentForegroundCutLarge: CSSDesignToken<Swatch>;
|
|
121
|
-
|
|
122
|
-
/** @public */
|
|
123
|
-
export declare const accentForegroundFocus: CSSDesignToken<Swatch>;
|
|
124
|
-
|
|
125
|
-
/** @public */
|
|
126
|
-
export declare const accentForegroundFocusDelta: DesignToken<number>;
|
|
127
|
-
|
|
128
|
-
/** @public */
|
|
129
|
-
export declare const accentForegroundHover: CSSDesignToken<Swatch>;
|
|
130
|
-
|
|
131
|
-
/** @public */
|
|
132
|
-
export declare const accentForegroundHoverDelta: DesignToken<number>;
|
|
133
|
-
|
|
134
|
-
/** @public */
|
|
135
|
-
export declare const accentForegroundRecipe: DesignToken<InteractiveColorRecipe>;
|
|
136
|
-
|
|
137
|
-
/** @public */
|
|
138
|
-
export declare const accentForegroundRest: CSSDesignToken<Swatch>;
|
|
139
|
-
|
|
140
|
-
/** @public */
|
|
141
|
-
export declare const accentForegroundRestDelta: DesignToken<number>;
|
|
142
|
-
|
|
143
|
-
/** @public */
|
|
144
|
-
export declare const accentPalette: DesignToken<Palette<Swatch>>;
|
|
145
|
-
|
|
146
|
-
/** @public */
|
|
147
|
-
export declare const accentStrokeControlActive: CSSDesignToken<Swatch>;
|
|
148
|
-
|
|
149
|
-
/** @public */
|
|
150
|
-
export declare const accentStrokeControlFocus: CSSDesignToken<Swatch>;
|
|
151
|
-
|
|
152
|
-
/** @public */
|
|
153
|
-
export declare const accentStrokeControlHover: CSSDesignToken<Swatch>;
|
|
154
|
-
|
|
155
|
-
/** @public */
|
|
156
|
-
export declare const accentStrokeControlRecipe: DesignToken<InteractiveColorRecipe>;
|
|
157
|
-
|
|
158
|
-
/** @public */
|
|
159
|
-
export declare const accentStrokeControlRest: CSSDesignToken<Swatch>;
|
|
160
|
-
|
|
161
|
-
export { Accordion }
|
|
162
|
-
|
|
163
|
-
export { AccordionItem }
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* Styles for AccordionItem
|
|
21
|
+
* The base class used for constructing a fluent-accordion custom element
|
|
167
22
|
* @public
|
|
168
23
|
*/
|
|
169
|
-
export declare
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Styles for Accordion
|
|
173
|
-
* @public
|
|
174
|
-
*/
|
|
175
|
-
export declare const accordionStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* All Fluent UI Web Components
|
|
179
|
-
* @public
|
|
180
|
-
*/
|
|
181
|
-
export declare const allComponents: {
|
|
182
|
-
fluentAccordion: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Accordion>;
|
|
183
|
-
fluentAccordionItem: (overrideDefinition?: OverrideFoundationElementDefinition<AccordionItemOptions> | undefined) => FoundationElementRegistry<AccordionItemOptions, Constructable<FoundationElement>>;
|
|
184
|
-
fluentAnchor: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Anchor>;
|
|
185
|
-
fluentAnchoredRegion: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof AnchoredRegion>;
|
|
186
|
-
fluentBadge: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Badge>;
|
|
187
|
-
fluentBreadcrumb: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Breadcrumb>;
|
|
188
|
-
fluentBreadcrumbItem: (overrideDefinition?: OverrideFoundationElementDefinition<BreadcrumbItemOptions> | undefined) => FoundationElementRegistry<BreadcrumbItemOptions, Constructable<FoundationElement>>;
|
|
189
|
-
fluentButton: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Button>;
|
|
190
|
-
fluentCalendar: (overrideDefinition?: OverrideFoundationElementDefinition<CalendarOptions> | undefined) => FoundationElementRegistry<CalendarOptions, Constructable<FoundationElement>>;
|
|
191
|
-
fluentCard: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Card>;
|
|
192
|
-
fluentCheckbox: (overrideDefinition?: OverrideFoundationElementDefinition<CheckboxOptions> | undefined) => FoundationElementRegistry<CheckboxOptions, Constructable<FoundationElement>>;
|
|
193
|
-
fluentCombobox: (overrideDefinition?: OverrideFoundationElementDefinition<ComboboxOptions> | undefined) => FoundationElementRegistry<ComboboxOptions, Constructable<FoundationElement>>;
|
|
194
|
-
fluentDataGrid: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof DataGrid>;
|
|
195
|
-
fluentDataGridCell: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, DataGridCell>;
|
|
196
|
-
fluentDataGridRow: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, DataGridRow>;
|
|
197
|
-
fluentDesignSystemProvider: (overrideDefinition?: OverrideFoundationElementDefinition< {
|
|
198
|
-
baseName: string;
|
|
199
|
-
template: ViewTemplate<any, any>;
|
|
200
|
-
styles: ElementStyles;
|
|
201
|
-
}> | undefined) => FoundationElementRegistry< {
|
|
202
|
-
baseName: string;
|
|
203
|
-
template: ViewTemplate<any, any>;
|
|
204
|
-
styles: ElementStyles;
|
|
205
|
-
}, DesignSystemProvider>;
|
|
206
|
-
fluentDialog: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Dialog>;
|
|
207
|
-
fluentDivider: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Divider>;
|
|
208
|
-
fluentFlipper: (overrideDefinition?: OverrideFoundationElementDefinition<FlipperOptions> | undefined) => FoundationElementRegistry<FlipperOptions, Constructable<FoundationElement>>;
|
|
209
|
-
fluentHorizontalScroll: (overrideDefinition?: OverrideFoundationElementDefinition<HorizontalScrollOptions> | undefined) => FoundationElementRegistry<HorizontalScrollOptions, Constructable<FoundationElement>>;
|
|
210
|
-
fluentListbox: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Listbox>;
|
|
211
|
-
fluentOption: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof ListboxOption>;
|
|
212
|
-
fluentMenu: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Menu>;
|
|
213
|
-
fluentMenuItem: (overrideDefinition?: OverrideFoundationElementDefinition<MenuItemOptions> | undefined) => FoundationElementRegistry<MenuItemOptions, Constructable<FoundationElement>>;
|
|
214
|
-
fluentNumberField: (overrideDefinition?: OverrideFoundationElementDefinition<NumberFieldOptions> | undefined) => FoundationElementRegistry<NumberFieldOptions, Constructable<FoundationElement>>;
|
|
215
|
-
fluentProgress: (overrideDefinition?: OverrideFoundationElementDefinition<ProgressOptions> | undefined) => FoundationElementRegistry<ProgressOptions, Constructable<FoundationElement>>;
|
|
216
|
-
fluentProgressRing: (overrideDefinition?: OverrideFoundationElementDefinition<ProgressRingOptions> | undefined) => FoundationElementRegistry<ProgressRingOptions, Constructable<FoundationElement>>;
|
|
217
|
-
fluentRadio: (overrideDefinition?: OverrideFoundationElementDefinition<RadioOptions> | undefined) => FoundationElementRegistry<RadioOptions, Constructable<FoundationElement>>;
|
|
218
|
-
fluentRadioGroup: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof RadioGroup>;
|
|
219
|
-
fluentSearch: (overrideDefinition?: OverrideFoundationElementDefinition<SearchOptions> | undefined) => FoundationElementRegistry<SearchOptions, Constructable<FoundationElement>>;
|
|
220
|
-
fluentSelect: (overrideDefinition?: OverrideFoundationElementDefinition<SelectOptions> | undefined) => FoundationElementRegistry<SelectOptions, Constructable<FoundationElement>>;
|
|
221
|
-
fluentSkeleton: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Skeleton>;
|
|
222
|
-
fluentSlider: (overrideDefinition?: OverrideFoundationElementDefinition<SliderOptions> | undefined) => FoundationElementRegistry<SliderOptions, Constructable<FoundationElement>>;
|
|
223
|
-
fluentSliderLabel: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof SliderLabel>;
|
|
224
|
-
fluentSwitch: (overrideDefinition?: OverrideFoundationElementDefinition<SwitchOptions> | undefined) => FoundationElementRegistry<SwitchOptions, Constructable<FoundationElement>>;
|
|
225
|
-
fluentTabs: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Tabs>;
|
|
226
|
-
fluentTab: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Tab>;
|
|
227
|
-
fluentTabPanel: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, TabPanel>;
|
|
228
|
-
fluentTextArea: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, TextArea>;
|
|
229
|
-
fluentTextField: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, TextField>;
|
|
230
|
-
fluentToolbar: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Toolbar>;
|
|
231
|
-
fluentTooltip: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Tooltip>;
|
|
232
|
-
fluentTreeView: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof TreeView>;
|
|
233
|
-
fluentTreeItem: (overrideDefinition?: OverrideFoundationElementDefinition<TreeItemOptions> | undefined) => FoundationElementRegistry<TreeItemOptions, Constructable<FoundationElement>>;
|
|
234
|
-
register(container?: Container | undefined, ...rest: any[]): void;
|
|
235
|
-
};
|
|
24
|
+
export declare class Accordion extends FASTAccordion {
|
|
25
|
+
}
|
|
236
26
|
|
|
237
27
|
/**
|
|
238
|
-
*
|
|
28
|
+
* The Fluent Accordion Element. Implements {@link @microsoft/fast-foundation#Accordion },
|
|
29
|
+
* {@link @microsoft/fast-foundation#accordionTemplate}
|
|
239
30
|
*
|
|
240
|
-
* TODO: The --background-luminance will need to be derived from JavaScript. For now
|
|
241
|
-
* this is hard-coded to a 1, the relative luminance of pure white.
|
|
242
|
-
* https://github.com/microsoft/fast/issues/2778
|
|
243
|
-
* opacity was `calc(.11 * (2 - var(--background-luminance, 1)))`
|
|
244
31
|
*
|
|
245
|
-
* @
|
|
246
|
-
* @
|
|
32
|
+
* @public
|
|
33
|
+
* @remarks
|
|
34
|
+
* HTML Element: \<fluent-accordion\>
|
|
247
35
|
*/
|
|
248
|
-
export declare const
|
|
36
|
+
export declare const accordionDefinition: FASTElementDefinition<typeof Accordion>;
|
|
249
37
|
|
|
250
38
|
/**
|
|
251
|
-
* The Fluent version of Anchor
|
|
252
39
|
* @internal
|
|
253
40
|
*/
|
|
254
|
-
export declare class
|
|
41
|
+
export declare class AccordionItem extends FASTAccordionItem {
|
|
255
42
|
/**
|
|
256
|
-
*
|
|
43
|
+
* Defines accordion header font size.
|
|
257
44
|
*
|
|
258
45
|
* @public
|
|
46
|
+
* @default 'medium'
|
|
259
47
|
* @remarks
|
|
260
|
-
* HTML Attribute:
|
|
48
|
+
* HTML Attribute: size
|
|
261
49
|
*/
|
|
262
|
-
|
|
263
|
-
appearanceChanged(oldValue: AnchorAppearance, newValue: AnchorAppearance): void;
|
|
50
|
+
size?: AccordionItemSize;
|
|
264
51
|
/**
|
|
265
|
-
*
|
|
52
|
+
* Sets the width of the focus state.
|
|
53
|
+
*
|
|
54
|
+
* @public
|
|
55
|
+
* @remarks
|
|
56
|
+
* HTML Attribute: block
|
|
266
57
|
*/
|
|
267
|
-
|
|
58
|
+
block: boolean;
|
|
268
59
|
/**
|
|
269
|
-
*
|
|
60
|
+
* Sets expand and collapsed icon position.
|
|
270
61
|
*
|
|
271
|
-
* @
|
|
62
|
+
* @public
|
|
63
|
+
* @default 'start'
|
|
64
|
+
* @remarks
|
|
65
|
+
* HTML Attribute: expandIconPosition
|
|
272
66
|
*/
|
|
273
|
-
|
|
67
|
+
expandIconPosition?: AccordionItemExpandIconPosition;
|
|
274
68
|
}
|
|
275
69
|
|
|
276
70
|
/**
|
|
277
|
-
*
|
|
71
|
+
* The Fluent AccordionItem Element. Implements {@link @microsoft/fast-foundation#AccordionItem },
|
|
72
|
+
* {@link @microsoft/fast-foundation#accordionItemTemplate}
|
|
73
|
+
*
|
|
74
|
+
*
|
|
278
75
|
* @public
|
|
76
|
+
* @remarks
|
|
77
|
+
* HTML Element: \<fluent-accordion-item\>
|
|
279
78
|
*/
|
|
280
|
-
export declare
|
|
281
|
-
|
|
282
|
-
export { AnchoredRegion }
|
|
79
|
+
export declare const accordionItemDefinition: FASTElementDefinition<typeof AccordionItem>;
|
|
283
80
|
|
|
284
81
|
/**
|
|
285
|
-
*
|
|
286
|
-
* @public
|
|
82
|
+
* An Accordion Item expand/collapse icon can appear at the start or end of the accordion
|
|
287
83
|
*/
|
|
288
|
-
export declare const
|
|
84
|
+
export declare const AccordionItemExpandIconPosition: {
|
|
85
|
+
readonly start: "start";
|
|
86
|
+
readonly end: "end";
|
|
87
|
+
};
|
|
289
88
|
|
|
290
89
|
/**
|
|
291
|
-
*
|
|
90
|
+
* Applies expand/collapse icon position
|
|
292
91
|
* @public
|
|
293
92
|
*/
|
|
294
|
-
export declare
|
|
295
|
-
|
|
296
|
-
/**
|
|
297
|
-
* The Fluent Badge class
|
|
298
|
-
* @internal
|
|
299
|
-
*/
|
|
300
|
-
export declare class Badge extends Badge_2 {
|
|
301
|
-
appearance: BadgeAppearance;
|
|
302
|
-
private appearanceChanged;
|
|
303
|
-
}
|
|
93
|
+
export declare type AccordionItemExpandIconPosition = ValuesOf<typeof AccordionItemExpandIconPosition>;
|
|
304
94
|
|
|
305
95
|
/**
|
|
306
|
-
*
|
|
307
|
-
* @public
|
|
96
|
+
* An Accordion Item header font size can be small, medium, large, and extra-large
|
|
308
97
|
*/
|
|
309
|
-
export declare
|
|
98
|
+
export declare const AccordionItemSize: {
|
|
99
|
+
readonly small: "small";
|
|
100
|
+
readonly medium: "medium";
|
|
101
|
+
readonly large: "large";
|
|
102
|
+
readonly extraLarge: "extra-large";
|
|
103
|
+
};
|
|
310
104
|
|
|
311
105
|
/**
|
|
312
|
-
*
|
|
106
|
+
* Applies font size to accordion header
|
|
313
107
|
* @public
|
|
314
108
|
*/
|
|
315
|
-
export declare
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* The base styles for button controls, without `appearance` visual differences.
|
|
319
|
-
*
|
|
320
|
-
* @internal
|
|
321
|
-
*/
|
|
322
|
-
export declare const baseButtonStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, interactivitySelector: string, nonInteractivitySelector?: string) => ElementStyles;
|
|
109
|
+
export declare type AccordionItemSize = ValuesOf<typeof AccordionItemSize>;
|
|
323
110
|
|
|
324
|
-
|
|
325
|
-
export declare const baseHeightMultiplier: CSSDesignToken<number>;
|
|
326
|
-
|
|
327
|
-
/** @public */
|
|
328
|
-
export declare const baseHorizontalSpacingMultiplier: CSSDesignToken<number>;
|
|
111
|
+
export declare const accordionItemStyles: ElementStyles;
|
|
329
112
|
|
|
330
113
|
/**
|
|
331
|
-
* The
|
|
332
|
-
*
|
|
333
|
-
* @internal
|
|
114
|
+
* The template for the fluent-accordion component.
|
|
115
|
+
* @public
|
|
334
116
|
*/
|
|
335
|
-
export declare const
|
|
117
|
+
export declare const accordionItemTemplate: ElementViewTemplate<AccordionItem>;
|
|
336
118
|
|
|
337
|
-
|
|
338
|
-
export declare const baseLayerLuminance: CSSDesignToken<number>;
|
|
119
|
+
export declare const accordionStyles: ElementStyles;
|
|
339
120
|
|
|
340
|
-
|
|
341
|
-
export declare const bodyFont: CSSDesignToken<string>;
|
|
342
|
-
|
|
343
|
-
export { Breadcrumb }
|
|
344
|
-
|
|
345
|
-
export { BreadcrumbItem }
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* Styles for BreadcrumbItem
|
|
349
|
-
* @public
|
|
350
|
-
*/
|
|
351
|
-
export declare const breadcrumbItemStyles: (context: ElementDefinitionContext, definition: BreadcrumbItemOptions) => ElementStyles;
|
|
121
|
+
export declare const accordionTemplate: ElementViewTemplate<Accordion>;
|
|
352
122
|
|
|
353
123
|
/**
|
|
354
|
-
*
|
|
124
|
+
* The base class used for constructing a fluent-avatar custom element
|
|
355
125
|
* @public
|
|
356
126
|
*/
|
|
357
|
-
export declare
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* The Fluent button class
|
|
361
|
-
* @internal
|
|
362
|
-
*/
|
|
363
|
-
export declare class Button extends Button_2 {
|
|
127
|
+
export declare class Avatar extends FASTElement {
|
|
364
128
|
/**
|
|
365
|
-
* The
|
|
129
|
+
* The name of the person or entity represented by this Avatar. This should always be provided if it is available.
|
|
366
130
|
*
|
|
367
131
|
* @public
|
|
368
132
|
* @remarks
|
|
369
|
-
* HTML Attribute:
|
|
133
|
+
* HTML Attribute: name
|
|
370
134
|
*/
|
|
371
|
-
|
|
372
|
-
appearanceChanged(oldValue: ButtonAppearance, newValue: ButtonAppearance): void;
|
|
135
|
+
name?: string | undefined;
|
|
373
136
|
/**
|
|
374
|
-
*
|
|
137
|
+
* Provide custom initials rather than one generated via the name
|
|
138
|
+
*
|
|
139
|
+
* @public
|
|
140
|
+
* @remarks
|
|
141
|
+
* HTML Attribute: name
|
|
375
142
|
*/
|
|
376
|
-
|
|
143
|
+
initials?: string | undefined;
|
|
377
144
|
/**
|
|
378
|
-
*
|
|
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
|
|
379
156
|
*
|
|
380
|
-
* @internal
|
|
381
157
|
*/
|
|
382
|
-
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* Types of button appearance.
|
|
387
|
-
* @public
|
|
388
|
-
*/
|
|
389
|
-
export declare type ButtonAppearance = 'accent' | 'lightweight' | 'neutral' | 'outline' | 'stealth';
|
|
390
|
-
|
|
391
|
-
/**
|
|
392
|
-
* Styles for Button
|
|
393
|
-
* @public
|
|
394
|
-
*/
|
|
395
|
-
export declare const buttonStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
396
|
-
|
|
397
|
-
/**
|
|
398
|
-
* @public
|
|
399
|
-
*/
|
|
400
|
-
export declare class Card extends Card_2 {
|
|
158
|
+
size?: AvatarSize | undefined;
|
|
401
159
|
/**
|
|
402
|
-
*
|
|
160
|
+
* The avatar can have a circular or square shape.
|
|
403
161
|
*
|
|
404
|
-
* Updates the neutral palette and sets the card to the source color. For tinting use neutral-palette-source instead.
|
|
405
162
|
* @public
|
|
406
163
|
* @remarks
|
|
407
|
-
* HTML Attribute:
|
|
164
|
+
* HTML Attribute: shape
|
|
408
165
|
*/
|
|
409
|
-
|
|
410
|
-
private cardFillColorChanged;
|
|
166
|
+
shape?: AvatarShape | undefined;
|
|
411
167
|
/**
|
|
412
|
-
*
|
|
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
|
|
413
172
|
*
|
|
414
|
-
* This allows for tinting the card while maintaining the light or dark context. For a fixed color use card-fill-color instead.
|
|
415
173
|
* @public
|
|
416
174
|
* @remarks
|
|
417
|
-
* HTML Attribute:
|
|
175
|
+
* HTML Attribute: active
|
|
418
176
|
*/
|
|
419
|
-
|
|
420
|
-
private neutralPaletteSourceChanged;
|
|
177
|
+
active?: AvatarActive | undefined;
|
|
421
178
|
/**
|
|
422
|
-
*
|
|
179
|
+
* The appearance when `active="active"`
|
|
180
|
+
*
|
|
181
|
+
* @public
|
|
182
|
+
* @remarks
|
|
183
|
+
* HTML Attribute: appearance
|
|
423
184
|
*/
|
|
424
|
-
|
|
425
|
-
connectedCallback(): void;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
/**
|
|
429
|
-
* Styles for Card
|
|
430
|
-
* @public
|
|
431
|
-
*/
|
|
432
|
-
export declare const cardStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
433
|
-
|
|
434
|
-
/**
|
|
435
|
-
* Styles for Checkbox
|
|
436
|
-
* @public
|
|
437
|
-
*/
|
|
438
|
-
export declare const checkboxStyles: (context: ElementDefinitionContext, definition: CheckboxOptions) => ElementStyles;
|
|
439
|
-
|
|
440
|
-
/** @public */
|
|
441
|
-
export declare interface ColorRecipe {
|
|
442
|
-
evaluate(element: HTMLElement, reference?: Swatch): Swatch;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
* The Fluent combobox class
|
|
447
|
-
* @internal
|
|
448
|
-
*/
|
|
449
|
-
export declare class Combobox extends Combobox_2 {
|
|
185
|
+
appearance?: AvatarAppearance | undefined;
|
|
450
186
|
/**
|
|
451
|
-
* The
|
|
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
|
|
452
192
|
*
|
|
453
193
|
* @public
|
|
454
194
|
* @remarks
|
|
455
|
-
* HTML Attribute:
|
|
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.
|
|
456
201
|
*/
|
|
457
|
-
|
|
202
|
+
colorId?: AvatarNamedColor | undefined;
|
|
458
203
|
/**
|
|
204
|
+
* Sets the data-color attribute used for the visual presentation
|
|
459
205
|
* @internal
|
|
460
206
|
*/
|
|
461
|
-
|
|
207
|
+
generateColor(): AvatarColor | void;
|
|
462
208
|
/**
|
|
209
|
+
* Generates and sets the initials for the template
|
|
463
210
|
* @internal
|
|
464
211
|
*/
|
|
465
|
-
|
|
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")[];
|
|
466
217
|
}
|
|
467
218
|
|
|
468
219
|
/**
|
|
469
|
-
*
|
|
470
|
-
* @public
|
|
220
|
+
* The Avatar "active" state
|
|
471
221
|
*/
|
|
472
|
-
export declare
|
|
222
|
+
export declare const AvatarActive: {
|
|
223
|
+
readonly active: "active";
|
|
224
|
+
readonly inactive: "inactive";
|
|
225
|
+
};
|
|
473
226
|
|
|
474
227
|
/**
|
|
475
|
-
*
|
|
476
|
-
* @public
|
|
228
|
+
* The types of Avatar active state
|
|
477
229
|
*/
|
|
478
|
-
export declare
|
|
230
|
+
export declare type AvatarActive = ValuesOf<typeof AvatarActive>;
|
|
479
231
|
|
|
480
|
-
/**
|
|
481
|
-
|
|
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
|
+
};
|
|
482
240
|
|
|
483
|
-
/**
|
|
484
|
-
|
|
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
|
+
};
|
|
485
284
|
|
|
486
285
|
/**
|
|
487
|
-
*
|
|
488
|
-
* @param r - Red value represented as a number between 0 and 1.
|
|
489
|
-
* @param g - Green value represented as a number between 0 and 1.
|
|
490
|
-
* @param b - Blue value represented as a number between 0 and 1.
|
|
286
|
+
* The Avatar Color
|
|
491
287
|
*/
|
|
492
|
-
declare
|
|
288
|
+
export declare type AvatarColor = ValuesOf<typeof AvatarColor>;
|
|
493
289
|
|
|
494
290
|
/**
|
|
495
|
-
*
|
|
496
|
-
*
|
|
291
|
+
* The Fluent Avatar Element.
|
|
292
|
+
*
|
|
293
|
+
* @public
|
|
294
|
+
* @remarks
|
|
295
|
+
* HTML Element: \<fluent-badge\>
|
|
497
296
|
*/
|
|
498
|
-
declare
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
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
|
+
};
|
|
503
334
|
|
|
504
335
|
/**
|
|
505
|
-
*
|
|
336
|
+
* An avatar can be one of named colors
|
|
506
337
|
* @public
|
|
507
338
|
*/
|
|
508
|
-
export declare
|
|
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
|
+
};
|
|
509
348
|
|
|
510
|
-
|
|
349
|
+
/**
|
|
350
|
+
* The types of Avatar Shape
|
|
351
|
+
*/
|
|
352
|
+
export declare type AvatarShape = ValuesOf<typeof AvatarShape>;
|
|
511
353
|
|
|
512
354
|
/**
|
|
513
|
-
*
|
|
355
|
+
* The Avatar Sizes
|
|
514
356
|
* @public
|
|
515
357
|
*/
|
|
516
|
-
export declare const
|
|
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
|
+
};
|
|
517
374
|
|
|
518
375
|
/**
|
|
519
|
-
*
|
|
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
|
|
520
382
|
* @public
|
|
521
383
|
*/
|
|
522
|
-
export declare const
|
|
384
|
+
export declare const AvatarStyles: ElementStyles;
|
|
523
385
|
|
|
524
|
-
|
|
525
|
-
export declare const density: CSSDesignToken<number>;
|
|
386
|
+
export declare const AvatarTemplate: ElementViewTemplate<Avatar>;
|
|
526
387
|
|
|
527
388
|
/**
|
|
528
|
-
* The
|
|
389
|
+
* The base class used for constructing a fluent-badge custom element
|
|
529
390
|
* @public
|
|
530
391
|
*/
|
|
531
|
-
export declare class
|
|
532
|
-
constructor();
|
|
533
|
-
connectedCallback(): void;
|
|
534
|
-
/**
|
|
535
|
-
* Used to instruct the FluentDesignSystemProvider
|
|
536
|
-
* that it should not set the CSS
|
|
537
|
-
* background-color and color properties
|
|
538
|
-
*
|
|
539
|
-
* @remarks
|
|
540
|
-
* HTML boolean attribute: no-paint
|
|
541
|
-
*/
|
|
542
|
-
noPaint: boolean;
|
|
543
|
-
private noPaintChanged;
|
|
544
|
-
/**
|
|
545
|
-
* Define design system property attributes
|
|
546
|
-
* @remarks
|
|
547
|
-
* HTML attribute: fill-color
|
|
548
|
-
*
|
|
549
|
-
* CSS custom property: --fill-color
|
|
550
|
-
*/
|
|
551
|
-
fillColor: Swatch;
|
|
552
|
-
/**
|
|
553
|
-
* A convenience to recreate the accentPalette
|
|
554
|
-
* @remarks
|
|
555
|
-
* HTML attribute: accent-base-color
|
|
556
|
-
*/
|
|
557
|
-
accentBaseColor: Swatch;
|
|
558
|
-
/**
|
|
559
|
-
* A convenience to recreate the neutralPalette
|
|
560
|
-
* @remarks
|
|
561
|
-
* HTML attribute: neutral-base-color
|
|
562
|
-
*/
|
|
563
|
-
neutralBaseColor: Swatch;
|
|
564
|
-
/**
|
|
565
|
-
*
|
|
566
|
-
* The density offset, used with designUnit to calculate height and spacing.
|
|
567
|
-
*
|
|
568
|
-
* @remarks
|
|
569
|
-
* HTML attribute: density
|
|
570
|
-
*
|
|
571
|
-
* CSS custom property: --density
|
|
572
|
-
*/
|
|
573
|
-
density: number;
|
|
574
|
-
/**
|
|
575
|
-
* The grid-unit that UI dimensions are derived from in pixels.
|
|
576
|
-
*
|
|
577
|
-
* @remarks
|
|
578
|
-
* HTML attribute: design-unit
|
|
579
|
-
*
|
|
580
|
-
* CSS custom property: --design-unit
|
|
581
|
-
*/
|
|
582
|
-
designUnit: number;
|
|
583
|
-
/**
|
|
584
|
-
* The primary document direction.
|
|
585
|
-
*
|
|
586
|
-
* @remarks
|
|
587
|
-
* HTML attribute: direction
|
|
588
|
-
*
|
|
589
|
-
* CSS custom property: N/A
|
|
590
|
-
*/
|
|
591
|
-
direction: Direction;
|
|
592
|
-
/**
|
|
593
|
-
* The number of designUnits used for component height at the base density.
|
|
594
|
-
*
|
|
595
|
-
* @remarks
|
|
596
|
-
* HTML attribute: base-height-multiplier
|
|
597
|
-
*
|
|
598
|
-
* CSS custom property: --base-height-multiplier
|
|
599
|
-
*/
|
|
600
|
-
baseHeightMultiplier: number;
|
|
601
|
-
/**
|
|
602
|
-
* The number of designUnits used for horizontal spacing at the base density.
|
|
603
|
-
*
|
|
604
|
-
* @remarks
|
|
605
|
-
* HTML attribute: base-horizontal-spacing-multiplier
|
|
606
|
-
*
|
|
607
|
-
* CSS custom property: --base-horizontal-spacing-multiplier
|
|
608
|
-
*/
|
|
609
|
-
baseHorizontalSpacingMultiplier: number;
|
|
610
|
-
/**
|
|
611
|
-
* The corner radius applied to controls.
|
|
612
|
-
*
|
|
613
|
-
* @remarks
|
|
614
|
-
* HTML attribute: control-corner-radius
|
|
615
|
-
*
|
|
616
|
-
* CSS custom property: --control-corner-radius
|
|
617
|
-
*/
|
|
618
|
-
controlCornerRadius: number;
|
|
619
|
-
/**
|
|
620
|
-
* The corner radius applied to layers.
|
|
621
|
-
*
|
|
622
|
-
* @remarks
|
|
623
|
-
* HTML attribute: layer-corner-radius
|
|
624
|
-
*
|
|
625
|
-
* CSS custom property: --layer-corner-radius
|
|
626
|
-
*/
|
|
627
|
-
layerCornerRadius: number;
|
|
628
|
-
/**
|
|
629
|
-
* The width of the standard stroke applied to stroke components in pixels.
|
|
630
|
-
*
|
|
631
|
-
* @remarks
|
|
632
|
-
* HTML attribute: stroke-width
|
|
633
|
-
*
|
|
634
|
-
* CSS custom property: --stroke-width
|
|
635
|
-
*/
|
|
636
|
-
strokeWidth: number;
|
|
637
|
-
/**
|
|
638
|
-
* The width of the standard focus stroke in pixels.
|
|
639
|
-
*
|
|
640
|
-
* @remarks
|
|
641
|
-
* HTML attribute: focus-stroke-width
|
|
642
|
-
*
|
|
643
|
-
* CSS custom property: --focus-stroke-width
|
|
644
|
-
*/
|
|
645
|
-
focusStrokeWidth: number;
|
|
392
|
+
export declare class Badge extends FASTElement {
|
|
646
393
|
/**
|
|
647
|
-
* The
|
|
648
|
-
*
|
|
649
|
-
* @remarks
|
|
650
|
-
* HTML attribute: disabled-opacity
|
|
651
|
-
*
|
|
652
|
-
* CSS custom property: --disabled-opacity
|
|
653
|
-
*/
|
|
654
|
-
disabledOpacity: number;
|
|
655
|
-
/**
|
|
656
|
-
* The font-size two steps below the base font-size
|
|
657
|
-
*
|
|
658
|
-
* @remarks
|
|
659
|
-
* HTML attribute: type-ramp-minus-2-font-size
|
|
660
|
-
*
|
|
661
|
-
* CSS custom property: --type-ramp-minus-2-font-size
|
|
662
|
-
*/
|
|
663
|
-
typeRampMinus2FontSize: string;
|
|
664
|
-
/**
|
|
665
|
-
* The line-height two steps below the base line-height
|
|
666
|
-
*
|
|
667
|
-
* @remarks
|
|
668
|
-
* HTML attribute: type-ramp-minus-2-line-height
|
|
669
|
-
*
|
|
670
|
-
* CSS custom property: --type-ramp-minus-2-line-height
|
|
671
|
-
*/
|
|
672
|
-
typeRampMinus2LineHeight: string;
|
|
673
|
-
/**
|
|
674
|
-
* The font-size one step below the base font-size
|
|
675
|
-
*
|
|
676
|
-
* @remarks
|
|
677
|
-
* HTML attribute: type-ramp-minus-1-font-size
|
|
678
|
-
*
|
|
679
|
-
* CSS custom property: --type-ramp-minus-1-font-size
|
|
680
|
-
*/
|
|
681
|
-
typeRampMinus1FontSize: string;
|
|
682
|
-
/**
|
|
683
|
-
* The line-height one step below the base line-height
|
|
394
|
+
* The appearance the badge should have.
|
|
684
395
|
*
|
|
396
|
+
* @public
|
|
685
397
|
* @remarks
|
|
686
|
-
* HTML
|
|
687
|
-
*
|
|
688
|
-
* CSS custom property: --type-ramp-minus-1-line-height
|
|
398
|
+
* HTML Attribute: appearance
|
|
689
399
|
*/
|
|
690
|
-
|
|
400
|
+
appearance: BadgeAppearance;
|
|
691
401
|
/**
|
|
692
|
-
* The
|
|
402
|
+
* The color the badge should have.
|
|
693
403
|
*
|
|
404
|
+
* @public
|
|
694
405
|
* @remarks
|
|
695
|
-
* HTML
|
|
696
|
-
*
|
|
697
|
-
* CSS custom property: --type-ramp-base-font-size
|
|
406
|
+
* HTML Attribute: color
|
|
698
407
|
*/
|
|
699
|
-
|
|
408
|
+
color: BadgeColor;
|
|
700
409
|
/**
|
|
701
|
-
* The
|
|
410
|
+
* The shape the badge should have.
|
|
702
411
|
*
|
|
412
|
+
* @public
|
|
703
413
|
* @remarks
|
|
704
|
-
* HTML
|
|
705
|
-
*
|
|
706
|
-
* CSS custom property: --type-ramp-base-line-height
|
|
414
|
+
* HTML Attribute: shape
|
|
707
415
|
*/
|
|
708
|
-
|
|
416
|
+
shape?: BadgeShape;
|
|
709
417
|
/**
|
|
710
|
-
* The
|
|
418
|
+
* The size the badge should have.
|
|
711
419
|
*
|
|
420
|
+
* @public
|
|
712
421
|
* @remarks
|
|
713
|
-
* HTML
|
|
714
|
-
*
|
|
715
|
-
* CSS custom property: --type-ramp-plus-1-font-size
|
|
422
|
+
* HTML Attribute: size
|
|
716
423
|
*/
|
|
717
|
-
|
|
718
|
-
/**
|
|
719
|
-
* The line-height one step above the base line-height
|
|
720
|
-
*
|
|
721
|
-
* @remarks
|
|
722
|
-
* HTML attribute: type-ramp-plus-1-line-height
|
|
723
|
-
*
|
|
724
|
-
* CSS custom property: --type-ramp-plus-1-line-height
|
|
725
|
-
*/
|
|
726
|
-
typeRampPlus1LineHeight: string;
|
|
727
|
-
/**
|
|
728
|
-
* The font-size two steps above the base font-size
|
|
729
|
-
*
|
|
730
|
-
* @remarks
|
|
731
|
-
* HTML attribute: type-ramp-plus-2-font-size
|
|
732
|
-
*
|
|
733
|
-
* CSS custom property: --type-ramp-plus-2-font-size
|
|
734
|
-
*/
|
|
735
|
-
typeRampPlus2FontSize: string;
|
|
736
|
-
/**
|
|
737
|
-
* The line-height two steps above the base line-height
|
|
738
|
-
*
|
|
739
|
-
* @remarks
|
|
740
|
-
* HTML attribute: type-ramp-plus-2-line-height
|
|
741
|
-
*
|
|
742
|
-
* CSS custom property: --type-ramp-plus-2-line-height
|
|
743
|
-
*/
|
|
744
|
-
typeRampPlus2LineHeight: string;
|
|
745
|
-
/**
|
|
746
|
-
* The font-size three steps above the base font-size
|
|
747
|
-
*
|
|
748
|
-
* @remarks
|
|
749
|
-
* HTML attribute: type-ramp-plus-3-font-size
|
|
750
|
-
*
|
|
751
|
-
* CSS custom property: --type-ramp-plus-3-font-size
|
|
752
|
-
*/
|
|
753
|
-
typeRampPlus3FontSize: string;
|
|
754
|
-
/**
|
|
755
|
-
* The line-height three steps above the base line-height
|
|
756
|
-
*
|
|
757
|
-
* @remarks
|
|
758
|
-
* HTML attribute: type-ramp-plus-3-line-height
|
|
759
|
-
*
|
|
760
|
-
* CSS custom property: --type-ramp-plus-3-line-height
|
|
761
|
-
*/
|
|
762
|
-
typeRampPlus3LineHeight: string;
|
|
763
|
-
/**
|
|
764
|
-
* The font-size four steps above the base font-size
|
|
765
|
-
*
|
|
766
|
-
* @remarks
|
|
767
|
-
* HTML attribute: type-ramp-plus-4-font-size
|
|
768
|
-
*
|
|
769
|
-
* CSS custom property: --type-ramp-plus-4-font-size
|
|
770
|
-
*/
|
|
771
|
-
typeRampPlus4FontSize: string;
|
|
772
|
-
/**
|
|
773
|
-
* The line-height four steps above the base line-height
|
|
774
|
-
*
|
|
775
|
-
* @remarks
|
|
776
|
-
* HTML attribute: type-ramp-plus-4-line-height
|
|
777
|
-
*
|
|
778
|
-
* CSS custom property: --type-ramp-plus-4-line-height
|
|
779
|
-
*/
|
|
780
|
-
typeRampPlus4LineHeight: string;
|
|
781
|
-
/**
|
|
782
|
-
* The font-size five steps above the base font-size
|
|
783
|
-
*
|
|
784
|
-
* @remarks
|
|
785
|
-
* HTML attribute: type-ramp-plus-5-font-size
|
|
786
|
-
*
|
|
787
|
-
* CSS custom property: --type-ramp-plus-5-font-size
|
|
788
|
-
*/
|
|
789
|
-
typeRampPlus5FontSize: string;
|
|
790
|
-
/**
|
|
791
|
-
* The line-height five steps above the base line-height
|
|
792
|
-
*
|
|
793
|
-
* @remarks
|
|
794
|
-
* HTML attribute: type-ramp-plus-5-line-height
|
|
795
|
-
*
|
|
796
|
-
* CSS custom property: --type-ramp-plus-5-line-height
|
|
797
|
-
*/
|
|
798
|
-
typeRampPlus5LineHeight: string;
|
|
799
|
-
/**
|
|
800
|
-
* The font-size six steps above the base font-size
|
|
801
|
-
*
|
|
802
|
-
* @remarks
|
|
803
|
-
* HTML attribute: type-ramp-plus-6-font-size
|
|
804
|
-
*
|
|
805
|
-
* CSS custom property: --type-ramp-plus-6-font-size
|
|
806
|
-
*/
|
|
807
|
-
typeRampPlus6FontSize: string;
|
|
808
|
-
/**
|
|
809
|
-
* The line-height six steps above the base line-height
|
|
810
|
-
*
|
|
811
|
-
* @remarks
|
|
812
|
-
* HTML attribute: type-ramp-plus-6-line-height
|
|
813
|
-
*
|
|
814
|
-
* CSS custom property: --type-ramp-plus-6-line-height
|
|
815
|
-
*/
|
|
816
|
-
typeRampPlus6LineHeight: string;
|
|
817
|
-
/**
|
|
818
|
-
* The distance from the resolved accent fill color for the rest state of the accent-fill recipe.
|
|
819
|
-
*
|
|
820
|
-
* @remarks
|
|
821
|
-
* HTML attribute: accent-fill-rest-delta
|
|
822
|
-
*
|
|
823
|
-
* CSS custom property: N/A
|
|
824
|
-
*/
|
|
825
|
-
accentFillRestDelta: number;
|
|
826
|
-
/**
|
|
827
|
-
* The distance from the resolved accent fill color for the hover state of the accent-fill recipe.
|
|
828
|
-
*
|
|
829
|
-
* @remarks
|
|
830
|
-
* HTML attribute: accent-fill-hover-delta
|
|
831
|
-
*
|
|
832
|
-
* CSS custom property: N/A
|
|
833
|
-
*/
|
|
834
|
-
accentFillHoverDelta: number;
|
|
835
|
-
/**
|
|
836
|
-
* The distance from the resolved accent fill color for the active state of the accent-fill recipe.
|
|
837
|
-
*
|
|
838
|
-
* @remarks
|
|
839
|
-
* HTML attribute: accent-fill-active-delta
|
|
840
|
-
*
|
|
841
|
-
* CSS custom property: N/A
|
|
842
|
-
*/
|
|
843
|
-
accentFillActiveDelta: number;
|
|
844
|
-
/**
|
|
845
|
-
* The distance from the resolved accent fill color for the focus state of the accent-fill recipe.
|
|
846
|
-
*
|
|
847
|
-
* @remarks
|
|
848
|
-
* HTML attribute: accent-fill-focus-delta
|
|
849
|
-
*
|
|
850
|
-
* CSS custom property: N/A
|
|
851
|
-
*/
|
|
852
|
-
accentFillFocusDelta: number;
|
|
853
|
-
/**
|
|
854
|
-
* The distance from the resolved accent foreground color for the rest state of the accent-foreground recipe.
|
|
855
|
-
*
|
|
856
|
-
* @remarks
|
|
857
|
-
* HTML attribute: accent-foreground-rest-delta
|
|
858
|
-
*
|
|
859
|
-
* CSS custom property: N/A
|
|
860
|
-
*/
|
|
861
|
-
accentForegroundRestDelta: number;
|
|
862
|
-
/**
|
|
863
|
-
* The distance from the resolved accent foreground color for the hover state of the accent-foreground recipe.
|
|
864
|
-
*
|
|
865
|
-
* @remarks
|
|
866
|
-
* HTML attribute: accent-foreground-hover-delta
|
|
867
|
-
*
|
|
868
|
-
* CSS custom property: N/A
|
|
869
|
-
*/
|
|
870
|
-
accentForegroundHoverDelta: number;
|
|
871
|
-
/**
|
|
872
|
-
* The distance from the resolved accent foreground color for the active state of the accent-foreground recipe.
|
|
873
|
-
*
|
|
874
|
-
* @remarks
|
|
875
|
-
* HTML attribute: accent-foreground-active-delta
|
|
876
|
-
*
|
|
877
|
-
* CSS custom property: N/A
|
|
878
|
-
*/
|
|
879
|
-
accentForegroundActiveDelta: number;
|
|
880
|
-
/**
|
|
881
|
-
* The distance from the resolved accent foreground color for the focus state of the accent-foreground recipe.
|
|
882
|
-
*
|
|
883
|
-
* @remarks
|
|
884
|
-
* HTML attribute: accent-foreground-focus-delta
|
|
885
|
-
*
|
|
886
|
-
* CSS custom property: N/A
|
|
887
|
-
*/
|
|
888
|
-
accentForegroundFocusDelta: number;
|
|
889
|
-
/**
|
|
890
|
-
* The distance from the resolved neutral fill color for the rest state of the neutral-fill recipe.
|
|
891
|
-
*
|
|
892
|
-
* @remarks
|
|
893
|
-
* HTML attribute: neutral-fill-rest-delta
|
|
894
|
-
*
|
|
895
|
-
* CSS custom property: N/A
|
|
896
|
-
*/
|
|
897
|
-
neutralFillRestDelta: number;
|
|
898
|
-
/**
|
|
899
|
-
* The distance from the resolved neutral fill color for the hover state of the neutral-fill recipe.
|
|
900
|
-
*
|
|
901
|
-
* @remarks
|
|
902
|
-
* HTML attribute: neutral-fill-hover-delta
|
|
903
|
-
*
|
|
904
|
-
* CSS custom property: N/A
|
|
905
|
-
*/
|
|
906
|
-
neutralFillHoverDelta: number;
|
|
907
|
-
/**
|
|
908
|
-
* The distance from the resolved neutral fill color for the active state of the neutral-fill recipe.
|
|
909
|
-
*
|
|
910
|
-
* @remarks
|
|
911
|
-
* HTML attribute: neutral-fill-active-delta
|
|
912
|
-
*
|
|
913
|
-
* CSS custom property: N/A
|
|
914
|
-
*/
|
|
915
|
-
neutralFillActiveDelta: number;
|
|
916
|
-
/**
|
|
917
|
-
* The distance from the resolved neutral fill color for the focus state of the neutral-fill recipe.
|
|
918
|
-
*
|
|
919
|
-
* @remarks
|
|
920
|
-
* HTML attribute: neutral-fill-focus-delta
|
|
921
|
-
*
|
|
922
|
-
* CSS custom property: N/A
|
|
923
|
-
*/
|
|
924
|
-
neutralFillFocusDelta: number;
|
|
925
|
-
/**
|
|
926
|
-
* The distance from the resolved neutral fill input color for the rest state of the neutral-fill-input recipe.
|
|
927
|
-
*
|
|
928
|
-
* @remarks
|
|
929
|
-
* HTML attribute: neutral-fill-input-rest-delta
|
|
930
|
-
*
|
|
931
|
-
* CSS custom property: N/A
|
|
932
|
-
*/
|
|
933
|
-
neutralFillInputRestDelta: number;
|
|
934
|
-
/**
|
|
935
|
-
* The distance from the resolved neutral fill input color for the hover state of the neutral-fill-input recipe.
|
|
936
|
-
*
|
|
937
|
-
* @remarks
|
|
938
|
-
* HTML attribute: neutral-fill-input-hover-delta
|
|
939
|
-
*
|
|
940
|
-
* CSS custom property: N/A
|
|
941
|
-
*/
|
|
942
|
-
neutralFillInputHoverDelta: number;
|
|
943
|
-
/**
|
|
944
|
-
* The distance from the resolved neutral fill input color for the active state of the neutral-fill-input recipe.
|
|
945
|
-
*
|
|
946
|
-
* @remarks
|
|
947
|
-
* HTML attribute: neutral-fill-input-active-delta
|
|
948
|
-
*
|
|
949
|
-
* CSS custom property: N/A
|
|
950
|
-
*/
|
|
951
|
-
neutralFillInputActiveDelta: number;
|
|
952
|
-
/**
|
|
953
|
-
* The distance from the resolved neutral fill input color for the focus state of the neutral-fill-input recipe.
|
|
954
|
-
*
|
|
955
|
-
* @remarks
|
|
956
|
-
* HTML attribute: neutral-fill-input-focus-delta
|
|
957
|
-
*
|
|
958
|
-
* CSS custom property: N/A
|
|
959
|
-
*/
|
|
960
|
-
neutralFillInputFocusDelta: number;
|
|
961
|
-
/**
|
|
962
|
-
* The distance from the resolved neutral fill input color for the rest state of the neutral-fill-layer recipe.
|
|
963
|
-
*
|
|
964
|
-
* @remarks
|
|
965
|
-
* HTML attribute: neutral-fill-layer-rest-delta
|
|
966
|
-
*
|
|
967
|
-
* CSS custom property: N/A
|
|
968
|
-
*/
|
|
969
|
-
neutralFillLayerRestDelta: number;
|
|
970
|
-
/**
|
|
971
|
-
* The distance from the resolved neutral fill stealth color for the rest state of the neutral-fill-stealth recipe.
|
|
972
|
-
*
|
|
973
|
-
* @remarks
|
|
974
|
-
* HTML attribute: neutral-fill-stealth-rest-delta
|
|
975
|
-
*
|
|
976
|
-
* CSS custom property: N/A
|
|
977
|
-
*/
|
|
978
|
-
neutralFillStealthRestDelta: number;
|
|
979
|
-
/**
|
|
980
|
-
* The distance from the resolved neutral fill stealth color for the hover state of the neutral-fill-stealth recipe.
|
|
981
|
-
*
|
|
982
|
-
* @remarks
|
|
983
|
-
* HTML attribute: neutral-fill-stealth-hover-delta
|
|
984
|
-
*
|
|
985
|
-
* CSS custom property: N/A
|
|
986
|
-
*/
|
|
987
|
-
neutralFillStealthHoverDelta: number;
|
|
988
|
-
/**
|
|
989
|
-
* The distance from the resolved neutral fill stealth color for the active state of the neutral-fill-stealth recipe.
|
|
990
|
-
*
|
|
991
|
-
* @remarks
|
|
992
|
-
* HTML attribute: neutral-fill-stealth-active-delta
|
|
993
|
-
*
|
|
994
|
-
* CSS custom property: N/A
|
|
995
|
-
*/
|
|
996
|
-
neutralFillStealthActiveDelta: number;
|
|
997
|
-
/**
|
|
998
|
-
* The distance from the resolved neutral fill stealth color for the focus state of the neutral-fill-stealth recipe.
|
|
999
|
-
*
|
|
1000
|
-
* @remarks
|
|
1001
|
-
* HTML attribute: neutral-fill-stealth-focus-delta
|
|
1002
|
-
*
|
|
1003
|
-
* CSS custom property: N/A
|
|
1004
|
-
*/
|
|
1005
|
-
neutralFillStealthFocusDelta: number;
|
|
1006
|
-
/**
|
|
1007
|
-
* The distance from the resolved neutral fill strong color for the hover state of the neutral-fill-strong recipe.
|
|
1008
|
-
*
|
|
1009
|
-
* @remarks
|
|
1010
|
-
* HTML attribute: neutral-fill-strong-hover-delta
|
|
1011
|
-
*
|
|
1012
|
-
* CSS custom property: N/A
|
|
1013
|
-
*/
|
|
1014
|
-
neutralFillStrongHoverDelta: number;
|
|
1015
|
-
/**
|
|
1016
|
-
* The distance from the resolved neutral fill strong color for the active state of the neutral-fill-strong recipe.
|
|
1017
|
-
*
|
|
1018
|
-
* @remarks
|
|
1019
|
-
* HTML attribute: neutral-fill-strong-active-delta
|
|
1020
|
-
*
|
|
1021
|
-
* CSS custom property: N/A
|
|
1022
|
-
*/
|
|
1023
|
-
neutralFillStrongActiveDelta: number;
|
|
1024
|
-
/**
|
|
1025
|
-
* The distance from the resolved neutral fill strong color for the focus state of the neutral-fill-strong recipe.
|
|
1026
|
-
*
|
|
1027
|
-
* @remarks
|
|
1028
|
-
* HTML attribute: neutral-fill-strong-focus-delta
|
|
1029
|
-
*
|
|
1030
|
-
* CSS custom property: N/A
|
|
1031
|
-
*/
|
|
1032
|
-
neutralFillStrongFocusDelta: number;
|
|
1033
|
-
/**
|
|
1034
|
-
* The {@link https://www.w3.org/WAI/GL/wiki/Relative_luminance#:~:text=WCAG%20definition%20of%20relative%20luminance,and%201%20for%20lightest%20white|relative luminance} of the base layer of the application.
|
|
1035
|
-
*
|
|
1036
|
-
* @remarks
|
|
1037
|
-
* When set to a number between 0 and 1
|
|
1038
|
-
*
|
|
1039
|
-
* HTML attribute: base-layer-luminance
|
|
1040
|
-
*
|
|
1041
|
-
* CSS custom property: N/A
|
|
1042
|
-
*/
|
|
1043
|
-
baseLayerLuminance: number;
|
|
1044
|
-
/**
|
|
1045
|
-
* The distance from the resolved divider color for the rest state of the neutral-stroke-divider recipe.
|
|
1046
|
-
*
|
|
1047
|
-
* @remarks
|
|
1048
|
-
* HTML attribute: neutral-stroke-divider-rest-delta
|
|
1049
|
-
*
|
|
1050
|
-
* CSS custom property: N/A
|
|
1051
|
-
*/
|
|
1052
|
-
neutralStrokeDividerRestDelta: number;
|
|
1053
|
-
/**
|
|
1054
|
-
* The distance from the resolved neutral stroke color for the rest state of the neutral-stroke recipe.
|
|
1055
|
-
*
|
|
1056
|
-
* @remarks
|
|
1057
|
-
* HTML attribute: neutral-stroke-rest-delta
|
|
1058
|
-
*
|
|
1059
|
-
* CSS custom property: N/A
|
|
1060
|
-
*/
|
|
1061
|
-
neutralStrokeRestDelta: number;
|
|
1062
|
-
/**
|
|
1063
|
-
* The distance from the resolved neutral stroke color for the hover state of the neutral-stroke recipe.
|
|
1064
|
-
*
|
|
1065
|
-
* @remarks
|
|
1066
|
-
* HTML attribute: neutral-stroke-hover-delta
|
|
1067
|
-
*
|
|
1068
|
-
* CSS custom property: N/A
|
|
1069
|
-
*/
|
|
1070
|
-
neutralStrokeHoverDelta: number;
|
|
1071
|
-
/**
|
|
1072
|
-
* The distance from the resolved neutral stroke color for the active state of the neutral-stroke recipe.
|
|
1073
|
-
*
|
|
1074
|
-
* @remarks
|
|
1075
|
-
* HTML attribute: neutral-stroke-active-delta
|
|
1076
|
-
*
|
|
1077
|
-
* CSS custom property: N/A
|
|
1078
|
-
*/
|
|
1079
|
-
neutralStrokeActiveDelta: number;
|
|
1080
|
-
/**
|
|
1081
|
-
* The distance from the resolved neutral stroke color for the focus state of the neutral-stroke recipe.
|
|
1082
|
-
*
|
|
1083
|
-
* @remarks
|
|
1084
|
-
* HTML attribute: neutral-stroke-focus-delta
|
|
1085
|
-
*
|
|
1086
|
-
* CSS custom property: N/A
|
|
1087
|
-
*/
|
|
1088
|
-
neutralStrokeFocusDelta: number;
|
|
424
|
+
size?: BadgeSize;
|
|
1089
425
|
}
|
|
1090
426
|
|
|
1091
|
-
/** @public */
|
|
1092
|
-
export declare const designUnit: CSSDesignToken<number>;
|
|
1093
|
-
|
|
1094
|
-
export { Dialog }
|
|
1095
|
-
|
|
1096
|
-
/**
|
|
1097
|
-
* Styles for Dialog
|
|
1098
|
-
* @public
|
|
1099
|
-
*/
|
|
1100
|
-
export declare const dialogStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
1101
|
-
|
|
1102
|
-
/** @public */
|
|
1103
|
-
export declare const direction: CSSDesignToken<Direction>;
|
|
1104
|
-
|
|
1105
|
-
/**
|
|
1106
|
-
* @internal
|
|
1107
|
-
* @deprecated Use elevationShadow design token
|
|
1108
|
-
*/
|
|
1109
|
-
export declare const directionalShadow = "0 calc(var(--elevation) * 0.5px) calc((var(--elevation) * 1px)) rgba(0, 0, 0, 0.2)";
|
|
1110
|
-
|
|
1111
|
-
/**
|
|
1112
|
-
* Behavior to conditionally apply LTR and RTL stylesheets. To determine which to apply,
|
|
1113
|
-
* the behavior will use the nearest DesignSystemProvider's 'direction' design system value.
|
|
1114
|
-
*
|
|
1115
|
-
* @public
|
|
1116
|
-
* @example
|
|
1117
|
-
* ```ts
|
|
1118
|
-
* import { css } from "@microsoft/fast-element";
|
|
1119
|
-
* import { DirectionalStyleSheetBehavior } from "@microsoft/fast-foundation";
|
|
1120
|
-
*
|
|
1121
|
-
* css`
|
|
1122
|
-
* // ...
|
|
1123
|
-
* `.withBehaviors(new DirectionalStyleSheetBehavior(
|
|
1124
|
-
* css`:host { content: "ltr"}`),
|
|
1125
|
-
* css`:host { content: "rtl"}`),
|
|
1126
|
-
* )
|
|
1127
|
-
* ```
|
|
1128
|
-
*/
|
|
1129
|
-
export declare class DirectionalStyleSheetBehavior implements Behavior {
|
|
1130
|
-
private ltr;
|
|
1131
|
-
private rtl;
|
|
1132
|
-
private cache;
|
|
1133
|
-
constructor(ltr: ElementStyles | null, rtl: ElementStyles | null);
|
|
1134
|
-
/**
|
|
1135
|
-
* @internal
|
|
1136
|
-
*/
|
|
1137
|
-
bind(source: FASTElement & HTMLElement): void;
|
|
1138
|
-
/**
|
|
1139
|
-
* @internal
|
|
1140
|
-
*/
|
|
1141
|
-
unbind(source: FASTElement & HTMLElement): void;
|
|
1142
|
-
private attach;
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
/** @public */
|
|
1146
|
-
export declare const disabledOpacity: CSSDesignToken<number>;
|
|
1147
|
-
|
|
1148
|
-
export { Divider }
|
|
1149
|
-
|
|
1150
|
-
/**
|
|
1151
|
-
* Styles for Divider
|
|
1152
|
-
* @public
|
|
1153
|
-
*/
|
|
1154
|
-
export declare const dividerStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
1155
|
-
|
|
1156
|
-
/** @public @deprecated Use layerCornerRadius */
|
|
1157
|
-
export declare const elevatedCornerRadius: CSSDesignToken<number>;
|
|
1158
|
-
|
|
1159
|
-
/**
|
|
1160
|
-
* Applies the box-shadow CSS rule set to the elevation formula.
|
|
1161
|
-
* Control this formula with the --elevation CSS Custom Property
|
|
1162
|
-
* by setting --elevation to a number.
|
|
1163
|
-
*
|
|
1164
|
-
* @public
|
|
1165
|
-
* @deprecated Use elevationShadow design token
|
|
1166
|
-
*/
|
|
1167
|
-
export declare const elevation: string;
|
|
1168
|
-
|
|
1169
|
-
/** @public */
|
|
1170
|
-
export declare interface ElevationRecipe {
|
|
1171
|
-
evaluate(element: HTMLElement, size: number, reference?: Swatch): string;
|
|
1172
|
-
}
|
|
1173
|
-
|
|
1174
|
-
/** @public */
|
|
1175
|
-
export declare const elevationShadowCardActive: CSSDesignToken<string>;
|
|
1176
|
-
|
|
1177
|
-
/** @public */
|
|
1178
|
-
export declare const elevationShadowCardActiveSize: CSSDesignToken<number>;
|
|
1179
|
-
|
|
1180
|
-
/** @public */
|
|
1181
|
-
export declare const elevationShadowCardFocus: CSSDesignToken<string>;
|
|
1182
|
-
|
|
1183
|
-
/** @public */
|
|
1184
|
-
export declare const elevationShadowCardFocusSize: CSSDesignToken<number>;
|
|
1185
|
-
|
|
1186
|
-
/** @public */
|
|
1187
|
-
export declare const elevationShadowCardHover: CSSDesignToken<string>;
|
|
1188
|
-
|
|
1189
|
-
/** @public */
|
|
1190
|
-
export declare const elevationShadowCardHoverSize: CSSDesignToken<number>;
|
|
1191
|
-
|
|
1192
|
-
/** @public */
|
|
1193
|
-
export declare const elevationShadowCardRest: CSSDesignToken<string>;
|
|
1194
|
-
|
|
1195
|
-
/** @public */
|
|
1196
|
-
export declare const elevationShadowCardRestSize: CSSDesignToken<number>;
|
|
1197
|
-
|
|
1198
|
-
/** @public */
|
|
1199
|
-
export declare const elevationShadowDialog: CSSDesignToken<string>;
|
|
1200
|
-
|
|
1201
|
-
/** @public */
|
|
1202
|
-
export declare const elevationShadowDialogSize: CSSDesignToken<number>;
|
|
1203
|
-
|
|
1204
|
-
/** @public */
|
|
1205
|
-
export declare const elevationShadowFlyout: CSSDesignToken<string>;
|
|
1206
|
-
|
|
1207
|
-
/** @public */
|
|
1208
|
-
export declare const elevationShadowFlyoutSize: CSSDesignToken<number>;
|
|
1209
|
-
|
|
1210
|
-
/**
|
|
1211
|
-
* @public
|
|
1212
|
-
*/
|
|
1213
|
-
export declare const elevationShadowRecipe: DesignToken<ElevationRecipe>;
|
|
1214
|
-
|
|
1215
|
-
/** @public */
|
|
1216
|
-
export declare const elevationShadowTooltip: CSSDesignToken<string>;
|
|
1217
|
-
|
|
1218
|
-
/** @public */
|
|
1219
|
-
export declare const elevationShadowTooltipSize: CSSDesignToken<number>;
|
|
1220
|
-
|
|
1221
|
-
/** @public */
|
|
1222
|
-
export declare const fillColor: CSSDesignToken<Swatch>;
|
|
1223
|
-
|
|
1224
|
-
export { Flipper }
|
|
1225
|
-
|
|
1226
|
-
/**
|
|
1227
|
-
* Styles for Flipper
|
|
1228
|
-
* @public
|
|
1229
|
-
*/
|
|
1230
|
-
export declare const flipperStyles: (context: ElementDefinitionContext, definition: FlipperOptions) => ElementStyles;
|
|
1231
|
-
|
|
1232
|
-
/**
|
|
1233
|
-
* The Fluent Accordion Element. Implements {@link @microsoft/fast-foundation#Accordion},
|
|
1234
|
-
* {@link @microsoft/fast-foundation#accordionTemplate}
|
|
1235
|
-
*
|
|
1236
|
-
*
|
|
1237
|
-
* @public
|
|
1238
|
-
* @remarks
|
|
1239
|
-
* HTML Element: \<fluent-accordion\>
|
|
1240
|
-
*/
|
|
1241
|
-
export declare const fluentAccordion: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Accordion>;
|
|
1242
|
-
|
|
1243
|
-
/**
|
|
1244
|
-
* The Fluent Accordion Item Element. Implements {@link @microsoft/fast-foundation#AccordionItem},
|
|
1245
|
-
* {@link @microsoft/fast-foundation#accordionItemTemplate}
|
|
1246
|
-
*
|
|
1247
|
-
*
|
|
1248
|
-
* @public
|
|
1249
|
-
* @remarks
|
|
1250
|
-
* HTML Element: \<fluent-accordion-item\>
|
|
1251
|
-
*/
|
|
1252
|
-
export declare const fluentAccordionItem: (overrideDefinition?: OverrideFoundationElementDefinition<AccordionItemOptions> | undefined) => FoundationElementRegistry<AccordionItemOptions, Constructable<FoundationElement>>;
|
|
1253
|
-
|
|
1254
|
-
/**
|
|
1255
|
-
* The Fluent Anchor Element. Implements {@link @microsoft/fast-foundation#Anchor},
|
|
1256
|
-
* {@link @microsoft/fast-foundation#anchorTemplate}
|
|
1257
|
-
*
|
|
1258
|
-
*
|
|
1259
|
-
* @public
|
|
1260
|
-
* @remarks
|
|
1261
|
-
* HTML Element: \<fluent-anchor\>
|
|
1262
|
-
*
|
|
1263
|
-
* {@link https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/delegatesFocus | delegatesFocus}
|
|
1264
|
-
*/
|
|
1265
|
-
export declare const fluentAnchor: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Anchor>;
|
|
1266
|
-
|
|
1267
|
-
/**
|
|
1268
|
-
* The Fluent AnchoredRegion Element. Implements {@link @microsoft/fast-foundation#AnchoredRegion},
|
|
1269
|
-
* {@link @microsoft/fast-foundation#anchoredRegionTemplate}
|
|
1270
|
-
*
|
|
1271
|
-
*
|
|
1272
|
-
* @beta
|
|
1273
|
-
* @remarks
|
|
1274
|
-
* HTML Element: \<fluent-anchored-region\>
|
|
1275
|
-
*/
|
|
1276
|
-
export declare const fluentAnchoredRegion: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof AnchoredRegion>;
|
|
1277
|
-
|
|
1278
|
-
/**
|
|
1279
|
-
* The Fluent Badge Element. Implements {@link @microsoft/fast-foundation#Badge},
|
|
1280
|
-
* {@link @microsoft/fast-foundation#badgeTemplate}
|
|
1281
|
-
*
|
|
1282
|
-
*
|
|
1283
|
-
* @public
|
|
1284
|
-
* @remarks
|
|
1285
|
-
* HTML Element: \<fluent-badge\>
|
|
1286
|
-
*/
|
|
1287
|
-
export declare const fluentBadge: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Badge>;
|
|
1288
|
-
|
|
1289
|
-
/**
|
|
1290
|
-
* The Fluent Breadcrumb Element. Implements {@link @microsoft/fast-foundation#Breadcrumb},
|
|
1291
|
-
* {@link @microsoft/fast-foundation#breadcrumbTemplate}
|
|
1292
|
-
*
|
|
1293
|
-
*
|
|
1294
|
-
* @public
|
|
1295
|
-
* @remarks
|
|
1296
|
-
* HTML Element: \<fluent-breadcrumb\>
|
|
1297
|
-
*/
|
|
1298
|
-
export declare const fluentBreadcrumb: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Breadcrumb>;
|
|
1299
|
-
|
|
1300
|
-
/**
|
|
1301
|
-
* The Fluent BreadcrumbItem Element. Implements {@link @microsoft/fast-foundation#BreadcrumbItem},
|
|
1302
|
-
* {@link @microsoft/fast-foundation#breadcrumbItemTemplate}
|
|
1303
|
-
*
|
|
1304
|
-
*
|
|
1305
|
-
* @public
|
|
1306
|
-
* @remarks
|
|
1307
|
-
* HTML Element: \<fluent-breadcrumb-item\>
|
|
1308
|
-
*/
|
|
1309
|
-
export declare const fluentBreadcrumbItem: (overrideDefinition?: OverrideFoundationElementDefinition<BreadcrumbItemOptions> | undefined) => FoundationElementRegistry<BreadcrumbItemOptions, Constructable<FoundationElement>>;
|
|
1310
|
-
|
|
1311
|
-
/**
|
|
1312
|
-
* The Fluent Button Element. Implements {@link @microsoft/fast-foundation#Button},
|
|
1313
|
-
* {@link @microsoft/fast-foundation#buttonTemplate}
|
|
1314
|
-
*
|
|
1315
|
-
*
|
|
1316
|
-
* @public
|
|
1317
|
-
* @remarks
|
|
1318
|
-
* HTML Element: \<fluent-button\>
|
|
1319
|
-
*
|
|
1320
|
-
* {@link https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/delegatesFocus | delegatesFocus}
|
|
1321
|
-
*/
|
|
1322
|
-
export declare const fluentButton: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Button>;
|
|
1323
|
-
|
|
1324
|
-
/**
|
|
1325
|
-
* The Fluent Calendar Element. Implements {@link @microsoft/fast-foundation#Calendar},
|
|
1326
|
-
* {@link @microsoft/fast-foundation#calendarTemplate}
|
|
1327
|
-
*
|
|
1328
|
-
* @public
|
|
1329
|
-
* @remarks
|
|
1330
|
-
* HTML Element \<fluent-calendar\>
|
|
1331
|
-
*/
|
|
1332
|
-
export declare const fluentCalendar: (overrideDefinition?: OverrideFoundationElementDefinition<CalendarOptions> | undefined) => FoundationElementRegistry<CalendarOptions, Constructable<FoundationElement>>;
|
|
1333
|
-
|
|
1334
|
-
/**
|
|
1335
|
-
* The Fluent Card Element. Implements {@link @microsoft/fast-foundation#Card},
|
|
1336
|
-
* {@link @microsoft/fast-foundation#CardTemplate}
|
|
1337
|
-
*
|
|
1338
|
-
*
|
|
1339
|
-
* @public
|
|
1340
|
-
* @remarks
|
|
1341
|
-
* HTML Element: \<fluent-card\>
|
|
1342
|
-
*/
|
|
1343
|
-
export declare const fluentCard: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Card>;
|
|
1344
|
-
|
|
1345
|
-
/**
|
|
1346
|
-
* The Fluent Checkbox Element. Implements {@link @microsoft/fast-foundation#Checkbox},
|
|
1347
|
-
* {@link @microsoft/fast-foundation#checkboxTemplate}
|
|
1348
|
-
*
|
|
1349
|
-
*
|
|
1350
|
-
* @public
|
|
1351
|
-
* @remarks
|
|
1352
|
-
* HTML Element: \<fluent-checkbox\>
|
|
1353
|
-
*/
|
|
1354
|
-
export declare const fluentCheckbox: (overrideDefinition?: OverrideFoundationElementDefinition<CheckboxOptions> | undefined) => FoundationElementRegistry<CheckboxOptions, Constructable<FoundationElement>>;
|
|
1355
|
-
|
|
1356
|
-
/**
|
|
1357
|
-
* The Fluent Combobox Custom Element. Implements {@link @microsoft/fast-foundation#Combobox},
|
|
1358
|
-
* {@link @microsoft/fast-foundation#comboboxTemplate}
|
|
1359
|
-
*
|
|
1360
|
-
* @public
|
|
1361
|
-
* @remarks
|
|
1362
|
-
* HTML Element: \<fluent-combobox\>
|
|
1363
|
-
*
|
|
1364
|
-
*/
|
|
1365
|
-
export declare const fluentCombobox: (overrideDefinition?: OverrideFoundationElementDefinition<ComboboxOptions> | undefined) => FoundationElementRegistry<ComboboxOptions, Constructable<FoundationElement>>;
|
|
1366
|
-
|
|
1367
|
-
/**
|
|
1368
|
-
* The Fluent Data Grid Element.
|
|
1369
|
-
*
|
|
1370
|
-
* @public
|
|
1371
|
-
* @remarks
|
|
1372
|
-
* HTML Element: \<fluent-data-grid\>
|
|
1373
|
-
*/
|
|
1374
|
-
export declare const fluentDataGrid: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof DataGrid>;
|
|
1375
|
-
|
|
1376
|
-
/**
|
|
1377
|
-
* The Fluent Data Grid Cell Element.
|
|
1378
|
-
*
|
|
1379
|
-
* @public
|
|
1380
|
-
* @remarks
|
|
1381
|
-
* HTML Element: \<fluent-data-grid-cell\>
|
|
1382
|
-
*/
|
|
1383
|
-
export declare const fluentDataGridCell: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof DataGridCell>;
|
|
1384
|
-
|
|
1385
|
-
/**
|
|
1386
|
-
* The Fluent Data Grid Row Element.
|
|
1387
|
-
*
|
|
1388
|
-
* @public
|
|
1389
|
-
* @remarks
|
|
1390
|
-
* HTML Element: \<fluent-data-grid-row\>
|
|
1391
|
-
*/
|
|
1392
|
-
export declare const fluentDataGridRow: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof DataGridRow>;
|
|
1393
|
-
|
|
1394
|
-
/**
|
|
1395
|
-
* The Fluent Design System Provider Element.
|
|
1396
|
-
*
|
|
1397
|
-
* @public
|
|
1398
|
-
* @remarks
|
|
1399
|
-
* HTML Element: \<fluent-design-system-provider\>
|
|
1400
|
-
*/
|
|
1401
|
-
export declare const fluentDesignSystemProvider: (overrideDefinition?: OverrideFoundationElementDefinition< {
|
|
1402
|
-
baseName: string;
|
|
1403
|
-
template: ViewTemplate<any, any>;
|
|
1404
|
-
styles: ElementStyles;
|
|
1405
|
-
}> | undefined) => FoundationElementRegistry< {
|
|
1406
|
-
baseName: string;
|
|
1407
|
-
template: ViewTemplate<any, any>;
|
|
1408
|
-
styles: ElementStyles;
|
|
1409
|
-
}, typeof DesignSystemProvider>;
|
|
1410
|
-
|
|
1411
|
-
/**
|
|
1412
|
-
* The Fluent Dialog Element. Implements {@link @microsoft/fast-foundation#Dialog},
|
|
1413
|
-
* {@link @microsoft/fast-foundation#dialogTemplate}
|
|
1414
|
-
*
|
|
1415
|
-
*
|
|
1416
|
-
* @public
|
|
1417
|
-
* @remarks
|
|
1418
|
-
* HTML Element: \<fluent-dialog\>
|
|
1419
|
-
*/
|
|
1420
|
-
export declare const fluentDialog: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Dialog>;
|
|
1421
|
-
|
|
1422
|
-
/**
|
|
1423
|
-
* The Fluent Divider Element. Implements {@link @microsoft/fast-foundation#Divider},
|
|
1424
|
-
* {@link @microsoft/fast-foundation#dividerTemplate}
|
|
1425
|
-
*
|
|
1426
|
-
*
|
|
1427
|
-
* @public
|
|
1428
|
-
* @remarks
|
|
1429
|
-
* HTML Element: \<fluent-divider\>
|
|
1430
|
-
*/
|
|
1431
|
-
export declare const fluentDivider: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Divider>;
|
|
1432
|
-
|
|
1433
|
-
/**
|
|
1434
|
-
* The Fluent Flipper Element. Implements {@link @microsoft/fast-foundation#Flipper},
|
|
1435
|
-
* {@link @microsoft/fast-foundation#flipperTemplate}
|
|
1436
|
-
*
|
|
1437
|
-
*
|
|
1438
|
-
* @public
|
|
1439
|
-
* @remarks
|
|
1440
|
-
* HTML Element: \<fluent-flipper\>
|
|
1441
|
-
*/
|
|
1442
|
-
export declare const fluentFlipper: (overrideDefinition?: OverrideFoundationElementDefinition<FlipperOptions> | undefined) => FoundationElementRegistry<FlipperOptions, Constructable<FoundationElement>>;
|
|
1443
|
-
|
|
1444
|
-
/**
|
|
1445
|
-
* The Fluent HorizontalScroll Element. Implements {@link @microsoft/fast-foundation#HorizontalScroll},
|
|
1446
|
-
* {@link @microsoft/fast-foundation#horizontalScrollTemplate}
|
|
1447
|
-
*
|
|
1448
|
-
*
|
|
1449
|
-
* @public
|
|
1450
|
-
* @remarks
|
|
1451
|
-
* HTML Element: \<fluent-horizontal-scroll\>
|
|
1452
|
-
*/
|
|
1453
|
-
export declare const fluentHorizontalScroll: (overrideDefinition?: OverrideFoundationElementDefinition<HorizontalScrollOptions> | undefined) => FoundationElementRegistry<HorizontalScrollOptions, Constructable<FoundationElement>>;
|
|
1454
|
-
|
|
1455
|
-
/**
|
|
1456
|
-
* The Fluent listbox Custom Element. Implements, {@link @microsoft/fast-foundation#Listbox}
|
|
1457
|
-
* {@link @microsoft/fast-foundation#listboxTemplate}
|
|
1458
|
-
*
|
|
1459
|
-
*
|
|
1460
|
-
* @public
|
|
1461
|
-
* @remarks
|
|
1462
|
-
* HTML Element: \<fluent-listbox\>
|
|
1463
|
-
*
|
|
1464
|
-
*/
|
|
1465
|
-
export declare const fluentListbox: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Listbox>;
|
|
1466
|
-
|
|
1467
|
-
/**
|
|
1468
|
-
* The Fluent Menu Element. Implements {@link @microsoft/fast-foundation#Menu},
|
|
1469
|
-
* {@link @microsoft/fast-foundation#menuTemplate}
|
|
1470
|
-
*
|
|
1471
|
-
*
|
|
1472
|
-
* @public
|
|
1473
|
-
* @remarks
|
|
1474
|
-
* HTML Element: \<fluent-menu\>
|
|
1475
|
-
*/
|
|
1476
|
-
export declare const fluentMenu: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Menu>;
|
|
1477
|
-
|
|
1478
427
|
/**
|
|
1479
|
-
*
|
|
1480
|
-
*
|
|
1481
|
-
*
|
|
1482
|
-
*
|
|
1483
|
-
* @public
|
|
1484
|
-
* @remarks
|
|
1485
|
-
* HTML Element: \<fluent-menu-item\>
|
|
428
|
+
* Mark internal because exporting class and interface of the same name
|
|
429
|
+
* confuses API extractor.
|
|
430
|
+
* TODO: Below will be unnecessary when Badge class gets updated
|
|
431
|
+
* @internal
|
|
1486
432
|
*/
|
|
1487
|
-
export declare
|
|
433
|
+
export declare interface Badge extends StartEnd {
|
|
434
|
+
}
|
|
1488
435
|
|
|
1489
436
|
/**
|
|
1490
|
-
*
|
|
1491
|
-
* {@link @microsoft/fast-foundation#numberFieldTemplate}
|
|
1492
|
-
*
|
|
1493
|
-
*
|
|
437
|
+
* BadgeAppearance constants
|
|
1494
438
|
* @public
|
|
1495
|
-
* @remarks
|
|
1496
|
-
* HTML Element: \<fluent-number-field\>
|
|
1497
|
-
*
|
|
1498
|
-
* {@link https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/delegatesFocus | delegatesFocus}
|
|
1499
439
|
*/
|
|
1500
|
-
export declare const
|
|
440
|
+
export declare const BadgeAppearance: {
|
|
441
|
+
readonly filled: "filled";
|
|
442
|
+
readonly ghost: "ghost";
|
|
443
|
+
readonly outline: "outline";
|
|
444
|
+
readonly tint: "tint";
|
|
445
|
+
};
|
|
1501
446
|
|
|
1502
447
|
/**
|
|
1503
|
-
*
|
|
1504
|
-
* {@link @microsoft/fast-foundation#listboxOptionTemplate}
|
|
1505
|
-
*
|
|
1506
|
-
*
|
|
448
|
+
* A Badge can be filled, outline, ghost, inverted
|
|
1507
449
|
* @public
|
|
1508
|
-
* @remarks
|
|
1509
|
-
* HTML Element: \<fluent-option\>
|
|
1510
|
-
*
|
|
1511
450
|
*/
|
|
1512
|
-
export declare
|
|
451
|
+
export declare type BadgeAppearance = ValuesOf<typeof BadgeAppearance>;
|
|
1513
452
|
|
|
1514
453
|
/**
|
|
1515
|
-
*
|
|
1516
|
-
* {@link @microsoft/fast-foundation#progressTemplate}
|
|
1517
|
-
*
|
|
1518
|
-
*
|
|
454
|
+
* BadgeColor constants
|
|
1519
455
|
* @public
|
|
1520
|
-
* @remarks
|
|
1521
|
-
* HTML Element: \<fluent-progress\>
|
|
1522
456
|
*/
|
|
1523
|
-
export declare const
|
|
457
|
+
export declare const BadgeColor: {
|
|
458
|
+
readonly brand: "brand";
|
|
459
|
+
readonly danger: "danger";
|
|
460
|
+
readonly important: "important";
|
|
461
|
+
readonly informative: "informative";
|
|
462
|
+
readonly severe: "severe";
|
|
463
|
+
readonly subtle: "subtle";
|
|
464
|
+
readonly success: "success";
|
|
465
|
+
readonly warning: "warning";
|
|
466
|
+
};
|
|
1524
467
|
|
|
1525
468
|
/**
|
|
1526
|
-
*
|
|
1527
|
-
* {@link @microsoft/fast-foundation#progressRingTemplate}
|
|
1528
|
-
*
|
|
1529
|
-
*
|
|
469
|
+
* A Badge can be one of preset colors
|
|
1530
470
|
* @public
|
|
1531
|
-
* @remarks
|
|
1532
|
-
* HTML Element: \<fluent-progress-ring\>
|
|
1533
471
|
*/
|
|
1534
|
-
export declare
|
|
472
|
+
export declare type BadgeColor = ValuesOf<typeof BadgeColor>;
|
|
1535
473
|
|
|
1536
474
|
/**
|
|
1537
|
-
* The Fluent
|
|
1538
|
-
* {@link @microsoft/fast-foundation#
|
|
475
|
+
* The Fluent Badge Element. Implements {@link @microsoft/fast-foundation#Badge },
|
|
476
|
+
* {@link @microsoft/fast-foundation#badgeTemplate}
|
|
1539
477
|
*
|
|
1540
478
|
*
|
|
1541
479
|
* @public
|
|
1542
480
|
* @remarks
|
|
1543
|
-
* HTML Element: \<fluent-
|
|
481
|
+
* HTML Element: \<fluent-badge\>
|
|
1544
482
|
*/
|
|
1545
|
-
export declare const
|
|
483
|
+
export declare const BadgeDefinition: FASTElementDefinition<typeof Badge>;
|
|
1546
484
|
|
|
1547
485
|
/**
|
|
1548
|
-
*
|
|
1549
|
-
* {@link @microsoft/fast-foundation#radioGroupTemplate}
|
|
1550
|
-
*
|
|
1551
|
-
*
|
|
1552
|
-
* @public
|
|
1553
|
-
* @remarks
|
|
1554
|
-
* HTML Element: \<fluent-radio-group\>
|
|
486
|
+
* @internal - marking as internal update when Badge PR for start/end is in
|
|
1555
487
|
*/
|
|
1556
|
-
export declare
|
|
488
|
+
export declare type BadgeOptions = StartEndOptions<Badge> & {
|
|
489
|
+
defaultContent?: StaticallyComposableHTML;
|
|
490
|
+
};
|
|
1557
491
|
|
|
1558
492
|
/**
|
|
1559
|
-
*
|
|
1560
|
-
* {@link @microsoft/fast-foundation#searchTemplate}
|
|
1561
|
-
*
|
|
1562
|
-
*
|
|
493
|
+
* A Badge can be square, circular or rounded.
|
|
1563
494
|
* @public
|
|
1564
|
-
* @remarks
|
|
1565
|
-
* HTML Element: \<fluent-search\>
|
|
1566
|
-
*
|
|
1567
|
-
* {@link https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/delegatesFocus | delegatesFocus}
|
|
1568
495
|
*/
|
|
1569
|
-
export declare const
|
|
496
|
+
export declare const BadgeShape: {
|
|
497
|
+
readonly circular: "circular";
|
|
498
|
+
readonly rounded: "rounded";
|
|
499
|
+
readonly square: "square";
|
|
500
|
+
};
|
|
1570
501
|
|
|
1571
502
|
/**
|
|
1572
|
-
*
|
|
1573
|
-
* {@link @microsoft/fast-foundation#selectTemplate}
|
|
1574
|
-
*
|
|
1575
|
-
*
|
|
503
|
+
* A Badge can be one of preset colors
|
|
1576
504
|
* @public
|
|
1577
|
-
* @remarks
|
|
1578
|
-
* HTML Element: \<fluent-select\>
|
|
1579
|
-
*
|
|
1580
505
|
*/
|
|
1581
|
-
export declare
|
|
506
|
+
export declare type BadgeShape = ValuesOf<typeof BadgeShape>;
|
|
1582
507
|
|
|
1583
508
|
/**
|
|
1584
|
-
*
|
|
1585
|
-
* {@link @microsoft/fast-foundation#skeletonTemplate}
|
|
1586
|
-
*
|
|
1587
|
-
*
|
|
509
|
+
* A Badge can be square, circular or rounded.
|
|
1588
510
|
* @public
|
|
1589
|
-
* @remarks
|
|
1590
|
-
* HTML Element: \<fluent-skeleton\>
|
|
1591
511
|
*/
|
|
1592
|
-
export declare const
|
|
512
|
+
export declare const BadgeSize: {
|
|
513
|
+
readonly tiny: "tiny";
|
|
514
|
+
readonly extraSmall: "extra-small";
|
|
515
|
+
readonly small: "small";
|
|
516
|
+
readonly medium: "medium";
|
|
517
|
+
readonly large: "large";
|
|
518
|
+
readonly extraLarge: "extra-large";
|
|
519
|
+
};
|
|
1593
520
|
|
|
1594
521
|
/**
|
|
1595
|
-
*
|
|
1596
|
-
* {@link @microsoft/fast-foundation#sliderTemplate}
|
|
1597
|
-
*
|
|
1598
|
-
*
|
|
522
|
+
* A Badge can be on of several preset sizes.
|
|
1599
523
|
* @public
|
|
1600
|
-
* @remarks
|
|
1601
|
-
* HTML Element: \<fluent-slider\>
|
|
1602
524
|
*/
|
|
1603
|
-
export declare
|
|
525
|
+
export declare type BadgeSize = ValuesOf<typeof BadgeSize>;
|
|
1604
526
|
|
|
1605
|
-
/**
|
|
1606
|
-
* The Fluent Slider Label Custom Element. Implements {@link @microsoft/fast-foundation#SliderLabel},
|
|
1607
|
-
* {@link @microsoft/fast-foundation#sliderLabelTemplate}
|
|
1608
|
-
*
|
|
1609
|
-
*
|
|
527
|
+
/** Badge styles
|
|
1610
528
|
* @public
|
|
1611
|
-
* @remarks
|
|
1612
|
-
* HTML Element: \<fluent-slider-label\>
|
|
1613
529
|
*/
|
|
1614
|
-
export declare const
|
|
530
|
+
export declare const BadgeStyles: ElementStyles;
|
|
1615
531
|
|
|
1616
|
-
|
|
1617
|
-
* The Fluent Switch Custom Element. Implements {@link @microsoft/fast-foundation#Switch},
|
|
1618
|
-
* {@link @microsoft/fast-foundation#SwitchTemplate}
|
|
1619
|
-
*
|
|
1620
|
-
*
|
|
1621
|
-
* @public
|
|
1622
|
-
* @remarks
|
|
1623
|
-
* HTML Element: \<fluent-switch\>
|
|
1624
|
-
*/
|
|
1625
|
-
export declare const fluentSwitch: (overrideDefinition?: OverrideFoundationElementDefinition<SwitchOptions> | undefined) => FoundationElementRegistry<SwitchOptions, Constructable<FoundationElement>>;
|
|
532
|
+
export declare const BadgeTemplate: ElementViewTemplate<Badge>;
|
|
1626
533
|
|
|
1627
|
-
|
|
1628
|
-
* The Fluent Tab Custom Element. Implements {@link @microsoft/fast-foundation#Tab},
|
|
1629
|
-
* {@link @microsoft/fast-foundation#tabTemplate}
|
|
1630
|
-
*
|
|
1631
|
-
*
|
|
1632
|
-
* @public
|
|
1633
|
-
* @remarks
|
|
1634
|
-
* HTML Element: \<fluent-tab\>
|
|
1635
|
-
*/
|
|
1636
|
-
export declare const fluentTab: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Tab>;
|
|
534
|
+
export declare const borderRadiusCircular: CSSDesignToken<string>;
|
|
1637
535
|
|
|
1638
|
-
|
|
1639
|
-
* The Fluent Tab Panel Custom Element. Implements {@link @microsoft/fast-foundation#TabPanel},
|
|
1640
|
-
* {@link @microsoft/fast-foundation#tabPanelTemplate}
|
|
1641
|
-
*
|
|
1642
|
-
*
|
|
1643
|
-
* @public
|
|
1644
|
-
* @remarks
|
|
1645
|
-
* HTML Element: \<fluent-tab-panel\>
|
|
1646
|
-
*/
|
|
1647
|
-
export declare const fluentTabPanel: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof TabPanel>;
|
|
536
|
+
export declare const borderRadiusLarge: CSSDesignToken<string>;
|
|
1648
537
|
|
|
1649
|
-
|
|
1650
|
-
* The Fluent Tabs Custom Element. Implements {@link @microsoft/fast-foundation#Tabs},
|
|
1651
|
-
* {@link @microsoft/fast-foundation#tabsTemplate}
|
|
1652
|
-
*
|
|
1653
|
-
*
|
|
1654
|
-
* @public
|
|
1655
|
-
* @remarks
|
|
1656
|
-
* HTML Element: \<fluent-tabs\>
|
|
1657
|
-
*/
|
|
1658
|
-
export declare const fluentTabs: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Tabs>;
|
|
538
|
+
export declare const borderRadiusMedium: CSSDesignToken<string>;
|
|
1659
539
|
|
|
1660
|
-
|
|
1661
|
-
* The Fluent Text Area Custom Element. Implements {@link @microsoft/fast-foundation#TextArea},
|
|
1662
|
-
* {@link @microsoft/fast-foundation#textAreaTemplate}
|
|
1663
|
-
*
|
|
1664
|
-
*
|
|
1665
|
-
* @public
|
|
1666
|
-
* @remarks
|
|
1667
|
-
* HTML Element: \<fluent-text-area\>
|
|
1668
|
-
*
|
|
1669
|
-
* {@link https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/delegatesFocus | delegatesFocus}
|
|
1670
|
-
*/
|
|
1671
|
-
export declare const fluentTextArea: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof TextArea>;
|
|
540
|
+
export declare const borderRadiusNone: CSSDesignToken<string>;
|
|
1672
541
|
|
|
1673
|
-
|
|
1674
|
-
* The Fluent Text Field Custom Element. Implements {@link @microsoft/fast-foundation#TextField},
|
|
1675
|
-
* {@link @microsoft/fast-foundation#textFieldTemplate}
|
|
1676
|
-
*
|
|
1677
|
-
*
|
|
1678
|
-
* @public
|
|
1679
|
-
* @remarks
|
|
1680
|
-
* HTML Element: \<fluent-text-field\>
|
|
1681
|
-
*
|
|
1682
|
-
* {@link https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/delegatesFocus | delegatesFocus}
|
|
1683
|
-
*/
|
|
1684
|
-
export declare const fluentTextField: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof TextField>;
|
|
542
|
+
export declare const borderRadiusSmall: CSSDesignToken<string>;
|
|
1685
543
|
|
|
1686
|
-
|
|
1687
|
-
* The Fluent Toolbar Custom Element. Implements {@link @microsoft/fast-foundation#Toolbar},
|
|
1688
|
-
* {@link @microsoft/fast-foundation#toolbarTemplate}
|
|
1689
|
-
*
|
|
1690
|
-
*
|
|
1691
|
-
* @public
|
|
1692
|
-
* @remarks
|
|
1693
|
-
* HTML Element: \<fluent-toolbar\>
|
|
1694
|
-
*/
|
|
1695
|
-
export declare const fluentToolbar: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Toolbar>;
|
|
544
|
+
export declare const borderRadiusXLarge: CSSDesignToken<string>;
|
|
1696
545
|
|
|
1697
|
-
|
|
1698
|
-
* The Fluent Tooltip Custom Element. Implements {@link @microsoft/fast-foundation#Tooltip},
|
|
1699
|
-
* {@link @microsoft/fast-foundation#tooltipTemplate}
|
|
1700
|
-
*
|
|
1701
|
-
*
|
|
1702
|
-
* @public
|
|
1703
|
-
* @remarks
|
|
1704
|
-
* HTML Element: \<fluent-tooltip\>
|
|
1705
|
-
*/
|
|
1706
|
-
export declare const fluentTooltip: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Tooltip>;
|
|
546
|
+
export declare const colorBackgroundOverlay: CSSDesignToken<string>;
|
|
1707
547
|
|
|
1708
|
-
|
|
1709
|
-
* The Fluent tree item Custom Element. Implements, {@link @microsoft/fast-foundation#TreeItem}
|
|
1710
|
-
* {@link @microsoft/fast-foundation#treeItemTemplate}
|
|
1711
|
-
*
|
|
1712
|
-
*
|
|
1713
|
-
* @public
|
|
1714
|
-
* @remarks
|
|
1715
|
-
* HTML Element: \<fluent-tree-item\>
|
|
1716
|
-
*
|
|
1717
|
-
*/
|
|
1718
|
-
export declare const fluentTreeItem: (overrideDefinition?: OverrideFoundationElementDefinition<TreeItemOptions> | undefined) => FoundationElementRegistry<TreeItemOptions, Constructable<FoundationElement>>;
|
|
548
|
+
export declare const colorBrandBackground: CSSDesignToken<string>;
|
|
1719
549
|
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
export declare const
|
|
550
|
+
export declare const colorBrandBackground2: CSSDesignToken<string>;
|
|
551
|
+
|
|
552
|
+
export declare const colorBrandBackgroundHover: CSSDesignToken<string>;
|
|
553
|
+
|
|
554
|
+
export declare const colorBrandBackgroundInverted: CSSDesignToken<string>;
|
|
555
|
+
|
|
556
|
+
export declare const colorBrandBackgroundInvertedHover: CSSDesignToken<string>;
|
|
557
|
+
|
|
558
|
+
export declare const colorBrandBackgroundInvertedPressed: CSSDesignToken<string>;
|
|
559
|
+
|
|
560
|
+
export declare const colorBrandBackgroundInvertedSelected: CSSDesignToken<string>;
|
|
561
|
+
|
|
562
|
+
export declare const colorBrandBackgroundPressed: CSSDesignToken<string>;
|
|
563
|
+
|
|
564
|
+
export declare const colorBrandBackgroundSelected: CSSDesignToken<string>;
|
|
565
|
+
|
|
566
|
+
export declare const colorBrandBackgroundStatic: CSSDesignToken<string>;
|
|
567
|
+
|
|
568
|
+
export declare const colorBrandForeground1: CSSDesignToken<string>;
|
|
569
|
+
|
|
570
|
+
export declare const colorBrandForeground2: CSSDesignToken<string>;
|
|
571
|
+
|
|
572
|
+
export declare const colorBrandForegroundInverted: CSSDesignToken<string>;
|
|
573
|
+
|
|
574
|
+
export declare const colorBrandForegroundInvertedHover: CSSDesignToken<string>;
|
|
575
|
+
|
|
576
|
+
export declare const colorBrandForegroundInvertedPressed: CSSDesignToken<string>;
|
|
577
|
+
|
|
578
|
+
export declare const colorBrandForegroundLink: CSSDesignToken<string>;
|
|
579
|
+
|
|
580
|
+
export declare const colorBrandForegroundLinkHover: CSSDesignToken<string>;
|
|
581
|
+
|
|
582
|
+
export declare const colorBrandForegroundLinkPressed: CSSDesignToken<string>;
|
|
583
|
+
|
|
584
|
+
export declare const colorBrandForegroundLinkSelected: CSSDesignToken<string>;
|
|
585
|
+
|
|
586
|
+
export declare const colorBrandForegroundOnLight: CSSDesignToken<string>;
|
|
587
|
+
|
|
588
|
+
export declare const colorBrandForegroundOnLightHover: CSSDesignToken<string>;
|
|
589
|
+
|
|
590
|
+
export declare const colorBrandForegroundOnLightPressed: CSSDesignToken<string>;
|
|
591
|
+
|
|
592
|
+
export declare const colorBrandForegroundOnLightSelected: CSSDesignToken<string>;
|
|
593
|
+
|
|
594
|
+
export declare const colorBrandShadowAmbient: CSSDesignToken<string>;
|
|
595
|
+
|
|
596
|
+
export declare const colorBrandShadowKey: CSSDesignToken<string>;
|
|
597
|
+
|
|
598
|
+
export declare const colorBrandStroke1: CSSDesignToken<string>;
|
|
599
|
+
|
|
600
|
+
export declare const colorBrandStroke2: CSSDesignToken<string>;
|
|
601
|
+
|
|
602
|
+
export declare const colorCompoundBrandBackground: CSSDesignToken<string>;
|
|
603
|
+
|
|
604
|
+
export declare const colorCompoundBrandBackgroundHover: CSSDesignToken<string>;
|
|
605
|
+
|
|
606
|
+
export declare const colorCompoundBrandBackgroundPressed: CSSDesignToken<string>;
|
|
607
|
+
|
|
608
|
+
export declare const colorCompoundBrandForeground1: CSSDesignToken<string>;
|
|
609
|
+
|
|
610
|
+
export declare const colorCompoundBrandForeground1Hover: CSSDesignToken<string>;
|
|
611
|
+
|
|
612
|
+
export declare const colorCompoundBrandForeground1Pressed: CSSDesignToken<string>;
|
|
613
|
+
|
|
614
|
+
export declare const colorCompoundBrandStroke: CSSDesignToken<string>;
|
|
615
|
+
|
|
616
|
+
export declare const colorCompoundBrandStrokeHover: CSSDesignToken<string>;
|
|
617
|
+
|
|
618
|
+
export declare const colorCompoundBrandStrokePressed: CSSDesignToken<string>;
|
|
619
|
+
|
|
620
|
+
export declare const colorNeutralBackground1: CSSDesignToken<string>;
|
|
621
|
+
|
|
622
|
+
export declare const colorNeutralBackground1Hover: CSSDesignToken<string>;
|
|
623
|
+
|
|
624
|
+
export declare const colorNeutralBackground1Pressed: CSSDesignToken<string>;
|
|
625
|
+
|
|
626
|
+
export declare const colorNeutralBackground1Selected: CSSDesignToken<string>;
|
|
627
|
+
|
|
628
|
+
export declare const colorNeutralBackground2: CSSDesignToken<string>;
|
|
629
|
+
|
|
630
|
+
export declare const colorNeutralBackground2Hover: CSSDesignToken<string>;
|
|
631
|
+
|
|
632
|
+
export declare const colorNeutralBackground2Pressed: CSSDesignToken<string>;
|
|
633
|
+
|
|
634
|
+
export declare const colorNeutralBackground2Selected: CSSDesignToken<string>;
|
|
635
|
+
|
|
636
|
+
export declare const colorNeutralBackground3: CSSDesignToken<string>;
|
|
637
|
+
|
|
638
|
+
export declare const colorNeutralBackground3Hover: CSSDesignToken<string>;
|
|
639
|
+
|
|
640
|
+
export declare const colorNeutralBackground3Pressed: CSSDesignToken<string>;
|
|
641
|
+
|
|
642
|
+
export declare const colorNeutralBackground3Selected: CSSDesignToken<string>;
|
|
643
|
+
|
|
644
|
+
export declare const colorNeutralBackground4: CSSDesignToken<string>;
|
|
645
|
+
|
|
646
|
+
export declare const colorNeutralBackground4Hover: CSSDesignToken<string>;
|
|
647
|
+
|
|
648
|
+
export declare const colorNeutralBackground4Pressed: CSSDesignToken<string>;
|
|
649
|
+
|
|
650
|
+
export declare const colorNeutralBackground4Selected: CSSDesignToken<string>;
|
|
651
|
+
|
|
652
|
+
export declare const colorNeutralBackground5: CSSDesignToken<string>;
|
|
653
|
+
|
|
654
|
+
export declare const colorNeutralBackground5Hover: CSSDesignToken<string>;
|
|
655
|
+
|
|
656
|
+
export declare const colorNeutralBackground5Pressed: CSSDesignToken<string>;
|
|
657
|
+
|
|
658
|
+
export declare const colorNeutralBackground5Selected: CSSDesignToken<string>;
|
|
659
|
+
|
|
660
|
+
export declare const colorNeutralBackground6: CSSDesignToken<string>;
|
|
661
|
+
|
|
662
|
+
export declare const colorNeutralBackgroundDisabled: CSSDesignToken<string>;
|
|
663
|
+
|
|
664
|
+
export declare const colorNeutralBackgroundInverted: CSSDesignToken<string>;
|
|
665
|
+
|
|
666
|
+
export declare const colorNeutralBackgroundInvertedDisabled: CSSDesignToken<string>;
|
|
667
|
+
|
|
668
|
+
export declare const colorNeutralBackgroundStatic: CSSDesignToken<string>;
|
|
669
|
+
|
|
670
|
+
export declare const colorNeutralForeground1: CSSDesignToken<string>;
|
|
671
|
+
|
|
672
|
+
export declare const colorNeutralForeground1Hover: CSSDesignToken<string>;
|
|
673
|
+
|
|
674
|
+
export declare const colorNeutralForeground1Pressed: CSSDesignToken<string>;
|
|
675
|
+
|
|
676
|
+
export declare const colorNeutralForeground1Selected: CSSDesignToken<string>;
|
|
677
|
+
|
|
678
|
+
export declare const colorNeutralForeground1Static: CSSDesignToken<string>;
|
|
679
|
+
|
|
680
|
+
export declare const colorNeutralForeground2: CSSDesignToken<string>;
|
|
681
|
+
|
|
682
|
+
export declare const colorNeutralForeground2BrandHover: CSSDesignToken<string>;
|
|
683
|
+
|
|
684
|
+
export declare const colorNeutralForeground2BrandPressed: CSSDesignToken<string>;
|
|
685
|
+
|
|
686
|
+
export declare const colorNeutralForeground2BrandSelected: CSSDesignToken<string>;
|
|
687
|
+
|
|
688
|
+
export declare const colorNeutralForeground2Hover: CSSDesignToken<string>;
|
|
689
|
+
|
|
690
|
+
export declare const colorNeutralForeground2Link: CSSDesignToken<string>;
|
|
691
|
+
|
|
692
|
+
export declare const colorNeutralForeground2LinkHover: CSSDesignToken<string>;
|
|
693
|
+
|
|
694
|
+
export declare const colorNeutralForeground2LinkPressed: CSSDesignToken<string>;
|
|
695
|
+
|
|
696
|
+
export declare const colorNeutralForeground2LinkSelected: CSSDesignToken<string>;
|
|
697
|
+
|
|
698
|
+
export declare const colorNeutralForeground2Pressed: CSSDesignToken<string>;
|
|
699
|
+
|
|
700
|
+
export declare const colorNeutralForeground2Selected: CSSDesignToken<string>;
|
|
701
|
+
|
|
702
|
+
export declare const colorNeutralForeground3: CSSDesignToken<string>;
|
|
703
|
+
|
|
704
|
+
export declare const colorNeutralForeground3BrandHover: CSSDesignToken<string>;
|
|
705
|
+
|
|
706
|
+
export declare const colorNeutralForeground3BrandPressed: CSSDesignToken<string>;
|
|
707
|
+
|
|
708
|
+
export declare const colorNeutralForeground3BrandSelected: CSSDesignToken<string>;
|
|
709
|
+
|
|
710
|
+
export declare const colorNeutralForeground3Hover: CSSDesignToken<string>;
|
|
711
|
+
|
|
712
|
+
export declare const colorNeutralForeground3Pressed: CSSDesignToken<string>;
|
|
713
|
+
|
|
714
|
+
export declare const colorNeutralForeground3Selected: CSSDesignToken<string>;
|
|
715
|
+
|
|
716
|
+
export declare const colorNeutralForeground4: CSSDesignToken<string>;
|
|
717
|
+
|
|
718
|
+
export declare const colorNeutralForegroundDisabled: CSSDesignToken<string>;
|
|
719
|
+
|
|
720
|
+
export declare const colorNeutralForegroundInverted: CSSDesignToken<string>;
|
|
721
|
+
|
|
722
|
+
export declare const colorNeutralForegroundInverted2: CSSDesignToken<string>;
|
|
723
|
+
|
|
724
|
+
export declare const colorNeutralForegroundInvertedDisabled: CSSDesignToken<string>;
|
|
725
|
+
|
|
726
|
+
export declare const colorNeutralForegroundInvertedHover: CSSDesignToken<string>;
|
|
727
|
+
|
|
728
|
+
export declare const colorNeutralForegroundInvertedLink: CSSDesignToken<string>;
|
|
729
|
+
|
|
730
|
+
export declare const colorNeutralForegroundInvertedLinkHover: CSSDesignToken<string>;
|
|
731
|
+
|
|
732
|
+
export declare const colorNeutralForegroundInvertedLinkPressed: CSSDesignToken<string>;
|
|
733
|
+
|
|
734
|
+
export declare const colorNeutralForegroundInvertedLinkSelected: CSSDesignToken<string>;
|
|
735
|
+
|
|
736
|
+
export declare const colorNeutralForegroundInvertedPressed: CSSDesignToken<string>;
|
|
737
|
+
|
|
738
|
+
export declare const colorNeutralForegroundInvertedSelected: CSSDesignToken<string>;
|
|
739
|
+
|
|
740
|
+
export declare const colorNeutralForegroundOnBrand: CSSDesignToken<string>;
|
|
741
|
+
|
|
742
|
+
export declare const colorNeutralForegroundStaticInverted: CSSDesignToken<string>;
|
|
743
|
+
|
|
744
|
+
export declare const colorNeutralShadowAmbient: CSSDesignToken<string>;
|
|
745
|
+
|
|
746
|
+
export declare const colorNeutralShadowAmbientDarker: CSSDesignToken<string>;
|
|
747
|
+
|
|
748
|
+
export declare const colorNeutralShadowAmbientLighter: CSSDesignToken<string>;
|
|
749
|
+
|
|
750
|
+
export declare const colorNeutralShadowKey: CSSDesignToken<string>;
|
|
751
|
+
|
|
752
|
+
export declare const colorNeutralShadowKeyDarker: CSSDesignToken<string>;
|
|
753
|
+
|
|
754
|
+
export declare const colorNeutralShadowKeyLighter: CSSDesignToken<string>;
|
|
755
|
+
|
|
756
|
+
export declare const colorNeutralStencil1: CSSDesignToken<string>;
|
|
757
|
+
|
|
758
|
+
export declare const colorNeutralStencil1Alpha: CSSDesignToken<string>;
|
|
759
|
+
|
|
760
|
+
export declare const colorNeutralStencil2: CSSDesignToken<string>;
|
|
761
|
+
|
|
762
|
+
export declare const colorNeutralStencil2Alpha: CSSDesignToken<string>;
|
|
763
|
+
|
|
764
|
+
export declare const colorNeutralStroke1: CSSDesignToken<string>;
|
|
765
|
+
|
|
766
|
+
export declare const colorNeutralStroke1Hover: CSSDesignToken<string>;
|
|
767
|
+
|
|
768
|
+
export declare const colorNeutralStroke1Pressed: CSSDesignToken<string>;
|
|
769
|
+
|
|
770
|
+
export declare const colorNeutralStroke1Selected: CSSDesignToken<string>;
|
|
771
|
+
|
|
772
|
+
export declare const colorNeutralStroke2: CSSDesignToken<string>;
|
|
773
|
+
|
|
774
|
+
export declare const colorNeutralStroke3: CSSDesignToken<string>;
|
|
775
|
+
|
|
776
|
+
export declare const colorNeutralStrokeAccessible: CSSDesignToken<string>;
|
|
777
|
+
|
|
778
|
+
export declare const colorNeutralStrokeAccessibleHover: CSSDesignToken<string>;
|
|
779
|
+
|
|
780
|
+
export declare const colorNeutralStrokeAccessiblePressed: CSSDesignToken<string>;
|
|
781
|
+
|
|
782
|
+
export declare const colorNeutralStrokeAccessibleSelected: CSSDesignToken<string>;
|
|
783
|
+
|
|
784
|
+
export declare const colorNeutralStrokeDisabled: CSSDesignToken<string>;
|
|
785
|
+
|
|
786
|
+
export declare const colorNeutralStrokeInvertedDisabled: CSSDesignToken<string>;
|
|
787
|
+
|
|
788
|
+
export declare const colorNeutralStrokeOnBrand: CSSDesignToken<string>;
|
|
789
|
+
|
|
790
|
+
export declare const colorNeutralStrokeOnBrand2: CSSDesignToken<string>;
|
|
791
|
+
|
|
792
|
+
export declare const colorNeutralStrokeOnBrand2Hover: CSSDesignToken<string>;
|
|
793
|
+
|
|
794
|
+
export declare const colorNeutralStrokeOnBrand2Pressed: CSSDesignToken<string>;
|
|
795
|
+
|
|
796
|
+
export declare const colorNeutralStrokeOnBrand2Selected: CSSDesignToken<string>;
|
|
797
|
+
|
|
798
|
+
export declare const colorPaletteAnchorBackground2: CSSDesignToken<string>;
|
|
799
|
+
|
|
800
|
+
export declare const colorPaletteAnchorBorderActive: CSSDesignToken<string>;
|
|
801
|
+
|
|
802
|
+
export declare const colorPaletteAnchorForeground2: CSSDesignToken<string>;
|
|
803
|
+
|
|
804
|
+
export declare const colorPaletteBeigeBackground2: CSSDesignToken<string>;
|
|
805
|
+
|
|
806
|
+
export declare const colorPaletteBeigeBorderActive: CSSDesignToken<string>;
|
|
807
|
+
|
|
808
|
+
export declare const colorPaletteBeigeForeground2: CSSDesignToken<string>;
|
|
809
|
+
|
|
810
|
+
export declare const colorPaletteBerryBackground1: CSSDesignToken<string>;
|
|
811
|
+
|
|
812
|
+
export declare const colorPaletteBerryBackground2: CSSDesignToken<string>;
|
|
813
|
+
|
|
814
|
+
export declare const colorPaletteBerryBackground3: CSSDesignToken<string>;
|
|
815
|
+
|
|
816
|
+
export declare const colorPaletteBerryBorder1: CSSDesignToken<string>;
|
|
817
|
+
|
|
818
|
+
export declare const colorPaletteBerryBorder2: CSSDesignToken<string>;
|
|
819
|
+
|
|
820
|
+
export declare const colorPaletteBerryBorderActive: CSSDesignToken<string>;
|
|
821
|
+
|
|
822
|
+
export declare const colorPaletteBerryForeground1: CSSDesignToken<string>;
|
|
823
|
+
|
|
824
|
+
export declare const colorPaletteBerryForeground2: CSSDesignToken<string>;
|
|
825
|
+
|
|
826
|
+
export declare const colorPaletteBerryForeground3: CSSDesignToken<string>;
|
|
827
|
+
|
|
828
|
+
export declare const colorPaletteBlueBackground2: CSSDesignToken<string>;
|
|
829
|
+
|
|
830
|
+
export declare const colorPaletteBlueBorderActive: CSSDesignToken<string>;
|
|
831
|
+
|
|
832
|
+
export declare const colorPaletteBlueForeground2: CSSDesignToken<string>;
|
|
833
|
+
|
|
834
|
+
export declare const colorPaletteBrassBackground2: CSSDesignToken<string>;
|
|
1731
835
|
|
|
1732
|
-
|
|
1733
|
-
export declare const focusOutlineWidth: CSSDesignToken<number>;
|
|
836
|
+
export declare const colorPaletteBrassBorderActive: CSSDesignToken<string>;
|
|
1734
837
|
|
|
1735
|
-
|
|
1736
|
-
export declare const focusStrokeInner: CSSDesignToken<Swatch>;
|
|
838
|
+
export declare const colorPaletteBrassForeground2: CSSDesignToken<string>;
|
|
1737
839
|
|
|
1738
|
-
|
|
1739
|
-
export declare const focusStrokeInnerRecipe: DesignToken<ColorRecipe>;
|
|
840
|
+
export declare const colorPaletteBrownBackground2: CSSDesignToken<string>;
|
|
1740
841
|
|
|
1741
|
-
|
|
1742
|
-
export declare const focusStrokeOuter: CSSDesignToken<Swatch>;
|
|
842
|
+
export declare const colorPaletteBrownBorderActive: CSSDesignToken<string>;
|
|
1743
843
|
|
|
1744
|
-
|
|
1745
|
-
export declare const focusStrokeOuterRecipe: DesignToken<ColorRecipe>;
|
|
844
|
+
export declare const colorPaletteBrownForeground2: CSSDesignToken<string>;
|
|
1746
845
|
|
|
1747
|
-
|
|
1748
|
-
export declare const focusStrokeWidth: CSSDesignToken<number>;
|
|
846
|
+
export declare const colorPaletteCornflowerBackground2: CSSDesignToken<string>;
|
|
1749
847
|
|
|
1750
|
-
|
|
1751
|
-
* Partial CSS for the focus treatment for most typical sized components like Button, Menu Item, etc.
|
|
1752
|
-
*
|
|
1753
|
-
* @public
|
|
1754
|
-
*/
|
|
1755
|
-
export declare const focusTreatmentBase: CSSDirective;
|
|
848
|
+
export declare const colorPaletteCornflowerBorderActive: CSSDesignToken<string>;
|
|
1756
849
|
|
|
1757
|
-
|
|
1758
|
-
* Partial CSS for the focus treatment for tighter components with spacing constraints, like Checkbox
|
|
1759
|
-
* and Radio, or plain text like Hypertext appearance Anchor or Breadcrumb Item.
|
|
1760
|
-
*
|
|
1761
|
-
* @public
|
|
1762
|
-
*/
|
|
1763
|
-
export declare const focusTreatmentTight: CSSDirective;
|
|
850
|
+
export declare const colorPaletteCornflowerForeground2: CSSDesignToken<string>;
|
|
1764
851
|
|
|
1765
|
-
|
|
1766
|
-
export declare const fontWeight: CSSDesignToken<number>;
|
|
852
|
+
export declare const colorPaletteCranberryBackground2: CSSDesignToken<string>;
|
|
1767
853
|
|
|
1768
|
-
|
|
1769
|
-
export declare const foregroundOnAccentActive: CSSDesignToken<Swatch>;
|
|
854
|
+
export declare const colorPaletteCranberryBorderActive: CSSDesignToken<string>;
|
|
1770
855
|
|
|
1771
|
-
|
|
1772
|
-
export declare const foregroundOnAccentActiveLarge: CSSDesignToken<Swatch>;
|
|
856
|
+
export declare const colorPaletteCranberryForeground2: CSSDesignToken<string>;
|
|
1773
857
|
|
|
1774
|
-
|
|
1775
|
-
export declare const foregroundOnAccentFocus: CSSDesignToken<Swatch>;
|
|
858
|
+
export declare const colorPaletteDarkGreenBackground2: CSSDesignToken<string>;
|
|
1776
859
|
|
|
1777
|
-
|
|
1778
|
-
export declare const foregroundOnAccentFocusLarge: CSSDesignToken<Swatch>;
|
|
860
|
+
export declare const colorPaletteDarkGreenBorderActive: CSSDesignToken<string>;
|
|
1779
861
|
|
|
1780
|
-
|
|
1781
|
-
export declare const foregroundOnAccentHover: CSSDesignToken<Swatch>;
|
|
862
|
+
export declare const colorPaletteDarkGreenForeground2: CSSDesignToken<string>;
|
|
1782
863
|
|
|
1783
|
-
|
|
1784
|
-
export declare const foregroundOnAccentHoverLarge: CSSDesignToken<Swatch>;
|
|
864
|
+
export declare const colorPaletteDarkOrangeBackground1: CSSDesignToken<string>;
|
|
1785
865
|
|
|
1786
|
-
|
|
1787
|
-
export declare const foregroundOnAccentLargeRecipe: DesignToken<InteractiveColorRecipe>;
|
|
866
|
+
export declare const colorPaletteDarkOrangeBackground2: CSSDesignToken<string>;
|
|
1788
867
|
|
|
1789
|
-
|
|
1790
|
-
export declare const foregroundOnAccentRecipe: DesignToken<InteractiveColorRecipe>;
|
|
868
|
+
export declare const colorPaletteDarkOrangeBackground3: CSSDesignToken<string>;
|
|
1791
869
|
|
|
1792
|
-
|
|
1793
|
-
export declare const foregroundOnAccentRest: CSSDesignToken<Swatch>;
|
|
870
|
+
export declare const colorPaletteDarkOrangeBorder1: CSSDesignToken<string>;
|
|
1794
871
|
|
|
1795
|
-
|
|
1796
|
-
export declare const foregroundOnAccentRestLarge: CSSDesignToken<Swatch>;
|
|
872
|
+
export declare const colorPaletteDarkOrangeBorder2: CSSDesignToken<string>;
|
|
1797
873
|
|
|
1798
|
-
|
|
1799
|
-
* Creates a PaletteRGB from a source color object.
|
|
1800
|
-
* @param source - The source color
|
|
1801
|
-
*/
|
|
1802
|
-
declare function from(source: SwatchRGB, options?: Partial<PaletteRGBOptions>): PaletteRGB;
|
|
874
|
+
export declare const colorPaletteDarkOrangeBorderActive: CSSDesignToken<string>;
|
|
1803
875
|
|
|
1804
|
-
|
|
1805
|
-
* A formula to retrieve the control height.
|
|
1806
|
-
* Use this as the value of any CSS property that
|
|
1807
|
-
* accepts a pixel size.
|
|
1808
|
-
* @public
|
|
1809
|
-
*/
|
|
1810
|
-
export declare const heightNumber: CSSDirective;
|
|
876
|
+
export declare const colorPaletteDarkOrangeForeground1: CSSDesignToken<string>;
|
|
1811
877
|
|
|
1812
|
-
|
|
1813
|
-
* @internal
|
|
1814
|
-
*/
|
|
1815
|
-
export declare class HorizontalScroll extends HorizontalScroll_2 {
|
|
1816
|
-
/**
|
|
1817
|
-
* @public
|
|
1818
|
-
*/
|
|
1819
|
-
connectedCallback(): void;
|
|
1820
|
-
}
|
|
878
|
+
export declare const colorPaletteDarkOrangeForeground2: CSSDesignToken<string>;
|
|
1821
879
|
|
|
1822
|
-
|
|
1823
|
-
* Styles for horizontal scroll
|
|
1824
|
-
* @public
|
|
1825
|
-
*/
|
|
1826
|
-
export declare const horizontalScrollStyles: (context: ElementDefinitionContext, definition: HorizontalScrollOptions) => ElementStyles;
|
|
880
|
+
export declare const colorPaletteDarkOrangeForeground3: CSSDesignToken<string>;
|
|
1827
881
|
|
|
1828
|
-
|
|
1829
|
-
* @internal
|
|
1830
|
-
*/
|
|
1831
|
-
export declare const HypertextStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, interactivitySelector: string, nonInteractivitySelector?: string) => ElementStyles;
|
|
882
|
+
export declare const colorPaletteDarkRedBackground2: CSSDesignToken<string>;
|
|
1832
883
|
|
|
1833
|
-
|
|
1834
|
-
* The visual styles for inputs with `appearance='filled'`.
|
|
1835
|
-
*
|
|
1836
|
-
* @internal
|
|
1837
|
-
*/
|
|
1838
|
-
export declare const inputFilledStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, logicalControlSelector: string, interactivitySelector?: string) => ElementStyles;
|
|
884
|
+
export declare const colorPaletteDarkRedBorderActive: CSSDesignToken<string>;
|
|
1839
885
|
|
|
1840
|
-
|
|
1841
|
-
* @internal
|
|
1842
|
-
*/
|
|
1843
|
-
export declare const inputForcedColorStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, logicalControlSelector: string, interactivitySelector?: string) => ElementStyles;
|
|
886
|
+
export declare const colorPaletteDarkRedForeground2: CSSDesignToken<string>;
|
|
1844
887
|
|
|
1845
|
-
|
|
1846
|
-
* The visual styles for inputs with `appearance='outline'`.
|
|
1847
|
-
*
|
|
1848
|
-
* @internal
|
|
1849
|
-
*/
|
|
1850
|
-
export declare const inputOutlineStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, logicalControlSelector: string, interactivitySelector?: string) => ElementStyles;
|
|
888
|
+
export declare const colorPaletteForestBackground2: CSSDesignToken<string>;
|
|
1851
889
|
|
|
1852
|
-
|
|
1853
|
-
* The styles for active and focus interactions for input controls.
|
|
1854
|
-
*
|
|
1855
|
-
* @internal
|
|
1856
|
-
*/
|
|
1857
|
-
export declare const inputStateStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, logicalControlSelector: string) => ElementStyles;
|
|
890
|
+
export declare const colorPaletteForestBorderActive: CSSDesignToken<string>;
|
|
1858
891
|
|
|
1859
|
-
|
|
1860
|
-
export declare interface InteractiveColorRecipe {
|
|
1861
|
-
evaluate(element: HTMLElement, reference?: Swatch): InteractiveSwatchSet;
|
|
1862
|
-
}
|
|
892
|
+
export declare const colorPaletteForestForeground2: CSSDesignToken<string>;
|
|
1863
893
|
|
|
1864
|
-
|
|
1865
|
-
export declare interface InteractiveSwatchSet {
|
|
1866
|
-
/**
|
|
1867
|
-
* The swatch to apply to the rest state
|
|
1868
|
-
*/
|
|
1869
|
-
rest: Swatch;
|
|
1870
|
-
/**
|
|
1871
|
-
* The swatch to apply to the hover state
|
|
1872
|
-
*/
|
|
1873
|
-
hover: Swatch;
|
|
1874
|
-
/**
|
|
1875
|
-
* The swatch to apply to the active state
|
|
1876
|
-
*/
|
|
1877
|
-
active: Swatch;
|
|
1878
|
-
/**
|
|
1879
|
-
* The swatch to apply to the focus state
|
|
1880
|
-
*/
|
|
1881
|
-
focus: Swatch;
|
|
1882
|
-
}
|
|
894
|
+
export declare const colorPaletteGoldBackground2: CSSDesignToken<string>;
|
|
1883
895
|
|
|
1884
|
-
|
|
1885
|
-
* Determines if a color should be considered Dark Mode
|
|
1886
|
-
* @param color - The color to check to mode of
|
|
1887
|
-
* @returns boolean
|
|
1888
|
-
*
|
|
1889
|
-
* @internal
|
|
1890
|
-
*/
|
|
1891
|
-
export declare function isDark(color: Swatch): boolean;
|
|
896
|
+
export declare const colorPaletteGoldBorderActive: CSSDesignToken<string>;
|
|
1892
897
|
|
|
1893
|
-
|
|
1894
|
-
export declare const layerCornerRadius: CSSDesignToken<number>;
|
|
898
|
+
export declare const colorPaletteGoldForeground2: CSSDesignToken<string>;
|
|
1895
899
|
|
|
1896
|
-
|
|
1897
|
-
* @internal
|
|
1898
|
-
*/
|
|
1899
|
-
export declare const LightweightButtonStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, interactivitySelector: string, nonInteractivitySelector?: string) => ElementStyles;
|
|
900
|
+
export declare const colorPaletteGrapeBackground2: CSSDesignToken<string>;
|
|
1900
901
|
|
|
1901
|
-
export declare
|
|
1902
|
-
}
|
|
902
|
+
export declare const colorPaletteGrapeBorderActive: CSSDesignToken<string>;
|
|
1903
903
|
|
|
1904
|
-
|
|
1905
|
-
* Styles for Listbox
|
|
1906
|
-
* @public
|
|
1907
|
-
*/
|
|
1908
|
-
export declare const listboxStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
904
|
+
export declare const colorPaletteGrapeForeground2: CSSDesignToken<string>;
|
|
1909
905
|
|
|
1910
|
-
|
|
1911
|
-
* The Fluent menu class
|
|
1912
|
-
* @public
|
|
1913
|
-
*/
|
|
1914
|
-
export declare class Menu extends Menu_2 {
|
|
1915
|
-
/**
|
|
1916
|
-
* @internal
|
|
1917
|
-
*/
|
|
1918
|
-
connectedCallback(): void;
|
|
1919
|
-
}
|
|
906
|
+
export declare const colorPaletteGreenBackground1: CSSDesignToken<string>;
|
|
1920
907
|
|
|
1921
|
-
export
|
|
908
|
+
export declare const colorPaletteGreenBackground2: CSSDesignToken<string>;
|
|
1922
909
|
|
|
1923
|
-
|
|
1924
|
-
* Styles for MenuItem
|
|
1925
|
-
* @public
|
|
1926
|
-
*/
|
|
1927
|
-
export declare const menuItemStyles: (context: ElementDefinitionContext, definition: MenuItemOptions) => ElementStyles;
|
|
910
|
+
export declare const colorPaletteGreenBackground3: CSSDesignToken<string>;
|
|
1928
911
|
|
|
1929
|
-
|
|
1930
|
-
* Styles for Menu
|
|
1931
|
-
* @public
|
|
1932
|
-
*/
|
|
1933
|
-
export declare const menuStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
912
|
+
export declare const colorPaletteGreenBorder1: CSSDesignToken<string>;
|
|
1934
913
|
|
|
1935
|
-
|
|
1936
|
-
export declare const neutralBaseColor: CSSDesignToken<Swatch>;
|
|
914
|
+
export declare const colorPaletteGreenBorder2: CSSDesignToken<string>;
|
|
1937
915
|
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
916
|
+
export declare const colorPaletteGreenBorderActive: CSSDesignToken<string>;
|
|
917
|
+
|
|
918
|
+
export declare const colorPaletteGreenForeground1: CSSDesignToken<string>;
|
|
919
|
+
|
|
920
|
+
export declare const colorPaletteGreenForeground2: CSSDesignToken<string>;
|
|
1942
921
|
|
|
1943
|
-
|
|
1944
|
-
export declare const neutralContrastFillActive: CSSDesignToken<Swatch>;
|
|
922
|
+
export declare const colorPaletteGreenForeground3: CSSDesignToken<string>;
|
|
1945
923
|
|
|
1946
|
-
|
|
1947
|
-
export declare const neutralContrastFillActiveDelta: CSSDesignToken<number>;
|
|
924
|
+
export declare const colorPaletteGreenForegroundInverted: CSSDesignToken<string>;
|
|
1948
925
|
|
|
1949
|
-
|
|
1950
|
-
export declare const neutralContrastFillFocus: CSSDesignToken<Swatch>;
|
|
926
|
+
export declare const colorPaletteLavenderBackground2: CSSDesignToken<string>;
|
|
1951
927
|
|
|
1952
|
-
|
|
1953
|
-
export declare const neutralContrastFillFocusDelta: CSSDesignToken<number>;
|
|
928
|
+
export declare const colorPaletteLavenderBorderActive: CSSDesignToken<string>;
|
|
1954
929
|
|
|
1955
|
-
|
|
1956
|
-
export declare const neutralContrastFillHover: CSSDesignToken<Swatch>;
|
|
930
|
+
export declare const colorPaletteLavenderForeground2: CSSDesignToken<string>;
|
|
1957
931
|
|
|
1958
|
-
|
|
1959
|
-
export declare const neutralContrastFillHoverDelta: CSSDesignToken<number>;
|
|
932
|
+
export declare const colorPaletteLightGreenBackground1: CSSDesignToken<string>;
|
|
1960
933
|
|
|
1961
|
-
|
|
1962
|
-
export declare const neutralContrastFillRest: CSSDesignToken<Swatch>;
|
|
934
|
+
export declare const colorPaletteLightGreenBackground2: CSSDesignToken<string>;
|
|
1963
935
|
|
|
1964
|
-
|
|
1965
|
-
export declare const neutralContrastFillRestDelta: CSSDesignToken<number>;
|
|
936
|
+
export declare const colorPaletteLightGreenBackground3: CSSDesignToken<string>;
|
|
1966
937
|
|
|
1967
|
-
|
|
1968
|
-
export declare const neutralDivider: CSSDesignToken<Swatch>;
|
|
938
|
+
export declare const colorPaletteLightGreenBorder1: CSSDesignToken<string>;
|
|
1969
939
|
|
|
1970
|
-
|
|
1971
|
-
export declare const neutralDividerRestDelta: DesignToken<number>;
|
|
940
|
+
export declare const colorPaletteLightGreenBorder2: CSSDesignToken<string>;
|
|
1972
941
|
|
|
1973
|
-
|
|
1974
|
-
export declare const neutralFillActive: CSSDesignToken<Swatch>;
|
|
942
|
+
export declare const colorPaletteLightGreenBorderActive: CSSDesignToken<string>;
|
|
1975
943
|
|
|
1976
|
-
|
|
1977
|
-
export declare const neutralFillActiveDelta: DesignToken<number>;
|
|
944
|
+
export declare const colorPaletteLightGreenForeground1: CSSDesignToken<string>;
|
|
1978
945
|
|
|
1979
|
-
|
|
1980
|
-
export declare const neutralFillCard: CSSDesignToken<Swatch>;
|
|
946
|
+
export declare const colorPaletteLightGreenForeground2: CSSDesignToken<string>;
|
|
1981
947
|
|
|
1982
|
-
|
|
1983
|
-
export declare const neutralFillCardDelta: DesignToken<number>;
|
|
948
|
+
export declare const colorPaletteLightGreenForeground3: CSSDesignToken<string>;
|
|
1984
949
|
|
|
1985
|
-
|
|
1986
|
-
export declare const neutralFillFocus: CSSDesignToken<Swatch>;
|
|
950
|
+
export declare const colorPaletteLightTealBackground2: CSSDesignToken<string>;
|
|
1987
951
|
|
|
1988
|
-
|
|
1989
|
-
export declare const neutralFillFocusDelta: DesignToken<number>;
|
|
952
|
+
export declare const colorPaletteLightTealBorderActive: CSSDesignToken<string>;
|
|
1990
953
|
|
|
1991
|
-
|
|
1992
|
-
export declare const neutralFillHover: CSSDesignToken<Swatch>;
|
|
954
|
+
export declare const colorPaletteLightTealForeground2: CSSDesignToken<string>;
|
|
1993
955
|
|
|
1994
|
-
|
|
1995
|
-
export declare const neutralFillHoverDelta: DesignToken<number>;
|
|
956
|
+
export declare const colorPaletteLilacBackground2: CSSDesignToken<string>;
|
|
1996
957
|
|
|
1997
|
-
|
|
1998
|
-
export declare const neutralFillInputActive: CSSDesignToken<Swatch>;
|
|
958
|
+
export declare const colorPaletteLilacBorderActive: CSSDesignToken<string>;
|
|
1999
959
|
|
|
2000
|
-
|
|
2001
|
-
export declare const neutralFillInputActiveDelta: DesignToken<number>;
|
|
960
|
+
export declare const colorPaletteLilacForeground2: CSSDesignToken<string>;
|
|
2002
961
|
|
|
2003
|
-
|
|
2004
|
-
export declare const neutralFillInputAltActive: CSSDesignToken<Swatch>;
|
|
962
|
+
export declare const colorPaletteMagentaBackground2: CSSDesignToken<string>;
|
|
2005
963
|
|
|
2006
|
-
|
|
2007
|
-
export declare const neutralFillInputAltActiveDelta: DesignToken<number>;
|
|
964
|
+
export declare const colorPaletteMagentaBorderActive: CSSDesignToken<string>;
|
|
2008
965
|
|
|
2009
|
-
|
|
2010
|
-
export declare const neutralFillInputAltFocus: CSSDesignToken<Swatch>;
|
|
966
|
+
export declare const colorPaletteMagentaForeground2: CSSDesignToken<string>;
|
|
2011
967
|
|
|
2012
|
-
|
|
2013
|
-
export declare const neutralFillInputAltFocusDelta: DesignToken<number>;
|
|
968
|
+
export declare const colorPaletteMarigoldBackground1: CSSDesignToken<string>;
|
|
2014
969
|
|
|
2015
|
-
|
|
2016
|
-
export declare const neutralFillInputAltHover: CSSDesignToken<Swatch>;
|
|
970
|
+
export declare const colorPaletteMarigoldBackground2: CSSDesignToken<string>;
|
|
2017
971
|
|
|
2018
|
-
|
|
2019
|
-
export declare const neutralFillInputAltHoverDelta: DesignToken<number>;
|
|
972
|
+
export declare const colorPaletteMarigoldBackground3: CSSDesignToken<string>;
|
|
2020
973
|
|
|
2021
|
-
|
|
2022
|
-
export declare const neutralFillInputAltRecipe: DesignToken<InteractiveColorRecipe>;
|
|
974
|
+
export declare const colorPaletteMarigoldBorder1: CSSDesignToken<string>;
|
|
2023
975
|
|
|
2024
|
-
|
|
2025
|
-
export declare const neutralFillInputAltRest: CSSDesignToken<Swatch>;
|
|
976
|
+
export declare const colorPaletteMarigoldBorder2: CSSDesignToken<string>;
|
|
2026
977
|
|
|
2027
|
-
|
|
2028
|
-
export declare const neutralFillInputAltRestDelta: DesignToken<number>;
|
|
978
|
+
export declare const colorPaletteMarigoldBorderActive: CSSDesignToken<string>;
|
|
2029
979
|
|
|
2030
|
-
|
|
2031
|
-
export declare const neutralFillInputFocus: CSSDesignToken<Swatch>;
|
|
980
|
+
export declare const colorPaletteMarigoldForeground1: CSSDesignToken<string>;
|
|
2032
981
|
|
|
2033
|
-
|
|
2034
|
-
export declare const neutralFillInputFocusDelta: DesignToken<number>;
|
|
982
|
+
export declare const colorPaletteMarigoldForeground2: CSSDesignToken<string>;
|
|
2035
983
|
|
|
2036
|
-
|
|
2037
|
-
export declare const neutralFillInputHover: CSSDesignToken<Swatch>;
|
|
984
|
+
export declare const colorPaletteMarigoldForeground3: CSSDesignToken<string>;
|
|
2038
985
|
|
|
2039
|
-
|
|
2040
|
-
export declare const neutralFillInputHoverDelta: DesignToken<number>;
|
|
986
|
+
export declare const colorPaletteMinkBackground2: CSSDesignToken<string>;
|
|
2041
987
|
|
|
2042
|
-
|
|
2043
|
-
export declare const neutralFillInputRecipe: DesignToken<InteractiveColorRecipe>;
|
|
988
|
+
export declare const colorPaletteMinkBorderActive: CSSDesignToken<string>;
|
|
2044
989
|
|
|
2045
|
-
|
|
2046
|
-
export declare const neutralFillInputRest: CSSDesignToken<Swatch>;
|
|
990
|
+
export declare const colorPaletteMinkForeground2: CSSDesignToken<string>;
|
|
2047
991
|
|
|
2048
|
-
|
|
2049
|
-
export declare const neutralFillInputRestDelta: DesignToken<number>;
|
|
992
|
+
export declare const colorPaletteNavyBackground2: CSSDesignToken<string>;
|
|
2050
993
|
|
|
2051
|
-
|
|
2052
|
-
export declare const neutralFillInverseActive: CSSDesignToken<Swatch>;
|
|
994
|
+
export declare const colorPaletteNavyBorderActive: CSSDesignToken<string>;
|
|
2053
995
|
|
|
2054
|
-
|
|
2055
|
-
export declare const neutralFillInverseActiveDelta: CSSDesignToken<number>;
|
|
996
|
+
export declare const colorPaletteNavyForeground2: CSSDesignToken<string>;
|
|
2056
997
|
|
|
2057
|
-
|
|
2058
|
-
export declare const neutralFillInverseFocus: CSSDesignToken<Swatch>;
|
|
998
|
+
export declare const colorPalettePeachBackground2: CSSDesignToken<string>;
|
|
2059
999
|
|
|
2060
|
-
|
|
2061
|
-
export declare const neutralFillInverseFocusDelta: CSSDesignToken<number>;
|
|
1000
|
+
export declare const colorPalettePeachBorderActive: CSSDesignToken<string>;
|
|
2062
1001
|
|
|
2063
|
-
|
|
2064
|
-
export declare const neutralFillInverseHover: CSSDesignToken<Swatch>;
|
|
1002
|
+
export declare const colorPalettePeachForeground2: CSSDesignToken<string>;
|
|
2065
1003
|
|
|
2066
|
-
|
|
2067
|
-
export declare const neutralFillInverseHoverDelta: CSSDesignToken<number>;
|
|
1004
|
+
export declare const colorPalettePinkBackground2: CSSDesignToken<string>;
|
|
2068
1005
|
|
|
2069
|
-
|
|
2070
|
-
export declare const neutralFillInverseRecipe: DesignToken<InteractiveColorRecipe>;
|
|
1006
|
+
export declare const colorPalettePinkBorderActive: CSSDesignToken<string>;
|
|
2071
1007
|
|
|
2072
|
-
|
|
2073
|
-
export declare const neutralFillInverseRest: CSSDesignToken<Swatch>;
|
|
1008
|
+
export declare const colorPalettePinkForeground2: CSSDesignToken<string>;
|
|
2074
1009
|
|
|
2075
|
-
|
|
2076
|
-
export declare const neutralFillInverseRestDelta: CSSDesignToken<number>;
|
|
1010
|
+
export declare const colorPalettePlatinumBackground2: CSSDesignToken<string>;
|
|
2077
1011
|
|
|
2078
|
-
|
|
2079
|
-
export declare const neutralFillLayerActive: CSSDesignToken<Swatch>;
|
|
1012
|
+
export declare const colorPalettePlatinumBorderActive: CSSDesignToken<string>;
|
|
2080
1013
|
|
|
2081
|
-
|
|
2082
|
-
export declare const neutralFillLayerActiveDelta: DesignToken<number>;
|
|
1014
|
+
export declare const colorPalettePlatinumForeground2: CSSDesignToken<string>;
|
|
2083
1015
|
|
|
2084
|
-
|
|
2085
|
-
export declare const neutralFillLayerAltRecipe: DesignToken<InteractiveColorRecipe>;
|
|
1016
|
+
export declare const colorPalettePlumBackground2: CSSDesignToken<string>;
|
|
2086
1017
|
|
|
2087
|
-
|
|
2088
|
-
export declare const neutralFillLayerAltRest: CSSDesignToken<Swatch>;
|
|
1018
|
+
export declare const colorPalettePlumBorderActive: CSSDesignToken<string>;
|
|
2089
1019
|
|
|
2090
|
-
|
|
2091
|
-
export declare const neutralFillLayerAltRestDelta: DesignToken<number>;
|
|
1020
|
+
export declare const colorPalettePlumForeground2: CSSDesignToken<string>;
|
|
2092
1021
|
|
|
2093
|
-
|
|
2094
|
-
export declare const neutralFillLayerHover: CSSDesignToken<Swatch>;
|
|
1022
|
+
export declare const colorPalettePumpkinBackground2: CSSDesignToken<string>;
|
|
2095
1023
|
|
|
2096
|
-
|
|
2097
|
-
export declare const neutralFillLayerHoverDelta: DesignToken<number>;
|
|
1024
|
+
export declare const colorPalettePumpkinBorderActive: CSSDesignToken<string>;
|
|
2098
1025
|
|
|
2099
|
-
|
|
2100
|
-
export declare const neutralFillLayerRecipe: DesignToken<InteractiveColorRecipe>;
|
|
1026
|
+
export declare const colorPalettePumpkinForeground2: CSSDesignToken<string>;
|
|
2101
1027
|
|
|
2102
|
-
|
|
2103
|
-
export declare const neutralFillLayerRest: CSSDesignToken<Swatch>;
|
|
1028
|
+
export declare const colorPalettePurpleBackground2: CSSDesignToken<string>;
|
|
2104
1029
|
|
|
2105
|
-
|
|
2106
|
-
export declare const neutralFillLayerRestDelta: DesignToken<number>;
|
|
1030
|
+
export declare const colorPalettePurpleBorderActive: CSSDesignToken<string>;
|
|
2107
1031
|
|
|
2108
|
-
|
|
2109
|
-
export declare const neutralFillRecipe: DesignToken<InteractiveColorRecipe>;
|
|
1032
|
+
export declare const colorPalettePurpleForeground2: CSSDesignToken<string>;
|
|
2110
1033
|
|
|
2111
|
-
|
|
2112
|
-
export declare const neutralFillRest: CSSDesignToken<Swatch>;
|
|
1034
|
+
export declare const colorPaletteRedBackground1: CSSDesignToken<string>;
|
|
2113
1035
|
|
|
2114
|
-
|
|
2115
|
-
export declare const neutralFillRestDelta: DesignToken<number>;
|
|
1036
|
+
export declare const colorPaletteRedBackground2: CSSDesignToken<string>;
|
|
2116
1037
|
|
|
2117
|
-
|
|
2118
|
-
export declare const neutralFillSecondaryActive: CSSDesignToken<Swatch>;
|
|
1038
|
+
export declare const colorPaletteRedBackground3: CSSDesignToken<string>;
|
|
2119
1039
|
|
|
2120
|
-
|
|
2121
|
-
export declare const neutralFillSecondaryActiveDelta: DesignToken<number>;
|
|
1040
|
+
export declare const colorPaletteRedBorder1: CSSDesignToken<string>;
|
|
2122
1041
|
|
|
2123
|
-
|
|
2124
|
-
export declare const neutralFillSecondaryFocus: CSSDesignToken<Swatch>;
|
|
1042
|
+
export declare const colorPaletteRedBorder2: CSSDesignToken<string>;
|
|
2125
1043
|
|
|
2126
|
-
|
|
2127
|
-
export declare const neutralFillSecondaryFocusDelta: DesignToken<number>;
|
|
1044
|
+
export declare const colorPaletteRedBorderActive: CSSDesignToken<string>;
|
|
2128
1045
|
|
|
2129
|
-
|
|
2130
|
-
export declare const neutralFillSecondaryHover: CSSDesignToken<Swatch>;
|
|
1046
|
+
export declare const colorPaletteRedForeground1: CSSDesignToken<string>;
|
|
2131
1047
|
|
|
2132
|
-
|
|
2133
|
-
export declare const neutralFillSecondaryHoverDelta: DesignToken<number>;
|
|
1048
|
+
export declare const colorPaletteRedForeground2: CSSDesignToken<string>;
|
|
2134
1049
|
|
|
2135
|
-
|
|
2136
|
-
export declare const neutralFillSecondaryRecipe: DesignToken<InteractiveColorRecipe>;
|
|
1050
|
+
export declare const colorPaletteRedForeground3: CSSDesignToken<string>;
|
|
2137
1051
|
|
|
2138
|
-
|
|
2139
|
-
export declare const neutralFillSecondaryRest: CSSDesignToken<Swatch>;
|
|
1052
|
+
export declare const colorPaletteRedForegroundInverted: CSSDesignToken<string>;
|
|
2140
1053
|
|
|
2141
|
-
|
|
2142
|
-
export declare const neutralFillSecondaryRestDelta: DesignToken<number>;
|
|
1054
|
+
export declare const colorPaletteRoyalBlueBackground2: CSSDesignToken<string>;
|
|
2143
1055
|
|
|
2144
|
-
|
|
2145
|
-
export declare const neutralFillStealthActive: CSSDesignToken<Swatch>;
|
|
1056
|
+
export declare const colorPaletteRoyalBlueBorderActive: CSSDesignToken<string>;
|
|
2146
1057
|
|
|
2147
|
-
|
|
2148
|
-
export declare const neutralFillStealthActiveDelta: DesignToken<number>;
|
|
1058
|
+
export declare const colorPaletteRoyalBlueForeground2: CSSDesignToken<string>;
|
|
2149
1059
|
|
|
2150
|
-
|
|
2151
|
-
export declare const neutralFillStealthFocus: CSSDesignToken<Swatch>;
|
|
1060
|
+
export declare const colorPaletteSeafoamBackground2: CSSDesignToken<string>;
|
|
2152
1061
|
|
|
2153
|
-
|
|
2154
|
-
export declare const neutralFillStealthFocusDelta: DesignToken<number>;
|
|
1062
|
+
export declare const colorPaletteSeafoamBorderActive: CSSDesignToken<string>;
|
|
2155
1063
|
|
|
2156
|
-
|
|
2157
|
-
export declare const neutralFillStealthHover: CSSDesignToken<Swatch>;
|
|
1064
|
+
export declare const colorPaletteSeafoamForeground2: CSSDesignToken<string>;
|
|
2158
1065
|
|
|
2159
|
-
|
|
2160
|
-
export declare const neutralFillStealthHoverDelta: DesignToken<number>;
|
|
1066
|
+
export declare const colorPaletteSteelBackground2: CSSDesignToken<string>;
|
|
2161
1067
|
|
|
2162
|
-
|
|
2163
|
-
export declare const neutralFillStealthRecipe: DesignToken<InteractiveColorRecipe>;
|
|
1068
|
+
export declare const colorPaletteSteelBorderActive: CSSDesignToken<string>;
|
|
2164
1069
|
|
|
2165
|
-
|
|
2166
|
-
export declare const neutralFillStealthRest: CSSDesignToken<Swatch>;
|
|
1070
|
+
export declare const colorPaletteSteelForeground2: CSSDesignToken<string>;
|
|
2167
1071
|
|
|
2168
|
-
|
|
2169
|
-
export declare const neutralFillStealthRestDelta: DesignToken<number>;
|
|
1072
|
+
export declare const colorPaletteTealBackground2: CSSDesignToken<string>;
|
|
2170
1073
|
|
|
2171
|
-
|
|
2172
|
-
export declare const neutralFillStrongActive: CSSDesignToken<Swatch>;
|
|
1074
|
+
export declare const colorPaletteTealBorderActive: CSSDesignToken<string>;
|
|
2173
1075
|
|
|
2174
|
-
|
|
2175
|
-
export declare const neutralFillStrongActiveDelta: DesignToken<number>;
|
|
1076
|
+
export declare const colorPaletteTealForeground2: CSSDesignToken<string>;
|
|
2176
1077
|
|
|
2177
|
-
|
|
2178
|
-
export declare const neutralFillStrongFocus: CSSDesignToken<Swatch>;
|
|
1078
|
+
export declare const colorPaletteYellowBackground1: CSSDesignToken<string>;
|
|
2179
1079
|
|
|
2180
|
-
|
|
2181
|
-
export declare const neutralFillStrongFocusDelta: DesignToken<number>;
|
|
1080
|
+
export declare const colorPaletteYellowBackground2: CSSDesignToken<string>;
|
|
2182
1081
|
|
|
2183
|
-
|
|
2184
|
-
export declare const neutralFillStrongHover: CSSDesignToken<Swatch>;
|
|
1082
|
+
export declare const colorPaletteYellowBackground3: CSSDesignToken<string>;
|
|
2185
1083
|
|
|
2186
|
-
|
|
2187
|
-
export declare const neutralFillStrongHoverDelta: DesignToken<number>;
|
|
1084
|
+
export declare const colorPaletteYellowBorder1: CSSDesignToken<string>;
|
|
2188
1085
|
|
|
2189
|
-
|
|
2190
|
-
export declare const neutralFillStrongRecipe: DesignToken<InteractiveColorRecipe>;
|
|
1086
|
+
export declare const colorPaletteYellowBorder2: CSSDesignToken<string>;
|
|
2191
1087
|
|
|
2192
|
-
|
|
2193
|
-
export declare const neutralFillStrongRest: CSSDesignToken<Swatch>;
|
|
1088
|
+
export declare const colorPaletteYellowBorderActive: CSSDesignToken<string>;
|
|
2194
1089
|
|
|
2195
|
-
|
|
2196
|
-
export declare const neutralFillStrongRestDelta: DesignToken<number>;
|
|
1090
|
+
export declare const colorPaletteYellowForeground1: CSSDesignToken<string>;
|
|
2197
1091
|
|
|
2198
|
-
|
|
2199
|
-
export declare const neutralFillToggleActive: CSSDesignToken<Swatch>;
|
|
1092
|
+
export declare const colorPaletteYellowForeground2: CSSDesignToken<string>;
|
|
2200
1093
|
|
|
2201
|
-
|
|
2202
|
-
export declare const neutralFillToggleActiveDelta: DesignToken<number>;
|
|
1094
|
+
export declare const colorPaletteYellowForeground3: CSSDesignToken<string>;
|
|
2203
1095
|
|
|
2204
|
-
|
|
2205
|
-
export declare const neutralFillToggleFocus: CSSDesignToken<Swatch>;
|
|
1096
|
+
export declare const colorPaletteYellowForegroundInverted: CSSDesignToken<string>;
|
|
2206
1097
|
|
|
2207
|
-
|
|
2208
|
-
export declare const neutralFillToggleFocusDelta: DesignToken<number>;
|
|
1098
|
+
export declare const colorScrollbarOverlay: CSSDesignToken<string>;
|
|
2209
1099
|
|
|
2210
|
-
|
|
2211
|
-
export declare const neutralFillToggleHover: CSSDesignToken<Swatch>;
|
|
1100
|
+
export declare const colorStrokeFocus1: CSSDesignToken<string>;
|
|
2212
1101
|
|
|
2213
|
-
|
|
2214
|
-
export declare const neutralFillToggleHoverDelta: DesignToken<number>;
|
|
1102
|
+
export declare const colorStrokeFocus2: CSSDesignToken<string>;
|
|
2215
1103
|
|
|
2216
|
-
|
|
2217
|
-
export declare const neutralFillToggleRest: CSSDesignToken<Swatch>;
|
|
1104
|
+
export declare const colorSubtleBackground: CSSDesignToken<string>;
|
|
2218
1105
|
|
|
2219
|
-
|
|
2220
|
-
export declare const neutralFillToggleRestDelta: DesignToken<number>;
|
|
1106
|
+
export declare const colorSubtleBackgroundHover: CSSDesignToken<string>;
|
|
2221
1107
|
|
|
2222
|
-
|
|
2223
|
-
export declare const neutralFocus: CSSDesignToken<Swatch>;
|
|
1108
|
+
export declare const colorSubtleBackgroundInverted: CSSDesignToken<string>;
|
|
2224
1109
|
|
|
2225
|
-
|
|
2226
|
-
export declare const neutralFocusInnerAccent: CSSDesignToken<Swatch>;
|
|
1110
|
+
export declare const colorSubtleBackgroundInvertedHover: CSSDesignToken<string>;
|
|
2227
1111
|
|
|
2228
|
-
|
|
2229
|
-
export declare const neutralForegroundActive: CSSDesignToken<Swatch>;
|
|
1112
|
+
export declare const colorSubtleBackgroundInvertedPressed: CSSDesignToken<string>;
|
|
2230
1113
|
|
|
2231
|
-
|
|
2232
|
-
export declare const neutralForegroundFocus: CSSDesignToken<Swatch>;
|
|
1114
|
+
export declare const colorSubtleBackgroundInvertedSelected: CSSDesignToken<string>;
|
|
2233
1115
|
|
|
2234
|
-
|
|
2235
|
-
export declare const neutralForegroundHint: CSSDesignToken<Swatch>;
|
|
1116
|
+
export declare const colorSubtleBackgroundLightAlphaHover: CSSDesignToken<string>;
|
|
2236
1117
|
|
|
2237
|
-
|
|
2238
|
-
export declare const neutralForegroundHintRecipe: DesignToken<ColorRecipe>;
|
|
1118
|
+
export declare const colorSubtleBackgroundLightAlphaPressed: CSSDesignToken<string>;
|
|
2239
1119
|
|
|
2240
|
-
|
|
2241
|
-
export declare const neutralForegroundHover: CSSDesignToken<Swatch>;
|
|
1120
|
+
export declare const colorSubtleBackgroundLightAlphaSelected: CSSDesignToken<string>;
|
|
2242
1121
|
|
|
2243
|
-
|
|
2244
|
-
export declare const neutralForegroundRecipe: DesignToken<InteractiveColorRecipe>;
|
|
1122
|
+
export declare const colorSubtleBackgroundPressed: CSSDesignToken<string>;
|
|
2245
1123
|
|
|
2246
|
-
|
|
2247
|
-
export declare const neutralForegroundRest: CSSDesignToken<Swatch>;
|
|
1124
|
+
export declare const colorSubtleBackgroundSelected: CSSDesignToken<string>;
|
|
2248
1125
|
|
|
2249
|
-
|
|
2250
|
-
export declare const neutralLayer1: CSSDesignToken<Swatch>;
|
|
1126
|
+
export declare const colorTransparentBackground: CSSDesignToken<string>;
|
|
2251
1127
|
|
|
2252
|
-
|
|
2253
|
-
export declare const neutralLayer1Recipe: DesignToken<ColorRecipe>;
|
|
1128
|
+
export declare const colorTransparentBackgroundHover: CSSDesignToken<string>;
|
|
2254
1129
|
|
|
2255
|
-
|
|
2256
|
-
export declare const neutralLayer2: CSSDesignToken<Swatch>;
|
|
1130
|
+
export declare const colorTransparentBackgroundPressed: CSSDesignToken<string>;
|
|
2257
1131
|
|
|
2258
|
-
|
|
2259
|
-
export declare const neutralLayer2Recipe: DesignToken<ColorRecipe>;
|
|
1132
|
+
export declare const colorTransparentBackgroundSelected: CSSDesignToken<string>;
|
|
2260
1133
|
|
|
2261
|
-
|
|
2262
|
-
|
|
1134
|
+
export declare const colorTransparentStroke: CSSDesignToken<string>;
|
|
1135
|
+
|
|
1136
|
+
export declare const colorTransparentStrokeDisabled: CSSDesignToken<string>;
|
|
1137
|
+
|
|
1138
|
+
export declare const colorTransparentStrokeInteractive: CSSDesignToken<string>;
|
|
1139
|
+
|
|
1140
|
+
/**
|
|
1141
|
+
* The base class used for constructing a fluent-badge custom element
|
|
1142
|
+
* @public
|
|
1143
|
+
*/
|
|
1144
|
+
export declare class CounterBadge extends FASTElement {
|
|
1145
|
+
/**
|
|
1146
|
+
* The appearance the badge should have.
|
|
1147
|
+
*
|
|
1148
|
+
* @public
|
|
1149
|
+
* @remarks
|
|
1150
|
+
* HTML Attribute: appearance
|
|
1151
|
+
*/
|
|
1152
|
+
appearance?: CounterBadgeAppearance;
|
|
1153
|
+
/**
|
|
1154
|
+
* The color the badge should have.
|
|
1155
|
+
*
|
|
1156
|
+
* @public
|
|
1157
|
+
* @remarks
|
|
1158
|
+
* HTML Attribute: color
|
|
1159
|
+
*/
|
|
1160
|
+
color?: CounterBadgeColor;
|
|
1161
|
+
/**
|
|
1162
|
+
* The shape the badge should have.
|
|
1163
|
+
*
|
|
1164
|
+
* @public
|
|
1165
|
+
* @remarks
|
|
1166
|
+
* HTML Attribute: shape
|
|
1167
|
+
*/
|
|
1168
|
+
shape?: CounterBadgeShape;
|
|
1169
|
+
/**
|
|
1170
|
+
* The size the badge should have.
|
|
1171
|
+
*
|
|
1172
|
+
* @public
|
|
1173
|
+
* @remarks
|
|
1174
|
+
* HTML Attribute: size
|
|
1175
|
+
*/
|
|
1176
|
+
size?: CounterBadgeSize;
|
|
1177
|
+
/**
|
|
1178
|
+
* The count the badge should have.
|
|
1179
|
+
*
|
|
1180
|
+
* @public
|
|
1181
|
+
* @remarks
|
|
1182
|
+
* HTML Attribute: count
|
|
1183
|
+
*/
|
|
1184
|
+
count: number;
|
|
1185
|
+
protected countChanged(): void;
|
|
1186
|
+
/**
|
|
1187
|
+
* Max number to be displayed
|
|
1188
|
+
*
|
|
1189
|
+
* @public
|
|
1190
|
+
* @remarks
|
|
1191
|
+
* HTML Attribute: overflow-count
|
|
1192
|
+
*/
|
|
1193
|
+
overflowCount: number;
|
|
1194
|
+
protected overflowCountChanged(): void;
|
|
1195
|
+
/**
|
|
1196
|
+
* If the badge should be shown when count is 0
|
|
1197
|
+
*
|
|
1198
|
+
* @public
|
|
1199
|
+
* @remarks
|
|
1200
|
+
* HTML Attribute: show-zero
|
|
1201
|
+
*/
|
|
1202
|
+
showZero: boolean;
|
|
1203
|
+
/**
|
|
1204
|
+
* If a dot should be displayed without the count
|
|
1205
|
+
*
|
|
1206
|
+
* @public
|
|
1207
|
+
* @remarks
|
|
1208
|
+
* HTML Attribute: dot
|
|
1209
|
+
*/
|
|
1210
|
+
dot: boolean;
|
|
1211
|
+
/**
|
|
1212
|
+
* @internal
|
|
1213
|
+
* Function to set the count
|
|
1214
|
+
* This is the default slotted content for the counter badge
|
|
1215
|
+
* If children are slotted, that will override the value returned
|
|
1216
|
+
*/
|
|
1217
|
+
setCount(): string | void;
|
|
1218
|
+
}
|
|
2263
1219
|
|
|
2264
|
-
/**
|
|
2265
|
-
|
|
1220
|
+
/**
|
|
1221
|
+
* Mark internal because exporting class and interface of the same name
|
|
1222
|
+
* confuses API extractor.
|
|
1223
|
+
* TODO: Below will be unnecessary when Badge class gets updated
|
|
1224
|
+
* @internal
|
|
1225
|
+
*/
|
|
1226
|
+
export declare interface CounterBadge extends StartEnd {
|
|
1227
|
+
}
|
|
2266
1228
|
|
|
2267
|
-
/**
|
|
2268
|
-
|
|
1229
|
+
/**
|
|
1230
|
+
* CounterBadgeAppearance constants
|
|
1231
|
+
* @public
|
|
1232
|
+
*/
|
|
1233
|
+
export declare const CounterBadgeAppearance: {
|
|
1234
|
+
readonly filled: "filled";
|
|
1235
|
+
readonly ghost: "ghost";
|
|
1236
|
+
};
|
|
2269
1237
|
|
|
2270
|
-
/**
|
|
2271
|
-
|
|
1238
|
+
/**
|
|
1239
|
+
* A CounterBadge can have an appearance of filled or ghost
|
|
1240
|
+
* @public
|
|
1241
|
+
*/
|
|
1242
|
+
export declare type CounterBadgeAppearance = ValuesOf<typeof CounterBadgeAppearance>;
|
|
2272
1243
|
|
|
2273
|
-
/**
|
|
2274
|
-
|
|
1244
|
+
/**
|
|
1245
|
+
* CounterBadgeColor constants
|
|
1246
|
+
* @public
|
|
1247
|
+
*/
|
|
1248
|
+
export declare const CounterBadgeColor: {
|
|
1249
|
+
readonly brand: "brand";
|
|
1250
|
+
readonly danger: "danger";
|
|
1251
|
+
readonly important: "important";
|
|
1252
|
+
readonly informative: "informative";
|
|
1253
|
+
readonly severe: "severe";
|
|
1254
|
+
readonly subtle: "subtle";
|
|
1255
|
+
readonly success: "success";
|
|
1256
|
+
readonly warning: "warning";
|
|
1257
|
+
};
|
|
2275
1258
|
|
|
2276
|
-
/**
|
|
2277
|
-
|
|
1259
|
+
/**
|
|
1260
|
+
* A CounterBadge can be one of preset colors
|
|
1261
|
+
* @public
|
|
1262
|
+
*/
|
|
1263
|
+
export declare type CounterBadgeColor = ValuesOf<typeof CounterBadgeColor>;
|
|
2278
1264
|
|
|
2279
|
-
/**
|
|
2280
|
-
|
|
1265
|
+
/**
|
|
1266
|
+
* The Fluent CounterBadge Element. Implements {@link @microsoft/fast-foundation#Badge },
|
|
1267
|
+
* {@link @microsoft/fast-foundation#badgeTemplate}
|
|
1268
|
+
*
|
|
1269
|
+
*
|
|
1270
|
+
* @public
|
|
1271
|
+
* @remarks
|
|
1272
|
+
* HTML Element: \<fluent-counter-badge\>
|
|
1273
|
+
*/
|
|
1274
|
+
export declare const CounterBadgeDefinition: FASTElementDefinition<typeof CounterBadge>;
|
|
2281
1275
|
|
|
2282
|
-
/**
|
|
2283
|
-
|
|
1276
|
+
/**
|
|
1277
|
+
* CounterBadge options
|
|
1278
|
+
* @public
|
|
1279
|
+
*/
|
|
1280
|
+
export declare type CounterBadgeOptions = BadgeOptions;
|
|
2284
1281
|
|
|
2285
|
-
/**
|
|
2286
|
-
|
|
1282
|
+
/**
|
|
1283
|
+
* A CounterBadge shape can be circular or rounded.
|
|
1284
|
+
* @public
|
|
1285
|
+
*/
|
|
1286
|
+
export declare const CounterBadgeShape: {
|
|
1287
|
+
readonly circular: "circular";
|
|
1288
|
+
readonly rounded: "rounded";
|
|
1289
|
+
};
|
|
2287
1290
|
|
|
2288
|
-
/**
|
|
2289
|
-
|
|
1291
|
+
/**
|
|
1292
|
+
* A CounterBadge can be one of preset colors
|
|
1293
|
+
* @public
|
|
1294
|
+
*/
|
|
1295
|
+
export declare type CounterBadgeShape = ValuesOf<typeof CounterBadgeShape>;
|
|
2290
1296
|
|
|
2291
|
-
/**
|
|
2292
|
-
|
|
1297
|
+
/**
|
|
1298
|
+
* A CounterBadge can be square, circular or rounded.
|
|
1299
|
+
* @public
|
|
1300
|
+
*/
|
|
1301
|
+
export declare const CounterBadgeSize: {
|
|
1302
|
+
readonly tiny: "tiny";
|
|
1303
|
+
readonly extraSmall: "extra-small";
|
|
1304
|
+
readonly small: "small";
|
|
1305
|
+
readonly medium: "medium";
|
|
1306
|
+
readonly large: "large";
|
|
1307
|
+
readonly extraLarge: "extra-large";
|
|
1308
|
+
};
|
|
2293
1309
|
|
|
2294
|
-
/**
|
|
2295
|
-
|
|
1310
|
+
/**
|
|
1311
|
+
* A CounterBadge can be on of several preset sizes.
|
|
1312
|
+
* @public
|
|
1313
|
+
*/
|
|
1314
|
+
export declare type CounterBadgeSize = ValuesOf<typeof CounterBadgeSize>;
|
|
2296
1315
|
|
|
2297
|
-
/**
|
|
2298
|
-
|
|
1316
|
+
/** Badge styles
|
|
1317
|
+
* @public
|
|
1318
|
+
*/
|
|
1319
|
+
export declare const CounterBadgeStyles: ElementStyles;
|
|
2299
1320
|
|
|
2300
|
-
/**
|
|
2301
|
-
|
|
1321
|
+
/**
|
|
1322
|
+
* The template for the Counter Badge component.
|
|
1323
|
+
* @public
|
|
1324
|
+
*/
|
|
1325
|
+
export declare const CounterBadgeTemplate: ElementViewTemplate<CounterBadge>;
|
|
2302
1326
|
|
|
2303
|
-
|
|
2304
|
-
export declare const neutralOutlineHover: CSSDesignToken<Swatch>;
|
|
1327
|
+
export declare const curveAccelerateMax: CSSDesignToken<string>;
|
|
2305
1328
|
|
|
2306
|
-
|
|
2307
|
-
export declare const neutralOutlineRest: CSSDesignToken<Swatch>;
|
|
1329
|
+
export declare const curveAccelerateMid: CSSDesignToken<string>;
|
|
2308
1330
|
|
|
2309
|
-
|
|
2310
|
-
export declare const neutralPalette: DesignToken<Palette<Swatch>>;
|
|
1331
|
+
export declare const curveAccelerateMin: CSSDesignToken<string>;
|
|
2311
1332
|
|
|
2312
|
-
|
|
2313
|
-
export declare const neutralStrokeActive: CSSDesignToken<Swatch>;
|
|
1333
|
+
export declare const curveDecelerateMax: CSSDesignToken<string>;
|
|
2314
1334
|
|
|
2315
|
-
|
|
2316
|
-
export declare const neutralStrokeActiveDelta: DesignToken<number>;
|
|
1335
|
+
export declare const curveDecelerateMid: CSSDesignToken<string>;
|
|
2317
1336
|
|
|
2318
|
-
|
|
2319
|
-
export declare const neutralStrokeControlActive: CSSDesignToken<Swatch>;
|
|
1337
|
+
export declare const curveDecelerateMin: CSSDesignToken<string>;
|
|
2320
1338
|
|
|
2321
|
-
|
|
2322
|
-
export declare const neutralStrokeControlActiveDelta: DesignToken<number>;
|
|
1339
|
+
export declare const curveEasyEase: CSSDesignToken<string>;
|
|
2323
1340
|
|
|
2324
|
-
|
|
2325
|
-
export declare const neutralStrokeControlFocus: CSSDesignToken<Swatch>;
|
|
1341
|
+
export declare const curveEasyEaseMax: CSSDesignToken<string>;
|
|
2326
1342
|
|
|
2327
|
-
|
|
2328
|
-
export declare const neutralStrokeControlFocusDelta: DesignToken<number>;
|
|
1343
|
+
export declare const curveLinear: CSSDesignToken<string>;
|
|
2329
1344
|
|
|
2330
|
-
/**
|
|
2331
|
-
|
|
1345
|
+
/**
|
|
1346
|
+
* The Fluent Switch Element.
|
|
1347
|
+
*
|
|
1348
|
+
* @public
|
|
1349
|
+
* @remarks
|
|
1350
|
+
* HTML Element: \<fluent-switch\>
|
|
1351
|
+
*/
|
|
1352
|
+
export declare const definition: FASTElementDefinition<typeof Switch>;
|
|
2332
1353
|
|
|
2333
|
-
/**
|
|
2334
|
-
|
|
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
|
+
}
|
|
2335
1383
|
|
|
2336
|
-
/**
|
|
2337
|
-
|
|
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
|
+
};
|
|
2338
1393
|
|
|
2339
|
-
/**
|
|
2340
|
-
|
|
1394
|
+
/**
|
|
1395
|
+
* The types for DividerAlignContent
|
|
1396
|
+
* @public
|
|
1397
|
+
*/
|
|
1398
|
+
export declare type DividerAlignContent = ValuesOf<typeof DividerAlignContent>;
|
|
2341
1399
|
|
|
2342
|
-
/**
|
|
2343
|
-
|
|
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
|
+
};
|
|
2344
1410
|
|
|
2345
|
-
/**
|
|
2346
|
-
|
|
1411
|
+
/**
|
|
1412
|
+
* The types for Appearance
|
|
1413
|
+
* @public
|
|
1414
|
+
*/
|
|
1415
|
+
export declare type DividerAppearance = ValuesOf<typeof DividerAppearance>;
|
|
2347
1416
|
|
|
2348
|
-
/**
|
|
2349
|
-
|
|
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>;
|
|
2350
1425
|
|
|
2351
|
-
|
|
2352
|
-
export declare const neutralStrokeDividerRestDelta: DesignToken<number>;
|
|
1426
|
+
export { DividerOrientation }
|
|
2353
1427
|
|
|
2354
|
-
|
|
2355
|
-
export declare const neutralStrokeFocus: CSSDesignToken<Swatch>;
|
|
1428
|
+
export { DividerRole }
|
|
2356
1429
|
|
|
2357
|
-
/**
|
|
2358
|
-
|
|
1430
|
+
/** Divider styles
|
|
1431
|
+
* @public
|
|
1432
|
+
*/
|
|
1433
|
+
export declare const DividerStyles: ElementStyles;
|
|
2359
1434
|
|
|
2360
|
-
/**
|
|
2361
|
-
|
|
1435
|
+
/**
|
|
1436
|
+
* Template for the Divider component
|
|
1437
|
+
* @public
|
|
1438
|
+
*/
|
|
1439
|
+
export declare const DividerTemplate: ElementViewTemplate<Divider>;
|
|
2362
1440
|
|
|
2363
|
-
|
|
2364
|
-
export declare const neutralStrokeHoverDelta: DesignToken<number>;
|
|
1441
|
+
export declare const durationFast: CSSDesignToken<string>;
|
|
2365
1442
|
|
|
2366
|
-
|
|
2367
|
-
export declare const neutralStrokeInputActive: CSSDesignToken<Swatch>;
|
|
1443
|
+
export declare const durationFaster: CSSDesignToken<string>;
|
|
2368
1444
|
|
|
2369
|
-
|
|
2370
|
-
export declare const neutralStrokeInputFocus: CSSDesignToken<Swatch>;
|
|
1445
|
+
export declare const durationNormal: CSSDesignToken<string>;
|
|
2371
1446
|
|
|
2372
|
-
|
|
2373
|
-
export declare const neutralStrokeInputHover: CSSDesignToken<Swatch>;
|
|
1447
|
+
export declare const durationSlow: CSSDesignToken<string>;
|
|
2374
1448
|
|
|
2375
|
-
|
|
2376
|
-
export declare const neutralStrokeInputRecipe: DesignToken<InteractiveColorRecipe>;
|
|
1449
|
+
export declare const durationSlower: CSSDesignToken<string>;
|
|
2377
1450
|
|
|
2378
|
-
|
|
2379
|
-
export declare const neutralStrokeInputRest: CSSDesignToken<Swatch>;
|
|
1451
|
+
export declare const durationUltraFast: CSSDesignToken<string>;
|
|
2380
1452
|
|
|
2381
|
-
|
|
2382
|
-
export declare const neutralStrokeLayerActive: CSSDesignToken<Swatch>;
|
|
1453
|
+
export declare const durationUltraSlow: CSSDesignToken<string>;
|
|
2383
1454
|
|
|
2384
|
-
|
|
2385
|
-
export declare const neutralStrokeLayerActiveDelta: DesignToken<number>;
|
|
1455
|
+
export declare const fontFamilyBase: CSSDesignToken<string>;
|
|
2386
1456
|
|
|
2387
|
-
|
|
2388
|
-
export declare const neutralStrokeLayerHover: CSSDesignToken<Swatch>;
|
|
1457
|
+
export declare const fontFamilyMonospace: CSSDesignToken<string>;
|
|
2389
1458
|
|
|
2390
|
-
|
|
2391
|
-
export declare const neutralStrokeLayerHoverDelta: DesignToken<number>;
|
|
1459
|
+
export declare const fontFamilyNumeric: CSSDesignToken<string>;
|
|
2392
1460
|
|
|
2393
|
-
|
|
2394
|
-
export declare const neutralStrokeLayerRecipe: DesignToken<InteractiveColorRecipe>;
|
|
1461
|
+
export declare const fontSizeBase100: CSSDesignToken<string>;
|
|
2395
1462
|
|
|
2396
|
-
|
|
2397
|
-
export declare const neutralStrokeLayerRest: CSSDesignToken<Swatch>;
|
|
1463
|
+
export declare const fontSizeBase200: CSSDesignToken<string>;
|
|
2398
1464
|
|
|
2399
|
-
|
|
2400
|
-
export declare const neutralStrokeLayerRestDelta: DesignToken<number>;
|
|
1465
|
+
export declare const fontSizeBase300: CSSDesignToken<string>;
|
|
2401
1466
|
|
|
2402
|
-
|
|
2403
|
-
export declare const neutralStrokeRecipe: DesignToken<InteractiveColorRecipe>;
|
|
1467
|
+
export declare const fontSizeBase400: CSSDesignToken<string>;
|
|
2404
1468
|
|
|
2405
|
-
|
|
2406
|
-
export declare const neutralStrokeRest: CSSDesignToken<Swatch>;
|
|
1469
|
+
export declare const fontSizeBase500: CSSDesignToken<string>;
|
|
2407
1470
|
|
|
2408
|
-
|
|
2409
|
-
export declare const neutralStrokeRestDelta: DesignToken<number>;
|
|
1471
|
+
export declare const fontSizeBase600: CSSDesignToken<string>;
|
|
2410
1472
|
|
|
2411
|
-
|
|
2412
|
-
export declare const neutralStrokeStrongActive: CSSDesignToken<Swatch>;
|
|
1473
|
+
export declare const fontSizeHero1000: CSSDesignToken<string>;
|
|
2413
1474
|
|
|
2414
|
-
|
|
2415
|
-
export declare const neutralStrokeStrongActiveDelta: DesignToken<number>;
|
|
1475
|
+
export declare const fontSizeHero700: CSSDesignToken<string>;
|
|
2416
1476
|
|
|
2417
|
-
|
|
2418
|
-
export declare const neutralStrokeStrongFocus: CSSDesignToken<Swatch>;
|
|
1477
|
+
export declare const fontSizeHero800: CSSDesignToken<string>;
|
|
2419
1478
|
|
|
2420
|
-
|
|
2421
|
-
export declare const neutralStrokeStrongFocusDelta: DesignToken<number>;
|
|
1479
|
+
export declare const fontSizeHero900: CSSDesignToken<string>;
|
|
2422
1480
|
|
|
2423
|
-
|
|
2424
|
-
export declare const neutralStrokeStrongHover: CSSDesignToken<Swatch>;
|
|
1481
|
+
export declare const fontWeightBold: CSSDesignToken<string>;
|
|
2425
1482
|
|
|
2426
|
-
|
|
2427
|
-
export declare const neutralStrokeStrongHoverDelta: DesignToken<number>;
|
|
1483
|
+
export declare const fontWeightMedium: CSSDesignToken<string>;
|
|
2428
1484
|
|
|
2429
|
-
|
|
2430
|
-
export declare const neutralStrokeStrongRecipe: DesignToken<InteractiveColorRecipe>;
|
|
1485
|
+
export declare const fontWeightRegular: CSSDesignToken<string>;
|
|
2431
1486
|
|
|
2432
|
-
|
|
2433
|
-
export declare const neutralStrokeStrongRest: CSSDesignToken<Swatch>;
|
|
1487
|
+
export declare const fontWeightSemibold: CSSDesignToken<string>;
|
|
2434
1488
|
|
|
2435
1489
|
/**
|
|
2436
|
-
* The
|
|
2437
|
-
* @
|
|
1490
|
+
* The base class used for constucting a fluent image custom element
|
|
1491
|
+
* @public
|
|
2438
1492
|
*/
|
|
2439
|
-
|
|
1493
|
+
declare class Image_2 extends FASTElement {
|
|
2440
1494
|
/**
|
|
2441
|
-
*
|
|
1495
|
+
* Image layout
|
|
2442
1496
|
*
|
|
2443
1497
|
* @public
|
|
2444
1498
|
* @remarks
|
|
2445
|
-
* HTML
|
|
1499
|
+
* HTML attribute: block.
|
|
2446
1500
|
*/
|
|
2447
|
-
|
|
1501
|
+
block?: boolean;
|
|
2448
1502
|
/**
|
|
2449
|
-
*
|
|
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.
|
|
2450
1524
|
*/
|
|
2451
|
-
|
|
1525
|
+
fit?: ImageFit;
|
|
1526
|
+
/**
|
|
1527
|
+
* Image shape
|
|
1528
|
+
*
|
|
1529
|
+
* @public
|
|
1530
|
+
* @remarks
|
|
1531
|
+
* HTML attribute: shape.
|
|
1532
|
+
*/
|
|
1533
|
+
shape?: ImageShape;
|
|
2452
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
|
+
};
|
|
2453
1557
|
|
|
2454
1558
|
/**
|
|
2455
|
-
*
|
|
1559
|
+
* Types for image fit
|
|
2456
1560
|
* @public
|
|
2457
1561
|
*/
|
|
2458
|
-
export declare type
|
|
1562
|
+
export declare type ImageFit = ValuesOf<typeof ImageFit>;
|
|
2459
1563
|
|
|
2460
1564
|
/**
|
|
2461
|
-
*
|
|
1565
|
+
* Image shape
|
|
2462
1566
|
* @public
|
|
2463
1567
|
*/
|
|
2464
|
-
export declare const
|
|
1568
|
+
export declare const ImageShape: {
|
|
1569
|
+
readonly circular: "circular";
|
|
1570
|
+
readonly rounded: "rounded";
|
|
1571
|
+
readonly square: "square";
|
|
1572
|
+
};
|
|
2465
1573
|
|
|
2466
|
-
|
|
2467
|
-
|
|
1574
|
+
export declare type ImageShape = ValuesOf<typeof ImageShape>;
|
|
1575
|
+
|
|
1576
|
+
/** Image styles
|
|
1577
|
+
*
|
|
2468
1578
|
* @public
|
|
2469
1579
|
*/
|
|
2470
|
-
export declare const
|
|
1580
|
+
export declare const ImageStyles: ElementStyles;
|
|
2471
1581
|
|
|
2472
1582
|
/**
|
|
2473
|
-
*
|
|
1583
|
+
* Template for the Image component
|
|
1584
|
+
* @public
|
|
2474
1585
|
*/
|
|
2475
|
-
export declare const
|
|
1586
|
+
export declare const ImageTemplate: ElementViewTemplate<Image_2>;
|
|
2476
1587
|
|
|
2477
|
-
|
|
2478
|
-
export declare const outlineWidth: CSSDesignToken<number>;
|
|
1588
|
+
export declare const lineHeightBase100: CSSDesignToken<string>;
|
|
2479
1589
|
|
|
2480
|
-
|
|
2481
|
-
* A collection of {@link Swatch} instances
|
|
2482
|
-
* @public
|
|
2483
|
-
*/
|
|
2484
|
-
export declare interface Palette<T extends Swatch = Swatch> {
|
|
2485
|
-
readonly source: T;
|
|
2486
|
-
readonly swatches: ReadonlyArray<T>;
|
|
2487
|
-
/**
|
|
2488
|
-
* Returns a swatch from the palette that most closely matches
|
|
2489
|
-
* the contrast ratio provided to a provided reference.
|
|
2490
|
-
*/
|
|
2491
|
-
colorContrast(reference: Swatch, contrast: number, initialIndex?: number, direction?: 1 | -1): T;
|
|
2492
|
-
/**
|
|
2493
|
-
* Returns the index of the palette that most closely matches
|
|
2494
|
-
* the relativeLuminance of the provided swatch
|
|
2495
|
-
*/
|
|
2496
|
-
closestIndexOf(reference: RelativeLuminance): number;
|
|
2497
|
-
/**
|
|
2498
|
-
* Gets a swatch by index. Index is clamped to the limits
|
|
2499
|
-
* of the palette so a Swatch will always be returned.
|
|
2500
|
-
*/
|
|
2501
|
-
get(index: number): T;
|
|
2502
|
-
}
|
|
1590
|
+
export declare const lineHeightBase200: CSSDesignToken<string>;
|
|
2503
1591
|
|
|
2504
|
-
|
|
2505
|
-
export declare type PaletteRGB = Palette<SwatchRGB>;
|
|
1592
|
+
export declare const lineHeightBase300: CSSDesignToken<string>;
|
|
2506
1593
|
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
1594
|
+
export declare const lineHeightBase400: CSSDesignToken<string>;
|
|
1595
|
+
|
|
1596
|
+
export declare const lineHeightBase500: CSSDesignToken<string>;
|
|
1597
|
+
|
|
1598
|
+
export declare const lineHeightBase600: CSSDesignToken<string>;
|
|
1599
|
+
|
|
1600
|
+
export declare const lineHeightHero1000: CSSDesignToken<string>;
|
|
1601
|
+
|
|
1602
|
+
export declare const lineHeightHero700: CSSDesignToken<string>;
|
|
1603
|
+
|
|
1604
|
+
export declare const lineHeightHero800: CSSDesignToken<string>;
|
|
1605
|
+
|
|
1606
|
+
export declare const lineHeightHero900: CSSDesignToken<string>;
|
|
2512
1607
|
|
|
2513
1608
|
/**
|
|
2514
|
-
*
|
|
1609
|
+
* The base class used for constructing a fluent-progress-bar custom element
|
|
2515
1610
|
* @public
|
|
2516
1611
|
*/
|
|
2517
|
-
declare
|
|
1612
|
+
declare class ProgressBar_2 extends FASTProgress {
|
|
2518
1613
|
/**
|
|
2519
|
-
* The
|
|
2520
|
-
*
|
|
1614
|
+
* The thickness of the progress bar
|
|
1615
|
+
*
|
|
1616
|
+
* @public
|
|
1617
|
+
* @remarks
|
|
1618
|
+
* HTML Attribute: thickness
|
|
2521
1619
|
*/
|
|
2522
|
-
|
|
1620
|
+
thickness?: ProgressBarThickness;
|
|
2523
1621
|
/**
|
|
2524
|
-
*
|
|
2525
|
-
*
|
|
1622
|
+
* The shape of the progress bar
|
|
1623
|
+
* @public
|
|
1624
|
+
* @remarks
|
|
1625
|
+
* HTML Attribute: shape
|
|
2526
1626
|
*/
|
|
2527
|
-
|
|
1627
|
+
shape?: ProgressBarShape;
|
|
2528
1628
|
/**
|
|
2529
|
-
*
|
|
2530
|
-
*
|
|
2531
|
-
*
|
|
2532
|
-
*
|
|
1629
|
+
* The validation state of the progress bar
|
|
1630
|
+
* @public
|
|
1631
|
+
* @remarks
|
|
1632
|
+
* HTML Attribute: validation-state
|
|
2533
1633
|
*/
|
|
2534
|
-
|
|
1634
|
+
validationState: ProgressBarValidationState | null;
|
|
2535
1635
|
}
|
|
1636
|
+
export { ProgressBar_2 as ProgressBar }
|
|
2536
1637
|
|
|
2537
1638
|
/**
|
|
2538
|
-
*
|
|
1639
|
+
* The Fluent ProgressBar Element.
|
|
1640
|
+
*
|
|
1641
|
+
*
|
|
2539
1642
|
* @public
|
|
1643
|
+
* @remarks
|
|
1644
|
+
* HTML Element: \<fluent-progress-bar\>
|
|
2540
1645
|
*/
|
|
2541
|
-
export declare
|
|
2542
|
-
}
|
|
1646
|
+
export declare const ProgressBarDefinition: FASTElementDefinition<typeof ProgressBar_2>;
|
|
2543
1647
|
|
|
2544
1648
|
/**
|
|
2545
|
-
*
|
|
1649
|
+
* ProgressBarShape Constants
|
|
2546
1650
|
* @public
|
|
2547
1651
|
*/
|
|
2548
|
-
export declare
|
|
2549
|
-
|
|
1652
|
+
export declare const ProgressBarShape: {
|
|
1653
|
+
readonly rounded: "rounded";
|
|
1654
|
+
readonly square: "square";
|
|
1655
|
+
};
|
|
2550
1656
|
|
|
2551
1657
|
/**
|
|
2552
|
-
*
|
|
1658
|
+
* Applies bar shape to the content
|
|
2553
1659
|
* @public
|
|
2554
1660
|
*/
|
|
2555
|
-
export declare
|
|
1661
|
+
export declare type ProgressBarShape = ValuesOf<typeof ProgressBarShape>;
|
|
2556
1662
|
|
|
2557
|
-
/**
|
|
2558
|
-
* Styles for Progress
|
|
1663
|
+
/** Text styles
|
|
2559
1664
|
* @public
|
|
2560
1665
|
*/
|
|
2561
|
-
export declare const
|
|
1666
|
+
export declare const ProgressBarStyles: ElementStyles;
|
|
1667
|
+
|
|
1668
|
+
export declare const ProgressBarTemplate: ElementViewTemplate<ProgressBar_2>;
|
|
2562
1669
|
|
|
2563
1670
|
/**
|
|
2564
|
-
*
|
|
2565
|
-
* already created for that element or creating one.
|
|
2566
|
-
* @param element - The element to root the design system at. By default, this is the body.
|
|
2567
|
-
* @returns A Fluent Design System
|
|
1671
|
+
* ProgressBarThickness Constants
|
|
2568
1672
|
* @public
|
|
2569
1673
|
*/
|
|
2570
|
-
export declare
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
export { RadioGroup }
|
|
1674
|
+
export declare const ProgressBarThickness: {
|
|
1675
|
+
readonly medium: "medium";
|
|
1676
|
+
readonly large: "large";
|
|
1677
|
+
};
|
|
2575
1678
|
|
|
2576
1679
|
/**
|
|
2577
|
-
*
|
|
1680
|
+
* Applies bar thickness to the content
|
|
2578
1681
|
* @public
|
|
2579
1682
|
*/
|
|
2580
|
-
export declare
|
|
1683
|
+
export declare type ProgressBarThickness = ValuesOf<typeof ProgressBarThickness>;
|
|
2581
1684
|
|
|
2582
1685
|
/**
|
|
2583
|
-
*
|
|
1686
|
+
* ProgressBarValidationState Constants
|
|
2584
1687
|
* @public
|
|
2585
1688
|
*/
|
|
2586
|
-
export declare const
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
}
|
|
1689
|
+
export declare const ProgressBarValidationState: {
|
|
1690
|
+
readonly success: "success";
|
|
1691
|
+
readonly warning: "warning";
|
|
1692
|
+
readonly error: "error";
|
|
1693
|
+
};
|
|
2592
1694
|
|
|
2593
1695
|
/**
|
|
1696
|
+
* Applies validation state to the content
|
|
2594
1697
|
* @public
|
|
2595
1698
|
*/
|
|
2596
|
-
declare
|
|
2597
|
-
/**
|
|
2598
|
-
* A number between 0 and 1, calculated by {@link https://www.w3.org/WAI/GL/wiki/Relative_luminance}
|
|
2599
|
-
*/
|
|
2600
|
-
readonly relativeLuminance: number;
|
|
2601
|
-
}
|
|
1699
|
+
export declare type ProgressBarValidationState = ValuesOf<typeof ProgressBarValidationState>;
|
|
2602
1700
|
|
|
2603
1701
|
/**
|
|
2604
|
-
*
|
|
2605
|
-
* @
|
|
1702
|
+
* Sets the theme tokens on defaultNode.
|
|
1703
|
+
* @param theme Flat object of theme token values.
|
|
2606
1704
|
*/
|
|
2607
|
-
export declare
|
|
2608
|
-
/**
|
|
2609
|
-
* The appearance of the element.
|
|
2610
|
-
*
|
|
2611
|
-
* @public
|
|
2612
|
-
* @remarks
|
|
2613
|
-
* HTML Attribute: appearance
|
|
2614
|
-
*/
|
|
2615
|
-
appearance: SearchAppearance;
|
|
2616
|
-
}
|
|
1705
|
+
export declare const setTheme: (theme: Theme) => void;
|
|
2617
1706
|
|
|
2618
|
-
|
|
2619
|
-
* Search appearances
|
|
2620
|
-
* @public
|
|
2621
|
-
*/
|
|
2622
|
-
export declare type SearchAppearance = 'filled' | 'outline';
|
|
1707
|
+
export declare const shadow16: CSSDesignToken<string>;
|
|
2623
1708
|
|
|
2624
|
-
|
|
2625
|
-
* Styles for Search
|
|
2626
|
-
* @public
|
|
2627
|
-
*/
|
|
2628
|
-
export declare const searchStyles: (context: ElementDefinitionContext, definition: SearchOptions) => ElementStyles;
|
|
1709
|
+
export declare const shadow16Brand: CSSDesignToken<string>;
|
|
2629
1710
|
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
1711
|
+
export declare const shadow2: CSSDesignToken<string>;
|
|
1712
|
+
|
|
1713
|
+
export declare const shadow28: CSSDesignToken<string>;
|
|
1714
|
+
|
|
1715
|
+
export declare const shadow28Brand: CSSDesignToken<string>;
|
|
1716
|
+
|
|
1717
|
+
export declare const shadow2Brand: CSSDesignToken<string>;
|
|
1718
|
+
|
|
1719
|
+
export declare const shadow4: CSSDesignToken<string>;
|
|
1720
|
+
|
|
1721
|
+
export declare const shadow4Brand: CSSDesignToken<string>;
|
|
1722
|
+
|
|
1723
|
+
export declare const shadow64: CSSDesignToken<string>;
|
|
1724
|
+
|
|
1725
|
+
export declare const shadow64Brand: CSSDesignToken<string>;
|
|
1726
|
+
|
|
1727
|
+
export declare const shadow8: CSSDesignToken<string>;
|
|
1728
|
+
|
|
1729
|
+
export declare const shadow8Brand: CSSDesignToken<string>;
|
|
1730
|
+
|
|
1731
|
+
export declare const spacingHorizontalL: CSSDesignToken<string>;
|
|
1732
|
+
|
|
1733
|
+
export declare const spacingHorizontalM: CSSDesignToken<string>;
|
|
1734
|
+
|
|
1735
|
+
export declare const spacingHorizontalMNudge: CSSDesignToken<string>;
|
|
1736
|
+
|
|
1737
|
+
export declare const spacingHorizontalNone: CSSDesignToken<string>;
|
|
1738
|
+
|
|
1739
|
+
export declare const spacingHorizontalS: CSSDesignToken<string>;
|
|
1740
|
+
|
|
1741
|
+
export declare const spacingHorizontalSNudge: CSSDesignToken<string>;
|
|
1742
|
+
|
|
1743
|
+
export declare const spacingHorizontalXL: CSSDesignToken<string>;
|
|
1744
|
+
|
|
1745
|
+
export declare const spacingHorizontalXS: CSSDesignToken<string>;
|
|
1746
|
+
|
|
1747
|
+
export declare const spacingHorizontalXXL: CSSDesignToken<string>;
|
|
1748
|
+
|
|
1749
|
+
export declare const spacingHorizontalXXS: CSSDesignToken<string>;
|
|
1750
|
+
|
|
1751
|
+
export declare const spacingHorizontalXXXL: CSSDesignToken<string>;
|
|
1752
|
+
|
|
1753
|
+
export declare const spacingVerticalL: CSSDesignToken<string>;
|
|
1754
|
+
|
|
1755
|
+
export declare const spacingVerticalM: CSSDesignToken<string>;
|
|
1756
|
+
|
|
1757
|
+
export declare const spacingVerticalMNudge: CSSDesignToken<string>;
|
|
1758
|
+
|
|
1759
|
+
export declare const spacingVerticalNone: CSSDesignToken<string>;
|
|
1760
|
+
|
|
1761
|
+
export declare const spacingVerticalS: CSSDesignToken<string>;
|
|
1762
|
+
|
|
1763
|
+
export declare const spacingVerticalSNudge: CSSDesignToken<string>;
|
|
1764
|
+
|
|
1765
|
+
export declare const spacingVerticalXL: CSSDesignToken<string>;
|
|
1766
|
+
|
|
1767
|
+
export declare const spacingVerticalXS: CSSDesignToken<string>;
|
|
1768
|
+
|
|
1769
|
+
export declare const spacingVerticalXXL: CSSDesignToken<string>;
|
|
1770
|
+
|
|
1771
|
+
export declare const spacingVerticalXXS: CSSDesignToken<string>;
|
|
1772
|
+
|
|
1773
|
+
export declare const spacingVerticalXXXL: CSSDesignToken<string>;
|
|
2634
1774
|
|
|
2635
1775
|
/**
|
|
2636
|
-
* The
|
|
2637
|
-
* @
|
|
1776
|
+
* The base class used for constructing a fluent-spinner custom element
|
|
1777
|
+
* @public
|
|
2638
1778
|
*/
|
|
2639
|
-
export declare class
|
|
1779
|
+
export declare class Spinner extends FASTProgressRing {
|
|
2640
1780
|
/**
|
|
2641
|
-
* The
|
|
1781
|
+
* The size of the spinner
|
|
2642
1782
|
*
|
|
2643
1783
|
* @public
|
|
1784
|
+
* @default 'medium'
|
|
2644
1785
|
* @remarks
|
|
2645
|
-
* HTML Attribute:
|
|
2646
|
-
*/
|
|
2647
|
-
appearance: SelectAppearance;
|
|
2648
|
-
/**
|
|
2649
|
-
* @internal
|
|
1786
|
+
* HTML Attribute: size
|
|
2650
1787
|
*/
|
|
2651
|
-
|
|
1788
|
+
size?: SpinnerSize;
|
|
2652
1789
|
/**
|
|
2653
|
-
*
|
|
1790
|
+
* The appearance of the spinner
|
|
1791
|
+
* @public
|
|
1792
|
+
* @default 'primary'
|
|
1793
|
+
* @remarks
|
|
1794
|
+
* HTML Attribute: appearance
|
|
2654
1795
|
*/
|
|
2655
|
-
|
|
1796
|
+
appearance?: SpinnerAppearance;
|
|
2656
1797
|
}
|
|
2657
1798
|
|
|
2658
1799
|
/**
|
|
2659
|
-
*
|
|
1800
|
+
* SpinnerAppearance constants
|
|
2660
1801
|
* @public
|
|
2661
1802
|
*/
|
|
2662
|
-
export declare
|
|
1803
|
+
export declare const SpinnerAppearance: {
|
|
1804
|
+
readonly primary: "primary";
|
|
1805
|
+
readonly inverted: "inverted";
|
|
1806
|
+
};
|
|
2663
1807
|
|
|
2664
1808
|
/**
|
|
2665
|
-
*
|
|
1809
|
+
* A Spinner's appearance can be either primary or inverted
|
|
2666
1810
|
* @public
|
|
2667
1811
|
*/
|
|
2668
|
-
export declare
|
|
2669
|
-
|
|
2670
|
-
export { Skeleton }
|
|
1812
|
+
export declare type SpinnerAppearance = ValuesOf<typeof SpinnerAppearance>;
|
|
2671
1813
|
|
|
2672
1814
|
/**
|
|
2673
|
-
*
|
|
1815
|
+
* The Fluent Spinner Element. Implements {@link @microsoft/fast-foundation#ProgressRing },
|
|
1816
|
+
* {@link @microsoft/fast-foundation#progress-ringTemplate}
|
|
1817
|
+
*
|
|
1818
|
+
*
|
|
2674
1819
|
* @public
|
|
1820
|
+
* @remarks
|
|
1821
|
+
* HTML Element: \<fluent-spinner\>
|
|
2675
1822
|
*/
|
|
2676
|
-
export declare const
|
|
2677
|
-
|
|
2678
|
-
export { Slider }
|
|
2679
|
-
|
|
2680
|
-
export { SliderLabel }
|
|
1823
|
+
export declare const SpinnerDefinition: FASTElementDefinition<typeof Spinner>;
|
|
2681
1824
|
|
|
2682
1825
|
/**
|
|
2683
|
-
*
|
|
1826
|
+
* SpinnerSize constants
|
|
2684
1827
|
* @public
|
|
2685
1828
|
*/
|
|
2686
|
-
export declare const
|
|
1829
|
+
export declare const SpinnerSize: {
|
|
1830
|
+
readonly tiny: "tiny";
|
|
1831
|
+
readonly extraSmall: "extra-small";
|
|
1832
|
+
readonly small: "small";
|
|
1833
|
+
readonly medium: "medium";
|
|
1834
|
+
readonly large: "large";
|
|
1835
|
+
readonly extraLarge: "extra-large";
|
|
1836
|
+
readonly huge: "huge";
|
|
1837
|
+
};
|
|
2687
1838
|
|
|
2688
1839
|
/**
|
|
2689
|
-
*
|
|
1840
|
+
* A Spinner's size can be either small, tiny, extra-small, medium, large, extra-large, or huge
|
|
2690
1841
|
* @public
|
|
2691
1842
|
*/
|
|
2692
|
-
export declare
|
|
1843
|
+
export declare type SpinnerSize = ValuesOf<typeof SpinnerSize>;
|
|
2693
1844
|
|
|
2694
|
-
|
|
2695
|
-
* Recommended values for light and dark mode for {@link @fluentui/web-components#baseLayerLuminance}.
|
|
2696
|
-
*
|
|
2697
|
-
* @public
|
|
2698
|
-
*/
|
|
2699
|
-
export declare enum StandardLuminance {
|
|
2700
|
-
LightMode = 0.98,
|
|
2701
|
-
DarkMode = 0.15
|
|
2702
|
-
}
|
|
1845
|
+
export declare const SpinnerStyles: ElementStyles;
|
|
2703
1846
|
|
|
2704
|
-
|
|
2705
|
-
* @internal
|
|
2706
|
-
*/
|
|
2707
|
-
export declare const StealthButtonStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, interactivitySelector: string, nonInteractivitySelector?: string) => ElementStyles;
|
|
1847
|
+
export declare const SpinnerTemplate: ElementViewTemplate<Spinner>;
|
|
2708
1848
|
|
|
2709
|
-
|
|
2710
|
-
export declare const strokeWidth: CSSDesignToken<number>;
|
|
1849
|
+
export declare const strokeWidthThick: CSSDesignToken<string>;
|
|
2711
1850
|
|
|
2712
|
-
|
|
2713
|
-
* Represents a color in a {@link Palette}
|
|
2714
|
-
* @public
|
|
2715
|
-
*/
|
|
2716
|
-
export declare interface Swatch extends RelativeLuminance {
|
|
2717
|
-
toColorString(): string;
|
|
2718
|
-
contrast(target: RelativeLuminance): number;
|
|
2719
|
-
}
|
|
1851
|
+
export declare const strokeWidthThicker: CSSDesignToken<string>;
|
|
2720
1852
|
|
|
2721
|
-
|
|
2722
|
-
export declare interface SwatchRGB extends Swatch {
|
|
2723
|
-
r: number;
|
|
2724
|
-
g: number;
|
|
2725
|
-
b: number;
|
|
2726
|
-
}
|
|
1853
|
+
export declare const strokeWidthThickest: CSSDesignToken<string>;
|
|
2727
1854
|
|
|
2728
|
-
|
|
2729
|
-
export declare const SwatchRGB: Readonly<{
|
|
2730
|
-
create(r: number, g: number, b: number): SwatchRGB;
|
|
2731
|
-
from(obj: {
|
|
2732
|
-
r: number;
|
|
2733
|
-
g: number;
|
|
2734
|
-
b: number;
|
|
2735
|
-
}): SwatchRGB;
|
|
2736
|
-
}>;
|
|
1855
|
+
export declare const strokeWidthThin: CSSDesignToken<string>;
|
|
2737
1856
|
|
|
2738
|
-
export
|
|
1857
|
+
export declare class Switch extends FASTSwitch {
|
|
1858
|
+
/**
|
|
1859
|
+
* The label position of the switch
|
|
1860
|
+
*
|
|
1861
|
+
* @public
|
|
1862
|
+
* @default 'after'
|
|
1863
|
+
* @remarks
|
|
1864
|
+
* HTML Attribute: labelposition
|
|
1865
|
+
*/
|
|
1866
|
+
labelPosition: SwitchLabelPosition | undefined;
|
|
1867
|
+
}
|
|
2739
1868
|
|
|
2740
1869
|
/**
|
|
2741
|
-
*
|
|
1870
|
+
* SwitchLabelPosition Constants
|
|
2742
1871
|
* @public
|
|
2743
1872
|
*/
|
|
2744
|
-
export declare const
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
1873
|
+
export declare const SwitchLabelPosition: {
|
|
1874
|
+
readonly above: "above";
|
|
1875
|
+
readonly after: "after";
|
|
1876
|
+
readonly before: "before";
|
|
1877
|
+
};
|
|
2749
1878
|
|
|
2750
1879
|
/**
|
|
2751
|
-
*
|
|
1880
|
+
* Applies label position
|
|
2752
1881
|
* @public
|
|
2753
1882
|
*/
|
|
2754
|
-
export declare
|
|
1883
|
+
export declare type SwitchLabelPosition = ValuesOf<typeof SwitchLabelPosition>;
|
|
2755
1884
|
|
|
2756
|
-
export
|
|
1885
|
+
export declare const switchStyles: ElementStyles;
|
|
2757
1886
|
|
|
2758
|
-
|
|
2759
|
-
* Styles for Tabs
|
|
2760
|
-
* @public
|
|
2761
|
-
*/
|
|
2762
|
-
export declare const tabsStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
1887
|
+
export declare const switchTemplate: ElementViewTemplate<Switch>;
|
|
2763
1888
|
|
|
2764
1889
|
/**
|
|
2765
|
-
*
|
|
1890
|
+
* The base class used for constructing a fluent-text custom element
|
|
2766
1891
|
* @public
|
|
2767
1892
|
*/
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
/**
|
|
2771
|
-
* The Fluent TextArea class
|
|
2772
|
-
* @internal
|
|
2773
|
-
*/
|
|
2774
|
-
export declare class TextArea extends TextArea_2 {
|
|
1893
|
+
declare class Text_2 extends FASTElement {
|
|
2775
1894
|
/**
|
|
2776
|
-
* The
|
|
1895
|
+
* The text will not wrap
|
|
1896
|
+
* NOTE: In Fluent UI React v9 this is "wrap"
|
|
1897
|
+
* Boolean attributes which default to true in HTML can't be switched off in the DOM
|
|
2777
1898
|
*
|
|
2778
1899
|
* @public
|
|
2779
1900
|
* @remarks
|
|
2780
|
-
* HTML Attribute:
|
|
1901
|
+
* HTML Attribute: nowrap
|
|
2781
1902
|
*/
|
|
2782
|
-
|
|
1903
|
+
nowrap: boolean;
|
|
2783
1904
|
/**
|
|
2784
|
-
*
|
|
1905
|
+
* The text truncates
|
|
1906
|
+
*
|
|
1907
|
+
* @public
|
|
1908
|
+
* @remarks
|
|
1909
|
+
* HTML Attribute: truncate
|
|
2785
1910
|
*/
|
|
2786
|
-
|
|
1911
|
+
truncate: boolean;
|
|
2787
1912
|
/**
|
|
2788
|
-
*
|
|
1913
|
+
* The text style is italic
|
|
1914
|
+
*
|
|
1915
|
+
* @public
|
|
1916
|
+
* @remarks
|
|
1917
|
+
* HTML Attribute: italic
|
|
2789
1918
|
*/
|
|
2790
|
-
|
|
2791
|
-
}
|
|
2792
|
-
|
|
2793
|
-
/**
|
|
2794
|
-
* Text area appearances
|
|
2795
|
-
* @public
|
|
2796
|
-
*/
|
|
2797
|
-
export declare type TextAreaAppearance = 'filled' | 'outline';
|
|
2798
|
-
|
|
2799
|
-
/**
|
|
2800
|
-
* Styles for TextArea
|
|
2801
|
-
* @public
|
|
2802
|
-
*/
|
|
2803
|
-
export declare const textAreaStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
2804
|
-
|
|
2805
|
-
/**
|
|
2806
|
-
* The Fluent text field class
|
|
2807
|
-
* @internal
|
|
2808
|
-
*/
|
|
2809
|
-
export declare class TextField extends TextField_2 {
|
|
1919
|
+
italic: boolean;
|
|
2810
1920
|
/**
|
|
2811
|
-
* The
|
|
1921
|
+
* The text style is underline
|
|
2812
1922
|
*
|
|
2813
1923
|
* @public
|
|
2814
1924
|
* @remarks
|
|
2815
|
-
* HTML Attribute:
|
|
1925
|
+
* HTML Attribute: underline
|
|
2816
1926
|
*/
|
|
2817
|
-
|
|
1927
|
+
underline: boolean;
|
|
2818
1928
|
/**
|
|
2819
|
-
*
|
|
1929
|
+
* The text style is strikethrough
|
|
1930
|
+
*
|
|
1931
|
+
* @public
|
|
1932
|
+
* @remarks
|
|
1933
|
+
* HTML Attribute: strikethrough
|
|
2820
1934
|
*/
|
|
2821
|
-
|
|
1935
|
+
strikethrough: boolean;
|
|
2822
1936
|
/**
|
|
2823
|
-
*
|
|
1937
|
+
* An text can take up the width of its container.
|
|
1938
|
+
*
|
|
1939
|
+
* @public
|
|
1940
|
+
* @remarks
|
|
1941
|
+
* HTML Attribute: block
|
|
1942
|
+
*/
|
|
1943
|
+
block: boolean;
|
|
1944
|
+
/**
|
|
1945
|
+
* THe Text size
|
|
1946
|
+
*
|
|
1947
|
+
* @public
|
|
1948
|
+
* @remarks
|
|
1949
|
+
* HTML Attribute: size
|
|
1950
|
+
*
|
|
1951
|
+
*/
|
|
1952
|
+
size?: TextSize;
|
|
1953
|
+
/**
|
|
1954
|
+
* THe Text font
|
|
1955
|
+
*
|
|
1956
|
+
* @public
|
|
1957
|
+
* @remarks
|
|
1958
|
+
* HTML Attribute: font
|
|
1959
|
+
*/
|
|
1960
|
+
font?: TextFont;
|
|
1961
|
+
/**
|
|
1962
|
+
* THe Text weight
|
|
1963
|
+
*
|
|
1964
|
+
* @public
|
|
1965
|
+
* @remarks
|
|
1966
|
+
* HTML Attribute: weight
|
|
1967
|
+
*/
|
|
1968
|
+
weight?: TextWeight;
|
|
1969
|
+
/**
|
|
1970
|
+
* THe Text align
|
|
1971
|
+
*
|
|
1972
|
+
* @public
|
|
1973
|
+
* @remarks
|
|
1974
|
+
* HTML Attribute: align
|
|
2824
1975
|
*/
|
|
2825
|
-
|
|
1976
|
+
align?: TextAlign;
|
|
2826
1977
|
}
|
|
1978
|
+
export { Text_2 as Text }
|
|
2827
1979
|
|
|
2828
1980
|
/**
|
|
2829
|
-
*
|
|
1981
|
+
* TextAlign Constants
|
|
2830
1982
|
* @public
|
|
2831
1983
|
*/
|
|
2832
|
-
export declare
|
|
1984
|
+
export declare const TextAlign: {
|
|
1985
|
+
readonly start: "start";
|
|
1986
|
+
readonly end: "end";
|
|
1987
|
+
readonly center: "center";
|
|
1988
|
+
readonly justify: "justify";
|
|
1989
|
+
};
|
|
2833
1990
|
|
|
2834
1991
|
/**
|
|
2835
|
-
*
|
|
1992
|
+
* Aligns the content
|
|
2836
1993
|
* @public
|
|
2837
1994
|
*/
|
|
2838
|
-
export declare
|
|
1995
|
+
export declare type TextAlign = ValuesOf<typeof TextAlign>;
|
|
2839
1996
|
|
|
2840
1997
|
/**
|
|
2841
|
-
* The Fluent
|
|
2842
|
-
*
|
|
1998
|
+
* The Fluent Text Element.
|
|
1999
|
+
*
|
|
2000
|
+
*
|
|
2001
|
+
* @public
|
|
2002
|
+
* @remarks
|
|
2003
|
+
* HTML Element: \<fluent-text\>
|
|
2843
2004
|
*/
|
|
2844
|
-
export declare
|
|
2845
|
-
}
|
|
2005
|
+
export declare const TextDefinition: FASTElementDefinition<typeof Text_2>;
|
|
2846
2006
|
|
|
2847
2007
|
/**
|
|
2848
|
-
*
|
|
2849
|
-
* @
|
|
2008
|
+
* TextFont Constants
|
|
2009
|
+
* @public
|
|
2850
2010
|
*/
|
|
2851
|
-
export declare
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
}
|
|
2857
|
-
|
|
2858
|
-
export { TreeItem }
|
|
2011
|
+
export declare const TextFont: {
|
|
2012
|
+
readonly base: "base";
|
|
2013
|
+
readonly numeric: "numeric";
|
|
2014
|
+
readonly monospace: "monospace";
|
|
2015
|
+
};
|
|
2859
2016
|
|
|
2860
2017
|
/**
|
|
2861
|
-
*
|
|
2018
|
+
* Applies font family to the content
|
|
2862
2019
|
* @public
|
|
2863
2020
|
*/
|
|
2864
|
-
export declare
|
|
2865
|
-
|
|
2866
|
-
export { TreeView }
|
|
2021
|
+
export declare type TextFont = ValuesOf<typeof TextFont>;
|
|
2867
2022
|
|
|
2868
2023
|
/**
|
|
2869
|
-
*
|
|
2024
|
+
* TextSize constants
|
|
2870
2025
|
* @public
|
|
2871
2026
|
*/
|
|
2872
|
-
export declare const
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
export declare const typeRampBaseLineHeight: CSSDesignToken<string>;
|
|
2885
|
-
|
|
2886
|
-
/** @public */
|
|
2887
|
-
export declare const typeRampMinus1: CSSDirective;
|
|
2888
|
-
|
|
2889
|
-
/** @public */
|
|
2890
|
-
export declare const typeRampMinus1FontSize: CSSDesignToken<string>;
|
|
2891
|
-
|
|
2892
|
-
/** @public */
|
|
2893
|
-
export declare const typeRampMinus1FontVariations: CSSDesignToken<string>;
|
|
2894
|
-
|
|
2895
|
-
/** @public */
|
|
2896
|
-
export declare const typeRampMinus1LineHeight: CSSDesignToken<string>;
|
|
2897
|
-
|
|
2898
|
-
/** @public */
|
|
2899
|
-
export declare const typeRampMinus2: CSSDirective;
|
|
2900
|
-
|
|
2901
|
-
/** @public */
|
|
2902
|
-
export declare const typeRampMinus2FontSize: CSSDesignToken<string>;
|
|
2903
|
-
|
|
2904
|
-
/** @public */
|
|
2905
|
-
export declare const typeRampMinus2FontVariations: CSSDesignToken<string>;
|
|
2906
|
-
|
|
2907
|
-
/** @public */
|
|
2908
|
-
export declare const typeRampMinus2LineHeight: CSSDesignToken<string>;
|
|
2909
|
-
|
|
2910
|
-
/** @public */
|
|
2911
|
-
export declare const typeRampPlus1: CSSDirective;
|
|
2912
|
-
|
|
2913
|
-
/** @public */
|
|
2914
|
-
export declare const typeRampPlus1FontSize: CSSDesignToken<string>;
|
|
2915
|
-
|
|
2916
|
-
/** @public */
|
|
2917
|
-
export declare const typeRampPlus1FontVariations: CSSDesignToken<string>;
|
|
2918
|
-
|
|
2919
|
-
/** @public */
|
|
2920
|
-
export declare const typeRampPlus1LineHeight: CSSDesignToken<string>;
|
|
2921
|
-
|
|
2922
|
-
/** @public */
|
|
2923
|
-
export declare const typeRampPlus2: CSSDirective;
|
|
2924
|
-
|
|
2925
|
-
/** @public */
|
|
2926
|
-
export declare const typeRampPlus2FontSize: CSSDesignToken<string>;
|
|
2927
|
-
|
|
2928
|
-
/** @public */
|
|
2929
|
-
export declare const typeRampPlus2FontVariations: CSSDesignToken<string>;
|
|
2930
|
-
|
|
2931
|
-
/** @public */
|
|
2932
|
-
export declare const typeRampPlus2LineHeight: CSSDesignToken<string>;
|
|
2933
|
-
|
|
2934
|
-
/** @public */
|
|
2935
|
-
export declare const typeRampPlus3: CSSDirective;
|
|
2936
|
-
|
|
2937
|
-
/** @public */
|
|
2938
|
-
export declare const typeRampPlus3FontSize: CSSDesignToken<string>;
|
|
2939
|
-
|
|
2940
|
-
/** @public */
|
|
2941
|
-
export declare const typeRampPlus3FontVariations: CSSDesignToken<string>;
|
|
2942
|
-
|
|
2943
|
-
/** @public */
|
|
2944
|
-
export declare const typeRampPlus3LineHeight: CSSDesignToken<string>;
|
|
2945
|
-
|
|
2946
|
-
/** @public */
|
|
2947
|
-
export declare const typeRampPlus4: CSSDirective;
|
|
2948
|
-
|
|
2949
|
-
/** @public */
|
|
2950
|
-
export declare const typeRampPlus4FontSize: CSSDesignToken<string>;
|
|
2951
|
-
|
|
2952
|
-
/** @public */
|
|
2953
|
-
export declare const typeRampPlus4FontVariations: CSSDesignToken<string>;
|
|
2954
|
-
|
|
2955
|
-
/** @public */
|
|
2956
|
-
export declare const typeRampPlus4LineHeight: CSSDesignToken<string>;
|
|
2957
|
-
|
|
2958
|
-
/** @public */
|
|
2959
|
-
export declare const typeRampPlus5: CSSDirective;
|
|
2960
|
-
|
|
2961
|
-
/** @public */
|
|
2962
|
-
export declare const typeRampPlus5FontSize: CSSDesignToken<string>;
|
|
2963
|
-
|
|
2964
|
-
/** @public */
|
|
2965
|
-
export declare const typeRampPlus5FontVariations: CSSDesignToken<string>;
|
|
2027
|
+
export declare const TextSize: {
|
|
2028
|
+
readonly _100: "100";
|
|
2029
|
+
readonly _200: "200";
|
|
2030
|
+
readonly _300: "300";
|
|
2031
|
+
readonly _400: "400";
|
|
2032
|
+
readonly _500: "500";
|
|
2033
|
+
readonly _600: "600";
|
|
2034
|
+
readonly _700: "700";
|
|
2035
|
+
readonly _800: "800";
|
|
2036
|
+
readonly _900: "900";
|
|
2037
|
+
readonly _1000: "1000";
|
|
2038
|
+
};
|
|
2966
2039
|
|
|
2967
|
-
/**
|
|
2968
|
-
|
|
2040
|
+
/**
|
|
2041
|
+
* The type for TextSize
|
|
2042
|
+
* The font size and line height based on the theme tokens
|
|
2043
|
+
* @public
|
|
2044
|
+
*/
|
|
2045
|
+
export declare type TextSize = ValuesOf<typeof TextSize>;
|
|
2969
2046
|
|
|
2970
|
-
/**
|
|
2971
|
-
|
|
2047
|
+
/** Text styles
|
|
2048
|
+
* @public
|
|
2049
|
+
*/
|
|
2050
|
+
export declare const TextStyles: ElementStyles;
|
|
2972
2051
|
|
|
2973
|
-
/**
|
|
2974
|
-
|
|
2052
|
+
/**
|
|
2053
|
+
* @internal
|
|
2054
|
+
*/
|
|
2055
|
+
export declare const TextTemplate: ElementViewTemplate<Text_2>;
|
|
2975
2056
|
|
|
2976
|
-
/**
|
|
2977
|
-
|
|
2057
|
+
/**
|
|
2058
|
+
* TextWeight Constants
|
|
2059
|
+
* @public
|
|
2060
|
+
*/
|
|
2061
|
+
export declare const TextWeight: {
|
|
2062
|
+
readonly medium: "medium";
|
|
2063
|
+
readonly regular: "regular";
|
|
2064
|
+
readonly semibold: "semibold";
|
|
2065
|
+
readonly bold: "bold";
|
|
2066
|
+
};
|
|
2978
2067
|
|
|
2979
|
-
/**
|
|
2980
|
-
|
|
2068
|
+
/**
|
|
2069
|
+
* Applies font weight to the content
|
|
2070
|
+
* @public
|
|
2071
|
+
*/
|
|
2072
|
+
export declare type TextWeight = ValuesOf<typeof TextWeight>;
|
|
2981
2073
|
|
|
2982
2074
|
export { }
|