Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 0 additions & 7 deletions .changeset/components-x3-flex-defaults.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/default-theme-design-fluent.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/design-complete-platform-tokens.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/design-deprecated-entry-point.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/design-flex-themes.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/design-fluent-themes.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/design-shared-generated-values.md

This file was deleted.

30 changes: 0 additions & 30 deletions .changeset/design-x3-flex-defaults.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spotty-cases-build.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/storybook-runtime-flex-chrome.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/storybook-runtime-flex-colors.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/storybook-runtime-theme-selector.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/theming-design-deprecated-imports.md

This file was deleted.

18 changes: 18 additions & 0 deletions packages/agentic/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @fluentui-react-native/components

## 0.8.0

### Minor Changes

- 06b458f: Read Flex colors through the design package's interactive color envelope and adopt the current x3 default tokens.
Components rendered with the default theme change appearance, including an achromatic brand, translucent neutral
backgrounds, and larger corner radii. Component token contracts reference the per-state color paths.

### Patch Changes

- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- @fluentui-react-native/design@0.6.0

## 0.7.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/agentic/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fluentui-react-native/components",
"version": "0.7.1",
"version": "0.8.0",
"description": "A library of agent-generated FluentUI React Native components",
"license": "MIT",
"author": "",
Expand Down
62 changes: 62 additions & 0 deletions packages/agentic/design/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,67 @@
# @fluentui-react-native/design

## 0.6.0

### Minor Changes

- 06b458f: Breaking: move every module that loads the Fluent 2 token JSON into a new `@fluentui-react-native/design/deprecated`
entry point, reserved for tests and the existing platform themes. It exports `getAliasTokens`, `getShadowTokens`,
`globalTokens`, `hcAliasTokens`, `mapPipelineToTheme`, `mapFontPipelineToTheme`, and `mapPipelineToShadow`. The
`theming` entry point no longer exports the pipeline mappers, and the `tokens/legacy` and `theming/compat/defaults`
entry points and `getDefaultLegacyTheme` are removed; use the Fluent themes from `@fluentui-react-native/design/themes`
for complete default themes. `themeFromFlexTokens` now fills the values Flex cannot represent from the generated Fluent
theme for the appearance instead of the removed legacy defaults, so the `theming` entry point no longer bundles the
token JSON.
- 06b458f: Add `flexTheme` and `flexWarmTheme` to the `@fluentui-react-native/design/themes` entry point. Each is a new
`FlexThemeDescription`, which pairs a complete Flex token description with an optional `ColorTone`, holding the cool or
warm x3 defaults. `FlexThemeReference` now accepts a `FlexThemeDescription` as its `base`: the description replaces the
package defaults, and its tone becomes the reference's default `appearance.colorTone` unless the `appearance` option or
a provider request sets one. The `ThemeState` types now live with the Flex model; their exports are unchanged.
- 06b458f: Add the `@fluentui-react-native/design/themes` entry point with `fluentLightTheme`, `fluentDarkTheme`, `fluentHcTheme`,
and `fluentTheme`. The themes are built from the generated Fluent 2 alias colors, shadows, font aliases, and global
tokens rather than hand-authored values, and each legacy palette color points at the alias color that plays its role.
`fluentTheme` is a `ThemeReference` that follows the system appearance, including high contrast, and the `appearance`
prop of `ThemeProvider` or `ThemedRoot` overrides it. `fluentHcTheme` always resolves the high-contrast theme for the
color scheme. Elevated appearances resolve by color scheme for now.
- 06b458f: Rework Flex tokens around the current x3 defaults. Legacy `ThemeReference` themes, `ThemeProvider`, `useTheme`, and
Flex tokens projected from legacy themes keep their values.

Breaking changes for Flex consumers and theme authors:

- Every Flex semantic color is a resolved `InteractiveColor` with `rest`, `hover`, and `pressed`. Read
`tokens.color.x.rest` instead of `tokens.color.x`, and `.hover` or `.pressed` instead of the removed `color.hover`
and `color.pressed` maps. Omitted interactive states derive lazily from rest with no configuration.
- Author a color as a value, a `[light, dark]` tuple, or `flexColor` options with explicit states and a `standard`,
`inverted`, or `fixed` interaction type. Each color override replaces the previous color atomically. Recipes receive
the authored description; `selectColorEntry` reads an entry for an appearance.
- Appearances accept an optional `colorTone` (`cool` or `warm`) that selects the default tokens and interaction
algorithm.
- The default tokens follow x3-design/fluent-design@206e890b for both tones, including an achromatic brand,
translucent neutral backgrounds, and larger corner radii. Tests should read defaults from `defaultFlexTokens` in the
`testing` entry point.
- Shadows are arrays of `{ x, y, blur, color }` layers and may vary by color scheme; author a former `{ ambient, key }`
shadow as `[ambient, key]`, and use `selectShadowEntry` to read an authored entry. Motion tokens and
`spacing.componentBase800` are new.
- The `color-lib` interaction functions no longer take a token; their `variant` option is replaced by `colorTone`,
`direction`, and `compositing`. `isInverseInteractionToken` moves from `color-lib` to the package root, alongside the
new `INTERACTIVE_COLOR_TOKENS` and `isInteractiveColorToken`.

