@aleph-alpha/chat-kit 4.0.0 → 5.0.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.
Files changed (111) hide show
  1. package/dist/{CkInput.vue_vue_type_script_setup_true_lang-DJN-nZ2-.js → CkHistory.vue_vue_type_script_setup_true_lang-CtQUc3m3.js} +435 -378
  2. package/dist/chat-kit.css +28 -6
  3. package/dist/components/base/CkAgentMessage/CkAgentMessage.stories.d.ts +14 -13
  4. package/dist/components/base/CkAgentMessage/CkAgentMessage.stories.d.ts.map +1 -1
  5. package/dist/components/base/CkAgentMessage/CkAgentMessage.vue.d.ts +8 -7
  6. package/dist/components/base/CkAgentMessage/CkAgentMessage.vue.d.ts.map +1 -1
  7. package/dist/components/base/CkAgentMessage/types.d.ts +16 -5
  8. package/dist/components/base/CkAgentMessage/types.d.ts.map +1 -1
  9. package/dist/components/base/CkAgentMessageHeader/CkAgentMessageHeader.stories.d.ts +16 -0
  10. package/dist/components/base/CkAgentMessageHeader/CkAgentMessageHeader.stories.d.ts.map +1 -0
  11. package/dist/components/base/CkAgentMessageHeader/CkAgentMessageHeader.vue.d.ts +21 -0
  12. package/dist/components/base/CkAgentMessageHeader/CkAgentMessageHeader.vue.d.ts.map +1 -0
  13. package/dist/components/base/CkAgentMessageHeader/index.d.ts +3 -0
  14. package/dist/components/base/CkAgentMessageHeader/index.d.ts.map +1 -0
  15. package/dist/components/base/CkAgentMessageHeader/types.d.ts +22 -0
  16. package/dist/components/base/CkAgentMessageHeader/types.d.ts.map +1 -0
  17. package/dist/components/base/CkCitation/CkCitation.stories.d.ts +6 -0
  18. package/dist/components/base/CkCitation/CkCitation.stories.d.ts.map +1 -1
  19. package/dist/components/base/CkCitation/CkCitation.vue.d.ts.map +1 -1
  20. package/dist/components/base/CkCitationCard/CkCitationCard.stories.d.ts +10 -6
  21. package/dist/components/base/CkCitationCard/CkCitationCard.stories.d.ts.map +1 -1
  22. package/dist/components/base/CkCitationCard/CkCitationCard.vue.d.ts.map +1 -1
  23. package/dist/components/base/CkFileItemsList/CkFileItemsList.stories.d.ts +15 -4
  24. package/dist/components/base/CkFileItemsList/CkFileItemsList.stories.d.ts.map +1 -1
  25. package/dist/components/base/CkFileItemsList/CkFileItemsList.vue.d.ts +2 -1
  26. package/dist/components/base/CkFileItemsList/CkFileItemsList.vue.d.ts.map +1 -1
  27. package/dist/components/base/CkFileItemsList/types.d.ts +17 -4
  28. package/dist/components/base/CkFileItemsList/types.d.ts.map +1 -1
  29. package/dist/components/base/CkHeaderActivityButton/CkHeaderActivityButton.stories.d.ts +19 -0
  30. package/dist/components/base/CkHeaderActivityButton/CkHeaderActivityButton.stories.d.ts.map +1 -0
  31. package/dist/components/base/CkHeaderActivityButton/CkHeaderActivityButton.vue.d.ts +22 -0
  32. package/dist/components/base/CkHeaderActivityButton/CkHeaderActivityButton.vue.d.ts.map +1 -0
  33. package/dist/components/base/CkHeaderActivityButton/index.d.ts +3 -0
  34. package/dist/components/base/CkHeaderActivityButton/index.d.ts.map +1 -0
  35. package/dist/components/base/CkHeaderActivityButton/types.d.ts +36 -0
  36. package/dist/components/base/CkHeaderActivityButton/types.d.ts.map +1 -0
  37. package/dist/components/base/CkPromptInput/CkPromptInput.stories.d.ts +6 -6
  38. package/dist/components/base/CkPromptInput/CkPromptInput.vue.d.ts.map +1 -1
  39. package/dist/components/base/CkPromptInput/types.d.ts +4 -4
  40. package/dist/components/base/CkPromptInputDisclaimer/CkPromptInputDisclaimer.vue.d.ts.map +1 -1
  41. package/dist/components/base/CkPromptInputDisclaimer/types.d.ts +1 -1
  42. package/dist/components/base/CkPromptSendButton/CkPromptSendButton.vue.d.ts +1 -1
  43. package/dist/components/base/CkPromptSendButton/types.d.ts +1 -1
  44. package/dist/components/base/CkPromptStopButton/types.d.ts +1 -1
  45. package/dist/components/base/index.d.ts +4 -0
  46. package/dist/components/base/index.d.ts.map +1 -1
  47. package/dist/components/composed/CkConversation/CkConversation.vue.d.ts +13 -1
  48. package/dist/components/composed/CkConversation/CkConversation.vue.d.ts.map +1 -1
  49. package/dist/components/composed/CkConversation/types.d.ts +1 -1
  50. package/dist/components/composed/index.d.ts +0 -1
  51. package/dist/components/composed/index.d.ts.map +1 -1
  52. package/dist/components/index.d.ts +3 -3
  53. package/dist/components/index.d.ts.map +1 -1
  54. package/dist/components/index.js +26 -25
  55. package/dist/index.d.ts +2 -2
  56. package/dist/index.d.ts.map +1 -1
  57. package/dist/index.js +27 -26
  58. package/package.json +1 -1
  59. package/src/components/base/CkAgentMessage/CkAgentMessage.spec.ts +12 -17
  60. package/src/components/base/CkAgentMessage/CkAgentMessage.stories.ts +124 -113
  61. package/src/components/base/CkAgentMessage/CkAgentMessage.vue +18 -16
  62. package/src/components/base/CkAgentMessage/types.ts +16 -5
  63. package/src/components/base/CkAgentMessageHeader/CkAgentMessageHeader.spec.ts +64 -0
  64. package/src/components/base/CkAgentMessageHeader/CkAgentMessageHeader.stories.ts +90 -0
  65. package/src/components/base/CkAgentMessageHeader/CkAgentMessageHeader.vue +47 -0
  66. package/src/components/base/CkAgentMessageHeader/index.ts +2 -0
  67. package/src/components/base/CkAgentMessageHeader/types.ts +21 -0
  68. package/src/components/base/CkCitation/CkCitation.stories.ts +12 -0
  69. package/src/components/base/CkCitation/CkCitation.vue +34 -9
  70. package/src/components/base/CkCitationCard/CkCitationCard.spec.ts +9 -0
  71. package/src/components/base/CkCitationCard/CkCitationCard.stories.ts +11 -7
  72. package/src/components/base/CkCitationCard/CkCitationCard.vue +5 -3
  73. package/src/components/base/CkConversationLayout/CkConversationLayout.vue +1 -1
  74. package/src/components/base/CkFileItemsList/CkFileItemsList.spec.ts +88 -13
  75. package/src/components/base/CkFileItemsList/CkFileItemsList.stories.ts +61 -13
  76. package/src/components/base/CkFileItemsList/CkFileItemsList.vue +153 -110
  77. package/src/components/base/CkFileItemsList/types.ts +17 -4
  78. package/src/components/base/CkHeaderActivityButton/CkHeaderActivityButton.spec.ts +50 -0
  79. package/src/components/base/CkHeaderActivityButton/CkHeaderActivityButton.stories.ts +102 -0
  80. package/src/components/base/CkHeaderActivityButton/CkHeaderActivityButton.vue +39 -0
  81. package/src/components/base/CkHeaderActivityButton/index.ts +2 -0
  82. package/src/components/base/CkHeaderActivityButton/types.ts +36 -0
  83. package/src/components/base/CkPromptInput/CkPromptInput.spec.ts +88 -0
  84. package/src/components/base/CkPromptInput/CkPromptInput.stories.ts +6 -6
  85. package/src/components/base/CkPromptInput/CkPromptInput.vue +63 -12
  86. package/src/components/base/CkPromptInput/types.ts +4 -4
  87. package/src/components/base/CkPromptInputDisclaimer/CkPromptInputDisclaimer.spec.ts +1 -1
  88. package/src/components/base/CkPromptInputDisclaimer/CkPromptInputDisclaimer.vue +1 -1
  89. package/src/components/base/CkPromptInputDisclaimer/types.ts +1 -1
  90. package/src/components/base/CkPromptSendButton/types.ts +1 -1
  91. package/src/components/base/CkPromptStopButton/types.ts +1 -1
  92. package/src/components/base/index.ts +7 -0
  93. package/src/components/composed/CkConversation/CkConversation.spec.ts +81 -6
  94. package/src/components/composed/CkConversation/CkConversation.vue +78 -35
  95. package/src/components/composed/CkConversation/types.ts +1 -1
  96. package/src/components/composed/index.ts +0 -1
  97. package/src/components/index.ts +6 -1
  98. package/src/index.ts +5 -1
  99. package/dist/components/composed/CkInput/CkInput.stories.d.ts +0 -43
  100. package/dist/components/composed/CkInput/CkInput.stories.d.ts.map +0 -1
  101. package/dist/components/composed/CkInput/CkInput.vue.d.ts +0 -50
  102. package/dist/components/composed/CkInput/CkInput.vue.d.ts.map +0 -1
  103. package/dist/components/composed/CkInput/index.d.ts +0 -3
  104. package/dist/components/composed/CkInput/index.d.ts.map +0 -1
  105. package/dist/components/composed/CkInput/types.d.ts +0 -55
  106. package/dist/components/composed/CkInput/types.d.ts.map +0 -1
  107. package/src/components/composed/CkInput/CkInput.spec.ts +0 -191
  108. package/src/components/composed/CkInput/CkInput.stories.ts +0 -434
  109. package/src/components/composed/CkInput/CkInput.vue +0 -106
  110. package/src/components/composed/CkInput/index.ts +0 -2
  111. package/src/components/composed/CkInput/types.ts +0 -55
