@accelint/design-toolkit 7.0.1 → 8.0.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 (678) hide show
  1. package/README.md +1 -1
  2. package/catalog-info.yaml +12 -6
  3. package/dist/components/accordion/context.d.ts +0 -2
  4. package/dist/components/accordion/group.d.ts +0 -2
  5. package/dist/components/accordion/group.js +1 -1
  6. package/dist/components/accordion/group.js.map +1 -1
  7. package/dist/components/accordion/header.d.ts +0 -2
  8. package/dist/components/accordion/header.js +1 -1
  9. package/dist/components/accordion/header.js.map +1 -1
  10. package/dist/components/accordion/index.d.ts +0 -2
  11. package/dist/components/accordion/index.js +1 -1
  12. package/dist/components/accordion/index.js.map +1 -1
  13. package/dist/components/accordion/panel.d.ts +0 -2
  14. package/dist/components/accordion/panel.js +1 -1
  15. package/dist/components/accordion/panel.js.map +1 -1
  16. package/dist/components/accordion/styles.module.css +65 -0
  17. package/dist/components/accordion/trigger.d.ts +0 -2
  18. package/dist/components/accordion/trigger.js +1 -1
  19. package/dist/components/accordion/trigger.js.map +1 -1
  20. package/dist/components/accordion/types.d.ts +5 -5
  21. package/dist/components/action-bar/index.d.ts +1 -1
  22. package/dist/components/action-bar/index.js +1 -1
  23. package/dist/components/action-bar/index.js.map +1 -1
  24. package/dist/components/action-bar/styles.module.css +27 -0
  25. package/dist/components/action-bar/types.d.ts +3 -1
  26. package/dist/components/avatar/context.d.ts +0 -3
  27. package/dist/components/avatar/index.d.ts +0 -3
  28. package/dist/components/avatar/index.js +1 -1
  29. package/dist/components/avatar/index.js.map +1 -1
  30. package/dist/components/avatar/styles.module.css +45 -0
  31. package/dist/components/avatar/types.d.ts +1 -4
  32. package/dist/components/badge/context.d.ts +0 -2
  33. package/dist/components/badge/index.d.ts +0 -2
  34. package/dist/components/badge/index.js +1 -1
  35. package/dist/components/badge/index.js.map +1 -1
  36. package/dist/components/badge/styles.module.css +67 -0
  37. package/dist/components/badge/types.d.ts +3 -4
  38. package/dist/components/breadcrumbs/index.js +1 -1
  39. package/dist/components/breadcrumbs/index.js.map +1 -1
  40. package/dist/components/breadcrumbs/item.js +1 -1
  41. package/dist/components/breadcrumbs/item.js.map +1 -1
  42. package/dist/components/breadcrumbs/styles.module.css +41 -0
  43. package/dist/components/button/context.d.ts +0 -3
  44. package/dist/components/button/index.d.ts +0 -3
  45. package/dist/components/button/index.js +1 -1
  46. package/dist/components/button/index.js.map +1 -1
  47. package/dist/components/button/link.d.ts +0 -3
  48. package/dist/components/button/link.js +1 -1
  49. package/dist/components/button/link.js.map +1 -1
  50. package/dist/components/button/styles.module.css +917 -0
  51. package/dist/components/button/toggle.d.ts +0 -3
  52. package/dist/components/button/toggle.js +1 -1
  53. package/dist/components/button/toggle.js.map +1 -1
  54. package/dist/components/button/types.d.ts +6 -6
  55. package/dist/components/checkbox/group.js +1 -1
  56. package/dist/components/checkbox/group.js.map +1 -1
  57. package/dist/components/checkbox/index.js +1 -1
  58. package/dist/components/checkbox/index.js.map +1 -1
  59. package/dist/components/checkbox/styles.module.css +111 -0
  60. package/dist/components/chip/context.d.ts +3 -6
  61. package/dist/components/chip/context.js +1 -1
  62. package/dist/components/chip/context.js.map +1 -1
  63. package/dist/components/chip/deletable.d.ts +0 -3
  64. package/dist/components/chip/deletable.js +1 -1
  65. package/dist/components/chip/deletable.js.map +1 -1
  66. package/dist/components/chip/index.d.ts +0 -3
  67. package/dist/components/chip/index.js +1 -1
  68. package/dist/components/chip/index.js.map +1 -1
  69. package/dist/components/chip/list.d.ts +0 -3
  70. package/dist/components/chip/list.js +1 -1
  71. package/dist/components/chip/list.js.map +1 -1
  72. package/dist/components/chip/selectable.d.ts +0 -3
  73. package/dist/components/chip/selectable.js +1 -1
  74. package/dist/components/chip/selectable.js.map +1 -1
  75. package/dist/components/chip/styles.module.css +129 -0
  76. package/dist/components/chip/types.d.ts +7 -8
  77. package/dist/components/classification-badge/context.d.ts +1 -2
  78. package/dist/components/classification-badge/index.d.ts +1 -2
  79. package/dist/components/classification-badge/index.js +1 -1
  80. package/dist/components/classification-badge/index.js.map +1 -1
  81. package/dist/components/classification-badge/styles.module.css +63 -0
  82. package/dist/components/classification-badge/types.d.ts +3 -5
  83. package/dist/components/classification-banner/context.d.ts +0 -2
  84. package/dist/components/classification-banner/index.d.ts +0 -2
  85. package/dist/components/classification-banner/index.js +1 -1
  86. package/dist/components/classification-banner/index.js.map +1 -1
  87. package/dist/components/classification-banner/styles.module.css +55 -0
  88. package/dist/components/classification-banner/types.d.ts +4 -5
  89. package/dist/components/color-picker/index.js +1 -1
  90. package/dist/components/color-picker/index.js.map +1 -1
  91. package/dist/components/color-picker/styles.module.css +43 -0
  92. package/dist/components/combobox-field/context.d.ts +0 -3
  93. package/dist/components/combobox-field/index.d.ts +0 -3
  94. package/dist/components/combobox-field/index.js +1 -1
  95. package/dist/components/combobox-field/index.js.map +1 -1
  96. package/dist/components/combobox-field/styles.module.css +101 -0
  97. package/dist/components/combobox-field/types.d.ts +0 -3
  98. package/dist/components/coordinate-field/context.d.ts +77 -0
  99. package/dist/components/coordinate-field/context.js +2 -0
  100. package/dist/components/coordinate-field/context.js.map +1 -0
  101. package/dist/components/coordinate-field/coordinate-utils.d.ts +282 -0
  102. package/dist/components/coordinate-field/coordinate-utils.js +2 -0
  103. package/dist/components/coordinate-field/coordinate-utils.js.map +1 -0
  104. package/dist/components/coordinate-field/index.d.ts +66 -0
  105. package/dist/components/coordinate-field/index.js +4 -0
  106. package/dist/components/coordinate-field/index.js.map +1 -0
  107. package/dist/components/coordinate-field/segment-configs.d.ts +163 -0
  108. package/dist/components/coordinate-field/segment-configs.js +2 -0
  109. package/dist/components/coordinate-field/segment-configs.js.map +1 -0
  110. package/dist/components/coordinate-field/segment.d.ts +39 -0
  111. package/dist/components/coordinate-field/segment.js +4 -0
  112. package/dist/components/coordinate-field/segment.js.map +1 -0
  113. package/dist/components/coordinate-field/styles.module.css +129 -0
  114. package/dist/components/coordinate-field/types.d.ts +194 -0
  115. package/dist/components/coordinate-field/types.js +2 -0
  116. package/dist/components/coordinate-field/types.js.map +1 -0
  117. package/dist/components/coordinate-field/width-utils.d.ts +29 -0
  118. package/dist/components/coordinate-field/width-utils.js +2 -0
  119. package/dist/components/coordinate-field/width-utils.js.map +1 -0
  120. package/dist/components/date-field/index.d.ts +0 -2
  121. package/dist/components/date-field/index.js +1 -1
  122. package/dist/components/date-field/index.js.map +1 -1
  123. package/dist/components/date-field/styles.module.css +103 -0
  124. package/dist/components/date-field/types.d.ts +1 -3
  125. package/dist/components/details-list/context.d.ts +0 -2
  126. package/dist/components/details-list/index.d.ts +0 -2
  127. package/dist/components/details-list/index.js +1 -1
  128. package/dist/components/details-list/index.js.map +1 -1
  129. package/dist/components/details-list/label.d.ts +0 -2
  130. package/dist/components/details-list/styles.module.css +52 -0
  131. package/dist/components/details-list/types.d.ts +2 -3
  132. package/dist/components/details-list/value.d.ts +0 -2
  133. package/dist/components/dialog/content.js +1 -1
  134. package/dist/components/dialog/content.js.map +1 -1
  135. package/dist/components/dialog/footer.js +1 -1
  136. package/dist/components/dialog/footer.js.map +1 -1
  137. package/dist/components/dialog/index.js +1 -1
  138. package/dist/components/dialog/index.js.map +1 -1
  139. package/dist/components/dialog/styles.module.css +86 -0
  140. package/dist/components/dialog/title.js +1 -1
  141. package/dist/components/dialog/title.js.map +1 -1
  142. package/dist/components/dialog/trigger.d.ts +5 -1
  143. package/dist/components/dialog/trigger.js +1 -1
  144. package/dist/components/dialog/trigger.js.map +1 -1
  145. package/dist/components/divider/index.js +1 -1
  146. package/dist/components/divider/index.js.map +1 -1
  147. package/dist/components/divider/styles.module.css +44 -0
  148. package/dist/components/drawer/back.js +1 -1
  149. package/dist/components/drawer/back.js.map +1 -1
  150. package/dist/components/drawer/close.js +1 -1
  151. package/dist/components/drawer/close.js.map +1 -1
  152. package/dist/components/drawer/content.js +1 -3
  153. package/dist/components/drawer/content.js.map +1 -1
  154. package/dist/components/drawer/context.d.ts +0 -4
  155. package/dist/components/drawer/footer.js +1 -3
  156. package/dist/components/drawer/footer.js.map +1 -1
  157. package/dist/components/drawer/header-title.d.ts +0 -4
  158. package/dist/components/drawer/header-title.js +1 -3
  159. package/dist/components/drawer/header-title.js.map +1 -1
  160. package/dist/components/drawer/header.js +1 -1
  161. package/dist/components/drawer/header.js.map +1 -1
  162. package/dist/components/drawer/index.d.ts +0 -4
  163. package/dist/components/drawer/index.js +1 -1
  164. package/dist/components/drawer/index.js.map +1 -1
  165. package/dist/components/drawer/layout-main.js +1 -3
  166. package/dist/components/drawer/layout-main.js.map +1 -1
  167. package/dist/components/drawer/layout.d.ts +0 -4
  168. package/dist/components/drawer/layout.js +1 -3
  169. package/dist/components/drawer/layout.js.map +1 -1
  170. package/dist/components/drawer/menu-item.d.ts +0 -4
  171. package/dist/components/drawer/menu-item.js +1 -1
  172. package/dist/components/drawer/menu-item.js.map +1 -1
  173. package/dist/components/drawer/menu.d.ts +0 -4
  174. package/dist/components/drawer/menu.js +1 -3
  175. package/dist/components/drawer/menu.js.map +1 -1
  176. package/dist/components/drawer/panel.js +1 -3
  177. package/dist/components/drawer/panel.js.map +1 -1
  178. package/dist/components/drawer/styles.module.css +304 -0
  179. package/dist/components/drawer/trigger.d.ts +0 -4
  180. package/dist/components/drawer/trigger.js +1 -1
  181. package/dist/components/drawer/trigger.js.map +1 -1
  182. package/dist/components/drawer/types.d.ts +3 -5
  183. package/dist/components/drawer/view.js +1 -1
  184. package/dist/components/drawer/view.js.map +1 -1
  185. package/dist/components/hero/index.js +1 -1
  186. package/dist/components/hero/index.js.map +1 -1
  187. package/dist/components/hero/styles.module.css +51 -0
  188. package/dist/components/hotkey/context.d.ts +0 -2
  189. package/dist/components/hotkey/index.d.ts +0 -2
  190. package/dist/components/hotkey/index.js +1 -1
  191. package/dist/components/hotkey/index.js.map +1 -1
  192. package/dist/components/hotkey/set.d.ts +6 -0
  193. package/dist/components/hotkey/set.js +4 -0
  194. package/dist/components/hotkey/set.js.map +1 -0
  195. package/dist/components/hotkey/styles.module.css +36 -0
  196. package/dist/components/hotkey/types.d.ts +5 -6
  197. package/dist/components/icon/index.js +1 -1
  198. package/dist/components/icon/index.js.map +1 -1
  199. package/dist/components/icon/styles.module.css +38 -0
  200. package/dist/components/input/context.d.ts +0 -4
  201. package/dist/components/input/index.d.ts +0 -4
  202. package/dist/components/input/index.js +1 -1
  203. package/dist/components/input/index.js.map +1 -1
  204. package/dist/components/input/styles.module.css +175 -0
  205. package/dist/components/input/types.d.ts +7 -6
  206. package/dist/components/kanban/card-body.d.ts +12 -0
  207. package/dist/components/kanban/card-body.js +4 -0
  208. package/dist/components/kanban/card-body.js.map +1 -0
  209. package/dist/components/kanban/card-header-actions.d.ts +12 -0
  210. package/dist/components/kanban/card-header-actions.js +4 -0
  211. package/dist/components/kanban/card-header-actions.js.map +1 -0
  212. package/dist/components/kanban/card-header-title.d.ts +12 -0
  213. package/dist/components/kanban/card-header-title.js +4 -0
  214. package/dist/components/kanban/card-header-title.js.map +1 -0
  215. package/dist/components/kanban/card-header.d.ts +12 -0
  216. package/dist/components/kanban/card-header.js +4 -0
  217. package/dist/components/kanban/card-header.js.map +1 -0
  218. package/dist/components/kanban/card.d.ts +12 -0
  219. package/dist/components/kanban/card.js +4 -0
  220. package/dist/components/kanban/card.js.map +1 -0
  221. package/dist/components/kanban/column-actions.d.ts +12 -0
  222. package/dist/components/kanban/column-actions.js +4 -0
  223. package/dist/components/kanban/column-actions.js.map +1 -0
  224. package/dist/components/kanban/column-container.d.ts +12 -0
  225. package/dist/components/kanban/column-container.js +4 -0
  226. package/dist/components/kanban/column-container.js.map +1 -0
  227. package/dist/components/kanban/column-content.d.ts +12 -0
  228. package/dist/components/kanban/column-content.js +4 -0
  229. package/dist/components/kanban/column-content.js.map +1 -0
  230. package/dist/components/kanban/column-header-actions.d.ts +12 -0
  231. package/dist/components/kanban/column-header-actions.js +4 -0
  232. package/dist/components/kanban/column-header-actions.js.map +1 -0
  233. package/dist/components/kanban/column-header-drag-handle.d.ts +5 -0
  234. package/dist/components/kanban/column-header-drag-handle.js +4 -0
  235. package/dist/components/kanban/column-header-drag-handle.js.map +1 -0
  236. package/dist/components/kanban/column-header-title.d.ts +12 -0
  237. package/dist/components/kanban/column-header-title.js +4 -0
  238. package/dist/components/kanban/column-header-title.js.map +1 -0
  239. package/dist/components/kanban/column-header.d.ts +12 -0
  240. package/dist/components/kanban/column-header.js +4 -0
  241. package/dist/components/kanban/column-header.js.map +1 -0
  242. package/dist/components/kanban/column.d.ts +12 -0
  243. package/dist/components/kanban/column.js +4 -0
  244. package/dist/components/kanban/column.js.map +1 -0
  245. package/dist/components/kanban/context.d.ts +101 -0
  246. package/dist/components/kanban/context.js +2 -0
  247. package/dist/components/kanban/context.js.map +1 -0
  248. package/dist/components/kanban/header-actions.d.ts +12 -0
  249. package/dist/components/kanban/header-actions.js +4 -0
  250. package/dist/components/kanban/header-actions.js.map +1 -0
  251. package/dist/components/kanban/header-search.d.ts +12 -0
  252. package/dist/components/kanban/header-search.js +4 -0
  253. package/dist/components/kanban/header-search.js.map +1 -0
  254. package/dist/components/kanban/header-title.d.ts +12 -0
  255. package/dist/components/kanban/header-title.js +4 -0
  256. package/dist/components/kanban/header-title.js.map +1 -0
  257. package/dist/components/kanban/header.d.ts +12 -0
  258. package/dist/components/kanban/header.js +4 -0
  259. package/dist/components/kanban/header.js.map +1 -0
  260. package/dist/components/kanban/index.d.ts +9 -0
  261. package/dist/components/kanban/index.js +2 -0
  262. package/dist/components/kanban/index.js.map +1 -0
  263. package/dist/components/kanban/kanban.d.ts +18 -0
  264. package/dist/components/kanban/kanban.js +4 -0
  265. package/dist/components/kanban/kanban.js.map +1 -0
  266. package/dist/components/kanban/mock-data.d.ts +14 -0
  267. package/dist/components/kanban/mock-data.js +2 -0
  268. package/dist/components/kanban/mock-data.js.map +1 -0
  269. package/dist/components/kanban/styles.module.css +117 -0
  270. package/dist/components/kanban/types.d.ts +50 -0
  271. package/dist/components/label/index.js +1 -1
  272. package/dist/components/label/index.js.map +1 -1
  273. package/dist/components/label/styles.module.css +23 -0
  274. package/dist/components/lines/index.d.ts +0 -2
  275. package/dist/components/lines/index.js +1 -1
  276. package/dist/components/lines/index.js.map +1 -1
  277. package/dist/components/lines/styles.module.css +95 -0
  278. package/dist/components/lines/types.d.ts +4 -5
  279. package/dist/components/link/index.js +1 -1
  280. package/dist/components/link/index.js.map +1 -1
  281. package/dist/components/link/styles.module.css +37 -0
  282. package/dist/components/menu/context.d.ts +0 -2
  283. package/dist/components/menu/index.d.ts +0 -2
  284. package/dist/components/menu/index.js +1 -1
  285. package/dist/components/menu/index.js.map +1 -1
  286. package/dist/components/menu/item-description.js +1 -1
  287. package/dist/components/menu/item-description.js.map +1 -1
  288. package/dist/components/menu/item-label.js +1 -1
  289. package/dist/components/menu/item-label.js.map +1 -1
  290. package/dist/components/menu/item.d.ts +0 -2
  291. package/dist/components/menu/item.js +1 -1
  292. package/dist/components/menu/item.js.map +1 -1
  293. package/dist/components/menu/section.d.ts +0 -2
  294. package/dist/components/menu/section.js +1 -1
  295. package/dist/components/menu/section.js.map +1 -1
  296. package/dist/components/menu/separator.js +1 -1
  297. package/dist/components/menu/separator.js.map +1 -1
  298. package/dist/components/menu/styles.module.css +415 -0
  299. package/dist/components/menu/trigger.d.ts +5 -1
  300. package/dist/components/menu/trigger.js +1 -1
  301. package/dist/components/menu/trigger.js.map +1 -1
  302. package/dist/components/menu/types.d.ts +2 -3
  303. package/dist/components/notice/index.d.ts +0 -3
  304. package/dist/components/notice/index.js +1 -1
  305. package/dist/components/notice/index.js.map +1 -1
  306. package/dist/components/notice/list.d.ts +0 -3
  307. package/dist/components/notice/list.js +1 -1
  308. package/dist/components/notice/list.js.map +1 -1
  309. package/dist/components/notice/notice-icon.d.ts +0 -3
  310. package/dist/components/notice/styles.module.css +133 -0
  311. package/dist/components/notice/types.d.ts +3 -6
  312. package/dist/components/options/index.js +1 -1
  313. package/dist/components/options/index.js.map +1 -1
  314. package/dist/components/options/item-content.d.ts +2 -5
  315. package/dist/components/options/item-content.js +1 -3
  316. package/dist/components/options/item-content.js.map +1 -1
  317. package/dist/components/options/item-description.d.ts +2 -5
  318. package/dist/components/options/item-description.js +1 -3
  319. package/dist/components/options/item-description.js.map +1 -1
  320. package/dist/components/options/item-label.d.ts +2 -5
  321. package/dist/components/options/item-label.js +1 -3
  322. package/dist/components/options/item-label.js.map +1 -1
  323. package/dist/components/options/item.js +1 -1
  324. package/dist/components/options/item.js.map +1 -1
  325. package/dist/components/options/section.js +1 -3
  326. package/dist/components/options/section.js.map +1 -1
  327. package/dist/components/options/styles.module.css +397 -0
  328. package/dist/components/options/types.d.ts +2 -3
  329. package/dist/components/pagination/context.d.ts +9 -0
  330. package/dist/components/pagination/context.js +4 -0
  331. package/dist/components/pagination/context.js.map +1 -0
  332. package/dist/components/pagination/index.d.ts +25 -0
  333. package/dist/components/pagination/index.js +4 -0
  334. package/dist/components/pagination/index.js.map +1 -0
  335. package/dist/components/pagination/next.d.ts +10 -0
  336. package/dist/components/pagination/next.js +4 -0
  337. package/dist/components/pagination/next.js.map +1 -0
  338. package/dist/components/pagination/pages.d.ts +10 -0
  339. package/dist/components/pagination/pages.js +4 -0
  340. package/dist/components/pagination/pages.js.map +1 -0
  341. package/dist/components/pagination/prev.d.ts +10 -0
  342. package/dist/components/pagination/prev.js +4 -0
  343. package/dist/components/pagination/prev.js.map +1 -0
  344. package/dist/components/pagination/styles.module.css +25 -0
  345. package/dist/components/pagination/types.d.ts +35 -0
  346. package/dist/components/pagination/types.js +2 -0
  347. package/dist/components/pagination/types.js.map +1 -0
  348. package/dist/components/pagination/utils.d.ts +16 -0
  349. package/dist/components/pagination/utils.js +2 -0
  350. package/dist/components/pagination/utils.js.map +1 -0
  351. package/dist/components/popover/content.d.ts +2 -4
  352. package/dist/components/popover/content.js +1 -1
  353. package/dist/components/popover/content.js.map +1 -1
  354. package/dist/components/popover/footer.d.ts +2 -5
  355. package/dist/components/popover/footer.js +1 -1
  356. package/dist/components/popover/footer.js.map +1 -1
  357. package/dist/components/popover/index.d.ts +15 -19
  358. package/dist/components/popover/index.js +1 -1
  359. package/dist/components/popover/index.js.map +1 -1
  360. package/dist/components/popover/styles.module.css +32 -0
  361. package/dist/components/popover/title.d.ts +2 -4
  362. package/dist/components/popover/title.js +1 -1
  363. package/dist/components/popover/title.js.map +1 -1
  364. package/dist/components/popover/trigger.d.ts +1 -1
  365. package/dist/components/popover/trigger.js +1 -1
  366. package/dist/components/popover/trigger.js.map +1 -1
  367. package/dist/components/popover/types.d.ts +11 -22
  368. package/dist/components/query-builder/index.js +1 -1
  369. package/dist/components/query-builder/index.js.map +1 -1
  370. package/dist/components/query-builder/rule-group.js +1 -1
  371. package/dist/components/query-builder/rule-group.js.map +1 -1
  372. package/dist/components/query-builder/rule.js +1 -1
  373. package/dist/components/query-builder/rule.js.map +1 -1
  374. package/dist/components/query-builder/styles.module.css +87 -0
  375. package/dist/components/query-builder/value-editor.js +1 -1
  376. package/dist/components/query-builder/value-editor.js.map +1 -1
  377. package/dist/components/radio/group.js +1 -1
  378. package/dist/components/radio/group.js.map +1 -1
  379. package/dist/components/radio/index.js +1 -1
  380. package/dist/components/radio/index.js.map +1 -1
  381. package/dist/components/radio/styles.module.css +118 -0
  382. package/dist/components/search-field/context.d.ts +0 -4
  383. package/dist/components/search-field/index.d.ts +0 -4
  384. package/dist/components/search-field/index.js +1 -1
  385. package/dist/components/search-field/index.js.map +1 -1
  386. package/dist/components/search-field/styles.module.css +104 -0
  387. package/dist/components/search-field/types.d.ts +2 -7
  388. package/dist/components/select-field/context.d.ts +0 -3
  389. package/dist/components/select-field/index.d.ts +0 -3
  390. package/dist/components/select-field/index.js +1 -1
  391. package/dist/components/select-field/index.js.map +1 -1
  392. package/dist/components/select-field/styles.module.css +78 -0
  393. package/dist/components/select-field/types.d.ts +0 -3
  394. package/dist/components/sidenav/avatar.js +1 -1
  395. package/dist/components/sidenav/avatar.js.map +1 -1
  396. package/dist/components/sidenav/content.js +1 -1
  397. package/dist/components/sidenav/content.js.map +1 -1
  398. package/dist/components/sidenav/footer.js +1 -3
  399. package/dist/components/sidenav/footer.js.map +1 -1
  400. package/dist/components/sidenav/header.js +1 -1
  401. package/dist/components/sidenav/header.js.map +1 -1
  402. package/dist/components/sidenav/index.js +1 -1
  403. package/dist/components/sidenav/index.js.map +1 -1
  404. package/dist/components/sidenav/item.js +1 -1
  405. package/dist/components/sidenav/item.js.map +1 -1
  406. package/dist/components/sidenav/link.js +1 -1
  407. package/dist/components/sidenav/link.js.map +1 -1
  408. package/dist/components/sidenav/menu-item.js +1 -3
  409. package/dist/components/sidenav/menu-item.js.map +1 -1
  410. package/dist/components/sidenav/menu.js +1 -1
  411. package/dist/components/sidenav/menu.js.map +1 -1
  412. package/dist/components/sidenav/styles.module.css +311 -0
  413. package/dist/components/sidenav/types.d.ts +1 -2
  414. package/dist/components/skeleton/index.d.ts +2 -4
  415. package/dist/components/skeleton/index.js +1 -1
  416. package/dist/components/skeleton/index.js.map +1 -1
  417. package/dist/components/skeleton/styles.module.css +33 -0
  418. package/dist/components/skeleton/types.d.ts +4 -5
  419. package/dist/components/slider/index.js +1 -1
  420. package/dist/components/slider/index.js.map +1 -1
  421. package/dist/components/slider/styles.module.css +220 -0
  422. package/dist/components/switch/index.js +1 -1
  423. package/dist/components/switch/index.js.map +1 -1
  424. package/dist/components/switch/styles.module.css +116 -0
  425. package/dist/components/table/body.d.ts +0 -3
  426. package/dist/components/table/body.js +1 -1
  427. package/dist/components/table/body.js.map +1 -1
  428. package/dist/components/table/cell.d.ts +0 -3
  429. package/dist/components/table/cell.js +1 -1
  430. package/dist/components/table/cell.js.map +1 -1
  431. package/dist/components/table/context.d.ts +0 -3
  432. package/dist/components/table/header-cell.d.ts +0 -3
  433. package/dist/components/table/header-cell.js +1 -1
  434. package/dist/components/table/header-cell.js.map +1 -1
  435. package/dist/components/table/header.d.ts +0 -3
  436. package/dist/components/table/header.js +1 -1
  437. package/dist/components/table/header.js.map +1 -1
  438. package/dist/components/table/index.d.ts +0 -3
  439. package/dist/components/table/index.js +1 -1
  440. package/dist/components/table/index.js.map +1 -1
  441. package/dist/components/table/row.d.ts +0 -3
  442. package/dist/components/table/row.js +1 -1
  443. package/dist/components/table/row.js.map +1 -1
  444. package/dist/components/table/styles.module.css +95 -0
  445. package/dist/components/table/types.d.ts +5 -15
  446. package/dist/components/tabs/index.js +1 -1
  447. package/dist/components/tabs/index.js.map +1 -1
  448. package/dist/components/tabs/list.js +1 -1
  449. package/dist/components/tabs/list.js.map +1 -1
  450. package/dist/components/tabs/panel.js +1 -1
  451. package/dist/components/tabs/panel.js.map +1 -1
  452. package/dist/components/tabs/styles.module.css +140 -0
  453. package/dist/components/tabs/tab.js +1 -1
  454. package/dist/components/tabs/tab.js.map +1 -1
  455. package/dist/components/text-area-field/index.js +1 -1
  456. package/dist/components/text-area-field/index.js.map +1 -1
  457. package/dist/components/text-area-field/styles.module.css +67 -0
  458. package/dist/components/text-field/context.d.ts +0 -4
  459. package/dist/components/text-field/index.d.ts +24 -4
  460. package/dist/components/text-field/index.js +1 -1
  461. package/dist/components/text-field/index.js.map +1 -1
  462. package/dist/components/text-field/styles.module.css +37 -0
  463. package/dist/components/text-field/types.d.ts +0 -4
  464. package/dist/components/time-field/index.d.ts +0 -3
  465. package/dist/components/time-field/index.js +1 -1
  466. package/dist/components/time-field/index.js.map +1 -1
  467. package/dist/components/time-field/styles.module.css +75 -0
  468. package/dist/components/time-field/types.d.ts +2 -5
  469. package/dist/components/tooltip/index.js +1 -1
  470. package/dist/components/tooltip/index.js.map +1 -1
  471. package/dist/components/tooltip/styles.module.css +20 -0
  472. package/dist/components/tree/context.d.ts +0 -2
  473. package/dist/components/tree/context.js +1 -1
  474. package/dist/components/tree/context.js.map +1 -1
  475. package/dist/components/tree/index.d.ts +0 -2
  476. package/dist/components/tree/index.js +1 -1
  477. package/dist/components/tree/index.js.map +1 -1
  478. package/dist/components/tree/item-actions.js +1 -1
  479. package/dist/components/tree/item-actions.js.map +1 -1
  480. package/dist/components/tree/item-content.d.ts +0 -2
  481. package/dist/components/tree/item-content.js +1 -1
  482. package/dist/components/tree/item-content.js.map +1 -1
  483. package/dist/components/tree/item-description.js +1 -1
  484. package/dist/components/tree/item-description.js.map +1 -1
  485. package/dist/components/tree/item-label.js +1 -1
  486. package/dist/components/tree/item-label.js.map +1 -1
  487. package/dist/components/tree/item-prefix-icon.js +1 -1
  488. package/dist/components/tree/item-prefix-icon.js.map +1 -1
  489. package/dist/components/tree/item.d.ts +0 -2
  490. package/dist/components/tree/item.js +1 -1
  491. package/dist/components/tree/item.js.map +1 -1
  492. package/dist/components/tree/lines.js +1 -1
  493. package/dist/components/tree/lines.js.map +1 -1
  494. package/dist/components/tree/styles.module.css +183 -0
  495. package/dist/components/tree/types.d.ts +6 -5
  496. package/dist/hooks/coordinate-field/index.d.ts +9 -0
  497. package/dist/hooks/coordinate-field/index.js +2 -0
  498. package/dist/hooks/coordinate-field/index.js.map +1 -0
  499. package/dist/hooks/coordinate-field/use-coordinate-copy.d.ts +19 -0
  500. package/dist/hooks/coordinate-field/use-coordinate-copy.js +2 -0
  501. package/dist/hooks/coordinate-field/use-coordinate-copy.js.map +1 -0
  502. package/dist/hooks/coordinate-field/use-coordinate-field-state.d.ts +28 -0
  503. package/dist/hooks/coordinate-field/use-coordinate-field-state.js +2 -0
  504. package/dist/hooks/coordinate-field/use-coordinate-field-state.js.map +1 -0
  505. package/dist/hooks/coordinate-field/use-coordinate-field.d.ts +49 -0
  506. package/dist/hooks/coordinate-field/use-coordinate-field.js +2 -0
  507. package/dist/hooks/coordinate-field/use-coordinate-field.js.map +1 -0
  508. package/dist/hooks/coordinate-field/use-coordinate-focus.d.ts +21 -0
  509. package/dist/hooks/coordinate-field/use-coordinate-focus.js +2 -0
  510. package/dist/hooks/coordinate-field/use-coordinate-focus.js.map +1 -0
  511. package/dist/hooks/coordinate-field/use-coordinate-paste.d.ts +21 -0
  512. package/dist/hooks/coordinate-field/use-coordinate-paste.js +2 -0
  513. package/dist/hooks/coordinate-field/use-coordinate-paste.js.map +1 -0
  514. package/dist/hooks/coordinate-field/use-timeout-cleanup.d.ts +6 -0
  515. package/dist/hooks/coordinate-field/use-timeout-cleanup.js +2 -0
  516. package/dist/hooks/coordinate-field/use-timeout-cleanup.js.map +1 -0
  517. package/dist/hooks/kanban/index.d.ts +93 -0
  518. package/dist/hooks/kanban/index.js +2 -0
  519. package/dist/hooks/kanban/index.js.map +1 -0
  520. package/dist/index.d.ts +58 -61
  521. package/dist/index.js +1 -1
  522. package/dist/index.module.css +19 -0
  523. package/dist/lib/utils.d.ts +1 -17
  524. package/dist/lib/utils.js +1 -1
  525. package/dist/lib/utils.js.map +1 -1
  526. package/dist/metafile-esm.json +1 -1
  527. package/dist/providers/theme-provider.d.ts +1 -1
  528. package/dist/providers/theme-provider.js +1 -1
  529. package/dist/providers/theme-provider.js.map +1 -1
  530. package/package.json +36 -49
  531. package/dist/components/accordion/styles.d.ts +0 -56
  532. package/dist/components/accordion/styles.js +0 -2
  533. package/dist/components/accordion/styles.js.map +0 -1
  534. package/dist/components/action-bar/styles.d.ts +0 -5
  535. package/dist/components/action-bar/styles.js +0 -2
  536. package/dist/components/action-bar/styles.js.map +0 -1
  537. package/dist/components/avatar/styles.d.ts +0 -48
  538. package/dist/components/avatar/styles.js +0 -2
  539. package/dist/components/avatar/styles.js.map +0 -1
  540. package/dist/components/badge/styles.d.ts +0 -32
  541. package/dist/components/badge/styles.js +0 -2
  542. package/dist/components/badge/styles.js.map +0 -1
  543. package/dist/components/breadcrumbs/styles.d.ts +0 -48
  544. package/dist/components/breadcrumbs/styles.js +0 -2
  545. package/dist/components/breadcrumbs/styles.js.map +0 -1
  546. package/dist/components/button/styles.d.ts +0 -129
  547. package/dist/components/button/styles.js +0 -2
  548. package/dist/components/button/styles.js.map +0 -1
  549. package/dist/components/checkbox/styles.d.ts +0 -54
  550. package/dist/components/checkbox/styles.js +0 -2
  551. package/dist/components/checkbox/styles.js.map +0 -1
  552. package/dist/components/chip/styles.d.ts +0 -247
  553. package/dist/components/chip/styles.js +0 -2
  554. package/dist/components/chip/styles.js.map +0 -1
  555. package/dist/components/classification-badge/styles.d.ts +0 -38
  556. package/dist/components/classification-badge/styles.js +0 -2
  557. package/dist/components/classification-badge/styles.js.map +0 -1
  558. package/dist/components/classification-banner/styles.d.ts +0 -38
  559. package/dist/components/classification-banner/styles.js +0 -2
  560. package/dist/components/classification-banner/styles.js.map +0 -1
  561. package/dist/components/color-picker/styles.d.ts +0 -42
  562. package/dist/components/color-picker/styles.js +0 -2
  563. package/dist/components/color-picker/styles.js.map +0 -1
  564. package/dist/components/combobox-field/styles.d.ts +0 -72
  565. package/dist/components/combobox-field/styles.js +0 -2
  566. package/dist/components/combobox-field/styles.js.map +0 -1
  567. package/dist/components/date-field/styles.d.ts +0 -59
  568. package/dist/components/date-field/styles.js +0 -2
  569. package/dist/components/date-field/styles.js.map +0 -1
  570. package/dist/components/details-list/styles.d.ts +0 -65
  571. package/dist/components/details-list/styles.js +0 -2
  572. package/dist/components/details-list/styles.js.map +0 -1
  573. package/dist/components/dialog/styles.d.ts +0 -60
  574. package/dist/components/dialog/styles.js +0 -2
  575. package/dist/components/dialog/styles.js.map +0 -1
  576. package/dist/components/divider/styles.d.ts +0 -5
  577. package/dist/components/divider/styles.js +0 -2
  578. package/dist/components/divider/styles.js.map +0 -1
  579. package/dist/components/drawer/styles.d.ts +0 -152
  580. package/dist/components/drawer/styles.js +0 -2
  581. package/dist/components/drawer/styles.js.map +0 -1
  582. package/dist/components/hero/styles.d.ts +0 -48
  583. package/dist/components/hero/styles.js +0 -2
  584. package/dist/components/hero/styles.js.map +0 -1
  585. package/dist/components/hotkey/hotkey-set.d.ts +0 -9
  586. package/dist/components/hotkey/hotkey-set.js +0 -4
  587. package/dist/components/hotkey/hotkey-set.js.map +0 -1
  588. package/dist/components/hotkey/styles.d.ts +0 -53
  589. package/dist/components/hotkey/styles.js +0 -2
  590. package/dist/components/hotkey/styles.js.map +0 -1
  591. package/dist/components/icon/styles.d.ts +0 -5
  592. package/dist/components/icon/styles.js +0 -2
  593. package/dist/components/icon/styles.js.map +0 -1
  594. package/dist/components/input/styles.d.ts +0 -142
  595. package/dist/components/input/styles.js +0 -2
  596. package/dist/components/input/styles.js.map +0 -1
  597. package/dist/components/label/styles.d.ts +0 -5
  598. package/dist/components/label/styles.js +0 -2
  599. package/dist/components/label/styles.js.map +0 -1
  600. package/dist/components/lines/styles.d.ts +0 -32
  601. package/dist/components/lines/styles.js +0 -2
  602. package/dist/components/lines/styles.js.map +0 -1
  603. package/dist/components/link/styles.d.ts +0 -5
  604. package/dist/components/link/styles.js +0 -2
  605. package/dist/components/link/styles.js.map +0 -1
  606. package/dist/components/menu/styles.d.ts +0 -71
  607. package/dist/components/menu/styles.js +0 -2
  608. package/dist/components/menu/styles.js.map +0 -1
  609. package/dist/components/notice/styles.d.ts +0 -60
  610. package/dist/components/notice/styles.js +0 -2
  611. package/dist/components/notice/styles.js.map +0 -1
  612. package/dist/components/options/styles.d.ts +0 -72
  613. package/dist/components/options/styles.js +0 -2
  614. package/dist/components/options/styles.js.map +0 -1
  615. package/dist/components/popover/body.d.ts +0 -8
  616. package/dist/components/popover/body.js +0 -4
  617. package/dist/components/popover/body.js.map +0 -1
  618. package/dist/components/popover/styles.d.ts +0 -48
  619. package/dist/components/popover/styles.js +0 -2
  620. package/dist/components/popover/styles.js.map +0 -1
  621. package/dist/components/query-builder/styles.d.ts +0 -152
  622. package/dist/components/query-builder/styles.js +0 -2
  623. package/dist/components/query-builder/styles.js.map +0 -1
  624. package/dist/components/radio/styles.d.ts +0 -54
  625. package/dist/components/radio/styles.js +0 -2
  626. package/dist/components/radio/styles.js.map +0 -1
  627. package/dist/components/search-field/styles.d.ts +0 -53
  628. package/dist/components/search-field/styles.js +0 -2
  629. package/dist/components/search-field/styles.js.map +0 -1
  630. package/dist/components/select-field/styles.d.ts +0 -66
  631. package/dist/components/select-field/styles.js +0 -2
  632. package/dist/components/select-field/styles.js.map +0 -1
  633. package/dist/components/sidenav/styles.d.ts +0 -156
  634. package/dist/components/sidenav/styles.js +0 -2
  635. package/dist/components/sidenav/styles.js.map +0 -1
  636. package/dist/components/skeleton/styles.d.ts +0 -23
  637. package/dist/components/skeleton/styles.js +0 -2
  638. package/dist/components/skeleton/styles.js.map +0 -1
  639. package/dist/components/slider/styles.d.ts +0 -84
  640. package/dist/components/slider/styles.js +0 -2
  641. package/dist/components/slider/styles.js.map +0 -1
  642. package/dist/components/switch/styles.d.ts +0 -44
  643. package/dist/components/switch/styles.js +0 -2
  644. package/dist/components/switch/styles.js.map +0 -1
  645. package/dist/components/table/styles.d.ts +0 -134
  646. package/dist/components/table/styles.js +0 -2
  647. package/dist/components/table/styles.js.map +0 -1
  648. package/dist/components/tabs/styles.d.ts +0 -48
  649. package/dist/components/tabs/styles.js +0 -2
  650. package/dist/components/tabs/styles.js.map +0 -1
  651. package/dist/components/text-area-field/styles.d.ts +0 -54
  652. package/dist/components/text-area-field/styles.js +0 -2
  653. package/dist/components/text-area-field/styles.js.map +0 -1
  654. package/dist/components/text-field/styles.d.ts +0 -54
  655. package/dist/components/text-field/styles.js +0 -2
  656. package/dist/components/text-field/styles.js.map +0 -1
  657. package/dist/components/time-field/styles.d.ts +0 -69
  658. package/dist/components/time-field/styles.js +0 -2
  659. package/dist/components/time-field/styles.js.map +0 -1
  660. package/dist/components/tooltip/styles.d.ts +0 -5
  661. package/dist/components/tooltip/styles.js +0 -2
  662. package/dist/components/tooltip/styles.js.map +0 -1
  663. package/dist/components/tree/styles.d.ts +0 -128
  664. package/dist/components/tree/styles.js +0 -2
  665. package/dist/components/tree/styles.js.map +0 -1
  666. package/dist/index.css +0 -196
  667. package/dist/styles.css +0 -9484
  668. package/dist/tokens/themes.css +0 -882
  669. package/dist/tokens/themes.d.ts +0 -1
  670. package/dist/tokens/tokens.css +0 -202
  671. package/dist/tokens/tokens.d.ts +0 -468
  672. package/dist/tokens/tokens.js +0 -2
  673. package/dist/tokens/tokens.js.map +0 -1
  674. package/dist/tokens/types.d.ts +0 -308
  675. package/dist/variants/variants.css +0 -86
  676. package/dist/variants/variants.d.ts +0 -2
  677. /package/dist/{tokens → components/kanban}/types.js +0 -0
  678. /package/dist/{tokens → components/kanban}/types.js.map +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/dialog/content.tsx"],"names":["DialogStyles","n","i"],"mappings":"+FAiBA,aAAoBA,CAAAA,CAAa,CAAA,CAE1BC,wBAAyB,CAAA,CAAA,CAAA,oBAA8C,CAC5E,CAAA,CAAA,CAAA,CAAA,OAAQC,GAAA,CAAA,KAAI,CAAA,CAAA,SAAqB,aAAW,CAAI,CAAA,CAAA,CAAA,CAAA,QAClD,CAAA,CAAA,CAAA,CAAA","file":"content.js","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 { DialogStyles } from './styles';\nimport type { ComponentProps } from 'react';\n\nconst { content } = DialogStyles();\n\nexport function DialogContent({ children, className }: ComponentProps<'div'>) {\n return <div className={content({ className })}>{children}</div>;\n}\n"]}
