@semantic-components/ui 0.67.0 → 0.69.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 (292) hide show
  1. package/esm2022/lib/components/accordion/accordion-body.js +3 -3
  2. package/esm2022/lib/components/accordion/accordion-content.js +3 -3
  3. package/esm2022/lib/components/accordion/accordion-group.js +3 -3
  4. package/esm2022/lib/components/accordion/accordion-header.js +3 -3
  5. package/esm2022/lib/components/accordion/accordion-item.js +3 -3
  6. package/esm2022/lib/components/accordion/accordion-panel.js +3 -3
  7. package/esm2022/lib/components/accordion/accordion-trigger.js +4 -4
  8. package/esm2022/lib/components/accordion/accordion-trigger.js.map +1 -1
  9. package/esm2022/lib/components/alert/alert-action.js +3 -3
  10. package/esm2022/lib/components/alert/alert-description.js +3 -3
  11. package/esm2022/lib/components/alert/alert-title.js +3 -3
  12. package/esm2022/lib/components/alert/alert.js +3 -3
  13. package/esm2022/lib/components/alert-dialog/alert-dialog-action.js +3 -3
  14. package/esm2022/lib/components/alert-dialog/alert-dialog-cancel.js +3 -3
  15. package/esm2022/lib/components/alert-dialog/alert-dialog-description.js +3 -3
  16. package/esm2022/lib/components/alert-dialog/alert-dialog-footer.js +3 -3
  17. package/esm2022/lib/components/alert-dialog/alert-dialog-header.js +3 -3
  18. package/esm2022/lib/components/alert-dialog/alert-dialog-media.js +3 -3
  19. package/esm2022/lib/components/alert-dialog/alert-dialog-portal.js +3 -3
  20. package/esm2022/lib/components/alert-dialog/alert-dialog-provider.js +3 -3
  21. package/esm2022/lib/components/alert-dialog/alert-dialog-title.js +3 -3
  22. package/esm2022/lib/components/alert-dialog/alert-dialog-trigger.js +3 -3
  23. package/esm2022/lib/components/alert-dialog/alert-dialog.js +3 -3
  24. package/esm2022/lib/components/aspect-ratio/aspect-ratio.js +3 -3
  25. package/esm2022/lib/components/avatar/avatar-badge.js +3 -3
  26. package/esm2022/lib/components/avatar/avatar-fallback.js +3 -3
  27. package/esm2022/lib/components/avatar/avatar-group-count.js +3 -3
  28. package/esm2022/lib/components/avatar/avatar-group.js +3 -3
  29. package/esm2022/lib/components/avatar/avatar-image.js +3 -3
  30. package/esm2022/lib/components/avatar/avatar.js +3 -3
  31. package/esm2022/lib/components/backdrop/backdrop.js +3 -3
  32. package/esm2022/lib/components/badge/badge.js +3 -3
  33. package/esm2022/lib/components/breadcrumb/breadcrumb-ellipsis.js +4 -4
  34. package/esm2022/lib/components/breadcrumb/breadcrumb-item.js +3 -3
  35. package/esm2022/lib/components/breadcrumb/breadcrumb-link.js +3 -3
  36. package/esm2022/lib/components/breadcrumb/breadcrumb-list.js +3 -3
  37. package/esm2022/lib/components/breadcrumb/breadcrumb-page.js +3 -3
  38. package/esm2022/lib/components/breadcrumb/breadcrumb-separator.js +4 -4
  39. package/esm2022/lib/components/breadcrumb/breadcrumb.js +3 -3
  40. package/esm2022/lib/components/button/button.js +3 -3
  41. package/esm2022/lib/components/button-group/button-group-separator.js +3 -3
  42. package/esm2022/lib/components/button-group/button-group-text.js +3 -3
  43. package/esm2022/lib/components/button-group/button-group.js +3 -3
  44. package/esm2022/lib/components/calendar/calendar-day-view.js +4 -4
  45. package/esm2022/lib/components/calendar/calendar-header.js +4 -4
  46. package/esm2022/lib/components/calendar/calendar-header.js.map +1 -1
  47. package/esm2022/lib/components/calendar/calendar-month-view.js +4 -4
  48. package/esm2022/lib/components/calendar/calendar-year-view.js +4 -4
  49. package/esm2022/lib/components/calendar/calendar.js +3 -3
  50. package/esm2022/lib/components/card/card-action.js +3 -3
  51. package/esm2022/lib/components/card/card-body.js +3 -3
  52. package/esm2022/lib/components/card/card-description.js +3 -3
  53. package/esm2022/lib/components/card/card-footer.js +3 -3
  54. package/esm2022/lib/components/card/card-header.js +3 -3
  55. package/esm2022/lib/components/card/card-title.js +3 -3
  56. package/esm2022/lib/components/card/card.js +3 -3
  57. package/esm2022/lib/components/checkbox/checkbox-field.js +3 -3
  58. package/esm2022/lib/components/checkbox/checkbox-visual.js +4 -4
  59. package/esm2022/lib/components/checkbox/checkbox-visual.js.map +1 -1
  60. package/esm2022/lib/components/checkbox/checkbox.js +3 -3
  61. package/esm2022/lib/components/collapsible/collapsible-body.js +3 -3
  62. package/esm2022/lib/components/collapsible/collapsible-content.js +3 -3
  63. package/esm2022/lib/components/collapsible/collapsible-panel.js +3 -3
  64. package/esm2022/lib/components/collapsible/collapsible-trigger.js +3 -3
  65. package/esm2022/lib/components/collapsible/collapsible.js +3 -3
  66. package/esm2022/lib/components/date-picker/date-picker.js +4 -4
  67. package/esm2022/lib/components/dialog/dialog-close.js +3 -3
  68. package/esm2022/lib/components/dialog/dialog-description.js +3 -3
  69. package/esm2022/lib/components/dialog/dialog-footer.js +3 -3
  70. package/esm2022/lib/components/dialog/dialog-header.js +3 -3
  71. package/esm2022/lib/components/dialog/dialog-portal.js +3 -3
  72. package/esm2022/lib/components/dialog/dialog-provider.js +3 -3
  73. package/esm2022/lib/components/dialog/dialog-title.js +3 -3
  74. package/esm2022/lib/components/dialog/dialog-trigger.js +3 -3
  75. package/esm2022/lib/components/dialog/dialog.js +3 -3
  76. package/esm2022/lib/components/drawer/drawer-close.js +3 -3
  77. package/esm2022/lib/components/drawer/drawer-description.js +3 -3
  78. package/esm2022/lib/components/drawer/drawer-footer.js +3 -3
  79. package/esm2022/lib/components/drawer/drawer-handle.js +3 -3
  80. package/esm2022/lib/components/drawer/drawer-header.js +3 -3
  81. package/esm2022/lib/components/drawer/drawer-portal.js +3 -3
  82. package/esm2022/lib/components/drawer/drawer-provider.js +3 -3
  83. package/esm2022/lib/components/drawer/drawer-title.js +3 -3
  84. package/esm2022/lib/components/drawer/drawer-trigger.js +3 -3
  85. package/esm2022/lib/components/drawer/drawer.js +3 -3
  86. package/esm2022/lib/components/empty/empty-body.js +3 -3
  87. package/esm2022/lib/components/empty/empty-description.js +3 -3
  88. package/esm2022/lib/components/empty/empty-header.js +3 -3
  89. package/esm2022/lib/components/empty/empty-media.js +3 -3
  90. package/esm2022/lib/components/empty/empty-title.js +3 -3
  91. package/esm2022/lib/components/empty/empty.js +3 -3
  92. package/esm2022/lib/components/field/field-body.js +3 -3
  93. package/esm2022/lib/components/field/field-description.js +3 -3
  94. package/esm2022/lib/components/field/field-error.js +3 -3
  95. package/esm2022/lib/components/field/field-group.js +3 -3
  96. package/esm2022/lib/components/field/field-separator.js +3 -3
  97. package/esm2022/lib/components/field/field-title.js +3 -3
  98. package/esm2022/lib/components/field/field.js +3 -3
  99. package/esm2022/lib/components/field/fieldset.js +3 -3
  100. package/esm2022/lib/components/field/legend.js +3 -3
  101. package/esm2022/lib/components/file-upload/file-upload-dropzone.js +3 -3
  102. package/esm2022/lib/components/file-upload/file-upload-item-delete.js +3 -3
  103. package/esm2022/lib/components/file-upload/file-upload-item-name.js +3 -3
  104. package/esm2022/lib/components/file-upload/file-upload-item-preview.js +3 -3
  105. package/esm2022/lib/components/file-upload/file-upload-item-progress.js +3 -3
  106. package/esm2022/lib/components/file-upload/file-upload-item-size.js +3 -3
  107. package/esm2022/lib/components/file-upload/file-upload-item.js +3 -3
  108. package/esm2022/lib/components/file-upload/file-upload-list.js +3 -3
  109. package/esm2022/lib/components/file-upload/file-upload-trigger.js +3 -3
  110. package/esm2022/lib/components/file-upload/file-upload.js +3 -3
  111. package/esm2022/lib/components/hover-card/hover-card-portal.js +3 -3
  112. package/esm2022/lib/components/hover-card/hover-card-provider.js +3 -3
  113. package/esm2022/lib/components/hover-card/hover-card-trigger.js +3 -3
  114. package/esm2022/lib/components/hover-card/hover-card.js +3 -3
  115. package/esm2022/lib/components/index.js +6 -4
  116. package/esm2022/lib/components/index.js.map +1 -1
  117. package/esm2022/lib/components/input/input.js +3 -3
  118. package/esm2022/lib/components/input-group/input-group-addon.js +3 -3
  119. package/esm2022/lib/components/input-group/input-group-button.js +3 -3
  120. package/esm2022/lib/components/input-group/input-group-text.js +3 -3
  121. package/esm2022/lib/components/input-group/input-group.js +3 -3
  122. package/esm2022/lib/components/item/item-actions.js +3 -3
  123. package/esm2022/lib/components/item/item-body.js +3 -3
  124. package/esm2022/lib/components/item/item-description.js +3 -3
  125. package/esm2022/lib/components/item/item-footer.js +3 -3
  126. package/esm2022/lib/components/item/item-group.js +3 -3
  127. package/esm2022/lib/components/item/item-header.js +3 -3
  128. package/esm2022/lib/components/item/item-media.js +3 -3
  129. package/esm2022/lib/components/item/item-separator.js +3 -3
  130. package/esm2022/lib/components/item/item-title.js +3 -3
  131. package/esm2022/lib/components/item/item.js +3 -3
  132. package/esm2022/lib/components/kbd/kbd-group.js +3 -3
  133. package/esm2022/lib/components/kbd/kbd.js +3 -3
  134. package/esm2022/lib/components/label/label.js +3 -3
  135. package/esm2022/lib/components/link/link.js +3 -3
  136. package/esm2022/lib/components/menu/menu-content.js +3 -3
  137. package/esm2022/lib/components/menu/menu-item.js +3 -3
  138. package/esm2022/lib/components/menu/menu-portal.js +3 -3
  139. package/esm2022/lib/components/menu/menu-provider.js +3 -3
  140. package/esm2022/lib/components/menu/menu-separator.js +3 -3
  141. package/esm2022/lib/components/menu/menu-trigger.js +3 -3
  142. package/esm2022/lib/components/menu/menu.js +4 -4
  143. package/esm2022/lib/components/menu/menu.js.map +1 -1
  144. package/esm2022/lib/components/menu-bar/menu-bar-item.js +3 -3
  145. package/esm2022/lib/components/menu-bar/menu-bar.js +3 -3
  146. package/esm2022/lib/components/native-select/native-select-container.js +3 -3
  147. package/esm2022/lib/components/native-select/native-select-icon.js +3 -3
  148. package/esm2022/lib/components/native-select/native-select-optgroup.js +3 -3
  149. package/esm2022/lib/components/native-select/native-select-option.js +3 -3
  150. package/esm2022/lib/components/native-select/native-select.js +3 -3
  151. package/esm2022/lib/components/navigation-menu/index.js +1 -0
  152. package/esm2022/lib/components/navigation-menu/index.js.map +1 -1
  153. package/esm2022/lib/components/navigation-menu/navigation-menu-content.js +3 -3
  154. package/esm2022/lib/components/navigation-menu/navigation-menu-grid.js +20 -0
  155. package/esm2022/lib/components/navigation-menu/navigation-menu-grid.js.map +1 -0
  156. package/esm2022/lib/components/navigation-menu/navigation-menu-item.js +3 -3
  157. package/esm2022/lib/components/navigation-menu/navigation-menu-link.js +3 -3
  158. package/esm2022/lib/components/navigation-menu/navigation-menu-list.js +3 -3
  159. package/esm2022/lib/components/navigation-menu/navigation-menu-portal.js +3 -3
  160. package/esm2022/lib/components/navigation-menu/navigation-menu-trigger-icon.js +3 -3
  161. package/esm2022/lib/components/navigation-menu/navigation-menu-trigger.js +4 -4
  162. package/esm2022/lib/components/navigation-menu/navigation-menu-trigger.js.map +1 -1
  163. package/esm2022/lib/components/navigation-menu/navigation-menu.js +3 -3
  164. package/esm2022/lib/components/pagination/pagination-ellipsis.js +3 -3
  165. package/esm2022/lib/components/pagination/pagination-first.js +3 -3
  166. package/esm2022/lib/components/pagination/pagination-item.js +3 -3
  167. package/esm2022/lib/components/pagination/pagination-last.js +3 -3
  168. package/esm2022/lib/components/pagination/pagination-link.js +3 -3
  169. package/esm2022/lib/components/pagination/pagination-list.js +3 -3
  170. package/esm2022/lib/components/pagination/pagination-next.js +3 -3
  171. package/esm2022/lib/components/pagination/pagination-page-size-select.js +3 -3
  172. package/esm2022/lib/components/pagination/pagination-previous.js +3 -3
  173. package/esm2022/lib/components/pagination/pagination.js +3 -3
  174. package/esm2022/lib/components/popover/popover-close.js +3 -3
  175. package/esm2022/lib/components/popover/popover-description.js +3 -3
  176. package/esm2022/lib/components/popover/popover-header.js +3 -3
  177. package/esm2022/lib/components/popover/popover-portal.js +3 -3
  178. package/esm2022/lib/components/popover/popover-provider.js +3 -3
  179. package/esm2022/lib/components/popover/popover-title.js +3 -3
  180. package/esm2022/lib/components/popover/popover-trigger.js +3 -3
  181. package/esm2022/lib/components/popover/popover.js +3 -3
  182. package/esm2022/lib/components/progress/progress-indicator.js +3 -3
  183. package/esm2022/lib/components/progress/progress.js +3 -3
  184. package/esm2022/lib/components/radio-group/radio-field.js +3 -3
  185. package/esm2022/lib/components/radio-group/radio-group.js +3 -3
  186. package/esm2022/lib/components/radio-group/radio.js +3 -3
  187. package/esm2022/lib/components/range-slider/range-slider-max.js +3 -3
  188. package/esm2022/lib/components/range-slider/range-slider-min.js +3 -3
  189. package/esm2022/lib/components/range-slider/range-slider.js +3 -3
  190. package/esm2022/lib/components/scroll-area/index.js +2 -0
  191. package/esm2022/lib/components/scroll-area/index.js.map +1 -0
  192. package/esm2022/lib/components/scroll-area/scroll-area.js +21 -0
  193. package/esm2022/lib/components/scroll-area/scroll-area.js.map +1 -0
  194. package/esm2022/lib/components/select/index.js +1 -1
  195. package/esm2022/lib/components/select/index.js.map +1 -1
  196. package/esm2022/lib/components/select/select-group-label.js +3 -3
  197. package/esm2022/lib/components/select/select-group.js +3 -3
  198. package/esm2022/lib/components/select/select-input.js +3 -3
  199. package/esm2022/lib/components/select/select-item-icon.js +3 -3
  200. package/esm2022/lib/components/select/select-item-indicator.js +3 -3
  201. package/esm2022/lib/components/select/select-item.js +6 -4
  202. package/esm2022/lib/components/select/select-item.js.map +1 -1
  203. package/esm2022/lib/components/select/{select-value.js → select-label.js} +7 -7
  204. package/esm2022/lib/components/select/select-label.js.map +1 -0
  205. package/esm2022/lib/components/select/select-list.js +11 -5
  206. package/esm2022/lib/components/select/select-list.js.map +1 -1
  207. package/esm2022/lib/components/select/select-popup.js +3 -3
  208. package/esm2022/lib/components/select/select-portal.js +3 -3
  209. package/esm2022/lib/components/select/select-separator.js +3 -3
  210. package/esm2022/lib/components/select/select-trigger-icon.js +3 -3
  211. package/esm2022/lib/components/select/select-trigger.js +7 -7
  212. package/esm2022/lib/components/select/select-trigger.js.map +1 -1
  213. package/esm2022/lib/components/select/select.js +19 -8
  214. package/esm2022/lib/components/select/select.js.map +1 -1
  215. package/esm2022/lib/components/separator/separator.js +3 -3
  216. package/esm2022/lib/components/sheet/sheet-close.js +3 -3
  217. package/esm2022/lib/components/sheet/sheet-description.js +3 -3
  218. package/esm2022/lib/components/sheet/sheet-footer.js +3 -3
  219. package/esm2022/lib/components/sheet/sheet-header.js +3 -3
  220. package/esm2022/lib/components/sheet/sheet-portal.js +3 -3
  221. package/esm2022/lib/components/sheet/sheet-provider.js +3 -3
  222. package/esm2022/lib/components/sheet/sheet-title.js +3 -3
  223. package/esm2022/lib/components/sheet/sheet-trigger.js +3 -3
  224. package/esm2022/lib/components/sheet/sheet.js +3 -3
  225. package/esm2022/lib/components/skeleton/skeleton.js +3 -3
  226. package/esm2022/lib/components/slider/slider.js +3 -3
  227. package/esm2022/lib/components/spinner/spinner.js +3 -3
  228. package/esm2022/lib/components/switch/switch-field.js +3 -3
  229. package/esm2022/lib/components/switch/switch-visual.js +3 -3
  230. package/esm2022/lib/components/switch/switch.js +3 -3
  231. package/esm2022/lib/components/table/table-body.js +3 -3
  232. package/esm2022/lib/components/table/table-caption.js +3 -3
  233. package/esm2022/lib/components/table/table-cell.js +3 -3
  234. package/esm2022/lib/components/table/table-footer.js +3 -3
  235. package/esm2022/lib/components/table/table-header-cell.js +3 -3
  236. package/esm2022/lib/components/table/table-header.js +3 -3
  237. package/esm2022/lib/components/table/table-row.js +3 -3
  238. package/esm2022/lib/components/table/table.js +3 -3
  239. package/esm2022/lib/components/tabs/tab-content.js +3 -3
  240. package/esm2022/lib/components/tabs/tab-list.js +3 -3
  241. package/esm2022/lib/components/tabs/tab-panel.js +3 -3
  242. package/esm2022/lib/components/tabs/tab.js +3 -3
  243. package/esm2022/lib/components/tabs/tabs.js +3 -3
  244. package/esm2022/lib/components/textarea/textarea.js +3 -3
  245. package/esm2022/lib/components/time-picker/time-picker-hours-input.js +3 -3
  246. package/esm2022/lib/components/time-picker/time-picker-input.js +3 -3
  247. package/esm2022/lib/components/time-picker/time-picker-minutes-input.js +3 -3
  248. package/esm2022/lib/components/time-picker/time-picker-period-am.js +3 -3
  249. package/esm2022/lib/components/time-picker/time-picker-period-pm.js +3 -3
  250. package/esm2022/lib/components/time-picker/time-picker-period.js +3 -3
  251. package/esm2022/lib/components/time-picker/time-picker-seconds-input.js +3 -3
  252. package/esm2022/lib/components/time-picker/time-picker-separator.js +3 -3
  253. package/esm2022/lib/components/time-picker/time-picker.js +3 -3
  254. package/esm2022/lib/components/toast/toast-action.js +3 -3
  255. package/esm2022/lib/components/toast/toast-close.js +3 -3
  256. package/esm2022/lib/components/toast/toast-description.js +3 -3
  257. package/esm2022/lib/components/toast/toast-stack.js +4 -4
  258. package/esm2022/lib/components/toast/toast-stack.js.map +1 -1
  259. package/esm2022/lib/components/toast/toast-title.js +3 -3
  260. package/esm2022/lib/components/toast/toast.js +3 -3
  261. package/esm2022/lib/components/toast/toaster.js +3 -3
  262. package/esm2022/lib/components/toggle/toggle.js +3 -3
  263. package/esm2022/lib/components/toggle-group/toggle-group-item.js +3 -3
  264. package/esm2022/lib/components/toggle-group/toggle-group.js +3 -3
  265. package/esm2022/lib/components/toolbar/toolbar-separator.js +3 -3
  266. package/esm2022/lib/components/toolbar/toolbar-widget-group.js +3 -3
  267. package/esm2022/lib/components/toolbar/toolbar-widget.js +3 -3
  268. package/esm2022/lib/components/toolbar/toolbar.js +3 -3
  269. package/esm2022/lib/components/tooltip/tooltip-manager.js +3 -3
  270. package/esm2022/lib/components/tooltip/tooltip-trigger.js +3 -3
  271. package/esm2022/lib/components/tooltip/tooltip.js +3 -3
  272. package/esm2022/lib/components/typography/heading.js +43 -0
  273. package/esm2022/lib/components/typography/heading.js.map +1 -0
  274. package/esm2022/lib/components/typography/index.js +2 -0
  275. package/esm2022/lib/components/typography/index.js.map +1 -0
  276. package/lib/components/index.d.ts +6 -4
  277. package/lib/components/menu/menu.d.ts +1 -1
  278. package/lib/components/navigation-menu/index.d.ts +1 -0
  279. package/lib/components/navigation-menu/navigation-menu-grid.d.ts +7 -0
  280. package/lib/components/scroll-area/index.d.ts +1 -0
  281. package/lib/components/scroll-area/scroll-area.d.ts +7 -0
  282. package/lib/components/select/index.d.ts +1 -1
  283. package/lib/components/select/select-item.d.ts +2 -0
  284. package/lib/components/select/select-label.d.ts +7 -0
  285. package/lib/components/select/select-list.d.ts +3 -1
  286. package/lib/components/select/select-trigger.d.ts +2 -2
  287. package/lib/components/select/select.d.ts +5 -4
  288. package/lib/components/typography/heading.d.ts +15 -0
  289. package/lib/components/typography/index.d.ts +1 -0
  290. package/package.json +1 -1
  291. package/esm2022/lib/components/select/select-value.js.map +0 -1
  292. package/lib/components/select/select-value.d.ts +0 -7
