@radix-ng/primitives 0.24.0 → 0.25.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 (294) hide show
  1. package/avatar/src/avatar-fallback.directive.d.ts +1 -1
  2. package/compodoc/documentation.json +1718 -3931
  3. package/core/index.d.ts +3 -2
  4. package/core/src/positioning/constants.d.ts +2 -0
  5. package/core/src/positioning/types.d.ts +31 -0
  6. package/{popover/src/popover.utils.d.ts → core/src/positioning/utils.d.ts} +4 -4
  7. package/dialog/src/dialog-trigger.directive.d.ts +12 -0
  8. package/fesm2022/radix-ng-primitives-accordion.mjs +19 -19
  9. package/fesm2022/radix-ng-primitives-accordion.mjs.map +1 -1
  10. package/fesm2022/radix-ng-primitives-alert-dialog.mjs +22 -22
  11. package/fesm2022/radix-ng-primitives-alert-dialog.mjs.map +1 -1
  12. package/fesm2022/radix-ng-primitives-aspect-ratio.mjs +3 -3
  13. package/fesm2022/radix-ng-primitives-aspect-ratio.mjs.map +1 -1
  14. package/fesm2022/radix-ng-primitives-avatar.mjs +17 -17
  15. package/fesm2022/radix-ng-primitives-avatar.mjs.map +1 -1
  16. package/fesm2022/radix-ng-primitives-checkbox.mjs +16 -16
  17. package/fesm2022/radix-ng-primitives-checkbox.mjs.map +1 -1
  18. package/fesm2022/radix-ng-primitives-collapsible.mjs +9 -9
  19. package/fesm2022/radix-ng-primitives-collapsible.mjs.map +1 -1
  20. package/fesm2022/radix-ng-primitives-context-menu.mjs +34 -34
  21. package/fesm2022/radix-ng-primitives-context-menu.mjs.map +1 -1
  22. package/fesm2022/radix-ng-primitives-core.mjs +211 -236
  23. package/fesm2022/radix-ng-primitives-core.mjs.map +1 -1
  24. package/fesm2022/radix-ng-primitives-dialog.mjs +31 -26
  25. package/fesm2022/radix-ng-primitives-dialog.mjs.map +1 -1
  26. package/fesm2022/radix-ng-primitives-dropdown-menu.mjs +34 -34
  27. package/fesm2022/radix-ng-primitives-dropdown-menu.mjs.map +1 -1
  28. package/fesm2022/radix-ng-primitives-label.mjs +3 -3
  29. package/fesm2022/radix-ng-primitives-label.mjs.map +1 -1
  30. package/fesm2022/radix-ng-primitives-menu.mjs +22 -22
  31. package/fesm2022/radix-ng-primitives-menu.mjs.map +1 -1
  32. package/fesm2022/radix-ng-primitives-menubar.mjs +31 -31
  33. package/fesm2022/radix-ng-primitives-menubar.mjs.map +1 -1
  34. package/fesm2022/radix-ng-primitives-popover.mjs +61 -256
  35. package/fesm2022/radix-ng-primitives-popover.mjs.map +1 -1
  36. package/fesm2022/radix-ng-primitives-progress.mjs +10 -10
  37. package/fesm2022/radix-ng-primitives-progress.mjs.map +1 -1
  38. package/fesm2022/radix-ng-primitives-radio.mjs +12 -12
  39. package/fesm2022/radix-ng-primitives-radio.mjs.map +1 -1
  40. package/fesm2022/radix-ng-primitives-roving-focus.mjs +6 -6
  41. package/fesm2022/radix-ng-primitives-roving-focus.mjs.map +1 -1
  42. package/fesm2022/radix-ng-primitives-select.mjs +34 -35
  43. package/fesm2022/radix-ng-primitives-select.mjs.map +1 -1
  44. package/fesm2022/radix-ng-primitives-separator.mjs +3 -3
  45. package/fesm2022/radix-ng-primitives-separator.mjs.map +1 -1
  46. package/fesm2022/radix-ng-primitives-slider.mjs +31 -34
  47. package/fesm2022/radix-ng-primitives-slider.mjs.map +1 -1
  48. package/fesm2022/radix-ng-primitives-switch.mjs +18 -15
  49. package/fesm2022/radix-ng-primitives-switch.mjs.map +1 -1
  50. package/fesm2022/radix-ng-primitives-tabs.mjs +16 -16
  51. package/fesm2022/radix-ng-primitives-tabs.mjs.map +1 -1
  52. package/fesm2022/radix-ng-primitives-toggle-group.mjs +9 -9
  53. package/fesm2022/radix-ng-primitives-toggle-group.mjs.map +1 -1
  54. package/fesm2022/radix-ng-primitives-toggle.mjs +6 -6
  55. package/fesm2022/radix-ng-primitives-toggle.mjs.map +1 -1
  56. package/fesm2022/radix-ng-primitives-tooltip.mjs +143 -242
  57. package/fesm2022/radix-ng-primitives-tooltip.mjs.map +1 -1
  58. package/fesm2022/radix-ng-primitives-visually-hidden.mjs +9 -9
  59. package/fesm2022/radix-ng-primitives-visually-hidden.mjs.map +1 -1
  60. package/package.json +3 -57
  61. package/popover/index.d.ts +0 -1
  62. package/popover/src/popover-arrow.directive.d.ts +3 -4
  63. package/popover/src/popover-content.directive.d.ts +3 -3
  64. package/popover/src/popover-root.directive.d.ts +5 -4
  65. package/popover/src/popover.constants.d.ts +0 -2
  66. package/popover/src/popover.types.d.ts +0 -31
  67. package/popover/src/utils/cdk-event.service.d.ts +1 -0
  68. package/switch/src/switch-root.directive.d.ts +4 -1
  69. package/tooltip/src/tooltip-arrow.directive.d.ts +14 -1
  70. package/tooltip/src/tooltip-content.directive.d.ts +4 -5
  71. package/tooltip/src/tooltip-root.directive.d.ts +6 -3
  72. package/tooltip/src/tooltip.types.d.ts +0 -11
  73. package/core/src/control-value-accessor/index.d.ts +0 -75
  74. package/core/src/create-inject-context/assert-injector.d.ts +0 -51
  75. package/core/src/create-inject-context/index.d.ts +0 -68
  76. package/core/src/types.d.ts +0 -23
  77. package/esm2022/accordion/index.mjs +0 -40
  78. package/esm2022/accordion/radix-ng-primitives-accordion.mjs +0 -5
  79. package/esm2022/accordion/src/accordion-content.directive.mjs +0 -42
  80. package/esm2022/accordion/src/accordion-header.directive.mjs +0 -23
  81. package/esm2022/accordion/src/accordion-item.directive.mjs +0 -196
  82. package/esm2022/accordion/src/accordion-root.directive.mjs +0 -200
  83. package/esm2022/accordion/src/accordion-trigger.directive.mjs +0 -42
  84. package/esm2022/alert-dialog/index.mjs +0 -41
  85. package/esm2022/alert-dialog/radix-ng-primitives-alert-dialog.mjs +0 -5
  86. package/esm2022/alert-dialog/src/alert-dialog-cancel.directive.mjs +0 -24
  87. package/esm2022/alert-dialog/src/alert-dialog-content.directive.mjs +0 -34
  88. package/esm2022/alert-dialog/src/alert-dialog-root.directive.mjs +0 -24
  89. package/esm2022/alert-dialog/src/alert-dialog-title.directive.mjs +0 -14
  90. package/esm2022/alert-dialog/src/alert-dialog-trigger.directive.mjs +0 -24
  91. package/esm2022/alert-dialog/src/alert-dialog.service.mjs +0 -46
  92. package/esm2022/aspect-ratio/index.mjs +0 -2
  93. package/esm2022/aspect-ratio/radix-ng-primitives-aspect-ratio.mjs +0 -5
  94. package/esm2022/aspect-ratio/src/aspect-ratio.directive.mjs +0 -57
  95. package/esm2022/avatar/index.mjs +0 -31
  96. package/esm2022/avatar/radix-ng-primitives-avatar.mjs +0 -5
  97. package/esm2022/avatar/src/avatar-fallback.directive.mjs +0 -67
  98. package/esm2022/avatar/src/avatar-image.directive.mjs +0 -65
  99. package/esm2022/avatar/src/avatar-root.directive.mjs +0 -26
  100. package/esm2022/avatar/src/avatar.config.mjs +0 -17
  101. package/esm2022/checkbox/index.mjs +0 -36
  102. package/esm2022/checkbox/radix-ng-primitives-checkbox.mjs +0 -5
  103. package/esm2022/checkbox/src/checkbox-button.directive.mjs +0 -33
  104. package/esm2022/checkbox/src/checkbox-indicator.directive.mjs +0 -24
  105. package/esm2022/checkbox/src/checkbox-input.directive.mjs +0 -44
  106. package/esm2022/checkbox/src/checkbox.directive.mjs +0 -141
  107. package/esm2022/checkbox/src/checkbox.token.mjs +0 -6
  108. package/esm2022/collapsible/index.mjs +0 -4
  109. package/esm2022/collapsible/radix-ng-primitives-collapsible.mjs +0 -5
  110. package/esm2022/collapsible/src/collapsible-content.directive.mjs +0 -42
  111. package/esm2022/collapsible/src/collapsible-content.token.mjs +0 -3
  112. package/esm2022/collapsible/src/collapsible-root.directive.mjs +0 -127
  113. package/esm2022/collapsible/src/collapsible-trigger.directive.mjs +0 -49
  114. package/esm2022/context-menu/index.mjs +0 -65
  115. package/esm2022/context-menu/radix-ng-primitives-context-menu.mjs +0 -5
  116. package/esm2022/context-menu/src/context-menu-content.directive.mjs +0 -56
  117. package/esm2022/context-menu/src/context-menu-item-checkbox.directive.mjs +0 -39
  118. package/esm2022/context-menu/src/context-menu-item-indicator.directive.mjs +0 -22
  119. package/esm2022/context-menu/src/context-menu-item-radio-group.directive.mjs +0 -37
  120. package/esm2022/context-menu/src/context-menu-item-radio.directive.mjs +0 -67
  121. package/esm2022/context-menu/src/context-menu-item-selectable.mjs +0 -31
  122. package/esm2022/context-menu/src/context-menu-item.directive.mjs +0 -70
  123. package/esm2022/context-menu/src/context-menu-label.directive.mjs +0 -14
  124. package/esm2022/context-menu/src/context-menu-separator.directive.mjs +0 -21
  125. package/esm2022/context-menu/src/context-menu-trigger.directive.mjs +0 -92
  126. package/esm2022/core/index.mjs +0 -11
  127. package/esm2022/core/radix-ng-primitives-core.mjs +0 -5
  128. package/esm2022/core/src/accessor/provide-value-accessor.mjs +0 -19
  129. package/esm2022/core/src/auto-focus.directive.mjs +0 -80
  130. package/esm2022/core/src/control-value-accessor/index.mjs +0 -103
  131. package/esm2022/core/src/create-inject-context/assert-injector.mjs +0 -15
  132. package/esm2022/core/src/create-inject-context/index.mjs +0 -116
  133. package/esm2022/core/src/document.mjs +0 -6
  134. package/esm2022/core/src/id-generator.mjs +0 -43
  135. package/esm2022/core/src/inject-ng-control.mjs +0 -17
  136. package/esm2022/core/src/is-client.mjs +0 -6
  137. package/esm2022/core/src/is-inside-form.mjs +0 -7
  138. package/esm2022/core/src/types.mjs +0 -2
  139. package/esm2022/core/src/window.mjs +0 -15
  140. package/esm2022/dialog/index.mjs +0 -50
  141. package/esm2022/dialog/radix-ng-primitives-dialog.mjs +0 -5
  142. package/esm2022/dialog/src/dialog-close.directive.mjs +0 -25
  143. package/esm2022/dialog/src/dialog-content.directive.mjs +0 -46
  144. package/esm2022/dialog/src/dialog-description.directive.mjs +0 -14
  145. package/esm2022/dialog/src/dialog-dismiss.directive.mjs +0 -25
  146. package/esm2022/dialog/src/dialog-ref.mjs +0 -46
  147. package/esm2022/dialog/src/dialog-title.directive.mjs +0 -14
  148. package/esm2022/dialog/src/dialog-trigger.directive.mjs +0 -54
  149. package/esm2022/dialog/src/dialog.config.mjs +0 -6
  150. package/esm2022/dialog/src/dialog.injectors.mjs +0 -10
  151. package/esm2022/dialog/src/dialog.providers.mjs +0 -26
  152. package/esm2022/dialog/src/dialog.service.mjs +0 -96
  153. package/esm2022/dropdown-menu/index.mjs +0 -68
  154. package/esm2022/dropdown-menu/radix-ng-primitives-dropdown-menu.mjs +0 -5
  155. package/esm2022/dropdown-menu/src/dropdown-menu-content.directive.mjs +0 -56
  156. package/esm2022/dropdown-menu/src/dropdown-menu-item-checkbox.directive.mjs +0 -39
  157. package/esm2022/dropdown-menu/src/dropdown-menu-item-indicator.directive.mjs +0 -22
  158. package/esm2022/dropdown-menu/src/dropdown-menu-item-radio-group.directive.mjs +0 -37
  159. package/esm2022/dropdown-menu/src/dropdown-menu-item-radio.directive.mjs +0 -67
  160. package/esm2022/dropdown-menu/src/dropdown-menu-item-selectable.mjs +0 -31
  161. package/esm2022/dropdown-menu/src/dropdown-menu-item.directive.mjs +0 -73
  162. package/esm2022/dropdown-menu/src/dropdown-menu-label.directive.mjs +0 -14
  163. package/esm2022/dropdown-menu/src/dropdown-menu-separator.directive.mjs +0 -21
  164. package/esm2022/dropdown-menu/src/dropdown-menu-trigger.directive.mjs +0 -210
  165. package/esm2022/index.mjs +0 -2
  166. package/esm2022/label/index.mjs +0 -2
  167. package/esm2022/label/radix-ng-primitives-label.mjs +0 -5
  168. package/esm2022/label/src/label.directive.mjs +0 -57
  169. package/esm2022/menu/index.mjs +0 -45
  170. package/esm2022/menu/radix-ng-primitives-menu.mjs +0 -5
  171. package/esm2022/menu/src/menu-content.directive.mjs +0 -17
  172. package/esm2022/menu/src/menu-directive.mjs +0 -18
  173. package/esm2022/menu/src/menu-group.directive.mjs +0 -20
  174. package/esm2022/menu/src/menu-item.directive.mjs +0 -46
  175. package/esm2022/menu/src/menu-label.directive.mjs +0 -14
  176. package/esm2022/menu/src/menu-separator.directive.mjs +0 -21
  177. package/esm2022/menubar/index.mjs +0 -60
  178. package/esm2022/menubar/radix-ng-primitives-menubar.mjs +0 -5
  179. package/esm2022/menubar/src/menubar-content.directive.mjs +0 -17
  180. package/esm2022/menubar/src/menubar-item-checkbox.directive.mjs +0 -34
  181. package/esm2022/menubar/src/menubar-item-indicator.directive.mjs +0 -17
  182. package/esm2022/menubar/src/menubar-item-radio.directive.mjs +0 -35
  183. package/esm2022/menubar/src/menubar-item.directive.mjs +0 -20
  184. package/esm2022/menubar/src/menubar-radio-group.directive.mjs +0 -17
  185. package/esm2022/menubar/src/menubar-root.directive.mjs +0 -24
  186. package/esm2022/menubar/src/menubar-separator.directive.mjs +0 -17
  187. package/esm2022/menubar/src/menubar-trigger.directive.mjs +0 -45
  188. package/esm2022/popover/index.mjs +0 -51
  189. package/esm2022/popover/radix-ng-primitives-popover.mjs +0 -5
  190. package/esm2022/popover/src/popover-anchor.directive.mjs +0 -75
  191. package/esm2022/popover/src/popover-anchor.token.mjs +0 -3
  192. package/esm2022/popover/src/popover-arrow.directive.mjs +0 -117
  193. package/esm2022/popover/src/popover-arrow.token.mjs +0 -3
  194. package/esm2022/popover/src/popover-close.directive.mjs +0 -49
  195. package/esm2022/popover/src/popover-close.token.mjs +0 -3
  196. package/esm2022/popover/src/popover-content-attributes.component.mjs +0 -70
  197. package/esm2022/popover/src/popover-content-attributes.token.mjs +0 -3
  198. package/esm2022/popover/src/popover-content.directive.mjs +0 -270
  199. package/esm2022/popover/src/popover-root.directive.mjs +0 -320
  200. package/esm2022/popover/src/popover-root.inject.mjs +0 -7
  201. package/esm2022/popover/src/popover-trigger.directive.mjs +0 -41
  202. package/esm2022/popover/src/popover.constants.mjs +0 -90
  203. package/esm2022/popover/src/popover.types.mjs +0 -31
  204. package/esm2022/popover/src/popover.utils.mjs +0 -107
  205. package/esm2022/popover/src/utils/cdk-event.service.mjs +0 -153
  206. package/esm2022/popover/src/utils/constants.mjs +0 -2
  207. package/esm2022/popover/src/utils/types.mjs +0 -2
  208. package/esm2022/progress/index.mjs +0 -25
  209. package/esm2022/progress/radix-ng-primitives-progress.mjs +0 -5
  210. package/esm2022/progress/src/progress-indicator.directive.mjs +0 -33
  211. package/esm2022/progress/src/progress-root.directive.mjs +0 -132
  212. package/esm2022/radio/index.mjs +0 -5
  213. package/esm2022/radio/radix-ng-primitives-radio.mjs +0 -5
  214. package/esm2022/radio/src/radio-indicator.directive.mjs +0 -25
  215. package/esm2022/radio/src/radio-item-input.directive.mjs +0 -37
  216. package/esm2022/radio/src/radio-item.directive.mjs +0 -86
  217. package/esm2022/radio/src/radio-root.directive.mjs +0 -104
  218. package/esm2022/radio/src/radio-tokens.mjs +0 -3
  219. package/esm2022/radix-ng-primitives.mjs +0 -5
  220. package/esm2022/roving-focus/index.mjs +0 -3
  221. package/esm2022/roving-focus/radix-ng-primitives-roving-focus.mjs +0 -5
  222. package/esm2022/roving-focus/src/roving-focus-group.directive.mjs +0 -138
  223. package/esm2022/roving-focus/src/roving-focus-item.directive.mjs +0 -133
  224. package/esm2022/roving-focus/src/utils.mjs +0 -47
  225. package/esm2022/select/index.mjs +0 -65
  226. package/esm2022/select/radix-ng-primitives-select.mjs +0 -5
  227. package/esm2022/select/src/select-content.directive.mjs +0 -53
  228. package/esm2022/select/src/select-group.directive.mjs +0 -18
  229. package/esm2022/select/src/select-icon.directive.mjs +0 -18
  230. package/esm2022/select/src/select-item-indicator.directive.mjs +0 -23
  231. package/esm2022/select/src/select-item.directive.mjs +0 -122
  232. package/esm2022/select/src/select-label.directive.mjs +0 -15
  233. package/esm2022/select/src/select-separator.directive.mjs +0 -18
  234. package/esm2022/select/src/select-trigger.directive.mjs +0 -38
  235. package/esm2022/select/src/select-value.directive.mjs +0 -21
  236. package/esm2022/select/src/select.component.mjs +0 -234
  237. package/esm2022/separator/index.mjs +0 -2
  238. package/esm2022/separator/radix-ng-primitives-separator.mjs +0 -5
  239. package/esm2022/separator/src/separator.directive.mjs +0 -61
  240. package/esm2022/slider/index.mjs +0 -28
  241. package/esm2022/slider/radix-ng-primitives-slider.mjs +0 -5
  242. package/esm2022/slider/src/slider-horizontal.component.mjs +0 -117
  243. package/esm2022/slider/src/slider-impl.directive.mjs +0 -89
  244. package/esm2022/slider/src/slider-orientation-context.service.mjs +0 -27
  245. package/esm2022/slider/src/slider-range.component.mjs +0 -41
  246. package/esm2022/slider/src/slider-root.component.mjs +0 -210
  247. package/esm2022/slider/src/slider-thumb-impl.directive.mjs +0 -106
  248. package/esm2022/slider/src/slider-thumb.component.mjs +0 -22
  249. package/esm2022/slider/src/slider-track.component.mjs +0 -27
  250. package/esm2022/slider/src/slider-vertical.component.mjs +0 -117
  251. package/esm2022/slider/src/utils.mjs +0 -94
  252. package/esm2022/switch/index.mjs +0 -30
  253. package/esm2022/switch/radix-ng-primitives-switch.mjs +0 -5
  254. package/esm2022/switch/src/switch-input.directive.mjs +0 -44
  255. package/esm2022/switch/src/switch-root.directive.mjs +0 -145
  256. package/esm2022/switch/src/switch-thumb.directive.mjs +0 -26
  257. package/esm2022/tabs/index.mjs +0 -35
  258. package/esm2022/tabs/radix-ng-primitives-tabs.mjs +0 -5
  259. package/esm2022/tabs/src/tabs-content.directive.mjs +0 -35
  260. package/esm2022/tabs/src/tabs-list.directive.mjs +0 -26
  261. package/esm2022/tabs/src/tabs-root.directive.mjs +0 -57
  262. package/esm2022/tabs/src/tabs-trigger.directive.mjs +0 -78
  263. package/esm2022/tabs/src/utils.mjs +0 -7
  264. package/esm2022/toggle/index.mjs +0 -3
  265. package/esm2022/toggle/radix-ng-primitives-toggle.mjs +0 -5
  266. package/esm2022/toggle/src/toggle-visually-hidden-input.directive.mjs +0 -31
  267. package/esm2022/toggle/src/toggle.directive.mjs +0 -79
  268. package/esm2022/toggle-group/index.mjs +0 -6
  269. package/esm2022/toggle-group/radix-ng-primitives-toggle-group.mjs +0 -5
  270. package/esm2022/toggle-group/src/toggle-group-item.directive.mjs +0 -85
  271. package/esm2022/toggle-group/src/toggle-group-item.token.mjs +0 -3
  272. package/esm2022/toggle-group/src/toggle-group-multiple.directive.mjs +0 -185
  273. package/esm2022/toggle-group/src/toggle-group.directive.mjs +0 -179
  274. package/esm2022/toggle-group/src/toggle-group.token.mjs +0 -6
  275. package/esm2022/tooltip/index.mjs +0 -41
  276. package/esm2022/tooltip/radix-ng-primitives-tooltip.mjs +0 -5
  277. package/esm2022/tooltip/src/get-content-position.mjs +0 -31
  278. package/esm2022/tooltip/src/tooltip-arrow.directive.mjs +0 -92
  279. package/esm2022/tooltip/src/tooltip-arrow.token.mjs +0 -3
  280. package/esm2022/tooltip/src/tooltip-content-attributes.directive.mjs +0 -24
  281. package/esm2022/tooltip/src/tooltip-content.directive.mjs +0 -48
  282. package/esm2022/tooltip/src/tooltip-content.token.mjs +0 -3
  283. package/esm2022/tooltip/src/tooltip-root.directive.mjs +0 -288
  284. package/esm2022/tooltip/src/tooltip-trigger.directive.mjs +0 -70
  285. package/esm2022/tooltip/src/tooltip.config.mjs +0 -18
  286. package/esm2022/tooltip/src/tooltip.constants.mjs +0 -84
  287. package/esm2022/tooltip/src/tooltip.types.mjs +0 -14
  288. package/esm2022/visually-hidden/index.mjs +0 -4
  289. package/esm2022/visually-hidden/radix-ng-primitives-visually-hidden.mjs +0 -5
  290. package/esm2022/visually-hidden/src/visually-hidden-input-bubble.directive.mjs +0 -74
  291. package/esm2022/visually-hidden/src/visually-hidden-input.directive.mjs +0 -74
  292. package/esm2022/visually-hidden/src/visually-hidden.directive.mjs +0 -42
  293. package/tooltip/src/get-content-position.d.ts +0 -3
  294. package/tooltip/src/tooltip.constants.d.ts +0 -9
