Skip to content

Commit

Permalink
Merge branch 'master' into marcosmoura/feat/selectable-cards
Browse files Browse the repository at this point in the history
* master: (23 commits)
  Revert "chore: screener-run workflow should report to PR (microsoft#25144)" (microsoft#25145)
  chore: screener-run workflow should report to PR (microsoft#25144)
  applying package updates
  fix: The Tooltip should not hide if it gets keyboard focus (microsoft#25138)
  fix: Tooltip should not hide if an element inside it gets focused (microsoft#25140)
  Create react-migration-v8-v9 with shims and stories (microsoft#25121)
  fix: CheckboxField to set a generated ID on the input, to match the label's htmlFor (microsoft#25079)
  feat: Overflow menu should be registered in overflowManager (microsoft#25091)
  fix: version-bump generator removes beachball disallowedChangeType config (microsoft#25130)
  fix: new overflow items should only be enqueued while observing (microsoft#25122)
  fix(script): allow runPublished call from CLI (microsoft#25127)
  feat: add vertical variation for toolbar (microsoft#24940)
  ProgressField implementation and stories (microsoft#25103)
  fix: Dropdown icon layout with no placeholder/value (microsoft#25049)
  chore: add a bundle size fixture (Button, Provider & theme) (microsoft#25113)
  feat: Adding subtle transition between states on Button components (microsoft#25106)
  Revert "chore: screener-run workflow should report to PR (microsoft#25096)" (microsoft#25115)
  chore: screener-run workflow should report to PR (microsoft#25096)
  fix(react-dialog): aria-* properties should be reassignable (microsoft#25092)
  fix(scripts): don't run publish if web-components are affected (microsoft#25095)
  ...
  • Loading branch information
marcosmoura committed Oct 10, 2022
2 parents f3535ce + b4a7031 commit f4485d2
Show file tree
Hide file tree
Showing 392 changed files with 2,965 additions and 3,348 deletions.
5 changes: 1 addition & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,9 @@ packages/react-components/babel-preset-global-context @microsoft/teams-prg
packages/react-components/react-table @microsoft/teams-prg
packages/react-components/react-progress @microsoft/cxe-red @tomi-msft
packages/react-components/react-persona @microsoft/cxe-red @sopranopillow
packages/react-components-migration/react-button-shim-v8-v9 @microsoft/cxe-coastal
packages/react-components-migration/react-menu-shim-v8-v9 @microsoft/cxe-coastal
packages/react-components-migration/react-stack-shim-v8-v9 @microsoft/cxe-coastal
packages/react-components-migration/react-theme-shim-v8-v9 @microsoft/cxe-coastal
packages/react-components/react-avatar-context @microsoft/teams-prg
packages/react-components/react-infobutton @microsoft/cxe-red @sopranopillow
packages/react-migration-v8-v9 @microsoft/cxe-coastal @geoffcoxmsft
# <%= NX-CODEOWNER-PLACEHOLDER %>


Expand Down
2 changes: 1 addition & 1 deletion apps/perf-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"dependencies": {
"@fluentui/example-data": "^8.4.2",
"@fluentui/react": "^8.97.2",
"@fluentui/react": "^8.98.0",
"@fluentui/scripts": "^1.0.0",
"@microsoft/load-themed-styles": "^1.10.26",
"flamegrill": "0.2.0",
Expand Down
12 changes: 6 additions & 6 deletions apps/public-docsite-resources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
"@fluentui/scripts": "^1.0.0"
},
"dependencies": {
"@fluentui/react": "^8.97.2",
"@fluentui/react": "^8.98.0",
"@fluentui/react-examples": "^8.34.4",
"@microsoft/load-themed-styles": "^1.10.26",
"@fluentui/azure-themes": "^8.5.8",
"@fluentui/react-docsite-components": "^8.10.8",
"@fluentui/font-icons-mdl2": "^8.5.0",
"@fluentui/azure-themes": "^8.5.9",
"@fluentui/react-docsite-components": "^8.10.9",
"@fluentui/font-icons-mdl2": "^8.5.1",
"@fluentui/set-version": "^8.2.2",
"@fluentui/theme-samples": "^8.7.8",
"@fluentui/react-monaco-editor": "^1.7.8",
"@fluentui/theme-samples": "^8.7.9",
"@fluentui/react-monaco-editor": "^1.7.9",
"office-ui-fabric-core": "^11.0.0",
"react": "17.0.2",
"react-dom": "17.0.2",
Expand Down
1 change: 1 addition & 0 deletions apps/public-docsite-v9/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = /** @type {Omit<import('../../../.storybook/main'), 'typescript
'../src/**/*.stories.mdx',
'../src/**/*.stories.@(ts|tsx)',
...utils.getVnextStories(),
'../../../packages/react-migration-v8-v9/src/**/@(index.stories.@(ts|tsx)|*.stories.mdx)',
],
staticDirs: ['../public'],
addons: [...rootMain.addons],
Expand Down
2 changes: 1 addition & 1 deletion apps/public-docsite-v9/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@fluentui/scripts": "^1.0.0"
},
"dependencies": {
"@fluentui/react": "^8.97.2",
"@fluentui/react": "^8.98.0",
"@fluentui/scripts": "^1.0.0",
"@fluentui/storybook": "^1.0.0",
"@fluentui/react-components": "^9.4.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Meta } from '@storybook/addon-docs';
import { ButtonShimExamples } from './ButtonShimExamples.tsx';

<Meta title="Concepts/Migration/from v8/Components/Button Migration" />

Expand Down Expand Up @@ -71,18 +70,3 @@ To migrate a button replace the v8 usage with the corresponding v9 button varian
| theme | (use FluentProvider) |
| toggle | (use ToggleButton) |
| uniqueId | HTML key |

## Button Shims

The button shim components accept v8 `IButtonProps` and render v9 buttons.
Shims are useful when you have a large number of usage instances, want to render v9 components, and do not have time
or resources to update every instance.

Prefer to migrate your code to use v9 buttons if possible rather than take a use shims.
Shim depend on both v8 and v9 so may prevent bundle size optimizations.

You can find the button shims in the Fluent UI React repository here [apps/public-docsite-v9/src/shims/ButtonShim.tsx](https://github.com/microsoft/fluentui/blob/master/apps/public-docsite-v9/src/shims/ButtonShim.tsx)

<Canvas>
<ButtonShimExamples />
</Canvas>

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit f4485d2

Please sign in to comment.