@fluentui/react-rating 9.0.0 → 9.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,35 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-rating
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 02 Apr 2024 09:41:20 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.0.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating_v9.0.2)
|
|
8
|
+
|
|
9
|
+
Tue, 02 Apr 2024 09:41:20 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating_v9.0.1..@fluentui/react-rating_v9.0.2)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.35 ([PR #30926](https://github.com/microsoft/fluentui/pull/30926) by beachball)
|
|
15
|
+
- Bump @fluentui/react-tabster to v9.19.6 ([PR #30926](https://github.com/microsoft/fluentui/pull/30926) by beachball)
|
|
16
|
+
- Bump @fluentui/react-utilities to v9.18.6 ([PR #30926](https://github.com/microsoft/fluentui/pull/30926) by beachball)
|
|
17
|
+
|
|
18
|
+
## [9.0.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating_v9.0.1)
|
|
19
|
+
|
|
20
|
+
Mon, 18 Mar 2024 19:50:46 GMT
|
|
21
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating_v9.0.0..@fluentui/react-rating_v9.0.1)
|
|
22
|
+
|
|
23
|
+
### Patches
|
|
24
|
+
|
|
25
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.34 ([PR #30600](https://github.com/microsoft/fluentui/pull/30600) by beachball)
|
|
26
|
+
- Bump @fluentui/react-theme to v9.1.19 ([PR #30600](https://github.com/microsoft/fluentui/pull/30600) by beachball)
|
|
27
|
+
- Bump @fluentui/react-tabster to v9.19.5 ([PR #30600](https://github.com/microsoft/fluentui/pull/30600) by beachball)
|
|
28
|
+
- Bump @fluentui/react-utilities to v9.18.5 ([PR #30600](https://github.com/microsoft/fluentui/pull/30600) by beachball)
|
|
29
|
+
|
|
7
30
|
## [9.0.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating_v9.0.0)
|
|
8
31
|
|
|
9
|
-
Fri, 15 Mar 2024 21:
|
|
32
|
+
Fri, 15 Mar 2024 21:43:49 GMT
|
|
10
33
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating-preview_v0.4.0..@fluentui/react-rating_v9.0.0)
|
|
11
34
|
|
|
12
35
|
### Minor changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["RatingItem.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport { RatingState } from '../Rating/Rating.types';\nimport { RatingDisplayState } from '../RatingDisplay/RatingDisplay.types';\n\nexport type RatingItemSlots = {\n /**\n * The root slot of the RatingItem.\n * Default html element is span\n */\n root: NonNullable<Slot<'span'>>;\n /**\n * Icon displayed when the rating value is greater than or equal to the item's value.\n */\n selectedIcon?: NonNullable<Slot<'div'>>;\n /**\n * Icon displayed when the rating value is less than the item's value.\n */\n unselectedIcon?: NonNullable<Slot<'div'>>;\n /**\n * Radio input slot used for half star precision\n */\n halfValueInput?: NonNullable<Slot<'input'>>;\n /**\n * Radio input slot used for full star precision\n */\n fullValueInput?: NonNullable<Slot<'input'>>;\n};\n\n/**\n * RatingItem Props\n */\nexport type RatingItemProps = ComponentProps<Partial<RatingItemSlots>> & {\n /**\n * The positive whole number value that is displayed by this RatingItem\n */\n value?: number;\n};\n\n/**\n * State used in rendering RatingItem\n */\nexport type RatingItemState = ComponentState<RatingItemSlots> &\n Required<Pick<RatingItemProps, 'value'>> &\n Pick<RatingState, 'color' | 'step' | 'size'> & {\n iconFillWidth: number;\n appearance: 'outline' | 'filled';\n };\n\nexport type RatingItemContextValue = Partial<Pick<RatingState, 'name' | 'hoveredValue' | 'value'>> &\n Pick<RatingState, 'color' | 'iconFilled' | 'iconOutline' | 'itemLabel' | 'step' | 'size'> &\n Partial<Pick<RatingDisplayState, 'compact'>> & {\n interactive?: boolean;\n };\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["RatingItem.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport { RatingState } from '../Rating/Rating.types';\nimport { RatingDisplayState } from '../RatingDisplay/RatingDisplay.types';\n\nexport type RatingItemSlots = {\n /**\n * The root slot of the RatingItem.\n * Default html element is span\n */\n root: NonNullable<Slot<'span'>>;\n /**\n * Icon displayed when the rating value is greater than or equal to the item's value.\n */\n selectedIcon?: NonNullable<Slot<'div'>>;\n /**\n * Icon displayed when the rating value is less than the item's value.\n */\n unselectedIcon?: NonNullable<Slot<'div'>>;\n /**\n * Radio input slot used for half star precision\n */\n halfValueInput?: NonNullable<Slot<'input'>>;\n /**\n * Radio input slot used for full star precision\n */\n fullValueInput?: NonNullable<Slot<'input'>>;\n};\n\n/**\n * RatingItem Props\n */\nexport type RatingItemProps = ComponentProps<Partial<RatingItemSlots>> & {\n /**\n * The positive whole number value that is displayed by this RatingItem\n */\n value?: number;\n};\n\n/**\n * State used in rendering RatingItem\n */\nexport type RatingItemState = ComponentState<RatingItemSlots> &\n Required<Pick<RatingItemProps, 'value'>> &\n Pick<RatingState, 'color' | 'step' | 'size'> & {\n iconFillWidth: number;\n appearance: 'outline' | 'filled';\n };\n\nexport type RatingItemContextValue = Partial<Pick<RatingState, 'name' | 'hoveredValue' | 'value'>> &\n Pick<RatingState, 'color' | 'iconFilled' | 'iconOutline' | 'itemLabel' | 'step' | 'size'> &\n Partial<Pick<RatingDisplayState, 'compact'>> & {\n interactive?: boolean;\n };\n"],"names":[],"mappings":"AAAA,WAoDI"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -12,59 +12,59 @@ _export(exports, {
|
|
|
12
12
|
Rating: function() {
|
|
13
13
|
return _Rating.Rating;
|
|
14
14
|
},
|
|
15
|
-
|
|
16
|
-
return
|
|
15
|
+
ratingClassNames: function() {
|
|
16
|
+
return _Rating.ratingClassNames;
|
|
17
17
|
},
|
|
18
|
-
|
|
19
|
-
return
|
|
18
|
+
renderRating_unstable: function() {
|
|
19
|
+
return _Rating.renderRating_unstable;
|
|
20
20
|
},
|
|
21
|
-
|
|
22
|
-
return
|
|
21
|
+
useRatingStyles_unstable: function() {
|
|
22
|
+
return _Rating.useRatingStyles_unstable;
|
|
23
23
|
},
|
|
24
|
-
|
|
25
|
-
return _Rating.
|
|
24
|
+
useRating_unstable: function() {
|
|
25
|
+
return _Rating.useRating_unstable;
|
|
26
26
|
},
|
|
27
|
-
|
|
28
|
-
return
|
|
27
|
+
useRatingContextValues: function() {
|
|
28
|
+
return _Rating.useRatingContextValues;
|
|
29
|
+
},
|
|
30
|
+
RatingItem: function() {
|
|
31
|
+
return _RatingItem.RatingItem;
|
|
29
32
|
},
|
|
30
33
|
ratingItemClassNames: function() {
|
|
31
34
|
return _RatingItem.ratingItemClassNames;
|
|
32
35
|
},
|
|
33
|
-
renderRatingDisplay_unstable: function() {
|
|
34
|
-
return _RatingDisplay.renderRatingDisplay_unstable;
|
|
35
|
-
},
|
|
36
36
|
renderRatingItem_unstable: function() {
|
|
37
37
|
return _RatingItem.renderRatingItem_unstable;
|
|
38
38
|
},
|
|
39
|
-
|
|
40
|
-
return
|
|
41
|
-
},
|
|
42
|
-
useRatingContextValues: function() {
|
|
43
|
-
return _Rating.useRatingContextValues;
|
|
44
|
-
},
|
|
45
|
-
useRatingDisplayContextValues: function() {
|
|
46
|
-
return _RatingDisplay.useRatingDisplayContextValues;
|
|
39
|
+
useRatingItemStyles_unstable: function() {
|
|
40
|
+
return _RatingItem.useRatingItemStyles_unstable;
|
|
47
41
|
},
|
|
48
|
-
|
|
49
|
-
return
|
|
42
|
+
useRatingItem_unstable: function() {
|
|
43
|
+
return _RatingItem.useRatingItem_unstable;
|
|
50
44
|
},
|
|
51
|
-
|
|
52
|
-
return
|
|
45
|
+
RatingItemProvider: function() {
|
|
46
|
+
return _index.RatingItemProvider;
|
|
53
47
|
},
|
|
54
48
|
useRatingItemContextValue_unstable: function() {
|
|
55
49
|
return _index.useRatingItemContextValue_unstable;
|
|
56
50
|
},
|
|
57
|
-
|
|
58
|
-
return
|
|
51
|
+
RatingDisplay: function() {
|
|
52
|
+
return _RatingDisplay.RatingDisplay;
|
|
59
53
|
},
|
|
60
|
-
|
|
61
|
-
return
|
|
54
|
+
ratingDisplayClassNames: function() {
|
|
55
|
+
return _RatingDisplay.ratingDisplayClassNames;
|
|
62
56
|
},
|
|
63
|
-
|
|
64
|
-
return
|
|
57
|
+
renderRatingDisplay_unstable: function() {
|
|
58
|
+
return _RatingDisplay.renderRatingDisplay_unstable;
|
|
65
59
|
},
|
|
66
|
-
|
|
67
|
-
return
|
|
60
|
+
useRatingDisplayStyles_unstable: function() {
|
|
61
|
+
return _RatingDisplay.useRatingDisplayStyles_unstable;
|
|
62
|
+
},
|
|
63
|
+
useRatingDisplay_unstable: function() {
|
|
64
|
+
return _RatingDisplay.useRatingDisplay_unstable;
|
|
65
|
+
},
|
|
66
|
+
useRatingDisplayContextValues: function() {
|
|
67
|
+
return _RatingDisplay.useRatingDisplayContextValues;
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
const _Rating = require("./Rating");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.js"],"sourcesContent":["export { Rating, ratingClassNames, renderRating_unstable, useRatingStyles_unstable, useRating_unstable, useRatingContextValues } from './Rating';\nexport { RatingItem, ratingItemClassNames, renderRatingItem_unstable, useRatingItemStyles_unstable, useRatingItem_unstable } from './RatingItem';\nexport { RatingItemProvider, useRatingItemContextValue_unstable } from './contexts/index';\nexport { RatingDisplay, ratingDisplayClassNames, renderRatingDisplay_unstable, useRatingDisplayStyles_unstable, useRatingDisplay_unstable, useRatingDisplayContextValues } from './RatingDisplay';\n"],"names":["Rating","
|
|
1
|
+
{"version":3,"sources":["index.js"],"sourcesContent":["export { Rating, ratingClassNames, renderRating_unstable, useRatingStyles_unstable, useRating_unstable, useRatingContextValues } from './Rating';\nexport { RatingItem, ratingItemClassNames, renderRatingItem_unstable, useRatingItemStyles_unstable, useRatingItem_unstable } from './RatingItem';\nexport { RatingItemProvider, useRatingItemContextValue_unstable } from './contexts/index';\nexport { RatingDisplay, ratingDisplayClassNames, renderRatingDisplay_unstable, useRatingDisplayStyles_unstable, useRatingDisplay_unstable, useRatingDisplayContextValues } from './RatingDisplay';\n"],"names":["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"],"mappings":";;;;;;;;;;;IAASA,MAAM;eAANA,cAAM;;IAAEC,gBAAgB;eAAhBA,wBAAgB;;IAAEC,qBAAqB;eAArBA,6BAAqB;;IAAEC,wBAAwB;eAAxBA,gCAAwB;;IAAEC,kBAAkB;eAAlBA,0BAAkB;;IAAEC,sBAAsB;eAAtBA,8BAAsB;;IACrHC,UAAU;eAAVA,sBAAU;;IAAEC,oBAAoB;eAApBA,gCAAoB;;IAAEC,yBAAyB;eAAzBA,qCAAyB;;IAAEC,4BAA4B;eAA5BA,wCAA4B;;IAAEC,sBAAsB;eAAtBA,kCAAsB;;IACjHC,kBAAkB;eAAlBA,yBAAkB;;IAAEC,kCAAkC;eAAlCA,yCAAkC;;IACtDC,aAAa;eAAbA,4BAAa;;IAAEC,uBAAuB;eAAvBA,sCAAuB;;IAAEC,4BAA4B;eAA5BA,2CAA4B;;IAAEC,+BAA+B;eAA/BA,8CAA+B;;IAAEC,yBAAyB;eAAzBA,wCAAyB;;IAAEC,6BAA6B;eAA7BA,4CAA6B;;;wBAHlC;4BACJ;uBAC3D;+BACyG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-rating",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.2",
|
|
4
4
|
"description": "Rating component for building web experiences",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"@fluentui/scripts-tasks": "*"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@fluentui/react-jsx-runtime": "^9.0.
|
|
33
|
+
"@fluentui/react-jsx-runtime": "^9.0.35",
|
|
34
34
|
"@fluentui/react-icons": "^2.0.224",
|
|
35
|
-
"@fluentui/react-theme": "^9.1.
|
|
36
|
-
"@fluentui/react-tabster": "^9.19.
|
|
37
|
-
"@fluentui/react-utilities": "^9.18.
|
|
35
|
+
"@fluentui/react-theme": "^9.1.19",
|
|
36
|
+
"@fluentui/react-tabster": "^9.19.6",
|
|
37
|
+
"@fluentui/react-utilities": "^9.18.6",
|
|
38
38
|
"@griffel/react": "^1.5.14",
|
|
39
39
|
"@swc/helpers": "^0.5.1"
|
|
40
40
|
},
|