@@ -4,30 +4,31 @@ declare const meta: Meta<typeof CkAgentMessage>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
6
6
  /**
7
- * Standard agent reply with an icon slot and a body slot. Use as the default
8
- * layout for assistant messages in a conversation.
7
+ * Standard agent reply: a full-width `CkAgentMessageHeader` (icon + text) in
8
+ * the `header` slot and the response body in the default slot.
9
9
  */
10
10
  export declare const Default: Story;
11
+ /**
12
+ * Header with an activity button. The activity slot adds vertical padding and a
13
+ * bottom border that separates the header from the message body.
14
+ */
15
+ export declare const WithActivityHeader: Story;
11
16
  /**
12
17
  * Adds action buttons (copy, regenerate, etc.) via the `footer` slot.
13
18
  * Use when messages need post-response interactions.
14
19
  */
15
20
  export declare const WithFooterActions: Story;
16
21
  /**
17
- * Arbitrary rich content in the default slot — lists, bold text, etc.
18
- * Use when you are rendering structured answers directly (rather than via CkMarkdownRenderer).
19
- */
20
- export declare const WithRichContent: Story;
21
- /**
22
- * Replaces the default header row with a custom title/metadata block.
23
- * Use to label the assistant (agent name, version, model) above the message body.
22
+ * Omits the header entirely. Use for minimalist conversations or systems where
23
+ * the assistant identity is conveyed elsewhere.
24
24
  */
