You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge branch 'master' into marcosmoura/feat/expose-tokens-as-text-wrappers
* master:
feat: provide `launch` and `startServer` functions as single source of truth for creating new browser/server instance within monorepo (microsoft#26375)
New min/max example (microsoft#26418)
docs: add migration guide for cards from v8 to v9 (microsoft#26347)
fix(vr-tests v8): fix flaky VR tests (microsoft#26348)
chore: update browser list db (microsoft#26407)
fix(scripts-tasks): unify api-extractor runs on any CI (microsoft#26411)
chore: fix Panel Confirm Dismiss example to properly restore focus after panel closes (microsoft#26301)
update codeowners (microsoft#26307)
fix: react components version (microsoft#26406)
chore: Simplify layout for Field (microsoft#26352)
Update hex color codes for MS Excel product (microsoft#26339)
feat: create migration shim packages for V0 (microsoft#26142)
Generic Virtualizer (microsoft#25451)
| variables, styles | see Migrate style overrides in this document|
28
+
| variables, styles | see Migrate `style` overrides in this document |
29
29
| accessibility | see [migrate-custom-accessibility.md](?path=/docs/concepts-migrating-from-v0-custom-accessibility--page). Also check the focusMode new prop |
30
-
| centered | REMOVED: see Migrate centered prop in this document|
30
+
| centered | REMOVED: see Migrate `centered` prop in this document |
31
31
| compact | use `size="small"`|
32
32
| disabled | REMOVED: No equivalent functionality. Can be created by overriding the styles. |
33
33
| elevated | REMOVED: All cards are now elevated by default. To change that, use the `appearance` property. |
34
34
| expandable | REMOVED: No equivalent functionality. |
35
-
| fluid | REMOVED: see Migrate fluid prop in this document|
35
+
| fluid | REMOVED: see Migrate `fluid` prop in this document |
36
36
| ghost | use `appearance="subtle"`|
37
37
| inverted | use `appearance="filled-alternative"`|
38
38
| size | keep it as is. Values: `small`, `medium`(default) and `large`|
| variables, styles | see Migrate style overrides in this document|
30
+
| variables, styles | see Migrate `style` overrides in this document |
31
31
| accessibility | see [migrate-custom-accessibility.md](?path=/docs/concepts-migrating-from-v0-custom-accessibility--page). Also check the focusMode new prop |
32
32
| fitted | REMOVED: By default, all Footers are fitted |
| variables, styles | see Migrate style overrides in this document|
30
+
| variables, styles | see Migrate `style` overrides in this document |
31
31
| accessibility | see [migrate-custom-accessibility.md](?path=/docs/concepts-migrating-from-v0-custom-accessibility--page). Also check the focusMode new prop |
32
32
| fitted | REMOVED: by default, all headers are fitted |
| variables, styles | see Migrate style overrides in this document|
38
+
| variables, styles | see Migrate `style` overrides in this document |
39
39
| accessibility | see [migrate-custom-accessibility.md](?path=/docs/concepts-migrating-from-v0-custom-accessibility--page). Also check the focusMode new prop |
40
40
| fitted | REMOVED: by default, all Previews are fitted |
Fluent UI v8 provides the `DocumentCard` component and it's variants. Fluent UI v9 provides a `Card` control, but has a different API. `Card` is more generic is less opinionated about its content.
8
+
9
+
This table maps `DocumentCard` v8 props to the `Card` v9 equivalent.
Fluent UI v8 provides the `DocumentCardDetails`, `DocumentCardTitle`, and `DocumentCardActivity` components that can be used anywhere inside the `DocumentCard`. Fluent UI v9 provides a more consistent and opinionated `CardHeader` component that can be used to group information.
8
+
9
+
## How to migrate
10
+
11
+
`DocumentCardDetails` => `CardHeader` <br />
12
+
`DocumentCardTitle` => No equivalent, but can be achieved with a `Text` component <br />
13
+
`DocumentCardActivity` with `activity` prop => `CardHeader` with `description` prop <br />
14
+
`DocumentCardActivity` with `people` prop => `CardHeader` with `image` and `header` props <br />
0 commit comments