Skip to content

Commit fe57593

Browse files
authored
Merge branch 'microsoft:master' into master
2 parents 7facd92 + 23d7cf2 commit fe57593

File tree

4,127 files changed

+187733
-39810
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,127 files changed

+187733
-39810
lines changed

.babelrc-v9.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"presets": [
3+
[
4+
"@fluentui/scripts-babel/preset-v9",
5+
{
6+
"tsBaseConfigPath": "./tsconfig.base.json"
7+
}
8+
]
9+
]
10+
}

.codesandbox/ci.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"buildCommand": "build:codesandbox",
33
"packages": ["packages/react", "packages/react-components/react-components"],
44
"sandboxes": ["x5u3t", "spnyu"],
5-
"node": "14"
5+
"node": "16"
66
}

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.222.0/containers/javascript-node/.devcontainer/base.Dockerfile
22

33
# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 16, 14, 12, 16-bullseye, 14-bullseye, 12-bullseye, 16-buster, 14-buster, 12-buster
4-
ARG VARIANT="14-bullseye"
4+
ARG VARIANT="16-bullseye"
55
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
66

77
# [Optional] Uncomment this section to install additional OS packages.

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// Update 'VARIANT' to pick a Node version: 16, 14, 12.
88
// Append -bullseye or -buster to pin to an OS version.
99
// Use -bullseye variants on local arm64/Apple Silicon.
10-
"args": { "VARIANT": "14" }
10+
"args": { "VARIANT": "16" }
1111
},
1212
// Set *default* container specific settings.json values on container create.
1313
"settings": {},

.devops/templates/cleanup.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ steps:
1212
# In theory the "workspace: clean: all" setting should handle this, but it doesn't always seem to work.
1313
# ReallyClean is a custom task from our internal UI Fabric azure-devops-tasks repo which attempts to
1414
# delete the given directory with multiple retries.
15-
- task: ReallyClean@0
16-
inputs:
17-
directory: $(Agent.BuildDirectory)
18-
condition: always()
15+
# - task: ReallyClean@0
16+
# inputs:
17+
# directory: $(Agent.BuildDirectory)
18+
# condition: always()

.devops/templates/runpublishvrscreenshot.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ parameters:
88
- name: vrTestPackagePath
99
type: string
1010
default: 'apps/vr-tests'
11-
- name: shouldBuildstorybookaddon
12-
type: boolean
13-
default: false
14-
- name: shouldBuildNorthstar
15-
type: boolean
16-
default: false
1711

1812
steps:
1913
- task: Bash@3
@@ -25,7 +19,7 @@ steps:
2519
isPR=${{lower(eq(variables['Build.Reason'], 'PullRequest'))}}
2620
echo $isPR
2721
if [[ $isPR == true ]]; then
28-
packageAffected=$(yarn --silent check:affected-package --packages ${{ parameters.vrTestPackageName }} --pr=true)
22+
packageAffected=$(yarn --silent check:affected --package ${{ parameters.vrTestPackageName }})
2923
if [[ $packageAffected == false ]]; then
3024
echo "In PR pipeline but NOT affecting test package. Skipping test run"
3125
echo "##vso[task.setvariable variable=vrTestSkip;]yes"
@@ -39,18 +33,6 @@ steps:
3933
fi
4034
displayName: Check if vrTests should be skipped
4135
42-
- ${{ if eq(parameters.shouldBuildstorybookaddon, 'true') }}:
43-
- script: |
44-
yarn build --to @fluentui/react-storybook-addon
45-
displayName: Build react-storybook-addon
46-
condition: eq(variables['vrTestSkip'], 'no')
47-
48-
- ${{ if eq(parameters.shouldBuildNorthstar, 'true') }}:
49-
- script: |
50-
yarn build --to @fluentui/docs
51-
displayName: Build react-northstar
52-
condition: eq(variables['vrTestSkip'], 'no')
53-
5436
- script: |
5537
yarn workspace ${{ parameters.vrTestPackageName }} vr:build
5638
displayName: Build VR tests components package

.devops/templates/tools.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
steps:
33
- task: NodeTool@0
44
inputs:
5-
versionSpec: '14.18.1'
5+
versionSpec: '16.18.1'
66
checkLatest: false
77
displayName: 'Install Node.js'
88

.github/CODEOWNERS

Lines changed: 47 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,18 @@
1515
# users just like we do for commit author emails.
1616
# docs/ docs@example.com
1717