1
+ {"version":3,"sources":["../../../src/components/dialog/content.tsx"],"names":["children","className","clsx","styles"],"mappings":"oJAkBO,UAAuB,CAAE,CAAA,QAAAA,CAAAA,CAAU,CAAA,SAAAC,CAAU,CAAA,CAA0B,CAC5E,CAAA,UAAQ,CAAA,KAAA,CAAI,CAAA,SAAWC,CAAAA,IAAKC,CAAAA,CAAO,CAAA,OAASF,CAAS,CAAA,CAAI,CAAA,QAAAD,EAAS,CACpE,CAAA","file":"content.js","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"]}
@@ -1,4 +1,4 @@
1
1
  'use client';
2
2
 
3
- import {jsx}from'react/jsx-runtime';import'client-only';import {useContext}from'react';import {OverlayTriggerStateContext}from'react-aria-components';import {isSlottedContextValue}from'../../lib/utils.js';import {ButtonContext}from'../button/context.js';import {DialogContext}from'./context.js';import {DialogStyles}from'./styles.js';const{footer:u}=DialogStyles();function y({children:r,className:n}){const o=useContext(DialogContext),i=(isSlottedContextValue(o)?null:o?.size)??"small",s=useContext(OverlayTriggerStateContext);return jsx("footer",{className:u({className:n}),children:jsx(ButtonContext.Provider,{value:{size:i,onPress:s?.close??(()=>{})},children:r})})}export{y as DialogFooter};//# sourceMappingURL=footer.js.map
3
+ import {jsx}from'react/jsx-runtime';import'client-only';import {clsx}from'@accelint/design-foundation/lib/utils';import {useContext}from'react';import {OverlayTriggerStateContext}from'react-aria-components';import {isSlottedContextValue}from'../../lib/utils.js';import {ButtonContext}from'../button/context.js';import {DialogContext}from'./context.js';import u from'./styles.module.css';function z({children:r,className:n}){const o=useContext(DialogContext),s=(isSlottedContextValue(o)?null:o?.size)??"small",i=useContext(OverlayTriggerStateContext);return jsx("footer",{className:clsx(u.footer,n),children:jsx(ButtonContext.Provider,{value:{size:s,onPress:i?.close??void 0},children:r})})}export{z as DialogFooter};//# sourceMappingURL=footer.js.map
4
4
  //# sourceMappingURL=footer.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/dialog/footer.tsx"],"names":["DialogStyles","DialogFooter","a","size","isSlottedContextValue","t","context","state","jsx","m","ButtonContext"],"mappings":"8UAqBmBA,aAEHC,CAAAA,CAAa,CAC3BC,wBACA,CAAA,CAAA,CAAA,QAC2B,CAC3B,CAAA,CAAA,SAAwC,CAAA,CAClCC,GACHC,MAAiC,CAAA,CAAAC,UAAA,CAAOC,aAAAA,CAAAA,CAAS,2BAAS,CAAA,IAAA,CAAA,CAAA,EACvDC,IAA6C,UAGjDC,CAAC,CAAA,CAAAH,UAAA,CAAAI,0BAAA,CAAA,CAAA,8BAAsC,EACrC,CAAA,CAAA,SAACC,EAAc,CAAA,CAAA,CAAA,2BACN,QAEL,CAAA,CAAA,KAAA,CAASH,CAAAA,cAAoB,CAAA,CAAA,OAG9B,GAAA,IACH,EACF,CAEJ,CAAA,CAAA,QAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA","file":"footer.js","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 { 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 { DialogStyles } from './styles';\n\nconst { footer } = DialogStyles();\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={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"]}
