@progress/kendo-theme-core 14.4.1-dev.0 → 14.4.1-dev.1

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.
@@ -3,23 +3,15 @@
3
3
 
4
4
  @mixin kendo-agent-response--layout-base() {
5
5
  // Agent Step
6
- .k-agent-step {
7
- .k-card {
8
- box-shadow: none;
9
- }
10
- }
11
-
12
6
  .k-agent-step-icon {
13
7
  align-self: start;
14
8
  margin-top: $kendo-agent-step-icon-margin-top;
15
9
  aspect-ratio: 1;
16
10
  }
17
11
 
18
- // Typography — label, secondary/meta text, and diffstat all share the small font size.
19
12
  .k-agent-step-label,
20
13
  .k-agent-step-sep,
21
14
  .k-agent-step-secondary,
22
- .k-agent-step-time,
23
15
  .k-agent-step-added,
24
16
  .k-agent-step-removed {
25
17
  font-size: $kendo-agent-step-font-size;
@@ -30,8 +22,8 @@
30
22
  gap: k-spacing(1);
31
23
  }
32
24
 
33
- // Head — a reset <button> housing the icon column and the content row.
34
25
  .k-agent-step-head {
26
+ cursor: pointer;
35
27
  padding-inline: 0;
36
28
  padding-block: $kendo-agent-step-padding-y;
37
29
  display: flex;
@@ -60,8 +52,6 @@
60
52
  font-weight: var(--kendo-font-weight-medium);
61
53
  }
62
54
 
63
- // Body — expanded content indented under the head, with vertical spacing
64
- // between stacked steps and a connector line linking them.
65
55
  .k-agent-step-body {
66
56
  width: 100%;
67
57
  display: flex;
@@ -69,15 +59,27 @@
69
59
  font-size: $kendo-agent-step-body-font-size;
70
60
  }
71
61
 
62
+ // Reasoning Specific Styles
72
63
  .k-reasoning {
73
64
  }
74
65
 
66
+ // Tool Call Specific Styles
75
67
  .k-tool-call .k-agent-step-body {
76
68
  padding-inline-start: $kendo-tool-call-indent;
77
69
  padding-block-end: $kendo-tool-call-padding-y;
78
70
  gap: k-spacing(2);
71
+
72
+ .k-card {
73
+ box-shadow: none;
74
+ }
75
+
76
+ .k-pre {
77
+ margin: 0;
78
+ border-radius: $kendo-tool-call-pre-border-radius;
79
+ }
79
80
  }
80
81
 
82
+ // Chain of Thought Specific Styles
81
83
  .k-chain-of-thought {
82
84
  .k-agent-step-body {
83
85
  padding-block: k-spacing(2);
@@ -12,8 +12,7 @@
12
12
  }
13
13
 
14
14
  .k-agent-step-sep,
15
- .k-agent-step-secondary,
16
- .k-agent-step-time {
15
+ .k-agent-step-secondary {
17
16
  color: k-color("subtle");
18
17
  }
19
18
 
@@ -40,8 +39,7 @@
40
39
  .k-agent-step-label,
41
40
  .k-agent-step-expand,
42
41
  .k-agent-step-sep,
43
- .k-agent-step-secondary,
44
- .k-agent-step-time {
42
+ .k-agent-step-secondary {
45
43
  color: k-color("on-app-surface");
46
44
  }
47
45
  }
@@ -51,17 +49,20 @@
51
49
  @include text-shimmer();
52
50
  }
53
51
 
54
- .k-thought .k-agent-step-icon-col::after {
55
- background: $kendo-thought-connector-color;
56
- }
57
-
52
+ // Reasoning Specific Styles
58
53
  .k-reasoning {
59
54
  }
60
55
 
61
- .k-tool-call .k-agent-step-body {
56
+ // Tool Call Specific Styles
57
+ .k-tool-call-label {
62
58
  color: k-color("subtle");
63
59
  }
64
60
 
61
+ // Chain of Thought Specific Styles
65
62
  .k-chain-of-thought {
66
63
  }
64
+
65
+ .k-thought .k-agent-step-icon-col::after {
66
+ background: $kendo-thought-connector-color;
67
+ }
67
68
  }
@@ -41,3 +41,6 @@ $kendo-tool-call-indent: null !default;
41
41
  /// The bottom padding of the ToolCall body.
42
42
  /// @group agent-response
43
43
  $kendo-tool-call-padding-y: null !default;
44
+ /// The border radius of the pre element in the ToolCall body.
45
+ /// @group agent-response
46
+ $kendo-tool-call-pre-border-radius: null !default;
@@ -20,6 +20,7 @@
20
20
  }
21
21
 
22
22
  .k-citation-popover-view {
23
+ width: 100%;
23
24
  flex: 0 0 100%;
24
25
  box-sizing: border-box;
25
26
  padding: $kendo-citation-popover-view-padding;
@@ -30,4 +31,34 @@
30
31
  :is([dir="rtl"], .k-rtl) .k-citation-popover-view {
31
32
  transform: translateX(calc(100% * (var(--kendo-citation-popover-view-current, 1) - 1)));
32
33
  }
34
+
35
+ .k-citation-popover-view-title {
36
+ font-weight: $kendo-citation-popover-view-title-font-weight;
37
+ text-overflow: ellipsis;
38
+ white-space: nowrap;
39
+ overflow: hidden;
40
+ }
41
+
42
+ .k-citation-popover-view-body {
43
+ max-height: 108px;
44
+ overflow: auto;
45
+ display: block;
46
+ font-size: $kendo-citation-popover-view-body-font-size;
47
+ margin-top: $kendo-citation-popover-view-body-margin-top;
48
+ }
49
+
50
+ .k-citation-popover-view-source {
51
+ text-overflow: ellipsis;
52
+ white-space: nowrap;
53
+ overflow: hidden;
54
+ display: flex;
55
+ align-items: center;
56
+ gap: $kendo-citation-popover-view-source-gap;
57
+ font-size: $kendo-citation-popover-view-source-font-size;
58
+ margin-top: $kendo-citation-popover-view-source-margin-top;
59
+
60
+ .k-icon {
61
+ aspect-ratio: 1;
62
+ }
63
+ }
33
64
  }
@@ -7,4 +7,12 @@
7
7
  color: $kendo-citation-pages-color;
8
8
  }
