@fluentui-copilot/react-response-count 0.2.14 → 0.2.16
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.json +52 -1
- package/CHANGELOG.md +21 -2
- package/lib/components/ResponseCount/useResponseCountStyles.styles.js +4 -4
- package/lib/components/ResponseCount/useResponseCountStyles.styles.js.map +1 -1
- package/lib-commonjs/components/ResponseCount/useResponseCountStyles.styles.js +2 -2
- package/lib-commonjs/components/ResponseCount/useResponseCountStyles.styles.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,58 @@
|
|
|
2
2
|
"name": "@fluentui-copilot/react-response-count",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Tue, 01 Jul 2025 14:43:47 GMT",
|
|
6
|
+
"tag": "@fluentui-copilot/react-response-count_v0.2.16",
|
|
7
|
+
"version": "0.2.16",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "jiangemma@microsoft.com",
|
|
12
|
+
"package": "@fluentui-copilot/react-response-count",
|
|
13
|
+
"commit": "93c39ced303a2ffdb20764a1d1a1595a12b4ae27",
|
|
14
|
+
"comment": "chore: Bump v9 to 9.66.0 dependency deduplication followup"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "jiangemma@microsoft.com",
|
|
18
|
+
"package": "@fluentui-copilot/react-response-count",
|
|
19
|
+
"commit": "c9607d83ec7c4f592e563a391e0e7fa87af24929",
|
|
20
|
+
"comment": "Bump v9 to ^9.66.0"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"date": "Thu, 12 Jun 2025 17:50:58 GMT",
|
|
27
|
+
"tag": "@fluentui-copilot/react-response-count_v0.2.15",
|
|
28
|
+
"version": "0.2.15",
|
|
29
|
+
"comments": {
|
|
30
|
+
"patch": [
|
|
31
|
+
{
|
|
32
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
|
33
|
+
"package": "@fluentui-copilot/react-response-count",
|
|
34
|
+
"commit": "53a6e5419e6170dea520ebec933d347ce0bedb60",
|
|
35
|
+
"comment": "chore: Update typographyStyles import to use @fluentui-copilot/tokens instead of @fluentui/react-components"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"date": "Mon, 19 May 2025 18:04:28 GMT",
|
|
42
|
+
"tag": "@fluentui-copilot/react-response-count_v0.2.14",
|
|
43
|
+
"version": "0.2.14",
|
|
44
|
+
"comments": {
|
|
45
|
+
"none": [
|
|
46
|
+
{
|
|
47
|
+
"author": "hochelmartin@gmail.com",
|
|
48
|
+
"package": "@fluentui-copilot/react-response-count",
|
|
49
|
+
"commit": "442954951d0eca92de20ecb0ff0fa9492431b62d",
|
|
50
|
+
"comment": "fix: exclude story files from production build"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"date": "Sat, 03 May 2025 01:27:45 GMT",
|
|
6
57
|
"tag": "@fluentui-copilot/react-response-count_v0.2.14",
|
|
7
58
|
"version": "0.2.14",
|
|
8
59
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,31 @@
|
|
|
1
1
|
# Change Log - @fluentui-copilot/react-response-count
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 01 Jul 2025 14:43:47 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [0.2.16](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-response-count_v0.2.16)
|
|
8
|
+
|
|
9
|
+
Tue, 01 Jul 2025 14:43:47 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentai/compare/@fluentui-copilot/react-response-count_v0.2.15..@fluentui-copilot/react-response-count_v0.2.16)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- chore: Bump v9 to 9.66.0 dependency deduplication followup ([PR #3176](https://github.com/microsoft/fluentai/pull/3176) by jiangemma@microsoft.com)
|
|
15
|
+
- Bump v9 to ^9.66.0 ([PR #3169](https://github.com/microsoft/fluentai/pull/3169) by jiangemma@microsoft.com)
|
|
16
|
+
|
|
17
|
+
## [0.2.15](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-response-count_v0.2.15)
|
|
18
|
+
|
|
19
|
+
Thu, 12 Jun 2025 17:50:58 GMT
|
|
20
|
+
[Compare changes](https://github.com/microsoft/fluentai/compare/@fluentui-copilot/react-response-count_v0.2.14..@fluentui-copilot/react-response-count_v0.2.15)
|
|
21
|
+
|
|
22
|
+
### Patches
|
|
23
|
+
|
|
24
|
+
- chore: Update typographyStyles import to use @fluentui-copilot/tokens instead of @fluentui/react-components ([PR #3125](https://github.com/microsoft/fluentai/pull/3125) by Humberto.Morimoto@microsoft.com)
|
|
25
|
+
|
|
7
26
|
## [0.2.14](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-response-count_v0.2.14)
|
|
8
27
|
|
|
9
|
-
Sat, 03 May 2025 01:
|
|
28
|
+
Sat, 03 May 2025 01:27:45 GMT
|
|
10
29
|
[Compare changes](https://github.com/microsoft/fluentai/compare/@fluentui-copilot/react-response-count_v0.2.13..@fluentui-copilot/react-response-count_v0.2.14)
|
|
11
30
|
|
|
12
31
|
### Patches
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __styles, mergeClasses
|
|
2
|
-
import { tokens } from '@fluentui-copilot/tokens';
|
|
1
|
+
import { __styles, mergeClasses } from '@fluentui/react-components';
|
|
2
|
+
import { tokens, typographyStyles } from '@fluentui-copilot/tokens';
|
|
3
3
|
export const responseCountClassNames = {
|
|
4
4
|
root: 'fai-ResponseCount',
|
|
5
5
|
indicator: 'fai-ResponseCount__indicator'
|
|
@@ -18,7 +18,7 @@ const useStyles = __styles({
|
|
|
18
18
|
Bahqtrf: "fk6fouc",
|
|
19
19
|
Be2twd7: "f13mqy1h",
|
|
20
20
|
Bhrd7zp: "figsok6",
|
|
21
|
-
Bg96gwp: "
|
|
21
|
+
Bg96gwp: "fwrc4pm",
|
|
22
22
|
sj55zd: "fxc4j92"
|
|
23
23
|
},
|
|
24
24
|
indicator: {
|
|
@@ -43,7 +43,7 @@ const useStyles = __styles({
|
|
|
43
43
|
}, {
|
|
44
44
|
d: [".ftuwxu6{display:inline-flex;}", ".f1063pyq{flex-direction:row;}", ".f122n59{align-items:center;}", [".fkln5zr{gap:var(--spacingHorizontalXS);}", {
|
|
45
45
|
p: -1
|
|
46
|
-
}], ".fk6fouc{font-family:var(--fontFamilyBase);}", ".f13mqy1h{font-size:var(--fontSizeBase100);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".
|
|
46
|
+
}], ".fk6fouc{font-family:var(--fontFamilyBase);}", ".f13mqy1h{font-size:var(--fontSizeBase100);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}", ".fxc4j92{color:var(--colorNeutralForeground4);}", ".f14t3ns0{display:inline-block;}", ".f1o3cbw4{width:8px;}", ".f1x82gua{height:8px;}", [".f5q2cvs{border-radius:50%;}", {
|
|
47
47
|
p: -1
|
|
48
48
|
}], ".f1l9zcvb{background-color:var(--colorStatusSuccessForeground3);}", ".f1w7p0oj{background-color:var(--colorStatusWarningForeground2);}", ".fms76vi{background-color:var(--colorStatusDangerForeground3);}"]
|
|
49
49
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["useResponseCountStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses
|
|
1
|
+
{"version":3,"sources":["useResponseCountStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses } from '@fluentui/react-components';\nimport { tokens, typographyStyles } from '@fluentui-copilot/tokens';\nimport type { ResponseCountSlots, ResponseCountState } from './ResponseCount.types';\nimport type { SlotClassNames } from '@fluentui/react-components';\n\nexport const responseCountClassNames: SlotClassNames<ResponseCountSlots> = {\n root: 'fai-ResponseCount',\n indicator: 'fai-ResponseCount__indicator',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n display: 'inline-flex',\n flexDirection: 'row',\n alignItems: 'center',\n gap: tokens.spacingHorizontalXS,\n ...typographyStyles.caption2,\n color: tokens.colorNeutralForeground4,\n },\n indicator: {\n display: 'inline-block',\n width: '8px',\n height: '8px',\n borderRadius: '50%',\n },\n success: {\n backgroundColor: tokens.colorStatusSuccessForeground3,\n },\n warning: {\n backgroundColor: tokens.colorStatusWarningForeground2,\n },\n danger: {\n backgroundColor: tokens.colorStatusDangerForeground3,\n },\n});\n\n/**\n * Apply styling to the ResponseCount slots based on the state\n */\nexport const useResponseCountStyles_unstable = (state: ResponseCountState): ResponseCountState => {\n 'use no memo';\n\n const styles = useStyles();\n state.root.className = mergeClasses(responseCountClassNames.root, styles.root, state.root.className);\n\n if (state.indicator) {\n state.indicator.className = mergeClasses(\n responseCountClassNames.indicator,\n styles.indicator,\n styles[state.status],\n state.indicator.className,\n );\n }\n\n return state;\n};\n"],"names":["makeStyles","mergeClasses","tokens","typographyStyles","responseCountClassNames","root","indicator","useStyles","display","flexDirection","alignItems","gap","spacingHorizontalXS","caption2","color","colorNeutralForeground4","width","height","borderRadius","success","backgroundColor","colorStatusSuccessForeground3","warning","colorStatusWarningForeground2","danger","colorStatusDangerForeground3","useResponseCountStyles_unstable","state","styles","className","status"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,SAASA,UAAU,EAAEC,YAAY,QAAQ,6BAA6B;AACtE,SAASC,MAAM,EAAEC,gBAAgB,QAAQ,2BAA2B;AAIpE,OAAO,MAAMC,0BAA8D;IACzEC,MAAM;IACNC,WAAW;AACb,EAAE;AAEF;;CAEC,GACD,MAAMC,YAAYP,WAAW;IAC3BK,MAAM;QACJG,SAAS;QACTC,eAAe;QACfC,YAAY;QACZC,KAAKT,OAAOU,mBAAmB;QAC/B,GAAGT,iBAAiBU,QAAQ;QAC5BC,OAAOZ,OAAOa,uBAAuB;IACvC;IACAT,WAAW;QACTE,SAAS;QACTQ,OAAO;QACPC,QAAQ;QACRC,cAAc;IAChB;IACAC,SAAS;QACPC,iBAAiBlB,OAAOmB,6BAA6B;IACvD;IACAC,SAAS;QACPF,iBAAiBlB,OAAOqB,6BAA6B;IACvD;IACAC,QAAQ;QACNJ,iBAAiBlB,OAAOuB,4BAA4B;IACtD;AACF;AAEA;;CAEC,GACD,OAAO,MAAMC,kCAAkC,CAACC;IAC9C;IAEA,MAAMC,SAASrB;IACfoB,MAAMtB,IAAI,CAACwB,SAAS,GAAG5B,aAAaG,wBAAwBC,IAAI,EAAEuB,OAAOvB,IAAI,EAAEsB,MAAMtB,IAAI,CAACwB,SAAS;IAEnG,IAAIF,MAAMrB,SAAS,EAAE;QACnBqB,MAAMrB,SAAS,CAACuB,SAAS,GAAG5B,aAC1BG,wBAAwBE,SAAS,EACjCsB,OAAOtB,SAAS,EAChBsB,MAAM,CAACD,MAAMG,MAAM,CAAC,EACpBH,MAAMrB,SAAS,CAACuB,SAAS;IAE7B;IAEA,OAAOF;AACT,EAAE"}
|
|
@@ -34,7 +34,7 @@ const responseCountClassNames = {
|
|
|
34
34
|
Bahqtrf: "fk6fouc",
|
|
35
35
|
Be2twd7: "f13mqy1h",
|
|
36
36
|
Bhrd7zp: "figsok6",
|
|
37
|
-
Bg96gwp: "
|
|
37
|
+
Bg96gwp: "fwrc4pm",
|
|
38
38
|
sj55zd: "fxc4j92"
|
|
39
39
|
},
|
|
40
40
|
indicator: {
|
|
@@ -70,7 +70,7 @@ const responseCountClassNames = {
|
|
|
70
70
|
".fk6fouc{font-family:var(--fontFamilyBase);}",
|
|
71
71
|
".f13mqy1h{font-size:var(--fontSizeBase100);}",
|
|
72
72
|
".figsok6{font-weight:var(--fontWeightRegular);}",
|
|
73
|
-
".
|
|
73
|
+
".fwrc4pm{line-height:var(--lineHeightBase200);}",
|
|
74
74
|
".fxc4j92{color:var(--colorNeutralForeground4);}",
|
|
75
75
|
".f14t3ns0{display:inline-block;}",
|
|
76
76
|
".f1o3cbw4{width:8px;}",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["useResponseCountStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses
|
|
1
|
+
{"version":3,"sources":["useResponseCountStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses } from '@fluentui/react-components';\nimport { tokens, typographyStyles } from '@fluentui-copilot/tokens';\nimport type { ResponseCountSlots, ResponseCountState } from './ResponseCount.types';\nimport type { SlotClassNames } from '@fluentui/react-components';\n\nexport const responseCountClassNames: SlotClassNames<ResponseCountSlots> = {\n root: 'fai-ResponseCount',\n indicator: 'fai-ResponseCount__indicator',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n display: 'inline-flex',\n flexDirection: 'row',\n alignItems: 'center',\n gap: tokens.spacingHorizontalXS,\n ...typographyStyles.caption2,\n color: tokens.colorNeutralForeground4,\n },\n indicator: {\n display: 'inline-block',\n width: '8px',\n height: '8px',\n borderRadius: '50%',\n },\n success: {\n backgroundColor: tokens.colorStatusSuccessForeground3,\n },\n warning: {\n backgroundColor: tokens.colorStatusWarningForeground2,\n },\n danger: {\n backgroundColor: tokens.colorStatusDangerForeground3,\n },\n});\n\n/**\n * Apply styling to the ResponseCount slots based on the state\n */\nexport const useResponseCountStyles_unstable = (state: ResponseCountState): ResponseCountState => {\n 'use no memo';\n\n const styles = useStyles();\n state.root.className = mergeClasses(responseCountClassNames.root, styles.root, state.root.className);\n\n if (state.indicator) {\n state.indicator.className = mergeClasses(\n responseCountClassNames.indicator,\n styles.indicator,\n styles[state.status],\n state.indicator.className,\n );\n }\n\n return state;\n};\n"],"names":["responseCountClassNames","root","indicator","__styles","display","flexDirection","alignItems","tokens","typographyStyles","color","rmohyg","width","height","borderRadius","backgroundColor","a9b677","warning","Bbmb7ep","danger","Dimara","success","De3pzq","styles","state","d"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,uBAAAA;eAAAA;;;;;;iCALoB;AAK1B,MAAMA,0BAA8D;UACzEC;eACAC;AACF;AAEA;;CAEC,SAECD,YAAME,IAAAA,yBAAA,EAAA;UACJC;gBACAC;iBACAC;iBACKC;gBACFC;iBACHC;QACFC,QAAA;QACAR,SAAAA;iBACEE;iBACAO;iBACAC;gBACAC;;eAEO;gBACPC;QACFC,QAAA;QACAC,SAAS;iBACPF;QACFG,SAAA;QACAC,SAAQ;iBACNJ;QACFK,QAAA;IACF;IAEAC,SAAA;;IAEC;aAEC;QAEAC,QAAMC;;YAGFC;gBACFA;;;IASFC,GAAA;QAAA;QAAA;QAAA;QAAA;YAAA;YAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-copilot/react-response-count",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.16",
|
|
4
4
|
"description": "Fluent AI control for displaying the number of responses and the remaining response count",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"@swc/helpers": "^0.5.1"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@fluentui/react-components": ">=9.
|
|
20
|
-
"@fluentui/react-jsx-runtime": ">=9.
|
|
19
|
+
"@fluentui/react-components": ">=9.66.0 <10.0.0",
|
|
20
|
+
"@fluentui/react-jsx-runtime": ">=9.1.1 <10.0.0",
|
|
21
21
|
"@types/react": ">=16.14.0 <19.0.0",
|
|
22
22
|
"@types/react-dom": ">=16.9.8 <19.0.0",
|
|
23
23
|
"react": ">=16.14.0 <19.0.0",
|