1
+ {"version":3,"sources":["../../../src/components/dialog/footer.tsx"],"names":["className","useContext","DialogContext","size","t","context","p","jsx","l","clsx","styles","ButtonContext","e"],"mappings":"mYAuBE,UACA,CAAA,CAAA,QAAAA,CACF,EAA6B,SACXC,CAAAA,CAAWC,CAAa,CAAA,CAClCC,MAC0B,CAAA,CAAIC,0BAAOC,CAAAA,CAAAA,CAASC,qBAAA,CAAA,CAAA,CAAA,CAAA,IAAS,CAAA,CAAA,EAAA,IAC/CL,GAAqC,SAGjDM,CAAAA,UAAC,CAAAC,0BAAA,CAAA,CAAA,mBAAkBC,CAAKC,CAAAA,SAAwB,KAC9C,CAAA,CAAA,CAAA,MAAAH,CAAAA,CAACI,EAAc,QAAA,CAAdC,GACC,uBACE,CAAAT,CAAAA,KACA,CAAA,CAAA,KAAgB,CAAA,CAAA,OAAS,CAAA,CAAA,EAC3B,KAEC,EAAA,MACH,EACF,QAEJ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA","file":"footer.js","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"]}
@@ -1,4 +1,4 @@
1
1
  'use client';
