@fluentui/web-components 3.0.0-rc.9 → 3.0.1
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 +9023 -7872
- 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 +9 -2
- 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 -58
- 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 -77
- 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 +40 -3
- 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 +88 -32
- 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 +47 -18
- 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 +87 -53
- 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 +2 -0
- 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 +2 -0
- package/dist/esm/message-bar/message-bar.js.map +1 -1
- package/dist/esm/message-bar/message-bar.options.d.ts +6 -0
- package/dist/esm/message-bar/message-bar.options.js +7 -0
- 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 +22 -7
- package/dist/esm/progress-bar/progress-bar.base.js +37 -19
- 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 +1 -0
- 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.js +1 -1
- 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 +85 -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 +9 -5
- package/dist/esm/textarea/textarea.base.js +54 -35
- 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/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 +5 -0
- 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 +23 -0
- 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 +23 -3
- package/dist/esm/tree-item/tree-item.base.js +61 -19
- 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 +1185 -1379
- package/dist/web-components.js +8405 -8022
- 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
|
*
|
|
@@ -2251,7 +2464,7 @@ export declare class BaseProgressBar extends FASTElement {
|
|
|
2251
2464
|
*
|
|
2252
2465
|
* HTML Attribute: `value`
|
|
2253
2466
|
*
|
|
2254
|
-
* @
|
|
2467
|
+
* @public
|
|
2255
2468
|
*/
|
|
2256
2469
|
value?: number;
|
|
2257
2470
|
/**
|
|
@@ -2266,7 +2479,7 @@ export declare class BaseProgressBar extends FASTElement {
|
|
|
2266
2479
|
*
|
|
2267
2480
|
* HTML Attribute: `min`
|
|
2268
2481
|
*
|
|
2269
|
-
* @
|
|
2482
|
+
* @public
|
|
2270
2483
|
*/
|
|
2271
2484
|
min?: number;
|
|
2272
2485
|
/**
|
|
@@ -2282,7 +2495,7 @@ export declare class BaseProgressBar extends FASTElement {
|
|
|
2282
2495
|
*
|
|
2283
2496
|
* HTML Attribute: `max`
|
|
2284
2497
|
*
|
|
2285
|
-
* @
|
|
2498
|
+
* @public
|
|
2286
2499
|
*/
|
|
2287
2500
|
max?: number;
|
|
2288
2501
|
/**
|
|
@@ -2294,313 +2507,297 @@ export declare class BaseProgressBar extends FASTElement {
|
|
|
2294
2507
|
*/
|
|
2295
2508
|
protected maxChanged(prev: number | undefined, next: number | undefined): void;
|
|
2296
2509
|
constructor();
|
|
2297
|
-
|
|
2298
|
-
|
|
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;
|
|
2299
2518
|
}
|
|
2300
2519
|
|
|
2301
2520
|
/**
|
|
2302
|
-
*
|
|
2521
|
+
* A Base Radio Group Custom HTML Element.
|
|
2522
|
+
* Implements the {@link https://w3c.github.io/aria/#radiogroup | ARIA `radiogroup` role}.
|
|
2303
2523
|
*
|
|
2304
|
-
* @
|
|
2524
|
+
* @fires { Event } change - Fires a custom 'change' event when the checked radio changes
|
|
2305
2525
|
*
|
|
2306
2526
|
* @public
|
|
2307
2527
|
*/
|
|
2308
|
-
export declare class
|
|
2309
|
-
private
|
|
2528
|
+
export declare class BaseRadioGroup extends FASTElement {
|
|
2529
|
+
private isNavigating;
|
|
2310
2530
|
/**
|
|
2311
|
-
* The
|
|
2531
|
+
* The index of the checked radio, scoped to the enabled radios.
|
|
2312
2532
|
*
|
|
2313
2533
|
* @internal
|
|
2314
2534
|
*/
|
|
2315
|
-
|
|
2316
|
-
/** @internal */
|
|
2317
|
-
iconSlot: HTMLSlotElement;
|
|
2318
|
-
protected defaultCustomIconViewBox: string;
|
|
2535
|
+
protected checkedIndex: number;
|
|
2319
2536
|
/**
|
|
2320
|
-
*
|
|
2537
|
+
* Sets the checked state of the nearest enabled radio when the `checkedIndex` changes.
|
|
2538
|
+
*
|
|
2539
|
+
* @param prev - the previous index
|
|
2540
|
+
* @param next - the current index
|
|
2321
2541
|
* @internal
|
|
2322
2542
|
*/
|
|
2323
|
-
|
|
2543
|
+
protected checkedIndexChanged(prev: number | undefined, next: number): void;
|
|
2324
2544
|
/**
|
|
2325
|
-
*
|
|
2326
|
-
*
|
|
2327
|
-
* @public
|
|
2328
|
-
* @remarks
|
|
2329
|
-
* HTML Attribute: `count`
|
|
2545
|
+
* Indicates that the value has been changed by the user.
|
|
2330
2546
|
*/
|
|
2331
|
-
|
|
2547
|
+
private dirtyState;
|
|
2332
2548
|
/**
|
|
2333
|
-
*
|
|
2549
|
+
* Disables the radio group and child radios.
|
|
2334
2550
|
*
|
|
2335
2551
|
* @public
|
|
2336
2552
|
* @remarks
|
|
2337
|
-
* HTML Attribute: `
|
|
2338
|
-
* @deprecated Add `viewBox` attribute on the custom SVG directly.
|
|
2553
|
+
* HTML Attribute: `disabled`
|
|
2339
2554
|
*/
|
|
2340
|
-
|
|
2555
|
+
disabled: boolean;
|
|
2341
2556
|
/**
|
|
2342
|
-
*
|
|
2343
|
-
* This attribute determines the number of icons displayed.
|
|
2344
|
-
* Must be a whole number greater than 1.
|
|
2557
|
+
* Sets the `disabled` attribute on all child radios when the `disabled` property changes.
|
|
2345
2558
|
*
|
|
2346
|
-
* @
|
|
2347
|
-
* @
|
|
2348
|
-
*
|
|
2559
|
+
* @param prev - the previous disabled value
|
|
2560
|
+
* @param next - the current disabled value
|
|
2561
|
+
* @internal
|
|
2349
2562
|
*/
|
|
2350
|
-
|
|
2351
|
-
protected maxChanged(): void;
|
|
2563
|
+
protected disabledChanged(prev?: boolean, next?: boolean): void;
|
|
2352
2564
|
/**
|
|
2353
|
-
* The value of the
|
|
2565
|
+
* The value of the checked radio.
|
|
2354
2566
|
*
|
|
2355
2567
|
* @public
|
|
2356
2568
|
* @remarks
|
|
2357
2569
|
* HTML Attribute: `value`
|
|
2358
2570
|
*/
|
|
2359
|
-
|
|
2360
|
-
protected valueChanged(): void;
|
|
2361
|
-
constructor();
|
|
2362
|
-
connectedCallback(): void;
|
|
2571
|
+
initialValue?: string;
|
|
2363
2572
|
/**
|
|
2364
|
-
*
|
|
2573
|
+
* Sets the matching radio to checked when the value changes. If no radio matches the value, no radio will be checked.
|
|
2365
2574
|
*
|
|
2366
|
-
* @
|
|
2575
|
+
* @param prev - the previous value
|
|
2576
|
+
* @param next - the current value
|
|
2367
2577
|
*/
|
|
2368
|
-
|
|
2369
|
-
/** @internal */
|
|
2370
|
-
handleSlotChange(): void;
|
|
2371
|
-
protected renderSlottedIcon(svg: SVGSVGElement | null): void;
|
|
2372
|
-
protected setCustomPropertyValue(propertyName: PropertyNameForCalculation): void;
|
|
2373
|
-
}
|
|
2374
|
-
|
|
2375
|
-
/**
|
|
2376
|
-
* The base class used for constructing a fluent-spinner custom element
|
|
2377
|
-
* @public
|
|
2378
|
-
*/
|
|
2379
|
-
export declare class BaseSpinner extends FASTElement {
|
|
2578
|
+
initialValueChanged(prev: string | undefined, next: string | undefined): void;
|
|
2380
2579
|
/**
|
|
2381
|
-
* The
|
|
2580
|
+
* The name of the radio group.
|
|
2382
2581
|
*
|
|
2383
|
-
* @
|
|
2582
|
+
* @public
|
|
2583
|
+
* @remarks
|
|
2584
|
+
* HTML Attribute: `name`
|
|
2384
2585
|
*/
|
|
2385
|
-
|
|
2386
|
-
constructor();
|
|
2387
|
-
}
|
|
2388
|
-
|
|
2389
|
-
/**
|
|
2390
|
-
* A Tablist element that wraps a collection of tab elements
|
|
2391
|
-
* @public
|
|
2392
|
-
*/
|
|
2393
|
-
export declare class BaseTablist extends FASTElement {
|
|
2586
|
+
name: string;
|
|
2394
2587
|
/**
|
|
2395
|
-
*
|
|
2588
|
+
* Sets the `name` attribute on all child radios when the `name` property changes.
|
|
2396
2589
|
*
|
|
2397
2590
|
* @internal
|
|
2398
2591
|
*/
|
|
2399
|
-
|
|
2592
|
+
protected nameChanged(prev: string | undefined, next: string | undefined): void;
|
|
2400
2593
|
/**
|
|
2401
|
-
*
|
|
2594
|
+
* The orientation of the group.
|
|
2595
|
+
*
|
|
2402
2596
|
* @public
|
|
2403
2597
|
* @remarks
|
|
2404
|
-
* HTML Attribute:
|
|
2598
|
+
* HTML Attribute: `orientation`
|
|
2405
2599
|
*/
|
|
2406
|
-
|
|
2600
|
+
orientation?: RadioGroupOrientation;
|
|
2407
2601
|
/**
|
|
2408
|
-
*
|
|
2409
|
-
* @param prev - previous value
|
|
2410
|
-
* @param next - next value
|
|
2602
|
+
* Sets the ariaOrientation attribute when the orientation changes.
|
|
2411
2603
|
*
|
|
2604
|
+
* @param prev - the previous orientation
|
|
2605
|
+
* @param next - the current orientation
|
|
2412
2606
|
* @internal
|
|
2413
2607
|
*/
|
|
2414
|
-
|
|
2608
|
+
orientationChanged(prev: RadioGroupOrientation | undefined, next: RadioGroupOrientation | undefined): void;
|
|
2415
2609
|
/**
|
|
2416
|
-
* The
|
|
2610
|
+
* The collection of all child radios.
|
|
2611
|
+
*
|
|
2417
2612
|
* @public
|
|
2418
|
-
* @remarks
|
|
2419
|
-
* HTML Attribute: orientation
|
|
2420
2613
|
*/
|
|
2421
|
-
|
|
2614
|
+
radios: Radio[];
|
|
2422
2615
|
/**
|
|
2423
|
-
*
|
|
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
|
|
2424
2620
|
*/
|
|
2425
|
-
|
|
2621
|
+
radiosChanged(prev: Radio[] | undefined, next: Radio[] | undefined): void;
|
|
2426
2622
|
/**
|
|
2427
|
-
*
|
|
2623
|
+
* Indicates whether the radio group is required.
|
|
2428
2624
|
*
|
|
2429
2625
|
* @public
|
|
2430
2626
|
* @remarks
|
|
2431
|
-
* HTML Attribute:
|
|
2627
|
+
* HTML Attribute: `required`
|
|
2432
2628
|
*/
|
|
2433
|
-
|
|
2629
|
+
required: boolean;
|
|
2434
2630
|
/**
|
|
2435
|
-
*
|
|
2631
|
+
*
|
|
2632
|
+
* @param prev - the previous required value
|
|
2633
|
+
* @param next - the current required value
|
|
2436
2634
|
*/
|
|
2437
|
-
|
|
2635
|
+
requiredChanged(prev: boolean, next: boolean): void;
|
|
2438
2636
|
/**
|
|
2439
|
-
*
|
|
2637
|
+
* The collection of radios that are slotted into the default slot.
|
|
2638
|
+
*
|
|
2440
2639
|
* @internal
|
|
2441
2640
|
*/
|
|
2442
|
-
|
|
2641
|
+
slottedRadios: Radio[];
|
|
2443
2642
|
/**
|
|
2444
|
-
* Updates the
|
|
2445
|
-
*
|
|
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
|
|
2446
2647
|
*/
|
|
2447
|
-
|
|
2648
|
+
slottedRadiosChanged(prev: Radio[] | undefined, next: Radio[]): void;
|
|
2448
2649
|
/**
|
|
2650
|
+
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
2651
|
+
*
|
|
2449
2652
|
* @internal
|
|
2450
2653
|
*/
|
|
2451
|
-
|
|
2654
|
+
elementInternals: ElementInternals;
|
|
2452
2655
|
/**
|
|
2656
|
+
* A collection of child radios that are not disabled.
|
|
2657
|
+
*
|
|
2453
2658
|
* @internal
|
|
2454
2659
|
*/
|
|
2455
|
-
|
|
2660
|
+
get enabledRadios(): Radio[];
|
|
2456
2661
|
/**
|
|
2457
|
-
*
|
|
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
|
+
*
|
|
2458
2665
|
* @public
|
|
2459
2666
|
*/
|
|
2460
|
-
|
|
2461
|
-
private prevActiveTabIndex;
|
|
2462
|
-
private activeTabIndex;
|
|
2463
|
-
private tabIds;
|
|
2464
|
-
private tabPanelMap;
|
|
2465
|
-
private change;
|
|
2466
|
-
private getActiveIndex;
|
|
2667
|
+
static formAssociated: boolean;
|
|
2467
2668
|
/**
|
|
2468
|
-
*
|
|
2669
|
+
* The fallback validation message, taken from a native checkbox `<input>` element.
|
|
2469
2670
|
*
|
|
2470
|
-
* @
|
|
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
|
|
2471
2679
|
*/
|
|
2472
|
-
|
|
2473
|
-
private getTabIds;
|
|
2474
|
-
private setComponent;
|
|
2475
|
-
private handleTabClick;
|
|
2476
|
-
private isHorizontal;
|
|
2477
|
-
private handleTabKeyDown;
|
|
2680
|
+
get validationMessage(): string;
|
|
2478
2681
|
/**
|
|
2479
|
-
* The
|
|
2682
|
+
* The element's validity state.
|
|
2683
|
+
*
|
|
2480
2684
|
* @public
|
|
2481
2685
|
* @remarks
|
|
2482
|
-
*
|
|
2686
|
+
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/validity | `ElementInternals.validity`} property.
|
|
2483
2687
|
*/
|
|
2484
|
-
|
|
2485
|
-
private activateTabByIndex;
|
|
2486
|
-
private focusTab;
|
|
2688
|
+
get validity(): ValidityState;
|
|
2487
2689
|
/**
|
|
2488
|
-
*
|
|
2690
|
+
* The current value of the checked radio.
|
|
2691
|
+
*
|
|
2692
|
+
* @public
|
|
2489
2693
|
*/
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
/**
|
|
2494
|
-
* A Tabs component that wraps a collection of tab and tab panel elements.
|
|
2495
|
-
*
|
|
2496
|
-
* @deprecated - use tablist instead
|
|
2497
|
-
*/
|
|
2498
|
-
declare class BaseTabs extends FASTElement {
|
|
2694
|
+
get value(): string | null;
|
|
2695
|
+
set value(next: string | null);
|
|
2499
2696
|
/**
|
|
2500
|
-
*
|
|
2501
|
-
*
|
|
2502
|
-
* @
|
|
2503
|
-
* 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
|
|
2504
2700
|
*/
|
|
2505
|
-
|
|
2701
|
+
changeHandler(e: Event): boolean | void;
|
|
2506
2702
|
/**
|
|
2703
|
+
* Checks the radio at the specified index.
|
|
2704
|
+
*
|
|
2705
|
+
* @param index - the index of the radio to check
|
|
2507
2706
|
* @internal
|
|
2508
2707
|
*/
|
|
2509
|
-
|
|
2708
|
+
checkRadio(index?: number, shouldEmit?: boolean): void;
|
|
2510
2709
|
/**
|
|
2511
|
-
*
|
|
2710
|
+
* Checks the validity of the element and returns the result.
|
|
2512
2711
|
*
|
|
2513
2712
|
* @public
|
|
2514
2713
|
* @remarks
|
|
2515
|
-
*
|
|
2516
|
-
*/
|
|
2517
|
-
activeid: string;
|
|
2518
|
-
/**
|
|
2519
|
-
* @internal
|
|
2714
|
+
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/checkValidity | `HTMLInputElement.checkValidity()`} method.
|
|
2520
2715
|
*/
|
|
2521
|
-
|
|
2716
|
+
checkValidity(): boolean;
|
|
2522
2717
|
/**
|
|
2718
|
+
* Handles click events for the radio group.
|
|
2719
|
+
*
|
|
2720
|
+
* @param e - the click event
|
|
2523
2721
|
* @internal
|
|
2524
2722
|
*/
|
|
2525
|
-
|
|
2723
|
+
clickHandler(e: MouseEvent): boolean | void;
|
|
2724
|
+
constructor();
|
|
2526
2725
|
/**
|
|
2726
|
+
* Focuses the checked radio or the first enabled radio.
|
|
2727
|
+
*
|
|
2527
2728
|
* @internal
|
|
2528
2729
|
*/
|
|
2529
|
-
|
|
2730
|
+
focus(): void;
|
|
2731
|
+
formResetCallback(): void;
|
|
2530
2732
|
/**
|
|
2733
|
+
* Enables tabbing through the radio group when the group receives focus.
|
|
2734
|
+
*
|
|
2735
|
+
* @param e - the focus event
|
|
2531
2736
|
* @internal
|
|
2532
2737
|
*/
|
|
2533
|
-
|
|
2738
|
+
focusinHandler(e: FocusEvent): boolean | void;
|
|
2534
2739
|
/**
|
|
2740
|
+
* Handles keydown events for the radio group.
|
|
2741
|
+
*
|
|
2742
|
+
* @param e - the keyboard event
|
|
2535
2743
|
* @internal
|
|
2536
2744
|
*/
|
|
2537
|
-
|
|
2745
|
+
keydownHandler(e: KeyboardEvent): boolean | void;
|
|
2538
2746
|
/**
|
|
2539
|
-
*
|
|
2540
|
-
* @
|
|
2747
|
+
*
|
|
2748
|
+
* @param e - the disabled event
|
|
2541
2749
|
*/
|
|
2542
|
-
|
|
2543
|
-
private prevActiveTabIndex;
|
|
2544
|
-
private activeTabIndex;
|
|
2545
|
-
private tabIds;
|
|
2546
|
-
private tabpanelIds;
|
|
2547
|
-
private change;
|
|
2548
|
-
private isDisabledElement;
|
|
2549
|
-
private isHiddenElement;
|
|
2550
|
-
private isFocusableElement;
|
|
2551
|
-
private getActiveIndex;
|
|
2750
|
+
disabledRadioHandler(e: CustomEvent): void;
|
|
2552
2751
|
/**
|
|
2553
|
-
*
|
|
2752
|
+
* Reports the validity of the element.
|
|
2554
2753
|
*
|
|
2555
2754
|
* @public
|
|
2755
|
+
* @remarks
|
|
2756
|
+
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/reportValidity | `HTMLInputElement.reportValidity()`} method.
|
|
2556
2757
|
*/
|
|
2557
|
-
|
|
2558
|
-
private setTabPanels;
|
|
2559
|
-
private getTabIds;
|
|
2560
|
-
private getTabPanelIds;
|
|
2561
|
-
private setComponent;
|
|
2562
|
-
private handleTabClick;
|
|
2563
|
-
private isHorizontal;
|
|
2564
|
-
private handleTabKeyDown;
|
|
2758
|
+
reportValidity(): boolean;
|
|
2565
2759
|
/**
|
|
2566
|
-
*
|
|
2567
|
-
*
|
|
2568
|
-
* @
|
|
2569
|
-
* 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
|
|
2570
2763
|
*/
|
|
2571
|
-
|
|
2572
|
-
private adjustForward;
|
|
2573
|
-
private adjustBackward;
|
|
2574
|
-
private moveToTabByIndex;
|
|
2575
|
-
private focusTab;
|
|
2764
|
+
setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
|
|
2576
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
|
+
*
|
|
2577
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
|
|
2578
2788
|
*/
|
|
2579
|
-
|
|
2789
|
+
setValidity(flags?: Partial<ValidityState>, message?: string, anchor?: HTMLElement): void;
|
|
2580
2790
|
}
|
|
2581
2791
|
|
|
2582
2792
|
/**
|
|
2583
|
-
*
|
|
2584
|
-
* 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
|
|
2585
2794
|
*
|
|
2586
|
-
* @slot -
|
|
2587
|
-
* @slot label - The content for the `<label>`, it should be a `<fluent-label>` element.
|
|
2588
|
-
* @csspart label - The `<label>` element.
|
|
2589
|
-
* @csspart root - The container element of the `<textarea>` element.
|
|
2590
|
-
* @csspart control - The internal `<textarea>` element.
|
|
2591
|
-
* @fires change - Fires after the control loses focus, if the content has changed.
|
|
2592
|
-
* @fires select - Fires when the `select()` method is called.
|
|
2795
|
+
* @slot icon - SVG element used as the rating icon
|
|
2593
2796
|
*
|
|
2594
2797
|
* @public
|
|
2595
2798
|
*/
|
|
2596
|
-
export declare class
|
|
2597
|
-
|
|
2598
|
-
* The form-associated flag.
|
|
2599
|
-
* @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}
|
|
2600
|
-
*
|
|
2601
|
-
* @public
|
|
2602
|
-
*/
|
|
2603
|
-
static readonly formAssociated = true;
|
|
2799
|
+
export declare class BaseRatingDisplay extends FASTElement {
|
|
2800
|
+
private numberFormatter;
|
|
2604
2801
|
/**
|
|
2605
2802
|
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
2606
2803
|
*
|
|
@@ -2608,20 +2805,211 @@ export declare class BaseTextArea extends FASTElement {
|
|
|
2608
2805
|
*/
|
|
2609
2806
|
elementInternals: ElementInternals;
|
|
2610
2807
|
/**
|
|
2611
|
-
*
|
|
2808
|
+
* Reference to the slot element used for the rating icon.
|
|
2809
|
+
*
|
|
2612
2810
|
* @internal
|
|
2613
2811
|
*/
|
|
2614
|
-
|
|
2812
|
+
iconSlot: HTMLSlotElement;
|
|
2615
2813
|
/**
|
|
2616
|
-
*
|
|
2814
|
+
* Updates the icon when the referenced slot is bound in the template.
|
|
2815
|
+
*
|
|
2617
2816
|
* @internal
|
|
2618
2817
|
*/
|
|
2619
|
-
|
|
2818
|
+
iconSlotChanged(): void;
|
|
2819
|
+
protected defaultCustomIconViewBox: string;
|
|
2620
2820
|
/**
|
|
2621
|
-
* The
|
|
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
|
+
/**
|
|
2979
|
+
* The form-associated flag.
|
|
2980
|
+
* @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}
|
|
2981
|
+
*
|
|
2982
|
+
* @public
|
|
2983
|
+
*/
|
|
2984
|
+
static readonly formAssociated = true;
|
|
2985
|
+
/**
|
|
2986
|
+
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
2987
|
+
*
|
|
2988
|
+
* @internal
|
|
2989
|
+
*/
|
|
2990
|
+
elementInternals: ElementInternals;
|
|
2991
|
+
/**
|
|
2992
|
+
* The `<label>` element.
|
|
2993
|
+
* @internal
|
|
2994
|
+
*/
|
|
2995
|
+
labelEl: HTMLLabelElement;
|
|
2996
|
+
/**
|
|
2997
|
+
* The root container element.
|
|
2998
|
+
* @internal
|
|
2999
|
+
*/
|
|
3000
|
+
rootEl: HTMLDivElement;
|
|
3001
|
+
/**
|
|
3002
|
+
* The `<textarea>` element.
|
|
2622
3003
|
* @internal
|
|
2623
3004
|
*/
|
|
2624
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;
|
|
2625
3013
|
/**
|
|
2626
3014
|
* @internal
|
|
2627
3015
|
*/
|
|
@@ -2906,13 +3294,10 @@ export declare class BaseTextArea extends FASTElement {
|
|
|
2906
3294
|
* @public
|
|
2907
3295
|
*/
|
|
2908
3296
|
select(): void;
|
|
2909
|
-
private setDefaultValue;
|
|
2910
|
-
private bindEvents;
|
|
2911
3297
|
/**
|
|
2912
3298
|
* Gets the content inside the light DOM, if any HTML element is present, use its `outerHTML` value.
|
|
2913
3299
|
*/
|
|
2914
3300
|
private getContent;
|
|
2915
|
-
private observeControlElAttrs;
|
|
2916
3301
|
private setDisabledSideEffect;
|
|
2917
3302
|
private toggleUserValidityState;
|
|
2918
3303
|
private maybeCreateAutoSizerEl;
|
|
@@ -2940,6 +3325,10 @@ export declare class BaseTextArea extends FASTElement {
|
|
|
2940
3325
|
* @csspart label - The internal `<label>` element
|
|
2941
3326
|
* @csspart root - the root container for the internal control
|
|
2942
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
|
+
*
|
|
2943
3332
|
* @public
|
|
2944
3333
|
*/
|
|
2945
3334
|
export declare class BaseTextInput extends FASTElement {
|
|
@@ -2952,15 +3341,6 @@ export declare class BaseTextInput extends FASTElement {
|
|
|
2952
3341
|
* HTML Attribute: `autocomplete`
|
|
2953
3342
|
*/
|
|
2954
3343
|
autocomplete?: string;
|
|
2955
|
-
/**
|
|
2956
|
-
* Indicates that the element should get focus after the page finishes loading.
|
|
2957
|
-
* @see The {@link https://developer.mozilla.org/docs/Web/HTML/Element/input#autofocus | `autofocus`} attribute
|
|
2958
|
-
*
|
|
2959
|
-
* @public
|
|
2960
|
-
* @remarks
|
|
2961
|
-
* HTML Attribute: `autofocus`
|
|
2962
|
-
*/
|
|
2963
|
-
autofocus: boolean;
|
|
2964
3344
|
/**
|
|
2965
3345
|
* The current value of the input.
|
|
2966
3346
|
* @public
|
|
@@ -3226,12 +3606,6 @@ export declare class BaseTextInput extends FASTElement {
|
|
|
3226
3606
|
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/form | `ElementInternals.form`} property.
|
|
3227
3607
|
*/
|
|
3228
3608
|
get form(): HTMLFormElement | null;
|
|
3229
|
-
/**
|
|
3230
|
-
* Handles the internal control's `keypress` event.
|
|
3231
|
-
*
|
|
3232
|
-
* @internal
|
|
3233
|
-
*/
|
|
3234
|
-
beforeinputHandler(e: InputEvent): boolean | void;
|
|
3235
3609
|
/**
|
|
3236
3610
|
* Change event handler for inner control.
|
|
3237
3611
|
*
|
|
@@ -3256,13 +3630,6 @@ export declare class BaseTextInput extends FASTElement {
|
|
|
3256
3630
|
*/
|
|
3257
3631
|
clickHandler(e: MouseEvent): boolean | void;
|
|
3258
3632
|
connectedCallback(): void;
|
|
3259
|
-
/**
|
|
3260
|
-
* Focuses the inner control when the component is focused.
|
|
3261
|
-
*
|
|
3262
|
-
* @param e - the event object
|
|
3263
|
-
* @public
|
|
3264
|
-
*/
|
|
3265
|
-
focusinHandler(e: FocusEvent): boolean | void;
|
|
3266
3633
|
/**
|
|
3267
3634
|
* Resets the value to its initial value when the form is reset.
|
|
3268
3635
|
*
|
|
@@ -3337,12 +3704,6 @@ export declare class BaseTree extends FASTElement {
|
|
|
3337
3704
|
* @public
|
|
3338
3705
|
*/
|
|
3339
3706
|
currentSelected: HTMLElement | null;
|
|
3340
|
-
/**
|
|
3341
|
-
* The tree item that is designated to be in the tab queue.
|
|
3342
|
-
*
|
|
3343
|
-
* @internal
|
|
3344
|
-
*/
|
|
3345
|
-
private currentFocused;
|
|
3346
3707
|
/**
|
|
3347
3708
|
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
3348
3709
|
*
|
|
@@ -3351,6 +3712,13 @@ export declare class BaseTree extends FASTElement {
|
|
|
3351
3712
|
elementInternals: ElementInternals;
|
|
3352
3713
|
/** @internal */
|
|
3353
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;
|
|
3354
3722
|
constructor();
|
|
3355
3723
|
/** @internal */
|
|
3356
3724
|
childTreeItems: BaseTreeItem[];
|
|
@@ -3366,18 +3734,6 @@ export declare class BaseTree extends FASTElement {
|
|
|
3366
3734
|
* @internal
|
|
3367
3735
|
*/
|
|
3368
3736
|
keydownHandler(e: KeyboardEvent): boolean | void;
|
|
3369
|
-
/**
|
|
3370
|
-
* Handle focus events
|
|
3371
|
-
*
|
|
3372
|
-
* @internal
|
|
3373
|
-
*/
|
|
3374
|
-
focusHandler(e: FocusEvent): void;
|
|
3375
|
-
/**
|
|
3376
|
-
* Handle blur events
|
|
3377
|
-
*
|
|
3378
|
-
* @internal
|
|
3379
|
-
*/
|
|
3380
|
-
blurHandler(e: FocusEvent): void;
|
|
3381
3737
|
/**
|
|
3382
3738
|
* Handles click events bubbling up
|
|
3383
3739
|
*
|
|
@@ -3391,19 +3747,24 @@ export declare class BaseTree extends FASTElement {
|
|
|
3391
3747
|
* @internal
|
|
3392
3748
|
*/
|
|
3393
3749
|
changeHandler(e: Event): boolean | void;
|
|
3394
|
-
/**
|
|
3395
|
-
* checks if there are any nested tree items
|
|
3396
|
-
*/
|
|
3397
|
-
private getValidFocusableItem;
|
|
3398
|
-
private getVisibleNodes;
|
|
3399
|
-
/**
|
|
3400
|
-
* Move focus to a tree item based on its offset from the provided item
|
|
3401
|
-
*/
|
|
3402
|
-
private focusNextNode;
|
|
3403
3750
|
/** @internal */
|
|
3404
3751
|
handleDefaultSlotChange(): void;
|
|
3752
|
+
/**
|
|
3753
|
+
* All descendant tree items in DOM order, recursively flattened from
|
|
3754
|
+
* `childTreeItems`.
|
|
3755
|
+
*/
|
|
3756
|
+
protected get descendantTreeItems(): BaseTreeItem[];
|
|
3405
3757
|
}
|
|
3406
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
|
+
*/
|
|
3407
3768
|
declare class BaseTreeItem extends FASTElement {
|
|
3408
3769
|
/**
|
|
3409
3770
|
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
@@ -3413,7 +3774,15 @@ declare class BaseTreeItem extends FASTElement {
|
|
|
3413
3774
|
elementInternals: ElementInternals;
|
|
3414
3775
|
/** @internal */
|
|
3415
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;
|
|
3416
3784
|
constructor();
|
|
3785
|
+
connectedCallback(): void;
|
|
3417
3786
|
/**
|
|
3418
3787
|
* When true, the control will be appear expanded by user interaction.
|
|
3419
3788
|
* When true, the control will be appear expanded by user interaction.
|
|
@@ -3471,7 +3840,6 @@ declare class BaseTreeItem extends FASTElement {
|
|
|
3471
3840
|
* @public
|
|
3472
3841
|
*/
|
|
3473
3842
|
childTreeItemsChanged(): void;
|
|
3474
|
-
connectedCallback(): void;
|
|
3475
3843
|
/**
|
|
3476
3844
|
* Updates the childrens indent
|
|
3477
3845
|
*
|
|
@@ -3489,11 +3857,15 @@ declare class BaseTreeItem extends FASTElement {
|
|
|
3489
3857
|
*/
|
|
3490
3858
|
toggleExpansion(): void;
|
|
3491
3859
|
/**
|
|
3492
|
-
* Whether the tree is nested
|
|
3860
|
+
* Whether the tree item is nested
|
|
3493
3861
|
* @internal
|
|
3494
3862
|
*/
|
|
3495
3863
|
get isNestedItem(): boolean;
|
|
3496
|
-
|
|
3864
|
+
/**
|
|
3865
|
+
* Whether the tree item is nested in a collapsed tree item.
|
|
3866
|
+
* @internal
|
|
3867
|
+
*/
|
|
3868
|
+
get isHidden(): boolean;
|
|
3497
3869
|
/** @internal */
|
|
3498
3870
|
handleItemSlotChange(): void;
|
|
3499
3871
|
}
|
|
@@ -3634,13 +4006,11 @@ export declare const ButtonAppearance: {
|
|
|
3634
4006
|
export declare type ButtonAppearance = ValuesOf<typeof ButtonAppearance>;
|
|
3635
4007
|
|
|
3636
4008
|
/**
|
|
3637
|
-
* The definition for the
|
|
4009
|
+
* The definition for the `<fluent-button>` element.
|
|
3638
4010
|
*
|
|
3639
4011
|
* @public
|
|
3640
|
-
* @remarks
|
|
3641
|
-
* HTML Element: `<fluent-button>`
|
|
3642
4012
|
*/
|
|
3643
|
-
export declare const ButtonDefinition:
|
|
4013
|
+
export declare const ButtonDefinition: PartialFASTElementDefinition;
|
|
3644
4014
|
|
|
3645
4015
|
/**
|
|
3646
4016
|
* Button `formtarget` attribute values.
|
|
@@ -3705,7 +4075,7 @@ export declare type ButtonSize = ValuesOf<typeof ButtonSize>;
|
|
|
3705
4075
|
*
|
|
3706
4076
|
* @public
|
|
3707
4077
|
*/
|
|
3708
|
-
export declare const ButtonTemplate: ElementViewTemplate<
|
|
4078
|
+
export declare const ButtonTemplate: ElementViewTemplate<BaseButton>;
|
|
3709
4079
|
|
|
3710
4080
|
/**
|
|
3711
4081
|
* Button type values.
|
|
@@ -3733,8 +4103,8 @@ export declare type ButtonType = ValuesOf<typeof ButtonType>;
|
|
|
3733
4103
|
*
|
|
3734
4104
|
* @slot checked-indicator - The checked indicator
|
|
3735
4105
|
* @slot indeterminate-indicator - The indeterminate indicator
|
|
3736
|
-
* @fires change - Emits a custom change event when the checked state changes
|
|
3737
|
-
* @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
|
|
3738
4108
|
*
|
|
3739
4109
|
* @public
|
|
3740
4110
|
*/
|
|
@@ -3787,13 +4157,11 @@ export declare class Checkbox extends BaseCheckbox {
|
|
|
3787
4157
|
}
|
|
3788
4158
|
|
|
3789
4159
|
/**
|
|
3790
|
-
* The
|
|
4160
|
+
* The definition for the `<fluent-checkbox>` element.
|
|
3791
4161
|
*
|
|
3792
4162
|
* @public
|
|
3793
|
-
* @remarks
|
|
3794
|
-
* HTML Element: \<fluent-checkbox\>
|
|
3795
4163
|
*/
|
|
3796
|
-
export declare const CheckboxDefinition:
|
|
4164
|
+
export declare const CheckboxDefinition: PartialFASTElementDefinition;
|
|
3797
4165
|
|
|
3798
4166
|
/**
|
|
3799
4167
|
* Checkbox configuration options
|
|
@@ -6041,6 +6409,9 @@ export declare const colorTransparentStrokeInteractive = "var(--colorTransparent
|
|
|
6041
6409
|
*
|
|
6042
6410
|
* @tag fluent-compound-button
|
|
6043
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
|
+
*
|
|
6044
6415
|
* @public
|
|
6045
6416
|
*/
|
|
6046
6417
|
export declare class CompoundButton extends Button {
|
|
@@ -6064,11 +6435,11 @@ export declare const CompoundButtonAppearance: {
|
|
|
6064
6435
|
export declare type CompoundButtonAppearance = ValuesOf<typeof CompoundButtonAppearance>;
|
|
6065
6436
|
|
|
6066
6437
|
/**
|
|
6438
|
+
* The definition for the `<fluent-compound-button>` element.
|
|
6439
|
+
*
|
|
6067
6440
|
* @public
|
|
6068
|
-
* @remarks
|
|
6069
|
-
* HTML Element: \<fluent-comopund-button\>
|
|
6070
6441
|
*/
|
|
6071
|
-
export declare const CompoundButtonDefinition:
|
|
6442
|
+
export declare const CompoundButtonDefinition: PartialFASTElementDefinition;
|
|
6072
6443
|
|
|
6073
6444
|
/**
|
|
6074
6445
|
* A Compound Button can be square, circular or rounded.
|
|
@@ -6106,24 +6477,23 @@ export declare const CompoundButtonStyles: ElementStyles;
|
|
|
6106
6477
|
|
|
6107
6478
|
/**
|
|
6108
6479
|
* The template for the Button component.
|
|
6480
|
+
*
|
|
6109
6481
|
* @public
|
|
6110
6482
|
*/
|
|
6111
6483
|
export declare const CompoundButtonTemplate: ElementViewTemplate<CompoundButton>;
|
|
6112
6484
|
|
|
6113
6485
|
/**
|
|
6114
|
-
*
|
|
6486
|
+
* A CounterBadge Custom HTML Element.
|
|
6487
|
+
* Based on BaseCounterBadge and includes style and layout specific attributes.
|
|
6115
6488
|
*
|
|
6116
6489
|
* @tag fluent-counter-badge
|
|
6117
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
|
+
*
|
|
6118
6494
|
* @public
|
|
6119
6495
|
*/
|
|
6120
|
-
export declare class CounterBadge extends
|
|
6121
|
-
/**
|
|
6122
|
-
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
6123
|
-
*
|
|
6124
|
-
* @internal
|
|
6125
|
-
*/
|
|
6126
|
-
elementInternals: ElementInternals;
|
|
6496
|
+
export declare class CounterBadge extends BaseCounterBadge {
|
|
6127
6497
|
/**
|
|
6128
6498
|
* The appearance the badge should have.
|
|
6129
6499
|
*
|
|
@@ -6156,61 +6526,14 @@ export declare class CounterBadge extends FASTElement {
|
|
|
6156
6526
|
* HTML Attribute: size
|
|
6157
6527
|
*/
|
|
6158
6528
|
size?: CounterBadgeSize;
|
|
6159
|
-
/**
|
|
6160
|
-
* The count the badge should have.
|
|
6161
|
-
*
|
|
6162
|
-
* @public
|
|
6163
|
-
* @remarks
|
|
6164
|
-
* HTML Attribute: count
|
|
6165
|
-
*/
|
|
6166
|
-
count: number;
|
|
6167
|
-
protected countChanged(): void;
|
|
6168
|
-
/**
|
|
6169
|
-
* Max number to be displayed
|
|
6170
|
-
*
|
|
6171
|
-
* @public
|
|
6172
|
-
* @remarks
|
|
6173
|
-
* HTML Attribute: overflow-count
|
|
6174
|
-
*/
|
|
6175
|
-
overflowCount: number;
|
|
6176
|
-
protected overflowCountChanged(): void;
|
|
6177
|
-
/**
|
|
6178
|
-
* If the badge should be shown when count is 0
|
|
6179
|
-
*
|
|
6180
|
-
* @public
|
|
6181
|
-
* @remarks
|
|
6182
|
-
* HTML Attribute: show-zero
|
|
6183
|
-
*/
|
|
6184
|
-
showZero: boolean;
|
|
6185
|
-
/**
|
|
6186
|
-
* If a dot should be displayed without the count
|
|
6187
|
-
*
|
|
6188
|
-
* @public
|
|
6189
|
-
* @remarks
|
|
6190
|
-
* HTML Attribute: dot
|
|
6191
|
-
*/
|
|
6192
|
-
dot: boolean;
|
|
6193
|
-
/**
|
|
6194
|
-
* Function to set the count
|
|
6195
|
-
* This is the default slotted content for the counter badge
|
|
6196
|
-
* If children are slotted, that will override the value returned
|
|
6197
|
-
*
|
|
6198
|
-
* @internal
|
|
6199
|
-
*/
|
|
6200
|
-
setCount(): string | void;
|
|
6201
6529
|
}
|
|
6202
6530
|
|
|
6203
|
-
/**
|
|
6204
|
-
* Mark internal because exporting class and interface of the same name
|
|
6205
|
-
* confuses API extractor.
|
|
6206
|
-
* TODO: Below will be unnecessary when Badge class gets updated
|
|
6207
|
-
* @internal
|
|
6208
|
-
*/
|
|
6209
6531
|
export declare interface CounterBadge extends StartEnd {
|
|
6210
6532
|
}
|
|
6211
6533
|
|
|
6212
6534
|
/**
|
|
6213
|
-
*
|
|
6535
|
+
* Values for the `appearance` attribute on CounterBadge elements.
|
|
6536
|
+
*
|
|
6214
6537
|
* @public
|
|
6215
6538
|
*/
|
|
6216
6539
|
export declare const CounterBadgeAppearance: {
|
|
@@ -6219,13 +6542,14 @@ export declare const CounterBadgeAppearance: {
|
|
|
6219
6542
|
};
|
|
6220
6543
|
|
|
6221
6544
|
/**
|
|
6222
|
-
*
|
|
6545
|
+
* Type for the `appearance` attribute on CounterBadge elements, based on the CounterBadgeAppearance constants.
|
|
6223
6546
|
* @public
|
|
6224
6547
|
*/
|
|
6225
6548
|
export declare type CounterBadgeAppearance = ValuesOf<typeof CounterBadgeAppearance>;
|
|
6226
6549
|
|
|
6227
6550
|
/**
|
|
6228
|
-
*
|
|
6551
|
+
* Values for the `color` attribute on CounterBadge elements.
|
|
6552
|
+
*
|
|
6229
6553
|
* @public
|
|
6230
6554
|
*/
|
|
6231
6555
|
export declare const CounterBadgeColor: {
|
|
@@ -6240,20 +6564,21 @@ export declare const CounterBadgeColor: {
|
|
|
6240
6564
|
};
|
|
6241
6565
|
|
|
6242
6566
|
/**
|
|
6243
|
-
*
|
|
6567
|
+
* Type for the `color` attribute on CounterBadge elements, based on the CounterBadgeColor constants.
|
|
6244
6568
|
* @public
|
|
6245
6569
|
*/
|
|
6246
6570
|
export declare type CounterBadgeColor = ValuesOf<typeof CounterBadgeColor>;
|
|
6247
6571
|
|
|
6248
6572
|
/**
|
|
6573
|
+
* The definition for the `<fluent-counter-badge>` element.
|
|
6574
|
+
*
|
|
6249
6575
|
* @public
|
|
6250
|
-
* @remarks
|
|
6251
|
-
* HTML Element: \<fluent-counter-badge\>
|
|
6252
6576
|
*/
|
|
6253
|
-
export declare const CounterBadgeDefinition:
|
|
6577
|
+
export declare const CounterBadgeDefinition: PartialFASTElementDefinition;
|
|
6254
6578
|
|
|
6255
6579
|
/**
|
|
6256
|
-
*
|
|
6580
|
+
* Values for the `shape` attribute on CounterBadge elements.
|
|
6581
|
+
*
|
|
6257
6582
|
* @public
|
|
6258
6583
|
*/
|
|
6259
6584
|
export declare const CounterBadgeShape: {
|
|
@@ -6262,13 +6587,15 @@ export declare const CounterBadgeShape: {
|
|
|
6262
6587
|
};
|
|
6263
6588
|
|
|
6264
6589
|
/**
|
|
6265
|
-
*
|
|
6590
|
+
* Type for the `shape` attribute on CounterBadge elements, based on the CounterBadgeShape constants.
|
|
6591
|
+
*
|
|
6266
6592
|
* @public
|
|
6267
6593
|
*/
|
|
6268
6594
|
export declare type CounterBadgeShape = ValuesOf<typeof CounterBadgeShape>;
|
|
6269
6595
|
|
|
6270
6596
|
/**
|
|
6271
|
-
*
|
|
6597
|
+
* Values for the `size` attribute on CounterBadge elements.
|
|
6598
|
+
*
|
|
6272
6599
|
* @public
|
|
6273
6600
|
*/
|
|
6274
6601
|
export declare const CounterBadgeSize: {
|
|
@@ -6281,7 +6608,8 @@ export declare const CounterBadgeSize: {
|
|
|
6281
6608
|
};
|
|
6282
6609
|
|
|
6283
6610
|
/**
|
|
6284
|
-
*
|
|
6611
|
+
* Type for the `size` attribute on CounterBadge elements, based on the CounterBadgeSize constants.
|
|
6612
|
+
*
|
|
6285
6613
|
* @public
|
|
6286
6614
|
*/
|
|
6287
6615
|
export declare type CounterBadgeSize = ValuesOf<typeof CounterBadgeSize>;
|
|
@@ -6292,7 +6620,15 @@ export declare type CounterBadgeSize = ValuesOf<typeof CounterBadgeSize>;
|
|
|
6292
6620
|
export declare const CounterBadgeStyles: ElementStyles;
|
|
6293
6621
|
|
|
6294
6622
|
/**
|
|
6295
|
-
* 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
|
+
*
|
|
6296
6632
|
* @public
|
|
6297
6633
|
*/
|
|
6298
6634
|
export declare const CounterBadgeTemplate: ElementViewTemplate<CounterBadge>;
|
|
@@ -6357,17 +6693,15 @@ export declare const curveEasyEaseMax = "var(--curveEasyEaseMax)";
|
|
|
6357
6693
|
*/
|
|
6358
6694
|
export declare const curveLinear = "var(--curveLinear)";
|
|
6359
6695
|
|
|
6360
|
-
/**
|
|
6361
|
-
* This can be used to construct a behavior to apply a prefers color scheme: dark only stylesheet.
|
|
6362
|
-
* @public
|
|
6363
|
-
*/
|
|
6364
|
-
export declare const darkModeStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
|
|
6365
|
-
|
|
6366
6696
|
/**
|
|
6367
6697
|
* A Dialog Custom HTML Element.
|
|
6368
6698
|
*
|
|
6369
6699
|
* @tag fluent-dialog
|
|
6370
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
|
+
*
|
|
6371
6705
|
* @public
|
|
6372
6706
|
*/
|
|
6373
6707
|
export declare class Dialog extends FASTElement {
|
|
@@ -6401,8 +6735,41 @@ export declare class Dialog extends FASTElement {
|
|
|
6401
6735
|
* @public
|
|
6402
6736
|
*/
|
|
6403
6737
|
type: DialogType;
|
|
6404
|
-
|
|
6405
|
-
|
|
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;
|
|
6406
6773
|
connectedCallback(): void;
|
|
6407
6774
|
/**
|
|
6408
6775
|
* Method to emit an event before the dialog's open state changes
|
|
@@ -6410,7 +6777,7 @@ export declare class Dialog extends FASTElement {
|
|
|
6410
6777
|
*
|
|
6411
6778
|
* @public
|
|
6412
6779
|
*/
|
|
6413
|
-
emitBeforeToggle
|
|
6780
|
+
emitBeforeToggle(): void;
|
|
6414
6781
|
/**
|
|
6415
6782
|
* Method to emit an event after the dialog's open state changes
|
|
6416
6783
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
@@ -6445,6 +6812,15 @@ export declare class Dialog extends FASTElement {
|
|
|
6445
6812
|
*
|
|
6446
6813
|
* @tag fluent-dialog-body
|
|
6447
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
|
+
*
|
|
6448
6824
|
* @public
|
|
6449
6825
|
* @extends FASTElement
|
|
6450
6826
|
*/
|
|
@@ -6459,13 +6835,11 @@ export declare class DialogBody extends FASTElement {
|
|
|
6459
6835
|
}
|
|
6460
6836
|
|
|
6461
6837
|
/**
|
|
6462
|
-
* The
|
|
6838
|
+
* The definition for the `<fluent-dialog-body>` element.
|
|
6463
6839
|
*
|
|
6464
6840
|
* @public
|
|
6465
|
-
* @remarks
|
|
6466
|
-
* HTML Element: \<fluent-dialog-body\>
|
|
6467
6841
|
*/
|
|
6468
|
-
export declare const DialogBodyDefinition:
|
|
6842
|
+
export declare const DialogBodyDefinition: PartialFASTElementDefinition;
|
|
6469
6843
|
|
|
6470
6844
|
/** Dialog Body styles
|
|
6471
6845
|
* @public
|
|
@@ -6479,13 +6853,11 @@ export declare const DialogBodyStyles: ElementStyles;
|
|
|
6479
6853
|
export declare const DialogBodyTemplate: ElementViewTemplate;
|
|
6480
6854
|
|
|
6481
6855
|
/**
|
|
6482
|
-
* The
|
|
6856
|
+
* The definition for the `<fluent-dialog>` element.
|
|
6483
6857
|
*
|
|
6484
6858
|
* @public
|
|
6485
|
-
* @remarks
|
|
6486
|
-
* HTML Element: \<fluent-dialog\>
|
|
6487
6859
|
*/
|
|
6488
|
-
export declare const DialogDefinition:
|
|
6860
|
+
export declare const DialogDefinition: PartialFASTElementDefinition;
|
|
6489
6861
|
|
|
6490
6862
|
/** Dialog styles
|
|
6491
6863
|
* @public
|
|
@@ -6494,6 +6866,11 @@ export declare const DialogStyles: ElementStyles;
|
|
|
6494
6866
|
|
|
6495
6867
|
/**
|
|
6496
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
|
+
*
|
|
6497
6874
|
* @public
|
|
6498
6875
|
*/
|
|
6499
6876
|
export declare const DialogTemplate: ElementViewTemplate<Dialog>;
|
|
@@ -6510,6 +6887,21 @@ export declare const DialogType: {
|
|
|
6510
6887
|
|
|
6511
6888
|
export declare type DialogType = ValuesOf<typeof DialogType>;
|
|
6512
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
|
+
|
|
6513
6905
|
/**
|
|
6514
6906
|
* Applies a CSS display property.
|
|
6515
6907
|
* Also adds CSS rules to not display the element when the [hidden] attribute is applied to the element.
|
|
@@ -6580,13 +6972,11 @@ export declare const DividerAppearance: {
|
|
|
6580
6972
|
export declare type DividerAppearance = ValuesOf<typeof DividerAppearance>;
|
|
6581
6973
|
|
|
6582
6974
|
/**
|
|
6583
|
-
* The
|
|
6975
|
+
* The definition for the `<fluent-divider>` element.
|
|
6584
6976
|
*
|
|
6585
6977
|
* @public
|
|
6586
|
-
* @remarks
|
|
6587
|
-
* HTML Element: \<fluent-divider\>
|
|
6588
6978
|
*/
|
|
6589
|
-
export declare const DividerDefinition:
|
|
6979
|
+
export declare const DividerDefinition: PartialFASTElementDefinition;
|
|
6590
6980
|
|
|
6591
6981
|
/**
|
|
6592
6982
|
* Divider orientation
|
|
@@ -6642,18 +7032,19 @@ export declare const DividerTemplate: ElementViewTemplate<Divider>;
|
|
|
6642
7032
|
*
|
|
6643
7033
|
* @extends FASTElement
|
|
6644
7034
|
*
|
|
6645
|
-
* @attr
|
|
6646
|
-
* @attr
|
|
6647
|
-
* @attr
|
|
6648
|
-
* @attr
|
|
6649
|
-
* @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.
|
|
6650
7040
|
*
|
|
6651
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).
|
|
6652
7043
|
*
|
|
6653
7044
|
* @slot - Default slot for the content of the drawer.
|
|
6654
7045
|
*
|
|
6655
|
-
* @fires toggle - Event emitted after the dialog's open state changes.
|
|
6656
|
-
* @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.
|
|
6657
7048
|
*
|
|
6658
7049
|
* @method show - Method to show the drawer.
|
|
6659
7050
|
* @method hide - Method to hide the drawer.
|
|
@@ -6663,11 +7054,8 @@ export declare const DividerTemplate: ElementViewTemplate<Divider>;
|
|
|
6663
7054
|
* @method emitBeforeToggle - Emits an event before the dialog's open state changes.
|
|
6664
7055
|
*
|
|
6665
7056
|
* @summary A component that provides a drawer for displaying content in a side panel.
|
|
6666
|
-
*
|
|
6667
|
-
* @tag fluent-drawer
|
|
6668
7057
|
*/
|
|
6669
7058
|
export declare class Drawer extends FASTElement {
|
|
6670
|
-
protected roleAttrObserver: MutationObserver;
|
|
6671
7059
|
/**
|
|
6672
7060
|
* Determines whether the drawer should be displayed as modal or non-modal
|
|
6673
7061
|
* When rendered as a modal, an overlay is applied over the rest of the view.
|
|
@@ -6675,7 +7063,6 @@ export declare class Drawer extends FASTElement {
|
|
|
6675
7063
|
* @public
|
|
6676
7064
|
*/
|
|
6677
7065
|
type: DrawerType;
|
|
6678
|
-
protected typeChanged(): void;
|
|
6679
7066
|
/**
|
|
6680
7067
|
* The ID of the element that labels the drawer.
|
|
6681
7068
|
*
|
|
@@ -6688,12 +7075,14 @@ export declare class Drawer extends FASTElement {
|
|
|
6688
7075
|
* @public
|
|
6689
7076
|
*/
|
|
6690
7077
|
ariaDescribedby?: string;
|
|
6691
|
-
/**
|
|
7078
|
+
/**
|
|
7079
|
+
* Sets the position of the drawer (start/end).
|
|
7080
|
+
*
|
|
6692
7081
|
* @public
|
|
6693
7082
|
* @defaultValue start
|
|
6694
|
-
* Sets the position of the drawer (start/end).
|
|
6695
7083
|
*/
|
|
6696
7084
|
position: DrawerPosition;
|
|
7085
|
+
role: string | null;
|
|
6697
7086
|
/**
|
|
6698
7087
|
* @public
|
|
6699
7088
|
* @defaultValue medium
|
|
@@ -6706,10 +7095,42 @@ export declare class Drawer extends FASTElement {
|
|
|
6706
7095
|
* @public
|
|
6707
7096
|
*/
|
|
6708
7097
|
dialog: HTMLDialogElement;
|
|
6709
|
-
/**
|
|
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;
|
|
6710
7133
|
connectedCallback(): void;
|
|
6711
|
-
/** @internal */
|
|
6712
|
-
disconnectedCallback(): void;
|
|
6713
7134
|
/**
|
|
6714
7135
|
* Method to emit an event after the dialog's open state changes
|
|
6715
7136
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
@@ -6749,8 +7170,6 @@ export declare class Drawer extends FASTElement {
|
|
|
6749
7170
|
* @public
|
|
6750
7171
|
*/
|
|
6751
7172
|
cancelHandler(): void;
|
|
6752
|
-
protected observeRoleAttr(): void;
|
|
6753
|
-
protected updateDialogRole(): void;
|
|
6754
7173
|
}
|
|
6755
7174
|
|
|
6756
7175
|
/**
|
|
@@ -6784,12 +7203,11 @@ export declare class DrawerBody extends FASTElement {
|
|
|
6784
7203
|
}
|
|
6785
7204
|
|
|
6786
7205
|
/**
|
|
7206
|
+
* The definition for the `<fluent-drawer-body>` element.
|
|
6787
7207
|
*
|
|
6788
7208
|
* @public
|
|
6789
|
-
* @remarks
|
|
6790
|
-
* HTML Element: <fluent-drawer>
|
|
6791
7209
|
*/
|
|
6792
|
-
export declare const DrawerBodyDefinition:
|
|
7210
|
+
export declare const DrawerBodyDefinition: PartialFASTElementDefinition;
|
|
6793
7211
|
|
|
6794
7212
|
/** Drawer styles
|
|
6795
7213
|
* @public
|
|
@@ -6799,12 +7217,11 @@ export declare const DrawerBodyStyles: ElementStyles;
|
|
|
6799
7217
|
export declare const DrawerBodyTemplate: ElementViewTemplate<DrawerBody>;
|
|
6800
7218
|
|
|
6801
7219
|
/**
|
|
7220
|
+
* The definition for the `<fluent-drawer>` element.
|
|
6802
7221
|
*
|
|
6803
7222
|
* @public
|
|
6804
|
-
* @remarks
|
|
6805
|
-
* HTML Element: <fluent-drawer>
|
|
6806
7223
|
*/
|
|
6807
|
-
export declare const DrawerDefinition:
|
|
7224
|
+
export declare const DrawerDefinition: PartialFASTElementDefinition;
|
|
6808
7225
|
|
|
6809
7226
|
/**
|
|
6810
7227
|
* A drawer can be positioned on the left or right side of the viewport.
|
|
@@ -6913,13 +7330,11 @@ export declare type DropdownAppearance = ValuesOf<typeof DropdownAppearance>;
|
|
|
6913
7330
|
export declare const dropdownButtonTemplate: ViewTemplate<BaseDropdown, any>;
|
|
6914
7331
|
|
|
6915
7332
|
/**
|
|
6916
|
-
* The
|
|
7333
|
+
* The definition for the `<fluent-dropdown>` element.
|
|
6917
7334
|
*
|
|
6918
7335
|
* @public
|
|
6919
|
-
* @remarks
|
|
6920
|
-
* HTML Element: `<fluent-dropdown>`
|
|
6921
7336
|
*/
|
|
6922
|
-
export declare const DropdownDefinition:
|
|
7337
|
+
export declare const DropdownDefinition: PartialFASTElementDefinition;
|
|
6923
7338
|
|
|
6924
7339
|
/**
|
|
6925
7340
|
* The template partial for the dropdown input element. This template is used when the `type` property is set to "combobox".
|
|
@@ -6939,8 +7354,11 @@ export declare const dropdownInputTemplate: ViewTemplate<BaseDropdown, any>;
|
|
|
6939
7354
|
* @tag fluent-dropdown-option
|
|
6940
7355
|
*
|
|
6941
7356
|
* @slot - The default slot for the option's content.
|
|
7357
|
+
* @slot start - Optional content shown at the start of the option.
|
|
6942
7358
|
* @slot checked-indicator - The checked indicator.
|
|
6943
7359
|
* @slot description - Optional description content.
|
|
7360
|
+
* @csspart content - The wrapper for the option content.
|
|
7361
|
+
* @csspart description - The wrapper for the option description.
|
|
6944
7362
|
*
|
|
6945
7363
|
* @remarks
|
|
6946
7364
|
* To support single and multiple selection modes with the {@link (BaseDropdown:class)} element, the Option element
|
|
@@ -7194,13 +7612,11 @@ export declare class DropdownOption extends FASTElement implements Start {
|
|
|
7194
7612
|
}
|
|
7195
7613
|
|
|
7196
7614
|
/**
|
|
7197
|
-
* The
|
|
7615
|
+
* The definition for the `<fluent-option>` element.
|
|
7198
7616
|
*
|
|
7199
7617
|
* @public
|
|
7200
|
-
* @remarks
|
|
7201
|
-
* HTML Element: `<fluent-option>`
|
|
7202
7618
|
*/
|
|
7203
|
-
export declare const DropdownOptionDefinition:
|
|
7619
|
+
export declare const DropdownOptionDefinition: PartialFASTElementDefinition;
|
|
7204
7620
|
|
|
7205
7621
|
/**
|
|
7206
7622
|
* The options for the {@link DropdownOption} component.
|
|
@@ -7350,6 +7766,13 @@ export declare function endSlotTemplate<TSource extends StartEnd = StartEnd, TPa
|
|
|
7350
7766
|
*
|
|
7351
7767
|
* @tag fluent-field
|
|
7352
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
|
+
*
|
|
7353
7776
|
* @public
|
|
7354
7777
|
*/
|
|
7355
7778
|
export declare class Field extends BaseField {
|
|
@@ -7364,13 +7787,11 @@ export declare class Field extends BaseField {
|
|
|
7364
7787
|
}
|
|
7365
7788
|
|
|
7366
7789
|
/**
|
|
7367
|
-
* The
|
|
7790
|
+
* The definition for the `<fluent-field>` element.
|
|
7368
7791
|
*
|
|
7369
7792
|
* @public
|
|
7370
|
-
* @remarks
|
|
7371
|
-
* HTML Element: `<fluent-field>`
|
|
7372
7793
|
*/
|
|
7373
|
-
export declare const FieldDefinition:
|
|
7794
|
+
export declare const FieldDefinition: PartialFASTElementDefinition;
|
|
7374
7795
|
|
|
7375
7796
|
/**
|
|
7376
7797
|
* Label position values
|
|
@@ -7506,12 +7927,6 @@ export declare const fontWeightRegular = "var(--fontWeightRegular)";
|
|
|
7506
7927
|
*/
|
|
7507
7928
|
export declare const fontWeightSemibold = "var(--fontWeightSemibold)";
|
|
7508
7929
|
|
|
7509
|
-
/**
|
|
7510
|
-
* This can be used to construct a behavior to apply a forced-colors only stylesheet.
|
|
7511
|
-
* @public
|
|
7512
|
-
*/
|
|
7513
|
-
export declare const forcedColorsStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
|
|
7514
|
-
|
|
7515
7930
|
/**
|
|
7516
7931
|
* Determines the current localization direction of an element.
|
|
7517
7932
|
*
|
|
@@ -7527,6 +7942,8 @@ export declare const getDirection: (rootNode: HTMLElement) => Direction;
|
|
|
7527
7942
|
*
|
|
7528
7943
|
* @tag fluent-image
|
|
7529
7944
|
*
|
|
7945
|
+
* @slot - The default slot. Accepts any `<img>`, `<picture>`, `<video>`, or `<canvas>` element.
|
|
7946
|
+
*
|
|
7530
7947
|
* @public
|
|
7531
7948
|
*/
|
|
7532
7949
|
declare class Image_2 extends FASTElement {
|
|
@@ -7574,13 +7991,11 @@ declare class Image_2 extends FASTElement {
|
|
|
7574
7991
|
export { Image_2 as Image }
|
|
7575
7992
|
|
|
7576
7993
|
/**
|
|
7577
|
-
* The
|
|
7994
|
+
* The definition for the `<fluent-image>` element.
|
|
7578
7995
|
*
|
|
7579
7996
|
* @public
|
|
7580
|
-
* @remarks
|
|
7581
|
-
* HTML Element: \<fluent-image\>
|
|
7582
7997
|
*/
|
|
7583
|
-
export declare const ImageDefinition:
|
|
7998
|
+
export declare const ImageDefinition: PartialFASTElementDefinition;
|
|
7584
7999
|
|
|
7585
8000
|
/**
|
|
7586
8001
|
* Image fit
|
|
@@ -7688,6 +8103,9 @@ export declare function isTreeItem(element?: Node | null, tagName?: string): ele
|
|
|
7688
8103
|
*
|
|
7689
8104
|
* @tag fluent-label
|
|
7690
8105
|
*
|
|
8106
|
+
* @slot - The default slot. Accepts the content of the label.
|
|
8107
|
+
* @csspart asterisk - The required-field asterisk indicator.
|
|
8108
|
+
*
|
|
7691
8109
|
* @public
|
|
7692
8110
|
*/
|
|
7693
8111
|
export declare class Label extends FASTElement {
|
|
@@ -7726,14 +8144,11 @@ export declare class Label extends FASTElement {
|
|
|
7726
8144
|
}
|
|
7727
8145
|
|
|
7728
8146
|
/**
|
|
7729
|
-
* The
|
|
7730
|
-
*
|
|
8147
|
+
* The definition for the `<fluent-label>` element.
|
|
7731
8148
|
*
|
|
7732
8149
|
* @public
|
|
7733
|
-
* @remarks
|
|
7734
|
-
* HTML Element: \<fluent-label\>
|
|
7735
8150
|
*/
|
|
7736
|
-
export declare const LabelDefinition:
|
|
8151
|
+
export declare const LabelDefinition: PartialFASTElementDefinition;
|
|
7737
8152
|
|
|
7738
8153
|
/**
|
|
7739
8154
|
* A Labels font size can be small, medium, or large
|
|
@@ -7771,12 +8186,6 @@ export declare const LabelWeight: {
|
|
|
7771
8186
|
*/
|
|
7772
8187
|
export declare type LabelWeight = ValuesOf<typeof LabelWeight>;
|
|
7773
8188
|
|
|
7774
|
-
/**
|
|
7775
|
-
* This can be used to construct a behavior to apply a prefers color scheme: light only stylesheet.
|
|
7776
|
-
* @public
|
|
7777
|
-
*/
|
|
7778
|
-
export declare const lightModeStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
|
|
7779
|
-
|
|
7780
8189
|
/**
|
|
7781
8190
|
* CSS custom property value for the {@link @fluentui/tokens#lineHeightBase100 | `lineHeightBase100`} design token.
|
|
7782
8191
|
* @public
|
|
@@ -7886,11 +8295,11 @@ export declare const LinkAppearance: {
|
|
|
7886
8295
|
export declare type LinkAppearance = ValuesOf<typeof LinkAppearance>;
|
|
7887
8296
|
|
|
7888
8297
|
/**
|
|
8298
|
+
* The definition for the `<fluent-link>` element.
|
|
8299
|
+
*
|
|
7889
8300
|
* @public
|
|
7890
|
-
* @remarks
|
|
7891
|
-
* HTML Element: \<fluent-link\>
|
|
7892
8301
|
*/
|
|
7893
|
-
export declare const LinkDefinition:
|
|
8302
|
+
export declare const LinkDefinition: PartialFASTElementDefinition;
|
|
7894
8303
|
|
|
7895
8304
|
export declare const LinkStyles: ElementStyles;
|
|
7896
8305
|
|
|
@@ -7935,14 +8344,18 @@ export declare const LinkTemplate: ElementViewTemplate<Link>;
|
|
|
7935
8344
|
*/
|
|
7936
8345
|
export declare class Listbox extends FASTElement {
|
|
7937
8346
|
/**
|
|
7938
|
-
*
|
|
8347
|
+
* A reference to the default slot element.
|
|
7939
8348
|
*
|
|
7940
|
-
* @
|
|
7941
|
-
* @public
|
|
7942
|
-
* @remarks
|
|
7943
|
-
* HTML Attribute: `id`
|
|
8349
|
+
* @internal
|
|
7944
8350
|
*/
|
|
7945
|
-
|
|
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;
|
|
7946
8359
|
/**
|
|
7947
8360
|
* Indicates whether the listbox allows multiple selection.
|
|
7948
8361
|
*
|
|
@@ -8015,6 +8428,7 @@ export declare class Listbox extends FASTElement {
|
|
|
8015
8428
|
*/
|
|
8016
8429
|
clickHandler(e: PointerEvent): boolean | void;
|
|
8017
8430
|
constructor();
|
|
8431
|
+
connectedCallback(): void;
|
|
8018
8432
|
/**
|
|
8019
8433
|
* Handles observable subscriptions for the listbox.
|
|
8020
8434
|
*
|
|
@@ -8038,17 +8452,15 @@ export declare class Listbox extends FASTElement {
|
|
|
8038
8452
|
* @param e - The slotchange event
|
|
8039
8453
|
* @public
|
|
8040
8454
|
*/
|
|
8041
|
-
slotchangeHandler(e
|
|
8455
|
+
slotchangeHandler(e?: Event): void;
|
|
8042
8456
|
}
|
|
8043
8457
|
|
|
8044
8458
|
/**
|
|
8045
|
-
* The
|
|
8459
|
+
* The definition for the `<fluent-listbox>` element.
|
|
8046
8460
|
*
|
|
8047
8461
|
* @public
|
|
8048
|
-
* @remarks
|
|
8049
|
-
* HTML Element: `<fluent-listbox>`
|
|
8050
8462
|
*/
|
|
8051
|
-
export declare const ListboxDefinition:
|
|
8463
|
+
export declare const ListboxDefinition: PartialFASTElementDefinition;
|
|
8052
8464
|
|
|
8053
8465
|
/**
|
|
8054
8466
|
* Styles for the {@link (Listbox:class)} component.
|
|
@@ -8073,117 +8485,6 @@ export declare const ListboxTemplate: ElementViewTemplate<Listbox>;
|
|
|
8073
8485
|
*/
|
|
8074
8486
|
export declare function listboxTemplate<T extends Listbox>(): ElementViewTemplate<T>;
|
|
8075
8487
|
|
|
8076
|
-
/**
|
|
8077
|
-
* An abstract behavior to react to media queries. Implementations should implement
|
|
8078
|
-
* the `constructListener` method to perform some action based on media query changes.
|
|
8079
|
-
*
|
|
8080
|
-
* @public
|
|
8081
|
-
*/
|
|
8082
|
-
export declare abstract class MatchMediaBehavior implements HostBehavior {
|
|
8083
|
-
/**
|
|
8084
|
-
* The behavior needs to operate on element instances but elements might share a behavior instance.
|
|
8085
|
-
* To ensure proper attachment / detachment per instance, we construct a listener for
|
|
8086
|
-
* each bind invocation and cache the listeners by element reference.
|
|
8087
|
-
*/
|
|
8088
|
-
private listenerCache;
|
|
8089
|
-
/**
|
|
8090
|
-
* The media query that the behavior operates on.
|
|
8091
|
-
*/
|
|
8092
|
-
readonly query: MediaQueryList;
|
|
8093
|
-
/**
|
|
8094
|
-
*
|
|
8095
|
-
* @param query - The media query to operate from.
|
|
8096
|
-
*/
|
|
8097
|
-
constructor(query: MediaQueryList);
|
|
8098
|
-
/**
|
|
8099
|
-
* Constructs a function that will be invoked with the MediaQueryList context
|
|
8100
|
-
* @param controller - The host controller orchestrating this behavior.
|
|
8101
|
-
*/
|
|
8102
|
-
protected abstract constructListener(controller: HostController): MediaQueryListListener;
|
|
8103
|
-
/**
|
|
8104
|
-
* Binds the behavior to the element.
|
|
8105
|
-
* @param controller - The host controller orchestrating this behavior.
|
|
8106
|
-
*/
|
|
8107
|
-
connectedCallback(controller: HostController): void;
|
|
8108
|
-
/**
|
|
8109
|
-
* Unbinds the behavior from the element.
|
|
8110
|
-
* @param controller - The host controller orchestrating this behavior.
|
|
8111
|
-
*/
|
|
8112
|
-
disconnectedCallback(controller: HostController): void;
|
|
8113
|
-
}
|
|
8114
|
-
|
|
8115
|
-
/**
|
|
8116
|
-
* A behavior to add or remove a stylesheet from an element based on a media query. The behavior ensures that
|
|
8117
|
-
* styles are applied while the a query matches the environment and that styles are not applied if the query does
|
|
8118
|
-
* not match the environment.
|
|
8119
|
-
*
|
|
8120
|
-
* @public
|
|
8121
|
-
*/
|
|
8122
|
-
export declare class MatchMediaStyleSheetBehavior extends MatchMediaBehavior {
|
|
8123
|
-
/**
|
|
8124
|
-
* The media query that the behavior operates on.
|
|
8125
|
-
*/
|
|
8126
|
-
readonly query: MediaQueryList;
|
|
8127
|
-
/**
|
|
8128
|
-
* The styles object to be managed by the behavior.
|
|
8129
|
-
*/
|
|
8130
|
-
readonly styles: ElementStyles;
|
|
8131
|
-
/**
|
|
8132
|
-
* Constructs a {@link MatchMediaStyleSheetBehavior} instance.
|
|
8133
|
-
* @param query - The media query to operate from.
|
|
8134
|
-
* @param styles - The styles to coordinate with the query.
|
|
8135
|
-
*/
|
|
8136
|
-
constructor(query: MediaQueryList, styles: ElementStyles);
|
|
8137
|
-
/**
|
|
8138
|
-
* Defines a function to construct {@link MatchMediaStyleSheetBehavior | MatchMediaStyleSheetBehaviors} for
|
|
8139
|
-
* a provided query.
|
|
8140
|
-
* @param query - The media query to operate from.
|
|
8141
|
-
*
|
|
8142
|
-
* @public
|
|
8143
|
-
* @example
|
|
8144
|
-
*
|
|
8145
|
-
* ```ts
|
|
8146
|
-
* import { css } from "@microsoft/fast-element";
|
|
8147
|
-
* import { MatchMediaStyleSheetBehavior } from "@fluentui/web-components";
|
|
8148
|
-
*
|
|
8149
|
-
* const landscapeBehavior = MatchMediaStyleSheetBehavior.with(
|
|
8150
|
-
* window.matchMedia("(orientation: landscape)")
|
|
8151
|
-
* );
|
|
8152
|
-
*
|
|
8153
|
-
* const styles = css`
|
|
8154
|
-
* :host {
|
|
8155
|
-
* width: 200px;
|
|
8156
|
-
* height: 400px;
|
|
8157
|
-
* }
|
|
8158
|
-
* `
|
|
8159
|
-
* .withBehaviors(landscapeBehavior(css`
|
|
8160
|
-
* :host {
|
|
8161
|
-
* width: 400px;
|
|
8162
|
-
* height: 200px;
|
|
8163
|
-
* }
|
|
8164
|
-
* `))
|
|
8165
|
-
* ```
|
|
8166
|
-
*/
|
|
8167
|
-
static with(query: MediaQueryList): (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
|
|
8168
|
-
/**
|
|
8169
|
-
* Constructs a match-media listener for a provided element.
|
|
8170
|
-
* @param source - the element for which to attach or detach styles.
|
|
8171
|
-
*/
|
|
8172
|
-
protected constructListener(controller: HostController): MediaQueryListListener;
|
|
8173
|
-
/**
|
|
8174
|
-
* Unbinds the behavior from the element.
|
|
8175
|
-
* @param controller - The host controller orchestrating this behavior.
|
|
8176
|
-
* @internal
|
|
8177
|
-
*/
|
|
8178
|
-
removedCallback(controller: HostController<any>): void;
|
|
8179
|
-
}
|
|
8180
|
-
|
|
8181
|
-
/**
|
|
8182
|
-
* An event listener fired by a {@link https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList | MediaQueryList }.
|
|
8183
|
-
* @public
|
|
8184
|
-
*/
|
|
8185
|
-
export declare type MediaQueryListListener = (this: MediaQueryList, ev?: MediaQueryListEvent) => void;
|
|
8186
|
-
|
|
8187
8488
|
/**
|
|
8188
8489
|
* A Menu component that provides a customizable menu element.
|
|
8189
8490
|
*
|
|
@@ -8258,12 +8559,28 @@ export declare class Menu extends FASTElement {
|
|
|
8258
8559
|
* Holds the slotted menu list.
|
|
8259
8560
|
* @public
|
|
8260
8561
|
*/
|
|
8261
|
-
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;
|
|
8262
8570
|
/**
|
|
8263
8571
|
* Holds the slotted triggers.
|
|
8264
8572
|
* @public
|
|
8265
8573
|
*/
|
|
8266
8574
|
slottedTriggers: HTMLElement[];
|
|
8575
|
+
/**
|
|
8576
|
+
* Ensures the trigger is properly set up when the slotted triggers change.
|
|
8577
|
+
* This includes setting ARIA attributes and adding event listeners based on the current property values.
|
|
8578
|
+
*
|
|
8579
|
+
* @param prev - The previous items in the slotted triggers list.
|
|
8580
|
+
* @param next - The current items in the slotted triggers list.
|
|
8581
|
+
* @internal
|
|
8582
|
+
*/
|
|
8583
|
+
slottedTriggersChanged(prev: HTMLElement[] | undefined, next: HTMLElement[] | undefined): void;
|
|
8267
8584
|
/**
|
|
8268
8585
|
* Holds the primary slot element.
|
|
8269
8586
|
* @public
|
|
@@ -8273,17 +8590,25 @@ export declare class Menu extends FASTElement {
|
|
|
8273
8590
|
* Defines whether the menu is open or not.
|
|
8274
8591
|
* @internal
|
|
8275
8592
|
*/
|
|
8276
|
-
|
|
8593
|
+
protected _open: boolean;
|
|
8277
8594
|
/**
|
|
8278
8595
|
* The trigger element of the menu.
|
|
8279
8596
|
* @internal
|
|
8280
8597
|
*/
|
|
8281
|
-
|
|
8598
|
+
protected _trigger?: HTMLElement;
|
|
8282
8599
|
/**
|
|
8283
8600
|
* The menu list element of the menu which has the popover behavior.
|
|
8284
8601
|
* @internal
|
|
8285
8602
|
*/
|
|
8286
|
-
|
|
8603
|
+
protected _menuList?: HTMLElement;
|
|
8604
|
+
/**
|
|
8605
|
+
* @internal
|
|
8606
|
+
*/
|
|
8607
|
+
protected _triggerAbortController?: AbortController;
|
|
8608
|
+
/**
|
|
8609
|
+
* @internal
|
|
8610
|
+
*/
|
|
8611
|
+
protected _menuListAbortController?: AbortController;
|
|
8287
8612
|
/**
|
|
8288
8613
|
* Called when the element is connected to the DOM.
|
|
8289
8614
|
* Sets up the component.
|
|
@@ -8298,7 +8623,8 @@ export declare class Menu extends FASTElement {
|
|
|
8298
8623
|
disconnectedCallback(): void;
|
|
8299
8624
|
/**
|
|
8300
8625
|
* Sets the component.
|
|
8301
|
-
*
|
|
8626
|
+
* @deprecated This method is no longer used. Trigger and menu-list listeners are now
|
|
8627
|
+
* managed by their respective slot-changed callbacks.
|
|
8302
8628
|
* @public
|
|
8303
8629
|
*/
|
|
8304
8630
|
setComponent(): void;
|
|
@@ -8368,23 +8694,15 @@ export declare class Menu extends FASTElement {
|
|
|
8368
8694
|
*/
|
|
8369
8695
|
closeOnScrollChanged(oldValue: boolean, newValue: boolean): void;
|
|
8370
8696
|
/**
|
|
8371
|
-
* Adds event listeners.
|
|
8372
|
-
* Adds click and keydown event listeners to the trigger.
|
|
8373
|
-
* Adds a 'toggle' event listener to the menu list.
|
|
8374
|
-
* If 'openOnHover' is true, adds a 'mouseover' event listener to the trigger.
|
|
8375
|
-
* If 'openOnContext' is true, adds a 'contextmenu' event listener to the trigger and a document 'click' event listener.
|
|
8697
|
+
* Adds trigger-related event listeners.
|
|
8376
8698
|
* @internal
|
|
8377
8699
|
*/
|
|
8378
|
-
|
|
8700
|
+
protected addTriggerListeners(): void;
|
|
8379
8701
|
/**
|
|
8380
|
-
*
|
|
8381
|
-
* Removes click and keydown event listeners from the trigger.
|
|
8382
|
-
* Also removes toggle event listener from the menu list.
|
|
8383
|
-
* Also removes 'mouseover' event listeners from the trigger.
|
|
8384
|
-
* Also removes 'contextmenu' event listeners from the trigger and document 'click' event listeners.
|
|
8702
|
+
* Adds menu-list event listeners.
|
|
8385
8703
|
* @internal
|
|
8386
8704
|
*/
|
|
8387
|
-
|
|
8705
|
+
protected addMenuListListeners(): void;
|
|
8388
8706
|
/**
|
|
8389
8707
|
* Handles keyboard interaction for the menu. Closes the menu and focuses on the trigger when the Escape key is
|
|
8390
8708
|
* pressed. Closes the menu when the Tab key is pressed.
|
|
@@ -8406,7 +8724,7 @@ export declare class Menu extends FASTElement {
|
|
|
8406
8724
|
* @internal
|
|
8407
8725
|
* @param e - The event triggered on document click.
|
|
8408
8726
|
*/
|
|
8409
|
-
|
|
8727
|
+
protected documentClickHandler: (e: any) => void;
|
|
8410
8728
|
}
|
|
8411
8729
|
|
|
8412
8730
|
/**
|
|
@@ -8437,11 +8755,11 @@ export declare const MenuButtonAppearance: {
|
|
|
8437
8755
|
export declare type MenuButtonAppearance = ValuesOf<typeof MenuButtonAppearance>;
|
|
8438
8756
|
|
|
8439
8757
|
/**
|
|
8758
|
+
* The definition for the `<fluent-menu-button>` element.
|
|
8759
|
+
*
|
|
8440
8760
|
* @public
|
|
8441
|
-
* @remarks
|
|
8442
|
-
* HTML Element: \<fluent-button\>
|
|
8443
8761
|
*/
|
|
8444
|
-
export declare const MenuButtonDefinition:
|
|
8762
|
+
export declare const MenuButtonDefinition: PartialFASTElementDefinition;
|
|
8445
8763
|
|
|
8446
8764
|
/**
|
|
8447
8765
|
* A Menu Button can be square, circular or rounded.
|
|
@@ -8482,13 +8800,11 @@ export declare type MenuButtonSize = ValuesOf<typeof MenuButtonSize>;
|
|
|
8482
8800
|
export declare const MenuButtonTemplate: ElementViewTemplate<MenuButton>;
|
|
8483
8801
|
|
|
8484
8802
|
/**
|
|
8485
|
-
* The
|
|
8803
|
+
* The definition for the `<fluent-menu>` element.
|
|
8486
8804
|
*
|
|
8487
8805
|
* @public
|
|
8488
|
-
* @remarks
|
|
8489
|
-
* HTML Element: <fluent-menu>
|
|
8490
8806
|
*/
|
|
8491
|
-
export declare const MenuDefinition:
|
|
8807
|
+
export declare const MenuDefinition: PartialFASTElementDefinition;
|
|
8492
8808
|
|
|
8493
8809
|
/**
|
|
8494
8810
|
* A Switch Custom HTML Element.
|
|
@@ -8503,7 +8819,7 @@ export declare const MenuDefinition: FASTElementDefinition<typeof Menu>;
|
|
|
8503
8819
|
* @slot submenu-glyph - The submenu expand/collapse indicator
|
|
8504
8820
|
* @slot submenu - Used to nest menu's within menu items
|
|
8505
8821
|
* @csspart content - The element wrapping the menu item content
|
|
8506
|
-
* @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
|
|
8507
8823
|
*
|
|
8508
8824
|
* @public
|
|
8509
8825
|
*/
|
|
@@ -8601,7 +8917,9 @@ export declare class MenuItem extends FASTElement {
|
|
|
8601
8917
|
* Setup required ARIA on open/close
|
|
8602
8918
|
* @internal
|
|
8603
8919
|
*/
|
|
8604
|
-
|
|
8920
|
+
handleToggle: (e: Event) => void;
|
|
8921
|
+
/** @internal */
|
|
8922
|
+
handleSubmenuFocusOut: (e: FocusEvent) => void;
|
|
8605
8923
|
/**
|
|
8606
8924
|
* @internal
|
|
8607
8925
|
*/
|
|
@@ -8625,11 +8943,11 @@ export declare interface MenuItem extends StartEnd {
|
|
|
8625
8943
|
export declare type MenuItemColumnCount = 0 | 1 | 2;
|
|
8626
8944
|
|
|
8627
8945
|
/**
|
|
8946
|
+
* The definition for the `<fluent-menu-item>` element.
|
|
8947
|
+
*
|
|
8628
8948
|
* @public
|
|
8629
|
-
* @remarks
|
|
8630
|
-
* HTML Element: <fluent-menu-item>
|
|
8631
8949
|
*/
|
|
8632
|
-
export declare const MenuItemDefinition:
|
|
8950
|
+
export declare const MenuItemDefinition: PartialFASTElementDefinition;
|
|
8633
8951
|
|
|
8634
8952
|
/**
|
|
8635
8953
|
* Menu Item configuration options
|
|
@@ -8673,7 +8991,7 @@ export declare const MenuItemStyles: ElementStyles;
|
|
|
8673
8991
|
export declare const MenuItemTemplate: ElementViewTemplate<MenuItem>;
|
|
8674
8992
|
|
|
8675
8993
|
/**
|
|
8676
|
-
* A
|
|
8994
|
+
* A MenuList Custom HTML Element.
|
|
8677
8995
|
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#menu | ARIA menu }.
|
|
8678
8996
|
*
|
|
8679
8997
|
* @tag fluent-menu-list
|
|
@@ -8682,123 +9000,62 @@ export declare const MenuItemTemplate: ElementViewTemplate<MenuItem>;
|
|
|
8682
9000
|
*
|
|
8683
9001
|
* @public
|
|
8684
9002
|
*/
|
|
8685
|
-
export declare class MenuList extends
|
|
9003
|
+
export declare class MenuList extends BaseMenuList {
|
|
9004
|
+
private fg?;
|
|
9005
|
+
private fgItems?;
|
|
9006
|
+
disconnectedCallback(): void;
|
|
9007
|
+
setItems(): void;
|
|
9008
|
+
}
|
|
9009
|
+
|
|
9010
|
+
/**
|
|
9011
|
+
* The definition for the `<fluent-menu-list>` element.
|
|
9012
|
+
*
|
|
9013
|
+
* @public
|
|
9014
|
+
*/
|
|
9015
|
+
export declare const MenuListDefinition: PartialFASTElementDefinition;
|
|
9016
|
+
|
|
9017
|
+
/** MenuList styles
|
|
9018
|
+
* @public
|
|
9019
|
+
*/
|
|
9020
|
+
export declare const MenuListStyles: ElementStyles;
|
|
9021
|
+
|
|
9022
|
+
export declare const MenuListTemplate: ElementViewTemplate<MenuList>;
|
|
9023
|
+
|
|
9024
|
+
/** Menu styles
|
|
9025
|
+
* @public
|
|
9026
|
+
*/
|
|
9027
|
+
export declare const MenuStyles: ElementStyles;
|
|
9028
|
+
|
|
9029
|
+
export declare const MenuTemplate: ElementViewTemplate<Menu>;
|
|
9030
|
+
|
|
9031
|
+
/**
|
|
9032
|
+
* A Message Bar Custom HTML Element.
|
|
9033
|
+
*
|
|
9034
|
+
* @tag fluent-message-bar
|
|
9035
|
+
*
|
|
9036
|
+
* @slot actions - Content that can be provided for the actions
|
|
9037
|
+
* @slot dismiss - Content that can be provided for the dismiss button
|
|
9038
|
+
* @slot icon - Content that can be provided for the leading icon
|
|
9039
|
+
* @slot - The default slot for the content
|
|
9040
|
+
* @fires { CustomEvent } dismiss - Fired when the message bar is dismissed.
|
|
9041
|
+
* @public
|
|
9042
|
+
*/
|
|
9043
|
+
export declare class MessageBar extends FASTElement {
|
|
8686
9044
|
/**
|
|
8687
|
-
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
9045
|
+
* The internal {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
8688
9046
|
*
|
|
8689
9047
|
* @internal
|
|
8690
9048
|
*/
|
|
8691
9049
|
elementInternals: ElementInternals;
|
|
9050
|
+
constructor();
|
|
8692
9051
|
/**
|
|
8693
|
-
*
|
|
9052
|
+
* Sets the shape of the Message Bar.
|
|
9053
|
+
*
|
|
9054
|
+
* @public
|
|
9055
|
+
* @remarks
|
|
9056
|
+
* HTML Attribute: `shape`
|
|
8694
9057
|
*/
|
|
8695
|
-
|
|
8696
|
-
protected itemsChanged(oldValue: HTMLElement[], newValue: HTMLElement[]): void;
|
|
8697
|
-
protected menuItems: Element[] | undefined;
|
|
8698
|
-
/**
|
|
8699
|
-
* The index of the focusable element in the items array
|
|
8700
|
-
* defaults to -1
|
|
8701
|
-
*/
|
|
8702
|
-
private focusIndex;
|
|
8703
|
-
private static focusableElementRoles;
|
|
8704
|
-
constructor();
|
|
8705
|
-
/**
|
|
8706
|
-
* @internal
|
|
8707
|
-
*/
|
|
8708
|
-
connectedCallback(): void;
|
|
8709
|
-
/**
|
|
8710
|
-
* @internal
|
|
8711
|
-
*/
|
|
8712
|
-
disconnectedCallback(): void;
|
|
8713
|
-
/**
|
|
8714
|
-
* @internal
|
|
8715
|
-
*/
|
|
8716
|
-
readonly isNestedMenu: () => boolean;
|
|
8717
|
-
/**
|
|
8718
|
-
* Focuses the first item in the menu.
|
|
8719
|
-
*
|
|
8720
|
-
* @public
|
|
8721
|
-
*/
|
|
8722
|
-
focus(): void;
|
|
8723
|
-
/**
|
|
8724
|
-
* @internal
|
|
8725
|
-
*/
|
|
8726
|
-
handleMenuKeyDown(e: KeyboardEvent): void | boolean;
|
|
8727
|
-
/**
|
|
8728
|
-
* if focus is moving out of the menu, reset to a stable initial state
|
|
8729
|
-
* @internal
|
|
8730
|
-
*/
|
|
8731
|
-
handleFocusOut: (e: FocusEvent) => void;
|
|
8732
|
-
private handleItemFocus;
|
|
8733
|
-
private removeItemListeners;
|
|
8734
|
-
private static elementIndent;
|
|
8735
|
-
protected setItems(): void;
|
|
8736
|
-
/**
|
|
8737
|
-
* Method for Observable changes to the hidden attribute of child elements
|
|
8738
|
-
*/
|
|
8739
|
-
handleChange(source: any, propertyName: string): void;
|
|
8740
|
-
/**
|
|
8741
|
-
* Handle change from child MenuItem element and set radio group behavior
|
|
8742
|
-
*/
|
|
8743
|
-
private changedMenuItemHandler;
|
|
8744
|
-
/**
|
|
8745
|
-
* check if the item is a menu item
|
|
8746
|
-
*/
|
|
8747
|
-
protected isMenuItemElement: (el: Element) => el is HTMLElement;
|
|
8748
|
-
/**
|
|
8749
|
-
* check if the item is focusable
|
|
8750
|
-
*/
|
|
8751
|
-
private isFocusableElement;
|
|
8752
|
-
private setFocus;
|
|
8753
|
-
}
|
|
8754
|
-
|
|
8755
|
-
/**
|
|
8756
|
-
* @public
|
|
8757
|
-
* @remarks
|
|
8758
|
-
* HTML Element: <fluent-menu-list>
|
|
8759
|
-
*/
|
|
8760
|
-
export declare const MenuListDefinition: FASTElementDefinition<typeof MenuList>;
|
|
8761
|
-
|
|
8762
|
-
/** MenuList styles
|
|
8763
|
-
* @public
|
|
8764
|
-
*/
|
|
8765
|
-
export declare const MenuListStyles: ElementStyles;
|
|
8766
|
-
|
|
8767
|
-
export declare const MenuListTemplate: ElementViewTemplate<MenuList>;
|
|
8768
|
-
|
|
8769
|
-
/** Menu styles
|
|
8770
|
-
* @public
|
|
8771
|
-
*/
|
|
8772
|
-
export declare const MenuStyles: ElementStyles;
|
|
8773
|
-
|
|
8774
|
-
export declare const MenuTemplate: ElementViewTemplate<Menu>;
|
|
8775
|
-
|
|
8776
|
-
/**
|
|
8777
|
-
* A Message Bar Custom HTML Element.
|
|
8778
|
-
*
|
|
8779
|
-
* @tag fluent-message-bar
|
|
8780
|
-
*
|
|
8781
|
-
* @slot actions - Content that can be provided for the actions
|
|
8782
|
-
* @slot dismiss - Content that can be provided for the dismiss button
|
|
8783
|
-
* @slot - The default slot for the content
|
|
8784
|
-
* @public
|
|
8785
|
-
*/
|
|
8786
|
-
export declare class MessageBar extends FASTElement {
|
|
8787
|
-
/**
|
|
8788
|
-
* The internal {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
8789
|
-
*
|
|
8790
|
-
* @internal
|
|
8791
|
-
*/
|
|
8792
|
-
elementInternals: ElementInternals;
|
|
8793
|
-
constructor();
|
|
8794
|
-
/**
|
|
8795
|
-
* Sets the shape of the Message Bar.
|
|
8796
|
-
*
|
|
8797
|
-
* @public
|
|
8798
|
-
* @remarks
|
|
8799
|
-
* HTML Attribute: `shape`
|
|
8800
|
-
*/
|
|
8801
|
-
shape?: MessageBarShape;
|
|
9058
|
+
shape?: MessageBarShape;
|
|
8802
9059
|
/**
|
|
8803
9060
|
* Sets the layout of the control.
|
|
8804
9061
|
*
|
|
@@ -8824,13 +9081,11 @@ export declare class MessageBar extends FASTElement {
|
|
|
8824
9081
|
}
|
|
8825
9082
|
|
|
8826
9083
|
/**
|
|
8827
|
-
* The
|
|
9084
|
+
* The definition for the `<fluent-message-bar>` element.
|
|
8828
9085
|
*
|
|
8829
9086
|
* @public
|
|
8830
|
-
* @remarks
|
|
8831
|
-
* HTML Element: `<fluent-message-bar>`
|
|
8832
9087
|
*/
|
|
8833
|
-
export declare const MessageBarDefinition:
|
|
9088
|
+
export declare const MessageBarDefinition: PartialFASTElementDefinition;
|
|
8834
9089
|
|
|
8835
9090
|
/**
|
|
8836
9091
|
* The `intent` variations for the MessageBar component.
|
|
@@ -8879,15 +9134,31 @@ export declare const MessageBarStyles: ElementStyles;
|
|
|
8879
9134
|
|
|
8880
9135
|
/**
|
|
8881
9136
|
* The template for the MessageBar component.
|
|
8882
|
-
* @type
|
|
9137
|
+
* @type ElementViewTemplate
|
|
8883
9138
|
*/
|
|
8884
9139
|
export declare const MessageBarTemplate: ElementViewTemplate<MessageBar>;
|
|
8885
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
|
+
|
|
8886
9156
|
/**
|
|
8887
9157
|
* A Progress HTML Element.
|
|
8888
9158
|
* Based on BaseProgressBar and includes style and layout specific attributes
|
|
8889
9159
|
*
|
|
8890
9160
|
* @tag fluent-progress-bar
|
|
9161
|
+
* @csspart indicator - The internal progress indicator element.
|
|
8891
9162
|
*
|
|
8892
9163
|
* @public
|
|
8893
9164
|
*/
|
|
@@ -8914,14 +9185,11 @@ export declare class ProgressBar extends BaseProgressBar {
|
|
|
8914
9185
|
}
|
|
8915
9186
|
|
|
8916
9187
|
/**
|
|
8917
|
-
* The
|
|
8918
|
-
*
|
|
9188
|
+
* The definition for the `<fluent-progress-bar>` element.
|
|
8919
9189
|
*
|
|
8920
9190
|
* @public
|
|
8921
|
-
* @remarks
|
|
8922
|
-
* HTML Element: \<fluent-progress-bar\>
|
|
8923
9191
|
*/
|
|
8924
|
-
export declare const ProgressBarDefinition:
|
|
9192
|
+
export declare const ProgressBarDefinition: PartialFASTElementDefinition;
|
|
8925
9193
|
|
|
8926
9194
|
/**
|
|
8927
9195
|
* ProgressBarShape Constants
|
|
@@ -8985,8 +9253,9 @@ declare type PropertyNameForCalculation = 'max' | 'value';
|
|
|
8985
9253
|
* @tag fluent-radio
|
|
8986
9254
|
*
|
|
8987
9255
|
* @slot checked-indicator - The checked indicator slot
|
|
8988
|
-
* @fires change - Emits a custom change event when the checked state changes
|
|
8989
|
-
* @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
|
|
8990
9259
|
*
|
|
8991
9260
|
* @public
|
|
8992
9261
|
*/
|
|
@@ -8998,353 +9267,84 @@ export declare class Radio extends BaseCheckbox {
|
|
|
8998
9267
|
* @param prev - the previous value of the `disabled` property
|
|
8999
9268
|
* @param next - the current value of the `disabled` property
|
|
9000
9269
|
* @internal
|
|
9001
|
-
* @override
|
|
9002
|
-
*/
|
|
9003
|
-
protected disabledChanged(prev: boolean | undefined, next: boolean | undefined): void;
|
|
9004
|
-
/**
|
|
9005
|
-
* This method is a no-op for the radio component.
|
|
9006
|
-
*
|
|
9007
|
-
* @internal
|
|
9008
|
-
* @override
|
|
9009
|
-
* @remarks
|
|
9010
|
-
* To make a group of radio controls required, see {@link RadioGroup.required}.
|
|
9011
|
-
*/
|
|
9012
|
-
protected requiredChanged(): void;
|
|
9013
|
-
/**
|
|
9014
|
-
* This method is a no-op for the radio component.
|
|
9015
|
-
*
|
|
9016
|
-
* @internal
|
|
9017
|
-
* @override
|
|
9018
|
-
* @remarks
|
|
9019
|
-
* The radio form value is controlled by the `RadioGroup` component.
|
|
9020
|
-
*/
|
|
9021
|
-
setFormValue(): void;
|
|
9022
|
-
/**
|
|
9023
|
-
* Sets the validity of the control.
|
|
9024
|
-
*
|
|
9025
|
-
* @internal
|
|
9026
|
-
* @override
|
|
9027
|
-
* @remarks
|
|
9028
|
-
* The radio component does not have a `required` attribute, so this method always sets the validity to `true`.
|
|
9029
|
-
*/
|
|
9030
|
-
setValidity(): void;
|
|
9031
|
-
/**
|
|
9032
|
-
* Toggles the checked state of the control.
|
|
9033
|
-
*
|
|
9034
|
-
* @param force - Forces the element to be checked or unchecked
|
|
9035
|
-
* @public
|
|
9036
|
-
* @override
|
|
9037
|
-
* @remarks
|
|
9038
|
-
* The radio checked state is controlled by the `RadioGroup` component, so the `force` parameter defaults to `true`.
|
|
9039
|
-
*/
|
|
9040
|
-
toggleChecked(force?: boolean): void;
|
|
9041
|
-
}
|
|
9042
|
-
|
|
9043
|
-
/**
|
|
9044
|
-
* @public
|
|
9045
|
-
*/
|
|
9046
|
-
export declare type RadioControl = Pick<HTMLInputElement, 'checked' | 'disabled' | 'focus' | 'setAttribute' | 'getAttribute'>;
|
|
9047
|
-
|
|
9048
|
-
/**
|
|
9049
|
-
* The Fluent Radio Element.
|
|
9050
|
-
*
|
|
9051
|
-
*
|
|
9052
|
-
* @public
|
|
9053
|
-
* @remarks
|
|
9054
|
-
* HTML Element: \<fluent-radio\>
|
|
9055
|
-
*/
|
|
9056
|
-
export declare const RadioDefinition: FASTElementDefinition<typeof Radio>;
|
|
9057
|
-
|
|
9058
|
-
/**
|
|
9059
|
-
* A Radio Group Custom HTML Element.
|
|
9060
|
-
* Implements the {@link https://w3c.github.io/aria/#radiogroup | ARIA `radiogroup` role}.
|
|
9061
|
-
*
|
|
9062
|
-
* @tag fluent-radio-group
|
|
9063
|
-
*
|
|
9064
|
-
* @public
|
|
9065
|
-
*
|
|
9066
|
-
* @slot - The default slot for the radio group
|
|
9067
|
-
*/
|
|
9068
|
-
export declare class RadioGroup extends FASTElement {
|
|
9069
|
-
/**
|
|
9070
|
-
* The index of the checked radio, scoped to the enabled radios.
|
|
9071
|
-
*
|
|
9072
|
-
* @internal
|
|
9073
|
-
*/
|
|
9074
|
-
protected checkedIndex: number;
|
|
9075
|
-
/**
|
|
9076
|
-
* Sets the checked state of the nearest enabled radio when the `checkedIndex` changes.
|
|
9077
|
-
*
|
|
9078
|
-
* @param prev - the previous index
|
|
9079
|
-
* @param next - the current index
|
|
9080
|
-
* @internal
|
|
9081
|
-
*/
|
|
9082
|
-
protected checkedIndexChanged(prev: number | undefined, next: number): void;
|
|
9083
|
-
/**
|
|
9084
|
-
* Indicates that the value has been changed by the user.
|
|
9085
|
-
*/
|
|
9086
|
-
private dirtyState;
|
|
9087
|
-
/**
|
|
9088
|
-
* Disables the radio group and child radios.
|
|
9089
|
-
*
|
|
9090
|
-
* @public
|
|
9091
|
-
* @remarks
|
|
9092
|
-
* HTML Attribute: `disabled`
|
|
9093
|
-
*/
|
|
9094
|
-
disabled: boolean;
|
|
9095
|
-
/**
|
|
9096
|
-
* Sets the `disabled` attribute on all child radios when the `disabled` property changes.
|
|
9097
|
-
*
|
|
9098
|
-
* @param prev - the previous disabled value
|
|
9099
|
-
* @param next - the current disabled value
|
|
9100
|
-
* @internal
|
|
9101
|
-
*/
|
|
9102
|
-
protected disabledChanged(prev?: boolean, next?: boolean): void;
|
|
9103
|
-
/**
|
|
9104
|
-
* The value of the checked radio.
|
|
9105
|
-
*
|
|
9106
|
-
* @public
|
|
9107
|
-
* @remarks
|
|
9108
|
-
* HTML Attribute: `value`
|
|
9109
|
-
*/
|
|
9110
|
-
initialValue?: string;
|
|
9111
|
-
/**
|
|
9112
|
-
* Sets the matching radio to checked when the value changes. If no radio matches the value, no radio will be checked.
|
|
9113
|
-
*
|
|
9114
|
-
* @param prev - the previous value
|
|
9115
|
-
* @param next - the current value
|
|
9116
|
-
*/
|
|
9117
|
-
initialValueChanged(prev: string | undefined, next: string | undefined): void;
|
|
9118
|
-
/**
|
|
9119
|
-
* The name of the radio group.
|
|
9120
|
-
*
|
|
9121
|
-
* @public
|
|
9122
|
-
* @remarks
|
|
9123
|
-
* HTML Attribute: `name`
|
|
9124
|
-
*/
|
|
9125
|
-
name: string;
|
|
9126
|
-
/**
|
|
9127
|
-
* Sets the `name` attribute on all child radios when the `name` property changes.
|
|
9128
|
-
*
|
|
9129
|
-
* @internal
|
|
9130
|
-
*/
|
|
9131
|
-
protected nameChanged(prev: string | undefined, next: string | undefined): void;
|
|
9132
|
-
/**
|
|
9133
|
-
* The orientation of the group.
|
|
9134
|
-
*
|
|
9135
|
-
* @public
|
|
9136
|
-
* @remarks
|
|
9137
|
-
* HTML Attribute: `orientation`
|
|
9138
|
-
*/
|
|
9139
|
-
orientation?: RadioGroupOrientation;
|
|
9140
|
-
/**
|
|
9141
|
-
* Sets the ariaOrientation attribute when the orientation changes.
|
|
9142
|
-
*
|
|
9143
|
-
* @param prev - the previous orientation
|
|
9144
|
-
* @param next - the current orientation
|
|
9145
|
-
* @internal
|
|
9146
|
-
*/
|
|
9147
|
-
orientationChanged(prev: RadioGroupOrientation | undefined, next: RadioGroupOrientation | undefined): void;
|
|
9148
|
-
/**
|
|
9149
|
-
* The collection of all child radios.
|
|
9150
|
-
*
|
|
9151
|
-
* @public
|
|
9152
|
-
*/
|
|
9153
|
-
radios: Radio[];
|
|
9154
|
-
/**
|
|
9155
|
-
* Updates the enabled radios collection when properties on the child radios change.
|
|
9156
|
-
*
|
|
9157
|
-
* @param prev - the previous radios
|
|
9158
|
-
* @param next - the current radios
|
|
9159
|
-
*/
|
|
9160
|
-
radiosChanged(prev: Radio[] | undefined, next: Radio[] | undefined): void;
|
|
9161
|
-
/**
|
|
9162
|
-
* Indicates whether the radio group is required.
|
|
9163
|
-
*
|
|
9164
|
-
* @public
|
|
9165
|
-
* @remarks
|
|
9166
|
-
* HTML Attribute: `required`
|
|
9167
|
-
*/
|
|
9168
|
-
required: boolean;
|
|
9169
|
-
/**
|
|
9170
|
-
*
|
|
9171
|
-
* @param prev - the previous required value
|
|
9172
|
-
* @param next - the current required value
|
|
9173
|
-
*/
|
|
9174
|
-
requiredChanged(prev: boolean, next: boolean): void;
|
|
9175
|
-
/**
|
|
9176
|
-
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
9177
|
-
*
|
|
9178
|
-
* @internal
|
|
9179
|
-
*/
|
|
9180
|
-
elementInternals: ElementInternals;
|
|
9181
|
-
/**
|
|
9182
|
-
* A collection of child radios that are not disabled.
|
|
9183
|
-
*
|
|
9184
|
-
* @internal
|
|
9185
|
-
*/
|
|
9186
|
-
get enabledRadios(): Radio[];
|
|
9187
|
-
/**
|
|
9188
|
-
* The form-associated flag.
|
|
9189
|
-
* @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-face-example | Form-associated custom elements}
|
|
9190
|
-
*
|
|
9191
|
-
* @public
|
|
9192
|
-
*/
|
|
9193
|
-
static formAssociated: boolean;
|
|
9194
|
-
/**
|
|
9195
|
-
* The fallback validation message, taken from a native checkbox `<input>` element.
|
|
9196
|
-
*
|
|
9197
|
-
* @internal
|
|
9198
|
-
*/
|
|
9199
|
-
private _validationFallbackMessage;
|
|
9200
|
-
/**
|
|
9201
|
-
* The validation message. Uses the browser's default validation message for native checkboxes if not otherwise
|
|
9202
|
-
* specified (e.g., via `setCustomValidity`).
|
|
9203
|
-
*
|
|
9204
|
-
* @internal
|
|
9205
|
-
*/
|
|
9206
|
-
get validationMessage(): string;
|
|
9207
|
-
/**
|
|
9208
|
-
* The element's validity state.
|
|
9209
|
-
*
|
|
9210
|
-
* @public
|
|
9211
|
-
* @remarks
|
|
9212
|
-
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/validity | `ElementInternals.validity`} property.
|
|
9213
|
-
*/
|
|
9214
|
-
get validity(): ValidityState;
|
|
9215
|
-
/**
|
|
9216
|
-
* The current value of the checked radio.
|
|
9217
|
-
*
|
|
9218
|
-
* @public
|
|
9219
|
-
*/
|
|
9220
|
-
get value(): string | null;
|
|
9221
|
-
set value(next: string | null);
|
|
9222
|
-
/**
|
|
9223
|
-
* Sets the checked state of all radios when any radio emits a `change` event.
|
|
9224
|
-
*
|
|
9225
|
-
* @param e - the change event
|
|
9226
|
-
*/
|
|
9227
|
-
changeHandler(e: Event): boolean | void;
|
|
9228
|
-
/**
|
|
9229
|
-
* Checks the radio at the specified index.
|
|
9230
|
-
*
|
|
9231
|
-
* @param index - the index of the radio to check
|
|
9232
|
-
* @internal
|
|
9233
|
-
*/
|
|
9234
|
-
checkRadio(index?: number, shouldEmit?: boolean): void;
|
|
9235
|
-
/**
|
|
9236
|
-
* Checks the validity of the element and returns the result.
|
|
9237
|
-
*
|
|
9238
|
-
* @public
|
|
9239
|
-
* @remarks
|
|
9240
|
-
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/checkValidity | `HTMLInputElement.checkValidity()`} method.
|
|
9241
|
-
*/
|
|
9242
|
-
checkValidity(): boolean;
|
|
9243
|
-
/**
|
|
9244
|
-
* Handles click events for the radio group.
|
|
9245
|
-
*
|
|
9246
|
-
* @param e - the click event
|
|
9247
|
-
* @internal
|
|
9248
|
-
*/
|
|
9249
|
-
clickHandler(e: MouseEvent): boolean | void;
|
|
9250
|
-
constructor();
|
|
9251
|
-
/**
|
|
9252
|
-
* Focuses the checked radio or the first enabled radio.
|
|
9253
|
-
*
|
|
9254
|
-
* @internal
|
|
9255
|
-
*/
|
|
9256
|
-
focus(): void;
|
|
9257
|
-
/**
|
|
9258
|
-
* Enables tabbing through the radio group when the group receives focus.
|
|
9259
|
-
*
|
|
9260
|
-
* @param e - the focus event
|
|
9261
|
-
* @internal
|
|
9262
|
-
*/
|
|
9263
|
-
focusinHandler(e: FocusEvent): boolean | void;
|
|
9264
|
-
/**
|
|
9265
|
-
* Sets the tabindex of the radios based on the checked state when the radio group loses focus.
|
|
9266
|
-
*
|
|
9267
|
-
* @param e - the focusout event
|
|
9268
|
-
* @internal
|
|
9269
|
-
*/
|
|
9270
|
-
focusoutHandler(e: FocusEvent): boolean | void;
|
|
9271
|
-
formResetCallback(): void;
|
|
9272
|
-
private getEnabledIndexInBounds;
|
|
9273
|
-
/**
|
|
9274
|
-
* Handles keydown events for the radio group.
|
|
9275
|
-
*
|
|
9276
|
-
* @param e - the keyboard event
|
|
9277
|
-
* @internal
|
|
9278
|
-
*/
|
|
9279
|
-
keydownHandler(e: KeyboardEvent): boolean | void;
|
|
9280
|
-
/**
|
|
9281
|
-
*
|
|
9282
|
-
* @param e - the disabled event
|
|
9283
|
-
*/
|
|
9284
|
-
disabledRadioHandler(e: CustomEvent): void;
|
|
9285
|
-
/**
|
|
9286
|
-
* Reports the validity of the element.
|
|
9287
|
-
*
|
|
9288
|
-
* @public
|
|
9289
|
-
* @remarks
|
|
9290
|
-
* Reflects the {@link https://developer.mozilla.org/docs/Web/API/ElementInternals/reportValidity | `HTMLInputElement.reportValidity()`} method.
|
|
9270
|
+
* @override
|
|
9291
9271
|
*/
|
|
9292
|
-
|
|
9272
|
+
protected disabledChanged(prev: boolean | undefined, next: boolean | undefined): void;
|
|
9293
9273
|
/**
|
|
9294
|
-
*
|
|
9274
|
+
* This method is a no-op for the radio component.
|
|
9295
9275
|
*
|
|
9296
9276
|
* @internal
|
|
9277
|
+
* @override
|
|
9278
|
+
* @remarks
|
|
9279
|
+
* To make a group of radio controls required, see `RadioGroup.required`.
|
|
9297
9280
|
*/
|
|
9298
|
-
|
|
9281
|
+
protected requiredChanged(): void;
|
|
9299
9282
|
/**
|
|
9300
|
-
*
|
|
9283
|
+
* This method is a no-op for the radio component.
|
|
9301
9284
|
*
|
|
9302
9285
|
* @internal
|
|
9286
|
+
* @override
|
|
9287
|
+
* @remarks
|
|
9288
|
+
* The radio form value is controlled by the `RadioGroup` component.
|
|
9303
9289
|
*/
|
|
9304
|
-
setFormValue(
|
|
9290
|
+
setFormValue(): void;
|
|
9305
9291
|
/**
|
|
9306
|
-
* Sets the validity of the
|
|
9307
|
-
*
|
|
9308
|
-
* @param flags - Validity flags to set.
|
|
9309
|
-
* @param message - Optional message to supply. If not provided, the element's `validationMessage` will be used.
|
|
9310
|
-
* @param anchor - Optional anchor to use for the validation message.
|
|
9292
|
+
* Sets the validity of the control.
|
|
9311
9293
|
*
|
|
9312
9294
|
* @internal
|
|
9295
|
+
* @override
|
|
9313
9296
|
* @remarks
|
|
9314
|
-
*
|
|
9315
|
-
* This is necessary because:
|
|
9316
|
-
* 1. Each Radio is form-associated (extends BaseCheckbox which has `formAssociated = true`)
|
|
9317
|
-
* 2. Browser validation UIs and screen readers announce validation against individual form controls
|
|
9318
|
-
* 3. For groups like RadioGroup, the browser needs to report the error on a specific member of the group
|
|
9319
|
-
* 4. We anchor the error to the first Radio so it receives focus and announcement
|
|
9320
|
-
*
|
|
9321
|
-
* When the group is invalid (required but no selection):
|
|
9322
|
-
* - Only the first Radio gets the invalid state with the validation message
|
|
9323
|
-
* - Other Radios are kept valid since selecting any of them would satisfy the requirement
|
|
9324
|
-
*
|
|
9325
|
-
* When the group becomes valid (user selects any Radio):
|
|
9326
|
-
* - All Radios are cleared back to valid state
|
|
9327
|
-
* - 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`.
|
|
9328
9298
|
*/
|
|
9329
|
-
setValidity(
|
|
9299
|
+
setValidity(): void;
|
|
9330
9300
|
/**
|
|
9331
|
-
*
|
|
9301
|
+
* Toggles the checked state of the control.
|
|
9332
9302
|
*
|
|
9333
|
-
* @param
|
|
9334
|
-
* @
|
|
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`.
|
|
9335
9308
|
*/
|
|
9336
|
-
|
|
9309
|
+
toggleChecked(force?: boolean): void;
|
|
9337
9310
|
}
|
|
9338
9311
|
|
|
9339
9312
|
/**
|
|
9340
|
-
*
|
|
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
|
|
9341
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.
|
|
9342
9344
|
*
|
|
9343
9345
|
* @public
|
|
9344
|
-
* @remarks
|
|
9345
|
-
* HTML Element: \<fluent-radio-group\>
|
|
9346
9346
|
*/
|
|
9347
|
-
export declare const RadioGroupDefinition:
|
|
9347
|
+
export declare const RadioGroupDefinition: PartialFASTElementDefinition;
|
|
9348
9348
|
|
|
9349
9349
|
/**
|
|
9350
9350
|
* Radio Group orientation
|
|
@@ -9444,13 +9444,11 @@ export declare const RatingDisplayColor: {
|
|
|
9444
9444
|
export declare type RatingDisplayColor = ValuesOf<typeof RatingDisplayColor>;
|
|
9445
9445
|
|
|
9446
9446
|
/**
|
|
9447
|
-
* The definition for the
|
|
9447
|
+
* The definition for the `<fluent-rating-display>` element.
|
|
9448
9448
|
*
|
|
9449
9449
|
* @public
|
|
9450
|
-
* @remarks
|
|
9451
|
-
* HTML Element: `<fluent-rating-display>`
|
|
9452
9450
|
*/
|
|
9453
|
-
export declare const RatingDisplayDefinition:
|
|
9451
|
+
export declare const RatingDisplayDefinition: PartialFASTElementDefinition;
|
|
9454
9452
|
|
|
9455
9453
|
/**
|
|
9456
9454
|
* The size of a Rating Display can be `small`, `medium`, or `large`.
|
|
@@ -9508,12 +9506,6 @@ export declare const roleForMenuItem: {
|
|
|
9508
9506
|
*/
|
|
9509
9507
|
export declare function setTheme(theme: Theme | null, node?: Document | HTMLElement): void;
|
|
9510
9508
|
|
|
9511
|
-
/**
|
|
9512
|
-
* @internal
|
|
9513
|
-
* @deprecated Use `setTheme(theme, element)` instead.
|
|
9514
|
-
*/
|
|
9515
|
-
export declare function setThemeFor(element: HTMLElement, theme: Theme | null): void;
|
|
9516
|
-
|
|
9517
9509
|
/**
|
|
9518
9510
|
* CSS custom property value for the {@link @fluentui/tokens#shadow16 | `shadow16`} design token.
|
|
9519
9511
|
* @public
|
|
@@ -9594,7 +9586,7 @@ export declare const shadow8Brand = "var(--shadow8Brand)";
|
|
|
9594
9586
|
* @slot thumb - The slot for a custom thumb element.
|
|
9595
9587
|
* @csspart thumb-container - The container element of the thumb.
|
|
9596
9588
|
* @csspart track-container - The container element of the track.
|
|
9597
|
-
* @fires change - Fires a custom 'change' event when the value changes.
|
|
9589
|
+
* @fires { Event } change - Fires a custom 'change' event when the value changes.
|
|
9598
9590
|
*
|
|
9599
9591
|
* @public
|
|
9600
9592
|
*/
|
|
@@ -9804,6 +9796,13 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
|
|
|
9804
9796
|
*/
|
|
9805
9797
|
disabled: boolean;
|
|
9806
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;
|
|
9807
9806
|
/**
|
|
9808
9807
|
* The minimum allowed value.
|
|
9809
9808
|
*
|
|
@@ -9874,9 +9873,6 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
|
|
|
9874
9873
|
*/
|
|
9875
9874
|
mode: SliderMode;
|
|
9876
9875
|
constructor();
|
|
9877
|
-
/**
|
|
9878
|
-
* @internal
|
|
9879
|
-
*/
|
|
9880
9876
|
connectedCallback(): void;
|
|
9881
9877
|
/**
|
|
9882
9878
|
* @internal
|
|
@@ -9954,14 +9950,11 @@ export declare interface SliderConfiguration {
|
|
|
9954
9950
|
}
|
|
9955
9951
|
|
|
9956
9952
|
/**
|
|
9957
|
-
* The
|
|
9958
|
-
*
|
|
9953
|
+
* The definition for the `<fluent-slider>` element.
|
|
9959
9954
|
*
|
|
9960
9955
|
* @public
|
|
9961
|
-
* @remarks
|
|
9962
|
-
* HTML Element: \<fluent-slider\>
|
|
9963
9956
|
*/
|
|
9964
|
-
export declare const SliderDefinition:
|
|
9957
|
+
export declare const SliderDefinition: PartialFASTElementDefinition;
|
|
9965
9958
|
|
|
9966
9959
|
/**
|
|
9967
9960
|
* @public
|
|
@@ -10207,11 +10200,11 @@ export declare const SpinnerAppearance: {
|
|
|
10207
10200
|
export declare type SpinnerAppearance = ValuesOf<typeof SpinnerAppearance>;
|
|
10208
10201
|
|
|
10209
10202
|
/**
|
|
10203
|
+
* The definition for the `<fluent-spinner>` element.
|
|
10204
|
+
*
|
|
10210
10205
|
* @public
|
|
10211
|
-
* @remarks
|
|
10212
|
-
* HTML Element: \<fluent-spinner\>
|
|
10213
10206
|
*/
|
|
10214
|
-
export declare const SpinnerDefinition:
|
|
10207
|
+
export declare const SpinnerDefinition: PartialFASTElementDefinition;
|
|
10215
10208
|
|
|
10216
10209
|
/**
|
|
10217
10210
|
* SpinnerSize constants
|
|
@@ -10325,6 +10318,7 @@ export { styles as MenuButtonStyles }
|
|
|
10325
10318
|
* Based on BaseCheckbox and includes style and layout specific attributes
|
|
10326
10319
|
*
|
|
10327
10320
|
* @tag fluent-switch
|
|
10321
|
+
* @csspart checked-indicator - The internal switch indicator element.
|
|
10328
10322
|
*
|
|
10329
10323
|
*/
|
|
10330
10324
|
export declare class Switch extends BaseCheckbox {
|
|
@@ -10332,13 +10326,11 @@ export declare class Switch extends BaseCheckbox {
|
|
|
10332
10326
|
}
|
|
10333
10327
|
|
|
10334
10328
|
/**
|
|
10335
|
-
* The
|
|
10329
|
+
* The definition for the `<fluent-switch>` element.
|
|
10336
10330
|
*
|
|
10337
10331
|
* @public
|
|
10338
|
-
* @remarks
|
|
10339
|
-
* HTML Element: \<fluent-switch\>
|
|
10340
10332
|
*/
|
|
10341
|
-
export declare const SwitchDefinition:
|
|
10333
|
+
export declare const SwitchDefinition: PartialFASTElementDefinition;
|
|
10342
10334
|
|
|
10343
10335
|
/**
|
|
10344
10336
|
* SwitchLabelPosition Constants
|
|
@@ -10377,43 +10369,43 @@ export declare class Tab extends FASTElement {
|
|
|
10377
10369
|
* HTML Attribute: disabled
|
|
10378
10370
|
*/
|
|
10379
10371
|
disabled: boolean;
|
|
10380
|
-
|
|
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();
|
|
10381
10386
|
connectedCallback(): void;
|
|
10387
|
+
private setDisabledSideEffect;
|
|
10382
10388
|
}
|
|
10383
10389
|
|
|
10384
10390
|
export declare interface Tab extends StartEnd {
|
|
10385
10391
|
}
|
|
10386
10392
|
|
|
10387
|
-
|
|
10393
|
+
/**
|
|
10394
|
+
* The definition for the `<fluent-tab>` element.
|
|
10395
|
+
*
|
|
10396
|
+
* @public
|
|
10397
|
+
*/
|
|
10398
|
+
export declare const TabDefinition: PartialFASTElementDefinition;
|
|
10388
10399
|
|
|
10389
10400
|
/**
|
|
10390
|
-
* A
|
|
10401
|
+
* A Tablist component.
|
|
10391
10402
|
*
|
|
10392
10403
|
* @tag fluent-tablist
|
|
10404
|
+
* @fires { Event } change - Fired when the active tab changes.
|
|
10393
10405
|
*
|
|
10394
10406
|
* @public
|
|
10395
10407
|
*/
|
|
10396
10408
|
export declare class Tablist extends BaseTablist {
|
|
10397
|
-
/**
|
|
10398
|
-
* activeTabData
|
|
10399
|
-
* The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
|
|
10400
|
-
*/
|
|
10401
|
-
private activeTabData;
|
|
10402
|
-
/**
|
|
10403
|
-
* previousActiveTabData
|
|
10404
|
-
* The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
|
|
10405
|
-
*/
|
|
10406
|
-
private previousActiveTabData;
|
|
10407
|
-
/**
|
|
10408
|
-
* activeTabOffset
|
|
10409
|
-
* Used to position the active indicator for animations of the active indicator on active tab changes.
|
|
10410
|
-
*/
|
|
10411
|
-
private activeTabOffset;
|
|
10412
|
-
/**
|
|
10413
|
-
* activeTabScale
|
|
10414
|
-
* Used to scale the tab active indicator up or down as animations of the active indicator occur.
|
|
10415
|
-
*/
|
|
10416
|
-
private activeTabScale;
|
|
10417
10409
|
/**
|
|
10418
10410
|
* appearance
|
|
10419
10411
|
* There are two modes of appearance: transparent and subtle.
|
|
@@ -10425,58 +10417,10 @@ export declare class Tablist extends BaseTablist {
|
|
|
10425
10417
|
* Used to set the size of all the tab controls, which effects text size and margins. Three sizes: small, medium and large.
|
|
10426
10418
|
*/
|
|
10427
10419
|
size?: TablistSize;
|
|
10428
|
-
|
|
10429
|
-
|
|
10430
|
-
|
|
10431
|
-
|
|
10432
|
-
* These values will be applied to css variables that control the tab active indicator position animations
|
|
10433
|
-
*/
|
|
10434
|
-
private calculateAnimationProperties;
|
|
10435
|
-
/**
|
|
10436
|
-
* getSelectedTabPosition - gets the x or y coordinates of the tab
|
|
10437
|
-
*/
|
|
10438
|
-
private getTabPosition;
|
|
10439
|
-
/**
|
|
10440
|
-
* getSelectedTabScale - gets the scale of the tab
|
|
10441
|
-
*/
|
|
10442
|
-
private getTabScale;
|
|
10443
|
-
/**
|
|
10444
|
-
* Calculates and applies updated values to CSS variables.
|
|
10445
|
-
*
|
|
10446
|
-
* @param tab - the tab element to apply the updated values to
|
|
10447
|
-
* @internal
|
|
10448
|
-
*/
|
|
10449
|
-
private applyUpdatedCSSValues;
|
|
10450
|
-
/**
|
|
10451
|
-
* Runs through all the operations required for setting the tab active indicator to its starting location, ending
|
|
10452
|
-
* location, and applying the animated css class to the tab.
|
|
10453
|
-
*
|
|
10454
|
-
* @param tab - the tab element to apply the updated values to
|
|
10455
|
-
* @internal
|
|
10456
|
-
*/
|
|
10457
|
-
private animationLoop;
|
|
10458
|
-
/**
|
|
10459
|
-
* Sets the data from the active tab onto the class. used for making all the animation calculations for the active
|
|
10460
|
-
* tab indicator.
|
|
10461
|
-
*
|
|
10462
|
-
* @internal
|
|
10463
|
-
*/
|
|
10464
|
-
private setTabData;
|
|
10465
|
-
/**
|
|
10466
|
-
* Sets the css variables for the active tab indicator.
|
|
10467
|
-
* @internal
|
|
10468
|
-
*/
|
|
10469
|
-
private setAnimationVars;
|
|
10470
|
-
/**
|
|
10471
|
-
* Initiates the active tab indicator animation loop when activeid changes.
|
|
10472
|
-
* @param oldValue - the previous tabId
|
|
10473
|
-
* @param newValue - the new tabId
|
|
10474
|
-
*/
|
|
10475
|
-
activeidChanged(oldValue: string, newValue: string): void;
|
|
10476
|
-
/**
|
|
10477
|
-
* Initiates the active tab indicator animation loop when tabs change.
|
|
10478
|
-
*/
|
|
10479
|
-
tabsChanged(): void;
|
|
10420
|
+
private fg?;
|
|
10421
|
+
private fgItems?;
|
|
10422
|
+
disconnectedCallback(): void;
|
|
10423
|
+
tabsChanged(prev: Tab[] | undefined, next: Tab[] | undefined): void;
|
|
10480
10424
|
}
|
|
10481
10425
|
|
|
10482
10426
|
/**
|
|
@@ -10495,11 +10439,11 @@ export declare const TablistAppearance: {
|
|
|
10495
10439
|
export declare type TablistAppearance = ValuesOf<typeof TablistAppearance>;
|
|
10496
10440
|
|
|
10497
10441
|
/**
|
|
10442
|
+
* The definition for the `<fluent-tablist>` element.
|
|
10443
|
+
*
|
|
10498
10444
|
* @public
|
|
10499
|
-
* @remarks
|
|
10500
|
-
* HTML Element: \<fluent-tablist\>
|
|
10501
10445
|
*/
|
|
10502
|
-
export declare const TablistDefinition:
|
|
10446
|
+
export declare const TablistDefinition: PartialFASTElementDefinition;
|
|
10503
10447
|
|
|
10504
10448
|
/**
|
|
10505
10449
|
* The orientation of the component
|
|
@@ -10548,167 +10492,6 @@ export declare const TablistTemplate: ViewTemplate<Tablist, any>;
|
|
|
10548
10492
|
*/
|
|
10549
10493
|
export declare type TabOptions = StartEndOptions<Tab>;
|
|
10550
10494
|
|
|
10551
|
-
/**
|
|
10552
|
-
* @deprecated - Use tablist instead
|
|
10553
|
-
*
|
|
10554
|
-
* @tag fluent-tab-panel
|
|
10555
|
-
*/
|
|
10556
|
-
export declare class TabPanel extends FASTElement {
|
|
10557
|
-
}
|
|
10558
|
-
|
|
10559
|
-
/**
|
|
10560
|
-
* @deprecated - Use tablist instead
|
|
10561
|
-
*/
|
|
10562
|
-
export declare const TabPanelDefinition: FASTElementDefinition<typeof TabPanel>;
|
|
10563
|
-
|
|
10564
|
-
export declare const TabPanelStyles: ElementStyles;
|
|
10565
|
-
|
|
10566
|
-
export declare const TabPanelTemplate: ElementViewTemplate<TabPanel, any>;
|
|
10567
|
-
|
|
10568
|
-
/**
|
|
10569
|
-
* @deprecated - Use tablist instead
|
|
10570
|
-
*
|
|
10571
|
-
* @tag fluent-tabs
|
|
10572
|
-
*/
|
|
10573
|
-
export declare class Tabs extends BaseTabs {
|
|
10574
|
-
/**
|
|
10575
|
-
* activeTabData
|
|
10576
|
-
* The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
|
|
10577
|
-
*/
|
|
10578
|
-
private activeTabData;
|
|
10579
|
-
/**
|
|
10580
|
-
* previousActiveTabData
|
|
10581
|
-
* The positional coordinates and size dimensions of the active tab. Used for calculating the offset and scale of the tab active indicator.
|
|
10582
|
-
*/
|
|
10583
|
-
private previousActiveTabData;
|
|
10584
|
-
/**
|
|
10585
|
-
* activeTabOffset
|
|
10586
|
-
* Used to position the active indicator for animations of the active indicator on active tab changes.
|
|
10587
|
-
*/
|
|
10588
|
-
private activeTabOffset;
|
|
10589
|
-
/**
|
|
10590
|
-
* activeTabScale
|
|
10591
|
-
* Used to scale the tab active indicator up or down as animations of the active indicator occur.
|
|
10592
|
-
*/
|
|
10593
|
-
private activeTabScale;
|
|
10594
|
-
/**
|
|
10595
|
-
* styles
|
|
10596
|
-
* used in the class for storing the css variables required for animations
|
|
10597
|
-
*/
|
|
10598
|
-
private styles;
|
|
10599
|
-
/**
|
|
10600
|
-
* appearance
|
|
10601
|
-
* There are two modes of appearance: transparent and subtle.
|
|
10602
|
-
*/
|
|
10603
|
-
appearance?: TabsAppearance;
|
|
10604
|
-
/**
|
|
10605
|
-
* disabled
|
|
10606
|
-
* 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."
|
|
10607
|
-
*/
|
|
10608
|
-
disabled?: boolean;
|
|
10609
|
-
/**
|
|
10610
|
-
* size
|
|
10611
|
-
* defaults to medium.
|
|
10612
|
-
* Used to set the size of all the tab controls, which effects text size and margins. Three sizes: small, medium and large.
|
|
10613
|
-
*/
|
|
10614
|
-
size?: TabsSize;
|
|
10615
|
-
/**
|
|
10616
|
-
* calculateAnimationProperties
|
|
10617
|
-
*
|
|
10618
|
-
* Recalculates the active tab offset and scale.
|
|
10619
|
-
* These values will be applied to css variables that control the tab active indicator position animations
|
|
10620
|
-
*/
|
|
10621
|
-
private calculateAnimationProperties;
|
|
10622
|
-
/**
|
|
10623
|
-
* getSelectedTabPosition - gets the x or y coordinates of the tab
|
|
10624
|
-
*/
|
|
10625
|
-
private getTabPosition;
|
|
10626
|
-
/**
|
|
10627
|
-
* getSelectedTabScale - gets the scale of the tab
|
|
10628
|
-
*/
|
|
10629
|
-
private getTabScale;
|
|
10630
|
-
/**
|
|
10631
|
-
* Calculates and applies updated values to CSS variables.
|
|
10632
|
-
*
|
|
10633
|
-
* @param tab - the tab element to apply the updated values to
|
|
10634
|
-
* @internal
|
|
10635
|
-
*/
|
|
10636
|
-
private applyUpdatedCSSValues;
|
|
10637
|
-
/**
|
|
10638
|
-
* Runs through all the operations required for setting the tab active indicator to its starting location, ending
|
|
10639
|
-
* location, and applying the animated css class to the tab.
|
|
10640
|
-
*
|
|
10641
|
-
* @param tab - the tab element to apply the updated values to
|
|
10642
|
-
* @internal
|
|
10643
|
-
*/
|
|
10644
|
-
private animationLoop;
|
|
10645
|
-
/**
|
|
10646
|
-
* Gets the position data for a tab element relative to its parent
|
|
10647
|
-
* @param tab - The tab element to get position data for
|
|
10648
|
-
* @returns The position data for the tab
|
|
10649
|
-
*/
|
|
10650
|
-
private getTabPositionData;
|
|
10651
|
-
/**
|
|
10652
|
-
* Sets the data from the active tab onto the class. used for making all the animation calculations for the active
|
|
10653
|
-
* tab indicator.
|
|
10654
|
-
*
|
|
10655
|
-
* @internal
|
|
10656
|
-
*/
|
|
10657
|
-
private setTabData;
|
|
10658
|
-
private setTabOffsetCSSVar;
|
|
10659
|
-
private setTabScaleCSSVar;
|
|
10660
|
-
activeidChanged(oldValue: string, newValue: string): void;
|
|
10661
|
-
tabsChanged(): void;
|
|
10662
|
-
}
|
|
10663
|
-
|
|
10664
|
-
export declare interface Tabs extends StartEnd {
|
|
10665
|
-
}
|
|
10666
|
-
|
|
10667
|
-
export declare const TabsAppearance: {
|
|
10668
|
-
readonly subtle: "subtle";
|
|
10669
|
-
readonly transparent: "transparent";
|
|
10670
|
-
};
|
|
10671
|
-
|
|
10672
|
-
export declare type TabsAppearance = ValuesOf<typeof TabsAppearance>;
|
|
10673
|
-
|
|
10674
|
-
/**
|
|
10675
|
-
* @deprecated - Use tablist instead
|
|
10676
|
-
*/
|
|
10677
|
-
export declare const TabsDefinition: FASTElementDefinition<typeof Tabs>;
|
|
10678
|
-
|
|
10679
|
-
/**
|
|
10680
|
-
* Tabs option configuration options
|
|
10681
|
-
* @public
|
|
10682
|
-
*/
|
|
10683
|
-
export declare type TabsOptions = StartEndOptions<Tabs>;
|
|
10684
|
-
|
|
10685
|
-
/**
|
|
10686
|
-
* The orientation of the component
|
|
10687
|
-
* @public
|
|
10688
|
-
*/
|
|
10689
|
-
export declare const TabsOrientation: {
|
|
10690
|
-
readonly horizontal: "horizontal";
|
|
10691
|
-
readonly vertical: "vertical";
|
|
10692
|
-
};
|
|
10693
|
-
|
|
10694
|
-
/**
|
|
10695
|
-
* The types for the Tabs component
|
|
10696
|
-
* @public
|
|
10697
|
-
*/
|
|
10698
|
-
export declare type TabsOrientation = ValuesOf<typeof TabsOrientation>;
|
|
10699
|
-
|
|
10700
|
-
export declare const TabsSize: {
|
|
10701
|
-
readonly small: "small";
|
|
10702
|
-
readonly medium: "medium";
|
|
10703
|
-
readonly large: "large";
|
|
10704
|
-
};
|
|
10705
|
-
|
|
10706
|
-
export declare type TabsSize = ValuesOf<typeof TabsSize>;
|
|
10707
|
-
|
|
10708
|
-
export declare const TabsStyles: ElementStyles;
|
|
10709
|
-
|
|
10710
|
-
export declare const TabsTemplate: ElementViewTemplate<Tabs, any>;
|
|
10711
|
-
|
|
10712
10495
|
export declare const TabStyles: ElementStyles;
|
|
10713
10496
|
|
|
10714
10497
|
export declare const TabTemplate: ElementViewTemplate<Tab, any>;
|
|
@@ -10718,6 +10501,8 @@ export declare const TabTemplate: ElementViewTemplate<Tab, any>;
|
|
|
10718
10501
|
*
|
|
10719
10502
|
* @tag fluent-text
|
|
10720
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
|
+
*
|
|
10721
10506
|
* @public
|
|
10722
10507
|
*/
|
|
10723
10508
|
declare class Text_2 extends FASTElement {
|
|
@@ -10909,13 +10694,11 @@ export declare const TextAreaAutocomplete: {
|
|
|
10909
10694
|
export declare type TextAreaAutocomplete = ValuesOf<typeof TextAreaAutocomplete>;
|
|
10910
10695
|
|
|
10911
10696
|
/**
|
|
10912
|
-
* The
|
|
10697
|
+
* The definition for the `<fluent-textarea>` element.
|
|
10913
10698
|
*
|
|
10914
10699
|
* @public
|
|
10915
|
-
* @remarks
|
|
10916
|
-
* HTML Element: `<fluent-textarea>`
|
|
10917
10700
|
*/
|
|
10918
|
-
export declare const TextAreaDefinition:
|
|
10701
|
+
export declare const TextAreaDefinition: PartialFASTElementDefinition;
|
|
10919
10702
|
|
|
10920
10703
|
/**
|
|
10921
10704
|
* Values for the `resize` attribute on TextArea elements.
|
|
@@ -10955,14 +10738,11 @@ export declare const TextAreaStyles: ElementStyles;
|
|
|
10955
10738
|
export declare const TextAreaTemplate: ElementViewTemplate<TextArea>;
|
|
10956
10739
|
|
|
10957
10740
|
/**
|
|
10958
|
-
* The
|
|
10959
|
-
*
|
|
10741
|
+
* The definition for the `<fluent-text>` element.
|
|
10960
10742
|
*
|
|
10961
10743
|
* @public
|
|
10962
|
-
* @remarks
|
|
10963
|
-
* HTML Element: \<fluent-text\>
|
|
10964
10744
|
*/
|
|
10965
|
-
export declare const TextDefinition:
|
|
10745
|
+
export declare const TextDefinition: PartialFASTElementDefinition;
|
|
10966
10746
|
|
|
10967
10747
|
/**
|
|
10968
10748
|
* TextFont Constants
|
|
@@ -10985,6 +10765,8 @@ export declare type TextFont = ValuesOf<typeof TextFont>;
|
|
|
10985
10765
|
* Based on BaseTextInput and includes style and layout specific attributes
|
|
10986
10766
|
*
|
|
10987
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.
|
|
10988
10770
|
*
|
|
10989
10771
|
* @public
|
|
10990
10772
|
*/
|
|
@@ -11045,13 +10827,11 @@ export declare const TextInputControlSize: {
|
|
|
11045
10827
|
export declare type TextInputControlSize = ValuesOf<typeof TextInputControlSize>;
|
|
11046
10828
|
|
|
11047
10829
|
/**
|
|
11048
|
-
* The
|
|
10830
|
+
* The definition for the `<fluent-text-input>` element.
|
|
11049
10831
|
*
|
|
11050
10832
|
* @public
|
|
11051
|
-
* @remarks
|
|
11052
|
-
* HTML Element: `<fluent-text-input>`
|
|
11053
10833
|
*/
|
|
11054
|
-
export declare const TextInputDefinition:
|
|
10834
|
+
export declare const TextInputDefinition: PartialFASTElementDefinition;
|
|
11055
10835
|
|
|
11056
10836
|
/**
|
|
11057
10837
|
* TextInput configuration options.
|
|
@@ -11216,12 +10996,11 @@ export declare const ToggleButtonAppearance: {
|
|
|
11216
10996
|
export declare type ToggleButtonAppearance = ValuesOf<typeof ToggleButtonAppearance>;
|
|
11217
10997
|
|
|
11218
10998
|
/**
|
|
10999
|
+
* The definition for the `<fluent-toggle-button>` element.
|
|
11219
11000
|
*
|
|
11220
11001
|
* @public
|
|
11221
|
-
* @remarks
|
|
11222
|
-
* HTML Element: \<fluent-toggle-button\>
|
|
11223
11002
|
*/
|
|
11224
|
-
export declare const ToggleButtonDefinition:
|
|
11003
|
+
export declare const ToggleButtonDefinition: PartialFASTElementDefinition;
|
|
11225
11004
|
|
|
11226
11005
|
/**
|
|
11227
11006
|
* A Toggle Button can be square, circular or rounded.
|
|
@@ -11276,6 +11055,8 @@ export declare const ToggleButtonTemplate: ElementViewTemplate<ToggleButton>;
|
|
|
11276
11055
|
*
|
|
11277
11056
|
* @tag fluent-tooltip
|
|
11278
11057
|
*
|
|
11058
|
+
* @slot - The default slot. Accepts the content of the tooltip.
|
|
11059
|
+
*
|
|
11279
11060
|
* @public
|
|
11280
11061
|
*/
|
|
11281
11062
|
export declare class Tooltip extends FASTElement {
|
|
@@ -11329,13 +11110,13 @@ export declare class Tooltip extends FASTElement {
|
|
|
11329
11110
|
disconnectedCallback(): void;
|
|
11330
11111
|
/**
|
|
11331
11112
|
* Shows the tooltip
|
|
11332
|
-
* @param delay Number of milliseconds to delay showing the tooltip
|
|
11113
|
+
* @param delay - Number of milliseconds to delay showing the tooltip
|
|
11333
11114
|
* @internal
|
|
11334
11115
|
*/
|
|
11335
11116
|
showTooltip(delay?: number): void;
|
|
11336
11117
|
/**
|
|
11337
11118
|
* Hide the tooltip
|
|
11338
|
-
* @param delay Number of milliseconds to delay hiding the tooltip
|
|
11119
|
+
* @param delay - Number of milliseconds to delay hiding the tooltip
|
|
11339
11120
|
* @internal
|
|
11340
11121
|
*/
|
|
11341
11122
|
hideTooltip(delay?: number): void;
|
|
@@ -11355,17 +11136,24 @@ export declare class Tooltip extends FASTElement {
|
|
|
11355
11136
|
* Hide the tooltip on blur
|
|
11356
11137
|
*/
|
|
11357
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
|
+
*/
|
|
11358
11148
|
private setFallbackStyles;
|
|
11359
11149
|
}
|
|
11360
11150
|
|
|
11361
11151
|
/**
|
|
11362
|
-
* The
|
|
11152
|
+
* The definition for the `<fluent-tooltip>` element.
|
|
11363
11153
|
*
|
|
11364
11154
|
* @public
|
|
11365
|
-
* @remarks
|
|
11366
|
-
* HTML Element: `<fluent-tooltip>`
|
|
11367
11155
|
*/
|
|
11368
|
-
export declare const TooltipDefinition:
|
|
11156
|
+
export declare const TooltipDefinition: PartialFASTElementDefinition;
|
|
11369
11157
|
|
|
11370
11158
|
/**
|
|
11371
11159
|
* The TooltipPositioning options and their corresponding CSS values
|
|
@@ -11431,31 +11219,50 @@ export declare class Tree extends BaseTree {
|
|
|
11431
11219
|
*/
|
|
11432
11220
|
appearance: TreeItemAppearance;
|
|
11433
11221
|
protected appearanceChanged(): void;
|
|
11222
|
+
private fg?;
|
|
11223
|
+
private fgItems?;
|
|
11434
11224
|
/**
|
|
11435
11225
|
* child tree items supered change event
|
|
11436
11226
|
* @internal
|
|
11437
11227
|
*/
|
|
11438
11228
|
childTreeItemsChanged(): void;
|
|
11229
|
+
disconnectedCallback(): void;
|
|
11439
11230
|
/**
|
|
11440
11231
|
* 1. Update the child items' size based on the tree's size
|
|
11441
11232
|
* 2. Update the child items' appearance based on the tree's appearance
|
|
11442
11233
|
*/
|
|
11443
11234
|
updateSizeAndAppearance(): void;
|
|
11235
|
+
/** @internal */
|
|
11236
|
+
itemToggleHandler(): void;
|
|
11444
11237
|
}
|
|
11445
11238
|
|
|
11446
11239
|
/**
|
|
11240
|
+
* The definition for the `<fluent-tree>` element.
|
|
11447
11241
|
*
|
|
11448
11242
|
* @public
|
|
11449
|
-
* @remarks
|
|
11450
|
-
* HTML Element: \<fluent-tree\>
|
|
11451
11243
|
*/
|
|
11452
|
-
export declare const TreeDefinition:
|
|
11244
|
+
export declare const TreeDefinition: PartialFASTElementDefinition;
|
|
11453
11245
|
|
|
11454
11246
|
/**
|
|
11455
11247
|
* The Fluent Tree Item Element. Implements {@link @microsoft/fast-foundation#BaseTreeItem}.
|
|
11456
11248
|
*
|
|
11457
11249
|
* @tag fluent-tree-item
|
|
11458
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
|
+
*
|
|
11459
11266
|
*/
|
|
11460
11267
|
export declare class TreeItem extends BaseTreeItem {
|
|
11461
11268
|
/**
|
|
@@ -11503,12 +11310,11 @@ export declare const TreeItemAppearance: {
|
|
|
11503
11310
|
export declare type TreeItemAppearance = ValuesOf<typeof TreeItemAppearance>;
|
|
11504
11311
|
|
|
11505
11312
|
/**
|
|
11313
|
+
* The definition for the `<fluent-tree-item>` element.
|
|
11506
11314
|
*
|
|
11507
11315
|
* @public
|
|
11508
|
-
* @remarks
|
|
11509
|
-
* HTML Element: \<fluent-tree-item\>
|
|
11510
11316
|
*/
|
|
11511
|
-
export declare const TreeItemDefinition:
|
|
11317
|
+
export declare const TreeItemDefinition: PartialFASTElementDefinition;
|
|
11512
11318
|
|
|
11513
11319
|
export declare const TreeItemSize: {
|
|
11514
11320
|
readonly small: "small";
|