@progress/kendo-theme-core 14.4.0-dev.2 → 14.4.0-dev.3

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.
@@ -0,0 +1,67 @@
1
+ @use "../../color-system/index.scss" as *;
2
+ @use "../../mixins/index.scss" as *;
3
+ @use "./_variables.scss" as *;
4
+
5
+ @mixin kendo-agent-response--theme-base() {
6
+ .k-agent-step > .k-agent-step-head,
7
+ .k-thought {
8
+ .k-agent-step-icon,
9
+ .k-agent-step-label,
10
+ .k-agent-step-expand {
11
+ color: k-color("on-app-surface");
12
+ }
13
+
14
+ .k-agent-step-sep,
15
+ .k-agent-step-secondary,
16
+ .k-agent-step-time {
17
+ color: k-color("subtle");
18
+ }
19
+
20
+ .k-agent-step-added {
21
+ color: $kendo-agent-step-added-color;
22
+ }
23
+
24
+ .k-agent-step-removed {
25
+ color: $kendo-agent-step-removed-color;
26
+ }
27
+ }
28
+
29
+ .k-agent-completed > .k-agent-step-head,
30
+ .k-thought.k-thought-completed {
31
+ .k-agent-step-icon,
32
+ .k-agent-step-label,
33
+ .k-agent-step-expand {
34
+ color: k-color("subtle");
35
+ }
36
+ }
37
+
38
+ .k-agent-step > .k-agent-step-head:hover {
39
+ .k-agent-step-icon,
40
+ .k-agent-step-label,
41
+ .k-agent-step-expand,
42
+ .k-agent-step-sep,
43
+ .k-agent-step-secondary,
44
+ .k-agent-step-time {
45
+ color: k-color("on-app-surface");
46
+ }
47
+ }
48
+
49
+ .k-agent-step:not(.k-agent-completed) > .k-agent-step-head .k-agent-step-label,
50
+ .k-thought:not(.k-thought-completed) .k-agent-step-label {
51
+ @include text-shimmer();
52
+ }
53
+
54
+ .k-thought .k-agent-step-icon-col::after {
55
+ background: $kendo-thought-connector-color;
56
+ }
57
+
58
+ .k-reasoning {
59
+ }
60
+
61
+ .k-tool-call .k-agent-step-body {
62
+ color: k-color("subtle");
63
+ }
64
+
65
+ .k-chain-of-thought {
66
+ }
67
+ }
@@ -0,0 +1,43 @@
1
+ // Agent Response
2
+
3
+ /// The gap between the icon and the content of the AgentStep head and content row.
4
+ /// @group agent-response
5
+ $kendo-agent-step-gap: null !default;
6
+ /// The vertical padding of the AgentStep head.
7
+ /// @group agent-response
8
+ $kendo-agent-step-padding-y: null !default;
9
+ /// The top margin of the AgentStep icon.
10
+ /// @group agent-response
11
+ $kendo-agent-step-icon-margin-top: null !default;
12
+ /// The text color of the added lines count in the AgentStep diffstat.
13
+ /// @group agent-response
14
+ $kendo-agent-step-added-color: null !default;
15
+ /// The text color of the removed lines count in the AgentStep diffstat.
16
+ /// @group agent-response
17
+ $kendo-agent-step-removed-color: null !default;
18
+ /// The font size of the AgentStep label, secondary text, and diffstat.
19
+ /// @group agent-response
20
+ $kendo-agent-step-font-size: null !default;
21
+ /// The font size of the AgentStep body content.
22
+ /// @group agent-response
23
+ $kendo-agent-step-body-font-size: null !default;
24
+
25
+ /// The gap between the icon column and the content of the Thought.
26
+ /// @group agent-response
27
+ $kendo-thought-gap: null !default;
28
+ /// The gap in the icon column of the Thought.
29
+ /// @group agent-response
30
+ $kendo-thought-icon-col-gap: null !default;
31
+ /// The spacing between stacked Thought items.
32
+ /// @group agent-response
33
+ $kendo-thought-spacing: null !default;
34
+ /// The color of the connector line between stacked Thought items.
35
+ /// @group agent-response
36
+ $kendo-thought-connector-color: null !default;
37
+
38
+ /// The start indent of the ToolCall body.
39
+ /// @group agent-response
40
+ $kendo-tool-call-indent: null !default;
41
+ /// The bottom padding of the ToolCall body.
42
+ /// @group agent-response
43
+ $kendo-tool-call-padding-y: null !default;
@@ -0,0 +1,34 @@
1
+ @use "../../spacing/index.scss" as *;
2
+ @use "../../motion/index.scss" as *;
3
+ @use "./_variables.scss" as *;
4
+
5
+ @mixin kendo-checkpoint--layout-base() {
6
+ .k-checkpoint {
7
+ width: 100%;
8
+ display: flex;
9
+ align-items: center;
10
+ gap: $kendo-checkpoint-gap;
11
+ opacity: 0;
12
+ transition: opacity k-transition(fade-out);
13
+
14
+ &:hover,
15
+ &:focus-within,
16
+ &.k-checkpoint-visible {
17
+ opacity: 1;
18
+ transition: opacity k-transition(fade-in);
19
+ }
20
+
21
+ .k-checkpoint-line {
22
+ flex: 1 1 0%;
23
+ height: $kendo-checkpoint-line-width;
24
+ align-self: center;
25
+ border: none;
26
+ }
27
+
28
+ .k-checkpoint-stamp {
29
+ font-size: $kendo-checkpoint-stamp-font-size;
30
+ font-weight: $kendo-checkpoint-stamp-font-weight;
31
+ padding-inline: $kendo-checkpoint-stamp-padding-x;
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,25 @@
1
+ @use "../../color-system/index.scss" as *;
2
+ @use "./_variables.scss" as *;
3
+
4
+ @mixin kendo-checkpoint--theme-base() {
5
+ .k-checkpoint-stamp {
6
+ color: $kendo-checkpoint-stamp-color;
7
+ }
8
+
9
+ .k-checkpoint {
10
+ .k-checkpoint-line {
11
+ background-color: $kendo-checkpoint-line-color;
12
+ opacity: .35;
13
+
14
+ &:first-child {
15
+ background: linear-gradient(to right, transparent, $kendo-checkpoint-line-color);
16
+ opacity: 1;
17
+ }
18
+
19
+ &:last-child {
20
+ background: linear-gradient(to left, transparent, $kendo-checkpoint-line-color);
21
+ opacity: 1;
22
+ }
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,21 @@
1
+ /// The color of the Checkpoint separator line.
2
+ /// @group checkpoint
3
+ $kendo-checkpoint-line-color: null !default;
4
+ /// The gap between the Checkpoint line and stamp.
5
+ /// @group checkpoint
6
+ $kendo-checkpoint-gap: null !default;
7
+ /// The width of the Checkpoint separator line.
8
+ /// @group checkpoint
9
+ $kendo-checkpoint-line-width: null !default;
10
+ /// The font size of the Checkpoint stamp text.
11
+ /// @group checkpoint
12
+ $kendo-checkpoint-stamp-font-size: null !default;
13
+ /// The text color of the Checkpoint stamp.
14
+ /// @group checkpoint
15
+ $kendo-checkpoint-stamp-color: null !default;
16
+ /// The font weight of the Checkpoint stamp text.
17
+ /// @group checkpoint
18
+ $kendo-checkpoint-stamp-font-weight: null !default;
19
+ /// The horizontal padding of the Checkpoint stamp.
20
+ /// @group checkpoint
21
+ $kendo-checkpoint-stamp-padding-x: null !default;
@@ -0,0 +1,33 @@
1
+ @use "../../spacing/index.scss" as *;
2
+ @use "../../motion/index.scss" as *;
3
+ @use "./_variables.scss" as *;
4
+
5
+ @mixin kendo-citation--layout-base() {
6
+ .k-citation-popover {
7
+ .k-popover-header {
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: space-between;
11
+ font-size: var(--kendo-font-size-sm);
12
+ }
13
+
14
+ .k-popover-body:has(> .k-citation-popover-view) {
15
+ padding: 0;
16
+ overflow: hidden;
17
+ display: flex;
18
+ flex-flow: row nowrap;
19
+ }
20
+ }
21
+
22
+ .k-citation-popover-view {
23
+ flex: 0 0 100%;
24
+ box-sizing: border-box;
25
+ padding: $kendo-citation-popover-view-padding;
26
+ transition: transform k-transition(slide-in);
27
+ transform: translateX(calc(-100% * (var(--kendo-citation-popover-view-current, 1) - 1)));
28
+ }
29
+
30
+ :is([dir="rtl"], .k-rtl) .k-citation-popover-view {
31
+ transform: translateX(calc(100% * (var(--kendo-citation-popover-view-current, 1) - 1)));
32
+ }
33
+ }
@@ -0,0 +1,10 @@
1
+ @use "../../color-system/index.scss" as *;
2
+ @use "./_variables.scss" as *;
3
+
4
+ @mixin kendo-citation--theme-base() {
5
+ .k-citation-popover {
6
+ .k-citation-pages {
7
+ color: $kendo-citation-pages-color;
8
+ }
9
+ }
10
+ }
@@ -0,0 +1,8 @@
1
+ // Citation
2
+
3
+ /// The padding of the CitationPopover view.
4
+ /// @group citation
5
+ $kendo-citation-popover-view-padding: null !default;
6
+ /// The text color of the CitationPopover page indicator.
7
+ /// @group citation
8
+ $kendo-citation-pages-color: null !default;
@@ -0,0 +1,21 @@
1
+ // Shimmer
2
+
3
+ @keyframes k-shimmer {
4
+ 0% { background-position: 200% center; }
5
+ 100% { background-position: -200% center; }
6
+ }
7
+
8
+ @mixin text-shimmer() {
9
+ background: linear-gradient(
10
+ 90deg,
11
+ currentColor 20%,
12
+ color-mix(in srgb, currentColor 50%, transparent) 50%,
13
+ currentColor 80%
14
+ );
15
+ background-size: 200% auto;
16
+ -webkit-background-clip: text;
17
+ background-clip: text;
18
+ -webkit-text-fill-color: transparent;
19
+ animation: k-shimmer 2s linear infinite;
20
+ display: inline-block;
21
+ }
@@ -1,3 +1,4 @@
1
+ @forward "./_animation.scss";
1
2
  @forward "./_border-radius.scss";
2
3
  @forward "./_box-shadow.scss";
3
4
  @forward "./_disabled.scss";