2
2
 
3
- import {jsx}from'react/jsx-runtime';import {PortalProvider}from'./../../providers/portal.js';import'client-only';import {useContextProps,ModalOverlay,composeRenderProps,Modal,Dialog}from'react-aria-components';import {DialogContext}from'./context.js';import {DialogStyles}from'./styles.js';const{overlay:f,modal:y,dialog:u}=DialogStyles();function z({ref:l,...a}){[a,l]=useContextProps(a,l??null,DialogContext);const{children:s,classNames:e,parentRef:m,size:d="small",...n}=a;return jsx(DialogContext.Provider,{value:a,children:jsx(PortalProvider,{parentRef:m,children:jsx(ModalOverlay,{...n,ref:l,className:composeRenderProps(e?.overlay,r=>f({className:r})),"data-size":d,children:jsx(Modal,{className:composeRenderProps(e?.modal,r=>y({className:r})),children:jsx(Dialog,{className:u({className:e?.dialog}),children:s})})})})})}export{z as Dialog};//# sourceMappingURL=index.js.map
3
+ import {jsx}from'react/jsx-runtime';import'client-only';import {clsx}from'@accelint/design-foundation/lib/utils';import {useContextProps,ModalOverlay,composeRenderProps,Modal,Dialog}from'react-aria-components';import {PortalProvider}from'./../../providers/portal.js';import {DialogContext}from'./context.js';import t from'./styles.module.css';function R({ref:l,...a}){[a,l]=useContextProps(a,l??null,DialogContext);const{children:d,classNames:r,parentRef:g,size:n="small",...p}=a;return jsx(DialogContext.Provider,{value:a,children:jsx(PortalProvider,{parentRef:g,children:jsx(ModalOverlay,{...p,ref:l,className:composeRenderProps(r?.overlay,e=>clsx("group/dialog",t.overlay,e)),"data-size":n,children:jsx(Modal,{className:composeRenderProps(r?.modal,e=>clsx(t.modal,e)),children:jsx(Dialog,{className:clsx(t.dialog,r?.dialog),children:d})})})})})}export{R as Dialog};//# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/dialog/index.tsx"],"names":["modal","dialog","DialogStyles","D","ref","props","DialogContext","children","size","rest","o","jsx","P","composeRenderProps","classNames","overlay","i","p","AriaDialog"],"mappings":"kSA0BiB,KAAAA,CAAO,OAAAC,CAAO,CAAA,CAAIC,KA0B5B,CAAA,CAAA,CAAA,OAAgB,CAAE,CAAA,CAAAC,YAAA,EAAAC,CAAK,UACpBA,CAAG,CAAA,GAAoBC,CAAAA,CAAOD,CAAAA,GAAO,CAAA,CAAA,CAAA,CAAME,CAAa,CAAA,CAEhE,mBAAM,CAAE,CAAA,CAAA,EAAA,IAAA,CAAAC,aAAAA,CAAU,CAAA,KAAA,CAAA,QAAY,CAAA,CAAA,CAAA,UAAW,CAAA,CAAAC,CAAAA,SAAgB,CAAA,CAAA,CAAGC,IAASJ,CAErE,CAAA,CAAA,OACGC,CAAAA,GAAc,CAAA,CAAA,CAAA,CAAA,CAAA,OAASI,GAAA,CAAOL,aAAAA,CAC7B,QAAA,CAAAM,CAAAA,KAAgB,CAAA,CAAA,CAAA,QACd,8BACG,CAAA,CAAGF,CAAAA,QAEJ,CAAAC,GAAA,CAAAE,YAAA,CAAA,CAAA,GAAWC,EAAmBC,GAAY,CAAA,CAAA,CAAA,SACxCC,CAAQC,kBAAE,CAAA,CAAA,EAAA,OAAU,CAAC,CACvB,EACA,CAAA,CAAA,CAAA,SAAWR,CAAAA,CAEX,CAAA,CAAA,CAAA,CAAA,WACE,CAAA,CAAA,CAAA,QAA8BM,CAAAA,GAAAA,CAAYG,KAAA,CAAA,CAAA,SAChC,CAAAD,kBAAA,CAAA,CAAA,EAAA,KAAU,CAAC,CACrB,EAEA,CAAA,CAAA,CAAA,SAACE,CAAA,CAAW,CAAA,CAAA,CAAA,CAAA,QAAkB,CAAER,qBAAuB,CAAA,CAAA,CAAA,CAAA,aACpDH,MAGP,CAAA,CACF,SAGN,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA","file":"index.js","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 { PortalProvider } from '@/providers/portal';\nimport 'client-only';\nimport {\n Dialog as AriaDialog,\n composeRenderProps,\n Modal,\n ModalOverlay,\n useContextProps,\n} from 'react-aria-components';\nimport { DialogContext } from './context';\nimport { DialogStyles } from './styles';\nimport type { DialogProps } from './types';\n\nconst { overlay, modal, dialog } = DialogStyles();\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 overlay({ className }),\n )}\n data-size={size}\n >\n <Modal\n className={composeRenderProps(classNames?.modal, (className) =>\n modal({ className }),\n )}\n >\n <AriaDialog className={dialog({ className: classNames?.dialog })}>\n {children}\n </AriaDialog>\n </Modal>\n </ModalOverlay>\n </PortalProvider>\n </DialogContext.Provider>\n );\n}\n"]}
1
+ {"version":3,"sources":["../../../src/components/dialog/index.tsx"],"names":["props","useContextProps","DialogContext","f","m","children","classNames","jsx","o","PortalProvider","parentRef","D","ref","v","className","clsx","i","styles","size","Modal","composeRenderProps","AriaDialog"],"mappings":"uVAmDyB,SAA8B,CACrD,CAACA,CAAAA,GAAU,CAAIC,CAAAA,CAAgBD,KAAc,CAAA,CAAA,CAAA,CAAA,CAAME,CAAa,CAAA,CAEhEC,eAAA,CAAA,CAAA,CAAA,CAAM,EAAE,IAAA,CAAAC,aAAA,CAAA,CAAAC,KAAU,CAAA,QAAAC,CAAY,CAAA,CAAA,UAAW,CAAA,CAAA,CAAA,SAAO,CAAA,CAAA,CAAS,IAAQ,EAAIN,CAAAA,OAErE,CACEO,GAACL,CAAc,CAAA,CAAA,CAAA,CAAA,OAASM,GAAA,CAAAJ,aAAA,CAAA,QACtB,CAAA,CAAA,KAACK,CAAA,CAAe,CAAA,QAAA,CAAWC,GAAAA,CACzBC,cAAA,CAAA,CAAA,UAAC,CACE,CAAA,QACIC,CAAAA,GACL,CAAAC,YAAA,CAAA,CAAA,GAAA,CAAA,CAAA,GAA8BP,CAAAA,CAAAA,CAAY,SAAUQ,CAAAA,kBAClDC,CAAAA,CAAK,EAAA,OAAA,CAAA,CAAA,EAAAC,IAAA,CAAgBC,cAEvB,CAAA,CAAA,CAAA,OAAA,CAAA,CAAWC,CAAAA,CAEX,CAAA,WAACC,CAAA,CACC,CAAA,QAAA,CAAWC,GAAAA,CAAmBd,KAAAA,CAAAA,CAAY,SACxCS,CAAAA,kBAAKE,CAAAA,CAAO,EAAA,KAAgB,CAC9B,GAEAD,IAAA,CAAA,CAAA,CAAA,KAAAT,CAACc,CAAAA,CAAA,CAAW,CAAA,QAAA,CAAWN,GAAAA,CAAKE,MAAAA,CAAO,CAAA,SAAoB,CAAAD,IAAA,CAAA,CAAA,CAAA,MACpD,CAAA,CAAA,EAAA,MAEL,CAAA,CACF,QAIR,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA","file":"index.js","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"]}
@@ -0,0 +1,86 @@
1
+ /*
2
+ * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at https://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+
13
+ @reference '../../index.module.css';
14
+
15
+ @layer components.l1 {
16
+ .overlay {
17
+ @apply absolute inset-0 flex items-center justify-center;
18
+ }
19
+
20
+ .modal {
21
+ @apply bg-surface-overlay shadow-elevation-overlay flex flex-col justify-center;
22
+
23
+ @variant group-size-small/dialog {
24
+ @apply rounded-medium;
25
+ }
26
+
27
+ @variant group-size-large/dialog {
28
+ @apply rounded-large;
29
+ }
30
+ }
31
+
32
+ .dialog {
33
+ @apply fg-primary-muted text-body-m flex flex-col font-light;
34
+
35
+ @variant focus-visible {
36
+ @apply outline-none;
37
+ }
38
+
39
+ @variant group-size-small/dialog {
40
+ @apply rounded-medium p-l;
41
+ width: 280px;
42
+ }
43
+
44
+ @variant group-size-large/dialog {
45
+ @apply rounded-medium p-xl;
46
+ min-width: 320px;
47
+ max-width: 720px;
48
+ }
49
+ }
50
+
51
+ .title {
52
+ @apply fg-primary-bold;
53
+
54
+ @variant group-size-small/dialog {
55
+ @apply mb-s text-header-m;
56
+ }
57
+
58
+ @variant group-size-large/dialog {
59
+ @apply mb-m text-header-l;
60
+ }
61
+ }
62
+
63
+ .content {
64
+ @apply fg-primary-muted flex flex-col;
65
+
66
+ @variant group-size-small/dialog {
67
+ @apply gap-xs;
68
+ }
69
+
70
+ @variant group-size-large/dialog {
71
+ @apply gap-l;
72
+ }
73
+ }
74
+
75
+ .footer {
76
+ @apply gap-xs flex justify-end;
77
+
78
+ @variant group-size-small/dialog {
79
+ @apply mt-l;
80
+ }
81
+
82
+ @variant group-size-large/dialog {
83
+ @apply mt-xl;
84
+ }
85
+ }
86
+ }
@@ -1,4 +1,4 @@
1
1
  'use client';
2
2
 
3
- import {jsx}from'react/jsx-runtime';import'client-only';import {Heading}from'react-aria-components';import {DialogStyles}from'./styles.js';const{title:l}=DialogStyles();function s({children:t,className:i}){return jsx(Heading,{slot:"title",className:l({className:i}),children:t})}export{s as DialogTitle};//# sourceMappingURL=title.js.map
3
+ import {jsx}from'react/jsx-runtime';import'client-only';import {clsx}from'@accelint/design-foundation/lib/utils';import {Heading}from'react-aria-components';import r from'./styles.module.css';function a({children:t,className:i}){return jsx(Heading,{slot:"title",className:clsx(r.title,i),children:t})}export{a as DialogTitle};//# sourceMappingURL=title.js.map
4
4
  //# sourceMappingURL=title.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/dialog/title.tsx"],"names":["DialogStyles","e","n","o"],"mappings":"gJAiBQ,CAAA,KAAUA,CAAAA,CAAa,EAExBC,YAAA,EAAA,CAAA,SAAuB,CAAA,CAAA,CAAA,oBAAqC,CACjE,CAAA,CAAA,CAAA,CAAA,OACGC,GAAQ,CAAAC,OAAA,CAAA,CAAA,YAAa,CAAA,SAAmB,CAAA,CAAA,CAAA,CAAA,SAAW,CACjD,CAAA,CAAA,CAAA,CAAA,QAGP,CAAA,CAAA,CAAA,CAAA","file":"title.js","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 { Heading, type HeadingProps } from 'react-aria-components';\nimport { DialogStyles } from './styles';\n\nconst { title } = DialogStyles();\n\nexport function DialogTitle({ children, className }: HeadingProps) {\n return (\n <Heading slot='title' className={title({ className })}>\n {children}\n </Heading>\n );\n}\n"]}
1
+ {"version":3,"sources":["../../../src/components/dialog/title.tsx"],"names":["children","className","jsx","Heading","clsx","styles"],"mappings":"gMAkBO,UAAqB,CAAE,CAAA,QAAAA,CAAAA,CAAU,CAAA,SAAAC,CAAU,CAAA,CAAiB,CACjE,CAAA,OACEC,GAACC,QAAA,CAAQ,CAAA,IAAK,CAAA,OAAQ,CAAA,SAAWC,KAAKC,CAAAA,CAAO,CAAA,KAAOJ,CAAS,CAAA,CAC1D,CAAA,QAAAD,EACH,CAEJ,CAAA","file":"title.js","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 { Heading, type HeadingProps } from 'react-aria-components';\nimport styles from './styles.module.css';\n\nexport function DialogTitle({ children, className }: HeadingProps) {\n return (\n <Heading slot='title' className={clsx(styles.title, className)}>\n {children}\n </Heading>\n );\n}\n"]}
@@ -1 +1,5 @@
1
- export { DialogTrigger } from 'react-aria-components';
1
+ import { DialogTrigger as DialogTrigger$1 } from 'react-aria-components';
2
+
3
+ declare const DialogTrigger: typeof DialogTrigger$1;
4
+
5
+ export { DialogTrigger };
@@ -1,2 +1,2 @@
1
- export{DialogTrigger}from'react-aria-components';//# sourceMappingURL=trigger.js.map
1
+ import {DialogTrigger}from'react-aria-components';const i=DialogTrigger;export{i as DialogTrigger};//# sourceMappingURL=trigger.js.map
2
2
  //# sourceMappingURL=trigger.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"trigger.js","sourcesContent":[]}
1
+ {"version":3,"sources":["../../../src/components/dialog/trigger.tsx"],"names":["DialogTrigger","AriaDialogTrigger"],"mappings":"kDAcO,MAAMA,CAAAA,CAAgBC","file":"trigger.js","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\nimport { DialogTrigger as AriaDialogTrigger } from 'react-aria-components';\n\nexport const DialogTrigger = AriaDialogTrigger;\n"]}
@@ -1,4 +1,4 @@
1
1
  'use client';
2
2
 
3
- import {jsx}from'react/jsx-runtime';import'client-only';import {useContextProps}from'react-aria-components';import {DividerContext}from'./context.js';import {DividerStyles}from'./styles.js';function D({ref:t,...i}){[i,t]=useContextProps(i,t??null,DividerContext);const{className:o,orientation:r="horizontal",...e}=i;return jsx("hr",{...e,ref:t,className:DividerStyles({className:o}),"data-orientation":r})}export{D as Divider};//# sourceMappingURL=index.js.map
3
+ import {jsx}from'react/jsx-runtime';import'client-only';import {clsx}from'@accelint/design-foundation/lib/utils';import {useState,useLayoutEffect}from'react';import {useContextProps}from'react-aria-components';import {DividerContext}from'./context.js';import o from'./styles.module.css';function C({ref:t,...e}){[e,t]=useContextProps(e,t??null,DividerContext);const{className:i,orientation:s="horizontal",...n}=e,[m,a]=useState(false);return useLayoutEffect(()=>{const r=t.current?.parentElement;r&&window.getComputedStyle(r).getPropertyValue("display").includes("flex")&&a(true);},[t.current]),jsx("hr",{...n,ref:t,className:clsx(o.divider,m&&o.stretch,i),"data-orientation":s})}export{C as Divider};//# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/divider/index.tsx"],"names":["ref","props","useContextProps","n","DividerContext","m","jsx","a","s"],"mappings":"8LAkCO,SAAmBA,CAAK,CAAA,CAAA,GAAS,CAAiB,CACvD,CAACC,GAAU,EAAIC,CAAAA,CAAgBD,CAAAA,CAAOD,CAAAA,CAAAA,CAAO,CAAAG,eAAA,CAAA,CAAA,CAAMC,CAAc,EAEjE,IAAA,CAAMC,cAAE,CAAA,CAAA,KAAA,CAAA,SAAW,CAAA,CAAA,CAAA,WAAc,CAAA,CAAA,CAAA,YAA0BJ,CAE3D,GAAA,CAAA,CAAA,CAAA,CACEK,CAAAA,OACGC,GAAA,CAAA,IACD,CAAA,CAAA,GACA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,SAA2B,CAAAC,aAAA,CAAA,CAAA,SAC3B,CAAA,CAAA,CAAA,CAAA,CAAA,kBAGN,CAAA,CAAA,CAAA,CAAA","file":"index.js","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\n'use client';\n\nimport 'client-only';\nimport { useContextProps } from 'react-aria-components';\nimport { DividerContext } from './context';\nimport { DividerStyles } from './styles';\nimport type { DividerProps } from './types';\n\n/**\n * Divider - A simple horizontal or vertical rule component\n *\n * Provides a visual separator between content sections with support for both\n * horizontal and vertical orientations.\n *\n * @example\n * // Basic horizontal divider\n * <Divider />\n *\n * @example\n * // Vertical divider\n * <Divider orientation=\"vertical\" />\n */\nexport function Divider({ ref, ...props }: DividerProps) {\n [props, ref] = useContextProps(props, ref ?? null, DividerContext);\n\n const { className, orientation = 'horizontal', ...rest } = props;\n\n return (\n <hr\n {...rest}\n ref={ref}\n className={DividerStyles({ className })}\n data-orientation={orientation}\n />\n );\n}\n"]}
1
+ {"version":3,"sources":["../../../src/components/divider/index.tsx"],"names":["ref","props","useContextProps","DividerContext","d","stretch","setStretch","useState","c","f","rest","l","styles"],"mappings":"+RAoCO,SAAmB,CAAA,CAAAA,CAAAA,GAAK,CAAGC,CAAM,CAAA,GACrCA,CAAAA,CAAOD,CAAG,CAAA,CAAIE,CAAAA,CAAgBD,CAAAA,CAAOD,iBAAO,CAAA,CAAA,CAAA,EAAMG,IAEnD,CAAAC,cAAA,CAAA,CAAM,KAAE,CAAA,SAAW,CAAA,CAAA,CAAA,WAAc,CAAA,CAAA,CAAA,YAAsB,CAAA,GAEjD,CAACC,CAAAA,CAASC,CAAU,CAAA,CAAIC,CAAAA,CAAS,CAAA,CAAK,SAO5C,CAAA,KAAA,CAAA,CAAA,OAAgBC,eAAM,CACpB,IAAA,CAAA,MAAmB,CAAA,CAAA,CAAA,CAAA,OAAS,EAAA,aAI1B,CAAA,CAAA,EAAA,MACG,CAAA,gBACA,CAAA,CAAA,CAAA,CAAA,gBAAiB,CAAA,SACjB,CAAA,CAAA,QAAS,CAAA,MAED,CAAA,EAEf,CAAA,CAAG,IAACR,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA,OAGL,CAAA,CAAA,CAAAS,GAAA,CAAA,IACKC,CAAAA,CACJ,GAAA,CAAKV,IACL,CAAA,CAAA,CAAA,SAAuB,CAAAW,IAAA,CAAA,CAAA,CAAA,OAAoBC,CAAO,YAClD,CAAA,CAAA,CAAA,CAAA,kBAGN,CAAA,CAAA,CAAA,CAAA","file":"index.js","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\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { useLayoutEffect, useState } from 'react';\nimport { useContextProps } from 'react-aria-components';\nimport { DividerContext } from './context';\nimport styles from './styles.module.css';\nimport type { DividerProps } from './types';\n\n/**\n * Divider - A simple horizontal or vertical rule component\n *\n * Provides a visual separator between content sections with support for both\n * horizontal and vertical orientations.\n *\n * @example\n * // Basic horizontal divider\n * <Divider />\n *\n * @example\n * // Vertical divider\n * <Divider orientation=\"vertical\" />\n */\nexport function Divider({ ref, ...props }: DividerProps) {\n [props, ref] = useContextProps(props, ref ?? null, DividerContext);\n\n const { className, orientation = 'horizontal', ...rest } = props;\n\n const [stretch, setStretch] = useState(false);\n\n /**\n * CSS flexbox doesn't play nice with height. Unfortunately, there's no\n * way to detect if a parent element is using CSS flexbox, so we have\n * to detect it using JS\n */\n useLayoutEffect(() => {\n const parent = ref.current?.parentElement;\n\n if (\n parent &&\n window\n .getComputedStyle(parent)\n .getPropertyValue('display')\n .includes('flex')\n ) {\n setStretch(true);\n }\n }, [ref.current]);\n\n return (\n <hr\n {...rest}\n ref={ref}\n className={clsx(styles.divider, stretch && styles.stretch, className)}\n data-orientation={orientation}\n />\n );\n}\n"]}
@@ -0,0 +1,44 @@
1
+ /*
2
+ * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at https://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+
13
+ @reference '../../index.module.css';
14
+
15
+ @layer components.l1 {
16
+ .divider {
17
+ @apply shrink-0 grow-0 border-0;
18
+ background-color: var(--outline-static);
19
+
20
+ @variant orientation-horizontal {
21
+ @apply h-px w-full;
22
+ }
23
+
24
+ @variant orientation-vertical {
25
+ @apply h-full w-px;
26
+ }
27
+
28
+ /*
29
+ CSS flexbox breaks height: 100%, so we utilize align-self: stretch & height: auto instead.
30
+ While width isn't broken, for consistency it's implemented the same way
31
+ */
32
+ &.stretch {
33
+ @apply self-stretch;
34
+
35
+ @variant orientation-horizontal {
36
+ @apply w-auto;
37
+ }
38
+
39
+ @variant orientation-vertical {
40
+ @apply h-auto;
41
+ }
42
+ }
43
+ }
44
+ }
@@ -1,4 +1,4 @@
1
1
  'use client';
