@loomui-ng/ui 0.0.0-stage → 0.1.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 (270) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +46 -2
  3. package/accordion/README.md +38 -0
  4. package/alert/README.md +32 -0
  5. package/alert-dialog/README.md +37 -0
  6. package/aspect-ratio/README.md +24 -0
  7. package/attachment/README.md +40 -0
  8. package/avatar/README.md +34 -0
  9. package/badge/README.md +29 -0
  10. package/breadcrumb/README.md +33 -0
  11. package/bubble/README.md +32 -0
  12. package/button/README.md +31 -0
  13. package/button-group/README.md +30 -0
  14. package/calendar/README.md +35 -0
  15. package/card/README.md +41 -0
  16. package/carousel/README.md +41 -0
  17. package/chart/README.md +25 -0
  18. package/checkbox/README.md +31 -0
  19. package/collapsible/README.md +31 -0
  20. package/combobox/README.md +47 -0
  21. package/command/README.md +44 -0
  22. package/context-menu/README.md +36 -0
  23. package/data-table/README.md +39 -0
  24. package/date-picker/README.md +23 -0
  25. package/dialog/README.md +52 -0
  26. package/direction/README.md +19 -0
  27. package/drawer/README.md +37 -0
  28. package/dropdown-menu/README.md +46 -0
  29. package/empty/README.md +38 -0
  30. package/fesm2022/loomui-ng-ui-accordion.mjs +555 -0
  31. package/fesm2022/loomui-ng-ui-accordion.mjs.map +1 -0
  32. package/fesm2022/loomui-ng-ui-alert-dialog.mjs +652 -0
  33. package/fesm2022/loomui-ng-ui-alert-dialog.mjs.map +1 -0
  34. package/fesm2022/loomui-ng-ui-alert.mjs +286 -0
  35. package/fesm2022/loomui-ng-ui-alert.mjs.map +1 -0
  36. package/fesm2022/loomui-ng-ui-aspect-ratio.mjs +97 -0
  37. package/fesm2022/loomui-ng-ui-aspect-ratio.mjs.map +1 -0
  38. package/fesm2022/loomui-ng-ui-attachment.mjs +713 -0
  39. package/fesm2022/loomui-ng-ui-attachment.mjs.map +1 -0
  40. package/fesm2022/loomui-ng-ui-avatar.mjs +561 -0
  41. package/fesm2022/loomui-ng-ui-avatar.mjs.map +1 -0
  42. package/fesm2022/loomui-ng-ui-badge.mjs +102 -0
  43. package/fesm2022/loomui-ng-ui-badge.mjs.map +1 -0
  44. package/fesm2022/loomui-ng-ui-breadcrumb.mjs +520 -0
  45. package/fesm2022/loomui-ng-ui-breadcrumb.mjs.map +1 -0
  46. package/fesm2022/loomui-ng-ui-bubble.mjs +386 -0
  47. package/fesm2022/loomui-ng-ui-bubble.mjs.map +1 -0
  48. package/fesm2022/loomui-ng-ui-button-group.mjs +193 -0
  49. package/fesm2022/loomui-ng-ui-button-group.mjs.map +1 -0
  50. package/fesm2022/loomui-ng-ui-button.mjs +162 -0
  51. package/fesm2022/loomui-ng-ui-button.mjs.map +1 -0
  52. package/fesm2022/loomui-ng-ui-calendar.mjs +681 -0
  53. package/fesm2022/loomui-ng-ui-calendar.mjs.map +1 -0
  54. package/fesm2022/loomui-ng-ui-card.mjs +461 -0
  55. package/fesm2022/loomui-ng-ui-card.mjs.map +1 -0
  56. package/fesm2022/loomui-ng-ui-carousel.mjs +532 -0
  57. package/fesm2022/loomui-ng-ui-carousel.mjs.map +1 -0
  58. package/fesm2022/loomui-ng-ui-chart.mjs +373 -0
  59. package/fesm2022/loomui-ng-ui-chart.mjs.map +1 -0
  60. package/fesm2022/loomui-ng-ui-checkbox.mjs +265 -0
  61. package/fesm2022/loomui-ng-ui-checkbox.mjs.map +1 -0
  62. package/fesm2022/loomui-ng-ui-collapsible.mjs +274 -0
  63. package/fesm2022/loomui-ng-ui-collapsible.mjs.map +1 -0
  64. package/fesm2022/loomui-ng-ui-combobox.mjs +971 -0
  65. package/fesm2022/loomui-ng-ui-combobox.mjs.map +1 -0
  66. package/fesm2022/loomui-ng-ui-command.mjs +982 -0
  67. package/fesm2022/loomui-ng-ui-command.mjs.map +1 -0
  68. package/fesm2022/loomui-ng-ui-context-menu.mjs +1359 -0
  69. package/fesm2022/loomui-ng-ui-context-menu.mjs.map +1 -0
  70. package/fesm2022/loomui-ng-ui-data-table.mjs +535 -0
  71. package/fesm2022/loomui-ng-ui-data-table.mjs.map +1 -0
  72. package/fesm2022/loomui-ng-ui-date-picker.mjs +312 -0
  73. package/fesm2022/loomui-ng-ui-date-picker.mjs.map +1 -0
  74. package/fesm2022/loomui-ng-ui-dialog.mjs +508 -0
  75. package/fesm2022/loomui-ng-ui-dialog.mjs.map +1 -0
  76. package/fesm2022/loomui-ng-ui-direction.mjs +112 -0
  77. package/fesm2022/loomui-ng-ui-direction.mjs.map +1 -0
  78. package/fesm2022/loomui-ng-ui-drawer.mjs +590 -0
  79. package/fesm2022/loomui-ng-ui-drawer.mjs.map +1 -0
  80. package/fesm2022/loomui-ng-ui-dropdown-menu.mjs +1322 -0
  81. package/fesm2022/loomui-ng-ui-dropdown-menu.mjs.map +1 -0
  82. package/fesm2022/loomui-ng-ui-empty.mjs +408 -0
  83. package/fesm2022/loomui-ng-ui-empty.mjs.map +1 -0
  84. package/fesm2022/loomui-ng-ui-field.mjs +630 -0
  85. package/fesm2022/loomui-ng-ui-field.mjs.map +1 -0
  86. package/fesm2022/loomui-ng-ui-hover-card.mjs +230 -0
  87. package/fesm2022/loomui-ng-ui-hover-card.mjs.map +1 -0
  88. package/fesm2022/loomui-ng-ui-icon.mjs +498 -0
  89. package/fesm2022/loomui-ng-ui-icon.mjs.map +1 -0
  90. package/fesm2022/loomui-ng-ui-input-group.mjs +463 -0
  91. package/fesm2022/loomui-ng-ui-input-group.mjs.map +1 -0
  92. package/fesm2022/loomui-ng-ui-input-otp.mjs +586 -0
  93. package/fesm2022/loomui-ng-ui-input-otp.mjs.map +1 -0
  94. package/fesm2022/loomui-ng-ui-input.mjs +289 -0
  95. package/fesm2022/loomui-ng-ui-input.mjs.map +1 -0
  96. package/fesm2022/loomui-ng-ui-item.mjs +598 -0
  97. package/fesm2022/loomui-ng-ui-item.mjs.map +1 -0
  98. package/fesm2022/loomui-ng-ui-kbd.mjs +129 -0
  99. package/fesm2022/loomui-ng-ui-kbd.mjs.map +1 -0
  100. package/fesm2022/loomui-ng-ui-label.mjs +68 -0
  101. package/fesm2022/loomui-ng-ui-label.mjs.map +1 -0
  102. package/fesm2022/loomui-ng-ui-marker.mjs +234 -0
  103. package/fesm2022/loomui-ng-ui-marker.mjs.map +1 -0
  104. package/fesm2022/loomui-ng-ui-menubar.mjs +1523 -0
  105. package/fesm2022/loomui-ng-ui-menubar.mjs.map +1 -0
  106. package/fesm2022/loomui-ng-ui-message-scroller.mjs +519 -0
  107. package/fesm2022/loomui-ng-ui-message-scroller.mjs.map +1 -0
  108. package/fesm2022/loomui-ng-ui-message.mjs +408 -0
  109. package/fesm2022/loomui-ng-ui-message.mjs.map +1 -0
  110. package/fesm2022/loomui-ng-ui-native-select.mjs +389 -0
  111. package/fesm2022/loomui-ng-ui-native-select.mjs.map +1 -0
  112. package/fesm2022/loomui-ng-ui-navigation-menu.mjs +609 -0
  113. package/fesm2022/loomui-ng-ui-navigation-menu.mjs.map +1 -0
  114. package/fesm2022/loomui-ng-ui-pagination.mjs +611 -0
  115. package/fesm2022/loomui-ng-ui-pagination.mjs.map +1 -0
  116. package/fesm2022/loomui-ng-ui-popover.mjs +358 -0
  117. package/fesm2022/loomui-ng-ui-popover.mjs.map +1 -0
  118. package/fesm2022/loomui-ng-ui-progress.mjs +159 -0
  119. package/fesm2022/loomui-ng-ui-progress.mjs.map +1 -0
  120. package/fesm2022/loomui-ng-ui-questionnaire.mjs +1012 -0
  121. package/fesm2022/loomui-ng-ui-questionnaire.mjs.map +1 -0
  122. package/fesm2022/loomui-ng-ui-radio-group.mjs +399 -0
  123. package/fesm2022/loomui-ng-ui-radio-group.mjs.map +1 -0
  124. package/fesm2022/loomui-ng-ui-resizable.mjs +518 -0
  125. package/fesm2022/loomui-ng-ui-resizable.mjs.map +1 -0
  126. package/fesm2022/loomui-ng-ui-scroll-area.mjs +135 -0
  127. package/fesm2022/loomui-ng-ui-scroll-area.mjs.map +1 -0
  128. package/fesm2022/loomui-ng-ui-select.mjs +863 -0
  129. package/fesm2022/loomui-ng-ui-select.mjs.map +1 -0
  130. package/fesm2022/loomui-ng-ui-separator.mjs +114 -0
  131. package/fesm2022/loomui-ng-ui-separator.mjs.map +1 -0
  132. package/fesm2022/loomui-ng-ui-sheet.mjs +530 -0
  133. package/fesm2022/loomui-ng-ui-sheet.mjs.map +1 -0
  134. package/fesm2022/loomui-ng-ui-sidebar.mjs +1918 -0
  135. package/fesm2022/loomui-ng-ui-sidebar.mjs.map +1 -0
  136. package/fesm2022/loomui-ng-ui-skeleton.mjs +69 -0
  137. package/fesm2022/loomui-ng-ui-skeleton.mjs.map +1 -0
  138. package/fesm2022/loomui-ng-ui-slider.mjs +390 -0
  139. package/fesm2022/loomui-ng-ui-slider.mjs.map +1 -0
  140. package/fesm2022/loomui-ng-ui-spinner.mjs +85 -0
  141. package/fesm2022/loomui-ng-ui-spinner.mjs.map +1 -0
  142. package/fesm2022/loomui-ng-ui-switch.mjs +212 -0
  143. package/fesm2022/loomui-ng-ui-switch.mjs.map +1 -0
  144. package/fesm2022/loomui-ng-ui-table.mjs +559 -0
  145. package/fesm2022/loomui-ng-ui-table.mjs.map +1 -0
  146. package/fesm2022/loomui-ng-ui-tabs.mjs +544 -0
  147. package/fesm2022/loomui-ng-ui-tabs.mjs.map +1 -0
  148. package/fesm2022/loomui-ng-ui-textarea.mjs +206 -0
  149. package/fesm2022/loomui-ng-ui-textarea.mjs.map +1 -0
  150. package/fesm2022/loomui-ng-ui-toast.mjs +432 -0
  151. package/fesm2022/loomui-ng-ui-toast.mjs.map +1 -0
  152. package/fesm2022/loomui-ng-ui-toggle-group.mjs +477 -0
  153. package/fesm2022/loomui-ng-ui-toggle-group.mjs.map +1 -0
  154. package/fesm2022/loomui-ng-ui-toggle.mjs +219 -0
  155. package/fesm2022/loomui-ng-ui-toggle.mjs.map +1 -0
  156. package/fesm2022/loomui-ng-ui-tooltip.mjs +240 -0
  157. package/fesm2022/loomui-ng-ui-tooltip.mjs.map +1 -0
  158. package/fesm2022/loomui-ng-ui-typography.mjs +129 -0
  159. package/fesm2022/loomui-ng-ui-typography.mjs.map +1 -0
  160. package/fesm2022/loomui-ng-ui-utils.mjs +1533 -0
  161. package/fesm2022/loomui-ng-ui-utils.mjs.map +1 -0
  162. package/fesm2022/loomui-ng-ui.mjs +4 -0
  163. package/fesm2022/loomui-ng-ui.mjs.map +1 -0
  164. package/field/README.md +43 -0
  165. package/hover-card/README.md +31 -0
  166. package/icon/README.md +42 -0
  167. package/input/README.md +26 -0
  168. package/input-group/README.md +40 -0
  169. package/input-otp/README.md +35 -0
  170. package/item/README.md +33 -0
  171. package/kbd/README.md +21 -0
  172. package/label/README.md +24 -0
  173. package/marker/README.md +24 -0
  174. package/menubar/README.md +40 -0
  175. package/message/README.md +32 -0
  176. package/message-scroller/README.md +40 -0
  177. package/native-select/README.md +26 -0
  178. package/navigation-menu/README.md +39 -0
  179. package/package.json +325 -3
  180. package/pagination/README.md +37 -0
  181. package/popover/README.md +37 -0
  182. package/progress/README.md +25 -0
  183. package/questionnaire/README.md +52 -0
  184. package/radio-group/README.md +33 -0
  185. package/resizable/README.md +37 -0
  186. package/scroll-area/README.md +25 -0
  187. package/select/README.md +45 -0
  188. package/separator/README.md +28 -0
  189. package/sheet/README.md +38 -0
  190. package/sidebar/README.md +60 -0
  191. package/skeleton/README.md +21 -0
  192. package/slider/README.md +29 -0
  193. package/spinner/README.md +15 -0
  194. package/styles/loomui.css +330 -0
  195. package/switch/README.md +29 -0
  196. package/table/README.md +31 -0
  197. package/tabs/README.md +42 -0
  198. package/textarea/README.md +28 -0
  199. package/toast/README.md +27 -0
  200. package/toggle/README.md +27 -0
  201. package/toggle-group/README.md +37 -0
  202. package/tooltip/README.md +31 -0
  203. package/types/loomui-ng-ui-accordion.d.ts +141 -0
  204. package/types/loomui-ng-ui-alert-dialog.d.ts +175 -0
  205. package/types/loomui-ng-ui-alert.d.ts +77 -0
  206. package/types/loomui-ng-ui-aspect-ratio.d.ts +31 -0
  207. package/types/loomui-ng-ui-attachment.d.ts +192 -0
  208. package/types/loomui-ng-ui-avatar.d.ts +147 -0
  209. package/types/loomui-ng-ui-badge.d.ts +32 -0
  210. package/types/loomui-ng-ui-breadcrumb.d.ts +118 -0
  211. package/types/loomui-ng-ui-bubble.d.ts +100 -0
  212. package/types/loomui-ng-ui-button-group.d.ts +51 -0
  213. package/types/loomui-ng-ui-button.d.ts +57 -0
  214. package/types/loomui-ng-ui-calendar.d.ts +171 -0
  215. package/types/loomui-ng-ui-card.d.ts +123 -0
  216. package/types/loomui-ng-ui-carousel.d.ts +140 -0
  217. package/types/loomui-ng-ui-chart.d.ts +95 -0
  218. package/types/loomui-ng-ui-checkbox.d.ts +62 -0
  219. package/types/loomui-ng-ui-collapsible.d.ts +74 -0
  220. package/types/loomui-ng-ui-combobox.d.ts +229 -0
  221. package/types/loomui-ng-ui-command.d.ts +231 -0
  222. package/types/loomui-ng-ui-context-menu.d.ts +288 -0
  223. package/types/loomui-ng-ui-data-table.d.ts +111 -0
  224. package/types/loomui-ng-ui-date-picker.d.ts +63 -0
  225. package/types/loomui-ng-ui-dialog.d.ts +127 -0
  226. package/types/loomui-ng-ui-direction.d.ts +42 -0
  227. package/types/loomui-ng-ui-drawer.d.ts +149 -0
  228. package/types/loomui-ng-ui-dropdown-menu.d.ts +258 -0
  229. package/types/loomui-ng-ui-empty.d.ts +109 -0
  230. package/types/loomui-ng-ui-field.d.ts +169 -0
  231. package/types/loomui-ng-ui-hover-card.d.ts +62 -0
  232. package/types/loomui-ng-ui-icon.d.ts +156 -0
  233. package/types/loomui-ng-ui-input-group.d.ts +130 -0
  234. package/types/loomui-ng-ui-input-otp.d.ts +149 -0
  235. package/types/loomui-ng-ui-input.d.ts +89 -0
  236. package/types/loomui-ng-ui-item.d.ts +157 -0
  237. package/types/loomui-ng-ui-kbd.d.ts +36 -0
  238. package/types/loomui-ng-ui-label.d.ts +19 -0
  239. package/types/loomui-ng-ui-marker.d.ts +61 -0
  240. package/types/loomui-ng-ui-menubar.d.ts +321 -0
  241. package/types/loomui-ng-ui-message-scroller.d.ts +138 -0
  242. package/types/loomui-ng-ui-message.d.ts +109 -0
  243. package/types/loomui-ng-ui-native-select.d.ts +84 -0
  244. package/types/loomui-ng-ui-navigation-menu.d.ts +160 -0
  245. package/types/loomui-ng-ui-pagination.d.ts +130 -0
  246. package/types/loomui-ng-ui-popover.d.ts +90 -0
  247. package/types/loomui-ng-ui-progress.d.ts +39 -0
  248. package/types/loomui-ng-ui-questionnaire.d.ts +274 -0
  249. package/types/loomui-ng-ui-radio-group.d.ts +109 -0
  250. package/types/loomui-ng-ui-resizable.d.ts +121 -0
  251. package/types/loomui-ng-ui-scroll-area.d.ts +44 -0
  252. package/types/loomui-ng-ui-select.d.ts +204 -0
  253. package/types/loomui-ng-ui-separator.d.ts +35 -0
  254. package/types/loomui-ng-ui-sheet.d.ts +124 -0
  255. package/types/loomui-ng-ui-sidebar.d.ts +485 -0
  256. package/types/loomui-ng-ui-skeleton.d.ts +20 -0
  257. package/types/loomui-ng-ui-slider.d.ts +103 -0
  258. package/types/loomui-ng-ui-spinner.d.ts +19 -0
  259. package/types/loomui-ng-ui-switch.d.ts +56 -0
  260. package/types/loomui-ng-ui-table.d.ts +148 -0
  261. package/types/loomui-ng-ui-tabs.d.ts +148 -0
  262. package/types/loomui-ng-ui-textarea.d.ts +52 -0
  263. package/types/loomui-ng-ui-toast.d.ts +97 -0
  264. package/types/loomui-ng-ui-toggle-group.d.ts +138 -0
  265. package/types/loomui-ng-ui-toggle.d.ts +63 -0
  266. package/types/loomui-ng-ui-tooltip.d.ts +63 -0
  267. package/types/loomui-ng-ui-typography.d.ts +42 -0
  268. package/types/loomui-ng-ui-utils.d.ts +392 -0
  269. package/types/loomui-ng-ui.d.ts +5 -0
  270. package/typography/README.md +29 -0
