@aleph-alpha/chat-kit 2.3.0 → 3.1.0

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 (98) hide show
  1. package/dist/{CkInput.vue_vue_type_script_setup_true_lang-DYTizPsB.js → CkInput.vue_vue_type_script_setup_true_lang-DKzc21Yp.js} +239 -154
  2. package/dist/chat-kit.css +33 -6
  3. package/dist/components/base/CkAgentMessage/CkAgentMessage.vue.d.ts.map +1 -1
  4. package/dist/components/base/CkConversationLayout/CkConversationLayout.vue.d.ts.map +1 -1
  5. package/dist/components/base/CkDropZoneOverlay/CkDropZoneOverlay.vue.d.ts.map +1 -1
  6. package/dist/components/base/CkMarkdownRenderer/CkMarkdownRenderer.vue.d.ts.map +1 -1
  7. package/dist/components/base/CkMarkdownRenderer/defaultMarkdownClasses.d.ts.map +1 -1
  8. package/dist/components/base/CkModelSelector/CkModelSelector.vue.d.ts.map +1 -1
  9. package/dist/components/base/CkModelSelector/types.d.ts +1 -1
  10. package/dist/components/base/CkPromptInput/CkPromptInput.stories.d.ts +48 -5
  11. package/dist/components/base/CkPromptInput/CkPromptInput.stories.d.ts.map +1 -1
  12. package/dist/components/base/CkPromptInput/CkPromptInput.vue.d.ts +7 -6
  13. package/dist/components/base/CkPromptInput/CkPromptInput.vue.d.ts.map +1 -1
  14. package/dist/components/base/CkPromptInput/types.d.ts +11 -12
  15. package/dist/components/base/CkPromptInput/types.d.ts.map +1 -1
  16. package/dist/components/base/CkPromptMenuButton/CkPromptMenuButton.stories.d.ts +18 -0
  17. package/dist/components/base/CkPromptMenuButton/CkPromptMenuButton.stories.d.ts.map +1 -0
  18. package/dist/components/base/CkPromptMenuButton/CkPromptMenuButton.vue.d.ts +18 -0
  19. package/dist/components/base/CkPromptMenuButton/CkPromptMenuButton.vue.d.ts.map +1 -0
  20. package/dist/components/base/CkPromptMenuButton/index.d.ts +3 -0
  21. package/dist/components/base/CkPromptMenuButton/index.d.ts.map +1 -0
  22. package/dist/components/base/CkPromptMenuButton/types.d.ts +30 -0
  23. package/dist/components/base/CkPromptMenuButton/types.d.ts.map +1 -0
  24. package/dist/components/base/{CkPromptActionButton/CkPromptActionButton.stories.d.ts → CkPromptSendButton/CkPromptSendButton.stories.d.ts} +5 -5
  25. package/dist/components/base/CkPromptSendButton/CkPromptSendButton.stories.d.ts.map +1 -0
  26. package/dist/components/base/{CkPromptActionButton/CkPromptActionButton.vue.d.ts → CkPromptSendButton/CkPromptSendButton.vue.d.ts} +3 -3
  27. package/dist/components/base/CkPromptSendButton/CkPromptSendButton.vue.d.ts.map +1 -0
  28. package/dist/components/base/CkPromptSendButton/index.d.ts +3 -0
  29. package/dist/components/base/CkPromptSendButton/index.d.ts.map +1 -0
  30. package/dist/components/base/CkPromptSendButton/types.d.ts +34 -0
  31. package/dist/components/base/CkPromptSendButton/types.d.ts.map +1 -0
  32. package/dist/components/base/CkPromptStopButton/CkPromptStopButton.stories.d.ts +1 -1
  33. package/dist/components/base/CkPromptStopButton/CkPromptStopButton.vue.d.ts.map +1 -1
  34. package/dist/components/base/CkPromptStopButton/types.d.ts +6 -4
  35. package/dist/components/base/CkPromptStopButton/types.d.ts.map +1 -1
  36. package/dist/components/base/icons/CkSendIcon.vue.d.ts.map +1 -1
  37. package/dist/components/base/index.d.ts +3 -1
  38. package/dist/components/base/index.d.ts.map +1 -1
  39. package/dist/components/composed/CkHistory/CkHistory.vue.d.ts +1 -1
  40. package/dist/components/composed/CkInput/CkInput.stories.d.ts.map +1 -1
  41. package/dist/components/composed/CkInput/CkInput.vue.d.ts +9 -8
  42. package/dist/components/composed/CkInput/CkInput.vue.d.ts.map +1 -1
  43. package/dist/components/composed/CkInput/types.d.ts +2 -7
  44. package/dist/components/composed/CkInput/types.d.ts.map +1 -1
  45. package/dist/components/index.d.ts +2 -2
  46. package/dist/components/index.d.ts.map +1 -1
  47. package/dist/components/index.js +9 -8
  48. package/dist/handlers/index.js +1 -1
  49. package/dist/handlers/useChatKitLabels.d.ts +6 -0
  50. package/dist/handlers/useChatKitLabels.d.ts.map +1 -1
  51. package/dist/index.d.ts +2 -2
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.js +11 -10
  54. package/dist/{useChatKitLabels-ZutacPad.js → useChatKitLabels-CLsWWwgG.js} +1 -0
  55. package/package.json +1 -1
  56. package/src/components/base/CkAgentMessage/CkAgentMessage.vue +2 -2
  57. package/src/components/base/CkConversationLayout/CkConversationLayout.vue +3 -2
  58. package/src/components/base/CkDropZoneOverlay/CkDropZoneOverlay.vue +2 -7
  59. package/src/components/base/CkMarkdownRenderer/CkMarkdownRenderer.vue +36 -4
  60. package/src/components/base/CkMarkdownRenderer/defaultMarkdownClasses.ts +2 -1
  61. package/src/components/base/CkModelSelector/CkModelSelector.vue +8 -3
  62. package/src/components/base/CkModelSelector/types.ts +1 -1
  63. package/src/components/base/CkPromptInput/CkPromptInput.spec.ts +206 -11
  64. package/src/components/base/CkPromptInput/CkPromptInput.stories.ts +1068 -43
  65. package/src/components/base/CkPromptInput/CkPromptInput.vue +137 -28
  66. package/src/components/base/CkPromptInput/types.ts +11 -12
  67. package/src/components/base/CkPromptMenuButton/CkPromptMenuButton.spec.ts +62 -0
  68. package/src/components/base/CkPromptMenuButton/CkPromptMenuButton.stories.ts +75 -0
  69. package/src/components/base/CkPromptMenuButton/CkPromptMenuButton.vue +26 -0
  70. package/src/components/base/CkPromptMenuButton/index.ts +2 -0
  71. package/src/components/base/CkPromptMenuButton/types.ts +29 -0
  72. package/src/components/base/{CkPromptActionButton/CkPromptActionButton.spec.ts → CkPromptSendButton/CkPromptSendButton.spec.ts} +11 -11
  73. package/src/components/base/CkPromptSendButton/CkPromptSendButton.stories.ts +117 -0
  74. package/src/components/base/{CkPromptActionButton/CkPromptActionButton.vue → CkPromptSendButton/CkPromptSendButton.vue} +4 -4
  75. package/src/components/base/CkPromptSendButton/index.ts +2 -0
  76. package/src/components/base/CkPromptSendButton/types.ts +33 -0
  77. package/src/components/base/CkPromptStopButton/CkPromptStopButton.spec.ts +5 -5
  78. package/src/components/base/CkPromptStopButton/CkPromptStopButton.stories.ts +1 -1
  79. package/src/components/base/CkPromptStopButton/CkPromptStopButton.vue +3 -2
  80. package/src/components/base/CkPromptStopButton/types.ts +6 -4
  81. package/src/components/base/icons/CkSendIcon.vue +3 -16
  82. package/src/components/base/icons/CkStopIcon.vue +1 -1
  83. package/src/components/base/index.ts +3 -1
  84. package/src/components/composed/CkInput/CkInput.stories.ts +0 -4
  85. package/src/components/composed/CkInput/CkInput.vue +7 -5
  86. package/src/components/composed/CkInput/types.ts +2 -7
  87. package/src/components/index.ts +3 -1
  88. package/src/handlers/useChatKitLabels.ts +7 -0
  89. package/src/index.ts +3 -1
  90. package/dist/components/base/CkPromptActionButton/CkPromptActionButton.stories.d.ts.map +0 -1
  91. package/dist/components/base/CkPromptActionButton/CkPromptActionButton.vue.d.ts.map +0 -1
  92. package/dist/components/base/CkPromptActionButton/index.d.ts +0 -3
  93. package/dist/components/base/CkPromptActionButton/index.d.ts.map +0 -1
  94. package/dist/components/base/CkPromptActionButton/types.d.ts +0 -33
  95. package/dist/components/base/CkPromptActionButton/types.d.ts.map +0 -1
  96. package/src/components/base/CkPromptActionButton/CkPromptActionButton.stories.ts +0 -126
  97. package/src/components/base/CkPromptActionButton/index.ts +0 -2
  98. package/src/components/base/CkPromptActionButton/types.ts +0 -32
