@ng-cn/core 1.0.15 → 1.0.17

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 (380) hide show
  1. package/package.json +34 -33
  2. package/schematics/component/index.js +454 -95
  3. package/schematics/component/index.ts +459 -98
  4. package/schematics/ng-add/index.js +539 -55
  5. package/schematics/ng-add/index.ts +555 -62
  6. package/schematics/ng-add/schema.json +8 -2
  7. package/schematics/test-schematic.js +1 -2
  8. package/src/app/lib/components/ui/.gitkeep +0 -0
  9. package/src/app/lib/components/ui/accordion/accordion-content.component.ts +16 -24
  10. package/src/app/lib/components/ui/accordion/accordion-context.ts +4 -9
  11. package/src/app/lib/components/ui/accordion/accordion-item.component.ts +33 -29
  12. package/src/app/lib/components/ui/accordion/accordion-trigger.component.ts +11 -14
  13. package/src/app/lib/components/ui/accordion/accordion.component.ts +60 -49
  14. package/src/app/lib/components/ui/accordion/index.ts +5 -6
  15. package/src/app/lib/components/ui/alert/alert-description.component.ts +3 -8
  16. package/src/app/lib/components/ui/alert/alert-title.component.ts +2 -7
  17. package/src/app/lib/components/ui/alert/alert-variants.ts +19 -5
  18. package/src/app/lib/components/ui/alert/alert.component.ts +2 -10
  19. package/src/app/lib/components/ui/alert/index.ts +0 -1
  20. package/src/app/lib/components/ui/alert-dialog/alert-dialog-action.component.ts +5 -12
  21. package/src/app/lib/components/ui/alert-dialog/alert-dialog-cancel.component.ts +5 -11
  22. package/src/app/lib/components/ui/alert-dialog/alert-dialog-content.component.ts +63 -66
  23. package/src/app/lib/components/ui/alert-dialog/alert-dialog-context.ts +10 -5
  24. package/src/app/lib/components/ui/alert-dialog/alert-dialog-description.component.ts +5 -10
  25. package/src/app/lib/components/ui/alert-dialog/alert-dialog-footer.component.ts +3 -7
  26. package/src/app/lib/components/ui/alert-dialog/alert-dialog-header.component.ts +3 -7
  27. package/src/app/lib/components/ui/alert-dialog/alert-dialog-title.component.ts +5 -12
  28. package/src/app/lib/components/ui/alert-dialog/alert-dialog-trigger.component.ts +8 -12
  29. package/src/app/lib/components/ui/alert-dialog/alert-dialog.component.ts +28 -34
  30. package/src/app/lib/components/ui/alert-dialog/index.ts +0 -1
  31. package/src/app/lib/components/ui/aspect-ratio/aspect-ratio.component.ts +3 -9
  32. package/src/app/lib/components/ui/avatar/avatar-context.ts +9 -0
  33. package/src/app/lib/components/ui/avatar/avatar-fallback.component.ts +7 -18
  34. package/src/app/lib/components/ui/avatar/avatar-image.component.ts +39 -17
  35. package/src/app/lib/components/ui/avatar/avatar.component.ts +17 -20
  36. package/src/app/lib/components/ui/avatar/index.ts +1 -1
  37. package/src/app/lib/components/ui/avatar/ui-avatar.component.ts +9 -30
  38. package/src/app/lib/components/ui/badge/badge-variants.ts +5 -5
  39. package/src/app/lib/components/ui/badge/badge.component.ts +4 -8
  40. package/src/app/lib/components/ui/badge/index.ts +0 -1
  41. package/src/app/lib/components/ui/breadcrumb/breadcrumb-ellipsis.component.ts +3 -7
  42. package/src/app/lib/components/ui/breadcrumb/breadcrumb-item.component.ts +5 -14
  43. package/src/app/lib/components/ui/breadcrumb/breadcrumb-link.component.ts +6 -18
  44. package/src/app/lib/components/ui/breadcrumb/breadcrumb-list.component.ts +6 -15
  45. package/src/app/lib/components/ui/breadcrumb/breadcrumb-page.component.ts +3 -7
  46. package/src/app/lib/components/ui/breadcrumb/breadcrumb-separator.component.ts +22 -31
  47. package/src/app/lib/components/ui/breadcrumb/breadcrumb.component.ts +3 -9
  48. package/src/app/lib/components/ui/breadcrumb/index.ts +0 -1
  49. package/src/app/lib/components/ui/button/button-variants.ts +6 -8
  50. package/src/app/lib/components/ui/button/button.component.ts +4 -8
  51. package/src/app/lib/components/ui/button/index.ts +0 -1
  52. package/src/app/lib/components/ui/button-group/button-group-variants.ts +12 -15
  53. package/src/app/lib/components/ui/button-group/button-group.component.ts +6 -14
  54. package/src/app/lib/components/ui/button-group/index.ts +1 -5
  55. package/src/app/lib/components/ui/calendar/calendar.component.ts +103 -115
  56. package/src/app/lib/components/ui/card/card-action.component.ts +2 -10
  57. package/src/app/lib/components/ui/card/card-content.component.ts +1 -6
  58. package/src/app/lib/components/ui/card/card-description.component.ts +2 -7
  59. package/src/app/lib/components/ui/card/card-footer.component.ts +2 -7
  60. package/src/app/lib/components/ui/card/card-header.component.ts +3 -8
  61. package/src/app/lib/components/ui/card/card-title.component.ts +2 -9
  62. package/src/app/lib/components/ui/card/card.component.ts +3 -8
  63. package/src/app/lib/components/ui/card/index.ts +0 -1
  64. package/src/app/lib/components/ui/carousel/carousel-content.component.ts +3 -9
  65. package/src/app/lib/components/ui/carousel/carousel-item.component.ts +5 -5
  66. package/src/app/lib/components/ui/carousel/carousel-next.component.ts +9 -8
  67. package/src/app/lib/components/ui/carousel/carousel-previous.component.ts +9 -8
  68. package/src/app/lib/components/ui/carousel/carousel.component.ts +14 -25
  69. package/src/app/lib/components/ui/carousel/index.ts +5 -2
  70. package/src/app/lib/components/ui/chart/chart-container.component.ts +20 -26
  71. package/src/app/lib/components/ui/chart/chart-legend-content.component.ts +6 -16
  72. package/src/app/lib/components/ui/chart/chart-legend.component.ts +2 -7
  73. package/src/app/lib/components/ui/chart/chart-tooltip-content.component.ts +2 -9
  74. package/src/app/lib/components/ui/chart/chart-tooltip.component.ts +2 -7
  75. package/src/app/lib/components/ui/chart/chart.component.ts +12 -32
  76. package/src/app/lib/components/ui/chart/index.ts +7 -8
  77. package/src/app/lib/components/ui/checkbox/checkbox.component.ts +55 -74
  78. package/src/app/lib/components/ui/collapsible/collapsible-content.component.ts +16 -25
  79. package/src/app/lib/components/ui/collapsible/collapsible-context.ts +0 -8
  80. package/src/app/lib/components/ui/collapsible/collapsible-trigger.component.ts +6 -16
  81. package/src/app/lib/components/ui/collapsible/collapsible.component.ts +29 -33
  82. package/src/app/lib/components/ui/collapsible/index.ts +0 -1
  83. package/src/app/lib/components/ui/combobox/combobox-content.component.ts +8 -15
  84. package/src/app/lib/components/ui/combobox/combobox-context.ts +5 -4
  85. package/src/app/lib/components/ui/combobox/combobox-empty.component.ts +5 -12
  86. package/src/app/lib/components/ui/combobox/combobox-group.component.ts +3 -7
  87. package/src/app/lib/components/ui/combobox/combobox-input.component.ts +25 -25
  88. package/src/app/lib/components/ui/combobox/combobox-item.component.ts +45 -44
  89. package/src/app/lib/components/ui/combobox/combobox-list.component.ts +14 -12
  90. package/src/app/lib/components/ui/combobox/combobox-trigger.component.ts +24 -14
  91. package/src/app/lib/components/ui/combobox/combobox-value.component.ts +27 -22
  92. package/src/app/lib/components/ui/combobox/combobox.component.ts +74 -54
  93. package/src/app/lib/components/ui/combobox/index.ts +1 -6
  94. package/src/app/lib/components/ui/command/command-context.ts +1 -5
  95. package/src/app/lib/components/ui/command/command-dialog.component.ts +12 -14
  96. package/src/app/lib/components/ui/command/command-empty.component.ts +2 -3
  97. package/src/app/lib/components/ui/command/command-group.component.ts +32 -25
  98. package/src/app/lib/components/ui/command/command-input.component.ts +29 -28
  99. package/src/app/lib/components/ui/command/command-item.component.ts +46 -58
  100. package/src/app/lib/components/ui/command/command-list.component.ts +5 -4
  101. package/src/app/lib/components/ui/command/command-separator.component.ts +2 -3
  102. package/src/app/lib/components/ui/command/command-shortcut.component.ts +2 -1
  103. package/src/app/lib/components/ui/command/command.component.ts +33 -22
  104. package/src/app/lib/components/ui/command/index.ts +0 -1
  105. package/src/app/lib/components/ui/context-menu/context-menu-checkbox-item.component.ts +20 -11
  106. package/src/app/lib/components/ui/context-menu/context-menu-content.component.ts +36 -43
  107. package/src/app/lib/components/ui/context-menu/context-menu-context.ts +1 -1
  108. package/src/app/lib/components/ui/context-menu/context-menu-item.component.ts +12 -13
  109. package/src/app/lib/components/ui/context-menu/context-menu-label.component.ts +2 -5
  110. package/src/app/lib/components/ui/context-menu/context-menu-radio-group.component.ts +9 -2
  111. package/src/app/lib/components/ui/context-menu/context-menu-radio-item.component.ts +14 -14
  112. package/src/app/lib/components/ui/context-menu/context-menu-separator.component.ts +2 -3
  113. package/src/app/lib/components/ui/context-menu/context-menu-shortcut.component.ts +2 -1
  114. package/src/app/lib/components/ui/context-menu/context-menu-sub-content.component.ts +5 -5
  115. package/src/app/lib/components/ui/context-menu/context-menu-sub-trigger.component.ts +8 -7
  116. package/src/app/lib/components/ui/context-menu/context-menu-sub.component.ts +9 -2
  117. package/src/app/lib/components/ui/context-menu/context-menu-trigger.component.ts +8 -7
  118. package/src/app/lib/components/ui/context-menu/context-menu.component.ts +1 -0
  119. package/src/app/lib/components/ui/context-menu/index.ts +15 -4
  120. package/src/app/lib/components/ui/data-table/data-table-content.component.ts +22 -28
  121. package/src/app/lib/components/ui/data-table/data-table-context.ts +1 -3
  122. package/src/app/lib/components/ui/data-table/data-table-pagination.component.ts +17 -27
  123. package/src/app/lib/components/ui/data-table/data-table-search.component.ts +6 -14
  124. package/src/app/lib/components/ui/data-table/data-table-toolbar.component.ts +3 -7
  125. package/src/app/lib/components/ui/data-table/data-table-view-options.component.ts +11 -20
  126. package/src/app/lib/components/ui/data-table/data-table.component.ts +41 -49
  127. package/src/app/lib/components/ui/data-table/index.ts +7 -8
  128. package/src/app/lib/components/ui/date-picker/date-picker.component.ts +24 -24
  129. package/src/app/lib/components/ui/dialog/dialog-close.component.ts +4 -8
  130. package/src/app/lib/components/ui/dialog/dialog-content.component.ts +72 -73
  131. package/src/app/lib/components/ui/dialog/dialog-context.ts +7 -5
  132. package/src/app/lib/components/ui/dialog/dialog-description.component.ts +5 -10
  133. package/src/app/lib/components/ui/dialog/dialog-footer.component.ts +3 -7
  134. package/src/app/lib/components/ui/dialog/dialog-header.component.ts +3 -7
  135. package/src/app/lib/components/ui/dialog/dialog-title.component.ts +5 -10
  136. package/src/app/lib/components/ui/dialog/dialog-trigger.component.ts +7 -11
  137. package/src/app/lib/components/ui/dialog/dialog.component.ts +29 -34
  138. package/src/app/lib/components/ui/dialog/index.ts +0 -1
  139. package/src/app/lib/components/ui/drawer/drawer-close.component.ts +4 -8
  140. package/src/app/lib/components/ui/drawer/drawer-content.component.ts +39 -35
  141. package/src/app/lib/components/ui/drawer/drawer-description.component.ts +5 -10
  142. package/src/app/lib/components/ui/drawer/drawer-footer.component.ts +3 -7
  143. package/src/app/lib/components/ui/drawer/drawer-header.component.ts +3 -7
  144. package/src/app/lib/components/ui/drawer/drawer-title.component.ts +5 -10
  145. package/src/app/lib/components/ui/drawer/drawer-trigger.component.ts +7 -11
  146. package/src/app/lib/components/ui/drawer/drawer.component.ts +25 -26
  147. package/src/app/lib/components/ui/drawer/index.ts +0 -1
  148. package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-checkbox-item.component.ts +20 -11
  149. package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-content.component.ts +96 -61
  150. package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-context.ts +1 -1
  151. package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-group.component.ts +1 -0
  152. package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-item.component.ts +10 -11
  153. package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-label.component.ts +2 -5
  154. package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-radio-group.component.ts +14 -5
  155. package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-radio-item.component.ts +14 -14
  156. package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-separator.component.ts +2 -3
  157. package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-shortcut.component.ts +2 -1
  158. package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-sub-content.component.ts +5 -5
  159. package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-sub-trigger.component.ts +8 -7
  160. package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-sub.component.ts +9 -2
  161. package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-trigger.component.ts +6 -5
  162. package/src/app/lib/components/ui/dropdown-menu/dropdown-menu.component.ts +1 -0
  163. package/src/app/lib/components/ui/dropdown-menu/index.ts +10 -3
  164. package/src/app/lib/components/ui/empty/empty-action.component.ts +2 -9
  165. package/src/app/lib/components/ui/empty/empty-description.component.ts +2 -10
  166. package/src/app/lib/components/ui/empty/empty-icon.component.ts +3 -8
  167. package/src/app/lib/components/ui/empty/empty-title.component.ts +2 -9
  168. package/src/app/lib/components/ui/empty/empty.component.ts +3 -8
  169. package/src/app/lib/components/ui/empty/index.ts +0 -1
  170. package/src/app/lib/components/ui/form/form-context.ts +1 -11
  171. package/src/app/lib/components/ui/form/form-control.component.ts +22 -22
  172. package/src/app/lib/components/ui/form/form-description.component.ts +4 -10
  173. package/src/app/lib/components/ui/form/form-field.component.ts +7 -10
  174. package/src/app/lib/components/ui/form/form-item.component.ts +2 -12
  175. package/src/app/lib/components/ui/form/form-label.component.ts +15 -15
  176. package/src/app/lib/components/ui/form/form-message.component.ts +7 -15
  177. package/src/app/lib/components/ui/form/form.component.ts +9 -20
  178. package/src/app/lib/components/ui/form/index.ts +4 -5
  179. package/src/app/lib/components/ui/hover-card/hover-card-content.component.ts +21 -33
  180. package/src/app/lib/components/ui/hover-card/hover-card-context.ts +0 -8
  181. package/src/app/lib/components/ui/hover-card/hover-card-trigger.component.ts +17 -26
  182. package/src/app/lib/components/ui/hover-card/hover-card.component.ts +18 -28
  183. package/src/app/lib/components/ui/hover-card/index.ts +9 -6
  184. package/src/app/lib/components/ui/input/input.component.ts +57 -75
  185. package/src/app/lib/components/ui/input-group/index.ts +0 -1
  186. package/src/app/lib/components/ui/input-group/input-group-addon.component.ts +4 -11
  187. package/src/app/lib/components/ui/input-group/input-group-input.component.ts +3 -8
  188. package/src/app/lib/components/ui/input-group/input-group.component.ts +4 -9
  189. package/src/app/lib/components/ui/input-otp/index.ts +4 -5
  190. package/src/app/lib/components/ui/input-otp/input-otp-context.ts +0 -8
  191. package/src/app/lib/components/ui/input-otp/input-otp-group.component.ts +2 -3
  192. package/src/app/lib/components/ui/input-otp/input-otp-separator.component.ts +4 -3
  193. package/src/app/lib/components/ui/input-otp/input-otp-slot.component.ts +8 -10
  194. package/src/app/lib/components/ui/input-otp/input-otp.component.ts +27 -45
  195. package/src/app/lib/components/ui/kbd/index.ts +0 -1
  196. package/src/app/lib/components/ui/kbd/kbd-variants.ts +1 -1
  197. package/src/app/lib/components/ui/kbd/kbd.component.ts +4 -8
  198. package/src/app/lib/components/ui/label/label.component.ts +15 -28
  199. package/src/app/lib/components/ui/menubar/index.ts +11 -8
  200. package/src/app/lib/components/ui/menubar/menubar-checkbox-item.component.ts +21 -12
  201. package/src/app/lib/components/ui/menubar/menubar-content.component.ts +46 -53
  202. package/src/app/lib/components/ui/menubar/menubar-context.ts +3 -9
  203. package/src/app/lib/components/ui/menubar/menubar-item.component.ts +13 -14
  204. package/src/app/lib/components/ui/menubar/menubar-label.component.ts +2 -5
  205. package/src/app/lib/components/ui/menubar/menubar-menu.component.ts +14 -2
  206. package/src/app/lib/components/ui/menubar/menubar-radio-group.component.ts +9 -2
  207. package/src/app/lib/components/ui/menubar/menubar-radio-item.component.ts +13 -13
  208. package/src/app/lib/components/ui/menubar/menubar-separator.component.ts +2 -3
  209. package/src/app/lib/components/ui/menubar/menubar-shortcut.component.ts +2 -1
  210. package/src/app/lib/components/ui/menubar/menubar-sub-content.component.ts +5 -5
  211. package/src/app/lib/components/ui/menubar/menubar-sub-trigger.component.ts +7 -6
  212. package/src/app/lib/components/ui/menubar/menubar-sub.component.ts +8 -1
  213. package/src/app/lib/components/ui/menubar/menubar-trigger.component.ts +26 -21
  214. package/src/app/lib/components/ui/menubar/menubar.component.ts +6 -13
  215. package/src/app/lib/components/ui/native-select/index.ts +1 -5
  216. package/src/app/lib/components/ui/native-select/native-select-variants.ts +1 -1
  217. package/src/app/lib/components/ui/native-select/native-select.component.ts +14 -15
  218. package/src/app/lib/components/ui/navigation-menu/index.ts +10 -8
  219. package/src/app/lib/components/ui/navigation-menu/navigation-menu-content.component.ts +18 -13
  220. package/src/app/lib/components/ui/navigation-menu/navigation-menu-context.ts +2 -10
  221. package/src/app/lib/components/ui/navigation-menu/navigation-menu-indicator.component.ts +3 -2
  222. package/src/app/lib/components/ui/navigation-menu/navigation-menu-item.component.ts +6 -1
  223. package/src/app/lib/components/ui/navigation-menu/navigation-menu-link.component.ts +3 -8
  224. package/src/app/lib/components/ui/navigation-menu/navigation-menu-list.component.ts +2 -4
  225. package/src/app/lib/components/ui/navigation-menu/navigation-menu-trigger-style.ts +1 -1
  226. package/src/app/lib/components/ui/navigation-menu/navigation-menu-trigger.component.ts +8 -7
  227. package/src/app/lib/components/ui/navigation-menu/navigation-menu-viewport.component.ts +3 -2
  228. package/src/app/lib/components/ui/navigation-menu/navigation-menu.component.ts +8 -15
  229. package/src/app/lib/components/ui/pagination/index.ts +0 -1
  230. package/src/app/lib/components/ui/pagination/pagination-content.component.ts +3 -7
  231. package/src/app/lib/components/ui/pagination/pagination-ellipsis.component.ts +3 -7
  232. package/src/app/lib/components/ui/pagination/pagination-item.component.ts +3 -9
  233. package/src/app/lib/components/ui/pagination/pagination-link.component.ts +4 -8
  234. package/src/app/lib/components/ui/pagination/pagination-next.component.ts +3 -11
  235. package/src/app/lib/components/ui/pagination/pagination-previous.component.ts +3 -11
  236. package/src/app/lib/components/ui/pagination/pagination.component.ts +3 -7
  237. package/src/app/lib/components/ui/popover/index.ts +9 -6
  238. package/src/app/lib/components/ui/popover/popover-anchor.component.ts +2 -13
  239. package/src/app/lib/components/ui/popover/popover-content.component.ts +119 -69
  240. package/src/app/lib/components/ui/popover/popover-context.ts +0 -8
  241. package/src/app/lib/components/ui/popover/popover-trigger.component.ts +22 -22
  242. package/src/app/lib/components/ui/popover/popover.component.ts +20 -33
  243. package/src/app/lib/components/ui/progress/index.ts +1 -6
  244. package/src/app/lib/components/ui/progress/progress.component.ts +15 -30
  245. package/src/app/lib/components/ui/radio-group/index.ts +1 -4
  246. package/src/app/lib/components/ui/radio-group/radio-group-context.ts +1 -7
  247. package/src/app/lib/components/ui/radio-group/radio-group-item.component.ts +36 -69
  248. package/src/app/lib/components/ui/radio-group/radio-group.component.ts +38 -67
  249. package/src/app/lib/components/ui/resizable/index.ts +0 -1
  250. package/src/app/lib/components/ui/resizable/resizable-handle.component.ts +25 -39
  251. package/src/app/lib/components/ui/resizable/resizable-panel-group.component.ts +15 -18
  252. package/src/app/lib/components/ui/resizable/resizable-panel.component.ts +12 -31
  253. package/src/app/lib/components/ui/scroll-area/index.ts +4 -5
  254. package/src/app/lib/components/ui/scroll-area/scroll-area.component.ts +5 -19
  255. package/src/app/lib/components/ui/scroll-area/scroll-bar.component.ts +8 -27
  256. package/src/app/lib/components/ui/segmented/index.ts +5 -9
  257. package/src/app/lib/components/ui/segmented/segmented-context.ts +1 -3
  258. package/src/app/lib/components/ui/segmented/segmented-item.component.ts +21 -29
  259. package/src/app/lib/components/ui/segmented/segmented-variants.ts +2 -2
  260. package/src/app/lib/components/ui/segmented/segmented.component.ts +24 -32
  261. package/src/app/lib/components/ui/select/index.ts +5 -6
  262. package/src/app/lib/components/ui/select/select-content.component.ts +34 -62
  263. package/src/app/lib/components/ui/select/select-context.ts +4 -14
  264. package/src/app/lib/components/ui/select/select-group.component.ts +6 -7
  265. package/src/app/lib/components/ui/select/select-item.component.ts +46 -55
  266. package/src/app/lib/components/ui/select/select-label.component.ts +2 -7
  267. package/src/app/lib/components/ui/select/select-separator.component.ts +3 -8
  268. package/src/app/lib/components/ui/select/select-trigger.component.ts +28 -25
  269. package/src/app/lib/components/ui/select/select-value.component.ts +7 -13
  270. package/src/app/lib/components/ui/select/select.component.ts +52 -64
  271. package/src/app/lib/components/ui/separator/index.ts +1 -6
  272. package/src/app/lib/components/ui/separator/separator.component.ts +4 -19
  273. package/src/app/lib/components/ui/sheet/index.ts +0 -1
  274. package/src/app/lib/components/ui/sheet/sheet-close.component.ts +4 -8
  275. package/src/app/lib/components/ui/sheet/sheet-content.component.ts +31 -36
  276. package/src/app/lib/components/ui/sheet/sheet-description.component.ts +5 -10
  277. package/src/app/lib/components/ui/sheet/sheet-footer.component.ts +3 -7
  278. package/src/app/lib/components/ui/sheet/sheet-header.component.ts +3 -7
  279. package/src/app/lib/components/ui/sheet/sheet-title.component.ts +5 -10
  280. package/src/app/lib/components/ui/sheet/sheet-trigger.component.ts +7 -11
  281. package/src/app/lib/components/ui/sheet/sheet-variants.ts +1 -1
  282. package/src/app/lib/components/ui/sheet/sheet.component.ts +36 -36
  283. package/src/app/lib/components/ui/sidebar/index.ts +14 -15
  284. package/src/app/lib/components/ui/sidebar/sidebar-content.component.ts +4 -8
  285. package/src/app/lib/components/ui/sidebar/sidebar-context.ts +1 -3
  286. package/src/app/lib/components/ui/sidebar/sidebar-footer.component.ts +3 -9
  287. package/src/app/lib/components/ui/sidebar/sidebar-group-action.component.ts +4 -8
  288. package/src/app/lib/components/ui/sidebar/sidebar-group-content.component.ts +3 -9
  289. package/src/app/lib/components/ui/sidebar/sidebar-group-label.component.ts +4 -8
  290. package/src/app/lib/components/ui/sidebar/sidebar-group.component.ts +3 -7
  291. package/src/app/lib/components/ui/sidebar/sidebar-header.component.ts +3 -9
  292. package/src/app/lib/components/ui/sidebar/sidebar-input.component.ts +4 -8
  293. package/src/app/lib/components/ui/sidebar/sidebar-inset.component.ts +4 -8
  294. package/src/app/lib/components/ui/sidebar/sidebar-menu-action.component.ts +4 -8
  295. package/src/app/lib/components/ui/sidebar/sidebar-menu-badge.component.ts +4 -8
  296. package/src/app/lib/components/ui/sidebar/sidebar-menu-button.component.ts +4 -9
  297. package/src/app/lib/components/ui/sidebar/sidebar-menu-item.component.ts +3 -9
  298. package/src/app/lib/components/ui/sidebar/sidebar-menu-skeleton.component.ts +6 -11
  299. package/src/app/lib/components/ui/sidebar/sidebar-menu-sub-button.component.ts +4 -8
  300. package/src/app/lib/components/ui/sidebar/sidebar-menu-sub-item.component.ts +2 -6
  301. package/src/app/lib/components/ui/sidebar/sidebar-menu-sub.component.ts +4 -8
  302. package/src/app/lib/components/ui/sidebar/sidebar-menu.component.ts +3 -7
  303. package/src/app/lib/components/ui/sidebar/sidebar-provider.component.ts +46 -52
  304. package/src/app/lib/components/ui/sidebar/sidebar-rail.component.ts +6 -11
  305. package/src/app/lib/components/ui/sidebar/sidebar-route-active.service.ts +17 -17
  306. package/src/app/lib/components/ui/sidebar/sidebar-separator.component.ts +3 -7
  307. package/src/app/lib/components/ui/sidebar/sidebar-trigger.component.ts +6 -11
  308. package/src/app/lib/components/ui/sidebar/sidebar.component.ts +20 -31
  309. package/src/app/lib/components/ui/skeleton/skeleton.component.ts +3 -8
  310. package/src/app/lib/components/ui/slider/index.ts +1 -6
  311. package/src/app/lib/components/ui/slider/slider.component.ts +73 -138
  312. package/src/app/lib/components/ui/spinner/index.ts +0 -1
  313. package/src/app/lib/components/ui/spinner/spinner-variants.ts +19 -22
  314. package/src/app/lib/components/ui/spinner/spinner.component.ts +4 -8
  315. package/src/app/lib/components/ui/switch/index.ts +1 -6
  316. package/src/app/lib/components/ui/switch/switch.component.ts +83 -108
  317. package/src/app/lib/components/ui/table/index.ts +0 -1
  318. package/src/app/lib/components/ui/table/table-body.component.ts +6 -10
  319. package/src/app/lib/components/ui/table/table-caption.component.ts +6 -8
  320. package/src/app/lib/components/ui/table/table-cell.component.ts +4 -8
  321. package/src/app/lib/components/ui/table/table-footer.component.ts +6 -8
  322. package/src/app/lib/components/ui/table/table-head.component.ts +4 -8
  323. package/src/app/lib/components/ui/table/table-header.component.ts +6 -10
  324. package/src/app/lib/components/ui/table/table-row.component.ts +6 -11
  325. package/src/app/lib/components/ui/table/table.component.ts +4 -8
  326. package/src/app/lib/components/ui/tabs/index.ts +14 -7
  327. package/src/app/lib/components/ui/tabs/tabs-content.component.ts +11 -36
  328. package/src/app/lib/components/ui/tabs/tabs-context.ts +0 -8
  329. package/src/app/lib/components/ui/tabs/tabs-list.component.ts +54 -60
  330. package/src/app/lib/components/ui/tabs/tabs-trigger.component.ts +20 -35
  331. package/src/app/lib/components/ui/tabs/tabs.component.ts +32 -49
  332. package/src/app/lib/components/ui/textarea/textarea.component.ts +3 -8
  333. package/src/app/lib/components/ui/toast/index.ts +6 -7
  334. package/src/app/lib/components/ui/toast/toast-action.component.ts +7 -18
  335. package/src/app/lib/components/ui/toast/toast-description.component.ts +2 -11
  336. package/src/app/lib/components/ui/toast/toast-title.component.ts +2 -9
  337. package/src/app/lib/components/ui/toast/toast-variants.ts +1 -1
  338. package/src/app/lib/components/ui/toast/toast.component.ts +18 -24
  339. package/src/app/lib/components/ui/toast/toast.service.ts +22 -37
  340. package/src/app/lib/components/ui/toast/toaster.component.ts +6 -16
  341. package/src/app/lib/components/ui/toggle/index.ts +1 -5
  342. package/src/app/lib/components/ui/toggle/toggle-variants.ts +2 -2
  343. package/src/app/lib/components/ui/toggle/toggle.component.ts +32 -51
  344. package/src/app/lib/components/ui/toggle-group/index.ts +1 -4
  345. package/src/app/lib/components/ui/toggle-group/toggle-group-context.ts +1 -7
  346. package/src/app/lib/components/ui/toggle-group/toggle-group-item.component.ts +38 -59
  347. package/src/app/lib/components/ui/toggle-group/toggle-group.component.ts +33 -51
  348. package/src/app/lib/components/ui/tooltip/index.ts +9 -6
  349. package/src/app/lib/components/ui/tooltip/tooltip-content.component.ts +6 -24
  350. package/src/app/lib/components/ui/tooltip/tooltip-context.ts +0 -8
  351. package/src/app/lib/components/ui/tooltip/tooltip-provider.component.ts +12 -24
  352. package/src/app/lib/components/ui/tooltip/tooltip-trigger.component.ts +4 -21
  353. package/src/app/lib/components/ui/tooltip/tooltip.component.ts +21 -33
  354. package/src/app/lib/components/ui/typography/index.ts +0 -1
  355. package/src/app/lib/components/ui/typography/typography-blockquote.component.ts +3 -7
  356. package/src/app/lib/components/ui/typography/typography-h1.component.ts +3 -10
  357. package/src/app/lib/components/ui/typography/typography-h2.component.ts +3 -10
  358. package/src/app/lib/components/ui/typography/typography-h3.component.ts +3 -7
  359. package/src/app/lib/components/ui/typography/typography-h4.component.ts +3 -7
  360. package/src/app/lib/components/ui/typography/typography-inline-code.component.ts +4 -8
  361. package/src/app/lib/components/ui/typography/typography-large.component.ts +3 -9
  362. package/src/app/lib/components/ui/typography/typography-lead.component.ts +3 -7
  363. package/src/app/lib/components/ui/typography/typography-list.component.ts +3 -7
  364. package/src/app/lib/components/ui/typography/typography-muted.component.ts +3 -7
  365. package/src/app/lib/components/ui/typography/typography-p.component.ts +3 -7
  366. package/src/app/lib/components/ui/typography/typography-small.component.ts +3 -7
  367. package/src/app/lib/utils/accessibility/click-outside.directive.ts +1 -8
  368. package/src/app/lib/utils/accessibility/focus-management.service.ts +4 -15
  369. package/src/app/lib/utils/accessibility/focus-trap.directive.ts +32 -106
  370. package/src/app/lib/utils/accessibility/index.ts +16 -5
  371. package/src/app/lib/utils/accessibility/keyboard-navigation.directive.ts +5 -8
  372. package/src/app/lib/utils/accessibility/live-region.directive.ts +10 -13
  373. package/src/app/lib/utils/accessibility/touch-target.directive.ts +1 -8
  374. package/src/app/lib/utils/animation/animation.utils.ts +4 -7
  375. package/src/app/lib/utils/animation/index.ts +15 -5
  376. package/src/app/lib/utils/animation/presence.component.ts +1 -1
  377. package/src/app/lib/utils/animation/presence.directive.ts +2 -2
  378. package/src/app/lib/utils/positioning/index.ts +40 -18
  379. package/src/app/lib/components/ui/index.ts +0 -551
  380. package/src/app/lib/index.ts +0 -7
