@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.
Files changed (85) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/controllers/index.d.ts +0 -2
  3. package/dist/controllers/index.d.ts.map +1 -1
  4. package/dist/controllers/index.js +10 -12
  5. package/dist/index.d.ts +0 -1
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +48 -64
  8. package/dist/primitives/index.d.ts +1 -0
  9. package/dist/primitives/index.d.ts.map +1 -1
  10. package/dist/primitives/index.js +18 -16
  11. package/dist/primitives/tc-box.js +4 -4
  12. package/dist/primitives/tc-button.d.ts.map +1 -1
  13. package/dist/primitives/tc-button.js +21 -20
  14. package/dist/primitives/tc-callout.d.ts.map +1 -1
  15. package/dist/primitives/tc-callout.js +5 -4
  16. package/dist/primitives/tc-card.d.ts.map +1 -1
  17. package/dist/primitives/tc-card.js +11 -10
  18. package/dist/primitives/tc-chip.d.ts.map +1 -1
  19. package/dist/primitives/tc-chip.js +18 -16
  20. package/dist/primitives/tc-container.d.ts.map +1 -1
  21. package/dist/primitives/tc-container.js +12 -10
  22. package/dist/primitives/tc-divider.d.ts.map +1 -1
  23. package/dist/primitives/tc-divider.js +4 -3
  24. package/dist/primitives/tc-error-message.d.ts.map +1 -1
  25. package/dist/primitives/tc-error-message.js +13 -9
  26. package/dist/primitives/tc-form-header.d.ts.map +1 -1
  27. package/dist/primitives/tc-form-header.js +9 -7
  28. package/dist/primitives/tc-icon.js +3 -3
  29. package/dist/primitives/tc-input-with-chip.d.ts.map +1 -1
  30. package/dist/primitives/tc-input-with-chip.js +12 -8
  31. package/dist/primitives/tc-input.d.ts.map +1 -1
  32. package/dist/primitives/tc-input.js +11 -9
  33. package/dist/primitives/tc-item-button.d.ts.map +1 -1
  34. package/dist/primitives/tc-item-button.js +18 -17
  35. package/dist/primitives/tc-item.d.ts.map +1 -1
  36. package/dist/primitives/tc-item.js +13 -12
  37. package/dist/primitives/tc-otp-input.d.ts.map +1 -1
  38. package/dist/primitives/tc-otp-input.js +6 -4
  39. package/dist/primitives/tc-page-decoration.d.ts.map +1 -0
  40. package/dist/{widgets → primitives}/tc-page-decoration.js +8 -8
  41. package/dist/primitives/tc-section.d.ts.map +1 -1
  42. package/dist/primitives/tc-section.js +15 -13
  43. package/dist/primitives/tc-spinner.js +17 -17
  44. package/dist/primitives/tc-symbol.d.ts.map +1 -1
  45. package/dist/primitives/tc-symbol.js +15 -13
  46. package/dist/primitives/tc-text.js +3 -3
  47. package/dist/primitives/tc-toast.js +3 -3
  48. package/dist/screens/tc-error-screen.d.ts +6 -1
  49. package/dist/screens/tc-error-screen.d.ts.map +1 -1
  50. package/dist/screens/tc-error-screen.js +84 -29
  51. package/dist/screens/tc-loading-screen.d.ts +1 -1
  52. package/dist/screens/tc-loading-screen.d.ts.map +1 -1
  53. package/dist/screens/tc-loading-screen.js +16 -11
  54. package/dist/screens/tc-success-screen.d.ts.map +1 -1
  55. package/dist/screens/tc-success-screen.js +19 -13
  56. package/package.json +13 -13
  57. package/dist/controllers/form-validation.controller.d.ts +0 -48
  58. package/dist/controllers/form-validation.controller.d.ts.map +0 -1
  59. package/dist/controllers/form-validation.controller.js +0 -49
  60. package/dist/widgets/index.d.ts +0 -9
  61. package/dist/widgets/index.d.ts.map +0 -1
  62. package/dist/widgets/index.js +0 -18
  63. package/dist/widgets/tc-authenticator-card.d.ts +0 -35
  64. package/dist/widgets/tc-authenticator-card.d.ts.map +0 -1
  65. package/dist/widgets/tc-authenticator-card.js +0 -213
  66. package/dist/widgets/tc-floating-button.d.ts +0 -25
  67. package/dist/widgets/tc-floating-button.d.ts.map +0 -1
  68. package/dist/widgets/tc-floating-button.js +0 -132
  69. package/dist/widgets/tc-iframe-modal.d.ts +0 -43
  70. package/dist/widgets/tc-iframe-modal.d.ts.map +0 -1
  71. package/dist/widgets/tc-iframe-modal.js +0 -263
  72. package/dist/widgets/tc-installation-banner.d.ts +0 -42
  73. package/dist/widgets/tc-installation-banner.d.ts.map +0 -1
  74. package/dist/widgets/tc-installation-banner.js +0 -234
  75. package/dist/widgets/tc-ios-installation-guide.d.ts +0 -34
  76. package/dist/widgets/tc-ios-installation-guide.d.ts.map +0 -1
  77. package/dist/widgets/tc-ios-installation-guide.js +0 -240
  78. package/dist/widgets/tc-notification-modal.d.ts +0 -42
  79. package/dist/widgets/tc-notification-modal.d.ts.map +0 -1
  80. package/dist/widgets/tc-notification-modal.js +0 -230
  81. package/dist/widgets/tc-offline-modal.d.ts +0 -39
  82. package/dist/widgets/tc-offline-modal.d.ts.map +0 -1
  83. package/dist/widgets/tc-offline-modal.js +0 -202
  84. package/dist/widgets/tc-page-decoration.d.ts.map +0 -1
  85. /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,YAAY,EACV,cAAc,EACd,cAAc,GACf,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,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
