@epam/ai-dial-conversation-input 1.3.0-dev.46 → 1.3.0-dev.49
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.
|
@@ -34,6 +34,15 @@ export interface BottomSheetShellProps {
|
|
|
34
34
|
className?: string;
|
|
35
35
|
/** Color overrides applied as CSS custom properties. */
|
|
36
36
|
colors?: BottomSheetShellColors;
|
|
37
|
+
/**
|
|
38
|
+
* Id of the element to portal the sheet into, instead of the end of
|
|
39
|
+
* `<body>` — keeps it inside a host panel's stacking context.
|
|
40
|
+
*/
|
|
41
|
+
portalId?: string;
|
|
42
|
+
/** Extra classes appended to the backdrop. */
|
|
43
|
+
overlayClassName?: string;
|
|
44
|
+
/** Inline style for the backdrop, applied after the `colors` custom properties. */
|
|
45
|
+
overlayStyle?: CSSProperties;
|
|
37
46
|
/** Sheet body rendered below the header divider. */
|
|
38
47
|
children: ReactNode;
|
|
39
48
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSheetShell.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheetShell/BottomSheetShell.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpE,8FAA8F;AAC9F,MAAM,WAAW,sBAAsB;IACrC,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4EAA4E;IAC5E,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,uDAAuD;AACvD,MAAM,WAAW,qBAAqB;IACpC,iCAAiC;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,gGAAgG;IAChG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oFAAoF;IACpF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kFAAkF;IAClF,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,8EAA8E;IAC9E,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,gFAAgF;IAChF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6EAA6E;IAC7E,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,iFAAiF;IACjF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oFAAoF;IACpF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,oDAAoD;IACpD,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wGAAwG;AACxG,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"BottomSheetShell.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheetShell/BottomSheetShell.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpE,8FAA8F;AAC9F,MAAM,WAAW,sBAAsB;IACrC,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4EAA4E;IAC5E,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,uDAAuD;AACvD,MAAM,WAAW,qBAAqB;IACpC,iCAAiC;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,gGAAgG;IAChG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oFAAoF;IACpF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kFAAkF;IAClF,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,8EAA8E;IAC9E,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,gFAAgF;IAChF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6EAA6E;IAC7E,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,iFAAiF;IACjF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oFAAoF;IACpF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8CAA8C;IAC9C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,mFAAmF;IACnF,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,oDAAoD;IACpD,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wGAAwG;AACxG,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAiDtD,CAAC"}
|
package/index.js
CHANGED
|
@@ -25,8 +25,8 @@ var H = {
|
|
|
25
25
|
sheet: "_sheet_1ym62_12",
|
|
26
26
|
title: "_title_1ym62_16",
|
|
27
27
|
divider: "_divider_1ym62_20"
|
|
28
|
-
}, U = ({ isOpen: e, title: t, closeLabel: n, onClose: r, onBack: i, backLabel: a, "aria-label": o, style: s, titleClassName: u = "dial-body-semi-text", className: d, colors: f,
|
|
29
|
-
let
|
|
28
|
+
}, U = ({ isOpen: e, title: t, closeLabel: n, onClose: r, onBack: i, backLabel: a, "aria-label": o, style: s, titleClassName: u = "dial-body-semi-text", className: d, colors: f, portalId: m, overlayClassName: h, overlayStyle: g, children: _ }) => {
|
|
29
|
+
let v = c({
|
|
30
30
|
"--ci-backdrop": f?.backdrop,
|
|
31
31
|
"--ci-sheet-bg": f?.sheetBg,
|
|
32
32
|
"--ci-sheet-text": f?.sheetText,
|
|
@@ -41,15 +41,19 @@ var H = {
|
|
|
41
41
|
backAriaLabel: a,
|
|
42
42
|
closeAriaLabel: n,
|
|
43
43
|
style: {
|
|
44
|
-
...
|
|
44
|
+
...v,
|
|
45
45
|
...s
|
|
46
46
|
},
|
|
47
|
-
overlayStyle:
|
|
47
|
+
overlayStyle: {
|
|
48
|
+
...v,
|
|
49
|
+
...g
|
|
50
|
+
},
|
|
48
51
|
className: l(je.sheet, d),
|
|
49
|
-
overlayClassName: je.backdrop,
|
|
52
|
+
overlayClassName: l(je.backdrop, h),
|
|
53
|
+
portalId: m,
|
|
50
54
|
headerClassName: je.divider,
|
|
51
55
|
titleClassName: l(je.title, u),
|
|
52
|
-
children:
|
|
56
|
+
children: _
|
|
53
57
|
});
|
|
54
58
|
}, W = async (e, t, n) => {
|
|
55
59
|
let r = 6e4 / t, i = [];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-conversation-input",
|
|
3
3
|
"description": "Conversation message input with model selection, attachments, voice input, and edit mode",
|
|
4
|
-
"version": "1.3.0-dev.
|
|
4
|
+
"version": "1.3.0-dev.49",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"react-window": "^2.2.7",
|
|
21
21
|
"@tabler/icons-react": "^3.44.0",
|
|
22
|
-
"@epam/ai-dial-attachment-input": "1.3.0-dev.
|
|
22
|
+
"@epam/ai-dial-attachment-input": "1.3.0-dev.49"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@epam/ai-dial-chat-shared": "1.3.0-dev.
|
|
25
|
+
"@epam/ai-dial-chat-shared": "1.3.0-dev.49",
|
|
26
26
|
"react": "^19.2.8",
|
|
27
|
-
"@epam/ai-dial-ui-kit": "^0.15.
|
|
27
|
+
"@epam/ai-dial-ui-kit": "^0.15.4"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|