25
- export declare const WithCustomHeader: Story;
25
+ export declare const WithoutHeader: Story;
26
26
  /**
27
- * Omits the icon slot. Use for minimalist conversations or systems where
28
- * the assistant identity is conveyed elsewhere.
27
+ * A bottom separator (border) is rendered by default to divide messages.
28
+ * `CkConversation` disables it on the last assistant message; set
29
+ * `:bottom-separator="false"` to do the same manually.
29
30
  */
30
- export declare const WithoutIcon: Story;
31
+ export declare const WithoutBottomSeparator: Story;
31
32
  /**
32
33
  * An assistant reply whose body is markdown containing inline `[n]` citations,
33
34
  * rendered through `CkMarkdownRenderer` inside the message. Each `[n]` becomes
@@ -1 +1 @@
1
- {"version":3,"file":"CkAgentMessage.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkAgentMessage/CkAgentMessage.stories.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,sBAAsB,CAAC;AAGlD,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAIrC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAyFnC;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAerB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAmB/B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,KAwB7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAmB9B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAUzB,CAAC;AA+EF;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,KAyB3B,CAAC"}
1
+ {"version":3,"file":"CkAgentMessage.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkAgentMessage/CkAgentMessage.stories.ts"],"names":[],"mappings":"AAIA,OAAO,cAAc,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAIrC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA6FnC;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAgBrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAuBhC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAoB/B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,KAU3B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EAAE,KAkBpC,CAAC;AAkFF;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,KA0B3B,CAAC"}
@@ -1,14 +1,15 @@
1
- declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
1
+ import type { CkAgentMessageProps } from './types';
2
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
2
3
  type __VLS_Slots = {} & {
3
- icon?: (props: typeof __VLS_1) => any;
4
+ header?: (props: typeof __VLS_1) => any;
4
5
  } & {
5
- header?: (props: typeof __VLS_3) => any;
6
+ default?: (props: typeof __VLS_3) => any;
6
7
  } & {
7
- default?: (props: typeof __VLS_5) => any;
8
- } & {
9
- footer?: (props: typeof __VLS_7) => any;
8
+ footer?: (props: typeof __VLS_5) => any;
10
9
  };
11
- declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
+ declare const __VLS_base: import("vue").DefineComponent<CkAgentMessageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CkAgentMessageProps> & Readonly<{}>, {
11
+ bottomSeparator: boolean;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
14
  declare const _default: typeof __VLS_export;
14
15
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"CkAgentMessage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkAgentMessage/CkAgentMessage.vue"],"names":[],"mappings":"AA0GA,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AACjF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK9C,QAAA,MAAM,UAAU,+QACd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CkAgentMessage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkAgentMessage/CkAgentMessage.vue"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAmEnD,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC9D,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK9C,QAAA,MAAM,UAAU;;6EAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,12 +1,23 @@
1
1
  /**
2
- * Layout for a single assistant (agent) turn in a conversation. Exposes
3
- * `icon`, `header`, default content and `footer` slots for full control over
4
- * each section while keeping consistent spacing and alignment.
2
+ * Layout for a single assistant (agent) turn in a conversation. Exposes a
3
+ * full-width `header`, default content and `footer` slots for full control over
4
+ * each section while keeping consistent spacing and alignment. The agent icon
5
+ * now lives inside the header (see `CkAgentMessageHeader`), so the `header` slot
6
+ * spans the entire width.
5
7
  *
6
8
  * @category Messages
7
9
  * @useCases render assistant reply, AI message layout, conversation turn, streaming message container
8
10
  * @keywords agent, assistant, message, bubble, reply, ai, conversation
9
- * @related CkUserMessage, CkConversation, CkMarkdownRenderer, CkCopyMessageButton
11
+ * @related CkUserMessage, CkConversation, CkAgentMessageHeader, CkMarkdownRenderer, CkCopyMessageButton
10
12
  */
