@accelint/design-toolkit 6.0.0 → 7.0.1

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 (570) hide show
  1. package/README.md +2 -0
  2. package/catalog-info.yaml +18 -18
  3. package/dist/components/accordion/context.d.ts +10 -0
  4. package/dist/components/accordion/context.js +4 -0
  5. package/dist/components/accordion/context.js.map +1 -0
  6. package/dist/components/accordion/group.d.ts +11 -0
  7. package/dist/components/accordion/group.js +4 -0
  8. package/dist/components/accordion/group.js.map +1 -0
  9. package/dist/components/accordion/header.d.ts +11 -0
  10. package/dist/components/accordion/header.js +4 -0
  11. package/dist/components/accordion/header.js.map +1 -0
  12. package/dist/components/accordion/index.d.ts +22 -46
  13. package/dist/components/accordion/index.js +1 -1
  14. package/dist/components/accordion/index.js.map +1 -1
  15. package/dist/components/accordion/panel.d.ts +11 -0
  16. package/dist/components/accordion/panel.js +4 -0
  17. package/dist/components/accordion/panel.js.map +1 -0
  18. package/dist/components/accordion/trigger.d.ts +11 -0
  19. package/dist/components/accordion/trigger.js +4 -0
  20. package/dist/components/accordion/trigger.js.map +1 -0
  21. package/dist/components/accordion/types.d.ts +1 -1
  22. package/dist/components/action-bar/index.d.ts +0 -3
  23. package/dist/components/action-bar/index.js +1 -1
  24. package/dist/components/action-bar/index.js.map +1 -1
  25. package/dist/components/avatar/context.d.ts +14 -0
  26. package/dist/components/avatar/context.js +4 -0
  27. package/dist/components/avatar/context.js.map +1 -0
  28. package/dist/components/avatar/index.d.ts +2 -13
  29. package/dist/components/avatar/index.js +1 -1
  30. package/dist/components/avatar/index.js.map +1 -1
  31. package/dist/components/badge/context.d.ts +13 -0
  32. package/dist/components/badge/context.js +4 -0
  33. package/dist/components/badge/context.js.map +1 -0
  34. package/dist/components/badge/index.d.ts +2 -13
  35. package/dist/components/badge/index.js +1 -1
  36. package/dist/components/badge/index.js.map +1 -1
  37. package/dist/components/breadcrumbs/index.d.ts +2 -11
  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.d.ts +7 -0
  41. package/dist/components/breadcrumbs/item.js +4 -0
  42. package/dist/components/breadcrumbs/item.js.map +1 -0
  43. package/dist/components/button/context.d.ts +17 -0
  44. package/dist/components/button/context.js +4 -0
  45. package/dist/components/button/context.js.map +1 -0
  46. package/dist/components/button/index.d.ts +5 -104
  47. package/dist/components/button/index.js +1 -1
  48. package/dist/components/button/index.js.map +1 -1
  49. package/dist/components/button/link.d.ts +46 -0
  50. package/dist/components/button/link.js +4 -0
  51. package/dist/components/button/link.js.map +1 -0
  52. package/dist/components/button/toggle.d.ts +48 -0
  53. package/dist/components/button/toggle.js +4 -0
  54. package/dist/components/button/toggle.js.map +1 -0
  55. package/dist/components/checkbox/context.d.ts +10 -0
  56. package/dist/components/checkbox/context.js +4 -0
  57. package/dist/components/checkbox/context.js.map +1 -0
  58. package/dist/components/checkbox/group.d.ts +10 -0
  59. package/dist/components/checkbox/group.js +4 -0
  60. package/dist/components/checkbox/group.js.map +1 -0
  61. package/dist/components/checkbox/index.d.ts +6 -16
  62. package/dist/components/checkbox/index.js +1 -1
  63. package/dist/components/checkbox/index.js.map +1 -1
  64. package/dist/components/checkbox/styles.js +1 -1
  65. package/dist/components/checkbox/styles.js.map +1 -1
  66. package/dist/components/chip/context.d.ts +13 -0
  67. package/dist/components/chip/context.js +4 -0
  68. package/dist/components/chip/context.js.map +1 -0
  69. package/dist/components/chip/deletable.d.ts +11 -0
  70. package/dist/components/chip/deletable.js +4 -0
  71. package/dist/components/chip/deletable.js.map +1 -0
  72. package/dist/components/chip/index.d.ts +14 -39
  73. package/dist/components/chip/index.js +1 -1
  74. package/dist/components/chip/index.js.map +1 -1
  75. package/dist/components/chip/list.d.ts +12 -0
  76. package/dist/components/chip/list.js +4 -0
  77. package/dist/components/chip/list.js.map +1 -0
  78. package/dist/components/chip/selectable.d.ts +11 -0
  79. package/dist/components/chip/selectable.js +4 -0
  80. package/dist/components/chip/selectable.js.map +1 -0
  81. package/dist/components/chip/styles.js +1 -1
  82. package/dist/components/chip/styles.js.map +1 -1
  83. package/dist/components/chip/types.d.ts +2 -2
  84. package/dist/components/classification-badge/context.d.ts +12 -0
  85. package/dist/components/classification-badge/context.js +4 -0
  86. package/dist/components/classification-badge/context.js.map +1 -0
  87. package/dist/components/classification-badge/index.d.ts +2 -13
  88. package/dist/components/classification-badge/index.js +1 -1
  89. package/dist/components/classification-badge/index.js.map +1 -1
  90. package/dist/components/classification-banner/context.d.ts +12 -0
  91. package/dist/components/classification-banner/context.js +4 -0
  92. package/dist/components/classification-banner/context.js.map +1 -0
  93. package/dist/components/classification-banner/index.d.ts +2 -13
  94. package/dist/components/classification-banner/index.js +1 -1
  95. package/dist/components/classification-banner/index.js.map +1 -1
  96. package/dist/components/clock/index.d.ts +0 -3
  97. package/dist/components/clock/index.js +1 -1
  98. package/dist/components/clock/index.js.map +1 -1
  99. package/dist/components/color-picker/index.d.ts +0 -3
  100. package/dist/components/color-picker/index.js +1 -1
  101. package/dist/components/color-picker/index.js.map +1 -1
  102. package/dist/components/color-picker/styles.js +1 -1
  103. package/dist/components/color-picker/styles.js.map +1 -1
  104. package/dist/components/combobox-field/context.d.ts +16 -0
  105. package/dist/components/combobox-field/context.js +4 -0
  106. package/dist/components/combobox-field/context.js.map +1 -0
  107. package/dist/components/combobox-field/index.d.ts +4 -8
  108. package/dist/components/combobox-field/index.js +1 -1
  109. package/dist/components/combobox-field/index.js.map +1 -1
  110. package/dist/components/combobox-field/styles.d.ts +3 -3
  111. package/dist/components/date-field/index.js +1 -1
  112. package/dist/components/date-field/index.js.map +1 -1
  113. package/dist/components/details-list/context.d.ts +12 -0
  114. package/dist/components/details-list/context.js +4 -0
  115. package/dist/components/details-list/context.js.map +1 -0
  116. package/dist/components/details-list/index.d.ts +15 -35
  117. package/dist/components/details-list/index.js +1 -1
  118. package/dist/components/details-list/index.js.map +1 -1
  119. package/dist/components/details-list/label.d.ts +10 -0
  120. package/dist/components/details-list/label.js +4 -0
  121. package/dist/components/details-list/label.js.map +1 -0
  122. package/dist/components/details-list/value.d.ts +10 -0
  123. package/dist/components/details-list/value.js +4 -0
  124. package/dist/components/details-list/value.js.map +1 -0
  125. package/dist/components/dialog/content.d.ts +6 -0
  126. package/dist/components/dialog/content.js +4 -0
  127. package/dist/components/dialog/content.js.map +1 -0
  128. package/dist/components/dialog/context.d.ts +7 -0
  129. package/dist/components/dialog/context.js +4 -0
  130. package/dist/components/dialog/context.js.map +1 -0
  131. package/dist/components/dialog/footer.d.ts +6 -0
  132. package/dist/components/dialog/footer.js +4 -0
  133. package/dist/components/dialog/footer.js.map +1 -0
  134. package/dist/components/dialog/index.d.ts +9 -30
  135. package/dist/components/dialog/index.js +1 -1
  136. package/dist/components/dialog/index.js.map +1 -1
  137. package/dist/components/dialog/styles.d.ts +3 -3
  138. package/dist/components/dialog/title.d.ts +6 -0
  139. package/dist/components/dialog/title.js +4 -0
  140. package/dist/components/dialog/title.js.map +1 -0
  141. package/dist/components/dialog/trigger.d.ts +1 -0
  142. package/dist/components/dialog/trigger.js +2 -0
  143. package/dist/components/dialog/trigger.js.map +1 -0
  144. package/dist/components/dialog/types.d.ts +3 -2
  145. package/dist/components/divider/context.d.ts +10 -0
  146. package/dist/components/divider/context.js +4 -0
  147. package/dist/components/divider/context.js.map +1 -0
  148. package/dist/components/divider/index.d.ts +2 -13
  149. package/dist/components/divider/index.js +1 -1
  150. package/dist/components/divider/index.js.map +1 -1
  151. package/dist/components/drawer/back.d.ts +5 -0
  152. package/dist/components/drawer/back.js +4 -0
  153. package/dist/components/drawer/back.js.map +1 -0
  154. package/dist/components/drawer/close.d.ts +5 -0
  155. package/dist/components/drawer/close.js +4 -0
  156. package/dist/components/drawer/close.js.map +1 -0
  157. package/dist/components/drawer/content.d.ts +6 -0
  158. package/dist/components/drawer/content.js +4 -0
  159. package/dist/components/drawer/content.js.map +1 -0
  160. package/dist/components/drawer/context.d.ts +38 -0
  161. package/dist/components/drawer/context.js +4 -0
  162. package/dist/components/drawer/context.js.map +1 -0
  163. package/dist/components/drawer/footer.d.ts +6 -0
  164. package/dist/components/drawer/footer.js +4 -0
  165. package/dist/components/drawer/footer.js.map +1 -0
  166. package/dist/components/drawer/header-title.d.ts +25 -0
  167. package/dist/components/drawer/header-title.js +4 -0
  168. package/dist/components/drawer/header-title.js.map +1 -0
  169. package/dist/components/drawer/header.d.ts +6 -0
  170. package/dist/components/drawer/header.js +4 -0
  171. package/dist/components/drawer/header.js.map +1 -0
  172. package/dist/components/drawer/index.d.ts +19 -112
  173. package/dist/components/drawer/index.js +1 -1
  174. package/dist/components/drawer/index.js.map +1 -1
  175. package/dist/components/drawer/layout-main.d.ts +6 -0
  176. package/dist/components/drawer/layout-main.js +4 -0
  177. package/dist/components/drawer/layout-main.js.map +1 -0
  178. package/dist/components/drawer/layout.d.ts +20 -0
  179. package/dist/components/drawer/layout.js +4 -0
  180. package/dist/components/drawer/layout.js.map +1 -0
  181. package/dist/components/drawer/menu-item.d.ts +20 -0
  182. package/dist/components/drawer/menu-item.js +4 -0
  183. package/dist/components/drawer/menu-item.js.map +1 -0
  184. package/dist/components/drawer/menu.d.ts +20 -0
  185. package/dist/components/drawer/menu.js +4 -0
  186. package/dist/components/drawer/menu.js.map +1 -0
  187. package/dist/components/drawer/panel.d.ts +6 -0
  188. package/dist/components/drawer/panel.js +4 -0
  189. package/dist/components/drawer/panel.js.map +1 -0
  190. package/dist/components/drawer/styles.d.ts +9 -9
  191. package/dist/components/drawer/trigger.d.ts +20 -0
  192. package/dist/components/drawer/trigger.js +4 -0
  193. package/dist/components/drawer/trigger.js.map +1 -0
  194. package/dist/components/drawer/types.d.ts +3 -3
  195. package/dist/components/drawer/view.d.ts +11 -0
  196. package/dist/components/drawer/view.js +4 -0
  197. package/dist/components/drawer/view.js.map +1 -0
  198. package/dist/components/hero/context.d.ts +7 -0
  199. package/dist/components/hero/context.js +4 -0
  200. package/dist/components/hero/context.js.map +1 -0
  201. package/dist/components/hero/index.d.ts +8 -16
  202. package/dist/components/hero/index.js +1 -1
  203. package/dist/components/hero/index.js.map +1 -1
  204. package/dist/components/hero/subtitle.d.ts +6 -0
  205. package/dist/components/hero/subtitle.js +4 -0
  206. package/dist/components/hero/subtitle.js.map +1 -0
  207. package/dist/components/hero/title.d.ts +6 -0
  208. package/dist/components/hero/title.js +4 -0
  209. package/dist/components/hero/title.js.map +1 -0
  210. package/dist/components/hotkey/context.d.ts +12 -0
  211. package/dist/components/hotkey/context.js +4 -0
  212. package/dist/components/hotkey/context.js.map +1 -0
  213. package/dist/components/hotkey/hotkey-set.d.ts +9 -0
  214. package/dist/components/hotkey/hotkey-set.js +4 -0
  215. package/dist/components/hotkey/hotkey-set.js.map +1 -0
  216. package/dist/components/hotkey/index.d.ts +7 -23
  217. package/dist/components/hotkey/index.js +1 -1
  218. package/dist/components/hotkey/index.js.map +1 -1
  219. package/dist/components/icon/context.d.ts +10 -0
  220. package/dist/components/icon/context.js +4 -0
  221. package/dist/components/icon/context.js.map +1 -0
  222. package/dist/components/icon/index.d.ts +2 -13
  223. package/dist/components/icon/index.js +1 -1
  224. package/dist/components/icon/index.js.map +1 -1
  225. package/dist/components/input/context.d.ts +13 -0
  226. package/dist/components/input/context.js +4 -0
  227. package/dist/components/input/context.js.map +1 -0
  228. package/dist/components/input/index.d.ts +3 -7
  229. package/dist/components/input/index.js +1 -1
  230. package/dist/components/input/index.js.map +1 -1
  231. package/dist/components/label/context.d.ts +10 -0
  232. package/dist/components/label/context.js +4 -0
  233. package/dist/components/label/context.js.map +1 -0
  234. package/dist/components/label/index.d.ts +3 -13
  235. package/dist/components/label/index.js +1 -1
  236. package/dist/components/label/index.js.map +1 -1
  237. package/dist/components/link/context.d.ts +9 -0
  238. package/dist/components/link/context.js +4 -0
  239. package/dist/components/link/context.js.map +1 -0
  240. package/dist/components/link/index.d.ts +0 -9
  241. package/dist/components/link/index.js +1 -1
  242. package/dist/components/link/index.js.map +1 -1
  243. package/dist/components/menu/context.d.ts +10 -0
  244. package/dist/components/menu/context.js +4 -0
  245. package/dist/components/menu/context.js.map +1 -0
  246. package/dist/components/menu/index.d.ts +31 -63
  247. package/dist/components/menu/index.js +1 -1
  248. package/dist/components/menu/index.js.map +1 -1
  249. package/dist/components/menu/item-description.d.ts +6 -0
  250. package/dist/components/menu/item-description.js +4 -0
  251. package/dist/components/menu/item-description.js.map +1 -0
  252. package/dist/components/menu/item-label.d.ts +6 -0
  253. package/dist/components/menu/item-label.js +4 -0
  254. package/dist/components/menu/item-label.js.map +1 -0
  255. package/dist/components/menu/item.d.ts +11 -0
  256. package/dist/components/menu/item.js +4 -0
  257. package/dist/components/menu/item.js.map +1 -0
  258. package/dist/components/menu/section.d.ts +11 -0
  259. package/dist/components/menu/section.js +4 -0
  260. package/dist/components/menu/section.js.map +1 -0
  261. package/dist/components/menu/separator.d.ts +6 -0
  262. package/dist/components/menu/separator.js +4 -0
  263. package/dist/components/menu/separator.js.map +1 -0
  264. package/dist/components/menu/styles.js +1 -1
  265. package/dist/components/menu/styles.js.map +1 -1
  266. package/dist/components/menu/submenu.d.ts +6 -0
  267. package/dist/components/menu/submenu.js +4 -0
  268. package/dist/components/menu/submenu.js.map +1 -0
  269. package/dist/components/menu/trigger.d.ts +1 -0
  270. package/dist/components/menu/trigger.js +4 -0
  271. package/dist/components/menu/trigger.js.map +1 -0
  272. package/dist/components/menu/types.d.ts +1 -1
  273. package/dist/components/notice/index.d.ts +1 -5
  274. package/dist/components/notice/index.js +1 -1
  275. package/dist/components/notice/index.js.map +1 -1
  276. package/dist/components/notice/list.d.ts +16 -0
  277. package/dist/components/notice/list.js +4 -0
  278. package/dist/components/notice/list.js.map +1 -0
  279. package/dist/components/notice/notice-icon.d.ts +16 -0
  280. package/dist/components/notice/notice-icon.js +4 -0
  281. package/dist/components/notice/notice-icon.js.map +1 -0
  282. package/dist/components/notice/styles.d.ts +3 -3
  283. package/dist/components/notice/utils.d.ts +3 -0
  284. package/dist/components/notice/utils.js +4 -0
  285. package/dist/components/notice/utils.js.map +1 -0
  286. package/dist/components/options/context.d.ts +8 -0
  287. package/dist/components/options/context.js +4 -0
  288. package/dist/components/options/context.js.map +1 -0
  289. package/dist/components/options/index.d.ts +22 -51
  290. package/dist/components/options/index.js +1 -1
  291. package/dist/components/options/index.js.map +1 -1
  292. package/dist/components/options/item-content.d.ts +9 -0
  293. package/dist/components/options/item-content.js +4 -0
  294. package/dist/components/options/item-content.js.map +1 -0
  295. package/dist/components/options/item-description.d.ts +9 -0
  296. package/dist/components/options/item-description.js +4 -0
  297. package/dist/components/options/item-description.js.map +1 -0
  298. package/dist/components/options/item-label.d.ts +9 -0
  299. package/dist/components/options/item-label.js +4 -0
  300. package/dist/components/options/item-label.js.map +1 -0
  301. package/dist/components/options/item.d.ts +9 -0
  302. package/dist/components/options/item.js +4 -0
  303. package/dist/components/options/item.js.map +1 -0
  304. package/dist/components/options/section.d.ts +9 -0
  305. package/dist/components/options/section.js +4 -0
  306. package/dist/components/options/section.js.map +1 -0
  307. package/dist/components/options/styles.d.ts +3 -3
  308. package/dist/components/options/styles.js +1 -1
  309. package/dist/components/options/styles.js.map +1 -1
  310. package/dist/components/options/types.d.ts +2 -2
  311. package/dist/components/popover/body.d.ts +8 -0
  312. package/dist/components/popover/body.js +4 -0
  313. package/dist/components/popover/body.js.map +1 -0
  314. package/dist/components/popover/content.d.ts +8 -0
  315. package/dist/components/popover/content.js +4 -0
  316. package/dist/components/popover/content.js.map +1 -0
  317. package/dist/components/popover/footer.d.ts +9 -0
  318. package/dist/components/popover/footer.js +4 -0
  319. package/dist/components/popover/footer.js.map +1 -0
  320. package/dist/components/popover/index.d.ts +16 -39
  321. package/dist/components/popover/index.js +1 -1
  322. package/dist/components/popover/index.js.map +1 -1
  323. package/dist/components/popover/title.d.ts +8 -0
  324. package/dist/components/popover/title.js +4 -0
  325. package/dist/components/popover/title.js.map +1 -0
  326. package/dist/components/popover/trigger.d.ts +8 -0
  327. package/dist/components/popover/trigger.js +4 -0
  328. package/dist/components/popover/trigger.js.map +1 -0
  329. package/dist/components/popover/types.d.ts +1 -1
  330. package/dist/components/query-builder/action-element.js +1 -1
  331. package/dist/components/query-builder/action-element.js.map +1 -1
  332. package/dist/components/query-builder/actions.d.ts +8 -0
  333. package/dist/components/query-builder/actions.js +4 -0
  334. package/dist/components/query-builder/actions.js.map +1 -0
  335. package/dist/components/query-builder/combinator-selector.d.ts +6 -0
  336. package/dist/components/query-builder/combinator-selector.js +4 -0
  337. package/dist/components/query-builder/combinator-selector.js.map +1 -0
  338. package/dist/components/query-builder/index.d.ts +1 -21
  339. package/dist/components/query-builder/index.js +3 -1
  340. package/dist/components/query-builder/index.js.map +1 -1
  341. package/dist/components/query-builder/{group.js → rule-group.js} +2 -2
  342. package/dist/components/query-builder/rule-group.js.map +1 -0
  343. package/dist/components/query-builder/rule.js +1 -1
  344. package/dist/components/query-builder/rule.js.map +1 -1
  345. package/dist/components/query-builder/styles.d.ts +152 -0
  346. package/dist/components/query-builder/styles.js +2 -0
  347. package/dist/components/query-builder/styles.js.map +1 -0
  348. package/dist/components/query-builder/utils.d.ts +1 -10
  349. package/dist/components/query-builder/utils.js +1 -1
  350. package/dist/components/query-builder/utils.js.map +1 -1
  351. package/dist/components/query-builder/value-editor.js +1 -1
  352. package/dist/components/query-builder/value-editor.js.map +1 -1
  353. package/dist/components/query-builder/value-selector.js +3 -1
  354. package/dist/components/query-builder/value-selector.js.map +1 -1
  355. package/dist/components/radio/context.d.ts +13 -0
  356. package/dist/components/radio/context.js +4 -0
  357. package/dist/components/radio/context.js.map +1 -0
  358. package/dist/components/radio/group.d.ts +15 -0
  359. package/dist/components/radio/group.js +4 -0
  360. package/dist/components/radio/group.js.map +1 -0
  361. package/dist/components/radio/index.d.ts +10 -19
  362. package/dist/components/radio/index.js +1 -1
  363. package/dist/components/radio/index.js.map +1 -1
  364. package/dist/components/radio/styles.js +1 -1
  365. package/dist/components/radio/styles.js.map +1 -1
  366. package/dist/components/radio/types.d.ts +1 -1
  367. package/dist/components/search-field/context.d.ts +26 -0
  368. package/dist/components/search-field/context.js +4 -0
  369. package/dist/components/search-field/context.js.map +1 -0
  370. package/dist/components/search-field/index.d.ts +4 -20
  371. package/dist/components/search-field/index.js +1 -1
  372. package/dist/components/search-field/index.js.map +1 -1
  373. package/dist/components/select-field/context.d.ts +15 -0
  374. package/dist/components/select-field/context.js +4 -0
  375. package/dist/components/select-field/context.js.map +1 -0
  376. package/dist/components/select-field/index.d.ts +12 -21
  377. package/dist/components/select-field/index.js +1 -1
  378. package/dist/components/select-field/index.js.map +1 -1
  379. package/dist/components/select-field/styles.d.ts +9 -3
  380. package/dist/components/select-field/styles.js +1 -1
  381. package/dist/components/select-field/styles.js.map +1 -1
  382. package/dist/components/select-field/types.d.ts +2 -2
  383. package/dist/components/sidenav/avatar.d.ts +16 -0
  384. package/dist/components/sidenav/avatar.js +4 -0
  385. package/dist/components/sidenav/avatar.js.map +1 -0
  386. package/dist/components/sidenav/content.d.ts +16 -0
  387. package/dist/components/sidenav/content.js +4 -0
  388. package/dist/components/sidenav/content.js.map +1 -0
  389. package/dist/components/sidenav/context.d.ts +10 -0
  390. package/dist/components/sidenav/context.js +4 -0
  391. package/dist/components/sidenav/context.js.map +1 -0
  392. package/dist/components/sidenav/footer.d.ts +16 -0
  393. package/dist/components/sidenav/footer.js +4 -0
  394. package/dist/components/sidenav/footer.js.map +1 -0
  395. package/dist/components/sidenav/header.d.ts +16 -0
  396. package/dist/components/sidenav/header.js +4 -0
  397. package/dist/components/sidenav/header.js.map +1 -0
  398. package/dist/components/sidenav/index.d.ts +28 -76
  399. package/dist/components/sidenav/index.js +1 -1
  400. package/dist/components/sidenav/index.js.map +1 -1
  401. package/dist/components/sidenav/item.d.ts +16 -0
  402. package/dist/components/sidenav/item.js +4 -0
  403. package/dist/components/sidenav/item.js.map +1 -0
  404. package/dist/components/sidenav/link.d.ts +16 -0
  405. package/dist/components/sidenav/link.js +4 -0
  406. package/dist/components/sidenav/link.js.map +1 -0
  407. package/dist/components/sidenav/menu-item.d.ts +16 -0
  408. package/dist/components/sidenav/menu-item.js +4 -0
  409. package/dist/components/sidenav/menu-item.js.map +1 -0
  410. package/dist/components/sidenav/menu.d.ts +16 -0
  411. package/dist/components/sidenav/menu.js +4 -0
  412. package/dist/components/sidenav/menu.js.map +1 -0
  413. package/dist/components/sidenav/styles.d.ts +9 -9
  414. package/dist/components/sidenav/trigger.d.ts +16 -0
  415. package/dist/components/sidenav/trigger.js +4 -0
  416. package/dist/components/sidenav/trigger.js.map +1 -0
  417. package/dist/components/sidenav/types.d.ts +1 -1
  418. package/dist/components/skeleton/index.d.ts +0 -3
  419. package/dist/components/skeleton/index.js +1 -1
  420. package/dist/components/skeleton/index.js.map +1 -1
  421. package/dist/components/slider/index.d.ts +1 -1
  422. package/dist/components/slider/index.js +1 -1
  423. package/dist/components/slider/index.js.map +1 -1
  424. package/dist/components/slider/styles.d.ts +3 -3
  425. package/dist/components/slider/styles.js +1 -1
  426. package/dist/components/slider/styles.js.map +1 -1
  427. package/dist/components/switch/context.d.ts +20 -0
  428. package/dist/components/switch/context.js +4 -0
  429. package/dist/components/switch/context.js.map +1 -0
  430. package/dist/components/switch/index.d.ts +3 -13
  431. package/dist/components/switch/index.js +1 -1
  432. package/dist/components/switch/index.js.map +1 -1
  433. package/dist/components/switch/styles.js +1 -1
  434. package/dist/components/switch/styles.js.map +1 -1
  435. package/dist/components/table/body.js +2 -0
  436. package/dist/components/table/body.js.map +1 -0
  437. package/dist/components/table/cell.js +2 -0
  438. package/dist/components/table/cell.js.map +1 -0
  439. package/dist/components/table/constants/table.d.ts +17 -0
  440. package/dist/components/table/constants/table.js +2 -0
  441. package/dist/components/table/constants/table.js.map +1 -0
  442. package/dist/components/table/context.js +1 -1
  443. package/dist/components/table/context.js.map +1 -1
  444. package/dist/components/table/{table-header-cell.d.ts → header-cell.d.ts} +2 -2
  445. package/dist/components/table/header-cell.js +2 -0
  446. package/dist/components/table/header-cell.js.map +1 -0
  447. package/dist/components/table/header.js +2 -0
  448. package/dist/components/table/header.js.map +1 -0
  449. package/dist/components/table/index.d.ts +1 -14
  450. package/dist/components/table/index.js +1 -1
  451. package/dist/components/table/index.js.map +1 -1
  452. package/dist/components/table/row.js +2 -0
  453. package/dist/components/table/row.js.map +1 -0
  454. package/dist/components/table/types.d.ts +25 -2
  455. package/dist/components/tabs/context.d.ts +20 -0
  456. package/dist/components/tabs/context.js +4 -0
  457. package/dist/components/tabs/context.js.map +1 -0
  458. package/dist/components/tabs/index.d.ts +25 -51
  459. package/dist/components/tabs/index.js +1 -1
  460. package/dist/components/tabs/index.js.map +1 -1
  461. package/dist/components/tabs/list.d.ts +11 -0
  462. package/dist/components/tabs/list.js +4 -0
  463. package/dist/components/tabs/list.js.map +1 -0
  464. package/dist/components/tabs/panel.d.ts +11 -0
  465. package/dist/components/tabs/panel.js +4 -0
  466. package/dist/components/tabs/panel.js.map +1 -0
  467. package/dist/components/tabs/tab.d.ts +11 -0
  468. package/dist/components/tabs/tab.js +4 -0
  469. package/dist/components/tabs/tab.js.map +1 -0
  470. package/dist/components/text-area-field/context.d.ts +20 -0
  471. package/dist/components/text-area-field/context.js +4 -0
  472. package/dist/components/text-area-field/context.js.map +1 -0
  473. package/dist/components/text-area-field/index.d.ts +3 -13
  474. package/dist/components/text-area-field/index.js +1 -1
  475. package/dist/components/text-area-field/index.js.map +1 -1
  476. package/dist/components/text-field/context.d.ts +17 -0
  477. package/dist/components/text-field/context.js +4 -0
  478. package/dist/components/text-field/context.js.map +1 -0
  479. package/dist/components/text-field/index.d.ts +4 -13
  480. package/dist/components/text-field/index.js +1 -1
  481. package/dist/components/text-field/index.js.map +1 -1
  482. package/dist/components/time-field/index.js +1 -1
  483. package/dist/components/time-field/index.js.map +1 -1
  484. package/dist/components/tooltip/context.d.ts +7 -0
  485. package/dist/components/tooltip/context.js +4 -0
  486. package/dist/components/tooltip/context.js.map +1 -0
  487. package/dist/components/tooltip/index.d.ts +10 -19
  488. package/dist/components/tooltip/index.js +1 -1
  489. package/dist/components/tooltip/index.js.map +1 -1
  490. package/dist/components/tooltip/trigger.d.ts +8 -0
  491. package/dist/components/tooltip/trigger.js +4 -0
  492. package/dist/components/tooltip/trigger.js.map +1 -0
  493. package/dist/components/tooltip/types.d.ts +1 -1
  494. package/dist/components/tree/context.d.ts +18 -0
  495. package/dist/components/tree/context.js +4 -0
  496. package/dist/components/tree/context.js.map +1 -0
  497. package/dist/components/tree/index.d.ts +11 -50
  498. package/dist/components/tree/index.js +1 -1
  499. package/dist/components/tree/index.js.map +1 -1
  500. package/dist/components/tree/item-actions.d.ts +13 -0
  501. package/dist/components/tree/item-actions.js +2 -0
  502. package/dist/components/tree/item-actions.js.map +1 -0
  503. package/dist/components/tree/item-content.d.ts +17 -0
  504. package/dist/components/tree/item-content.js +2 -0
  505. package/dist/components/tree/item-content.js.map +1 -0
  506. package/dist/components/tree/item-description.d.ts +11 -0
  507. package/dist/components/tree/item-description.js +2 -0
  508. package/dist/components/tree/item-description.js.map +1 -0
  509. package/dist/components/tree/item-label.d.ts +11 -0
  510. package/dist/components/tree/item-label.js +2 -0
  511. package/dist/components/tree/item-label.js.map +1 -0
  512. package/dist/components/tree/item-prefix-icon.d.ts +12 -0
  513. package/dist/components/tree/item-prefix-icon.js +2 -0
  514. package/dist/components/tree/item-prefix-icon.js.map +1 -0
  515. package/dist/components/tree/item.d.ts +17 -0
  516. package/dist/components/tree/item.js +4 -0
  517. package/dist/components/tree/item.js.map +1 -0
  518. package/dist/components/tree/lines.d.ts +8 -0
  519. package/dist/components/tree/lines.js +2 -0
  520. package/dist/components/tree/lines.js.map +1 -0
  521. package/dist/components/tree/styles.js +1 -1
  522. package/dist/components/tree/styles.js.map +1 -1
  523. package/dist/components/tree/types.d.ts +1 -1
  524. package/dist/components/view-stack/context.d.ts +31 -0
  525. package/dist/components/view-stack/context.js +4 -0
  526. package/dist/components/view-stack/context.js.map +1 -0
  527. package/dist/components/view-stack/index.d.ts +12 -38
  528. package/dist/components/view-stack/index.js +1 -1
  529. package/dist/components/view-stack/index.js.map +1 -1
  530. package/dist/components/view-stack/trigger.d.ts +16 -0
  531. package/dist/components/view-stack/trigger.js +4 -0
  532. package/dist/components/view-stack/trigger.js.map +1 -0
  533. package/dist/components/view-stack/view.d.ts +16 -0
  534. package/dist/components/view-stack/view.js +4 -0
  535. package/dist/components/view-stack/view.js.map +1 -0
  536. package/dist/hooks/use-tree/state/index.js +2 -0
  537. package/dist/icons/catalog.d.ts +14 -0
  538. package/dist/icons/catalog.js +1 -1
  539. package/dist/icons/catalog.js.map +1 -1
  540. package/dist/index.css +0 -49
  541. package/dist/index.d.ts +143 -44
  542. package/dist/index.js +1 -1
  543. package/dist/metafile-esm.json +1 -1
  544. package/dist/providers/theme-provider.js +1 -1
  545. package/dist/providers/theme-provider.js.map +1 -1
  546. package/dist/styles.css +965 -243
  547. package/dist/tokens/themes.css +1 -1
  548. package/dist/tokens/themes.d.ts +1 -2
  549. package/dist/tokens/tokens.js +1 -1
  550. package/dist/tokens/tokens.js.map +1 -1
  551. package/package.json +98 -95
  552. package/dist/components/query-builder/group.js.map +0 -1
  553. package/dist/components/table/table-body.js +0 -2
  554. package/dist/components/table/table-body.js.map +0 -1
  555. package/dist/components/table/table-cell.js +0 -2
  556. package/dist/components/table/table-cell.js.map +0 -1
  557. package/dist/components/table/table-header-cell.js +0 -2
  558. package/dist/components/table/table-header-cell.js.map +0 -1
  559. package/dist/components/table/table-header.js +0 -2
  560. package/dist/components/table/table-header.js.map +0 -1
  561. package/dist/components/table/table-row.js +0 -2
  562. package/dist/components/table/table-row.js.map +0 -1
  563. package/dist/lib/react.d.ts +0 -59
  564. package/dist/lib/react.js +0 -9
  565. package/dist/lib/react.js.map +0 -1
  566. /package/dist/components/query-builder/{group.d.ts → rule-group.d.ts} +0 -0
  567. /package/dist/components/table/{table-body.d.ts → body.d.ts} +0 -0
  568. /package/dist/components/table/{table-cell.d.ts → cell.d.ts} +0 -0
  569. /package/dist/components/table/{table-header.d.ts → header.d.ts} +0 -0
  570. /package/dist/components/table/{table-row.d.ts → row.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/notice/index.tsx"],"names":["actions","region","description","NoticeIcon","color","Icon","size","f","q","Information","e","A","Warning","D","Problem","H","id","classNames","primary","onPrimaryAction","onClose","notice","ToastContent","content","jsx","Text","K","secondary","Button","ButtonColorMap","shouldCloseOnAction","N","onSecondaryAction","Cancel","matchesMetadata","payload","metadata","key","value","isEqual","W","defaultColor","F","limit","state","useToastQueue","ref","useRef","V","regionProps","useToastRegion","rest","queue","useOn","O","useBus","emitActionPrimary","useEmit","NoticeEventTypes","emitActionSecondary","l","data","uuid","w","defaultTimeout","queuedNotices","dequeue","toast","setHasNotices","j","hideClearAll","hasNotices","po","className","list","b","createElement","Notice","lo","emitClose","global","placement","eo","children","NoticeList"],"mappings":"ivBA0DE,YACA,CAAA,EAAAA,CAAAA,UACAC,CACA,IAAA,CAAA,EAAA,CAASC,OACM,GAEjB,CAAA,MAAA,CAASC,CAAAA,CAAAA,OAAa,CAAAC,EAAQ,iBAAQ,SACpC,SACGC,CAAAA,CAAA,CAAK,MAAMC,CAAAA,gBAAmBC,IAAA,CAAAC,IAAW,CAAA,CAAA,IAAA,CAAA,CACvC,UAAAJ,CAAAA,QAAU,CAAA,OAAW,CAAY,QACvB,CAAA,CAAA,CAAA,GAAA,MAAeK,EAAAC,GAAA,CAAYC,WAAA,CACrCP,EAAAA,CAAAA,CAAU,cAAa,EAAQM,GAAA,CAC/BN,WAAAA,CAAAA,EAAU,cAAcQ,KAAQ,CAAAC,OAChCT,CAAAA,EAAAA,CAAU,cAAeU,EAAAJ,IAAQK,OAAA,CAAA,EAGxC,CAEA,CAAA,CAAA,GAAA,UACE,qBACA,MAAA,CAAA,CAAA,CAAU,MAAA,CAAA,WACJ,CAAA,QAAA,CAAA,4BAEI,CAAA,OAAA,CAAA,SAGL,CAAA,QACLC,CAA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AAA,QACzB,CAAAvE,GAAA,CAAAwE,0BAAAC,CAAAA,QAMF,CAAA,CAAA,KAAOC,CAAAA,CAAAA,CAAAA,QAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,IAAAA,CAAAA,EAAAA","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 { useBus } from '@accelint/bus/react';\nimport { uuid } from '@accelint/core';\nimport {\n Cancel,\n Information,\n Problem,\n Success,\n Warning,\n} from '@accelint/icons';\nimport { useToastRegion } from '@react-aria/toast';\nimport { useToastQueue } from '@react-stately/toast';\nimport { isEqual } from 'lodash';\nimport { useEffect, useMemo, useRef, useState } from 'react';\nimport {\n composeRenderProps,\n type QueuedToast,\n Text,\n UNSTABLE_Toast as Toast,\n UNSTABLE_ToastContent as ToastContent,\n UNSTABLE_ToastList as ToastList,\n UNSTABLE_ToastQueue as ToastQueue,\n UNSTABLE_ToastRegion as ToastRegion,\n UNSTABLE_ToastStateContext as ToastStateContext,\n} from 'react-aria-components';\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport { NoticeEventTypes } from './events';\nimport { NoticeStyles } from './styles';\nimport type { ButtonProps } from '../button/types';\nimport type {\n NoticeActionEvent,\n NoticeColor,\n NoticeContent,\n NoticeDequeueEvent,\n NoticeIconProps,\n NoticeListProps,\n NoticeProps,\n NoticeQueueEvent,\n} from './types';\n\nconst {\n notice,\n content,\n list,\n actions,\n region,\n message: description,\n} = NoticeStyles();\n\nfunction NoticeIcon({ color = 'info', size }: NoticeIconProps) {\n return (\n <Icon size={size === 'small' ? 'medium' : 'large'}>\n {color === 'info' && <Information />}\n {color === 'advisory' && <Information />}\n {color === 'normal' && <Success />}\n {color === 'serious' && <Warning />}\n {color === 'critical' && <Problem />}\n </Icon>\n );\n}\n\nconst ButtonColorMap: Record<NoticeColor, ButtonProps['color']> = {\n normal: 'mono-bold',\n advisory: 'mono-bold',\n info: 'mono-bold',\n serious: 'serious',\n critical: 'critical',\n};\n\nexport function Notice({\n id,\n classNames,\n color = 'info',\n message,\n primary,\n secondary,\n hideIcon,\n showClose,\n shouldCloseOnAction,\n size = 'medium',\n onPrimaryAction,\n onSecondaryAction,\n onClose,\n}: NoticeProps) {\n return (\n <Toast\n className={notice({ className: classNames?.notice })}\n toast={{ key: id, content: message, onClose }}\n data-color={color}\n data-size={size}\n >\n <ToastContent className={content({ className: classNames?.content })}>\n {!hideIcon && size === 'medium' && (\n <NoticeIcon color={color} size={size} />\n )}\n <Text\n slot='description'\n className={description({ className: classNames?.message })}\n >\n {message}\n </Text>\n {(primary || secondary) && (\n <div className={actions({ className: classNames?.actions })}>\n {primary && (\n <Button\n color={ButtonColorMap[color]}\n variant='filled'\n {...primary}\n size={size}\n onPress={() => {\n onPrimaryAction?.();\n\n if (shouldCloseOnAction) {\n onClose?.();\n }\n }}\n />\n )}\n {secondary && (\n <Button\n color={ButtonColorMap[color]}\n variant='outline'\n {...secondary}\n size={size}\n onPress={() => {\n onSecondaryAction?.();\n\n if (shouldCloseOnAction) {\n onClose?.();\n }\n }}\n />\n )}\n </div>\n )}\n {showClose && (\n <Button\n color={ButtonColorMap[color]}\n variant='icon'\n onPress={onClose}\n >\n <Icon>\n <Cancel />\n </Icon>\n </Button>\n )}\n </ToastContent>\n </Toast>\n );\n}\n\nfunction matchesMetadata(\n payload: Record<string, unknown>,\n metadata?: Record<string, unknown>,\n) {\n if (!metadata) {\n return false;\n }\n\n return Object.entries(payload).every(\n ([key, value]) => key in metadata && isEqual(metadata[key], value),\n );\n}\n\nfunction NoticeList({\n id,\n classNames,\n defaultColor,\n defaultTimeout,\n hideClearAll,\n limit = 3,\n global,\n placement,\n size = 'medium',\n ...rest\n}: NoticeListProps) {\n const queue = useMemo(\n () => new ToastQueue<NoticeContent>({ maxVisibleToasts: limit }),\n [limit],\n );\n const state = useToastQueue(queue);\n\n const [hasNotices, setHasNotices] = useState(false);\n const ref = useRef(null);\n const { regionProps } = useToastRegion(rest, queue, ref);\n\n const { useEmit, useOn } = useBus<\n NoticeQueueEvent | NoticeDequeueEvent | NoticeActionEvent\n >();\n const emitActionPrimary = useEmit(NoticeEventTypes.actionPrimary);\n const emitActionSecondary = useEmit(NoticeEventTypes.actionSecondary);\n const emitClose = useEmit(NoticeEventTypes.close);\n\n useOn(NoticeEventTypes.queue, (data) => {\n if ((id && data.payload.target === id) || !id) {\n queue.add(\n {\n ...data.payload,\n id: data.payload.id || uuid(),\n color: defaultColor || data.payload.color,\n },\n {\n timeout: defaultTimeout ?? data.payload.timeout,\n },\n );\n }\n });\n\n useOn(NoticeEventTypes.dequeue, (data) => {\n // @ts-expect-error : queue.queue exists, but is not currently documented\n const queuedNotices = queue.queue;\n\n const dequeue = queuedNotices.filter((toast: QueuedToast<NoticeContent>) =>\n matchesMetadata(data.payload, toast.content),\n );\n\n if (dequeue.length && dequeue.length === queuedNotices.length) {\n queue.clear();\n } else {\n for (const toast of dequeue) {\n queue.close(toast.key);\n }\n }\n });\n\n useEffect(() => {\n queue.subscribe(() => {\n setHasNotices(queue.visibleToasts.length > 0);\n });\n });\n\n const children = (\n <>\n {!hideClearAll && hasNotices && (\n <Button\n className={composeRenderProps(\n classNames?.button,\n (className) => className ?? '',\n )}\n variant='outline'\n onPress={queue.clear}\n >\n Clear All\n </Button>\n )}\n <ToastList\n className={composeRenderProps(classNames?.list, (className) =>\n list({ className }),\n )}\n >\n {({ toast }: { toast: QueuedToast<NoticeContent> }) => (\n <Notice\n {...toast.content}\n key={toast.key}\n showClose={\n !(\n toast.timeout &&\n toast.content.primary &&\n toast.content.secondary\n )\n }\n classNames={classNames?.notice}\n size={size}\n onPrimaryAction={() => emitActionPrimary({ id: toast.content.id })}\n onSecondaryAction={() =>\n emitActionSecondary({ id: toast.content.id })\n }\n onClose={() => {\n toast.onClose?.();\n queue.close(toast.key);\n emitClose({ id: toast.content.id });\n }}\n />\n )}\n </ToastList>\n </>\n );\n\n return global ? (\n <ToastRegion\n className={region({ className: classNames?.region })}\n data-placement={placement}\n queue={queue}\n >\n {children}\n </ToastRegion>\n ) : (\n <div\n {...regionProps}\n className={region({ className: classNames?.region })}\n data-placement={placement}\n ref={ref}\n >\n <ToastStateContext.Provider value={state}>\n {children}\n </ToastStateContext.Provider>\n </div>\n );\n}\n\nNotice.List = NoticeList;\n"]}
1
+ {"version":3,"sources":["../../../src/components/notice/index.tsx"],"names":["actions","description","ButtonColorMap","I","id","classNames","color","primary","size","onPrimaryAction","onClose","notice","ToastContent","content","jsx","o","C","P","secondary","l","Button","a","shouldCloseOnAction","onSecondaryAction","showClose","Icon","Cancel","y","B"],"mappings":"6UA4ByB,KAAAA,CAAAA,MAAS,CAAA,CAAA,CAASC,OAErCC,CAAAA,CAA4D,CAChE,OAAQ,CAAA,CAAA,CAAA,OAAA,CAAA,CACR,CAAA,CAAAC,YAAA,EAAA,CAAA,CAAA,CAAA,CAAU,MAAA,CAAA,WACJ,CAAA,QAAA,CAAA,WACG,CAAA,IAAA,CAAA,WACC,CAAA,OAAA,CAAA,kBAIVC,CAAAA,UACA,CAAA,CAAAC,SACAC,CAAQ,CAAA,CAAA,EAAA,CAAA,CAAA,CACR,UACA,CAAA,CAAA,CAAA,KAAAC,CAAAA,CACA,CAAA,MAAA,CAAA,OACA,CAAA,CAAA,CAAA,OACA,CAAA,CAAA,CAAA,SACA,CAAA,CAAA,CAAA,QAAA,CAAA,CAAA,CAAA,SACA,CAAA,CAAAC,CAAAA,mBACA,CAAA,CAAA,CAAA,IAAAC,CAAAA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A,KAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,EAAAS,GAAA,CAAAM,MAAA,CAAA,CAAA,KACJH,CACJ,CAAA,CAAA,CAAA,CAAA,CAAMV,OACN,CAAA,SACEe,CAAAA,GAEID,CAAAA,CAAAA,KACQ,CAEd,CAAA,OAKPE,CAAAA,IACEJ,CAAA,CACC,IAAA,CAAA,CAAOlB,EAAeI,CAAK,KAC3B,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,EAAAS,GAAA,CAAAM,MACR,CAAA,CAAA,KAAA,CAASX,CAAAA,CAET,CAAA,CAAA,CAAA,OAAAI,CAACW,MACC,CAAA,OAACC,CAAAA,CAAA,CAAA,QAIT,CAAAX,GACF,CAEJY,IAAA,CAAA,CAAA,QAAA,CAAAZ,GAAA,CAAAa,MAAA,CAAA,EAAA,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\n'use client';\n\nimport { Cancel } from '@accelint/icons';\nimport 'client-only';\nimport {\n Text,\n UNSTABLE_Toast as Toast,\n UNSTABLE_ToastContent as ToastContent,\n} from 'react-aria-components';\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport { NoticeIcon } from './notice-icon';\nimport { NoticeStyles } from './styles';\nimport type { ButtonProps } from '../button/types';\nimport type { NoticeColor, NoticeProps } from './types';\n\nconst { notice, content, actions, message: description } = NoticeStyles();\n\nconst ButtonColorMap: Record<NoticeColor, ButtonProps['color']> = {\n normal: 'mono-bold',\n advisory: 'mono-bold',\n info: 'mono-bold',\n serious: 'serious',\n critical: 'critical',\n};\n\nexport function Notice({\n id,\n classNames,\n color = 'info',\n message,\n primary,\n secondary,\n hideIcon,\n showClose,\n shouldCloseOnAction,\n size = 'medium',\n onPrimaryAction,\n onSecondaryAction,\n onClose,\n}: NoticeProps) {\n return (\n <Toast\n className={notice({ className: classNames?.notice })}\n toast={{ key: id, content: message, onClose }}\n data-color={color}\n data-size={size}\n >\n <ToastContent className={content({ className: classNames?.content })}>\n {!hideIcon && size === 'medium' && (\n <NoticeIcon color={color} size={size} />\n )}\n <Text\n slot='description'\n className={description({ className: classNames?.message })}\n >\n {message}\n </Text>\n {(primary || secondary) && (\n <div className={actions({ className: classNames?.actions })}>\n {primary && (\n <Button\n color={ButtonColorMap[color]}\n variant='filled'\n {...primary}\n size={size}\n onPress={() => {\n onPrimaryAction?.();\n\n if (shouldCloseOnAction) {\n onClose?.();\n }\n }}\n />\n )}\n {secondary && (\n <Button\n color={ButtonColorMap[color]}\n variant='outline'\n {...secondary}\n size={size}\n onPress={() => {\n onSecondaryAction?.();\n\n if (shouldCloseOnAction) {\n onClose?.();\n }\n }}\n />\n )}\n </div>\n )}\n {showClose && (\n <Button\n color={ButtonColorMap[color]}\n variant='icon'\n onPress={onClose}\n >\n <Icon>\n <Cancel />\n </Icon>\n </Button>\n )}\n </ToastContent>\n </Toast>\n );\n}\n"]}
@@ -0,0 +1,16 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { NoticeListProps } from './types.js';
3
+ import '@accelint/bus';
4
+ import '@accelint/core';
5
+ import 'react-aria-components';
6
+ import '../button/types.js';
7
+ import 'tailwind-variants';
8
+ import '../../lib/types.js';
9
+ import 'react';
10
+ import '../button/styles.js';
11
+ import 'tailwind-merge';
12
+ import './events.js';
13
+
14
+ declare function NoticeList({ id, classNames, defaultColor, defaultTimeout, hideClearAll, limit, global, placement, size, ...rest }: NoticeListProps): react_jsx_runtime.JSX.Element;
15
+
16
+ export { NoticeList };
@@ -0,0 +1,4 @@
1
+ 'use client';
2
+
3
+ import {jsxs,Fragment,jsx}from'react/jsx-runtime';import {useMemo,useState,useRef,useEffect,createElement}from'react';import {useBus}from'@accelint/bus/react';import {uuid}from'@accelint/core';import {useToastRegion}from'@react-aria/toast';import {useToastQueue}from'@react-stately/toast';import'client-only';import {UNSTABLE_ToastQueue,composeRenderProps,UNSTABLE_ToastList,UNSTABLE_ToastRegion,UNSTABLE_ToastStateContext}from'react-aria-components';import {Button}from'../button/index.js';import {Notice}from'.//index.js';import {NoticeEventTypes}from'./events.js';import {NoticeStyles}from'./styles.js';import {matchesMetadata}from'./utils.js';const{list:J,region:y}=NoticeStyles();function ae({id:s,classNames:t,defaultColor:T,defaultTimeout:v,hideClearAll:g,limit:u=3,global:E,placement:m,size:C="medium",...S}){const o=useMemo(()=>new UNSTABLE_ToastQueue({maxVisibleToasts:u}),[u]),A=useToastQueue(o),[L,P]=useState(false),l=useRef(null),{regionProps:q}=useToastRegion(S,o,l),{useEmit:c,useOn:d}=useBus(),h=c(NoticeEventTypes.actionPrimary),Q=c(NoticeEventTypes.actionSecondary),B=c(NoticeEventTypes.close);d(NoticeEventTypes.queue,e=>{(s&&e.payload.target===s||!s)&&o.add({...e.payload,id:e.payload.id||uuid(),color:T||e.payload.color},{timeout:v??e.payload.timeout});}),d(NoticeEventTypes.dequeue,e=>{const N=o.queue,r=N.filter(a=>matchesMetadata(e.payload,a.content));if(r.length&&r.length===N.length)o.clear();else for(const a of r)o.close(a.key);}),useEffect(()=>{o.subscribe(()=>{P(o.visibleToasts.length>0);});});const p=jsxs(Fragment,{children:[!g&&L&&jsx(Button,{className:composeRenderProps(t?.button,e=>e??""),variant:"outline",onPress:o.clear,children:"Clear All"}),jsx(UNSTABLE_ToastList,{className:composeRenderProps(t?.list,e=>J({className:e})),children:({toast:e})=>createElement(Notice,{...e.content,key:e.key,showClose:!(e.timeout&&e.content.primary&&e.content.secondary),classNames:t?.notice,size:C,onPrimaryAction:()=>h({id:e.content.id}),onSecondaryAction:()=>Q({id:e.content.id}),onClose:()=>{e.onClose?.(),o.close(e.key),B({id:e.content.id});}})})]});return E?jsx(UNSTABLE_ToastRegion,{className:y({className:t?.region}),"data-placement":m,queue:o,children:p}):jsx("div",{...q,className:y({className:t?.region}),"data-placement":m,ref:l,children:jsx(UNSTABLE_ToastStateContext.Provider,{value:A,children:p})})}export{ae as NoticeList};//# sourceMappingURL=list.js.map
4
+ //# sourceMappingURL=list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/notice/list.tsx"],"names":["NoticeList","id","classNames","defaultColor","defaultTimeout","hideClearAll","global","placement","size","rest","queue","useMemo","limit","_","useToastQueue","useRef","regionProps","useToastRegion","ref","useBus","k","emitActionPrimary","useEmit","NoticeEventTypes","useOn","data","i","uuid","b","dequeue","queuedNotices","toast","matchesMetadata","I","setHasNotices","U","hasNotices","jsx","Button","X","W","composeRenderProps","className","V","ToastList","list","n","M","f","K","F","ToastRegion","region","H","state","children","O"],"mappings":"uoBA2CO,KAASA,CAAAA,IACd,CAAAC,CAAAA,CACA,sBAAAC,EACA,CAAA,SAAA,EAAA,CAAAC,CAAAA,EACA,CAAA,CAAA,CAAA,UAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,EACA,cACA,CAAA,CAAA,CAAAC,YACAC,EACA,CAAA,KAAAC,CAAO,CAAA,CAAA,CAAA,CAAA,MACP,CAAA,CAAGC,CACL,SACQC,CAAAA,CAAQC,KACZ,CAAM,CAAA,CAAA,QAAgC,CAAA,GAAA,CAAA,CAAA,CAAA,CAAA,MAAkBC,CAAM,CAACC,OAAA,CAC/D,IACF,IACcC,mBAAcJ,CAAK,iBAGrBK,CAAO,IAAI,CAAA,CACjB,CAAE,wBAAAC,CAAY,CAAA,CAAIC,QAAAA,CAAeR,KAAMC,CAAAA,CAAOQ,CAAG,OAEjD,CAAE,IAAA,CAAA,CAAA,CAAA,WAAe,CAA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AAO,SAClD,CAAA,CAAA,CAAA,CAAA,SACA,IAAKgB,MAEL,CAAA,CAAA,CAAA,gBAA4B,MAAOoC,CAAAA,CAChC,CAAA,QAAAC,CAAAA,GACH,CAAAC,0BACF,CAEJ,QAAA,CAAA,CAAA,KAAA,CAAA,CAAA,CAAA,QAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA","file":"list.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 { useBus } from '@accelint/bus/react';\nimport { uuid } from '@accelint/core';\nimport { useToastRegion } from '@react-aria/toast';\nimport { useToastQueue } from '@react-stately/toast';\nimport 'client-only';\nimport { useEffect, useMemo, useRef, useState } from 'react';\nimport {\n composeRenderProps,\n type QueuedToast,\n UNSTABLE_ToastList as ToastList,\n UNSTABLE_ToastQueue as ToastQueue,\n UNSTABLE_ToastRegion as ToastRegion,\n UNSTABLE_ToastStateContext as ToastStateContext,\n} from 'react-aria-components';\nimport { Button } from '../button';\nimport { Notice } from './';\nimport { NoticeEventTypes } from './events';\nimport { NoticeStyles } from './styles';\nimport { matchesMetadata } from './utils';\nimport type {\n NoticeActionEvent,\n NoticeContent,\n NoticeDequeueEvent,\n NoticeListProps,\n NoticeQueueEvent,\n} from './types';\n\nconst { list, region } = NoticeStyles();\n\nexport function NoticeList({\n id,\n classNames,\n defaultColor,\n defaultTimeout,\n hideClearAll,\n limit = 3,\n global,\n placement,\n size = 'medium',\n ...rest\n}: NoticeListProps) {\n const queue = useMemo(\n () => new ToastQueue<NoticeContent>({ maxVisibleToasts: limit }),\n [limit],\n );\n const state = useToastQueue(queue);\n\n const [hasNotices, setHasNotices] = useState(false);\n const ref = useRef(null);\n const { regionProps } = useToastRegion(rest, queue, ref);\n\n const { useEmit, useOn } = useBus<\n NoticeQueueEvent | NoticeDequeueEvent | NoticeActionEvent\n >();\n const emitActionPrimary = useEmit(NoticeEventTypes.actionPrimary);\n const emitActionSecondary = useEmit(NoticeEventTypes.actionSecondary);\n const emitClose = useEmit(NoticeEventTypes.close);\n\n useOn(NoticeEventTypes.queue, (data) => {\n if ((id && data.payload.target === id) || !id) {\n queue.add(\n {\n ...data.payload,\n id: data.payload.id || uuid(),\n color: defaultColor || data.payload.color,\n },\n {\n timeout: defaultTimeout ?? data.payload.timeout,\n },\n );\n }\n });\n\n useOn(NoticeEventTypes.dequeue, (data) => {\n // @ts-expect-error : queue.queue exists, but is not currently documented\n const queuedNotices = queue.queue;\n\n const dequeue = queuedNotices.filter((toast: QueuedToast<NoticeContent>) =>\n matchesMetadata(data.payload, toast.content),\n );\n\n if (dequeue.length && dequeue.length === queuedNotices.length) {\n queue.clear();\n } else {\n for (const toast of dequeue) {\n queue.close(toast.key);\n }\n }\n });\n\n useEffect(() => {\n queue.subscribe(() => {\n setHasNotices(queue.visibleToasts.length > 0);\n });\n });\n\n const children = (\n <>\n {!hideClearAll && hasNotices && (\n <Button\n className={composeRenderProps(\n classNames?.button,\n (className) => className ?? '',\n )}\n variant='outline'\n onPress={queue.clear}\n >\n Clear All\n </Button>\n )}\n <ToastList\n className={composeRenderProps(classNames?.list, (className) =>\n list({ className }),\n )}\n >\n {({ toast }: { toast: QueuedToast<NoticeContent> }) => (\n <Notice\n {...toast.content}\n key={toast.key}\n showClose={\n !(\n toast.timeout &&\n toast.content.primary &&\n toast.content.secondary\n )\n }\n classNames={classNames?.notice}\n size={size}\n onPrimaryAction={() => emitActionPrimary({ id: toast.content.id })}\n onSecondaryAction={() =>\n emitActionSecondary({ id: toast.content.id })\n }\n onClose={() => {\n toast.onClose?.();\n queue.close(toast.key);\n emitClose({ id: toast.content.id });\n }}\n />\n )}\n </ToastList>\n </>\n );\n\n return global ? (\n <ToastRegion\n className={region({ className: classNames?.region })}\n data-placement={placement}\n queue={queue}\n >\n {children}\n </ToastRegion>\n ) : (\n <div\n {...regionProps}\n className={region({ className: classNames?.region })}\n data-placement={placement}\n ref={ref}\n >\n <ToastStateContext.Provider value={state}>\n {children}\n </ToastStateContext.Provider>\n </div>\n );\n}\n"]}
@@ -0,0 +1,16 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { NoticeIconProps } from './types.js';
3
+ import '@accelint/bus';
4
+ import '@accelint/core';
5
+ import 'react-aria-components';
6
+ import '../button/types.js';
7
+ import 'tailwind-variants';
8
+ import '../../lib/types.js';
9
+ import 'react';
10
+ import '../button/styles.js';
11
+ import 'tailwind-merge';
12
+ import './events.js';
13
+
14
+ declare function NoticeIcon({ color, size }: NoticeIconProps): react_jsx_runtime.JSX.Element;
15
+
16
+ export { NoticeIcon };
@@ -0,0 +1,4 @@
1
+ 'use client';
2
+
3
+ import {jsxs,jsx}from'react/jsx-runtime';import'client-only';import {Information,Success,Warning,Problem}from'@accelint/icons';import {Icon}from'../icon/index.js';function I({color:o="info",size:r}){return jsxs(Icon,{size:r==="small"?"medium":"large",children:[o==="info"&&jsx(Information,{}),o==="advisory"&&jsx(Information,{}),o==="normal"&&jsx(Success,{}),o==="serious"&&jsx(Warning,{}),o==="critical"&&jsx(Problem,{})]})}export{I as NoticeIcon};//# sourceMappingURL=notice-icon.js.map
4
+ //# sourceMappingURL=notice-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/notice/notice-icon.tsx"],"names":["color","jsxs","Icon","size","Information","n","jsx","t","m","i","e"],"mappings":"4KAmB6BA,CAAQ,CAAA,CAAA,KAAQ,SAC3C,CAAA,IAAA,CAAA,CACEC,EAACC,CAAAA,OAAWC,IAAAA,CAAAA,IAAAA,CAAS,CAAA,IAAA,CAAA,CAAA,GAAU,OAAW,CAAA,QACvC,CAAA,OAAA,CAAAH,QAAU,CAAA,CAAA,CAAA,GAAWI,MACrBJ,EAAAA,GAAAA,CAAUK,WAAA,CAAA,EAAA,CAAA,CAAA,CAAA,GAAA,UACVL,EAAAA,GAAAA,CAAUK,WAAA,CAAA,EAAA,CAAA,CAAA,CAAA,GAAYC,QACtBN,EAAAA,GAAAA,CAAUO,yBACVP,MAAUQ,OAAA,CAAA,EAAA,CAAA,CAAA,CAAA,GAAA,YAGjBC,GAAA,CAAAC,OAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA","file":"notice-icon.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 { Information, Problem, Success, Warning } from '@accelint/icons';\nimport { Icon } from '../icon';\nimport type { NoticeIconProps } from './types';\n\nexport function NoticeIcon({ color = 'info', size }: NoticeIconProps) {\n return (\n <Icon size={size === 'small' ? 'medium' : 'large'}>\n {color === 'info' && <Information />}\n {color === 'advisory' && <Information />}\n {color === 'normal' && <Success />}\n {color === 'serious' && <Warning />}\n {color === 'critical' && <Problem />}\n </Icon>\n );\n}\n"]}
@@ -4,9 +4,9 @@ import * as tailwind_merge from 'tailwind-merge';
4
4
  declare const NoticeStyles: tailwind_variants.TVReturnType<{
5
5
  [key: string]: {
6
6
  [key: string]: tailwind_merge.ClassNameValue | {
7
- content?: tailwind_merge.ClassNameValue;
8
7
  list?: tailwind_merge.ClassNameValue;
9
8
  region?: tailwind_merge.ClassNameValue;
9
+ content?: tailwind_merge.ClassNameValue;
10
10
  message?: tailwind_merge.ClassNameValue;
11
11
  actions?: tailwind_merge.ClassNameValue;
12
12
  notice?: tailwind_merge.ClassNameValue;
@@ -15,9 +15,9 @@ declare const NoticeStyles: tailwind_variants.TVReturnType<{
15
15
  } | {
16
16
  [x: string]: {
17
17
  [x: string]: tailwind_merge.ClassNameValue | {
18
- content?: tailwind_merge.ClassNameValue;
19
18
  list?: tailwind_merge.ClassNameValue;
20
19
  region?: tailwind_merge.ClassNameValue;
20
+ content?: tailwind_merge.ClassNameValue;
21
21
  message?: tailwind_merge.ClassNameValue;
22
22
  actions?: tailwind_merge.ClassNameValue;
23
23
  notice?: tailwind_merge.ClassNameValue;
@@ -33,9 +33,9 @@ declare const NoticeStyles: tailwind_variants.TVReturnType<{
33
33
  }, undefined, {
34
34
  [key: string]: {
35
35
  [key: string]: tailwind_merge.ClassNameValue | {
36
- content?: tailwind_merge.ClassNameValue;
37
36
  list?: tailwind_merge.ClassNameValue;
38
37
  region?: tailwind_merge.ClassNameValue;
38
+ content?: tailwind_merge.ClassNameValue;
39
39
  message?: tailwind_merge.ClassNameValue;
40
40
  actions?: tailwind_merge.ClassNameValue;
41
41
  notice?: tailwind_merge.ClassNameValue;
@@ -0,0 +1,3 @@
1
+ declare function matchesMetadata(payload: Record<string, unknown>, metadata?: Record<string, unknown>): boolean;
2
+
3
+ export { matchesMetadata };
@@ -0,0 +1,4 @@
1
+ 'use client';
2
+
3
+ import'client-only';import {isEqual}from'radashi';function u(e,n){return n?Object.entries(e).every(([r,i])=>r in n&&isEqual(n[r],i)):false}export{u as matchesMetadata};//# sourceMappingURL=utils.js.map
4
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/notice/utils.ts"],"names":["matchesMetadata","payload","metadata","key","value","isEqual"],"mappings":"kDAiBO,SAASA,CAAAA,CACdC,CAAAA,CACAC,CAAAA,CACA,CACA,OAAKA,CAAAA,CAIE,OAAO,OAAA,CAAQD,CAAO,CAAA,CAAE,KAAA,CAC7B,CAAC,CAACE,CAAAA,CAAKC,CAAK,IAAMD,CAAAA,IAAOD,CAAAA,EAAYG,OAAAA,CAAQH,CAAAA,CAASC,CAAG,CAAA,CAAGC,CAAK,CACnE,EALS,KAMX","file":"utils.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 { isEqual } from 'radashi';\n\nexport function matchesMetadata(\n payload: Record<string, unknown>,\n metadata?: Record<string, unknown>,\n) {\n if (!metadata) {\n return false;\n }\n\n return Object.entries(payload).every(\n ([key, value]) => key in metadata && isEqual(metadata[key], value),\n );\n}\n"]}
@@ -0,0 +1,8 @@
1
+ import * as react from 'react';
2
+ import { ContextValue } from 'react-aria-components';
3
+ import { OptionsProps, OptionsDataItem } from './types.js';
4
+ import '../icon/types.js';
5
+
6
+ declare const OptionsContext: react.Context<ContextValue<OptionsProps<OptionsDataItem>, HTMLDivElement>>;
7
+
8
+ export { OptionsContext };
@@ -0,0 +1,4 @@
1
+ 'use client';
2
+
3
+ import'client-only';import {createContext}from'react';const p=createContext(null);export{p as OptionsContext};//# sourceMappingURL=context.js.map
4
+ //# sourceMappingURL=context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/options/context.tsx"],"names":["OptionsContext","createContext"],"mappings":"sDAkBO,MAAMA,CAAAA,CACXC,cACE,IACF","file":"context.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 { createContext } from 'react';\nimport type { ContextValue } from 'react-aria-components';\nimport type { OptionsDataItem, OptionsProps } from './types';\n\nexport const OptionsContext =\n createContext<ContextValue<OptionsProps<OptionsDataItem>, HTMLDivElement>>(\n null,\n );\n"]}
@@ -1,33 +1,9 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as react from 'react';
3
- import { ContextValue } from 'react-aria-components';
4
- import { OptionsDataItem, OptionsProps, OptionsItemProps, OptionsItemTextProps, OptionsSectionProps } from './types.js';
2
+ import { OptionsDataItem, OptionsProps } from './types.js';
3
+ import 'react';
4
+ import 'react-aria-components';
5
5
  import '../icon/types.js';
6
6
 
7
- declare const OptionsContext: react.Context<ContextValue<OptionsProps<OptionsDataItem>, HTMLDivElement>>;
8
- declare function OptionsSection<T extends OptionsDataItem>({ children, classNames, header, items, }: OptionsSectionProps<T>): react_jsx_runtime.JSX.Element;
9
- declare namespace OptionsSection {
10
- var displayName: string;
11
- }
12
- declare function OptionsItemContent({ className, ...rest }: OptionsItemTextProps): react_jsx_runtime.JSX.Element;
13
- declare namespace OptionsItemContent {
14
- var displayName: string;
15
- }
16
- declare function OptionsItemLabel({ className, ...rest }: OptionsItemTextProps): react_jsx_runtime.JSX.Element;
17
- declare namespace OptionsItemLabel {
18
- var displayName: string;
19
- }
20
- declare function OptionsItemDescription({ className, ...rest }: OptionsItemTextProps): react_jsx_runtime.JSX.Element;
21
- declare namespace OptionsItemDescription {
22
- var displayName: string;
23
- }
24
- declare function OptionsItem<T extends OptionsDataItem>({ children, classNames, color, textValue, ...rest }: OptionsItemProps<T>): react_jsx_runtime.JSX.Element;
25
- declare namespace OptionsItem {
26
- var displayName: string;
27
- var Label: typeof OptionsItemLabel;
28
- var Content: typeof OptionsItemContent;
29
- var Description: typeof OptionsItemDescription;
30
- }
31
7
  /**
32
8
  * Options - A flexible list component for selectable items with rich content
33
9
  *
@@ -38,42 +14,37 @@ declare namespace OptionsItem {
38
14
  * @example
39
15
  * // Basic options list
40
16
  * <Options>
41
- * <Options.Item>
42
- * <Options.Item.Label>Option 1</Options.Item.Label>
43
- * </Options.Item>
44
- * <Options.Item>
45
- * <Options.Item.Label>Option 2</Options.Item.Label>
46
- * </Options.Item>
17
+ * <OptionsItem>
18
+ * <OptionsItemLabel>Option 1</OptionsItemLabel>
19
+ * </OptionsItem>
20
+ * <OptionsItem>
21
+ * <OptionsItemLabel>Option 2</OptionsItemLabel>
22
+ * </OptionsItem>
47
23
  * </Options>
48
24
  *
49
25
  * @example
50
26
  * // Options with descriptions and icons
51
27
  * <Options>
52
- * <Options.Item>
28
+ * <OptionsItem>
53
29
  * <Icon><User /></Icon>
54
- * <Options.Item.Content>
55
- * <Options.Item.Label>John Doe</Options.Item.Label>
56
- * <Options.Item.Description>Senior Developer</Options.Item.Description>
57
- * </Options.Item.Content>
58
- * </Options.Item>
30
+ * <OptionsItemContent>
31
+ * <OptionsItemLabel>John Doe</OptionsItemLabel>
32
+ * <OptionsItemDescription>Senior Developer</OptionsItemDescription>
33
+ * </OptionsItemContent>
34
+ * </OptionsItem>
59
35
  * </Options>
60
36
  *
61
37
  * @example
62
38
  * // Sectioned options
63
39
  * <Options>
64
- * <Options.Section header="Recent">
65
- * <Options.Item>Recent Item 1</Options.Item>
66
- * </Options.Section>
67
- * <Options.Section header="All Items">
68
- * <Options.Item>All Items 1</Options.Item>
69
- * </Options.Section>
40
+ * <OptionsSection header="Recent">
41
+ * <OptionsItem>Recent Item 1</OptionsItem>
42
+ * </OptionsSection>
43
+ * <OptionsSection header="All Items">
44
+ * <OptionsItem>All Items 1</OptionsItem>
45
+ * </OptionsSection>
70
46
  * </Options>
71
47
  */
72
48
  declare function Options<T extends OptionsDataItem>({ ref, ...props }: OptionsProps<T>): react_jsx_runtime.JSX.Element;
73
- declare namespace Options {
74
- var displayName: string;
75
- var Item: typeof OptionsItem;
76
- var Section: typeof OptionsSection;
77
- }
78
49
 
79
- export { Options, OptionsContext };
50
+ export { Options };
@@ -1,4 +1,4 @@
1
1
  'use client';
2
2
 
3
- import {jsx,jsxs}from'react/jsx-runtime';import'client-only';import {createContext}from'react';import {useContextProps,ListBox,composeRenderProps,ListBoxSection,Header,Collection,Text,ListBoxItem}from'react-aria-components';import {Icon}from'../icon/index.js';import {OptionsStyles}from'./styles.js';const {list:S,section:b,header:B,item:v,content:z,icon:H,label:V,description:g}=OptionsStyles(),E=createContext(null);function O({children:t,classNames:e,header:n,items:i}){return jsxs(ListBoxSection,{id:n,className:b({className:e?.section}),children:[jsx(Header,{className:B({className:e?.header}),children:n}),jsx(Collection,{items:i,children:t})]})}O.displayName="Options.Section";function I({className:t,...e}){return jsx("div",{...e,className:z({className:t})})}I.displayName="Options.Item.Content";function r({className:t,...e}){return jsx(Text,{...e,slot:"label",className:V({className:t})})}r.displayName="Options.Item.Label";function x({className:t,...e}){return jsx(Text,{...e,slot:"description",className:g({className:t})})}x.displayName="Options.Item.Description";function p({children:t,classNames:e,color:n="info",textValue:i=typeof t=="string"?t:"",...a}){return jsx(ListBoxItem,{...a,className:composeRenderProps(e?.item,s=>v({className:s})),textValue:i,"data-color":n,children:composeRenderProps(t,s=>jsx(Icon.Provider,{className:H({className:e?.icon}),size:"small",children:typeof s=="string"?jsx(r,{children:s}):s}))})}p.displayName="Options.Item",p.Label=r,p.Content=I,p.Description=x;function l({ref:t,...e}){[e,t]=useContextProps(e,t??null,E);const{children:n,className:i,size:a,...s}=e;return jsx(ListBox,{...s,ref:t,className:composeRenderProps(i,d=>S({className:d})),"data-size":a,children:n})}l.displayName="Options",l.Item=p,l.Section=O;export{l as Options,E as OptionsContext};//# sourceMappingURL=index.js.map
3
+ import {jsx}from'react/jsx-runtime';import'client-only';import {useContextProps,ListBox,composeRenderProps}from'react-aria-components';import {OptionsContext}from'./context.js';import {OptionsStyles}from'./styles.js';const{list:O}=OptionsStyles();function y({ref:t,...o}){[o,t]=useContextProps(o,t??null,OptionsContext);const{children:s,className:e,size:i,...n}=o;return jsx(ListBox,{...n,ref:t,className:composeRenderProps(e,p=>O({className:p})),"data-size":i,children:s})}export{y as Options};//# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/options/index.tsx"],"names":["item","label","description","D","u","classNames","ListBoxSection","M","y","section","jsx","Header","o","headerClassNames","items","N","className","c","T","textValue","color","children","m","OptionsItemLabel","OptionsItemContent","OptionsItem","OptionsItemDescription","props","useContextProps","ref","OptionsContext","C","ListBox","f","composeRenderProps","size","Options","OptionsSection"],"mappings":"4SAsCE,MAAA,CAAA,IACA,CAAA,CAAA,CAAA,OACA,CAAA,CAAA,CAAAA,aAEA,CAAA,CAAA,CAAA,OACA,CAAA,CAAAC,CAAAA,IACA,CAAA,CAAA,CAAA,KAAA,CAAAC,CACF,YAII,CAAA,CACF,EAEFC,aAAA,EAAA,CAAA,CAAA,CAAAC,aAAA,CAAA,IACE,EAAA,SACA,CAAA,CAAA,CAAA,QAAAC,CAAAA,CACA,WACA,CAAA,CAAA,CAAA,MAEA,CAAA,CAAA,CAAA,KACGC,EAAA,CACC,CAAA,CAAA,OACAC,IAAA,CAAAC,cAAA,CAAA,CAAA,EAAWC,CAAQ,CAAE,CAAA,SAAWJ,CAAAA,CAAAA,CAAY,CAAA,SAE5C,CAAA,CAAA,EAAA,OAAAK,CAACC,EAAA,QAAO,CAAA,CAAAC,GAAWC,OAAiB,CAAE,CAAA,SAAWR,CAAAA,CAAAA,CAAY,CAAA,SAC1D,CAAA,CAAA,EAAA,MACH,CAAA,CACAK,CAAAA,QAAY,CAAA,CAAOI,CAAAA,C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,CAAAA,CAAAA,CAAY,CAAA,SACzC,CAAA,CAAK,QAEJ,CAAA,IAAA,CAAA,OAAA,CAAA,QAAoB,CAAA,OAClBkB,GAAkB,QAAA,CAAAF,IAAS,CAAA,CAE5BA,CAAAA,QAOA,YAAc,CAAA,CAAA,WAAA,CAAA,sBAEJG,CACtBC,CAAAA,CAAY,CAAA,CAAA,OAAA,CAAA,CAAA,CAAcC,CAAAA,CA2CnB,WAA4C,CACjD,WAEF,CAAoB,CAClB,CAACC,GAAU,CAAA,CAAIC,CAAAA,GAAuBC,CAAAA,CAAAA,CAAO,CAAA,CAAA,CAAA,CAAA,CAAMC,CAAc,CAAAC,eAEjE,CAAA,CAAA,CAAA,CAAA,EAAQ,IAAA,CAAA,CAAA,CAAA,CAAA,KAAU,CAAA,QAAAf,CAAW,WAAc,CAAA,CAAIW,CAAAA,IAE/C,CAAA,CAAA,CAAA,GACGK,EAAA,CACE,CAAA,CAAA,OACIH,GAAAA,CACLI,iBAAWC,CAAmBlB,CAAAA,CAAYA,SACjC,CAAAM,kBAAA,CAAA,CAAA,CAAA,CAAA,EAAU,CAAC,CACpB,CAAA,aACWa,CAAAA,CAEV,WACH,CAEJ,CACAC,SAAQ,CAAA,CAAA,CAAA,CAAA,CAAc,CAAA,CAAA,WACd,CAAA,SACA,CAAA,CAAA,CAAA,IAAUC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,OAAAA,CAAAA,CAAAA","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 { createContext } from 'react';\nimport {\n Collection,\n type ContextValue,\n composeRenderProps,\n Header,\n ListBox,\n ListBoxItem,\n ListBoxSection,\n Text,\n useContextProps,\n} from 'react-aria-components';\nimport { Icon } from '../icon';\nimport { OptionsStyles } from './styles';\nimport type {\n OptionsDataItem,\n OptionsItemProps,\n OptionsItemTextProps,\n OptionsProps,\n OptionsSectionProps,\n} from './types';\n\nconst {\n list,\n section,\n header: headerClassNames,\n item,\n content,\n icon,\n label,\n description,\n} = OptionsStyles();\n\nexport const OptionsContext =\n createContext<ContextValue<OptionsProps<OptionsDataItem>, HTMLDivElement>>(\n null,\n );\n\nfunction OptionsSection<T extends OptionsDataItem>({\n children,\n classNames,\n header,\n items,\n}: OptionsSectionProps<T>) {\n return (\n <ListBoxSection\n id={header}\n className={section({ className: classNames?.section })}\n >\n <Header className={headerClassNames({ className: classNames?.header })}>\n {header}\n </Header>\n <Collection items={items}>{children}</Collection>\n </ListBoxSection>\n );\n}\nOptionsSection.displayName = 'Options.Section';\n\nfunction OptionsItemContent({ className, ...rest }: OptionsItemTextProps) {\n return <div {...rest} className={content({ className })} />;\n}\nOptionsItemContent.displayName = 'Options.Item.Content';\n\nfunction OptionsItemLabel({ className, ...rest }: OptionsItemTextProps) {\n return <Text {...rest} slot='label' className={label({ className })} />;\n}\nOptionsItemLabel.displayName = 'Options.Item.Label';\n\nfunction OptionsItemDescription({ className, ...rest }: OptionsItemTextProps) {\n return (\n <Text {...rest} slot='description' className={description({ className })} />\n );\n}\nOptionsItemDescription.displayName = 'Options.Item.Description';\n\nfunction OptionsItem<T extends OptionsDataItem>({\n children,\n classNames,\n color = 'info',\n textValue = typeof children === 'string' ? children : '',\n ...rest\n}: OptionsItemProps<T>) {\n return (\n <ListBoxItem\n {...rest}\n className={composeRenderProps(classNames?.item, (className) =>\n item({ className }),\n )}\n textValue={textValue}\n data-color={color}\n >\n {composeRenderProps(children, (children) => (\n <Icon.Provider\n className={icon({ className: classNames?.icon })}\n size='small'\n >\n {typeof children === 'string' ? (\n <OptionsItemLabel>{children}</OptionsItemLabel>\n ) : (\n children\n )}\n </Icon.Provider>\n ))}\n </ListBoxItem>\n );\n}\nOptionsItem.displayName = 'Options.Item';\nOptionsItem.Label = OptionsItemLabel;\nOptionsItem.Content = OptionsItemContent;\nOptionsItem.Description = OptionsItemDescription;\n\n/**\n * Options - A flexible list component for selectable items with rich content\n *\n * Provides accessible list functionality with support for selection, sections,\n * and rich item content including labels, descriptions, and icons. Perfect for\n * dropdown lists, menu items, or any selectable list interface.\n *\n * @example\n * // Basic options list\n * <Options>\n * <Options.Item>\n * <Options.Item.Label>Option 1</Options.Item.Label>\n * </Options.Item>\n * <Options.Item>\n * <Options.Item.Label>Option 2</Options.Item.Label>\n * </Options.Item>\n * </Options>\n *\n * @example\n * // Options with descriptions and icons\n * <Options>\n * <Options.Item>\n * <Icon><User /></Icon>\n * <Options.Item.Content>\n * <Options.Item.Label>John Doe</Options.Item.Label>\n * <Options.Item.Description>Senior Developer</Options.Item.Description>\n * </Options.Item.Content>\n * </Options.Item>\n * </Options>\n *\n * @example\n * // Sectioned options\n * <Options>\n * <Options.Section header=\"Recent\">\n * <Options.Item>Recent Item 1</Options.Item>\n * </Options.Section>\n * <Options.Section header=\"All Items\">\n * <Options.Item>All Items 1</Options.Item>\n * </Options.Section>\n * </Options>\n */\nexport function Options<T extends OptionsDataItem>({\n ref,\n ...props\n}: OptionsProps<T>) {\n [props, ref] = useContextProps(props, ref ?? null, OptionsContext);\n\n const { children, className, size, ...rest } = props;\n\n return (\n <ListBox<T>\n {...rest}\n ref={ref}\n className={composeRenderProps(className, (className) =>\n list({ className }),\n )}\n data-size={size}\n >\n {children}\n </ListBox>\n );\n}\nOptions.displayName = 'Options';\nOptions.Item = OptionsItem;\nOptions.Section = OptionsSection;\n"]}
1
+ {"version":3,"sources":["../../../src/components/options/index.tsx"],"names":["OptionsStyles","c","props","useContextProps","ref","a","OptionsContext","l","size","jsx","rest","m","list"],"mappings":"yNAuBQ,KAAK,CAAIA,IA2CV,CAAA,CAAA,CAAA,CAAAC,aAAA,EAAA,CAAA,UAEL,CAAA,CAAA,IACkB,CAClB,CAACC,GAAU,CAAA,CAAIC,CAAAA,CAAgBD,CAAAA,CAAOE,GAAO,CAAAC,eAAA,CAAA,CAAA,CAAMC,CAAc,EAEjE,IAAA,CAAMC,cAAE,CAAA,CAAA,KAAA,CAAA,QAAU,CAAA,CAAA,CAAA,SAAWC,CAAAA,CAAM,CAAA,IAAQ,CAAIN,CAAAA,CAE/C,OACEO,CAAAA,OACMC,IACJC,OAAA,CAAA,CAAA,GACA,iBACEC,CAAAA,kBAAK,CAAE,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,CAAA,0BAIR,CAAA,CAAA,CAAA,QAGP,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 {\n composeRenderProps,\n ListBox,\n useContextProps,\n} from 'react-aria-components';\nimport { OptionsContext } from './context';\nimport { OptionsStyles } from './styles';\nimport type { OptionsDataItem, OptionsProps } from './types';\n\nconst { list } = OptionsStyles();\n\n/**\n * Options - A flexible list component for selectable items with rich content\n *\n * Provides accessible list functionality with support for selection, sections,\n * and rich item content including labels, descriptions, and icons. Perfect for\n * dropdown lists, menu items, or any selectable list interface.\n *\n * @example\n * // Basic options list\n * <Options>\n * <OptionsItem>\n * <OptionsItemLabel>Option 1</OptionsItemLabel>\n * </OptionsItem>\n * <OptionsItem>\n * <OptionsItemLabel>Option 2</OptionsItemLabel>\n * </OptionsItem>\n * </Options>\n *\n * @example\n * // Options with descriptions and icons\n * <Options>\n * <OptionsItem>\n * <Icon><User /></Icon>\n * <OptionsItemContent>\n * <OptionsItemLabel>John Doe</OptionsItemLabel>\n * <OptionsItemDescription>Senior Developer</OptionsItemDescription>\n * </OptionsItemContent>\n * </OptionsItem>\n * </Options>\n *\n * @example\n * // Sectioned options\n * <Options>\n * <OptionsSection header=\"Recent\">\n * <OptionsItem>Recent Item 1</OptionsItem>\n * </OptionsSection>\n * <OptionsSection header=\"All Items\">\n * <OptionsItem>All Items 1</OptionsItem>\n * </OptionsSection>\n * </Options>\n */\nexport function Options<T extends OptionsDataItem>({\n ref,\n ...props\n}: OptionsProps<T>) {\n [props, ref] = useContextProps(props, ref ?? null, OptionsContext);\n\n const { children, className, size, ...rest } = props;\n\n return (\n <ListBox<T>\n {...rest}\n ref={ref}\n className={composeRenderProps(className, (className) =>\n list({ className }),\n )}\n data-size={size}\n >\n {children}\n </ListBox>\n );\n}\n"]}
@@ -0,0 +1,9 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { OptionsItemTextProps } from './types.js';
3
+ import 'react';
4
+ import 'react-aria-components';
5
+ import '../icon/types.js';
6
+
7
+ declare function OptionsItemContent({ className, ...rest }: OptionsItemTextProps): react_jsx_runtime.JSX.Element;
8
+
9
+ export { OptionsItemContent };
@@ -0,0 +1,4 @@
1
+ 'use client';
2
+
3
+ import {jsx}from'react/jsx-runtime';import'client-only';import {OptionsStyles}from'./styles.js';const{content:n}=OptionsStyles();function m({className:t,...o}){return jsx("div",{...o,className:n({className:t})})}export{m as OptionsItemContent};//# sourceMappingURL=item-content.js.map
4
+ //# sourceMappingURL=item-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/options/item-content.tsx"],"names":["OptionsStyles","e","rest","p"],"mappings":"gGAiBA,aAAoBA,CAAAA,CAAc,CAAA,CAE3BC,yBACL,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":"item-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 { OptionsStyles } from './styles';\nimport type { OptionsItemTextProps } from './types';\n\nconst { content } = OptionsStyles();\n\nexport function OptionsItemContent({\n className,\n ...rest\n}: OptionsItemTextProps) {\n return <div {...rest} className={content({ className })} />;\n}\n"]}
@@ -0,0 +1,9 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { OptionsItemTextProps } from './types.js';
3
+ import 'react';
4
+ import 'react-aria-components';
5
+ import '../icon/types.js';
6
+
7
+ declare function OptionsItemDescription({ className, ...rest }: OptionsItemTextProps): react_jsx_runtime.JSX.Element;
8
+
9
+ export { OptionsItemDescription };
@@ -0,0 +1,4 @@
1
+ 'use client';
2
+
3
+ import {jsx}from'react/jsx-runtime';import'client-only';import {Text}from'react-aria-components';import {OptionsStyles}from'./styles.js';const{description:i}=OptionsStyles();function c({className:t,...o}){return jsx(Text,{...o,slot:"description",className:i({className:t})})}export{c as OptionsItemDescription};//# sourceMappingURL=item-description.js.map
4
+ //# sourceMappingURL=item-description.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/options/item-description.tsx"],"names":["OptionsStyles","e","rest","s","p"],"mappings":"8IAkBQ,CAAA,WAAgBA,CAAAA,CAAc,EAE/BC,aAAA,EAAA,CAAA,SACL,CAAA,CAAA,CAAA,WACGC,CACL,GACE,CAAA,CAAA,CAAA,CAAA,OACGC,GAAM,CAAAC,IAAA,CAAGF,IAAM,CAAA,CAAA,IAAK,CAAA,uBAAuC,cAAc,CAE9E,CAAA,CAAA,CAAA,CAAA","file":"item-description.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 { Text } from 'react-aria-components';\nimport { OptionsStyles } from './styles';\nimport type { OptionsItemTextProps } from './types';\n\nconst { description } = OptionsStyles();\n\nexport function OptionsItemDescription({\n className,\n ...rest\n}: OptionsItemTextProps) {\n return (\n <Text {...rest} slot='description' className={description({ className })} />\n );\n}\n"]}
@@ -0,0 +1,9 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { OptionsItemTextProps } from './types.js';
3
+ import 'react';
4
+ import 'react-aria-components';
5
+ import '../icon/types.js';
6
+
7
+ declare function OptionsItemLabel({ className, ...rest }: OptionsItemTextProps): react_jsx_runtime.JSX.Element;
8
+
9
+ export { OptionsItemLabel };
@@ -0,0 +1,4 @@
1
+ 'use client';
2
+
3
+ import {jsx}from'react/jsx-runtime';import'client-only';import {Text}from'react-aria-components';import {OptionsStyles}from'./styles.js';const{label:s}=OptionsStyles();function n({className:t,...o}){return jsx(Text,{...o,slot:"label",className:s({className:t})})}export{n as OptionsItemLabel};//# sourceMappingURL=item-label.js.map
4
+ //# sourceMappingURL=item-label.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/options/item-label.tsx"],"names":["OptionsStyles","p","rest","m","e"],"mappings":"8IAkBQ,CAAA,KAAUA,CAAAA,CAAc,EAEzBC,aAAA,EAAA,CAAA,SAA4B,CAAA,CAAA,CAAA,WAAcC,CAAK,GACpD,CAAA,CAAA,CAAA,CAAA,OAAQC,GAAM,CAAAC,IAAA,CAAGF,IAAM,CAAA,CAAA,IAAK,CAAA,iBAA2B,cAAc,CACvE,CAAA,CAAA,CAAA,CAAA","file":"item-label.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 { Text } from 'react-aria-components';\nimport { OptionsStyles } from './styles';\nimport type { OptionsItemTextProps } from './types';\n\nconst { label } = OptionsStyles();\n\nexport function OptionsItemLabel({ className, ...rest }: OptionsItemTextProps) {\n return <Text {...rest} slot='label' className={label({ className })} />;\n}\n"]}
@@ -0,0 +1,9 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { OptionsDataItem, OptionsItemProps } from './types.js';
3
+ import 'react';
4
+ import 'react-aria-components';
5
+ import '../icon/types.js';
6
+
7
+ declare function OptionsItem<T extends OptionsDataItem>({ children, classNames, color, textValue, ...rest }: OptionsItemProps<T>): react_jsx_runtime.JSX.Element;
8
+
9
+ export { OptionsItem };
@@ -0,0 +1,4 @@
1
+ 'use client';
2
+
3
+ import {jsx}from'react/jsx-runtime';import'client-only';import {ListBoxItem,composeRenderProps}from'react-aria-components';import {IconProvider}from'../icon/context.js';import {OptionsItemLabel}from'./item-label.js';import {OptionsStyles}from'./styles.js';const{item:O,icon:c}=OptionsStyles();function u({children:o,classNames:m,color:i="info",textValue:p=typeof o=="string"?o:"",...r}){return jsx(ListBoxItem,{...r,className:composeRenderProps(m?.item,t=>O({className:t})),textValue:p,"data-color":i,children:composeRenderProps(o,t=>jsx(IconProvider,{className:c({className:m?.icon}),size:"small",children:typeof t=="string"?jsx(OptionsItemLabel,{children:t}):t}))})}export{u as OptionsItem};//# sourceMappingURL=item.js.map
4
+ //# sourceMappingURL=item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/options/item.tsx"],"names":["item","icon","OptionsStyles","f","OptionsItem","children","classNames","textValue","jsx","ListBoxItem","e","n","composeRenderProps","className","s","OptionsItemLabel"],"mappings":"gQAoBQA,KAAM,CAAAC,IAASC,CAAc,EAE9B,IAAA,CAAA,CAAA,CAAA,CAAAC,aAASC,EAAuC,CACrD,SAAAC,CAAAA,CACA,CAAA,QAAA,CAAA,CAAAC,WACQ,CAAA,CAAA,CAAA,KACR,CAAA,CAAA,CAAA,MAAAC,CAAY,UAAoB,CAAA,CAAA,OAAWF,CAAAA,EAAW,QAEhC,CACtB,CAAA,CAAA,EAAA,CAAA,GACEG,CAACC,EAAA,CACE,OACDC,GAAA,CAAAC,WAAA,CAAA,CAAA,GAAWC,CAAAA,CAAmBN,SAAmBO,CAAAA,kBAC/Cb,CAAAA,CAAK,EAAE,IAAA,CAAA,CAAA,EAAA,CAAAa,CAAU,CAAC,SAEpB,CAAA,CAAA,CAAA,CAAWN,EACX,SAAA,CAAA,CAAA,CAAA,YAECK,CAAAA,CAAmBP,CAAAA,QACjB,CACCS,wCAAWb,CAAAA,CAAK,WAAaK,CAAAA,CAAAA,SAC7B,CAAA,CAAA,EAAK,IAAA,CAAA,CAAA,CAAA,qBAEgB,CAAA,OACnBE,CAAAA,EAACO,QAAkB,CAAAL,GAAA,CAAAL,iBAAS,CAAA,QAQxC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA","file":"item.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 { composeRenderProps, ListBoxItem } from 'react-aria-components';\nimport { IconProvider } from '../icon/context';\nimport { OptionsItemLabel } from './item-label';\nimport { OptionsStyles } from './styles';\nimport type { OptionsDataItem, OptionsItemProps } from './types';\n\nconst { item, icon } = OptionsStyles();\n\nexport function OptionsItem<T extends OptionsDataItem>({\n children,\n classNames,\n color = 'info',\n textValue = typeof children === 'string' ? children : '',\n ...rest\n}: OptionsItemProps<T>) {\n return (\n <ListBoxItem\n {...rest}\n className={composeRenderProps(classNames?.item, (className) =>\n item({ className }),\n )}\n textValue={textValue}\n data-color={color}\n >\n {composeRenderProps(children, (children) => (\n <IconProvider\n className={icon({ className: classNames?.icon })}\n size='small'\n >\n {typeof children === 'string' ? (\n <OptionsItemLabel>{children}</OptionsItemLabel>\n ) : (\n children\n )}\n </IconProvider>\n ))}\n </ListBoxItem>\n );\n}\n"]}
@@ -0,0 +1,9 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { OptionsDataItem, OptionsSectionProps } from './types.js';
3
+ import 'react';
4
+ import 'react-aria-components';
5
+ import '../icon/types.js';
6
+
7
+ declare function OptionsSection<T extends OptionsDataItem>({ children, classNames, header, items, }: OptionsSectionProps<T>): react_jsx_runtime.JSX.Element;
8
+
9
+ export { OptionsSection };
@@ -0,0 +1,4 @@
1
+ 'use client';
2
+
3
+ import {jsxs,jsx}from'react/jsx-runtime';import'client-only';import {ListBoxSection,Header,Collection}from'react-aria-components';import {OptionsStyles}from'./styles.js';const{section:r,header:m}=OptionsStyles();function f({children:s,classNames:t,header:e,items:i}){return jsxs(ListBoxSection,{id:e,className:r({className:t?.section}),children:[jsx(Header,{className:m({className:t?.header}),children:e}),jsx(Collection,{items:i,children:s})]})}export{f as OptionsSection};//# sourceMappingURL=section.js.map
4
+ //# sourceMappingURL=section.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/options/section.tsx"],"names":["OptionsStyles","c","l","p","header","Header","o","a","jsx","Collection","n"],"mappings":"0KAkBA,KAAQ,CAAA,OAAS,CAAA,CAAA,CAAA,MAA6BA,CAAAA,CAAc,CAAA,CAErDC,aAAA,EAAA,CAAA,SACL,CAAA,CAAA,CAAA,qBAEA,CAAA,CAAA,CAAA,MACA,CAAA,CAAA,CAAA,KACyB,CACzB,WACGC,IACC,CAAAC,cAAA,CAAIC,GACJ,CAAA,CAAA,CAAA,SAAqB,CAAA,CAAA,CAAA,CAAA,SAAuB,CAAA,CAAA,EAAA,OAE5C,CAAA,CAAA,CAAA,QAACC,CAAAA,CAAAC,GAAO,CAAAC,MAAA,CAAA,CAAA,SAA8B,CAAA,CAAA,CAAA,CAAA,SAAuB,CAAA,CAAA,EAAA,MAC1D,CAAA,CAAA,CAAA,QACH,CACAC,CAAAA,CAACC,EAAAH,GAAW,CAAAI,UAAA,CAAA,CAAA,KAAe,CAAA,CAAA,CAAA,UAC7B,CAEJ,CAAA,CAAA,CAAA,CAAA","file":"section.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 { Collection, Header, ListBoxSection } from 'react-aria-components';\nimport { OptionsStyles } from './styles';\nimport type { OptionsDataItem, OptionsSectionProps } from './types';\n\nconst { section, header: headerClassNames } = OptionsStyles();\n\nexport function OptionsSection<T extends OptionsDataItem>({\n children,\n classNames,\n header,\n items,\n}: OptionsSectionProps<T>) {\n return (\n <ListBoxSection\n id={header}\n className={section({ className: classNames?.section })}\n >\n <Header className={headerClassNames({ className: classNames?.header })}>\n {header}\n </Header>\n <Collection items={items}>{children}</Collection>\n </ListBoxSection>\n );\n}\n"]}
@@ -4,10 +4,10 @@ import * as tailwind_merge from 'tailwind-merge';
4
4
  declare const OptionsStyles: tailwind_variants.TVReturnType<{
5
5
  [key: string]: {
6
6
  [key: string]: tailwind_merge.ClassNameValue | {
7
+ list?: tailwind_merge.ClassNameValue;
7
8
  icon?: tailwind_merge.ClassNameValue;
8
9
  content?: tailwind_merge.ClassNameValue;
9
10
  description?: tailwind_merge.ClassNameValue;
10
- list?: tailwind_merge.ClassNameValue;
11
11
  header?: tailwind_merge.ClassNameValue;
12
12
  label?: tailwind_merge.ClassNameValue;
13
13
  section?: tailwind_merge.ClassNameValue;
@@ -17,10 +17,10 @@ declare const OptionsStyles: tailwind_variants.TVReturnType<{
17
17
  } | {
18
18
  [x: string]: {
19
19
  [x: string]: tailwind_merge.ClassNameValue | {
20
+ list?: tailwind_merge.ClassNameValue;
20
21
  icon?: tailwind_merge.ClassNameValue;
21
22
  content?: tailwind_merge.ClassNameValue;
22
23
  description?: tailwind_merge.ClassNameValue;
23
- list?: tailwind_merge.ClassNameValue;
24
24
  header?: tailwind_merge.ClassNameValue;
25
25
  label?: tailwind_merge.ClassNameValue;
26
26
  section?: tailwind_merge.ClassNameValue;
@@ -39,10 +39,10 @@ declare const OptionsStyles: tailwind_variants.TVReturnType<{
39
39
  }, undefined, {
40
40
  [key: string]: {
41
41
  [key: string]: tailwind_merge.ClassNameValue | {
42
+ list?: tailwind_merge.ClassNameValue;
42
43
  icon?: tailwind_merge.ClassNameValue;
43
44
  content?: tailwind_merge.ClassNameValue;
44
45
  description?: tailwind_merge.ClassNameValue;
45
- list?: tailwind_merge.ClassNameValue;
46
46
  header?: tailwind_merge.ClassNameValue;
47
47
  label?: tailwind_merge.ClassNameValue;
48
48
  section?: tailwind_merge.ClassNameValue;
@@ -1,2 +1,2 @@
1
- import {tv}from'./../../lib/utils.js';const i=tv({slots:{list:"group/options max-h-[200px] overflow-y-auto overflow-x-clip rounded-medium bg-surface-overlay shadow-elevation-overlay outline outline-static",section:"mt-s",header:"fg-primary-muted m-xs my-s text-header-xs",item:["group/options-item fg-primary-bold flex items-center gap-s p-s text-body-s outline outline-transparent","group-size-small/options:pt-xs group-size-small/options:pb-xs","group-size-large/options:pt-s group-size-large/options:pb-s","enabled:cursor-pointer","enabled:hover:fg-a11y-on-accent","enabled:focus-visible:fg-a11y-on-accent enabled:focus-visible:outline-interactive-hover","enabled:focus-visible:color-info:bg-accent-primary-bold","enabled:hover:color-info:bg-accent-primary-bold","enabled:hover:color-serious:bg-serious-bold","enabled:focus-visible:color-serious:bg-serious-bold","disabled:fg-disabled disabled:cursor-not-allowed disabled:bg-transparent"],content:"flex min-w-0 flex-auto flex-col gap-xxs",icon:["group-enabled/options-item:group-color-info/options-item:fg-primary-bold","group-enabled/options-item:group-hover/options-item:group-color-info/options-item:fg-a11y-on-accent","group-enabled/options-item:group-focus-visible/options-item:group-color-info/options-item:fg-a11y-on-accent","group-enabled/options-item:group-color-serious/options-item:fg-serious-bold","group-enabled/options-item:group-hover/options-item:group-color-serious/options-item:fg-a11y-on-accent","group-enabled/options-item:group-focus-visible/options-item:group-color-serious/options-item:fg-a11y-on-accent"],label:["truncate","group-enabled/options-item:group-color-info/options-item:fg-primary-bold","group-enabled/options-item:group-hover/options-item:group-color-info/options-item:fg-a11y-on-accent","group-enabled/options-item:group-focus-visible/options-item:group-color-info/options-item:fg-a11y-on-accent","group-enabled/options-item:group-color-serious/options-item:fg-serious-bold","group-enabled/options-item:group-hover/options-item:group-color-serious/options-item:fg-a11y-on-accent","group-enabled/options-item:group-focus-visible/options-item:group-color-serious/options-item:fg-a11y-on-accent"],description:["group-enabled/options-item:fg-primary-muted truncate text-body-xs","group-enabled/options-item:group-hover/options-item:fg-a11y-on-accent","group-enabled/options-item:group-focus-visible/options-item:fg-a11y-on-accent","group-disabled/options-item:fg-disabled"]}});export{i as OptionsStyles};//# sourceMappingURL=styles.js.map
1
+ import {tv}from'./../../lib/utils.js';const i=tv({slots:{list:"group/options max-h-[200px] overflow-y-auto overflow-x-clip rounded-medium bg-surface-overlay shadow-elevation-overlay outline outline-static",section:"mt-s",header:"fg-primary-muted m-xs my-s text-header-xs",item:["group/options-item fg-primary-bold flex items-center gap-s p-s text-body-s outline outline-transparent","group-size-small/options:pt-xs group-size-small/options:pb-xs","group-size-large/options:pt-s group-size-large/options:pb-s","enabled:cursor-pointer","enabled:hover:fg-a11y-on-accent","enabled:focus-visible:fg-a11y-on-accent","enabled:selected:inset-shadow-[3px_0_0_0_]","enabled:focus-visible:color-info:bg-accent-primary-muted","enabled:hover:color-info:bg-accent-primary-muted","enabled:pressed:color-info:bg-accent-primary-pressed","color-info:enabled:selected:inset-shadow-[color:var(--outline-accent-primary-bold)] color-info:enabled:selected:bg-accent-primary-muted","color-info:enabled:selected:hover:bg-accent-primary-bold","color-info:enabled:selected:focus-visible:bg-accent-primary-bold","color-info:enabled:selected:pressed:fg-accent-primary-bold color-info:enabled:selected:pressed:inset-shadow-[color:var(--outline-accent-primary-pressed)] color-info:enabled:selected:pressed:bg-accent-primary-pressed","enabled:hover:color-serious:bg-serious-muted","enabled:focus-visible:color-serious:bg-serious-muted","enabled:pressed:color-serious:bg-serious-pressed","color-serious:enabled:selected:inset-shadow-[color:var(--outline-serious-bold)] color-serious:enabled:selected:bg-serious-muted","color-serious:enabled:selected:hover:bg-serious-bold","color-serious:enabled:selected:focus-visible:bg-serious-bold","color-serious:enabled:selected:pressed:fg-serious-bold color-serious:enabled:selected:pressed:inset-shadow-[color:var(--outline-serious-pressed)] color-serious:enabled:selected:pressed:bg-serious-pressed","enabled:hover:color-critical:bg-critical-muted","enabled:pressed:color-critical:bg-critical-pressed","color-critical:enabled:selected:inset-shadow-[color:var(--outline-critical-bold)] color-critical:enabled:selected:bg-critical-muted","color-critical:enabled:selected:hover:bg-critical-bold","color-critical:enabled:selected:focus-visible:bg-critical-bold","color-critical:enabled:selected:pressed:fg-critical-bold color-critical:enabled:selected:pressed:inset-shadow-[color:var(--outline-critical-pressed)] color-critical:enabled:selected:pressed:bg-critical-pressed","disabled:fg-disabled disabled:cursor-not-allowed disabled:bg-transparent"],content:"flex min-w-0 flex-auto flex-col gap-xxs",icon:["group-enabled/options-item:group-color-info/options-item:fg-primary-bold","group-enabled/options-item:group-hover/options-item:group-color-info/options-item:fg-a11y-on-accent","group-enabled/options-item:group-focus-visible/options-item:group-color-info/options-item:fg-a11y-on-accent","group-enabled/options-item:group-pressed/options-item:group-color-info/options-item:fg-accent-primary-pressed","group-enabled/options-item:group-hover/options-item:group-color-serious/options-item:fg-a11y-on-accent","group-enabled/options-item:group-focus-visible/options-item:group-color-serious/options-item:fg-a11y-on-accent","group-enabled/options-item:group-pressed/options-item:group-color-serious/options-item:fg-serious-bold","group-enabled/options-item:group-pressed/options-item:group-color-critical/options-item:fg-critical-bold"],label:["truncate","group-enabled/options-item:group-color-info/options-item:fg-primary-bold","group-enabled/options-item:group-hover/options-item:group-color-info/options-item:fg-a11y-on-accent","group-enabled/options-item:group-focus-visible/options-item:group-color-info/options-item:fg-a11y-on-accent","group-enabled/options-item:group-pressed/options-item:group-color-info/options-item:fg-accent-primary-bold","group-enabled/options-item:group-hover/options-item:group-color-serious/options-item:fg-a11y-on-accent","group-enabled/options-item:group-focus-visible/options-item:group-color-serious/options-item:fg-a11y-on-accent","group-enabled/options-item:group-pressed/options-item:group-color-serious/options-item:fg-serious-bold","group-enabled/options-item:group-pressed/options-item:group-color-critical/options-item:fg-critical-bold"],description:["group-enabled/options-item:fg-primary-muted truncate text-body-xs","group-enabled/options-item:group-hover/options-item:fg-a11y-on-accent","group-enabled/options-item:group-focus-visible/options-item:fg-a11y-on-accent","group-enabled/options-item:group-pressed/options-item:group-color-info/options-item:fg-accent-primary-bold","group-enabled/menu-item:group-selected/menu-item:group-pressed/menu-item:group-color-info/menu-item:fg-accent-primary-bold","group-enabled/options-item:group-pressed/options-item:group-color-serious/options-item:fg-serious-bold","group-enabled/options-item:group-pressed/options-item:group-color-critical/options-item:fg-critical-bold","group-disabled/options-item:fg-disabled"]}});export{i as OptionsStyles};//# sourceMappingURL=styles.js.map
2
2
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/options/styles.ts"],"names":["o"],"mappings":"sCAeE,MAAA,CAAO,CACLA,EAAA,CAAA,CAAA,KAAM,CAAA,CAAA,IAAA,CAAA,+IACG,CAAA,OACT,CAAA,MAAQ,CAAA,MAAA,CAAA,2CAEN,CAAA,IAAA,CAAA,CAAA,wGACA,CAAA,+DACA,CAAA,6DACA,CAAA,wBACA,CAAA,iCACA,CAAA,yFACA,CAAA,yDACA,CAAA,iDACA,CAAA,6CACA,CAAA,qDACA,CAAA,0EAEO,CAAA,CAAA,OAAA,CAAA,yCAEP,CAAA,IAAA,CAAA,CAAA,0EACA,CAAA,qGACA,CAAA,6GACA,CAAA,6EACA,CAAA,wGACA,CAAA,gHAGA,CAAA,CAAA,KAAA,CAAA,CAAA,UACA,CAAA,0EACA,CAAA,qGACA,CAAA,6GACA,CAAA,6EACA,CAAA,wGACA,CAAA,gHAEF,CAAA,CAAA,WACE,CAAA,CAAA,mEACA,CAAA,uEACA,CAAA,+EACA,CAAA,yCAGL,CAAA,CAAA,CAAA","file":"styles.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 { tv } from '@/lib/utils';\n\nexport const OptionsStyles = tv({\n slots: {\n list: 'group/options max-h-[200px] overflow-y-auto overflow-x-clip rounded-medium bg-surface-overlay shadow-elevation-overlay outline outline-static',\n section: 'mt-s',\n header: 'fg-primary-muted m-xs my-s text-header-xs',\n item: [\n 'group/options-item fg-primary-bold flex items-center gap-s p-s text-body-s outline outline-transparent',\n 'group-size-small/options:pt-xs group-size-small/options:pb-xs',\n 'group-size-large/options:pt-s group-size-large/options:pb-s',\n 'enabled:cursor-pointer',\n 'enabled:hover:fg-a11y-on-accent',\n 'enabled:focus-visible:fg-a11y-on-accent enabled:focus-visible:outline-interactive-hover',\n 'enabled:focus-visible:color-info:bg-accent-primary-bold',\n 'enabled:hover:color-info:bg-accent-primary-bold',\n 'enabled:hover:color-serious:bg-serious-bold',\n 'enabled:focus-visible:color-serious:bg-serious-bold',\n 'disabled:fg-disabled disabled:cursor-not-allowed disabled:bg-transparent',\n ],\n content: 'flex min-w-0 flex-auto flex-col gap-xxs',\n icon: [\n 'group-enabled/options-item:group-color-info/options-item:fg-primary-bold',\n 'group-enabled/options-item:group-hover/options-item:group-color-info/options-item:fg-a11y-on-accent',\n 'group-enabled/options-item:group-focus-visible/options-item:group-color-info/options-item:fg-a11y-on-accent',\n 'group-enabled/options-item:group-color-serious/options-item:fg-serious-bold',\n 'group-enabled/options-item:group-hover/options-item:group-color-serious/options-item:fg-a11y-on-accent',\n 'group-enabled/options-item:group-focus-visible/options-item:group-color-serious/options-item:fg-a11y-on-accent',\n ],\n label: [\n 'truncate',\n 'group-enabled/options-item:group-color-info/options-item:fg-primary-bold',\n 'group-enabled/options-item:group-hover/options-item:group-color-info/options-item:fg-a11y-on-accent',\n 'group-enabled/options-item:group-focus-visible/options-item:group-color-info/options-item:fg-a11y-on-accent',\n 'group-enabled/options-item:group-color-serious/options-item:fg-serious-bold',\n 'group-enabled/options-item:group-hover/options-item:group-color-serious/options-item:fg-a11y-on-accent',\n 'group-enabled/options-item:group-focus-visible/options-item:group-color-serious/options-item:fg-a11y-on-accent',\n ],\n description: [\n 'group-enabled/options-item:fg-primary-muted truncate text-body-xs',\n 'group-enabled/options-item:group-hover/options-item:fg-a11y-on-accent',\n 'group-enabled/options-item:group-focus-visible/options-item:fg-a11y-on-accent',\n 'group-disabled/options-item:fg-disabled',\n ],\n },\n});\n"]}
1
+ {"version":3,"sources":["../../../src/components/options/styles.ts"],"names":["o"],"mappings":"sCAeE,MAAA,CAAO,CACLA,EAAA,CAAA,CAAA,2JACS,CAAA,cACD,CAAA,MAAA,CAAA,2CAEN,CAAA,IAAA,CAAA,CAAA,wGACA,CAAA,+DACA,CAAA,6DACA,CAAA,0DAEA,CAAA,yCACA,CAAA,uGAGA,CAAA,kDACA,CAAA,gMAGA,CAAA,0DACA,CAAA,kEACA,CAAA,yNAEA,CAAA,qGAEA,CAAA,kDAEA,CAAA,wLAEA,CAAA,8DACA,CAAA,8PAGA,CAAA,oDAEA,CAAA,qIACA,CAAA,wDACA,CAAA,oRAIA,CAAA,0EAEO,CAAA,CAAA,OAAA,CAAA,yCAEP,CAAA,IAAA,CAAA,CAAA,0EACA,CAAA,qGACA,CAAA,6GACA,CAAA,wNAIA,CAAA,gHACA,CAAA,mNAKA,CAAA,CAAA,KAAA,CAAA,CAAA,UAEA,CAAA,0EACA,CAAA,qGACA,CAAA,0NAGA,CAAA,wGACA,CAAA,yNAGA,CAAA,uHAGA,CAAA,CAAA,mEACA,CAAA,uEACA,CAAA,4LAEA,CAAA,4HAEA,CAAA,mNAIA,CAAA,yCAGL,CAAA,CAAA,CAAA","file":"styles.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 { tv } from '@/lib/utils';\n\nexport const OptionsStyles = tv({\n slots: {\n list: 'group/options max-h-[200px] overflow-y-auto overflow-x-clip rounded-medium bg-surface-overlay shadow-elevation-overlay outline outline-static',\n section: 'mt-s',\n header: 'fg-primary-muted m-xs my-s text-header-xs',\n item: [\n 'group/options-item fg-primary-bold flex items-center gap-s p-s text-body-s outline outline-transparent',\n 'group-size-small/options:pt-xs group-size-small/options:pb-xs',\n 'group-size-large/options:pt-s group-size-large/options:pb-s',\n 'enabled:cursor-pointer',\n 'enabled:hover:fg-a11y-on-accent',\n 'enabled:focus-visible:fg-a11y-on-accent',\n 'enabled:selected:inset-shadow-[3px_0_0_0_]',\n // info\n 'enabled:focus-visible:color-info:bg-accent-primary-muted',\n 'enabled:hover:color-info:bg-accent-primary-muted',\n 'enabled:pressed:color-info:bg-accent-primary-pressed',\n // info + selected\n 'color-info:enabled:selected:inset-shadow-[color:var(--outline-accent-primary-bold)] color-info:enabled:selected:bg-accent-primary-muted',\n 'color-info:enabled:selected:hover:bg-accent-primary-bold',\n 'color-info:enabled:selected:focus-visible:bg-accent-primary-bold',\n 'color-info:enabled:selected:pressed:fg-accent-primary-bold color-info:enabled:selected:pressed:inset-shadow-[color:var(--outline-accent-primary-pressed)] color-info:enabled:selected:pressed:bg-accent-primary-pressed',\n //serious\n 'enabled:hover:color-serious:bg-serious-muted',\n 'enabled:focus-visible:color-serious:bg-serious-muted',\n 'enabled:pressed:color-serious:bg-serious-pressed',\n // serious + selected\n 'color-serious:enabled:selected:inset-shadow-[color:var(--outline-serious-bold)] color-serious:enabled:selected:bg-serious-muted',\n 'color-serious:enabled:selected:hover:bg-serious-bold',\n 'color-serious:enabled:selected:focus-visible:bg-serious-bold',\n 'color-serious:enabled:selected:pressed:fg-serious-bold color-serious:enabled:selected:pressed:inset-shadow-[color:var(--outline-serious-pressed)] color-serious:enabled:selected:pressed:bg-serious-pressed',\n // critical\n 'enabled:hover:color-critical:bg-critical-muted',\n 'enabled:pressed:color-critical:bg-critical-pressed',\n // critical + selected\n 'color-critical:enabled:selected:inset-shadow-[color:var(--outline-critical-bold)] color-critical:enabled:selected:bg-critical-muted',\n 'color-critical:enabled:selected:hover:bg-critical-bold',\n 'color-critical:enabled:selected:focus-visible:bg-critical-bold',\n 'color-critical:enabled:selected:pressed:fg-critical-bold color-critical:enabled:selected:pressed:inset-shadow-[color:var(--outline-critical-pressed)] color-critical:enabled:selected:pressed:bg-critical-pressed',\n\n // disabled\n 'disabled:fg-disabled disabled:cursor-not-allowed disabled:bg-transparent',\n ],\n content: 'flex min-w-0 flex-auto flex-col gap-xxs',\n icon: [\n 'group-enabled/options-item:group-color-info/options-item:fg-primary-bold',\n 'group-enabled/options-item:group-hover/options-item:group-color-info/options-item:fg-a11y-on-accent',\n 'group-enabled/options-item:group-focus-visible/options-item:group-color-info/options-item:fg-a11y-on-accent',\n 'group-enabled/options-item:group-pressed/options-item:group-color-info/options-item:fg-accent-primary-pressed',\n\n // serious\n 'group-enabled/options-item:group-hover/options-item:group-color-serious/options-item:fg-a11y-on-accent',\n 'group-enabled/options-item:group-focus-visible/options-item:group-color-serious/options-item:fg-a11y-on-accent',\n 'group-enabled/options-item:group-pressed/options-item:group-color-serious/options-item:fg-serious-bold',\n // critical\n 'group-enabled/options-item:group-pressed/options-item:group-color-critical/options-item:fg-critical-bold',\n ],\n label: [\n 'truncate',\n // info\n 'group-enabled/options-item:group-color-info/options-item:fg-primary-bold',\n 'group-enabled/options-item:group-hover/options-item:group-color-info/options-item:fg-a11y-on-accent',\n 'group-enabled/options-item:group-focus-visible/options-item:group-color-info/options-item:fg-a11y-on-accent',\n 'group-enabled/options-item:group-pressed/options-item:group-color-info/options-item:fg-accent-primary-bold',\n // serious\n 'group-enabled/options-item:group-hover/options-item:group-color-serious/options-item:fg-a11y-on-accent',\n 'group-enabled/options-item:group-focus-visible/options-item:group-color-serious/options-item:fg-a11y-on-accent',\n 'group-enabled/options-item:group-pressed/options-item:group-color-serious/options-item:fg-serious-bold',\n // critical\n 'group-enabled/options-item:group-pressed/options-item:group-color-critical/options-item:fg-critical-bold',\n ],\n description: [\n 'group-enabled/options-item:fg-primary-muted truncate text-body-xs',\n 'group-enabled/options-item:group-hover/options-item:fg-a11y-on-accent',\n 'group-enabled/options-item:group-focus-visible/options-item:fg-a11y-on-accent',\n 'group-enabled/options-item:group-pressed/options-item:group-color-info/options-item:fg-accent-primary-bold',\n 'group-enabled/menu-item:group-selected/menu-item:group-pressed/menu-item:group-color-info/menu-item:fg-accent-primary-bold',\n // serious\n 'group-enabled/options-item:group-pressed/options-item:group-color-serious/options-item:fg-serious-bold',\n // critical\n 'group-enabled/options-item:group-pressed/options-item:group-color-critical/options-item:fg-critical-bold',\n // disabled\n 'group-disabled/options-item:fg-disabled',\n ],\n },\n});\n"]}