@gooddata/sdk-ui-gen-ai 11.11.0-alpha.3 → 11.11.0-alpha.5
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/esm/components/GenAIChatDialog.d.ts +3 -2
- package/esm/components/GenAIChatDialog.d.ts.map +1 -1
- package/esm/components/GenAIChatDialog.js +2 -1
- package/esm/components/GenAIChatDialog.js.map +1 -1
- package/esm/components/messages/AssistantMessage.d.ts.map +1 -1
- package/esm/components/messages/AssistantMessage.js +3 -5
- package/esm/components/messages/AssistantMessage.js.map +1 -1
- package/esm/components/messages/FeedbackPopup.d.ts.map +1 -1
- package/esm/components/messages/FeedbackPopup.js +6 -5
- package/esm/components/messages/FeedbackPopup.js.map +1 -1
- package/esm/components/messages/MessageContents.d.ts +2 -2
- package/esm/components/messages/MessageContents.d.ts.map +1 -1
- package/esm/components/messages/MessageContents.js +2 -2
- package/esm/components/messages/MessageContents.js.map +1 -1
- package/esm/components/messages/contents/SemanticSearchContents.d.ts.map +1 -1
- package/esm/components/messages/contents/SemanticSearchContents.js +3 -2
- package/esm/components/messages/contents/SemanticSearchContents.js.map +1 -1
- package/esm/components/messages/contents/VisualizationContents.d.ts.map +1 -1
- package/esm/components/messages/contents/VisualizationContents.js +10 -3
- package/esm/components/messages/contents/VisualizationContents.js.map +1 -1
- package/esm/components/messages/messageState.d.ts +12 -0
- package/esm/components/messages/messageState.d.ts.map +1 -0
- package/esm/components/messages/messageState.js +22 -0
- package/esm/components/messages/messageState.js.map +1 -0
- package/esm/localization/bundles/de-DE.json +15 -7
- package/esm/localization/bundles/de-DE.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/de-DE.localization-bundle.js +15 -7
- package/esm/localization/bundles/de-DE.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/en-AU.json +12 -4
- package/esm/localization/bundles/en-AU.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/en-AU.localization-bundle.js +12 -4
- package/esm/localization/bundles/en-AU.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/en-GB.json +12 -4
- package/esm/localization/bundles/en-GB.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/en-GB.localization-bundle.js +12 -4
- package/esm/localization/bundles/en-GB.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/en-US.json +4 -0
- package/esm/localization/bundles/en-US.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/en-US.localization-bundle.js +1 -0
- package/esm/localization/bundles/en-US.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/es-419.json +13 -5
- package/esm/localization/bundles/es-419.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/es-419.localization-bundle.js +13 -5
- package/esm/localization/bundles/es-419.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/es-ES.json +11 -3
- package/esm/localization/bundles/es-ES.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/es-ES.localization-bundle.js +11 -3
- package/esm/localization/bundles/es-ES.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/fi-FI.json +14 -6
- package/esm/localization/bundles/fi-FI.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/fi-FI.localization-bundle.js +14 -6
- package/esm/localization/bundles/fi-FI.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/fr-CA.json +11 -3
- package/esm/localization/bundles/fr-CA.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/fr-CA.localization-bundle.js +11 -3
- package/esm/localization/bundles/fr-CA.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/fr-FR.json +11 -3
- package/esm/localization/bundles/fr-FR.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/fr-FR.localization-bundle.js +11 -3
- package/esm/localization/bundles/fr-FR.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/it-IT.json +11 -3
- package/esm/localization/bundles/it-IT.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/it-IT.localization-bundle.js +11 -3
- package/esm/localization/bundles/it-IT.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/ja-JP.json +11 -3
- package/esm/localization/bundles/ja-JP.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/ja-JP.localization-bundle.js +11 -3
- package/esm/localization/bundles/ja-JP.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/ko-KR.json +11 -3
- package/esm/localization/bundles/ko-KR.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/ko-KR.localization-bundle.js +11 -3
- package/esm/localization/bundles/ko-KR.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/nl-NL.json +11 -3
- package/esm/localization/bundles/nl-NL.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/nl-NL.localization-bundle.js +11 -3
- package/esm/localization/bundles/nl-NL.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/pl-PL.json +11 -3
- package/esm/localization/bundles/pl-PL.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/pl-PL.localization-bundle.js +11 -3
- package/esm/localization/bundles/pl-PL.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/pt-BR.json +14 -6
- package/esm/localization/bundles/pt-BR.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/pt-BR.localization-bundle.js +14 -6
- package/esm/localization/bundles/pt-BR.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/pt-PT.json +13 -5
- package/esm/localization/bundles/pt-PT.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/pt-PT.localization-bundle.js +13 -5
- package/esm/localization/bundles/pt-PT.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/tr-TR.json +11 -3
- package/esm/localization/bundles/tr-TR.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/tr-TR.localization-bundle.js +11 -3
- package/esm/localization/bundles/tr-TR.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/zh-HK.json +13 -5
- package/esm/localization/bundles/zh-HK.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/zh-HK.localization-bundle.js +13 -5
- package/esm/localization/bundles/zh-HK.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/zh-Hans.json +12 -4
- package/esm/localization/bundles/zh-Hans.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/zh-Hans.localization-bundle.js +12 -4
- package/esm/localization/bundles/zh-Hans.localization-bundle.js.map +1 -1
- package/esm/localization/bundles/zh-Hant.json +12 -4
- package/esm/localization/bundles/zh-Hant.localization-bundle.d.ts +8 -0
- package/esm/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/zh-Hant.localization-bundle.js +12 -4
- package/esm/localization/bundles/zh-Hant.localization-bundle.js.map +1 -1
- package/package.json +17 -17
- package/styles/css/main.css +22 -91
- package/styles/css/main.css.map +1 -1
- package/styles/css/messages.css +23 -1
- package/styles/css/messages.css.map +1 -1
- package/styles/scss/main.scss +0 -1
- package/styles/scss/messages.scss +27 -1
- package/esm/components/messages/AgentIcon.d.ts +0 -9
- package/esm/components/messages/AgentIcon.d.ts.map +0 -1
- package/esm/components/messages/AgentIcon.js +0 -24
- package/esm/components/messages/AgentIcon.js.map +0 -1
- package/styles/css/agentIcon.css +0 -98
- package/styles/css/agentIcon.css.map +0 -1
- package/styles/scss/agentIcon.scss +0 -141
|
@@ -228,12 +228,23 @@
|
|
|
228
228
|
.gd-gen-ai-chat__messages__content--semantic-search {
|
|
229
229
|
display: grid;
|
|
230
230
|
|
|
231
|
+
header {
|
|
232
|
+
display: flex;
|
|
233
|
+
flex-direction: row;
|
|
234
|
+
align-items: center;
|
|
235
|
+
gap: 7px;
|
|
236
|
+
margin: 10px 0 5px 0;
|
|
237
|
+
font-size: 14px;
|
|
238
|
+
font-weight: 400;
|
|
239
|
+
color: var(--gd-palette-complementary-7);
|
|
240
|
+
}
|
|
241
|
+
|
|
231
242
|
.gd-ui-kit-treeview {
|
|
232
243
|
border: 1px solid kit-variables.$gd-border-color;
|
|
233
244
|
border-radius: 8px;
|
|
234
245
|
overflow-x: hidden;
|
|
235
246
|
overflow-y: auto;
|
|
236
|
-
margin:
|
|
247
|
+
margin: 0;
|
|
237
248
|
}
|
|
238
249
|
}
|
|
239
250
|
|
|
@@ -430,6 +441,12 @@
|
|
|
430
441
|
width: 100%;
|
|
431
442
|
}
|
|
432
443
|
|
|
444
|
+
&__legend {
|
|
445
|
+
color: var(--gd-palette-complementary-7);
|
|
446
|
+
line-height: 21px;
|
|
447
|
+
margin-bottom: 10px;
|
|
448
|
+
}
|
|
449
|
+
|
|
433
450
|
&__section {
|
|
434
451
|
display: flex;
|
|
435
452
|
flex-direction: column;
|
|
@@ -439,6 +456,11 @@
|
|
|
439
456
|
display: flex;
|
|
440
457
|
flex-direction: column;
|
|
441
458
|
gap: 10px;
|
|
459
|
+
|
|
460
|
+
.gd-label {
|
|
461
|
+
color: var(--gd-palette-complementary-8);
|
|
462
|
+
line-height: 19px;
|
|
463
|
+
}
|
|
442
464
|
}
|
|
443
465
|
|
|
444
466
|
&__textarea {
|
|
@@ -453,5 +475,9 @@
|
|
|
453
475
|
&::placeholder {
|
|
454
476
|
color: var(--gd-palette-complementary-5, #b0beca);
|
|
455
477
|
}
|
|
478
|
+
|
|
479
|
+
textarea {
|
|
480
|
+
min-height: 84px;
|
|
481
|
+
}
|
|
456
482
|
}
|
|
457
483
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SVGAttributes } from "react";
|
|
2
|
-
type AgentStateIconProps = SVGAttributes<SVGSVGElement> & {
|
|
3
|
-
loading?: boolean;
|
|
4
|
-
error?: boolean;
|
|
5
|
-
cancelled?: boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare function AgentIcon({ loading, error, cancelled, className, ...rest }: AgentStateIconProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=AgentIcon.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AgentIcon.d.ts","sourceRoot":"","sources":["../../../src/components/messages/AgentIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAW,MAAM,OAAO,CAAC;AAM/C,KAAK,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG;IACtD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,wBAAgB,SAAS,CAAC,EACtB,OAAe,EACf,KAAa,EACb,SAAiB,EACjB,SAAc,EACd,GAAG,IAAI,EACV,EAAE,mBAAmB,2CA4ErB"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
// (C) 2024-2025 GoodData Corporation
|
|
3
|
-
import { useMemo } from "react";
|
|
4
|
-
import cx from "classnames";
|
|
5
|
-
let INSTANCE_COUNTER = 0;
|
|
6
|
-
export function AgentIcon({ loading = false, error = false, cancelled = false, className = "", ...rest }) {
|
|
7
|
-
// A precaution in case there are multiple instances of the component on the same page
|
|
8
|
-
// In-line SVGs must obey the unique ID rule as any other HTML element
|
|
9
|
-
const instanceId = useMemo(() => INSTANCE_COUNTER++, []);
|
|
10
|
-
const isLoading = loading && !cancelled && !error;
|
|
11
|
-
// We are adding only one modifier class at a time
|
|
12
|
-
const cn = cx("gd-gen-ai-chat__agent_icon", {
|
|
13
|
-
// Error state has the top priority
|
|
14
|
-
"gd-gen-ai-chat__agent_icon--error": error,
|
|
15
|
-
// Cancelled state
|
|
16
|
-
"gd-gen-ai-chat__agent_icon--cancelled": !error && cancelled,
|
|
17
|
-
// Loading state
|
|
18
|
-
"gd-gen-ai-chat__agent_icon--loading": isLoading,
|
|
19
|
-
// The default state with animation on first appearance
|
|
20
|
-
"gd-gen-ai-chat__agent_icon--appear": !loading && !error && !cancelled,
|
|
21
|
-
}, className);
|
|
22
|
-
return (_jsxs("svg", { ...rest, className: cn, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsxs("g", { clipPath: `url(#clip_mask_${instanceId})`, children: [isLoading ? (_jsxs("g", { className: "gd-gen-ai-chat__agent_icon__circle", children: [_jsx("path", { d: "M 0 -16 A 16 16 0 0 1 0 16", stroke: `url(#first_half_${instanceId})` }), _jsx("path", { d: "M 0 16 A 16 16 0 0 1 0 -16", stroke: `url(#second_half_${instanceId})` })] })) : (_jsx("circle", { cx: "16", cy: "16", r: "16", className: "gd-gen-ai-chat__agent_icon__background" })), _jsx("path", { className: "gd-gen-ai-chat__agent_icon__star", d: "M16.2317 7.76912C16.2737 7.51389 16.6407 7.5139 16.6827 7.76913L17.1108 10.368C17.493 12.6883 19.3116 14.507 21.632 14.8892L24.2308 15.3172C24.4861 15.3593 24.4861 15.7263 24.2308 15.7683L21.632 16.1964C19.3116 16.5786 17.493 18.3972 17.1108 20.7176L16.6827 23.3164C16.6407 23.5716 16.2737 23.5716 16.2317 23.3164L15.8036 20.7176C15.4214 18.3972 13.6027 16.5786 11.2824 16.1964L8.68355 15.7683C8.42832 15.7263 8.42832 15.3593 8.68355 15.3172L11.2824 14.8892C13.6027 14.507 15.4214 12.6883 15.8036 10.368L16.2317 7.76912Z" }), _jsx("path", { className: "gd-gen-ai-chat__agent_icon__star gd-gen-ai-chat__agent_icon__star--flickr", d: "M9.87936 20.2796C9.91251 20.0783 10.2019 20.0783 10.235 20.2796C10.3606 21.0419 10.9581 21.6394 11.7204 21.765C11.9217 21.7981 11.9217 22.0875 11.7204 22.1206C10.9581 22.2462 10.3606 22.8437 10.235 23.606C10.2019 23.8073 9.91251 23.8073 9.87936 23.606C9.75379 22.8437 9.15629 22.2462 8.39396 22.1206C8.19271 22.0875 8.19271 21.7981 8.39396 21.765C9.15629 21.6394 9.75379 21.0419 9.87936 20.2796Z" }), _jsx("path", { className: "gd-gen-ai-chat__agent_icon__star gd-gen-ai-chat__agent_icon__star--flickr gd-gen-ai-chat__agent_icon__star--flickr--delay", d: "M22.6793 7.47953C22.7124 7.27828 23.0018 7.27828 23.0349 7.47953C23.1605 8.24186 23.758 8.83936 24.5203 8.96493C24.7216 8.99808 24.7216 9.28744 24.5203 9.32059C23.758 9.44616 23.1605 10.0437 23.0349 10.806C23.0018 11.0072 22.7124 11.0072 22.6793 10.806C22.5537 10.0437 21.9562 9.44616 21.1939 9.32059C20.9926 9.28744 20.9926 8.99808 21.1939 8.96493C21.9562 8.83936 22.5537 8.24186 22.6793 7.47953Z" })] }), _jsxs("defs", { children: [_jsxs("linearGradient", { id: `first_half_${instanceId}`, gradientUnits: "objectBoundingBox", x1: "0", y1: "1", x2: "0", y2: "0", children: [_jsx("stop", { offset: "0%", className: "gd-gen-ai-chat__agent_icon__grad--from" }), _jsx("stop", { offset: "100%", className: "gd-gen-ai-chat__agent_icon__grad--mid" })] }), _jsxs("linearGradient", { className: "gd-gen-ai-chat__agent_icon__grad2", id: `second_half_${instanceId}`, gradientUnits: "objectBoundingBox", x1: "0", y1: "0", x2: "0", y2: "1", children: [_jsx("stop", { offset: "0%", className: "gd-gen-ai-chat__agent_icon__grad--mid" }), _jsx("stop", { offset: "100%", className: "gd-gen-ai-chat__agent_icon__grad--to" })] }), _jsx("clipPath", { id: `clip_mask_${instanceId}`, children: _jsx("rect", { width: "32", height: "32", rx: "16" }) })] })] }));
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=AgentIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AgentIcon.js","sourceRoot":"","sources":["../../../src/components/messages/AgentIcon.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAiB,OAAO,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,IAAI,gBAAgB,GAAG,CAAC,CAAC;AAQzB,MAAM,UAAU,SAAS,CAAC,EACtB,OAAO,GAAG,KAAK,EACf,KAAK,GAAG,KAAK,EACb,SAAS,GAAG,KAAK,EACjB,SAAS,GAAG,EAAE,EACd,GAAG,IAAI,EACW;IAClB,sFAAsF;IACtF,sEAAsE;IACtE,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,gBAAgB,EAAE,EAAE,EAAE,CAAC,CAAC;IACzD,MAAM,SAAS,GAAG,OAAO,IAAI,CAAC,SAAS,IAAI,CAAC,KAAK,CAAC;IAElD,kDAAkD;IAClD,MAAM,EAAE,GAAG,EAAE,CACT,4BAA4B,EAC5B;QACI,mCAAmC;QACnC,mCAAmC,EAAE,KAAK;QAC1C,kBAAkB;QAClB,uCAAuC,EAAE,CAAC,KAAK,IAAI,SAAS;QAC5D,gBAAgB;QAChB,qCAAqC,EAAE,SAAS;QAChD,uDAAuD;QACvD,oCAAoC,EAAE,CAAC,OAAO,IAAI,CAAC,KAAK,IAAI,CAAC,SAAS;KACzE,EACD,SAAS,CACZ,CAAC;IAEF,OAAO,CACH,kBAAS,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,aAC5F,aAAG,QAAQ,EAAE,kBAAkB,UAAU,GAAG,aACvC,SAAS,CAAC,CAAC,CAAC,CACT,aAAG,SAAS,EAAC,oCAAoC,aAC7C,eAAM,CAAC,EAAC,4BAA4B,EAAC,MAAM,EAAE,mBAAmB,UAAU,GAAG,GAAI,EACjF,eAAM,CAAC,EAAC,4BAA4B,EAAC,MAAM,EAAE,oBAAoB,UAAU,GAAG,GAAI,IAClF,CACP,CAAC,CAAC,CAAC,CACA,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,SAAS,EAAC,wCAAwC,GAAG,CACvF,EACD,eACI,SAAS,EAAC,kCAAkC,EAC5C,CAAC,EAAC,0gBAA0gB,GAC9gB,EACF,eACI,SAAS,EAAC,2EAA2E,EACrF,CAAC,EAAC,6YAA6Y,GACjZ,EACF,eACI,SAAS,EAAC,2HAA2H,EACrI,CAAC,EAAC,+YAA+Y,GACnZ,IACF,EACJ,2BACI,0BACI,EAAE,EAAE,cAAc,UAAU,EAAE,EAC9B,aAAa,EAAC,mBAAmB,EACjC,EAAE,EAAC,GAAG,EACN,EAAE,EAAC,GAAG,EACN,EAAE,EAAC,GAAG,EACN,EAAE,EAAC,GAAG,aAEN,eAAM,MAAM,EAAC,IAAI,EAAC,SAAS,EAAC,wCAAwC,GAAG,EACvE,eAAM,MAAM,EAAC,MAAM,EAAC,SAAS,EAAC,uCAAuC,GAAG,IAC3D,EACjB,0BACI,SAAS,EAAC,mCAAmC,EAC7C,EAAE,EAAE,eAAe,UAAU,EAAE,EAC/B,aAAa,EAAC,mBAAmB,EACjC,EAAE,EAAC,GAAG,EACN,EAAE,EAAC,GAAG,EACN,EAAE,EAAC,GAAG,EACN,EAAE,EAAC,GAAG,aAEN,eAAM,MAAM,EAAC,IAAI,EAAC,SAAS,EAAC,uCAAuC,GAAG,EACtE,eAAM,MAAM,EAAC,MAAM,EAAC,SAAS,EAAC,sCAAsC,GAAG,IAC1D,EACjB,mBAAU,EAAE,EAAE,aAAa,UAAU,EAAE,YACnC,eAAM,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,GAAG,GAChC,IACR,IACL,CACT,CAAC;AACN,CAAC"}
|
package/styles/css/agentIcon.css
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/* allow vendor prefixes and disable max length */
|
|
2
|
-
/* allow vendor prefixes and disable max length */
|
|
3
|
-
/* ==========================================================================
|
|
4
|
-
Mixins, silent classes etc.
|
|
5
|
-
========================================================================== */
|
|
6
|
-
.gd-gen-ai-chat__agent_icon {
|
|
7
|
-
width: 32px;
|
|
8
|
-
height: 32px;
|
|
9
|
-
flex-shrink: 0;
|
|
10
|
-
}
|
|
11
|
-
.gd-gen-ai-chat__agent_icon__background {
|
|
12
|
-
fill: var(--gd-palette-primary-dimmed, #e8f7fc);
|
|
13
|
-
}
|
|
14
|
-
.gd-gen-ai-chat__agent_icon__circle {
|
|
15
|
-
fill: none;
|
|
16
|
-
stroke-width: 2px;
|
|
17
|
-
transform: translate(16px, 16px);
|
|
18
|
-
}
|
|
19
|
-
.gd-gen-ai-chat__agent_icon__star {
|
|
20
|
-
fill: var(--gd-palette-primary-base, #14b2e2);
|
|
21
|
-
}
|
|
22
|
-
.gd-gen-ai-chat__agent_icon--loading .gd-gen-ai-chat__agent_icon__circle {
|
|
23
|
-
animation: gd-gen-ai-chat__agent_icon--rotation 2s linear infinite;
|
|
24
|
-
}
|
|
25
|
-
.gd-gen-ai-chat__agent_icon--loading .gd-gen-ai-chat__agent_icon__star--flickr {
|
|
26
|
-
animation: gd-gen-ai-chat__agent_icon--flickr 2s linear infinite;
|
|
27
|
-
}
|
|
28
|
-
.gd-gen-ai-chat__agent_icon--loading .gd-gen-ai-chat__agent_icon__star--flickr--delay {
|
|
29
|
-
animation-delay: 0.6666666667s;
|
|
30
|
-
}
|
|
31
|
-
.gd-gen-ai-chat__agent_icon--appear .gd-gen-ai-chat__agent_icon__background {
|
|
32
|
-
animation: gd-gen-ai-chat__agent_icon--appear 0.3s ease-out;
|
|
33
|
-
}
|
|
34
|
-
.gd-gen-ai-chat__agent_icon--error .gd-gen-ai-chat__agent_icon__background {
|
|
35
|
-
fill: none;
|
|
36
|
-
stroke-width: 1px;
|
|
37
|
-
stroke: var(--gd-palette-error-dimmed, #fcedec);
|
|
38
|
-
animation: gd-gen-ai-chat__agent_icon--appear--error 0.3s ease-out;
|
|
39
|
-
}
|
|
40
|
-
.gd-gen-ai-chat__agent_icon--cancelled .gd-gen-ai-chat__agent_icon__background {
|
|
41
|
-
fill: var(--gd-palette-complementary-0-from-theme, #fcfcfd);
|
|
42
|
-
}
|
|
43
|
-
.gd-gen-ai-chat__agent_icon--cancelled .gd-gen-ai-chat__agent_icon__star {
|
|
44
|
-
fill: var(--gd-palette-complementary-5, #b0beca);
|
|
45
|
-
}
|
|
46
|
-
.gd-gen-ai-chat__agent_icon__grad--from {
|
|
47
|
-
stop-color: var(--gd-palette-primary-base, #14b2e2);
|
|
48
|
-
}
|
|
49
|
-
.gd-gen-ai-chat__agent_icon__grad--mid {
|
|
50
|
-
stop-color: color-mix(in sRGB, var(--gd-palette-primary-base, #14b2e2) 50%, var(--gd-palette-primary-dimmed, #e8f7fc) 50%);
|
|
51
|
-
}
|
|
52
|
-
.gd-gen-ai-chat__agent_icon__grad--to {
|
|
53
|
-
stop-color: var(--gd-palette-primary-base-t80, rgba(20, 178, 226, 0.2));
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@keyframes gd-gen-ai-chat__agent_icon--rotation {
|
|
57
|
-
0% {
|
|
58
|
-
transform: translate(16px, 16px) rotate(0deg);
|
|
59
|
-
}
|
|
60
|
-
100% {
|
|
61
|
-
transform: translate(16px, 16px) rotate(360deg);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
@keyframes gd-gen-ai-chat__agent_icon--flickr {
|
|
65
|
-
0% {
|
|
66
|
-
opacity: 1;
|
|
67
|
-
}
|
|
68
|
-
50% {
|
|
69
|
-
opacity: 0;
|
|
70
|
-
}
|
|
71
|
-
100% {
|
|
72
|
-
opacity: 1;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
@keyframes gd-gen-ai-chat__agent_icon--appear {
|
|
76
|
-
0% {
|
|
77
|
-
fill: var(--gd-palette-primary-dimmed, #e8f7fc);
|
|
78
|
-
}
|
|
79
|
-
50% {
|
|
80
|
-
fill: var(--gd-palette-primary-base, #14b2e2);
|
|
81
|
-
}
|
|
82
|
-
100% {
|
|
83
|
-
fill: var(--gd-palette-primary-dimmed, #e8f7fc);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
@keyframes gd-gen-ai-chat__agent_icon--appear--error {
|
|
87
|
-
0% {
|
|
88
|
-
fill: var(--gd-palette-complementary-0, #fff);
|
|
89
|
-
}
|
|
90
|
-
50% {
|
|
91
|
-
fill: var(--gd-palette-error-dimmed, #fcedec);
|
|
92
|
-
}
|
|
93
|
-
100% {
|
|
94
|
-
fill: var(--gd-palette-complementary-0, #fff);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/*# sourceMappingURL=agentIcon.css.map */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../node_modules/@gooddata/sdk-ui-kit/styles/scss/mixins.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/Form/_mixins.scss","../scss/agentIcon.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss"],"names":[],"mappings":"AA0HA;AA4DA;AClLA;AAAA;AAAA;ACWA;EACI;EACA;EACA;;AAEA;EACI,MCuBoB;;ADpBxB;EACI;EACA;EACA;;AAGJ;EACI,MCUkB;;ADNlB;EACI;;AAGJ;EAGI;;AAEA;EACI;;AAMR;EACI;;AAKJ;EACI;EACA;EACA;EACA;;AAKJ;EACI,MChDK;;ADmDT;EACI,MClDQ;;ADuDZ;EACI,YCpCc;;ADuClB;EACI,YAxEuB;;AA2E3B;EACI,YCrCkB;;;AD0C9B;EACI;IACI;;EAGJ;IACI;;;AAIR;EACI;IACI;;EAGJ;IACI;;EAGJ;IACI;;;AAIR;EACI;IACI,MCxEoB;;ED2ExB;IACI,MC/EkB;;EDkFtB;IACI,MChFoB;;;ADoF5B;EACI;IACI,MChGc;;EDmGlB;IACI,MC1EkB;;ED6EtB;IACI,MCxGc","file":"agentIcon.css"}
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
// (C) 2024-2025 GoodData Corporation
|
|
2
|
-
|
|
3
|
-
@use "sass:color";
|
|
4
|
-
@use "variables" as variables;
|
|
5
|
-
@use "@gooddata/sdk-ui-kit/styles/scss/variables" as kit-variables;
|
|
6
|
-
@use "@gooddata/sdk-ui-kit/styles/scss/mixins" as kit-mixins;
|
|
7
|
-
@use "@gooddata/sdk-ui-kit/styles/scss/Form/mixins" as form-mixins;
|
|
8
|
-
|
|
9
|
-
// Needed for spinner as a mid-point color
|
|
10
|
-
$gd-palette-primary-base-midpoint: color-mix(
|
|
11
|
-
in sRGB,
|
|
12
|
-
kit-variables.$gd-palette-primary-base 50%,
|
|
13
|
-
kit-variables.$gd-palette-primary-dimmed 50%
|
|
14
|
-
);
|
|
15
|
-
|
|
16
|
-
.gd-gen-ai-chat__agent_icon {
|
|
17
|
-
width: 32px;
|
|
18
|
-
height: 32px;
|
|
19
|
-
flex-shrink: 0;
|
|
20
|
-
|
|
21
|
-
&__background {
|
|
22
|
-
fill: kit-variables.$gd-palette-primary-dimmed;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&__circle {
|
|
26
|
-
fill: none;
|
|
27
|
-
stroke-width: 2px;
|
|
28
|
-
transform: translate(16px, 16px);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&__star {
|
|
32
|
-
fill: kit-variables.$gd-palette-primary-base;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&--loading & {
|
|
36
|
-
&__circle {
|
|
37
|
-
animation: gd-gen-ai-chat__agent_icon--rotation 2s linear infinite;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&__star--flickr {
|
|
41
|
-
$duration: 2s;
|
|
42
|
-
|
|
43
|
-
animation: gd-gen-ai-chat__agent_icon--flickr $duration linear infinite;
|
|
44
|
-
|
|
45
|
-
&--delay {
|
|
46
|
-
animation-delay: calc($duration / 3);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&--appear & {
|
|
52
|
-
&__background {
|
|
53
|
-
animation: gd-gen-ai-chat__agent_icon--appear 0.3s ease-out;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&--error & {
|
|
58
|
-
&__background {
|
|
59
|
-
fill: none;
|
|
60
|
-
stroke-width: 1px;
|
|
61
|
-
stroke: kit-variables.$gd-palette-error-dimmed;
|
|
62
|
-
animation: gd-gen-ai-chat__agent_icon--appear--error 0.3s ease-out;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&--cancelled & {
|
|
67
|
-
&__background {
|
|
68
|
-
fill: kit-variables.$gd-color-light;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&__star {
|
|
72
|
-
fill: kit-variables.$gd-color-disabled;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&__grad {
|
|
77
|
-
&--from {
|
|
78
|
-
stop-color: kit-variables.$gd-palette-primary-base;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&--mid {
|
|
82
|
-
stop-color: $gd-palette-primary-base-midpoint;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&--to {
|
|
86
|
-
stop-color: kit-variables.$gd-palette-primary-base-t80;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
@keyframes gd-gen-ai-chat__agent_icon--rotation {
|
|
92
|
-
0% {
|
|
93
|
-
transform: translate(16px, 16px) rotate(0deg);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
100% {
|
|
97
|
-
transform: translate(16px, 16px) rotate(360deg);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
@keyframes gd-gen-ai-chat__agent_icon--flickr {
|
|
102
|
-
0% {
|
|
103
|
-
opacity: 1;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
50% {
|
|
107
|
-
opacity: 0;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
100% {
|
|
111
|
-
opacity: 1;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
@keyframes gd-gen-ai-chat__agent_icon--appear {
|
|
116
|
-
0% {
|
|
117
|
-
fill: kit-variables.$gd-palette-primary-dimmed;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
50% {
|
|
121
|
-
fill: kit-variables.$gd-palette-primary-base;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
100% {
|
|
125
|
-
fill: kit-variables.$gd-palette-primary-dimmed;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
@keyframes gd-gen-ai-chat__agent_icon--appear--error {
|
|
130
|
-
0% {
|
|
131
|
-
fill: kit-variables.$gd-color-text-light;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
50% {
|
|
135
|
-
fill: kit-variables.$gd-palette-error-dimmed;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
100% {
|
|
139
|
-
fill: kit-variables.$gd-color-text-light;
|
|
140
|
-
}
|
|
141
|
-
}
|