2
2
 
3
- import {jsx}from'react/jsx-runtime';import {ChevronLeft}from'@accelint/icons';import'client-only';import {useContext}from'react';import {Button}from'../button/index.js';import {Icon}from'../icon/index.js';import {ViewStackContext}from'../view-stack/context.js';import {DrawerTrigger}from'./trigger.js';function w(){const{stack:o}=useContext(ViewStackContext);return o.length>1?jsx(DrawerTrigger,{for:"back",children:jsx(Button,{variant:"icon",children:jsx(Icon,{children:jsx(ChevronLeft,{})})})}):null}export{w as DrawerBack};//# sourceMappingURL=back.js.map
3
+ import {jsx}from'react/jsx-runtime';import'client-only';import {ChevronLeft}from'@accelint/icons';import {useContext}from'react';import {Button}from'../button/index.js';import {Icon}from'../icon/index.js';import {ViewStackContext}from'../view-stack/context.js';import {DrawerTrigger}from'./trigger.js';function w(){const{stack:o}=useContext(ViewStackContext);return o.length>1?jsx(DrawerTrigger,{for:"back",children:jsx(Button,{variant:"icon",children:jsx(Icon,{children:jsx(ChevronLeft,{})})})}):null}export{w as DrawerBack};//# sourceMappingURL=back.js.map
4
4
  //# sourceMappingURL=back.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/drawer/back.tsx"],"names":["useContext","stack","jsx","DrawerTrigger","n","m","Button","c","r","Icon","i","t"],"mappings":"8SAuBoBA,SAClB,CAAA,EAAOC,CAAAA,KAAM,CAAA,KACXC,CAACC,CAAAA,CAAA,CAAcC,UAAA,CAAAC,gBAAA,CAAI,QACjB,CAAA,CAAA,MAAAH,CAAAA,CAACI,CAAAA,GAAA,CAAOC,aAAA,CAAA,CAAA,GAAA,CAAA,MAAQ,CAAA,QACd,CAAAC,GAAAN,CAAAA,MAACO,EAAA,OACC,CAAA,MAAC,CAAA,SAILD,GAAA,CAAAE,IAAA,CACN,CAAA,QAAA,CAAAF,GAAA,CAAAG,WAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,IAAA","file":"back.js","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\n'use client';\n\nimport { ChevronLeft } from '@accelint/icons';\nimport 'client-only';\nimport { useContext } from 'react';\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport { ViewStackContext } from '../view-stack/context';\nimport { DrawerTrigger } from './trigger';\n\nexport function DrawerBack() {\n const { stack } = useContext(ViewStackContext);\n return stack.length > 1 ? (\n <DrawerTrigger for='back'>\n <Button variant='icon'>\n <Icon>\n <ChevronLeft />\n </Icon>\n </Button>\n </DrawerTrigger>\n ) : null;\n}\n"]}
1
+ {"version":3,"sources":["../../../src/components/drawer/back.tsx"],"names":["useContext","stack","jsx","DrawerTrigger","n","m","Button","c","r","Icon","i","t"],"mappings":"8SAuBoBA,SAElB,CAAA,EAAOC,CAAAA,KAAM,CAAA,KACXC,CAACC,CAAAA,CAAA,CAAcC,UAAA,CAAAC,gBAAA,CAAI,QACjB,CAAA,CAAA,MAAAH,CAAAA,CAACI,CAAAA,GAAA,CAAOC,aAAA,CAAA,CAAA,GAAA,CAAA,MAAQ,CAAA,QACd,CAAAC,GAAAN,CAAAA,MAACO,EAAA,OACC,CAAA,MAAC,CAAA,SAILD,GAAA,CAAAE,IAAA,CACN,CAAA,QAAA,CAAAF,GAAA,CAAAG,WAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,IAAA","file":"back.js","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\n'use client';\n\nimport 'client-only';\nimport { ChevronLeft } from '@accelint/icons';\nimport { useContext } from 'react';\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport { ViewStackContext } from '../view-stack/context';\nimport { DrawerTrigger } from './trigger';\n\nexport function DrawerBack() {\n const { stack } = useContext(ViewStackContext);\n\n return stack.length > 1 ? (\n <DrawerTrigger for='back'>\n <Button variant='icon'>\n <Icon>\n <ChevronLeft />\n </Icon>\n </Button>\n </DrawerTrigger>\n ) : null;\n}\n"]}
@@ -1,4 +1,4 @@
1
1
  'use client';
2
2
 
