@accelint/design-toolkit 9.2.0 → 9.4.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 (733) hide show
  1. package/README.md +15 -22
  2. package/catalog-info.yaml +4 -4
  3. package/dist/components/accordion/context.d.ts +6 -0
  4. package/dist/components/accordion/context.js +6 -0
  5. package/dist/components/accordion/context.js.map +1 -1
  6. package/dist/components/accordion/group.d.ts +37 -2
  7. package/dist/components/accordion/group.js +34 -0
  8. package/dist/components/accordion/group.js.map +1 -1
  9. package/dist/components/accordion/header.d.ts +27 -2
  10. package/dist/components/accordion/header.js +25 -1
  11. package/dist/components/accordion/header.js.map +1 -1
  12. package/dist/components/accordion/index.d.ts +18 -4
  13. package/dist/components/accordion/index.js +16 -2
  14. package/dist/components/accordion/index.js.map +1 -1
  15. package/dist/components/accordion/panel.d.ts +29 -2
  16. package/dist/components/accordion/panel.js +26 -0
  17. package/dist/components/accordion/panel.js.map +1 -1
  18. package/dist/components/accordion/trigger.d.ts +25 -2
  19. package/dist/components/accordion/trigger.js +23 -1
  20. package/dist/components/accordion/trigger.js.map +1 -1
  21. package/dist/components/accordion/types.d.ts +33 -0
  22. package/dist/components/action-bar/index.d.ts +35 -6
  23. package/dist/components/action-bar/index.js +33 -5
  24. package/dist/components/action-bar/index.js.map +1 -1
  25. package/dist/components/action-bar/styles.module.css +9 -1
  26. package/dist/components/action-bar/types.d.ts +8 -0
  27. package/dist/components/avatar/context.d.ts +22 -4
  28. package/dist/components/avatar/context.js +18 -0
  29. package/dist/components/avatar/context.js.map +1 -1
  30. package/dist/components/avatar/index.d.ts +22 -15
  31. package/dist/components/avatar/index.js +21 -14
  32. package/dist/components/avatar/index.js.map +1 -1
  33. package/dist/components/avatar/types.d.ts +13 -0
  34. package/dist/components/badge/context.d.ts +22 -4
  35. package/dist/components/badge/context.js +18 -0
  36. package/dist/components/badge/context.js.map +1 -1
  37. package/dist/components/badge/index.d.ts +30 -16
  38. package/dist/components/badge/index.js +28 -14
  39. package/dist/components/badge/index.js.map +1 -1
  40. package/dist/components/badge/types.d.ts +9 -0
  41. package/dist/components/breadcrumbs/index.d.ts +10 -2
  42. package/dist/components/breadcrumbs/index.js +7 -0
  43. package/dist/components/breadcrumbs/index.js.map +1 -1
  44. package/dist/components/breadcrumbs/item.d.ts +25 -2
  45. package/dist/components/breadcrumbs/item.js +23 -1
  46. package/dist/components/breadcrumbs/item.js.map +1 -1
  47. package/dist/components/breadcrumbs/types.d.ts +17 -0
  48. package/dist/components/button/context.d.ts +62 -8
  49. package/dist/components/button/context.js +54 -0
  50. package/dist/components/button/context.js.map +1 -1
  51. package/dist/components/button/index.d.ts +21 -2
  52. package/dist/components/button/index.js +19 -0
  53. package/dist/components/button/index.js.map +1 -1
  54. package/dist/components/button/link.d.ts +22 -2
  55. package/dist/components/button/link.js +20 -0
  56. package/dist/components/button/link.js.map +1 -1
  57. package/dist/components/button/toggle.d.ts +23 -2
  58. package/dist/components/button/toggle.js +22 -1
  59. package/dist/components/button/toggle.js.map +1 -1
  60. package/dist/components/button/types.d.ts +26 -0
  61. package/dist/components/checkbox/context.d.ts +9 -3
  62. package/dist/components/checkbox/context.js +6 -0
  63. package/dist/components/checkbox/context.js.map +1 -1
  64. package/dist/components/checkbox/group.d.ts +31 -2
  65. package/dist/components/checkbox/group.js +28 -0
  66. package/dist/components/checkbox/group.js.map +1 -1
  67. package/dist/components/checkbox/index.d.ts +19 -2
  68. package/dist/components/checkbox/index.js +19 -1
  69. package/dist/components/checkbox/index.js.map +1 -1
  70. package/dist/components/checkbox/types.d.ts +19 -0
  71. package/dist/components/chip/context.d.ts +22 -4
  72. package/dist/components/chip/context.js +18 -0
  73. package/dist/components/chip/context.js.map +1 -1
  74. package/dist/components/chip/deletable.d.ts +38 -2
  75. package/dist/components/chip/deletable.js +36 -1
  76. package/dist/components/chip/deletable.js.map +1 -1
  77. package/dist/components/chip/index.d.ts +24 -2
  78. package/dist/components/chip/index.js +22 -0
  79. package/dist/components/chip/index.js.map +1 -1
  80. package/dist/components/chip/list.d.ts +49 -4
  81. package/dist/components/chip/list.js +45 -0
  82. package/dist/components/chip/list.js.map +1 -1
  83. package/dist/components/chip/selectable.d.ts +34 -2
  84. package/dist/components/chip/selectable.js +31 -0
  85. package/dist/components/chip/selectable.js.map +1 -1
  86. package/dist/components/chip/types.d.ts +27 -0
  87. package/dist/components/classification-badge/context.d.ts +20 -4
  88. package/dist/components/classification-badge/context.js +16 -0
  89. package/dist/components/classification-badge/context.js.map +1 -1
  90. package/dist/components/classification-badge/index.d.ts +28 -10
  91. package/dist/components/classification-badge/index.js +25 -8
  92. package/dist/components/classification-badge/index.js.map +1 -1
  93. package/dist/components/classification-badge/types.d.ts +4 -0
  94. package/dist/components/classification-banner/context.d.ts +20 -4
  95. package/dist/components/classification-banner/context.js +16 -0
  96. package/dist/components/classification-banner/context.js.map +1 -1
  97. package/dist/components/classification-banner/index.d.ts +12 -2
  98. package/dist/components/classification-banner/index.js +9 -0
  99. package/dist/components/classification-banner/index.js.map +1 -1
  100. package/dist/components/classification-banner/types.d.ts +4 -0
  101. package/dist/components/clock/index.d.ts +12 -2
  102. package/dist/components/clock/index.js +10 -0
  103. package/dist/components/clock/index.js.map +1 -1
  104. package/dist/components/clock/types.d.ts +4 -0
  105. package/dist/components/color-picker/index.d.ts +12 -10
  106. package/dist/components/color-picker/index.js +10 -8
  107. package/dist/components/color-picker/index.js.map +1 -1
  108. package/dist/components/color-picker/types.d.ts +8 -0
  109. package/dist/components/combobox-field/context.d.ts +20 -4
  110. package/dist/components/combobox-field/context.js +16 -0
  111. package/dist/components/combobox-field/context.js.map +1 -1
  112. package/dist/components/combobox-field/index.d.ts +15 -2
  113. package/dist/components/combobox-field/index.js +57 -38
  114. package/dist/components/combobox-field/index.js.map +1 -1
  115. package/dist/components/combobox-field/styles.module.css +5 -1
  116. package/dist/components/combobox-field/types.d.ts +19 -0
  117. package/dist/components/coordinate-field/context.d.ts +15 -6
  118. package/dist/components/coordinate-field/context.js +9 -0
  119. package/dist/components/coordinate-field/context.js.map +1 -1
  120. package/dist/components/coordinate-field/coordinate-utils.d.ts +8 -0
  121. package/dist/components/coordinate-field/coordinate-utils.js +8 -0
  122. package/dist/components/coordinate-field/coordinate-utils.js.map +1 -1
  123. package/dist/components/coordinate-field/index.d.ts +29 -2
  124. package/dist/components/coordinate-field/index.js +32 -4
  125. package/dist/components/coordinate-field/index.js.map +1 -1
  126. package/dist/components/coordinate-field/segment.d.ts +28 -2
  127. package/dist/components/coordinate-field/segment.js +28 -1
  128. package/dist/components/coordinate-field/segment.js.map +1 -1
  129. package/dist/components/coordinate-field/styles.module.css +19 -1
  130. package/dist/components/coordinate-field/types.d.ts +2 -0
  131. package/dist/components/coordinate-field/types.js.map +1 -1
  132. package/dist/components/date-field/index.d.ts +28 -2
  133. package/dist/components/date-field/index.js +29 -2
  134. package/dist/components/date-field/index.js.map +1 -1
  135. package/dist/components/date-field/styles.module.css +4 -0
  136. package/dist/components/date-field/types.d.ts +19 -3
  137. package/dist/components/deferred-collection/index.d.ts +51 -0
  138. package/dist/components/deferred-collection/index.js +52 -0
  139. package/dist/components/deferred-collection/index.js.map +1 -0
  140. package/dist/components/deferred-collection/types.d.ts +29 -0
  141. package/dist/components/deferred-collection/types.js +12 -0
  142. package/dist/components/details-list/context.d.ts +25 -4
  143. package/dist/components/details-list/context.js +21 -0
  144. package/dist/components/details-list/context.js.map +1 -1
  145. package/dist/components/details-list/index.d.ts +9 -2
  146. package/dist/components/details-list/index.js +7 -0
  147. package/dist/components/details-list/index.js.map +1 -1
  148. package/dist/components/details-list/label.d.ts +18 -2
  149. package/dist/components/details-list/label.js +16 -0
  150. package/dist/components/details-list/label.js.map +1 -1
  151. package/dist/components/details-list/types.d.ts +14 -0
  152. package/dist/components/details-list/value.d.ts +20 -2
  153. package/dist/components/details-list/value.js +17 -0
  154. package/dist/components/details-list/value.js.map +1 -1
  155. package/dist/components/dialog/content.d.ts +23 -2
  156. package/dist/components/dialog/content.js +20 -0
  157. package/dist/components/dialog/content.js.map +1 -1
  158. package/dist/components/dialog/context.d.ts +5 -2
  159. package/dist/components/dialog/context.js +3 -0
  160. package/dist/components/dialog/context.js.map +1 -1
  161. package/dist/components/dialog/footer.d.ts +26 -2
  162. package/dist/components/dialog/footer.js +23 -0
  163. package/dist/components/dialog/footer.js.map +1 -1
  164. package/dist/components/dialog/index.d.ts +12 -2
  165. package/dist/components/dialog/index.js +10 -0
  166. package/dist/components/dialog/index.js.map +1 -1
  167. package/dist/components/dialog/title.d.ts +21 -2
  168. package/dist/components/dialog/title.js +18 -0
  169. package/dist/components/dialog/title.js.map +1 -1
  170. package/dist/components/dialog/trigger.d.ts +18 -0
  171. package/dist/components/dialog/trigger.js +17 -0
  172. package/dist/components/dialog/trigger.js.map +1 -1
  173. package/dist/components/dialog/types.d.ts +12 -0
  174. package/dist/components/divider/context.d.ts +24 -4
  175. package/dist/components/divider/context.js +20 -0
  176. package/dist/components/divider/context.js.map +1 -1
  177. package/dist/components/divider/index.d.ts +13 -2
  178. package/dist/components/divider/index.js +10 -0
  179. package/dist/components/divider/index.js.map +1 -1
  180. package/dist/components/divider/types.d.ts +4 -4
  181. package/dist/components/drawer/back.d.ts +21 -2
  182. package/dist/components/drawer/back.js +19 -1
  183. package/dist/components/drawer/back.js.map +1 -1
  184. package/dist/components/drawer/close.d.ts +25 -2
  185. package/dist/components/drawer/close.js +28 -3
  186. package/dist/components/drawer/close.js.map +1 -1
  187. package/dist/components/drawer/content.d.ts +22 -2
  188. package/dist/components/drawer/content.js +19 -0
  189. package/dist/components/drawer/content.js.map +1 -1
  190. package/dist/components/drawer/context.d.ts +46 -4
  191. package/dist/components/drawer/context.js +45 -2
  192. package/dist/components/drawer/context.js.map +1 -1
  193. package/dist/components/drawer/events.d.ts +2 -0
  194. package/dist/components/drawer/events.js +2 -0
  195. package/dist/components/drawer/events.js.map +1 -1
  196. package/dist/components/drawer/footer.d.ts +24 -2
  197. package/dist/components/drawer/footer.js +21 -0
  198. package/dist/components/drawer/footer.js.map +1 -1
  199. package/dist/components/drawer/header-title.d.ts +22 -4
  200. package/dist/components/drawer/header-title.js +19 -2
  201. package/dist/components/drawer/header-title.js.map +1 -1
  202. package/dist/components/drawer/header.d.ts +34 -2
  203. package/dist/components/drawer/header.js +42 -2
  204. package/dist/components/drawer/header.js.map +1 -1
  205. package/dist/components/drawer/index.d.ts +14 -2
  206. package/dist/components/drawer/index.js +16 -0
  207. package/dist/components/drawer/index.js.map +1 -1
  208. package/dist/components/drawer/layout-main.d.ts +23 -2
  209. package/dist/components/drawer/layout-main.js +20 -0
  210. package/dist/components/drawer/layout-main.js.map +1 -1
  211. package/dist/components/drawer/layout.d.ts +25 -2
  212. package/dist/components/drawer/layout.js +22 -0
  213. package/dist/components/drawer/layout.js.map +1 -1
  214. package/dist/components/drawer/menu-item.d.ts +25 -2
  215. package/dist/components/drawer/menu-item.js +22 -0
  216. package/dist/components/drawer/menu-item.js.map +1 -1
  217. package/dist/components/drawer/menu.d.ts +22 -2
  218. package/dist/components/drawer/menu.js +19 -0
  219. package/dist/components/drawer/menu.js.map +1 -1
  220. package/dist/components/drawer/panel.d.ts +21 -2
  221. package/dist/components/drawer/panel.js +18 -0
  222. package/dist/components/drawer/panel.js.map +1 -1
  223. package/dist/components/drawer/styles.module.css +2 -2
  224. package/dist/components/drawer/trigger.d.ts +31 -2
  225. package/dist/components/drawer/trigger.js +29 -1
  226. package/dist/components/drawer/trigger.js.map +1 -1
  227. package/dist/components/drawer/types.d.ts +149 -2
  228. package/dist/components/drawer/view.d.ts +25 -2
  229. package/dist/components/drawer/view.js +22 -0
  230. package/dist/components/drawer/view.js.map +1 -1
  231. package/dist/components/flashcard/index.d.ts +129 -27
  232. package/dist/components/flashcard/index.js +120 -18
  233. package/dist/components/flashcard/index.js.map +1 -1
  234. package/dist/components/flashcard/styles.module.css +1 -1
  235. package/dist/components/flashcard/types.d.ts +12 -0
  236. package/dist/components/hero/context.d.ts +5 -2
  237. package/dist/components/hero/context.js +3 -0
  238. package/dist/components/hero/context.js.map +1 -1
  239. package/dist/components/hero/index.d.ts +9 -2
  240. package/dist/components/hero/index.js +7 -0
  241. package/dist/components/hero/index.js.map +1 -1
  242. package/dist/components/hero/subtitle.d.ts +17 -2
  243. package/dist/components/hero/subtitle.js +15 -0
  244. package/dist/components/hero/subtitle.js.map +1 -1
  245. package/dist/components/hero/title.d.ts +15 -2
  246. package/dist/components/hero/title.js +13 -0
  247. package/dist/components/hero/title.js.map +1 -1
  248. package/dist/components/hero/types.d.ts +9 -0
  249. package/dist/components/hotkey/context.d.ts +24 -4
  250. package/dist/components/hotkey/context.js +20 -0
  251. package/dist/components/hotkey/context.js.map +1 -1
  252. package/dist/components/hotkey/index.d.ts +17 -2
  253. package/dist/components/hotkey/index.js +15 -0
  254. package/dist/components/hotkey/index.js.map +1 -1
  255. package/dist/components/hotkey/set.d.ts +21 -2
  256. package/dist/components/hotkey/set.js +18 -0
  257. package/dist/components/hotkey/set.js.map +1 -1
  258. package/dist/components/hotkey/types.d.ts +4 -0
  259. package/dist/components/icon/context.d.ts +24 -4
  260. package/dist/components/icon/context.js +20 -0
  261. package/dist/components/icon/context.js.map +1 -1
  262. package/dist/components/icon/index.d.ts +15 -2
  263. package/dist/components/icon/index.js +13 -0
  264. package/dist/components/icon/index.js.map +1 -1
  265. package/dist/components/icon/types.d.ts +4 -0
  266. package/dist/components/input/context.d.ts +6 -2
  267. package/dist/components/input/context.js +4 -0
  268. package/dist/components/input/context.js.map +1 -1
  269. package/dist/components/input/index.d.ts +17 -2
  270. package/dist/components/input/index.js +19 -3
  271. package/dist/components/input/index.js.map +1 -1
  272. package/dist/components/input/styles.module.css +5 -1
  273. package/dist/components/input/types.d.ts +16 -0
  274. package/dist/components/kanban/card-body.d.ts +10 -2
  275. package/dist/components/kanban/card-body.js +8 -0
  276. package/dist/components/kanban/card-body.js.map +1 -1
  277. package/dist/components/kanban/card-header-actions.d.ts +10 -2
  278. package/dist/components/kanban/card-header-actions.js +8 -0
  279. package/dist/components/kanban/card-header-actions.js.map +1 -1
  280. package/dist/components/kanban/card-header-title.d.ts +10 -2
  281. package/dist/components/kanban/card-header-title.js +8 -0
  282. package/dist/components/kanban/card-header-title.js.map +1 -1
  283. package/dist/components/kanban/card-header.d.ts +12 -2
  284. package/dist/components/kanban/card-header.js +10 -0
  285. package/dist/components/kanban/card-header.js.map +1 -1
  286. package/dist/components/kanban/card.d.ts +26 -2
  287. package/dist/components/kanban/card.js +23 -0
  288. package/dist/components/kanban/card.js.map +1 -1
  289. package/dist/components/kanban/column-actions.d.ts +10 -2
  290. package/dist/components/kanban/column-actions.js +9 -1
  291. package/dist/components/kanban/column-actions.js.map +1 -1
  292. package/dist/components/kanban/column-container.d.ts +10 -2
  293. package/dist/components/kanban/column-container.js +8 -0
  294. package/dist/components/kanban/column-container.js.map +1 -1
  295. package/dist/components/kanban/column-content.d.ts +13 -2
  296. package/dist/components/kanban/column-content.js +11 -0
  297. package/dist/components/kanban/column-content.js.map +1 -1
  298. package/dist/components/kanban/column-header-actions.d.ts +13 -2
  299. package/dist/components/kanban/column-header-actions.js +11 -0
  300. package/dist/components/kanban/column-header-actions.js.map +1 -1
  301. package/dist/components/kanban/column-header-drag-handle.d.ts +7 -2
  302. package/dist/components/kanban/column-header-drag-handle.js +6 -1
  303. package/dist/components/kanban/column-header-drag-handle.js.map +1 -1
  304. package/dist/components/kanban/column-header-title.d.ts +10 -2
  305. package/dist/components/kanban/column-header-title.js +8 -0
  306. package/dist/components/kanban/column-header-title.js.map +1 -1
  307. package/dist/components/kanban/column-header.d.ts +12 -2
  308. package/dist/components/kanban/column-header.js +10 -0
  309. package/dist/components/kanban/column-header.js.map +1 -1
  310. package/dist/components/kanban/column.d.ts +22 -2
  311. package/dist/components/kanban/column.js +19 -0
  312. package/dist/components/kanban/column.js.map +1 -1
  313. package/dist/components/kanban/context.d.ts +49 -2
  314. package/dist/components/kanban/context.js +30 -0
  315. package/dist/components/kanban/context.js.map +1 -1
  316. package/dist/components/kanban/header-actions.d.ts +10 -2
  317. package/dist/components/kanban/header-actions.js +8 -0
  318. package/dist/components/kanban/header-actions.js.map +1 -1
  319. package/dist/components/kanban/header-search.d.ts +9 -2
  320. package/dist/components/kanban/header-search.js +7 -0
  321. package/dist/components/kanban/header-search.js.map +1 -1
  322. package/dist/components/kanban/header-title.d.ts +10 -2
  323. package/dist/components/kanban/header-title.js +8 -0
  324. package/dist/components/kanban/header-title.js.map +1 -1
  325. package/dist/components/kanban/header.d.ts +12 -2
  326. package/dist/components/kanban/header.js +10 -0
  327. package/dist/components/kanban/header.js.map +1 -1
  328. package/dist/components/kanban/kanban.d.ts +33 -4
  329. package/dist/components/kanban/kanban.js +29 -0
  330. package/dist/components/kanban/kanban.js.map +1 -1
  331. package/dist/components/kanban/types.d.ts +51 -0
  332. package/dist/components/label/context.d.ts +25 -4
  333. package/dist/components/label/context.js +21 -0
  334. package/dist/components/label/context.js.map +1 -1
  335. package/dist/components/label/index.d.ts +16 -2
  336. package/dist/components/label/index.js +14 -0
  337. package/dist/components/label/index.js.map +1 -1
  338. package/dist/components/label/types.d.ts +5 -0
  339. package/dist/components/lines/index.d.ts +12 -2
  340. package/dist/components/lines/index.js +9 -0
  341. package/dist/components/lines/index.js.map +1 -1
  342. package/dist/components/lines/types.d.ts +6 -0
  343. package/dist/components/link/context.d.ts +21 -2
  344. package/dist/components/link/context.js +18 -0
  345. package/dist/components/link/context.js.map +1 -1
  346. package/dist/components/link/index.d.ts +12 -2
  347. package/dist/components/link/index.js +9 -0
  348. package/dist/components/link/index.js.map +1 -1
  349. package/dist/components/link/types.d.ts +5 -0
  350. package/dist/components/list/context.d.ts +11 -2
  351. package/dist/components/list/context.js +9 -0
  352. package/dist/components/list/context.js.map +1 -1
  353. package/dist/components/list/index.d.ts +11 -2
  354. package/dist/components/list/index.js +9 -0
  355. package/dist/components/list/index.js.map +1 -1
  356. package/dist/components/list/item-content.d.ts +9 -2
  357. package/dist/components/list/item-content.js +6 -0
  358. package/dist/components/list/item-content.js.map +1 -1
  359. package/dist/components/list/item-description.d.ts +9 -2
  360. package/dist/components/list/item-description.js +7 -0
  361. package/dist/components/list/item-description.js.map +1 -1
  362. package/dist/components/list/item-title.d.ts +9 -2
  363. package/dist/components/list/item-title.js +7 -0
  364. package/dist/components/list/item-title.js.map +1 -1
  365. package/dist/components/list/item.d.ts +10 -2
  366. package/dist/components/list/item.js +8 -0
  367. package/dist/components/list/item.js.map +1 -1
  368. package/dist/components/list/types.d.ts +22 -0
  369. package/dist/components/menu/context.d.ts +6 -2
  370. package/dist/components/menu/context.js +4 -0
  371. package/dist/components/menu/context.js.map +1 -1
  372. package/dist/components/menu/index.d.ts +24 -3
  373. package/dist/components/menu/index.js +22 -1
  374. package/dist/components/menu/index.js.map +1 -1
  375. package/dist/components/menu/item-description.d.ts +17 -2
  376. package/dist/components/menu/item-description.js +15 -0
  377. package/dist/components/menu/item-description.js.map +1 -1
  378. package/dist/components/menu/item-label.d.ts +17 -2
  379. package/dist/components/menu/item-label.js +15 -0
  380. package/dist/components/menu/item-label.js.map +1 -1
  381. package/dist/components/menu/item.d.ts +23 -2
  382. package/dist/components/menu/item.js +21 -1
  383. package/dist/components/menu/item.js.map +1 -1
  384. package/dist/components/menu/section.d.ts +23 -2
  385. package/dist/components/menu/section.js +20 -0
  386. package/dist/components/menu/section.js.map +1 -1
  387. package/dist/components/menu/separator.d.ts +16 -2
  388. package/dist/components/menu/separator.js +14 -0
  389. package/dist/components/menu/separator.js.map +1 -1
  390. package/dist/components/menu/styles.module.css +62 -46
  391. package/dist/components/menu/submenu.d.ts +18 -2
  392. package/dist/components/menu/submenu.js +16 -0
  393. package/dist/components/menu/submenu.js.map +1 -1
  394. package/dist/components/menu/trigger.d.ts +15 -0
  395. package/dist/components/menu/trigger.js +15 -0
  396. package/dist/components/menu/trigger.js.map +1 -1
  397. package/dist/components/menu/types.d.ts +25 -0
  398. package/dist/components/notice/events.d.ts +9 -0
  399. package/dist/components/notice/events.js +9 -0
  400. package/dist/components/notice/events.js.map +1 -1
  401. package/dist/components/notice/index.d.ts +34 -2
  402. package/dist/components/notice/index.js +32 -1
  403. package/dist/components/notice/index.js.map +1 -1
  404. package/dist/components/notice/list.d.ts +31 -2
  405. package/dist/components/notice/list.js +28 -0
  406. package/dist/components/notice/list.js.map +1 -1
  407. package/dist/components/notice/notice-icon.d.ts +22 -2
  408. package/dist/components/notice/notice-icon.js +23 -1
  409. package/dist/components/notice/notice-icon.js.map +1 -1
  410. package/dist/components/notice/types.d.ts +60 -0
  411. package/dist/components/notice/utils.d.ts +8 -0
  412. package/dist/components/notice/utils.js +8 -0
  413. package/dist/components/notice/utils.js.map +1 -1
  414. package/dist/components/options/context.d.ts +3 -2
  415. package/dist/components/options/context.js +1 -0
  416. package/dist/components/options/context.js.map +1 -1
  417. package/dist/components/options/index.d.ts +15 -2
  418. package/dist/components/options/index.js +13 -0
  419. package/dist/components/options/index.js.map +1 -1
  420. package/dist/components/options/item-content.d.ts +22 -2
  421. package/dist/components/options/item-content.js +19 -0
  422. package/dist/components/options/item-content.js.map +1 -1
  423. package/dist/components/options/item-description.d.ts +14 -2
  424. package/dist/components/options/item-description.js +12 -0
  425. package/dist/components/options/item-description.js.map +1 -1
  426. package/dist/components/options/item-label.d.ts +14 -2
  427. package/dist/components/options/item-label.js +12 -0
  428. package/dist/components/options/item-label.js.map +1 -1
  429. package/dist/components/options/item.d.ts +22 -0
  430. package/dist/components/options/item.js +21 -0
  431. package/dist/components/options/item.js.map +1 -1
  432. package/dist/components/options/section.d.ts +21 -2
  433. package/dist/components/options/section.js +18 -0
  434. package/dist/components/options/section.js.map +1 -1
  435. package/dist/components/options/types.d.ts +24 -0
  436. package/dist/components/pagination/context.d.ts +3 -2
  437. package/dist/components/pagination/context.js +1 -0
  438. package/dist/components/pagination/context.js.map +1 -1
  439. package/dist/components/pagination/index.d.ts +18 -11
  440. package/dist/components/pagination/index.js +15 -9
  441. package/dist/components/pagination/index.js.map +1 -1
  442. package/dist/components/pagination/next.d.ts +17 -2
  443. package/dist/components/pagination/next.js +15 -0
  444. package/dist/components/pagination/next.js.map +1 -1
  445. package/dist/components/pagination/pages.d.ts +21 -2
  446. package/dist/components/pagination/pages.js +18 -0
  447. package/dist/components/pagination/pages.js.map +1 -1
  448. package/dist/components/pagination/prev.d.ts +17 -2
  449. package/dist/components/pagination/prev.js +16 -1
  450. package/dist/components/pagination/prev.js.map +1 -1
  451. package/dist/components/pagination/types.d.ts +32 -0
  452. package/dist/components/pagination/utils.d.ts +35 -0
  453. package/dist/components/pagination/utils.js +35 -0
  454. package/dist/components/pagination/utils.js.map +1 -1
  455. package/dist/components/popover/content.d.ts +20 -2
  456. package/dist/components/popover/content.js +17 -0
  457. package/dist/components/popover/content.js.map +1 -1
  458. package/dist/components/popover/footer.d.ts +22 -2
  459. package/dist/components/popover/footer.js +19 -0
  460. package/dist/components/popover/footer.js.map +1 -1
  461. package/dist/components/popover/index.d.ts +9 -2
  462. package/dist/components/popover/index.js +8 -1
  463. package/dist/components/popover/index.js.map +1 -1
  464. package/dist/components/popover/styles.module.css +6 -0
  465. package/dist/components/popover/title.d.ts +17 -2
  466. package/dist/components/popover/title.js +15 -0
  467. package/dist/components/popover/title.js.map +1 -1
  468. package/dist/components/popover/trigger.d.ts +24 -2
  469. package/dist/components/popover/trigger.js +21 -0
  470. package/dist/components/popover/trigger.js.map +1 -1
  471. package/dist/components/popover/types.d.ts +10 -0
  472. package/dist/components/query-builder/action-element.d.ts +20 -2
  473. package/dist/components/query-builder/action-element.js +17 -0
  474. package/dist/components/query-builder/action-element.js.map +1 -1
  475. package/dist/components/query-builder/actions.d.ts +37 -4
  476. package/dist/components/query-builder/actions.js +36 -1
  477. package/dist/components/query-builder/actions.js.map +1 -1
  478. package/dist/components/query-builder/combinator-selector.d.ts +10 -2
  479. package/dist/components/query-builder/combinator-selector.js +8 -0
  480. package/dist/components/query-builder/combinator-selector.js.map +1 -1
  481. package/dist/components/query-builder/constants.d.ts +1 -0
  482. package/dist/components/query-builder/constants.js +1 -0
  483. package/dist/components/query-builder/constants.js.map +1 -1
  484. package/dist/components/query-builder/index.d.ts +11 -2
  485. package/dist/components/query-builder/index.js +9 -0
  486. package/dist/components/query-builder/index.js.map +1 -1
  487. package/dist/components/query-builder/rule-group.d.ts +52 -4
  488. package/dist/components/query-builder/rule-group.js +47 -0
  489. package/dist/components/query-builder/rule-group.js.map +1 -1
  490. package/dist/components/query-builder/rule.d.ts +20 -2
  491. package/dist/components/query-builder/rule.js +18 -0
  492. package/dist/components/query-builder/rule.js.map +1 -1
  493. package/dist/components/query-builder/types.d.ts +9 -0
  494. package/dist/components/query-builder/utils.d.ts +15 -0
  495. package/dist/components/query-builder/utils.js +15 -0
  496. package/dist/components/query-builder/utils.js.map +1 -1
  497. package/dist/components/query-builder/value-editor.d.ts +23 -2
  498. package/dist/components/query-builder/value-editor.js +20 -0
  499. package/dist/components/query-builder/value-editor.js.map +1 -1
  500. package/dist/components/query-builder/value-selector.d.ts +23 -2
  501. package/dist/components/query-builder/value-selector.js +20 -0
  502. package/dist/components/query-builder/value-selector.js.map +1 -1
  503. package/dist/components/radio/context.d.ts +2 -2
  504. package/dist/components/radio/group.d.ts +19 -2
  505. package/dist/components/radio/group.js +16 -0
  506. package/dist/components/radio/group.js.map +1 -1
  507. package/dist/components/radio/index.d.ts +13 -26
  508. package/dist/components/radio/index.js +11 -24
  509. package/dist/components/radio/index.js.map +1 -1
  510. package/dist/components/radio/types.d.ts +16 -0
  511. package/dist/components/search-field/context.d.ts +7 -4
  512. package/dist/components/search-field/context.js +3 -0
  513. package/dist/components/search-field/context.js.map +1 -1
  514. package/dist/components/search-field/index.d.ts +15 -24
  515. package/dist/components/search-field/index.js +16 -23
  516. package/dist/components/search-field/index.js.map +1 -1
  517. package/dist/components/search-field/types.d.ts +13 -0
  518. package/dist/components/select-field/context.d.ts +11 -4
  519. package/dist/components/select-field/context.js +7 -0
  520. package/dist/components/select-field/context.js.map +1 -1
  521. package/dist/components/select-field/index.d.ts +19 -39
  522. package/dist/components/select-field/index.js +28 -42
  523. package/dist/components/select-field/index.js.map +1 -1
  524. package/dist/components/select-field/styles.module.css +12 -0
  525. package/dist/components/select-field/types.d.ts +19 -0
  526. package/dist/components/sidenav/avatar.d.ts +19 -2
  527. package/dist/components/sidenav/avatar.js +16 -0
  528. package/dist/components/sidenav/avatar.js.map +1 -1
  529. package/dist/components/sidenav/content.d.ts +23 -2
  530. package/dist/components/sidenav/content.js +20 -0
  531. package/dist/components/sidenav/content.js.map +1 -1
  532. package/dist/components/sidenav/context.d.ts +3 -2
  533. package/dist/components/sidenav/context.js +1 -0
  534. package/dist/components/sidenav/context.js.map +1 -1
  535. package/dist/components/sidenav/events.d.ts +2 -0
  536. package/dist/components/sidenav/events.js +2 -0
  537. package/dist/components/sidenav/events.js.map +1 -1
  538. package/dist/components/sidenav/footer.d.ts +16 -2
  539. package/dist/components/sidenav/footer.js +13 -0
  540. package/dist/components/sidenav/footer.js.map +1 -1
  541. package/dist/components/sidenav/header.d.ts +20 -2
  542. package/dist/components/sidenav/header.js +18 -1
  543. package/dist/components/sidenav/header.js.map +1 -1
  544. package/dist/components/sidenav/index.d.ts +11 -2
  545. package/dist/components/sidenav/index.js +9 -0
  546. package/dist/components/sidenav/index.js.map +1 -1
  547. package/dist/components/sidenav/item.d.ts +17 -2
  548. package/dist/components/sidenav/item.js +14 -0
  549. package/dist/components/sidenav/item.js.map +1 -1
  550. package/dist/components/sidenav/link.d.ts +17 -2
  551. package/dist/components/sidenav/link.js +15 -1
  552. package/dist/components/sidenav/link.js.map +1 -1
  553. package/dist/components/sidenav/menu-item.d.ts +16 -2
  554. package/dist/components/sidenav/menu-item.js +13 -0
  555. package/dist/components/sidenav/menu-item.js.map +1 -1
  556. package/dist/components/sidenav/menu.d.ts +19 -2
  557. package/dist/components/sidenav/menu.js +17 -1
  558. package/dist/components/sidenav/menu.js.map +1 -1
  559. package/dist/components/sidenav/trigger.d.ts +17 -2
  560. package/dist/components/sidenav/trigger.js +14 -0
  561. package/dist/components/sidenav/trigger.js.map +1 -1
  562. package/dist/components/sidenav/types.d.ts +53 -0
  563. package/dist/components/skeleton/index.d.ts +12 -27
  564. package/dist/components/skeleton/index.js +10 -24
  565. package/dist/components/skeleton/index.js.map +1 -1
  566. package/dist/components/skeleton/types.d.ts +4 -0
  567. package/dist/components/slider/index.d.ts +30 -29
  568. package/dist/components/slider/index.js +28 -27
  569. package/dist/components/slider/index.js.map +1 -1
  570. package/dist/components/slider/types.d.ts +18 -0
  571. package/dist/components/switch/context.d.ts +16 -10
  572. package/dist/components/switch/context.js +13 -7
  573. package/dist/components/switch/context.js.map +1 -1
  574. package/dist/components/switch/index.d.ts +14 -31
  575. package/dist/components/switch/index.js +12 -29
  576. package/dist/components/switch/index.js.map +1 -1
  577. package/dist/components/switch/types.d.ts +5 -0
  578. package/dist/components/table/body.d.ts +21 -2
  579. package/dist/components/table/body.js +18 -0
  580. package/dist/components/table/body.js.map +1 -1
  581. package/dist/components/table/cell.d.ts +22 -2
  582. package/dist/components/table/cell.js +19 -0
  583. package/dist/components/table/cell.js.map +1 -1
  584. package/dist/components/table/constants/table.d.ts +6 -0
  585. package/dist/components/table/constants/table.js +4 -0
  586. package/dist/components/table/constants/table.js.map +1 -1
  587. package/dist/components/table/context.d.ts +1 -0
  588. package/dist/components/table/context.js +1 -0
  589. package/dist/components/table/context.js.map +1 -1
  590. package/dist/components/table/header-cell.d.ts +24 -2
  591. package/dist/components/table/header-cell.js +24 -1
  592. package/dist/components/table/header-cell.js.map +1 -1
  593. package/dist/components/table/header.d.ts +22 -2
  594. package/dist/components/table/header.js +19 -0
  595. package/dist/components/table/header.js.map +1 -1
  596. package/dist/components/table/index.d.ts +28 -6
  597. package/dist/components/table/index.js +27 -5
  598. package/dist/components/table/index.js.map +1 -1
  599. package/dist/components/table/row.d.ts +26 -2
  600. package/dist/components/table/row.js +23 -0
  601. package/dist/components/table/row.js.map +1 -1
  602. package/dist/components/table/types.d.ts +3 -0
  603. package/dist/components/tabs/context.d.ts +20 -10
  604. package/dist/components/tabs/context.js +17 -7
  605. package/dist/components/tabs/context.js.map +1 -1
  606. package/dist/components/tabs/index.d.ts +17 -40
  607. package/dist/components/tabs/index.js +15 -38
  608. package/dist/components/tabs/index.js.map +1 -1
  609. package/dist/components/tabs/list.d.ts +20 -4
  610. package/dist/components/tabs/list.js +17 -2
  611. package/dist/components/tabs/list.js.map +1 -1
  612. package/dist/components/tabs/panel.d.ts +21 -4
  613. package/dist/components/tabs/panel.js +18 -2
  614. package/dist/components/tabs/panel.js.map +1 -1
  615. package/dist/components/tabs/tab.d.ts +17 -4
  616. package/dist/components/tabs/tab.js +14 -2
  617. package/dist/components/tabs/tab.js.map +1 -1
  618. package/dist/components/tabs/types.d.ts +3 -0
  619. package/dist/components/text-area-field/context.d.ts +20 -10
  620. package/dist/components/text-area-field/context.js +17 -7
  621. package/dist/components/text-area-field/context.js.map +1 -1
  622. package/dist/components/text-area-field/index.d.ts +20 -15
  623. package/dist/components/text-area-field/index.js +18 -13
  624. package/dist/components/text-area-field/index.js.map +1 -1
  625. package/dist/components/text-area-field/styles.module.css +5 -1
  626. package/dist/components/text-area-field/types.d.ts +9 -0
  627. package/dist/components/text-field/context.d.ts +24 -4
  628. package/dist/components/text-field/context.js +20 -0
  629. package/dist/components/text-field/context.js.map +1 -1
  630. package/dist/components/text-field/index.d.ts +17 -82
  631. package/dist/components/text-field/index.js +15 -80
  632. package/dist/components/text-field/index.js.map +1 -1
  633. package/dist/components/text-field/types.d.ts +9 -0
  634. package/dist/components/time-field/index.d.ts +24 -5
  635. package/dist/components/time-field/index.js +25 -6
  636. package/dist/components/time-field/index.js.map +1 -1
  637. package/dist/components/time-field/styles.module.css +5 -2
  638. package/dist/components/time-field/types.d.ts +9 -0
  639. package/dist/components/tooltip/context.d.ts +3 -2
  640. package/dist/components/tooltip/context.js +1 -0
  641. package/dist/components/tooltip/context.js.map +1 -1
  642. package/dist/components/tooltip/index.d.ts +15 -30
  643. package/dist/components/tooltip/index.js +13 -28
  644. package/dist/components/tooltip/index.js.map +1 -1
  645. package/dist/components/tooltip/trigger.d.ts +22 -2
  646. package/dist/components/tooltip/trigger.js +19 -0
  647. package/dist/components/tooltip/trigger.js.map +1 -1
  648. package/dist/components/tooltip/types.d.ts +7 -0
  649. package/dist/components/tree/context.d.ts +5 -9
  650. package/dist/components/tree/context.js +2 -6
  651. package/dist/components/tree/context.js.map +1 -1
  652. package/dist/components/tree/index.d.ts +30 -8
  653. package/dist/components/tree/index.js +28 -6
  654. package/dist/components/tree/index.js.map +1 -1
  655. package/dist/components/tree/item-actions.d.ts +19 -4
  656. package/dist/components/tree/item-actions.js +16 -2
  657. package/dist/components/tree/item-actions.js.map +1 -1
  658. package/dist/components/tree/item-content.d.ts +18 -4
  659. package/dist/components/tree/item-content.js +20 -3
  660. package/dist/components/tree/item-content.js.map +1 -1
  661. package/dist/components/tree/item-description.d.ts +15 -4
  662. package/dist/components/tree/item-description.js +13 -2
  663. package/dist/components/tree/item-description.js.map +1 -1
  664. package/dist/components/tree/item-label.d.ts +15 -4
  665. package/dist/components/tree/item-label.js +13 -2
  666. package/dist/components/tree/item-label.js.map +1 -1
  667. package/dist/components/tree/item-prefix-icon.d.ts +15 -4
  668. package/dist/components/tree/item-prefix-icon.js +13 -2
  669. package/dist/components/tree/item-prefix-icon.js.map +1 -1
  670. package/dist/components/tree/item.d.ts +24 -4
  671. package/dist/components/tree/item.js +21 -2
  672. package/dist/components/tree/item.js.map +1 -1
  673. package/dist/components/tree/lines.d.ts +10 -2
  674. package/dist/components/tree/lines.js +8 -0
  675. package/dist/components/tree/lines.js.map +1 -1
  676. package/dist/components/tree/types.d.ts +26 -0
  677. package/dist/components/view-stack/context.d.ts +20 -9
  678. package/dist/components/view-stack/context.js +18 -7
  679. package/dist/components/view-stack/context.js.map +1 -1
  680. package/dist/components/view-stack/events.d.ts +2 -0
  681. package/dist/components/view-stack/events.js +2 -0
  682. package/dist/components/view-stack/events.js.map +1 -1
  683. package/dist/components/view-stack/index.d.ts +16 -24
  684. package/dist/components/view-stack/index.js +14 -22
  685. package/dist/components/view-stack/index.js.map +1 -1
  686. package/dist/components/view-stack/trigger.d.ts +26 -4
  687. package/dist/components/view-stack/trigger.js +23 -2
  688. package/dist/components/view-stack/trigger.js.map +1 -1
  689. package/dist/components/view-stack/types.d.ts +29 -0
  690. package/dist/components/view-stack/view.d.ts +22 -2
  691. package/dist/components/view-stack/view.js +19 -0
  692. package/dist/components/view-stack/view.js.map +1 -1
  693. package/dist/hooks/coordinate-field/use-coordinate-copy.d.ts +44 -0
  694. package/dist/hooks/coordinate-field/use-coordinate-copy.js +35 -0
  695. package/dist/hooks/coordinate-field/use-coordinate-copy.js.map +1 -1
  696. package/dist/hooks/coordinate-field/use-coordinate-field-state.d.ts +69 -0
  697. package/dist/hooks/coordinate-field/use-coordinate-field-state.js +50 -0
  698. package/dist/hooks/coordinate-field/use-coordinate-field-state.js.map +1 -1
  699. package/dist/hooks/coordinate-field/use-coordinate-field.d.ts +61 -0
  700. package/dist/hooks/coordinate-field/use-coordinate-field.js +47 -0
  701. package/dist/hooks/coordinate-field/use-coordinate-field.js.map +1 -1
  702. package/dist/hooks/coordinate-field/use-coordinate-focus.d.ts +51 -0
  703. package/dist/hooks/coordinate-field/use-coordinate-focus.js +39 -0
  704. package/dist/hooks/coordinate-field/use-coordinate-focus.js.map +1 -1
  705. package/dist/hooks/coordinate-field/use-coordinate-paste.d.ts +63 -0
  706. package/dist/hooks/coordinate-field/use-coordinate-paste.js +51 -0
  707. package/dist/hooks/coordinate-field/use-coordinate-paste.js.map +1 -1
  708. package/dist/hooks/coordinate-field/use-timeout-cleanup.d.ts +32 -0
  709. package/dist/hooks/coordinate-field/use-timeout-cleanup.js +30 -0
  710. package/dist/hooks/coordinate-field/use-timeout-cleanup.js.map +1 -1
  711. package/dist/hooks/use-frame-delay/index.d.ts +43 -0
  712. package/dist/hooks/use-frame-delay/index.js +66 -0
  713. package/dist/hooks/use-frame-delay/index.js.map +1 -0
  714. package/dist/hooks/use-tree/actions/index.d.ts +4 -2
  715. package/dist/hooks/use-tree/actions/index.js +4 -2
  716. package/dist/hooks/use-tree/actions/index.js.map +1 -1
  717. package/dist/hooks/use-tree/state/index.d.ts +7 -0
  718. package/dist/hooks/use-tree/state/index.js +7 -0
  719. package/dist/hooks/use-tree/state/index.js.map +1 -1
  720. package/dist/hooks/use-tree/types.d.ts +22 -0
  721. package/dist/index.d.ts +7 -4
  722. package/dist/index.js +4 -2
  723. package/dist/lib/types.d.ts +17 -0
  724. package/dist/lib/utils.d.ts +15 -0
  725. package/dist/lib/utils.js +15 -0
  726. package/dist/lib/utils.js.map +1 -1
  727. package/dist/providers/portal.d.ts +11 -2
  728. package/dist/providers/portal.js +9 -0
  729. package/dist/providers/portal.js.map +1 -1
  730. package/dist/providers/theme-provider.d.ts +18 -2
  731. package/dist/providers/theme-provider.js +15 -0
  732. package/dist/providers/theme-provider.js.map +1 -1
  733. package/package.json +15 -12
