@progress/kendo-themes-html 14.4.1-dev.0 → 14.4.1-dev.2
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/cjs/agent-response/agent-step.js +1 -1
- package/dist/cjs/agent-response/chain-of-thought.spec.js +1 -1
- package/dist/cjs/agent-response/reasoning.spec.js +1 -1
- package/dist/cjs/agent-response/templates/chain-of-thought-expanded.js +1 -1
- package/dist/cjs/agent-response/templates/chain-of-thought-normal.js +1 -1
- package/dist/cjs/agent-response/templates/reasoning-expanded.js +1 -1
- package/dist/cjs/agent-response/templates/reasoning-normal.js +1 -1
- package/dist/cjs/agent-response/templates/tool-call-expanded.js +1 -1
- package/dist/cjs/agent-response/templates/tool-call-normal.js +1 -1
- package/dist/cjs/agent-response/thought.spec.js +1 -1
- package/dist/cjs/agent-response/tool-call.spec.js +1 -1
- package/dist/cjs/chart-wizard/templates/chart-wizard-data.js +1 -1
- package/dist/cjs/chart-wizard/templates/chart-wizard-format.js +1 -1
- package/dist/cjs/chart-wizard/templates/chart-wizard-normal.js +1 -1
- package/dist/cjs/citation/citation-popover-view.spec.js +1 -0
- package/dist/cjs/citation/citation-popover.spec.js +1 -1
- package/dist/cjs/citation/templates/citation-opened.js +1 -1
- package/dist/cjs/datepicker/datepicker.spec.js +1 -1
- package/dist/cjs/datepicker/demos/datepicker.js +1 -1
- package/dist/cjs/datepicker/templates/datepicker-adaptive.js +1 -1
- package/dist/cjs/datepicker/templates/datepicker-disabled.js +1 -1
- package/dist/cjs/datepicker/templates/datepicker-invalid.js +1 -1
- package/dist/cjs/datepicker/templates/datepicker-normal.js +1 -1
- package/dist/cjs/datepicker/templates/datepicker-popup.js +1 -1
- package/dist/cjs/filter/demos/filter.js +1 -1
- package/dist/cjs/filter/templates/filter-normal.js +1 -1
- package/dist/cjs/filter/templates/filter-preview.js +1 -1
- package/dist/cjs/form/demos/form.js +1 -1
- package/dist/cjs/form/form-field.js +1 -1
- package/dist/cjs/form/form.spec.js +1 -1
- package/dist/cjs/form/templates/form-grid-layout.js +1 -1
- package/dist/cjs/form/templates/form-horizontal.js +1 -1
- package/dist/cjs/form/templates/form-normal.js +1 -1
- package/dist/cjs/form/templates/form-with-hints.js +1 -1
- package/dist/cjs/grid/templates/grid-hierarchy.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-normal.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/pivotgrid/demos/pivotgrid.js +1 -1
- package/dist/cjs/pivotgrid/templates/pivotgrid-normal.js +1 -1
- package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator-disabled-actions.js +1 -1
- package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator-opened.js +1 -1
- package/dist/cjs/pivotgrid/templates/pivotgrid-with-configurator.js +1 -1
- package/dist/cjs/scheduler/demos/scheduler.js +1 -1
- package/dist/cjs/scheduler/scheduler-cell.spec.js +1 -1
- package/dist/cjs/scheduler/scheduler-event.spec.js +1 -1
- package/dist/cjs/scheduler/scheduler-toolbar.spec.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-agenda.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-day.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-flex-agenda.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-flex-day.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-flex-horizontal-grouping.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-flex-month.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-flex-timeline.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-flex-vertical-grouping.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-flex-week.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-flex-year.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-horizontal-grouping.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-month.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-timeline.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-vertical-grouping.js +1 -1
- package/dist/cjs/scheduler/templates/scheduler-week.js +1 -1
- package/dist/cjs/taskboard/demos/taskboard.js +1 -1
- package/dist/cjs/taskboard/taskboard.spec.js +1 -1
- package/dist/cjs/taskboard/templates/taskboard-normal.js +1 -1
- package/dist/cjs/taskboard/templates/taskboard-pane.js +1 -1
- package/dist/cjs/timepicker/demos/timepicker.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-adaptive.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-disabled.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-invalid.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-normal.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-popup.js +1 -1
- package/dist/cjs/timepicker/timepicker.spec.js +1 -1
- package/dist/esm/agent-response/agent-step.mjs +1 -1
- package/dist/esm/agent-response/chain-of-thought.spec.mjs +1 -1
- package/dist/esm/agent-response/reasoning.spec.mjs +1 -1
- package/dist/esm/agent-response/templates/chain-of-thought-expanded.mjs +1 -1
- package/dist/esm/agent-response/templates/chain-of-thought-normal.mjs +1 -1
- package/dist/esm/agent-response/templates/reasoning-expanded.mjs +1 -1
- package/dist/esm/agent-response/templates/reasoning-normal.mjs +1 -1
- package/dist/esm/agent-response/templates/tool-call-expanded.mjs +1 -1
- package/dist/esm/agent-response/templates/tool-call-normal.mjs +1 -1
- package/dist/esm/agent-response/thought.spec.mjs +1 -1
- package/dist/esm/agent-response/tool-call.spec.mjs +1 -1
- package/dist/esm/chart-wizard/templates/chart-wizard-data.mjs +1 -1
- package/dist/esm/chart-wizard/templates/chart-wizard-format.mjs +1 -1
- package/dist/esm/chart-wizard/templates/chart-wizard-normal.mjs +1 -1
- package/dist/esm/citation/citation-popover-view.spec.mjs +1 -0
- package/dist/esm/citation/citation-popover.spec.mjs +1 -1
- package/dist/esm/citation/templates/citation-opened.mjs +1 -1
- package/dist/esm/datepicker/datepicker.spec.mjs +1 -1
- package/dist/esm/datepicker/demos/datepicker.mjs +1 -1
- package/dist/esm/datepicker/templates/datepicker-adaptive.mjs +1 -1
- package/dist/esm/datepicker/templates/datepicker-disabled.mjs +1 -1
- package/dist/esm/datepicker/templates/datepicker-invalid.mjs +1 -1
- package/dist/esm/datepicker/templates/datepicker-normal.mjs +1 -1
- package/dist/esm/datepicker/templates/datepicker-popup.mjs +1 -1
- package/dist/esm/filter/demos/filter.mjs +1 -1
- package/dist/esm/filter/templates/filter-normal.mjs +1 -1
- package/dist/esm/filter/templates/filter-preview.mjs +1 -1
- package/dist/esm/form/demos/form.mjs +1 -1
- package/dist/esm/form/form-field.mjs +1 -1
- package/dist/esm/form/form.spec.mjs +1 -1
- package/dist/esm/form/templates/form-grid-layout.mjs +1 -1
- package/dist/esm/form/templates/form-horizontal.mjs +1 -1
- package/dist/esm/form/templates/form-normal.mjs +1 -1
- package/dist/esm/form/templates/form-with-hints.mjs +1 -1
- package/dist/esm/grid/templates/grid-hierarchy.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-normal.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
- package/dist/esm/index.mjs +8 -8
- package/dist/esm/pivotgrid/demos/pivotgrid.mjs +1 -1
- package/dist/esm/pivotgrid/templates/pivotgrid-normal.mjs +1 -1
- package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator-disabled-actions.mjs +1 -1
- package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator-opened.mjs +1 -1
- package/dist/esm/pivotgrid/templates/pivotgrid-with-configurator.mjs +1 -1
- package/dist/esm/scheduler/demos/scheduler.mjs +1 -1
- package/dist/esm/scheduler/scheduler-cell.spec.mjs +1 -1
- package/dist/esm/scheduler/scheduler-event.spec.mjs +1 -1
- package/dist/esm/scheduler/scheduler-toolbar.spec.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-agenda.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-day.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-flex-agenda.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-flex-day.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-flex-horizontal-grouping.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-flex-month.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-flex-timeline.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-flex-vertical-grouping.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-flex-week.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-flex-year.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-horizontal-grouping.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-month.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-timeline.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-vertical-grouping.mjs +1 -1
- package/dist/esm/scheduler/templates/scheduler-week.mjs +1 -1
- package/dist/esm/taskboard/demos/taskboard.mjs +1 -1
- package/dist/esm/taskboard/taskboard.spec.mjs +1 -1
- package/dist/esm/taskboard/templates/taskboard-normal.mjs +1 -1
- package/dist/esm/taskboard/templates/taskboard-pane.mjs +1 -1
- package/dist/esm/timepicker/demos/timepicker.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-adaptive.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-disabled.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-invalid.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-normal.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-popup.mjs +1 -1
- package/dist/esm/timepicker/timepicker.spec.mjs +1 -1
- package/dist/types/agent-response/agent-step.d.ts +6 -3
- package/dist/types/agent-response/chain-of-thought.spec.d.ts +4 -2
- package/dist/types/agent-response/reasoning.spec.d.ts +4 -2
- package/dist/types/agent-response/thought.spec.d.ts +0 -2
- package/dist/types/agent-response/tool-call.spec.d.ts +4 -2
- package/dist/types/citation/citation-popover-view.spec.d.ts +18 -0
- package/dist/types/citation/citation-popover.spec.d.ts +0 -1
- package/dist/types/citation/index.d.ts +1 -0
- package/dist/types/datepicker/datepicker.spec.d.ts +1 -0
- package/dist/types/form/form-field.d.ts +1 -1
- package/dist/types/scheduler/scheduler-cell.spec.d.ts +1 -0
- package/dist/types/scheduler/scheduler-event.spec.d.ts +9 -3
- package/dist/types/scheduler/scheduler.spec.d.ts +19 -2
- package/dist/types/timepicker/timepicker.spec.d.ts +1 -0
- package/package.json +1 -1
- package/src/agent-response/agent-step.tsx +11 -13
- package/src/agent-response/chain-of-thought.spec.tsx +9 -4
- package/src/agent-response/reasoning.spec.tsx +9 -4
- package/src/agent-response/templates/chain-of-thought-expanded.tsx +1 -1
- package/src/agent-response/templates/chain-of-thought-normal.tsx +1 -1
- package/src/agent-response/templates/reasoning-expanded.tsx +1 -1
- package/src/agent-response/templates/reasoning-normal.tsx +1 -1
- package/src/agent-response/templates/tool-call-expanded.tsx +7 -12
- package/src/agent-response/templates/tool-call-normal.tsx +1 -1
- package/src/agent-response/tests/chain-of-thought.tsx +6 -3
- package/src/agent-response/tests/reasoning.tsx +5 -2
- package/src/agent-response/tests/tool-call.tsx +22 -35
- package/src/agent-response/thought.spec.tsx +1 -9
- package/src/agent-response/tool-call.spec.tsx +9 -4
- package/src/citation/citation-popover-view.spec.tsx +54 -0
- package/src/citation/citation-popover.spec.tsx +5 -7
- package/src/citation/index.ts +1 -0
- package/src/citation/templates/citation-opened.tsx +3 -6
- package/src/citation/tests/citation.tsx +19 -19
- package/src/datepicker/datepicker.spec.tsx +5 -2
- package/src/form/form-field.tsx +1 -1
- package/src/form/form.spec.tsx +4 -2
- package/src/grid/templates/grid-hierarchy.tsx +1 -1
- package/src/scheduler/scheduler-cell.spec.tsx +13 -6
- package/src/scheduler/scheduler-event.spec.tsx +108 -88
- package/src/scheduler/scheduler-toolbar.spec.tsx +7 -8
- package/src/scheduler/scheduler.spec.tsx +19 -2
- package/src/scheduler/templates/scheduler-agenda.tsx +9 -7
- package/src/scheduler/templates/scheduler-day.tsx +3 -6
- package/src/scheduler/templates/scheduler-flex-agenda.tsx +8 -6
- package/src/scheduler/templates/scheduler-flex-day.tsx +10 -11
- package/src/scheduler/templates/scheduler-flex-horizontal-grouping.tsx +6 -12
- package/src/scheduler/templates/scheduler-flex-month.tsx +13 -35
- package/src/scheduler/templates/scheduler-flex-timeline.tsx +8 -6
- package/src/scheduler/templates/scheduler-flex-vertical-grouping.tsx +4 -10
- package/src/scheduler/templates/scheduler-flex-week.tsx +15 -13
- package/src/scheduler/templates/scheduler-flex-year.tsx +9 -5
- package/src/scheduler/templates/scheduler-horizontal-grouping.tsx +5 -11
- package/src/scheduler/templates/scheduler-month.tsx +14 -35
- package/src/scheduler/templates/scheduler-timeline.tsx +9 -7
- package/src/scheduler/templates/scheduler-vertical-grouping.tsx +2 -2
- package/src/scheduler/templates/scheduler-week.tsx +19 -26
- package/src/scheduler/tests/scheduler-adaptive-agenda.tsx +17 -12
- package/src/scheduler/tests/scheduler-adaptive-day-resource-group.tsx +18 -27
- package/src/scheduler/tests/scheduler-adaptive-day.tsx +18 -27
- package/src/scheduler/tests/scheduler-adaptive-edit-no-height.tsx +9 -3
- package/src/scheduler/tests/scheduler-adaptive-edit-time-zones.tsx +10 -4
- package/src/scheduler/tests/scheduler-adaptive-edit.tsx +9 -3
- package/src/scheduler/tests/scheduler-adaptive-month.tsx +21 -28
- package/src/scheduler/tests/scheduler-agenda-view.tsx +7 -0
- package/src/scheduler/tests/scheduler-current-time-marker.tsx +28 -34
- package/src/scheduler/tests/scheduler-day-view.tsx +7 -0
- package/src/scheduler/tests/scheduler-edit-event-dialog.tsx +144 -0
- package/src/scheduler/tests/scheduler-events-popover.tsx +122 -0
- package/src/scheduler/tests/scheduler-events-responsive.tsx +71 -0
- package/src/scheduler/tests/scheduler-events.tsx +503 -508
- package/src/scheduler/tests/scheduler-month-view.tsx +7 -0
- package/src/scheduler/tests/scheduler-new-event-dialog.tsx +191 -0
- package/src/scheduler/tests/scheduler-quick-actions-popover.tsx +114 -0
- package/src/scheduler/tests/scheduler-react-timeline-multi.tsx +568 -673
- package/src/scheduler/tests/scheduler-recurrence-dialog.tsx +437 -0
- package/src/scheduler/tests/scheduler-timeline-view.tsx +7 -0
- package/src/scheduler/tests/scheduler-toolbar-responsive.tsx +226 -0
- package/src/scheduler/tests/scheduler-week-view.tsx +7 -0
- package/src/scheduler/tests/scheduler-year-view.tsx +3 -0
- package/src/timepicker/timepicker.spec.tsx +5 -2
- package/src/scheduler/tests/scheduler-edit-dialog.tsx +0 -103
- package/src/scheduler/tests/scheduler-editing-weekly.tsx +0 -128
- package/src/scheduler/tests/scheduler-tooltip.tsx +0 -82
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import ToolCall from '../tool-call.spec';
|
|
2
2
|
|
|
3
|
-
export const ToolCallNormal = (props: any) => <ToolCall label="tool_name" secondaryLabel="src/utils/formatDate.ts
|
|
3
|
+
export const ToolCallNormal = (props: any) => <ToolCall label="tool_name" secondaryLabel="src/utils/formatDate.ts · 120ms" status="Completed" statusThemeColor="success" statusIcon="check-circle" completed expandable {...props} />;
|
|
@@ -5,9 +5,9 @@ import Thought from "../thought.spec";
|
|
|
5
5
|
export default () => (
|
|
6
6
|
<div id="test-area" className="k-d-flex k-flex-col" style={{ maxWidth: "680px" }}>
|
|
7
7
|
<section>
|
|
8
|
-
<ChainOfThought label="Thought"
|
|
8
|
+
<ChainOfThought label="Thought" secondaryLabel="for 4m 18s" completed expandable />
|
|
9
9
|
|
|
10
|
-
<ChainOfThought label="Thought"
|
|
10
|
+
<ChainOfThought label="Thought" secondaryLabel="for 4m 18s" completed expandable expanded>
|
|
11
11
|
<Thought icon="search" label="Searched for components" completed />
|
|
12
12
|
<Thought icon="book" label='Found 12 components matching "button". Reviewing variants — identified 3 candidates with primary intent.' completed />
|
|
13
13
|
<Thought icon="book" label="Retrieved design system documentation for Button components." completed>
|
|
@@ -25,7 +25,7 @@ export default () => (
|
|
|
25
25
|
<Thought icon="pencil" label="Edited" secondaryLabel="_theme.scss" linesAdded={3} linesRemoved={1} completed />
|
|
26
26
|
</ChainOfThought>
|
|
27
27
|
<ChainOfThought icon="search" label="Searched for components" completed expandable />
|
|
28
|
-
<ChainOfThought icon="book" label="Reviewed component variants"
|
|
28
|
+
<ChainOfThought icon="book" label="Reviewed component variants" secondaryLabel="for 12s" expandable completed />
|
|
29
29
|
|
|
30
30
|
<ChainOfThought label="Thinking through request" secondaryLabel="I'm considering the best approach to the problem..." expandable expanded>
|
|
31
31
|
<Thought icon="search" label="Searched for components" completed />
|
|
@@ -41,6 +41,9 @@ export default () => (
|
|
|
41
41
|
</div>
|
|
42
42
|
</Thought>
|
|
43
43
|
</ChainOfThought>
|
|
44
|
+
|
|
45
|
+
{/* focused */}
|
|
46
|
+
<ChainOfThought label="Thought" secondaryLabel="for 4m 18s" completed expandable focus />
|
|
44
47
|
</section>
|
|
45
48
|
</div>
|
|
46
49
|
);
|
|
@@ -3,9 +3,9 @@ import { Reasoning } from "..";
|
|
|
3
3
|
export default () => (
|
|
4
4
|
<div id="test-area" className="k-d-flex k-flex-col" style={{ maxWidth: "680px" }}>
|
|
5
5
|
<section>
|
|
6
|
-
<Reasoning
|
|
6
|
+
<Reasoning secondaryLabel="for 48s" completed label="Completed" expandable />
|
|
7
7
|
|
|
8
|
-
<Reasoning
|
|
8
|
+
<Reasoning secondaryLabel="for 48s" completed label="Completed" expandable expanded>
|
|
9
9
|
<span>I'll design a resource component system for an AI chat — covering different resource types, states, and variants. Let me read the relevant skills first.</span>
|
|
10
10
|
<span>I'll gather local design system context, then create a comprehensive resource component system.</span>
|
|
11
11
|
</Reasoning>
|
|
@@ -16,6 +16,9 @@ export default () => (
|
|
|
16
16
|
<span>I'll design a resource component system for an AI chat — covering different resource types, states, and variants. Let me read the relevant skills first.</span>
|
|
17
17
|
<span>I'll gather local design system context, then create a comprehensive resource component system.</span>
|
|
18
18
|
</Reasoning>
|
|
19
|
+
|
|
20
|
+
{/* focused */}
|
|
21
|
+
<Reasoning secondaryLabel="for 48s" completed label="Completed" expandable focus />
|
|
19
22
|
</section>
|
|
20
23
|
</div>
|
|
21
24
|
);
|
|
@@ -8,40 +8,28 @@ import { MessageBox } from "../../message-box";
|
|
|
8
8
|
export default () => (
|
|
9
9
|
<div id="test-area" className="k-d-flex k-flex-col">
|
|
10
10
|
<section>
|
|
11
|
-
<ToolCall label="tool_name" secondaryLabel="src/utils/formatDate.ts
|
|
11
|
+
<ToolCall label="tool_name" secondaryLabel="src/utils/formatDate.ts · 120ms" status="Completed" statusThemeColor="success" statusIcon="check-circle" completed expandable />
|
|
12
12
|
|
|
13
|
-
<ToolCall label="tool_name" secondaryLabel="src/utils/formatDate.ts
|
|
13
|
+
<ToolCall label="tool_name" secondaryLabel="src/utils/formatDate.ts · 120ms" status="Completed" statusThemeColor="success" statusIcon="check-circle" completed expandable />
|
|
14
14
|
|
|
15
|
-
<ToolCall label="tool_name" secondaryLabel="src/utils/formatDate.ts
|
|
16
|
-
<div>Parameters</div>
|
|
17
|
-
<
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
</Card>
|
|
24
|
-
<div>Result</div>
|
|
25
|
-
<Card>
|
|
26
|
-
<CardBody>
|
|
27
|
-
<pre style={{ fontSize: "14px", marginTop: "0px" }}>
|
|
28
|
-
<code>{`> @progress/kendo-themes-html@14.4.0-dev.1 typecheck
|
|
15
|
+
<ToolCall label="tool_name" secondaryLabel="src/utils/formatDate.ts · 120ms" status="Completed" statusThemeColor="success" statusIcon="check-circle" completed expandable expanded>
|
|
16
|
+
<div className="k-tool-call-label">Parameters</div>
|
|
17
|
+
<pre className="k-pre">
|
|
18
|
+
<code className="k-code">{`cd packages/html && npx tsc --noEmit -p . 2>&1 | head -50`}</code>
|
|
19
|
+
</pre>
|
|
20
|
+
<div className="k-tool-call-label">Result</div>
|
|
21
|
+
<pre className="k-pre">
|
|
22
|
+
<code className="k-code">{`> @progress/kendo-themes-html@14.4.0-dev.1 typecheck
|
|
29
23
|
> npx tsc --noEmit --emitDeclarationOnly false --project tsconfig.json
|
|
30
24
|
`}</code>
|
|
31
|
-
|
|
32
|
-
</CardBody>
|
|
33
|
-
</Card>
|
|
25
|
+
</pre>
|
|
34
26
|
</ToolCall>
|
|
35
27
|
|
|
36
28
|
<ToolCall label="tool_name" status="Awaiting Approval" statusThemeColor="warning" statusIcon="exclamation-circle" expandable expanded>
|
|
37
|
-
<div>Parameters</div>
|
|
38
|
-
<
|
|
39
|
-
<
|
|
40
|
-
|
|
41
|
-
<code>{`cd packages/html && npx tsc --noEmit -p . 2>&1 | head -50`}</code>
|
|
42
|
-
</pre>
|
|
43
|
-
</CardBody>
|
|
44
|
-
</Card>
|
|
29
|
+
<div className="k-tool-call-label">Parameters</div>
|
|
30
|
+
<pre className="k-pre">
|
|
31
|
+
<code className="k-code">{`cd packages/html && npx tsc --noEmit -p . 2>&1 | head -50`}</code>
|
|
32
|
+
</pre>
|
|
45
33
|
<Card>
|
|
46
34
|
<CardBody>
|
|
47
35
|
<p>This command will execute a TS Typecheck in your codebase.</p>
|
|
@@ -54,16 +42,15 @@ export default () => (
|
|
|
54
42
|
</ToolCall>
|
|
55
43
|
|
|
56
44
|
<ToolCall label="tool_name" status="Error" statusThemeColor="error" statusIcon="exclamation-circle" expandable expanded>
|
|
57
|
-
<div>Parameters</div>
|
|
58
|
-
<
|
|
59
|
-
<
|
|
60
|
-
|
|
61
|
-
<code>{`cd packages/hmtl && npx tsc --noEmit -p . 2>&1 | head -50`}</code>
|
|
62
|
-
</pre>
|
|
63
|
-
</CardBody>
|
|
64
|
-
</Card>
|
|
45
|
+
<div className="k-tool-call-label">Parameters</div>
|
|
46
|
+
<pre className="k-pre">
|
|
47
|
+
<code className="k-code">{`cd packages/hmtl && npx tsc --noEmit -p . 2>&1 | head -50`}</code>
|
|
48
|
+
</pre>
|
|
65
49
|
<MessageBox themeColor="error">cd: no such file or directory: packges/hmtl</MessageBox>
|
|
66
50
|
</ToolCall>
|
|
51
|
+
|
|
52
|
+
{/* focused */}
|
|
53
|
+
<ToolCall label="tool_name" secondaryLabel="src/utils/formatDate.ts · 120ms" status="Completed" statusThemeColor="success" statusIcon="check-circle" completed expandable focus />
|
|
67
54
|
</section>
|
|
68
55
|
</div>
|
|
69
56
|
);
|
|
@@ -23,8 +23,6 @@ export type KendoThoughtProps = {
|
|
|
23
23
|
linesAdded?: number;
|
|
24
24
|
/** Number of lines removed (rendered red with - prefix) */
|
|
25
25
|
linesRemoved?: number;
|
|
26
|
-
/** Duration string — e.g. "120ms", "4m 18s" */
|
|
27
|
-
time?: string;
|
|
28
26
|
/** Status badge text — e.g. "Completed", "Awaiting Approval", "No results found" */
|
|
29
27
|
status?: string;
|
|
30
28
|
/** Theme color for the status Badge */
|
|
@@ -44,7 +42,7 @@ const defaultOptions = {
|
|
|
44
42
|
* @ux {Diff stats} Added/removed line counts always render in success/error colors, regardless of completed state.
|
|
45
43
|
*/
|
|
46
44
|
export const Thought: KendoComponent<KendoThoughtProps & React.HTMLAttributes<HTMLDivElement>> = (props: KendoThoughtProps & React.HTMLAttributes<HTMLDivElement>) => {
|
|
47
|
-
const { icon, label, labelClassName, secondaryLabel, linesAdded, linesRemoved,
|
|
45
|
+
const { icon, label, labelClassName, secondaryLabel, linesAdded, linesRemoved, status, statusThemeColor = "success", statusIcon, completed = defaultOptions.completed, className, children, ...other } = props;
|
|
48
46
|
|
|
49
47
|
return (
|
|
50
48
|
<div
|
|
@@ -68,12 +66,6 @@ export const Thought: KendoComponent<KendoThoughtProps & React.HTMLAttributes<HT
|
|
|
68
66
|
)}
|
|
69
67
|
{linesAdded && <span className="k-agent-step-added">+{linesAdded}</span>}
|
|
70
68
|
{linesRemoved && <span className="k-agent-step-removed">-{linesRemoved}</span>}
|
|
71
|
-
{time && (
|
|
72
|
-
<>
|
|
73
|
-
<span className="k-agent-step-sep">·</span>
|
|
74
|
-
<span className="k-agent-step-time">{time}</span>
|
|
75
|
-
</>
|
|
76
|
-
)}
|
|
77
69
|
{status && (
|
|
78
70
|
<Badge size="small" themeColor={statusThemeColor} rounded="full">
|
|
79
71
|
{statusIcon && <Icon icon={statusIcon} size="small" />}
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { classNames } from "../misc";
|
|
3
|
-
import { AgentStep, KendoAgentStepProps } from "./agent-step";
|
|
2
|
+
import { classNames, States } from "../misc";
|
|
3
|
+
import { AgentStep, KendoAgentStepProps, KendoAgentStepState } from "./agent-step";
|
|
4
4
|
import { KendoComponent, KendoBaseProps } from "../_types/component";
|
|
5
5
|
import { AGENT_RESPONSE_FOLDER_NAME, AGENT_RESPONSE_MODULE_NAME } from "./constants";
|
|
6
6
|
|
|
7
7
|
export const TOOL_CALL_CLASSNAME = "k-tool-call";
|
|
8
8
|
|
|
9
|
-
const states = [
|
|
9
|
+
const states = [
|
|
10
|
+
States.focus
|
|
11
|
+
] as const;
|
|
12
|
+
|
|
10
13
|
const options = {};
|
|
11
14
|
|
|
12
15
|
export type KendoToolCallProps = KendoAgentStepProps;
|
|
16
|
+
export type KendoToolCallState = KendoAgentStepState;
|
|
13
17
|
|
|
14
18
|
const defaultOptions = {
|
|
15
19
|
icon: "wrench",
|
|
@@ -22,8 +26,9 @@ const defaultOptions = {
|
|
|
22
26
|
* @ux {Expand / Collapse} Clicking or activating the head toggles the tool call body (parameters, results, approval actions) open and closed.
|
|
23
27
|
* @ux {Status} The optional status Badge reflects the call's outcome (e.g. "Completed", "Awaiting Approval", "Error").
|
|
24
28
|
* @ux {Completed state} When completed, the label stops shimmering and the icon/label/expand icon dim to a subtle color.
|
|
29
|
+
* @ux {Focus feedback} Keyboard focus on the head renders a focus indicator — an inset ring in most themes and an inset outline in Meridian.
|
|
25
30
|
*/
|
|
26
|
-
export const ToolCall: KendoComponent<KendoToolCallProps & React.HTMLAttributes<HTMLDivElement>> = (props: KendoToolCallProps & KendoBaseProps & React.HTMLAttributes<HTMLDivElement>) => {
|
|
31
|
+
export const ToolCall: KendoComponent<KendoToolCallProps & KendoToolCallState & React.HTMLAttributes<HTMLDivElement>> = (props: KendoToolCallProps & KendoToolCallState & KendoBaseProps & React.HTMLAttributes<HTMLDivElement>) => {
|
|
27
32
|
const { icon = defaultOptions.icon, className, ...other } = props;
|
|
28
33
|
|
|
29
34
|
return <AgentStep {...other} icon={icon} className={classNames(className, TOOL_CALL_CLASSNAME)} />;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { classNames } from "../misc";
|
|
3
|
+
import { Icon } from "../icon";
|
|
4
|
+
import { KendoComponent } from "../_types/component";
|
|
5
|
+
import { CITATION_FOLDER_NAME, CITATION_MODULE_NAME } from "./constants";
|
|
6
|
+
|
|
7
|
+
export const CITATION_POPOVER_VIEW_CLASSNAME = "k-citation-popover-view";
|
|
8
|
+
|
|
9
|
+
const states = [] as const;
|
|
10
|
+
const options = {};
|
|
11
|
+
|
|
12
|
+
export type KendoCitationPopoverViewProps = {
|
|
13
|
+
/** Title of the cited source, rendered in bold */
|
|
14
|
+
title?: React.ReactNode;
|
|
15
|
+
/** Short descriptive summary of the cited source */
|
|
16
|
+
body?: React.ReactNode;
|
|
17
|
+
/** URL of the cited source; rendered as a link, prefixed with an icon */
|
|
18
|
+
source?: string;
|
|
19
|
+
/** Icon shown before the source URL */
|
|
20
|
+
sourceIcon?: string;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
const defaultOptions = {
|
|
24
|
+
sourceIcon: "globe",
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @ux {Structured view} Renders the title, body summary, and source link of a cited source in a consistent layout.
|
|
29
|
+
*/
|
|
30
|
+
export const CitationPopoverView: KendoComponent<KendoCitationPopoverViewProps & React.HTMLAttributes<HTMLDivElement>> = (props: KendoCitationPopoverViewProps & React.HTMLAttributes<HTMLDivElement>) => {
|
|
31
|
+
const { title, body, source, sourceIcon = defaultOptions.sourceIcon, className, children, ...other } = props;
|
|
32
|
+
return (
|
|
33
|
+
<div {...other} className={classNames(className, CITATION_POPOVER_VIEW_CLASSNAME)}>
|
|
34
|
+
{title && <div className="k-citation-popover-view-title">{title}</div>}
|
|
35
|
+
{source && (
|
|
36
|
+
<a href={source} className="k-citation-popover-view-source">
|
|
37
|
+
<Icon icon={sourceIcon} />
|
|
38
|
+
{source}
|
|
39
|
+
</a>
|
|
40
|
+
)}
|
|
41
|
+
{body && <span className="k-citation-popover-view-body">{body}</span>}
|
|
42
|
+
{children}
|
|
43
|
+
</div>
|
|
44
|
+
);
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
CitationPopoverView.states = states;
|
|
48
|
+
CitationPopoverView.options = options;
|
|
49
|
+
CitationPopoverView.className = CITATION_POPOVER_VIEW_CLASSNAME;
|
|
50
|
+
CitationPopoverView.defaultOptions = defaultOptions;
|
|
51
|
+
CitationPopoverView.moduleName = CITATION_MODULE_NAME;
|
|
52
|
+
CitationPopoverView.folderName = CITATION_FOLDER_NAME;
|
|
53
|
+
|
|
54
|
+
export default CitationPopoverView;
|
|
@@ -15,13 +15,11 @@ export type KendoCitationPopoverProps = {
|
|
|
15
15
|
pageIndex?: number;
|
|
16
16
|
totalPages?: number;
|
|
17
17
|
body?: React.JSX.Element;
|
|
18
|
-
currentView?: number;
|
|
19
18
|
};
|
|
20
19
|
|
|
21
20
|
const defaultOptions = {
|
|
22
|
-
currentView: 1,
|
|
23
21
|
pageIndex: 1,
|
|
24
|
-
totalPages:
|
|
22
|
+
totalPages: 2,
|
|
25
23
|
};
|
|
26
24
|
|
|
27
25
|
/**
|
|
@@ -30,20 +28,20 @@ const defaultOptions = {
|
|
|
30
28
|
* @ux {Sliding views} Slides between page views using the --kendo-citation-popover-view-current CSS variable instead of unmounting content.
|
|
31
29
|
*/
|
|
32
30
|
export const CitationPopover: KendoComponent<KendoCitationPopoverProps & React.HTMLAttributes<HTMLDivElement>> = (props: KendoCitationPopoverProps & React.HTMLAttributes<HTMLDivElement>) => {
|
|
33
|
-
const { body,
|
|
31
|
+
const { body, pageIndex = defaultOptions.pageIndex, totalPages = defaultOptions.totalPages, className, children, ...other } = props;
|
|
34
32
|
return (
|
|
35
33
|
<Popover
|
|
36
34
|
{...other}
|
|
37
35
|
className={classNames(className, CITATION_POPOVER_CLASSNAME)}
|
|
38
|
-
style={{ "--kendo-citation-popover-view-current":
|
|
36
|
+
style={{ "--kendo-citation-popover-view-current": pageIndex } as React.CSSProperties}
|
|
39
37
|
title={
|
|
40
38
|
<>
|
|
41
39
|
<span className="k-citation-pages">
|
|
42
40
|
{pageIndex}/{totalPages}
|
|
43
41
|
</span>
|
|
44
42
|
<ButtonGroup fillMode="flat">
|
|
45
|
-
<IconButton icon="arrow-left" fillMode="flat" size="small" aria-label="Previous" />
|
|
46
|
-
<IconButton icon="arrow-right" fillMode="flat" size="small" aria-label="Next" />
|
|
43
|
+
<IconButton className="k-group-start" icon="arrow-left" fillMode="flat" size="small" aria-label="Previous" disabled={pageIndex <= 1} />
|
|
44
|
+
<IconButton className="k-group-end" icon="arrow-right" fillMode="flat" size="small" aria-label="Next" disabled={pageIndex >= totalPages} />
|
|
47
45
|
</ButtonGroup>
|
|
48
46
|
</>
|
|
49
47
|
}
|
package/src/citation/index.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Citation from "../citation.spec";
|
|
2
2
|
import CitationPopover from "../citation-popover.spec";
|
|
3
|
+
import CitationPopoverView from "../citation-popover-view.spec";
|
|
3
4
|
|
|
4
5
|
export const CitationOpened = (props: any) => (
|
|
5
6
|
<>
|
|
@@ -7,12 +8,8 @@ export const CitationOpened = (props: any) => (
|
|
|
7
8
|
<CitationPopover
|
|
8
9
|
body={
|
|
9
10
|
<>
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
</div>
|
|
13
|
-
<div className="k-citation-popover-view">
|
|
14
|
-
<div>View 2</div>
|
|
15
|
-
</div>
|
|
11
|
+
<CitationPopoverView title="View 1" />
|
|
12
|
+
<CitationPopoverView title="View 2" />
|
|
16
13
|
</>
|
|
17
14
|
}
|
|
18
15
|
/>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { Citation } from "../citation.spec";
|
|
2
2
|
import CitationPopover from "../citation-popover.spec";
|
|
3
|
-
import
|
|
3
|
+
import CitationPopoverView from "../citation-popover-view.spec";
|
|
4
4
|
|
|
5
5
|
const styles = `
|
|
6
6
|
.k-animation-container {
|
|
7
7
|
position: relative;
|
|
8
|
+
width: 318px;
|
|
8
9
|
}
|
|
9
10
|
`;
|
|
10
11
|
|
|
@@ -16,34 +17,33 @@ export default () => (
|
|
|
16
17
|
<p>Inline Citation</p>
|
|
17
18
|
<div className="k-d-flex k-flex-wrap k-gap-2 k-align-items-center">
|
|
18
19
|
<Citation domain="some-link.com" count={5} />
|
|
19
|
-
<Citation domain="some-link.com" count={5}
|
|
20
|
+
<Citation domain="some-link.com" count={5} hover />
|
|
20
21
|
</div>
|
|
21
22
|
</section>
|
|
22
23
|
|
|
23
24
|
<section>
|
|
24
25
|
<p>Inline Citation + Popover</p>
|
|
25
26
|
<p>
|
|
26
|
-
An inline citation component is an interactive UI element that embeds clickable reference badges, like [1] or source names, directly into text. <Citation domain="some-link.com" count={5}
|
|
27
|
+
An inline citation component is an interactive UI element that embeds clickable reference badges, like [1] or source names, directly into text. <Citation domain="some-link.com" count={5} hover /> When users hover over or click these badges, the component displays full source details, such as titles, domains, URLs.
|
|
27
28
|
</p>
|
|
28
29
|
<CitationPopover
|
|
29
30
|
body={
|
|
30
31
|
<>
|
|
31
|
-
<
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</div>
|
|
32
|
+
<CitationPopoverView title="Advances in Natural Language" body="A comprehensive study on the recent developments in natural language processing technologies" source="https://example.com/nlp-advances" />
|
|
33
|
+
<CitationPopoverView title="Advances in Natural Language" body="A comprehensive study on the recent developments in natural language processing technologies" source="https://example.com/nlp-advances" />
|
|
34
|
+
</>
|
|
35
|
+
}
|
|
36
|
+
/>
|
|
37
|
+
</section>
|
|
38
|
+
|
|
39
|
+
<section>
|
|
40
|
+
<p>Inline Citation + Popover with long texts</p>
|
|
41
|
+
<CitationPopover
|
|
42
|
+
pageIndex={2}
|
|
43
|
+
body={
|
|
44
|
+
<>
|
|
45
|
+
<CitationPopoverView title="Advances in Natural Language Processing Long Long Long" body="A comprehensive study on the recent developments in natural language processing technologies and their long long long long long long long long long long long long long long long long long long long long long text" source="https://example.com/nlp-advances/long/long/long" />
|
|
46
|
+
<CitationPopoverView title="Advances in Natural Language Processing Long Long Long" body="A comprehensive study on the recent developments in natural language processing technologies and their long long long long long long long long long long long long long long long long long long long long long text" source="https://example.com/nlp-advances/long/long/long" />
|
|
47
47
|
</>
|
|
48
48
|
}
|
|
49
49
|
/>
|
|
@@ -35,6 +35,7 @@ const options = {
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
const defaultOptions = {
|
|
38
|
+
showClearButton: true
|
|
38
39
|
};
|
|
39
40
|
|
|
40
41
|
export type KendoDatePickerOptions = {
|
|
@@ -48,6 +49,7 @@ export type KendoDatePickerProps = KendoDatePickerOptions & {
|
|
|
48
49
|
suffix?: React.JSX.Element;
|
|
49
50
|
value?: string;
|
|
50
51
|
placeholder?: string;
|
|
52
|
+
showClearButton?: boolean;
|
|
51
53
|
opened?: boolean;
|
|
52
54
|
adaptive?: boolean;
|
|
53
55
|
adaptiveSettings?: KendoActionSheetProps;
|
|
@@ -88,6 +90,7 @@ export const DatePicker: KendoComponent<KendoDatePickerProps & KendoDatePickerSt
|
|
|
88
90
|
suffix,
|
|
89
91
|
value,
|
|
90
92
|
placeholder,
|
|
93
|
+
showClearButton = defaultOptions.showClearButton,
|
|
91
94
|
hover,
|
|
92
95
|
focus,
|
|
93
96
|
valid,
|
|
@@ -143,11 +146,11 @@ export const DatePicker: KendoComponent<KendoDatePickerProps & KendoDatePickerSt
|
|
|
143
146
|
<InputLoadingIcon
|
|
144
147
|
loading={loading}
|
|
145
148
|
disabled={disabled} />
|
|
146
|
-
<InputClearValue
|
|
149
|
+
{ showClearButton && <InputClearValue
|
|
147
150
|
loading={loading}
|
|
148
151
|
disabled={disabled}
|
|
149
152
|
readonly={readonly}
|
|
150
|
-
value={value} />
|
|
153
|
+
value={value} />}
|
|
151
154
|
<InputSuffix>{suffix}</InputSuffix>
|
|
152
155
|
<Button
|
|
153
156
|
className="k-input-button"
|
package/src/form/form-field.tsx
CHANGED
package/src/form/form.spec.tsx
CHANGED
|
@@ -48,7 +48,8 @@ export const Form: KendoComponent<KendoFormProps & React.HTMLAttributes<HTMLDivE
|
|
|
48
48
|
cols,
|
|
49
49
|
gutters,
|
|
50
50
|
tag = defaultOptions.tag,
|
|
51
|
-
children
|
|
51
|
+
children,
|
|
52
|
+
style
|
|
52
53
|
} = props;
|
|
53
54
|
|
|
54
55
|
const Tag = tag;
|
|
@@ -76,7 +77,8 @@ export const Form: KendoComponent<KendoFormProps & React.HTMLAttributes<HTMLDivE
|
|
|
76
77
|
)} style={{
|
|
77
78
|
...(typeof gutters === 'string' && { gap: gutters }),
|
|
78
79
|
...(typeof gutters === 'object' && gutters.rows && { rowGap: gutters.rows }),
|
|
79
|
-
...(typeof gutters === 'object' && gutters.cols && { columnGap: gutters.cols })
|
|
80
|
+
...(typeof gutters === 'object' && gutters.cols && { columnGap: gutters.cols }),
|
|
81
|
+
...style
|
|
80
82
|
}}>
|
|
81
83
|
{children}
|
|
82
84
|
</div>
|
|
@@ -57,7 +57,7 @@ export const GridHierarchy = ({ containerClassName, ...other }: any) => (
|
|
|
57
57
|
<TableTd className="k-detail-cell" role="gridcell" colspan={3}>
|
|
58
58
|
<Grid _renderAriaRoot className="k-grid-no-scrollbar">
|
|
59
59
|
<GridHeader>
|
|
60
|
-
<div className="k-grid-header-wrap">
|
|
60
|
+
<div className="k-grid-header-wrap" role="none">
|
|
61
61
|
<GridHeaderTable role="none">
|
|
62
62
|
<colgroup>
|
|
63
63
|
<col />
|
|
@@ -14,6 +14,7 @@ export type KendoSchedulerCellProps = {
|
|
|
14
14
|
cellType?: string[];
|
|
15
15
|
allDay?: boolean;
|
|
16
16
|
text?: string;
|
|
17
|
+
dayText?: string;
|
|
17
18
|
colspan?: number;
|
|
18
19
|
rowspan?: number;
|
|
19
20
|
}
|
|
@@ -28,6 +29,7 @@ export const SchedulerCell: KendoComponent<KendoSchedulerCellProps & ( | ( React
|
|
|
28
29
|
cellType,
|
|
29
30
|
allDay,
|
|
30
31
|
text,
|
|
32
|
+
dayText,
|
|
31
33
|
colspan,
|
|
32
34
|
rowspan,
|
|
33
35
|
as: Component = 'div',
|
|
@@ -54,12 +56,17 @@ export const SchedulerCell: KendoComponent<KendoSchedulerCellProps & ( | ( React
|
|
|
54
56
|
[`k-${t}-cell`]: true,
|
|
55
57
|
}))
|
|
56
58
|
)}>
|
|
57
|
-
{
|
|
58
|
-
|
|
59
|
-
{
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
{dayText ?
|
|
60
|
+
<>
|
|
61
|
+
<span className="k-scheduler-date-day">{dayText}</span>
|
|
62
|
+
<span className="k-link k-nav-day" aria-label={`${dayText} ${text}`}>{text}</span>
|
|
63
|
+
</>
|
|
64
|
+
: !allDay && text ?
|
|
65
|
+
<span className="k-link k-nav-day">
|
|
66
|
+
{textOrChildren}
|
|
67
|
+
</span>
|
|
68
|
+
:
|
|
69
|
+
textOrChildren
|
|
63
70
|
}
|
|
64
71
|
</Component>
|
|
65
72
|
);
|