@fluentui-copilot/react-editor-input 0.0.0-nightly-20251106-0406-702b7b06.1 → 0.0.0-nightly-20251110-0406-791e8d56.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.json CHANGED
@@ -2,9 +2,9 @@
2
2
  "name": "@fluentui-copilot/react-editor-input",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 06 Nov 2025 04:13:06 GMT",
6
- "tag": "@fluentui-copilot/react-editor-input_v0.0.0-nightly-20251106-0406-702b7b06.1",
7
- "version": "0.0.0-nightly-20251106-0406-702b7b06.1",
5
+ "date": "Mon, 10 Nov 2025 04:13:17 GMT",
6
+ "tag": "@fluentui-copilot/react-editor-input_v0.0.0-nightly-20251110-0406-791e8d56.1",
7
+ "version": "0.0.0-nightly-20251110-0406-791e8d56.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
@@ -16,6 +16,27 @@
16
16
  ]
17
17
  }
18
18
  },
19
+ {
20
+ "date": "Sat, 08 Nov 2025 02:21:20 GMT",
21
+ "tag": "@fluentui-copilot/react-editor-input_v0.6.1",
22
+ "version": "0.6.1",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "jiangemma@microsoft.com",
27
+ "package": "@fluentui-copilot/react-editor-input",
28
+ "commit": "5a476ef39eeaf2f6bebaab0f8fd82de38dd58702",
29
+ "comment": "chore: Update all imports of JSXElement and JSXIntrinsicElement to be from @fluentui/react-utilities"
30
+ },
31
+ {
32
+ "author": "jiangemma@microsoft.com",
33
+ "package": "@fluentui-copilot/react-editor-input",
34
+ "commit": "c044470bcc807f0a174ca3278a1f5d6b3df22fe6",
35
+ "comment": "chore: Update @fluentui/react-components and @fluentui/react-utilities peer dependencies"
36
+ }
37
+ ]
38
+ }
39
+ },
19
40
  {
20
41
  "date": "Wed, 22 Oct 2025 17:51:32 GMT",
21
42
  "tag": "@fluentui-copilot/react-editor-input_v0.6.0",
package/CHANGELOG.md CHANGED
@@ -1,18 +1,28 @@
1
1
  # Change Log - @fluentui-copilot/react-editor-input
2
2
 
3
- This log was last generated on Thu, 06 Nov 2025 04:13:06 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 10 Nov 2025 04:13:17 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20251106-0406-702b7b06.1](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-editor-input_v0.0.0-nightly-20251106-0406-702b7b06.1)
7
+ ## [0.0.0-nightly-20251110-0406-791e8d56.1](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-editor-input_v0.0.0-nightly-20251110-0406-791e8d56.1)
8
8
 
9
- Thu, 06 Nov 2025 04:13:06 GMT
10
- [Compare changes](https://github.com/microsoft/fluentai/compare/@fluentui-copilot/react-editor-input_v0.6.0..@fluentui-copilot/react-editor-input_v0.0.0-nightly-20251106-0406-702b7b06.1)
9
+ Mon, 10 Nov 2025 04:13:17 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentai/compare/@fluentui-copilot/react-editor-input_v0.6.1..@fluentui-copilot/react-editor-input_v0.0.0-nightly-20251110-0406-791e8d56.1)
11
11
 
12
12
  ### Changes
13
13
 
