@fluentui-copilot/react-chat-input-plugins 0.0.5 → 0.0.6

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,7 @@
2
2
  "name": "@fluentui-copilot/react-chat-input-plugins",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 08 May 2024 22:09:00 GMT",
5
+ "date": "Wed, 08 May 2024 22:10:20 GMT",
6
6
  "tag": "@fluentui-copilot/react-chat-input-plugins_v0.0.5",
7
7
  "version": "0.0.5",
8
8
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # Change Log - @fluentui-copilot/react-chat-input-plugins
2
2
 
3
- This log was last generated on Wed, 08 May 2024 22:09:00 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 08 May 2024 22:10:20 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
7
  ## [0.0.5](https://github.com/microsoft/fluentai/tree/@fluentui-copilot/react-chat-input-plugins_v0.0.5)
8
8
 
9
- Wed, 08 May 2024 22:09:00 GMT
9
+ Wed, 08 May 2024 22:10:20 GMT
10
10
  [Compare changes](https://github.com/microsoft/fluentai/compare/@fluentui-copilot/react-chat-input-plugins_v0.0.4..@fluentui-copilot/react-chat-input-plugins_v0.0.5)
11
11
 
12
12
  ### Patches
package/dist/index.d.ts CHANGED
@@ -191,7 +191,10 @@ declare interface IImperativeControlBase {
191
191
  appendText: (text: string) => void;
192
192
  prependText: (text: string) => void;
193
193
  insertTextAtCursor: (text: string) => void;
194
- getInputText: () => string;
194
+ /**
195
+ * @param transform will be called for each Lexical node in the input. This enables custom string representation for each node.
196
+ */
197
+ getInputText: (transform?: (node: LexicalNode) => string) => string;
195
198
  scrollToBottom: () => void;
196
199
  moveCursor: (location: number) => void;
197
200
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-copilot/react-chat-input-plugins",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "A Fluent AI package for React-based ChatInput plugins.",
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/chat-input-plugins": "^0.0.5",
15
+ "@fluentui-copilot/chat-input-plugins": "^0.0.6",
16
16
  "@fluentui-copilot/react-text-editor": "^0.1.5",
17
17
  "@fluentui-copilot/text-editor": "^0.0.3",
18
18
  "@swc/helpers": "^0.5.1"