Skip to content

Commit dec603c

Browse files
dmytrokirpaclaude
andcommitted
feat(react-components): export base hooks and render functions from upstream packages
Exposes render functions and internal hooks needed by @fluentui/react-headless: - react-avatar: export useAvatarGroupPopover base hook - react-breadcrumb: export render functions and base hooks - react-button: render function signature alignment - react-field: extract useFieldBase, export render/base hooks - react-progress: expose useProgressBar internals - react-rating: export base context and hooks - react-skeleton: export render functions and base hooks - react-slider: extract Slider.constants, expose useSliderState - react-spinner: export useSpinner base hook - react-switch: export useSwitch base hook - react-textarea: render function signature alignment Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ace3617 commit dec603c

File tree

46 files changed

+684
-181
lines changed

Some content is hidden

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

46 files changed

+684
-181
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix: drop unnecessary dependencies from base hooks",
4+
"packageName": "@fluentui/react-avatar",
5+
"email": "dmytrokirpa@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix: update types for render function",
4+
"packageName": "@fluentui/react-breadcrumb",
5+
"email": "dmytrokirpa@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix: update types for render function",
4+
"packageName": "@fluentui/react-button",
5+
"email": "dmytrokirpa@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix: add missing base hook export",
4+
"packageName": "@fluentui/react-field",
5+
"email": "dmytrokirpa@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix: drop unnecessary dependencies from base hooks",
4+
"packageName": "@fluentui/react-progress",
5+
"email": "dmytrokirpa@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix: add mising base hook export",
4+
"packageName": "@fluentui/react-rating",
5+
"email": "dmytrokirpa@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix: update types for render function",
4+
"packageName": "@fluentui/react-skeleton",
5+
"email": "dmytrokirpa@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix: drop unnecessary dependencies from base hooks",
4+
"packageName": "@fluentui/react-slider",
5+
"email": "dmytrokirpa@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix: drop unnecessary dependencies from base hooks",
4+
"packageName": "@fluentui/react-spinner",
5+
"email": "dmytrokirpa@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix: update Switch component to conditionally render CircleFilled in indicator",
4+
"packageName": "@fluentui/react-switch",
5+
"email": "dmytrokirpa@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}

0 commit comments

Comments
 (0)