@fluentui-copilot/react-response-count 0.2.14-hotfix.1 → 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,16 +2,16 @@
2
2
  "name": "@fluentui-copilot/react-response-count",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 12 Aug 2025 16:09:22 GMT",
6
- "tag": "@fluentui-copilot/react-response-count_v0.2.14-hotfix.1",
7
- "version": "0.2.14-hotfix.1",
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
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
11
  "author": "hochelmartin@gmail.com",
12
12
  "package": "@fluentui-copilot/react-response-count",
13
13
  "commit": "3e4ebe676646c4c4346dbbab83511f963ffefd85",
14
- "comment": "release: prepare hotfix 0.26.2-hotfix.1"
14
+ "comment": "release: prepare hotfix 0.26.2-hotfix.2"
15
15
  }
16
16
  ]
17
17
  }
package/CHANGELOG.md CHANGED
@@ -1,17 +1,17 @@
1
1
  # Change Log - @fluentui-copilot/react-response-count
2
2
 
3
- This log was last generated on Tue, 12 Aug 2025 16:09:22 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.1](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-response-count_v0.2.14-hotfix.1)
7
+ ## [0.2.14-hotfix.2](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-response-count_v0.2.14-hotfix.2)
8
8
 
9
- Tue, 12 Aug 2025 16:09:22 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.1)
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
11
 
12
12
  ### Changes
13
13
 
