diff --git a/.changeset/calm-suits-fail.md b/.changeset/calm-suits-fail.md new file mode 100644 index 0000000000..6a11d1cfbd --- /dev/null +++ b/.changeset/calm-suits-fail.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage-hooks": minor +--- + +feat: create useElementIsVisible diff --git a/.changeset/config.json b/.changeset/config.json index 09190b2b09..86edbd499b 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -5,7 +5,7 @@ "fixed": [], "linked": [], "access": "public", - "baseBranch": "develop", + "baseBranch": "main", "updateInternalDependencies": "patch", "ignore": [] } diff --git a/.changeset/dull-walls-bake.md b/.changeset/dull-walls-bake.md new file mode 100644 index 0000000000..e916d621ea --- /dev/null +++ b/.changeset/dull-walls-bake.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +fix(fuselage): Field deprecation message diff --git a/.changeset/early-spoons-return.md b/.changeset/early-spoons-return.md new file mode 100644 index 0000000000..e90e7edfae --- /dev/null +++ b/.changeset/early-spoons-return.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +chore(fuselage): Button size diff --git a/.changeset/eighty-fans-fold.md b/.changeset/eighty-fans-fold.md new file mode 100644 index 0000000000..ac9a48e1fd --- /dev/null +++ b/.changeset/eighty-fans-fold.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +fix(fuselage): OptionInput margins and alignment diff --git a/.changeset/funny-pets-grow.md b/.changeset/funny-pets-grow.md new file mode 100644 index 0000000000..8562120e77 --- /dev/null +++ b/.changeset/funny-pets-grow.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +fix(fuselage): AudioPlayer: Infinity duration audio files crashing diff --git a/.changeset/honest-eels-complain.md b/.changeset/honest-eels-complain.md new file mode 100644 index 0000000000..5f9d3a402a --- /dev/null +++ b/.changeset/honest-eels-complain.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +fix(fuselage): css theme diff --git a/.changeset/kind-lions-love.md b/.changeset/kind-lions-love.md new file mode 100644 index 0000000000..ab3c4a8d94 --- /dev/null +++ b/.changeset/kind-lions-love.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +fix(fuselage): MessageReactionAction icon size diff --git a/.changeset/little-stingrays-jump.md b/.changeset/little-stingrays-jump.md new file mode 100644 index 0000000000..fc3204affb --- /dev/null +++ b/.changeset/little-stingrays-jump.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +fix(fuselage): prevent button-disabled click animation diff --git a/.changeset/moody-dingos-rest.md b/.changeset/moody-dingos-rest.md new file mode 100644 index 0000000000..86bc66c21b --- /dev/null +++ b/.changeset/moody-dingos-rest.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +fix(fuselage): IconButton with badge click-animation diff --git a/.changeset/neat-fishes-confess.md b/.changeset/neat-fishes-confess.md new file mode 100644 index 0000000000..2109447660 --- /dev/null +++ b/.changeset/neat-fishes-confess.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +chore(fuselage): change FieldLabel typography diff --git a/.changeset/nice-cows-relax.md b/.changeset/nice-cows-relax.md new file mode 100644 index 0000000000..20f89fb3e2 --- /dev/null +++ b/.changeset/nice-cows-relax.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +fix(fuselage): Remove unnecessary aria-label fallback in `IconButton diff --git a/.changeset/odd-hornets-sing.md b/.changeset/odd-hornets-sing.md new file mode 100644 index 0000000000..f8f18126cb --- /dev/null +++ b/.changeset/odd-hornets-sing.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/ui-kit": minor +--- + +fix(ui-kit): Remove icons package dependency in ui-kit package diff --git a/.changeset/old-terms-reflect.md b/.changeset/old-terms-reflect.md new file mode 100644 index 0000000000..ae8aafd193 --- /dev/null +++ b/.changeset/old-terms-reflect.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/onboarding-ui": minor +--- + +fix(onboarding-ui): Development warnings diff --git a/.changeset/plenty-donuts-poke.md b/.changeset/plenty-donuts-poke.md new file mode 100644 index 0000000000..b79553b6be --- /dev/null +++ b/.changeset/plenty-donuts-poke.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +chore(fuselage): ToggleSwitch best practices adjustments diff --git a/.changeset/real-pots-heal.md b/.changeset/real-pots-heal.md new file mode 100644 index 0000000000..0582dcd677 --- /dev/null +++ b/.changeset/real-pots-heal.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +chore(fuselage): Modal a11y improvements diff --git a/.changeset/shy-cows-sort.md b/.changeset/shy-cows-sort.md new file mode 100644 index 0000000000..516dfadf47 --- /dev/null +++ b/.changeset/shy-cows-sort.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +chore(fuselage): Table background-color diff --git a/.changeset/silver-schools-allow.md b/.changeset/silver-schools-allow.md new file mode 100644 index 0000000000..eff4d0106b --- /dev/null +++ b/.changeset/silver-schools-allow.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +chore(fuselage): color a11y report changes diff --git a/.changeset/sour-bears-rest.md b/.changeset/sour-bears-rest.md new file mode 100644 index 0000000000..827ac74227 --- /dev/null +++ b/.changeset/sour-bears-rest.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage-hooks": minor +--- + +fix(fuselage-hooks): usePosition fallback positioning diff --git a/.changeset/sour-dolphins-breathe.md b/.changeset/sour-dolphins-breathe.md new file mode 100644 index 0000000000..df5023d048 --- /dev/null +++ b/.changeset/sour-dolphins-breathe.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +chore(fuselage): button click animation diff --git a/.changeset/stale-hairs-mate.md b/.changeset/stale-hairs-mate.md new file mode 100644 index 0000000000..8cf8f865a0 --- /dev/null +++ b/.changeset/stale-hairs-mate.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +chore(fuselage): Checkbox best practices adjustments diff --git a/.changeset/stupid-emus-hunt.md b/.changeset/stupid-emus-hunt.md new file mode 100644 index 0000000000..8f45ee4c99 --- /dev/null +++ b/.changeset/stupid-emus-hunt.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +chore(fuselage): Fix Accordion a11y diff --git a/.changeset/sweet-bulldogs-press.md b/.changeset/sweet-bulldogs-press.md new file mode 100644 index 0000000000..9ee9a7a132 --- /dev/null +++ b/.changeset/sweet-bulldogs-press.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/ui-kit": minor +--- + +refactor(ui-kit): Review some types diff --git a/.changeset/tall-eels-cover.md b/.changeset/tall-eels-cover.md new file mode 100644 index 0000000000..ce4c8f13ac --- /dev/null +++ b/.changeset/tall-eels-cover.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +chore(fuselage): Avatar a11y improvements diff --git a/.changeset/two-lies-sin.md b/.changeset/two-lies-sin.md new file mode 100644 index 0000000000..7ca42a1db4 --- /dev/null +++ b/.changeset/two-lies-sin.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +chore(fuselage): Prop to keep MessageToolbox visible. diff --git a/.changeset/wicked-tools-relax.md b/.changeset/wicked-tools-relax.md new file mode 100644 index 0000000000..c8ba310c90 --- /dev/null +++ b/.changeset/wicked-tools-relax.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": minor +--- + +chore(fuselage): Field & Label best practices adjustments diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 63baef077c..af6a73e24d 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -3,8 +3,7 @@ name: Continuous Delivery on: push: branches: - - master - - develop + - main jobs: build-and-test: @@ -46,8 +45,8 @@ jobs: packages/fuselage/storybook-static packages/onboarding-ui/storybook-static packages/layout/storybook-static - - if: github.ref == 'refs/heads/master' - uses: actions/upload-artifact@v2 + + - uses: actions/upload-artifact@v2 with: name: docs path: | @@ -88,21 +87,13 @@ jobs: path: packages - run: yarn install if: steps.yarn-cache.outputs.cache-hit != 'true' - - run: yarn resolve-workspace-deps - if: github.ref == 'refs/heads/master' + - uses: changesets/action@v1 with: publish: yarn release - if: github.ref == 'refs/heads/master' env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - run: yarn bump-next - if: github.ref == 'refs/heads/develop' - - run: yarn release-next - if: github.ref == 'refs/heads/develop' - env: - YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} publish-to-gh-pages: name: Publish to GitHub Pages @@ -120,8 +111,8 @@ jobs: with: name: storybooks path: packages - - if: github.ref == 'refs/heads/master' - uses: actions/download-artifact@v2 + + - uses: actions/download-artifact@v2 with: name: docs path: . diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 2f9a52183e..96c9501bc2 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,9 +2,9 @@ name: "CodeQL" on: push: - branches: [ "develop", "master" ] + branches: "main" pull_request: - branches: [ "develop" ] + branches: "main" schedule: - cron: "54 21 * * 4" @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - language: [ javascript ] + language: [javascript] steps: - name: Checkout