package/dist/chat-kit.css CHANGED
@@ -14,17 +14,17 @@
14
14
  }
15
15
  }
16
16
 
17
- .ck-drop-overlay-enter-active[data-v-ede88d0d],
18
- .ck-drop-overlay-leave-active[data-v-ede88d0d] {
17
+ .ck-drop-overlay-enter-active[data-v-54119668],
18
+ .ck-drop-overlay-leave-active[data-v-54119668] {
19
19
  transition: opacity 150ms ease;
20
20
  }
21
- .ck-drop-overlay-enter-from[data-v-ede88d0d],
22
- .ck-drop-overlay-leave-to[data-v-ede88d0d] {
21
+ .ck-drop-overlay-enter-from[data-v-54119668],
22
+ .ck-drop-overlay-leave-to[data-v-54119668] {
23
23
  opacity: 0;
24
24
  }
25
25
  @media (prefers-reduced-motion: reduce) {
26
- .ck-drop-overlay-enter-active[data-v-ede88d0d],
27
- .ck-drop-overlay-leave-active[data-v-ede88d0d] {
26
+ .ck-drop-overlay-enter-active[data-v-54119668],
27
+ .ck-drop-overlay-leave-active[data-v-54119668] {
28
28
  transition: none;
29
29
  }
30
30
  }
@@ -77,6 +77,33 @@
77
77
  margin-bottom: 0;
78
78
  }
79
79
 
80
+ /* Solea two-layer drop shadow — warm grey + subtle orange tint. Matches the
81
+ `shadow/md/{1,2}` tokens from the design system; the generic `shadow-md`
82
+ utility from preset-wind4 uses a cold black-based shadow instead. */
83
+ .ck-prompt-form[data-v-92b05731] {
84
+ box-shadow:
85
+ 0 4px 6px -2px rgba(112, 95, 90, 0.1),
86
+ 0 6px 14px -2px rgba(248, 94, 43, 0.05);
87
+ }
88
+
89
+ /* Slim styled scrollbar for the multi-line textarea — matches Figma's 4 px
90
+ muted-default track. Firefox uses the native `scrollbar-*` properties;
91
+ Chromium/WebKit needs the `::-webkit-scrollbar` pseudo-elements. */
92
+ .ck-prompt-textarea[data-v-92b05731] {
93
+ scrollbar-width: thin;
94
+ scrollbar-color: rgba(166, 141, 133, 0.3) transparent;
95
+ }
96
+ .ck-prompt-textarea[data-v-92b05731]::-webkit-scrollbar {
97
+ width: 4px;
98
+ }
99
+ .ck-prompt-textarea[data-v-92b05731]::-webkit-scrollbar-track {
100
+ background: transparent;
101
+ }
102
+ .ck-prompt-textarea[data-v-92b05731]::-webkit-scrollbar-thumb {
103
+ background: rgba(166, 141, 133, 0.3);
104
+ border-radius: 9999px;
105
+ }
106
+
80
107
  /* Floating pill per design — the inset white + soft drop shadow aren't
81
108
  expressible with the design-system shadow utilities, so set them here. */
82
109
  .ck-user-message__toggle[data-v-c759a863] {
@@ -1 +1 @@
1
- {"version":3,"file":"CkAgentMessage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkAgentMessage/CkAgentMessage.vue"],"names":[],"mappings":"AAwGA,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":"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 +1 @@
1
- {"version":3,"file":"CkConversationLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkConversationLayout/CkConversationLayout.vue"],"names":[],"mappings":"AAmNA,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAC5D,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WAyPO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB;kBArP3C,CAAC,EAAE;MAqP2D,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC1I,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;;wBAlPO,CAAC,KAAK,EAAE;YAAE,OAAO,EAAE,CAAC,CAAA;SAAE,KAAK,IAAI;yBAC9B,CAAC,KAAK,EAAE;YAAE,OAAO,EAAE,CAAC,CAAA;SAAE,KAAK,IAAI;;UAmP3C,EAAE;EAEL,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAI,CAAC;wBACvD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"CkConversationLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkConversationLayout/CkConversationLayout.vue"],"names":[],"mappings":"AAoNA,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAC5D,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WA6PO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB;kBAzP3C,CAAC,EAAE;MAyP2D,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC1I,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;;wBAtPO,CAAC,KAAK,EAAE;YAAE,OAAO,EAAE,CAAC,CAAA;SAAE,KAAK,IAAI;yBAC9B,CAAC,KAAK,EAAE;YAAE,OAAO,EAAE,CAAC,CAAA;SAAE,KAAK,IAAI;;UAuP3C,EAAE;EAEL,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAI,CAAC;wBACvD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CkDropZoneOverlay.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkDropZoneOverlay/CkDropZoneOverlay.vue"],"names":[],"mappings":"AAsRA,OAAO,KAAK,EAEV,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAkYjB,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAGhD,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":"CkDropZoneOverlay.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkDropZoneOverlay/CkDropZoneOverlay.vue"],"names":[],"mappings":"AAkRA,OAAO,KAAK,EAEV,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AA4XjB,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAGhD,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 +1 @@
1
- {"version":3,"file":"CkMarkdownRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkMarkdownRenderer/CkMarkdownRenderer.vue"],"names":[],"mappings":"AA4FA,OAAO,EAKL,KAAK,QAAQ,EAEb,KAAK,KAAK,EACX,MAAM,KAAK,CAAC;AACb,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;wBAyCnC,OAAO,YAAY;AAAxC,wBAAyC;AAQzC,QAAA,MAAM,YAAY;;;;;;cAKI,QAAQ,CAAC,wBAAwB,CAAC;;;;cAG1B,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;;;cAH/B,QAAQ,CAAC,wBAAwB,CAAC;;;;cAG1B,QAAQ,CAAC,aAAa,CAAC;;;;;;4EA0BnD,CAAC"}
1
+ {"version":3,"file":"CkMarkdownRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkMarkdownRenderer/CkMarkdownRenderer.vue"],"names":[],"mappings":"AA4HA,OAAO,EAKL,KAAK,QAAQ,EAEb,KAAK,KAAK,EACX,MAAM,KAAK,CAAC;AACb,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAM7C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;wBA6DnC,OAAO,YAAY;AAAxC,wBAAyC;AAQzC,QAAA,MAAM,YAAY;;;;;;cAKI,QAAQ,CAAC,wBAAwB,CAAC;;;;cAG1B,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;;;cAH/B,QAAQ,CAAC,wBAAwB,CAAC;;;;cAG1B,QAAQ,CAAC,aAAa,CAAC;;;;;;4EAkCnD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"defaultMarkdownClasses.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkMarkdownRenderer/defaultMarkdownClasses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD,eAAO,MAAM,sBAAsB,EAAE,wBAgBpC,CAAC"}
1
+ {"version":3,"file":"defaultMarkdownClasses.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkMarkdownRenderer/defaultMarkdownClasses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD,eAAO,MAAM,sBAAsB,EAAE,wBAiBpC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CkModelSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkModelSelector/CkModelSelector.vue"],"names":[],"mappings":"AA4HA,OAAO,KAAK,EAAwB,oBAAoB,EAAE,MAAM,SAAS,CAAC;AA6Q1E,QAAA,MAAM,YAAY;;;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"CkModelSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkModelSelector/CkModelSelector.vue"],"names":[],"mappings":"AAiIA,OAAO,KAAK,EAAwB,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAiR1E,QAAA,MAAM,YAAY;;;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -9,7 +9,7 @@
9
9
  * @category Actions
10
10
  * @useCases select model, choose LLM, model picker in prompt field, switch model mid-conversation
11
11
  * @keywords model, selector, picker, dropdown, llm, prompt, choose, switch
12
- * @related CkPromptInput, CkPromptActionButton
12
+ * @related CkPromptInput, CkPromptSendButton
13
13
  */
14
14
  export interface CkModelOption {
15
15
  /**
@@ -9,16 +9,59 @@ type Story = StoryObj<typeof meta>;
9
9
  */
10
10
  export declare const Default: Story;
11
11
  /**
12
- * Demonstrates both `toolbar-left` and `toolbar-right` slots. The right slot
13
- * receives `{ submit, disabled, isEmpty }` to wire up a custom send button.
12
+ * Both toolbar slots filled with the real chat-kit primitives: the left slot
13
+ * hosts a `CkPromptMenuButton` wrapped in `UiDropdownMenu` (the canonical "+"
14
+ * trigger pattern with file/folder actions), the right slot a
15
+ * `CkPromptSendButton`. Mirrors Figma's "Drawer to add resources or tools".
14
16
  */
15
17
  export declare const WithToolbarSlots: Story;
16
18
  /**
17
- * Uses the `footer` slot to render helper text (disclaimer, keyboard hint,
18
- * etc.) directly below the input form. Use when you want a custom footer
19
- * instead of `CkPromptInputDisclaimer`.
19
+ * `footer` slot filled with the canonical `CkPromptInputDisclaimer` —
20
+ * the AI-hallucination warning matching the Figma design system. For
21
+ * arbitrary custom footer content (helpers, counters, etc.) see the
22
+ * `WithFooterControls` story below.
20
23
  */
21
24
  export declare const WithFooterSlot: Story;
25
+ /**
26
+ * Footer slot used for interactive helpers — keyboard hint on the left and a
27
+ * live character counter on the right. Demonstrates that the footer can hold
28
+ * structured content, not just disclaimer text.
29
+ */
30
+ export declare const WithFooterControls: Story;
31
+ /**
32
+ * `toolbar-top` slot rendered with the canonical `CkFileItemsList` primitive.
33
+ * Two attached files visible as inline chips. Adding the top row also flips
34
+ * the form to the multi-row layout (corner radius drops from 3xl to 2xl).
35
+ */
36
+ export declare const WithToolbarTopSlot: Story;
37
+ /**
38
+ * End-to-end composition matching the Figma "Prompt field" spec: file
39
+ * attachments via the `+` button and drag-and-drop, model selection next to
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).
43
+ */
44
+ export declare const WithUploadAndModelSelection: Story;
45
+ /**
46
+ * Pre-filled with multi-line text so the multi-row layout is visible at
47
+ * mount: textarea spans the full width on its own row, toolbar drops below,
48
+ * and the form's corner radius shrinks from `rounded-3xl` to `rounded-2xl`.
49
+ */
50
+ export declare const WithMultiLineContent: Story;
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.
56
+ */
57
+ export declare const WithCollapsedFileChips: Story;
58
+ /**
59
+ * Streaming state mirroring the Figma "While Streaming" variant: the input
60
+ * is `disabled`, the file chips and model selector remain visible (for
61
+ * context), and `CkPromptStopButton` replaces `CkPromptSendButton` on the
62
+ * right. Click the stop button to abort the in-flight assistant reply.
63
+ */
64
+ export declare const WithUploadAndModelSelectionStreaming: Story;
22
65
  /**
23
66
  * Disabled state — the textarea cannot be edited and Enter does not submit.
24
67
  * Use while the server is processing the previous message.
@@ -1 +1 @@
1
- {"version":3,"file":"CkPromptInput.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptInput/CkPromptInput.stories.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAG3D,QAAA,MAAM,IAAI,EAAE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;AA2EF;;;;;GAKG;AACH,eAAO,MAAM,oCAAoC,EAAE,KAuFlD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KA2BtB,CAAC"}
@@ -1,17 +1,19 @@
1
1
  import type { CkPromptInputProps } from './types';
2
2
  declare function submit(): void;
3
3
  declare function focus(): void;
4
- declare var __VLS_1: {}, __VLS_3: {
4
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {
5
5
  submit: typeof submit;
6
6
  disabled: boolean;
7
7
  isEmpty: boolean;
8
- }, __VLS_5: {};
8
+ }, __VLS_7: {};
9
9
  type __VLS_Slots = {} & {
10
- 'toolbar-left'?: (props: typeof __VLS_1) => any;
10
+ 'toolbar-top'?: (props: typeof __VLS_1) => any;
11
11
  } & {
12
- 'toolbar-right'?: (props: typeof __VLS_3) => any;
12
+ 'toolbar-left'?: (props: typeof __VLS_3) => any;
13
13
  } & {
14
- footer?: (props: typeof __VLS_5) => any;
14
+ 'toolbar-right'?: (props: typeof __VLS_5) => any;
15
+ } & {
16
+ footer?: (props: typeof __VLS_7) => any;
15
17
  };
16
18
  declare const __VLS_base: import("vue").DefineComponent<CkPromptInputProps, {
17
19
  focus: typeof focus;
@@ -27,7 +29,6 @@ declare const __VLS_base: import("vue").DefineComponent<CkPromptInputProps, {
27
29
  disabled: boolean;
28
30
  modelValue: string;
29
31
  placeholder: string;
30
- maxHeight: number;
31
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
33
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
33
34
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- {"version":3,"file":"CkPromptInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptInput/CkPromptInput.vue"],"names":[],"mappings":"AA2GA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAuClD,iBAAS,MAAM,IAAI,IAAI,CAKtB;AASD,iBAAS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,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,13 +1,17 @@
1
1
  /**
2
- * Low-level prompt input: a single auto-growing textarea with left/right toolbar
3
- * slots, a footer slot, and keyboard submission (Enter to submit, Shift+Enter
4
- * for newline). Use when you need full control over the prompt layout; for a
5
- * turnkey chat input use `CkInput` instead.
2
+ * Low-level prompt input: an auto-growing textarea (1–6 lines, then internal
3
+ * scroll) with `toolbar-top` / `toolbar-left` / `toolbar-right` / `footer`
4
+ * slots and keyboard submission (Enter to submit, Shift+Enter for newline).
5
+ * The form layout adapts between a compact single-row variant (large 3xl
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.
6
10
  *
7
11
  * @category Form Inputs
8
- * @useCases raw chat prompt textarea, custom prompt toolbar, auto-growing textarea, compose box, keyboard submit
9
- * @keywords prompt, input, textarea, chat, auto-grow, compose, submit, v-model
10
- * @related CkInput, CkPromptActionButton, CkPromptInputDisclaimer
12
+ * @useCases raw chat prompt textarea, custom prompt toolbar, auto-growing compose box, file-attachment chip row, multi-line chat input, keyboard submit
13
+ * @keywords prompt, input, textarea, chat, compose, submit, v-model, auto-grow, multi-line, toolbar
14
+ * @related CkInput, CkPromptSendButton, CkPromptStopButton, CkPromptMenuButton, CkPromptInputDisclaimer, CkFileItemsList
11
15
  */
12
16
  export interface CkPromptInputProps {
13
17
  /**
@@ -22,11 +26,6 @@ export interface CkPromptInputProps {
22
26
  * @default false
23
27
  */
24
28
  disabled?: boolean;
25
- /**
26
- * Maximum height (in px) before the textarea becomes scrollable.
27
- * @default 200
28
- */
29
- maxHeight?: number;
30
29
  /** Accessible label for the textarea, hidden visually but read by assistive tech. */
31
30
  ariaLabel?: string;
32
31
  }
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptInput/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oDAAoD;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC,kCAAkC;IAClC,CAAC,CAAC,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9C,+DAA+D;IAC/D,CAAC,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptInput/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oDAAoD;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC,kCAAkC;IAClC,CAAC,CAAC,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9C,+DAA+D;IAC/D,CAAC,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC"}
@@ -0,0 +1,18 @@
1
+ import CkPromptMenuButton from './CkPromptMenuButton.vue';
2
+ import type { Meta, StoryObj } from '@storybook/vue3-vite';
3
+ declare const meta: Meta<typeof CkPromptMenuButton>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ /**
7
+ * Default menu-trigger button — ghost variant with the built-in plus icon.
8
+ * Drop into a `CkPromptInput` left toolbar slot, wrap with `UiDropdownMenu`
9
+ * to expose the actual prompt actions (attach files, attach folders, toggle
10
+ * tools, etc.).
11
+ */
12
+ export declare const Default: Story;
13
+ /**
14
+ * Disabled state — use while the menu's actions are unavailable (e.g. while
15
+ * the previous request is still in flight).
16
+ */
17
+ export declare const Disabled: Story;
18
+ //# sourceMappingURL=CkPromptMenuButton.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CkPromptMenuButton.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptMenuButton/CkPromptMenuButton.stories.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,kBAAkB,CA0BzC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAkBnC;;;;;GAKG;AACH,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { CkPromptMenuButtonProps } from './types';
2
+ declare var __VLS_8: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_8) => any;
5
+ };
6
+ declare const __VLS_base: import("vue").DefineComponent<CkPromptMenuButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CkPromptMenuButtonProps> & Readonly<{}>, {
7
+ type: "button" | "submit";
8
+ disabled: boolean;
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
18
+ //# sourceMappingURL=CkPromptMenuButton.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CkPromptMenuButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptMenuButton/CkPromptMenuButton.vue"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AA0EvD,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;;;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"}
@@ -0,0 +1,3 @@
1
+ export { default as CkPromptMenuButton } from './CkPromptMenuButton.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/CkPromptMenuButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,mBAAmB,SAAS,CAAC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Icon-only menu trigger styled for the chat prompt area (ghost variant,
3
+ * pill-shaped). Sits in `CkPromptInput`'s `toolbar-left` slot as the entry
4
+ * point to a dropdown of prompt actions — attach files, attach folders,
5
+ * toggle tools, switch length, etc. Defaults to a `plus` icon when the slot
6
+ * is empty; pass any icon to override.
7
+ *
8
+ * @category Actions
9
+ * @useCases open prompt menu, attach files, add resources, toggle tools, prompt input toolbar
10
+ * @keywords prompt, menu, plus, add, button, icon, ghost, dropdown trigger, tools
11
+ * @related CkPromptInput, CkPromptSendButton, CkPromptStopButton, CkDropZoneOverlay, CkFileItemsList
12
+ */
13
+ export interface CkPromptMenuButtonProps {
14
+ /**
15
+ * Accessible label for the button. **Required** because the button only
16
+ * renders an icon.
17
+ */
18
+ ariaLabel: string;
19
+ /**
20
+ * Whether the button is disabled.
21
+ * @default false
22
+ */
23
+ disabled?: boolean;
24
+ /**
25
+ * Native button `type`.
26
+ * @default 'button'
27
+ */
28
+ type?: 'button' | 'submit';
29
+ }
30
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptMenuButton/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAC5B"}
@@ -1,11 +1,11 @@
1
- import CkPromptActionButton from './CkPromptActionButton.vue';
1
+ import CkPromptSendButton from './CkPromptSendButton.vue';
2
2
  import type { Meta, StoryObj } from '@storybook/vue3-vite';
3
- declare const meta: Meta<typeof CkPromptActionButton>;
3
+ declare const meta: Meta<typeof CkPromptSendButton>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
6
6
  /**
7
- * Default send-style button. Use in a prompt input toolbar to submit a message
8
- * or trigger a primary chat action.
7
+ * Default send button. Drop into a `CkPromptInput`'s `toolbar-right` slot to
8
+ * submit the prompt.
9
9
  */
10
10
  export declare const Default: Story;
11
11
  /**
@@ -18,4 +18,4 @@ export declare const Disabled: Story;
18
18
  * message is still streaming or the request is in flight.
19
19
  */
20
20
  export declare const Loading: Story;
21
- //# sourceMappingURL=CkPromptActionButton.stories.d.ts.map
21
+ //# sourceMappingURL=CkPromptSendButton.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CkPromptSendButton.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptSendButton/CkPromptSendButton.stories.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,0BAA0B,CAAC;AAE1D,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,kBAAkB,CA+BzC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAgCnC;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAUrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAUtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAUrB,CAAC"}
@@ -1,9 +1,9 @@
1
- import type { CkPromptActionButtonProps } from './types';
1
+ import type { CkPromptSendButtonProps } from './types';
2
2
  declare var __VLS_8: {};
3
3
  type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_8) => any;