Root `useThemeState` consumers now bundle the interaction algorithm and generated defaults, about 23 KB raw and 8 KB
gzip in the measured scenarios. Package sources move under `src/flex`, `src/fluent`, `src/types`, and `src/test`; export
keys and conditions are unchanged.

### Patch Changes

- 06b458f: Generate complete Fluent color, shadow, font, and appearance token sets for Win32, Windows, macOS, iOS, and Android.
Every platform provides light, dark, light elevated, dark elevated, high-contrast light, and high-contrast dark sets.
Elevated sets fall back to their color scheme, high-contrast light falls back to high-contrast dark, and platforms
without high-contrast data use light and dark. Windows high contrast uses the Win32 high-contrast set with Windows
system color brushes. Preserve native values and fill missing tokens with same-platform equivalents, then portable
same-scheme defaults. Use platform global typography when font aliases are absent and enforce required generated token
types.
- 06b458f: Shrink the generated Flex defaults by about 6 KB minified: values that repeat are emitted once, and the entries both
tones share are emitted once in a common object. The default token values are unchanged.

## 0.5.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/agentic/design/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fluentui-react-native/design",
"version": "0.5.3",
"version": "0.6.0",
"description": "Core design system concepts, utilities, and types for Fluent UI React Native.",
"license": "MIT",
"author": "",
Expand Down
18 changes: 18 additions & 0 deletions packages/agentic/storybook-desktop-runtime/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @fluentui-react-native/storybook-desktop-runtime

## 0.3.5

### Patch Changes

- 06b458f: Keep the Storybook chrome and story canvas on the Flex theme. The Theme selector now applies Flex or Fluent only to
story content, while scheme, contrast, and tone still apply to the chrome.
- 06b458f: Read Storybook chrome colors through the design package's interactive color envelope.
- 06b458f: Replace the fixed Storybook theme buttons with Theme (Flex or Fluent), Scheme (light, dark, or system), Contrast, and Tone dropdowns. The toolbar now defaults to Flex light, standard contrast, and cool tone, independent of the host appearance.
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- @fluentui-react-native/default-theme@0.28.0
- @fluentui-react-native/design@0.6.0

## 0.3.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/agentic/storybook-desktop-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fluentui-react-native/storybook-desktop-runtime",
"version": "0.3.4",
"version": "0.3.5",
"description": "React Native runtime and Metro services for desktop Storybook applications",
"license": "MIT",
"author": "",
Expand Down
15 changes: 15 additions & 0 deletions packages/components/Avatar/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Change Log - @fluentui-react-native/avatar

## 1.14.12

### Patch Changes

- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- @fluentui-react-native/design@0.6.0
- @fluentui-react-native/framework@0.17.11
- @fluentui-react-native/badge@0.12.18
- @fluentui-react-native/icon@0.22.18

## 1.14.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/Avatar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fluentui-react-native/avatar",
"version": "1.14.11",
"version": "1.14.12",
"description": "A cross-platform Avatar component using the Fluent Design System",
"homepage": "https://github.com/microsoft/fluentui-react-native",
"license": "MIT",
Expand Down
16 changes: 16 additions & 0 deletions packages/components/Badge/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Change Log - @fluentui-react-native/badge

## 0.12.18

### Patch Changes

- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- @fluentui-react-native/design@0.6.0
- @fluentui-react-native/framework@0.17.11
- @fluentui-react-native/text@0.25.18
- @fluentui-react-native/experimental-shadow@0.7.17
- @fluentui-react-native/icon@0.22.18

## 0.12.17

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/Badge/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fluentui-react-native/badge",
"version": "0.12.17",
"version": "0.12.18",
"description": "A cross-platform Badge component using the Fluent Design System. A badge is an additional visual descriptor for UI elements.",
"homepage": "https://github.com/microsoft/fluentui-react-native",
"license": "MIT",
Expand Down
18 changes: 18 additions & 0 deletions packages/components/Button/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Change Log - @fluentui-react-native/button

## 0.40.18

### Patch Changes

- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- @fluentui-react-native/design@0.6.0
- @uifabricshared/foundation-compose@1.16.17
- @fluentui-react-native/framework@0.17.11
- @fluentui-react-native/text@0.25.18
- @fluentui-react-native/experimental-shadow@0.7.17
- @fluentui-react-native/icon@0.22.18
- @fluentui-react-native/experimental-activity-indicator@0.11.17

## 0.40.17

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/Button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fluentui-react-native/button",
"version": "0.40.17",
"version": "0.40.18",
"description": "A cross-platform Button component using the Fluent Design System",
"license": "MIT",
"author": "",
Expand Down
15 changes: 15 additions & 0 deletions packages/components/Checkbox/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Change Log - @fluentui-react-native/checkbox

## 0.24.18

### Patch Changes

- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- Updated dependencies [06b458f]
- @fluentui-react-native/design@0.6.0
- @uifabricshared/foundation-compose@1.16.17
- @fluentui-react-native/framework@0.17.11
- @fluentui-react-native/text@0.25.18

## 0.24.17

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/Checkbox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fluentui-react-native/checkbox",
"version": "0.24.17",
"version": "0.24.18",
"description": "A cross-platform Checkbox component using the Fluent Design System",
"license": "MIT",
"author": "",
Expand Down
Loading
Loading