@semantic-components/ui 0.68.0 → 0.70.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 (400) 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 +4 -4
  37. package/esm2022/lib/components/breadcrumb/breadcrumb-list.js.map +1 -1
  38. package/esm2022/lib/components/breadcrumb/breadcrumb-page.js +3 -3
  39. package/esm2022/lib/components/breadcrumb/breadcrumb-separator.js +4 -4
  40. package/esm2022/lib/components/breadcrumb/breadcrumb.js +3 -3
  41. package/esm2022/lib/components/button/button.js +3 -3
  42. package/esm2022/lib/components/button-group/button-group-separator.js +3 -3
  43. package/esm2022/lib/components/button-group/button-group-text.js +3 -3
  44. package/esm2022/lib/components/button-group/button-group.js +3 -3
  45. package/esm2022/lib/components/calendar/calendar-day-view.js +6 -6
  46. package/esm2022/lib/components/calendar/calendar-day-view.js.map +1 -1
  47. package/esm2022/lib/components/calendar/calendar-header.js +4 -4
  48. package/esm2022/lib/components/calendar/calendar-header.js.map +1 -1
  49. package/esm2022/lib/components/calendar/calendar-month-view.js +4 -4
  50. package/esm2022/lib/components/calendar/calendar-year-view.js +4 -4
  51. package/esm2022/lib/components/calendar/calendar.js +3 -3
  52. package/esm2022/lib/components/card/card-action.js +3 -3
  53. package/esm2022/lib/components/card/card-body.js +3 -3
  54. package/esm2022/lib/components/card/card-description.js +3 -3
  55. package/esm2022/lib/components/card/card-footer.js +3 -3
  56. package/esm2022/lib/components/card/card-header.js +3 -3
  57. package/esm2022/lib/components/card/card-title.js +3 -3
  58. package/esm2022/lib/components/card/card.js +3 -3
  59. package/esm2022/lib/components/checkbox/checkbox-field.js +3 -3
  60. package/esm2022/lib/components/checkbox/checkbox-visual.js +4 -4
  61. package/esm2022/lib/components/checkbox/checkbox-visual.js.map +1 -1
  62. package/esm2022/lib/components/checkbox/checkbox.js +3 -3
  63. package/esm2022/lib/components/collapsible/collapsible-body.js +3 -3
  64. package/esm2022/lib/components/collapsible/collapsible-content.js +3 -3
  65. package/esm2022/lib/components/collapsible/collapsible-panel.js +3 -3
  66. package/esm2022/lib/components/collapsible/collapsible-trigger.js +3 -3
  67. package/esm2022/lib/components/collapsible/collapsible.js +3 -3
  68. package/esm2022/lib/components/date-picker/date-picker.js +4 -4
  69. package/esm2022/lib/components/dialog/dialog-close.js +3 -3
  70. package/esm2022/lib/components/dialog/dialog-description.js +3 -3
  71. package/esm2022/lib/components/dialog/dialog-footer.js +3 -3
  72. package/esm2022/lib/components/dialog/dialog-header.js +3 -3
  73. package/esm2022/lib/components/dialog/dialog-portal.js +3 -3
  74. package/esm2022/lib/components/dialog/dialog-provider.js +3 -3
  75. package/esm2022/lib/components/dialog/dialog-title.js +3 -3
  76. package/esm2022/lib/components/dialog/dialog-trigger.js +3 -3
  77. package/esm2022/lib/components/dialog/dialog.js +3 -3
  78. package/esm2022/lib/components/drawer/drawer-close.js +3 -3
  79. package/esm2022/lib/components/drawer/drawer-description.js +3 -3
  80. package/esm2022/lib/components/drawer/drawer-footer.js +3 -3
  81. package/esm2022/lib/components/drawer/drawer-handle.js +3 -3
  82. package/esm2022/lib/components/drawer/drawer-header.js +3 -3
  83. package/esm2022/lib/components/drawer/drawer-portal.js +3 -3
  84. package/esm2022/lib/components/drawer/drawer-provider.js +3 -3
  85. package/esm2022/lib/components/drawer/drawer-title.js +3 -3
  86. package/esm2022/lib/components/drawer/drawer-trigger.js +3 -3
  87. package/esm2022/lib/components/drawer/drawer.js +3 -3
  88. package/esm2022/lib/components/empty/empty-body.js +3 -3
  89. package/esm2022/lib/components/empty/empty-description.js +3 -3
  90. package/esm2022/lib/components/empty/empty-header.js +3 -3
  91. package/esm2022/lib/components/empty/empty-media.js +3 -3
  92. package/esm2022/lib/components/empty/empty-title.js +3 -3
  93. package/esm2022/lib/components/empty/empty.js +3 -3
  94. package/esm2022/lib/components/field/field-body.js +3 -3
  95. package/esm2022/lib/components/field/field-description.js +4 -4
  96. package/esm2022/lib/components/field/field-description.js.map +1 -1
  97. package/esm2022/lib/components/field/field-error.js +3 -3
  98. package/esm2022/lib/components/field/field-group.js +4 -4
  99. package/esm2022/lib/components/field/field-group.js.map +1 -1
  100. package/esm2022/lib/components/field/field-separator.js +3 -3
  101. package/esm2022/lib/components/field/field-title.js +3 -3
  102. package/esm2022/lib/components/field/field.js +6 -6
  103. package/esm2022/lib/components/field/field.js.map +1 -1
  104. package/esm2022/lib/components/field/fieldset.js +3 -3
  105. package/esm2022/lib/components/field/legend.js +3 -3
  106. package/esm2022/lib/components/file-upload/file-upload-dropzone.js +4 -4
  107. package/esm2022/lib/components/file-upload/file-upload-dropzone.js.map +1 -1
  108. package/esm2022/lib/components/file-upload/file-upload-item-delete.js +3 -3
  109. package/esm2022/lib/components/file-upload/file-upload-item-name.js +3 -3
  110. package/esm2022/lib/components/file-upload/file-upload-item-preview.js +3 -3
  111. package/esm2022/lib/components/file-upload/file-upload-item-progress.js +5 -5
  112. package/esm2022/lib/components/file-upload/file-upload-item-progress.js.map +1 -1
  113. package/esm2022/lib/components/file-upload/file-upload-item-size.js +3 -3
  114. package/esm2022/lib/components/file-upload/file-upload-item.js +3 -3
  115. package/esm2022/lib/components/file-upload/file-upload-list.js +3 -3
  116. package/esm2022/lib/components/file-upload/file-upload-trigger.js +3 -3
  117. package/esm2022/lib/components/file-upload/file-upload.js +3 -3
  118. package/esm2022/lib/components/hover-card/hover-card-portal.js +3 -3
  119. package/esm2022/lib/components/hover-card/hover-card-provider.js +3 -3
  120. package/esm2022/lib/components/hover-card/hover-card-trigger.js +3 -3
  121. package/esm2022/lib/components/hover-card/hover-card.js +3 -3
  122. package/esm2022/lib/components/index.js +2 -0
  123. package/esm2022/lib/components/index.js.map +1 -1
  124. package/esm2022/lib/components/input/input.js +3 -3
  125. package/esm2022/lib/components/input-group/input-group-addon.js +3 -3
  126. package/esm2022/lib/components/input-group/input-group-button.js +3 -3
  127. package/esm2022/lib/components/input-group/input-group-text.js +3 -3
  128. package/esm2022/lib/components/input-group/input-group.js +3 -3
  129. package/esm2022/lib/components/item/item-actions.js +3 -3
  130. package/esm2022/lib/components/item/item-body.js +3 -3
  131. package/esm2022/lib/components/item/item-description.js +3 -3
  132. package/esm2022/lib/components/item/item-footer.js +3 -3
  133. package/esm2022/lib/components/item/item-group.js +3 -3
  134. package/esm2022/lib/components/item/item-header.js +3 -3
  135. package/esm2022/lib/components/item/item-media.js +3 -3
  136. package/esm2022/lib/components/item/item-separator.js +3 -3
  137. package/esm2022/lib/components/item/item-title.js +3 -3
  138. package/esm2022/lib/components/item/item.js +3 -3
  139. package/esm2022/lib/components/kbd/kbd-group.js +3 -3
  140. package/esm2022/lib/components/kbd/kbd.js +3 -3
  141. package/esm2022/lib/components/label/label.js +4 -4
  142. package/esm2022/lib/components/label/label.js.map +1 -1
  143. package/esm2022/lib/components/link/link.js +3 -3
  144. package/esm2022/lib/components/menu/menu-content.js +3 -3
  145. package/esm2022/lib/components/menu/menu-item.js +3 -3
  146. package/esm2022/lib/components/menu/menu-portal.js +3 -3
  147. package/esm2022/lib/components/menu/menu-provider.js +3 -3
  148. package/esm2022/lib/components/menu/menu-separator.js +3 -3
  149. package/esm2022/lib/components/menu/menu-trigger.js +5 -9
  150. package/esm2022/lib/components/menu/menu-trigger.js.map +1 -1
  151. package/esm2022/lib/components/menu/menu.js +5 -5
  152. package/esm2022/lib/components/menu/menu.js.map +1 -1
  153. package/esm2022/lib/components/menu-bar/menu-bar-item.js +3 -3
  154. package/esm2022/lib/components/menu-bar/menu-bar.js +3 -3
  155. package/esm2022/lib/components/native-select/native-select-container.js +3 -3
  156. package/esm2022/lib/components/native-select/native-select-icon.js +3 -3
  157. package/esm2022/lib/components/native-select/native-select-optgroup.js +3 -3
  158. package/esm2022/lib/components/native-select/native-select-option.js +3 -3
  159. package/esm2022/lib/components/native-select/native-select.js +3 -3
  160. package/esm2022/lib/components/navigation-menu/navigation-menu-content.js +3 -3
  161. package/esm2022/lib/components/navigation-menu/navigation-menu-grid.js +3 -3
  162. package/esm2022/lib/components/navigation-menu/navigation-menu-item.js +3 -3
  163. package/esm2022/lib/components/navigation-menu/navigation-menu-link.js +3 -3
  164. package/esm2022/lib/components/navigation-menu/navigation-menu-list.js +3 -3
  165. package/esm2022/lib/components/navigation-menu/navigation-menu-portal.js +3 -3
  166. package/esm2022/lib/components/navigation-menu/navigation-menu-trigger-icon.js +4 -4
  167. package/esm2022/lib/components/navigation-menu/navigation-menu-trigger-icon.js.map +1 -1
  168. package/esm2022/lib/components/navigation-menu/navigation-menu-trigger.js +4 -4
  169. package/esm2022/lib/components/navigation-menu/navigation-menu-trigger.js.map +1 -1
  170. package/esm2022/lib/components/navigation-menu/navigation-menu.js +3 -3
  171. package/esm2022/lib/components/pagination/pagination-ellipsis.js +3 -3
  172. package/esm2022/lib/components/pagination/pagination-first.js +3 -3
  173. package/esm2022/lib/components/pagination/pagination-item.js +3 -3
  174. package/esm2022/lib/components/pagination/pagination-last.js +3 -3
  175. package/esm2022/lib/components/pagination/pagination-link.js +3 -3
  176. package/esm2022/lib/components/pagination/pagination-list.js +3 -3
  177. package/esm2022/lib/components/pagination/pagination-next.js +3 -3
  178. package/esm2022/lib/components/pagination/pagination-page-size-select.js +3 -3
  179. package/esm2022/lib/components/pagination/pagination-previous.js +3 -3
  180. package/esm2022/lib/components/pagination/pagination.js +4 -4
  181. package/esm2022/lib/components/pagination/pagination.js.map +1 -1
  182. package/esm2022/lib/components/popover/popover-close.js +3 -3
  183. package/esm2022/lib/components/popover/popover-description.js +3 -3
  184. package/esm2022/lib/components/popover/popover-header.js +3 -3
  185. package/esm2022/lib/components/popover/popover-portal.js +3 -3
  186. package/esm2022/lib/components/popover/popover-provider.js +3 -3
  187. package/esm2022/lib/components/popover/popover-title.js +3 -3
  188. package/esm2022/lib/components/popover/popover-trigger.js +3 -3
  189. package/esm2022/lib/components/popover/popover.js +3 -3
  190. package/esm2022/lib/components/progress/progress-indicator.js +3 -3
  191. package/esm2022/lib/components/progress/progress.js +3 -3
  192. package/esm2022/lib/components/radio-group/radio-field.js +3 -3
  193. package/esm2022/lib/components/radio-group/radio-group.js +3 -3
  194. package/esm2022/lib/components/radio-group/radio.js +3 -3
  195. package/esm2022/lib/components/range-slider/range-slider-max.js +3 -3
  196. package/esm2022/lib/components/range-slider/range-slider-min.js +3 -3
  197. package/esm2022/lib/components/range-slider/range-slider-thumb-base.js +2 -2
  198. package/esm2022/lib/components/range-slider/range-slider-thumb-base.js.map +1 -1
  199. package/esm2022/lib/components/range-slider/range-slider.js +3 -3
  200. package/esm2022/lib/components/resizable/index.js +6 -0
  201. package/esm2022/lib/components/resizable/index.js.map +1 -0
  202. package/esm2022/lib/components/resizable/resizable-handle-indicator.js +20 -0
  203. package/esm2022/lib/components/resizable/resizable-handle-indicator.js.map +1 -0
  204. package/esm2022/lib/components/resizable/resizable-handle.js +116 -0
  205. package/esm2022/lib/components/resizable/resizable-handle.js.map +1 -0
  206. package/esm2022/lib/components/resizable/resizable-panel-group.js +38 -0
  207. package/esm2022/lib/components/resizable/resizable-panel-group.js.map +1 -0
  208. package/esm2022/lib/components/resizable/resizable-panel.js +39 -0
  209. package/esm2022/lib/components/resizable/resizable-panel.js.map +1 -0
  210. package/esm2022/lib/components/resizable/resizable.types.js +1 -0
  211. package/esm2022/lib/components/resizable/resizable.types.js.map +1 -0
  212. package/esm2022/lib/components/scroll-area/scroll-area.js +3 -3
  213. package/esm2022/lib/components/select/index.js +1 -1
  214. package/esm2022/lib/components/select/index.js.map +1 -1
  215. package/esm2022/lib/components/select/select-group-label.js +3 -3
  216. package/esm2022/lib/components/select/select-group.js +3 -3
  217. package/esm2022/lib/components/select/select-input.js +3 -3
  218. package/esm2022/lib/components/select/select-item-icon.js +3 -3
  219. package/esm2022/lib/components/select/select-item-indicator.js +3 -3
  220. package/esm2022/lib/components/select/select-item.js +6 -4
  221. package/esm2022/lib/components/select/select-item.js.map +1 -1
  222. package/esm2022/lib/components/select/select-label.js +29 -0
  223. package/esm2022/lib/components/select/select-label.js.map +1 -0
  224. package/esm2022/lib/components/select/select-list.js +11 -5
  225. package/esm2022/lib/components/select/select-list.js.map +1 -1
  226. package/esm2022/lib/components/select/select-popup.js +3 -3
  227. package/esm2022/lib/components/select/select-portal.js +3 -3
  228. package/esm2022/lib/components/select/select-separator.js +3 -3
  229. package/esm2022/lib/components/select/select-trigger-icon.js +3 -3
  230. package/esm2022/lib/components/select/select-trigger.js +7 -7
  231. package/esm2022/lib/components/select/select-trigger.js.map +1 -1
  232. package/esm2022/lib/components/select/select.js +19 -10
  233. package/esm2022/lib/components/select/select.js.map +1 -1
  234. package/esm2022/lib/components/separator/separator.js +3 -3
  235. package/esm2022/lib/components/sheet/sheet-close.js +3 -3
  236. package/esm2022/lib/components/sheet/sheet-description.js +3 -3
  237. package/esm2022/lib/components/sheet/sheet-footer.js +3 -3
  238. package/esm2022/lib/components/sheet/sheet-header.js +3 -3
  239. package/esm2022/lib/components/sheet/sheet-portal.js +3 -3
  240. package/esm2022/lib/components/sheet/sheet-provider.js +3 -3
  241. package/esm2022/lib/components/sheet/sheet-title.js +3 -3
  242. package/esm2022/lib/components/sheet/sheet-trigger.js +3 -3
  243. package/esm2022/lib/components/sheet/sheet.js +3 -3
  244. package/esm2022/lib/components/sidebar/index.js +28 -0
  245. package/esm2022/lib/components/sidebar/index.js.map +1 -0
  246. package/esm2022/lib/components/sidebar/sidebar-body.js +20 -0
  247. package/esm2022/lib/components/sidebar/sidebar-body.js.map +1 -0
  248. package/esm2022/lib/components/sidebar/sidebar-container.js +26 -0
  249. package/esm2022/lib/components/sidebar/sidebar-container.js.map +1 -0
  250. package/esm2022/lib/components/sidebar/sidebar-footer.js +20 -0
  251. package/esm2022/lib/components/sidebar/sidebar-footer.js.map +1 -0
  252. package/esm2022/lib/components/sidebar/sidebar-gap.js +23 -0
  253. package/esm2022/lib/components/sidebar/sidebar-gap.js.map +1 -0
  254. package/esm2022/lib/components/sidebar/sidebar-group-action.js +21 -0
  255. package/esm2022/lib/components/sidebar/sidebar-group-action.js.map +1 -0
  256. package/esm2022/lib/components/sidebar/sidebar-group-content.js +20 -0
  257. package/esm2022/lib/components/sidebar/sidebar-group-content.js.map +1 -0
  258. package/esm2022/lib/components/sidebar/sidebar-group-label.js +21 -0
  259. package/esm2022/lib/components/sidebar/sidebar-group-label.js.map +1 -0
  260. package/esm2022/lib/components/sidebar/sidebar-group.js +20 -0
  261. package/esm2022/lib/components/sidebar/sidebar-group.js.map +1 -0
  262. package/esm2022/lib/components/sidebar/sidebar-header.js +20 -0
  263. package/esm2022/lib/components/sidebar/sidebar-header.js.map +1 -0
  264. package/esm2022/lib/components/sidebar/sidebar-inner.js +20 -0
  265. package/esm2022/lib/components/sidebar/sidebar-inner.js.map +1 -0
  266. package/esm2022/lib/components/sidebar/sidebar-input.js +20 -0
  267. package/esm2022/lib/components/sidebar/sidebar-input.js.map +1 -0
  268. package/esm2022/lib/components/sidebar/sidebar-inset.js +20 -0
  269. package/esm2022/lib/components/sidebar/sidebar-inset.js.map +1 -0
  270. package/esm2022/lib/components/sidebar/sidebar-menu-action.js +24 -0
  271. package/esm2022/lib/components/sidebar/sidebar-menu-action.js.map +1 -0
  272. package/esm2022/lib/components/sidebar/sidebar-menu-badge.js +20 -0
  273. package/esm2022/lib/components/sidebar/sidebar-menu-badge.js.map +1 -0
  274. package/esm2022/lib/components/sidebar/sidebar-menu-button.js +47 -0
  275. package/esm2022/lib/components/sidebar/sidebar-menu-button.js.map +1 -0
  276. package/esm2022/lib/components/sidebar/sidebar-menu-item.js +20 -0
  277. package/esm2022/lib/components/sidebar/sidebar-menu-item.js.map +1 -0
  278. package/esm2022/lib/components/sidebar/sidebar-menu-skeleton.js +45 -0
  279. package/esm2022/lib/components/sidebar/sidebar-menu-skeleton.js.map +1 -0
  280. package/esm2022/lib/components/sidebar/sidebar-menu-sub-button.js +31 -0
  281. package/esm2022/lib/components/sidebar/sidebar-menu-sub-button.js.map +1 -0
  282. package/esm2022/lib/components/sidebar/sidebar-menu-sub-item.js +20 -0
  283. package/esm2022/lib/components/sidebar/sidebar-menu-sub-item.js.map +1 -0
  284. package/esm2022/lib/components/sidebar/sidebar-menu-sub.js +20 -0
  285. package/esm2022/lib/components/sidebar/sidebar-menu-sub.js.map +1 -0
  286. package/esm2022/lib/components/sidebar/sidebar-menu.js +20 -0
  287. package/esm2022/lib/components/sidebar/sidebar-menu.js.map +1 -0
  288. package/esm2022/lib/components/sidebar/sidebar-provider.js +102 -0
  289. package/esm2022/lib/components/sidebar/sidebar-provider.js.map +1 -0
  290. package/esm2022/lib/components/sidebar/sidebar-rail.js +27 -0
  291. package/esm2022/lib/components/sidebar/sidebar-rail.js.map +1 -0
  292. package/esm2022/lib/components/sidebar/sidebar-separator.js +20 -0
  293. package/esm2022/lib/components/sidebar/sidebar-separator.js.map +1 -0
  294. package/esm2022/lib/components/sidebar/sidebar-state.js +32 -0
  295. package/esm2022/lib/components/sidebar/sidebar-state.js.map +1 -0
  296. package/esm2022/lib/components/sidebar/sidebar-trigger.js +36 -0
  297. package/esm2022/lib/components/sidebar/sidebar-trigger.js.map +1 -0
  298. package/esm2022/lib/components/sidebar/sidebar.js +137 -0
  299. package/esm2022/lib/components/sidebar/sidebar.js.map +1 -0
  300. package/esm2022/lib/components/skeleton/skeleton.js +3 -3
  301. package/esm2022/lib/components/slider/slider.js +4 -4
  302. package/esm2022/lib/components/slider/slider.js.map +1 -1
  303. package/esm2022/lib/components/spinner/spinner.js +3 -3
  304. package/esm2022/lib/components/switch/switch-field.js +4 -4
  305. package/esm2022/lib/components/switch/switch-field.js.map +1 -1
  306. package/esm2022/lib/components/switch/switch-visual.js +3 -3
  307. package/esm2022/lib/components/switch/switch.js +3 -3
  308. package/esm2022/lib/components/table/table-body.js +3 -3
  309. package/esm2022/lib/components/table/table-caption.js +3 -3
  310. package/esm2022/lib/components/table/table-cell.js +3 -3
  311. package/esm2022/lib/components/table/table-footer.js +3 -3
  312. package/esm2022/lib/components/table/table-header-cell.js +3 -3
  313. package/esm2022/lib/components/table/table-header.js +3 -3
  314. package/esm2022/lib/components/table/table-row.js +3 -3
  315. package/esm2022/lib/components/table/table.js +3 -3
  316. package/esm2022/lib/components/tabs/tab-content.js +3 -3
  317. package/esm2022/lib/components/tabs/tab-list.js +3 -3
  318. package/esm2022/lib/components/tabs/tab-panel.js +4 -4
  319. package/esm2022/lib/components/tabs/tab-panel.js.map +1 -1
  320. package/esm2022/lib/components/tabs/tab.js +3 -3
  321. package/esm2022/lib/components/tabs/tabs.js +3 -3
  322. package/esm2022/lib/components/textarea/textarea.js +3 -3
  323. package/esm2022/lib/components/time-picker/time-picker-hours-input.js +3 -3
  324. package/esm2022/lib/components/time-picker/time-picker-input.js +3 -3
  325. package/esm2022/lib/components/time-picker/time-picker-minutes-input.js +3 -3
  326. package/esm2022/lib/components/time-picker/time-picker-period-am.js +3 -3
  327. package/esm2022/lib/components/time-picker/time-picker-period-pm.js +3 -3
  328. package/esm2022/lib/components/time-picker/time-picker-period.js +3 -3
  329. package/esm2022/lib/components/time-picker/time-picker-seconds-input.js +3 -3
  330. package/esm2022/lib/components/time-picker/time-picker-separator.js +3 -3
  331. package/esm2022/lib/components/time-picker/time-picker.js +3 -3
  332. package/esm2022/lib/components/toast/toast-action.js +3 -3
  333. package/esm2022/lib/components/toast/toast-close.js +3 -3
  334. package/esm2022/lib/components/toast/toast-description.js +3 -3
  335. package/esm2022/lib/components/toast/toast-stack.js +4 -4
  336. package/esm2022/lib/components/toast/toast-stack.js.map +1 -1
  337. package/esm2022/lib/components/toast/toast-title.js +3 -3
  338. package/esm2022/lib/components/toast/toast.js +3 -3
  339. package/esm2022/lib/components/toast/toaster.js +3 -3
  340. package/esm2022/lib/components/toggle/toggle.js +3 -3
  341. package/esm2022/lib/components/toggle-group/toggle-group-item.js +3 -3
  342. package/esm2022/lib/components/toggle-group/toggle-group.js +3 -3
  343. package/esm2022/lib/components/toolbar/toolbar-separator.js +3 -3
  344. package/esm2022/lib/components/toolbar/toolbar-widget-group.js +3 -3
  345. package/esm2022/lib/components/toolbar/toolbar-widget.js +3 -3
  346. package/esm2022/lib/components/toolbar/toolbar.js +3 -3
  347. package/esm2022/lib/components/tooltip/tooltip-manager.js +3 -3
  348. package/esm2022/lib/components/tooltip/tooltip-trigger.js +3 -3
  349. package/esm2022/lib/components/tooltip/tooltip.js +5 -13
  350. package/esm2022/lib/components/tooltip/tooltip.js.map +1 -1
  351. package/esm2022/lib/components/typography/heading.js +3 -3
  352. package/lib/components/index.d.ts +2 -0
  353. package/lib/components/menu/menu-trigger.d.ts +1 -3
  354. package/lib/components/menu/menu.d.ts +1 -1
  355. package/lib/components/pagination/pagination.d.ts +1 -1
  356. package/lib/components/range-slider/range-slider-thumb-base.d.ts +1 -1
  357. package/lib/components/resizable/index.d.ts +5 -0
  358. package/lib/components/resizable/resizable-handle-indicator.d.ts +7 -0
  359. package/lib/components/resizable/resizable-handle.d.ts +18 -0
  360. package/lib/components/resizable/resizable-panel-group.d.ts +17 -0
  361. package/lib/components/resizable/resizable-panel.d.ts +16 -0
  362. package/lib/components/resizable/resizable.types.d.ts +1 -0
  363. package/lib/components/select/index.d.ts +1 -1
  364. package/lib/components/select/select-item.d.ts +2 -0
  365. package/lib/components/select/select-label.d.ts +9 -0
  366. package/lib/components/select/select-list.d.ts +3 -1
  367. package/lib/components/select/select-trigger.d.ts +2 -2
  368. package/lib/components/select/select.d.ts +5 -4
  369. package/lib/components/sidebar/index.d.ts +27 -0
  370. package/lib/components/sidebar/sidebar-body.d.ts +7 -0
  371. package/lib/components/sidebar/sidebar-container.d.ts +8 -0
  372. package/lib/components/sidebar/sidebar-footer.d.ts +7 -0
  373. package/lib/components/sidebar/sidebar-gap.d.ts +8 -0
  374. package/lib/components/sidebar/sidebar-group-action.d.ts +8 -0
  375. package/lib/components/sidebar/sidebar-group-content.d.ts +7 -0
  376. package/lib/components/sidebar/sidebar-group-label.d.ts +8 -0
  377. package/lib/components/sidebar/sidebar-group.d.ts +7 -0
  378. package/lib/components/sidebar/sidebar-header.d.ts +7 -0
  379. package/lib/components/sidebar/sidebar-inner.d.ts +7 -0
  380. package/lib/components/sidebar/sidebar-input.d.ts +7 -0
  381. package/lib/components/sidebar/sidebar-inset.d.ts +7 -0
  382. package/lib/components/sidebar/sidebar-menu-action.d.ts +9 -0
  383. package/lib/components/sidebar/sidebar-menu-badge.d.ts +7 -0
  384. package/lib/components/sidebar/sidebar-menu-button.d.ts +18 -0
  385. package/lib/components/sidebar/sidebar-menu-item.d.ts +7 -0
  386. package/lib/components/sidebar/sidebar-menu-skeleton.d.ts +9 -0
  387. package/lib/components/sidebar/sidebar-menu-sub-button.d.ts +9 -0
  388. package/lib/components/sidebar/sidebar-menu-sub-item.d.ts +7 -0
  389. package/lib/components/sidebar/sidebar-menu-sub.d.ts +7 -0
  390. package/lib/components/sidebar/sidebar-menu.d.ts +7 -0
  391. package/lib/components/sidebar/sidebar-provider.d.ts +19 -0
  392. package/lib/components/sidebar/sidebar-rail.d.ts +9 -0
  393. package/lib/components/sidebar/sidebar-separator.d.ts +7 -0
  394. package/lib/components/sidebar/sidebar-state.d.ts +14 -0
  395. package/lib/components/sidebar/sidebar-trigger.d.ts +12 -0
  396. package/lib/components/sidebar/sidebar.d.ts +11 -0
  397. package/package.json +1 -1
  398. package/esm2022/lib/components/select/select-value.js +0 -28
  399. package/esm2022/lib/components/select/select-value.js.map +0 -1
  400. package/lib/components/select/select-value.d.ts +0 -7
