@ckeditor/ckeditor5-ai 49.0.0-alpha.5 → 49.0.0-alpha.7
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/dist/aiballoon/aiballoon.d.ts +4 -0
- package/dist/aichat/aichatui.d.ts +9 -5
- package/dist/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.d.ts +7 -0
- package/dist/aireviewcore/model/aireviewcheckrun.d.ts +14 -0
- package/dist/index-editor.css +23 -25
- package/dist/index.css +23 -25
- package/dist/index.js +19 -19
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +30 -30
|
@@ -64,6 +64,10 @@ export declare class AIBalloon extends ContextPlugin {
|
|
|
64
64
|
* Closes the currently open AI Balloon dialog.
|
|
65
65
|
*/
|
|
66
66
|
close(): void;
|
|
67
|
+
/**
|
|
68
|
+
* @inheritDoc
|
|
69
|
+
*/
|
|
70
|
+
override destroy(): void;
|
|
67
71
|
}
|
|
68
72
|
/**
|
|
69
73
|
* Event fired when the AI balloon dialog is closed. As opposed to `beforeDialogClosed`, this event is fired
|
|
@@ -96,6 +96,9 @@ export declare class AIChatUI extends ContextPlugin {
|
|
|
96
96
|
addFeedItemAISuggestion(reply: AIReply): Promise<void>;
|
|
97
97
|
/**
|
|
98
98
|
* Adds an interaction header to the chat feed.
|
|
99
|
+
*
|
|
100
|
+
* The header stays hidden until the reply that follows it starts streaming (see {@link #addFeedItemAIReply}), or until the
|
|
101
|
+
* interaction ends, whichever comes first. It is revealed with {@link #showFeedInteractionHeader}.
|
|
99
102
|
*/
|
|
100
103
|
addFeedInteractionHeader(interaction: AIChatInteraction, capabilities: AICapabilitiesConfig): Promise<void>;
|
|
101
104
|
/**
|
|
@@ -111,12 +114,13 @@ export declare class AIChatUI extends ContextPlugin {
|
|
|
111
114
|
*/
|
|
112
115
|
hasFeedItem(id: string): boolean;
|
|
113
116
|
/**
|
|
114
|
-
*
|
|
117
|
+
* Reveals the interaction headers (the "used web search/reasoning" information) of the given interaction in the chat feed.
|
|
118
|
+
*
|
|
119
|
+
* The headers are added to the feed by tasks enqueued in the promise queue (see {@link #addFeedInteractionHeader}), so call it
|
|
120
|
+
* only when it is certain that those tasks have already run: from a task enqueued later, or once the queue is drained
|
|
121
|
+
* or aborted. Called too early, it could run before the header is added and silently do nothing.
|
|
115
122
|
*/
|
|
116
|
-
|
|
117
|
-
isVisible: boolean;
|
|
118
|
-
id: string;
|
|
119
|
-
}): void;
|
|
123
|
+
showFeedInteractionHeader(id: string): void;
|
|
120
124
|
/**
|
|
121
125
|
* Updates the content of an AI reply in the chat feed.
|
|
122
126
|
*/
|
|
@@ -18,6 +18,13 @@ export declare class AISuggestionContentPartStateView extends View {
|
|
|
18
18
|
state: AISuggestionContentPartState;
|
|
19
19
|
outdatedReason: AIReplyChangeGroupOutdatedReason | undefined;
|
|
20
20
|
isVisible: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Size tier of the state pill. Use `'large'` when the pill takes the place of regular-sized buttons.
|
|
23
|
+
*
|
|
24
|
+
* @observable
|
|
25
|
+
* @default 'small'
|
|
26
|
+
*/
|
|
27
|
+
size: "small" | "large";
|
|
21
28
|
constructor(locale: Locale, translationKeys?: AISuggestionContentPartTranslationKeys);
|
|
22
29
|
/**
|
|
23
30
|
* Sets the state of the view.
|
|
@@ -105,6 +105,20 @@ export declare abstract class AIReviewCheckRun extends AIReviewCheckRunBase {
|
|
|
105
105
|
*/
|
|
106
106
|
getChangePosition(changeId: string): number;
|
|
107
107
|
/**
|
|
108
|
+
* The first pending change after `changeId`, wrapping around after the last change. The `changeId` change
|
|
109
|
+
* does not have to be pending itself, so a resolved change still gives the place to move on from.
|
|
110
|
+
*
|
|
111
|
+
* Returns `undefined` when `changeId` is unknown or no other change is pending.
|
|
112
|
+
*/
|
|
113
|
+
getNextPendingChange(changeId: string): AIReviewCheckResultChange | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* The last pending change before `changeId`, wrapping around before the first change. The `changeId` change
|
|
116
|
+
* does not have to be pending itself, so a resolved change still gives the place to move on from.
|
|
117
|
+
*
|
|
118
|
+
* Returns `undefined` when `changeId` is unknown or no other change is pending.
|
|
119
|
+
*/
|
|
120
|
+
getPreviousPendingChange(changeId: string): AIReviewCheckResultChange | undefined;
|
|
121
|
+
/**
|
|
108
122
|
* The number of changes produced by this run, regardless of their status (pending, accepted, rejected, outdated).
|
|
109
123
|
*/
|
|
110
124
|
get totalChangesCount(): number;
|
package/dist/index-editor.css
CHANGED
|
@@ -849,19 +849,19 @@
|
|
|
849
849
|
:root, :host {
|
|
850
850
|
--ck-ai-chat-content-font-size: var(--ck-font-size-md);
|
|
851
851
|
--ck-ai-chat-content-line-height: var(--ck-line-height-base);
|
|
852
|
-
--ck-ai-chat-content-h1-font-size: var(--ck-font-size
|
|
852
|
+
--ck-ai-chat-content-h1-font-size: calc(var(--ck-ai-chat-content-font-size) * 20 / 14);
|
|
853
853
|
--ck-ai-chat-content-h1-line-height: calc(var(--ck-ai-chat-content-h1-font-size) + 8px);
|
|
854
854
|
--ck-ai-chat-content-h1-font-weight: var(--ck-font-weight-semibold);
|
|
855
|
-
--ck-ai-chat-content-h2-font-size: var(--ck-font-size
|
|
855
|
+
--ck-ai-chat-content-h2-font-size: calc(var(--ck-ai-chat-content-font-size) * 18 / 14);
|
|
856
856
|
--ck-ai-chat-content-h2-line-height: calc(var(--ck-ai-chat-content-h2-font-size) + 8px);
|
|
857
857
|
--ck-ai-chat-content-h2-font-weight: var(--ck-font-weight-semibold);
|
|
858
|
-
--ck-ai-chat-content-h3-font-size: var(--ck-font-size
|
|
858
|
+
--ck-ai-chat-content-h3-font-size: calc(var(--ck-ai-chat-content-font-size) * 16 / 14);
|
|
859
859
|
--ck-ai-chat-content-h3-line-height: var(--ck-line-height-base);
|
|
860
860
|
--ck-ai-chat-content-h3-font-weight: var(--ck-font-weight-semibold);
|
|
861
|
-
--ck-ai-chat-content-h4-font-size: var(--ck-font-size
|
|
861
|
+
--ck-ai-chat-content-h4-font-size: var(--ck-ai-chat-content-font-size);
|
|
862
862
|
--ck-ai-chat-content-h4-line-height: var(--ck-line-height-base);
|
|
863
863
|
--ck-ai-chat-content-h4-font-weight: var(--ck-font-weight-semibold);
|
|
864
|
-
--ck-ai-chat-content-code-font-size:
|
|
864
|
+
--ck-ai-chat-content-code-font-size: calc(var(--ck-ai-chat-content-font-size) * 13 / 14);
|
|
865
865
|
--ck-ai-chat-content-code-line-height: calc(var(--ck-ai-chat-content-font-size) * var(--ck-line-height-base));
|
|
866
866
|
--ck-ai-chat-content-text-color: var(--ck-color-base-text);
|
|
867
867
|
--ck-ai-chat-content-link-color: var(--ck-color-base-action);
|
|
@@ -1044,6 +1044,10 @@
|
|
|
1044
1044
|
|
|
1045
1045
|
.ck.ck-ai-model-selector .ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on {
|
|
1046
1046
|
border-radius: var(--ck-button-border-radius);
|
|
1047
|
+
|
|
1048
|
+
& .ck-dropdown__arrow {
|
|
1049
|
+
transform: rotate(180deg);
|
|
1050
|
+
}
|
|
1047
1051
|
}
|
|
1048
1052
|
|
|
1049
1053
|
.ck.ck-ai-model-selector .ck-dropdown__panel > .ck.ck-list {
|
|
@@ -1201,10 +1205,6 @@
|
|
|
1201
1205
|
--ck-icon-size: var(--ck-font-size-md);
|
|
1202
1206
|
margin-inline-end: 0;
|
|
1203
1207
|
|
|
1204
|
-
&.ck-on .ck-dropdown__arrow {
|
|
1205
|
-
transform: rotate(180deg);
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
1208
|
& .ck-button__label {
|
|
1209
1209
|
width: auto;
|
|
1210
1210
|
}
|
|
@@ -1216,7 +1216,7 @@
|
|
|
1216
1216
|
--ck-ai-chat-prompt-input-animation-background-color: var(--ck-ai-prompt-glow-color);
|
|
1217
1217
|
--ck-ai-chat-prompt-input-animation: ck-ai-chat-prompt-input-glow .8s ease-in-out;
|
|
1218
1218
|
--ck-ai-chat-prompt-input-line-height: 1.4em;
|
|
1219
|
-
--ck-ai-chat-prompt-input-padding-vertical: var(--ck-
|
|
1219
|
+
--ck-ai-chat-prompt-input-padding-vertical: calc((var(--ck-size-control-min-height) - var(--ck-ai-chat-prompt-input-line-height) - 2 * var(--ck-border-width-thin)) / 2);
|
|
1220
1220
|
--ck-ai-chat-prompt-input-padding-inline-start: var(--ck-spacing-padding);
|
|
1221
1221
|
--ck-ai-chat-prompt-input-padding-inline-end: 2.6em;
|
|
1222
1222
|
--ck-ai-chat-prompt-input-font-size: var(--ck-font-size-md);
|
|
@@ -1346,7 +1346,7 @@
|
|
|
1346
1346
|
}
|
|
1347
1347
|
|
|
1348
1348
|
& .ck-button.ck-ai-chat-controls-button.ck-ai-chat-context-controls__add-context-button {
|
|
1349
|
-
bottom: var(--ck-
|
|
1349
|
+
bottom: var(--ck-spacing-padding-compact);
|
|
1350
1350
|
margin: 0;
|
|
1351
1351
|
position: absolute;
|
|
1352
1352
|
|
|
@@ -1732,7 +1732,7 @@
|
|
|
1732
1732
|
--ck-ai-chat-border-width: var(--ck-border-width-thin);
|
|
1733
1733
|
--ck-ai-chat-disclaimer-divider-band: var(--ck-spacing-gap-compact);
|
|
1734
1734
|
--ck-ai-chat-disclaimer-divider-width: 210px;
|
|
1735
|
-
--ck-ai-chat-suggestion-icon-default-color: var(--ck-
|
|
1735
|
+
--ck-ai-chat-suggestion-icon-default-color: var(--ck-color-text);
|
|
1736
1736
|
--ck-ai-chat-user-context-background-color: var(--ck-ai-neutral-50-color);
|
|
1737
1737
|
--ck-ai-chat-flash-color: var(--ck-ai-accent-50-color);
|
|
1738
1738
|
--ck-ai-chat-flash-text-color: var(--ck-ai-accent-700-color);
|
|
@@ -1768,7 +1768,7 @@
|
|
|
1768
1768
|
:root, :host {
|
|
1769
1769
|
--ck-ai-suggestion-content-part-radius: var(--ck-radius-base);
|
|
1770
1770
|
--ck-ai-suggestion-content-part-title-label-font-size: var(--ck-font-size-md);
|
|
1771
|
-
--ck-ai-suggestion-content-part-title-color: var(--ck-
|
|
1771
|
+
--ck-ai-suggestion-content-part-title-color: var(--ck-color-text);
|
|
1772
1772
|
--ck-ai-suggestion-content-part-accent-color: var(--ck-ai-accent-700-color);
|
|
1773
1773
|
--ck-ai-suggestion-content-part-active-border-color: hsla(from var(--ck-color-base-action) h s l / var(--ck-ai-alpha-5));
|
|
1774
1774
|
--ck-ai-suggestion-content-part-hover-shadow-color: var(--ck-ai-shadow-color);
|
|
@@ -3003,16 +3003,14 @@ div.ck.ck-ai-suggestion__content-part-state {
|
|
|
3003
3003
|
}
|
|
3004
3004
|
|
|
3005
3005
|
:root, :host {
|
|
3006
|
-
--ck-ai-header-icon-color: var(--ck-
|
|
3006
|
+
--ck-ai-header-icon-color: var(--ck-color-text);
|
|
3007
3007
|
}
|
|
3008
3008
|
|
|
3009
3009
|
.ck-ai-header {
|
|
3010
|
-
--ck-form-header-height: calc(var(--ck-
|
|
3011
|
-
+ 2 * var(--ck-spacing-
|
|
3012
|
-
+
|
|
3013
|
-
--ck-form-header-padding: var(--ck-spacing-
|
|
3014
|
-
var(--ck-spacing-padding-comfortable)
|
|
3015
|
-
calc(var(--ck-spacing-padding-compact) - var(--ck-border-width-divider));
|
|
3010
|
+
--ck-form-header-height: calc(var(--ck-size-control-min-height)
|
|
3011
|
+
+ 2 * var(--ck-spacing-gap-compact)
|
|
3012
|
+
+ var(--ck-border-width-divider));
|
|
3013
|
+
--ck-form-header-padding: var(--ck-spacing-gap-compact) var(--ck-spacing-padding-comfortable);
|
|
3016
3014
|
--ck-border-divider: var(--ck-border-width-divider) solid var(--ck-color-divider);
|
|
3017
3015
|
|
|
3018
3016
|
& > .ck-icon {
|
|
@@ -3113,6 +3111,11 @@ div.ck.ck-ai-suggestion__content-part-state {
|
|
|
3113
3111
|
|
|
3114
3112
|
:root, :host {
|
|
3115
3113
|
--ck-ai-button-stop-generating-font-size: var(--ck-font-size-md);
|
|
3114
|
+
--ck-ai-button-tertiary-on-disabled-background-color: hsla(from var(--ck-button-on-background-color) h s l / var(--ck-opacity-disabled));
|
|
3115
|
+
}
|
|
3116
|
+
|
|
3117
|
+
.ck-ai-button-tertiary {
|
|
3118
|
+
--ck-button-on-disabled-background-color: var(--ck-ai-button-tertiary-on-disabled-background-color);
|
|
3116
3119
|
}
|
|
3117
3120
|
|
|
3118
3121
|
.ck.ck-button {
|
|
@@ -3874,7 +3877,6 @@ div.ck.ck-ai-suggestion__content-part-state {
|
|
|
3874
3877
|
--ck-ai-review-check-list-parameterized-dropdown-button-border-color: var(--ck-ai-neutral-300-color);
|
|
3875
3878
|
--ck-ai-review-check-list-model-dropdown-max-width: 426px;
|
|
3876
3879
|
--ck-ai-review-check-list-model-dropdown-max-height: 340px;
|
|
3877
|
-
--ck-ai-review-check-list-custom-actions-button-color: var(--ck-color-text-secondary);
|
|
3878
3880
|
--ck-ai-review-check-list-item-title-text-font-size: var(--ck-font-size-md);
|
|
3879
3881
|
--ck-ai-review-check-list-item-description-font-size: var(--ck-font-size-md);
|
|
3880
3882
|
}
|
|
@@ -4167,10 +4169,6 @@ div.ck.ck-ai-suggestion__content-part-state {
|
|
|
4167
4169
|
width: 100%;
|
|
4168
4170
|
display: flex;
|
|
4169
4171
|
|
|
4170
|
-
& .ck.ck-button.ck-ai-button-tertiary {
|
|
4171
|
-
color: var(--ck-ai-review-check-list-custom-actions-button-color);
|
|
4172
|
-
}
|
|
4173
|
-
|
|
4174
4172
|
& .ck-ai_review__check-list-item-model-name {
|
|
4175
4173
|
color: var(--ck-color-base-text);
|
|
4176
4174
|
font-size: .9em;
|
package/dist/index.css
CHANGED
|
@@ -849,19 +849,19 @@
|
|
|
849
849
|
:root, :host {
|
|
850
850
|
--ck-ai-chat-content-font-size: var(--ck-font-size-md);
|
|
851
851
|
--ck-ai-chat-content-line-height: var(--ck-line-height-base);
|
|
852
|
-
--ck-ai-chat-content-h1-font-size: var(--ck-font-size
|
|
852
|
+
--ck-ai-chat-content-h1-font-size: calc(var(--ck-ai-chat-content-font-size) * 20 / 14);
|
|
853
853
|
--ck-ai-chat-content-h1-line-height: calc(var(--ck-ai-chat-content-h1-font-size) + 8px);
|
|
854
854
|
--ck-ai-chat-content-h1-font-weight: var(--ck-font-weight-semibold);
|
|
855
|
-
--ck-ai-chat-content-h2-font-size: var(--ck-font-size
|
|
855
|
+
--ck-ai-chat-content-h2-font-size: calc(var(--ck-ai-chat-content-font-size) * 18 / 14);
|
|
856
856
|
--ck-ai-chat-content-h2-line-height: calc(var(--ck-ai-chat-content-h2-font-size) + 8px);
|
|
857
857
|
--ck-ai-chat-content-h2-font-weight: var(--ck-font-weight-semibold);
|
|
858
|
-
--ck-ai-chat-content-h3-font-size: var(--ck-font-size
|
|
858
|
+
--ck-ai-chat-content-h3-font-size: calc(var(--ck-ai-chat-content-font-size) * 16 / 14);
|
|
859
859
|
--ck-ai-chat-content-h3-line-height: var(--ck-line-height-base);
|
|
860
860
|
--ck-ai-chat-content-h3-font-weight: var(--ck-font-weight-semibold);
|
|
861
|
-
--ck-ai-chat-content-h4-font-size: var(--ck-font-size
|
|
861
|
+
--ck-ai-chat-content-h4-font-size: var(--ck-ai-chat-content-font-size);
|
|
862
862
|
--ck-ai-chat-content-h4-line-height: var(--ck-line-height-base);
|
|
863
863
|
--ck-ai-chat-content-h4-font-weight: var(--ck-font-weight-semibold);
|
|
864
|
-
--ck-ai-chat-content-code-font-size:
|
|
864
|
+
--ck-ai-chat-content-code-font-size: calc(var(--ck-ai-chat-content-font-size) * 13 / 14);
|
|
865
865
|
--ck-ai-chat-content-code-line-height: calc(var(--ck-ai-chat-content-font-size) * var(--ck-line-height-base));
|
|
866
866
|
--ck-ai-chat-content-text-color: var(--ck-color-base-text);
|
|
867
867
|
--ck-ai-chat-content-link-color: var(--ck-color-base-action);
|
|
@@ -1044,6 +1044,10 @@
|
|
|
1044
1044
|
|
|
1045
1045
|
.ck.ck-ai-model-selector .ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on {
|
|
1046
1046
|
border-radius: var(--ck-button-border-radius);
|
|
1047
|
+
|
|
1048
|
+
& .ck-dropdown__arrow {
|
|
1049
|
+
transform: rotate(180deg);
|
|
1050
|
+
}
|
|
1047
1051
|
}
|
|
1048
1052
|
|
|
1049
1053
|
.ck.ck-ai-model-selector .ck-dropdown__panel > .ck.ck-list {
|
|
@@ -1201,10 +1205,6 @@
|
|
|
1201
1205
|
--ck-icon-size: var(--ck-font-size-md);
|
|
1202
1206
|
margin-inline-end: 0;
|
|
1203
1207
|
|
|
1204
|
-
&.ck-on .ck-dropdown__arrow {
|
|
1205
|
-
transform: rotate(180deg);
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
1208
|
& .ck-button__label {
|
|
1209
1209
|
width: auto;
|
|
1210
1210
|
}
|
|
@@ -1216,7 +1216,7 @@
|
|
|
1216
1216
|
--ck-ai-chat-prompt-input-animation-background-color: var(--ck-ai-prompt-glow-color);
|
|
1217
1217
|
--ck-ai-chat-prompt-input-animation: ck-ai-chat-prompt-input-glow .8s ease-in-out;
|
|
1218
1218
|
--ck-ai-chat-prompt-input-line-height: 1.4em;
|
|
1219
|
-
--ck-ai-chat-prompt-input-padding-vertical: var(--ck-
|
|
1219
|
+
--ck-ai-chat-prompt-input-padding-vertical: calc((var(--ck-size-control-min-height) - var(--ck-ai-chat-prompt-input-line-height) - 2 * var(--ck-border-width-thin)) / 2);
|
|
1220
1220
|
--ck-ai-chat-prompt-input-padding-inline-start: var(--ck-spacing-padding);
|
|
1221
1221
|
--ck-ai-chat-prompt-input-padding-inline-end: 2.6em;
|
|
1222
1222
|
--ck-ai-chat-prompt-input-font-size: var(--ck-font-size-md);
|
|
@@ -1346,7 +1346,7 @@
|
|
|
1346
1346
|
}
|
|
1347
1347
|
|
|
1348
1348
|
& .ck-button.ck-ai-chat-controls-button.ck-ai-chat-context-controls__add-context-button {
|
|
1349
|
-
bottom: var(--ck-
|
|
1349
|
+
bottom: var(--ck-spacing-padding-compact);
|
|
1350
1350
|
margin: 0;
|
|
1351
1351
|
position: absolute;
|
|
1352
1352
|
|
|
@@ -1732,7 +1732,7 @@
|
|
|
1732
1732
|
--ck-ai-chat-border-width: var(--ck-border-width-thin);
|
|
1733
1733
|
--ck-ai-chat-disclaimer-divider-band: var(--ck-spacing-gap-compact);
|
|
1734
1734
|
--ck-ai-chat-disclaimer-divider-width: 210px;
|
|
1735
|
-
--ck-ai-chat-suggestion-icon-default-color: var(--ck-
|
|
1735
|
+
--ck-ai-chat-suggestion-icon-default-color: var(--ck-color-text);
|
|
1736
1736
|
--ck-ai-chat-user-context-background-color: var(--ck-ai-neutral-50-color);
|
|
1737
1737
|
--ck-ai-chat-flash-color: var(--ck-ai-accent-50-color);
|
|
1738
1738
|
--ck-ai-chat-flash-text-color: var(--ck-ai-accent-700-color);
|
|
@@ -1768,7 +1768,7 @@
|
|
|
1768
1768
|
:root, :host {
|
|
1769
1769
|
--ck-ai-suggestion-content-part-radius: var(--ck-radius-base);
|
|
1770
1770
|
--ck-ai-suggestion-content-part-title-label-font-size: var(--ck-font-size-md);
|
|
1771
|
-
--ck-ai-suggestion-content-part-title-color: var(--ck-
|
|
1771
|
+
--ck-ai-suggestion-content-part-title-color: var(--ck-color-text);
|
|
1772
1772
|
--ck-ai-suggestion-content-part-accent-color: var(--ck-ai-accent-700-color);
|
|
1773
1773
|
--ck-ai-suggestion-content-part-active-border-color: hsla(from var(--ck-color-base-action) h s l / var(--ck-ai-alpha-5));
|
|
1774
1774
|
--ck-ai-suggestion-content-part-hover-shadow-color: var(--ck-ai-shadow-color);
|
|
@@ -3003,16 +3003,14 @@ div.ck.ck-ai-suggestion__content-part-state {
|
|
|
3003
3003
|
}
|
|
3004
3004
|
|
|
3005
3005
|
:root, :host {
|
|
3006
|
-
--ck-ai-header-icon-color: var(--ck-
|
|
3006
|
+
--ck-ai-header-icon-color: var(--ck-color-text);
|
|
3007
3007
|
}
|
|
3008
3008
|
|
|
3009
3009
|
.ck-ai-header {
|
|
3010
|
-
--ck-form-header-height: calc(var(--ck-
|
|
3011
|
-
+ 2 * var(--ck-spacing-
|
|
3012
|
-
+
|
|
3013
|
-
--ck-form-header-padding: var(--ck-spacing-
|
|
3014
|
-
var(--ck-spacing-padding-comfortable)
|
|
3015
|
-
calc(var(--ck-spacing-padding-compact) - var(--ck-border-width-divider));
|
|
3010
|
+
--ck-form-header-height: calc(var(--ck-size-control-min-height)
|
|
3011
|
+
+ 2 * var(--ck-spacing-gap-compact)
|
|
3012
|
+
+ var(--ck-border-width-divider));
|
|
3013
|
+
--ck-form-header-padding: var(--ck-spacing-gap-compact) var(--ck-spacing-padding-comfortable);
|
|
3016
3014
|
--ck-border-divider: var(--ck-border-width-divider) solid var(--ck-color-divider);
|
|
3017
3015
|
|
|
3018
3016
|
& > .ck-icon {
|
|
@@ -3113,6 +3111,11 @@ div.ck.ck-ai-suggestion__content-part-state {
|
|
|
3113
3111
|
|
|
3114
3112
|
:root, :host {
|
|
3115
3113
|
--ck-ai-button-stop-generating-font-size: var(--ck-font-size-md);
|
|
3114
|
+
--ck-ai-button-tertiary-on-disabled-background-color: hsla(from var(--ck-button-on-background-color) h s l / var(--ck-opacity-disabled));
|
|
3115
|
+
}
|
|
3116
|
+
|
|
3117
|
+
.ck-ai-button-tertiary {
|
|
3118
|
+
--ck-button-on-disabled-background-color: var(--ck-ai-button-tertiary-on-disabled-background-color);
|
|
3116
3119
|
}
|
|
3117
3120
|
|
|
3118
3121
|
.ck.ck-button {
|
|
@@ -3874,7 +3877,6 @@ div.ck.ck-ai-suggestion__content-part-state {
|
|
|
3874
3877
|
--ck-ai-review-check-list-parameterized-dropdown-button-border-color: var(--ck-ai-neutral-300-color);
|
|
3875
3878
|
--ck-ai-review-check-list-model-dropdown-max-width: 426px;
|
|
3876
3879
|
--ck-ai-review-check-list-model-dropdown-max-height: 340px;
|
|
3877
|
-
--ck-ai-review-check-list-custom-actions-button-color: var(--ck-color-text-secondary);
|
|
3878
3880
|
--ck-ai-review-check-list-item-title-text-font-size: var(--ck-font-size-md);
|
|
3879
3881
|
--ck-ai-review-check-list-item-description-font-size: var(--ck-font-size-md);
|
|
3880
3882
|
}
|
|
@@ -4167,10 +4169,6 @@ div.ck.ck-ai-suggestion__content-part-state {
|
|
|
4167
4169
|
width: 100%;
|
|
4168
4170
|
display: flex;
|
|
4169
4171
|
|
|
4170
|
-
& .ck.ck-button.ck-ai-button-tertiary {
|
|
4171
|
-
color: var(--ck-ai-review-check-list-custom-actions-button-color);
|
|
4172
|
-
}
|
|
4173
|
-
|
|
4174
4172
|
& .ck-ai_review__check-list-item-model-name {
|
|
4175
4173
|
color: var(--ck-color-base-text);
|
|
4176
4174
|
font-size: .9em;
|