@@ -13,16 +13,37 @@
13
13
  import { ProviderProps } from "../../lib/types.js";
14
14
  import { DetailsListProps } from "./types.js";
15
15
  import "client-only";
16
- import * as react46 from "react";
16
+ import * as react17 from "react";
17
17
  import { ContextValue } from "react-aria-components";
18
- import * as react_jsx_runtime183 from "react/jsx-runtime";
18
+ import * as react_jsx_runtime44 from "react/jsx-runtime";
19
19
 
20
20
  //#region src/components/details-list/context.d.ts
21
- declare const DetailsListContext: react46.Context<ContextValue<DetailsListProps, HTMLDListElement>>;
21
+ /**
22
+ * Context for sharing DetailsList props across component tree.
23
+ */
24
+ declare const DetailsListContext: react17.Context<ContextValue<DetailsListProps, HTMLDListElement>>;
25
+ /**
26
+ * DetailsListProvider - Context provider for setting default DetailsList props.
27
+ *
28
+ * Use this to configure shared alignment and classNames across multiple
29
+ * DetailsList components in your application.
30
+ *
31
+ * @param props - The provider props.
32
+ * @param props.children - Child components that will receive the details list context.
33
+ * @returns The details list context provider wrapping children.
34
+ *
35
+ * @example
36
+ * ```tsx
37
+ * <DetailsListProvider align="left">
38
+ * <DetailsList>...</DetailsList>
39
+ * <DetailsList>...</DetailsList>
40
+ * </DetailsListProvider>
41
+ * ```
42
+ */
22
43
  declare function DetailsListProvider({
23
44
  children,
24
45
  ...props
25
- }: ProviderProps<DetailsListProps>): react_jsx_runtime183.JSX.Element;
46
+ }: ProviderProps<DetailsListProps>): react_jsx_runtime44.JSX.Element;
26
47
  //#endregion
