@fluentui-copilot/react-response-count 0.2.13 → 0.2.14-hotfix.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.json CHANGED
@@ -2,7 +2,52 @@
2
2
  "name": "@fluentui-copilot/react-response-count",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 30 Apr 2025 01:46:04 GMT",
5
+ "date": "Fri, 19 Sep 2025 15:10:20 GMT",
6
+ "tag": "@fluentui-copilot/react-response-count_v0.2.14-hotfix.2",
7
+ "version": "0.2.14-hotfix.2",
8
+ "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "hochelmartin@gmail.com",
12
+ "package": "@fluentui-copilot/react-response-count",
13
+ "commit": "3e4ebe676646c4c4346dbbab83511f963ffefd85",
14
+ "comment": "release: prepare hotfix 0.26.2-hotfix.2"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Mon, 19 May 2025 18:04:28 GMT",
21
+ "tag": "@fluentui-copilot/react-response-count_v0.2.14",
22
+ "version": "0.2.14",
23
+ "comments": {
24
+ "none": [
25
+ {
26
+ "author": "hochelmartin@gmail.com",
27
+ "package": "@fluentui-copilot/react-response-count",
28
+ "commit": "442954951d0eca92de20ecb0ff0fa9492431b62d",
29
+ "comment": "fix: exclude story files from production build"
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ {
35
+ "date": "Sat, 03 May 2025 01:27:45 GMT",
36
+ "tag": "@fluentui-copilot/react-response-count_v0.2.14",
37
+ "version": "0.2.14",
38
+ "comments": {
39
+ "patch": [
40
+ {
41
+ "author": "estebanmu@microsoft.com",
42
+ "package": "@fluentui-copilot/react-response-count",
43
+ "commit": "3dc05bb66ec473691f198f65b5124cc24390f47c",
44
+ "comment": "chore: Bump @fluentui/react-components to 9.63.0."
45
+ }
46
+ ]
47
+ }
48
+ },
49
+ {
50
+ "date": "Wed, 30 Apr 2025 01:47:49 GMT",
6
51
  "tag": "@fluentui-copilot/react-response-count_v0.2.13",
7
52
  "version": "0.2.13",
8
53
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,30 @@
1
1
  # Change Log - @fluentui-copilot/react-response-count
2
2
 
3
- This log was last generated on Wed, 30 Apr 2025 01:46:04 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 19 Sep 2025 15:10:20 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [0.2.14-hotfix.2](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-response-count_v0.2.14-hotfix.2)
8
+
9
+ Fri, 19 Sep 2025 15:10:20 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentai/compare/@fluentui-copilot/react-response-count_v0.2.14..@fluentui-copilot/react-response-count_v0.2.14-hotfix.2)
11
+
12
+ ### Changes
13
+
14
+ - release: prepare hotfix 0.26.2-hotfix.2 ([PR #3284](https://github.com/microsoft/fluentai/pull/3284) by hochelmartin@gmail.com)
15
+
16
+ ## [0.2.14](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-response-count_v0.2.14)
17
+
18
+ Sat, 03 May 2025 01:27:45 GMT
19
+ [Compare changes](https://github.com/microsoft/fluentai/compare/@fluentui-copilot/react-response-count_v0.2.13..@fluentui-copilot/react-response-count_v0.2.14)
20
+
21
+ ### Patches
22
+
23
+ - chore: Bump @fluentui/react-components to 9.63.0. ([PR #2917](https://github.com/microsoft/fluentai/pull/2917) by estebanmu@microsoft.com)
24
+
7
25
  ## [0.2.13](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-response-count_v0.2.13)
8
26
 
9
- Wed, 30 Apr 2025 01:46:04 GMT
27
+ Wed, 30 Apr 2025 01:47:49 GMT
10
28
  [Compare changes](https://github.com/microsoft/fluentai/compare/@fluentui-copilot/react-response-count_v0.2.8..@fluentui-copilot/react-response-count_v0.2.13)
11
29
 
12
30
  ### Patches
@@ -0,0 +1,48 @@
1
+ import { makeStyles, mergeClasses, typographyStyles } from '@fluentui/react-components';
2
+ import { tokens } from '@fluentui-copilot/tokens';
3
+ export const responseCountClassNames = {
4
+ root: 'fai-ResponseCount',
5
+ indicator: 'fai-ResponseCount__indicator'
6
+ };
7
+ /**
8
+ * Styles for the root slot
9
+ */
10
+ const useStyles = makeStyles({
11
+ root: {
12
+ display: 'inline-flex',
13
+ flexDirection: 'row',
14
+ alignItems: 'center',
15
+ gap: tokens.spacingHorizontalXS,
16
+ ...typographyStyles.caption2,
17
+ color: tokens.colorNeutralForeground4
18
+ },
19
+ indicator: {
20
+ display: 'inline-block',
21
+ width: '8px',
22
+ height: '8px',
23
+ borderRadius: '50%'
24
+ },
25
+ success: {
26
+ backgroundColor: tokens.colorStatusSuccessForeground3
27
+ },
28
+ warning: {
29
+ backgroundColor: tokens.colorStatusWarningForeground2
30
+ },
31
+ danger: {
32
+ backgroundColor: tokens.colorStatusDangerForeground3
33
+ }
34
+ });
35
+ /**
36
+ * Apply styling to the ResponseCount slots based on the state
37
+ */
38
+ export const useResponseCountStyles_unstable = state => {
39
+ 'use no memo';
40
+
41
+ const styles = useStyles();
42
+ state.root.className = mergeClasses(responseCountClassNames.root, styles.root, state.root.className);
43
+ if (state.indicator) {
44
+ state.indicator.className = mergeClasses(responseCountClassNames.indicator, styles.indicator, styles[state.status], state.indicator.className);
45
+ }
46
+ return state;
47
+ };
48
+ //# sourceMappingURL=useResponseCountStyles.styles.raw.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["useResponseCountStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses, typographyStyles } from '@fluentui/react-components';\nimport { tokens } 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","typographyStyles","tokens","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,EAAEC,gBAAgB,QAAQ,6BAA6B;AACxF,SAASC,MAAM,QAAQ,2BAA2B;AAIlD,OAAO,MAAMC,0BAA8D;IACzEC,MAAM;IACNC,WAAW;AACb,EAAE;AAEF;;CAEC,GACD,MAAMC,YAAYP,WAAW;IAC3BK,MAAM;QACJG,SAAS;QACTC,eAAe;QACfC,YAAY;QACZC,KAAKR,OAAOS,mBAAmB;QAC/B,GAAGV,iBAAiBW,QAAQ;QAC5BC,OAAOX,OAAOY,uBAAuB;IACvC;IACAT,WAAW;QACTE,SAAS;QACTQ,OAAO;QACPC,QAAQ;QACRC,cAAc;IAChB;IACAC,SAAS;QACPC,iBAAiBjB,OAAOkB,6BAA6B;IACvD;IACAC,SAAS;QACPF,iBAAiBjB,OAAOoB,6BAA6B;IACvD;IACAC,QAAQ;QACNJ,iBAAiBjB,OAAOsB,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"}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ responseCountClassNames: function() {
13
+ return responseCountClassNames;
14
+ },
15
+ useResponseCountStyles_unstable: function() {
16
+ return useResponseCountStyles_unstable;
17
+ }
18
+ });
19
+ const _reactcomponents = require("@fluentui/react-components");
20
+ const _tokens = require("@fluentui-copilot/tokens");
21
+ const responseCountClassNames = {
22
+ root: 'fai-ResponseCount',
23
+ indicator: 'fai-ResponseCount__indicator'
24
+ };
25
+ /**
26
+ * Styles for the root slot
27
+ */ const useStyles = (0, _reactcomponents.makeStyles)({
28
+ root: {
29
+ display: 'inline-flex',
30
+ flexDirection: 'row',
31
+ alignItems: 'center',
32
+ gap: _tokens.tokens.spacingHorizontalXS,
33
+ ..._reactcomponents.typographyStyles.caption2,
34
+ color: _tokens.tokens.colorNeutralForeground4
35
+ },
36
+ indicator: {
37
+ display: 'inline-block',
38
+ width: '8px',
39
+ height: '8px',
40
+ borderRadius: '50%'
41
+ },
42
+ success: {
43
+ backgroundColor: _tokens.tokens.colorStatusSuccessForeground3
44
+ },
45
+ warning: {
46
+ backgroundColor: _tokens.tokens.colorStatusWarningForeground2
47
+ },
48
+ danger: {
49
+ backgroundColor: _tokens.tokens.colorStatusDangerForeground3
50
+ }
51
+ });
52
+ const useResponseCountStyles_unstable = (state)=>{
53
+ 'use no memo';
54
+ const styles = useStyles();
55
+ state.root.className = (0, _reactcomponents.mergeClasses)(responseCountClassNames.root, styles.root, state.root.className);
56
+ if (state.indicator) {
57
+ state.indicator.className = (0, _reactcomponents.mergeClasses)(responseCountClassNames.indicator, styles.indicator, styles[state.status], state.indicator.className);
58
+ }
59
+ return state;
60
+ }; //# sourceMappingURL=useResponseCountStyles.styles.raw.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["useResponseCountStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses, typographyStyles } from '@fluentui/react-components';\nimport { tokens } 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","styles","useStyles","root","indicator","makeStyles","display","flexDirection","alignItems","tokens","typographyStyles","caption2","colorNeutralForeground4","color","width","height","borderRadius","backgroundColor","colorStatusSuccessForeground3","colorStatusWarningForeground2","colorStatusDangerForeground3","state","className","mergeClasses","status"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,uBAAAA;eAAAA;;IAwCLC,+BAASC;eAATD;;;iCA7CmD;wBACpC;AAIhB,MAAMD,0BAA8D;UACzEG;eACAC;AACF;AAEA;;CAEC,SAECD,YAAME,IAAAA,2BAAA,EAAA;UACJC;iBACAC;uBACAC;oBACKC;aACLA,cAAGC,CAAAA,mBAAiBC;4CACNC,CAAAA,QAAAA;QAChBC,OAAAJ,cAAA,CAAAG,uBAAA;;eAEEN;iBACAQ;eACAC;gBACAC;QACFA,cAAA;;aAEEC;QACFA,iBAAAR,cAAA,CAAAS,6BAAA;;aAEED;QACFA,iBAAAR,cAAA,CAAAU,6BAAA;;YAEEF;QACFA,iBAAAR,cAAA,CAAAW,4BAAA;IACF;AAEA;AAME,MAAMnB,kCAASC,CAAAA;;UAIbmB,SAAMjB;UAMRD,IAAA,CAAAmB,SAAA,GAAAC,IAAAA,6BAAA,EAAAvB,wBAAAG,IAAA,EAAAF,OAAAE,IAAA,EAAAkB,MAAAlB,IAAA,CAAAmB,SAAA;QAEAD,MAAOA,SAAAA,EAAAA;QACPA,MAAAjB,SAAA,CAAAkB,SAAA,GAAAC,IAAAA,6BAAA,EAAAvB,wBAAAI,SAAA,EAAAH,OAAAG,SAAA,EAAAH,MAAA,CAAAoB,MAAAG,MAAA,CAAA,EAAAH,MAAAjB,SAAA,CAAAkB,SAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-copilot/react-response-count",
3
- "version": "0.2.13",
3
+ "version": "0.2.14-hotfix.2",
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",
@@ -12,22 +12,18 @@
12
12
  },
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@fluentui-copilot/tokens": "^0.3.10",
15
+ "@fluentui-copilot/tokens": "0.3.11-hotfix.2",
16
16
  "@swc/helpers": "^0.5.1"
17
17
  },
18
18
  "peerDependencies": {
19
- "@fluentui/react-components": ">=9.58.3 <10.0.0",
20
- "@fluentui/react-jsx-runtime": ">=9.0.50 <10.0.0",
19
+ "@fluentui/react-components": ">=9.63.0 <10.0.0",
20
+ "@fluentui/react-jsx-runtime": ">=9.0.54 <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",
24
24
  "react-dom": ">=16.14.0 <19.0.0"
25
25
  },
26
- "beachball": {
27
- "disallowedChangeTypes": [
28
- "major"
29
- ]
30
- },
26
+ "beachball": {},
31
27
  "exports": {
32
28
  ".": {
33
29
  "types": "./dist/index.d.ts",