3
- import {jsx}from'react/jsx-runtime';import {Cancel}from'@accelint/icons';import'client-only';import {Button}from'../button/index.js';import {Icon}from'../icon/index.js';import {DrawerTrigger}from'./trigger.js';function a(){return jsx(DrawerTrigger,{for:"close",children:jsx(Button,{variant:"icon",children:jsx(Icon,{children:jsx(Cancel,{})})})})}export{a as DrawerClose};//# sourceMappingURL=close.js.map
3
+ import {jsx}from'react/jsx-runtime';import'client-only';import {Cancel}from'@accelint/icons';import {Button}from'../button/index.js';import {Icon}from'../icon/index.js';import {DrawerTrigger}from'./trigger.js';function a(){return jsx(DrawerTrigger,{for:"close",children:jsx(Button,{variant:"icon",children:jsx(Icon,{children:jsx(Cancel,{})})})})}export{a as DrawerClose};//# sourceMappingURL=close.js.map
4
4
  //# sourceMappingURL=close.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/drawer/close.tsx"],"names":["jsx","Button","r","e","o"],"mappings":"kNAsBK,SAAkB,CAAA,EAAA,CACjB,WAAAA,aAAAA,CAACC,CAAAA,GAAO,CAAA,OAAQ,CAAA,qBACdD,OACE,CAAA,MAAAA,CAAAA,QACF,CACFE,GAAA,CACFC,IAEJ,CAAA,CAAA,QAAA,CAAAD,GAAA,CAAAE,MAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA","file":"close.js","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\n'use client';\n\nimport { Cancel } from '@accelint/icons';\nimport 'client-only';\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport { DrawerTrigger } from './trigger';\n\nexport function DrawerClose() {\n return (\n <DrawerTrigger for='close'>\n <Button variant='icon'>\n <Icon>\n <Cancel />\n </Icon>\n </Button>\n </DrawerTrigger>\n );\n}\n"]}
1
+ {"version":3,"sources":["../../../src/components/drawer/close.tsx"],"names":["jsx","Button","r","e","o"],"mappings":"kNAsBK,SAAkB,CAAA,EAAA,CACjB,WAAAA,aAAAA,CAACC,CAAAA,GAAO,CAAA,OAAQ,CAAA,qBACdD,OACE,CAAA,MAAAA,CAAAA,QACF,CACFE,GAAA,CACFC,IAEJ,CAAA,CAAA,QAAA,CAAAD,GAAA,CAAAE,MAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA","file":"close.js","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\n'use client';\n\nimport 'client-only';\nimport { Cancel } from '@accelint/icons';\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport { DrawerTrigger } from './trigger';\n\nexport function DrawerClose() {\n return (\n <DrawerTrigger for='close'>\n <Button variant='icon'>\n <Icon>\n <Cancel />\n </Icon>\n </Button>\n </DrawerTrigger>\n );\n}\n"]}
@@ -1,4 +1,2 @@
1
- 'use client';
2
-
3
- import {jsx}from'react/jsx-runtime';import'client-only';import {DrawerStyles}from'./styles.js';const{content:r}=DrawerStyles();function m({className:t,...o}){return jsx("div",{...o,className:r({className:t})})}export{m as DrawerContent};//# sourceMappingURL=content.js.map
1
+ import {jsx}from'react/jsx-runtime';import {clsx}from'@accelint/design-foundation/lib/utils';import e from'./styles.module.css';function i({className:o,...t}){return jsx("div",{...t,className:clsx(e.content,o)})}export{i as DrawerContent};//# sourceMappingURL=content.js.map
4
2
  //# sourceMappingURL=content.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/drawer/content.tsx"],"names":["DrawerStyles","e","rest","n"],"mappings":"+FAiBA,aAAoBA,CAAAA,CAAa,CAAA,CAE1BC,wBACL,CAAA,CAAA,CAAA,WACGC,CACL,GACE,CAAA,CAAA,CAAA,CAAA,OAAQC,GAAA,CAAA,KAAK,CAAGD,CAAAA,GAAM,CAAA,CAAA,SAAqB,CAAA,CAAA,CAAA,CAAA,UAAc,CAC3D,CAAA,CAAA,CAAA,CAAA","file":"content.js","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 { DrawerStyles } from './styles';\nimport type { ComponentPropsWithRef } from 'react';\n\nconst { content } = DrawerStyles();\n\nexport function DrawerContent({\n className,\n ...rest\n}: ComponentPropsWithRef<'div'>) {\n return <div {...rest} className={content({ className })} />;\n}\n"]}
1
+ {"version":3,"sources":["../../../src/components/drawer/content.tsx"],"names":["DrawerContent","className","jsx","rest","clsx","styles"],"mappings":"gIAeO,SAASA,CAAc,CAC5B,CAAA,SAAAC,CAAAA,CACA,CAAA,GACF,CAAA,CAAiC,CAC/B,CAAA,OAAOC,GAAC,CAAA,KAAA,CAAK,CAAA,GAAGC,CAAM,CAAA,SAAWC,CAAAA,IAAKC,CAAAA,CAAO,CAAA,OAASJ,CAAS,EAAG,CACpE,CAAA","file":"content.js","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 */\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport styles from './styles.module.css';\nimport type { ComponentPropsWithRef } from 'react';\n\nexport function DrawerContent({\n className,\n ...rest\n}: ComponentPropsWithRef<'div'>) {\n return <div {...rest} className={clsx(styles.content, className)} />;\n}\n"]}
@@ -4,15 +4,11 @@ import { UniqueId } from '@accelint/core';
4
4
  import { DrawerContextValue, DrawerEvent } from './types.js';
5
5
  import '@react-types/shared';
6
6
  import 'react-aria-components';
7
- import 'tailwind-variants';
8
7
  import '../../lib/types.js';
9
8
  import '../button/types.js';
10
- import '../button/styles.js';
11
- import 'tailwind-merge';
12
9
  import '../view-stack/types.js';
13
10
  import '../view-stack/events.js';
14
11
  import './events.js';
15
- import './styles.js';
16
12
 
17
13
  declare const DrawerContext: react.Context<DrawerContextValue>;
18
14
  declare const bus: Broadcast<DrawerEvent>;
@@ -1,4 +1,2 @@
1
- 'use client';
2
-
3
- import {jsx}from'react/jsx-runtime';import'client-only';import {DrawerStyles}from'./styles.js';const{footer:e}=DrawerStyles();function m({className:o,...r}){return jsx("footer",{...r,className:e({className:o})})}export{m as DrawerFooter};//# sourceMappingURL=footer.js.map
1
+ import {jsx}from'react/jsx-runtime';import {clsx}from'@accelint/design-foundation/lib/utils';import e from'./styles.module.css';function n({className:o,...r}){return jsx("footer",{...r,className:clsx(e.footer,o)})}export{n as DrawerFooter};//# sourceMappingURL=footer.js.map
4
2
  //# sourceMappingURL=footer.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/drawer/footer.tsx"],"names":["DrawerStyles","t","rest","p"],"mappings":"+FAiBA,YAAmBA,CAAAA,CAAa,CAAA,CAEzBC,wBACL,CAAA,CAAA,CAAA,WACGC,CACL,GACE,CAAA,CAAA,CAAA,CAAA,OAAQC,GAAA,CAAA,QAAQ,CAAGD,CAAAA,GAAM,CAAA,CAAA,SAAoB,CAAA,CAAA,CAAA,CAAA,UAAc,CAC7D,CAAA,CAAA,CAAA,CAAA","file":"footer.js","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 { DrawerStyles } from './styles';\nimport type { ComponentPropsWithRef } from 'react';\n\nconst { footer } = DrawerStyles();\n\nexport function DrawerFooter({\n className,\n ...rest\n}: ComponentPropsWithRef<'footer'>) {\n return <footer {...rest} className={footer({ className })} />;\n}\n"]}
1
+ {"version":3,"sources":["../../../src/components/drawer/footer.tsx"],"names":["DrawerFooter","className","jsx","rest","clsx","styles"],"mappings":"gIAeO,SAASA,CAAa,CAC3B,CAAA,SAAAC,CAAAA,CACA,CAAA,GACF,CAAA,CAAoC,CAClC,CAAA,OAAOC,GAAC,CAAA,QAAA,CAAQ,CAAA,GAAGC,CAAM,CAAA,SAAWC,CAAAA,IAAKC,CAAAA,CAAO,CAAA,MAAQJ,CAAS,EAAG,CACtE,CAAA","file":"footer.js","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 */\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport styles from './styles.module.css';\nimport type { ComponentPropsWithRef } from 'react';\n\nexport function DrawerFooter({\n className,\n ...rest\n}: ComponentPropsWithRef<'footer'>) {\n return <footer {...rest} className={clsx(styles.footer, className)} />;\n}\n"]}
@@ -5,15 +5,11 @@ import '@accelint/core';
5
5
  import '@react-types/shared';
6
6
  import 'react';
7
7
  import 'react-aria-components';
8
- import 'tailwind-variants';
9
8
  import '../../lib/types.js';
10
9
  import '../button/types.js';
11
- import '../button/styles.js';
12
- import 'tailwind-merge';
13
10
  import '../view-stack/types.js';
14
11
  import '../view-stack/events.js';
15
12
  import './events.js';
16
- import './styles.js';
17
13
 
18
14
  /**
19
15
  * To change size of title, use the `level` prop: `1`-`3` (large), `4`-`6` (medium).
@@ -1,4 +1,2 @@
1
- 'use client';
2
-
3
- import {jsx}from'react/jsx-runtime';import'client-only';import {Heading}from'react-aria-components';import {DrawerTitleStyles}from'./styles.js';function s({className:e,level:r,...t}){return jsx(Heading,{...t,className:DrawerTitleStyles({className:e,level:r}),level:r})}export{s as DrawerHeaderTitle};//# sourceMappingURL=header-title.js.map
1
+ import {jsx}from'react/jsx-runtime';import {clsx}from'@accelint/design-foundation/lib/utils';import {Heading}from'react-aria-components';import r from'./styles.module.css';function f({className:t,level:e=2,...o}){return jsx(Heading,{...o,className:clsx(r.title,e<=3?r.large:r.medium,t),level:e})}export{f as DrawerHeaderTitle};//# sourceMappingURL=header-title.js.map
4
2
  //# sourceMappingURL=header-title.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/drawer/header-title.tsx"],"names":["rest","p","o","i"],"mappings":"gJAwBO,SACL,CAAA,CAAA,CAAA,iBAEA,CAAA,CAAGA,CACL,GACE,CAAA,CAAA,CAAA,CAAA,OACGC,GACE,CAAAC,OAAA,CAAGF,IACJ,CAAA,CAAA,SAA+B,CAAAG,iBAAA,CAAA,CAAA,SAAW,CAAA,CAAA,CAAA,KAAO,CACjD,CAAA,CAAA,CAAA,CAAA,KAGN,CAAA,CAAA,CAAA,CAAA","file":"header-title.js","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\n'use client';\n\nimport 'client-only';\nimport { Heading } from 'react-aria-components';\nimport { DrawerTitleStyles } from './styles';\nimport type { DrawerTitleProps } from './types';\n\n/**\n * To change size of title, use the `level` prop: `1`-`3` (large), `4`-`6` (medium).\n *\n * `level` also changes the semantic heading tag number `h1`-`h6`\n */\nexport function DrawerHeaderTitle({\n className,\n level,\n ...rest\n}: DrawerTitleProps) {\n return (\n <Heading\n {...rest}\n className={DrawerTitleStyles({ className, level })}\n level={level}\n />\n );\n}\n"]}
1
+ {"version":3,"sources":["../../../src/components/drawer/header-title.tsx"],"names":["DrawerHeaderTitle","className","level","jsx","Heading","rest","clsx","styles"],"mappings":"qLAsBgBA,CAAkB,CAChC,UAAAC,CAAAA,CACA,CAAA,KAAAC,EAAQ,CAAA,CACR,CAAA,GACF,CAAA,CAAqB,CACnB,QACEC,GAACC,CAAAA,OAAA,CACE,CAAA,GAAGC,CACJ,UAAWC,CAAAA,IACTC,CAAAA,CAAO,MACPL,CAAAA,CAAAA,EAAS,CAAIK,EAAO,CAAA,KAAQA,CAAAA,CAAO,OACnCN,CACF,CAAA,CACA,CAAA,KAAOC,CAAAA,CACT,CAEJ,CAAA","file":"header-title.js","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\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { Heading } from 'react-aria-components';\nimport styles from './styles.module.css';\nimport type { DrawerTitleProps } from './types';\n\n/**\n * To change size of title, use the `level` prop: `1`-`3` (large), `4`-`6` (medium).\n *\n * `level` also changes the semantic heading tag number `h1`-`h6`\n */\nexport function DrawerHeaderTitle({\n className,\n level = 2,\n ...rest\n}: DrawerTitleProps) {\n return (\n <Heading\n {...rest}\n className={clsx(\n styles.title,\n level <= 3 ? styles.large : styles.medium,\n className,\n )}\n level={level}\n />\n );\n}\n"]}
@@ -1,4 +1,4 @@
1
1
  'use client';
2
2
 
