@4sh/ui-kit 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/README.fr.md +10 -8
  2. package/README.md +10 -8
  3. package/collection.json +20 -0
  4. package/fesm2022/{4sh-ui-kit-ui-button-split.mjs → 4sh-ui-kit-actions-ui-button-split.mjs} +6 -6
  5. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -0
  6. package/fesm2022/{4sh-ui-kit-ui-button.mjs → 4sh-ui-kit-actions-ui-button.mjs} +5 -5
  7. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -0
  8. package/fesm2022/{4sh-ui-kit-ui-link.mjs → 4sh-ui-kit-actions-ui-link.mjs} +5 -5
  9. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -0
  10. package/fesm2022/{4sh-ui-kit-ui-icon.mjs → 4sh-ui-kit-base-ui-icon.mjs} +4 -4
  11. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -0
  12. package/fesm2022/{4sh-ui-kit-ui-image.mjs → 4sh-ui-kit-base-ui-image.mjs} +5 -5
  13. package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -0
  14. package/fesm2022/{4sh-ui-kit-ui-autocomplete.mjs → 4sh-ui-kit-forms-ui-autocomplete.mjs} +8 -8
  15. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -0
  16. package/fesm2022/{4sh-ui-kit-ui-checkbox.mjs → 4sh-ui-kit-forms-ui-checkbox.mjs} +5 -5
  17. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -0
  18. package/fesm2022/{4sh-ui-kit-ui-datepicker.mjs → 4sh-ui-kit-forms-ui-datepicker.mjs} +15 -9
  19. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -0
  20. package/fesm2022/{4sh-ui-kit-ui-field.mjs → 4sh-ui-kit-forms-ui-field.mjs} +6 -6
  21. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -0
  22. package/fesm2022/{4sh-ui-kit-ui-file-upload.mjs → 4sh-ui-kit-forms-ui-file-upload.mjs} +11 -11
  23. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -0
  24. package/fesm2022/{4sh-ui-kit-ui-input-group.mjs → 4sh-ui-kit-forms-ui-input-group.mjs} +7 -7
  25. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -0
  26. package/fesm2022/{4sh-ui-kit-ui-input-mask.mjs → 4sh-ui-kit-forms-ui-input-mask.mjs} +6 -6
  27. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -0
  28. package/fesm2022/{4sh-ui-kit-ui-input-number.mjs → 4sh-ui-kit-forms-ui-input-number.mjs} +6 -6
  29. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -0
  30. package/fesm2022/{4sh-ui-kit-ui-input-otp.mjs → 4sh-ui-kit-forms-ui-input-otp.mjs} +4 -4
  31. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -0
  32. package/fesm2022/{4sh-ui-kit-ui-input-tags.mjs → 4sh-ui-kit-forms-ui-input-tags.mjs} +7 -7
  33. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -0
  34. package/fesm2022/{4sh-ui-kit-ui-input.mjs → 4sh-ui-kit-forms-ui-input.mjs} +6 -6
  35. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -0
  36. package/fesm2022/{4sh-ui-kit-ui-label.mjs → 4sh-ui-kit-forms-ui-label.mjs} +4 -4
  37. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs.map +1 -0
  38. package/fesm2022/{4sh-ui-kit-ui-nudger.mjs → 4sh-ui-kit-forms-ui-nudger.mjs} +5 -5
  39. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -0
  40. package/fesm2022/{4sh-ui-kit-ui-radio.mjs → 4sh-ui-kit-forms-ui-radio.mjs} +4 -4
  41. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -0
  42. package/fesm2022/{4sh-ui-kit-ui-rating.mjs → 4sh-ui-kit-forms-ui-rating.mjs} +5 -5
  43. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -0
  44. package/fesm2022/{4sh-ui-kit-ui-segment-control.mjs → 4sh-ui-kit-forms-ui-segment-control.mjs} +5 -5
  45. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -0
  46. package/fesm2022/{4sh-ui-kit-ui-select.mjs → 4sh-ui-kit-forms-ui-select.mjs} +7 -7
  47. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -0
  48. package/fesm2022/{4sh-ui-kit-ui-slider.mjs → 4sh-ui-kit-forms-ui-slider.mjs} +4 -4
  49. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -0
  50. package/fesm2022/{4sh-ui-kit-ui-textarea.mjs → 4sh-ui-kit-forms-ui-textarea.mjs} +5 -5
  51. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -0
  52. package/fesm2022/{4sh-ui-kit-ui-toggle.mjs → 4sh-ui-kit-forms-ui-toggle.mjs} +4 -4
  53. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -0
  54. package/fesm2022/4sh-ui-kit-forms.mjs +28 -11
  55. package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
  56. package/fesm2022/{4sh-ui-kit-ui-accordion.mjs → 4sh-ui-kit-informative-ui-accordion.mjs} +15 -15
  57. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -0
  58. package/fesm2022/{4sh-ui-kit-ui-alert.mjs → 4sh-ui-kit-informative-ui-alert.mjs} +5 -5
  59. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -0
  60. package/fesm2022/{4sh-ui-kit-ui-avatar-group.mjs → 4sh-ui-kit-informative-ui-avatar-group.mjs} +4 -4
  61. package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs.map +1 -0
  62. package/fesm2022/{4sh-ui-kit-ui-avatar.mjs → 4sh-ui-kit-informative-ui-avatar.mjs} +5 -5
  63. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs.map +1 -0
  64. package/fesm2022/{4sh-ui-kit-ui-badge.mjs → 4sh-ui-kit-informative-ui-badge.mjs} +5 -5
  65. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -0
  66. package/fesm2022/{4sh-ui-kit-ui-chip.mjs → 4sh-ui-kit-informative-ui-chip.mjs} +5 -5
  67. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -0
  68. package/fesm2022/{4sh-ui-kit-ui-empty-state.mjs → 4sh-ui-kit-informative-ui-empty-state.mjs} +11 -11
  69. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs.map +1 -0
  70. package/fesm2022/{4sh-ui-kit-ui-helper.mjs → 4sh-ui-kit-informative-ui-helper.mjs} +5 -5
  71. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs.map +1 -0
  72. package/fesm2022/{4sh-ui-kit-ui-progress-bar.mjs → 4sh-ui-kit-informative-ui-progress-bar.mjs} +4 -4
  73. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -0
  74. package/fesm2022/{4sh-ui-kit-ui-read-only.mjs → 4sh-ui-kit-informative-ui-read-only.mjs} +5 -5
  75. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -0
  76. package/fesm2022/{4sh-ui-kit-ui-separator.mjs → 4sh-ui-kit-informative-ui-separator.mjs} +4 -4
  77. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs.map +1 -0
  78. package/fesm2022/{4sh-ui-kit-ui-skeleton.mjs → 4sh-ui-kit-informative-ui-skeleton.mjs} +4 -4
  79. package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs.map +1 -0
  80. package/fesm2022/{4sh-ui-kit-ui-spinner.mjs → 4sh-ui-kit-informative-ui-spinner.mjs} +5 -5
  81. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -0
  82. package/fesm2022/{4sh-ui-kit-ui-tag.mjs → 4sh-ui-kit-informative-ui-tag.mjs} +5 -5
  83. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -0
  84. package/fesm2022/{4sh-ui-kit-ui-toast.mjs → 4sh-ui-kit-informative-ui-toast.mjs} +11 -11
  85. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -0
  86. package/fesm2022/{4sh-ui-kit-ui-tooltip.mjs → 4sh-ui-kit-informative-ui-tooltip.mjs} +7 -7
  87. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -0
  88. package/fesm2022/{4sh-ui-kit-ui-card.mjs → 4sh-ui-kit-layout-ui-card.mjs} +16 -16
  89. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -0
  90. package/fesm2022/{4sh-ui-kit-ui-drawer.mjs → 4sh-ui-kit-layout-ui-drawer.mjs} +5 -5
  91. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -0
  92. package/fesm2022/{4sh-ui-kit-ui-modal.mjs → 4sh-ui-kit-layout-ui-modal.mjs} +5 -5
  93. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -0
  94. package/fesm2022/{4sh-ui-kit-ui-popover.mjs → 4sh-ui-kit-layout-ui-popover.mjs} +4 -4
  95. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -0
  96. package/fesm2022/4sh-ui-kit-motion.mjs +3 -3
  97. package/fesm2022/{4sh-ui-kit-ui-breadcrumb.mjs → 4sh-ui-kit-navigation-ui-breadcrumb.mjs} +5 -5
  98. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -0
  99. package/fesm2022/{4sh-ui-kit-ui-context-menu.mjs → 4sh-ui-kit-navigation-ui-context-menu.mjs} +5 -5
  100. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -0
  101. package/fesm2022/{4sh-ui-kit-ui-menu.mjs → 4sh-ui-kit-navigation-ui-menu.mjs} +6 -6
  102. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -0
  103. package/fesm2022/{4sh-ui-kit-ui-sidebar.mjs → 4sh-ui-kit-navigation-ui-sidebar.mjs} +13 -13
  104. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -0
  105. package/fesm2022/{4sh-ui-kit-ui-stepper.mjs → 4sh-ui-kit-navigation-ui-stepper.mjs} +20 -20
  106. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -0
  107. package/fesm2022/{4sh-ui-kit-ui-tabs.mjs → 4sh-ui-kit-navigation-ui-tabs.mjs} +26 -20
  108. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -0
  109. package/fesm2022/{4sh-ui-kit-ui-paginator.mjs → 4sh-ui-kit-table-ui-paginator.mjs} +6 -6
  110. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -0
  111. package/fesm2022/{4sh-ui-kit-ui-table.mjs → 4sh-ui-kit-table-ui-table.mjs} +40 -40
  112. package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -0
  113. package/fesm2022/4sh-ui-kit-theming.mjs +6 -6
  114. package/fesm2022/4sh-ui-kit.mjs +1 -1
  115. package/fesm2022/4sh-ui-kit.mjs.map +1 -1
  116. package/package.json +179 -175
  117. package/schematics/index.cjs +76 -0
  118. package/schematics/schema-add.json +19 -0
  119. package/schematics/schema-ng-add.json +13 -0
  120. package/schematics/schema-update.json +13 -0
  121. package/types/{4sh-ui-kit-ui-button-split.d.ts → 4sh-ui-kit-actions-ui-button-split.d.ts} +2 -2
  122. package/types/{4sh-ui-kit-ui-autocomplete.d.ts → 4sh-ui-kit-forms-ui-autocomplete.d.ts} +1 -1
  123. package/types/{4sh-ui-kit-ui-file-upload.d.ts → 4sh-ui-kit-forms-ui-file-upload.d.ts} +1 -1
  124. package/types/{4sh-ui-kit-ui-input-mask.d.ts → 4sh-ui-kit-forms-ui-input-mask.d.ts} +1 -1
  125. package/types/{4sh-ui-kit-ui-input-tags.d.ts → 4sh-ui-kit-forms-ui-input-tags.d.ts} +1 -1
  126. package/types/{4sh-ui-kit-ui-input.d.ts → 4sh-ui-kit-forms-ui-input.d.ts} +1 -1
  127. package/types/{4sh-ui-kit-ui-nudger.d.ts → 4sh-ui-kit-forms-ui-nudger.d.ts} +1 -1
  128. package/types/{4sh-ui-kit-ui-rating.d.ts → 4sh-ui-kit-forms-ui-rating.d.ts} +1 -1
  129. package/types/{4sh-ui-kit-ui-select.d.ts → 4sh-ui-kit-forms-ui-select.d.ts} +1 -1
  130. package/types/4sh-ui-kit-forms.d.ts +2 -1
  131. package/types/{4sh-ui-kit-ui-avatar.d.ts → 4sh-ui-kit-informative-ui-avatar.d.ts} +1 -1
  132. package/types/{4sh-ui-kit-ui-badge.d.ts → 4sh-ui-kit-informative-ui-badge.d.ts} +1 -1
  133. package/types/{4sh-ui-kit-ui-chip.d.ts → 4sh-ui-kit-informative-ui-chip.d.ts} +1 -1
  134. package/types/{4sh-ui-kit-ui-empty-state.d.ts → 4sh-ui-kit-informative-ui-empty-state.d.ts} +1 -1
  135. package/types/{4sh-ui-kit-ui-spinner.d.ts → 4sh-ui-kit-informative-ui-spinner.d.ts} +1 -1
  136. package/types/{4sh-ui-kit-ui-tag.d.ts → 4sh-ui-kit-informative-ui-tag.d.ts} +1 -1
  137. package/types/{4sh-ui-kit-ui-context-menu.d.ts → 4sh-ui-kit-navigation-ui-context-menu.d.ts} +1 -1
  138. package/types/{4sh-ui-kit-ui-tabs.d.ts → 4sh-ui-kit-navigation-ui-tabs.d.ts} +5 -1
  139. package/types/{4sh-ui-kit-ui-table.d.ts → 4sh-ui-kit-table-ui-table.d.ts} +1 -1
  140. package/fesm2022/4sh-ui-kit-ui-accordion.mjs.map +0 -1
  141. package/fesm2022/4sh-ui-kit-ui-alert.mjs.map +0 -1
  142. package/fesm2022/4sh-ui-kit-ui-autocomplete.mjs.map +0 -1
  143. package/fesm2022/4sh-ui-kit-ui-avatar-group.mjs.map +0 -1
  144. package/fesm2022/4sh-ui-kit-ui-avatar.mjs.map +0 -1
  145. package/fesm2022/4sh-ui-kit-ui-badge.mjs.map +0 -1
  146. package/fesm2022/4sh-ui-kit-ui-breadcrumb.mjs.map +0 -1
  147. package/fesm2022/4sh-ui-kit-ui-button-split.mjs.map +0 -1
  148. package/fesm2022/4sh-ui-kit-ui-button.mjs.map +0 -1
  149. package/fesm2022/4sh-ui-kit-ui-card.mjs.map +0 -1
  150. package/fesm2022/4sh-ui-kit-ui-checkbox.mjs.map +0 -1
  151. package/fesm2022/4sh-ui-kit-ui-chip.mjs.map +0 -1
  152. package/fesm2022/4sh-ui-kit-ui-context-menu.mjs.map +0 -1
  153. package/fesm2022/4sh-ui-kit-ui-datepicker.mjs.map +0 -1
  154. package/fesm2022/4sh-ui-kit-ui-drawer.mjs.map +0 -1
  155. package/fesm2022/4sh-ui-kit-ui-empty-state.mjs.map +0 -1
  156. package/fesm2022/4sh-ui-kit-ui-field.mjs.map +0 -1
  157. package/fesm2022/4sh-ui-kit-ui-file-upload.mjs.map +0 -1
  158. package/fesm2022/4sh-ui-kit-ui-helper.mjs.map +0 -1
  159. package/fesm2022/4sh-ui-kit-ui-icon.mjs.map +0 -1
  160. package/fesm2022/4sh-ui-kit-ui-image.mjs.map +0 -1
  161. package/fesm2022/4sh-ui-kit-ui-input-group.mjs.map +0 -1
  162. package/fesm2022/4sh-ui-kit-ui-input-mask.mjs.map +0 -1
  163. package/fesm2022/4sh-ui-kit-ui-input-number.mjs.map +0 -1
  164. package/fesm2022/4sh-ui-kit-ui-input-otp.mjs.map +0 -1
  165. package/fesm2022/4sh-ui-kit-ui-input-tags.mjs.map +0 -1
  166. package/fesm2022/4sh-ui-kit-ui-input.mjs.map +0 -1
  167. package/fesm2022/4sh-ui-kit-ui-label.mjs.map +0 -1
  168. package/fesm2022/4sh-ui-kit-ui-link.mjs.map +0 -1
  169. package/fesm2022/4sh-ui-kit-ui-menu.mjs.map +0 -1
  170. package/fesm2022/4sh-ui-kit-ui-modal.mjs.map +0 -1
  171. package/fesm2022/4sh-ui-kit-ui-nudger.mjs.map +0 -1
  172. package/fesm2022/4sh-ui-kit-ui-paginator.mjs.map +0 -1
  173. package/fesm2022/4sh-ui-kit-ui-popover.mjs.map +0 -1
  174. package/fesm2022/4sh-ui-kit-ui-progress-bar.mjs.map +0 -1
  175. package/fesm2022/4sh-ui-kit-ui-radio.mjs.map +0 -1
  176. package/fesm2022/4sh-ui-kit-ui-rating.mjs.map +0 -1
  177. package/fesm2022/4sh-ui-kit-ui-read-only.mjs.map +0 -1
  178. package/fesm2022/4sh-ui-kit-ui-segment-control.mjs.map +0 -1
  179. package/fesm2022/4sh-ui-kit-ui-select.mjs.map +0 -1
  180. package/fesm2022/4sh-ui-kit-ui-separator.mjs.map +0 -1
  181. package/fesm2022/4sh-ui-kit-ui-sidebar.mjs.map +0 -1
  182. package/fesm2022/4sh-ui-kit-ui-skeleton.mjs.map +0 -1
  183. package/fesm2022/4sh-ui-kit-ui-slider.mjs.map +0 -1
  184. package/fesm2022/4sh-ui-kit-ui-spinner.mjs.map +0 -1
  185. package/fesm2022/4sh-ui-kit-ui-stepper.mjs.map +0 -1
  186. package/fesm2022/4sh-ui-kit-ui-table.mjs.map +0 -1
  187. package/fesm2022/4sh-ui-kit-ui-tabs.mjs.map +0 -1
  188. package/fesm2022/4sh-ui-kit-ui-tag.mjs.map +0 -1
  189. package/fesm2022/4sh-ui-kit-ui-textarea.mjs.map +0 -1
  190. package/fesm2022/4sh-ui-kit-ui-toast.mjs.map +0 -1
  191. package/fesm2022/4sh-ui-kit-ui-toggle.mjs.map +0 -1
  192. package/fesm2022/4sh-ui-kit-ui-tooltip.mjs.map +0 -1
  193. /package/types/{4sh-ui-kit-ui-button.d.ts → 4sh-ui-kit-actions-ui-button.d.ts} +0 -0
  194. /package/types/{4sh-ui-kit-ui-link.d.ts → 4sh-ui-kit-actions-ui-link.d.ts} +0 -0
  195. /package/types/{4sh-ui-kit-ui-icon.d.ts → 4sh-ui-kit-base-ui-icon.d.ts} +0 -0
  196. /package/types/{4sh-ui-kit-ui-image.d.ts → 4sh-ui-kit-base-ui-image.d.ts} +0 -0
  197. /package/types/{4sh-ui-kit-ui-checkbox.d.ts → 4sh-ui-kit-forms-ui-checkbox.d.ts} +0 -0
  198. /package/types/{4sh-ui-kit-ui-datepicker.d.ts → 4sh-ui-kit-forms-ui-datepicker.d.ts} +0 -0
  199. /package/types/{4sh-ui-kit-ui-field.d.ts → 4sh-ui-kit-forms-ui-field.d.ts} +0 -0
  200. /package/types/{4sh-ui-kit-ui-input-group.d.ts → 4sh-ui-kit-forms-ui-input-group.d.ts} +0 -0
  201. /package/types/{4sh-ui-kit-ui-input-number.d.ts → 4sh-ui-kit-forms-ui-input-number.d.ts} +0 -0
  202. /package/types/{4sh-ui-kit-ui-input-otp.d.ts → 4sh-ui-kit-forms-ui-input-otp.d.ts} +0 -0
  203. /package/types/{4sh-ui-kit-ui-label.d.ts → 4sh-ui-kit-forms-ui-label.d.ts} +0 -0
  204. /package/types/{4sh-ui-kit-ui-radio.d.ts → 4sh-ui-kit-forms-ui-radio.d.ts} +0 -0
  205. /package/types/{4sh-ui-kit-ui-segment-control.d.ts → 4sh-ui-kit-forms-ui-segment-control.d.ts} +0 -0
  206. /package/types/{4sh-ui-kit-ui-slider.d.ts → 4sh-ui-kit-forms-ui-slider.d.ts} +0 -0
  207. /package/types/{4sh-ui-kit-ui-textarea.d.ts → 4sh-ui-kit-forms-ui-textarea.d.ts} +0 -0
  208. /package/types/{4sh-ui-kit-ui-toggle.d.ts → 4sh-ui-kit-forms-ui-toggle.d.ts} +0 -0
  209. /package/types/{4sh-ui-kit-ui-accordion.d.ts → 4sh-ui-kit-informative-ui-accordion.d.ts} +0 -0
  210. /package/types/{4sh-ui-kit-ui-alert.d.ts → 4sh-ui-kit-informative-ui-alert.d.ts} +0 -0
  211. /package/types/{4sh-ui-kit-ui-avatar-group.d.ts → 4sh-ui-kit-informative-ui-avatar-group.d.ts} +0 -0
  212. /package/types/{4sh-ui-kit-ui-helper.d.ts → 4sh-ui-kit-informative-ui-helper.d.ts} +0 -0
  213. /package/types/{4sh-ui-kit-ui-progress-bar.d.ts → 4sh-ui-kit-informative-ui-progress-bar.d.ts} +0 -0
  214. /package/types/{4sh-ui-kit-ui-read-only.d.ts → 4sh-ui-kit-informative-ui-read-only.d.ts} +0 -0
  215. /package/types/{4sh-ui-kit-ui-separator.d.ts → 4sh-ui-kit-informative-ui-separator.d.ts} +0 -0
  216. /package/types/{4sh-ui-kit-ui-skeleton.d.ts → 4sh-ui-kit-informative-ui-skeleton.d.ts} +0 -0
  217. /package/types/{4sh-ui-kit-ui-toast.d.ts → 4sh-ui-kit-informative-ui-toast.d.ts} +0 -0
  218. /package/types/{4sh-ui-kit-ui-tooltip.d.ts → 4sh-ui-kit-informative-ui-tooltip.d.ts} +0 -0
  219. /package/types/{4sh-ui-kit-ui-card.d.ts → 4sh-ui-kit-layout-ui-card.d.ts} +0 -0
  220. /package/types/{4sh-ui-kit-ui-drawer.d.ts → 4sh-ui-kit-layout-ui-drawer.d.ts} +0 -0
  221. /package/types/{4sh-ui-kit-ui-modal.d.ts → 4sh-ui-kit-layout-ui-modal.d.ts} +0 -0
  222. /package/types/{4sh-ui-kit-ui-popover.d.ts → 4sh-ui-kit-layout-ui-popover.d.ts} +0 -0
  223. /package/types/{4sh-ui-kit-ui-breadcrumb.d.ts → 4sh-ui-kit-navigation-ui-breadcrumb.d.ts} +0 -0
  224. /package/types/{4sh-ui-kit-ui-menu.d.ts → 4sh-ui-kit-navigation-ui-menu.d.ts} +0 -0
  225. /package/types/{4sh-ui-kit-ui-sidebar.d.ts → 4sh-ui-kit-navigation-ui-sidebar.d.ts} +0 -0
  226. /package/types/{4sh-ui-kit-ui-stepper.d.ts → 4sh-ui-kit-navigation-ui-stepper.d.ts} +0 -0
  227. /package/types/{4sh-ui-kit-ui-paginator.d.ts → 4sh-ui-kit-table-ui-paginator.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"4sh-ui-kit-informative-ui-spinner.mjs","sources":["../../../projects/ui-kit/informative/ui-spinner/src/lib/ui-spinner.ts","../../../projects/ui-kit/informative/ui-spinner/src/lib/ui-spinner.html","../../../projects/ui-kit/informative/ui-spinner/src/public-api.ts","../../../projects/ui-kit/informative/ui-spinner/src/4sh-ui-kit-informative-ui-spinner.ts"],"sourcesContent":["import { Component, computed, effect, input, signal, TemplateRef } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { UiIcon, UiIconSize } from '@4sh/ui-kit/base/ui-icon';\n\nexport type UiSpinnerSize = 'default' | 'small';\nexport type UiSpinnerOrientation = 'vertical' | 'horizontal';\n\n/** How the animated mark is rendered (derived from which input is set). */\ntype SpinnerMark = 'template' | 'image' | 'icon' | 'svg';\n\n/**\n * ui-spinner — indeterminate loading indicator (headless).\n *\n * Renders a smooth, token-colored circular spinner by default. The animated\n * mark is fully swappable, in priority order:\n * 1. `spinnerTemplate` — any custom content (TemplateRef)\n * 2. `image` — an image URL (e.g. an animated GIF/SVG loader)\n * 3. `icon` — a FontAwesome icon name (rotated by the component)\n * 4. default — a built-in SVG circle (tunable stroke/fill/duration)\n *\n * Accessible: the root is a `role=\"status\"` live region with an accessible\n * name; the mark is decorative (`aria-hidden`). Motion honours the OS\n * reduced-motion preference and the kit-wide `data-motion=\"off\"` switch.\n */\n@Component({\n selector: 'ui-spinner',\n imports: [UiIcon, NgTemplateOutlet],\n templateUrl: './ui-spinner.html',\n styleUrl: './ui-spinner.scss',\n host: {\n '[style.--ui-spinner-duration]': 'animationDuration()',\n },\n})\nexport class UiSpinner {\n /** Size preset (also override the raw box via the `--ui-spinner-size` CSS var). */\n size = input<UiSpinnerSize>('default');\n /** Layout of the mark relative to the label (only relevant when `label` is set). */\n orientation = input<UiSpinnerOrientation>('vertical');\n /** Optional visible loading text, rendered inside the live region. */\n label = input<string>();\n /** Accessible name. Falls back to the visible `label`, then to \"Chargement\". */\n ariaLabel = input<string>();\n\n // --- Swappable mark (priority: template > image > icon > default SVG) ---\n /** Custom mark content; takes precedence over every other mark source. */\n spinnerTemplate = input<TemplateRef<unknown>>();\n /** Image URL used as the mark (shown as-is — carries its own motion). */\n image = input<string>();\n /** Alt text for the image mark (empty = decorative, the default). */\n imageAlt = input<string>('');\n /** FontAwesome icon name used as the mark (rotated by the component). */\n icon = input<string>();\n\n // --- Default SVG circle tuning (ignored by the other marks) ----------\n /** Stroke width of the default circle, in the 0–50 viewBox scale. */\n strokeWidth = input<string | number>(4);\n /** Fill of the default circle (`none` = ring only). */\n fill = input<string>('none');\n /** Duration of one rotation (any CSS time), shared with the icon mark. */\n animationDuration = input<string>('1.2s');\n\n /**\n * Grace delay before the spinner appears, in ms. Prevents a flash of the\n * loader for waits shorter than the delay (a common loading UX best practice).\n */\n delay = input(0);\n\n /** @ignore Visible once the grace delay (if any) has elapsed. */\n protected readonly visible = signal(true);\n\n constructor() {\n // Grace delay: hide until the timer fires. setTimeout (not rAF) so it still\n // resolves in a throttled/background tab. Cleaned up on re-run / destroy.\n effect((onCleanup) => {\n const ms = this.delay();\n if (ms > 0) {\n this.visible.set(false);\n const id = setTimeout(() => this.visible.set(true), ms);\n onCleanup(() => clearTimeout(id));\n } else {\n this.visible.set(true);\n }\n });\n }\n\n /** @ignore Which mark to render. */\n protected readonly markKind = computed<SpinnerMark>(() => {\n if (this.spinnerTemplate()) return 'template';\n if (this.image()) return 'image';\n if (this.icon()) return 'icon';\n return 'svg';\n });\n\n /** @ignore Icon size matching the spinner box (default → xl, small → default). */\n protected readonly iconSize = computed<UiIconSize>(() => (this.size() === 'small' ? 'default' : 'xl'));\n\n /** @ignore Accessible name: explicit, else the visible label reads on its own, else a default. */\n protected readonly rootAriaLabel = computed(() => {\n if (this.ariaLabel()) return this.ariaLabel()!;\n if (this.label()) return null; // visible text is announced by the live region\n return 'Chargement';\n });\n\n /** @ignore */\n protected readonly classes = computed(() => {\n const c = ['ui-spinner'];\n if (this.size() !== 'default') c.push(`_${this.size()}`);\n if (this.orientation() === 'horizontal') c.push('_horizontal');\n return c.join(' ');\n });\n}\n","@if (visible()) {\n <div\n [class]=\"classes()\"\n role=\"status\"\n aria-live=\"polite\"\n [attr.aria-busy]=\"true\"\n [attr.aria-label]=\"rootAriaLabel()\"\n >\n <span class=\"ui-spinner-mark\" aria-hidden=\"true\">\n @switch (markKind()) {\n @case ('template') {\n <ng-container [ngTemplateOutlet]=\"spinnerTemplate()!\" />\n }\n @case ('image') {\n <img class=\"ui-spinner-image\" [src]=\"image()!\" [alt]=\"imageAlt()\" />\n }\n @case ('icon') {\n <span class=\"ui-spinner-spin\">\n <ui-icon [name]=\"icon()!\" [size]=\"iconSize()\" />\n </span>\n }\n @default {\n <svg class=\"ui-spinner-svg\" viewBox=\"0 0 50 50\">\n <circle\n class=\"ui-spinner-circle\"\n cx=\"25\"\n cy=\"25\"\n r=\"20\"\n [attr.fill]=\"fill()\"\n [attr.stroke-width]=\"strokeWidth()\"\n />\n </svg>\n }\n }\n </span>\n\n @if (label(); as text) {\n <span class=\"ui-spinner-label\">{{ text }}</span>\n }\n </div>\n}\n","/*\n * Public API Surface of ui-kit/ui-spinner\n */\n\nexport * from './lib/ui-spinner';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAUA;;;;;;;;;;;;;AAaG;MAUU,SAAS,CAAA;AAqCpB,IAAA,WAAA,GAAA;;QAnCA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAgB,SAAS;iFAAC;;QAEtC,IAAA,CAAA,WAAW,GAAG,KAAK,CAAuB,UAAU;wFAAC;;AAErD,QAAA,IAAA,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;ACFH;;AAEG;;;;"}
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { input, booleanAttribute, computed, isDevMode, effect, Component } from '@angular/core';
3
- import { UiIcon } from '@4sh/ui-kit/ui-icon';
3
+ import { UiIcon } from '@4sh/ui-kit/base/ui-icon';
4
4
 
5
5
  /**
6
6
  * ui-tag — informative label / status pill.
@@ -64,10 +64,10 @@ class UiTag {
64
64
  });
65
65
  }
66
66
  }
67
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiTag, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
68
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: UiTag, isStandalone: true, selector: "ui-tag", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, subLevel: { classPropertyName: "subLevel", publicName: "subLevel", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, iconLeft: { classPropertyName: "iconLeft", publicName: "iconLeft", isSignal: true, isRequired: false, transformFunction: null }, iconRight: { classPropertyName: "iconRight", publicName: "iconRight", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<span [class]=\"classes()\" [attr.aria-label]=\"ariaLabel() ?? null\">\n @if (iconLeft(); as name) {\n <ui-icon class=\"ui-tag-icon\" [name]=\"name\" [size]=\"iconSize()\" />\n }\n @if (hasLabel()) {\n <span class=\"ui-tag-label\">{{ label() }}</span>\n }\n @if (iconRight(); as name) {\n <ui-icon class=\"ui-tag-icon\" [name]=\"name\" [size]=\"iconSize()\" />\n }\n</span>\n", styles: [".ui-tag{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--units-sm);border:var(--stroke-sm) solid transparent;border-radius:var(--radius-full);font-family:var(--fontfamily-base);font-weight:var(--weight-regular);line-height:1;white-space:nowrap;height:var(--size-components-2xs);min-width:var(--size-components-2xs);gap:var(--units-sm);font-size:var(--size-typography-text-default)}.ui-tag-icon{line-height:0;flex:none}.ui-tag-label{display:inline-block}.ui-tag._square{border-radius:var(--radius-sm)}.ui-tag._small{height:22px;min-width:22px;gap:var(--units-xs);font-size:var(--size-typography-text-md)}.ui-tag._default._high{background-color:var(--informative-defaulthigh-surface-default);color:var(--informative-defaulthigh-content-default);border-color:var(--informative-defaulthigh-stroke-default)}.ui-tag._default._low{background-color:var(--informative-defaultlow-surface-default);color:var(--informative-defaultlow-content-default);border-color:var(--informative-defaultlow-stroke-default)}.ui-tag._highlight._high{background-color:var(--informative-highlighthigh-surface-default);color:var(--informative-highlighthigh-content-default);border-color:var(--informative-highlighthigh-stroke-default)}.ui-tag._highlight._low{background-color:var(--informative-highlightlow-surface-default);color:var(--informative-highlightlow-content-default);border-color:var(--informative-highlightlow-stroke-default)}.ui-tag._success._high{background-color:var(--informative-successhigh-surface-default);color:var(--informative-successhigh-content-default);border-color:var(--informative-successhigh-stroke-default)}.ui-tag._success._low{background-color:var(--informative-successlow-surface-default);color:var(--informative-successlow-content-default);border-color:var(--informative-successlow-stroke-default)}.ui-tag._warning._high{background-color:var(--informative-warninghigh-surface-default);color:var(--informative-warninghigh-content-default);border-color:var(--informative-warninghigh-stroke-default)}.ui-tag._warning._low{background-color:var(--informative-warninglow-surface-default);color:var(--informative-warninglow-content-default);border-color:var(--informative-warninglow-stroke-default)}.ui-tag._error._high{background-color:var(--informative-errorhigh-surface-default);color:var(--informative-errorhigh-content-default);border-color:var(--informative-errorhigh-stroke-default)}.ui-tag._error._low{background-color:var(--informative-errorlow-surface-default);color:var(--informative-errorlow-content-default);border-color:var(--informative-errorlow-stroke-default)}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
67
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTag, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
68
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: UiTag, isStandalone: true, selector: "ui-tag", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, subLevel: { classPropertyName: "subLevel", publicName: "subLevel", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, iconLeft: { classPropertyName: "iconLeft", publicName: "iconLeft", isSignal: true, isRequired: false, transformFunction: null }, iconRight: { classPropertyName: "iconRight", publicName: "iconRight", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<span [class]=\"classes()\" [attr.aria-label]=\"ariaLabel() ?? null\">\n @if (iconLeft(); as name) {\n <ui-icon class=\"ui-tag-icon\" [name]=\"name\" [size]=\"iconSize()\" />\n }\n @if (hasLabel()) {\n <span class=\"ui-tag-label\">{{ label() }}</span>\n }\n @if (iconRight(); as name) {\n <ui-icon class=\"ui-tag-icon\" [name]=\"name\" [size]=\"iconSize()\" />\n }\n</span>\n", styles: [".ui-tag{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--units-sm);border:var(--stroke-sm) solid transparent;border-radius:var(--radius-full);font-family:var(--fontfamily-base);font-weight:var(--weight-regular);line-height:1;white-space:nowrap;height:var(--size-components-2xs);min-width:var(--size-components-2xs);gap:var(--units-sm);font-size:var(--size-typography-text-default)}.ui-tag-icon{line-height:0;flex:none}.ui-tag-label{display:inline-block}.ui-tag._square{border-radius:var(--radius-sm)}.ui-tag._small{height:22px;min-width:22px;gap:var(--units-xs);font-size:var(--size-typography-text-md)}.ui-tag._default._high{background-color:var(--informative-defaulthigh-surface-default);color:var(--informative-defaulthigh-content-default);border-color:var(--informative-defaulthigh-stroke-default)}.ui-tag._default._low{background-color:var(--informative-defaultlow-surface-default);color:var(--informative-defaultlow-content-default);border-color:var(--informative-defaultlow-stroke-default)}.ui-tag._highlight._high{background-color:var(--informative-highlighthigh-surface-default);color:var(--informative-highlighthigh-content-default);border-color:var(--informative-highlighthigh-stroke-default)}.ui-tag._highlight._low{background-color:var(--informative-highlightlow-surface-default);color:var(--informative-highlightlow-content-default);border-color:var(--informative-highlightlow-stroke-default)}.ui-tag._success._high{background-color:var(--informative-successhigh-surface-default);color:var(--informative-successhigh-content-default);border-color:var(--informative-successhigh-stroke-default)}.ui-tag._success._low{background-color:var(--informative-successlow-surface-default);color:var(--informative-successlow-content-default);border-color:var(--informative-successlow-stroke-default)}.ui-tag._warning._high{background-color:var(--informative-warninghigh-surface-default);color:var(--informative-warninghigh-content-default);border-color:var(--informative-warninghigh-stroke-default)}.ui-tag._warning._low{background-color:var(--informative-warninglow-surface-default);color:var(--informative-warninglow-content-default);border-color:var(--informative-warninglow-stroke-default)}.ui-tag._error._high{background-color:var(--informative-errorhigh-surface-default);color:var(--informative-errorhigh-content-default);border-color:var(--informative-errorhigh-stroke-default)}.ui-tag._error._low{background-color:var(--informative-errorlow-surface-default);color:var(--informative-errorlow-content-default);border-color:var(--informative-errorlow-stroke-default)}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
69
69
  }
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiTag, decorators: [{
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTag, decorators: [{
71
71
  type: Component,
72
72
  args: [{ selector: 'ui-tag', imports: [UiIcon], template: "<span [class]=\"classes()\" [attr.aria-label]=\"ariaLabel() ?? null\">\n @if (iconLeft(); as name) {\n <ui-icon class=\"ui-tag-icon\" [name]=\"name\" [size]=\"iconSize()\" />\n }\n @if (hasLabel()) {\n <span class=\"ui-tag-label\">{{ label() }}</span>\n }\n @if (iconRight(); as name) {\n <ui-icon class=\"ui-tag-icon\" [name]=\"name\" [size]=\"iconSize()\" />\n }\n</span>\n", styles: [".ui-tag{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--units-sm);border:var(--stroke-sm) solid transparent;border-radius:var(--radius-full);font-family:var(--fontfamily-base);font-weight:var(--weight-regular);line-height:1;white-space:nowrap;height:var(--size-components-2xs);min-width:var(--size-components-2xs);gap:var(--units-sm);font-size:var(--size-typography-text-default)}.ui-tag-icon{line-height:0;flex:none}.ui-tag-label{display:inline-block}.ui-tag._square{border-radius:var(--radius-sm)}.ui-tag._small{height:22px;min-width:22px;gap:var(--units-xs);font-size:var(--size-typography-text-md)}.ui-tag._default._high{background-color:var(--informative-defaulthigh-surface-default);color:var(--informative-defaulthigh-content-default);border-color:var(--informative-defaulthigh-stroke-default)}.ui-tag._default._low{background-color:var(--informative-defaultlow-surface-default);color:var(--informative-defaultlow-content-default);border-color:var(--informative-defaultlow-stroke-default)}.ui-tag._highlight._high{background-color:var(--informative-highlighthigh-surface-default);color:var(--informative-highlighthigh-content-default);border-color:var(--informative-highlighthigh-stroke-default)}.ui-tag._highlight._low{background-color:var(--informative-highlightlow-surface-default);color:var(--informative-highlightlow-content-default);border-color:var(--informative-highlightlow-stroke-default)}.ui-tag._success._high{background-color:var(--informative-successhigh-surface-default);color:var(--informative-successhigh-content-default);border-color:var(--informative-successhigh-stroke-default)}.ui-tag._success._low{background-color:var(--informative-successlow-surface-default);color:var(--informative-successlow-content-default);border-color:var(--informative-successlow-stroke-default)}.ui-tag._warning._high{background-color:var(--informative-warninghigh-surface-default);color:var(--informative-warninghigh-content-default);border-color:var(--informative-warninghigh-stroke-default)}.ui-tag._warning._low{background-color:var(--informative-warninglow-surface-default);color:var(--informative-warninglow-content-default);border-color:var(--informative-warninglow-stroke-default)}.ui-tag._error._high{background-color:var(--informative-errorhigh-surface-default);color:var(--informative-errorhigh-content-default);border-color:var(--informative-errorhigh-stroke-default)}.ui-tag._error._low{background-color:var(--informative-errorlow-surface-default);color:var(--informative-errorlow-content-default);border-color:var(--informative-errorlow-stroke-default)}\n"] }]
73
73
  }], ctorParameters: () => [], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }], subLevel: [{ type: i0.Input, args: [{ isSignal: true, alias: "subLevel", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], iconLeft: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconLeft", required: false }] }], iconRight: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconRight", required: false }] }], rounded: [{ type: i0.Input, args: [{ isSignal: true, alias: "rounded", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }] } });
@@ -81,4 +81,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
81
81
  */
82
82
 
83
83
  export { UiTag };
84
- //# sourceMappingURL=4sh-ui-kit-ui-tag.mjs.map
84
+ //# sourceMappingURL=4sh-ui-kit-informative-ui-tag.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"4sh-ui-kit-informative-ui-tag.mjs","sources":["../../../projects/ui-kit/informative/ui-tag/src/lib/ui-tag.ts","../../../projects/ui-kit/informative/ui-tag/src/lib/ui-tag.html","../../../projects/ui-kit/informative/ui-tag/src/public-api.ts","../../../projects/ui-kit/informative/ui-tag/src/4sh-ui-kit-informative-ui-tag.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n computed,\n effect,\n input,\n isDevMode,\n} from '@angular/core';\nimport { UiIcon, UiIconSize } from '@4sh/ui-kit/base/ui-icon';\nimport { UiFeedbackLevel, UiSubLevel } from '@4sh/ui-kit/types';\n\nexport type TagSize = 'default' | 'small';\n\n/**\n * ui-tag — informative label / status pill.\n *\n * design system: `level` × `subLevel` (informative color families) instead of a\n * flat `severity`, an optional icon on each side, and a pill/square shape.\n *\n * Fully token-driven (like `ui-badge`) — the color families are the built-in\n * customization surface; no per-component CSS hooks.\n */\n@Component({\n selector: 'ui-tag',\n imports: [UiIcon],\n templateUrl: './ui-tag.html',\n styleUrl: './ui-tag.scss',\n})\nexport class UiTag {\n /** Text content of the tag. */\n label = input<string>();\n /** Color family. */\n level = input<UiFeedbackLevel>('default');\n /** Intensity: high (solid) or low (subtle). */\n subLevel = input<UiSubLevel>('high');\n /** Size. */\n size = input<TagSize>('default');\n /** FontAwesome name of the leading icon (optional). */\n iconLeft = input<string>();\n /** FontAwesome name of the trailing icon (optional). */\n iconRight = input<string>();\n /** Pill shape when true (default); rounded-rectangle when false. */\n rounded = input(true, { transform: booleanAttribute });\n /** Accessible name (recommended when the tag has no textual label). */\n ariaLabel = input<string>();\n\n constructor() {\n // A11y safeguard: an icon-only tag needs an accessible name.\n if (isDevMode()) {\n effect(() => {\n if (this.isIconOnly() && !this.ariaLabel()) {\n console.warn('[ui-tag] Tag has no text: provide `label` or `ariaLabel`.');\n }\n });\n }\n }\n\n /** @ignore There is a textual label. */\n protected readonly hasLabel = computed(() => !!this.label()?.length);\n\n /** @ignore At least one icon and no label. */\n protected readonly isIconOnly = computed(\n () => (!!this.iconLeft() || !!this.iconRight()) && !this.hasLabel(),\n );\n\n /** @ignore Icon size derived from the tag size. */\n protected readonly iconSize = computed<UiIconSize>(() => (this.size() === 'small' ? 'sm' : 'md'));\n\n /** @ignore */\n protected readonly classes = computed(() => {\n const c = ['ui-tag', `_${this.level()}`, `_${this.subLevel()}`];\n if (this.size() !== 'default') c.push(`_${this.size()}`);\n if (!this.rounded()) c.push('_square');\n return c.join(' ');\n });\n}\n","<span [class]=\"classes()\" [attr.aria-label]=\"ariaLabel() ?? null\">\n @if (iconLeft(); as name) {\n <ui-icon class=\"ui-tag-icon\" [name]=\"name\" [size]=\"iconSize()\" />\n }\n @if (hasLabel()) {\n <span class=\"ui-tag-label\">{{ label() }}</span>\n }\n @if (iconRight(); as name) {\n <ui-icon class=\"ui-tag-icon\" [name]=\"name\" [size]=\"iconSize()\" />\n }\n</span>\n","/*\n * Public API Surface of ui-kit/ui-tag\n */\n\nexport * from './lib/ui-tag';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAaA;;;;;;;;AAQG;MAOU,KAAK,CAAA;AAkBhB,IAAA,WAAA,GAAA;;AAhBA,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK;6FAAU;;QAEvB,IAAA,CAAA,KAAK,GAAG,KAAK,CAAkB,SAAS;kFAAC;;QAEzC,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAa,MAAM;qFAAC;;QAEpC,IAAA,CAAA,IAAI,GAAG,KAAK,CAAU,SAAS;iFAAC;;AAEhC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK;gGAAU;;AAE1B,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK;iGAAU;;QAE3B,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,IAAI,+EAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;AAEtD,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK;iGAAU;;AAcR,QAAA,IAAA,CAAA,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,MAAM;qFAAC;;QAGjD,IAAA,CAAA,UAAU,GAAG,QAAQ,CACtC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A,okFAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDaY,MAAM,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,QAAA,EAAA,YAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAIL,KAAK,EAAA,UAAA,EAAA,CAAA;kBANjB,SAAS;+BACE,QAAQ,EAAA,OAAA,EACT,CAAC,MAAM,CAAC,EAAA,QAAA,EAAA,wYAAA,EAAA,MAAA,EAAA,CAAA,okFAAA,CAAA,EAAA;;;AExBnB;;AAEG;;ACFH;;AAEG;;;;"}
@@ -2,7 +2,7 @@ import { isPlatformBrowser, NgTemplateOutlet } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
3
  import { input, booleanAttribute, output, computed, Component, signal, Injectable, numberAttribute, inject, PLATFORM_ID, effect, DestroyRef } from '@angular/core';
4
4
  import { UiMotion } from '@4sh/ui-kit/motion';
5
- import { UiIcon } from '@4sh/ui-kit/ui-icon';
5
+ import { UiIcon } from '@4sh/ui-kit/base/ui-icon';
6
6
 
7
7
  /** All positions, in declaration order (handy for stories/docs). */
8
8
  const UI_TOAST_POSITIONS = [
@@ -107,10 +107,10 @@ class UiToast {
107
107
  onClose(event) {
108
108
  this.closed.emit(event);
109
109
  }
110
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiToast, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
111
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: UiToast, isStandalone: true, selector: "ui-toast", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, subLevel: { classPropertyName: "subLevel", publicName: "subLevel", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, closeIcon: { classPropertyName: "closeIcon", publicName: "closeIcon", isSignal: true, isRequired: false, transformFunction: null }, closeAriaLabel: { classPropertyName: "closeAriaLabel", publicName: "closeAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closed: "closed" }, host: { properties: { "style.display": "'inline-flex'", "style.maxWidth": "'100%'" } }, ngImport: i0, template: "<div [class]=\"classes()\" [attr.role]=\"role()\" [attr.aria-live]=\"ariaLive()\" aria-atomic=\"true\">\n @if (iconName(); as name) {\n <span class=\"ui-toast-icon\">\n <ui-icon [name]=\"name\" size=\"md\" />\n </span>\n }\n\n <div class=\"ui-toast-content\">\n @if (title(); as t) {\n <span class=\"ui-toast-title\">{{ t }}</span>\n }\n @if (text(); as txt) {\n <span class=\"ui-toast-text\">{{ txt }}</span>\n }\n <ng-content />\n </div>\n\n @if (closable()) {\n <button\n type=\"button\"\n class=\"ui-toast-close\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"onClose($event)\"\n >\n <ui-icon [name]=\"closeIcon()\" size=\"sm\" />\n </button>\n }\n</div>\n", styles: [".ui-toast{display:inline-flex;align-items:flex-start;gap:var(--units-sm);box-sizing:border-box;width:auto;max-width:100%;padding:var(--units-sm) var(--units-md);border:var(--stroke-default) solid transparent;border-radius:var(--radius-default);background-color:var(--informative-defaulthigh-surface-default);color:var(--informative-defaulthigh-content-default);box-shadow:var(--shadow-default-md);font-family:var(--fontfamily-base)}.ui-toast._expanded{display:flex;width:100%}.ui-toast-icon{flex:0 0 auto;display:flex;align-items:center;padding-top:var(--units-2xs);line-height:0}.ui-toast-content{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:var(--units-2xs);padding-right:var(--units-sm)}.ui-toast-title{font-family:var(--fontfamily-title);font-weight:var(--weight-bold);font-size:var(--size-typography-title-sm);line-height:1.3;overflow-wrap:break-word}.ui-toast-text{font-weight:var(--weight-light);font-size:var(--size-typography-text-md);line-height:1.3;overflow-wrap:break-word}.ui-toast-close{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:var(--radius-xs);background:transparent;color:inherit;line-height:0;cursor:pointer;opacity:.7;transition:opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-toast-close:hover{opacity:1}.ui-toast-close:focus-visible{outline:var(--units-2xs) solid currentColor;outline-offset:.125rem;opacity:1}@media(prefers-reduced-motion:reduce){.ui-toast-close{transition-duration:.01ms}}:root[data-motion=off] .ui-toast-close{transition-duration:.01ms}.ui-toast._default._high{background-color:var(--informative-defaulthigh-surface-default);color:var(--informative-defaulthigh-content-default);border-color:var(--informative-defaulthigh-stroke-default)}.ui-toast._default._low{background-color:var(--informative-defaultlow-surface-default);color:var(--informative-defaultlow-content-default);border-color:var(--informative-defaultlow-stroke-default)}.ui-toast._highlight._high{background-color:var(--informative-highlighthigh-surface-default);color:var(--informative-highlighthigh-content-default);border-color:var(--informative-highlighthigh-stroke-default)}.ui-toast._highlight._low{background-color:var(--informative-highlightlow-surface-default);color:var(--informative-highlightlow-content-default);border-color:var(--informative-highlightlow-stroke-default)}.ui-toast._success._high{background-color:var(--informative-successhigh-surface-default);color:var(--informative-successhigh-content-default);border-color:var(--informative-successhigh-stroke-default)}.ui-toast._success._low{background-color:var(--informative-successlow-surface-default);color:var(--informative-successlow-content-default);border-color:var(--informative-successlow-stroke-default)}.ui-toast._warning._high{background-color:var(--informative-warninghigh-surface-default);color:var(--informative-warninghigh-content-default);border-color:var(--informative-warninghigh-stroke-default)}.ui-toast._warning._low{background-color:var(--informative-warninglow-surface-default);color:var(--informative-warninglow-content-default);border-color:var(--informative-warninglow-stroke-default)}.ui-toast._error._high{background-color:var(--informative-errorhigh-surface-default);color:var(--informative-errorhigh-content-default);border-color:var(--informative-errorhigh-stroke-default)}.ui-toast._error._low{background-color:var(--informative-errorlow-surface-default);color:var(--informative-errorlow-content-default);border-color:var(--informative-errorlow-stroke-default)}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
110
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiToast, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
111
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: UiToast, isStandalone: true, selector: "ui-toast", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, subLevel: { classPropertyName: "subLevel", publicName: "subLevel", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, closeIcon: { classPropertyName: "closeIcon", publicName: "closeIcon", isSignal: true, isRequired: false, transformFunction: null }, closeAriaLabel: { classPropertyName: "closeAriaLabel", publicName: "closeAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closed: "closed" }, host: { properties: { "style.display": "'inline-flex'", "style.maxWidth": "'100%'" } }, ngImport: i0, template: "<div [class]=\"classes()\" [attr.role]=\"role()\" [attr.aria-live]=\"ariaLive()\" aria-atomic=\"true\">\n @if (iconName(); as name) {\n <span class=\"ui-toast-icon\">\n <ui-icon [name]=\"name\" size=\"md\" />\n </span>\n }\n\n <div class=\"ui-toast-content\">\n @if (title(); as t) {\n <span class=\"ui-toast-title\">{{ t }}</span>\n }\n @if (text(); as txt) {\n <span class=\"ui-toast-text\">{{ txt }}</span>\n }\n <ng-content />\n </div>\n\n @if (closable()) {\n <button\n type=\"button\"\n class=\"ui-toast-close\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"onClose($event)\"\n >\n <ui-icon [name]=\"closeIcon()\" size=\"sm\" />\n </button>\n }\n</div>\n", styles: [".ui-toast{display:inline-flex;align-items:flex-start;gap:var(--units-sm);box-sizing:border-box;width:auto;max-width:100%;padding:var(--units-sm) var(--units-md);border:var(--stroke-default) solid transparent;border-radius:var(--radius-default);background-color:var(--informative-defaulthigh-surface-default);color:var(--informative-defaulthigh-content-default);box-shadow:var(--shadow-default-md);font-family:var(--fontfamily-base)}.ui-toast._expanded{display:flex;width:100%}.ui-toast-icon{flex:0 0 auto;display:flex;align-items:center;padding-top:var(--units-2xs);line-height:0}.ui-toast-content{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:var(--units-2xs);padding-right:var(--units-sm)}.ui-toast-title{font-family:var(--fontfamily-title);font-weight:var(--weight-bold);font-size:var(--size-typography-title-sm);line-height:1.3;overflow-wrap:break-word}.ui-toast-text{font-weight:var(--weight-light);font-size:var(--size-typography-text-md);line-height:1.3;overflow-wrap:break-word}.ui-toast-close{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:var(--radius-xs);background:transparent;color:inherit;line-height:0;cursor:pointer;opacity:.7;transition:opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-toast-close:hover{opacity:1}.ui-toast-close:focus-visible{outline:var(--units-2xs) solid currentColor;outline-offset:.125rem;opacity:1}@media(prefers-reduced-motion:reduce){.ui-toast-close{transition-duration:.01ms}}:root[data-motion=off] .ui-toast-close{transition-duration:.01ms}.ui-toast._default._high{background-color:var(--informative-defaulthigh-surface-default);color:var(--informative-defaulthigh-content-default);border-color:var(--informative-defaulthigh-stroke-default)}.ui-toast._default._low{background-color:var(--informative-defaultlow-surface-default);color:var(--informative-defaultlow-content-default);border-color:var(--informative-defaultlow-stroke-default)}.ui-toast._highlight._high{background-color:var(--informative-highlighthigh-surface-default);color:var(--informative-highlighthigh-content-default);border-color:var(--informative-highlighthigh-stroke-default)}.ui-toast._highlight._low{background-color:var(--informative-highlightlow-surface-default);color:var(--informative-highlightlow-content-default);border-color:var(--informative-highlightlow-stroke-default)}.ui-toast._success._high{background-color:var(--informative-successhigh-surface-default);color:var(--informative-successhigh-content-default);border-color:var(--informative-successhigh-stroke-default)}.ui-toast._success._low{background-color:var(--informative-successlow-surface-default);color:var(--informative-successlow-content-default);border-color:var(--informative-successlow-stroke-default)}.ui-toast._warning._high{background-color:var(--informative-warninghigh-surface-default);color:var(--informative-warninghigh-content-default);border-color:var(--informative-warninghigh-stroke-default)}.ui-toast._warning._low{background-color:var(--informative-warninglow-surface-default);color:var(--informative-warninglow-content-default);border-color:var(--informative-warninglow-stroke-default)}.ui-toast._error._high{background-color:var(--informative-errorhigh-surface-default);color:var(--informative-errorhigh-content-default);border-color:var(--informative-errorhigh-stroke-default)}.ui-toast._error._low{background-color:var(--informative-errorlow-surface-default);color:var(--informative-errorlow-content-default);border-color:var(--informative-errorlow-stroke-default)}\n"], dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
112
112
  }
113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiToast, decorators: [{
113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiToast, decorators: [{
114
114
  type: Component,
115
115
  args: [{ selector: 'ui-toast', imports: [UiIcon], host: {
116
116
  // Hug content by default; the container makes it fill the region in banner mode.
@@ -175,10 +175,10 @@ class UiToastService {
175
175
  remove(id) {
176
176
  this._messages.update((list) => list.filter((m) => m.id !== id));
177
177
  }
178
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
179
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiToastService, providedIn: 'root' }); }
178
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
179
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiToastService, providedIn: 'root' }); }
180
180
  }
181
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiToastService, decorators: [{
181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiToastService, decorators: [{
182
182
  type: Injectable,
183
183
  args: [{ providedIn: 'root' }]
184
184
  }] });
@@ -404,10 +404,10 @@ class UiToastContainer {
404
404
  closeFn(message) {
405
405
  return () => this.dismiss(message);
406
406
  }
407
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiToastContainer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
408
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: UiToastContainer, isStandalone: true, selector: "ui-toast-container", inputs: { key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, life: { classPropertyName: "life", publicName: "life", isSignal: true, isRequired: false, transformFunction: null }, expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null }, motion: { classPropertyName: "motion", publicName: "motion", isSignal: true, isRequired: false, transformFunction: null }, motionDisabled: { classPropertyName: "motionDisabled", publicName: "motionDisabled", isSignal: true, isRequired: false, transformFunction: null }, contained: { classPropertyName: "contained", publicName: "contained", isSignal: true, isRequired: false, transformFunction: null }, template: { classPropertyName: "template", publicName: "template", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, stackVisibleLimit: { classPropertyName: "stackVisibleLimit", publicName: "stackVisibleLimit", isSignal: true, isRequired: false, transformFunction: null }, stackGap: { classPropertyName: "stackGap", publicName: "stackGap", isSignal: true, isRequired: false, transformFunction: null }, preventDuplicates: { classPropertyName: "preventDuplicates", publicName: "preventDuplicates", isSignal: true, isRequired: false, transformFunction: null }, autoZIndex: { classPropertyName: "autoZIndex", publicName: "autoZIndex", isSignal: true, isRequired: false, transformFunction: null }, baseZIndex: { classPropertyName: "baseZIndex", publicName: "baseZIndex", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div\n [class]=\"regionClass()\"\n [style.z-index]=\"zIndex()\"\n [style.gap.px]=\"stackGap() ?? null\"\n>\n @for (item of items(); track item.id) {\n <div\n class=\"ui-toast-region-item\"\n [uiMotion]=\"motionPreset()\"\n [motionDisabled]=\"motionDisabled()\"\n #m=\"uiMotion\"\n [animate.enter]=\"m.enter()\"\n [animate.leave]=\"m.leave()\"\n (mouseenter)=\"pause(item.id)\"\n (mouseleave)=\"resume(item.id)\"\n (focusin)=\"pause(item.id)\"\n (focusout)=\"resume(item.id)\"\n >\n <ui-toast\n [level]=\"item.level ?? 'default'\"\n [subLevel]=\"item.subLevel ?? 'high'\"\n [title]=\"template() ? undefined : item.title\"\n [text]=\"template() ? undefined : item.text\"\n [icon]=\"item.icon ?? true\"\n [closable]=\"item.closable ?? true\"\n [expanded]=\"expanded()\"\n [styleClass]=\"item.styleClass\"\n (closed)=\"dismiss(item)\"\n >\n @if (template(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: { $implicit: item, closeFn: closeFn(item) }\" />\n }\n </ui-toast>\n </div>\n }\n</div>\n", styles: [".ui-toast-region{position:fixed;z-index:1100;display:flex;flex-direction:column;gap:var(--units-sm);width:min(22.5rem,100vw - var(--units-lg) * 2);pointer-events:none}.ui-toast-region._contained{position:absolute}.ui-toast-region._expanded{width:min(30rem,100vw - var(--units-lg) * 2)}.ui-toast-region._expanded .ui-toast-region-item>ui-toast{flex:1 1 auto}.ui-toast-region._reverse{flex-direction:column-reverse}.ui-toast-region-item{display:flex;pointer-events:auto}.ui-toast-region._top-left .ui-toast-region-item,.ui-toast-region._bottom-left .ui-toast-region-item{justify-content:flex-start}.ui-toast-region._top-right .ui-toast-region-item,.ui-toast-region._bottom-right .ui-toast-region-item{justify-content:flex-end}.ui-toast-region._top-center .ui-toast-region-item,.ui-toast-region._bottom-center .ui-toast-region-item,.ui-toast-region._center .ui-toast-region-item{justify-content:center}.ui-toast-region._top-left{top:var(--units-lg);left:var(--units-lg)}.ui-toast-region._top-right{top:var(--units-lg);right:var(--units-lg)}.ui-toast-region._top-center{top:var(--units-lg);left:50%;transform:translate(-50%)}.ui-toast-region._bottom-left{bottom:var(--units-lg);left:var(--units-lg)}.ui-toast-region._bottom-right{bottom:var(--units-lg);right:var(--units-lg)}.ui-toast-region._bottom-center{bottom:var(--units-lg);left:50%;transform:translate(-50%)}.ui-toast-region._center{top:50%;left:50%;transform:translate(-50%,-50%)}\n"], dependencies: [{ kind: "component", type: UiToast, selector: "ui-toast", inputs: ["title", "text", "level", "subLevel", "icon", "closable", "closeIcon", "closeAriaLabel", "expanded", "styleClass"], outputs: ["closed"] }, { kind: "directive", type: UiMotion, selector: "[uiMotion]", inputs: ["uiMotion", "motionDuration", "motionDelay", "motionEasing", "motionEnterEasing", "motionLeaveEasing", "motionDistance", "motionScale", "motionDisabled", "motionOnInsert"], exportAs: ["uiMotion"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
407
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiToastContainer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
408
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: UiToastContainer, isStandalone: true, selector: "ui-toast-container", inputs: { key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, life: { classPropertyName: "life", publicName: "life", isSignal: true, isRequired: false, transformFunction: null }, expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null }, motion: { classPropertyName: "motion", publicName: "motion", isSignal: true, isRequired: false, transformFunction: null }, motionDisabled: { classPropertyName: "motionDisabled", publicName: "motionDisabled", isSignal: true, isRequired: false, transformFunction: null }, contained: { classPropertyName: "contained", publicName: "contained", isSignal: true, isRequired: false, transformFunction: null }, template: { classPropertyName: "template", publicName: "template", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, stackVisibleLimit: { classPropertyName: "stackVisibleLimit", publicName: "stackVisibleLimit", isSignal: true, isRequired: false, transformFunction: null }, stackGap: { classPropertyName: "stackGap", publicName: "stackGap", isSignal: true, isRequired: false, transformFunction: null }, preventDuplicates: { classPropertyName: "preventDuplicates", publicName: "preventDuplicates", isSignal: true, isRequired: false, transformFunction: null }, autoZIndex: { classPropertyName: "autoZIndex", publicName: "autoZIndex", isSignal: true, isRequired: false, transformFunction: null }, baseZIndex: { classPropertyName: "baseZIndex", publicName: "baseZIndex", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div\n [class]=\"regionClass()\"\n [style.z-index]=\"zIndex()\"\n [style.gap.px]=\"stackGap() ?? null\"\n>\n @for (item of items(); track item.id) {\n <div\n class=\"ui-toast-region-item\"\n [uiMotion]=\"motionPreset()\"\n [motionDisabled]=\"motionDisabled()\"\n #m=\"uiMotion\"\n [animate.enter]=\"m.enter()\"\n [animate.leave]=\"m.leave()\"\n (mouseenter)=\"pause(item.id)\"\n (mouseleave)=\"resume(item.id)\"\n (focusin)=\"pause(item.id)\"\n (focusout)=\"resume(item.id)\"\n >\n <ui-toast\n [level]=\"item.level ?? 'default'\"\n [subLevel]=\"item.subLevel ?? 'high'\"\n [title]=\"template() ? undefined : item.title\"\n [text]=\"template() ? undefined : item.text\"\n [icon]=\"item.icon ?? true\"\n [closable]=\"item.closable ?? true\"\n [expanded]=\"expanded()\"\n [styleClass]=\"item.styleClass\"\n (closed)=\"dismiss(item)\"\n >\n @if (template(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: { $implicit: item, closeFn: closeFn(item) }\" />\n }\n </ui-toast>\n </div>\n }\n</div>\n", styles: [".ui-toast-region{position:fixed;z-index:1100;display:flex;flex-direction:column;gap:var(--units-sm);width:min(22.5rem,100vw - var(--units-lg) * 2);pointer-events:none}.ui-toast-region._contained{position:absolute}.ui-toast-region._expanded{width:min(30rem,100vw - var(--units-lg) * 2)}.ui-toast-region._expanded .ui-toast-region-item>ui-toast{flex:1 1 auto}.ui-toast-region._reverse{flex-direction:column-reverse}.ui-toast-region-item{display:flex;pointer-events:auto}.ui-toast-region._top-left .ui-toast-region-item,.ui-toast-region._bottom-left .ui-toast-region-item{justify-content:flex-start}.ui-toast-region._top-right .ui-toast-region-item,.ui-toast-region._bottom-right .ui-toast-region-item{justify-content:flex-end}.ui-toast-region._top-center .ui-toast-region-item,.ui-toast-region._bottom-center .ui-toast-region-item,.ui-toast-region._center .ui-toast-region-item{justify-content:center}.ui-toast-region._top-left{top:var(--units-lg);left:var(--units-lg)}.ui-toast-region._top-right{top:var(--units-lg);right:var(--units-lg)}.ui-toast-region._top-center{top:var(--units-lg);left:50%;transform:translate(-50%)}.ui-toast-region._bottom-left{bottom:var(--units-lg);left:var(--units-lg)}.ui-toast-region._bottom-right{bottom:var(--units-lg);right:var(--units-lg)}.ui-toast-region._bottom-center{bottom:var(--units-lg);left:50%;transform:translate(-50%)}.ui-toast-region._center{top:50%;left:50%;transform:translate(-50%,-50%)}\n"], dependencies: [{ kind: "component", type: UiToast, selector: "ui-toast", inputs: ["title", "text", "level", "subLevel", "icon", "closable", "closeIcon", "closeAriaLabel", "expanded", "styleClass"], outputs: ["closed"] }, { kind: "directive", type: UiMotion, selector: "[uiMotion]", inputs: ["uiMotion", "motionDuration", "motionDelay", "motionEasing", "motionEnterEasing", "motionLeaveEasing", "motionDistance", "motionScale", "motionDisabled", "motionOnInsert"], exportAs: ["uiMotion"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
409
409
  }
410
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiToastContainer, decorators: [{
410
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiToastContainer, decorators: [{
411
411
  type: Component,
412
412
  args: [{ selector: 'ui-toast-container', imports: [UiToast, UiMotion, NgTemplateOutlet], template: "<div\n [class]=\"regionClass()\"\n [style.z-index]=\"zIndex()\"\n [style.gap.px]=\"stackGap() ?? null\"\n>\n @for (item of items(); track item.id) {\n <div\n class=\"ui-toast-region-item\"\n [uiMotion]=\"motionPreset()\"\n [motionDisabled]=\"motionDisabled()\"\n #m=\"uiMotion\"\n [animate.enter]=\"m.enter()\"\n [animate.leave]=\"m.leave()\"\n (mouseenter)=\"pause(item.id)\"\n (mouseleave)=\"resume(item.id)\"\n (focusin)=\"pause(item.id)\"\n (focusout)=\"resume(item.id)\"\n >\n <ui-toast\n [level]=\"item.level ?? 'default'\"\n [subLevel]=\"item.subLevel ?? 'high'\"\n [title]=\"template() ? undefined : item.title\"\n [text]=\"template() ? undefined : item.text\"\n [icon]=\"item.icon ?? true\"\n [closable]=\"item.closable ?? true\"\n [expanded]=\"expanded()\"\n [styleClass]=\"item.styleClass\"\n (closed)=\"dismiss(item)\"\n >\n @if (template(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: { $implicit: item, closeFn: closeFn(item) }\" />\n }\n </ui-toast>\n </div>\n }\n</div>\n", styles: [".ui-toast-region{position:fixed;z-index:1100;display:flex;flex-direction:column;gap:var(--units-sm);width:min(22.5rem,100vw - var(--units-lg) * 2);pointer-events:none}.ui-toast-region._contained{position:absolute}.ui-toast-region._expanded{width:min(30rem,100vw - var(--units-lg) * 2)}.ui-toast-region._expanded .ui-toast-region-item>ui-toast{flex:1 1 auto}.ui-toast-region._reverse{flex-direction:column-reverse}.ui-toast-region-item{display:flex;pointer-events:auto}.ui-toast-region._top-left .ui-toast-region-item,.ui-toast-region._bottom-left .ui-toast-region-item{justify-content:flex-start}.ui-toast-region._top-right .ui-toast-region-item,.ui-toast-region._bottom-right .ui-toast-region-item{justify-content:flex-end}.ui-toast-region._top-center .ui-toast-region-item,.ui-toast-region._bottom-center .ui-toast-region-item,.ui-toast-region._center .ui-toast-region-item{justify-content:center}.ui-toast-region._top-left{top:var(--units-lg);left:var(--units-lg)}.ui-toast-region._top-right{top:var(--units-lg);right:var(--units-lg)}.ui-toast-region._top-center{top:var(--units-lg);left:50%;transform:translate(-50%)}.ui-toast-region._bottom-left{bottom:var(--units-lg);left:var(--units-lg)}.ui-toast-region._bottom-right{bottom:var(--units-lg);right:var(--units-lg)}.ui-toast-region._bottom-center{bottom:var(--units-lg);left:50%;transform:translate(-50%)}.ui-toast-region._center{top:50%;left:50%;transform:translate(-50%,-50%)}\n"] }]
413
413
  }], ctorParameters: () => [], propDecorators: { key: [{ type: i0.Input, args: [{ isSignal: true, alias: "key", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], life: [{ type: i0.Input, args: [{ isSignal: true, alias: "life", required: false }] }], expanded: [{ type: i0.Input, args: [{ isSignal: true, alias: "expanded", required: false }] }], motion: [{ type: i0.Input, args: [{ isSignal: true, alias: "motion", required: false }] }], motionDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionDisabled", required: false }] }], contained: [{ type: i0.Input, args: [{ isSignal: true, alias: "contained", required: false }] }], template: [{ type: i0.Input, args: [{ isSignal: true, alias: "template", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], stackVisibleLimit: [{ type: i0.Input, args: [{ isSignal: true, alias: "stackVisibleLimit", required: false }] }], stackGap: [{ type: i0.Input, args: [{ isSignal: true, alias: "stackGap", required: false }] }], preventDuplicates: [{ type: i0.Input, args: [{ isSignal: true, alias: "preventDuplicates", required: false }] }], autoZIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoZIndex", required: false }] }], baseZIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseZIndex", required: false }] }] } });
@@ -421,4 +421,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
421
421
  */
422
422
 
423
423
  export { UI_TOAST_DEFAULT_ICONS, UI_TOAST_POSITIONS, UiToast, UiToastContainer, UiToastService };
424
- //# sourceMappingURL=4sh-ui-kit-ui-toast.mjs.map
424
+ //# sourceMappingURL=4sh-ui-kit-informative-ui-toast.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"4sh-ui-kit-informative-ui-toast.mjs","sources":["../../../projects/ui-kit/informative/ui-toast/src/lib/ui-toast.types.ts","../../../projects/ui-kit/informative/ui-toast/src/lib/ui-toast.ts","../../../projects/ui-kit/informative/ui-toast/src/lib/ui-toast.html","../../../projects/ui-kit/informative/ui-toast/src/lib/ui-toast.service.ts","../../../projects/ui-kit/informative/ui-toast/src/lib/ui-toast-container.ts","../../../projects/ui-kit/informative/ui-toast/src/lib/ui-toast-container.html","../../../projects/ui-kit/informative/ui-toast/src/public-api.ts","../../../projects/ui-kit/informative/ui-toast/src/4sh-ui-kit-informative-ui-toast.ts"],"sourcesContent":["import { UiFeedbackLevel, UiSubLevel } from '@4sh/ui-kit/types';\n\n/** Unique identifier of a toast message (auto-generated when omitted). */\nexport type UiToastId = string | number;\n\n/**\n * Where a {@link UiToastContainer} pins its stack in the viewport.\n */\nexport type UiToastPosition =\n | 'top-left'\n | 'top-center'\n | 'top-right'\n | 'bottom-left'\n | 'bottom-center'\n | 'bottom-right'\n | 'center';\n\n/** All positions, in declaration order (handy for stories/docs). */\nexport const UI_TOAST_POSITIONS: readonly UiToastPosition[] = [\n 'top-left',\n 'top-center',\n 'top-right',\n 'bottom-left',\n 'bottom-center',\n 'bottom-right',\n 'center',\n];\n\n/**\n * A single toast message pushed through the {@link UiToastService}.\n *\n * Only `title`/`text` are typically needed; everything else has a sensible\n * default resolved by the container.\n * remapped to this design system's semantic `level` / `subLevel` vocabulary.\n */\nexport interface UiToastMessage {\n /** Unique id. Auto-generated by the service when omitted. */\n id?: UiToastId;\n /** Routes the message to the container(s) sharing the same `key`. */\n key?: string;\n /** Semantic level (drives colours + default icon). */\n level?: UiFeedbackLevel;\n /** Hierarchical intensity (`high` = solid, `low` = subtle). */\n subLevel?: UiSubLevel;\n /** Bold heading line. */\n title?: string;\n /** Supporting body line. */\n text?: string;\n /**\n * Leading icon: a FontAwesome name to override the level default, `false`\n * to hide it, or omit / `true` for the level's default icon.\n */\n icon?: string | boolean;\n /** Show the dismiss button (default `true`). */\n closable?: boolean;\n /** Never auto-dismiss — the user must close it (default `false`). */\n sticky?: boolean;\n /** Auto-dismiss delay in ms. Falls back to the container `life`. */\n life?: number;\n /** Arbitrary payload forwarded to a custom `template` (custom / action toasts). */\n data?: unknown;\n /** Extra class(es) applied to the toast card for one-off styling. */\n styleClass?: string;\n}\n\n/** Context object handed to a container's custom content `template`. */\nexport interface UiToastTemplateContext {\n /** The message being rendered. */\n $implicit: UiToastMessage;\n /** Dismisses this toast (same as clicking the close button). */\n closeFn: () => void;\n}\n\n/** Default leading icon per semantic level (FontAwesome names, from the Figma source). */\nexport const UI_TOAST_DEFAULT_ICONS: Record<UiFeedbackLevel, string> = {\n default: 'info-circle',\n highlight: 'info-circle',\n success: 'check',\n warning: 'warning',\n error: 'times',\n};\n","import { booleanAttribute, Component, computed, input, output } from '@angular/core';\nimport { UiIcon } from '@4sh/ui-kit/base/ui-icon';\nimport { UiFeedbackLevel, UiSubLevel } from '@4sh/ui-kit/types';\nimport { UI_TOAST_DEFAULT_ICONS } from './ui-toast.types';\n\n/**\n * ui-toast — presentational notification card.\n *\n * Headless & fully token-driven (the `informative` category): surface, content\n * and stroke all come from `--informative-{level}{sub}-*`. It renders the Figma\n * anatomy (leading icon · title/text · dismiss button) and projects `<ng-content>`\n * in the content region for custom bodies or action buttons.\n *\n * Usually rendered for you by {@link UiToastContainer} from a {@link UiToastService}\n * message, but it is a plain standalone card — drop `<ui-toast>` anywhere.\n *\n * @example\n * ```html\n * <ui-toast level=\"success\" title=\"Enregistré\" text=\"Profil mis à jour.\" (closed)=\"…\" />\n * ```\n */\n@Component({\n selector: 'ui-toast',\n imports: [UiIcon],\n templateUrl: './ui-toast.html',\n styleUrl: './ui-toast.scss',\n host: {\n // Hug content by default; the container makes it fill the region in banner mode.\n '[style.display]': \"'inline-flex'\",\n '[style.maxWidth]': \"'100%'\",\n },\n})\nexport class UiToast {\n /** Bold heading line. */\n title = input<string>();\n /** Supporting body line. */\n text = input<string>();\n /** Semantic level — colours + default icon. */\n level = input<UiFeedbackLevel>('default');\n /** Hierarchical intensity (`high` = solid, `low` = subtle). */\n subLevel = input<UiSubLevel>('high');\n /**\n * Leading icon: a FontAwesome name to override the level default, `false`\n * to hide it, or `true` (default) for the level's default icon.\n */\n icon = input<string | boolean>(true);\n /** Show the dismiss button (default `true`). */\n closable = input(true, { transform: booleanAttribute });\n /** FontAwesome name of the dismiss icon. */\n closeIcon = input<string>('times-circle');\n /** Accessible label of the dismiss button. */\n closeAriaLabel = input<string>('Fermer');\n /** Stretch the card to fill its region width (banner-style). */\n expanded = input(false, { transform: booleanAttribute });\n /** Extra class(es) merged onto the card root. */\n styleClass = input<string>();\n\n /** Emitted when the user clicks the dismiss button. */\n closed = output<MouseEvent>();\n\n /** @ignore Resolved leading icon name (null when hidden). */\n protected readonly iconName = computed<string | null>(() => {\n const icon = this.icon();\n if (icon === false) return null;\n if (typeof icon === 'string') return icon;\n return UI_TOAST_DEFAULT_ICONS[this.level()];\n });\n\n /** @ignore ARIA role — assertive alert for error/warning, polite status otherwise\n * (mirrors ui-alert, so a standalone ui-toast self-announces without the container). */\n protected readonly role = computed(() =>\n this.level() === 'error' || this.level() === 'warning' ? 'alert' : 'status',\n );\n\n /** @ignore */\n protected readonly ariaLive = computed(() =>\n this.level() === 'error' || this.level() === 'warning' ? 'assertive' : 'polite',\n );\n\n /** @ignore */\n protected readonly classes = computed(() => {\n const c = ['ui-toast', `_${this.level()}`, `_${this.subLevel()}`];\n if (this.expanded()) c.push('_expanded');\n const sc = this.styleClass();\n if (sc) c.push(sc);\n return c.join(' ');\n });\n\n /** @ignore */\n protected onClose(event: MouseEvent): void {\n this.closed.emit(event);\n }\n}\n","<div [class]=\"classes()\" [attr.role]=\"role()\" [attr.aria-live]=\"ariaLive()\" aria-atomic=\"true\">\n @if (iconName(); as name) {\n <span class=\"ui-toast-icon\">\n <ui-icon [name]=\"name\" size=\"md\" />\n </span>\n }\n\n <div class=\"ui-toast-content\">\n @if (title(); as t) {\n <span class=\"ui-toast-title\">{{ t }}</span>\n }\n @if (text(); as txt) {\n <span class=\"ui-toast-text\">{{ txt }}</span>\n }\n <ng-content />\n </div>\n\n @if (closable()) {\n <button\n type=\"button\"\n class=\"ui-toast-close\"\n [attr.aria-label]=\"closeAriaLabel()\"\n (click)=\"onClose($event)\"\n >\n <ui-icon [name]=\"closeIcon()\" size=\"sm\" />\n </button>\n }\n</div>\n","import { computed, Injectable, signal } from '@angular/core';\nimport { UiToastId, UiToastMessage } from './ui-toast.types';\n\n/** Process-wide counter guaranteeing unique auto-generated toast ids. */\nlet nextId = 0;\n\n/**\n * ui-toast service — programmatic entry point to push and clear toasts.\n *\n * Signal-based store:\n * `add`/`addAll` append messages, `clear`/`remove` drop them. One or more\n * {@link UiToastContainer} instances read this store reactively and render the\n * slice that matches their `key`. Provided in root, so a single injection is\n * shared across the app.\n *\n * @example\n * ```ts\n * private readonly toast = inject(UiToastService);\n * this.toast.add({ level: 'success', title: 'Enregistré', text: 'Profil mis à jour.' });\n * ```\n */\n@Injectable({ providedIn: 'root' })\nexport class UiToastService {\n /** @ignore Backing store of live messages. */\n private readonly _messages = signal<UiToastMessage[]>([]);\n\n /** Live messages, in insertion order (read-only). */\n readonly messages = this._messages.asReadonly();\n\n /** Total number of live messages across every key. */\n readonly count = computed(() => this._messages().length);\n\n /**\n * Push a single message. Returns its (possibly generated) id so the caller\n * can dismiss it later (e.g. resolving a \"loading\" toast into a result).\n */\n add(message: UiToastMessage): UiToastId {\n const id = message.id ?? `ui-toast-${nextId++}`;\n this._messages.update((list) => [...list, { ...message, id }]);\n return id;\n }\n\n /** Push several messages at once. Returns their ids, in order. */\n addAll(messages: UiToastMessage[]): UiToastId[] {\n return messages.map((message) => this.add(message));\n }\n\n /**\n * Remove messages. With no argument, clears everything; with a `key`, clears\n * only the messages routed to that key.\n */\n clear(key?: string): void {\n if (key == null) {\n this._messages.set([]);\n return;\n }\n this._messages.update((list) => list.filter((m) => m.key !== key));\n }\n\n /** Remove a single message by id (no-op if it is already gone). */\n remove(id: UiToastId): void {\n this._messages.update((list) => list.filter((m) => m.id !== id));\n }\n}\n","import { isPlatformBrowser } from '@angular/common';\nimport { NgTemplateOutlet } from '@angular/common';\nimport {\n booleanAttribute,\n Component,\n computed,\n DestroyRef,\n effect,\n inject,\n input,\n numberAttribute,\n PLATFORM_ID,\n TemplateRef,\n} from '@angular/core';\nimport { UiMotion, UiMotionPreset } from '@4sh/ui-kit/motion';\nimport { UiToast } from './ui-toast';\nimport { UiToastService } from './ui-toast.service';\nimport { UiToastId, UiToastMessage, UiToastPosition } from './ui-toast.types';\n\n/** Enter/leave motion preset that best fits each anchor edge. */\nconst MOTION_BY_POSITION: Record<UiToastPosition, UiMotionPreset> = {\n 'top-left': 'slide-down',\n 'top-center': 'slide-down',\n 'top-right': 'slide-down',\n 'bottom-left': 'slide-up',\n 'bottom-center': 'slide-up',\n 'bottom-right': 'slide-up',\n center: 'zoom',\n};\n\n/** Base stacking level — mirrors `$toast-z-index` in the SCSS. */\nconst TOAST_BASE_Z_INDEX = 1100;\n\n/** Process-wide sequence so `autoZIndex` layers later stacks above earlier ones. */\nlet zIndexSeq = 0;\n\n/**\n * ui-toast-container — the viewport-pinned stack that renders {@link UiToastService}\n * messages as {@link UiToast} cards.\n *\n * Drop one near the app root (e.g. in `app.html`). It reads the service store\n * reactively, shows the slice matching its `key`, animates insert/remove through\n * the shared motion system (`animate.enter` / `animate.leave`), and auto-dismisses\n * non-sticky toasts after `life` ms — pausing the countdown while hovered.\n *\n * Positioning is `fixed` by default (relative to the viewport); set `contained`\n * to switch to `absolute` so the stack stays inside the nearest positioned\n * ancestor (used by the Storybook demos).\n *\n * @example\n * ```html\n * <ui-toast-container position=\"top-right\" [life]=\"4000\" />\n * ```\n */\n@Component({\n selector: 'ui-toast-container',\n imports: [UiToast, UiMotion, NgTemplateOutlet],\n templateUrl: './ui-toast-container.html',\n styleUrl: './ui-toast-container.scss',\n})\nexport class UiToastContainer {\n /** Only render messages whose `key` matches (omit to render key-less messages). */\n key = input<string>();\n /** Where the stack is pinned in the viewport. */\n position = input<UiToastPosition>('top-right');\n /** Default auto-dismiss delay (ms) for non-sticky toasts. Per-message `life` wins. */\n life = input(4000, { transform: numberAttribute });\n /** Render toasts as full-width banners (fill the region width). */\n expanded = input(false, { transform: booleanAttribute });\n /** Motion preset override. Defaults to a per-position choice. */\n motion = input<UiMotionPreset>();\n /** Disable enter/leave animation for this stack. */\n motionDisabled = input(false, { transform: booleanAttribute });\n /** Use `position: absolute` (scoped to a positioned ancestor) instead of `fixed`. */\n contained = input(false, { transform: booleanAttribute });\n /**\n * Custom content template rendered inside each card in place of `title`/`text`.\n * Context: `{ $implicit: message, closeFn }`.\n */\n template = input<TemplateRef<unknown>>();\n /** Extra class(es) merged onto the region root. */\n styleClass = input<string>();\n /** Show only the N most recent toasts; older ones wait their turn (`0` = no limit). */\n stackVisibleLimit = input(0, { transform: numberAttribute });\n /** Gap between stacked cards in px (overrides the `--units-sm` token default). */\n stackGap = input<number>();\n /** Skip a new toast whose content (level + title + text) matches a live one. */\n preventDuplicates = input(false, { transform: booleanAttribute });\n /** Automatically layer this stack above earlier ones (later container wins). */\n autoZIndex = input(true, { transform: booleanAttribute });\n /** Floor z-index for the stack (added to the auto value, or used as-is when `autoZIndex=false`). */\n baseZIndex = input(0, { transform: numberAttribute });\n\n /** @ignore */\n private readonly service = inject(UiToastService);\n /** @ignore Per-instance layering rank for `autoZIndex`. */\n private readonly zSeq = ++zIndexSeq;\n /** @ignore */\n private readonly isBrowser = isPlatformBrowser(inject(PLATFORM_ID));\n\n /** @ignore All live messages routed to this container (drives timers/dedup). */\n private readonly keyed = computed(() =>\n this.service.messages().filter((m) => m.key === this.key()),\n );\n\n /** @ignore Rendered slice — the most recent `stackVisibleLimit` toasts. */\n protected readonly items = computed(() => {\n const all = this.keyed();\n const limit = this.stackVisibleLimit();\n return limit > 0 ? all.slice(-limit) : all;\n });\n\n /** @ignore Effective stacking level. */\n protected readonly zIndex = computed(() => {\n const base = this.baseZIndex();\n if (this.autoZIndex()) return TOAST_BASE_Z_INDEX + base + this.zSeq;\n return base > 0 ? base : TOAST_BASE_Z_INDEX;\n });\n\n /** @ignore Resolved enter/leave preset. */\n protected readonly motionPreset = computed<UiMotionPreset>(\n () => this.motion() ?? MOTION_BY_POSITION[this.position()],\n );\n\n /** @ignore */\n protected readonly regionClass = computed(() => {\n const c = ['ui-toast-region', `_${this.position()}`];\n if (this.contained()) c.push('_contained');\n if (this.expanded()) c.push('_expanded');\n // Anchor at the bottom edge → newest toast nearest the edge (column-reverse in SCSS).\n if (this.position().startsWith('bottom')) c.push('_reverse');\n const sc = this.styleClass();\n if (sc) c.push(sc);\n return c.join(' ');\n });\n\n // --- Life timers (auto-dismiss, hover-pausable) ----------------------\n\n /** @ignore Active timeout handles, keyed by message id. */\n private readonly timers = new Map<UiToastId, ReturnType<typeof setTimeout>>();\n /** @ignore Remaining ms per message (survives hover pause). */\n private readonly remaining = new Map<UiToastId, number>();\n /** @ignore Wall-clock start of the running countdown, per message. */\n private readonly startedAt = new Map<UiToastId, number>();\n\n constructor() {\n // Reconcile dedup + life timers whenever this container's message set changes.\n effect(() => {\n const keyed = this.keyed();\n\n // preventDuplicates: drop later toasts whose content matches an earlier one.\n if (this.preventDuplicates()) {\n const seen = new Set<string>();\n const dupes: UiToastId[] = [];\n for (const m of keyed) {\n const sig = `${m.level ?? 'default'}|${m.title ?? ''}|${m.text ?? ''}`;\n if (seen.has(sig)) dupes.push(m.id!);\n else seen.add(sig);\n }\n if (dupes.length) {\n // Store mutation re-runs this effect on the deduplicated set.\n dupes.forEach((id) => this.service.remove(id));\n return;\n }\n }\n\n const liveIds = new Set(keyed.map((m) => m.id));\n\n // Drop timer bookkeeping for messages that are gone.\n for (const id of [...this.timers.keys()]) {\n if (!liveIds.has(id)) this.forget(id);\n }\n for (const id of [...this.remaining.keys()]) {\n if (!liveIds.has(id)) this.remaining.delete(id);\n }\n\n if (!this.isBrowser) return;\n\n // Arm a countdown for each new, non-sticky message (even ones beyond the\n // visible limit, so a queued toast still expires on schedule).\n for (const message of keyed) {\n const id = message.id!;\n if (message.sticky) continue;\n if (this.timers.has(id) || this.remaining.has(id)) continue;\n const life = message.life ?? this.life();\n if (life > 0) this.arm(id, life);\n }\n });\n\n inject(DestroyRef).onDestroy(() => {\n for (const id of [...this.timers.keys()]) this.forget(id);\n });\n }\n\n /** @ignore Start (or restart) a countdown of `ms` for a message. */\n private arm(id: UiToastId, ms: number): void {\n this.remaining.set(id, ms);\n this.startedAt.set(id, Date.now());\n this.timers.set(\n id,\n setTimeout(() => {\n this.timers.delete(id);\n this.service.remove(id);\n }, ms),\n );\n }\n\n /** @ignore Cancel and drop all timer bookkeeping for a message. */\n private forget(id: UiToastId): void {\n const handle = this.timers.get(id);\n if (handle) clearTimeout(handle);\n this.timers.delete(id);\n this.startedAt.delete(id);\n }\n\n /** @ignore Pause the countdown on hover/focus (banks the remaining time). */\n protected pause(id: UiToastId | undefined): void {\n if (id == null) return;\n const handle = this.timers.get(id);\n if (!handle) return;\n clearTimeout(handle);\n this.timers.delete(id);\n const banked = this.remaining.get(id) ?? 0;\n const elapsed = Date.now() - (this.startedAt.get(id) ?? Date.now());\n this.remaining.set(id, Math.max(banked - elapsed, 0));\n }\n\n /** @ignore Resume a paused countdown when the pointer/focus leaves. */\n protected resume(id: UiToastId | undefined): void {\n if (id == null || !this.isBrowser) return;\n if (this.timers.has(id)) return;\n const left = this.remaining.get(id);\n if (left == null || left <= 0) return;\n this.arm(id, left);\n }\n\n /** @ignore Dismiss a toast (close button or a custom template's `closeFn`). */\n protected dismiss(message: UiToastMessage): void {\n if (message.id != null) this.service.remove(message.id);\n }\n\n /** @ignore Template-context factory: a bound close handler for one message. */\n protected closeFn(message: UiToastMessage): () => void {\n return () => this.dismiss(message);\n }\n}\n","<div\n [class]=\"regionClass()\"\n [style.z-index]=\"zIndex()\"\n [style.gap.px]=\"stackGap() ?? null\"\n>\n @for (item of items(); track item.id) {\n <div\n class=\"ui-toast-region-item\"\n [uiMotion]=\"motionPreset()\"\n [motionDisabled]=\"motionDisabled()\"\n #m=\"uiMotion\"\n [animate.enter]=\"m.enter()\"\n [animate.leave]=\"m.leave()\"\n (mouseenter)=\"pause(item.id)\"\n (mouseleave)=\"resume(item.id)\"\n (focusin)=\"pause(item.id)\"\n (focusout)=\"resume(item.id)\"\n >\n <ui-toast\n [level]=\"item.level ?? 'default'\"\n [subLevel]=\"item.subLevel ?? 'high'\"\n [title]=\"template() ? undefined : item.title\"\n [text]=\"template() ? undefined : item.text\"\n [icon]=\"item.icon ?? true\"\n [closable]=\"item.closable ?? true\"\n [expanded]=\"expanded()\"\n [styleClass]=\"item.styleClass\"\n (closed)=\"dismiss(item)\"\n >\n @if (template(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: { $implicit: item, closeFn: closeFn(item) }\" />\n }\n </ui-toast>\n </div>\n }\n</div>\n","/*\n * Public API Surface of ui-kit/ui-toast\n */\n\nexport * from './lib/ui-toast-container';\nexport * from './lib/ui-toast.service';\nexport * from './lib/ui-toast';\nexport * from './lib/ui-toast.types';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAiBA;AACO,MAAM,kBAAkB,GAA+B;IAC5D,UAAU;IACV,YAAY;IACZ,WAAW;IACX,aAAa;IACb,eAAe;IACf,cAAc;IACd,QAAQ;;AAgDV;AACO,MAAM,sBAAsB,GAAoC;AACrE,IAAA,OAAO,EAAE,aAAa;AACtB,IAAA,SAAS,EAAE,aAAa;AACxB,IAAA,OAAO,EAAE,OAAO;AAChB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,KAAK,EAAE,OAAO;;;AC1EhB;;;;;;;;;;;;;;;AAeG;MAYU,OAAO,CAAA;AAXpB,IAAA,WAAA,GAAA;;AAaE,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK;6FAAU;;AAEvB,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK;4FAAU;;QAEtB,IAAA,CAAA,KAAK,GAAG,KAAK,CAAkB,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A,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gBAAgB,o6DC5D7B,kpCAoCA,EAAA,MAAA,EAAA,CAAA,85CAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDoBY,OAAO,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,OAAA,EAAA,UAAA,EAAA,MAAA,EAAA,UAAA,EAAA,WAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,YAAA,CAAA,EAAA,OAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,QAAQ,qQAAE,gBAAgB,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAIlC,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAN5B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,WACrB,CAAC,OAAO,EAAE,QAAQ,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAAA,kpCAAA,EAAA,MAAA,EAAA,CAAA,85CAAA,CAAA,EAAA;;;AExDhD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -55,10 +55,10 @@ class UiTooltipPanel {
55
55
  }, /* @ts-ignore */
56
56
  ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
57
57
  }
58
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiTooltipPanel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
59
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: UiTooltipPanel, isStandalone: true, selector: "ui-tooltip", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, template: { classPropertyName: "template", publicName: "template", isSignal: true, isRequired: false, transformFunction: null }, templateContext: { classPropertyName: "templateContext", publicName: "templateContext", isSignal: true, isRequired: false, transformFunction: null }, escape: { classPropertyName: "escape", publicName: "escape", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, tooltipId: { classPropertyName: "tooltipId", publicName: "tooltipId", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"classes()\" role=\"tooltip\" [id]=\"tooltipId()\">\n <span class=\"ui-tooltip-arrow\" aria-hidden=\"true\"></span>\n <div class=\"ui-tooltip-text\">\n @if (template()) {\n <ng-container *ngTemplateOutlet=\"template()!; context: templateContext()\" />\n } @else if (escape()) {\n {{ text() }}\n } @else {\n <span [innerHTML]=\"text()\"></span>\n }\n </div>\n</div>\n", styles: [".ui-tooltip{position:relative;display:inline-block;box-sizing:border-box;max-width:16rem;padding:var(--units-sm) var(--units-default);border:var(--stroke-sm) solid var(--informative-defaulthigh-stroke-default);border-radius:var(--radius-default);background-color:var(--informative-defaulthigh-surface-default);color:var(--informative-defaulthigh-content-default);box-shadow:var(--shadow-default-md);font-family:var(--fontfamily-base);font-weight:var(--weight-regular);font-size:var(--size-typography-text-md);line-height:1.4;overflow-wrap:break-word;--ui-motion-duration: var(--transition-fast);--ui-motion-easing: var(--transition-easeout);opacity:0;transition:opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),translate var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-tooltip._top{translate:0 4px}.ui-tooltip._bottom{translate:0 -4px}.ui-tooltip._left{translate:4px 0}.ui-tooltip._right{translate:-4px 0}.ui-tooltip._visible{opacity:1;translate:0 0}.ui-tooltip._interactive{pointer-events:auto}@media(prefers-reduced-motion:reduce){.ui-tooltip{transition-duration:.01ms;translate:none}}:root[data-motion=off] .ui-tooltip{transition-duration:.01ms;translate:none}.ui-tooltip-text{display:block}.ui-tooltip-arrow{position:absolute;width:.5rem;height:.5rem;background-color:var(--informative-defaulthigh-surface-default);border:var(--stroke-sm) solid var(--informative-defaulthigh-stroke-default);rotate:45deg}.ui-tooltip._top .ui-tooltip-arrow{bottom:-.25rem;left:50%;margin-left:-.25rem;border-top:0;border-left:0}.ui-tooltip._bottom .ui-tooltip-arrow{top:-.25rem;left:50%;margin-left:-.25rem;border-right:0;border-bottom:0}.ui-tooltip._left .ui-tooltip-arrow{right:-.25rem;top:50%;margin-top:-.25rem;border-bottom:0;border-left:0}.ui-tooltip._right .ui-tooltip-arrow{left:-.25rem;top:50%;margin-top:-.25rem;border-top:0;border-right:0}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
58
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTooltipPanel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
59
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: UiTooltipPanel, isStandalone: true, selector: "ui-tooltip", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, template: { classPropertyName: "template", publicName: "template", isSignal: true, isRequired: false, transformFunction: null }, templateContext: { classPropertyName: "templateContext", publicName: "templateContext", isSignal: true, isRequired: false, transformFunction: null }, escape: { classPropertyName: "escape", publicName: "escape", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, tooltipId: { classPropertyName: "tooltipId", publicName: "tooltipId", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"classes()\" role=\"tooltip\" [id]=\"tooltipId()\">\n <span class=\"ui-tooltip-arrow\" aria-hidden=\"true\"></span>\n <div class=\"ui-tooltip-text\">\n @if (template()) {\n <ng-container *ngTemplateOutlet=\"template()!; context: templateContext()\" />\n } @else if (escape()) {\n {{ text() }}\n } @else {\n <span [innerHTML]=\"text()\"></span>\n }\n </div>\n</div>\n", styles: [".ui-tooltip{position:relative;display:inline-block;box-sizing:border-box;max-width:16rem;padding:var(--units-sm) var(--units-default);border:var(--stroke-sm) solid var(--informative-defaulthigh-stroke-default);border-radius:var(--radius-default);background-color:var(--informative-defaulthigh-surface-default);color:var(--informative-defaulthigh-content-default);box-shadow:var(--shadow-default-md);font-family:var(--fontfamily-base);font-weight:var(--weight-regular);font-size:var(--size-typography-text-md);line-height:1.4;overflow-wrap:break-word;--ui-motion-duration: var(--transition-fast);--ui-motion-easing: var(--transition-easeout);opacity:0;transition:opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),translate var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-tooltip._top{translate:0 4px}.ui-tooltip._bottom{translate:0 -4px}.ui-tooltip._left{translate:4px 0}.ui-tooltip._right{translate:-4px 0}.ui-tooltip._visible{opacity:1;translate:0 0}.ui-tooltip._interactive{pointer-events:auto}@media(prefers-reduced-motion:reduce){.ui-tooltip{transition-duration:.01ms;translate:none}}:root[data-motion=off] .ui-tooltip{transition-duration:.01ms;translate:none}.ui-tooltip-text{display:block}.ui-tooltip-arrow{position:absolute;width:.5rem;height:.5rem;background-color:var(--informative-defaulthigh-surface-default);border:var(--stroke-sm) solid var(--informative-defaulthigh-stroke-default);rotate:45deg}.ui-tooltip._top .ui-tooltip-arrow{bottom:-.25rem;left:50%;margin-left:-.25rem;border-top:0;border-left:0}.ui-tooltip._bottom .ui-tooltip-arrow{top:-.25rem;left:50%;margin-left:-.25rem;border-right:0;border-bottom:0}.ui-tooltip._left .ui-tooltip-arrow{right:-.25rem;top:50%;margin-top:-.25rem;border-bottom:0;border-left:0}.ui-tooltip._right .ui-tooltip-arrow{left:-.25rem;top:50%;margin-top:-.25rem;border-top:0;border-right:0}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
60
60
  }
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiTooltipPanel, decorators: [{
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTooltipPanel, decorators: [{
62
62
  type: Component,
63
63
  args: [{ selector: 'ui-tooltip', imports: [NgTemplateOutlet], encapsulation: ViewEncapsulation.Emulated, template: "<div [class]=\"classes()\" role=\"tooltip\" [id]=\"tooltipId()\">\n <span class=\"ui-tooltip-arrow\" aria-hidden=\"true\"></span>\n <div class=\"ui-tooltip-text\">\n @if (template()) {\n <ng-container *ngTemplateOutlet=\"template()!; context: templateContext()\" />\n } @else if (escape()) {\n {{ text() }}\n } @else {\n <span [innerHTML]=\"text()\"></span>\n }\n </div>\n</div>\n", styles: [".ui-tooltip{position:relative;display:inline-block;box-sizing:border-box;max-width:16rem;padding:var(--units-sm) var(--units-default);border:var(--stroke-sm) solid var(--informative-defaulthigh-stroke-default);border-radius:var(--radius-default);background-color:var(--informative-defaulthigh-surface-default);color:var(--informative-defaulthigh-content-default);box-shadow:var(--shadow-default-md);font-family:var(--fontfamily-base);font-weight:var(--weight-regular);font-size:var(--size-typography-text-md);line-height:1.4;overflow-wrap:break-word;--ui-motion-duration: var(--transition-fast);--ui-motion-easing: var(--transition-easeout);opacity:0;transition:opacity var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms),translate var(--ui-motion-duration, var(--transition-default)) var(--ui-motion-easing, var(--transition-easeinout)) var(--ui-motion-delay, 0ms)}.ui-tooltip._top{translate:0 4px}.ui-tooltip._bottom{translate:0 -4px}.ui-tooltip._left{translate:4px 0}.ui-tooltip._right{translate:-4px 0}.ui-tooltip._visible{opacity:1;translate:0 0}.ui-tooltip._interactive{pointer-events:auto}@media(prefers-reduced-motion:reduce){.ui-tooltip{transition-duration:.01ms;translate:none}}:root[data-motion=off] .ui-tooltip{transition-duration:.01ms;translate:none}.ui-tooltip-text{display:block}.ui-tooltip-arrow{position:absolute;width:.5rem;height:.5rem;background-color:var(--informative-defaulthigh-surface-default);border:var(--stroke-sm) solid var(--informative-defaulthigh-stroke-default);rotate:45deg}.ui-tooltip._top .ui-tooltip-arrow{bottom:-.25rem;left:50%;margin-left:-.25rem;border-top:0;border-left:0}.ui-tooltip._bottom .ui-tooltip-arrow{top:-.25rem;left:50%;margin-left:-.25rem;border-right:0;border-bottom:0}.ui-tooltip._left .ui-tooltip-arrow{right:-.25rem;top:50%;margin-top:-.25rem;border-bottom:0;border-left:0}.ui-tooltip._right .ui-tooltip-arrow{left:-.25rem;top:50%;margin-top:-.25rem;border-top:0;border-right:0}\n"] }]
64
64
  }], propDecorators: { text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], template: [{ type: i0.Input, args: [{ isSignal: true, alias: "template", required: false }] }], templateContext: [{ type: i0.Input, args: [{ isSignal: true, alias: "templateContext", required: false }] }], escape: [{ type: i0.Input, args: [{ isSignal: true, alias: "escape", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], tooltipId: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltipId", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }], interactive: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactive", required: false }] }] } });
@@ -422,10 +422,10 @@ class UiTooltip {
422
422
  this.overlayRef = null;
423
423
  this.panelRef = null;
424
424
  }
425
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiTooltip, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
426
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: UiTooltip, isStandalone: true, selector: "[uiTooltip]", inputs: { content: { classPropertyName: "content", publicName: "uiTooltip", isSignal: true, isRequired: false, transformFunction: null }, tooltipPosition: { classPropertyName: "tooltipPosition", publicName: "tooltipPosition", isSignal: true, isRequired: false, transformFunction: null }, fitContent: { classPropertyName: "fitContent", publicName: "fitContent", isSignal: true, isRequired: false, transformFunction: null }, tooltipEvent: { classPropertyName: "tooltipEvent", publicName: "tooltipEvent", isSignal: true, isRequired: false, transformFunction: null }, tooltipDisabled: { classPropertyName: "tooltipDisabled", publicName: "tooltipDisabled", isSignal: true, isRequired: false, transformFunction: null }, showDelay: { classPropertyName: "showDelay", publicName: "showDelay", isSignal: true, isRequired: false, transformFunction: null }, hideDelay: { classPropertyName: "hideDelay", publicName: "hideDelay", isSignal: true, isRequired: false, transformFunction: null }, escape: { classPropertyName: "escape", publicName: "escape", isSignal: true, isRequired: false, transformFunction: null }, tooltipStyleClass: { classPropertyName: "tooltipStyleClass", publicName: "tooltipStyleClass", isSignal: true, isRequired: false, transformFunction: null }, autoHide: { classPropertyName: "autoHide", publicName: "autoHide", isSignal: true, isRequired: false, transformFunction: null }, hideOnEscape: { classPropertyName: "hideOnEscape", publicName: "hideOnEscape", isSignal: true, isRequired: false, transformFunction: null }, life: { classPropertyName: "life", publicName: "life", isSignal: true, isRequired: false, transformFunction: null }, showOnEllipsis: { classPropertyName: "showOnEllipsis", publicName: "showOnEllipsis", isSignal: true, isRequired: false, transformFunction: null }, positionTop: { classPropertyName: "positionTop", publicName: "positionTop", isSignal: true, isRequired: false, transformFunction: null }, positionLeft: { classPropertyName: "positionLeft", publicName: "positionLeft", isSignal: true, isRequired: false, transformFunction: null }, tooltipContext: { classPropertyName: "tooltipContext", publicName: "tooltipContext", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { tooltipShow: "tooltipShow", tooltipHide: "tooltipHide" }, exportAs: ["uiTooltip"], ngImport: i0 }); }
425
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTooltip, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
426
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.1", type: UiTooltip, isStandalone: true, selector: "[uiTooltip]", inputs: { content: { classPropertyName: "content", publicName: "uiTooltip", isSignal: true, isRequired: false, transformFunction: null }, tooltipPosition: { classPropertyName: "tooltipPosition", publicName: "tooltipPosition", isSignal: true, isRequired: false, transformFunction: null }, fitContent: { classPropertyName: "fitContent", publicName: "fitContent", isSignal: true, isRequired: false, transformFunction: null }, tooltipEvent: { classPropertyName: "tooltipEvent", publicName: "tooltipEvent", isSignal: true, isRequired: false, transformFunction: null }, tooltipDisabled: { classPropertyName: "tooltipDisabled", publicName: "tooltipDisabled", isSignal: true, isRequired: false, transformFunction: null }, showDelay: { classPropertyName: "showDelay", publicName: "showDelay", isSignal: true, isRequired: false, transformFunction: null }, hideDelay: { classPropertyName: "hideDelay", publicName: "hideDelay", isSignal: true, isRequired: false, transformFunction: null }, escape: { classPropertyName: "escape", publicName: "escape", isSignal: true, isRequired: false, transformFunction: null }, tooltipStyleClass: { classPropertyName: "tooltipStyleClass", publicName: "tooltipStyleClass", isSignal: true, isRequired: false, transformFunction: null }, autoHide: { classPropertyName: "autoHide", publicName: "autoHide", isSignal: true, isRequired: false, transformFunction: null }, hideOnEscape: { classPropertyName: "hideOnEscape", publicName: "hideOnEscape", isSignal: true, isRequired: false, transformFunction: null }, life: { classPropertyName: "life", publicName: "life", isSignal: true, isRequired: false, transformFunction: null }, showOnEllipsis: { classPropertyName: "showOnEllipsis", publicName: "showOnEllipsis", isSignal: true, isRequired: false, transformFunction: null }, positionTop: { classPropertyName: "positionTop", publicName: "positionTop", isSignal: true, isRequired: false, transformFunction: null }, positionLeft: { classPropertyName: "positionLeft", publicName: "positionLeft", isSignal: true, isRequired: false, transformFunction: null }, tooltipContext: { classPropertyName: "tooltipContext", publicName: "tooltipContext", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { tooltipShow: "tooltipShow", tooltipHide: "tooltipHide" }, exportAs: ["uiTooltip"], ngImport: i0 }); }
427
427
  }
428
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiTooltip, decorators: [{
428
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTooltip, decorators: [{
429
429
  type: Directive,
430
430
  args: [{
431
431
  selector: '[uiTooltip]',
@@ -442,4 +442,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
442
442
  */
443
443
 
444
444
  export { UiTooltip, UiTooltipPanel };
445
- //# sourceMappingURL=4sh-ui-kit-ui-tooltip.mjs.map
445
+ //# sourceMappingURL=4sh-ui-kit-informative-ui-tooltip.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"4sh-ui-kit-informative-ui-tooltip.mjs","sources":["../../../projects/ui-kit/informative/ui-tooltip/src/lib/ui-tooltip-panel.ts","../../../projects/ui-kit/informative/ui-tooltip/src/lib/ui-tooltip-panel.html","../../../projects/ui-kit/informative/ui-tooltip/src/lib/ui-tooltip.ts","../../../projects/ui-kit/informative/ui-tooltip/src/public-api.ts","../../../projects/ui-kit/informative/ui-tooltip/src/4sh-ui-kit-informative-ui-tooltip.ts"],"sourcesContent":["import { Component, computed, input, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\n\n/** Side of the trigger the tooltip is displayed on (drives the arrow position). */\nexport type TooltipPosition = 'top' | 'bottom' | 'left' | 'right';\n\n/**\n * Internal visual panel of the tooltip (the \"bubble\" + arrow).\n *\n * Rendered inside a CDK overlay by the {@link UiTooltip} directive — never used\n * directly in templates. Styling is co-located in `ui-tooltip.scss` and fully\n * token-driven; every value is overridable through the `--ui-tooltip-*` CSS hooks.\n */\n@Component({\n selector: 'ui-tooltip',\n imports: [NgTemplateOutlet],\n templateUrl: './ui-tooltip-panel.html',\n styleUrl: './ui-tooltip.scss',\n encapsulation: ViewEncapsulation.Emulated,\n})\nexport class UiTooltipPanel {\n /** Plain-text (or HTML when `escape=false`) content. Ignored if `template` is set. */\n text = input<string>();\n /** Rich content rendered through `ngTemplateOutlet`. Takes precedence over `text`. */\n template = input<TemplateRef<unknown>>();\n /** Context object forwarded to `template`. */\n templateContext = input<unknown>();\n /** When true (default) content is text; when false, `text` is bound as sanitized HTML. */\n escape = input(true);\n /** Extra class(es) applied to the tooltip root for one-off customization. */\n styleClass = input<string>();\n /** Side the tooltip sits on — sets the arrow orientation. */\n position = input<TooltipPosition>('top');\n /** DOM id, wired to the trigger via `aria-describedby`. */\n tooltipId = input<string>();\n /** Whether the panel is in its shown (opaque) state — drives the fade transition. */\n visible = input(false);\n /** When true the panel accepts pointer events (autoHide disabled). */\n interactive = input(false);\n\n /** @ignore */\n protected readonly classes = computed(() => {\n const c = ['ui-tooltip', `_${this.position()}`];\n if (this.visible()) c.push('_visible');\n if (this.interactive()) c.push('_interactive');\n const sc = this.styleClass();\n if (sc) c.push(sc);\n return c.join(' ');\n });\n}\n","<div [class]=\"classes()\" role=\"tooltip\" [id]=\"tooltipId()\">\n <span class=\"ui-tooltip-arrow\" aria-hidden=\"true\"></span>\n <div class=\"ui-tooltip-text\">\n @if (template()) {\n <ng-container *ngTemplateOutlet=\"template()!; context: templateContext()\" />\n } @else if (escape()) {\n {{ text() }}\n } @else {\n <span [innerHTML]=\"text()\"></span>\n }\n </div>\n</div>\n","import { isPlatformBrowser } from '@angular/common';\nimport {\n afterNextRender,\n booleanAttribute,\n ComponentRef,\n computed,\n DestroyRef,\n Directive,\n effect,\n ElementRef,\n inject,\n Injector,\n input,\n numberAttribute,\n output,\n PLATFORM_ID,\n Renderer2,\n TemplateRef,\n untracked,\n ViewContainerRef,\n} from '@angular/core';\nimport {\n ConnectedPosition,\n FlexibleConnectedPositionStrategy,\n Overlay,\n OverlayRef,\n} from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { closeOnNavigation } from '@4sh/ui-kit/overlay';\nimport { TooltipPosition, UiTooltipPanel } from './ui-tooltip-panel';\n\nexport type TooltipEvent = 'hover' | 'focus' | 'both';\n\n/** Gap (px) left between the trigger and the tooltip for the arrow — mirrors `$tooltip-arrow-size` in the SCSS. */\nconst ARROW_GAP = 8;\n\n/** Process-wide counter for unique tooltip ids (aria-describedby wiring). */\nlet nextId = 0;\n\n/**\n * Attribute directive that attaches an advisory tooltip to its host element.\n *\n * Headless behavior (Angular CDK Overlay) + a co-located, fully token-driven panel\n * ({@link UiTooltipPanel}). Inspired by the PrimeNG `pTooltip` API, adapted to the\n * signals idiom of this design system.\n *\n * Positioning, viewport flipping and scroll re-alignment are delegated to the CDK\n * `FlexibleConnectedPositionStrategy` (no manual geometry).\n *\n * @example\n * ```html\n * <button uiTooltip=\"Save the document\" tooltipPosition=\"bottom\">Save</button>\n * <button [uiTooltip]=\"tpl\" [tooltipContext]=\"{ $implicit: user }\">Profile</button>\n * <ng-template #tpl let-u>{{ u.name }}</ng-template>\n * ```\n */\n@Directive({\n selector: '[uiTooltip]',\n exportAs: 'uiTooltip',\n})\nexport class UiTooltip {\n /** Content: plain text, HTML (with `escape=false`) or a `TemplateRef` for rich content. */\n content = input<string | TemplateRef<unknown> | undefined>(undefined, { alias: 'uiTooltip' });\n /** Preferred side of the trigger. CDK flips it automatically when space is lacking. */\n tooltipPosition = input<TooltipPosition>('top');\n /** Auto-flip to another side when the preferred one lacks space (default). `false` locks the side. */\n fitContent = input(true, { transform: booleanAttribute });\n /** Interaction(s) that reveal the tooltip. `both` (default) also covers keyboard focus (a11y). */\n tooltipEvent = input<TooltipEvent>('both');\n /** Disables the tooltip entirely. */\n tooltipDisabled = input(false, { transform: booleanAttribute });\n /** Delay before showing, in ms. */\n showDelay = input(150, { transform: numberAttribute });\n /** Delay before hiding, in ms. */\n hideDelay = input(0, { transform: numberAttribute });\n /** `true` (default): content rendered as text. `false`: `content` bound as sanitized HTML. */\n escape = input(true, { transform: booleanAttribute });\n /** Extra class(es) applied to the tooltip panel. */\n tooltipStyleClass = input<string>();\n /** Auto-hide when the pointer leaves the trigger (default). `false` keeps it open while hovered. */\n autoHide = input(true, { transform: booleanAttribute });\n /** Hide when the Escape key is pressed (default, WCAG dismissible). */\n hideOnEscape = input(true, { transform: booleanAttribute });\n /** Auto-hide after N ms even while active. `0` (default) disables it. */\n life = input(0, { transform: numberAttribute });\n /** Only show when the trigger text is truncated (ellipsis active). */\n showOnEllipsis = input(false, { transform: booleanAttribute });\n /** Additional vertical offset (px) from the computed position. */\n positionTop = input(0, { transform: numberAttribute });\n /** Additional horizontal offset (px) from the computed position. */\n positionLeft = input(0, { transform: numberAttribute });\n /** Context object forwarded to a `TemplateRef` content. */\n tooltipContext = input<unknown>();\n\n /** Emitted right after the tooltip becomes visible. */\n tooltipShow = output<void>();\n /** Emitted right after the tooltip is hidden. */\n tooltipHide = output<void>();\n\n /** @ignore */\n private readonly el = inject<ElementRef<HTMLElement>>(ElementRef);\n /** @ignore */\n private readonly overlay = inject(Overlay);\n /** @ignore */\n private readonly vcr = inject(ViewContainerRef);\n /** @ignore */\n private readonly injector = inject(Injector);\n /** @ignore */\n private readonly renderer = inject(Renderer2);\n /** @ignore */\n private readonly isBrowser = isPlatformBrowser(inject(PLATFORM_ID));\n\n /** @ignore */\n private overlayRef: OverlayRef | null = null;\n /** @ignore */\n private positionStrategy: FlexibleConnectedPositionStrategy | null = null;\n /** @ignore */\n private panelRef: ComponentRef<UiTooltipPanel> | null = null;\n /** @ignore */\n private readonly tooltipId = `ui-tooltip-${nextId++}`;\n\n /** @ignore Deferred timers. */\n private showTimer: ReturnType<typeof setTimeout> | null = null;\n private hideTimer: ReturnType<typeof setTimeout> | null = null;\n private lifeTimer: ReturnType<typeof setTimeout> | null = null;\n\n /** @ignore Teardown handles for host / document listeners. */\n private readonly disposers: (() => void)[] = [];\n\n /** @ignore Content is a template (vs a string). */\n private readonly hasTemplate = computed(() => this.content() instanceof TemplateRef);\n\n constructor() {\n // A navigation removes the trigger without ever firing `mouseleave`:\n // drop the tooltip (and any pending show) instead of leaving it stuck.\n closeOnNavigation(() => this.remove());\n\n // Inputs are only resolved after construction → bind once the view exists (browser only).\n if (this.isBrowser) {\n afterNextRender(() => this.bindTriggerEvents());\n }\n\n // Keep an open tooltip in sync with live content / option changes.\n effect(() => {\n // Track the visible inputs so the effect re-runs on any change.\n const content = this.content();\n this.escape();\n this.tooltipStyleClass();\n this.tooltipContext();\n untracked(() => {\n if (!this.panelRef) return;\n this.applyContent();\n if (!content) this.hide();\n });\n });\n\n // Hide as soon as the tooltip is disabled.\n effect(() => {\n if (this.tooltipDisabled()) untracked(() => this.hide());\n });\n\n inject(DestroyRef).onDestroy(() => this.destroy());\n }\n\n /** Programmatically show the tooltip (respects `showDelay`). */\n show(): void {\n this.activate();\n }\n\n /** Programmatically hide the tooltip (respects `hideDelay`). */\n hide(): void {\n this.deactivate();\n }\n\n // --- Trigger events --------------------------------------------------\n\n /** @ignore */\n private bindTriggerEvents(): void {\n const host = this.el.nativeElement;\n const evt = this.tooltipEvent();\n if (evt === 'hover' || evt === 'both') {\n this.disposers.push(\n this.renderer.listen(host, 'mouseenter', () => this.activate()),\n this.renderer.listen(host, 'mouseleave', () => this.deactivate()),\n this.renderer.listen(host, 'click', () => this.deactivate()),\n this.renderer.listen(host, 'touchstart', () => this.activate()),\n );\n }\n if (evt === 'focus' || evt === 'both') {\n // focusin/focusout bubble → also works when the host wraps the focusable element.\n this.disposers.push(\n this.renderer.listen(host, 'focusin', () => this.activate()),\n this.renderer.listen(host, 'focusout', () => this.deactivate()),\n );\n }\n }\n\n // --- Activation lifecycle -------------------------------------------\n\n /** @ignore */\n private activate(): void {\n if (this.tooltipDisabled() || !this.hasContent()) return;\n if (this.showOnEllipsis() && !this.hasEllipsis()) return;\n\n this.clearHideTimer();\n if (this.overlayRef?.hasAttached()) return;\n\n const delay = this.showDelay();\n this.clearShowTimer();\n if (delay > 0) {\n this.showTimer = setTimeout(() => this.render(), delay);\n } else {\n this.render();\n }\n }\n\n /** @ignore */\n private deactivate(): void {\n this.clearShowTimer();\n const delay = this.hideDelay();\n if (delay > 0) {\n this.clearHideTimer();\n this.hideTimer = setTimeout(() => this.remove(), delay);\n } else {\n this.remove();\n }\n }\n\n // --- Overlay rendering ----------------------------------------------\n\n /** @ignore */\n private render(): void {\n if (!this.hasContent() || this.tooltipDisabled()) return;\n\n const overlayRef = this.getOverlayRef();\n if (!overlayRef.hasAttached()) {\n this.panelRef = overlayRef.attach(new ComponentPortal(UiTooltipPanel, this.vcr, this.injector));\n this.panelRef.setInput('tooltipId', this.tooltipId);\n this.applyContent();\n this.renderer.setAttribute(this.el.nativeElement, 'aria-describedby', this.tooltipId);\n // Let hover pass through unless the tooltip is interactive (autoHide=false).\n overlayRef.overlayElement.style.pointerEvents = this.autoHide() ? 'none' : 'auto';\n if (!this.autoHide()) this.bindPanelHover(overlayRef);\n }\n\n // Trigger the fade-in on the next frame so the transition runs.\n requestAnimationFrame(() => this.panelRef?.setInput('visible', true));\n\n this.armLifeTimer();\n if (this.hideOnEscape()) this.bindEscape();\n this.tooltipShow.emit();\n }\n\n /** @ignore */\n private remove(): void {\n this.clearLifeTimer();\n this.clearShowTimer();\n if (!this.overlayRef?.hasAttached()) return;\n this.overlayRef.detach();\n this.panelRef = null;\n this.renderer.removeAttribute(this.el.nativeElement, 'aria-describedby');\n this.tooltipHide.emit();\n }\n\n /** @ignore Built once, reused across shows; positions refreshed each time. */\n private getOverlayRef(): OverlayRef {\n if (this.overlayRef) {\n this.positionStrategy?.withPositions(this.positionsFor(this.tooltipPosition()));\n return this.overlayRef;\n }\n this.positionStrategy = this.overlay\n .position()\n .flexibleConnectedTo(this.el)\n .withFlexibleDimensions(false)\n .withPush(false)\n .withViewportMargin(ARROW_GAP)\n .withPositions(this.positionsFor(this.tooltipPosition()));\n\n // Single subscription for the whole lifecycle → arrow follows the effective side.\n this.positionStrategy.positionChanges.subscribe((change) => {\n this.panelRef?.setInput('position', this.sideOf(change.connectionPair));\n });\n\n this.overlayRef = this.overlay.create({\n positionStrategy: this.positionStrategy,\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n panelClass: 'ui-tooltip-overlay',\n hasBackdrop: false,\n });\n return this.overlayRef;\n }\n\n /** @ignore Ordered positions (preferred first, then fallbacks) for CDK auto-flip. */\n private positionsFor(pos: TooltipPosition): ConnectedPosition[] {\n const ox = this.positionLeft();\n const oy = this.positionTop();\n const top: ConnectedPosition = {\n originX: 'center', originY: 'top', overlayX: 'center', overlayY: 'bottom',\n offsetX: ox, offsetY: -ARROW_GAP + oy,\n };\n const bottom: ConnectedPosition = {\n originX: 'center', originY: 'bottom', overlayX: 'center', overlayY: 'top',\n offsetX: ox, offsetY: ARROW_GAP + oy,\n };\n const left: ConnectedPosition = {\n originX: 'start', originY: 'center', overlayX: 'end', overlayY: 'center',\n offsetX: -ARROW_GAP + ox, offsetY: oy,\n };\n const right: ConnectedPosition = {\n originX: 'end', originY: 'center', overlayX: 'start', overlayY: 'center',\n offsetX: ARROW_GAP + ox, offsetY: oy,\n };\n const primary: Record<TooltipPosition, ConnectedPosition> = { top, bottom, left, right };\n // fitContent=false → keep only the preferred side (no auto-flip).\n if (!this.fitContent()) return [primary[pos]];\n\n const order: Record<TooltipPosition, ConnectedPosition[]> = {\n top: [top, bottom, right, left],\n bottom: [bottom, top, right, left],\n left: [left, right, top, bottom],\n right: [right, left, top, bottom],\n };\n return order[pos];\n }\n\n /** @ignore Map the active CDK connection pair back to the visual side (for the arrow). */\n private sideOf(pair: ConnectedPosition): TooltipPosition {\n if (pair.overlayY === 'bottom') return 'top';\n if (pair.overlayY === 'top') return 'bottom';\n if (pair.overlayX === 'end') return 'left';\n return 'right';\n }\n\n // --- Content ---------------------------------------------------------\n\n /** @ignore */\n private applyContent(): void {\n if (!this.panelRef) return;\n const content = this.content();\n if (this.hasTemplate()) {\n this.panelRef.setInput('template', content as TemplateRef<unknown>);\n this.panelRef.setInput('templateContext', this.tooltipContext());\n this.panelRef.setInput('text', undefined);\n } else {\n this.panelRef.setInput('text', content as string | undefined);\n this.panelRef.setInput('template', undefined);\n }\n this.panelRef.setInput('escape', this.escape());\n this.panelRef.setInput('styleClass', this.tooltipStyleClass());\n this.panelRef.setInput('interactive', !this.autoHide());\n }\n\n /** @ignore */\n private hasContent(): boolean {\n const c = this.content();\n return this.hasTemplate() || !!(typeof c === 'string' && c.length);\n }\n\n /** @ignore Whether the trigger text is visually truncated. */\n private hasEllipsis(): boolean {\n const el = this.el.nativeElement;\n return el.offsetWidth < el.scrollWidth || el.offsetHeight < el.scrollHeight;\n }\n\n // --- Interactive / dismiss listeners --------------------------------\n\n /** @ignore Keep the tooltip open while the pointer is over it (autoHide=false). */\n private bindPanelHover(overlayRef: OverlayRef): void {\n const panel = overlayRef.overlayElement;\n const enter = this.renderer.listen(panel, 'mouseenter', () => this.clearHideTimer());\n const leave = this.renderer.listen(panel, 'mouseleave', () => this.deactivate());\n this.disposers.push(enter, leave);\n }\n\n /** @ignore */\n private bindEscape(): void {\n const off = this.renderer.listen('document', 'keydown.escape', () => {\n this.deactivate();\n off();\n });\n this.disposers.push(off);\n }\n\n // --- Timers ----------------------------------------------------------\n\n /** @ignore */\n private armLifeTimer(): void {\n this.clearLifeTimer();\n const life = this.life();\n if (life > 0) this.lifeTimer = setTimeout(() => this.remove(), life);\n }\n\n /** @ignore */\n private clearShowTimer(): void {\n if (this.showTimer) { clearTimeout(this.showTimer); this.showTimer = null; }\n }\n\n /** @ignore */\n private clearHideTimer(): void {\n if (this.hideTimer) { clearTimeout(this.hideTimer); this.hideTimer = null; }\n }\n\n /** @ignore */\n private clearLifeTimer(): void {\n if (this.lifeTimer) { clearTimeout(this.lifeTimer); this.lifeTimer = null; }\n }\n\n /** @ignore */\n private destroy(): void {\n this.clearShowTimer();\n this.clearHideTimer();\n this.clearLifeTimer();\n this.disposers.forEach((off) => off());\n this.disposers.length = 0;\n this.overlayRef?.dispose();\n this.overlayRef = null;\n this.panelRef = null;\n }\n}\n","/*\n * Public API Surface of ui-kit/ui-tooltip\n */\n\nexport * from './lib/ui-tooltip-panel';\nexport * from './lib/ui-tooltip';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAMA;;;;;;AAMG;MAQU,cAAc,CAAA;AAP3B,IAAA,WAAA,GAAA;;AASE,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK;4FAAU;;AAEtB,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK;gGAAwB;;AAExC,QAAA,IAAA,CAAA,eAAe,GAAG,KAAK;uGAAW;;QAElC,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,IAAI;mFAAC;;AAEpB,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK;kGAAU;;QAE5B,IAAA,CAAA,QAAQ,GAAG,KAAK,CA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AAA,UAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,WAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,UAAA,EAAA,aAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,YAAA,EAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,UAAA,EAAA,cAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,EAAA,iBAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,QAAA,EAAA,CAAA,WAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAT,SAAS,EAAA,UAAA,EAAA,CAAA;kBAJrB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,aAAa;AACvB,oBAAA,QAAQ,EAAE,WAAW;AACtB,iBAAA;;;AC3DD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -16,37 +16,37 @@ import { Directive, input, booleanAttribute, contentChild, viewChild, signal, co
16
16
  */
17
17
  /** Full-bleed media region, rendered above the body (image, illustration…). */
18
18
  class UiCardMedia {
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiCardMedia, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
20
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: UiCardMedia, isStandalone: true, selector: "[uiCardMedia], ui-card-media", ngImport: i0 }); }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiCardMedia, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
20
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: UiCardMedia, isStandalone: true, selector: "[uiCardMedia], ui-card-media", ngImport: i0 }); }
21
21
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiCardMedia, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiCardMedia, decorators: [{
23
23
  type: Directive,
24
24
  args: [{ selector: '[uiCardMedia], ui-card-media' }]
25
25
  }] });
26
26
  /** Title region (also settable via the `header` string input). */
27
27
  class UiCardTitle {
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiCardTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
29
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: UiCardTitle, isStandalone: true, selector: "[uiCardTitle], ui-card-title", ngImport: i0 }); }
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiCardTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
29
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: UiCardTitle, isStandalone: true, selector: "[uiCardTitle], ui-card-title", ngImport: i0 }); }
30
30
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiCardTitle, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiCardTitle, decorators: [{
32
32
  type: Directive,
33
33
  args: [{ selector: '[uiCardTitle], ui-card-title' }]
34
34
  }] });
35
35
  /** Subtitle region (also settable via the `subheader` string input). */
36
36
  class UiCardSubtitle {
37
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiCardSubtitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
38
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: UiCardSubtitle, isStandalone: true, selector: "[uiCardSubtitle], ui-card-subtitle", ngImport: i0 }); }
37
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiCardSubtitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
38
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: UiCardSubtitle, isStandalone: true, selector: "[uiCardSubtitle], ui-card-subtitle", ngImport: i0 }); }
39
39
  }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiCardSubtitle, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiCardSubtitle, decorators: [{
41
41
  type: Directive,
42
42
  args: [{ selector: '[uiCardSubtitle], ui-card-subtitle' }]
43
43
  }] });
44
44
  /** Footer region (actions, tags…), rendered below the body content. */
45
45
  class UiCardFooter {
46
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiCardFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
47
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: UiCardFooter, isStandalone: true, selector: "[uiCardFooter], ui-card-footer", ngImport: i0 }); }
46
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiCardFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
47
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: UiCardFooter, isStandalone: true, selector: "[uiCardFooter], ui-card-footer", ngImport: i0 }); }
48
48
  }
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiCardFooter, decorators: [{
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiCardFooter, decorators: [{
50
50
  type: Directive,
51
51
  args: [{ selector: '[uiCardFooter], ui-card-footer' }]
52
52
  }] });
