Skip to content

Commit dcbe0fa

Browse files
Version Packages (#4202)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 5bc9e81 commit dcbe0fa

157 files changed

Lines changed: 1213 additions & 298 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/calm-bees-brush.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

.changeset/fix-callout-macos-codegen.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

.changeset/fuzzy-clowns-dance.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/pink-pumas-rest.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/toggle-state-controlled-uncontrolled-v2.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

.changeset/yellow-streets-walk.md

Lines changed: 0 additions & 79 deletions
This file was deleted.

apps/fluent-tester/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log - @fluentui-react-native/tester
22

3+
## 0.170.55
4+
5+
### Patch Changes
6+
7+
- 853f1fd: Moved the location of callout, with links to new location
8+
- cbd319c: Bump package to publish via ESRP (no changes)
9+
310
## 0.170.54
411

512
### Patch Changes

apps/fluent-tester/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fluentui-react-native/tester",
3-
"version": "0.170.54",
3+
"version": "0.170.55",
44
"description": "A test app to test FluentUI React Native Components during development",
55
"homepage": "https://github.com/microsoft/fluentui-react-native",
66
"license": "MIT",

packages/agentic-components/CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,44 @@
11
# @fluentui-react-native/components
22

3+
## 0.2.2
4+
5+
### Patch Changes
6+
7+
- 853f1fd: Moved the location of callout, with links to new location
8+
- 5bc9e81: Normalize component controlled and uncontrolled state patterns and utilities
9+
- 54870b4: Remove file added inadvertently after the move of the storybook app
10+
- 5bc9e81: Give each stateful component axis an explicit owner.
11+
12+
Adds `useToggleState` to `framework-base` for controls whose interaction _is_ the state change. It wraps
13+
`useControllableValue` and adds a disabled guard and no-op suppression, so the control works both when a caller owns the
14+
value and when it owns the value itself.
15+
16+
Self-driving controls support both directions through the `<state>` / `default<State>` / `on<State>Change` triple:
17+
18+
- `Accordion` gains `defaultExpanded` and no longer treats a supplied `expanded` value as its own uncontrolled default,
19+
which previously left `expanded={false}` permanently collapsed.
20+
- `Checkbox` and `Switch` route their existing axes through the shared hook so disabled and redundant changes behave
21+
consistently, and `Switch` now forwards `onPress`.
22+
23+
`Button`, `Card`, `ListItem`, `ListboxItem`, `MenuItem`, `Radio`, and `Tab` keep `selected` as externally driven state.
24+
They render the value they are given and report the interaction through `onPress`, because a press on a button is an
25+
action and a press on a tab, radio, or item is a message to the group that owns the selection.
26+
27+
Storybook stories now demonstrate each axis correctly: `default<State>` drives the self-driving controls, and a
28+
caller-owned `React.useState` story drives selection. `Button` and `Card` no longer expose `selected` as a control,
29+
because that prop decides whether the component is a toggle button or a selectable card at all, and flipping it between
30+
`undefined` and `false` resized or re-roled the component.
31+
32+
- cbd319c: Bump package to publish via ESRP (no changes)
33+
- Updated dependencies [853f1fd]
34+
- Updated dependencies [5bc9e81]
35+
- Updated dependencies [5bc9e81]
36+
- Updated dependencies [5bc9e81]
37+
- Updated dependencies [cbd319c]
38+
- @fluentui-react-native/callout@0.29.2
39+
- @fluentui-react-native/framework-base@0.6.1
40+
- @fluentui-react-native/design@0.3.1
41+
342
## 0.2.1
443

544
### Patch Changes

packages/agentic-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fluentui-react-native/components",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "A library of agent-generated FluentUI React Native components",
55
"license": "MIT",
66
"author": "",

0 commit comments

Comments
 (0)