@radix-ng/primitives 0.43.0 → 0.44.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 (453) hide show
  1. package/accordion/index.d.ts +160 -15
  2. package/alert-dialog/index.d.ts +54 -14
  3. package/arrow/README.md +1 -0
  4. package/arrow/index.d.ts +11 -0
  5. package/aspect-ratio/index.d.ts +35 -1
  6. package/avatar/index.d.ts +81 -11
  7. package/calendar/index.d.ts +310 -29
  8. package/checkbox/index.d.ts +163 -15
  9. package/collapsible/index.d.ts +82 -11
  10. package/config/index.d.ts +35 -2
  11. package/context-menu/index.d.ts +126 -23
  12. package/core/index.d.ts +898 -27
  13. package/cropper/index.d.ts +134 -14
  14. package/date-field/index.d.ts +209 -10
  15. package/dialog/index.d.ts +202 -20
  16. package/dismissable-layer/README.md +1 -0
  17. package/dismissable-layer/index.d.ts +126 -0
  18. package/dropdown-menu/index.d.ts +168 -23
  19. package/editable/index.d.ts +70 -1
  20. package/fesm2022/radix-ng-primitives-accordion.mjs +36 -36
  21. package/fesm2022/radix-ng-primitives-accordion.mjs.map +1 -1
  22. package/fesm2022/radix-ng-primitives-alert-dialog.mjs +28 -28
  23. package/fesm2022/radix-ng-primitives-alert-dialog.mjs.map +1 -1
  24. package/fesm2022/radix-ng-primitives-arrow.mjs +38 -0
  25. package/fesm2022/radix-ng-primitives-arrow.mjs.map +1 -0
  26. package/fesm2022/radix-ng-primitives-aspect-ratio.mjs +5 -5
  27. package/fesm2022/radix-ng-primitives-aspect-ratio.mjs.map +1 -1
  28. package/fesm2022/radix-ng-primitives-avatar.mjs +20 -20
  29. package/fesm2022/radix-ng-primitives-avatar.mjs.map +1 -1
  30. package/fesm2022/radix-ng-primitives-calendar.mjs +110 -95
  31. package/fesm2022/radix-ng-primitives-calendar.mjs.map +1 -1
  32. package/fesm2022/radix-ng-primitives-checkbox.mjs +219 -209
  33. package/fesm2022/radix-ng-primitives-checkbox.mjs.map +1 -1
  34. package/fesm2022/radix-ng-primitives-collapsible.mjs +27 -27
  35. package/fesm2022/radix-ng-primitives-collapsible.mjs.map +1 -1
  36. package/fesm2022/radix-ng-primitives-config.mjs +5 -5
  37. package/fesm2022/radix-ng-primitives-config.mjs.map +1 -1
  38. package/fesm2022/radix-ng-primitives-context-menu.mjs +34 -34
  39. package/fesm2022/radix-ng-primitives-context-menu.mjs.map +1 -1
  40. package/fesm2022/radix-ng-primitives-core.mjs +72 -24
  41. package/fesm2022/radix-ng-primitives-core.mjs.map +1 -1
  42. package/fesm2022/radix-ng-primitives-cropper.mjs +51 -51
  43. package/fesm2022/radix-ng-primitives-cropper.mjs.map +1 -1
  44. package/fesm2022/radix-ng-primitives-date-field.mjs +48 -48
  45. package/fesm2022/radix-ng-primitives-date-field.mjs.map +1 -1
  46. package/fesm2022/radix-ng-primitives-dialog.mjs +33 -33
  47. package/fesm2022/radix-ng-primitives-dialog.mjs.map +1 -1
  48. package/fesm2022/radix-ng-primitives-dismissable-layer.mjs +418 -0
  49. package/fesm2022/radix-ng-primitives-dismissable-layer.mjs.map +1 -0
  50. package/fesm2022/radix-ng-primitives-dropdown-menu.mjs +37 -37
  51. package/fesm2022/radix-ng-primitives-dropdown-menu.mjs.map +1 -1
  52. package/fesm2022/radix-ng-primitives-editable.mjs +21 -21
  53. package/fesm2022/radix-ng-primitives-editable.mjs.map +1 -1
  54. package/fesm2022/radix-ng-primitives-focus-guards.mjs +7 -4
  55. package/fesm2022/radix-ng-primitives-focus-guards.mjs.map +1 -1
  56. package/fesm2022/radix-ng-primitives-focus-scope.mjs +17 -9
  57. package/fesm2022/radix-ng-primitives-focus-scope.mjs.map +1 -1
  58. package/fesm2022/radix-ng-primitives-hover-card.mjs +74 -74
  59. package/fesm2022/radix-ng-primitives-hover-card.mjs.map +1 -1
  60. package/fesm2022/radix-ng-primitives-label.mjs +8 -8
  61. package/fesm2022/radix-ng-primitives-label.mjs.map +1 -1
  62. package/fesm2022/radix-ng-primitives-menu.mjs +65 -65
  63. package/fesm2022/radix-ng-primitives-menu.mjs.map +1 -1
  64. package/fesm2022/radix-ng-primitives-menubar.mjs +31 -31
  65. package/fesm2022/radix-ng-primitives-menubar.mjs.map +1 -1
  66. package/fesm2022/radix-ng-primitives-navigation-menu.mjs +86 -86
  67. package/fesm2022/radix-ng-primitives-navigation-menu.mjs.map +1 -1
  68. package/fesm2022/radix-ng-primitives-number-field.mjs +56 -43
  69. package/fesm2022/radix-ng-primitives-number-field.mjs.map +1 -1
  70. package/fesm2022/radix-ng-primitives-pagination.mjs +45 -45
  71. package/fesm2022/radix-ng-primitives-pagination.mjs.map +1 -1
  72. package/fesm2022/radix-ng-primitives-popover.mjs +68 -68
  73. package/fesm2022/radix-ng-primitives-popover.mjs.map +1 -1
  74. package/fesm2022/radix-ng-primitives-popper.mjs +418 -0
  75. package/fesm2022/radix-ng-primitives-popper.mjs.map +1 -0
  76. package/fesm2022/radix-ng-primitives-portal.mjs +51 -0
  77. package/fesm2022/radix-ng-primitives-portal.mjs.map +1 -0
  78. package/fesm2022/radix-ng-primitives-presence.mjs +4 -4
  79. package/fesm2022/radix-ng-primitives-presence.mjs.map +1 -1
  80. package/fesm2022/radix-ng-primitives-progress.mjs +15 -15
  81. package/fesm2022/radix-ng-primitives-progress.mjs.map +1 -1
  82. package/fesm2022/radix-ng-primitives-radio.mjs +30 -30
  83. package/fesm2022/radix-ng-primitives-radio.mjs.map +1 -1
  84. package/fesm2022/radix-ng-primitives-roving-focus.mjs +179 -163
  85. package/fesm2022/radix-ng-primitives-roving-focus.mjs.map +1 -1
  86. package/fesm2022/radix-ng-primitives-select.mjs +37 -37
  87. package/fesm2022/radix-ng-primitives-select.mjs.map +1 -1
  88. package/fesm2022/radix-ng-primitives-separator.mjs +16 -14
  89. package/fesm2022/radix-ng-primitives-separator.mjs.map +1 -1
  90. package/fesm2022/radix-ng-primitives-slider.mjs +75 -75
  91. package/fesm2022/radix-ng-primitives-slider.mjs.map +1 -1
  92. package/fesm2022/radix-ng-primitives-stepper.mjs +45 -45
  93. package/fesm2022/radix-ng-primitives-stepper.mjs.map +1 -1
  94. package/fesm2022/radix-ng-primitives-switch.mjs +28 -28
  95. package/fesm2022/radix-ng-primitives-switch.mjs.map +1 -1
  96. package/fesm2022/radix-ng-primitives-tabs.mjs +33 -33
  97. package/fesm2022/radix-ng-primitives-tabs.mjs.map +1 -1
  98. package/fesm2022/radix-ng-primitives-time-field.mjs +78 -66
  99. package/fesm2022/radix-ng-primitives-time-field.mjs.map +1 -1
  100. package/fesm2022/radix-ng-primitives-toggle-group.mjs +22 -22
  101. package/fesm2022/radix-ng-primitives-toggle-group.mjs.map +1 -1
  102. package/fesm2022/radix-ng-primitives-toggle.mjs +9 -9
  103. package/fesm2022/radix-ng-primitives-toggle.mjs.map +1 -1
  104. package/fesm2022/radix-ng-primitives-toolbar.mjs +28 -28
  105. package/fesm2022/radix-ng-primitives-toolbar.mjs.map +1 -1
  106. package/fesm2022/radix-ng-primitives-tooltip.mjs +74 -74
  107. package/fesm2022/radix-ng-primitives-tooltip.mjs.map +1 -1
  108. package/fesm2022/radix-ng-primitives-tooltip2.mjs +740 -0
  109. package/fesm2022/radix-ng-primitives-tooltip2.mjs.map +1 -0
  110. package/fesm2022/radix-ng-primitives-visually-hidden.mjs +29 -27
  111. package/fesm2022/radix-ng-primitives-visually-hidden.mjs.map +1 -1
  112. package/fesm2022/radix-ng-primitives.mjs.map +1 -1
  113. package/focus-guards/index.d.ts +15 -1
  114. package/focus-scope/index.d.ts +65 -1
  115. package/hover-card/index.d.ts +471 -19
  116. package/index.d.ts +2 -1
  117. package/label/index.d.ts +27 -1
  118. package/menu/index.d.ts +136 -26
  119. package/menubar/index.d.ts +53 -21
  120. package/navigation-menu/index.d.ts +402 -25
  121. package/number-field/index.d.ts +202 -16
  122. package/package.json +22 -5
  123. package/pagination/index.d.ts +96 -20
  124. package/popover/index.d.ts +402 -19
  125. package/popper/README.md +3 -0
  126. package/popper/index.d.ts +206 -0
  127. package/portal/README.md +1 -0
  128. package/portal/index.d.ts +22 -0
  129. package/presence/index.d.ts +103 -5
  130. package/progress/index.d.ts +76 -8
  131. package/radio/index.d.ts +118 -4
  132. package/roving-focus/index.d.ts +174 -3
  133. package/select/index.d.ts +211 -23
  134. package/separator/index.d.ts +63 -1
  135. package/slider/index.d.ts +262 -17
  136. package/stepper/index.d.ts +122 -21
  137. package/switch/index.d.ts +102 -9
  138. package/tabs/index.d.ts +111 -13
  139. package/time-field/index.d.ts +211 -10
  140. package/toggle/index.d.ts +75 -3
  141. package/toggle-group/index.d.ts +194 -5
  142. package/toolbar/index.d.ts +52 -16
  143. package/tooltip/index.d.ts +432 -19
  144. package/tooltip2/README.md +3 -0
  145. package/tooltip2/index.d.ts +325 -0
  146. package/visually-hidden/index.d.ts +65 -3
  147. package/accordion/src/accordion-content-presence.directive.d.ts +0 -6
  148. package/accordion/src/accordion-content.directive.d.ts +0 -8
  149. package/accordion/src/accordion-header.directive.d.ts +0 -7
  150. package/accordion/src/accordion-item.directive.d.ts +0 -43
  151. package/accordion/src/accordion-root.directive.d.ts +0 -83
  152. package/accordion/src/accordion-trigger.directive.d.ts +0 -10
  153. package/alert-dialog/src/alert-dialog-cancel.directive.d.ts +0 -7
  154. package/alert-dialog/src/alert-dialog-content.directive.d.ts +0 -9
  155. package/alert-dialog/src/alert-dialog-root.directive.d.ts +0 -9
  156. package/alert-dialog/src/alert-dialog-title.directive.d.ts +0 -5
  157. package/alert-dialog/src/alert-dialog-trigger.directive.d.ts +0 -7
  158. package/alert-dialog/src/alert-dialog.service.d.ts +0 -14
  159. package/aspect-ratio/src/aspect-ratio.directive.d.ts +0 -32
  160. package/avatar/src/avatar-context.token.d.ts +0 -7
  161. package/avatar/src/avatar-fallback.directive.d.ts +0 -20
  162. package/avatar/src/avatar-image.directive.d.ts +0 -29
  163. package/avatar/src/avatar-root.directive.d.ts +0 -8
  164. package/avatar/src/avatar.config.d.ts +0 -13
  165. package/avatar/src/types.d.ts +0 -2
  166. package/calendar/src/calendar-cell-trigger.directive.d.ts +0 -54
  167. package/calendar/src/calendar-cell.directive.d.ts +0 -11
  168. package/calendar/src/calendar-grid-body.directive.d.ts +0 -5
  169. package/calendar/src/calendar-grid-head.directive.d.ts +0 -5
  170. package/calendar/src/calendar-grid-row.directive.d.ts +0 -5
  171. package/calendar/src/calendar-grid.directive.d.ts +0 -8
  172. package/calendar/src/calendar-head-cell.directive.d.ts +0 -5
  173. package/calendar/src/calendar-header.directive.d.ts +0 -5
  174. package/calendar/src/calendar-heading.directive.d.ts +0 -7
  175. package/calendar/src/calendar-next.directive.d.ts +0 -16
  176. package/calendar/src/calendar-prev.directive.d.ts +0 -16
  177. package/calendar/src/calendar-root.directive.d.ts +0 -148
  178. package/calendar/src/calendar.d.ts +0 -44
  179. package/calendar/src//321/201alendar-/321/201ontext.token.d.ts +0 -24
  180. package/checkbox/src/checkbox-button.directive.d.ts +0 -8
  181. package/checkbox/src/checkbox-indicator.directive.d.ts +0 -6
  182. package/checkbox/src/checkbox-input.directive.d.ts +0 -10
  183. package/checkbox/src/checkbox.directive.d.ts +0 -86
  184. package/checkbox/src/checkbox.token.d.ts +0 -4
  185. package/collapsible/src/collapsible-content-presence.directive.d.ts +0 -6
  186. package/collapsible/src/collapsible-content.directive.d.ts +0 -18
  187. package/collapsible/src/collapsible-root.directive.d.ts +0 -44
  188. package/collapsible/src/collapsible-trigger.directive.d.ts +0 -6
  189. package/config/src/config.d.ts +0 -21
  190. package/config/src/config.provider.d.ts +0 -10
  191. package/context-menu/src/context-menu-content.directive.d.ts +0 -15
  192. package/context-menu/src/context-menu-item-checkbox.directive.d.ts +0 -9
  193. package/context-menu/src/context-menu-item-indicator.directive.d.ts +0 -7
  194. package/context-menu/src/context-menu-item-radio-group.directive.d.ts +0 -12
  195. package/context-menu/src/context-menu-item-radio.directive.d.ts +0 -19
  196. package/context-menu/src/context-menu-item-selectable.d.ts +0 -12
  197. package/context-menu/src/context-menu-item.directive.d.ts +0 -17
  198. package/context-menu/src/context-menu-label.directive.d.ts +0 -5
  199. package/context-menu/src/context-menu-separator.directive.d.ts +0 -6
  200. package/context-menu/src/context-menu-trigger.directive.d.ts +0 -31
  201. package/core/src/accessor/control-value-accessor.d.ts +0 -67
  202. package/core/src/accessor/provide-value-accessor.d.ts +0 -12
  203. package/core/src/auto-focus.directive.d.ts +0 -14
  204. package/core/src/chunk.d.ts +0 -12
  205. package/core/src/clamp.d.ts +0 -38
  206. package/core/src/create-context.d.ts +0 -10
  207. package/core/src/date-time/calendar.d.ts +0 -33
  208. package/core/src/date-time/comparators.d.ts +0 -98
  209. package/core/src/date-time/formatter.d.ts +0 -30
  210. package/core/src/date-time/index.d.ts +0 -9
  211. package/core/src/date-time/parser.d.ts +0 -37
  212. package/core/src/date-time/parts.d.ts +0 -12
  213. package/core/src/date-time/placeholders.d.ts +0 -8
  214. package/core/src/date-time/segment.d.ts +0 -4
  215. package/core/src/date-time/types.d.ts +0 -58
  216. package/core/src/date-time/useDateField.d.ts +0 -142
  217. package/core/src/date-time/utils.d.ts +0 -7
  218. package/core/src/document.d.ts +0 -1
  219. package/core/src/focus-initial.directive.d.ts +0 -9
  220. package/core/src/getActiveElement.d.ts +0 -1
  221. package/core/src/id-generator.d.ts +0 -12
  222. package/core/src/inject-ng-control.d.ts +0 -8
  223. package/core/src/is-client.d.ts +0 -1
  224. package/core/src/is-equal.d.ts +0 -7
  225. package/core/src/is-inside-form.d.ts +0 -2
  226. package/core/src/is-nullish.d.ts +0 -1
  227. package/core/src/is-number.d.ts +0 -1
  228. package/core/src/isValueEqualOrExist.d.ts +0 -10
  229. package/core/src/kbd-constants.d.ts +0 -41
  230. package/core/src/positioning/constants.d.ts +0 -3
  231. package/core/src/positioning/types.d.ts +0 -42
  232. package/core/src/positioning/utils.d.ts +0 -12
  233. package/core/src/provide-token.d.ts +0 -22
  234. package/core/src/serialize.d.ts +0 -11
  235. package/core/src/types.d.ts +0 -25
  236. package/core/src/useArrowNavigation.d.ts +0 -65
  237. package/core/src/useResizeObserver.d.ts +0 -15
  238. package/core/src/watch.d.ts +0 -41
  239. package/core/src/window.d.ts +0 -3
  240. package/cropper/src/cropper-context.token.d.ts +0 -12
  241. package/cropper/src/cropper-crop-area.directive.d.ts +0 -6
  242. package/cropper/src/cropper-description.directive.d.ts +0 -6
  243. package/cropper/src/cropper-image.component.d.ts +0 -10
  244. package/cropper/src/cropper-root.directive.d.ts +0 -91
  245. package/date-field/src/date-field-context.token.d.ts +0 -19
  246. package/date-field/src/date-field-input.directive.d.ts +0 -53
  247. package/date-field/src/date-field-root.directive.d.ts +0 -131
  248. package/dialog/src/dialog-close.directive.d.ts +0 -7
  249. package/dialog/src/dialog-content.directive.d.ts +0 -21
  250. package/dialog/src/dialog-description.directive.d.ts +0 -5
  251. package/dialog/src/dialog-dismiss.directive.d.ts +0 -7
  252. package/dialog/src/dialog-ref.d.ts +0 -40
  253. package/dialog/src/dialog-title.directive.d.ts +0 -5
  254. package/dialog/src/dialog-trigger.directive.d.ts +0 -28
  255. package/dialog/src/dialog.config.d.ts +0 -41
  256. package/dialog/src/dialog.injectors.d.ts +0 -4
  257. package/dialog/src/dialog.providers.d.ts +0 -19
  258. package/dialog/src/dialog.service.d.ts +0 -26
  259. package/dismissible-layer/README.md +0 -1
  260. package/dismissible-layer/index.d.ts +0 -1
  261. package/dismissible-layer/src/utils.d.ts +0 -38
  262. package/dropdown-menu/src/dropdown-menu-content.directive.d.ts +0 -15
  263. package/dropdown-menu/src/dropdown-menu-item-checkbox.directive.d.ts +0 -9
  264. package/dropdown-menu/src/dropdown-menu-item-indicator.directive.d.ts +0 -7
  265. package/dropdown-menu/src/dropdown-menu-item-radio-group.directive.d.ts +0 -12
  266. package/dropdown-menu/src/dropdown-menu-item-radio.directive.d.ts +0 -19
  267. package/dropdown-menu/src/dropdown-menu-item-selectable.d.ts +0 -12
  268. package/dropdown-menu/src/dropdown-menu-item.directive.d.ts +0 -17
  269. package/dropdown-menu/src/dropdown-menu-label.directive.d.ts +0 -6
  270. package/dropdown-menu/src/dropdown-menu-separator.directive.d.ts +0 -6
  271. package/dropdown-menu/src/dropdown-menu-trigger.directive.d.ts +0 -73
  272. package/editable/src/editable-root.d.ts +0 -67
  273. package/fesm2022/radix-ng-primitives-dismissible-layer.mjs +0 -211
  274. package/fesm2022/radix-ng-primitives-dismissible-layer.mjs.map +0 -1
  275. package/focus-guards/src/focus-guards.d.ts +0 -12
  276. package/focus-scope/src/focus-scope.d.ts +0 -53
  277. package/focus-scope/src/stack.d.ts +0 -13
  278. package/focus-scope/src/utils.d.ts +0 -46
  279. package/hover-card/src/hover-card-anchor.directive.d.ts +0 -28
  280. package/hover-card/src/hover-card-anchor.token.d.ts +0 -3
  281. package/hover-card/src/hover-card-arrow.directive.d.ts +0 -45
  282. package/hover-card/src/hover-card-arrow.token.d.ts +0 -3
  283. package/hover-card/src/hover-card-close.directive.d.ts +0 -18
  284. package/hover-card/src/hover-card-close.token.d.ts +0 -3
  285. package/hover-card/src/hover-card-content-attributes.component.d.ts +0 -25
  286. package/hover-card/src/hover-card-content-attributes.token.d.ts +0 -3
  287. package/hover-card/src/hover-card-content.directive.d.ts +0 -124
  288. package/hover-card/src/hover-card-root.directive.d.ts +0 -182
  289. package/hover-card/src/hover-card-root.inject.d.ts +0 -3
  290. package/hover-card/src/hover-card-trigger.directive.d.ts +0 -26
  291. package/hover-card/src/hover-card.types.d.ts +0 -18
  292. package/hover-card/src/utils/cdk-event.service.d.ts +0 -30
  293. package/hover-card/src/utils/constants.d.ts +0 -1
  294. package/hover-card/src/utils/types.d.ts +0 -7
  295. package/label/src/label.directive.d.ts +0 -24
  296. package/menu/src/menu-content.directive.d.ts +0 -6
  297. package/menu/src/menu-directive.d.ts +0 -6
  298. package/menu/src/menu-group.directive.d.ts +0 -6
  299. package/menu/src/menu-item-checkbox.directive.d.ts +0 -21
  300. package/menu/src/menu-item-indicator.directive.d.ts +0 -10
  301. package/menu/src/menu-item-radio.directive.d.ts +0 -20
  302. package/menu/src/menu-item.directive.d.ts +0 -18
  303. package/menu/src/menu-label.directive.d.ts +0 -5
  304. package/menu/src/menu-radio-group.directive.d.ts +0 -6
  305. package/menu/src/menu-separator.directive.d.ts +0 -5
  306. package/menu/src/menu-trigger.directive.d.ts +0 -35
  307. package/menu/src/utils.d.ts +0 -3
  308. package/menubar/src/menubar-content.directive.d.ts +0 -6
  309. package/menubar/src/menubar-item-checkbox.directive.d.ts +0 -6
  310. package/menubar/src/menubar-item-indicator.directive.d.ts +0 -6
  311. package/menubar/src/menubar-item-radio.directive.d.ts +0 -6
  312. package/menubar/src/menubar-item.directive.d.ts +0 -6
  313. package/menubar/src/menubar-radio-group.directive.d.ts +0 -6
  314. package/menubar/src/menubar-root.directive.d.ts +0 -6
  315. package/menubar/src/menubar-separator.directive.d.ts +0 -6
  316. package/menubar/src/menubar-trigger.directive.d.ts +0 -6
  317. package/navigation-menu/src/navigation-menu-a11y.component.d.ts +0 -15
  318. package/navigation-menu/src/navigation-menu-content.directive.d.ts +0 -31
  319. package/navigation-menu/src/navigation-menu-indicator.directive.d.ts +0 -29
  320. package/navigation-menu/src/navigation-menu-item.directive.d.ts +0 -44
  321. package/navigation-menu/src/navigation-menu-link.directive.d.ts +0 -17
  322. package/navigation-menu/src/navigation-menu-list.directive.d.ts +0 -38
  323. package/navigation-menu/src/navigation-menu-sub.directive.d.ts +0 -19
  324. package/navigation-menu/src/navigation-menu-trigger.directive.d.ts +0 -34
  325. package/navigation-menu/src/navigation-menu-viewport.directive.d.ts +0 -61
  326. package/navigation-menu/src/navigation-menu.directive.d.ts +0 -76
  327. package/navigation-menu/src/navigation-menu.token.d.ts +0 -36
  328. package/navigation-menu/src/navigation-menu.types.d.ts +0 -13
  329. package/navigation-menu/src/utils.d.ts +0 -44
  330. package/number-field/src/number-field-context.token.d.ts +0 -24
  331. package/number-field/src/number-field-decrement.directive.d.ts +0 -23
  332. package/number-field/src/number-field-increment.directive.d.ts +0 -23
  333. package/number-field/src/number-field-input.directive.d.ts +0 -22
  334. package/number-field/src/number-field-root.directive.d.ts +0 -86
  335. package/number-field/src/types.d.ts +0 -1
  336. package/number-field/src/utils.d.ts +0 -18
  337. package/pagination/src/pagination-context.token.d.ts +0 -11
  338. package/pagination/src/pagination-ellipsis.directive.d.ts +0 -5
  339. package/pagination/src/pagination-first.directive.d.ts +0 -8
  340. package/pagination/src/pagination-last.directive.d.ts +0 -8
  341. package/pagination/src/pagination-list-item.directive.d.ts +0 -10
  342. package/pagination/src/pagination-list.directive.d.ts +0 -12
  343. package/pagination/src/pagination-next.directive.d.ts +0 -8
  344. package/pagination/src/pagination-prev.directive.d.ts +0 -8
  345. package/pagination/src/pagination-root.directive.d.ts +0 -18
  346. package/pagination/src/utils.d.ts +0 -9
  347. package/popover/src/popover-anchor.directive.d.ts +0 -28
  348. package/popover/src/popover-anchor.token.d.ts +0 -3
  349. package/popover/src/popover-arrow.directive.d.ts +0 -40
  350. package/popover/src/popover-arrow.token.d.ts +0 -3
  351. package/popover/src/popover-close.directive.d.ts +0 -15
  352. package/popover/src/popover-close.token.d.ts +0 -3
  353. package/popover/src/popover-content-attributes.component.d.ts +0 -23
  354. package/popover/src/popover-content-attributes.token.d.ts +0 -3
  355. package/popover/src/popover-content.directive.d.ts +0 -104
  356. package/popover/src/popover-root.directive.d.ts +0 -155
  357. package/popover/src/popover-root.inject.d.ts +0 -3
  358. package/popover/src/popover-trigger.directive.d.ts +0 -18
  359. package/popover/src/popover.types.d.ts +0 -14
  360. package/popover/src/utils/cdk-event.service.d.ts +0 -30
  361. package/popover/src/utils/constants.d.ts +0 -1
  362. package/popover/src/utils/types.d.ts +0 -7
  363. package/presence/src/presence.d.ts +0 -42
  364. package/presence/src/presence.directive.d.ts +0 -27
  365. package/presence/src/transitions/transition.collapse.d.ts +0 -15
  366. package/presence/src/transitions/transition.toast.d.ts +0 -3
  367. package/presence/src/types.d.ts +0 -15
  368. package/presence/src/utils.d.ts +0 -42
  369. package/progress/src/progress-indicator.directive.d.ts +0 -15
  370. package/progress/src/progress-root.directive.d.ts +0 -54
  371. package/radio/src/radio-indicator.directive.d.ts +0 -9
  372. package/radio/src/radio-item-input.directive.d.ts +0 -12
  373. package/radio/src/radio-item.directive.d.ts +0 -30
  374. package/radio/src/radio-root.directive.d.ts +0 -57
  375. package/radio/src/radio-tokens.d.ts +0 -14
  376. package/roving-focus/src/roving-focus-group.directive.d.ts +0 -50
  377. package/roving-focus/src/roving-focus-item.directive.d.ts +0 -50
  378. package/roving-focus/src/utils.d.ts +0 -19
  379. package/select/src/select-content.directive.d.ts +0 -20
  380. package/select/src/select-group.directive.d.ts +0 -5
  381. package/select/src/select-icon.directive.d.ts +0 -5
  382. package/select/src/select-item-indicator.directive.d.ts +0 -7
  383. package/select/src/select-item.directive.d.ts +0 -53
  384. package/select/src/select-label.directive.d.ts +0 -5
  385. package/select/src/select-separator.directive.d.ts +0 -5
  386. package/select/src/select-trigger.directive.d.ts +0 -17
  387. package/select/src/select-value.directive.d.ts +0 -8
  388. package/select/src/select.component.d.ts +0 -98
  389. package/separator/src/separator.directive.d.ts +0 -60
  390. package/slider/src/slider-horizontal.component.d.ts +0 -28
  391. package/slider/src/slider-impl.directive.d.ts +0 -17
  392. package/slider/src/slider-orientation-context.service.d.ts +0 -14
  393. package/slider/src/slider-range.component.d.ts +0 -13
  394. package/slider/src/slider-root.component.d.ts +0 -123
  395. package/slider/src/slider-thumb-impl.directive.d.ts +0 -27
  396. package/slider/src/slider-thumb.component.d.ts +0 -6
  397. package/slider/src/slider-track.component.d.ts +0 -7
  398. package/slider/src/slider-vertical.component.d.ts +0 -28
  399. package/slider/src/utils.d.ts +0 -52
  400. package/stepper/src/stepper-description.directive.d.ts +0 -6
  401. package/stepper/src/stepper-indicator.directive.d.ts +0 -6
  402. package/stepper/src/stepper-item-context.token.d.ts +0 -13
  403. package/stepper/src/stepper-item.directive.d.ts +0 -21
  404. package/stepper/src/stepper-root-context.token.d.ts +0 -12
  405. package/stepper/src/stepper-root.directive.d.ts +0 -33
  406. package/stepper/src/stepper-separator.directive.d.ts +0 -10
  407. package/stepper/src/stepper-title.directive.d.ts +0 -6
  408. package/stepper/src/stepper-trigger.directive.d.ts +0 -14
  409. package/stepper/src/types.d.ts +0 -1
  410. package/switch/src/switch-input.directive.d.ts +0 -11
  411. package/switch/src/switch-root.directive.d.ts +0 -74
  412. package/switch/src/switch-thumb.directive.d.ts +0 -9
  413. package/tabs/src/tabs-content.directive.d.ts +0 -13
  414. package/tabs/src/tabs-list.directive.d.ts +0 -10
  415. package/tabs/src/tabs-root.directive.d.ts +0 -53
  416. package/tabs/src/tabs-trigger.directive.d.ts +0 -29
  417. package/tabs/src/utils.d.ts +0 -2
  418. package/time-field/src/time-field-context.token.d.ts +0 -20
  419. package/time-field/src/time-field-input.directive.d.ts +0 -53
  420. package/time-field/src/time-field-root.directive.d.ts +0 -130
  421. package/toggle/src/toggle-visually-hidden-input.directive.d.ts +0 -6
  422. package/toggle/src/toggle.directive.d.ts +0 -65
  423. package/toggle-group/src/toggle-group-item.directive.d.ts +0 -37
  424. package/toggle-group/src/toggle-group-item.token.d.ts +0 -4
  425. package/toggle-group/src/toggle-group-without-focus.directive.d.ts +0 -69
  426. package/toggle-group/src/toggle-group.directive.d.ts +0 -74
  427. package/toggle-group/src/toggle-group.token.d.ts +0 -10
  428. package/toolbar/src/toolbar-button.directive.d.ts +0 -11
  429. package/toolbar/src/toolbar-link.directive.d.ts +0 -7
  430. package/toolbar/src/toolbar-root.directive.d.ts +0 -8
  431. package/toolbar/src/toolbar-root.token.d.ts +0 -5
  432. package/toolbar/src/toolbar-separator.directive.d.ts +0 -6
  433. package/toolbar/src/toolbar-toggle-group.directive.d.ts +0 -6
  434. package/toolbar/src/toolbar-toggle-item.directive.d.ts +0 -6
  435. package/tooltip/src/tooltip-anchor.directive.d.ts +0 -28
  436. package/tooltip/src/tooltip-anchor.token.d.ts +0 -3
  437. package/tooltip/src/tooltip-arrow.directive.d.ts +0 -40
  438. package/tooltip/src/tooltip-arrow.token.d.ts +0 -3
  439. package/tooltip/src/tooltip-close.directive.d.ts +0 -18
  440. package/tooltip/src/tooltip-close.token.d.ts +0 -3
  441. package/tooltip/src/tooltip-content-attributes.component.d.ts +0 -25
  442. package/tooltip/src/tooltip-content-attributes.token.d.ts +0 -3
  443. package/tooltip/src/tooltip-content.directive.d.ts +0 -104
  444. package/tooltip/src/tooltip-root.directive.d.ts +0 -168
  445. package/tooltip/src/tooltip-root.inject.d.ts +0 -3
  446. package/tooltip/src/tooltip-trigger.directive.d.ts +0 -26
  447. package/tooltip/src/tooltip.types.d.ts +0 -18
  448. package/tooltip/src/utils/cdk-event.service.d.ts +0 -30
  449. package/tooltip/src/utils/constants.d.ts +0 -1
  450. package/tooltip/src/utils/types.d.ts +0 -7
  451. package/visually-hidden/src/visually-hidden-input-bubble.directive.d.ts +0 -24
  452. package/visually-hidden/src/visually-hidden-input.directive.d.ts +0 -23
  453. package/visually-hidden/src/visually-hidden.directive.d.ts +0 -18
