@fluentui/web-components 3.0.0-beta.6 → 3.0.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -2
- package/dist/dts/accordion/accordion.d.ts +47 -3
- package/dist/dts/accordion/accordion.definition.d.ts +0 -4
- package/dist/dts/accordion/accordion.options.d.ts +14 -0
- package/dist/dts/accordion/accordion.template.d.ts +4 -0
- package/dist/dts/accordion-item/accordion-item.d.ts +78 -3
- package/dist/dts/accordion-item/accordion-item.definition.d.ts +0 -3
- package/dist/dts/accordion-item/accordion-item.options.d.ts +1 -1
- package/dist/dts/accordion-item/accordion-item.template.d.ts +2 -1
- package/dist/dts/anchor-button/anchor-button.d.ts +116 -4
- package/dist/dts/anchor-button/anchor-button.definition.d.ts +0 -3
- package/dist/dts/anchor-button/anchor-button.options.d.ts +19 -2
- package/dist/dts/anchor-button/anchor-button.template.d.ts +7 -2
- package/dist/dts/avatar/avatar.options.d.ts +1 -1
- package/dist/dts/badge/badge.d.ts +1 -1
- package/dist/dts/badge/badge.definition.d.ts +0 -3
- package/dist/dts/badge/badge.options.d.ts +2 -2
- package/dist/dts/button/button.d.ts +142 -4
- package/dist/dts/button/button.definition.d.ts +0 -3
- package/dist/dts/button/button.form-associated.d.ts +14 -0
- package/dist/dts/button/button.options.d.ts +24 -3
- package/dist/dts/button/button.template.d.ts +2 -0
- package/dist/dts/checkbox/checkbox.d.ts +46 -3
- package/dist/dts/checkbox/checkbox.form-associated.d.ts +14 -0
- package/dist/dts/checkbox/checkbox.options.d.ts +1 -1
- package/dist/dts/checkbox/checkbox.template.d.ts +6 -1
- package/dist/dts/compound-button/compound-button.definition.d.ts +0 -3
- package/dist/dts/compound-button/compound-button.options.d.ts +6 -6
- package/dist/dts/counter-badge/counter-badge.d.ts +1 -1
- package/dist/dts/counter-badge/counter-badge.definition.d.ts +0 -4
- package/dist/dts/counter-badge/counter-badge.options.d.ts +1 -1
- package/dist/dts/dialog/dialog.options.d.ts +1 -1
- package/dist/dts/divider/divider.d.ts +20 -4
- package/dist/dts/divider/divider.options.d.ts +30 -6
- package/dist/dts/divider/divider.template.d.ts +1 -0
- package/dist/dts/form-associated/form-associated.d.ts +178 -0
- package/dist/dts/image/image.options.d.ts +1 -1
- package/dist/dts/label/label.options.d.ts +1 -1
- package/dist/dts/menu-button/menu-button.definition.d.ts +0 -3
- package/dist/dts/menu-button/menu-button.options.d.ts +2 -2
- package/dist/dts/menu-item/menu-item.d.ts +161 -4
- package/dist/dts/menu-item/menu-item.definition.d.ts +0 -4
- package/dist/dts/menu-item/menu-item.options.d.ts +30 -0
- package/dist/dts/menu-item/menu-item.template.d.ts +2 -1
- package/dist/dts/menu-list/menu-list.d.ts +71 -4
- package/dist/dts/menu-list/menu-list.definition.d.ts +0 -4
- package/dist/dts/menu-list/menu-list.template.d.ts +1 -0
- package/dist/dts/patterns/aria-globals.d.ts +189 -0
- package/dist/dts/patterns/index.d.ts +2 -0
- package/dist/dts/patterns/start-end.d.ts +44 -0
- package/dist/dts/progress-bar/base-progress.d.ts +41 -0
- package/dist/dts/progress-bar/progress-bar.d.ts +11 -4
- package/dist/dts/progress-bar/progress-bar.options.d.ts +10 -1
- package/dist/dts/progress-bar/progress-bar.template.d.ts +2 -0
- package/dist/dts/progress-ring/progress-ring.d.ts +15 -0
- package/dist/dts/progress-ring/progress-ring.options.d.ts +9 -0
- package/dist/dts/radio/radio.d.ts +54 -3
- package/dist/dts/radio/radio.form-associated.d.ts +14 -0
- package/dist/dts/radio/radio.template.d.ts +2 -1
- package/dist/dts/radio-group/index.d.ts +0 -1
- package/dist/dts/radio-group/radio-group.d.ts +91 -2
- package/dist/dts/radio-group/radio-group.options.d.ts +17 -0
- package/dist/dts/radio-group/radio-group.template.d.ts +1 -0
- package/dist/dts/slider/slider-utilities.d.ts +5 -0
- package/dist/dts/slider/slider.d.ts +195 -5
- package/dist/dts/slider/slider.form-associated.d.ts +14 -0
- package/dist/dts/slider/slider.options.d.ts +43 -2
- package/dist/dts/slider/slider.template.d.ts +4 -2
- package/dist/dts/spinner/spinner.d.ts +2 -2
- package/dist/dts/spinner/spinner.definition.d.ts +0 -4
- package/dist/dts/spinner/spinner.options.d.ts +1 -1
- package/dist/dts/spinner/spinner.template.d.ts +2 -0
- package/dist/dts/switch/switch.d.ts +34 -2
- package/dist/dts/switch/switch.form-associated.d.ts +14 -0
- package/dist/dts/switch/switch.options.d.ts +1 -1
- package/dist/dts/switch/switch.template.d.ts +2 -1
- package/dist/dts/tab/tab.d.ts +17 -2
- package/dist/dts/tab/tab.template.d.ts +3 -3
- package/dist/dts/tab-panel/tab-panel.d.ts +2 -2
- package/dist/dts/tab-panel/tab-panel.template.d.ts +4 -1
- package/dist/dts/tabs/tabs.d.ts +89 -4
- package/dist/dts/tabs/tabs.options.d.ts +21 -3
- package/dist/dts/tabs/tabs.template.d.ts +5 -1
- package/dist/dts/text/text.options.d.ts +1 -1
- package/dist/dts/text-input/index.d.ts +0 -1
- package/dist/dts/text-input/text-field.form-associated.d.ts +14 -0
- package/dist/dts/text-input/text-input.d.ts +134 -6
- package/dist/dts/text-input/text-input.options.d.ts +32 -1
- package/dist/dts/text-input/text-input.template.d.ts +2 -1
- package/dist/dts/theme/design-tokens.d.ts +384 -384
- package/dist/dts/theme/set-theme.d.ts +1 -2
- package/dist/dts/toggle-button/toggle-button.definition.d.ts +0 -2
- package/dist/dts/toggle-button/toggle-button.options.d.ts +2 -2
- package/dist/dts/utils/direction.d.ts +10 -0
- package/dist/dts/utils/index.d.ts +4 -0
- package/dist/dts/utils/template-helpers.d.ts +16 -0
- package/dist/dts/utils/typings.d.ts +6 -0
- package/dist/dts/utils/whitespace-filter.d.ts +12 -0
- package/dist/esm/accordion/accordion.definition.js +0 -4
- package/dist/esm/accordion/accordion.definition.js.map +1 -1
- package/dist/esm/accordion/accordion.js +216 -3
- package/dist/esm/accordion/accordion.js.map +1 -1
- package/dist/esm/accordion/accordion.options.js +9 -0
- package/dist/esm/accordion/accordion.options.js.map +1 -0
- package/dist/esm/accordion/accordion.template.js +11 -1
- package/dist/esm/accordion/accordion.template.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.definition.js +0 -3
- package/dist/esm/accordion-item/accordion-item.definition.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.js +80 -4
- package/dist/esm/accordion-item/accordion-item.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.styles.js +25 -25
- package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.template.js +47 -2
- package/dist/esm/accordion-item/accordion-item.template.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.definition.js +0 -3
- package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.js +52 -4
- package/dist/esm/anchor-button/anchor-button.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.options.js +11 -0
- package/dist/esm/anchor-button/anchor-button.options.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.template.js +49 -1
- package/dist/esm/anchor-button/anchor-button.template.js.map +1 -1
- package/dist/esm/avatar/avatar.styles.js +100 -100
- package/dist/esm/avatar/avatar.styles.js.map +1 -1
- package/dist/esm/badge/badge.definition.js +0 -3
- package/dist/esm/badge/badge.definition.js.map +1 -1
- package/dist/esm/badge/badge.js +1 -1
- package/dist/esm/badge/badge.js.map +1 -1
- package/dist/esm/badge/badge.styles.js +3 -3
- package/dist/esm/badge/badge.styles.js.map +1 -1
- package/dist/esm/badge/badge.template.js +2 -2
- package/dist/esm/badge/badge.template.js.map +1 -1
- package/dist/esm/button/button.definition.js +0 -3
- package/dist/esm/button/button.definition.js.map +1 -1
- package/dist/esm/button/button.form-associated.js +14 -0
- package/dist/esm/button/button.form-associated.js.map +1 -0
- package/dist/esm/button/button.js +124 -4
- package/dist/esm/button/button.js.map +1 -1
- package/dist/esm/button/button.options.js +10 -0
- package/dist/esm/button/button.options.js.map +1 -1
- package/dist/esm/button/button.styles.js +63 -63
- package/dist/esm/button/button.styles.js.map +1 -1
- package/dist/esm/button/button.template.js +49 -1
- package/dist/esm/button/button.template.js.map +1 -1
- package/dist/esm/checkbox/checkbox.form-associated.js +14 -0
- package/dist/esm/checkbox/checkbox.form-associated.js.map +1 -0
- package/dist/esm/checkbox/checkbox.js +62 -4
- package/dist/esm/checkbox/checkbox.js.map +1 -1
- package/dist/esm/checkbox/checkbox.styles.js +37 -37
- package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
- package/dist/esm/checkbox/checkbox.template.js +35 -7
- package/dist/esm/checkbox/checkbox.template.js.map +1 -1
- package/dist/esm/compound-button/compound-button.definition.js +0 -3
- package/dist/esm/compound-button/compound-button.definition.js.map +1 -1
- package/dist/esm/compound-button/compound-button.options.js.map +1 -1
- package/dist/esm/compound-button/compound-button.styles.js +18 -18
- package/dist/esm/compound-button/compound-button.styles.js.map +1 -1
- package/dist/esm/compound-button/compound-button.template.js +1 -1
- package/dist/esm/compound-button/compound-button.template.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.definition.js +0 -4
- package/dist/esm/counter-badge/counter-badge.definition.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.js +1 -1
- package/dist/esm/counter-badge/counter-badge.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.styles.js +2 -2
- package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -1
- package/dist/esm/dialog/dialog.styles.js +21 -21
- package/dist/esm/dialog/dialog.styles.js.map +1 -1
- package/dist/esm/divider/divider.js +29 -4
- package/dist/esm/divider/divider.js.map +1 -1
- package/dist/esm/divider/divider.options.js +14 -5
- package/dist/esm/divider/divider.options.js.map +1 -1
- package/dist/esm/divider/divider.styles.js +13 -13
- package/dist/esm/divider/divider.styles.js.map +1 -1
- package/dist/esm/divider/divider.template.js +12 -1
- package/dist/esm/divider/divider.template.js.map +1 -1
- package/dist/esm/form-associated/form-associated.js +458 -0
- package/dist/esm/form-associated/form-associated.js.map +1 -0
- package/dist/esm/image/image.styles.js +4 -4
- package/dist/esm/image/image.styles.js.map +1 -1
- package/dist/esm/label/label.styles.js +14 -14
- package/dist/esm/label/label.styles.js.map +1 -1
- package/dist/esm/menu-button/menu-button.definition.js +0 -3
- package/dist/esm/menu-button/menu-button.definition.js.map +1 -1
- package/dist/esm/menu-button/menu-button.options.js.map +1 -1
- package/dist/esm/menu-button/menu-button.template.js +1 -1
- package/dist/esm/menu-button/menu-button.template.js.map +1 -1
- package/dist/esm/menu-item/menu-item.definition.js +0 -4
- package/dist/esm/menu-item/menu-item.definition.js.map +1 -1
- package/dist/esm/menu-item/menu-item.js +270 -4
- package/dist/esm/menu-item/menu-item.js.map +1 -1
- package/dist/esm/menu-item/menu-item.options.js +27 -0
- package/dist/esm/menu-item/menu-item.options.js.map +1 -0
- package/dist/esm/menu-item/menu-item.styles.js +16 -16
- package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
- package/dist/esm/menu-item/menu-item.template.js +57 -2
- package/dist/esm/menu-item/menu-item.template.js.map +1 -1
- package/dist/esm/menu-list/menu-list.definition.js +0 -4
- package/dist/esm/menu-list/menu-list.definition.js.map +1 -1
- package/dist/esm/menu-list/menu-list.js +265 -10
- package/dist/esm/menu-list/menu-list.js.map +1 -1
- package/dist/esm/menu-list/menu-list.styles.js +4 -4
- package/dist/esm/menu-list/menu-list.styles.js.map +1 -1
- package/dist/esm/menu-list/menu-list.template.js +13 -1
- package/dist/esm/menu-list/menu-list.template.js.map +1 -1
- package/dist/esm/patterns/aria-globals.js +77 -0
- package/dist/esm/patterns/aria-globals.js.map +1 -0
- package/dist/esm/patterns/index.js +3 -0
- package/dist/esm/patterns/index.js.map +1 -0
- package/dist/esm/patterns/start-end.js +29 -0
- package/dist/esm/patterns/start-end.js.map +1 -0
- package/dist/esm/progress-bar/base-progress.js +61 -0
- package/dist/esm/progress-bar/base-progress.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.js +10 -3
- package/dist/esm/progress-bar/progress-bar.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.options.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.styles.js +25 -25
- package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.template.js +25 -1
- package/dist/esm/progress-bar/progress-bar.template.js.map +1 -1
- package/dist/esm/progress-ring/progress-ring.js +16 -0
- package/dist/esm/progress-ring/progress-ring.js.map +1 -0
- package/dist/esm/progress-ring/progress-ring.options.js +2 -0
- package/dist/esm/progress-ring/progress-ring.options.js.map +1 -0
- package/dist/esm/radio/radio.form-associated.js +14 -0
- package/dist/esm/radio/radio.form-associated.js.map +1 -0
- package/dist/esm/radio/radio.js +96 -3
- package/dist/esm/radio/radio.js.map +1 -1
- package/dist/esm/radio/radio.styles.js +32 -32
- package/dist/esm/radio/radio.styles.js.map +1 -1
- package/dist/esm/radio/radio.template.js +28 -2
- package/dist/esm/radio/radio.template.js.map +1 -1
- package/dist/esm/radio-group/index.js +0 -1
- package/dist/esm/radio-group/index.js.map +1 -1
- package/dist/esm/radio-group/radio-group.js +346 -3
- package/dist/esm/radio-group/radio-group.js.map +1 -1
- package/dist/esm/radio-group/radio-group.options.js +7 -0
- package/dist/esm/radio-group/radio-group.options.js.map +1 -0
- package/dist/esm/radio-group/radio-group.styles.js +9 -9
- package/dist/esm/radio-group/radio-group.styles.js.map +1 -1
- package/dist/esm/radio-group/radio-group.template.js +30 -1
- package/dist/esm/radio-group/radio-group.template.js.map +1 -1
- package/dist/esm/slider/slider-utilities.js +12 -0
- package/dist/esm/slider/slider-utilities.js.map +1 -0
- package/dist/esm/slider/slider.form-associated.js +14 -0
- package/dist/esm/slider/slider.form-associated.js.map +1 -0
- package/dist/esm/slider/slider.js +432 -16
- package/dist/esm/slider/slider.js.map +1 -1
- package/dist/esm/slider/slider.options.js +11 -1
- package/dist/esm/slider/slider.options.js.map +1 -1
- package/dist/esm/slider/slider.styles.js +23 -22
- package/dist/esm/slider/slider.styles.js.map +1 -1
- package/dist/esm/slider/slider.template.js +38 -1
- package/dist/esm/slider/slider.template.js.map +1 -1
- package/dist/esm/spinner/spinner.definition.js +0 -4
- package/dist/esm/spinner/spinner.definition.js.map +1 -1
- package/dist/esm/spinner/spinner.js +2 -2
- package/dist/esm/spinner/spinner.js.map +1 -1
- package/dist/esm/spinner/spinner.styles.js +5 -5
- package/dist/esm/spinner/spinner.styles.js.map +1 -1
- package/dist/esm/spinner/spinner.template.js +27 -1
- package/dist/esm/spinner/spinner.template.js.map +1 -1
- package/dist/esm/styles/partials/badge.partials.js +75 -75
- package/dist/esm/styles/partials/badge.partials.js.map +1 -1
- package/dist/esm/switch/switch.form-associated.js +14 -0
- package/dist/esm/switch/switch.form-associated.js.map +1 -0
- package/dist/esm/switch/switch.js +48 -3
- package/dist/esm/switch/switch.js.map +1 -1
- package/dist/esm/switch/switch.styles.js +34 -34
- package/dist/esm/switch/switch.styles.js.map +1 -1
- package/dist/esm/switch/switch.template.js +25 -1
- package/dist/esm/switch/switch.template.js.map +1 -1
- package/dist/esm/tab/tab.js +14 -3
- package/dist/esm/tab/tab.js.map +1 -1
- package/dist/esm/tab/tab.styles.js +20 -20
- package/dist/esm/tab/tab.styles.js.map +1 -1
- package/dist/esm/tab/tab.template.js +1 -1
- package/dist/esm/tab/tab.template.js.map +1 -1
- package/dist/esm/tab-panel/tab-panel.js +2 -2
- package/dist/esm/tab-panel/tab-panel.js.map +1 -1
- package/dist/esm/tab-panel/tab-panel.styles.js +1 -1
- package/dist/esm/tab-panel/tab-panel.styles.js.map +1 -1
- package/dist/esm/tab-panel/tab-panel.template.js +8 -1
- package/dist/esm/tab-panel/tab-panel.template.js.map +1 -1
- package/dist/esm/tabs/tabs.js +278 -5
- package/dist/esm/tabs/tabs.js.map +1 -1
- package/dist/esm/tabs/tabs.options.js +6 -2
- package/dist/esm/tabs/tabs.options.js.map +1 -1
- package/dist/esm/tabs/tabs.styles.js +49 -49
- package/dist/esm/tabs/tabs.styles.js.map +1 -1
- package/dist/esm/tabs/tabs.template.js +14 -1
- package/dist/esm/tabs/tabs.template.js.map +1 -1
- package/dist/esm/text/text.styles.js +27 -27
- package/dist/esm/text/text.styles.js.map +1 -1
- package/dist/esm/text-input/index.js +0 -1
- package/dist/esm/text-input/index.js.map +1 -1
- package/dist/esm/text-input/text-field.form-associated.js +14 -0
- package/dist/esm/text-input/text-field.form-associated.js.map +1 -0
- package/dist/esm/text-input/text-input.js +167 -7
- package/dist/esm/text-input/text-input.js.map +1 -1
- package/dist/esm/text-input/text-input.options.js +26 -0
- package/dist/esm/text-input/text-input.options.js.map +1 -1
- package/dist/esm/text-input/text-input.styles.js +67 -67
- package/dist/esm/text-input/text-input.styles.js.map +1 -1
- package/dist/esm/text-input/text-input.template.js +64 -1
- package/dist/esm/text-input/text-input.template.js.map +1 -1
- package/dist/esm/theme/design-tokens.js +385 -386
- package/dist/esm/theme/design-tokens.js.map +1 -1
- package/dist/esm/theme/set-theme.js +2 -2
- package/dist/esm/theme/set-theme.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.definition.js +0 -2
- package/dist/esm/toggle-button/toggle-button.definition.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.options.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.styles.js +24 -24
- package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.template.js +1 -1
- package/dist/esm/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/esm/utils/direction.js +15 -0
- package/dist/esm/utils/direction.js.map +1 -0
- package/dist/esm/utils/index.js +5 -0
- package/dist/esm/utils/index.js.map +1 -0
- package/dist/esm/utils/template-helpers.js +19 -0
- package/dist/esm/utils/template-helpers.js.map +1 -0
- package/dist/esm/utils/typings.js +3 -0
- package/dist/esm/utils/typings.js.map +1 -0
- package/dist/esm/utils/whitespace-filter.js +13 -0
- package/dist/esm/utils/whitespace-filter.js.map +1 -0
- package/dist/fluent-web-components.api.json +14729 -7818
- package/dist/storybook/711.b5d63aa3.iframe.bundle.js +2 -0
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/main.588112e6.iframe.bundle.js +2 -0
- package/dist/storybook/project.json +1 -1
- package/dist/web-components.d.ts +2575 -623
- package/dist/web-components.js +5281 -7534
- package/dist/web-components.min.js +191 -191
- package/docs/api-report.md +985 -476
- package/package.json +1 -1
- package/dist/storybook/350.e4be85c2.iframe.bundle.js +0 -462
- package/dist/storybook/350.e4be85c2.iframe.bundle.js.map +0 -1
- package/dist/storybook/main.c651bad5.iframe.bundle.js +0 -2
- /package/dist/storybook/{350.e4be85c2.iframe.bundle.js.LICENSE.txt → 711.b5d63aa3.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/dist/storybook/{main.c651bad5.iframe.bundle.js.LICENSE.txt → main.588112e6.iframe.bundle.js.LICENSE.txt} +0 -0
package/dist/web-components.d.ts
CHANGED
|
@@ -1,53 +1,65 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
3
|
-
import { CSSDesignToken } from '@microsoft/fast-foundation/design-token.js';
|
|
4
|
-
import { DividerOrientation } from '@microsoft/fast-foundation/divider.js';
|
|
5
|
-
import { DividerRole } from '@microsoft/fast-foundation/divider.js';
|
|
1
|
+
import type { Constructable } from '@microsoft/fast-element';
|
|
2
|
+
import { Direction } from '@microsoft/fast-web-utilities';
|
|
6
3
|
import { ElementStyles } from '@microsoft/fast-element';
|
|
7
4
|
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
8
|
-
import { FASTAccordion } from '@microsoft/fast-foundation/accordion.js';
|
|
9
|
-
import { FASTAccordionItem } from '@microsoft/fast-foundation/accordion-item.js';
|
|
10
|
-
import { FASTAnchor } from '@microsoft/fast-foundation/anchor.js';
|
|
11
|
-
import { FASTButton } from '@microsoft/fast-foundation/button.js';
|
|
12
|
-
import { FASTCheckbox } from '@microsoft/fast-foundation/checkbox.js';
|
|
13
|
-
import { FASTDivider } from '@microsoft/fast-foundation/divider.js';
|
|
14
5
|
import { FASTElement } from '@microsoft/fast-element';
|
|
15
6
|
import { FASTElementDefinition } from '@microsoft/fast-element';
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { FASTProgressRing } from '@microsoft/fast-foundation/progress-ring.js';
|
|
20
|
-
import { FASTRadio } from '@microsoft/fast-foundation/radio.js';
|
|
21
|
-
import { FASTRadioGroup } from '@microsoft/fast-foundation/radio-group.js';
|
|
22
|
-
import { FASTSlider } from '@microsoft/fast-foundation/slider.js';
|
|
23
|
-
import { FASTSwitch } from '@microsoft/fast-foundation/switch.js';
|
|
24
|
-
import { FASTTab } from '@microsoft/fast-foundation/tab.js';
|
|
25
|
-
import { FASTTabPanel } from '@microsoft/fast-foundation/tab-panel.js';
|
|
26
|
-
import { FASTTabs } from '@microsoft/fast-foundation/tabs.js';
|
|
27
|
-
import { FASTTextField } from '@microsoft/fast-foundation/text-field.js';
|
|
28
|
-
import { MenuItemRole } from '@microsoft/fast-foundation/menu-item.js';
|
|
29
|
-
import { RadioGroupOrientation } from '@microsoft/fast-foundation/radio-group.js';
|
|
30
|
-
import { SliderOrientation } from '@microsoft/fast-foundation/slider.js';
|
|
31
|
-
import { StartEnd } from '@microsoft/fast-foundation/patterns.js';
|
|
32
|
-
import { StartEndOptions } from '@microsoft/fast-foundation/patterns.js';
|
|
33
|
-
import type { StaticallyComposableHTML } from '@microsoft/fast-foundation/utilities.js';
|
|
34
|
-
import { TabsOrientation } from '@microsoft/fast-foundation/tabs.js';
|
|
35
|
-
import { TextFieldType as TextInputType } from '@microsoft/fast-foundation/text-field.js';
|
|
7
|
+
import { HTMLDirective } from '@microsoft/fast-element';
|
|
8
|
+
import { Orientation } from '@microsoft/fast-web-utilities';
|
|
9
|
+
import type { SyntheticViewTemplate } from '@microsoft/fast-element';
|
|
36
10
|
import type { Theme } from '@fluentui/tokens';
|
|
37
|
-
import type { ValuesOf } from '@microsoft/fast-foundation/utilities.js';
|
|
38
11
|
|
|
39
12
|
/**
|
|
40
|
-
*
|
|
13
|
+
* An Accordion Custom HTML Element
|
|
14
|
+
* Implements {@link https://www.w3.org/TR/wai-aria-practices-1.1/#accordion | ARIA Accordion}.
|
|
15
|
+
*
|
|
16
|
+
* @fires change - Fires a custom 'change' event when the active item changes
|
|
17
|
+
* @csspart item - The slot for the accordion items
|
|
41
18
|
* @public
|
|
42
19
|
*/
|
|
43
|
-
export declare class Accordion extends
|
|
20
|
+
export declare class Accordion extends FASTElement {
|
|
21
|
+
/**
|
|
22
|
+
* Controls the expand mode of the Accordion, either allowing
|
|
23
|
+
* single or multiple item expansion.
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
26
|
+
* @remarks
|
|
27
|
+
* HTML attribute: expand-mode
|
|
28
|
+
*/
|
|
29
|
+
expandmode: AccordionExpandMode;
|
|
30
|
+
expandmodeChanged(prev: AccordionExpandMode, next: AccordionExpandMode): void;
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
slottedAccordionItems: HTMLElement[];
|
|
35
|
+
protected accordionItems: Element[];
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
slottedAccordionItemsChanged(oldValue: HTMLElement[], newValue: HTMLElement[]): void;
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
handleChange(source: any, propertyName: string): void;
|
|
44
|
+
private activeid;
|
|
45
|
+
private activeItemIndex;
|
|
46
|
+
private accordionIds;
|
|
47
|
+
private change;
|
|
48
|
+
private findExpandedItem;
|
|
49
|
+
private setItems;
|
|
50
|
+
private setSingleExpandMode;
|
|
51
|
+
private removeItemListeners;
|
|
52
|
+
private activeItemChange;
|
|
53
|
+
private handleExpandedChange;
|
|
54
|
+
private getItemIds;
|
|
55
|
+
private isSingleExpandMode;
|
|
56
|
+
private handleItemKeyDown;
|
|
57
|
+
private handleItemFocus;
|
|
58
|
+
private adjust;
|
|
59
|
+
private focusItem;
|
|
44
60
|
}
|
|
45
61
|
|
|
46
62
|
/**
|
|
47
|
-
* The Fluent Accordion Element. Implements {@link @microsoft/fast-foundation#Accordion },
|
|
48
|
-
* {@link @microsoft/fast-foundation#accordionTemplate}
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
63
|
* @public
|
|
52
64
|
* @remarks
|
|
53
65
|
* HTML Element: \<fluent-accordion\>
|
|
@@ -55,9 +67,72 @@ export declare class Accordion extends FASTAccordion {
|
|
|
55
67
|
export declare const accordionDefinition: FASTElementDefinition<typeof Accordion>;
|
|
56
68
|
|
|
57
69
|
/**
|
|
58
|
-
* @
|
|
70
|
+
* Expand mode for {@link FASTAccordion}
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
declare const AccordionExpandMode: {
|
|
74
|
+
readonly single: "single";
|
|
75
|
+
readonly multi: "multi";
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Type for the {@link FASTAccordion} Expand Mode
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
declare type AccordionExpandMode = ValuesOf<typeof AccordionExpandMode>;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @slot start - Content which can be provided between the heading and the icon
|
|
87
|
+
* @slot end - Content which can be provided between the start slot and icon
|
|
88
|
+
* @slot heading - Content which serves as the accordion item heading and text of the expand button
|
|
89
|
+
* @slot - The default slot for accordion item content
|
|
90
|
+
* @slot expanded-icon - The expanded icon
|
|
91
|
+
* @slot collapsed-icon - The collapsed icon
|
|
92
|
+
* @fires change - Fires a custom 'change' event when the button is invoked
|
|
93
|
+
* @csspart heading - Wraps the button
|
|
94
|
+
* @csspart button - The button which serves to invoke the item
|
|
95
|
+
* @csspart heading-content - Wraps the slot for the heading content within the button
|
|
96
|
+
* @csspart icon - The icon container
|
|
97
|
+
* @csspart region - The wrapper for the accordion item content
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
59
100
|
*/
|
|
60
|
-
export declare class AccordionItem extends
|
|
101
|
+
export declare class AccordionItem extends FASTElement {
|
|
102
|
+
/**
|
|
103
|
+
* Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the
|
|
104
|
+
* heading element.
|
|
105
|
+
*
|
|
106
|
+
* @defaultValue 2
|
|
107
|
+
* @public
|
|
108
|
+
* @remarks
|
|
109
|
+
* HTML attribute: heading-level
|
|
110
|
+
*/
|
|
111
|
+
headinglevel: 1 | 2 | 3 | 4 | 5 | 6;
|
|
112
|
+
/**
|
|
113
|
+
* Expands or collapses the item.
|
|
114
|
+
*
|
|
115
|
+
* @public
|
|
116
|
+
* @remarks
|
|
117
|
+
* HTML attribute: expanded
|
|
118
|
+
*/
|
|
119
|
+
expanded: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Disables an accordion item
|
|
122
|
+
*
|
|
123
|
+
* @public
|
|
124
|
+
* @remarks
|
|
125
|
+
* HTML attribute: disabled
|
|
126
|
+
*/
|
|
127
|
+
disabled: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* The item ID
|
|
130
|
+
*
|
|
131
|
+
* @public
|
|
132
|
+
* @remarks
|
|
133
|
+
* HTML Attribute: id
|
|
134
|
+
*/
|
|
135
|
+
id: string;
|
|
61
136
|
/**
|
|
62
137
|
* Defines accordion header font size.
|
|
63
138
|
*
|
|
@@ -84,12 +159,26 @@ export declare class AccordionItem extends FASTAccordionItem {
|
|
|
84
159
|
* HTML Attribute: expandIconPosition
|
|
85
160
|
*/
|
|
86
161
|
expandIconPosition?: AccordionItemExpandIconPosition;
|
|
162
|
+
/**
|
|
163
|
+
* @internal
|
|
164
|
+
*/
|
|
165
|
+
expandbutton: HTMLElement;
|
|
166
|
+
/**
|
|
167
|
+
* @internal
|
|
168
|
+
*/
|
|
169
|
+
clickHandler: (e: MouseEvent) => void;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Mark internal because exporting class and interface of the same name
|
|
174
|
+
* confuses API documenter.
|
|
175
|
+
* TODO: https://github.com/microsoft/fast/issues/3317
|
|
176
|
+
* @internal
|
|
177
|
+
*/
|
|
178
|
+
export declare interface AccordionItem extends StartEnd {
|
|
87
179
|
}
|
|
88
180
|
|
|
89
181
|
/**
|
|
90
|
-
* The Fluent AccordionItem Element. Implements {@link @microsoft/fast-foundation#AccordionItem },
|
|
91
|
-
* {@link @microsoft/fast-foundation#accordionItemTemplate}
|
|
92
|
-
*
|
|
93
182
|
*
|
|
94
183
|
* @public
|
|
95
184
|
* @remarks
|
|
@@ -111,6 +200,15 @@ export declare const AccordionItemExpandIconPosition: {
|
|
|
111
200
|
*/
|
|
112
201
|
export declare type AccordionItemExpandIconPosition = ValuesOf<typeof AccordionItemExpandIconPosition>;
|
|
113
202
|
|
|
203
|
+
/**
|
|
204
|
+
* Accordion Item configuration options
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
export declare type AccordionItemOptions = StartEndOptions<AccordionItem> & {
|
|
208
|
+
expandedIcon?: StaticallyComposableHTML<AccordionItem>;
|
|
209
|
+
collapsedIcon?: StaticallyComposableHTML<AccordionItem>;
|
|
210
|
+
};
|
|
211
|
+
|
|
114
212
|
/**
|
|
115
213
|
* An Accordion Item header font size can be small, medium, large, and extra-large
|
|
116
214
|
*/
|
|
@@ -140,10 +238,85 @@ export declare const accordionStyles: ElementStyles;
|
|
|
140
238
|
export declare const accordionTemplate: ElementViewTemplate<Accordion>;
|
|
141
239
|
|
|
142
240
|
/**
|
|
143
|
-
*
|
|
241
|
+
* An Anchor Custom HTML Element.
|
|
242
|
+
* Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element }.
|
|
243
|
+
*
|
|
244
|
+
* @slot start - Content which can be provided before the anchor content
|
|
245
|
+
* @slot end - Content which can be provided after the anchor content
|
|
246
|
+
* @slot - The default slot for anchor content
|
|
247
|
+
* @csspart control - The anchor element
|
|
248
|
+
* @csspart content - The element wrapping anchor content
|
|
249
|
+
*
|
|
144
250
|
* @public
|
|
145
251
|
*/
|
|
146
|
-
export declare class AnchorButton extends
|
|
252
|
+
export declare class AnchorButton extends FASTElement {
|
|
253
|
+
/**
|
|
254
|
+
* Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
|
|
255
|
+
* @public
|
|
256
|
+
* @remarks
|
|
257
|
+
* HTML Attribute: download
|
|
258
|
+
*/
|
|
259
|
+
download: string;
|
|
260
|
+
/**
|
|
261
|
+
* The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
|
|
262
|
+
* @public
|
|
263
|
+
* @remarks
|
|
264
|
+
* HTML Attribute: href
|
|
265
|
+
*/
|
|
266
|
+
href: string;
|
|
267
|
+
/**
|
|
268
|
+
* Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
|
|
269
|
+
* @public
|
|
270
|
+
* @remarks
|
|
271
|
+
* HTML Attribute: hreflang
|
|
272
|
+
*/
|
|
273
|
+
hreflang: string;
|
|
274
|
+
/**
|
|
275
|
+
* See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
|
|
276
|
+
* @public
|
|
277
|
+
* @remarks
|
|
278
|
+
* HTML Attribute: ping
|
|
279
|
+
*/
|
|
280
|
+
ping: string;
|
|
281
|
+
/**
|
|
282
|
+
* See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
|
|
283
|
+
* @public
|
|
284
|
+
* @remarks
|
|
285
|
+
* HTML Attribute: referrerpolicy
|
|
286
|
+
*/
|
|
287
|
+
referrerpolicy: string;
|
|
288
|
+
/**
|
|
289
|
+
* See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
|
|
290
|
+
* @public
|
|
291
|
+
* @remarks
|
|
292
|
+
* HTML Attribute: rel
|
|
293
|
+
*/
|
|
294
|
+
rel: string;
|
|
295
|
+
/**
|
|
296
|
+
* See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
|
|
297
|
+
* @public
|
|
298
|
+
* @remarks
|
|
299
|
+
* HTML Attribute: target
|
|
300
|
+
*/
|
|
301
|
+
target: AnchorTarget;
|
|
302
|
+
/**
|
|
303
|
+
* See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.
|
|
304
|
+
* @public
|
|
305
|
+
* @remarks
|
|
306
|
+
* HTML Attribute: type
|
|
307
|
+
*/
|
|
308
|
+
type: string;
|
|
309
|
+
/**
|
|
310
|
+
*
|
|
311
|
+
* Default slotted content
|
|
312
|
+
*
|
|
313
|
+
* @internal
|
|
314
|
+
*/
|
|
315
|
+
defaultSlottedContent: HTMLElement[];
|
|
316
|
+
/**
|
|
317
|
+
* References the root element
|
|
318
|
+
*/
|
|
319
|
+
control: HTMLAnchorElement;
|
|
147
320
|
/**
|
|
148
321
|
* The appearance the anchor button should have.
|
|
149
322
|
*
|
|
@@ -202,6 +375,15 @@ export declare class AnchorButton extends FASTAnchor {
|
|
|
202
375
|
disconnectedCallback(): void;
|
|
203
376
|
}
|
|
204
377
|
|
|
378
|
+
/**
|
|
379
|
+
* Mark internal because exporting class and interface of the same name
|
|
380
|
+
* confuses API documenter.
|
|
381
|
+
* TODO: https://github.com/microsoft/fast/issues/3317
|
|
382
|
+
* @internal
|
|
383
|
+
*/
|
|
384
|
+
export declare interface AnchorButton extends StartEnd, DelegatesARIALink {
|
|
385
|
+
}
|
|
386
|
+
|
|
205
387
|
/**
|
|
206
388
|
* Anchor Button Appearance constants
|
|
207
389
|
* @public
|
|
@@ -221,17 +403,12 @@ export declare const AnchorButtonAppearance: {
|
|
|
221
403
|
export declare type AnchorButtonAppearance = ValuesOf<typeof AnchorButtonAppearance>;
|
|
222
404
|
|
|
223
405
|
/**
|
|
224
|
-
* The Fluent Anchor Button Element. Implements {@link @microsoft/fast-foundation#Anchor },
|
|
225
|
-
* {@link @microsoft/fast-foundation#anchorTemplate}
|
|
226
|
-
*
|
|
227
406
|
* @public
|
|
228
407
|
* @remarks
|
|
229
408
|
* HTML Element: \<fluent-anchor-button\>
|
|
230
409
|
*/
|
|
231
410
|
export declare const AnchorButtonDefinition: FASTElementDefinition<typeof AnchorButton>;
|
|
232
411
|
|
|
233
|
-
export { AnchorButtonOptions }
|
|
234
|
-
|
|
235
412
|
/**
|
|
236
413
|
* An Anchor Button can be square, circular or rounded.
|
|
237
414
|
* @public
|
|
@@ -270,6 +447,223 @@ export declare type AnchorButtonSize = ValuesOf<typeof AnchorButtonSize>;
|
|
|
270
447
|
*/
|
|
271
448
|
export declare const AnchorButtonTemplate: ElementViewTemplate<AnchorButton>;
|
|
272
449
|
|
|
450
|
+
/**
|
|
451
|
+
* Anchor configuration options
|
|
452
|
+
* @public
|
|
453
|
+
*/
|
|
454
|
+
declare type AnchorOptions = StartEndOptions<AnchorButton>;
|
|
455
|
+
export { AnchorOptions as AnchorButtonOptions }
|
|
456
|
+
export { AnchorOptions }
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* Anchor target values.
|
|
460
|
+
*
|
|
461
|
+
* @public
|
|
462
|
+
*/
|
|
463
|
+
export declare const AnchorTarget: {
|
|
464
|
+
readonly _self: "_self";
|
|
465
|
+
readonly _blank: "_blank";
|
|
466
|
+
readonly _parent: "_parent";
|
|
467
|
+
readonly _top: "_top";
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Type for anchor target values.
|
|
472
|
+
*
|
|
473
|
+
* @public
|
|
474
|
+
*/
|
|
475
|
+
export declare type AnchorTarget = ValuesOf<typeof AnchorTarget>;
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* Some states and properties are applicable to all host language elements regardless of whether a role is applied.
|
|
479
|
+
* The following global states and properties are supported by all roles and by all base markup elements.
|
|
480
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#global_states}
|
|
481
|
+
*
|
|
482
|
+
* This is intended to be used as a mixin. Be sure you extend FASTElement.
|
|
483
|
+
*
|
|
484
|
+
* @public
|
|
485
|
+
*/
|
|
486
|
+
declare class ARIAGlobalStatesAndProperties {
|
|
487
|
+
/**
|
|
488
|
+
* Indicates whether assistive technologies will present all, or only parts of,
|
|
489
|
+
* the changed region based on the change notifications defined by the aria-relevant attribute.
|
|
490
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-atomic}
|
|
491
|
+
*
|
|
492
|
+
* @public
|
|
493
|
+
* @remarks
|
|
494
|
+
* HTML Attribute: aria-atomic
|
|
495
|
+
*/
|
|
496
|
+
ariaAtomic: 'true' | 'false' | string | null;
|
|
497
|
+
/**
|
|
498
|
+
* Indicates an element is being modified and that assistive technologies MAY want to wait
|
|
499
|
+
* until the modifications are complete before exposing them to the user.
|
|
500
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-busy}
|
|
501
|
+
*
|
|
502
|
+
* @public
|
|
503
|
+
* @remarks
|
|
504
|
+
* HTML Attribute: aria-busy
|
|
505
|
+
*/
|
|
506
|
+
ariaBusy: 'true' | 'false' | string | null;
|
|
507
|
+
/**
|
|
508
|
+
* Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
|
509
|
+
*
|
|
510
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-controls}
|
|
511
|
+
* @public
|
|
512
|
+
* @remarks
|
|
513
|
+
* HTML Attribute: aria-controls
|
|
514
|
+
*/
|
|
515
|
+
ariaControls: string | null;
|
|
516
|
+
/**
|
|
517
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
518
|
+
*
|
|
519
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-current}
|
|
520
|
+
* @public
|
|
521
|
+
* @remarks
|
|
522
|
+
* HTML Attribute: aria-current
|
|
523
|
+
*/
|
|
524
|
+
ariaCurrent: 'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false' | string | null;
|
|
525
|
+
/**
|
|
526
|
+
* Identifies the element (or elements) that describes the object.
|
|
527
|
+
*
|
|
528
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-describedby}
|
|
529
|
+
* @public
|
|
530
|
+
* @remarks
|
|
531
|
+
* HTML Attribute: aria-describedby
|
|
532
|
+
*/
|
|
533
|
+
ariaDescribedby: string | null;
|
|
534
|
+
/**
|
|
535
|
+
* Identifies the element that provides a detailed, extended description for the object.
|
|
536
|
+
*
|
|
537
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-details}
|
|
538
|
+
* @public
|
|
539
|
+
* @remarks
|
|
540
|
+
* HTML Attribute: aria-details
|
|
541
|
+
*/
|
|
542
|
+
ariaDetails: string | null;
|
|
543
|
+
/**
|
|
544
|
+
* Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
545
|
+
*
|
|
546
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-disabled}
|
|
547
|
+
* @public
|
|
548
|
+
* @remarks
|
|
549
|
+
* HTML Attribute: aria-disabled
|
|
550
|
+
*/
|
|
551
|
+
ariaDisabled: 'true' | 'false' | string | null;
|
|
552
|
+
/**
|
|
553
|
+
* Identifies the element that provides an error message for the object.
|
|
554
|
+
*
|
|
555
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage}
|
|
556
|
+
* @public
|
|
557
|
+
* @remarks
|
|
558
|
+
* HTML Attribute: aria-errormessage
|
|
559
|
+
*/
|
|
560
|
+
ariaErrormessage: string | null;
|
|
561
|
+
/**
|
|
562
|
+
* Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
|
|
563
|
+
* allows assistive technology to override the general default of reading in document source order.
|
|
564
|
+
*
|
|
565
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-flowto}
|
|
566
|
+
* @public
|
|
567
|
+
* @remarks
|
|
568
|
+
* HTML Attribute: aria-flowto
|
|
569
|
+
*/
|
|
570
|
+
ariaFlowto: string | null;
|
|
571
|
+
/**
|
|
572
|
+
* Indicates the availability and type of interactive popup element,
|
|
573
|
+
* such as menu or dialog, that can be triggered by an element.
|
|
574
|
+
*
|
|
575
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup}
|
|
576
|
+
* @public
|
|
577
|
+
* @remarks
|
|
578
|
+
* HTML Attribute: aria-haspopup
|
|
579
|
+
*/
|
|
580
|
+
ariaHaspopup: 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | string | null;
|
|
581
|
+
/**
|
|
582
|
+
* Indicates whether the element is exposed to an accessibility API
|
|
583
|
+
*
|
|
584
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-hidden}
|
|
585
|
+
* @public
|
|
586
|
+
* @remarks
|
|
587
|
+
* HTML Attribute: aria-hidden
|
|
588
|
+
*/
|
|
589
|
+
ariaHidden: 'false' | 'true' | string | null;
|
|
590
|
+
/**
|
|
591
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
592
|
+
*
|
|
593
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-invalid}
|
|
594
|
+
* @public
|
|
595
|
+
* @remarks
|
|
596
|
+
* HTML Attribute: aria-invalid
|
|
597
|
+
*/
|
|
598
|
+
ariaInvalid: 'false' | 'true' | 'grammar' | 'spelling' | string | null;
|
|
599
|
+
/**
|
|
600
|
+
* Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
|
|
601
|
+
*
|
|
602
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-keyshortcuts}
|
|
603
|
+
* @public
|
|
604
|
+
* @remarks
|
|
605
|
+
* HTML Attribute: aria-keyshortcuts
|
|
606
|
+
*/
|
|
607
|
+
ariaKeyshortcuts: string | null;
|
|
608
|
+
/**
|
|
609
|
+
* Defines a string value that labels the current element.
|
|
610
|
+
*
|
|
611
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-label}
|
|
612
|
+
* @public
|
|
613
|
+
* @remarks
|
|
614
|
+
* HTML Attribute: aria-label
|
|
615
|
+
*/
|
|
616
|
+
ariaLabel: string | null;
|
|
617
|
+
/**
|
|
618
|
+
* Identifies the element (or elements) that labels the current element.
|
|
619
|
+
*
|
|
620
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby}
|
|
621
|
+
* @public
|
|
622
|
+
* @remarks
|
|
623
|
+
* HTML Attribute: aria-labelledby
|
|
624
|
+
*/
|
|
625
|
+
ariaLabelledby: string | null;
|
|
626
|
+
/**
|
|
627
|
+
* Indicates that an element will be updated, and describes the types of updates the user agents,
|
|
628
|
+
* assistive technologies, and user can expect from the live region.
|
|
629
|
+
*
|
|
630
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-live}
|
|
631
|
+
* @public
|
|
632
|
+
* @remarks
|
|
633
|
+
* HTML Attribute: aria-live
|
|
634
|
+
*/
|
|
635
|
+
ariaLive: 'assertive' | 'off' | 'polite' | string | null;
|
|
636
|
+
/**
|
|
637
|
+
* Identifies an element (or elements) in order to define a visual,
|
|
638
|
+
* functional, or contextual parent/child relationship between DOM elements
|
|
639
|
+
* where the DOM hierarchy cannot be used to represent the relationship.
|
|
640
|
+
*
|
|
641
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-owns}
|
|
642
|
+
* @public
|
|
643
|
+
* @remarks
|
|
644
|
+
* HTML Attribute: aria-owns
|
|
645
|
+
*/
|
|
646
|
+
ariaOwns: string | null;
|
|
647
|
+
/**
|
|
648
|
+
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
|
|
649
|
+
*
|
|
650
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-relevant}
|
|
651
|
+
* @public
|
|
652
|
+
* @remarks
|
|
653
|
+
* HTML Attribute: aria-relevant
|
|
654
|
+
*/
|
|
655
|
+
ariaRelevant: 'additions' | 'additions text' | 'all' | 'removals' | 'text' | string | null;
|
|
656
|
+
/**
|
|
657
|
+
* Defines a human-readable, author-localized description for the role of an element.
|
|
658
|
+
*
|
|
659
|
+
* {@link https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription}
|
|
660
|
+
* @public
|
|
661
|
+
* @remarks
|
|
662
|
+
* HTML Attribute: aria-roledescription
|
|
663
|
+
*/
|
|
664
|
+
ariaRoledescription: string | null;
|
|
665
|
+
}
|
|
666
|
+
|
|
273
667
|
/**
|
|
274
668
|
* The base class used for constructing a fluent-avatar custom element
|
|
275
669
|
* @public
|
|
@@ -622,9 +1016,6 @@ export declare const BadgeColor: {
|
|
|
622
1016
|
export declare type BadgeColor = ValuesOf<typeof BadgeColor>;
|
|
623
1017
|
|
|
624
1018
|
/**
|
|
625
|
-
* The Fluent Badge Element. Implements {@link @microsoft/fast-foundation#Badge },
|
|
626
|
-
* {@link @microsoft/fast-foundation#badgeTemplate}
|
|
627
|
-
*
|
|
628
1019
|
*
|
|
629
1020
|
* @public
|
|
630
1021
|
* @remarks
|
|
@@ -681,49 +1072,257 @@ export declare const BadgeStyles: ElementStyles;
|
|
|
681
1072
|
|
|
682
1073
|
export declare const BadgeTemplate: ElementViewTemplate<Badge>;
|
|
683
1074
|
|
|
684
|
-
export declare const borderRadiusCircular: CSSDesignToken<string>;
|
|
685
|
-
|
|
686
|
-
export declare const borderRadiusLarge: CSSDesignToken<string>;
|
|
687
|
-
|
|
688
|
-
export declare const borderRadiusMedium: CSSDesignToken<string>;
|
|
689
|
-
|
|
690
|
-
export declare const borderRadiusNone: CSSDesignToken<string>;
|
|
691
|
-
|
|
692
|
-
export declare const borderRadiusSmall: CSSDesignToken<string>;
|
|
693
|
-
|
|
694
|
-
export declare const borderRadiusXLarge: CSSDesignToken<string>;
|
|
695
|
-
|
|
696
1075
|
/**
|
|
697
|
-
*
|
|
1076
|
+
* A base class for progress components.
|
|
698
1077
|
* @public
|
|
699
1078
|
*/
|
|
700
|
-
|
|
1079
|
+
declare class BaseProgress extends FASTElement {
|
|
701
1080
|
/**
|
|
702
|
-
* The
|
|
703
|
-
*
|
|
1081
|
+
* The value of the progress
|
|
704
1082
|
* @public
|
|
705
1083
|
* @remarks
|
|
706
|
-
* HTML Attribute:
|
|
1084
|
+
* HTML Attribute: value
|
|
707
1085
|
*/
|
|
708
|
-
|
|
1086
|
+
value: number | null;
|
|
1087
|
+
protected valueChanged(): void;
|
|
709
1088
|
/**
|
|
710
|
-
* The
|
|
711
|
-
*
|
|
1089
|
+
* The minimum value
|
|
712
1090
|
* @public
|
|
713
1091
|
* @remarks
|
|
714
|
-
* HTML Attribute:
|
|
1092
|
+
* HTML Attribute: min
|
|
715
1093
|
*/
|
|
716
|
-
|
|
1094
|
+
min: number;
|
|
1095
|
+
protected minChanged(): void;
|
|
717
1096
|
/**
|
|
718
|
-
* The
|
|
719
|
-
*
|
|
1097
|
+
* The maximum value
|
|
720
1098
|
* @public
|
|
721
1099
|
* @remarks
|
|
722
|
-
* HTML Attribute:
|
|
1100
|
+
* HTML Attribute: max
|
|
723
1101
|
*/
|
|
724
|
-
|
|
1102
|
+
max: number;
|
|
1103
|
+
protected maxChanged(): void;
|
|
725
1104
|
/**
|
|
726
|
-
*
|
|
1105
|
+
* Indicates progress in %
|
|
1106
|
+
* @internal
|
|
1107
|
+
*/
|
|
1108
|
+
percentComplete: number;
|
|
1109
|
+
/**
|
|
1110
|
+
* @internal
|
|
1111
|
+
*/
|
|
1112
|
+
connectedCallback(): void;
|
|
1113
|
+
private updatePercentComplete;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
*
|
|
1118
|
+
* @class TabList component
|
|
1119
|
+
* @public
|
|
1120
|
+
*/
|
|
1121
|
+
export declare class BaseTabs extends FASTElement {
|
|
1122
|
+
/**
|
|
1123
|
+
* The orientation
|
|
1124
|
+
* @public
|
|
1125
|
+
* @remarks
|
|
1126
|
+
* HTML Attribute: orientation
|
|
1127
|
+
*/
|
|
1128
|
+
orientation: TabsOrientation;
|
|
1129
|
+
/**
|
|
1130
|
+
* @internal
|
|
1131
|
+
*/
|
|
1132
|
+
orientationChanged(): void;
|
|
1133
|
+
/**
|
|
1134
|
+
* The id of the active tab
|
|
1135
|
+
*
|
|
1136
|
+
* @public
|
|
1137
|
+
* @remarks
|
|
1138
|
+
* HTML Attribute: activeid
|
|
1139
|
+
*/
|
|
1140
|
+
activeid: string;
|
|
1141
|
+
/**
|
|
1142
|
+
* @internal
|
|
1143
|
+
*/
|
|
1144
|
+
activeidChanged(oldValue: string, newValue: string): void;
|
|
1145
|
+
/**
|
|
1146
|
+
* @internal
|
|
1147
|
+
*/
|
|
1148
|
+
tabs: HTMLElement[];
|
|
1149
|
+
/**
|
|
1150
|
+
* @internal
|
|
1151
|
+
*/
|
|
1152
|
+
tabsChanged(): void;
|
|
1153
|
+
/**
|
|
1154
|
+
* @internal
|
|
1155
|
+
*/
|
|
1156
|
+
tabpanels: HTMLElement[];
|
|
1157
|
+
/**
|
|
1158
|
+
* @internal
|
|
1159
|
+
*/
|
|
1160
|
+
tabpanelsChanged(): void;
|
|
1161
|
+
/**
|
|
1162
|
+
* A reference to the active tab
|
|
1163
|
+
* @public
|
|
1164
|
+
*/
|
|
1165
|
+
activetab: HTMLElement;
|
|
1166
|
+
private prevActiveTabIndex;
|
|
1167
|
+
private activeTabIndex;
|
|
1168
|
+
private tabIds;
|
|
1169
|
+
private tabpanelIds;
|
|
1170
|
+
private change;
|
|
1171
|
+
private isDisabledElement;
|
|
1172
|
+
private isHiddenElement;
|
|
1173
|
+
private isFocusableElement;
|
|
1174
|
+
private getActiveIndex;
|
|
1175
|
+
/**
|
|
1176
|
+
* Function that is invoked whenever the selected tab or the tab collection changes.
|
|
1177
|
+
*
|
|
1178
|
+
* @public
|
|
1179
|
+
*/
|
|
1180
|
+
protected setTabs(): void;
|
|
1181
|
+
private setTabPanels;
|
|
1182
|
+
private getTabIds;
|
|
1183
|
+
private getTabPanelIds;
|
|
1184
|
+
private setComponent;
|
|
1185
|
+
private handleTabClick;
|
|
1186
|
+
private isHorizontal;
|
|
1187
|
+
private handleTabKeyDown;
|
|
1188
|
+
/**
|
|
1189
|
+
* The adjust method for FASTTabs
|
|
1190
|
+
* @public
|
|
1191
|
+
* @remarks
|
|
1192
|
+
* This method allows the active index to be adjusted by numerical increments
|
|
1193
|
+
*/
|
|
1194
|
+
adjust(adjustment: number): void;
|
|
1195
|
+
private adjustForward;
|
|
1196
|
+
private adjustBackward;
|
|
1197
|
+
private moveToTabByIndex;
|
|
1198
|
+
private focusTab;
|
|
1199
|
+
/**
|
|
1200
|
+
* @internal
|
|
1201
|
+
*/
|
|
1202
|
+
connectedCallback(): void;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
export declare const borderRadiusCircular = "--borderRadiusCircular";
|
|
1206
|
+
|
|
1207
|
+
export declare const borderRadiusLarge = "--borderRadiusLarge";
|
|
1208
|
+
|
|
1209
|
+
export declare const borderRadiusMedium = "--borderRadiusMedium";
|
|
1210
|
+
|
|
1211
|
+
export declare const borderRadiusNone = "--borderRadiusNone";
|
|
1212
|
+
|
|
1213
|
+
export declare const borderRadiusSmall = "--borderRadiusSmall";
|
|
1214
|
+
|
|
1215
|
+
export declare const borderRadiusXLarge = "--borderRadiusXLarge";
|
|
1216
|
+
|
|
1217
|
+
/**
|
|
1218
|
+
* A Button Custom HTML Element.
|
|
1219
|
+
* Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element }.
|
|
1220
|
+
*
|
|
1221
|
+
* @slot start - Content which can be provided before the button content
|
|
1222
|
+
* @slot end - Content which can be provided after the button content
|
|
1223
|
+
* @slot - The default slot for button content
|
|
1224
|
+
* @csspart control - The button element
|
|
1225
|
+
* @csspart content - The element wrapping button content
|
|
1226
|
+
*
|
|
1227
|
+
* @public
|
|
1228
|
+
*/
|
|
1229
|
+
export declare class Button extends FormAssociatedButton {
|
|
1230
|
+
/**
|
|
1231
|
+
* Determines if the element should receive document focus on page load.
|
|
1232
|
+
*
|
|
1233
|
+
* @public
|
|
1234
|
+
* @remarks
|
|
1235
|
+
* HTML Attribute: autofocus
|
|
1236
|
+
*/
|
|
1237
|
+
autofocus: boolean;
|
|
1238
|
+
/**
|
|
1239
|
+
* The id of a form to associate the element to.
|
|
1240
|
+
*
|
|
1241
|
+
* @public
|
|
1242
|
+
* @remarks
|
|
1243
|
+
* HTML Attribute: form
|
|
1244
|
+
*/
|
|
1245
|
+
formId: string;
|
|
1246
|
+
/**
|
|
1247
|
+
* See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.
|
|
1248
|
+
*
|
|
1249
|
+
* @public
|
|
1250
|
+
* @remarks
|
|
1251
|
+
* HTML Attribute: formaction
|
|
1252
|
+
*/
|
|
1253
|
+
formaction: string;
|
|
1254
|
+
protected formactionChanged(): void;
|
|
1255
|
+
/**
|
|
1256
|
+
* See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.
|
|
1257
|
+
*
|
|
1258
|
+
* @public
|
|
1259
|
+
* @remarks
|
|
1260
|
+
* HTML Attribute: formenctype
|
|
1261
|
+
*/
|
|
1262
|
+
formenctype: string;
|
|
1263
|
+
protected formenctypeChanged(): void;
|
|
1264
|
+
/**
|
|
1265
|
+
* See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.
|
|
1266
|
+
*
|
|
1267
|
+
* @public
|
|
1268
|
+
* @remarks
|
|
1269
|
+
* HTML Attribute: formmethod
|
|
1270
|
+
*/
|
|
1271
|
+
formmethod: string;
|
|
1272
|
+
protected formmethodChanged(): void;
|
|
1273
|
+
/**
|
|
1274
|
+
* See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.
|
|
1275
|
+
*
|
|
1276
|
+
* @public
|
|
1277
|
+
* @remarks
|
|
1278
|
+
* HTML Attribute: formnovalidate
|
|
1279
|
+
*/
|
|
1280
|
+
formnovalidate: boolean;
|
|
1281
|
+
protected formnovalidateChanged(): void;
|
|
1282
|
+
/**
|
|
1283
|
+
* See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.
|
|
1284
|
+
*
|
|
1285
|
+
* @public
|
|
1286
|
+
* @remarks
|
|
1287
|
+
* HTML Attribute: formtarget
|
|
1288
|
+
*/
|
|
1289
|
+
formtarget: '_self' | '_blank' | '_parent' | '_top';
|
|
1290
|
+
protected formtargetChanged(): void;
|
|
1291
|
+
/**
|
|
1292
|
+
* The button type.
|
|
1293
|
+
*
|
|
1294
|
+
* @public
|
|
1295
|
+
* @remarks
|
|
1296
|
+
* HTML Attribute: type
|
|
1297
|
+
*/
|
|
1298
|
+
type: ButtonType;
|
|
1299
|
+
protected typeChanged(previous: ButtonType | undefined, next: ButtonType): void;
|
|
1300
|
+
/**
|
|
1301
|
+
* The appearance the button should have.
|
|
1302
|
+
*
|
|
1303
|
+
* @public
|
|
1304
|
+
* @remarks
|
|
1305
|
+
* HTML Attribute: appearance
|
|
1306
|
+
*/
|
|
1307
|
+
appearance?: ButtonAppearance | undefined;
|
|
1308
|
+
/**
|
|
1309
|
+
* The shape the button should have.
|
|
1310
|
+
*
|
|
1311
|
+
* @public
|
|
1312
|
+
* @remarks
|
|
1313
|
+
* HTML Attribute: shape
|
|
1314
|
+
*/
|
|
1315
|
+
shape?: ButtonShape | undefined;
|
|
1316
|
+
/**
|
|
1317
|
+
* The size the button should have.
|
|
1318
|
+
*
|
|
1319
|
+
* @public
|
|
1320
|
+
* @remarks
|
|
1321
|
+
* HTML Attribute: size
|
|
1322
|
+
*/
|
|
1323
|
+
size?: ButtonSize;
|
|
1324
|
+
/**
|
|
1325
|
+
* The button has an icon only, no text content
|
|
727
1326
|
*
|
|
728
1327
|
* @public
|
|
729
1328
|
* @remarks
|
|
@@ -743,8 +1342,45 @@ export declare class Button extends FASTButton {
|
|
|
743
1342
|
* Prevents disabledFocusable click events
|
|
744
1343
|
*/
|
|
745
1344
|
private handleDisabledFocusableClick;
|
|
1345
|
+
/**
|
|
1346
|
+
*
|
|
1347
|
+
* Default slotted content
|
|
1348
|
+
*
|
|
1349
|
+
* @public
|
|
1350
|
+
* @remarks
|
|
1351
|
+
*/
|
|
1352
|
+
defaultSlottedContent: HTMLElement[];
|
|
1353
|
+
/** {@inheritDoc (FormAssociated:interface).validate} */
|
|
1354
|
+
validate(): void;
|
|
1355
|
+
/**
|
|
1356
|
+
* @internal
|
|
1357
|
+
*/
|
|
746
1358
|
connectedCallback(): void;
|
|
747
1359
|
disconnectedCallback(): void;
|
|
1360
|
+
/**
|
|
1361
|
+
* Submits the parent form
|
|
1362
|
+
*/
|
|
1363
|
+
private handleSubmission;
|
|
1364
|
+
/**
|
|
1365
|
+
* Resets the parent form
|
|
1366
|
+
*/
|
|
1367
|
+
private handleFormReset;
|
|
1368
|
+
control: HTMLButtonElement;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
/**
|
|
1372
|
+
* Mark internal because exporting class and interface of the same name
|
|
1373
|
+
* confuses API documenter.
|
|
1374
|
+
* TODO: https://github.com/microsoft/fast/issues/3317
|
|
1375
|
+
* @internal
|
|
1376
|
+
*/
|
|
1377
|
+
export declare interface Button extends StartEnd, DelegatesARIAButton {
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
declare class _Button extends FASTElement {
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
declare interface _Button extends FormAssociated {
|
|
748
1384
|
}
|
|
749
1385
|
|
|
750
1386
|
/**
|
|
@@ -766,15 +1402,17 @@ export declare const ButtonAppearance: {
|
|
|
766
1402
|
export declare type ButtonAppearance = ValuesOf<typeof ButtonAppearance>;
|
|
767
1403
|
|
|
768
1404
|
/**
|
|
769
|
-
* The Fluent Button Element. Implements {@link @microsoft/fast-foundation#Button },
|
|
770
|
-
* {@link @microsoft/fast-foundation#buttonTemplate}
|
|
771
|
-
*
|
|
772
1405
|
* @public
|
|
773
1406
|
* @remarks
|
|
774
1407
|
* HTML Element: \<fluent-button\>
|
|
775
1408
|
*/
|
|
776
1409
|
export declare const ButtonDefinition: FASTElementDefinition<typeof Button>;
|
|
777
1410
|
|
|
1411
|
+
/**
|
|
1412
|
+
* Button configuration options
|
|
1413
|
+
* @public
|
|
1414
|
+
*/
|
|
1415
|
+
declare type ButtonOptions = StartEndOptions<Button>;
|
|
778
1416
|
export { ButtonOptions }
|
|
779
1417
|
export { ButtonOptions as CompoundButtonOptions }
|
|
780
1418
|
export { ButtonOptions as MenuButtonOptions }
|
|
@@ -812,17 +1450,61 @@ export declare const ButtonSize: {
|
|
|
812
1450
|
*/
|
|
813
1451
|
export declare type ButtonSize = ValuesOf<typeof ButtonSize>;
|
|
814
1452
|
|
|
1453
|
+
export declare const ButtonTemplate: ElementViewTemplate<Button>;
|
|
1454
|
+
|
|
815
1455
|
/**
|
|
816
|
-
*
|
|
1456
|
+
* Button type values.
|
|
1457
|
+
*
|
|
817
1458
|
* @public
|
|
818
1459
|
*/
|
|
819
|
-
export declare const
|
|
1460
|
+
export declare const ButtonType: {
|
|
1461
|
+
readonly submit: "submit";
|
|
1462
|
+
readonly reset: "reset";
|
|
1463
|
+
readonly button: "button";
|
|
1464
|
+
};
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* Type for button type values.
|
|
1468
|
+
*
|
|
1469
|
+
* @public
|
|
1470
|
+
*/
|
|
1471
|
+
export declare type ButtonType = ValuesOf<typeof ButtonType>;
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
* Creates a checkable form associated component.
|
|
1475
|
+
* @beta
|
|
1476
|
+
*/
|
|
1477
|
+
declare function CheckableFormAssociated<T extends ConstructableFormAssociated>(BaseCtor: T): T;
|
|
1478
|
+
|
|
1479
|
+
/**
|
|
1480
|
+
* Base class for providing Custom Element Form Association with checkable features.
|
|
1481
|
+
*
|
|
1482
|
+
* @beta
|
|
1483
|
+
*/
|
|
1484
|
+
declare interface CheckableFormAssociated extends FormAssociated {
|
|
1485
|
+
currentChecked: boolean;
|
|
1486
|
+
dirtyChecked: boolean;
|
|
1487
|
+
checkedAttribute: boolean;
|
|
1488
|
+
defaultChecked: boolean;
|
|
1489
|
+
defaultCheckedChanged(oldValue: boolean | undefined, newValue: boolean): void;
|
|
1490
|
+
checked: boolean;
|
|
1491
|
+
checkedChanged(oldValue: boolean | undefined, newValue: boolean): void;
|
|
1492
|
+
}
|
|
820
1493
|
|
|
821
1494
|
/**
|
|
822
|
-
*
|
|
1495
|
+
* A Checkbox Custom HTML Element.
|
|
1496
|
+
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#checkbox | ARIA checkbox }.
|
|
1497
|
+
*
|
|
1498
|
+
* @slot checked-indicator - The checked indicator
|
|
1499
|
+
* @slot indeterminate-indicator - The indeterminate indicator
|
|
1500
|
+
* @slot - The default slot for the label
|
|
1501
|
+
* @csspart control - The element representing the visual checkbox control
|
|
1502
|
+
* @csspart label - The label
|
|
1503
|
+
* @fires change - Emits a custom change event when the checked state changes
|
|
1504
|
+
*
|
|
823
1505
|
* @public
|
|
824
1506
|
*/
|
|
825
|
-
export declare class Checkbox extends
|
|
1507
|
+
export declare class Checkbox extends FormAssociatedCheckbox {
|
|
826
1508
|
/**
|
|
827
1509
|
* Sets shape of the checkbox.
|
|
828
1510
|
*
|
|
@@ -850,6 +1532,37 @@ export declare class Checkbox extends FASTCheckbox {
|
|
|
850
1532
|
* HTML Attribute: label-position
|
|
851
1533
|
*/
|
|
852
1534
|
labelPosition?: CheckboxLabelPosition;
|
|
1535
|
+
/**
|
|
1536
|
+
* The element's value to be included in form submission when checked.
|
|
1537
|
+
* Default to "on" to reach parity with input[type="checkbox"]
|
|
1538
|
+
*
|
|
1539
|
+
* @internal
|
|
1540
|
+
*/
|
|
1541
|
+
initialValue: string;
|
|
1542
|
+
/**
|
|
1543
|
+
* @internal
|
|
1544
|
+
*/
|
|
1545
|
+
defaultSlottedNodes: Node[];
|
|
1546
|
+
/**
|
|
1547
|
+
* The indeterminate state of the control
|
|
1548
|
+
*/
|
|
1549
|
+
indeterminate: boolean;
|
|
1550
|
+
constructor();
|
|
1551
|
+
private toggleChecked;
|
|
1552
|
+
/**
|
|
1553
|
+
* @internal
|
|
1554
|
+
*/
|
|
1555
|
+
keypressHandler: (e: KeyboardEvent) => void;
|
|
1556
|
+
/**
|
|
1557
|
+
* @internal
|
|
1558
|
+
*/
|
|
1559
|
+
clickHandler: (e: MouseEvent) => void;
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
declare class _Checkbox extends FASTElement {
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
declare interface _Checkbox extends CheckableFormAssociated {
|
|
853
1566
|
}
|
|
854
1567
|
|
|
855
1568
|
/**
|
|
@@ -872,6 +1585,15 @@ export declare const CheckboxLabelPosition: {
|
|
|
872
1585
|
|
|
873
1586
|
export declare type CheckboxLabelPosition = ValuesOf<typeof CheckboxLabelPosition>;
|
|
874
1587
|
|
|
1588
|
+
/**
|
|
1589
|
+
* Checkbox configuration options
|
|
1590
|
+
* @public
|
|
1591
|
+
*/
|
|
1592
|
+
export declare type CheckboxOptions = {
|
|
1593
|
+
checkedIndicator?: StaticallyComposableHTML<Checkbox>;
|
|
1594
|
+
indeterminateIndicator?: StaticallyComposableHTML<Checkbox>;
|
|
1595
|
+
};
|
|
1596
|
+
|
|
875
1597
|
/**
|
|
876
1598
|
* Checkbox shape
|
|
877
1599
|
* @public
|
|
@@ -906,599 +1628,599 @@ export declare const CheckboxStyles: ElementStyles;
|
|
|
906
1628
|
*/
|
|
907
1629
|
export declare const CheckboxTemplate: ElementViewTemplate<Checkbox>;
|
|
908
1630
|
|
|
909
|
-
export declare const colorBackgroundOverlay
|
|
1631
|
+
export declare const colorBackgroundOverlay = "--colorBackgroundOverlay";
|
|
910
1632
|
|
|
911
|
-
export declare const colorBrandBackground
|
|
1633
|
+
export declare const colorBrandBackground = "--colorBrandBackground";
|
|
912
1634
|
|
|
913
|
-
export declare const colorBrandBackground2
|
|
1635
|
+
export declare const colorBrandBackground2 = "--colorBrandBackground2";
|
|
914
1636
|
|
|
915
|
-
export declare const colorBrandBackgroundHover
|
|
1637
|
+
export declare const colorBrandBackgroundHover = "--colorBrandBackgroundHover";
|
|
916
1638
|
|
|
917
|
-
export declare const colorBrandBackgroundInverted
|
|
1639
|
+
export declare const colorBrandBackgroundInverted = "--colorBrandBackgroundInverted";
|
|
918
1640
|
|
|
919
|
-
export declare const colorBrandBackgroundInvertedHover
|
|
1641
|
+
export declare const colorBrandBackgroundInvertedHover = "--colorBrandBackgroundInvertedHover";
|
|
920
1642
|
|
|
921
|
-
export declare const colorBrandBackgroundInvertedPressed
|
|
1643
|
+
export declare const colorBrandBackgroundInvertedPressed = "--colorBrandBackgroundInvertedPressed";
|
|
922
1644
|
|
|
923
|
-
export declare const colorBrandBackgroundInvertedSelected
|
|
1645
|
+
export declare const colorBrandBackgroundInvertedSelected = "--colorBrandBackgroundInvertedSelected";
|
|
924
1646
|
|
|
925
|
-
export declare const colorBrandBackgroundPressed
|
|
1647
|
+
export declare const colorBrandBackgroundPressed = "--colorBrandBackgroundPressed";
|
|
926
1648
|
|
|
927
|
-
export declare const colorBrandBackgroundSelected
|
|
1649
|
+
export declare const colorBrandBackgroundSelected = "--colorBrandBackgroundSelected";
|
|
928
1650
|
|
|
929
|
-
export declare const colorBrandBackgroundStatic
|
|
1651
|
+
export declare const colorBrandBackgroundStatic = "--colorBrandBackgroundStatic";
|
|
930
1652
|
|
|
931
|
-
export declare const colorBrandForeground1
|
|
1653
|
+
export declare const colorBrandForeground1 = "--colorBrandForeground1";
|
|
932
1654
|
|
|
933
|
-
export declare const colorBrandForeground2
|
|
1655
|
+
export declare const colorBrandForeground2 = "--colorBrandForeground2";
|
|
934
1656
|
|
|
935
|
-
export declare const colorBrandForegroundInverted
|
|
1657
|
+
export declare const colorBrandForegroundInverted = "--colorBrandForegroundInverted";
|
|
936
1658
|
|
|
937
|
-
export declare const colorBrandForegroundInvertedHover
|
|
1659
|
+
export declare const colorBrandForegroundInvertedHover = "--colorBrandForegroundInvertedHover";
|
|
938
1660
|
|
|
939
|
-
export declare const colorBrandForegroundInvertedPressed
|
|
1661
|
+
export declare const colorBrandForegroundInvertedPressed = "--colorBrandForegroundInvertedPressed";
|
|
940
1662
|
|
|
941
|
-
export declare const colorBrandForegroundLink
|
|
1663
|
+
export declare const colorBrandForegroundLink = "--colorBrandForegroundLink";
|
|
942
1664
|
|
|
943
|
-
export declare const colorBrandForegroundLinkHover
|
|
1665
|
+
export declare const colorBrandForegroundLinkHover = "--colorBrandForegroundLinkHover";
|
|
944
1666
|
|
|
945
|
-
export declare const colorBrandForegroundLinkPressed
|
|
1667
|
+
export declare const colorBrandForegroundLinkPressed = "--colorBrandForegroundLinkPressed";
|
|
946
1668
|
|
|
947
|
-
export declare const colorBrandForegroundLinkSelected
|
|
1669
|
+
export declare const colorBrandForegroundLinkSelected = "--colorBrandForegroundLinkSelected";
|
|
948
1670
|
|
|
949
|
-
export declare const colorBrandForegroundOnLight
|
|
1671
|
+
export declare const colorBrandForegroundOnLight = "--colorBrandForegroundOnLight";
|
|
950
1672
|
|
|
951
|
-
export declare const colorBrandForegroundOnLightHover
|
|
1673
|
+
export declare const colorBrandForegroundOnLightHover = "--colorBrandForegroundOnLightHover";
|
|
952
1674
|
|
|
953
|
-
export declare const colorBrandForegroundOnLightPressed
|
|
1675
|
+
export declare const colorBrandForegroundOnLightPressed = "--colorBrandForegroundOnLightPressed";
|
|
954
1676
|
|
|
955
|
-
export declare const colorBrandForegroundOnLightSelected
|
|
1677
|
+
export declare const colorBrandForegroundOnLightSelected = "--colorBrandForegroundOnLightSelected";
|
|
956
1678
|
|
|
957
|
-
export declare const colorBrandShadowAmbient
|
|
1679
|
+
export declare const colorBrandShadowAmbient = "--colorBrandShadowAmbient";
|
|
958
1680
|
|
|
959
|
-
export declare const colorBrandShadowKey
|
|
1681
|
+
export declare const colorBrandShadowKey = "--colorBrandShadowKey";
|
|
960
1682
|
|
|
961
|
-
export declare const colorBrandStroke1
|
|
1683
|
+
export declare const colorBrandStroke1 = "--colorBrandStroke1";
|
|
962
1684
|
|
|
963
|
-
export declare const colorBrandStroke2
|
|
1685
|
+
export declare const colorBrandStroke2 = "--colorBrandStroke2";
|
|
964
1686
|
|
|
965
|
-
export declare const colorCompoundBrandBackground
|
|
1687
|
+
export declare const colorCompoundBrandBackground = "--colorCompoundBrandBackground";
|
|
966
1688
|
|
|
967
|
-
export declare const colorCompoundBrandBackgroundHover
|
|
1689
|
+
export declare const colorCompoundBrandBackgroundHover = "--colorCompoundBrandBackgroundHover";
|
|
968
1690
|
|
|
969
|
-
export declare const colorCompoundBrandBackgroundPressed
|
|
1691
|
+
export declare const colorCompoundBrandBackgroundPressed = "--colorCompoundBrandBackgroundPressed";
|
|
970
1692
|
|
|
971
|
-
export declare const colorCompoundBrandForeground1
|
|
1693
|
+
export declare const colorCompoundBrandForeground1 = "--colorCompoundBrandForeground1";
|
|
972
1694
|
|
|
973
|
-
export declare const colorCompoundBrandForeground1Hover
|
|
1695
|
+
export declare const colorCompoundBrandForeground1Hover = "--colorCompoundBrandForeground1Hover";
|
|
974
1696
|
|
|
975
|
-
export declare const colorCompoundBrandForeground1Pressed
|
|
1697
|
+
export declare const colorCompoundBrandForeground1Pressed = "--colorCompoundBrandForeground1Pressed";
|
|
976
1698
|
|
|
977
|
-
export declare const colorCompoundBrandStroke
|
|
1699
|
+
export declare const colorCompoundBrandStroke = "--colorCompoundBrandStroke";
|
|
978
1700
|
|
|
979
|
-
export declare const colorCompoundBrandStrokeHover
|
|
1701
|
+
export declare const colorCompoundBrandStrokeHover = "--colorCompoundBrandStrokeHover";
|
|
980
1702
|
|
|
981
|
-
export declare const colorCompoundBrandStrokePressed
|
|
1703
|
+
export declare const colorCompoundBrandStrokePressed = "--colorCompoundBrandStrokePressed";
|
|
982
1704
|
|
|
983
|
-
export declare const colorNeutralBackground1
|
|
1705
|
+
export declare const colorNeutralBackground1 = "--colorNeutralBackground1";
|
|
984
1706
|
|
|
985
|
-
export declare const colorNeutralBackground1Hover
|
|
1707
|
+
export declare const colorNeutralBackground1Hover = "--colorNeutralBackground1Hover";
|
|
986
1708
|
|
|
987
|
-
export declare const colorNeutralBackground1Pressed
|
|
1709
|
+
export declare const colorNeutralBackground1Pressed = "--colorNeutralBackground1Pressed";
|
|
988
1710
|
|
|
989
|
-
export declare const colorNeutralBackground1Selected
|
|
1711
|
+
export declare const colorNeutralBackground1Selected = "--colorNeutralBackground1Selected";
|
|
990
1712
|
|
|
991
|
-
export declare const colorNeutralBackground2
|
|
1713
|
+
export declare const colorNeutralBackground2 = "--colorNeutralBackground2";
|
|
992
1714
|
|
|
993
|
-
export declare const colorNeutralBackground2Hover
|
|
1715
|
+
export declare const colorNeutralBackground2Hover = "--colorNeutralBackground2Hover";
|
|
994
1716
|
|
|
995
|
-
export declare const colorNeutralBackground2Pressed
|
|
1717
|
+
export declare const colorNeutralBackground2Pressed = "--colorNeutralBackground2Pressed";
|
|
996
1718
|
|
|
997
|
-
export declare const colorNeutralBackground2Selected
|
|
1719
|
+
export declare const colorNeutralBackground2Selected = "--colorNeutralBackground2Selected";
|
|
998
1720
|
|
|
999
|
-
export declare const colorNeutralBackground3
|
|
1721
|
+
export declare const colorNeutralBackground3 = "--colorNeutralBackground3";
|
|
1000
1722
|
|
|
1001
|
-
export declare const colorNeutralBackground3Hover
|
|
1723
|
+
export declare const colorNeutralBackground3Hover = "--colorNeutralBackground3Hover";
|
|
1002
1724
|
|
|
1003
|
-
export declare const colorNeutralBackground3Pressed
|
|
1725
|
+
export declare const colorNeutralBackground3Pressed = "--colorNeutralBackground3Pressed";
|
|
1004
1726
|
|
|
1005
|
-
export declare const colorNeutralBackground3Selected
|
|
1727
|
+
export declare const colorNeutralBackground3Selected = "--colorNeutralBackground3Selected";
|
|
1006
1728
|
|
|
1007
|
-
export declare const colorNeutralBackground4
|
|
1729
|
+
export declare const colorNeutralBackground4 = "--colorNeutralBackground4";
|
|
1008
1730
|
|
|
1009
|
-
export declare const colorNeutralBackground4Hover
|
|
1731
|
+
export declare const colorNeutralBackground4Hover = "--colorNeutralBackground4Hover";
|
|
1010
1732
|
|
|
1011
|
-
export declare const colorNeutralBackground4Pressed
|
|
1733
|
+
export declare const colorNeutralBackground4Pressed = "--colorNeutralBackground4Pressed";
|
|
1012
1734
|
|
|
1013
|
-
export declare const colorNeutralBackground4Selected
|
|
1735
|
+
export declare const colorNeutralBackground4Selected = "--colorNeutralBackground4Selected";
|
|
1014
1736
|
|
|
1015
|
-
export declare const colorNeutralBackground5
|
|
1737
|
+
export declare const colorNeutralBackground5 = "--colorNeutralBackground5";
|
|
1016
1738
|
|
|
1017
|
-
export declare const colorNeutralBackground5Hover
|
|
1739
|
+
export declare const colorNeutralBackground5Hover = "--colorNeutralBackground5Hover";
|
|
1018
1740
|
|
|
1019
|
-
export declare const colorNeutralBackground5Pressed
|
|
1741
|
+
export declare const colorNeutralBackground5Pressed = "--colorNeutralBackground5Pressed";
|
|
1020
1742
|
|
|
1021
|
-
export declare const colorNeutralBackground5Selected
|
|
1743
|
+
export declare const colorNeutralBackground5Selected = "--colorNeutralBackground5Selected";
|
|
1022
1744
|
|
|
1023
|
-
export declare const colorNeutralBackground6
|
|
1745
|
+
export declare const colorNeutralBackground6 = "--colorNeutralBackground6";
|
|
1024
1746
|
|
|
1025
|
-
export declare const colorNeutralBackgroundDisabled
|
|
1747
|
+
export declare const colorNeutralBackgroundDisabled = "--colorNeutralBackgroundDisabled";
|
|
1026
1748
|
|
|
1027
|
-
export declare const colorNeutralBackgroundInverted
|
|
1749
|
+
export declare const colorNeutralBackgroundInverted = "--colorNeutralBackgroundInverted";
|
|
1028
1750
|
|
|
1029
|
-
export declare const colorNeutralBackgroundInvertedDisabled
|
|
1751
|
+
export declare const colorNeutralBackgroundInvertedDisabled = "--colorNeutralBackgroundInvertedDisabled";
|
|
1030
1752
|
|
|
1031
|
-
export declare const colorNeutralBackgroundStatic
|
|
1753
|
+
export declare const colorNeutralBackgroundStatic = "--colorNeutralBackgroundStatic";
|
|
1032
1754
|
|
|
1033
|
-
export declare const colorNeutralForeground1
|
|
1755
|
+
export declare const colorNeutralForeground1 = "--colorNeutralForeground1";
|
|
1034
1756
|
|
|
1035
|
-
export declare const colorNeutralForeground1Hover
|
|
1757
|
+
export declare const colorNeutralForeground1Hover = "--colorNeutralForeground1Hover";
|
|
1036
1758
|
|
|
1037
|
-
export declare const colorNeutralForeground1Pressed
|
|
1759
|
+
export declare const colorNeutralForeground1Pressed = "--colorNeutralForeground1Pressed";
|
|
1038
1760
|
|
|
1039
|
-
export declare const colorNeutralForeground1Selected
|
|
1761
|
+
export declare const colorNeutralForeground1Selected = "--colorNeutralForeground1Selected";
|
|
1040
1762
|
|
|
1041
|
-
export declare const colorNeutralForeground1Static
|
|
1763
|
+
export declare const colorNeutralForeground1Static = "--colorNeutralForeground1Static";
|
|
1042
1764
|
|
|
1043
|
-
export declare const colorNeutralForeground2
|
|
1765
|
+
export declare const colorNeutralForeground2 = "--colorNeutralForeground2";
|
|
1044
1766
|
|
|
1045
|
-
export declare const colorNeutralForeground2BrandHover
|
|
1767
|
+
export declare const colorNeutralForeground2BrandHover = "--colorNeutralForeground2BrandHover";
|
|
1046
1768
|
|
|
1047
|
-
export declare const colorNeutralForeground2BrandPressed
|
|
1769
|
+
export declare const colorNeutralForeground2BrandPressed = "--colorNeutralForeground2BrandPressed";
|
|
1048
1770
|
|
|
1049
|
-
export declare const colorNeutralForeground2BrandSelected
|
|
1771
|
+
export declare const colorNeutralForeground2BrandSelected = "--colorNeutralForeground2BrandSelected";
|
|
1050
1772
|
|
|
1051
|
-
export declare const colorNeutralForeground2Hover
|
|
1773
|
+
export declare const colorNeutralForeground2Hover = "--colorNeutralForeground2Hover";
|
|
1052
1774
|
|
|
1053
|
-
export declare const colorNeutralForeground2Link
|
|
1775
|
+
export declare const colorNeutralForeground2Link = "--colorNeutralForeground2Link";
|
|
1054
1776
|
|
|
1055
|
-
export declare const colorNeutralForeground2LinkHover
|
|
1777
|
+
export declare const colorNeutralForeground2LinkHover = "--colorNeutralForeground2LinkHover";
|
|
1056
1778
|
|
|
1057
|
-
export declare const colorNeutralForeground2LinkPressed
|
|
1779
|
+
export declare const colorNeutralForeground2LinkPressed = "--colorNeutralForeground2LinkPressed";
|
|
1058
1780
|
|
|
1059
|
-
export declare const colorNeutralForeground2LinkSelected
|
|
1781
|
+
export declare const colorNeutralForeground2LinkSelected = "--colorNeutralForeground2LinkSelected";
|
|
1060
1782
|
|
|
1061
|
-
export declare const colorNeutralForeground2Pressed
|
|
1783
|
+
export declare const colorNeutralForeground2Pressed = "--colorNeutralForeground2Pressed";
|
|
1062
1784
|
|
|
1063
|
-
export declare const colorNeutralForeground2Selected
|
|
1785
|
+
export declare const colorNeutralForeground2Selected = "--colorNeutralForeground2Selected";
|
|
1064
1786
|
|
|
1065
|
-
export declare const colorNeutralForeground3
|
|
1787
|
+
export declare const colorNeutralForeground3 = "--colorNeutralForeground3";
|
|
1066
1788
|
|
|
1067
|
-
export declare const colorNeutralForeground3BrandHover
|
|
1789
|
+
export declare const colorNeutralForeground3BrandHover = "--colorNeutralForeground3BrandHover";
|
|
1068
1790
|
|
|
1069
|
-
export declare const colorNeutralForeground3BrandPressed
|
|
1791
|
+
export declare const colorNeutralForeground3BrandPressed = "--colorNeutralForeground3BrandPressed";
|
|
1070
1792
|
|
|
1071
|
-
export declare const colorNeutralForeground3BrandSelected
|
|
1793
|
+
export declare const colorNeutralForeground3BrandSelected = "--colorNeutralForeground3BrandSelected";
|
|
1072
1794
|
|
|
1073
|
-
export declare const colorNeutralForeground3Hover
|
|
1795
|
+
export declare const colorNeutralForeground3Hover = "--colorNeutralForeground3Hover";
|
|
1074
1796
|
|
|
1075
|
-
export declare const colorNeutralForeground3Pressed
|
|
1797
|
+
export declare const colorNeutralForeground3Pressed = "--colorNeutralForeground3Pressed";
|
|
1076
1798
|
|
|
1077
|
-
export declare const colorNeutralForeground3Selected
|
|
1799
|
+
export declare const colorNeutralForeground3Selected = "--colorNeutralForeground3Selected";
|
|
1078
1800
|
|
|
1079
|
-
export declare const colorNeutralForeground4
|
|
1801
|
+
export declare const colorNeutralForeground4 = "--colorNeutralForeground4";
|
|
1080
1802
|
|
|
1081
|
-
export declare const colorNeutralForegroundDisabled
|
|
1803
|
+
export declare const colorNeutralForegroundDisabled = "--colorNeutralForegroundDisabled";
|
|
1082
1804
|
|
|
1083
|
-
export declare const colorNeutralForegroundInverted
|
|
1805
|
+
export declare const colorNeutralForegroundInverted = "--colorNeutralForegroundInverted";
|
|
1084
1806
|
|
|
1085
|
-
export declare const colorNeutralForegroundInverted2
|
|
1807
|
+
export declare const colorNeutralForegroundInverted2 = "--colorNeutralForegroundInverted2";
|
|
1086
1808
|
|
|
1087
|
-
export declare const colorNeutralForegroundInvertedDisabled
|
|
1809
|
+
export declare const colorNeutralForegroundInvertedDisabled = "--colorNeutralForegroundInvertedDisabled";
|
|
1088
1810
|
|
|
1089
|
-
export declare const colorNeutralForegroundInvertedHover
|
|
1811
|
+
export declare const colorNeutralForegroundInvertedHover = "--colorNeutralForegroundInvertedHover";
|
|
1090
1812
|
|
|
1091
|
-
export declare const colorNeutralForegroundInvertedLink
|
|
1813
|
+
export declare const colorNeutralForegroundInvertedLink = "--colorNeutralForegroundInvertedLink";
|
|
1092
1814
|
|
|
1093
|
-
export declare const colorNeutralForegroundInvertedLinkHover
|
|
1815
|
+
export declare const colorNeutralForegroundInvertedLinkHover = "--colorNeutralForegroundInvertedLinkHover";
|
|
1094
1816
|
|
|
1095
|
-
export declare const colorNeutralForegroundInvertedLinkPressed
|
|
1817
|
+
export declare const colorNeutralForegroundInvertedLinkPressed = "--colorNeutralForegroundInvertedLinkPressed";
|
|
1096
1818
|
|
|
1097
|
-
export declare const colorNeutralForegroundInvertedLinkSelected
|
|
1819
|
+
export declare const colorNeutralForegroundInvertedLinkSelected = "--colorNeutralForegroundInvertedLinkSelected";
|
|
1098
1820
|
|
|
1099
|
-
export declare const colorNeutralForegroundInvertedPressed
|
|
1821
|
+
export declare const colorNeutralForegroundInvertedPressed = "--colorNeutralForegroundInvertedPressed";
|
|
1100
1822
|
|
|
1101
|
-
export declare const colorNeutralForegroundInvertedSelected
|
|
1823
|
+
export declare const colorNeutralForegroundInvertedSelected = "--colorNeutralForegroundInvertedSelected";
|
|
1102
1824
|
|
|
1103
|
-
export declare const colorNeutralForegroundOnBrand
|
|
1825
|
+
export declare const colorNeutralForegroundOnBrand = "--colorNeutralForegroundOnBrand";
|
|
1104
1826
|
|
|
1105
|
-
export declare const colorNeutralForegroundStaticInverted
|
|
1827
|
+
export declare const colorNeutralForegroundStaticInverted = "--colorNeutralForegroundStaticInverted";
|
|
1106
1828
|
|
|
1107
|
-
export declare const colorNeutralShadowAmbient
|
|
1829
|
+
export declare const colorNeutralShadowAmbient = "--colorNeutralShadowAmbient";
|
|
1108
1830
|
|
|
1109
|
-
export declare const colorNeutralShadowAmbientDarker
|
|
1831
|
+
export declare const colorNeutralShadowAmbientDarker = "--colorNeutralShadowAmbientDarker";
|
|
1110
1832
|
|
|
1111
|
-
export declare const colorNeutralShadowAmbientLighter
|
|
1833
|
+
export declare const colorNeutralShadowAmbientLighter = "--colorNeutralShadowAmbientLighter";
|
|
1112
1834
|
|
|
1113
|
-
export declare const colorNeutralShadowKey
|
|
1835
|
+
export declare const colorNeutralShadowKey = "--colorNeutralShadowKey";
|
|
1114
1836
|
|
|
1115
|
-
export declare const colorNeutralShadowKeyDarker
|
|
1837
|
+
export declare const colorNeutralShadowKeyDarker = "--colorNeutralShadowKeyDarker";
|
|
1116
1838
|
|
|
1117
|
-
export declare const colorNeutralShadowKeyLighter
|
|
1839
|
+
export declare const colorNeutralShadowKeyLighter = "--colorNeutralShadowKeyLighter";
|
|
1118
1840
|
|
|
1119
|
-
export declare const colorNeutralStencil1
|
|
1841
|
+
export declare const colorNeutralStencil1 = "--colorNeutralStencil1";
|
|
1120
1842
|
|
|
1121
|
-
export declare const colorNeutralStencil1Alpha
|
|
1843
|
+
export declare const colorNeutralStencil1Alpha = "--colorNeutralStencil1Alpha";
|
|
1122
1844
|
|
|
1123
|
-
export declare const colorNeutralStencil2
|
|
1845
|
+
export declare const colorNeutralStencil2 = "--colorNeutralStencil2";
|
|
1124
1846
|
|
|
1125
|
-
export declare const colorNeutralStencil2Alpha
|
|
1847
|
+
export declare const colorNeutralStencil2Alpha = "--colorNeutralStencil2Alpha";
|
|
1126
1848
|
|
|
1127
|
-
export declare const colorNeutralStroke1
|
|
1849
|
+
export declare const colorNeutralStroke1 = "--colorNeutralStroke1";
|
|
1128
1850
|
|
|
1129
|
-
export declare const colorNeutralStroke1Hover
|
|
1851
|
+
export declare const colorNeutralStroke1Hover = "--colorNeutralStroke1Hover";
|
|
1130
1852
|
|
|
1131
|
-
export declare const colorNeutralStroke1Pressed
|
|
1853
|
+
export declare const colorNeutralStroke1Pressed = "--colorNeutralStroke1Pressed";
|
|
1132
1854
|
|
|
1133
|
-
export declare const colorNeutralStroke1Selected
|
|
1855
|
+
export declare const colorNeutralStroke1Selected = "--colorNeutralStroke1Selected";
|
|
1134
1856
|
|
|
1135
|
-
export declare const colorNeutralStroke2
|
|
1857
|
+
export declare const colorNeutralStroke2 = "--colorNeutralStroke2";
|
|
1136
1858
|
|
|
1137
|
-
export declare const colorNeutralStroke3
|
|
1859
|
+
export declare const colorNeutralStroke3 = "--colorNeutralStroke3";
|
|
1138
1860
|
|
|
1139
|
-
export declare const colorNeutralStrokeAccessible
|
|
1861
|
+
export declare const colorNeutralStrokeAccessible = "--colorNeutralStrokeAccessible";
|
|
1140
1862
|
|
|
1141
|
-
export declare const colorNeutralStrokeAccessibleHover
|
|
1863
|
+
export declare const colorNeutralStrokeAccessibleHover = "--colorNeutralStrokeAccessibleHover";
|
|
1142
1864
|
|
|
1143
|
-
export declare const colorNeutralStrokeAccessiblePressed
|
|
1865
|
+
export declare const colorNeutralStrokeAccessiblePressed = "--colorNeutralStrokeAccessiblePressed";
|
|
1144
1866
|
|
|
1145
|
-
export declare const colorNeutralStrokeAccessibleSelected
|
|
1867
|
+
export declare const colorNeutralStrokeAccessibleSelected = "--colorNeutralStrokeAccessibleSelected";
|
|
1146
1868
|
|
|
1147
|
-
export declare const colorNeutralStrokeDisabled
|
|
1869
|
+
export declare const colorNeutralStrokeDisabled = "--colorNeutralStrokeDisabled";
|
|
1148
1870
|
|
|
1149
|
-
export declare const colorNeutralStrokeInvertedDisabled
|
|
1871
|
+
export declare const colorNeutralStrokeInvertedDisabled = "--colorNeutralStrokeInvertedDisabled";
|
|
1150
1872
|
|
|
1151
|
-
export declare const colorNeutralStrokeOnBrand
|
|
1873
|
+
export declare const colorNeutralStrokeOnBrand = "--colorNeutralStrokeOnBrand";
|
|
1152
1874
|
|
|
1153
|
-
export declare const colorNeutralStrokeOnBrand2
|
|
1875
|
+
export declare const colorNeutralStrokeOnBrand2 = "--colorNeutralStrokeOnBrand2";
|
|
1154
1876
|
|
|
1155
|
-
export declare const colorNeutralStrokeOnBrand2Hover
|
|
1877
|
+
export declare const colorNeutralStrokeOnBrand2Hover = "--colorNeutralStrokeOnBrand2Hover";
|
|
1156
1878
|
|
|
1157
|
-
export declare const colorNeutralStrokeOnBrand2Pressed
|
|
1879
|
+
export declare const colorNeutralStrokeOnBrand2Pressed = "--colorNeutralStrokeOnBrand2Pressed";
|
|
1158
1880
|
|
|
1159
|
-
export declare const colorNeutralStrokeOnBrand2Selected
|
|
1881
|
+
export declare const colorNeutralStrokeOnBrand2Selected = "--colorNeutralStrokeOnBrand2Selected";
|
|
1160
1882
|
|
|
1161
|
-
export declare const colorPaletteAnchorBackground2
|
|
1883
|
+
export declare const colorPaletteAnchorBackground2 = "--colorPaletteAnchorBackground2";
|
|
1162
1884
|
|
|
1163
|
-
export declare const colorPaletteAnchorBorderActive
|
|
1885
|
+
export declare const colorPaletteAnchorBorderActive = "--colorPaletteAnchorBorderActive";
|
|
1164
1886
|
|
|
1165
|
-
export declare const colorPaletteAnchorForeground2
|
|
1887
|
+
export declare const colorPaletteAnchorForeground2 = "--colorPaletteAnchorForeground2";
|
|
1166
1888
|
|
|
1167
|
-
export declare const colorPaletteBeigeBackground2
|
|
1889
|
+
export declare const colorPaletteBeigeBackground2 = "--colorPaletteBeigeBackground2";
|
|
1168
1890
|
|
|
1169
|
-
export declare const colorPaletteBeigeBorderActive
|
|
1891
|
+
export declare const colorPaletteBeigeBorderActive = "--colorPaletteBeigeBorderActive";
|
|
1170
1892
|
|
|
1171
|
-
export declare const colorPaletteBeigeForeground2
|
|
1893
|
+
export declare const colorPaletteBeigeForeground2 = "--colorPaletteBeigeForeground2";
|
|
1172
1894
|
|
|
1173
|
-
export declare const colorPaletteBerryBackground1
|
|
1895
|
+
export declare const colorPaletteBerryBackground1 = "--colorPaletteBerryBackground1";
|
|
1174
1896
|
|
|
1175
|
-
export declare const colorPaletteBerryBackground2
|
|
1897
|
+
export declare const colorPaletteBerryBackground2 = "--colorPaletteBerryBackground2";
|
|
1176
1898
|
|
|
1177
|
-
export declare const colorPaletteBerryBackground3
|
|
1899
|
+
export declare const colorPaletteBerryBackground3 = "--colorPaletteBerryBackground3";
|
|
1178
1900
|
|
|
1179
|
-
export declare const colorPaletteBerryBorder1
|
|
1901
|
+
export declare const colorPaletteBerryBorder1 = "--colorPaletteBerryBorder1";
|
|
1180
1902
|
|
|
1181
|
-
export declare const colorPaletteBerryBorder2
|
|
1903
|
+
export declare const colorPaletteBerryBorder2 = "--colorPaletteBerryBorder2";
|
|
1182
1904
|
|
|
1183
|
-
export declare const colorPaletteBerryBorderActive
|
|
1905
|
+
export declare const colorPaletteBerryBorderActive = "--colorPaletteBerryBorderActive";
|
|
1184
1906
|
|
|
1185
|
-
export declare const colorPaletteBerryForeground1
|
|
1907
|
+
export declare const colorPaletteBerryForeground1 = "--colorPaletteBerryForeground1";
|
|
1186
1908
|
|
|
1187
|
-
export declare const colorPaletteBerryForeground2
|
|
1909
|
+
export declare const colorPaletteBerryForeground2 = "--colorPaletteBerryForeground2";
|
|
1188
1910
|
|
|
1189
|
-
export declare const colorPaletteBerryForeground3
|
|
1911
|
+
export declare const colorPaletteBerryForeground3 = "--colorPaletteBerryForeground3";
|
|
1190
1912
|
|
|
1191
|
-
export declare const colorPaletteBlueBackground2
|
|
1913
|
+
export declare const colorPaletteBlueBackground2 = "--colorPaletteBlueBackground2";
|
|
1192
1914
|
|
|
1193
|
-
export declare const colorPaletteBlueBorderActive
|
|
1915
|
+
export declare const colorPaletteBlueBorderActive = "--colorPaletteBlueBorderActive";
|
|
1194
1916
|
|
|
1195
|
-
export declare const colorPaletteBlueForeground2
|
|
1917
|
+
export declare const colorPaletteBlueForeground2 = "--colorPaletteBlueForeground2";
|
|
1196
1918
|
|
|
1197
|
-
export declare const colorPaletteBrassBackground2
|
|
1919
|
+
export declare const colorPaletteBrassBackground2 = "--colorPaletteBrassBackground2";
|
|
1198
1920
|
|
|
1199
|
-
export declare const colorPaletteBrassBorderActive
|
|
1921
|
+
export declare const colorPaletteBrassBorderActive = "--colorPaletteBrassBorderActive";
|
|
1200
1922
|
|
|
1201
|
-
export declare const colorPaletteBrassForeground2
|
|
1923
|
+
export declare const colorPaletteBrassForeground2 = "--colorPaletteBrassForeground2";
|
|
1202
1924
|
|
|
1203
|
-
export declare const colorPaletteBrownBackground2
|
|
1925
|
+
export declare const colorPaletteBrownBackground2 = "--colorPaletteBrownBackground2";
|
|
1204
1926
|
|
|
1205
|
-
export declare const colorPaletteBrownBorderActive
|
|
1927
|
+
export declare const colorPaletteBrownBorderActive = "--colorPaletteBrownBorderActive";
|
|
1206
1928
|
|
|
1207
|
-
export declare const colorPaletteBrownForeground2
|
|
1929
|
+
export declare const colorPaletteBrownForeground2 = "--colorPaletteBrownForeground2";
|
|
1208
1930
|
|
|
1209
|
-
export declare const colorPaletteCornflowerBackground2
|
|
1931
|
+
export declare const colorPaletteCornflowerBackground2 = "--colorPaletteCornflowerBackground2";
|
|
1210
1932
|
|
|
1211
|
-
export declare const colorPaletteCornflowerBorderActive
|
|
1933
|
+
export declare const colorPaletteCornflowerBorderActive = "--colorPaletteCornflowerBorderActive";
|
|
1212
1934
|
|
|
1213
|
-
export declare const colorPaletteCornflowerForeground2
|
|
1935
|
+
export declare const colorPaletteCornflowerForeground2 = "--colorPaletteCornflowerForeground2";
|
|
1214
1936
|
|
|
1215
|
-
export declare const colorPaletteCranberryBackground2
|
|
1937
|
+
export declare const colorPaletteCranberryBackground2 = "--colorPaletteCranberryBackground2";
|
|
1216
1938
|
|
|
1217
|
-
export declare const colorPaletteCranberryBorderActive
|
|
1939
|
+
export declare const colorPaletteCranberryBorderActive = "--colorPaletteCranberryBorderActive";
|
|
1218
1940
|
|
|
1219
|
-
export declare const colorPaletteCranberryForeground2
|
|
1941
|
+
export declare const colorPaletteCranberryForeground2 = "--colorPaletteCranberryForeground2";
|
|
1220
1942
|
|
|
1221
|
-
export declare const colorPaletteDarkGreenBackground2
|
|
1943
|
+
export declare const colorPaletteDarkGreenBackground2 = "--colorPaletteDarkGreenBackground2";
|
|
1222
1944
|
|
|
1223
|
-
export declare const colorPaletteDarkGreenBorderActive
|
|
1945
|
+
export declare const colorPaletteDarkGreenBorderActive = "--colorPaletteDarkGreenBorderActive";
|
|
1224
1946
|
|
|
1225
|
-
export declare const colorPaletteDarkGreenForeground2
|
|
1947
|
+
export declare const colorPaletteDarkGreenForeground2 = "--colorPaletteDarkGreenForeground2";
|
|
1226
1948
|
|
|
1227
|
-
export declare const colorPaletteDarkOrangeBackground1
|
|
1949
|
+
export declare const colorPaletteDarkOrangeBackground1 = "--colorPaletteDarkOrangeBackground1";
|
|
1228
1950
|
|
|
1229
|
-
export declare const colorPaletteDarkOrangeBackground2
|
|
1951
|
+
export declare const colorPaletteDarkOrangeBackground2 = "--colorPaletteDarkOrangeBackground2";
|
|
1230
1952
|
|
|
1231
|
-
export declare const colorPaletteDarkOrangeBackground3
|
|
1953
|
+
export declare const colorPaletteDarkOrangeBackground3 = "--colorPaletteDarkOrangeBackground3";
|
|
1232
1954
|
|
|
1233
|
-
export declare const colorPaletteDarkOrangeBorder1
|
|
1955
|
+
export declare const colorPaletteDarkOrangeBorder1 = "--colorPaletteDarkOrangeBorder1";
|
|
1234
1956
|
|
|
1235
|
-
export declare const colorPaletteDarkOrangeBorder2
|
|
1957
|
+
export declare const colorPaletteDarkOrangeBorder2 = "--colorPaletteDarkOrangeBorder2";
|
|
1236
1958
|
|
|
1237
|
-
export declare const colorPaletteDarkOrangeBorderActive
|
|
1959
|
+
export declare const colorPaletteDarkOrangeBorderActive = "--colorPaletteDarkOrangeBorderActive";
|
|
1238
1960
|
|
|
1239
|
-
export declare const colorPaletteDarkOrangeForeground1
|
|
1961
|
+
export declare const colorPaletteDarkOrangeForeground1 = "--colorPaletteDarkOrangeForeground1";
|
|
1240
1962
|
|
|
1241
|
-
export declare const colorPaletteDarkOrangeForeground2
|
|
1963
|
+
export declare const colorPaletteDarkOrangeForeground2 = "--colorPaletteDarkOrangeForeground2";
|
|
1242
1964
|
|
|
1243
|
-
export declare const colorPaletteDarkOrangeForeground3
|
|
1965
|
+
export declare const colorPaletteDarkOrangeForeground3 = "--colorPaletteDarkOrangeForeground3";
|
|
1244
1966
|
|
|
1245
|
-
export declare const colorPaletteDarkRedBackground2
|
|
1967
|
+
export declare const colorPaletteDarkRedBackground2 = "--colorPaletteDarkRedBackground2";
|
|
1246
1968
|
|
|
1247
|
-
export declare const colorPaletteDarkRedBorderActive
|
|
1969
|
+
export declare const colorPaletteDarkRedBorderActive = "--colorPaletteDarkRedBorderActive";
|
|
1248
1970
|
|
|
1249
|
-
export declare const colorPaletteDarkRedForeground2
|
|
1971
|
+
export declare const colorPaletteDarkRedForeground2 = "--colorPaletteDarkRedForeground2";
|
|
1250
1972
|
|
|
1251
|
-
export declare const colorPaletteForestBackground2
|
|
1973
|
+
export declare const colorPaletteForestBackground2 = "--colorPaletteForestBackground2";
|
|
1252
1974
|
|
|
1253
|
-
export declare const colorPaletteForestBorderActive
|
|
1975
|
+
export declare const colorPaletteForestBorderActive = "--colorPaletteForestBorderActive";
|
|
1254
1976
|
|
|
1255
|
-
export declare const colorPaletteForestForeground2
|
|
1977
|
+
export declare const colorPaletteForestForeground2 = "--colorPaletteForestForeground2";
|
|
1256
1978
|
|
|
1257
|
-
export declare const colorPaletteGoldBackground2
|
|
1979
|
+
export declare const colorPaletteGoldBackground2 = "--colorPaletteGoldBackground2";
|
|
1258
1980
|
|
|
1259
|
-
export declare const colorPaletteGoldBorderActive
|
|
1981
|
+
export declare const colorPaletteGoldBorderActive = "--colorPaletteGoldBorderActive";
|
|
1260
1982
|
|
|
1261
|
-
export declare const colorPaletteGoldForeground2
|
|
1983
|
+
export declare const colorPaletteGoldForeground2 = "--colorPaletteGoldForeground2";
|
|
1262
1984
|
|
|
1263
|
-
export declare const colorPaletteGrapeBackground2
|
|
1985
|
+
export declare const colorPaletteGrapeBackground2 = "--colorPaletteGrapeBackground2";
|
|
1264
1986
|
|
|
1265
|
-
export declare const colorPaletteGrapeBorderActive
|
|
1987
|
+
export declare const colorPaletteGrapeBorderActive = "--colorPaletteGrapeBorderActive";
|
|
1266
1988
|
|
|
1267
|
-
export declare const colorPaletteGrapeForeground2
|
|
1989
|
+
export declare const colorPaletteGrapeForeground2 = "--colorPaletteGrapeForeground2";
|
|
1268
1990
|
|
|
1269
|
-
export declare const colorPaletteGreenBackground1
|
|
1991
|
+
export declare const colorPaletteGreenBackground1 = "--colorPaletteGreenBackground1";
|
|
1270
1992
|
|
|
1271
|
-
export declare const colorPaletteGreenBackground2
|
|
1993
|
+
export declare const colorPaletteGreenBackground2 = "--colorPaletteGreenBackground2";
|
|
1272
1994
|
|
|
1273
|
-
export declare const colorPaletteGreenBackground3
|
|
1995
|
+
export declare const colorPaletteGreenBackground3 = "--colorPaletteGreenBackground3";
|
|
1274
1996
|
|
|
1275
|
-
export declare const colorPaletteGreenBorder1
|
|
1997
|
+
export declare const colorPaletteGreenBorder1 = "--colorPaletteGreenBorder1";
|
|
1276
1998
|
|
|
1277
|
-
export declare const colorPaletteGreenBorder2
|
|
1999
|
+
export declare const colorPaletteGreenBorder2 = "--colorPaletteGreenBorder2";
|
|
1278
2000
|
|
|
1279
|
-
export declare const colorPaletteGreenBorderActive
|
|
2001
|
+
export declare const colorPaletteGreenBorderActive = "--colorPaletteGreenBorderActive";
|
|
1280
2002
|
|
|
1281
|
-
export declare const colorPaletteGreenForeground1
|
|
2003
|
+
export declare const colorPaletteGreenForeground1 = "--colorPaletteGreenForeground1";
|
|
1282
2004
|
|
|
1283
|
-
export declare const colorPaletteGreenForeground2
|
|
2005
|
+
export declare const colorPaletteGreenForeground2 = "--colorPaletteGreenForeground2";
|
|
1284
2006
|
|
|
1285
|
-
export declare const colorPaletteGreenForeground3
|
|
2007
|
+
export declare const colorPaletteGreenForeground3 = "--colorPaletteGreenForeground3";
|
|
1286
2008
|
|
|
1287
|
-
export declare const colorPaletteGreenForegroundInverted
|
|
2009
|
+
export declare const colorPaletteGreenForegroundInverted = "--colorPaletteGreenForegroundInverted";
|
|
1288
2010
|
|
|
1289
|
-
export declare const colorPaletteLavenderBackground2
|
|
2011
|
+
export declare const colorPaletteLavenderBackground2 = "--colorPaletteLavenderBackground2";
|
|
1290
2012
|
|
|
1291
|
-
export declare const colorPaletteLavenderBorderActive
|
|
2013
|
+
export declare const colorPaletteLavenderBorderActive = "--colorPaletteLavenderBorderActive";
|
|
1292
2014
|
|
|
1293
|
-
export declare const colorPaletteLavenderForeground2
|
|
2015
|
+
export declare const colorPaletteLavenderForeground2 = "--colorPaletteLavenderForeground2";
|
|
1294
2016
|
|
|
1295
|
-
export declare const colorPaletteLightGreenBackground1
|
|
2017
|
+
export declare const colorPaletteLightGreenBackground1 = "--colorPaletteLightGreenBackground1";
|
|
1296
2018
|
|
|
1297
|
-
export declare const colorPaletteLightGreenBackground2
|
|
2019
|
+
export declare const colorPaletteLightGreenBackground2 = "--colorPaletteLightGreenBackground2";
|
|
1298
2020
|
|
|
1299
|
-
export declare const colorPaletteLightGreenBackground3
|
|
2021
|
+
export declare const colorPaletteLightGreenBackground3 = "--colorPaletteLightGreenBackground3";
|
|
1300
2022
|
|
|
1301
|
-
export declare const colorPaletteLightGreenBorder1
|
|
2023
|
+
export declare const colorPaletteLightGreenBorder1 = "--colorPaletteLightGreenBorder1";
|
|
1302
2024
|
|
|
1303
|
-
export declare const colorPaletteLightGreenBorder2
|
|
2025
|
+
export declare const colorPaletteLightGreenBorder2 = "--colorPaletteLightGreenBorder2";
|
|
1304
2026
|
|
|
1305
|
-
export declare const colorPaletteLightGreenBorderActive
|
|
2027
|
+
export declare const colorPaletteLightGreenBorderActive = "--colorPaletteLightGreenBorderActive";
|
|
1306
2028
|
|
|
1307
|
-
export declare const colorPaletteLightGreenForeground1
|
|
2029
|
+
export declare const colorPaletteLightGreenForeground1 = "--colorPaletteLightGreenForeground1";
|
|
1308
2030
|
|
|
1309
|
-
export declare const colorPaletteLightGreenForeground2
|
|
2031
|
+
export declare const colorPaletteLightGreenForeground2 = "--colorPaletteLightGreenForeground2";
|
|
1310
2032
|
|
|
1311
|
-
export declare const colorPaletteLightGreenForeground3
|
|
2033
|
+
export declare const colorPaletteLightGreenForeground3 = "--colorPaletteLightGreenForeground3";
|
|
1312
2034
|
|
|
1313
|
-
export declare const colorPaletteLightTealBackground2
|
|
2035
|
+
export declare const colorPaletteLightTealBackground2 = "--colorPaletteLightTealBackground2";
|
|
1314
2036
|
|
|
1315
|
-
export declare const colorPaletteLightTealBorderActive
|
|
2037
|
+
export declare const colorPaletteLightTealBorderActive = "--colorPaletteLightTealBorderActive";
|
|
1316
2038
|
|
|
1317
|
-
export declare const colorPaletteLightTealForeground2
|
|
2039
|
+
export declare const colorPaletteLightTealForeground2 = "--colorPaletteLightTealForeground2";
|
|
1318
2040
|
|
|
1319
|
-
export declare const colorPaletteLilacBackground2
|
|
2041
|
+
export declare const colorPaletteLilacBackground2 = "--colorPaletteLilacBackground2";
|
|
1320
2042
|
|
|
1321
|
-
export declare const colorPaletteLilacBorderActive
|
|
2043
|
+
export declare const colorPaletteLilacBorderActive = "--colorPaletteLilacBorderActive";
|
|
1322
2044
|
|
|
1323
|
-
export declare const colorPaletteLilacForeground2
|
|
2045
|
+
export declare const colorPaletteLilacForeground2 = "--colorPaletteLilacForeground2";
|
|
1324
2046
|
|
|
1325
|
-
export declare const colorPaletteMagentaBackground2
|
|
2047
|
+
export declare const colorPaletteMagentaBackground2 = "--colorPaletteMagentaBackground2";
|
|
1326
2048
|
|
|
1327
|
-
export declare const colorPaletteMagentaBorderActive
|
|
2049
|
+
export declare const colorPaletteMagentaBorderActive = "--colorPaletteMagentaBorderActive";
|
|
1328
2050
|
|
|
1329
|
-
export declare const colorPaletteMagentaForeground2
|
|
2051
|
+
export declare const colorPaletteMagentaForeground2 = "--colorPaletteMagentaForeground2";
|
|
1330
2052
|
|
|
1331
|
-
export declare const colorPaletteMarigoldBackground1
|
|
2053
|
+
export declare const colorPaletteMarigoldBackground1 = "--colorPaletteMarigoldBackground1";
|
|
1332
2054
|
|
|
1333
|
-
export declare const colorPaletteMarigoldBackground2
|
|
2055
|
+
export declare const colorPaletteMarigoldBackground2 = "--colorPaletteMarigoldBackground2";
|
|
1334
2056
|
|
|
1335
|
-
export declare const colorPaletteMarigoldBackground3
|
|
2057
|
+
export declare const colorPaletteMarigoldBackground3 = "--colorPaletteMarigoldBackground3";
|
|
1336
2058
|
|
|
1337
|
-
export declare const colorPaletteMarigoldBorder1
|
|
2059
|
+
export declare const colorPaletteMarigoldBorder1 = "--colorPaletteMarigoldBorder1";
|
|
1338
2060
|
|
|
1339
|
-
export declare const colorPaletteMarigoldBorder2
|
|
2061
|
+
export declare const colorPaletteMarigoldBorder2 = "--colorPaletteMarigoldBorder2";
|
|
1340
2062
|
|
|
1341
|
-
export declare const colorPaletteMarigoldBorderActive
|
|
2063
|
+
export declare const colorPaletteMarigoldBorderActive = "--colorPaletteMarigoldBorderActive";
|
|
1342
2064
|
|
|
1343
|
-
export declare const colorPaletteMarigoldForeground1
|
|
2065
|
+
export declare const colorPaletteMarigoldForeground1 = "--colorPaletteMarigoldForeground1";
|
|
1344
2066
|
|
|
1345
|
-
export declare const colorPaletteMarigoldForeground2
|
|
2067
|
+
export declare const colorPaletteMarigoldForeground2 = "--colorPaletteMarigoldForeground2";
|
|
1346
2068
|
|
|
1347
|
-
export declare const colorPaletteMarigoldForeground3
|
|
2069
|
+
export declare const colorPaletteMarigoldForeground3 = "--colorPaletteMarigoldForeground3";
|
|
1348
2070
|
|
|
1349
|
-
export declare const colorPaletteMinkBackground2
|
|
2071
|
+
export declare const colorPaletteMinkBackground2 = "--colorPaletteMinkBackground2";
|
|
1350
2072
|
|
|
1351
|
-
export declare const colorPaletteMinkBorderActive
|
|
2073
|
+
export declare const colorPaletteMinkBorderActive = "--colorPaletteMinkBorderActive";
|
|
1352
2074
|
|
|
1353
|
-
export declare const colorPaletteMinkForeground2
|
|
2075
|
+
export declare const colorPaletteMinkForeground2 = "--colorPaletteMinkForeground2";
|
|
1354
2076
|
|
|
1355
|
-
export declare const colorPaletteNavyBackground2
|
|
2077
|
+
export declare const colorPaletteNavyBackground2 = "--colorPaletteNavyBackground2";
|
|
1356
2078
|
|
|
1357
|
-
export declare const colorPaletteNavyBorderActive
|
|
2079
|
+
export declare const colorPaletteNavyBorderActive = "--colorPaletteNavyBorderActive";
|
|
1358
2080
|
|
|
1359
|
-
export declare const colorPaletteNavyForeground2
|
|
2081
|
+
export declare const colorPaletteNavyForeground2 = "--colorPaletteNavyForeground2";
|
|
1360
2082
|
|
|
1361
|
-
export declare const colorPalettePeachBackground2
|
|
2083
|
+
export declare const colorPalettePeachBackground2 = "--colorPalettePeachBackground2";
|
|
1362
2084
|
|
|
1363
|
-
export declare const colorPalettePeachBorderActive
|
|
2085
|
+
export declare const colorPalettePeachBorderActive = "--colorPalettePeachBorderActive";
|
|
1364
2086
|
|
|
1365
|
-
export declare const colorPalettePeachForeground2
|
|
2087
|
+
export declare const colorPalettePeachForeground2 = "--colorPalettePeachForeground2";
|
|
1366
2088
|
|
|
1367
|
-
export declare const colorPalettePinkBackground2
|
|
2089
|
+
export declare const colorPalettePinkBackground2 = "--colorPalettePinkBackground2";
|
|
1368
2090
|
|
|
1369
|
-
export declare const colorPalettePinkBorderActive
|
|
2091
|
+
export declare const colorPalettePinkBorderActive = "--colorPalettePinkBorderActive";
|
|
1370
2092
|
|
|
1371
|
-
export declare const colorPalettePinkForeground2
|
|
2093
|
+
export declare const colorPalettePinkForeground2 = "--colorPalettePinkForeground2";
|
|
1372
2094
|
|
|
1373
|
-
export declare const colorPalettePlatinumBackground2
|
|
2095
|
+
export declare const colorPalettePlatinumBackground2 = "--colorPalettePlatinumBackground2";
|
|
1374
2096
|
|
|
1375
|
-
export declare const colorPalettePlatinumBorderActive
|
|
2097
|
+
export declare const colorPalettePlatinumBorderActive = "--colorPalettePlatinumBorderActive";
|
|
1376
2098
|
|
|
1377
|
-
export declare const colorPalettePlatinumForeground2
|
|
2099
|
+
export declare const colorPalettePlatinumForeground2 = "--colorPalettePlatinumForeground2";
|
|
1378
2100
|
|
|
1379
|
-
export declare const colorPalettePlumBackground2
|
|
2101
|
+
export declare const colorPalettePlumBackground2 = "--colorPalettePlumBackground2";
|
|
1380
2102
|
|
|
1381
|
-
export declare const colorPalettePlumBorderActive
|
|
2103
|
+
export declare const colorPalettePlumBorderActive = "--colorPalettePlumBorderActive";
|
|
1382
2104
|
|
|
1383
|
-
export declare const colorPalettePlumForeground2
|
|
2105
|
+
export declare const colorPalettePlumForeground2 = "--colorPalettePlumForeground2";
|
|
1384
2106
|
|
|
1385
|
-
export declare const colorPalettePumpkinBackground2
|
|
2107
|
+
export declare const colorPalettePumpkinBackground2 = "--colorPalettePumpkinBackground2";
|
|
1386
2108
|
|
|
1387
|
-
export declare const colorPalettePumpkinBorderActive
|
|
2109
|
+
export declare const colorPalettePumpkinBorderActive = "--colorPalettePumpkinBorderActive";
|
|
1388
2110
|
|
|
1389
|
-
export declare const colorPalettePumpkinForeground2
|
|
2111
|
+
export declare const colorPalettePumpkinForeground2 = "--colorPalettePumpkinForeground2";
|
|
1390
2112
|
|
|
1391
|
-
export declare const colorPalettePurpleBackground2
|
|
2113
|
+
export declare const colorPalettePurpleBackground2 = "--colorPalettePurpleBackground2";
|
|
1392
2114
|
|
|
1393
|
-
export declare const colorPalettePurpleBorderActive
|
|
2115
|
+
export declare const colorPalettePurpleBorderActive = "--colorPalettePurpleBorderActive";
|
|
1394
2116
|
|
|
1395
|
-
export declare const colorPalettePurpleForeground2
|
|
2117
|
+
export declare const colorPalettePurpleForeground2 = "--colorPalettePurpleForeground2";
|
|
1396
2118
|
|
|
1397
|
-
export declare const colorPaletteRedBackground1
|
|
2119
|
+
export declare const colorPaletteRedBackground1 = "--colorPaletteRedBackground1";
|
|
1398
2120
|
|
|
1399
|
-
export declare const colorPaletteRedBackground2
|
|
2121
|
+
export declare const colorPaletteRedBackground2 = "--colorPaletteRedBackground2";
|
|
1400
2122
|
|
|
1401
|
-
export declare const colorPaletteRedBackground3
|
|
2123
|
+
export declare const colorPaletteRedBackground3 = "--colorPaletteRedBackground3";
|
|
1402
2124
|
|
|
1403
|
-
export declare const colorPaletteRedBorder1
|
|
2125
|
+
export declare const colorPaletteRedBorder1 = "--colorPaletteRedBorder1";
|
|
1404
2126
|
|
|
1405
|
-
export declare const colorPaletteRedBorder2
|
|
2127
|
+
export declare const colorPaletteRedBorder2 = "--colorPaletteRedBorder2";
|
|
1406
2128
|
|
|
1407
|
-
export declare const colorPaletteRedBorderActive
|
|
2129
|
+
export declare const colorPaletteRedBorderActive = "--colorPaletteRedBorderActive";
|
|
1408
2130
|
|
|
1409
|
-
export declare const colorPaletteRedForeground1
|
|
2131
|
+
export declare const colorPaletteRedForeground1 = "--colorPaletteRedForeground1";
|
|
1410
2132
|
|
|
1411
|
-
export declare const colorPaletteRedForeground2
|
|
2133
|
+
export declare const colorPaletteRedForeground2 = "--colorPaletteRedForeground2";
|
|
1412
2134
|
|
|
1413
|
-
export declare const colorPaletteRedForeground3
|
|
2135
|
+
export declare const colorPaletteRedForeground3 = "--colorPaletteRedForeground3";
|
|
1414
2136
|
|
|
1415
|
-
export declare const colorPaletteRedForegroundInverted
|
|
2137
|
+
export declare const colorPaletteRedForegroundInverted = "--colorPaletteRedForegroundInverted";
|
|
1416
2138
|
|
|
1417
|
-
export declare const colorPaletteRoyalBlueBackground2
|
|
2139
|
+
export declare const colorPaletteRoyalBlueBackground2 = "--colorPaletteRoyalBlueBackground2";
|
|
1418
2140
|
|
|
1419
|
-
export declare const colorPaletteRoyalBlueBorderActive
|
|
2141
|
+
export declare const colorPaletteRoyalBlueBorderActive = "--colorPaletteRoyalBlueBorderActive";
|
|
1420
2142
|
|
|
1421
|
-
export declare const colorPaletteRoyalBlueForeground2
|
|
2143
|
+
export declare const colorPaletteRoyalBlueForeground2 = "--colorPaletteRoyalBlueForeground2";
|
|
1422
2144
|
|
|
1423
|
-
export declare const colorPaletteSeafoamBackground2
|
|
2145
|
+
export declare const colorPaletteSeafoamBackground2 = "--colorPaletteSeafoamBackground2";
|
|
1424
2146
|
|
|
1425
|
-
export declare const colorPaletteSeafoamBorderActive
|
|
2147
|
+
export declare const colorPaletteSeafoamBorderActive = "--colorPaletteSeafoamBorderActive";
|
|
1426
2148
|
|
|
1427
|
-
export declare const colorPaletteSeafoamForeground2
|
|
2149
|
+
export declare const colorPaletteSeafoamForeground2 = "--colorPaletteSeafoamForeground2";
|
|
1428
2150
|
|
|
1429
|
-
export declare const colorPaletteSteelBackground2
|
|
2151
|
+
export declare const colorPaletteSteelBackground2 = "--colorPaletteSteelBackground2";
|
|
1430
2152
|
|
|
1431
|
-
export declare const colorPaletteSteelBorderActive
|
|
2153
|
+
export declare const colorPaletteSteelBorderActive = "--colorPaletteSteelBorderActive";
|
|
1432
2154
|
|
|
1433
|
-
export declare const colorPaletteSteelForeground2
|
|
2155
|
+
export declare const colorPaletteSteelForeground2 = "--colorPaletteSteelForeground2";
|
|
1434
2156
|
|
|
1435
|
-
export declare const colorPaletteTealBackground2
|
|
2157
|
+
export declare const colorPaletteTealBackground2 = "--colorPaletteTealBackground2";
|
|
1436
2158
|
|
|
1437
|
-
export declare const colorPaletteTealBorderActive
|
|
2159
|
+
export declare const colorPaletteTealBorderActive = "--colorPaletteTealBorderActive";
|
|
1438
2160
|
|
|
1439
|
-
export declare const colorPaletteTealForeground2
|
|
2161
|
+
export declare const colorPaletteTealForeground2 = "--colorPaletteTealForeground2";
|
|
1440
2162
|
|
|
1441
|
-
export declare const colorPaletteYellowBackground1
|
|
2163
|
+
export declare const colorPaletteYellowBackground1 = "--colorPaletteYellowBackground1";
|
|
1442
2164
|
|
|
1443
|
-
export declare const colorPaletteYellowBackground2
|
|
2165
|
+
export declare const colorPaletteYellowBackground2 = "--colorPaletteYellowBackground2";
|
|
1444
2166
|
|
|
1445
|
-
export declare const colorPaletteYellowBackground3
|
|
2167
|
+
export declare const colorPaletteYellowBackground3 = "--colorPaletteYellowBackground3";
|
|
1446
2168
|
|
|
1447
|
-
export declare const colorPaletteYellowBorder1
|
|
2169
|
+
export declare const colorPaletteYellowBorder1 = "--colorPaletteYellowBorder1";
|
|
1448
2170
|
|
|
1449
|
-
export declare const colorPaletteYellowBorder2
|
|
2171
|
+
export declare const colorPaletteYellowBorder2 = "--colorPaletteYellowBorder2";
|
|
1450
2172
|
|
|
1451
|
-
export declare const colorPaletteYellowBorderActive
|
|
2173
|
+
export declare const colorPaletteYellowBorderActive = "--colorPaletteYellowBorderActive";
|
|
1452
2174
|
|
|
1453
|
-
export declare const colorPaletteYellowForeground1
|
|
2175
|
+
export declare const colorPaletteYellowForeground1 = "--colorPaletteYellowForeground1";
|
|
1454
2176
|
|
|
1455
|
-
export declare const colorPaletteYellowForeground2
|
|
2177
|
+
export declare const colorPaletteYellowForeground2 = "--colorPaletteYellowForeground2";
|
|
1456
2178
|
|
|
1457
|
-
export declare const colorPaletteYellowForeground3
|
|
2179
|
+
export declare const colorPaletteYellowForeground3 = "--colorPaletteYellowForeground3";
|
|
1458
2180
|
|
|
1459
|
-
export declare const colorPaletteYellowForegroundInverted
|
|
2181
|
+
export declare const colorPaletteYellowForegroundInverted = "--colorPaletteYellowForegroundInverted";
|
|
1460
2182
|
|
|
1461
|
-
export declare const colorScrollbarOverlay
|
|
2183
|
+
export declare const colorScrollbarOverlay = "--colorScrollbarOverlay";
|
|
1462
2184
|
|
|
1463
|
-
export declare const colorStrokeFocus1
|
|
2185
|
+
export declare const colorStrokeFocus1 = "--colorStrokeFocus1";
|
|
1464
2186
|
|
|
1465
|
-
export declare const colorStrokeFocus2
|
|
2187
|
+
export declare const colorStrokeFocus2 = "--colorStrokeFocus2";
|
|
1466
2188
|
|
|
1467
|
-
export declare const colorSubtleBackground
|
|
2189
|
+
export declare const colorSubtleBackground = "--colorSubtleBackground";
|
|
1468
2190
|
|
|
1469
|
-
export declare const colorSubtleBackgroundHover
|
|
2191
|
+
export declare const colorSubtleBackgroundHover = "--colorSubtleBackgroundHover";
|
|
1470
2192
|
|
|
1471
|
-
export declare const colorSubtleBackgroundInverted
|
|
2193
|
+
export declare const colorSubtleBackgroundInverted = "--colorSubtleBackgroundInverted";
|
|
1472
2194
|
|
|
1473
|
-
export declare const colorSubtleBackgroundInvertedHover
|
|
2195
|
+
export declare const colorSubtleBackgroundInvertedHover = "--colorSubtleBackgroundInvertedHover";
|
|
1474
2196
|
|
|
1475
|
-
export declare const colorSubtleBackgroundInvertedPressed
|
|
2197
|
+
export declare const colorSubtleBackgroundInvertedPressed = "--colorSubtleBackgroundInvertedPressed";
|
|
1476
2198
|
|
|
1477
|
-
export declare const colorSubtleBackgroundInvertedSelected
|
|
2199
|
+
export declare const colorSubtleBackgroundInvertedSelected = "--colorSubtleBackgroundInvertedSelected";
|
|
1478
2200
|
|
|
1479
|
-
export declare const colorSubtleBackgroundLightAlphaHover
|
|
2201
|
+
export declare const colorSubtleBackgroundLightAlphaHover = "--colorSubtleBackgroundLightAlphaHover";
|
|
1480
2202
|
|
|
1481
|
-
export declare const colorSubtleBackgroundLightAlphaPressed
|
|
2203
|
+
export declare const colorSubtleBackgroundLightAlphaPressed = "--colorSubtleBackgroundLightAlphaPressed";
|
|
1482
2204
|
|
|
1483
|
-
export declare const colorSubtleBackgroundLightAlphaSelected
|
|
2205
|
+
export declare const colorSubtleBackgroundLightAlphaSelected = "--colorSubtleBackgroundLightAlphaSelected";
|
|
1484
2206
|
|
|
1485
|
-
export declare const colorSubtleBackgroundPressed
|
|
2207
|
+
export declare const colorSubtleBackgroundPressed = "--colorSubtleBackgroundPressed";
|
|
1486
2208
|
|
|
1487
|
-
export declare const colorSubtleBackgroundSelected
|
|
2209
|
+
export declare const colorSubtleBackgroundSelected = "--colorSubtleBackgroundSelected";
|
|
1488
2210
|
|
|
1489
|
-
export declare const colorTransparentBackground
|
|
2211
|
+
export declare const colorTransparentBackground = "--colorTransparentBackground";
|
|
1490
2212
|
|
|
1491
|
-
export declare const colorTransparentBackgroundHover
|
|
2213
|
+
export declare const colorTransparentBackgroundHover = "--colorTransparentBackgroundHover";
|
|
1492
2214
|
|
|
1493
|
-
export declare const colorTransparentBackgroundPressed
|
|
2215
|
+
export declare const colorTransparentBackgroundPressed = "--colorTransparentBackgroundPressed";
|
|
1494
2216
|
|
|
1495
|
-
export declare const colorTransparentBackgroundSelected
|
|
2217
|
+
export declare const colorTransparentBackgroundSelected = "--colorTransparentBackgroundSelected";
|
|
1496
2218
|
|
|
1497
|
-
export declare const colorTransparentStroke
|
|
2219
|
+
export declare const colorTransparentStroke = "--colorTransparentStroke";
|
|
1498
2220
|
|
|
1499
|
-
export declare const colorTransparentStrokeDisabled
|
|
2221
|
+
export declare const colorTransparentStrokeDisabled = "--colorTransparentStrokeDisabled";
|
|
1500
2222
|
|
|
1501
|
-
export declare const colorTransparentStrokeInteractive
|
|
2223
|
+
export declare const colorTransparentStrokeInteractive = "--colorTransparentStrokeInteractive";
|
|
1502
2224
|
|
|
1503
2225
|
/**
|
|
1504
2226
|
* The base class used for constructing a fluent-compound-button custom element
|
|
@@ -1516,6 +2238,10 @@ export declare const CompoundButtonAppearance: {
|
|
|
1516
2238
|
readonly outline: "outline";
|
|
1517
2239
|
readonly subtle: "subtle";
|
|
1518
2240
|
readonly secondary: "secondary";
|
|
2241
|
+
/**
|
|
2242
|
+
* A Compound Button can be secondary, primary, outline, subtle, transparent
|
|
2243
|
+
* @public
|
|
2244
|
+
*/
|
|
1519
2245
|
readonly transparent: "transparent";
|
|
1520
2246
|
};
|
|
1521
2247
|
|
|
@@ -1526,9 +2252,6 @@ export declare const CompoundButtonAppearance: {
|
|
|
1526
2252
|
export declare type CompoundButtonAppearance = ValuesOf<typeof CompoundButtonAppearance>;
|
|
1527
2253
|
|
|
1528
2254
|
/**
|
|
1529
|
-
* The Fluent Compound Button Element. Implements {@link @microsoft/fast-foundation#Button },
|
|
1530
|
-
* {@link @microsoft/fast-foundation#buttonTemplate}
|
|
1531
|
-
*
|
|
1532
2255
|
* @public
|
|
1533
2256
|
* @remarks
|
|
1534
2257
|
* HTML Element: \<fluent-comopund-button\>
|
|
@@ -1557,10 +2280,6 @@ export declare type CompoundButtonShape = ValuesOf<typeof CompoundButtonShape>;
|
|
|
1557
2280
|
*/
|
|
1558
2281
|
export declare const CompoundButtonSize: {
|
|
1559
2282
|
readonly small: "small";
|
|
1560
|
-
/**
|
|
1561
|
-
* A Compound Button can be on of several preset sizes.
|
|
1562
|
-
* @public
|
|
1563
|
-
*/
|
|
1564
2283
|
readonly medium: "medium";
|
|
1565
2284
|
readonly large: "large";
|
|
1566
2285
|
};
|
|
@@ -1579,6 +2298,13 @@ export declare const CompoundButtonStyles: ElementStyles;
|
|
|
1579
2298
|
*/
|
|
1580
2299
|
export declare const CompoundButtonTemplate: ElementViewTemplate<CompoundButton>;
|
|
1581
2300
|
|
|
2301
|
+
/**
|
|
2302
|
+
* Combined type to describe a Constructable Form-Associated type.
|
|
2303
|
+
*
|
|
2304
|
+
* @beta
|
|
2305
|
+
*/
|
|
2306
|
+
declare type ConstructableFormAssociated = Constructable<HTMLElement & FASTElement>;
|
|
2307
|
+
|
|
1582
2308
|
/**
|
|
1583
2309
|
* The base class used for constructing a fluent-badge custom element
|
|
1584
2310
|
* @public
|
|
@@ -1705,10 +2431,6 @@ export declare const CounterBadgeColor: {
|
|
|
1705
2431
|
export declare type CounterBadgeColor = ValuesOf<typeof CounterBadgeColor>;
|
|
1706
2432
|
|
|
1707
2433
|
/**
|
|
1708
|
-
* The Fluent CounterBadge Element. Implements {@link @microsoft/fast-foundation#Badge },
|
|
1709
|
-
* {@link @microsoft/fast-foundation#badgeTemplate}
|
|
1710
|
-
*
|
|
1711
|
-
*
|
|
1712
2434
|
* @public
|
|
1713
2435
|
* @remarks
|
|
1714
2436
|
* HTML Element: \<fluent-counter-badge\>
|
|
@@ -1766,52 +2488,118 @@ export declare const CounterBadgeStyles: ElementStyles;
|
|
|
1766
2488
|
*/
|
|
1767
2489
|
export declare const CounterBadgeTemplate: ElementViewTemplate<CounterBadge>;
|
|
1768
2490
|
|
|
1769
|
-
export declare const curveAccelerateMax
|
|
2491
|
+
export declare const curveAccelerateMax = "--curveAccelerateMax";
|
|
1770
2492
|
|
|
1771
|
-
export declare const curveAccelerateMid
|
|
2493
|
+
export declare const curveAccelerateMid = "--curveAccelerateMid";
|
|
1772
2494
|
|
|
1773
|
-
export declare const curveAccelerateMin
|
|
2495
|
+
export declare const curveAccelerateMin = "--curveAccelerateMin";
|
|
1774
2496
|
|
|
1775
|
-
export declare const curveDecelerateMax
|
|
2497
|
+
export declare const curveDecelerateMax = "--curveDecelerateMax";
|
|
1776
2498
|
|
|
1777
|
-
export declare const curveDecelerateMid
|
|
2499
|
+
export declare const curveDecelerateMid = "--curveDecelerateMid";
|
|
1778
2500
|
|
|
1779
|
-
export declare const curveDecelerateMin
|
|
2501
|
+
export declare const curveDecelerateMin = "--curveDecelerateMin";
|
|
1780
2502
|
|
|
1781
|
-
export declare const curveEasyEase
|
|
2503
|
+
export declare const curveEasyEase = "--curveEasyEase";
|
|
1782
2504
|
|
|
1783
|
-
export declare const curveEasyEaseMax
|
|
2505
|
+
export declare const curveEasyEaseMax = "--curveEasyEaseMax";
|
|
1784
2506
|
|
|
1785
|
-
export declare const curveLinear
|
|
2507
|
+
export declare const curveLinear = "--curveLinear";
|
|
1786
2508
|
|
|
1787
2509
|
/**
|
|
1788
|
-
*
|
|
2510
|
+
* Includes ARIA states and properties relating to the ARIA button role
|
|
1789
2511
|
*
|
|
1790
2512
|
* @public
|
|
1791
|
-
* @extends FASTElement
|
|
1792
2513
|
*/
|
|
1793
|
-
export declare class
|
|
1794
|
-
/**
|
|
1795
|
-
* @private
|
|
1796
|
-
* Indicates whether focus is being trapped within the dialog
|
|
1797
|
-
*/
|
|
1798
|
-
private isTrappingFocus;
|
|
2514
|
+
export declare class DelegatesARIAButton {
|
|
1799
2515
|
/**
|
|
2516
|
+
* See {@link https://www.w3.org/WAI/PF/aria/roles#button} for more information
|
|
1800
2517
|
* @public
|
|
1801
|
-
*
|
|
2518
|
+
* @remarks
|
|
2519
|
+
* HTML Attribute: aria-expanded
|
|
1802
2520
|
*/
|
|
1803
|
-
|
|
2521
|
+
ariaExpanded: 'true' | 'false' | string | null;
|
|
1804
2522
|
/**
|
|
2523
|
+
* See {@link https://www.w3.org/WAI/PF/aria/roles#button} for more information
|
|
1805
2524
|
* @public
|
|
1806
|
-
*
|
|
2525
|
+
* @remarks
|
|
2526
|
+
* HTML Attribute: aria-pressed
|
|
1807
2527
|
*/
|
|
1808
|
-
|
|
2528
|
+
ariaPressed: 'true' | 'false' | 'mixed' | string | null;
|
|
2529
|
+
}
|
|
2530
|
+
|
|
2531
|
+
/**
|
|
2532
|
+
* Mark internal because exporting class and interface of the same name
|
|
2533
|
+
* confuses API documenter.
|
|
2534
|
+
* TODO: https://github.com/microsoft/fast/issues/3317
|
|
2535
|
+
* @internal
|
|
2536
|
+
*/
|
|
2537
|
+
export declare interface DelegatesARIAButton extends ARIAGlobalStatesAndProperties {
|
|
2538
|
+
}
|
|
2539
|
+
|
|
2540
|
+
/**
|
|
2541
|
+
* Includes ARIA states and properties relating to the ARIA link role
|
|
2542
|
+
*
|
|
2543
|
+
* @public
|
|
2544
|
+
*/
|
|
2545
|
+
export declare class DelegatesARIALink {
|
|
1809
2546
|
/**
|
|
2547
|
+
* See {@link https://www.w3.org/WAI/PF/aria/roles#link} for more information
|
|
1810
2548
|
* @public
|
|
1811
|
-
*
|
|
2549
|
+
* @remarks
|
|
2550
|
+
* HTML Attribute: aria-expanded
|
|
1812
2551
|
*/
|
|
1813
|
-
|
|
1814
|
-
|
|
2552
|
+
ariaExpanded: 'true' | 'false' | string | null;
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2555
|
+
/**
|
|
2556
|
+
* Mark internal because exporting class and interface of the same name
|
|
2557
|
+
* confuses API documenter.
|
|
2558
|
+
* TODO: https://github.com/microsoft/fast/issues/3317
|
|
2559
|
+
* @internal
|
|
2560
|
+
*/
|
|
2561
|
+
export declare interface DelegatesARIALink extends ARIAGlobalStatesAndProperties {
|
|
2562
|
+
}
|
|
2563
|
+
|
|
2564
|
+
/**
|
|
2565
|
+
* Includes ARIA states and properties relating to the ARIA textbox role
|
|
2566
|
+
*
|
|
2567
|
+
* @public
|
|
2568
|
+
*/
|
|
2569
|
+
export declare class DelegatesARIATextbox {
|
|
2570
|
+
}
|
|
2571
|
+
|
|
2572
|
+
export declare interface DelegatesARIATextbox extends ARIAGlobalStatesAndProperties {
|
|
2573
|
+
}
|
|
2574
|
+
|
|
2575
|
+
/**
|
|
2576
|
+
* Dialog component that extends the FASTElement class.
|
|
2577
|
+
*
|
|
2578
|
+
* @public
|
|
2579
|
+
* @extends FASTElement
|
|
2580
|
+
*/
|
|
2581
|
+
export declare class Dialog extends FASTElement {
|
|
2582
|
+
/**
|
|
2583
|
+
* @private
|
|
2584
|
+
* Indicates whether focus is being trapped within the dialog
|
|
2585
|
+
*/
|
|
2586
|
+
private isTrappingFocus;
|
|
2587
|
+
/**
|
|
2588
|
+
* @public
|
|
2589
|
+
* Lifecycle method called when the element is connected to the DOM
|
|
2590
|
+
*/
|
|
2591
|
+
connectedCallback(): void;
|
|
2592
|
+
/**
|
|
2593
|
+
* @public
|
|
2594
|
+
* Lifecycle method called when the element is disconnected from the DOM
|
|
2595
|
+
*/
|
|
2596
|
+
disconnectedCallback(): void;
|
|
2597
|
+
/**
|
|
2598
|
+
* @public
|
|
2599
|
+
* The dialog element
|
|
2600
|
+
*/
|
|
2601
|
+
dialog: HTMLDialogElement;
|
|
2602
|
+
/**
|
|
1815
2603
|
* @public
|
|
1816
2604
|
* The title action elements
|
|
1817
2605
|
*/
|
|
@@ -2010,9 +2798,25 @@ export declare const DialogTemplate: ElementViewTemplate<Dialog>;
|
|
|
2010
2798
|
* @class Divider component
|
|
2011
2799
|
*
|
|
2012
2800
|
* @remarks
|
|
2013
|
-
*
|
|
2801
|
+
* 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.
|
|
2014
2802
|
*/
|
|
2015
|
-
export declare class Divider extends
|
|
2803
|
+
export declare class Divider extends FASTElement {
|
|
2804
|
+
/**
|
|
2805
|
+
* The role of the element.
|
|
2806
|
+
*
|
|
2807
|
+
* @public
|
|
2808
|
+
* @remarks
|
|
2809
|
+
* HTML Attribute: role
|
|
2810
|
+
*/
|
|
2811
|
+
role: DividerRole;
|
|
2812
|
+
/**
|
|
2813
|
+
* The orientation of the divider.
|
|
2814
|
+
*
|
|
2815
|
+
* @public
|
|
2816
|
+
* @remarks
|
|
2817
|
+
* HTML Attribute: orientation
|
|
2818
|
+
*/
|
|
2819
|
+
orientation: DividerOrientation;
|
|
2016
2820
|
/**
|
|
2017
2821
|
* @property alignContent
|
|
2018
2822
|
* @default center
|
|
@@ -2078,9 +2882,44 @@ export declare type DividerAppearance = ValuesOf<typeof DividerAppearance>;
|
|
|
2078
2882
|
*/
|
|
2079
2883
|
export declare const DividerDefinition: FASTElementDefinition<typeof Divider>;
|
|
2080
2884
|
|
|
2081
|
-
|
|
2885
|
+
/**
|
|
2886
|
+
* Divider orientation
|
|
2887
|
+
* @public
|
|
2888
|
+
*/
|
|
2889
|
+
export declare const DividerOrientation: {
|
|
2890
|
+
readonly horizontal: "horizontal"; /**
|
|
2891
|
+
* Divider roles
|
|
2892
|
+
* @public
|
|
2893
|
+
*/
|
|
2894
|
+
readonly vertical: "vertical";
|
|
2895
|
+
};
|
|
2896
|
+
|
|
2897
|
+
/**
|
|
2898
|
+
* The types for Divider orientation
|
|
2899
|
+
* @public
|
|
2900
|
+
*/
|
|
2901
|
+
export declare type DividerOrientation = ValuesOf<typeof DividerOrientation>;
|
|
2902
|
+
|
|
2903
|
+
/**
|
|
2904
|
+
* Divider roles
|
|
2905
|
+
* @public
|
|
2906
|
+
*/
|
|
2907
|
+
export declare const DividerRole: {
|
|
2908
|
+
/**
|
|
2909
|
+
* The divider semantically separates content
|
|
2910
|
+
*/
|
|
2911
|
+
readonly separator: "separator";
|
|
2912
|
+
/**
|
|
2913
|
+
* The divider has no semantic value and is for visual presentation only.
|
|
2914
|
+
*/
|
|
2915
|
+
readonly presentation: "presentation";
|
|
2916
|
+
};
|
|
2082
2917
|
|
|
2083
|
-
|
|
2918
|
+
/**
|
|
2919
|
+
* The types for Divider roles
|
|
2920
|
+
* @public
|
|
2921
|
+
*/
|
|
2922
|
+
export declare type DividerRole = ValuesOf<typeof DividerRole>;
|
|
2084
2923
|
|
|
2085
2924
|
/** Divider styles
|
|
2086
2925
|
* @public
|
|
@@ -2093,19 +2932,84 @@ export declare const DividerStyles: ElementStyles;
|
|
|
2093
2932
|
*/
|
|
2094
2933
|
export declare const DividerTemplate: ElementViewTemplate<Divider>;
|
|
2095
2934
|
|
|
2096
|
-
export declare const durationFast
|
|
2935
|
+
export declare const durationFast = "--durationFast";
|
|
2936
|
+
|
|
2937
|
+
export declare const durationFaster = "--durationFaster";
|
|
2938
|
+
|
|
2939
|
+
export declare const durationNormal = "--durationNormal";
|
|
2097
2940
|
|
|
2098
|
-
export declare const
|
|
2941
|
+
export declare const durationSlow = "--durationSlow";
|
|
2099
2942
|
|
|
2100
|
-
export declare const
|
|
2943
|
+
export declare const durationSlower = "--durationSlower";
|
|
2101
2944
|
|
|
2102
|
-
export declare const
|
|
2945
|
+
export declare const durationUltraFast = "--durationUltraFast";
|
|
2103
2946
|
|
|
2104
|
-
export declare const
|
|
2947
|
+
export declare const durationUltraSlow = "--durationUltraSlow";
|
|
2948
|
+
|
|
2949
|
+
/**
|
|
2950
|
+
* Source:
|
|
2951
|
+
* https://html.spec.whatwg.org/multipage/custom-elements.html#elementinternals
|
|
2952
|
+
*/
|
|
2953
|
+
declare interface ElementInternals_2 {
|
|
2954
|
+
/**
|
|
2955
|
+
* Returns the form owner of internals target element.
|
|
2956
|
+
*/
|
|
2957
|
+
readonly form: HTMLFormElement | null;
|
|
2958
|
+
/**
|
|
2959
|
+
* Returns a NodeList of all the label elements that internals target element is associated with.
|
|
2960
|
+
*/
|
|
2961
|
+
readonly labels: NodeList;
|
|
2962
|
+
/**
|
|
2963
|
+
* Returns the error message that would be shown to the user if internals target element was to be checked for validity.
|
|
2964
|
+
*/
|
|
2965
|
+
readonly validationMessage: string;
|
|
2966
|
+
/**
|
|
2967
|
+
* Returns the ValidityState object for internals target element.
|
|
2968
|
+
*/
|
|
2969
|
+
readonly validity: ValidityState;
|
|
2970
|
+
/**
|
|
2971
|
+
* Returns true if internals target element will be validated when the form is submitted; false otherwise.
|
|
2972
|
+
*/
|
|
2973
|
+
readonly willValidate: boolean;
|
|
2974
|
+
/**
|
|
2975
|
+
* Returns true if internals target element has no validity problems; false otherwise. Fires an invalid event at the element in the latter case.
|
|
2976
|
+
*/
|
|
2977
|
+
checkValidity(): boolean;
|
|
2978
|
+
/**
|
|
2979
|
+
* Returns true if internals target element has no validity problems; otherwise,
|
|
2980
|
+
* returns false, fires an invalid event at the element, and (if the event isn't canceled) reports the problem to the user.
|
|
2981
|
+
*/
|
|
2982
|
+
reportValidity(): boolean;
|
|
2983
|
+
/**
|
|
2984
|
+
* Sets both the state and submission value of internals target element to value.
|
|
2985
|
+
*
|
|
2986
|
+
* While "null" isn't enumerated as a argument type (here)[https://html.spec.whatwg.org/multipage/custom-elements.html#the-elementinternals-interface],
|
|
2987
|
+
* In practice it appears to remove the value from the form data on submission. Adding it as a valid type here
|
|
2988
|
+
* becuase that capability is required for checkbox and radio types
|
|
2989
|
+
*/
|
|
2990
|
+
setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
|
|
2991
|
+
/**
|
|
2992
|
+
* Marks internals target element as suffering from the constraints indicated by the flags argument,
|
|
2993
|
+
* and sets the element's validation message to message.
|
|
2994
|
+
* If anchor is specified, the user agent might use
|
|
2995
|
+
* it to indicate problems with the constraints of internals target
|
|
2996
|
+
* element when the form owner is validated interactively or reportValidity() is called.
|
|
2997
|
+
*/
|
|
2998
|
+
setValidity(flags: ValidityStateFlags, message?: string, anchor?: HTMLElement): void;
|
|
2999
|
+
}
|
|
2105
3000
|
|
|
2106
|
-
|
|
3001
|
+
declare let ElementInternals_2: {
|
|
3002
|
+
prototype: ElementInternals_2;
|
|
3003
|
+
new (): ElementInternals_2;
|
|
3004
|
+
};
|
|
2107
3005
|
|
|
2108
|
-
|
|
3006
|
+
/**
|
|
3007
|
+
* End configuration options
|
|
3008
|
+
* @public
|
|
3009
|
+
*/
|
|
3010
|
+
declare type EndOptions<TSource = any, TParent = any> = {
|
|
3011
|
+
end?: StaticallyComposableHTML<TSource, TParent>;
|
|
3012
|
+
};
|
|
2109
3013
|
|
|
2110
3014
|
export declare const FluentDesignSystem: Readonly<{
|
|
2111
3015
|
prefix: "fluent";
|
|
@@ -2113,39 +3017,135 @@ export declare const FluentDesignSystem: Readonly<{
|
|
|
2113
3017
|
registry: CustomElementRegistry;
|
|
2114
3018
|
}>;
|
|
2115
3019
|
|
|
2116
|
-
export declare const fontFamilyBase
|
|
3020
|
+
export declare const fontFamilyBase = "--fontFamilyBase";
|
|
3021
|
+
|
|
3022
|
+
export declare const fontFamilyMonospace = "--fontFamilyMonospace";
|
|
3023
|
+
|
|
3024
|
+
export declare const fontFamilyNumeric = "--fontFamilyNumeric";
|
|
3025
|
+
|
|
3026
|
+
export declare const fontSizeBase100 = "--fontSizeBase100";
|
|
3027
|
+
|
|
3028
|
+
export declare const fontSizeBase200 = "--fontSizeBase200";
|
|
3029
|
+
|
|
3030
|
+
export declare const fontSizeBase300 = "--fontSizeBase300";
|
|
3031
|
+
|
|
3032
|
+
export declare const fontSizeBase400 = "--fontSizeBase400";
|
|
3033
|
+
|
|
3034
|
+
export declare const fontSizeBase500 = "--fontSizeBase500";
|
|
3035
|
+
|
|
3036
|
+
export declare const fontSizeBase600 = "--fontSizeBase600";
|
|
2117
3037
|
|
|
2118
|
-
export declare const
|
|
3038
|
+
export declare const fontSizeHero1000 = "--fontSizeHero1000";
|
|
2119
3039
|
|
|
2120
|
-
export declare const
|
|
3040
|
+
export declare const fontSizeHero700 = "--fontSizeHero700";
|
|
2121
3041
|
|
|
2122
|
-
export declare const
|
|
3042
|
+
export declare const fontSizeHero800 = "--fontSizeHero800";
|
|
2123
3043
|
|
|
2124
|
-
export declare const
|
|
3044
|
+
export declare const fontSizeHero900 = "--fontSizeHero900";
|
|
3045
|
+
|
|
3046
|
+
export declare const fontWeightBold = "--fontWeightBold";
|
|
3047
|
+
|
|
3048
|
+
export declare const fontWeightMedium = "--fontWeightMedium";
|
|
3049
|
+
|
|
3050
|
+
export declare const fontWeightRegular = "--fontWeightRegular";
|
|
3051
|
+
|
|
3052
|
+
export declare const fontWeightSemibold = "--fontWeightSemibold";
|
|
3053
|
+
|
|
3054
|
+
/**
|
|
3055
|
+
* Base function for providing Custom Element Form Association.
|
|
3056
|
+
*
|
|
3057
|
+
* @beta
|
|
3058
|
+
*/
|
|
3059
|
+
declare function FormAssociated<T extends ConstructableFormAssociated>(BaseCtor: T): T;
|
|
3060
|
+
|
|
3061
|
+
/**
|
|
3062
|
+
* Base class for providing Custom Element Form Association.
|
|
3063
|
+
*
|
|
3064
|
+
* @beta
|
|
3065
|
+
*/
|
|
3066
|
+
declare interface FormAssociated extends Omit<ElementInternals_2, 'labels'> {
|
|
3067
|
+
dirtyValue: boolean;
|
|
3068
|
+
disabled: boolean;
|
|
3069
|
+
readonly elementInternals: ElementInternals_2 | null;
|
|
3070
|
+
readonly formAssociated: boolean;
|
|
3071
|
+
initialValue: string;
|
|
3072
|
+
readonly labels: ReadonlyArray<Node[]>;
|
|
3073
|
+
name: string;
|
|
3074
|
+
required: boolean;
|
|
3075
|
+
value: string;
|
|
3076
|
+
currentValue: string;
|
|
3077
|
+
attachProxy(): void;
|
|
3078
|
+
detachProxy(): void;
|
|
3079
|
+
disabledChanged?(previous: boolean, next: boolean): void;
|
|
3080
|
+
formDisabledCallback?(disabled: boolean): void;
|
|
3081
|
+
formResetCallback(): void;
|
|
3082
|
+
initialValueChanged?(previous: string, next: string): void;
|
|
3083
|
+
nameChanged?(previous: string, next: string): void;
|
|
3084
|
+
requiredChanged(prev: boolean, next: boolean): void;
|
|
3085
|
+
stopPropagation(e: Event): void;
|
|
3086
|
+
/**
|
|
3087
|
+
* Sets the validity of the custom element. By default this uses the proxy element to determine
|
|
3088
|
+
* validity, but this can be extended or replaced in implementation.
|
|
3089
|
+
*
|
|
3090
|
+
* @param anchor - The anchor element to provide to ElementInternals.setValidity for surfacing the browser's constraint validation UI
|
|
3091
|
+
*/
|
|
3092
|
+
validate(anchor?: HTMLElement): void;
|
|
3093
|
+
valueChanged(previous: string, next: string): void;
|
|
3094
|
+
}
|
|
2125
3095
|
|
|
2126
|
-
|
|
3096
|
+
/**
|
|
3097
|
+
* @beta
|
|
3098
|
+
*/
|
|
3099
|
+
declare class FormAssociatedButton extends FormAssociatedButton_base {
|
|
3100
|
+
proxy: HTMLInputElement;
|
|
3101
|
+
}
|
|
2127
3102
|
|
|
2128
|
-
|
|
3103
|
+
declare const FormAssociatedButton_base: typeof _Button;
|
|
2129
3104
|
|
|
2130
|
-
|
|
3105
|
+
/**
|
|
3106
|
+
* @beta
|
|
3107
|
+
*/
|
|
3108
|
+
declare class FormAssociatedCheckbox extends FormAssociatedCheckbox_base {
|
|
3109
|
+
proxy: HTMLInputElement;
|
|
3110
|
+
}
|
|
2131
3111
|
|
|
2132
|
-
|
|
3112
|
+
declare const FormAssociatedCheckbox_base: typeof _Checkbox;
|
|
2133
3113
|
|
|
2134
|
-
|
|
3114
|
+
/**
|
|
3115
|
+
* @beta
|
|
3116
|
+
*/
|
|
3117
|
+
declare class FormAssociatedRadio extends FormAssociatedRadio_base {
|
|
3118
|
+
proxy: HTMLInputElement;
|
|
3119
|
+
}
|
|
2135
3120
|
|
|
2136
|
-
|
|
3121
|
+
declare const FormAssociatedRadio_base: typeof _Radio;
|
|
2137
3122
|
|
|
2138
|
-
|
|
3123
|
+
/**
|
|
3124
|
+
* @beta
|
|
3125
|
+
*/
|
|
3126
|
+
declare class FormAssociatedSlider extends FormAssociatedSlider_base {
|
|
3127
|
+
proxy: HTMLInputElement;
|
|
3128
|
+
}
|
|
2139
3129
|
|
|
2140
|
-
|
|
3130
|
+
declare const FormAssociatedSlider_base: typeof _Slider;
|
|
2141
3131
|
|
|
2142
|
-
|
|
3132
|
+
/**
|
|
3133
|
+
* @beta
|
|
3134
|
+
*/
|
|
3135
|
+
declare class FormAssociatedSwitch extends FormAssociatedSwitch_base {
|
|
3136
|
+
proxy: HTMLInputElement;
|
|
3137
|
+
}
|
|
2143
3138
|
|
|
2144
|
-
|
|
3139
|
+
declare const FormAssociatedSwitch_base: typeof _Switch;
|
|
2145
3140
|
|
|
2146
|
-
|
|
3141
|
+
/**
|
|
3142
|
+
* @beta
|
|
3143
|
+
*/
|
|
3144
|
+
declare class FormAssociatedTextField extends FormAssociatedTextField_base {
|
|
3145
|
+
proxy: HTMLInputElement;
|
|
3146
|
+
}
|
|
2147
3147
|
|
|
2148
|
-
|
|
3148
|
+
declare const FormAssociatedTextField_base: typeof _TextField;
|
|
2149
3149
|
|
|
2150
3150
|
/**
|
|
2151
3151
|
* The base class used for constucting a fluent image custom element
|
|
@@ -2333,25 +3333,25 @@ declare const LabelWeight: {
|
|
|
2333
3333
|
*/
|
|
2334
3334
|
declare type LabelWeight = ValuesOf<typeof LabelWeight>;
|
|
2335
3335
|
|
|
2336
|
-
export declare const lineHeightBase100
|
|
3336
|
+
export declare const lineHeightBase100 = "--lineHeightBase100";
|
|
2337
3337
|
|
|
2338
|
-
export declare const lineHeightBase200
|
|
3338
|
+
export declare const lineHeightBase200 = "--lineHeightBase200";
|
|
2339
3339
|
|
|
2340
|
-
export declare const lineHeightBase300
|
|
3340
|
+
export declare const lineHeightBase300 = "--lineHeightBase300";
|
|
2341
3341
|
|
|
2342
|
-
export declare const lineHeightBase400
|
|
3342
|
+
export declare const lineHeightBase400 = "--lineHeightBase400";
|
|
2343
3343
|
|
|
2344
|
-
export declare const lineHeightBase500
|
|
3344
|
+
export declare const lineHeightBase500 = "--lineHeightBase500";
|
|
2345
3345
|
|
|
2346
|
-
export declare const lineHeightBase600
|
|
3346
|
+
export declare const lineHeightBase600 = "--lineHeightBase600";
|
|
2347
3347
|
|
|
2348
|
-
export declare const lineHeightHero1000
|
|
3348
|
+
export declare const lineHeightHero1000 = "--lineHeightHero1000";
|
|
2349
3349
|
|
|
2350
|
-
export declare const lineHeightHero700
|
|
3350
|
+
export declare const lineHeightHero700 = "--lineHeightHero700";
|
|
2351
3351
|
|
|
2352
|
-
export declare const lineHeightHero800
|
|
3352
|
+
export declare const lineHeightHero800 = "--lineHeightHero800";
|
|
2353
3353
|
|
|
2354
|
-
export declare const lineHeightHero900
|
|
3354
|
+
export declare const lineHeightHero900 = "--lineHeightHero900";
|
|
2355
3355
|
|
|
2356
3356
|
/**
|
|
2357
3357
|
* The Menu class represents a menu component.
|
|
@@ -2572,9 +3572,6 @@ export declare const MenuButtonAppearance: {
|
|
|
2572
3572
|
export declare type MenuButtonAppearance = ValuesOf<typeof MenuButtonAppearance>;
|
|
2573
3573
|
|
|
2574
3574
|
/**
|
|
2575
|
-
* The Fluent Menu Button Element. Implements {@link @microsoft/fast-foundation#Button },
|
|
2576
|
-
* {@link @microsoft/fast-foundation#buttonTemplate}
|
|
2577
|
-
*
|
|
2578
3575
|
* @public
|
|
2579
3576
|
* @remarks
|
|
2580
3577
|
* HTML Element: \<fluent-button\>
|
|
@@ -2629,50 +3626,287 @@ export declare const MenuButtonTemplate: ElementViewTemplate<MenuButton>;
|
|
|
2629
3626
|
export declare const MenuDefinition: FASTElementDefinition<typeof Menu>;
|
|
2630
3627
|
|
|
2631
3628
|
/**
|
|
2632
|
-
*
|
|
3629
|
+
* A Switch Custom HTML Element.
|
|
3630
|
+
* Implements {@link https://www.w3.org/TR/wai-aria-1.1/#menuitem | ARIA menuitem }, {@link https://www.w3.org/TR/wai-aria-1.1/#menuitemcheckbox | ARIA menuitemcheckbox}, or {@link https://www.w3.org/TR/wai-aria-1.1/#menuitemradio | ARIA menuitemradio }.
|
|
3631
|
+
*
|
|
3632
|
+
* @slot checked-indicator - The checked indicator
|
|
3633
|
+
* @slot radio-indicator - The radio indicator
|
|
3634
|
+
* @slot start - Content which can be provided before the menu item content
|
|
3635
|
+
* @slot end - Content which can be provided after the menu item content
|
|
3636
|
+
* @slot - The default slot for menu item content
|
|
3637
|
+
* @slot expand-collapse-indicator - The expand/collapse indicator
|
|
3638
|
+
* @slot submenu - Used to nest menu's within menu items
|
|
3639
|
+
* @csspart input-container - The element representing the visual checked or radio indicator
|
|
3640
|
+
* @csspart checkbox - The element wrapping the `menuitemcheckbox` indicator
|
|
3641
|
+
* @csspart radio - The element wrapping the `menuitemradio` indicator
|
|
3642
|
+
* @csspart content - The element wrapping the menu item content
|
|
3643
|
+
* @csspart expand-collapse-glyph-container - The element wrapping the expand collapse element
|
|
3644
|
+
* @csspart expand-collapse - The expand/collapse element
|
|
3645
|
+
* @csspart submenu-region - The container for the submenu, used for positioning
|
|
3646
|
+
* @fires expanded-change - Fires a custom 'expanded-change' event when the expanded state changes
|
|
3647
|
+
* @fires change - Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked
|
|
3648
|
+
*
|
|
2633
3649
|
* @public
|
|
2634
3650
|
*/
|
|
2635
|
-
export declare class MenuItem extends
|
|
3651
|
+
export declare class MenuItem extends FASTElement {
|
|
3652
|
+
/**
|
|
3653
|
+
* The disabled state of the element.
|
|
3654
|
+
*
|
|
3655
|
+
* @public
|
|
3656
|
+
* @remarks
|
|
3657
|
+
* HTML Attribute: disabled
|
|
3658
|
+
*/
|
|
3659
|
+
disabled: boolean;
|
|
3660
|
+
/**
|
|
3661
|
+
* The expanded state of the element.
|
|
3662
|
+
*
|
|
3663
|
+
* @public
|
|
3664
|
+
* @remarks
|
|
3665
|
+
* HTML Attribute: expanded
|
|
3666
|
+
*/
|
|
3667
|
+
expanded: boolean;
|
|
3668
|
+
protected expandedChanged(prev: boolean | undefined, next: boolean): void;
|
|
3669
|
+
/**
|
|
3670
|
+
* The role of the element.
|
|
3671
|
+
*
|
|
3672
|
+
* @public
|
|
3673
|
+
* @remarks
|
|
3674
|
+
* HTML Attribute: role
|
|
3675
|
+
*/
|
|
3676
|
+
role: MenuItemRole;
|
|
3677
|
+
/**
|
|
3678
|
+
* Cleanup function for the submenu positioner.
|
|
3679
|
+
*
|
|
3680
|
+
* @public
|
|
3681
|
+
*/
|
|
3682
|
+
cleanup: () => void;
|
|
3683
|
+
/**
|
|
3684
|
+
* The checked value of the element.
|
|
3685
|
+
*
|
|
3686
|
+
* @public
|
|
3687
|
+
* @remarks
|
|
3688
|
+
* HTML Attribute: checked
|
|
3689
|
+
*/
|
|
3690
|
+
checked: boolean;
|
|
3691
|
+
protected checkedChanged(oldValue: boolean, newValue: boolean): void;
|
|
3692
|
+
/**
|
|
3693
|
+
* The hidden attribute.
|
|
3694
|
+
*
|
|
3695
|
+
* @public
|
|
3696
|
+
* @remarks
|
|
3697
|
+
* HTML Attribute: hidden
|
|
3698
|
+
*/
|
|
3699
|
+
hidden: boolean;
|
|
3700
|
+
/**
|
|
3701
|
+
* The submenu slotted content.
|
|
3702
|
+
*
|
|
3703
|
+
* @internal
|
|
3704
|
+
*/
|
|
3705
|
+
slottedSubmenu: HTMLElement[];
|
|
3706
|
+
/**
|
|
3707
|
+
* @internal
|
|
3708
|
+
*/
|
|
3709
|
+
get hasSubmenu(): boolean;
|
|
3710
|
+
/**
|
|
3711
|
+
* Sets the submenu and updates its position.
|
|
3712
|
+
*
|
|
3713
|
+
* @internal
|
|
3714
|
+
*/
|
|
3715
|
+
protected slottedSubmenuChanged(prev: HTMLElement[] | undefined, next: HTMLElement[]): void;
|
|
3716
|
+
/**
|
|
3717
|
+
* The container for the submenu.
|
|
3718
|
+
*
|
|
3719
|
+
* @internal
|
|
3720
|
+
*/
|
|
3721
|
+
submenuContainer: HTMLDivElement;
|
|
3722
|
+
/**
|
|
3723
|
+
* @internal
|
|
3724
|
+
*/
|
|
3725
|
+
submenu: HTMLElement | undefined;
|
|
3726
|
+
private focusSubmenuOnLoad;
|
|
3727
|
+
/**
|
|
3728
|
+
* @internal
|
|
3729
|
+
*/
|
|
3730
|
+
disconnectedCallback(): void;
|
|
3731
|
+
/**
|
|
3732
|
+
* @internal
|
|
3733
|
+
*/
|
|
3734
|
+
handleMenuItemKeyDown: (e: KeyboardEvent) => boolean;
|
|
3735
|
+
/**
|
|
3736
|
+
* @internal
|
|
3737
|
+
*/
|
|
3738
|
+
handleMenuItemClick: (e: MouseEvent) => boolean;
|
|
3739
|
+
/**
|
|
3740
|
+
* @internal
|
|
3741
|
+
*/
|
|
3742
|
+
submenuLoaded: () => void;
|
|
3743
|
+
/**
|
|
3744
|
+
* @internal
|
|
3745
|
+
*/
|
|
3746
|
+
handleMouseOver: (e: MouseEvent) => boolean;
|
|
3747
|
+
/**
|
|
3748
|
+
* @internal
|
|
3749
|
+
*/
|
|
3750
|
+
handleMouseOut: (e: MouseEvent) => boolean;
|
|
3751
|
+
/**
|
|
3752
|
+
* @internal
|
|
3753
|
+
*/
|
|
3754
|
+
private closeSubMenu;
|
|
3755
|
+
/**
|
|
3756
|
+
* @internal
|
|
3757
|
+
*/
|
|
3758
|
+
private expandAndFocus;
|
|
3759
|
+
/**
|
|
3760
|
+
* @internal
|
|
3761
|
+
*/
|
|
3762
|
+
private invoke;
|
|
3763
|
+
/**
|
|
3764
|
+
* Calculate and apply submenu positioning.
|
|
3765
|
+
*
|
|
3766
|
+
* @public
|
|
3767
|
+
*/
|
|
3768
|
+
updateSubmenu(): void;
|
|
3769
|
+
}
|
|
3770
|
+
|
|
3771
|
+
/**
|
|
3772
|
+
* Mark internal because exporting class and interface of the same name
|
|
3773
|
+
* confuses API documenter.
|
|
3774
|
+
* TODO: https://github.com/microsoft/fast/issues/3317
|
|
3775
|
+
* @internal
|
|
3776
|
+
*/
|
|
3777
|
+
export declare interface MenuItem extends StartEnd {
|
|
2636
3778
|
}
|
|
2637
3779
|
|
|
2638
3780
|
export declare type MenuItemColumnCount = 0 | 1 | 2;
|
|
2639
3781
|
|
|
2640
3782
|
/**
|
|
2641
|
-
* The Fluent Menu Item Element. Implements {@link @microsoft/fast-foundation#MenuItem },
|
|
2642
|
-
* {@link @microsoft/fast-foundation#menuItemTemplate}
|
|
2643
|
-
*
|
|
2644
|
-
*
|
|
2645
3783
|
* @public
|
|
2646
3784
|
* @remarks
|
|
2647
3785
|
* HTML Element: <fluent-menu-item>
|
|
2648
3786
|
*/
|
|
2649
3787
|
export declare const MenuItemDefinition: FASTElementDefinition<typeof MenuItem>;
|
|
2650
3788
|
|
|
2651
|
-
export { MenuItemRole }
|
|
2652
|
-
|
|
2653
|
-
/** MenuItem styles
|
|
2654
|
-
* @public
|
|
2655
|
-
*/
|
|
2656
|
-
export declare const MenuItemStyles: ElementStyles;
|
|
2657
|
-
|
|
2658
|
-
export declare const MenuItemTemplate: ElementViewTemplate<MenuItem>;
|
|
2659
|
-
|
|
2660
3789
|
/**
|
|
2661
|
-
*
|
|
3790
|
+
* Menu Item configuration options
|
|
2662
3791
|
* @public
|
|
2663
3792
|
*/
|
|
2664
|
-
export declare
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
3793
|
+
export declare type MenuItemOptions = StartEndOptions<MenuItem> & {
|
|
3794
|
+
checkboxIndicator?: StaticallyComposableHTML<MenuItem>;
|
|
3795
|
+
expandCollapseGlyph?: StaticallyComposableHTML<MenuItem>;
|
|
3796
|
+
radioIndicator?: StaticallyComposableHTML<MenuItem>;
|
|
3797
|
+
};
|
|
2668
3798
|
|
|
2669
3799
|
/**
|
|
2670
|
-
*
|
|
2671
|
-
* {@link @microsoft/fast-foundation#menuTemplate}
|
|
2672
|
-
*
|
|
2673
|
-
*
|
|
3800
|
+
* Menu items roles.
|
|
2674
3801
|
* @public
|
|
2675
|
-
|
|
3802
|
+
*/
|
|
3803
|
+
export declare const MenuItemRole: {
|
|
3804
|
+
/**
|
|
3805
|
+
* The menu item has a "menuitem" role
|
|
3806
|
+
*/
|
|
3807
|
+
readonly menuitem: "menuitem";
|
|
3808
|
+
/**
|
|
3809
|
+
* The menu item has a "menuitemcheckbox" role
|
|
3810
|
+
*/
|
|
3811
|
+
readonly menuitemcheckbox: "menuitemcheckbox";
|
|
3812
|
+
/**
|
|
3813
|
+
* The menu item has a "menuitemradio" role
|
|
3814
|
+
*/
|
|
3815
|
+
readonly menuitemradio: "menuitemradio";
|
|
3816
|
+
};
|
|
3817
|
+
|
|
3818
|
+
/**
|
|
3819
|
+
* The types for menu item roles
|
|
3820
|
+
* @public
|
|
3821
|
+
*/
|
|
3822
|
+
export declare type MenuItemRole = ValuesOf<typeof MenuItemRole>;
|
|
3823
|
+
|
|
3824
|
+
/** MenuItem styles
|
|
3825
|
+
* @public
|
|
3826
|
+
*/
|
|
3827
|
+
export declare const MenuItemStyles: ElementStyles;
|
|
3828
|
+
|
|
3829
|
+
export declare const MenuItemTemplate: ElementViewTemplate<MenuItem>;
|
|
3830
|
+
|
|
3831
|
+
/**
|
|
3832
|
+
* A Menu Custom HTML Element.
|
|
3833
|
+
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#menu | ARIA menu }.
|
|
3834
|
+
*
|
|
3835
|
+
* @slot - The default slot for the menu items
|
|
3836
|
+
*
|
|
3837
|
+
* @public
|
|
3838
|
+
*/
|
|
3839
|
+
export declare class MenuList extends FASTElement {
|
|
3840
|
+
/**
|
|
3841
|
+
* @internal
|
|
3842
|
+
*/
|
|
3843
|
+
items: HTMLElement[];
|
|
3844
|
+
protected itemsChanged(oldValue: HTMLElement[], newValue: HTMLElement[]): void;
|
|
3845
|
+
protected menuItems: Element[] | undefined;
|
|
3846
|
+
private expandedItem;
|
|
3847
|
+
/**
|
|
3848
|
+
* The index of the focusable element in the items array
|
|
3849
|
+
* defaults to -1
|
|
3850
|
+
*/
|
|
3851
|
+
private focusIndex;
|
|
3852
|
+
private static focusableElementRoles;
|
|
3853
|
+
/**
|
|
3854
|
+
* @internal
|
|
3855
|
+
*/
|
|
3856
|
+
connectedCallback(): void;
|
|
3857
|
+
/**
|
|
3858
|
+
* @internal
|
|
3859
|
+
*/
|
|
3860
|
+
disconnectedCallback(): void;
|
|
3861
|
+
/**
|
|
3862
|
+
* @internal
|
|
3863
|
+
*/
|
|
3864
|
+
readonly isNestedMenu: () => boolean;
|
|
3865
|
+
/**
|
|
3866
|
+
* Focuses the first item in the menu.
|
|
3867
|
+
*
|
|
3868
|
+
* @public
|
|
3869
|
+
*/
|
|
3870
|
+
focus(): void;
|
|
3871
|
+
/**
|
|
3872
|
+
* Collapses any expanded menu items.
|
|
3873
|
+
*
|
|
3874
|
+
* @public
|
|
3875
|
+
*/
|
|
3876
|
+
collapseExpandedItem(): void;
|
|
3877
|
+
/**
|
|
3878
|
+
* @internal
|
|
3879
|
+
*/
|
|
3880
|
+
handleMenuKeyDown(e: KeyboardEvent): void | boolean;
|
|
3881
|
+
/**
|
|
3882
|
+
* if focus is moving out of the menu, reset to a stable initial state
|
|
3883
|
+
* @internal
|
|
3884
|
+
*/
|
|
3885
|
+
handleFocusOut: (e: FocusEvent) => void;
|
|
3886
|
+
private handleItemFocus;
|
|
3887
|
+
private handleExpandedChanged;
|
|
3888
|
+
private removeItemListeners;
|
|
3889
|
+
private static elementIndent;
|
|
3890
|
+
protected setItems(): void;
|
|
3891
|
+
handleChange(source: any, propertyName: string): void;
|
|
3892
|
+
/**
|
|
3893
|
+
* handle change from child element
|
|
3894
|
+
*/
|
|
3895
|
+
private changeHandler;
|
|
3896
|
+
/**
|
|
3897
|
+
* check if the item is a menu item
|
|
3898
|
+
*/
|
|
3899
|
+
protected isMenuItemElement: (el: Element) => el is HTMLElement;
|
|
3900
|
+
/**
|
|
3901
|
+
* check if the item is focusable
|
|
3902
|
+
*/
|
|
3903
|
+
private isFocusableElement;
|
|
3904
|
+
private setFocus;
|
|
3905
|
+
}
|
|
3906
|
+
|
|
3907
|
+
/**
|
|
3908
|
+
* @public
|
|
3909
|
+
* @remarks
|
|
2676
3910
|
* HTML Element: <fluent-menu-list>
|
|
2677
3911
|
*/
|
|
2678
3912
|
export declare const MenuListDefinition: FASTElementDefinition<typeof MenuList>;
|
|
@@ -2692,10 +3926,17 @@ export declare const MenuStyles: ElementStyles;
|
|
|
2692
3926
|
export declare const MenuTemplate: ElementViewTemplate<Menu>;
|
|
2693
3927
|
|
|
2694
3928
|
/**
|
|
2695
|
-
*
|
|
3929
|
+
* An Progress HTML Element.
|
|
3930
|
+
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#progressbar | ARIA progressbar }.
|
|
3931
|
+
*
|
|
3932
|
+
* @slot indeterminate - The slot for a custom indeterminate indicator
|
|
3933
|
+
* @csspart progress - Represents the progress element
|
|
3934
|
+
* @csspart determinate - The determinate indicator
|
|
3935
|
+
* @csspart indeterminate - The indeterminate indicator
|
|
3936
|
+
*
|
|
2696
3937
|
* @public
|
|
2697
3938
|
*/
|
|
2698
|
-
declare class ProgressBar_2 extends
|
|
3939
|
+
declare class ProgressBar_2 extends BaseProgress {
|
|
2699
3940
|
/**
|
|
2700
3941
|
* The thickness of the progress bar
|
|
2701
3942
|
*
|
|
@@ -2785,12 +4026,86 @@ export declare const ProgressBarValidationState: {
|
|
|
2785
4026
|
export declare type ProgressBarValidationState = ValuesOf<typeof ProgressBarValidationState>;
|
|
2786
4027
|
|
|
2787
4028
|
/**
|
|
2788
|
-
*
|
|
4029
|
+
* Progress configuration options
|
|
4030
|
+
* @public
|
|
4031
|
+
*/
|
|
4032
|
+
export declare type ProgressOptions = {
|
|
4033
|
+
indeterminateIndicator1?: StaticallyComposableHTML<ProgressBar_2>;
|
|
4034
|
+
indeterminateIndicator2?: StaticallyComposableHTML<ProgressBar_2>;
|
|
4035
|
+
};
|
|
4036
|
+
|
|
4037
|
+
/**
|
|
4038
|
+
* An circular Progress HTML Element.
|
|
4039
|
+
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#progressbar | ARIA progressbar }.
|
|
4040
|
+
*
|
|
4041
|
+
* @slot indeterminate - The slot for a custom indeterminate indicator
|
|
4042
|
+
* @slot determinate - The slot for a custom determinate indicator
|
|
4043
|
+
* @csspart progress - Represents the progress element
|
|
4044
|
+
* @csspart determinate - The determinate indicator
|
|
4045
|
+
* @csspart background - The background
|
|
4046
|
+
*
|
|
2789
4047
|
* @public
|
|
2790
4048
|
*/
|
|
2791
|
-
|
|
4049
|
+
declare class ProgressRing extends BaseProgress {
|
|
4050
|
+
}
|
|
4051
|
+
|
|
4052
|
+
/**
|
|
4053
|
+
* A Radio Custom HTML Element.
|
|
4054
|
+
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#radio | ARIA radio }.
|
|
4055
|
+
*
|
|
4056
|
+
* @slot checked-indicator - The checked indicator
|
|
4057
|
+
* @slot - The default slot for the label
|
|
4058
|
+
* @csspart control - The element representing the visual radio control
|
|
4059
|
+
* @csspart label - The label
|
|
4060
|
+
* @fires change - Emits a custom change event when the checked state changes
|
|
4061
|
+
*
|
|
4062
|
+
* @public
|
|
4063
|
+
*/
|
|
4064
|
+
export declare class Radio extends FormAssociatedRadio implements RadioControl {
|
|
4065
|
+
/**
|
|
4066
|
+
* The name of the radio. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname | name attribute} for more info.
|
|
4067
|
+
*/
|
|
4068
|
+
name: string;
|
|
4069
|
+
/**
|
|
4070
|
+
* The element's value to be included in form submission when checked.
|
|
4071
|
+
* Default to "on" to reach parity with input[type="radio"]
|
|
4072
|
+
*
|
|
4073
|
+
* @internal
|
|
4074
|
+
*/
|
|
4075
|
+
initialValue: string;
|
|
4076
|
+
/**
|
|
4077
|
+
* @internal
|
|
4078
|
+
*/
|
|
4079
|
+
defaultSlottedNodes: Node[];
|
|
4080
|
+
private get radioGroup();
|
|
4081
|
+
/**
|
|
4082
|
+
* @internal
|
|
4083
|
+
*/
|
|
4084
|
+
defaultCheckedChanged(): void;
|
|
4085
|
+
constructor();
|
|
4086
|
+
/**
|
|
4087
|
+
* @internal
|
|
4088
|
+
*/
|
|
4089
|
+
connectedCallback(): void;
|
|
4090
|
+
private isInsideRadioGroup;
|
|
4091
|
+
/**
|
|
4092
|
+
* Handles key presses on the radio.
|
|
4093
|
+
* @beta
|
|
4094
|
+
*/
|
|
4095
|
+
keypressHandler(e: KeyboardEvent): boolean | void;
|
|
4096
|
+
}
|
|
4097
|
+
|
|
4098
|
+
declare class _Radio extends FASTElement {
|
|
4099
|
+
}
|
|
4100
|
+
|
|
4101
|
+
declare interface _Radio extends CheckableFormAssociated {
|
|
2792
4102
|
}
|
|
2793
4103
|
|
|
4104
|
+
/**
|
|
4105
|
+
* @public
|
|
4106
|
+
*/
|
|
4107
|
+
export declare type RadioControl = Pick<HTMLInputElement, 'checked' | 'disabled' | 'focus' | 'setAttribute' | 'getAttribute'>;
|
|
4108
|
+
|
|
2794
4109
|
/**
|
|
2795
4110
|
* The Fluent Radio Element.
|
|
2796
4111
|
*
|
|
@@ -2802,112 +4117,470 @@ export declare class Radio extends FASTRadio {
|
|
|
2802
4117
|
export declare const RadioDefinition: FASTElementDefinition<typeof Radio>;
|
|
2803
4118
|
|
|
2804
4119
|
/**
|
|
2805
|
-
* The base class used for constructing a fluent-radio-group custom element
|
|
4120
|
+
* The base class used for constructing a fluent-radio-group custom element
|
|
4121
|
+
* @public
|
|
4122
|
+
*/
|
|
4123
|
+
export declare class RadioGroup extends FASTElement {
|
|
4124
|
+
/**
|
|
4125
|
+
* sets radio layout styles
|
|
4126
|
+
*
|
|
4127
|
+
* @public
|
|
4128
|
+
* @remarks
|
|
4129
|
+
* HTML Attribute: stacked
|
|
4130
|
+
*/
|
|
4131
|
+
stacked: boolean;
|
|
4132
|
+
/**
|
|
4133
|
+
* When true, the child radios will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.
|
|
4134
|
+
* @public
|
|
4135
|
+
* @remarks
|
|
4136
|
+
* HTML Attribute: readonly
|
|
4137
|
+
*/
|
|
4138
|
+
readOnly: boolean;
|
|
4139
|
+
/**
|
|
4140
|
+
* Disables the radio group and child radios.
|
|
4141
|
+
*
|
|
4142
|
+
* @public
|
|
4143
|
+
* @remarks
|
|
4144
|
+
* HTML Attribute: disabled
|
|
4145
|
+
*/
|
|
4146
|
+
disabled: boolean;
|
|
4147
|
+
/**
|
|
4148
|
+
* The name of the radio group. Setting this value will set the name value
|
|
4149
|
+
* for all child radio elements.
|
|
4150
|
+
*
|
|
4151
|
+
* @public
|
|
4152
|
+
* @remarks
|
|
4153
|
+
* HTML Attribute: name
|
|
4154
|
+
*/
|
|
4155
|
+
name: string;
|
|
4156
|
+
protected nameChanged(): void;
|
|
4157
|
+
/**
|
|
4158
|
+
* The value of the checked radio
|
|
4159
|
+
*
|
|
4160
|
+
* @public
|
|
4161
|
+
* @remarks
|
|
4162
|
+
* HTML Attribute: value
|
|
4163
|
+
*/
|
|
4164
|
+
value: string;
|
|
4165
|
+
protected valueChanged(): void;
|
|
4166
|
+
/**
|
|
4167
|
+
* The orientation of the group
|
|
4168
|
+
*
|
|
4169
|
+
* @public
|
|
4170
|
+
* @remarks
|
|
4171
|
+
* HTML Attribute: orientation
|
|
4172
|
+
*/
|
|
4173
|
+
orientation: RadioGroupOrientation;
|
|
4174
|
+
childItems: HTMLElement[];
|
|
4175
|
+
/**
|
|
4176
|
+
* @internal
|
|
4177
|
+
*/
|
|
4178
|
+
slottedRadioButtons: HTMLElement[];
|
|
4179
|
+
protected slottedRadioButtonsChanged(oldValue: unknown, newValue: HTMLElement[]): void;
|
|
4180
|
+
private selectedRadio;
|
|
4181
|
+
private focusedRadio;
|
|
4182
|
+
private direction;
|
|
4183
|
+
private get parentToolbar();
|
|
4184
|
+
private get isInsideToolbar();
|
|
4185
|
+
private get isInsideFoundationToolbar();
|
|
4186
|
+
/**
|
|
4187
|
+
* @internal
|
|
4188
|
+
*/
|
|
4189
|
+
connectedCallback(): void;
|
|
4190
|
+
disconnectedCallback(): void;
|
|
4191
|
+
private setupRadioButtons;
|
|
4192
|
+
private radioChangeHandler;
|
|
4193
|
+
private moveToRadioByIndex;
|
|
4194
|
+
private moveRightOffGroup;
|
|
4195
|
+
private moveLeftOffGroup;
|
|
4196
|
+
/**
|
|
4197
|
+
* @internal
|
|
4198
|
+
*/
|
|
4199
|
+
focusOutHandler: (e: FocusEvent) => boolean | void;
|
|
4200
|
+
/**
|
|
4201
|
+
* @internal
|
|
4202
|
+
*/
|
|
4203
|
+
handleDisabledClick: (e: MouseEvent) => void | boolean;
|
|
4204
|
+
/**
|
|
4205
|
+
* @internal
|
|
4206
|
+
*/
|
|
4207
|
+
clickHandler: (e: MouseEvent) => void | boolean;
|
|
4208
|
+
private shouldMoveOffGroupToTheRight;
|
|
4209
|
+
private shouldMoveOffGroupToTheLeft;
|
|
4210
|
+
private checkFocusedRadio;
|
|
4211
|
+
private moveRight;
|
|
4212
|
+
private moveLeft;
|
|
4213
|
+
/**
|
|
4214
|
+
* keyboard handling per https://w3c.github.io/aria-practices/#for-radio-groups-not-contained-in-a-toolbar
|
|
4215
|
+
* navigation is different when there is an ancestor with role='toolbar'
|
|
4216
|
+
*
|
|
4217
|
+
* @internal
|
|
4218
|
+
*/
|
|
4219
|
+
keydownHandler: (e: KeyboardEvent) => boolean | void;
|
|
4220
|
+
}
|
|
4221
|
+
|
|
4222
|
+
/**
|
|
4223
|
+
* The Fluent RadioGroup Element.
|
|
4224
|
+
*
|
|
4225
|
+
*
|
|
4226
|
+
* @public
|
|
4227
|
+
* @remarks
|
|
4228
|
+
* HTML Element: \<fluent-radio-group\>
|
|
4229
|
+
*/
|
|
4230
|
+
export declare const RadioGroupDefinition: FASTElementDefinition<typeof RadioGroup>;
|
|
4231
|
+
|
|
4232
|
+
/**
|
|
4233
|
+
* Radio Group orientation
|
|
4234
|
+
* @public
|
|
4235
|
+
*/
|
|
4236
|
+
declare const RadioGroupOrientation: {
|
|
4237
|
+
readonly horizontal: "horizontal"; /**
|
|
4238
|
+
* Radio Group orientation
|
|
4239
|
+
* @public
|
|
4240
|
+
*/
|
|
4241
|
+
readonly vertical: "vertical";
|
|
4242
|
+
};
|
|
4243
|
+
|
|
4244
|
+
/**
|
|
4245
|
+
* Types of Radio Group orientation
|
|
4246
|
+
* @public
|
|
4247
|
+
*/
|
|
4248
|
+
declare type RadioGroupOrientation = ValuesOf<typeof RadioGroupOrientation>;
|
|
4249
|
+
|
|
4250
|
+
/** RadioGroup styles
|
|
4251
|
+
* @public
|
|
4252
|
+
*/
|
|
4253
|
+
export declare const RadioGroupStyles: ElementStyles;
|
|
4254
|
+
|
|
4255
|
+
export declare const RadioGroupTemplate: ElementViewTemplate<RadioGroup>;
|
|
4256
|
+
|
|
4257
|
+
/**
|
|
4258
|
+
* Radio configuration options
|
|
4259
|
+
* @public
|
|
4260
|
+
*/
|
|
4261
|
+
export declare type RadioOptions = {
|
|
4262
|
+
checkedIndicator?: StaticallyComposableHTML<Radio>;
|
|
4263
|
+
};
|
|
4264
|
+
|
|
4265
|
+
/** Radio styles
|
|
4266
|
+
* @public
|
|
4267
|
+
*/
|
|
4268
|
+
export declare const RadioStyles: ElementStyles;
|
|
4269
|
+
|
|
4270
|
+
export declare const RadioTemplate: ElementViewTemplate<Radio>;
|
|
4271
|
+
|
|
4272
|
+
/**
|
|
4273
|
+
* @internal
|
|
4274
|
+
*/
|
|
4275
|
+
export declare const roleForMenuItem: {
|
|
4276
|
+
[value in keyof typeof MenuItemRole]: typeof MenuItemRole[value];
|
|
4277
|
+
};
|
|
4278
|
+
|
|
4279
|
+
/**
|
|
4280
|
+
* Sets the theme tokens on defaultNode.
|
|
4281
|
+
* @param theme Flat object of theme token values.
|
|
4282
|
+
*/
|
|
4283
|
+
export declare const setTheme: (theme: Theme) => void;
|
|
4284
|
+
|
|
4285
|
+
export declare const setThemeFor: (element: HTMLElement, theme: Theme) => void;
|
|
4286
|
+
|
|
4287
|
+
export declare const shadow16 = "--shadow16";
|
|
4288
|
+
|
|
4289
|
+
export declare const shadow16Brand = "--shadow16Brand";
|
|
4290
|
+
|
|
4291
|
+
export declare const shadow2 = "--shadow2";
|
|
4292
|
+
|
|
4293
|
+
export declare const shadow28 = "--shadow28";
|
|
4294
|
+
|
|
4295
|
+
export declare const shadow28Brand = "--shadow28Brand";
|
|
4296
|
+
|
|
4297
|
+
export declare const shadow2Brand = "--shadow2Brand";
|
|
4298
|
+
|
|
4299
|
+
export declare const shadow4 = "--shadow4";
|
|
4300
|
+
|
|
4301
|
+
export declare const shadow4Brand = "--shadow4Brand";
|
|
4302
|
+
|
|
4303
|
+
export declare const shadow64 = "--shadow64";
|
|
4304
|
+
|
|
4305
|
+
export declare const shadow64Brand = "--shadow64Brand";
|
|
4306
|
+
|
|
4307
|
+
export declare const shadow8 = "--shadow8";
|
|
4308
|
+
|
|
4309
|
+
export declare const shadow8Brand = "--shadow8Brand";
|
|
4310
|
+
|
|
4311
|
+
/**
|
|
4312
|
+
* The base class used for constructing a fluent-slider custom element
|
|
4313
|
+
* @public
|
|
4314
|
+
*/
|
|
4315
|
+
export declare class Slider extends FormAssociatedSlider implements SliderConfiguration {
|
|
4316
|
+
/**
|
|
4317
|
+
* The size of the slider
|
|
4318
|
+
* @public
|
|
4319
|
+
* @remarks
|
|
4320
|
+
* HTML Attribute: size
|
|
4321
|
+
*/
|
|
4322
|
+
size?: SliderSize;
|
|
4323
|
+
handleChange(source: any, propertyName: string): void;
|
|
4324
|
+
private stepStyles?;
|
|
4325
|
+
/**
|
|
4326
|
+
* Handles changes to step styling based on the step value
|
|
4327
|
+
* NOTE: This function is not a changed callback, stepStyles is not observable
|
|
4328
|
+
*/
|
|
4329
|
+
private handleStepStyles;
|
|
4330
|
+
/**
|
|
4331
|
+
* When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.
|
|
4332
|
+
*
|
|
4333
|
+
* @public
|
|
4334
|
+
* @remarks
|
|
4335
|
+
* HTML Attribute: readonly
|
|
4336
|
+
*/
|
|
4337
|
+
readOnly: boolean;
|
|
4338
|
+
protected readOnlyChanged(): void;
|
|
4339
|
+
/**
|
|
4340
|
+
* @internal
|
|
4341
|
+
*/
|
|
4342
|
+
track: HTMLDivElement;
|
|
4343
|
+
/**
|
|
4344
|
+
* @internal
|
|
4345
|
+
*/
|
|
4346
|
+
thumb: HTMLDivElement;
|
|
4347
|
+
/**
|
|
4348
|
+
* @internal
|
|
4349
|
+
*/
|
|
4350
|
+
stepMultiplier: number;
|
|
4351
|
+
/**
|
|
4352
|
+
* @internal
|
|
4353
|
+
*/
|
|
4354
|
+
direction: Direction;
|
|
4355
|
+
/**
|
|
4356
|
+
* @internal
|
|
4357
|
+
*/
|
|
4358
|
+
isDragging: boolean;
|
|
4359
|
+
/**
|
|
4360
|
+
* @internal
|
|
4361
|
+
*/
|
|
4362
|
+
position: string;
|
|
4363
|
+
/**
|
|
4364
|
+
* @internal
|
|
4365
|
+
*/
|
|
4366
|
+
trackWidth: number;
|
|
4367
|
+
/**
|
|
4368
|
+
* @internal
|
|
4369
|
+
*/
|
|
4370
|
+
trackMinWidth: number;
|
|
4371
|
+
/**
|
|
4372
|
+
* @internal
|
|
4373
|
+
*/
|
|
4374
|
+
trackHeight: number;
|
|
4375
|
+
/**
|
|
4376
|
+
* @internal
|
|
4377
|
+
*/
|
|
4378
|
+
trackLeft: number;
|
|
4379
|
+
/**
|
|
4380
|
+
* @internal
|
|
4381
|
+
*/
|
|
4382
|
+
trackMinHeight: number;
|
|
4383
|
+
/**
|
|
4384
|
+
* The value property, typed as a number.
|
|
4385
|
+
*
|
|
4386
|
+
* @public
|
|
4387
|
+
*/
|
|
4388
|
+
get valueAsNumber(): number;
|
|
4389
|
+
set valueAsNumber(next: number);
|
|
4390
|
+
/**
|
|
4391
|
+
* Custom function that generates a string for the component's "aria-valuetext" attribute based on the current value.
|
|
4392
|
+
*
|
|
4393
|
+
* @public
|
|
4394
|
+
*/
|
|
4395
|
+
valueTextFormatter: (value: string) => string | null;
|
|
4396
|
+
/**
|
|
4397
|
+
* @internal
|
|
4398
|
+
*/
|
|
4399
|
+
valueChanged(previous: string, next: string): void;
|
|
4400
|
+
/**
|
|
4401
|
+
* The minimum allowed value.
|
|
4402
|
+
*
|
|
4403
|
+
* @defaultValue - 0
|
|
4404
|
+
* @public
|
|
4405
|
+
* @remarks
|
|
4406
|
+
* HTML Attribute: min
|
|
4407
|
+
*/
|
|
4408
|
+
min: number;
|
|
4409
|
+
protected minChanged(): void;
|
|
4410
|
+
/**
|
|
4411
|
+
* The maximum allowed value.
|
|
4412
|
+
*
|
|
4413
|
+
* @defaultValue - 10
|
|
4414
|
+
* @public
|
|
4415
|
+
* @remarks
|
|
4416
|
+
* HTML Attribute: max
|
|
4417
|
+
*/
|
|
4418
|
+
max: number;
|
|
4419
|
+
protected maxChanged(): void;
|
|
4420
|
+
/**
|
|
4421
|
+
* Value to increment or decrement via arrow keys, mouse click or drag.
|
|
4422
|
+
*
|
|
4423
|
+
* @public
|
|
4424
|
+
* @remarks
|
|
4425
|
+
* HTML Attribute: step
|
|
4426
|
+
*/
|
|
4427
|
+
step: number | undefined;
|
|
4428
|
+
protected stepChanged(): void;
|
|
4429
|
+
/**
|
|
4430
|
+
* The orientation of the slider.
|
|
4431
|
+
*
|
|
4432
|
+
* @public
|
|
4433
|
+
* @remarks
|
|
4434
|
+
* HTML Attribute: orientation
|
|
4435
|
+
*/
|
|
4436
|
+
orientation: Orientation;
|
|
4437
|
+
protected orientationChanged(): void;
|
|
4438
|
+
/**
|
|
4439
|
+
* The selection mode.
|
|
4440
|
+
*
|
|
4441
|
+
* @public
|
|
4442
|
+
* @remarks
|
|
4443
|
+
* HTML Attribute: mode
|
|
4444
|
+
*/
|
|
4445
|
+
mode: SliderMode;
|
|
4446
|
+
/**
|
|
4447
|
+
* @internal
|
|
4448
|
+
*/
|
|
4449
|
+
connectedCallback(): void;
|
|
4450
|
+
/**
|
|
4451
|
+
* @internal
|
|
4452
|
+
*/
|
|
4453
|
+
disconnectedCallback(): void;
|
|
4454
|
+
/**
|
|
4455
|
+
* Increment the value by the step
|
|
4456
|
+
*
|
|
4457
|
+
* @public
|
|
4458
|
+
*/
|
|
4459
|
+
increment(): void;
|
|
4460
|
+
/**
|
|
4461
|
+
* Decrement the value by the step
|
|
4462
|
+
*
|
|
4463
|
+
* @public
|
|
4464
|
+
*/
|
|
4465
|
+
decrement(): void;
|
|
4466
|
+
keypressHandler: (e: KeyboardEvent) => void;
|
|
4467
|
+
/**
|
|
4468
|
+
* Gets the actual step value for the slider
|
|
4469
|
+
*
|
|
4470
|
+
*/
|
|
4471
|
+
private get stepValue();
|
|
4472
|
+
/**
|
|
4473
|
+
* Places the thumb based on the current value
|
|
4474
|
+
*
|
|
4475
|
+
* @public
|
|
4476
|
+
* @param direction - writing mode
|
|
4477
|
+
*/
|
|
4478
|
+
private setThumbPositionForOrientation;
|
|
4479
|
+
/**
|
|
4480
|
+
* Update the step multiplier used to ensure rounding errors from steps that
|
|
4481
|
+
* are not whole numbers
|
|
4482
|
+
*/
|
|
4483
|
+
private updateStepMultiplier;
|
|
4484
|
+
private setupTrackConstraints;
|
|
4485
|
+
private setupListeners;
|
|
4486
|
+
/**
|
|
4487
|
+
* @internal
|
|
4488
|
+
*/
|
|
4489
|
+
initialValue: string;
|
|
4490
|
+
private get midpoint();
|
|
4491
|
+
private setupDefaultValue;
|
|
4492
|
+
/**
|
|
4493
|
+
* Handle mouse moves during a thumb drag operation
|
|
4494
|
+
* If the event handler is null it removes the events
|
|
4495
|
+
*/
|
|
4496
|
+
handleThumbMouseDown: (event: MouseEvent | null) => void;
|
|
4497
|
+
/**
|
|
4498
|
+
* Handle mouse moves during a thumb drag operation
|
|
4499
|
+
*/
|
|
4500
|
+
private handleMouseMove;
|
|
4501
|
+
/**
|
|
4502
|
+
* Calculate the new value based on the given raw pixel value.
|
|
4503
|
+
*
|
|
4504
|
+
* @param rawValue - the value to be converted to a constrained value
|
|
4505
|
+
* @returns the constrained value
|
|
4506
|
+
*
|
|
4507
|
+
* @internal
|
|
4508
|
+
*/
|
|
4509
|
+
calculateNewValue(rawValue: number): number;
|
|
4510
|
+
/**
|
|
4511
|
+
* Handle a window mouse up during a drag operation
|
|
4512
|
+
*/
|
|
4513
|
+
private handleWindowMouseUp;
|
|
4514
|
+
private stopDragging;
|
|
4515
|
+
/**
|
|
4516
|
+
*
|
|
4517
|
+
* @param e - MouseEvent or null. If there is no event handler it will remove the events
|
|
4518
|
+
*/
|
|
4519
|
+
handleMouseDown: (e: MouseEvent | null) => void;
|
|
4520
|
+
private convertToConstrainedValue;
|
|
4521
|
+
}
|
|
4522
|
+
|
|
4523
|
+
declare class _Slider extends FASTElement {
|
|
4524
|
+
}
|
|
4525
|
+
|
|
4526
|
+
declare interface _Slider extends FormAssociated {
|
|
4527
|
+
}
|
|
4528
|
+
|
|
4529
|
+
/**
|
|
2806
4530
|
* @public
|
|
2807
4531
|
*/
|
|
2808
|
-
export declare
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
* HTML Attribute: stacked
|
|
2815
|
-
*/
|
|
2816
|
-
stacked: boolean;
|
|
4532
|
+
export declare interface SliderConfiguration {
|
|
4533
|
+
max: number;
|
|
4534
|
+
min: number;
|
|
4535
|
+
orientation?: SliderOrientation;
|
|
4536
|
+
direction?: Direction;
|
|
4537
|
+
disabled?: boolean;
|
|
2817
4538
|
}
|
|
2818
4539
|
|
|
2819
4540
|
/**
|
|
2820
|
-
* The Fluent
|
|
4541
|
+
* The Fluent Slider Element.
|
|
2821
4542
|
*
|
|
2822
4543
|
*
|
|
2823
4544
|
* @public
|
|
2824
4545
|
* @remarks
|
|
2825
|
-
* HTML Element: \<fluent-
|
|
4546
|
+
* HTML Element: \<fluent-slider\>
|
|
2826
4547
|
*/
|
|
2827
|
-
export declare const
|
|
2828
|
-
|
|
2829
|
-
export { RadioGroupOrientation }
|
|
4548
|
+
export declare const SliderDefinition: FASTElementDefinition<typeof Slider>;
|
|
2830
4549
|
|
|
2831
|
-
/**
|
|
4550
|
+
/**
|
|
2832
4551
|
* @public
|
|
2833
4552
|
*/
|
|
2834
|
-
export declare const
|
|
2835
|
-
|
|
2836
|
-
|
|
4553
|
+
export declare const SliderMode: {
|
|
4554
|
+
readonly singleValue: "single-value";
|
|
4555
|
+
};
|
|
2837
4556
|
|
|
2838
|
-
/**
|
|
4557
|
+
/**
|
|
4558
|
+
* The types for the selection mode of the slider
|
|
2839
4559
|
* @public
|
|
2840
4560
|
*/
|
|
2841
|
-
export declare
|
|
2842
|
-
|
|
2843
|
-
export declare const RadioTemplate: ElementViewTemplate<Radio>;
|
|
4561
|
+
export declare type SliderMode = ValuesOf<typeof SliderMode>;
|
|
2844
4562
|
|
|
2845
4563
|
/**
|
|
2846
|
-
*
|
|
2847
|
-
* @
|
|
4564
|
+
* Slider configuration options
|
|
4565
|
+
* @public
|
|
2848
4566
|
*/
|
|
2849
|
-
export declare
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
export declare const shadow16: CSSDesignToken<string>;
|
|
2854
|
-
|
|
2855
|
-
export declare const shadow16Brand: CSSDesignToken<string>;
|
|
2856
|
-
|
|
2857
|
-
export declare const shadow2: CSSDesignToken<string>;
|
|
2858
|
-
|
|
2859
|
-
export declare const shadow28: CSSDesignToken<string>;
|
|
2860
|
-
|
|
2861
|
-
export declare const shadow28Brand: CSSDesignToken<string>;
|
|
2862
|
-
|
|
2863
|
-
export declare const shadow2Brand: CSSDesignToken<string>;
|
|
2864
|
-
|
|
2865
|
-
export declare const shadow4: CSSDesignToken<string>;
|
|
2866
|
-
|
|
2867
|
-
export declare const shadow4Brand: CSSDesignToken<string>;
|
|
2868
|
-
|
|
2869
|
-
export declare const shadow64: CSSDesignToken<string>;
|
|
2870
|
-
|
|
2871
|
-
export declare const shadow64Brand: CSSDesignToken<string>;
|
|
2872
|
-
|
|
2873
|
-
export declare const shadow8: CSSDesignToken<string>;
|
|
2874
|
-
|
|
2875
|
-
export declare const shadow8Brand: CSSDesignToken<string>;
|
|
4567
|
+
export declare type SliderOptions = {
|
|
4568
|
+
thumb?: StaticallyComposableHTML<Slider>;
|
|
4569
|
+
};
|
|
2876
4570
|
|
|
2877
4571
|
/**
|
|
2878
|
-
* The base class used for constructing a fluent-slider custom element
|
|
2879
4572
|
* @public
|
|
2880
4573
|
*/
|
|
2881
|
-
export declare
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
* @remarks
|
|
2886
|
-
* HTML Attribute: size
|
|
2887
|
-
*/
|
|
2888
|
-
size?: SliderSize;
|
|
2889
|
-
handleChange(source: any, propertyName: string): void;
|
|
2890
|
-
connectedCallback(): void;
|
|
2891
|
-
disconnectedCallback(): void;
|
|
2892
|
-
private stepStyles?;
|
|
2893
|
-
/**
|
|
2894
|
-
* Handles changes to step styling based on the step value
|
|
2895
|
-
* NOTE: This function is not a changed callback, stepStyles is not observable
|
|
2896
|
-
*/
|
|
2897
|
-
private handleStepStyles;
|
|
2898
|
-
}
|
|
4574
|
+
export declare const SliderOrientation: {
|
|
4575
|
+
readonly horizontal: "horizontal";
|
|
4576
|
+
readonly vertical: "vertical";
|
|
4577
|
+
};
|
|
2899
4578
|
|
|
2900
4579
|
/**
|
|
2901
|
-
* The
|
|
2902
|
-
*
|
|
2903
|
-
*
|
|
4580
|
+
* The types for the orientation of the slider
|
|
2904
4581
|
* @public
|
|
2905
|
-
* @remarks
|
|
2906
|
-
* HTML Element: \<fluent-slider\>
|
|
2907
4582
|
*/
|
|
2908
|
-
export declare
|
|
2909
|
-
|
|
2910
|
-
export { SliderOrientation }
|
|
4583
|
+
export declare type SliderOrientation = ValuesOf<typeof SliderOrientation>;
|
|
2911
4584
|
|
|
2912
4585
|
/**
|
|
2913
4586
|
* SliderSize Constants
|
|
@@ -2929,57 +4602,57 @@ export declare type SliderSize = ValuesOf<typeof SliderSize>;
|
|
|
2929
4602
|
*/
|
|
2930
4603
|
export declare const SliderStyles: ElementStyles;
|
|
2931
4604
|
|
|
2932
|
-
export declare const SliderTemplate: ElementViewTemplate<
|
|
4605
|
+
export declare const SliderTemplate: ElementViewTemplate<Slider>;
|
|
2933
4606
|
|
|
2934
|
-
export declare const spacingHorizontalL
|
|
4607
|
+
export declare const spacingHorizontalL = "--spacingHorizontalL";
|
|
2935
4608
|
|
|
2936
|
-
export declare const spacingHorizontalM
|
|
4609
|
+
export declare const spacingHorizontalM = "--spacingHorizontalM";
|
|
2937
4610
|
|
|
2938
|
-
export declare const spacingHorizontalMNudge
|
|
4611
|
+
export declare const spacingHorizontalMNudge = "--spacingHorizontalMNudge";
|
|
2939
4612
|
|
|
2940
|
-
export declare const spacingHorizontalNone
|
|
4613
|
+
export declare const spacingHorizontalNone = "--spacingHorizontalNone";
|
|
2941
4614
|
|
|
2942
|
-
export declare const spacingHorizontalS
|
|
4615
|
+
export declare const spacingHorizontalS = "--spacingHorizontalS";
|
|
2943
4616
|
|
|
2944
|
-
export declare const spacingHorizontalSNudge
|
|
4617
|
+
export declare const spacingHorizontalSNudge = "--spacingHorizontalSNudge";
|
|
2945
4618
|
|
|
2946
|
-
export declare const spacingHorizontalXL
|
|
4619
|
+
export declare const spacingHorizontalXL = "--spacingHorizontalXL";
|
|
2947
4620
|
|
|
2948
|
-
export declare const spacingHorizontalXS
|
|
4621
|
+
export declare const spacingHorizontalXS = "--spacingHorizontalXS";
|
|
2949
4622
|
|
|
2950
|
-
export declare const spacingHorizontalXXL
|
|
4623
|
+
export declare const spacingHorizontalXXL = "--spacingHorizontalXXL";
|
|
2951
4624
|
|
|
2952
|
-
export declare const spacingHorizontalXXS
|
|
4625
|
+
export declare const spacingHorizontalXXS = "--spacingHorizontalXXS";
|
|
2953
4626
|
|
|
2954
|
-
export declare const spacingHorizontalXXXL
|
|
4627
|
+
export declare const spacingHorizontalXXXL = "--spacingHorizontalXXXL";
|
|
2955
4628
|
|
|
2956
|
-
export declare const spacingVerticalL
|
|
4629
|
+
export declare const spacingVerticalL = "--spacingVerticalL";
|
|
2957
4630
|
|
|
2958
|
-
export declare const spacingVerticalM
|
|
4631
|
+
export declare const spacingVerticalM = "--spacingVerticalM";
|
|
2959
4632
|
|
|
2960
|
-
export declare const spacingVerticalMNudge
|
|
4633
|
+
export declare const spacingVerticalMNudge = "--spacingVerticalMNudge";
|
|
2961
4634
|
|
|
2962
|
-
export declare const spacingVerticalNone
|
|
4635
|
+
export declare const spacingVerticalNone = "--spacingVerticalNone";
|
|
2963
4636
|
|
|
2964
|
-
export declare const spacingVerticalS
|
|
4637
|
+
export declare const spacingVerticalS = "--spacingVerticalS";
|
|
2965
4638
|
|
|
2966
|
-
export declare const spacingVerticalSNudge
|
|
4639
|
+
export declare const spacingVerticalSNudge = "--spacingVerticalSNudge";
|
|
2967
4640
|
|
|
2968
|
-
export declare const spacingVerticalXL
|
|
4641
|
+
export declare const spacingVerticalXL = "--spacingVerticalXL";
|
|
2969
4642
|
|
|
2970
|
-
export declare const spacingVerticalXS
|
|
4643
|
+
export declare const spacingVerticalXS = "--spacingVerticalXS";
|
|
2971
4644
|
|
|
2972
|
-
export declare const spacingVerticalXXL
|
|
4645
|
+
export declare const spacingVerticalXXL = "--spacingVerticalXXL";
|
|
2973
4646
|
|
|
2974
|
-
export declare const spacingVerticalXXS
|
|
4647
|
+
export declare const spacingVerticalXXS = "--spacingVerticalXXS";
|
|
2975
4648
|
|
|
2976
|
-
export declare const spacingVerticalXXXL
|
|
4649
|
+
export declare const spacingVerticalXXXL = "--spacingVerticalXXXL";
|
|
2977
4650
|
|
|
2978
4651
|
/**
|
|
2979
4652
|
* The base class used for constructing a fluent-spinner custom element
|
|
2980
4653
|
* @public
|
|
2981
4654
|
*/
|
|
2982
|
-
export declare class Spinner extends
|
|
4655
|
+
export declare class Spinner extends ProgressRing {
|
|
2983
4656
|
/**
|
|
2984
4657
|
* The size of the spinner
|
|
2985
4658
|
*
|
|
@@ -3015,10 +4688,6 @@ export declare const SpinnerAppearance: {
|
|
|
3015
4688
|
export declare type SpinnerAppearance = ValuesOf<typeof SpinnerAppearance>;
|
|
3016
4689
|
|
|
3017
4690
|
/**
|
|
3018
|
-
* The Fluent Spinner Element. Implements {@link @microsoft/fast-foundation#ProgressRing },
|
|
3019
|
-
* {@link @microsoft/fast-foundation#progress-ringTemplate}
|
|
3020
|
-
*
|
|
3021
|
-
*
|
|
3022
4691
|
* @public
|
|
3023
4692
|
* @remarks
|
|
3024
4693
|
* HTML Element: \<fluent-spinner\>
|
|
@@ -3049,19 +4718,53 @@ export declare const SpinnerStyles: ElementStyles;
|
|
|
3049
4718
|
|
|
3050
4719
|
export declare const SpinnerTemplate: ElementViewTemplate<Spinner>;
|
|
3051
4720
|
|
|
3052
|
-
|
|
4721
|
+
/**
|
|
4722
|
+
* A mixin class implementing start and end slots.
|
|
4723
|
+
* These are generally used to decorate text elements with icons or other visual indicators.
|
|
4724
|
+
* @public
|
|
4725
|
+
*/
|
|
4726
|
+
declare class StartEnd {
|
|
4727
|
+
start: HTMLSlotElement;
|
|
4728
|
+
end: HTMLSlotElement;
|
|
4729
|
+
}
|
|
4730
|
+
|
|
4731
|
+
/**
|
|
4732
|
+
* Start/End configuration options
|
|
4733
|
+
* @public
|
|
4734
|
+
*/
|
|
4735
|
+
declare type StartEndOptions<TSource = any, TParent = any> = StartOptions<TSource, TParent> & EndOptions<TSource, TParent>;
|
|
4736
|
+
|
|
4737
|
+
/**
|
|
4738
|
+
* Start configuration options
|
|
4739
|
+
* @public
|
|
4740
|
+
*/
|
|
4741
|
+
declare type StartOptions<TSource = any, TParent = any> = {
|
|
4742
|
+
start?: StaticallyComposableHTML<TSource, TParent>;
|
|
4743
|
+
};
|
|
4744
|
+
|
|
4745
|
+
/**
|
|
4746
|
+
* A value that can be statically composed into a
|
|
4747
|
+
* foundation template.
|
|
4748
|
+
* @remarks
|
|
4749
|
+
* When providing a string, take care to ensure that it is
|
|
4750
|
+
* safe and will not enable an XSS attack.
|
|
4751
|
+
* @public
|
|
4752
|
+
*/
|
|
4753
|
+
declare type StaticallyComposableHTML<TSource = any, TParent = any> = string | HTMLDirective | SyntheticViewTemplate<TSource, TParent> | undefined;
|
|
4754
|
+
|
|
4755
|
+
export declare const strokeWidthThick = "--strokeWidthThick";
|
|
3053
4756
|
|
|
3054
|
-
export declare const strokeWidthThicker
|
|
4757
|
+
export declare const strokeWidthThicker = "--strokeWidthThicker";
|
|
3055
4758
|
|
|
3056
|
-
export declare const strokeWidthThickest
|
|
4759
|
+
export declare const strokeWidthThickest = "--strokeWidthThickest";
|
|
3057
4760
|
|
|
3058
|
-
export declare const strokeWidthThin
|
|
4761
|
+
export declare const strokeWidthThin = "--strokeWidthThin";
|
|
3059
4762
|
|
|
3060
4763
|
declare const styles: ElementStyles;
|
|
3061
4764
|
export { styles as ButtonStyles }
|
|
3062
4765
|
export { styles as MenuButtonStyles }
|
|
3063
4766
|
|
|
3064
|
-
export declare class Switch extends
|
|
4767
|
+
export declare class Switch extends FormAssociatedSwitch {
|
|
3065
4768
|
/**
|
|
3066
4769
|
* The label position of the switch
|
|
3067
4770
|
*
|
|
@@ -3071,6 +4774,40 @@ export declare class Switch extends FASTSwitch {
|
|
|
3071
4774
|
* HTML Attribute: labelposition
|
|
3072
4775
|
*/
|
|
3073
4776
|
labelPosition: SwitchLabelPosition | undefined;
|
|
4777
|
+
/**
|
|
4778
|
+
* When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.
|
|
4779
|
+
* @public
|
|
4780
|
+
* @remarks
|
|
4781
|
+
* HTML Attribute: readonly
|
|
4782
|
+
*/
|
|
4783
|
+
readOnly: boolean;
|
|
4784
|
+
protected readOnlyChanged(): void;
|
|
4785
|
+
/**
|
|
4786
|
+
* The element's value to be included in form submission when checked.
|
|
4787
|
+
* Default to "on" to reach parity with input[type="checkbox"]
|
|
4788
|
+
*
|
|
4789
|
+
* @internal
|
|
4790
|
+
*/
|
|
4791
|
+
initialValue: string;
|
|
4792
|
+
/**
|
|
4793
|
+
* @internal
|
|
4794
|
+
*/
|
|
4795
|
+
defaultSlottedNodes: Node[];
|
|
4796
|
+
constructor();
|
|
4797
|
+
/**
|
|
4798
|
+
* @internal
|
|
4799
|
+
*/
|
|
4800
|
+
keypressHandler: (e: KeyboardEvent) => void;
|
|
4801
|
+
/**
|
|
4802
|
+
* @internal
|
|
4803
|
+
*/
|
|
4804
|
+
clickHandler: (e: MouseEvent) => void;
|
|
4805
|
+
}
|
|
4806
|
+
|
|
4807
|
+
declare class _Switch extends FASTElement {
|
|
4808
|
+
}
|
|
4809
|
+
|
|
4810
|
+
declare interface _Switch extends CheckableFormAssociated {
|
|
3074
4811
|
}
|
|
3075
4812
|
|
|
3076
4813
|
/**
|
|
@@ -3098,6 +4835,10 @@ export declare const SwitchLabelPosition: {
|
|
|
3098
4835
|
*/
|
|
3099
4836
|
export declare type SwitchLabelPosition = ValuesOf<typeof SwitchLabelPosition>;
|
|
3100
4837
|
|
|
4838
|
+
export declare type SwitchOptions = {
|
|
4839
|
+
switch?: StaticallyComposableHTML<Switch>;
|
|
4840
|
+
};
|
|
4841
|
+
|
|
3101
4842
|
export declare const SwitchStyles: ElementStyles;
|
|
3102
4843
|
|
|
3103
4844
|
export declare const SwitchTemplate: ElementViewTemplate<Switch>;
|
|
@@ -3105,29 +4846,39 @@ export declare const SwitchTemplate: ElementViewTemplate<Switch>;
|
|
|
3105
4846
|
/**
|
|
3106
4847
|
* Tab extends the FASTTab and is a child of the TabList
|
|
3107
4848
|
*/
|
|
3108
|
-
export declare class Tab extends
|
|
4849
|
+
export declare class Tab extends FASTElement {
|
|
4850
|
+
/**
|
|
4851
|
+
* When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute} for more information.
|
|
4852
|
+
* @public
|
|
4853
|
+
* @remarks
|
|
4854
|
+
* HTML Attribute: disabled
|
|
4855
|
+
*/
|
|
4856
|
+
disabled: boolean;
|
|
3109
4857
|
private styles;
|
|
3110
4858
|
connectedCallback(): void;
|
|
3111
4859
|
}
|
|
3112
4860
|
|
|
4861
|
+
export declare interface Tab extends StartEnd {
|
|
4862
|
+
}
|
|
4863
|
+
|
|
3113
4864
|
export declare const TabDefinition: FASTElementDefinition<typeof Tab>;
|
|
3114
4865
|
|
|
3115
|
-
|
|
4866
|
+
/**
|
|
4867
|
+
* Tab configuration options
|
|
4868
|
+
* @public
|
|
4869
|
+
*/
|
|
4870
|
+
export declare type TabOptions = StartEndOptions<Tab>;
|
|
4871
|
+
|
|
4872
|
+
export declare class TabPanel extends FASTElement {
|
|
3116
4873
|
}
|
|
3117
4874
|
|
|
3118
4875
|
export declare const TabPanelDefinition: FASTElementDefinition<typeof TabPanel>;
|
|
3119
4876
|
|
|
3120
4877
|
export declare const TabPanelStyles: ElementStyles;
|
|
3121
4878
|
|
|
3122
|
-
export declare const TabPanelTemplate: ElementViewTemplate<
|
|
4879
|
+
export declare const TabPanelTemplate: ElementViewTemplate<TabPanel, any>;
|
|
3123
4880
|
|
|
3124
|
-
|
|
3125
|
-
* TabList extends FASTTabs and is used for constructing a fluent-tab-list custom html element.
|
|
3126
|
-
*
|
|
3127
|
-
* @class TabList component
|
|
3128
|
-
* @public
|
|
3129
|
-
*/
|
|
3130
|
-
export declare class Tabs extends FASTTabs {
|
|
4881
|
+
export declare class Tabs extends BaseTabs {
|
|
3131
4882
|
/**
|
|
3132
4883
|
* activeTabData
|
|
3133
4884
|
* The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
|
|
@@ -3208,6 +4959,9 @@ export declare class Tabs extends FASTTabs {
|
|
|
3208
4959
|
tabsChanged(): void;
|
|
3209
4960
|
}
|
|
3210
4961
|
|
|
4962
|
+
export declare interface Tabs extends StartEnd {
|
|
4963
|
+
}
|
|
4964
|
+
|
|
3211
4965
|
export declare const TabsAppearance: {
|
|
3212
4966
|
readonly subtle: "subtle";
|
|
3213
4967
|
readonly transparent: "transparent";
|
|
@@ -3217,7 +4971,26 @@ export declare type TabsAppearance = ValuesOf<typeof TabsAppearance>;
|
|
|
3217
4971
|
|
|
3218
4972
|
export declare const TabsDefinition: FASTElementDefinition<typeof Tabs>;
|
|
3219
4973
|
|
|
3220
|
-
|
|
4974
|
+
/**
|
|
4975
|
+
* Tabs option configuration options
|
|
4976
|
+
* @public
|
|
4977
|
+
*/
|
|
4978
|
+
export declare type TabsOptions = StartEndOptions<Tabs>;
|
|
4979
|
+
|
|
4980
|
+
/**
|
|
4981
|
+
* The orientation of the component
|
|
4982
|
+
* @public
|
|
4983
|
+
*/
|
|
4984
|
+
export declare const TabsOrientation: {
|
|
4985
|
+
readonly horizontal: "horizontal";
|
|
4986
|
+
readonly vertical: "vertical";
|
|
4987
|
+
};
|
|
4988
|
+
|
|
4989
|
+
/**
|
|
4990
|
+
* The types for the Tabs component
|
|
4991
|
+
* @public
|
|
4992
|
+
*/
|
|
4993
|
+
export declare type TabsOrientation = ValuesOf<typeof TabsOrientation>;
|
|
3221
4994
|
|
|
3222
4995
|
export declare const TabsSize: {
|
|
3223
4996
|
readonly small: "small";
|
|
@@ -3229,11 +5002,11 @@ export declare type TabsSize = ValuesOf<typeof TabsSize>;
|
|
|
3229
5002
|
|
|
3230
5003
|
export declare const TabsStyles: ElementStyles;
|
|
3231
5004
|
|
|
3232
|
-
export declare const TabsTemplate: ElementViewTemplate<
|
|
5005
|
+
export declare const TabsTemplate: ElementViewTemplate<Tabs, any>;
|
|
3233
5006
|
|
|
3234
5007
|
export declare const TabStyles: ElementStyles;
|
|
3235
5008
|
|
|
3236
|
-
export declare const TabTemplate: ElementViewTemplate<
|
|
5009
|
+
export declare const TabTemplate: ElementViewTemplate<Tab, any>;
|
|
3237
5010
|
|
|
3238
5011
|
/**
|
|
3239
5012
|
* The base class used for constructing a fluent-text custom element
|
|
@@ -3353,6 +5126,47 @@ export declare type TextAlign = ValuesOf<typeof TextAlign>;
|
|
|
3353
5126
|
*/
|
|
3354
5127
|
export declare const TextDefinition: FASTElementDefinition<typeof Text_2>;
|
|
3355
5128
|
|
|
5129
|
+
declare class _TextField extends FASTElement {
|
|
5130
|
+
}
|
|
5131
|
+
|
|
5132
|
+
declare interface _TextField extends FormAssociated {
|
|
5133
|
+
}
|
|
5134
|
+
|
|
5135
|
+
export declare type TextFieldOptions = StartEndOptions<TextInput>;
|
|
5136
|
+
|
|
5137
|
+
/**
|
|
5138
|
+
* Text field sub-types
|
|
5139
|
+
* @public
|
|
5140
|
+
*/
|
|
5141
|
+
export declare const TextFieldType: {
|
|
5142
|
+
/**
|
|
5143
|
+
* An email TextField
|
|
5144
|
+
*/
|
|
5145
|
+
readonly email: "email";
|
|
5146
|
+
/**
|
|
5147
|
+
* A password TextField
|
|
5148
|
+
*/
|
|
5149
|
+
readonly password: "password";
|
|
5150
|
+
/**
|
|
5151
|
+
* A telephone TextField
|
|
5152
|
+
*/
|
|
5153
|
+
readonly tel: "tel";
|
|
5154
|
+
/**
|
|
5155
|
+
* A text TextField
|
|
5156
|
+
*/
|
|
5157
|
+
readonly text: "text";
|
|
5158
|
+
/**
|
|
5159
|
+
* A URL TextField
|
|
5160
|
+
*/
|
|
5161
|
+
readonly url: "url";
|
|
5162
|
+
};
|
|
5163
|
+
|
|
5164
|
+
/**
|
|
5165
|
+
* Types for the text field sub-types
|
|
5166
|
+
* @public
|
|
5167
|
+
*/
|
|
5168
|
+
export declare type TextFieldType = ValuesOf<typeof TextFieldType>;
|
|
5169
|
+
|
|
3356
5170
|
/**
|
|
3357
5171
|
* TextFont Constants
|
|
3358
5172
|
* @public
|
|
@@ -3369,11 +5183,7 @@ export declare const TextFont: {
|
|
|
3369
5183
|
*/
|
|
3370
5184
|
export declare type TextFont = ValuesOf<typeof TextFont>;
|
|
3371
5185
|
|
|
3372
|
-
|
|
3373
|
-
* The base class used for constructing a fluent-text-input custom element
|
|
3374
|
-
* @public
|
|
3375
|
-
*/
|
|
3376
|
-
export declare class TextInput extends FASTTextField {
|
|
5186
|
+
export declare class TextInput extends FormAssociatedTextField {
|
|
3377
5187
|
/**
|
|
3378
5188
|
* Defines TextInput control size
|
|
3379
5189
|
*
|
|
@@ -3392,6 +5202,126 @@ export declare class TextInput extends FASTTextField {
|
|
|
3392
5202
|
* HTML Attribute: appearance
|
|
3393
5203
|
*/
|
|
3394
5204
|
appearance?: TextInputAppearance;
|
|
5205
|
+
/**
|
|
5206
|
+
* When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.
|
|
5207
|
+
* @public
|
|
5208
|
+
* @remarks
|
|
5209
|
+
* HTML Attribute: readonly
|
|
5210
|
+
*/
|
|
5211
|
+
readOnly: boolean;
|
|
5212
|
+
protected readOnlyChanged(): void;
|
|
5213
|
+
/**
|
|
5214
|
+
* Indicates that this element should get focus after the page finishes loading. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute} for more information.
|
|
5215
|
+
* @public
|
|
5216
|
+
* @remarks
|
|
5217
|
+
* HTML Attribute: autofocus
|
|
5218
|
+
*/
|
|
5219
|
+
autofocus: boolean;
|
|
5220
|
+
protected autofocusChanged(): void;
|
|
5221
|
+
/**
|
|
5222
|
+
* Sets the placeholder value of the element, generally used to provide a hint to the user.
|
|
5223
|
+
* @public
|
|
5224
|
+
* @remarks
|
|
5225
|
+
* HTML Attribute: placeholder
|
|
5226
|
+
* Using this attribute does is not a valid substitute for a labeling element.
|
|
5227
|
+
*/
|
|
5228
|
+
placeholder: string;
|
|
5229
|
+
protected placeholderChanged(): void;
|
|
5230
|
+
/**
|
|
5231
|
+
* Allows setting a type or mode of text.
|
|
5232
|
+
* @public
|
|
5233
|
+
* @remarks
|
|
5234
|
+
* HTML Attribute: type
|
|
5235
|
+
*/
|
|
5236
|
+
type: TextFieldType;
|
|
5237
|
+
private typeChanged;
|
|
5238
|
+
/**
|
|
5239
|
+
* Allows associating a {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist} to the element by {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/id}.
|
|
5240
|
+
* @public
|
|
5241
|
+
* @remarks
|
|
5242
|
+
* HTML Attribute: list
|
|
5243
|
+
*/
|
|
5244
|
+
list: string;
|
|
5245
|
+
protected listChanged(): void;
|
|
5246
|
+
/**
|
|
5247
|
+
* The maximum number of characters a user can enter.
|
|
5248
|
+
* @public
|
|
5249
|
+
* @remarks
|
|
5250
|
+
* HTMLAttribute: maxlength
|
|
5251
|
+
*/
|
|
5252
|
+
maxlength: number;
|
|
5253
|
+
protected maxlengthChanged(): void;
|
|
5254
|
+
/**
|
|
5255
|
+
* The minimum number of characters a user can enter.
|
|
5256
|
+
* @public
|
|
5257
|
+
* @remarks
|
|
5258
|
+
* HTMLAttribute: minlength
|
|
5259
|
+
*/
|
|
5260
|
+
minlength: number;
|
|
5261
|
+
protected minlengthChanged(): void;
|
|
5262
|
+
/**
|
|
5263
|
+
* A regular expression that the value must match to pass validation.
|
|
5264
|
+
* @public
|
|
5265
|
+
* @remarks
|
|
5266
|
+
* HTMLAttribute: pattern
|
|
5267
|
+
*/
|
|
5268
|
+
pattern: string;
|
|
5269
|
+
protected patternChanged(): void;
|
|
5270
|
+
/**
|
|
5271
|
+
* Sets the width of the element to a specified number of characters.
|
|
5272
|
+
* @public
|
|
5273
|
+
* @remarks
|
|
5274
|
+
* HTMLAttribute: size
|
|
5275
|
+
*/
|
|
5276
|
+
size: number;
|
|
5277
|
+
protected sizeChanged(): void;
|
|
5278
|
+
/**
|
|
5279
|
+
* Controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used.
|
|
5280
|
+
* @public
|
|
5281
|
+
* @remarks
|
|
5282
|
+
* HTMLAttribute: size
|
|
5283
|
+
*/
|
|
5284
|
+
spellcheck: boolean;
|
|
5285
|
+
protected spellcheckChanged(): void;
|
|
5286
|
+
/**
|
|
5287
|
+
* @internal
|
|
5288
|
+
*/
|
|
5289
|
+
defaultSlottedNodes: Node[];
|
|
5290
|
+
/**
|
|
5291
|
+
* A reference to the internal input element
|
|
5292
|
+
* @internal
|
|
5293
|
+
*/
|
|
5294
|
+
control: HTMLInputElement;
|
|
5295
|
+
/**
|
|
5296
|
+
* @internal
|
|
5297
|
+
*/
|
|
5298
|
+
connectedCallback(): void;
|
|
5299
|
+
/**
|
|
5300
|
+
* Selects all the text in the text field
|
|
5301
|
+
*
|
|
5302
|
+
* @public
|
|
5303
|
+
*/
|
|
5304
|
+
select(): void;
|
|
5305
|
+
/**
|
|
5306
|
+
* Handles the internal control's `input` event
|
|
5307
|
+
* @internal
|
|
5308
|
+
*/
|
|
5309
|
+
handleTextInput(): void;
|
|
5310
|
+
/**
|
|
5311
|
+
* Change event handler for inner control.
|
|
5312
|
+
* @remarks
|
|
5313
|
+
* "Change" events are not `composable` so they will not
|
|
5314
|
+
* permeate the shadow DOM boundary. This fn effectively proxies
|
|
5315
|
+
* the change event, emitting a `change` event whenever the internal
|
|
5316
|
+
* control emits a `change` event
|
|
5317
|
+
* @internal
|
|
5318
|
+
*/
|
|
5319
|
+
handleChange(): void;
|
|
5320
|
+
/** {@inheritDoc (FormAssociated:interface).validate} */
|
|
5321
|
+
validate(): void;
|
|
5322
|
+
}
|
|
5323
|
+
|
|
5324
|
+
export declare interface TextInput extends StartEnd, DelegatesARIATextbox {
|
|
3395
5325
|
}
|
|
3396
5326
|
|
|
3397
5327
|
/**
|
|
@@ -3447,8 +5377,6 @@ export declare const TextInputStyles: ElementStyles;
|
|
|
3447
5377
|
*/
|
|
3448
5378
|
export declare const TextInputTemplate: ElementViewTemplate<TextInput>;
|
|
3449
5379
|
|
|
3450
|
-
export { TextInputType }
|
|
3451
|
-
|
|
3452
5380
|
/**
|
|
3453
5381
|
* TextSize constants
|
|
3454
5382
|
* @public
|
|
@@ -3567,8 +5495,6 @@ export declare const ToggleButtonAppearance: {
|
|
|
3567
5495
|
export declare type ToggleButtonAppearance = ValuesOf<typeof ToggleButtonAppearance>;
|
|
3568
5496
|
|
|
3569
5497
|
/**
|
|
3570
|
-
* The Fluent Toggle Button Element. Implements {@link @microsoft/fast-foundation#Button },
|
|
3571
|
-
* {@link @microsoft/fast-foundation#buttonTemplate}
|
|
3572
5498
|
*
|
|
3573
5499
|
* @public
|
|
3574
5500
|
* @remarks
|
|
@@ -3616,4 +5542,30 @@ export declare const ToggleButtonStyles: ElementStyles;
|
|
|
3616
5542
|
*/
|
|
3617
5543
|
export declare const ToggleButtonTemplate: ElementViewTemplate<ToggleButton>;
|
|
3618
5544
|
|
|
5545
|
+
/**
|
|
5546
|
+
* This file enables typing support for ElementInternals APIs.
|
|
5547
|
+
* It is largely taken from https://github.com/microsoft/TSJS-lib-generator/pull/818/files.
|
|
5548
|
+
*
|
|
5549
|
+
* When TypeScript adds support for these APIs we can delete this file.
|
|
5550
|
+
*/
|
|
5551
|
+
declare interface ValidityStateFlags {
|
|
5552
|
+
badInput?: boolean;
|
|
5553
|
+
customError?: boolean;
|
|
5554
|
+
patternMismatch?: boolean;
|
|
5555
|
+
rangeOverflow?: boolean;
|
|
5556
|
+
rangeUnderflow?: boolean;
|
|
5557
|
+
stepMismatch?: boolean;
|
|
5558
|
+
tooLong?: boolean;
|
|
5559
|
+
tooShort?: boolean;
|
|
5560
|
+
typeMismatch?: boolean;
|
|
5561
|
+
valueMissing?: boolean;
|
|
5562
|
+
}
|
|
5563
|
+
|
|
5564
|
+
/**
|
|
5565
|
+
* Helper for enumerating a type from a const object
|
|
5566
|
+
* Example: export type Foo = ValuesOf\<typeof Foo\>
|
|
5567
|
+
* @public
|
|
5568
|
+
*/
|
|
5569
|
+
declare type ValuesOf<T> = T[keyof T];
|
|
5570
|
+
|
|
3619
5571
|
export { }
|