diff --git a/.babelrc-v9.json b/.babelrc-v9.json
new file mode 100644
index 0000000000000..5a8a73d837805
--- /dev/null
+++ b/.babelrc-v9.json
@@ -0,0 +1,23 @@
+{
+ "presets": [
+ [
+ "@griffel",
+ {
+ "babelOptions": {
+ "plugins": [
+ [
+ "babel-plugin-module-resolver",
+ {
+ "root": ["../../../"],
+ "alias": {
+ "@fluentui/tokens": "packages/tokens/lib/index.js",
+ "^@fluentui/(?!react-icons)(.+)": "packages/react-components/\\1/lib/index.js"
+ }
+ }
+ ]
+ ]
+ }
+ }
+ ]
+ ]
+}
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 48780e3500e2a..85dac4ae69d1e 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -292,3 +292,4 @@ packages/react-experiments/src/components/TileList @ThomasMichon
**/cypress.config.ts @microsoft/fluentui-react-build
**/api-extractor.json @microsoft/fluentui-react-build
**/api-extractor.unstable.json @microsoft/fluentui-react-build
+**/.swcrc @microsoft/fluentui-react-build
diff --git a/README.md b/README.md
index 5e375cbe8493e..65b51106dab4d 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ The following table will help you navigate the 3 projects and understand their d
| **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** | [](https://www.npmjs.com/package/@fluentui/react-components) | [](https://www.npmjs.com/package/@fluentui/react) | [](https://www.npmjs.com/package/@fluentui/web-components) |
-| **Issues** | [](https://github.com/microsoft/fluentui/issues?q=is%3Aissue+is%3Aopen+label%3A%22Fluent+UI+react-components+%28v9%29%22) | [?label=issues&style=flat-square)](https://github.com/microsoft/fluentui/issues?q=is%3Aissue+is%3Aopen+label%3A%22Fluent+UI+react+(v8)%22) | [](https://github.com/microsoft/fluentui/issues?q=is%3Aissue+is%3Aopen+label%3A%22web-components%22) |
+| **Issues** | [?label=issues&style=flat-square)](https://github.com/microsoft/fluentui/issues?q=is%3Aissue+is%3Aopen+label%3A%22Fluent+UI+react-components+%28v9%29%22) | [?label=issues&style=flat-square)](https://github.com/microsoft/fluentui/issues?q=is%3Aissue+is%3Aopen+label%3A%22Fluent+UI+react+(v8)%22) | [](https://github.com/microsoft/fluentui/issues?q=is%3Aissue+is%3Aopen+label%3A%22web-components%22) |
> Why are there two React versions? Fluent UI v8 is still widely used. We encourage you to migrate to Fluent UI v9. See the [Migration overview](https://react.fluentui.dev/?path=/docs/concepts-migration-overview--page).
diff --git a/apps/perf-test-react-components/package.json b/apps/perf-test-react-components/package.json
index 6ea1968d09d4e..160e3235e64ed 100644
--- a/apps/perf-test-react-components/package.json
+++ b/apps/perf-test-react-components/package.json
@@ -18,14 +18,14 @@
},
"dependencies": {
"@griffel/core": "^1.9.0",
- "@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",
+ "@fluentui/react-avatar": "^9.4.6",
+ "@fluentui/react-button": "^9.3.6",
+ "@fluentui/react-field": "9.0.0-alpha.28",
+ "@fluentui/react-infobutton": "9.0.0-beta.24",
+ "@fluentui/react-persona": "^9.2.5",
+ "@fluentui/react-provider": "^9.5.0",
+ "@fluentui/react-spinbutton": "^9.2.6",
+ "@fluentui/react-theme": "^9.1.7",
"@microsoft/load-themed-styles": "^1.10.26",
"flamegrill": "0.2.0",
"lodash": "^4.17.15",
diff --git a/apps/perf-test-react-components/src/scenarios/InfoButton.tsx b/apps/perf-test-react-components/src/scenarios/InfoButton.tsx
index 51fd802f21bb5..b69e1fb066f6e 100644
--- a/apps/perf-test-react-components/src/scenarios/InfoButton.tsx
+++ b/apps/perf-test-react-components/src/scenarios/InfoButton.tsx
@@ -3,7 +3,7 @@ import { InfoButton } from '@fluentui/react-infobutton';
import { FluentProvider } from '@fluentui/react-provider';
import { webLightTheme } from '@fluentui/react-theme';
-const Scenario = () => ;
+const Scenario = () => ;
Scenario.decorator = (props: { children: React.ReactNode }) => {
{props.children};
diff --git a/apps/perf-test/package.json b/apps/perf-test/package.json
index d4531ccc166c1..9caae2c537df8 100644
--- a/apps/perf-test/package.json
+++ b/apps/perf-test/package.json
@@ -17,8 +17,8 @@
"@fluentui/scripts-webpack": "*"
},
"dependencies": {
- "@fluentui/example-data": "^8.4.6",
- "@fluentui/react": "^8.106.6",
+ "@fluentui/example-data": "^8.4.7",
+ "@fluentui/react": "^8.106.9",
"@microsoft/load-themed-styles": "^1.10.26",
"flamegrill": "0.2.0",
"lodash": "^4.17.15",
diff --git a/apps/public-docsite-resources/package.json b/apps/public-docsite-resources/package.json
index 2a76b8729d3e7..860928c7a6a7d 100644
--- a/apps/public-docsite-resources/package.json
+++ b/apps/public-docsite-resources/package.json
@@ -27,22 +27,22 @@
"update-snapshots": "just-scripts jest -u"
},
"devDependencies": {
- "@fluentui/api-docs": "^8.2.6",
+ "@fluentui/api-docs": "^8.2.7",
"@fluentui/eslint-plugin": "*",
"@fluentui/scripts-monorepo": "*",
"@fluentui/scripts-tasks": "*",
"@fluentui/scripts-webpack": "*"
},
"dependencies": {
- "@fluentui/react": "^8.106.6",
+ "@fluentui/react": "^8.106.9",
"@fluentui/react-examples": "^8.34.4",
"@microsoft/load-themed-styles": "^1.10.26",
- "@fluentui/azure-themes": "^8.5.69",
- "@fluentui/react-docsite-components": "^8.11.30",
- "@fluentui/font-icons-mdl2": "^8.5.12",
- "@fluentui/set-version": "^8.2.5",
- "@fluentui/theme-samples": "^8.7.65",
- "@fluentui/react-monaco-editor": "^1.7.65",
+ "@fluentui/azure-themes": "^8.5.72",
+ "@fluentui/react-docsite-components": "^8.11.33",
+ "@fluentui/font-icons-mdl2": "^8.5.13",
+ "@fluentui/set-version": "^8.2.6",
+ "@fluentui/theme-samples": "^8.7.68",
+ "@fluentui/react-monaco-editor": "^1.7.68",
"office-ui-fabric-core": "^11.0.0",
"react": "17.0.2",
"react-dom": "17.0.2",
diff --git a/apps/public-docsite-v9/.storybook/preview.js b/apps/public-docsite-v9/.storybook/preview.js
index 90cd58429aa7b..ebe4c1cf40284 100644
--- a/apps/public-docsite-v9/.storybook/preview.js
+++ b/apps/public-docsite-v9/.storybook/preview.js
@@ -25,7 +25,14 @@ export const parameters = {
[
'Introduction',
'Developer',
- ['Quick Start', 'Styling Components', 'Positioning Components', 'Component Poster', 'Server-Side Rendering'],
+ [
+ 'Quick Start',
+ 'Styling Components',
+ 'Positioning Components',
+ 'Component Poster',
+ 'Server-Side Rendering',
+ ['Basic setup', 'Next.js setup', 'Limitations with Portals'],
+ ],
'Migration',
[
'Getting Started',
diff --git a/apps/public-docsite-v9/package.json b/apps/public-docsite-v9/package.json
index dbe8c31a700bf..e0c5318429950 100644
--- a/apps/public-docsite-v9/package.json
+++ b/apps/public-docsite-v9/package.json
@@ -22,12 +22,12 @@
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/react-migration-v8-v9": "^9.2.0",
+ "@fluentui/react-migration-v8-v9": "^9.2.5",
"@fluentui/react-migration-v0-v9": "9.0.0-alpha.0",
- "@fluentui/react": "^8.106.6",
+ "@fluentui/react": "^8.106.9",
"@fluentui/react-northstar": "^0.66.4",
"@fluentui/react-icons-northstar": "^0.66.4",
- "@fluentui/react-components": "^9.18.1",
+ "@fluentui/react-components": "^9.18.6",
"@fluentui/react-storybook-addon": "9.0.0-rc.1",
"@fluentui/react-storybook-addon-codesandbox": "9.0.0-alpha.0",
"@griffel/react": "^1.5.2",
diff --git a/apps/public-docsite-v9/src/Concepts/AdvancedConfiguration.stories.mdx b/apps/public-docsite-v9/src/Concepts/AdvancedConfiguration.stories.mdx
index b81cda6dc04b8..71886c76e7bcb 100644
--- a/apps/public-docsite-v9/src/Concepts/AdvancedConfiguration.stories.mdx
+++ b/apps/public-docsite-v9/src/Concepts/AdvancedConfiguration.stories.mdx
@@ -32,7 +32,62 @@ function MyComponent(props) {
You can check complete example at [CodeSandbox](https://codesandbox.io/s/fluentuireact-components-render-into-iframe-l62ke).
-### Content Security Policies
+### Media Queries Sorting
+
+Fluent UI React v9 uses Griffel as CSS-in-JS to apply styles. To provide deterministic behavior, styles applied by Griffel [are sorted]((https://griffel.js.org/react/guides/atomic-css#lvfha-order-of-pseudo-classes), the same applies to media queries. Fluent UI does not provide an opinionated default to sort media queries as the order may vary depending on the specific needs of the application.
+
+To configure the sorting behavior, please pass `compareMediaQueries` function with the same signature as sort functions in e.g. `Array.prototype.sort`.
+
+```js
+import { createDOMRenderer } from '@griffel/react';
+
+const mediaQueryOrder = [
+ 'only screen and (min-width: 1366px)',
+ 'only screen and (min-width: 1366px)',
+ 'only screen and (min-width: 1920px)',
+];
+
+function sortMediaQueries(a, b) {
+ return mediaQueryOrder.indexOf(a) - mediaQueryOrder.indexOf(b);
+}
+
+const renderer = createDOMRenderer(document, {
+ compareMediaQueries,
+});
+```
+
+```html
+
+
+
+
+
+
+
+```
+
+For mobile-first methodology, consider using [`sort-css-media-queries`](https://github.com/dutchenkoOleg/sort-css-media-queries):
+
+```js
+import { createDOMRenderer } from '@griffel/react';
+import sortCSSmq from 'sort-css-media-queries';
+
+const renderer = createDOMRenderer(document, {
+ compareMediaQueries: sortCSSmq,
+});
+```
+
+```html
+
+
+
+
+
+
+
+```
+
+### Content Security Policies (CSP)
To add `nonce` attribute need for [Content Security Policies](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), please use `styleElementAttributes` to specify it:
diff --git a/apps/public-docsite-v9/src/Concepts/SSR/Nextjs.stories.mdx b/apps/public-docsite-v9/src/Concepts/SSR/Nextjs.stories.mdx
index e711ca7a1619b..1633896de2c10 100644
--- a/apps/public-docsite-v9/src/Concepts/SSR/Nextjs.stories.mdx
+++ b/apps/public-docsite-v9/src/Concepts/SSR/Nextjs.stories.mdx
@@ -1,6 +1,6 @@
import { Meta } from '@storybook/addon-docs';
-
+
## Next.js
@@ -9,14 +9,18 @@ For basic instructions on getting Next.js set up, see [Getting Started](https://
1. Get a basic next.js setup running, rendering a page from the `pages` folder, as guided by the tutorial.
2. Add the Fluent UI dependencies: `@fluentui/react-components`.
-```sh
-// yarn
+```shell
+# Using Yarn
yarn add @fluentui/react-components
-//npm
+# Using NPM
npm install @fluentui/react-components
```
+> **Note on [experimental appDir support](https://beta.nextjs.org/docs/api-reference/next-config#appdir)**
+>
+> Fluent UI React v9 use extensively React Context API, to use Fluent components within `app` directory please use [`use client` directive](https://beta.nextjs.org/docs/rendering/server-and-client-components#convention).
+
1. Create a `_document.tsx` file under your `pages` folder with the following content:
```tsx
diff --git a/apps/public-docsite-v9/src/Concepts/SSR/Portals.stories.mdx b/apps/public-docsite-v9/src/Concepts/SSR/Portals.stories.mdx
index 5e6b44d1579b7..3b7f5c1268ae1 100644
--- a/apps/public-docsite-v9/src/Concepts/SSR/Portals.stories.mdx
+++ b/apps/public-docsite-v9/src/Concepts/SSR/Portals.stories.mdx
@@ -1,7 +1,7 @@
import { Meta } from '@storybook/addon-docs';
import { SSRDefaultOpen } from './MenuSSRDefaultOpen.stories';
-
+
## React Portals
diff --git a/apps/public-docsite-v9/src/Concepts/SSR/SSR.stories.mdx b/apps/public-docsite-v9/src/Concepts/SSR/SSR.stories.mdx
index aab9b2bb21530..afb7ca2c48df8 100644
--- a/apps/public-docsite-v9/src/Concepts/SSR/SSR.stories.mdx
+++ b/apps/public-docsite-v9/src/Concepts/SSR/SSR.stories.mdx
@@ -1,20 +1,20 @@
import { Meta } from '@storybook/addon-docs';
-
+
## Server-Side Rendering
-Fluent UI React v9 fully supports Server-Side Rendering.
+Fluent UI React v9 supports Server-Side Rendering.
### Basic setup
Add `@fluentui/react-components` dependency:
-```sh
-// yarn
+```shell
+# Using Yarn
yarn add @fluentui/react-components
-//npm
+# Using NPM
npm install @fluentui/react-components
```
diff --git a/apps/public-docsite/package.json b/apps/public-docsite/package.json
index 67c52b363614a..10035cf55a775 100644
--- a/apps/public-docsite/package.json
+++ b/apps/public-docsite/package.json
@@ -23,29 +23,29 @@
},
"license": "MIT",
"devDependencies": {
- "@fluentui/common-styles": "^1.2.21",
+ "@fluentui/common-styles": "^1.2.22",
"@fluentui/eslint-plugin": "*",
- "@fluentui/react-monaco-editor": "^1.7.65",
+ "@fluentui/react-monaco-editor": "^1.7.68",
"write-file-webpack-plugin": "^4.1.0",
"@fluentui/scripts-tasks": "*",
"@fluentui/scripts-webpack": "*"
},
"dependencies": {
- "@fluentui/font-icons-mdl2": "^8.5.12",
+ "@fluentui/font-icons-mdl2": "^8.5.13",
"@fluentui/public-docsite-resources": "^8.1.41",
- "@fluentui/public-docsite-setup": "^0.3.17",
- "@fluentui/react": "^8.106.6",
- "@fluentui/react-docsite-components": "^8.11.30",
+ "@fluentui/public-docsite-setup": "^0.3.18",
+ "@fluentui/react": "^8.106.9",
+ "@fluentui/react-docsite-components": "^8.11.33",
"@fluentui/react-examples": "^8.34.4",
- "@fluentui/react-experiments": "^8.14.60",
- "@fluentui/fluent2-theme": "^8.106.1",
- "@fluentui/react-file-type-icons": "^8.8.12",
- "@fluentui/react-icons-mdl2": "^1.3.36",
- "@fluentui/react-icons-mdl2-branded": "^1.2.37",
- "@fluentui/set-version": "^8.2.5",
- "@fluentui/theme": "^2.6.24",
- "@fluentui/theme-samples": "^8.7.65",
- "@fluentui/utilities": "^8.13.8",
+ "@fluentui/react-experiments": "^8.14.63",
+ "@fluentui/fluent2-theme": "^8.106.5",
+ "@fluentui/react-file-type-icons": "^8.8.13",
+ "@fluentui/react-icons-mdl2": "^1.3.37",
+ "@fluentui/react-icons-mdl2-branded": "^1.2.38",
+ "@fluentui/set-version": "^8.2.6",
+ "@fluentui/theme": "^2.6.25",
+ "@fluentui/theme-samples": "^8.7.68",
+ "@fluentui/utilities": "^8.13.9",
"@microsoft/load-themed-styles": "^1.10.26",
"office-ui-fabric-core": "^11.0.0",
"react": "17.0.2",
diff --git a/apps/react-18-tests-v8/package.json b/apps/react-18-tests-v8/package.json
index abb7afe70c0dd..159d03ffa1b0d 100644
--- a/apps/react-18-tests-v8/package.json
+++ b/apps/react-18-tests-v8/package.json
@@ -21,8 +21,8 @@
"@fluentui/scripts-webpack": "*"
},
"dependencies": {
- "@fluentui/react": "^8.106.6",
- "@fluentui/react-hooks": "^8.6.19",
+ "@fluentui/react": "^8.106.9",
+ "@fluentui/react-hooks": "^8.6.20",
"@types/react": "18.0.14",
"@types/react-dom": "18.0.6",
"react": "18.2.0",
diff --git a/apps/react-18-tests-v9/package.json b/apps/react-18-tests-v9/package.json
index a60d5e1c4a587..91ba3aedf089b 100644
--- a/apps/react-18-tests-v9/package.json
+++ b/apps/react-18-tests-v9/package.json
@@ -19,7 +19,7 @@
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/react-components": "^9.18.1",
+ "@fluentui/react-components": "^9.18.6",
"@types/react": "18.0.14",
"@types/react-dom": "18.0.6",
"react": "18.2.0",
diff --git a/apps/recipes-react-components/package.json b/apps/recipes-react-components/package.json
index 6592d16b33086..350fdf1258577 100644
--- a/apps/recipes-react-components/package.json
+++ b/apps/recipes-react-components/package.json
@@ -16,10 +16,10 @@
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/react-components": "^9.18.1",
- "@fluentui/react-icons": "^2.0.175",
- "@fluentui/react-theme": "^9.1.6",
- "@fluentui/react-provider": "^9.4.3",
+ "@fluentui/react-components": "^9.18.6",
+ "@fluentui/react-icons": "^2.0.196",
+ "@fluentui/react-theme": "^9.1.7",
+ "@fluentui/react-provider": "^9.5.0",
"@fluentui/react-storybook-addon": "9.0.0-rc.1",
"@fluentui/react-storybook-addon-codesandbox": "9.0.0-alpha.0",
"@griffel/react": "^1.5.2",
diff --git a/apps/ssr-tests-v9/package.json b/apps/ssr-tests-v9/package.json
index b2e3999924daa..9cfdcfffdb8a3 100644
--- a/apps/ssr-tests-v9/package.json
+++ b/apps/ssr-tests-v9/package.json
@@ -20,7 +20,7 @@
"type-check": "tsc -b tsconfig.json"
},
"dependencies": {
- "@fluentui/react-components": "^9.18.1"
+ "@fluentui/react-components": "^9.18.6"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
diff --git a/apps/ssr-tests/package.json b/apps/ssr-tests/package.json
index 1218aedd16d4c..265ef6151b83e 100644
--- a/apps/ssr-tests/package.json
+++ b/apps/ssr-tests/package.json
@@ -13,7 +13,7 @@
},
"license": "MIT",
"devDependencies": {
- "@fluentui/react": "^8.106.6",
+ "@fluentui/react": "^8.106.9",
"@microsoft/load-themed-styles": "^1.10.26",
"@types/mocha": "7.0.2",
"@fluentui/public-docsite-resources": "^8.1.41",
diff --git a/apps/stress-test/package.json b/apps/stress-test/package.json
index 0f758aea08599..142647e84f31e 100644
--- a/apps/stress-test/package.json
+++ b/apps/stress-test/package.json
@@ -10,9 +10,9 @@
"type-check": "tsc -b tsconfig.type.json"
},
"dependencies": {
- "@fluentui/react": "^8.106.6",
- "@fluentui/react-components": "^9.18.1",
- "@fluentui/react-icons": "^2.0.175",
+ "@fluentui/react": "^8.106.9",
+ "@fluentui/react-components": "^9.18.6",
+ "@fluentui/react-icons": "^2.0.196",
"@fluentui/web-components": "^2.5.12",
"@microsoft/fast-element": "^1.11.0",
"afterframe": "1.0.2",
diff --git a/apps/theming-designer/package.json b/apps/theming-designer/package.json
index fe6ddb03dcc30..2718859d0ea15 100644
--- a/apps/theming-designer/package.json
+++ b/apps/theming-designer/package.json
@@ -19,13 +19,13 @@
"@fluentui/scripts-webpack": "*"
},
"dependencies": {
- "@fluentui/react": "^8.106.6",
- "@fluentui/merge-styles": "^8.5.6",
- "@fluentui/react-docsite-components": "^8.11.30",
- "@fluentui/foundation-legacy": "^8.2.32",
- "@fluentui/scheme-utilities": "^8.3.25",
- "@fluentui/set-version": "^8.2.5",
- "@fluentui/font-icons-mdl2": "^8.5.12",
+ "@fluentui/react": "^8.106.9",
+ "@fluentui/merge-styles": "^8.5.7",
+ "@fluentui/react-docsite-components": "^8.11.33",
+ "@fluentui/foundation-legacy": "^8.2.33",
+ "@fluentui/scheme-utilities": "^8.3.26",
+ "@fluentui/set-version": "^8.2.6",
+ "@fluentui/font-icons-mdl2": "^8.5.13",
"@microsoft/load-themed-styles": "^1.10.26",
"react": "17.0.2",
"react-dom": "17.0.2",
diff --git a/apps/ts-minbar-test-react-components/package.json b/apps/ts-minbar-test-react-components/package.json
index ec09f8f2a19aa..b82a99085af8c 100644
--- a/apps/ts-minbar-test-react-components/package.json
+++ b/apps/ts-minbar-test-react-components/package.json
@@ -5,7 +5,7 @@
"description": "Testing Fluent UI React Components compatibility with Typescript 3.9",
"license": "MIT",
"dependencies": {
- "@fluentui/react-components": "^9.18.1"
+ "@fluentui/react-components": "^9.18.6"
},
"scripts": {
"type-check": "tsc -p .",
diff --git a/apps/ts-minbar-test-react/package.json b/apps/ts-minbar-test-react/package.json
index 71135c25d8a3e..335992225ea23 100644
--- a/apps/ts-minbar-test-react/package.json
+++ b/apps/ts-minbar-test-react/package.json
@@ -5,7 +5,7 @@
"description": "Testing Fluent UI React compatibility with Typescript 3.9",
"license": "MIT",
"dependencies": {
- "@fluentui/react": "^8.106.6"
+ "@fluentui/react": "^8.106.9"
},
"scripts": {
"type-check": "tsc -p .",
diff --git a/apps/vr-tests-react-components/package.json b/apps/vr-tests-react-components/package.json
index 612bb5d6db677..eb581fcc1bd98 100644
--- a/apps/vr-tests-react-components/package.json
+++ b/apps/vr-tests-react-components/package.json
@@ -20,47 +20,47 @@
"@fluentui/scripts-storybook": "*"
},
"dependencies": {
- "@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.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-accordion": "^9.1.6",
+ "@fluentui/react-avatar": "^9.4.6",
+ "@fluentui/react-badge": "^9.1.6",
+ "@fluentui/react-button": "^9.3.6",
+ "@fluentui/react-card": "^9.0.4",
+ "@fluentui/react-checkbox": "^9.1.6",
+ "@fluentui/react-combobox": "^9.2.6",
+ "@fluentui/react-dialog": "^9.4.2",
+ "@fluentui/react-divider": "^9.2.6",
+ "@fluentui/react-field": "9.0.0-alpha.28",
+ "@fluentui/react-icons": "^2.0.196",
+ "@fluentui/react-image": "^9.1.3",
+ "@fluentui/react-infobutton": "9.0.0-beta.24",
+ "@fluentui/react-input": "^9.4.6",
+ "@fluentui/react-label": "^9.1.6",
+ "@fluentui/react-link": "^9.0.32",
+ "@fluentui/react-menu": "^9.7.6",
+ "@fluentui/react-persona": "^9.2.5",
+ "@fluentui/react-popover": "^9.5.6",
+ "@fluentui/react-portal": "^9.2.3",
+ "@fluentui/react-positioning": "^9.5.7",
+ "@fluentui/react-progress": "^9.1.6",
+ "@fluentui/react-provider": "^9.5.0",
+ "@fluentui/react-radio": "^9.1.6",
+ "@fluentui/react-select": "^9.1.6",
+ "@fluentui/react-shared-contexts": "^9.3.3",
+ "@fluentui/react-skeleton": "9.0.0-beta.5",
+ "@fluentui/react-slider": "^9.1.6",
+ "@fluentui/react-spinner": "^9.1.6",
+ "@fluentui/react-spinbutton": "^9.2.6",
"@fluentui/react-storybook-addon": "9.0.0-rc.1",
"@fluentui/react-storybook-addon-codesandbox": "9.0.0-alpha.0",
- "@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",
+ "@fluentui/react-switch": "^9.1.6",
+ "@fluentui/react-tabs": "^9.3.6",
+ "@fluentui/react-table": "^9.2.2",
+ "@fluentui/react-text": "^9.3.3",
+ "@fluentui/react-textarea": "^9.3.6",
+ "@fluentui/react-theme": "^9.1.7",
+ "@fluentui/react-tooltip": "^9.2.6",
+ "@fluentui/react-toolbar": "^9.1.6",
+ "@fluentui/react-utilities": "^9.7.2",
"@griffel/react": "^1.5.2",
"react": "17.0.2",
"react-dom": "17.0.2",
diff --git a/apps/vr-tests-react-components/src/stories/InfoButton.stories.tsx b/apps/vr-tests-react-components/src/stories/InfoButton.stories.tsx
index 81f93526e9555..f92637535673a 100644
--- a/apps/vr-tests-react-components/src/stories/InfoButton.stories.tsx
+++ b/apps/vr-tests-react-components/src/stories/InfoButton.stories.tsx
@@ -26,7 +26,7 @@ storiesOf('InfoButton', module)
'default',
() => (
-
+
),
{
@@ -52,8 +52,8 @@ storiesOf('InfoButton', module)
alignItems: 'start',
}}
>
-
-
-
+
+
+
));
diff --git a/apps/vr-tests/package.json b/apps/vr-tests/package.json
index 3e979d140cf95..676ce5cc3c8f8 100644
--- a/apps/vr-tests/package.json
+++ b/apps/vr-tests/package.json
@@ -20,12 +20,12 @@
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/example-data": "^8.4.6",
- "@fluentui/font-icons-mdl2": "^8.5.12",
- "@fluentui/react": "^8.106.6",
- "@fluentui/react-experiments": "^8.14.60",
- "@fluentui/react-hooks": "^8.6.19",
- "@fluentui/react-icons-mdl2": "^1.3.36",
+ "@fluentui/example-data": "^8.4.7",
+ "@fluentui/font-icons-mdl2": "^8.5.13",
+ "@fluentui/react": "^8.106.9",
+ "@fluentui/react-experiments": "^8.14.63",
+ "@fluentui/react-hooks": "^8.6.20",
+ "@fluentui/react-icons-mdl2": "^1.3.37",
"@fluentui/storybook": "^1.0.0",
"react": "17.0.2",
"react-dom": "17.0.2",
diff --git a/change/@fluentui-react-checkbox-4ebdfb9d-a372-4ce7-99f4-c66d376885b1.json b/change/@fluentui-react-checkbox-4ebdfb9d-a372-4ce7-99f4-c66d376885b1.json
new file mode 100644
index 0000000000000..b128033116e48
--- /dev/null
+++ b/change/@fluentui-react-checkbox-4ebdfb9d-a372-4ce7-99f4-c66d376885b1.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix: Fix vertical alignment of inline Checkbox when checked vs. unchecked",
+ "packageName": "@fluentui/react-checkbox",
+ "email": "behowell@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-components-fff93a07-f531-47a4-ac89-03ebd885c5dc.json b/change/@fluentui-react-components-fff93a07-f531-47a4-ac89-03ebd885c5dc.json
deleted file mode 100644
index a0352d769d0e9..0000000000000
--- a/change/@fluentui-react-components-fff93a07-f531-47a4-ac89-03ebd885c5dc.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "type": "patch",
- "comment": "chore: Export InfoLabel from react-components/unstable",
- "packageName": "@fluentui/react-components",
- "email": "behowell@microsoft.com",
- "dependentChangeType": "patch"
-}
diff --git a/change/@fluentui-react-dialog-265d3f30-f8c2-4813-89cd-389f8b99d67c.json b/change/@fluentui-react-dialog-265d3f30-f8c2-4813-89cd-389f8b99d67c.json
deleted file mode 100644
index 47e2a474f25f6..0000000000000
--- a/change/@fluentui-react-dialog-265d3f30-f8c2-4813-89cd-389f8b99d67c.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "type": "patch",
- "comment": "fix(DialogBody): Remove `maxWidth` style",
- "packageName": "@fluentui/react-dialog",
- "email": "lingfangao@hotmail.com",
- "dependentChangeType": "patch"
-}
diff --git a/change/@fluentui-react-dialog-aa5a8af5-a05d-460d-88d5-6126197983f6.json b/change/@fluentui-react-dialog-aa5a8af5-a05d-460d-88d5-6126197983f6.json
deleted file mode 100644
index 98ded81b3e51f..0000000000000
--- a/change/@fluentui-react-dialog-aa5a8af5-a05d-460d-88d5-6126197983f6.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "type": "minor",
- "comment": "feat(DialogActions): Implment `fluid` prop",
- "packageName": "@fluentui/react-dialog",
- "email": "lingfangao@hotmail.com",
- "dependentChangeType": "patch"
-}
diff --git a/change/@fluentui-react-infobutton-31dcdbe1-fdb8-4865-b821-6717fd7a1db1.json b/change/@fluentui-react-infobutton-e5984e77-89ae-4c61-85e0-984121adb4e5.json
similarity index 54%
rename from change/@fluentui-react-infobutton-31dcdbe1-fdb8-4865-b821-6717fd7a1db1.json
rename to change/@fluentui-react-infobutton-e5984e77-89ae-4c61-85e0-984121adb4e5.json
index 0a672bb9ada1d..dc638e760d65d 100644
--- a/change/@fluentui-react-infobutton-31dcdbe1-fdb8-4865-b821-6717fd7a1db1.json
+++ b/change/@fluentui-react-infobutton-e5984e77-89ae-4c61-85e0-984121adb4e5.json
@@ -1,7 +1,7 @@
{
"type": "prerelease",
- "comment": "feat: Add InfoLabel component",
+ "comment": "chore: Rename content slot to info.",
"packageName": "@fluentui/react-infobutton",
- "email": "behowell@microsoft.com",
+ "email": "esteban.230@hotmail.com",
"dependentChangeType": "patch"
}
diff --git a/change/@fluentui-react-provider-830b9ca5-f5b6-42cd-9c8c-7ac7dce3c6ff.json b/change/@fluentui-react-provider-830b9ca5-f5b6-42cd-9c8c-7ac7dce3c6ff.json
deleted file mode 100644
index f0279df2e0e26..0000000000000
--- a/change/@fluentui-react-provider-830b9ca5-f5b6-42cd-9c8c-7ac7dce3c6ff.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "type": "patch",
- "comment": "fix: pass proper document instance to useFocusVisible()",
- "packageName": "@fluentui/react-provider",
- "email": "olfedias@microsoft.com",
- "dependentChangeType": "patch"
-}
diff --git a/change/@fluentui-react-tabster-15bd7e2e-e514-4577-8ce7-6df09dfa88c6.json b/change/@fluentui-react-tabster-15bd7e2e-e514-4577-8ce7-6df09dfa88c6.json
deleted file mode 100644
index 461c8071ea1e0..0000000000000
--- a/change/@fluentui-react-tabster-15bd7e2e-e514-4577-8ce7-6df09dfa88c6.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "type": "minor",
- "comment": "feat: add options to useFocusVisible() hook",
- "packageName": "@fluentui/react-tabster",
- "email": "olfedias@microsoft.com",
- "dependentChangeType": "patch"
-}
diff --git a/change/@fluentui-react-utilities-b426918d-10c6-4a75-ada8-22a181ac8670.json b/change/@fluentui-react-utilities-b426918d-10c6-4a75-ada8-22a181ac8670.json
deleted file mode 100644
index 46b8562e7cafd..0000000000000
--- a/change/@fluentui-react-utilities-b426918d-10c6-4a75-ada8-22a181ac8670.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "type": "patch",
- "comment": "fix(getSlots): stops slotProps.slot to be typed as never",
- "packageName": "@fluentui/react-utilities",
- "email": "bernardo.sunderhus@gmail.com",
- "dependentChangeType": "patch"
-}
diff --git a/package.json b/package.json
index 14266295881cd..d72a03c4f95a4 100644
--- a/package.json
+++ b/package.json
@@ -87,7 +87,7 @@
"@ctrl/tinycolor": "3.3.4",
"@cypress/react": "5.12.4",
"@cypress/webpack-dev-server": "1.8.3",
- "@fluentui/react-icons": "^2.0.175",
+ "@fluentui/react-icons": "^2.0.196",
"@griffel/babel-preset": "1.4.8",
"@griffel/eslint-plugin": "1.0.0",
"@griffel/jest-serializer": "1.1.4",
@@ -124,6 +124,7 @@
"@storybook/manager-webpack5": "6.5.15",
"@storybook/react": "6.5.15",
"@storybook/theming": "6.5.15",
+ "@swc/cli": "0.1.59",
"@swc/core": "1.3.30",
"@swc/helpers": "0.4.14",
"@testing-library/dom": "8.11.3",
@@ -196,6 +197,7 @@
"babel-plugin-annotate-pure-imports": "1.0.0-1",
"babel-plugin-iife-wrap-react-components": "1.0.0-5",
"babel-plugin-lodash": "3.3.4",
+ "babel-plugin-module-resolver": "4.1.0",
"babel-plugin-tester": "10.1.0",
"beachball": "2.31.0",
"chalk": "4.1.0",
@@ -405,6 +407,7 @@
"@babel/generator",
"@babel/traverse",
"@rnx-kit/eslint-plugin",
+ "@swc/helpers",
"@types/react-test-renderer",
"@typescript-eslint/eslint-plugin",
"@typescript-eslint/experimental-utils",
diff --git a/packages/api-docs/package.json b/packages/api-docs/package.json
index 8eaf3471a224c..e599976b6a888 100644
--- a/packages/api-docs/package.json
+++ b/packages/api-docs/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/api-docs",
- "version": "8.2.6",
+ "version": "8.2.7",
"description": "Transforms API Extractor .api.json files into .page.json files",
"repository": {
"type": "git",
diff --git a/packages/azure-themes/CHANGELOG.json b/packages/azure-themes/CHANGELOG.json
index 40fdd6514e2e7..7e04e6f1f8e44 100644
--- a/packages/azure-themes/CHANGELOG.json
+++ b/packages/azure-themes/CHANGELOG.json
@@ -1,6 +1,57 @@
{
"name": "@fluentui/azure-themes",
"entries": [
+ {
+ "date": "Fri, 24 Mar 2023 22:25:03 GMT",
+ "tag": "@fluentui/azure-themes_v8.5.72",
+ "version": "8.5.72",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/azure-themes",
+ "comment": "Bump @fluentui/react to v8.106.9",
+ "commit": "0f112dce6a19b7124dd95f58d9096f40aeaedf9c"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Wed, 22 Mar 2023 08:03:46 GMT",
+ "tag": "@fluentui/azure-themes_v8.5.71",
+ "version": "8.5.71",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/azure-themes",
+ "comment": "Bump @fluentui/react to v8.106.8",
+ "commit": "298c2a3a12ee95c78650b4a8cf70990844768602"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Fri, 17 Mar 2023 08:15:56 GMT",
+ "tag": "@fluentui/azure-themes_v8.5.70",
+ "version": "8.5.70",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/azure-themes",
+ "comment": "Bump @fluentui/react to v8.106.7",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/azure-themes",
+ "comment": "Bump @fluentui/set-version to v8.2.6",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ }
+ ]
+ }
+ },
{
"date": "Tue, 14 Mar 2023 07:38:49 GMT",
"tag": "@fluentui/azure-themes_v8.5.69",
diff --git a/packages/azure-themes/CHANGELOG.md b/packages/azure-themes/CHANGELOG.md
index 50bbb2041edd0..859c6b71fe025 100644
--- a/packages/azure-themes/CHANGELOG.md
+++ b/packages/azure-themes/CHANGELOG.md
@@ -1,9 +1,37 @@
# Change Log - @fluentui/azure-themes
-This log was last generated on Tue, 14 Mar 2023 07:38:49 GMT and should not be manually modified.
+This log was last generated on Fri, 24 Mar 2023 22:25:03 GMT and should not be manually modified.
+## [8.5.72](https://github.com/microsoft/fluentui/tree/@fluentui/azure-themes_v8.5.72)
+
+Fri, 24 Mar 2023 22:25:03 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/azure-themes_v8.5.71..@fluentui/azure-themes_v8.5.72)
+
+### Patches
+
+- Bump @fluentui/react to v8.106.9 ([PR #27323](https://github.com/microsoft/fluentui/pull/27323) by beachball)
+
+## [8.5.71](https://github.com/microsoft/fluentui/tree/@fluentui/azure-themes_v8.5.71)
+
+Wed, 22 Mar 2023 08:03:46 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/azure-themes_v8.5.70..@fluentui/azure-themes_v8.5.71)
+
+### Patches
+
+- Bump @fluentui/react to v8.106.8 ([commit](https://github.com/microsoft/fluentui/commit/298c2a3a12ee95c78650b4a8cf70990844768602) by beachball)
+
+## [8.5.70](https://github.com/microsoft/fluentui/tree/@fluentui/azure-themes_v8.5.70)
+
+Fri, 17 Mar 2023 08:15:56 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/azure-themes_v8.5.69..@fluentui/azure-themes_v8.5.70)
+
+### Patches
+
+- Bump @fluentui/react to v8.106.7 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+- Bump @fluentui/set-version to v8.2.6 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+
## [8.5.69](https://github.com/microsoft/fluentui/tree/@fluentui/azure-themes_v8.5.69)
Tue, 14 Mar 2023 07:38:49 GMT
diff --git a/packages/azure-themes/package.json b/packages/azure-themes/package.json
index 7361a6bff1e4e..b98070c4c9838 100644
--- a/packages/azure-themes/package.json
+++ b/packages/azure-themes/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/azure-themes",
- "version": "8.5.69",
+ "version": "8.5.72",
"description": "Azure themes for Fluent UI React",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -28,8 +28,8 @@
"@fluentui/scripts-webpack": "*"
},
"dependencies": {
- "@fluentui/react": "^8.106.6",
- "@fluentui/set-version": "^8.2.5",
+ "@fluentui/react": "^8.106.9",
+ "@fluentui/set-version": "^8.2.6",
"tslib": "^2.1.0"
}
}
diff --git a/packages/codemods/package.json b/packages/codemods/package.json
index 485c4e7207c5c..8eefa4bbdde97 100644
--- a/packages/codemods/package.json
+++ b/packages/codemods/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/codemods",
- "version": "8.4.8",
+ "version": "8.4.9",
"description": "Tool enabling easy upgrades to new Fluent UI versions",
"main": "lib-commonjs/index.js",
"typings": "lib-commonjs/index.d.ts",
diff --git a/packages/common-styles/CHANGELOG.json b/packages/common-styles/CHANGELOG.json
index 34b1d7c2913bc..812403f355a56 100644
--- a/packages/common-styles/CHANGELOG.json
+++ b/packages/common-styles/CHANGELOG.json
@@ -1,6 +1,21 @@
{
"name": "@fluentui/common-styles",
"entries": [
+ {
+ "date": "Fri, 17 Mar 2023 08:15:56 GMT",
+ "tag": "@fluentui/common-styles_v1.2.22",
+ "version": "1.2.22",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/common-styles",
+ "comment": "Bump @fluentui/style-utilities to v8.9.6",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ }
+ ]
+ }
+ },
{
"date": "Thu, 09 Mar 2023 07:39:12 GMT",
"tag": "@fluentui/common-styles_v1.2.21",
diff --git a/packages/common-styles/CHANGELOG.md b/packages/common-styles/CHANGELOG.md
index 573158e89c3e0..2c7bb7ea9f2a4 100644
--- a/packages/common-styles/CHANGELOG.md
+++ b/packages/common-styles/CHANGELOG.md
@@ -1,9 +1,18 @@
# Change Log - @fluentui/common-styles
-This log was last generated on Thu, 09 Mar 2023 07:39:12 GMT and should not be manually modified.
+This log was last generated on Fri, 17 Mar 2023 08:15:56 GMT and should not be manually modified.
+## [1.2.22](https://github.com/microsoft/fluentui/tree/@fluentui/common-styles_v1.2.22)
+
+Fri, 17 Mar 2023 08:15:56 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/common-styles_v1.2.21..@fluentui/common-styles_v1.2.22)
+
+### Patches
+
+- Bump @fluentui/style-utilities to v8.9.6 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+
## [1.2.21](https://github.com/microsoft/fluentui/tree/@fluentui/common-styles_v1.2.21)
Thu, 09 Mar 2023 07:39:12 GMT
diff --git a/packages/common-styles/package.json b/packages/common-styles/package.json
index ebfdd785a420e..48c848c5faf48 100644
--- a/packages/common-styles/package.json
+++ b/packages/common-styles/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/common-styles",
- "version": "1.2.21",
+ "version": "1.2.22",
"description": "Common style definitions for Fluent UI React components",
"repository": {
"type": "git",
@@ -18,7 +18,7 @@
"office-ui-fabric-core": "^11.0.0"
},
"devDependencies": {
- "@fluentui/style-utilities": "^8.9.5",
+ "@fluentui/style-utilities": "^8.9.6",
"@fluentui/scripts-tasks": "*"
}
}
diff --git a/packages/cra-template/CHANGELOG.json b/packages/cra-template/CHANGELOG.json
index 3de5e26824e83..ea31f554642c8 100644
--- a/packages/cra-template/CHANGELOG.json
+++ b/packages/cra-template/CHANGELOG.json
@@ -1,6 +1,51 @@
{
"name": "@fluentui/cra-template",
"entries": [
+ {
+ "date": "Fri, 24 Mar 2023 22:25:03 GMT",
+ "tag": "@fluentui/cra-template_v8.4.69",
+ "version": "8.4.69",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/cra-template",
+ "comment": "Bump @fluentui/react to v8.106.9",
+ "commit": "0f112dce6a19b7124dd95f58d9096f40aeaedf9c"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Wed, 22 Mar 2023 08:03:46 GMT",
+ "tag": "@fluentui/cra-template_v8.4.68",
+ "version": "8.4.68",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/cra-template",
+ "comment": "Bump @fluentui/react to v8.106.8",
+ "commit": "298c2a3a12ee95c78650b4a8cf70990844768602"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Fri, 17 Mar 2023 08:15:56 GMT",
+ "tag": "@fluentui/cra-template_v8.4.67",
+ "version": "8.4.67",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/cra-template",
+ "comment": "Bump @fluentui/react to v8.106.7",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ }
+ ]
+ }
+ },
{
"date": "Tue, 14 Mar 2023 07:38:49 GMT",
"tag": "@fluentui/cra-template_v8.4.66",
diff --git a/packages/cra-template/CHANGELOG.md b/packages/cra-template/CHANGELOG.md
index ac26e4587c204..ac01ae914d5b1 100644
--- a/packages/cra-template/CHANGELOG.md
+++ b/packages/cra-template/CHANGELOG.md
@@ -1,9 +1,36 @@
# Change Log - @fluentui/cra-template
-This log was last generated on Tue, 14 Mar 2023 07:38:49 GMT and should not be manually modified.
+This log was last generated on Fri, 24 Mar 2023 22:25:03 GMT and should not be manually modified.
+## [8.4.69](https://github.com/microsoft/fluentui/tree/@fluentui/cra-template_v8.4.69)
+
+Fri, 24 Mar 2023 22:25:03 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/cra-template_v8.4.68..@fluentui/cra-template_v8.4.69)
+
+### Patches
+
+- Bump @fluentui/react to v8.106.9 ([PR #27323](https://github.com/microsoft/fluentui/pull/27323) by beachball)
+
+## [8.4.68](https://github.com/microsoft/fluentui/tree/@fluentui/cra-template_v8.4.68)
+
+Wed, 22 Mar 2023 08:03:46 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/cra-template_v8.4.67..@fluentui/cra-template_v8.4.68)
+
+### Patches
+
+- Bump @fluentui/react to v8.106.8 ([commit](https://github.com/microsoft/fluentui/commit/298c2a3a12ee95c78650b4a8cf70990844768602) by beachball)
+
+## [8.4.67](https://github.com/microsoft/fluentui/tree/@fluentui/cra-template_v8.4.67)
+
+Fri, 17 Mar 2023 08:15:56 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/cra-template_v8.4.66..@fluentui/cra-template_v8.4.67)
+
+### Patches
+
+- Bump @fluentui/react to v8.106.7 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+
## [8.4.66](https://github.com/microsoft/fluentui/tree/@fluentui/cra-template_v8.4.66)
Tue, 14 Mar 2023 07:38:49 GMT
diff --git a/packages/cra-template/package.json b/packages/cra-template/package.json
index 56ec608e66453..a483db3b46d6e 100644
--- a/packages/cra-template/package.json
+++ b/packages/cra-template/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/cra-template",
- "version": "8.4.66",
+ "version": "8.4.69",
"description": "Create React App template for Fluent UI React (@fluentui/react)",
"repository": {
"type": "git",
@@ -18,7 +18,7 @@
"template.json"
],
"devDependencies": {
- "@fluentui/react": "^8.106.6",
+ "@fluentui/react": "^8.106.9",
"@fluentui/scripts-projects-test": "*",
"@fluentui/scripts-monorepo": "*"
}
diff --git a/packages/date-time-utilities/CHANGELOG.json b/packages/date-time-utilities/CHANGELOG.json
index 2f37fb80d07ba..80c2442e75f64 100644
--- a/packages/date-time-utilities/CHANGELOG.json
+++ b/packages/date-time-utilities/CHANGELOG.json
@@ -1,6 +1,21 @@
{
"name": "@fluentui/date-time-utilities",
"entries": [
+ {
+ "date": "Fri, 17 Mar 2023 08:15:56 GMT",
+ "tag": "@fluentui/date-time-utilities_v8.5.6",
+ "version": "8.5.6",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/date-time-utilities",
+ "comment": "Bump @fluentui/set-version to v8.2.6",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ }
+ ]
+ }
+ },
{
"date": "Fri, 03 Feb 2023 07:50:06 GMT",
"tag": "@fluentui/date-time-utilities_v8.5.5",
diff --git a/packages/date-time-utilities/CHANGELOG.md b/packages/date-time-utilities/CHANGELOG.md
index 469b4ad7a8f2d..9ad6408814aa6 100644
--- a/packages/date-time-utilities/CHANGELOG.md
+++ b/packages/date-time-utilities/CHANGELOG.md
@@ -1,9 +1,18 @@
# Change Log - @fluentui/date-time-utilities
-This log was last generated on Fri, 03 Feb 2023 07:50:06 GMT and should not be manually modified.
+This log was last generated on Fri, 17 Mar 2023 08:15:56 GMT and should not be manually modified.
+## [8.5.6](https://github.com/microsoft/fluentui/tree/@fluentui/date-time-utilities_v8.5.6)
+
+Fri, 17 Mar 2023 08:15:56 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/date-time-utilities_v8.5.5..@fluentui/date-time-utilities_v8.5.6)
+
+### Patches
+
+- Bump @fluentui/set-version to v8.2.6 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+
## [8.5.5](https://github.com/microsoft/fluentui/tree/@fluentui/date-time-utilities_v8.5.5)
Fri, 03 Feb 2023 07:50:06 GMT
diff --git a/packages/date-time-utilities/package.json b/packages/date-time-utilities/package.json
index 36a952f75733f..7153bc3ea9d95 100644
--- a/packages/date-time-utilities/package.json
+++ b/packages/date-time-utilities/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/date-time-utilities",
- "version": "8.5.5",
+ "version": "8.5.6",
"description": "Date-time utilities",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -29,7 +29,7 @@
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/set-version": "^8.2.5",
+ "@fluentui/set-version": "^8.2.6",
"tslib": "^2.1.0"
},
"exports": {
diff --git a/packages/dom-utilities/CHANGELOG.json b/packages/dom-utilities/CHANGELOG.json
index d2cfcbd6404b3..aff8533c30a74 100644
--- a/packages/dom-utilities/CHANGELOG.json
+++ b/packages/dom-utilities/CHANGELOG.json
@@ -1,6 +1,21 @@
{
"name": "@fluentui/dom-utilities",
"entries": [
+ {
+ "date": "Fri, 17 Mar 2023 08:15:56 GMT",
+ "tag": "@fluentui/dom-utilities_v2.2.6",
+ "version": "2.2.6",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/dom-utilities",
+ "comment": "Bump @fluentui/set-version to v8.2.6",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ }
+ ]
+ }
+ },
{
"date": "Fri, 03 Feb 2023 07:50:06 GMT",
"tag": "@fluentui/dom-utilities_v2.2.5",
diff --git a/packages/dom-utilities/CHANGELOG.md b/packages/dom-utilities/CHANGELOG.md
index ce76eb898e59d..95c4bbd208885 100644
--- a/packages/dom-utilities/CHANGELOG.md
+++ b/packages/dom-utilities/CHANGELOG.md
@@ -1,9 +1,18 @@
# Change Log - @fluentui/dom-utilities
-This log was last generated on Fri, 03 Feb 2023 07:50:06 GMT and should not be manually modified.
+This log was last generated on Fri, 17 Mar 2023 08:15:56 GMT and should not be manually modified.
+## [2.2.6](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.6)
+
+Fri, 17 Mar 2023 08:15:56 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.2.5..@fluentui/dom-utilities_v2.2.6)
+
+### Patches
+
+- Bump @fluentui/set-version to v8.2.6 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+
## [2.2.5](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.2.5)
Fri, 03 Feb 2023 07:50:06 GMT
diff --git a/packages/dom-utilities/package.json b/packages/dom-utilities/package.json
index 62b01a8378c5c..97cc4711fb202 100644
--- a/packages/dom-utilities/package.json
+++ b/packages/dom-utilities/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/dom-utilities",
- "version": "2.2.5",
+ "version": "2.2.6",
"description": "DOM utilities for use within Fluent web components",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -29,7 +29,7 @@
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/set-version": "^8.2.5",
+ "@fluentui/set-version": "^8.2.6",
"tslib": "^2.1.0"
},
"exports": {
diff --git a/packages/eslint-plugin/CHANGELOG.json b/packages/eslint-plugin/CHANGELOG.json
index 895050ad882ba..bf3ec43a764cc 100644
--- a/packages/eslint-plugin/CHANGELOG.json
+++ b/packages/eslint-plugin/CHANGELOG.json
@@ -1,6 +1,21 @@
{
"name": "@fluentui/eslint-plugin",
"entries": [
+ {
+ "date": "Fri, 17 Mar 2023 08:15:56 GMT",
+ "tag": "@fluentui/eslint-plugin_v1.14.0",
+ "version": "1.14.0",
+ "comments": {
+ "minor": [
+ {
+ "author": "bernardo.sunderhus@gmail.com",
+ "package": "@fluentui/eslint-plugin",
+ "commit": "a3463ec7ba84fce450b4a03c989806ba4e11c5e1",
+ "comment": "feat: rule to ban usage of instanceof HTMLElement"
+ }
+ ]
+ }
+ },
{
"date": "Fri, 03 Mar 2023 07:47:18 GMT",
"tag": "@fluentui/eslint-plugin_v1.13.0",
diff --git a/packages/eslint-plugin/CHANGELOG.md b/packages/eslint-plugin/CHANGELOG.md
index 548f273b86006..2a0d2253a50c0 100644
--- a/packages/eslint-plugin/CHANGELOG.md
+++ b/packages/eslint-plugin/CHANGELOG.md
@@ -1,9 +1,18 @@
# Change Log - @fluentui/eslint-plugin
-This log was last generated on Fri, 03 Feb 2023 07:50:05 GMT and should not be manually modified.
+This log was last generated on Fri, 17 Mar 2023 08:15:56 GMT and should not be manually modified.
+## [1.14.0](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.14.0)
+
+Fri, 17 Mar 2023 08:15:56 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.13.0..@fluentui/eslint-plugin_v1.14.0)
+
+### Minor changes
+
+- feat: rule to ban usage of instanceof HTMLElement ([PR #27178](https://github.com/microsoft/fluentui/pull/27178) by bernardo.sunderhus@gmail.com)
+
## [1.13.0](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.13.0)
Fri, 03 Feb 2023 07:50:05 GMT
diff --git a/packages/eslint-plugin/README.md b/packages/eslint-plugin/README.md
index 94eb1a0f9362f..cf2f685e12a42 100644
--- a/packages/eslint-plugin/README.md
+++ b/packages/eslint-plugin/README.md
@@ -170,3 +170,27 @@ const context = React.createContext({ someValue: undefined });
import * as React from 'react';
const context = React.createContext(undefined);
```
+
+### `ban-instanceof-html-element`
+
+Bans usage of `instanceof HTMLElement` binary expressions as they might cause problems on [multiple realms](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/instanceof#instanceof_and_multiple_realms) environments.
+
+The alternative is to use `isHTMLElement` helper method provided by `@fluentui/react-utilities` packages, since that method does the proper verifications to ensure proper instance comparison.
+
+**❌ Don't**
+
+```ts
+event.target instanceof HTMLElement;
+
+event.target instanceof HTMLInputElement;
+```
+
+**✅ Do**
+
+```ts
+import { isHTMLElement } from '@fluentui/react-components';
+
+isHTMLElement(event.target);
+
+isHTMLElement(event.target, { constructorName: 'HTMLInputElement' });
+```
diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json
index 2517b4d80d2cb..5047f786044e0 100644
--- a/packages/eslint-plugin/package.json
+++ b/packages/eslint-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/eslint-plugin",
- "version": "1.13.0",
+ "version": "1.14.0",
"description": "ESLint configuration and custom rules for Fluent UI",
"main": "src/index.js",
"repository": {
diff --git a/packages/eslint-plugin/src/configs/react.js b/packages/eslint-plugin/src/configs/react.js
index 441a1997ee8d0..3a45f92585c14 100644
--- a/packages/eslint-plugin/src/configs/react.js
+++ b/packages/eslint-plugin/src/configs/react.js
@@ -18,6 +18,7 @@ const v9PackageDeps = Object.keys(
module.exports = {
extends: [path.join(__dirname, 'base'), path.join(__dirname, 'react-config')],
rules: {
+ '@fluentui/ban-instanceof-html-element': ['error'],
'@fluentui/no-context-default-value': [
'error',
{
diff --git a/packages/eslint-plugin/src/index.js b/packages/eslint-plugin/src/index.js
index eb1d2dcd3e4a7..eae81f75a8452 100644
--- a/packages/eslint-plugin/src/index.js
+++ b/packages/eslint-plugin/src/index.js
@@ -11,6 +11,7 @@ module.exports = {
rules: {
'ban-imports': require('./rules/ban-imports'),
'ban-context-export': require('./rules/ban-context-export'),
+ 'ban-instanceof-html-element': require('./rules/ban-instanceof-html-element'),
'deprecated-keyboard-event-props': require('./rules/deprecated-keyboard-event-props'),
'max-len': require('./rules/max-len'),
'no-global-react': require('./rules/no-global-react'),
diff --git a/packages/eslint-plugin/src/rules/ban-instanceof-html-element/index.js b/packages/eslint-plugin/src/rules/ban-instanceof-html-element/index.js
new file mode 100644
index 0000000000000..d68b821f0fff3
--- /dev/null
+++ b/packages/eslint-plugin/src/rules/ban-instanceof-html-element/index.js
@@ -0,0 +1,115 @@
+// @ts-check
+const { AST_NODE_TYPES } = require('@typescript-eslint/experimental-utils');
+const createRule = require('../../utils/createRule');
+
+/**
+ * @typedef {import("@typescript-eslint/types/dist/ts-estree").BinaryExpression} BinaryExpression
+ * @typedef {import("@fluentui/react-utilities/src/utils/isHTMLElement").HTMLElementConstructorName} HTMLElementConstructorName
+ *
+ */
+
+module.exports = createRule({
+ name: 'ban-instanceof-html-element',
+ meta: {
+ type: 'problem',
+ docs: {
+ description: 'Ban usage of instanceof HTMLElement comparison',
+ category: 'Possible Errors',
+ recommended: 'error',
+ },
+ messages: {
+ invalidBinaryExpression: 'instanceof {{right}} should be avoided, use isHTMLElement instead.',
+ },
+ fixable: 'code',
+ schema: [],
+ },
+ defaultOptions: [],
+ create: context => ({
+ /**
+ * @param {BinaryExpression} binaryExpression
+ */
+ // eslint-disable-next-line @typescript-eslint/naming-convention
+ BinaryExpression(binaryExpression) {
+ if (
+ binaryExpression.operator === 'instanceof' &&
+ binaryExpression.right.type === AST_NODE_TYPES.Identifier &&
+ constructorNamesSet.has(binaryExpression.right.name)
+ ) {
+ context.report({
+ node: binaryExpression,
+ messageId: 'invalidBinaryExpression',
+ data: {
+ right: binaryExpression.right.name,
+ },
+ });
+ }
+ },
+ }),
+});
+
+/** @type {HTMLElementConstructorName[]} */
+const constructorNames = [
+ 'HTMLElement',
+ 'HTMLAnchorElement',
+ 'HTMLAreaElement',
+ 'HTMLAudioElement',
+ 'HTMLBaseElement',
+ 'HTMLBodyElement',
+ 'HTMLBRElement',
+ 'HTMLButtonElement',
+ 'HTMLCanvasElement',
+ 'HTMLDataElement',
+ 'HTMLDataListElement',
+ 'HTMLDetailsElement',
+ 'HTMLDialogElement',
+ 'HTMLDivElement',
+ 'HTMLDListElement',
+ 'HTMLEmbedElement',
+ 'HTMLFieldSetElement',
+ 'HTMLFormElement',
+ 'HTMLHeadingElement',
+ 'HTMLHeadElement',
+ 'HTMLHRElement',
+ 'HTMLHtmlElement',
+ 'HTMLIFrameElement',
+ 'HTMLImageElement',
+ 'HTMLInputElement',
+ 'HTMLModElement',
+ 'HTMLLabelElement',
+ 'HTMLLegendElement',
+ 'HTMLLIElement',
+ 'HTMLLinkElement',
+ 'HTMLMapElement',
+ 'HTMLMetaElement',
+ 'HTMLMeterElement',
+ 'HTMLObjectElement',
+ 'HTMLOListElement',
+ 'HTMLOptGroupElement',
+ 'HTMLOptionElement',
+ 'HTMLOutputElement',
+ 'HTMLParagraphElement',
+ 'HTMLParamElement',
+ 'HTMLPreElement',
+ 'HTMLProgressElement',
+ 'HTMLQuoteElement',
+ 'HTMLSlotElement',
+ 'HTMLScriptElement',
+ 'HTMLSelectElement',
+ 'HTMLSourceElement',
+ 'HTMLSpanElement',
+ 'HTMLStyleElement',
+ 'HTMLTableElement',
+ 'HTMLTableColElement',
+ 'HTMLTableRowElement',
+ 'HTMLTableSectionElement',
+ 'HTMLTemplateElement',
+ 'HTMLTextAreaElement',
+ 'HTMLTimeElement',
+ 'HTMLTitleElement',
+ 'HTMLTrackElement',
+ 'HTMLUListElement',
+ 'HTMLVideoElement',
+];
+
+/** @type {Set} */
+const constructorNamesSet = new Set(constructorNames);
diff --git a/packages/eslint-plugin/src/rules/ban-instanceof-html-element/index.test.js b/packages/eslint-plugin/src/rules/ban-instanceof-html-element/index.test.js
new file mode 100644
index 0000000000000..5d12eca7289d4
--- /dev/null
+++ b/packages/eslint-plugin/src/rules/ban-instanceof-html-element/index.test.js
@@ -0,0 +1,38 @@
+// @ts-nocheck
+const { ESLintUtils } = require('@typescript-eslint/experimental-utils');
+const rule = require('./index');
+
+const ruleTester = new ESLintUtils.RuleTester({
+ parser: '@typescript-eslint/parser',
+});
+
+ruleTester.run('ban-instanceof-htmlelement', rule, {
+ valid: [
+ {
+ code: `
+ event.currentTarget instanceof Object
+ `,
+ },
+ {
+ code: `
+ isHTMLElement(event.currentTarget)
+ `,
+ },
+ ],
+ invalid: [
+ {
+ code: `
+ event.currentTarget instanceof HTMLElement
+ event.currentTarget instanceof HTMLInputElement
+ `,
+ errors: [{ messageId: 'invalidBinaryExpression' }, { messageId: 'invalidBinaryExpression' }],
+ },
+ {
+ code: `
+ if (event.currentTarget instanceof HTMLElement) {}
+ if (event.currentTarget instanceof HTMLInputElement) {}
+ `,
+ errors: [{ messageId: 'invalidBinaryExpression' }, { messageId: 'invalidBinaryExpression' }],
+ },
+ ],
+});
diff --git a/packages/example-data/package.json b/packages/example-data/package.json
index e4a604b440d57..21c535e2aae81 100644
--- a/packages/example-data/package.json
+++ b/packages/example-data/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/example-data",
- "version": "8.4.6",
+ "version": "8.4.7",
"description": "Data generators for Fluent UI React examples.",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
diff --git a/packages/fluent2-theme/CHANGELOG.json b/packages/fluent2-theme/CHANGELOG.json
index 95e7de85133a2..39b770942300d 100644
--- a/packages/fluent2-theme/CHANGELOG.json
+++ b/packages/fluent2-theme/CHANGELOG.json
@@ -1,6 +1,72 @@
{
"name": "@fluentui/fluent2-theme",
"entries": [
+ {
+ "date": "Fri, 24 Mar 2023 22:25:03 GMT",
+ "tag": "@fluentui/fluent2-theme_v8.106.5",
+ "version": "8.106.5",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/fluent2-theme",
+ "comment": "Bump @fluentui/react to v8.106.9",
+ "commit": "0f112dce6a19b7124dd95f58d9096f40aeaedf9c"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Fri, 24 Mar 2023 07:40:28 GMT",
+ "tag": "@fluentui/fluent2-theme_v8.106.4",
+ "version": "8.106.4",
+ "comments": {
+ "patch": [
+ {
+ "author": "matejera@microsoft.com",
+ "package": "@fluentui/fluent2-theme",
+ "commit": "ffb73565db8eb8ad0a5e2bdb383306519ade8116",
+ "comment": "Updating Link text color in dark theme to match Fluent 2."
+ }
+ ]
+ }
+ },
+ {
+ "date": "Wed, 22 Mar 2023 08:03:46 GMT",
+ "tag": "@fluentui/fluent2-theme_v8.106.3",
+ "version": "8.106.3",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/fluent2-theme",
+ "comment": "Bump @fluentui/react to v8.106.8",
+ "commit": "298c2a3a12ee95c78650b4a8cf70990844768602"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Fri, 17 Mar 2023 08:15:56 GMT",
+ "tag": "@fluentui/fluent2-theme_v8.106.2",
+ "version": "8.106.2",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/fluent2-theme",
+ "comment": "Bump @fluentui/react to v8.106.7",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/fluent2-theme",
+ "comment": "Bump @fluentui/set-version to v8.2.6",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ }
+ ]
+ }
+ },
{
"date": "Tue, 14 Mar 2023 07:38:48 GMT",
"tag": "@fluentui/fluent2-theme_v8.106.1",
diff --git a/packages/fluent2-theme/CHANGELOG.md b/packages/fluent2-theme/CHANGELOG.md
index 77422381b9393..82927643c9913 100644
--- a/packages/fluent2-theme/CHANGELOG.md
+++ b/packages/fluent2-theme/CHANGELOG.md
@@ -1,9 +1,46 @@
# Change Log - @fluentui/fluent2-theme
-This log was last generated on Tue, 14 Mar 2023 07:38:48 GMT and should not be manually modified.
+This log was last generated on Fri, 24 Mar 2023 22:25:03 GMT and should not be manually modified.
+## [8.106.5](https://github.com/microsoft/fluentui/tree/@fluentui/fluent2-theme_v8.106.5)
+
+Fri, 24 Mar 2023 22:25:03 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/fluent2-theme_v8.106.4..@fluentui/fluent2-theme_v8.106.5)
+
+### Patches
+
+- Bump @fluentui/react to v8.106.9 ([PR #27323](https://github.com/microsoft/fluentui/pull/27323) by beachball)
+
+## [8.106.4](https://github.com/microsoft/fluentui/tree/@fluentui/fluent2-theme_v8.106.4)
+
+Fri, 24 Mar 2023 07:40:28 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/fluent2-theme_v8.106.3..@fluentui/fluent2-theme_v8.106.4)
+
+### Patches
+
+- Updating Link text color in dark theme to match Fluent 2. ([PR #27203](https://github.com/microsoft/fluentui/pull/27203) by matejera@microsoft.com)
+
+## [8.106.3](https://github.com/microsoft/fluentui/tree/@fluentui/fluent2-theme_v8.106.3)
+
+Wed, 22 Mar 2023 08:03:46 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/fluent2-theme_v8.106.2..@fluentui/fluent2-theme_v8.106.3)
+
+### Patches
+
+- Bump @fluentui/react to v8.106.8 ([commit](https://github.com/microsoft/fluentui/commit/298c2a3a12ee95c78650b4a8cf70990844768602) by beachball)
+
+## [8.106.2](https://github.com/microsoft/fluentui/tree/@fluentui/fluent2-theme_v8.106.2)
+
+Fri, 17 Mar 2023 08:15:56 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/fluent2-theme_v8.106.1..@fluentui/fluent2-theme_v8.106.2)
+
+### Patches
+
+- Bump @fluentui/react to v8.106.7 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+- Bump @fluentui/set-version to v8.2.6 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+
## [8.106.1](https://github.com/microsoft/fluentui/tree/@fluentui/fluent2-theme_v8.106.1)
Tue, 14 Mar 2023 07:38:48 GMT
diff --git a/packages/fluent2-theme/package.json b/packages/fluent2-theme/package.json
index c84fb2e1dba31..e3a7e89aa0cb1 100644
--- a/packages/fluent2-theme/package.json
+++ b/packages/fluent2-theme/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/fluent2-theme",
- "version": "8.106.1",
+ "version": "8.106.5",
"description": "A Fluent2 theme for Fluent UI React 8.x",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -28,8 +28,8 @@
"@fluentui/scripts-webpack": "*"
},
"dependencies": {
- "@fluentui/react": "^8.106.6",
- "@fluentui/set-version": "^8.2.5",
+ "@fluentui/react": "^8.106.9",
+ "@fluentui/set-version": "^8.2.6",
"tslib": "^2.1.0"
}
}
diff --git a/packages/fluent2-theme/src/fluent2WebDarkTheme.ts b/packages/fluent2-theme/src/fluent2WebDarkTheme.ts
index 5bf0694626814..e8035709761ca 100644
--- a/packages/fluent2-theme/src/fluent2WebDarkTheme.ts
+++ b/packages/fluent2-theme/src/fluent2WebDarkTheme.ts
@@ -56,6 +56,9 @@ const p = fluent2ForV8DarkPalette;
const grey36 = '#5C5C5C';
const semanticColorMappingOverridesForDark: Partial = {
+ // This hex matches the v9 theme.
+ link: p.themeDark,
+
// Extended semantic colors
inputBottomBorderFocus: p.themePrimary,
inputBottomBorderRest: p.neutralLighter,
diff --git a/packages/fluentui/react-northstar/package.json b/packages/fluentui/react-northstar/package.json
index b761c958aba3b..98a3fb9d2cbd5 100644
--- a/packages/fluentui/react-northstar/package.json
+++ b/packages/fluentui/react-northstar/package.json
@@ -14,7 +14,7 @@
"@fluentui/react-component-ref": "^0.66.4",
"@fluentui/react-icons-northstar": "^0.66.4",
"@fluentui/react-northstar-styles-renderer": "^0.66.4",
- "@fluentui/react-portal-compat-context": "^9.0.4",
+ "@fluentui/react-portal-compat-context": "^9.0.5",
"@fluentui/react-proptypes": "^0.66.4",
"@fluentui/state": "^0.66.4",
"@fluentui/styles": "^0.66.4",
diff --git a/packages/font-icons-mdl2/CHANGELOG.json b/packages/font-icons-mdl2/CHANGELOG.json
index 3b4d58a2c0b3b..c066e80378d50 100644
--- a/packages/font-icons-mdl2/CHANGELOG.json
+++ b/packages/font-icons-mdl2/CHANGELOG.json
@@ -1,6 +1,33 @@
{
"name": "@fluentui/font-icons-mdl2",
"entries": [
+ {
+ "date": "Fri, 17 Mar 2023 08:15:56 GMT",
+ "tag": "@fluentui/font-icons-mdl2_v8.5.13",
+ "version": "8.5.13",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/font-icons-mdl2",
+ "comment": "Bump @fluentui/set-version to v8.2.6",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/font-icons-mdl2",
+ "comment": "Bump @fluentui/style-utilities to v8.9.6",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/font-icons-mdl2",
+ "comment": "Bump @fluentui/utilities to v8.13.9",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ }
+ ]
+ }
+ },
{
"date": "Thu, 09 Mar 2023 07:39:12 GMT",
"tag": "@fluentui/font-icons-mdl2_v8.5.12",
diff --git a/packages/font-icons-mdl2/CHANGELOG.md b/packages/font-icons-mdl2/CHANGELOG.md
index 54dd3698f39df..f470973294ad8 100644
--- a/packages/font-icons-mdl2/CHANGELOG.md
+++ b/packages/font-icons-mdl2/CHANGELOG.md
@@ -1,9 +1,20 @@
# Change Log - @fluentui/font-icons-mdl2
-This log was last generated on Thu, 09 Mar 2023 07:39:12 GMT and should not be manually modified.
+This log was last generated on Fri, 17 Mar 2023 08:15:56 GMT and should not be manually modified.
+## [8.5.13](https://github.com/microsoft/fluentui/tree/@fluentui/font-icons-mdl2_v8.5.13)
+
+Fri, 17 Mar 2023 08:15:56 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/font-icons-mdl2_v8.5.12..@fluentui/font-icons-mdl2_v8.5.13)
+
+### Patches
+
+- Bump @fluentui/set-version to v8.2.6 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+- Bump @fluentui/style-utilities to v8.9.6 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+- Bump @fluentui/utilities to v8.13.9 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+
## [8.5.12](https://github.com/microsoft/fluentui/tree/@fluentui/font-icons-mdl2_v8.5.12)
Thu, 09 Mar 2023 07:39:12 GMT
diff --git a/packages/font-icons-mdl2/package.json b/packages/font-icons-mdl2/package.json
index 5710d35510c42..3862f6db97bd5 100644
--- a/packages/font-icons-mdl2/package.json
+++ b/packages/font-icons-mdl2/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/font-icons-mdl2",
- "version": "8.5.12",
+ "version": "8.5.13",
"description": "Fluent UI React icon set.",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -27,9 +27,9 @@
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/set-version": "^8.2.5",
- "@fluentui/style-utilities": "^8.9.5",
- "@fluentui/utilities": "^8.13.8",
+ "@fluentui/set-version": "^8.2.6",
+ "@fluentui/style-utilities": "^8.9.6",
+ "@fluentui/utilities": "^8.13.9",
"tslib": "^2.1.0"
},
"exports": {
diff --git a/packages/foundation-legacy/CHANGELOG.json b/packages/foundation-legacy/CHANGELOG.json
index 6ce59e7cf1197..b42b6da9d3d5e 100644
--- a/packages/foundation-legacy/CHANGELOG.json
+++ b/packages/foundation-legacy/CHANGELOG.json
@@ -1,6 +1,45 @@
{
"name": "@fluentui/foundation-legacy",
"entries": [
+ {
+ "date": "Fri, 17 Mar 2023 08:15:56 GMT",
+ "tag": "@fluentui/foundation-legacy_v8.2.33",
+ "version": "8.2.33",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/foundation-legacy",
+ "comment": "Bump @fluentui/merge-styles to v8.5.7",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/foundation-legacy",
+ "comment": "Bump @fluentui/set-version to v8.2.6",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/foundation-legacy",
+ "comment": "Bump @fluentui/style-utilities to v8.9.6",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/foundation-legacy",
+ "comment": "Bump @fluentui/utilities to v8.13.9",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/foundation-legacy",
+ "comment": "Bump @fluentui/jest-serializer-merge-styles to v8.0.24",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ }
+ ]
+ }
+ },
{
"date": "Thu, 09 Mar 2023 07:39:12 GMT",
"tag": "@fluentui/foundation-legacy_v8.2.32",
diff --git a/packages/foundation-legacy/CHANGELOG.md b/packages/foundation-legacy/CHANGELOG.md
index 84508794f6aac..a0c2f6510f084 100644
--- a/packages/foundation-legacy/CHANGELOG.md
+++ b/packages/foundation-legacy/CHANGELOG.md
@@ -1,9 +1,22 @@
# Change Log - @fluentui/foundation-legacy
-This log was last generated on Thu, 09 Mar 2023 07:39:12 GMT and should not be manually modified.
+This log was last generated on Fri, 17 Mar 2023 08:15:56 GMT and should not be manually modified.
+## [8.2.33](https://github.com/microsoft/fluentui/tree/@fluentui/foundation-legacy_v8.2.33)
+
+Fri, 17 Mar 2023 08:15:56 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/foundation-legacy_v8.2.32..@fluentui/foundation-legacy_v8.2.33)
+
+### Patches
+
+- Bump @fluentui/merge-styles to v8.5.7 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+- Bump @fluentui/set-version to v8.2.6 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+- Bump @fluentui/style-utilities to v8.9.6 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+- Bump @fluentui/utilities to v8.13.9 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+- Bump @fluentui/jest-serializer-merge-styles to v8.0.24 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+
## [8.2.32](https://github.com/microsoft/fluentui/tree/@fluentui/foundation-legacy_v8.2.32)
Thu, 09 Mar 2023 07:39:12 GMT
diff --git a/packages/foundation-legacy/package.json b/packages/foundation-legacy/package.json
index 0a3c1098589dd..f32ac0c971ff2 100644
--- a/packages/foundation-legacy/package.json
+++ b/packages/foundation-legacy/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/foundation-legacy",
- "version": "8.2.32",
+ "version": "8.2.33",
"description": "Legacy utilities for building Fluent UI React components.",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -26,7 +26,7 @@
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
- "@fluentui/jest-serializer-merge-styles": "^8.0.23",
+ "@fluentui/jest-serializer-merge-styles": "^8.0.24",
"react-hooks-testing-library": "^0.5.0",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-jest": "*",
@@ -34,10 +34,10 @@
"@fluentui/scripts-webpack": "*"
},
"dependencies": {
- "@fluentui/merge-styles": "^8.5.6",
- "@fluentui/set-version": "^8.2.5",
- "@fluentui/style-utilities": "^8.9.5",
- "@fluentui/utilities": "^8.13.8",
+ "@fluentui/merge-styles": "^8.5.7",
+ "@fluentui/set-version": "^8.2.6",
+ "@fluentui/style-utilities": "^8.9.6",
+ "@fluentui/utilities": "^8.13.9",
"tslib": "^2.1.0"
},
"peerDependencies": {
diff --git a/packages/jest-serializer-merge-styles/CHANGELOG.json b/packages/jest-serializer-merge-styles/CHANGELOG.json
index 2a0741c80c455..e6931736963e2 100644
--- a/packages/jest-serializer-merge-styles/CHANGELOG.json
+++ b/packages/jest-serializer-merge-styles/CHANGELOG.json
@@ -1,6 +1,21 @@
{
"name": "@fluentui/jest-serializer-merge-styles",
"entries": [
+ {
+ "date": "Fri, 17 Mar 2023 08:15:56 GMT",
+ "tag": "@fluentui/jest-serializer-merge-styles_v8.0.24",
+ "version": "8.0.24",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/jest-serializer-merge-styles",
+ "comment": "Bump @fluentui/merge-styles to v8.5.7",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ }
+ ]
+ }
+ },
{
"date": "Fri, 03 Feb 2023 07:50:06 GMT",
"tag": "@fluentui/jest-serializer-merge-styles_v8.0.23",
diff --git a/packages/jest-serializer-merge-styles/CHANGELOG.md b/packages/jest-serializer-merge-styles/CHANGELOG.md
index 180e56689d67e..9ccec02671857 100644
--- a/packages/jest-serializer-merge-styles/CHANGELOG.md
+++ b/packages/jest-serializer-merge-styles/CHANGELOG.md
@@ -1,9 +1,18 @@
# Change Log - @fluentui/jest-serializer-merge-styles
-This log was last generated on Fri, 03 Feb 2023 07:50:06 GMT and should not be manually modified.
+This log was last generated on Fri, 17 Mar 2023 08:15:56 GMT and should not be manually modified.
+## [8.0.24](https://github.com/microsoft/fluentui/tree/@fluentui/jest-serializer-merge-styles_v8.0.24)
+
+Fri, 17 Mar 2023 08:15:56 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/jest-serializer-merge-styles_v8.0.23..@fluentui/jest-serializer-merge-styles_v8.0.24)
+
+### Patches
+
+- Bump @fluentui/merge-styles to v8.5.7 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+
## [8.0.23](https://github.com/microsoft/fluentui/tree/@fluentui/jest-serializer-merge-styles_v8.0.23)
Fri, 03 Feb 2023 07:50:06 GMT
diff --git a/packages/jest-serializer-merge-styles/package.json b/packages/jest-serializer-merge-styles/package.json
index 584c0179bbe8c..773daec07d172 100644
--- a/packages/jest-serializer-merge-styles/package.json
+++ b/packages/jest-serializer-merge-styles/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/jest-serializer-merge-styles",
- "version": "8.0.23",
+ "version": "8.0.24",
"description": "Jest serializer for merge-styles.",
"main": "lib-commonjs/index.js",
"typings": "lib-commonjs/index.d.ts",
@@ -24,6 +24,6 @@
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/merge-styles": "^8.5.6"
+ "@fluentui/merge-styles": "^8.5.7"
}
}
diff --git a/packages/keyboard-key/package.json b/packages/keyboard-key/package.json
index 23b3d1daf1a18..78b3ac16e9d22 100644
--- a/packages/keyboard-key/package.json
+++ b/packages/keyboard-key/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/keyboard-key",
- "version": "0.4.5",
+ "version": "0.4.6",
"description": "A simple utility for determining the KeyboardEvent.key property from a keyboard event.",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
diff --git a/packages/merge-styles/CHANGELOG.json b/packages/merge-styles/CHANGELOG.json
index 3b29e149b7a3b..4154650cc7e7e 100644
--- a/packages/merge-styles/CHANGELOG.json
+++ b/packages/merge-styles/CHANGELOG.json
@@ -1,6 +1,21 @@
{
"name": "@fluentui/merge-styles",
"entries": [
+ {
+ "date": "Fri, 17 Mar 2023 08:15:56 GMT",
+ "tag": "@fluentui/merge-styles_v8.5.7",
+ "version": "8.5.7",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/merge-styles",
+ "comment": "Bump @fluentui/set-version to v8.2.6",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ }
+ ]
+ }
+ },
{
"date": "Fri, 03 Mar 2023 07:47:19 GMT",
"tag": "@fluentui/merge-styles_v8.5.6",
diff --git a/packages/merge-styles/CHANGELOG.md b/packages/merge-styles/CHANGELOG.md
index 6c993d6a21a78..930ab1f9bb82d 100644
--- a/packages/merge-styles/CHANGELOG.md
+++ b/packages/merge-styles/CHANGELOG.md
@@ -1,9 +1,18 @@
# Change Log - @fluentui/merge-styles
-This log was last generated on Fri, 03 Feb 2023 07:50:06 GMT and should not be manually modified.
+This log was last generated on Fri, 17 Mar 2023 08:15:56 GMT and should not be manually modified.
+## [8.5.7](https://github.com/microsoft/fluentui/tree/@fluentui/merge-styles_v8.5.7)
+
+Fri, 17 Mar 2023 08:15:56 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/merge-styles_v8.5.6..@fluentui/merge-styles_v8.5.7)
+
+### Patches
+
+- Bump @fluentui/set-version to v8.2.6 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+
## [8.5.6](https://github.com/microsoft/fluentui/tree/@fluentui/merge-styles_v8.5.6)
Fri, 03 Feb 2023 07:50:06 GMT
diff --git a/packages/merge-styles/package.json b/packages/merge-styles/package.json
index 753a462cda211..95ca1068fddf9 100644
--- a/packages/merge-styles/package.json
+++ b/packages/merge-styles/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/merge-styles",
- "version": "8.5.6",
+ "version": "8.5.7",
"description": "Style loading utilities.",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -31,7 +31,7 @@
"@fluentui/scripts-webpack": "*"
},
"dependencies": {
- "@fluentui/set-version": "^8.2.5",
+ "@fluentui/set-version": "^8.2.6",
"tslib": "^2.1.0"
},
"exports": {
diff --git a/packages/monaco-editor/package.json b/packages/monaco-editor/package.json
index 2d75dc138ad61..26f38010c24c8 100644
--- a/packages/monaco-editor/package.json
+++ b/packages/monaco-editor/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/monaco-editor",
- "version": "1.3.5",
+ "version": "1.3.6",
"description": "Version of monaco-editor with configuration helpers and transformed CSS files",
"module": "./lib/monacoBundle.js",
"typings": "./esm/vs/editor/editor.api.d.ts",
diff --git a/packages/public-docsite-setup/package.json b/packages/public-docsite-setup/package.json
index 14b5944d815a0..fd9466174e44f 100644
--- a/packages/public-docsite-setup/package.json
+++ b/packages/public-docsite-setup/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/public-docsite-setup",
- "version": "0.3.17",
+ "version": "0.3.18",
"description": "Bootstrap code for the Fluent UI website. Internal use only.",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
diff --git a/packages/react-cards/CHANGELOG.json b/packages/react-cards/CHANGELOG.json
index 7e498d3d27677..7a99056ccb1c4 100644
--- a/packages/react-cards/CHANGELOG.json
+++ b/packages/react-cards/CHANGELOG.json
@@ -1,6 +1,69 @@
{
"name": "@fluentui/react-cards",
"entries": [
+ {
+ "date": "Fri, 24 Mar 2023 22:25:03 GMT",
+ "tag": "@fluentui/react-cards_v0.205.68",
+ "version": "0.205.68",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-cards",
+ "comment": "Bump @fluentui/react to v8.106.9",
+ "commit": "0f112dce6a19b7124dd95f58d9096f40aeaedf9c"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Wed, 22 Mar 2023 08:03:46 GMT",
+ "tag": "@fluentui/react-cards_v0.205.67",
+ "version": "0.205.67",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-cards",
+ "comment": "Bump @fluentui/react to v8.106.8",
+ "commit": "298c2a3a12ee95c78650b4a8cf70990844768602"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Fri, 17 Mar 2023 08:15:56 GMT",
+ "tag": "@fluentui/react-cards_v0.205.66",
+ "version": "0.205.66",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-cards",
+ "comment": "Bump @fluentui/react to v8.106.7",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-cards",
+ "comment": "Bump @fluentui/foundation-legacy to v8.2.33",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-cards",
+ "comment": "Bump @fluentui/set-version to v8.2.6",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-cards",
+ "comment": "Bump @fluentui/jest-serializer-merge-styles to v8.0.24",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ }
+ ]
+ }
+ },
{
"date": "Tue, 14 Mar 2023 07:38:49 GMT",
"tag": "@fluentui/react-cards_v0.205.65",
diff --git a/packages/react-cards/CHANGELOG.md b/packages/react-cards/CHANGELOG.md
index bd92b047b2f71..a2928ee094e36 100644
--- a/packages/react-cards/CHANGELOG.md
+++ b/packages/react-cards/CHANGELOG.md
@@ -1,9 +1,39 @@
# Change Log - @fluentui/react-cards
-This log was last generated on Tue, 14 Mar 2023 07:38:49 GMT and should not be manually modified.
+This log was last generated on Fri, 24 Mar 2023 22:25:03 GMT and should not be manually modified.
+## [0.205.68](https://github.com/microsoft/fluentui/tree/@fluentui/react-cards_v0.205.68)
+
+Fri, 24 Mar 2023 22:25:03 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-cards_v0.205.67..@fluentui/react-cards_v0.205.68)
+
+### Patches
+
+- Bump @fluentui/react to v8.106.9 ([PR #27323](https://github.com/microsoft/fluentui/pull/27323) by beachball)
+
+## [0.205.67](https://github.com/microsoft/fluentui/tree/@fluentui/react-cards_v0.205.67)
+
+Wed, 22 Mar 2023 08:03:46 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-cards_v0.205.66..@fluentui/react-cards_v0.205.67)
+
+### Patches
+
+- Bump @fluentui/react to v8.106.8 ([commit](https://github.com/microsoft/fluentui/commit/298c2a3a12ee95c78650b4a8cf70990844768602) by beachball)
+
+## [0.205.66](https://github.com/microsoft/fluentui/tree/@fluentui/react-cards_v0.205.66)
+
+Fri, 17 Mar 2023 08:15:56 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-cards_v0.205.65..@fluentui/react-cards_v0.205.66)
+
+### Patches
+
+- Bump @fluentui/react to v8.106.7 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+- Bump @fluentui/foundation-legacy to v8.2.33 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+- Bump @fluentui/set-version to v8.2.6 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+- Bump @fluentui/jest-serializer-merge-styles to v8.0.24 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+
## [0.205.65](https://github.com/microsoft/fluentui/tree/@fluentui/react-cards_v0.205.65)
Tue, 14 Mar 2023 07:38:49 GMT
diff --git a/packages/react-cards/package.json b/packages/react-cards/package.json
index bcfa1cb58630b..b1fdd74492466 100644
--- a/packages/react-cards/package.json
+++ b/packages/react-cards/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/react-cards",
- "version": "0.205.65",
+ "version": "0.205.68",
"description": "Deprecated experimental Card container components for Fluent UI React.",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -27,16 +27,16 @@
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
- "@fluentui/jest-serializer-merge-styles": "^8.0.23",
+ "@fluentui/jest-serializer-merge-styles": "^8.0.24",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-jest": "*",
"@fluentui/scripts-tasks": "*",
"@fluentui/scripts-webpack": "*"
},
"dependencies": {
- "@fluentui/react": "^8.106.6",
- "@fluentui/foundation-legacy": "^8.2.32",
- "@fluentui/set-version": "^8.2.5",
+ "@fluentui/react": "^8.106.9",
+ "@fluentui/foundation-legacy": "^8.2.33",
+ "@fluentui/set-version": "^8.2.6",
"@microsoft/load-themed-styles": "^1.10.26",
"tslib": "^2.1.0"
},
diff --git a/packages/react-charting/CHANGELOG.json b/packages/react-charting/CHANGELOG.json
index 83d53f0dfba29..68305720a14ca 100644
--- a/packages/react-charting/CHANGELOG.json
+++ b/packages/react-charting/CHANGELOG.json
@@ -1,6 +1,69 @@
{
"name": "@fluentui/react-charting",
"entries": [
+ {
+ "date": "Fri, 24 Mar 2023 22:25:03 GMT",
+ "tag": "@fluentui/react-charting_v5.16.8",
+ "version": "5.16.8",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-charting",
+ "comment": "Bump @fluentui/react to v8.106.9",
+ "commit": "0f112dce6a19b7124dd95f58d9096f40aeaedf9c"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Wed, 22 Mar 2023 08:03:46 GMT",
+ "tag": "@fluentui/react-charting_v5.16.7",
+ "version": "5.16.7",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-charting",
+ "comment": "Bump @fluentui/react to v8.106.8",
+ "commit": "298c2a3a12ee95c78650b4a8cf70990844768602"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Fri, 17 Mar 2023 08:15:56 GMT",
+ "tag": "@fluentui/react-charting_v5.16.6",
+ "version": "5.16.6",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-charting",
+ "comment": "Bump @fluentui/react-focus to v8.8.19",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-charting",
+ "comment": "Bump @fluentui/set-version to v8.2.6",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-charting",
+ "comment": "Bump @fluentui/react to v8.106.7",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-charting",
+ "comment": "Bump @fluentui/jest-serializer-merge-styles to v8.0.24",
+ "commit": "36f3bd6c4f0280b91ad10133b5ddd9c439a1de73"
+ }
+ ]
+ }
+ },
{
"date": "Tue, 14 Mar 2023 07:38:49 GMT",
"tag": "@fluentui/react-charting_v5.16.5",
diff --git a/packages/react-charting/CHANGELOG.md b/packages/react-charting/CHANGELOG.md
index bc27c9037c3d3..0fea7b8d445d5 100644
--- a/packages/react-charting/CHANGELOG.md
+++ b/packages/react-charting/CHANGELOG.md
@@ -1,9 +1,39 @@
# Change Log - @fluentui/react-charting
-This log was last generated on Tue, 14 Mar 2023 07:38:49 GMT and should not be manually modified.
+This log was last generated on Fri, 24 Mar 2023 22:25:03 GMT and should not be manually modified.
+## [5.16.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.16.8)
+
+Fri, 24 Mar 2023 22:25:03 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.16.7..@fluentui/react-charting_v5.16.8)
+
+### Patches
+
+- Bump @fluentui/react to v8.106.9 ([PR #27323](https://github.com/microsoft/fluentui/pull/27323) by beachball)
+
+## [5.16.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.16.7)
+
+Wed, 22 Mar 2023 08:03:46 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.16.6..@fluentui/react-charting_v5.16.7)
+
+### Patches
+
+- Bump @fluentui/react to v8.106.8 ([commit](https://github.com/microsoft/fluentui/commit/298c2a3a12ee95c78650b4a8cf70990844768602) by beachball)
+
+## [5.16.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.16.6)
+
+Fri, 17 Mar 2023 08:15:56 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.16.5..@fluentui/react-charting_v5.16.6)
+
+### Patches
+
+- Bump @fluentui/react-focus to v8.8.19 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+- Bump @fluentui/set-version to v8.2.6 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+- Bump @fluentui/react to v8.106.7 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+- Bump @fluentui/jest-serializer-merge-styles to v8.0.24 ([PR #27210](https://github.com/microsoft/fluentui/pull/27210) by beachball)
+
## [5.16.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.16.5)
Tue, 14 Mar 2023 07:38:49 GMT
diff --git a/packages/react-charting/package.json b/packages/react-charting/package.json
index 180ecc72518e8..9259d168b0459 100644
--- a/packages/react-charting/package.json
+++ b/packages/react-charting/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/react-charting",
- "version": "5.16.5",
+ "version": "5.16.8",
"description": "Experimental React charting components for building experiences for Microsoft 365.",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -28,15 +28,15 @@
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
- "@fluentui/react": "^8.106.6",
+ "@fluentui/react": "^8.106.9",
"@types/react-addons-test-utils": "0.14.18",
- "@fluentui/jest-serializer-merge-styles": "^8.0.23",
+ "@fluentui/jest-serializer-merge-styles": "^8.0.24",
"@fluentui/scripts-jest": "*",
"@fluentui/scripts-tasks": "*",
"@fluentui/scripts-webpack": "*"
},
"dependencies": {
- "@fluentui/react-focus": "^8.8.18",
+ "@fluentui/react-focus": "^8.8.19",
"@microsoft/load-themed-styles": "^1.10.26",
"@types/d3-array": "1.2.1",
"@types/d3-axis": "1.0.10",
@@ -48,7 +48,7 @@
"@types/d3-shape": "2.1.0",
"@types/d3-time-format": "^2.1.0",
"@types/d3-time": "^1.1.0",
- "@fluentui/set-version": "^8.2.5",
+ "@fluentui/set-version": "^8.2.6",
"d3-array": "1.2.1",
"d3-axis": "1.0.8",
"d3-format": "^1.4.4",
@@ -62,7 +62,7 @@
"tslib": "^2.1.0"
},
"peerDependencies": {
- "@fluentui/react": "^8.106.6",
+ "@fluentui/react": "^8.106.9",
"@types/react": ">=16.8.0 <19.0.0",
"@types/react-dom": ">=16.8.0 <19.0.0",
"react": ">=16.8.0 <19.0.0",
diff --git a/packages/react-components/babel-preset-global-context/.babelrc.json b/packages/react-components/babel-preset-global-context/.babelrc.json
index 80286a9e4c250..435587beba588 100644
--- a/packages/react-components/babel-preset-global-context/.babelrc.json
+++ b/packages/react-components/babel-preset-global-context/.babelrc.json
@@ -1,4 +1,3 @@
{
- "presets": [],
"plugins": ["annotate-pure-calls"]
}
diff --git a/packages/react-components/babel-preset-global-context/.swcrc b/packages/react-components/babel-preset-global-context/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/babel-preset-global-context/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/babel-preset-global-context/CHANGELOG.json b/packages/react-components/babel-preset-global-context/CHANGELOG.json
index a3055245b52f0..9f583ac49eea0 100644
--- a/packages/react-components/babel-preset-global-context/CHANGELOG.json
+++ b/packages/react-components/babel-preset-global-context/CHANGELOG.json
@@ -1,6 +1,48 @@
{
"name": "@fluentui/babel-preset-global-context",
"entries": [
+ {
+ "date": "Tue, 21 Mar 2023 21:23:17 GMT",
+ "tag": "@fluentui/babel-preset-global-context_v9.0.0-beta.22",
+ "version": "9.0.0-beta.22",
+ "comments": {
+ "prerelease": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/babel-preset-global-context",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/babel-preset-global-context",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/babel-preset-global-context",
+ "comment": "Bump @fluentui/global-context to v9.0.0-beta.22",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Thu, 16 Mar 2023 14:36:59 GMT",
+ "tag": "@fluentui/babel-preset-global-context_v9.0.0-beta.21",
+ "version": "9.0.0-beta.21",
+ "comments": {
+ "prerelease": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/babel-preset-global-context",
+ "comment": "Bump @fluentui/global-context to v9.0.0-beta.21",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ }
+ ]
+ }
+ },
{
"date": "Mon, 13 Mar 2023 08:58:26 GMT",
"tag": "@fluentui/babel-preset-global-context_v9.0.0-beta.20",
diff --git a/packages/react-components/babel-preset-global-context/CHANGELOG.md b/packages/react-components/babel-preset-global-context/CHANGELOG.md
index 0db45ec3d68cf..a3967ce43f44f 100644
--- a/packages/react-components/babel-preset-global-context/CHANGELOG.md
+++ b/packages/react-components/babel-preset-global-context/CHANGELOG.md
@@ -1,9 +1,29 @@
# Change Log - @fluentui/babel-preset-global-context
-This log was last generated on Mon, 13 Mar 2023 08:58:26 GMT and should not be manually modified.
+This log was last generated on Tue, 21 Mar 2023 21:23:17 GMT and should not be manually modified.
+## [9.0.0-beta.22](https://github.com/microsoft/fluentui/tree/@fluentui/babel-preset-global-context_v9.0.0-beta.22)
+
+Tue, 21 Mar 2023 21:23:17 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/babel-preset-global-context_v9.0.0-beta.21..@fluentui/babel-preset-global-context_v9.0.0-beta.22)
+
+### Changes
+
+- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- Bump @fluentui/global-context to v9.0.0-beta.22 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+
+## [9.0.0-beta.21](https://github.com/microsoft/fluentui/tree/@fluentui/babel-preset-global-context_v9.0.0-beta.21)
+
+Thu, 16 Mar 2023 14:36:59 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/babel-preset-global-context_v9.0.0-beta.20..@fluentui/babel-preset-global-context_v9.0.0-beta.21)
+
+### Changes
+
+- Bump @fluentui/global-context to v9.0.0-beta.21 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+
## [9.0.0-beta.20](https://github.com/microsoft/fluentui/tree/@fluentui/babel-preset-global-context_v9.0.0-beta.20)
Mon, 13 Mar 2023 08:58:26 GMT
diff --git a/packages/react-components/babel-preset-global-context/just.config.ts b/packages/react-components/babel-preset-global-context/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/babel-preset-global-context/just.config.ts
+++ b/packages/react-components/babel-preset-global-context/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/babel-preset-global-context/package.json b/packages/react-components/babel-preset-global-context/package.json
index ceda375cf0073..320bdf8c9789d 100644
--- a/packages/react-components/babel-preset-global-context/package.json
+++ b/packages/react-components/babel-preset-global-context/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/babel-preset-global-context",
- "version": "9.0.0-beta.20",
+ "version": "9.0.0-beta.22",
"description": "Babel preset that transforms createContext calls to use global context shims",
"main": "lib-commonjs/index.js",
"typings": "./dist/index.d.ts",
@@ -20,7 +20,7 @@
"lint": "just-scripts lint",
"test": "jest --passWithNoTests",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
@@ -35,11 +35,11 @@
"@babel/template": "^7.12.13",
"@babel/traverse": "^7.12.13",
"@emotion/hash": "^0.8.0",
- "find-up": "^5.0.0",
- "tslib": "^2.1.0"
+ "@swc/helpers": "^0.4.14",
+ "find-up": "^5.0.0"
},
"peerDependencies": {
- "@fluentui/global-context": "9.0.0-beta.20"
+ "@fluentui/global-context": "9.0.0-beta.22"
},
"beachball": {
"disallowedChangeTypes": [
@@ -51,6 +51,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"require": "./lib-commonjs/index.js"
},
"./package.json": "./package.json"
diff --git a/packages/react-components/babel-preset-storybook-full-source/.babelrc.json b/packages/react-components/babel-preset-storybook-full-source/.babelrc.json
index 80286a9e4c250..435587beba588 100644
--- a/packages/react-components/babel-preset-storybook-full-source/.babelrc.json
+++ b/packages/react-components/babel-preset-storybook-full-source/.babelrc.json
@@ -1,4 +1,3 @@
{
- "presets": [],
"plugins": ["annotate-pure-calls"]
}
diff --git a/packages/react-components/babel-preset-storybook-full-source/.swcrc b/packages/react-components/babel-preset-storybook-full-source/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/babel-preset-storybook-full-source/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/babel-preset-storybook-full-source/just.config.ts b/packages/react-components/babel-preset-storybook-full-source/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/babel-preset-storybook-full-source/just.config.ts
+++ b/packages/react-components/babel-preset-storybook-full-source/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/babel-preset-storybook-full-source/package.json b/packages/react-components/babel-preset-storybook-full-source/package.json
index 1c0c43e5bb11a..70c26d1a8d262 100644
--- a/packages/react-components/babel-preset-storybook-full-source/package.json
+++ b/packages/react-components/babel-preset-storybook-full-source/package.json
@@ -18,7 +18,7 @@
"lint": "just-scripts lint",
"test": "jest --passWithNoTests",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
@@ -27,13 +27,14 @@
},
"dependencies": {
"@babel/core": "^7.10.4",
+ "@swc/helpers": "^0.4.14",
"prettier": "2.8.4",
- "pkg-up": "^3.1.0",
- "tslib": "^2.1.0"
+ "pkg-up": "^3.1.0"
},
"exports": {
".": {
"types": "./src/index.dev.d.ts",
+ "node": "./src/index.dev.js",
"require": "./src/index.dev.js"
},
"./package.json": "./package.json"
diff --git a/packages/react-components/global-context/.babelrc.json b/packages/react-components/global-context/.babelrc.json
index 0b00fa93139ea..38bf1f7a945cf 100644
--- a/packages/react-components/global-context/.babelrc.json
+++ b/packages/react-components/global-context/.babelrc.json
@@ -1,4 +1,3 @@
{
- "presets": [],
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/global-context/.swcrc b/packages/react-components/global-context/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/global-context/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/global-context/CHANGELOG.json b/packages/react-components/global-context/CHANGELOG.json
index 661a26b7df0f1..3184b3432bae5 100644
--- a/packages/react-components/global-context/CHANGELOG.json
+++ b/packages/react-components/global-context/CHANGELOG.json
@@ -1,6 +1,60 @@
{
"name": "@fluentui/global-context",
"entries": [
+ {
+ "date": "Tue, 21 Mar 2023 21:23:18 GMT",
+ "tag": "@fluentui/global-context_v9.0.0-beta.22",
+ "version": "9.0.0-beta.22",
+ "comments": {
+ "prerelease": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/global-context",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/global-context",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/global-context",
+ "comment": "Bump @fluentui/react-context-selector to v9.1.15",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/global-context",
+ "comment": "Bump @fluentui/react-utilities to v9.7.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Thu, 16 Mar 2023 14:36:59 GMT",
+ "tag": "@fluentui/global-context_v9.0.0-beta.21",
+ "version": "9.0.0-beta.21",
+ "comments": {
+ "prerelease": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/global-context",
+ "comment": "Bump @fluentui/react-context-selector to v9.1.14",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/global-context",
+ "comment": "Bump @fluentui/react-utilities to v9.7.1",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ }
+ ]
+ }
+ },
{
"date": "Mon, 13 Mar 2023 08:58:26 GMT",
"tag": "@fluentui/global-context_v9.0.0-beta.20",
diff --git a/packages/react-components/global-context/CHANGELOG.md b/packages/react-components/global-context/CHANGELOG.md
index fe4966345ee5b..40ea2339babaf 100644
--- a/packages/react-components/global-context/CHANGELOG.md
+++ b/packages/react-components/global-context/CHANGELOG.md
@@ -1,9 +1,31 @@
# Change Log - @fluentui/global-context
-This log was last generated on Mon, 13 Mar 2023 08:58:26 GMT and should not be manually modified.
+This log was last generated on Tue, 21 Mar 2023 21:23:18 GMT and should not be manually modified.
+## [9.0.0-beta.22](https://github.com/microsoft/fluentui/tree/@fluentui/global-context_v9.0.0-beta.22)
+
+Tue, 21 Mar 2023 21:23:18 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/global-context_v9.0.0-beta.21..@fluentui/global-context_v9.0.0-beta.22)
+
+### Changes
+
+- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- Bump @fluentui/react-context-selector to v9.1.15 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-utilities to v9.7.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+
+## [9.0.0-beta.21](https://github.com/microsoft/fluentui/tree/@fluentui/global-context_v9.0.0-beta.21)
+
+Thu, 16 Mar 2023 14:36:59 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/global-context_v9.0.0-beta.20..@fluentui/global-context_v9.0.0-beta.21)
+
+### Changes
+
+- Bump @fluentui/react-context-selector to v9.1.14 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-utilities to v9.7.1 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+
## [9.0.0-beta.20](https://github.com/microsoft/fluentui/tree/@fluentui/global-context_v9.0.0-beta.20)
Mon, 13 Mar 2023 08:58:26 GMT
diff --git a/packages/react-components/global-context/just.config.ts b/packages/react-components/global-context/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/global-context/just.config.ts
+++ b/packages/react-components/global-context/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/global-context/package.json b/packages/react-components/global-context/package.json
index e3383efb82453..95bda821a3150 100644
--- a/packages/react-components/global-context/package.json
+++ b/packages/react-components/global-context/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/global-context",
- "version": "9.0.0-beta.20",
+ "version": "9.0.0-beta.22",
"description": "Extension of React createContext to be a true singleton on the global scope",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -22,7 +22,7 @@
"lint": "just-scripts lint",
"test": "jest --passWithNoTests",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
@@ -31,9 +31,9 @@
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/react-context-selector": "^9.1.13",
- "@fluentui/react-utilities": "^9.7.0",
- "tslib": "^2.1.0"
+ "@fluentui/react-context-selector": "^9.1.15",
+ "@fluentui/react-utilities": "^9.7.2",
+ "@swc/helpers": "^0.4.14"
},
"peerDependencies": {
"@types/react": ">=16.8.0 <19.0.0",
@@ -52,6 +52,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/keyboard-keys/.babelrc.json b/packages/react-components/keyboard-keys/.babelrc.json
index 0b00fa93139ea..38bf1f7a945cf 100644
--- a/packages/react-components/keyboard-keys/.babelrc.json
+++ b/packages/react-components/keyboard-keys/.babelrc.json
@@ -1,4 +1,3 @@
{
- "presets": [],
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/keyboard-keys/.swcrc b/packages/react-components/keyboard-keys/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/keyboard-keys/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/keyboard-keys/CHANGELOG.json b/packages/react-components/keyboard-keys/CHANGELOG.json
index 84946a5cf20bc..e136ea4836343 100644
--- a/packages/react-components/keyboard-keys/CHANGELOG.json
+++ b/packages/react-components/keyboard-keys/CHANGELOG.json
@@ -1,6 +1,27 @@
{
"name": "@fluentui/keyboard-keys",
"entries": [
+ {
+ "date": "Tue, 21 Mar 2023 21:23:19 GMT",
+ "tag": "@fluentui/keyboard-keys_v9.0.2",
+ "version": "9.0.2",
+ "comments": {
+ "patch": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/keyboard-keys",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/keyboard-keys",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ }
+ ]
+ }
+ },
{
"date": "Mon, 16 Jan 2023 08:38:53 GMT",
"tag": "@fluentui/keyboard-keys_v9.0.1",
diff --git a/packages/react-components/keyboard-keys/CHANGELOG.md b/packages/react-components/keyboard-keys/CHANGELOG.md
index 8a8390c5f4f5b..9f38f3eebeec4 100644
--- a/packages/react-components/keyboard-keys/CHANGELOG.md
+++ b/packages/react-components/keyboard-keys/CHANGELOG.md
@@ -1,9 +1,19 @@
# Change Log - @fluentui/keyboard-keys
-This log was last generated on Fri, 11 Nov 2022 14:57:50 GMT and should not be manually modified.
+This log was last generated on Tue, 21 Mar 2023 21:23:19 GMT and should not be manually modified.
+## [9.0.2](https://github.com/microsoft/fluentui/tree/@fluentui/keyboard-keys_v9.0.2)
+
+Tue, 21 Mar 2023 21:23:19 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/keyboard-keys_v9.0.1..@fluentui/keyboard-keys_v9.0.2)
+
+### Patches
+
+- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+
## [9.0.1](https://github.com/microsoft/fluentui/tree/@fluentui/keyboard-keys_v9.0.1)
Fri, 11 Nov 2022 14:57:50 GMT
diff --git a/packages/react-components/keyboard-keys/just.config.ts b/packages/react-components/keyboard-keys/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/keyboard-keys/just.config.ts
+++ b/packages/react-components/keyboard-keys/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/keyboard-keys/package.json b/packages/react-components/keyboard-keys/package.json
index cdc8aab38008f..1d7151368ca33 100644
--- a/packages/react-components/keyboard-keys/package.json
+++ b/packages/react-components/keyboard-keys/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/keyboard-keys",
- "version": "9.0.1",
+ "version": "9.0.2",
"description": "Contains a set of keyboard constants for key and keyCode",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -19,7 +19,7 @@
"lint": "just-scripts lint",
"test": "jest --passWithNoTests",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
@@ -27,7 +27,7 @@
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "tslib": "^2.1.0"
+ "@swc/helpers": "^0.4.14"
},
"beachball": {
"disallowedChangeTypes": [
@@ -38,6 +38,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/priority-overflow/.babelrc.json b/packages/react-components/priority-overflow/.babelrc.json
index 0b00fa93139ea..38bf1f7a945cf 100644
--- a/packages/react-components/priority-overflow/.babelrc.json
+++ b/packages/react-components/priority-overflow/.babelrc.json
@@ -1,4 +1,3 @@
{
- "presets": [],
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/priority-overflow/.swcrc b/packages/react-components/priority-overflow/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/priority-overflow/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/priority-overflow/CHANGELOG.json b/packages/react-components/priority-overflow/CHANGELOG.json
index e1146d6287738..fba7c565c595a 100644
--- a/packages/react-components/priority-overflow/CHANGELOG.json
+++ b/packages/react-components/priority-overflow/CHANGELOG.json
@@ -1,6 +1,27 @@
{
"name": "@fluentui/priority-overflow",
"entries": [
+ {
+ "date": "Tue, 21 Mar 2023 21:23:19 GMT",
+ "tag": "@fluentui/priority-overflow_v9.0.2",
+ "version": "9.0.2",
+ "comments": {
+ "patch": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/priority-overflow",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/priority-overflow",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ }
+ ]
+ }
+ },
{
"date": "Tue, 07 Feb 2023 14:13:08 GMT",
"tag": "@fluentui/priority-overflow_v9.0.1",
diff --git a/packages/react-components/priority-overflow/CHANGELOG.md b/packages/react-components/priority-overflow/CHANGELOG.md
index aa568da82b97b..2b26aadfb2315 100644
--- a/packages/react-components/priority-overflow/CHANGELOG.md
+++ b/packages/react-components/priority-overflow/CHANGELOG.md
@@ -1,9 +1,19 @@
# Change Log - @fluentui/priority-overflow
-This log was last generated on Tue, 07 Feb 2023 14:13:08 GMT and should not be manually modified.
+This log was last generated on Tue, 21 Mar 2023 21:23:19 GMT and should not be manually modified.
+## [9.0.2](https://github.com/microsoft/fluentui/tree/@fluentui/priority-overflow_v9.0.2)
+
+Tue, 21 Mar 2023 21:23:19 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/priority-overflow_v9.0.1..@fluentui/priority-overflow_v9.0.2)
+
+### Patches
+
+- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+
## [9.0.1](https://github.com/microsoft/fluentui/tree/@fluentui/priority-overflow_v9.0.1)
Tue, 07 Feb 2023 14:13:08 GMT
diff --git a/packages/react-components/priority-overflow/just.config.ts b/packages/react-components/priority-overflow/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/priority-overflow/just.config.ts
+++ b/packages/react-components/priority-overflow/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/priority-overflow/package.json b/packages/react-components/priority-overflow/package.json
index 45793d0da815d..ca4dccf7a6a80 100644
--- a/packages/react-components/priority-overflow/package.json
+++ b/packages/react-components/priority-overflow/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/priority-overflow",
- "version": "9.0.1",
+ "version": "9.0.2",
"description": "Vanilla JS utilities to implement overflow menus",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -20,7 +20,7 @@
"lint": "just-scripts lint",
"test": "jest --passWithNoTests",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
@@ -28,7 +28,7 @@
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "tslib": "^2.1.0"
+ "@swc/helpers": "^0.4.14"
},
"beachball": {
"disallowedChangeTypes": [
@@ -39,6 +39,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/react-accordion/.babelrc.json b/packages/react-components/react-accordion/.babelrc.json
index 40e01373083ce..45fb71ca16d2c 100644
--- a/packages/react-components/react-accordion/.babelrc.json
+++ b/packages/react-components/react-accordion/.babelrc.json
@@ -1,4 +1,4 @@
{
- "presets": ["@griffel"],
+ "extends": "../../../.babelrc-v9.json",
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/react-accordion/.swcrc b/packages/react-components/react-accordion/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/react-accordion/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/react-accordion/CHANGELOG.json b/packages/react-components/react-accordion/CHANGELOG.json
index ed5223d42305f..3a1eb79a29882 100644
--- a/packages/react-components/react-accordion/CHANGELOG.json
+++ b/packages/react-components/react-accordion/CHANGELOG.json
@@ -1,6 +1,108 @@
{
"name": "@fluentui/react-accordion",
"entries": [
+ {
+ "date": "Tue, 21 Mar 2023 21:23:20 GMT",
+ "tag": "@fluentui/react-accordion_v9.1.5",
+ "version": "9.1.5",
+ "comments": {
+ "patch": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-accordion",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-accordion",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-accordion",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-accordion",
+ "comment": "Bump @fluentui/react-aria to v9.3.15",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-accordion",
+ "comment": "Bump @fluentui/react-context-selector to v9.1.15",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-accordion",
+ "comment": "Bump @fluentui/react-shared-contexts to v9.3.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-accordion",
+ "comment": "Bump @fluentui/react-tabster to v9.6.1",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-accordion",
+ "comment": "Bump @fluentui/react-theme to v9.1.7",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-accordion",
+ "comment": "Bump @fluentui/react-utilities to v9.7.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-accordion",
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Thu, 16 Mar 2023 14:36:59 GMT",
+ "tag": "@fluentui/react-accordion_v9.1.4",
+ "version": "9.1.4",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-accordion",
+ "comment": "Bump @fluentui/react-aria to v9.3.14",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-accordion",
+ "comment": "Bump @fluentui/react-context-selector to v9.1.14",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-accordion",
+ "comment": "Bump @fluentui/react-tabster to v9.6.0",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-accordion",
+ "comment": "Bump @fluentui/react-utilities to v9.7.1",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ }
+ ]
+ }
+ },
{
"date": "Wed, 15 Mar 2023 10:19:53 GMT",
"tag": "@fluentui/react-accordion_v9.1.3",
diff --git a/packages/react-components/react-accordion/CHANGELOG.md b/packages/react-components/react-accordion/CHANGELOG.md
index efd950be3569c..3f6f5546f256e 100644
--- a/packages/react-components/react-accordion/CHANGELOG.md
+++ b/packages/react-components/react-accordion/CHANGELOG.md
@@ -1,9 +1,39 @@
# Change Log - @fluentui/react-accordion
-This log was last generated on Wed, 15 Mar 2023 10:19:53 GMT and should not be manually modified.
+This log was last generated on Tue, 21 Mar 2023 21:23:20 GMT and should not be manually modified.
+## [9.1.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-accordion_v9.1.5)
+
+Tue, 21 Mar 2023 21:23:20 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-accordion_v9.1.4..@fluentui/react-accordion_v9.1.5)
+
+### Patches
+
+- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- Bump @fluentui/react-aria to v9.3.15 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-context-selector to v9.1.15 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-shared-contexts to v9.3.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-tabster to v9.6.1 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-theme to v9.1.7 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-utilities to v9.7.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+
+## [9.1.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-accordion_v9.1.4)
+
+Thu, 16 Mar 2023 14:36:59 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-accordion_v9.1.3..@fluentui/react-accordion_v9.1.4)
+
+### Patches
+
+- Bump @fluentui/react-aria to v9.3.14 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-context-selector to v9.1.14 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-tabster to v9.6.0 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-utilities to v9.7.1 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+
## [9.1.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-accordion_v9.1.3)
Wed, 15 Mar 2023 10:19:53 GMT
diff --git a/packages/react-components/react-accordion/just.config.ts b/packages/react-components/react-accordion/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/react-accordion/just.config.ts
+++ b/packages/react-components/react-accordion/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/react-accordion/package.json b/packages/react-components/react-accordion/package.json
index b792793e66f18..366395e5079b9 100644
--- a/packages/react-components/react-accordion/package.json
+++ b/packages/react-components/react-accordion/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/react-accordion",
- "version": "9.1.3",
+ "version": "9.1.6",
"description": "Fluent UI accordion component",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -22,25 +22,25 @@
"test": "jest --passWithNoTests",
"storybook": "start-storybook",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/react-conformance": "*",
- "@fluentui/react-conformance-griffel": "9.0.0-beta.19",
+ "@fluentui/react-conformance-griffel": "9.0.0-beta.20",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/react-aria": "^9.3.13",
- "@fluentui/react-context-selector": "^9.1.13",
- "@fluentui/react-icons": "^2.0.175",
- "@fluentui/react-shared-contexts": "^9.3.1",
- "@fluentui/react-tabster": "^9.5.7",
- "@fluentui/react-theme": "^9.1.6",
- "@fluentui/react-utilities": "^9.7.0",
+ "@fluentui/react-aria": "^9.3.15",
+ "@fluentui/react-context-selector": "^9.1.15",
+ "@fluentui/react-icons": "^2.0.196",
+ "@fluentui/react-shared-contexts": "^9.3.3",
+ "@fluentui/react-tabster": "^9.6.2",
+ "@fluentui/react-theme": "^9.1.7",
+ "@fluentui/react-utilities": "^9.7.2",
"@griffel/react": "^1.5.2",
- "tslib": "^2.1.0"
+ "@swc/helpers": "^0.4.14"
},
"peerDependencies": {
"@types/react": ">=16.8.0 <19.0.0",
@@ -58,6 +58,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/react-accordion/src/components/AccordionHeader/__snapshots__/AccordionHeader.test.tsx.snap b/packages/react-components/react-accordion/src/components/AccordionHeader/__snapshots__/AccordionHeader.test.tsx.snap
index 5da71251a0c78..df49d27292de3 100644
--- a/packages/react-components/react-accordion/src/components/AccordionHeader/__snapshots__/AccordionHeader.test.tsx.snap
+++ b/packages/react-components/react-accordion/src/components/AccordionHeader/__snapshots__/AccordionHeader.test.tsx.snap
@@ -30,7 +30,7 @@ exports[`AccordionHeader renders a default state 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
diff --git a/packages/react-components/react-alert/.babelrc.json b/packages/react-components/react-alert/.babelrc.json
index 40e01373083ce..45fb71ca16d2c 100644
--- a/packages/react-components/react-alert/.babelrc.json
+++ b/packages/react-components/react-alert/.babelrc.json
@@ -1,4 +1,4 @@
{
- "presets": ["@griffel"],
+ "extends": "../../../.babelrc-v9.json",
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/react-alert/.swcrc b/packages/react-components/react-alert/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/react-alert/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/react-alert/CHANGELOG.json b/packages/react-components/react-alert/CHANGELOG.json
index 3c0046b239744..23f395bccbbc3 100644
--- a/packages/react-components/react-alert/CHANGELOG.json
+++ b/packages/react-components/react-alert/CHANGELOG.json
@@ -1,6 +1,102 @@
{
"name": "@fluentui/react-alert",
"entries": [
+ {
+ "date": "Tue, 21 Mar 2023 21:23:21 GMT",
+ "tag": "@fluentui/react-alert_v9.0.0-beta.41",
+ "version": "9.0.0-beta.41",
+ "comments": {
+ "prerelease": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-alert",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-alert",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-alert",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-alert",
+ "comment": "Bump @fluentui/react-avatar to v9.4.5",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-alert",
+ "comment": "Bump @fluentui/react-button to v9.3.5",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-alert",
+ "comment": "Bump @fluentui/react-tabster to v9.6.1",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-alert",
+ "comment": "Bump @fluentui/react-theme to v9.1.7",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-alert",
+ "comment": "Bump @fluentui/react-utilities to v9.7.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-alert",
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Thu, 16 Mar 2023 14:36:59 GMT",
+ "tag": "@fluentui/react-alert_v9.0.0-beta.40",
+ "version": "9.0.0-beta.40",
+ "comments": {
+ "prerelease": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-alert",
+ "comment": "Bump @fluentui/react-avatar to v9.4.4",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-alert",
+ "comment": "Bump @fluentui/react-button to v9.3.4",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-alert",
+ "comment": "Bump @fluentui/react-tabster to v9.6.0",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-alert",
+ "comment": "Bump @fluentui/react-utilities to v9.7.1",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ }
+ ]
+ }
+ },
{
"date": "Wed, 15 Mar 2023 10:19:53 GMT",
"tag": "@fluentui/react-alert_v9.0.0-beta.39",
diff --git a/packages/react-components/react-alert/CHANGELOG.md b/packages/react-components/react-alert/CHANGELOG.md
index c38cdc75ecb74..826afd43427e4 100644
--- a/packages/react-components/react-alert/CHANGELOG.md
+++ b/packages/react-components/react-alert/CHANGELOG.md
@@ -1,9 +1,38 @@
# Change Log - @fluentui/react-alert
-This log was last generated on Wed, 15 Mar 2023 10:19:53 GMT and should not be manually modified.
+This log was last generated on Tue, 21 Mar 2023 21:23:21 GMT and should not be manually modified.
+## [9.0.0-beta.41](https://github.com/microsoft/fluentui/tree/@fluentui/react-alert_v9.0.0-beta.41)
+
+Tue, 21 Mar 2023 21:23:21 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-alert_v9.0.0-beta.40..@fluentui/react-alert_v9.0.0-beta.41)
+
+### Changes
+
+- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- Bump @fluentui/react-avatar to v9.4.5 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-button to v9.3.5 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-tabster to v9.6.1 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-theme to v9.1.7 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-utilities to v9.7.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+
+## [9.0.0-beta.40](https://github.com/microsoft/fluentui/tree/@fluentui/react-alert_v9.0.0-beta.40)
+
+Thu, 16 Mar 2023 14:36:59 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-alert_v9.0.0-beta.39..@fluentui/react-alert_v9.0.0-beta.40)
+
+### Changes
+
+- Bump @fluentui/react-avatar to v9.4.4 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-button to v9.3.4 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-tabster to v9.6.0 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-utilities to v9.7.1 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+
## [9.0.0-beta.39](https://github.com/microsoft/fluentui/tree/@fluentui/react-alert_v9.0.0-beta.39)
Wed, 15 Mar 2023 10:19:53 GMT
diff --git a/packages/react-components/react-alert/just.config.ts b/packages/react-components/react-alert/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/react-alert/just.config.ts
+++ b/packages/react-components/react-alert/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/react-alert/package.json b/packages/react-components/react-alert/package.json
index 2bb7aa987dc93..522cc1040698b 100644
--- a/packages/react-components/react-alert/package.json
+++ b/packages/react-components/react-alert/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/react-alert",
- "version": "9.0.0-beta.39",
+ "version": "9.0.0-beta.41",
"description": "An alert component to display brief messages",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -22,24 +22,24 @@
"test": "jest --passWithNoTests",
"storybook": "start-storybook",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/react-conformance": "*",
- "@fluentui/react-conformance-griffel": "9.0.0-beta.19",
+ "@fluentui/react-conformance-griffel": "9.0.0-beta.20",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/react-avatar": "^9.4.3",
- "@fluentui/react-button": "^9.3.3",
- "@fluentui/react-icons": "^2.0.175",
- "@fluentui/react-tabster": "^9.5.7",
- "@fluentui/react-theme": "^9.1.6",
- "@fluentui/react-utilities": "^9.7.0",
+ "@fluentui/react-avatar": "^9.4.6",
+ "@fluentui/react-button": "^9.3.6",
+ "@fluentui/react-icons": "^2.0.196",
+ "@fluentui/react-tabster": "^9.6.2",
+ "@fluentui/react-theme": "^9.1.7",
+ "@fluentui/react-utilities": "^9.7.2",
"@griffel/react": "^1.5.2",
- "tslib": "^2.1.0"
+ "@swc/helpers": "^0.4.14"
},
"peerDependencies": {
"@types/react": ">=16.8.0 <19.0.0",
@@ -57,6 +57,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/react-aria/.babelrc.json b/packages/react-components/react-aria/.babelrc.json
index 0b00fa93139ea..38bf1f7a945cf 100644
--- a/packages/react-components/react-aria/.babelrc.json
+++ b/packages/react-components/react-aria/.babelrc.json
@@ -1,4 +1,3 @@
{
- "presets": [],
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/react-aria/.swcrc b/packages/react-components/react-aria/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/react-aria/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/react-aria/CHANGELOG.json b/packages/react-components/react-aria/CHANGELOG.json
index cc2d51bedeb0f..de9c019cbaf3a 100644
--- a/packages/react-components/react-aria/CHANGELOG.json
+++ b/packages/react-components/react-aria/CHANGELOG.json
@@ -1,6 +1,54 @@
{
"name": "@fluentui/react-aria",
"entries": [
+ {
+ "date": "Tue, 21 Mar 2023 21:23:22 GMT",
+ "tag": "@fluentui/react-aria_v9.3.15",
+ "version": "9.3.15",
+ "comments": {
+ "patch": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-aria",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-aria",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-aria",
+ "comment": "Bump @fluentui/keyboard-keys to v9.0.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-aria",
+ "comment": "Bump @fluentui/react-utilities to v9.7.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Thu, 16 Mar 2023 14:36:59 GMT",
+ "tag": "@fluentui/react-aria_v9.3.14",
+ "version": "9.3.14",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-aria",
+ "comment": "Bump @fluentui/react-utilities to v9.7.1",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ }
+ ]
+ }
+ },
{
"date": "Mon, 13 Mar 2023 08:58:26 GMT",
"tag": "@fluentui/react-aria_v9.3.13",
diff --git a/packages/react-components/react-aria/CHANGELOG.md b/packages/react-components/react-aria/CHANGELOG.md
index f0f0fc54d18fd..09b2ab44fcaaf 100644
--- a/packages/react-components/react-aria/CHANGELOG.md
+++ b/packages/react-components/react-aria/CHANGELOG.md
@@ -1,9 +1,30 @@
# Change Log - @fluentui/react-aria
-This log was last generated on Mon, 13 Mar 2023 08:58:26 GMT and should not be manually modified.
+This log was last generated on Tue, 21 Mar 2023 21:23:22 GMT and should not be manually modified.
+## [9.3.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.15)
+
+Tue, 21 Mar 2023 21:23:22 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.14..@fluentui/react-aria_v9.3.15)
+
+### Patches
+
+- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- Bump @fluentui/keyboard-keys to v9.0.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-utilities to v9.7.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+
+## [9.3.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.14)
+
+Thu, 16 Mar 2023 14:36:59 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.3.13..@fluentui/react-aria_v9.3.14)
+
+### Patches
+
+- Bump @fluentui/react-utilities to v9.7.1 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+
## [9.3.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.3.13)
Mon, 13 Mar 2023 08:58:26 GMT
diff --git a/packages/react-components/react-aria/just.config.ts b/packages/react-components/react-aria/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/react-aria/just.config.ts
+++ b/packages/react-components/react-aria/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/react-aria/package.json b/packages/react-components/react-aria/package.json
index 05c2b3dc1a9a8..9a1a48d0be101 100644
--- a/packages/react-components/react-aria/package.json
+++ b/packages/react-components/react-aria/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/react-aria",
- "version": "9.3.13",
+ "version": "9.3.15",
"description": "React helper to ensure ARIA",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -21,7 +21,7 @@
"test": "jest --passWithNoTests",
"storybook": "start-storybook",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
@@ -30,9 +30,9 @@
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/keyboard-keys": "^9.0.1",
- "@fluentui/react-utilities": "^9.7.0",
- "tslib": "^2.1.0"
+ "@fluentui/keyboard-keys": "^9.0.2",
+ "@fluentui/react-utilities": "^9.7.2",
+ "@swc/helpers": "^0.4.14"
},
"peerDependencies": {
"@types/react": ">=16.8.0 <19.0.0",
@@ -49,6 +49,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/react-avatar-context/.babelrc.json b/packages/react-components/react-avatar-context/.babelrc.json
index 40e01373083ce..45fb71ca16d2c 100644
--- a/packages/react-components/react-avatar-context/.babelrc.json
+++ b/packages/react-components/react-avatar-context/.babelrc.json
@@ -1,4 +1,4 @@
{
- "presets": ["@griffel"],
+ "extends": "../../../.babelrc-v9.json",
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/react-avatar-context/.swcrc b/packages/react-components/react-avatar-context/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/react-avatar-context/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/react-avatar-context/just.config.ts b/packages/react-components/react-avatar-context/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/react-avatar-context/just.config.ts
+++ b/packages/react-components/react-avatar-context/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/react-avatar-context/package.json b/packages/react-components/react-avatar-context/package.json
index 087695795e547..098a76e377cd4 100644
--- a/packages/react-components/react-avatar-context/package.json
+++ b/packages/react-components/react-avatar-context/package.json
@@ -19,21 +19,21 @@
"just": "just-scripts",
"lint": "just-scripts lint",
"test": "jest --passWithNoTests",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor",
+ "generate-api": "just-scripts generate-api",
"type-check": "tsc -b tsconfig.json"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/react-conformance": "*",
- "@fluentui/react-conformance-griffel": "9.0.0-beta.19",
+ "@fluentui/react-conformance-griffel": "9.0.0-beta.20",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/react-theme": "^9.1.6",
- "@fluentui/react-utilities": "^9.7.0",
+ "@fluentui/react-theme": "^9.1.7",
+ "@fluentui/react-utilities": "^9.7.2",
"@griffel/react": "^1.5.2",
- "tslib": "^2.1.0"
+ "@swc/helpers": "^0.4.14"
},
"peerDependencies": {
"@types/react": ">=16.8.0 <19.0.0",
@@ -51,6 +51,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/react-avatar/.babelrc.json b/packages/react-components/react-avatar/.babelrc.json
index 40e01373083ce..45fb71ca16d2c 100644
--- a/packages/react-components/react-avatar/.babelrc.json
+++ b/packages/react-components/react-avatar/.babelrc.json
@@ -1,4 +1,4 @@
{
- "presets": ["@griffel"],
+ "extends": "../../../.babelrc-v9.json",
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/react-avatar/.swcrc b/packages/react-components/react-avatar/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/react-avatar/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/react-avatar/CHANGELOG.json b/packages/react-components/react-avatar/CHANGELOG.json
index 1f7096c68fb74..02e1c05f77f64 100644
--- a/packages/react-components/react-avatar/CHANGELOG.json
+++ b/packages/react-components/react-avatar/CHANGELOG.json
@@ -1,6 +1,132 @@
{
"name": "@fluentui/react-avatar",
"entries": [
+ {
+ "date": "Tue, 21 Mar 2023 21:23:23 GMT",
+ "tag": "@fluentui/react-avatar_v9.4.5",
+ "version": "9.4.5",
+ "comments": {
+ "patch": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-avatar",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-avatar",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-avatar",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-avatar",
+ "comment": "Bump @fluentui/react-badge to v9.1.5",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-avatar",
+ "comment": "Bump @fluentui/react-context-selector to v9.1.15",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-avatar",
+ "comment": "Bump @fluentui/react-popover to v9.5.5",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-avatar",
+ "comment": "Bump @fluentui/react-shared-contexts to v9.3.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-avatar",
+ "comment": "Bump @fluentui/react-tabster to v9.6.1",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-avatar",
+ "comment": "Bump @fluentui/react-theme to v9.1.7",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-avatar",
+ "comment": "Bump @fluentui/react-tooltip to v9.2.5",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-avatar",
+ "comment": "Bump @fluentui/react-utilities to v9.7.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-avatar",
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Thu, 16 Mar 2023 14:36:59 GMT",
+ "tag": "@fluentui/react-avatar_v9.4.4",
+ "version": "9.4.4",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-avatar",
+ "comment": "Bump @fluentui/react-badge to v9.1.4",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-avatar",
+ "comment": "Bump @fluentui/react-context-selector to v9.1.14",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-avatar",
+ "comment": "Bump @fluentui/react-popover to v9.5.4",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-avatar",
+ "comment": "Bump @fluentui/react-tabster to v9.6.0",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-avatar",
+ "comment": "Bump @fluentui/react-tooltip to v9.2.4",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-avatar",
+ "comment": "Bump @fluentui/react-utilities to v9.7.1",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ }
+ ]
+ }
+ },
{
"date": "Wed, 15 Mar 2023 10:19:53 GMT",
"tag": "@fluentui/react-avatar_v9.4.3",
diff --git a/packages/react-components/react-avatar/CHANGELOG.md b/packages/react-components/react-avatar/CHANGELOG.md
index 61e1675e8db4a..27d49a0021875 100644
--- a/packages/react-components/react-avatar/CHANGELOG.md
+++ b/packages/react-components/react-avatar/CHANGELOG.md
@@ -1,9 +1,43 @@
# Change Log - @fluentui/react-avatar
-This log was last generated on Wed, 15 Mar 2023 10:19:53 GMT and should not be manually modified.
+This log was last generated on Tue, 21 Mar 2023 21:23:23 GMT and should not be manually modified.
+## [9.4.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-avatar_v9.4.5)
+
+Tue, 21 Mar 2023 21:23:23 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-avatar_v9.4.4..@fluentui/react-avatar_v9.4.5)
+
+### Patches
+
+- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+- Bump @fluentui/react-badge to v9.1.5 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-context-selector to v9.1.15 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-popover to v9.5.5 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-shared-contexts to v9.3.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-tabster to v9.6.1 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-theme to v9.1.7 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-tooltip to v9.2.5 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-utilities to v9.7.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+
+## [9.4.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-avatar_v9.4.4)
+
+Thu, 16 Mar 2023 14:36:59 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-avatar_v9.4.3..@fluentui/react-avatar_v9.4.4)
+
+### Patches
+
+- Bump @fluentui/react-badge to v9.1.4 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-context-selector to v9.1.14 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-popover to v9.5.4 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-tabster to v9.6.0 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-tooltip to v9.2.4 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-utilities to v9.7.1 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+
## [9.4.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-avatar_v9.4.3)
Wed, 15 Mar 2023 10:19:53 GMT
diff --git a/packages/react-components/react-avatar/just.config.ts b/packages/react-components/react-avatar/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/react-avatar/just.config.ts
+++ b/packages/react-components/react-avatar/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/react-avatar/package.json b/packages/react-components/react-avatar/package.json
index 95369a6796dbb..143da34b2b3ae 100644
--- a/packages/react-components/react-avatar/package.json
+++ b/packages/react-components/react-avatar/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/react-avatar",
- "version": "9.4.3",
+ "version": "9.4.6",
"description": "React components for building Microsoft web experiences.",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -24,29 +24,29 @@
"test": "jest --passWithNoTests",
"storybook": "start-storybook",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/react-conformance": "*",
- "@fluentui/react-conformance-griffel": "9.0.0-beta.19",
+ "@fluentui/react-conformance-griffel": "9.0.0-beta.20",
"es6-weak-map": "^2.0.2",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-cypress": "*",
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/react-badge": "^9.1.3",
- "@fluentui/react-context-selector": "^9.1.13",
- "@fluentui/react-icons": "^2.0.175",
- "@fluentui/react-popover": "^9.5.3",
- "@fluentui/react-shared-contexts": "^9.3.1",
- "@fluentui/react-tabster": "^9.5.7",
- "@fluentui/react-theme": "^9.1.6",
- "@fluentui/react-tooltip": "^9.2.3",
- "@fluentui/react-utilities": "^9.7.0",
+ "@fluentui/react-badge": "^9.1.6",
+ "@fluentui/react-context-selector": "^9.1.15",
+ "@fluentui/react-icons": "^2.0.196",
+ "@fluentui/react-popover": "^9.5.6",
+ "@fluentui/react-shared-contexts": "^9.3.3",
+ "@fluentui/react-tabster": "^9.6.2",
+ "@fluentui/react-theme": "^9.1.7",
+ "@fluentui/react-tooltip": "^9.2.6",
+ "@fluentui/react-utilities": "^9.7.2",
"@griffel/react": "^1.5.2",
- "tslib": "^2.1.0"
+ "@swc/helpers": "^0.4.14"
},
"peerDependencies": {
"@types/react": ">=16.8.0 <19.0.0",
@@ -64,6 +64,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/react-badge/.babelrc.json b/packages/react-components/react-badge/.babelrc.json
index 40e01373083ce..45fb71ca16d2c 100644
--- a/packages/react-components/react-badge/.babelrc.json
+++ b/packages/react-components/react-badge/.babelrc.json
@@ -1,4 +1,4 @@
{
- "presets": ["@griffel"],
+ "extends": "../../../.babelrc-v9.json",
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/react-badge/.swcrc b/packages/react-components/react-badge/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/react-badge/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/react-badge/CHANGELOG.json b/packages/react-components/react-badge/CHANGELOG.json
index 59679075ad17d..de90b78988b59 100644
--- a/packages/react-components/react-badge/CHANGELOG.json
+++ b/packages/react-components/react-badge/CHANGELOG.json
@@ -1,6 +1,78 @@
{
"name": "@fluentui/react-badge",
"entries": [
+ {
+ "date": "Tue, 21 Mar 2023 21:23:24 GMT",
+ "tag": "@fluentui/react-badge_v9.1.5",
+ "version": "9.1.5",
+ "comments": {
+ "patch": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-badge",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-badge",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-badge",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-badge",
+ "commit": "9bba9cabc4f410930d3acb18cbe5f1d9c867c7f0",
+ "comment": "fix: Adding the correct icons to away+out-of-office PresenceBadges and adding the correct icons to use in large PresenceBadges."
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-badge",
+ "comment": "Bump @fluentui/react-shared-contexts to v9.3.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-badge",
+ "comment": "Bump @fluentui/react-theme to v9.1.7",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-badge",
+ "comment": "Bump @fluentui/react-utilities to v9.7.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-badge",
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Thu, 16 Mar 2023 14:36:59 GMT",
+ "tag": "@fluentui/react-badge_v9.1.4",
+ "version": "9.1.4",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-badge",
+ "comment": "Bump @fluentui/react-utilities to v9.7.1",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ }
+ ]
+ }
+ },
{
"date": "Wed, 15 Mar 2023 10:19:53 GMT",
"tag": "@fluentui/react-badge_v9.1.3",
diff --git a/packages/react-components/react-badge/CHANGELOG.md b/packages/react-components/react-badge/CHANGELOG.md
index 04da94953110e..67b99970eec58 100644
--- a/packages/react-components/react-badge/CHANGELOG.md
+++ b/packages/react-components/react-badge/CHANGELOG.md
@@ -1,9 +1,34 @@
# Change Log - @fluentui/react-badge
-This log was last generated on Wed, 15 Mar 2023 10:19:53 GMT and should not be manually modified.
+This log was last generated on Tue, 21 Mar 2023 21:23:24 GMT and should not be manually modified.
+## [9.1.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v9.1.5)
+
+Tue, 21 Mar 2023 21:23:24 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.1.4..@fluentui/react-badge_v9.1.5)
+
+### Patches
+
+- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- fix: Adding the correct icons to away+out-of-office PresenceBadges and adding the correct icons to use in large PresenceBadges. ([PR #27253](https://github.com/microsoft/fluentui/pull/27253) by makotom@microsoft.com)
+- Bump @fluentui/react-shared-contexts to v9.3.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-theme to v9.1.7 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-utilities to v9.7.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+
+## [9.1.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v9.1.4)
+
+Thu, 16 Mar 2023 14:36:59 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.1.3..@fluentui/react-badge_v9.1.4)
+
+### Patches
+
+- Bump @fluentui/react-utilities to v9.7.1 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+
## [9.1.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v9.1.3)
Wed, 15 Mar 2023 10:19:53 GMT
diff --git a/packages/react-components/react-badge/just.config.ts b/packages/react-components/react-badge/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/react-badge/just.config.ts
+++ b/packages/react-components/react-badge/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/react-badge/package.json b/packages/react-components/react-badge/package.json
index c569b3ced712f..93d0d9e829a40 100644
--- a/packages/react-components/react-badge/package.json
+++ b/packages/react-components/react-badge/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/react-badge",
- "version": "9.1.3",
+ "version": "9.1.6",
"description": "React components for building web experiences",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -22,22 +22,22 @@
"test": "jest --passWithNoTests",
"storybook": "start-storybook",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/react-conformance": "*",
- "@fluentui/react-conformance-griffel": "9.0.0-beta.19",
+ "@fluentui/react-conformance-griffel": "9.0.0-beta.20",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/react-icons": "^2.0.175",
- "@fluentui/react-shared-contexts": "^9.3.1",
- "@fluentui/react-theme": "^9.1.6",
- "@fluentui/react-utilities": "^9.7.0",
+ "@fluentui/react-icons": "^2.0.196",
+ "@fluentui/react-shared-contexts": "^9.3.3",
+ "@fluentui/react-theme": "^9.1.7",
+ "@fluentui/react-utilities": "^9.7.2",
"@griffel/react": "^1.5.2",
- "tslib": "^2.1.0"
+ "@swc/helpers": "^0.4.14"
},
"peerDependencies": {
"@types/react": ">=16.8.0 <19.0.0",
@@ -54,6 +54,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/react-badge/src/components/PresenceBadge/__snapshots__/PresenceBadge.test.tsx.snap b/packages/react-components/react-badge/src/components/PresenceBadge/__snapshots__/PresenceBadge.test.tsx.snap
index f86ef6cd2644d..ca8fc7a4b462b 100644
--- a/packages/react-components/react-badge/src/components/PresenceBadge/__snapshots__/PresenceBadge.test.tsx.snap
+++ b/packages/react-components/react-badge/src/components/PresenceBadge/__snapshots__/PresenceBadge.test.tsx.snap
@@ -19,7 +19,7 @@ exports[`PresenceBadge renders a default state 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
diff --git a/packages/react-components/react-badge/src/components/PresenceBadge/presenceIcons.ts b/packages/react-components/react-badge/src/components/PresenceBadge/presenceIcons.ts
index 28dc3d5b3e031..b6f7ce912cbf2 100644
--- a/packages/react-components/react-badge/src/components/PresenceBadge/presenceIcons.ts
+++ b/packages/react-components/react-badge/src/components/PresenceBadge/presenceIcons.ts
@@ -3,36 +3,63 @@ import {
PresenceAvailable10Regular,
PresenceAvailable12Regular,
PresenceAvailable16Regular,
+ PresenceAvailable20Regular,
PresenceAvailable10Filled,
PresenceAvailable12Filled,
PresenceAvailable16Filled,
+ PresenceAvailable20Filled,
+ PresenceAway10Regular,
+ PresenceAway12Regular,
+ PresenceAway16Regular,
+ PresenceAway20Regular,
PresenceAway10Filled,
PresenceAway12Filled,
PresenceAway16Filled,
+ PresenceAway20Filled,
PresenceBlocked10Regular,
PresenceBlocked12Regular,
PresenceBlocked16Regular,
+ PresenceBlocked20Regular,
PresenceBusy10Filled,
PresenceBusy12Filled,
PresenceBusy16Filled,
+ PresenceBusy20Filled,
PresenceDnd10Regular,
PresenceDnd12Regular,
PresenceDnd16Regular,
+ PresenceDnd20Regular,
PresenceDnd10Filled,
PresenceDnd12Filled,
PresenceDnd16Filled,
+ PresenceDnd20Filled,
PresenceOof10Regular,
PresenceOof12Regular,
PresenceOof16Regular,
+ PresenceOof20Regular,
PresenceOffline10Regular,
PresenceOffline12Regular,
PresenceOffline16Regular,
+ PresenceOffline20Regular,
PresenceUnknown10Regular,
PresenceUnknown12Regular,
PresenceUnknown16Regular,
+ PresenceUnknown20Regular,
} from '@fluentui/react-icons';
import type { PresenceBadgeState } from './PresenceBadge.types';
+export const presenceAwayRegular: Record = {
+ // FIXME not all presence icon sizes are available
+ // https://github.com/microsoft/fluentui/issues/20650
+ tiny: PresenceAway10Regular,
+ 'extra-small': PresenceAway10Regular,
+ small: PresenceAway12Regular,
+ medium: PresenceAway16Regular,
+ large: PresenceAway20Regular,
+ // FIXME not all presence icon sizes are available
+ // https://github.com/microsoft/fluentui/issues/20650
+ 'extra-large': PresenceAway20Regular,
+};
+
export const presenceAwayFilled: Record = {
// FIXME not all presence icon sizes are available
// https://github.com/microsoft/fluentui/issues/20650
@@ -40,12 +67,10 @@ export const presenceAwayFilled: Record = {
@@ -55,12 +80,10 @@ export const presenceAvailableRegular: Record = {
@@ -70,12 +93,10 @@ export const presenceAvailableFilled: Record = {
@@ -85,12 +106,10 @@ export const presenceBlockedRegular: Record = {
@@ -100,12 +119,10 @@ export const presenceBusyFilled: Record = {
@@ -115,12 +132,10 @@ export const presenceDndFilled: Record = {
@@ -130,12 +145,10 @@ export const presenceDndRegular: Record = {
@@ -145,12 +158,10 @@ export const presenceOofRegular: Record = {
@@ -160,12 +171,10 @@ export const presenceOfflineRegular: Record = {
@@ -175,10 +184,8 @@ export const presenceUnknownRegular: Record=16.8.0 <19.0.0",
@@ -54,6 +54,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/react-button/.babelrc.json b/packages/react-components/react-button/.babelrc.json
index 40e01373083ce..45fb71ca16d2c 100644
--- a/packages/react-components/react-button/.babelrc.json
+++ b/packages/react-components/react-button/.babelrc.json
@@ -1,4 +1,4 @@
{
- "presets": ["@griffel"],
+ "extends": "../../../.babelrc-v9.json",
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/react-button/.swcrc b/packages/react-components/react-button/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/react-button/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/react-button/CHANGELOG.json b/packages/react-components/react-button/CHANGELOG.json
index 21b03a7ff733a..834fb01e00af1 100644
--- a/packages/react-components/react-button/CHANGELOG.json
+++ b/packages/react-components/react-button/CHANGELOG.json
@@ -1,6 +1,102 @@
{
"name": "@fluentui/react-button",
"entries": [
+ {
+ "date": "Tue, 21 Mar 2023 21:23:25 GMT",
+ "tag": "@fluentui/react-button_v9.3.5",
+ "version": "9.3.5",
+ "comments": {
+ "patch": [
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-button",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-button",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-button",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-button",
+ "comment": "Bump @fluentui/keyboard-keys to v9.0.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-button",
+ "comment": "Bump @fluentui/react-aria to v9.3.15",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-button",
+ "comment": "Bump @fluentui/react-shared-contexts to v9.3.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-button",
+ "comment": "Bump @fluentui/react-tabster to v9.6.1",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-button",
+ "comment": "Bump @fluentui/react-theme to v9.1.7",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-button",
+ "comment": "Bump @fluentui/react-utilities to v9.7.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-button",
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Thu, 16 Mar 2023 14:36:59 GMT",
+ "tag": "@fluentui/react-button_v9.3.4",
+ "version": "9.3.4",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-button",
+ "comment": "Bump @fluentui/react-aria to v9.3.14",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-button",
+ "comment": "Bump @fluentui/react-tabster to v9.6.0",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-button",
+ "comment": "Bump @fluentui/react-utilities to v9.7.1",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ }
+ ]
+ }
+ },
{
"date": "Wed, 15 Mar 2023 10:19:53 GMT",
"tag": "@fluentui/react-button_v9.3.3",
diff --git a/packages/react-components/react-button/CHANGELOG.md b/packages/react-components/react-button/CHANGELOG.md
index 911c2e94b8422..937fed829f67f 100644
--- a/packages/react-components/react-button/CHANGELOG.md
+++ b/packages/react-components/react-button/CHANGELOG.md
@@ -1,9 +1,38 @@
# Change Log - @fluentui/react-button
-This log was last generated on Wed, 15 Mar 2023 10:19:53 GMT and should not be manually modified.
+This log was last generated on Tue, 21 Mar 2023 21:23:25 GMT and should not be manually modified.
+## [9.3.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v9.3.5)
+
+Tue, 21 Mar 2023 21:23:25 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-button_v9.3.4..@fluentui/react-button_v9.3.5)
+
+### Patches
+
+- chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- Bump @fluentui/keyboard-keys to v9.0.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-aria to v9.3.15 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-shared-contexts to v9.3.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-tabster to v9.6.1 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-theme to v9.1.7 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-utilities to v9.7.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+
+## [9.3.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v9.3.4)
+
+Thu, 16 Mar 2023 14:36:59 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-button_v9.3.3..@fluentui/react-button_v9.3.4)
+
+### Patches
+
+- Bump @fluentui/react-aria to v9.3.14 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-tabster to v9.6.0 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-utilities to v9.7.1 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+
## [9.3.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v9.3.3)
Wed, 15 Mar 2023 10:19:53 GMT
diff --git a/packages/react-components/react-button/just.config.ts b/packages/react-components/react-button/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/react-button/just.config.ts
+++ b/packages/react-components/react-button/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/react-button/package.json b/packages/react-components/react-button/package.json
index 1105c982d5e9b..b29ad4b73bdfe 100644
--- a/packages/react-components/react-button/package.json
+++ b/packages/react-components/react-button/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/react-button",
- "version": "9.3.3",
+ "version": "9.3.6",
"description": "Fluent UI React Button component.",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -22,26 +22,26 @@
"test": "jest --passWithNoTests",
"storybook": "start-storybook",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/a11y-testing": "^0.1.0",
"@fluentui/eslint-plugin": "*",
"@fluentui/react-conformance": "*",
- "@fluentui/react-conformance-griffel": "9.0.0-beta.19",
+ "@fluentui/react-conformance-griffel": "9.0.0-beta.20",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/keyboard-keys": "^9.0.1",
- "@fluentui/react-aria": "^9.3.13",
- "@fluentui/react-icons": "^2.0.175",
- "@fluentui/react-shared-contexts": "^9.3.1",
- "@fluentui/react-tabster": "^9.5.7",
- "@fluentui/react-theme": "^9.1.6",
- "@fluentui/react-utilities": "^9.7.0",
+ "@fluentui/keyboard-keys": "^9.0.2",
+ "@fluentui/react-aria": "^9.3.15",
+ "@fluentui/react-icons": "^2.0.196",
+ "@fluentui/react-shared-contexts": "^9.3.3",
+ "@fluentui/react-tabster": "^9.6.2",
+ "@fluentui/react-theme": "^9.1.7",
+ "@fluentui/react-utilities": "^9.7.2",
"@griffel/react": "^1.5.2",
- "tslib": "^2.1.0"
+ "@swc/helpers": "^0.4.14"
},
"peerDependencies": {
"@types/react": ">=16.8.0 <19.0.0",
@@ -58,6 +58,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/react-card/.babelrc.json b/packages/react-components/react-card/.babelrc.json
index 40e01373083ce..45fb71ca16d2c 100644
--- a/packages/react-components/react-card/.babelrc.json
+++ b/packages/react-components/react-card/.babelrc.json
@@ -1,4 +1,4 @@
{
- "presets": ["@griffel"],
+ "extends": "../../../.babelrc-v9.json",
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/react-card/.swcrc b/packages/react-components/react-card/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/react-card/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/react-card/CHANGELOG.json b/packages/react-components/react-card/CHANGELOG.json
index 3abb8a7c7ef9a..ef69fe6889268 100644
--- a/packages/react-components/react-card/CHANGELOG.json
+++ b/packages/react-components/react-card/CHANGELOG.json
@@ -1,6 +1,90 @@
{
"name": "@fluentui/react-card",
"entries": [
+ {
+ "date": "Tue, 21 Mar 2023 21:23:26 GMT",
+ "tag": "@fluentui/react-card_v9.0.3",
+ "version": "9.0.3",
+ "comments": {
+ "patch": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-card",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-card",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-card",
+ "comment": "Bump @fluentui/keyboard-keys to v9.0.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-card",
+ "comment": "Bump @fluentui/react-tabster to v9.6.1",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-card",
+ "comment": "Bump @fluentui/react-theme to v9.1.7",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-card",
+ "comment": "Bump @fluentui/react-utilities to v9.7.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-card",
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-card",
+ "comment": "Bump @fluentui/react-button to v9.3.5",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Thu, 16 Mar 2023 14:36:59 GMT",
+ "tag": "@fluentui/react-card_v9.0.2",
+ "version": "9.0.2",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-card",
+ "comment": "Bump @fluentui/react-tabster to v9.6.0",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-card",
+ "comment": "Bump @fluentui/react-utilities to v9.7.1",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-card",
+ "comment": "Bump @fluentui/react-button to v9.3.4",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ }
+ ]
+ }
+ },
{
"date": "Wed, 15 Mar 2023 10:19:50 GMT",
"tag": "@fluentui/react-card_v9.0.1",
diff --git a/packages/react-components/react-card/CHANGELOG.md b/packages/react-components/react-card/CHANGELOG.md
index 6129ffbb61e27..1b7f8ebe23932 100644
--- a/packages/react-components/react-card/CHANGELOG.md
+++ b/packages/react-components/react-card/CHANGELOG.md
@@ -1,9 +1,36 @@
# Change Log - @fluentui/react-card
-This log was last generated on Wed, 15 Mar 2023 10:19:50 GMT and should not be manually modified.
+This log was last generated on Tue, 21 Mar 2023 21:23:26 GMT and should not be manually modified.
+## [9.0.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.3)
+
+Tue, 21 Mar 2023 21:23:26 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.2..@fluentui/react-card_v9.0.3)
+
+### Patches
+
+- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- Bump @fluentui/keyboard-keys to v9.0.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-tabster to v9.6.1 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-theme to v9.1.7 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-utilities to v9.7.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-button to v9.3.5 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+
+## [9.0.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.2)
+
+Thu, 16 Mar 2023 14:36:59 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.1..@fluentui/react-card_v9.0.2)
+
+### Patches
+
+- Bump @fluentui/react-tabster to v9.6.0 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-utilities to v9.7.1 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-button to v9.3.4 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+
## [9.0.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.1)
Wed, 15 Mar 2023 10:19:50 GMT
diff --git a/packages/react-components/react-card/just.config.ts b/packages/react-components/react-card/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/react-card/just.config.ts
+++ b/packages/react-components/react-card/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/react-card/package.json b/packages/react-components/react-card/package.json
index 70032da85535d..8402c79430976 100644
--- a/packages/react-components/react-card/package.json
+++ b/packages/react-components/react-card/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/react-card",
- "version": "9.0.1",
+ "version": "9.0.4",
"private": false,
"description": "Card container components for Fluent UI React.",
"main": "lib-commonjs/index.js",
@@ -25,24 +25,24 @@
"test": "jest --passWithNoTests",
"storybook": "start-storybook",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
- "@fluentui/react-conformance-griffel": "9.0.0-beta.19",
+ "@fluentui/react-conformance-griffel": "9.0.0-beta.20",
"@fluentui/react-conformance": "*",
- "@fluentui/react-button": "^9.3.3",
+ "@fluentui/react-button": "^9.3.6",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-cypress": "*",
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/keyboard-keys": "^9.0.1",
- "@fluentui/react-tabster": "^9.5.7",
- "@fluentui/react-theme": "^9.1.6",
- "@fluentui/react-utilities": "^9.7.0",
+ "@fluentui/keyboard-keys": "^9.0.2",
+ "@fluentui/react-tabster": "^9.6.2",
+ "@fluentui/react-theme": "^9.1.7",
+ "@fluentui/react-utilities": "^9.7.2",
"@griffel/react": "^1.5.2",
- "tslib": "^2.1.0"
+ "@swc/helpers": "^0.4.14"
},
"peerDependencies": {
"@types/react": ">=16.8.0 <19.0.0",
@@ -58,6 +58,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/react-checkbox/.babelrc.json b/packages/react-components/react-checkbox/.babelrc.json
index 40e01373083ce..45fb71ca16d2c 100644
--- a/packages/react-components/react-checkbox/.babelrc.json
+++ b/packages/react-components/react-checkbox/.babelrc.json
@@ -1,4 +1,4 @@
{
- "presets": ["@griffel"],
+ "extends": "../../../.babelrc-v9.json",
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/react-checkbox/.swcrc b/packages/react-components/react-checkbox/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/react-checkbox/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/react-checkbox/CHANGELOG.json b/packages/react-components/react-checkbox/CHANGELOG.json
index cfd166ba5cee6..a358e39a30e5a 100644
--- a/packages/react-components/react-checkbox/CHANGELOG.json
+++ b/packages/react-components/react-checkbox/CHANGELOG.json
@@ -1,6 +1,108 @@
{
"name": "@fluentui/react-checkbox",
"entries": [
+ {
+ "date": "Tue, 21 Mar 2023 21:23:27 GMT",
+ "tag": "@fluentui/react-checkbox_v9.1.5",
+ "version": "9.1.5",
+ "comments": {
+ "patch": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-checkbox",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-checkbox",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-checkbox",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-checkbox",
+ "comment": "Bump @fluentui/react-field to v9.0.0-alpha.27",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-checkbox",
+ "comment": "Bump @fluentui/react-label to v9.1.5",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-checkbox",
+ "comment": "Bump @fluentui/react-shared-contexts to v9.3.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-checkbox",
+ "comment": "Bump @fluentui/react-tabster to v9.6.1",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-checkbox",
+ "comment": "Bump @fluentui/react-theme to v9.1.7",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-checkbox",
+ "comment": "Bump @fluentui/react-utilities to v9.7.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-checkbox",
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Thu, 16 Mar 2023 14:36:59 GMT",
+ "tag": "@fluentui/react-checkbox_v9.1.4",
+ "version": "9.1.4",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-checkbox",
+ "comment": "Bump @fluentui/react-field to v9.0.0-alpha.26",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-checkbox",
+ "comment": "Bump @fluentui/react-label to v9.1.4",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-checkbox",
+ "comment": "Bump @fluentui/react-tabster to v9.6.0",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-checkbox",
+ "comment": "Bump @fluentui/react-utilities to v9.7.1",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ }
+ ]
+ }
+ },
{
"date": "Wed, 15 Mar 2023 10:19:53 GMT",
"tag": "@fluentui/react-checkbox_v9.1.3",
diff --git a/packages/react-components/react-checkbox/CHANGELOG.md b/packages/react-components/react-checkbox/CHANGELOG.md
index c830f5953fa2c..5fc55e2ca7a24 100644
--- a/packages/react-components/react-checkbox/CHANGELOG.md
+++ b/packages/react-components/react-checkbox/CHANGELOG.md
@@ -1,9 +1,39 @@
# Change Log - @fluentui/react-checkbox
-This log was last generated on Wed, 15 Mar 2023 10:19:53 GMT and should not be manually modified.
+This log was last generated on Tue, 21 Mar 2023 21:23:27 GMT and should not be manually modified.
+## [9.1.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.1.5)
+
+Tue, 21 Mar 2023 21:23:27 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.1.4..@fluentui/react-checkbox_v9.1.5)
+
+### Patches
+
+- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+- Bump @fluentui/react-field to v9.0.0-alpha.27 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-label to v9.1.5 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-shared-contexts to v9.3.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-tabster to v9.6.1 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-theme to v9.1.7 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-utilities to v9.7.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+
+## [9.1.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.1.4)
+
+Thu, 16 Mar 2023 14:36:59 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.1.3..@fluentui/react-checkbox_v9.1.4)
+
+### Patches
+
+- Bump @fluentui/react-field to v9.0.0-alpha.26 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-label to v9.1.4 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-tabster to v9.6.0 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-utilities to v9.7.1 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+
## [9.1.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.1.3)
Wed, 15 Mar 2023 10:19:53 GMT
diff --git a/packages/react-components/react-checkbox/just.config.ts b/packages/react-components/react-checkbox/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/react-checkbox/just.config.ts
+++ b/packages/react-components/react-checkbox/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/react-checkbox/package.json b/packages/react-components/react-checkbox/package.json
index f6c87dc40fba9..005111b68906d 100644
--- a/packages/react-components/react-checkbox/package.json
+++ b/packages/react-components/react-checkbox/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/react-checkbox",
- "version": "9.1.3",
+ "version": "9.1.6",
"description": "Fluent UI checkbox component",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -22,25 +22,25 @@
"test": "jest --passWithNoTests",
"storybook": "start-storybook",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/react-conformance": "*",
- "@fluentui/react-conformance-griffel": "9.0.0-beta.19",
+ "@fluentui/react-conformance-griffel": "9.0.0-beta.20",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/react-field": "9.0.0-alpha.25",
- "@fluentui/react-icons": "^2.0.175",
- "@fluentui/react-label": "^9.1.3",
- "@fluentui/react-shared-contexts": "^9.3.1",
- "@fluentui/react-tabster": "^9.5.7",
- "@fluentui/react-theme": "^9.1.6",
- "@fluentui/react-utilities": "^9.7.0",
+ "@fluentui/react-field": "9.0.0-alpha.28",
+ "@fluentui/react-icons": "^2.0.196",
+ "@fluentui/react-label": "^9.1.6",
+ "@fluentui/react-shared-contexts": "^9.3.3",
+ "@fluentui/react-tabster": "^9.6.2",
+ "@fluentui/react-theme": "^9.1.7",
+ "@fluentui/react-utilities": "^9.7.2",
"@griffel/react": "^1.5.2",
- "tslib": "^2.1.0"
+ "@swc/helpers": "^0.4.14"
},
"peerDependencies": {
"@types/react": ">=16.8.0 <19.0.0",
@@ -57,6 +57,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/react-checkbox/src/components/Checkbox/__snapshots__/Checkbox.test.tsx.snap b/packages/react-components/react-checkbox/src/components/Checkbox/__snapshots__/Checkbox.test.tsx.snap
index 922705a2db39f..f9edea5ad50c4 100644
--- a/packages/react-components/react-checkbox/src/components/Checkbox/__snapshots__/Checkbox.test.tsx.snap
+++ b/packages/react-components/react-checkbox/src/components/Checkbox/__snapshots__/Checkbox.test.tsx.snap
@@ -71,7 +71,7 @@ exports[`Checkbox renders checked 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
@@ -110,7 +110,7 @@ exports[`Checkbox renders mixed 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
diff --git a/packages/react-components/react-checkbox/src/components/Checkbox/useCheckboxStyles.ts b/packages/react-components/react-checkbox/src/components/Checkbox/useCheckboxStyles.ts
index 0eb3cffda9e34..cccbf7712cd8d 100644
--- a/packages/react-components/react-checkbox/src/components/Checkbox/useCheckboxStyles.ts
+++ b/packages/react-components/react-checkbox/src/components/Checkbox/useCheckboxStyles.ts
@@ -19,6 +19,7 @@ const useRootBaseClassName = makeResetStyles({
position: 'relative',
display: 'inline-flex',
cursor: 'pointer',
+ verticalAlign: 'middle',
color: tokens.colorNeutralForeground3,
...createFocusOutlineStyle({ style: {}, selector: 'focus-within' }),
});
diff --git a/packages/react-components/react-combobox/.babelrc.json b/packages/react-components/react-combobox/.babelrc.json
index 40e01373083ce..45fb71ca16d2c 100644
--- a/packages/react-components/react-combobox/.babelrc.json
+++ b/packages/react-components/react-combobox/.babelrc.json
@@ -1,4 +1,4 @@
{
- "presets": ["@griffel"],
+ "extends": "../../../.babelrc-v9.json",
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/react-combobox/.swcrc b/packages/react-components/react-combobox/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/react-combobox/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/react-combobox/CHANGELOG.json b/packages/react-components/react-combobox/CHANGELOG.json
index 9cbd7bd68b42a..f2ab727ba803c 100644
--- a/packages/react-components/react-combobox/CHANGELOG.json
+++ b/packages/react-components/react-combobox/CHANGELOG.json
@@ -1,6 +1,141 @@
{
"name": "@fluentui/react-combobox",
"entries": [
+ {
+ "date": "Fri, 24 Mar 2023 14:58:55 GMT",
+ "tag": "@fluentui/react-combobox_v9.2.6",
+ "version": "9.2.6",
+ "comments": {
+ "none": [
+ {
+ "author": "lingfangao@hotmail.com",
+ "package": "@fluentui/react-combobox",
+ "commit": "0f198d87130e4f9fcacdaa187b850e507e0b1ec8",
+ "comment": "Sync with latest released version on npm"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Tue, 21 Mar 2023 21:23:28 GMT",
+ "tag": "@fluentui/react-combobox_v9.2.5",
+ "version": "9.2.5",
+ "comments": {
+ "patch": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-combobox",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-combobox",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-combobox",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-combobox",
+ "comment": "Bump @fluentui/keyboard-keys to v9.0.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-combobox",
+ "comment": "Bump @fluentui/react-context-selector to v9.1.15",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-combobox",
+ "comment": "Bump @fluentui/react-field to v9.0.0-alpha.27",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-combobox",
+ "comment": "Bump @fluentui/react-portal to v9.2.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-combobox",
+ "comment": "Bump @fluentui/react-positioning to v9.5.6",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-combobox",
+ "comment": "Bump @fluentui/react-shared-contexts to v9.3.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-combobox",
+ "comment": "Bump @fluentui/react-theme to v9.1.7",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-combobox",
+ "comment": "Bump @fluentui/react-utilities to v9.7.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-combobox",
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Thu, 16 Mar 2023 14:36:59 GMT",
+ "tag": "@fluentui/react-combobox_v9.2.4",
+ "version": "9.2.4",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-combobox",
+ "comment": "Bump @fluentui/react-context-selector to v9.1.14",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-combobox",
+ "comment": "Bump @fluentui/react-field to v9.0.0-alpha.26",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-combobox",
+ "comment": "Bump @fluentui/react-portal to v9.2.1",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-combobox",
+ "comment": "Bump @fluentui/react-positioning to v9.5.5",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-combobox",
+ "comment": "Bump @fluentui/react-utilities to v9.7.1",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ }
+ ]
+ }
+ },
{
"date": "Wed, 15 Mar 2023 10:19:53 GMT",
"tag": "@fluentui/react-combobox_v9.2.3",
diff --git a/packages/react-components/react-combobox/CHANGELOG.md b/packages/react-components/react-combobox/CHANGELOG.md
index 8447b4597741b..95a550fa03376 100644
--- a/packages/react-components/react-combobox/CHANGELOG.md
+++ b/packages/react-components/react-combobox/CHANGELOG.md
@@ -1,9 +1,42 @@
# Change Log - @fluentui/react-combobox
-This log was last generated on Wed, 15 Mar 2023 10:19:53 GMT and should not be manually modified.
+This log was last generated on Tue, 21 Mar 2023 21:23:28 GMT and should not be manually modified.
+## [9.2.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-combobox_v9.2.5)
+
+Tue, 21 Mar 2023 21:23:28 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-combobox_v9.2.4..@fluentui/react-combobox_v9.2.5)
+
+### Patches
+
+- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+- Bump @fluentui/keyboard-keys to v9.0.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-context-selector to v9.1.15 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-field to v9.0.0-alpha.27 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-portal to v9.2.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-positioning to v9.5.6 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-shared-contexts to v9.3.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-theme to v9.1.7 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-utilities to v9.7.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+
+## [9.2.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-combobox_v9.2.4)
+
+Thu, 16 Mar 2023 14:36:59 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-combobox_v9.2.3..@fluentui/react-combobox_v9.2.4)
+
+### Patches
+
+- Bump @fluentui/react-context-selector to v9.1.14 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-field to v9.0.0-alpha.26 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-portal to v9.2.1 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-positioning to v9.5.5 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-utilities to v9.7.1 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+
## [9.2.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-combobox_v9.2.3)
Wed, 15 Mar 2023 10:19:53 GMT
diff --git a/packages/react-components/react-combobox/just.config.ts b/packages/react-components/react-combobox/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/react-combobox/just.config.ts
+++ b/packages/react-components/react-combobox/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/react-combobox/package.json b/packages/react-components/react-combobox/package.json
index 6d74b2b857719..91254c8848fe1 100644
--- a/packages/react-components/react-combobox/package.json
+++ b/packages/react-components/react-combobox/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/react-combobox",
- "version": "9.2.3",
+ "version": "9.2.6",
"description": "Fluent UI React Combobox component",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -22,27 +22,27 @@
"test": "jest --passWithNoTests",
"storybook": "start-storybook",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/react-conformance": "*",
- "@fluentui/react-conformance-griffel": "9.0.0-beta.19",
+ "@fluentui/react-conformance-griffel": "9.0.0-beta.20",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/keyboard-keys": "^9.0.1",
- "@fluentui/react-context-selector": "^9.1.13",
- "@fluentui/react-field": "9.0.0-alpha.25",
- "@fluentui/react-icons": "^2.0.175",
- "@fluentui/react-portal": "^9.2.0",
- "@fluentui/react-positioning": "^9.5.4",
- "@fluentui/react-shared-contexts": "^9.3.1",
- "@fluentui/react-theme": "^9.1.6",
- "@fluentui/react-utilities": "^9.7.0",
+ "@fluentui/keyboard-keys": "^9.0.2",
+ "@fluentui/react-context-selector": "^9.1.15",
+ "@fluentui/react-field": "9.0.0-alpha.28",
+ "@fluentui/react-icons": "^2.0.196",
+ "@fluentui/react-portal": "^9.2.3",
+ "@fluentui/react-positioning": "^9.5.7",
+ "@fluentui/react-shared-contexts": "^9.3.3",
+ "@fluentui/react-theme": "^9.1.7",
+ "@fluentui/react-utilities": "^9.7.2",
"@griffel/react": "^1.5.2",
- "tslib": "^2.1.0"
+ "@swc/helpers": "^0.4.14"
},
"peerDependencies": {
"@types/react": ">=16.8.0 <19.0.0",
@@ -52,7 +52,6 @@
"scheduler": "^0.19.0 || ^0.20.0"
},
"beachball": {
- "tag": "beta",
"disallowedChangeTypes": [
"major",
"prerelease"
@@ -61,6 +60,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/react-combobox/src/components/Combobox/__snapshots__/Combobox.test.tsx.snap b/packages/react-components/react-combobox/src/components/Combobox/__snapshots__/Combobox.test.tsx.snap
index 68106a0997cbb..d89b270595bd1 100644
--- a/packages/react-components/react-combobox/src/components/Combobox/__snapshots__/Combobox.test.tsx.snap
+++ b/packages/react-components/react-combobox/src/components/Combobox/__snapshots__/Combobox.test.tsx.snap
@@ -28,7 +28,7 @@ exports[`Combobox renders a default state 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
@@ -66,7 +66,7 @@ exports[`Combobox renders an open listbox 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
@@ -97,7 +97,7 @@ exports[`Combobox renders an open listbox 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
@@ -124,7 +124,7 @@ exports[`Combobox renders an open listbox 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
@@ -151,7 +151,7 @@ exports[`Combobox renders an open listbox 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
diff --git a/packages/react-components/react-combobox/src/components/Dropdown/__snapshots__/Dropdown.test.tsx.snap b/packages/react-components/react-combobox/src/components/Dropdown/__snapshots__/Dropdown.test.tsx.snap
index 74ee1175af7b7..7badb03aa202f 100644
--- a/packages/react-components/react-combobox/src/components/Dropdown/__snapshots__/Dropdown.test.tsx.snap
+++ b/packages/react-components/react-combobox/src/components/Dropdown/__snapshots__/Dropdown.test.tsx.snap
@@ -24,7 +24,7 @@ exports[`Dropdown renders a default state 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
@@ -59,7 +59,7 @@ exports[`Dropdown renders an open listbox 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
@@ -91,7 +91,7 @@ exports[`Dropdown renders an open listbox 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
@@ -118,7 +118,7 @@ exports[`Dropdown renders an open listbox 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
@@ -145,7 +145,7 @@ exports[`Dropdown renders an open listbox 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
diff --git a/packages/react-components/react-combobox/src/components/Listbox/__snapshots__/Listbox.test.tsx.snap b/packages/react-components/react-combobox/src/components/Listbox/__snapshots__/Listbox.test.tsx.snap
index cede3dea221d4..310d148601f65 100644
--- a/packages/react-components/react-combobox/src/components/Listbox/__snapshots__/Listbox.test.tsx.snap
+++ b/packages/react-components/react-combobox/src/components/Listbox/__snapshots__/Listbox.test.tsx.snap
@@ -27,7 +27,7 @@ exports[`Listbox renders a default state 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
@@ -54,7 +54,7 @@ exports[`Listbox renders a default state 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
@@ -81,7 +81,7 @@ exports[`Listbox renders a default state 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
@@ -119,7 +119,7 @@ exports[`Listbox renders with a selected option 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
@@ -146,7 +146,7 @@ exports[`Listbox renders with a selected option 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
@@ -173,7 +173,7 @@ exports[`Listbox renders with a selected option 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
diff --git a/packages/react-components/react-combobox/src/components/Option/__snapshots__/Option.test.tsx.snap b/packages/react-components/react-combobox/src/components/Option/__snapshots__/Option.test.tsx.snap
index bad9d25f8493e..56e7a40898ccd 100644
--- a/packages/react-components/react-combobox/src/components/Option/__snapshots__/Option.test.tsx.snap
+++ b/packages/react-components/react-combobox/src/components/Option/__snapshots__/Option.test.tsx.snap
@@ -39,7 +39,7 @@ exports[`Option renders a default single-select state 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
@@ -71,7 +71,7 @@ exports[`Option renders a selected multi-select state 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
diff --git a/packages/react-components/react-components/.babelrc.json b/packages/react-components/react-components/.babelrc.json
index 40e01373083ce..45fb71ca16d2c 100644
--- a/packages/react-components/react-components/.babelrc.json
+++ b/packages/react-components/react-components/.babelrc.json
@@ -1,4 +1,4 @@
{
- "presets": ["@griffel"],
+ "extends": "../../../.babelrc-v9.json",
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/react-components/.swcrc b/packages/react-components/react-components/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/react-components/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/react-components/CHANGELOG.json b/packages/react-components/react-components/CHANGELOG.json
index 678e4124ecacd..1b8c45e111cb7 100644
--- a/packages/react-components/react-components/CHANGELOG.json
+++ b/packages/react-components/react-components/CHANGELOG.json
@@ -1,6 +1,983 @@
{
"name": "@fluentui/react-components",
"entries": [
+ {
+ "date": "Fri, 24 Mar 2023 17:36:41 GMT",
+ "tag": "@fluentui/react-components_v9.18.6",
+ "version": "9.18.6",
+ "comments": {
+ "patch": [
+ {
+ "author": "lingfangao@hotmail.com",
+ "package": "@fluentui/react-components",
+ "commit": "899de68739acdff9e641a1baedec097a6bc07309",
+ "comment": "Bump react-select to 9.1.6"
+ }
+ ],
+ "none": [
+ {
+ "author": "lingfangao@hotmail.com",
+ "package": "@fluentui/react-select",
+ "commit": "899de68739acdff9e641a1baedec097a6bc07309",
+ "comment": "Sync with npm released version"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Fri, 24 Mar 2023 14:58:55 GMT",
+ "tag": "@fluentui/react-components_v9.18.5",
+ "version": "9.18.5",
+ "comments": {
+ "none": [
+ {
+ "author": "lingfangao@hotmail.com",
+ "package": "@fluentui/react-combobox",
+ "commit": "0f198d87130e4f9fcacdaa187b850e507e0b1ec8",
+ "comment": "Sync with latest released version on npm"
+ }
+ ],
+ "patch": [
+ {
+ "author": "lingfangao@hotmail.com",
+ "package": "@fluentui/react-components",
+ "commit": "0f198d87130e4f9fcacdaa187b850e507e0b1ec8",
+ "comment": "fix: Bump @fluenti/react-combobox to 9.2.6"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Fri, 24 Mar 2023 10:15:26 GMT",
+ "tag": "@fluentui/react-components_v9.18.4",
+ "version": "9.18.4",
+ "comments": {
+ "patch": [
+ {
+ "author": "mifraser@microsoft.com",
+ "package": "@fluentui/react-components",
+ "commit": "19801e7edc22f433eeace3cf636f4722ea02a36b",
+ "comment": "feat: Add static measurement hooks and embedded scroll option to react-virtualizer"
+ }
+ ],
+ "minor": [
+ {
+ "author": "lingfangao@hotmail.com",
+ "package": "@fluentui/react-provider",
+ "commit": "64d2ec1f40281eab9337df6d6065edef9ad0d312",
+ "comment": "feat: Render theme CSS variables in SSR style element"
+ }
+ ],
+ "prerelease": [
+ {
+ "author": "petrduda@microsoft.com",
+ "package": "@fluentui/react-tree",
+ "commit": "b19ad44388b93ade650d5c46802b82fa7419e6b4",
+ "comment": "tree stories and doc update"
+ },
+ {
+ "author": "mifraser@microsoft.com",
+ "package": "@fluentui/react-virtualizer",
+ "commit": "19801e7edc22f433eeace3cf636f4722ea02a36b",
+ "comment": "[feat] Add static measurement hooks and embedded scroll option"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Tue, 21 Mar 2023 21:22:58 GMT",
+ "tag": "@fluentui/react-components_v9.18.3",
+ "version": "9.18.3",
+ "comments": {
+ "patch": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-shared-contexts",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-shared-contexts",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-slider",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-slider",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-spinbutton",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-spinbutton",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-spinbutton",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-spinner",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-spinner",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-switch",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "lingfangao@hotmail.com",
+ "package": "@fluentui/react-switch",
+ "commit": "1a45088ee3492f352e23748539bf207af57f99a8",
+ "comment": "fix: Make checked switch more visible in high contrast mode"
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-switch",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-switch",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-table",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-table",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-table",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-tabs",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-tabs",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-tabster",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-tabster",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-text",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-text",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-textarea",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-textarea",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-theme",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-theme",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-toolbar",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-toolbar",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-tooltip",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-tooltip",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "bernardo.sunderhus@gmail.com",
+ "package": "@fluentui/react-utilities",
+ "commit": "a3463ec7ba84fce450b4a03c989806ba4e11c5e1",
+ "comment": "chore: exports isHTMLElement as public"
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-utilities",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-utilities",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/keyboard-keys",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/keyboard-keys",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/priority-overflow",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/priority-overflow",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-accordion",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-accordion",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-accordion",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-aria",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-aria",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-avatar",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-avatar",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-avatar",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-badge",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-badge",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-badge",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-badge",
+ "commit": "9bba9cabc4f410930d3acb18cbe5f1d9c867c7f0",
+ "comment": "fix: Adding the correct icons to away+out-of-office PresenceBadges and adding the correct icons to use in large PresenceBadges."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-button",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-button",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-button",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-card",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-card",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-checkbox",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-checkbox",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-checkbox",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-combobox",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-combobox",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-combobox",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-components",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-components",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-context-selector",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-context-selector",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-dialog",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "bernardo.sunderhus@gmail.com",
+ "package": "@fluentui/react-dialog",
+ "commit": "d015b6f9f91acc08c496f265ff9a102dc4c823f6",
+ "comment": "fix(DialogTitle): adds type=\"button\" to close action"
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-dialog",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-dialog",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-divider",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-divider",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-image",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-image",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-input",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-input",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-label",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-label",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-link",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-link",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-menu",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-menu",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "lingfangao@hotmail.com",
+ "package": "@fluentui/react-menu",
+ "commit": "c0dd0a6ee291bd38efc4d4a37de6bdfef3bf10da",
+ "comment": "fix(MenuItem): Disabled should render correctly in high contrast mode"
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-menu",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-migration-v8-v9",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-migration-v8-v9",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-migration-v8-v9",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-overflow",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-overflow",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-persona",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-persona",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-popover",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-popover",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-portal",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-portal",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-portal-compat",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-portal-compat",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-portal-compat-context",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-portal-compat-context",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-positioning",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-positioning",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-progress",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-progress",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-provider",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-provider",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-radio",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-radio",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-radio",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-select",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-select",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-select",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ }
+ ],
+ "prerelease": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-skeleton",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-skeleton",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-theme-sass",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-theme-sass",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-tree",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "olfedias@microsoft.com",
+ "package": "@fluentui/react-tree",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-tree",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "email not defined",
+ "package": "@fluentui/react-tree",
+ "commit": "d7016bf89107ba2c8b22596b5e4b5ce4d32f99b0",
+ "comment": "chore: adds initial e2e cypress tests"
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-virtualizer",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-virtualizer",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/tokens",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/tokens",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/babel-preset-global-context",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/babel-preset-global-context",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/global-context",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/global-context",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-alert",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-alert",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-alert",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-conformance-griffel",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-conformance-griffel",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-data-grid-react-window",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-data-grid-react-window",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-field",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-field",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-field",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-infobutton",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-infobutton",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-infobutton",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ }
+ ]
+ }
+ },
+ {
+ "date": "Thu, 16 Mar 2023 14:36:56 GMT",
+ "tag": "@fluentui/react-components_v9.18.2",
+ "version": "9.18.2",
+ "comments": {
+ "patch": [
+ {
+ "author": "behowell@microsoft.com",
+ "package": "@fluentui/react-components",
+ "commit": "b106479e831318cfb3ddf10871e4240530498f31",
+ "comment": "chore: Export InfoLabel from react-components/unstable"
+ },
+ {
+ "author": "lingfangao@hotmail.com",
+ "package": "@fluentui/react-dialog",
+ "commit": "a3ad6f25502d8ec77c9376eaa09ed7d1238f6c73",
+ "comment": "fix(DialogBody): Remove `maxWidth` style"
+ },
+ {
+ "author": "olfedias@microsoft.com",
+ "package": "@fluentui/react-provider",
+ "commit": "fe1014bbcd770a7b38a3a9a09595e93297c2da26",
+ "comment": "fix: pass proper document instance to useFocusVisible()"
+ },
+ {
+ "author": "bernardo.sunderhus@gmail.com",
+ "package": "@fluentui/react-utilities",
+ "commit": "d3418e0a4afe8fbe4d9e375e85c3b6eccc6ccd68",
+ "comment": "fix(getSlots): stops slotProps.slot to be typed as never"
+ }
+ ],
+ "minor": [
+ {
+ "author": "lingfangao@hotmail.com",
+ "package": "@fluentui/react-dialog",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81",
+ "comment": "feat(DialogActions): Implment `fluid` prop"
+ },
+ {
+ "author": "olfedias@microsoft.com",
+ "package": "@fluentui/react-tabster",
+ "commit": "fe1014bbcd770a7b38a3a9a09595e93297c2da26",
+ "comment": "feat: add options to useFocusVisible() hook"
+ }
+ ],
+ "prerelease": [
+ {
+ "author": "behowell@microsoft.com",
+ "package": "@fluentui/react-infobutton",
+ "commit": "b106479e831318cfb3ddf10871e4240530498f31",
+ "comment": "feat: Add InfoLabel component"
+ }
+ ]
+ }
+ },
{
"date": "Wed, 15 Mar 2023 10:19:50 GMT",
"tag": "@fluentui/react-components_v9.18.1",
diff --git a/packages/react-components/react-components/CHANGELOG.md b/packages/react-components/react-components/CHANGELOG.md
index 1d23887635d40..45bb468a27c55 100644
--- a/packages/react-components/react-components/CHANGELOG.md
+++ b/packages/react-components/react-components/CHANGELOG.md
@@ -1,9 +1,285 @@
# Change Log - @fluentui/react-components
-This log was last generated on Wed, 15 Mar 2023 10:19:50 GMT and should not be manually modified.
+This log was last generated on Fri, 24 Mar 2023 17:36:41 GMT and should not be manually modified.
+## [9.18.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-components_v9.18.6)
+
+Fri, 24 Mar 2023 17:36:41 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-components_v9.18.5..@fluentui/react-components_v9.18.6)
+
+### Patches
+
+- `@fluentui/react-components`
+ - Bump react-select to 9.1.6 ([PR #27321](https://github.com/microsoft/fluentui/pull/27321) by lingfangao@hotmail.com)
+
+## [9.18.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-components_v9.18.5)
+
+Fri, 24 Mar 2023 14:58:55 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-components_v9.18.4..@fluentui/react-components_v9.18.5)
+
+### Patches
+
+- `@fluentui/react-components`
+ - fix: Bump @fluenti/react-combobox to 9.2.6 ([PR #27319](https://github.com/microsoft/fluentui/pull/27319) by lingfangao@hotmail.com)
+
+## [9.18.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-components_v9.18.4)
+
+Fri, 24 Mar 2023 10:15:26 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-components_v9.18.3..@fluentui/react-components_v9.18.4)
+
+### Minor changes
+
+- `@fluentui/react-provider`
+ - feat: Render theme CSS variables in SSR style element ([PR #27277](https://github.com/microsoft/fluentui/pull/27277) by lingfangao@hotmail.com)
+
+### Patches
+
+- `@fluentui/react-components`
+ - feat: Add static measurement hooks and embedded scroll option to react-virtualizer ([PR #26985](https://github.com/microsoft/fluentui/pull/26985) by mifraser@microsoft.com)
+
+### Changes
+
+- `@fluentui/react-tree`
+ - tree stories and doc update ([PR #27270](https://github.com/microsoft/fluentui/pull/27270) by petrduda@microsoft.com)
+- `@fluentui/react-virtualizer`
+ - [feat] Add static measurement hooks and embedded scroll option ([PR #26985](https://github.com/microsoft/fluentui/pull/26985) by mifraser@microsoft.com)
+
+## [9.18.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-components_v9.18.3)
+
+Tue, 21 Mar 2023 21:22:58 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-components_v9.18.2..@fluentui/react-components_v9.18.3)
+
+### Patches
+
+- `@fluentui/react-shared-contexts`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-slider`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-spinbutton`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+- `@fluentui/react-spinner`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-switch`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - fix: Make checked switch more visible in high contrast mode ([PR #27257](https://github.com/microsoft/fluentui/pull/27257) by lingfangao@hotmail.com)
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-table`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+- `@fluentui/react-tabs`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-tabster`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-text`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-textarea`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-theme`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-toolbar`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-tooltip`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-utilities`
+ - chore: exports isHTMLElement as public ([PR #27178](https://github.com/microsoft/fluentui/pull/27178) by bernardo.sunderhus@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/keyboard-keys`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/priority-overflow`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-accordion`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-aria`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-avatar`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+- `@fluentui/react-badge`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: Adding the correct icons to away+out-of-office PresenceBadges and adding the correct icons to use in large PresenceBadges. ([PR #27253](https://github.com/microsoft/fluentui/pull/27253) by makotom@microsoft.com)
+- `@fluentui/react-button`
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-card`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-checkbox`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+- `@fluentui/react-combobox`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+- `@fluentui/react-components`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-context-selector`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-dialog`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix(DialogTitle): adds type="button" to close action ([PR #27247](https://github.com/microsoft/fluentui/pull/27247) by bernardo.sunderhus@gmail.com)
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-divider`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-image`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-input`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-label`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-link`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-menu`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix(MenuItem): Disabled should render correctly in high contrast mode ([PR #27258](https://github.com/microsoft/fluentui/pull/27258) by lingfangao@hotmail.com)
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+- `@fluentui/react-migration-v8-v9`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+- `@fluentui/react-overflow`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-persona`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-popover`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-portal`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-portal-compat`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-portal-compat-context`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-positioning`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-progress`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-provider`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-radio`
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-select`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+
+### Changes
+
+- `@fluentui/react-skeleton`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-theme-sass`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-tree`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by olfedias@microsoft.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: adds initial e2e cypress tests ([PR #27266](https://github.com/microsoft/fluentui/pull/27266) by email not defined)
+- `@fluentui/react-virtualizer`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/tokens`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/babel-preset-global-context`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/global-context`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-alert`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-conformance-griffel`
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-data-grid-react-window`
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- `@fluentui/react-field`
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- `@fluentui/react-infobutton`
+ - chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+ - fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+ - chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+
+## [9.18.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-components_v9.18.2)
+
+Thu, 16 Mar 2023 14:36:56 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-components_v9.18.1..@fluentui/react-components_v9.18.2)
+
+### Minor changes
+
+- `@fluentui/react-dialog`
+ - feat(DialogActions): Implment `fluid` prop ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by lingfangao@hotmail.com)
+- `@fluentui/react-tabster`
+ - feat: add options to useFocusVisible() hook ([PR #27198](https://github.com/microsoft/fluentui/pull/27198) by olfedias@microsoft.com)
+
+### Patches
+
+- `@fluentui/react-components`
+ - chore: Export InfoLabel from react-components/unstable ([PR #27118](https://github.com/microsoft/fluentui/pull/27118) by behowell@microsoft.com)
+- `@fluentui/react-dialog`
+ - fix(DialogBody): Remove `maxWidth` style ([PR #27230](https://github.com/microsoft/fluentui/pull/27230) by lingfangao@hotmail.com)
+- `@fluentui/react-provider`
+ - fix: pass proper document instance to useFocusVisible() ([PR #27198](https://github.com/microsoft/fluentui/pull/27198) by olfedias@microsoft.com)
+- `@fluentui/react-utilities`
+ - fix(getSlots): stops slotProps.slot to be typed as never ([PR #27231](https://github.com/microsoft/fluentui/pull/27231) by bernardo.sunderhus@gmail.com)
+
+### Changes
+
+- `@fluentui/react-infobutton`
+ - feat: Add InfoLabel component ([PR #27118](https://github.com/microsoft/fluentui/pull/27118) by behowell@microsoft.com)
+
## [9.18.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-components_v9.18.1)
Wed, 15 Mar 2023 10:19:50 GMT
diff --git a/packages/react-components/react-components/etc/react-components.unstable.api.md b/packages/react-components/react-components/etc/react-components.unstable.api.md
index 536698590ea8a..16f7745139fa9 100644
--- a/packages/react-components/react-components/etc/react-components.unstable.api.md
+++ b/packages/react-components/react-components/etc/react-components.unstable.api.md
@@ -56,6 +56,7 @@ import { renderTreeItem_unstable } from '@fluentui/react-tree';
import { renderTreeItemLayout_unstable } from '@fluentui/react-tree';
import { renderTreeItemPersonaLayout_unstable } from '@fluentui/react-tree';
import { renderVirtualizer_unstable } from '@fluentui/react-virtualizer';
+import { renderVirtualizerScrollView_unstable } from '@fluentui/react-virtualizer';
import { SelectField_unstable as SelectField } from '@fluentui/react-select';
import { selectFieldClassNames } from '@fluentui/react-select';
import { SelectFieldProps_unstable as SelectFieldProps } from '@fluentui/react-select';
@@ -127,6 +128,7 @@ import { useSkeletonContext } from '@fluentui/react-skeleton';
import { useSkeletonItem_unstable } from '@fluentui/react-skeleton';
import { useSkeletonItemStyles_unstable } from '@fluentui/react-skeleton';
import { useSkeletonStyles_unstable } from '@fluentui/react-skeleton';
+import { useStaticVirtualizerMeasure } from '@fluentui/react-virtualizer';
import { useTree_unstable } from '@fluentui/react-tree';
import { useTreeContext_unstable } from '@fluentui/react-tree';
import { useTreeItem_unstable } from '@fluentui/react-tree';
@@ -138,11 +140,18 @@ import { useTreeItemPersonaLayoutStyles_unstable } from '@fluentui/react-tree';
import { useTreeItemStyles_unstable } from '@fluentui/react-tree';
import { useTreeStyles_unstable } from '@fluentui/react-tree';
import { useVirtualizer_unstable } from '@fluentui/react-virtualizer';
+import { useVirtualizerScrollView_unstable } from '@fluentui/react-virtualizer';
+import { useVirtualizerScrollViewStyles_unstable } from '@fluentui/react-virtualizer';
import { useVirtualizerStyles_unstable } from '@fluentui/react-virtualizer';
import { Virtualizer } from '@fluentui/react-virtualizer';
import { VirtualizerChildRenderFunction } from '@fluentui/react-virtualizer';
import { virtualizerClassNames } from '@fluentui/react-virtualizer';
import { VirtualizerProps } from '@fluentui/react-virtualizer';
+import { VirtualizerScrollView } from '@fluentui/react-virtualizer';
+import { virtualizerScrollViewClassNames } from '@fluentui/react-virtualizer';
+import { VirtualizerScrollViewProps } from '@fluentui/react-virtualizer';
+import { VirtualizerScrollViewSlots } from '@fluentui/react-virtualizer';
+import { VirtualizerScrollViewState } from '@fluentui/react-virtualizer';
import { VirtualizerSlots } from '@fluentui/react-virtualizer';
import { VirtualizerState } from '@fluentui/react-virtualizer';
@@ -250,6 +259,8 @@ export { renderTreeItemPersonaLayout_unstable }
export { renderVirtualizer_unstable }
+export { renderVirtualizerScrollView_unstable }
+
export { SelectField }
export { selectFieldClassNames }
@@ -392,6 +403,8 @@ export { useSkeletonItemStyles_unstable }
export { useSkeletonStyles_unstable }
+export { useStaticVirtualizerMeasure }
+
export { useTree_unstable }
export { useTreeContext_unstable }
@@ -414,6 +427,10 @@ export { useTreeStyles_unstable }
export { useVirtualizer_unstable }
+export { useVirtualizerScrollView_unstable }
+
+export { useVirtualizerScrollViewStyles_unstable }
+
export { useVirtualizerStyles_unstable }
export { Virtualizer }
@@ -424,6 +441,16 @@ export { virtualizerClassNames }
export { VirtualizerProps }
+export { VirtualizerScrollView }
+
+export { virtualizerScrollViewClassNames }
+
+export { VirtualizerScrollViewProps }
+
+export { VirtualizerScrollViewSlots }
+
+export { VirtualizerScrollViewState }
+
export { VirtualizerSlots }
export { VirtualizerState }
diff --git a/packages/react-components/react-components/just.config.ts b/packages/react-components/react-components/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/react-components/just.config.ts
+++ b/packages/react-components/react-components/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/react-components/package.json b/packages/react-components/react-components/package.json
index 44e65e48f8670..4b26882a95bce 100644
--- a/packages/react-components/react-components/package.json
+++ b/packages/react-components/react-components/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/react-components",
- "version": "9.18.1",
+ "version": "9.18.6",
"description": "Suite package for converged React components",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -22,7 +22,7 @@
"storybook": "start-storybook",
"test": "jest --passWithNoTests",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
@@ -31,51 +31,51 @@
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/react-accordion": "^9.1.3",
- "@fluentui/react-alert": "9.0.0-beta.39",
- "@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-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-overflow": "^9.0.10",
- "@fluentui/react-persona": "^9.2.3",
- "@fluentui/react-portal": "^9.2.0",
- "@fluentui/react-popover": "^9.5.3",
- "@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-spinbutton": "^9.2.3",
- "@fluentui/react-spinner": "^9.1.3",
- "@fluentui/react-switch": "^9.1.3",
- "@fluentui/react-table": "^9.2.0",
- "@fluentui/react-tabs": "^9.3.3",
- "@fluentui/react-tabster": "^9.5.7",
- "@fluentui/react-textarea": "^9.3.3",
- "@fluentui/react-theme": "^9.1.6",
- "@fluentui/react-toolbar": "^9.1.3",
- "@fluentui/react-tooltip": "^9.2.3",
- "@fluentui/react-utilities": "^9.7.0",
- "@fluentui/react-text": "^9.3.0",
- "@fluentui/react-virtualizer": "9.0.0-alpha.11",
- "@fluentui/react-tree": "9.0.0-beta.4",
+ "@fluentui/react-accordion": "^9.1.6",
+ "@fluentui/react-alert": "9.0.0-beta.41",
+ "@fluentui/react-avatar": "^9.4.6",
+ "@fluentui/react-badge": "^9.1.6",
+ "@fluentui/react-button": "^9.3.6",
+ "@fluentui/react-card": "^9.0.4",
+ "@fluentui/react-checkbox": "^9.1.6",
+ "@fluentui/react-combobox": "^9.2.6",
+ "@fluentui/react-dialog": "^9.4.2",
+ "@fluentui/react-divider": "^9.2.6",
+ "@fluentui/react-field": "9.0.0-alpha.28",
+ "@fluentui/react-image": "^9.1.3",
+ "@fluentui/react-infobutton": "9.0.0-beta.24",
+ "@fluentui/react-input": "^9.4.6",
+ "@fluentui/react-label": "^9.1.6",
+ "@fluentui/react-link": "^9.0.32",
+ "@fluentui/react-menu": "^9.7.6",
+ "@fluentui/react-overflow": "^9.0.12",
+ "@fluentui/react-persona": "^9.2.5",
+ "@fluentui/react-portal": "^9.2.3",
+ "@fluentui/react-popover": "^9.5.6",
+ "@fluentui/react-positioning": "^9.5.7",
+ "@fluentui/react-progress": "^9.1.6",
+ "@fluentui/react-provider": "^9.5.0",
+ "@fluentui/react-radio": "^9.1.6",
+ "@fluentui/react-select": "^9.1.6",
+ "@fluentui/react-shared-contexts": "^9.3.3",
+ "@fluentui/react-skeleton": "9.0.0-beta.5",
+ "@fluentui/react-slider": "^9.1.6",
+ "@fluentui/react-spinbutton": "^9.2.6",
+ "@fluentui/react-spinner": "^9.1.6",
+ "@fluentui/react-switch": "^9.1.6",
+ "@fluentui/react-table": "^9.2.2",
+ "@fluentui/react-tabs": "^9.3.6",
+ "@fluentui/react-tabster": "^9.6.2",
+ "@fluentui/react-textarea": "^9.3.6",
+ "@fluentui/react-theme": "^9.1.7",
+ "@fluentui/react-toolbar": "^9.1.6",
+ "@fluentui/react-tooltip": "^9.2.6",
+ "@fluentui/react-utilities": "^9.7.2",
+ "@fluentui/react-text": "^9.3.3",
+ "@fluentui/react-virtualizer": "9.0.0-alpha.14",
+ "@fluentui/react-tree": "9.0.0-beta.8",
"@griffel/react": "^1.5.2",
- "tslib": "^2.1.0"
+ "@swc/helpers": "^0.4.14"
},
"peerDependencies": {
"@types/react": ">=16.8.0 <19.0.0",
@@ -92,14 +92,16 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
+ "./package.json": "./package.json",
"./unstable": {
"types": "./dist/unstable.d.ts",
+ "node": "./lib-commonjs/unstable/index.js",
"import": "./lib/unstable/index.js",
"require": "./lib-commonjs/unstable/index.js"
- },
- "./package.json": "./package.json"
+ }
}
}
diff --git a/packages/react-components/react-components/src/unstable/index.ts b/packages/react-components/react-components/src/unstable/index.ts
index 60eb1ef64ef74..f6728de03d1b2 100644
--- a/packages/react-components/react-components/src/unstable/index.ts
+++ b/packages/react-components/react-components/src/unstable/index.ts
@@ -120,12 +120,21 @@ export {
renderVirtualizer_unstable,
useVirtualizerStyles_unstable,
useIntersectionObserver,
+ useStaticVirtualizerMeasure,
+ VirtualizerScrollView,
+ virtualizerScrollViewClassNames,
+ useVirtualizerScrollView_unstable,
+ renderVirtualizerScrollView_unstable,
+ useVirtualizerScrollViewStyles_unstable,
} from '@fluentui/react-virtualizer';
export type {
VirtualizerProps,
VirtualizerState,
VirtualizerSlots,
VirtualizerChildRenderFunction,
+ VirtualizerScrollViewProps,
+ VirtualizerScrollViewState,
+ VirtualizerScrollViewSlots,
} from '@fluentui/react-virtualizer';
export {
diff --git a/packages/react-components/react-components/stories/Concepts/Positioning/PositioningImperativeAnchorTarget.stories.tsx b/packages/react-components/react-components/stories/Concepts/Positioning/PositioningImperativeAnchorTarget.stories.tsx
index bcefde074aaaa..2ac7ac873eafd 100644
--- a/packages/react-components/react-components/stories/Concepts/Positioning/PositioningImperativeAnchorTarget.stories.tsx
+++ b/packages/react-components/react-components/stories/Concepts/Positioning/PositioningImperativeAnchorTarget.stories.tsx
@@ -29,8 +29,9 @@ export const ImperativeAnchorTarget = () => {
setOpen(true);
}, []);
- const onMouseLeave = React.useCallback((e: React.MouseEvent) => {
- if (e.relatedTarget instanceof HTMLElement && e.relatedTarget.getAttribute('role') === 'tooltip') {
+ const onMouseLeave = React.useCallback((event: React.MouseEvent) => {
+ const target = event.relatedTarget as HTMLElement;
+ if (target && target.getAttribute('role') === 'tooltip') {
return;
}
setOpen(false);
diff --git a/packages/react-components/react-conformance-griffel/.babelrc.json b/packages/react-components/react-conformance-griffel/.babelrc.json
new file mode 100644
index 0000000000000..435587beba588
--- /dev/null
+++ b/packages/react-components/react-conformance-griffel/.babelrc.json
@@ -0,0 +1,3 @@
+{
+ "plugins": ["annotate-pure-calls"]
+}
diff --git a/packages/react-components/react-conformance-griffel/.swcrc b/packages/react-components/react-conformance-griffel/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/react-conformance-griffel/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/react-conformance-griffel/CHANGELOG.json b/packages/react-components/react-conformance-griffel/CHANGELOG.json
index 0ead6036d20f3..1ead2f1a04ff6 100644
--- a/packages/react-components/react-conformance-griffel/CHANGELOG.json
+++ b/packages/react-components/react-conformance-griffel/CHANGELOG.json
@@ -1,6 +1,27 @@
{
"name": "@fluentui/react-conformance-griffel",
"entries": [
+ {
+ "date": "Tue, 21 Mar 2023 21:23:30 GMT",
+ "tag": "@fluentui/react-conformance-griffel_v9.0.0-beta.20",
+ "version": "9.0.0-beta.20",
+ "comments": {
+ "prerelease": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-conformance-griffel",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-conformance-griffel",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ }
+ ]
+ }
+ },
{
"date": "Mon, 16 Jan 2023 08:38:59 GMT",
"tag": "@fluentui/react-conformance-griffel_v9.0.0-beta.19",
diff --git a/packages/react-components/react-conformance-griffel/CHANGELOG.md b/packages/react-components/react-conformance-griffel/CHANGELOG.md
index e4de43acdb7d6..e9b735e03d4ce 100644
--- a/packages/react-components/react-conformance-griffel/CHANGELOG.md
+++ b/packages/react-components/react-conformance-griffel/CHANGELOG.md
@@ -1,9 +1,19 @@
# Change Log - @fluentui/react-conformance-griffel
-This log was last generated on Wed, 04 Jan 2023 01:41:00 GMT and should not be manually modified.
+This log was last generated on Tue, 21 Mar 2023 21:23:30 GMT and should not be manually modified.
+## [9.0.0-beta.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-conformance-griffel_v9.0.0-beta.20)
+
+Tue, 21 Mar 2023 21:23:30 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-conformance-griffel_v9.0.0-beta.19..@fluentui/react-conformance-griffel_v9.0.0-beta.20)
+
+### Changes
+
+- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+
## [9.0.0-beta.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-conformance-griffel_v9.0.0-beta.19)
Wed, 04 Jan 2023 01:41:00 GMT
diff --git a/packages/react-components/react-conformance-griffel/just.config.ts b/packages/react-components/react-conformance-griffel/just.config.ts
index 242d94f1f0210..b7b2c9a33bf43 100644
--- a/packages/react-components/react-conformance-griffel/just.config.ts
+++ b/packages/react-components/react-conformance-griffel/just.config.ts
@@ -2,4 +2,4 @@ import { preset, task } from '@fluentui/scripts-tasks';
preset();
-task('build', 'build:node-lib').cached!();
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/react-conformance-griffel/package.json b/packages/react-components/react-conformance-griffel/package.json
index 8928ac5fb1d2d..7bf3d251b7978 100644
--- a/packages/react-components/react-conformance-griffel/package.json
+++ b/packages/react-components/react-conformance-griffel/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/react-conformance-griffel",
- "version": "9.0.0-beta.19",
+ "version": "9.0.0-beta.20",
"description": "A set of conformance tests for Griffel CSS-in-JS",
"main": "lib-commonjs/index.js",
"typings": "./dist/index.d.ts",
@@ -17,7 +17,7 @@
"lint": "just-scripts lint",
"test": "jest --passWithNoTests",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
@@ -29,11 +29,11 @@
"@types/react": ">=16.8.0 <19.0.0",
"@types/react-dom": ">=16.8.0 <19.0.0",
"typescript": "^4.3.0",
- "@fluentui/react-conformance": "^0.15.7"
+ "@fluentui/react-conformance": "^0.15.8"
},
"dependencies": {
"@griffel/react": "^1.5.2",
- "tslib": "^2.1.0"
+ "@swc/helpers": "^0.4.14"
},
"beachball": {
"disallowedChangeTypes": [
@@ -45,6 +45,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"require": "./lib-commonjs/index.js"
},
"./package.json": "./package.json"
diff --git a/packages/react-components/react-context-selector/.babelrc.json b/packages/react-components/react-context-selector/.babelrc.json
index 0b00fa93139ea..38bf1f7a945cf 100644
--- a/packages/react-components/react-context-selector/.babelrc.json
+++ b/packages/react-components/react-context-selector/.babelrc.json
@@ -1,4 +1,3 @@
{
- "presets": [],
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/react-context-selector/.swcrc b/packages/react-components/react-context-selector/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/react-context-selector/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/react-context-selector/CHANGELOG.json b/packages/react-components/react-context-selector/CHANGELOG.json
index ecbda5666b182..2a9275b3ec86e 100644
--- a/packages/react-components/react-context-selector/CHANGELOG.json
+++ b/packages/react-components/react-context-selector/CHANGELOG.json
@@ -1,6 +1,48 @@
{
"name": "@fluentui/react-context-selector",
"entries": [
+ {
+ "date": "Tue, 21 Mar 2023 21:23:30 GMT",
+ "tag": "@fluentui/react-context-selector_v9.1.15",
+ "version": "9.1.15",
+ "comments": {
+ "patch": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-context-selector",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-context-selector",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-context-selector",
+ "comment": "Bump @fluentui/react-utilities to v9.7.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Thu, 16 Mar 2023 14:36:59 GMT",
+ "tag": "@fluentui/react-context-selector_v9.1.14",
+ "version": "9.1.14",
+ "comments": {
+ "patch": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-context-selector",
+ "comment": "Bump @fluentui/react-utilities to v9.7.1",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ }
+ ]
+ }
+ },
{
"date": "Mon, 13 Mar 2023 08:58:26 GMT",
"tag": "@fluentui/react-context-selector_v9.1.13",
diff --git a/packages/react-components/react-context-selector/CHANGELOG.md b/packages/react-components/react-context-selector/CHANGELOG.md
index 84be73008bf6a..d272a5140c514 100644
--- a/packages/react-components/react-context-selector/CHANGELOG.md
+++ b/packages/react-components/react-context-selector/CHANGELOG.md
@@ -1,9 +1,29 @@
# Change Log - @fluentui/react-context-selector
-This log was last generated on Mon, 13 Mar 2023 08:58:26 GMT and should not be manually modified.
+This log was last generated on Tue, 21 Mar 2023 21:23:30 GMT and should not be manually modified.
+## [9.1.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.1.15)
+
+Tue, 21 Mar 2023 21:23:30 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.1.14..@fluentui/react-context-selector_v9.1.15)
+
+### Patches
+
+- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- Bump @fluentui/react-utilities to v9.7.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+
+## [9.1.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.1.14)
+
+Thu, 16 Mar 2023 14:36:59 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-context-selector_v9.1.13..@fluentui/react-context-selector_v9.1.14)
+
+### Patches
+
+- Bump @fluentui/react-utilities to v9.7.1 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+
## [9.1.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-context-selector_v9.1.13)
Mon, 13 Mar 2023 08:58:26 GMT
diff --git a/packages/react-components/react-context-selector/just.config.ts b/packages/react-components/react-context-selector/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/react-context-selector/just.config.ts
+++ b/packages/react-components/react-context-selector/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/react-context-selector/package.json b/packages/react-components/react-context-selector/package.json
index 95ebc203e5b6e..c1119b8e6446e 100644
--- a/packages/react-components/react-context-selector/package.json
+++ b/packages/react-components/react-context-selector/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/react-context-selector",
- "version": "9.1.13",
+ "version": "9.1.15",
"description": "React useContextSelector hook in userland",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -19,7 +19,7 @@
"lint": "just-scripts lint",
"test": "jest --passWithNoTests",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
@@ -27,8 +27,8 @@
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/react-utilities": "^9.7.0",
- "tslib": "^2.1.0"
+ "@fluentui/react-utilities": "^9.7.2",
+ "@swc/helpers": "^0.4.14"
},
"peerDependencies": {
"@types/react": ">=16.8.0 <19.0.0",
@@ -46,6 +46,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/react-data-grid-react-window/.babelrc.json b/packages/react-components/react-data-grid-react-window/.babelrc.json
index 40e01373083ce..38bf1f7a945cf 100644
--- a/packages/react-components/react-data-grid-react-window/.babelrc.json
+++ b/packages/react-components/react-data-grid-react-window/.babelrc.json
@@ -1,4 +1,3 @@
{
- "presets": ["@griffel"],
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/react-data-grid-react-window/.swcrc b/packages/react-components/react-data-grid-react-window/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/react-data-grid-react-window/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/react-data-grid-react-window/CHANGELOG.json b/packages/react-components/react-data-grid-react-window/CHANGELOG.json
index 1a98569461884..a060aaacd5ad8 100644
--- a/packages/react-components/react-data-grid-react-window/CHANGELOG.json
+++ b/packages/react-components/react-data-grid-react-window/CHANGELOG.json
@@ -1,6 +1,123 @@
{
"name": "@fluentui/react-data-grid-react-window",
"entries": [
+ {
+ "date": "Fri, 24 Mar 2023 17:36:41 GMT",
+ "tag": "@fluentui/react-data-grid-react-window_v9.0.0-beta.18",
+ "version": "9.0.0-beta.18",
+ "comments": {
+ "prerelease": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-data-grid-react-window",
+ "comment": "Bump @fluentui/react-components to v9.18.6",
+ "commit": "899de68739acdff9e641a1baedec097a6bc07309"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Fri, 24 Mar 2023 14:58:55 GMT",
+ "tag": "@fluentui/react-data-grid-react-window_v9.0.0-beta.17",
+ "version": "9.0.0-beta.17",
+ "comments": {
+ "prerelease": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-data-grid-react-window",
+ "comment": "Bump @fluentui/react-components to v9.18.5",
+ "commit": "0f198d87130e4f9fcacdaa187b850e507e0b1ec8"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Fri, 24 Mar 2023 10:15:28 GMT",
+ "tag": "@fluentui/react-data-grid-react-window_v9.0.0-beta.16",
+ "version": "9.0.0-beta.16",
+ "comments": {
+ "prerelease": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-data-grid-react-window",
+ "comment": "Bump @fluentui/react-components to v9.18.4",
+ "commit": "8253bc378281d56e6b4e3a454c185e2ef3672d1d"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Tue, 21 Mar 2023 21:23:31 GMT",
+ "tag": "@fluentui/react-data-grid-react-window_v9.0.0-beta.15",
+ "version": "9.0.0-beta.15",
+ "comments": {
+ "prerelease": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-data-grid-react-window",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-data-grid-react-window",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-data-grid-react-window",
+ "comment": "Bump @fluentui/react-table to v9.2.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-data-grid-react-window",
+ "comment": "Bump @fluentui/react-utilities to v9.7.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-data-grid-react-window",
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-data-grid-react-window",
+ "comment": "Bump @fluentui/react-components to v9.18.3",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Thu, 16 Mar 2023 14:36:59 GMT",
+ "tag": "@fluentui/react-data-grid-react-window_v9.0.0-beta.14",
+ "version": "9.0.0-beta.14",
+ "comments": {
+ "prerelease": [
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-data-grid-react-window",
+ "comment": "Bump @fluentui/react-table to v9.2.1",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-data-grid-react-window",
+ "comment": "Bump @fluentui/react-utilities to v9.7.1",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-data-grid-react-window",
+ "comment": "Bump @fluentui/react-components to v9.18.2",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ }
+ ]
+ }
+ },
{
"date": "Wed, 15 Mar 2023 10:19:53 GMT",
"tag": "@fluentui/react-data-grid-react-window_v9.0.0-beta.13",
diff --git a/packages/react-components/react-data-grid-react-window/CHANGELOG.md b/packages/react-components/react-data-grid-react-window/CHANGELOG.md
index db9cf63439999..dd85ebfb09258 100644
--- a/packages/react-components/react-data-grid-react-window/CHANGELOG.md
+++ b/packages/react-components/react-data-grid-react-window/CHANGELOG.md
@@ -1,9 +1,61 @@
# Change Log - @fluentui/react-data-grid-react-window
-This log was last generated on Wed, 15 Mar 2023 10:19:53 GMT and should not be manually modified.
+This log was last generated on Fri, 24 Mar 2023 17:36:41 GMT and should not be manually modified.
+## [9.0.0-beta.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-data-grid-react-window_v9.0.0-beta.18)
+
+Fri, 24 Mar 2023 17:36:41 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-data-grid-react-window_v9.0.0-beta.17..@fluentui/react-data-grid-react-window_v9.0.0-beta.18)
+
+### Changes
+
+- Bump @fluentui/react-components to v9.18.6 ([PR #27321](https://github.com/microsoft/fluentui/pull/27321) by beachball)
+
+## [9.0.0-beta.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-data-grid-react-window_v9.0.0-beta.17)
+
+Fri, 24 Mar 2023 14:58:55 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-data-grid-react-window_v9.0.0-beta.16..@fluentui/react-data-grid-react-window_v9.0.0-beta.17)
+
+### Changes
+
+- Bump @fluentui/react-components to v9.18.5 ([PR #27319](https://github.com/microsoft/fluentui/pull/27319) by beachball)
+
+## [9.0.0-beta.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-data-grid-react-window_v9.0.0-beta.16)
+
+Fri, 24 Mar 2023 10:15:28 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-data-grid-react-window_v9.0.0-beta.15..@fluentui/react-data-grid-react-window_v9.0.0-beta.16)
+
+### Changes
+
+- Bump @fluentui/react-components to v9.18.4 ([PR #27317](https://github.com/microsoft/fluentui/pull/27317) by beachball)
+
+## [9.0.0-beta.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-data-grid-react-window_v9.0.0-beta.15)
+
+Tue, 21 Mar 2023 21:23:31 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-data-grid-react-window_v9.0.0-beta.14..@fluentui/react-data-grid-react-window_v9.0.0-beta.15)
+
+### Changes
+
+- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- Bump @fluentui/react-table to v9.2.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-utilities to v9.7.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-components to v9.18.3 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+
+## [9.0.0-beta.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-data-grid-react-window_v9.0.0-beta.14)
+
+Thu, 16 Mar 2023 14:36:59 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-data-grid-react-window_v9.0.0-beta.13..@fluentui/react-data-grid-react-window_v9.0.0-beta.14)
+
+### Changes
+
+- Bump @fluentui/react-table to v9.2.1 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-utilities to v9.7.1 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-components to v9.18.2 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+
## [9.0.0-beta.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-data-grid-react-window_v9.0.0-beta.13)
Wed, 15 Mar 2023 10:19:53 GMT
diff --git a/packages/react-components/react-data-grid-react-window/just.config.ts b/packages/react-components/react-data-grid-react-window/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/react-data-grid-react-window/just.config.ts
+++ b/packages/react-components/react-data-grid-react-window/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/react-data-grid-react-window/package.json b/packages/react-components/react-data-grid-react-window/package.json
index 51ec1cacc6fce..2879fdbdb5ce7 100644
--- a/packages/react-components/react-data-grid-react-window/package.json
+++ b/packages/react-components/react-data-grid-react-window/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/react-data-grid-react-window",
- "version": "9.0.0-beta.13",
+ "version": "9.0.0-beta.18",
"description": "Virtualized DataGrid components and utilities powered by react-window",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -19,25 +19,23 @@
"lint": "just-scripts lint",
"test": "jest --passWithNoTests",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor",
- "storybook": "start-storybook",
- "start": "yarn storybook"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/react-conformance": "*",
- "@fluentui/react-conformance-griffel": "9.0.0-beta.19",
+ "@fluentui/react-conformance-griffel": "9.0.0-beta.20",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/react-table": "^9.2.0",
- "@fluentui/react-utilities": "^9.7.0",
- "react-window": "^1.8.6",
- "tslib": "^2.1.0"
+ "@fluentui/react-table": "^9.2.2",
+ "@fluentui/react-utilities": "^9.7.2",
+ "@swc/helpers": "^0.4.14",
+ "react-window": "^1.8.6"
},
"peerDependencies": {
- "@fluentui/react-components": "^9.18.1",
+ "@fluentui/react-components": "^9.18.6",
"@types/react": ">=16.8.0 <19.0.0",
"@types/react-dom": ">=16.8.0 <19.0.0",
"react": ">=16.8.0 <19.0.0",
@@ -53,6 +51,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/react-datepicker-compat/.babelrc.json b/packages/react-components/react-datepicker-compat/.babelrc.json
index 40e01373083ce..45fb71ca16d2c 100644
--- a/packages/react-components/react-datepicker-compat/.babelrc.json
+++ b/packages/react-components/react-datepicker-compat/.babelrc.json
@@ -1,4 +1,4 @@
{
- "presets": ["@griffel"],
+ "extends": "../../../.babelrc-v9.json",
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/react-datepicker-compat/.swcrc b/packages/react-components/react-datepicker-compat/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/react-datepicker-compat/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/react-datepicker-compat/README.md b/packages/react-components/react-datepicker-compat/README.md
index db8f1fa640a0d..aa7db4296d15a 100644
--- a/packages/react-components/react-datepicker-compat/README.md
+++ b/packages/react-components/react-datepicker-compat/README.md
@@ -3,3 +3,40 @@
**React Datepicker components for [Fluent UI React](https://react.fluentui.dev/)**
These are not production-ready components and **should never be used in product**. This space is useful for testing new components whose APIs might change before final release.
+
+## Usage
+
+To import DatePicker:
+
+```js
+import { DatePicker } from '@fluentui/react-datepicker';
+```
+
+### Examples
+
+```jsx
+
+```
+
+Alternatively, run Storybook locally with:
+
+```sh
+yarn workspace @fluentui/react-datepicker-compat start
+```
+
+# Compat component
+
+## What makes a compat component?
+
+A compat component is a component taken from v8 and partially updated with the v9 toolset while keeping its original functionality and most of the original API surface. The most noticeable change being the removal of all v8 dependencies and using only v9 dependencies. While this is a good first step, this is not the final v9 component. We are working on a fully fleshed v9 replacement that will follow all v9 patterns and conventions.
+
+## How publishing the package will be handled
+
+Compat components are not added in the `@fluentui/react-components` package suite. Instead, these components should be imported from their respective package as shown above. In contrast with components that live in `@fluentui/react-components`, compat components are to be released as `0.x.x` and there won't be an unstable release (`beta/alpha`) before this release. This is due to the way we will handle versioning for changes, allowing for breaking changes when necessary.
+
+### Versioning for changes
+
+We will take a similar approach as v0 where we will follow this pattern:
+
+- `breaking change (major)`: Since this is a compat component, we will allow breaking changes if absolutely necessary. To accommodate for this, we will denote those changes as a minor version in semver, i.e. `1.(change will be reflected here).x`.
+- `minor and patch`: These changes will be reflected in the patch version in semver as `1.x.(change will be reflected here)`.
diff --git a/packages/react-components/react-datepicker-compat/cypress.config.ts b/packages/react-components/react-datepicker-compat/cypress.config.ts
new file mode 100644
index 0000000000000..ca52cf041bbf2
--- /dev/null
+++ b/packages/react-components/react-datepicker-compat/cypress.config.ts
@@ -0,0 +1,3 @@
+import { baseConfig } from '@fluentui/scripts-cypress';
+
+export default baseConfig;
diff --git a/packages/react-components/react-datepicker-compat/etc/react-datepicker-compat.api.md b/packages/react-components/react-datepicker-compat/etc/react-datepicker-compat.api.md
index 2391b931c4d03..866f73ef186db 100644
--- a/packages/react-components/react-datepicker-compat/etc/react-datepicker-compat.api.md
+++ b/packages/react-components/react-datepicker-compat/etc/react-datepicker-compat.api.md
@@ -11,7 +11,6 @@ import type { ComponentState } from '@fluentui/react-utilities';
import { Field } from '@fluentui/react-field';
import type { ForwardRefComponent } from '@fluentui/react-utilities';
import { Input } from '@fluentui/react-input';
-import type { InputProps } from '@fluentui/react-input';
import type { PopoverProps } from '@fluentui/react-popover';
import { PopoverSurface } from '@fluentui/react-popover';
import * as React_2 from 'react';
@@ -36,83 +35,6 @@ export enum AnimationDirection {
Vertical = 1
}
-// @public (undocumented)
-export const Calendar: React_2.FunctionComponent;
-
-// @public (undocumented)
-export const calendarClassNames: SlotClassNames;
-
-// @public (undocumented)
-export const CalendarDay: React_2.FunctionComponent;
-
-// @public (undocumented)
-export const calendarDayClassNames: SlotClassNames;
-
-// @public (undocumented)
-export const CalendarDayGrid: React_2.FunctionComponent;
-
-// @public (undocumented)
-export const calendarDayGridClassNames: SlotClassNames;
-
-// @public (undocumented)
-export interface CalendarDayGridProps extends DayGridOptions {
- allFocusable?: boolean;
- animationDirection?: AnimationDirection;
- className?: string;
- componentRef?: React_2.RefObject;
- customDayCellRef?: (element: HTMLElement, date: Date, classNames: CalendarDayGridStyles) => void;
- dateRangeType: DateRangeType;
- dateTimeFormatter: DateFormatting;
- daysToSelectInDayView?: number;
- firstDayOfWeek: DayOfWeek;
- firstWeekOfYear: FirstWeekOfYear;
- getMarkedDays?: (startingDate: Date, endingDate: Date) => Date[];
- labelledBy?: string;
- lightenDaysOutsideNavigatedMonth?: boolean;
- maxDate?: Date;
- minDate?: Date;
- navigatedDate: Date;
- onDismiss?: () => void;
- onNavigateDate: (date: Date, focusOnNavigatedDay: boolean) => void;
- onSelectDate?: (date: Date, selectedDateRangeArray?: Date[]) => void;
- restrictedDates?: Date[];
- selectedDate: Date;
- showCloseButton?: boolean;
- showWeekNumbers?: boolean;
- strings: CalendarStrings;
- today?: Date;
- weeksToShow?: number;
- workWeekDays?: DayOfWeek[];
-}
-
-// @public (undocumented)
-export interface CalendarDayGridStyleProps {
- animateBackwards?: boolean;
- animationDirection?: AnimationDirection;
- className?: string;
- dateRangeType?: DateRangeType;
- lightenDaysOutsideNavigatedMonth?: boolean;
- showWeekNumbers?: boolean;
-}
-
-// @public (undocumented)
-export interface CalendarDayGridStyles {
- dayButton?: string;
- dayCell?: string;
- dayIsToday?: string;
- dayMarker?: string;
- dayOutsideBounds?: string;
- dayOutsideNavigatedMonth?: string;
- daySelected?: string;
- firstTransitionWeek?: string;
- lastTransitionWeek?: string;
- table?: string;
- weekDayLabelCell?: string;
- weekNumberCell?: string;
- weekRow?: string;
- wrapper?: string;
-}
-
// @public (undocumented)
export interface CalendarDayProps extends CalendarDayGridProps {
allFocusable?: boolean;
@@ -122,7 +44,6 @@ export interface CalendarDayProps extends CalendarDayGridProps {
maxDate?: Date;
minDate?: Date;
navigatedDate: Date;
- navigationIcons: CalendarNavigationIcons;
onDismiss?: () => void;
onHeaderSelect?: () => void;
onNavigateDate: (date: Date, focusOnNavigatedDay: boolean) => void;
@@ -133,29 +54,6 @@ export interface CalendarDayProps extends CalendarDayGridProps {
strings: CalendarStrings;
}
-// @public (undocumented)
-export interface CalendarDayStyleProps extends CalendarDayGridStyleProps {
- className?: string;
- headerIsClickable?: boolean;
- showWeekNumbers?: boolean;
-}
-
-// @public (undocumented)
-export interface CalendarDayStyles {
- disabledStyle: string;
- header: string;
- headerIconButton: string;
- monthAndYear: string;
- monthComponents: string;
- root: string;
-}
-
-// @public (undocumented)
-export const CalendarMonth: React_2.FunctionComponent;
-
-// @public (undocumented)
-export const calendarMonthClassNames: SlotClassNames;
-
// @public (undocumented)
export interface CalendarMonthProps {
allFocusable?: boolean;
@@ -168,7 +66,6 @@ export interface CalendarMonthProps {
maxDate?: Date;
minDate?: Date;
navigatedDate: Date;
- navigationIcons?: CalendarNavigationIcons;
onHeaderSelect?: () => void;
onNavigateDate: (date: Date, focusOnNavigatedDay: boolean) => void;
onSelectDate?: (date: Date, selectedDateRangeArray?: Date[]) => void;
@@ -178,59 +75,6 @@ export interface CalendarMonthProps {
yearPickerHidden?: boolean;
}
-// @public (undocumented)
-export interface CalendarMonthStyleProps extends CalendarPickerStyleProps {
-}
-
-// @public (undocumented)
-export interface CalendarMonthStyles extends CalendarPickerStyles {
-}
-
-// @public (undocumented)
-export interface CalendarNavigationIcons {
- closeIcon?: string;
- leftNavigation?: string;
- rightNavigation?: string;
-}
-
-// @public (undocumented)
-export const calendarPickerClassNames: SlotClassNames;
-
-// @public (undocumented)
-export interface CalendarPickerStyleProps {
- animateBackwards?: boolean;
- animationDirection?: AnimationDirection;
- className?: string;
- hasHeaderClickCallback?: boolean;
- highlightCurrent?: boolean;
- highlightSelected?: boolean;
-}
-
-// @public (undocumented)
-export interface CalendarPickerStyles {
- // (undocumented)
- buttonRow: string;
- // (undocumented)
- current: string;
- // (undocumented)
- currentItemButton: string;
- // (undocumented)
- disabled: string;
- // (undocumented)
- gridContainer: string;
- // (undocumented)
- headerContainer: string;
- // (undocumented)
- itemButton: string;
- // (undocumented)
- navigationButton: string;
- // (undocumented)
- navigationButtonsContainer: string;
- root: string;
- // (undocumented)
- selected: string;
-}
-
// @public (undocumented)
export interface CalendarProps extends React_2.RefAttributes {
allFocusable?: boolean;
@@ -249,7 +93,6 @@ export interface CalendarProps extends React_2.RefAttributes {
isMonthPickerVisible?: boolean;
maxDate?: Date;
minDate?: Date;
- navigationIcons?: CalendarNavigationIcons;
onDismiss?: () => void;
onSelectDate?: (date: Date, selectedDateRangeArray?: Date[]) => void;
restrictedDates?: Date[];
@@ -282,96 +125,6 @@ export interface CalendarStrings extends DateGridStrings {
yearPickerHeaderAriaLabel?: string;
}
-// @public (undocumented)
-export interface CalendarStyleProps {
- className?: string;
- isDayPickerVisible?: boolean;
- isMonthPickerVisible?: boolean;
- monthPickerOnly?: boolean;
- overlaidWithButton?: boolean;
- // @deprecated (undocumented)
- overlayedWithButton?: boolean;
- showGoToToday?: boolean;
- showMonthPickerAsOverlay?: boolean;
- showWeekNumbers?: boolean;
-}
-
-// @public (undocumented)
-export interface CalendarStyles {
- // (undocumented)
- divider: string;
- // (undocumented)
- goTodayButton: string;
- // (undocumented)
- liveRegion: string;
- // (undocumented)
- monthPickerWrapper: string;
- root: string;
-}
-
-// @public (undocumented)
-export const CalendarYear: React_2.FunctionComponent;
-
-// @public (undocumented)
-export interface CalendarYearHeaderProps extends CalendarYearProps, CalendarYearRange {
- animateBackwards?: boolean;
- onSelectNext?: () => void;
- onSelectPrev?: () => void;
-}
-
-// @public (undocumented)
-export interface CalendarYearProps {
- animationDirection?: AnimationDirection;
- className?: string;
- componentRef?: React_2.RefObject;
- highlightCurrentYear?: boolean;
- highlightSelectedYear?: boolean;
- maxYear?: number;
- minYear?: number;
- navigatedYear?: number;
- navigationIcons?: CalendarNavigationIcons;
- onHeaderSelect?: (focus: boolean) => void;
- onRenderTitle?: (props: CalendarYearHeaderProps) => React_2.ReactNode;
- onRenderYear?: (year: number) => React_2.ReactNode;
- onSelectYear?: (year: number) => void;
- selectedYear?: number;
- strings?: CalendarYearStrings;
-}
-
-// @public (undocumented)
-export interface CalendarYearRange {
- // (undocumented)
- fromYear: number;
- // (undocumented)
- toYear: number;
-}
-
-// @public (undocumented)
-export interface CalendarYearRangeToString {
- // (undocumented)
- (range: CalendarYearRange): string;
-}
-
-// @public (undocumented)
-export interface CalendarYearStrings {
- // (undocumented)
- headerAriaLabelFormatString?: string;
- // (undocumented)
- nextRangeAriaLabel?: string | CalendarYearRangeToString;
- // (undocumented)
- prevRangeAriaLabel?: string | CalendarYearRangeToString;
- // (undocumented)
- rangeAriaLabel?: string | CalendarYearRangeToString;
-}
-
-// @public (undocumented)
-export interface CalendarYearStyleProps extends CalendarPickerStyleProps {
-}
-
-// @public (undocumented)
-export interface CalendarYearStyles extends CalendarPickerStyles {
-}
-
// @public
export function compareDatePart(date1: Date, date2: Date): Number;
@@ -399,19 +152,16 @@ export interface DateGridStrings {
export const DatePicker: ForwardRefComponent;
// @public (undocumented)
-export const datePickerClassNames: SlotClassNames & Record;
+export const datePickerClassNames: SlotClassNames;
// @public (undocumented)
export type DatePickerProps = ComponentProps> & {
componentRef?: React_2.RefObject;
- textField?: InputProps;
onSelectDate?: (date: Date | null | undefined) => void;
label?: string;
isRequired?: boolean;
disabled?: boolean;
- ariaLabel?: string;
underlined?: boolean;
- pickerAriaLabel?: string;
isMonthPickerVisible?: boolean;
showMonthPickerAsOverlay?: boolean;
allowTextInput?: boolean;
@@ -430,7 +180,6 @@ export type DatePickerProps = ComponentProps> & {
firstWeekOfYear?: FirstWeekOfYear;
showGoToToday?: boolean;
borderless?: boolean;
- className?: string;
dateTimeFormatter?: DateFormatting;
minDate?: Date;
maxDate?: Date;
@@ -461,14 +210,6 @@ export enum DateRangeType {
WorkWeek = 3
}
-// @public (undocumented)
-export interface DayInfo extends Day {
- // (undocumented)
- onSelected: () => void;
- // (undocumented)
- setRef(element: HTMLElement | null): void;
-}
-
// @public
export enum DayOfWeek {
// (undocumented)
@@ -491,13 +232,10 @@ export enum DayOfWeek {
export const DAYS_IN_WEEK = 7;
// @public (undocumented)
-export const defaultDatePickerStrings: DatePickerStrings;
+export const defaultCalendarStrings: CalendarStrings;
// @public (undocumented)
-export const extraCalendarDayGridClassNames: {
- hoverStyle: string;
- pressedStyle: string;
-};
+export const defaultDatePickerStrings: DatePickerStrings;
// @public
export enum FirstWeekOfYear {
@@ -550,24 +288,12 @@ export interface ICalendarDay {
focus(): void;
}
-// @public (undocumented)
-export interface ICalendarDayGrid {
- // (undocumented)
- focus(): void;
-}
-
// @public (undocumented)
export interface ICalendarMonth {
// (undocumented)
focus(): void;
}
-// @public (undocumented)
-export interface ICalendarYear {
- // (undocumented)
- focus(): void;
-}
-
// @public (undocumented)
export interface IDatePicker {
focus(): void;
@@ -629,36 +355,12 @@ export const TimeConstants: {
TimeFormatRegex: RegExp;
};
-// @public
-export const useCalendarDayGridStyles_unstable: (props: CalendarDayGridStyleProps) => CalendarDayGridStyles;
-
-// @public
-export const useCalendarDayStyles_unstable: (props: CalendarDayStyleProps) => CalendarDayStyles;
-
-// @public
-export const useCalendarMonthStyles_unstable: (props: CalendarMonthStyleProps) => CalendarMonthStyles;
-
-// @public
-export const useCalendarPickerStyles_unstable: (props: CalendarPickerStyleProps) => CalendarPickerStyles;
-
-// @public
-export const useCalendarStyles_unstable: (props: CalendarStyleProps) => CalendarStyles;
-
-// @public
-export const useCalendarYearStyles_unstable: (props: CalendarYearStyleProps) => CalendarYearStyles;
-
// @public
export const useDatePicker_unstable: (props: DatePickerProps, ref: React_2.Ref) => DatePickerState;
// @public
export const useDatePickerStyles_unstable: (state: DatePickerState) => DatePickerState;
-// @public (undocumented)
-export interface WeekCorners {
- // (undocumented)
- [key: string]: string;
-}
-
// (No @packageDocumentation comment for this package)
```
diff --git a/packages/react-components/react-datepicker-compat/just.config.ts b/packages/react-components/react-datepicker-compat/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/react-datepicker-compat/just.config.ts
+++ b/packages/react-components/react-datepicker-compat/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/react-datepicker-compat/package.json b/packages/react-components/react-datepicker-compat/package.json
index 465d72044876a..c3784d4583397 100644
--- a/packages/react-components/react-datepicker-compat/package.json
+++ b/packages/react-components/react-datepicker-compat/package.json
@@ -16,33 +16,36 @@
"build": "just-scripts build",
"clean": "just-scripts clean",
"code-style": "just-scripts code-style",
+ "e2e": "cypress run --component",
+ "e2e:local": "cypress open --component",
"just": "just-scripts",
"lint": "just-scripts lint",
"test": "jest --passWithNoTests",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor",
+ "generate-api": "just-scripts generate-api",
"storybook": "start-storybook",
"start": "yarn storybook"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/react-conformance": "*",
- "@fluentui/react-conformance-griffel": "9.0.0-beta.19",
+ "@fluentui/react-conformance-griffel": "9.0.0-beta.20",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
- "@fluentui/react-theme": "^9.1.6",
- "@fluentui/react-utilities": "^9.7.0",
- "@fluentui/keyboard-keys": "^9.0.1",
- "@fluentui/react-field": "9.0.0-alpha.25",
- "@fluentui/react-icons": "^2.0.175",
- "@fluentui/react-shared-contexts": "^9.3.1",
- "@fluentui/react-tabster": "^9.5.7",
- "@fluentui/react-popover": "^9.5.3",
- "@fluentui/react-input": "^9.4.3",
+ "@fluentui/react-theme": "^9.1.7",
+ "@fluentui/react-utilities": "^9.7.2",
+ "@fluentui/keyboard-keys": "^9.0.2",
+ "@fluentui/react-field": "9.0.0-alpha.28",
+ "@fluentui/react-icons": "^2.0.196",
+ "@fluentui/react-shared-contexts": "^9.3.3",
+ "@fluentui/react-tabster": "^9.6.2",
+ "@fluentui/react-popover": "^9.5.6",
+ "@fluentui/react-positioning": "^9.5.7",
+ "@fluentui/react-input": "^9.4.6",
"@griffel/react": "^1.5.2",
- "tslib": "^2.1.0"
+ "@swc/helpers": "^0.4.14"
},
"peerDependencies": {
"@types/react": ">=16.8.0 <19.0.0",
@@ -60,6 +63,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/react-datepicker-compat/src/components/Calendar/Calendar.test.tsx b/packages/react-components/react-datepicker-compat/src/components/Calendar/Calendar.test.tsx
index 27e218e730c95..aeedbf54a813d 100644
--- a/packages/react-components/react-datepicker-compat/src/components/Calendar/Calendar.test.tsx
+++ b/packages/react-components/react-datepicker-compat/src/components/Calendar/Calendar.test.tsx
@@ -8,6 +8,11 @@ describe('Calendar', () => {
disabledTests: [
// compat components that are closer to their v8 counterparts do not adhere to this test
'consistent-callback-args',
+ // Calendar is not exported at the top level since it's an internal component
+ 'exported-top-level',
+ // Calendar classnames are not exported since they are internal and are used differently compared to how v9
+ // uses classnames
+ 'component-has-static-classnames-object',
],
});
});
diff --git a/packages/react-components/react-datepicker-compat/src/components/Calendar/Calendar.tsx b/packages/react-components/react-datepicker-compat/src/components/Calendar/Calendar.tsx
index d7663fde987c5..19e23aa1e180e 100644
--- a/packages/react-components/react-datepicker-compat/src/components/Calendar/Calendar.tsx
+++ b/packages/react-components/react-datepicker-compat/src/components/Calendar/Calendar.tsx
@@ -15,7 +15,6 @@ import {
} from '../../utils';
import { CalendarDay } from '../CalendarDay/CalendarDay';
import { CalendarMonth } from '../CalendarMonth/CalendarMonth';
-import { defaultCalendarNavigationIcons } from './defaults';
import { useCalendarStyles_unstable } from './useCalendarStyles';
import type { ICalendarDay } from '../CalendarDay/CalendarDay.types';
import type { ICalendarMonth } from '../CalendarMonth/CalendarMonth.types';
@@ -131,6 +130,9 @@ function useFocusLogic({ componentRef }: CalendarProps, isDayPickerVisible: bool
return [dayPicker, monthPicker, focusOnNextUpdate] as const;
}
+/**
+ * @internal
+ */
export const Calendar: React.FunctionComponent = React.forwardRef(
(props, forwardedRef) => {
const {
@@ -150,7 +152,6 @@ export const Calendar: React.FunctionComponent = React.forwardRef
isMonthPickerVisible: isMonthPickerVisibleProp = true,
maxDate,
minDate,
- navigationIcons = defaultCalendarNavigationIcons,
onDismiss,
onSelectDate,
restrictedDates,
@@ -349,7 +350,6 @@ export const Calendar: React.FunctionComponent = React.forwardRef
strings={strings!}
// eslint-disable-next-line react/jsx-no-bind
onHeaderSelect={onHeaderSelect}
- navigationIcons={navigationIcons!}
showWeekNumbers={showWeekNumbers}
firstWeekOfYear={firstWeekOfYear!}
dateTimeFormatter={dateTimeFormatter!}
@@ -378,7 +378,6 @@ export const Calendar: React.FunctionComponent = React.forwardRef
highlightSelectedMonth={highlightSelectedMonth!}
// eslint-disable-next-line react/jsx-no-bind
onHeaderSelect={onHeaderSelect}
- navigationIcons={navigationIcons!}
dateTimeFormatter={dateTimeFormatter!}
minDate={minDate}
maxDate={maxDate}
diff --git a/packages/react-components/react-datepicker-compat/src/components/Calendar/Calendar.types.ts b/packages/react-components/react-datepicker-compat/src/components/Calendar/Calendar.types.ts
index 30f3d75bb9fc0..a090d74c14a91 100644
--- a/packages/react-components/react-datepicker-compat/src/components/Calendar/Calendar.types.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/Calendar/Calendar.types.ts
@@ -3,18 +3,12 @@ import type { CalendarStrings, DateFormatting, DateRangeType, DayOfWeek, FirstWe
import type { CalendarDayProps } from '../CalendarDay/CalendarDay.types';
import type { CalendarMonthProps } from '../CalendarMonth/CalendarMonth.types';
-/**
- * {@docCategory Calendar}
- */
// eslint-disable-next-line @typescript-eslint/naming-convention
export interface ICalendar {
/** Sets focus to the selected date. */
focus: () => void;
}
-/**
- * {@docCategory Calendar}
- */
export interface CalendarProps extends React.RefAttributes {
/**
* Optional callback to access the ICalendar interface. Use this instead of ref for accessing
@@ -66,39 +60,39 @@ export interface CalendarProps extends React.RefAttributes {
today?: Date;
/**
- * The date range type indicating how many days should be selected as the user
+ * The date range type indicating how many days should be selected as the user
* selects days
- * @defaultValue DateRangeType.Day
+ * @default DateRangeType.Day
*/
dateRangeType?: DateRangeType;
/**
* The first day of the week for your locale.
- * @defaultvalue DayOfWeek.Sunday
+ * @default DayOfWeek.Sunday
*/
firstDayOfWeek?: DayOfWeek;
/**
* Defines when the first week of the year should start.
- * @defaultvalue FirstWeekOfYear.FirstDay
+ * @default FirstWeekOfYear.FirstDay
*/
firstWeekOfYear?: FirstWeekOfYear;
/**
* Whether the month picker is shown beside the day picker or hidden.
- * @defaultvalue true
+ * @default true
*/
isMonthPickerVisible?: boolean;
/**
* Whether the day picker is shown beside the month picker or hidden.
- * @defaultvalue true
+ * @default true
*/
isDayPickerVisible?: boolean;
/**
* Show month picker on top of date picker when visible.
- * @defaultvalue false
+ * @default false
*/
showMonthPickerAsOverlay?: boolean;
@@ -109,7 +103,7 @@ export interface CalendarProps extends React.RefAttributes {
/**
* Whether the calendar should show the week number (weeks 1 to 53) before each week row
- * @defaultvalue false
+ * @default false
*/
showWeekNumbers?: boolean;
@@ -118,11 +112,6 @@ export interface CalendarProps extends React.RefAttributes {
*/
strings?: CalendarStrings;
- /**
- * Custom navigation icons.
- */
- navigationIcons?: CalendarNavigationIcons;
-
/**
* Apply additional formatting to dates, for example localized date formatting.
*/
@@ -145,67 +134,44 @@ export interface CalendarProps extends React.RefAttributes {
/**
* Whether the calendar should show 6 weeks by default.
- * @defaultvalue false
+ * @default false
*/
showSixWeeksByDefault?: boolean;
/**
* The days that are selectable when `dateRangeType` is `WorkWeek`.
* If `dateRangeType` is not `WorkWeek` this property does nothing.
- * @defaultvalue [Monday,Tuesday,Wednesday,Thursday,Friday]
+ * @default [Monday,Tuesday,Wednesday,Thursday,Friday]
*/
workWeekDays?: DayOfWeek[];
/**
* Whether the month picker should highlight the current month
- * @defaultvalue false
+ * @default false
*/
highlightCurrentMonth?: boolean;
/**
* Whether the month picker should highlight the selected month
- * @defaultvalue false
+ * @default false
*/
highlightSelectedMonth?: boolean;
/**
* Whether the close button should be shown or not
- * @defaultvalue false
+ * @default false
*/
showCloseButton?: boolean;
/**
* Allows all dates and buttons to be focused, including disabled ones
- * @defaultvalue false
+ * @default false
*/
allFocusable?: boolean;
}
/**
- * {@docCategory Calendar}
- */
-export interface CalendarNavigationIcons {
- /**
- * FabricMDL2Icons name for the left navigation icon. Previous default: ChevronLeft.
- * @defaultvalue 'Up'
- */
- leftNavigation?: string;
-
- /**
- * FabricMDL2Icons name for the right navigation icon. Previous default: ChevronRight.
- * @defaultvalue 'Down'
- */
- rightNavigation?: string;
-
- /**
- * Close icon
- * @defaultvalue 'CalculatorMultiply'
- */
- closeIcon?: string;
-}
-
-/**
- * {@docCategory Calendar}
+ * @internal
*/
export interface CalendarStyleProps {
/**
@@ -255,7 +221,7 @@ export interface CalendarStyleProps {
}
/**
- * {@docCategory Calendar}
+ * @internal
*/
export interface CalendarStyles {
/**
@@ -272,9 +238,6 @@ export interface CalendarStyles {
liveRegion: string;
}
-/**
- * {@docCategory Calendar}
- */
export enum AnimationDirection {
/**
* Grid will transition out and in horizontally
diff --git a/packages/react-components/react-datepicker-compat/src/components/Calendar/defaults.ts b/packages/react-components/react-datepicker-compat/src/components/Calendar/defaults.ts
index d82d20ed8c615..41c195df31731 100644
--- a/packages/react-components/react-datepicker-compat/src/components/Calendar/defaults.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/Calendar/defaults.ts
@@ -1,16 +1,4 @@
import { DEFAULT_CALENDAR_STRINGS } from '../../utils';
-import type { CalendarNavigationIcons } from './Calendar.types';
import type { CalendarStrings } from '../../utils';
export const defaultCalendarStrings: CalendarStrings = DEFAULT_CALENDAR_STRINGS;
-
-/**
- * @deprecated Use `defaultCalendarStrings`
- */
-export const defaultDayPickerStrings = defaultCalendarStrings;
-
-export const defaultCalendarNavigationIcons: CalendarNavigationIcons = {
- leftNavigation: 'Up',
- rightNavigation: 'Down',
- closeIcon: 'CalculatorMultiply',
-};
diff --git a/packages/react-components/react-datepicker-compat/src/components/Calendar/index.ts b/packages/react-components/react-datepicker-compat/src/components/Calendar/index.ts
index d3b483bb277b2..2ddec78ce3226 100644
--- a/packages/react-components/react-datepicker-compat/src/components/Calendar/index.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/Calendar/index.ts
@@ -1,3 +1,4 @@
export * from './Calendar';
export * from './Calendar.types';
export * from './useCalendarStyles';
+export { defaultCalendarStrings } from './defaults';
diff --git a/packages/react-components/react-datepicker-compat/src/components/Calendar/useCalendarStyles.ts b/packages/react-components/react-datepicker-compat/src/components/Calendar/useCalendarStyles.ts
index 53429abd75cfb..1bc92c5c8069b 100644
--- a/packages/react-components/react-datepicker-compat/src/components/Calendar/useCalendarStyles.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/Calendar/useCalendarStyles.ts
@@ -3,6 +3,9 @@ import { makeStyles, mergeClasses, shorthands } from '@griffel/react';
import type { SlotClassNames } from '@fluentui/react-utilities';
import type { CalendarStyles, CalendarStyleProps } from './Calendar.types';
+/**
+ * @internal
+ */
export const calendarClassNames: SlotClassNames = {
root: 'fui-Calendar',
divider: 'fui-Calendar__divider',
@@ -99,9 +102,10 @@ const useLiveRegionStyles = makeStyles({
});
/**
+ * @internal
+ *
* Apply styling to the Calendar slots based on the state
*/
-// export const useCalendarStyles_unstable = (state: CalendarState): CalendarState => {
export const useCalendarStyles_unstable = (props: CalendarStyleProps): CalendarStyles => {
const rootStyles = useRootStyles();
const dividerStyles = useDividerStyles();
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarDay/CalendarDay.tsx b/packages/react-components/react-datepicker-compat/src/components/CalendarDay/CalendarDay.tsx
index cd345e3f4f84f..c97047633558e 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarDay/CalendarDay.tsx
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarDay/CalendarDay.tsx
@@ -9,6 +9,9 @@ import { useCalendarDayStyles_unstable } from './useCalendarDayStyles';
import type { ICalendarDayGrid } from '../CalendarDayGrid/CalendarDayGrid.types';
import type { CalendarDayProps, CalendarDayStyles } from './CalendarDay.types';
+/**
+ * @internal
+ */
export const CalendarDay: React.FunctionComponent = props => {
const dayGrid = React.useRef(null);
@@ -101,7 +104,6 @@ const CalendarDayNavigationButtons = (props: CalendarDayNavigationButtonsProps):
navigatedDate,
allFocusable,
strings,
- // navigationIcons,
showCloseButton,
classNames,
onNavigateDate,
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarDay/CalendarDay.types.ts b/packages/react-components/react-datepicker-compat/src/components/CalendarDay/CalendarDay.types.ts
index 82119e44b8d30..e247c3cb108ec 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarDay/CalendarDay.types.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarDay/CalendarDay.types.ts
@@ -1,19 +1,12 @@
import * as React from 'react';
import type { CalendarStrings, DateFormatting } from '../../utils';
-import type { CalendarNavigationIcons } from '../Calendar/Calendar.types';
import type { CalendarDayGridProps, CalendarDayGridStyleProps } from '../CalendarDayGrid/CalendarDayGrid.types';
-/**
- * {@docCategory Calendar}
- */
// eslint-disable-next-line @typescript-eslint/naming-convention
export interface ICalendarDay {
focus(): void;
}
-/**
- * {@docCategory Calendar}
- */
export interface CalendarDayProps extends CalendarDayGridProps {
/**
* Optional callback to access the ICalendarDay interface. Use this instead of ref for accessing
@@ -48,11 +41,6 @@ export interface CalendarDayProps extends CalendarDayGridProps {
*/
onDismiss?: () => void;
- /**
- * Custom navigation icons.
- */
- navigationIcons: CalendarNavigationIcons;
-
/**
* Callback function when the header is selected
*/
@@ -60,7 +48,7 @@ export interface CalendarDayProps extends CalendarDayGridProps {
/**
* Whether the calendar should show the week number (weeks 1 to 53) before each week row
- * @defaultvalue false
+ * @default false
*/
showWeekNumbers?: boolean;
@@ -71,7 +59,7 @@ export interface CalendarDayProps extends CalendarDayGridProps {
/**
* Whether the calendar should show 6 weeks by default.
- * @defaultvalue false
+ * @default false
*/
showSixWeeksByDefault?: boolean;
@@ -92,19 +80,19 @@ export interface CalendarDayProps extends CalendarDayGridProps {
/**
* Whether the close button should be shown or not
- * @defaultvalue false
+ * @default false
*/
showCloseButton?: boolean;
/**
* Allows all dates and buttons to be focused, including disabled ones
- * @defaultvalue false
+ * @default false
*/
allFocusable?: boolean;
}
/**
- * {@docCategory Calendar}
+ * @internal
*/
export interface CalendarDayStyleProps extends CalendarDayGridStyleProps {
/**
@@ -112,8 +100,6 @@ export interface CalendarDayStyleProps extends CalendarDayGridStyleProps {
*/
className?: string;
- // Insert CalendarDay style props below
-
/**
* Whether the header is clickable
*/
@@ -126,7 +112,7 @@ export interface CalendarDayStyleProps extends CalendarDayGridStyleProps {
}
/**
- * {@docCategory Calendar}
+ * @internal
*/
export interface CalendarDayStyles {
/**
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarDay/index.ts b/packages/react-components/react-datepicker-compat/src/components/CalendarDay/index.ts
index 23d7ef781f8f0..9d0c4c2684a88 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarDay/index.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarDay/index.ts
@@ -1,5 +1,3 @@
export * from './CalendarDay';
export * from './CalendarDay.types';
-// export * from './renderCalendarDay';
-// export * from './useCalendarDay';
export * from './useCalendarDayStyles';
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarDay/useCalendarDayStyles.ts b/packages/react-components/react-datepicker-compat/src/components/CalendarDay/useCalendarDayStyles.ts
index 811a3a499b693..c2addc2ed1c05 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarDay/useCalendarDayStyles.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarDay/useCalendarDayStyles.ts
@@ -4,6 +4,9 @@ import { DURATION_2, EASING_FUNCTION_2, FADE_IN } from '../../utils/animations';
import type { SlotClassNames } from '@fluentui/react-utilities';
import type { CalendarDayStyles, CalendarDayStyleProps } from './CalendarDay.types';
+/**
+ * @internal
+ */
export const calendarDayClassNames: SlotClassNames = {
root: 'fui-CalendarDay',
header: 'fui-CalendarDay__header',
@@ -127,9 +130,10 @@ const useDisabledStyleStyles = makeStyles({
});
/**
+ * @internal
+ *
* Apply styling to the CalendarDay slots based on the state
*/
-// export const useCalendarDayStyles_unstable = (state: CalendarDayState): CalendarDayState => {
export const useCalendarDayStyles_unstable = (props: CalendarDayStyleProps): CalendarDayStyles => {
const rootStyles = useRootStyles();
const headerStyles = useHeaderStyles();
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarDayGrid.tsx b/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarDayGrid.tsx
index a402e24b78100..2210c733ef6b3 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarDayGrid.tsx
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarDayGrid.tsx
@@ -5,7 +5,6 @@ import { getBoundedDateRange, getDateRangeArray, isRestrictedDate, DateRangeType
import { useCalendarDayGridStyles_unstable } from './useCalendarDayGridStyles';
import { CalendarMonthHeaderRow } from './CalendarMonthHeaderRow';
import { CalendarGridRow } from './CalendarGridRow';
-import { useAnimateBackwards } from './useAnimateBackwards';
import { useWeeks } from './useWeeks';
import { useWeekCornerStyles, WeekCorners } from './useWeekCornerStyles';
import { mergeClasses } from '@griffel/react';
@@ -31,6 +30,22 @@ function useDayRefs() {
return [daysRef, getSetRefCallback] as const;
}
+function useAnimateBackwards(weeks: DayInfo[][]): boolean | undefined {
+ const previousNavigatedDateRef = React.useRef();
+ React.useEffect(() => {
+ previousNavigatedDateRef.current = weeks[0][0].originalDate;
+ });
+ const previousNavigatedDate = previousNavigatedDateRef.current;
+
+ if (!previousNavigatedDate || previousNavigatedDate.getTime() === weeks[0][0].originalDate.getTime()) {
+ return undefined;
+ } else if (previousNavigatedDate <= weeks[0][0].originalDate) {
+ return false;
+ } else {
+ return true;
+ }
+}
+
export const CalendarDayGrid: React.FunctionComponent = props => {
const navigatedDayRef = React.useRef(null) as React.MutableRefObject;
@@ -147,8 +162,8 @@ export const CalendarDayGrid: React.FunctionComponent = pr
week={weeks[0]}
weekIndex={-1}
rowClassName={classNames.firstTransitionWeek}
- ariaRole="presentation"
- ariaHidden={true}
+ aria-role="presentation"
+ aria-hidden={true}
/>
{weeks!.slice(1, weeks!.length - 1).map((week: DayInfo[], weekIndex: number) => (
= pr
week={weeks![weeks!.length - 1]}
weekIndex={-2}
rowClassName={classNames.lastTransitionWeek}
- ariaRole="presentation"
- ariaHidden={true}
+ aria-role="presentation"
+ aria-hidden={true}
/>
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarDayGrid.types.ts b/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarDayGrid.types.ts
index 14e4c4fe03d79..a1ef13b5c6ce7 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarDayGrid.types.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarDayGrid.types.ts
@@ -4,7 +4,7 @@ import { DayOfWeek, FirstWeekOfYear, DateRangeType } from '../../utils';
import type { CalendarStrings, DateFormatting, DayGridOptions } from '../../utils';
/**
- * {@docCategory Calendar}
+ * @internal
*/
// eslint-disable-next-line @typescript-eslint/naming-convention
export interface ICalendarDayGrid {
@@ -12,7 +12,7 @@ export interface ICalendarDayGrid {
}
/**
- * {@docCategory Calendar}
+ * @internal
*/
export interface CalendarDayGridProps extends DayGridOptions {
/**
@@ -63,28 +63,28 @@ export interface CalendarDayGridProps extends DayGridOptions {
/**
* The first day of the week for your locale.
- * @defaultvalue DayOfWeek.Sunday
+ * @default DayOfWeek.Sunday
*/
firstDayOfWeek: DayOfWeek;
/**
* Defines when the first week of the year should start, FirstWeekOfYear.FirstDay,
* FirstWeekOfYear.FirstFullWeek or FirstWeekOfYear.FirstFourDayWeek are the possible values
- * @defaultvalue FirstWeekOfYear.FirstDay
+ * @default FirstWeekOfYear.FirstDay
*/
firstWeekOfYear: FirstWeekOfYear;
/**
* The date range type indicating how many days should be selected as the user
* selects days
- * @defaultValue DateRangeType.Day
+ * @default DateRangeType.Day
*/
dateRangeType: DateRangeType;
/**
* The number of days to select while dateRangeType === DateRangeType.Day. Used in order to have multi-day
* views.
- * @defaultValue 1
+ * @default 1
*/
daysToSelectInDayView?: number;
@@ -95,7 +95,7 @@ export interface CalendarDayGridProps extends DayGridOptions {
/**
* Whether the calendar should show the week number (weeks 1 to 53) before each week row
- * @defaultvalue false
+ * @default false
*/
showWeekNumbers?: boolean;
@@ -113,7 +113,7 @@ export interface CalendarDayGridProps extends DayGridOptions {
/**
* How many weeks to show by default. If not provided, will show enough weeks to display the current
* month, between 4 and 6 depending
- * @defaultvalue undefined
+ * @default undefined
*/
weeksToShow?: number;
@@ -135,19 +135,19 @@ export interface CalendarDayGridProps extends DayGridOptions {
/**
* The days that are selectable when `dateRangeType` is WorkWeek.
* If `dateRangeType` is not WorkWeek this property does nothing.
- * @defaultvalue [Monday,Tuesday,Wednesday,Thursday,Friday]
+ * @default [Monday,Tuesday,Wednesday,Thursday,Friday]
*/
workWeekDays?: DayOfWeek[];
/**
* Whether the close button should be shown or not
- * @defaultvalue false
+ * @default false
*/
showCloseButton?: boolean;
/**
* Allows all dates and buttons to be focused, including disabled ones
- * @defaultvalue false
+ * @default false
*/
allFocusable?: boolean;
@@ -158,7 +158,7 @@ export interface CalendarDayGridProps extends DayGridOptions {
/**
* Whether to show days outside the selected month with lighter styles
- * @defaultvalue true
+ * @default true
*/
lightenDaysOutsideNavigatedMonth?: boolean;
@@ -176,7 +176,7 @@ export interface CalendarDayGridProps extends DayGridOptions {
}
/**
- * {@docCategory Calendar}
+ * @internal
*/
export interface CalendarDayGridStyleProps {
/**
@@ -211,7 +211,7 @@ export interface CalendarDayGridStyleProps {
}
/**
- * {@docCategory Calendar}
+ * @internal
*/
export interface CalendarDayGridStyles {
/**
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarGridDayCell.tsx b/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarGridDayCell.tsx
index d87c1bf12047a..79a1217bcce1f 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarGridDayCell.tsx
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarGridDayCell.tsx
@@ -5,16 +5,22 @@ import { useFluent_unstable } from '@fluentui/react-shared-contexts';
import { mergeClasses } from '@griffel/react';
import { addDays, addWeeks, compareDates, findAvailableDate, DateRangeType } from '../../utils';
import { weekCornersClassNames } from './useWeekCornerStyles';
+import { extraCalendarDayGridClassNames } from './useCalendarDayGridStyles';
import type { AvailableDateOptions } from '../../utils';
import type { DayInfo } from './CalendarDayGrid';
import type { CalendarGridRowProps } from './CalendarGridRow';
-import { extraCalendarDayGridClassNames } from './useCalendarDayGridStyles';
+/**
+ * @internal
+ */
export interface CalendarGridDayCellProps extends CalendarGridRowProps {
day: DayInfo;
dayIndex: number;
}
+/**
+ * @internal
+ */
export const CalendarGridDayCell: React.FunctionComponent = props => {
const {
navigatedDate,
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarGridRow.tsx b/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarGridRow.tsx
index 47467c634fe26..2b54420b9ae79 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarGridRow.tsx
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarGridRow.tsx
@@ -5,6 +5,9 @@ import type { CalendarDayGridProps, CalendarDayGridStyles } from './CalendarDayG
import type { DayInfo } from './CalendarDayGrid';
import type { WeekCorners } from './useWeekCornerStyles';
+/**
+ * @internal
+ */
export interface CalendarGridRowProps extends CalendarDayGridProps {
classNames: CalendarDayGridStyles;
weeks: DayInfo[][];
@@ -21,6 +24,9 @@ export interface CalendarGridRowProps extends CalendarDayGridProps {
getRefsFromDayInfos(dayInfosInRange: DayInfo[]): (HTMLElement | null)[];
}
+/**
+ * @internal
+ */
export const CalendarGridRow: React.FunctionComponent = props => {
const {
classNames,
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarMonthHeaderRow.tsx b/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarMonthHeaderRow.tsx
index 776743ae81028..fbe0a3cb479f6 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarMonthHeaderRow.tsx
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/CalendarMonthHeaderRow.tsx
@@ -4,11 +4,17 @@ import { DAYS_IN_WEEK } from '../../utils';
import type { CalendarDayGridProps, CalendarDayGridStyles } from './CalendarDayGrid.types';
import type { DayInfo } from './CalendarDayGrid';
+/**
+ * @internal
+ */
export interface CalendarDayMonthHeaderRowProps extends CalendarDayGridProps {
weeks: DayInfo[][];
classNames: CalendarDayGridStyles;
}
+/**
+ * @internal
+ */
export const CalendarMonthHeaderRow: React.FunctionComponent = props => {
const { showWeekNumbers, strings, firstDayOfWeek, allFocusable, weeksToShow, weeks, classNames } = props;
const dayLabels = strings.shortDays.slice();
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/useAnimateBackwards.ts b/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/useAnimateBackwards.ts
deleted file mode 100644
index 034884d8c3e1d..0000000000000
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/useAnimateBackwards.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import * as React from 'react';
-import { DayInfo } from './CalendarDayGrid';
-import { useRefEffect } from '../../temp-utils/useRefEffect';
-
-/**
- * Hook to determine whether to animate the CalendarDayGrid forwards or backwards
- * @returns true if the grid should animate backwards; false otherwise
- */
-export function useAnimateBackwards(weeks: DayInfo[][]): boolean | undefined {
- const previousNavigatedDateRef = React.useRef();
- useRefEffect(() => {
- previousNavigatedDateRef.current = weeks[0][0].originalDate;
- });
- const previousNavigatedDate = previousNavigatedDateRef.current;
-
- if (!previousNavigatedDate || previousNavigatedDate.getTime() === weeks[0][0].originalDate.getTime()) {
- return undefined;
- } else if (previousNavigatedDate <= weeks[0][0].originalDate) {
- return false;
- } else {
- return true;
- }
-}
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/useCalendarDayGridStyles.ts b/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/useCalendarDayGridStyles.ts
index 8dba0110df5ff..cdd0ce07a71ef 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/useCalendarDayGridStyles.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/useCalendarDayGridStyles.ts
@@ -21,6 +21,9 @@ import { weekCornersClassNames } from './useWeekCornerStyles';
import type { SlotClassNames } from '@fluentui/react-utilities';
import type { CalendarDayGridStyles, CalendarDayGridStyleProps } from './CalendarDayGrid.types';
+/**
+ * @internal
+ */
export const calendarDayGridClassNames: SlotClassNames = {
wrapper: 'fui-CalendarDayGrid__wrapper',
table: 'fui-CalendarDayGrid__table',
@@ -38,6 +41,9 @@ export const calendarDayGridClassNames: SlotClassNames =
dayMarker: 'fui-CalendarDayGrid__dayMarker',
};
+/**
+ * @internal
+ */
export const extraCalendarDayGridClassNames = {
hoverStyle: 'fui-CalendarDayGrid__hoverStyle',
pressedStyle: 'fui-CalendarDayGrid__pressedStyle',
@@ -319,6 +325,8 @@ const useCornerBorderAndRadiusStyles = makeStyles({
});
/**
+ * @internal
+ *
* Apply styling to the CalendarDayGrid slots based on the state
*/
export const useCalendarDayGridStyles_unstable = (props: CalendarDayGridStyleProps): CalendarDayGridStyles => {
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/useWeekCornerStyles.ts b/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/useWeekCornerStyles.ts
index b7164ab452b1c..caf8ab6f0a388 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/useWeekCornerStyles.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/useWeekCornerStyles.ts
@@ -5,6 +5,9 @@ import { getDateRangeArray } from '../../utils/index';
import { DayInfo } from './CalendarDayGrid';
import { CalendarDayGridProps } from './CalendarDayGrid.types';
+/**
+ * @internal
+ */
export const weekCornersClassNames = {
topRightCornerDate: 'fui-CalendarDayGrid__topRightCornerDate',
topLeftCornerDate: 'fui-CalendarDayGrid__topLeftCornerDate',
@@ -12,10 +15,16 @@ export const weekCornersClassNames = {
bottomLeftCornerDate: 'fui-CalendarDayGrid__bottomLeftCornerDate',
};
+/**
+ * @internal
+ */
export interface WeekCorners {
[key: string]: string;
}
+/**
+ * @internal
+ */
export function useWeekCornerStyles(props: CalendarDayGridProps) {
const { dir } = useFluent_unstable();
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/useWeeks.ts b/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/useWeeks.ts
index 1258f23a7e7a2..ae1f370c27c0c 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/useWeeks.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarDayGrid/useWeeks.ts
@@ -3,6 +3,9 @@ import { compareDates, DAYS_IN_WEEK, getDayGrid } from '../../utils/index';
import { DayInfo } from './CalendarDayGrid';
import { CalendarDayGridProps } from './CalendarDayGrid.types';
+/**
+ * @internal
+ */
export function useWeeks(
props: CalendarDayGridProps,
onSelectDate: (date: Date) => void,
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarMonth/CalendarMonth.tsx b/packages/react-components/react-datepicker-compat/src/components/CalendarMonth/CalendarMonth.tsx
index 41f1be9a5b9f3..e8b654e10eac7 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarMonth/CalendarMonth.tsx
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarMonth/CalendarMonth.tsx
@@ -15,7 +15,6 @@ import {
DEFAULT_DATE_FORMATTING,
} from '../../utils';
import { CalendarYear } from '../CalendarYear/CalendarYear';
-import { defaultCalendarNavigationIcons } from '../Calendar/defaults';
import { useCalendarMonthStyles_unstable } from './useCalendarMonthStyles';
import type { CalendarMonthProps } from './CalendarMonth.types';
import type { CalendarYearRange, ICalendarYear } from '../CalendarYear/CalendarYear.types';
@@ -67,6 +66,9 @@ function useFocusLogic({ componentRef }: { componentRef: CalendarMonthProps['com
return [navigatedMonthRef, calendarYearRef, focusOnNextUpdate] as const;
}
+/**
+ * @internal
+ */
export const CalendarMonth: React.FunctionComponent = props => {
const {
allFocusable,
@@ -79,7 +81,6 @@ export const CalendarMonth: React.FunctionComponent = props
maxDate,
minDate,
navigatedDate,
- navigationIcons = defaultCalendarNavigationIcons,
onHeaderSelect: onUserHeaderSelect,
onNavigateDate,
selectedDate,
@@ -171,7 +172,6 @@ export const CalendarMonth: React.FunctionComponent = props
maxYear={maxDate ? maxDate.getFullYear() : undefined}
// eslint-disable-next-line react/jsx-no-bind
onSelectYear={onSelectYear}
- navigationIcons={navigationIcons}
// eslint-disable-next-line react/jsx-no-bind
onHeaderSelect={onYearPickerHeaderSelect}
selectedYear={
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarMonth/CalendarMonth.types.ts b/packages/react-components/react-datepicker-compat/src/components/CalendarMonth/CalendarMonth.types.ts
index dba7709a018cd..3e63e808b8e0e 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarMonth/CalendarMonth.types.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarMonth/CalendarMonth.types.ts
@@ -1,25 +1,13 @@
import * as React from 'react';
import { AnimationDirection } from '../Calendar/Calendar.types';
-import type { Slot } from '@fluentui/react-utilities';
import type { CalendarStrings, DateFormatting } from '../../utils';
-import type { CalendarNavigationIcons } from '../Calendar/Calendar.types';
import type { CalendarPickerStyleProps, CalendarPickerStyles } from '../CalendarPicker/CalendarPicker.types';
-export type CalendarMonthSlots = {
- root: Slot<'div'>;
-};
-
-/**
- * {@docCategory Calendar}
- */
// eslint-disable-next-line @typescript-eslint/naming-convention
export interface ICalendarMonth {
focus(): void;
}
-/**
- * {@docCategory Calendar}
- */
export interface CalendarMonthProps {
/**
* Optional callback to access the ICalendarMonth interface. Use this instead of ref for accessing
@@ -57,11 +45,6 @@ export interface CalendarMonthProps {
*/
onNavigateDate: (date: Date, focusOnNavigatedDay: boolean) => void;
- /**
- * Custom navigation icons.
- */
- navigationIcons?: CalendarNavigationIcons;
-
/**
* Value of today. If unspecified, current time in client machine will be used.
*/
@@ -89,19 +72,19 @@ export interface CalendarMonthProps {
/**
* Whether the month picker should highlight the current month
- * @defaultvalue false
+ * @default false
*/
highlightCurrentMonth?: boolean;
/**
* Whether the month picker should highlight the selected month
- * @defaultvalue false
+ * @default false
*/
highlightSelectedMonth?: boolean;
/**
* Allows all dates and buttons to be focused, including disabled ones
- * @defaultvalue false
+ * @default false
*/
allFocusable?: boolean;
@@ -112,7 +95,7 @@ export interface CalendarMonthProps {
/**
* Whether the year picker is hidden
- * @defaultvalue false
+ * @default false
*/
yearPickerHidden?: boolean;
@@ -123,11 +106,11 @@ export interface CalendarMonthProps {
}
/**
- * {@docCategory Calendar}
+ * @internal
*/
export interface CalendarMonthStyleProps extends CalendarPickerStyleProps {}
/**
- * {@docCategory Calendar}
+ * @internal
*/
export interface CalendarMonthStyles extends CalendarPickerStyles {}
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarMonth/index.ts b/packages/react-components/react-datepicker-compat/src/components/CalendarMonth/index.ts
index e8d75a203b387..dfa20f235aec3 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarMonth/index.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarMonth/index.ts
@@ -1,5 +1,3 @@
export * from './CalendarMonth';
export * from './CalendarMonth.types';
-// export * from './renderCalendarMonth';
-// export * from './useCalendarMonth';
export * from './useCalendarMonthStyles';
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarMonth/useCalendarMonthStyles.ts b/packages/react-components/react-datepicker-compat/src/components/CalendarMonth/useCalendarMonthStyles.ts
index 37382c1bdfa51..7d7be506b453c 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarMonth/useCalendarMonthStyles.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarMonth/useCalendarMonthStyles.ts
@@ -1,11 +1,9 @@
import { useCalendarPickerStyles_unstable } from '../CalendarPicker/useCalendarPickerStyles';
-import type { SlotClassNames } from '@fluentui/react-utilities';
-import type { CalendarMonthSlots, CalendarMonthStyleProps, CalendarMonthStyles } from './CalendarMonth.types';
+import type { CalendarMonthStyleProps, CalendarMonthStyles } from './CalendarMonth.types';
-export const calendarMonthClassNames: SlotClassNames = {
- root: 'fui-CalendarMonth',
-};
/**
+ * @internal
+ *
* Apply styling to the CalendarMonth slots based on the state
*/
export const useCalendarMonthStyles_unstable = (props: CalendarMonthStyleProps): CalendarMonthStyles => {
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarPicker/CalendarPicker.types.ts b/packages/react-components/react-datepicker-compat/src/components/CalendarPicker/CalendarPicker.types.ts
index a780f67ef8bce..de35513ce8763 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarPicker/CalendarPicker.types.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarPicker/CalendarPicker.types.ts
@@ -1,7 +1,7 @@
import { AnimationDirection } from '../Calendar/Calendar.types';
/**
- * {@docCategory Calendar}
+ * @internal
*/
export interface CalendarPickerStyleProps {
/**
@@ -36,7 +36,7 @@ export interface CalendarPickerStyleProps {
}
/**
- * {@docCategory Calendar}
+ * @internal
*/
export interface CalendarPickerStyles {
/**
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarPicker/index.ts b/packages/react-components/react-datepicker-compat/src/components/CalendarPicker/index.ts
index 4de013bcc038d..5831223b103f2 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarPicker/index.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarPicker/index.ts
@@ -1,6 +1,2 @@
-// export * from './CalendarPicker';
-// export * from './CalendarPicker.styles';
export * from './CalendarPicker.types';
-// export * from './renderCalendarPicker';
-// export * from './useCalendarPicker';
export * from './useCalendarPickerStyles';
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarPicker/useCalendarPickerStyles.ts b/packages/react-components/react-datepicker-compat/src/components/CalendarPicker/useCalendarPickerStyles.ts
index 1529f832a50c1..c0274cba5df9f 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarPicker/useCalendarPickerStyles.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarPicker/useCalendarPickerStyles.ts
@@ -15,6 +15,9 @@ import { AnimationDirection } from '../Calendar/Calendar.types';
import type { SlotClassNames } from '@fluentui/react-utilities';
import type { CalendarPickerStyles, CalendarPickerStyleProps } from './CalendarPicker.types';
+/**
+ * @internal
+ */
export const calendarPickerClassNames: SlotClassNames = {
root: 'fui-CalendarPicker',
headerContainer: 'fui-CalendarPicker__headerContainer',
@@ -277,9 +280,10 @@ const useDisabledStyles = makeStyles({
});
/**
+ * @internal
+ *
* Apply styling to the CalendarPicker slots based on the state
*/
-// export const useCalendarPickerStyles_unstable = (state: CalendarPickerState): CalendarPickerState => {
export const useCalendarPickerStyles_unstable = (props: CalendarPickerStyleProps): CalendarPickerStyles => {
const rootStyles = useRootStyles();
const headerContainerStyles = useHeaderContainerStyles();
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarYear/CalendarYear.tsx b/packages/react-components/react-datepicker-compat/src/components/CalendarYear/CalendarYear.tsx
index a3fdda7bb6dc3..1282d635e49ea 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarYear/CalendarYear.tsx
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarYear/CalendarYear.tsx
@@ -200,7 +200,6 @@ interface CalendarYearNavArrowProps extends CalendarYearHeaderProps {
const CalendarYearNavArrow: React.FunctionComponent = props => {
const {
className,
- // navigationIcons = defaultCalendarNavigationIcons,
strings = DefaultCalendarYearStrings,
direction,
onSelectPrev,
@@ -402,6 +401,9 @@ function useYearRangeState({ selectedYear, navigatedYear }: CalendarYearProps) {
return [fromYear, toYear, onNavNext, onNavPrevious] as const;
}
+/**
+ * @internal
+ */
export const CalendarYear: React.FunctionComponent = props => {
const animateBackwards = useAnimateBackwards(props);
const [fromYear, toYear, onNavNext, onNavPrevious] = useYearRangeState(props);
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarYear/CalendarYear.types.ts b/packages/react-components/react-datepicker-compat/src/components/CalendarYear/CalendarYear.types.ts
index a09ad7a09b002..b0df727b09c3a 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarYear/CalendarYear.types.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarYear/CalendarYear.types.ts
@@ -1,10 +1,9 @@
import * as React from 'react';
import { AnimationDirection } from '../Calendar/Calendar.types';
-import type { CalendarNavigationIcons } from '../Calendar/Calendar.types';
import type { CalendarPickerStyleProps, CalendarPickerStyles } from '../CalendarPicker/CalendarPicker.types';
/**
- * {@docCategory Calendar}
+ * @internal
*/
// eslint-disable-next-line @typescript-eslint/naming-convention
export interface ICalendarYear {
@@ -12,7 +11,7 @@ export interface ICalendarYear {
}
/**
- * {@docCategory Calendar}
+ * @internal
*/
export interface CalendarYearRange {
fromYear: number;
@@ -20,14 +19,14 @@ export interface CalendarYearRange {
}
/**
- * {@docCategory Calendar}
+ * @internal
*/
export interface CalendarYearRangeToString {
(range: CalendarYearRange): string;
}
/**
- * {@docCategory Calendar}
+ * @internal
*/
export interface CalendarYearStrings {
rangeAriaLabel?: string | CalendarYearRangeToString;
@@ -37,7 +36,7 @@ export interface CalendarYearStrings {
}
/**
- * {@docCategory Calendar}
+ * @internal
*/
export interface CalendarYearProps {
/**
@@ -67,11 +66,6 @@ export interface CalendarYearProps {
*/
onSelectYear?: (year: number) => void;
- /**
- * Custom navigation icons.
- */
- navigationIcons?: CalendarNavigationIcons;
-
/**
* Callback action when the header is selected
*/
@@ -89,13 +83,13 @@ export interface CalendarYearProps {
/**
* Whether the year picker should highlight the current year
- * @defaultvalue false
+ * @default false
*/
highlightCurrentYear?: boolean;
/**
* Whether the year picker should highlight the selected year
- * @defaultvalue false
+ * @default false
*/
highlightSelectedYear?: boolean;
@@ -120,10 +114,19 @@ export interface CalendarYearProps {
animationDirection?: AnimationDirection;
}
+/**
+ * @internal
+ */
export interface CalendarYearStyleProps extends CalendarPickerStyleProps {}
+/**
+ * @internal
+ */
export interface CalendarYearStyles extends CalendarPickerStyles {}
+/**
+ * @internal
+ */
export interface CalendarYearHeaderProps extends CalendarYearProps, CalendarYearRange {
/**
* Callback action when the 'previous' navigation button is selected
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarYear/index.ts b/packages/react-components/react-datepicker-compat/src/components/CalendarYear/index.ts
index 2af7f9e9c1ccb..17644f289001a 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarYear/index.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarYear/index.ts
@@ -1,5 +1,3 @@
export * from './CalendarYear';
export * from './CalendarYear.types';
-// export * from './renderCalendarYear';
-// export * from './useCalendarYear';
export * from './useCalendarYearStyles';
diff --git a/packages/react-components/react-datepicker-compat/src/components/CalendarYear/useCalendarYearStyles.ts b/packages/react-components/react-datepicker-compat/src/components/CalendarYear/useCalendarYearStyles.ts
index b33bd43e29c30..95512b1ce4832 100644
--- a/packages/react-components/react-datepicker-compat/src/components/CalendarYear/useCalendarYearStyles.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/CalendarYear/useCalendarYearStyles.ts
@@ -2,6 +2,8 @@ import { useCalendarPickerStyles_unstable } from '../CalendarPicker/useCalendarP
import type { CalendarYearStyleProps, CalendarYearStyles } from './CalendarYear.types';
/**
+ * @internal
+ *
* Apply styling to the CalendarYear slots based on the state
*/
export const useCalendarYearStyles_unstable = (props: CalendarYearStyleProps): CalendarYearStyles => {
diff --git a/packages/react-components/react-datepicker-compat/src/components/DatePicker/DatePicker.cy.tsx b/packages/react-components/react-datepicker-compat/src/components/DatePicker/DatePicker.cy.tsx
new file mode 100644
index 0000000000000..daec8df4f5f37
--- /dev/null
+++ b/packages/react-components/react-datepicker-compat/src/components/DatePicker/DatePicker.cy.tsx
@@ -0,0 +1,131 @@
+import * as React from 'react';
+import { mount as mountBase } from '@cypress/react';
+
+import { FluentProvider } from '@fluentui/react-provider';
+import { teamsLightTheme } from '@fluentui/react-theme';
+
+import { DatePicker } from './DatePicker';
+
+const mount = (element: JSX.Element) => {
+ mountBase({element});
+};
+
+const inputSelector = '[role="combobox"]';
+const popoverSelector = '[role="dialog"]';
+const fieldErrorMessageSelector = '[role=alert]';
+
+describe('DatePicker', () => {
+ it('opens a default datepicker', () => {
+ mount();
+ cy.get(inputSelector).click().get(popoverSelector).should('be.visible');
+ });
+
+ it('should not open a datepicker when disabled', () => {
+ mount();
+ // Force is needed because otherwise Cypress throws an error
+ cy.get(inputSelector).click({ force: true }).get(popoverSelector).should('not.exist');
+ });
+
+ it('should render DatePicker and calloutId must exist in the DOM when isDatePickerShown is set', () => {
+ mount();
+ cy.get(inputSelector).click();
+
+ cy.get('body').find('[aria-owns]').should('exist');
+ });
+
+ it('should clear error message when required input has date text and allowTextInput is true', () => {
+ mount();
+
+ // Open DatePicker and dismiss
+ cy.get(inputSelector).click().get('body').click('bottomRight');
+ cy.get(fieldErrorMessageSelector).should('exist');
+
+ // Type a date and dismiss
+ cy.get(inputSelector).click().click().type('Jan 1 2030').get('body').click('bottomRight');
+
+ cy.get(fieldErrorMessageSelector).should('not.exist');
+ });
+
+ it('clears error message when required input has date selected from calendar and allowTextInput is true', () => {
+ mount();
+
+ // Open picker and dismiss to show error message
+ cy.get(inputSelector).click().get('body').click('bottomRight');
+ cy.get(fieldErrorMessageSelector).should('exist');
+
+ // Select a date from calendar, we choose 10 since the first 0-6 days in the grid are not really dates, and dismiss
+ cy.get(inputSelector).click().get('[role="gridcell"]').its(10).click().get('body').click('bottomRight');
+ cy.get(fieldErrorMessageSelector).should('not.exist');
+ });
+
+ it('should not clear initial error when datepicker is opened', () => {
+ mount();
+
+ cy.get(fieldErrorMessageSelector).should('exist');
+
+ // open and dismiss picker
+ cy.get(inputSelector).click().get('body').click('bottomRight');
+ cy.get(fieldErrorMessageSelector).should('exist');
+ });
+
+ it('should reset status message after selecting a valid date', () => {
+ mount();
+
+ cy.get(fieldErrorMessageSelector).should('not.exist');
+ cy.get(inputSelector).click().click().type('test').get('body').click('bottomRight');
+ cy.get(fieldErrorMessageSelector).should('exist');
+ cy.get(inputSelector).click().get('[role="gridcell"]').its(10).click().get('body').click('bottomRight');
+ cy.get(fieldErrorMessageSelector).should('not.exist');
+ });
+});
+
+describe('When boundaries are specified', () => {
+ const defaultDate = new Date('Dec 15 2017');
+ const minDate = new Date('Jan 1 2017');
+ const maxDate = new Date('Dec 31 2017');
+ const strings = {
+ months: [
+ 'January',
+ 'February',
+ 'March',
+ 'April',
+ 'May',
+ 'June',
+ 'July',
+ 'August',
+ 'September',
+ 'October',
+ 'November',
+ 'December',
+ ],
+ shortMonths: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ days: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+ shortDays: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],
+ goToToday: 'Go to today',
+ isOutOfBoundsErrorMessage: 'out of bounds',
+ };
+
+ beforeEach(() => {
+ mount();
+ });
+
+ it('should throw validation error for date outside boundary', () => {
+ // Before min date
+ cy.get(inputSelector).click().click().clear().type('Jan 1 2010{enter}').get('body').click('bottomRight');
+ cy.get(fieldErrorMessageSelector).should('exist').should('have.text', 'out of bounds');
+
+ // After max date
+ cy.get(inputSelector).click().click().clear().type('Jan 1 2020{enter}').get('body').click('bottomRight');
+ cy.get(fieldErrorMessageSelector).should('exist').should('have.text', 'out of bounds');
+ });
+
+ it('should not throw validation error for date inside boundary', () => {
+ // In boundary
+ cy.get(inputSelector).click().click().clear().type('Dec 16 2017{enter}').get('body').click('bottomRight');
+ cy.get(fieldErrorMessageSelector).should('not.exist');
+
+ // In boundary
+ cy.get(inputSelector).click().click().clear().type('Jan 1 2017{enter}').get('body').click('bottomRight');
+ cy.get(fieldErrorMessageSelector).should('not.exist');
+ });
+});
diff --git a/packages/react-components/react-datepicker-compat/src/components/DatePicker/DatePicker.test.tsx b/packages/react-components/react-datepicker-compat/src/components/DatePicker/DatePicker.test.tsx
new file mode 100644
index 0000000000000..93200e4cf7179
--- /dev/null
+++ b/packages/react-components/react-datepicker-compat/src/components/DatePicker/DatePicker.test.tsx
@@ -0,0 +1,142 @@
+import * as React from 'react';
+import { fireEvent, render, RenderResult } from '@testing-library/react';
+import { DatePicker } from './DatePicker';
+import { isConformant } from '../../testing/isConformant';
+import { datePickerClassNames } from './useDatePickerStyles';
+import { resetIdsForTests } from '@fluentui/react-utilities';
+
+// testing-library's queryByRole function doesn't look inside portals
+function queryByRoleDialog(result: RenderResult) {
+ const dialogs = result.baseElement.querySelectorAll('*[role="dialog"]');
+ if (!dialogs?.length) {
+ return null;
+ } else {
+ expect(dialogs.length).toBe(1);
+ return dialogs.item(0) as HTMLElement;
+ }
+}
+
+const getDatepickerPopoverElement = (result: RenderResult) => {
+ result.getByRole('combobox').click();
+ const dialog = queryByRoleDialog(result);
+ expect(dialog).not.toBeNull();
+ return dialog!;
+};
+
+describe('DatePicker', () => {
+ beforeEach(() => {
+ resetIdsForTests();
+ });
+
+ isConformant({
+ Component: DatePicker,
+ displayName: 'DatePicker',
+ disabledTests: ['consistent-callback-args'],
+ testOptions: {
+ 'has-static-classnames': [
+ {
+ props: {},
+ expectedClassNames: {
+ root: datePickerClassNames.root,
+ field: datePickerClassNames.field,
+ wrapper: datePickerClassNames.wrapper,
+ popoverSurface: datePickerClassNames.popoverSurface,
+ input: datePickerClassNames.input,
+ calendar: datePickerClassNames.calendar,
+ },
+ getPortalElement: getDatepickerPopoverElement,
+ },
+ ],
+ },
+ });
+
+ it('can add an id to the container', () => {
+ const result = render();
+ expect(result.findByTestId('test-id')).toBeTruthy();
+ });
+
+ it('should not render DatePicker when isDatePickerShown is not set', () => {
+ const result = render();
+ expect(result).toMatchSnapshot();
+ });
+
+ it('renders a normal input when allowTextInput is true', () => {
+ const result = render();
+ expect(result.getByRole('combobox').getAttribute('readonly')).toBeNull();
+ });
+
+ it('renders a readonly input when allowTextInput is false', () => {
+ const result = render();
+ expect(result.getByRole('combobox').getAttribute('readonly')).not.toBeNull();
+ });
+
+ it('should call onSelectDate even when required input is empty when allowTextInput is true', () => {
+ const onSelectDate = jest.fn();
+ const result = render();
+ const input = result.getByRole('combobox');
+
+ fireEvent.change(input, { target: { value: 'Jan 1 2030' } });
+ fireEvent.blur(input);
+
+ fireEvent.change(input, { target: { value: '' } });
+ fireEvent.blur(input);
+
+ expect(onSelectDate).toHaveBeenCalledTimes(2);
+ });
+
+ it('should call onSelectDate only once when allowTextInput is true and popup is used to select the value', () => {
+ const onSelectDate = jest.fn();
+ const result = render();
+
+ fireEvent.click(result.getByRole('combobox'));
+ result.getAllByRole('gridcell')[10].click();
+
+ expect(onSelectDate).toHaveBeenCalledTimes(1);
+ });
+
+ it('should set "Calendar" as the Callout\'s aria-label', () => {
+ const result = render();
+ const input = result.getByRole('combobox');
+
+ fireEvent.click(input);
+ fireEvent.blur(input);
+
+ expect(result.getByRole('dialog').getAttribute('aria-label')).toBe('Calendar');
+ });
+
+ it('should reflect the correct date in the input field when selecting a value', () => {
+ const today = new Date('January 15, 2020');
+ const initiallySelectedDate = new Date('January 10, 2020');
+ const result = render();
+
+ const input = result.getByRole('combobox');
+
+ fireEvent.click(input);
+ result.getByText('15').click();
+
+ expect(input.getAttribute('value')).toBe('Wed Jan 15 2020');
+ });
+
+ it('reflects the correct date in the input field when selecting a value and a different format is given', () => {
+ const today = new Date('January 15, 2020');
+ const initiallySelectedDate = new Date('January 10, 2020');
+ const onFormatDate = (date?: Date): string => {
+ return date ? date.getDate() + '/' + (date.getMonth() + 1) + '/' + (date.getFullYear() % 100) : '';
+ };
+
+ const result = render(
+ ,
+ );
+ const input = result.getByRole('combobox');
+
+ fireEvent.click(input);
+ result.getByText('15').click();
+
+ expect(input.getAttribute('value')).toBe('15/1/20');
+ });
+});
diff --git a/packages/react-components/react-datepicker-compat/src/components/DatePicker/DatePicker.test.tsx.ignore b/packages/react-components/react-datepicker-compat/src/components/DatePicker/DatePicker.test.tsx.ignore
deleted file mode 100644
index 9ddcf9a74fef6..0000000000000
--- a/packages/react-components/react-datepicker-compat/src/components/DatePicker/DatePicker.test.tsx.ignore
+++ /dev/null
@@ -1,16 +0,0 @@
-import * as React from 'react';
-import { render } from '@testing-library/react';
-import { DatePicker } from './DatePicker';
-// import { isConformant } from '../../testing/isConformant';
-
-describe('DatePicker', () => {
- // isConformant({
- // Component: DatePicker,
- // displayName: 'DatePicker',
- // });
-
- it('renders a default state', () => {
- const result = render(Default DatePicker);
- expect(result.container).toMatchSnapshot();
- });
-});
diff --git a/packages/react-components/react-datepicker-compat/src/components/DatePicker/DatePicker.types.ts b/packages/react-components/react-datepicker-compat/src/components/DatePicker/DatePicker.types.ts
index 96c1894d284ff..3da1b83ade0ea 100644
--- a/packages/react-components/react-datepicker-compat/src/components/DatePicker/DatePicker.types.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/DatePicker/DatePicker.types.ts
@@ -3,7 +3,6 @@ import { Input } from '@fluentui/react-input';
import { Field } from '@fluentui/react-field';
import { DayOfWeek, FirstWeekOfYear } from '../../utils';
import { PopoverSurface } from '@fluentui/react-popover';
-import type { InputProps } from '@fluentui/react-input';
import type { PopoverProps } from '@fluentui/react-popover';
import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
import type { CalendarProps } from '../Calendar/Calendar.types';
@@ -11,7 +10,7 @@ import type { CalendarStrings, DateFormatting } from '../../utils';
export type DatePickerSlots = {
root: NonNullable>;
- inputField: NonNullable>;
+ field: NonNullable>;
input: NonNullable>;
wrapper: NonNullable>;
popover: NonNullable>>;
@@ -38,12 +37,6 @@ export type DatePickerProps = ComponentProps> & {
*/
componentRef?: React.RefObject;
- /**
- * Pass textField props to textField component.
- * Prop name is "textField" for compatibility with upcoming slots work.
- */
- textField?: InputProps;
-
/**
* Callback issued when a date is selected
*/
@@ -56,61 +49,50 @@ export type DatePickerProps = ComponentProps> & {
/**
* Whether the DatePicker is a required field or not
- * @defaultvalue false
+ * @default false
*/
isRequired?: boolean;
/**
* Disabled state of the DatePicker.
- * @defaultvalue false
+ * @default false
*/
disabled?: boolean;
/**
- * Aria Label for TextField of the DatePicker for screen reader users.
- */
- ariaLabel?: string;
-
- /**
- * Whether or not the Textfield of the DatePicker is underlined.
- * @defaultvalue false
+ * Whether or not the Input of the DatePicker is underlined.
+ * @default false
*/
underlined?: boolean;
- /**
- * Aria label for date picker popup for screen reader users.
- * @defaultvalue Calendar
- */
- pickerAriaLabel?: string;
-
/**
* Whether the month picker is shown beside the day picker or hidden.
- * @defaultvalue true
+ * @default true
*/
isMonthPickerVisible?: boolean;
/**
* Show month picker on top of date picker when visible.
- * @defaultvalue false
+ * @default false
*/
showMonthPickerAsOverlay?: boolean;
/**
* Whether the DatePicker allows input a date string directly or not
- * @defaultvalue false
+ * @default false
*/
allowTextInput?: boolean;
/**
* Whether the DatePicker should open automatically when the control is focused
* WARNING: setting this to false creates an accessibility violation and is not recommended
- * @defaultvalue true
+ * @default true
*/
disableAutoFocus?: boolean;
/**
* Whether the DatePicker should open when the input is clicked
- * @defaultvalue true
+ * @default true
*/
openOnClick?: boolean;
@@ -131,19 +113,19 @@ export type DatePickerProps = ComponentProps> & {
/**
* Optional method to format the chosen date to a string to display in the DatePicker
- * @defaultvalue date.toString()
+ * @default date.toString()
*/
formatDate?: (date?: Date) => string;
/**
* Optional method to parse the text input value to date, it is only useful when allowTextInput is set to true
- * @defaultvalue new Date(Date.parse(dateStr))
+ * @default new Date(Date.parse(dateStr))
*/
parseDateFromString?: (dateStr: string) => Date | null;
/**
* The first day of the week for your locale.
- * @defaultvalue DayOfWeek.Sunday
+ * @default DayOfWeek.Sunday
*/
firstDayOfWeek?: DayOfWeek;
@@ -154,26 +136,26 @@ export type DatePickerProps = ComponentProps> & {
/**
* Whether the month picker should highlight the current month
- * @defaultvalue false
+ * @default false
*/
highlightCurrentMonth?: boolean;
/**
* Whether the month picker should highlight the selected month
- * @defaultvalue false
+ * @default false
*/
highlightSelectedMonth?: boolean;
/**
* Whether the calendar should show the week number (weeks 1 to 53) before each week row
- * @defaultvalue false
+ * @default false
*/
showWeekNumbers?: boolean;
/**
* Defines when the first week of the year should start, FirstWeekOfYear.FirstDay,
* FirstWeekOfYear.FirstFullWeek or FirstWeekOfYear.FirstFourDayWeek are the possible values
- * @defaultvalue FirstWeekOfYear.FirstFullWeek
+ * @default FirstWeekOfYear.FirstFullWeek
*/
firstWeekOfYear?: FirstWeekOfYear;
@@ -184,15 +166,10 @@ export type DatePickerProps = ComponentProps> & {
/**
* Determines if the DatePicker has a border.
- * @defaultvalue false
+ * @default false
*/
borderless?: boolean;
- /**
- * Optional CSS class for the DatePicker root element.
- */
- className?: string;
-
/**
* Apply additional formatting to dates, for example localized date formatting.
*/
@@ -215,7 +192,7 @@ export type DatePickerProps = ComponentProps> & {
/**
* Allows all elements to be focused, including disabled ones
- * @defaultvalue false
+ * @default false
*/
allFocusable?: boolean;
@@ -230,7 +207,7 @@ export type DatePickerProps = ComponentProps> & {
showCloseButton?: boolean;
/**
- * The tabIndex of the TextField
+ * The tabIndex of the Input
*/
tabIndex?: number;
};
@@ -240,27 +217,24 @@ export type DatePickerState = ComponentState & {
isDatePickerShown: boolean;
};
-/**
- * {@docCategory DatePicker}
- */
export interface DatePickerStrings extends CalendarStrings {
/**
- * Error message to render for TextField if isRequired validation fails.
+ * Error message to render for Input if isRequired validation fails.
*/
isRequiredErrorMessage?: string;
/**
- * Error message to render for TextField if input date string parsing fails.
+ * Error message to render for Input if input date string parsing fails.
*/
invalidInputErrorMessage?: string;
/**
- * Error message to render for TextField if date boundary (minDate, maxDate) validation fails.
+ * Error message to render for Input if date boundary (minDate, maxDate) validation fails.
*/
isOutOfBoundsErrorMessage?: string;
/**
- * Status message to render for TextField the input date parsing fails,
+ * Status message to render for Input the input date parsing fails,
* and the typed value is cleared and reset to the previous value.
* e.g. "Invalid entry `{0}`, date reset to `{1}`"
*/
diff --git a/packages/react-components/react-datepicker-compat/src/components/DatePicker/__snapshots__/DatePicker.test.tsx.snap b/packages/react-components/react-datepicker-compat/src/components/DatePicker/__snapshots__/DatePicker.test.tsx.snap
new file mode 100644
index 0000000000000..847e2f3074575
--- /dev/null
+++ b/packages/react-components/react-datepicker-compat/src/components/DatePicker/__snapshots__/DatePicker.test.tsx.snap
@@ -0,0 +1,156 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`DatePicker should not render DatePicker when isDatePickerShown is not set 1`] = `
+Object {
+ "asFragment": [Function],
+ "baseElement":
+
+ ,
+ "container": ,
+ "debug": [Function],
+ "findAllByAltText": [Function],
+ "findAllByDisplayValue": [Function],
+ "findAllByLabelText": [Function],
+ "findAllByPlaceholderText": [Function],
+ "findAllByRole": [Function],
+ "findAllByTestId": [Function],
+ "findAllByText": [Function],
+ "findAllByTitle": [Function],
+ "findByAltText": [Function],
+ "findByDisplayValue": [Function],
+ "findByLabelText": [Function],
+ "findByPlaceholderText": [Function],
+ "findByRole": [Function],
+ "findByTestId": [Function],
+ "findByText": [Function],
+ "findByTitle": [Function],
+ "getAllByAltText": [Function],
+ "getAllByDisplayValue": [Function],
+ "getAllByLabelText": [Function],
+ "getAllByPlaceholderText": [Function],
+ "getAllByRole": [Function],
+ "getAllByTestId": [Function],
+ "getAllByText": [Function],
+ "getAllByTitle": [Function],
+ "getByAltText": [Function],
+ "getByDisplayValue": [Function],
+ "getByLabelText": [Function],
+ "getByPlaceholderText": [Function],
+ "getByRole": [Function],
+ "getByTestId": [Function],
+ "getByText": [Function],
+ "getByTitle": [Function],
+ "queryAllByAltText": [Function],
+ "queryAllByDisplayValue": [Function],
+ "queryAllByLabelText": [Function],
+ "queryAllByPlaceholderText": [Function],
+ "queryAllByRole": [Function],
+ "queryAllByTestId": [Function],
+ "queryAllByText": [Function],
+ "queryAllByTitle": [Function],
+ "queryByAltText": [Function],
+ "queryByDisplayValue": [Function],
+ "queryByLabelText": [Function],
+ "queryByPlaceholderText": [Function],
+ "queryByRole": [Function],
+ "queryByTestId": [Function],
+ "queryByText": [Function],
+ "queryByTitle": [Function],
+ "rerender": [Function],
+ "unmount": [Function],
+}
+`;
diff --git a/packages/react-components/react-datepicker-compat/src/components/DatePicker/renderDatePicker.tsx b/packages/react-components/react-datepicker-compat/src/components/DatePicker/renderDatePicker.tsx
index 6fb4c6bb409ea..ec0bd1391b231 100644
--- a/packages/react-components/react-datepicker-compat/src/components/DatePicker/renderDatePicker.tsx
+++ b/packages/react-components/react-datepicker-compat/src/components/DatePicker/renderDatePicker.tsx
@@ -17,15 +17,17 @@ export const renderDatePicker_unstable = (state: DatePickerState) => {
{popoverTriggerChildProps => {
- // onKeyDown is not needed as DatePicker handles closing the popover with ESC internally. onKeyDown also
- // causes issues when typing in the input, not letting the user type SPACE and bugs with BACKSPACE.
- const { onKeyDown, ...inputTriggerProps } = popoverTriggerChildProps;
- const rootProps = { root: { ...inputTriggerProps } };
+ // onKeyDown/Up and onClick are not needed as DatePicker handles opening and closing the popover
+ // internally. These also cause issues when typing in the input and clicking the input to open, not
+ // letting the user open the popover by clicking the input and causing issues with BACKSPACE and SPACE
+ // keys.
+ const { onClick, onKeyDown, onKeyUp, role, ...inputTriggerProps } = popoverTriggerChildProps;
+ const inputProps = { input: { ...inputTriggerProps } };
return (
-
-
-
+
+
+
);
}}
diff --git a/packages/react-components/react-datepicker-compat/src/components/DatePicker/useDatePicker.tsx b/packages/react-components/react-datepicker-compat/src/components/DatePicker/useDatePicker.tsx
index fb8b1b2c52f76..5c5e3a3ef13be 100644
--- a/packages/react-components/react-datepicker-compat/src/components/DatePicker/useDatePicker.tsx
+++ b/packages/react-components/react-datepicker-compat/src/components/DatePicker/useDatePicker.tsx
@@ -15,6 +15,7 @@ import { Calendar } from '../Calendar/Calendar';
import { defaultDatePickerStrings } from './defaults';
import { OnOpenChangeData, OpenPopoverEvents, Popover } from '@fluentui/react-popover';
import { PopoverSurface } from '@fluentui/react-popover';
+import { PositioningImperativeRef } from '@fluentui/react-positioning';
import type { PopoverProps } from '@fluentui/react-popover';
import type { InputProps, InputOnChangeData } from '@fluentui/react-input';
import type { CalendarProps, ICalendar } from '../Calendar/Calendar.types';
@@ -25,18 +26,18 @@ function isDateOutOfBounds(date: Date, minDate?: Date, maxDate?: Date): boolean
}
function useFocusLogic() {
- const textFieldRef = React.useRef<{ focus: () => void }>(null);
+ const inputRef = React.useRef<{ focus: () => void }>(null);
const preventFocusOpeningPicker = React.useRef(false);
const focus = () => {
- textFieldRef.current?.focus?.();
+ inputRef.current?.focus?.();
};
const preventNextFocusOpeningPicker = () => {
preventFocusOpeningPicker.current = true;
};
- return [textFieldRef, focus, preventFocusOpeningPicker, preventNextFocusOpeningPicker] as const;
+ return [focus, inputRef, preventFocusOpeningPicker, preventNextFocusOpeningPicker] as const;
}
function useCalendarVisibility({ allowTextInput, onAfterMenuDismiss }: DatePickerProps, focus: () => void) {
@@ -202,7 +203,6 @@ export const useDatePicker_unstable = (props: DatePickerProps, ref: React.Ref(null);
- const [, focus, preventFocusOpeningPicker, preventNextFocusOpeningPicker] = useFocusLogic();
+ const [focus, _, preventFocusOpeningPicker, preventNextFocusOpeningPicker] = useFocusLogic();
const [isCalendarShown, setIsCalendarShown] = useCalendarVisibility({ allowTextInput, onAfterMenuDismiss }, focus);
const [selectedDate, formattedDate, setSelectedDate, setFormattedDate] = useSelectedDate({
formatDate,
@@ -425,7 +423,7 @@ export const useDatePicker_unstable = (props: DatePickerProps, ref: React.Ref(null);
const inputShorthand = resolveShorthand(props.input, {
required: true,
defaultProps: {
@@ -454,7 +453,7 @@ export const useDatePicker_unstable = (props: DatePickerProps, ref: React.Ref} />,
disabled,
id: inputId,
@@ -463,7 +462,9 @@ export const useDatePicker_unstable = (props: DatePickerProps, ref: React.Ref(null);
const popoverShorthand = resolveShorthand(props.popover, {
defaultProps: {
onOpenChange: onPopoverOpenChange,
open: isCalendarShown,
- positioning: 'below-start',
+ positioning: { align: 'start', position: 'below', positioningRef },
trapFocus: true,
},
required: true,
@@ -502,7 +504,7 @@ export const useDatePicker_unstable = (props: DatePickerProps, ref: React.Ref>,
@@ -552,13 +550,22 @@ export const useDatePicker_unstable = (props: DatePickerProps, ref: React.Ref>,
},
- inputField: inputFieldShorthand,
+ calendar: calendarShorthand,
input: inputShorthand,
+ field: fieldShorthand,
+ popover: popoverShorthand,
+ popoverSurface: popoverSurfaceShorthand,
root,
wrapper: wrapperShorthand,
};
state.calendar.onSelectDate = mergeCallbacks(state.calendar.onSelectDate, calendarDismissed);
+ React.useEffect(() => {
+ if (inputRef.current) {
+ positioningRef.current?.setTarget(inputRef.current);
+ }
+ }, [inputRef, positioningRef]);
+
return state;
};
diff --git a/packages/react-components/react-datepicker-compat/src/components/DatePicker/useDatePickerStyles.ts b/packages/react-components/react-datepicker-compat/src/components/DatePicker/useDatePickerStyles.ts
index 2f6f6d4679acb..e8534ef70661d 100644
--- a/packages/react-components/react-datepicker-compat/src/components/DatePicker/useDatePickerStyles.ts
+++ b/packages/react-components/react-datepicker-compat/src/components/DatePicker/useDatePickerStyles.ts
@@ -3,9 +3,9 @@ import { makeStyles, mergeClasses, shorthands } from '@griffel/react';
import type { SlotClassNames } from '@fluentui/react-utilities';
import type { DatePickerSlots, DatePickerState } from './DatePicker.types';
-export const datePickerClassNames: SlotClassNames & Record = {
+export const datePickerClassNames: SlotClassNames = {
root: 'fui-DatePicker',
- inputField: 'fui-DatePicker__inputField',
+ field: 'fui-DatePicker__field',
wrapper: 'fui-DatePicker__wrapper',
popover: 'fui-DatePicker__popover',
popoverSurface: 'fui-DatePicker__popoverSurface',
@@ -67,7 +67,7 @@ export const useDatePickerStyles_unstable = (state: DatePickerState): DatePicker
state.input.className,
);
- state.inputField.className = mergeClasses(datePickerClassNames.inputField, state.inputField.className);
+ state.field.className = mergeClasses(datePickerClassNames.field, state.field.className);
state.popoverSurface.className = mergeClasses(datePickerClassNames.popoverSurface, state.popoverSurface.className);
diff --git a/packages/react-components/react-datepicker-compat/src/index.ts b/packages/react-components/react-datepicker-compat/src/index.ts
index 6ae3fd373c5ae..6cafa9be51e38 100644
--- a/packages/react-components/react-datepicker-compat/src/index.ts
+++ b/packages/react-components/react-datepicker-compat/src/index.ts
@@ -1,41 +1,9 @@
-export { AnimationDirection, Calendar, calendarClassNames, useCalendarStyles_unstable } from './Calendar';
-export type { CalendarNavigationIcons, CalendarProps, CalendarStyleProps, CalendarStyles, ICalendar } from './Calendar';
+export { AnimationDirection, defaultCalendarStrings } from './Calendar';
+export type { CalendarProps, ICalendar } from './Calendar';
-export { CalendarDay, calendarDayClassNames, useCalendarDayStyles_unstable } from './CalendarDay';
-export type { CalendarDayProps, CalendarDayStyleProps, CalendarDayStyles, ICalendarDay } from './CalendarDay';
+export type { CalendarDayProps, ICalendarDay } from './CalendarDay';
-export {
- CalendarDayGrid,
- calendarDayGridClassNames,
- extraCalendarDayGridClassNames,
- useCalendarDayGridStyles_unstable,
-} from './CalendarDayGrid';
-export type {
- CalendarDayGridProps,
- CalendarDayGridStyleProps,
- CalendarDayGridStyles,
- DayInfo,
- ICalendarDayGrid,
- WeekCorners,
-} from './CalendarDayGrid';
-
-export { CalendarMonth, calendarMonthClassNames, useCalendarMonthStyles_unstable } from './CalendarMonth';
-export type { CalendarMonthProps, CalendarMonthStyleProps, CalendarMonthStyles, ICalendarMonth } from './CalendarMonth';
-
-export { calendarPickerClassNames, useCalendarPickerStyles_unstable } from './CalendarPicker';
-export type { CalendarPickerStyleProps, CalendarPickerStyles } from './CalendarPicker';
-
-export { CalendarYear, useCalendarYearStyles_unstable } from './CalendarYear';
-export type {
- CalendarYearHeaderProps,
- CalendarYearProps,
- CalendarYearRange,
- CalendarYearRangeToString,
- CalendarYearStrings,
- CalendarYearStyleProps,
- CalendarYearStyles,
- ICalendarYear,
-} from './CalendarYear';
+export type { CalendarMonthProps, ICalendarMonth } from './CalendarMonth';
export {
DatePicker,
diff --git a/packages/react-components/react-datepicker-compat/src/temp-utils/useRefEffect.ts b/packages/react-components/react-datepicker-compat/src/temp-utils/useRefEffect.ts
deleted file mode 100644
index 22f3c36600a92..0000000000000
--- a/packages/react-components/react-datepicker-compat/src/temp-utils/useRefEffect.ts
+++ /dev/null
@@ -1,67 +0,0 @@
-import * as React from 'react';
-
-/**
- * A callback ref function that also has a .current member for the ref's current value.
- */
-export type RefCallback = ((value: T | null) => void) & React.RefObject;
-
-/**
- * Creates a ref, and calls a callback whenever the ref changes to a non-null value. The callback can optionally return
- * a cleanup function that'll be called before the value changes, and when the ref is unmounted.
- *
- * This can be used to work around a limitation that useEffect cannot depend on `ref.current` (see
- * https://github.com/facebook/react/issues/14387#issuecomment-503616820).
- *
- * Usage example:
- * ```ts
- * const myRef = useRefEffect(element => {
- * ...
- * return () => { ... cleanup ... };
- * });
- * ```
- * ```jsx
- *
- * ```
- *
- * @param callback - Called whenever the ref's value changes to non-null. Can optionally return a cleanup function.
- * @param initial - (Optional) The initial value for the ref.
- *
- * @returns A function that should be called to set the ref's value. The object also has a `.current` member that can be
- * used to access the ref's value (like a normal RefObject). It can be hooked up to an element's `ref` property.
- */
-export function useRefEffect(callback: (value: T) => (() => void) | void, initial: T | null = null): RefCallback {
- type RefData = {
- ref: ((value: T | null) => void) & React.MutableRefObject;
- callback: (value: T) => (() => void) | void;
- cleanup?: (() => void) | void;
- };
-
- const createRefCallback = () => {
- const refCallback = (value: T | null) => {
- if (data.ref.current !== value) {
- if (data.cleanup) {
- data.cleanup();
- data.cleanup = undefined;
- }
-
- data.ref.current = value;
-
- if (value !== null) {
- data.cleanup = data.callback(value);
- }
- }
- };
-
- refCallback.current = initial;
- return refCallback;
- };
-
- const data = React.useRef({
- ref: createRefCallback(),
- callback,
- }).current;
-
- data.callback = callback;
-
- return data.ref;
-}
diff --git a/packages/react-components/react-datepicker-compat/src/utils/constants.ts b/packages/react-components/react-datepicker-compat/src/utils/constants.ts
index eba011a872d04..79266fabef021 100644
--- a/packages/react-components/react-datepicker-compat/src/utils/constants.ts
+++ b/packages/react-components/react-datepicker-compat/src/utils/constants.ts
@@ -1,6 +1,5 @@
/**
* The days of the week
- * {@docCategory DateTimeUtilities}
*/
export enum DayOfWeek {
Sunday = 0,
@@ -14,7 +13,6 @@ export enum DayOfWeek {
/**
* The months
- * {@docCategory DateTimeUtilities}
*/
export enum MonthOfYear {
January = 0,
@@ -33,7 +31,6 @@ export enum MonthOfYear {
/**
* First week of the year settings types
- * {@docCategory DateTimeUtilities}
*/
export enum FirstWeekOfYear {
FirstDay = 0,
@@ -43,7 +40,6 @@ export enum FirstWeekOfYear {
/**
* The supported date range types
- * {@docCategory DateTimeUtilities}
*/
export enum DateRangeType {
Day = 0,
diff --git a/packages/react-components/react-datepicker-compat/src/utils/dateFormatting/dateFormatting.test.ts.ignore b/packages/react-components/react-datepicker-compat/src/utils/dateFormatting/dateFormatting.test.ts
similarity index 100%
rename from packages/react-components/react-datepicker-compat/src/utils/dateFormatting/dateFormatting.test.ts.ignore
rename to packages/react-components/react-datepicker-compat/src/utils/dateFormatting/dateFormatting.test.ts
diff --git a/packages/react-components/react-datepicker-compat/src/utils/dateFormatting/dateFormatting.types.ts b/packages/react-components/react-datepicker-compat/src/utils/dateFormatting/dateFormatting.types.ts
index d4f28752e569b..1af630d1daf0a 100644
--- a/packages/react-components/react-datepicker-compat/src/utils/dateFormatting/dateFormatting.types.ts
+++ b/packages/react-components/react-datepicker-compat/src/utils/dateFormatting/dateFormatting.types.ts
@@ -1,6 +1,3 @@
-/**
- * {@docCategory DateTimeUtilities}
- */
export interface DateGridStrings {
/**
* An array of strings for the full names of months.
@@ -27,9 +24,6 @@ export interface DateGridStrings {
shortDays: string[];
}
-/**
- * {@docCategory DateTimeUtilities}
- */
export interface DateFormatting {
/**
* Get a localized string for a day.
@@ -57,9 +51,6 @@ export interface DateFormatting {
formatMonthYear: (date: Date, strings: DateGridStrings) => string;
}
-/**
- * {@docCategory DateTimeUtilities}
- */
export interface CalendarStrings extends DateGridStrings {
/**
* String to render for button to direct the user to today's date.
diff --git a/packages/react-components/react-datepicker-compat/src/utils/dateMath/dateMath.test.ts.ignore b/packages/react-components/react-datepicker-compat/src/utils/dateMath/dateMath.test.ts
similarity index 100%
rename from packages/react-components/react-datepicker-compat/src/utils/dateMath/dateMath.test.ts.ignore
rename to packages/react-components/react-datepicker-compat/src/utils/dateMath/dateMath.test.ts
diff --git a/packages/react-components/react-datepicker-compat/stories/Calendar/CalendarBestPractices.md b/packages/react-components/react-datepicker-compat/stories/Calendar/CalendarBestPractices.md
deleted file mode 100644
index 08ff8ddeeb5f8..0000000000000
--- a/packages/react-components/react-datepicker-compat/stories/Calendar/CalendarBestPractices.md
+++ /dev/null
@@ -1,5 +0,0 @@
-## Best practices
-
-### Do
-
-### Don't
diff --git a/packages/react-components/react-datepicker-compat/stories/Calendar/CalendarDefault.stories.tsx b/packages/react-components/react-datepicker-compat/stories/Calendar/CalendarDefault.stories.tsx
deleted file mode 100644
index cd0916d08802d..0000000000000
--- a/packages/react-components/react-datepicker-compat/stories/Calendar/CalendarDefault.stories.tsx
+++ /dev/null
@@ -1,4 +0,0 @@
-import * as React from 'react';
-import { Calendar, CalendarProps } from '@fluentui/react-datepicker-compat';
-
-export const Default = (props: Partial) => ;
diff --git a/packages/react-components/react-datepicker-compat/stories/Calendar/CalendarDescription.md b/packages/react-components/react-datepicker-compat/stories/Calendar/CalendarDescription.md
deleted file mode 100644
index e69de29bb2d1d..0000000000000
diff --git a/packages/react-components/react-datepicker-compat/stories/Calendar/index.stories.tsx b/packages/react-components/react-datepicker-compat/stories/Calendar/index.stories.tsx
deleted file mode 100644
index 337e4530e6944..0000000000000
--- a/packages/react-components/react-datepicker-compat/stories/Calendar/index.stories.tsx
+++ /dev/null
@@ -1,18 +0,0 @@
-import { Calendar } from '@fluentui/react-datepicker-compat';
-
-import descriptionMd from './CalendarDescription.md';
-import bestPracticesMd from './CalendarBestPractices.md';
-
-export { Default } from './CalendarDefault.stories';
-
-export default {
- title: 'Preview Components/Calendar',
- component: Calendar,
- parameters: {
- docs: {
- description: {
- component: [descriptionMd, bestPracticesMd].join('\n'),
- },
- },
- },
-};
diff --git a/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerCustomDateFormatting.stories.tsx b/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerCustomDateFormatting.stories.tsx
index 1f87263ddaf4f..72700d1bcd9eb 100644
--- a/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerCustomDateFormatting.stories.tsx
+++ b/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerCustomDateFormatting.stories.tsx
@@ -60,7 +60,7 @@ export const CustomDateFormatting = () => {
componentRef={datePickerRef}
label="Start date"
allowTextInput
- ariaLabel="Select a date. Input format is day slash month slash year."
+ aria-label="Select a date. Input format is day slash month slash year."
value={value}
onSelectDate={setValue as (date?: Date | null) => void}
formatDate={onFormatDate}
diff --git a/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerDateBoundaries.stories.tsx b/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerDateBoundaries.stories.tsx
index 3b3c12b284c22..b4c89d9236abb 100644
--- a/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerDateBoundaries.stories.tsx
+++ b/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerDateBoundaries.stories.tsx
@@ -33,7 +33,7 @@ export const DateBoundaries = () => {
// DatePicker uses English strings by default. For localized apps, you must override this prop.
strings={strings}
placeholder="Select a date..."
- ariaLabel="Select a date"
+ aria-label="Select a date"
minDate={minDate}
maxDate={maxDate}
allowTextInput
diff --git a/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerDefault.stories.tsx b/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerDefault.stories.tsx
index 3c04fcdccfa4c..52e27838b8a27 100644
--- a/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerDefault.stories.tsx
+++ b/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerDefault.stories.tsx
@@ -35,7 +35,7 @@ export const Default = (props: Partial) => {
{
@@ -28,7 +28,7 @@ export const Disabled = () => {
disabled
label="Disabled (with label)"
placeholder="Select a date..."
- ariaLabel="Select a date"
+ aria-label="Select a date"
strings={defaultDatePickerStrings}
/>
diff --git a/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerExternalControls.stories.tsx b/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerExternalControls.stories.tsx
index 77d4cca9355b0..974c43a96eafc 100644
--- a/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerExternalControls.stories.tsx
+++ b/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerExternalControls.stories.tsx
@@ -33,7 +33,7 @@ export const ExternalControls = () => {
value={selectedDate}
onSelectDate={setSelectedDate as (date: Date | null | undefined) => void}
placeholder="Select a date..."
- ariaLabel="Select a date"
+ aria-label="Select a date"
// DatePicker uses English strings by default. For localized apps, you must override this prop.
strings={defaultDatePickerStrings}
/>
diff --git a/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerRequired.stories.tsx b/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerRequired.stories.tsx
index 22fb6b6accedf..7a2900c752780 100644
--- a/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerRequired.stories.tsx
+++ b/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerRequired.stories.tsx
@@ -24,7 +24,7 @@ export const Required = () => {
className={styles.control}
label="Date required (with label)"
placeholder="Select a date..."
- ariaLabel="Select a date"
+ aria-label="Select a date"
// DatePicker uses English strings by default. For localized apps, you must override this prop.
strings={defaultDatePickerStrings}
/>
@@ -32,7 +32,7 @@ export const Required = () => {
isRequired
className={styles.control}
placeholder="Date required with no label..."
- ariaLabel="Select a date"
+ aria-label="Select a date"
strings={defaultDatePickerStrings}
/>
diff --git a/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerTextInput.stories.tsx b/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerTextInput.stories.tsx
index 8d98e9e09b8c0..47b1817fa99e2 100644
--- a/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerTextInput.stories.tsx
+++ b/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerTextInput.stories.tsx
@@ -37,7 +37,7 @@ export const TextInput = () => {
componentRef={datePickerRef}
label="Start date"
allowTextInput
- ariaLabel="Select a date"
+ aria-label="Select a date"
value={value}
onSelectDate={setValue as (date: Date | null | undefined) => void}
// DatePicker uses English strings by default. For localized apps, you must override this prop.
diff --git a/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerWeekNumbers.stories.tsx b/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerWeekNumbers.stories.tsx
index 4f0c5efef7b15..8def95cc0fe18 100644
--- a/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerWeekNumbers.stories.tsx
+++ b/packages/react-components/react-datepicker-compat/stories/DatePicker/DatePickerWeekNumbers.stories.tsx
@@ -36,7 +36,7 @@ export const WeekNumbers = () => {
firstWeekOfYear={1}
showMonthPickerAsOverlay={true}
placeholder="Select a date..."
- ariaLabel="Select a date"
+ aria-label="Select a date"
// DatePicker uses English strings by default. For localized apps, you must override this prop.
strings={defaultDatePickerStrings}
/>
diff --git a/packages/react-components/react-datepicker-compat/tsconfig.cy.json b/packages/react-components/react-datepicker-compat/tsconfig.cy.json
new file mode 100644
index 0000000000000..93a140885851d
--- /dev/null
+++ b/packages/react-components/react-datepicker-compat/tsconfig.cy.json
@@ -0,0 +1,9 @@
+{
+ "extends": "./tsconfig.json",
+ "compilerOptions": {
+ "isolatedModules": false,
+ "types": ["node", "cypress", "cypress-storybook/cypress", "cypress-real-events"],
+ "lib": ["ES2019", "dom"]
+ },
+ "include": ["**/*.cy.ts", "**/*.cy.tsx"]
+}
diff --git a/packages/react-components/react-datepicker-compat/tsconfig.json b/packages/react-components/react-datepicker-compat/tsconfig.json
index 1941a041d46c1..1317f81620ca5 100644
--- a/packages/react-components/react-datepicker-compat/tsconfig.json
+++ b/packages/react-components/react-datepicker-compat/tsconfig.json
@@ -20,6 +20,9 @@
},
{
"path": "./.storybook/tsconfig.json"
+ },
+ {
+ "path": "./tsconfig.cy.json"
}
]
}
diff --git a/packages/react-components/react-datepicker-compat/tsconfig.lib.json b/packages/react-components/react-datepicker-compat/tsconfig.lib.json
index 6f90cf95c005b..e17f808c03933 100644
--- a/packages/react-components/react-datepicker-compat/tsconfig.lib.json
+++ b/packages/react-components/react-datepicker-compat/tsconfig.lib.json
@@ -16,7 +16,9 @@
"**/*.test.ts",
"**/*.test.tsx",
"**/*.stories.ts",
- "**/*.stories.tsx"
+ "**/*.stories.tsx",
+ "**/*.cy.ts",
+ "**/*.cy.tsx"
],
"include": ["./src/**/*.ts", "./src/**/*.tsx"]
}
diff --git a/packages/react-components/react-dialog/.babelrc.json b/packages/react-components/react-dialog/.babelrc.json
index 40e01373083ce..45fb71ca16d2c 100644
--- a/packages/react-components/react-dialog/.babelrc.json
+++ b/packages/react-components/react-dialog/.babelrc.json
@@ -1,4 +1,4 @@
{
- "presets": ["@griffel"],
+ "extends": "../../../.babelrc-v9.json",
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"]
}
diff --git a/packages/react-components/react-dialog/.swcrc b/packages/react-components/react-dialog/.swcrc
new file mode 100644
index 0000000000000..b4ffa86dee306
--- /dev/null
+++ b/packages/react-components/react-dialog/.swcrc
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "exclude": [
+ "/testing",
+ "/**/*.cy.ts",
+ "/**/*.cy.tsx",
+ "/**/*.spec.ts",
+ "/**/*.spec.tsx",
+ "/**/*.test.ts",
+ "/**/*.test.tsx"
+ ],
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true,
+ "decorators": false,
+ "dynamicImport": false
+ },
+ "externalHelpers": true,
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "useSpread": true
+ }
+ },
+ "target": "es2019"
+ },
+ "minify": false,
+ "sourceMaps": true
+}
diff --git a/packages/react-components/react-dialog/CHANGELOG.json b/packages/react-components/react-dialog/CHANGELOG.json
index a19df691584d4..4e89d6aa8d308 100644
--- a/packages/react-components/react-dialog/CHANGELOG.json
+++ b/packages/react-components/react-dialog/CHANGELOG.json
@@ -1,6 +1,146 @@
{
"name": "@fluentui/react-dialog",
"entries": [
+ {
+ "date": "Tue, 21 Mar 2023 21:23:32 GMT",
+ "tag": "@fluentui/react-dialog_v9.4.1",
+ "version": "9.4.1",
+ "comments": {
+ "patch": [
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-dialog",
+ "commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
+ "comment": "chore: migrate to swc transpilation approach."
+ },
+ {
+ "author": "bernardo.sunderhus@gmail.com",
+ "package": "@fluentui/react-dialog",
+ "commit": "d015b6f9f91acc08c496f265ff9a102dc4c823f6",
+ "comment": "fix(DialogTitle): adds type=\"button\" to close action"
+ },
+ {
+ "author": "makotom@microsoft.com",
+ "package": "@fluentui/react-dialog",
+ "commit": "7fde5c94869ff9841b142b7ff1d0a3df0ab58f74",
+ "comment": "chore: Bumping version of @fluentui/react-icons to ^2.0.196."
+ },
+ {
+ "author": "tristan.watanabe@gmail.com",
+ "package": "@fluentui/react-dialog",
+ "commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
+ "comment": "fix: add node field to package.json exports map."
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-dialog",
+ "comment": "Bump @fluentui/react-utilities to v9.7.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-dialog",
+ "comment": "Bump @fluentui/keyboard-keys to v9.0.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-dialog",
+ "comment": "Bump @fluentui/react-context-selector to v9.1.15",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-dialog",
+ "comment": "Bump @fluentui/react-shared-contexts to v9.3.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-dialog",
+ "comment": "Bump @fluentui/react-aria to v9.3.15",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-dialog",
+ "comment": "Bump @fluentui/react-tabster to v9.6.1",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-dialog",
+ "comment": "Bump @fluentui/react-theme to v9.1.7",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-dialog",
+ "comment": "Bump @fluentui/react-portal to v9.2.2",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-dialog",
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20",
+ "commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
+ }
+ ]
+ }
+ },
+ {
+ "date": "Thu, 16 Mar 2023 14:36:57 GMT",
+ "tag": "@fluentui/react-dialog_v9.4.0",
+ "version": "9.4.0",
+ "comments": {
+ "patch": [
+ {
+ "author": "lingfangao@hotmail.com",
+ "package": "@fluentui/react-dialog",
+ "commit": "a3ad6f25502d8ec77c9376eaa09ed7d1238f6c73",
+ "comment": "fix(DialogBody): Remove `maxWidth` style"
+ }
+ ],
+ "minor": [
+ {
+ "author": "lingfangao@hotmail.com",
+ "package": "@fluentui/react-dialog",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81",
+ "comment": "feat(DialogActions): Implment `fluid` prop"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-dialog",
+ "comment": "Bump @fluentui/react-utilities to v9.7.1",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-dialog",
+ "comment": "Bump @fluentui/react-context-selector to v9.1.14",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-dialog",
+ "comment": "Bump @fluentui/react-aria to v9.3.14",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-dialog",
+ "comment": "Bump @fluentui/react-tabster to v9.6.0",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ },
+ {
+ "author": "beachball",
+ "package": "@fluentui/react-dialog",
+ "comment": "Bump @fluentui/react-portal to v9.2.1",
+ "commit": "e7dcadf7cabae6bc6811ca04a630e7d850388f81"
+ }
+ ]
+ }
+ },
{
"date": "Wed, 15 Mar 2023 10:19:53 GMT",
"tag": "@fluentui/react-dialog_v9.3.2",
diff --git a/packages/react-components/react-dialog/CHANGELOG.md b/packages/react-components/react-dialog/CHANGELOG.md
index 5cc4ba6096ba5..58e7861b372df 100644
--- a/packages/react-components/react-dialog/CHANGELOG.md
+++ b/packages/react-components/react-dialog/CHANGELOG.md
@@ -1,9 +1,48 @@
# Change Log - @fluentui/react-dialog
-This log was last generated on Wed, 15 Mar 2023 10:19:53 GMT and should not be manually modified.
+This log was last generated on Tue, 21 Mar 2023 21:23:32 GMT and should not be manually modified.
+## [9.4.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.4.1)
+
+Tue, 21 Mar 2023 21:23:32 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.4.0..@fluentui/react-dialog_v9.4.1)
+
+### Patches
+
+- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
+- fix(DialogTitle): adds type="button" to close action ([PR #27247](https://github.com/microsoft/fluentui/pull/27247) by bernardo.sunderhus@gmail.com)
+- chore: Bumping version of @fluentui/react-icons to ^2.0.196. ([PR #27100](https://github.com/microsoft/fluentui/pull/27100) by makotom@microsoft.com)
+- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
+- Bump @fluentui/react-utilities to v9.7.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/keyboard-keys to v9.0.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-context-selector to v9.1.15 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-shared-contexts to v9.3.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-aria to v9.3.15 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-tabster to v9.6.1 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-theme to v9.1.7 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-portal to v9.2.2 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.20 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
+
+## [9.4.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.4.0)
+
+Thu, 16 Mar 2023 14:36:57 GMT
+[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-dialog_v9.3.2..@fluentui/react-dialog_v9.4.0)
+
+### Minor changes
+
+- feat(DialogActions): Implment `fluid` prop ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by lingfangao@hotmail.com)
+- Bump @fluentui/react-utilities to v9.7.1 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-context-selector to v9.1.14 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-aria to v9.3.14 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-tabster to v9.6.0 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+- Bump @fluentui/react-portal to v9.2.1 ([PR #27229](https://github.com/microsoft/fluentui/pull/27229) by beachball)
+
+### Patches
+
+- fix(DialogBody): Remove `maxWidth` style ([PR #27230](https://github.com/microsoft/fluentui/pull/27230) by lingfangao@hotmail.com)
+
## [9.3.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-dialog_v9.3.2)
Wed, 15 Mar 2023 10:19:53 GMT
diff --git a/packages/react-components/react-dialog/etc/react-dialog.api.md b/packages/react-components/react-dialog/etc/react-dialog.api.md
index 96473968cc04e..f458bfff86dd2 100644
--- a/packages/react-components/react-dialog/etc/react-dialog.api.md
+++ b/packages/react-components/react-dialog/etc/react-dialog.api.md
@@ -125,10 +125,10 @@ export const DialogSurface: ForwardRefComponent;
export const dialogSurfaceClassNames: SlotClassNames;
// @public
-export type DialogSurfaceElement = HTMLDialogElement | HTMLDivElement;
+export type DialogSurfaceElement = HTMLElement;
// @public
-export type DialogSurfaceProps = Omit, 'open' | 'onCancel' | 'onClose'>;
+export type DialogSurfaceProps = ComponentProps;
// @public (undocumented)
export type DialogSurfaceSlots = {
diff --git a/packages/react-components/react-dialog/just.config.ts b/packages/react-components/react-dialog/just.config.ts
index b10db31a6aca5..b7b2c9a33bf43 100644
--- a/packages/react-components/react-dialog/just.config.ts
+++ b/packages/react-components/react-dialog/just.config.ts
@@ -1,3 +1,5 @@
-import { preset } from '@fluentui/scripts-tasks';
+import { preset, task } from '@fluentui/scripts-tasks';
preset();
+
+task('build', 'build:react-components').cached?.();
diff --git a/packages/react-components/react-dialog/package.json b/packages/react-components/react-dialog/package.json
index c70b85a4685d4..8afef259f4ecd 100644
--- a/packages/react-components/react-dialog/package.json
+++ b/packages/react-components/react-dialog/package.json
@@ -1,6 +1,6 @@
{
"name": "@fluentui/react-dialog",
- "version": "9.3.2",
+ "version": "9.4.2",
"description": "Dialog component for Fluent UI React",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
@@ -24,28 +24,28 @@
"e2e:local": "cypress open --component",
"storybook": "start-storybook",
"type-check": "tsc -b tsconfig.json",
- "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
+ "generate-api": "just-scripts generate-api"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/react-conformance": "*",
- "@fluentui/react-conformance-griffel": "9.0.0-beta.19",
+ "@fluentui/react-conformance-griffel": "9.0.0-beta.20",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-cypress": "*",
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
"@griffel/react": "^1.5.2",
- "@fluentui/react-utilities": "^9.7.0",
- "@fluentui/keyboard-keys": "^9.0.1",
- "@fluentui/react-context-selector": "^9.1.13",
- "@fluentui/react-shared-contexts": "^9.3.1",
- "@fluentui/react-aria": "^9.3.13",
- "@fluentui/react-icons": "^2.0.175",
- "@fluentui/react-tabster": "^9.5.7",
- "@fluentui/react-theme": "^9.1.6",
- "@fluentui/react-portal": "^9.2.0",
- "tslib": "^2.1.0"
+ "@fluentui/react-utilities": "^9.7.2",
+ "@fluentui/keyboard-keys": "^9.0.2",
+ "@fluentui/react-context-selector": "^9.1.15",
+ "@fluentui/react-shared-contexts": "^9.3.3",
+ "@fluentui/react-aria": "^9.3.15",
+ "@fluentui/react-icons": "^2.0.196",
+ "@fluentui/react-tabster": "^9.6.2",
+ "@fluentui/react-theme": "^9.1.7",
+ "@fluentui/react-portal": "^9.2.3",
+ "@swc/helpers": "^0.4.14"
},
"peerDependencies": {
"@types/react": ">=16.8.0 <19.0.0",
@@ -62,6 +62,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
diff --git a/packages/react-components/react-dialog/src/components/DialogContent/useDialogContentStyles.ts b/packages/react-components/react-dialog/src/components/DialogContent/useDialogContentStyles.ts
index d9efd17e7e546..b03b2c308fa1b 100644
--- a/packages/react-components/react-dialog/src/components/DialogContent/useDialogContentStyles.ts
+++ b/packages/react-components/react-dialog/src/components/DialogContent/useDialogContentStyles.ts
@@ -2,7 +2,7 @@ import { makeStyles, mergeClasses, shorthands } from '@griffel/react';
import type { DialogContentSlots, DialogContentState } from './DialogContent.types';
import type { SlotClassNames } from '@fluentui/react-utilities';
import { CONTENT_GRID_AREA } from '../../contexts/constants';
-import { typographyStyles } from '@fluentui/react-theme';
+import { tokens, typographyStyles } from '@fluentui/react-theme';
export const dialogContentClassNames: SlotClassNames = {
root: 'fui-DialogContent',
@@ -18,6 +18,8 @@ const useStyles = makeStyles({
overflowY: 'auto',
minHeight: '32px',
boxSizing: 'border-box',
+ ...shorthands.padding(tokens.strokeWidthThick),
+ ...shorthands.margin(`calc(${tokens.strokeWidthThick} * -1)`),
...shorthands.gridArea(CONTENT_GRID_AREA),
...typographyStyles.body1,
},
diff --git a/packages/react-components/react-dialog/src/components/DialogSurface/DialogSurface.types.ts b/packages/react-components/react-dialog/src/components/DialogSurface/DialogSurface.types.ts
index 32e4ef164e8d9..a0d72f37fc604 100644
--- a/packages/react-components/react-dialog/src/components/DialogSurface/DialogSurface.types.ts
+++ b/packages/react-components/react-dialog/src/components/DialogSurface/DialogSurface.types.ts
@@ -8,8 +8,6 @@ export type DialogSurfaceSlots = {
* This slot expects a `` element which will replace the default backdrop.
* The backdrop should have `aria-hidden="true"`.
*
- * By default if `DialogSurface` is `