@epam/ai-dial-conversation-input 1.3.0-dev.311 → 1.3.0-dev.317
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UsageLimitBannerView.d.ts","sourceRoot":"","sources":["../../../src/components/UsageLimitBannerView/UsageLimitBannerView.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,+BAA+B,CAAC;AASvC,4HAA4H;AAC5H,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,
|
|
1
|
+
{"version":3,"file":"UsageLimitBannerView.d.ts","sourceRoot":"","sources":["../../../src/components/UsageLimitBannerView/UsageLimitBannerView.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,+BAA+B,CAAC;AASvC,4HAA4H;AAC5H,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAiE9D,CAAC"}
|
package/index.js
CHANGED
|
@@ -3213,11 +3213,11 @@ var Nn = {
|
|
|
3213
3213
|
}({}), Ln = { banner: "_banner_180n6_2" }, Rn = {
|
|
3214
3214
|
[In.Warning]: M.Warning,
|
|
3215
3215
|
[In.Reached]: M.Error
|
|
3216
|
-
}, zn = ({ severity: e, limitText: t, reset: n, onClose: r, closeAriaLabel: i = "Close notification", limitTextClassName: a = "dial-small-paragraph-semi-text", resetTextClassName: o = "dial-small-paragraph-text",
|
|
3217
|
-
let
|
|
3216
|
+
}, zn = ({ severity: e, limitText: t, reset: n, onClose: r, closeAriaLabel: i = "Close notification", limitTextClassName: a = "dial-small-paragraph-semi-text", resetTextClassName: o = "dial-small-paragraph-text", isLiveRegion: s = !0, className: u, colors: d }) => {
|
|
3217
|
+
let f = /* @__PURE__ */ B("span", {
|
|
3218
3218
|
className: a,
|
|
3219
3219
|
children: t
|
|
3220
|
-
}),
|
|
3220
|
+
}), p = n != null && /* @__PURE__ */ V(le, { children: [
|
|
3221
3221
|
" ",
|
|
3222
3222
|
/* @__PURE__ */ B("time", {
|
|
3223
3223
|
dateTime: n.isoValue,
|
|
@@ -3231,13 +3231,13 @@ var Nn = {
|
|
|
3231
3231
|
})
|
|
3232
3232
|
] });
|
|
3233
3233
|
return /* @__PURE__ */ B(A, {
|
|
3234
|
-
role: "status",
|
|
3234
|
+
role: s ? "status" : "none",
|
|
3235
3235
|
variant: Rn[e],
|
|
3236
3236
|
type: j.SectionMessage,
|
|
3237
|
-
title:
|
|
3238
|
-
message:
|
|
3239
|
-
className: l(Ln.banner, q.usageBanner,
|
|
3240
|
-
style: c({ "--ci-usage-banner-bg":
|
|
3237
|
+
title: p ? f : void 0,
|
|
3238
|
+
message: p || f,
|
|
3239
|
+
className: l(Ln.banner, q.usageBanner, u),
|
|
3240
|
+
style: c({ "--ci-usage-banner-bg": d?.background }),
|
|
3241
3241
|
children: r != null && /* @__PURE__ */ B(_, {
|
|
3242
3242
|
className: "shrink-0 self-start",
|
|
3243
3243
|
ariaLabel: i,
|
|
@@ -35,6 +35,8 @@ export interface UsageLimitBannerViewProps {
|
|
|
35
35
|
limitTextClassName?: string;
|
|
36
36
|
/** Typography class applied to the reset sentence. Defaults to `'dial-small-paragraph-text'`. */
|
|
37
37
|
resetTextClassName?: string;
|
|
38
|
+
/** Whether the banner root is its own polite `role="status"` region. Defaults to `true`; pass `false` when the host renders it inside an always-mounted `LiveRegion`. */
|
|
39
|
+
isLiveRegion?: boolean;
|
|
38
40
|
/** Additional class applied to the banner root, alongside `dial-ci-usage-banner`. */
|
|
39
41
|
className?: string;
|
|
40
42
|
/** Color overrides. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UsageLimitBanner.d.ts","sourceRoot":"","sources":["../../src/models/UsageLimitBanner.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,oBAAY,wBAAwB;IAClC,0GAA0G;IAC1G,OAAO,YAAY;IACnB,kEAAkE;IAClE,OAAO,YAAY;CACpB;AAED,2EAA2E;AAC3E,MAAM,WAAW,qBAAqB;IACpC,mGAAmG;IACnG,QAAQ,EAAE,MAAM,CAAC;IACjB,6EAA6E;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,sHAAsH;IACtH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,oFAAoF;AACpF,MAAM,WAAW,sBAAsB;IACrC,iEAAiE;IACjE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wCAAwC;AACxC,MAAM,WAAW,yBAAyB;IACxC,+DAA+D;IAC/D,QAAQ,EAAE,wBAAwB,CAAC;IACnC,oFAAoF;IACpF,SAAS,EAAE,MAAM,CAAC;IAClB,sEAAsE;IACtE,KAAK,CAAC,EAAE,qBAAqB,CAAC;IAC9B,sGAAsG;IACtG,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,+EAA+E;IAC/E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sGAAsG;IACtG,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iGAAiG;IACjG,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB;IACvB,MAAM,CAAC,EAAE,sBAAsB,CAAC;CACjC"}
|
|
1
|
+
{"version":3,"file":"UsageLimitBanner.d.ts","sourceRoot":"","sources":["../../src/models/UsageLimitBanner.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,oBAAY,wBAAwB;IAClC,0GAA0G;IAC1G,OAAO,YAAY;IACnB,kEAAkE;IAClE,OAAO,YAAY;CACpB;AAED,2EAA2E;AAC3E,MAAM,WAAW,qBAAqB;IACpC,mGAAmG;IACnG,QAAQ,EAAE,MAAM,CAAC;IACjB,6EAA6E;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,sHAAsH;IACtH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,oFAAoF;AACpF,MAAM,WAAW,sBAAsB;IACrC,iEAAiE;IACjE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wCAAwC;AACxC,MAAM,WAAW,yBAAyB;IACxC,+DAA+D;IAC/D,QAAQ,EAAE,wBAAwB,CAAC;IACnC,oFAAoF;IACpF,SAAS,EAAE,MAAM,CAAC;IAClB,sEAAsE;IACtE,KAAK,CAAC,EAAE,qBAAqB,CAAC;IAC9B,sGAAsG;IACtG,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,+EAA+E;IAC/E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sGAAsG;IACtG,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iGAAiG;IACjG,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yKAAyK;IACzK,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB;IACvB,MAAM,CAAC,EAAE,sBAAsB,CAAC;CACjC"}
|
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.317",
|
|
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.5.3",
|
|
21
21
|
"@tabler/icons-react": "^3.50.0",
|
|
22
|
-
"@epam/ai-dial-attachment-input": "1.3.0-dev.
|
|
22
|
+
"@epam/ai-dial-attachment-input": "1.3.0-dev.317"
|
|
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.317",
|
|
26
26
|
"react": "^19.2.8",
|
|
27
|
-
"@epam/ai-dial-ui-kit": "^0.16.0-dev.
|
|
27
|
+
"@epam/ai-dial-ui-kit": "^0.16.0-dev.72"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|