@@ -16,7 +16,7 @@ import {
16
16
  ViewContainerRef,
17
17
  WritableSignal,
18
18
  inject,
19
- signal
19
+ signal,
20
20
  } from '@angular/core';
21
21
 
22
22
  /**
@@ -47,7 +47,7 @@ export class PresenceService {
47
47
  signal<PresenceState>({
48
48
  isPresent: initialState,
49
49
  isAnimating: false,
50
- })
50
+ }),
51
51
  );
52
52
  }
53
53
  return this.presenceMap.get(id)!;
@@ -52,16 +52,9 @@ const oppositeSide: Record<Side, Side> = {
52
52
  export function computePosition(
53
53
  triggerRect: DOMRect,
54
54
  overlayRect: { width: number; height: number },
55
- config: PositionConfig
55
+ config: PositionConfig,
56
56
  ): ComputedPosition {
57
- const {
58
- side,
59
- align,
60
- sideOffset,
61
- alignOffset,
62
- avoidCollisions,
63
- collisionPadding,
64
- } = config;
57
+ const { side, align, sideOffset, alignOffset, avoidCollisions, collisionPadding } = config;
65
58
 
66
59
  const viewport = {
67
60
  width: window.innerWidth,
@@ -86,9 +79,14 @@ export function computePosition(
86
79
  flippedSide,
87
80
  align,
88
81
  sideOffset,
89
- alignOffset
82
+ alignOffset,
83
+ );
84
+ const flippedCollisions = detectCollisions(
85
+ flippedPosition,
86
+ overlayRect,
87
+ viewport,
88
+ collisionPadding,
90
89
  );
91
- const flippedCollisions = detectCollisions(flippedPosition, overlayRect, viewport, collisionPadding);
92
90
 
93
91
  // Use flipped position if it has fewer collisions
94
92
  if (!flippedCollisions[flippedSide]) {
@@ -134,7 +132,7 @@ function calculatePosition(
134
132
  side: Side,
135
133
  align: Align,
136
134
  sideOffset: number,
137
- alignOffset: number
135
+ alignOffset: number,
138
136
  ): { top: number; left: number } {
139
137
  let top = 0;
140
138
  let left = 0;
@@ -143,19 +141,43 @@ function calculatePosition(
143
141
  switch (side) {
144
142
  case 'top':
145
143
  top = triggerRect.top - overlayRect.height - sideOffset;
146
- left = calculateAlignPosition(triggerRect.left, triggerRect.width, overlayRect.width, align, alignOffset);
144
+ left = calculateAlignPosition(
145
+ triggerRect.left,
146
+ triggerRect.width,
147
+ overlayRect.width,
148
+ align,
149
+ alignOffset,
150
+ );
147
151
  break;
148
152
  case 'bottom':
149
153
  top = triggerRect.bottom + sideOffset;
150
- left = calculateAlignPosition(triggerRect.left, triggerRect.width, overlayRect.width, align, alignOffset);
154
+ left = calculateAlignPosition(
155
+ triggerRect.left,
156
+ triggerRect.width,
157
+ overlayRect.width,
158
+ align,
159
+ alignOffset,
160
+ );
151
161
  break;
152
162
  case 'left':
153
163
  left = triggerRect.left - overlayRect.width - sideOffset;
154
- top = calculateAlignPosition(triggerRect.top, triggerRect.height, overlayRect.height, align, alignOffset);
164
+ top = calculateAlignPosition(
165
+ triggerRect.top,
166
+ triggerRect.height,
167
+ overlayRect.height,
168
+ align,
169
+ alignOffset,
170
+ );
155
171
  break;
156
172
  case 'right':
157
173
  left = triggerRect.right + sideOffset;
158
- top = calculateAlignPosition(triggerRect.top, triggerRect.height, overlayRect.height, align, alignOffset);
174
+ top = calculateAlignPosition(
175
+ triggerRect.top,
176
+ triggerRect.height,
177
+ overlayRect.height,
178
+ align,
179
+ alignOffset,
180
+ );
159
181
  break;
160
182
  }
161
183
 
@@ -167,7 +189,7 @@ function calculateAlignPosition(
167
189
  triggerSize: number,
168
190
  overlaySize: number,
169
191
  align: Align,
170
- alignOffset: number
192
+ alignOffset: number,
171
193
  ): number {
172
194
  switch (align) {
173
195
  case 'start':
@@ -183,7 +205,7 @@ function detectCollisions(
183
205
  position: { top: number; left: number },
184
206
  overlayRect: { width: number; height: number },
185
207
  viewport: { width: number; height: number },
186
- padding: number
208
+ padding: number,
187
209
  ): Record<Side, boolean> {
188
210
  return {
189
211
  top: position.top < padding,
@@ -1,551 +0,0 @@
1
- // UI Components Public API
2
-
3
- // Accordion
4
- export {
5
- ACCORDION_CONTEXT,
6
- ACCORDION_ITEM_CONTEXT, Accordion, AccordionContent,
7
- AccordionItem,
8
- AccordionTrigger,
9
- type AccordionContext,
10
- type AccordionItemContext,
11
- type AccordionType
12
- } from './accordion';
13
-
14
- // Alert
15
- export { Alert, AlertDescription, AlertTitle, alertVariants, type AlertVariants } from './alert';
16
-
17
- // AlertDialog
18
- export {
19
- ALERT_DIALOG_CONTEXT,
20
- AlertDialog,
21
- AlertDialogAction,
22
- AlertDialogCancel,
23
- AlertDialogContent,
24
- AlertDialogDescription,
25
- AlertDialogFooter,
26
- AlertDialogHeader,
27
- AlertDialogTitle,
28
- AlertDialogTrigger,
29
- type AlertDialogContextValue
30
- } from './alert-dialog';
31
-
32
- // Breadcrumb
33
- export {
34
- Breadcrumb,
35
- BreadcrumbEllipsis,
36
- BreadcrumbItem,
37
- BreadcrumbLink,
38
- BreadcrumbList,
39
- BreadcrumbPage,
40
- BreadcrumbSeparator
41
- } from './breadcrumb';
42
-
43
- // AspectRatio
44
- export { AspectRatio } from './aspect-ratio';
45
-
46
- // Avatar
47
- export { Avatar, AvatarFallback, AvatarImage, UiAvatar } from './avatar';
48
-
49
- // Badge
50
- export { Badge, badgeVariants, type BadgeVariants } from './badge';
51
-
52
- // Button
53
- export { Button, buttonVariants, type ButtonVariants } from './button';
54
-
55
- // Card
56
- export {
57
- Card,
58
- CardAction,
59
- CardContent,
60
- CardDescription,
61
- CardFooter,
62
- CardHeader,
63
- CardTitle
64
- } from './card';
65
-
66
- // Checkbox
67
- export { Checkbox } from './checkbox';
68
-
69
- // Collapsible
70
- export {
71
- COLLAPSIBLE_CONTEXT, Collapsible, CollapsibleContent,
72
- CollapsibleTrigger,
73
- type CollapsibleContext
74
- } from './collapsible';
75
-
76
- // Dialog
77
- export {
78
- DIALOG_CONTEXT, Dialog, DialogClose,
79
- DialogContent,
80
- DialogDescription,
81
- DialogFooter,
82
- DialogHeader,
83
- DialogTitle,
84
- DialogTrigger,
85
- type DialogContextValue
86
- } from './dialog';
87
-
88
- // Drawer
89
- export {
90
- DRAWER_CONTEXT, Drawer, DrawerClose,
91
- DrawerContent,
92
- DrawerDescription,
93
- DrawerFooter,
94
- DrawerHeader,
95
- DrawerTitle,
96
- DrawerTrigger,
97
- type DrawerContextValue
98
- } from './drawer';
99
-
100
- // Form
101
- export {
102
- FORM_CONTEXT,
103
- FORM_FIELD_CONTEXT, Form, FormControl,
104
- FormDescription,
105
- FormField,
106
- FormItem,
107
- FormLabel,
108
- FormMessage,
109
- type FormContext,
110
- type FormFieldContext
111
- } from './form';
112
-
113
- // HoverCard
114
- export {
115
- HOVER_CARD_CONTEXT,
116
- HoverCard,
117
- HoverCardContent,
118
- HoverCardTrigger,
119
- type HoverCardContextValue
120
- } from './hover-card';
121
-
122
- // Input
123
- export { Input } from './input';
124
-
125
- // Label
126
- export { Label } from './label';
127
-
128
- // Pagination
129
- export {
130
- Pagination,
131
- PaginationContent,
132
- PaginationEllipsis,
133
- PaginationItem,
134
- PaginationLink,
135
- PaginationNext,
136
- PaginationPrevious
137
- } from './pagination';
138
-
139
- // Popover
140
- export {
141
- POPOVER_CONTEXT, Popover, PopoverAnchor,
142
- PopoverContent,
143
- PopoverTrigger,
144
- type PopoverContextValue
145
- } from './popover';
146
-
147
- // Progress
148
- export { Progress } from './progress';
149
-
150
- // RadioGroup
151
- export {
152
- RADIO_GROUP_CONTEXT,
153
- RadioGroup,
154
- RadioGroupItem,
155
- type RadioGroupContext
156
- } from './radio-group';
157
-
158
- // Resizable
159
- export {
160
- RESIZABLE_CONTEXT,
161
- ResizableHandle,
162
- ResizablePanel,
163
- ResizablePanelGroup,
164
- type ResizableContextValue
165
- } from './resizable';
166
-
167
- // ScrollArea
168
- export { ScrollArea, ScrollBar } from './scroll-area';
169
-
170
- // Select
171
- export {
172
- SELECT_CONTEXT,
173
- SELECT_GROUP_CONTEXT, Select, SelectContent,
174
- SelectGroup,
175
- SelectItem,
176
- SelectLabel,
177
- SelectSeparator,
178
- SelectTrigger,
179
- SelectValue,
180
- type SelectContext,
181
- type SelectGroupContext
182
- } from './select';
183
-
184
- // Separator
185
- export { Separator } from './separator';
186
-
187
- // Sheet
188
- export {
189
- SHEET_CONTEXT, Sheet, SheetClose,
190
- SheetContent,
191
- SheetDescription,
192
- SheetFooter,
193
- SheetHeader,
194
- SheetTitle,
195
- SheetTrigger,
196
- sheetVariants,
197
- type SheetContextValue,
198
- type SheetVariants
199
- } from './sheet';
200
-
201
- // Skeleton
202
- export { Skeleton } from './skeleton';
203
-
204
- // Slider
205
- export { Slider } from './slider';
206
-
207
- // Switch
208
- export { Switch } from './switch';
209
-
210
- // Table
211
- export {
212
- Table,
213
- TableBody,
214
- TableCaption,
215
- TableCell,
216
- TableFooter,
217
- TableHead,
218
- TableHeader,
219
- TableRow
220
- } from './table';
221
-
222
- // Tabs
223
- export {
224
- TABS_CONTEXT, Tabs, TabsContent,
225
- TabsList,
226
- TabsTrigger,
227
- type TabsContext
228
- } from './tabs';
229
-
230
- // Textarea
231
- export { Textarea } from './textarea';
232
-
233
- // Toggle
234
- export { Toggle, toggleVariants, type ToggleVariants } from './toggle';
235
-
236
- // ToggleGroup
237
- export {
238
- TOGGLE_GROUP_CONTEXT,
239
- ToggleGroup,
240
- ToggleGroupItem,
241
- type ToggleGroupContext
242
- } from './toggle-group';
243
-
244
- // Tooltip
245
- export {
246
- TOOLTIP_CONTEXT, Tooltip, TooltipContent,
247
- TooltipProvider,
248
- TooltipTrigger,
249
- type TooltipContextValue
250
- } from './tooltip';
251
-
252
- // Calendar
253
- export { Calendar } from './calendar';
254
-
255
- // Carousel
256
- export {
257
- CAROUSEL_CONTEXT, Carousel, CarouselContent,
258
- CarouselItem,
259
- CarouselNext,
260
- CarouselPrevious,
261
- type CarouselContextValue,
262
- type CarouselOrientation
263
- } from './carousel';
264
-
265
- // Command
266
- export {
267
- COMMAND_CONTEXT, Command, CommandDialog,
268
- CommandEmpty,
269
- CommandGroup,
270
- CommandInput,
271
- CommandItem,
272
- CommandList,
273
- CommandSeparator,
274
- CommandShortcut,
275
- type CommandContextValue
276
- } from './command';
277
-
278
- // ContextMenu
279
- export {
280
- CONTEXT_MENU_CONTEXT,
281
- CONTEXT_MENU_RADIO_GROUP_CONTEXT,
282
- CONTEXT_MENU_SUB_CONTEXT,
283
- ContextMenu,
284
- ContextMenuCheckboxItem,
285
- ContextMenuContent,
286
- ContextMenuItem,
287
- ContextMenuLabel,
288
- ContextMenuRadioGroup,
289
- ContextMenuRadioItem,
290
- ContextMenuSeparator,
291
- ContextMenuShortcut,
292
- ContextMenuSub,
293
- ContextMenuSubContent,
294
- ContextMenuSubTrigger,
295
- ContextMenuTrigger,
296
- type ContextMenuContextValue,
297
- type ContextMenuPosition,
298
- type ContextMenuRadioGroupContext,
299
- type ContextMenuSubContext
300
- } from './context-menu';
301
-
302
- // DatePicker
303
- export { DatePicker } from './date-picker';
304
-
305
- // DropdownMenu
306
- export {
307
- DROPDOWN_MENU_CONTEXT,
308
- DROPDOWN_MENU_RADIO_GROUP_CONTEXT,
309
- DROPDOWN_MENU_SUB_CONTEXT,
310
- DropdownMenu,
311
- DropdownMenuCheckboxItem,
312
- DropdownMenuContent,
313
- DropdownMenuGroup,
314
- DropdownMenuItem,
315
- DropdownMenuLabel,
316
- DropdownMenuRadioGroup,
317
- DropdownMenuRadioItem,
318
- DropdownMenuSeparator,
319
- DropdownMenuShortcut,
320
- DropdownMenuSub,
321
- DropdownMenuSubContent,
322
- DropdownMenuSubTrigger,
323
- DropdownMenuTrigger,
324
- type DropdownMenuContextValue,
325
- type DropdownMenuRadioGroupContext,
326
- type DropdownMenuSubContext
327
- } from './dropdown-menu';
328
-
329
- // InputOTP
330
- export {
331
- INPUT_OTP_CONTEXT,
332
- InputOTP,
333
- InputOTPGroup,
334
- InputOTPSeparator,
335
- InputOTPSlot,
336
- type InputOTPContextValue
337
- } from './input-otp';
338
-
339
- // Menubar
340
- export {
341
- MENUBAR_CONTEXT,
342
- MENUBAR_MENU_CONTEXT,
343
- MENUBAR_RADIO_GROUP_CONTEXT,
344
- MENUBAR_SUB_CONTEXT, Menubar, MenubarCheckboxItem,
345
- MenubarContent,
346
- MenubarItem,
347
- MenubarLabel,
348
- MenubarMenu,
349
- MenubarRadioGroup,
350
- MenubarRadioItem,
351
- MenubarSeparator,
352
- MenubarShortcut,
353
- MenubarSub,
354
- MenubarSubContent,
355
- MenubarSubTrigger,
356
- MenubarTrigger,
357
- type MenubarContextValue,
358
- type MenubarMenuContextValue,
359
- type MenubarRadioGroupContext,
360
- type MenubarSubContext
361
- } from './menubar';
362
-
363
- // NavigationMenu
364
- export {
365
- NAVIGATION_MENU_CONTEXT,
366
- NAVIGATION_MENU_ITEM_CONTEXT,
367
- NavigationMenu,
368
- NavigationMenuContent,
369
- NavigationMenuIndicator,
370
- NavigationMenuItem,
371
- NavigationMenuLink,
372
- NavigationMenuList,
373
- NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle, type NavigationMenuContextValue,
374
- type NavigationMenuItemContextValue,
375
- type NavigationMenuTriggerStyleProps
376
- } from './navigation-menu';
377
-
378
- // Toast
379
- export {
380
- Toast,
381
- ToastAction,
382
- ToastDescription, ToastService,
383
- ToastTitle, Toaster, toastVariants,
384
- type ToastData,
385
- type ToastOptions,
386
- type ToastType,
387
- type ToastVariants
388
- } from './toast';
389
-
390
- // ============================================
391
- // Phase 7: Extended Components
392
- // ============================================
393
-
394
- // Spinner
395
- export { Spinner, spinnerVariants, type SpinnerVariants } from './spinner';
396
-
397
- // Kbd
398
- export { Kbd, kbdVariants, type KbdVariants } from './kbd';
399
-
400
- // Empty
401
- export {
402
- Empty,
403
- EmptyAction,
404
- EmptyDescription,
405
- EmptyIcon,
406
- EmptyTitle
407
- } from './empty';
408
-
409
- // Typography
410
- export {
411
- TypographyBlockquote,
412
- TypographyH1,
413
- TypographyH2,
414
- TypographyH3,
415
- TypographyH4,
416
- TypographyInlineCode,
417
- TypographyLarge,
418
- TypographyLead,
419
- TypographyList,
420
- TypographyMuted,
421
- TypographyP,
422
- TypographySmall
423
- } from './typography';
424
-
425
- // ButtonGroup
426
- export {
427
- ButtonGroup,
428
- buttonGroupVariants,
429
- type ButtonGroupVariants
430
- } from './button-group';
431
-
432
- // InputGroup
433
- export {
434
- InputGroup,
435
- InputGroupAddon,
436
- InputGroupInput
437
- } from './input-group';
438
-
439
- // NativeSelect
440
- export {
441
- NativeSelect,
442
- nativeSelectVariants,
443
- type NativeSelectVariants
444
- } from './native-select';
445
-
446
- // Segmented
447
- export {
448
- SEGMENTED_CONTEXT,
449
- Segmented,
450
- SegmentedItem,
451
- segmentedItemVariants,
452
- segmentedVariants,
453
- type SegmentedContext,
454
- type SegmentedItemVariants,
455
- type SegmentedVariants
456
- } from './segmented';
457
-
458
- // Combobox
459
- export {
460
- COMBOBOX_CONTEXT,
461
- Combobox,
462
- ComboboxContent,
463
- ComboboxEmpty,
464
- ComboboxGroup,
465
- ComboboxInput,
466
- ComboboxItem,
467
- ComboboxList,
468
- ComboboxTrigger,
469
- ComboboxValue,
470
- type ComboboxContext,
471
- type ComboboxOption
472
- } from './combobox';
473
-
474
- // ============================================
475
- // Phase 8: Advanced Components
476
- // ============================================
477
-
478
- // Sidebar
479
- export {
480
- SIDEBAR_CONTEXT,
481
- SIDEBAR_COOKIE_MAX_AGE,
482
- SIDEBAR_COOKIE_NAME,
483
- SIDEBAR_KEYBOARD_SHORTCUT,
484
- SIDEBAR_MENU_CONTEXT,
485
- SIDEBAR_WIDTH,
486
- SIDEBAR_WIDTH_ICON,
487
- SIDEBAR_WIDTH_MOBILE,
488
- Sidebar,
489
- SidebarContent,
490
- SidebarFooter,
491
- SidebarGroup,
492
- SidebarGroupAction,
493
- SidebarGroupContent,
494
- SidebarGroupLabel,
495
- SidebarHeader,
496
- SidebarInput,
497
- SidebarInset,
498
- SidebarMenu,
499
- SidebarMenuAction,
500
- SidebarMenuBadge,
501
- SidebarMenuButton,
502
- SidebarMenuItem,
503
- SidebarMenuSkeleton,
504
- SidebarMenuSub,
505
- SidebarMenuSubButton,
506
- SidebarMenuSubItem,
507
- SidebarProvider,
508
- SidebarRail,
509
- SidebarSeparator,
510
- SidebarTrigger,
511
- type SidebarCollapsible,
512
- type SidebarContext,
513
- type SidebarSide,
514
- type SidebarState,
515
- type SidebarVariant
516
- } from './sidebar';
517
-
518
- // DataTable
519
- export {
520
- DATA_TABLE_CONTEXT,
521
- DataTable,
522
- DataTableContent,
523
- DataTablePagination,
524
- DataTableSearch,
525
- DataTableToolbar,
526
- DataTableViewOptions,
527
- type ColumnDef,
528
- type ColumnVisibilityState,
529
- type DataTableContext,
530
- type RowSelectionState,
531
- type SortDirection,
532
- type SortingState
533
- } from './data-table';
534
-
535
- // Chart
536
- export {
537
- CHART_COLORS,
538
- CHART_CONTEXT,
539
- Chart,
540
- ChartContainer,
541
- ChartLegend,
542
- ChartLegendContent,
543
- ChartTooltip,
544
- ChartTooltipContent,
545
- type ChartConfig,
546
- type ChartContext,
547
- type ChartDataPoint,
548
- type ChartSeries,
549
- type ChartType
550
- } from './chart';
551
-
@@ -1,7 +0,0 @@
1
- // shadcn-angular Library Public API
2
-
3
- // Utils
4
- export { cn } from './utils';
5
-
6
- // UI Components
7
- export * from './components/ui';