@@ -1 +1 @@
1
- {"version":3,"file":"toast-stack.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/toast/toast-stack.ts"],"names":[],"mappings":"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","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n ViewEncapsulation,\n} from '@angular/core';\nimport { cn } from '../../utils';\nimport { ScToastPosition } from './toast.types';\nimport {\n SiCircleCheckIcon,\n SiInfoIcon,\n SiLoaderCircleIcon,\n SiOctagonXIcon,\n SiTriangleAlertIcon,\n SiXIcon,\n} from '@semantic-icons/lucide-icons';\nimport { ScToast } from './toast';\nimport { ScToastAction } from './toast-action';\nimport { ScToastClose } from './toast-close';\nimport { ScToastDescription } from './toast-description';\nimport { ScToastTitle } from './toast-title';\nimport { ScToaster } from './toaster';\n\n@Component({\n selector: 'sc-toast-stack',\n imports: [\n SiXIcon,\n SiCircleCheckIcon,\n SiInfoIcon,\n SiLoaderCircleIcon,\n SiOctagonXIcon,\n SiTriangleAlertIcon,\n ScToast,\n ScToastTitle,\n ScToastDescription,\n ScToastClose,\n ScToastAction,\n ],\n template: `\n @for (toast of toastService.toasts(); track toast.id) {\n <div\n scToast\n [variant]=\"toast.variant ?? 'default'\"\n [position]=\"toastService.position()\"\n [attr.data-state]=\"toast.state ?? 'open'\"\n (animationend)=\"onAnimationEnd($event, toast.id)\"\n (pointerEnter)=\"toastService.pause(toast.id)\"\n (pointerLeave)=\"toastService.resume(toast.id)\"\n >\n @switch (toast.variant) {\n @case ('success') {\n <svg\n siCircleCheckIcon\n class=\"size-4 shrink-0 text-green-600 dark:text-green-400\"\n ></svg>\n }\n @case ('info') {\n <svg\n siInfoIcon\n class=\"size-4 shrink-0 text-blue-600 dark:text-blue-400\"\n ></svg>\n }\n @case ('warning') {\n <svg\n siTriangleAlertIcon\n class=\"size-4 shrink-0 text-yellow-600 dark:text-yellow-400\"\n ></svg>\n }\n @case ('error') {\n <svg siOctagonXIcon class=\"size-4 shrink-0\"></svg>\n }\n @case ('loading') {\n <svg siLoaderCircleIcon class=\"size-4 shrink-0 animate-spin\"></svg>\n }\n }\n <div class=\"grid gap-1\">\n @if (toast.title) {\n <div scToastTitle>{{ toast.title }}</div>\n }\n @if (toast.description) {\n <div scToastDescription>{{ toast.description }}</div>\n }\n </div>\n @if (toast.action) {\n <button\n scToastAction\n (click)=\"onAction(toast.id, toast.action.onClick)\"\n >\n {{ toast.action.label }}\n </button>\n }\n <button scToastClose (close)=\"dismiss(toast.id)\">\n <svg siXIcon class=\"size-4\"></svg>\n </button>\n </div>\n }\n `,\n host: {\n 'data-slot': 'toast-stack',\n '[class]': 'class()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScToastStack {\n protected readonly toastService = inject(ScToaster);\n\n private readonly positionClasses: Record<ScToastPosition, string> = {\n 'top-left': 'fixed top-0 left-0 flex-col-reverse',\n 'top-center': 'fixed top-0 left-1/2 -translate-x-1/2 flex-col-reverse',\n 'top-right': 'fixed top-0 right-0 flex-col-reverse',\n 'bottom-left': 'fixed bottom-0 left-0 flex-col',\n 'bottom-center': 'fixed bottom-0 left-1/2 -translate-x-1/2 flex-col',\n 'bottom-right': 'fixed bottom-0 right-0 flex-col',\n };\n\n protected readonly class = computed(() =>\n cn(\n 'z-100 flex max-h-screen w-full gap-2 p-4 md:max-w-[420px]',\n this.positionClasses[this.toastService.position()],\n ),\n );\n\n protected dismiss(id: string): void {\n this.toastService.dismiss(id);\n }\n\n protected onAction(id: string, onClick: () => void): void {\n onClick();\n this.toastService.dismiss(id);\n }\n\n protected onAnimationEnd(event: AnimationEvent, id: string): void {\n if (event.target !== event.currentTarget) return;\n\n const toast = this.toastService.toasts().find((t) => t.id === id);\n if (toast?.state === 'closed') {\n this.toastService.remove(id);\n }\n }\n}\n"]}
1
+ {"version":3,"file":"toast-stack.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/toast/toast-stack.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,MAAM,EACN,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,OAAO,GACR,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;;AAmFtC,MAAM,OAAO,YAAY;IACJ,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;IAEnC,eAAe,GAAoC;QAClE,UAAU,EAAE,qCAAqC;QACjD,YAAY,EAAE,wDAAwD;QACtE,WAAW,EAAE,sCAAsC;QACnD,aAAa,EAAE,gCAAgC;QAC/C,eAAe,EAAE,mDAAmD;QACpE,cAAc,EAAE,iCAAiC;KAClD,CAAC;IAEiB,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,2DAA2D,EAC3D,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC,CACnD,iDACF,CAAC;IAEQ,OAAO,CAAC,EAAU;QAC1B,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAChC,CAAC;IAES,QAAQ,CAAC,EAAU,EAAE,OAAmB;QAChD,OAAO,EAAE,CAAC;QACV,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAChC,CAAC;IAES,cAAc,CAAC,KAAqB,EAAE,EAAU;QACxD,IAAI,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,aAAa;YAAE,OAAO;QAEjD,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QAClE,IAAI,KAAK,EAAE,KAAK,KAAK,QAAQ,EAAE,CAAC;YAC9B,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC;uGAnCU,YAAY;2FAAZ,YAAY,oKAlEb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DT,4DAtEC,OAAO,sLACP,iBAAiB,gMACjB,UAAU,yLACV,kBAAkB,iMAClB,cAAc,6LACd,mBAAmB,kMACnB,OAAO,8IACP,YAAY,8EACZ,kBAAkB,oFAClB,YAAY,wGACZ,aAAa;;2FAoEJ,YAAY;kBAjFxB,SAAS;mBAAC;oBACT,QAAQ,EAAE,gBAAgB;oBAC1B,OAAO,EAAE;wBACP,OAAO;wBACP,iBAAiB;wBACjB,UAAU;wBACV,kBAAkB;wBAClB,cAAc;wBACd,mBAAmB;wBACnB,OAAO;wBACP,YAAY;wBACZ,kBAAkB;wBAClB,YAAY;wBACZ,aAAa;qBACd;oBACD,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DT;oBACD,IAAI,EAAE;wBACJ,WAAW,EAAE,aAAa;wBAC1B,SAAS,EAAE,SAAS;qBACrB;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n ViewEncapsulation,\n} from '@angular/core';\nimport { cn } from '../../utils';\nimport { ScToastPosition } from './toast.types';\nimport {\n SiCircleCheckIcon,\n SiInfoIcon,\n SiLoaderCircleIcon,\n SiOctagonXIcon,\n SiTriangleAlertIcon,\n SiXIcon,\n} from '@semantic-icons/lucide-icons';\nimport { ScToast } from './toast';\nimport { ScToastAction } from './toast-action';\nimport { ScToastClose } from './toast-close';\nimport { ScToastDescription } from './toast-description';\nimport { ScToastTitle } from './toast-title';\nimport { ScToaster } from './toaster';\n\n@Component({\n selector: 'sc-toast-stack',\n imports: [\n SiXIcon,\n SiCircleCheckIcon,\n SiInfoIcon,\n SiLoaderCircleIcon,\n SiOctagonXIcon,\n SiTriangleAlertIcon,\n ScToast,\n ScToastTitle,\n ScToastDescription,\n ScToastClose,\n ScToastAction,\n ],\n template: `\n @for (toast of toastService.toasts(); track toast.id) {\n <div\n scToast\n [variant]=\"toast.variant ?? 'default'\"\n [position]=\"toastService.position()\"\n [attr.data-state]=\"toast.state ?? 'open'\"\n (animationend)=\"onAnimationEnd($event, toast.id)\"\n (pointerEnter)=\"toastService.pause(toast.id)\"\n (pointerLeave)=\"toastService.resume(toast.id)\"\n >\n @switch (toast.variant) {\n @case ('success') {\n <svg\n siCircleCheckIcon\n class=\"size-4 shrink-0 text-green-600 dark:text-green-400\"\n ></svg>\n }\n @case ('info') {\n <svg\n siInfoIcon\n class=\"size-4 shrink-0 text-blue-600 dark:text-blue-400\"\n ></svg>\n }\n @case ('warning') {\n <svg\n siTriangleAlertIcon\n class=\"size-4 shrink-0 text-yellow-600 dark:text-yellow-400\"\n ></svg>\n }\n @case ('error') {\n <svg siOctagonXIcon class=\"size-4 shrink-0\"></svg>\n }\n @case ('loading') {\n <svg siLoaderCircleIcon class=\"size-4 shrink-0 animate-spin\"></svg>\n }\n }\n <div class=\"grid gap-1\">\n @if (toast.title) {\n <div scToastTitle>{{ toast.title }}</div>\n }\n @if (toast.description) {\n <div scToastDescription>{{ toast.description }}</div>\n }\n </div>\n @if (toast.action) {\n <button\n scToastAction\n (click)=\"onAction(toast.id, toast.action.onClick)\"\n >\n {{ toast.action.label }}\n </button>\n }\n <button scToastClose (close)=\"dismiss(toast.id)\">\n <svg siXIcon class=\"size-4\"></svg>\n </button>\n </div>\n }\n `,\n host: {\n 'data-slot': 'toast-stack',\n '[class]': 'class()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScToastStack {\n protected readonly toastService = inject(ScToaster);\n\n private readonly positionClasses: Record<ScToastPosition, string> = {\n 'top-left': 'fixed top-0 left-0 flex-col-reverse',\n 'top-center': 'fixed top-0 left-1/2 -translate-x-1/2 flex-col-reverse',\n 'top-right': 'fixed top-0 right-0 flex-col-reverse',\n 'bottom-left': 'fixed bottom-0 left-0 flex-col',\n 'bottom-center': 'fixed bottom-0 left-1/2 -translate-x-1/2 flex-col',\n 'bottom-right': 'fixed bottom-0 right-0 flex-col',\n };\n\n protected readonly class = computed(() =>\n cn(\n 'z-100 flex max-h-screen w-full gap-2 p-4 md:max-w-[420px]',\n this.positionClasses[this.toastService.position()],\n ),\n );\n\n protected dismiss(id: string): void {\n this.toastService.dismiss(id);\n }\n\n protected onAction(id: string, onClick: () => void): void {\n onClick();\n this.toastService.dismiss(id);\n }\n\n protected onAnimationEnd(event: AnimationEvent, id: string): void {\n if (event.target !== event.currentTarget) return;\n\n const toast = this.toastService.toasts().find((t) => t.id === id);\n if (toast?.state === 'closed') {\n this.toastService.remove(id);\n }\n }\n}\n"]}
@@ -4,10 +4,10 @@ import * as i0 from "@angular/core";
4
4
  export class ScToastTitle {
5
5
  classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
6
  class = computed(() => cn('text-sm font-semibold', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
7
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToastTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScToastTitle, isStandalone: true, selector: "[scToastTitle]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toast-title" }, properties: { "class": "class()" } }, ngImport: i0 });
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToastTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScToastTitle, isStandalone: true, selector: "[scToastTitle]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toast-title" }, properties: { "class": "class()" } }, ngImport: i0 });
9
9
  }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToastTitle, decorators: [{
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToastTitle, decorators: [{
11
11
  type: Directive,
12
12
  args: [{
13
13
  selector: '[scToastTitle]',
@@ -30,12 +30,12 @@ export class ScToast {
30
30
  onPointerLeave() {
31
31
  this.pointerLeave.emit();
32
32
  }
33
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToast, deps: [], target: i0.ɵɵFactoryTarget.Component });
34
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.5", type: ScToast, isStandalone: true, selector: "div[scToast]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pointerEnter: "pointerEnter", pointerLeave: "pointerLeave" }, host: { attributes: { "data-slot": "toast", "role": "status", "aria-live": "polite", "aria-atomic": "true" }, listeners: { "pointerenter": "onPointerEnter()", "pointerleave": "onPointerLeave()" }, properties: { "class": "class()" } }, ngImport: i0, template: `
33
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToast, deps: [], target: i0.ɵɵFactoryTarget.Component });
34
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: ScToast, isStandalone: true, selector: "div[scToast]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pointerEnter: "pointerEnter", pointerLeave: "pointerLeave" }, host: { attributes: { "data-slot": "toast", "role": "status", "aria-live": "polite", "aria-atomic": "true" }, listeners: { "pointerenter": "onPointerEnter()", "pointerleave": "onPointerLeave()" }, properties: { "class": "class()" } }, ngImport: i0, template: `
35
35
  <ng-content />
36
36
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
37
37
  }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToast, decorators: [{
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToast, decorators: [{
39
39
  type: Component,
40
40
  args: [{
41
41
  selector: 'div[scToast]',
@@ -137,10 +137,10 @@ export class ScToaster {
137
137
  const portal = new ComponentPortal(ScToastStack);
138
138
  this.overlayRef.attach(portal);
139
139
  }
140
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToaster, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
141
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToaster, providedIn: 'root' });
140
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToaster, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
141
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToaster, providedIn: 'root' });
142
142
  }
143
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToaster, decorators: [{
143
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToaster, decorators: [{
144
144
  type: Injectable,
145
145
  args: [{
146
146
  providedIn: 'root',
@@ -31,10 +31,10 @@ export class ScToggle {
31
31
  this.pressed.update((v) => !v);
32
32
  }
33
33
  }
34
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToggle, deps: [], target: i0.ɵɵFactoryTarget.Directive });
35
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScToggle, isStandalone: true, selector: "button[scToggle]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, pressed: { classPropertyName: "pressed", publicName: "pressed", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pressed: "pressedChange" }, host: { attributes: { "data-slot": "toggle", "type": "button" }, listeners: { "click": "toggle()" }, properties: { "class": "class()", "attr.aria-pressed": "pressed()", "attr.data-state": "pressed() ? \"on\" : \"off\"", "disabled": "disabled()" } }, ngImport: i0 });
34
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToggle, deps: [], target: i0.ɵɵFactoryTarget.Directive });
35
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScToggle, isStandalone: true, selector: "button[scToggle]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, pressed: { classPropertyName: "pressed", publicName: "pressed", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pressed: "pressedChange" }, host: { attributes: { "data-slot": "toggle", "type": "button" }, listeners: { "click": "toggle()" }, properties: { "class": "class()", "attr.aria-pressed": "pressed()", "attr.data-state": "pressed() ? \"on\" : \"off\"", "disabled": "disabled()" } }, ngImport: i0 });
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToggle, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToggle, decorators: [{
38
38
  type: Directive,
39
39
  args: [{
40
40
  selector: 'button[scToggle]',
@@ -21,10 +21,10 @@ export class ScToggleGroupItem {
21
21
  this.group.toggle(this.value());
22
22
  }
23
23
  }
24
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToggleGroupItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
25
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScToggleGroupItem, isStandalone: true, selector: "button[scToggleGroupItem]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toggle-group-item", "type": "button" }, listeners: { "click": "onClick()" }, properties: { "attr.data-variant": "group.variant() || variant()", "attr.data-size": "group.size() || size()", "attr.data-spacing": "group.spacing()", "attr.aria-pressed": "isSelected()", "attr.data-state": "isSelected() ? \"on\" : \"off\"", "disabled": "isDisabled()", "class": "class()" } }, ngImport: i0 });
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToggleGroupItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
25
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScToggleGroupItem, isStandalone: true, selector: "button[scToggleGroupItem]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toggle-group-item", "type": "button" }, listeners: { "click": "onClick()" }, properties: { "attr.data-variant": "group.variant() || variant()", "attr.data-size": "group.size() || size()", "attr.data-spacing": "group.spacing()", "attr.aria-pressed": "isSelected()", "attr.data-state": "isSelected() ? \"on\" : \"off\"", "disabled": "isDisabled()", "class": "class()" } }, ngImport: i0 });
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToggleGroupItem, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToggleGroupItem, decorators: [{
28
28
  type: Directive,
29
29
  args: [{
30
30
  selector: 'button[scToggleGroupItem]',
@@ -37,10 +37,10 @@ export class ScToggleGroup {
37
37
  this.value.set(arr);
38
38
  }
39
39
  }
40
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToggleGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
41
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScToggleGroup, isStandalone: true, selector: "div[scToggleGroup]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, spacing: { classPropertyName: "spacing", publicName: "spacing", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { attributes: { "data-slot": "toggle-group", "role": "group" }, properties: { "attr.data-variant": "variant()", "attr.data-size": "size()", "attr.data-spacing": "spacing()", "attr.data-orientation": "orientation()", "attr.data-horizontal": "orientation() === \"horizontal\" ? \"\" : null", "attr.data-vertical": "orientation() === \"vertical\" ? \"\" : null", "style.--gap": "spacing()", "class": "class()" } }, ngImport: i0 });
40
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToggleGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
41
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScToggleGroup, isStandalone: true, selector: "div[scToggleGroup]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, spacing: { classPropertyName: "spacing", publicName: "spacing", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { attributes: { "data-slot": "toggle-group", "role": "group" }, properties: { "attr.data-variant": "variant()", "attr.data-size": "size()", "attr.data-spacing": "spacing()", "attr.data-orientation": "orientation()", "attr.data-horizontal": "orientation() === \"horizontal\" ? \"\" : null", "attr.data-vertical": "orientation() === \"vertical\" ? \"\" : null", "style.--gap": "spacing()", "class": "class()" } }, ngImport: i0 });
42
42
  }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToggleGroup, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToggleGroup, decorators: [{
44
44
  type: Directive,
45
45
  args: [{
46
46
  selector: 'div[scToggleGroup]',
@@ -10,10 +10,10 @@ export class ScToolbarSeparator {
10
10
  const isVertical = this.separatorOrientation() === 'vertical';
11
11
  return cn('shrink-0 bg-border', isVertical ? 'mx-1 h-full w-px' : 'my-1 h-px w-full', this.classInput());
12
12
  }, ...(ngDevMode ? [{ debugName: "class" }] : []));
13
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToolbarSeparator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
14
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScToolbarSeparator, isStandalone: true, selector: "div[scToolbarSeparator]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar-separator", "role": "separator" }, properties: { "attr.aria-orientation": "separatorOrientation()", "attr.data-orientation": "separatorOrientation()", "class": "class()" } }, ngImport: i0 });
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarSeparator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
14
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScToolbarSeparator, isStandalone: true, selector: "div[scToolbarSeparator]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar-separator", "role": "separator" }, properties: { "attr.aria-orientation": "separatorOrientation()", "attr.data-orientation": "separatorOrientation()", "class": "class()" } }, ngImport: i0 });
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToolbarSeparator, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarSeparator, decorators: [{
17
17
  type: Directive,
18
18
  args: [{
19
19
  selector: 'div[scToolbarSeparator]',
@@ -6,12 +6,12 @@ import * as i1 from "@angular/aria/toolbar";
6
6
  export class ScToolbarWidgetGroup {
7
7
  classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
8
8
  class = computed(() => cn('flex items-center gap-0.5', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
9
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToolbarWidgetGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
10
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.5", type: ScToolbarWidgetGroup, isStandalone: true, selector: "div[scToolbarWidgetGroup]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar-widget-group" }, properties: { "class": "class()" } }, hostDirectives: [{ directive: i1.ToolbarWidgetGroup, inputs: ["disabled", "disabled", "multi", "multi"] }], ngImport: i0, template: `
9
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarWidgetGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
10
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: ScToolbarWidgetGroup, isStandalone: true, selector: "div[scToolbarWidgetGroup]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar-widget-group" }, properties: { "class": "class()" } }, hostDirectives: [{ directive: i1.ToolbarWidgetGroup, inputs: ["disabled", "disabled", "multi", "multi"] }], ngImport: i0, template: `
11
11
  <ng-content />
12
12
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
13
13
  }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToolbarWidgetGroup, decorators: [{
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarWidgetGroup, decorators: [{
15
15
  type: Component,
16
16
  args: [{
17
17
  selector: 'div[scToolbarWidgetGroup]',
@@ -8,12 +8,12 @@ export class ScToolbarWidget {
8
8
  widget = inject(ToolbarWidget);
9
9
  classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
10
10
  class = computed(() => cn(toggleVariants({ variant: 'default', size: 'default' }), 'data-[state=on]:bg-muted', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
11
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToolbarWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.5", type: ScToolbarWidget, isStandalone: true, selector: "button[scToolbarWidget]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar-widget", "type": "button" }, properties: { "attr.data-state": "widget.selected() ? \"on\" : \"off\"", "class": "class()" } }, hostDirectives: [{ directive: i1.ToolbarWidget, inputs: ["value", "value", "disabled", "disabled"] }], ngImport: i0, template: `
11
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: ScToolbarWidget, isStandalone: true, selector: "button[scToolbarWidget]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar-widget", "type": "button" }, properties: { "attr.data-state": "widget.selected() ? \"on\" : \"off\"", "class": "class()" } }, hostDirectives: [{ directive: i1.ToolbarWidget, inputs: ["value", "value", "disabled", "disabled"] }], ngImport: i0, template: `
13
13
  <ng-content />
14
14
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToolbarWidget, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarWidget, decorators: [{
17
17
  type: Component,
18
18
  args: [{
19
19
  selector: 'button[scToolbarWidget]',
@@ -7,12 +7,12 @@ export class ScToolbar {
7
7
  toolbar = inject(Toolbar);
8
8
  classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
9
9
  class = computed(() => cn('flex w-fit items-center gap-1 rounded-lg border bg-background p-1', this.toolbar.orientation() === 'vertical' && 'flex-col items-stretch', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
10
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToolbar, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.5", type: ScToolbar, isStandalone: true, selector: "div[scToolbar]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar" }, properties: { "attr.data-orientation": "toolbar.orientation()", "class": "class()" } }, hostDirectives: [{ directive: i1.Toolbar, inputs: ["orientation", "orientation", "disabled", "disabled", "wrap", "wrap", "values", "values", "softDisabled", "softDisabled"], outputs: ["valuesChange", "valuesChange"] }], ngImport: i0, template: `
10
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbar, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: ScToolbar, isStandalone: true, selector: "div[scToolbar]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar" }, properties: { "attr.data-orientation": "toolbar.orientation()", "class": "class()" } }, hostDirectives: [{ directive: i1.Toolbar, inputs: ["orientation", "orientation", "disabled", "disabled", "wrap", "wrap", "values", "values", "softDisabled", "softDisabled"], outputs: ["valuesChange", "valuesChange"] }], ngImport: i0, template: `
12
12
  <ng-content />
13
13
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
14
14
  }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToolbar, decorators: [{
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbar, decorators: [{
16
16
  type: Component,
17
17
  args: [{
18
18
  selector: 'div[scToolbar]',
@@ -155,10 +155,10 @@ export class ScTooltipManager {
155
155
  isTooltipVisible(tooltipId) {
156
156
  return this.currentTooltipId === tooltipId;
157
157
  }
158
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScTooltipManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
159
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScTooltipManager, providedIn: 'root' });
158
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltipManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
159
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltipManager, providedIn: 'root' });
160
160
  }
161
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScTooltipManager, decorators: [{
161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltipManager, decorators: [{
162
162
  type: Injectable,
163
163
  args: [{ providedIn: 'root' }]
164
164
  }] });
@@ -96,10 +96,10 @@ export class ScTooltipTrigger {
96
96
  this.hideTimeout = null;
97
97
  }
98
98
  }
99
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScTooltipTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
100
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScTooltipTrigger, isStandalone: true, selector: "[scTooltipTrigger]", inputs: { content: { classPropertyName: "content", publicName: "scTooltipTrigger", isSignal: true, isRequired: true, transformFunction: null }, position: { classPropertyName: "position", publicName: "tooltipPosition", isSignal: true, isRequired: false, transformFunction: null }, showDelay: { classPropertyName: "showDelay", publicName: "tooltipDelay", isSignal: true, isRequired: false, transformFunction: null }, hideDelay: { classPropertyName: "hideDelay", publicName: "tooltipHideDelay", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "tooltipDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focus": "onFocus()", "blur": "onBlur()" }, properties: { "attr.aria-describedby": "ariaDescribedBy()" } }, ngImport: i0 });
99
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltipTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
100
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScTooltipTrigger, isStandalone: true, selector: "[scTooltipTrigger]", inputs: { content: { classPropertyName: "content", publicName: "scTooltipTrigger", isSignal: true, isRequired: true, transformFunction: null }, position: { classPropertyName: "position", publicName: "tooltipPosition", isSignal: true, isRequired: false, transformFunction: null }, showDelay: { classPropertyName: "showDelay", publicName: "tooltipDelay", isSignal: true, isRequired: false, transformFunction: null }, hideDelay: { classPropertyName: "hideDelay", publicName: "tooltipHideDelay", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "tooltipDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focus": "onFocus()", "blur": "onBlur()" }, properties: { "attr.aria-describedby": "ariaDescribedBy()" } }, ngImport: i0 });
101
101
  }
102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScTooltipTrigger, decorators: [{
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltipTrigger, decorators: [{
103
103
  type: Directive,
104
104
  args: [{
105
105
  selector: '[scTooltipTrigger]',
@@ -19,8 +19,8 @@ export class ScTooltip {
19
19
  close() {
20
20
  this.state.set('closed');
21
21
  }
22
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScTooltip, deps: [], target: i0.ɵɵFactoryTarget.Component });
23
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.5", type: ScTooltip, isStandalone: true, selector: "sc-tooltip", outputs: { animationComplete: "animationComplete" }, host: { attributes: { "data-slot": "tooltip", "role": "tooltip", "aria-live": "polite", "aria-atomic": "true" }, listeners: { "animationend": "onAnimationEnd($event)" }, properties: { "id": "data.tooltipId", "class": "hostClass()", "attr.data-open": "state() === \"open\" ? true : null", "attr.data-closed": "state() === \"closed\" ? true : null", "attr.data-side": "side()" } }, ngImport: i0, template: `
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltip, deps: [], target: i0.ɵɵFactoryTarget.Component });
23
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: ScTooltip, isStandalone: true, selector: "sc-tooltip", outputs: { animationComplete: "animationComplete" }, host: { attributes: { "data-slot": "tooltip", "role": "tooltip", "aria-live": "polite", "aria-atomic": "true" }, listeners: { "animationend": "onAnimationEnd($event)" }, properties: { "id": "data.tooltipId", "class": "hostClass()", "attr.data-open": "state() === \"open\" ? true : null", "attr.data-closed": "state() === \"closed\" ? true : null", "attr.data-side": "side()" } }, ngImport: i0, template: `
24
24
  {{ data.content }}
25
25
  <span
26
26
  [attr.data-side]="side()"
@@ -32,7 +32,7 @@ export class ScTooltip {
32
32
  ></span>
33
33
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
34
34
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScTooltip, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltip, decorators: [{
36
36
  type: Component,
37
37
  args: [{
38
38
  selector: 'sc-tooltip',
@@ -0,0 +1,43 @@
1
+ import { computed, Directive, ElementRef, inject, input } from '@angular/core';
2
+ import { cva } from 'class-variance-authority';
3
+ import { cn } from '../../utils';
4
+ import * as i0 from "@angular/core";
5
+ export const headingVariants = cva('scroll-m-20 tracking-tight', {
6
+ variants: {
7
+ level: {
8
+ h1: 'text-4xl font-extrabold',
9
+ h2: 'text-3xl font-semibold first:mt-0',
10
+ h3: 'text-2xl font-semibold',
11
+ h4: 'text-xl font-semibold',
12
+ },
13
+ underline: {
14
+ true: 'border-b pb-2',
15
+ false: '',
16
+ },
17
+ },
18
+ defaultVariants: {
19
+ underline: false,
20
+ },
21
+ });
22
+ export class ScHeading {
23
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
24
+ underline = input(false, ...(ngDevMode ? [{ debugName: "underline" }] : []));
25
+ elementRef = inject(ElementRef);
26
+ class = computed(() => {
27
+ const level = this.elementRef.nativeElement.tagName.toLowerCase();
28
+ return cn(headingVariants({ level, underline: this.underline() }), this.classInput());
29
+ }, ...(ngDevMode ? [{ debugName: "class" }] : []));
30
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScHeading, deps: [], target: i0.ɵɵFactoryTarget.Directive });
31
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScHeading, isStandalone: true, selector: "h1[scHeading], h2[scHeading], h3[scHeading], h4[scHeading]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, underline: { classPropertyName: "underline", publicName: "underline", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "heading" }, properties: { "class": "class()" } }, ngImport: i0 });
32
+ }
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScHeading, decorators: [{
34
+ type: Directive,
35
+ args: [{
36
+ selector: 'h1[scHeading], h2[scHeading], h3[scHeading], h4[scHeading]',
37
+ host: {
38
+ 'data-slot': 'heading',
39
+ '[class]': 'class()',
40
+ },
41
+ }]
42
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], underline: [{ type: i0.Input, args: [{ isSignal: true, alias: "underline", required: false }] }] } });
43
+ //# sourceMappingURL=heading.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"heading.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/typography/heading.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAEjC,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAC,4BAA4B,EAAE;IAC/D,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,EAAE,EAAE,yBAAyB;YAC7B,EAAE,EAAE,mCAAmC;YACvC,EAAE,EAAE,wBAAwB;YAC5B,EAAE,EAAE,uBAAuB;SAC5B;QACD,SAAS,EAAE;YACT,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,EAAE;SACV;KACF;IACD,eAAe,EAAE;QACf,SAAS,EAAE,KAAK;KACjB;CACF,CAAC,CAAC;AAWH,MAAM,OAAO,SAAS;IACX,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IACnD,SAAS,GAAG,KAAK,CAAiC,KAAK,qDAAC,CAAC;IAEjD,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC,CAAC;IAEvD,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE;QACvC,MAAM,KAAK,GACT,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,OAAO,CAAC,WAAW,EAAgC,CAAC;QACpF,OAAO,EAAE,CACP,eAAe,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,EAAE,CAAC,EACvD,IAAI,CAAC,UAAU,EAAE,CAClB,CAAC;IACJ,CAAC,iDAAC,CAAC;uGAbQ,SAAS;2FAAT,SAAS;;2FAAT,SAAS;kBAPrB,SAAS;mBAAC;oBACT,QAAQ,EAAE,4DAA4D;oBACtE,IAAI,EAAE;wBACJ,WAAW,EAAE,SAAS;wBACtB,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, ElementRef, inject, input } from '@angular/core';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nimport { cn } from '../../utils';\n\nexport const headingVariants = cva('scroll-m-20 tracking-tight', {\n variants: {\n level: {\n h1: 'text-4xl font-extrabold',\n h2: 'text-3xl font-semibold first:mt-0',\n h3: 'text-2xl font-semibold',\n h4: 'text-xl font-semibold',\n },\n underline: {\n true: 'border-b pb-2',\n false: '',\n },\n },\n defaultVariants: {\n underline: false,\n },\n});\n\nexport type ScHeadingVariants = VariantProps<typeof headingVariants>;\n\n@Directive({\n selector: 'h1[scHeading], h2[scHeading], h3[scHeading], h4[scHeading]',\n host: {\n 'data-slot': 'heading',\n '[class]': 'class()',\n },\n})\nexport class ScHeading {\n readonly classInput = input<string>('', { alias: 'class' });\n readonly underline = input<ScHeadingVariants['underline']>(false);\n\n private readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n protected readonly class = computed(() => {\n const level =\n this.elementRef.nativeElement.tagName.toLowerCase() as ScHeadingVariants['level'];\n return cn(\n headingVariants({ level, underline: this.underline() }),\n this.classInput(),\n );\n });\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export { ScHeading, headingVariants } from './heading';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,eAAe,EAA0B,MAAM,WAAW,CAAC","sourcesContent":["export { ScHeading, headingVariants, type ScHeadingVariants } from './heading';\n"]}
@@ -10,8 +10,8 @@ export * from './button';
10
10
  export * from './button-group';
11
11
  export * from './calendar';
12
12
  export * from './card';
13
- export * from './collapsible';
14
13
  export * from './checkbox';
14
+ export * from './collapsible';
15
15
  export * from './date-picker';
16
16
  export * from './dialog';
17
17
  export * from './drawer';
@@ -33,20 +33,22 @@ export * from './pagination';
33
33
  export * from './popover';
34
34
  export * from './progress';
35
35
  export * from './radio-group';
36
+ export * from './range-slider';
37
+ export * from './scroll-area';
36
38
  export * from './select';
37
39
  export * from './separator';
38
40
  export * from './sheet';
39
41
  export * from './skeleton';
40
- export * from './range-slider';
41
42
  export * from './slider';
42
43
  export * from './spinner';
43
44
  export * from './switch';
44
- export * from './time-picker';
45
45
  export * from './table';
46
46
  export * from './tabs';
47
47
  export * from './textarea';
48
+ export * from './time-picker';
49
+ export * from './toast';
48
50
  export * from './toggle';
49
51
  export * from './toggle-group';
50
52
  export * from './toolbar';
51
- export * from './toast';
52
53
  export * from './tooltip';
54
+ export * from './typography';
@@ -8,5 +8,5 @@ export declare class ScMenu<V = string> {
8
8
  protected readonly class: import("@angular/core").Signal<string>;
9
9
  constructor();
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ScMenu<any>, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<ScMenu<any>, "[scMenu]", ["scMenu"], { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.Menu; inputs: { "id": "id"; "wrap": "wrap"; "disabled": "disabled"; "typeaheadDelay": "typeaheadDelay"; "expansionDelay": "expansionDelay"; }; outputs: { "onSelect": "onSelect"; }; }]>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ScMenu<any>, "[scMenu]", ["scMenu"], { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.Menu; inputs: { "id": "id"; "wrap": "wrap"; "disabled": "disabled"; "typeaheadDelay": "typeaheadDelay"; "expansionDelay": "expansionDelay"; }; outputs: { "itemSelected": "itemSelected"; }; }]>;
12
12
  }
@@ -1,5 +1,6 @@
1
1
  export { ScNavigationMenu } from './navigation-menu';
2
2
  export { ScNavigationMenuContent } from './navigation-menu-content';
3
+ export { ScNavigationMenuGrid } from './navigation-menu-grid';
3
4
  export { ScNavigationMenuItem } from './navigation-menu-item';
4
5
  export { ScNavigationMenuLink } from './navigation-menu-link';
5
6
  export { ScNavigationMenuList } from './navigation-menu-list';
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScNavigationMenuGrid {
3
+ readonly classInput: import("@angular/core").InputSignal<string>;
4
+ protected readonly class: import("@angular/core").Signal<string>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScNavigationMenuGrid, never>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ScNavigationMenuGrid, "ul[scNavigationMenuGrid]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
7
+ }
@@ -0,0 +1 @@
1
+ export * from './scroll-area';
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScScrollArea {
3
+ readonly classInput: import("@angular/core").InputSignal<string>;
4
+ protected readonly class: import("@angular/core").Signal<string>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScScrollArea, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScScrollArea, "div[scScrollArea]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
7
+ }
@@ -1,7 +1,7 @@
1
1
  export { ScSelect } from './select';
2
2
  export { ScSelectItemIcon } from './select-item-icon';
3
3
  export { ScSelectTrigger } from './select-trigger';
4
- export { ScSelectValue } from './select-value';
4
+ export { ScSelectLabel } from './select-label';
5
5
  export { ScSelectPortal } from './select-portal';
6
6
  export { ScSelectPopup } from './select-popup';
7
7
  export { ScSelectList } from './select-list';
@@ -4,6 +4,8 @@ export declare class ScSelectItem {
4
4
  readonly classInput: import("@angular/core").InputSignal<string>;
5
5
  private readonly option;
6
6
  private readonly elementRef;
7
+ readonly itemValue: import("@angular/core").Signal<any>;
8
+ readonly itemLabel: import("@angular/core").Signal<string>;
7
9
  constructor();
8
10
  protected readonly class: import("@angular/core").Signal<string>;
9
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectItem, never>;
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScSelectLabel {
3
+ readonly classInput: import("@angular/core").InputSignal<string>;
4
+ protected readonly class: import("@angular/core").Signal<string>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectLabel, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectLabel, "span[scSelectLabel], div[scSelectLabel]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
7
+ }
@@ -2,9 +2,11 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "@angular/aria/listbox";
3
3
  export declare class ScSelectList {
4
4
  private readonly listbox;
5
+ private readonly items;
5
6
  readonly values: import("@angular/core").Signal<any[]>;
6
7
  readonly classInput: import("@angular/core").InputSignal<string>;
8
+ labelForValue(value: unknown): string;
7
9
  protected readonly class: import("@angular/core").Signal<string>;
8
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectList, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectList, "div[scSelectList]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.Listbox; inputs: {}; outputs: {}; }]>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectList, "div[scSelectList]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, [{ directive: typeof i1.Listbox; inputs: {}; outputs: {}; }]>;
10
12
  }
@@ -3,10 +3,10 @@ import * as i0 from "@angular/core";
3
3
  export declare class ScSelectTrigger {
4
4
  readonly elementRef: ElementRef<HTMLElement>;
5
5
  readonly classInput: import("@angular/core").InputSignal<string>;
6
- readonly ariaLabel: import("@angular/core").InputSignal<string>;
7
6
  private readonly select;
7
+ readonly ariaLabel: import("@angular/core").Signal<any>;
8
8
  readonly placeholder: import("@angular/core").Signal<any>;
9
9
  protected readonly class: import("@angular/core").Signal<string>;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectTrigger, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectTrigger, "div[scSelectTrigger]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectTrigger, "div[scSelectTrigger]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
12
12
  }
@@ -3,19 +3,20 @@ import type { FormValueControl } from '@angular/forms/signals';
3
3
  import { ScSelectPortal } from './select-portal';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "@angular/aria/combobox";
6
- export declare class ScSelect implements FormValueControl<string> {
6
+ export declare class ScSelect implements FormValueControl<unknown> {
7
7
  readonly classInput: import("@angular/core").InputSignal<string>;
8
8
  readonly placeholder: import("@angular/core").InputSignal<string>;
9
- readonly value: import("@angular/core").ModelSignal<string>;
9
+ readonly ariaLabel: import("@angular/core").InputSignal<string>;
10
+ readonly value: import("@angular/core").ModelSignal<unknown>;
10
11
  private readonly trigger;
11
12
  private readonly content;
12
13
  protected readonly selectPortal: import("@angular/core").Signal<ScSelectPortal>;
13
14
  readonly origin: import("@angular/core").Signal<import("@angular/core").ElementRef<HTMLElement> | undefined>;
14
15
  readonly values: import("@angular/core").Signal<any[]>;
15
- readonly displayValue: import("@angular/core").Signal<string>;
16
+ readonly label: import("@angular/core").Signal<string>;
16
17
  protected readonly class: import("@angular/core").Signal<string>;
17
18
  protected readonly combobox: Combobox<any>;
18
19
  constructor();
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<ScSelect, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<ScSelect, "div[scSelect]", ["scSelect"], { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["trigger", "content", "selectPortal"], ["*"], true, [{ directive: typeof i1.Combobox; inputs: {}; outputs: {}; }]>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScSelect, "div[scSelect]", ["scSelect"], { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["trigger", "content", "selectPortal"], ["*"], true, [{ directive: typeof i1.Combobox; inputs: { "disabled": "disabled"; }; outputs: {}; }]>;
21
22
  }
@@ -0,0 +1,15 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ import * as i0 from "@angular/core";
3
+ export declare const headingVariants: (props?: ({
4
+ level?: "h1" | "h2" | "h3" | "h4" | null | undefined;
5
+ underline?: boolean | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export type ScHeadingVariants = VariantProps<typeof headingVariants>;
8
+ export declare class ScHeading {
9
+ readonly classInput: import("@angular/core").InputSignal<string>;
10
+ readonly underline: import("@angular/core").InputSignal<boolean | null | undefined>;
11
+ private readonly elementRef;
12
+ protected readonly class: import("@angular/core").Signal<string>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScHeading, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ScHeading, "h1[scHeading], h2[scHeading], h3[scHeading], h4[scHeading]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "underline": { "alias": "underline"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
15
+ }
@@ -0,0 +1 @@
1
+ export { ScHeading, headingVariants, type ScHeadingVariants } from './heading';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@semantic-components/ui",
3
- "version": "0.67.0",
3
+ "version": "0.69.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -1 +0,0 @@
1
- {"version":3,"file":"select-value.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/select/select-value.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,KAAK,EACL,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAejC,MAAM,OAAO,aAAa;IACf,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,qBAAqB,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDAC7C,CAAC;uGALS,aAAa;2FAAb,aAAa,wTAVd;;GAET;;2FAQU,aAAa;kBAbzB,SAAS;mBAAC;oBACT,QAAQ,EAAE,qBAAqB;oBAC/B,OAAO,EAAE,EAAE;oBACX,QAAQ,EAAE;;GAET;oBACD,IAAI,EAAE;wBACJ,WAAW,EAAE,cAAc;wBAC3B,SAAS,EAAE,SAAS;qBACrB;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport { cn } from '../../utils';\n\n@Component({\n selector: 'span[scSelectValue]',\n imports: [],\n template: `\n <ng-content />\n `,\n host: {\n 'data-slot': 'select-value',\n '[class]': 'class()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScSelectValue {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn('pointer-events-none', this.classInput()),\n );\n}\n"]}
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ScSelectValue {
3
- readonly classInput: import("@angular/core").InputSignal<string>;
4
- protected readonly class: import("@angular/core").Signal<string>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectValue, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectValue, "span[scSelectValue]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
7
- }