@@ -0,0 +1,590 @@
1
+ import * as i0 from "@angular/core";
2
+ import { Directive, ElementRef, booleanAttribute, computed, inject, input } from "@angular/core";
3
+ import { buttonVariants } from "@loomui-ng/ui/button";
4
+ import * as i1 from "@loomui-ng/ui/utils";
5
+ import { UiElementHost, UiModalContentBase, UiModalRoot, cn } from "@loomui-ng/ui/utils";
6
+ const drawerOverlayClass = "fixed inset-0 z-50 bg-black/10 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0";
7
+ const drawerContentClass = "group/drawer-content fixed z-50 flex h-auto flex-col bg-popover text-sm text-popover-foreground data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-xl data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:start-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-e-xl data-[vaul-drawer-direction=left]:border-e data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:end-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-s-xl data-[vaul-drawer-direction=right]:border-s data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-xl data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm";
8
+ const drawerHeaderClass = "flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-0.5 md:text-start";
9
+ const drawerTitleClass = "text-base font-medium text-foreground";
10
+ const drawerDescriptionClass = "text-sm text-muted-foreground";
11
+ const drawerFooterClass = "mt-auto flex flex-col gap-2 p-4";
12
+ const UI_DRAWER_GENERATED = [];
13
+ var UiDrawer = class UiDrawer extends UiModalRoot {
14
+ direction = input("bottom", ...ngDevMode ? [{ debugName: "direction" }] : /* istanbul ignore next */ []);
15
+ static ɵfac = i0.ɵɵngDeclareFactory({
16
+ minVersion: "12.0.0",
17
+ version: "22.2.2",
18
+ ngImport: i0,
19
+ type: UiDrawer,
20
+ deps: null,
21
+ target: i0.ɵɵFactoryTarget.Directive
22
+ });
23
+ static ɵdir = i0.ɵɵngDeclareDirective({
24
+ minVersion: "17.1.0",
25
+ version: "22.2.2",
26
+ type: UiDrawer,
27
+ isStandalone: true,
28
+ selector: "[uiDrawer], ui-drawer",
29
+ inputs: { direction: {
30
+ classPropertyName: "direction",
31
+ publicName: "direction",
32
+ isSignal: true,
33
+ isRequired: false,
34
+ transformFunction: null
35
+ } },
36
+ exportAs: ["uiDrawer"],
37
+ usesInheritance: true,
38
+ hostDirectives: [{ directive: i1.UiElementHost }],
39
+ ngImport: i0
40
+ });
41
+ };
42
+ i0.ɵɵngDeclareClassMetadata({
43
+ minVersion: "12.0.0",
44
+ version: "22.2.2",
45
+ ngImport: i0,
46
+ type: UiDrawer,
47
+ decorators: [{
48
+ type: Directive,
49
+ args: [{
50
+ selector: "[uiDrawer], ui-drawer",
51
+ hostDirectives: [UiElementHost],
52
+ exportAs: "uiDrawer"
53
+ }]
54
+ }],
55
+ propDecorators: { direction: [{
56
+ type: i0.Input,
57
+ args: [{
58
+ isSignal: true,
59
+ alias: "direction",
60
+ required: false
61
+ }]
62
+ }] }
63
+ });
64
+ var UiDrawerTrigger = class UiDrawerTrigger {
65
+ root = inject(UiDrawer);
66
+ constructor() {
67
+ this.root.trigger.set(inject(ElementRef).nativeElement);
68
+ }
69
+ static ɵfac = i0.ɵɵngDeclareFactory({
70
+ minVersion: "12.0.0",
71
+ version: "22.2.2",
72
+ ngImport: i0,
73
+ type: UiDrawerTrigger,
74
+ deps: [],
75
+ target: i0.ɵɵFactoryTarget.Directive
76
+ });
77
+ static ɵdir = i0.ɵɵngDeclareDirective({
78
+ minVersion: "14.0.0",
79
+ version: "22.2.2",
80
+ type: UiDrawerTrigger,
81
+ isStandalone: true,
82
+ selector: "[uiDrawerTrigger], ui-drawer-trigger",
83
+ host: {
84
+ attributes: {
85
+ "data-slot": "drawer-trigger",
86
+ "aria-haspopup": "dialog"
87
+ },
88
+ listeners: { "click": "root.toggle()" },
89
+ properties: {
90
+ "attr.aria-expanded": "root.open()",
91
+ "attr.aria-controls": "root.id",
92
+ "attr.data-state": "root.open() ? \"open\" : \"closed\""
93
+ }
94
+ },
95
+ hostDirectives: [{ directive: i1.UiElementHost }],
96
+ ngImport: i0
97
+ });
98
+ };
99
+ i0.ɵɵngDeclareClassMetadata({
100
+ minVersion: "12.0.0",
101
+ version: "22.2.2",
102
+ ngImport: i0,
103
+ type: UiDrawerTrigger,
104
+ decorators: [{
105
+ type: Directive,
106
+ args: [{
107
+ selector: "[uiDrawerTrigger], ui-drawer-trigger",
108
+ hostDirectives: [UiElementHost],
109
+ host: {
110
+ "data-slot": "drawer-trigger",
111
+ "aria-haspopup": "dialog",
112
+ "[attr.aria-expanded]": "root.open()",
113
+ "[attr.aria-controls]": "root.id",
114
+ "[attr.data-state]": "root.open() ? \"open\" : \"closed\"",
115
+ "(click)": "root.toggle()"
116
+ }
117
+ }]
118
+ }],
119
+ ctorParameters: () => []
120
+ });
121
+ const SLIDE = "duration-300 data-open:animate-in data-closed:animate-out data-[vaul-drawer-direction=bottom]:data-open:slide-in-from-bottom data-[vaul-drawer-direction=bottom]:data-closed:slide-out-to-bottom data-[vaul-drawer-direction=top]:data-open:slide-in-from-top data-[vaul-drawer-direction=top]:data-closed:slide-out-to-top data-[vaul-drawer-direction=left]:data-open:slide-in-from-left data-[vaul-drawer-direction=left]:data-closed:slide-out-to-left data-[vaul-drawer-direction=right]:data-open:slide-in-from-right data-[vaul-drawer-direction=right]:data-closed:slide-out-to-right";
122
+ var UiDrawerContent = class UiDrawerContent extends UiModalContentBase {
123
+ root = inject(UiDrawer);
124
+ config = {
125
+ slot: "drawer",
126
+ backdropClass: drawerOverlayClass
127
+ };
128
+ classes = computed(() => cn(drawerContentClass, SLIDE, this.userClass()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
129
+ constructor() {
130
+ super();
131
+ this.init();
132
+ queueMicrotask(() => {
133
+ const handle = document.createElement("div");
134
+ handle.setAttribute("data-slot", "drawer-handle");
135
+ handle.className = "mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full bg-muted group-data-[vaul-drawer-direction=bottom]/drawer-content:block";
136
+ this.el.prepend(handle);
137
+ });
138
+ }
139
+ onPointerDown(e) {
140
+ if (e.button !== 0 || e.target.closest("input, textarea, select, button, a, [contenteditable]")) return;
141
+ const dir = this.root.direction();
142
+ const axis = dir === "left" || dir === "right" ? "x" : "y";
143
+ const sign = dir === "bottom" || dir === "right" ? 1 : -1;
144
+ const size = axis === "x" ? this.el.offsetWidth : this.el.offsetHeight;
145
+ const start = axis === "x" ? e.clientX : e.clientY;
146
+ const t0 = performance.now();
147
+ let delta = 0;
148
+ this.el.setPointerCapture?.(e.pointerId);
149
+ const move = (ev) => {
150
+ delta = Math.max(0, sign * ((axis === "x" ? ev.clientX : ev.clientY) - start));
151
+ this.el.style.transition = "none";
152
+ this.el.style.transform = axis === "x" ? `translateX(${sign * delta}px)` : `translateY(${sign * delta}px)`;
153
+ };
154
+ const up = () => {
155
+ this.el.removeEventListener("pointermove", move);
156
+ this.el.removeEventListener("pointerup", up);
157
+ this.el.removeEventListener("pointercancel", up);
158
+ const velocity = delta / Math.max(1, performance.now() - t0);
159
+ this.el.style.transition = "";
160
+ if (delta > size * .3 || delta > 20 && velocity > .4) this.root.close();
161
+ this.el.style.transform = "";
162
+ };
163
+ this.el.addEventListener("pointermove", move);
164
+ this.el.addEventListener("pointerup", up);
165
+ this.el.addEventListener("pointercancel", up);
166
+ }
167
+ static ɵfac = i0.ɵɵngDeclareFactory({
168
+ minVersion: "12.0.0",
169
+ version: "22.2.2",
170
+ ngImport: i0,
171
+ type: UiDrawerContent,
172
+ deps: [],
173
+ target: i0.ɵɵFactoryTarget.Directive
174
+ });
175
+ static ɵdir = i0.ɵɵngDeclareDirective({
176
+ minVersion: "14.0.0",
177
+ version: "22.2.2",
178
+ type: UiDrawerContent,
179
+ isStandalone: true,
180
+ selector: "[uiDrawerContent], ui-drawer-content",
181
+ host: {
182
+ attributes: {
183
+ "role": "dialog",
184
+ "data-slot": "drawer-content",
185
+ "data-vaul-drawer": "",
186
+ "tabindex": "-1"
187
+ },
188
+ listeners: { "pointerdown": "onPointerDown($event)" },
189
+ properties: {
190
+ "id": "root.id",
191
+ "attr.aria-labelledby": "root.titleId",
192
+ "attr.aria-describedby": "root.descriptionId",
193
+ "attr.data-state": "root.state()",
194
+ "attr.data-vaul-drawer-direction": "root.direction()",
195
+ "attr.class": "classes()"
196
+ }
197
+ },
198
+ usesInheritance: true,
199
+ hostDirectives: [{ directive: i1.UiElementHost }],
200
+ ngImport: i0
201
+ });
202
+ };
203
+ i0.ɵɵngDeclareClassMetadata({
204
+ minVersion: "12.0.0",
205
+ version: "22.2.2",
206
+ ngImport: i0,
207
+ type: UiDrawerContent,
208
+ decorators: [{
209
+ type: Directive,
210
+ args: [{
211
+ selector: "[uiDrawerContent], ui-drawer-content",
212
+ hostDirectives: [UiElementHost],
213
+ host: {
214
+ role: "dialog",
215
+ "data-slot": "drawer-content",
216
+ "data-vaul-drawer": "",
217
+ tabindex: "-1",
218
+ "[id]": "root.id",
219
+ "[attr.aria-labelledby]": "root.titleId",
220
+ "[attr.aria-describedby]": "root.descriptionId",
221
+ "[attr.data-state]": "root.state()",
222
+ "[attr.data-vaul-drawer-direction]": "root.direction()",
223
+ "[attr.class]": "classes()",
224
+ "(pointerdown)": "onPointerDown($event)"
225
+ }
226
+ }]
227
+ }],
228
+ ctorParameters: () => []
229
+ });
230
+ var UiDrawerHeader = class UiDrawerHeader {
231
+ userClass = input("", {
232
+ ...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
233
+ alias: "class"
234
+ });
235
+ classes = computed(() => cn(drawerHeaderClass, this.userClass()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
236
+ static ɵfac = i0.ɵɵngDeclareFactory({
237
+ minVersion: "12.0.0",
238
+ version: "22.2.2",
239
+ ngImport: i0,
240
+ type: UiDrawerHeader,
241
+ deps: [],
242
+ target: i0.ɵɵFactoryTarget.Directive
243
+ });
244
+ static ɵdir = i0.ɵɵngDeclareDirective({
245
+ minVersion: "17.1.0",
246
+ version: "22.2.2",
247
+ type: UiDrawerHeader,
248
+ isStandalone: true,
249
+ selector: "[uiDrawerHeader], ui-drawer-header",
250
+ inputs: { userClass: {
251
+ classPropertyName: "userClass",
252
+ publicName: "class",
253
+ isSignal: true,
254
+ isRequired: false,
255
+ transformFunction: null
256
+ } },
257
+ host: {
258
+ attributes: { "data-slot": "drawer-header" },
259
+ properties: { "attr.class": "classes()" }
260
+ },
261
+ hostDirectives: [{ directive: i1.UiElementHost }],
262
+ ngImport: i0
263
+ });
264
+ };
265
+ i0.ɵɵngDeclareClassMetadata({
266
+ minVersion: "12.0.0",
267
+ version: "22.2.2",
268
+ ngImport: i0,
269
+ type: UiDrawerHeader,
270
+ decorators: [{
271
+ type: Directive,
272
+ args: [{
273
+ selector: "[uiDrawerHeader], ui-drawer-header",
274
+ hostDirectives: [UiElementHost],
275
+ host: {
276
+ "data-slot": "drawer-header",
277
+ "[attr.class]": "classes()"
278
+ }
279
+ }]
280
+ }],
281
+ propDecorators: { userClass: [{
282
+ type: i0.Input,
283
+ args: [{
284
+ isSignal: true,
285
+ alias: "class",
286
+ required: false
287
+ }]
288
+ }] }
289
+ });
290
+ var UiDrawerFooter = class UiDrawerFooter {
291
+ userClass = input("", {
292
+ ...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
293
+ alias: "class"
294
+ });
295
+ classes = computed(() => cn(drawerFooterClass, this.userClass()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
296
+ static ɵfac = i0.ɵɵngDeclareFactory({
297
+ minVersion: "12.0.0",
298
+ version: "22.2.2",
299
+ ngImport: i0,
300
+ type: UiDrawerFooter,
301
+ deps: [],
302
+ target: i0.ɵɵFactoryTarget.Directive
303
+ });
304
+ static ɵdir = i0.ɵɵngDeclareDirective({
305
+ minVersion: "17.1.0",
306
+ version: "22.2.2",
307
+ type: UiDrawerFooter,
308
+ isStandalone: true,
309
+ selector: "[uiDrawerFooter], ui-drawer-footer",
310
+ inputs: { userClass: {
311
+ classPropertyName: "userClass",
312
+ publicName: "class",
313
+ isSignal: true,
314
+ isRequired: false,
315
+ transformFunction: null
316
+ } },
317
+ host: {
318
+ attributes: { "data-slot": "drawer-footer" },
319
+ properties: { "attr.class": "classes()" }
320
+ },
321
+ hostDirectives: [{ directive: i1.UiElementHost }],
322
+ ngImport: i0
323
+ });
324
+ };
325
+ i0.ɵɵngDeclareClassMetadata({
326
+ minVersion: "12.0.0",
327
+ version: "22.2.2",
328
+ ngImport: i0,
329
+ type: UiDrawerFooter,
330
+ decorators: [{
331
+ type: Directive,
332
+ args: [{
333
+ selector: "[uiDrawerFooter], ui-drawer-footer",
334
+ hostDirectives: [UiElementHost],
335
+ host: {
336
+ "data-slot": "drawer-footer",
337
+ "[attr.class]": "classes()"
338
+ }
339
+ }]
340
+ }],
341
+ propDecorators: { userClass: [{
342
+ type: i0.Input,
343
+ args: [{
344
+ isSignal: true,
345
+ alias: "class",
346
+ required: false
347
+ }]
348
+ }] }
349
+ });
350
+ var UiDrawerTitle = class UiDrawerTitle {
351
+ root = inject(UiDrawer);
352
+ userClass = input("", {
353
+ ...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
354
+ alias: "class"
355
+ });
356
+ classes = computed(() => cn(drawerTitleClass, this.userClass()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
357
+ static ɵfac = i0.ɵɵngDeclareFactory({
358
+ minVersion: "12.0.0",
359
+ version: "22.2.2",
360
+ ngImport: i0,
361
+ type: UiDrawerTitle,
362
+ deps: [],
363
+ target: i0.ɵɵFactoryTarget.Directive
364
+ });
365
+ static ɵdir = i0.ɵɵngDeclareDirective({
366
+ minVersion: "17.1.0",
367
+ version: "22.2.2",
368
+ type: UiDrawerTitle,
369
+ isStandalone: true,
370
+ selector: "[uiDrawerTitle], ui-drawer-title",
371
+ inputs: { userClass: {
372
+ classPropertyName: "userClass",
373
+ publicName: "class",
374
+ isSignal: true,
375
+ isRequired: false,
376
+ transformFunction: null
377
+ } },
378
+ host: {
379
+ attributes: { "data-slot": "drawer-title" },
380
+ properties: {
381
+ "id": "root.titleId",
382
+ "attr.class": "classes()"
383
+ }
384
+ },
385
+ hostDirectives: [{ directive: i1.UiElementHost }],
386
+ ngImport: i0
387
+ });
388
+ };
389
+ i0.ɵɵngDeclareClassMetadata({
390
+ minVersion: "12.0.0",
391
+ version: "22.2.2",
392
+ ngImport: i0,
393
+ type: UiDrawerTitle,
394
+ decorators: [{
395
+ type: Directive,
396
+ args: [{
397
+ selector: "[uiDrawerTitle], ui-drawer-title",
398
+ hostDirectives: [UiElementHost],
399
+ host: {
400
+ "data-slot": "drawer-title",
401
+ "[id]": "root.titleId",
402
+ "[attr.class]": "classes()"
403
+ }
404
+ }]
405
+ }],
406
+ propDecorators: { userClass: [{
407
+ type: i0.Input,
408
+ args: [{
409
+ isSignal: true,
410
+ alias: "class",
411
+ required: false
412
+ }]
413
+ }] }
414
+ });
415
+ var UiDrawerDescription = class UiDrawerDescription {
416
+ root = inject(UiDrawer);
417
+ userClass = input("", {
418
+ ...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
419
+ alias: "class"
420
+ });
421
+ classes = computed(() => cn(drawerDescriptionClass, this.userClass()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
422
+ static ɵfac = i0.ɵɵngDeclareFactory({
423
+ minVersion: "12.0.0",
424
+ version: "22.2.2",
425
+ ngImport: i0,
426
+ type: UiDrawerDescription,
427
+ deps: [],
428
+ target: i0.ɵɵFactoryTarget.Directive
429
+ });
430
+ static ɵdir = i0.ɵɵngDeclareDirective({
431
+ minVersion: "17.1.0",
432
+ version: "22.2.2",
433
+ type: UiDrawerDescription,
434
+ isStandalone: true,
435
+ selector: "[uiDrawerDescription], ui-drawer-description",
436
+ inputs: { userClass: {
437
+ classPropertyName: "userClass",
438
+ publicName: "class",
439
+ isSignal: true,
440
+ isRequired: false,
441
+ transformFunction: null
442
+ } },
443
+ host: {
444
+ attributes: { "data-slot": "drawer-description" },
445
+ properties: {
446
+ "id": "root.descriptionId",
447
+ "attr.class": "classes()"
448
+ }
449
+ },
450
+ hostDirectives: [{ directive: i1.UiElementHost }],
451
+ ngImport: i0
452
+ });
453
+ };
454
+ i0.ɵɵngDeclareClassMetadata({
455
+ minVersion: "12.0.0",
456
+ version: "22.2.2",
457
+ ngImport: i0,
458
+ type: UiDrawerDescription,
459
+ decorators: [{
460
+ type: Directive,
461
+ args: [{
462
+ selector: "[uiDrawerDescription], ui-drawer-description",
463
+ hostDirectives: [UiElementHost],
464
+ host: {
465
+ "data-slot": "drawer-description",
466
+ "[id]": "root.descriptionId",
467
+ "[attr.class]": "classes()"
468
+ }
469
+ }]
470
+ }],
471
+ propDecorators: { userClass: [{
472
+ type: i0.Input,
473
+ args: [{
474
+ isSignal: true,
475
+ alias: "class",
476
+ required: false
477
+ }]
478
+ }] }
479
+ });
480
+ var UiDrawerClose = class UiDrawerClose {
481
+ disabled = input(false, {
482
+ ...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
483
+ transform: booleanAttribute
484
+ });
485
+ root = inject(UiDrawer);
486
+ userClass = input("", {
487
+ ...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
488
+ alias: "class"
489
+ });
490
+ classes = computed(() => cn(buttonVariants({ variant: "outline" }), this.userClass()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
491
+ static ɵfac = i0.ɵɵngDeclareFactory({
492
+ minVersion: "12.0.0",
493
+ version: "22.2.2",
494
+ ngImport: i0,
495
+ type: UiDrawerClose,
496
+ deps: [],
497
+ target: i0.ɵɵFactoryTarget.Directive
498
+ });
499
+ static ɵdir = i0.ɵɵngDeclareDirective({
500
+ minVersion: "17.1.0",
501
+ version: "22.2.2",
502
+ type: UiDrawerClose,
503
+ isStandalone: true,
504
+ selector: "button[uiDrawerClose], ui-drawer-close",
505
+ inputs: {
506
+ disabled: {
507
+ classPropertyName: "disabled",
508
+ publicName: "disabled",
509
+ isSignal: true,
510
+ isRequired: false,
511
+ transformFunction: null
512
+ },
513
+ userClass: {
514
+ classPropertyName: "userClass",
515
+ publicName: "class",
516
+ isSignal: true,
517
+ isRequired: false,
518
+ transformFunction: null
519
+ }
520
+ },
521
+ host: {
522
+ attributes: {
523
+ "type": "button",
524
+ "data-slot": "drawer-close",
525
+ "data-variant": "outline",
526
+ "data-size": "default"
527
+ },
528
+ listeners: { "click": "root.close()" },
529
+ properties: {
530
+ "attr.disabled": "disabled() ? \"\" : null",
531
+ "attr.class": "classes()"
532
+ }
533
+ },
534
+ hostDirectives: [{ directive: i1.UiElementHost }],
535
+ ngImport: i0
536
+ });
537
+ };
538
+ i0.ɵɵngDeclareClassMetadata({
539
+ minVersion: "12.0.0",
540
+ version: "22.2.2",
541
+ ngImport: i0,
542
+ type: UiDrawerClose,
543
+ decorators: [{
544
+ type: Directive,
545
+ args: [{
546
+ selector: "button[uiDrawerClose], ui-drawer-close",
547
+ hostDirectives: [UiElementHost],
548
+ host: {
549
+ "[attr.disabled]": "disabled() ? \"\" : null",
550
+ type: "button",
551
+ "data-slot": "drawer-close",
552
+ "data-variant": "outline",
553
+ "data-size": "default",
554
+ "[attr.class]": "classes()",
555
+ "(click)": "root.close()"
556
+ }
557
+ }]
558
+ }],
559
+ propDecorators: {
560
+ disabled: [{
561
+ type: i0.Input,
562
+ args: [{
563
+ isSignal: true,
564
+ alias: "disabled",
565
+ required: false
566
+ }]
567
+ }],
568
+ userClass: [{
569
+ type: i0.Input,
570
+ args: [{
571
+ isSignal: true,
572
+ alias: "class",
573
+ required: false
574
+ }]
575
+ }]
576
+ }
577
+ });
578
+ const UI_DRAWER = [
579
+ UiDrawer,
580
+ UiDrawerTrigger,
581
+ UiDrawerContent,
582
+ UiDrawerHeader,
583
+ UiDrawerFooter,
584
+ UiDrawerTitle,
585
+ UiDrawerDescription,
586
+ UiDrawerClose
587
+ ];
588
+ export { UI_DRAWER, UI_DRAWER_GENERATED, UiDrawer, UiDrawerClose, UiDrawerContent, UiDrawerDescription, UiDrawerFooter, UiDrawerHeader, UiDrawerTitle, UiDrawerTrigger, drawerContentClass, drawerDescriptionClass, drawerFooterClass, drawerHeaderClass, drawerOverlayClass, drawerTitleClass };
589
+
590
+ //# sourceMappingURL=loomui-ng-ui-drawer.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loomui-ng-ui-drawer.mjs","names":[],"sources":["../../../libs/ui/drawer/drawer.ts","../../../libs/ui/drawer/drawer.manual.ts"],"sourcesContent":["// GENERATED by tools/gen-ui.mjs from docs/evidence/slots/drawer.json.\n// Change tools/ui-specs.mjs and regenerate; hand-written parts live in ./drawer.manual.ts.\nimport { Directive, computed, input } from '@angular/core';\nimport { cn } from '@loomui-ng/ui/utils';\n\nexport const drawerOverlayClass =\n 'fixed inset-0 z-50 bg-black/10 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0';\n\nexport const drawerContentClass =\n 'group/drawer-content fixed z-50 flex h-auto flex-col bg-popover text-sm text-popover-foreground data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-xl data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:start-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-e-xl data-[vaul-drawer-direction=left]:border-e data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:end-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-s-xl data-[vaul-drawer-direction=right]:border-s data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-xl data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm';\n\nexport const drawerHeaderClass =\n 'flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-0.5 md:text-start';\n\nexport const drawerTitleClass =\n 'text-base font-medium text-foreground';\n\nexport const drawerDescriptionClass =\n 'text-sm text-muted-foreground';\n\nexport const drawerFooterClass =\n 'mt-auto flex flex-col gap-2 p-4';\n\nexport const UI_DRAWER_GENERATED = [] as const;\n","import { computed, Directive, ElementRef, inject, input, booleanAttribute } from '@angular/core';\nimport { buttonVariants } from '@loomui-ng/ui/button';\nimport { cn } from '@loomui-ng/ui/utils';\nimport { UiModalContentBase, UiModalRoot, type ModalContentConfig } from '@loomui-ng/ui/utils';\nimport {\n drawerContentClass,\n drawerDescriptionClass,\n drawerFooterClass,\n drawerHeaderClass,\n drawerOverlayClass,\n drawerTitleClass,\n} from './drawer';\nimport { UiElementHost } from '@loomui-ng/ui/utils';\n\ntype Direction = 'top' | 'bottom' | 'left' | 'right';\n\n/**\n * <div uiDrawer direction=\"bottom\" class=\"contents\">\n * <button uiButton variant=\"outline\" uiDrawerTrigger>Open</button>\n * <div uiDrawerContent> <div uiDrawerHeader>…</div> <div uiDrawerFooter>…</div> </div>\n * </div>\n * The original wraps `vaul`; observed attributes (data-vaul-*) are reproduced. Drag-to-dismiss is implemented with pointer\n * events (distance > 30% of the drawer or a fast flick closes it); snap points and nested-drawer scaling are not.\n */\n@Directive({ selector: '[uiDrawer], ui-drawer', hostDirectives: [UiElementHost], exportAs: 'uiDrawer' })\nexport class UiDrawer extends UiModalRoot {\n readonly direction = input<Direction>('bottom');\n}\n\n@Directive({\n selector: '[uiDrawerTrigger], ui-drawer-trigger', hostDirectives: [UiElementHost],\n host: {\n 'data-slot': 'drawer-trigger',\n 'aria-haspopup': 'dialog',\n '[attr.aria-expanded]': 'root.open()',\n '[attr.aria-controls]': 'root.id',\n '[attr.data-state]': 'root.open() ? \"open\" : \"closed\"',\n '(click)': 'root.toggle()',\n },\n})\nexport class UiDrawerTrigger {\n protected readonly root = inject(UiDrawer);\n constructor() {\n this.root.trigger.set(inject<ElementRef<HTMLElement>>(ElementRef).nativeElement);\n }\n}\n\n// vaul animates with JS transforms; here tw-animate-css slide utilities play the same role (UNKNOWN on the live classes).\nconst SLIDE =\n 'duration-300 data-open:animate-in data-closed:animate-out data-[vaul-drawer-direction=bottom]:data-open:slide-in-from-bottom data-[vaul-drawer-direction=bottom]:data-closed:slide-out-to-bottom data-[vaul-drawer-direction=top]:data-open:slide-in-from-top data-[vaul-drawer-direction=top]:data-closed:slide-out-to-top data-[vaul-drawer-direction=left]:data-open:slide-in-from-left data-[vaul-drawer-direction=left]:data-closed:slide-out-to-left data-[vaul-drawer-direction=right]:data-open:slide-in-from-right data-[vaul-drawer-direction=right]:data-closed:slide-out-to-right';\n\n@Directive({\n selector: '[uiDrawerContent], ui-drawer-content', hostDirectives: [UiElementHost],\n host: {\n role: 'dialog',\n 'data-slot': 'drawer-content',\n 'data-vaul-drawer': '',\n tabindex: '-1',\n '[id]': 'root.id',\n '[attr.aria-labelledby]': 'root.titleId',\n '[attr.aria-describedby]': 'root.descriptionId',\n '[attr.data-state]': 'root.state()',\n '[attr.data-vaul-drawer-direction]': 'root.direction()',\n '[attr.class]': 'classes()',\n '(pointerdown)': 'onPointerDown($event)',\n },\n})\nexport class UiDrawerContent extends UiModalContentBase {\n protected readonly root = inject(UiDrawer);\n protected readonly config: ModalContentConfig = { slot: 'drawer', backdropClass: drawerOverlayClass };\n protected readonly classes = computed(() => cn(drawerContentClass, SLIDE, this.userClass()));\n\n constructor() {\n super();\n this.init();\n queueMicrotask(() => {\n // Grab handle (shown for bottom drawers). Classes follow shadcn's published source (not captured).\n const handle = document.createElement('div');\n handle.setAttribute('data-slot', 'drawer-handle');\n handle.className =\n 'mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full bg-muted group-data-[vaul-drawer-direction=bottom]/drawer-content:block';\n this.el.prepend(handle);\n });\n }\n\n protected onPointerDown(e: PointerEvent): void {\n if (e.button !== 0 || (e.target as HTMLElement).closest('input, textarea, select, button, a, [contenteditable]')) return;\n const dir = this.root.direction();\n const axis = dir === 'left' || dir === 'right' ? 'x' : 'y';\n const sign = dir === 'bottom' || dir === 'right' ? 1 : -1;\n const size = axis === 'x' ? this.el.offsetWidth : this.el.offsetHeight;\n const start = axis === 'x' ? e.clientX : e.clientY;\n const t0 = performance.now();\n let delta = 0;\n this.el.setPointerCapture?.(e.pointerId);\n const move = (ev: PointerEvent) => {\n delta = Math.max(0, sign * ((axis === 'x' ? ev.clientX : ev.clientY) - start));\n this.el.style.transition = 'none';\n this.el.style.transform = axis === 'x' ? `translateX(${sign * delta}px)` : `translateY(${sign * delta}px)`;\n };\n const up = () => {\n this.el.removeEventListener('pointermove', move);\n this.el.removeEventListener('pointerup', up);\n this.el.removeEventListener('pointercancel', up);\n const velocity = delta / Math.max(1, performance.now() - t0);\n this.el.style.transition = '';\n if (delta > size * 0.3 || (delta > 20 && velocity > 0.4)) this.root.close();\n this.el.style.transform = '';\n };\n this.el.addEventListener('pointermove', move);\n this.el.addEventListener('pointerup', up);\n this.el.addEventListener('pointercancel', up);\n }\n}\n\n@Directive({\n selector: '[uiDrawerHeader], ui-drawer-header', hostDirectives: [UiElementHost],\n host: { 'data-slot': 'drawer-header', '[attr.class]': 'classes()' },\n})\nexport class UiDrawerHeader {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn(drawerHeaderClass, this.userClass()));\n}\n\n@Directive({\n selector: '[uiDrawerFooter], ui-drawer-footer', hostDirectives: [UiElementHost],\n host: { 'data-slot': 'drawer-footer', '[attr.class]': 'classes()' },\n})\nexport class UiDrawerFooter {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn(drawerFooterClass, this.userClass()));\n}\n\n@Directive({\n selector: '[uiDrawerTitle], ui-drawer-title', hostDirectives: [UiElementHost],\n host: { 'data-slot': 'drawer-title', '[id]': 'root.titleId', '[attr.class]': 'classes()' },\n})\nexport class UiDrawerTitle {\n protected readonly root = inject(UiDrawer);\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn(drawerTitleClass, this.userClass()));\n}\n\n@Directive({\n selector: '[uiDrawerDescription], ui-drawer-description', hostDirectives: [UiElementHost],\n host: { 'data-slot': 'drawer-description', '[id]': 'root.descriptionId', '[attr.class]': 'classes()' },\n})\nexport class UiDrawerDescription {\n protected readonly root = inject(UiDrawer);\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn(drawerDescriptionClass, this.userClass()));\n}\n\n/** Observed: outline Button. */\n@Directive({\n selector: 'button[uiDrawerClose], ui-drawer-close', hostDirectives: [UiElementHost],\n host: { '[attr.disabled]': 'disabled() ? \"\" : null',\n type: 'button',\n 'data-slot': 'drawer-close',\n 'data-variant': 'outline',\n 'data-size': 'default',\n '[attr.class]': 'classes()',\n '(click)': 'root.close()',\n },\n})\nexport class UiDrawerClose {\n /** Reflected as the `disabled` attribute so it also works on the custom element. */\n readonly disabled = input(false, { transform: booleanAttribute });\n protected readonly root = inject(UiDrawer);\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn(buttonVariants({ variant: 'outline' }), this.userClass()));\n}\n\nexport const UI_DRAWER = [\n UiDrawer,\n UiDrawerTrigger,\n UiDrawerContent,\n UiDrawerHeader,\n UiDrawerFooter,\n UiDrawerTitle,\n UiDrawerDescription,\n UiDrawerClose,\n] as const;\n"],"mappings":";;;;;AAKA,MAAa,qBACX;AAEF,MAAa,qBACX;AAEF,MAAa,oBACX;AAEF,MAAa,mBACX;AAEF,MAAa,yBACX;AAEF,MAAa,oBACX;AAEF,MAAa,sBAAsB,CAAA;ACEnC,IAAa,WAAb,MAAa,iBAAiB,YAAW;CAC9B,YAAY,MAAiB,UAAS,GAAA,YAAA,CAAA,EAAA,WAAA,YAAA,CAAA,+BAAA,CAAA,CAAA;CADpC,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAQ,MAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAR,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAQ,cAAA;EAAA,UAAA;EAAA,QAAA,EAAA,WAAA;GAAA,mBAAA;GAAA,YAAA;GAAA,UAAA;GAAA,YAAA;GAAA,mBAAA;EAAA,EAAA;EAAA,UAAA,CAAA,UAAA;EAAA,iBAAA;EAAA,gBAAA,CAAA,EAAA,WAAA,GAAA,cAAA,CAAA;EAAA,UAAA;CAAA,CAAA;;AAAR,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAQ,YAAA,CAAA;EADpB,MAAA;EAAU,MAAA,CAAA;GAAE,UAAU;GAAyB,gBAAgB,CAAC,aAAa;GAAG,UAAU;EAAU,CAAE;;;;;;;;;;;AAgBvG,IAAa,kBAAb,MAAa,gBAAe;CACP,OAAO,OAAO,QAAQ;CACzC,cAAA;EACE,KAAK,KAAK,QAAQ,IAAI,OAAgC,UAAU,CAAC,CAAC,aAAa;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