-
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
Accordion Convergence #16969
Accordion Convergence #16969
Conversation
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 6c126d0:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 1148bc99d2dd9a9d8452ab1d95d83e7d9ab6cf1d (build) |
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
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.
Some comments on build setup--I think most of these have been fixed in the template but may have been after you created your package.
change/@fluentui-react-accordion-0dc572ee-df54-4e96-923d-db68fe030532.json
Outdated
Show resolved
Hide resolved
Seems like @reach/descendants requires Typescript 3.8, due to Type-only Export. #16101 may be required. |
packages/react-accordion/src/components/AccordionHeader/DefaultExpandIcon.tsx
Outdated
Show resolved
Hide resolved
packages/react-accordion/src/components/AccordionHeader/DefaultExpandIcon.tsx
Show resolved
Hide resolved
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.
LGTM from a build perspective once the issues @layershifter mentioned about versions are addressed.
Also mentioned this in a thread comment but repeating here so it doesn't get buried: it might be worth filing a syncpack issue asking for an explicit option determining how to resolve mismatches (we usually prefer newest, but others might prefer most popular). The author has been pretty helpful in the past. https://github.com/JamieMason/syncpack
…sunderhus/accordion-convergence � Conflicts: � packages/react-examples/package.json
packages/react-accordion/src/components/Accordion/useAccordionStyles.ts
Outdated
Show resolved
Hide resolved
🎉 Handy links: |
🎉 Handy links: |
* Scaffold react-accordion project * Writes initial Spec * Change files * Updates API * Bumps version of dependencies * Update Test * Updates API * Updates spec * Updates Spec * Update deps * Delete components * Add components scaffolding * Update AccordionHeader * Updates button slot * Updates accordion header and item * Update Accordion context * Update Accordion context * Add examples * Update packages/react-accordion/package.json Co-authored-by: Elizabeth Craig <[email protected]> * Update packages/react-accordion/tsconfig.json Co-authored-by: Elizabeth Craig <[email protected]> * Update dependencies and version * Update accordion logic * Change useRef for useConst * Update change/@fluentui-react-accordion-0dc572ee-df54-4e96-923d-db68fe030532.json Co-authored-by: Elizabeth Craig <[email protected]> * Update packages/react-accordion/jest.config.js Co-authored-by: Elizabeth Craig <[email protected]> * Adds ability helpers to react-accordion examples * Update styles and spec * Update spec * Update styles * Add to AccordionHeader children as a slot * Update packages/react-accordion/Spec.md Co-authored-by: Oleksandr Fediashov <[email protected]> * Update packages/react-accordion/package.json Co-authored-by: Oleksandr Fediashov <[email protected]> * Update packages/react-accordion/package.json Co-authored-by: Oleksandr Fediashov <[email protected]> * Update packages/react-accordion/src/components/Accordion/useAccordionContext.ts Co-authored-by: Oleksandr Fediashov <[email protected]> * Update specs * use useControllable hook to control Accordion open state * Update versions * Lint * Updates accordion internals to normalize indexes * updates API * Change files * Updates Accordion comments * Fix sb problems with withCompatThemeProvider * Adds AccordionHeader common props to Accordion context * Adds rendering test * Update AccordionContext to use context selector * Adds useAccordion test * Deletes unecessary change files * Fiz prelint issues * Change files * Update Accordion public API * Fix AMD issues * Update packages/react-examples/.storybook/preview.js Co-authored-by: Oleksandr Fediashov <[email protected]> * Update scripts/format.js Co-authored-by: Oleksandr Fediashov <[email protected]> * Update packages/react-accordion/package.json Co-authored-by: Oleksandr Fediashov <[email protected]> * Bump "@fluentui/react-utilities" dependency version * Update icon * Update DefaultIcon and internal signatures * updates wrongly bumped dependencies * Deletes Cahnge file * Change files * Updates DefaultExpandIcon internal Chevron * Updates public API * Fix tests * fix versions, remove change files, restore changes * Update makeStyles to makeStylesCompat * Removes unused style file * Update snapshot Co-authored-by: Elizabeth Craig <[email protected]> Co-authored-by: Oleksandr Fediashov <[email protected]>
* Scaffold react-accordion project * Writes initial Spec * Change files * Updates API * Bumps version of dependencies * Update Test * Updates API * Updates spec * Updates Spec * Update deps * Delete components * Add components scaffolding * Update AccordionHeader * Updates button slot * Updates accordion header and item * Update Accordion context * Update Accordion context * Add examples * Update packages/react-accordion/package.json Co-authored-by: Elizabeth Craig <[email protected]> * Update packages/react-accordion/tsconfig.json Co-authored-by: Elizabeth Craig <[email protected]> * Update dependencies and version * Update accordion logic * Change useRef for useConst * Update change/@fluentui-react-accordion-0dc572ee-df54-4e96-923d-db68fe030532.json Co-authored-by: Elizabeth Craig <[email protected]> * Update packages/react-accordion/jest.config.js Co-authored-by: Elizabeth Craig <[email protected]> * Adds ability helpers to react-accordion examples * Update styles and spec * Update spec * Update styles * Add to AccordionHeader children as a slot * Update packages/react-accordion/Spec.md Co-authored-by: Oleksandr Fediashov <[email protected]> * Update packages/react-accordion/package.json Co-authored-by: Oleksandr Fediashov <[email protected]> * Update packages/react-accordion/package.json Co-authored-by: Oleksandr Fediashov <[email protected]> * Update packages/react-accordion/src/components/Accordion/useAccordionContext.ts Co-authored-by: Oleksandr Fediashov <[email protected]> * Update specs * use useControllable hook to control Accordion open state * Update versions * Lint * Updates accordion internals to normalize indexes * updates API * Change files * Updates Accordion comments * Fix sb problems with withCompatThemeProvider * Adds AccordionHeader common props to Accordion context * Adds rendering test * Update AccordionContext to use context selector * Adds useAccordion test * Deletes unecessary change files * Fiz prelint issues * Change files * Update Accordion public API * Fix AMD issues * Update packages/react-examples/.storybook/preview.js Co-authored-by: Oleksandr Fediashov <[email protected]> * Update scripts/format.js Co-authored-by: Oleksandr Fediashov <[email protected]> * Update packages/react-accordion/package.json Co-authored-by: Oleksandr Fediashov <[email protected]> * Bump "@fluentui/react-utilities" dependency version * Update icon * Update DefaultIcon and internal signatures * updates wrongly bumped dependencies * Deletes Cahnge file * Change files * Updates DefaultExpandIcon internal Chevron * Updates public API * Fix tests * fix versions, remove change files, restore changes * Update makeStyles to makeStylesCompat * Removes unused style file * Update snapshot Co-authored-by: Elizabeth Craig <[email protected]> Co-authored-by: Oleksandr Fediashov <[email protected]>
Pull request checklist
yarn change
Description of changes
react-accordion
projectFocus areas to test
Completes some tasks from #16926