@fluentui/react-rating 9.0.9 → 9.0.10

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,22 @@
1
1
  # Change Log - @fluentui/react-rating
2
2
 
3
- This log was last generated on Mon, 20 May 2024 12:36:38 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 23 May 2024 07:57:58 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating_v9.0.10)
8
+
9
+ Thu, 23 May 2024 07:57:58 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating_v9.0.9..@fluentui/react-rating_v9.0.10)
11
+
12
+ ### Patches
13
+
14
+ - chore: replace usage of .shorthands() in styles ([PR #31449](https://github.com/microsoft/fluentui/pull/31449) by olfedias@microsoft.com)
15
+ - Bump @fluentui/react-tabster to v9.21.4 ([commit](https://github.com/microsoft/fluentui/commit/10e6758b203de79c53ce31ba264e137f83f50ff4) by beachball)
16
+
7
17
  ## [9.0.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-rating_v9.0.9)
8
18
 
9
- Mon, 20 May 2024 12:36:38 GMT
19
+ Mon, 20 May 2024 12:45:02 GMT
10
20
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-rating_v9.0.8..@fluentui/react-rating_v9.0.9)
11
21
 
12
22
  ### Patches
@@ -1,4 +1,4 @@
1
- import { __resetStyles, __styles, mergeClasses, shorthands } from '@griffel/react';
1
+ import { __resetStyles, __styles, mergeClasses } from '@griffel/react';
2
2
  import { tokens } from '@fluentui/react-theme';
3
3
  import { createFocusOutlineStyle } from '@fluentui/react-tabster';
4
4
  export const ratingItemClassNames = {
@@ -28,22 +28,28 @@ const useStyles = /*#__PURE__*/__styles({
28
28
  wigs8: "f1p0ul1q",
29
29
  pbfy6t: "f1c901ms",
30
30
  B0v4ure: "f1alokd7",
31
- ghq09: "f78i1la",
32
- B24cy0v: ["f1kvsw7t", "f1bw8brt"],
33
- Bwckmig: "f8k7e5g",
34
- Bvwlmkc: ["f1bw8brt", "f1kvsw7t"],
35
- Bbgo44z: "f1pmxfrl",
36
- Bil7v7r: ["fszkfcr", "f1ap5ily"],
37
- skfxo0: "f57dp0y",
38
- jo1ztg: ["f1ap5ily", "fszkfcr"],
39
- Ba3ybja: ["f11dm2qb", "f136rfnd"],
40
- az1dzo: ["f136rfnd", "f11dm2qb"],
41
- vppk2z: ["fdsq1qd", "f1khssms"],
42
- B6352mv: ["f1khssms", "fdsq1qd"],
43
- nr063g: "fq4eyks",
44
- Blmvk6g: ["f1ya6x16", "ftuszwa"],
45
- Bsiemmq: "f1e2iu44",
46
- B98u21t: ["ftuszwa", "f1ya6x16"],
31
+ Byrf0fs: 0,
32
+ Bsiemmq: 0,
33
+ Bwckmig: 0,
34
+ skfxo0: 0,
35
+ Iidy0u: 0,
36
+ B98u21t: 0,
37
+ Bvwlmkc: 0,
38
+ jo1ztg: 0,
39
+ Ba1iezr: 0,
40
+ Blmvk6g: 0,
41
+ B24cy0v: 0,
42
+ Bil7v7r: 0,
43
+ Br3gin4: 0,
44
+ nr063g: 0,
45
+ ghq09: 0,
46
+ Bbgo44z: 0,
47
+ Bseh09z: "fmj8fco",
48
+ az1dzo: 0,
49
+ Ba3ybja: 0,
50
+ B6352mv: 0,
51
+ vppk2z: 0,
52
+ Biaj6j7: "f1iwowo3",
47
53
  B2pnrqr: "f1spmvte",
48
54
  B29w5g4: ["fgp7k2s", "f13pb23"],
49
55
  Bhhzhcn: "f1ihbrwi",
@@ -70,7 +76,11 @@ const useStyles = /*#__PURE__*/__styles({
70
76
  Bqenvij: "fxldao9"
71
77
  }
72
78
  }, {
73
- d: [".f10pi13n{position:relative;}", ".f1b1k54r[data-fui-focus-within]:focus-within{border-top-color:transparent;}", ".f4ne723[data-fui-focus-within]:focus-within{border-right-color:transparent;}", ".fqqcjud[data-fui-focus-within]:focus-within{border-left-color:transparent;}", ".fh7aioi[data-fui-focus-within]:focus-within{border-bottom-color:transparent;}", ".ffht0p2[data-fui-focus-within]:focus-within::after{content:\"\";}", ".f1p0ul1q[data-fui-focus-within]:focus-within::after{position:absolute;}", ".f1c901ms[data-fui-focus-within]:focus-within::after{pointer-events:none;}", ".f1alokd7[data-fui-focus-within]:focus-within::after{z-index:1;}", ".f78i1la[data-fui-focus-within]:focus-within::after{border-top-style:solid;}", ".f1kvsw7t[data-fui-focus-within]:focus-within::after{border-right-style:solid;}", ".f1bw8brt[data-fui-focus-within]:focus-within::after{border-left-style:solid;}", ".f8k7e5g[data-fui-focus-within]:focus-within::after{border-bottom-style:solid;}", ".f1pmxfrl[data-fui-focus-within]:focus-within::after{border-top-width:2px;}", ".fszkfcr[data-fui-focus-within]:focus-within::after{border-right-width:2px;}", ".f1ap5ily[data-fui-focus-within]:focus-within::after{border-left-width:2px;}", ".f57dp0y[data-fui-focus-within]:focus-within::after{border-bottom-width:2px;}", ".f11dm2qb[data-fui-focus-within]:focus-within::after{border-bottom-right-radius:var(--borderRadiusMedium);}", ".f136rfnd[data-fui-focus-within]:focus-within::after{border-bottom-left-radius:var(--borderRadiusMedium);}", ".fdsq1qd[data-fui-focus-within]:focus-within::after{border-top-right-radius:var(--borderRadiusMedium);}", ".f1khssms[data-fui-focus-within]:focus-within::after{border-top-left-radius:var(--borderRadiusMedium);}", ".fq4eyks[data-fui-focus-within]:focus-within::after{border-top-color:var(--colorStrokeFocus2);}", ".f1ya6x16[data-fui-focus-within]:focus-within::after{border-right-color:var(--colorStrokeFocus2);}", ".ftuszwa[data-fui-focus-within]:focus-within::after{border-left-color:var(--colorStrokeFocus2);}", ".f1e2iu44[data-fui-focus-within]:focus-within::after{border-bottom-color:var(--colorStrokeFocus2);}", ".f1spmvte[data-fui-focus-within]:focus-within::after{top:calc(2px * -1);}", ".fgp7k2s[data-fui-focus-within]:focus-within::after{right:calc(2px * -1);}", ".f13pb23[data-fui-focus-within]:focus-within::after{left:calc(2px * -1);}", ".f1ihbrwi[data-fui-focus-within]:focus-within::after{bottom:calc(2px * -1);}", ".f1ugzwwg{font-size:12px;}", ".frx94fk{width:12px;}", ".fvblgha{height:12px;}", ".f4ybsrx{font-size:16px;}", ".fjw5fx7{width:16px;}", ".fd461yt{height:16px;}", ".fe5j1ua{font-size:20px;}", ".f64fuq3{width:20px;}", ".fjamq6b{height:20px;}", ".f24l1pt{font-size:28px;}", ".f1w9dchk{width:28px;}", ".fxldao9{height:28px;}"],
79
+ d: [".f10pi13n{position:relative;}", ".f1b1k54r[data-fui-focus-within]:focus-within{border-top-color:transparent;}", ".f4ne723[data-fui-focus-within]:focus-within{border-right-color:transparent;}", ".fqqcjud[data-fui-focus-within]:focus-within{border-left-color:transparent;}", ".fh7aioi[data-fui-focus-within]:focus-within{border-bottom-color:transparent;}", ".ffht0p2[data-fui-focus-within]:focus-within::after{content:\"\";}", ".f1p0ul1q[data-fui-focus-within]:focus-within::after{position:absolute;}", ".f1c901ms[data-fui-focus-within]:focus-within::after{pointer-events:none;}", ".f1alokd7[data-fui-focus-within]:focus-within::after{z-index:1;}", [".fmj8fco[data-fui-focus-within]:focus-within::after{border:2px solid var(--colorStrokeFocus2);}", {
80
+ p: -2
81
+ }], [".f1iwowo3[data-fui-focus-within]:focus-within::after{border-radius:var(--borderRadiusMedium);}", {
82
+ p: -1
83
+ }], ".f1spmvte[data-fui-focus-within]:focus-within::after{top:calc(2px * -1);}", ".fgp7k2s[data-fui-focus-within]:focus-within::after{right:calc(2px * -1);}", ".f13pb23[data-fui-focus-within]:focus-within::after{left:calc(2px * -1);}", ".f1ihbrwi[data-fui-focus-within]:focus-within::after{bottom:calc(2px * -1);}", ".f1ugzwwg{font-size:12px;}", ".frx94fk{width:12px;}", ".fvblgha{height:12px;}", ".f4ybsrx{font-size:16px;}", ".fjw5fx7{width:16px;}", ".fd461yt{height:16px;}", ".fe5j1ua{font-size:20px;}", ".f64fuq3{width:20px;}", ".fjamq6b{height:20px;}", ".f24l1pt{font-size:28px;}", ".f1w9dchk{width:28px;}", ".fxldao9{height:28px;}"],
74
84
  f: [".ftqa4ok:focus{outline-style:none;}"],
75
85
  i: [".f2hkw1w:focus-visible{outline-style:none;}"],
76
86
  m: [["@media (forced-colors: active){.f1k55ka9[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;}}", {
@@ -96,9 +106,10 @@ const useIndicatorBaseClassName = /*#__PURE__*/__resetStyles("r1420l2m", "r1yt29
96
106
  const useIndicatorStyles = /*#__PURE__*/__styles({
97
107
  lowerHalf: {
98
108
  j35jbq: ["ffenbu1", "f1ktbn1t"],
99
- uoufgc: "f845r6v",
100
- v39lw8: "fstyxmg",
101
- l5kjut: "f1dcd8c6"
109
+ l5kjut: 0,
110
+ uoufgc: 0,
111
+ v39lw8: 0,
112
+ Bbwb3tu: "f10jwh99"
102
113
  },
103
114
  upperHalf: {
104
115
  oyh7mz: ["f1ktbn1t", "ffenbu1"],
@@ -123,7 +134,9 @@ const useIndicatorStyles = /*#__PURE__*/__styles({
123
134
  sj55zd: "f1ymbmfq"
124
135
  }
125
136
  }, {
126
- d: [".ffenbu1{right:50%;}", ".f1ktbn1t{left:50%;}", ".f845r6v>svg{flex-grow:0;}", ".fstyxmg>svg{flex-shrink:0;}", ".f1dcd8c6>svg{flex-basis:auto;}", ".fbm7ezh{margin-left:-50%;}", ".f3ev47i{margin-right:-50%;}", ".f16muhyy{color:var(--colorBrandForeground1);}", ".f1whvut0{color:var(--colorPaletteMarigoldBorderActive);}", ".f1qaymga{color:var(--colorNeutralBackground6);}", ".f13qq9og{stroke:var(--colorTransparentStroke);}", ".f1kdv6iu{color:var(--colorBrandBackground2);}", ".f1ymbmfq{color:var(--colorPaletteMarigoldBackground2);}"],
137
+ d: [".ffenbu1{right:50%;}", ".f1ktbn1t{left:50%;}", [".f10jwh99>svg{flex:0 0 auto;}", {
138
+ p: -1
139
+ }], ".fbm7ezh{margin-left:-50%;}", ".f3ev47i{margin-right:-50%;}", ".f16muhyy{color:var(--colorBrandForeground1);}", ".f1whvut0{color:var(--colorPaletteMarigoldBorderActive);}", ".f1qaymga{color:var(--colorNeutralBackground6);}", ".f13qq9og{stroke:var(--colorTransparentStroke);}", ".f1kdv6iu{color:var(--colorBrandBackground2);}", ".f1ymbmfq{color:var(--colorPaletteMarigoldBackground2);}"],
127
140
  m: [["@media (forced-colors: active){.f1cg6951{color:Canvas;}}", {
128
141
  m: "(forced-colors: active)"
129
142
  }], ["@media (forced-colors: active){.f1am6ztc{stroke:CanvasText;}}", {
@@ -1 +1 @@
1
- {"version":3,"names":["__resetStyles","__styles","mergeClasses","shorthands","tokens","createFocusOutlineStyle","ratingItemClassNames","root","selectedIcon","unselectedIcon","halfValueInput","fullValueInput","useStyles","qhf8xq","Brovlpu","B486eqv","Bssx7fj","uh7if5","clntm0","Dlk2r6","Bm3wd5j","Bbrhkcr","f1oku","aywvf2","B2j2mmj","wigs8","pbfy6t","B0v4ure","ghq09","B24cy0v","Bwckmig","Bvwlmkc","Bbgo44z","Bil7v7r","skfxo0","jo1ztg","Ba3ybja","az1dzo","vppk2z","B6352mv","nr063g","Blmvk6g","Bsiemmq","B98u21t","B2pnrqr","B29w5g4","Bhhzhcn","Bec0n69","small","Be2twd7","a9b677","Bqenvij","medium","large","d","f","i","m","useInputBaseClassName","useInputStyles","lowerHalf","j35jbq","upperHalf","oyh7mz","useIndicatorBaseClassName","useIndicatorStyles","uoufgc","v39lw8","l5kjut","Frg6f3","brand","sj55zd","marigold","filled","ojy3ng","Bbusuzp","B6jmk37","brandFilled","marigoldFilled","useRatingItemStyles_unstable","state","color","size","iconFillWidth","appearance","styles","inputBaseClassName","inputStyles","indicatorBaseClassName","indicatorStyles","className"],"sources":["useRatingItemStyles.styles.js"],"sourcesContent":["import { makeResetStyles, makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport { createFocusOutlineStyle } from '@fluentui/react-tabster';\nexport const ratingItemClassNames = {\n root: 'fui-RatingItem',\n selectedIcon: 'fui-RatingItem__selectedIcon',\n unselectedIcon: 'fui-RatingItem__unselectedIcon',\n halfValueInput: 'fui-RatingItem__halfValueInput',\n fullValueInput: 'fui-RatingItem__fullValueInput'\n};\n/**\n * Styles for the root slot\n */ const useStyles = makeStyles({\n root: {\n position: 'relative',\n ...createFocusOutlineStyle({\n style: {},\n selector: 'focus-within'\n })\n },\n small: {\n fontSize: '12px',\n width: '12px',\n height: '12px'\n },\n medium: {\n fontSize: '16px',\n width: '16px',\n height: '16px'\n },\n large: {\n fontSize: '20px',\n width: '20px',\n height: '20px'\n },\n 'extra-large': {\n fontSize: '28px',\n width: '28px',\n height: '28px'\n }\n});\nconst useInputBaseClassName = makeResetStyles({\n position: 'absolute',\n left: 0,\n top: 0,\n right: 0,\n bottom: 0,\n boxSizing: 'border-box',\n margin: 0,\n opacity: 0,\n cursor: 'pointer',\n height: '100%'\n});\nconst useInputStyles = makeStyles({\n lowerHalf: {\n right: '50%'\n },\n upperHalf: {\n left: '50%'\n }\n});\nconst useIndicatorBaseClassName = makeResetStyles({\n display: 'flex',\n overflow: 'hidden',\n color: tokens.colorNeutralForeground1,\n fill: 'currentColor',\n pointerEvents: 'none',\n position: 'absolute',\n left: 0,\n right: 0,\n top: 0,\n bottom: 0\n});\nconst useIndicatorStyles = makeStyles({\n lowerHalf: {\n right: '50%',\n '& > svg': {\n ...shorthands.flex(0, 0, 'auto')\n }\n },\n upperHalf: {\n left: '50%',\n marginLeft: '-50%'\n },\n brand: {\n color: tokens.colorBrandForeground1\n },\n marigold: {\n color: tokens.colorPaletteMarigoldBorderActive\n },\n filled: {\n color: tokens.colorNeutralBackground6,\n stroke: tokens.colorTransparentStroke,\n '@media (forced-colors: active)': {\n color: 'Canvas',\n stroke: 'CanvasText'\n }\n },\n brandFilled: {\n color: tokens.colorBrandBackground2\n },\n marigoldFilled: {\n color: tokens.colorPaletteMarigoldBackground2\n }\n});\n/**\n * Apply styling to the RatingItem slots based on the state\n */ export const useRatingItemStyles_unstable = (state)=>{\n const { color, size, iconFillWidth, appearance } = state;\n const styles = useStyles();\n const inputBaseClassName = useInputBaseClassName();\n const inputStyles = useInputStyles();\n const indicatorBaseClassName = useIndicatorBaseClassName();\n const indicatorStyles = useIndicatorStyles();\n state.root.className = mergeClasses(ratingItemClassNames.root, styles.root, styles[size], state.root.className);\n if (state.halfValueInput) {\n state.halfValueInput.className = mergeClasses(ratingItemClassNames.halfValueInput, inputBaseClassName, inputStyles.lowerHalf, state.halfValueInput.className);\n }\n if (state.fullValueInput) {\n state.fullValueInput.className = mergeClasses(ratingItemClassNames.fullValueInput, inputBaseClassName, state.halfValueInput && inputStyles.upperHalf, state.fullValueInput.className);\n }\n if (state.unselectedIcon) {\n state.unselectedIcon.className = mergeClasses(ratingItemClassNames.unselectedIcon, indicatorBaseClassName, appearance === 'filled' && indicatorStyles.filled, color === 'brand' && (appearance === 'filled' ? indicatorStyles.brandFilled : indicatorStyles.brand), color === 'marigold' && (appearance === 'filled' ? indicatorStyles.marigoldFilled : indicatorStyles.marigold), iconFillWidth === 0.5 && indicatorStyles.upperHalf, state.unselectedIcon.className);\n }\n if (state.selectedIcon) {\n state.selectedIcon.className = mergeClasses(ratingItemClassNames.selectedIcon, indicatorBaseClassName, color === 'brand' && indicatorStyles.brand, color === 'marigold' && indicatorStyles.marigold, iconFillWidth === 0.5 && indicatorStyles.lowerHalf, state.selectedIcon.className);\n }\n return state;\n};\n"],"mappings":"AAAA,SAAAA,aAAA,EAAAC,QAAA,EAAsCC,YAAY,EAAEC,UAAU,QAAQ,gBAAgB;AACtF,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,SAASC,uBAAuB,QAAQ,yBAAyB;AACjE,OAAO,MAAMC,oBAAoB,GAAG;EAChCC,IAAI,EAAE,gBAAgB;EACtBC,YAAY,EAAE,8BAA8B;EAC5CC,cAAc,EAAE,gCAAgC;EAChDC,cAAc,EAAE,gCAAgC;EAChDC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,KAAK,CAACrE,cAAc,CAAC+E,SAAS,GAAGxF,YAAY,CAACI,oBAAoB,CAACK,cAAc,EAAE2E,kBAAkB,EAAEN,KAAK,CAACtE,cAAc,IAAI6E,WAAW,CAACzB,SAAS,EAAEkB,KAAK,CAACrE,cAAc,CAAC+E,SAAS,CAAC;EACzL;EACA,IAAIV,KAAK,CAACvE,cAAc,EAAE;IACtBuE,KAAK,CAACvE,cAAc,CAACiF,SAAS,GAAGxF,YAAY,CAACI,oBAAoB,CAACG,cAAc,EAAE+E,sBAAsB,EAAEJ,UAAU,KAAK,QAAQ,IAAIK,eAAe,CAAChB,MAAM,EAAEQ,KAAK,KAAK,OAAO,KAAKG,UAAU,KAAK,QAAQ,GAAGK,eAAe,CAACZ,WAAW,GAAGY,eAAe,CAACnB,KAAK,CAAC,EAAEW,KAAK,KAAK,UAAU,KAAKG,UAAU,KAAK,QAAQ,GAAGK,eAAe,CAACX,cAAc,GAAGW,eAAe,CAACjB,QAAQ,CAAC,EAAEW,aAAa,KAAK,GAAG,IAAIM,eAAe,CAAC3B,SAAS,EAAEkB,KAAK,CAACvE,cAAc,CAACiF,SAAS,CAAC;EAC1c;EACA,IAAIV,KAAK,CAACxE,YAAY,EAAE;IACpBwE,KAAK,CAACxE,YAAY,CAACkF,SAAS,GAAGxF,YAAY,CAACI,oBAAoB,CAACE,YAAY,EAAEgF,sBAAsB,EAAEP,KAAK,KAAK,OAAO,IAAIQ,eAAe,CAACnB,KAAK,EAAEW,KAAK,KAAK,UAAU,IAAIQ,eAAe,CAACjB,QAAQ,EAAEW,aAAa,KAAK,GAAG,IAAIM,eAAe,CAAC7B,SAAS,EAAEoB,KAAK,CAACxE,YAAY,CAACkF,SAAS,CAAC;EAC1R;EACA,OAAOV,KAAK;AAChB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["__resetStyles","__styles","mergeClasses","tokens","createFocusOutlineStyle","ratingItemClassNames","root","selectedIcon","unselectedIcon","halfValueInput","fullValueInput","useStyles","qhf8xq","Brovlpu","B486eqv","Bssx7fj","uh7if5","clntm0","Dlk2r6","Bm3wd5j","Bbrhkcr","f1oku","aywvf2","B2j2mmj","wigs8","pbfy6t","B0v4ure","Byrf0fs","Bsiemmq","Bwckmig","skfxo0","Iidy0u","B98u21t","Bvwlmkc","jo1ztg","Ba1iezr","Blmvk6g","B24cy0v","Bil7v7r","Br3gin4","nr063g","ghq09","Bbgo44z","Bseh09z","az1dzo","Ba3ybja","B6352mv","vppk2z","Biaj6j7","B2pnrqr","B29w5g4","Bhhzhcn","Bec0n69","small","Be2twd7","a9b677","Bqenvij","medium","large","d","p","f","i","m","useInputBaseClassName","useInputStyles","lowerHalf","j35jbq","upperHalf","oyh7mz","useIndicatorBaseClassName","useIndicatorStyles","l5kjut","uoufgc","v39lw8","Bbwb3tu","Frg6f3","brand","sj55zd","marigold","filled","ojy3ng","Bbusuzp","B6jmk37","brandFilled","marigoldFilled","useRatingItemStyles_unstable","state","color","size","iconFillWidth","appearance","styles","inputBaseClassName","inputStyles","indicatorBaseClassName","indicatorStyles","className"],"sources":["useRatingItemStyles.styles.js"],"sourcesContent":["import { makeResetStyles, makeStyles, mergeClasses } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport { createFocusOutlineStyle } from '@fluentui/react-tabster';\nexport const ratingItemClassNames = {\n root: 'fui-RatingItem',\n selectedIcon: 'fui-RatingItem__selectedIcon',\n unselectedIcon: 'fui-RatingItem__unselectedIcon',\n halfValueInput: 'fui-RatingItem__halfValueInput',\n fullValueInput: 'fui-RatingItem__fullValueInput'\n};\n/**\n * Styles for the root slot\n */ const useStyles = makeStyles({\n root: {\n position: 'relative',\n ...createFocusOutlineStyle({\n style: {},\n selector: 'focus-within'\n })\n },\n small: {\n fontSize: '12px',\n width: '12px',\n height: '12px'\n },\n medium: {\n fontSize: '16px',\n width: '16px',\n height: '16px'\n },\n large: {\n fontSize: '20px',\n width: '20px',\n height: '20px'\n },\n 'extra-large': {\n fontSize: '28px',\n width: '28px',\n height: '28px'\n }\n});\nconst useInputBaseClassName = makeResetStyles({\n position: 'absolute',\n left: 0,\n top: 0,\n right: 0,\n bottom: 0,\n boxSizing: 'border-box',\n margin: 0,\n opacity: 0,\n cursor: 'pointer',\n height: '100%'\n});\nconst useInputStyles = makeStyles({\n lowerHalf: {\n right: '50%'\n },\n upperHalf: {\n left: '50%'\n }\n});\nconst useIndicatorBaseClassName = makeResetStyles({\n display: 'flex',\n overflow: 'hidden',\n color: tokens.colorNeutralForeground1,\n fill: 'currentColor',\n pointerEvents: 'none',\n position: 'absolute',\n left: 0,\n right: 0,\n top: 0,\n bottom: 0\n});\nconst useIndicatorStyles = makeStyles({\n lowerHalf: {\n right: '50%',\n '& > svg': {\n flex: '0 0 auto'\n }\n },\n upperHalf: {\n left: '50%',\n marginLeft: '-50%'\n },\n brand: {\n color: tokens.colorBrandForeground1\n },\n marigold: {\n color: tokens.colorPaletteMarigoldBorderActive\n },\n filled: {\n color: tokens.colorNeutralBackground6,\n stroke: tokens.colorTransparentStroke,\n '@media (forced-colors: active)': {\n color: 'Canvas',\n stroke: 'CanvasText'\n }\n },\n brandFilled: {\n color: tokens.colorBrandBackground2\n },\n marigoldFilled: {\n color: tokens.colorPaletteMarigoldBackground2\n }\n});\n/**\n * Apply styling to the RatingItem slots based on the state\n */ export const useRatingItemStyles_unstable = (state)=>{\n const { color, size, iconFillWidth, appearance } = state;\n const styles = useStyles();\n const inputBaseClassName = useInputBaseClassName();\n const inputStyles = useInputStyles();\n const indicatorBaseClassName = useIndicatorBaseClassName();\n const indicatorStyles = useIndicatorStyles();\n state.root.className = mergeClasses(ratingItemClassNames.root, styles.root, styles[size], state.root.className);\n if (state.halfValueInput) {\n state.halfValueInput.className = mergeClasses(ratingItemClassNames.halfValueInput, inputBaseClassName, inputStyles.lowerHalf, state.halfValueInput.className);\n }\n if (state.fullValueInput) {\n state.fullValueInput.className = mergeClasses(ratingItemClassNames.fullValueInput, inputBaseClassName, state.halfValueInput && inputStyles.upperHalf, state.fullValueInput.className);\n }\n if (state.unselectedIcon) {\n state.unselectedIcon.className = mergeClasses(ratingItemClassNames.unselectedIcon, indicatorBaseClassName, appearance === 'filled' && indicatorStyles.filled, color === 'brand' && (appearance === 'filled' ? indicatorStyles.brandFilled : indicatorStyles.brand), color === 'marigold' && (appearance === 'filled' ? indicatorStyles.marigoldFilled : indicatorStyles.marigold), iconFillWidth === 0.5 && indicatorStyles.upperHalf, state.unselectedIcon.className);\n }\n if (state.selectedIcon) {\n state.selectedIcon.className = mergeClasses(ratingItemClassNames.selectedIcon, indicatorBaseClassName, color === 'brand' && indicatorStyles.brand, color === 'marigold' && indicatorStyles.marigold, iconFillWidth === 0.5 && indicatorStyles.lowerHalf, state.selectedIcon.className);\n }\n return state;\n};\n"],"mappings":"AAAA,SAAAA,aAAA,EAAAC,QAAA,EAAsCC,YAAY,QAAQ,gBAAgB;AAC1E,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,SAASC,uBAAuB,QAAQ,yBAAyB;AACjE,OAAO,MAAMC,oBAAoB,GAAG;EAChCC,IAAI,EAAE,gBAAgB;EACtBC,YAAY,EAAE,8BAA8B;EAC5CC,cAAc,EAAE,gCAAgC;EAChDC,cAAc,EAAE,gCAAgC;EAChDC,cAAc,EAAE;AACpB,CAAC;AACD;AACA;AACA;AAAI,MAAMC,SAAS,gBAAGV,QAAA;EAAAK,IAAA;IAAAM,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,KAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,KAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,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AoB,CAACG,cAAc,EAAEuF,sBAAsB,EAAEJ,UAAU,KAAK,QAAQ,IAAIK,eAAe,CAAChB,MAAM,EAAEQ,KAAK,KAAK,OAAO,KAAKG,UAAU,KAAK,QAAQ,GAAGK,eAAe,CAACZ,WAAW,GAAGY,eAAe,CAACnB,KAAK,CAAC,EAAEW,KAAK,KAAK,UAAU,KAAKG,UAAU,KAAK,QAAQ,GAAGK,eAAe,CAACX,cAAc,GAAGW,eAAe,CAACjB,QAAQ,CAAC,EAAEW,aAAa,KAAK,GAAG,IAAIM,eAAe,CAAC5B,SAAS,EAAEmB,KAAK,CAAC/E,cAAc,CAACyF,SAAS,CAAC;EAC1c;EACA,IAAIV,KAAK,CAAChF,YAAY,EAAE;IACpBgF,KAAK,CAAChF,YAAY,CAAC0F,SAAS,GAAG/F,YAAY,CAACG,oBAAoB,CAACE,YAAY,EAAEwF,sBAAsB,EAAEP,KAAK,KAAK,OAAO,IAAIQ,eAAe,CAACnB,KAAK,EAAEW,KAAK,KAAK,UAAU,IAAIQ,eAAe,CAACjB,QAAQ,EAAEW,aAAa,KAAK,GAAG,IAAIM,eAAe,CAAC9B,SAAS,EAAEqB,KAAK,CAAChF,YAAY,CAAC0F,SAAS,CAAC;EAC1R;EACA,OAAOV,KAAK;AAChB,CAAC","ignoreList":[]}
@@ -55,52 +55,28 @@ const ratingItemClassNames = {
55
55
  wigs8: "f1p0ul1q",
56
56
  pbfy6t: "f1c901ms",
57
57
  B0v4ure: "f1alokd7",
58
- ghq09: "f78i1la",
59
- B24cy0v: [
60
- "f1kvsw7t",
61
- "f1bw8brt"
62
- ],
63
- Bwckmig: "f8k7e5g",
64
- Bvwlmkc: [
65
- "f1bw8brt",
66
- "f1kvsw7t"
67
- ],
68
- Bbgo44z: "f1pmxfrl",
69
- Bil7v7r: [
70
- "fszkfcr",
71
- "f1ap5ily"
72
- ],
73
- skfxo0: "f57dp0y",
74
- jo1ztg: [
75
- "f1ap5ily",
76
- "fszkfcr"
77
- ],
78
- Ba3ybja: [
79
- "f11dm2qb",
80
- "f136rfnd"
81
- ],
82
- az1dzo: [
83
- "f136rfnd",
84
- "f11dm2qb"
85
- ],
86
- vppk2z: [
87
- "fdsq1qd",
88
- "f1khssms"
89
- ],
90
- B6352mv: [
91
- "f1khssms",
92
- "fdsq1qd"
93
- ],
94
- nr063g: "fq4eyks",
95
- Blmvk6g: [
96
- "f1ya6x16",
97
- "ftuszwa"
98
- ],
99
- Bsiemmq: "f1e2iu44",
100
- B98u21t: [
101
- "ftuszwa",
102
- "f1ya6x16"
103
- ],
58
+ Byrf0fs: 0,
59
+ Bsiemmq: 0,
60
+ Bwckmig: 0,
61
+ skfxo0: 0,
62
+ Iidy0u: 0,
63
+ B98u21t: 0,
64
+ Bvwlmkc: 0,
65
+ jo1ztg: 0,
66
+ Ba1iezr: 0,
67
+ Blmvk6g: 0,
68
+ B24cy0v: 0,
69
+ Bil7v7r: 0,
70
+ Br3gin4: 0,
71
+ nr063g: 0,
72
+ ghq09: 0,
73
+ Bbgo44z: 0,
74
+ Bseh09z: "fmj8fco",
75
+ az1dzo: 0,
76
+ Ba3ybja: 0,
77
+ B6352mv: 0,
78
+ vppk2z: 0,
79
+ Biaj6j7: "f1iwowo3",
104
80
  B2pnrqr: "f1spmvte",
105
81
  B29w5g4: [
106
82
  "fgp7k2s",
@@ -143,22 +119,18 @@ const ratingItemClassNames = {
143
119
  ".f1p0ul1q[data-fui-focus-within]:focus-within::after{position:absolute;}",
144
120
  ".f1c901ms[data-fui-focus-within]:focus-within::after{pointer-events:none;}",
145
121
  ".f1alokd7[data-fui-focus-within]:focus-within::after{z-index:1;}",
146
- ".f78i1la[data-fui-focus-within]:focus-within::after{border-top-style:solid;}",
147
- ".f1kvsw7t[data-fui-focus-within]:focus-within::after{border-right-style:solid;}",
148
- ".f1bw8brt[data-fui-focus-within]:focus-within::after{border-left-style:solid;}",
149
- ".f8k7e5g[data-fui-focus-within]:focus-within::after{border-bottom-style:solid;}",
150
- ".f1pmxfrl[data-fui-focus-within]:focus-within::after{border-top-width:2px;}",
151
- ".fszkfcr[data-fui-focus-within]:focus-within::after{border-right-width:2px;}",
152
- ".f1ap5ily[data-fui-focus-within]:focus-within::after{border-left-width:2px;}",
153
- ".f57dp0y[data-fui-focus-within]:focus-within::after{border-bottom-width:2px;}",
154
- ".f11dm2qb[data-fui-focus-within]:focus-within::after{border-bottom-right-radius:var(--borderRadiusMedium);}",
155
- ".f136rfnd[data-fui-focus-within]:focus-within::after{border-bottom-left-radius:var(--borderRadiusMedium);}",
156
- ".fdsq1qd[data-fui-focus-within]:focus-within::after{border-top-right-radius:var(--borderRadiusMedium);}",
157
- ".f1khssms[data-fui-focus-within]:focus-within::after{border-top-left-radius:var(--borderRadiusMedium);}",
158
- ".fq4eyks[data-fui-focus-within]:focus-within::after{border-top-color:var(--colorStrokeFocus2);}",
159
- ".f1ya6x16[data-fui-focus-within]:focus-within::after{border-right-color:var(--colorStrokeFocus2);}",
160
- ".ftuszwa[data-fui-focus-within]:focus-within::after{border-left-color:var(--colorStrokeFocus2);}",
161
- ".f1e2iu44[data-fui-focus-within]:focus-within::after{border-bottom-color:var(--colorStrokeFocus2);}",
122
+ [
123
+ ".fmj8fco[data-fui-focus-within]:focus-within::after{border:2px solid var(--colorStrokeFocus2);}",
124
+ {
125
+ p: -2
126
+ }
127
+ ],
128
+ [
129
+ ".f1iwowo3[data-fui-focus-within]:focus-within::after{border-radius:var(--borderRadiusMedium);}",
130
+ {
131
+ p: -1
132
+ }
133
+ ],
162
134
  ".f1spmvte[data-fui-focus-within]:focus-within::after{top:calc(2px * -1);}",
163
135
  ".fgp7k2s[data-fui-focus-within]:focus-within::after{right:calc(2px * -1);}",
164
136
  ".f13pb23[data-fui-focus-within]:focus-within::after{left:calc(2px * -1);}",
@@ -236,9 +208,10 @@ const useIndicatorStyles = /*#__PURE__*/ (0, _react.__styles)({
236
208
  "ffenbu1",
237
209
  "f1ktbn1t"
238
210
  ],
239
- uoufgc: "f845r6v",
240
- v39lw8: "fstyxmg",
241
- l5kjut: "f1dcd8c6"
211
+ l5kjut: 0,
212
+ uoufgc: 0,
213
+ v39lw8: 0,
214
+ Bbwb3tu: "f10jwh99"
242
215
  },
243
216
  upperHalf: {
244
217
  oyh7mz: [
@@ -272,9 +245,12 @@ const useIndicatorStyles = /*#__PURE__*/ (0, _react.__styles)({
272
245
  d: [
273
246
  ".ffenbu1{right:50%;}",
274
247
  ".f1ktbn1t{left:50%;}",
275
- ".f845r6v>svg{flex-grow:0;}",
276
- ".fstyxmg>svg{flex-shrink:0;}",
277
- ".f1dcd8c6>svg{flex-basis:auto;}",
248
+ [
249
+ ".f10jwh99>svg{flex:0 0 auto;}",
250
+ {
251
+ p: -1
252
+ }
253
+ ],
278
254
  ".fbm7ezh{margin-left:-50%;}",
279
255
  ".f3ev47i{margin-right:-50%;}",
280
256
  ".f16muhyy{color:var(--colorBrandForeground1);}",
@@ -1 +1 @@
1
- {"version":3,"sources":["useRatingItemStyles.styles.js"],"sourcesContent":["import { __resetStyles, __styles, mergeClasses, shorthands } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport { createFocusOutlineStyle } from '@fluentui/react-tabster';\nexport const ratingItemClassNames = {\n root: 'fui-RatingItem',\n selectedIcon: 'fui-RatingItem__selectedIcon',\n unselectedIcon: 'fui-RatingItem__unselectedIcon',\n halfValueInput: 'fui-RatingItem__halfValueInput',\n fullValueInput: 'fui-RatingItem__fullValueInput'\n};\n/**\n * Styles for the root slot\n */\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n qhf8xq: \"f10pi13n\",\n Brovlpu: \"ftqa4ok\",\n B486eqv: \"f2hkw1w\",\n Bssx7fj: \"f1b1k54r\",\n uh7if5: [\"f4ne723\", \"fqqcjud\"],\n clntm0: \"fh7aioi\",\n Dlk2r6: [\"fqqcjud\", \"f4ne723\"],\n Bm3wd5j: \"f1k55ka9\",\n Bbrhkcr: [\"fgclinu\", \"f16pcs8n\"],\n f1oku: \"fycbxed\",\n aywvf2: [\"f16pcs8n\", \"fgclinu\"],\n B2j2mmj: \"ffht0p2\",\n wigs8: \"f1p0ul1q\",\n pbfy6t: \"f1c901ms\",\n B0v4ure: \"f1alokd7\",\n ghq09: \"f78i1la\",\n B24cy0v: [\"f1kvsw7t\", \"f1bw8brt\"],\n Bwckmig: \"f8k7e5g\",\n Bvwlmkc: [\"f1bw8brt\", \"f1kvsw7t\"],\n Bbgo44z: \"f1pmxfrl\",\n Bil7v7r: [\"fszkfcr\", \"f1ap5ily\"],\n skfxo0: \"f57dp0y\",\n jo1ztg: [\"f1ap5ily\", \"fszkfcr\"],\n Ba3ybja: [\"f11dm2qb\", \"f136rfnd\"],\n az1dzo: [\"f136rfnd\", \"f11dm2qb\"],\n vppk2z: [\"fdsq1qd\", \"f1khssms\"],\n B6352mv: [\"f1khssms\", \"fdsq1qd\"],\n nr063g: \"fq4eyks\",\n Blmvk6g: [\"f1ya6x16\", \"ftuszwa\"],\n Bsiemmq: \"f1e2iu44\",\n B98u21t: [\"ftuszwa\", \"f1ya6x16\"],\n B2pnrqr: \"f1spmvte\",\n B29w5g4: [\"fgp7k2s\", \"f13pb23\"],\n Bhhzhcn: \"f1ihbrwi\",\n Bec0n69: [\"f13pb23\", \"fgp7k2s\"]\n },\n small: {\n Be2twd7: \"f1ugzwwg\",\n a9b677: \"frx94fk\",\n Bqenvij: \"fvblgha\"\n },\n medium: {\n Be2twd7: \"f4ybsrx\",\n a9b677: \"fjw5fx7\",\n Bqenvij: \"fd461yt\"\n },\n large: {\n Be2twd7: \"fe5j1ua\",\n a9b677: \"f64fuq3\",\n Bqenvij: \"fjamq6b\"\n },\n \"extra-large\": {\n Be2twd7: \"f24l1pt\",\n a9b677: \"f1w9dchk\",\n Bqenvij: \"fxldao9\"\n }\n}, {\n d: [\".f10pi13n{position:relative;}\", \".f1b1k54r[data-fui-focus-within]:focus-within{border-top-color:transparent;}\", \".f4ne723[data-fui-focus-within]:focus-within{border-right-color:transparent;}\", \".fqqcjud[data-fui-focus-within]:focus-within{border-left-color:transparent;}\", \".fh7aioi[data-fui-focus-within]:focus-within{border-bottom-color:transparent;}\", \".ffht0p2[data-fui-focus-within]:focus-within::after{content:\\\"\\\";}\", \".f1p0ul1q[data-fui-focus-within]:focus-within::after{position:absolute;}\", \".f1c901ms[data-fui-focus-within]:focus-within::after{pointer-events:none;}\", \".f1alokd7[data-fui-focus-within]:focus-within::after{z-index:1;}\", \".f78i1la[data-fui-focus-within]:focus-within::after{border-top-style:solid;}\", \".f1kvsw7t[data-fui-focus-within]:focus-within::after{border-right-style:solid;}\", \".f1bw8brt[data-fui-focus-within]:focus-within::after{border-left-style:solid;}\", \".f8k7e5g[data-fui-focus-within]:focus-within::after{border-bottom-style:solid;}\", \".f1pmxfrl[data-fui-focus-within]:focus-within::after{border-top-width:2px;}\", \".fszkfcr[data-fui-focus-within]:focus-within::after{border-right-width:2px;}\", \".f1ap5ily[data-fui-focus-within]:focus-within::after{border-left-width:2px;}\", \".f57dp0y[data-fui-focus-within]:focus-within::after{border-bottom-width:2px;}\", \".f11dm2qb[data-fui-focus-within]:focus-within::after{border-bottom-right-radius:var(--borderRadiusMedium);}\", \".f136rfnd[data-fui-focus-within]:focus-within::after{border-bottom-left-radius:var(--borderRadiusMedium);}\", \".fdsq1qd[data-fui-focus-within]:focus-within::after{border-top-right-radius:var(--borderRadiusMedium);}\", \".f1khssms[data-fui-focus-within]:focus-within::after{border-top-left-radius:var(--borderRadiusMedium);}\", \".fq4eyks[data-fui-focus-within]:focus-within::after{border-top-color:var(--colorStrokeFocus2);}\", \".f1ya6x16[data-fui-focus-within]:focus-within::after{border-right-color:var(--colorStrokeFocus2);}\", \".ftuszwa[data-fui-focus-within]:focus-within::after{border-left-color:var(--colorStrokeFocus2);}\", \".f1e2iu44[data-fui-focus-within]:focus-within::after{border-bottom-color:var(--colorStrokeFocus2);}\", \".f1spmvte[data-fui-focus-within]:focus-within::after{top:calc(2px * -1);}\", \".fgp7k2s[data-fui-focus-within]:focus-within::after{right:calc(2px * -1);}\", \".f13pb23[data-fui-focus-within]:focus-within::after{left:calc(2px * -1);}\", \".f1ihbrwi[data-fui-focus-within]:focus-within::after{bottom:calc(2px * -1);}\", \".f1ugzwwg{font-size:12px;}\", \".frx94fk{width:12px;}\", \".fvblgha{height:12px;}\", \".f4ybsrx{font-size:16px;}\", \".fjw5fx7{width:16px;}\", \".fd461yt{height:16px;}\", \".fe5j1ua{font-size:20px;}\", \".f64fuq3{width:20px;}\", \".fjamq6b{height:20px;}\", \".f24l1pt{font-size:28px;}\", \".f1w9dchk{width:28px;}\", \".fxldao9{height:28px;}\"],\n f: [\".ftqa4ok:focus{outline-style:none;}\"],\n i: [\".f2hkw1w:focus-visible{outline-style:none;}\"],\n m: [[\"@media (forced-colors: active){.f1k55ka9[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f16pcs8n[data-fui-focus-within]:focus-within::after{border-left-color:Highlight;}.fgclinu[data-fui-focus-within]:focus-within::after{border-right-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fycbxed[data-fui-focus-within]:focus-within::after{border-bottom-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useInputBaseClassName = /*#__PURE__*/__resetStyles(\"r1qfsv1p\", \"rh8pzaz\", [\".r1qfsv1p{position:absolute;left:0;top:0;right:0;bottom:0;box-sizing:border-box;margin:0;opacity:0;cursor:pointer;height:100%;}\", \".rh8pzaz{position:absolute;right:0;top:0;left:0;bottom:0;box-sizing:border-box;margin:0;opacity:0;cursor:pointer;height:100%;}\"]);\nconst useInputStyles = /*#__PURE__*/__styles({\n lowerHalf: {\n j35jbq: [\"ffenbu1\", \"f1ktbn1t\"]\n },\n upperHalf: {\n oyh7mz: [\"f1ktbn1t\", \"ffenbu1\"]\n }\n}, {\n d: [\".ffenbu1{right:50%;}\", \".f1ktbn1t{left:50%;}\"]\n});\nconst useIndicatorBaseClassName = /*#__PURE__*/__resetStyles(\"r1420l2m\", \"r1yt29v5\", [\".r1420l2m{display:flex;overflow:hidden;color:var(--colorNeutralForeground1);fill:currentColor;pointer-events:none;position:absolute;left:0;right:0;top:0;bottom:0;}\", \".r1yt29v5{display:flex;overflow:hidden;color:var(--colorNeutralForeground1);fill:currentColor;pointer-events:none;position:absolute;right:0;left:0;top:0;bottom:0;}\"]);\nconst useIndicatorStyles = /*#__PURE__*/__styles({\n lowerHalf: {\n j35jbq: [\"ffenbu1\", \"f1ktbn1t\"],\n uoufgc: \"f845r6v\",\n v39lw8: \"fstyxmg\",\n l5kjut: \"f1dcd8c6\"\n },\n upperHalf: {\n oyh7mz: [\"f1ktbn1t\", \"ffenbu1\"],\n Frg6f3: [\"fbm7ezh\", \"f3ev47i\"]\n },\n brand: {\n sj55zd: \"f16muhyy\"\n },\n marigold: {\n sj55zd: \"f1whvut0\"\n },\n filled: {\n sj55zd: \"f1qaymga\",\n ojy3ng: \"f13qq9og\",\n Bbusuzp: \"f1cg6951\",\n B6jmk37: \"f1am6ztc\"\n },\n brandFilled: {\n sj55zd: \"f1kdv6iu\"\n },\n marigoldFilled: {\n sj55zd: \"f1ymbmfq\"\n }\n}, {\n d: [\".ffenbu1{right:50%;}\", \".f1ktbn1t{left:50%;}\", \".f845r6v>svg{flex-grow:0;}\", \".fstyxmg>svg{flex-shrink:0;}\", \".f1dcd8c6>svg{flex-basis:auto;}\", \".fbm7ezh{margin-left:-50%;}\", \".f3ev47i{margin-right:-50%;}\", \".f16muhyy{color:var(--colorBrandForeground1);}\", \".f1whvut0{color:var(--colorPaletteMarigoldBorderActive);}\", \".f1qaymga{color:var(--colorNeutralBackground6);}\", \".f13qq9og{stroke:var(--colorTransparentStroke);}\", \".f1kdv6iu{color:var(--colorBrandBackground2);}\", \".f1ymbmfq{color:var(--colorPaletteMarigoldBackground2);}\"],\n m: [[\"@media (forced-colors: active){.f1cg6951{color:Canvas;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1am6ztc{stroke:CanvasText;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\n/**\n * Apply styling to the RatingItem slots based on the state\n */\nexport const useRatingItemStyles_unstable = state => {\n const {\n color,\n size,\n iconFillWidth,\n appearance\n } = state;\n const styles = useStyles();\n const inputBaseClassName = useInputBaseClassName();\n const inputStyles = useInputStyles();\n const indicatorBaseClassName = useIndicatorBaseClassName();\n const indicatorStyles = useIndicatorStyles();\n state.root.className = mergeClasses(ratingItemClassNames.root, styles.root, styles[size], state.root.className);\n if (state.halfValueInput) {\n state.halfValueInput.className = mergeClasses(ratingItemClassNames.halfValueInput, inputBaseClassName, inputStyles.lowerHalf, state.halfValueInput.className);\n }\n if (state.fullValueInput) {\n state.fullValueInput.className = mergeClasses(ratingItemClassNames.fullValueInput, inputBaseClassName, state.halfValueInput && inputStyles.upperHalf, state.fullValueInput.className);\n }\n if (state.unselectedIcon) {\n state.unselectedIcon.className = mergeClasses(ratingItemClassNames.unselectedIcon, indicatorBaseClassName, appearance === 'filled' && indicatorStyles.filled, color === 'brand' && (appearance === 'filled' ? indicatorStyles.brandFilled : indicatorStyles.brand), color === 'marigold' && (appearance === 'filled' ? indicatorStyles.marigoldFilled : indicatorStyles.marigold), iconFillWidth === 0.5 && indicatorStyles.upperHalf, state.unselectedIcon.className);\n }\n if (state.selectedIcon) {\n state.selectedIcon.className = mergeClasses(ratingItemClassNames.selectedIcon, indicatorBaseClassName, color === 'brand' && indicatorStyles.brand, color === 'marigold' && indicatorStyles.marigold, iconFillWidth === 0.5 && indicatorStyles.lowerHalf, state.selectedIcon.className);\n }\n return state;\n};\n//# sourceMappingURL=useRatingItemStyles.styles.js.map"],"names":["ratingItemClassNames","useRatingItemStyles_unstable","root","selectedIcon","unselectedIcon","halfValueInput","fullValueInput","useStyles","__styles","qhf8xq","Brovlpu","B486eqv","Bssx7fj","uh7if5","clntm0","Dlk2r6","Bm3wd5j","Bbrhkcr","f1oku","aywvf2","B2j2mmj","wigs8","pbfy6t","B0v4ure","ghq09","B24cy0v","Bwckmig","Bvwlmkc","Bbgo44z","Bil7v7r","skfxo0","jo1ztg","Ba3ybja","az1dzo","vppk2z","B6352mv","nr063g","Blmvk6g","Bsiemmq","B98u21t","B2pnrqr","B29w5g4","Bhhzhcn","Bec0n69","small","Be2twd7","a9b677","Bqenvij","medium","large","d","f","i","m","useInputBaseClassName","__resetStyles","useInputStyles","lowerHalf","j35jbq","upperHalf","oyh7mz","useIndicatorBaseClassName","useIndicatorStyles","uoufgc","v39lw8","l5kjut","Frg6f3","brand","sj55zd","marigold","filled","ojy3ng","Bbusuzp","B6jmk37","brandFilled","marigoldFilled","state","color","size","iconFillWidth","appearance","styles","inputBaseClassName","inputStyles","indicatorBaseClassName","indicatorStyles","className","mergeClasses"],"mappings":";;;;;;;;;;;IAGaA,oBAAoB;eAApBA;;IAoIAC,4BAA4B;eAA5BA;;;uBAvIqD;AAG3D,MAAMD,uBAAuB;IAClCE,MAAM;IACNC,cAAc;IACdC,gBAAgB;IAChBC,gBAAgB;IAChBC,gBAAgB;AAClB;AACA;;CAEC,GACD,MAAMC,YAAY,WAAW,GAAEC,IAAAA,eAAQ,EAAC;IACtCN,MAAM;QACJO,QAAQ;QACRC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,QAAQ;YAAC;YAAW;SAAU;QAC9BC,QAAQ;QACRC,QAAQ;YAAC;YAAW;SAAU;QAC9BC,SAAS;QACTC,SAAS;YAAC;YAAW;SAAW;QAChCC,OAAO;QACPC,QAAQ;YAAC;YAAY;SAAU;QAC/BC,SAAS;QACTC,OAAO;QACPC,QAAQ;QACRC,SAAS;QACTC,OAAO;QACPC,SAAS;YAAC;YAAY;SAAW;QACjCC,SAAS;QACTC,SAAS;YAAC;YAAY;SAAW;QACjCC,SAAS;QACTC,SAAS;YAAC;YAAW;SAAW;QAChCC,QAAQ;QACRC,QAAQ;YAAC;YAAY;SAAU;QAC/BC,SAAS;YAAC;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ffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport { createFocusOutlineStyle } from '@fluentui/react-tabster';\nexport const ratingItemClassNames = {\n root: 'fui-RatingItem',\n selectedIcon: 'fui-RatingItem__selectedIcon',\n unselectedIcon: 'fui-RatingItem__unselectedIcon',\n halfValueInput: 'fui-RatingItem__halfValueInput',\n fullValueInput: 'fui-RatingItem__fullValueInput'\n};\n/**\n * Styles for the root slot\n */\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n qhf8xq: \"f10pi13n\",\n Brovlpu: \"ftqa4ok\",\n B486eqv: \"f2hkw1w\",\n Bssx7fj: \"f1b1k54r\",\n uh7if5: [\"f4ne723\", \"fqqcjud\"],\n clntm0: \"fh7aioi\",\n Dlk2r6: [\"fqqcjud\", \"f4ne723\"],\n Bm3wd5j: \"f1k55ka9\",\n Bbrhkcr: [\"fgclinu\", \"f16pcs8n\"],\n f1oku: \"fycbxed\",\n aywvf2: [\"f16pcs8n\", \"fgclinu\"],\n B2j2mmj: \"ffht0p2\",\n wigs8: \"f1p0ul1q\",\n pbfy6t: \"f1c901ms\",\n B0v4ure: \"f1alokd7\",\n Byrf0fs: 0,\n Bsiemmq: 0,\n Bwckmig: 0,\n skfxo0: 0,\n Iidy0u: 0,\n B98u21t: 0,\n Bvwlmkc: 0,\n jo1ztg: 0,\n Ba1iezr: 0,\n Blmvk6g: 0,\n B24cy0v: 0,\n Bil7v7r: 0,\n Br3gin4: 0,\n nr063g: 0,\n ghq09: 0,\n Bbgo44z: 0,\n Bseh09z: \"fmj8fco\",\n az1dzo: 0,\n Ba3ybja: 0,\n B6352mv: 0,\n vppk2z: 0,\n Biaj6j7: \"f1iwowo3\",\n B2pnrqr: \"f1spmvte\",\n B29w5g4: [\"fgp7k2s\", \"f13pb23\"],\n Bhhzhcn: \"f1ihbrwi\",\n Bec0n69: [\"f13pb23\", \"fgp7k2s\"]\n },\n small: {\n Be2twd7: \"f1ugzwwg\",\n a9b677: \"frx94fk\",\n Bqenvij: \"fvblgha\"\n },\n medium: {\n Be2twd7: \"f4ybsrx\",\n a9b677: \"fjw5fx7\",\n Bqenvij: \"fd461yt\"\n },\n large: {\n Be2twd7: \"fe5j1ua\",\n a9b677: \"f64fuq3\",\n Bqenvij: \"fjamq6b\"\n },\n \"extra-large\": {\n Be2twd7: \"f24l1pt\",\n a9b677: \"f1w9dchk\",\n Bqenvij: \"fxldao9\"\n }\n}, {\n d: [\".f10pi13n{position:relative;}\", \".f1b1k54r[data-fui-focus-within]:focus-within{border-top-color:transparent;}\", \".f4ne723[data-fui-focus-within]:focus-within{border-right-color:transparent;}\", \".fqqcjud[data-fui-focus-within]:focus-within{border-left-color:transparent;}\", \".fh7aioi[data-fui-focus-within]:focus-within{border-bottom-color:transparent;}\", \".ffht0p2[data-fui-focus-within]:focus-within::after{content:\\\"\\\";}\", \".f1p0ul1q[data-fui-focus-within]:focus-within::after{position:absolute;}\", \".f1c901ms[data-fui-focus-within]:focus-within::after{pointer-events:none;}\", \".f1alokd7[data-fui-focus-within]:focus-within::after{z-index:1;}\", [\".fmj8fco[data-fui-focus-within]:focus-within::after{border:2px solid var(--colorStrokeFocus2);}\", {\n p: -2\n }], [\".f1iwowo3[data-fui-focus-within]:focus-within::after{border-radius:var(--borderRadiusMedium);}\", {\n p: -1\n }], \".f1spmvte[data-fui-focus-within]:focus-within::after{top:calc(2px * -1);}\", \".fgp7k2s[data-fui-focus-within]:focus-within::after{right:calc(2px * -1);}\", \".f13pb23[data-fui-focus-within]:focus-within::after{left:calc(2px * -1);}\", \".f1ihbrwi[data-fui-focus-within]:focus-within::after{bottom:calc(2px * -1);}\", \".f1ugzwwg{font-size:12px;}\", \".frx94fk{width:12px;}\", \".fvblgha{height:12px;}\", \".f4ybsrx{font-size:16px;}\", \".fjw5fx7{width:16px;}\", \".fd461yt{height:16px;}\", \".fe5j1ua{font-size:20px;}\", \".f64fuq3{width:20px;}\", \".fjamq6b{height:20px;}\", \".f24l1pt{font-size:28px;}\", \".f1w9dchk{width:28px;}\", \".fxldao9{height:28px;}\"],\n f: [\".ftqa4ok:focus{outline-style:none;}\"],\n i: [\".f2hkw1w:focus-visible{outline-style:none;}\"],\n m: [[\"@media (forced-colors: active){.f1k55ka9[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f16pcs8n[data-fui-focus-within]:focus-within::after{border-left-color:Highlight;}.fgclinu[data-fui-focus-within]:focus-within::after{border-right-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fycbxed[data-fui-focus-within]:focus-within::after{border-bottom-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useInputBaseClassName = /*#__PURE__*/__resetStyles(\"r1qfsv1p\", \"rh8pzaz\", [\".r1qfsv1p{position:absolute;left:0;top:0;right:0;bottom:0;box-sizing:border-box;margin:0;opacity:0;cursor:pointer;height:100%;}\", \".rh8pzaz{position:absolute;right:0;top:0;left:0;bottom:0;box-sizing:border-box;margin:0;opacity:0;cursor:pointer;height:100%;}\"]);\nconst useInputStyles = /*#__PURE__*/__styles({\n lowerHalf: {\n j35jbq: [\"ffenbu1\", \"f1ktbn1t\"]\n },\n upperHalf: {\n oyh7mz: [\"f1ktbn1t\", \"ffenbu1\"]\n }\n}, {\n d: [\".ffenbu1{right:50%;}\", \".f1ktbn1t{left:50%;}\"]\n});\nconst useIndicatorBaseClassName = /*#__PURE__*/__resetStyles(\"r1420l2m\", \"r1yt29v5\", [\".r1420l2m{display:flex;overflow:hidden;color:var(--colorNeutralForeground1);fill:currentColor;pointer-events:none;position:absolute;left:0;right:0;top:0;bottom:0;}\", \".r1yt29v5{display:flex;overflow:hidden;color:var(--colorNeutralForeground1);fill:currentColor;pointer-events:none;position:absolute;right:0;left:0;top:0;bottom:0;}\"]);\nconst useIndicatorStyles = /*#__PURE__*/__styles({\n lowerHalf: {\n j35jbq: [\"ffenbu1\", \"f1ktbn1t\"],\n l5kjut: 0,\n uoufgc: 0,\n v39lw8: 0,\n Bbwb3tu: \"f10jwh99\"\n },\n upperHalf: {\n oyh7mz: [\"f1ktbn1t\", \"ffenbu1\"],\n Frg6f3: [\"fbm7ezh\", \"f3ev47i\"]\n },\n brand: {\n sj55zd: \"f16muhyy\"\n },\n marigold: {\n sj55zd: \"f1whvut0\"\n },\n filled: {\n sj55zd: \"f1qaymga\",\n ojy3ng: \"f13qq9og\",\n Bbusuzp: \"f1cg6951\",\n B6jmk37: \"f1am6ztc\"\n },\n brandFilled: {\n sj55zd: \"f1kdv6iu\"\n },\n marigoldFilled: {\n sj55zd: \"f1ymbmfq\"\n }\n}, {\n d: [\".ffenbu1{right:50%;}\", \".f1ktbn1t{left:50%;}\", [\".f10jwh99>svg{flex:0 0 auto;}\", {\n p: -1\n }], \".fbm7ezh{margin-left:-50%;}\", \".f3ev47i{margin-right:-50%;}\", \".f16muhyy{color:var(--colorBrandForeground1);}\", \".f1whvut0{color:var(--colorPaletteMarigoldBorderActive);}\", \".f1qaymga{color:var(--colorNeutralBackground6);}\", \".f13qq9og{stroke:var(--colorTransparentStroke);}\", \".f1kdv6iu{color:var(--colorBrandBackground2);}\", \".f1ymbmfq{color:var(--colorPaletteMarigoldBackground2);}\"],\n m: [[\"@media (forced-colors: active){.f1cg6951{color:Canvas;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1am6ztc{stroke:CanvasText;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\n/**\n * Apply styling to the RatingItem slots based on the state\n */\nexport const useRatingItemStyles_unstable = state => {\n const {\n color,\n size,\n iconFillWidth,\n appearance\n } = state;\n const styles = useStyles();\n const inputBaseClassName = useInputBaseClassName();\n const inputStyles = useInputStyles();\n const indicatorBaseClassName = useIndicatorBaseClassName();\n const indicatorStyles = useIndicatorStyles();\n state.root.className = mergeClasses(ratingItemClassNames.root, styles.root, styles[size], state.root.className);\n if (state.halfValueInput) {\n state.halfValueInput.className = mergeClasses(ratingItemClassNames.halfValueInput, inputBaseClassName, inputStyles.lowerHalf, state.halfValueInput.className);\n }\n if (state.fullValueInput) {\n state.fullValueInput.className = mergeClasses(ratingItemClassNames.fullValueInput, inputBaseClassName, state.halfValueInput && inputStyles.upperHalf, state.fullValueInput.className);\n }\n if (state.unselectedIcon) {\n state.unselectedIcon.className = mergeClasses(ratingItemClassNames.unselectedIcon, indicatorBaseClassName, appearance === 'filled' && indicatorStyles.filled, color === 'brand' && (appearance === 'filled' ? indicatorStyles.brandFilled : indicatorStyles.brand), color === 'marigold' && (appearance === 'filled' ? indicatorStyles.marigoldFilled : indicatorStyles.marigold), iconFillWidth === 0.5 && indicatorStyles.upperHalf, state.unselectedIcon.className);\n }\n if (state.selectedIcon) {\n state.selectedIcon.className = mergeClasses(ratingItemClassNames.selectedIcon, indicatorBaseClassName, color === 'brand' && indicatorStyles.brand, color === 'marigold' && indicatorStyles.marigold, iconFillWidth === 0.5 && indicatorStyles.lowerHalf, state.selectedIcon.className);\n }\n return state;\n};\n//# sourceMappingURL=useRatingItemStyles.styles.js.map"],"names":["ratingItemClassNames","useRatingItemStyles_unstable","root","selectedIcon","unselectedIcon","halfValueInput","fullValueInput","useStyles","__styles","qhf8xq","Brovlpu","B486eqv","Bssx7fj","uh7if5","clntm0","Dlk2r6","Bm3wd5j","Bbrhkcr","f1oku","aywvf2","B2j2mmj","wigs8","pbfy6t","B0v4ure","Byrf0fs","Bsiemmq","Bwckmig","skfxo0","Iidy0u","B98u21t","Bvwlmkc","jo1ztg","Ba1iezr","Blmvk6g","B24cy0v","Bil7v7r","Br3gin4","nr063g","ghq09","Bbgo44z","Bseh09z","az1dzo","Ba3ybja","B6352mv","vppk2z","Biaj6j7","B2pnrqr","B29w5g4","Bhhzhcn","Bec0n69","small","Be2twd7","a9b677","Bqenvij","medium","large","d","p","f","i","m","useInputBaseClassName","__resetStyles","useInputStyles","lowerHalf","j35jbq","upperHalf","oyh7mz","useIndicatorBaseClassName","useIndicatorStyles","l5kjut","uoufgc","v39lw8","Bbwb3tu","Frg6f3","brand","sj55zd","marigold","filled","ojy3ng","Bbusuzp","B6jmk37","brandFilled","marigoldFilled","state","color","size","iconFillWidth","appearance","styles","inputBaseClassName","inputStyles","indicatorBaseClassName","indicatorStyles","className","mergeClasses"],"mappings":";;;;;;;;;;;IAGaA,oBAAoB;eAApBA;;IAiJAC,4BAA4B;eAA5BA;;;uBApJyC;AAG/C,MAAMD,uBAAuB;IAClCE,MAAM;IACNC,cAAc;IACdC,gBAAgB;IAChBC,gBAAgB;IAChBC,gBAAgB;AAClB;AACA;;CAEC,GACD,MAAMC,YAAY,WAAW,GAAEC,IAAAA,eAAQ,EAAC;IACtCN,MAAM;QACJO,QAAQ;QACRC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,QAAQ;YAAC;YAAW;SAAU;QAC9BC,QAAQ;QACRC,QAAQ;YAAC;YAAW;SAAU;QAC9BC,SAAS;QACTC,SAAS;YAAC;YAAW;SAAW;QAChCC,OAAO;QACPC,QAAQ;YAAC;YAAY;SAAU;QAC/BC,SAAS;QACTC,OAAO;QACPC,QAAQ;QACRC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,QAAQ;QACRC,QAAQ;QACRC,SAAS;QACTC,SAAS;QACTC,QAAQ;QACRC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,QAAQ;QACRC,OAAO;QACPC,SAAS;QACTC,SAAS;QACTC,QAAQ;QACRC,SAAS;QACTC,SAAS;QACTC,QAAQ;QACRC,SAAS;QACTC,SAAS;QACTC,SAAS;YAAC;YAAW;SAAU;QAC/BC,SAAS;QACTC,SAAS;YAAC;YAAW;SAAU;IACjC;IACAC,OAAO;QACLC,SAAS;QACTC,QAAQ;QACRC,SAAS;IACX;IACAC,QAAQ;QACNH,SAAS;QACTC,QAAQ;QACRC,SAAS;IACX;IACAE,OAAO;QACLJ,SAAS;QACTC,QAAQ;QACRC,SAAS;IACX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L;IACA,IAAIV,MAAMhF,cAAc,EAAE;QACxBgF,MAAMhF,cAAc,CAAC0F,SAAS,GAAGC,IAAAA,mBAAY,EAAC/F,qBAAqBI,cAAc,EAAEwF,wBAAwBJ,eAAe,YAAYK,gBAAgBf,MAAM,EAAEO,UAAU,WAAYG,CAAAA,eAAe,WAAWK,gBAAgBX,WAAW,GAAGW,gBAAgBlB,KAAK,AAAD,GAAIU,UAAU,cAAeG,CAAAA,eAAe,WAAWK,gBAAgBV,cAAc,GAAGU,gBAAgBhB,QAAQ,AAAD,GAAIU,kBAAkB,OAAOM,gBAAgB3B,SAAS,EAAEkB,MAAMhF,cAAc,CAAC0F,SAAS;IACvc;IACA,IAAIV,MAAMjF,YAAY,EAAE;QACtBiF,MAAMjF,YAAY,CAAC2F,SAAS,GAAGC,IAAAA,mBAAY,EAAC/F,qBAAqBG,YAAY,EAAEyF,wBAAwBP,UAAU,WAAWQ,gBAAgBlB,KAAK,EAAEU,UAAU,cAAcQ,gBAAgBhB,QAAQ,EAAEU,kBAAkB,OAAOM,gBAAgB7B,SAAS,EAAEoB,MAAMjF,YAAY,CAAC2F,SAAS;IACvR;IACA,OAAOV;AACT,GACA,sDAAsD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-rating",
3
- "version": "9.0.9",
3
+ "version": "9.0.10",
4
4
  "description": "Rating component for building web experiences",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -33,7 +33,7 @@
33
33
  "@fluentui/react-jsx-runtime": "^9.0.38",
34
34
  "@fluentui/react-icons": "^2.0.239",
35
35
  "@fluentui/react-theme": "^9.1.19",
36
- "@fluentui/react-tabster": "^9.21.3",
36
+ "@fluentui/react-tabster": "^9.21.4",
37
37
  "@fluentui/react-utilities": "^9.18.9",
38
38
  "@griffel/react": "^1.5.22",
39
39
  "@swc/helpers": "^0.5.1"