@molecule/app-ui-angular 1.0.5 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (308) hide show
  1. package/README.md +11742 -1145
  2. package/dist/components/accordion.component.d.ts +114 -0
  3. package/dist/components/accordion.component.d.ts.map +1 -0
  4. package/dist/components/accordion.component.js +286 -0
  5. package/dist/components/accordion.component.js.map +1 -0
  6. package/dist/components/alert.component.d.ts +81 -37
  7. package/dist/components/alert.component.d.ts.map +1 -1
  8. package/dist/components/alert.component.js +232 -146
  9. package/dist/components/alert.component.js.map +1 -1
  10. package/dist/components/auth-guard.component.d.ts +94 -0
  11. package/dist/components/auth-guard.component.d.ts.map +1 -0
  12. package/dist/components/auth-guard.component.js +212 -0
  13. package/dist/components/auth-guard.component.js.map +1 -0
  14. package/dist/components/avatar.component.d.ts +97 -0
  15. package/dist/components/avatar.component.d.ts.map +1 -0
  16. package/dist/components/avatar.component.js +216 -0
  17. package/dist/components/avatar.component.js.map +1 -0
  18. package/dist/components/badge.component.d.ts +27 -12
  19. package/dist/components/badge.component.d.ts.map +1 -1
  20. package/dist/components/badge.component.js +47 -47
  21. package/dist/components/badge.component.js.map +1 -1
  22. package/dist/components/button.component.d.ts +96 -14
  23. package/dist/components/button.component.d.ts.map +1 -1
  24. package/dist/components/button.component.js +232 -87
  25. package/dist/components/button.component.js.map +1 -1
  26. package/dist/components/card.component.d.ts +135 -0
  27. package/dist/components/card.component.d.ts.map +1 -0
  28. package/dist/components/card.component.js +291 -0
  29. package/dist/components/card.component.js.map +1 -0
  30. package/dist/components/checkbox.component.d.ts +102 -29
  31. package/dist/components/checkbox.component.d.ts.map +1 -1
  32. package/dist/components/checkbox.component.js +222 -113
  33. package/dist/components/checkbox.component.js.map +1 -1
  34. package/dist/components/confirm-button.component.d.ts +130 -0
  35. package/dist/components/confirm-button.component.d.ts.map +1 -0
  36. package/dist/components/confirm-button.component.js +322 -0
  37. package/dist/components/confirm-button.component.js.map +1 -0
  38. package/dist/components/confirm-dialog.component.d.ts +60 -0
  39. package/dist/components/confirm-dialog.component.d.ts.map +1 -0
  40. package/dist/components/confirm-dialog.component.js +152 -0
  41. package/dist/components/confirm-dialog.component.js.map +1 -0
  42. package/dist/components/dropdown.component.d.ts +313 -0
  43. package/dist/components/dropdown.component.d.ts.map +1 -0
  44. package/dist/components/dropdown.component.js +919 -0
  45. package/dist/components/dropdown.component.js.map +1 -0
  46. package/dist/components/empty-state.component.d.ts +73 -0
  47. package/dist/components/empty-state.component.d.ts.map +1 -0
  48. package/dist/components/empty-state.component.js +180 -0
  49. package/dist/components/empty-state.component.js.map +1 -0
  50. package/dist/components/floating-input.component.d.ts +86 -0
  51. package/dist/components/floating-input.component.d.ts.map +1 -0
  52. package/dist/components/floating-input.component.js +167 -0
  53. package/dist/components/floating-input.component.js.map +1 -0
  54. package/dist/components/form-field.component.d.ts +111 -0
  55. package/dist/components/form-field.component.d.ts.map +1 -0
  56. package/dist/components/form-field.component.js +300 -0
  57. package/dist/components/form-field.component.js.map +1 -0
  58. package/dist/components/form.component.d.ts +77 -0
  59. package/dist/components/form.component.d.ts.map +1 -0
  60. package/dist/components/form.component.js +222 -0
  61. package/dist/components/form.component.js.map +1 -0
  62. package/dist/components/icon.component.d.ts +85 -0
  63. package/dist/components/icon.component.d.ts.map +1 -0
  64. package/dist/components/icon.component.js +187 -0
  65. package/dist/components/icon.component.js.map +1 -0
  66. package/dist/components/index.d.ts +49 -0
  67. package/dist/components/index.d.ts.map +1 -1
  68. package/dist/components/index.js +49 -0
  69. package/dist/components/index.js.map +1 -1
  70. package/dist/components/input.component.d.ts +157 -54
  71. package/dist/components/input.component.d.ts.map +1 -1
  72. package/dist/components/input.component.js +437 -222
  73. package/dist/components/input.component.js.map +1 -1
  74. package/dist/components/label.component.d.ts +29 -0
  75. package/dist/components/label.component.d.ts.map +1 -0
  76. package/dist/components/label.component.js +60 -0
  77. package/dist/components/label.component.js.map +1 -0
  78. package/dist/components/language-picker.component.d.ts +124 -0
  79. package/dist/components/language-picker.component.d.ts.map +1 -0
  80. package/dist/components/language-picker.component.js +305 -0
  81. package/dist/components/language-picker.component.js.map +1 -0
  82. package/dist/components/layout.component.d.ts +167 -0
  83. package/dist/components/layout.component.d.ts.map +1 -0
  84. package/dist/components/layout.component.js +364 -0
  85. package/dist/components/layout.component.js.map +1 -0
  86. package/dist/components/load-error-banner.component.d.ts +103 -0
  87. package/dist/components/load-error-banner.component.d.ts.map +1 -0
  88. package/dist/components/load-error-banner.component.js +263 -0
  89. package/dist/components/load-error-banner.component.js.map +1 -0
  90. package/dist/components/modal.component.d.ts +125 -95
  91. package/dist/components/modal.component.d.ts.map +1 -1
  92. package/dist/components/modal.component.js +458 -271
  93. package/dist/components/modal.component.js.map +1 -1
  94. package/dist/components/molecule/alert.component.d.ts +77 -0
  95. package/dist/components/molecule/alert.component.d.ts.map +1 -0
  96. package/dist/components/molecule/alert.component.js +229 -0
  97. package/dist/components/molecule/alert.component.js.map +1 -0
  98. package/dist/components/molecule/badge.component.d.ts +27 -0
  99. package/dist/components/molecule/badge.component.d.ts.map +1 -0
  100. package/dist/components/molecule/badge.component.js +79 -0
  101. package/dist/components/molecule/badge.component.js.map +1 -0
  102. package/dist/components/molecule/button.component.d.ts +38 -0
  103. package/dist/components/molecule/button.component.d.ts.map +1 -0
  104. package/dist/components/molecule/button.component.js +137 -0
  105. package/dist/components/molecule/button.component.js.map +1 -0
  106. package/dist/components/molecule/checkbox.component.d.ts +53 -0
  107. package/dist/components/molecule/checkbox.component.d.ts.map +1 -0
  108. package/dist/components/molecule/checkbox.component.js +166 -0
  109. package/dist/components/molecule/checkbox.component.js.map +1 -0
  110. package/dist/components/molecule/index.d.ts +18 -0
  111. package/dist/components/molecule/index.d.ts.map +1 -0
  112. package/dist/components/molecule/index.js +18 -0
  113. package/dist/components/molecule/index.js.map +1 -0
  114. package/dist/components/molecule/input.component.d.ts +93 -0
  115. package/dist/components/molecule/input.component.d.ts.map +1 -0
  116. package/dist/components/molecule/input.component.js +314 -0
  117. package/dist/components/molecule/input.component.js.map +1 -0
  118. package/dist/components/molecule/modal.component.d.ts +148 -0
  119. package/dist/components/molecule/modal.component.d.ts.map +1 -0
  120. package/dist/components/molecule/modal.component.js +382 -0
  121. package/dist/components/molecule/modal.component.js.map +1 -0
  122. package/dist/components/molecule/radio-group.component.d.ts +63 -0
  123. package/dist/components/molecule/radio-group.component.d.ts.map +1 -0
  124. package/dist/components/molecule/radio-group.component.js +208 -0
  125. package/dist/components/molecule/radio-group.component.js.map +1 -0
  126. package/dist/components/molecule/select.component.d.ts +72 -0
  127. package/dist/components/molecule/select.component.d.ts.map +1 -0
  128. package/dist/components/molecule/select.component.js +274 -0
  129. package/dist/components/molecule/select.component.js.map +1 -0
  130. package/dist/components/molecule/spinner.component.d.ts +42 -0
  131. package/dist/components/molecule/spinner.component.d.ts.map +1 -0
  132. package/dist/components/molecule/spinner.component.js +122 -0
  133. package/dist/components/molecule/spinner.component.js.map +1 -0
  134. package/dist/components/molecule/switch.component.d.ts +54 -0
  135. package/dist/components/molecule/switch.component.d.ts.map +1 -0
  136. package/dist/components/molecule/switch.component.js +148 -0
  137. package/dist/components/molecule/switch.component.js.map +1 -0
  138. package/dist/components/molecule/toast.component.d.ts +98 -0
  139. package/dist/components/molecule/toast.component.d.ts.map +1 -0
  140. package/dist/components/molecule/toast.component.js +305 -0
  141. package/dist/components/molecule/toast.component.js.map +1 -0
  142. package/dist/components/molecule/tooltip.component.d.ts +77 -0
  143. package/dist/components/molecule/tooltip.component.d.ts.map +1 -0
  144. package/dist/components/molecule/tooltip.component.js +316 -0
  145. package/dist/components/molecule/tooltip.component.js.map +1 -0
  146. package/dist/components/optimistic-toggle-button.component.d.ts +125 -0
  147. package/dist/components/optimistic-toggle-button.component.d.ts.map +1 -0
  148. package/dist/components/optimistic-toggle-button.component.js +296 -0
  149. package/dist/components/optimistic-toggle-button.component.js.map +1 -0
  150. package/dist/components/page-header.component.d.ts +77 -0
  151. package/dist/components/page-header.component.d.ts.map +1 -0
  152. package/dist/components/page-header.component.js +225 -0
  153. package/dist/components/page-header.component.js.map +1 -0
  154. package/dist/components/page-shell.component.d.ts +101 -0
  155. package/dist/components/page-shell.component.d.ts.map +1 -0
  156. package/dist/components/page-shell.component.js +221 -0
  157. package/dist/components/page-shell.component.js.map +1 -0
  158. package/dist/components/pagination.component.d.ts +137 -0
  159. package/dist/components/pagination.component.d.ts.map +1 -0
  160. package/dist/components/pagination.component.js +419 -0
  161. package/dist/components/pagination.component.js.map +1 -0
  162. package/dist/components/panel-close.component.d.ts +43 -0
  163. package/dist/components/panel-close.component.d.ts.map +1 -0
  164. package/dist/components/panel-close.component.js +75 -0
  165. package/dist/components/panel-close.component.js.map +1 -0
  166. package/dist/components/progress.component.d.ts +84 -0
  167. package/dist/components/progress.component.d.ts.map +1 -0
  168. package/dist/components/progress.component.js +219 -0
  169. package/dist/components/progress.component.js.map +1 -0
  170. package/dist/components/prompt-dialog.component.d.ts +121 -0
  171. package/dist/components/prompt-dialog.component.d.ts.map +1 -0
  172. package/dist/components/prompt-dialog.component.js +332 -0
  173. package/dist/components/prompt-dialog.component.js.map +1 -0
  174. package/dist/components/radio-group.component.d.ts +66 -34
  175. package/dist/components/radio-group.component.d.ts.map +1 -1
  176. package/dist/components/radio-group.component.js +146 -125
  177. package/dist/components/radio-group.component.js.map +1 -1
  178. package/dist/components/responsive-app-shell.component.d.ts +408 -0
  179. package/dist/components/responsive-app-shell.component.d.ts.map +1 -0
  180. package/dist/components/responsive-app-shell.component.js +1144 -0
  181. package/dist/components/responsive-app-shell.component.js.map +1 -0
  182. package/dist/components/select.component.d.ts +135 -38
  183. package/dist/components/select.component.d.ts.map +1 -1
  184. package/dist/components/select.component.js +373 -181
  185. package/dist/components/select.component.js.map +1 -1
  186. package/dist/components/separator.component.d.ts +39 -0
  187. package/dist/components/separator.component.d.ts.map +1 -0
  188. package/dist/components/separator.component.js +73 -0
  189. package/dist/components/separator.component.js.map +1 -0
  190. package/dist/components/sidebar-user-card.component.d.ts +106 -0
  191. package/dist/components/sidebar-user-card.component.d.ts.map +1 -0
  192. package/dist/components/sidebar-user-card.component.js +277 -0
  193. package/dist/components/sidebar-user-card.component.js.map +1 -0
  194. package/dist/components/skeleton.component.d.ts +100 -0
  195. package/dist/components/skeleton.component.d.ts.map +1 -0
  196. package/dist/components/skeleton.component.js +214 -0
  197. package/dist/components/skeleton.component.js.map +1 -0
  198. package/dist/components/spinner.component.d.ts +36 -19
  199. package/dist/components/spinner.component.d.ts.map +1 -1
  200. package/dist/components/spinner.component.js +69 -71
  201. package/dist/components/spinner.component.js.map +1 -1
  202. package/dist/components/switch.component.d.ts +72 -29
  203. package/dist/components/switch.component.d.ts.map +1 -1
  204. package/dist/components/switch.component.js +163 -91
  205. package/dist/components/switch.component.js.map +1 -1
  206. package/dist/components/table.component.d.ts +193 -0
  207. package/dist/components/table.component.d.ts.map +1 -0
  208. package/dist/components/table.component.js +550 -0
  209. package/dist/components/table.component.js.map +1 -0
  210. package/dist/components/tabs.component.d.ts +140 -0
  211. package/dist/components/tabs.component.d.ts.map +1 -0
  212. package/dist/components/tabs.component.js +390 -0
  213. package/dist/components/tabs.component.js.map +1 -0
  214. package/dist/components/template-outlet.directive.d.ts +50 -0
  215. package/dist/components/template-outlet.directive.d.ts.map +1 -0
  216. package/dist/components/template-outlet.directive.js +81 -0
  217. package/dist/components/template-outlet.directive.js.map +1 -0
  218. package/dist/components/textarea.component.d.ts +151 -0
  219. package/dist/components/textarea.component.d.ts.map +1 -0
  220. package/dist/components/textarea.component.js +340 -0
  221. package/dist/components/textarea.component.js.map +1 -0
  222. package/dist/components/theme-toggle.component.d.ts +58 -0
  223. package/dist/components/theme-toggle.component.d.ts.map +1 -0
  224. package/dist/components/theme-toggle.component.js +124 -0
  225. package/dist/components/theme-toggle.component.js.map +1 -0
  226. package/dist/components/toast.component.d.ts +237 -49
  227. package/dist/components/toast.component.d.ts.map +1 -1
  228. package/dist/components/toast.component.js +636 -201
  229. package/dist/components/toast.component.js.map +1 -1
  230. package/dist/components/tooltip.component.d.ts +95 -45
  231. package/dist/components/tooltip.component.d.ts.map +1 -1
  232. package/dist/components/tooltip.component.js +372 -221
  233. package/dist/components/tooltip.component.js.map +1 -1
  234. package/dist/components/user-menu-popover.component.d.ts +283 -0
  235. package/dist/components/user-menu-popover.component.d.ts.map +1 -0
  236. package/dist/components/user-menu-popover.component.js +646 -0
  237. package/dist/components/user-menu-popover.component.js.map +1 -0
  238. package/dist/components/user-menu.component.d.ts +95 -0
  239. package/dist/components/user-menu.component.d.ts.map +1 -0
  240. package/dist/components/user-menu.component.js +218 -0
  241. package/dist/components/user-menu.component.js.map +1 -0
  242. package/dist/hooks/index.d.ts +7 -0
  243. package/dist/hooks/index.d.ts.map +1 -0
  244. package/dist/hooks/index.js +7 -0
  245. package/dist/hooks/index.js.map +1 -0
  246. package/dist/hooks/use-is-desktop.d.ts +22 -0
  247. package/dist/hooks/use-is-desktop.d.ts.map +1 -0
  248. package/dist/hooks/use-is-desktop.js +37 -0
  249. package/dist/hooks/use-is-desktop.js.map +1 -0
  250. package/dist/index.d.ts +32 -17
  251. package/dist/index.d.ts.map +1 -1
  252. package/dist/index.js +32 -17
  253. package/dist/index.js.map +1 -1
  254. package/dist/types.d.ts +1 -1
  255. package/dist/types.d.ts.map +1 -1
  256. package/dist/utilities/dom-context.d.ts +42 -0
  257. package/dist/utilities/dom-context.d.ts.map +1 -0
  258. package/dist/utilities/dom-context.js +66 -0
  259. package/dist/utilities/dom-context.js.map +1 -0
  260. package/dist/utilities/focus.d.ts +32 -0
  261. package/dist/utilities/focus.d.ts.map +1 -0
  262. package/dist/utilities/focus.js +47 -0
  263. package/dist/utilities/focus.js.map +1 -0
  264. package/dist/utilities/form-field-context.d.ts +34 -0
  265. package/dist/utilities/form-field-context.d.ts.map +1 -0
  266. package/dist/utilities/form-field-context.js +28 -0
  267. package/dist/utilities/form-field-context.js.map +1 -0
  268. package/dist/utilities/form-submit-error.d.ts +17 -0
  269. package/dist/utilities/form-submit-error.d.ts.map +1 -0
  270. package/dist/utilities/form-submit-error.js +42 -0
  271. package/dist/utilities/form-submit-error.js.map +1 -0
  272. package/dist/utilities/icon-markup.d.ts +17 -0
  273. package/dist/utilities/icon-markup.d.ts.map +1 -0
  274. package/dist/utilities/icon-markup.js +46 -0
  275. package/dist/utilities/icon-markup.js.map +1 -0
  276. package/dist/utilities/ids.d.ts +15 -0
  277. package/dist/utilities/ids.d.ts.map +1 -0
  278. package/dist/utilities/ids.js +19 -0
  279. package/dist/utilities/ids.js.map +1 -0
  280. package/dist/utilities/index.d.ts +11 -0
  281. package/dist/utilities/index.d.ts.map +1 -1
  282. package/dist/utilities/index.js +11 -0
  283. package/dist/utilities/index.js.map +1 -1
  284. package/dist/utilities/initials.d.ts +13 -0
  285. package/dist/utilities/initials.d.ts.map +1 -0
  286. package/dist/utilities/initials.js +23 -0
  287. package/dist/utilities/initials.js.map +1 -0
  288. package/dist/utilities/node-value.d.ts +31 -0
  289. package/dist/utilities/node-value.d.ts.map +1 -0
  290. package/dist/utilities/node-value.js +37 -0
  291. package/dist/utilities/node-value.js.map +1 -0
  292. package/dist/utilities/optimistic-value.d.ts +81 -0
  293. package/dist/utilities/optimistic-value.d.ts.map +1 -0
  294. package/dist/utilities/optimistic-value.js +154 -0
  295. package/dist/utilities/optimistic-value.js.map +1 -0
  296. package/dist/utilities/render-icon.d.ts +77 -7
  297. package/dist/utilities/render-icon.d.ts.map +1 -1
  298. package/dist/utilities/render-icon.js +123 -33
  299. package/dist/utilities/render-icon.js.map +1 -1
  300. package/dist/utilities/rest-attrs.d.ts +21 -0
  301. package/dist/utilities/rest-attrs.d.ts.map +1 -0
  302. package/dist/utilities/rest-attrs.js +37 -0
  303. package/dist/utilities/rest-attrs.js.map +1 -0
  304. package/dist/utilities/style.d.ts +23 -0
  305. package/dist/utilities/style.d.ts.map +1 -0
  306. package/dist/utilities/style.js +86 -0
  307. package/dist/utilities/style.js.map +1 -0
  308. package/package.json +10 -5