14
14
  - Release nightly ([commit](https://github.com/microsoft/fluentai/commit/not available) by fluentui-internal@service.microsoft.com)
15
15
 
16
+ ## [0.6.1](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-editor-input_v0.6.1)
17
+
18
+ Sat, 08 Nov 2025 02:21:20 GMT
19
+ [Compare changes](https://github.com/microsoft/fluentai/compare/@fluentui-copilot/react-editor-input_v0.6.0..@fluentui-copilot/react-editor-input_v0.6.1)
20
+
21
+ ### Patches
22
+
23
+ - chore: Update all imports of JSXElement and JSXIntrinsicElement to be from @fluentui/react-utilities ([PR #3432](https://github.com/microsoft/fluentai/pull/3432) by jiangemma@microsoft.com)
24
+ - chore: Update @fluentui/react-components and @fluentui/react-utilities peer dependencies ([PR #3433](https://github.com/microsoft/fluentai/pull/3433) by jiangemma@microsoft.com)
25
+
16
26
  ## [0.6.0](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-editor-input_v0.6.0)
17
27
 
18
28
  Wed, 22 Oct 2025 17:51:32 GMT
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import type { ComponentProps } from '@fluentui/react-components';
4
4
  import type { ComponentState } from '@fluentui/react-components';
5
5
  import type { ForwardRefComponent } from '@fluentui/react-components';
6
6
  import type { InitialConfigType } from '@fluentui-copilot/react-text-editor';
7
- import type { JSXElement } from '@fluentui/react-components';
7
+ import type { JSXElement } from '@fluentui/react-utilities';
8
8
  import type { LexicalComposerContextWithEditor } from '@fluentui-copilot/react-text-editor';
9
9
  import type { LexicalEditor } from '@fluentui-copilot/react-text-editor';
10
10
  import type { LexicalPlainTextPlugin } from '@fluentui-copilot/react-text-editor';
@@ -1 +1 @@
1
- {"version":3,"sources":["renderAnimatedPlaceholder.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-components';\nimport type { JSXElement } from '@fluentui/react-components';\nimport type { AnimatedPlaceholderState, AnimatedPlaceholderSlots } from './AnimatedPlaceholder.types';\n\n/**\n * Render the final JSX of AnimatedPlaceholder\n */\nexport const renderAnimatedPlaceholder_unstable = (state: AnimatedPlaceholderState): JSXElement => {\n assertSlots<AnimatedPlaceholderSlots>(state);\n\n return (\n <state.root>\n <state.motion>\n <state.placeholder />\n </state.motion>\n </state.root>\n );\n};\n"],"names":["assertSlots","renderAnimatedPlaceholder_unstable","state","root","motion","placeholder"],"rangeMappings":";;;;;;;;;;;","mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AAEjD,SAASA,WAAW,QAAQ,6BAA6B;AAIzD;;CAEC,GACD,OAAO,MAAMC,qCAAqC,CAACC;IACjDF,YAAsCE;IAEtC,qBACE,KAACA,MAAMC,IAAI;kBACT,cAAA,KAACD,MAAME,MAAM;sBACX,cAAA,KAACF,MAAMG,WAAW;;;AAI1B,EAAE"}
1
+ {"version":3,"sources":["renderAnimatedPlaceholder.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-components';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport type { AnimatedPlaceholderState, AnimatedPlaceholderSlots } from './AnimatedPlaceholder.types';\n\n/**\n * Render the final JSX of AnimatedPlaceholder\n */\nexport const renderAnimatedPlaceholder_unstable = (state: AnimatedPlaceholderState): JSXElement => {\n assertSlots<AnimatedPlaceholderSlots>(state);\n\n return (\n <state.root>\n <state.motion>\n <state.placeholder />\n </state.motion>\n </state.root>\n );\n};\n"],"names":["assertSlots","renderAnimatedPlaceholder_unstable","state","root","motion","placeholder"],"rangeMappings":";;;;;;;;;;;","mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AAEjD,SAASA,WAAW,QAAQ,6BAA6B;AAIzD;;CAEC,GACD,OAAO,MAAMC,qCAAqC,CAACC;IACjDF,YAAsCE;IAEtC,qBACE,KAACA,MAAMC,IAAI;kBACT,cAAA,KAACD,MAAME,MAAM;sBACX,cAAA,KAACF,MAAMG,WAAW;;;AAI1B,EAAE"}
@@ -1 +1 @@
1
- {"version":3,"sources":["renderEditorInput.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-components';\nimport type { JSXElement } from '@fluentui/react-components';\nimport {\n LexicalErrorBoundary,\n LexicalEditorRefPlugin,\n LexicalHistoryPlugin,\n LexicalComposerContext,\n} from '@fluentui-copilot/react-text-editor';\nimport { BasicFunctionalityPlugin } from '@fluentui-copilot/react-chat-input-plugins';\nimport type { EditorInputState, EditorInputContextValues, EditorInputSlots } from './EditorInput.types';\n\n/**\n * Render the final JSX of EditorInput\n */\nexport const renderEditorInput_unstable = (\n state: EditorInputState,\n contextValues: EditorInputContextValues,\n): JSXElement => {\n assertSlots<EditorInputSlots>(state);\n\n return (\n <state.root>\n <LexicalComposerContext.Provider value={contextValues.lexicalComposer}>\n <state.textPlugin contentEditable={<state.input />} ErrorBoundary={LexicalErrorBoundary} placeholder={null} />\n <>\n {state.placeholderValue ? <state.placeholderValue /> : null}\n <BasicFunctionalityPlugin\n onContentChange={state.handleOnChange}\n onPaste={state.onPaste}\n trimWhitespace={state.trimWhiteSpace}\n isSentinelNodeEnabled={state.isSentinelNodeEnabled}\n />\n {state.history && <LexicalHistoryPlugin />}\n {state.editorRef && <LexicalEditorRefPlugin editorRef={state.editorRef} />}\n </>\n </LexicalComposerContext.Provider>\n </state.root>\n );\n};\n"],"names":["assertSlots","LexicalErrorBoundary","LexicalEditorRefPlugin","LexicalHistoryPlugin","LexicalComposerContext","BasicFunctionalityPlugin","renderEditorInput_unstable","state","contextValues","root","Provider","value","lexicalComposer","textPlugin","contentEditable","input","ErrorBoundary","placeholder","placeholderValue","onContentChange","handleOnChange","onPaste","trimWhitespace","trimWhiteSpace","isSentinelNodeEnabled","history","editorRef"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AAEjD,SAASA,WAAW,QAAQ,6BAA6B;AAEzD,SACEC,oBAAoB,EACpBC,sBAAsB,EACtBC,oBAAoB,EACpBC,sBAAsB,QACjB,sCAAsC;AAC7C,SAASC,wBAAwB,QAAQ,6CAA6C;AAGtF;;CAEC,GACD,OAAO,MAAMC,6BAA6B,CACxCC,OACAC;IAEAR,YAA8BO;IAE9B,qBACE,KAACA,MAAME,IAAI;kBACT,cAAA,MAACL,uBAAuBM,QAAQ;YAACC,OAAOH,cAAcI,eAAe;;8BACnE,KAACL,MAAMM,UAAU;oBAACC,+BAAiB,KAACP,MAAMQ,KAAK;oBAAKC,eAAef;oBAAsBgB,aAAa;;8BACtG;;wBACGV,MAAMW,gBAAgB,iBAAG,KAACX,MAAMW,gBAAgB,QAAM;sCACvD,KAACb;4BACCc,iBAAiBZ,MAAMa,cAAc;4BACrCC,SAASd,MAAMc,OAAO;4BACtBC,gBAAgBf,MAAMgB,cAAc;4BACpCC,uBAAuBjB,MAAMiB,qBAAqB;;wBAEnDjB,MAAMkB,OAAO,kBAAI,KAACtB;wBAClBI,MAAMmB,SAAS,kBAAI,KAACxB;4BAAuBwB,WAAWnB,MAAMmB,SAAS;;;;;;;AAKhF,EAAE"}
1
+ {"version":3,"sources":["renderEditorInput.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-components';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport {\n LexicalErrorBoundary,\n LexicalEditorRefPlugin,\n LexicalHistoryPlugin,\n LexicalComposerContext,\n} from '@fluentui-copilot/react-text-editor';\nimport { BasicFunctionalityPlugin } from '@fluentui-copilot/react-chat-input-plugins';\nimport type { EditorInputState, EditorInputContextValues, EditorInputSlots } from './EditorInput.types';\n\n/**\n * Render the final JSX of EditorInput\n */\nexport const renderEditorInput_unstable = (\n state: EditorInputState,\n contextValues: EditorInputContextValues,\n): JSXElement => {\n assertSlots<EditorInputSlots>(state);\n\n return (\n <state.root>\n <LexicalComposerContext.Provider value={contextValues.lexicalComposer}>\n <state.textPlugin contentEditable={<state.input />} ErrorBoundary={LexicalErrorBoundary} placeholder={null} />\n <>\n {state.placeholderValue ? <state.placeholderValue /> : null}\n <BasicFunctionalityPlugin\n onContentChange={state.handleOnChange}\n onPaste={state.onPaste}\n trimWhitespace={state.trimWhiteSpace}\n isSentinelNodeEnabled={state.isSentinelNodeEnabled}\n />\n {state.history && <LexicalHistoryPlugin />}\n {state.editorRef && <LexicalEditorRefPlugin editorRef={state.editorRef} />}\n </>\n </LexicalComposerContext.Provider>\n </state.root>\n );\n};\n"],"names":["assertSlots","LexicalErrorBoundary","LexicalEditorRefPlugin","LexicalHistoryPlugin","LexicalComposerContext","BasicFunctionalityPlugin","renderEditorInput_unstable","state","contextValues","root","Provider","value","lexicalComposer","textPlugin","contentEditable","input","ErrorBoundary","placeholder","placeholderValue","onContentChange","handleOnChange","onPaste","trimWhitespace","trimWhiteSpace","isSentinelNodeEnabled","history","editorRef"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AAEjD,SAASA,WAAW,QAAQ,6BAA6B;AAEzD,SACEC,oBAAoB,EACpBC,sBAAsB,EACtBC,oBAAoB,EACpBC,sBAAsB,QACjB,sCAAsC;AAC7C,SAASC,wBAAwB,QAAQ,6CAA6C;AAGtF;;CAEC,GACD,OAAO,MAAMC,6BAA6B,CACxCC,OACAC;IAEAR,YAA8BO;IAE9B,qBACE,KAACA,MAAME,IAAI;kBACT,cAAA,MAACL,uBAAuBM,QAAQ;YAACC,OAAOH,cAAcI,eAAe;;8BACnE,KAACL,MAAMM,UAAU;oBAACC,+BAAiB,KAACP,MAAMQ,KAAK;oBAAKC,eAAef;oBAAsBgB,aAAa;;8BACtG;;wBACGV,MAAMW,gBAAgB,iBAAG,KAACX,MAAMW,gBAAgB,QAAM;sCACvD,KAACb;4BACCc,iBAAiBZ,MAAMa,cAAc;4BACrCC,SAASd,MAAMc,OAAO;4BACtBC,gBAAgBf,MAAMgB,cAAc;4BACpCC,uBAAuBjB,MAAMiB,qBAAqB;;wBAEnDjB,MAAMkB,OAAO,kBAAI,KAACtB;wBAClBI,MAAMmB,SAAS,kBAAI,KAACxB;4BAAuBwB,WAAWnB,MAAMmB,SAAS;;;;;;;AAKhF,EAAE"}
@@ -1 +1 @@
1
- {"version":3,"sources":["renderAnimatedPlaceholder.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-components';\nimport type { JSXElement } from '@fluentui/react-components';\nimport type { AnimatedPlaceholderState, AnimatedPlaceholderSlots } from './AnimatedPlaceholder.types';\n\n/**\n * Render the final JSX of AnimatedPlaceholder\n */\nexport const renderAnimatedPlaceholder_unstable = (state: AnimatedPlaceholderState): JSXElement => {\n assertSlots<AnimatedPlaceholderSlots>(state);\n\n return (\n <state.root>\n <state.motion>\n <state.placeholder />\n </state.motion>\n </state.root>\n );\n};\n"],"names":["renderAnimatedPlaceholder_unstable","state","assertSlots","_jsx","root","motion","placeholder"],"rangeMappings":";;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAUaA;;;eAAAA;;;4BATb;iCAE4B;AAOrB,MAAMA,qCAAqC,CAACC;IACjDC,IAAAA,4BAAAA,EAAsCD;IAEtC,OAAA,WAAA,GACEE,IAAAA,eAAA,EAACF,MAAMG,IAAI,EAAA;kBACT,WAAA,GAAAD,IAAAA,eAAA,EAACF,MAAMI,MAAM,EAAA;sBACX,WAAA,GAAAF,IAAAA,eAAA,EAACF,MAAMK,WAAW,EAAA,CAAA;;;AAI1B"}
1
+ {"version":3,"sources":["renderAnimatedPlaceholder.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-components';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport type { AnimatedPlaceholderState, AnimatedPlaceholderSlots } from './AnimatedPlaceholder.types';\n\n/**\n * Render the final JSX of AnimatedPlaceholder\n */\nexport const renderAnimatedPlaceholder_unstable = (state: AnimatedPlaceholderState): JSXElement => {\n assertSlots<AnimatedPlaceholderSlots>(state);\n\n return (\n <state.root>\n <state.motion>\n <state.placeholder />\n </state.motion>\n </state.root>\n );\n};\n"],"names":["renderAnimatedPlaceholder_unstable","state","assertSlots","_jsx","root","motion","placeholder"],"rangeMappings":";;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAUaA;;;eAAAA;;;4BATb;iCAE4B;AAOrB,MAAMA,qCAAqC,CAACC;IACjDC,IAAAA,4BAAAA,EAAsCD;IAEtC,OAAA,WAAA,GACEE,IAAAA,eAAA,EAACF,MAAMG,IAAI,EAAA;kBACT,WAAA,GAAAD,IAAAA,eAAA,EAACF,MAAMI,MAAM,EAAA;sBACX,WAAA,GAAAF,IAAAA,eAAA,EAACF,MAAMK,WAAW,EAAA,CAAA;;;AAI1B"}
@@ -1 +1 @@
1
- {"version":3,"sources":["renderEditorInput.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-components';\nimport type { JSXElement } from '@fluentui/react-components';\nimport {\n LexicalErrorBoundary,\n LexicalEditorRefPlugin,\n LexicalHistoryPlugin,\n LexicalComposerContext,\n} from '@fluentui-copilot/react-text-editor';\nimport { BasicFunctionalityPlugin } from '@fluentui-copilot/react-chat-input-plugins';\nimport type { EditorInputState, EditorInputContextValues, EditorInputSlots } from './EditorInput.types';\n\n/**\n * Render the final JSX of EditorInput\n */\nexport const renderEditorInput_unstable = (\n state: EditorInputState,\n contextValues: EditorInputContextValues,\n): JSXElement => {\n assertSlots<EditorInputSlots>(state);\n\n return (\n <state.root>\n <LexicalComposerContext.Provider value={contextValues.lexicalComposer}>\n <state.textPlugin contentEditable={<state.input />} ErrorBoundary={LexicalErrorBoundary} placeholder={null} />\n <>\n {state.placeholderValue ? <state.placeholderValue /> : null}\n <BasicFunctionalityPlugin\n onContentChange={state.handleOnChange}\n onPaste={state.onPaste}\n trimWhitespace={state.trimWhiteSpace}\n isSentinelNodeEnabled={state.isSentinelNodeEnabled}\n />\n {state.history && <LexicalHistoryPlugin />}\n {state.editorRef && <LexicalEditorRefPlugin editorRef={state.editorRef} />}\n </>\n </LexicalComposerContext.Provider>\n </state.root>\n );\n};\n"],"names":["renderEditorInput_unstable","state","contextValues","assertSlots","_jsx","root","_jsxs","LexicalComposerContext","Provider","value","lexicalComposer","textPlugin","contentEditable","input","ErrorBoundary","LexicalErrorBoundary","placeholder","_Fragment","placeholderValue","BasicFunctionalityPlugin","onContentChange","handleOnChange","onPaste","trimWhitespace","trimWhiteSpace","isSentinelNodeEnabled","history","LexicalHistoryPlugin","editorRef","LexicalEditorRefPlugin"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAiBaA;;;eAAAA;;;4BAhBb;iCAE4B;iCAOrB;uCACkC;AAMlC,MAAMA,6BAA6B,CACxCC,OACAC;IAEAC,IAAAA,4BAAAA,EAA8BF;IAE9B,OAAA,WAAA,GACEG,IAAAA,eAAA,EAACH,MAAMI,IAAI,EAAA;kBACT,WAAA,GAAAC,IAAAA,gBAAA,EAACC,uCAAAA,CAAuBC,QAAQ,EAAA;YAACC,OAAOP,cAAcQ,eAAe;;8BACnEN,IAAAA,eAAA,EAACH,MAAMU,UAAU,EAAA;oBAACC,iBAAAA,WAAAA,GAAiBR,IAAAA,eAAA,EAACH,MAAMY,KAAK,EAAA,CAAA;oBAAKC,eAAeC,qCAAAA;oBAAsBC,aAAa;;8BACtGV,IAAAA,gBAAA,EAAAW,oBAAA,EAAA;;wBACGhB,MAAMiB,gBAAgB,GAAA,WAAA,GAAGd,IAAAA,eAAA,EAACH,MAAMiB,gBAAgB,EAAA,CAAA,KAAM;sCACvDd,IAAAA,eAAA,EAACe,+CAAAA,EAAAA;4BACCC,iBAAiBnB,MAAMoB,cAAc;4BACrCC,SAASrB,MAAMqB,OAAO;4BACtBC,gBAAgBtB,MAAMuB,cAAc;4BACpCC,uBAAuBxB,MAAMwB,qBAAqB;;wBAEnDxB,MAAMyB,OAAO,IAAA,WAAA,GAAItB,IAAAA,eAAA,EAACuB,qCAAAA,EAAAA,CAAAA;wBAClB1B,MAAM2B,SAAS,IAAA,WAAA,GAAIxB,IAAAA,eAAA,EAACyB,uCAAAA,EAAAA;4BAAuBD,WAAW3B,MAAM2B,SAAS;;;;;;;AAKhF"}
1
+ {"version":3,"sources":["renderEditorInput.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-components';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport {\n LexicalErrorBoundary,\n LexicalEditorRefPlugin,\n LexicalHistoryPlugin,\n LexicalComposerContext,\n} from '@fluentui-copilot/react-text-editor';\nimport { BasicFunctionalityPlugin } from '@fluentui-copilot/react-chat-input-plugins';\nimport type { EditorInputState, EditorInputContextValues, EditorInputSlots } from './EditorInput.types';\n\n/**\n * Render the final JSX of EditorInput\n */\nexport const renderEditorInput_unstable = (\n state: EditorInputState,\n contextValues: EditorInputContextValues,\n): JSXElement => {\n assertSlots<EditorInputSlots>(state);\n\n return (\n <state.root>\n <LexicalComposerContext.Provider value={contextValues.lexicalComposer}>\n <state.textPlugin contentEditable={<state.input />} ErrorBoundary={LexicalErrorBoundary} placeholder={null} />\n <>\n {state.placeholderValue ? <state.placeholderValue /> : null}\n <BasicFunctionalityPlugin\n onContentChange={state.handleOnChange}\n onPaste={state.onPaste}\n trimWhitespace={state.trimWhiteSpace}\n isSentinelNodeEnabled={state.isSentinelNodeEnabled}\n />\n {state.history && <LexicalHistoryPlugin />}\n {state.editorRef && <LexicalEditorRefPlugin editorRef={state.editorRef} />}\n </>\n </LexicalComposerContext.Provider>\n </state.root>\n );\n};\n"],"names":["renderEditorInput_unstable","state","contextValues","assertSlots","_jsx","root","_jsxs","LexicalComposerContext","Provider","value","lexicalComposer","textPlugin","contentEditable","input","ErrorBoundary","LexicalErrorBoundary","placeholder","_Fragment","placeholderValue","BasicFunctionalityPlugin","onContentChange","handleOnChange","onPaste","trimWhitespace","trimWhiteSpace","isSentinelNodeEnabled","history","LexicalHistoryPlugin","editorRef","LexicalEditorRefPlugin"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAiBaA;;;eAAAA;;;4BAhBb;iCAE4B;iCAOrB;uCACkC;AAMlC,MAAMA,6BAA6B,CACxCC,OACAC;IAEAC,IAAAA,4BAAAA,EAA8BF;IAE9B,OAAA,WAAA,GACEG,IAAAA,eAAA,EAACH,MAAMI,IAAI,EAAA;kBACT,WAAA,GAAAC,IAAAA,gBAAA,EAACC,uCAAAA,CAAuBC,QAAQ,EAAA;YAACC,OAAOP,cAAcQ,eAAe;;8BACnEN,IAAAA,eAAA,EAACH,MAAMU,UAAU,EAAA;oBAACC,iBAAAA,WAAAA,GAAiBR,IAAAA,eAAA,EAACH,MAAMY,KAAK,EAAA,CAAA;oBAAKC,eAAeC,qCAAAA;oBAAsBC,aAAa;;8BACtGV,IAAAA,gBAAA,EAAAW,oBAAA,EAAA;;wBACGhB,MAAMiB,gBAAgB,GAAA,WAAA,GAAGd,IAAAA,eAAA,EAACH,MAAMiB,gBAAgB,EAAA,CAAA,KAAM;sCACvDd,IAAAA,eAAA,EAACe,+CAAAA,EAAAA;4BACCC,iBAAiBnB,MAAMoB,cAAc;4BACrCC,SAASrB,MAAMqB,OAAO;4BACtBC,gBAAgBtB,MAAMuB,cAAc;4BACpCC,uBAAuBxB,MAAMwB,qBAAqB;;wBAEnDxB,MAAMyB,OAAO,IAAA,WAAA,GAAItB,IAAAA,eAAA,EAACuB,qCAAAA,EAAAA,CAAAA;wBAClB1B,MAAM2B,SAAS,IAAA,WAAA,GAAIxB,IAAAA,eAAA,EAACyB,uCAAAA,EAAAA;4BAAuBD,WAAW3B,MAAM2B,SAAS;;;;;;;AAKhF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-copilot/react-editor-input",
3
- "version": "0.0.0-nightly-20251106-0406-702b7b06.1",
3
+ "version": "0.0.0-nightly-20251110-0406-791e8d56.1",
4
4
  "description": "a base rich editor input.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -12,14 +12,14 @@
12
12
  },
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@fluentui-copilot/chat-input-plugins": "0.0.0-nightly-20251106-0406-702b7b06.1",
16
- "@fluentui-copilot/react-chat-input-plugins": "0.0.0-nightly-20251106-0406-702b7b06.1",
17
- "@fluentui-copilot/react-text-editor": "0.0.0-nightly-20251106-0406-702b7b06.1",
18
- "@fluentui-copilot/tokens": "0.0.0-nightly-20251106-0406-702b7b06.1",
15
+ "@fluentui-copilot/chat-input-plugins": "0.0.0-nightly-20251110-0406-791e8d56.1",
16
+ "@fluentui-copilot/react-chat-input-plugins": "0.0.0-nightly-20251110-0406-791e8d56.1",
17
+ "@fluentui-copilot/react-text-editor": "0.0.0-nightly-20251110-0406-791e8d56.1",
18
+ "@fluentui-copilot/tokens": "0.0.0-nightly-20251110-0406-791e8d56.1",
19
19
  "@swc/helpers": "^0.5.1"
20
20
  },
21
21
  "peerDependencies": {
22
- "@fluentui/react-components": ">=9.70.0 <10.0.0",
22
+ "@fluentui/react-components": ">=9.69.0 <10.0.0",
23
23
  "@fluentui/react-jsx-runtime": ">=9.2.0 <10.0.0",
24
24
  "@fluentui/react-motion": ">=9.10.4 <10.0.0",
25
25
  "@fluentui/react-utilities": ">=9.24.1 <10.0.0",