@@ -144,10 +144,10 @@ class UiCard {
144
144
  this.hasProjectedContent.set(has);
145
145
  });
146
146
  }
147
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiCard, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
148
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: UiCard, isStandalone: true, selector: "ui-card", inputs: { header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, subheader: { classPropertyName: "subheader", publicName: "subheader", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, contentFlush: { classPropertyName: "contentFlush", publicName: "contentFlush", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "titleSlot", first: true, predicate: UiCardTitle, descendants: true, isSignal: true }, { propertyName: "subtitleSlot", first: true, predicate: UiCardSubtitle, descendants: true, isSignal: true }, { propertyName: "mediaSlot", first: true, predicate: UiCardMedia, descendants: true, isSignal: true }, { propertyName: "footerSlot", first: true, predicate: UiCardFooter, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "contentWrap", first: true, predicate: ["contentWrap"], descendants: true, isSignal: true }], ngImport: i0, template: "<div\n [class]=\"classes()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.role]=\"ariaLabel() || ariaLabelledBy() ? 'region' : null\"\n>\n @if (hasMedia()) {\n <div class=\"ui-card-media\">\n <ng-content select=\"[uiCardMedia], ui-card-media\" />\n </div>\n }\n\n <div class=\"ui-card-body\">\n @if (hasHeader()) {\n <div class=\"ui-card-header\">\n @if (hasTitle()) {\n <div class=\"ui-card-title\">\n @if (showHeaderString()) {\n {{ header() }}\n }\n <ng-content select=\"[uiCardTitle], ui-card-title\" />\n </div>\n }\n @if (hasSubtitle()) {\n <div class=\"ui-card-subtitle\">\n @if (showSubheaderString()) {\n {{ subheader() }}\n }\n <ng-content select=\"[uiCardSubtitle], ui-card-subtitle\" />\n </div>\n }\n </div>\n }\n\n <div\n class=\"ui-card-content\"\n #contentWrap\n [class._empty]=\"!hasContent()\"\n [class._flush]=\"contentFlush()\"\n >\n <ng-content />\n </div>\n\n @if (hasFooter()) {\n <div class=\"ui-card-footer\">\n <ng-content select=\"[uiCardFooter], ui-card-footer\" />\n </div>\n }\n </div>\n</div>\n", styles: [":host{display:block}.ui-card{--ui-card-padding: var(--units-lg);display:flex;flex-direction:column;overflow:hidden;background-color:var(--global-background-default);border:var(--stroke-sm) solid transparent;border-radius:var(--radius-md);color:var(--global-text-default);font-family:var(--fontfamily-base)}.ui-card-media{display:flex;overflow:hidden}.ui-card-media ::ng-deep img,.ui-card-media ::ng-deep svg,.ui-card-media ::ng-deep ui-image,.ui-card-media ::ng-deep picture{display:block;width:100%;height:100%;object-fit:cover}.ui-card-body{display:flex;flex-direction:column;gap:var(--units-md);padding-block:var(--units-lg)}.ui-card-header{display:flex;flex-direction:column;gap:var(--units-2xs);padding-inline:var(--units-lg)}.ui-card-title{display:flex;align-items:center;flex-wrap:wrap;gap:var(--units-sm);font-family:var(--fontfamily-title);font-size:var(--size-typography-title-default);font-weight:var(--weight-bold);line-height:1.2;color:var(--global-text-default)}.ui-card-subtitle{font-size:var(--size-typography-text-md);line-height:1.4;color:var(--global-text-muted)}.ui-card-content{padding-inline:var(--units-lg);font-size:var(--size-typography-text-md);line-height:1.5;color:var(--global-text-default)}.ui-card-content._flush{padding-inline:0}.ui-card-content._empty{display:none}.ui-card-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--units-sm);padding-inline:var(--units-lg)}.ui-card._outlined{border-color:var(--global-border-subtle)}.ui-card._elevated{box-shadow:var(--shadow-default-md)}\n"] }); }
147
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiCard, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
148
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: UiCard, isStandalone: true, selector: "ui-card", inputs: { header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, subheader: { classPropertyName: "subheader", publicName: "subheader", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, contentFlush: { classPropertyName: "contentFlush", publicName: "contentFlush", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "titleSlot", first: true, predicate: UiCardTitle, descendants: true, isSignal: true }, { propertyName: "subtitleSlot", first: true, predicate: UiCardSubtitle, descendants: true, isSignal: true }, { propertyName: "mediaSlot", first: true, predicate: UiCardMedia, descendants: true, isSignal: true }, { propertyName: "footerSlot", first: true, predicate: UiCardFooter, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "contentWrap", first: true, predicate: ["contentWrap"], descendants: true, isSignal: true }], ngImport: i0, template: "<div\n [class]=\"classes()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.role]=\"ariaLabel() || ariaLabelledBy() ? 'region' : null\"\n>\n @if (hasMedia()) {\n <div class=\"ui-card-media\">\n <ng-content select=\"[uiCardMedia], ui-card-media\" />\n </div>\n }\n\n <div class=\"ui-card-body\">\n @if (hasHeader()) {\n <div class=\"ui-card-header\">\n @if (hasTitle()) {\n <div class=\"ui-card-title\">\n @if (showHeaderString()) {\n {{ header() }}\n }\n <ng-content select=\"[uiCardTitle], ui-card-title\" />\n </div>\n }\n @if (hasSubtitle()) {\n <div class=\"ui-card-subtitle\">\n @if (showSubheaderString()) {\n {{ subheader() }}\n }\n <ng-content select=\"[uiCardSubtitle], ui-card-subtitle\" />\n </div>\n }\n </div>\n }\n\n <div\n class=\"ui-card-content\"\n #contentWrap\n [class._empty]=\"!hasContent()\"\n [class._flush]=\"contentFlush()\"\n >\n <ng-content />\n </div>\n\n @if (hasFooter()) {\n <div class=\"ui-card-footer\">\n <ng-content select=\"[uiCardFooter], ui-card-footer\" />\n </div>\n }\n </div>\n</div>\n", styles: [":host{display:block}.ui-card{--ui-card-padding: var(--units-lg);display:flex;flex-direction:column;overflow:hidden;background-color:var(--global-background-default);border:var(--stroke-sm) solid transparent;border-radius:var(--radius-md);color:var(--global-text-default);font-family:var(--fontfamily-base)}.ui-card-media{display:flex;overflow:hidden}.ui-card-media ::ng-deep img,.ui-card-media ::ng-deep svg,.ui-card-media ::ng-deep ui-image,.ui-card-media ::ng-deep picture{display:block;width:100%;height:100%;object-fit:cover}.ui-card-body{display:flex;flex-direction:column;gap:var(--units-md);padding-block:var(--units-lg)}.ui-card-header{display:flex;flex-direction:column;gap:var(--units-2xs);padding-inline:var(--units-lg)}.ui-card-title{display:flex;align-items:center;flex-wrap:wrap;gap:var(--units-sm);font-family:var(--fontfamily-title);font-size:var(--size-typography-title-default);font-weight:var(--weight-bold);line-height:1.2;color:var(--global-text-default)}.ui-card-subtitle{font-size:var(--size-typography-text-md);line-height:1.4;color:var(--global-text-muted)}.ui-card-content{padding-inline:var(--units-lg);font-size:var(--size-typography-text-md);line-height:1.5;color:var(--global-text-default)}.ui-card-content._flush{padding-inline:0}.ui-card-content._empty{display:none}.ui-card-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--units-sm);padding-inline:var(--units-lg)}.ui-card._outlined{border-color:var(--global-border-subtle)}.ui-card._elevated{box-shadow:var(--shadow-default-md)}\n"] }); }
149
149
  }