@@ -67,9 +67,10 @@ export declare class RdxPopoverRootDirective {
67
67
  destroyRef: DestroyRef;
68
68
  ngZone: import("@angular/core").NgZone;
69
69
  renderer2: import("@angular/core").Renderer2;
70
+ window: Window & typeof globalThis;
70
71
  primitiveConfigs?: import("./utils/types").PrimitiveConfigs;
71
72
  onDestroyCallbacks: Set<() => void>;
72
- "__#6336@#clickDomRootEventCallbacks": Set<(event: MouseEvent) => void>;
73
+ "__#6158@#clickDomRootEventCallbacks": Set<(event: MouseEvent) => void>;
73
74
  registerPrimitive<T extends object>(primitiveInstance: T): void;
74
75
  deregisterPrimitive<T extends object>(primitiveInstance: T): void;
75
76
  preventPrimitiveFromCdkEvent<T extends object>(primitiveInstance: T, eventType: import("./utils/types").EventType): void;
@@ -80,9 +81,9 @@ export declare class RdxPopoverRootDirective {
80
81
  primitivePreventedFromCdkEvent<T extends object>(primitiveInstance: T, eventType: import("./utils/types").EventType): boolean | undefined;
81
82
  addClickDomRootEventCallback(callback: (event: MouseEvent) => void): void;
82
83
  removeClickDomRootEventCallback(callback: (event: MouseEvent) => void): boolean;
83
- "__#6336@#setPreventPrimitiveFromCdkEvent"<T extends object, R extends import("./utils/types").EventType, K extends import("./utils/types").PrimitiveConfig[`prevent${Capitalize<R>}`]>(primitiveInstance: T, eventType: R, value: K): void;
84
- "__#6336@#registerOnDestroyCallbacks"(): void;
85
- "__#6336@#listenToClickDomRootEvent"(): void;
84
+ "__#6158@#setPreventPrimitiveFromCdkEvent"<T extends object, R extends import("./utils/types").EventType, K extends import("./utils/types").PrimitiveConfig[`prevent${Capitalize<R>}`]>(primitiveInstance: T, eventType: R, value: K): void;
85
+ "__#6158@#registerOnDestroyCallbacks"(): void;
86
+ "__#6158@#listenToClickDomRootEvent"(): void;
86
87
  } | null;
87
88
  /** @ignore */
88
89
  readonly destroyRef: DestroyRef;
@@ -1,5 +1,3 @@
1
- import { RdxPopoverPositions } from './popover.types';
2
- export declare const POPOVER_POSITIONS: RdxPopoverPositions;
3
1
  export declare const DEFAULTS: {
4
2
  readonly offsets: {
5
3
  readonly side: 10;
@@ -1,15 +1,3 @@
1
- import { ConnectionPositionPair } from '@angular/cdk/overlay';
2
- export declare enum RdxPopoverSide {
3
- Top = "top",
4
- Right = "right",
5
- Bottom = "bottom",
6
- Left = "left"
7
- }
8
- export declare enum RdxPopoverAlign {
9
- Start = "start",
10
- Center = "center",
11
- End = "end"
12
- }
13
1
  export declare enum RdxPopoverState {
14
2
  OPEN = "open",
15
3
  CLOSED = "closed"
@@ -24,22 +12,3 @@ export declare enum RdxPopoverAnimationStatus {
24
12
  CLOSED_STARTED = "closed_started",
25
13
  CLOSED_ENDED = "closed_ended"
26
14
  }
27
- export type RdxSideAndAlign = {
28
- side: RdxPopoverSide;
29
- align: RdxPopoverAlign;
30
- };
31
- export type RdxSideAndAlignOffsets = {
32
- sideOffset: number;
33
- alignOffset: number;
34
- };
35
- export type RdxPopoverPositions = {
36
- [key in RdxPopoverSide]: {
37
- [key in RdxPopoverAlign]: ConnectionPositionPair;
38
- };
39
- };
40
- export type RdxAllPossibleConnectedPositions = ReadonlyMap<`${RdxPopoverSide}|${RdxPopoverAlign}`, ConnectionPositionPair>;
41
- export type RdxArrowPositionParams = {
42
- top: string;
43
- left: string;
44
- transform: string;
45
- };
@@ -7,6 +7,7 @@ declare class RdxCdkEventService {
7
7
  destroyRef: DestroyRef;
8
8
  ngZone: NgZone;
9
9
  renderer2: Renderer2;
10
+ window: Window & typeof globalThis;
10
11
  primitiveConfigs?: PrimitiveConfigs;
11
12
  onDestroyCallbacks: Set<() => void>;
12
13
  constructor();
@@ -26,11 +26,13 @@ export declare class RdxSwitchRootDirective implements SwitchProps, ControlValue
26
26
  */
27
27
  readonly required: InputSignalWithTransform<boolean, BooleanInput>;
28
28
  /**
29
+ * Establishes relationships between the component and label(s) where its value should be one or more element IDs.
29
30
  * @default null
30
31
  * @group Props
31
32
  */
32
33
  readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
33
34
  /**
35
+ * Used to define a string that autocomplete attribute the current element.
34
36
  * @default null
35
37
  * @group Props
36
38
  */
@@ -42,6 +44,7 @@ export declare class RdxSwitchRootDirective implements SwitchProps, ControlValue
42
44
  */
43
45
  readonly checked: ModelSignal<boolean>;
44
46
  /**
47
+ * The state of the switch when it is initially rendered. Use when you do not need to control its state.
45
48
  * @default false
46
49
  * @group Props
47
50
  */
@@ -53,7 +56,7 @@ export declare class RdxSwitchRootDirective implements SwitchProps, ControlValue
53
56
  */
54
57
  readonly checkedState: import("@angular/core").Signal<boolean>;
55
58
  /**
56
- * When true, prevents the user from interacting with the switch.
59
+ * When `true`, prevents the user from interacting with the switch.
57
60
  * @default false
58
61
  * @group Props
59
62
  */
@@ -1,5 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class RdxTooltipArrowDirective {
3
+ /** @ignore */
4
+ readonly tooltipRoot: import("./tooltip-root.directive").RdxTooltipRootDirective;
3
5
  /** @ignore */
4
6
  private readonly renderer;
5
7
  /** @ignore */
@@ -14,12 +16,23 @@ export declare class RdxTooltipArrowDirective {
14
16
  * The height of the arrow in pixels.
15
17
  */
16
18
  readonly height: import("@angular/core").InputSignal<number>;
19
+ /**
20
+ * @ignore
21
+ * */
22
+ private triggerRect;
23
+ /** @ignore */
24
+ private readonly currentArrowSvgElement;
17
25
  /** @ignore */
18
26
  readonly arrowSvgElement: import("@angular/core").Signal<HTMLElement>;
27
+ constructor();
28
+ /** @ignore */
29
+ private setTriggerRect;
30
+ /** @ignore */
31
+ private setPosition;
19
32
  /** @ignore */
20
33
  private readonly onArrowSvgElementChangeEffect;
21
34
  /** @ignore */
22
- private readonly onSideChangeEffect;
35
+ private readonly onContentPositionAndArrowDimensionsChangeEffect;
23
36
  static ɵfac: i0.ɵɵFactoryDeclaration<RdxTooltipArrowDirective, never>;
24
37
  static ɵdir: i0.ɵɵDirectiveDeclaration<RdxTooltipArrowDirective, "[rdxTooltipArrow]", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
25
38
  }
@@ -1,6 +1,5 @@
1
- import { ConnectedPosition } from '@angular/cdk/overlay';
2
1
  import { TemplateRef } from '@angular/core';
3
- import { RdxTooltipAlign, RdxTooltipSide } from './tooltip.types';
2
+ import { RdxPositionAlign, RdxPositionSide } from '@radix-ng/primitives/core';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class RdxTooltipContentDirective {
6
5
  /** @ignore */
@@ -8,7 +7,7 @@ export declare class RdxTooltipContentDirective {
8
7
  /**
9
8
  * The preferred side of the trigger to render against when open. Will be reversed when collisions occur and avoidCollisions is enabled.
10
9
  */
11
- readonly side: import("@angular/core").InputSignal<RdxTooltipSide>;
10
+ readonly side: import("@angular/core").InputSignal<RdxPositionSide>;
12
11
  /**
13
12
  * The distance in pixels from the trigger.
14
13
  */
@@ -16,13 +15,13 @@ export declare class RdxTooltipContentDirective {
16
15
  /**
17
16
  * The preferred alignment against the trigger. May change when collisions occur.
18
17
  */
19
- readonly align: import("@angular/core").InputSignal<RdxTooltipAlign>;
18
+ readonly align: import("@angular/core").InputSignal<RdxPositionAlign>;
20
19
  /**
21
20
  * An offset in pixels from the "start" or "end" alignment options.
22
21
  */
23
22
  readonly alignOffset: import("@angular/core").InputSignal<number>;
24
23
  /** @ingore */
25
- readonly position: import("@angular/core").Signal<ConnectedPosition>;
24
+ readonly position: import("@angular/core").Signal<import("@angular/cdk/overlay").ConnectedPosition>;
26
25
  /**
27
26
  * Event handler called when the escape key is down. It can be prevented by calling event.preventDefault.
28
27
  */
@@ -1,4 +1,5 @@
1
- import { ElementRef, InjectionToken, OnInit } from '@angular/core';
1
+ import { InjectionToken, OnInit } from '@angular/core';
2
+ import { RdxTooltipTriggerDirective } from './tooltip-trigger.directive';
2
3
  import { RdxTooltipState } from './tooltip.types';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare const RdxTooltipRootToken: InjectionToken<RdxTooltipRootDirective>;
@@ -15,6 +16,8 @@ export declare class RdxTooltipRootDirective implements OnInit {
15
16
  /** @ignore */
16
17
  private readonly document;
17
18
  /** @ignore */
19
+ private readonly window;
20
+ /** @ignore */
18
21
  readonly tooltipConfig: import("./tooltip.types").RdxTooltipConfig;
19
22
  /**
20
23
  * The open state of the tooltip when it is initially rendered. Use when you do not need to control its open state.
@@ -45,7 +48,7 @@ export declare class RdxTooltipRootDirective implements OnInit {
45
48
  /** @ignore */
46
49
  readonly tooltipContentDirective: import("@angular/core").Signal<import("@radix-ng/primitives/tooltip").RdxTooltipContentDirective>;
47
50
  /** @ignore */
48
- readonly tooltipTriggerElementRef: import("@angular/core").Signal<ElementRef<any>>;
51
+ readonly tooltipTriggerDirective: import("@angular/core").Signal<RdxTooltipTriggerDirective>;
49
52
  /** @ignore */
50
53
  private openTimer;
51
54
  /** @ignore */
@@ -99,5 +102,5 @@ export declare class RdxTooltipRootDirective implements OnInit {
99
102
  /** @ignore */
100
103
  private readonly onOpenChangeEffect;
101
104
  static ɵfac: i0.ɵɵFactoryDeclaration<RdxTooltipRootDirective, never>;
102
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxTooltipRootDirective, "[rdxTooltipRoot]", ["rdxTooltipRoot"], { "defaultOpen": { "alias": "defaultOpen"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "delayDuration": { "alias": "delayDuration"; "required": false; "isSignal": true; }; "disableHoverableContent": { "alias": "disableHoverableContent"; "required": false; "isSignal": true; }; }, { "onOpenChange": "onOpenChange"; }, ["tooltipContentDirective", "tooltipTriggerElementRef"], never, true, never>;
105
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RdxTooltipRootDirective, "[rdxTooltipRoot]", ["rdxTooltipRoot"], { "defaultOpen": { "alias": "defaultOpen"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "delayDuration": { "alias": "delayDuration"; "required": false; "isSignal": true; }; "disableHoverableContent": { "alias": "disableHoverableContent"; "required": false; "isSignal": true; }; }, { "onOpenChange": "onOpenChange"; }, ["tooltipContentDirective", "tooltipTriggerDirective"], never, true, never>;
103
106
  }
@@ -1,14 +1,3 @@
1
- export declare enum RdxTooltipSide {
2
- Top = "top",
3
- Right = "right",
4
- Bottom = "bottom",
5
- Left = "left"
6
- }
7
- export declare enum RdxTooltipAlign {
8
- Start = "start",
9
- Center = "center",
10
- End = "end"
11
- }
12
1
  export type RdxTooltipConfig = {
13
2
  delayDuration: number;
14
3
  skipDelayDuration: number;
@@ -1,75 +0,0 @@
1
- /**
2
- * Based On:
3
- * Copyright (c) flebee Authors. Licensed under the MIT License.
4
- */
5
- import { BooleanInput } from '@angular/cdk/coercion';
6
- import { Injector } from '@angular/core';
7
- import { ControlValueAccessor } from '@angular/forms';
8
- import * as i0 from "@angular/core";
9
- export type RdxControlValueAccessorCompareTo<T = any> = (a?: T, b?: T) => boolean;
10
- export declare const injectCvaCompareTo: {
11
- (): RdxControlValueAccessorCompareTo<any>;
12
- (injectOptions: import("@angular/core").InjectOptions & {
13
- optional?: false;
14
- } & {
15
- injector?: Injector;
16
- }): RdxControlValueAccessorCompareTo<any>;
17
- (injectOptions: import("@angular/core").InjectOptions & {
18
- injector?: Injector;
19
- }): RdxControlValueAccessorCompareTo<any> | null;
20
- }, provideCvaCompareTo: (() => import("@angular/core").Provider) & ((value: RdxControlValueAccessorCompareTo<any> | (() => RdxControlValueAccessorCompareTo<any>), isFunctionValue: boolean) => import("@angular/core").Provider);
21
- /**
22
- * Provides a {@link RdxControlValueAccessorCompareTo comparator} based on a property of `T`.
23
- *
24
- * @example
25
- * ```ts
26
- * interface User {
27
- * id: string;
28
- * name: string;
29
- * }
30
- *
31
- * provideCvaCompareToByProp<User>('id');
32
- * ```
33
- */
34
- export declare const provideCvaCompareToByProp: <T>(prop: keyof T) => import("@angular/core").Provider;
35
- export declare class RdxControlValueAccessor<Value> implements ControlValueAccessor {
36
- private readonly ngControl;
37
- private readonly destroyRef;
38
- private readonly injector;
39
- /**
40
- * A comparator, which determines value changes. Should return true, if two values are considered semantic equal.
41
- *
42
- * Defaults to {@link Object.is} in order to align with change detection behavior for inputs.
43
- */
44
- readonly compareTo: RdxControlValueAccessorCompareTo<Value>;
45
- /** Whether this is disabled. If a control is present, it reflects it's disabled state. */
46
- inputDisabled: import("@angular/core").ModelSignal<BooleanInput>;
47
- disabled: import("@angular/core").Signal<boolean>;
48
- /** The value of this. If a control is present, it reflects it's value. */
49
- value: import("@angular/core").ModelSignal<Value>;
50
- /**
51
- * `NgModel` sets up the control in `ngOnChanges`. Idk if bug or on purpose, but `writeValue` and `setDisabledState` are called before the inputs are set.
52
- * {@link https://github.com/angular/angular/blob/main/packages/forms/src/directives/ng_model.ts#L223}
53
- *
54
- * @ignore
55
- */
56
- private get registered();
57
- constructor();
58
- private _onChange;
59
- private _onTouched;
60
- /**
61
- * This function should be called when this host is considered `touched`.
62
- *
63
- * NOTE: Whenever a `blur` event is triggered on this host, this function is called.
64
- *
65
- * @see {@link RdxControlValueAccessor.registerOnTouched}
66
- * @see {@link RdxControlValueAccessor._ngControl}
67
- */
68
- markAsTouched(): void;
69
- setDisabledState(disabled: boolean): void;
70
- writeValue(value: Value): void;
71
- registerOnChange(onChange: (value: Value) => void): void;
72
- registerOnTouched(onTouched: () => void): void;
73
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxControlValueAccessor<any>, never>;
74
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxControlValueAccessor<any>, never, never, { "inputDisabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "inputDisabled": "disabledChange"; "value": "valueChange"; }, never, never, true, never>;
75
- }
@@ -1,51 +0,0 @@
1
- /**
2
- * This code is adapted from the original implementation by the ngxTension team.
3
- * Source: https://github.com/ngxtension/ngxtension-platform/blob/main/libs/ngxtension/assert-injector/src/assert-injector.ts
4
- *
5
- * Copyright (c) ngxtension Authors. Licensed under the MIT License.
6
- */
7
- import { Injector } from '@angular/core';
8
- import { Nullable, SafeFunction } from '../types';
9
- /**
10
- * `assertInjector` extends `assertInInjectionContext` with an optional `Injector`
11
- * After assertion, `assertInjector` runs the `runner` function with the guaranteed `Injector`
12
- * whether it is the default `Injector` within the current **Injection Context**
13
- * or the custom `Injector` that was passed in.
14
- *
15
- * @template {() => unknown} Runner - Runner is a function that can return anything
16
- * @param {SafeFunction} fn - the Function to pass in `assertInInjectionContext`
17
- * @param {Nullable<Injector>} injector - the optional "custom" Injector
18
- * @param {Runner} runner - the runner fn
19
- * @returns {ReturnType<Runner>} result - returns the result of the Runner
20
- *
21
- * @example
22
- * ```ts
23
- * function injectValue(injector?: Injector) {
24
- * return assertInjector(injectValue, injector, () => 'value');
25
- * }
26
- *
27
- * injectValue(); // string
28
- * ```
29
- */
30
- export declare function assertInjector<Runner extends () => unknown>(fn: SafeFunction, injector: Nullable<Injector>, runner: Runner): ReturnType<Runner>;
31
- /**
32
- * `assertInjector` extends `assertInInjectionContext` with an optional `Injector`
33
- * After assertion, `assertInjector` returns a guaranteed `Injector` whether it is the default `Injector`
34
- * within the current **Injection Context** or the custom `Injector` that was passed in.
35
- *
36
- * @param {SafeFunction} fn - the Function to pass in `assertInInjectionContext`
37
- * @param {Nullable<Injector>} injector - the optional "custom" Injector
38
- * @returns Injector
39
- *
40
- * @example
41
- * ```ts
42
- * function injectDestroy(injector?: Injector) {
43
- * injector = assertInjector(injectDestroy, injector);
44
- *
45
- * return runInInjectionContext(injector, () => {
46
- * // code
47
- * })
48
- * }
49
- * ```
50
- */
51
- export declare function assertInjector(fn: SafeFunction, injector: Nullable<Injector>): Injector;
@@ -1,68 +0,0 @@
1
- /**
2
- *
3
- * Copyright (c) ngxtension Authors. Licensed under the MIT License.
4
- */
5
- import { InjectionToken, type EnvironmentProviders, type Host, type InjectOptions, type Injector, type Optional, type Provider, type Self, type SkipSelf, type Type } from '@angular/core';
6
- type CreateInjectionTokenDep<TTokenType> = Type<TTokenType> | (abstract new (...args: any[]) => TTokenType) | InjectionToken<TTokenType>;
7
- type CreateInjectionTokenDeps<TFactory extends (...args: any[]) => any, TFactoryDeps extends Parameters<TFactory> = Parameters<TFactory>> = {
8
- [Index in keyof TFactoryDeps]: CreateInjectionTokenDep<TFactoryDeps[Index]> | [...modifiers: Array<Optional | Self | SkipSelf | Host>, token: CreateInjectionTokenDep<TFactoryDeps[Index]>];
9
- } & {
10
- length: TFactoryDeps['length'];
11
- };
12
- export type CreateInjectionTokenOptions<TFactory extends (...args: any[]) => any, TFactoryDeps extends Parameters<TFactory> = Parameters<TFactory>> = (TFactoryDeps[0] extends undefined ? {
13
- deps?: never;
14
- } : {
15
- deps: CreateInjectionTokenDeps<TFactory, TFactoryDeps>;
16
- }) & {
17
- isRoot?: boolean;
18
- isFunctionValue?: boolean;
19
- multi?: boolean;
20
- token?: InjectionToken<ReturnType<TFactory>>;
21
- extraProviders?: Provider | EnvironmentProviders;
22
- };
23
- type InjectFn<TFactoryReturn> = {
24
- (): TFactoryReturn;
25
- (injectOptions: InjectOptions & {
26
- optional?: false;
27
- } & {
28
- injector?: Injector;
29
- }): TFactoryReturn;
30
- (injectOptions: InjectOptions & {
31
- injector?: Injector;
32
- }): TFactoryReturn | null;
33
- };
34
- type ProvideFn<TNoop extends boolean, TFactoryReturn, TReturn = TFactoryReturn extends Array<infer Item> ? Item : TFactoryReturn> = (TNoop extends true ? (value: TReturn | (() => TReturn)) => Provider : () => Provider) & (TReturn extends Function ? (value: TReturn | (() => TReturn), isFunctionValue: boolean) => Provider : (value: TReturn | (() => TReturn)) => Provider);
35
- export type CreateInjectionTokenReturn<TFactoryReturn, TNoop extends boolean = false> = [
36
- InjectFn<TFactoryReturn>,
37
- ProvideFn<TNoop, TFactoryReturn>,
38
- InjectionToken<TFactoryReturn>,
39
- () => Provider
40
- ];
41
- /**
42
- * `createInjectionToken` accepts a factory function and returns a tuple of `injectFn`, `provideFn`, and the `InjectionToken`
43
- * that the factory function is for.
44
- *
45
- * @param {Function} factory - Factory Function that returns the value for the `InjectionToken`
46
- * @param {CreateInjectionTokenOptions} options - object to control how the `InjectionToken` behaves
47
- * @returns {CreateInjectionTokenReturn}
48
- *
49
- * @example
50
- * ```ts
51
- * const [injectCounter, provideCounter, COUNTER] = createInjectionToken(() => signal(0));
52
- *
53
- * export class Counter {
54
- * counter = injectCounter(); // WritableSignal<number>
55
- * }
56
- * ```
57
- */
58
- export declare function createInjectionToken<TFactory extends (...args: any[]) => any, TFactoryDeps extends Parameters<TFactory> = Parameters<TFactory>, TOptions extends CreateInjectionTokenOptions<TFactory, TFactoryDeps> = CreateInjectionTokenOptions<TFactory, TFactoryDeps>, TFactoryReturn = TOptions['multi'] extends true ? Array<ReturnType<TFactory>> : ReturnType<TFactory>>(factory: TFactory, options?: TOptions): CreateInjectionTokenReturn<TFactoryReturn>;
59
- export declare function createNoopInjectionToken<TValue, TMulti extends boolean = false, TOptions = Pick<CreateInjectionTokenOptions<() => void, []>, 'extraProviders'> & (TValue extends (...args: any[]) => any ? {
60
- isFunctionValue: true;
61
- } : {
62
- isFunctionValue?: never;
63
- }) & (TMulti extends true ? {
64
- multi: true;
65
- } : {
66
- multi?: never;
67
- })>(description: string, options?: TOptions): CreateInjectionTokenReturn<TMulti extends true ? TValue[] : TValue, true>;
68
- export {};
@@ -1,23 +0,0 @@
1
- /**
2
- * Nullable from `Type` adds `null` and `undefined`
3
- *
4
- * @example ```ts
5
- * // Expect: string | number | undefined | null
6
- * type Value = Nulling<string | number>;
7
- * ```
8
- */
9
- export type Nullable<Type> = null | Type | undefined;
10
- /**
11
- * SafeFunction is a type for functions that accept any number of arguments of unknown types
12
- * and return a value of an unknown type. This is useful when you want to define a function
13
- * without being strict about the input or output types, maintaining flexibility.
14
- *
15
- * @example ```ts
16
- * const safeFn: SafeFunction = (...args) => {
17
- * return args.length > 0 ? args[0] : null;
18
- * };
19
- *
20
- * const result = safeFn(1, 'hello'); // result: 1
21
- * ```
22
- */
23
- export type SafeFunction = (...args: unknown[]) => unknown;
@@ -1,40 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { RdxAccordionContentDirective } from './src/accordion-content.directive';
3
- import { RdxAccordionHeaderDirective } from './src/accordion-header.directive';
4
- import { RdxAccordionItemDirective } from './src/accordion-item.directive';
5
- import { RdxAccordionRootDirective } from './src/accordion-root.directive';
6
- import { RdxAccordionTriggerDirective } from './src/accordion-trigger.directive';
7
- import * as i0 from "@angular/core";
8
- export * from './src/accordion-content.directive';
9
- export * from './src/accordion-header.directive';
10
- export * from './src/accordion-item.directive';
11
- export * from './src/accordion-root.directive';
12
- export * from './src/accordion-trigger.directive';
13
- const _imports = [
14
- RdxAccordionContentDirective,
15
- RdxAccordionHeaderDirective,
16
- RdxAccordionItemDirective,
17
- RdxAccordionRootDirective,
18
- RdxAccordionTriggerDirective
19
- ];
20
- export class RdxAccordionModule {
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: RdxAccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
22
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.11", ngImport: i0, type: RdxAccordionModule, imports: [RdxAccordionContentDirective,
23
- RdxAccordionHeaderDirective,
24
- RdxAccordionItemDirective,
25
- RdxAccordionRootDirective,
26
- RdxAccordionTriggerDirective], exports: [RdxAccordionContentDirective,
27
- RdxAccordionHeaderDirective,
28
- RdxAccordionItemDirective,
29
- RdxAccordionRootDirective,
30
- RdxAccordionTriggerDirective] }); }
31
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: RdxAccordionModule }); }
32
- }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: RdxAccordionModule, decorators: [{
34
- type: NgModule,
35
- args: [{
36
- imports: [..._imports],
37
- exports: [..._imports]
38
- }]
39
- }] });
40
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9wcmltaXRpdmVzL2FjY29yZGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQ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pdmUsXG4gICAgUmR4QWNjb3JkaW9uVHJpZ2dlckRpcmVjdGl2ZVxuXTtcblxuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbLi4uX2ltcG9ydHNdLFxuICAgIGV4cG9ydHM6IFsuLi5faW1wb3J0c11cbn0pXG5leHBvcnQgY2xhc3MgUmR4QWNjb3JkaW9uTW9kdWxlIHt9XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaXgtbmctcHJpbWl0aXZlcy1hY2NvcmRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9wcmltaXRpdmVzL2FjY29yZGlvbi9yYWRpeC1uZy1wcmltaXRpdmVzLWFjY29yZGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,42 +0,0 @@
1
- import { Directive, ElementRef, inject } from '@angular/core';
2
- import { RdxAccordionItemDirective } from './accordion-item.directive';
3
- import * as i0 from "@angular/core";
4
- export class RdxAccordionContentDirective {
5
- constructor() {
6
- this.item = inject(RdxAccordionItemDirective);
7
- this.nativeElement = inject(ElementRef).nativeElement;
8
- this.hidden = false;
9
- }
10
- onAnimationEnd() {
11
- this.hidden = !this.item.expanded;
12
- const { height, width } = this.nativeElement.getBoundingClientRect();
13
- this.nativeElement.style.setProperty('--radix-collapsible-content-height', `${height}px`);
14
- this.nativeElement.style.setProperty('--radix-collapsible-content-width', `${width}px`);
15
- this.nativeElement.style.setProperty('--radix-accordion-content-height', 'var(--radix-collapsible-content-height)');
16
- this.nativeElement.style.setProperty('--radix-accordion-content-width', 'var(--radix-collapsible-content-width)');
17
- }
18
- onToggle() {
19
- if (!this.item.expanded) {
20
- this.hidden = false;
21
- }
22
- }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: RdxAccordionContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
24
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.11", type: RdxAccordionContentDirective, isStandalone: true, selector: "[rdxAccordionContent]", host: { listeners: { "animationend": "onAnimationEnd()" }, properties: { "attr.role": "\"region\"", "style.display": "hidden ? \"none\" : \"\"", "attr.data-state": "item.dataState", "attr.data-disabled": "item.disabled", "attr.data-orientation": "item.orientation" } }, exportAs: ["rdxAccordionContent"], ngImport: i0 }); }
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: RdxAccordionContentDirective, decorators: [{
27
- type: Directive,
28
- args: [{
29
- selector: '[rdxAccordionContent]',
30
- standalone: true,
31
- exportAs: 'rdxAccordionContent',
32
- host: {
33
- '[attr.role]': '"region"',
34
- '[style.display]': 'hidden ? "none" : ""',
35
- '[attr.data-state]': 'item.dataState',
36
- '[attr.data-disabled]': 'item.disabled',
37
- '[attr.data-orientation]': 'item.orientation',
38
- '(animationend)': 'onAnimationEnd()'
39
- }
40
- }]
41
- }] });
42
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWNvbnRlbnQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvcHJpbWl0aXZlcy9hY2NvcmRpb24vc3JjL2FjY29yZGlvbi1jb250ZW50LmRpcmVjdGl2ZS50cyJ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aGlzLm5hdGl2ZUVsZW1lbnQuc3R5bGUuc2V0UHJvcGVydHkoXG4gICAgICAgICAgICAnLS1yYWRpeC1hY2NvcmRpb24tY29udGVudC1oZWlnaHQnLFxuICAgICAgICAgICAgJ3ZhcigtLXJhZGl4LWNvbGxhcHNpYmxlLWNvbnRlbnQtaGVpZ2h0KSdcbiAgICAgICAgKTtcbiAgICAgICAgdGhpcy5uYXRpdmVFbGVtZW50LnN0eWxlLnNldFByb3BlcnR5KFxuICAgICAgICAgICAgJy0tcmFkaXgtYWNjb3JkaW9uLWNvbnRlbnQtd2lkdGgnLFxuICAgICAgICAgICAgJ3ZhcigtLXJhZGl4LWNvbGxhcHNpYmxlLWNvbnRlbnQtd2lkdGgpJ1xuICAgICAgICApO1xuICAgIH1cblxuICAgIG9uVG9nZ2xlKCkge1xuICAgICAgICBpZiAoIXRoaXMuaXRlbS5leHBhbmRlZCkge1xuICAgICAgICAgICAgdGhpcy5oaWRkZW4gPSBmYWxzZTtcbiAgICAgICAgfVxuICAgIH1cbn1cbiJdfQ==
@@ -1,23 +0,0 @@
1
- import { Directive, inject } from '@angular/core';
2
- import { RdxAccordionItemDirective } from './accordion-item.directive';
3
- import * as i0 from "@angular/core";
4
- export class RdxAccordionHeaderDirective {
5
- constructor() {
6
- this.item = inject(RdxAccordionItemDirective);
7
- }
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: RdxAccordionHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
9
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.11", type: RdxAccordionHeaderDirective, isStandalone: true, selector: "[rdxAccordionHeader]", host: { properties: { "attr.data-state": "item.dataState", "attr.data-disabled": "item.disabled", "attr.data-orientation": "item.orientation" } }, ngImport: i0 }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: RdxAccordionHeaderDirective, decorators: [{
12
- type: Directive,
13
- args: [{
14
- selector: '[rdxAccordionHeader]',
15
- standalone: true,
16
- host: {
17
- '[attr.data-state]': 'item.dataState',
18
- '[attr.data-disabled]': 'item.disabled',
19
- '[attr.data-orientation]': 'item.orientation'
20
- }
21
- }]
22
- }] });
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWhlYWRlci5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9wcmltaXRpdmVzL2FjY29yZGlvbi9zcmMvYWNjb3JkaW9uLWhlYWRlci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbEQsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sNEJBQTRCLENBQUM7O0FBV3ZFLE1BQU0sT0FBTywyQkFBMkI7SUFUeEM7UUFVdUIsU0FBSSxHQUFHLE1BQU0sQ0FBQyx5QkFBeUIsQ0FBQyxDQUFDO0tBQy9EOytHQUZZLDJCQUEyQjttR0FBM0IsMkJBQTJCOzs0RkFBM0IsMkJBQTJCO2tCQVR2QyxTQUFTO21CQUFDO29CQUNQLFFBQVEsRUFBRSxzQkFBc0I7b0JBQ2hDLFVBQVUsRUFBRSxJQUFJO29CQUNoQixJQUFJLEVBQUU7d0JBQ0YsbUJBQW1CLEVBQUUsZ0JBQWdCO3dCQUNyQyxzQkFBc0IsRUFBRSxlQUFlO3dCQUN2Qyx5QkFBeUIsRUFBRSxrQkFBa0I7cUJBQ2hEO2lCQUNKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlLCBpbmplY3QgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydC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