11
- export type CkAgentMessageProps = Record<string, never>;
13
+ export interface CkAgentMessageProps {
14
+ /**
15
+ * Whether to render a bottom border separating this message from the next
16
+ * one. `CkConversation` keeps this on for every message except the last
17
+ * assistant message, so it divides user/assistant pairs without a trailing
18
+ * line after the final pair.
19
+ * @default true
20
+ */
21
+ bottomSeparator?: boolean;
22
+ }
12
23
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkAgentMessage/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkAgentMessage/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B"}
@@ -0,0 +1,16 @@
1
+ import CkAgentMessageHeader from './CkAgentMessageHeader.vue';
2
+ import type { Meta, StoryObj } from '@storybook/vue3-vite';
3
+ declare const meta: Meta<typeof CkAgentMessageHeader>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ /**
7
+ * Header with an activity button. The activity slot gives the row vertical
8
+ * padding and a bottom border separating it from the message body.
9
+ */
10
+ export declare const WithActivityButton: Story;
11
+ /**
12
+ * Header without an activity button — a compact icon + text row with no
13
+ * padding or bottom border.
14
+ */
15
+ export declare const WithoutActivityButton: Story;
16
+ //# sourceMappingURL=CkAgentMessageHeader.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CkAgentMessageHeader.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkAgentMessageHeader/CkAgentMessageHeader.stories.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,oBAAoB,CAU3C,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAqCnC;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAchC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,KAWnC,CAAC"}
@@ -0,0 +1,21 @@
1
+ type __VLS_Slots = {
2
+ /** Leading agent avatar/icon. */
3
+ icon?: () => unknown;
4
+ /** Header text. Ellipsised on overflow (two lines on mobile, one on desktop). */
5
+ default?: () => unknown;
6
+ /**
7
+ * Optional activity control, typically a `CkHeaderActivityButton`. When
8
+ * present, the header gains vertical padding and a bottom border.
9
+ */
10
+ activity?: () => unknown;
11
+ };
12
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
21
+ //# sourceMappingURL=CkAgentMessageHeader.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CkAgentMessageHeader.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkAgentMessageHeader/CkAgentMessageHeader.vue"],"names":[],"mappings":"AAoDA,KAAK,WAAW,GAAG;IACjB,iCAAiC;IACjC,IAAI,CAAC,EAAE,MAAM,OAAO,CAAC;IACrB,iFAAiF;IACjF,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC;IACxB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC;CAC1B,CAAC;AA6DF,QAAA,MAAM,UAAU,+QACd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as CkAgentMessageHeader } from './CkAgentMessageHeader.vue';
2
+ export type * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkAgentMessageHeader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAC7E,mBAAmB,SAAS,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Full-width header row for an assistant (agent) message. Owns the agent icon,
3
+ * a header text and an optional activity button, and is intended to be passed
4
+ * into the `header` slot of `CkAgentMessage`.
5
+ *
6
+ * It has two visual states, driven purely by whether the `activity` slot is
7
+ * provided:
8
+ * - **with `activity`** — vertical padding and a bottom border separate the
9
+ * header from the message body;
10
+ * - **without `activity`** — a compact icon + text row with no padding or
11
+ * border.
12
+ *
13
+ * Slots: `icon` (leading agent avatar/icon), default (header text, ellipsised
14
+ * on overflow), `activity` (typically a `CkHeaderActivityButton`).
15
+ *
16
+ * @category Messages
17
+ * @useCases agent message header, assistant turn header, chain-of-thought summary row, activity indicator row
18
+ * @keywords agent, assistant, message, header, icon, activity, conversation
19
+ * @related CkAgentMessage, CkHeaderActivityButton, CkConversation
20
+ */
21
+ export type CkAgentMessageHeaderProps = Record<string, never>;
22
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkAgentMessageHeader/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC"}
@@ -35,6 +35,12 @@ export declare const MultiDigitIndex: Story;
35
35
  * action (e.g. an internal chunk with no servable file).
36
36
  */
37
37
  export declare const WithoutLink: Story;
38
+ /**
39
+ * A very long file name truncates with an ellipsis inside the hover card while
40
+ * the external-link action stays pinned to the right of the truncated name; the
41
+ * full name is exposed on hover via the `title` attribute.
42
+ */
43
+ export declare const LongFileName: Story;
38
44
  /**
39
45
  * Non-paginated source — the card omits the page footer.
40
46
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CkCitation.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkCitation/CkCitation.stories.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAK3D;;;;;;GAMG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CA2BjC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,KAqB1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,KAE7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,KAE7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAsBzB,CAAC"}
1
+ {"version":3,"file":"CkCitation.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkCitation/CkCitation.stories.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAK3D;;;;;;GAMG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CA2BjC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,KAqB1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,KAE7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,KAK1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,KAE7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAsBzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CkCitation.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkCitation/CkCitation.vue"],"names":[],"mappings":"AA+JA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AA0Q/C,QAAA,MAAM,YAAY;;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"CkCitation.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkCitation/CkCitation.vue"],"names":[],"mappings":"AAwLA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAyS/C,QAAA,MAAM,YAAY;;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -32,15 +32,19 @@ export declare const WithoutLocation: Story;
32
32
  */
33
33
  export declare const MinimalSnippetOnly: Story;
