@iyulab/chat-components 0.12.2 → 0.12.3
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.12.3] - 2026-09-21
|
|
4
|
+
|
|
5
|
+
### Documentation
|
|
6
|
+
|
|
7
|
+
- **The file and table blocks now list the CSS parts they expose.** Neither reference page had
|
|
8
|
+
a `CSS Parts` section, so `card-main` (the file block's clickable card body) and
|
|
9
|
+
`sort-button` (a table column header's sort toggle) were styleable but undocumented.
|
|
10
|
+
|
|
3
11
|
## [0.12.2] - 2026-09-20
|
|
4
12
|
|
|
5
13
|
### Fixed
|
package/package.json
CHANGED
|
@@ -38,6 +38,12 @@ Clicking anywhere on the card opens a full-size preview overlay, but only for im
|
|
|
38
38
|
| `size` | `number` | `undefined` | — | File size in bytes; auto-formatted to KB/MB/GB |
|
|
39
39
|
| `url` | `string` | `undefined` | — | File URL, used for the image/video thumbnail and preview overlay |
|
|
40
40
|
|
|
41
|
+
## CSS Parts
|
|
42
|
+
|
|
43
|
+
| Part | Description |
|
|
44
|
+
|------|-------------|
|
|
45
|
+
| `card-main` | The clickable card body (rendered only when the block is actionable) |
|
|
46
|
+
|
|
41
47
|
## Events
|
|
42
48
|
|
|
43
49
|
| Event | Detail | Description |
|
|
@@ -59,6 +59,12 @@ There is no size property or custom property for this — the host is the lever.
|
|
|
59
59
|
| `headers` | `TableCell[]` | `[]` | Header cells, each with `text` and `align` |
|
|
60
60
|
| `rows` | `TableCell[][]` | `[]` | Row data; each row is an array of `TableCell` |
|
|
61
61
|
|
|
62
|
+
## CSS Parts
|
|
63
|
+
|
|
64
|
+
| Part | Description |
|
|
65
|
+
|------|-------------|
|
|
66
|
+
| `sort-button` | A column header's sort toggle |
|
|
67
|
+
|
|
62
68
|
## TableCell Type
|
|
63
69
|
|
|
64
70
|
```ts
|