+ {"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 { FormValidationController as m } from "./form-validation.controller.js";
4
- import { HistoryController as f } from "./history.controller.js";
5
- import { LoadingController as x } from "./loading.controller.js";
6
- import { MatchMediaController as i } from "./match-media.controller.js";
7
- import { MessageBusController as d } from "./message-bus.controller.js";
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 FormValidationController,
13
- f as HistoryController,
14
- x as LoadingController,
15
- i as MatchMediaController,
16
- d as MessageBusController,
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
@@ -1,5 +1,4 @@
1
1
  export * from './controllers/index.js';
2
2
  export * from './primitives/index.js';
3
3
  export * from './screens/index.js';
4
- export * from './widgets/index.js';
5
4
  //# sourceMappingURL=index.d.ts.map
@@ -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;AAGnC,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 t } from "./controllers/animation.controller.js";
2
- import { BaseController as m } from "./controllers/base.controller.js";
3
- import { FormValidationController as f } from "./controllers/form-validation.controller.js";
4
- import { HistoryController as x } from "./controllers/history.controller.js";
5
- import { LoadingController as T } from "./controllers/loading.controller.js";
6
- import { MatchMediaController as l } from "./controllers/match-media.controller.js";
7
- import { MessageBusController as C } from "./controllers/message-bus.controller.js";
8
- import { StorageController as d } from "./controllers/storage.controller.js";
9
- import { TcBox as I } from "./primitives/tc-box.js";
10
- import { TcButton as g } from "./primitives/tc-button.js";
11
- import { TcCallout as M } from "./primitives/tc-callout.js";
12
- import { TcCard as F } from "./primitives/tc-card.js";
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 b } from "./primitives/tc-error-message.js";
17
- import { TcFormHeader as G } from "./primitives/tc-form-header.js";
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 W } from "./primitives/tc-input.js";
20
- import { TcInputWithChip as k } from "./primitives/tc-input-with-chip.js";
21
- import { TcItem as w } from "./primitives/tc-item.js";
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 Q } from "./primitives/tc-otp-input.js";
24
- import { TcSection as U } from "./primitives/tc-section.js";
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 to } from "./primitives/tc-toast.js";
29
- import { TcErrorScreen as mo } from "./screens/tc-error-screen.js";
30
- import { TcLoadingScreen as fo } from "./screens/tc-loading-screen.js";
31
- import { TcSuccessScreen as xo } from "./screens/tc-success-screen.js";
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
- t as AnimationController,
42
- m as BaseController,
43
- f as FormValidationController,
44
- x as HistoryController,
45
- T as LoadingController,
46
- l as MatchMediaController,
47
- C as MessageBusController,
48
- d as StorageController,
49
- To as TcAuthenticatorCard,
50
- I as TcBox,
51
- g as TcButton,
52
- M as TcCallout,
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
- b as TcErrorMessage,
58
- mo as TcErrorScreen,
59
- lo as TcFloatingButton,
60
- G as TcFormHeader,
47
+ v as TcErrorMessage,
48
+ po as TcErrorScreen,
49
+ F as TcFormHeader,
61
50
  P as TcIcon,
62
- Co as TcIframeModal,
63
- W as TcInput,
64
- k as TcInputWithChip,
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
- fo as TcLoadingScreen,
70
- Bo as TcNotificationModal,
71
- ho as TcOfflineModal,
72
- Q as TcOtpInput,
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
- xo as TcSuccessScreen,
60
+ fo as TcSuccessScreen,
77
61
  _ as TcSymbol,
78
62
  oo as TcText,