34
34
  /**
35
- * A long file name truncates with an ellipsis (the badge and external-link
36
- * action stay pinned, the card keeps its width); the full name stays available
37
- * on hover via the `title` attribute. The `truncate` behaviour holds for any
38
- * length, including a single unbroken token with no separators.
35
+ * A long file name truncates with an ellipsis while the external-link action
36
+ * stays pinned to the right of the (truncated) name and the card keeps its
37
+ * width; the full name stays available on hover via the `title` attribute. The
38
+ * `truncate` behaviour holds for any length, including a single unbroken token
39
+ * with no separators.
39
40
  */
40
41
  export declare const LongFileName: Story;
41
42
  /**
42
- * A long excerpt wraps freely — the card grows vertically while keeping its
43
- * fixed width.
43
+ * A whole-document-length excerpt is clamped to a bounded number of lines
44
+ * (`line-clamp-6`) with a trailing ellipsis, so the card stays a compact preview
45
+ * and its height does not grow with the excerpt length — no matter how large a
46
+ * chunk `file_search` returns (it can be as large as the entire source file). The
47
+ * full text remains reachable via the external-link action.
44
48
  */
45
49
  export declare const LongSnippet: Story;
46
50
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"CkCitationCard.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkCitationCard/CkCitationCard.stories.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAK3D;;;;;;;GAOG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAuBrC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAqBnC;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,KAE7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAEhC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,KAK1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAIzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAuB9B,CAAC"}
1
+ {"version":3,"file":"CkCitationCard.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkCitationCard/CkCitationCard.stories.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAK3D;;;;;;;GAOG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAuBrC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAqBnC;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,KAE7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAEhC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,KAK1B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,EAAE,KAIzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAuB9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CkCitationCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkCitationCard/CkCitationCard.vue"],"names":[],"mappings":"AAqFA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AA4KnD,QAAA,MAAM,YAAY;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"CkCitationCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkCitationCard/CkCitationCard.vue"],"names":[],"mappings":"AAuFA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AA4KnD,QAAA,MAAM,YAAY;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -4,13 +4,13 @@ declare const meta: Meta<typeof CkFileItemsList>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof CkFileItemsList>;
6
6
  /**
7
- * Up to `maxInline` (default `3`) files are rendered inline as a horizontal
8
- * row of `UiFileItem`s.
7
+ * As many files as fit the available width are rendered inline as a horizontal
8
+ * row of `UiFileItem`s (each kept between `minItemWidth` and `maxItemWidth`).
9
9
  */
10
10
  export declare const Inline: Story;
11
11
  /**
12
- * When the list overflows `maxInline`, the component collapses to a single
13
- * popover trigger. Click it to reveal the full vertical list of files.
12
+ * When the files no longer fit the available width, the component collapses to
13
+ * a single popover trigger. Click it to reveal the full vertical list of files.
14
14
  */
15
15
  export declare const Collapsed: Story;
16
16
  /**
@@ -46,4 +46,15 @@ export declare const Clickable: Story;
46
46
  * collapsed trigger button itself is `disabled`.
47
47
  */
48
48
  export declare const Disabled: Story;
49
+ /**
50
+ * The inline count adapts to the available width. There is no hard cap on the
51
+ * number of inline items — as many fit are kept, each between `minItemWidth`
52
+ * and `maxItemWidth` wide. As the wrapper narrows, fewer items stay inline
53
+ * until the whole list collapses into the popover trigger.
54
+ *
55
+ * Drag the bottom-right corner of the box to resize it and watch the list
56
+ * react. (The other stories use a fixed-width wrapper, so resizing the browser
57
+ * window alone won't change their layout.)
58
+ */
59
+ export declare const Responsive: Story;
49
60
  //# sourceMappingURL=CkFileItemsList.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CkFileItemsList.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkFileItemsList/CkFileItemsList.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,eAAe,MAAM,uBAAuB,CAAC;AAGpD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,eAAe,CAoBtC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,eAAe,CAAC,CAAC;AAqE9C;;;GAGG;AACH,eAAO,MAAM,MAAM,EAAE,KAWpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KAWvB,CAAC;AAqBF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,KAqB1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KAiBvB,CAAC;AAsBF;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,KAoBxB,CAAC;AAmBF;;;;;GAKG;AACH,eAAO,MAAM,SAAS,EAAE,KAwBvB,CAAC;AAiBF;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,EAAE,KAiCtB,CAAC"}
1
+ {"version":3,"file":"CkFileItemsList.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkFileItemsList/CkFileItemsList.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,eAAe,MAAM,uBAAuB,CAAC;AAGpD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,eAAe,CAqBtC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,eAAe,CAAC,CAAC;AAqE9C;;;GAGG;AACH,eAAO,MAAM,MAAM,EAAE,KAWpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KAWvB,CAAC;AAqBF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,KAqB1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KAiBvB,CAAC;AAsBF;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,KAoBxB,CAAC;AAmBF;;;;;GAKG;AACH,eAAO,MAAM,SAAS,EAAE,KAwBvB,CAAC;AAiBF;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,EAAE,KAiCtB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,UAAU,EAAE,KAmCxB,CAAC"}
@@ -22,7 +22,8 @@ declare const __VLS_base: import("vue").DefineComponent<CkFileItemsListProps, {}
22
22
  triggerLabel: string;