5
5
  };
6
- declare const __VLS_base: import("vue").DefineComponent<CkPromptActionButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CkPromptActionButtonProps> & Readonly<{}>, {
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
8
  disabled: boolean;
9
9
  loading: boolean;
@@ -16,4 +16,4 @@ type __VLS_WithSlots<T, S> = T & {
16
16
  $slots: S;
17
17
  };
18
18
  };
19
- //# sourceMappingURL=CkPromptActionButton.vue.d.ts.map
19
+ //# sourceMappingURL=CkPromptSendButton.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CkPromptSendButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptSendButton/CkPromptSendButton.vue"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AA+DvD,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;;;;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"}
@@ -0,0 +1,3 @@
1
+ export { default as CkPromptSendButton } from './CkPromptSendButton.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/CkPromptSendButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,mBAAmB,SAAS,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Icon-only send button styled for the chat prompt area (brand color, pill
3
+ * shape). Sits in `CkPromptInput`'s `toolbar-right` slot as the submit
4
+ * trigger. Shows a spinner via `loading` while the previous request is in
5
+ * flight; pair with `CkPromptStopButton` to expose an abort control.
6
+ *
7
+ * @category Actions
8
+ * @useCases send message button, submit prompt, primary chat send action, loading send button, disabled send button
9
+ * @keywords prompt, send, submit, button, icon, loading, brand
10
+ * @related CkPromptInput, CkPromptStopButton, CkInput, CkSendIcon
11
+ */
12
+ export interface CkPromptSendButtonProps {
13
+ /**
14
+ * Accessible label for the button. **Required** because the button only
15
+ * renders an icon.
16
+ */
17
+ ariaLabel: string;
18
+ /**
19
+ * Whether the button is disabled.
20
+ * @default false
21
+ */
22
+ disabled?: boolean;
23
+ /**
24
+ * Whether to show a loading spinner instead of the slotted icon.
25
+ * @default false
26
+ */
27
+ loading?: boolean;
28
+ /**
29
+ * Native button `type`. Set `'submit'` when placed inside a `<form>`.
30
+ * @default 'button'
31
+ */
32
+ type?: 'button' | 'submit';
33
+ }
34
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptSendButton/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAC5B"}
@@ -4,7 +4,7 @@ declare const meta: Meta<typeof CkPromptStopButton>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
6
6
  /**
7
- * Default stop button. Swap it in for `CkPromptActionButton` while an
7
+ * Default stop button. Swap it in for `CkPromptSendButton` while an
8
8
  * assistant reply is streaming so users can cancel the response.
9
9
  */