150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: UiCard, decorators: [{
150
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiCard, decorators: [{
151
151
  type: Component,
152
152
  args: [{ selector: 'ui-card', imports: [], template: "<div\n [class]=\"classes()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() ?? null\"\n [attr.role]=\"ariaLabel() || ariaLabelledBy() ? 'region' : null\"\n>\n @if (hasMedia()) {\n <div class=\"ui-card-media\">\n <ng-content select=\"[uiCardMedia], ui-card-media\" />\n </div>\n }\n\n <div class=\"ui-card-body\">\n @if (hasHeader()) {\n <div class=\"ui-card-header\">\n @if (hasTitle()) {\n <div class=\"ui-card-title\">\n @if (showHeaderString()) {\n {{ header() }}\n }\n <ng-content select=\"[uiCardTitle], ui-card-title\" />\n </div>\n }\n @if (hasSubtitle()) {\n <div class=\"ui-card-subtitle\">\n @if (showSubheaderString()) {\n {{ subheader() }}\n }\n <ng-content select=\"[uiCardSubtitle], ui-card-subtitle\" />\n </div>\n }\n </div>\n }\n\n <div\n class=\"ui-card-content\"\n #contentWrap\n [class._empty]=\"!hasContent()\"\n [class._flush]=\"contentFlush()\"\n >\n <ng-content />\n </div>\n\n @if (hasFooter()) {\n <div class=\"ui-card-footer\">\n <ng-content select=\"[uiCardFooter], ui-card-footer\" />\n </div>\n }\n </div>\n</div>\n", styles: [":host{display:block}.ui-card{--ui-card-padding: var(--units-lg);display:flex;flex-direction:column;overflow:hidden;background-color:var(--global-background-default);border:var(--stroke-sm) solid transparent;border-radius:var(--radius-md);color:var(--global-text-default);font-family:var(--fontfamily-base)}.ui-card-media{display:flex;overflow:hidden}.ui-card-media ::ng-deep img,.ui-card-media ::ng-deep svg,.ui-card-media ::ng-deep ui-image,.ui-card-media ::ng-deep picture{display:block;width:100%;height:100%;object-fit:cover}.ui-card-body{display:flex;flex-direction:column;gap:var(--units-md);padding-block:var(--units-lg)}.ui-card-header{display:flex;flex-direction:column;gap:var(--units-2xs);padding-inline:var(--units-lg)}.ui-card-title{display:flex;align-items:center;flex-wrap:wrap;gap:var(--units-sm);font-family:var(--fontfamily-title);font-size:var(--size-typography-title-default);font-weight:var(--weight-bold);line-height:1.2;color:var(--global-text-default)}.ui-card-subtitle{font-size:var(--size-typography-text-md);line-height:1.4;color:var(--global-text-muted)}.ui-card-content{padding-inline:var(--units-lg);font-size:var(--size-typography-text-md);line-height:1.5;color:var(--global-text-default)}.ui-card-content._flush{padding-inline:0}.ui-card-content._empty{display:none}.ui-card-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--units-sm);padding-inline:var(--units-lg)}.ui-card._outlined{border-color:var(--global-border-subtle)}.ui-card._elevated{box-shadow:var(--shadow-default-md)}\n"] }]
153
153
  }], ctorParameters: () => [], propDecorators: { header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], subheader: [{ type: i0.Input, args: [{ isSignal: true, alias: "subheader", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], contentFlush: [{ type: i0.Input, args: [{ isSignal: true, alias: "contentFlush", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], titleSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => UiCardTitle), { isSignal: true }] }], subtitleSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => UiCardSubtitle), { isSignal: true }] }], mediaSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => UiCardMedia), { isSignal: true }] }], footerSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => UiCardFooter), { isSignal: true }] }], contentWrap: [{ type: i0.ViewChild, args: ['contentWrap', { isSignal: true }] }] } });
@@ -161,4 +161,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
161
161
  */
162
162
 
163
163
  export { UiCard, UiCardFooter, UiCardMedia, UiCardSubtitle, UiCardTitle };
164
- //# sourceMappingURL=4sh-ui-kit-ui-card.mjs.map
164
+ //# sourceMappingURL=4sh-ui-kit-layout-ui-card.mjs.map