-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
divides accordion and accordion item readme #26938
divides accordion and accordion item readme #26938
Conversation
📊 Bundle size report🤖 This report was generated against 237267b5ad816d090011c93f2922476c1abfe87f |
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 237267b5ad816d090011c93f2922476c1abfe87f (build) |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 9473f5d:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love the WC3 vs FUIR9 comparison!
**Property Mapping** | ||
| Fluent UI React 9 | Fluent Web Components 3 | Description of difference | | ||
|---------------------------|---------------------------|------------------------------------------------------------------------------------------| | ||
| `defaultOpenItems: number`| `expand: boolean` | _FuiR9_ `defaultOpenItems` is a number property set on the `Accordion` corresponding to the intended `AccordionItem` to be expanded.<hr /> `expand` is a boolean property set directly on the `AccordionItem` intended to be expanded. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would expect defaultOpenItems
to be documented both here in accordion-item
and in accordion
as well.
| Fluent UI React 9 | Fluent Web Components 3 | Description of difference | | ||
|---------------------------|---------------------------|------------------------------------------------------------------------------------------| | ||
| `defaultOpenItems: number`| `expand: boolean` | _FuiR9_ `defaultOpenItems` is a number property set on the `Accordion` corresponding to the intended `AccordionItem` to be expanded.<hr /> `expand` is a boolean property set directly on the `AccordionItem` intended to be expanded. | ||
| `multiple: boolean` | `expandmode: "single"` | `"multiple"`| | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be moved to accordion
.
| `multiple: boolean` | `expandmode: "single"` | `"multiple"`| | | |
| `multiple: boolean` | `expand-mode: "single"` | `"multiple"`| | |
| `size` | `size` | | ||
| `as: 'h1'` | `'h2'` | `'h3'` | `'h4'` | `'h5'` | `'h6'` | `headinglevel: 1` | `2` | `3` | `4` | `5` | `6` | `as` property sets a wrapper around the `AccordionItem` header with the corresponding header tag ( `h1`, `h2`, etc. ) <hr /> `headinglevel` sets the `aria-level` attribute to the corresponding heading level. | ||
| `disabled` | `disabled` | | ||
| `expandIconPosition` | `expandIconPosition` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `expandIconPosition` | `expandIconPosition` | | |
| `expandIconPosition` | `expand-icon-position` | |
…ntui into web-components-v3
…ntui into web-components-v3
…//github.com/microsoft/fluentui into user/brianbrady/webComponentAccordionDocsFix
* divides accordion and accordion item readme * updates accordion docs * updates accordion docs * formats docs table * yarn change
* divides accordion and accordion item readme * updates accordion docs * updates accordion docs * formats docs table * yarn change
* divides accordion and accordion item readme * updates accordion docs * updates accordion docs * formats docs table * yarn change
* divides accordion and accordion item readme * updates accordion docs * updates accordion docs * formats docs table * yarn change
* divides accordion and accordion item readme * updates accordion docs * updates accordion docs * formats docs table * yarn change
* divides accordion and accordion item readme * updates accordion docs * updates accordion docs * formats docs table * yarn change
* divides accordion and accordion item readme * updates accordion docs * updates accordion docs * formats docs table * yarn change
* divides accordion and accordion item readme * updates accordion docs * updates accordion docs * formats docs table * yarn change
* divides accordion and accordion item readme * updates accordion docs * updates accordion docs * formats docs table * yarn change
* divides accordion and accordion item readme * updates accordion docs * updates accordion docs * formats docs table * yarn change
* divides accordion and accordion item readme * updates accordion docs * updates accordion docs * formats docs table * yarn change
* divides accordion and accordion item readme * updates accordion docs * updates accordion docs * formats docs table * yarn change
* divides accordion and accordion item readme * updates accordion docs * updates accordion docs * formats docs table * yarn change
Divides Accordion and Accordion Item docs into two separate README