@fluentui/react-rating 9.0.0 → 9.0.1

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,24 @@
1
1
  # Change Log - @fluentui/react-rating
2
2
 
3
- This log was last generated on Fri, 15 Mar 2024 21:37:57 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 18 Mar 2024 19:44:52 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating_v9.0.1)
8
+
9
+ Mon, 18 Mar 2024 19:44:52 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating_v9.0.0..@fluentui/react-rating_v9.0.1)
11
+
12
+ ### Patches
13
+
14
+ - Bump @fluentui/react-jsx-runtime to v9.0.34 ([PR #30803](https://github.com/microsoft/fluentui/pull/30803) by beachball)
15
+ - Bump @fluentui/react-theme to v9.1.19 ([PR #30803](https://github.com/microsoft/fluentui/pull/30803) by beachball)
16
+ - Bump @fluentui/react-tabster to v9.19.5 ([PR #30803](https://github.com/microsoft/fluentui/pull/30803) by beachball)
17
+ - Bump @fluentui/react-utilities to v9.18.5 ([PR #30803](https://github.com/microsoft/fluentui/pull/30803) by beachball)
18
+
7
19
  ## [9.0.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating_v9.0.0)
8
20
 
9
- Fri, 15 Mar 2024 21:37:57 GMT
21
+ Fri, 15 Mar 2024 21:43:49 GMT
10
22
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating-preview_v0.4.0..@fluentui/react-rating_v9.0.0)
11
23
 
12
24
  ### 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":"AAgDA,WAII"}
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"}
@@ -12,59 +12,59 @@ _export(exports, {
12
12
  Rating: function() {
13
13
  return _Rating.Rating;
14
14
  },
15
- RatingDisplay: function() {
16
- return _RatingDisplay.RatingDisplay;
15
+ ratingClassNames: function() {
16
+ return _Rating.ratingClassNames;
17
17
  },
18
- RatingItem: function() {
19
- return _RatingItem.RatingItem;
18
+ renderRating_unstable: function() {
19
+ return _Rating.renderRating_unstable;
20
20
  },
21
- RatingItemProvider: function() {
22
- return _index.RatingItemProvider;
21
+ useRatingStyles_unstable: function() {
22
+ return _Rating.useRatingStyles_unstable;
23
23
  },
24
- ratingClassNames: function() {
25
- return _Rating.ratingClassNames;
24
+ useRating_unstable: function() {
25
+ return _Rating.useRating_unstable;
26
26
  },
27
- ratingDisplayClassNames: function() {
28
- return _RatingDisplay.ratingDisplayClassNames;
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
- renderRating_unstable: function() {
40
- return _Rating.renderRating_unstable;
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
- useRatingDisplayStyles_unstable: function() {
49
- return _RatingDisplay.useRatingDisplayStyles_unstable;
42
+ useRatingItem_unstable: function() {
43
+ return _RatingItem.useRatingItem_unstable;
50
44
  },
51
- useRatingDisplay_unstable: function() {
52
- return _RatingDisplay.useRatingDisplay_unstable;
45
+ RatingItemProvider: function() {
46
+ return _index.RatingItemProvider;
53
47
  },
54
48
  useRatingItemContextValue_unstable: function() {
55
49
  return _index.useRatingItemContextValue_unstable;
56
50
  },
57
- useRatingItemStyles_unstable: function() {
58
- return _RatingItem.useRatingItemStyles_unstable;
51
+ RatingDisplay: function() {
52
+ return _RatingDisplay.RatingDisplay;
59
53
  },
60
- useRatingItem_unstable: function() {
61
- return _RatingItem.useRatingItem_unstable;
54
+ ratingDisplayClassNames: function() {
55
+ return _RatingDisplay.ratingDisplayClassNames;
62
56
  },
63
- useRatingStyles_unstable: function() {
64
- return _Rating.useRatingStyles_unstable;
57
+ renderRatingDisplay_unstable: function() {
58
+ return _RatingDisplay.renderRatingDisplay_unstable;
65
59
  },
66
- useRating_unstable: function() {
67
- return _Rating.useRating_unstable;
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","RatingDisplay","RatingItem","RatingItemProvider","ratingClassNames","ratingDisplayClassNames","ratingItemClassNames","renderRatingDisplay_unstable","renderRatingItem_unstable","renderRating_unstable","useRatingContextValues","useRatingDisplayContextValues","useRatingDisplayStyles_unstable","useRatingDisplay_unstable","useRatingItemContextValue_unstable","useRatingItemStyles_unstable","useRatingItem_unstable","useRatingStyles_unstable","useRating_unstable"],"mappings":";;;;;;;;;;;IAASA,MAAM;eAANA,cAAM;;IAGNC,aAAa;eAAbA,4BAAa;;IAFbC,UAAU;eAAVA,sBAAU;;IACVC,kBAAkB;eAAlBA,yBAAkB;;IAFVC,gBAAgB;eAAhBA,wBAAgB;;IAGTC,uBAAuB;eAAvBA,sCAAuB;;IAF1BC,oBAAoB;eAApBA,gCAAoB;;IAEQC,4BAA4B;eAA5BA,2CAA4B;;IAFlCC,yBAAyB;eAAzBA,qCAAyB;;IADjCC,qBAAqB;eAArBA,6BAAqB;;IAAgDC,sBAAsB;eAAtBA,8BAAsB;;IAGaC,6BAA6B;eAA7BA,4CAA6B;;IAAzFC,+BAA+B;eAA/BA,8CAA+B;;IAAEC,yBAAyB;eAAzBA,wCAAyB;;IAD5GC,kCAAkC;eAAlCA,yCAAkC;;IADOC,4BAA4B;eAA5BA,wCAA4B;;IAAEC,sBAAsB;eAAtBA,kCAAsB;;IADhEC,wBAAwB;eAAxBA,gCAAwB;;IAAEC,kBAAkB;eAAlBA,0BAAkB;;;wBAAgC;4BACJ;uBAC3D;+BACyG"}
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.0",
3
+ "version": "9.0.1",
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",
33
+ "@fluentui/react-jsx-runtime": "^9.0.34",
34
34
  "@fluentui/react-icons": "^2.0.224",
35
- "@fluentui/react-theme": "^9.1.18",
36
- "@fluentui/react-tabster": "^9.19.4",
37
- "@fluentui/react-utilities": "^9.18.4",
35
+ "@fluentui/react-theme": "^9.1.19",
36
+ "@fluentui/react-tabster": "^9.19.5",
37
+ "@fluentui/react-utilities": "^9.18.5",
38
38
  "@griffel/react": "^1.5.14",
39
39
  "@swc/helpers": "^0.5.1"
40
40
  },