@iyulab/chat-components 0.16.0 → 0.17.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/CHANGELOG.md +20 -0
- package/dist/_virtual/{_@oxc-project_runtime@0.151.0 → _@oxc-project_runtime@0.152.0}/helpers/esm/decorate.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.151.0 → _@oxc-project_runtime@0.152.0}/helpers/esm/decorateMetadata.js +1 -1
- package/dist/components/blocks/UCodeBlock.js +2 -2
- package/dist/components/blocks/UElementBlock.js +2 -2
- package/dist/components/blocks/UFileBlock.js +2 -2
- package/dist/components/blocks/UFileBlock.styles.js +8 -7
- package/dist/components/blocks/UMarkedBlock.js +2 -2
- package/dist/components/blocks/URefBlock.js +2 -2
- package/dist/components/blocks/URefBlock.styles.js +5 -2
- package/dist/components/blocks/UTableBlock.js +2 -2
- package/dist/components/blocks/UTableBlock.styles.js +2 -1
- package/dist/components/blocks/UTextBlock.js +2 -2
- package/dist/components/message/UMessage.js +2 -2
- package/dist/components/prompt/UPrompt.js +2 -2
- package/dist/components/prompt/UPrompt.styles.js +8 -0
- package/dist/components/references/URefCard.js +2 -2
- package/dist/components/references/URefCard.styles.js +1 -1
- package/dist/components/references/URefCardGroup.js +2 -2
- package/dist/components/references/URefCardGroup.styles.js +3 -3
- package/dist/components/references/URefTag.js +2 -2
- package/dist/components/references/URefTag.styles.js +1 -1
- package/dist/components-extra/UChartBlock.js +2 -2
- package/dist/components-extra/UImagesBlock.js +2 -2
- package/dist/components-extra/UImagesBlock.styles.js +10 -9
- package/dist/components-extra/UMapBlock.js +2 -2
- package/dist/components-extra/UMapBlock.styles.js +4 -0
- package/dist/components-extra/UVideoBlock.js +2 -2
- package/dist/node_modules/katex/dist/katex.js +1 -1
- package/dist/react/UCodeBlock.d.ts +4 -2
- package/dist/react/UElementBlock.d.ts +4 -2
- package/dist/react/UFileBlock.d.ts +4 -2
- package/dist/react/UImagesBlock.d.ts +4 -2
- package/dist/react/UMapBlock.d.ts +4 -2
- package/dist/react/UMarkedBlock.d.ts +4 -2
- package/dist/react/UMessage.d.ts +4 -2
- package/dist/react/UPrompt.d.ts +4 -2
- package/dist/react/URefBlock.d.ts +4 -2
- package/dist/react/URefCard.d.ts +4 -2
- package/dist/react/URefCardGroup.d.ts +4 -2
- package/dist/react/URefTag.d.ts +4 -2
- package/dist/react/UTableBlock.d.ts +4 -2
- package/dist/react/UTextBlock.d.ts +4 -2
- package/dist/react/UVideoBlock.d.ts +4 -2
- package/package.json +1 -1
- package/skills/iyulab-chat-components/SKILL.md +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.17.0] - 2026-10-05
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- **Press targets follow `--u-target-size`** (the host's minimum target size from `@iyulab/components`).
|
|
8
|
+
When it is set, the reference block header, reference card navigation, table sort buttons, the map
|
|
9
|
+
caption link and the image/file preview close buttons are at least that size. Unset, nothing changes.
|
|
10
|
+
Inline citation markers keep their size — they sit in a line of text.
|
|
11
|
+
|
|
12
|
+
## [0.16.1] - 2026-10-03
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- **Transitions follow the motion tokens, so reduced motion stops them.** Hover, expand and fade
|
|
17
|
+
transitions in the blocks, reference cards and image gallery took fixed durations and kept moving for
|
|
18
|
+
users who prefer reduced motion. They now read `--u-duration-*` from `@iyulab/components`, which drops
|
|
19
|
+
to zero under `prefers-reduced-motion: reduce`. Some speeds move to the nearest step of the scale.
|
|
20
|
+
- **`u-prompt[loading]`'s sweeping border holds still under reduced motion** — the coloured band stays,
|
|
21
|
+
so the busy state is still visible.
|
|
22
|
+
|
|
3
23
|
## [0.16.0] - 2026-09-30
|
|
4
24
|
|
|
5
25
|
### Added
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.152.0/helpers/esm/decorate.js
|
|
2
2
|
function __decorate(decorators, target, key, desc) {
|
|
3
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.152.0/helpers/esm/decorateMetadata.js
|
|
2
2
|
function __decorateMetadata(k, v) {
|
|
3
3
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
4
4
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../utilities/icons.js";
|
|
2
2
|
import { styles } from "./UCodeBlock.styles.js";
|
|
3
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
4
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
5
5
|
import { html } from "lit";
|
|
6
6
|
import { customElement, property } from "lit/decorators.js";
|
|
7
7
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
3
3
|
import { UDataElement } from "../UDataElement.js";
|
|
4
4
|
import { getElementBlockProperties } from "../../utilities/ElementRegistry.js";
|
|
5
5
|
import { styles } from "./UElementBlock.styles.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../utilities/icons.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
4
4
|
import { messages } from "../../utilities/messages.js";
|
|
5
5
|
import { styles } from "./UFileBlock.styles.js";
|
|
6
6
|
import { html, nothing } from "lit";
|
|
@@ -19,7 +19,7 @@ var styles = css`
|
|
|
19
19
|
border-radius: 8px;
|
|
20
20
|
background-color: var(--u-neutral-50);
|
|
21
21
|
overflow: visible;
|
|
22
|
-
transition: background-color
|
|
22
|
+
transition: background-color var(--u-duration-fast, 140ms) ease, border-color var(--u-duration-fast, 140ms) ease;
|
|
23
23
|
}
|
|
24
24
|
.card[previewable]:hover {
|
|
25
25
|
background-color: var(--u-neutral-100);
|
|
@@ -60,7 +60,7 @@ var styles = css`
|
|
|
60
60
|
font-size: 16px;
|
|
61
61
|
border-radius: 6px;
|
|
62
62
|
background-color: var(--u-neutral-200);
|
|
63
|
-
transition: background
|
|
63
|
+
transition: background var(--u-duration-fast, 140ms) ease;
|
|
64
64
|
overflow: hidden;
|
|
65
65
|
}
|
|
66
66
|
.thumbnail img,
|
|
@@ -123,7 +123,7 @@ var styles = css`
|
|
|
123
123
|
color: var(--u-neutral-0);
|
|
124
124
|
opacity: 0;
|
|
125
125
|
pointer-events: none;
|
|
126
|
-
transition: opacity
|
|
126
|
+
transition: opacity var(--u-duration-fast, 140ms) ease, background-color var(--u-duration-fast, 140ms) ease;
|
|
127
127
|
}
|
|
128
128
|
.card:hover .remove-btn {
|
|
129
129
|
opacity: 1;
|
|
@@ -143,7 +143,7 @@ var styles = css`
|
|
|
143
143
|
flex-direction: column;
|
|
144
144
|
background: rgba(0, 0, 0, 0.92);
|
|
145
145
|
cursor: default;
|
|
146
|
-
animation: preview-fadeIn
|
|
146
|
+
animation: preview-fadeIn var(--u-duration-normal, 220ms) ease;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
.preview-header {
|
|
@@ -165,8 +165,9 @@ var styles = css`
|
|
|
165
165
|
|
|
166
166
|
.preview-close {
|
|
167
167
|
flex-shrink: 0;
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
/* 호스트 하한(--u-target-size)이 더 크면 그 값. */
|
|
169
|
+
width: max(36px, var(--u-target-size, 0px));
|
|
170
|
+
height: max(36px, var(--u-target-size, 0px));
|
|
170
171
|
border: none;
|
|
171
172
|
border-radius: 12px;
|
|
172
173
|
background: transparent;
|
|
@@ -174,7 +175,7 @@ var styles = css`
|
|
|
174
175
|
align-items: center;
|
|
175
176
|
justify-content: center;
|
|
176
177
|
cursor: pointer;
|
|
177
|
-
transition: background
|
|
178
|
+
transition: background var(--u-duration-normal, 220ms);
|
|
178
179
|
}
|
|
179
180
|
.preview-close:hover { background: rgba(255, 255, 255, 0.18); }
|
|
180
181
|
.preview-close:active { background: rgba(255, 255, 255, 0.28); }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
3
3
|
import "./UCodeBlock.js";
|
|
4
4
|
import { escapeHtmlAttr, escapeHtmlHref, escapeHtmlText, stripZeroWidth } from "../../utilities/sanitizers.js";
|
|
5
5
|
import { HtmlBuilder } from "../../utilities/HtmlBuilder.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
3
3
|
import "../references/URefCard.js";
|
|
4
4
|
import { styles } from "./URefBlock.styles.js";
|
|
5
5
|
import { html } from "lit";
|
|
@@ -15,6 +15,9 @@ var styles = css`
|
|
|
15
15
|
align-items: center;
|
|
16
16
|
justify-content: space-between;
|
|
17
17
|
gap: 0.5em;
|
|
18
|
+
/* 호스트 하한(--u-target-size, 미설정 = 0). */
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
min-height: var(--u-target-size, 0px);
|
|
18
21
|
color: var(--u-txt-color-strong);
|
|
19
22
|
user-select: none;
|
|
20
23
|
cursor: pointer;
|
|
@@ -30,7 +33,7 @@ var styles = css`
|
|
|
30
33
|
u-icon {
|
|
31
34
|
color: inherit;
|
|
32
35
|
font-size: 1em;
|
|
33
|
-
transition: transform
|
|
36
|
+
transition: transform var(--u-duration-normal, 220ms) ease-in-out;
|
|
34
37
|
}
|
|
35
38
|
u-icon[collapsed] {
|
|
36
39
|
transform: rotate(-90deg);
|
|
@@ -61,7 +64,7 @@ var styles = css`
|
|
|
61
64
|
flex-direction: column;
|
|
62
65
|
gap: 0.75em;
|
|
63
66
|
margin-top: 0.75em;
|
|
64
|
-
transition: all
|
|
67
|
+
transition: all var(--u-duration-slow, 320ms) ease-in-out;
|
|
65
68
|
}
|
|
66
69
|
.body[collapsed] {
|
|
67
70
|
height: 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../utilities/icons.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
4
4
|
import { UDataElement } from "../UDataElement.js";
|
|
5
5
|
import { messages } from "../../utilities/messages.js";
|
|
6
6
|
import { styles } from "./UTableBlock.styles.js";
|
|
@@ -99,6 +99,7 @@ var styles = css`
|
|
|
99
99
|
align-items: center;
|
|
100
100
|
inline-size: 100%;
|
|
101
101
|
padding: 8px 12px;
|
|
102
|
+
min-block-size: var(--u-target-size, 0px);
|
|
102
103
|
font: inherit;
|
|
103
104
|
color: inherit;
|
|
104
105
|
cursor: pointer;
|
|
@@ -127,7 +128,7 @@ var styles = css`
|
|
|
127
128
|
margin-left: 4px;
|
|
128
129
|
font-size: 12px;
|
|
129
130
|
opacity: 0.3;
|
|
130
|
-
transition: opacity
|
|
131
|
+
transition: opacity var(--u-duration-fast, 140ms);
|
|
131
132
|
}
|
|
132
133
|
|
|
133
134
|
tbody tr {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
3
3
|
import { styles } from "./UTextBlock.styles.js";
|
|
4
4
|
import { html } from "lit";
|
|
5
5
|
import { customElement, property, query } from "lit/decorators.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
3
3
|
import { styles } from "./UMessage.styles.js";
|
|
4
4
|
import { html } from "lit";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../utilities/icons.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
4
4
|
import { messages } from "../../utilities/messages.js";
|
|
5
5
|
import "../blocks/UFileBlock.js";
|
|
6
6
|
import { styles } from "./UPrompt.styles.js";
|
|
@@ -70,6 +70,14 @@ var styles = css`
|
|
|
70
70
|
border-radius: 50%;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
/* 동작 줄이기 — 흐르는 테두리를 멈춘다. 색 띠는 그대로 남아 «응답 중» 은 계속 보인다(메시지의 점 로더와 같은 처리). */
|
|
74
|
+
@media (prefers-reduced-motion: reduce) {
|
|
75
|
+
:host([loading])::before {
|
|
76
|
+
animation: none;
|
|
77
|
+
background-position: 50% 0;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
73
81
|
@keyframes border-shimmer {
|
|
74
82
|
0% { background-position: 100% 0; }
|
|
75
83
|
100% { background-position: 0% 0; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../utilities/icons.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
4
4
|
import { sanitizeHref } from "../../utilities/sanitizers.js";
|
|
5
5
|
import { UDataElement } from "../UDataElement.js";
|
|
6
6
|
import { messages } from "../../utilities/messages.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
3
3
|
import { messages } from "../../utilities/messages.js";
|
|
4
4
|
import { URefCard } from "./URefCard.js";
|
|
5
5
|
import { styles } from "./URefCardGroup.styles.js";
|
|
@@ -36,8 +36,8 @@ var styles = css`
|
|
|
36
36
|
/* WCAG 2.2 SC 2.5.8 — 실측 16x16 이라 포인터 타깃이 모자랐다. 배경도 테두리도 없는
|
|
37
37
|
아이콘 버튼이라 상자를 키워도 **보이는 것은 그대로**다: 아이콘 치수는 위 font-size 가
|
|
38
38
|
정하고 여기서 늘어나는 것은 잡히는 영역뿐이다. */
|
|
39
|
-
min-inline-size: 24px;
|
|
40
|
-
min-block-size: 24px;
|
|
39
|
+
min-inline-size: max(24px, var(--u-target-size, 0px));
|
|
40
|
+
min-block-size: max(24px, var(--u-target-size, 0px));
|
|
41
41
|
}
|
|
42
42
|
.nav-button:hover u-icon {
|
|
43
43
|
opacity: 0.6;
|
|
@@ -61,7 +61,7 @@ var styles = css`
|
|
|
61
61
|
flex-direction: row;
|
|
62
62
|
width: 100%;
|
|
63
63
|
will-change: transform;
|
|
64
|
-
transition: transform
|
|
64
|
+
transition: transform var(--u-duration-normal, 220ms) ease;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/* slot 안의 각 카드가 한 페이지(100%)를 차지하도록 */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../utilities/icons.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
4
4
|
import { sanitizeHref } from "../../utilities/sanitizers.js";
|
|
5
5
|
import { messages } from "../../utilities/messages.js";
|
|
6
6
|
import { styles } from "./URefTag.styles.js";
|
|
@@ -12,7 +12,7 @@ var styles = css`
|
|
|
12
12
|
border-radius: 9999px;
|
|
13
13
|
background-color: var(--u-neutral-100);
|
|
14
14
|
padding: 2px 6px;
|
|
15
|
-
transition: background-color
|
|
15
|
+
transition: background-color var(--u-duration-normal, 220ms) ease-in-out;
|
|
16
16
|
cursor: pointer;
|
|
17
17
|
}
|
|
18
18
|
:host(:hover) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../utilities/icons.js";
|
|
2
|
-
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
4
4
|
import { registerElementBlock } from "../utilities/ElementRegistry.js";
|
|
5
5
|
import { messages } from "../utilities/messages.js";
|
|
6
6
|
import { styles } from "./UChartBlock.styles.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
3
3
|
import { registerElementBlock } from "../utilities/ElementRegistry.js";
|
|
4
4
|
import { messages } from "../utilities/messages.js";
|
|
5
5
|
import { resolveImageSource } from "../utilities/imageSources.js";
|
|
@@ -33,7 +33,7 @@ var styles = css`
|
|
|
33
33
|
height: 100%;
|
|
34
34
|
object-fit: cover;
|
|
35
35
|
pointer-events: none;
|
|
36
|
-
transition: transform
|
|
36
|
+
transition: transform var(--u-duration-slow, 320ms) ease, filter var(--u-duration-slow, 320ms) ease;
|
|
37
37
|
}
|
|
38
38
|
.slide:hover img {
|
|
39
39
|
transform: scale(1.05);
|
|
@@ -75,7 +75,7 @@ var styles = css`
|
|
|
75
75
|
display: flex;
|
|
76
76
|
flex-direction: column;
|
|
77
77
|
background: rgba(0, 0, 0, 0.92);
|
|
78
|
-
animation: overlay-fadeIn
|
|
78
|
+
animation: overlay-fadeIn var(--u-duration-normal, 220ms) ease;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/* 상단 헤더: 카운터(중앙) + 닫기(우측) */
|
|
@@ -103,8 +103,9 @@ var styles = css`
|
|
|
103
103
|
right: 16px;
|
|
104
104
|
top: 50%;
|
|
105
105
|
transform: translateY(-50%);
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
/* 호스트 하한(--u-target-size)이 더 크면 그 값. */
|
|
107
|
+
width: max(36px, var(--u-target-size, 0px));
|
|
108
|
+
height: max(36px, var(--u-target-size, 0px));
|
|
108
109
|
border: none;
|
|
109
110
|
border-radius: 12px;
|
|
110
111
|
background: transparent;
|
|
@@ -112,7 +113,7 @@ var styles = css`
|
|
|
112
113
|
align-items: center;
|
|
113
114
|
justify-content: center;
|
|
114
115
|
cursor: pointer;
|
|
115
|
-
transition: background
|
|
116
|
+
transition: background var(--u-duration-normal, 220ms);
|
|
116
117
|
}
|
|
117
118
|
.lb-close:hover {
|
|
118
119
|
background: rgba(255, 255, 255, 0.18);
|
|
@@ -147,7 +148,7 @@ var styles = css`
|
|
|
147
148
|
flex-direction: row;
|
|
148
149
|
align-items: center;
|
|
149
150
|
gap: 16px;
|
|
150
|
-
transition: transform
|
|
151
|
+
transition: transform var(--u-duration-slow, 320ms) cubic-bezier(0.25, 0.1, 0.25, 1);
|
|
151
152
|
will-change: transform;
|
|
152
153
|
}
|
|
153
154
|
|
|
@@ -159,7 +160,7 @@ var styles = css`
|
|
|
159
160
|
justify-content: center;
|
|
160
161
|
opacity: 0.5;
|
|
161
162
|
transform: scale(0.9);
|
|
162
|
-
transition: opacity
|
|
163
|
+
transition: opacity var(--u-duration-slow, 320ms) ease, transform var(--u-duration-slow, 320ms) ease;
|
|
163
164
|
}
|
|
164
165
|
.lb-slide[active] {
|
|
165
166
|
opacity: 1;
|
|
@@ -192,7 +193,7 @@ var styles = css`
|
|
|
192
193
|
align-items: center;
|
|
193
194
|
justify-content: center;
|
|
194
195
|
cursor: pointer;
|
|
195
|
-
transition: background
|
|
196
|
+
transition: background var(--u-duration-normal, 220ms);
|
|
196
197
|
}
|
|
197
198
|
.lb-nav.prev {
|
|
198
199
|
left: 0;
|
|
@@ -218,7 +219,7 @@ var styles = css`
|
|
|
218
219
|
padding: 12px;
|
|
219
220
|
border-radius: 50%;
|
|
220
221
|
background: rgba(255, 255, 255, 0.15);
|
|
221
|
-
transition: background
|
|
222
|
+
transition: background var(--u-duration-normal, 220ms), transform var(--u-duration-fast, 140ms);
|
|
222
223
|
}
|
|
223
224
|
.lb-nav:hover u-icon {
|
|
224
225
|
background: rgba(255, 255, 255, 0.3);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
3
3
|
import { registerElementBlock } from "../utilities/ElementRegistry.js";
|
|
4
4
|
import { messages } from "../utilities/messages.js";
|
|
5
5
|
import { styles } from "./UMapBlock.styles.js";
|
|
@@ -37,6 +37,10 @@ var styles = css`
|
|
|
37
37
|
flex-direction: column;
|
|
38
38
|
gap: 0.25em;
|
|
39
39
|
padding: 0.25em 0.5em;
|
|
40
|
+
/* 호스트 하한(--u-target-size, 미설정 = 0) — 상자는 border-box(기반 스타일)라 여백을 포함한다. */
|
|
41
|
+
min-height: var(--u-target-size, 0px);
|
|
42
|
+
min-width: var(--u-target-size, 0px);
|
|
43
|
+
justify-content: center;
|
|
40
44
|
color: #fff;
|
|
41
45
|
background: rgba(0, 0, 0, 0.6);
|
|
42
46
|
border-radius: 6px;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
3
3
|
import { sanitizeHref } from "../utilities/sanitizers.js";
|
|
4
4
|
import { registerElementBlock } from "../utilities/ElementRegistry.js";
|
|
5
5
|
import { styles } from "./UVideoBlock.styles.js";
|
|
@@ -26276,7 +26276,7 @@ var renderToHTMLTree = function renderToHTMLTree(expression, options) {
|
|
|
26276
26276
|
return renderError(error, expression, settings);
|
|
26277
26277
|
}
|
|
26278
26278
|
};
|
|
26279
|
-
var version = "0.18.
|
|
26279
|
+
var version = "0.18.10";
|
|
26280
26280
|
var __domTree = {
|
|
26281
26281
|
Span,
|
|
26282
26282
|
Anchor,
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UCodeBlock as UCodeBlockElement } from '@iyulab/chat-components/dist/components/blocks/UCodeBlock.js';
|
|
3
3
|
|
|
4
|
+
type UCodeBlockOwnProps = Omit<UCodeBlockElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UCodeBlock: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UCodeBlockElement>, never>
|
|
7
|
+
Partial<Omit<UCodeBlockElement, Exclude<keyof React.HTMLAttributes<UCodeBlockElement>, keyof UCodeBlockOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UCodeBlockElement>, keyof UCodeBlockOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UCodeBlockElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UElementBlock as UElementBlockElement } from '@iyulab/chat-components/dist/components/blocks/UElementBlock.js';
|
|
3
3
|
|
|
4
|
+
type UElementBlockOwnProps = Omit<UElementBlockElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UElementBlock: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UElementBlockElement>, never>
|
|
7
|
+
Partial<Omit<UElementBlockElement, Exclude<keyof React.HTMLAttributes<UElementBlockElement>, keyof UElementBlockOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UElementBlockElement>, keyof UElementBlockOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UElementBlockElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UFileBlock as UFileBlockElement } from '@iyulab/chat-components/dist/components/blocks/UFileBlock.js';
|
|
3
3
|
|
|
4
|
+
type UFileBlockOwnProps = Omit<UFileBlockElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UFileBlock: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UFileBlockElement>, 'onRemove'>
|
|
7
|
+
Partial<Omit<UFileBlockElement, Exclude<keyof React.HTMLAttributes<UFileBlockElement>, keyof UFileBlockOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UFileBlockElement>, keyof UFileBlockOwnProps | 'onRemove'>
|
|
7
9
|
& React.RefAttributes<UFileBlockElement>
|
|
8
10
|
& {
|
|
9
11
|
onRemove?: (event: CustomEvent<RemoveEventDetail>) => void;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UImagesBlock as UImagesBlockElement } from '@iyulab/chat-components/dist/components-extra/UImagesBlock.js';
|
|
3
3
|
|
|
4
|
+
type UImagesBlockOwnProps = Omit<UImagesBlockElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UImagesBlock: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UImagesBlockElement>, never>
|
|
7
|
+
Partial<Omit<UImagesBlockElement, Exclude<keyof React.HTMLAttributes<UImagesBlockElement>, keyof UImagesBlockOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UImagesBlockElement>, keyof UImagesBlockOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UImagesBlockElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UMapBlock as UMapBlockElement } from '@iyulab/chat-components/dist/components-extra/UMapBlock.js';
|
|
3
3
|
|
|
4
|
+
type UMapBlockOwnProps = Omit<UMapBlockElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UMapBlock: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UMapBlockElement>, never>
|
|
7
|
+
Partial<Omit<UMapBlockElement, Exclude<keyof React.HTMLAttributes<UMapBlockElement>, keyof UMapBlockOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UMapBlockElement>, keyof UMapBlockOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UMapBlockElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UMarkedBlock as UMarkedBlockElement } from '@iyulab/chat-components/dist/components/blocks/UMarkedBlock.js';
|
|
3
3
|
|
|
4
|
+
type UMarkedBlockOwnProps = Omit<UMarkedBlockElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UMarkedBlock: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UMarkedBlockElement>, never>
|
|
7
|
+
Partial<Omit<UMarkedBlockElement, Exclude<keyof React.HTMLAttributes<UMarkedBlockElement>, keyof UMarkedBlockOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UMarkedBlockElement>, keyof UMarkedBlockOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UMarkedBlockElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
package/dist/react/UMessage.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UMessage as UMessageElement } from '@iyulab/chat-components/dist/components/message/UMessage.js';
|
|
3
3
|
|
|
4
|
+
type UMessageOwnProps = Omit<UMessageElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UMessage: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UMessageElement>, never>
|
|
7
|
+
Partial<Omit<UMessageElement, Exclude<keyof React.HTMLAttributes<UMessageElement>, keyof UMessageOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UMessageElement>, keyof UMessageOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UMessageElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
package/dist/react/UPrompt.d.ts
CHANGED
|
@@ -3,9 +3,11 @@ import { UPrompt as UPromptElement } from '@iyulab/chat-components/dist/componen
|
|
|
3
3
|
import { type StopEventDetail } from '@iyulab/chat-components/dist/events/StopEvent.js';
|
|
4
4
|
import { type SendEventDetail } from '@iyulab/chat-components/dist/events/SendEvent.js';
|
|
5
5
|
|
|
6
|
+
type UPromptOwnProps = Omit<UPromptElement, keyof HTMLElement>;
|
|
7
|
+
|
|
6
8
|
export declare const UPrompt: React.ForwardRefExoticComponent<
|
|
7
|
-
Omit<
|
|
8
|
-
& Omit<React.HTMLAttributes<UPromptElement>, 'onStop' | 'onSend'>
|
|
9
|
+
Partial<Omit<UPromptElement, Exclude<keyof React.HTMLAttributes<UPromptElement>, keyof UPromptOwnProps>>>
|
|
10
|
+
& Omit<React.HTMLAttributes<UPromptElement>, keyof UPromptOwnProps | 'onStop' | 'onSend'>
|
|
9
11
|
& React.RefAttributes<UPromptElement>
|
|
10
12
|
& {
|
|
11
13
|
onStop?: (event: CustomEvent<StopEventDetail>) => void;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { URefBlock as URefBlockElement } from '@iyulab/chat-components/dist/components/blocks/URefBlock.js';
|
|
3
3
|
|
|
4
|
+
type URefBlockOwnProps = Omit<URefBlockElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const URefBlock: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<URefBlockElement>, never>
|
|
7
|
+
Partial<Omit<URefBlockElement, Exclude<keyof React.HTMLAttributes<URefBlockElement>, keyof URefBlockOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<URefBlockElement>, keyof URefBlockOwnProps | never>
|
|
7
9
|
& React.RefAttributes<URefBlockElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
package/dist/react/URefCard.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { URefCard as URefCardElement } from '@iyulab/chat-components/dist/components/references/URefCard.js';
|
|
3
3
|
|
|
4
|
+
type URefCardOwnProps = Omit<URefCardElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const URefCard: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<URefCardElement>, never>
|
|
7
|
+
Partial<Omit<URefCardElement, Exclude<keyof React.HTMLAttributes<URefCardElement>, keyof URefCardOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<URefCardElement>, keyof URefCardOwnProps | never>
|
|
7
9
|
& React.RefAttributes<URefCardElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { URefCardGroup as URefCardGroupElement } from '@iyulab/chat-components/dist/components/references/URefCardGroup.js';
|
|
3
3
|
|
|
4
|
+
type URefCardGroupOwnProps = Omit<URefCardGroupElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const URefCardGroup: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<URefCardGroupElement>, never>
|
|
7
|
+
Partial<Omit<URefCardGroupElement, Exclude<keyof React.HTMLAttributes<URefCardGroupElement>, keyof URefCardGroupOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<URefCardGroupElement>, keyof URefCardGroupOwnProps | never>
|
|
7
9
|
& React.RefAttributes<URefCardGroupElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
package/dist/react/URefTag.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { URefTag as URefTagElement } from '@iyulab/chat-components/dist/components/references/URefTag.js';
|
|
3
3
|
|
|
4
|
+
type URefTagOwnProps = Omit<URefTagElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const URefTag: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<URefTagElement>, never>
|
|
7
|
+
Partial<Omit<URefTagElement, Exclude<keyof React.HTMLAttributes<URefTagElement>, keyof URefTagOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<URefTagElement>, keyof URefTagOwnProps | never>
|
|
7
9
|
& React.RefAttributes<URefTagElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UTableBlock as UTableBlockElement } from '@iyulab/chat-components/dist/components/blocks/UTableBlock.js';
|
|
3
3
|
|
|
4
|
+
type UTableBlockOwnProps = Omit<UTableBlockElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UTableBlock: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UTableBlockElement>, never>
|
|
7
|
+
Partial<Omit<UTableBlockElement, Exclude<keyof React.HTMLAttributes<UTableBlockElement>, keyof UTableBlockOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UTableBlockElement>, keyof UTableBlockOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UTableBlockElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UTextBlock as UTextBlockElement } from '@iyulab/chat-components/dist/components/blocks/UTextBlock.js';
|
|
3
3
|
|
|
4
|
+
type UTextBlockOwnProps = Omit<UTextBlockElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UTextBlock: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UTextBlockElement>, 'onInput'>
|
|
7
|
+
Partial<Omit<UTextBlockElement, Exclude<keyof React.HTMLAttributes<UTextBlockElement>, keyof UTextBlockOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UTextBlockElement>, keyof UTextBlockOwnProps | 'onInput'>
|
|
7
9
|
& React.RefAttributes<UTextBlockElement>
|
|
8
10
|
& {
|
|
9
11
|
onInput?: (event: CustomEvent) => void;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UVideoBlock as UVideoBlockElement } from '@iyulab/chat-components/dist/components-extra/UVideoBlock.js';
|
|
3
3
|
|
|
4
|
+
type UVideoBlockOwnProps = Omit<UVideoBlockElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UVideoBlock: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UVideoBlockElement>, never>
|
|
7
|
+
Partial<Omit<UVideoBlockElement, Exclude<keyof React.HTMLAttributes<UVideoBlockElement>, keyof UVideoBlockOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UVideoBlockElement>, keyof UVideoBlockOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UVideoBlockElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
package/package.json
CHANGED