@aleph-alpha/chat-kit 1.10.0 → 1.11.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.
- package/dist/{CkInput.vue_vue_type_script_setup_true_lang-CR3lzV0q.js → CkInput.vue_vue_type_script_setup_true_lang-C1Jnn1fK.js} +3 -3
- package/dist/components/base/CkFileItemsList/CkFileItemsList.vue.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/src/components/base/CkFileItemsList/CkFileItemsList.vue +3 -3
|
@@ -591,7 +591,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
591
591
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.files, (file) => {
|
|
592
592
|
return openBlock(), createElementBlock("li", {
|
|
593
593
|
key: file.id,
|
|
594
|
-
class: "min-w-0 max-w-
|
|
594
|
+
class: "min-w-0 max-w-64 flex-1 basis-0",
|
|
595
595
|
onClick: ($event) => handleRowClick(file, $event)
|
|
596
596
|
}, [
|
|
597
597
|
createVNode(_sfc_main$c, {
|
|
@@ -621,7 +621,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
621
621
|
type: "button",
|
|
622
622
|
"data-slot": "file-items-list-trigger",
|
|
623
623
|
disabled: __props.disabled,
|
|
624
|
-
class: normalizeClass(["relative flex w-full max-w-
|
|
624
|
+
class: normalizeClass(["relative flex w-full max-w-64 min-w-0 items-center gap-3 rounded-xl bg-background-surface-muted-subtle text-left transition-colors hover:bg-background-surface-muted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:bg-background-surface-muted-subtle", __props.size === "small" ? "p-2" : "p-3"]),
|
|
625
625
|
"aria-label": resolvedTriggerAriaLabel.value
|
|
626
626
|
}, [
|
|
627
627
|
createVNode(unref(UiFileType), {
|
|
@@ -655,7 +655,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
655
655
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.files, (file) => {
|
|
656
656
|
return openBlock(), createElementBlock("li", {
|
|
657
657
|
key: file.id,
|
|
658
|
-
class: "min-w-0",
|
|
658
|
+
class: "min-w-0 max-w-64",
|
|
659
659
|
onClick: ($event) => handleRowClick(file, $event)
|
|
660
660
|
}, [
|
|
661
661
|
createVNode(_sfc_main$c, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CkFileItemsList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkFileItemsList/CkFileItemsList.vue"],"names":[],"mappings":"AA2KA,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EACV,WAAW,EAEX,oBAAoB,EACrB,MAAM,SAAS,CAAC;AAwBjB,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;
|
|
1
|
+
{"version":3,"file":"CkFileItemsList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkFileItemsList/CkFileItemsList.vue"],"names":[],"mappings":"AA2KA,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EACV,WAAW,EAEX,oBAAoB,EACrB,MAAM,SAAS,CAAC;AAwBjB,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;AAsVF,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"}
|
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _, a, b, C, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q } from "../CkInput.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _, a, b, C, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q } from "../CkInput.vue_vue_type_script_setup_true_lang-C1Jnn1fK.js";
|
|
2
2
|
export {
|
|
3
3
|
_ as CkAgentMessage,
|
|
4
4
|
a as CkConversation,
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { u } from "./useMessageHandler-ZRC-gIOJ.js";
|
|
2
2
|
import { C, d, p, u as u2, a } from "./useChatKitLabels-ftC52m7f.js";
|
|
3
3
|
import { S, c, d as d2, a as a2, u as u3, b, e, f } from "./index-BLq6_Lt2.js";
|
|
4
|
-
import { _, a as a3, b as b2, C as C2, c as c2, d as d3, e as e2, f as f2, g, h, i, j, k, l, m, n, o, p as p2, q } from "./CkInput.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _, a as a3, b as b2, C as C2, c as c2, d as d3, e as e2, f as f2, g, h, i, j, k, l, m, n, o, p as p2, q } from "./CkInput.vue_vue_type_script_setup_true_lang-C1Jnn1fK.js";
|
|
5
5
|
export {
|
|
6
6
|
C as CHAT_KIT_LABELS,
|
|
7
7
|
_ as CkAgentMessage,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aleph-alpha/chat-kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0",
|
|
4
4
|
"description": "Chat kit package for building chat interfaces with Vue",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"remark-parse": "^11.0.0",
|
|
72
72
|
"remark-rehype": "^11.1.2",
|
|
73
73
|
"unified": "^11.0.5",
|
|
74
|
-
"@aleph-alpha/ui-library": "2.6.
|
|
74
|
+
"@aleph-alpha/ui-library": "2.6.1"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@storybook/addon-a11y": "10.2.17",
|
|
@@ -88,7 +88,7 @@ function handleRowClick(file: CkFileEntry, event: MouseEvent) {
|
|
|
88
88
|
<li
|
|
89
89
|
v-for="file in files"
|
|
90
90
|
:key="file.id"
|
|
91
|
-
class="min-w-0 max-w-
|
|
91
|
+
class="min-w-0 max-w-64 flex-1 basis-0"
|
|
92
92
|
@click="handleRowClick(file, $event)"
|
|
93
93
|
>
|
|
94
94
|
<CkFileItemRow
|
|
@@ -112,7 +112,7 @@ function handleRowClick(file: CkFileEntry, event: MouseEvent) {
|
|
|
112
112
|
type="button"
|
|
113
113
|
data-slot="file-items-list-trigger"
|
|
114
114
|
:disabled="disabled"
|
|
115
|
-
class="relative flex w-full max-w-
|
|
115
|
+
class="relative flex w-full max-w-64 min-w-0 items-center gap-3 rounded-xl bg-background-surface-muted-subtle text-left transition-colors hover:bg-background-surface-muted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:bg-background-surface-muted-subtle"
|
|
116
116
|
:class="size === 'small' ? 'p-2' : 'p-3'"
|
|
117
117
|
:aria-label="resolvedTriggerAriaLabel"
|
|
118
118
|
>
|
|
@@ -146,7 +146,7 @@ function handleRowClick(file: CkFileEntry, event: MouseEvent) {
|
|
|
146
146
|
<li
|
|
147
147
|
v-for="file in files"
|
|
148
148
|
:key="file.id"
|
|
149
|
-
class="min-w-0"
|
|
149
|
+
class="min-w-0 max-w-64"
|
|
150
150
|
@click="handleRowClick(file, $event)"
|
|
151
151
|
>
|
|
152
152
|
<CkFileItemRow
|