@k2b/ui 0.15.0 → 0.16.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/README.md +5 -0
- package/dist/base.css +1097 -0
- package/dist/browser/chat/ChatPrimitives.js +19 -16
- package/dist/browser/chat/ChatPrimitives.js.map +1 -1
- package/dist/browser/chat/ChatTimeline.js +110 -87
- package/dist/browser/chat/ChatTimeline.js.map +1 -1
- package/dist/browser/content/StructuredDataPreview.js +4 -1
- package/dist/browser/content/StructuredDataPreview.js.map +1 -1
- package/dist/browser/intl/messages.js +4 -0
- package/dist/browser/intl/messages.js.map +1 -1
- package/dist/ssr/chat/ChatPrimitives.js +2 -2
- package/dist/ssr/chat/ChatPrimitives.js.map +1 -1
- package/dist/ssr/chat/ChatTimeline.js +110 -87
- package/dist/ssr/chat/ChatTimeline.js.map +1 -1
- package/dist/ssr/content/StructuredDataPreview.js +1 -1
- package/dist/ssr/content/StructuredDataPreview.js.map +1 -1
- package/dist/ssr/intl/messages.js +4 -0
- package/dist/ssr/intl/messages.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/chat/ChatPrimitives.d.ts +2 -0
- package/dist/types/chat/ChatTimeline.d.ts +2 -0
- package/dist/types/intl/messages.d.ts +2 -0
- package/package.json +3 -1
|
@@ -16,6 +16,8 @@ export type ChatMessageProps = {
|
|
|
16
16
|
};
|
|
17
17
|
export type ChatActivityProps = {
|
|
18
18
|
label: string;
|
|
19
|
+
/** Spelled-out name for an expandable row whose visible text abbreviates, such as durations. */
|
|
20
|
+
ariaLabel?: string;
|
|
19
21
|
description?: string;
|
|
20
22
|
icon?: string;
|
|
21
23
|
/** Optional host-owned leading visual rendered instead of the icon. */
|
|
@@ -2,6 +2,7 @@ import { type JSX } from "solid-js";
|
|
|
2
2
|
import type { ChatAction, ChatActivityTone, ChatAttachment, ChatMessageStatus, ChatRole } from "./types";
|
|
3
3
|
export type ChatMessageItem = {
|
|
4
4
|
kind: "message";
|
|
5
|
+
/** Unique within the timeline. A record with a known id updates its row in place instead of replacing it. */
|
|
5
6
|
id: string;
|
|
6
7
|
role: ChatRole;
|
|
7
8
|
content?: JSX.Element;
|
|
@@ -17,6 +18,7 @@ export type ChatMessageItem = {
|
|
|
17
18
|
};
|
|
18
19
|
export type ChatActivityItem = {
|
|
19
20
|
kind: "activity";
|
|
21
|
+
/** Unique within the timeline. A record with a known id updates its row in place instead of replacing it. */
|
|
20
22
|
id: string;
|
|
21
23
|
label: string;
|
|
22
24
|
description?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@k2b/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "Production-ready components for SolidJS applications.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"import": "./dist/ssr/index.js",
|
|
22
22
|
"default": "./dist/ssr/index.js"
|
|
23
23
|
},
|
|
24
|
+
"./base.css": "./dist/base.css",
|
|
24
25
|
"./global.css": "./dist/global.css",
|
|
25
26
|
"./styles.css": "./dist/styles.css",
|
|
26
27
|
"./fonts/plex.css": "./dist/plex.css",
|
|
@@ -59,6 +60,7 @@
|
|
|
59
60
|
"@k2b/ssr": "0.14.0",
|
|
60
61
|
"@types/babel__core": "7.20.5",
|
|
61
62
|
"@types/bun": "1.4.2",
|
|
63
|
+
"axe-core": "4.11.0",
|
|
62
64
|
"babel-preset-solid": "1.9.15",
|
|
63
65
|
"bun-plugin-tailwind": "0.1.2",
|
|
64
66
|
"happy-dom": "20.14.5",
|