@aleph-alpha/chat-kit 6.1.0 → 6.1.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.
package/dist/chat-kit.css
CHANGED
|
@@ -1134,13 +1134,31 @@ html.dark .ck-milkdown {
|
|
|
1134
1134
|
margin: 0.5rem 0; /* = pre: 'my-2' */
|
|
1135
1135
|
padding: 0;
|
|
1136
1136
|
max-width: 100%;
|
|
1137
|
-
overflow: hidden
|
|
1137
|
+
/* NOT `overflow: hidden`, unlike UiCodeBlock. The language picker is a
|
|
1138
|
+
* position:absolute panel *inside* this block (Crepe renders it inline, not
|
|
1139
|
+
* through a portal) and its list is 410px tall, so clipping here would cut
|
|
1140
|
+
* it down to the height of the code block. The rounded corners are clipped
|
|
1141
|
+
* on the two inner sections instead. */
|
|
1142
|
+
overflow: visible;
|
|
1138
1143
|
border: 1px solid oklch(var(--border-surface-default));
|
|
1139
1144
|
border-radius: 0.5rem;
|
|
1140
1145
|
background: var(--ck-cm-bg);
|
|
1141
1146
|
color: var(--ck-cm-foreground);
|
|
1142
1147
|
}
|
|
1143
1148
|
|
|
1149
|
+
/* Corner rounding that `overflow: hidden` on the wrapper used to provide.
|
|
1150
|
+
* `calc(0.5rem - 1px)` nests inside the wrapper's 1px border cleanly. */
|
|
1151
|
+
.ck-milkdown .milkdown .milkdown-code-block .tools {
|
|
1152
|
+
border-top-left-radius: calc(0.5rem - 1px);
|
|
1153
|
+
border-top-right-radius: calc(0.5rem - 1px);
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
.ck-milkdown .milkdown .milkdown-code-block .codemirror-host {
|
|
1157
|
+
overflow: hidden;
|
|
1158
|
+
border-bottom-left-radius: calc(0.5rem - 1px);
|
|
1159
|
+
border-bottom-right-radius: calc(0.5rem - 1px);
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1144
1162
|
.ck-milkdown .milkdown .milkdown-code-block.selected {
|
|
1145
1163
|
outline: 2px solid oklch(var(--border-surface-focus-ring));
|
|
1146
1164
|
outline-offset: 1px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aleph-alpha/chat-kit",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.1",
|
|
4
4
|
"description": "Chat kit package for building chat interfaces with Vue",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -114,8 +114,8 @@
|
|
|
114
114
|
"vue-tsc": "^3.2.4",
|
|
115
115
|
"wait-on": "9.0.3",
|
|
116
116
|
"@aleph-alpha/eslint-config-frontend": "0.7.1",
|
|
117
|
-
"@aleph-alpha/
|
|
118
|
-
"@aleph-alpha/
|
|
117
|
+
"@aleph-alpha/tsconfig-frontend": "0.7.3",
|
|
118
|
+
"@aleph-alpha/prettier-config-frontend": "2.1.1"
|
|
119
119
|
},
|
|
120
120
|
"scripts": {
|
|
121
121
|
"build": "vite build && vue-tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --outDir dist",
|
|
@@ -244,13 +244,31 @@ html.dark .ck-milkdown {
|
|
|
244
244
|
margin: 0.5rem 0; /* = pre: 'my-2' */
|
|
245
245
|
padding: 0;
|
|
246
246
|
max-width: 100%;
|
|
247
|
-
overflow: hidden
|
|
247
|
+
/* NOT `overflow: hidden`, unlike UiCodeBlock. The language picker is a
|
|
248
|
+
* position:absolute panel *inside* this block (Crepe renders it inline, not
|
|
249
|
+
* through a portal) and its list is 410px tall, so clipping here would cut
|
|
250
|
+
* it down to the height of the code block. The rounded corners are clipped
|
|
251
|
+
* on the two inner sections instead. */
|
|
252
|
+
overflow: visible;
|
|
248
253
|
border: 1px solid oklch(var(--border-surface-default));
|
|
249
254
|
border-radius: 0.5rem;
|
|
250
255
|
background: var(--ck-cm-bg);
|
|
251
256
|
color: var(--ck-cm-foreground);
|
|
252
257
|
}
|
|
253
258
|
|
|
259
|
+
/* Corner rounding that `overflow: hidden` on the wrapper used to provide.
|
|
260
|
+
* `calc(0.5rem - 1px)` nests inside the wrapper's 1px border cleanly. */
|
|
261
|
+
.ck-milkdown .milkdown .milkdown-code-block .tools {
|
|
262
|
+
border-top-left-radius: calc(0.5rem - 1px);
|
|
263
|
+
border-top-right-radius: calc(0.5rem - 1px);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.ck-milkdown .milkdown .milkdown-code-block .codemirror-host {
|
|
267
|
+
overflow: hidden;
|
|
268
|
+
border-bottom-left-radius: calc(0.5rem - 1px);
|
|
269
|
+
border-bottom-right-radius: calc(0.5rem - 1px);
|
|
270
|
+
}
|
|
271
|
+
|
|
254
272
|
.ck-milkdown .milkdown .milkdown-code-block.selected {
|
|
255
273
|
outline: 2px solid oklch(var(--border-surface-focus-ring));
|
|
256
274
|
outline-offset: 1px;
|