23
23
  isRemovable: boolean;
24
24
  removeLabel: string;
25
- maxInline: number;
25
+ minItemWidth: number;
26
+ maxItemWidth: number;
26
27
  showStatus: boolean;
27
28
  triggerAriaLabel: string;
28
29
  listLabel: string;
@@ -1 +1 @@
1
- {"version":3,"file":"CkFileItemsList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkFileItemsList/CkFileItemsList.vue"],"names":[],"mappings":"AAqPA,OAAO,EAOL,KAAK,cAAc,EACpB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EACV,WAAW,EAEX,oBAAoB,EACrB,MAAM,SAAS,CAAC;AAyBjB,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,CAAC,KAAK,EAAE;QACZ,IAAI,EAAE,WAAW,CAAC;QAClB,MAAM,EAAE,MAAM,IAAI,CAAC;QACnB,IAAI,EAAE,cAAc,CAAC;QACrB,WAAW,EAAE,OAAO,CAAC;QACrB,WAAW,EAAE,MAAM,CAAC;QACpB,QAAQ,EAAE,OAAO,CAAC;KACnB,KAAK,OAAO,CAAC;CACf,CAAC;AA6cF,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CkFileItemsList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkFileItemsList/CkFileItemsList.vue"],"names":[],"mappings":"AAgSA,OAAO,EAOL,KAAK,cAAc,EACpB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EACV,WAAW,EAEX,oBAAoB,EACrB,MAAM,SAAS,CAAC;AA0BjB,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,CAAC,KAAK,EAAE;QACZ,IAAI,EAAE,WAAW,CAAC;QAClB,MAAM,EAAE,MAAM,IAAI,CAAC;QACnB,IAAI,EAAE,cAAc,CAAC;QACrB,WAAW,EAAE,OAAO,CAAC;QACrB,WAAW,EAAE,MAAM,CAAC;QACpB,QAAQ,EAAE,OAAO,CAAC;KACnB,KAAK,OAAO,CAAC;CACf,CAAC;AAyfF,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -20,8 +20,9 @@ export interface CkFileEntry {
20
20
  disabled?: boolean;
21
21
  }
22
22
  /**
23
- * Horizontal list of file attachments; collapses to a popover once the
24
- * count exceeds `maxInline`.
23
+ * Horizontal list of file attachments. Renders as many items inline as fit the
24
+ * available width — each kept between `minItemWidth` and `maxItemWidth` wide —
25
+ * and collapses into a popover once they no longer fit.
25
26
  *
26
27
  * @category Form Inputs
27
28
  * @useCases user message attachments, prompt input previews, chat file row
@@ -31,8 +32,20 @@ export interface CkFileEntry {
31
32
  export interface CkFileItemsListProps {
32
33
  /** Files to render. Order is preserved. */
33
34
  files: CkFileEntry[];
34
- /** @default 3 */
35
- maxInline?: number;
35
+ /**
36
+ * Minimum width (px) an inline item may occupy. As the wrapper narrows, fewer
37
+ * items stay inline (each kept at least this wide) until the list collapses
38
+ * into the popover. Lower values keep more items inline on narrow widths.
39
+ * @default 200
40
+ */
41
+ minItemWidth?: number;
42
+ /**
43
+ * Maximum width (px) an inline item may grow to. Items never stretch beyond
44
+ * this width; any extra horizontal space is left unused. There is no cap on
45
+ * the number of inline items as long as they fit the wrapper.
46
+ * @default 256
47
+ */
48
+ maxItemWidth?: number;
36
49
  /** @default 'small' */
37
50
  size?: UiFileItemSize;
38
51
  /** Show a remove control on every row. @default false */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkFileItemsList/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACf,MAAM,yBAAyB,CAAC;AAEjC,MAAM,WAAW,WAAW;IAC1B,8DAA8D;IAC9D,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,sBAAsB;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,uBAAuB;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,oBAAoB;IACnC,2CAA2C;IAC3C,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,iBAAiB;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB;IACvB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,yDAAyD;IACzD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yEAAyE;IACzE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4EAA4E;IAC5E,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,oBAAoB;IACnC,8DAA8D;IAC9D,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,WAAW,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC/C,+EAA+E;IAC/E,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,GAAG,IAAI,CAAC;CAC3E"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkFileItemsList/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACf,MAAM,yBAAyB,CAAC;AAEjC,MAAM,WAAW,WAAW;IAC1B,8DAA8D;IAC9D,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,sBAAsB;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,uBAAuB;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,oBAAoB;IACnC,2CAA2C;IAC3C,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uBAAuB;IACvB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,yDAAyD;IACzD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yEAAyE;IACzE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4EAA4E;IAC5E,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,oBAAoB;IACnC,8DAA8D;IAC9D,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,WAAW,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC/C,+EAA+E;IAC/E,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,GAAG,IAAI,CAAC;CAC3E"}
