Skip to content

Commit

Permalink
Release Rating to stable (#30740)
Browse files Browse the repository at this point in the history
Co-authored-by: Tristan Watanabe <[email protected]>
  • Loading branch information
tomi-msft and TristanWatanabe authored Mar 15, 2024
1 parent e4022e2 commit b2ded25
Show file tree
Hide file tree
Showing 85 changed files with 228 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ packages/react-components/react-colorpicker-compat @microsoft/cxe-red @sopranopi
packages/react-components/react-nav-preview @microsoft/cxe-red @mltejera
packages/react-components/react-motion-preview @microsoft/cxe-prg @marcosmoura
packages/react-components/react-message-bar @microsoft/teams-prg
packages/react-components/react-rating-preview @microsoft/cxe-red @tomi-msft
packages/react-components/react-rating @microsoft/cxe-red @tomi-msft
packages/react-components/react-swatch-picker-preview @microsoft/cxe-prg
packages/react-components/react-calendar-compat @microsoft/cxe-red @sopranopillow
packages/react-components/react-infolabel @microsoft/cxe-red @sopranopillow
Expand Down
1 change: 0 additions & 1 deletion apps/public-docsite-v9/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"@fluentui/react-storybook-addon": "*",
"@fluentui/react-storybook-addon-export-to-sandbox": "*",
"@fluentui/theme-designer": "*",
"@fluentui/react-rating-preview": "*",
"@fluentui/react-search-preview": "*",
"@fluentui/react-motion-preview": "*",
"@fluentui/react-motions-preview": "*",
Expand Down
4 changes: 2 additions & 2 deletions apps/vr-tests-react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"@fluentui/react-progress": "*",
"@fluentui/react-provider": "*",
"@fluentui/react-radio": "*",
"@fluentui/react-rating-preview": "*",
"@fluentui/react-search-preview": "*",
"@fluentui/react-select": "*",
"@fluentui/react-shared-contexts": "*",
Expand All @@ -76,6 +75,7 @@
"react": "17.0.2",
"react-dom": "17.0.2",
"tslib": "^2.1.0",
"@fluentui/react-breadcrumb": "*"
"@fluentui/react-breadcrumb": "*",
"@fluentui/react-rating": ">=9.0.0-alpha"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';
import { Steps, StoryWright } from 'storywright';
import { storiesOf } from '@storybook/react';
import { CircleRegular, CircleFilled, SquareRegular, SquareFilled } from '@fluentui/react-icons';
import { Rating } from '@fluentui/react-rating-preview';
import { Rating } from '@fluentui/react-rating';
import { TestWrapperDecoratorFixedWidth } from '../utilities/TestWrapperDecorator';

storiesOf('Rating Converged', module)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { storiesOf } from '@storybook/react';
import { CircleFilled, SquareFilled } from '@fluentui/react-icons';
import { RatingDisplay } from '@fluentui/react-rating-preview';
import { RatingDisplay } from '@fluentui/react-rating';
import { TestWrapperDecoratorFixedWidth } from '../utilities/TestWrapperDecorator';
import { Steps, StoryWright } from 'storywright';

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "'feat: add @fluentui/react-rating to suite.",
"packageName": "@fluentui/react-components",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "'feat: Release Rating to stable.",
"packageName": "@fluentui/react-rating",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,25 @@ import { RadioOnChangeData } from '@fluentui/react-radio';
import { RadioProps } from '@fluentui/react-radio';
import { RadioSlots } from '@fluentui/react-radio';
import { RadioState } from '@fluentui/react-radio';
import { Rating } from '@fluentui/react-rating';
import { ratingClassNames } from '@fluentui/react-rating';
import { RatingContextValues } from '@fluentui/react-rating';
import { RatingDisplay } from '@fluentui/react-rating';
import { ratingDisplayClassNames } from '@fluentui/react-rating';
import { RatingDisplayContextValues } from '@fluentui/react-rating';
import { RatingDisplayProps } from '@fluentui/react-rating';
import { RatingDisplaySlots } from '@fluentui/react-rating';
import { RatingDisplayState } from '@fluentui/react-rating';
import { RatingItem } from '@fluentui/react-rating';
import { ratingItemClassNames } from '@fluentui/react-rating';
import { RatingItemProps } from '@fluentui/react-rating';
import { RatingItemProvider } from '@fluentui/react-rating';
import { RatingItemSlots } from '@fluentui/react-rating';
import { RatingItemState } from '@fluentui/react-rating';
import { RatingOnChangeEventData } from '@fluentui/react-rating';
import { RatingProps } from '@fluentui/react-rating';
import { RatingSlots } from '@fluentui/react-rating';
import { RatingState } from '@fluentui/react-rating';
import { RegisterTabEventHandler } from '@fluentui/react-tabs';
import { renderAccordion_unstable } from '@fluentui/react-accordion';
import { renderAccordionHeader_unstable } from '@fluentui/react-accordion';
Expand Down Expand Up @@ -721,6 +740,9 @@ import { renderPortal_unstable } from '@fluentui/react-portal';
import { renderProgressBar_unstable } from '@fluentui/react-progress';
import { renderRadio_unstable } from '@fluentui/react-radio';
import { renderRadioGroup_unstable } from '@fluentui/react-radio';
import { renderRating_unstable } from '@fluentui/react-rating';
import { renderRatingDisplay_unstable } from '@fluentui/react-rating';
import { renderRatingItem_unstable } from '@fluentui/react-rating';
import { renderSelect_unstable } from '@fluentui/react-select';
import { renderSkeleton_unstable } from '@fluentui/react-skeleton';
import { renderSkeletonItem_unstable } from '@fluentui/react-skeleton';
Expand Down Expand Up @@ -1316,6 +1338,15 @@ import { useRadioGroupContextValue_unstable } from '@fluentui/react-radio';
import { useRadioGroupContextValues } from '@fluentui/react-radio';
import { useRadioGroupStyles_unstable } from '@fluentui/react-radio';
import { useRadioStyles_unstable } from '@fluentui/react-radio';
import { useRating_unstable } from '@fluentui/react-rating';
import { useRatingContextValues } from '@fluentui/react-rating';
import { useRatingDisplay_unstable } from '@fluentui/react-rating';
import { useRatingDisplayContextValues } from '@fluentui/react-rating';
import { useRatingDisplayStyles_unstable } from '@fluentui/react-rating';
import { useRatingItem_unstable } from '@fluentui/react-rating';
import { useRatingItemContextValue_unstable } from '@fluentui/react-rating';
import { useRatingItemStyles_unstable } from '@fluentui/react-rating';
import { useRatingStyles_unstable } from '@fluentui/react-rating';
import { useRestoreFocusSource } from '@fluentui/react-tabster';
import { useRestoreFocusTarget } from '@fluentui/react-tabster';
import { useScrollbarWidth } from '@fluentui/react-utilities';
Expand Down Expand Up @@ -2689,6 +2720,44 @@ export { RadioSlots }

export { RadioState }

export { Rating }

export { ratingClassNames }

export { RatingContextValues }

export { RatingDisplay }

export { ratingDisplayClassNames }

export { RatingDisplayContextValues }

export { RatingDisplayProps }

export { RatingDisplaySlots }

export { RatingDisplayState }

export { RatingItem }

export { ratingItemClassNames }

export { RatingItemProps }

export { RatingItemProvider }

export { RatingItemSlots }

export { RatingItemState }

export { RatingOnChangeEventData }

export { RatingProps }

export { RatingSlots }

export { RatingState }

export { RegisterTabEventHandler }

export { renderAccordion_unstable }
Expand Down Expand Up @@ -2865,6 +2934,12 @@ export { renderRadio_unstable }

export { renderRadioGroup_unstable }

export { renderRating_unstable }

export { renderRatingDisplay_unstable }

export { renderRatingItem_unstable }

export { renderSelect_unstable }

export { renderSkeleton_unstable }
Expand Down Expand Up @@ -4055,6 +4130,24 @@ export { useRadioGroupStyles_unstable }

export { useRadioStyles_unstable }

export { useRating_unstable }

export { useRatingContextValues }

export { useRatingDisplay_unstable }

export { useRatingDisplayContextValues }

export { useRatingDisplayStyles_unstable }

export { useRatingItem_unstable }

export { useRatingItemContextValue_unstable }

export { useRatingItemStyles_unstable }

export { useRatingStyles_unstable }

export { useRestoreFocusSource }

export { useRestoreFocusTarget }
Expand Down
3 changes: 2 additions & 1 deletion packages/react-components/react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@
"@swc/helpers": "^0.5.1",
"@fluentui/react-message-bar": "^9.0.22",
"@fluentui/react-breadcrumb": "^9.0.17",
"@fluentui/react-aria": "^9.10.0"
"@fluentui/react-aria": "^9.10.0",
"@fluentui/react-rating": "9.0.0-alpha.0"
},
"peerDependencies": {
"@types/react": ">=16.14.0 <19.0.0",
Expand Down
36 changes: 36 additions & 0 deletions packages/react-components/react-components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1572,3 +1572,39 @@ export {
useAriaLiveAnnouncerContextValues_unstable,
} from '@fluentui/react-aria';
export type { AriaLiveAnnouncerProps, AriaLiveAnnouncerState } from '@fluentui/react-aria';

export {
Rating,
ratingClassNames,
renderRating_unstable,
useRatingStyles_unstable,
useRating_unstable,
useRatingContextValues,
RatingItem,
ratingItemClassNames,
renderRatingItem_unstable,
useRatingItemStyles_unstable,
useRatingItem_unstable,
RatingItemProvider,
useRatingItemContextValue_unstable,
RatingDisplay,
ratingDisplayClassNames,
renderRatingDisplay_unstable,
useRatingDisplayStyles_unstable,
useRatingDisplay_unstable,
useRatingDisplayContextValues,
} from '@fluentui/react-rating';
export type {
RatingProps,
RatingSlots,
RatingState,
RatingOnChangeEventData,
RatingContextValues,
RatingItemProps,
RatingItemSlots,
RatingItemState,
RatingDisplayProps,
RatingDisplaySlots,
RatingDisplayState,
RatingDisplayContextValues,
} from '@fluentui/react-rating';
5 changes: 0 additions & 5 deletions packages/react-components/react-rating-preview/README.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This log was last generated on Thu, 07 Mar 2024 19:33:24 GMT and should not be m

## [0.4.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating-preview_v0.4.0)

Thu, 07 Mar 2024 19:33:24 GMT
Thu, 07 Mar 2024 19:33:24 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating-preview_v0.3.2..@fluentui/react-rating-preview_v0.4.0)