9
9
  }
10
+
11
+ .k-citation-popover-view-body {
12
+ color: $kendo-citation-popover-view-body-color;
13
+ }
14
+
15
+ .k-citation-popover-view-source {
16
+ color: k-color(info-on-surface);
17
+ }
10
18
  }
@@ -6,3 +6,24 @@ $kendo-citation-popover-view-padding: null !default;
6
6
  /// The text color of the CitationPopover page indicator.
7
7
  /// @group citation
8
8
  $kendo-citation-pages-color: null !default;
9
+ /// The font weight of the CitationPopoverView title.
10
+ /// @group citation
11
+ $kendo-citation-popover-view-title-font-weight: null !default;
12
+ /// The font size of the CitationPopoverView body text.
13
+ /// @group citation
14
+ $kendo-citation-popover-view-body-font-size: null !default;
15
+ /// The top margin of the CitationPopoverView body text.
16
+ /// @group citation
17
+ $kendo-citation-popover-view-body-margin-top: null !default;
18
+ /// The text color of the CitationPopoverView body text.
19
+ /// @group citation
20
+ $kendo-citation-popover-view-body-color: null !default;
21
+ /// The font size of the CitationPopoverView source link.
22
+ /// @group citation
23
+ $kendo-citation-popover-view-source-font-size: null !default;
24
+ /// The top margin of the CitationPopoverView source link.
25
+ /// @group citation
26
+ $kendo-citation-popover-view-source-margin-top: null !default;
27
+ /// The gap between the icon and text of the CitationPopoverView source link.
28
+ /// @group citation
29
+ $kendo-citation-popover-view-source-gap: null !default;
@@ -197,6 +197,7 @@
197
197
  .k-form-field-wrap {
198
198
  max-width: $kendo-horizontal-form-field-wrap-max-width;
199
199
  flex: 1 1 auto;
200
+ align-content: center;
200
201
  }
201
202
  }
202
203