@gooddata/sdk-ui-gen-ai 11.69.0-alpha.3 → 11.69.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/NOTICE +250 -51
- package/esm/components/GenAIChatOverlay.js +4 -4
- package/esm/components/Input.d.ts.map +1 -1
- package/esm/components/Input.js +1 -2
- package/esm/components/customized/LandingQuestion.js +1 -1
- package/esm/components/customized/MessageTextContent.js +1 -1
- package/esm/components/customized/types.d.ts +5 -0
- package/esm/components/customized/types.d.ts.map +1 -1
- package/esm/components/messages/ConversationItemContents.d.ts +1 -1
- package/esm/components/messages/ConversationItemContents.d.ts.map +1 -1
- package/esm/components/messages/ConversationItemContents.js +2 -2
- package/esm/components/messages/contents/Markdown.d.ts.map +1 -1
- package/esm/components/messages/contents/Markdown.js +22 -4
- package/esm/components/messages/conversationContents/ConversationVisualisation.d.ts.map +1 -1
- package/esm/components/messages/conversationContents/ConversationVisualisation.js +19 -4
- package/esm/components/messages/conversationContents/ConversationVisualizationContent.d.ts.map +1 -1
- package/esm/components/messages/conversationContents/ConversationVisualizationContent.js +12 -2
- package/esm/components/utils/animation.d.ts +3 -0
- package/esm/components/utils/animation.d.ts.map +1 -1
- package/esm/components/utils/animation.js +6 -56
- package/esm/components/utils/markdownUtils.js +2 -2
- package/esm/copilot/CopilotHandler.d.ts +1 -0
- package/esm/copilot/CopilotHandler.d.ts.map +1 -1
- package/esm/copilot/CopilotHandler.js +12 -2
- package/esm/copilot/useDashboardCopilot.d.ts +56 -0
- package/esm/copilot/useDashboardCopilot.d.ts.map +1 -0
- package/esm/copilot/useDashboardCopilot.js +268 -0
- package/esm/index.d.ts +1 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/sdk-ui-gen-ai.d.ts +59 -0
- package/package.json +22 -23
- package/styles/css/animation.css +3 -31
- package/styles/css/animation.css.map +1 -1
- package/styles/css/main.css +28 -50
- package/styles/css/main.css.map +1 -1
- package/styles/css/messages.css +1 -1
- package/styles/css/window.css +0 -6
- package/styles/css/window.css.map +1 -1
- package/styles/scss/animation.scss +3 -36
- package/styles/scss/messages.scss +1 -1
- package/styles/scss/window.scss +0 -8
package/styles/css/main.css
CHANGED
|
@@ -28,32 +28,36 @@
|
|
|
28
28
|
--gd-message-information-borderWidth: 0;
|
|
29
29
|
--gd-message-information-borderRadius: 3px;
|
|
30
30
|
--gd-message-information-dropShadow: none;
|
|
31
|
-
--gd-message-information-closeButtonColor:
|
|
31
|
+
--gd-message-information-closeButtonColor: currentColor;
|
|
32
32
|
--gd-message-information-linkButtonColor: currentColor;
|
|
33
|
+
--gd-message-information-separatorLineColor: color-mix(in srgb, currentColor 30%, transparent);
|
|
33
34
|
--gd-message-success-textColor: var(--gd-palette-success-base, #00c18d);
|
|
34
35
|
--gd-message-success-backgroundColor: var(--gd-palette-success-base-t85, rgba(0, 193, 141, 0.15));
|
|
35
36
|
--gd-message-success-borderColor: transparent;
|
|
36
37
|
--gd-message-success-borderWidth: 0;
|
|
37
38
|
--gd-message-success-borderRadius: 3px;
|
|
38
39
|
--gd-message-success-dropShadow: none;
|
|
39
|
-
--gd-message-success-closeButtonColor:
|
|
40
|
+
--gd-message-success-closeButtonColor: currentColor;
|
|
40
41
|
--gd-message-success-linkButtonColor: currentColor;
|
|
42
|
+
--gd-message-success-separatorLineColor: color-mix(in srgb, currentColor 30%, transparent);
|
|
41
43
|
--gd-message-warning-textColor: var(--gd-palette-warning-base, #f18600);
|
|
42
44
|
--gd-message-warning-backgroundColor: var(--gd-palette-warning-base-t85, rgba(241, 134, 0, 0.15));
|
|
43
45
|
--gd-message-warning-borderColor: transparent;
|
|
44
46
|
--gd-message-warning-borderWidth: 0;
|
|
45
47
|
--gd-message-warning-borderRadius: 3px;
|
|
46
48
|
--gd-message-warning-dropShadow: none;
|
|
47
|
-
--gd-message-warning-closeButtonColor:
|
|
49
|
+
--gd-message-warning-closeButtonColor: currentColor;
|
|
48
50
|
--gd-message-warning-linkButtonColor: currentColor;
|
|
51
|
+
--gd-message-warning-separatorLineColor: color-mix(in srgb, currentColor 30%, transparent);
|
|
49
52
|
--gd-message-error-textColor: var(--gd-palette-error-base, #e54d42);
|
|
50
53
|
--gd-message-error-backgroundColor: var(--gd-palette-error-base-t85, rgba(229, 77, 66, 0.15));
|
|
51
54
|
--gd-message-error-borderColor: transparent;
|
|
52
55
|
--gd-message-error-borderWidth: 0;
|
|
53
56
|
--gd-message-error-borderRadius: 3px;
|
|
54
57
|
--gd-message-error-dropShadow: none;
|
|
55
|
-
--gd-message-error-closeButtonColor:
|
|
58
|
+
--gd-message-error-closeButtonColor: currentColor;
|
|
56
59
|
--gd-message-error-linkButtonColor: currentColor;
|
|
60
|
+
--gd-message-error-separatorLineColor: color-mix(in srgb, currentColor 30%, transparent);
|
|
57
61
|
--gd-toastMessage-information-textColor: var(--gd-palette-complementary-0, #fff);
|
|
58
62
|
--gd-toastMessage-information-backgroundColor: var(
|
|
59
63
|
--gd-palette-info-base-t02,
|
|
@@ -398,32 +402,36 @@
|
|
|
398
402
|
--gd-message-information-borderWidth: 0;
|
|
399
403
|
--gd-message-information-borderRadius: 3px;
|
|
400
404
|
--gd-message-information-dropShadow: none;
|
|
401
|
-
--gd-message-information-closeButtonColor:
|
|
405
|
+
--gd-message-information-closeButtonColor: currentColor;
|
|
402
406
|
--gd-message-information-linkButtonColor: currentColor;
|
|
407
|
+
--gd-message-information-separatorLineColor: color-mix(in srgb, currentColor 30%, transparent);
|
|
403
408
|
--gd-message-success-textColor: var(--gd-palette-success-base, #00c18d);
|
|
404
409
|
--gd-message-success-backgroundColor: var(--gd-palette-success-base-t85, rgba(0, 193, 141, 0.15));
|
|
405
410
|
--gd-message-success-borderColor: transparent;
|
|
406
411
|
--gd-message-success-borderWidth: 0;
|
|
407
412
|
--gd-message-success-borderRadius: 3px;
|
|
408
413
|
--gd-message-success-dropShadow: none;
|
|
409
|
-
--gd-message-success-closeButtonColor:
|
|
414
|
+
--gd-message-success-closeButtonColor: currentColor;
|
|
410
415
|
--gd-message-success-linkButtonColor: currentColor;
|
|
416
|
+
--gd-message-success-separatorLineColor: color-mix(in srgb, currentColor 30%, transparent);
|
|
411
417
|
--gd-message-warning-textColor: var(--gd-palette-warning-base, #f18600);
|
|
412
418
|
--gd-message-warning-backgroundColor: var(--gd-palette-warning-base-t85, rgba(241, 134, 0, 0.15));
|
|
413
419
|
--gd-message-warning-borderColor: transparent;
|
|
414
420
|
--gd-message-warning-borderWidth: 0;
|
|
415
421
|
--gd-message-warning-borderRadius: 3px;
|
|
416
422
|
--gd-message-warning-dropShadow: none;
|
|
417
|
-
--gd-message-warning-closeButtonColor:
|
|
423
|
+
--gd-message-warning-closeButtonColor: currentColor;
|
|
418
424
|
--gd-message-warning-linkButtonColor: currentColor;
|
|
425
|
+
--gd-message-warning-separatorLineColor: color-mix(in srgb, currentColor 30%, transparent);
|
|
419
426
|
--gd-message-error-textColor: var(--gd-palette-error-base, #e54d42);
|
|
420
427
|
--gd-message-error-backgroundColor: var(--gd-palette-error-base-t85, rgba(229, 77, 66, 0.15));
|
|
421
428
|
--gd-message-error-borderColor: transparent;
|
|
422
429
|
--gd-message-error-borderWidth: 0;
|
|
423
430
|
--gd-message-error-borderRadius: 3px;
|
|
424
431
|
--gd-message-error-dropShadow: none;
|
|
425
|
-
--gd-message-error-closeButtonColor:
|
|
432
|
+
--gd-message-error-closeButtonColor: currentColor;
|
|
426
433
|
--gd-message-error-linkButtonColor: currentColor;
|
|
434
|
+
--gd-message-error-separatorLineColor: color-mix(in srgb, currentColor 30%, transparent);
|
|
427
435
|
--gd-toastMessage-information-textColor: var(--gd-palette-complementary-0, #fff);
|
|
428
436
|
--gd-toastMessage-information-backgroundColor: var(
|
|
429
437
|
--gd-palette-info-base-t02,
|
|
@@ -11984,32 +11992,36 @@ button.gd-list-item {
|
|
|
11984
11992
|
--gd-message-information-borderWidth: 0;
|
|
11985
11993
|
--gd-message-information-borderRadius: 3px;
|
|
11986
11994
|
--gd-message-information-dropShadow: none;
|
|
11987
|
-
--gd-message-information-closeButtonColor:
|
|
11995
|
+
--gd-message-information-closeButtonColor: currentColor;
|
|
11988
11996
|
--gd-message-information-linkButtonColor: currentColor;
|
|
11997
|
+
--gd-message-information-separatorLineColor: color-mix(in srgb, currentColor 30%, transparent);
|
|
11989
11998
|
--gd-message-success-textColor: var(--gd-palette-success-base, #00c18d);
|
|
11990
11999
|
--gd-message-success-backgroundColor: var(--gd-palette-success-base-t85, rgba(0, 193, 141, 0.15));
|
|
11991
12000
|
--gd-message-success-borderColor: transparent;
|
|
11992
12001
|
--gd-message-success-borderWidth: 0;
|
|
11993
12002
|
--gd-message-success-borderRadius: 3px;
|
|
11994
12003
|
--gd-message-success-dropShadow: none;
|
|
11995
|
-
--gd-message-success-closeButtonColor:
|
|
12004
|
+
--gd-message-success-closeButtonColor: currentColor;
|
|
11996
12005
|
--gd-message-success-linkButtonColor: currentColor;
|
|
12006
|
+
--gd-message-success-separatorLineColor: color-mix(in srgb, currentColor 30%, transparent);
|
|
11997
12007
|
--gd-message-warning-textColor: var(--gd-palette-warning-base, #f18600);
|
|
11998
12008
|
--gd-message-warning-backgroundColor: var(--gd-palette-warning-base-t85, rgba(241, 134, 0, 0.15));
|
|
11999
12009
|
--gd-message-warning-borderColor: transparent;
|
|
12000
12010
|
--gd-message-warning-borderWidth: 0;
|
|
12001
12011
|
--gd-message-warning-borderRadius: 3px;
|
|
12002
12012
|
--gd-message-warning-dropShadow: none;
|
|
12003
|
-
--gd-message-warning-closeButtonColor:
|
|
12013
|
+
--gd-message-warning-closeButtonColor: currentColor;
|
|
12004
12014
|
--gd-message-warning-linkButtonColor: currentColor;
|
|
12015
|
+
--gd-message-warning-separatorLineColor: color-mix(in srgb, currentColor 30%, transparent);
|
|
12005
12016
|
--gd-message-error-textColor: var(--gd-palette-error-base, #e54d42);
|
|
12006
12017
|
--gd-message-error-backgroundColor: var(--gd-palette-error-base-t85, rgba(229, 77, 66, 0.15));
|
|
12007
12018
|
--gd-message-error-borderColor: transparent;
|
|
12008
12019
|
--gd-message-error-borderWidth: 0;
|
|
12009
12020
|
--gd-message-error-borderRadius: 3px;
|
|
12010
12021
|
--gd-message-error-dropShadow: none;
|
|
12011
|
-
--gd-message-error-closeButtonColor:
|
|
12022
|
+
--gd-message-error-closeButtonColor: currentColor;
|
|
12012
12023
|
--gd-message-error-linkButtonColor: currentColor;
|
|
12024
|
+
--gd-message-error-separatorLineColor: color-mix(in srgb, currentColor 30%, transparent);
|
|
12013
12025
|
--gd-toastMessage-information-textColor: var(--gd-palette-complementary-0, #fff);
|
|
12014
12026
|
--gd-toastMessage-information-backgroundColor: var(
|
|
12015
12027
|
--gd-palette-info-base-t02,
|
|
@@ -23996,7 +24008,7 @@ button.gd-list-item {
|
|
|
23996
24008
|
display: inline-flex;
|
|
23997
24009
|
}
|
|
23998
24010
|
.gd-gen-ai-chat__messages__conversation--user .gd-gen-ai-chat__conversation__item__content--text p {
|
|
23999
|
-
white-space: pre-
|
|
24011
|
+
white-space: pre-wrap;
|
|
24000
24012
|
}
|
|
24001
24013
|
.gd-gen-ai-chat__messages__conversation--assistant {
|
|
24002
24014
|
justify-content: flex-start;
|
|
@@ -24788,12 +24800,6 @@ button.gd-list-item {
|
|
|
24788
24800
|
.gd-gen-ai-chat__window--fullscreen .gd-gen-ai-chat__messages__visualization__wrapper {
|
|
24789
24801
|
height: 300px;
|
|
24790
24802
|
}
|
|
24791
|
-
.gd-gen-ai-chat__window--right {
|
|
24792
|
-
margin: 0 1em 1em 0;
|
|
24793
|
-
}
|
|
24794
|
-
.gd-gen-ai-chat__window--left {
|
|
24795
|
-
margin: 0 0 1em 1em;
|
|
24796
|
-
}
|
|
24797
24803
|
.gd-gen-ai-chat__window__header {
|
|
24798
24804
|
flex-shrink: 0;
|
|
24799
24805
|
height: 45px;
|
|
@@ -25036,18 +25042,6 @@ button.gd-list-item {
|
|
|
25036
25042
|
margin-bottom: 0;
|
|
25037
25043
|
}
|
|
25038
25044
|
|
|
25039
|
-
@keyframes ai-flip-y {
|
|
25040
|
-
0% {
|
|
25041
|
-
transform: rotateY(0deg);
|
|
25042
|
-
animation-timing-function: cubic-bezier(0.55, 0, 0.2, 1);
|
|
25043
|
-
}
|
|
25044
|
-
14% {
|
|
25045
|
-
transform: rotateY(180deg);
|
|
25046
|
-
}
|
|
25047
|
-
100% {
|
|
25048
|
-
transform: rotateY(180deg);
|
|
25049
|
-
}
|
|
25050
|
-
}
|
|
25051
25045
|
@keyframes gd-gen-ai-heading-old {
|
|
25052
25046
|
0% {
|
|
25053
25047
|
opacity: 1;
|
|
@@ -25069,26 +25063,10 @@ button.gd-list-item {
|
|
|
25069
25063
|
}
|
|
25070
25064
|
}
|
|
25071
25065
|
.gd-gen-ai-chat__animations--loader {
|
|
25072
|
-
|
|
25066
|
+
display: flex;
|
|
25073
25067
|
flex-shrink: 0;
|
|
25074
|
-
|
|
25075
|
-
|
|
25076
|
-
position: absolute;
|
|
25077
|
-
left: 50%;
|
|
25078
|
-
top: 50%;
|
|
25079
|
-
transform: translate(-50%, -50%);
|
|
25080
|
-
}
|
|
25081
|
-
.gd-gen-ai-chat__animations--loader--flip {
|
|
25082
|
-
transform-origin: center center;
|
|
25083
|
-
animation: ai-flip-y 4s linear infinite;
|
|
25084
|
-
}
|
|
25085
|
-
.gd-gen-ai-chat__animations--loader--svg {
|
|
25086
|
-
display: block;
|
|
25087
|
-
}
|
|
25088
|
-
.gd-gen-ai-chat__animations--loader--sparkle {
|
|
25089
|
-
position: absolute;
|
|
25090
|
-
transform-origin: center center;
|
|
25091
|
-
transform: translate(-50%, -50%);
|
|
25068
|
+
align-items: center;
|
|
25069
|
+
justify-content: center;
|
|
25092
25070
|
}
|
|
25093
25071
|
|
|
25094
25072
|
.gd-gen-ai-chat__animations--headings {
|