@@ -0,0 +1,19 @@
1
+ import CkHeaderActivityButton from './CkHeaderActivityButton.vue';
2
+ import type { Meta, StoryObj } from '@storybook/vue3-vite';
3
+ declare const meta: Meta<typeof CkHeaderActivityButton>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ /**
7
+ * Default activity button: a short label followed by the trailing arrow icon.
8
+ * It emits a generic `click` and performs no action on its own.
9
+ */
10
+ export declare const Default: Story;
11
+ /**
12
+ * Without a trailing icon — pass an empty `icon` to render the label only.
13
+ */
14
+ export declare const WithoutIcon: Story;
15
+ /**
16
+ * Disabled state: the button is non-interactive and does not emit `click`.
17
+ */
18
+ export declare const Disabled: Story;
19
+ //# sourceMappingURL=CkHeaderActivityButton.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CkHeaderActivityButton.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkHeaderActivityButton/CkHeaderActivityButton.stories.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,sBAAsB,CAyB7C,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAgBnC;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAcrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAazB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAatB,CAAC"}
@@ -0,0 +1,22 @@
1
+ import type { CkHeaderActivityButtonProps } from './types';
2
+ declare var __VLS_10: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_10) => any;
5
+ };
6
+ declare const __VLS_base: import("vue").DefineComponent<CkHeaderActivityButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ click: () => any;
8
+ }, string, import("vue").PublicProps, Readonly<CkHeaderActivityButtonProps> & Readonly<{
9
+ onClick?: (() => any) | undefined;
10
+ }>, {
11
+ icon: string;
12
+ disabled: boolean;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
22
+ //# sourceMappingURL=CkHeaderActivityButton.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CkHeaderActivityButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkHeaderActivityButton/CkHeaderActivityButton.vue"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AA0G3D,QAAA,IAAI,QAAQ,IAAW,CAAE;AACzB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,QAAA,MAAM,UAAU;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as CkHeaderActivityButton } from './CkHeaderActivityButton.vue';
2
+ export type * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkHeaderActivityButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACjF,mBAAmB,SAAS,CAAC"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Compact, ghost-styled button shown on the right of an agent message header
3
+ * (see `CkAgentMessageHeader`). Renders a short label followed by a trailing
4
+ * icon (an arrow by default) and emits a generic `click` event — it performs
5
+ * no action of its own, leaving the consumer to decide what happens (e.g. open
6
+ * an activity / chain-of-thought panel).
7
+ *
8
+ * @category Actions
9
+ * @useCases agent message header action, open activity panel, chain-of-thought summary toggle, tool/source indicator
10
+ * @keywords header, activity, action, button, ghost, arrow, agent, message
11
+ * @related CkAgentMessageHeader, CkAgentMessage, CkConversation, CkMessageButton
12
+ */
13
+ export interface CkHeaderActivityButtonProps {
14
+ /**
15
+ * Whether the button is disabled and ignores clicks.
16
+ * @default false
17
+ */
18
+ disabled?: boolean;
19
+ /**
20
+ * Accessible label for the button. Defaults to the rendered label text when
21
+ * omitted, but should be set when the slot content is not descriptive on its
22
+ * own.
23
+ */
24
+ ariaLabel?: string;
25
+ /**
26
+ * Trailing [Lucide](https://lucide.dev/icons) icon name shown after the
27
+ * label. Set to an empty string to hide the icon.
28
+ * @default 'arrow-right'
29
+ */
30
+ icon?: string;
31
+ }
32
+ export interface CkHeaderActivityButtonEmits {
33
+ /** Emitted when the button is pressed and not disabled. */
34
+ (e: 'click'): void;
35
+ }
36
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkHeaderActivityButton/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,2BAA2B;IAC1C,2DAA2D;IAC3D,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CACpB"}
@@ -38,8 +38,8 @@ export declare const WithToolbarTopSlot: Story;
38
38
  * End-to-end composition matching the Figma "Prompt field" spec: file
39
39
  * attachments via the `+` button and drag-and-drop, model selection next to
40
40
  * the send button, and a hallucination disclaimer in the footer. File chips
41
- * collapse to a popover once more than three are attached (`CkFileItemsList`
42
- * default).
41
+ * collapse to a popover once they no longer fit the prompt field's width
42
+ * (`CkFileItemsList` keeps each chip at least `minItemWidth` wide).
43
43
  */
44
44
  export declare const WithUploadAndModelSelection: Story;
45
45
  /**
@@ -49,10 +49,10 @@ export declare const WithUploadAndModelSelection: Story;
49
49
  */
50
50
  export declare const WithMultiLineContent: Story;
51
51
  /**
52
- * Five attached files — past the default `maxInline=3` threshold of
53
- * `CkFileItemsList`, so the list collapses to a single popover trigger
54
- * labeled "5 files". Click it to inspect / remove the individual items.
55
- * The toolbar-left `+` menu stays available so users can keep adding more.
52
+ * Five attached files — more than fit inline at the prompt field's width, so
53
+ * `CkFileItemsList` collapses to a single popover trigger labeled "5 files".
54
+ * Click it to inspect / remove the individual items. The toolbar-left `+` menu
55
+ * stays available so users can keep adding more.
56
56
  */
57
57
  export declare const WithCollapsedFileChips: Story;
58
58
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"CkPromptInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptInput/CkPromptInput.vue"],"names":[],"mappings":"AAwNA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AA6GlD,iBAAS,MAAM,IAAI,IAAI,CAKtB;AASD,iBAAS,KAAK,IAAI,IAAI,CAErB;AAqJD,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO;;;;CAAU,EAAE,OAAO,IAAW,CAAE;AACjF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAClD;IAAE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACnD;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACpD;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO9C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;6EAKd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CkPromptInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptInput/CkPromptInput.vue"],"names":[],"mappings":"AA2QA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AA8GlD,iBAAS,MAAM,IAAI,IAAI,CAKtB;AASD,iBAAS,KAAK,IAAI,IAAI,CAErB;AAmLD,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO;;;;CAAU,EAAE,OAAO,IAAW,CAAE;AACjF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAClD;IAAE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACnD;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACpD;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO9C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;6EAKd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -4,14 +4,14 @@
4
4
  * slots and keyboard submission (Enter to submit, Shift+Enter for newline).