14
- - release: prepare hotfix 0.26.2-hotfix.1 ([PR #3284](https://github.com/microsoft/fluentai/pull/3284) by hochelmartin@gmail.com)
14
+ - release: prepare hotfix 0.26.2-hotfix.2 ([PR #3284](https://github.com/microsoft/fluentai/pull/3284) by hochelmartin@gmail.com)
15
15
 
16
16
  ## [0.2.14](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-response-count_v0.2.14)
17
17
 
@@ -1 +1,2 @@
1
1
  export { ResponseCount, renderResponseCount_unstable, responseCountClassNames, useResponseCountStyles_unstable, useResponseCount_unstable } from './components/ResponseCount/index';
2
+ //# sourceMappingURL=ResponseCount.js.map
@@ -3,9 +3,10 @@ import { useResponseCount_unstable } from './useResponseCount';
3
3
  import { renderResponseCount_unstable } from './renderResponseCount';
4
4
  import { useResponseCountStyles_unstable } from './useResponseCountStyles.styles';
5
5
  // ResponseCount component - TODO: add more docs
6
- export const ResponseCount = /*#__PURE__*/ React.forwardRef((props, ref)=>{
7
- const state = useResponseCount_unstable(props, ref);
8
- useResponseCountStyles_unstable(state);
9
- return renderResponseCount_unstable(state);
6
+ export const ResponseCount = /*#__PURE__*/React.forwardRef((props, ref) => {
7
+ const state = useResponseCount_unstable(props, ref);
8
+ useResponseCountStyles_unstable(state);
9
+ return renderResponseCount_unstable(state);
10
10
  });
11
11
  ResponseCount.displayName = 'ResponseCount';
12
+ //# sourceMappingURL=ResponseCount.js.map
@@ -1,3 +1,4 @@
1
1
  /**
2
2
  * State used in rendering ResponseCount
3
- */ export { };
3
+ */export {};
4
+ //# sourceMappingURL=ResponseCount.types.js.map
@@ -2,3 +2,4 @@ export { ResponseCount } from './ResponseCount';
2
2
  export { renderResponseCount_unstable } from './renderResponseCount';
3
3
  export { useResponseCount_unstable } from './useResponseCount';
4
4
  export { responseCountClassNames, useResponseCountStyles_unstable } from './useResponseCountStyles.styles';
5
+ //# sourceMappingURL=index.js.map
@@ -1,13 +1,12 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
2
2
  import { assertSlots } from '@fluentui/react-components';
3
3
  /**
4
4
  * Render the final JSX of ResponseCount
5
- */ export const renderResponseCount_unstable = (state)=>{
6
- assertSlots(state);
7
- return /*#__PURE__*/ _jsxs(state.root, {
8
- children: [
9
- state.indicator && /*#__PURE__*/ _jsx(state.indicator, {}),
10
- state.root.children
11
- ]
12
- });
5
+ */
6
+ export const renderResponseCount_unstable = state => {
7
+ assertSlots(state);
8
+ return /*#__PURE__*/_jsxs(state.root, {
9
+ children: [state.indicator && /*#__PURE__*/_jsx(state.indicator, {}), state.root.children]
10
+ });
13
11
  };
12
+ //# sourceMappingURL=renderResponseCount.js.map
@@ -8,23 +8,27 @@ import { getIntrinsicElementProps, slot } from '@fluentui/react-components';
8
8
  *
9
9
  * @param props - props from this instance of ResponseCount
10
10
  * @param ref - reference to root HTMLElement of ResponseCount
11
- */ export const useResponseCount_unstable = (props, ref)=>{
12
- const { status } = props;
13
- return {
14
- status,
15
- components: {
16
- root: 'span',
17
- indicator: 'span'
18
- },
19
- root: slot.always(getIntrinsicElementProps('span', {
20
- ref,
21
- ...props
22
- }), {
23
- elementType: 'span'
24
- }),
25
- indicator: slot.optional(props.indicator, {
26
- elementType: 'span',
27
- renderByDefault: true
28
- })
29
- };
11
+ */
12
+ export const useResponseCount_unstable = (props, ref) => {
13
+ const {
14
+ status
15
+ } = props;
16
+ return {
17
+ status,
18
+ components: {
19
+ root: 'span',
20
+ indicator: 'span'
21
+ },
22
+ root: slot.always(getIntrinsicElementProps('span', {
23
+ ref,
24
+ ...props
25
+ }), {
26
+ elementType: 'span'
27
+ }),
28
+ indicator: slot.optional(props.indicator, {
29
+ elementType: 'span',
30
+ renderByDefault: true
31
+ })
32
+ };
30
33
  };
34
+ //# sourceMappingURL=useResponseCount.js.map
@@ -1,44 +1,48 @@
1
1
  import { makeStyles, mergeClasses, typographyStyles } from '@fluentui/react-components';
2
2
  import { tokens } from '@fluentui-copilot/tokens';
3
3
  export const responseCountClassNames = {
4
- root: 'fai-ResponseCount',
5
- indicator: 'fai-ResponseCount__indicator'
4
+ root: 'fai-ResponseCount',
5
+ indicator: 'fai-ResponseCount__indicator'
6
6
  };
7
7
  /**
8
8
  * Styles for the root slot
9
- */ const useStyles = makeStyles({
10
- root: {
11
- display: 'inline-flex',
12
- flexDirection: 'row',
13
- alignItems: 'center',
14
- gap: tokens.spacingHorizontalXS,
15
- ...typographyStyles.caption2,
16
- color: tokens.colorNeutralForeground4
17
- },
18
- indicator: {
19
- display: 'inline-block',
20
- width: '8px',
21
- height: '8px',
22
- borderRadius: '50%'
23
- },
24
- success: {
25
- backgroundColor: tokens.colorStatusSuccessForeground3
26
- },
27
- warning: {
28
- backgroundColor: tokens.colorStatusWarningForeground2
29
- },
30
- danger: {
31
- backgroundColor: tokens.colorStatusDangerForeground3
32
- }
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
+ }
33
34
  });
34
35
  /**
35
36
  * Apply styling to the ResponseCount slots based on the state
36
- */ export const useResponseCountStyles_unstable = (state)=>{
37
- 'use no memo';
38
- const styles = useStyles();
39
- state.root.className = mergeClasses(responseCountClassNames.root, styles.root, state.root.className);
40
- if (state.indicator) {
41
- state.indicator.className = mergeClasses(responseCountClassNames.indicator, styles.indicator, styles[state.status], state.indicator.className);
42
- }
43
- return 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;
44
47
  };
48
+ //# sourceMappingURL=useResponseCountStyles.styles.raw.js.map
package/lib/index.js CHANGED
@@ -1 +1,2 @@
1
1
  export { ResponseCount, renderResponseCount_unstable, responseCountClassNames, useResponseCountStyles_unstable, useResponseCount_unstable } from './ResponseCount';
2
+ //# sourceMappingURL=index.js.map
@@ -26,3 +26,4 @@ _export(exports, {
26
26
  }
27
27
  });
28
28
  const _index = require("./components/ResponseCount/index");
29
+ //# sourceMappingURL=ResponseCount.js.map
@@ -18,4 +18,4 @@ const ResponseCount = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
18
18
  (0, _useResponseCountStylesstyles.useResponseCountStyles_unstable)(state);
19
19
  return (0, _renderResponseCount.renderResponseCount_unstable)(state);
20
20
  });
21
- ResponseCount.displayName = 'ResponseCount';
21
+ ResponseCount.displayName = 'ResponseCount'; //# sourceMappingURL=ResponseCount.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["ResponseCount.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useResponseCount_unstable } from './useResponseCount';\nimport { renderResponseCount_unstable } from './renderResponseCount';\nimport { useResponseCountStyles_unstable } from './useResponseCountStyles.styles';\nimport type { ResponseCountProps } from './ResponseCount.types';\nimport type { ForwardRefComponent } from '@fluentui/react-components';\n\n// ResponseCount component - TODO: add more docs\nexport const ResponseCount: ForwardRefComponent<ResponseCountProps> = React.forwardRef((props, ref) => {\n const state = useResponseCount_unstable(props, ref);\n\n useResponseCountStyles_unstable(state);\n return renderResponseCount_unstable(state);\n});\n\nResponseCount.displayName = 'ResponseCount';\n"],"names":["ResponseCount","React","forwardRef","props","ref","state","useResponseCount_unstable","useResponseCountStyles_unstable","renderResponseCount_unstable","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;;iEARU;kCACmB;qCACG;8CACG;AAKzC,MAAMA,gBAAAA,WAAAA,GAAyDC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IAC7F,MAAMC,QAAQC,IAAAA,2CAAAA,EAA0BH,OAAOC;IAE/CG,IAAAA,6DAAAA,EAAgCF;IAChC,OAAOG,IAAAA,iDAAAA,EAA6BH;AACtC;AAEAL,cAAcS,WAAW,GAAG"}
1
+ {"version":3,"sources":["ResponseCount.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useResponseCount_unstable } from './useResponseCount';\nimport { renderResponseCount_unstable } from './renderResponseCount';\nimport { useResponseCountStyles_unstable } from './useResponseCountStyles.styles';\nimport type { ResponseCountProps } from './ResponseCount.types';\nimport type { ForwardRefComponent } from '@fluentui/react-components';\n\n// ResponseCount component - TODO: add more docs\nexport const ResponseCount: ForwardRefComponent<ResponseCountProps> = React.forwardRef((props, ref) => {\n const state = useResponseCount_unstable(props, ref);\n\n useResponseCountStyles_unstable(state);\n return renderResponseCount_unstable(state);\n});\n\nResponseCount.displayName = 'ResponseCount';\n"],"names":["ResponseCount","React","forwardRef","props","state","useResponseCount_unstable","useResponseCountStyles_unstable","renderResponseCount_unstable","displayName"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAQaA;;;eAAAA;;;;iEARU;kCACmB;qCACG;8CACG;AAKzC,MAAMA,gBAAAA,WAAAA,GAAAA,OAAyDC,UAAMC,CAAU,CAACC,OAACA;UACtFC,QAAMA,IAAAA,2CAAQC,EAAAA,OAA0BF;qEAExCG,EAAAA;WACAC,IAAAA,iDAAOA,EAAAA;AACT;AAEAP,cAAcQ,WAAW,GAAG"}
@@ -4,3 +4,4 @@
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
+ //# sourceMappingURL=ResponseCount.types.js.map
@@ -29,3 +29,4 @@ const _ResponseCount = require("./ResponseCount");
29
29
  const _renderResponseCount = require("./renderResponseCount");
30
30
  const _useResponseCount = require("./useResponseCount");
31
31
  const _useResponseCountStylesstyles = require("./useResponseCountStyles.styles");
32
+ //# sourceMappingURL=index.js.map
@@ -18,4 +18,4 @@ const renderResponseCount_unstable = (state)=>{
18
18
  state.root.children
19
19
  ]
20
20
  });
21
- };
21
+ }; //# sourceMappingURL=renderResponseCount.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["renderResponseCount.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-components';\nimport type { ResponseCountState, ResponseCountSlots } from './ResponseCount.types';\n\n/**\n * Render the final JSX of ResponseCount\n */\nexport const renderResponseCount_unstable = (state: ResponseCountState) => {\n assertSlots<ResponseCountSlots>(state);\n\n return (\n <state.root>\n {state.indicator && <state.indicator />}\n {state.root.children}\n </state.root>\n );\n};\n"],"names":["renderResponseCount_unstable","state","assertSlots","_jsxs","root","indicator","_jsx","children"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BASaA;;;eAAAA;;;4BARb;iCAE4B;AAMrB,MAAMA,+BAA+B,CAACC;IAC3CC,IAAAA,4BAAAA,EAAgCD;IAEhC,OAAA,WAAA,GACEE,IAAAA,gBAAA,EAACF,MAAMG,IAAI,EAAA;;YACRH,MAAMI,SAAS,IAAA,WAAA,GAAIC,IAAAA,eAAA,EAACL,MAAMI,SAAS,EAAA,CAAA;YACnCJ,MAAMG,IAAI,CAACG,QAAQ;;;AAG1B"}
1
+ {"version":3,"sources":["renderResponseCount.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-components';\nimport type { ResponseCountState, ResponseCountSlots } from './ResponseCount.types';\n\n/**\n * Render the final JSX of ResponseCount\n */\nexport const renderResponseCount_unstable = (state: ResponseCountState) => {\n assertSlots<ResponseCountSlots>(state);\n\n return (\n <state.root>\n {state.indicator && <state.indicator />}\n {state.root.children}\n </state.root>\n );\n};\n"],"names":["assertSlots","state","indicator","_jsx","root","children"],"rangeMappings":";;;;;;;;;;;;;;;;;;","mappings":";;;;+BAUEA;;;eAAAA;;;4BATF;iCAE4B;AAO1BA,MAAAA,+BAAgCC,CAAAA;oCAEhC,EAAAA;;kBAEKA;YAAAA,MAAMC,SAAS,IAAA,WAAI,GAAAC,IAAAA,eAACF,EAAAA,MAAMC,SAAS,EAAA,CAAA;YAAAD,MAAAG,IAAA,CAAAC,QAAA;SAAA"}
@@ -28,4 +28,4 @@ const useResponseCount_unstable = (props, ref)=>{
28
28
  renderByDefault: true
29
29
  })
30
30
  };