79
- to as TcToast
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"}
@@ -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 b } from "./tc-input.js";
12
- import { TcInputWithChip as v } from "./tc-input-with-chip.js";
13
- import { TcItem as D } from "./tc-item.js";
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 { TcSection as W } from "./tc-section.js";
17
- import { TcSpinner as k } from "./tc-spinner.js";
18
- import { TcSymbol as w } from "./tc-symbol.js";
19
- import { TcText as A } from "./tc-text.js";
20
- import { TcToast as J } from "./tc-toast.js";
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
- b as TcInput,
33
- v as TcInputWithChip,
34
- D as TcItem,
33
+ g as TcInput,
34
+ b as TcInputWithChip,
35
+ y as TcItem,
35
36
  F as TcItemButton,
36
37
  M as TcOtpInput,
37
- W as TcSection,
38
- k as TcSpinner,
39
- w as TcSymbol,
40
- A as TcText,
41
- J as TcToast
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 { LitElement as n, html as i, css as x } from "lit";
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 n {
9
+ let r = class extends i {
10
10
  constructor() {
11
11
  super(...arguments), this.sx = {};
12
12
  }
13
13
  render() {
14
- return i`
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 = x`
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,4BAmGpB;IAEO,MAAM;IA4Bf,OAAO,CAAC,WAAW;CAWpB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,WAAW,EAAE,QAAQ,CAAC;KACvB;CACF"}
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 { LitElement as p, html as l, css as u } from "lit";
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 v } from "lit/directives/class-map.js";
4
- import { styleMap as y } from "lit/directives/style-map.js";
5
- import { sharedStyles as m } from "../styles/shared.js";
6
- var h = Object.defineProperty, f = Object.getOwnPropertyDescriptor, n = (o, i, s, a) => {
7
- for (var t = a > 1 ? void 0 : a ? f(i, s) : i, d = o.length - 1, c; d >= 0; d--)
8
- (c = o[d]) && (t = (a ? c(i, s, t) : c(t)) || t);
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 p {
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 o = {
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=${v(o)}
28
- style=${y(this.sx)}
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(o) {
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: o }
45
+ detail: { originalEvent: n }
46
46
  })
47
47
  );
48
48
  }
49
49
  };
50
50
  e.styles = [
51
- m,
52
- u`
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
- n([
151
+ o([
151
152
  r({ type: Boolean })
152
153
  ], e.prototype, "disabled", 2);
153
- n([
154
+ o([
154
155
  r({ type: Boolean })
155
156
  ], e.prototype, "loading", 2);
156
- n([
157
+ o([
157
158
  r({ type: String })
158
159
  ], e.prototype, "variant", 2);
159
- n([
160
+ o([
160
161
  r({ type: Object })
161
162
  ], e.prototype, "sx", 2);
162
- e = n([
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,4BAyCpB;IAEO,MAAM;CAyBhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAC;KACzB;CACF"}
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 { LitElement as c, html as m, css as p } from "lit";
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 c {
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 m`
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
- p`
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,4BAmCpB;IAEO,MAAM;CAchB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,MAAM,CAAC;KACnB;CACF"}
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 { LitElement as p, html as l, css as f } from "lit";
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 u } from "lit/directives/style-map.js";
5
- import { sharedStyles as v } from "../styles/shared.js";
6
- var h = Object.defineProperty, y = Object.getOwnPropertyDescriptor, d = (t, o, n, s) => {
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 && h(o, n, e), e;
9
+ return s && e && v(o, n, e), e;
10
10
  };
11
- let r = class extends p {
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 l`
21
- <div part="card" class=${b(t)} style=${u(this.sx)}>
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
- v,
31
- f`
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,4BA8CpB;IAEO,MAAM;CAOhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,MAAM,CAAC;KACnB;CACF"}
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 { LitElement as l, html as h, css as d } from "lit";
2
- import { property as n, customElement as f } from "lit/decorators.js";
3
- import { sharedStyles as v } from "../styles/shared.js";
4
- var m = Object.defineProperty, u = Object.getOwnPropertyDescriptor, c = (o, i, s, t) => {
5
- for (var r = t > 1 ? void 0 : t ? u(i, s) : i, a = o.length - 1, p; a >= 0; a--)
6
- (p = o[a]) && (r = (t ? p(i, s, r) : p(r)) || r);
7
- return t && r && m(i, s, r), r;
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 l {
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 h`
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
- v,
23
- d`
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
- c([
69
- n({ type: String })
70
+ n([
71
+ o({ type: String })
70
72
  ], e.prototype, "variant", 2);
71
- c([
72
- n({ type: String })
73
+ n([
74
+ o({ type: String })
73
75
  ], e.prototype, "size", 2);
74
- e = c([
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,0BAgBpB;IAEO,MAAM;CAgBhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAC;KAC7B;CACF"}
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"}