### Minor changes
Expand All @@ -23,7 +23,7 @@ Thu, 07 Mar 2024 19:33:24 GMT

## [0.3.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating-preview_v0.3.2)

Wed, 28 Feb 2024 02:34:18 GMT
Wed, 28 Feb 2024 02:34:18 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating-preview_v0.3.1..@fluentui/react-rating-preview_v0.3.2)

### Patches
Expand All @@ -37,7 +37,7 @@ Wed, 28 Feb 2024 02:34:18 GMT

## [0.3.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating-preview_v0.3.1)

Tue, 20 Feb 2024 14:22:24 GMT
Tue, 20 Feb 2024 14:22:24 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating-preview_v0.3.0..@fluentui/react-rating-preview_v0.3.1)

### Patches
Expand All @@ -50,7 +50,7 @@ Tue, 20 Feb 2024 14:22:24 GMT

## [0.3.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating-preview_v0.3.0)

Tue, 06 Feb 2024 17:55:19 GMT
Tue, 06 Feb 2024 17:55:19 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating-preview_v0.2.1..@fluentui/react-rating-preview_v0.3.0)

### Minor changes
Expand All @@ -65,7 +65,7 @@ Tue, 06 Feb 2024 17:55:19 GMT

## [0.2.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating-preview_v0.2.1)