31
- };
31
+ }; //# sourceMappingURL=useResponseCount.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["useResponseCount.ts"],"sourcesContent":["import type * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-components';\nimport type { ResponseCountProps, ResponseCountState } from './ResponseCount.types';\n\n// If you add JSX to this file, be sure to change the file type to .tsx\n\n/**\n * Create the state required to render ResponseCount.\n *\n * The returned state can be modified with hooks such as useResponseCountStyles_unstable,\n * before being passed to renderResponseCount_unstable.\n *\n * @param props - props from this instance of ResponseCount\n * @param ref - reference to root HTMLElement of ResponseCount\n */\nexport const useResponseCount_unstable = (\n props: ResponseCountProps,\n ref: React.Ref<HTMLElement>,\n): ResponseCountState => {\n const { status } = props;\n return {\n status,\n\n components: {\n root: 'span',\n indicator: 'span',\n },\n\n root: slot.always(\n getIntrinsicElementProps('span', {\n ref,\n ...props,\n }),\n { elementType: 'span' },\n ),\n indicator: slot.optional(props.indicator, { elementType: 'span', renderByDefault: true }),\n };\n};\n"],"names":["useResponseCount_unstable","props","ref","status","components","root","indicator","slot","always","getIntrinsicElementProps","elementType","optional","renderByDefault"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAeaA;;;eAAAA;;;iCAdkC;AAcxC,MAAMA,4BAA4B,CACvCC,OACAC;IAEA,MAAM,EAAEC,MAAM,EAAE,GAAGF;IACnB,OAAO;QACLE;QAEAC,YAAY;YACVC,MAAM;YACNC,WAAW;QACb;QAEAD,MAAME,qBAAAA,CAAKC,MAAM,CACfC,IAAAA,yCAAAA,EAAyB,QAAQ;YAC/BP;YACA,GAAGD,KAAK;QACV,IACA;YAAES,aAAa;QAAO;QAExBJ,WAAWC,qBAAAA,CAAKI,QAAQ,CAACV,MAAMK,SAAS,EAAE;YAAEI,aAAa;YAAQE,iBAAiB;QAAK;IACzF;AACF"}
1
+ {"version":3,"sources":["useResponseCount.ts"],"sourcesContent":["import type * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-components';\nimport type { ResponseCountProps, ResponseCountState } from './ResponseCount.types';\n\n// If you add JSX to this file, be sure to change the file type to .tsx\n\n/**\n * Create the state required to render ResponseCount.\n *\n * The returned state can be modified with hooks such as useResponseCountStyles_unstable,\n * before being passed to renderResponseCount_unstable.\n *\n * @param props - props from this instance of ResponseCount\n * @param ref - reference to root HTMLElement of ResponseCount\n */\nexport const useResponseCount_unstable = (\n props: ResponseCountProps,\n ref: React.Ref<HTMLElement>,\n): ResponseCountState => {\n const { status } = props;\n return {\n status,\n\n components: {\n root: 'span',\n indicator: 'span',\n },\n\n root: slot.always(\n getIntrinsicElementProps('span', {\n ref,\n ...props,\n }),\n { elementType: 'span' },\n ),\n indicator: slot.optional(props.indicator, { elementType: 'span', renderByDefault: true }),\n };\n};\n"],"names":["status","props","root","ref","slot","always","getIntrinsicElementProps","indicator","elementType","optional","renderByDefault"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAmBUA;;;eAAAA;;;iCAlBqC;AAkB7C,MAAQA,4BAAWC,CAAAA,OAAAA;UACnB,QACED;;;oBAKA;kBAEAE;uBAEIC;;cAEFC,qBACA,CAAAC,MAAA,CAAAC,IAAAA,yCAAA,EAAA,QAAA;;eAAsBL,KAAA;YAExBM;yBAA4CC;;mBAA2CJ,qBAAA,CAAAK,QAAA,CAAAR,MAAAM,SAAA,EAAA;YACzFC,aAAA;YACAE,iBAAA"}
@@ -57,4 +57,4 @@ const useResponseCountStyles_unstable = (state)=>{
57
57
  state.indicator.className = (0, _reactcomponents.mergeClasses)(responseCountClassNames.indicator, styles.indicator, styles[state.status], state.indicator.className);
58
58
  }
59
59
  return state;
60
- };
60
+ }; //# sourceMappingURL=useResponseCountStyles.styles.raw.js.map
@@ -1 +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","useResponseCountStyles_unstable","root","indicator","useStyles","makeStyles","display","flexDirection","alignItems","gap","tokens","spacingHorizontalXS","typographyStyles","caption2","color","colorNeutralForeground4","width","height","borderRadius","success","backgroundColor","colorStatusSuccessForeground3","warning","colorStatusWarningForeground2","danger","colorStatusDangerForeground3","state","styles","className","mergeClasses","status"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,uBAAAA;eAAAA;;IAqCAC,+BAAAA;eAAAA;;;iCA1C8C;wBACpC;AAIhB,MAAMD,0BAA8D;IACzEE,MAAM;IACNC,WAAW;AACb;AAEA;;CAEC,GACD,MAAMC,YAAYC,IAAAA,2BAAAA,EAAW;IAC3BH,MAAM;QACJI,SAAS;QACTC,eAAe;QACfC,YAAY;QACZC,KAAKC,cAAAA,CAAOC,mBAAmB;QAC/B,GAAGC,iCAAAA,CAAiBC,QAAQ;QAC5BC,OAAOJ,cAAAA,CAAOK,uBAAuB;IACvC;IACAZ,WAAW;QACTG,SAAS;QACTU,OAAO;QACPC,QAAQ;QACRC,cAAc;IAChB;IACAC,SAAS;QACPC,iBAAiBV,cAAAA,CAAOW,6BAA6B;IACvD;IACAC,SAAS;QACPF,iBAAiBV,cAAAA,CAAOa,6BAA6B;IACvD;IACAC,QAAQ;QACNJ,iBAAiBV,cAAAA,CAAOe,4BAA4B;IACtD;AACF;AAKO,MAAMxB,kCAAkC,CAACyB;IAC9C;IAEA,MAAMC,SAASvB;IACfsB,MAAMxB,IAAI,CAAC0B,SAAS,GAAGC,IAAAA,6BAAAA,EAAa7B,wBAAwBE,IAAI,EAAEyB,OAAOzB,IAAI,EAAEwB,MAAMxB,IAAI,CAAC0B,SAAS;IAEnG,IAAIF,MAAMvB,SAAS,EAAE;QACnBuB,MAAMvB,SAAS,CAACyB,SAAS,GAAGC,IAAAA,6BAAAA,EAC1B7B,wBAAwBG,SAAS,EACjCwB,OAAOxB,SAAS,EAChBwB,MAAM,CAACD,MAAMI,MAAM,CAAC,EACpBJ,MAAMvB,SAAS,CAACyB,SAAS;IAE7B;IAEA,OAAOF;AACT"}
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"}
@@ -26,3 +26,4 @@ _export(exports, {
26
26
  }
27
27
  });
28
28
  const _ResponseCount = require("./ResponseCount");
29
+ //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-copilot/react-response-count",
3
- "version": "0.2.14-hotfix.1",
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,7 +12,7 @@
12
12
  },
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@fluentui-copilot/tokens": "0.3.11-hotfix.1",
15
+ "@fluentui-copilot/tokens": "0.3.11-hotfix.2",
16
16
  "@swc/helpers": "^0.5.1"
17
17
  },
18
18
  "peerDependencies": {