10
10
  export declare const Default: Story;
@@ -1 +1 @@
1
- {"version":3,"file":"CkPromptStopButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptStopButton/CkPromptStopButton.vue"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AA6EvD,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"}
1
+ {"version":3,"file":"CkPromptStopButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptStopButton/CkPromptStopButton.vue"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AA4EvD,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"}
@@ -1,12 +1,14 @@
1
1
  /**
2
- * Icon-only button used to stop an in-flight assistant generation. Shares the
3
- * brand styling of `CkPromptActionButton` but is intended to replace it in the
2
+ * Icon-only button used to stop an in-flight assistant generation. Visually
3
+ * de-emphasized counterpart to `CkPromptSendButton` — uses UiButton's `secondary`
4
+ * variant (muted background) per Figma spec, so the user's eye doesn't read it
5
+ * as a primary call-to-action. Swap it in for `CkPromptSendButton` in the
4
6
  * prompt toolbar while a response is streaming.
5
7
  *
6
8
  * @category Actions
7
9
  * @useCases stop assistant generation, cancel streaming reply, abort in-flight request, halt llm response
8
- * @keywords stop, cancel, abort, prompt, action, button, icon, streaming
9
- * @related CkPromptActionButton, CkPromptInput, CkInput
10
+ * @keywords stop, cancel, abort, prompt, button, icon, streaming, secondary
11
+ * @related CkPromptSendButton, CkPromptMenuButton, CkPromptInput, CkInput, CkStopIcon
10
12
  */
11
13
  export interface CkPromptStopButtonProps {
12
14
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptStopButton/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,uBAAuB;IACtC,oDAAoD;IACpD,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;CACvC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptStopButton/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,uBAAuB;IACtC,oDAAoD;IACpD,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;CACvC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CkSendIcon.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/icons/CkSendIcon.vue"],"names":[],"mappings":"AAsDA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"CkSendIcon.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/icons/CkSendIcon.vue"],"names":[],"mappings":"AA4CA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -20,7 +20,9 @@ export type { CkMarkdownRendererProps, CkMarkdownElementClasses, } from './CkMar
20
20
  export { CkMessageActionButton } from './CkMessageActionButton';
21
21
  export { CkModelSelector } from './CkModelSelector';
22
22
  export type { CkModelOption, CkModelSelectorProps, CkModelSelectorEmits, } from './CkModelSelector';
23
- export { CkPromptActionButton } from './CkPromptActionButton';
23
+ export { CkPromptSendButton } from './CkPromptSendButton';
24
+ export { CkPromptMenuButton } from './CkPromptMenuButton';
25
+ export type { CkPromptMenuButtonProps } from './CkPromptMenuButton';
24
26
  export { CkPromptStopButton } from './CkPromptStopButton';
25
27
  export { CkPromptInput } from './CkPromptInput';
26
28
  export { CkPromptInputDisclaimer } from './CkPromptInputDisclaimer';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/base/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EACV,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EACV,qBAAqB,EACrB,eAAe,GAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EACV,qBAAqB,EACrB,qBAAqB,EACrB,6BAA6B,EAC7B,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EACV,WAAW,EACX,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC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BAAiB,CAAC"}
@@ -40,10 +40,10 @@ declare const __VLS_base: import("vue").DefineComponent<CkHistoryProps, {}, {},
40
40
  }>, {
41
41
  showAction: boolean;
42
42
  showActionOnHover: boolean;
43
- maxHeight: string;
44
43
  activeId: string;
45
44
  timeFormatter: (updatedAtSeconds: number) => string;
46
45
  collapsedLimit: number;
46
+ maxHeight: string;
47
47
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
48
48
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
49
49
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- {"version":3,"file":"CkInput.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/composed/CkInput/CkInput.stories.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,eAAe,CAAC;AACpC,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAM3D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAyC9B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAqGnC;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAerB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,KAgD5B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,KA2FzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAiBtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KA2BrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,KAuB1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAsBzB,CAAC"}
1
+ {"version":3,"file":"CkInput.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/composed/CkInput/CkInput.stories.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,eAAe,CAAC;AACpC,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAM3D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAqC9B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAqGnC;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAerB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,KAgD5B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,KA2FzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAiBtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KA2BrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,KAuB1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAsBzB,CAAC"}
@@ -1,21 +1,23 @@
1
1
  import type { CkInputProps } from './types';
2
2
  declare function focus(): void;
3
3
  declare function submit(): void;
4
- declare var __VLS_13: {}, __VLS_16: {
4
+ declare var __VLS_13: {}, __VLS_16: {}, __VLS_19: {
5
5
  submit: () => void;
6
6
  disabled: boolean;
7
7
  isEmpty: boolean;
8
- }, __VLS_26: {}, __VLS_39: {}, __VLS_47: {};
8
+ }, __VLS_29: {}, __VLS_42: {}, __VLS_50: {};
9
9
  type __VLS_Slots = {} & {
10
- 'toolbar-left'?: (props: typeof __VLS_13) => any;
10
+ 'toolbar-top'?: (props: typeof __VLS_13) => any;
11
11
  } & {
12
- 'toolbar-right'?: (props: typeof __VLS_16) => any;
12
+ 'toolbar-left'?: (props: typeof __VLS_16) => any;
13
13
  } & {
14
- 'stop-icon'?: (props: typeof __VLS_26) => any;
14
+ 'toolbar-right'?: (props: typeof __VLS_19) => any;
15
15
  } & {
16
- 'send-icon'?: (props: typeof __VLS_39) => any;
16
+ 'stop-icon'?: (props: typeof __VLS_29) => any;
17
17
  } & {
18
- footer?: (props: typeof __VLS_47) => any;
18
+ 'send-icon'?: (props: typeof __VLS_42) => any;
19
+ } & {
20
+ footer?: (props: typeof __VLS_50) => any;
19
21
  };
20
22
  declare const __VLS_base: import("vue").DefineComponent<CkInputProps, {
21
23
  focus: typeof focus;
@@ -34,7 +36,6 @@ declare const __VLS_base: import("vue").DefineComponent<CkInputProps, {
34
36
  loading: boolean;
35
37
  modelValue: string;
36
38
  placeholder: string;
37
- maxHeight: number;
38
39
  stopAriaLabel: string;
39
40
  disclaimer: string;
40
41
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"CkInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/composed/CkInput/CkInput.vue"],"names":[],"mappings":"AAiHA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAyC5C,iBAAS,KAAK,IAAI,IAAI,CAErB;AAED,iBAAS,MAAM,IAAI,IAAI,CAEtB;AAqKD,QAAA,IAAuB,QAAQ,IAAW,EAAE,QAAQ;;;;CAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACjI,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACpD;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACrD;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACjD;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACjD;IAAE,MAAM,CA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