@@ -1,32 +0,0 @@
1
- import { NumberInput } from '@angular/cdk/coercion';
2
- import { AfterViewInit } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Directive to maintain an aspect ratio for an element.
6
- * The element will have its `padding-bottom` dynamically calculated
7
- * based on the provided aspect ratio to maintain the desired ratio.
8
- * The content inside the element will be positioned absolutely.
9
- * @group Components
10
- */
11
- export declare class RdxAspectRatioDirective implements AfterViewInit {
12
- private readonly element;
13
- private readonly renderer;
14
- /**
15
- * The desired aspect ratio (e.g., 16/9).
16
- * By default, it is set to 1 (which results in a square, 1:1).
17
- * @group Props
18
- * @defaultValue 1
19
- */
20
- readonly ratio: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
21
- /**
22
- * Dynamically computed `padding-bottom` style for the element.
23
- * This value is calculated based on the inverse of the aspect ratio.
24
- *
25
- * If the ratio is zero, it defaults to `0%` to avoid division by zero.
26
- *
27
- */
28
- protected readonly paddingBottom: import("@angular/core").Signal<string>;
29
- ngAfterViewInit(): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxAspectRatioDirective, never>;
31
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAspectRatioDirective, "[rdxAspectRatio]", ["rdxAspectRatio"], { "ratio": { "alias": "ratio"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
32
- }
@@ -1,7 +0,0 @@
1
- import { InjectionToken, WritableSignal } from '@angular/core';
2
- import { RdxImageLoadingStatus } from './types';
3
- export interface AvatarContextToken {
4
- imageLoadingStatus: WritableSignal<RdxImageLoadingStatus>;
5
- }
6
- export declare const AVATAR_ROOT_CONTEXT: InjectionToken<AvatarContextToken>;
7
- export declare function injectAvatarRootContext(): AvatarContextToken;
@@ -1,20 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * @group Components
4
- */
5
- export declare class RdxAvatarFallbackDirective {
6
- private readonly config;
7
- protected readonly rootContext: import("./avatar-context.token").AvatarContextToken;
8
- /**
9
- * Useful for delaying rendering so it only appears for those with slower connections.
10
- *
11
- * @group Props
12
- * @defaultValue 0
13
- */
14
- readonly delayMs: import("@angular/core").InputSignal<number>;
15
- protected readonly canRender: import("@angular/core").WritableSignal<boolean>;
16
- private timeout;
17
- constructor();
18
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxAvatarFallbackDirective, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAvatarFallbackDirective, "span[rdxAvatarFallback]", ["rdxAvatarFallback"], { "delayMs": { "alias": "delayMs"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
20
- }
@@ -1,29 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { HTMLAttributeReferrerPolicy, RdxImageLoadingStatus } from './types';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * @group Components
6
- */
7
- export declare class RdxAvatarImageDirective implements OnInit, OnDestroy {
8
- private readonly platformId;
9
- protected readonly rootContext: import("./avatar-context.token").AvatarContextToken;
10
- /**
11
- * @group Props
12
- */
13
- readonly src: import("@angular/core").InputSignal<string | undefined>;
14
- readonly referrerPolicy: import("@angular/core").InputSignal<HTMLAttributeReferrerPolicy | undefined>;
15
- /**
16
- * A callback providing information about the loading status of the image.
17
- * This is useful in case you want to control more precisely what to render as the image is loading.
18
- *
19
- * @group Emits
20
- */
21
- readonly onLoadingStatusChange: import("@angular/core").OutputEmitterRef<RdxImageLoadingStatus>;
22
- private readonly isMounted;
23
- private readonly loadingStatus;
24
- constructor();
25
- ngOnInit(): void;
26
- ngOnDestroy(): void;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxAvatarImageDirective, never>;
28
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAvatarImageDirective, "img[rdxAvatarImage]", ["rdxAvatarImage"], { "src": { "alias": "src"; "required": false; "isSignal": true; }; "referrerPolicy": { "alias": "referrerPolicy"; "required": false; "isSignal": true; }; }, { "onLoadingStatusChange": "onLoadingStatusChange"; }, never, never, true, never>;
29
- }
@@ -1,8 +0,0 @@
1
- import { AvatarContextToken } from './avatar-context.token';
2
- import { RdxImageLoadingStatus } from './types';
3
- import * as i0 from "@angular/core";
4
- export declare class RdxAvatarRootDirective implements AvatarContextToken {
5
- readonly imageLoadingStatus: import("@angular/core").WritableSignal<RdxImageLoadingStatus>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxAvatarRootDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxAvatarRootDirective, "span[rdxAvatarRoot]", ["rdxAvatarRoot"], {}, {}, never, never, true, never>;
8
- }
@@ -1,13 +0,0 @@
1
- import { InjectionToken, Provider } from '@angular/core';
2
- export interface RdxAvatarConfig {
3
- /**
4
- * Define a delay before the fallback is shown.
5
- * This is useful to only show the fallback for those with slower connections.
6
- * @default 0
7
- */
8
- delayMs: number;
9
- }
10
- export declare const defaultAvatarConfig: RdxAvatarConfig;
11
- export declare const RdxAvatarConfigToken: InjectionToken<RdxAvatarConfig>;
12
- export declare function provideRdxAvatarConfig(config: Partial<RdxAvatarConfig>): Provider[];
13
- export declare function injectAvatarConfig(): RdxAvatarConfig;
@@ -1,2 +0,0 @@
1
- export type RdxImageLoadingStatus = 'idle' | 'loading' | 'loaded' | 'error';
2
- export type HTMLAttributeReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
@@ -1,54 +0,0 @@
1
- import { AfterViewInit } from '@angular/core';
2
- import { DateValue } from '@internationalized/date';
3
- import * as i0 from "@angular/core";
4
- export declare class RdxCalendarCellTriggerDirective implements AfterViewInit {
5
- private readonly rootContext;
6
- private readonly elementRef;
7
- /**
8
- * The date value provided to the cell trigger
9
- */
10
- readonly day: import("@angular/core").InputSignal<DateValue | undefined>;
11
- /**
12
- * The month in which the cell is rendered
13
- */
14
- readonly month: import("@angular/core").InputSignal<DateValue | undefined>;
15
- /**
16
- * Current day
17
- */
18
- readonly dayValue: import("@angular/core").Signal<string | undefined>;
19
- /**
20
- * Current today state
21
- */
22
- readonly isDateToday: import("@angular/core").Signal<boolean>;
23
- /**
24
- * Current selected state
25
- */
26
- readonly isSelectedDate: import("@angular/core").Signal<boolean>;
27
- readonly isDisabled: import("@angular/core").Signal<boolean>;
28
- readonly isOutsideView: import("@angular/core").Signal<boolean>;
29
- readonly isFocusedDate: import("@angular/core").Signal<boolean>;
30
- readonly isUnavailable: import("@angular/core").Signal<boolean>;
31
- readonly labelText: import("@angular/core").Signal<string>;
32
- /**
33
- * @ignore
34
- */
35
- currentElement: HTMLElement;
36
- ngAfterViewInit(): void;
37
- protected onClick(): void;
38
- protected onArrowKey(event: KeyboardEvent): void;
39
- private shiftFocus;
40
- /**
41
- * @ignore
42
- */
43
- SELECTOR: string;
44
- /**
45
- * @ignore
46
- */
47
- getSelectableCells(calendar: HTMLElement): HTMLElement[];
48
- /**
49
- * @ignore
50
- */
51
- changeDate(date: DateValue): void;
52
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCalendarCellTriggerDirective, never>;
53
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCalendarCellTriggerDirective, "[rdxCalendarCellTrigger]", ["rdxCalendarCellTrigger"], { "day": { "alias": "day"; "required": false; "isSignal": true; }; "month": { "alias": "month"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
54
- }
@@ -1,11 +0,0 @@
1
- import { DateValue } from '@internationalized/date';
2
- import * as i0 from "@angular/core";
3
- export declare class RdxCalendarCellDirective {
4
- protected readonly rootContext: import("./\u0441alendar-\u0441ontext.token").CalendarRootContextToken;
5
- /**
6
- * The date of the cell
7
- */
8
- readonly date: import("@angular/core").InputSignal<DateValue | undefined>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCalendarCellDirective, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCalendarCellDirective, "td[rdxCalendarCell]", never, { "date": { "alias": "date"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
11
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class RdxCalendarGridBodyDirective {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCalendarGridBodyDirective, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCalendarGridBodyDirective, "tbody[rdxCalendarGridBody]", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class RdxCalendarGridHeadDirective {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCalendarGridHeadDirective, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCalendarGridHeadDirective, "thead[rdxCalendarGridHead]", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class RdxCalendarGridRowDirective {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCalendarGridRowDirective, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCalendarGridRowDirective, "tr[rdxCalendarGridRow]", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class RdxCalendarGridDirective {
3
- private readonly rootContext;
4
- readonly disabled: import("@angular/core").Signal<true | undefined>;
5
- readonly readonly: import("@angular/core").Signal<true | undefined>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCalendarGridDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCalendarGridDirective, "table[rdxCalendarGrid]", never, {}, {}, never, never, true, never>;
8
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class RdxCalendarHeadCellDirective {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCalendarHeadCellDirective, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCalendarHeadCellDirective, "th[rdxCalendarHeadCell]", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class RdxCalendarHeaderDirective {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCalendarHeaderDirective, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCalendarHeaderDirective, "div[rdxCalendarHeader]", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class RdxCalendarHeadingDirective {
3
- protected readonly rootContext: import("./\u0441alendar-\u0441ontext.token").CalendarRootContextToken;
4
- readonly headingValue: import("@angular/core").Signal<string>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCalendarHeadingDirective, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCalendarHeadingDirective, "div[rdxCalendarHeading]", ["rdxCalendarHeading"], {}, {}, never, never, true, never>;
7
- }
@@ -1,16 +0,0 @@
1
- import { DateValue } from '@internationalized/date';
2
- import * as i0 from "@angular/core";
3
- export declare class RdxCalendarNextDirective {
4
- protected readonly rootContext: import("./\u0441alendar-\u0441ontext.token").CalendarRootContextToken;
5
- /**
6
- * The function to be used for the `next page`. Overwrites the nextPage function set on the `CalendarRoot`.
7
- */
8
- readonly nextPage: import("@angular/core").InputSignal<((placeholder: DateValue) => DateValue) | undefined>;
9
- /**
10
- * @ignore
11
- */
12
- readonly disabled: import("@angular/core").Signal<boolean>;
13
- protected onClick(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCalendarNextDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCalendarNextDirective, "button[rdxCalendarNext]", ["rdxCalendarNext"], { "nextPage": { "alias": "nextPage"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
16
- }
@@ -1,16 +0,0 @@
1
- import { DateValue } from '@internationalized/date';
2
- import * as i0 from "@angular/core";
3
- export declare class RdxCalendarPrevDirective {
4
- protected readonly rootContext: import("./\u0441alendar-\u0441ontext.token").CalendarRootContextToken;
5
- /**
6
- * The function to be used for the `prev page`. Overwrites the prevPage function set on the `CalendarRoot`.
7
- */
8
- readonly prevPage: import("@angular/core").InputSignal<((placeholder: DateValue) => DateValue) | undefined>;
9
- /**
10
- * @ignore
11
- */
12
- readonly disabled: import("@angular/core").Signal<boolean>;
13
- protected onClick(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCalendarPrevDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCalendarPrevDirective, "button[rdxCalendarPrev]", ["rdxCalendarPrev"], { "prevPage": { "alias": "prevPage"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
16
- }
@@ -1,148 +0,0 @@
1
- import { BooleanInput } from '@angular/cdk/coercion';
2
- import { AfterViewInit } from '@angular/core';
3
- import { DateValue } from '@internationalized/date';
4
- import { DateMatcher, Formatter, Month } from '@radix-ng/primitives/core';
5
- import * as i0 from "@angular/core";
6
- export declare class RdxCalendarRootDirective implements AfterViewInit {
7
- private readonly elementRef;
8
- /**
9
- * The controlled checked state of the calendar
10
- */
11
- readonly value: import("@angular/core").ModelSignal<DateValue | DateValue[] | undefined>;
12
- /**
13
- * The default placeholder date
14
- */
15
- readonly defaultPlaceholder: import("@angular/core").ModelSignal<DateValue | undefined>;
16
- readonly locale: import("@angular/core").InputSignal<string>;
17
- readonly defaultDate: DateValue;
18
- /**
19
- * The placeholder date, which is used to determine what month to display when no date is selected.
20
- * This updates as the user navigates the calendar and can be used to programmatically control the calendar view
21
- */
22
- readonly placeholder: import("@angular/core").ModelSignal<DateValue>;
23
- readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
24
- /**
25
- * Whether to always display 6 weeks in the calendar
26
- */
27
- readonly fixedWeeks: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
28
- /**
29
- * Whether the calendar is disabled
30
- */
31
- readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
32
- /**
33
- * Whether to prevent the user from deselecting a date without selecting another date first
34
- */
35
- readonly preventDeselect: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
36
- /**
37
- * The day of the week to start the calendar on
38
- */
39
- readonly weekStartsOn: import("@angular/core").InputSignal<0 | 1 | 2 | 3 | 4 | 5 | 6>;
40
- /**
41
- * The number of months to display at once
42
- */
43
- readonly numberOfMonths: import("@angular/core").InputSignal<number>;
44
- /**
45
- * The reading direction of the calendar when applicable.
46
- */
47
- readonly dir: import("@angular/core").InputSignal<"ltr" | "rtl">;
48
- /**
49
- * The minimum date that can be selected
50
- */
51
- readonly minValue: import("@angular/core").InputSignal<DateValue | undefined>;
52
- /**
53
- * The maximum date that can be selected
54
- */
55
- readonly maxValue: import("@angular/core").InputSignal<DateValue | undefined>;
56
- /**
57
- * The format to use for the weekday strings provided via the weekdays slot prop
58
- */
59
- readonly weekdayFormat: import("@angular/core").InputSignal<"long" | "short" | "narrow" | undefined>;
60
- /**
61
- * The accessible label for the calendar
62
- */
63
- readonly calendarLabel: import("@angular/core").InputSignal<string | undefined>;
64
- /**
65
- * Whether the calendar is readonly
66
- */
67
- readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
68
- /**
69
- * This property causes the previous and next buttons to navigate by the number of months displayed at once, rather than one month
70
- */
71
- readonly pagedNavigation: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
72
- readonly propsNextPage: import("@angular/core").InputSignal<((placeholder: DateValue) => DateValue) | undefined>;
73
- readonly propsPrevPage: import("@angular/core").InputSignal<((placeholder: DateValue) => DateValue) | undefined>;
74
- /**
75
- * A function that returns whether a date is disabled
76
- */
77
- readonly isDateDisabled: import("@angular/core").InputSignal<DateMatcher | undefined>;
78
- /**
79
- * A function that returns whether a date is unavailable
80
- */
81
- readonly isDateUnavailable: import("@angular/core").InputSignal<DateMatcher | undefined>;
82
- readonly initialFocus: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
83
- readonly months: import("@angular/core").ModelSignal<Month<DateValue>[] | undefined>;
84
- /**
85
- * The days of the week
86
- */
87
- readonly weekDays: import("@angular/core").ModelSignal<string[] | undefined>;
88
- protected readonly _fixedWeeks: import("@angular/core").WritableSignal<boolean>;
89
- protected readonly _disabled: import("@angular/core").WritableSignal<boolean>;
90
- protected readonly _pagedNavigation: import("@angular/core").WritableSignal<boolean>;
91
- /**
92
- * @ignore
93
- */
94
- readonly headingValue: import("@angular/core").WritableSignal<string>;
95
- /**
96
- * @ignore
97
- */
98
- readonly fullCalendarLabel: import("@angular/core").WritableSignal<string>;
99
- /**
100
- * @ignore
101
- */
102
- nextPage: (nextPageFunc?: (date: DateValue) => DateValue) => void;
103
- /**
104
- * @ignore
105
- */
106
- prevPage: (nextPageFunc?: (date: DateValue) => DateValue) => void;
107
- /**
108
- * @ignore
109
- */
110
- isNextButtonDisabled: (nextPageFunc?: (date: DateValue) => DateValue) => boolean;
111
- /**
112
- * @ignore
113
- */
114
- isPrevButtonDisabled: (nextPageFunc?: (date: DateValue) => DateValue) => boolean;
115
- /**
116
- * @ignore
117
- */
118
- isDateSelected: DateMatcher;
119
- /**
120
- * @ignore
121
- */
122
- isInvalid: boolean;
123
- /**
124
- * @ignore
125
- */
126
- isOutsideVisibleView: (date: DateValue) => boolean;
127
- /**
128
- * @ignore
129
- */
130
- formatter: Formatter;
131
- /**
132
- * @ignore
133
- */
134
- currentElement: HTMLElement;
135
- private readonly calendar;
136
- constructor();
137
- ngAfterViewInit(): void;
138
- /**
139
- * @ignore
140
- */
141
- onPlaceholderChange(value: DateValue): void;
142
- /**
143
- * @ignore
144
- */
145
- onDateChange(date: DateValue): void;
146
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCalendarRootDirective, never>;
147
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCalendarRootDirective, "[rdxCalendarRoot]", ["rdxCalendarRoot"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultPlaceholder": { "alias": "defaultPlaceholder"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "fixedWeeks": { "alias": "fixedWeeks"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "preventDeselect": { "alias": "preventDeselect"; "required": false; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": false; "isSignal": true; }; "numberOfMonths": { "alias": "numberOfMonths"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "weekdayFormat": { "alias": "weekdayFormat"; "required": false; "isSignal": true; }; "calendarLabel": { "alias": "calendarLabel"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "pagedNavigation": { "alias": "pagedNavigation"; "required": false; "isSignal": true; }; "propsNextPage": { "alias": "propsNextPage"; "required": false; "isSignal": true; }; "propsPrevPage": { "alias": "propsPrevPage"; "required": false; "isSignal": true; }; "isDateDisabled": { "alias": "isDateDisabled"; "required": false; "isSignal": true; }; "isDateUnavailable": { "alias": "isDateUnavailable"; "required": false; "isSignal": true; }; "initialFocus": { "alias": "initialFocus"; "required": false; "isSignal": true; }; "months": { "alias": "months"; "required": false; "isSignal": true; }; "weekDays": { "alias": "weekDays"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "defaultPlaceholder": "defaultPlaceholderChange"; "placeholder": "placeholderChange"; "months": "monthsChange"; "weekDays": "weekDaysChange"; }, never, never, true, never>;
148
- }
@@ -1,44 +0,0 @@
1
- import { InputSignal, ModelSignal, WritableSignal } from '@angular/core';
2
- import { DateValue } from '@internationalized/date';
3
- import { DateMatcher, Month } from '@radix-ng/primitives/core';
4
- export type CalendarProps = {
5
- locale: InputSignal<string>;
6
- placeholder: WritableSignal<DateValue>;
7
- weekStartsOn: InputSignal<0 | 1 | 2 | 3 | 4 | 5 | 6>;
8
- fixedWeeks: WritableSignal<boolean>;
9
- numberOfMonths: InputSignal<number>;
10
- minValue: InputSignal<DateValue | undefined>;
11
- maxValue: InputSignal<DateValue | undefined>;
12
- disabled: WritableSignal<boolean>;
13
- weekdayFormat: InputSignal<Intl.DateTimeFormatOptions['weekday']>;
14
- pagedNavigation: WritableSignal<boolean>;
15
- isDateDisabled?: InputSignal<DateMatcher | undefined>;
16
- isDateUnavailable?: InputSignal<DateMatcher | undefined>;
17
- calendarLabel: InputSignal<string | undefined>;
18
- nextPage: InputSignal<((placeholder: DateValue) => DateValue) | undefined>;
19
- prevPage: InputSignal<((placeholder: DateValue) => DateValue) | undefined>;
20
- };
21
- export type CalendarStateProps = {
22
- date: ModelSignal<DateValue | DateValue[] | undefined>;
23
- isDateDisabled?: DateMatcher;
24
- isDateUnavailable?: DateMatcher;
25
- };
26
- export declare function calendarState(props: CalendarStateProps): {
27
- isDateSelected: (dateObj: DateValue) => boolean;
28
- isInvalid: import("@angular/core").Signal<boolean>;
29
- };
30
- export declare function calendar(props: CalendarProps): {
31
- isDateDisabled: (dateObj: DateValue) => boolean;
32
- isDateUnavailable: (date: DateValue) => boolean;
33
- isNextButtonDisabled: (nextPageFunc?: (date: DateValue) => DateValue) => boolean;
34
- isPrevButtonDisabled: (prevPageFunc?: (date: DateValue) => DateValue) => boolean;
35
- month: WritableSignal<Month<DateValue>[]>;
36
- weekdays: import("@angular/core").Signal<string[]>;
37
- visibleView: import("@angular/core").Signal<DateValue[]>;
38
- isOutsideVisibleView: (date: DateValue) => boolean;
39
- formatter: import("@radix-ng/primitives/core").Formatter;
40
- nextPage: (nextPageFunc?: (date: DateValue) => DateValue) => void;
41
- prevPage: (prevPageFunc?: (date: DateValue) => DateValue) => void;
42
- headingValue: import("@angular/core").Signal<string>;
43
- fullCalendarLabel: import("@angular/core").Signal<string>;
44
- };
@@ -1,24 +0,0 @@
1
- import { InjectionToken, InputSignal, ModelSignal, WritableSignal } from '@angular/core';
2
- import { DateValue } from '@internationalized/date';
3
- import { DateMatcher, Formatter } from '@radix-ng/primitives/core';
4
- export interface CalendarRootContextToken {
5
- nextPage?: (nextPageFunc?: (date: DateValue) => DateValue) => void;
6
- prevPage?: (nextPageFunc?: (date: DateValue) => DateValue) => void;
7
- isNextButtonDisabled: (nextPageFunc?: (date: DateValue) => DateValue) => boolean;
8
- isPrevButtonDisabled: (nextPageFunc?: (date: DateValue) => DateValue) => boolean;
9
- headingValue: WritableSignal<string>;
10
- dir: InputSignal<'ltr' | 'rtl'>;
11
- readonly: boolean;
12
- numberOfMonths: InputSignal<number>;
13
- placeholder: ModelSignal<DateValue>;
14
- pagedNavigation: boolean;
15
- disabled: InputSignal<boolean>;
16
- isDateSelected?: DateMatcher;
17
- isDateDisabled?: DateMatcher;
18
- isDateUnavailable: DateMatcher;
19
- formatter: Formatter;
20
- onDateChange: (date: DateValue) => void;
21
- currentElement: HTMLElement;
22
- }
23
- export declare const CALENDAR_ROOT_CONTEXT: InjectionToken<CalendarRootContextToken>;
24
- export declare function injectCalendarRootContext(): CalendarRootContextToken;
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class RdxCheckboxButtonDirective {
3
- protected readonly checkbox: import("@radix-ng/primitives/checkbox").RdxCheckboxRootDirective;
4
- readonly id: import("@angular/core").InputSignal<string | null>;
5
- protected readonly elementId: import("@angular/core").Signal<string | null>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCheckboxButtonDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCheckboxButtonDirective, "button[rdxCheckboxButton]", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
8
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class RdxCheckboxIndicatorDirective {
3
- protected readonly checkbox: import("@radix-ng/primitives/checkbox").RdxCheckboxRootDirective;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCheckboxIndicatorDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCheckboxIndicatorDirective, "[rdxCheckboxIndicator]", never, {}, {}, never, never, true, never>;
6
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@radix-ng/primitives/visually-hidden";
3
- export declare class RdxCheckboxInputDirective {
4
- protected readonly checkbox: import("@radix-ng/primitives/checkbox").RdxCheckboxRootDirective;
5
- readonly id: import("@angular/core").InputSignal<string | undefined>;
6
- protected readonly elementId: import("@angular/core").Signal<string | undefined>;
7
- protected readonly value: import("@angular/core").Signal<"" | "on" | "off">;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCheckboxInputDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCheckboxInputDirective, "input[rdxCheckboxInput]", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.RdxVisuallyHiddenInputDirective; inputs: { "feature": "\"fully-hidden\""; }; outputs: {}; }]>;
10
- }
@@ -1,86 +0,0 @@
1
- import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export type CheckboxState = 'unchecked' | 'checked' | 'indeterminate';
5
- /**
6
- * @group Components
7
- */
8
- export declare class RdxCheckboxRootDirective implements ControlValueAccessor, OnChanges {
9
- /**
10
- * The controlled checked state of the checkbox. Must be used in conjunction with onCheckedChange.
11
- * @group Props
12
- */
13
- checked: boolean;
14
- /**
15
- * Defines whether the checkbox is indeterminate.
16
- * @group Props
17
- */
18
- indeterminate: boolean;
19
- /**
20
- * Defines whether the checkbox is disabled.
21
- * @group Props
22
- */
23
- disabled: boolean;
24
- /**
25
- * @group Props
26
- */
27
- required: boolean;
28
- /**
29
- * Event emitted when the checkbox checked state changes.
30
- * @group Emits
31
- */
32
- readonly checkedChange: EventEmitter<boolean>;
33
- /**
34
- * Event emitted when the indeterminate state changes.
35
- * @group Emits
36
- */
37
- readonly indeterminateChange: EventEmitter<boolean>;
38
- /**
39
- * Determine the state
40
- */
41
- get state(): CheckboxState;
42
- /**
43
- * Store the callback function that should be called when the checkbox checked state changes.
44
- * @internal
45
- */
46
- private onChange?;
47
- /**
48
- * Store the callback function that should be called when the checkbox is blurred.
49
- * @internal
50
- */
51
- private onTouched?;
52
- protected onKeyDown(event: KeyboardEvent): void;
53
- protected onClick($event: MouseEvent): void;
54
- protected onBlur(): void;
55
- ngOnChanges(changes: SimpleChanges): void;
56
- /**
57
- * Sets the checked state of the checkbox.
58
- * @param checked The checked state of the checkbox.
59
- * @internal
60
- */
61
- writeValue(checked: boolean): void;
62
- /**
63
- * Registers a callback function that should be called when the checkbox checked state changes.
64
- * @param fn The callback function.
65
- * @internal
66
- */
67
- registerOnChange(fn: (checked: boolean) => void): void;
68
- /**
69
- * Registers a callback function that should be called when the checkbox is blurred.
70
- * @param fn The callback function.
71
- * @internal
72
- */
73
- registerOnTouched(fn: () => void): void;
74
- /**
75
- * Sets the disabled state of the checkbox.
76
- * @param isDisabled The disabled state of the checkbox.
77
- * @internal
78
- */
79
- setDisabledState(isDisabled: boolean): void;
80
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCheckboxRootDirective, never>;
81
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCheckboxRootDirective, "[rdxCheckboxRoot]", never, { "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "checkedChange": "checkedChange"; "indeterminateChange": "indeterminateChange"; }, never, never, true, never>;
82
- static ngAcceptInputType_checked: unknown;
83
- static ngAcceptInputType_indeterminate: unknown;
84
- static ngAcceptInputType_disabled: unknown;
85
- static ngAcceptInputType_required: unknown;
86
- }
@@ -1,4 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import type { RdxCheckboxRootDirective } from './checkbox.directive';
3
- export declare const RdxCheckboxToken: InjectionToken<RdxCheckboxRootDirective>;
4
- export declare function injectCheckbox(): RdxCheckboxRootDirective;
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@radix-ng/primitives/presence";
3
- export declare class RdxCollapsibleContentPresenceDirective {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<RdxCollapsibleContentPresenceDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCollapsibleContentPresenceDirective, "ng-template[rdxCollapsibleContentPresence]", never, {}, {}, never, never, true, [{ directive: typeof i1.RdxPresenceDirective; inputs: {}; outputs: {}; }]>;
6
- }