@@ -1 +1 @@
1
- {"version":3,"file":"button.component.js","sourceRoot":"","sources":["../../src/components/button.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAG/F,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;;;;IAqBtC,0BAAwC;;;IAAlC,sCAA0B;;;IAGhC,YACF;;;IADE,mDACF;;;IACE,kBAAyB;;AAxBjC;;GAEG;AA2BH;;GAEG;AACH,MAAM,OAAO,cAAc;IAChB,OAAO,GAAkB,OAAO,CAAA;IAChC,KAAK,GAAiB,SAAS,CAAA;IAC/B,IAAI,GAAS,IAAI,CAAA;IACjB,OAAO,GAAG,KAAK,CAAA;IACf,WAAW,CAAS;IACpB,SAAS,GAAG,KAAK,CAAA;IACjB,SAAS,CAAS;IAClB,KAAK,CAAyB;IAC9B,MAAM,CAAS;IACf,QAAQ,GAAG,KAAK,CAAA;IAChB,IAAI,GAAkC,QAAQ,CAAA;IAE7C,WAAW,GAAG,IAAI,YAAY,EAAc,CAAA;IAEtD;;;OAGG;IACH,IAAI,EAAE;QACJ,OAAO,WAAW,EAAE,CAAA;IACtB,CAAC;IAED;;;OAGG;IACH,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,EAAE,CAAC,EAAE,CACf,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC;YACb,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC,EACF,IAAI,CAAC,SAAS,CACf,CAAA;IACH,CAAC;wGArCU,cAAc;6DAAd,cAAc;;YAvBvB,oCAQC;YADC,oGAAS,4BAAwB,IAAC;YAElC,iFAAe;YAKb,AAFF,sEAA8B,gDAErB;YAGX,oBAAS;;YAdP,wBAAe;YADf,0BAAiB;YAGjB,AAJA,kCAAa,yCAImB;;YAIhC,cAEC;YAFD,sCAEC;YACD,cAIC;YAJD,wDAIC;;;iFAOM,cAAc;cA7B1B,SAAS;eAAC;gBACT,QAAQ,EAAE,YAAY;gBACtB,UAAU,EAAE,IAAI;gBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,IAAI,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE;gBACpC,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;GAmBT;aACF;;kBAKE,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBAEL,MAAM;;kFAbI,cAAc"}
1
+ {"version":3,"file":"button.component.js","sourceRoot":"","sources":["../../src/components/button.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAEL,SAAS,EAET,UAAU,EACV,MAAM,EACN,SAAS,EACT,SAAS,GACV,MAAM,eAAe,CAAA;AAGtB,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;;;;;;;IA6G1C,yBAAuE;;;IAAxC,AAAd,2BAAa,yCAAkC;;;IAMhE,6BAAc;IAAA,YAAiB;;;;IAAjB,cAAiB;IAAjB,wCAAiB;;;IAE/B,qBAAyB;;AAnH/B;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CAAC,EAA8B;IACrD,IAAI,CAAC,EAAE;QAAE,OAAO,KAAK,CAAA;IACrB,KAAK,MAAM,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7C,IAAI,IAAI,CAAC,QAAQ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AFF,8EAA8B,wCAErB;YAGT,qCACG;YAAA,qBACF;YAAA,iBAAO;;YAbC,sCAER;YACK,cAA6B;YAA7B,sCAA6B;YAGnC,eAIC;YAJD,wDAIC;YACK,eAA8B;YAA9B,uCAA8B;4BAjC5B,OAAO;;iFAqCN,MAAM;cAxClB,SAAS;eAAC;gBACT,QAAQ,EAAE,oBAAoB;gBAC9B,UAAU,EAAE,IAAI;gBAChB,OAAO,EAAE,CAAC,OAAO,CAAC;gBAClB,MAAM,EAAE;oBACN,SAAS;oBACT,OAAO;oBACP,MAAM;oBACN,SAAS;oBACT,aAAa;oBACb,WAAW;oBACX,WAAW;oBACX,OAAO;oBACP,QAAQ;oBACR,UAAU;oBACV,MAAM;iBACP;gBACD,IAAI,EAAE;oBACJ,SAAS,EAAE,WAAW;oBACtB,SAAS,EAAE,aAAa;oBACxB,oBAAoB,EAAE,QAAQ;oBAC9B,aAAa,EAAE,MAAM;oBACrB,YAAY,EAAE,qBAAqB;oBACnC,kBAAkB,EAAE,4BAA4B;iBACjD;gBACD,QAAQ,EAAE;;;;;;;;;;;;;aAaC;aACZ;;kBA0BE,SAAS;mBAAC,UAAU;;kBAEpB,SAAS;mBAAC,WAAW;;kFA3BX,MAAM"}
@@ -0,0 +1,135 @@
1
+ import type { UIClassMap } from '@molecule/app-ui';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Card component.
5
+ *
6
+ * An interactive card renders `role="button"` and joins the keyboard tab
7
+ * order; rest props (`aria-*`, `data-*`, `id`) land on the host.
8
+ */
9
+ export declare class Card {
10
+ /** Card variant. */
11
+ variant: 'default' | 'elevated' | 'outlined' | 'filled' | 'ghost';
12
+ /** Whether the card is keyboard-interactive. */
13
+ interactive?: boolean;
14
+ /** Padding preset (`none` for no padding class). */
15
+ padding: 'none' | 'sm' | 'md' | 'lg';
16
+ /** Extra classes. */
17
+ className?: string;
18
+ /** Inline style object (React camelCase). */
19
+ style?: Record<string, unknown>;
20
+ /** `data-testid`. */
21
+ testId?: string;
22
+ /**
23
+ * The current class map.
24
+ * @returns The UIClassMap.
25
+ */
26
+ cm(): UIClassMap;
27
+ /**
28
+ * Computes the card class list.
29
+ * @returns The class string.
30
+ */
31
+ classes(): string;
32
+ /**
33
+ * Serializes the inline style.
34
+ * @returns The style attribute text.
35
+ */
36
+ hostStyle(): string | null;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<Card, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<Card, "div[mol-card]", never, { "variant": { "alias": "variant"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "className": { "alias": "className"; "required": false; }; "style": { "alias": "style"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, ["*"], true, never>;
39
+ }
40
+ /**
41
+ * Card header.
42
+ */
43
+ export declare class CardHeader {
44
+ /** Extra classes. */
45
+ className?: string;
46
+ /**
47
+ * The current class map.
48
+ * @returns The UIClassMap.
49
+ */
50
+ cm(): UIClassMap;
51
+ /**
52
+ * Computes the class list.
53
+ * @returns The class string.
54
+ */
55
+ classes(): string;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardHeader, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardHeader, "div[mol-card-header]", never, { "className": { "alias": "className"; "required": false; }; }, {}, never, ["*"], true, never>;
58
+ }
59
+ /**
60
+ * Card title (an `h3`).
61
+ */
62
+ export declare class CardTitle {
63
+ /** Extra classes. */
64
+ className?: string;
65
+ /**
66
+ * The current class map.
67
+ * @returns The UIClassMap.
68
+ */
69
+ cm(): UIClassMap;
70
+ /**
71
+ * Computes the class list.
72
+ * @returns The class string.
73
+ */
74
+ classes(): string;
75
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardTitle, never>;
76
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardTitle, "h3[mol-card-title]", never, { "className": { "alias": "className"; "required": false; }; }, {}, never, ["*"], true, never>;
77
+ }
78
+ /**
79
+ * Card description (a `p`).
80
+ */
81
+ export declare class CardDescription {
82
+ /** Extra classes. */
83
+ className?: string;
84
+ /**
85
+ * The current class map.
86
+ * @returns The UIClassMap.
87
+ */
88
+ cm(): UIClassMap;
89
+ /**
90
+ * Computes the class list.
91
+ * @returns The class string.
92
+ */
93
+ classes(): string;
94
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardDescription, never>;
95
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardDescription, "p[mol-card-description]", never, { "className": { "alias": "className"; "required": false; }; }, {}, never, ["*"], true, never>;
96
+ }
97
+ /**
98
+ * Card content.
99
+ */
100
+ export declare class CardContent {
101
+ /** Extra classes. */
102
+ className?: string;
103
+ /**
104
+ * The current class map.
105
+ * @returns The UIClassMap.
106
+ */
107
+ cm(): UIClassMap;
108
+ /**
109
+ * Computes the class list.
110
+ * @returns The class string.
111
+ */
112
+ classes(): string;
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardContent, never>;
114
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardContent, "div[mol-card-content]", never, { "className": { "alias": "className"; "required": false; }; }, {}, never, ["*"], true, never>;
115
+ }
116
+ /**
117
+ * Card footer.
118
+ */
119
+ export declare class CardFooter {
120
+ /** Extra classes. */
121
+ className?: string;
122
+ /**
123
+ * The current class map.
124
+ * @returns The UIClassMap.
125
+ */
126
+ cm(): UIClassMap;
127
+ /**
128
+ * Computes the class list.
129
+ * @returns The class string.
130
+ */
131
+ classes(): string;
132
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardFooter, never>;
133
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardFooter, "div[mol-card-footer]", never, { "className": { "alias": "className"; "required": false; }; }, {}, never, ["*"], true, never>;
134
+ }
135
+ //# sourceMappingURL=card.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.component.d.ts","sourceRoot":"","sources":["../../src/components/card.component.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,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tB,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,EAAE,IAAI,UAAU;IAIhB;;;OAGG;IACH,OAAO,IAAI,MAAM;yCAhBN,WAAW;2CAAX,WAAW;CAmBvB;AAED;;GAEG;AACH,qBASa,UAAU;IACrB,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,EAAE,IAAI,UAAU;IAIhB;;;OAGG;IACH,OAAO,IAAI,MAAM;yCAhBN,UAAU;2CAAV,UAAU;CAmBtB"}
@@ -0,0 +1,291 @@
1
+ /**
2
+ * Card components (React parity): Card, CardHeader, CardTitle,
3
+ * CardDescription, CardContent, CardFooter.
4
+ *
5
+ * @module
6
+ */
7
+ import { Component } from '@angular/core';
8
+ import { getClassMap } from '@molecule/app-ui';
9
+ import { styleText } from '../utilities/style.js';
10
+ import * as i0 from "@angular/core";
11
+ const _c0 = ["*"];
12
+ /** React's variant spellings → class-map variants. */
13
+ const VARIANT_MAP = {
14
+ elevated: 'elevated',
15
+ outlined: 'outline',
16
+ filled: 'default',
17
+ };
18
+ /**
19
+ * Card component.
20
+ *
21
+ * An interactive card renders `role="button"` and joins the keyboard tab
22
+ * order; rest props (`aria-*`, `data-*`, `id`) land on the host.
23
+ */
24
+ export class Card {
25
+ /** Card variant. */
26
+ variant = 'elevated';
27
+ /** Whether the card is keyboard-interactive. */
28
+ interactive;
29
+ /** Padding preset (`none` for no padding class). */
30
+ padding = 'md';
31
+ /** Extra classes. */
32
+ className;
33
+ /** Inline style object (React camelCase). */
34
+ style;
35
+ /** `data-testid`. */
36
+ testId;
37
+ /**
38
+ * The current class map.
39
+ * @returns The UIClassMap.
40
+ */
41
+ cm() {
42
+ return getClassMap();
43
+ }
44
+ /**
45
+ * Computes the card class list.
46
+ * @returns The class string.
47
+ */
48
+ classes() {
49
+ const paddingClass = this.padding === 'none' ? '' : this.cm().cardPadding(this.padding);
50
+ return this.cm().cn(this.cm().card({ variant: VARIANT_MAP[this.variant] || 'default' }), paddingClass, this.interactive && this.cm().cardInteractive, this.className);
51
+ }
52
+ /**
53
+ * Serializes the inline style.
54
+ * @returns The style attribute text.
55
+ */
56
+ hostStyle() {
57
+ return styleText(this.style);
58
+ }
59
+ static ɵfac = function Card_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Card)(); };
60
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Card, selectors: [["div", "mol-card", ""]], hostVars: 7, hostBindings: function Card_HostBindings(rf, ctx) { if (rf & 2) {
61
+ i0.ɵɵattribute("data-testid", ctx.testId)("role", ctx.interactive ? "button" : null)("tabindex", ctx.interactive ? 0 : null);
62
+ i0.ɵɵstyleMap(ctx.hostStyle());
63
+ i0.ɵɵclassMap(ctx.classes());
64
+ } }, inputs: { variant: "variant", interactive: "interactive", padding: "padding", className: "className", style: "style", testId: "testId" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function Card_Template(rf, ctx) { if (rf & 1) {
65
+ i0.ɵɵprojectionDef();
66
+ i0.ɵɵprojection(0);
67
+ } }, encapsulation: 2 });
68
+ }
69
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Card, [{
70
+ type: Component,
71
+ args: [{
72
+ selector: 'div[mol-card]',
73
+ standalone: true,
74
+ inputs: ['variant', 'interactive', 'padding', 'className', 'style', 'testId'],
75
+ host: {
76
+ '[class]': 'classes()',
77
+ '[style]': 'hostStyle()',
78
+ '[attr.data-testid]': 'testId',
79
+ '[attr.role]': 'interactive ? "button" : null',
80
+ '[attr.tabindex]': 'interactive ? 0 : null',
81
+ },
82
+ template: `<ng-content></ng-content>`,
83
+ }]
84
+ }], null, null); })();
85
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Card, { className: "Card", filePath: "components/card.component.ts", lineNumber: 41 }); })();
86
+ /**
87
+ * Card header.
88
+ */
89
+ export class CardHeader {
90
+ /** Extra classes. */
91
+ className;
92
+ /**
93
+ * The current class map.
94
+ * @returns The UIClassMap.
95
+ */
96
+ cm() {
97
+ return getClassMap();
98
+ }
99
+ /**
100
+ * Computes the class list.
101
+ * @returns The class string.
102
+ */
103
+ classes() {
104
+ return this.cm().cn(this.cm().cardHeader, this.className);
105
+ }
106
+ static ɵfac = function CardHeader_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CardHeader)(); };
107
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardHeader, selectors: [["div", "mol-card-header", ""]], hostVars: 2, hostBindings: function CardHeader_HostBindings(rf, ctx) { if (rf & 2) {
108
+ i0.ɵɵclassMap(ctx.classes());
109
+ } }, inputs: { className: "className" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function CardHeader_Template(rf, ctx) { if (rf & 1) {
110
+ i0.ɵɵprojectionDef();
111
+ i0.ɵɵprojection(0);
112
+ } }, encapsulation: 2 });
113
+ }
114
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardHeader, [{
115
+ type: Component,
116
+ args: [{
117
+ selector: 'div[mol-card-header]',
118
+ standalone: true,
119
+ inputs: ['className'],
120
+ host: {
121
+ '[class]': 'classes()',
122
+ },
123
+ template: `<ng-content></ng-content>`,
124
+ }]
125
+ }], null, null); })();
126
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CardHeader, { className: "CardHeader", filePath: "components/card.component.ts", lineNumber: 98 }); })();
127
+ /**
128
+ * Card title (an `h3`).
129
+ */
130
+ export class CardTitle {
131
+ /** Extra classes. */
132
+ className;
133
+ /**
134
+ * The current class map.
135
+ * @returns The UIClassMap.
136
+ */
137
+ cm() {
138
+ return getClassMap();
139
+ }
140
+ /**
141
+ * Computes the class list.
142
+ * @returns The class string.
143
+ */
144
+ classes() {
145
+ return this.cm().cn(this.cm().cardTitle, this.className);
146
+ }
147
+ static ɵfac = function CardTitle_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CardTitle)(); };
148
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardTitle, selectors: [["h3", "mol-card-title", ""]], hostVars: 2, hostBindings: function CardTitle_HostBindings(rf, ctx) { if (rf & 2) {
149
+ i0.ɵɵclassMap(ctx.classes());
150
+ } }, inputs: { className: "className" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function CardTitle_Template(rf, ctx) { if (rf & 1) {
151
+ i0.ɵɵprojectionDef();
152
+ i0.ɵɵprojection(0);
153
+ } }, encapsulation: 2 });
154
+ }
155
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardTitle, [{
156
+ type: Component,
157
+ args: [{
158
+ selector: 'h3[mol-card-title]',
159
+ standalone: true,
160
+ inputs: ['className'],
161
+ host: {
162
+ '[class]': 'classes()',
163
+ },
164
+ template: `<ng-content></ng-content>`,
165
+ }]
166
+ }], null, null); })();
167
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CardTitle, { className: "CardTitle", filePath: "components/card.component.ts", lineNumber: 131 }); })();
168
+ /**
169
+ * Card description (a `p`).
170
+ */
171
+ export class CardDescription {
172
+ /** Extra classes. */
173
+ className;
174
+ /**
175
+ * The current class map.
176
+ * @returns The UIClassMap.
177
+ */
178
+ cm() {
179
+ return getClassMap();
180
+ }
181
+ /**
182
+ * Computes the class list.
183
+ * @returns The class string.
184
+ */
185
+ classes() {
186
+ return this.cm().cn(this.cm().cardDescription, this.className);
187
+ }
188
+ static ɵfac = function CardDescription_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CardDescription)(); };
189
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardDescription, selectors: [["p", "mol-card-description", ""]], hostVars: 2, hostBindings: function CardDescription_HostBindings(rf, ctx) { if (rf & 2) {
190
+ i0.ɵɵclassMap(ctx.classes());
191
+ } }, inputs: { className: "className" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function CardDescription_Template(rf, ctx) { if (rf & 1) {
192
+ i0.ɵɵprojectionDef();
193
+ i0.ɵɵprojection(0);
194
+ } }, encapsulation: 2 });
195
+ }
196
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardDescription, [{
197
+ type: Component,
198
+ args: [{
199
+ selector: 'p[mol-card-description]',
200
+ standalone: true,
201
+ inputs: ['className'],
202
+ host: {
203
+ '[class]': 'classes()',
204
+ },
205
+ template: `<ng-content></ng-content>`,
206
+ }]
207
+ }], null, null); })();
208
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CardDescription, { className: "CardDescription", filePath: "components/card.component.ts", lineNumber: 164 }); })();
209
+ /**
210
+ * Card content.
211
+ */
212
+ export class CardContent {
213
+ /** Extra classes. */
214
+ className;
215
+ /**
216
+ * The current class map.
217
+ * @returns The UIClassMap.
218
+ */
219
+ cm() {
220
+ return getClassMap();
221
+ }
222
+ /**
223
+ * Computes the class list.
224
+ * @returns The class string.
225
+ */
226
+ classes() {
227
+ return this.cm().cn(this.cm().cardContent, this.className);
228
+ }
229
+ static ɵfac = function CardContent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CardContent)(); };
230
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardContent, selectors: [["div", "mol-card-content", ""]], hostVars: 2, hostBindings: function CardContent_HostBindings(rf, ctx) { if (rf & 2) {
231
+ i0.ɵɵclassMap(ctx.classes());
232
+ } }, inputs: { className: "className" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function CardContent_Template(rf, ctx) { if (rf & 1) {
233
+ i0.ɵɵprojectionDef();
234
+ i0.ɵɵprojection(0);
235
+ } }, encapsulation: 2 });
236
+ }
237
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardContent, [{
238
+ type: Component,
239
+ args: [{
240
+ selector: 'div[mol-card-content]',
241
+ standalone: true,
242
+ inputs: ['className'],
243
+ host: {
244
+ '[class]': 'classes()',
245
+ },
246
+ template: `<ng-content></ng-content>`,
247
+ }]
248
+ }], null, null); })();
249
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CardContent, { className: "CardContent", filePath: "components/card.component.ts", lineNumber: 197 }); })();
250
+ /**
251
+ * Card footer.
252
+ */
253
+ export class CardFooter {
254
+ /** Extra classes. */
255
+ className;
256
+ /**
257
+ * The current class map.
258
+ * @returns The UIClassMap.
259
+ */
260
+ cm() {
261
+ return getClassMap();
262
+ }
263
+ /**
264
+ * Computes the class list.
265
+ * @returns The class string.
266
+ */
267
+ classes() {
268
+ return this.cm().cn(this.cm().cardFooter, this.className);
269
+ }
270
+ static ɵfac = function CardFooter_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CardFooter)(); };
271
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardFooter, selectors: [["div", "mol-card-footer", ""]], hostVars: 2, hostBindings: function CardFooter_HostBindings(rf, ctx) { if (rf & 2) {
272
+ i0.ɵɵclassMap(ctx.classes());
273
+ } }, inputs: { className: "className" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function CardFooter_Template(rf, ctx) { if (rf & 1) {
274
+ i0.ɵɵprojectionDef();
275
+ i0.ɵɵprojection(0);
276
+ } }, encapsulation: 2 });
277
+ }
278
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardFooter, [{
279
+ type: Component,
280
+ args: [{
281
+ selector: 'div[mol-card-footer]',
282
+ standalone: true,
283
+ inputs: ['className'],
284
+ host: {
285
+ '[class]': 'classes()',
286
+ },
287
+ template: `<ng-content></ng-content>`,
288
+ }]
289
+ }], null, null); })();
290
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CardFooter, { className: "CardFooter", filePath: "components/card.component.ts", lineNumber: 230 }); })();
291
+ //# sourceMappingURL=card.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.component.js","sourceRoot":"","sources":["../../src/components/card.component.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAGzC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;;;AAEjD,sDAAsD;AACtD,MAAM,WAAW,GAAiE;IAChF,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,SAAS;IACnB,MAAM,EAAE,SAAS;CAClB,CAAA;AAED;;;;;GAKG;AAcH,MAAM,OAAO,IAAI;IACf,oBAAoB;IACpB,OAAO,GAA6D,UAAU,CAAA;IAC9E,gDAAgD;IAChD,WAAW,CAAU;IACrB,oDAAoD;IACpD,OAAO,GAAgC,IAAI,CAAA;IAC3C,qBAAqB;IACrB,SAAS,CAAS;IAClB,6CAA6C;IAC7C,KAAK,CAA0B;IAC/B,qBAAqB;IACrB,MAAM,CAAS;IAEf;;;OAGG;IACH,EAAE;QACA,OAAO,WAAW,EAAE,CAAA;IACtB,CAAC;IAED;;;OAGG;IACH,OAAO;QACL,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,KAAK,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QACvF,OAAO,IAAI,CAAC,EAAE,EAAE,CAAC,EAAE,CACjB,IAAI,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,CAAC,EACnE,YAAY,EACZ,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,EAC7C,IAAI,CAAC,SAAS,CACf,CAAA;IACH,CAAC;IAED;;;OAGG;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S,CAAS;IAElB;;;OAGG;IACH,EAAE;QACA,OAAO,WAAW,EAAE,CAAA;IACtB,CAAC;IAED;;;OAGG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,WAAW,EAAE,IAAI,CAAC,SAAS,CAAC,CAAA;IAC5D,CAAC;qGAlBU,WAAW;6DAAX,WAAW;YAAX,cAAA,aAAS,CAAE;;;YAFX,kBAAyB;;;iFAEzB,WAAW;cATvB,SAAS;eAAC;gBACT,QAAQ,EAAE,uBAAuB;gBACjC,UAAU,EAAE,IAAI;gBAChB,MAAM,EAAE,CAAC,WAAW,CAAC;gBACrB,IAAI,EAAE;oBACJ,SAAS,EAAE,WAAW;iBACvB;gBACD,QAAQ,EAAE,2BAA2B;aACtC;;kFACY,WAAW;AAqBxB;;GAEG;AAUH,MAAM,OAAO,UAAU;IACrB,qBAAqB;IACrB,SAAS,CAAS;IAElB;;;OAGG;IACH,EAAE;QACA,OAAO,WAAW,EAAE,CAAA;IACtB,CAAC;IAED;;;OAGG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,CAAA;IAC3D,CAAC;oGAlBU,UAAU;6DAAV,UAAU;YAAV,cAAA,aAAS,CAAC;;;YAFV,kBAAyB;;;iFAEzB,UAAU;cATtB,SAAS;eAAC;gBACT,QAAQ,EAAE,sBAAsB;gBAChC,UAAU,EAAE,IAAI;gBAChB,MAAM,EAAE,CAAC,WAAW,CAAC;gBACrB,IAAI,EAAE;oBACJ,SAAS,EAAE,WAAW;iBACvB;gBACD,QAAQ,EAAE,2BAA2B;aACtC;;kFACY,UAAU"}
@@ -1,53 +1,126 @@
1
1
  /**
2
- * Angular Checkbox UI component with UIClassMap-driven styling.
2
+ * Checkbox component (React parity).
3
3
  *
4
4
  * @module
5
5
  */
