Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
9506f4a
Moved shim code to shim packages
GeoffCoxMSFT Sep 29, 2022
265f058
Updated docsite with new shim location
GeoffCoxMSFT Sep 29, 2022
2595067
Calendar: support ID prop (#25013)
micahgodbolt Sep 29, 2022
fcb2ee2
fix: Making the hidden input on Radio only cover the indicator and no…
khmakoto Sep 30, 2022
36287e1
applying package updates
Sep 30, 2022
5eb849d
chore: adds VR tests for Dialog components (#24978)
bsunderhus Sep 30, 2022
da8a1d4
feat(react-dialog): removes `DialogSurface` native dialog support (#…
bsunderhus Sep 30, 2022
d14f81c
react-18-tests-v8: Add type-checking again (#24856)
TristanWatanabe Sep 30, 2022
d821905
fix: Checkbox's label shouldn't have a pointer cursor when disabled (…
behowell Sep 30, 2022
d3a524e
Fix syncpack issues
GeoffCoxMSFT Sep 30, 2022
6112cd7
Add export icon names input v8 (#24957)
GeoffCoxMSFT Sep 30, 2022
6a60b17
fix: Switch's label shouldn't have a pointer cursor when disabled (#2…
behowell Sep 30, 2022
cbf3f64
Progress scaffold & implementation (#24023)
tomi-msft Sep 30, 2022
390d84c
fixing syncpack issue
GeoffCoxMSFT Sep 30, 2022
86b3133
docs(react-persona): Adding migration guide (#25022)
sopranopillow Oct 2, 2022
755fe11
applying package updates
Oct 3, 2022
8e630de
chore: enable object-shorthand in ESLint (#25031)
layershifter Oct 3, 2022
9f774b9
feat(tools): add exports map support to migrate-converged-pkg generat…
Hotell Oct 3, 2022
4794f4f
Add custom date time formatter for date axis (#25040)
AtishayMsft Oct 3, 2022
79174e4
feat(cicd): add reusable build action, enable remote build caching, u…
tudorpopams Oct 3, 2022
a27927f
Fixed a prop name in doc (#25037)
tony-xia Oct 3, 2022
192e997
Fixed a minor typo: immmediately => immediately (#25036)
tony-xia Oct 3, 2022
6350d9d
fix(react-avatar): Make AvatarGroupPopover's focus indicator the same…
sopranopillow Sep 29, 2022
82e2292
feat(react-components): Move Persona to unstable (#25008)
sopranopillow Sep 29, 2022
a3dbe78
Calendar: support ID prop (#25013)
micahgodbolt Sep 29, 2022
bc90189
fix: Making the hidden input on Radio only cover the indicator and no…
khmakoto Sep 30, 2022
28b34f3
applying package updates
Sep 30, 2022
3f25b59
chore: adds VR tests for Dialog components (#24978)
bsunderhus Sep 30, 2022
5f78905
feat(react-dialog): removes `DialogSurface` native dialog support (#…
bsunderhus Sep 30, 2022
b164206
react-18-tests-v8: Add type-checking again (#24856)
TristanWatanabe Sep 30, 2022
42233aa
fix: Checkbox's label shouldn't have a pointer cursor when disabled (…
behowell Sep 30, 2022
d0ba9f8
Add export icon names input v8 (#24957)
GeoffCoxMSFT Sep 30, 2022
ff6606d
fix: Switch's label shouldn't have a pointer cursor when disabled (#2…
behowell Sep 30, 2022
bfc83e9
Progress scaffold & implementation (#24023)
tomi-msft Sep 30, 2022
570bccb
docs(react-persona): Adding migration guide (#25022)
sopranopillow Oct 2, 2022
007d199
applying package updates
Oct 3, 2022
3a57a47
chore: enable object-shorthand in ESLint (#25031)
layershifter Oct 3, 2022
8d9e7a8
feat(tools): add exports map support to migrate-converged-pkg generat…
Hotell Oct 3, 2022
b7b2f2b
Add custom date time formatter for date axis (#25040)
AtishayMsft Oct 3, 2022
9b5d135
feat(cicd): add reusable build action, enable remote build caching, u…
tudorpopams Oct 3, 2022
283b052
Fixed a prop name in doc (#25037)
tony-xia Oct 3, 2022
2e2c0c0
Fixed a minor typo: immmediately => immediately (#25036)
tony-xia Oct 3, 2022
1c8e5d6
applying package updates
Sep 30, 2022
84976fa
Moved shim code to shim packages
GeoffCoxMSFT Sep 29, 2022
703b0a8
Updated docsite with new shim location
GeoffCoxMSFT Sep 29, 2022
e8b3f4e
Fix syncpack issues
GeoffCoxMSFT Sep 30, 2022
7a40f7d
fixing syncpack issue
GeoffCoxMSFT Sep 30, 2022
5eb057d
applying package updates
Sep 30, 2022
2772df8
applying package updates
Oct 3, 2022
d4a0577
Merge branch 'add-shims-to-migration' of https://github.com/GeoffCoxM…
GeoffCoxMSFT Oct 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/actions/build-to/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 'Build workspaces'
description: 'Runs the build command for specific workspaces.'
inputs:
# Because Github Actions doesn't support arrays as inputs we need to pass the workspaces as a string and split them
# by spaces https://github.com/community/community/discussions/11692
workspaces:
required: true
description: 'The workspaces you want to build. This parameter accepts multiple workspaces separated by a space.'
# This is based on the backfill cache provider options: https://github.com/microsoft/backfill#set-up-remote-cache
backfill-cache-provider:
required: false
description: 'The backfill cache provider'
default: 'azure-blob'
# Depending on the chosen cache provider there are multiple types of available options. In our case we use Azure Blob
# Storage. https://github.com/microsoft/backfill#microsoft-azure-blob-storage
backfill-cache-provider-options:
required: false
description: 'The backfill cache provider options'
# Flag to toggle backfill remote caching on / off
lage-write-remote-cache:
required: true
description: 'Whether to write to the remote cache'
default: 'true'

runs:
using: 'composite'
steps:
- name: build package dependency tree (scripts:build)
working-directory: .
shell: bash
run: yarn build --to ${{ inputs.workspaces }}
env:
BACKFILL_CACHE_PROVIDER: ${{ inputs.backfill-cache-provider }}
BACKFILL_CACHE_PROVIDER_OPTIONS: ${{ inputs.backfill-cache-provider-options }}
LAGE_WRITE_REMOTE_CACHE: ${{ inputs.lage-write-remote-cache }}
5 changes: 4 additions & 1 deletion .github/workflows/docsite-publish-chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ jobs:
run: yarn install --frozen-lockfile

- name: Build dependencies
run: yarn build --to @fluentui/public-docsite-v9
uses: ./.github/actions/build-to
with:
workspaces: '@fluentui/public-docsite-v9'
backfill-cache-provider-options: ${{ secrets.BACKFILL_CACHE_PROVIDER_OPTIONS }}

- name: Publish to Chromatic
run: yarn workspace @fluentui/public-docsite-v9 chromatic
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/docsite-publish-ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ jobs:
run: yarn install --frozen-lockfile

- name: Build dependencies
run: yarn build --to @fluentui/public-docsite-v9
uses: ./.github/actions/build-to
with:
workspaces: '@fluentui/public-docsite-v9'
backfill-cache-provider-options: ${{ secrets.BACKFILL_CACHE_PROVIDER_OPTIONS }}

- name: Build storybook
run: yarn workspace @fluentui/public-docsite-v9 build-storybook
Expand Down
2 changes: 1 addition & 1 deletion apps/perf-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"dependencies": {
"@fluentui/example-data": "^8.4.2",
"@fluentui/react": "^8.96.3",
"@fluentui/react": "^8.97.1",
"@fluentui/scripts": "^1.0.0",
"@microsoft/load-themed-styles": "^1.10.26",
"flamegrill": "0.2.0",
Expand Down
12 changes: 6 additions & 6 deletions apps/public-docsite-resources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
"@fluentui/scripts": "^1.0.0"
},
"dependencies": {
"@fluentui/react": "^8.96.3",
"@fluentui/react": "^8.97.1",
"@fluentui/react-examples": "^8.34.4",
"@microsoft/load-themed-styles": "^1.10.26",
"@fluentui/azure-themes": "^8.5.5",
"@fluentui/react-docsite-components": "^8.10.5",
"@fluentui/font-icons-mdl2": "^8.4.13",
"@fluentui/azure-themes": "^8.5.7",
"@fluentui/react-docsite-components": "^8.10.7",
"@fluentui/font-icons-mdl2": "^8.5.0",
"@fluentui/set-version": "^8.2.2",
"@fluentui/theme-samples": "^8.7.5",
"@fluentui/react-monaco-editor": "^1.7.5",
"@fluentui/theme-samples": "^8.7.7",
"@fluentui/react-monaco-editor": "^1.7.7",
"office-ui-fabric-core": "^11.0.0",
"react": "17.0.2",
"react-dom": "17.0.2",
Expand Down
6 changes: 5 additions & 1 deletion apps/public-docsite-v9/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@
"@fluentui/scripts": "^1.0.0"
},
"dependencies": {
"@fluentui/react": "^8.96.3",
"@fluentui/react": "^8.97.1",
"@fluentui/scripts": "^1.0.0",
"@fluentui/storybook": "^1.0.0",
"@fluentui/react-button-shim-v8-v9": "9.0.0-alpha.0",
"@fluentui/react-components": "^9.3.2",
"@fluentui/react-menu-shim-v8-v9": "9.0.0-alpha.0",
"@fluentui/react-stack-shim-v8-v9": "9.0.0-alpha.0",
"@fluentui/react-theme-shim-v8-v9": "^9.0.0-alpha.0",
"@fluentui/react-storybook-addon": "^9.0.0-rc.1",
"@fluentui/react-theme": "^9.1.0",
"@griffel/react": "^1.3.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { ActionButton, IButtonProps, Icon, IIconProps } from '@fluentui/react';
import { Button, webLightTheme, FluentProvider } from '@fluentui/react-components';
import { ActionButtonShim } from '../../../../../shims/ButtonShim';
import { ActionButtonShim } from '@fluentui/react-button-shim-v8-v9';

const addIcon: IIconProps = { iconName: 'Add' };

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { CommandButton, IButtonProps, Icon, IIconProps } from '@fluentui/react';
import { Button, webLightTheme, FluentProvider } from '@fluentui/react-components';
import { CommandButtonShim } from '../../../../../shims/ButtonShim';
import { CommandButtonShim } from '@fluentui/react-button-shim-v8-v9';

const addIcon: IIconProps = { iconName: 'Add' };

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { CompoundButton as CompoundButtonV8, IButtonProps } from '@fluentui/react';
import { CompoundButton as CompoundButtonV9, webLightTheme, FluentProvider } from '@fluentui/react-components';
import { CompoundButtonShim } from '../../../../../shims/ButtonShim';
import { CompoundButtonShim } from '@fluentui/react-button-shim-v8-v9';

export const CompoundButtonShimExample = (props: IButtonProps) => {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { DefaultButton, IButtonProps } from '@fluentui/react';
import { Button, webLightTheme, FluentProvider } from '@fluentui/react-components';
import { DefaultButtonShim } from '../../../../../shims/ButtonShim';
import { DefaultButtonShim } from '@fluentui/react-button-shim-v8-v9';

export const DefaultButtonShimExample = (props: IButtonProps) => {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
MenuDivider,
MenuItemCheckbox,
} from '@fluentui/react-components';
import { MenuButtonShim } from '../../../../../shims/ButtonShim';
import { MenuButtonShim } from '@fluentui/react-button-shim-v8-v9';

const addIcon: IIconProps = { iconName: 'Add' };
const mailIcon: IIconProps = { iconName: 'Mail' };
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { PrimaryButton, IButtonProps } from '@fluentui/react';
import { Button, webLightTheme, FluentProvider } from '@fluentui/react-components';
import { PrimaryButtonShim } from '../../../../../shims/ButtonShim';
import { PrimaryButtonShim } from '@fluentui/react-button-shim-v8-v9';

export const PrimaryButtonShimExample = (props: IButtonProps) => {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import * as React from 'react';
import { DefaultButton, IButtonProps, Icon, IIconProps, initializeIcons } from '@fluentui/react';
import { webLightTheme, FluentProvider, ToggleButton } from '@fluentui/react-components';
import { ToggleButtonShim } from '../../../../../shims/ButtonShim';
import { ToggleButtonShim } from '@fluentui/react-button-shim-v8-v9';

initializeIcons();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
import { colorMap } from './colorMap';
import { ColorInfo, ColorKind } from './types';
import {
black,
blackAlpha,
brandWeb,
grey,
sharedColors,
white,
whiteAlpha,
} from '../../../../shims/ThemeShim/themeDuplicates';
import { black, blackAlpha, brandWeb, grey, sharedColors, white, whiteAlpha } from '@fluentui/react-theme-shim-v8-v9';
import { DefaultPalette } from '@fluentui/react';

const palettePrefix = 'palette.';
Expand Down
174 changes: 0 additions & 174 deletions apps/public-docsite-v9/src/shims/ButtonShim.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion apps/public-docsite-v9/src/stories/StackShim.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';
import { Meta } from '@storybook/react';
import { Button, makeStyles } from '@fluentui/react-components';
import { Checkbox, Dropdown, IDropdownOption, DropdownMenuItemType, Stack, TextField } from '@fluentui/react';
import { StackShim, StackItemShim } from '../shims/StackShim/index';
import { StackShim, StackItemShim } from '@fluentui/react-stack-shim-v8-v9';

const horizontalAlignOptions: IDropdownOption[] = [
{
Expand Down
Loading