@transcodes/ui-components 0.3.5 → 0.3.6
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 +27 -0
- package/dist/controllers/index.d.ts +0 -2
- package/dist/controllers/index.d.ts.map +1 -1
- package/dist/controllers/index.js +10 -12
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +48 -64
- package/dist/primitives/index.d.ts +1 -0
- package/dist/primitives/index.d.ts.map +1 -1
- package/dist/primitives/index.js +18 -16
- package/dist/primitives/tc-box.js +4 -4
- package/dist/primitives/tc-button.d.ts.map +1 -1
- package/dist/primitives/tc-button.js +21 -20
- package/dist/primitives/tc-callout.d.ts.map +1 -1
- package/dist/primitives/tc-callout.js +5 -4
- package/dist/primitives/tc-card.d.ts.map +1 -1
- package/dist/primitives/tc-card.js +11 -10
- package/dist/primitives/tc-chip.d.ts.map +1 -1
- package/dist/primitives/tc-chip.js +18 -16
- package/dist/primitives/tc-container.d.ts.map +1 -1
- package/dist/primitives/tc-container.js +12 -10
- package/dist/primitives/tc-divider.d.ts.map +1 -1
- package/dist/primitives/tc-divider.js +4 -3
- package/dist/primitives/tc-error-message.d.ts.map +1 -1
- package/dist/primitives/tc-error-message.js +13 -9
- package/dist/primitives/tc-form-header.d.ts.map +1 -1
- package/dist/primitives/tc-form-header.js +9 -7
- package/dist/primitives/tc-icon.js +3 -3
- package/dist/primitives/tc-input-with-chip.d.ts.map +1 -1
- package/dist/primitives/tc-input-with-chip.js +12 -8
- package/dist/primitives/tc-input.d.ts.map +1 -1
- package/dist/primitives/tc-input.js +11 -9
- package/dist/primitives/tc-item-button.d.ts.map +1 -1
- package/dist/primitives/tc-item-button.js +18 -17
- package/dist/primitives/tc-item.d.ts.map +1 -1
- package/dist/primitives/tc-item.js +13 -12
- package/dist/primitives/tc-otp-input.d.ts.map +1 -1
- package/dist/primitives/tc-otp-input.js +6 -4
- package/dist/primitives/tc-page-decoration.d.ts.map +1 -0
- package/dist/{widgets → primitives}/tc-page-decoration.js +8 -8
- package/dist/primitives/tc-section.d.ts.map +1 -1
- package/dist/primitives/tc-section.js +15 -13
- package/dist/primitives/tc-spinner.js +17 -17
- package/dist/primitives/tc-symbol.d.ts.map +1 -1
- package/dist/primitives/tc-symbol.js +15 -13
- package/dist/primitives/tc-text.js +3 -3
- package/dist/primitives/tc-toast.js +3 -3
- package/dist/screens/tc-error-screen.d.ts +6 -1
- package/dist/screens/tc-error-screen.d.ts.map +1 -1
- package/dist/screens/tc-error-screen.js +84 -29
- package/dist/screens/tc-loading-screen.d.ts +1 -1
- package/dist/screens/tc-loading-screen.d.ts.map +1 -1
- package/dist/screens/tc-loading-screen.js +16 -11
- package/dist/screens/tc-success-screen.d.ts.map +1 -1
- package/dist/screens/tc-success-screen.js +19 -13
- package/package.json +13 -13
- package/dist/controllers/form-validation.controller.d.ts +0 -48
- package/dist/controllers/form-validation.controller.d.ts.map +0 -1
- package/dist/controllers/form-validation.controller.js +0 -49
- package/dist/widgets/index.d.ts +0 -9
- package/dist/widgets/index.d.ts.map +0 -1
- package/dist/widgets/index.js +0 -18
- package/dist/widgets/tc-authenticator-card.d.ts +0 -35
- package/dist/widgets/tc-authenticator-card.d.ts.map +0 -1
- package/dist/widgets/tc-authenticator-card.js +0 -213
- package/dist/widgets/tc-floating-button.d.ts +0 -25
- package/dist/widgets/tc-floating-button.d.ts.map +0 -1
- package/dist/widgets/tc-floating-button.js +0 -132
- package/dist/widgets/tc-iframe-modal.d.ts +0 -43
- package/dist/widgets/tc-iframe-modal.d.ts.map +0 -1
- package/dist/widgets/tc-iframe-modal.js +0 -263
- package/dist/widgets/tc-installation-banner.d.ts +0 -42
- package/dist/widgets/tc-installation-banner.d.ts.map +0 -1
- package/dist/widgets/tc-installation-banner.js +0 -234
- package/dist/widgets/tc-ios-installation-guide.d.ts +0 -34
- package/dist/widgets/tc-ios-installation-guide.d.ts.map +0 -1
- package/dist/widgets/tc-ios-installation-guide.js +0 -240
- package/dist/widgets/tc-notification-modal.d.ts +0 -42
- package/dist/widgets/tc-notification-modal.d.ts.map +0 -1
- package/dist/widgets/tc-notification-modal.js +0 -230
- package/dist/widgets/tc-offline-modal.d.ts +0 -39
- package/dist/widgets/tc-offline-modal.d.ts.map +0 -1
- package/dist/widgets/tc-offline-modal.js +0 -202
- package/dist/widgets/tc-page-decoration.d.ts.map +0 -1
- /package/dist/{widgets → primitives}/tc-page-decoration.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,33 @@ 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.3.6] - 2025-12-17
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- CSS 토큰 활용 강화: 하드코딩된 값을 design-tokens CSS 변수로 교체
|
|
13
|
+
- tc-error-screen, tc-success-screen: 애니메이션 오프셋 토큰화
|
|
14
|
+
- tc-input, tc-input-with-chip: focus ring, slideDown 애니메이션 토큰화
|
|
15
|
+
- tc-item-button, tc-error-message: 아이콘 크기 토큰화
|
|
16
|
+
- tc-page-decoration, tc-spinner: `border-radius: 50%` → `var(--radius-full)`
|
|
17
|
+
- `:host` 스타일 일관성 통일 및 reset.css 통합
|
|
18
|
+
- Storybook 설정 역할 분리 및 중복 제거
|
|
19
|
+
|
|
20
|
+
### Removed
|
|
21
|
+
|
|
22
|
+
- **widgets 레이어 제거**: 미사용 복합 컴포넌트 삭제
|
|
23
|
+
- tc-authenticator-card, tc-floating-button, tc-iframe-modal
|
|
24
|
+
- tc-installation-banner, tc-ios-installation-guide
|
|
25
|
+
- tc-notification-modal, tc-offline-modal
|
|
26
|
+
- FormValidationController 제거 (미사용)
|
|
27
|
+
- 컨트롤러 Storybook 스토리 제거 (내부 구현 세부사항)
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- Storybook: sideEffects, storybookAliases, isStorybook 감지 로직 수정
|
|
32
|
+
|
|
33
|
+
**Note**: 이 버전은 `@transcodes/design-tokens@^0.3.6`과 함께 사용해야 합니다.
|
|
34
|
+
|
|
8
35
|
## [0.3.5] - 2025-12-11
|
|
9
36
|
|
|
10
37
|
### Fixed
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export type { AnimationControllerOptions, AnimationState, } from './animation.controller.js';
|
|
2
2
|
export { AnimationController } from './animation.controller.js';
|
|
3
3
|
export { BaseController } from './base.controller.js';
|
|
4
|
-
export type { ValidationRule, ValidationType, } from './form-validation.controller.js';
|
|
5
|
-
export { FormValidationController } from './form-validation.controller.js';
|
|
6
4
|
export { HistoryController } from './history.controller.js';
|
|
7
5
|
export { LoadingController } from './loading.controller.js';
|
|
8
6
|
export { MatchMediaController } from './match-media.controller.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/controllers/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,0BAA0B,EAC1B,cAAc,GACf,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/controllers/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,0BAA0B,EAC1B,cAAc,GACf,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { AnimationController as e } from "./animation.controller.js";
|
|
2
2
|
import { BaseController as l } from "./base.controller.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { StorageController as M } from "./storage.controller.js";
|
|
3
|
+
import { HistoryController as m } from "./history.controller.js";
|
|
4
|
+
import { LoadingController as f } from "./loading.controller.js";
|
|
5
|
+
import { MatchMediaController as x } from "./match-media.controller.js";
|
|
6
|
+
import { MessageBusController as i } from "./message-bus.controller.js";
|
|
7
|
+
import { StorageController as g } from "./storage.controller.js";
|
|
9
8
|
export {
|
|
10
9
|
e as AnimationController,
|
|
11
10
|
l as BaseController,
|
|
12
|
-
m as
|
|
13
|
-
f as
|
|
14
|
-
x as
|
|
15
|
-
i as
|
|
16
|
-
|
|
17
|
-
M as StorageController
|
|
11
|
+
m as HistoryController,
|
|
12
|
+
f as LoadingController,
|
|
13
|
+
x as MatchMediaController,
|
|
14
|
+
i as MessageBusController,
|
|
15
|
+
g as StorageController
|
|
18
16
|
};
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,wBAAwB,CAAC;AAGvC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,oBAAoB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,wBAAwB,CAAC;AAGvC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,oBAAoB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,80 +1,64 @@
|
|
|
1
|
-
import { AnimationController as
|
|
2
|
-
import { BaseController as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { TcChip as A } from "./primitives/tc-chip.js";
|
|
1
|
+
import { AnimationController as e } from "./controllers/animation.controller.js";
|
|
2
|
+
import { BaseController as p } from "./controllers/base.controller.js";
|
|
3
|
+
import { HistoryController as c } from "./controllers/history.controller.js";
|
|
4
|
+
import { LoadingController as f } from "./controllers/loading.controller.js";
|
|
5
|
+
import { MatchMediaController as T } from "./controllers/match-media.controller.js";
|
|
6
|
+
import { MessageBusController as a } from "./controllers/message-bus.controller.js";
|
|
7
|
+
import { StorageController as C } from "./controllers/storage.controller.js";
|
|
8
|
+
import { TcBox as u } from "./primitives/tc-box.js";
|
|
9
|
+
import { TcButton as d } from "./primitives/tc-button.js";
|
|
10
|
+
import { TcCallout as I } from "./primitives/tc-callout.js";
|
|
11
|
+
import { TcCard as h } from "./primitives/tc-card.js";
|
|
12
|
+
import { TcChip as y } from "./primitives/tc-chip.js";
|
|
14
13
|
import { TcContainer as E } from "./primitives/tc-container.js";
|
|
15
14
|
import { TcDivider as L } from "./primitives/tc-divider.js";
|
|
16
|
-
import { TcErrorMessage as
|
|
17
|
-
import { TcFormHeader as
|
|
15
|
+
import { TcErrorMessage as v } from "./primitives/tc-error-message.js";
|
|
16
|
+
import { TcFormHeader as F } from "./primitives/tc-form-header.js";
|
|
18
17
|
import { TcIcon as P } from "./primitives/tc-icon.js";
|
|
19
|
-
import { TcInput as
|
|
20
|
-
import { TcInputWithChip as
|
|
21
|
-
import { TcItem as
|
|
18
|
+
import { TcInput as j } from "./primitives/tc-input.js";
|
|
19
|
+
import { TcInputWithChip as q } from "./primitives/tc-input-with-chip.js";
|
|
20
|
+
import { TcItem as z } from "./primitives/tc-item.js";
|
|
22
21
|
import { TcItemButton as J } from "./primitives/tc-item-button.js";
|
|
23
|
-
import { TcOtpInput as
|
|
24
|
-
import {
|
|
22
|
+
import { TcOtpInput as N } from "./primitives/tc-otp-input.js";
|
|
23
|
+
import { TcPageDecoration as R } from "./primitives/tc-page-decoration.js";
|
|
24
|
+
import { TcSection as V } from "./primitives/tc-section.js";
|
|
25
25
|
import { TcSpinner as Y } from "./primitives/tc-spinner.js";
|
|
26
26
|
import { TcSymbol as _ } from "./primitives/tc-symbol.js";
|
|
27
27
|
import { TcText as oo } from "./primitives/tc-text.js";
|
|
28
|
-
import { TcToast as
|
|
29
|
-
import { TcErrorScreen as
|
|
30
|
-
import { TcLoadingScreen as
|
|
31
|
-
import { TcSuccessScreen as
|
|
32
|
-
import { TcAuthenticatorCard as To } from "./widgets/tc-authenticator-card.js";
|
|
33
|
-
import { TcFloatingButton as lo } from "./widgets/tc-floating-button.js";
|
|
34
|
-
import { TcIframeModal as Co } from "./widgets/tc-iframe-modal.js";
|
|
35
|
-
import { TcInstallationBanner as uo } from "./widgets/tc-installation-banner.js";
|
|
36
|
-
import { TcIosInstallationGuide as So } from "./widgets/tc-ios-installation-guide.js";
|
|
37
|
-
import { TcNotificationModal as Bo } from "./widgets/tc-notification-modal.js";
|
|
38
|
-
import { TcOfflineModal as ho } from "./widgets/tc-offline-modal.js";
|
|
39
|
-
import { TcPageDecoration as yo } from "./widgets/tc-page-decoration.js";
|
|
28
|
+
import { TcToast as eo } from "./primitives/tc-toast.js";
|
|
29
|
+
import { TcErrorScreen as po } from "./screens/tc-error-screen.js";
|
|
30
|
+
import { TcLoadingScreen as co } from "./screens/tc-loading-screen.js";
|
|
31
|
+
import { TcSuccessScreen as fo } from "./screens/tc-success-screen.js";
|
|
40
32
|
export {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
T as
|
|
46
|
-
|
|
47
|
-
C as
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
I as
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
F as TcCard,
|
|
54
|
-
A as TcChip,
|
|
33
|
+
e as AnimationController,
|
|
34
|
+
p as BaseController,
|
|
35
|
+
c as HistoryController,
|
|
36
|
+
f as LoadingController,
|
|
37
|
+
T as MatchMediaController,
|
|
38
|
+
a as MessageBusController,
|
|
39
|
+
C as StorageController,
|
|
40
|
+
u as TcBox,
|
|
41
|
+
d as TcButton,
|
|
42
|
+
I as TcCallout,
|
|
43
|
+
h as TcCard,
|
|
44
|
+
y as TcChip,
|
|
55
45
|
E as TcContainer,
|
|
56
46
|
L as TcDivider,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
G as TcFormHeader,
|
|
47
|
+
v as TcErrorMessage,
|
|
48
|
+
po as TcErrorScreen,
|
|
49
|
+
F as TcFormHeader,
|
|
61
50
|
P as TcIcon,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
uo as TcInstallationBanner,
|
|
66
|
-
So as TcIosInstallationGuide,
|
|
67
|
-
w as TcItem,
|
|
51
|
+
j as TcInput,
|
|
52
|
+
q as TcInputWithChip,
|
|
53
|
+
z as TcItem,
|
|
68
54
|
J as TcItemButton,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
yo as TcPageDecoration,
|
|
74
|
-
U as TcSection,
|
|
55
|
+
co as TcLoadingScreen,
|
|
56
|
+
N as TcOtpInput,
|
|
57
|
+
R as TcPageDecoration,
|
|
58
|
+
V as TcSection,
|
|
75
59
|
Y as TcSpinner,
|
|
76
|
-
|
|
60
|
+
fo as TcSuccessScreen,
|
|
77
61
|
_ as TcSymbol,
|
|
78
62
|
oo as TcText,
|
|
79
|
-
|
|
63
|
+
eo as TcToast
|
|
80
64
|
};
|
|
@@ -13,6 +13,7 @@ export { TcInputWithChip } from './tc-input-with-chip.js';
|
|
|
13
13
|
export { TcItem } from './tc-item.js';
|
|
14
14
|
export { TcItemButton } from './tc-item-button.js';
|
|
15
15
|
export { TcOtpInput } from './tc-otp-input.js';
|
|
16
|
+
export { TcPageDecoration } from './tc-page-decoration.js';
|
|
16
17
|
export { TcSection } from './tc-section.js';
|
|
17
18
|
export { TcSpinner } from './tc-spinner.js';
|
|
18
19
|
export { TcSymbol } from './tc-symbol.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/primitives/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/primitives/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
package/dist/primitives/index.js
CHANGED
|
@@ -8,16 +8,17 @@ import { TcDivider as I } from "./tc-divider.js";
|
|
|
8
8
|
import { TcErrorMessage as d } from "./tc-error-message.js";
|
|
9
9
|
import { TcFormHeader as l } from "./tc-form-header.js";
|
|
10
10
|
import { TcIcon as B } from "./tc-icon.js";
|
|
11
|
-
import { TcInput as
|
|
12
|
-
import { TcInputWithChip as
|
|
13
|
-
import { TcItem as
|
|
11
|
+
import { TcInput as g } from "./tc-input.js";
|
|
12
|
+
import { TcInputWithChip as b } from "./tc-input-with-chip.js";
|
|
13
|
+
import { TcItem as y } from "./tc-item.js";
|
|
14
14
|
import { TcItemButton as F } from "./tc-item-button.js";
|
|
15
15
|
import { TcOtpInput as M } from "./tc-otp-input.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
16
|
+
import { TcPageDecoration as P } from "./tc-page-decoration.js";
|
|
17
|
+
import { TcSection as j } from "./tc-section.js";
|
|
18
|
+
import { TcSpinner as q } from "./tc-spinner.js";
|
|
19
|
+
import { TcSymbol as z } from "./tc-symbol.js";
|
|
20
|
+
import { TcText as G } from "./tc-text.js";
|
|
21
|
+
import { TcToast as K } from "./tc-toast.js";
|
|
21
22
|
export {
|
|
22
23
|
t as TcBox,
|
|
23
24
|
p as TcButton,
|
|
@@ -29,14 +30,15 @@ export {
|
|
|
29
30
|
d as TcErrorMessage,
|
|
30
31
|
l as TcFormHeader,
|
|
31
32
|
B as TcIcon,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
g as TcInput,
|
|
34
|
+
b as TcInputWithChip,
|
|
35
|
+
y as TcItem,
|
|
35
36
|
F as TcItemButton,
|
|
36
37
|
M as TcOtpInput,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
P as TcPageDecoration,
|
|
39
|
+
j as TcSection,
|
|
40
|
+
q as TcSpinner,
|
|
41
|
+
z as TcSymbol,
|
|
42
|
+
G as TcText,
|
|
43
|
+
K as TcToast
|
|
42
44
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { css as n, LitElement as i, html as x } from "lit";
|
|
2
2
|
import { property as a, customElement as b } from "lit/decorators.js";
|
|
3
3
|
import { styleMap as f } from "lit/directives/style-map.js";
|
|
4
4
|
var v = Object.defineProperty, y = Object.getOwnPropertyDescriptor, m = (c, s, o, e) => {
|
|
@@ -6,19 +6,19 @@ var v = Object.defineProperty, y = Object.getOwnPropertyDescriptor, m = (c, s, o
|
|
|
6
6
|
(l = c[p]) && (t = (e ? l(s, o, t) : l(t)) || t);
|
|
7
7
|
return e && t && v(s, o, t), t;
|
|
8
8
|
};
|
|
9
|
-
let r = class extends
|
|
9
|
+
let r = class extends i {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments), this.sx = {};
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return
|
|
14
|
+
return x`
|
|
15
15
|
<div part="box" class="box" style=${f(this.sx)}>
|
|
16
16
|
<slot></slot>
|
|
17
17
|
</div>
|
|
18
18
|
`;
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
-
r.styles =
|
|
21
|
+
r.styles = n`
|
|
22
22
|
:host {
|
|
23
23
|
display: contents;
|
|
24
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tc-button.d.ts","sourceRoot":"","sources":["../../src/primitives/tc-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAM5C;;;;;;;;GAQG;AACH,qBACa,QAAS,SAAQ,UAAU;IACT,QAAQ,UAAS;IACjB,OAAO,UAAS;IACjB,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAC5D;IACgB,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAM;IAErE,OAAgB,MAAM,
|
|
1
|
+
{"version":3,"file":"tc-button.d.ts","sourceRoot":"","sources":["../../src/primitives/tc-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAM5C;;;;;;;;GAQG;AACH,qBACa,QAAS,SAAQ,UAAU;IACT,QAAQ,UAAS;IACjB,OAAO,UAAS;IACjB,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAC5D;IACgB,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAM;IAErE,OAAgB,MAAM,4BAoGpB;IAEO,MAAM;IA4Bf,OAAO,CAAC,WAAW;CAWpB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,WAAW,EAAE,QAAQ,CAAC;KACvB;CACF"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { css as p, LitElement as u, html as l } from "lit";
|
|
2
2
|
import { property as r, customElement as b } from "lit/decorators.js";
|
|
3
|
-
import { classMap as
|
|
4
|
-
import { styleMap as
|
|
5
|
-
import { sharedStyles as
|
|
6
|
-
var h = Object.defineProperty, f = Object.getOwnPropertyDescriptor,
|
|
7
|
-
for (var t = a > 1 ? void 0 : a ? f(i, s) : i, d =
|
|
8
|
-
(c =
|
|
3
|
+
import { classMap as m } from "lit/directives/class-map.js";
|
|
4
|
+
import { styleMap as v } from "lit/directives/style-map.js";
|
|
5
|
+
import { sharedStyles as y } from "../styles/shared.js";
|
|
6
|
+
var h = Object.defineProperty, f = Object.getOwnPropertyDescriptor, o = (n, i, s, a) => {
|
|
7
|
+
for (var t = a > 1 ? void 0 : a ? f(i, s) : i, d = n.length - 1, c; d >= 0; d--)
|
|
8
|
+
(c = n[d]) && (t = (a ? c(i, s, t) : c(t)) || t);
|
|
9
9
|
return a && t && h(i, s, t), t;
|
|
10
10
|
};
|
|
11
|
-
let e = class extends
|
|
11
|
+
let e = class extends u {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments), this.disabled = !1, this.loading = !1, this.variant = "primary", this.sx = {};
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
const
|
|
16
|
+
const n = {
|
|
17
17
|
button: !0,
|
|
18
18
|
"button-ink": this.variant !== "secondary",
|
|
19
19
|
"button-primary": this.variant === "primary",
|
|
@@ -24,8 +24,8 @@ let e = class extends p {
|
|
|
24
24
|
return l`
|
|
25
25
|
<button
|
|
26
26
|
part="button"
|
|
27
|
-
class=${
|
|
28
|
-
style=${
|
|
27
|
+
class=${m(n)}
|
|
28
|
+
style=${v(this.sx)}
|
|
29
29
|
?disabled=${this.disabled || this.loading}
|
|
30
30
|
type="button"
|
|
31
31
|
@click=${this.handleClick}
|
|
@@ -37,22 +37,23 @@ let e = class extends p {
|
|
|
37
37
|
</button>
|
|
38
38
|
`;
|
|
39
39
|
}
|
|
40
|
-
handleClick(
|
|
40
|
+
handleClick(n) {
|
|
41
41
|
this.disabled || this.loading || this.dispatchEvent(
|
|
42
42
|
new CustomEvent("tc-click", {
|
|
43
43
|
bubbles: !0,
|
|
44
44
|
composed: !0,
|
|
45
|
-
detail: { originalEvent:
|
|
45
|
+
detail: { originalEvent: n }
|
|
46
46
|
})
|
|
47
47
|
);
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
e.styles = [
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
y,
|
|
52
|
+
p`
|
|
53
53
|
:host {
|
|
54
54
|
display: block;
|
|
55
55
|
width: 100%;
|
|
56
|
+
min-width: 0;
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
/* Extend base .button from design-tokens */
|
|
@@ -147,19 +148,19 @@ e.styles = [
|
|
|
147
148
|
}
|
|
148
149
|
`
|
|
149
150
|
];
|
|
150
|
-
|
|
151
|
+
o([
|
|
151
152
|
r({ type: Boolean })
|
|
152
153
|
], e.prototype, "disabled", 2);
|
|
153
|
-
|
|
154
|
+
o([
|
|
154
155
|
r({ type: Boolean })
|
|
155
156
|
], e.prototype, "loading", 2);
|
|
156
|
-
|
|
157
|
+
o([
|
|
157
158
|
r({ type: String })
|
|
158
159
|
], e.prototype, "variant", 2);
|
|
159
|
-
|
|
160
|
+
o([
|
|
160
161
|
r({ type: Object })
|
|
161
162
|
], e.prototype, "sx", 2);
|
|
162
|
-
e =
|
|
163
|
+
e = o([
|
|
163
164
|
b("tc-button")
|
|
164
165
|
], e);
|
|
165
166
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tc-callout.d.ts","sourceRoot":"","sources":["../../src/primitives/tc-callout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAK5C;;;;;;;;;GASG;AACH,qBACa,SAAU,SAAQ,UAAU;IACX,OAAO,EAC/B,MAAM,GACN,SAAS,GACT,SAAS,GACT,OAAO,CAAU;IAErB,OAAgB,MAAM,
|
|
1
|
+
{"version":3,"file":"tc-callout.d.ts","sourceRoot":"","sources":["../../src/primitives/tc-callout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAK5C;;;;;;;;;GASG;AACH,qBACa,SAAU,SAAQ,UAAU;IACX,OAAO,EAC/B,MAAM,GACN,SAAS,GACT,SAAS,GACT,OAAO,CAAU;IAErB,OAAgB,MAAM,4BA0CpB;IAEO,MAAM;CAyBhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAC;KACzB;CACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { css as c, LitElement as m, html as p } from "lit";
|
|
2
2
|
import { property as v, customElement as d } from "lit/decorators.js";
|
|
3
3
|
import { classMap as u } from "lit/directives/class-map.js";
|
|
4
4
|
import { sharedStyles as f } from "../styles/shared.js";
|
|
@@ -7,7 +7,7 @@ var h = Object.defineProperty, y = Object.getOwnPropertyDescriptor, l = (n, e, s
|
|
|
7
7
|
(a = n[i]) && (t = (r ? a(e, s, t) : a(t)) || t);
|
|
8
8
|
return r && t && h(e, s, t), t;
|
|
9
9
|
};
|
|
10
|
-
let o = class extends
|
|
10
|
+
let o = class extends m {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments), this.variant = "info";
|
|
13
13
|
}
|
|
@@ -19,7 +19,7 @@ let o = class extends c {
|
|
|
19
19
|
"notice-warning": this.variant === "warning",
|
|
20
20
|
"error-message": n
|
|
21
21
|
};
|
|
22
|
-
return
|
|
22
|
+
return p`
|
|
23
23
|
<div part="callout" class=${u(e)} role="alert">
|
|
24
24
|
<div class="callout-inner">
|
|
25
25
|
<div part="icon" class="callout-icon">
|
|
@@ -35,10 +35,11 @@ let o = class extends c {
|
|
|
35
35
|
};
|
|
36
36
|
o.styles = [
|
|
37
37
|
f,
|
|
38
|
-
|
|
38
|
+
c`
|
|
39
39
|
:host {
|
|
40
40
|
display: block;
|
|
41
41
|
width: 100%;
|
|
42
|
+
min-width: 0;
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
/* Override animation from design-tokens for immediate display */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tc-card.d.ts","sourceRoot":"","sources":["../../src/primitives/tc-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAM5C;;;;;;GAMG;AACH,qBACa,MAAO,SAAQ,UAAU;IACiB,QAAQ,UAAS;IAC1C,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAM;IAErE,OAAgB,MAAM,
|
|
1
|
+
{"version":3,"file":"tc-card.d.ts","sourceRoot":"","sources":["../../src/primitives/tc-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAM5C;;;;;;GAMG;AACH,qBACa,MAAO,SAAQ,UAAU;IACiB,QAAQ,UAAS;IAC1C,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAM;IAErE,OAAgB,MAAM,4BAoCpB;IAEO,MAAM;CAchB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,MAAM,CAAC;KACnB;CACF"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { css as p, LitElement as l, html as f } from "lit";
|
|
2
2
|
import { property as c, customElement as m } from "lit/decorators.js";
|
|
3
3
|
import { classMap as b } from "lit/directives/class-map.js";
|
|
4
|
-
import { styleMap as
|
|
5
|
-
import { sharedStyles as
|
|
6
|
-
var
|
|
4
|
+
import { styleMap as h } from "lit/directives/style-map.js";
|
|
5
|
+
import { sharedStyles as u } from "../styles/shared.js";
|
|
6
|
+
var v = Object.defineProperty, y = Object.getOwnPropertyDescriptor, d = (t, o, n, s) => {
|
|
7
7
|
for (var e = s > 1 ? void 0 : s ? y(o, n) : o, a = t.length - 1, i; a >= 0; a--)
|
|
8
8
|
(i = t[a]) && (e = (s ? i(o, n, e) : i(e)) || e);
|
|
9
|
-
return s && e &&
|
|
9
|
+
return s && e && v(o, n, e), e;
|
|
10
10
|
};
|
|
11
|
-
let r = class extends
|
|
11
|
+
let r = class extends l {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments), this.noBorder = !1, this.sx = {};
|
|
14
14
|
}
|
|
@@ -17,8 +17,8 @@ let r = class extends p {
|
|
|
17
17
|
card: !0,
|
|
18
18
|
"card--no-border": this.noBorder
|
|
19
19
|
};
|
|
20
|
-
return
|
|
21
|
-
<div part="card" class=${b(t)} style=${
|
|
20
|
+
return f`
|
|
21
|
+
<div part="card" class=${b(t)} style=${h(this.sx)}>
|
|
22
22
|
<div class="card-content">
|
|
23
23
|
<slot></slot>
|
|
24
24
|
</div>
|
|
@@ -27,10 +27,11 @@ let r = class extends p {
|
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
r.styles = [
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
u,
|
|
31
|
+
p`
|
|
32
32
|
:host {
|
|
33
33
|
display: block;
|
|
34
|
+
min-width: 0;
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
/* Inner border effect using mask - extends design-tokens .card */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tc-chip.d.ts","sourceRoot":"","sources":["../../src/primitives/tc-chip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAI5C;;;;;GAKG;AACH,qBACa,MAAO,SAAQ,UAAU;IACR,OAAO,EAC/B,SAAS,GACT,SAAS,GACT,OAAO,GACP,MAAM,CAAa;IACK,IAAI,EAAE,IAAI,GAAG,IAAI,CAAQ;IAErD,OAAgB,MAAM,
|
|
1
|
+
{"version":3,"file":"tc-chip.d.ts","sourceRoot":"","sources":["../../src/primitives/tc-chip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAI5C;;;;;GAKG;AACH,qBACa,MAAO,SAAQ,UAAU;IACR,OAAO,EAC/B,SAAS,GACT,SAAS,GACT,OAAO,GACP,MAAM,CAAa;IACK,IAAI,EAAE,IAAI,GAAG,IAAI,CAAQ;IAErD,OAAgB,MAAM,4BAgDpB;IAEO,MAAM;CAOhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,MAAM,CAAC;KACnB;CACF"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { property as
|
|
3
|
-
import { sharedStyles as
|
|
4
|
-
var
|
|
5
|
-
for (var r =
|
|
6
|
-
(
|
|
7
|
-
return
|
|
1
|
+
import { css as l, LitElement as h, html as d } from "lit";
|
|
2
|
+
import { property as o, customElement as f } from "lit/decorators.js";
|
|
3
|
+
import { sharedStyles as m } from "../styles/shared.js";
|
|
4
|
+
var v = Object.defineProperty, u = Object.getOwnPropertyDescriptor, n = (p, t, s, i) => {
|
|
5
|
+
for (var r = i > 1 ? void 0 : i ? u(t, s) : t, a = p.length - 1, c; a >= 0; a--)
|
|
6
|
+
(c = p[a]) && (r = (i ? c(t, s, r) : c(r)) || r);
|
|
7
|
+
return i && r && v(t, s, r), r;
|
|
8
8
|
};
|
|
9
|
-
let e = class extends
|
|
9
|
+
let e = class extends h {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments), this.variant = "default", this.size = "md";
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return
|
|
14
|
+
return d`
|
|
15
15
|
<span part="chip" class="chip chip--${this.variant} chip--${this.size}">
|
|
16
16
|
<slot></slot>
|
|
17
17
|
</span>
|
|
@@ -19,10 +19,12 @@ let e = class extends l {
|
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
e.styles = [
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
m,
|
|
23
|
+
l`
|
|
24
24
|
:host {
|
|
25
25
|
display: inline-flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: center;
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
.chip {
|
|
@@ -65,13 +67,13 @@ e.styles = [
|
|
|
65
67
|
}
|
|
66
68
|
`
|
|
67
69
|
];
|
|
68
|
-
|
|
69
|
-
|
|
70
|
+
n([
|
|
71
|
+
o({ type: String })
|
|
70
72
|
], e.prototype, "variant", 2);
|
|
71
|
-
|
|
72
|
-
|
|
73
|
+
n([
|
|
74
|
+
o({ type: String })
|
|
73
75
|
], e.prototype, "size", 2);
|
|
74
|
-
e =
|
|
76
|
+
e = n([
|
|
75
77
|
f("tc-chip")
|
|
76
78
|
], e);
|
|
77
79
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tc-container.d.ts","sourceRoot":"","sources":["../../src/primitives/tc-container.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAI5C;;;;;GAKG;AACH,qBACa,WAAY,SAAQ,UAAU;IACZ,IAAI,UAAS;IACd,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAM;IAErE,OAAO,CAAC,aAAa,CAKnB;IAEF,OAAgB,MAAM,
|
|
1
|
+
{"version":3,"file":"tc-container.d.ts","sourceRoot":"","sources":["../../src/primitives/tc-container.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAI5C;;;;;GAKG;AACH,qBACa,WAAY,SAAQ,UAAU;IACZ,IAAI,UAAS;IACd,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAM;IAErE,OAAO,CAAC,aAAa,CAKnB;IAEF,OAAgB,MAAM,0BAkBpB;IAEO,MAAM;CAgBhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAC;KAC7B;CACF"}
|