6
- import { EventEmitter } from '@angular/core';
7
- import type { Size, UIClassMap } from '@molecule/app-ui';
6
+ import { type AfterViewChecked, ElementRef, EventEmitter } from '@angular/core';
7
+ import type { UIClassMap } from '@molecule/app-ui';
8
+ import type { FormFieldContext } from '../utilities/form-field-context.js';
8
9
  import * as i0 from "@angular/core";
9
10
  /**
10
- * Angular Checkbox UI component with UIClassMap-driven styling.
11
+ * Checkbox component.
12
+ *
13
+ * The host is the `div.formFieldWrapper` React renders. The error message is
14
+ * programmatically associated with the input through `aria-describedby`;
15
+ * the input is React's `...rest` spread target, so rest attributes move
16
+ * there at view init.
11
17
  */
12
- export declare class MoleculeCheckbox {
13
- label?: string;
14
- checked: boolean;
15
- indeterminate: boolean;
16
- size?: Size;
18
+ export declare class Checkbox implements AfterViewChecked {
19
+ /** Checkbox label (text, or projected `[slot=label]` nodes). */
20
+ label?: unknown;
21
+ /** Whether the checkbox is checked. */
22
+ checked?: boolean;
23
+ /** Whether the checkbox renders the indeterminate state. */
24
+ indeterminate?: boolean;
25
+ /** Checkbox size (kept for prop parity). */
26
+ size?: unknown;
27
+ /** Error message (renders and associates via aria-describedby). */
17
28
  error?: string;
29
+ /** Extra classes joined onto the checkbox classes. */
18
30
  className?: string;
19
- style?: Record<string, string>;
31
+ /** Inline style object (React camelCase). */
32
+ style?: Record<string, unknown>;
33
+ /** `data-testid` for the input. */
20
34
  testId?: string;
21
- disabled: boolean;
35
+ /** Disables the checkbox. */
36
+ disabled?: boolean;
37
+ /** Form field name. */
22
38
  name?: string;
39
+ /** Explicit id (defaults to the name). */
23
40
  id?: string;
24
- handleChange: EventEmitter<Event>;
41
+ /** Uncontrolled initial checked state (renders as the checked attribute). */
42
+ defaultChecked?: boolean;
43
+ /**
44
+ * The controlled-or-default checked state (React: `checked ?? defaultChecked`).
45
+ * @returns True when the checked attribute renders.
46
+ */
47
+ isChecked(): boolean;
48
+ /** The genuine native `change` event. */
49
+ readonly change: EventEmitter<Event>;
50
+ /** The native input (React's `...rest` spread target). */
51
+ input?: ElementRef<HTMLInputElement>;
52
+ /** The label text wrapper. */
53
+ labelSlot?: ElementRef<HTMLSpanElement>;
54
+ private readonly host;
55
+ /** The `aria-describedby` the caller spread onto the host (React's rest). */
56
+ private restDescribedBy;
57
+ /** Whether the rest-describedby value was captured. */
58
+ private restDescribedByCaptured;
59
+ private readonly sync;
60
+ private hasLabel;
61
+ private syncIndeterminate;
62
+ /**
63
+ * The current class map.
64
+ * @returns The UIClassMap.
65
+ */
66
+ cm(): UIClassMap;
67
+ /**
68
+ * The id of the label-side element (`id` or `name`).
69
+ * @returns The id value or undefined.
70
+ */
71
+ checkboxId(): string | undefined;
72
+ /**
73
+ * The error message id (a stable generated id, renumbered consistently by
74
+ * the DOM normalizer like React's `useId`).
75
+ * @returns The error element id.
76
+ */
77
+ errorId(): string;
78
+ /**
79
+ * The nearest enclosing `FormField` context (React's cloned props).
80
+ * @returns The context, or null.
81
+ */
82
+ fieldContext(): FormFieldContext | null;
83
+ /**
84
+ * The final `aria-describedby`: the enclosing FormField's error/hint
85
+ * target, then this checkbox's own error (React's cloneElement join).
86
+ * @returns The attribute value, or null.
87
+ */
88
+ mergedDescribedBy(): string | null;
25
89
  /**
26
- * Retrieves the current UI class map.
27
- * @returns The UIClassMap instance for styling.
90
+ * Computes the checkbox class list.
91
+ * @returns The class string.
28
92
  */
29
- get cm(): UIClassMap;
93
+ classes(): string;
30
94
  /**
31
- * Resolves the checkbox input element ID.
32
- * @returns The resolved ID from the id or name input.
95
+ * Serializes the inline style for the input.
96
+ * @returns The style attribute text.
33
97
  */
34
- get checkboxId(): string;
98
+ hostStyle(): string | null;
35
99
  /**
36
- * Computes the combined CSS classes for the checkbox input.
37
- * @returns The checkbox class name string.
100
+ * React's checkbox `onChange` fires on the checkbox's CLICK event (React's
101
+ * change-event plugin maps checkbox/radio changes to the click), so the
102
+ * click event object is what callers receive.
103
+ *
104
+ * @param event - The native click event.
38
105
  */
39
- get checkboxClasses(): string;
106
+ handleClick(event: Event): void;
40
107
  /**
41
- * Computes the CSS classes for the checkbox label text.
42
- * @returns The label class name string.
108
+ * A native change that did not come from this tick's click (a synthetic
109
+ * `dispatchEvent`) is forwarded like React would; the event never reaches
110
+ * the host, where the `change` output binding would record it twice. A
111
+ * CONTROLLED checkbox (`checked` prop given) is restored to the prop value
112
+ * afterwards, exactly like React's controlled-input state restore.
113
+ *
114
+ * @param event - The native change event.
43
115
  */
44
- get labelClasses(): string;
116
+ handleChange(event: Event): void;
117
+ private justClicked;
45
118
  /**
46
- * Computes the CSS classes for the error message.
47
- * @returns The error class name string.
119
+ * Applies the indeterminate DOM flag (a property, not an attribute) and
120
+ * React's `{!!label && <span>}` label condition.
48
121
  */
49
- get errorClasses(): string;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<MoleculeCheckbox, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<MoleculeCheckbox, "mol-checkbox", never, { "label": { "alias": "label"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "size": { "alias": "size"; "required": false; }; "error": { "alias": "error"; "required": false; }; "className": { "alias": "className"; "required": false; }; "style": { "alias": "style"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "handleChange": "handleChange"; }, never, never, true, never>;
122
+ ngAfterViewChecked(): void;
123
+ static ɵfac: i0.ɵɵFactoryDeclaration<Checkbox, never>;
124
+ static ɵcmp: i0.ɵɵComponentDeclaration<Checkbox, "div[mol-checkbox]", never, { "label": { "alias": "label"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "size": { "alias": "size"; "required": false; }; "error": { "alias": "error"; "required": false; }; "className": { "alias": "className"; "required": false; }; "style": { "alias": "style"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "defaultChecked": { "alias": "defaultChecked"; "required": false; }; }, { "change": "change"; }, never, ["[slot=label]"], true, never>;
52
125
  }
53
126
  //# sourceMappingURL=checkbox.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.component.d.ts","sourceRoot":"","sources":["../../src/components/checkbox.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAsC,YAAY,EAAiB,MAAM,eAAe,CAAA;AAE/F,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;AAGxD;;GAEG;AACH,qBAiCa,gBAAgB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,UAAQ;IACf,aAAa,UAAQ;IACrB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,UAAQ;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IAEV,YAAY,sBAA4B;IAElD;;;OAGG;IACH,IAAI,EAAE,IAAI,UAAU,CAEnB;IAED;;;OAGG;IACH,IAAI,UAAU,IAAI,MAAM,CAEvB;IAED;;;OAGG;IACH,IAAI,eAAe,IAAI,MAAM,CAE5B;IAED;;;OAGG;IACH,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED;;;OAGG;IACH,IAAI,YAAY,IAAI,MAAM,CAEzB;yCArDU,gBAAgB;2CAAhB,gBAAgB;CAsD5B"}
1
+ {"version":3,"file":"checkbox.component.d.ts","sourceRoot":"","sources":["../../src/components/checkbox.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,KAAK,gB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