Skip to content

Commit

Permalink
Merge branch 'master' into feat/ci_dry_run
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytrokirpa authored Jan 23, 2025
2 parents c74cb07 + af631b9 commit a7176d2
Show file tree
Hide file tree
Showing 917 changed files with 31,848 additions and 8,814 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ apps/chart-docsite @microsoft/charting-team
#### Packages
packages/azure-themes @Jacqueline-ms @robtaft-ms
packages/react-conformance @microsoft/fluentui-react-build
packages/charts/chart-web-components @microsoft/charting-team
packages/charts/react-charting @microsoft/charting-team
packages/charts/react-charts-preview/library @microsoft/charting-team
packages/charts/react-charts-preview/stories @microsoft/charting-team
Expand Down
37 changes: 27 additions & 10 deletions .github/ISSUE_TEMPLATE/01-react-components-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,15 @@ body:
- Breadcrumb
- Button
- Card
- CardFooter
- CardHeader
- CardPreview
- Carousel
- CarouselNav
- Checkbox
- Combobox
- CompoundButton
- Counter Badge
- DataGrid
- Dialog
- Divider
Expand All @@ -38,14 +45,19 @@ body:
- Image
- InfoLabel
- Input
- InteractionTag
- Label
- Link
- List
- Menu
- MenuButton
- MenuList
- MessageBar
- Overflow
- Persona
- Popover
- Portal
- PresenceBadge
- ProgressBar
- RadioGroup
- Rating
Expand All @@ -56,32 +68,37 @@ body:
- Slider
- SpinButton
- Spinner
- SplitButton
- SwatchPicker
- Switch
- Table
- TabList
- Table
- Tag
- TagGroup
- TagPicker
- TeachingPopover
- Text
- Textarea
- Toast
- ToggleButton
- Toolbar
- Tooltip
- Tree
- ColorPicker (Preview)
- Nav (Preview)
- Virtualizer (Preview)
- VirtualizerScrollView (Preview)
- VirtualizerScrollViewDynamic (Preview)
- Calendar (Compat)
- DatePicker (Compat)
- TimePicker (Compat)
- Carousel (Preview)
- List (Preview)
- Nav (Preview)
- Virtualizer (Preview)
- Motion
- Icons
- Theme/Tokens
- Utilities (utilities we provide besides Components, e.g. apis from react-utilities)
- Migration Shims v0
- Migration Shims v8
- Migration Shims V0
- Migration Shims V8
- Motion
- Theme
- Tokens
- Utilities
- Other...
validations:
required: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/azure-static-web-apps-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ permissions:

jobs:
build_and_deploy:
if: ${{ github.repository_owner == 'microsoft' }}
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/bundle-size-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:

jobs:
bundle-size-base:
if: ${{ github.repository_owner == 'microsoft' }}
# TODO: use macos-14-xlarge (arm) for faster builds once https://github.com/Azure/cli/issues/172 will be fixed
runs-on: ubuntu-latest
permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bundle-size-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
comment:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.repository_owner == 'microsoft' }} && ${{ github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' }}
permissions:
pull-requests: write
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ env:

jobs:
bundle-size:
if: ${{ github.repository_owner == 'microsoft' }}
runs-on: macos-14-xlarge
permissions:
contents: 'read'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/check-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
jobs:
dependency-deduplication:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'microsoft' }}
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -37,6 +38,7 @@ jobs:
dependency-mismatches:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'microsoft' }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -63,6 +65,7 @@ jobs:
change-files:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'microsoft' }}
steps:
- uses: actions/checkout@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-tooling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ env:

jobs:
check-tools:
if: ${{ github.repository_owner == 'microsoft' }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/create-milestone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ permissions:

jobs:
create-milestone:
if: ${{ github.repository_owner == 'microsoft' }}
name: Create this month's milestone
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docsite-publish-ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
check:
runs-on: ubuntu-latest
if: ${{ contains(github.event.head_commit.message, 'applying package updates') || github.event_name == 'workflow_dispatch' }}
if: ${{ github.repository_owner == 'microsoft' }} && ${{ contains(github.event.head_commit.message, 'applying package updates') || github.event_name == 'workflow_dispatch' }}

outputs:
status: ${{ steps.verify-react-components-changed.outputs.any_changed == 'true' || github.event_name == 'workflow_dispatch' }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr-housekeeping.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ permissions:

jobs:
label:
if: ${{ github.repository_owner == 'microsoft' }}
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
Expand All @@ -18,6 +19,7 @@ jobs:
configuration-path: .github/labeler.yml

assign-to-current-milestone:
if: ${{ github.repository_owner == 'microsoft' }}
runs-on: ubuntu-latest
steps:
- name: Assign to latest milestone
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/pr-vrt-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
workflows: ['VRT CI']
types:
- completed
branches:
- master
# remove following once CRT testing is done
- vrt-gha-testing

concurrency:
# see https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow
Expand All @@ -18,7 +22,7 @@ env:
jobs:
run_vr_diff:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.repository_owner == 'microsoft' }} && ${{ github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' }}
outputs:
pr_number: ${{ steps.pr_number.outputs.result }}
permissions:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pr-vrt.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: VRT CI
on:
pull_request:
# TODO: once testing is done enable pull_request on all branches again
branches:
- vrt-gha-testing

concurrency:
# see https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow
Expand All @@ -18,6 +21,7 @@ permissions:

jobs:
generate_vrt_screenshots:
if: ${{ github.repository_owner == 'microsoft' }}
runs-on: macos-14-xlarge
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-website-deploy-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.repository_owner == 'microsoft' }} && ${{ github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' }}
outputs:
pr_number: ${{ steps.pr_number.outputs.result }}
website_url: ${{ steps.website_url.outputs.id }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-website-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ env:

jobs:
bundle:
if: ${{ github.repository_owner == 'microsoft' }}
runs-on: macos-14-xlarge
permissions:
contents: 'read'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ env:

jobs:
main:
if: ${{ github.repository_owner == 'microsoft' }}
runs-on: macos-14-xlarge
permissions:
contents: 'read'
Expand Down Expand Up @@ -81,6 +82,7 @@ jobs:
git diff-index --quiet HEAD -- || exit 1
e2e:
if: ${{ github.repository_owner == 'microsoft' }}
# TODO: switch to macos once problematic tests are fixed
# https://github.com/microsoft/fluentui/issues/33173
# https://github.com/microsoft/fluentui/issues/33172
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ The following table will help you navigate the 3 projects and understand their d
| **Used By** | Microsoft 365 | Office | Edge |
| **Read Me** | [README.md](/packages/react-components/react-components/README.md) | [README.md](/packages/react/README.md)| [README.md](/packages/web-components/README.md) |
| **Changelog** | [CHANGELOG.md](/packages/react-components/react-components/CHANGELOG.md) | [CHANGELOG.md](/packages/react/CHANGELOG.md) | [CHANGELOG.md](/packages/web-components/CHANGELOG.md) |
| **Repo** | [packages/react-components](/packages/react-components/react-components/CHANGELOG.md) | [./packages/react](/packages/react) | [./packages/web-components](/packages/web-components) |
| **Quick Start** | [Quick Start](https://react.fluentui.dev/?path=/docs/concepts-developer-quick-start--page) | [Quick Start](https://developer.microsoft.com/en-us/fluentui#/get-started/web) | [See README.md](https://github.com/microsoft/fluentui/tree/master/packages/web-components/README.md) |
| **Repo** | [packages/react-components](/packages/react-components/react-components) | [./packages/react](/packages/react) | [./packages/web-components](/packages/web-components) |
| **Quick Start** | [Quick Start](https://react.fluentui.dev/?path=/docs/concepts-developer-quick-start--docs) | [Quick Start](https://developer.microsoft.com/en-us/fluentui#/get-started/web) | [See README.md](https://github.com/microsoft/fluentui/tree/master/packages/web-components/README.md) |
| **Docs** | [https://react.fluentui.dev/](https://react.fluentui.dev/) | [aka.ms/fluentui-react](https://aka.ms/fluentui-react) | [aka.ms/fluentui-web-components](https://aka.ms/fluentui-web-components) |
| **NPM** | `@fluentui/react-components` | `@fluentui/react`| `@fluentui/web-components` |
| **Version** | [![npm version](https://img.shields.io/npm/v/@fluentui/react-components?style=flat-square)](https://www.npmjs.com/package/@fluentui/react-components) | [![npm version](https://img.shields.io/npm/v/@fluentui/react?style=flat-square)](https://www.npmjs.com/package/@fluentui/react) | [![npm version](https://img.shields.io/npm/v/@fluentui/web-components/beta?style=flat-square)](https://www.npmjs.com/package/@fluentui/web-components/v/3.0.0-beta.15) |
Expand Down
2 changes: 1 addition & 1 deletion apps/chart-docsite/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/jsx-no-bind": "off",
"deprecation/deprecation": "off",
"@typescript-eslint/no-deprecated": "off",
"import/no-extraneous-dependencies": ["error", { "packageDir": [".", "../.."] }]
}
}
1 change: 1 addition & 0 deletions apps/pr-deploy-site/just.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const dependencies = [
'@fluentui/public-docsite',
'@fluentui/react',
'@fluentui/react-charting',
'@fluentui/chart-web-components',
'@fluentui/chart-docsite',
'@fluentui/public-docsite-v9',
'@fluentui/react-experiments',
Expand Down
6 changes: 6 additions & 0 deletions apps/pr-deploy-site/pr-deploy-site.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ var siteInfo = [
icon: 'BarChart4',
title: 'Charting',
},
{
package: '@fluentui/chart-web-components',
link: './chart-web-components/storybook/index.html',
icon: 'BarChart4',
title: 'Chart web components',
},
{
package: '@fluentui/theming-designer',
link: './theming-designer/index.html',
Expand Down
4 changes: 2 additions & 2 deletions apps/public-docsite-resources/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/member-ordering": "off",
"deprecation/deprecation": "off",
"no-restricted-globals": "off"
"no-restricted-globals": "off",
"@typescript-eslint/no-deprecated": "off"
}
}
4 changes: 2 additions & 2 deletions apps/public-docsite-v9/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/jsx-no-bind": "off",
"deprecation/deprecation": "off",
"import/no-extraneous-dependencies": ["error", { "packageDir": [".", "../.."] }]
"import/no-extraneous-dependencies": ["error", { "packageDir": [".", "../.."] }],
"@typescript-eslint/no-deprecated": "off"
}
}
2 changes: 1 addition & 1 deletion apps/public-docsite-v9/src/Concepts/Theming.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ No matter what theme is used, the component styles are always the same. The only

Those tokens are resolved to CSS variables. The `FluentProvider` component is responsible for setting the values of the CSS variables in DOM and changing them when the theme changes. When the theme is switched, only the variables are changed, all styles remain the same.

Place a `<FluentProvider />` at the root of your app and pass a theme to the `theme` prop. The provider will render a `div` and set all tokens as CSS variables on that element. The provider also propagates CCS variables to React portals created with [Portal component](?path=/docs/components-portal--default).
Place a `<FluentProvider />` at the root of your app and pass a theme to the `theme` prop. The provider will render a `div` and set all tokens as CSS variables on that element. The provider also propagates CSS variables to React portals created with [Portal component](?path=/docs/components-portal--default).

```jsx
import { FluentProvider, teamsLightTheme } from '@fluentui/react-components';
Expand Down
4 changes: 2 additions & 2 deletions apps/public-docsite/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"root": true,
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"deprecation/deprecation": "off",
"import/no-webpack-loader-syntax": "off", // ok in this project
"prefer-const": "off",
"react/jsx-no-bind": "off",
"no-restricted-globals": "off"
"no-restricted-globals": "off",
"@typescript-eslint/no-deprecated": "off"
}
}
4 changes: 2 additions & 2 deletions apps/theming-designer/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"root": true,
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"deprecation/deprecation": "off",
"prefer-const": "off",
"no-restricted-globals": "off"
"no-restricted-globals": "off",
"@typescript-eslint/no-deprecated": "off"
}
}
4 changes: 2 additions & 2 deletions apps/vr-tests-react-components/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/jsx-no-bind": "off",
"deprecation/deprecation": "off",
"import/no-extraneous-dependencies": ["error", { "packageDir": [".", "../.."] }],
"@nx/workspace-no-restricted-globals": "off"
"@nx/workspace-no-restricted-globals": "off",
"@typescript-eslint/no-deprecated": "off"
}
}
2 changes: 1 addition & 1 deletion apps/vr-tests-react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@
"@fluentui/react-teaching-popover": "*",
"@fluentui/react-tag-picker": "*",
"@fluentui/react-carousel": "*",
"@fluentui/react-list": ">=9.0.0-alpha"
"@fluentui/react-list": "*"
}
}
Loading

0 comments on commit a7176d2

Please sign in to comment.