3
- import {jsx,jsxs,Fragment}from'react/jsx-runtime';import'client-only';import {useContext}from'react';import {Header}from'react-aria-components';import {ViewStackContext}from'../view-stack/context.js';import {DrawerBack}from'./back.js';import {DrawerClose}from'./close.js';import {DrawerHeaderTitle}from'./header-title.js';import {DrawerStyles}from'./styles.js';const{header:d}=DrawerStyles();function P({className:o,title:r,children:t,...a}){const{stack:m}=useContext(ViewStackContext),i=m.length>1?4:1;return jsx(Header,{...a,className:d({className:o}),children:r?jsxs(Fragment,{children:[jsx(DrawerBack,{}),jsx(DrawerHeaderTitle,{level:i,className:"w-fit",children:r}),jsx(DrawerClose,{})]}):t})}export{P as DrawerHeader};//# sourceMappingURL=header.js.map
3
+ import {jsx,jsxs,Fragment}from'react/jsx-runtime';import'client-only';import {clsx}from'@accelint/design-foundation/lib/utils';import {useContext}from'react';import {Header}from'react-aria-components';import {ViewStackContext}from'../view-stack/context.js';import {DrawerBack}from'./back.js';import {DrawerClose}from'./close.js';import {DrawerHeaderTitle}from'./header-title.js';import w from'./styles.module.css';function T({className:o,title:t,children:r,...m}){const{stack:a}=useContext(ViewStackContext),p=a.length>1?4:2;return jsx(Header,{...m,className:clsx(w.header,o),children:r??jsxs(Fragment,{children:[jsx(DrawerBack,{}),jsx(DrawerHeaderTitle,{level:p,children:t}),jsx(DrawerClose,{})]})})}export{T as DrawerHeader};//# sourceMappingURL=header.js.map
4
4
  //# sourceMappingURL=header.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/drawer/header.tsx"],"names":["w","title","children","stack","ViewStackContext","level","p","s","jsx","rest","header","n","DrawerBack","h","D","DrawerHeaderTitle","f","e","c","l"],"mappings":"yWAwBO,KAAA,CAAA,MACL,CAAA,CAAA,CAAA,CAAAA,YAAA,EAAA,CAAA,SACA,CAAAC,CAAAA,CACA,SAAAC,CAAAA,CACA,CAAA,KACkC,CAClC,CAAA,CAAA,QAAQ,CAAA,CAAAC,CAAM,IAAeC,CAAgB,CAAA,CACvCC,KAAc,CAAA,KAAS,CAAA,CAAI,EAAIC,UAAA,CAErCC,gBAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACEC,MAAS,CAAA,CAAGC,EAAM,CAAA,CAAA,CAAA,OAAWC,GAAAA,CAAOC,MAAE,CAAA,CAAA,GAAA,CAAA,CAAA,SACnC,CAAA,CAAA,CAAA,CAAA,SACC,CACE,CAAA,CAAA,CAAA,CAAA,QAACC,CAAAA,CAAA,CAAAC,IAAW,CAAAC,QACZN,CAAAA,CAACO,SAAyBV,CAAAA,GAAO,CAAAW,UAAA,CAAA,EAAA,CAAA,CAAAC,GAAA,CAAAC,iBAAU,CAAA,CAAA,KAAA,CACxC,CAAA,CAAA,SACH,CAAA,OACa,CAAA,QAOvB,CAAA,CAAA,CAAA,CAAA,CAAAD,GAAA,CAAAE,WAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA","file":"header.js","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 { type ComponentPropsWithRef, useContext } from 'react';\nimport { Header } from 'react-aria-components';\nimport { ViewStackContext } from '../view-stack/context';\nimport { DrawerBack } from './back';\nimport { DrawerClose } from './close';\nimport { DrawerHeaderTitle } from './header-title';\nimport { DrawerStyles } from './styles';\n\nconst { header } = DrawerStyles();\n\nexport function DrawerHeader({\n className,\n title,\n children,\n ...rest\n}: ComponentPropsWithRef<'header'>) {\n const { stack } = useContext(ViewStackContext);\n const level = stack.length > 1 ? 4 : 1;\n\n return (\n <Header {...rest} className={header({ className })}>\n {title ? (\n <>\n <DrawerBack />\n <DrawerHeaderTitle level={level} className='w-fit'>\n {title}\n </DrawerHeaderTitle>\n <DrawerClose />\n </>\n ) : (\n children\n )}\n </Header>\n );\n}\n"]}
1
+ {"version":3,"sources":["../../../src/components/drawer/header.tsx"],"names":["children","rest","useContext","ViewStackContext","stack","s","Header","e","n","clsx","styles","i","jsxs","Fragment","jsx","DrawerBack","C","level","d","title","DrawerClose","c"],"mappings":"8ZAwBE,SACA,CAAA,CAAA,CAAA,SACA,CAAA,CAAA,CAAAA,KACGC,CACL,EAAoC,QAC1B,CAAA,CAAA,CAAA,GAAM,EAAIC,CAAAA,CAAWC,KACfC,CAAAA,KAAM,CAAA,CAAA,CAAS,WAAI,CAAAC,gBAAI,CAAA,CAErC,UACGC,CAAA,CAAQ,CAAA,CAAA,CAAGL,CAAAA,CAAM,OAAAM,GAAA,CAAAC,MAAWC,CAAAA,CAAKC,GAAO,CAAA,CAAA,SACtC,CAAAC,IAAA,CAAA,CAAA,CAAA,MACCC,CAAAC,CAAAA,CAAA,CACE,QAAA,CAAA,CAAAC,EAACC,IAAAA,CAAAC,QAAA,CAAW,CAAA,QACO,CAAA,CAAAT,GAAA,CAAOU,UAAAA,CAAQ,EAAA,CAAA,CAAAV,GAAA,CAAAW,iBAAA,CAAA,CAAAC,MACjCC,CAAAA,CAAA,QAOX,CAAA,CAAA,CAAA,CAAA,CAAAb,GAAA,CAAAc,WAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA","file":"header.js","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 ComponentPropsWithRef, useContext } from 'react';\nimport { Header } from 'react-aria-components';\nimport { ViewStackContext } from '../view-stack/context';\nimport { DrawerBack } from './back';\nimport { DrawerClose } from './close';\nimport { DrawerHeaderTitle } from './header-title';\nimport styles from './styles.module.css';\n\nexport function DrawerHeader({\n className,\n title,\n children,\n ...rest\n}: ComponentPropsWithRef<'header'>) {\n const { stack } = useContext(ViewStackContext);\n const level = stack.length > 1 ? 4 : 2;\n\n return (\n <Header {...rest} className={clsx(styles.header, className)}>\n {children == null ? (\n <>\n <DrawerBack />\n <DrawerHeaderTitle level={level}>{title}</DrawerHeaderTitle>\n <DrawerClose />\n </>\n ) : (\n children\n )}\n </Header>\n );\n}\n"]}
@@ -5,15 +5,11 @@ import '@accelint/core';
5
5
  import '@react-types/shared';
6
6
  import 'react';
7
7
  import 'react-aria-components';
8
- import 'tailwind-variants';
9
8
  import '../../lib/types.js';
10
9
  import '../button/types.js';
11
- import '../button/styles.js';
12
- import 'tailwind-merge';
13
10
  import '../view-stack/types.js';
14
11
  import '../view-stack/events.js';
15
12
  import './events.js';
16
- import './styles.js';
17
13
 
