@iyulab/chat-components 0.19.0 → 0.19.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.19.1] - 2026-10-07
|
|
4
|
+
|
|
5
|
+
### Documentation
|
|
6
|
+
|
|
7
|
+
- `u-ref-card` lists its two new CSS parts, `preview` and `preview-blocked` (added in 0.19.0), in the skill reference
|
|
8
|
+
and the component's own documentation.
|
|
9
|
+
|
|
3
10
|
## [0.19.0] - 2026-10-07
|
|
4
11
|
|
|
5
12
|
### Added
|
|
@@ -15,6 +15,9 @@ export declare const googleFaviconUrl: FaviconResolver;
|
|
|
15
15
|
/**
|
|
16
16
|
* 참조 소스를 카드 형태로 표시하는 공통 컴포넌트입니다.
|
|
17
17
|
* Web과 Document 타입 모두 지원합니다.
|
|
18
|
+
*
|
|
19
|
+
* @csspart preview - 출처의 미리보기 이미지(`image`)
|
|
20
|
+
* @csspart preview-blocked - 출처 정책이 막은 미리보기 자리의 «차단된 이미지» 문구
|
|
18
21
|
*/
|
|
19
22
|
export declare class URefCard extends UDataElement {
|
|
20
23
|
static styles: import('lit').CSSResultGroup[];
|
package/package.json
CHANGED
|
@@ -49,6 +49,13 @@ Extends `UDataElement`, so data can also be injected via a `<script type="applic
|
|
|
49
49
|
| `faviconUrl` | `FaviconResolver` | `undefined` | — | Favicon resolver for this card (property only). Overrides `URefCard.defaultFaviconUrl` |
|
|
50
50
|
| `image` | `ReferenceImage` | `undefined` | — | Preview image (`{ src, alt? }`), drawn above the snippet. Passes the image origin policy (`setAllowedImagePrefixes`); a blocked image makes no request and shows its alt text as *Image blocked* |
|
|
51
51
|
|
|
52
|
+
## CSS Parts
|
|
53
|
+
|
|
54
|
+
| Part | Description |
|
|
55
|
+
|------|-------------|
|
|
56
|
+
| `preview` | The source's preview image (`image`) |
|
|
57
|
+
| `preview-blocked` | The *Image blocked* line where the origin policy stopped the preview |
|
|
58
|
+
|
|
52
59
|
---
|
|
53
60
|
|
|
54
61
|
## Favicon
|