@transcodes/ui-components 0.4.4 → 0.4.5
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
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.4.5] - 2025-12-23
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **tc-success-screen**: 아이콘 배경색 복구 (`background: var(--alpha-primary10)`)
|
|
13
|
+
|
|
8
14
|
## [0.4.4] - 2025-12-23
|
|
9
15
|
|
|
10
16
|
### Added
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tc-success-screen.d.ts","sourceRoot":"","sources":["../../src/screens/tc-success-screen.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAI5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,0BAA0B,CAAC;AAClC,OAAO,0BAA0B,CAAC;AAClC,OAAO,4BAA4B,CAAC;AACpC,OAAO,+BAA+B,CAAC;AACvC,OAAO,6BAA6B,CAAC;AAErC;;;;;;;;;;GAUG;AACH,qBACa,eAAgB,SAAQ,UAAU;IACjB,KAAK,SAAc;IACnB,OAAO,SACS;IACW,WAAW,SAAM;IAChB,WAAW,UAAQ;IAC/C,EAAE,EAAE,OAAO,CAAM;IAEpC,OAAO,CAAC,UAAU,CAAS;IAEpC,OAAO,CAAC,SAAS,CAGd;IAEH,OAAgB,MAAM,
|
|
1
|
+
{"version":3,"file":"tc-success-screen.d.ts","sourceRoot":"","sources":["../../src/screens/tc-success-screen.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAI5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,0BAA0B,CAAC;AAClC,OAAO,0BAA0B,CAAC;AAClC,OAAO,4BAA4B,CAAC;AACpC,OAAO,+BAA+B,CAAC;AACvC,OAAO,6BAA6B,CAAC;AAErC;;;;;;;;;;GAUG;AACH,qBACa,eAAgB,SAAQ,UAAU;IACjB,KAAK,SAAc;IACnB,OAAO,SACS;IACW,WAAW,SAAM;IAChB,WAAW,UAAQ;IAC/C,EAAE,EAAE,OAAO,CAAM;IAEpC,OAAO,CAAC,UAAU,CAAS;IAEpC,OAAO,CAAC,SAAS,CAGd;IAEH,OAAgB,MAAM,0BAmGpB;IAEO,iBAAiB;IASpB,aAAa;IAKnB,OAAO,CAAC,YAAY;IASX,MAAM;CA4ChB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,eAAe,CAAC;KACtC;CACF"}
|
|
@@ -7,9 +7,9 @@ import "../primitives/tc-text.js";
|
|
|
7
7
|
import "../primitives/tc-button.js";
|
|
8
8
|
import "../primitives/tc-container.js";
|
|
9
9
|
import "../primitives/tc-section.js";
|
|
10
|
-
var g = Object.defineProperty, v = Object.getOwnPropertyDescriptor,
|
|
11
|
-
for (var e = r > 1 ? void 0 : r ? v(n, o) : n, c =
|
|
12
|
-
(l =
|
|
10
|
+
var g = Object.defineProperty, v = Object.getOwnPropertyDescriptor, a = (i, n, o, r) => {
|
|
11
|
+
for (var e = r > 1 ? void 0 : r ? v(n, o) : n, c = i.length - 1, l; c >= 0; c--)
|
|
12
|
+
(l = i[c]) && (e = (r ? l(n, o, e) : l(e)) || e);
|
|
13
13
|
return r && e && g(n, o, e), e;
|
|
14
14
|
};
|
|
15
15
|
let t = class extends d {
|
|
@@ -36,12 +36,12 @@ let t = class extends d {
|
|
|
36
36
|
);
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
const
|
|
39
|
+
const i = this.isAnimated ? "animated" : "";
|
|
40
40
|
return m`
|
|
41
41
|
<div part="screen" class="screen" style=${y(this.sx)}>
|
|
42
42
|
<tc-container>
|
|
43
43
|
<div part="content" class="content">
|
|
44
|
-
<div part="icon" class="icon-container ${
|
|
44
|
+
<div part="icon" class="icon-container ${i}">
|
|
45
45
|
<svg
|
|
46
46
|
class="checkmark"
|
|
47
47
|
viewBox="0 0 24 24"
|
|
@@ -54,7 +54,7 @@ let t = class extends d {
|
|
|
54
54
|
<polyline points="20 6 9 17 4 12"></polyline>
|
|
55
55
|
</svg>
|
|
56
56
|
</div>
|
|
57
|
-
<tc-section .sx=${{ gap: "var(--space-sm)" }} class="text-content ${
|
|
57
|
+
<tc-section .sx=${{ gap: "var(--space-sm)" }} class="text-content ${i}">
|
|
58
58
|
<tc-text part="title" tag="h1" size="xl" weight="600" class="title">
|
|
59
59
|
${this.title}
|
|
60
60
|
</tc-text>
|
|
@@ -63,7 +63,7 @@ let t = class extends d {
|
|
|
63
63
|
</tc-text>
|
|
64
64
|
</tc-section>
|
|
65
65
|
${this.actionLabel ? m`
|
|
66
|
-
<div part="action" class="action ${
|
|
66
|
+
<div part="action" class="action ${i}">
|
|
67
67
|
<tc-button variant="primary" @tc-click=${this.handleAction}>
|
|
68
68
|
${this.actionLabel}
|
|
69
69
|
</tc-button>
|
|
@@ -110,6 +110,7 @@ t.styles = p`
|
|
|
110
110
|
align-items: center;
|
|
111
111
|
justify-content: center;
|
|
112
112
|
padding: var(--space-md);
|
|
113
|
+
background: var(--alpha-primary10);
|
|
113
114
|
border-radius: var(--radius-full);
|
|
114
115
|
color: var(--accent-primary);
|
|
115
116
|
transform: scale(0);
|
|
@@ -174,25 +175,25 @@ t.styles = p`
|
|
|
174
175
|
transform: translateY(0);
|
|
175
176
|
}
|
|
176
177
|
`;
|
|
177
|
-
|
|
178
|
+
a([
|
|
178
179
|
s({ type: String })
|
|
179
180
|
], t.prototype, "title", 2);
|
|
180
|
-
|
|
181
|
+
a([
|
|
181
182
|
s({ type: String })
|
|
182
183
|
], t.prototype, "message", 2);
|
|
183
|
-
|
|
184
|
+
a([
|
|
184
185
|
s({ type: String, attribute: "action-label" })
|
|
185
186
|
], t.prototype, "actionLabel", 2);
|
|
186
|
-
|
|
187
|
+
a([
|
|
187
188
|
s({ type: Boolean, attribute: "auto-animate" })
|
|
188
189
|
], t.prototype, "autoAnimate", 2);
|
|
189
|
-
|
|
190
|
+
a([
|
|
190
191
|
s({ type: Object })
|
|
191
192
|
], t.prototype, "sx", 2);
|
|
192
|
-
|
|
193
|
+
a([
|
|
193
194
|
h()
|
|
194
195
|
], t.prototype, "isAnimated", 2);
|
|
195
|
-
t =
|
|
196
|
+
t = a([
|
|
196
197
|
u("tc-success-screen")
|
|
197
198
|
], t);
|
|
198
199
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@transcodes/ui-components",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Lit 3.x component library with Reactive Controllers",
|
|
6
6
|
"keywords": [
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"lit": "^3.0.0"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@transcodes/design-tokens": "^0.4.
|
|
78
|
+
"@transcodes/design-tokens": "^0.4.5"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@storybook/addon-a11y": "^10.1.9",
|