@@ -0,0 +1,26 @@
1
+ import { Directive, computed, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSidebarContainer {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ variant = input('sidebar', ...(ngDevMode ? [{ debugName: "variant" }] : []));
7
+ class = computed(() => {
8
+ const variant = this.variant();
9
+ return cn('fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex', 'data-[side=left]:left-0 data-[side=left]:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]', 'data-[side=right]:right-0 data-[side=right]:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]', variant === 'floating' || variant === 'inset'
10
+ ? 'p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]'
11
+ : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l', this.classInput());
12
+ }, ...(ngDevMode ? [{ debugName: "class" }] : []));
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarContainer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
14
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScSidebarContainer, isStandalone: true, selector: "div[scSidebarContainer]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sidebar-container" }, properties: { "class": "class()" } }, ngImport: i0 });
15
+ }
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarContainer, decorators: [{
17
+ type: Directive,
18
+ args: [{
19
+ selector: 'div[scSidebarContainer]',
20
+ host: {
21
+ 'data-slot': 'sidebar-container',
22
+ '[class]': 'class()',
23
+ },
24
+ }]
25
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }] } });
26
+ //# sourceMappingURL=sidebar-container.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-container.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sidebar/sidebar-container.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,kBAAkB;IACpB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEnD,OAAO,GAAG,KAAK,CAAmC,SAAS,mDAAC,CAAC;IAEnD,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE;QACvC,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;QAE/B,OAAO,EAAE,CACP,sHAAsH,EACtH,kHAAkH,EAClH,sHAAsH,EACtH,OAAO,KAAK,UAAU,IAAI,OAAO,KAAK,OAAO;YAC3C,CAAC,CAAC,0FAA0F;YAC5F,CAAC,CAAC,yHAAyH,EAC7H,IAAI,CAAC,UAAU,EAAE,CAClB,CAAC;IACJ,CAAC,iDAAC,CAAC;uGAjBQ,kBAAkB;2FAAlB,kBAAkB;;2FAAlB,kBAAkB;kBAP9B,SAAS;mBAAC;oBACT,QAAQ,EAAE,yBAAyB;oBACnC,IAAI,EAAE;wBACJ,WAAW,EAAE,mBAAmB;wBAChC,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { Directive, computed, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'div[scSidebarContainer]',\n host: {\n 'data-slot': 'sidebar-container',\n '[class]': 'class()',\n },\n})\nexport class ScSidebarContainer {\n readonly classInput = input<string>('', { alias: 'class' });\n\n readonly variant = input<'sidebar' | 'floating' | 'inset'>('sidebar');\n\n protected readonly class = computed(() => {\n const variant = this.variant();\n\n return cn(\n 'fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex',\n 'data-[side=left]:left-0 data-[side=left]:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]',\n 'data-[side=right]:right-0 data-[side=right]:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]',\n variant === 'floating' || variant === 'inset'\n ? 'p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]'\n : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l',\n this.classInput(),\n );\n });\n}\n"]}
@@ -0,0 +1,20 @@
1
+ import { Directive, computed, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSidebarFooter {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ class = computed(() => cn('flex flex-col gap-2 p-2', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScSidebarFooter, isStandalone: true, selector: "div[scSidebarFooter]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sidebar-footer" }, properties: { "class": "class()" } }, ngImport: i0 });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarFooter, decorators: [{
11
+ type: Directive,
12
+ args: [{
13
+ selector: 'div[scSidebarFooter]',
14
+ host: {
15
+ 'data-slot': 'sidebar-footer',
16
+ '[class]': 'class()',
17
+ },
18
+ }]
19
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
20
+ //# sourceMappingURL=sidebar-footer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-footer.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sidebar/sidebar-footer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,eAAe;IACjB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,yBAAyB,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDACjD,CAAC;uGALS,eAAe;2FAAf,eAAe;;2FAAf,eAAe;kBAP3B,SAAS;mBAAC;oBACT,QAAQ,EAAE,sBAAsB;oBAChC,IAAI,EAAE;wBACJ,WAAW,EAAE,gBAAgB;wBAC7B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { Directive, computed, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'div[scSidebarFooter]',\n host: {\n 'data-slot': 'sidebar-footer',\n '[class]': 'class()',\n },\n})\nexport class ScSidebarFooter {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn('flex flex-col gap-2 p-2', this.classInput()),\n );\n}\n"]}
@@ -0,0 +1,23 @@
1
+ import { Directive, computed, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSidebarGap {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ variant = input('sidebar', ...(ngDevMode ? [{ debugName: "variant" }] : []));
7
+ class = computed(() => cn('relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear', 'group-data-[collapsible=offcanvas]:w-0', 'group-data-[side=right]:rotate-180', this.variant() === 'floating' || this.variant() === 'inset'
8
+ ? 'group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]'
9
+ : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon)', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
10
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarGap, deps: [], target: i0.ɵɵFactoryTarget.Directive });
11
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScSidebarGap, isStandalone: true, selector: "div[scSidebarGap]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sidebar-gap" }, properties: { "class": "class()" } }, ngImport: i0 });
12
+ }
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarGap, decorators: [{
14
+ type: Directive,
15
+ args: [{
16
+ selector: 'div[scSidebarGap]',
17
+ host: {
18
+ 'data-slot': 'sidebar-gap',
19
+ '[class]': 'class()',
20
+ },
21
+ }]
22
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }] } });
23
+ //# sourceMappingURL=sidebar-gap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-gap.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sidebar/sidebar-gap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,YAAY;IACd,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEnD,OAAO,GAAG,KAAK,CAAmC,SAAS,mDAAC,CAAC;IAEnD,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,yFAAyF,EACzF,wCAAwC,EACxC,oCAAoC,EACpC,IAAI,CAAC,OAAO,EAAE,KAAK,UAAU,IAAI,IAAI,CAAC,OAAO,EAAE,KAAK,OAAO;QACzD,CAAC,CAAC,kFAAkF;QACpF,CAAC,CAAC,wDAAwD,EAC5D,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGAfS,YAAY;2FAAZ,YAAY;;2FAAZ,YAAY;kBAPxB,SAAS;mBAAC;oBACT,QAAQ,EAAE,mBAAmB;oBAC7B,IAAI,EAAE;wBACJ,WAAW,EAAE,aAAa;wBAC1B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { Directive, computed, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'div[scSidebarGap]',\n host: {\n 'data-slot': 'sidebar-gap',\n '[class]': 'class()',\n },\n})\nexport class ScSidebarGap {\n readonly classInput = input<string>('', { alias: 'class' });\n\n readonly variant = input<'sidebar' | 'floating' | 'inset'>('sidebar');\n\n protected readonly class = computed(() =>\n cn(\n 'relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear',\n 'group-data-[collapsible=offcanvas]:w-0',\n 'group-data-[side=right]:rotate-180',\n this.variant() === 'floating' || this.variant() === 'inset'\n ? 'group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]'\n : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon)',\n this.classInput(),\n ),\n );\n}\n"]}
@@ -0,0 +1,21 @@
1
+ import { Directive, computed, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSidebarGroupAction {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ asChild = input(false, ...(ngDevMode ? [{ debugName: "asChild" }] : []));
7
+ class = computed(() => cn('absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0', 'after:absolute after:-inset-2 md:after:hidden', 'group-data-[collapsible=icon]:hidden', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
8
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarGroupAction, deps: [], target: i0.ɵɵFactoryTarget.Directive });
9
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScSidebarGroupAction, isStandalone: true, selector: "button[scSidebarGroupAction]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, asChild: { classPropertyName: "asChild", publicName: "asChild", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sidebar-group-action" }, properties: { "class": "class()" } }, ngImport: i0 });
10
+ }
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarGroupAction, decorators: [{
12
+ type: Directive,
13
+ args: [{
14
+ selector: 'button[scSidebarGroupAction]',
15
+ host: {
16
+ 'data-slot': 'sidebar-group-action',
17
+ '[class]': 'class()',
18
+ },
19
+ }]
20
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], asChild: [{ type: i0.Input, args: [{ isSignal: true, alias: "asChild", required: false }] }] } });
21
+ //# sourceMappingURL=sidebar-group-action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-group-action.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sidebar/sidebar-group-action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,oBAAoB;IACtB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEnD,OAAO,GAAG,KAAK,CAAU,KAAK,mDAAC,CAAC;IAEtB,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,4RAA4R,EAC5R,+CAA+C,EAC/C,sCAAsC,EACtC,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGAZS,oBAAoB;2FAApB,oBAAoB;;2FAApB,oBAAoB;kBAPhC,SAAS;mBAAC;oBACT,QAAQ,EAAE,8BAA8B;oBACxC,IAAI,EAAE;wBACJ,WAAW,EAAE,sBAAsB;wBACnC,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { Directive, computed, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'button[scSidebarGroupAction]',\n host: {\n 'data-slot': 'sidebar-group-action',\n '[class]': 'class()',\n },\n})\nexport class ScSidebarGroupAction {\n readonly classInput = input<string>('', { alias: 'class' });\n\n readonly asChild = input<boolean>(false);\n\n protected readonly class = computed(() =>\n cn(\n 'absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',\n 'after:absolute after:-inset-2 md:after:hidden',\n 'group-data-[collapsible=icon]:hidden',\n this.classInput(),\n ),\n );\n}\n"]}
@@ -0,0 +1,20 @@
1
+ import { Directive, computed, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSidebarGroupContent {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ class = computed(() => cn('w-full text-sm', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarGroupContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScSidebarGroupContent, isStandalone: true, selector: "div[scSidebarGroupContent]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sidebar-group-content" }, properties: { "class": "class()" } }, ngImport: i0 });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarGroupContent, decorators: [{
11
+ type: Directive,
12
+ args: [{
13
+ selector: 'div[scSidebarGroupContent]',
14
+ host: {
15
+ 'data-slot': 'sidebar-group-content',
16
+ '[class]': 'class()',
17
+ },
18
+ }]
19
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
20
+ //# sourceMappingURL=sidebar-group-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-group-content.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sidebar/sidebar-group-content.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,qBAAqB;IACvB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,gBAAgB,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDACxC,CAAC;uGALS,qBAAqB;2FAArB,qBAAqB;;2FAArB,qBAAqB;kBAPjC,SAAS;mBAAC;oBACT,QAAQ,EAAE,4BAA4B;oBACtC,IAAI,EAAE;wBACJ,WAAW,EAAE,uBAAuB;wBACpC,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { Directive, computed, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'div[scSidebarGroupContent]',\n host: {\n 'data-slot': 'sidebar-group-content',\n '[class]': 'class()',\n },\n})\nexport class ScSidebarGroupContent {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn('w-full text-sm', this.classInput()),\n );\n}\n"]}
@@ -0,0 +1,21 @@
1
+ import { Directive, computed, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSidebarGroupLabel {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ asChild = input(false, ...(ngDevMode ? [{ debugName: "asChild" }] : []));
7
+ class = computed(() => cn('flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-hidden ring-sidebar-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0', 'group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
8
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarGroupLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive });
9
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScSidebarGroupLabel, isStandalone: true, selector: "div[scSidebarGroupLabel]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, asChild: { classPropertyName: "asChild", publicName: "asChild", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sidebar-group-label" }, properties: { "class": "class()" } }, ngImport: i0 });
10
+ }
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarGroupLabel, decorators: [{
12
+ type: Directive,
13
+ args: [{
14
+ selector: 'div[scSidebarGroupLabel]',
15
+ host: {
16
+ 'data-slot': 'sidebar-group-label',
17
+ '[class]': 'class()',
18
+ },
19
+ }]
20
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], asChild: [{ type: i0.Input, args: [{ isSignal: true, alias: "asChild", required: false }] }] } });
21
+ //# sourceMappingURL=sidebar-group-label.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-group-label.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sidebar/sidebar-group-label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,mBAAmB;IACrB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEnD,OAAO,GAAG,KAAK,CAAU,KAAK,mDAAC,CAAC;IAEtB,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,0OAA0O,EAC1O,6EAA6E,EAC7E,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGAXS,mBAAmB;2FAAnB,mBAAmB;;2FAAnB,mBAAmB;kBAP/B,SAAS;mBAAC;oBACT,QAAQ,EAAE,0BAA0B;oBACpC,IAAI,EAAE;wBACJ,WAAW,EAAE,qBAAqB;wBAClC,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { Directive, computed, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'div[scSidebarGroupLabel]',\n host: {\n 'data-slot': 'sidebar-group-label',\n '[class]': 'class()',\n },\n})\nexport class ScSidebarGroupLabel {\n readonly classInput = input<string>('', { alias: 'class' });\n\n readonly asChild = input<boolean>(false);\n\n protected readonly class = computed(() =>\n cn(\n 'flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-hidden ring-sidebar-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',\n 'group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0',\n this.classInput(),\n ),\n );\n}\n"]}
@@ -0,0 +1,20 @@
1
+ import { Directive, computed, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSidebarGroup {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ class = computed(() => cn('relative flex w-full min-w-0 flex-col p-2', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScSidebarGroup, isStandalone: true, selector: "div[scSidebarGroup]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sidebar-group" }, properties: { "class": "class()" } }, ngImport: i0 });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarGroup, decorators: [{
11
+ type: Directive,
12
+ args: [{
13
+ selector: 'div[scSidebarGroup]',
14
+ host: {
15
+ 'data-slot': 'sidebar-group',
16
+ '[class]': 'class()',
17
+ },
18
+ }]
19
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
20
+ //# sourceMappingURL=sidebar-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-group.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sidebar/sidebar-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,cAAc;IAChB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,2CAA2C,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDACnE,CAAC;uGALS,cAAc;2FAAd,cAAc;;2FAAd,cAAc;kBAP1B,SAAS;mBAAC;oBACT,QAAQ,EAAE,qBAAqB;oBAC/B,IAAI,EAAE;wBACJ,WAAW,EAAE,eAAe;wBAC5B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { Directive, computed, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'div[scSidebarGroup]',\n host: {\n 'data-slot': 'sidebar-group',\n '[class]': 'class()',\n },\n})\nexport class ScSidebarGroup {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn('relative flex w-full min-w-0 flex-col p-2', this.classInput()),\n );\n}\n"]}
@@ -0,0 +1,20 @@
1
+ import { Directive, computed, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSidebarHeader {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ class = computed(() => cn('flex flex-col gap-2 p-2', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScSidebarHeader, isStandalone: true, selector: "div[scSidebarHeader]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sidebar-header" }, properties: { "class": "class()" } }, ngImport: i0 });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarHeader, decorators: [{
11
+ type: Directive,
12
+ args: [{
13
+ selector: 'div[scSidebarHeader]',
14
+ host: {
15
+ 'data-slot': 'sidebar-header',
16
+ '[class]': 'class()',
17
+ },
18
+ }]
19
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
20
+ //# sourceMappingURL=sidebar-header.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-header.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sidebar/sidebar-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,eAAe;IACjB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,yBAAyB,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDACjD,CAAC;uGALS,eAAe;2FAAf,eAAe;;2FAAf,eAAe;kBAP3B,SAAS;mBAAC;oBACT,QAAQ,EAAE,sBAAsB;oBAChC,IAAI,EAAE;wBACJ,WAAW,EAAE,gBAAgB;wBAC7B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { Directive, computed, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'div[scSidebarHeader]',\n host: {\n 'data-slot': 'sidebar-header',\n '[class]': 'class()',\n },\n})\nexport class ScSidebarHeader {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn('flex flex-col gap-2 p-2', this.classInput()),\n );\n}\n"]}
@@ -0,0 +1,20 @@
1
+ import { Directive, computed, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSidebarInner {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ class = computed(() => cn('flex size-full flex-col bg-sidebar', 'group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1 group-data-[variant=floating]:ring-sidebar-border', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarInner, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScSidebarInner, isStandalone: true, selector: "div[scSidebarInner]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sidebar-inner" }, properties: { "class": "class()" } }, ngImport: i0 });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarInner, decorators: [{
11
+ type: Directive,
12
+ args: [{
13
+ selector: 'div[scSidebarInner]',
14
+ host: {
15
+ 'data-slot': 'sidebar-inner',
16
+ '[class]': 'class()',
17
+ },
18
+ }]
19
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
20
+ //# sourceMappingURL=sidebar-inner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-inner.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sidebar/sidebar-inner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,cAAc;IAChB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,oCAAoC,EACpC,yKAAyK,EACzK,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGATS,cAAc;2FAAd,cAAc;;2FAAd,cAAc;kBAP1B,SAAS;mBAAC;oBACT,QAAQ,EAAE,qBAAqB;oBAC/B,IAAI,EAAE;wBACJ,WAAW,EAAE,eAAe;wBAC5B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { Directive, computed, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'div[scSidebarInner]',\n host: {\n 'data-slot': 'sidebar-inner',\n '[class]': 'class()',\n },\n})\nexport class ScSidebarInner {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn(\n 'flex size-full flex-col bg-sidebar',\n 'group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1 group-data-[variant=floating]:ring-sidebar-border',\n this.classInput(),\n ),\n );\n}\n"]}
@@ -0,0 +1,20 @@
1
+ import { Directive, computed, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSidebarInput {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ class = computed(() => cn('h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarInput, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScSidebarInput, isStandalone: true, selector: "input[scSidebarInput]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sidebar-input" }, properties: { "class": "class()" } }, ngImport: i0 });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarInput, decorators: [{
11
+ type: Directive,
12
+ args: [{
13
+ selector: 'input[scSidebarInput]',
14
+ host: {
15
+ 'data-slot': 'sidebar-input',
16
+ '[class]': 'class()',
17
+ },
18
+ }]
19
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
20
+ //# sourceMappingURL=sidebar-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-input.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sidebar/sidebar-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,cAAc;IAChB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,2FAA2F,EAC3F,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGARS,cAAc;2FAAd,cAAc;;2FAAd,cAAc;kBAP1B,SAAS;mBAAC;oBACT,QAAQ,EAAE,uBAAuB;oBACjC,IAAI,EAAE;wBACJ,WAAW,EAAE,eAAe;wBAC5B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { Directive, computed, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'input[scSidebarInput]',\n host: {\n 'data-slot': 'sidebar-input',\n '[class]': 'class()',\n },\n})\nexport class ScSidebarInput {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn(\n 'h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring',\n this.classInput(),\n ),\n );\n}\n"]}
@@ -0,0 +1,20 @@
1
+ import { Directive, computed, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSidebarInset {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ class = computed(() => cn('bg-background relative flex w-full flex-1 flex-col', 'md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarInset, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScSidebarInset, isStandalone: true, selector: "main[scSidebarInset]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sidebar-inset" }, properties: { "class": "class()" } }, ngImport: i0 });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarInset, decorators: [{
11
+ type: Directive,
12
+ args: [{
13
+ selector: 'main[scSidebarInset]',
14
+ host: {
15
+ 'data-slot': 'sidebar-inset',
16
+ '[class]': 'class()',
17
+ },
18
+ }]
19
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
20
+ //# sourceMappingURL=sidebar-inset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-inset.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sidebar/sidebar-inset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,cAAc;IAChB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,oDAAoD,EACpD,iNAAiN,EACjN,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGATS,cAAc;2FAAd,cAAc;;2FAAd,cAAc;kBAP1B,SAAS;mBAAC;oBACT,QAAQ,EAAE,sBAAsB;oBAChC,IAAI,EAAE;wBACJ,WAAW,EAAE,eAAe;wBAC5B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { Directive, computed, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'main[scSidebarInset]',\n host: {\n 'data-slot': 'sidebar-inset',\n '[class]': 'class()',\n },\n})\nexport class ScSidebarInset {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn(\n 'bg-background relative flex w-full flex-1 flex-col',\n 'md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2',\n this.classInput(),\n ),\n );\n}\n"]}
@@ -0,0 +1,24 @@
1
+ import { Directive, computed, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSidebarMenuAction {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ asChild = input(false, ...(ngDevMode ? [{ debugName: "asChild" }] : []));
7
+ showOnHover = input(false, ...(ngDevMode ? [{ debugName: "showOnHover" }] : []));
8
+ class = computed(() => cn('absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0', 'after:absolute after:-inset-2 md:after:hidden', 'peer-data-[size=sm]/menu-button:top-1', 'peer-data-[size=default]/menu-button:top-1.5', 'peer-data-[size=lg]/menu-button:top-2.5', 'group-data-[collapsible=icon]:hidden', this.showOnHover() &&
9
+ 'group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 aria-expanded:opacity-100 peer-data-active/menu-button:text-sidebar-accent-foreground md:opacity-0', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
10
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarMenuAction, deps: [], target: i0.ɵɵFactoryTarget.Directive });
11
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScSidebarMenuAction, isStandalone: true, selector: "button[scSidebarMenuAction]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, asChild: { classPropertyName: "asChild", publicName: "asChild", isSignal: true, isRequired: false, transformFunction: null }, showOnHover: { classPropertyName: "showOnHover", publicName: "showOnHover", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sidebar-menu-action", "data-sidebar": "menu-action" }, properties: { "class": "class()" } }, ngImport: i0 });
12
+ }
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarMenuAction, decorators: [{
14
+ type: Directive,
15
+ args: [{
16
+ selector: 'button[scSidebarMenuAction]',
17
+ host: {
18
+ 'data-slot': 'sidebar-menu-action',
19
+ 'data-sidebar': 'menu-action',
20
+ '[class]': 'class()',
21
+ },
22
+ }]
23
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], asChild: [{ type: i0.Input, args: [{ isSignal: true, alias: "asChild", required: false }] }], showOnHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "showOnHover", required: false }] }] } });
24
+ //# sourceMappingURL=sidebar-menu-action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-menu-action.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sidebar/sidebar-menu-action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAUjC,MAAM,OAAO,mBAAmB;IACrB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEnD,OAAO,GAAG,KAAK,CAAU,KAAK,mDAAC,CAAC;IAChC,WAAW,GAAG,KAAK,CAAU,KAAK,uDAAC,CAAC;IAE1B,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,kVAAkV,EAClV,+CAA+C,EAC/C,uCAAuC,EACvC,8CAA8C,EAC9C,yCAAyC,EACzC,sCAAsC,EACtC,IAAI,CAAC,WAAW,EAAE;QAChB,6MAA6M,EAC/M,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGAlBS,mBAAmB;2FAAnB,mBAAmB;;2FAAnB,mBAAmB;kBAR/B,SAAS;mBAAC;oBACT,QAAQ,EAAE,6BAA6B;oBACvC,IAAI,EAAE;wBACJ,WAAW,EAAE,qBAAqB;wBAClC,cAAc,EAAE,aAAa;wBAC7B,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { Directive, computed, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'button[scSidebarMenuAction]',\n host: {\n 'data-slot': 'sidebar-menu-action',\n 'data-sidebar': 'menu-action',\n '[class]': 'class()',\n },\n})\nexport class ScSidebarMenuAction {\n readonly classInput = input<string>('', { alias: 'class' });\n\n readonly asChild = input<boolean>(false);\n readonly showOnHover = input<boolean>(false);\n\n protected readonly class = computed(() =>\n cn(\n 'absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0',\n 'after:absolute after:-inset-2 md:after:hidden',\n 'peer-data-[size=sm]/menu-button:top-1',\n 'peer-data-[size=default]/menu-button:top-1.5',\n 'peer-data-[size=lg]/menu-button:top-2.5',\n 'group-data-[collapsible=icon]:hidden',\n this.showOnHover() &&\n 'group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 aria-expanded:opacity-100 peer-data-active/menu-button:text-sidebar-accent-foreground md:opacity-0',\n this.classInput(),\n ),\n );\n}\n"]}
@@ -0,0 +1,20 @@
1
+ import { Directive, computed, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSidebarMenuBadge {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ class = computed(() => cn('absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none', 'peer-hover/menu-button:text-sidebar-accent-foreground peer-data-active/menu-button:text-sidebar-accent-foreground', 'peer-data-[size=sm]/menu-button:top-1', 'peer-data-[size=default]/menu-button:top-1.5', 'peer-data-[size=lg]/menu-button:top-2.5', 'group-data-[collapsible=icon]:hidden', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarMenuBadge, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScSidebarMenuBadge, isStandalone: true, selector: "div[scSidebarMenuBadge]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sidebar-menu-badge" }, properties: { "class": "class()" } }, ngImport: i0 });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarMenuBadge, decorators: [{
11
+ type: Directive,
12
+ args: [{
13
+ selector: 'div[scSidebarMenuBadge]',
14
+ host: {
15
+ 'data-slot': 'sidebar-menu-badge',
16
+ '[class]': 'class()',
17
+ },
18
+ }]
19
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
20
+ //# sourceMappingURL=sidebar-menu-badge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-menu-badge.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sidebar/sidebar-menu-badge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,kBAAkB;IACpB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,wKAAwK,EACxK,mHAAmH,EACnH,uCAAuC,EACvC,8CAA8C,EAC9C,yCAAyC,EACzC,sCAAsC,EACtC,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGAbS,kBAAkB;2FAAlB,kBAAkB;;2FAAlB,kBAAkB;kBAP9B,SAAS;mBAAC;oBACT,QAAQ,EAAE,yBAAyB;oBACnC,IAAI,EAAE;wBACJ,WAAW,EAAE,oBAAoB;wBACjC,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { Directive, computed, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'div[scSidebarMenuBadge]',\n host: {\n 'data-slot': 'sidebar-menu-badge',\n '[class]': 'class()',\n },\n})\nexport class ScSidebarMenuBadge {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn(\n 'absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none',\n 'peer-hover/menu-button:text-sidebar-accent-foreground peer-data-active/menu-button:text-sidebar-accent-foreground',\n 'peer-data-[size=sm]/menu-button:top-1',\n 'peer-data-[size=default]/menu-button:top-1.5',\n 'peer-data-[size=lg]/menu-button:top-2.5',\n 'group-data-[collapsible=icon]:hidden',\n this.classInput(),\n ),\n );\n}\n"]}
@@ -0,0 +1,47 @@
1
+ import { computed, Directive, input } from '@angular/core';
2
+ import { cva } from 'class-variance-authority';
3
+ import { cn } from '../../utils';
4
+ import * as i0 from "@angular/core";
5
+ const sidebarMenuButtonVariants = cva('ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground gap-2 rounded-md p-2 text-left text-sm transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-2 data-active:font-medium peer/menu-button flex w-full items-center overflow-hidden outline-hidden group/menu-button disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&_svg]:size-4 [&_svg]:shrink-0', {
6
+ variants: {
7
+ variant: {
8
+ default: 'hover:bg-sidebar-accent hover:text-sidebar-accent-foreground',
9
+ outline: 'bg-background hover:bg-sidebar-accent hover:text-sidebar-accent-foreground shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]',
10
+ },
11
+ size: {
12
+ default: 'h-8 text-sm',
13
+ sm: 'h-7 text-xs',
14
+ lg: 'h-12 text-sm group-data-[collapsible=icon]:p-0!',
15
+ },
16
+ },
17
+ defaultVariants: {
18
+ variant: 'default',
19
+ size: 'default',
20
+ },
21
+ });
22
+ export class ScSidebarMenuButton {
23
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
24
+ variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
25
+ size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
26
+ isActive = input(false, ...(ngDevMode ? [{ debugName: "isActive" }] : []));
27
+ tooltip = input(...(ngDevMode ? [undefined, { debugName: "tooltip" }] : []));
28
+ class = computed(() => {
29
+ const size = this.size();
30
+ return cn(sidebarMenuButtonVariants({ variant: this.variant(), size }), this.classInput());
31
+ }, ...(ngDevMode ? [{ debugName: "class" }] : []));
32
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarMenuButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
33
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScSidebarMenuButton, isStandalone: true, selector: "button[scSidebarMenuButton], a[scSidebarMenuButton]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", 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 }, isActive: { classPropertyName: "isActive", publicName: "isActive", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sidebar-menu-button" }, properties: { "class": "class()", "attr.data-active": "isActive() || null", "attr.data-size": "size()" } }, ngImport: i0 });
34
+ }
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarMenuButton, decorators: [{
36
+ type: Directive,
37
+ args: [{
38
+ selector: 'button[scSidebarMenuButton], a[scSidebarMenuButton]',
39
+ host: {
40
+ 'data-slot': 'sidebar-menu-button',
41
+ '[class]': 'class()',
42
+ '[attr.data-active]': 'isActive() || null',
43
+ '[attr.data-size]': 'size()',
44
+ },
45
+ }]
46
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], isActive: [{ type: i0.Input, args: [{ isSignal: true, alias: "isActive", required: false }] }], tooltip: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltip", required: false }] }] } });
47
+ //# sourceMappingURL=sidebar-menu-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-menu-button.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sidebar/sidebar-menu-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,GAAG,EAAgB,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAEjC,MAAM,yBAAyB,GAAG,GAAG,CACnC,gyBAAgyB,EAChyB;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,8DAA8D;YACvE,OAAO,EACL,8KAA8K;SACjL;QACD,IAAI,EAAE;YACJ,OAAO,EAAE,aAAa;YACtB,EAAE,EAAE,aAAa;YACjB,EAAE,EAAE,iDAAiD;SACtD;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,SAAS;KAChB;CACF,CACF,CAAC;AAeF,MAAM,OAAO,mBAAmB;IACrB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEnD,OAAO,GAAG,KAAK,CAAyC,SAAS,mDAAC,CAAC;IACnE,IAAI,GAAG,KAAK,CAAsC,SAAS,gDAAC,CAAC;IAC7D,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC,CAAC;IACjC,OAAO,GAAG,KAAK,6DAAU,CAAC;IAEhB,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE;QACvC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;QACzB,OAAO,EAAE,CACP,yBAAyB,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,EAC5D,IAAI,CAAC,UAAU,EAAE,CAClB,CAAC;IACJ,CAAC,iDAAC,CAAC;uGAdQ,mBAAmB;2FAAnB,mBAAmB;;2FAAnB,mBAAmB;kBAT/B,SAAS;mBAAC;oBACT,QAAQ,EAAE,qDAAqD;oBAC/D,IAAI,EAAE;wBACJ,WAAW,EAAE,qBAAqB;wBAClC,SAAS,EAAE,SAAS;wBACpB,oBAAoB,EAAE,oBAAoB;wBAC1C,kBAAkB,EAAE,QAAQ;qBAC7B;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cva, VariantProps } from 'class-variance-authority';\nimport { cn } from '../../utils';\n\nconst sidebarMenuButtonVariants = cva(\n 'ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground gap-2 rounded-md p-2 text-left text-sm transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-2 data-active:font-medium peer/menu-button flex w-full items-center overflow-hidden outline-hidden group/menu-button disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&_svg]:size-4 [&_svg]:shrink-0',\n {\n variants: {\n variant: {\n default: 'hover:bg-sidebar-accent hover:text-sidebar-accent-foreground',\n outline:\n 'bg-background hover:bg-sidebar-accent hover:text-sidebar-accent-foreground shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]',\n },\n size: {\n default: 'h-8 text-sm',\n sm: 'h-7 text-xs',\n lg: 'h-12 text-sm group-data-[collapsible=icon]:p-0!',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n);\n\nexport type ScSidebarMenuButtonVariants = VariantProps<\n typeof sidebarMenuButtonVariants\n>;\n\n@Directive({\n selector: 'button[scSidebarMenuButton], a[scSidebarMenuButton]',\n host: {\n 'data-slot': 'sidebar-menu-button',\n '[class]': 'class()',\n '[attr.data-active]': 'isActive() || null',\n '[attr.data-size]': 'size()',\n },\n})\nexport class ScSidebarMenuButton {\n readonly classInput = input<string>('', { alias: 'class' });\n\n readonly variant = input<ScSidebarMenuButtonVariants['variant']>('default');\n readonly size = input<ScSidebarMenuButtonVariants['size']>('default');\n readonly isActive = input<boolean>(false);\n readonly tooltip = input<string>();\n\n protected readonly class = computed(() => {\n const size = this.size();\n return cn(\n sidebarMenuButtonVariants({ variant: this.variant(), size }),\n this.classInput(),\n );\n });\n}\n"]}
@@ -0,0 +1,20 @@
1
+ import { Directive, computed, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSidebarMenuItem {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ class = computed(() => cn('group/menu-item relative', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScSidebarMenuItem, isStandalone: true, selector: "li[scSidebarMenuItem]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sidebar-menu-item" }, properties: { "class": "class()" } }, ngImport: i0 });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarMenuItem, decorators: [{
11
+ type: Directive,
12
+ args: [{
13
+ selector: 'li[scSidebarMenuItem]',
14
+ host: {
15
+ 'data-slot': 'sidebar-menu-item',
16
+ '[class]': 'class()',
17
+ },
18
+ }]
19
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
20
+ //# sourceMappingURL=sidebar-menu-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-menu-item.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sidebar/sidebar-menu-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,iBAAiB;IACnB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,0BAA0B,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDAClD,CAAC;uGALS,iBAAiB;2FAAjB,iBAAiB;;2FAAjB,iBAAiB;kBAP7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,uBAAuB;oBACjC,IAAI,EAAE;wBACJ,WAAW,EAAE,mBAAmB;wBAChC,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { Directive, computed, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'li[scSidebarMenuItem]',\n host: {\n 'data-slot': 'sidebar-menu-item',\n '[class]': 'class()',\n },\n})\nexport class ScSidebarMenuItem {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn('group/menu-item relative', this.classInput()),\n );\n}\n"]}
@@ -0,0 +1,45 @@
1
+ import { ChangeDetectionStrategy, Component, computed, input, ViewEncapsulation, } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import { ScSkeleton } from '../skeleton';
4
+ import * as i0 from "@angular/core";
5
+ export class ScSidebarMenuSkeleton {
6
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
7
+ showIcon = input(false, ...(ngDevMode ? [{ debugName: "showIcon" }] : []));
8
+ width = `${Math.floor(Math.random() * 40) + 50}%`;
9
+ class = computed(() => cn('h-8 gap-2 rounded-md px-2 flex items-center', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
10
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarMenuSkeleton, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: ScSidebarMenuSkeleton, isStandalone: true, selector: "div[scSidebarMenuSkeleton]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sidebar-menu-skeleton" }, properties: { "class": "class()" } }, ngImport: i0, template: `
12
+ @if (showIcon()) {
13
+ <div scSkeleton class="size-4 rounded-md"></div>
14
+ }
15
+ <div
16
+ scSkeleton
17
+ class="h-4 max-w-(--skeleton-width) flex-1"
18
+ [style.--skeleton-width]="width"
19
+ ></div>
20
+ `, isInline: true, dependencies: [{ kind: "directive", type: ScSkeleton, selector: "div[scSkeleton]", inputs: ["class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
21
+ }
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarMenuSkeleton, decorators: [{
23
+ type: Component,
24
+ args: [{
25
+ selector: 'div[scSidebarMenuSkeleton]',
26
+ imports: [ScSkeleton],
27
+ host: {
28
+ 'data-slot': 'sidebar-menu-skeleton',
29
+ '[class]': 'class()',
30
+ },
31
+ template: `
32
+ @if (showIcon()) {
33
+ <div scSkeleton class="size-4 rounded-md"></div>
34
+ }
35
+ <div
36
+ scSkeleton
37
+ class="h-4 max-w-(--skeleton-width) flex-1"
38
+ [style.--skeleton-width]="width"
39
+ ></div>
40
+ `,
41
+ encapsulation: ViewEncapsulation.None,
42
+ changeDetection: ChangeDetectionStrategy.OnPush,
43
+ }]
44
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], showIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIcon", required: false }] }] } });
45
+ //# sourceMappingURL=sidebar-menu-skeleton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-menu-skeleton.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sidebar/sidebar-menu-skeleton.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;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;;AAsBzC,MAAM,OAAO,qBAAqB;IACvB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IACnD,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC,CAAC;IAEvB,KAAK,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;IAElD,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,6CAA6C,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDACrE,CAAC;uGARS,qBAAqB;2FAArB,qBAAqB,ycAbtB;;;;;;;;;GAST,4DAdS,UAAU;;2FAkBT,qBAAqB;kBApBjC,SAAS;mBAAC;oBACT,QAAQ,EAAE,4BAA4B;oBACtC,OAAO,EAAE,CAAC,UAAU,CAAC;oBACrB,IAAI,EAAE;wBACJ,WAAW,EAAE,uBAAuB;wBACpC,SAAS,EAAE,SAAS;qBACrB;oBACD,QAAQ,EAAE;;;;;;;;;GAST;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';\nimport { ScSkeleton } from '../skeleton';\n\n@Component({\n selector: 'div[scSidebarMenuSkeleton]',\n imports: [ScSkeleton],\n host: {\n 'data-slot': 'sidebar-menu-skeleton',\n '[class]': 'class()',\n },\n template: `\n @if (showIcon()) {\n <div scSkeleton class=\"size-4 rounded-md\"></div>\n }\n <div\n scSkeleton\n class=\"h-4 max-w-(--skeleton-width) flex-1\"\n [style.--skeleton-width]=\"width\"\n ></div>\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScSidebarMenuSkeleton {\n readonly classInput = input<string>('', { alias: 'class' });\n readonly showIcon = input<boolean>(false);\n\n protected readonly width = `${Math.floor(Math.random() * 40) + 50}%`;\n\n protected readonly class = computed(() =>\n cn('h-8 gap-2 rounded-md px-2 flex items-center', this.classInput()),\n );\n}\n"]}
@@ -0,0 +1,31 @@
1
+ import { Directive, computed, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ const sizeStyles = {
5
+ sm: 'text-xs',
6
+ md: 'text-sm',
7
+ };
8
+ export class ScSidebarMenuSubButton {
9
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
10
+ size = input('md', ...(ngDevMode ? [{ debugName: "size" }] : []));
11
+ isActive = input(false, ...(ngDevMode ? [{ debugName: "isActive" }] : []));
12
+ class = computed(() => {
13
+ const size = this.size();
14
+ return cn('group-data-[collapsible=icon]:hidden flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground', 'data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground', sizeStyles[size], this.classInput());
15
+ }, ...(ngDevMode ? [{ debugName: "class" }] : []));
16
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarMenuSubButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
17
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScSidebarMenuSubButton, isStandalone: true, selector: "a[scSidebarMenuSubButton], button[scSidebarMenuSubButton]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, isActive: { classPropertyName: "isActive", publicName: "isActive", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sidebar-menu-sub-button" }, properties: { "class": "class()", "attr.data-active": "isActive() || null", "attr.data-size": "size()" } }, ngImport: i0 });
18
+ }
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScSidebarMenuSubButton, decorators: [{
20
+ type: Directive,
21
+ args: [{
22
+ selector: 'a[scSidebarMenuSubButton], button[scSidebarMenuSubButton]',
23
+ host: {
24
+ 'data-slot': 'sidebar-menu-sub-button',
25
+ '[class]': 'class()',
26
+ '[attr.data-active]': 'isActive() || null',
27
+ '[attr.data-size]': 'size()',
28
+ },
29
+ }]
30
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], isActive: [{ type: i0.Input, args: [{ isSignal: true, alias: "isActive", required: false }] }] } });
31
+ //# sourceMappingURL=sidebar-menu-sub-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar-menu-sub-button.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sidebar/sidebar-menu-sub-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAEjC,MAAM,UAAU,GAAgC;IAC9C,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;CACd,CAAC;AAWF,MAAM,OAAO,sBAAsB;IACxB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEnD,IAAI,GAAG,KAAK,CAAc,IAAI,gDAAC,CAAC;IAChC,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC,CAAC;IAEvB,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE;QACvC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;QACzB,OAAO,EAAE,CACP,khBAAkhB,EAClhB,0EAA0E,EAC1E,UAAU,CAAC,IAAI,CAAC,EAChB,IAAI,CAAC,UAAU,EAAE,CAClB,CAAC;IACJ,CAAC,iDAAC,CAAC;uGAdQ,sBAAsB;2FAAtB,sBAAsB;;2FAAtB,sBAAsB;kBATlC,SAAS;mBAAC;oBACT,QAAQ,EAAE,2DAA2D;oBACrE,IAAI,EAAE;wBACJ,WAAW,EAAE,yBAAyB;wBACtC,SAAS,EAAE,SAAS;wBACpB,oBAAoB,EAAE,oBAAoB;wBAC1C,kBAAkB,EAAE,QAAQ;qBAC7B;iBACF","sourcesContent":["import { Directive, computed, input } from '@angular/core';\nimport { cn } from '../../utils';\n\nconst sizeStyles: Record<'sm' | 'md', string> = {\n sm: 'text-xs',\n md: 'text-sm',\n};\n\n@Directive({\n selector: 'a[scSidebarMenuSubButton], button[scSidebarMenuSubButton]',\n host: {\n 'data-slot': 'sidebar-menu-sub-button',\n '[class]': 'class()',\n '[attr.data-active]': 'isActive() || null',\n '[attr.data-size]': 'size()',\n },\n})\nexport class ScSidebarMenuSubButton {\n readonly classInput = input<string>('', { alias: 'class' });\n\n readonly size = input<'sm' | 'md'>('md');\n readonly isActive = input<boolean>(false);\n\n protected readonly class = computed(() => {\n const size = this.size();\n return cn(\n 'group-data-[collapsible=icon]:hidden flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground',\n 'data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground',\n sizeStyles[size],\n this.classInput(),\n );\n });\n}\n"]}