27
48
  export { DetailsListContext, DetailsListProvider };
28
49
  //# sourceMappingURL=context.d.ts.map
@@ -18,7 +18,28 @@ import { createContext } from "react";
18
18
  import { jsx } from "react/jsx-runtime";
19
19
 
20
20
  //#region src/components/details-list/context.tsx
21
+ /**
22
+ * Context for sharing DetailsList props across component tree.
23
+ */
21
24
  const DetailsListContext = createContext(null);
25
+ /**
26
+ * DetailsListProvider - Context provider for setting default DetailsList props.
27
+ *
28
+ * Use this to configure shared alignment and classNames across multiple
29
+ * DetailsList components in your application.
30
+ *
31
+ * @param props - The provider props.
32
+ * @param props.children - Child components that will receive the details list context.
33
+ * @returns The details list context provider wrapping children.
34
+ *
35
+ * @example
36
+ * ```tsx
37
+ * <DetailsListProvider align="left">
38
+ * <DetailsList>...</DetailsList>
39
+ * <DetailsList>...</DetailsList>
40
+ * </DetailsListProvider>
41
+ * ```
42
+ */
22
43
  function DetailsListProvider({ children, ...props }) {
23
44
  return /* @__PURE__ */ jsx(DetailsListContext.Provider, {
24
45
  value: props,
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","names":[],"sources":["../../../src/components/details-list/context.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { createContext } from 'react';\nimport type { ContextValue } from 'react-aria-components';\nimport type { ProviderProps } from '@/lib/types';\nimport type { DetailsListProps } from './types';\n\nexport const DetailsListContext =\n createContext<ContextValue<DetailsListProps, HTMLDListElement>>(null);\n\nexport function DetailsListProvider({\n children,\n ...props\n}: ProviderProps<DetailsListProps>) {\n return (\n <DetailsListContext.Provider value={props}>\n {children}\n </DetailsListContext.Provider>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAmBA,MAAa,qBACX,cAAgE,KAAK;AAEvE,SAAgB,oBAAoB,EAClC,UACA,GAAG,SAC+B;AAClC,QACE,oBAAC,mBAAmB;EAAS,OAAO;EACjC;GAC2B"}
1
+ {"version":3,"file":"context.js","names":[],"sources":["../../../src/components/details-list/context.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { createContext } from 'react';\nimport type { ContextValue } from 'react-aria-components';\nimport type { ProviderProps } from '@/lib/types';\nimport type { DetailsListProps } from './types';\n\n/**\n * Context for sharing DetailsList props across component tree.\n */\nexport const DetailsListContext =\n createContext<ContextValue<DetailsListProps, HTMLDListElement>>(null);\n\n/**\n * DetailsListProvider - Context provider for setting default DetailsList props.\n *\n * Use this to configure shared alignment and classNames across multiple\n * DetailsList components in your application.\n *\n * @param props - The provider props.\n * @param props.children - Child components that will receive the details list context.\n * @returns The details list context provider wrapping children.\n *\n * @example\n * ```tsx\n * <DetailsListProvider align=\"left\">\n * <DetailsList>...</DetailsList>\n * <DetailsList>...</DetailsList>\n * </DetailsListProvider>\n * ```\n */\nexport function DetailsListProvider({\n children,\n ...props\n}: ProviderProps<DetailsListProps>) {\n return (\n <DetailsListContext.Provider value={props}>\n {children}\n </DetailsListContext.Provider>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAsBA,MAAa,qBACX,cAAgE,KAAK;;;;;;;;;;;;;;;;;;;AAoBvE,SAAgB,oBAAoB,EAClC,UACA,GAAG,SAC+B;AAClC,QACE,oBAAC,mBAAmB;EAAS,OAAO;EACjC;GAC2B"}
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { DetailsListProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime182 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime45 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/details-list/index.d.ts
18
18
 
@@ -21,6 +21,13 @@ import * as react_jsx_runtime182 from "react/jsx-runtime";
21
21
  * Uses CSS Grid layout with labels in the first column and values in the second column.
22
22
  * Perfect for map object details, user profiles, or any structured information.
23
23
  *
24
+ * @param props - The details list props.
25
+ * @param props.ref - Reference to the list element.
26
+ * @param props.children - Label and value child components.
27
+ * @param props.classNames - Custom class names for sub-elements.
28
+ * @param props.align - Text alignment for list items.
29
+ * @returns The details list component.
30
+ *
24
31
  * @example
25
32
  * ```tsx
26
33
  * <DetailsList align="left">
@@ -48,7 +55,7 @@ import * as react_jsx_runtime182 from "react/jsx-runtime";
48
55
  declare function DetailsList({
49
56
  ref,
50
57
  ...props
51
- }: DetailsListProps): react_jsx_runtime182.JSX.Element;
58
+ }: DetailsListProps): react_jsx_runtime45.JSX.Element;
52
59
  //#endregion
53
60
  export { DetailsList };
54
61
  //# sourceMappingURL=index.d.ts.map
@@ -26,6 +26,13 @@ import styles from "./styles.module.css";
26
26
  * Uses CSS Grid layout with labels in the first column and values in the second column.
27
27
  * Perfect for map object details, user profiles, or any structured information.
28
28
  *
29
+ * @param props - The details list props.
30
+ * @param props.ref - Reference to the list element.
31
+ * @param props.children - Label and value child components.
32
+ * @param props.classNames - Custom class names for sub-elements.
33
+ * @param props.align - Text alignment for list items.
34
+ * @returns The details list component.
35
+ *
29
36
  * @example
30
37
  * ```tsx
31
38
  * <DetailsList align="left">
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/components/details-list/index.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport {\n DEFAULT_SLOT,\n TextContext,\n useContextProps,\n} from 'react-aria-components';\nimport { DetailsListContext } from './context';\nimport styles from './styles.module.css';\nimport type { DetailsListProps } from './types';\n\n/**\n * A semantic details list component for displaying metadata in key-value pairs.\n * Uses CSS Grid layout with labels in the first column and values in the second column.\n * Perfect for map object details, user profiles, or any structured information.\n *\n * @example\n * ```tsx\n * <DetailsList align=\"left\">\n * <DetailsListLabel>Key</DetailsListLabel>\n * <DetailsListValue>Value</DetailsListValue>\n *\n * <DetailsListLabel>Ships</DetailsListLabel>\n * <DetailsListValue>Millennium Falcon</DetailsListValue>\n * <DetailsListValue>USS Enterprise NCC-1701</DetailsListValue>\n * <DetailsListValue>Serenity</DetailsListValue>\n *\n * <DetailsListLabel>Coordinates</DetailsListLabel>\n * <DetailsListValue>\n * <div>Great Pyramid of Giza: 29°58'44\" N 31°08'02\" E</div>\n * <div>Machu Picchu: 13°09'47\" S 72°32'41\" W</div>\n * <div>Colosseum: 41°53'24\" N 12°29'32\" E</div>\n * <div>Taj Mahal: 27°10'30\" N 78°02'31\" E</div>\n * </DetailsListValue>\n * </DetailsList>\n * ```\n * ## Child Component Behavior\n * - **DetailsListLabel**: Minimum of 1\n * - **DetailsListValue**: Minimum of 1\n */\nexport function DetailsList({ ref, ...props }: DetailsListProps) {\n [props, ref] = useContextProps(props, ref ?? null, DetailsListContext);\n\n const { children, classNames, align = 'justify', ...rest } = props;\n\n return (\n <TextContext\n value={{\n slots: {\n [DEFAULT_SLOT]: {},\n label: {\n className: clsx(styles.label, styles[align], classNames?.label),\n },\n value: {\n className: clsx(styles.value, styles[align], classNames?.value),\n },\n },\n }}\n >\n <dl {...rest} className={clsx(styles.list, classNames?.list)}>\n {children}\n </dl>\n </TextContext>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDA,SAAgB,YAAY,EAAE,KAAK,GAAG,SAA2B;AAC/D,EAAC,OAAO,OAAO,gBAAgB,OAAO,OAAO,MAAM,mBAAmB;CAEtE,MAAM,EAAE,UAAU,YAAY,QAAQ,WAAW,GAAG,SAAS;AAE7D,QACE,oBAAC;EACC,OAAO,EACL,OAAO;IACJ,eAAe,EAAE;GAClB,OAAO,EACL,WAAW,KAAK,OAAO,OAAO,OAAO,QAAQ,YAAY,MAAM,EAChE;GACD,OAAO,EACL,WAAW,KAAK,OAAO,OAAO,OAAO,QAAQ,YAAY,MAAM,EAChE;GACF,EACF;YAED,oBAAC;GAAG,GAAI;GAAM,WAAW,KAAK,OAAO,MAAM,YAAY,KAAK;GACzD;IACE;GACO"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../src/components/details-list/index.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport {\n DEFAULT_SLOT,\n TextContext,\n useContextProps,\n} from 'react-aria-components';\nimport { DetailsListContext } from './context';\nimport styles from './styles.module.css';\nimport type { DetailsListProps } from './types';\n\n/**\n * A semantic details list component for displaying metadata in key-value pairs.\n * Uses CSS Grid layout with labels in the first column and values in the second column.\n * Perfect for map object details, user profiles, or any structured information.\n *\n * @param props - The details list props.\n * @param props.ref - Reference to the list element.\n * @param props.children - Label and value child components.\n * @param props.classNames - Custom class names for sub-elements.\n * @param props.align - Text alignment for list items.\n * @returns The details list component.\n *\n * @example\n * ```tsx\n * <DetailsList align=\"left\">\n * <DetailsListLabel>Key</DetailsListLabel>\n * <DetailsListValue>Value</DetailsListValue>\n *\n * <DetailsListLabel>Ships</DetailsListLabel>\n * <DetailsListValue>Millennium Falcon</DetailsListValue>\n * <DetailsListValue>USS Enterprise NCC-1701</DetailsListValue>\n * <DetailsListValue>Serenity</DetailsListValue>\n *\n * <DetailsListLabel>Coordinates</DetailsListLabel>\n * <DetailsListValue>\n * <div>Great Pyramid of Giza: 29°58'44\" N 31°08'02\" E</div>\n * <div>Machu Picchu: 13°09'47\" S 72°32'41\" W</div>\n * <div>Colosseum: 41°53'24\" N 12°29'32\" E</div>\n * <div>Taj Mahal: 27°10'30\" N 78°02'31\" E</div>\n * </DetailsListValue>\n * </DetailsList>\n * ```\n * ## Child Component Behavior\n * - **DetailsListLabel**: Minimum of 1\n * - **DetailsListValue**: Minimum of 1\n */\nexport function DetailsList({ ref, ...props }: DetailsListProps) {\n [props, ref] = useContextProps(props, ref ?? null, DetailsListContext);\n\n const { children, classNames, align = 'justify', ...rest } = props;\n\n return (\n <TextContext\n value={{\n slots: {\n [DEFAULT_SLOT]: {},\n label: {\n className: clsx(styles.label, styles[align], classNames?.label),\n },\n value: {\n className: clsx(styles.value, styles[align], classNames?.value),\n },\n },\n }}\n >\n <dl {...rest} className={clsx(styles.list, classNames?.list)}>\n {children}\n </dl>\n </TextContext>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DA,SAAgB,YAAY,EAAE,KAAK,GAAG,SAA2B;AAC/D,EAAC,OAAO,OAAO,gBAAgB,OAAO,OAAO,MAAM,mBAAmB;CAEtE,MAAM,EAAE,UAAU,YAAY,QAAQ,WAAW,GAAG,SAAS;AAE7D,QACE,oBAAC;EACC,OAAO,EACL,OAAO;IACJ,eAAe,EAAE;GAClB,OAAO,EACL,WAAW,KAAK,OAAO,OAAO,OAAO,QAAQ,YAAY,MAAM,EAChE;GACD,OAAO,EACL,WAAW,KAAK,OAAO,OAAO,OAAO,QAAQ,YAAY,MAAM,EAChE;GACF,EACF;YAED,oBAAC;GAAG,GAAI;GAAM,WAAW,KAAK,OAAO,MAAM,YAAY,KAAK;GACzD;IACE;GACO"}
@@ -12,10 +12,26 @@
12
12
 
13
13
  import { DetailsListLabelProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime184 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime46 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/details-list/label.d.ts
18
- declare function DetailsListLabel(props: DetailsListLabelProps): react_jsx_runtime184.JSX.Element;
18
+ /**
19
+ * DetailsListLabel - Label component for DetailsList key/term.
20
+ *
21
+ * Renders as a `<dt>` element within the DetailsList grid.
22
+ *
23
+ * @param props - The details list label props.
24
+ * @returns The details list label component.
25
+ *
26
+ * @example
27
+ * ```tsx
28
+ * <DetailsList>
29
+ * <DetailsListLabel>Name</DetailsListLabel>
30
+ * <DetailsListValue>John Doe</DetailsListValue>
31
+ * </DetailsList>
32
+ * ```
33
+ */
34
+ declare function DetailsListLabel(props: DetailsListLabelProps): react_jsx_runtime46.JSX.Element;
19
35
  //#endregion
20
36
  export { DetailsListLabel };
21
37
  //# sourceMappingURL=label.d.ts.map
@@ -18,6 +18,22 @@ import { Text } from "react-aria-components";
18
18
  import { jsx } from "react/jsx-runtime";
19
19
 
20
20
  //#region src/components/details-list/label.tsx
21
+ /**
22
+ * DetailsListLabel - Label component for DetailsList key/term.
23
+ *
24
+ * Renders as a `<dt>` element within the DetailsList grid.
25
+ *
26
+ * @param props - The details list label props.
27
+ * @returns The details list label component.
28
+ *
29
+ * @example
30
+ * ```tsx
31
+ * <DetailsList>
32
+ * <DetailsListLabel>Name</DetailsListLabel>
33
+ * <DetailsListValue>John Doe</DetailsListValue>
34
+ * </DetailsList>
35
+ * ```
36
+ */
21
37
  function DetailsListLabel(props) {
22
38
  return /* @__PURE__ */ jsx(Text, {
23
39
  ...props,
@@ -1 +1 @@
1
- {"version":3,"file":"label.js","names":[],"sources":["../../../src/components/details-list/label.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { Text } from 'react-aria-components';\nimport type { DetailsListLabelProps } from './types';\n\nexport function DetailsListLabel(props: DetailsListLabelProps) {\n return <Text {...props} elementType='dt' slot='label' />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAiBA,SAAgB,iBAAiB,OAA8B;AAC7D,QAAO,oBAAC;EAAK,GAAI;EAAO,aAAY;EAAK,MAAK;GAAU"}
1
+ {"version":3,"file":"label.js","names":[],"sources":["../../../src/components/details-list/label.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { Text } from 'react-aria-components';\nimport type { DetailsListLabelProps } from './types';\n\n/**\n * DetailsListLabel - Label component for DetailsList key/term.\n *\n * Renders as a `<dt>` element within the DetailsList grid.\n *\n * @param props - The details list label props.\n * @returns The details list label component.\n *\n * @example\n * ```tsx\n * <DetailsList>\n * <DetailsListLabel>Name</DetailsListLabel>\n * <DetailsListValue>John Doe</DetailsListValue>\n * </DetailsList>\n * ```\n */\nexport function DetailsListLabel(props: DetailsListLabelProps) {\n return <Text {...props} elementType='dt' slot='label' />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA,SAAgB,iBAAiB,OAA8B;AAC7D,QAAO,oBAAC;EAAK,GAAI;EAAO,aAAY;EAAK,MAAK;GAAU"}
@@ -14,15 +14,29 @@ import { ComponentPropsWithRef, RefAttributes } from "react";
14
14
  import { TextProps } from "react-aria-components";
15
15
 
16
16
  //#region src/components/details-list/types.d.ts
17
+ /**
18
+ * Props for the DetailsList component.
19
+ */
17
20
  type DetailsListProps = Omit<ComponentPropsWithRef<'dl'>, 'className'> & {
21
+ /** Custom class names for sub-elements. */
18
22
  classNames?: {
23
+ /** Class name for the list container. */
19
24
  list?: string;
25
+ /** Class name for label elements. */
20
26
  label?: string;
27
+ /** Class name for value elements. */
21
28
  value?: string;
22
29
  };
30
+ /** Text alignment for list items. */
23
31
  align?: 'center' | 'justify' | 'left';
24
32
  };
33
+ /**
34
+ * Props for the DetailsListLabel component.
35
+ */
25
36
  type DetailsListLabelProps = Omit<TextProps, 'elementType'> & RefAttributes<HTMLElement>;
37
+ /**
38
+ * Props for the DetailsListValue component.
39
+ */
26
40
  type DetailsListValueProps = Omit<TextProps, 'elementType'> & RefAttributes<HTMLElement>;
27
41
  //#endregion
28
42
  export { DetailsListLabelProps, DetailsListProps, DetailsListValueProps };
@@ -12,10 +12,28 @@
12
12
 
13
13
  import { DetailsListValueProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime179 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime27 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/details-list/value.d.ts
18
- declare function DetailsListValue(props: DetailsListValueProps): react_jsx_runtime179.JSX.Element;
18
+
19
+ /**
20
+ * DetailsListValue - Value component for DetailsList definition.
21
+ *
22
+ * Renders as a `<dd>` element within the DetailsList grid.
23
+ * Supports complex React nodes as children for rich value content.
24
+ *
25
+ * @param props - The details list value props.
26
+ * @returns The details list value component.
27
+ *
28
+ * @example
29
+ * ```tsx
30
+ * <DetailsList>
31
+ * <DetailsListLabel>Name</DetailsListLabel>
32
+ * <DetailsListValue>John Doe</DetailsListValue>
33
+ * </DetailsList>
34
+ * ```
35
+ */
36
+ declare function DetailsListValue(props: DetailsListValueProps): react_jsx_runtime27.JSX.Element;
19
37
  //#endregion
20
38
  export { DetailsListValue };
21
39
  //# sourceMappingURL=value.d.ts.map
@@ -18,6 +18,23 @@ import { Text } from "react-aria-components";
18
18
  import { jsx } from "react/jsx-runtime";
19
19
 
20
20
  //#region src/components/details-list/value.tsx
21
+ /**
22
+ * DetailsListValue - Value component for DetailsList definition.
23
+ *
24
+ * Renders as a `<dd>` element within the DetailsList grid.
25
+ * Supports complex React nodes as children for rich value content.
26
+ *
27
+ * @param props - The details list value props.
28
+ * @returns The details list value component.
29
+ *
30
+ * @example
31
+ * ```tsx
32
+ * <DetailsList>
33
+ * <DetailsListLabel>Name</DetailsListLabel>
34
+ * <DetailsListValue>John Doe</DetailsListValue>
35
+ * </DetailsList>
36
+ * ```
37
+ */
21
38
  function DetailsListValue(props) {
22
39
  return /* @__PURE__ */ jsx(Text, {
23
40
  ...props,
@@ -1 +1 @@
1
- {"version":3,"file":"value.js","names":[],"sources":["../../../src/components/details-list/value.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { Text } from 'react-aria-components';\nimport type { DetailsListValueProps } from './types';\n\nexport function DetailsListValue(props: DetailsListValueProps) {\n return <Text {...props} elementType='dd' slot='value' />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAiBA,SAAgB,iBAAiB,OAA8B;AAC7D,QAAO,oBAAC;EAAK,GAAI;EAAO,aAAY;EAAK,MAAK;GAAU"}
1
+ {"version":3,"file":"value.js","names":[],"sources":["../../../src/components/details-list/value.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { Text } from 'react-aria-components';\nimport type { DetailsListValueProps } from './types';\n\n/**\n * DetailsListValue - Value component for DetailsList definition.\n *\n * Renders as a `<dd>` element within the DetailsList grid.\n * Supports complex React nodes as children for rich value content.\n *\n * @param props - The details list value props.\n * @returns The details list value component.\n *\n * @example\n * ```tsx\n * <DetailsList>\n * <DetailsListLabel>Name</DetailsListLabel>\n * <DetailsListValue>John Doe</DetailsListValue>\n * </DetailsList>\n * ```\n */\nexport function DetailsListValue(props: DetailsListValueProps) {\n return <Text {...props} elementType='dd' slot='value' />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,SAAgB,iBAAiB,OAA8B;AAC7D,QAAO,oBAAC;EAAK,GAAI;EAAO,aAAY;EAAK,MAAK;GAAU"}
@@ -12,13 +12,34 @@
12
12
 
13
13
  import "client-only";
14
14
  import { ComponentProps } from "react";
15
- import * as react_jsx_runtime180 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime29 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/dialog/content.d.ts
18
+
19
+ /**
20
+ * DialogContent - Wrapper for the main dialog content.
21
+ *
22
+ * Provides appropriate spacing and styling for dialog body content.
23
+ *
24
+ * @param props - The dialog content props.
25
+ * @param props.children - Content to display in the dialog body.
26
+ * @param props.className - Additional CSS class name.
27
+ * @returns The dialog content component.
28
+ *
29
+ * @example
30
+ * ```tsx
31
+ * <Dialog>
32
+ * <DialogTitle>Title</DialogTitle>
33
+ * <DialogContent>
34
+ * <p>Your content goes here...</p>
35
+ * </DialogContent>
36
+ * </Dialog>
37
+ * ```
38
+ */
18
39
  declare function DialogContent({
19
40
  children,
20
41
  className
21
- }: ComponentProps<'div'>): react_jsx_runtime180.JSX.Element;
42
+ }: ComponentProps<'div'>): react_jsx_runtime29.JSX.Element;
22
43
  //#endregion
23
44
  export { DialogContent };
24
45
  //# sourceMappingURL=content.d.ts.map
@@ -19,6 +19,26 @@ import { jsx } from "react/jsx-runtime";
19
19
  import styles from "./styles.module.css";
20
20
 
21
21
  //#region src/components/dialog/content.tsx
22
+ /**
23
+ * DialogContent - Wrapper for the main dialog content.
24
+ *
25
+ * Provides appropriate spacing and styling for dialog body content.
26
+ *
27
+ * @param props - The dialog content props.
28
+ * @param props.children - Content to display in the dialog body.
29
+ * @param props.className - Additional CSS class name.
30
+ * @returns The dialog content component.
31
+ *
32
+ * @example
33
+ * ```tsx
34
+ * <Dialog>
35
+ * <DialogTitle>Title</DialogTitle>
36
+ * <DialogContent>
37
+ * <p>Your content goes here...</p>
38
+ * </DialogContent>
39
+ * </Dialog>
40
+ * ```
41
+ */
22
42
  function DialogContent({ children, className }) {
23
43
  return /* @__PURE__ */ jsx("div", {
24
44
  className: clsx(styles.content, className),
@@ -1 +1 @@
1
- {"version":3,"file":"content.js","names":[],"sources":["../../../src/components/dialog/content.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport styles from './styles.module.css';\nimport type { ComponentProps } from 'react';\n\nexport function DialogContent({ children, className }: ComponentProps<'div'>) {\n return <div className={clsx(styles.content, className)}>{children}</div>;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAkBA,SAAgB,cAAc,EAAE,UAAU,aAAoC;AAC5E,QAAO,oBAAC;EAAI,WAAW,KAAK,OAAO,SAAS,UAAU;EAAG;GAAe"}
1
+ {"version":3,"file":"content.js","names":[],"sources":["../../../src/components/dialog/content.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport styles from './styles.module.css';\nimport type { ComponentProps } from 'react';\n\n/**\n * DialogContent - Wrapper for the main dialog content.\n *\n * Provides appropriate spacing and styling for dialog body content.\n *\n * @param props - The dialog content props.\n * @param props.children - Content to display in the dialog body.\n * @param props.className - Additional CSS class name.\n * @returns The dialog content component.\n *\n * @example\n * ```tsx\n * <Dialog>\n * <DialogTitle>Title</DialogTitle>\n * <DialogContent>\n * <p>Your content goes here...</p>\n * </DialogContent>\n * </Dialog>\n * ```\n */\nexport function DialogContent({ children, className }: ComponentProps<'div'>) {\n return <div className={clsx(styles.content, className)}>{children}</div>;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCA,SAAgB,cAAc,EAAE,UAAU,aAAoC;AAC5E,QAAO,oBAAC;EAAI,WAAW,KAAK,OAAO,SAAS,UAAU;EAAG;GAAe"}
@@ -12,11 +12,14 @@
12
12
 
13
13
  import { DialogProps as DialogProps$1 } from "./types.js";
14
14
  import "client-only";
15
- import * as react44 from "react";
15
+ import * as react12 from "react";
16
16
  import { ContextValue } from "react-aria-components";
17
17
 
18
18
  //#region src/components/dialog/context.d.ts
19
- declare const DialogContext: react44.Context<ContextValue<DialogProps$1, HTMLDivElement>>;
19
+ /**
20
+ * Context for sharing Dialog props across component tree.
21
+ */
22
+ declare const DialogContext: react12.Context<ContextValue<DialogProps$1, HTMLDivElement>>;
20
23
  //#endregion
21
24
  export { DialogContext };
22
25
  //# sourceMappingURL=context.d.ts.map
@@ -17,6 +17,9 @@ import "client-only";
17
17
  import { createContext } from "react";
18
18
 
19
19
  //#region src/components/dialog/context.tsx
20
+ /**
21
+ * Context for sharing Dialog props across component tree.
22
+ */
20
23
  const DialogContext = createContext(null);
21
24
 
22
25
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","names":[],"sources":["../../../src/components/dialog/context.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { createContext } from 'react';\nimport type { ContextValue } from 'react-aria-components';\nimport type { DialogProps } from './types';\n\nexport const DialogContext =\n createContext<ContextValue<DialogProps, HTMLDivElement>>(null);\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAkBA,MAAa,gBACX,cAAyD,KAAK"}
1
+ {"version":3,"file":"context.js","names":[],"sources":["../../../src/components/dialog/context.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { createContext } from 'react';\nimport type { ContextValue } from 'react-aria-components';\nimport type { DialogProps } from './types';\n\n/**\n * Context for sharing Dialog props across component tree.\n */\nexport const DialogContext =\n createContext<ContextValue<DialogProps, HTMLDivElement>>(null);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAa,gBACX,cAAyD,KAAK"}
@@ -12,13 +12,37 @@
12
12
 
13
13
  import "client-only";
14
14
  import { ComponentProps } from "react";
15
- import * as react_jsx_runtime174 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime33 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/dialog/footer.d.ts
18
+
19
+ /**
20
+ * DialogFooter - Container for dialog action buttons.
21
+ *
22
+ * Automatically sizes child Button components based on the dialog size
23
+ * and wires up default close behavior on button press.
24
+ *
25
+ * @param props - The dialog footer props.
26
+ * @param props.children - Action buttons to display in the footer.
27
+ * @param props.className - Additional CSS class name.
28
+ * @returns The dialog footer component.
29
+ *
30
+ * @example
31
+ * ```tsx
32
+ * <Dialog>
33
+ * <DialogTitle>Confirm</DialogTitle>
34
+ * <DialogContent>Are you sure?</DialogContent>
35
+ * <DialogFooter>
36
+ * <Button variant="flat">Cancel</Button>
37
+ * <Button>Confirm</Button>
38
+ * </DialogFooter>
39
+ * </Dialog>
40
+ * ```
41
+ */
18
42
  declare function DialogFooter({
19
43
  children,
20
44
  className
21
- }: ComponentProps<'footer'>): react_jsx_runtime174.JSX.Element;
45
+ }: ComponentProps<'footer'>): react_jsx_runtime33.JSX.Element;
22
46
  //#endregion
23
47
  export { DialogFooter };
24
48
  //# sourceMappingURL=footer.d.ts.map
@@ -24,6 +24,29 @@ import { jsx } from "react/jsx-runtime";
24
24
  import styles from "./styles.module.css";
25
25
 
26
26
  //#region src/components/dialog/footer.tsx
27
+ /**
28
+ * DialogFooter - Container for dialog action buttons.
29
+ *
30
+ * Automatically sizes child Button components based on the dialog size
31
+ * and wires up default close behavior on button press.
32
+ *
33
+ * @param props - The dialog footer props.
34
+ * @param props.children - Action buttons to display in the footer.
35
+ * @param props.className - Additional CSS class name.
36
+ * @returns The dialog footer component.
37
+ *
38
+ * @example
39
+ * ```tsx
40
+ * <Dialog>
41
+ * <DialogTitle>Confirm</DialogTitle>
42
+ * <DialogContent>Are you sure?</DialogContent>
43
+ * <DialogFooter>
44
+ * <Button variant="flat">Cancel</Button>
45
+ * <Button>Confirm</Button>
46
+ * </DialogFooter>
47
+ * </Dialog>
48
+ * ```
49
+ */
27
50
  function DialogFooter({ children, className }) {
28
51
  const context = useContext(DialogContext);
29
52
  const size = (isSlottedContextValue(context) ? null : context?.size) ?? "small";
@@ -1 +1 @@
1
- {"version":3,"file":"footer.js","names":[],"sources":["../../../src/components/dialog/footer.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { type ComponentProps, useContext } from 'react';\nimport { OverlayTriggerStateContext } from 'react-aria-components';\nimport { isSlottedContextValue } from '../../lib/utils';\nimport { ButtonContext } from '../button/context';\nimport { DialogContext } from './context';\nimport styles from './styles.module.css';\n\nexport function DialogFooter({\n children,\n className,\n}: ComponentProps<'footer'>) {\n const context = useContext(DialogContext);\n const size =\n (isSlottedContextValue(context) ? null : context?.size) ?? 'small';\n const state = useContext(OverlayTriggerStateContext);\n\n return (\n <footer className={clsx(styles.footer, className)}>\n <ButtonContext.Provider\n value={{\n size,\n onPress: state?.close ?? undefined,\n }}\n >\n {children}\n </ButtonContext.Provider>\n </footer>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAsBA,SAAgB,aAAa,EAC3B,UACA,aAC2B;CAC3B,MAAM,UAAU,WAAW,cAAc;CACzC,MAAM,QACH,sBAAsB,QAAQ,GAAG,OAAO,SAAS,SAAS;CAC7D,MAAM,QAAQ,WAAW,2BAA2B;AAEpD,QACE,oBAAC;EAAO,WAAW,KAAK,OAAO,QAAQ,UAAU;YAC/C,oBAAC,cAAc;GACb,OAAO;IACL;IACA,SAAS,OAAO,SAAS;IAC1B;GAEA;IACsB;GAClB"}
1
+ {"version":3,"file":"footer.js","names":[],"sources":["../../../src/components/dialog/footer.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { type ComponentProps, useContext } from 'react';\nimport { OverlayTriggerStateContext } from 'react-aria-components';\nimport { isSlottedContextValue } from '../../lib/utils';\nimport { ButtonContext } from '../button/context';\nimport { DialogContext } from './context';\nimport styles from './styles.module.css';\n\n/**\n * DialogFooter - Container for dialog action buttons.\n *\n * Automatically sizes child Button components based on the dialog size\n * and wires up default close behavior on button press.\n *\n * @param props - The dialog footer props.\n * @param props.children - Action buttons to display in the footer.\n * @param props.className - Additional CSS class name.\n * @returns The dialog footer component.\n *\n * @example\n * ```tsx\n * <Dialog>\n * <DialogTitle>Confirm</DialogTitle>\n * <DialogContent>Are you sure?</DialogContent>\n * <DialogFooter>\n * <Button variant=\"flat\">Cancel</Button>\n * <Button>Confirm</Button>\n * </DialogFooter>\n * </Dialog>\n * ```\n */\nexport function DialogFooter({\n children,\n className,\n}: ComponentProps<'footer'>) {\n const context = useContext(DialogContext);\n const size =\n (isSlottedContextValue(context) ? null : context?.size) ?? 'small';\n const state = useContext(OverlayTriggerStateContext);\n\n return (\n <footer className={clsx(styles.footer, className)}>\n <ButtonContext.Provider\n value={{\n size,\n onPress: state?.close ?? undefined,\n }}\n >\n {children}\n </ButtonContext.Provider>\n </footer>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,SAAgB,aAAa,EAC3B,UACA,aAC2B;CAC3B,MAAM,UAAU,WAAW,cAAc;CACzC,MAAM,QACH,sBAAsB,QAAQ,GAAG,OAAO,SAAS,SAAS;CAC7D,MAAM,QAAQ,WAAW,2BAA2B;AAEpD,QACE,oBAAC;EAAO,WAAW,KAAK,OAAO,QAAQ,UAAU;YAC/C,oBAAC,cAAc;GACb,OAAO;IACL;IACA,SAAS,OAAO,SAAS;IAC1B;GAEA;IACsB;GAClB"}
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { DialogProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime176 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime36 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/dialog/index.d.ts
18
18
 
@@ -23,7 +23,16 @@ import * as react_jsx_runtime176 from "react/jsx-runtime";
23
23
  * and keyboard navigation. Supports multiple sizes and customizable dismissal behavior.
24
24
  * Perfect for confirmations, forms, or any content requiring user focus.
25
25
  *
26
+ * @param props - The dialog props.
27
+ * @param props.ref - Reference to the dialog element.
28
+ * @param props.children - Dialog content (can be a render function with close callback).
29
+ * @param props.classNames - Custom class names for sub-elements.
30
+ * @param props.parentRef - Reference to parent element for portal rendering.
31
+ * @param props.size - Size variant of the dialog.
32
+ * @returns The dialog component.
33
+ *
26
34
  * @example
35
+ * ```tsx
27
36
  * // Basic dialog with trigger
28
37
  * <DialogTrigger>
29
38
  * <Button>Open Dialog</Button>
@@ -39,11 +48,12 @@ import * as react_jsx_runtime176 from "react/jsx-runtime";
39
48
  * )}
40
49
  * </Dialog>
41
50
  * </DialogTrigger>
51
+ * ```
42
52
  */
43
53
  declare function Dialog({
44
54
  ref,
45
55
  ...props
46
- }: DialogProps): react_jsx_runtime176.JSX.Element;
56
+ }: DialogProps): react_jsx_runtime36.JSX.Element;
47
57
  //#endregion
48
58
  export { Dialog };
49
59
  //# sourceMappingURL=index.d.ts.map
@@ -29,7 +29,16 @@ import styles from "./styles.module.css";
29
29
  * and keyboard navigation. Supports multiple sizes and customizable dismissal behavior.
30
30
  * Perfect for confirmations, forms, or any content requiring user focus.
31
31
  *
32
+ * @param props - The dialog props.
33
+ * @param props.ref - Reference to the dialog element.
34
+ * @param props.children - Dialog content (can be a render function with close callback).
35
+ * @param props.classNames - Custom class names for sub-elements.
36
+ * @param props.parentRef - Reference to parent element for portal rendering.
37
+ * @param props.size - Size variant of the dialog.
38
+ * @returns The dialog component.
39
+ *
32
40
  * @example
41
+ * ```tsx
33
42
  * // Basic dialog with trigger
34
43
  * <DialogTrigger>
35
44
  * <Button>Open Dialog</Button>
@@ -45,6 +54,7 @@ import styles from "./styles.module.css";
45
54
  * )}
46
55
  * </Dialog>
47
56
  * </DialogTrigger>
57
+ * ```
48
58
  */
49
59
  function Dialog({ ref, ...props }) {
50
60
  [props, ref] = useContextProps(props, ref ?? null, DialogContext);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["AriaDialog"],"sources":["../../../src/components/dialog/index.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport {\n Dialog as AriaDialog,\n composeRenderProps,\n Modal,\n ModalOverlay,\n useContextProps,\n} from 'react-aria-components';\nimport { PortalProvider } from '@/providers/portal';\nimport { DialogContext } from './context';\nimport styles from './styles.module.css';\nimport type { DialogProps } from './types';\n\n/**\n * Dialog - A modal dialog component for important content and interactions\n *\n * Provides accessible modal functionality with focus management, backdrop handling,\n * and keyboard navigation. Supports multiple sizes and customizable dismissal behavior.\n * Perfect for confirmations, forms, or any content requiring user focus.\n *\n * @example\n * // Basic dialog with trigger\n * <DialogTrigger>\n * <Button>Open Dialog</Button>\n * <Dialog>\n * {({ close }) => (\n * <>\n * <DialogTitle>Confirm Action</DialogTitle>\n * <p>Are you sure you want to continue?</p>\n * <DialogFooter>\n * <Button onPress={close}>Confirm</Button>\n * </DialogFooter>\n * </>\n * )}\n * </Dialog>\n * </DialogTrigger>\n */\nexport function Dialog({ ref, ...props }: DialogProps) {\n [props, ref] = useContextProps(props, ref ?? null, DialogContext);\n\n const { children, classNames, parentRef, size = 'small', ...rest } = props;\n\n return (\n <DialogContext.Provider value={props}>\n <PortalProvider parentRef={parentRef}>\n <ModalOverlay\n {...rest}\n ref={ref}\n className={composeRenderProps(classNames?.overlay, (className) =>\n clsx('group/dialog', styles.overlay, className),\n )}\n data-size={size}\n >\n <Modal\n className={composeRenderProps(classNames?.modal, (className) =>\n clsx(styles.modal, className),\n )}\n >\n <AriaDialog className={clsx(styles.dialog, classNames?.dialog)}>\n {children}\n </AriaDialog>\n </Modal>\n </ModalOverlay>\n </PortalProvider>\n </DialogContext.Provider>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmDA,SAAgB,OAAO,EAAE,KAAK,GAAG,SAAsB;AACrD,EAAC,OAAO,OAAO,gBAAgB,OAAO,OAAO,MAAM,cAAc;CAEjE,MAAM,EAAE,UAAU,YAAY,WAAW,OAAO,SAAS,GAAG,SAAS;AAErE,QACE,oBAAC,cAAc;EAAS,OAAO;YAC7B,oBAAC;GAA0B;aACzB,oBAAC;IACC,GAAI;IACC;IACL,WAAW,mBAAmB,YAAY,UAAU,cAClD,KAAK,gBAAgB,OAAO,SAAS,UAAU,CAChD;IACD,aAAW;cAEX,oBAAC;KACC,WAAW,mBAAmB,YAAY,QAAQ,cAChD,KAAK,OAAO,OAAO,UAAU,CAC9B;eAED,oBAACA;MAAW,WAAW,KAAK,OAAO,QAAQ,YAAY,OAAO;MAC3D;OACU;MACP;KACK;IACA;GACM"}
1
+ {"version":3,"file":"index.js","names":["AriaDialog"],"sources":["../../../src/components/dialog/index.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport {\n Dialog as AriaDialog,\n composeRenderProps,\n Modal,\n ModalOverlay,\n useContextProps,\n} from 'react-aria-components';\nimport { PortalProvider } from '@/providers/portal';\nimport { DialogContext } from './context';\nimport styles from './styles.module.css';\nimport type { DialogProps } from './types';\n\n/**\n * Dialog - A modal dialog component for important content and interactions\n *\n * Provides accessible modal functionality with focus management, backdrop handling,\n * and keyboard navigation. Supports multiple sizes and customizable dismissal behavior.\n * Perfect for confirmations, forms, or any content requiring user focus.\n *\n * @param props - The dialog props.\n * @param props.ref - Reference to the dialog element.\n * @param props.children - Dialog content (can be a render function with close callback).\n * @param props.classNames - Custom class names for sub-elements.\n * @param props.parentRef - Reference to parent element for portal rendering.\n * @param props.size - Size variant of the dialog.\n * @returns The dialog component.\n *\n * @example\n * ```tsx\n * // Basic dialog with trigger\n * <DialogTrigger>\n * <Button>Open Dialog</Button>\n * <Dialog>\n * {({ close }) => (\n * <>\n * <DialogTitle>Confirm Action</DialogTitle>\n * <p>Are you sure you want to continue?</p>\n * <DialogFooter>\n * <Button onPress={close}>Confirm</Button>\n * </DialogFooter>\n * </>\n * )}\n * </Dialog>\n * </DialogTrigger>\n * ```\n */\nexport function Dialog({ ref, ...props }: DialogProps) {\n [props, ref] = useContextProps(props, ref ?? null, DialogContext);\n\n const { children, classNames, parentRef, size = 'small', ...rest } = props;\n\n return (\n <DialogContext.Provider value={props}>\n <PortalProvider parentRef={parentRef}>\n <ModalOverlay\n {...rest}\n ref={ref}\n className={composeRenderProps(classNames?.overlay, (className) =>\n clsx('group/dialog', styles.overlay, className),\n )}\n data-size={size}\n >\n <Modal\n className={composeRenderProps(classNames?.modal, (className) =>\n clsx(styles.modal, className),\n )}\n >\n <AriaDialog className={clsx(styles.dialog, classNames?.dialog)}>\n {children}\n </AriaDialog>\n </Modal>\n </ModalOverlay>\n </PortalProvider>\n </DialogContext.Provider>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DA,SAAgB,OAAO,EAAE,KAAK,GAAG,SAAsB;AACrD,EAAC,OAAO,OAAO,gBAAgB,OAAO,OAAO,MAAM,cAAc;CAEjE,MAAM,EAAE,UAAU,YAAY,WAAW,OAAO,SAAS,GAAG,SAAS;AAErE,QACE,oBAAC,cAAc;EAAS,OAAO;YAC7B,oBAAC;GAA0B;aACzB,oBAAC;IACC,GAAI;IACC;IACL,WAAW,mBAAmB,YAAY,UAAU,cAClD,KAAK,gBAAgB,OAAO,SAAS,UAAU,CAChD;IACD,aAAW;cAEX,oBAAC;KACC,WAAW,mBAAmB,YAAY,QAAQ,cAChD,KAAK,OAAO,OAAO,UAAU,CAC9B;eAED,oBAACA;MAAW,WAAW,KAAK,OAAO,QAAQ,YAAY,OAAO;MAC3D;OACU;MACP;KACK;IACA;GACM"}
@@ -12,13 +12,32 @@
12
12
 
13
13
  import "client-only";
14
14
  import { HeadingProps } from "react-aria-components";
15
- import * as react_jsx_runtime178 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime39 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/dialog/title.d.ts
18
+
19
+ /**
20
+ * DialogTitle - Semantic heading element for dialog titles.
21
+ *
22
+ * Renders as an `<h2>` element with the `title` slot for accessibility.
23
+ *
24
+ * @param props - The dialog title props.
25
+ * @param props.children - Title text content.
26
+ * @param props.className - Additional CSS class name.
27
+ * @returns The dialog title component.
28
+ *
29
+ * @example
30
+ * ```tsx
31
+ * <Dialog>
32
+ * <DialogTitle>Confirm Action</DialogTitle>
33
+ * <DialogContent>...</DialogContent>
34
+ * </Dialog>
35
+ * ```
36
+ */
18
37
  declare function DialogTitle({
19
38
  children,
20
39
  className
21
- }: HeadingProps): react_jsx_runtime178.JSX.Element;
40
+ }: HeadingProps): react_jsx_runtime39.JSX.Element;
22
41
  //#endregion
23
42
  export { DialogTitle };
24
43
  //# sourceMappingURL=title.d.ts.map