@fluentui/web-components 3.0.0-rc.8 → 3.0.0
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 +237 -2
- package/README.md +68 -21
- package/custom-elements.json +9205 -8026
- 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 +4 -3
- package/dist/esm/accordion/index.js +4 -3
- 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 +4 -3
- package/dist/esm/accordion-item/index.js +4 -3
- 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 -9
- 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 +21 -4
- 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 +60 -13
- 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 +95 -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 -45
- package/dist/esm/index-rollup.js +6 -45
- package/dist/esm/index-rollup.js.map +1 -1
- package/dist/esm/index.d.ts +8 -11
- package/dist/esm/index.js +8 -10
- 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/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 +0 -5
- package/dist/esm/theme/set-theme.js +1 -8
- 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 +1217 -1352
- package/dist/web-components.js +8407 -8012
- package/dist/web-components.min.js +19 -573
- package/package.json +36 -16
- 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
|
|
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
|
|
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> & {
|
|
@@ -201,22 +199,24 @@ export declare const AccordionItemSize: {
|
|
|
201
199
|
*/
|
|
202
200
|
export declare type AccordionItemSize = ValuesOf<typeof AccordionItemSize>;
|
|
203
201
|
|
|
204
|
-
export declare const
|
|
202
|
+
export declare const AccordionItemStyles: ElementStyles;
|
|
205
203
|
|
|
206
204
|
/**
|
|
207
205
|
* The template for the fluent-accordion component.
|
|
208
206
|
* @public
|
|
209
207
|
*/
|
|
210
|
-
export declare const
|
|
208
|
+
export declare const AccordionItemTemplate: ElementViewTemplate<AccordionItem>;
|
|
211
209
|
|
|
212
|
-
export declare const
|
|
210
|
+
export declare const AccordionStyles: ElementStyles;
|
|
213
211
|
|
|
214
|
-
export declare const
|
|
212
|
+
export declare const AccordionTemplate: ElementViewTemplate<Accordion>;
|
|
215
213
|
|
|
216
214
|
/**
|
|
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,11 +3857,15 @@ 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
|
}
|
|
@@ -3611,13 +4006,11 @@ export declare const ButtonAppearance: {
|
|
|
3611
4006
|
export declare type ButtonAppearance = ValuesOf<typeof ButtonAppearance>;
|
|
3612
4007
|
|
|
3613
4008
|
/**
|
|
3614
|
-
* The definition for the
|
|
4009
|
+
* The definition for the `<fluent-button>` element.
|
|
3615
4010
|
*
|
|
3616
4011
|
* @public
|
|
3617
|
-
* @remarks
|
|
3618
|
-
* HTML Element: `<fluent-button>`
|
|
3619
4012
|
*/
|
|
3620
|
-
export declare const ButtonDefinition:
|
|
4013
|
+
export declare const ButtonDefinition: PartialFASTElementDefinition;
|
|
3621
4014
|
|
|
3622
4015
|
/**
|
|
3623
4016
|
* Button `formtarget` attribute values.
|
|
@@ -3682,7 +4075,7 @@ export declare type ButtonSize = ValuesOf<typeof ButtonSize>;
|
|
|
3682
4075
|
*
|
|
3683
4076
|
* @public
|
|
3684
4077
|
*/
|
|
3685
|
-
export declare const ButtonTemplate: ElementViewTemplate<
|
|
4078
|
+
export declare const ButtonTemplate: ElementViewTemplate<BaseButton>;
|
|
3686
4079
|
|
|
3687
4080
|
/**
|
|
3688
4081
|
* Button type values.
|
|
@@ -3710,8 +4103,8 @@ export declare type ButtonType = ValuesOf<typeof ButtonType>;
|
|
|
3710
4103
|
*
|
|
3711
4104
|
* @slot checked-indicator - The checked indicator
|
|
3712
4105
|
* @slot indeterminate-indicator - The indeterminate indicator
|
|
3713
|
-
* @fires change - Emits a custom change event when the checked state changes
|
|
3714
|
-
* @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
|
|
3715
4108
|
*
|
|
3716
4109
|
* @public
|
|
3717
4110
|
*/
|
|
@@ -3764,13 +4157,11 @@ export declare class Checkbox extends BaseCheckbox {
|
|
|
3764
4157
|
}
|
|
3765
4158
|
|
|
3766
4159
|
/**
|
|
3767
|
-
* The
|
|
4160
|
+
* The definition for the `<fluent-checkbox>` element.
|
|
3768
4161
|
*
|
|
3769
4162
|
* @public
|
|
3770
|
-
* @remarks
|
|
3771
|
-
* HTML Element: \<fluent-checkbox\>
|
|
3772
4163
|
*/
|
|
3773
|
-
export declare const CheckboxDefinition:
|
|
4164
|
+
export declare const CheckboxDefinition: PartialFASTElementDefinition;
|
|
3774
4165
|
|
|
3775
4166
|
/**
|
|
3776
4167
|
* Checkbox configuration options
|
|
@@ -6018,6 +6409,9 @@ export declare const colorTransparentStrokeInteractive = "var(--colorTransparent
|
|
|
6018
6409
|
*
|
|
6019
6410
|
* @tag fluent-compound-button
|
|
6020
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
|
+
*
|
|
6021
6415
|
* @public
|
|
6022
6416
|
*/
|
|
6023
6417
|
export declare class CompoundButton extends Button {
|
|
@@ -6041,11 +6435,11 @@ export declare const CompoundButtonAppearance: {
|
|
|
6041
6435
|
export declare type CompoundButtonAppearance = ValuesOf<typeof CompoundButtonAppearance>;
|
|
6042
6436
|
|
|
6043
6437
|
/**
|
|
6438
|
+
* The definition for the `<fluent-compound-button>` element.
|
|
6439
|
+
*
|
|
6044
6440
|
* @public
|
|
6045
|
-
* @remarks
|
|
6046
|
-
* HTML Element: \<fluent-comopund-button\>
|
|
6047
6441
|
*/
|
|
6048
|
-
export declare const CompoundButtonDefinition:
|
|
6442
|
+
export declare const CompoundButtonDefinition: PartialFASTElementDefinition;
|
|
6049
6443
|
|
|
6050
6444
|
/**
|
|
6051
6445
|
* A Compound Button can be square, circular or rounded.
|
|
@@ -6083,24 +6477,23 @@ export declare const CompoundButtonStyles: ElementStyles;
|
|
|
6083
6477
|
|
|
6084
6478
|
/**
|
|
6085
6479
|
* The template for the Button component.
|
|
6480
|
+
*
|
|
6086
6481
|
* @public
|
|
6087
6482
|
*/
|
|
6088
6483
|
export declare const CompoundButtonTemplate: ElementViewTemplate<CompoundButton>;
|
|
6089
6484
|
|
|
6090
6485
|
/**
|
|
6091
|
-
*
|
|
6486
|
+
* A CounterBadge Custom HTML Element.
|
|
6487
|
+
* Based on BaseCounterBadge and includes style and layout specific attributes.
|
|
6092
6488
|
*
|
|
6093
6489
|
* @tag fluent-counter-badge
|
|
6094
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
|
+
*
|
|
6095
6494
|
* @public
|
|
6096
6495
|
*/
|
|
6097
|
-
export declare class CounterBadge extends
|
|
6098
|
-
/**
|
|
6099
|
-
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
6100
|
-
*
|
|
6101
|
-
* @internal
|
|
6102
|
-
*/
|
|
6103
|
-
elementInternals: ElementInternals;
|
|
6496
|
+
export declare class CounterBadge extends BaseCounterBadge {
|
|
6104
6497
|
/**
|
|
6105
6498
|
* The appearance the badge should have.
|
|
6106
6499
|
*
|
|
@@ -6133,60 +6526,14 @@ export declare class CounterBadge extends FASTElement {
|
|
|
6133
6526
|
* HTML Attribute: size
|
|
6134
6527
|
*/
|
|
6135
6528
|
size?: CounterBadgeSize;
|
|
6136
|
-
/**
|
|
6137
|
-
* The count the badge should have.
|
|
6138
|
-
*
|
|
6139
|
-
* @public
|
|
6140
|
-
* @remarks
|
|
6141
|
-
* HTML Attribute: count
|
|
6142
|
-
*/
|
|
6143
|
-
count: number;
|
|
6144
|
-
protected countChanged(): void;
|
|
6145
|
-
/**
|
|
6146
|
-
* Max number to be displayed
|
|
6147
|
-
*
|
|
6148
|
-
* @public
|
|
6149
|
-
* @remarks
|
|
6150
|
-
* HTML Attribute: overflow-count
|
|
6151
|
-
*/
|
|
6152
|
-
overflowCount: number;
|
|
6153
|
-
protected overflowCountChanged(): void;
|
|
6154
|
-
/**
|
|
6155
|
-
* If the badge should be shown when count is 0
|
|
6156
|
-
*
|
|
6157
|
-
* @public
|
|
6158
|
-
* @remarks
|
|
6159
|
-
* HTML Attribute: show-zero
|
|
6160
|
-
*/
|
|
6161
|
-
showZero: boolean;
|
|
6162
|
-
/**
|
|
6163
|
-
* If a dot should be displayed without the count
|
|
6164
|
-
*
|
|
6165
|
-
* @public
|
|
6166
|
-
* @remarks
|
|
6167
|
-
* HTML Attribute: dot
|
|
6168
|
-
*/
|
|
6169
|
-
dot: boolean;
|
|
6170
|
-
/**
|
|
6171
|
-
* @internal
|
|
6172
|
-
* Function to set the count
|
|
6173
|
-
* This is the default slotted content for the counter badge
|
|
6174
|
-
* If children are slotted, that will override the value returned
|
|
6175
|
-
*/
|
|
6176
|
-
setCount(): string | void;
|
|
6177
6529
|
}
|
|
6178
6530
|
|
|
6179
|
-
/**
|
|
6180
|
-
* Mark internal because exporting class and interface of the same name
|
|
6181
|
-
* confuses API extractor.
|
|
6182
|
-
* TODO: Below will be unnecessary when Badge class gets updated
|
|
6183
|
-
* @internal
|
|
6184
|
-
*/
|
|
6185
6531
|
export declare interface CounterBadge extends StartEnd {
|
|
6186
6532
|
}
|
|
6187
6533
|
|
|
6188
6534
|
/**
|
|
6189
|
-
*
|
|
6535
|
+
* Values for the `appearance` attribute on CounterBadge elements.
|
|
6536
|
+
*
|
|
6190
6537
|
* @public
|
|
6191
6538
|
*/
|
|
6192
6539
|
export declare const CounterBadgeAppearance: {
|
|
@@ -6195,13 +6542,14 @@ export declare const CounterBadgeAppearance: {
|
|
|
6195
6542
|
};
|
|
6196
6543
|
|
|
6197
6544
|
/**
|
|
6198
|
-
*
|
|
6545
|
+
* Type for the `appearance` attribute on CounterBadge elements, based on the CounterBadgeAppearance constants.
|
|
6199
6546
|
* @public
|
|
6200
6547
|
*/
|
|
6201
6548
|
export declare type CounterBadgeAppearance = ValuesOf<typeof CounterBadgeAppearance>;
|
|
6202
6549
|
|
|
6203
6550
|
/**
|
|
6204
|
-
*
|
|
6551
|
+
* Values for the `color` attribute on CounterBadge elements.
|
|
6552
|
+
*
|
|
6205
6553
|
* @public
|
|
6206
6554
|
*/
|
|
6207
6555
|
export declare const CounterBadgeColor: {
|
|
@@ -6216,20 +6564,21 @@ export declare const CounterBadgeColor: {
|
|
|
6216
6564
|
};
|
|
6217
6565
|
|
|
6218
6566
|
/**
|
|
6219
|
-
*
|
|
6567
|
+
* Type for the `color` attribute on CounterBadge elements, based on the CounterBadgeColor constants.
|
|
6220
6568
|
* @public
|
|
6221
6569
|
*/
|
|
6222
6570
|
export declare type CounterBadgeColor = ValuesOf<typeof CounterBadgeColor>;
|
|
6223
6571
|
|
|
6224
6572
|
/**
|
|
6573
|
+
* The definition for the `<fluent-counter-badge>` element.
|
|
6574
|
+
*
|
|
6225
6575
|
* @public
|
|
6226
|
-
* @remarks
|
|
6227
|
-
* HTML Element: \<fluent-counter-badge\>
|
|
6228
6576
|
*/
|
|
6229
|
-
export declare const CounterBadgeDefinition:
|
|
6577
|
+
export declare const CounterBadgeDefinition: PartialFASTElementDefinition;
|
|
6230
6578
|
|
|
6231
6579
|
/**
|
|
6232
|
-
*
|
|
6580
|
+
* Values for the `shape` attribute on CounterBadge elements.
|
|
6581
|
+
*
|
|
6233
6582
|
* @public
|
|
6234
6583
|
*/
|
|
6235
6584
|
export declare const CounterBadgeShape: {
|
|
@@ -6238,13 +6587,15 @@ export declare const CounterBadgeShape: {
|
|
|
6238
6587
|
};
|
|
6239
6588
|
|
|
6240
6589
|
/**
|
|
6241
|
-
*
|
|
6590
|
+
* Type for the `shape` attribute on CounterBadge elements, based on the CounterBadgeShape constants.
|
|
6591
|
+
*
|
|
6242
6592
|
* @public
|
|
6243
6593
|
*/
|
|
6244
6594
|
export declare type CounterBadgeShape = ValuesOf<typeof CounterBadgeShape>;
|
|
6245
6595
|
|
|
6246
6596
|
/**
|
|
6247
|
-
*
|
|
6597
|
+
* Values for the `size` attribute on CounterBadge elements.
|
|
6598
|
+
*
|
|
6248
6599
|
* @public
|
|
6249
6600
|
*/
|
|
6250
6601
|
export declare const CounterBadgeSize: {
|
|
@@ -6257,7 +6608,8 @@ export declare const CounterBadgeSize: {
|
|
|
6257
6608
|
};
|
|
6258
6609
|
|
|
6259
6610
|
/**
|
|
6260
|
-
*
|
|
6611
|
+
* Type for the `size` attribute on CounterBadge elements, based on the CounterBadgeSize constants.
|
|
6612
|
+
*
|
|
6261
6613
|
* @public
|
|
6262
6614
|
*/
|
|
6263
6615
|
export declare type CounterBadgeSize = ValuesOf<typeof CounterBadgeSize>;
|
|
@@ -6268,7 +6620,15 @@ export declare type CounterBadgeSize = ValuesOf<typeof CounterBadgeSize>;
|
|
|
6268
6620
|
export declare const CounterBadgeStyles: ElementStyles;
|
|
6269
6621
|
|
|
6270
6622
|
/**
|
|
6271
|
-
* 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
|
+
*
|
|
6272
6632
|
* @public
|
|
6273
6633
|
*/
|
|
6274
6634
|
export declare const CounterBadgeTemplate: ElementViewTemplate<CounterBadge>;
|
|
@@ -6333,73 +6693,114 @@ export declare const curveEasyEaseMax = "var(--curveEasyEaseMax)";
|
|
|
6333
6693
|
*/
|
|
6334
6694
|
export declare const curveLinear = "var(--curveLinear)";
|
|
6335
6695
|
|
|
6336
|
-
/**
|
|
6337
|
-
* This can be used to construct a behavior to apply a prefers color scheme: dark only stylesheet.
|
|
6338
|
-
* @public
|
|
6339
|
-
*/
|
|
6340
|
-
export declare const darkModeStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
|
|
6341
|
-
|
|
6342
6696
|
/**
|
|
6343
6697
|
* A Dialog Custom HTML Element.
|
|
6344
6698
|
*
|
|
6345
6699
|
* @tag fluent-dialog
|
|
6346
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
|
+
*
|
|
6347
6705
|
* @public
|
|
6348
6706
|
*/
|
|
6349
6707
|
export declare class Dialog extends FASTElement {
|
|
6350
6708
|
/**
|
|
6351
|
-
* @public
|
|
6352
6709
|
* The dialog element
|
|
6710
|
+
*
|
|
6711
|
+
* @public
|
|
6353
6712
|
*/
|
|
6354
6713
|
dialog: HTMLDialogElement;
|
|
6355
6714
|
/**
|
|
6356
|
-
* @public
|
|
6357
6715
|
* The ID of the element that describes the dialog
|
|
6716
|
+
*
|
|
6717
|
+
* @public
|
|
6358
6718
|
*/
|
|
6359
6719
|
ariaDescribedby?: string;
|
|
6360
6720
|
/**
|
|
6361
|
-
* @public
|
|
6362
6721
|
* The ID of the element that labels the dialog
|
|
6722
|
+
*
|
|
6723
|
+
* @public
|
|
6363
6724
|
*/
|
|
6364
6725
|
ariaLabelledby?: string;
|
|
6365
6726
|
/**
|
|
6366
|
-
* @public
|
|
6367
6727
|
* The label of the dialog
|
|
6728
|
+
*
|
|
6729
|
+
* @public
|
|
6368
6730
|
*/
|
|
6369
6731
|
ariaLabel: string | null;
|
|
6370
6732
|
/**
|
|
6371
|
-
* @public
|
|
6372
6733
|
* The type of the dialog modal
|
|
6734
|
+
*
|
|
6735
|
+
* @public
|
|
6373
6736
|
*/
|
|
6374
6737
|
type: DialogType;
|
|
6375
|
-
|
|
6376
|
-
|
|
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;
|
|
6377
6773
|
connectedCallback(): void;
|
|
6378
6774
|
/**
|
|
6379
|
-
* @public
|
|
6380
6775
|
* Method to emit an event before the dialog's open state changes
|
|
6381
6776
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
6777
|
+
*
|
|
6778
|
+
* @public
|
|
6382
6779
|
*/
|
|
6383
|
-
emitBeforeToggle
|
|
6780
|
+
emitBeforeToggle(): void;
|
|
6384
6781
|
/**
|
|
6385
|
-
* @public
|
|
6386
6782
|
* Method to emit an event after the dialog's open state changes
|
|
6387
6783
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
6784
|
+
*
|
|
6785
|
+
* @public
|
|
6388
6786
|
*/
|
|
6389
6787
|
emitToggle: () => void;
|
|
6390
6788
|
/**
|
|
6391
|
-
* @public
|
|
6392
6789
|
* Method to show the dialog
|
|
6790
|
+
*
|
|
6791
|
+
* @public
|
|
6393
6792
|
*/
|
|
6394
6793
|
show(): void;
|
|
6395
6794
|
/**
|
|
6396
|
-
* @public
|
|
6397
6795
|
* Method to hide the dialog
|
|
6796
|
+
*
|
|
6797
|
+
* @public
|
|
6398
6798
|
*/
|
|
6399
6799
|
hide(): void;
|
|
6400
6800
|
/**
|
|
6401
|
-
* @public
|
|
6402
6801
|
* Handles click events on the dialog overlay for light-dismiss
|
|
6802
|
+
*
|
|
6803
|
+
* @public
|
|
6403
6804
|
* @param event - The click event
|
|
6404
6805
|
* @returns boolean
|
|
6405
6806
|
*/
|
|
@@ -6411,6 +6812,15 @@ export declare class Dialog extends FASTElement {
|
|
|
6411
6812
|
*
|
|
6412
6813
|
* @tag fluent-dialog-body
|
|
6413
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
|
+
*
|
|
6414
6824
|
* @public
|
|
6415
6825
|
* @extends FASTElement
|
|
6416
6826
|
*/
|
|
@@ -6425,13 +6835,11 @@ export declare class DialogBody extends FASTElement {
|
|
|
6425
6835
|
}
|
|
6426
6836
|
|
|
6427
6837
|
/**
|
|
6428
|
-
* The
|
|
6838
|
+
* The definition for the `<fluent-dialog-body>` element.
|
|
6429
6839
|
*
|
|
6430
6840
|
* @public
|
|
6431
|
-
* @remarks
|
|
6432
|
-
* HTML Element: \<fluent-dialog-body\>
|
|
6433
6841
|
*/
|
|
6434
|
-
export declare const DialogBodyDefinition:
|
|
6842
|
+
export declare const DialogBodyDefinition: PartialFASTElementDefinition;
|
|
6435
6843
|
|
|
6436
6844
|
/** Dialog Body styles
|
|
6437
6845
|
* @public
|
|
@@ -6445,13 +6853,11 @@ export declare const DialogBodyStyles: ElementStyles;
|
|
|
6445
6853
|
export declare const DialogBodyTemplate: ElementViewTemplate;
|
|
6446
6854
|
|
|
6447
6855
|
/**
|
|
6448
|
-
* The
|
|
6856
|
+
* The definition for the `<fluent-dialog>` element.
|
|
6449
6857
|
*
|
|
6450
6858
|
* @public
|
|
6451
|
-
* @remarks
|
|
6452
|
-
* HTML Element: \<fluent-dialog\>
|
|
6453
6859
|
*/
|
|
6454
|
-
export declare const DialogDefinition:
|
|
6860
|
+
export declare const DialogDefinition: PartialFASTElementDefinition;
|
|
6455
6861
|
|
|
6456
6862
|
/** Dialog styles
|
|
6457
6863
|
* @public
|
|
@@ -6460,6 +6866,11 @@ export declare const DialogStyles: ElementStyles;
|
|
|
6460
6866
|
|
|
6461
6867
|
/**
|
|
6462
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
|
+
*
|
|
6463
6874
|
* @public
|
|
6464
6875
|
*/
|
|
6465
6876
|
export declare const DialogTemplate: ElementViewTemplate<Dialog>;
|
|
@@ -6476,6 +6887,21 @@ export declare const DialogType: {
|
|
|
6476
6887
|
|
|
6477
6888
|
export declare type DialogType = ValuesOf<typeof DialogType>;
|
|
6478
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
|
+
|
|
6479
6905
|
/**
|
|
6480
6906
|
* Applies a CSS display property.
|
|
6481
6907
|
* Also adds CSS rules to not display the element when the [hidden] attribute is applied to the element.
|
|
@@ -6546,13 +6972,11 @@ export declare const DividerAppearance: {
|
|
|
6546
6972
|
export declare type DividerAppearance = ValuesOf<typeof DividerAppearance>;
|
|
6547
6973
|
|
|
6548
6974
|
/**
|
|
6549
|
-
* The
|
|
6975
|
+
* The definition for the `<fluent-divider>` element.
|
|
6550
6976
|
*
|
|
6551
6977
|
* @public
|
|
6552
|
-
* @remarks
|
|
6553
|
-
* HTML Element: \<fluent-divider\>
|
|
6554
6978
|
*/
|
|
6555
|
-
export declare const DividerDefinition:
|
|
6979
|
+
export declare const DividerDefinition: PartialFASTElementDefinition;
|
|
6556
6980
|
|
|
6557
6981
|
/**
|
|
6558
6982
|
* Divider orientation
|
|
@@ -6608,18 +7032,19 @@ export declare const DividerTemplate: ElementViewTemplate<Divider>;
|
|
|
6608
7032
|
*
|
|
6609
7033
|
* @extends FASTElement
|
|
6610
7034
|
*
|
|
6611
|
-
* @attr
|
|
6612
|
-
* @attr
|
|
6613
|
-
* @attr
|
|
6614
|
-
* @attr
|
|
6615
|
-
* @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.
|
|
6616
7040
|
*
|
|
6617
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).
|
|
6618
7043
|
*
|
|
6619
7044
|
* @slot - Default slot for the content of the drawer.
|
|
6620
7045
|
*
|
|
6621
|
-
* @fires toggle - Event emitted after the dialog's open state changes.
|
|
6622
|
-
* @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.
|
|
6623
7048
|
*
|
|
6624
7049
|
* @method show - Method to show the drawer.
|
|
6625
7050
|
* @method hide - Method to hide the drawer.
|
|
@@ -6629,34 +7054,35 @@ export declare const DividerTemplate: ElementViewTemplate<Divider>;
|
|
|
6629
7054
|
* @method emitBeforeToggle - Emits an event before the dialog's open state changes.
|
|
6630
7055
|
*
|
|
6631
7056
|
* @summary A component that provides a drawer for displaying content in a side panel.
|
|
6632
|
-
*
|
|
6633
|
-
* @tag fluent-drawer
|
|
6634
7057
|
*/
|
|
6635
7058
|
export declare class Drawer extends FASTElement {
|
|
6636
|
-
protected roleAttrObserver: MutationObserver;
|
|
6637
7059
|
/**
|
|
6638
|
-
* @public
|
|
6639
7060
|
* Determines whether the drawer should be displayed as modal or non-modal
|
|
6640
7061
|
* When rendered as a modal, an overlay is applied over the rest of the view.
|
|
7062
|
+
*
|
|
7063
|
+
* @public
|
|
6641
7064
|
*/
|
|
6642
7065
|
type: DrawerType;
|
|
6643
|
-
protected typeChanged(): void;
|
|
6644
7066
|
/**
|
|
6645
|
-
* @public
|
|
6646
7067
|
* The ID of the element that labels the drawer.
|
|
7068
|
+
*
|
|
7069
|
+
* @public
|
|
6647
7070
|
*/
|
|
6648
7071
|
ariaLabelledby?: string;
|
|
6649
7072
|
/**
|
|
6650
|
-
* @public
|
|
6651
7073
|
* The ID of the element that describes the drawer.
|
|
7074
|
+
*
|
|
7075
|
+
* @public
|
|
6652
7076
|
*/
|
|
6653
7077
|
ariaDescribedby?: string;
|
|
6654
|
-
/**
|
|
7078
|
+
/**
|
|
7079
|
+
* Sets the position of the drawer (start/end).
|
|
7080
|
+
*
|
|
6655
7081
|
* @public
|
|
6656
7082
|
* @defaultValue start
|
|
6657
|
-
* Sets the position of the drawer (start/end).
|
|
6658
7083
|
*/
|
|
6659
7084
|
position: DrawerPosition;
|
|
7085
|
+
role: string | null;
|
|
6660
7086
|
/**
|
|
6661
7087
|
* @public
|
|
6662
7088
|
* @defaultValue medium
|
|
@@ -6664,34 +7090,71 @@ export declare class Drawer extends FASTElement {
|
|
|
6664
7090
|
*/
|
|
6665
7091
|
size: DrawerSize;
|
|
6666
7092
|
/**
|
|
6667
|
-
* @public
|
|
6668
7093
|
* The dialog element.
|
|
7094
|
+
*
|
|
7095
|
+
* @public
|
|
6669
7096
|
*/
|
|
6670
7097
|
dialog: HTMLDialogElement;
|
|
6671
|
-
/**
|
|
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;
|
|
6672
7133
|
connectedCallback(): void;
|
|
6673
|
-
/** @internal */
|
|
6674
|
-
disconnectedCallback(): void;
|
|
6675
7134
|
/**
|
|
6676
|
-
* @public
|
|
6677
7135
|
* Method to emit an event after the dialog's open state changes
|
|
6678
7136
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
7137
|
+
*
|
|
7138
|
+
* @public
|
|
6679
7139
|
*/
|
|
6680
7140
|
emitToggle: () => void;
|
|
6681
7141
|
/**
|
|
6682
|
-
* @public
|
|
6683
7142
|
* Method to emit an event before the dialog's open state changes
|
|
6684
7143
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
7144
|
+
*
|
|
7145
|
+
* @public
|
|
6685
7146
|
*/
|
|
6686
7147
|
emitBeforeToggle: () => void;
|
|
6687
7148
|
/**
|
|
6688
|
-
* @public
|
|
6689
7149
|
* Method to show the drawer
|
|
7150
|
+
*
|
|
7151
|
+
* @public
|
|
6690
7152
|
*/
|
|
6691
7153
|
show(): void;
|
|
6692
7154
|
/**
|
|
6693
|
-
* @public
|
|
6694
7155
|
* Method to hide the drawer
|
|
7156
|
+
*
|
|
7157
|
+
* @public
|
|
6695
7158
|
*/
|
|
6696
7159
|
hide(): void;
|
|
6697
7160
|
/**
|
|
@@ -6702,12 +7165,11 @@ export declare class Drawer extends FASTElement {
|
|
|
6702
7165
|
*/
|
|
6703
7166
|
clickHandler(event: Event): boolean;
|
|
6704
7167
|
/**
|
|
6705
|
-
* @public
|
|
6706
7168
|
* Handles cancel events on the drawer.
|
|
7169
|
+
*
|
|
7170
|
+
* @public
|
|
6707
7171
|
*/
|
|
6708
7172
|
cancelHandler(): void;
|
|
6709
|
-
protected observeRoleAttr(): void;
|
|
6710
|
-
protected updateDialogRole(): void;
|
|
6711
7173
|
}
|
|
6712
7174
|
|
|
6713
7175
|
/**
|
|
@@ -6741,12 +7203,11 @@ export declare class DrawerBody extends FASTElement {
|
|
|
6741
7203
|
}
|
|
6742
7204
|
|
|
6743
7205
|
/**
|
|
7206
|
+
* The definition for the `<fluent-drawer-body>` element.
|
|
6744
7207
|
*
|
|
6745
7208
|
* @public
|
|
6746
|
-
* @remarks
|
|
6747
|
-
* HTML Element: <fluent-drawer>
|
|
6748
7209
|
*/
|
|
6749
|
-
export declare const DrawerBodyDefinition:
|
|
7210
|
+
export declare const DrawerBodyDefinition: PartialFASTElementDefinition;
|
|
6750
7211
|
|
|
6751
7212
|
/** Drawer styles
|
|
6752
7213
|
* @public
|
|
@@ -6756,12 +7217,11 @@ export declare const DrawerBodyStyles: ElementStyles;
|
|
|
6756
7217
|
export declare const DrawerBodyTemplate: ElementViewTemplate<DrawerBody>;
|
|
6757
7218
|
|
|
6758
7219
|
/**
|
|
7220
|
+
* The definition for the `<fluent-drawer>` element.
|
|
6759
7221
|
*
|
|
6760
7222
|
* @public
|
|
6761
|
-
* @remarks
|
|
6762
|
-
* HTML Element: <fluent-drawer>
|
|
6763
7223
|
*/
|
|
6764
|
-
export declare const DrawerDefinition:
|
|
7224
|
+
export declare const DrawerDefinition: PartialFASTElementDefinition;
|
|
6765
7225
|
|
|
6766
7226
|
/**
|
|
6767
7227
|
* A drawer can be positioned on the left or right side of the viewport.
|
|
@@ -6870,13 +7330,11 @@ export declare type DropdownAppearance = ValuesOf<typeof DropdownAppearance>;
|
|
|
6870
7330
|
export declare const dropdownButtonTemplate: ViewTemplate<BaseDropdown, any>;
|
|
6871
7331
|
|
|
6872
7332
|
/**
|
|
6873
|
-
* The
|
|
7333
|
+
* The definition for the `<fluent-dropdown>` element.
|
|
6874
7334
|
*
|
|
6875
7335
|
* @public
|
|
6876
|
-
* @remarks
|
|
6877
|
-
* HTML Element: `<fluent-dropdown>`
|
|
6878
7336
|
*/
|
|
6879
|
-
export declare const DropdownDefinition:
|
|
7337
|
+
export declare const DropdownDefinition: PartialFASTElementDefinition;
|
|
6880
7338
|
|
|
6881
7339
|
/**
|
|
6882
7340
|
* The template partial for the dropdown input element. This template is used when the `type` property is set to "combobox".
|
|
@@ -6896,8 +7354,11 @@ export declare const dropdownInputTemplate: ViewTemplate<BaseDropdown, any>;
|
|
|
6896
7354
|
* @tag fluent-dropdown-option
|
|
6897
7355
|
*
|
|
6898
7356
|
* @slot - The default slot for the option's content.
|
|
7357
|
+
* @slot start - Optional content shown at the start of the option.
|
|
6899
7358
|
* @slot checked-indicator - The checked indicator.
|
|
6900
7359
|
* @slot description - Optional description content.
|
|
7360
|
+
* @csspart content - The wrapper for the option content.
|
|
7361
|
+
* @csspart description - The wrapper for the option description.
|
|
6901
7362
|
*
|
|
6902
7363
|
* @remarks
|
|
6903
7364
|
* To support single and multiple selection modes with the {@link (BaseDropdown:class)} element, the Option element
|
|
@@ -7151,13 +7612,11 @@ export declare class DropdownOption extends FASTElement implements Start {
|
|
|
7151
7612
|
}
|
|
7152
7613
|
|
|
7153
7614
|
/**
|
|
7154
|
-
* The
|
|
7615
|
+
* The definition for the `<fluent-option>` element.
|
|
7155
7616
|
*
|
|
7156
7617
|
* @public
|
|
7157
|
-
* @remarks
|
|
7158
|
-
* HTML Element: `<fluent-option>`
|
|
7159
7618
|
*/
|
|
7160
|
-
export declare const DropdownOptionDefinition:
|
|
7619
|
+
export declare const DropdownOptionDefinition: PartialFASTElementDefinition;
|
|
7161
7620
|
|
|
7162
7621
|
/**
|
|
7163
7622
|
* The options for the {@link DropdownOption} component.
|
|
@@ -7307,6 +7766,13 @@ export declare function endSlotTemplate<TSource extends StartEnd = StartEnd, TPa
|
|
|
7307
7766
|
*
|
|
7308
7767
|
* @tag fluent-field
|
|
7309
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
|
+
*
|
|
7310
7776
|
* @public
|
|
7311
7777
|
*/
|
|
7312
7778
|
export declare class Field extends BaseField {
|
|
@@ -7321,13 +7787,11 @@ export declare class Field extends BaseField {
|
|
|
7321
7787
|
}
|
|
7322
7788
|
|
|
7323
7789
|
/**
|
|
7324
|
-
* The
|
|
7790
|
+
* The definition for the `<fluent-field>` element.
|
|
7325
7791
|
*
|
|
7326
7792
|
* @public
|
|
7327
|
-
* @remarks
|
|
7328
|
-
* HTML Element: `<fluent-field>`
|
|
7329
7793
|
*/
|
|
7330
|
-
export declare const FieldDefinition:
|
|
7794
|
+
export declare const FieldDefinition: PartialFASTElementDefinition;
|
|
7331
7795
|
|
|
7332
7796
|
/**
|
|
7333
7797
|
* Label position values
|
|
@@ -7463,12 +7927,6 @@ export declare const fontWeightRegular = "var(--fontWeightRegular)";
|
|
|
7463
7927
|
*/
|
|
7464
7928
|
export declare const fontWeightSemibold = "var(--fontWeightSemibold)";
|
|
7465
7929
|
|
|
7466
|
-
/**
|
|
7467
|
-
* This can be used to construct a behavior to apply a forced-colors only stylesheet.
|
|
7468
|
-
* @public
|
|
7469
|
-
*/
|
|
7470
|
-
export declare const forcedColorsStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
|
|
7471
|
-
|
|
7472
7930
|
/**
|
|
7473
7931
|
* Determines the current localization direction of an element.
|
|
7474
7932
|
*
|
|
@@ -7484,6 +7942,8 @@ export declare const getDirection: (rootNode: HTMLElement) => Direction;
|
|
|
7484
7942
|
*
|
|
7485
7943
|
* @tag fluent-image
|
|
7486
7944
|
*
|
|
7945
|
+
* @slot - The default slot. Accepts any `<img>`, `<picture>`, `<video>`, or `<canvas>` element.
|
|
7946
|
+
*
|
|
7487
7947
|
* @public
|
|
7488
7948
|
*/
|
|
7489
7949
|
declare class Image_2 extends FASTElement {
|
|
@@ -7531,13 +7991,11 @@ declare class Image_2 extends FASTElement {
|
|
|
7531
7991
|
export { Image_2 as Image }
|
|
7532
7992
|
|
|
7533
7993
|
/**
|
|
7534
|
-
* The
|
|
7994
|
+
* The definition for the `<fluent-image>` element.
|
|
7535
7995
|
*
|
|
7536
7996
|
* @public
|
|
7537
|
-
* @remarks
|
|
7538
|
-
* HTML Element: \<fluent-image\>
|
|
7539
7997
|
*/
|
|
7540
|
-
export declare const ImageDefinition:
|
|
7998
|
+
export declare const ImageDefinition: PartialFASTElementDefinition;
|
|
7541
7999
|
|
|
7542
8000
|
/**
|
|
7543
8001
|
* Image fit
|
|
@@ -7645,6 +8103,9 @@ export declare function isTreeItem(element?: Node | null, tagName?: string): ele
|
|
|
7645
8103
|
*
|
|
7646
8104
|
* @tag fluent-label
|
|
7647
8105
|
*
|
|
8106
|
+
* @slot - The default slot. Accepts the content of the label.
|
|
8107
|
+
* @csspart asterisk - The required-field asterisk indicator.
|
|
8108
|
+
*
|
|
7648
8109
|
* @public
|
|
7649
8110
|
*/
|
|
7650
8111
|
export declare class Label extends FASTElement {
|
|
@@ -7683,14 +8144,11 @@ export declare class Label extends FASTElement {
|
|
|
7683
8144
|
}
|
|
7684
8145
|
|
|
7685
8146
|
/**
|
|
7686
|
-
* The
|
|
7687
|
-
*
|
|
8147
|
+
* The definition for the `<fluent-label>` element.
|
|
7688
8148
|
*
|
|
7689
8149
|
* @public
|
|
7690
|
-
* @remarks
|
|
7691
|
-
* HTML Element: \<fluent-label\>
|
|
7692
8150
|
*/
|
|
7693
|
-
export declare const LabelDefinition:
|
|
8151
|
+
export declare const LabelDefinition: PartialFASTElementDefinition;
|
|
7694
8152
|
|
|
7695
8153
|
/**
|
|
7696
8154
|
* A Labels font size can be small, medium, or large
|
|
@@ -7728,12 +8186,6 @@ export declare const LabelWeight: {
|
|
|
7728
8186
|
*/
|
|
7729
8187
|
export declare type LabelWeight = ValuesOf<typeof LabelWeight>;
|
|
7730
8188
|
|
|
7731
|
-
/**
|
|
7732
|
-
* This can be used to construct a behavior to apply a prefers color scheme: light only stylesheet.
|
|
7733
|
-
* @public
|
|
7734
|
-
*/
|
|
7735
|
-
export declare const lightModeStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
|
|
7736
|
-
|
|
7737
8189
|
/**
|
|
7738
8190
|
* CSS custom property value for the {@link @fluentui/tokens#lineHeightBase100 | `lineHeightBase100`} design token.
|
|
7739
8191
|
* @public
|
|
@@ -7843,11 +8295,11 @@ export declare const LinkAppearance: {
|
|
|
7843
8295
|
export declare type LinkAppearance = ValuesOf<typeof LinkAppearance>;
|
|
7844
8296
|
|
|
7845
8297
|
/**
|
|
8298
|
+
* The definition for the `<fluent-link>` element.
|
|
8299
|
+
*
|
|
7846
8300
|
* @public
|
|
7847
|
-
* @remarks
|
|
7848
|
-
* HTML Element: \<fluent-link\>
|
|
7849
8301
|
*/
|
|
7850
|
-
export declare const LinkDefinition:
|
|
8302
|
+
export declare const LinkDefinition: PartialFASTElementDefinition;
|
|
7851
8303
|
|
|
7852
8304
|
export declare const LinkStyles: ElementStyles;
|
|
7853
8305
|
|
|
@@ -7892,14 +8344,18 @@ export declare const LinkTemplate: ElementViewTemplate<Link>;
|
|
|
7892
8344
|
*/
|
|
7893
8345
|
export declare class Listbox extends FASTElement {
|
|
7894
8346
|
/**
|
|
7895
|
-
*
|
|
8347
|
+
* A reference to the default slot element.
|
|
7896
8348
|
*
|
|
7897
|
-
* @
|
|
7898
|
-
* @public
|
|
7899
|
-
* @remarks
|
|
7900
|
-
* HTML Attribute: `id`
|
|
8349
|
+
* @internal
|
|
7901
8350
|
*/
|
|
7902
|
-
|
|
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;
|
|
7903
8359
|
/**
|
|
7904
8360
|
* Indicates whether the listbox allows multiple selection.
|
|
7905
8361
|
*
|
|
@@ -7972,6 +8428,7 @@ export declare class Listbox extends FASTElement {
|
|
|
7972
8428
|
*/
|
|
7973
8429
|
clickHandler(e: PointerEvent): boolean | void;
|
|
7974
8430
|
constructor();
|
|
8431
|
+
connectedCallback(): void;
|
|
7975
8432
|
/**
|
|
7976
8433
|
* Handles observable subscriptions for the listbox.
|
|
7977
8434
|
*
|
|
@@ -7995,17 +8452,15 @@ export declare class Listbox extends FASTElement {
|
|
|
7995
8452
|
* @param e - The slotchange event
|
|
7996
8453
|
* @public
|
|
7997
8454
|
*/
|
|
7998
|
-
slotchangeHandler(e
|
|
8455
|
+
slotchangeHandler(e?: Event): void;
|
|
7999
8456
|
}
|
|
8000
8457
|
|
|
8001
8458
|
/**
|
|
8002
|
-
* The
|
|
8459
|
+
* The definition for the `<fluent-listbox>` element.
|
|
8003
8460
|
*
|
|
8004
8461
|
* @public
|
|
8005
|
-
* @remarks
|
|
8006
|
-
* HTML Element: `<fluent-listbox>`
|
|
8007
8462
|
*/
|
|
8008
|
-
export declare const ListboxDefinition:
|
|
8463
|
+
export declare const ListboxDefinition: PartialFASTElementDefinition;
|
|
8009
8464
|
|
|
8010
8465
|
/**
|
|
8011
8466
|
* Styles for the {@link (Listbox:class)} component.
|
|
@@ -8030,117 +8485,6 @@ export declare const ListboxTemplate: ElementViewTemplate<Listbox>;
|
|
|
8030
8485
|
*/
|
|
8031
8486
|
export declare function listboxTemplate<T extends Listbox>(): ElementViewTemplate<T>;
|
|
8032
8487
|
|
|
8033
|
-
/**
|
|
8034
|
-
* An abstract behavior to react to media queries. Implementations should implement
|
|
8035
|
-
* the `constructListener` method to perform some action based on media query changes.
|
|
8036
|
-
*
|
|
8037
|
-
* @public
|
|
8038
|
-
*/
|
|
8039
|
-
export declare abstract class MatchMediaBehavior implements HostBehavior {
|
|
8040
|
-
/**
|
|
8041
|
-
* The behavior needs to operate on element instances but elements might share a behavior instance.
|
|
8042
|
-
* To ensure proper attachment / detachment per instance, we construct a listener for
|
|
8043
|
-
* each bind invocation and cache the listeners by element reference.
|
|
8044
|
-
*/
|
|
8045
|
-
private listenerCache;
|
|
8046
|
-
/**
|
|
8047
|
-
* The media query that the behavior operates on.
|
|
8048
|
-
*/
|
|
8049
|
-
readonly query: MediaQueryList;
|
|
8050
|
-
/**
|
|
8051
|
-
*
|
|
8052
|
-
* @param query - The media query to operate from.
|
|
8053
|
-
*/
|
|
8054
|
-
constructor(query: MediaQueryList);
|
|
8055
|
-
/**
|
|
8056
|
-
* Constructs a function that will be invoked with the MediaQueryList context
|
|
8057
|
-
* @param controller - The host controller orchestrating this behavior.
|
|
8058
|
-
*/
|
|
8059
|
-
protected abstract constructListener(controller: HostController): MediaQueryListListener;
|
|
8060
|
-
/**
|
|
8061
|
-
* Binds the behavior to the element.
|
|
8062
|
-
* @param controller - The host controller orchestrating this behavior.
|
|
8063
|
-
*/
|
|
8064
|
-
connectedCallback(controller: HostController): void;
|
|
8065
|
-
/**
|
|
8066
|
-
* Unbinds the behavior from the element.
|
|
8067
|
-
* @param controller - The host controller orchestrating this behavior.
|
|
8068
|
-
*/
|
|
8069
|
-
disconnectedCallback(controller: HostController): void;
|
|
8070
|
-
}
|
|
8071
|
-
|
|
8072
|
-
/**
|
|
8073
|
-
* A behavior to add or remove a stylesheet from an element based on a media query. The behavior ensures that
|
|
8074
|
-
* styles are applied while the a query matches the environment and that styles are not applied if the query does
|
|
8075
|
-
* not match the environment.
|
|
8076
|
-
*
|
|
8077
|
-
* @public
|
|
8078
|
-
*/
|
|
8079
|
-
export declare class MatchMediaStyleSheetBehavior extends MatchMediaBehavior {
|
|
8080
|
-
/**
|
|
8081
|
-
* The media query that the behavior operates on.
|
|
8082
|
-
*/
|
|
8083
|
-
readonly query: MediaQueryList;
|
|
8084
|
-
/**
|
|
8085
|
-
* The styles object to be managed by the behavior.
|
|
8086
|
-
*/
|
|
8087
|
-
readonly styles: ElementStyles;
|
|
8088
|
-
/**
|
|
8089
|
-
* Constructs a {@link MatchMediaStyleSheetBehavior} instance.
|
|
8090
|
-
* @param query - The media query to operate from.
|
|
8091
|
-
* @param styles - The styles to coordinate with the query.
|
|
8092
|
-
*/
|
|
8093
|
-
constructor(query: MediaQueryList, styles: ElementStyles);
|
|
8094
|
-
/**
|
|
8095
|
-
* Defines a function to construct {@link MatchMediaStyleSheetBehavior | MatchMediaStyleSheetBehaviors} for
|
|
8096
|
-
* a provided query.
|
|
8097
|
-
* @param query - The media query to operate from.
|
|
8098
|
-
*
|
|
8099
|
-
* @public
|
|
8100
|
-
* @example
|
|
8101
|
-
*
|
|
8102
|
-
* ```ts
|
|
8103
|
-
* import { css } from "@microsoft/fast-element";
|
|
8104
|
-
* import { MatchMediaStyleSheetBehavior } from "@fluentui/web-components";
|
|
8105
|
-
*
|
|
8106
|
-
* const landscapeBehavior = MatchMediaStyleSheetBehavior.with(
|
|
8107
|
-
* window.matchMedia("(orientation: landscape)")
|
|
8108
|
-
* );
|
|
8109
|
-
*
|
|
8110
|
-
* const styles = css`
|
|
8111
|
-
* :host {
|
|
8112
|
-
* width: 200px;
|
|
8113
|
-
* height: 400px;
|
|
8114
|
-
* }
|
|
8115
|
-
* `
|
|
8116
|
-
* .withBehaviors(landscapeBehavior(css`
|
|
8117
|
-
* :host {
|
|
8118
|
-
* width: 400px;
|
|
8119
|
-
* height: 200px;
|
|
8120
|
-
* }
|
|
8121
|
-
* `))
|
|
8122
|
-
* ```
|
|
8123
|
-
*/
|
|
8124
|
-
static with(query: MediaQueryList): (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
|
|
8125
|
-
/**
|
|
8126
|
-
* Constructs a match-media listener for a provided element.
|
|
8127
|
-
* @param source - the element for which to attach or detach styles.
|
|
8128
|
-
*/
|
|
8129
|
-
protected constructListener(controller: HostController): MediaQueryListListener;
|
|
8130
|
-
/**
|
|
8131
|
-
* Unbinds the behavior from the element.
|
|
8132
|
-
* @param controller - The host controller orchestrating this behavior.
|
|
8133
|
-
* @internal
|
|
8134
|
-
*/
|
|
8135
|
-
removedCallback(controller: HostController<any>): void;
|
|
8136
|
-
}
|
|
8137
|
-
|
|
8138
|
-
/**
|
|
8139
|
-
* An event listener fired by a {@link https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList | MediaQueryList }.
|
|
8140
|
-
* @public
|
|
8141
|
-
*/
|
|
8142
|
-
export declare type MediaQueryListListener = (this: MediaQueryList, ev?: MediaQueryListEvent) => void;
|
|
8143
|
-
|
|
8144
8488
|
/**
|
|
8145
8489
|
* A Menu component that provides a customizable menu element.
|
|
8146
8490
|
*
|
|
@@ -8215,14 +8559,30 @@ export declare class Menu extends FASTElement {
|
|
|
8215
8559
|
* Holds the slotted menu list.
|
|
8216
8560
|
* @public
|
|
8217
8561
|
*/
|
|
8218
|
-
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;
|
|
8219
8570
|
/**
|
|
8220
8571
|
* Holds the slotted triggers.
|
|
8221
8572
|
* @public
|
|
8222
8573
|
*/
|
|
8223
8574
|
slottedTriggers: HTMLElement[];
|
|
8224
8575
|
/**
|
|
8225
|
-
*
|
|
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;
|
|
8584
|
+
/**
|
|
8585
|
+
* Holds the primary slot element.
|
|
8226
8586
|
* @public
|
|
8227
8587
|
*/
|
|
8228
8588
|
primaryAction: HTMLSlotElement;
|
|
@@ -8230,17 +8590,25 @@ export declare class Menu extends FASTElement {
|
|
|
8230
8590
|
* Defines whether the menu is open or not.
|
|
8231
8591
|
* @internal
|
|
8232
8592
|
*/
|
|
8233
|
-
|
|
8593
|
+
protected _open: boolean;
|
|
8234
8594
|
/**
|
|
8235
8595
|
* The trigger element of the menu.
|
|
8236
8596
|
* @internal
|
|
8237
8597
|
*/
|
|
8238
|
-
|
|
8598
|
+
protected _trigger?: HTMLElement;
|
|
8239
8599
|
/**
|
|
8240
8600
|
* The menu list element of the menu which has the popover behavior.
|
|
8241
8601
|
* @internal
|
|
8242
8602
|
*/
|
|
8243
|
-
|
|
8603
|
+
protected _menuList?: HTMLElement;
|
|
8604
|
+
/**
|
|
8605
|
+
* @internal
|
|
8606
|
+
*/
|
|
8607
|
+
protected _triggerAbortController?: AbortController;
|
|
8608
|
+
/**
|
|
8609
|
+
* @internal
|
|
8610
|
+
*/
|
|
8611
|
+
protected _menuListAbortController?: AbortController;
|
|
8244
8612
|
/**
|
|
8245
8613
|
* Called when the element is connected to the DOM.
|
|
8246
8614
|
* Sets up the component.
|
|
@@ -8255,7 +8623,8 @@ export declare class Menu extends FASTElement {
|
|
|
8255
8623
|
disconnectedCallback(): void;
|
|
8256
8624
|
/**
|
|
8257
8625
|
* Sets the component.
|
|
8258
|
-
*
|
|
8626
|
+
* @deprecated This method is no longer used. Trigger and menu-list listeners are now
|
|
8627
|
+
* managed by their respective slot-changed callbacks.
|
|
8259
8628
|
* @public
|
|
8260
8629
|
*/
|
|
8261
8630
|
setComponent(): void;
|
|
@@ -8325,23 +8694,15 @@ export declare class Menu extends FASTElement {
|
|
|
8325
8694
|
*/
|
|
8326
8695
|
closeOnScrollChanged(oldValue: boolean, newValue: boolean): void;
|
|
8327
8696
|
/**
|
|
8328
|
-
* Adds event listeners.
|
|
8329
|
-
* Adds click and keydown event listeners to the trigger.
|
|
8330
|
-
* Adds a 'toggle' event listener to the menu list.
|
|
8331
|
-
* If 'openOnHover' is true, adds a 'mouseover' event listener to the trigger.
|
|
8332
|
-
* If 'openOnContext' is true, adds a 'contextmenu' event listener to the trigger and a document 'click' event listener.
|
|
8697
|
+
* Adds trigger-related event listeners.
|
|
8333
8698
|
* @internal
|
|
8334
8699
|
*/
|
|
8335
|
-
|
|
8700
|
+
protected addTriggerListeners(): void;
|
|
8336
8701
|
/**
|
|
8337
|
-
*
|
|
8338
|
-
* Removes click and keydown event listeners from the trigger.
|
|
8339
|
-
* Also removes toggle event listener from the menu list.
|
|
8340
|
-
* Also removes 'mouseover' event listeners from the trigger.
|
|
8341
|
-
* Also removes 'contextmenu' event listeners from the trigger and document 'click' event listeners.
|
|
8702
|
+
* Adds menu-list event listeners.
|
|
8342
8703
|
* @internal
|
|
8343
8704
|
*/
|
|
8344
|
-
|
|
8705
|
+
protected addMenuListListeners(): void;
|
|
8345
8706
|
/**
|
|
8346
8707
|
* Handles keyboard interaction for the menu. Closes the menu and focuses on the trigger when the Escape key is
|
|
8347
8708
|
* pressed. Closes the menu when the Tab key is pressed.
|
|
@@ -8363,7 +8724,7 @@ export declare class Menu extends FASTElement {
|
|
|
8363
8724
|
* @internal
|
|
8364
8725
|
* @param e - The event triggered on document click.
|
|
8365
8726
|
*/
|
|
8366
|
-
|
|
8727
|
+
protected documentClickHandler: (e: any) => void;
|
|
8367
8728
|
}
|
|
8368
8729
|
|
|
8369
8730
|
/**
|
|
@@ -8394,11 +8755,11 @@ export declare const MenuButtonAppearance: {
|
|
|
8394
8755
|
export declare type MenuButtonAppearance = ValuesOf<typeof MenuButtonAppearance>;
|
|
8395
8756
|
|
|
8396
8757
|
/**
|
|
8758
|
+
* The definition for the `<fluent-menu-button>` element.
|
|
8759
|
+
*
|
|
8397
8760
|
* @public
|
|
8398
|
-
* @remarks
|
|
8399
|
-
* HTML Element: \<fluent-button\>
|
|
8400
8761
|
*/
|
|
8401
|
-
export declare const MenuButtonDefinition:
|
|
8762
|
+
export declare const MenuButtonDefinition: PartialFASTElementDefinition;
|
|
8402
8763
|
|
|
8403
8764
|
/**
|
|
8404
8765
|
* A Menu Button can be square, circular or rounded.
|
|
@@ -8439,13 +8800,11 @@ export declare type MenuButtonSize = ValuesOf<typeof MenuButtonSize>;
|
|
|
8439
8800
|
export declare const MenuButtonTemplate: ElementViewTemplate<MenuButton>;
|
|
8440
8801
|
|
|
8441
8802
|
/**
|
|
8442
|
-
* The
|
|
8803
|
+
* The definition for the `<fluent-menu>` element.
|
|
8443
8804
|
*
|
|
8444
8805
|
* @public
|
|
8445
|
-
* @remarks
|
|
8446
|
-
* HTML Element: <fluent-menu>
|
|
8447
8806
|
*/
|
|
8448
|
-
export declare const MenuDefinition:
|
|
8807
|
+
export declare const MenuDefinition: PartialFASTElementDefinition;
|
|
8449
8808
|
|
|
8450
8809
|
/**
|
|
8451
8810
|
* A Switch Custom HTML Element.
|
|
@@ -8460,7 +8819,7 @@ export declare const MenuDefinition: FASTElementDefinition<typeof Menu>;
|
|
|
8460
8819
|
* @slot submenu-glyph - The submenu expand/collapse indicator
|
|
8461
8820
|
* @slot submenu - Used to nest menu's within menu items
|
|
8462
8821
|
* @csspart content - The element wrapping the menu item content
|
|
8463
|
-
* @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
|
|
8464
8823
|
*
|
|
8465
8824
|
* @public
|
|
8466
8825
|
*/
|
|
@@ -8558,7 +8917,9 @@ export declare class MenuItem extends FASTElement {
|
|
|
8558
8917
|
* Setup required ARIA on open/close
|
|
8559
8918
|
* @internal
|
|
8560
8919
|
*/
|
|
8561
|
-
|
|
8920
|
+
handleToggle: (e: Event) => void;
|
|
8921
|
+
/** @internal */
|
|
8922
|
+
handleSubmenuFocusOut: (e: FocusEvent) => void;
|
|
8562
8923
|
/**
|
|
8563
8924
|
* @internal
|
|
8564
8925
|
*/
|
|
@@ -8582,11 +8943,11 @@ export declare interface MenuItem extends StartEnd {
|
|
|
8582
8943
|
export declare type MenuItemColumnCount = 0 | 1 | 2;
|
|
8583
8944
|
|
|
8584
8945
|
/**
|
|
8946
|
+
* The definition for the `<fluent-menu-item>` element.
|
|
8947
|
+
*
|
|
8585
8948
|
* @public
|
|
8586
|
-
* @remarks
|
|
8587
|
-
* HTML Element: <fluent-menu-item>
|
|
8588
8949
|
*/
|
|
8589
|
-
export declare const MenuItemDefinition:
|
|
8950
|
+
export declare const MenuItemDefinition: PartialFASTElementDefinition;
|
|
8590
8951
|
|
|
8591
8952
|
/**
|
|
8592
8953
|
* Menu Item configuration options
|
|
@@ -8630,7 +8991,7 @@ export declare const MenuItemStyles: ElementStyles;
|
|
|
8630
8991
|
export declare const MenuItemTemplate: ElementViewTemplate<MenuItem>;
|
|
8631
8992
|
|
|
8632
8993
|
/**
|
|
8633
|
-
* A
|
|
8994
|
+
* A MenuList Custom HTML Element.
|
|
8634
8995
|
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#menu | ARIA menu }.
|
|
8635
8996
|
*
|
|
8636
8997
|
* @tag fluent-menu-list
|
|
@@ -8639,82 +9000,19 @@ export declare const MenuItemTemplate: ElementViewTemplate<MenuItem>;
|
|
|
8639
9000
|
*
|
|
8640
9001
|
* @public
|
|
8641
9002
|
*/
|
|
8642
|
-
export declare class MenuList extends
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
*
|
|
8646
|
-
* @internal
|
|
8647
|
-
*/
|
|
8648
|
-
elementInternals: ElementInternals;
|
|
8649
|
-
/**
|
|
8650
|
-
* @internal
|
|
8651
|
-
*/
|
|
8652
|
-
items: HTMLElement[];
|
|
8653
|
-
protected itemsChanged(oldValue: HTMLElement[], newValue: HTMLElement[]): void;
|
|
8654
|
-
protected menuItems: Element[] | undefined;
|
|
8655
|
-
/**
|
|
8656
|
-
* The index of the focusable element in the items array
|
|
8657
|
-
* defaults to -1
|
|
8658
|
-
*/
|
|
8659
|
-
private focusIndex;
|
|
8660
|
-
private static focusableElementRoles;
|
|
8661
|
-
constructor();
|
|
8662
|
-
/**
|
|
8663
|
-
* @internal
|
|
8664
|
-
*/
|
|
8665
|
-
connectedCallback(): void;
|
|
8666
|
-
/**
|
|
8667
|
-
* @internal
|
|
8668
|
-
*/
|
|
9003
|
+
export declare class MenuList extends BaseMenuList {
|
|
9004
|
+
private fg?;
|
|
9005
|
+
private fgItems?;
|
|
8669
9006
|
disconnectedCallback(): void;
|
|
8670
|
-
|
|
8671
|
-
* @internal
|
|
8672
|
-
*/
|
|
8673
|
-
readonly isNestedMenu: () => boolean;
|
|
8674
|
-
/**
|
|
8675
|
-
* Focuses the first item in the menu.
|
|
8676
|
-
*
|
|
8677
|
-
* @public
|
|
8678
|
-
*/
|
|
8679
|
-
focus(): void;
|
|
8680
|
-
/**
|
|
8681
|
-
* @internal
|
|
8682
|
-
*/
|
|
8683
|
-
handleMenuKeyDown(e: KeyboardEvent): void | boolean;
|
|
8684
|
-
/**
|
|
8685
|
-
* if focus is moving out of the menu, reset to a stable initial state
|
|
8686
|
-
* @internal
|
|
8687
|
-
*/
|
|
8688
|
-
handleFocusOut: (e: FocusEvent) => void;
|
|
8689
|
-
private handleItemFocus;
|
|
8690
|
-
private removeItemListeners;
|
|
8691
|
-
private static elementIndent;
|
|
8692
|
-
protected setItems(): void;
|
|
8693
|
-
/**
|
|
8694
|
-
* Method for Observable changes to the hidden attribute of child elements
|
|
8695
|
-
*/
|
|
8696
|
-
handleChange(source: any, propertyName: string): void;
|
|
8697
|
-
/**
|
|
8698
|
-
* Handle change from child MenuItem element and set radio group behavior
|
|
8699
|
-
*/
|
|
8700
|
-
private changedMenuItemHandler;
|
|
8701
|
-
/**
|
|
8702
|
-
* check if the item is a menu item
|
|
8703
|
-
*/
|
|
8704
|
-
protected isMenuItemElement: (el: Element) => el is HTMLElement;
|
|
8705
|
-
/**
|
|
8706
|
-
* check if the item is focusable
|
|
8707
|
-
*/
|
|
8708
|
-
private isFocusableElement;
|
|
8709
|
-
private setFocus;
|
|
9007
|
+
setItems(): void;
|
|
8710
9008
|
}
|
|
8711
9009
|
|
|
8712
9010
|
/**
|
|
9011
|
+
* The definition for the `<fluent-menu-list>` element.
|
|
9012
|
+
*
|
|
8713
9013
|
* @public
|
|
8714
|
-
* @remarks
|
|
8715
|
-
* HTML Element: <fluent-menu-list>
|
|
8716
9014
|
*/
|
|
8717
|
-
export declare const MenuListDefinition:
|
|
9015
|
+
export declare const MenuListDefinition: PartialFASTElementDefinition;
|
|
8718
9016
|
|
|
8719
9017
|
/** MenuList styles
|
|
8720
9018
|
* @public
|
|
@@ -8737,7 +9035,9 @@ export declare const MenuTemplate: ElementViewTemplate<Menu>;
|
|
|
8737
9035
|
*
|
|
8738
9036
|
* @slot actions - Content that can be provided for the actions
|
|
8739
9037
|
* @slot dismiss - Content that can be provided for the dismiss button
|
|
9038
|
+
* @slot icon - Content that can be provided for the leading icon
|
|
8740
9039
|
* @slot - The default slot for the content
|
|
9040
|
+
* @fires { CustomEvent } dismiss - Fired when the message bar is dismissed.
|
|
8741
9041
|
* @public
|
|
8742
9042
|
*/
|
|
8743
9043
|
export declare class MessageBar extends FASTElement {
|
|
@@ -8773,24 +9073,24 @@ export declare class MessageBar extends FASTElement {
|
|
|
8773
9073
|
*/
|
|
8774
9074
|
intent?: MessageBarIntent;
|
|
8775
9075
|
/**
|
|
8776
|
-
* @public
|
|
8777
9076
|
* Method to emit a `dismiss` event when the message bar is dismissed
|
|
9077
|
+
*
|
|
9078
|
+
* @public
|
|
8778
9079
|
*/
|
|
8779
9080
|
dismissMessageBar: () => void;
|
|
8780
9081
|
}
|
|
8781
9082
|
|
|
8782
9083
|
/**
|
|
8783
|
-
* The
|
|
9084
|
+
* The definition for the `<fluent-message-bar>` element.
|
|
8784
9085
|
*
|
|
8785
9086
|
* @public
|
|
8786
|
-
* @remarks
|
|
8787
|
-
* HTML Element: `<fluent-message-bar>`
|
|
8788
9087
|
*/
|
|
8789
|
-
export declare const MessageBarDefinition:
|
|
9088
|
+
export declare const MessageBarDefinition: PartialFASTElementDefinition;
|
|
8790
9089
|
|
|
8791
9090
|
/**
|
|
8792
|
-
* @public
|
|
8793
9091
|
* The `intent` variations for the MessageBar component.
|
|
9092
|
+
*
|
|
9093
|
+
* @public
|
|
8794
9094
|
*/
|
|
8795
9095
|
export declare const MessageBarIntent: {
|
|
8796
9096
|
readonly success: "success";
|
|
@@ -8802,8 +9102,9 @@ export declare const MessageBarIntent: {
|
|
|
8802
9102
|
export declare type MessageBarIntent = ValuesOf<typeof MessageBarIntent>;
|
|
8803
9103
|
|
|
8804
9104
|
/**
|
|
8805
|
-
* @public
|
|
8806
9105
|
* The `layout` variations for the MessageBar component.
|
|
9106
|
+
*
|
|
9107
|
+
* @public
|
|
8807
9108
|
*/
|
|
8808
9109
|
export declare const MessageBarLayout: {
|
|
8809
9110
|
readonly multiline: "multiline";
|
|
@@ -8813,8 +9114,9 @@ export declare const MessageBarLayout: {
|
|
|
8813
9114
|
export declare type MessageBarLayout = ValuesOf<typeof MessageBarLayout>;
|
|
8814
9115
|
|
|
8815
9116
|
/**
|
|
8816
|
-
* @public
|
|
8817
9117
|
* The `shape` variations for the MessageBar component.
|
|
9118
|
+
*
|
|
9119
|
+
* @public
|
|
8818
9120
|
*/
|
|
8819
9121
|
export declare const MessageBarShape: {
|
|
8820
9122
|
readonly rounded: "rounded";
|
|
@@ -8832,15 +9134,31 @@ export declare const MessageBarStyles: ElementStyles;
|
|
|
8832
9134
|
|
|
8833
9135
|
/**
|
|
8834
9136
|
* The template for the MessageBar component.
|
|
8835
|
-
* @type
|
|
9137
|
+
* @type ElementViewTemplate
|
|
8836
9138
|
*/
|
|
8837
9139
|
export declare const MessageBarTemplate: ElementViewTemplate<MessageBar>;
|
|
8838
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
|
+
|
|
8839
9156
|
/**
|
|
8840
9157
|
* A Progress HTML Element.
|
|
8841
9158
|
* Based on BaseProgressBar and includes style and layout specific attributes
|
|
8842
9159
|
*
|
|
8843
9160
|
* @tag fluent-progress-bar
|
|
9161
|
+
* @csspart indicator - The internal progress indicator element.
|
|
8844
9162
|
*
|
|
8845
9163
|
* @public
|
|
8846
9164
|
*/
|
|
@@ -8848,27 +9166,30 @@ export declare class ProgressBar extends BaseProgressBar {
|
|
|
8848
9166
|
/**
|
|
8849
9167
|
* The thickness of the progress bar
|
|
8850
9168
|
*
|
|
8851
|
-
*
|
|
9169
|
+
* The thickness of the progress bar
|
|
9170
|
+
*
|
|
8852
9171
|
* HTML Attribute: `thickness`
|
|
9172
|
+
*
|
|
9173
|
+
* @public
|
|
8853
9174
|
*/
|
|
8854
9175
|
thickness?: ProgressBarThickness;
|
|
8855
9176
|
/**
|
|
8856
9177
|
* The shape of the progress bar
|
|
8857
|
-
*
|
|
9178
|
+
* The shape of the progress bar
|
|
9179
|
+
*
|
|
8858
9180
|
* HTML Attribute: `shape`
|
|
9181
|
+
*
|
|
9182
|
+
* @public
|
|
8859
9183
|
*/
|
|
8860
9184
|
shape?: ProgressBarShape;
|
|
8861
9185
|
}
|
|
8862
9186
|
|
|
8863
9187
|
/**
|
|
8864
|
-
* The
|
|
8865
|
-
*
|
|
9188
|
+
* The definition for the `<fluent-progress-bar>` element.
|
|
8866
9189
|
*
|
|
8867
9190
|
* @public
|
|
8868
|
-
* @remarks
|
|
8869
|
-
* HTML Element: \<fluent-progress-bar\>
|
|
8870
9191
|
*/
|
|
8871
|
-
export declare const ProgressBarDefinition:
|
|
9192
|
+
export declare const ProgressBarDefinition: PartialFASTElementDefinition;
|
|
8872
9193
|
|
|
8873
9194
|
/**
|
|
8874
9195
|
* ProgressBarShape Constants
|
|
@@ -8932,8 +9253,9 @@ declare type PropertyNameForCalculation = 'max' | 'value';
|
|
|
8932
9253
|
* @tag fluent-radio
|
|
8933
9254
|
*
|
|
8934
9255
|
* @slot checked-indicator - The checked indicator slot
|
|
8935
|
-
* @fires change - Emits a custom change event when the checked state changes
|
|
8936
|
-
* @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
|
|
8937
9259
|
*
|
|
8938
9260
|
* @public
|
|
8939
9261
|
*/
|
|
@@ -8954,7 +9276,7 @@ export declare class Radio extends BaseCheckbox {
|
|
|
8954
9276
|
* @internal
|
|
8955
9277
|
* @override
|
|
8956
9278
|
* @remarks
|
|
8957
|
-
* To make a group of radio controls required, see
|
|
9279
|
+
* To make a group of radio controls required, see `RadioGroup.required`.
|
|
8958
9280
|
*/
|
|
8959
9281
|
protected requiredChanged(): void;
|
|
8960
9282
|
/**
|
|
@@ -8962,336 +9284,67 @@ export declare class Radio extends BaseCheckbox {
|
|
|
8962
9284
|
*
|
|
8963
9285
|
* @internal
|
|
8964
9286
|
* @override
|
|
8965
|
-
* @remarks
|
|
8966
|
-
* The radio form value is controlled by the `RadioGroup` component.
|
|
8967
|
-
*/
|
|
8968
|
-
setFormValue(): void;
|
|
8969
|
-
/**
|
|
8970
|
-
* Sets the validity of the control.
|
|
8971
|
-
*
|
|
8972
|
-
* @internal
|
|
8973
|
-
* @override
|
|
8974
|
-
* @remarks
|
|
8975
|
-
* The radio component does not have a `required` attribute, so this method always sets the validity to `true`.
|
|
8976
|
-
*/
|
|
8977
|
-
setValidity(): void;
|
|
8978
|
-
/**
|
|
8979
|
-
* Toggles the checked state of the control.
|
|
8980
|
-
*
|
|
8981
|
-
* @param force - Forces the element to be checked or unchecked
|
|
8982
|
-
* @public
|
|
8983
|
-
* @override
|
|
8984
|
-
* @remarks
|
|
8985
|
-
* The radio checked state is controlled by the `RadioGroup` component, so the `force` parameter defaults to `true`.
|
|
8986
|
-
*/
|
|
8987
|
-
toggleChecked(force?: boolean): void;
|
|
8988
|
-
}
|
|
8989
|
-
|
|
8990
|
-
/**
|
|
8991
|
-
* @public
|
|
8992
|
-
*/
|
|
8993
|
-
export declare type RadioControl = Pick<HTMLInputElement, 'checked' | 'disabled' | 'focus' | 'setAttribute' | 'getAttribute'>;
|
|
8994
|
-
|
|
8995
|
-
/**
|
|
8996
|
-
* The Fluent Radio Element.
|
|
8997
|
-
*
|
|
8998
|
-
*
|
|
8999
|
-
* @public
|
|
9000
|
-
* @remarks
|
|
9001
|
-
* HTML Element: \<fluent-radio\>
|
|
9002
|
-
*/
|
|
9003
|
-
export declare const RadioDefinition: FASTElementDefinition<typeof Radio>;
|
|
9004
|
-
|
|
9005
|
-
/**
|
|
9006
|
-
* A Radio Group Custom HTML Element.
|
|
9007
|
-
* Implements the {@link https://w3c.github.io/aria/#radiogroup | ARIA `radiogroup` role}.
|
|
9008
|
-
*
|
|
9009
|
-
* @tag fluent-radio-group
|
|
9010
|
-
*
|
|
9011
|
-
* @public
|
|
9012
|
-
*
|
|
9013
|
-
* @slot - The default slot for the radio group
|
|
9014
|
-
*/
|
|
9015
|
-
export declare class RadioGroup extends FASTElement {
|
|
9016
|
-
/**
|
|
9017
|
-
* The index of the checked radio, scoped to the enabled radios.
|
|
9018
|
-
*
|
|
9019
|
-
* @internal
|
|
9020
|
-
*/
|
|
9021
|
-
protected checkedIndex: number;
|
|
9022
|
-
/**
|
|
9023
|
-
* Sets the checked state of the nearest enabled radio when the `checkedIndex` changes.
|
|
9024
|
-
*
|
|
9025
|
-
* @param prev - the previous index
|
|
9026
|
-
* @param next - the current index
|
|
9027
|
-
* @internal
|
|
9028
|
-
*/
|
|
9029
|
-
protected checkedIndexChanged(prev: number | undefined, next: number): void;
|
|
9030
|
-
/**
|
|
9031
|
-
* Indicates that the value has been changed by the user.
|
|
9032
|
-
*/
|
|
9033
|
-
private dirtyState;
|
|
9034
|
-
/**
|
|
9035
|
-
* Disables the radio group and child radios.
|
|
9036
|
-
*
|
|
9037
|
-
* @public
|
|
9038
|
-
* @remarks
|
|
9039
|
-
* HTML Attribute: `disabled`
|
|
9040
|
-
*/
|
|
9041
|
-
disabled: boolean;
|
|
9042
|
-
/**
|
|
9043
|
-
* Sets the `disabled` attribute on all child radios when the `disabled` property changes.
|
|
9044
|
-
*
|
|
9045
|
-
* @param prev - the previous disabled value
|
|
9046
|
-
* @param next - the current disabled value
|
|
9047
|
-
* @internal
|
|
9048
|
-
*/
|
|
9049
|
-
protected disabledChanged(prev?: boolean, next?: boolean): void;
|
|
9050
|
-
/**
|
|
9051
|
-
* The value of the checked radio.
|
|
9052
|
-
*
|
|
9053
|
-
* @public
|
|
9054
|
-
* @remarks
|
|
9055
|
-
* HTML Attribute: `value`
|
|
9056
|
-
*/
|
|
9057
|
-
initialValue?: string;
|
|
9058
|
-
/**
|
|
9059
|
-
* Sets the matching radio to checked when the value changes. If no radio matches the value, no radio will be checked.
|
|
9060
|
-
*
|
|
9061
|
-
* @param prev - the previous value
|
|
9062
|
-
* @param next - the current value
|
|
9063
|
-
*/
|
|
9064
|
-
initialValueChanged(prev: string | undefined, next: string | undefined): void;
|
|
9065
|
-
/**
|
|
9066
|
-
* The name of the radio group.
|
|
9067
|
-
*
|
|
9068
|
-
* @public
|
|
9069
|
-
* @remarks
|
|
9070
|
-
* HTML Attribute: `name`
|
|
9071
|
-
*/
|
|
9072
|
-
name: string;
|
|
9073
|
-
/**
|
|
9074
|
-
* Sets the `name` attribute on all child radios when the `name` property changes.
|
|
9075
|
-
*
|
|
9076
|
-
* @internal
|
|
9077
|
-
*/
|
|
9078
|
-
protected nameChanged(prev: string | undefined, next: string | undefined): void;
|
|
9079
|
-
/**
|
|
9080
|
-
* The orientation of the group.
|
|
9081
|
-
*
|
|
9082
|
-
* @public
|
|
9083
|
-
* @remarks
|
|
9084
|
-
* HTML Attribute: `orientation`
|
|
9085
|
-
*/
|
|
9086
|
-
orientation?: RadioGroupOrientation;
|
|
9087
|
-
/**
|
|
9088
|
-
* Sets the ariaOrientation attribute when the orientation changes.
|
|
9089
|
-
*
|
|
9090
|
-
* @param prev - the previous orientation
|
|
9091
|
-
* @param next - the current orientation
|
|
9092
|
-
* @internal
|
|
9093
|
-
*/
|
|
9094
|
-
orientationChanged(prev: RadioGroupOrientation | undefined, next: RadioGroupOrientation | undefined): void;
|
|
9095
|
-
/**
|
|
9096
|
-
* The collection of all child radios.
|
|
9097
|
-
*
|
|
9098
|
-
* @public
|
|
9099
|
-
*/
|
|
9100
|
-
radios: Radio[];
|
|
9101
|
-
/**
|
|
9102
|
-
* Updates the enabled radios collection when properties on the child radios change.
|
|
9103
|
-
*
|
|
9104
|
-
* @param prev - the previous radios
|
|
9105
|
-
* @param next - the current radios
|
|
9106
|
-
*/
|
|
9107
|
-
radiosChanged(prev: Radio[] | undefined, next: Radio[] | undefined): void;
|
|
9108
|
-
/**
|
|
9109
|
-
* Indicates whether the radio group is required.
|
|
9110
|
-
*
|
|
9111
|
-
* @public
|
|
9112
|
-
* @remarks
|
|
9113
|
-
* HTML Attribute: `required`
|
|
9114
|
-
*/
|
|
9115
|
-
required: boolean;
|
|
9116
|
-
/**
|
|
9117
|
-
*
|
|
9118
|
-
* @param prev - the previous required value
|
|
9119
|
-
* @param next - the current required value
|
|
9120
|
-
*/
|
|
9121
|
-
requiredChanged(prev: boolean, next: boolean): void;
|
|
9122
|
-
/**
|
|
9123
|
-
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
9124
|
-
*
|
|
9125
|
-
* @internal
|
|
9126
|
-
*/
|
|
9127
|
-
elementInternals: ElementInternals;
|
|
9128
|
-
/**
|
|
9129
|
-
* A collection of child radios that are not disabled.
|
|
9130
|
-
*
|
|
9131
|
-
* @internal
|
|
9132
|
-
*/
|
|
9133
|
-
get enabledRadios(): Radio[];
|
|
9134
|
-
/**
|
|
9135
|
-
* The form-associated flag.
|
|
9136
|
-
* @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}
|
|
9137
|
-
*
|
|
9138
|
-
* @public
|
|
9139
|
-
*/
|
|
9140
|
-
static formAssociated: boolean;
|
|
9141
|
-
/**
|
|
9142
|
-
* The fallback validation message, taken from a native checkbox `<input>` element.
|
|
9143
|
-
*
|
|
9144
|
-
* @internal
|
|
9145
|
-
*/
|
|
9146
|
-
private _validationFallbackMessage;
|
|
9147
|
-
/**
|
|
9148
|
-
* The validation message. Uses the browser's default validation message for native checkboxes if not otherwise
|
|
9149
|
-
* specified (e.g., via `setCustomValidity`).
|
|
9150
|
-
*
|
|
9151
|
-
* @internal
|
|
9152
|
-
*/
|
|
9153
|
-
get validationMessage(): string;
|
|
9154
|
-
/**
|
|
9155
|
-
* The element's validity state.
|
|
9156
|
-
*
|
|
9157
|
-
* @public
|
|
9158
|
-
* @remarks
|
|
9159
|
-
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/validity | `ElementInternals.validity`} property.
|
|
9160
|
-
*/
|
|
9161
|
-
get validity(): ValidityState;
|
|
9162
|
-
/**
|
|
9163
|
-
* The current value of the checked radio.
|
|
9164
|
-
*
|
|
9165
|
-
* @public
|
|
9166
|
-
*/
|
|
9167
|
-
get value(): string | null;
|
|
9168
|
-
set value(next: string | null);
|
|
9169
|
-
/**
|
|
9170
|
-
* Sets the checked state of all radios when any radio emits a `change` event.
|
|
9171
|
-
*
|
|
9172
|
-
* @param e - the change event
|
|
9173
|
-
*/
|
|
9174
|
-
changeHandler(e: Event): boolean | void;
|
|
9175
|
-
/**
|
|
9176
|
-
* Checks the radio at the specified index.
|
|
9177
|
-
*
|
|
9178
|
-
* @param index - the index of the radio to check
|
|
9179
|
-
* @internal
|
|
9180
|
-
*/
|
|
9181
|
-
checkRadio(index?: number, shouldEmit?: boolean): void;
|
|
9182
|
-
/**
|
|
9183
|
-
* Checks the validity of the element and returns the result.
|
|
9184
|
-
*
|
|
9185
|
-
* @public
|
|
9186
|
-
* @remarks
|
|
9187
|
-
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/checkValidity | `HTMLInputElement.checkValidity()`} method.
|
|
9188
|
-
*/
|
|
9189
|
-
checkValidity(): boolean;
|
|
9190
|
-
/**
|
|
9191
|
-
* Handles click events for the radio group.
|
|
9192
|
-
*
|
|
9193
|
-
* @param e - the click event
|
|
9194
|
-
* @internal
|
|
9195
|
-
*/
|
|
9196
|
-
clickHandler(e: MouseEvent): boolean | void;
|
|
9197
|
-
constructor();
|
|
9198
|
-
/**
|
|
9199
|
-
* Focuses the checked radio or the first enabled radio.
|
|
9200
|
-
*
|
|
9201
|
-
* @internal
|
|
9202
|
-
*/
|
|
9203
|
-
focus(): void;
|
|
9204
|
-
/**
|
|
9205
|
-
* Enables tabbing through the radio group when the group receives focus.
|
|
9206
|
-
*
|
|
9207
|
-
* @param e - the focus event
|
|
9208
|
-
* @internal
|
|
9209
|
-
*/
|
|
9210
|
-
focusinHandler(e: FocusEvent): boolean | void;
|
|
9211
|
-
/**
|
|
9212
|
-
* Sets the tabindex of the radios based on the checked state when the radio group loses focus.
|
|
9213
|
-
*
|
|
9214
|
-
* @param e - the focusout event
|
|
9215
|
-
* @internal
|
|
9216
|
-
*/
|
|
9217
|
-
focusoutHandler(e: FocusEvent): boolean | void;
|
|
9218
|
-
formResetCallback(): void;
|
|
9219
|
-
private getEnabledIndexInBounds;
|
|
9220
|
-
/**
|
|
9221
|
-
* Handles keydown events for the radio group.
|
|
9222
|
-
*
|
|
9223
|
-
* @param e - the keyboard event
|
|
9224
|
-
* @internal
|
|
9225
|
-
*/
|
|
9226
|
-
keydownHandler(e: KeyboardEvent): boolean | void;
|
|
9227
|
-
/**
|
|
9228
|
-
*
|
|
9229
|
-
* @param e - the disabled event
|
|
9230
|
-
*/
|
|
9231
|
-
disabledRadioHandler(e: CustomEvent): void;
|
|
9232
|
-
/**
|
|
9233
|
-
* Reports the validity of the element.
|
|
9234
|
-
*
|
|
9235
|
-
* @public
|
|
9236
|
-
* @remarks
|
|
9237
|
-
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/reportValidity | `HTMLInputElement.reportValidity()`} method.
|
|
9238
|
-
*/
|
|
9239
|
-
reportValidity(): boolean;
|
|
9240
|
-
/**
|
|
9241
|
-
* Resets the `tabIndex` for all child radios when the radio group loses focus.
|
|
9242
|
-
*
|
|
9243
|
-
* @internal
|
|
9244
|
-
*/
|
|
9245
|
-
private restrictFocus;
|
|
9246
|
-
/**
|
|
9247
|
-
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/setFormValue | `ElementInternals.setFormValue()`} method.
|
|
9248
|
-
*
|
|
9249
|
-
* @internal
|
|
9287
|
+
* @remarks
|
|
9288
|
+
* The radio form value is controlled by the `RadioGroup` component.
|
|
9250
9289
|
*/
|
|
9251
|
-
setFormValue(
|
|
9290
|
+
setFormValue(): void;
|
|
9252
9291
|
/**
|
|
9253
|
-
* Sets the validity of the
|
|
9254
|
-
*
|
|
9255
|
-
* @param flags - Validity flags to set.
|
|
9256
|
-
* @param message - Optional message to supply. If not provided, the element's `validationMessage` will be used.
|
|
9257
|
-
* @param anchor - Optional anchor to use for the validation message.
|
|
9292
|
+
* Sets the validity of the control.
|
|
9258
9293
|
*
|
|
9259
9294
|
* @internal
|
|
9295
|
+
* @override
|
|
9260
9296
|
* @remarks
|
|
9261
|
-
*
|
|
9262
|
-
* This is necessary because:
|
|
9263
|
-
* 1. Each Radio is form-associated (extends BaseCheckbox which has `formAssociated = true`)
|
|
9264
|
-
* 2. Browser validation UIs and screen readers announce validation against individual form controls
|
|
9265
|
-
* 3. For groups like RadioGroup, the browser needs to report the error on a specific member of the group
|
|
9266
|
-
* 4. We anchor the error to the first Radio so it receives focus and announcement
|
|
9267
|
-
*
|
|
9268
|
-
* When the group is invalid (required but no selection):
|
|
9269
|
-
* - Only the first Radio gets the invalid state with the validation message
|
|
9270
|
-
* - Other Radios are kept valid since selecting any of them would satisfy the requirement
|
|
9271
|
-
*
|
|
9272
|
-
* When the group becomes valid (user selects any Radio):
|
|
9273
|
-
* - All Radios are cleared back to valid state
|
|
9274
|
-
* - 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`.
|
|
9275
9298
|
*/
|
|
9276
|
-
setValidity(
|
|
9299
|
+
setValidity(): void;
|
|
9277
9300
|
/**
|
|
9278
|
-
*
|
|
9301
|
+
* Toggles the checked state of the control.
|
|
9279
9302
|
*
|
|
9280
|
-
* @param
|
|
9281
|
-
* @
|
|
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`.
|
|
9282
9308
|
*/
|
|
9283
|
-
|
|
9309
|
+
toggleChecked(force?: boolean): void;
|
|
9284
9310
|
}
|
|
9285
9311
|
|
|
9286
9312
|
/**
|
|
9287
|
-
*
|
|
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
|
|
9288
9329
|
*
|
|
9330
|
+
* @slot - The default slot for the radio group
|
|
9331
|
+
* @fires { Event } change - Fired when the selected radio changes.
|
|
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.
|
|
9289
9344
|
*
|
|
9290
9345
|
* @public
|
|
9291
|
-
* @remarks
|
|
9292
|
-
* HTML Element: \<fluent-radio-group\>
|
|
9293
9346
|
*/
|
|
9294
|
-
export declare const RadioGroupDefinition:
|
|
9347
|
+
export declare const RadioGroupDefinition: PartialFASTElementDefinition;
|
|
9295
9348
|
|
|
9296
9349
|
/**
|
|
9297
9350
|
* Radio Group orientation
|
|
@@ -9391,13 +9444,11 @@ export declare const RatingDisplayColor: {
|
|
|
9391
9444
|
export declare type RatingDisplayColor = ValuesOf<typeof RatingDisplayColor>;
|
|
9392
9445
|
|
|
9393
9446
|
/**
|
|
9394
|
-
* The definition for the
|
|
9447
|
+
* The definition for the `<fluent-rating-display>` element.
|
|
9395
9448
|
*
|
|
9396
9449
|
* @public
|
|
9397
|
-
* @remarks
|
|
9398
|
-
* HTML Element: `<fluent-rating-display>`
|
|
9399
9450
|
*/
|
|
9400
|
-
export declare const RatingDisplayDefinition:
|
|
9451
|
+
export declare const RatingDisplayDefinition: PartialFASTElementDefinition;
|
|
9401
9452
|
|
|
9402
9453
|
/**
|
|
9403
9454
|
* The size of a Rating Display can be `small`, `medium`, or `large`.
|
|
@@ -9455,12 +9506,6 @@ export declare const roleForMenuItem: {
|
|
|
9455
9506
|
*/
|
|
9456
9507
|
export declare function setTheme(theme: Theme | null, node?: Document | HTMLElement): void;
|
|
9457
9508
|
|
|
9458
|
-
/**
|
|
9459
|
-
* @internal
|
|
9460
|
-
* @deprecated Use `setTheme(theme, element)` instead.
|
|
9461
|
-
*/
|
|
9462
|
-
export declare function setThemeFor(element: HTMLElement, theme: Theme | null): void;
|
|
9463
|
-
|
|
9464
9509
|
/**
|
|
9465
9510
|
* CSS custom property value for the {@link @fluentui/tokens#shadow16 | `shadow16`} design token.
|
|
9466
9511
|
* @public
|
|
@@ -9541,7 +9586,7 @@ export declare const shadow8Brand = "var(--shadow8Brand)";
|
|
|
9541
9586
|
* @slot thumb - The slot for a custom thumb element.
|
|
9542
9587
|
* @csspart thumb-container - The container element of the thumb.
|
|
9543
9588
|
* @csspart track-container - The container element of the track.
|
|
9544
|
-
* @fires change - Fires a custom 'change' event when the value changes.
|
|
9589
|
+
* @fires { Event } change - Fires a custom 'change' event when the value changes.
|
|
9545
9590
|
*
|
|
9546
9591
|
* @public
|
|
9547
9592
|
*/
|
|
@@ -9751,6 +9796,13 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
|
|
|
9751
9796
|
*/
|
|
9752
9797
|
disabled: boolean;
|
|
9753
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;
|
|
9754
9806
|
/**
|
|
9755
9807
|
* The minimum allowed value.
|
|
9756
9808
|
*
|
|
@@ -9821,9 +9873,6 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
|
|
|
9821
9873
|
*/
|
|
9822
9874
|
mode: SliderMode;
|
|
9823
9875
|
constructor();
|
|
9824
|
-
/**
|
|
9825
|
-
* @internal
|
|
9826
|
-
*/
|
|
9827
9876
|
connectedCallback(): void;
|
|
9828
9877
|
/**
|
|
9829
9878
|
* @internal
|
|
@@ -9901,14 +9950,11 @@ export declare interface SliderConfiguration {
|
|
|
9901
9950
|
}
|
|
9902
9951
|
|
|
9903
9952
|
/**
|
|
9904
|
-
* The
|
|
9905
|
-
*
|
|
9953
|
+
* The definition for the `<fluent-slider>` element.
|
|
9906
9954
|
*
|
|
9907
9955
|
* @public
|
|
9908
|
-
* @remarks
|
|
9909
|
-
* HTML Element: \<fluent-slider\>
|
|
9910
9956
|
*/
|
|
9911
|
-
export declare const SliderDefinition:
|
|
9957
|
+
export declare const SliderDefinition: PartialFASTElementDefinition;
|
|
9912
9958
|
|
|
9913
9959
|
/**
|
|
9914
9960
|
* @public
|
|
@@ -10154,11 +10200,11 @@ export declare const SpinnerAppearance: {
|
|
|
10154
10200
|
export declare type SpinnerAppearance = ValuesOf<typeof SpinnerAppearance>;
|
|
10155
10201
|
|
|
10156
10202
|
/**
|
|
10203
|
+
* The definition for the `<fluent-spinner>` element.
|
|
10204
|
+
*
|
|
10157
10205
|
* @public
|
|
10158
|
-
* @remarks
|
|
10159
|
-
* HTML Element: \<fluent-spinner\>
|
|
10160
10206
|
*/
|
|
10161
|
-
export declare const SpinnerDefinition:
|
|
10207
|
+
export declare const SpinnerDefinition: PartialFASTElementDefinition;
|
|
10162
10208
|
|
|
10163
10209
|
/**
|
|
10164
10210
|
* SpinnerSize constants
|
|
@@ -10272,6 +10318,7 @@ export { styles as MenuButtonStyles }
|
|
|
10272
10318
|
* Based on BaseCheckbox and includes style and layout specific attributes
|
|
10273
10319
|
*
|
|
10274
10320
|
* @tag fluent-switch
|
|
10321
|
+
* @csspart checked-indicator - The internal switch indicator element.
|
|
10275
10322
|
*
|
|
10276
10323
|
*/
|
|
10277
10324
|
export declare class Switch extends BaseCheckbox {
|
|
@@ -10279,13 +10326,11 @@ export declare class Switch extends BaseCheckbox {
|
|
|
10279
10326
|
}
|
|
10280
10327
|
|
|
10281
10328
|
/**
|
|
10282
|
-
* The
|
|
10329
|
+
* The definition for the `<fluent-switch>` element.
|
|
10283
10330
|
*
|
|
10284
10331
|
* @public
|
|
10285
|
-
* @remarks
|
|
10286
|
-
* HTML Element: \<fluent-switch\>
|
|
10287
10332
|
*/
|
|
10288
|
-
export declare const SwitchDefinition:
|
|
10333
|
+
export declare const SwitchDefinition: PartialFASTElementDefinition;
|
|
10289
10334
|
|
|
10290
10335
|
/**
|
|
10291
10336
|
* SwitchLabelPosition Constants
|
|
@@ -10324,43 +10369,43 @@ export declare class Tab extends FASTElement {
|
|
|
10324
10369
|
* HTML Attribute: disabled
|
|
10325
10370
|
*/
|
|
10326
10371
|
disabled: boolean;
|
|
10327
|
-
|
|
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();
|
|
10328
10386
|
connectedCallback(): void;
|
|
10387
|
+
private setDisabledSideEffect;
|
|
10329
10388
|
}
|
|
10330
10389
|
|
|
10331
10390
|
export declare interface Tab extends StartEnd {
|
|
10332
10391
|
}
|
|
10333
10392
|
|
|
10334
|
-
|
|
10393
|
+
/**
|
|
10394
|
+
* The definition for the `<fluent-tab>` element.
|
|
10395
|
+
*
|
|
10396
|
+
* @public
|
|
10397
|
+
*/
|
|
10398
|
+
export declare const TabDefinition: PartialFASTElementDefinition;
|
|
10335
10399
|
|
|
10336
10400
|
/**
|
|
10337
|
-
* A
|
|
10401
|
+
* A Tablist component.
|
|
10338
10402
|
*
|
|
10339
10403
|
* @tag fluent-tablist
|
|
10404
|
+
* @fires { Event } change - Fired when the active tab changes.
|
|
10340
10405
|
*
|
|
10341
10406
|
* @public
|
|
10342
10407
|
*/
|
|
10343
10408
|
export declare class Tablist extends BaseTablist {
|
|
10344
|
-
/**
|
|
10345
|
-
* activeTabData
|
|
10346
|
-
* The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
|
|
10347
|
-
*/
|
|
10348
|
-
private activeTabData;
|
|
10349
|
-
/**
|
|
10350
|
-
* previousActiveTabData
|
|
10351
|
-
* The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
|
|
10352
|
-
*/
|
|
10353
|
-
private previousActiveTabData;
|
|
10354
|
-
/**
|
|
10355
|
-
* activeTabOffset
|
|
10356
|
-
* Used to position the active indicator for animations of the active indicator on active tab changes.
|
|
10357
|
-
*/
|
|
10358
|
-
private activeTabOffset;
|
|
10359
|
-
/**
|
|
10360
|
-
* activeTabScale
|
|
10361
|
-
* Used to scale the tab active indicator up or down as animations of the active indicator occur.
|
|
10362
|
-
*/
|
|
10363
|
-
private activeTabScale;
|
|
10364
10409
|
/**
|
|
10365
10410
|
* appearance
|
|
10366
10411
|
* There are two modes of appearance: transparent and subtle.
|
|
@@ -10372,58 +10417,10 @@ export declare class Tablist extends BaseTablist {
|
|
|
10372
10417
|
* Used to set the size of all the tab controls, which effects text size and margins. Three sizes: small, medium and large.
|
|
10373
10418
|
*/
|
|
10374
10419
|
size?: TablistSize;
|
|
10375
|
-
|
|
10376
|
-
|
|
10377
|
-
|
|
10378
|
-
|
|
10379
|
-
* These values will be applied to css variables that control the tab active indicator position animations
|
|
10380
|
-
*/
|
|
10381
|
-
private calculateAnimationProperties;
|
|
10382
|
-
/**
|
|
10383
|
-
* getSelectedTabPosition - gets the x or y coordinates of the tab
|
|
10384
|
-
*/
|
|
10385
|
-
private getTabPosition;
|
|
10386
|
-
/**
|
|
10387
|
-
* getSelectedTabScale - gets the scale of the tab
|
|
10388
|
-
*/
|
|
10389
|
-
private getTabScale;
|
|
10390
|
-
/**
|
|
10391
|
-
* Calculates and applies updated values to CSS variables.
|
|
10392
|
-
*
|
|
10393
|
-
* @param tab - the tab element to apply the updated values to
|
|
10394
|
-
* @internal
|
|
10395
|
-
*/
|
|
10396
|
-
private applyUpdatedCSSValues;
|
|
10397
|
-
/**
|
|
10398
|
-
* Runs through all the operations required for setting the tab active indicator to its starting location, ending
|
|
10399
|
-
* location, and applying the animated css class to the tab.
|
|
10400
|
-
*
|
|
10401
|
-
* @param tab - the tab element to apply the updated values to
|
|
10402
|
-
* @internal
|
|
10403
|
-
*/
|
|
10404
|
-
private animationLoop;
|
|
10405
|
-
/**
|
|
10406
|
-
* Sets the data from the active tab onto the class. used for making all the animation calculations for the active
|
|
10407
|
-
* tab indicator.
|
|
10408
|
-
*
|
|
10409
|
-
* @internal
|
|
10410
|
-
*/
|
|
10411
|
-
private setTabData;
|
|
10412
|
-
/**
|
|
10413
|
-
* Sets the css variables for the active tab indicator.
|
|
10414
|
-
* @internal
|
|
10415
|
-
*/
|
|
10416
|
-
private setAnimationVars;
|
|
10417
|
-
/**
|
|
10418
|
-
* Initiates the active tab indicator animation loop when activeid changes.
|
|
10419
|
-
* @param oldValue - the previous tabId
|
|
10420
|
-
* @param newValue - the new tabId
|
|
10421
|
-
*/
|
|
10422
|
-
activeidChanged(oldValue: string, newValue: string): void;
|
|
10423
|
-
/**
|
|
10424
|
-
* Initiates the active tab indicator animation loop when tabs change.
|
|
10425
|
-
*/
|
|
10426
|
-
tabsChanged(): void;
|
|
10420
|
+
private fg?;
|
|
10421
|
+
private fgItems?;
|
|
10422
|
+
disconnectedCallback(): void;
|
|
10423
|
+
tabsChanged(prev: Tab[] | undefined, next: Tab[] | undefined): void;
|
|
10427
10424
|
}
|
|
10428
10425
|
|
|
10429
10426
|
/**
|
|
@@ -10442,11 +10439,11 @@ export declare const TablistAppearance: {
|
|
|
10442
10439
|
export declare type TablistAppearance = ValuesOf<typeof TablistAppearance>;
|
|
10443
10440
|
|
|
10444
10441
|
/**
|
|
10442
|
+
* The definition for the `<fluent-tablist>` element.
|
|
10443
|
+
*
|
|
10445
10444
|
* @public
|
|
10446
|
-
* @remarks
|
|
10447
|
-
* HTML Element: \<fluent-tablist\>
|
|
10448
10445
|
*/
|
|
10449
|
-
export declare const TablistDefinition:
|
|
10446
|
+
export declare const TablistDefinition: PartialFASTElementDefinition;
|
|
10450
10447
|
|
|
10451
10448
|
/**
|
|
10452
10449
|
* The orientation of the component
|
|
@@ -10495,167 +10492,6 @@ export declare const TablistTemplate: ViewTemplate<Tablist, any>;
|
|
|
10495
10492
|
*/
|
|
10496
10493
|
export declare type TabOptions = StartEndOptions<Tab>;
|
|
10497
10494
|
|
|
10498
|
-
/**
|
|
10499
|
-
* @deprecated - Use tablist instead
|
|
10500
|
-
*
|
|
10501
|
-
* @tag fluent-tab-panel
|
|
10502
|
-
*/
|
|
10503
|
-
export declare class TabPanel extends FASTElement {
|
|
10504
|
-
}
|
|
10505
|
-
|
|
10506
|
-
/**
|
|
10507
|
-
* @deprecated - Use tablist instead
|
|
10508
|
-
*/
|
|
10509
|
-
export declare const TabPanelDefinition: FASTElementDefinition<typeof TabPanel>;
|
|
10510
|
-
|
|
10511
|
-
export declare const TabPanelStyles: ElementStyles;
|
|
10512
|
-
|
|
10513
|
-
export declare const TabPanelTemplate: ElementViewTemplate<TabPanel, any>;
|
|
10514
|
-
|
|
10515
|
-
/**
|
|
10516
|
-
* @deprecated - Use tablist instead
|
|
10517
|
-
*
|
|
10518
|
-
* @tag fluent-tabs
|
|
10519
|
-
*/
|
|
10520
|
-
export declare class Tabs extends BaseTabs {
|
|
10521
|
-
/**
|
|
10522
|
-
* activeTabData
|
|
10523
|
-
* The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
|
|
10524
|
-
*/
|
|
10525
|
-
private activeTabData;
|
|
10526
|
-
/**
|
|
10527
|
-
* previousActiveTabData
|
|
10528
|
-
* The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
|
|
10529
|
-
*/
|
|
10530
|
-
private previousActiveTabData;
|
|
10531
|
-
/**
|
|
10532
|
-
* activeTabOffset
|
|
10533
|
-
* Used to position the active indicator for animations of the active indicator on active tab changes.
|
|
10534
|
-
*/
|
|
10535
|
-
private activeTabOffset;
|
|
10536
|
-
/**
|
|
10537
|
-
* activeTabScale
|
|
10538
|
-
* Used to scale the tab active indicator up or down as animations of the active indicator occur.
|
|
10539
|
-
*/
|
|
10540
|
-
private activeTabScale;
|
|
10541
|
-
/**
|
|
10542
|
-
* styles
|
|
10543
|
-
* used in the class for storing the css variables required for animations
|
|
10544
|
-
*/
|
|
10545
|
-
private styles;
|
|
10546
|
-
/**
|
|
10547
|
-
* appearance
|
|
10548
|
-
* There are two modes of appearance: transparent and subtle.
|
|
10549
|
-
*/
|
|
10550
|
-
appearance?: TabsAppearance;
|
|
10551
|
-
/**
|
|
10552
|
-
* disabled
|
|
10553
|
-
* 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."
|
|
10554
|
-
*/
|
|
10555
|
-
disabled?: boolean;
|
|
10556
|
-
/**
|
|
10557
|
-
* size
|
|
10558
|
-
* defaults to medium.
|
|
10559
|
-
* Used to set the size of all the tab controls, which effects text size and margins. Three sizes: small, medium and large.
|
|
10560
|
-
*/
|
|
10561
|
-
size?: TabsSize;
|
|
10562
|
-
/**
|
|
10563
|
-
* calculateAnimationProperties
|
|
10564
|
-
*
|
|
10565
|
-
* Recalculates the active tab offset and scale.
|
|
10566
|
-
* These values will be applied to css variables that control the tab active indicator position animations
|
|
10567
|
-
*/
|
|
10568
|
-
private calculateAnimationProperties;
|
|
10569
|
-
/**
|
|
10570
|
-
* getSelectedTabPosition - gets the x or y coordinates of the tab
|
|
10571
|
-
*/
|
|
10572
|
-
private getTabPosition;
|
|
10573
|
-
/**
|
|
10574
|
-
* getSelectedTabScale - gets the scale of the tab
|
|
10575
|
-
*/
|
|
10576
|
-
private getTabScale;
|
|
10577
|
-
/**
|
|
10578
|
-
* Calculates and applies updated values to CSS variables.
|
|
10579
|
-
*
|
|
10580
|
-
* @param tab - the tab element to apply the updated values to
|
|
10581
|
-
* @internal
|
|
10582
|
-
*/
|
|
10583
|
-
private applyUpdatedCSSValues;
|
|
10584
|
-
/**
|
|
10585
|
-
* Runs through all the operations required for setting the tab active indicator to its starting location, ending
|
|
10586
|
-
* location, and applying the animated css class to the tab.
|
|
10587
|
-
*
|
|
10588
|
-
* @param tab - the tab element to apply the updated values to
|
|
10589
|
-
* @internal
|
|
10590
|
-
*/
|
|
10591
|
-
private animationLoop;
|
|
10592
|
-
/**
|
|
10593
|
-
* Gets the position data for a tab element relative to its parent
|
|
10594
|
-
* @param tab - The tab element to get position data for
|
|
10595
|
-
* @returns The position data for the tab
|
|
10596
|
-
*/
|
|
10597
|
-
private getTabPositionData;
|
|
10598
|
-
/**
|
|
10599
|
-
* Sets the data from the active tab onto the class. used for making all the animation calculations for the active
|
|
10600
|
-
* tab indicator.
|
|
10601
|
-
*
|
|
10602
|
-
* @internal
|
|
10603
|
-
*/
|
|
10604
|
-
private setTabData;
|
|
10605
|
-
private setTabOffsetCSSVar;
|
|
10606
|
-
private setTabScaleCSSVar;
|
|
10607
|
-
activeidChanged(oldValue: string, newValue: string): void;
|
|
10608
|
-
tabsChanged(): void;
|
|
10609
|
-
}
|
|
10610
|
-
|
|
10611
|
-
export declare interface Tabs extends StartEnd {
|
|
10612
|
-
}
|
|
10613
|
-
|
|
10614
|
-
export declare const TabsAppearance: {
|
|
10615
|
-
readonly subtle: "subtle";
|
|
10616
|
-
readonly transparent: "transparent";
|
|
10617
|
-
};
|
|
10618
|
-
|
|
10619
|
-
export declare type TabsAppearance = ValuesOf<typeof TabsAppearance>;
|
|
10620
|
-
|
|
10621
|
-
/**
|
|
10622
|
-
* @deprecated - Use tablist instead
|
|
10623
|
-
*/
|
|
10624
|
-
export declare const TabsDefinition: FASTElementDefinition<typeof Tabs>;
|
|
10625
|
-
|
|
10626
|
-
/**
|
|
10627
|
-
* Tabs option configuration options
|
|
10628
|
-
* @public
|
|
10629
|
-
*/
|
|
10630
|
-
export declare type TabsOptions = StartEndOptions<Tabs>;
|
|
10631
|
-
|
|
10632
|
-
/**
|
|
10633
|
-
* The orientation of the component
|
|
10634
|
-
* @public
|
|
10635
|
-
*/
|
|
10636
|
-
export declare const TabsOrientation: {
|
|
10637
|
-
readonly horizontal: "horizontal";
|
|
10638
|
-
readonly vertical: "vertical";
|
|
10639
|
-
};
|
|
10640
|
-
|
|
10641
|
-
/**
|
|
10642
|
-
* The types for the Tabs component
|
|
10643
|
-
* @public
|
|
10644
|
-
*/
|
|
10645
|
-
export declare type TabsOrientation = ValuesOf<typeof TabsOrientation>;
|
|
10646
|
-
|
|
10647
|
-
export declare const TabsSize: {
|
|
10648
|
-
readonly small: "small";
|
|
10649
|
-
readonly medium: "medium";
|
|
10650
|
-
readonly large: "large";
|
|
10651
|
-
};
|
|
10652
|
-
|
|
10653
|
-
export declare type TabsSize = ValuesOf<typeof TabsSize>;
|
|
10654
|
-
|
|
10655
|
-
export declare const TabsStyles: ElementStyles;
|
|
10656
|
-
|
|
10657
|
-
export declare const TabsTemplate: ElementViewTemplate<Tabs, any>;
|
|
10658
|
-
|
|
10659
10495
|
export declare const TabStyles: ElementStyles;
|
|
10660
10496
|
|
|
10661
10497
|
export declare const TabTemplate: ElementViewTemplate<Tab, any>;
|
|
@@ -10665,6 +10501,8 @@ export declare const TabTemplate: ElementViewTemplate<Tab, any>;
|
|
|
10665
10501
|
*
|
|
10666
10502
|
* @tag fluent-text
|
|
10667
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
|
+
*
|
|
10668
10506
|
* @public
|
|
10669
10507
|
*/
|
|
10670
10508
|
declare class Text_2 extends FASTElement {
|
|
@@ -10856,13 +10694,11 @@ export declare const TextAreaAutocomplete: {
|
|
|
10856
10694
|
export declare type TextAreaAutocomplete = ValuesOf<typeof TextAreaAutocomplete>;
|
|
10857
10695
|
|
|
10858
10696
|
/**
|
|
10859
|
-
* The
|
|
10697
|
+
* The definition for the `<fluent-textarea>` element.
|
|
10860
10698
|
*
|
|
10861
10699
|
* @public
|
|
10862
|
-
* @remarks
|
|
10863
|
-
* HTML Element: `<fluent-textarea>`
|
|
10864
10700
|
*/
|
|
10865
|
-
export declare const TextAreaDefinition:
|
|
10701
|
+
export declare const TextAreaDefinition: PartialFASTElementDefinition;
|
|
10866
10702
|
|
|
10867
10703
|
/**
|
|
10868
10704
|
* Values for the `resize` attribute on TextArea elements.
|
|
@@ -10902,14 +10738,11 @@ export declare const TextAreaStyles: ElementStyles;
|
|
|
10902
10738
|
export declare const TextAreaTemplate: ElementViewTemplate<TextArea>;
|
|
10903
10739
|
|
|
10904
10740
|
/**
|
|
10905
|
-
* The
|
|
10906
|
-
*
|
|
10741
|
+
* The definition for the `<fluent-text>` element.
|
|
10907
10742
|
*
|
|
10908
10743
|
* @public
|
|
10909
|
-
* @remarks
|
|
10910
|
-
* HTML Element: \<fluent-text\>
|
|
10911
10744
|
*/
|
|
10912
|
-
export declare const TextDefinition:
|
|
10745
|
+
export declare const TextDefinition: PartialFASTElementDefinition;
|
|
10913
10746
|
|
|
10914
10747
|
/**
|
|
10915
10748
|
* TextFont Constants
|
|
@@ -10932,6 +10765,8 @@ export declare type TextFont = ValuesOf<typeof TextFont>;
|
|
|
10932
10765
|
* Based on BaseTextInput and includes style and layout specific attributes
|
|
10933
10766
|
*
|
|
10934
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.
|
|
10935
10770
|
*
|
|
10936
10771
|
* @public
|
|
10937
10772
|
*/
|
|
@@ -10992,13 +10827,11 @@ export declare const TextInputControlSize: {
|
|
|
10992
10827
|
export declare type TextInputControlSize = ValuesOf<typeof TextInputControlSize>;
|
|
10993
10828
|
|
|
10994
10829
|
/**
|
|
10995
|
-
* The
|
|
10830
|
+
* The definition for the `<fluent-text-input>` element.
|
|
10996
10831
|
*
|
|
10997
10832
|
* @public
|
|
10998
|
-
* @remarks
|
|
10999
|
-
* HTML Element: `<fluent-text-input>`
|
|
11000
10833
|
*/
|
|
11001
|
-
export declare const TextInputDefinition:
|
|
10834
|
+
export declare const TextInputDefinition: PartialFASTElementDefinition;
|
|
11002
10835
|
|
|
11003
10836
|
/**
|
|
11004
10837
|
* TextInput configuration options.
|
|
@@ -11163,12 +10996,11 @@ export declare const ToggleButtonAppearance: {
|
|
|
11163
10996
|
export declare type ToggleButtonAppearance = ValuesOf<typeof ToggleButtonAppearance>;
|
|
11164
10997
|
|
|
11165
10998
|
/**
|
|
10999
|
+
* The definition for the `<fluent-toggle-button>` element.
|
|
11166
11000
|
*
|
|
11167
11001
|
* @public
|
|
11168
|
-
* @remarks
|
|
11169
|
-
* HTML Element: \<fluent-toggle-button\>
|
|
11170
11002
|
*/
|
|
11171
|
-
export declare const ToggleButtonDefinition:
|
|
11003
|
+
export declare const ToggleButtonDefinition: PartialFASTElementDefinition;
|
|
11172
11004
|
|
|
11173
11005
|
/**
|
|
11174
11006
|
* A Toggle Button can be square, circular or rounded.
|
|
@@ -11223,6 +11055,8 @@ export declare const ToggleButtonTemplate: ElementViewTemplate<ToggleButton>;
|
|
|
11223
11055
|
*
|
|
11224
11056
|
* @tag fluent-tooltip
|
|
11225
11057
|
*
|
|
11058
|
+
* @slot - The default slot. Accepts the content of the tooltip.
|
|
11059
|
+
*
|
|
11226
11060
|
* @public
|
|
11227
11061
|
*/
|
|
11228
11062
|
export declare class Tooltip extends FASTElement {
|
|
@@ -11276,13 +11110,13 @@ export declare class Tooltip extends FASTElement {
|
|
|
11276
11110
|
disconnectedCallback(): void;
|
|
11277
11111
|
/**
|
|
11278
11112
|
* Shows the tooltip
|
|
11279
|
-
* @param delay Number of milliseconds to delay showing the tooltip
|
|
11113
|
+
* @param delay - Number of milliseconds to delay showing the tooltip
|
|
11280
11114
|
* @internal
|
|
11281
11115
|
*/
|
|
11282
11116
|
showTooltip(delay?: number): void;
|
|
11283
11117
|
/**
|
|
11284
11118
|
* Hide the tooltip
|
|
11285
|
-
* @param delay Number of milliseconds to delay hiding the tooltip
|
|
11119
|
+
* @param delay - Number of milliseconds to delay hiding the tooltip
|
|
11286
11120
|
* @internal
|
|
11287
11121
|
*/
|
|
11288
11122
|
hideTooltip(delay?: number): void;
|
|
@@ -11302,17 +11136,24 @@ export declare class Tooltip extends FASTElement {
|
|
|
11302
11136
|
* Hide the tooltip on blur
|
|
11303
11137
|
*/
|
|
11304
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
|
+
*/
|
|
11305
11148
|
private setFallbackStyles;
|
|
11306
11149
|
}
|
|
11307
11150
|
|
|
11308
11151
|
/**
|
|
11309
|
-
* The
|
|
11152
|
+
* The definition for the `<fluent-tooltip>` element.
|
|
11310
11153
|
*
|
|
11311
11154
|
* @public
|
|
11312
|
-
* @remarks
|
|
11313
|
-
* HTML Element: `<fluent-tooltip>`
|
|
11314
11155
|
*/
|
|
11315
|
-
export declare const TooltipDefinition:
|
|
11156
|
+
export declare const TooltipDefinition: PartialFASTElementDefinition;
|
|
11316
11157
|
|
|
11317
11158
|
/**
|
|
11318
11159
|
* The TooltipPositioning options and their corresponding CSS values
|
|
@@ -11360,43 +11201,68 @@ export declare const TooltipTemplate: ViewTemplate<Tooltip, any>;
|
|
|
11360
11201
|
export declare class Tree extends BaseTree {
|
|
11361
11202
|
/**
|
|
11362
11203
|
* The size of the tree item element
|
|
11363
|
-
*
|
|
11204
|
+
* The size of the tree item element
|
|
11205
|
+
*
|
|
11364
11206
|
* HTML Attribute: size
|
|
11207
|
+
*
|
|
11208
|
+
* @public
|
|
11365
11209
|
*/
|
|
11366
11210
|
size: TreeItemSize;
|
|
11367
11211
|
protected sizeChanged(): void;
|
|
11368
11212
|
/**
|
|
11369
11213
|
* The appearance variants of the tree item element
|
|
11370
|
-
*
|
|
11214
|
+
* The appearance variants of the tree item element
|
|
11215
|
+
*
|
|
11371
11216
|
* HTML Attribute: appearance
|
|
11217
|
+
*
|
|
11218
|
+
* @public
|
|
11372
11219
|
*/
|
|
11373
11220
|
appearance: TreeItemAppearance;
|
|
11374
11221
|
protected appearanceChanged(): void;
|
|
11222
|
+
private fg?;
|
|
11223
|
+
private fgItems?;
|
|
11375
11224
|
/**
|
|
11376
11225
|
* child tree items supered change event
|
|
11377
11226
|
* @internal
|
|
11378
11227
|
*/
|
|
11379
11228
|
childTreeItemsChanged(): void;
|
|
11229
|
+
disconnectedCallback(): void;
|
|
11380
11230
|
/**
|
|
11381
11231
|
* 1. Update the child items' size based on the tree's size
|
|
11382
11232
|
* 2. Update the child items' appearance based on the tree's appearance
|
|
11383
11233
|
*/
|
|
11384
11234
|
updateSizeAndAppearance(): void;
|
|
11235
|
+
/** @internal */
|
|
11236
|
+
itemToggleHandler(): void;
|
|
11385
11237
|
}
|
|
11386
11238
|
|
|
11387
11239
|
/**
|
|
11240
|
+
* The definition for the `<fluent-tree>` element.
|
|
11388
11241
|
*
|
|
11389
11242
|
* @public
|
|
11390
|
-
* @remarks
|
|
11391
|
-
* HTML Element: \<fluent-tree\>
|
|
11392
11243
|
*/
|
|
11393
|
-
export declare const TreeDefinition:
|
|
11244
|
+
export declare const TreeDefinition: PartialFASTElementDefinition;
|
|
11394
11245
|
|
|
11395
11246
|
/**
|
|
11396
11247
|
* The Fluent Tree Item Element. Implements {@link @microsoft/fast-foundation#BaseTreeItem}.
|
|
11397
11248
|
*
|
|
11398
11249
|
* @tag fluent-tree-item
|
|
11399
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
|
+
*
|
|
11400
11266
|
*/
|
|
11401
11267
|
export declare class TreeItem extends BaseTreeItem {
|
|
11402
11268
|
/**
|
|
@@ -11444,12 +11310,11 @@ export declare const TreeItemAppearance: {
|
|
|
11444
11310
|
export declare type TreeItemAppearance = ValuesOf<typeof TreeItemAppearance>;
|
|
11445
11311
|
|
|
11446
11312
|
/**
|
|
11313
|
+
* The definition for the `<fluent-tree-item>` element.
|
|
11447
11314
|
*
|
|
11448
11315
|
* @public
|
|
11449
|
-
* @remarks
|
|
11450
|
-
* HTML Element: \<fluent-tree-item\>
|
|
11451
11316
|
*/
|
|
11452
|
-
export declare const TreeItemDefinition:
|
|
11317
|
+
export declare const TreeItemDefinition: PartialFASTElementDefinition;
|
|
11453
11318
|
|
|
11454
11319
|
export declare const TreeItemSize: {
|
|
11455
11320
|
readonly small: "small";
|