5
5
  * The form layout adapts between a compact single-row variant (large 3xl
6
6
  * radius) and a stacked multi-row variant (2xl radius) automatically — driven
7
- * by content height and whether `toolbar-top` is filled. Use when you need
8
- * full control over the prompt layout; for a turnkey chat input use `CkInput`
9
- * instead.
7
+ * by content height and whether `toolbar-top` is filled. Compose it with
8
+ * `CkPromptSendButton`, `CkPromptStopButton`, and `CkPromptInputDisclaimer`
9
+ * to build a complete chat input.
10
10
  *
11
11
  * @category Form Inputs
12
12
  * @useCases raw chat prompt textarea, custom prompt toolbar, auto-growing compose box, file-attachment chip row, multi-line chat input, keyboard submit
13
13
  * @keywords prompt, input, textarea, chat, compose, submit, v-model, auto-grow, multi-line, toolbar
14
- * @related CkInput, CkPromptSendButton, CkPromptStopButton, CkPromptMenuButton, CkPromptInputDisclaimer, CkFileItemsList
14
+ * @related CkPromptSendButton, CkPromptStopButton, CkPromptMenuButton, CkPromptInputDisclaimer, CkFileItemsList
15
15
  */
16
16
  export interface CkPromptInputProps {
17
17
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"CkPromptInputDisclaimer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptInputDisclaimer/CkPromptInputDisclaimer.vue"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAiC5D,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,oUAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CkPromptInputDisclaimer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptInputDisclaimer/CkPromptInputDisclaimer.vue"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAkC5D,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,oUAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -6,7 +6,7 @@
6
6
  * @category Feedback
7
7
  * @useCases chat disclaimer, ai may make mistakes, prompt footnote, small help text under input
8
8
  * @keywords disclaimer, notice, footer, help text, ai, prompt
9
- * @related CkInput, CkPromptInput
9
+ * @related CkPromptInput, CkPromptSendButton
10
10
  */
11
11
  export interface CkPromptInputDisclaimerProps {
12
12
  /**
@@ -5,8 +5,8 @@ type __VLS_Slots = {} & {
5
5
  };
6
6
  declare const __VLS_base: import("vue").DefineComponent<CkPromptSendButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CkPromptSendButtonProps> & Readonly<{}>, {
7
7
  type: "button" | "submit";
8
- loading: boolean;
9
8
  disabled: boolean;
9
+ loading: boolean;
10
10
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
12
  declare const _default: typeof __VLS_export;
@@ -7,7 +7,7 @@
7
7
  * @category Actions
8
8
  * @useCases send message button, submit prompt, primary chat send action, loading send button, disabled send button
9
9
  * @keywords prompt, send, submit, button, icon, loading, brand
10
- * @related CkPromptInput, CkPromptStopButton, CkInput, CkSendIcon
10
+ * @related CkPromptInput, CkPromptStopButton, CkSendIcon
11
11
  */
12
12
  export interface CkPromptSendButtonProps {
13
13
  /**
@@ -8,7 +8,7 @@
8
8
  * @category Actions
9
9
  * @useCases stop assistant generation, cancel streaming reply, abort in-flight request, halt llm response
10
10
  * @keywords stop, cancel, abort, prompt, button, icon, streaming, secondary
11
- * @related CkPromptSendButton, CkPromptMenuButton, CkPromptInput, CkInput, CkStopIcon
11
+ * @related CkPromptSendButton, CkPromptMenuButton, CkPromptInput, CkStopIcon
12
12
  */
13
13
  export interface CkPromptStopButtonProps {
14
14
  /**
@@ -1,5 +1,9 @@
1
1
  export { CkSendIcon, CkStopIcon } from './icons';
2
2
  export { CkAgentMessage } from './CkAgentMessage';
3
+ export { CkAgentMessageHeader } from './CkAgentMessageHeader';
4
+ export type { CkAgentMessageHeaderProps } from './CkAgentMessageHeader';
5
+ export { CkHeaderActivityButton } from './CkHeaderActivityButton';
6
+ export type { CkHeaderActivityButtonProps, CkHeaderActivityButtonEmits, } from './CkHeaderActivityButton';
3
7
  export { CkCitation } from './CkCitation';
4
8
  export type { CkCitationProps, CkCitationEmits, CkCitationSource, } from './CkCitation';
5
9
  export { CkCitationCard } from './CkCitationCard';