18+
##### Catch All Rule ######
19+
#### Later rules will override this, if you are hitting this rule often add a rule to a sub-folder
20+
* @microsoft/fluentui-admins
21+
1822
###### Build Section ######
1923
#### Repo-wide build files - Note these will only be applied if another rule below does not apply
2024
*.sh @microsoft/fluentui-react-build
2125
*.yml @microsoft/fluentui-react-build
2226

27+
#### Change files (no owner)
28+
/change
29+
2330
#### Build folders
2431
/.codesandbox @microsoft/fluentui-react-build
2532
/.devcontainer @microsoft/fluentui-react-build
@@ -28,23 +35,34 @@
2835
/.githooks @microsoft/fluentui-react-build
2936
/.storybook @microsoft/fluentui-react-build
3037
/.vscode @microsoft/fluentui-react-build
38+
/.yarn @microsoft/fluentui-react-build
3139
/tools @microsoft/fluentui-react-build
40+
/typings @microsoft/fluentui-react-build
3241

3342
#### Root Build files
3443
/.eslintrc.* @microsoft/fluentui-react-build
44+
/.yarnrc @microsoft/fluentui-react-build
3545
/.gitattributes @microsoft/fluentui-react-build
3646
/.gitignore @microsoft/fluentui-react-build
3747
/.npmrc @microsoft/fluentui-react-build
3848
/.npmignore @microsoft/fluentui-react-build
49+
/.prettierignore @microsoft/fluentui-react-build
50+
/.nxignore @microsoft/fluentui-react-build
3951
/jest.preset.js @microsoft/fluentui-react-build
52+
/jest.preset.ts @microsoft/fluentui-react-build
53+
/jest.config.js @microsoft/fluentui-react-build
54+
/jest.config.ts @microsoft/fluentui-react-build
4055
/lerna.json @microsoft/fluentui-react-build
4156
/package.json @microsoft/fluentui-react-build
4257
/sizeauditor.json @microsoft/fluentui-react-build
4358
/tsconfig.json @microsoft/fluentui-react-build
59+
/tsconfig.*.json @microsoft/fluentui-react-build
4460
/tsconfig.base.json @microsoft/fluentui-react-build
4561
/yarn.lock @microsoft/fluentui-react-build
4662
/*.config.js @microsoft/fluentui-react-build
47-
/typings @microsoft/fluentui-react-build
63+
/.babelrc-v9.json @microsoft/fluentui-react-build
64+
/*.js @microsoft/fluentui-react-build
65+
/*.json @microsoft/fluentui-react-build
4866

4967
#### NX related files
5068
/nx.json @microsoft/fluentui-react-build
@@ -77,11 +95,13 @@ scripts/projects-test @microsoft/fluentui-react-build
7795
scripts/puppeteer @microsoft/fluentui-react-build
7896
scripts/storybook @microsoft/fluentui-react-build
7997
scripts/tasks @microsoft/fluentui-react-build
98+
scripts/test-ssr @microsoft/fluentui-react-build
8099
scripts/triage-bot @microsoft/fluentui-react-build @microsoft/cxe-prg
81100
scripts/ts-node @microsoft/fluentui-react-build
82101
scripts/update-release-notes @microsoft/fluentui-react-build
83102
scripts/utils @microsoft/fluentui-react-build
84103
scripts/webpack @microsoft/fluentui-react-build
104+
scripts/perf-test-flamegrill @microsoft/fluentui-react-build
85105

86106
#### Fluent UI N*
87107
packages/a11y-rules @microsoft/fluentui-northstar
@@ -109,11 +129,14 @@ apps/public-docsite-v9 @microsoft/cxe-red @microsoft/cxe-coastal @microsoft/flue
109129
apps/theming-designer @microsoft/fluentui-react
110130
apps/ssr-tests-v9 @microsoft/fluentui-react-build
111131
apps/stress-test @microsoft/cxe-red @spmonahan @micahgodbolt
112-
apps/recipes-react-components @microsoft/cxe-red @microsoft/cxe-coastal @microsoft/fluentui-react-build @sopranopillow
132+
apps/react-18-tests-v8 @microsoft/cxe-red @microsoft/cxe-coastal @micahgodbolt
133+
apps/react-18-tests-v9 @microsoft/cxe-red @microsoft/cxe-coastal @micahgodbolt
134+
apps/recipes-react-components @microsoft/cxe-red @microsoft/cxe-coastal @microsoft/fluentui-react @sopranopillow
113135

114136
#### Packages
115-
packages/azure-themes @robtaft-ms @Jacqueline-ms
137+
packages/azure-themes @Jacqueline-ms @robtaft-ms
116138
packages/bundle-size @microsoft/teams-prg
139+
packages/react-conformance @microsoft/fluentui-react-build
117140
packages/date-time-utilities @microsoft/cxe-red
118141
packages/eslint-plugin @microsoft/fluentui-react-build
119142
packages/foundation-legacy @microsoft/cxe-red @khmakoto
@@ -131,12 +154,15 @@ packages/react-components/react-conformance-griffel @microsoft/teams-prg
131154
packages/react-components/react-context-selector @microsoft/teams-prg
132155
packages/react-date-time @microsoft/cxe-red
133156
packages/react-docsite-components @microsoft/fluentui-v8-website
134-
packages/react-file-type-icons @jahnp @bigbadcapers
157+
packages/react-examples @microsoft/cxe-red @microsoft/cxe-coastal
158+
packages/react-examples/src/react-charting @microsoft/charting-team
159+
packages/react-file-type-icons @microsoft/cxe-red @jahnp @bigbadcapers
135160
packages/react-hooks @microsoft/cxe-red
161+
packages/react-icons-mdl2 @microsoft/cxe-red @microsoft/cxe-coastal
136162
packages/react-monaco-editor @microsoft/fluentui-v8-website
137163
packages/react-components/react-positioning @microsoft/teams-prg
138164
packages/react-components/react-overflow @microsoft/teams-prg
139-
packages/react-components/react-shared-contexts @microsoft/teams-prg
165+
packages/react-components/react-shared-contexts @microsoft/teams-prg @microsoft/cxe-red
140166
packages/react-components/react-storybook-addon @microsoft/cxe-prg
141167
packages/react-components/react-tabster @microsoft/teams-prg
142168
packages/react-components/react-theme @microsoft/teams-prg
@@ -192,23 +218,29 @@ packages/react-components/react-portal-compat @microsoft/teams-prg
192218
packages/react-components/react-alert @microsoft/teams-prg
193219
packages/react-components/react-portal-compat-context @microsoft/teams-prg
194220
packages/react-components/react-theme-sass @microsoft/teams-prg
195-
packages/react-components/theme-designer @microsoft/cxe-coastal
221+
packages/react-components/theme-designer @microsoft/cxe-coastal @ms-acalzaretto
196222
packages/react-components/global-context @microsoft/teams-prg
197223
packages/react-components/babel-preset-global-context @microsoft/teams-prg
198224
packages/react-components/react-table @microsoft/teams-prg
199225
packages/react-components/react-progress @microsoft/cxe-red @tomi-msft
200226
packages/react-components/react-persona @microsoft/cxe-red @sopranopillow
201-
packages/react-components/react-avatar-context @microsoft/teams-prg
202227
packages/react-components/react-infobutton @microsoft/cxe-red @sopranopillow
203228
packages/react-components/react-tree @microsoft/teams-prg
204229
packages/react-components/react-virtualizer @microsoft/xc-uxe @Mitch-At-Work
205230
packages/react-components/react-skeleton @microsoft/cxe-red
206231
packages/tokens @microsoft/teams-prg
207-
packages/react-components/react-tags @microsoft/cxe-coastal @TristanWatanabe
232+
packages/react-components/react-tags @microsoft/cxe-coastal @microsoft/teams-prg
208233
packages/react-components/react-data-grid-react-window @microsoft/teams-prg
209234
packages/react-components/react-migration-v0-v9 @microsoft/teams-prg
210-
packages/react-components/react-datepicker @microsoft/cxe-red @sopranopillow @khmakoto
235+
packages/react-components/react-datepicker-compat @microsoft/cxe-red @sopranopillow @khmakoto
211236
packages/react-components/react-migration-v8-v9 @microsoft/cxe-red @microsoft/cxe-coastal @geoffcoxmsft
237+
packages/react-components/react-breadcrumb @microsoft/cxe-prg
238+
packages/react-components/react-drawer @microsoft/cxe-prg
239+
packages/react-components/react-storybook-addon-codesandbox @microsoft/fluentui-react-build
240+
packages/react-components/babel-preset-storybook-full-source @microsoft/fluentui-react-build
241+
packages/react-components/react-jsx-runtime @microsoft/teams-prg
242+
packages/react-components/react-toast @microsoft/teams-prg
243+
packages/react-components/react-search @microsoft/cxe-coastal
212244
# <%= NX-CODEOWNER-PLACEHOLDER %>
213245

214246
## Components
@@ -222,23 +254,23 @@ packages/react/src/components/CalendarDayGrid @microsoft/cxe-red
222254
packages/react/src/components/Check @microsoft/cxe-red @microsoft/cxe-coastal @ThomasMichon @khmakoto
223255
packages/react/src/components/Checkbox @microsoft/cxe-red @microsoft/cxe-coastal @khmakoto
224256
packages/react/src/components/ChoiceGroup @microsoft/cxe-red @microsoft/cxe-coastal
225-
packages/react/src/components/Coachmark @microsoft/cxe-red @microsoft/cxe-coastal @leddie24
257+
packages/react/src/components/Coachmark @microsoft/cxe-red @microsoft/cxe-coastal
226258
packages/react/src/components/ColorPicker @microsoft/cxe-red @microsoft/cxe-coastal
227259
packages/react/src/components/DatePicker @microsoft/cxe-red
228-
packages/react/src/components/DetailsList @microsoft/cxe-red @microsoft/cxe-coastal @ThomasMichon
229-
packages/react/src/components/DocumentCard @microsoft/cxe-red @microsoft/cxe-coastal @yiminwu
260+
packages/react/src/components/DetailsList @microsoft/cxe-red @microsoft/cxe-coastal @spmonahan @ThomasMichon
261+
packages/react/src/components/DocumentCard @microsoft/cxe-red @microsoft/cxe-coastal
230262
packages/react/src/components/Fabric @microsoft/cxe-red @microsoft/cxe-coastal @dzearing
231263
packages/react/src/components/Facepile @microsoft/cxe-red @microsoft/cxe-coastal
232264
packages/react/src/components/FolderCover @microsoft/cxe-red @microsoft/cxe-coastal @ThomasMichon @bigbadcapers
233265
packages/react/src/components/FocusTrapZone @microsoft/cxe-red @microsoft/cxe-coastal @khmakoto
234-
packages/react/src/components/GroupedList @microsoft/cxe-red @microsoft/cxe-coastal @ThomasMichon
266+
packages/react/src/components/GroupedList @microsoft/cxe-red @microsoft/cxe-coastal @spmonahan @ThomasMichon
235267
packages/react/src/components/HoverCard @microsoft/cxe-red @microsoft/cxe-coastal @Jahnp
236268
packages/react/src/components/Icon @microsoft/cxe-red @microsoft/cxe-coastal @dzearing
237269
packages/react/src/components/Image @microsoft/cxe-red @microsoft/cxe-coastal @dzearing
238270
packages/react/src/components/Label @microsoft/cxe-red @microsoft/cxe-coastal @khmakoto
239271
packages/react/src/components/Layer @microsoft/cxe-red @microsoft/cxe-coastal @ThomasMichon
240272
packages/react/src/components/Link @microsoft/cxe-red @microsoft/cxe-coastal @khmakoto
241-
packages/react/src/components/List @microsoft/cxe-red @microsoft/cxe-coastal @ThomasMichon
273+
packages/react/src/components/List @microsoft/cxe-red @microsoft/cxe-coastal @spmonahan @ThomasMichon
242274
packages/react/src/components/MarqueeSelection @microsoft/cxe-red @microsoft/cxe-coastal @ThomasMichon
243275
packages/react/src/components/MessageBar @microsoft/cxe-red @microsoft/cxe-coastal
244276
packages/react/src/components/Nav @microsoft/cxe-red @microsoft/cxe-coastal
@@ -278,3 +310,4 @@ packages/react-experiments/src/components/TileList @ThomasMichon
278310
**/cypress.config.ts @microsoft/fluentui-react-build
279311
**/api-extractor.json @microsoft/fluentui-react-build
280312
**/api-extractor.unstable.json @microsoft/fluentui-react-build
313+
**/.swcrc @microsoft/fluentui-react-build

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ PR flow tips:
2424

2525
<!-- Please link the issue being fixed so it gets closed when this is merged. -->
2626

27-
* Fixes #
27+
- Fixes #

.github/workflows/actions-mention-to-teams.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)