@epam/ai-dial-chat-shared 1.1.0-dev.298 → 1.1.0-dev.299

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-chat-shared",
3
3
  "description": "Shared domain models, utilities, and UI components for AI DIAL Chat libraries",
4
- "version": "1.1.0-dev.298",
4
+ "version": "1.1.0-dev.299",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -26,7 +26,7 @@
26
26
  "remark-math": "^6.0.0",
27
27
  "rehype-katex": "^7.0.1",
28
28
  "katex": "^0.16.22",
29
- "@epam/ai-dial-ui-kit": "^0.14.0-dev.13"
29
+ "@epam/ai-dial-ui-kit": "^0.14.0-dev.15"
30
30
  },
31
31
  "dependencies": {
32
32
  "classnames": "2.5.1",
@@ -6,9 +6,10 @@
6
6
  export declare const markdownToRichTextHtml: (content: string) => string;
7
7
  /**
8
8
  * Copies markdown `content` to the clipboard as rich text, so pasting into a
9
- * rich-text target (Word, Gmail, Slack) keeps the formatting. Only the
10
- * `text/html` flavour is written a plain-text target pastes nothing from
11
- * here. Falls back to {@link copyToClipboard}, and therefore to the raw
9
+ * rich-text target (Word, Gmail, Slack) keeps the formatting. Both the
10
+ * `text/html` and the `text/plain` flavour are written, so a plain-text
11
+ * target (Notepad, a terminal, a code editor) pastes the raw markdown instead
12
+ * of nothing. Falls back to {@link copyToClipboard}, and therefore to the raw
12
13
  * markdown, when the multi-format Clipboard API isn't available.
13
14
  */
14
15
  export declare const copyMarkdownAsRichText: (content: string) => Promise<boolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"copy-to-clipboard.d.ts","sourceRoot":"","sources":["../../src/utils/copy-to-clipboard.ts"],"names":[],"mappings":"AAsGA;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,GAAI,SAAS,MAAM,KAAG,MAUtD,CAAC;AAEJ;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,GAAI,SAAS,MAAM,KAAG,OAAO,CAAC,OAAO,CAoCvE,CAAC;AAEF,0IAA0I;AAC1I,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,KAAG,OAAO,CAAC,OAAO,CAY7D,CAAC"}
1
+ {"version":3,"file":"copy-to-clipboard.d.ts","sourceRoot":"","sources":["../../src/utils/copy-to-clipboard.ts"],"names":[],"mappings":"AAsGA;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,GAAI,SAAS,MAAM,KAAG,MAUtD,CAAC;AAEJ;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,GAAI,SAAS,MAAM,KAAG,OAAO,CAAC,OAAO,CAoCvE,CAAC;AAEF,0IAA0I;AAC1I,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,KAAG,OAAO,CAAC,OAAO,CAY7D,CAAC"}