@epam/ai-dial-chat-shared 1.1.0-dev.131 → 1.1.0-dev.133
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/index.js +31010 -29600
- package/package.json +7 -2
- package/utils/copy-to-clipboard.d.ts +7 -0
- package/utils/copy-to-clipboard.d.ts.map +1 -1
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.
|
|
4
|
+
"version": "1.1.0-dev.133",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -30,7 +30,12 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"classnames": "2.5.1",
|
|
33
|
-
"
|
|
33
|
+
"dompurify": "3.4.12",
|
|
34
|
+
"rehype-stringify": "^10.0.1",
|
|
35
|
+
"remark-parse": "^11.0.0",
|
|
36
|
+
"remark-rehype": "^11.1.2",
|
|
37
|
+
"tailwind-merge": "^3.6.0",
|
|
38
|
+
"unified": "^11.0.5"
|
|
34
39
|
},
|
|
35
40
|
"repository": {
|
|
36
41
|
"type": "git",
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copies markdown `content` to the clipboard as rich text: pasting into a
|
|
3
|
+
* rich-text target (Word, Gmail, Slack) preserves formatting, while
|
|
4
|
+
* plain-text targets fall back to the raw markdown source. Falls back to
|
|
5
|
+
* {@link copyToClipboard} when the multi-format Clipboard API isn't available.
|
|
6
|
+
*/
|
|
7
|
+
export declare const copyMarkdownAsRichText: (content: string) => Promise<boolean>;
|
|
1
8
|
/** Copies `text` to the clipboard; returns `true` on success, `false` when both the Clipboard API and the `execCommand` fallback fail. */
|
|
2
9
|
export declare const copyToClipboard: (text: string) => Promise<boolean>;
|
|
3
10
|
//# sourceMappingURL=copy-to-clipboard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-to-clipboard.d.ts","sourceRoot":"","sources":["../../src/utils/copy-to-clipboard.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"copy-to-clipboard.d.ts","sourceRoot":"","sources":["../../src/utils/copy-to-clipboard.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,GAAI,SAAS,MAAM,KAAG,OAAO,CAAC,OAAO,CAqCvE,CAAC;AAEF,0IAA0I;AAC1I,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,KAAG,OAAO,CAAC,OAAO,CAY7D,CAAC"}
|