Tue, 30 Jan 2024 23:16:54 GMT
Tue, 30 Jan 2024 23:16:54 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating-preview_v0.2.0..@fluentui/react-rating-preview_v0.2.1)

### Patches
Expand All @@ -76,7 +76,7 @@ Tue, 30 Jan 2024 23:16:54 GMT

## [0.2.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating-preview_v0.2.0)

Fri, 26 Jan 2024 10:40:21 GMT
Fri, 26 Jan 2024 10:40:21 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating-preview_v0.1.6..@fluentui/react-rating-preview_v0.2.0)

### Minor changes
Expand All @@ -85,7 +85,7 @@ Fri, 26 Jan 2024 10:40:21 GMT

## [0.1.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating-preview_v0.1.6)

Tue, 23 Jan 2024 15:11:00 GMT
Tue, 23 Jan 2024 15:11:00 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating-preview_v0.1.5..@fluentui/react-rating-preview_v0.1.6)

### Patches
Expand All @@ -96,7 +96,7 @@ Tue, 23 Jan 2024 15:11:00 GMT

## [0.1.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating-preview_v0.1.5)

Thu, 18 Jan 2024 14:25:03 GMT
Thu, 18 Jan 2024 14:25:03 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating-preview_v0.1.4..@fluentui/react-rating-preview_v0.1.5)

### Patches
Expand All @@ -107,7 +107,7 @@ Thu, 18 Jan 2024 14:25:03 GMT

## [0.1.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating-preview_v0.1.4)

Wed, 17 Jan 2024 16:18:50 GMT
Wed, 17 Jan 2024 16:18:50 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating-preview_v0.1.3..@fluentui/react-rating-preview_v0.1.4)

### Patches
Expand All @@ -118,7 +118,7 @@ Wed, 17 Jan 2024 16:18:50 GMT

## [0.1.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating-preview_v0.1.3)

Tue, 16 Jan 2024 13:14:23 GMT
Tue, 16 Jan 2024 13:14:23 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating-preview_v0.1.2..@fluentui/react-rating-preview_v0.1.3)

### Patches
Expand All @@ -129,7 +129,7 @@ Tue, 16 Jan 2024 13:14:23 GMT

## [0.1.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating-preview_v0.1.2)

Thu, 11 Jan 2024 09:04:29 GMT
Thu, 11 Jan 2024 09:04:29 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating-preview_v0.1.1..@fluentui/react-rating-preview_v0.1.2)

### Patches
Expand All @@ -138,7 +138,7 @@ Thu, 11 Jan 2024 09:04:29 GMT

## [0.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating-preview_v0.1.1)

Mon, 08 Jan 2024 16:24:24 GMT
Mon, 08 Jan 2024 16:24:24 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating-preview_v0.1.0..@fluentui/react-rating-preview_v0.1.1)

### Patches
Expand Down
Loading

0 comments on commit b2ded25

Please sign in to comment.