18
14
  /**
19
15
  * Drawer - Slide-in panel for navigation or contextual content
@@ -1,4 +1,4 @@
1
1
  'use client';
2
2
 
3
- import {jsx}from'react/jsx-runtime';import {useOn}from'@accelint/bus/react';import'client-only';import {useRef,useState,useCallback}from'react';import {ViewStack}from'../view-stack/index.js';import {useViewStackEmit}from'../view-stack/context.js';import {DrawerContext}from'./context.js';import {DrawerEventTypes}from'./events.js';import {DrawerStyles}from'./styles.js';const{drawer:I}=DrawerStyles();function z({id:t,children:u,className:w,defaultView:i,placement:p="left",size:m="medium",onChange:d,...v}){const o=useRef(new Set),[a,f]=useState(i||null),r=useViewStackEmit(),g=useCallback(e=>{o.current.has(e?.payload?.view)&&(r.clear(t),r.push(e.payload.view));},[t,r.clear,r.push]),D=useCallback(e=>{o.current.has(e?.payload?.view)&&(r.clear(t),a!==e?.payload?.view&&r.push(e.payload.view));},[t,a,r.clear,r.push]);return useOn(DrawerEventTypes.open,g),useOn(DrawerEventTypes.toggle,D),jsx(DrawerContext.Provider,{value:{register:e=>o.current.add(e),unregister:e=>o.current.delete(e),placement:p},children:jsx(ViewStack,{id:t,defaultView:i,onChange:e=>{f(e),d?.(e);},children:jsx("div",{...v,className:I({className:w}),"data-open":!!a||null,"data-placement":p,"data-size":m,children:u})})})}export{z as Drawer};//# sourceMappingURL=index.js.map
3
+ import {jsx}from'react/jsx-runtime';import {useOn}from'@accelint/bus/react';import'client-only';import {clsx}from'@accelint/design-foundation/lib/utils';import {useRef,useState,useCallback}from'react';import {ViewStack}from'../view-stack/index.js';import {useViewStackEmit}from'../view-stack/context.js';import {DrawerContext}from'./context.js';import {DrawerEventTypes}from'./events.js';import I from'./styles.module.css';function A({id:t,children:c,className:m,defaultView:n,placement:p="left",size:w="medium",onChange:d,...v}){const o=useRef(new Set),[a,f]=useState(n||null),r=useViewStackEmit(),g=useCallback(e=>{o.current.has(e?.payload?.view)&&(r.clear(t),r.push(e.payload.view));},[t,r.clear,r.push]),y=useCallback(e=>{o.current.has(e?.payload?.view)&&(r.clear(t),a!==e?.payload?.view&&r.push(e.payload.view));},[t,a,r.clear,r.push]);return useOn(DrawerEventTypes.open,g),useOn(DrawerEventTypes.toggle,y),jsx(DrawerContext.Provider,{value:{register:e=>o.current.add(e),unregister:e=>o.current.delete(e),placement:p},children:jsx(ViewStack,{id:t,defaultView:n,onChange:e=>{f(e),d?.(e);},children:jsx("div",{...v,className:clsx("group/drawer",I.drawer,m),"data-open":!!a||null,"data-placement":p,"data-size":w,children:c})})})}export{A as Drawer};//# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/drawer/index.tsx"],"names":["q","children","className","defaultView","placement","size","onChange","rest","views","useRef","setActiveView","useState","y","viewStackEmit","useCallback","data","s","id","activeView","useOn","DrawerEventTypes","handleOpen","jsx","DrawerContext","l","c","n","k","view","ViewStack","E","drawer"],"mappings":"kXAoDO,KAAgB,CACrB,MACA,CAAA,CAAA,CAAA,CAAAA,YAAA,EAAA,CAAAC,SACA,CAAA,CAAA,CAAAC,EACA,CAAA,CAAA,CAAA,QAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,EAAY,WACZ,CAAAC,CAAAA,CAAO,SACP,CAAA,CAAA,CAAA,MAAAC,CAAAA,IACGC,CACL,CAAA,CAAgB,QACRC,CAAQC,QAAW,CAAe,CAAA,CAClC,GAAaC,CAAa,CAAA,CAAIC,OACnB,CAAA,CACjBC,MAAA,CAEMC,IAAiC,IAEpBC,CAAAA,CAChBC,CAAAA,CAAAA,CAA0B,CACrBP,CAAAA,QAAM,CAAA,CAAA,EAAA,IAAQ,CAAA,CAAA,CAAA,CAAIO,kBAAM,CAAA,CAAA,CAAAC,WAAA,CAAA,CAAA,EAAA,CAAS,CAAA,CAAA,OACnCH,CAAc,GAAA,CAAA,CAAA,EAAQ,OACR,EAAKE,IAAK,CAAA,GAAA,CAAA,CAAQ,KAAI,CAExC,CAAA,CACA,CAACE,CAAAA,CAAIJ,IAAc,CAAA,CAAA,CAAA,OAAyB,CAC9C,IACqBC,CAAAA,EAClBC,CAAAA,CAAAA,CAA4B,CACvBP,CAAAA,CAAM,CAAA,KAAA,CAAA,CAAQ,KAAIO,CAAAA,CAAM,CAAA,CAAA,CAAAC,WAAA,CAAA,CAAA,EAAA,CAAS,CAAA,CAAA,OACnCH,CAAc,GAAA,CAAA,CAAA,EAAQ,OACHE,EAAM,IAAA,CAAA,GAAA,CAAS,CAAA,KAChCF,CAAAA,CAAc,MAAKE,CAAK,EAAA,OAAQ,EAAA,IAGtC,EACCE,EAAIC,IAA0B,CAAA,CAAA,CAAA,OAAqB,CAAA,IAGtD,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAAC,CAAAA,CAAMC,CAAAA,CAAiB,KAAMC,CAAU,CAAA,CACvCF,IAAuB,CAAA,CAAA,CAAA,OAGrBG,KAAAA,CAACC,gBAAAA,CAAc,IAAA,CAAA,CAAA,CAAA,CAAAC,KAAd,CACCC,gBAAA,CAAA,MACE,CAAA,CAAA,CAAA,CAAAC,GAAA,CAAAC,aAAA,CAAWC,QAAyB,CAAA,CAAA,OAAYA,QAChD,CAAA,CAAA,EAAA,CAAA,CAAaA,OAAyB,CAAA,GAAA,CAAA,CAAQ,YAC9C,CAAA,CAAA,EAAA,CAAA,CAAA,OAGF,CAAA,MAAAN,EAACO,CAAAA,CAAA,SAEC,CAAA,CAAA,CAAA,CAAA,QACA,CAAAH,GAAA,CAAAI,SAAA,CAAA,CAAA,EAAWF,CAAAA,CAAAA,CAAS,WAEH,CACjB,CAAA,CAEA,QAAA,CAAAN,CAAAA,EAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CACE,CAAA,GAAGf,CACJ,YAAWwB,CAAOL,GAAE,CAAA,KAAA,CAAA,CAAA,GAAU,CAAC,CAAA,aACpB,SAAgB,CAC3B,CAAA,CAAA,CAAA,CAAA,WAAA,CAAA,CAAgBtB,CAAAA,CAChB,EAAA,IAAA,CAAA,gBAECH,CAAAA,CACH,CAAA,WAIR,CAAA,CAAA,CAAA,QAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA","file":"index.js","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 { useOn } from '@accelint/bus/react';\nimport type { UniqueId } from '@accelint/core';\nimport 'client-only';\nimport { useCallback, useRef, useState } from 'react';\nimport { ViewStack } from '../view-stack';\nimport { useViewStackEmit } from '../view-stack/context';\nimport { DrawerContext } from './context';\nimport { DrawerEventTypes } from './events';\nimport { DrawerStyles } from './styles';\nimport type { DrawerOpenEvent, DrawerProps, DrawerToggleEvent } from './types';\n\nconst { drawer } = DrawerStyles();\n\n/**\n * Drawer - Slide-in panel for navigation or contextual content\n *\n * A flexible panel that slides in from the viewport edge and supports\n * stacked views, headers, footers, and programmatic triggers.\n *\n * @example\n * const ids = { drawer: uuid(), a: uuid() };\n *\n * <DrawerLayout push=\"left\">\n * <DrawerLayoutMain>\n * <DrawerTrigger for={`open:${ids.a}`}>\n * <Button variant=\"icon\">Open</Button>\n * </DrawerTrigger>\n * </DrawerLayoutMain>\n *\n * <Drawer id={ids.drawer} defaultView={ids.a}>\n * <DrawerPanel>\n * <DrawerView id={ids.a}>\n * <DrawerHeader title=\"Title A\" />\n * <DrawerContent>Content for View A</DrawerContent>\n * </DrawerView>\n * </DrawerPanel>\n * </Drawer>\n * </DrawerLayout>\n */\nexport function Drawer({\n id,\n children,\n className,\n defaultView,\n placement = 'left',\n size = 'medium',\n onChange,\n ...rest\n}: DrawerProps) {\n const views = useRef(new Set<UniqueId>());\n const [activeView, setActiveView] = useState<UniqueId | null>(\n defaultView || null,\n );\n\n const viewStackEmit = useViewStackEmit();\n\n const handleOpen = useCallback(\n (data: DrawerOpenEvent) => {\n if (views.current.has(data?.payload?.view)) {\n viewStackEmit.clear(id);\n viewStackEmit.push(data.payload.view);\n }\n },\n [id, viewStackEmit.clear, viewStackEmit.push],\n );\n const handleToggle = useCallback(\n (data: DrawerToggleEvent) => {\n if (views.current.has(data?.payload?.view)) {\n viewStackEmit.clear(id);\n if (activeView !== data?.payload?.view) {\n viewStackEmit.push(data.payload.view);\n }\n }\n },\n [id, activeView, viewStackEmit.clear, viewStackEmit.push],\n );\n\n useOn(DrawerEventTypes.open, handleOpen);\n useOn(DrawerEventTypes.toggle, handleToggle);\n\n return (\n <DrawerContext.Provider\n value={{\n register: (view: UniqueId) => views.current.add(view),\n unregister: (view: UniqueId) => views.current.delete(view),\n placement,\n }}\n >\n <ViewStack\n id={id}\n defaultView={defaultView}\n onChange={(view) => {\n setActiveView(view);\n onChange?.(view);\n }}\n >\n <div\n {...rest}\n className={drawer({ className })}\n data-open={!!activeView || null}\n data-placement={placement}\n data-size={size}\n >\n {children}\n </div>\n </ViewStack>\n </DrawerContext.Provider>\n );\n}\n"]}
1
+ {"version":3,"sources":["../../../src/components/drawer/index.tsx"],"names":["className","rest","activeView","setActiveView","defaultView","h","viewStackEmit","handleOpen","useCallback","data","views","k","s","handleToggle","useOn","DrawerEventTypes","u","jsx","l","i","q","S","view","onChange","clsx","D","placement","children"],"mappings":"uaAqDE,SACA,CAAA,CAAA,CAAA,EAAA,CAAAA,EACA,QAAA,CAAA,CAAA,CAAA,SACA,CAAA,CAAA,CAAA,WACA,CAAA,CAAA,CAAA,SAAO,CAAA,CAAA,CACP,MAAA,CAAA,IACA,CAAA,CAAA,CAAGC,QAEH,CAAA,QAAqB,CAAI,CAAA,CAAA,GACnB,CAACC,CAAAA,CAAYC,CAAa,MAC9BC,CAAe,CAAAC,MAAA,CAAA,IAGXC,GAAiC,CAAA,CAEjCC,CAAAA,CAAaC,CAAAA,CAChBC,CAAAA,CAAAA,QAA0B,CACrBC,CAAAA,EAAM,IAAA,CAAA,CAAA,CAAQ,CAAAC,gBAAA,EAAIF,CAAAA,CAAAA,CAAMG,WAAA,CAAA,CAAA,EAAA,CAAA,CAAA,CAAA,WACZ,CAAA,CAAA,EAAA,OACA,EAAA,KAAU,GAAA,CAAA,CAAA,KAAQ,CAAA,CAAI,CAAA,CAExC,CAAA,CACA,KAAmB,CAAA,CAAA,OAAqB,CAAA,IAC1C,CACMC,EAAAA,CAAeL,EAClBC,CAAAA,CAAAA,CAA4B,CACvBC,KAAM,CAAA,CAAA,CAAA,IAAQ,CAAA,CAAID,CAAAA,CAAAA,CAAMG,yBAAa,CAAA,GACzB,CAAA,CAAA,EAAA,SACKH,IAAM,CAAA,GAAA,CAAA,CAAA,KAAS,CAAA,CAAA,CAChCH,CAAAA,CAAc,GAAA,CAAA,EAAKG,SAAa,IAAI,EAG1C,CAAA,CACA,IAAKP,CAAYI,EAAc,OAAOA,CAAc,IAAI,CAC1D,EAAA,CAEA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAAQ,MAAuB,CAAA,CAAA,CAAMP,IAC7BO,CAAMC,CAAAA,CAAiB,OAAQF,KAAY,CAAAG,gBAGzCC,CAAAA,IAAe,CAAA,CAAA,CAAA,CAAAC,KAAA,CAAAF,gBAAA,CAAd,OACQ,CACL,CAAA,CAAAG,GAAA,CAAAC,aAAA,CAAA,QAAoC,CAAA,CAAA,KAAA,CAAQ,CAAA,QAC5C,CAAA,CAAA,EAAA,CAAA,CAAA,OAAgCV,CAAM,GAAA,CAAA,CAAA,CAAA,CAAA,UAAmB,CACzD,CAAA,EAAA,CAAA,CAAA,OACF,CAEA,MAAA,CAAA,CAAA,CAAAO,CAAAA,SAEE,CAAA,CAAA,CAAA,CAAA,QAAab,CAAAA,GACb,CAAAiB,SAAA,CAAA,CAAA,EAAA,CAAA,CAAA,CAAWC,WAETC,CAAAA,CAAWD,CAAI,QAGjB,CAAA,CAAA,EAAAL,CAAAA,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,GACE,CAAA,EAAGhB,CAAAA,CACJ,YAAWuB,CAAAA,KAAK,CAAA,CAAA,GAAA,CAAA,CAAA,SAAuB,CAAAC,IAAA,CAAA,gBAC5B,CAAC,MAAe,CAAA,CAAA,CAC3B,CAAA,WAAA,CAAA,CAAA,CAAA,CAAA,EAAgBC,IAChB,CAAA,gBAEC,CAAA,CAAA,CAAAC,WAKX,CAAA,CAAA,CAAA,QAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA","file":"index.js","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 { useOn } from '@accelint/bus/react';\nimport type { UniqueId } from '@accelint/core';\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { useCallback, useRef, useState } from 'react';\nimport { ViewStack } from '../view-stack';\nimport { useViewStackEmit } from '../view-stack/context';\nimport { DrawerContext } from './context';\nimport { DrawerEventTypes } from './events';\nimport styles from './styles.module.css';\nimport type { DrawerOpenEvent, DrawerProps, DrawerToggleEvent } from './types';\n\n/**\n * Drawer - Slide-in panel for navigation or contextual content\n *\n * A flexible panel that slides in from the viewport edge and supports\n * stacked views, headers, footers, and programmatic triggers.\n *\n * @example\n * const ids = { drawer: uuid(), a: uuid() };\n *\n * <DrawerLayout push=\"left\">\n * <DrawerLayoutMain>\n * <DrawerTrigger for={`open:${ids.a}`}>\n * <Button variant=\"icon\">Open</Button>\n * </DrawerTrigger>\n * </DrawerLayoutMain>\n *\n * <Drawer id={ids.drawer} defaultView={ids.a}>\n * <DrawerPanel>\n * <DrawerView id={ids.a}>\n * <DrawerHeader title=\"Title A\" />\n * <DrawerContent>Content for View A</DrawerContent>\n * </DrawerView>\n * </DrawerPanel>\n * </Drawer>\n * </DrawerLayout>\n */\nexport function Drawer({\n id,\n children,\n className,\n defaultView,\n placement = 'left',\n size = 'medium',\n onChange,\n ...rest\n}: DrawerProps) {\n const views = useRef(new Set<UniqueId>());\n const [activeView, setActiveView] = useState<UniqueId | null>(\n defaultView || null,\n );\n\n const viewStackEmit = useViewStackEmit();\n\n const handleOpen = useCallback(\n (data: DrawerOpenEvent) => {\n if (views.current.has(data?.payload?.view)) {\n viewStackEmit.clear(id);\n viewStackEmit.push(data.payload.view);\n }\n },\n [id, viewStackEmit.clear, viewStackEmit.push],\n );\n const handleToggle = useCallback(\n (data: DrawerToggleEvent) => {\n if (views.current.has(data?.payload?.view)) {\n viewStackEmit.clear(id);\n if (activeView !== data?.payload?.view) {\n viewStackEmit.push(data.payload.view);\n }\n }\n },\n [id, activeView, viewStackEmit.clear, viewStackEmit.push],\n );\n\n useOn(DrawerEventTypes.open, handleOpen);\n useOn(DrawerEventTypes.toggle, handleToggle);\n\n return (\n <DrawerContext.Provider\n value={{\n register: (view: UniqueId) => views.current.add(view),\n unregister: (view: UniqueId) => views.current.delete(view),\n placement,\n }}\n >\n <ViewStack\n id={id}\n defaultView={defaultView}\n onChange={(view) => {\n setActiveView(view);\n onChange?.(view);\n }}\n >\n <div\n {...rest}\n className={clsx('group/drawer', styles.drawer, className)}\n data-open={!!activeView || null}\n data-placement={placement}\n data-size={size}\n >\n {children}\n </div>\n </ViewStack>\n </DrawerContext.Provider>\n );\n}\n"]}
@@ -1,4 +1,2 @@
1
- 'use client';
2
-
3
- import {jsx}from'react/jsx-runtime';import'client-only';import {DrawerStyles}from'./styles.js';const{main:e}=DrawerStyles();function a({className:o,...t}){return jsx("main",{...t,className:e({className:o})})}export{a as DrawerLayoutMain};//# sourceMappingURL=layout-main.js.map
1
+ import {jsx}from'react/jsx-runtime';import {clsx}from'@accelint/design-foundation/lib/utils';import m from'./styles.module.css';function p({className:o,...r}){return jsx("main",{...r,className:clsx(m.main,o)})}export{p as DrawerLayoutMain};//# sourceMappingURL=layout-main.js.map
4
2
  //# sourceMappingURL=layout-main.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/drawer/layout-main.tsx"],"names":["DrawerStyles","r","rest","n"],"mappings":"+FAkBA,UAAiBA,CAAAA,CAAa,CAAA,CAEvBC,wBACL,CAAA,CAAA,CAAA,WACGC,CACL,GACE,CAAA,CAAA,CAAA,CAAA,OAAQC,GAAA,CAAA,MAAM,CAAGD,CAAAA,GAAM,CAAA,CAAA,SAAkB,CAAA,CAAA,CAAA,CAAA,UAAc,CACzD,CAAA,CAAA,CAAA,CAAA","file":"layout-main.js","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\n'use client';\n\nimport 'client-only';\nimport { DrawerStyles } from './styles';\nimport type { ComponentPropsWithRef } from 'react';\n\nconst { main } = DrawerStyles();\n\nexport function DrawerLayoutMain({\n className,\n ...rest\n}: ComponentPropsWithRef<'main'>) {\n return <main {...rest} className={main({ className })} />;\n}\n"]}
1
+ {"version":3,"sources":["../../../src/components/drawer/layout-main.tsx"],"names":["DrawerLayoutMain","className","jsx","rest","clsx","styles"],"mappings":"gIAeO,SAASA,CAAiB,CAC/B,CAAA,SAAAC,CAAAA,CACA,CAAA,GACF,CAAA,CAAkC,CAChC,CAAA,OAAOC,GAAC,CAAA,MAAA,CAAM,CAAA,GAAGC,CAAM,CAAA,SAAWC,CAAAA,IAAKC,CAAAA,CAAO,CAAA,IAAMJ,CAAS,EAAG,CAClE,CAAA","file":"layout-main.js","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 */\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport styles from './styles.module.css';\nimport type { ComponentPropsWithRef } from 'react';\n\nexport function DrawerLayoutMain({\n className,\n ...rest\n}: ComponentPropsWithRef<'main'>) {\n return <main {...rest} className={clsx(styles.main, className)} />;\n}\n"]}
@@ -5,15 +5,11 @@ import '@accelint/core';
5
5
  import '@react-types/shared';
6
6
  import 'react';
7
7
  import 'react-aria-components';
8
- import 'tailwind-variants';
9
8
  import '../../lib/types.js';
10
9
  import '../button/types.js';
11
- import '../button/styles.js';
12
- import 'tailwind-merge';
13
10
  import '../view-stack/types.js';
14
11
  import '../view-stack/events.js';
15
12
  import './events.js';
16
- import './styles.js';
17
13
 
18
14
  declare function DrawerLayout({ className, extend, push, ...rest }: DrawerLayoutProps): react_jsx_runtime.JSX.Element;
19
15
 
@@ -1,4 +1,2 @@
1
- 'use client';
2
-
3
- import {jsx}from'react/jsx-runtime';import'client-only';import {DrawerStyles}from'./styles.js';const{layout:p}=DrawerStyles();function i({className:t,extend:r="left right",push:o,...a}){return jsx("div",{...a,className:p({className:t}),"data-extend":r,"data-push":o})}export{i as DrawerLayout};//# sourceMappingURL=layout.js.map
1
+ import {jsx}from'react/jsx-runtime';import {clsx}from'@accelint/design-foundation/lib/utils';import p from'./styles.module.css';function y({className:r,extend:t="left right",push:o,...a}){return jsx("div",{...a,className:clsx("group/layout",p.layout,r),"data-extend":t,"data-push":o||null})}export{y as DrawerLayout};//# sourceMappingURL=layout.js.map
4
2
  //# sourceMappingURL=layout.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/drawer/layout.tsx"],"names":["DrawerStyles","e","rest"],"mappings":"+FAiBA,YAAmBA,EAAa,CAAA,CAEzBC,YAAA,EAAA,CAAA,SACL,CAAA,CAAA,CAAA,SACA,CAAA,CAAA,CAAA,qBACA,CAAA,MACGC,CACL,GACE,CAAA,CAAA,CAAA,CAAA,gBAEK,CAAGA,CAAAA,cACgB,cACpB,CAAA,CAAA,CAAA,CAAA,aACA,CAAA,CAAA,CAAA,WAGN,CAAA,CAAA,CAAA,CAAA","file":"layout.js","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 { DrawerStyles } from './styles';\nimport type { DrawerLayoutProps } from './types';\n\nconst { layout } = DrawerStyles();\n\nexport function DrawerLayout({\n className,\n extend = 'left right',\n push,\n ...rest\n}: DrawerLayoutProps) {\n return (\n <div\n {...rest}\n className={layout({ className })}\n data-extend={extend}\n data-push={push}\n />\n );\n}\n"]}
1
+ {"version":3,"sources":["../../../src/components/drawer/layout.tsx"],"names":["DrawerLayout","className","extend","push","jsx","rest","clsx","styles"],"mappings":"gIAeO,SAASA,CAAa,CAC3B,CAAA,SAAAC,CAAAA,CACA,OAAAC,CAAAA,CAAS,CAAA,YACT,KAAAC,CAAAA,CACA,CAAA,GACF,CAAA,CAAsB,CACpB,CAAA,OACEC,GAAC,OACE,CAAA,GAAGC,CACJ,UAAWC,CAAAA,IAAK,CAAA,cAAgBC,CAAAA,CAAO,CAAA,MAAQN,CAAS,CAAA,CACxD,CAAA,aAAaC,EACb,CAAA,WAAWC,CAAAA,CAAAA,MACb,CAEJ,CAAA","file":"layout.js","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 */\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport styles from './styles.module.css';\nimport type { DrawerLayoutProps } from './types';\n\nexport function DrawerLayout({\n className,\n extend = 'left right',\n push,\n ...rest\n}: DrawerLayoutProps) {\n return (\n <div\n {...rest}\n className={clsx('group/layout', styles.layout, className)}\n data-extend={extend}\n data-push={push || null}\n />\n );\n}\n"]}