Skip to content

Commit

Permalink
Merge branch 'master' into migrate-to-swc
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanWatanabe committed Mar 15, 2023
2 parents c020213 + be936b6 commit e9620b6
Show file tree
Hide file tree
Showing 209 changed files with 2,580 additions and 521 deletions.
16 changes: 8 additions & 8 deletions apps/perf-test-react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
},
"dependencies": {
"@griffel/core": "^1.9.0",
"@fluentui/react-avatar": "^9.4.2",
"@fluentui/react-button": "^9.3.2",
"@fluentui/react-field": "9.0.0-alpha.24",
"@fluentui/react-infobutton": "9.0.0-beta.20",
"@fluentui/react-persona": "^9.2.2",
"@fluentui/react-provider": "^9.4.2",
"@fluentui/react-spinbutton": "^9.2.2",
"@fluentui/react-theme": "^9.1.5",
"@fluentui/react-avatar": "^9.4.3",
"@fluentui/react-button": "^9.3.3",
"@fluentui/react-field": "9.0.0-alpha.25",
"@fluentui/react-infobutton": "9.0.0-beta.21",
"@fluentui/react-persona": "^9.2.3",
"@fluentui/react-provider": "^9.4.3",
"@fluentui/react-spinbutton": "^9.2.3",
"@fluentui/react-theme": "^9.1.6",
"@microsoft/load-themed-styles": "^1.10.26",
"flamegrill": "0.2.0",
"lodash": "^4.17.15",
Expand Down
8 changes: 4 additions & 4 deletions apps/public-docsite-v9/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
"@fluentui/react-migration-v8-v9": "^9.1.13",
"@fluentui/react-migration-v8-v9": "^9.2.0",
"@fluentui/react-migration-v0-v9": "9.0.0-alpha.0",
"@fluentui/react": "^8.106.6",
"@fluentui/react-northstar": "^0.66.3",
"@fluentui/react-icons-northstar": "^0.66.3",
"@fluentui/react-components": "^9.18.0",
"@fluentui/react-northstar": "^0.66.4",
"@fluentui/react-icons-northstar": "^0.66.4",
"@fluentui/react-components": "^9.18.1",
"@fluentui/react-storybook-addon": "9.0.0-rc.1",
"@fluentui/react-storybook-addon-codesandbox": "9.0.0-alpha.0",
"@griffel/react": "^1.5.2",
Expand Down
26 changes: 26 additions & 0 deletions apps/public-docsite-v9/src/shims/ThemeShim/themeDuplicates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,32 @@ export const blackAlpha: Record<AlphaColors, string> = {
'90': 'rgba(0, 0, 0, 0.9)',
};

export const grey10Alpha: Record<AlphaColors, string> = {
'5': 'rgba(26, 26, 26, 0.05)',
'10': 'rgba(26, 26, 26, 0.1)',
'20': 'rgba(26, 26, 26, 0.2)',
'30': 'rgba(26, 26, 26, 0.3)',
'40': 'rgba(26, 26, 26, 0.4)',
'50': 'rgba(26, 26, 26, 0.5)',
'60': 'rgba(26, 26, 26, 0.6)',
'70': 'rgba(26, 26, 26, 0.7)',
'80': 'rgba(26, 26, 26, 0.8)',
'90': 'rgba(26, 26, 26, 0.9)',
};

export const grey12Alpha: Record<AlphaColors, string> = {
'5': 'rgba(31, 31, 31, 0.05)',
'10': 'rgba(31, 31, 31, 0.1)',
'20': 'rgba(31, 31, 31, 0.2)',
'30': 'rgba(31, 31, 31, 0.3)',
'40': 'rgba(31, 31, 31, 0.4)',
'50': 'rgba(31, 31, 31, 0.5)',
'60': 'rgba(31, 31, 31, 0.6)',
'70': 'rgba(31, 31, 31, 0.7)',
'80': 'rgba(31, 31, 31, 0.8)',
'90': 'rgba(31, 31, 31, 0.9)',
};

export const grey14Alpha: Record<AlphaColors, string> = {
'5': 'rgba(36, 36, 36, 0.05)',
'10': 'rgba(36, 36, 36, 0.1)',
Expand Down
5 changes: 4 additions & 1 deletion apps/public-docsite-v9/src/shims/ThemeShim/v9ThemeShim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
Theme as ThemeV9,
webLightTheme,
} from '@fluentui/react-components';
import { blackAlpha, whiteAlpha, grey } from './themeDuplicates';
import { blackAlpha, whiteAlpha, grey, grey10Alpha, grey12Alpha } from './themeDuplicates';

/**
* Creates v9 color tokens from a v8 palette.
Expand Down Expand Up @@ -89,6 +89,8 @@ const mapAliasColors = (palette: IPalette, inverted: boolean): ColorTokens => {
colorNeutralBackground6: palette.neutralLight,
colorNeutralBackgroundStatic: grey[20],
colorNeutralBackgroundInverted: palette.neutralSecondary,
colorNeutralBackgroundAlpha: inverted ? grey10Alpha[50] : whiteAlpha[50],
colorNeutralBackgroundAlpha2: inverted ? grey12Alpha[70] : whiteAlpha[80],
colorSubtleBackground: 'transparent',
colorSubtleBackgroundHover: palette.neutralLighter,
colorSubtleBackgroundPressed: palette.neutralQuaternaryAlt,
Expand Down Expand Up @@ -150,6 +152,7 @@ const mapAliasColors = (palette: IPalette, inverted: boolean): ColorTokens => {
colorTransparentStroke: 'transparent',
colorTransparentStrokeInteractive: 'transparent',
colorTransparentStrokeDisabled: 'transparent',
colorNeutralStrokeAlpha: inverted ? whiteAlpha[10] : blackAlpha[5],
colorStrokeFocus1: palette.white,
colorStrokeFocus2: palette.black,
colorNeutralShadowAmbient: 'rgba(0,0,0,0.12)',
Expand Down
2 changes: 1 addition & 1 deletion apps/react-18-tests-v9/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
"@fluentui/react-components": "^9.18.0",
"@fluentui/react-components": "^9.18.1",
"@types/react": "18.0.14",
"@types/react-dom": "18.0.6",
"react": "18.2.0",
Expand Down
6 changes: 3 additions & 3 deletions apps/recipes-react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
"@fluentui/react-components": "^9.18.0",
"@fluentui/react-components": "^9.18.1",
"@fluentui/react-icons": "^2.0.175",
"@fluentui/react-theme": "^9.1.5",
"@fluentui/react-provider": "^9.4.2",
"@fluentui/react-theme": "^9.1.6",
"@fluentui/react-provider": "^9.4.3",
"@fluentui/react-storybook-addon": "9.0.0-rc.1",
"@fluentui/react-storybook-addon-codesandbox": "9.0.0-alpha.0",
"@griffel/react": "^1.5.2",
Expand Down
2 changes: 1 addition & 1 deletion apps/ssr-tests-v9/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"type-check": "tsc -b tsconfig.json"
},
"dependencies": {
"@fluentui/react-components": "^9.18.0"
"@fluentui/react-components": "^9.18.1"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
Expand Down
2 changes: 1 addition & 1 deletion apps/stress-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@fluentui/react": "^8.106.6",
"@fluentui/react-components": "^9.18.0",
"@fluentui/react-components": "^9.18.1",
"@fluentui/react-icons": "^2.0.175",
"@fluentui/web-components": "^2.5.12",
"@microsoft/fast-element": "^1.11.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/ts-minbar-test-react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "Testing Fluent UI React Components compatibility with Typescript 3.9",
"license": "MIT",
"dependencies": {
"@fluentui/react-components": "^9.18.0"
"@fluentui/react-components": "^9.18.1"
},
"scripts": {
"type-check": "tsc -p .",
Expand Down
74 changes: 37 additions & 37 deletions apps/vr-tests-react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,46 +20,46 @@
"@fluentui/scripts-storybook": "*"
},
"dependencies": {
"@fluentui/react-accordion": "^9.1.2",
"@fluentui/react-avatar": "^9.4.2",
"@fluentui/react-badge": "^9.1.2",
"@fluentui/react-button": "^9.3.2",
"@fluentui/react-card": "^9.0.0",
"@fluentui/react-checkbox": "^9.1.2",
"@fluentui/react-combobox": "^9.2.2",
"@fluentui/react-dialog": "^9.3.1",
"@fluentui/react-divider": "^9.2.2",
"@fluentui/react-field": "9.0.0-alpha.24",
"@fluentui/react-accordion": "^9.1.3",
"@fluentui/react-avatar": "^9.4.3",
"@fluentui/react-badge": "^9.1.3",
"@fluentui/react-button": "^9.3.3",
"@fluentui/react-card": "^9.0.1",
"@fluentui/react-checkbox": "^9.1.3",
"@fluentui/react-combobox": "^9.2.3",
"@fluentui/react-dialog": "^9.3.2",
"@fluentui/react-divider": "^9.2.3",
"@fluentui/react-field": "9.0.0-alpha.25",
"@fluentui/react-icons": "^2.0.175",
"@fluentui/react-image": "^9.0.26",
"@fluentui/react-infobutton": "9.0.0-beta.20",
"@fluentui/react-input": "^9.4.2",
"@fluentui/react-label": "^9.1.2",
"@fluentui/react-link": "^9.0.28",
"@fluentui/react-menu": "^9.7.2",
"@fluentui/react-persona": "^9.2.2",
"@fluentui/react-popover": "^9.5.2",
"@fluentui/react-portal": "^9.1.12",
"@fluentui/react-positioning": "^9.5.3",
"@fluentui/react-progress": "^9.1.2",
"@fluentui/react-provider": "^9.4.2",
"@fluentui/react-radio": "^9.1.2",
"@fluentui/react-select": "^9.1.2",
"@fluentui/react-shared-contexts": "^9.3.0",
"@fluentui/react-skeleton": "9.0.0-beta.1",
"@fluentui/react-slider": "^9.1.2",
"@fluentui/react-spinner": "^9.1.2",
"@fluentui/react-spinbutton": "^9.2.2",
"@fluentui/react-image": "^9.1.0",
"@fluentui/react-infobutton": "9.0.0-beta.21",
"@fluentui/react-input": "^9.4.3",
"@fluentui/react-label": "^9.1.3",
"@fluentui/react-link": "^9.0.29",
"@fluentui/react-menu": "^9.7.3",
"@fluentui/react-persona": "^9.2.3",
"@fluentui/react-popover": "^9.5.3",
"@fluentui/react-portal": "^9.2.0",
"@fluentui/react-positioning": "^9.5.4",
"@fluentui/react-progress": "^9.1.3",
"@fluentui/react-provider": "^9.4.3",
"@fluentui/react-radio": "^9.1.3",
"@fluentui/react-select": "^9.1.3",
"@fluentui/react-shared-contexts": "^9.3.1",
"@fluentui/react-skeleton": "9.0.0-beta.2",
"@fluentui/react-slider": "^9.1.3",
"@fluentui/react-spinner": "^9.1.3",
"@fluentui/react-spinbutton": "^9.2.3",
"@fluentui/react-storybook-addon": "9.0.0-rc.1",
"@fluentui/react-storybook-addon-codesandbox": "9.0.0-alpha.0",
"@fluentui/react-switch": "^9.1.2",
"@fluentui/react-tabs": "^9.3.2",
"@fluentui/react-table": "^9.1.2",
"@fluentui/react-text": "^9.2.6",
"@fluentui/react-textarea": "^9.3.2",
"@fluentui/react-theme": "^9.1.5",
"@fluentui/react-tooltip": "^9.2.2",
"@fluentui/react-toolbar": "^9.1.2",
"@fluentui/react-switch": "^9.1.3",
"@fluentui/react-tabs": "^9.3.3",
"@fluentui/react-table": "^9.2.0",
"@fluentui/react-text": "^9.3.0",
"@fluentui/react-textarea": "^9.3.3",
"@fluentui/react-theme": "^9.1.6",
"@fluentui/react-tooltip": "^9.2.3",
"@fluentui/react-toolbar": "^9.1.3",
"@fluentui/react-utilities": "^9.7.0",
"@griffel/react": "^1.5.2",
"react": "17.0.2",
Expand Down

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.

5 changes: 5 additions & 0 deletions packages/fluentui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,15 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased]

<!--------------------------------[ v0.66.4 ]------------------------------- -->
## [v0.66.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-northstar_v0.66.4) (2023-03-10)
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-northstar_v0.66.3..@fluentui/react-northstar_v0.66.4)

### Fixes
- `Datepicker`: indicators should be visible in high contrast mode. @ling1726 ([#27107](https://github.com/microsoft/fluentui/pull/27107))
- `Datepicker`: Disabled buttons should be green in HC theme. @jurokapsiar ([#27114](https://github.com/microsoft/fluentui/pull/27114))
- `SplitButton`: should display correctly in high contrast mode @ling1726 ([#27137](https://github.com/microsoft/fluentui/pull/27137))
- `Embed`: play/pause indicator should render correctly in high contrast mode @ling1726 ([#27213](https://github.com/microsoft/fluentui/pull/27213))

<!--------------------------------[ v0.66.3 ]------------------------------- -->
## [v0.66.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-northstar_v0.66.3) (2023-02-27)
Expand Down
2 changes: 1 addition & 1 deletion packages/fluentui/ability-attributes/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@fluentui/ability-attributes",
"description": "Accessibility attributes schema for Fluent UI",
"version": "0.66.3",
"version": "0.66.4",
"author": "Marat Abdullin <[email protected]>",
"bugs": "https://github.com/microsoft/fluentui/issues",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/fluentui/accessibility/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@fluentui/accessibility",
"description": "A set of reusable framework accessibility behaviours.",
"version": "0.66.3",
"version": "0.66.4",
"author": "Oleksandr Fediashov <[email protected]>",
"bugs": "https://github.com/microsoft/fluentui/issues",
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/fluentui/circulars-test/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@fluentui/circulars-test",
"version": "0.66.3",
"version": "0.66.4",
"private": true,
"license": "MIT",
"dependencies": {
"@fluentui/react-northstar": "^0.66.3"
"@fluentui/react-northstar": "^0.66.4"
},
"devDependencies": {
"@fluentui/scripts-gulp": "*"
Expand Down
6 changes: 3 additions & 3 deletions packages/fluentui/code-sandbox/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@fluentui/code-sandbox",
"description": "Fluent UI tools for CodeSandbox.",
"version": "0.66.3",
"version": "0.66.4",
"author": "Oleksandr Fediashov <[email protected]>",
"bugs": "https://github.com/microsoft/fluentui/issues",
"dependencies": {
"@fluentui/docs-components": "^0.66.3",
"@fluentui/docs-components": "^0.66.4",
"lodash": "^4.17.15"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/react-northstar": "^0.66.3",
"@fluentui/react-northstar": "^0.66.4",
"@fluentui/scripts-babel": "*",
"@fluentui/scripts-gulp": "*"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/fluentui/digest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fluentui/digest",
"version": "0.66.3",
"version": "0.66.4",
"private": true,
"main": "lib/digest.js",
"module": "lib/digest.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/fluentui/docs-components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@fluentui/docs-components",
"description": "A set of React components to build docs sites.",
"version": "0.66.3",
"version": "0.66.4",
"author": "Oleksandr Fediashov <[email protected]>",
"bugs": "https://github.com/microsoft/fluentui/issues",
"dependencies": {
Expand Down
Loading

0 comments on commit e9620b6

Please sign in to comment.