@fluentui/web-components 3.0.0-rc.3 → 3.0.0-rc.31
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 +274 -2
- package/README.md +26 -0
- package/custom-elements.json +9510 -7860
- package/dist/esm/accordion/accordion.bench.d.ts +2 -0
- package/dist/esm/accordion/accordion.bench.js +2 -5
- package/dist/esm/accordion/accordion.bench.js.map +1 -1
- package/dist/esm/accordion/accordion.d.ts +12 -9
- package/dist/esm/accordion/accordion.definition-async.d.ts +10 -0
- package/dist/esm/accordion/accordion.definition-async.js +17 -0
- package/dist/esm/accordion/accordion.definition-async.js.map +1 -0
- package/dist/esm/accordion/accordion.definition.d.ts +4 -4
- package/dist/esm/accordion/accordion.definition.js +8 -7
- package/dist/esm/accordion/accordion.definition.js.map +1 -1
- package/dist/esm/accordion/accordion.js +48 -47
- package/dist/esm/accordion/accordion.js.map +1 -1
- package/dist/esm/accordion/accordion.options.d.ts +7 -1
- package/dist/esm/accordion/accordion.options.js +7 -0
- package/dist/esm/accordion/accordion.options.js.map +1 -1
- package/dist/esm/accordion/accordion.styles.css +12 -0
- package/dist/esm/accordion/accordion.styles.js +1 -1
- package/dist/esm/accordion/accordion.styles.js.map +1 -1
- package/dist/esm/accordion/accordion.template.html +6 -0
- package/dist/esm/accordion/define-async.js +4 -0
- package/dist/esm/accordion/define-async.js.map +1 -0
- package/dist/esm/accordion/define.js +2 -2
- package/dist/esm/accordion/define.js.map +1 -1
- package/dist/esm/accordion/index.d.ts +1 -0
- package/dist/esm/accordion/index.js +1 -0
- package/dist/esm/accordion/index.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.base.d.ts +0 -8
- package/dist/esm/accordion-item/accordion-item.base.js +3 -12
- package/dist/esm/accordion-item/accordion-item.base.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.bench.d.ts +1 -0
- package/dist/esm/accordion-item/accordion-item.bench.js +1 -3
- package/dist/esm/accordion-item/accordion-item.bench.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.d.ts +4 -6
- package/dist/esm/accordion-item/accordion-item.definition-async.d.ts +10 -0
- package/dist/esm/accordion-item/accordion-item.definition-async.js +17 -0
- package/dist/esm/accordion-item/accordion-item.definition-async.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.definition.d.ts +3 -4
- package/dist/esm/accordion-item/accordion-item.definition.js +7 -7
- package/dist/esm/accordion-item/accordion-item.definition.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.js +3 -1
- package/dist/esm/accordion-item/accordion-item.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.options.d.ts +17 -1
- package/dist/esm/accordion-item/accordion-item.options.js +19 -0
- package/dist/esm/accordion-item/accordion-item.options.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.styles.css +174 -0
- package/dist/esm/accordion-item/accordion-item.styles.js +4 -2
- package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.template.html +54 -0
- package/dist/esm/accordion-item/accordion-item.template.js +7 -7
- package/dist/esm/accordion-item/accordion-item.template.js.map +1 -1
- package/dist/esm/accordion-item/define-async.js +4 -0
- package/dist/esm/accordion-item/define-async.js.map +1 -0
- package/dist/esm/accordion-item/define.js +2 -2
- package/dist/esm/accordion-item/define.js.map +1 -1
- package/dist/esm/accordion-item/index.d.ts +1 -0
- package/dist/esm/accordion-item/index.js +1 -0
- package/dist/esm/accordion-item/index.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.base.d.ts +1 -1
- package/dist/esm/anchor-button/anchor-button.base.js +9 -6
- package/dist/esm/anchor-button/anchor-button.base.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.bench.d.ts +1 -0
- package/dist/esm/anchor-button/anchor-button.bench.js +1 -3
- package/dist/esm/anchor-button/anchor-button.bench.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.d.ts +3 -4
- package/dist/esm/anchor-button/anchor-button.definition-async.d.ts +10 -0
- package/dist/esm/anchor-button/anchor-button.definition-async.js +17 -0
- package/dist/esm/anchor-button/anchor-button.definition-async.js.map +1 -0
- package/dist/esm/anchor-button/anchor-button.definition.d.ts +4 -4
- package/dist/esm/anchor-button/anchor-button.definition.js +8 -7
- package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.js +3 -1
- package/dist/esm/anchor-button/anchor-button.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.options.d.ts +7 -1
- package/dist/esm/anchor-button/anchor-button.options.js +7 -0
- package/dist/esm/anchor-button/anchor-button.options.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.styles.css +226 -0
- package/dist/esm/anchor-button/anchor-button.styles.js +4 -3
- package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.template.html +10 -0
- package/dist/esm/anchor-button/anchor-button.template.js +1 -1
- package/dist/esm/anchor-button/anchor-button.template.js.map +1 -1
- package/dist/esm/anchor-button/define-async.d.ts +1 -0
- package/dist/esm/anchor-button/define-async.js +4 -0
- package/dist/esm/anchor-button/define-async.js.map +1 -0
- package/dist/esm/anchor-button/define.js +2 -2
- package/dist/esm/anchor-button/define.js.map +1 -1
- package/dist/esm/anchor-button/index.d.ts +1 -0
- package/dist/esm/anchor-button/index.js +1 -0
- package/dist/esm/anchor-button/index.js.map +1 -1
- package/dist/esm/avatar/avatar.base.d.ts +64 -10
- package/dist/esm/avatar/avatar.base.js +100 -27
- package/dist/esm/avatar/avatar.base.js.map +1 -1
- package/dist/esm/avatar/avatar.bench.d.ts +1 -0
- package/dist/esm/avatar/avatar.bench.js +1 -3
- package/dist/esm/avatar/avatar.bench.js.map +1 -1
- package/dist/esm/avatar/avatar.d.ts +2 -0
- package/dist/esm/avatar/avatar.definition-async.d.ts +10 -0
- package/dist/esm/avatar/avatar.definition-async.js +17 -0
- package/dist/esm/avatar/avatar.definition-async.js.map +1 -0
- package/dist/esm/avatar/avatar.definition.d.ts +3 -5
- package/dist/esm/avatar/avatar.definition.js +7 -8
- package/dist/esm/avatar/avatar.definition.js.map +1 -1
- package/dist/esm/avatar/avatar.js +3 -1
- package/dist/esm/avatar/avatar.js.map +1 -1
- package/dist/esm/avatar/avatar.options.d.ts +7 -1
- package/dist/esm/avatar/avatar.options.js +7 -0
- package/dist/esm/avatar/avatar.options.js.map +1 -1
- package/dist/esm/avatar/avatar.styles.css +480 -0
- package/dist/esm/avatar/avatar.styles.js +25 -8
- package/dist/esm/avatar/avatar.styles.js.map +1 -1
- package/dist/esm/avatar/avatar.template.html +13 -0
- package/dist/esm/avatar/avatar.template.js +4 -3
- package/dist/esm/avatar/avatar.template.js.map +1 -1
- package/dist/esm/avatar/define-async.d.ts +1 -0
- package/dist/esm/avatar/define-async.js +4 -0
- package/dist/esm/avatar/define-async.js.map +1 -0
- package/dist/esm/avatar/define.js +2 -2
- package/dist/esm/avatar/define.js.map +1 -1
- package/dist/esm/avatar/index.d.ts +1 -0
- package/dist/esm/avatar/index.js +1 -0
- package/dist/esm/avatar/index.js.map +1 -1
- package/dist/esm/badge/badge.bench.d.ts +1 -0
- package/dist/esm/badge/badge.bench.js +1 -3
- package/dist/esm/badge/badge.bench.js.map +1 -1
- package/dist/esm/badge/badge.d.ts +7 -2
- package/dist/esm/badge/badge.definition-async.d.ts +10 -0
- package/dist/esm/badge/badge.definition-async.js +17 -0
- package/dist/esm/badge/badge.definition-async.js.map +1 -0
- package/dist/esm/badge/badge.definition.d.ts +3 -4
- package/dist/esm/badge/badge.definition.js +7 -7
- package/dist/esm/badge/badge.definition.js.map +1 -1
- package/dist/esm/badge/badge.js +7 -2
- package/dist/esm/badge/badge.js.map +1 -1
- package/dist/esm/badge/badge.options.d.ts +12 -3
- package/dist/esm/badge/badge.options.js +7 -0
- package/dist/esm/badge/badge.options.js.map +1 -1
- package/dist/esm/badge/badge.styles.css +266 -0
- package/dist/esm/badge/badge.styles.js +5 -4
- package/dist/esm/badge/badge.styles.js.map +1 -1
- package/dist/esm/badge/badge.template.html +8 -0
- package/dist/esm/badge/badge.template.js +1 -1
- package/dist/esm/badge/badge.template.js.map +1 -1
- package/dist/esm/badge/define-async.d.ts +1 -0
- package/dist/esm/badge/define-async.js +4 -0
- package/dist/esm/badge/define-async.js.map +1 -0
- package/dist/esm/badge/define.js +2 -2
- package/dist/esm/badge/define.js.map +1 -1
- package/dist/esm/badge/index.d.ts +3 -3
- package/dist/esm/badge/index.js +3 -3
- package/dist/esm/badge/index.js.map +1 -1
- package/dist/esm/button/button.base.d.ts +15 -10
- package/dist/esm/button/button.base.js +30 -29
- package/dist/esm/button/button.base.js.map +1 -1
- package/dist/esm/button/button.bench.d.ts +1 -0
- package/dist/esm/button/button.bench.js +1 -3
- package/dist/esm/button/button.bench.js.map +1 -1
- package/dist/esm/button/button.d.ts +1 -1
- package/dist/esm/button/button.definition-async.d.ts +10 -0
- package/dist/esm/button/button.definition-async.js +17 -0
- package/dist/esm/button/button.definition-async.js.map +1 -0
- package/dist/esm/button/button.definition.d.ts +3 -5
- package/dist/esm/button/button.definition.js +7 -8
- package/dist/esm/button/button.definition.js.map +1 -1
- package/dist/esm/button/button.js +1 -1
- package/dist/esm/button/button.js.map +1 -1
- package/dist/esm/button/button.options.d.ts +8 -2
- package/dist/esm/button/button.options.js +7 -0
- package/dist/esm/button/button.options.js.map +1 -1
- package/dist/esm/button/button.styles.css +268 -0
- package/dist/esm/button/button.styles.js +5 -3
- package/dist/esm/button/button.styles.js.map +1 -1
- package/dist/esm/button/button.template.d.ts +3 -3
- package/dist/esm/button/button.template.html +10 -0
- package/dist/esm/button/button.template.js +1 -1
- package/dist/esm/button/button.template.js.map +1 -1
- package/dist/esm/button/define-async.d.ts +1 -0
- package/dist/esm/button/define-async.js +4 -0
- package/dist/esm/button/define-async.js.map +1 -0
- package/dist/esm/button/define.js +2 -2
- package/dist/esm/button/define.js.map +1 -1
- package/dist/esm/button/index.d.ts +1 -0
- package/dist/esm/button/index.js +1 -0
- package/dist/esm/button/index.js.map +1 -1
- package/dist/esm/checkbox/checkbox.base.d.ts +3 -9
- package/dist/esm/checkbox/checkbox.base.js +14 -10
- package/dist/esm/checkbox/checkbox.base.js.map +1 -1
- package/dist/esm/checkbox/checkbox.bench.d.ts +1 -0
- package/dist/esm/checkbox/checkbox.bench.js +1 -3
- package/dist/esm/checkbox/checkbox.bench.js.map +1 -1
- package/dist/esm/checkbox/checkbox.d.ts +2 -2
- package/dist/esm/checkbox/checkbox.definition-async.d.ts +10 -0
- package/dist/esm/checkbox/checkbox.definition-async.js +17 -0
- package/dist/esm/checkbox/checkbox.definition-async.js.map +1 -0
- package/dist/esm/checkbox/checkbox.definition.d.ts +3 -5
- package/dist/esm/checkbox/checkbox.definition.js +7 -8
- package/dist/esm/checkbox/checkbox.definition.js.map +1 -1
- package/dist/esm/checkbox/checkbox.js +2 -2
- package/dist/esm/checkbox/checkbox.options.d.ts +6 -0
- package/dist/esm/checkbox/checkbox.options.js +7 -0
- package/dist/esm/checkbox/checkbox.options.js.map +1 -1
- package/dist/esm/checkbox/checkbox.styles.css +172 -0
- package/dist/esm/checkbox/checkbox.styles.js +4 -3
- package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
- package/dist/esm/checkbox/checkbox.template.html +29 -0
- package/dist/esm/checkbox/define-async.d.ts +1 -0
- package/dist/esm/checkbox/define-async.js +4 -0
- package/dist/esm/checkbox/define-async.js.map +1 -0
- package/dist/esm/checkbox/define.js +2 -2
- package/dist/esm/checkbox/define.js.map +1 -1
- package/dist/esm/checkbox/index.d.ts +1 -0
- package/dist/esm/checkbox/index.js +1 -0
- package/dist/esm/checkbox/index.js.map +1 -1
- package/dist/esm/compound-button/compound-button.bench.d.ts +1 -0
- package/dist/esm/compound-button/compound-button.bench.js +1 -3
- package/dist/esm/compound-button/compound-button.bench.js.map +1 -1
- package/dist/esm/compound-button/compound-button.d.ts +3 -0
- package/dist/esm/compound-button/compound-button.definition-async.d.ts +10 -0
- package/dist/esm/compound-button/compound-button.definition-async.js +17 -0
- package/dist/esm/compound-button/compound-button.definition-async.js.map +1 -0
- package/dist/esm/compound-button/compound-button.definition.d.ts +4 -4
- package/dist/esm/compound-button/compound-button.definition.js +8 -7
- package/dist/esm/compound-button/compound-button.definition.js.map +1 -1
- package/dist/esm/compound-button/compound-button.js +3 -0
- package/dist/esm/compound-button/compound-button.js.map +1 -1
- package/dist/esm/compound-button/compound-button.options.d.ts +7 -1
- package/dist/esm/compound-button/compound-button.options.js +7 -0
- package/dist/esm/compound-button/compound-button.options.js.map +1 -1
- package/dist/esm/compound-button/compound-button.styles.css +370 -0
- package/dist/esm/compound-button/compound-button.styles.js +4 -3
- package/dist/esm/compound-button/compound-button.styles.js.map +1 -1
- package/dist/esm/compound-button/compound-button.template.d.ts +3 -1
- package/dist/esm/compound-button/compound-button.template.html +11 -0
- package/dist/esm/compound-button/compound-button.template.js +8 -3
- package/dist/esm/compound-button/compound-button.template.js.map +1 -1
- package/dist/esm/compound-button/define-async.d.ts +1 -0
- package/dist/esm/compound-button/define-async.js +4 -0
- package/dist/esm/compound-button/define-async.js.map +1 -0
- package/dist/esm/compound-button/define.js +2 -2
- package/dist/esm/compound-button/define.js.map +1 -1
- package/dist/esm/compound-button/index.d.ts +1 -0
- package/dist/esm/compound-button/index.js +1 -0
- package/dist/esm/compound-button/index.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.base.d.ts +55 -0
- package/dist/esm/counter-badge/counter-badge.base.js +84 -0
- package/dist/esm/counter-badge/counter-badge.base.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.bench.d.ts +1 -0
- package/dist/esm/counter-badge/counter-badge.bench.js +1 -3
- package/dist/esm/counter-badge/counter-badge.bench.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.d.ts +8 -57
- package/dist/esm/counter-badge/counter-badge.definition-async.d.ts +10 -0
- package/dist/esm/counter-badge/counter-badge.definition-async.js +17 -0
- package/dist/esm/counter-badge/counter-badge.definition-async.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.definition.d.ts +4 -4
- package/dist/esm/counter-badge/counter-badge.definition.js +8 -7
- package/dist/esm/counter-badge/counter-badge.definition.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.js +9 -76
- package/dist/esm/counter-badge/counter-badge.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.options.d.ts +26 -12
- package/dist/esm/counter-badge/counter-badge.options.js +15 -4
- package/dist/esm/counter-badge/counter-badge.options.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.styles.css +177 -0
- package/dist/esm/counter-badge/counter-badge.styles.js +1 -1
- package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.template.d.ts +9 -1
- package/dist/esm/counter-badge/counter-badge.template.html +8 -0
- package/dist/esm/counter-badge/counter-badge.template.js +15 -7
- package/dist/esm/counter-badge/counter-badge.template.js.map +1 -1
- package/dist/esm/counter-badge/define-async.d.ts +1 -0
- package/dist/esm/counter-badge/define-async.js +4 -0
- package/dist/esm/counter-badge/define-async.js.map +1 -0
- package/dist/esm/counter-badge/define.js +2 -2
- package/dist/esm/counter-badge/define.js.map +1 -1
- package/dist/esm/counter-badge/index.d.ts +4 -3
- package/dist/esm/counter-badge/index.js +4 -3
- package/dist/esm/counter-badge/index.js.map +1 -1
- package/dist/esm/define-all.d.ts +42 -0
- package/dist/esm/define-all.js +43 -0
- package/dist/esm/define-all.js.map +1 -0
- package/dist/esm/dialog/define-async.d.ts +1 -0
- package/dist/esm/dialog/define-async.js +4 -0
- package/dist/esm/dialog/define-async.js.map +1 -0
- package/dist/esm/dialog/define.js +2 -2
- package/dist/esm/dialog/define.js.map +1 -1
- package/dist/esm/dialog/dialog.bench.d.ts +1 -0
- package/dist/esm/dialog/dialog.bench.js +1 -3
- package/dist/esm/dialog/dialog.bench.js.map +1 -1
- package/dist/esm/dialog/dialog.d.ts +63 -11
- package/dist/esm/dialog/dialog.definition-async.d.ts +10 -0
- package/dist/esm/dialog/dialog.definition-async.js +17 -0
- package/dist/esm/dialog/dialog.definition-async.js.map +1 -0
- package/dist/esm/dialog/dialog.definition.d.ts +3 -5
- package/dist/esm/dialog/dialog.definition.js +8 -9
- package/dist/esm/dialog/dialog.definition.js.map +1 -1
- package/dist/esm/dialog/dialog.js +98 -33
- package/dist/esm/dialog/dialog.js.map +1 -1
- package/dist/esm/dialog/dialog.options.d.ts +7 -1
- package/dist/esm/dialog/dialog.options.js +7 -0
- package/dist/esm/dialog/dialog.options.js.map +1 -1
- package/dist/esm/dialog/dialog.styles.css +84 -0
- package/dist/esm/dialog/dialog.styles.js +4 -4
- package/dist/esm/dialog/dialog.styles.js.map +1 -1
- package/dist/esm/dialog/dialog.template.d.ts +5 -0
- package/dist/esm/dialog/dialog.template.html +20 -0
- package/dist/esm/dialog/dialog.template.js +11 -3
- package/dist/esm/dialog/dialog.template.js.map +1 -1
- package/dist/esm/dialog/index.d.ts +1 -0
- package/dist/esm/dialog/index.js +1 -0
- package/dist/esm/dialog/index.js.map +1 -1
- package/dist/esm/dialog-body/define-async.d.ts +1 -0
- package/dist/esm/dialog-body/define-async.js +4 -0
- package/dist/esm/dialog-body/define-async.js.map +1 -0
- package/dist/esm/dialog-body/define.js +2 -2
- package/dist/esm/dialog-body/define.js.map +1 -1
- package/dist/esm/dialog-body/dialog-body.bench.d.ts +1 -0
- package/dist/esm/dialog-body/dialog-body.bench.js +1 -3
- package/dist/esm/dialog-body/dialog-body.bench.js.map +1 -1
- package/dist/esm/dialog-body/dialog-body.d.ts +9 -0
- package/dist/esm/dialog-body/dialog-body.definition-async.d.ts +10 -0
- package/dist/esm/dialog-body/dialog-body.definition-async.js +17 -0
- package/dist/esm/dialog-body/dialog-body.definition-async.js.map +1 -0
- package/dist/esm/dialog-body/dialog-body.definition.d.ts +3 -5
- package/dist/esm/dialog-body/dialog-body.definition.js +8 -9
- package/dist/esm/dialog-body/dialog-body.definition.js.map +1 -1
- package/dist/esm/dialog-body/dialog-body.js +9 -0
- package/dist/esm/dialog-body/dialog-body.js.map +1 -1
- package/dist/esm/dialog-body/dialog-body.options.d.ts +6 -0
- package/dist/esm/dialog-body/dialog-body.options.js +8 -0
- package/dist/esm/dialog-body/dialog-body.options.js.map +1 -0
- package/dist/esm/dialog-body/dialog-body.styles.css +92 -0
- package/dist/esm/dialog-body/dialog-body.styles.js +2 -1
- package/dist/esm/dialog-body/dialog-body.styles.js.map +1 -1
- package/dist/esm/dialog-body/dialog-body.template.html +12 -0
- package/dist/esm/dialog-body/index.d.ts +1 -0
- package/dist/esm/dialog-body/index.js +1 -0
- package/dist/esm/dialog-body/index.js.map +1 -1
- package/dist/esm/divider/define-async.d.ts +1 -0
- package/dist/esm/divider/define-async.js +4 -0
- package/dist/esm/divider/define-async.js.map +1 -0
- package/dist/esm/divider/define.js +2 -2
- package/dist/esm/divider/define.js.map +1 -1
- package/dist/esm/divider/divider.bench.d.ts +1 -0
- package/dist/esm/divider/divider.bench.js +1 -3
- package/dist/esm/divider/divider.bench.js.map +1 -1
- package/dist/esm/divider/divider.definition-async.d.ts +10 -0
- package/dist/esm/divider/divider.definition-async.js +17 -0
- package/dist/esm/divider/divider.definition-async.js.map +1 -0
- package/dist/esm/divider/divider.definition.d.ts +3 -5
- package/dist/esm/divider/divider.definition.js +8 -9
- package/dist/esm/divider/divider.definition.js.map +1 -1
- package/dist/esm/divider/divider.options.d.ts +7 -1
- package/dist/esm/divider/divider.options.js +8 -1
- package/dist/esm/divider/divider.options.js.map +1 -1
- package/dist/esm/divider/divider.styles.css +123 -0
- package/dist/esm/divider/divider.styles.js +5 -3
- package/dist/esm/divider/divider.styles.js.map +1 -1
- package/dist/esm/divider/divider.template.html +6 -0
- package/dist/esm/divider/index.d.ts +1 -0
- package/dist/esm/divider/index.js +1 -0
- package/dist/esm/divider/index.js.map +1 -1
- package/dist/esm/drawer/define-async.d.ts +1 -0
- package/dist/esm/drawer/define-async.js +4 -0
- package/dist/esm/drawer/define-async.js.map +1 -0
- package/dist/esm/drawer/define.js +2 -2
- package/dist/esm/drawer/define.js.map +1 -1
- package/dist/esm/drawer/drawer.d.ts +65 -27
- package/dist/esm/drawer/drawer.definition-async.d.ts +10 -0
- package/dist/esm/drawer/drawer.definition-async.js +17 -0
- package/dist/esm/drawer/drawer.definition-async.js.map +1 -0
- package/dist/esm/drawer/drawer.definition.d.ts +3 -4
- package/dist/esm/drawer/drawer.definition.js +7 -7
- package/dist/esm/drawer/drawer.definition.js.map +1 -1
- package/dist/esm/drawer/drawer.js +98 -58
- package/dist/esm/drawer/drawer.js.map +1 -1
- package/dist/esm/drawer/drawer.options.d.ts +7 -1
- package/dist/esm/drawer/drawer.options.js +7 -0
- package/dist/esm/drawer/drawer.options.js.map +1 -1
- package/dist/esm/drawer/drawer.styles.css +133 -0
- package/dist/esm/drawer/drawer.styles.js +17 -18
- package/dist/esm/drawer/drawer.styles.js.map +1 -1
- package/dist/esm/drawer/drawer.template.html +21 -0
- package/dist/esm/drawer/drawer.template.js +5 -3
- package/dist/esm/drawer/drawer.template.js.map +1 -1
- package/dist/esm/drawer/index.d.ts +1 -0
- package/dist/esm/drawer/index.js +1 -0
- package/dist/esm/drawer/index.js.map +1 -1
- package/dist/esm/drawer-body/define-async.d.ts +1 -0
- package/dist/esm/drawer-body/define-async.js +4 -0
- package/dist/esm/drawer-body/define-async.js.map +1 -0
- package/dist/esm/drawer-body/define.js +2 -2
- package/dist/esm/drawer-body/define.js.map +1 -1
- package/dist/esm/drawer-body/drawer-body.definition-async.d.ts +10 -0
- package/dist/esm/drawer-body/drawer-body.definition-async.js +17 -0
- package/dist/esm/drawer-body/drawer-body.definition-async.js.map +1 -0
- package/dist/esm/drawer-body/drawer-body.definition.d.ts +3 -4
- package/dist/esm/drawer-body/drawer-body.definition.js +7 -7
- package/dist/esm/drawer-body/drawer-body.definition.js.map +1 -1
- package/dist/esm/drawer-body/drawer-body.options.d.ts +6 -0
- package/dist/esm/drawer-body/drawer-body.options.js +8 -0
- package/dist/esm/drawer-body/drawer-body.options.js.map +1 -0
- package/dist/esm/drawer-body/drawer-body.styles.css +36 -0
- package/dist/esm/drawer-body/drawer-body.styles.js +1 -1
- package/dist/esm/drawer-body/drawer-body.styles.js.map +1 -1
- package/dist/esm/drawer-body/drawer-body.template.html +15 -0
- package/dist/esm/drawer-body/index.d.ts +1 -0
- package/dist/esm/drawer-body/index.js +1 -0
- package/dist/esm/drawer-body/index.js.map +1 -1
- package/dist/esm/dropdown/define-async.d.ts +1 -0
- package/dist/esm/dropdown/define-async.js +4 -0
- package/dist/esm/dropdown/define-async.js.map +1 -0
- package/dist/esm/dropdown/define.js +2 -2
- package/dist/esm/dropdown/define.js.map +1 -1
- package/dist/esm/dropdown/dropdown.base.d.ts +33 -0
- package/dist/esm/dropdown/dropdown.base.js +113 -31
- package/dist/esm/dropdown/dropdown.base.js.map +1 -1
- package/dist/esm/dropdown/dropdown.definition-async.d.ts +10 -0
- package/dist/esm/dropdown/dropdown.definition-async.js +17 -0
- package/dist/esm/dropdown/dropdown.definition-async.js.map +1 -0
- package/dist/esm/dropdown/dropdown.definition.d.ts +3 -5
- package/dist/esm/dropdown/dropdown.definition.js +7 -8
- package/dist/esm/dropdown/dropdown.definition.js.map +1 -1
- package/dist/esm/dropdown/dropdown.options.d.ts +6 -0
- package/dist/esm/dropdown/dropdown.options.js +7 -0
- package/dist/esm/dropdown/dropdown.options.js.map +1 -1
- package/dist/esm/dropdown/dropdown.styles.css +222 -0
- package/dist/esm/dropdown/dropdown.styles.js +3 -1
- package/dist/esm/dropdown/dropdown.styles.js.map +1 -1
- package/dist/esm/dropdown/dropdown.template.html +28 -0
- package/dist/esm/dropdown/index.d.ts +1 -0
- package/dist/esm/dropdown/index.js +1 -0
- package/dist/esm/dropdown/index.js.map +1 -1
- package/dist/esm/field/define-async.d.ts +1 -0
- package/dist/esm/field/define-async.js +4 -0
- package/dist/esm/field/define-async.js.map +1 -0
- package/dist/esm/field/define.js +2 -2
- package/dist/esm/field/define.js.map +1 -1
- package/dist/esm/field/field.base.d.ts +12 -1
- package/dist/esm/field/field.base.js +13 -5
- package/dist/esm/field/field.base.js.map +1 -1
- package/dist/esm/field/field.bench.d.ts +1 -0
- package/dist/esm/field/field.bench.js +1 -3
- package/dist/esm/field/field.bench.js.map +1 -1
- package/dist/esm/field/field.d.ts +7 -0
- package/dist/esm/field/field.definition-async.d.ts +10 -0
- package/dist/esm/field/field.definition-async.js +20 -0
- package/dist/esm/field/field.definition-async.js.map +1 -0
- package/dist/esm/field/field.definition.d.ts +3 -5
- package/dist/esm/field/field.definition.js +8 -9
- package/dist/esm/field/field.definition.js.map +1 -1
- package/dist/esm/field/field.js +7 -0
- package/dist/esm/field/field.js.map +1 -1
- package/dist/esm/field/field.options.d.ts +6 -0
- package/dist/esm/field/field.options.js +7 -0
- package/dist/esm/field/field.options.js.map +1 -1
- package/dist/esm/field/field.styles.css +125 -0
- package/dist/esm/field/field.template.html +13 -0
- package/dist/esm/field/index.d.ts +1 -0
- package/dist/esm/field/index.js +1 -0
- package/dist/esm/field/index.js.map +1 -1
- package/dist/esm/fluent-design-system.js +1 -1
- package/dist/esm/fluent-design-system.js.map +1 -1
- package/dist/esm/image/define-async.d.ts +1 -0
- package/dist/esm/image/define-async.js +4 -0
- package/dist/esm/image/define-async.js.map +1 -0
- package/dist/esm/image/define.js +2 -2
- package/dist/esm/image/define.js.map +1 -1
- package/dist/esm/image/image.bench.d.ts +1 -0
- package/dist/esm/image/image.bench.js +1 -3
- package/dist/esm/image/image.bench.js.map +1 -1
- package/dist/esm/image/image.d.ts +2 -0
- package/dist/esm/image/image.definition-async.d.ts +10 -0
- package/dist/esm/image/image.definition-async.js +17 -0
- package/dist/esm/image/image.definition-async.js.map +1 -0
- package/dist/esm/image/image.definition.d.ts +3 -5
- package/dist/esm/image/image.definition.js +8 -9
- package/dist/esm/image/image.definition.js.map +1 -1
- package/dist/esm/image/image.js +2 -0
- package/dist/esm/image/image.js.map +1 -1
- package/dist/esm/image/image.options.d.ts +7 -1
- package/dist/esm/image/image.options.js +7 -0
- package/dist/esm/image/image.options.js.map +1 -1
- package/dist/esm/image/image.styles.css +50 -0
- package/dist/esm/image/image.template.html +6 -0
- package/dist/esm/image/index.d.ts +1 -0
- package/dist/esm/image/index.js +1 -0
- package/dist/esm/image/index.js.map +1 -1
- package/dist/esm/index-all-rollup.d.ts +2 -0
- package/dist/esm/index-all-rollup.js +9 -0
- package/dist/esm/index-all-rollup.js.map +1 -0
- package/dist/esm/index-rollup.d.ts +1 -44
- package/dist/esm/index-rollup.js +6 -44
- package/dist/esm/index-rollup.js.map +1 -1
- package/dist/esm/index.d.ts +6 -9
- package/dist/esm/index.js +6 -8
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/label/define-async.d.ts +1 -0
- package/dist/esm/label/define-async.js +4 -0
- package/dist/esm/label/define-async.js.map +1 -0
- package/dist/esm/label/define.js +2 -2
- package/dist/esm/label/define.js.map +1 -1
- package/dist/esm/label/index.d.ts +1 -0
- package/dist/esm/label/index.js +1 -0
- package/dist/esm/label/index.js.map +1 -1
- package/dist/esm/label/label.bench.d.ts +1 -0
- package/dist/esm/label/label.bench.js +1 -3
- package/dist/esm/label/label.bench.js.map +1 -1
- package/dist/esm/label/label.d.ts +3 -0
- package/dist/esm/label/label.definition-async.d.ts +10 -0
- package/dist/esm/label/label.definition-async.js +17 -0
- package/dist/esm/label/label.definition-async.js.map +1 -0
- package/dist/esm/label/label.definition.d.ts +3 -6
- package/dist/esm/label/label.definition.js +7 -9
- package/dist/esm/label/label.definition.js.map +1 -1
- package/dist/esm/label/label.js +3 -0
- package/dist/esm/label/label.js.map +1 -1
- package/dist/esm/label/label.options.d.ts +7 -1
- package/dist/esm/label/label.options.js +7 -0
- package/dist/esm/label/label.options.js.map +1 -1
- package/dist/esm/label/label.styles.css +40 -0
- package/dist/esm/label/label.styles.js +1 -1
- package/dist/esm/label/label.styles.js.map +1 -1
- package/dist/esm/label/label.template.html +7 -0
- package/dist/esm/link/define-async.d.ts +1 -0
- package/dist/esm/link/define-async.js +4 -0
- package/dist/esm/link/define-async.js.map +1 -0
- package/dist/esm/link/define.js +2 -2
- package/dist/esm/link/define.js.map +1 -1
- package/dist/esm/link/index.d.ts +1 -0
- package/dist/esm/link/index.js +1 -0
- package/dist/esm/link/index.js.map +1 -1
- package/dist/esm/link/link.bench.d.ts +1 -0
- package/dist/esm/link/link.bench.js +1 -3
- package/dist/esm/link/link.bench.js.map +1 -1
- package/dist/esm/link/link.definition-async.d.ts +10 -0
- package/dist/esm/link/link.definition-async.js +17 -0
- package/dist/esm/link/link.definition-async.js.map +1 -0
- package/dist/esm/link/link.definition.d.ts +4 -4
- package/dist/esm/link/link.definition.js +8 -7
- package/dist/esm/link/link.definition.js.map +1 -1
- package/dist/esm/link/link.options.d.ts +7 -1
- package/dist/esm/link/link.options.js +7 -0
- package/dist/esm/link/link.options.js.map +1 -1
- package/dist/esm/link/link.styles.css +72 -0
- package/dist/esm/link/link.styles.js +16 -5
- package/dist/esm/link/link.styles.js.map +1 -1
- package/dist/esm/link/link.template.html +6 -0
- package/dist/esm/listbox/define-async.d.ts +1 -0
- package/dist/esm/listbox/define-async.js +4 -0
- package/dist/esm/listbox/define-async.js.map +1 -0
- package/dist/esm/listbox/define.js +2 -2
- package/dist/esm/listbox/define.js.map +1 -1
- package/dist/esm/listbox/index.d.ts +1 -0
- package/dist/esm/listbox/index.js +1 -0
- package/dist/esm/listbox/index.js.map +1 -1
- package/dist/esm/listbox/listbox.d.ts +12 -7
- package/dist/esm/listbox/listbox.definition-async.d.ts +10 -0
- package/dist/esm/listbox/listbox.definition-async.js +17 -0
- package/dist/esm/listbox/listbox.definition-async.js.map +1 -0
- package/dist/esm/listbox/listbox.definition.d.ts +3 -5
- package/dist/esm/listbox/listbox.definition.js +7 -8
- package/dist/esm/listbox/listbox.definition.js.map +1 -1
- package/dist/esm/listbox/listbox.js +30 -18
- package/dist/esm/listbox/listbox.js.map +1 -1
- package/dist/esm/listbox/listbox.options.d.ts +6 -0
- package/dist/esm/listbox/listbox.options.js +7 -0
- package/dist/esm/listbox/listbox.options.js.map +1 -1
- package/dist/esm/listbox/listbox.styles.css +49 -0
- package/dist/esm/listbox/listbox.styles.js +9 -15
- package/dist/esm/listbox/listbox.styles.js.map +1 -1
- package/dist/esm/listbox/listbox.template.html +6 -0
- package/dist/esm/listbox/listbox.template.js +2 -3
- package/dist/esm/listbox/listbox.template.js.map +1 -1
- package/dist/esm/menu/define-async.d.ts +1 -0
- package/dist/esm/menu/define-async.js +4 -0
- package/dist/esm/menu/define-async.js.map +1 -0
- package/dist/esm/menu/define.js +2 -2
- package/dist/esm/menu/define.js.map +1 -1
- package/dist/esm/menu/index.d.ts +1 -0
- package/dist/esm/menu/index.js +1 -0
- package/dist/esm/menu/index.js.map +1 -1
- package/dist/esm/menu/menu.bench.d.ts +4 -0
- package/dist/esm/menu/menu.bench.js +4 -9
- package/dist/esm/menu/menu.bench.js.map +1 -1
- package/dist/esm/menu/menu.d.ts +35 -19
- package/dist/esm/menu/menu.definition-async.d.ts +10 -0
- package/dist/esm/menu/menu.definition-async.js +17 -0
- package/dist/esm/menu/menu.definition-async.js.map +1 -0
- package/dist/esm/menu/menu.definition.d.ts +3 -5
- package/dist/esm/menu/menu.definition.js +7 -8
- package/dist/esm/menu/menu.definition.js.map +1 -1
- package/dist/esm/menu/menu.js +78 -79
- package/dist/esm/menu/menu.js.map +1 -1
- package/dist/esm/menu/menu.options.d.ts +6 -0
- package/dist/esm/menu/menu.options.js +8 -0
- package/dist/esm/menu/menu.options.js.map +1 -0
- package/dist/esm/menu/menu.styles.css +56 -0
- package/dist/esm/menu/menu.styles.js +8 -9
- package/dist/esm/menu/menu.styles.js.map +1 -1
- package/dist/esm/menu/menu.template.html +8 -0
- package/dist/esm/menu/menu.template.js +1 -7
- package/dist/esm/menu/menu.template.js.map +1 -1
- package/dist/esm/menu-button/define-async.d.ts +1 -0
- package/dist/esm/menu-button/define-async.js +4 -0
- package/dist/esm/menu-button/define-async.js.map +1 -0
- package/dist/esm/menu-button/define.js +2 -2
- package/dist/esm/menu-button/define.js.map +1 -1
- package/dist/esm/menu-button/index.d.ts +1 -0
- package/dist/esm/menu-button/index.js +1 -0
- package/dist/esm/menu-button/index.js.map +1 -1
- package/dist/esm/menu-button/menu-button.bench.d.ts +1 -0
- package/dist/esm/menu-button/menu-button.bench.js +1 -3
- package/dist/esm/menu-button/menu-button.bench.js.map +1 -1
- package/dist/esm/menu-button/menu-button.definition-async.d.ts +10 -0
- package/dist/esm/menu-button/menu-button.definition-async.js +17 -0
- package/dist/esm/menu-button/menu-button.definition-async.js.map +1 -0
- package/dist/esm/menu-button/menu-button.definition.d.ts +4 -4
- package/dist/esm/menu-button/menu-button.definition.js +9 -8
- package/dist/esm/menu-button/menu-button.definition.js.map +1 -1
- package/dist/esm/menu-button/menu-button.options.d.ts +7 -1
- package/dist/esm/menu-button/menu-button.options.js +7 -0
- package/dist/esm/menu-button/menu-button.options.js.map +1 -1
- package/dist/esm/menu-button/menu-button.styles.css +268 -0
- package/dist/esm/{tab-panel/tab-panel.styles.d.ts → menu-button/menu-button.styles.d.ts} +5 -0
- package/dist/esm/menu-button/menu-button.styles.js +8 -0
- package/dist/esm/menu-button/menu-button.styles.js.map +1 -0
- package/dist/esm/menu-button/menu-button.template.html +25 -0
- package/dist/esm/menu-item/define-async.d.ts +1 -0
- package/dist/esm/menu-item/define-async.js +4 -0
- package/dist/esm/menu-item/define-async.js.map +1 -0
- package/dist/esm/menu-item/define.js +2 -2
- package/dist/esm/menu-item/define.js.map +1 -1
- package/dist/esm/menu-item/index.d.ts +1 -0
- package/dist/esm/menu-item/index.js +1 -0
- package/dist/esm/menu-item/index.js.map +1 -1
- package/dist/esm/menu-item/menu-item.bench.d.ts +1 -0
- package/dist/esm/menu-item/menu-item.bench.js +1 -3
- package/dist/esm/menu-item/menu-item.bench.js.map +1 -1
- package/dist/esm/menu-item/menu-item.d.ts +4 -2
- package/dist/esm/menu-item/menu-item.definition-async.d.ts +10 -0
- package/dist/esm/menu-item/menu-item.definition-async.js +17 -0
- package/dist/esm/menu-item/menu-item.definition-async.js.map +1 -0
- package/dist/esm/menu-item/menu-item.definition.d.ts +4 -4
- package/dist/esm/menu-item/menu-item.definition.js +8 -7
- package/dist/esm/menu-item/menu-item.definition.js.map +1 -1
- package/dist/esm/menu-item/menu-item.js +26 -13
- package/dist/esm/menu-item/menu-item.js.map +1 -1
- package/dist/esm/menu-item/menu-item.options.d.ts +7 -1
- package/dist/esm/menu-item/menu-item.options.js +7 -0
- package/dist/esm/menu-item/menu-item.options.js.map +1 -1
- package/dist/esm/menu-item/menu-item.styles.css +159 -0
- package/dist/esm/menu-item/menu-item.styles.js +15 -10
- package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
- package/dist/esm/menu-item/menu-item.template.html +50 -0
- package/dist/esm/menu-item/menu-item.template.js +3 -2
- package/dist/esm/menu-item/menu-item.template.js.map +1 -1
- package/dist/esm/menu-list/define-async.d.ts +1 -0
- package/dist/esm/menu-list/define-async.js +4 -0
- package/dist/esm/menu-list/define-async.js.map +1 -0
- package/dist/esm/menu-list/define.js +2 -2
- package/dist/esm/menu-list/define.js.map +1 -1
- package/dist/esm/menu-list/index.d.ts +2 -0
- package/dist/esm/menu-list/index.js +2 -0
- package/dist/esm/menu-list/index.js.map +1 -1
- package/dist/esm/menu-list/menu-list.base.d.ts +57 -0
- package/dist/esm/menu-list/menu-list.base.js +155 -0
- package/dist/esm/menu-list/menu-list.base.js.map +1 -0
- package/dist/esm/menu-list/menu-list.bench.d.ts +2 -0
- package/dist/esm/menu-list/menu-list.bench.js +2 -5
- package/dist/esm/menu-list/menu-list.bench.js.map +1 -1
- package/dist/esm/menu-list/menu-list.d.ts +6 -69
- package/dist/esm/menu-list/menu-list.definition-async.d.ts +10 -0
- package/dist/esm/menu-list/menu-list.definition-async.js +17 -0
- package/dist/esm/menu-list/menu-list.definition-async.js.map +1 -0
- package/dist/esm/menu-list/menu-list.definition.d.ts +4 -4
- package/dist/esm/menu-list/menu-list.definition.js +8 -7
- package/dist/esm/menu-list/menu-list.definition.js.map +1 -1
- package/dist/esm/menu-list/menu-list.js +18 -237
- package/dist/esm/menu-list/menu-list.js.map +1 -1
- package/dist/esm/menu-list/menu-list.options.d.ts +6 -0
- package/dist/esm/menu-list/menu-list.options.js +8 -0
- package/dist/esm/menu-list/menu-list.options.js.map +1 -0
- package/dist/esm/menu-list/menu-list.styles.css +20 -0
- package/dist/esm/menu-list/menu-list.styles.js +1 -1
- package/dist/esm/menu-list/menu-list.styles.js.map +1 -1
- package/dist/esm/menu-list/menu-list.template.html +6 -0
- package/dist/esm/menu-list/menu-list.template.js +1 -5
- package/dist/esm/menu-list/menu-list.template.js.map +1 -1
- package/dist/esm/message-bar/define-async.d.ts +1 -0
- package/dist/esm/message-bar/define-async.js +4 -0
- package/dist/esm/message-bar/define-async.js.map +1 -0
- package/dist/esm/message-bar/define.js +2 -2
- package/dist/esm/message-bar/define.js.map +1 -1
- package/dist/esm/message-bar/index.d.ts +1 -0
- package/dist/esm/message-bar/index.js +1 -0
- package/dist/esm/message-bar/index.js.map +1 -1
- package/dist/esm/message-bar/message-bar.bench.d.ts +2 -0
- package/dist/esm/message-bar/message-bar.bench.js +2 -5
- package/dist/esm/message-bar/message-bar.bench.js.map +1 -1
- package/dist/esm/message-bar/message-bar.d.ts +4 -1
- package/dist/esm/message-bar/message-bar.definition-async.d.ts +10 -0
- package/dist/esm/message-bar/message-bar.definition-async.js +17 -0
- package/dist/esm/message-bar/message-bar.definition-async.js.map +1 -0
- package/dist/esm/message-bar/message-bar.definition.d.ts +3 -5
- package/dist/esm/message-bar/message-bar.definition.js +7 -11
- package/dist/esm/message-bar/message-bar.definition.js.map +1 -1
- package/dist/esm/message-bar/message-bar.js +4 -1
- package/dist/esm/message-bar/message-bar.js.map +1 -1
- package/dist/esm/message-bar/message-bar.options.d.ts +12 -3
- package/dist/esm/message-bar/message-bar.options.js +13 -3
- package/dist/esm/message-bar/message-bar.options.js.map +1 -1
- package/dist/esm/message-bar/message-bar.styles.css +97 -0
- package/dist/esm/message-bar/message-bar.styles.js +1 -0
- package/dist/esm/message-bar/message-bar.styles.js.map +1 -1
- package/dist/esm/message-bar/message-bar.template.d.ts +3 -3
- package/dist/esm/message-bar/message-bar.template.html +13 -0
- package/dist/esm/message-bar/message-bar.template.js +3 -3
- package/dist/esm/option/define-async.d.ts +1 -0
- package/dist/esm/option/define-async.js +4 -0
- package/dist/esm/option/define-async.js.map +1 -0
- package/dist/esm/option/define.js +2 -2
- package/dist/esm/option/define.js.map +1 -1
- package/dist/esm/option/index.d.ts +1 -0
- package/dist/esm/option/index.js +1 -0
- package/dist/esm/option/index.js.map +1 -1
- package/dist/esm/option/option.d.ts +3 -0
- package/dist/esm/option/option.definition-async.d.ts +10 -0
- package/dist/esm/option/option.definition-async.js +17 -0
- package/dist/esm/option/option.definition-async.js.map +1 -0
- package/dist/esm/option/option.definition.d.ts +3 -5
- package/dist/esm/option/option.definition.js +7 -8
- package/dist/esm/option/option.definition.js.map +1 -1
- package/dist/esm/option/option.js +4 -1
- package/dist/esm/option/option.js.map +1 -1
- package/dist/esm/option/option.options.d.ts +6 -0
- package/dist/esm/option/option.options.js +7 -0
- package/dist/esm/option/option.options.js.map +1 -1
- package/dist/esm/option/option.styles.css +134 -0
- package/dist/esm/option/option.template.html +24 -0
- package/dist/esm/patterns/start-end.d.ts +1 -1
- package/dist/esm/patterns/start-end.js +1 -1
- package/dist/esm/patterns/start-end.js.map +1 -1
- package/dist/esm/progress-bar/define-async.d.ts +1 -0
- package/dist/esm/progress-bar/define-async.js +4 -0
- package/dist/esm/progress-bar/define-async.js.map +1 -0
- package/dist/esm/progress-bar/define.js +2 -2
- package/dist/esm/progress-bar/define.js.map +1 -1
- package/dist/esm/progress-bar/index.d.ts +1 -0
- package/dist/esm/progress-bar/index.js +1 -0
- package/dist/esm/progress-bar/index.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.base.d.ts +35 -8
- package/dist/esm/progress-bar/progress-bar.base.js +41 -20
- package/dist/esm/progress-bar/progress-bar.base.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.bench.d.ts +1 -0
- package/dist/esm/progress-bar/progress-bar.bench.js +1 -3
- package/dist/esm/progress-bar/progress-bar.bench.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.d.ts +9 -2
- package/dist/esm/progress-bar/progress-bar.definition-async.d.ts +10 -0
- package/dist/esm/progress-bar/progress-bar.definition-async.js +17 -0
- package/dist/esm/progress-bar/progress-bar.definition-async.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.definition.d.ts +3 -6
- package/dist/esm/progress-bar/progress-bar.definition.js +7 -9
- package/dist/esm/progress-bar/progress-bar.definition.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.js +1 -0
- package/dist/esm/progress-bar/progress-bar.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.options.d.ts +7 -1
- package/dist/esm/progress-bar/progress-bar.options.js +7 -0
- package/dist/esm/progress-bar/progress-bar.options.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.styles.css +103 -0
- package/dist/esm/progress-bar/progress-bar.styles.js +5 -3
- package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.template.html +6 -0
- package/dist/esm/radio/define-async.d.ts +1 -0
- package/dist/esm/radio/define-async.js +4 -0
- package/dist/esm/radio/define-async.js.map +1 -0
- package/dist/esm/radio/define.js +2 -2
- package/dist/esm/radio/define.js.map +1 -1
- package/dist/esm/radio/index.d.ts +1 -0
- package/dist/esm/radio/index.js +1 -0
- package/dist/esm/radio/index.js.map +1 -1
- package/dist/esm/radio/radio.bench.d.ts +1 -0
- package/dist/esm/radio/radio.bench.js +1 -3
- package/dist/esm/radio/radio.bench.js.map +1 -1
- package/dist/esm/radio/radio.d.ts +4 -3
- package/dist/esm/radio/radio.definition-async.d.ts +10 -0
- package/dist/esm/radio/radio.definition-async.js +17 -0
- package/dist/esm/radio/radio.definition-async.js.map +1 -0
- package/dist/esm/radio/radio.definition.d.ts +3 -6
- package/dist/esm/radio/radio.definition.js +7 -9
- package/dist/esm/radio/radio.definition.js.map +1 -1
- package/dist/esm/radio/radio.js +4 -3
- package/dist/esm/radio/radio.js.map +1 -1
- package/dist/esm/radio/radio.options.d.ts +15 -0
- package/dist/esm/radio/radio.options.js +19 -1
- package/dist/esm/radio/radio.options.js.map +1 -1
- package/dist/esm/radio/radio.styles.css +119 -0
- package/dist/esm/radio/radio.styles.js +4 -3
- package/dist/esm/radio/radio.styles.js.map +1 -1
- package/dist/esm/radio/radio.template.html +8 -0
- package/dist/esm/radio/radio.template.js +1 -1
- package/dist/esm/radio/radio.template.js.map +1 -1
- package/dist/esm/radio-group/define-async.d.ts +1 -0
- package/dist/esm/radio-group/define-async.js +4 -0
- package/dist/esm/radio-group/define-async.js.map +1 -0
- package/dist/esm/radio-group/define.js +2 -2
- package/dist/esm/radio-group/define.js.map +1 -1
- package/dist/esm/radio-group/index.d.ts +2 -0
- package/dist/esm/radio-group/index.js +2 -0
- package/dist/esm/radio-group/index.js.map +1 -1
- package/dist/esm/radio-group/radio-group.base.d.ts +274 -0
- package/dist/esm/radio-group/radio-group.base.js +442 -0
- package/dist/esm/radio-group/radio-group.base.js.map +1 -0
- package/dist/esm/radio-group/radio-group.bench.d.ts +2 -0
- package/dist/esm/radio-group/radio-group.bench.js +2 -5
- package/dist/esm/radio-group/radio-group.bench.js.map +1 -1
- package/dist/esm/radio-group/radio-group.d.ts +9 -273
- package/dist/esm/radio-group/radio-group.definition-async.d.ts +10 -0
- package/dist/esm/radio-group/radio-group.definition-async.js +17 -0
- package/dist/esm/radio-group/radio-group.definition-async.js.map +1 -0
- package/dist/esm/radio-group/radio-group.definition.d.ts +3 -6
- package/dist/esm/radio-group/radio-group.definition.js +7 -9
- package/dist/esm/radio-group/radio-group.definition.js.map +1 -1
- package/dist/esm/radio-group/radio-group.js +21 -492
- package/dist/esm/radio-group/radio-group.js.map +1 -1
- package/dist/esm/radio-group/radio-group.options.d.ts +7 -1
- package/dist/esm/radio-group/radio-group.options.js +8 -1
- package/dist/esm/radio-group/radio-group.options.js.map +1 -1
- package/dist/esm/radio-group/radio-group.styles.css +45 -0
- package/dist/esm/radio-group/radio-group.styles.js +1 -1
- package/dist/esm/radio-group/radio-group.styles.js.map +1 -1
- package/dist/esm/radio-group/radio-group.template.html +13 -0
- package/dist/esm/radio-group/radio-group.template.js +3 -3
- package/dist/esm/radio-group/radio-group.template.js.map +1 -1
- package/dist/esm/rating-display/define-async.d.ts +1 -0
- package/dist/esm/rating-display/define-async.js +4 -0
- package/dist/esm/rating-display/define-async.js.map +1 -0
- package/dist/esm/rating-display/define.js +2 -2
- package/dist/esm/rating-display/define.js.map +1 -1
- package/dist/esm/rating-display/index.d.ts +1 -0
- package/dist/esm/rating-display/index.js +1 -0
- package/dist/esm/rating-display/index.js.map +1 -1
- package/dist/esm/rating-display/rating-display.base.d.ts +11 -1
- package/dist/esm/rating-display/rating-display.base.js +24 -11
- package/dist/esm/rating-display/rating-display.base.js.map +1 -1
- package/dist/esm/rating-display/rating-display.definition-async.d.ts +10 -0
- package/dist/esm/rating-display/rating-display.definition-async.js +17 -0
- package/dist/esm/rating-display/rating-display.definition-async.js.map +1 -0
- package/dist/esm/rating-display/rating-display.definition.d.ts +3 -5
- package/dist/esm/rating-display/rating-display.definition.js +7 -8
- package/dist/esm/rating-display/rating-display.definition.js.map +1 -1
- package/dist/esm/rating-display/rating-display.options.d.ts +7 -1
- package/dist/esm/rating-display/rating-display.options.js +7 -0
- package/dist/esm/rating-display/rating-display.options.js.map +1 -1
- package/dist/esm/rating-display/rating-display.styles.css +142 -0
- package/dist/esm/rating-display/rating-display.styles.js +5 -3
- package/dist/esm/rating-display/rating-display.styles.js.map +1 -1
- package/dist/esm/rating-display/rating-display.template.html +9 -0
- package/dist/esm/slider/define-async.d.ts +1 -0
- package/dist/esm/slider/define-async.js +4 -0
- package/dist/esm/slider/define-async.js.map +1 -0
- package/dist/esm/slider/define.js +2 -2
- package/dist/esm/slider/define.js.map +1 -1
- package/dist/esm/slider/index.d.ts +1 -0
- package/dist/esm/slider/index.js +1 -0
- package/dist/esm/slider/index.js.map +1 -1
- package/dist/esm/slider/slider-utilities.d.ts +1 -1
- package/dist/esm/slider/slider-utilities.js +2 -1
- package/dist/esm/slider/slider-utilities.js.map +1 -1
- package/dist/esm/slider/slider.bench.d.ts +1 -0
- package/dist/esm/slider/slider.bench.js +1 -3
- package/dist/esm/slider/slider.bench.js.map +1 -1
- package/dist/esm/slider/slider.d.ts +10 -5
- package/dist/esm/slider/slider.definition-async.d.ts +10 -0
- package/dist/esm/slider/slider.definition-async.js +17 -0
- package/dist/esm/slider/slider.definition-async.js.map +1 -0
- package/dist/esm/slider/slider.definition.d.ts +3 -6
- package/dist/esm/slider/slider.definition.js +7 -9
- package/dist/esm/slider/slider.definition.js.map +1 -1
- package/dist/esm/slider/slider.js +58 -36
- package/dist/esm/slider/slider.js.map +1 -1
- package/dist/esm/slider/slider.options.d.ts +9 -2
- package/dist/esm/slider/slider.options.js +8 -1
- package/dist/esm/slider/slider.options.js.map +1 -1
- package/dist/esm/slider/slider.styles.css +193 -0
- package/dist/esm/slider/slider.styles.js +5 -3
- package/dist/esm/slider/slider.styles.js.map +1 -1
- package/dist/esm/slider/slider.template.html +15 -0
- package/dist/esm/spinner/define-async.d.ts +1 -0
- package/dist/esm/spinner/define-async.js +4 -0
- package/dist/esm/spinner/define-async.js.map +1 -0
- package/dist/esm/spinner/define.js +2 -2
- package/dist/esm/spinner/define.js.map +1 -1
- package/dist/esm/spinner/index.d.ts +1 -0
- package/dist/esm/spinner/index.js +1 -0
- package/dist/esm/spinner/index.js.map +1 -1
- package/dist/esm/spinner/spinner.bench.d.ts +1 -0
- package/dist/esm/spinner/spinner.bench.js +1 -3
- package/dist/esm/spinner/spinner.bench.js.map +1 -1
- package/dist/esm/spinner/spinner.definition-async.d.ts +10 -0
- package/dist/esm/spinner/spinner.definition-async.js +17 -0
- package/dist/esm/spinner/spinner.definition-async.js.map +1 -0
- package/dist/esm/spinner/spinner.definition.d.ts +4 -4
- package/dist/esm/spinner/spinner.definition.js +8 -7
- package/dist/esm/spinner/spinner.definition.js.map +1 -1
- package/dist/esm/spinner/spinner.options.d.ts +7 -1
- package/dist/esm/spinner/spinner.options.js +7 -0
- package/dist/esm/spinner/spinner.options.js.map +1 -1
- package/dist/esm/spinner/spinner.styles.css +159 -0
- package/dist/esm/spinner/spinner.styles.js +5 -3
- package/dist/esm/spinner/spinner.styles.js.map +1 -1
- package/dist/esm/spinner/spinner.template.html +18 -0
- package/dist/esm/styles/index.d.ts +2 -1
- package/dist/esm/styles/index.js +2 -1
- package/dist/esm/styles/index.js.map +1 -1
- package/dist/esm/styles/partials/badge.partials.d.ts +2 -1
- package/dist/esm/styles/partials/badge.partials.js +3 -2
- package/dist/esm/styles/partials/badge.partials.js.map +1 -1
- package/dist/esm/switch/define-async.d.ts +1 -0
- package/dist/esm/switch/define-async.js +4 -0
- package/dist/esm/switch/define-async.js.map +1 -0
- package/dist/esm/switch/define.js +2 -2
- package/dist/esm/switch/define.js.map +1 -1
- package/dist/esm/switch/index.d.ts +1 -0
- package/dist/esm/switch/index.js +1 -0
- package/dist/esm/switch/index.js.map +1 -1
- package/dist/esm/switch/switch.bench.d.ts +1 -0
- package/dist/esm/switch/switch.bench.js +1 -3
- package/dist/esm/switch/switch.bench.js.map +1 -1
- package/dist/esm/switch/switch.d.ts +2 -1
- package/dist/esm/switch/switch.definition-async.d.ts +10 -0
- package/dist/esm/switch/switch.definition-async.js +17 -0
- package/dist/esm/switch/switch.definition-async.js.map +1 -0
- package/dist/esm/switch/switch.definition.d.ts +3 -5
- package/dist/esm/switch/switch.definition.js +8 -9
- package/dist/esm/switch/switch.definition.js.map +1 -1
- package/dist/esm/switch/switch.js +1 -0
- package/dist/esm/switch/switch.js.map +1 -1
- package/dist/esm/switch/switch.options.d.ts +7 -1
- package/dist/esm/switch/switch.options.js +7 -0
- package/dist/esm/switch/switch.options.js.map +1 -1
- package/dist/esm/switch/switch.styles.css +125 -0
- package/dist/esm/switch/switch.styles.js +4 -3
- package/dist/esm/switch/switch.styles.js.map +1 -1
- package/dist/esm/switch/switch.template.html +11 -0
- package/dist/esm/switch/switch.template.js +1 -1
- package/dist/esm/switch/switch.template.js.map +1 -1
- package/dist/esm/tab/define-async.d.ts +1 -0
- package/dist/esm/tab/define-async.js +4 -0
- package/dist/esm/tab/define-async.js.map +1 -0
- package/dist/esm/tab/define.js +2 -2
- package/dist/esm/tab/define.js.map +1 -1
- package/dist/esm/tab/index.d.ts +1 -0
- package/dist/esm/tab/index.js +1 -0
- package/dist/esm/tab/index.js.map +1 -1
- package/dist/esm/tab/tab.bench.d.ts +1 -0
- package/dist/esm/tab/tab.bench.js +1 -3
- package/dist/esm/tab/tab.bench.js.map +1 -1
- package/dist/esm/tab/tab.d.ts +15 -1
- package/dist/esm/tab/tab.definition-async.d.ts +10 -0
- package/dist/esm/tab/tab.definition-async.js +17 -0
- package/dist/esm/tab/tab.definition-async.js.map +1 -0
- package/dist/esm/tab/tab.definition.d.ts +7 -2
- package/dist/esm/tab/tab.definition.js +12 -6
- package/dist/esm/tab/tab.definition.js.map +1 -1
- package/dist/esm/tab/tab.js +28 -2
- package/dist/esm/tab/tab.js.map +1 -1
- package/dist/esm/tab/tab.options.d.ts +6 -0
- package/dist/esm/tab/tab.options.js +7 -0
- package/dist/esm/tab/tab.options.js.map +1 -1
- package/dist/esm/tab/tab.styles.css +122 -0
- package/dist/esm/tab/tab.styles.js +23 -3
- package/dist/esm/tab/tab.styles.js.map +1 -1
- package/dist/esm/tab/tab.template.html +8 -0
- package/dist/esm/tab/tab.template.js +2 -2
- package/dist/esm/tab/tab.template.js.map +1 -1
- package/dist/esm/tablist/define-async.d.ts +1 -0
- package/dist/esm/tablist/define-async.js +4 -0
- package/dist/esm/tablist/define-async.js.map +1 -0
- package/dist/esm/tablist/define.js +2 -2
- package/dist/esm/tablist/define.js.map +1 -1
- package/dist/esm/tablist/index.d.ts +1 -0
- package/dist/esm/tablist/index.js +1 -0
- package/dist/esm/tablist/index.js.map +1 -1
- package/dist/esm/tablist/tablist.base.d.ts +15 -46
- package/dist/esm/tablist/tablist.base.js +114 -209
- package/dist/esm/tablist/tablist.base.js.map +1 -1
- package/dist/esm/tablist/tablist.bench.d.ts +2 -0
- package/dist/esm/tablist/tablist.bench.js +2 -5
- package/dist/esm/tablist/tablist.bench.js.map +1 -1
- package/dist/esm/tablist/tablist.d.ts +8 -74
- package/dist/esm/tablist/tablist.definition-async.d.ts +10 -0
- package/dist/esm/tablist/tablist.definition-async.js +20 -0
- package/dist/esm/tablist/tablist.definition-async.js.map +1 -0
- package/dist/esm/tablist/tablist.definition.d.ts +4 -4
- package/dist/esm/tablist/tablist.definition.js +9 -8
- package/dist/esm/tablist/tablist.definition.js.map +1 -1
- package/dist/esm/tablist/tablist.js +23 -132
- package/dist/esm/tablist/tablist.js.map +1 -1
- package/dist/esm/tablist/tablist.options.d.ts +7 -1
- package/dist/esm/tablist/tablist.options.js +8 -1
- package/dist/esm/tablist/tablist.options.js.map +1 -1
- package/dist/esm/tablist/tablist.styles.css +207 -0
- package/dist/esm/tablist/tablist.styles.js +83 -65
- package/dist/esm/tablist/tablist.styles.js.map +1 -1
- package/dist/esm/tablist/tablist.template.html +6 -0
- package/dist/esm/tablist/tablist.template.js +5 -1
- package/dist/esm/tablist/tablist.template.js.map +1 -1
- package/dist/esm/text/define-async.d.ts +1 -0
- package/dist/esm/text/define-async.js +4 -0
- package/dist/esm/text/define-async.js.map +1 -0
- package/dist/esm/text/define.js +2 -2
- package/dist/esm/text/define.js.map +1 -1
- package/dist/esm/text/index.d.ts +1 -0
- package/dist/esm/text/index.js +1 -0
- package/dist/esm/text/index.js.map +1 -1
- package/dist/esm/text/text.bench.d.ts +1 -0
- package/dist/esm/text/text.bench.js +1 -3
- package/dist/esm/text/text.bench.js.map +1 -1
- package/dist/esm/text/text.d.ts +2 -0
- package/dist/esm/text/text.definition-async.d.ts +10 -0
- package/dist/esm/text/text.definition-async.js +17 -0
- package/dist/esm/text/text.definition-async.js.map +1 -0
- package/dist/esm/text/text.definition.d.ts +3 -6
- package/dist/esm/text/text.definition.js +7 -9
- package/dist/esm/text/text.definition.js.map +1 -1
- package/dist/esm/text/text.js +2 -0
- package/dist/esm/text/text.js.map +1 -1
- package/dist/esm/text/text.options.d.ts +7 -1
- package/dist/esm/text/text.options.js +7 -0
- package/dist/esm/text/text.options.js.map +1 -1
- package/dist/esm/text/text.styles.css +108 -0
- package/dist/esm/text/text.styles.js +1 -1
- package/dist/esm/text/text.styles.js.map +1 -1
- package/dist/esm/text/text.template.html +6 -0
- package/dist/esm/text-input/define-async.d.ts +1 -0
- package/dist/esm/text-input/define-async.js +4 -0
- package/dist/esm/text-input/define-async.js.map +1 -0
- package/dist/esm/text-input/define.js +2 -2
- package/dist/esm/text-input/define.js.map +1 -1
- package/dist/esm/text-input/index.d.ts +1 -0
- package/dist/esm/text-input/index.js +1 -0
- package/dist/esm/text-input/index.js.map +1 -1
- package/dist/esm/text-input/text-input.base.d.ts +4 -22
- package/dist/esm/text-input/text-input.base.js +20 -34
- package/dist/esm/text-input/text-input.base.js.map +1 -1
- package/dist/esm/text-input/text-input.bench.d.ts +1 -0
- package/dist/esm/text-input/text-input.bench.js +1 -3
- package/dist/esm/text-input/text-input.bench.js.map +1 -1
- package/dist/esm/text-input/text-input.d.ts +2 -0
- package/dist/esm/text-input/text-input.definition-async.d.ts +10 -0
- package/dist/esm/text-input/text-input.definition-async.js +20 -0
- package/dist/esm/text-input/text-input.definition-async.js.map +1 -0
- package/dist/esm/text-input/text-input.definition.d.ts +3 -5
- package/dist/esm/text-input/text-input.definition.js +8 -9
- package/dist/esm/text-input/text-input.definition.js.map +1 -1
- package/dist/esm/text-input/text-input.js +2 -0
- package/dist/esm/text-input/text-input.js.map +1 -1
- package/dist/esm/text-input/text-input.options.d.ts +6 -0
- package/dist/esm/text-input/text-input.options.js +7 -0
- package/dist/esm/text-input/text-input.options.js.map +1 -1
- package/dist/esm/text-input/text-input.styles.css +204 -0
- package/dist/esm/text-input/text-input.template.d.ts +1 -1
- package/dist/esm/text-input/text-input.template.html +35 -0
- package/dist/esm/text-input/text-input.template.js +4 -15
- package/dist/esm/text-input/text-input.template.js.map +1 -1
- package/dist/esm/textarea/define-async.d.ts +1 -0
- package/dist/esm/textarea/define-async.js +4 -0
- package/dist/esm/textarea/define-async.js.map +1 -0
- package/dist/esm/textarea/define.js +2 -2
- package/dist/esm/textarea/define.js.map +1 -1
- package/dist/esm/textarea/index.d.ts +1 -0
- package/dist/esm/textarea/index.js +1 -0
- package/dist/esm/textarea/index.js.map +1 -1
- package/dist/esm/textarea/textarea.base.d.ts +14 -5
- package/dist/esm/textarea/textarea.base.js +58 -36
- package/dist/esm/textarea/textarea.base.js.map +1 -1
- package/dist/esm/textarea/textarea.bench.d.ts +1 -0
- package/dist/esm/textarea/textarea.bench.js +1 -3
- package/dist/esm/textarea/textarea.bench.js.map +1 -1
- package/dist/esm/textarea/textarea.definition-async.d.ts +10 -0
- package/dist/esm/textarea/textarea.definition-async.js +20 -0
- package/dist/esm/textarea/textarea.definition-async.js.map +1 -0
- package/dist/esm/textarea/textarea.definition.d.ts +3 -5
- package/dist/esm/textarea/textarea.definition.js +8 -9
- package/dist/esm/textarea/textarea.definition.js.map +1 -1
- package/dist/esm/textarea/textarea.options.d.ts +6 -0
- package/dist/esm/textarea/textarea.options.js +7 -0
- package/dist/esm/textarea/textarea.options.js.map +1 -1
- package/dist/esm/textarea/textarea.styles.css +262 -0
- package/dist/esm/textarea/textarea.styles.js +4 -3
- package/dist/esm/textarea/textarea.styles.js.map +1 -1
- package/dist/esm/textarea/textarea.template.html +30 -0
- package/dist/esm/textarea/textarea.template.js +1 -1
- package/dist/esm/textarea/textarea.template.js.map +1 -1
- package/dist/esm/theme/design-tokens.d.ts +115 -0
- package/dist/esm/theme/design-tokens.js +115 -0
- package/dist/esm/theme/design-tokens.js.map +1 -1
- package/dist/esm/theme/index.d.ts +1 -1
- package/dist/esm/theme/index.js +1 -1
- package/dist/esm/theme/index.js.map +1 -1
- package/dist/esm/theme/set-theme.d.ts +2 -7
- package/dist/esm/theme/set-theme.js +2 -9
- package/dist/esm/theme/set-theme.js.map +1 -1
- package/dist/esm/toggle-button/define-async.d.ts +1 -0
- package/dist/esm/toggle-button/define-async.js +4 -0
- package/dist/esm/toggle-button/define-async.js.map +1 -0
- package/dist/esm/toggle-button/define.js +2 -2
- package/dist/esm/toggle-button/define.js.map +1 -1
- package/dist/esm/toggle-button/index.d.ts +1 -0
- package/dist/esm/toggle-button/index.js +1 -0
- package/dist/esm/toggle-button/index.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.bench.d.ts +1 -0
- package/dist/esm/toggle-button/toggle-button.bench.js +1 -3
- package/dist/esm/toggle-button/toggle-button.bench.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.definition-async.d.ts +10 -0
- package/dist/esm/toggle-button/toggle-button.definition-async.js +17 -0
- package/dist/esm/toggle-button/toggle-button.definition-async.js.map +1 -0
- package/dist/esm/toggle-button/toggle-button.definition.d.ts +3 -4
- package/dist/esm/toggle-button/toggle-button.definition.js +7 -7
- package/dist/esm/toggle-button/toggle-button.definition.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.js +2 -3
- package/dist/esm/toggle-button/toggle-button.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.options.d.ts +8 -2
- package/dist/esm/toggle-button/toggle-button.options.js +7 -0
- package/dist/esm/toggle-button/toggle-button.options.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.styles.css +364 -0
- package/dist/esm/toggle-button/toggle-button.styles.js +7 -3
- package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.template.html +10 -0
- package/dist/esm/tooltip/define-async.d.ts +1 -0
- package/dist/esm/tooltip/define-async.js +4 -0
- package/dist/esm/tooltip/define-async.js.map +1 -0
- package/dist/esm/tooltip/define.js +2 -2
- package/dist/esm/tooltip/define.js.map +1 -1
- package/dist/esm/tooltip/index.d.ts +1 -0
- package/dist/esm/tooltip/index.js +1 -0
- package/dist/esm/tooltip/index.js.map +1 -1
- package/dist/esm/tooltip/tooltip.d.ts +13 -11
- package/dist/esm/tooltip/tooltip.definition-async.d.ts +10 -0
- package/dist/esm/tooltip/tooltip.definition-async.js +17 -0
- package/dist/esm/tooltip/tooltip.definition-async.js.map +1 -0
- package/dist/esm/tooltip/tooltip.definition.d.ts +3 -5
- package/dist/esm/tooltip/tooltip.definition.js +7 -8
- package/dist/esm/tooltip/tooltip.definition.js.map +1 -1
- package/dist/esm/tooltip/tooltip.js +44 -10
- package/dist/esm/tooltip/tooltip.js.map +1 -1
- package/dist/esm/tooltip/tooltip.options.d.ts +6 -0
- package/dist/esm/tooltip/tooltip.options.js +7 -0
- package/dist/esm/tooltip/tooltip.options.js.map +1 -1
- package/dist/esm/tooltip/tooltip.styles.css +90 -0
- package/dist/esm/tooltip/tooltip.styles.js +1 -1
- package/dist/esm/tooltip/tooltip.template.html +6 -0
- package/dist/esm/tree/define-async.d.ts +1 -0
- package/dist/esm/tree/define-async.js +4 -0
- package/dist/esm/tree/define-async.js.map +1 -0
- package/dist/esm/tree/define.js +2 -2
- package/dist/esm/tree/define.js.map +1 -1
- package/dist/esm/tree/index.d.ts +1 -0
- package/dist/esm/tree/index.js +1 -0
- package/dist/esm/tree/index.js.map +1 -1
- package/dist/esm/tree/tree.base.d.ts +12 -27
- package/dist/esm/tree/tree.base.js +36 -105
- package/dist/esm/tree/tree.base.js.map +1 -1
- package/dist/esm/tree/tree.bench.d.ts +1 -0
- package/dist/esm/tree/tree.bench.js +1 -3
- package/dist/esm/tree/tree.bench.js.map +1 -1
- package/dist/esm/tree/tree.d.ts +13 -2
- package/dist/esm/tree/tree.definition-async.d.ts +10 -0
- package/dist/esm/tree/tree.definition-async.js +17 -0
- package/dist/esm/tree/tree.definition-async.js.map +1 -0
- package/dist/esm/tree/tree.definition.d.ts +3 -4
- package/dist/esm/tree/tree.definition.js +10 -10
- package/dist/esm/tree/tree.definition.js.map +1 -1
- package/dist/esm/tree/tree.js +31 -2
- package/dist/esm/tree/tree.js.map +1 -1
- package/dist/esm/tree/tree.options.d.ts +6 -0
- package/dist/esm/tree/tree.options.js +8 -0
- package/dist/esm/tree/tree.options.js.map +1 -0
- package/dist/esm/tree/tree.styles.css +10 -0
- package/dist/esm/tree/tree.template.html +13 -0
- package/dist/esm/tree/tree.template.js +2 -2
- package/dist/esm/tree/tree.template.js.map +1 -1
- package/dist/esm/tree-item/define-async.d.ts +1 -0
- package/dist/esm/tree-item/define-async.js +4 -0
- package/dist/esm/tree-item/define-async.js.map +1 -0
- package/dist/esm/tree-item/define.js +2 -2
- package/dist/esm/tree-item/define.js.map +1 -1
- package/dist/esm/tree-item/index.d.ts +1 -0
- package/dist/esm/tree-item/index.js +1 -0
- package/dist/esm/tree-item/index.js.map +1 -1
- package/dist/esm/tree-item/tree-item.base.d.ts +31 -5
- package/dist/esm/tree-item/tree-item.base.js +69 -21
- package/dist/esm/tree-item/tree-item.base.js.map +1 -1
- package/dist/esm/tree-item/tree-item.bench.d.ts +1 -0
- package/dist/esm/tree-item/tree-item.bench.js +1 -3
- package/dist/esm/tree-item/tree-item.bench.js.map +1 -1
- package/dist/esm/tree-item/tree-item.d.ts +15 -0
- package/dist/esm/tree-item/tree-item.definition-async.d.ts +10 -0
- package/dist/esm/tree-item/tree-item.definition-async.js +17 -0
- package/dist/esm/tree-item/tree-item.definition-async.js.map +1 -0
- package/dist/esm/tree-item/tree-item.definition.d.ts +3 -4
- package/dist/esm/tree-item/tree-item.definition.js +10 -10
- package/dist/esm/tree-item/tree-item.definition.js.map +1 -1
- package/dist/esm/tree-item/tree-item.js +15 -0
- package/dist/esm/tree-item/tree-item.js.map +1 -1
- package/dist/esm/tree-item/tree-item.options.d.ts +6 -0
- package/dist/esm/tree-item/tree-item.options.js +7 -0
- package/dist/esm/tree-item/tree-item.options.js.map +1 -1
- package/dist/esm/tree-item/tree-item.styles.css +161 -0
- package/dist/esm/tree-item/tree-item.template.html +27 -0
- package/dist/esm/tree-item/tree-item.template.js +1 -1
- package/dist/esm/tree-item/tree-item.template.js.map +1 -1
- package/dist/esm/utils/autofocus.d.ts +12 -0
- package/dist/esm/utils/autofocus.js +25 -0
- package/dist/esm/utils/autofocus.js.map +1 -0
- package/dist/esm/utils/direction.d.ts +13 -1
- package/dist/esm/utils/direction.js +8 -1
- package/dist/esm/utils/direction.js.map +1 -1
- package/dist/esm/utils/focusable-element.js +2 -1
- package/dist/esm/utils/focusable-element.js.map +1 -1
- package/dist/esm/utils/focusgroup.d.ts +22 -0
- package/dist/esm/utils/focusgroup.js +42 -0
- package/dist/esm/utils/focusgroup.js.map +1 -0
- package/dist/esm/utils/index.d.ts +2 -1
- package/dist/esm/utils/index.js +2 -1
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/esm/utils/numbers.d.ts +5 -0
- package/dist/esm/utils/numbers.js +9 -0
- package/dist/esm/utils/numbers.js.map +1 -0
- package/dist/esm/utils/orientation.d.ts +13 -0
- package/dist/esm/utils/orientation.js +10 -0
- package/dist/esm/utils/orientation.js.map +1 -0
- package/dist/esm/utils/request-idle-callback.d.ts +15 -0
- package/dist/esm/utils/request-idle-callback.js +11 -10
- package/dist/esm/utils/request-idle-callback.js.map +1 -1
- package/dist/esm/utils/typings.d.ts +12 -0
- package/dist/esm/utils/typings.js +21 -1
- package/dist/esm/utils/typings.js.map +1 -1
- package/dist/web-components-all.js +15035 -0
- package/dist/web-components-all.min.js +43 -0
- package/dist/web-components.d.ts +1370 -1362
- package/dist/web-components.js +8334 -7800
- package/dist/web-components.min.js +27 -567
- package/package.json +35 -13
- package/dist/esm/tab-panel/define.js +0 -7
- package/dist/esm/tab-panel/define.js.map +0 -1
- package/dist/esm/tab-panel/index.d.ts +0 -4
- package/dist/esm/tab-panel/index.js +0 -5
- package/dist/esm/tab-panel/index.js.map +0 -1
- package/dist/esm/tab-panel/tab-panel.bench.d.ts +0 -3
- package/dist/esm/tab-panel/tab-panel.bench.js +0 -13
- package/dist/esm/tab-panel/tab-panel.bench.js.map +0 -1
- package/dist/esm/tab-panel/tab-panel.d.ts +0 -8
- package/dist/esm/tab-panel/tab-panel.definition.d.ts +0 -5
- package/dist/esm/tab-panel/tab-panel.definition.js +0 -13
- package/dist/esm/tab-panel/tab-panel.definition.js.map +0 -1
- package/dist/esm/tab-panel/tab-panel.js +0 -9
- package/dist/esm/tab-panel/tab-panel.js.map +0 -1
- package/dist/esm/tab-panel/tab-panel.styles.js +0 -12
- package/dist/esm/tab-panel/tab-panel.styles.js.map +0 -1
- package/dist/esm/tab-panel/tab-panel.template.d.ts +0 -7
- package/dist/esm/tab-panel/tab-panel.template.js +0 -13
- package/dist/esm/tab-panel/tab-panel.template.js.map +0 -1
- package/dist/esm/tabs/define.js +0 -7
- package/dist/esm/tabs/define.js.map +0 -1
- package/dist/esm/tabs/index.d.ts +0 -6
- package/dist/esm/tabs/index.js +0 -6
- package/dist/esm/tabs/index.js.map +0 -1
- package/dist/esm/tabs/tabs.base.d.ts +0 -90
- package/dist/esm/tabs/tabs.base.js +0 -279
- package/dist/esm/tabs/tabs.base.js.map +0 -1
- package/dist/esm/tabs/tabs.bench.d.ts +0 -3
- package/dist/esm/tabs/tabs.bench.js +0 -32
- package/dist/esm/tabs/tabs.bench.js.map +0 -1
- package/dist/esm/tabs/tabs.d.ts +0 -100
- package/dist/esm/tabs/tabs.definition.d.ts +0 -5
- package/dist/esm/tabs/tabs.definition.js +0 -13
- package/dist/esm/tabs/tabs.definition.js.map +0 -1
- package/dist/esm/tabs/tabs.js +0 -180
- package/dist/esm/tabs/tabs.js.map +0 -1
- package/dist/esm/tabs/tabs.options.d.ts +0 -32
- package/dist/esm/tabs/tabs.options.js +0 -16
- package/dist/esm/tabs/tabs.options.js.map +0 -1
- package/dist/esm/tabs/tabs.styles.d.ts +0 -1
- package/dist/esm/tabs/tabs.styles.js +0 -230
- package/dist/esm/tabs/tabs.styles.js.map +0 -1
- package/dist/esm/tabs/tabs.template.d.ts +0 -8
- package/dist/esm/tabs/tabs.template.js +0 -19
- package/dist/esm/tabs/tabs.template.js.map +0 -1
- package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.d.ts +0 -124
- package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js +0 -142
- package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js.map +0 -1
- /package/dist/esm/{tabs/define.d.ts → accordion/define-async.d.ts} +0 -0
- /package/dist/esm/{tab-panel/define.d.ts → accordion-item/define-async.d.ts} +0 -0
package/dist/web-components.d.ts
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import { CaptureType } from '@microsoft/fast-element';
|
|
2
2
|
import { CSSDirective } from '@microsoft/fast-element';
|
|
3
|
-
import { Direction } from '@microsoft/fast-web-utilities';
|
|
4
3
|
import { ElementStyles } from '@microsoft/fast-element';
|
|
5
4
|
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
6
5
|
import { FASTElement } from '@microsoft/fast-element';
|
|
7
|
-
import { FASTElementDefinition } from '@microsoft/fast-element';
|
|
8
|
-
import type { HostBehavior } from '@microsoft/fast-element';
|
|
9
|
-
import type { HostController } from '@microsoft/fast-element';
|
|
10
6
|
import { HTMLDirective } from '@microsoft/fast-element';
|
|
11
|
-
import {
|
|
7
|
+
import type { PartialFASTElementDefinition } from '@microsoft/fast-element';
|
|
12
8
|
import { SyntheticViewTemplate } from '@microsoft/fast-element';
|
|
13
9
|
import { ViewTemplate } from '@microsoft/fast-element';
|
|
14
10
|
|
|
@@ -19,7 +15,7 @@ import { ViewTemplate } from '@microsoft/fast-element';
|
|
|
19
15
|
* @tag fluent-accordion
|
|
20
16
|
*
|
|
21
17
|
* @slot - The default slot for the accordion items
|
|
22
|
-
* @fires change - Fires a custom 'change' event when the active item changes
|
|
18
|
+
* @fires { Event } change - Fires a custom 'change' event when the active item changes
|
|
23
19
|
*
|
|
24
20
|
* @public
|
|
25
21
|
*/
|
|
@@ -33,7 +29,7 @@ export declare class Accordion extends FASTElement {
|
|
|
33
29
|
* HTML attribute: expand-mode
|
|
34
30
|
*/
|
|
35
31
|
expandmode: AccordionExpandMode;
|
|
36
|
-
expandmodeChanged(prev: AccordionExpandMode, next: AccordionExpandMode): void;
|
|
32
|
+
expandmodeChanged(prev: AccordionExpandMode | undefined, next: AccordionExpandMode): void;
|
|
37
33
|
/**
|
|
38
34
|
* @internal
|
|
39
35
|
*/
|
|
@@ -46,6 +42,11 @@ export declare class Accordion extends FASTElement {
|
|
|
46
42
|
* @internal
|
|
47
43
|
*/
|
|
48
44
|
slottedAccordionItemsChanged(oldValue: HTMLElement[], newValue: HTMLElement[]): void;
|
|
45
|
+
/**
|
|
46
|
+
* Guard flag to prevent re-entrant calls to setSingleExpandMode.
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
private _isAdjusting;
|
|
49
50
|
/**
|
|
50
51
|
* Watch for changes to the slotted accordion items `disabled` and `expanded` attributes
|
|
51
52
|
* @internal
|
|
@@ -54,45 +55,43 @@ export declare class Accordion extends FASTElement {
|
|
|
54
55
|
private activeItemIndex;
|
|
55
56
|
/**
|
|
56
57
|
* Find the first expanded item in the accordion
|
|
57
|
-
* @returns {void}
|
|
58
58
|
*/
|
|
59
59
|
private findExpandedItem;
|
|
60
60
|
/**
|
|
61
61
|
* Resets event listeners and sets the `accordionItems` property
|
|
62
62
|
* then rebinds event listeners to each non-disabled item
|
|
63
|
-
* @returns {void}
|
|
64
63
|
*/
|
|
65
64
|
private setItems;
|
|
66
65
|
/**
|
|
67
66
|
* Checks if the accordion is in single expand mode
|
|
68
|
-
* @returns
|
|
67
|
+
* @returns true if the accordion is in single expand mode.
|
|
69
68
|
*/
|
|
70
69
|
private isSingleExpandMode;
|
|
71
70
|
/**
|
|
72
71
|
* Controls the behavior of the accordion in single expand mode
|
|
73
|
-
* @param expandedItem The item to expand in single expand mode
|
|
74
|
-
* @returns {void}
|
|
72
|
+
* @param expandedItem - The item to expand in single expand mode
|
|
75
73
|
*/
|
|
76
74
|
private setSingleExpandMode;
|
|
77
75
|
/**
|
|
78
76
|
* Removes event listeners from the previous accordion items
|
|
79
|
-
* @param oldValue An array of the previous accordion items
|
|
77
|
+
* @param oldValue - An array of the previous accordion items
|
|
80
78
|
*/
|
|
81
79
|
private removeItemListeners;
|
|
82
80
|
/**
|
|
83
81
|
* Changes the expanded state of the accordion item
|
|
84
|
-
* @param evt Click event
|
|
82
|
+
* @param evt - Click event
|
|
85
83
|
* @returns
|
|
86
84
|
*/
|
|
87
85
|
private expandedChangedHandler;
|
|
86
|
+
connectedCallback(): void;
|
|
88
87
|
}
|
|
89
88
|
|
|
90
89
|
/**
|
|
90
|
+
* The definition configuration for the `<fluent-accordion>` element.
|
|
91
|
+
*
|
|
91
92
|
* @public
|
|
92
|
-
* @remarks
|
|
93
|
-
* HTML Element: \<fluent-accordion\>
|
|
94
93
|
*/
|
|
95
|
-
export declare const accordionDefinition:
|
|
94
|
+
export declare const accordionDefinition: PartialFASTElementDefinition;
|
|
96
95
|
|
|
97
96
|
/**
|
|
98
97
|
* Expand mode for {@link Accordion}
|
|
@@ -113,6 +112,8 @@ export declare type AccordionExpandMode = ValuesOf<typeof AccordionExpandMode>;
|
|
|
113
112
|
* An Accordion Item Custom HTML Element.
|
|
114
113
|
* Based on BaseAccordionItem and includes style and layout specific attributes
|
|
115
114
|
*
|
|
115
|
+
* @tag fluent-accordion-item
|
|
116
|
+
*
|
|
116
117
|
* @public
|
|
117
118
|
*/
|
|
118
119
|
export declare class AccordionItem extends BaseAccordionItem {
|
|
@@ -152,12 +153,11 @@ export declare interface AccordionItem extends StartEnd {
|
|
|
152
153
|
}
|
|
153
154
|
|
|
154
155
|
/**
|
|
156
|
+
* The definition configuration for the `<fluent-accordion-item>` element.
|
|
155
157
|
*
|
|
156
158
|
* @public
|
|
157
|
-
* @remarks
|
|
158
|
-
* HTML Element: \<fluent-accordion-item\>
|
|
159
159
|
*/
|
|
160
|
-
export declare const accordionItemDefinition:
|
|
160
|
+
export declare const accordionItemDefinition: PartialFASTElementDefinition;
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
163
|
* An Accordion Item expand/collapse icon can appear at the start or end of the accordion
|
|
@@ -176,8 +176,6 @@ export declare type AccordionItemMarkerPosition = ValuesOf<typeof AccordionItemM
|
|
|
176
176
|
/**
|
|
177
177
|
* Accordion Item configuration options
|
|
178
178
|
*
|
|
179
|
-
* @tag fluent-accordion-item
|
|
180
|
-
*
|
|
181
179
|
* @public
|
|
182
180
|
*/
|
|
183
181
|
export declare type AccordionItemOptions = StartEndOptions<AccordionItem> & {
|
|
@@ -217,6 +215,8 @@ export declare const accordionTemplate: ElementViewTemplate<Accordion>;
|
|
|
217
215
|
* An Anchor Custom HTML Element.
|
|
218
216
|
* Based on BaseAnchor and includes style and layout specific attributes
|
|
219
217
|
*
|
|
218
|
+
* @tag fluent-anchor-button
|
|
219
|
+
*
|
|
220
220
|
* @public
|
|
221
221
|
*/
|
|
222
222
|
export declare class AnchorButton extends BaseAnchor {
|
|
@@ -305,11 +305,11 @@ export declare const AnchorButtonAppearance: {
|
|
|
305
305
|
export declare type AnchorButtonAppearance = ValuesOf<typeof AnchorButtonAppearance>;
|
|
306
306
|
|
|
307
307
|
/**
|
|
308
|
+
* The definition for the `<fluent-anchor-button>` element.
|
|
309
|
+
*
|
|
308
310
|
* @public
|
|
309
|
-
* @remarks
|
|
310
|
-
* HTML Element: \<fluent-anchor-button\>
|
|
311
311
|
*/
|
|
312
|
-
export declare const AnchorButtonDefinition:
|
|
312
|
+
export declare const AnchorButtonDefinition: PartialFASTElementDefinition;
|
|
313
313
|
|
|
314
314
|
/**
|
|
315
315
|
* An Anchor Button can be square, circular or rounded.
|
|
@@ -374,6 +374,8 @@ export declare type AnchorTarget = ValuesOf<typeof AnchorTarget>;
|
|
|
374
374
|
*
|
|
375
375
|
* @tag fluent-avatar
|
|
376
376
|
*
|
|
377
|
+
* @slot badge - Optional badge content displayed with the avatar.
|
|
378
|
+
*
|
|
377
379
|
* @public
|
|
378
380
|
*/
|
|
379
381
|
export declare class Avatar extends BaseAvatar {
|
|
@@ -537,13 +539,11 @@ export declare const AvatarColor: {
|
|
|
537
539
|
export declare type AvatarColor = ValuesOf<typeof AvatarColor>;
|
|
538
540
|
|
|
539
541
|
/**
|
|
540
|
-
* The
|
|
542
|
+
* The definition for the `<fluent-avatar>` element.
|
|
541
543
|
*
|
|
542
544
|
* @public
|
|
543
|
-
* @remarks
|
|
544
|
-
* HTML Element: \<fluent-badge\>
|
|
545
545
|
*/
|
|
546
|
-
export declare const AvatarDefinition:
|
|
546
|
+
export declare const AvatarDefinition: PartialFASTElementDefinition;
|
|
547
547
|
|
|
548
548
|
/**
|
|
549
549
|
* A specific named color for the Avatar
|
|
@@ -636,13 +636,18 @@ export declare const AvatarTemplate: ElementViewTemplate<Avatar>;
|
|
|
636
636
|
|
|
637
637
|
/**
|
|
638
638
|
* The base class used for constructing a fluent-badge custom element
|
|
639
|
+
* @tag fluent-badge
|
|
640
|
+
*
|
|
641
|
+
* @slot - Content which can be provided inside the badge.
|
|
642
|
+
* @slot start - Content which can be provided before the badge content.
|
|
643
|
+
* @slot end - Content which can be provided after the badge content.
|
|
644
|
+
*
|
|
639
645
|
* @public
|
|
640
646
|
*/
|
|
641
647
|
export declare class Badge extends FASTElement {
|
|
642
648
|
/**
|
|
643
649
|
* The appearance the badge should have.
|
|
644
650
|
*
|
|
645
|
-
* @tag fluent-badge
|
|
646
651
|
*
|
|
647
652
|
* @public
|
|
648
653
|
* @remarks
|
|
@@ -723,12 +728,11 @@ export declare const BadgeColor: {
|
|
|
723
728
|
export declare type BadgeColor = ValuesOf<typeof BadgeColor>;
|
|
724
729
|
|
|
725
730
|
/**
|
|
731
|
+
* The definition for the `<fluent-badge>` element.
|
|
726
732
|
*
|
|
727
733
|
* @public
|
|
728
|
-
* @remarks
|
|
729
|
-
* HTML Element: \<fluent-badge\>
|
|
730
734
|
*/
|
|
731
|
-
export declare const BadgeDefinition:
|
|
735
|
+
export declare const BadgeDefinition: PartialFASTElementDefinition;
|
|
732
736
|
|
|
733
737
|
/**
|
|
734
738
|
* A Badge can be square, circular or rounded.
|
|
@@ -817,14 +821,6 @@ export declare class BaseAccordionItem extends FASTElement {
|
|
|
817
821
|
* HTML attribute: disabled
|
|
818
822
|
*/
|
|
819
823
|
disabled: boolean;
|
|
820
|
-
/**
|
|
821
|
-
* The item ID
|
|
822
|
-
*
|
|
823
|
-
* @public
|
|
824
|
-
* @remarks
|
|
825
|
-
* HTML Attribute: id
|
|
826
|
-
*/
|
|
827
|
-
id: string;
|
|
828
824
|
/**
|
|
829
825
|
* @internal
|
|
830
826
|
*/
|
|
@@ -960,7 +956,7 @@ export declare class BaseAnchor extends FASTElement {
|
|
|
960
956
|
keydownHandler(e: KeyboardEvent): boolean | void;
|
|
961
957
|
/**
|
|
962
958
|
* Handles navigation based on input
|
|
963
|
-
* If
|
|
959
|
+
* If a modified activation requests a new tab, opens the href in a new window.
|
|
964
960
|
* @internal
|
|
965
961
|
*/
|
|
966
962
|
private handleNavigation;
|
|
@@ -980,16 +976,50 @@ export declare class BaseAnchor extends FASTElement {
|
|
|
980
976
|
*/
|
|
981
977
|
export declare class BaseAvatar extends FASTElement {
|
|
982
978
|
/**
|
|
983
|
-
*
|
|
979
|
+
* Reference to the default slot element.
|
|
984
980
|
*
|
|
985
981
|
* @internal
|
|
986
982
|
*/
|
|
987
|
-
|
|
983
|
+
defaultSlot: HTMLSlotElement;
|
|
988
984
|
/**
|
|
989
|
-
*
|
|
985
|
+
* Handles changes to the default slot element reference.
|
|
986
|
+
*
|
|
987
|
+
* Toggles the `has-slotted` class on the slot element for browsers that do not
|
|
988
|
+
* support the `:has-slotted` CSS selector. Defers cleanup using
|
|
989
|
+
* `Updates.enqueue` to avoid DOM mutations during hydration that could
|
|
990
|
+
* corrupt binding markers.
|
|
991
|
+
*
|
|
990
992
|
* @internal
|
|
991
993
|
*/
|
|
992
|
-
|
|
994
|
+
defaultSlotChanged(): void;
|
|
995
|
+
/**
|
|
996
|
+
* Reference to the monogram element that displays generated initials.
|
|
997
|
+
*
|
|
998
|
+
* @internal
|
|
999
|
+
*/
|
|
1000
|
+
monogram: HTMLElement;
|
|
1001
|
+
/**
|
|
1002
|
+
* Updates the monogram text content when the ref is captured.
|
|
1003
|
+
*
|
|
1004
|
+
* @internal
|
|
1005
|
+
*/
|
|
1006
|
+
protected monogramChanged(): void;
|
|
1007
|
+
/**
|
|
1008
|
+
* The slotted content nodes assigned to the default slot.
|
|
1009
|
+
*
|
|
1010
|
+
* @internal
|
|
1011
|
+
*/
|
|
1012
|
+
slottedDefaults: Node[];
|
|
1013
|
+
/**
|
|
1014
|
+
* Handles changes to the slotted default content.
|
|
1015
|
+
*
|
|
1016
|
+
* Normalizes the DOM, toggles the `has-slotted` class on the default slot element
|
|
1017
|
+
* for browsers that do not support the `:has-slotted` CSS selector, and removes
|
|
1018
|
+
* empty text nodes from the default slot to keep the DOM clean.
|
|
1019
|
+
*
|
|
1020
|
+
* @internal
|
|
1021
|
+
*/
|
|
1022
|
+
protected slottedDefaultsChanged(): void;
|
|
993
1023
|
/**
|
|
994
1024
|
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
995
1025
|
*
|
|
@@ -1004,24 +1034,44 @@ export declare class BaseAvatar extends FASTElement {
|
|
|
1004
1034
|
* HTML Attribute: name
|
|
1005
1035
|
*/
|
|
1006
1036
|
name?: string | undefined;
|
|
1037
|
+
/**
|
|
1038
|
+
* Handles changes to the name attribute.
|
|
1039
|
+
* @internal
|
|
1040
|
+
*/
|
|
1041
|
+
protected nameChanged(): void;
|
|
1007
1042
|
/**
|
|
1008
1043
|
* Provide custom initials rather than one generated via the name
|
|
1009
1044
|
*
|
|
1010
1045
|
* @public
|
|
1011
1046
|
* @remarks
|
|
1012
|
-
* HTML Attribute:
|
|
1047
|
+
* HTML Attribute: initials
|
|
1013
1048
|
*/
|
|
1014
1049
|
initials?: string | undefined;
|
|
1015
|
-
|
|
1050
|
+
/**
|
|
1051
|
+
* Handles changes to the initials attribute.
|
|
1052
|
+
* @internal
|
|
1053
|
+
*/
|
|
1054
|
+
protected initialsChanged(): void;
|
|
1016
1055
|
constructor();
|
|
1017
|
-
disconnectedCallback(): void;
|
|
1018
1056
|
/**
|
|
1019
|
-
*
|
|
1057
|
+
* Generates and sets the initials for the template.
|
|
1058
|
+
* Subclasses should override this to provide custom initials logic.
|
|
1059
|
+
*
|
|
1060
|
+
* @internal
|
|
1061
|
+
*/
|
|
1062
|
+
generateInitials(): string | void;
|
|
1063
|
+
/**
|
|
1064
|
+
* Updates the monogram element's text content with the generated initials.
|
|
1065
|
+
*
|
|
1066
|
+
* @internal
|
|
1067
|
+
*/
|
|
1068
|
+
protected updateMonogram(): void;
|
|
1069
|
+
/**
|
|
1070
|
+
* Normalizes the DOM and removes empty text nodes from the default slot.
|
|
1020
1071
|
*
|
|
1021
|
-
* @param e - The event object
|
|
1022
1072
|
* @internal
|
|
1023
1073
|
*/
|
|
1024
|
-
|
|
1074
|
+
protected cleanupSlottedContent(): void;
|
|
1025
1075
|
}
|
|
1026
1076
|
|
|
1027
1077
|
/**
|
|
@@ -1036,15 +1086,6 @@ export declare class BaseAvatar extends FASTElement {
|
|
|
1036
1086
|
* @public
|
|
1037
1087
|
*/
|
|
1038
1088
|
export declare class BaseButton extends FASTElement {
|
|
1039
|
-
/**
|
|
1040
|
-
* Indicates the button should be focused when the page is loaded.
|
|
1041
|
-
* @see The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#autofocus | `autofocus`} attribute
|
|
1042
|
-
*
|
|
1043
|
-
* @public
|
|
1044
|
-
* @remarks
|
|
1045
|
-
* HTML Attribute: `autofocus`
|
|
1046
|
-
*/
|
|
1047
|
-
autofocus: boolean;
|
|
1048
1089
|
/**
|
|
1049
1090
|
* Default slotted content.
|
|
1050
1091
|
*
|
|
@@ -1060,7 +1101,15 @@ export declare class BaseButton extends FASTElement {
|
|
|
1060
1101
|
* HTML Attribute: `disabled`
|
|
1061
1102
|
*/
|
|
1062
1103
|
disabled: boolean;
|
|
1063
|
-
|
|
1104
|
+
/**
|
|
1105
|
+
* Handles changes to the disabled attribute. If the button is disabled, it
|
|
1106
|
+
* should not be focusable.
|
|
1107
|
+
*
|
|
1108
|
+
* @param previous - the previous disabled value
|
|
1109
|
+
* @param next - the new disabled value
|
|
1110
|
+
* @internal
|
|
1111
|
+
*/
|
|
1112
|
+
disabledChanged(): void;
|
|
1064
1113
|
/**
|
|
1065
1114
|
* Indicates that the button is focusable while disabled.
|
|
1066
1115
|
*
|
|
@@ -1250,6 +1299,12 @@ export declare class BaseButton extends FASTElement {
|
|
|
1250
1299
|
* @public
|
|
1251
1300
|
*/
|
|
1252
1301
|
resetForm(): void;
|
|
1302
|
+
/**
|
|
1303
|
+
* Sets the `tabindex` attribute based on the disabled state of the button.
|
|
1304
|
+
*
|
|
1305
|
+
* @internal
|
|
1306
|
+
*/
|
|
1307
|
+
protected setTabIndex(): void;
|
|
1253
1308
|
/**
|
|
1254
1309
|
* Submits the associated form.
|
|
1255
1310
|
*
|
|
@@ -1261,18 +1316,12 @@ export declare class BaseButton extends FASTElement {
|
|
|
1261
1316
|
/**
|
|
1262
1317
|
* The base class for a component with a toggleable checked state.
|
|
1263
1318
|
*
|
|
1319
|
+
* @fires { Event } change - Fires a custom 'change' event when the checked state changes
|
|
1320
|
+
* @fires { Event } input - Fires a custom 'input' event when the checked state changes
|
|
1321
|
+
*
|
|
1264
1322
|
* @public
|
|
1265
1323
|
*/
|
|
1266
1324
|
export declare class BaseCheckbox extends FASTElement {
|
|
1267
|
-
/**
|
|
1268
|
-
* Indicates that the element should get focus after the page finishes loading.
|
|
1269
|
-
* @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/input#autofocus | `autofocus`} attribute
|
|
1270
|
-
*
|
|
1271
|
-
* @public
|
|
1272
|
-
* @remarks
|
|
1273
|
-
* HTML Attribute: `autofocus`
|
|
1274
|
-
*/
|
|
1275
|
-
autofocus: boolean;
|
|
1276
1325
|
/**
|
|
1277
1326
|
* The element's current checked state.
|
|
1278
1327
|
*
|
|
@@ -1555,6 +1604,61 @@ export declare class BaseCheckbox extends FASTElement {
|
|
|
1555
1604
|
toggleChecked(force?: boolean): void;
|
|
1556
1605
|
}
|
|
1557
1606
|
|
|
1607
|
+
/**
|
|
1608
|
+
* The base class used for constructing a fluent-counter-badge custom element.
|
|
1609
|
+
* Contains the count-related state and display logic, without any visual
|
|
1610
|
+
* appearance attributes.
|
|
1611
|
+
*
|
|
1612
|
+
* @public
|
|
1613
|
+
*/
|
|
1614
|
+
export declare class BaseCounterBadge extends FASTElement {
|
|
1615
|
+
/**
|
|
1616
|
+
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
1617
|
+
*
|
|
1618
|
+
* @internal
|
|
1619
|
+
*/
|
|
1620
|
+
elementInternals: ElementInternals;
|
|
1621
|
+
/**
|
|
1622
|
+
* The count to be displayed in the badge.
|
|
1623
|
+
*
|
|
1624
|
+
* @public
|
|
1625
|
+
* @remarks
|
|
1626
|
+
* HTML Attribute: `count`
|
|
1627
|
+
*/
|
|
1628
|
+
count: number;
|
|
1629
|
+
/**
|
|
1630
|
+
* The maximum count to be displayed before showing the overflow count (e.g. "99+").
|
|
1631
|
+
*
|
|
1632
|
+
* @public
|
|
1633
|
+
* @remarks
|
|
1634
|
+
* HTML Attribute: `overflow-count`
|
|
1635
|
+
*/
|
|
1636
|
+
overflowCount: number;
|
|
1637
|
+
/**
|
|
1638
|
+
* Whether to show the badge when the count is zero. By default, the badge will be hidden when the count is zero.
|
|
1639
|
+
*
|
|
1640
|
+
* @public
|
|
1641
|
+
* @remarks
|
|
1642
|
+
* HTML Attribute: `show-zero`
|
|
1643
|
+
*/
|
|
1644
|
+
showZero: boolean;
|
|
1645
|
+
/**
|
|
1646
|
+
* Whether to display the badge as a dot. When true, the badge will be displayed as a dot and the count will not be
|
|
1647
|
+
* shown.
|
|
1648
|
+
*
|
|
1649
|
+
* @public
|
|
1650
|
+
* @remarks
|
|
1651
|
+
* HTML Attribute: `dot`
|
|
1652
|
+
*/
|
|
1653
|
+
dot: boolean;
|
|
1654
|
+
/**
|
|
1655
|
+
* The value to be displayed in the badge, which is determined by the `count`, `overflow-count`, and `show-zero` attributes.
|
|
1656
|
+
*
|
|
1657
|
+
* @public
|
|
1658
|
+
*/
|
|
1659
|
+
get displayValue(): string | undefined;
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1558
1662
|
/**
|
|
1559
1663
|
* A Divider Custom HTML Element.
|
|
1560
1664
|
* 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.
|
|
@@ -1616,6 +1720,8 @@ export declare class BaseDivider extends FASTElement {
|
|
|
1616
1720
|
* @slot indicator - The indicator slot.
|
|
1617
1721
|
* @slot control - The control slot. This slot is automatically populated and should not be manually manipulated.
|
|
1618
1722
|
*
|
|
1723
|
+
* @fires { Event } change - Fires a custom 'change' event when the selected option changes
|
|
1724
|
+
*
|
|
1619
1725
|
* @public
|
|
1620
1726
|
*/
|
|
1621
1727
|
export declare class BaseDropdown extends FASTElement {
|
|
@@ -2019,6 +2125,11 @@ export declare class BaseDropdown extends FASTElement {
|
|
|
2019
2125
|
* @public
|
|
2020
2126
|
*/
|
|
2021
2127
|
inputHandler(e: InputEvent): boolean | void;
|
|
2128
|
+
/**
|
|
2129
|
+
* Guard flag to prevent reentrant calls to `insertControl`.
|
|
2130
|
+
* @internal
|
|
2131
|
+
*/
|
|
2132
|
+
private _insertingControl;
|
|
2022
2133
|
/**
|
|
2023
2134
|
* Inserts the control element based on the dropdown type.
|
|
2024
2135
|
*
|
|
@@ -2027,6 +2138,31 @@ export declare class BaseDropdown extends FASTElement {
|
|
|
2027
2138
|
* This method can be overridden in derived classes to provide custom control elements, though this is not recommended.
|
|
2028
2139
|
*/
|
|
2029
2140
|
protected insertControl(): void;
|
|
2141
|
+
/**
|
|
2142
|
+
* The duration in milliseconds after the last character search keystroke before the search string is cleared.
|
|
2143
|
+
*/
|
|
2144
|
+
protected searchTimeoutMs: number;
|
|
2145
|
+
/**
|
|
2146
|
+
* The accumulated search string used to match option labels by prefix when printable characters are typed.
|
|
2147
|
+
*
|
|
2148
|
+
* @internal
|
|
2149
|
+
*/
|
|
2150
|
+
private searchString;
|
|
2151
|
+
/**
|
|
2152
|
+
* The timeout id used to reset the search string.
|
|
2153
|
+
*
|
|
2154
|
+
* @internal
|
|
2155
|
+
*/
|
|
2156
|
+
private searchTimeout?;
|
|
2157
|
+
/**
|
|
2158
|
+
* Handles printable character input by moving {@link Dropdown#activeIndex} to the next option whose label matches the
|
|
2159
|
+
* accumulated search string. When the string is a single character (or the same character repeated), matching
|
|
2160
|
+
* options are cycled through; otherwise the string is treated as a prefix match.
|
|
2161
|
+
*
|
|
2162
|
+
* @param char - the printable character that was pressed
|
|
2163
|
+
* @internal
|
|
2164
|
+
*/
|
|
2165
|
+
private handleSearchCharacter;
|
|
2030
2166
|
/**
|
|
2031
2167
|
* Handles the keydown events for the dropdown.
|
|
2032
2168
|
*
|
|
@@ -2083,6 +2219,7 @@ export declare class BaseDropdown extends FASTElement {
|
|
|
2083
2219
|
* @internal
|
|
2084
2220
|
*/
|
|
2085
2221
|
protected updateFreeformOption(value?: string): void;
|
|
2222
|
+
connectedCallback(): void;
|
|
2086
2223
|
disconnectedCallback(): void;
|
|
2087
2224
|
/**
|
|
2088
2225
|
* When anchor positioning isn't supported, an intersection observer is used to flip the listbox when it hits the
|
|
@@ -2099,7 +2236,18 @@ export declare class BaseDropdown extends FASTElement {
|
|
|
2099
2236
|
* @public
|
|
2100
2237
|
*/
|
|
2101
2238
|
export declare class BaseField extends FASTElement {
|
|
2102
|
-
|
|
2239
|
+
/**
|
|
2240
|
+
* The mutation observer for the slotted input.
|
|
2241
|
+
*
|
|
2242
|
+
* @internal
|
|
2243
|
+
*/
|
|
2244
|
+
private _slottedInputObserver?;
|
|
2245
|
+
/**
|
|
2246
|
+
* Gets the mutation observer for the slotted input, creating it if it doesn't exist.
|
|
2247
|
+
*
|
|
2248
|
+
* @internal
|
|
2249
|
+
*/
|
|
2250
|
+
protected get slottedInputObserver(): MutationObserver;
|
|
2103
2251
|
/**
|
|
2104
2252
|
* The slotted label elements.
|
|
2105
2253
|
*
|
|
@@ -2215,6 +2363,62 @@ export declare class BaseField extends FASTElement {
|
|
|
2215
2363
|
setValidationStates(): void;
|
|
2216
2364
|
}
|
|
2217
2365
|
|
|
2366
|
+
/**
|
|
2367
|
+
* A Base MenuList Custom HTML Element.
|
|
2368
|
+
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#menu | ARIA menu }.
|
|
2369
|
+
*
|
|
2370
|
+
* @public
|
|
2371
|
+
*/
|
|
2372
|
+
export declare class BaseMenuList extends FASTElement {
|
|
2373
|
+
/**
|
|
2374
|
+
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
2375
|
+
*
|
|
2376
|
+
* @internal
|
|
2377
|
+
*/
|
|
2378
|
+
elementInternals: ElementInternals;
|
|
2379
|
+
/**
|
|
2380
|
+
* @internal
|
|
2381
|
+
*/
|
|
2382
|
+
items: HTMLElement[];
|
|
2383
|
+
protected itemsChanged(oldValue: HTMLElement[], newValue: HTMLElement[]): void;
|
|
2384
|
+
protected menuChildren: HTMLElement[] | undefined;
|
|
2385
|
+
protected menuItems: MenuItem[] | undefined;
|
|
2386
|
+
private static focusableElementRoles;
|
|
2387
|
+
constructor();
|
|
2388
|
+
/**
|
|
2389
|
+
* @internal
|
|
2390
|
+
*/
|
|
2391
|
+
connectedCallback(): void;
|
|
2392
|
+
/**
|
|
2393
|
+
* @internal
|
|
2394
|
+
*/
|
|
2395
|
+
disconnectedCallback(): void;
|
|
2396
|
+
/**
|
|
2397
|
+
* @internal
|
|
2398
|
+
*/
|
|
2399
|
+
readonly isNestedMenu: () => boolean;
|
|
2400
|
+
/**
|
|
2401
|
+
* Focuses the first item in the menu.
|
|
2402
|
+
*
|
|
2403
|
+
* @public
|
|
2404
|
+
*/
|
|
2405
|
+
focus(): void;
|
|
2406
|
+
private static elementIndent;
|
|
2407
|
+
protected setItems(): void;
|
|
2408
|
+
/**
|
|
2409
|
+
* Method for Observable changes to the hidden attribute of child elements
|
|
2410
|
+
*/
|
|
2411
|
+
handleChange(source: any, propertyName: string): void;
|
|
2412
|
+
/**
|
|
2413
|
+
* Handle change from child MenuItem element and set radio group behavior
|
|
2414
|
+
*/
|
|
2415
|
+
private changedMenuItemHandler;
|
|
2416
|
+
/**
|
|
2417
|
+
* check if the item is a menu item
|
|
2418
|
+
*/
|
|
2419
|
+
protected isMenuItemElement(el: Element): el is MenuItem;
|
|
2420
|
+
}
|
|
2421
|
+
|
|
2218
2422
|
/**
|
|
2219
2423
|
* A Progress HTML Element.
|
|
2220
2424
|
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#progressbar | ARIA progressbar }.
|
|
@@ -2222,8 +2426,17 @@ export declare class BaseField extends FASTElement {
|
|
|
2222
2426
|
* @public
|
|
2223
2427
|
*/
|
|
2224
2428
|
export declare class BaseProgressBar extends FASTElement {
|
|
2225
|
-
/**
|
|
2226
|
-
|
|
2429
|
+
/**
|
|
2430
|
+
* Reference to the indicator element which visually represents the progress.
|
|
2431
|
+
*
|
|
2432
|
+
* @internal
|
|
2433
|
+
*/
|
|
2434
|
+
indicator?: HTMLElement;
|
|
2435
|
+
/**
|
|
2436
|
+
* Updates the indicator width after the element is connected to the DOM via the template.
|
|
2437
|
+
* @internal
|
|
2438
|
+
*/
|
|
2439
|
+
protected indicatorChanged(): void;
|
|
2227
2440
|
/**
|
|
2228
2441
|
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
2229
2442
|
*
|
|
@@ -2232,8 +2445,11 @@ export declare class BaseProgressBar extends FASTElement {
|
|
|
2232
2445
|
elementInternals: ElementInternals;
|
|
2233
2446
|
/**
|
|
2234
2447
|
* The validation state of the progress bar
|
|
2235
|
-
*
|
|
2448
|
+
* The validation state of the progress bar
|
|
2449
|
+
*
|
|
2236
2450
|
* HTML Attribute: `validation-state`
|
|
2451
|
+
*
|
|
2452
|
+
* @public
|
|
2237
2453
|
*/
|
|
2238
2454
|
validationState: ProgressBarValidationState | null;
|
|
2239
2455
|
/**
|
|
@@ -2244,8 +2460,11 @@ export declare class BaseProgressBar extends FASTElement {
|
|
|
2244
2460
|
validationStateChanged(prev: ProgressBarValidationState | undefined, next: ProgressBarValidationState | undefined): void;
|
|
2245
2461
|
/**
|
|
2246
2462
|
* The value of the progress
|
|
2247
|
-
*
|
|
2463
|
+
* The value of the progress
|
|
2464
|
+
*
|
|
2248
2465
|
* HTML Attribute: `value`
|
|
2466
|
+
*
|
|
2467
|
+
* @public
|
|
2249
2468
|
*/
|
|
2250
2469
|
value?: number;
|
|
2251
2470
|
/**
|
|
@@ -2256,8 +2475,11 @@ export declare class BaseProgressBar extends FASTElement {
|
|
|
2256
2475
|
protected valueChanged(prev: number | undefined, next: number | undefined): void;
|
|
2257
2476
|
/**
|
|
2258
2477
|
* The minimum value
|
|
2259
|
-
*
|
|
2478
|
+
* The minimum value
|
|
2479
|
+
*
|
|
2260
2480
|
* HTML Attribute: `min`
|
|
2481
|
+
*
|
|
2482
|
+
* @public
|
|
2261
2483
|
*/
|
|
2262
2484
|
min?: number;
|
|
2263
2485
|
/**
|
|
@@ -2269,8 +2491,11 @@ export declare class BaseProgressBar extends FASTElement {
|
|
|
2269
2491
|
protected minChanged(prev: number | undefined, next: number | undefined): void;
|
|
2270
2492
|
/**
|
|
2271
2493
|
* The maximum value
|
|
2272
|
-
*
|
|
2494
|
+
* The maximum value
|
|
2495
|
+
*
|
|
2273
2496
|
* HTML Attribute: `max`
|
|
2497
|
+
*
|
|
2498
|
+
* @public
|
|
2274
2499
|
*/
|
|
2275
2500
|
max?: number;
|
|
2276
2501
|
/**
|
|
@@ -2282,307 +2507,475 @@ export declare class BaseProgressBar extends FASTElement {
|
|
|
2282
2507
|
*/
|
|
2283
2508
|
protected maxChanged(prev: number | undefined, next: number | undefined): void;
|
|
2284
2509
|
constructor();
|
|
2285
|
-
|
|
2286
|
-
|
|
2510
|
+
/**
|
|
2511
|
+
* Sets the width of the indicator element based on the value, min, and max
|
|
2512
|
+
* properties. If the browser supports `width: attr(value)`, this method does
|
|
2513
|
+
* nothing and allows CSS to handle the width.
|
|
2514
|
+
*
|
|
2515
|
+
* @internal
|
|
2516
|
+
*/
|
|
2517
|
+
protected setIndicatorWidth(): void;
|
|
2287
2518
|
}
|
|
2288
2519
|
|
|
2289
2520
|
/**
|
|
2290
|
-
*
|
|
2521
|
+
* A Base Radio Group Custom HTML Element.
|
|
2522
|
+
* Implements the {@link https://w3c.github.io/aria/#radiogroup | ARIA `radiogroup` role}.
|
|
2291
2523
|
*
|
|
2292
|
-
* @
|
|
2524
|
+
* @fires { Event } change - Fires a custom 'change' event when the checked radio changes
|
|
2293
2525
|
*
|
|
2294
2526
|
* @public
|
|
2295
2527
|
*/
|
|
2296
|
-
export declare class
|
|
2297
|
-
private
|
|
2528
|
+
export declare class BaseRadioGroup extends FASTElement {
|
|
2529
|
+
private isNavigating;
|
|
2298
2530
|
/**
|
|
2299
|
-
* The
|
|
2531
|
+
* The index of the checked radio, scoped to the enabled radios.
|
|
2300
2532
|
*
|
|
2301
2533
|
* @internal
|
|
2302
2534
|
*/
|
|
2303
|
-
|
|
2304
|
-
/** @internal */
|
|
2305
|
-
iconSlot: HTMLSlotElement;
|
|
2306
|
-
protected defaultCustomIconViewBox: string;
|
|
2535
|
+
protected checkedIndex: number;
|
|
2307
2536
|
/**
|
|
2308
|
-
*
|
|
2309
|
-
* @internal
|
|
2310
|
-
*/
|
|
2311
|
-
display: HTMLElement;
|
|
2312
|
-
/**
|
|
2313
|
-
* The number of ratings.
|
|
2537
|
+
* Sets the checked state of the nearest enabled radio when the `checkedIndex` changes.
|
|
2314
2538
|
*
|
|
2315
|
-
* @
|
|
2316
|
-
* @
|
|
2317
|
-
*
|
|
2539
|
+
* @param prev - the previous index
|
|
2540
|
+
* @param next - the current index
|
|
2541
|
+
* @internal
|
|
2318
2542
|
*/
|
|
2319
|
-
|
|
2543
|
+
protected checkedIndexChanged(prev: number | undefined, next: number): void;
|
|
2320
2544
|
/**
|
|
2321
|
-
*
|
|
2545
|
+
* Indicates that the value has been changed by the user.
|
|
2546
|
+
*/
|
|
2547
|
+
private dirtyState;
|
|
2548
|
+
/**
|
|
2549
|
+
* Disables the radio group and child radios.
|
|
2322
2550
|
*
|
|
2323
2551
|
* @public
|
|
2324
2552
|
* @remarks
|
|
2325
|
-
* HTML Attribute: `
|
|
2326
|
-
* @deprecated Add `viewBox` attribute on the custom SVG directly.
|
|
2553
|
+
* HTML Attribute: `disabled`
|
|
2327
2554
|
*/
|
|
2328
|
-
|
|
2555
|
+
disabled: boolean;
|
|
2329
2556
|
/**
|
|
2330
|
-
*
|
|
2331
|
-
* This attribute determines the number of icons displayed.
|
|
2332
|
-
* Must be a whole number greater than 1.
|
|
2557
|
+
* Sets the `disabled` attribute on all child radios when the `disabled` property changes.
|
|
2333
2558
|
*
|
|
2334
|
-
* @
|
|
2335
|
-
* @
|
|
2336
|
-
*
|
|
2559
|
+
* @param prev - the previous disabled value
|
|
2560
|
+
* @param next - the current disabled value
|
|
2561
|
+
* @internal
|
|
2337
2562
|
*/
|
|
2338
|
-
|
|
2339
|
-
protected maxChanged(): void;
|
|
2563
|
+
protected disabledChanged(prev?: boolean, next?: boolean): void;
|
|
2340
2564
|
/**
|
|
2341
|
-
* The value of the
|
|
2565
|
+
* The value of the checked radio.
|
|
2342
2566
|
*
|
|
2343
2567
|
* @public
|
|
2344
2568
|
* @remarks
|
|
2345
2569
|
* HTML Attribute: `value`
|
|
2346
2570
|
*/
|
|
2347
|
-
|
|
2348
|
-
protected valueChanged(): void;
|
|
2349
|
-
constructor();
|
|
2350
|
-
connectedCallback(): void;
|
|
2571
|
+
initialValue?: string;
|
|
2351
2572
|
/**
|
|
2352
|
-
*
|
|
2573
|
+
* Sets the matching radio to checked when the value changes. If no radio matches the value, no radio will be checked.
|
|
2353
2574
|
*
|
|
2354
|
-
* @
|
|
2575
|
+
* @param prev - the previous value
|
|
2576
|
+
* @param next - the current value
|
|
2355
2577
|
*/
|
|
2356
|
-
|
|
2357
|
-
/** @internal */
|
|
2358
|
-
handleSlotChange(): void;
|
|
2359
|
-
protected renderSlottedIcon(svg: SVGSVGElement | null): void;
|
|
2360
|
-
protected setCustomPropertyValue(propertyName: PropertyNameForCalculation): void;
|
|
2361
|
-
}
|
|
2362
|
-
|
|
2363
|
-
/**
|
|
2364
|
-
* The base class used for constructing a fluent-spinner custom element
|
|
2365
|
-
* @public
|
|
2366
|
-
*/
|
|
2367
|
-
export declare class BaseSpinner extends FASTElement {
|
|
2578
|
+
initialValueChanged(prev: string | undefined, next: string | undefined): void;
|
|
2368
2579
|
/**
|
|
2369
|
-
* The
|
|
2580
|
+
* The name of the radio group.
|
|
2370
2581
|
*
|
|
2371
|
-
* @
|
|
2582
|
+
* @public
|
|
2583
|
+
* @remarks
|
|
2584
|
+
* HTML Attribute: `name`
|
|
2372
2585
|
*/
|
|
2373
|
-
|
|
2374
|
-
constructor();
|
|
2375
|
-
}
|
|
2376
|
-
|
|
2377
|
-
/**
|
|
2378
|
-
* A Tablist element that wraps a collection of tab elements
|
|
2379
|
-
* @public
|
|
2380
|
-
*/
|
|
2381
|
-
export declare class BaseTablist extends FASTElement {
|
|
2586
|
+
name: string;
|
|
2382
2587
|
/**
|
|
2383
|
-
*
|
|
2588
|
+
* Sets the `name` attribute on all child radios when the `name` property changes.
|
|
2384
2589
|
*
|
|
2385
2590
|
* @internal
|
|
2386
2591
|
*/
|
|
2387
|
-
|
|
2592
|
+
protected nameChanged(prev: string | undefined, next: string | undefined): void;
|
|
2388
2593
|
/**
|
|
2389
|
-
*
|
|
2594
|
+
* The orientation of the group.
|
|
2595
|
+
*
|
|
2390
2596
|
* @public
|
|
2391
2597
|
* @remarks
|
|
2392
|
-
* HTML Attribute:
|
|
2598
|
+
* HTML Attribute: `orientation`
|
|
2393
2599
|
*/
|
|
2394
|
-
|
|
2600
|
+
orientation?: RadioGroupOrientation;
|
|
2395
2601
|
/**
|
|
2396
|
-
*
|
|
2397
|
-
* @param prev - previous value
|
|
2398
|
-
* @param next - next value
|
|
2602
|
+
* Sets the ariaOrientation attribute when the orientation changes.
|
|
2399
2603
|
*
|
|
2604
|
+
* @param prev - the previous orientation
|
|
2605
|
+
* @param next - the current orientation
|
|
2400
2606
|
* @internal
|
|
2401
2607
|
*/
|
|
2402
|
-
|
|
2608
|
+
orientationChanged(prev: RadioGroupOrientation | undefined, next: RadioGroupOrientation | undefined): void;
|
|
2403
2609
|
/**
|
|
2404
|
-
* The
|
|
2610
|
+
* The collection of all child radios.
|
|
2611
|
+
*
|
|
2405
2612
|
* @public
|
|
2406
|
-
* @remarks
|
|
2407
|
-
* HTML Attribute: orientation
|
|
2408
2613
|
*/
|
|
2409
|
-
|
|
2614
|
+
radios: Radio[];
|
|
2410
2615
|
/**
|
|
2411
|
-
*
|
|
2616
|
+
* Updates the enabled radios collection when properties on the child radios change.
|
|
2617
|
+
*
|
|
2618
|
+
* @param prev - the previous radios
|
|
2619
|
+
* @param next - the current radios
|
|
2412
2620
|
*/
|
|
2413
|
-
|
|
2621
|
+
radiosChanged(prev: Radio[] | undefined, next: Radio[] | undefined): void;
|
|
2414
2622
|
/**
|
|
2415
|
-
*
|
|
2623
|
+
* Indicates whether the radio group is required.
|
|
2416
2624
|
*
|
|
2417
2625
|
* @public
|
|
2418
2626
|
* @remarks
|
|
2419
|
-
* HTML Attribute:
|
|
2627
|
+
* HTML Attribute: `required`
|
|
2420
2628
|
*/
|
|
2421
|
-
|
|
2629
|
+
required: boolean;
|
|
2422
2630
|
/**
|
|
2423
|
-
*
|
|
2631
|
+
*
|
|
2632
|
+
* @param prev - the previous required value
|
|
2633
|
+
* @param next - the current required value
|
|
2424
2634
|
*/
|
|
2425
|
-
|
|
2635
|
+
requiredChanged(prev: boolean, next: boolean): void;
|
|
2426
2636
|
/**
|
|
2427
|
-
*
|
|
2637
|
+
* The collection of radios that are slotted into the default slot.
|
|
2638
|
+
*
|
|
2428
2639
|
* @internal
|
|
2429
2640
|
*/
|
|
2430
|
-
|
|
2641
|
+
slottedRadios: Radio[];
|
|
2431
2642
|
/**
|
|
2432
|
-
* Updates the
|
|
2433
|
-
*
|
|
2643
|
+
* Updates the radios collection when the slotted radios change.
|
|
2644
|
+
*
|
|
2645
|
+
* @param prev - the previous slotted radios
|
|
2646
|
+
* @param next - the current slotted radios
|
|
2434
2647
|
*/
|
|
2435
|
-
|
|
2648
|
+
slottedRadiosChanged(prev: Radio[] | undefined, next: Radio[]): void;
|
|
2436
2649
|
/**
|
|
2650
|
+
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
2651
|
+
*
|
|
2437
2652
|
* @internal
|
|
2438
2653
|
*/
|
|
2439
|
-
|
|
2654
|
+
elementInternals: ElementInternals;
|
|
2440
2655
|
/**
|
|
2656
|
+
* A collection of child radios that are not disabled.
|
|
2657
|
+
*
|
|
2441
2658
|
* @internal
|
|
2442
2659
|
*/
|
|
2443
|
-
|
|
2660
|
+
get enabledRadios(): Radio[];
|
|
2444
2661
|
/**
|
|
2445
|
-
*
|
|
2662
|
+
* The form-associated flag.
|
|
2663
|
+
* @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}
|
|
2664
|
+
*
|
|
2446
2665
|
* @public
|
|
2447
2666
|
*/
|
|
2448
|
-
|
|
2449
|
-
private prevActiveTabIndex;
|
|
2450
|
-
private activeTabIndex;
|
|
2451
|
-
private tabIds;
|
|
2452
|
-
private tabPanelMap;
|
|
2453
|
-
private change;
|
|
2454
|
-
private getActiveIndex;
|
|
2667
|
+
static formAssociated: boolean;
|
|
2455
2668
|
/**
|
|
2456
|
-
*
|
|
2669
|
+
* The fallback validation message, taken from a native checkbox `<input>` element.
|
|
2457
2670
|
*
|
|
2458
|
-
* @
|
|
2671
|
+
* @internal
|
|
2672
|
+
*/
|
|
2673
|
+
private _validationFallbackMessage;
|
|
2674
|
+
/**
|
|
2675
|
+
* The validation message. Uses the browser's default validation message for native checkboxes if not otherwise
|
|
2676
|
+
* specified (e.g., via `setCustomValidity`).
|
|
2677
|
+
*
|
|
2678
|
+
* @internal
|
|
2459
2679
|
*/
|
|
2460
|
-
|
|
2461
|
-
private getTabIds;
|
|
2462
|
-
private setComponent;
|
|
2463
|
-
private handleTabClick;
|
|
2464
|
-
private isHorizontal;
|
|
2465
|
-
private handleTabKeyDown;
|
|
2680
|
+
get validationMessage(): string;
|
|
2466
2681
|
/**
|
|
2467
|
-
* The
|
|
2682
|
+
* The element's validity state.
|
|
2683
|
+
*
|
|
2468
2684
|
* @public
|
|
2469
2685
|
* @remarks
|
|
2470
|
-
*
|
|
2686
|
+
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/validity | `ElementInternals.validity`} property.
|
|
2471
2687
|
*/
|
|
2472
|
-
|
|
2473
|
-
private activateTabByIndex;
|
|
2474
|
-
private focusTab;
|
|
2688
|
+
get validity(): ValidityState;
|
|
2475
2689
|
/**
|
|
2476
|
-
*
|
|
2690
|
+
* The current value of the checked radio.
|
|
2691
|
+
*
|
|
2692
|
+
* @public
|
|
2477
2693
|
*/
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
/**
|
|
2482
|
-
* A Tabs component that wraps a collection of tab and tab panel elements.
|
|
2483
|
-
*
|
|
2484
|
-
* @deprecated - use tablist instead
|
|
2485
|
-
*/
|
|
2486
|
-
declare class BaseTabs extends FASTElement {
|
|
2694
|
+
get value(): string | null;
|
|
2695
|
+
set value(next: string | null);
|
|
2487
2696
|
/**
|
|
2488
|
-
*
|
|
2489
|
-
*
|
|
2490
|
-
* @
|
|
2491
|
-
* HTML Attribute: orientation
|
|
2697
|
+
* Sets the checked state of all radios when any radio emits a `change` event.
|
|
2698
|
+
*
|
|
2699
|
+
* @param e - the change event
|
|
2492
2700
|
*/
|
|
2493
|
-
|
|
2701
|
+
changeHandler(e: Event): boolean | void;
|
|
2494
2702
|
/**
|
|
2703
|
+
* Checks the radio at the specified index.
|
|
2704
|
+
*
|
|
2705
|
+
* @param index - the index of the radio to check
|
|
2495
2706
|
* @internal
|
|
2496
2707
|
*/
|
|
2497
|
-
|
|
2708
|
+
checkRadio(index?: number, shouldEmit?: boolean): void;
|
|
2498
2709
|
/**
|
|
2499
|
-
*
|
|
2710
|
+
* Checks the validity of the element and returns the result.
|
|
2500
2711
|
*
|
|
2501
2712
|
* @public
|
|
2502
2713
|
* @remarks
|
|
2503
|
-
*
|
|
2504
|
-
*/
|
|
2505
|
-
activeid: string;
|
|
2506
|
-
/**
|
|
2507
|
-
* @internal
|
|
2714
|
+
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/checkValidity | `HTMLInputElement.checkValidity()`} method.
|
|
2508
2715
|
*/
|
|
2509
|
-
|
|
2716
|
+
checkValidity(): boolean;
|
|
2510
2717
|
/**
|
|
2718
|
+
* Handles click events for the radio group.
|
|
2719
|
+
*
|
|
2720
|
+
* @param e - the click event
|
|
2511
2721
|
* @internal
|
|
2512
2722
|
*/
|
|
2513
|
-
|
|
2723
|
+
clickHandler(e: MouseEvent): boolean | void;
|
|
2724
|
+
constructor();
|
|
2514
2725
|
/**
|
|
2726
|
+
* Focuses the checked radio or the first enabled radio.
|
|
2727
|
+
*
|
|
2515
2728
|
* @internal
|
|
2516
2729
|
*/
|
|
2517
|
-
|
|
2730
|
+
focus(): void;
|
|
2731
|
+
formResetCallback(): void;
|
|
2518
2732
|
/**
|
|
2733
|
+
* Enables tabbing through the radio group when the group receives focus.
|
|
2734
|
+
*
|
|
2735
|
+
* @param e - the focus event
|
|
2519
2736
|
* @internal
|
|
2520
2737
|
*/
|
|
2521
|
-
|
|
2738
|
+
focusinHandler(e: FocusEvent): boolean | void;
|
|
2522
2739
|
/**
|
|
2740
|
+
* Handles keydown events for the radio group.
|
|
2741
|
+
*
|
|
2742
|
+
* @param e - the keyboard event
|
|
2523
2743
|
* @internal
|
|
2524
2744
|
*/
|
|
2525
|
-
|
|
2745
|
+
keydownHandler(e: KeyboardEvent): boolean | void;
|
|
2526
2746
|
/**
|
|
2527
|
-
*
|
|
2528
|
-
* @
|
|
2747
|
+
*
|
|
2748
|
+
* @param e - the disabled event
|
|
2529
2749
|
*/
|
|
2530
|
-
|
|
2531
|
-
private prevActiveTabIndex;
|
|
2532
|
-
private activeTabIndex;
|
|
2533
|
-
private tabIds;
|
|
2534
|
-
private tabpanelIds;
|
|
2535
|
-
private change;
|
|
2536
|
-
private isDisabledElement;
|
|
2537
|
-
private isHiddenElement;
|
|
2538
|
-
private isFocusableElement;
|
|
2539
|
-
private getActiveIndex;
|
|
2750
|
+
disabledRadioHandler(e: CustomEvent): void;
|
|
2540
2751
|
/**
|
|
2541
|
-
*
|
|
2752
|
+
* Reports the validity of the element.
|
|
2542
2753
|
*
|
|
2543
2754
|
* @public
|
|
2755
|
+
* @remarks
|
|
2756
|
+
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/reportValidity | `HTMLInputElement.reportValidity()`} method.
|
|
2544
2757
|
*/
|
|
2545
|
-
|
|
2546
|
-
private setTabPanels;
|
|
2547
|
-
private getTabIds;
|
|
2548
|
-
private getTabPanelIds;
|
|
2549
|
-
private setComponent;
|
|
2550
|
-
private handleTabClick;
|
|
2551
|
-
private isHorizontal;
|
|
2552
|
-
private handleTabKeyDown;
|
|
2758
|
+
reportValidity(): boolean;
|
|
2553
2759
|
/**
|
|
2554
|
-
*
|
|
2555
|
-
*
|
|
2556
|
-
* @
|
|
2557
|
-
* This method allows the active index to be adjusted by numerical increments
|
|
2760
|
+
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/setFormValue | `ElementInternals.setFormValue()`} method.
|
|
2761
|
+
*
|
|
2762
|
+
* @internal
|
|
2558
2763
|
*/
|
|
2559
|
-
|
|
2560
|
-
private adjustForward;
|
|
2561
|
-
private adjustBackward;
|
|
2562
|
-
private moveToTabByIndex;
|
|
2563
|
-
private focusTab;
|
|
2764
|
+
setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
|
|
2564
2765
|
/**
|
|
2766
|
+
* Sets the validity of the element.
|
|
2767
|
+
*
|
|
2768
|
+
* @param flags - Validity flags to set.
|
|
2769
|
+
* @param message - Optional message to supply. If not provided, the element's `validationMessage` will be used.
|
|
2770
|
+
* @param anchor - Optional anchor to use for the validation message.
|
|
2771
|
+
*
|
|
2565
2772
|
* @internal
|
|
2773
|
+
* @remarks
|
|
2774
|
+
* RadioGroup validation is reported through the individual Radio elements rather than the RadioGroup itself.
|
|
2775
|
+
* This is necessary because:
|
|
2776
|
+
* 1. Each Radio is form-associated (extends BaseCheckbox which has `formAssociated = true`)
|
|
2777
|
+
* 2. Browser validation UIs and screen readers announce validation against individual form controls
|
|
2778
|
+
* 3. For groups like RadioGroup, the browser needs to report the error on a specific member of the group
|
|
2779
|
+
* 4. We anchor the error to the first Radio so it receives focus and announcement
|
|
2780
|
+
*
|
|
2781
|
+
* When the group is invalid (required but no selection):
|
|
2782
|
+
* - Only the first Radio gets the invalid state with the validation message
|
|
2783
|
+
* - Other Radios are kept valid since selecting any of them would satisfy the requirement
|
|
2784
|
+
*
|
|
2785
|
+
* When the group becomes valid (user selects any Radio):
|
|
2786
|
+
* - All Radios are cleared back to valid state
|
|
2787
|
+
* - This allows form submission to proceed
|
|
2566
2788
|
*/
|
|
2567
|
-
|
|
2789
|
+
setValidity(flags?: Partial<ValidityState>, message?: string, anchor?: HTMLElement): void;
|
|
2568
2790
|
}
|
|
2569
2791
|
|
|
2570
2792
|
/**
|
|
2571
|
-
*
|
|
2572
|
-
* Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea | `<textarea>`} element.
|
|
2793
|
+
* The base class used for constructing a fluent-rating-display custom element
|
|
2573
2794
|
*
|
|
2574
|
-
* @slot -
|
|
2575
|
-
* @slot label - The content for the `<label>`, it should be a `<fluent-label>` element.
|
|
2576
|
-
* @csspart label - The `<label>` element.
|
|
2577
|
-
* @csspart root - The container element of the `<textarea>` element.
|
|
2578
|
-
* @csspart control - The internal `<textarea>` element.
|
|
2579
|
-
* @fires change - Fires after the control loses focus, if the content has changed.
|
|
2580
|
-
* @fires select - Fires when the `select()` method is called.
|
|
2795
|
+
* @slot icon - SVG element used as the rating icon
|
|
2581
2796
|
*
|
|
2582
2797
|
* @public
|
|
2583
2798
|
*/
|
|
2584
|
-
export declare class
|
|
2585
|
-
|
|
2799
|
+
export declare class BaseRatingDisplay extends FASTElement {
|
|
2800
|
+
private numberFormatter;
|
|
2801
|
+
/**
|
|
2802
|
+
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
2803
|
+
*
|
|
2804
|
+
* @internal
|
|
2805
|
+
*/
|
|
2806
|
+
elementInternals: ElementInternals;
|
|
2807
|
+
/**
|
|
2808
|
+
* Reference to the slot element used for the rating icon.
|
|
2809
|
+
*
|
|
2810
|
+
* @internal
|
|
2811
|
+
*/
|
|
2812
|
+
iconSlot: HTMLSlotElement;
|
|
2813
|
+
/**
|
|
2814
|
+
* Updates the icon when the referenced slot is bound in the template.
|
|
2815
|
+
*
|
|
2816
|
+
* @internal
|
|
2817
|
+
*/
|
|
2818
|
+
iconSlotChanged(): void;
|
|
2819
|
+
protected defaultCustomIconViewBox: string;
|
|
2820
|
+
/**
|
|
2821
|
+
* The element that displays the rating icons.
|
|
2822
|
+
* @internal
|
|
2823
|
+
*/
|
|
2824
|
+
display: HTMLElement;
|
|
2825
|
+
/**
|
|
2826
|
+
* The number of ratings.
|
|
2827
|
+
*
|
|
2828
|
+
* @public
|
|
2829
|
+
* @remarks
|
|
2830
|
+
* HTML Attribute: `count`
|
|
2831
|
+
*/
|
|
2832
|
+
count?: number;
|
|
2833
|
+
/**
|
|
2834
|
+
* The `viewBox` attribute of the icon <svg> element.
|
|
2835
|
+
*
|
|
2836
|
+
* @public
|
|
2837
|
+
* @remarks
|
|
2838
|
+
* HTML Attribute: `icon-view-box`
|
|
2839
|
+
* @deprecated Add `viewBox` attribute on the custom SVG directly.
|
|
2840
|
+
*/
|
|
2841
|
+
iconViewBox?: string;
|
|
2842
|
+
/**
|
|
2843
|
+
* The maximum possible value of the rating.
|
|
2844
|
+
* This attribute determines the number of icons displayed.
|
|
2845
|
+
* Must be a whole number greater than 1.
|
|
2846
|
+
*
|
|
2847
|
+
* @public
|
|
2848
|
+
* @remarks
|
|
2849
|
+
* HTML Attribute: `max`
|
|
2850
|
+
*/
|
|
2851
|
+
max?: number;
|
|
2852
|
+
protected maxChanged(): void;
|
|
2853
|
+
/**
|
|
2854
|
+
* The value of the rating.
|
|
2855
|
+
*
|
|
2856
|
+
* @public
|
|
2857
|
+
* @remarks
|
|
2858
|
+
* HTML Attribute: `value`
|
|
2859
|
+
*/
|
|
2860
|
+
value?: number;
|
|
2861
|
+
protected valueChanged(): void;
|
|
2862
|
+
constructor();
|
|
2863
|
+
connectedCallback(): void;
|
|
2864
|
+
/**
|
|
2865
|
+
* Returns "count" as string, formatted according to the locale.
|
|
2866
|
+
*
|
|
2867
|
+
* @internal
|
|
2868
|
+
*/
|
|
2869
|
+
get formattedCount(): string;
|
|
2870
|
+
/** @internal */
|
|
2871
|
+
handleSlotChange(): void;
|
|
2872
|
+
protected renderSlottedIcon(svg: SVGSVGElement | null): void;
|
|
2873
|
+
protected setCustomPropertyValue(propertyName: PropertyNameForCalculation): void;
|
|
2874
|
+
}
|
|
2875
|
+
|
|
2876
|
+
/**
|
|
2877
|
+
* The base class used for constructing a fluent-spinner custom element
|
|
2878
|
+
* @public
|
|
2879
|
+
*/
|
|
2880
|
+
export declare class BaseSpinner extends FASTElement {
|
|
2881
|
+
/**
|
|
2882
|
+
* The internal {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
2883
|
+
*
|
|
2884
|
+
* @internal
|
|
2885
|
+
*/
|
|
2886
|
+
elementInternals: ElementInternals;
|
|
2887
|
+
constructor();
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
/**
|
|
2891
|
+
* A Tablist element that wraps a collection of tab elements
|
|
2892
|
+
* @public
|
|
2893
|
+
*/
|
|
2894
|
+
export declare class BaseTablist extends FASTElement {
|
|
2895
|
+
/**
|
|
2896
|
+
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
2897
|
+
*
|
|
2898
|
+
* @internal
|
|
2899
|
+
*/
|
|
2900
|
+
elementInternals: ElementInternals;
|
|
2901
|
+
/**
|
|
2902
|
+
* Used for disabling all click and keyboard events for the tabs, child tab elements.
|
|
2903
|
+
* @public
|
|
2904
|
+
* @remarks
|
|
2905
|
+
* HTML Attribute: disabled.
|
|
2906
|
+
*/
|
|
2907
|
+
disabled: boolean;
|
|
2908
|
+
/** @internal */
|
|
2909
|
+
protected disabledChanged(prev: boolean, next: boolean): void;
|
|
2910
|
+
/**
|
|
2911
|
+
* The orientation
|
|
2912
|
+
* @public
|
|
2913
|
+
* @remarks
|
|
2914
|
+
* HTML Attribute: orientation
|
|
2915
|
+
*/
|
|
2916
|
+
orientation: TablistOrientation;
|
|
2917
|
+
protected orientationChanged(prev: TablistOrientation, next: TablistOrientation): void;
|
|
2918
|
+
/**
|
|
2919
|
+
* The id of the active tab
|
|
2920
|
+
*
|
|
2921
|
+
* @public
|
|
2922
|
+
* @remarks
|
|
2923
|
+
* HTML Attribute: activeid
|
|
2924
|
+
*/
|
|
2925
|
+
activeid: string;
|
|
2926
|
+
/** @internal */
|
|
2927
|
+
protected activeidChanged(oldValue: string, newValue: string): void;
|
|
2928
|
+
/**
|
|
2929
|
+
* Content slotted in the tab slot.
|
|
2930
|
+
* @internal
|
|
2931
|
+
*/
|
|
2932
|
+
slottedTabs: Node[];
|
|
2933
|
+
/** @internal */
|
|
2934
|
+
protected slottedTabsChanged(prev: Node[] | undefined, next: Node[] | undefined): void;
|
|
2935
|
+
/** @internal */
|
|
2936
|
+
tabs: Tab[];
|
|
2937
|
+
/** @internal */
|
|
2938
|
+
protected tabsChanged(prev: Tab[] | undefined, next: Tab[] | undefined): void;
|
|
2939
|
+
/**
|
|
2940
|
+
* A reference to the active tab
|
|
2941
|
+
* @public
|
|
2942
|
+
*/
|
|
2943
|
+
activetab: Tab;
|
|
2944
|
+
private tabPanelMap;
|
|
2945
|
+
private change;
|
|
2946
|
+
/**
|
|
2947
|
+
* Function that is invoked whenever the selected tab or the tab collection changes.
|
|
2948
|
+
*/
|
|
2949
|
+
protected setTabs({ connectToPanel, forceDisabled }?: {
|
|
2950
|
+
connectToPanel?: boolean | undefined;
|
|
2951
|
+
forceDisabled?: boolean | undefined;
|
|
2952
|
+
}): void;
|
|
2953
|
+
/** @internal */
|
|
2954
|
+
handleFocusIn(event: FocusEvent): void;
|
|
2955
|
+
private changeTab;
|
|
2956
|
+
constructor();
|
|
2957
|
+
/**
|
|
2958
|
+
* @internal
|
|
2959
|
+
*/
|
|
2960
|
+
connectedCallback(): void;
|
|
2961
|
+
}
|
|
2962
|
+
|
|
2963
|
+
/**
|
|
2964
|
+
* A Text Area Custom HTML Element.
|
|
2965
|
+
* Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea | `<textarea>`} element.
|
|
2966
|
+
*
|
|
2967
|
+
* @slot - The default content/value of the component.
|
|
2968
|
+
* @slot label - The content for the `<label>`, it should be a `<fluent-label>` element.
|
|
2969
|
+
* @csspart label - The `<label>` element.
|
|
2970
|
+
* @csspart root - The container element of the `<textarea>` element.
|
|
2971
|
+
* @csspart control - The internal `<textarea>` element.
|
|
2972
|
+
* @fires { Event } change - Fires after the control loses focus, if the content has changed.
|
|
2973
|
+
* @fires { Event } select - Fires when the `select()` method is called.
|
|
2974
|
+
*
|
|
2975
|
+
* @public
|
|
2976
|
+
*/
|
|
2977
|
+
export declare class BaseTextArea extends FASTElement {
|
|
2978
|
+
/**
|
|
2586
2979
|
* The form-associated flag.
|
|
2587
2980
|
* @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}
|
|
2588
2981
|
*
|
|
@@ -2600,11 +2993,23 @@ export declare class BaseTextArea extends FASTElement {
|
|
|
2600
2993
|
* @internal
|
|
2601
2994
|
*/
|
|
2602
2995
|
labelEl: HTMLLabelElement;
|
|
2996
|
+
/**
|
|
2997
|
+
* The root container element.
|
|
2998
|
+
* @internal
|
|
2999
|
+
*/
|
|
3000
|
+
rootEl: HTMLDivElement;
|
|
2603
3001
|
/**
|
|
2604
3002
|
* The `<textarea>` element.
|
|
2605
3003
|
* @internal
|
|
2606
3004
|
*/
|
|
2607
3005
|
controlEl: HTMLTextAreaElement;
|
|
3006
|
+
/**
|
|
3007
|
+
* Sets up a mutation observer to watch for changes to the control element's
|
|
3008
|
+
* attributes that could affect validity, and binds an input event listener to detect user interaction.
|
|
3009
|
+
*
|
|
3010
|
+
* @internal
|
|
3011
|
+
*/
|
|
3012
|
+
protected controlElChanged(): void;
|
|
2608
3013
|
/**
|
|
2609
3014
|
* @internal
|
|
2610
3015
|
*/
|
|
@@ -2889,13 +3294,10 @@ export declare class BaseTextArea extends FASTElement {
|
|
|
2889
3294
|
* @public
|
|
2890
3295
|
*/
|
|
2891
3296
|
select(): void;
|
|
2892
|
-
private setDefaultValue;
|
|
2893
|
-
private bindEvents;
|
|
2894
3297
|
/**
|
|
2895
3298
|
* Gets the content inside the light DOM, if any HTML element is present, use its `outerHTML` value.
|
|
2896
3299
|
*/
|
|
2897
3300
|
private getContent;
|
|
2898
|
-
private observeControlElAttrs;
|
|
2899
3301
|
private setDisabledSideEffect;
|
|
2900
3302
|
private toggleUserValidityState;
|
|
2901
3303
|
private maybeCreateAutoSizerEl;
|
|
@@ -2923,6 +3325,10 @@ export declare class BaseTextArea extends FASTElement {
|
|
|
2923
3325
|
* @csspart label - The internal `<label>` element
|
|
2924
3326
|
* @csspart root - the root container for the internal control
|
|
2925
3327
|
* @csspart control - The internal `<input>` control
|
|
3328
|
+
*
|
|
3329
|
+
* @fires { Event } change - Fires a custom 'change' event when the value changes and the input loses focus
|
|
3330
|
+
* @fires { Event } select - Fires when the `select()` method is called.
|
|
3331
|
+
*
|
|
2926
3332
|
* @public
|
|
2927
3333
|
*/
|
|
2928
3334
|
export declare class BaseTextInput extends FASTElement {
|
|
@@ -2935,15 +3341,6 @@ export declare class BaseTextInput extends FASTElement {
|
|
|
2935
3341
|
* HTML Attribute: `autocomplete`
|
|
2936
3342
|
*/
|
|
2937
3343
|
autocomplete?: string;
|
|
2938
|
-
/**
|
|
2939
|
-
* Indicates that the element should get focus after the page finishes loading.
|
|
2940
|
-
* @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/input#autofocus | `autofocus`} attribute
|
|
2941
|
-
*
|
|
2942
|
-
* @public
|
|
2943
|
-
* @remarks
|
|
2944
|
-
* HTML Attribute: `autofocus`
|
|
2945
|
-
*/
|
|
2946
|
-
autofocus: boolean;
|
|
2947
3344
|
/**
|
|
2948
3345
|
* The current value of the input.
|
|
2949
3346
|
* @public
|
|
@@ -3209,12 +3606,6 @@ export declare class BaseTextInput extends FASTElement {
|
|
|
3209
3606
|
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/form | `ElementInternals.form`} property.
|
|
3210
3607
|
*/
|
|
3211
3608
|
get form(): HTMLFormElement | null;
|
|
3212
|
-
/**
|
|
3213
|
-
* Handles the internal control's `keypress` event.
|
|
3214
|
-
*
|
|
3215
|
-
* @internal
|
|
3216
|
-
*/
|
|
3217
|
-
beforeinputHandler(e: InputEvent): boolean | void;
|
|
3218
3609
|
/**
|
|
3219
3610
|
* Change event handler for inner control.
|
|
3220
3611
|
*
|
|
@@ -3239,13 +3630,6 @@ export declare class BaseTextInput extends FASTElement {
|
|
|
3239
3630
|
*/
|
|
3240
3631
|
clickHandler(e: MouseEvent): boolean | void;
|
|
3241
3632
|
connectedCallback(): void;
|
|
3242
|
-
/**
|
|
3243
|
-
* Focuses the inner control when the component is focused.
|
|
3244
|
-
*
|
|
3245
|
-
* @param e - the event object
|
|
3246
|
-
* @public
|
|
3247
|
-
*/
|
|
3248
|
-
focusinHandler(e: FocusEvent): boolean | void;
|
|
3249
3633
|
/**
|
|
3250
3634
|
* Resets the value to its initial value when the form is reset.
|
|
3251
3635
|
*
|
|
@@ -3320,12 +3704,6 @@ export declare class BaseTree extends FASTElement {
|
|
|
3320
3704
|
* @public
|
|
3321
3705
|
*/
|
|
3322
3706
|
currentSelected: HTMLElement | null;
|
|
3323
|
-
/**
|
|
3324
|
-
* The tree item that is designated to be in the tab queue.
|
|
3325
|
-
*
|
|
3326
|
-
* @internal
|
|
3327
|
-
*/
|
|
3328
|
-
private currentFocused;
|
|
3329
3707
|
/**
|
|
3330
3708
|
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
3331
3709
|
*
|
|
@@ -3334,6 +3712,13 @@ export declare class BaseTree extends FASTElement {
|
|
|
3334
3712
|
elementInternals: ElementInternals;
|
|
3335
3713
|
/** @internal */
|
|
3336
3714
|
defaultSlot: HTMLSlotElement;
|
|
3715
|
+
/**
|
|
3716
|
+
* Calls the slot change handler when the `defaultSlot` reference is updated
|
|
3717
|
+
* by the template binding.
|
|
3718
|
+
*
|
|
3719
|
+
* @internal
|
|
3720
|
+
*/
|
|
3721
|
+
defaultSlotChanged(): void;
|
|
3337
3722
|
constructor();
|
|
3338
3723
|
/** @internal */
|
|
3339
3724
|
childTreeItems: BaseTreeItem[];
|
|
@@ -3349,18 +3734,6 @@ export declare class BaseTree extends FASTElement {
|
|
|
3349
3734
|
* @internal
|
|
3350
3735
|
*/
|
|
3351
3736
|
keydownHandler(e: KeyboardEvent): boolean | void;
|
|
3352
|
-
/**
|
|
3353
|
-
* Handle focus events
|
|
3354
|
-
*
|
|
3355
|
-
* @internal
|
|
3356
|
-
*/
|
|
3357
|
-
focusHandler(e: FocusEvent): void;
|
|
3358
|
-
/**
|
|
3359
|
-
* Handle blur events
|
|
3360
|
-
*
|
|
3361
|
-
* @internal
|
|
3362
|
-
*/
|
|
3363
|
-
blurHandler(e: FocusEvent): void;
|
|
3364
3737
|
/**
|
|
3365
3738
|
* Handles click events bubbling up
|
|
3366
3739
|
*
|
|
@@ -3374,19 +3747,24 @@ export declare class BaseTree extends FASTElement {
|
|
|
3374
3747
|
* @internal
|
|
3375
3748
|
*/
|
|
3376
3749
|
changeHandler(e: Event): boolean | void;
|
|
3377
|
-
/**
|
|
3378
|
-
* checks if there are any nested tree items
|
|
3379
|
-
*/
|
|
3380
|
-
private getValidFocusableItem;
|
|
3381
|
-
private getVisibleNodes;
|
|
3382
|
-
/**
|
|
3383
|
-
* Move focus to a tree item based on its offset from the provided item
|
|
3384
|
-
*/
|
|
3385
|
-
private focusNextNode;
|
|
3386
3750
|
/** @internal */
|
|
3387
3751
|
handleDefaultSlotChange(): void;
|
|
3752
|
+
/**
|
|
3753
|
+
* All descendant tree items in DOM order, recursively flattened from
|
|
3754
|
+
* `childTreeItems`.
|
|
3755
|
+
*/
|
|
3756
|
+
protected get descendantTreeItems(): BaseTreeItem[];
|
|
3388
3757
|
}
|
|
3389
3758
|
|
|
3759
|
+
/**
|
|
3760
|
+
* Base class for Tree Item Custom HTML Element.
|
|
3761
|
+
* Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li | `<li>`} element.
|
|
3762
|
+
*
|
|
3763
|
+
* @fires { ToggleEvent } toggle - Fires when the expanded state changes
|
|
3764
|
+
* @fires { Event } change - Fires when the selected state changes
|
|
3765
|
+
*
|
|
3766
|
+
* @public
|
|
3767
|
+
*/
|
|
3390
3768
|
declare class BaseTreeItem extends FASTElement {
|
|
3391
3769
|
/**
|
|
3392
3770
|
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
@@ -3396,11 +3774,22 @@ declare class BaseTreeItem extends FASTElement {
|
|
|
3396
3774
|
elementInternals: ElementInternals;
|
|
3397
3775
|
/** @internal */
|
|
3398
3776
|
itemSlot: HTMLSlotElement;
|
|
3777
|
+
/**
|
|
3778
|
+
* Calls the slot change handler when the `itemSlot` reference is updated
|
|
3779
|
+
* by the template binding.
|
|
3780
|
+
*
|
|
3781
|
+
* @internal
|
|
3782
|
+
*/
|
|
3783
|
+
itemSlotChanged(): void;
|
|
3399
3784
|
constructor();
|
|
3785
|
+
connectedCallback(): void;
|
|
3400
3786
|
/**
|
|
3401
3787
|
* When true, the control will be appear expanded by user interaction.
|
|
3402
|
-
*
|
|
3788
|
+
* When true, the control will be appear expanded by user interaction.
|
|
3789
|
+
*
|
|
3403
3790
|
* HTML Attribute: `expanded`
|
|
3791
|
+
*
|
|
3792
|
+
* @public
|
|
3404
3793
|
*/
|
|
3405
3794
|
expanded: boolean;
|
|
3406
3795
|
/**
|
|
@@ -3428,8 +3817,11 @@ declare class BaseTreeItem extends FASTElement {
|
|
|
3428
3817
|
protected selectedChanged(prev: boolean, next: boolean): void;
|
|
3429
3818
|
/**
|
|
3430
3819
|
* When true, the control has no child tree items
|
|
3431
|
-
*
|
|
3820
|
+
* When true, the control has no child tree items
|
|
3821
|
+
*
|
|
3432
3822
|
* HTML Attribute: empty
|
|
3823
|
+
*
|
|
3824
|
+
* @public
|
|
3433
3825
|
*/
|
|
3434
3826
|
empty: boolean;
|
|
3435
3827
|
private styles;
|
|
@@ -3448,7 +3840,6 @@ declare class BaseTreeItem extends FASTElement {
|
|
|
3448
3840
|
* @public
|
|
3449
3841
|
*/
|
|
3450
3842
|
childTreeItemsChanged(): void;
|
|
3451
|
-
connectedCallback(): void;
|
|
3452
3843
|
/**
|
|
3453
3844
|
* Updates the childrens indent
|
|
3454
3845
|
*
|
|
@@ -3466,57 +3857,91 @@ declare class BaseTreeItem extends FASTElement {
|
|
|
3466
3857
|
*/
|
|
3467
3858
|
toggleExpansion(): void;
|
|
3468
3859
|
/**
|
|
3469
|
-
* Whether the tree is nested
|
|
3860
|
+
* Whether the tree item is nested
|
|
3470
3861
|
* @internal
|
|
3471
3862
|
*/
|
|
3472
3863
|
get isNestedItem(): boolean;
|
|
3473
|
-
|
|
3864
|
+
/**
|
|
3865
|
+
* Whether the tree item is nested in a collapsed tree item.
|
|
3866
|
+
* @internal
|
|
3867
|
+
*/
|
|
3868
|
+
get isHidden(): boolean;
|
|
3474
3869
|
/** @internal */
|
|
3475
3870
|
handleItemSlotChange(): void;
|
|
3476
3871
|
}
|
|
3477
3872
|
|
|
3478
3873
|
/**
|
|
3479
|
-
* CSS custom property value for the {@link @fluentui/tokens#
|
|
3874
|
+
* CSS custom property value for the {@link @fluentui/tokens#borderRadius2XLarge | `borderRadius2XLarge`} design token.
|
|
3480
3875
|
* @public
|
|
3481
3876
|
*/
|
|
3482
|
-
export declare const
|
|
3877
|
+
export declare const borderRadius2XLarge = "var(--borderRadius2XLarge)";
|
|
3483
3878
|
|
|
3484
3879
|
/**
|
|
3485
|
-
* CSS custom property value for the {@link @fluentui/tokens#
|
|
3880
|
+
* CSS custom property value for the {@link @fluentui/tokens#borderRadius3XLarge | `borderRadius3XLarge`} design token.
|
|
3486
3881
|
* @public
|
|
3487
3882
|
*/
|
|
3488
|
-
export declare const
|
|
3883
|
+
export declare const borderRadius3XLarge = "var(--borderRadius3XLarge)";
|
|
3489
3884
|
|
|
3490
3885
|
/**
|
|
3491
|
-
* CSS custom property value for the {@link @fluentui/tokens#
|
|
3886
|
+
* CSS custom property value for the {@link @fluentui/tokens#borderRadius4XLarge | `borderRadius4XLarge`} design token.
|
|
3492
3887
|
* @public
|
|
3493
3888
|
*/
|
|
3494
|
-
export declare const
|
|
3889
|
+
export declare const borderRadius4XLarge = "var(--borderRadius4XLarge)";
|
|
3495
3890
|
|
|
3496
3891
|
/**
|
|
3497
|
-
* CSS custom property value for the {@link @fluentui/tokens#
|
|
3892
|
+
* CSS custom property value for the {@link @fluentui/tokens#borderRadius5XLarge | `borderRadius5XLarge`} design token.
|
|
3498
3893
|
* @public
|
|
3499
3894
|
*/
|
|
3500
|
-
export declare const
|
|
3895
|
+
export declare const borderRadius5XLarge = "var(--borderRadius5XLarge)";
|
|
3501
3896
|
|
|
3502
3897
|
/**
|
|
3503
|
-
* CSS custom property value for the {@link @fluentui/tokens#
|
|
3898
|
+
* CSS custom property value for the {@link @fluentui/tokens#borderRadius6XLarge | `borderRadius6XLarge`} design token.
|
|
3504
3899
|
* @public
|
|
3505
3900
|
*/
|
|
3506
|
-
export declare const
|
|
3901
|
+
export declare const borderRadius6XLarge = "var(--borderRadius6XLarge)";
|
|
3507
3902
|
|
|
3508
3903
|
/**
|
|
3509
|
-
* CSS custom property value for the {@link @fluentui/tokens#
|
|
3904
|
+
* CSS custom property value for the {@link @fluentui/tokens#borderRadiusCircular | `borderRadiusCircular`} design token.
|
|
3510
3905
|
* @public
|
|
3511
3906
|
*/
|
|
3512
|
-
export declare const
|
|
3907
|
+
export declare const borderRadiusCircular = "var(--borderRadiusCircular)";
|
|
3513
3908
|
|
|
3514
3909
|
/**
|
|
3515
|
-
*
|
|
3516
|
-
*
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3910
|
+
* CSS custom property value for the {@link @fluentui/tokens#borderRadiusLarge | `borderRadiusLarge`} design token.
|
|
3911
|
+
* @public
|
|
3912
|
+
*/
|
|
3913
|
+
export declare const borderRadiusLarge = "var(--borderRadiusLarge)";
|
|
3914
|
+
|
|
3915
|
+
/**
|
|
3916
|
+
* CSS custom property value for the {@link @fluentui/tokens#borderRadiusMedium | `borderRadiusMedium`} design token.
|
|
3917
|
+
* @public
|
|
3918
|
+
*/
|
|
3919
|
+
export declare const borderRadiusMedium = "var(--borderRadiusMedium)";
|
|
3920
|
+
|
|
3921
|
+
/**
|
|
3922
|
+
* CSS custom property value for the {@link @fluentui/tokens#borderRadiusNone | `borderRadiusNone`} design token.
|
|
3923
|
+
* @public
|
|
3924
|
+
*/
|
|
3925
|
+
export declare const borderRadiusNone = "var(--borderRadiusNone)";
|
|
3926
|
+
|
|
3927
|
+
/**
|
|
3928
|
+
* CSS custom property value for the {@link @fluentui/tokens#borderRadiusSmall | `borderRadiusSmall`} design token.
|
|
3929
|
+
* @public
|
|
3930
|
+
*/
|
|
3931
|
+
export declare const borderRadiusSmall = "var(--borderRadiusSmall)";
|
|
3932
|
+
|
|
3933
|
+
/**
|
|
3934
|
+
* CSS custom property value for the {@link @fluentui/tokens#borderRadiusXLarge | `borderRadiusXLarge`} design token.
|
|
3935
|
+
* @public
|
|
3936
|
+
*/
|
|
3937
|
+
export declare const borderRadiusXLarge = "var(--borderRadiusXLarge)";
|
|
3938
|
+
|
|
3939
|
+
/**
|
|
3940
|
+
* A Button Custom HTML Element.
|
|
3941
|
+
* Based on BaseButton and includes style and layout specific attributes
|
|
3942
|
+
*
|
|
3943
|
+
* @tag fluent-button
|
|
3944
|
+
*
|
|
3520
3945
|
* @public
|
|
3521
3946
|
*/
|
|
3522
3947
|
export declare class Button extends BaseButton {
|
|
@@ -3581,13 +4006,11 @@ export declare const ButtonAppearance: {
|
|
|
3581
4006
|
export declare type ButtonAppearance = ValuesOf<typeof ButtonAppearance>;
|
|
3582
4007
|
|
|
3583
4008
|
/**
|
|
3584
|
-
* The definition for the
|
|
4009
|
+
* The definition for the `<fluent-button>` element.
|
|
3585
4010
|
*
|
|
3586
4011
|
* @public
|
|
3587
|
-
* @remarks
|
|
3588
|
-
* HTML Element: `<fluent-button>`
|
|
3589
4012
|
*/
|
|
3590
|
-
export declare const ButtonDefinition:
|
|
4013
|
+
export declare const ButtonDefinition: PartialFASTElementDefinition;
|
|
3591
4014
|
|
|
3592
4015
|
/**
|
|
3593
4016
|
* Button `formtarget` attribute values.
|
|
@@ -3652,7 +4075,7 @@ export declare type ButtonSize = ValuesOf<typeof ButtonSize>;
|
|
|
3652
4075
|
*
|
|
3653
4076
|
* @public
|
|
3654
4077
|
*/
|
|
3655
|
-
export declare const ButtonTemplate: ElementViewTemplate<
|
|
4078
|
+
export declare const ButtonTemplate: ElementViewTemplate<BaseButton>;
|
|
3656
4079
|
|
|
3657
4080
|
/**
|
|
3658
4081
|
* Button type values.
|
|
@@ -3680,8 +4103,8 @@ export declare type ButtonType = ValuesOf<typeof ButtonType>;
|
|
|
3680
4103
|
*
|
|
3681
4104
|
* @slot checked-indicator - The checked indicator
|
|
3682
4105
|
* @slot indeterminate-indicator - The indeterminate indicator
|
|
3683
|
-
* @fires change - Emits a custom change event when the checked state changes
|
|
3684
|
-
* @fires input - Emits a custom input event when the checked state changes
|
|
4106
|
+
* @fires { Event } change - Emits a custom change event when the checked state changes
|
|
4107
|
+
* @fires { Event } input - Emits a custom input event when the checked state changes
|
|
3685
4108
|
*
|
|
3686
4109
|
* @public
|
|
3687
4110
|
*/
|
|
@@ -3734,13 +4157,11 @@ export declare class Checkbox extends BaseCheckbox {
|
|
|
3734
4157
|
}
|
|
3735
4158
|
|
|
3736
4159
|
/**
|
|
3737
|
-
* The
|
|
4160
|
+
* The definition for the `<fluent-checkbox>` element.
|
|
3738
4161
|
*
|
|
3739
4162
|
* @public
|
|
3740
|
-
* @remarks
|
|
3741
|
-
* HTML Element: \<fluent-checkbox\>
|
|
3742
4163
|
*/
|
|
3743
|
-
export declare const CheckboxDefinition:
|
|
4164
|
+
export declare const CheckboxDefinition: PartialFASTElementDefinition;
|
|
3744
4165
|
|
|
3745
4166
|
/**
|
|
3746
4167
|
* Checkbox configuration options
|
|
@@ -4189,6 +4610,36 @@ export declare const colorNeutralBackground5Selected = "var(--colorNeutralBackgr
|
|
|
4189
4610
|
*/
|
|
4190
4611
|
export declare const colorNeutralBackground6 = "var(--colorNeutralBackground6)";
|
|
4191
4612
|
|
|
4613
|
+
/**
|
|
4614
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackground7 | `colorNeutralBackground7`} design token.
|
|
4615
|
+
* @public
|
|
4616
|
+
*/
|
|
4617
|
+
export declare const colorNeutralBackground7 = "var(--colorNeutralBackground7)";
|
|
4618
|
+
|
|
4619
|
+
/**
|
|
4620
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackground7Hover | `colorNeutralBackground7Hover`} design token.
|
|
4621
|
+
* @public
|
|
4622
|
+
*/
|
|
4623
|
+
export declare const colorNeutralBackground7Hover = "var(--colorNeutralBackground7Hover)";
|
|
4624
|
+
|
|
4625
|
+
/**
|
|
4626
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackground7Pressed | `colorNeutralBackground7Pressed`} design token.
|
|
4627
|
+
* @public
|
|
4628
|
+
*/
|
|
4629
|
+
export declare const colorNeutralBackground7Pressed = "var(--colorNeutralBackground7Pressed)";
|
|
4630
|
+
|
|
4631
|
+
/**
|
|
4632
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackground7Selected | `colorNeutralBackground7Selected`} design token.
|
|
4633
|
+
* @public
|
|
4634
|
+
*/
|
|
4635
|
+
export declare const colorNeutralBackground7Selected = "var(--colorNeutralBackground7Selected)";
|
|
4636
|
+
|
|
4637
|
+
/**
|
|
4638
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackground8 | `colorNeutralBackground8`} design token.
|
|
4639
|
+
* @public
|
|
4640
|
+
*/
|
|
4641
|
+
export declare const colorNeutralBackground8 = "var(--colorNeutralBackground8)";
|
|
4642
|
+
|
|
4192
4643
|
/**
|
|
4193
4644
|
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundAlpha | `colorNeutralBackgroundAlpha`} design token.
|
|
4194
4645
|
* @public
|
|
@@ -4207,6 +4658,12 @@ export declare const colorNeutralBackgroundAlpha2 = "var(--colorNeutralBackgroun
|
|
|
4207
4658
|
*/
|
|
4208
4659
|
export declare const colorNeutralBackgroundDisabled = "var(--colorNeutralBackgroundDisabled)";
|
|
4209
4660
|
|
|
4661
|
+
/**
|
|
4662
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundDisabled2 | `colorNeutralBackgroundDisabled2`} design token.
|
|
4663
|
+
* @public
|
|
4664
|
+
*/
|
|
4665
|
+
export declare const colorNeutralBackgroundDisabled2 = "var(--colorNeutralBackgroundDisabled2)";
|
|
4666
|
+
|
|
4210
4667
|
/**
|
|
4211
4668
|
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundInverted | `colorNeutralBackgroundInverted`} design token.
|
|
4212
4669
|
* @public
|
|
@@ -4219,6 +4676,24 @@ export declare const colorNeutralBackgroundInverted = "var(--colorNeutralBackgro
|
|
|
4219
4676
|
*/
|
|
4220
4677
|
export declare const colorNeutralBackgroundInvertedDisabled = "var(--colorNeutralBackgroundInvertedDisabled)";
|
|
4221
4678
|
|
|
4679
|
+
/**
|
|
4680
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundInvertedHover | `colorNeutralBackgroundInvertedHover`} design token.
|
|
4681
|
+
* @public
|
|
4682
|
+
*/
|
|
4683
|
+
export declare const colorNeutralBackgroundInvertedHover = "var(--colorNeutralBackgroundInvertedHover)";
|
|
4684
|
+
|
|
4685
|
+
/**
|
|
4686
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundInvertedPressed | `colorNeutralBackgroundInvertedPressed`} design token.
|
|
4687
|
+
* @public
|
|
4688
|
+
*/
|
|
4689
|
+
export declare const colorNeutralBackgroundInvertedPressed = "var(--colorNeutralBackgroundInvertedPressed)";
|
|
4690
|
+
|
|
4691
|
+
/**
|
|
4692
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundInvertedSelected | `colorNeutralBackgroundInvertedSelected`} design token.
|
|
4693
|
+
* @public
|
|
4694
|
+
*/
|
|
4695
|
+
export declare const colorNeutralBackgroundInvertedSelected = "var(--colorNeutralBackgroundInvertedSelected)";
|
|
4696
|
+
|
|
4222
4697
|
/**
|
|
4223
4698
|
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralBackgroundStatic | `colorNeutralBackgroundStatic`} design token.
|
|
4224
4699
|
* @public
|
|
@@ -4399,6 +4874,30 @@ export declare const colorNeutralForeground3Selected = "var(--colorNeutralForegr
|
|
|
4399
4874
|
*/
|
|
4400
4875
|
export declare const colorNeutralForeground4 = "var(--colorNeutralForeground4)";
|
|
4401
4876
|
|
|
4877
|
+
/**
|
|
4878
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralForeground5 | `colorNeutralForeground5`} design token.
|
|
4879
|
+
* @public
|
|
4880
|
+
*/
|
|
4881
|
+
export declare const colorNeutralForeground5 = "var(--colorNeutralForeground5)";
|
|
4882
|
+
|
|
4883
|
+
/**
|
|
4884
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralForeground5Hover | `colorNeutralForeground5Hover`} design token.
|
|
4885
|
+
* @public
|
|
4886
|
+
*/
|
|
4887
|
+
export declare const colorNeutralForeground5Hover = "var(--colorNeutralForeground5Hover)";
|
|
4888
|
+
|
|
4889
|
+
/**
|
|
4890
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralForeground5Pressed | `colorNeutralForeground5Pressed`} design token.
|
|
4891
|
+
* @public
|
|
4892
|
+
*/
|
|
4893
|
+
export declare const colorNeutralForeground5Pressed = "var(--colorNeutralForeground5Pressed)";
|
|
4894
|
+
|
|
4895
|
+
/**
|
|
4896
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralForeground5Selected | `colorNeutralForeground5Selected`} design token.
|
|
4897
|
+
* @public
|
|
4898
|
+
*/
|
|
4899
|
+
export declare const colorNeutralForeground5Selected = "var(--colorNeutralForeground5Selected)";
|
|
4900
|
+
|
|
4402
4901
|
/**
|
|
4403
4902
|
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralForegroundDisabled | `colorNeutralForegroundDisabled`} design token.
|
|
4404
4903
|
* @public
|
|
@@ -4573,6 +5072,30 @@ export declare const colorNeutralStroke2 = "var(--colorNeutralStroke2)";
|
|
|
4573
5072
|
*/
|
|
4574
5073
|
export declare const colorNeutralStroke3 = "var(--colorNeutralStroke3)";
|
|
4575
5074
|
|
|
5075
|
+
/**
|
|
5076
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralStroke4 | `colorNeutralStroke4`} design token.
|
|
5077
|
+
* @public
|
|
5078
|
+
*/
|
|
5079
|
+
export declare const colorNeutralStroke4 = "var(--colorNeutralStroke4)";
|
|
5080
|
+
|
|
5081
|
+
/**
|
|
5082
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralStroke4Hover | `colorNeutralStroke4Hover`} design token.
|
|
5083
|
+
* @public
|
|
5084
|
+
*/
|
|
5085
|
+
export declare const colorNeutralStroke4Hover = "var(--colorNeutralStroke4Hover)";
|
|
5086
|
+
|
|
5087
|
+
/**
|
|
5088
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralStroke4Pressed | `colorNeutralStroke4Pressed`} design token.
|
|
5089
|
+
* @public
|
|
5090
|
+
*/
|
|
5091
|
+
export declare const colorNeutralStroke4Pressed = "var(--colorNeutralStroke4Pressed)";
|
|
5092
|
+
|
|
5093
|
+
/**
|
|
5094
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralStroke4Selected | `colorNeutralStroke4Selected`} design token.
|
|
5095
|
+
* @public
|
|
5096
|
+
*/
|
|
5097
|
+
export declare const colorNeutralStroke4Selected = "var(--colorNeutralStroke4Selected)";
|
|
5098
|
+
|
|
4576
5099
|
/**
|
|
4577
5100
|
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralStrokeAccessible | `colorNeutralStrokeAccessible`} design token.
|
|
4578
5101
|
* @public
|
|
@@ -4615,6 +5138,12 @@ export declare const colorNeutralStrokeAlpha2 = "var(--colorNeutralStrokeAlpha2)
|
|
|
4615
5138
|
*/
|
|
4616
5139
|
export declare const colorNeutralStrokeDisabled = "var(--colorNeutralStrokeDisabled)";
|
|
4617
5140
|
|
|
5141
|
+
/**
|
|
5142
|
+
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralStrokeDisabled2 | `colorNeutralStrokeDisabled2`} design token.
|
|
5143
|
+
* @public
|
|
5144
|
+
*/
|
|
5145
|
+
export declare const colorNeutralStrokeDisabled2 = "var(--colorNeutralStrokeDisabled2)";
|
|
5146
|
+
|
|
4618
5147
|
/**
|
|
4619
5148
|
* CSS custom property value for the {@link @fluentui/tokens#colorNeutralStrokeInvertedDisabled | `colorNeutralStrokeInvertedDisabled`} design token.
|
|
4620
5149
|
* @public
|
|
@@ -5880,6 +6409,9 @@ export declare const colorTransparentStrokeInteractive = "var(--colorTransparent
|
|
|
5880
6409
|
*
|
|
5881
6410
|
* @tag fluent-compound-button
|
|
5882
6411
|
*
|
|
6412
|
+
* @slot - The default slot for the main content of the compound button
|
|
6413
|
+
* @slot description - The description of the compound button, shown below the main content
|
|
6414
|
+
*
|
|
5883
6415
|
* @public
|
|
5884
6416
|
*/
|
|
5885
6417
|
export declare class CompoundButton extends Button {
|
|
@@ -5903,11 +6435,11 @@ export declare const CompoundButtonAppearance: {
|
|
|
5903
6435
|
export declare type CompoundButtonAppearance = ValuesOf<typeof CompoundButtonAppearance>;
|
|
5904
6436
|
|
|
5905
6437
|
/**
|
|
6438
|
+
* The definition for the `<fluent-compound-button>` element.
|
|
6439
|
+
*
|
|
5906
6440
|
* @public
|
|
5907
|
-
* @remarks
|
|
5908
|
-
* HTML Element: \<fluent-comopund-button\>
|
|
5909
6441
|
*/
|
|
5910
|
-
export declare const CompoundButtonDefinition:
|
|
6442
|
+
export declare const CompoundButtonDefinition: PartialFASTElementDefinition;
|
|
5911
6443
|
|
|
5912
6444
|
/**
|
|
5913
6445
|
* A Compound Button can be square, circular or rounded.
|
|
@@ -5945,24 +6477,23 @@ export declare const CompoundButtonStyles: ElementStyles;
|
|
|
5945
6477
|
|
|
5946
6478
|
/**
|
|
5947
6479
|
* The template for the Button component.
|
|
6480
|
+
*
|
|
5948
6481
|
* @public
|
|
5949
6482
|
*/
|
|
5950
6483
|
export declare const CompoundButtonTemplate: ElementViewTemplate<CompoundButton>;
|
|
5951
6484
|
|
|
5952
6485
|
/**
|
|
5953
|
-
*
|
|
6486
|
+
* A CounterBadge Custom HTML Element.
|
|
6487
|
+
* Based on BaseCounterBadge and includes style and layout specific attributes.
|
|
5954
6488
|
*
|
|
5955
6489
|
* @tag fluent-counter-badge
|
|
5956
6490
|
*
|
|
6491
|
+
* @slot start - Content which can be provided before the badge content.
|
|
6492
|
+
* @slot end - Content which can be provided after the badge content.
|
|
6493
|
+
*
|
|
5957
6494
|
* @public
|
|
5958
6495
|
*/
|
|
5959
|
-
export declare class CounterBadge extends
|
|
5960
|
-
/**
|
|
5961
|
-
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
5962
|
-
*
|
|
5963
|
-
* @internal
|
|
5964
|
-
*/
|
|
5965
|
-
elementInternals: ElementInternals;
|
|
6496
|
+
export declare class CounterBadge extends BaseCounterBadge {
|
|
5966
6497
|
/**
|
|
5967
6498
|
* The appearance the badge should have.
|
|
5968
6499
|
*
|
|
@@ -5995,60 +6526,14 @@ export declare class CounterBadge extends FASTElement {
|
|
|
5995
6526
|
* HTML Attribute: size
|
|
5996
6527
|
*/
|
|
5997
6528
|
size?: CounterBadgeSize;
|
|
5998
|
-
/**
|
|
5999
|
-
* The count the badge should have.
|
|
6000
|
-
*
|
|
6001
|
-
* @public
|
|
6002
|
-
* @remarks
|
|
6003
|
-
* HTML Attribute: count
|
|
6004
|
-
*/
|
|
6005
|
-
count: number;
|
|
6006
|
-
protected countChanged(): void;
|
|
6007
|
-
/**
|
|
6008
|
-
* Max number to be displayed
|
|
6009
|
-
*
|
|
6010
|
-
* @public
|
|
6011
|
-
* @remarks
|
|
6012
|
-
* HTML Attribute: overflow-count
|
|
6013
|
-
*/
|
|
6014
|
-
overflowCount: number;
|
|
6015
|
-
protected overflowCountChanged(): void;
|
|
6016
|
-
/**
|
|
6017
|
-
* If the badge should be shown when count is 0
|
|
6018
|
-
*
|
|
6019
|
-
* @public
|
|
6020
|
-
* @remarks
|
|
6021
|
-
* HTML Attribute: show-zero
|
|
6022
|
-
*/
|
|
6023
|
-
showZero: boolean;
|
|
6024
|
-
/**
|
|
6025
|
-
* If a dot should be displayed without the count
|
|
6026
|
-
*
|
|
6027
|
-
* @public
|
|
6028
|
-
* @remarks
|
|
6029
|
-
* HTML Attribute: dot
|
|
6030
|
-
*/
|
|
6031
|
-
dot: boolean;
|
|
6032
|
-
/**
|
|
6033
|
-
* @internal
|
|
6034
|
-
* Function to set the count
|
|
6035
|
-
* This is the default slotted content for the counter badge
|
|
6036
|
-
* If children are slotted, that will override the value returned
|
|
6037
|
-
*/
|
|
6038
|
-
setCount(): string | void;
|
|
6039
6529
|
}
|
|
6040
6530
|
|
|
6041
|
-
/**
|
|
6042
|
-
* Mark internal because exporting class and interface of the same name
|
|
6043
|
-
* confuses API extractor.
|
|
6044
|
-
* TODO: Below will be unnecessary when Badge class gets updated
|
|
6045
|
-
* @internal
|
|
6046
|
-
*/
|
|
6047
6531
|
export declare interface CounterBadge extends StartEnd {
|
|
6048
6532
|
}
|
|
6049
6533
|
|
|
6050
6534
|
/**
|
|
6051
|
-
*
|
|
6535
|
+
* Values for the `appearance` attribute on CounterBadge elements.
|
|
6536
|
+
*
|
|
6052
6537
|
* @public
|
|
6053
6538
|
*/
|
|
6054
6539
|
export declare const CounterBadgeAppearance: {
|
|
@@ -6057,13 +6542,14 @@ export declare const CounterBadgeAppearance: {
|
|
|
6057
6542
|
};
|
|
6058
6543
|
|
|
6059
6544
|
/**
|
|
6060
|
-
*
|
|
6545
|
+
* Type for the `appearance` attribute on CounterBadge elements, based on the CounterBadgeAppearance constants.
|
|
6061
6546
|
* @public
|
|
6062
6547
|
*/
|
|
6063
6548
|
export declare type CounterBadgeAppearance = ValuesOf<typeof CounterBadgeAppearance>;
|
|
6064
6549
|
|
|
6065
6550
|
/**
|
|
6066
|
-
*
|
|
6551
|
+
* Values for the `color` attribute on CounterBadge elements.
|
|
6552
|
+
*
|
|
6067
6553
|
* @public
|
|
6068
6554
|
*/
|
|
6069
6555
|
export declare const CounterBadgeColor: {
|
|
@@ -6078,20 +6564,21 @@ export declare const CounterBadgeColor: {
|
|
|
6078
6564
|
};
|
|
6079
6565
|
|
|
6080
6566
|
/**
|
|
6081
|
-
*
|
|
6567
|
+
* Type for the `color` attribute on CounterBadge elements, based on the CounterBadgeColor constants.
|
|
6082
6568
|
* @public
|
|
6083
6569
|
*/
|
|
6084
6570
|
export declare type CounterBadgeColor = ValuesOf<typeof CounterBadgeColor>;
|
|
6085
6571
|
|
|
6086
6572
|
/**
|
|
6573
|
+
* The definition for the `<fluent-counter-badge>` element.
|
|
6574
|
+
*
|
|
6087
6575
|
* @public
|
|
6088
|
-
* @remarks
|
|
6089
|
-
* HTML Element: \<fluent-counter-badge\>
|
|
6090
6576
|
*/
|
|
6091
|
-
export declare const CounterBadgeDefinition:
|
|
6577
|
+
export declare const CounterBadgeDefinition: PartialFASTElementDefinition;
|
|
6092
6578
|
|
|
6093
6579
|
/**
|
|
6094
|
-
*
|
|
6580
|
+
* Values for the `shape` attribute on CounterBadge elements.
|
|
6581
|
+
*
|
|
6095
6582
|
* @public
|
|
6096
6583
|
*/
|
|
6097
6584
|
export declare const CounterBadgeShape: {
|
|
@@ -6100,13 +6587,15 @@ export declare const CounterBadgeShape: {
|
|
|
6100
6587
|
};
|
|
6101
6588
|
|
|
6102
6589
|
/**
|
|
6103
|
-
*
|
|
6590
|
+
* Type for the `shape` attribute on CounterBadge elements, based on the CounterBadgeShape constants.
|
|
6591
|
+
*
|
|
6104
6592
|
* @public
|
|
6105
6593
|
*/
|
|
6106
6594
|
export declare type CounterBadgeShape = ValuesOf<typeof CounterBadgeShape>;
|
|
6107
6595
|
|
|
6108
6596
|
/**
|
|
6109
|
-
*
|
|
6597
|
+
* Values for the `size` attribute on CounterBadge elements.
|
|
6598
|
+
*
|
|
6110
6599
|
* @public
|
|
6111
6600
|
*/
|
|
6112
6601
|
export declare const CounterBadgeSize: {
|
|
@@ -6119,7 +6608,8 @@ export declare const CounterBadgeSize: {
|
|
|
6119
6608
|
};
|
|
6120
6609
|
|
|
6121
6610
|
/**
|
|
6122
|
-
*
|
|
6611
|
+
* Type for the `size` attribute on CounterBadge elements, based on the CounterBadgeSize constants.
|
|
6612
|
+
*
|
|
6123
6613
|
* @public
|
|
6124
6614
|
*/
|
|
6125
6615
|
export declare type CounterBadgeSize = ValuesOf<typeof CounterBadgeSize>;
|
|
@@ -6130,7 +6620,15 @@ export declare type CounterBadgeSize = ValuesOf<typeof CounterBadgeSize>;
|
|
|
6130
6620
|
export declare const CounterBadgeStyles: ElementStyles;
|
|
6131
6621
|
|
|
6132
6622
|
/**
|
|
6133
|
-
* The
|
|
6623
|
+
* The tag name for the counter badge element.
|
|
6624
|
+
*
|
|
6625
|
+
* @public
|
|
6626
|
+
*/
|
|
6627
|
+
export declare const CounterBadgeTagName: "fluent-counter-badge";
|
|
6628
|
+
|
|
6629
|
+
/**
|
|
6630
|
+
* The template for the fluent-counter-badge component.
|
|
6631
|
+
*
|
|
6134
6632
|
* @public
|
|
6135
6633
|
*/
|
|
6136
6634
|
export declare const CounterBadgeTemplate: ElementViewTemplate<CounterBadge>;
|
|
@@ -6195,68 +6693,114 @@ export declare const curveEasyEaseMax = "var(--curveEasyEaseMax)";
|
|
|
6195
6693
|
*/
|
|
6196
6694
|
export declare const curveLinear = "var(--curveLinear)";
|
|
6197
6695
|
|
|
6198
|
-
/**
|
|
6199
|
-
* This can be used to construct a behavior to apply a prefers color scheme: dark only stylesheet.
|
|
6200
|
-
* @public
|
|
6201
|
-
*/
|
|
6202
|
-
export declare const darkModeStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
|
|
6203
|
-
|
|
6204
6696
|
/**
|
|
6205
6697
|
* A Dialog Custom HTML Element.
|
|
6206
6698
|
*
|
|
6207
6699
|
* @tag fluent-dialog
|
|
6208
6700
|
*
|
|
6701
|
+
* @fires { ToggleEvent } toggle - Event emitted after the dialog's open state changes.
|
|
6702
|
+
* @fires { ToggleEvent } beforetoggle - Event emitted before the dialog's open state changes.
|
|
6703
|
+
* @slot - The default slot. {@link (DialogBody:class)} element recommended.
|
|
6704
|
+
*
|
|
6209
6705
|
* @public
|
|
6210
6706
|
*/
|
|
6211
6707
|
export declare class Dialog extends FASTElement {
|
|
6212
6708
|
/**
|
|
6213
|
-
* @public
|
|
6214
6709
|
* The dialog element
|
|
6710
|
+
*
|
|
6711
|
+
* @public
|
|
6215
6712
|
*/
|
|
6216
6713
|
dialog: HTMLDialogElement;
|
|
6217
6714
|
/**
|
|
6218
|
-
* @public
|
|
6219
6715
|
* The ID of the element that describes the dialog
|
|
6716
|
+
*
|
|
6717
|
+
* @public
|
|
6220
6718
|
*/
|
|
6221
6719
|
ariaDescribedby?: string;
|
|
6222
6720
|
/**
|
|
6223
|
-
* @public
|
|
6224
6721
|
* The ID of the element that labels the dialog
|
|
6722
|
+
*
|
|
6723
|
+
* @public
|
|
6225
6724
|
*/
|
|
6226
6725
|
ariaLabelledby?: string;
|
|
6227
6726
|
/**
|
|
6727
|
+
* The label of the dialog
|
|
6728
|
+
*
|
|
6228
6729
|
* @public
|
|
6730
|
+
*/
|
|
6731
|
+
ariaLabel: string | null;
|
|
6732
|
+
/**
|
|
6229
6733
|
* The type of the dialog modal
|
|
6734
|
+
*
|
|
6735
|
+
* @public
|
|
6230
6736
|
*/
|
|
6231
6737
|
type: DialogType;
|
|
6232
|
-
|
|
6233
|
-
|
|
6738
|
+
/**
|
|
6739
|
+
* The `aria-describedby` attribute value for the dialog, which is determined by the `ariaDescribedby` property. This
|
|
6740
|
+
* is used to ensure that the dialog's accessible description is properly announced by assistive technologies.
|
|
6741
|
+
*
|
|
6742
|
+
* @internal
|
|
6743
|
+
*/
|
|
6744
|
+
get dialogDescribedby(): string | undefined;
|
|
6745
|
+
/**
|
|
6746
|
+
* The `aria-label` attribute value for the dialog, which is determined by the `ariaLabel` property. This is used to
|
|
6747
|
+
* ensure that the dialog's accessible name is properly announced by assistive technologies.
|
|
6748
|
+
*
|
|
6749
|
+
* @internal
|
|
6750
|
+
*/
|
|
6751
|
+
get dialogLabel(): string | null | undefined;
|
|
6752
|
+
/**
|
|
6753
|
+
* The `aria-labelledby` attribute value for the dialog, which is determined by the `ariaLabelledby` property. This is
|
|
6754
|
+
* used to ensure that the dialog's accessible name is properly announced by assistive technologies.
|
|
6755
|
+
*
|
|
6756
|
+
* @internal
|
|
6757
|
+
*/
|
|
6758
|
+
get dialogLabelledby(): string | undefined;
|
|
6759
|
+
/**
|
|
6760
|
+
* The modal state of the dialog, which is determined by the `type` property. If the dialog is not a non-modal dialog,
|
|
6761
|
+
* the modal state will be true, otherwise it will be undefined.
|
|
6762
|
+
*
|
|
6763
|
+
* @internal
|
|
6764
|
+
*/
|
|
6765
|
+
get dialogModal(): boolean | undefined;
|
|
6766
|
+
/**
|
|
6767
|
+
* The role of the dialog, which is determined by the `type` property. If the dialog is an alert dialog, the role will
|
|
6768
|
+
* be 'alertdialog', otherwise it will be undefined.
|
|
6769
|
+
*
|
|
6770
|
+
* @internal
|
|
6771
|
+
*/
|
|
6772
|
+
get dialogRole(): string | undefined;
|
|
6234
6773
|
connectedCallback(): void;
|
|
6235
6774
|
/**
|
|
6236
|
-
* @public
|
|
6237
6775
|
* Method to emit an event before the dialog's open state changes
|
|
6238
6776
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
6777
|
+
*
|
|
6778
|
+
* @public
|
|
6239
6779
|
*/
|
|
6240
|
-
emitBeforeToggle
|
|
6780
|
+
emitBeforeToggle(): void;
|
|
6241
6781
|
/**
|
|
6242
|
-
* @public
|
|
6243
6782
|
* Method to emit an event after the dialog's open state changes
|
|
6244
6783
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
6784
|
+
*
|
|
6785
|
+
* @public
|
|
6245
6786
|
*/
|
|
6246
6787
|
emitToggle: () => void;
|
|
6247
6788
|
/**
|
|
6248
|
-
* @public
|
|
6249
6789
|
* Method to show the dialog
|
|
6790
|
+
*
|
|
6791
|
+
* @public
|
|
6250
6792
|
*/
|
|
6251
6793
|
show(): void;
|
|
6252
6794
|
/**
|
|
6253
|
-
* @public
|
|
6254
6795
|
* Method to hide the dialog
|
|
6796
|
+
*
|
|
6797
|
+
* @public
|
|
6255
6798
|
*/
|
|
6256
6799
|
hide(): void;
|
|
6257
6800
|
/**
|
|
6258
|
-
* @public
|
|
6259
6801
|
* Handles click events on the dialog overlay for light-dismiss
|
|
6802
|
+
*
|
|
6803
|
+
* @public
|
|
6260
6804
|
* @param event - The click event
|
|
6261
6805
|
* @returns boolean
|
|
6262
6806
|
*/
|
|
@@ -6268,6 +6812,15 @@ export declare class Dialog extends FASTElement {
|
|
|
6268
6812
|
*
|
|
6269
6813
|
* @tag fluent-dialog-body
|
|
6270
6814
|
*
|
|
6815
|
+
* @slot title - Content for the dialog title.
|
|
6816
|
+
* @slot title-action - Content for actions shown near the title.
|
|
6817
|
+
* @slot close - Content for the close action.
|
|
6818
|
+
* @slot action - Content for footer actions.
|
|
6819
|
+
* @slot - Default dialog body content.
|
|
6820
|
+
* @csspart title - The title container.
|
|
6821
|
+
* @csspart content - The content container.
|
|
6822
|
+
* @csspart actions - The actions container.
|
|
6823
|
+
*
|
|
6271
6824
|
* @public
|
|
6272
6825
|
* @extends FASTElement
|
|
6273
6826
|
*/
|
|
@@ -6282,13 +6835,11 @@ export declare class DialogBody extends FASTElement {
|
|
|
6282
6835
|
}
|
|
6283
6836
|
|
|
6284
6837
|
/**
|
|
6285
|
-
* The
|
|
6838
|
+
* The definition for the `<fluent-dialog-body>` element.
|
|
6286
6839
|
*
|
|
6287
6840
|
* @public
|
|
6288
|
-
* @remarks
|
|
6289
|
-
* HTML Element: \<fluent-dialog-body\>
|
|
6290
6841
|
*/
|
|
6291
|
-
export declare const DialogBodyDefinition:
|
|
6842
|
+
export declare const DialogBodyDefinition: PartialFASTElementDefinition;
|
|
6292
6843
|
|
|
6293
6844
|
/** Dialog Body styles
|
|
6294
6845
|
* @public
|
|
@@ -6302,13 +6853,11 @@ export declare const DialogBodyStyles: ElementStyles;
|
|
|
6302
6853
|
export declare const DialogBodyTemplate: ElementViewTemplate;
|
|
6303
6854
|
|
|
6304
6855
|
/**
|
|
6305
|
-
* The
|
|
6856
|
+
* The definition for the `<fluent-dialog>` element.
|
|
6306
6857
|
*
|
|
6307
6858
|
* @public
|
|
6308
|
-
* @remarks
|
|
6309
|
-
* HTML Element: \<fluent-dialog\>
|
|
6310
6859
|
*/
|
|
6311
|
-
export declare const DialogDefinition:
|
|
6860
|
+
export declare const DialogDefinition: PartialFASTElementDefinition;
|
|
6312
6861
|
|
|
6313
6862
|
/** Dialog styles
|
|
6314
6863
|
* @public
|
|
@@ -6317,6 +6866,11 @@ export declare const DialogStyles: ElementStyles;
|
|
|
6317
6866
|
|
|
6318
6867
|
/**
|
|
6319
6868
|
* Template for the Dialog component
|
|
6869
|
+
*
|
|
6870
|
+
* Note: The empty `<div tabindex="-1">` element above the `<slot>` element is
|
|
6871
|
+
* for working around a dialog focus issue, learn more at
|
|
6872
|
+
* https://github.com/microsoft/fluentui/pull/36278
|
|
6873
|
+
*
|
|
6320
6874
|
* @public
|
|
6321
6875
|
*/
|
|
6322
6876
|
export declare const DialogTemplate: ElementViewTemplate<Dialog>;
|
|
@@ -6333,6 +6887,21 @@ export declare const DialogType: {
|
|
|
6333
6887
|
|
|
6334
6888
|
export declare type DialogType = ValuesOf<typeof DialogType>;
|
|
6335
6889
|
|
|
6890
|
+
/**
|
|
6891
|
+
* Expose ltr and rtl strings
|
|
6892
|
+
* @public
|
|
6893
|
+
*/
|
|
6894
|
+
export declare const Direction: {
|
|
6895
|
+
readonly ltr: "ltr";
|
|
6896
|
+
readonly rtl: "rtl";
|
|
6897
|
+
};
|
|
6898
|
+
|
|
6899
|
+
/**
|
|
6900
|
+
* The direction type
|
|
6901
|
+
* @public
|
|
6902
|
+
*/
|
|
6903
|
+
export declare type Direction = (typeof Direction)[keyof typeof Direction];
|
|
6904
|
+
|
|
6336
6905
|
/**
|
|
6337
6906
|
* Applies a CSS display property.
|
|
6338
6907
|
* Also adds CSS rules to not display the element when the [hidden] attribute is applied to the element.
|
|
@@ -6403,13 +6972,11 @@ export declare const DividerAppearance: {
|
|
|
6403
6972
|
export declare type DividerAppearance = ValuesOf<typeof DividerAppearance>;
|
|
6404
6973
|
|
|
6405
6974
|
/**
|
|
6406
|
-
* The
|
|
6975
|
+
* The definition for the `<fluent-divider>` element.
|
|
6407
6976
|
*
|
|
6408
6977
|
* @public
|
|
6409
|
-
* @remarks
|
|
6410
|
-
* HTML Element: \<fluent-divider\>
|
|
6411
6978
|
*/
|
|
6412
|
-
export declare const DividerDefinition:
|
|
6979
|
+
export declare const DividerDefinition: PartialFASTElementDefinition;
|
|
6413
6980
|
|
|
6414
6981
|
/**
|
|
6415
6982
|
* Divider orientation
|
|
@@ -6465,18 +7032,19 @@ export declare const DividerTemplate: ElementViewTemplate<Divider>;
|
|
|
6465
7032
|
*
|
|
6466
7033
|
* @extends FASTElement
|
|
6467
7034
|
*
|
|
6468
|
-
* @attr
|
|
6469
|
-
* @attr
|
|
6470
|
-
* @attr
|
|
6471
|
-
* @attr
|
|
6472
|
-
* @attr
|
|
7035
|
+
* @attr type - Determines whether the drawer should be displayed as modal, non-modal, or alert.
|
|
7036
|
+
* @attr position - Sets the position of the drawer (start/end).
|
|
7037
|
+
* @attr size - Sets the size of the drawer (small/medium/large).
|
|
7038
|
+
* @attr ariaDescribedby - The ID of the element that describes the drawer.
|
|
7039
|
+
* @attr ariaLabelledby - The ID of the element that labels the drawer.
|
|
6473
7040
|
*
|
|
6474
7041
|
* @csspart dialog - The dialog element of the drawer.
|
|
7042
|
+
* @cssprop --drawer-width - Sets the width of the drawer to a custom value (e.g., 300px).
|
|
6475
7043
|
*
|
|
6476
7044
|
* @slot - Default slot for the content of the drawer.
|
|
6477
7045
|
*
|
|
6478
|
-
* @fires toggle - Event emitted after the dialog's open state changes.
|
|
6479
|
-
* @fires beforetoggle - Event emitted before the dialog's open state changes.
|
|
7046
|
+
* @fires { ToggleEvent } toggle - Event emitted after the dialog's open state changes.
|
|
7047
|
+
* @fires { ToggleEvent } beforetoggle - Event emitted before the dialog's open state changes.
|
|
6480
7048
|
*
|
|
6481
7049
|
* @method show - Method to show the drawer.
|
|
6482
7050
|
* @method hide - Method to hide the drawer.
|
|
@@ -6486,34 +7054,35 @@ export declare const DividerTemplate: ElementViewTemplate<Divider>;
|
|
|
6486
7054
|
* @method emitBeforeToggle - Emits an event before the dialog's open state changes.
|
|
6487
7055
|
*
|
|
6488
7056
|
* @summary A component that provides a drawer for displaying content in a side panel.
|
|
6489
|
-
*
|
|
6490
|
-
* @tag fluent-drawer
|
|
6491
7057
|
*/
|
|
6492
7058
|
export declare class Drawer extends FASTElement {
|
|
6493
|
-
protected roleAttrObserver: MutationObserver;
|
|
6494
7059
|
/**
|
|
6495
|
-
* @public
|
|
6496
7060
|
* Determines whether the drawer should be displayed as modal or non-modal
|
|
6497
7061
|
* When rendered as a modal, an overlay is applied over the rest of the view.
|
|
7062
|
+
*
|
|
7063
|
+
* @public
|
|
6498
7064
|
*/
|
|
6499
7065
|
type: DrawerType;
|
|
6500
|
-
protected typeChanged(): void;
|
|
6501
7066
|
/**
|
|
6502
|
-
* @public
|
|
6503
7067
|
* The ID of the element that labels the drawer.
|
|
7068
|
+
*
|
|
7069
|
+
* @public
|
|
6504
7070
|
*/
|
|
6505
7071
|
ariaLabelledby?: string;
|
|
6506
7072
|
/**
|
|
6507
|
-
* @public
|
|
6508
7073
|
* The ID of the element that describes the drawer.
|
|
7074
|
+
*
|
|
7075
|
+
* @public
|
|
6509
7076
|
*/
|
|
6510
7077
|
ariaDescribedby?: string;
|
|
6511
|
-
/**
|
|
7078
|
+
/**
|
|
7079
|
+
* Sets the position of the drawer (start/end).
|
|
7080
|
+
*
|
|
6512
7081
|
* @public
|
|
6513
7082
|
* @defaultValue start
|
|
6514
|
-
* Sets the position of the drawer (start/end).
|
|
6515
7083
|
*/
|
|
6516
7084
|
position: DrawerPosition;
|
|
7085
|
+
role: string | null;
|
|
6517
7086
|
/**
|
|
6518
7087
|
* @public
|
|
6519
7088
|
* @defaultValue medium
|
|
@@ -6521,34 +7090,71 @@ export declare class Drawer extends FASTElement {
|
|
|
6521
7090
|
*/
|
|
6522
7091
|
size: DrawerSize;
|
|
6523
7092
|
/**
|
|
6524
|
-
* @public
|
|
6525
7093
|
* The dialog element.
|
|
6526
|
-
|
|
7094
|
+
*
|
|
7095
|
+
* @public
|
|
7096
|
+
*/
|
|
6527
7097
|
dialog: HTMLDialogElement;
|
|
6528
|
-
/**
|
|
7098
|
+
/**
|
|
7099
|
+
* The `aria-describedby` attribute value for the dialog, which is determined by the `ariaDescribedby` property. This
|
|
7100
|
+
* is used to ensure that the dialog's accessible description is properly announced by assistive technologies.
|
|
7101
|
+
*
|
|
7102
|
+
* @internal
|
|
7103
|
+
*/
|
|
7104
|
+
get dialogDescribedby(): string | undefined;
|
|
7105
|
+
/**
|
|
7106
|
+
* The `aria-label` attribute value for the dialog, which is determined by the `ariaLabel` property. This is used to
|
|
7107
|
+
* ensure that the dialog's accessible name is properly announced by assistive technologies.
|
|
7108
|
+
*
|
|
7109
|
+
* @internal
|
|
7110
|
+
*/
|
|
7111
|
+
get dialogLabel(): string | null | undefined;
|
|
7112
|
+
/**
|
|
7113
|
+
* The `aria-labelledby` attribute value for the dialog, which is determined by the `ariaLabelledby` property. This is
|
|
7114
|
+
* used to ensure that the dialog's accessible name is properly announced by assistive technologies.
|
|
7115
|
+
*
|
|
7116
|
+
* @internal
|
|
7117
|
+
*/
|
|
7118
|
+
get dialogLabelledby(): string | undefined;
|
|
7119
|
+
/**
|
|
7120
|
+
* The modal state of the dialog, which is determined by the `type` property. If the dialog is not a non-modal dialog,
|
|
7121
|
+
* the modal state will be true, otherwise it will be undefined.
|
|
7122
|
+
*
|
|
7123
|
+
* @internal
|
|
7124
|
+
*/
|
|
7125
|
+
get dialogModal(): boolean | undefined;
|
|
7126
|
+
/**
|
|
7127
|
+
* The role of the dialog, which is determined by the `type` property. If the dialog is an alert dialog, the role will
|
|
7128
|
+
* be 'alertdialog', otherwise it will be undefined.
|
|
7129
|
+
*
|
|
7130
|
+
* @internal
|
|
7131
|
+
*/
|
|
7132
|
+
get dialogRole(): string | null;
|
|
6529
7133
|
connectedCallback(): void;
|
|
6530
|
-
/** @internal */
|
|
6531
|
-
disconnectedCallback(): void;
|
|
6532
7134
|
/**
|
|
6533
|
-
* @public
|
|
6534
7135
|
* Method to emit an event after the dialog's open state changes
|
|
6535
7136
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
7137
|
+
*
|
|
7138
|
+
* @public
|
|
6536
7139
|
*/
|
|
6537
7140
|
emitToggle: () => void;
|
|
6538
7141
|
/**
|
|
6539
|
-
* @public
|
|
6540
7142
|
* Method to emit an event before the dialog's open state changes
|
|
6541
7143
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
7144
|
+
*
|
|
7145
|
+
* @public
|
|
6542
7146
|
*/
|
|
6543
7147
|
emitBeforeToggle: () => void;
|
|
6544
7148
|
/**
|
|
6545
|
-
* @public
|
|
6546
7149
|
* Method to show the drawer
|
|
7150
|
+
*
|
|
7151
|
+
* @public
|
|
6547
7152
|
*/
|
|
6548
7153
|
show(): void;
|
|
6549
7154
|
/**
|
|
6550
|
-
* @public
|
|
6551
7155
|
* Method to hide the drawer
|
|
7156
|
+
*
|
|
7157
|
+
* @public
|
|
6552
7158
|
*/
|
|
6553
7159
|
hide(): void;
|
|
6554
7160
|
/**
|
|
@@ -6559,12 +7165,11 @@ export declare class Drawer extends FASTElement {
|
|
|
6559
7165
|
*/
|
|
6560
7166
|
clickHandler(event: Event): boolean;
|
|
6561
7167
|
/**
|
|
6562
|
-
* @public
|
|
6563
7168
|
* Handles cancel events on the drawer.
|
|
7169
|
+
*
|
|
7170
|
+
* @public
|
|
6564
7171
|
*/
|
|
6565
7172
|
cancelHandler(): void;
|
|
6566
|
-
protected observeRoleAttr(): void;
|
|
6567
|
-
protected updateDialogRole(): void;
|
|
6568
7173
|
}
|
|
6569
7174
|
|
|
6570
7175
|
/**
|
|
@@ -6598,12 +7203,11 @@ export declare class DrawerBody extends FASTElement {
|
|
|
6598
7203
|
}
|
|
6599
7204
|
|
|
6600
7205
|
/**
|
|
7206
|
+
* The definition for the `<fluent-drawer-body>` element.
|
|
6601
7207
|
*
|
|
6602
7208
|
* @public
|
|
6603
|
-
* @remarks
|
|
6604
|
-
* HTML Element: <fluent-drawer>
|
|
6605
7209
|
*/
|
|
6606
|
-
export declare const DrawerBodyDefinition:
|
|
7210
|
+
export declare const DrawerBodyDefinition: PartialFASTElementDefinition;
|
|
6607
7211
|
|
|
6608
7212
|
/** Drawer styles
|
|
6609
7213
|
* @public
|
|
@@ -6613,12 +7217,11 @@ export declare const DrawerBodyStyles: ElementStyles;
|
|
|
6613
7217
|
export declare const DrawerBodyTemplate: ElementViewTemplate<DrawerBody>;
|
|
6614
7218
|
|
|
6615
7219
|
/**
|
|
7220
|
+
* The definition for the `<fluent-drawer>` element.
|
|
6616
7221
|
*
|
|
6617
7222
|
* @public
|
|
6618
|
-
* @remarks
|
|
6619
|
-
* HTML Element: <fluent-drawer>
|
|
6620
7223
|
*/
|
|
6621
|
-
export declare const DrawerDefinition:
|
|
7224
|
+
export declare const DrawerDefinition: PartialFASTElementDefinition;
|
|
6622
7225
|
|
|
6623
7226
|
/**
|
|
6624
7227
|
* A drawer can be positioned on the left or right side of the viewport.
|
|
@@ -6727,13 +7330,11 @@ export declare type DropdownAppearance = ValuesOf<typeof DropdownAppearance>;
|
|
|
6727
7330
|
export declare const dropdownButtonTemplate: ViewTemplate<BaseDropdown, any>;
|
|
6728
7331
|
|
|
6729
7332
|
/**
|
|
6730
|
-
* The
|
|
7333
|
+
* The definition for the `<fluent-dropdown>` element.
|
|
6731
7334
|
*
|
|
6732
7335
|
* @public
|
|
6733
|
-
* @remarks
|
|
6734
|
-
* HTML Element: `<fluent-dropdown>`
|
|
6735
7336
|
*/
|
|
6736
|
-
export declare const DropdownDefinition:
|
|
7337
|
+
export declare const DropdownDefinition: PartialFASTElementDefinition;
|
|
6737
7338
|
|
|
6738
7339
|
/**
|
|
6739
7340
|
* The template partial for the dropdown input element. This template is used when the `type` property is set to "combobox".
|
|
@@ -6753,8 +7354,11 @@ export declare const dropdownInputTemplate: ViewTemplate<BaseDropdown, any>;
|
|
|
6753
7354
|
* @tag fluent-dropdown-option
|
|
6754
7355
|
*
|
|
6755
7356
|
* @slot - The default slot for the option's content.
|
|
7357
|
+
* @slot start - Optional content shown at the start of the option.
|
|
6756
7358
|
* @slot checked-indicator - The checked indicator.
|
|
6757
7359
|
* @slot description - Optional description content.
|
|
7360
|
+
* @csspart content - The wrapper for the option content.
|
|
7361
|
+
* @csspart description - The wrapper for the option description.
|
|
6758
7362
|
*
|
|
6759
7363
|
* @remarks
|
|
6760
7364
|
* To support single and multiple selection modes with the {@link (BaseDropdown:class)} element, the Option element
|
|
@@ -7008,13 +7612,11 @@ export declare class DropdownOption extends FASTElement implements Start {
|
|
|
7008
7612
|
}
|
|
7009
7613
|
|
|
7010
7614
|
/**
|
|
7011
|
-
* The
|
|
7615
|
+
* The definition for the `<fluent-option>` element.
|
|
7012
7616
|
*
|
|
7013
7617
|
* @public
|
|
7014
|
-
* @remarks
|
|
7015
|
-
* HTML Element: `<fluent-option>`
|
|
7016
7618
|
*/
|
|
7017
|
-
export declare const DropdownOptionDefinition:
|
|
7619
|
+
export declare const DropdownOptionDefinition: PartialFASTElementDefinition;
|
|
7018
7620
|
|
|
7019
7621
|
/**
|
|
7020
7622
|
* The options for the {@link DropdownOption} component.
|
|
@@ -7164,6 +7766,13 @@ export declare function endSlotTemplate<TSource extends StartEnd = StartEnd, TPa
|
|
|
7164
7766
|
*
|
|
7165
7767
|
* @tag fluent-field
|
|
7166
7768
|
*
|
|
7769
|
+
* @slot label - Label content associated with the control.
|
|
7770
|
+
* @slot input - Input control content.
|
|
7771
|
+
* @slot message - Validation and helper message content.
|
|
7772
|
+
* @csspart label - The label slot container.
|
|
7773
|
+
* @csspart input - The input slot container.
|
|
7774
|
+
* @csspart message - The message slot container.
|
|
7775
|
+
*
|
|
7167
7776
|
* @public
|
|
7168
7777
|
*/
|
|
7169
7778
|
export declare class Field extends BaseField {
|
|
@@ -7178,13 +7787,11 @@ export declare class Field extends BaseField {
|
|
|
7178
7787
|
}
|
|
7179
7788
|
|
|
7180
7789
|
/**
|
|
7181
|
-
* The
|
|
7790
|
+
* The definition for the `<fluent-field>` element.
|
|
7182
7791
|
*
|
|
7183
7792
|
* @public
|
|
7184
|
-
* @remarks
|
|
7185
|
-
* HTML Element: `<fluent-field>`
|
|
7186
7793
|
*/
|
|
7187
|
-
export declare const FieldDefinition:
|
|
7794
|
+
export declare const FieldDefinition: PartialFASTElementDefinition;
|
|
7188
7795
|
|
|
7189
7796
|
/**
|
|
7190
7797
|
* Label position values
|
|
@@ -7320,12 +7927,6 @@ export declare const fontWeightRegular = "var(--fontWeightRegular)";
|
|
|
7320
7927
|
*/
|
|
7321
7928
|
export declare const fontWeightSemibold = "var(--fontWeightSemibold)";
|
|
7322
7929
|
|
|
7323
|
-
/**
|
|
7324
|
-
* This can be used to construct a behavior to apply a forced-colors only stylesheet.
|
|
7325
|
-
* @public
|
|
7326
|
-
*/
|
|
7327
|
-
export declare const forcedColorsStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
|
|
7328
|
-
|
|
7329
7930
|
/**
|
|
7330
7931
|
* Determines the current localization direction of an element.
|
|
7331
7932
|
*
|
|
@@ -7341,6 +7942,8 @@ export declare const getDirection: (rootNode: HTMLElement) => Direction;
|
|
|
7341
7942
|
*
|
|
7342
7943
|
* @tag fluent-image
|
|
7343
7944
|
*
|
|
7945
|
+
* @slot - The default slot. Accepts any `<img>`, `<picture>`, `<video>`, or `<canvas>` element.
|
|
7946
|
+
*
|
|
7344
7947
|
* @public
|
|
7345
7948
|
*/
|
|
7346
7949
|
declare class Image_2 extends FASTElement {
|
|
@@ -7388,13 +7991,11 @@ declare class Image_2 extends FASTElement {
|
|
|
7388
7991
|
export { Image_2 as Image }
|
|
7389
7992
|
|
|
7390
7993
|
/**
|
|
7391
|
-
* The
|
|
7994
|
+
* The definition for the `<fluent-image>` element.
|
|
7392
7995
|
*
|
|
7393
7996
|
* @public
|
|
7394
|
-
* @remarks
|
|
7395
|
-
* HTML Element: \<fluent-image\>
|
|
7396
7997
|
*/
|
|
7397
|
-
export declare const ImageDefinition:
|
|
7998
|
+
export declare const ImageDefinition: PartialFASTElementDefinition;
|
|
7398
7999
|
|
|
7399
8000
|
/**
|
|
7400
8001
|
* Image fit
|
|
@@ -7502,6 +8103,9 @@ export declare function isTreeItem(element?: Node | null, tagName?: string): ele
|
|
|
7502
8103
|
*
|
|
7503
8104
|
* @tag fluent-label
|
|
7504
8105
|
*
|
|
8106
|
+
* @slot - The default slot. Accepts the content of the label.
|
|
8107
|
+
* @csspart asterisk - The required-field asterisk indicator.
|
|
8108
|
+
*
|
|
7505
8109
|
* @public
|
|
7506
8110
|
*/
|
|
7507
8111
|
export declare class Label extends FASTElement {
|
|
@@ -7540,14 +8144,11 @@ export declare class Label extends FASTElement {
|
|
|
7540
8144
|
}
|
|
7541
8145
|
|
|
7542
8146
|
/**
|
|
7543
|
-
* The
|
|
7544
|
-
*
|
|
8147
|
+
* The definition for the `<fluent-label>` element.
|
|
7545
8148
|
*
|
|
7546
8149
|
* @public
|
|
7547
|
-
* @remarks
|
|
7548
|
-
* HTML Element: \<fluent-label\>
|
|
7549
8150
|
*/
|
|
7550
|
-
export declare const LabelDefinition:
|
|
8151
|
+
export declare const LabelDefinition: PartialFASTElementDefinition;
|
|
7551
8152
|
|
|
7552
8153
|
/**
|
|
7553
8154
|
* A Labels font size can be small, medium, or large
|
|
@@ -7585,12 +8186,6 @@ export declare const LabelWeight: {
|
|
|
7585
8186
|
*/
|
|
7586
8187
|
export declare type LabelWeight = ValuesOf<typeof LabelWeight>;
|
|
7587
8188
|
|
|
7588
|
-
/**
|
|
7589
|
-
* This can be used to construct a behavior to apply a prefers color scheme: light only stylesheet.
|
|
7590
|
-
* @public
|
|
7591
|
-
*/
|
|
7592
|
-
export declare const lightModeStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
|
|
7593
|
-
|
|
7594
8189
|
/**
|
|
7595
8190
|
* CSS custom property value for the {@link @fluentui/tokens#lineHeightBase100 | `lineHeightBase100`} design token.
|
|
7596
8191
|
* @public
|
|
@@ -7700,11 +8295,11 @@ export declare const LinkAppearance: {
|
|
|
7700
8295
|
export declare type LinkAppearance = ValuesOf<typeof LinkAppearance>;
|
|
7701
8296
|
|
|
7702
8297
|
/**
|
|
8298
|
+
* The definition for the `<fluent-link>` element.
|
|
8299
|
+
*
|
|
7703
8300
|
* @public
|
|
7704
|
-
* @remarks
|
|
7705
|
-
* HTML Element: \<fluent-link\>
|
|
7706
8301
|
*/
|
|
7707
|
-
export declare const LinkDefinition:
|
|
8302
|
+
export declare const LinkDefinition: PartialFASTElementDefinition;
|
|
7708
8303
|
|
|
7709
8304
|
export declare const LinkStyles: ElementStyles;
|
|
7710
8305
|
|
|
@@ -7749,14 +8344,18 @@ export declare const LinkTemplate: ElementViewTemplate<Link>;
|
|
|
7749
8344
|
*/
|
|
7750
8345
|
export declare class Listbox extends FASTElement {
|
|
7751
8346
|
/**
|
|
7752
|
-
*
|
|
8347
|
+
* A reference to the default slot element.
|
|
7753
8348
|
*
|
|
7754
|
-
* @
|
|
7755
|
-
* @public
|
|
7756
|
-
* @remarks
|
|
7757
|
-
* HTML Attribute: `id`
|
|
8349
|
+
* @internal
|
|
7758
8350
|
*/
|
|
7759
|
-
|
|
8351
|
+
defaultSlot: HTMLSlotElement;
|
|
8352
|
+
/**
|
|
8353
|
+
* Calls the `slotchangeHandler` when the `defaultSlot` element is assigned
|
|
8354
|
+
* via the `ref` directive in the template.
|
|
8355
|
+
*
|
|
8356
|
+
* @internal
|
|
8357
|
+
*/
|
|
8358
|
+
protected defaultSlotChanged(): void;
|
|
7760
8359
|
/**
|
|
7761
8360
|
* Indicates whether the listbox allows multiple selection.
|
|
7762
8361
|
*
|
|
@@ -7829,6 +8428,7 @@ export declare class Listbox extends FASTElement {
|
|
|
7829
8428
|
*/
|
|
7830
8429
|
clickHandler(e: PointerEvent): boolean | void;
|
|
7831
8430
|
constructor();
|
|
8431
|
+
connectedCallback(): void;
|
|
7832
8432
|
/**
|
|
7833
8433
|
* Handles observable subscriptions for the listbox.
|
|
7834
8434
|
*
|
|
@@ -7852,17 +8452,15 @@ export declare class Listbox extends FASTElement {
|
|
|
7852
8452
|
* @param e - The slotchange event
|
|
7853
8453
|
* @public
|
|
7854
8454
|
*/
|
|
7855
|
-
slotchangeHandler(e
|
|
8455
|
+
slotchangeHandler(e?: Event): void;
|
|
7856
8456
|
}
|
|
7857
8457
|
|
|
7858
8458
|
/**
|
|
7859
|
-
* The
|
|
8459
|
+
* The definition for the `<fluent-listbox>` element.
|
|
7860
8460
|
*
|
|
7861
8461
|
* @public
|
|
7862
|
-
* @remarks
|
|
7863
|
-
* HTML Element: `<fluent-listbox>`
|
|
7864
8462
|
*/
|
|
7865
|
-
export declare const ListboxDefinition:
|
|
8463
|
+
export declare const ListboxDefinition: PartialFASTElementDefinition;
|
|
7866
8464
|
|
|
7867
8465
|
/**
|
|
7868
8466
|
* Styles for the {@link (Listbox:class)} component.
|
|
@@ -7887,117 +8485,6 @@ export declare const ListboxTemplate: ElementViewTemplate<Listbox>;
|
|
|
7887
8485
|
*/
|
|
7888
8486
|
export declare function listboxTemplate<T extends Listbox>(): ElementViewTemplate<T>;
|
|
7889
8487
|
|
|
7890
|
-
/**
|
|
7891
|
-
* An abstract behavior to react to media queries. Implementations should implement
|
|
7892
|
-
* the `constructListener` method to perform some action based on media query changes.
|
|
7893
|
-
*
|
|
7894
|
-
* @public
|
|
7895
|
-
*/
|
|
7896
|
-
export declare abstract class MatchMediaBehavior implements HostBehavior {
|
|
7897
|
-
/**
|
|
7898
|
-
* The behavior needs to operate on element instances but elements might share a behavior instance.
|
|
7899
|
-
* To ensure proper attachment / detachment per instance, we construct a listener for
|
|
7900
|
-
* each bind invocation and cache the listeners by element reference.
|
|
7901
|
-
*/
|
|
7902
|
-
private listenerCache;
|
|
7903
|
-
/**
|
|
7904
|
-
* The media query that the behavior operates on.
|
|
7905
|
-
*/
|
|
7906
|
-
readonly query: MediaQueryList;
|
|
7907
|
-
/**
|
|
7908
|
-
*
|
|
7909
|
-
* @param query - The media query to operate from.
|
|
7910
|
-
*/
|
|
7911
|
-
constructor(query: MediaQueryList);
|
|
7912
|
-
/**
|
|
7913
|
-
* Constructs a function that will be invoked with the MediaQueryList context
|
|
7914
|
-
* @param controller - The host controller orchestrating this behavior.
|
|
7915
|
-
*/
|
|
7916
|
-
protected abstract constructListener(controller: HostController): MediaQueryListListener;
|
|
7917
|
-
/**
|
|
7918
|
-
* Binds the behavior to the element.
|
|
7919
|
-
* @param controller - The host controller orchestrating this behavior.
|
|
7920
|
-
*/
|
|
7921
|
-
connectedCallback(controller: HostController): void;
|
|
7922
|
-
/**
|
|
7923
|
-
* Unbinds the behavior from the element.
|
|
7924
|
-
* @param controller - The host controller orchestrating this behavior.
|
|
7925
|
-
*/
|
|
7926
|
-
disconnectedCallback(controller: HostController): void;
|
|
7927
|
-
}
|
|
7928
|
-
|
|
7929
|
-
/**
|
|
7930
|
-
* A behavior to add or remove a stylesheet from an element based on a media query. The behavior ensures that
|
|
7931
|
-
* styles are applied while the a query matches the environment and that styles are not applied if the query does
|
|
7932
|
-
* not match the environment.
|
|
7933
|
-
*
|
|
7934
|
-
* @public
|
|
7935
|
-
*/
|
|
7936
|
-
export declare class MatchMediaStyleSheetBehavior extends MatchMediaBehavior {
|
|
7937
|
-
/**
|
|
7938
|
-
* The media query that the behavior operates on.
|
|
7939
|
-
*/
|
|
7940
|
-
readonly query: MediaQueryList;
|
|
7941
|
-
/**
|
|
7942
|
-
* The styles object to be managed by the behavior.
|
|
7943
|
-
*/
|
|
7944
|
-
readonly styles: ElementStyles;
|
|
7945
|
-
/**
|
|
7946
|
-
* Constructs a {@link MatchMediaStyleSheetBehavior} instance.
|
|
7947
|
-
* @param query - The media query to operate from.
|
|
7948
|
-
* @param styles - The styles to coordinate with the query.
|
|
7949
|
-
*/
|
|
7950
|
-
constructor(query: MediaQueryList, styles: ElementStyles);
|
|
7951
|
-
/**
|
|
7952
|
-
* Defines a function to construct {@link MatchMediaStyleSheetBehavior | MatchMediaStyleSheetBehaviors} for
|
|
7953
|
-
* a provided query.
|
|
7954
|
-
* @param query - The media query to operate from.
|
|
7955
|
-
*
|
|
7956
|
-
* @public
|
|
7957
|
-
* @example
|
|
7958
|
-
*
|
|
7959
|
-
* ```ts
|
|
7960
|
-
* import { css } from "@microsoft/fast-element";
|
|
7961
|
-
* import { MatchMediaStyleSheetBehavior } from "@fluentui/web-components";
|
|
7962
|
-
*
|
|
7963
|
-
* const landscapeBehavior = MatchMediaStyleSheetBehavior.with(
|
|
7964
|
-
* window.matchMedia("(orientation: landscape)")
|
|
7965
|
-
* );
|
|
7966
|
-
*
|
|
7967
|
-
* const styles = css`
|
|
7968
|
-
* :host {
|
|
7969
|
-
* width: 200px;
|
|
7970
|
-
* height: 400px;
|
|
7971
|
-
* }
|
|
7972
|
-
* `
|
|
7973
|
-
* .withBehaviors(landscapeBehavior(css`
|
|
7974
|
-
* :host {
|
|
7975
|
-
* width: 400px;
|
|
7976
|
-
* height: 200px;
|
|
7977
|
-
* }
|
|
7978
|
-
* `))
|
|
7979
|
-
* ```
|
|
7980
|
-
*/
|
|
7981
|
-
static with(query: MediaQueryList): (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
|
|
7982
|
-
/**
|
|
7983
|
-
* Constructs a match-media listener for a provided element.
|
|
7984
|
-
* @param source - the element for which to attach or detach styles.
|
|
7985
|
-
*/
|
|
7986
|
-
protected constructListener(controller: HostController): MediaQueryListListener;
|
|
7987
|
-
/**
|
|
7988
|
-
* Unbinds the behavior from the element.
|
|
7989
|
-
* @param controller - The host controller orchestrating this behavior.
|
|
7990
|
-
* @internal
|
|
7991
|
-
*/
|
|
7992
|
-
removedCallback(controller: HostController<any>): void;
|
|
7993
|
-
}
|
|
7994
|
-
|
|
7995
|
-
/**
|
|
7996
|
-
* An event listener fired by a {@link https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList | MediaQueryList }.
|
|
7997
|
-
* @public
|
|
7998
|
-
*/
|
|
7999
|
-
export declare type MediaQueryListListener = (this: MediaQueryList, ev?: MediaQueryListEvent) => void;
|
|
8000
|
-
|
|
8001
8488
|
/**
|
|
8002
8489
|
* A Menu component that provides a customizable menu element.
|
|
8003
8490
|
*
|
|
@@ -8072,12 +8559,28 @@ export declare class Menu extends FASTElement {
|
|
|
8072
8559
|
* Holds the slotted menu list.
|
|
8073
8560
|
* @public
|
|
8074
8561
|
*/
|
|
8075
|
-
slottedMenuList:
|
|
8562
|
+
slottedMenuList: HTMLElement[];
|
|
8563
|
+
/**
|
|
8564
|
+
* Sets up the component when the slotted menu list changes.
|
|
8565
|
+
* @param prev - The previous items in the slotted menu list.
|
|
8566
|
+
* @param next - The new items in the slotted menu list.
|
|
8567
|
+
* @internal
|
|
8568
|
+
*/
|
|
8569
|
+
slottedMenuListChanged(prev: HTMLElement[] | undefined, next: HTMLElement[] | undefined): void;
|
|
8076
8570
|
/**
|
|
8077
8571
|
* Holds the slotted triggers.
|
|
8078
8572
|
* @public
|
|
8079
8573
|
*/
|
|
8080
8574
|
slottedTriggers: HTMLElement[];
|
|
8575
|
+
/**
|
|
8576
|
+
* Ensures the trigger is properly set up when the slotted triggers change.
|
|
8577
|
+
* This includes setting ARIA attributes and adding event listeners based on the current property values.
|
|
8578
|
+
*
|
|
8579
|
+
* @param prev - The previous items in the slotted triggers list.
|
|
8580
|
+
* @param next - The current items in the slotted triggers list.
|
|
8581
|
+
* @internal
|
|
8582
|
+
*/
|
|
8583
|
+
slottedTriggersChanged(prev: HTMLElement[] | undefined, next: HTMLElement[] | undefined): void;
|
|
8081
8584
|
/**
|
|
8082
8585
|
* Holds the primary slot element.
|
|
8083
8586
|
* @public
|
|
@@ -8087,17 +8590,25 @@ export declare class Menu extends FASTElement {
|
|
|
8087
8590
|
* Defines whether the menu is open or not.
|
|
8088
8591
|
* @internal
|
|
8089
8592
|
*/
|
|
8090
|
-
|
|
8593
|
+
protected _open: boolean;
|
|
8091
8594
|
/**
|
|
8092
8595
|
* The trigger element of the menu.
|
|
8093
8596
|
* @internal
|
|
8094
8597
|
*/
|
|
8095
|
-
|
|
8598
|
+
protected _trigger?: HTMLElement;
|
|
8096
8599
|
/**
|
|
8097
8600
|
* The menu list element of the menu which has the popover behavior.
|
|
8098
8601
|
* @internal
|
|
8099
8602
|
*/
|
|
8100
|
-
|
|
8603
|
+
protected _menuList?: HTMLElement;
|
|
8604
|
+
/**
|
|
8605
|
+
* @internal
|
|
8606
|
+
*/
|
|
8607
|
+
protected _triggerAbortController?: AbortController;
|
|
8608
|
+
/**
|
|
8609
|
+
* @internal
|
|
8610
|
+
*/
|
|
8611
|
+
protected _menuListAbortController?: AbortController;
|
|
8101
8612
|
/**
|
|
8102
8613
|
* Called when the element is connected to the DOM.
|
|
8103
8614
|
* Sets up the component.
|
|
@@ -8112,7 +8623,8 @@ export declare class Menu extends FASTElement {
|
|
|
8112
8623
|
disconnectedCallback(): void;
|
|
8113
8624
|
/**
|
|
8114
8625
|
* Sets the component.
|
|
8115
|
-
*
|
|
8626
|
+
* @deprecated This method is no longer used. Trigger and menu-list listeners are now
|
|
8627
|
+
* managed by their respective slot-changed callbacks.
|
|
8116
8628
|
* @public
|
|
8117
8629
|
*/
|
|
8118
8630
|
setComponent(): void;
|
|
@@ -8182,23 +8694,15 @@ export declare class Menu extends FASTElement {
|
|
|
8182
8694
|
*/
|
|
8183
8695
|
closeOnScrollChanged(oldValue: boolean, newValue: boolean): void;
|
|
8184
8696
|
/**
|
|
8185
|
-
* Adds event listeners.
|
|
8186
|
-
* Adds click and keydown event listeners to the trigger.
|
|
8187
|
-
* Adds a 'toggle' event listener to the menu list.
|
|
8188
|
-
* If 'openOnHover' is true, adds a 'mouseover' event listener to the trigger.
|
|
8189
|
-
* If 'openOnContext' is true, adds a 'contextmenu' event listener to the trigger and a document 'click' event listener.
|
|
8697
|
+
* Adds trigger-related event listeners.
|
|
8190
8698
|
* @internal
|
|
8191
8699
|
*/
|
|
8192
|
-
|
|
8700
|
+
protected addTriggerListeners(): void;
|
|
8193
8701
|
/**
|
|
8194
|
-
*
|
|
8195
|
-
* Removes click and keydown event listeners from the trigger.
|
|
8196
|
-
* Also removes toggle event listener from the menu list.
|
|
8197
|
-
* Also removes 'mouseover' event listeners from the trigger.
|
|
8198
|
-
* Also removes 'contextmenu' event listeners from the trigger and document 'click' event listeners.
|
|
8702
|
+
* Adds menu-list event listeners.
|
|
8199
8703
|
* @internal
|
|
8200
8704
|
*/
|
|
8201
|
-
|
|
8705
|
+
protected addMenuListListeners(): void;
|
|
8202
8706
|
/**
|
|
8203
8707
|
* Handles keyboard interaction for the menu. Closes the menu and focuses on the trigger when the Escape key is
|
|
8204
8708
|
* pressed. Closes the menu when the Tab key is pressed.
|
|
@@ -8220,7 +8724,7 @@ export declare class Menu extends FASTElement {
|
|
|
8220
8724
|
* @internal
|
|
8221
8725
|
* @param e - The event triggered on document click.
|
|
8222
8726
|
*/
|
|
8223
|
-
|
|
8727
|
+
protected documentClickHandler: (e: any) => void;
|
|
8224
8728
|
}
|
|
8225
8729
|
|
|
8226
8730
|
/**
|
|
@@ -8251,11 +8755,11 @@ export declare const MenuButtonAppearance: {
|
|
|
8251
8755
|
export declare type MenuButtonAppearance = ValuesOf<typeof MenuButtonAppearance>;
|
|
8252
8756
|
|
|
8253
8757
|
/**
|
|
8758
|
+
* The definition for the `<fluent-menu-button>` element.
|
|
8759
|
+
*
|
|
8254
8760
|
* @public
|
|
8255
|
-
* @remarks
|
|
8256
|
-
* HTML Element: \<fluent-button\>
|
|
8257
8761
|
*/
|
|
8258
|
-
export declare const MenuButtonDefinition:
|
|
8762
|
+
export declare const MenuButtonDefinition: PartialFASTElementDefinition;
|
|
8259
8763
|
|
|
8260
8764
|
/**
|
|
8261
8765
|
* A Menu Button can be square, circular or rounded.
|
|
@@ -8296,13 +8800,11 @@ export declare type MenuButtonSize = ValuesOf<typeof MenuButtonSize>;
|
|
|
8296
8800
|
export declare const MenuButtonTemplate: ElementViewTemplate<MenuButton>;
|
|
8297
8801
|
|
|
8298
8802
|
/**
|
|
8299
|
-
* The
|
|
8803
|
+
* The definition for the `<fluent-menu>` element.
|
|
8300
8804
|
*
|
|
8301
8805
|
* @public
|
|
8302
|
-
* @remarks
|
|
8303
|
-
* HTML Element: <fluent-menu>
|
|
8304
8806
|
*/
|
|
8305
|
-
export declare const MenuDefinition:
|
|
8807
|
+
export declare const MenuDefinition: PartialFASTElementDefinition;
|
|
8306
8808
|
|
|
8307
8809
|
/**
|
|
8308
8810
|
* A Switch Custom HTML Element.
|
|
@@ -8317,7 +8819,7 @@ export declare const MenuDefinition: FASTElementDefinition<typeof Menu>;
|
|
|
8317
8819
|
* @slot submenu-glyph - The submenu expand/collapse indicator
|
|
8318
8820
|
* @slot submenu - Used to nest menu's within menu items
|
|
8319
8821
|
* @csspart content - The element wrapping the menu item content
|
|
8320
|
-
* @fires change - Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked
|
|
8822
|
+
* @fires { Event } change - Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked
|
|
8321
8823
|
*
|
|
8322
8824
|
* @public
|
|
8323
8825
|
*/
|
|
@@ -8415,7 +8917,9 @@ export declare class MenuItem extends FASTElement {
|
|
|
8415
8917
|
* Setup required ARIA on open/close
|
|
8416
8918
|
* @internal
|
|
8417
8919
|
*/
|
|
8418
|
-
|
|
8920
|
+
handleToggle: (e: Event) => void;
|
|
8921
|
+
/** @internal */
|
|
8922
|
+
handleSubmenuFocusOut: (e: FocusEvent) => void;
|
|
8419
8923
|
/**
|
|
8420
8924
|
* @internal
|
|
8421
8925
|
*/
|
|
@@ -8439,11 +8943,11 @@ export declare interface MenuItem extends StartEnd {
|
|
|
8439
8943
|
export declare type MenuItemColumnCount = 0 | 1 | 2;
|
|
8440
8944
|
|
|
8441
8945
|
/**
|
|
8946
|
+
* The definition for the `<fluent-menu-item>` element.
|
|
8947
|
+
*
|
|
8442
8948
|
* @public
|
|
8443
|
-
* @remarks
|
|
8444
|
-
* HTML Element: <fluent-menu-item>
|
|
8445
8949
|
*/
|
|
8446
|
-
export declare const MenuItemDefinition:
|
|
8950
|
+
export declare const MenuItemDefinition: PartialFASTElementDefinition;
|
|
8447
8951
|
|
|
8448
8952
|
/**
|
|
8449
8953
|
* Menu Item configuration options
|
|
@@ -8487,7 +8991,7 @@ export declare const MenuItemStyles: ElementStyles;
|
|
|
8487
8991
|
export declare const MenuItemTemplate: ElementViewTemplate<MenuItem>;
|
|
8488
8992
|
|
|
8489
8993
|
/**
|
|
8490
|
-
* A
|
|
8994
|
+
* A MenuList Custom HTML Element.
|
|
8491
8995
|
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#menu | ARIA menu }.
|
|
8492
8996
|
*
|
|
8493
8997
|
* @tag fluent-menu-list
|
|
@@ -8496,82 +9000,19 @@ export declare const MenuItemTemplate: ElementViewTemplate<MenuItem>;
|
|
|
8496
9000
|
*
|
|
8497
9001
|
* @public
|
|
8498
9002
|
*/
|
|
8499
|
-
export declare class MenuList extends
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
*
|
|
8503
|
-
* @internal
|
|
8504
|
-
*/
|
|
8505
|
-
elementInternals: ElementInternals;
|
|
8506
|
-
/**
|
|
8507
|
-
* @internal
|
|
8508
|
-
*/
|
|
8509
|
-
items: HTMLElement[];
|
|
8510
|
-
protected itemsChanged(oldValue: HTMLElement[], newValue: HTMLElement[]): void;
|
|
8511
|
-
protected menuItems: Element[] | undefined;
|
|
8512
|
-
/**
|
|
8513
|
-
* The index of the focusable element in the items array
|
|
8514
|
-
* defaults to -1
|
|
8515
|
-
*/
|
|
8516
|
-
private focusIndex;
|
|
8517
|
-
private static focusableElementRoles;
|
|
8518
|
-
constructor();
|
|
8519
|
-
/**
|
|
8520
|
-
* @internal
|
|
8521
|
-
*/
|
|
8522
|
-
connectedCallback(): void;
|
|
8523
|
-
/**
|
|
8524
|
-
* @internal
|
|
8525
|
-
*/
|
|
9003
|
+
export declare class MenuList extends BaseMenuList {
|
|
9004
|
+
private fg?;
|
|
9005
|
+
private fgItems?;
|
|
8526
9006
|
disconnectedCallback(): void;
|
|
8527
|
-
|
|
8528
|
-
* @internal
|
|
8529
|
-
*/
|
|
8530
|
-
readonly isNestedMenu: () => boolean;
|
|
8531
|
-
/**
|
|
8532
|
-
* Focuses the first item in the menu.
|
|
8533
|
-
*
|
|
8534
|
-
* @public
|
|
8535
|
-
*/
|
|
8536
|
-
focus(): void;
|
|
8537
|
-
/**
|
|
8538
|
-
* @internal
|
|
8539
|
-
*/
|
|
8540
|
-
handleMenuKeyDown(e: KeyboardEvent): void | boolean;
|
|
8541
|
-
/**
|
|
8542
|
-
* if focus is moving out of the menu, reset to a stable initial state
|
|
8543
|
-
* @internal
|
|
8544
|
-
*/
|
|
8545
|
-
handleFocusOut: (e: FocusEvent) => void;
|
|
8546
|
-
private handleItemFocus;
|
|
8547
|
-
private removeItemListeners;
|
|
8548
|
-
private static elementIndent;
|
|
8549
|
-
protected setItems(): void;
|
|
8550
|
-
/**
|
|
8551
|
-
* Method for Observable changes to the hidden attribute of child elements
|
|
8552
|
-
*/
|
|
8553
|
-
handleChange(source: any, propertyName: string): void;
|
|
8554
|
-
/**
|
|
8555
|
-
* Handle change from child MenuItem element and set radio group behavior
|
|
8556
|
-
*/
|
|
8557
|
-
private changedMenuItemHandler;
|
|
8558
|
-
/**
|
|
8559
|
-
* check if the item is a menu item
|
|
8560
|
-
*/
|
|
8561
|
-
protected isMenuItemElement: (el: Element) => el is HTMLElement;
|
|
8562
|
-
/**
|
|
8563
|
-
* check if the item is focusable
|
|
8564
|
-
*/
|
|
8565
|
-
private isFocusableElement;
|
|
8566
|
-
private setFocus;
|
|
9007
|
+
setItems(): void;
|
|
8567
9008
|
}
|
|
8568
9009
|
|
|
8569
9010
|
/**
|
|
9011
|
+
* The definition for the `<fluent-menu-list>` element.
|
|
9012
|
+
*
|
|
8570
9013
|
* @public
|
|
8571
|
-
* @remarks
|
|
8572
|
-
* HTML Element: <fluent-menu-list>
|
|
8573
9014
|
*/
|
|
8574
|
-
export declare const MenuListDefinition:
|
|
9015
|
+
export declare const MenuListDefinition: PartialFASTElementDefinition;
|
|
8575
9016
|
|
|
8576
9017
|
/** MenuList styles
|
|
8577
9018
|
* @public
|
|
@@ -8594,7 +9035,9 @@ export declare const MenuTemplate: ElementViewTemplate<Menu>;
|
|
|
8594
9035
|
*
|
|
8595
9036
|
* @slot actions - Content that can be provided for the actions
|
|
8596
9037
|
* @slot dismiss - Content that can be provided for the dismiss button
|
|
9038
|
+
* @slot icon - Content that can be provided for the leading icon
|
|
8597
9039
|
* @slot - The default slot for the content
|
|
9040
|
+
* @fires { CustomEvent } dismiss - Fired when the message bar is dismissed.
|
|
8598
9041
|
* @public
|
|
8599
9042
|
*/
|
|
8600
9043
|
export declare class MessageBar extends FASTElement {
|
|
@@ -8630,24 +9073,24 @@ export declare class MessageBar extends FASTElement {
|
|
|
8630
9073
|
*/
|
|
8631
9074
|
intent?: MessageBarIntent;
|
|
8632
9075
|
/**
|
|
8633
|
-
* @public
|
|
8634
9076
|
* Method to emit a `dismiss` event when the message bar is dismissed
|
|
9077
|
+
*
|
|
9078
|
+
* @public
|
|
8635
9079
|
*/
|
|
8636
9080
|
dismissMessageBar: () => void;
|
|
8637
9081
|
}
|
|
8638
9082
|
|
|
8639
9083
|
/**
|
|
8640
|
-
* The
|
|
9084
|
+
* The definition for the `<fluent-message-bar>` element.
|
|
8641
9085
|
*
|
|
8642
9086
|
* @public
|
|
8643
|
-
* @remarks
|
|
8644
|
-
* HTML Element: `<fluent-message-bar>`
|
|
8645
9087
|
*/
|
|
8646
|
-
export declare const MessageBarDefinition:
|
|
9088
|
+
export declare const MessageBarDefinition: PartialFASTElementDefinition;
|
|
8647
9089
|
|
|
8648
9090
|
/**
|
|
8649
|
-
* @public
|
|
8650
9091
|
* The `intent` variations for the MessageBar component.
|
|
9092
|
+
*
|
|
9093
|
+
* @public
|
|
8651
9094
|
*/
|
|
8652
9095
|
export declare const MessageBarIntent: {
|
|
8653
9096
|
readonly success: "success";
|
|
@@ -8659,8 +9102,9 @@ export declare const MessageBarIntent: {
|
|
|
8659
9102
|
export declare type MessageBarIntent = ValuesOf<typeof MessageBarIntent>;
|
|
8660
9103
|
|
|
8661
9104
|
/**
|
|
8662
|
-
* @public
|
|
8663
9105
|
* The `layout` variations for the MessageBar component.
|
|
9106
|
+
*
|
|
9107
|
+
* @public
|
|
8664
9108
|
*/
|
|
8665
9109
|
export declare const MessageBarLayout: {
|
|
8666
9110
|
readonly multiline: "multiline";
|
|
@@ -8670,8 +9114,9 @@ export declare const MessageBarLayout: {
|
|
|
8670
9114
|
export declare type MessageBarLayout = ValuesOf<typeof MessageBarLayout>;
|
|
8671
9115
|
|
|
8672
9116
|
/**
|
|
8673
|
-
* @public
|
|
8674
9117
|
* The `shape` variations for the MessageBar component.
|
|
9118
|
+
*
|
|
9119
|
+
* @public
|
|
8675
9120
|
*/
|
|
8676
9121
|
export declare const MessageBarShape: {
|
|
8677
9122
|
readonly rounded: "rounded";
|
|
@@ -8689,15 +9134,31 @@ export declare const MessageBarStyles: ElementStyles;
|
|
|
8689
9134
|
|
|
8690
9135
|
/**
|
|
8691
9136
|
* The template for the MessageBar component.
|
|
8692
|
-
* @type
|
|
9137
|
+
* @type ElementViewTemplate
|
|
8693
9138
|
*/
|
|
8694
9139
|
export declare const MessageBarTemplate: ElementViewTemplate<MessageBar>;
|
|
8695
9140
|
|
|
9141
|
+
/**
|
|
9142
|
+
* Standard orientation values
|
|
9143
|
+
* @public
|
|
9144
|
+
*/
|
|
9145
|
+
export declare const Orientation: {
|
|
9146
|
+
readonly horizontal: "horizontal";
|
|
9147
|
+
readonly vertical: "vertical";
|
|
9148
|
+
};
|
|
9149
|
+
|
|
9150
|
+
/**
|
|
9151
|
+
* The orientation type
|
|
9152
|
+
* @public
|
|
9153
|
+
*/
|
|
9154
|
+
export declare type Orientation = (typeof Orientation)[keyof typeof Orientation];
|
|
9155
|
+
|
|
8696
9156
|
/**
|
|
8697
9157
|
* A Progress HTML Element.
|
|
8698
9158
|
* Based on BaseProgressBar and includes style and layout specific attributes
|
|
8699
9159
|
*
|
|
8700
9160
|
* @tag fluent-progress-bar
|
|
9161
|
+
* @csspart indicator - The internal progress indicator element.
|
|
8701
9162
|
*
|
|
8702
9163
|
* @public
|
|
8703
9164
|
*/
|
|
@@ -8705,27 +9166,30 @@ export declare class ProgressBar extends BaseProgressBar {
|
|
|
8705
9166
|
/**
|
|
8706
9167
|
* The thickness of the progress bar
|
|
8707
9168
|
*
|
|
8708
|
-
*
|
|
9169
|
+
* The thickness of the progress bar
|
|
9170
|
+
*
|
|
8709
9171
|
* HTML Attribute: `thickness`
|
|
9172
|
+
*
|
|
9173
|
+
* @public
|
|
8710
9174
|
*/
|
|
8711
9175
|
thickness?: ProgressBarThickness;
|
|
8712
9176
|
/**
|
|
8713
9177
|
* The shape of the progress bar
|
|
8714
|
-
*
|
|
9178
|
+
* The shape of the progress bar
|
|
9179
|
+
*
|
|
8715
9180
|
* HTML Attribute: `shape`
|
|
9181
|
+
*
|
|
9182
|
+
* @public
|
|
8716
9183
|
*/
|
|
8717
9184
|
shape?: ProgressBarShape;
|
|
8718
9185
|
}
|
|
8719
9186
|
|
|
8720
9187
|
/**
|
|
8721
|
-
* The
|
|
8722
|
-
*
|
|
9188
|
+
* The definition for the `<fluent-progress-bar>` element.
|
|
8723
9189
|
*
|
|
8724
9190
|
* @public
|
|
8725
|
-
* @remarks
|
|
8726
|
-
* HTML Element: \<fluent-progress-bar\>
|
|
8727
9191
|
*/
|
|
8728
|
-
export declare const ProgressBarDefinition:
|
|
9192
|
+
export declare const ProgressBarDefinition: PartialFASTElementDefinition;
|
|
8729
9193
|
|
|
8730
9194
|
/**
|
|
8731
9195
|
* ProgressBarShape Constants
|
|
@@ -8789,8 +9253,9 @@ declare type PropertyNameForCalculation = 'max' | 'value';
|
|
|
8789
9253
|
* @tag fluent-radio
|
|
8790
9254
|
*
|
|
8791
9255
|
* @slot checked-indicator - The checked indicator slot
|
|
8792
|
-
* @fires change - Emits a custom change event when the checked state changes
|
|
8793
|
-
* @fires input - Emits a custom input event when the checked state changes
|
|
9256
|
+
* @fires {Event} change - Emits a custom change event when the checked state changes
|
|
9257
|
+
* @fires {Event} input - Emits a custom input event when the checked state changes
|
|
9258
|
+
* @fires {CustomEvent} disabled - Emits a custom disabled event when the disabled state changes
|
|
8794
9259
|
*
|
|
8795
9260
|
* @public
|
|
8796
9261
|
*/
|
|
@@ -8811,7 +9276,7 @@ export declare class Radio extends BaseCheckbox {
|
|
|
8811
9276
|
* @internal
|
|
8812
9277
|
* @override
|
|
8813
9278
|
* @remarks
|
|
8814
|
-
* To make a group of radio controls required, see
|
|
9279
|
+
* To make a group of radio controls required, see `RadioGroup.required`.
|
|
8815
9280
|
*/
|
|
8816
9281
|
protected requiredChanged(): void;
|
|
8817
9282
|
/**
|
|
@@ -8824,331 +9289,62 @@ export declare class Radio extends BaseCheckbox {
|
|
|
8824
9289
|
*/
|
|
8825
9290
|
setFormValue(): void;
|
|
8826
9291
|
/**
|
|
8827
|
-
* Sets the validity of the control.
|
|
8828
|
-
*
|
|
8829
|
-
* @internal
|
|
8830
|
-
* @override
|
|
8831
|
-
* @remarks
|
|
8832
|
-
* The radio component does not have a `required` attribute, so this method always sets the validity to `true`.
|
|
8833
|
-
*/
|
|
8834
|
-
setValidity(): void;
|
|
8835
|
-
/**
|
|
8836
|
-
* Toggles the checked state of the control.
|
|
8837
|
-
*
|
|
8838
|
-
* @param force - Forces the element to be checked or unchecked
|
|
8839
|
-
* @public
|
|
8840
|
-
* @override
|
|
8841
|
-
* @remarks
|
|
8842
|
-
* The radio checked state is controlled by the `RadioGroup` component, so the `force` parameter defaults to `true`.
|
|
8843
|
-
*/
|
|
8844
|
-
toggleChecked(force?: boolean): void;
|
|
8845
|
-
}
|
|
8846
|
-
|
|
8847
|
-
/**
|
|
8848
|
-
* @public
|
|
8849
|
-
*/
|
|
8850
|
-
export declare type RadioControl = Pick<HTMLInputElement, 'checked' | 'disabled' | 'focus' | 'setAttribute' | 'getAttribute'>;
|
|
8851
|
-
|
|
8852
|
-
/**
|
|
8853
|
-
* The Fluent Radio Element.
|
|
8854
|
-
*
|
|
8855
|
-
*
|
|
8856
|
-
* @public
|
|
8857
|
-
* @remarks
|
|
8858
|
-
* HTML Element: \<fluent-radio\>
|
|
8859
|
-
*/
|
|
8860
|
-
export declare const RadioDefinition: FASTElementDefinition<typeof Radio>;
|
|
8861
|
-
|
|
8862
|
-
/**
|
|
8863
|
-
* A Radio Group Custom HTML Element.
|
|
8864
|
-
* Implements the {@link https://w3c.github.io/aria/#radiogroup | ARIA `radiogroup` role}.
|
|
8865
|
-
*
|
|
8866
|
-
* @tag fluent-radio-group
|
|
8867
|
-
*
|
|
8868
|
-
* @public
|
|
8869
|
-
*
|
|
8870
|
-
* @slot - The default slot for the radio group
|
|
8871
|
-
*/
|
|
8872
|
-
export declare class RadioGroup extends FASTElement {
|
|
8873
|
-
/**
|
|
8874
|
-
* The index of the checked radio, scoped to the enabled radios.
|
|
8875
|
-
*
|
|
8876
|
-
* @internal
|
|
8877
|
-
*/
|
|
8878
|
-
protected checkedIndex: number;
|
|
8879
|
-
/**
|
|
8880
|
-
* Sets the checked state of the nearest enabled radio when the `checkedIndex` changes.
|
|
8881
|
-
*
|
|
8882
|
-
* @param prev - the previous index
|
|
8883
|
-
* @param next - the current index
|
|
8884
|
-
* @internal
|
|
8885
|
-
*/
|
|
8886
|
-
protected checkedIndexChanged(prev: number | undefined, next: number): void;
|
|
8887
|
-
/**
|
|
8888
|
-
* Indicates that the value has been changed by the user.
|
|
8889
|
-
*/
|
|
8890
|
-
private dirtyState;
|
|
8891
|
-
/**
|
|
8892
|
-
* Disables the radio group and child radios.
|
|
8893
|
-
*
|
|
8894
|
-
* @public
|
|
8895
|
-
* @remarks
|
|
8896
|
-
* HTML Attribute: `disabled`
|
|
8897
|
-
*/
|
|
8898
|
-
disabled: boolean;
|
|
8899
|
-
/**
|
|
8900
|
-
* Sets the `disabled` attribute on all child radios when the `disabled` property changes.
|
|
8901
|
-
*
|
|
8902
|
-
* @param prev - the previous disabled value
|
|
8903
|
-
* @param next - the current disabled value
|
|
8904
|
-
* @internal
|
|
8905
|
-
*/
|
|
8906
|
-
protected disabledChanged(prev?: boolean, next?: boolean): void;
|
|
8907
|
-
/**
|
|
8908
|
-
* The value of the checked radio.
|
|
8909
|
-
*
|
|
8910
|
-
* @public
|
|
8911
|
-
* @remarks
|
|
8912
|
-
* HTML Attribute: `value`
|
|
8913
|
-
*/
|
|
8914
|
-
initialValue?: string;
|
|
8915
|
-
/**
|
|
8916
|
-
* Sets the matching radio to checked when the value changes. If no radio matches the value, no radio will be checked.
|
|
8917
|
-
*
|
|
8918
|
-
* @param prev - the previous value
|
|
8919
|
-
* @param next - the current value
|
|
8920
|
-
*/
|
|
8921
|
-
initialValueChanged(prev: string | undefined, next: string | undefined): void;
|
|
8922
|
-
/**
|
|
8923
|
-
* The name of the radio group.
|
|
8924
|
-
*
|
|
8925
|
-
* @public
|
|
8926
|
-
* @remarks
|
|
8927
|
-
* HTML Attribute: `name`
|
|
8928
|
-
*/
|
|
8929
|
-
name: string;
|
|
8930
|
-
/**
|
|
8931
|
-
* Sets the `name` attribute on all child radios when the `name` property changes.
|
|
8932
|
-
*
|
|
8933
|
-
* @internal
|
|
8934
|
-
*/
|
|
8935
|
-
protected nameChanged(prev: string | undefined, next: string | undefined): void;
|
|
8936
|
-
/**
|
|
8937
|
-
* The orientation of the group.
|
|
8938
|
-
*
|
|
8939
|
-
* @public
|
|
8940
|
-
* @remarks
|
|
8941
|
-
* HTML Attribute: `orientation`
|
|
8942
|
-
*/
|
|
8943
|
-
orientation?: RadioGroupOrientation;
|
|
8944
|
-
/**
|
|
8945
|
-
* Sets the ariaOrientation attribute when the orientation changes.
|
|
8946
|
-
*
|
|
8947
|
-
* @param prev - the previous orientation
|
|
8948
|
-
* @param next - the current orientation
|
|
8949
|
-
* @internal
|
|
8950
|
-
*/
|
|
8951
|
-
orientationChanged(prev: RadioGroupOrientation | undefined, next: RadioGroupOrientation | undefined): void;
|
|
8952
|
-
/**
|
|
8953
|
-
* The collection of all child radios.
|
|
8954
|
-
*
|
|
8955
|
-
* @public
|
|
8956
|
-
*/
|
|
8957
|
-
radios: Radio[];
|
|
8958
|
-
/**
|
|
8959
|
-
* Updates the enabled radios collection when properties on the child radios change.
|
|
8960
|
-
*
|
|
8961
|
-
* @param prev - the previous radios
|
|
8962
|
-
* @param next - the current radios
|
|
8963
|
-
*/
|
|
8964
|
-
radiosChanged(prev: Radio[] | undefined, next: Radio[] | undefined): void;
|
|
8965
|
-
/**
|
|
8966
|
-
* Indicates whether the radio group is required.
|
|
8967
|
-
*
|
|
8968
|
-
* @public
|
|
8969
|
-
* @remarks
|
|
8970
|
-
* HTML Attribute: `required`
|
|
8971
|
-
*/
|
|
8972
|
-
required: boolean;
|
|
8973
|
-
/**
|
|
8974
|
-
*
|
|
8975
|
-
* @param prev - the previous required value
|
|
8976
|
-
* @param next - the current required value
|
|
8977
|
-
*/
|
|
8978
|
-
requiredChanged(prev: boolean, next: boolean): void;
|
|
8979
|
-
/**
|
|
8980
|
-
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
8981
|
-
*
|
|
8982
|
-
* @internal
|
|
8983
|
-
*/
|
|
8984
|
-
elementInternals: ElementInternals;
|
|
8985
|
-
/**
|
|
8986
|
-
* A collection of child radios that are not disabled.
|
|
8987
|
-
*
|
|
8988
|
-
* @internal
|
|
8989
|
-
*/
|
|
8990
|
-
get enabledRadios(): Radio[];
|
|
8991
|
-
/**
|
|
8992
|
-
* The form-associated flag.
|
|
8993
|
-
* @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}
|
|
8994
|
-
*
|
|
8995
|
-
* @public
|
|
8996
|
-
*/
|
|
8997
|
-
static formAssociated: boolean;
|
|
8998
|
-
/**
|
|
8999
|
-
* The fallback validation message, taken from a native checkbox `<input>` element.
|
|
9000
|
-
*
|
|
9001
|
-
* @internal
|
|
9002
|
-
*/
|
|
9003
|
-
private _validationFallbackMessage;
|
|
9004
|
-
/**
|
|
9005
|
-
* The validation message. Uses the browser's default validation message for native checkboxes if not otherwise
|
|
9006
|
-
* specified (e.g., via `setCustomValidity`).
|
|
9007
|
-
*
|
|
9008
|
-
* @internal
|
|
9009
|
-
*/
|
|
9010
|
-
get validationMessage(): string;
|
|
9011
|
-
/**
|
|
9012
|
-
* The element's validity state.
|
|
9013
|
-
*
|
|
9014
|
-
* @public
|
|
9015
|
-
* @remarks
|
|
9016
|
-
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/validity | `ElementInternals.validity`} property.
|
|
9017
|
-
*/
|
|
9018
|
-
get validity(): ValidityState;
|
|
9019
|
-
/**
|
|
9020
|
-
* The current value of the checked radio.
|
|
9021
|
-
*
|
|
9022
|
-
* @public
|
|
9023
|
-
*/
|
|
9024
|
-
get value(): string | null;
|
|
9025
|
-
set value(next: string | null);
|
|
9026
|
-
/**
|
|
9027
|
-
* Sets the checked state of all radios when any radio emits a `change` event.
|
|
9028
|
-
*
|
|
9029
|
-
* @param e - the change event
|
|
9030
|
-
*/
|
|
9031
|
-
changeHandler(e: Event): boolean | void;
|
|
9032
|
-
/**
|
|
9033
|
-
* Checks the radio at the specified index.
|
|
9034
|
-
*
|
|
9035
|
-
* @param index - the index of the radio to check
|
|
9036
|
-
* @internal
|
|
9037
|
-
*/
|
|
9038
|
-
checkRadio(index?: number, shouldEmit?: boolean): void;
|
|
9039
|
-
/**
|
|
9040
|
-
* Checks the validity of the element and returns the result.
|
|
9041
|
-
*
|
|
9042
|
-
* @public
|
|
9043
|
-
* @remarks
|
|
9044
|
-
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/checkValidity | `HTMLInputElement.checkValidity()`} method.
|
|
9045
|
-
*/
|
|
9046
|
-
checkValidity(): boolean;
|
|
9047
|
-
/**
|
|
9048
|
-
* Handles click events for the radio group.
|
|
9049
|
-
*
|
|
9050
|
-
* @param e - the click event
|
|
9051
|
-
* @internal
|
|
9052
|
-
*/
|
|
9053
|
-
clickHandler(e: MouseEvent): boolean | void;
|
|
9054
|
-
constructor();
|
|
9055
|
-
/**
|
|
9056
|
-
* Focuses the checked radio or the first enabled radio.
|
|
9057
|
-
*
|
|
9058
|
-
* @internal
|
|
9059
|
-
*/
|
|
9060
|
-
focus(): void;
|
|
9061
|
-
/**
|
|
9062
|
-
* Enables tabbing through the radio group when the group receives focus.
|
|
9063
|
-
*
|
|
9064
|
-
* @param e - the focus event
|
|
9065
|
-
* @internal
|
|
9066
|
-
*/
|
|
9067
|
-
focusinHandler(e: FocusEvent): boolean | void;
|
|
9068
|
-
/**
|
|
9069
|
-
* Sets the tabindex of the radios based on the checked state when the radio group loses focus.
|
|
9070
|
-
*
|
|
9071
|
-
* @param e - the focusout event
|
|
9072
|
-
* @internal
|
|
9073
|
-
*/
|
|
9074
|
-
focusoutHandler(e: FocusEvent): boolean | void;
|
|
9075
|
-
formResetCallback(): void;
|
|
9076
|
-
private getEnabledIndexInBounds;
|
|
9077
|
-
/**
|
|
9078
|
-
* Handles keydown events for the radio group.
|
|
9079
|
-
*
|
|
9080
|
-
* @param e - the keyboard event
|
|
9081
|
-
* @internal
|
|
9082
|
-
*/
|
|
9083
|
-
keydownHandler(e: KeyboardEvent): boolean | void;
|
|
9084
|
-
/**
|
|
9085
|
-
*
|
|
9086
|
-
* @param e - the disabled event
|
|
9087
|
-
*/
|
|
9088
|
-
disabledRadioHandler(e: CustomEvent): void;
|
|
9089
|
-
/**
|
|
9090
|
-
* Reports the validity of the element.
|
|
9091
|
-
*
|
|
9092
|
-
* @public
|
|
9093
|
-
* @remarks
|
|
9094
|
-
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/reportValidity | `HTMLInputElement.reportValidity()`} method.
|
|
9095
|
-
*/
|
|
9096
|
-
reportValidity(): boolean;
|
|
9097
|
-
/**
|
|
9098
|
-
* Resets the `tabIndex` for all child radios when the radio group loses focus.
|
|
9099
|
-
*
|
|
9100
|
-
* @internal
|
|
9101
|
-
*/
|
|
9102
|
-
private restrictFocus;
|
|
9103
|
-
/**
|
|
9104
|
-
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/setFormValue | `ElementInternals.setFormValue()`} method.
|
|
9105
|
-
*
|
|
9106
|
-
* @internal
|
|
9107
|
-
*/
|
|
9108
|
-
setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
|
|
9109
|
-
/**
|
|
9110
|
-
* Sets the validity of the element.
|
|
9111
|
-
*
|
|
9112
|
-
* @param flags - Validity flags to set.
|
|
9113
|
-
* @param message - Optional message to supply. If not provided, the element's `validationMessage` will be used.
|
|
9114
|
-
* @param anchor - Optional anchor to use for the validation message.
|
|
9292
|
+
* Sets the validity of the control.
|
|
9115
9293
|
*
|
|
9116
9294
|
* @internal
|
|
9295
|
+
* @override
|
|
9117
9296
|
* @remarks
|
|
9118
|
-
*
|
|
9119
|
-
* This is necessary because:
|
|
9120
|
-
* 1. Each Radio is form-associated (extends BaseCheckbox which has `formAssociated = true`)
|
|
9121
|
-
* 2. Browser validation UIs and screen readers announce validation against individual form controls
|
|
9122
|
-
* 3. For groups like RadioGroup, the browser needs to report the error on a specific member of the group
|
|
9123
|
-
* 4. We anchor the error to the first Radio so it receives focus and announcement
|
|
9124
|
-
*
|
|
9125
|
-
* When the group is invalid (required but no selection):
|
|
9126
|
-
* - Only the first Radio gets the invalid state with the validation message
|
|
9127
|
-
* - Other Radios are kept valid since selecting any of them would satisfy the requirement
|
|
9128
|
-
*
|
|
9129
|
-
* When the group becomes valid (user selects any Radio):
|
|
9130
|
-
* - All Radios are cleared back to valid state
|
|
9131
|
-
* - This allows form submission to proceed
|
|
9297
|
+
* The radio component does not have a `required` attribute, so this method always sets the validity to `true`.
|
|
9132
9298
|
*/
|
|
9133
|
-
setValidity(
|
|
9299
|
+
setValidity(): void;
|
|
9134
9300
|
/**
|
|
9135
|
-
*
|
|
9301
|
+
* Toggles the checked state of the control.
|
|
9136
9302
|
*
|
|
9137
|
-
* @param
|
|
9138
|
-
* @
|
|
9303
|
+
* @param force - Forces the element to be checked or unchecked
|
|
9304
|
+
* @public
|
|
9305
|
+
* @override
|
|
9306
|
+
* @remarks
|
|
9307
|
+
* The radio checked state is controlled by the `RadioGroup` component, so the `force` parameter defaults to `true`.
|
|
9139
9308
|
*/
|
|
9140
|
-
|
|
9309
|
+
toggleChecked(force?: boolean): void;
|
|
9141
9310
|
}
|
|
9142
9311
|
|
|
9143
9312
|
/**
|
|
9144
|
-
*
|
|
9313
|
+
* @public
|
|
9314
|
+
*/
|
|
9315
|
+
export declare type RadioControl = Pick<HTMLInputElement, 'checked' | 'disabled' | 'focus' | 'setAttribute' | 'getAttribute'>;
|
|
9316
|
+
|
|
9317
|
+
/**
|
|
9318
|
+
* The definition for the `<fluent-radio>` element.
|
|
9319
|
+
*
|
|
9320
|
+
* @public
|
|
9321
|
+
*/
|
|
9322
|
+
export declare const RadioDefinition: PartialFASTElementDefinition;
|
|
9323
|
+
|
|
9324
|
+
/**
|
|
9325
|
+
* A Radio Group Custom HTML Element.
|
|
9326
|
+
* Implements the {@link https://w3c.github.io/aria/#radiogroup | ARIA `radiogroup` role}.
|
|
9327
|
+
*
|
|
9328
|
+
* @tag fluent-radio-group
|
|
9329
|
+
*
|
|
9330
|
+
* @slot - The default slot for the radio group
|
|
9331
|
+
* @fires { Event } change - Fired when the selected radio changes.
|
|
9145
9332
|
*
|
|
9333
|
+
* @public
|
|
9334
|
+
*/
|
|
9335
|
+
export declare class RadioGroup extends BaseRadioGroup {
|
|
9336
|
+
private fg;
|
|
9337
|
+
private fgItems;
|
|
9338
|
+
disconnectedCallback(): void;
|
|
9339
|
+
radiosChanged(prev: Radio[] | undefined, next: Radio[] | undefined): void;
|
|
9340
|
+
}
|
|
9341
|
+
|
|
9342
|
+
/**
|
|
9343
|
+
* The definition for the `<fluent-radio-group>` element.
|
|
9146
9344
|
*
|
|
9147
9345
|
* @public
|
|
9148
|
-
* @remarks
|
|
9149
|
-
* HTML Element: \<fluent-radio-group\>
|
|
9150
9346
|
*/
|
|
9151
|
-
export declare const RadioGroupDefinition:
|
|
9347
|
+
export declare const RadioGroupDefinition: PartialFASTElementDefinition;
|
|
9152
9348
|
|
|
9153
9349
|
/**
|
|
9154
9350
|
* Radio Group orientation
|
|
@@ -9248,13 +9444,11 @@ export declare const RatingDisplayColor: {
|
|
|
9248
9444
|
export declare type RatingDisplayColor = ValuesOf<typeof RatingDisplayColor>;
|
|
9249
9445
|
|
|
9250
9446
|
/**
|
|
9251
|
-
* The definition for the
|
|
9447
|
+
* The definition for the `<fluent-rating-display>` element.
|
|
9252
9448
|
*
|
|
9253
9449
|
* @public
|
|
9254
|
-
* @remarks
|
|
9255
|
-
* HTML Element: `<fluent-rating-display>`
|
|
9256
9450
|
*/
|
|
9257
|
-
export declare const RatingDisplayDefinition:
|
|
9451
|
+
export declare const RatingDisplayDefinition: PartialFASTElementDefinition;
|
|
9258
9452
|
|
|
9259
9453
|
/**
|
|
9260
9454
|
* The size of a Rating Display can be `small`, `medium`, or `large`.
|
|
@@ -9308,16 +9502,10 @@ export declare const roleForMenuItem: {
|
|
|
9308
9502
|
* as each entry’s value is either a string or a number.
|
|
9309
9503
|
* @param node - The node to set the theme on, defaults to `document` for
|
|
9310
9504
|
* setting global theme.
|
|
9311
|
-
* @
|
|
9505
|
+
* @public
|
|
9312
9506
|
*/
|
|
9313
9507
|
export declare function setTheme(theme: Theme | null, node?: Document | HTMLElement): void;
|
|
9314
9508
|
|
|
9315
|
-
/**
|
|
9316
|
-
* @internal
|
|
9317
|
-
* @deprecated Use `setTheme(theme, element)` instead.
|
|
9318
|
-
*/
|
|
9319
|
-
export declare function setThemeFor(element: HTMLElement, theme: Theme | null): void;
|
|
9320
|
-
|
|
9321
9509
|
/**
|
|
9322
9510
|
* CSS custom property value for the {@link @fluentui/tokens#shadow16 | `shadow16`} design token.
|
|
9323
9511
|
* @public
|
|
@@ -9398,7 +9586,7 @@ export declare const shadow8Brand = "var(--shadow8Brand)";
|
|
|
9398
9586
|
* @slot thumb - The slot for a custom thumb element.
|
|
9399
9587
|
* @csspart thumb-container - The container element of the thumb.
|
|
9400
9588
|
* @csspart track-container - The container element of the track.
|
|
9401
|
-
* @fires change - Fires a custom 'change' event when the value changes.
|
|
9589
|
+
* @fires { Event } change - Fires a custom 'change' event when the value changes.
|
|
9402
9590
|
*
|
|
9403
9591
|
* @public
|
|
9404
9592
|
*/
|
|
@@ -9608,6 +9796,13 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
|
|
|
9608
9796
|
*/
|
|
9609
9797
|
disabled: boolean;
|
|
9610
9798
|
protected disabledChanged(): void;
|
|
9799
|
+
/**
|
|
9800
|
+
* Returns true if the component is disabled, taking into account the `disabled`
|
|
9801
|
+
* attribute, `aria-disabled` attribute, and the `:disabled` pseudo-class.
|
|
9802
|
+
*
|
|
9803
|
+
* @internal
|
|
9804
|
+
*/
|
|
9805
|
+
protected get isDisabled(): boolean;
|
|
9611
9806
|
/**
|
|
9612
9807
|
* The minimum allowed value.
|
|
9613
9808
|
*
|
|
@@ -9678,9 +9873,6 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
|
|
|
9678
9873
|
*/
|
|
9679
9874
|
mode: SliderMode;
|
|
9680
9875
|
constructor();
|
|
9681
|
-
/**
|
|
9682
|
-
* @internal
|
|
9683
|
-
*/
|
|
9684
9876
|
connectedCallback(): void;
|
|
9685
9877
|
/**
|
|
9686
9878
|
* @internal
|
|
@@ -9758,14 +9950,11 @@ export declare interface SliderConfiguration {
|
|
|
9758
9950
|
}
|
|
9759
9951
|
|
|
9760
9952
|
/**
|
|
9761
|
-
* The
|
|
9762
|
-
*
|
|
9953
|
+
* The definition for the `<fluent-slider>` element.
|
|
9763
9954
|
*
|
|
9764
9955
|
* @public
|
|
9765
|
-
* @remarks
|
|
9766
|
-
* HTML Element: \<fluent-slider\>
|
|
9767
9956
|
*/
|
|
9768
|
-
export declare const SliderDefinition:
|
|
9957
|
+
export declare const SliderDefinition: PartialFASTElementDefinition;
|
|
9769
9958
|
|
|
9770
9959
|
/**
|
|
9771
9960
|
* @public
|
|
@@ -10011,11 +10200,11 @@ export declare const SpinnerAppearance: {
|
|
|
10011
10200
|
export declare type SpinnerAppearance = ValuesOf<typeof SpinnerAppearance>;
|
|
10012
10201
|
|
|
10013
10202
|
/**
|
|
10203
|
+
* The definition for the `<fluent-spinner>` element.
|
|
10204
|
+
*
|
|
10014
10205
|
* @public
|
|
10015
|
-
* @remarks
|
|
10016
|
-
* HTML Element: \<fluent-spinner\>
|
|
10017
10206
|
*/
|
|
10018
|
-
export declare const SpinnerDefinition:
|
|
10207
|
+
export declare const SpinnerDefinition: PartialFASTElementDefinition;
|
|
10019
10208
|
|
|
10020
10209
|
/**
|
|
10021
10210
|
* SpinnerSize constants
|
|
@@ -10129,6 +10318,7 @@ export { styles as MenuButtonStyles }
|
|
|
10129
10318
|
* Based on BaseCheckbox and includes style and layout specific attributes
|
|
10130
10319
|
*
|
|
10131
10320
|
* @tag fluent-switch
|
|
10321
|
+
* @csspart checked-indicator - The internal switch indicator element.
|
|
10132
10322
|
*
|
|
10133
10323
|
*/
|
|
10134
10324
|
export declare class Switch extends BaseCheckbox {
|
|
@@ -10136,13 +10326,11 @@ export declare class Switch extends BaseCheckbox {
|
|
|
10136
10326
|
}
|
|
10137
10327
|
|
|
10138
10328
|
/**
|
|
10139
|
-
* The
|
|
10329
|
+
* The definition for the `<fluent-switch>` element.
|
|
10140
10330
|
*
|
|
10141
10331
|
* @public
|
|
10142
|
-
* @remarks
|
|
10143
|
-
* HTML Element: \<fluent-switch\>
|
|
10144
10332
|
*/
|
|
10145
|
-
export declare const SwitchDefinition:
|
|
10333
|
+
export declare const SwitchDefinition: PartialFASTElementDefinition;
|
|
10146
10334
|
|
|
10147
10335
|
/**
|
|
10148
10336
|
* SwitchLabelPosition Constants
|
|
@@ -10181,43 +10369,43 @@ export declare class Tab extends FASTElement {
|
|
|
10181
10369
|
* HTML Attribute: disabled
|
|
10182
10370
|
*/
|
|
10183
10371
|
disabled: boolean;
|
|
10184
|
-
|
|
10372
|
+
protected disabledChanged(prev: boolean, next: boolean): void;
|
|
10373
|
+
/**
|
|
10374
|
+
* Internal text content stylesheet, used to set the content of the `::after`
|
|
10375
|
+
* pseudo element to prevent layout shift when the font weight changes on selection.
|
|
10376
|
+
* @internal
|
|
10377
|
+
*/
|
|
10378
|
+
private styles?;
|
|
10379
|
+
/**
|
|
10380
|
+
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
10381
|
+
*
|
|
10382
|
+
* @internal
|
|
10383
|
+
*/
|
|
10384
|
+
elementInternals: ElementInternals;
|
|
10385
|
+
constructor();
|
|
10185
10386
|
connectedCallback(): void;
|
|
10387
|
+
private setDisabledSideEffect;
|
|
10186
10388
|
}
|
|
10187
10389
|
|
|
10188
10390
|
export declare interface Tab extends StartEnd {
|
|
10189
10391
|
}
|
|
10190
10392
|
|
|
10191
|
-
|
|
10393
|
+
/**
|
|
10394
|
+
* The definition for the `<fluent-tab>` element.
|
|
10395
|
+
*
|
|
10396
|
+
* @public
|
|
10397
|
+
*/
|
|
10398
|
+
export declare const TabDefinition: PartialFASTElementDefinition;
|
|
10192
10399
|
|
|
10193
10400
|
/**
|
|
10194
|
-
* A
|
|
10401
|
+
* A Tablist component.
|
|
10195
10402
|
*
|
|
10196
10403
|
* @tag fluent-tablist
|
|
10404
|
+
* @fires { Event } change - Fired when the active tab changes.
|
|
10197
10405
|
*
|
|
10198
10406
|
* @public
|
|
10199
10407
|
*/
|
|
10200
10408
|
export declare class Tablist extends BaseTablist {
|
|
10201
|
-
/**
|
|
10202
|
-
* activeTabData
|
|
10203
|
-
* The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
|
|
10204
|
-
*/
|
|
10205
|
-
private activeTabData;
|
|
10206
|
-
/**
|
|
10207
|
-
* previousActiveTabData
|
|
10208
|
-
* The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
|
|
10209
|
-
*/
|
|
10210
|
-
private previousActiveTabData;
|
|
10211
|
-
/**
|
|
10212
|
-
* activeTabOffset
|
|
10213
|
-
* Used to position the active indicator for animations of the active indicator on active tab changes.
|
|
10214
|
-
*/
|
|
10215
|
-
private activeTabOffset;
|
|
10216
|
-
/**
|
|
10217
|
-
* activeTabScale
|
|
10218
|
-
* Used to scale the tab active indicator up or down as animations of the active indicator occur.
|
|
10219
|
-
*/
|
|
10220
|
-
private activeTabScale;
|
|
10221
10409
|
/**
|
|
10222
10410
|
* appearance
|
|
10223
10411
|
* There are two modes of appearance: transparent and subtle.
|
|
@@ -10229,58 +10417,10 @@ export declare class Tablist extends BaseTablist {
|
|
|
10229
10417
|
* Used to set the size of all the tab controls, which effects text size and margins. Three sizes: small, medium and large.
|
|
10230
10418
|
*/
|
|
10231
10419
|
size?: TablistSize;
|
|
10232
|
-
|
|
10233
|
-
|
|
10234
|
-
|
|
10235
|
-
|
|
10236
|
-
* These values will be applied to css variables that control the tab active indicator position animations
|
|
10237
|
-
*/
|
|
10238
|
-
private calculateAnimationProperties;
|
|
10239
|
-
/**
|
|
10240
|
-
* getSelectedTabPosition - gets the x or y coordinates of the tab
|
|
10241
|
-
*/
|
|
10242
|
-
private getTabPosition;
|
|
10243
|
-
/**
|
|
10244
|
-
* getSelectedTabScale - gets the scale of the tab
|
|
10245
|
-
*/
|
|
10246
|
-
private getTabScale;
|
|
10247
|
-
/**
|
|
10248
|
-
* Calculates and applies updated values to CSS variables.
|
|
10249
|
-
*
|
|
10250
|
-
* @param tab - the tab element to apply the updated values to
|
|
10251
|
-
* @internal
|
|
10252
|
-
*/
|
|
10253
|
-
private applyUpdatedCSSValues;
|
|
10254
|
-
/**
|
|
10255
|
-
* Runs through all the operations required for setting the tab active indicator to its starting location, ending
|
|
10256
|
-
* location, and applying the animated css class to the tab.
|
|
10257
|
-
*
|
|
10258
|
-
* @param tab - the tab element to apply the updated values to
|
|
10259
|
-
* @internal
|
|
10260
|
-
*/
|
|
10261
|
-
private animationLoop;
|
|
10262
|
-
/**
|
|
10263
|
-
* Sets the data from the active tab onto the class. used for making all the animation calculations for the active
|
|
10264
|
-
* tab indicator.
|
|
10265
|
-
*
|
|
10266
|
-
* @internal
|
|
10267
|
-
*/
|
|
10268
|
-
private setTabData;
|
|
10269
|
-
/**
|
|
10270
|
-
* Sets the css variables for the active tab indicator.
|
|
10271
|
-
* @internal
|
|
10272
|
-
*/
|
|
10273
|
-
private setAnimationVars;
|
|
10274
|
-
/**
|
|
10275
|
-
* Initiates the active tab indicator animation loop when activeid changes.
|
|
10276
|
-
* @param oldValue - the previous tabId
|
|
10277
|
-
* @param newValue - the new tabId
|
|
10278
|
-
*/
|
|
10279
|
-
activeidChanged(oldValue: string, newValue: string): void;
|
|
10280
|
-
/**
|
|
10281
|
-
* Initiates the active tab indicator animation loop when tabs change.
|
|
10282
|
-
*/
|
|
10283
|
-
tabsChanged(): void;
|
|
10420
|
+
private fg?;
|
|
10421
|
+
private fgItems?;
|
|
10422
|
+
disconnectedCallback(): void;
|
|
10423
|
+
tabsChanged(prev: Tab[] | undefined, next: Tab[] | undefined): void;
|
|
10284
10424
|
}
|
|
10285
10425
|
|
|
10286
10426
|
/**
|
|
@@ -10299,11 +10439,11 @@ export declare const TablistAppearance: {
|
|
|
10299
10439
|
export declare type TablistAppearance = ValuesOf<typeof TablistAppearance>;
|
|
10300
10440
|
|
|
10301
10441
|
/**
|
|
10442
|
+
* The definition for the `<fluent-tablist>` element.
|
|
10443
|
+
*
|
|
10302
10444
|
* @public
|
|
10303
|
-
* @remarks
|
|
10304
|
-
* HTML Element: \<fluent-tablist\>
|
|
10305
10445
|
*/
|
|
10306
|
-
export declare const TablistDefinition:
|
|
10446
|
+
export declare const TablistDefinition: PartialFASTElementDefinition;
|
|
10307
10447
|
|
|
10308
10448
|
/**
|
|
10309
10449
|
* The orientation of the component
|
|
@@ -10352,167 +10492,6 @@ export declare const TablistTemplate: ViewTemplate<Tablist, any>;
|
|
|
10352
10492
|
*/
|
|
10353
10493
|
export declare type TabOptions = StartEndOptions<Tab>;
|
|
10354
10494
|
|
|
10355
|
-
/**
|
|
10356
|
-
* @deprecated - Use tablist instead
|
|
10357
|
-
*
|
|
10358
|
-
* @tag fluent-tab-panel
|
|
10359
|
-
*/
|
|
10360
|
-
export declare class TabPanel extends FASTElement {
|
|
10361
|
-
}
|
|
10362
|
-
|
|
10363
|
-
/**
|
|
10364
|
-
* @deprecated - Use tablist instead
|
|
10365
|
-
*/
|
|
10366
|
-
export declare const TabPanelDefinition: FASTElementDefinition<typeof TabPanel>;
|
|
10367
|
-
|
|
10368
|
-
export declare const TabPanelStyles: ElementStyles;
|
|
10369
|
-
|
|
10370
|
-
export declare const TabPanelTemplate: ElementViewTemplate<TabPanel, any>;
|
|
10371
|
-
|
|
10372
|
-
/**
|
|
10373
|
-
* @deprecated - Use tablist instead
|
|
10374
|
-
*
|
|
10375
|
-
* @tag fluent-tabs
|
|
10376
|
-
*/
|
|
10377
|
-
export declare class Tabs extends BaseTabs {
|
|
10378
|
-
/**
|
|
10379
|
-
* activeTabData
|
|
10380
|
-
* The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
|
|
10381
|
-
*/
|
|
10382
|
-
private activeTabData;
|
|
10383
|
-
/**
|
|
10384
|
-
* previousActiveTabData
|
|
10385
|
-
* The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
|
|
10386
|
-
*/
|
|
10387
|
-
private previousActiveTabData;
|
|
10388
|
-
/**
|
|
10389
|
-
* activeTabOffset
|
|
10390
|
-
* Used to position the active indicator for animations of the active indicator on active tab changes.
|
|
10391
|
-
*/
|
|
10392
|
-
private activeTabOffset;
|
|
10393
|
-
/**
|
|
10394
|
-
* activeTabScale
|
|
10395
|
-
* Used to scale the tab active indicator up or down as animations of the active indicator occur.
|
|
10396
|
-
*/
|
|
10397
|
-
private activeTabScale;
|
|
10398
|
-
/**
|
|
10399
|
-
* styles
|
|
10400
|
-
* used in the class for storing the css variables required for animations
|
|
10401
|
-
*/
|
|
10402
|
-
private styles;
|
|
10403
|
-
/**
|
|
10404
|
-
* appearance
|
|
10405
|
-
* There are two modes of appearance: transparent and subtle.
|
|
10406
|
-
*/
|
|
10407
|
-
appearance?: TabsAppearance;
|
|
10408
|
-
/**
|
|
10409
|
-
* disabled
|
|
10410
|
-
* Used for disabling all click and keyboard events for the tabs, child tab elements and tab panel elements. UI styling of content and tabs will appear as "grayed out."
|
|
10411
|
-
*/
|
|
10412
|
-
disabled?: boolean;
|
|
10413
|
-
/**
|
|
10414
|
-
* size
|
|
10415
|
-
* defaults to medium.
|
|
10416
|
-
* Used to set the size of all the tab controls, which effects text size and margins. Three sizes: small, medium and large.
|
|
10417
|
-
*/
|
|
10418
|
-
size?: TabsSize;
|
|
10419
|
-
/**
|
|
10420
|
-
* calculateAnimationProperties
|
|
10421
|
-
*
|
|
10422
|
-
* Recalculates the active tab offset and scale.
|
|
10423
|
-
* These values will be applied to css variables that control the tab active indicator position animations
|
|
10424
|
-
*/
|
|
10425
|
-
private calculateAnimationProperties;
|
|
10426
|
-
/**
|
|
10427
|
-
* getSelectedTabPosition - gets the x or y coordinates of the tab
|
|
10428
|
-
*/
|
|
10429
|
-
private getTabPosition;
|
|
10430
|
-
/**
|
|
10431
|
-
* getSelectedTabScale - gets the scale of the tab
|
|
10432
|
-
*/
|
|
10433
|
-
private getTabScale;
|
|
10434
|
-
/**
|
|
10435
|
-
* Calculates and applies updated values to CSS variables.
|
|
10436
|
-
*
|
|
10437
|
-
* @param tab - the tab element to apply the updated values to
|
|
10438
|
-
* @internal
|
|
10439
|
-
*/
|
|
10440
|
-
private applyUpdatedCSSValues;
|
|
10441
|
-
/**
|
|
10442
|
-
* Runs through all the operations required for setting the tab active indicator to its starting location, ending
|
|
10443
|
-
* location, and applying the animated css class to the tab.
|
|
10444
|
-
*
|
|
10445
|
-
* @param tab - the tab element to apply the updated values to
|
|
10446
|
-
* @internal
|
|
10447
|
-
*/
|
|
10448
|
-
private animationLoop;
|
|
10449
|
-
/**
|
|
10450
|
-
* Gets the position data for a tab element relative to its parent
|
|
10451
|
-
* @param tab - The tab element to get position data for
|
|
10452
|
-
* @returns The position data for the tab
|
|
10453
|
-
*/
|
|
10454
|
-
private getTabPositionData;
|
|
10455
|
-
/**
|
|
10456
|
-
* Sets the data from the active tab onto the class. used for making all the animation calculations for the active
|
|
10457
|
-
* tab indicator.
|
|
10458
|
-
*
|
|
10459
|
-
* @internal
|
|
10460
|
-
*/
|
|
10461
|
-
private setTabData;
|
|
10462
|
-
private setTabOffsetCSSVar;
|
|
10463
|
-
private setTabScaleCSSVar;
|
|
10464
|
-
activeidChanged(oldValue: string, newValue: string): void;
|
|
10465
|
-
tabsChanged(): void;
|
|
10466
|
-
}
|
|
10467
|
-
|
|
10468
|
-
export declare interface Tabs extends StartEnd {
|
|
10469
|
-
}
|
|
10470
|
-
|
|
10471
|
-
export declare const TabsAppearance: {
|
|
10472
|
-
readonly subtle: "subtle";
|
|
10473
|
-
readonly transparent: "transparent";
|
|
10474
|
-
};
|
|
10475
|
-
|
|
10476
|
-
export declare type TabsAppearance = ValuesOf<typeof TabsAppearance>;
|
|
10477
|
-
|
|
10478
|
-
/**
|
|
10479
|
-
* @deprecated - Use tablist instead
|
|
10480
|
-
*/
|
|
10481
|
-
export declare const TabsDefinition: FASTElementDefinition<typeof Tabs>;
|
|
10482
|
-
|
|
10483
|
-
/**
|
|
10484
|
-
* Tabs option configuration options
|
|
10485
|
-
* @public
|
|
10486
|
-
*/
|
|
10487
|
-
export declare type TabsOptions = StartEndOptions<Tabs>;
|
|
10488
|
-
|
|
10489
|
-
/**
|
|
10490
|
-
* The orientation of the component
|
|
10491
|
-
* @public
|
|
10492
|
-
*/
|
|
10493
|
-
export declare const TabsOrientation: {
|
|
10494
|
-
readonly horizontal: "horizontal";
|
|
10495
|
-
readonly vertical: "vertical";
|
|
10496
|
-
};
|
|
10497
|
-
|
|
10498
|
-
/**
|
|
10499
|
-
* The types for the Tabs component
|
|
10500
|
-
* @public
|
|
10501
|
-
*/
|
|
10502
|
-
export declare type TabsOrientation = ValuesOf<typeof TabsOrientation>;
|
|
10503
|
-
|
|
10504
|
-
export declare const TabsSize: {
|
|
10505
|
-
readonly small: "small";
|
|
10506
|
-
readonly medium: "medium";
|
|
10507
|
-
readonly large: "large";
|
|
10508
|
-
};
|
|
10509
|
-
|
|
10510
|
-
export declare type TabsSize = ValuesOf<typeof TabsSize>;
|
|
10511
|
-
|
|
10512
|
-
export declare const TabsStyles: ElementStyles;
|
|
10513
|
-
|
|
10514
|
-
export declare const TabsTemplate: ElementViewTemplate<Tabs, any>;
|
|
10515
|
-
|
|
10516
10495
|
export declare const TabStyles: ElementStyles;
|
|
10517
10496
|
|
|
10518
10497
|
export declare const TabTemplate: ElementViewTemplate<Tab, any>;
|
|
@@ -10522,6 +10501,8 @@ export declare const TabTemplate: ElementViewTemplate<Tab, any>;
|
|
|
10522
10501
|
*
|
|
10523
10502
|
* @tag fluent-text
|
|
10524
10503
|
*
|
|
10504
|
+
* @slot - The default slot for the text content of the component. Can be any valid HTML element, but is typically a semantic element such as a heading or paragraph.
|
|
10505
|
+
*
|
|
10525
10506
|
* @public
|
|
10526
10507
|
*/
|
|
10527
10508
|
declare class Text_2 extends FASTElement {
|
|
@@ -10713,13 +10694,11 @@ export declare const TextAreaAutocomplete: {
|
|
|
10713
10694
|
export declare type TextAreaAutocomplete = ValuesOf<typeof TextAreaAutocomplete>;
|
|
10714
10695
|
|
|
10715
10696
|
/**
|
|
10716
|
-
* The
|
|
10697
|
+
* The definition for the `<fluent-textarea>` element.
|
|
10717
10698
|
*
|
|
10718
10699
|
* @public
|
|
10719
|
-
* @remarks
|
|
10720
|
-
* HTML Element: `<fluent-textarea>`
|
|
10721
10700
|
*/
|
|
10722
|
-
export declare const TextAreaDefinition:
|
|
10701
|
+
export declare const TextAreaDefinition: PartialFASTElementDefinition;
|
|
10723
10702
|
|
|
10724
10703
|
/**
|
|
10725
10704
|
* Values for the `resize` attribute on TextArea elements.
|
|
@@ -10759,14 +10738,11 @@ export declare const TextAreaStyles: ElementStyles;
|
|
|
10759
10738
|
export declare const TextAreaTemplate: ElementViewTemplate<TextArea>;
|
|
10760
10739
|
|
|
10761
10740
|
/**
|
|
10762
|
-
* The
|
|
10763
|
-
*
|
|
10741
|
+
* The definition for the `<fluent-text>` element.
|
|
10764
10742
|
*
|
|
10765
10743
|
* @public
|
|
10766
|
-
* @remarks
|
|
10767
|
-
* HTML Element: \<fluent-text\>
|
|
10768
10744
|
*/
|
|
10769
|
-
export declare const TextDefinition:
|
|
10745
|
+
export declare const TextDefinition: PartialFASTElementDefinition;
|
|
10770
10746
|
|
|
10771
10747
|
/**
|
|
10772
10748
|
* TextFont Constants
|
|
@@ -10789,6 +10765,8 @@ export declare type TextFont = ValuesOf<typeof TextFont>;
|
|
|
10789
10765
|
* Based on BaseTextInput and includes style and layout specific attributes
|
|
10790
10766
|
*
|
|
10791
10767
|
* @tag fluent-text-input
|
|
10768
|
+
* @fires { Event } change - Fired when the input value is committed via a change event.
|
|
10769
|
+
* @fires { Event } select - Fires when the `select()` method is called.
|
|
10792
10770
|
*
|
|
10793
10771
|
* @public
|
|
10794
10772
|
*/
|
|
@@ -10849,13 +10827,11 @@ export declare const TextInputControlSize: {
|
|
|
10849
10827
|
export declare type TextInputControlSize = ValuesOf<typeof TextInputControlSize>;
|
|
10850
10828
|
|
|
10851
10829
|
/**
|
|
10852
|
-
* The
|
|
10830
|
+
* The definition for the `<fluent-text-input>` element.
|
|
10853
10831
|
*
|
|
10854
10832
|
* @public
|
|
10855
|
-
* @remarks
|
|
10856
|
-
* HTML Element: `<fluent-text-input>`
|
|
10857
10833
|
*/
|
|
10858
|
-
export declare const TextInputDefinition:
|
|
10834
|
+
export declare const TextInputDefinition: PartialFASTElementDefinition;
|
|
10859
10835
|
|
|
10860
10836
|
/**
|
|
10861
10837
|
* TextInput configuration options.
|
|
@@ -10945,7 +10921,7 @@ export declare type TextWeight = ValuesOf<typeof TextWeight>;
|
|
|
10945
10921
|
/**
|
|
10946
10922
|
* Not using the `Theme` type from `@fluentui/tokens` package to allow custom
|
|
10947
10923
|
* tokens to be added.
|
|
10948
|
-
* @
|
|
10924
|
+
* @public
|
|
10949
10925
|
*/
|
|
10950
10926
|
export declare type Theme = Record<string, string | number>;
|
|
10951
10927
|
|
|
@@ -11020,12 +10996,11 @@ export declare const ToggleButtonAppearance: {
|
|
|
11020
10996
|
export declare type ToggleButtonAppearance = ValuesOf<typeof ToggleButtonAppearance>;
|
|
11021
10997
|
|
|
11022
10998
|
/**
|
|
10999
|
+
* The definition for the `<fluent-toggle-button>` element.
|
|
11023
11000
|
*
|
|
11024
11001
|
* @public
|
|
11025
|
-
* @remarks
|
|
11026
|
-
* HTML Element: \<fluent-toggle-button\>
|
|
11027
11002
|
*/
|
|
11028
|
-
export declare const ToggleButtonDefinition:
|
|
11003
|
+
export declare const ToggleButtonDefinition: PartialFASTElementDefinition;
|
|
11029
11004
|
|
|
11030
11005
|
/**
|
|
11031
11006
|
* A Toggle Button can be square, circular or rounded.
|
|
@@ -11080,6 +11055,8 @@ export declare const ToggleButtonTemplate: ElementViewTemplate<ToggleButton>;
|
|
|
11080
11055
|
*
|
|
11081
11056
|
* @tag fluent-tooltip
|
|
11082
11057
|
*
|
|
11058
|
+
* @slot - The default slot. Accepts the content of the tooltip.
|
|
11059
|
+
*
|
|
11083
11060
|
* @public
|
|
11084
11061
|
*/
|
|
11085
11062
|
export declare class Tooltip extends FASTElement {
|
|
@@ -11133,13 +11110,13 @@ export declare class Tooltip extends FASTElement {
|
|
|
11133
11110
|
disconnectedCallback(): void;
|
|
11134
11111
|
/**
|
|
11135
11112
|
* Shows the tooltip
|
|
11136
|
-
* @param delay Number of milliseconds to delay showing the tooltip
|
|
11113
|
+
* @param delay - Number of milliseconds to delay showing the tooltip
|
|
11137
11114
|
* @internal
|
|
11138
11115
|
*/
|
|
11139
11116
|
showTooltip(delay?: number): void;
|
|
11140
11117
|
/**
|
|
11141
11118
|
* Hide the tooltip
|
|
11142
|
-
* @param delay Number of milliseconds to delay hiding the tooltip
|
|
11119
|
+
* @param delay - Number of milliseconds to delay hiding the tooltip
|
|
11143
11120
|
* @internal
|
|
11144
11121
|
*/
|
|
11145
11122
|
hideTooltip(delay?: number): void;
|
|
@@ -11159,17 +11136,24 @@ export declare class Tooltip extends FASTElement {
|
|
|
11159
11136
|
* Hide the tooltip on blur
|
|
11160
11137
|
*/
|
|
11161
11138
|
blurAnchorHandler: () => void;
|
|
11139
|
+
/**
|
|
11140
|
+
* Indicates whether the tooltip styles have been applied for browsers that do not support anchor positioning.
|
|
11141
|
+
* @internal
|
|
11142
|
+
*/
|
|
11143
|
+
private anchorPositioningReady;
|
|
11144
|
+
/**
|
|
11145
|
+
* Sets fallback styles for the tooltip for browsers that do not support CSS anchor positioning.
|
|
11146
|
+
* @internal
|
|
11147
|
+
*/
|
|
11162
11148
|
private setFallbackStyles;
|
|
11163
11149
|
}
|
|
11164
11150
|
|
|
11165
11151
|
/**
|
|
11166
|
-
* The
|
|
11152
|
+
* The definition for the `<fluent-tooltip>` element.
|
|
11167
11153
|
*
|
|
11168
11154
|
* @public
|
|
11169
|
-
* @remarks
|
|
11170
|
-
* HTML Element: `<fluent-tooltip>`
|
|
11171
11155
|
*/
|
|
11172
|
-
export declare const TooltipDefinition:
|
|
11156
|
+
export declare const TooltipDefinition: PartialFASTElementDefinition;
|
|
11173
11157
|
|
|
11174
11158
|
/**
|
|
11175
11159
|
* The TooltipPositioning options and their corresponding CSS values
|
|
@@ -11217,43 +11201,68 @@ export declare const TooltipTemplate: ViewTemplate<Tooltip, any>;
|
|
|
11217
11201
|
export declare class Tree extends BaseTree {
|
|
11218
11202
|
/**
|
|
11219
11203
|
* The size of the tree item element
|
|
11220
|
-
*
|
|
11204
|
+
* The size of the tree item element
|
|
11205
|
+
*
|
|
11221
11206
|
* HTML Attribute: size
|
|
11207
|
+
*
|
|
11208
|
+
* @public
|
|
11222
11209
|
*/
|
|
11223
11210
|
size: TreeItemSize;
|
|
11224
11211
|
protected sizeChanged(): void;
|
|
11225
11212
|
/**
|
|
11226
11213
|
* The appearance variants of the tree item element
|
|
11227
|
-
*
|
|
11214
|
+
* The appearance variants of the tree item element
|
|
11215
|
+
*
|
|
11228
11216
|
* HTML Attribute: appearance
|
|
11217
|
+
*
|
|
11218
|
+
* @public
|
|
11229
11219
|
*/
|
|
11230
11220
|
appearance: TreeItemAppearance;
|
|
11231
11221
|
protected appearanceChanged(): void;
|
|
11222
|
+
private fg?;
|
|
11223
|
+
private fgItems?;
|
|
11232
11224
|
/**
|
|
11233
11225
|
* child tree items supered change event
|
|
11234
11226
|
* @internal
|
|
11235
11227
|
*/
|
|
11236
11228
|
childTreeItemsChanged(): void;
|
|
11229
|
+
disconnectedCallback(): void;
|
|
11237
11230
|
/**
|
|
11238
11231
|
* 1. Update the child items' size based on the tree's size
|
|
11239
11232
|
* 2. Update the child items' appearance based on the tree's appearance
|
|
11240
11233
|
*/
|
|
11241
11234
|
updateSizeAndAppearance(): void;
|
|
11235
|
+
/** @internal */
|
|
11236
|
+
itemToggleHandler(): void;
|
|
11242
11237
|
}
|
|
11243
11238
|
|
|
11244
11239
|
/**
|
|
11240
|
+
* The definition for the `<fluent-tree>` element.
|
|
11245
11241
|
*
|
|
11246
11242
|
* @public
|
|
11247
|
-
* @remarks
|
|
11248
|
-
* HTML Element: \<fluent-tree\>
|
|
11249
11243
|
*/
|
|
11250
|
-
export declare const TreeDefinition:
|
|
11244
|
+
export declare const TreeDefinition: PartialFASTElementDefinition;
|
|
11251
11245
|
|
|
11252
11246
|
/**
|
|
11253
11247
|
* The Fluent Tree Item Element. Implements {@link @microsoft/fast-foundation#BaseTreeItem}.
|
|
11254
11248
|
*
|
|
11255
11249
|
* @tag fluent-tree-item
|
|
11256
11250
|
*
|
|
11251
|
+
* @slot - The default slot. Accepts the content of the tree item.
|
|
11252
|
+
* @slot start - Content shown before the item label.
|
|
11253
|
+
* @slot end - Content shown after the item label.
|
|
11254
|
+
* @slot aside - Content shown at the far end of the row.
|
|
11255
|
+
* @slot item - Child tree items.
|
|
11256
|
+
*
|
|
11257
|
+
* @csspart positioning-region - The container for item content and aside regions.
|
|
11258
|
+
* @csspart content - The item content region.
|
|
11259
|
+
* @csspart chevron - The expand/collapse indicator region.
|
|
11260
|
+
* @csspart aside - The trailing aside region.
|
|
11261
|
+
* @csspart items - The child items group region.
|
|
11262
|
+
*
|
|
11263
|
+
* @fires { ToggleEvent } toggle - Fired when expanded state toggles.
|
|
11264
|
+
* @fires { Event } change - Fired when selected state changes.
|
|
11265
|
+
*
|
|
11257
11266
|
*/
|
|
11258
11267
|
export declare class TreeItem extends BaseTreeItem {
|
|
11259
11268
|
/**
|
|
@@ -11301,12 +11310,11 @@ export declare const TreeItemAppearance: {
|
|
|
11301
11310
|
export declare type TreeItemAppearance = ValuesOf<typeof TreeItemAppearance>;
|
|
11302
11311
|
|
|
11303
11312
|
/**
|
|
11313
|
+
* The definition for the `<fluent-tree-item>` element.
|
|
11304
11314
|
*
|
|
11305
11315
|
* @public
|
|
11306
|
-
* @remarks
|
|
11307
|
-
* HTML Element: \<fluent-tree-item\>
|
|
11308
11316
|
*/
|
|
11309
|
-
export declare const TreeItemDefinition:
|
|
11317
|
+
export declare const TreeItemDefinition: PartialFASTElementDefinition;
|
|
11310
11318
|
|
|
11311
11319
|
export declare const TreeItemSize: {
|
|
11312
11320
|
readonly small: "small";
|