@epam/ai-dial-chat-shared 1.1.0-dev.52 → 1.1.0-dev.55
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.css +1 -1
- package/index.d.ts +0 -1
- package/index.d.ts.map +1 -1
- package/index.js +3208 -3236
- package/package.json +2 -2
- package/components/Highlight/Highlight.d.ts +0 -26
- package/components/Highlight/Highlight.d.ts.map +0 -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.55",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"react-syntax-highlighter": "^16.1.1",
|
|
23
23
|
"react-markdown": "^10.1.0",
|
|
24
24
|
"remark-gfm": "^4.0.1",
|
|
25
|
-
"@epam/ai-dial-ui-kit": "^0.13.0-dev.
|
|
25
|
+
"@epam/ai-dial-ui-kit": "^0.13.0-dev.17"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"classnames": "2.5.1",
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
/** CSS custom-property overrides for the `Highlight` component. */
|
|
3
|
-
export interface HighlightColors {
|
|
4
|
-
/** Highlighted match text color. */
|
|
5
|
-
text?: string;
|
|
6
|
-
/** Highlighted match background color. */
|
|
7
|
-
background?: string;
|
|
8
|
-
}
|
|
9
|
-
/** Props for `Highlight`. */
|
|
10
|
-
export interface HighlightProps {
|
|
11
|
-
/** Full text to display. */
|
|
12
|
-
text: string;
|
|
13
|
-
/** Search query; the first case-insensitive match is highlighted. */
|
|
14
|
-
query: string;
|
|
15
|
-
/** Optional class name for the highlighted segment. */
|
|
16
|
-
markClassName?: string;
|
|
17
|
-
/** Optional class name forwarded to the `DialEllipsisTooltip` container. */
|
|
18
|
-
className?: string;
|
|
19
|
-
/** Maximum number of lines to display before truncating. Use `1` for single-line ellipsis truncation (e.g. list rows). Defaults to `2`. */
|
|
20
|
-
maxLines?: number;
|
|
21
|
-
/** Color overrides applied as CSS custom properties. */
|
|
22
|
-
colors?: HighlightColors;
|
|
23
|
-
}
|
|
24
|
-
/** Renders text with the first occurrence of `query` wrapped in a highlight mark, with ellipsis truncation and a tooltip when overflowing. */
|
|
25
|
-
export declare const Highlight: FC<HighlightProps>;
|
|
26
|
-
//# sourceMappingURL=Highlight.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Highlight.d.ts","sourceRoot":"","sources":["../../../src/components/Highlight/Highlight.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAK3B,mEAAmE;AACnE,MAAM,WAAW,eAAe;IAC9B,oCAAoC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0CAA0C;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,6BAA6B;AAC7B,MAAM,WAAW,cAAc;IAC7B,4BAA4B;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4EAA4E;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2IAA2I;IAC3I,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wDAAwD;IACxD,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B;AAkBD,8IAA8I;AAC9I,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA8CxC,CAAC"}
|