Skip to content
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

Web Components v3 #30191

Closed
wants to merge 198 commits into from
Closed

Web Components v3 #30191

wants to merge 198 commits into from

Conversation

levithomason
Copy link
Member

This PR will merge Fluent UI Web Components v3 into master, replacing the current Fluent React Web Components v2.

TODO before merge:

  • Create a FUIWC v2 branch from master immediately prior to merge, for maintenance
  • Figure out v2 release, consult with @Hotell and @TristanWatanabe

Copy link

codesandbox-ci bot commented Jan 2, 2024

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.

miroslavstastny and others added 29 commits May 6, 2024 14:53
* Enable build pipeline for web-components-v3 branch

* Add comments
* Delete existing Web Components implementation

* Reset storybook

* Change file

* Add empty test to pass CI

* Comment out WCs in stress-test
* ci: setup wc v3 daily releases

* chore: UNDO - remove web-components from stress-test deps

* ci: add change files check so we dont accidentaly release something beside wc-3

* chore: remove changefiles from master that could trigger unwanted releases

* generate changefiles
* bump FAST dependencies

* Add theme tokens (from react-theme)

* Add theme switcher to storybook

* deduplicate packages

* fix yarn.lock

* Replace @fluentui/react-theme with @fluentui/tokens

* change file

* address PR comments
* chore: setup typescript 4.7 for web-components package

* chore: generate change-file

* fixup! chore: setup typescript 4.7 for web-components package

* fixup! fixup! chore: setup typescript 4.7 for web-components package
* add text as a new component

* update main.js to .cjs format for esm due to require syntax

* update style rules to align with FUI react v9, export text options, update stories to leverage object.keys of options

* export text, update node resolution to 16 and fix object.keys for size to object.values

* prettier style files, may need to revert if it does not play nice with selectors

* update display for host to ensure we can layout the element properly margin, etc...

* update latest FAST packages

* leverage ValuesOf type helper
* add badge as a new component

* add counter badge as a new component

* fix broken import and add export paths

* use badge template for counter badge to render count

* update badge svg styles and fix import syntax

* fixup imports for stories

* update partial with default styles

* js extension missing from partial imports

* update api report
* Adds web component version of ProgressBar

* Generates change

* Renames progressbar to progress-bar

* Changes alphabetical ordering of imports

* Enumerates null value; Adds ? to boolean in Story

* Adds typedocs to progress-bar class

* Fixes class to attribute typo in CSS

* Removes duped CSS

* Adds export of progress-bar to package.json

* Removes null in validation state object

* Removes local CSS variables; Removes defaults on thickness and rounded corners

* Removes unused CSS

* Removes unused options, pause and min, that don't exist in Fluent

* Addresses remaining feedback on PR: Renames rect to square; Cleans up Storybook
…6498)

* chore: run manually bump to fix failed CI release

* generate changefile
* feat: export theme

* change file
* ci: fix github pushes auth for release

* chore(web-components): run manually bump to fix failed CI release

* generate changefile
* chore(web-components): turn of storybook telemetry

* ci: setup web-components docsite CI/CD

* generate change-file
* Update azure-static-web-apps-deploy.yml

* Update and rename azure-static-web-apps-deploy.yml to azure-storage-web-components.yml

* Update azure-storage-web-components.yml

* Create azure-static-web-apps-deploy.yml
* Adds basic implementation of Spinner component

* Adds inverted Story to Spinner

* Cleans up some typos

* Generates API report

* Adds change file

* Removes kebab-case for key in Spinner in favor of camelCase; Adds spinner export to package.json; Properly comments spinner options with type docs

* Address feedback in PR

* Minor typo cleanup

* Rebuilds
* update fast element and foundation versions and update reference to extend badge options

* no options export yet for badge :(
…up/DX (#26843)

* chore(web-components): implement ts path aliases setup with valid ts compilation

* chore(web-components): refactor test setup and test/sb utils approach

* fix(web-components): tweak npmignore to not ship non relevant assets

* chore: re-generate api-report

* generate change file

* fixup! chore(web-components): refactor test setup and test/sb utils approach
…26854)

* fix(web-components): dont ship non production assets to npm registry

* generate change file
* Manual bump of web components version to match NPM 3.0.0-alpha.4
Fluent UI Build and others added 27 commits May 6, 2024 14:53
Co-authored-by: Sean Monahan <seanmonahan@microsoft.com>
Co-authored-by: Christopher Holt <=>
…or components (#31069)

Co-authored-by: Christopher Holt <=>
@fabricteam
Copy link
Collaborator

[e] No config file found in undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet