@arobo/react 1.0.1 → 1.1.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 (369) hide show
  1. package/dist/components/accordion/accordion.d.ts +30 -0
  2. package/dist/components/accordion/accordion.js +190 -0
  3. package/dist/components/accordion/index.d.ts +23 -0
  4. package/dist/components/accordion/index.js +16 -0
  5. package/dist/components/alert/alert.d.ts +15 -0
  6. package/dist/components/alert/alert.js +151 -0
  7. package/dist/components/alert/index.d.ts +19 -0
  8. package/dist/components/alert/index.js +14 -0
  9. package/dist/components/alert-dialog/alert-dialog.d.ts +65 -0
  10. package/dist/components/alert-dialog/alert-dialog.js +303 -0
  11. package/dist/components/alert-dialog/index.d.ts +31 -0
  12. package/dist/components/alert-dialog/index.js +20 -0
  13. package/dist/components/avatar/avatar.d.ts +15 -0
  14. package/dist/components/avatar/avatar.js +92 -0
  15. package/dist/components/avatar/index.d.ts +15 -0
  16. package/dist/components/avatar/index.js +12 -0
  17. package/dist/components/breadcrumbs/breadcrumbs.d.ts +14 -0
  18. package/dist/components/breadcrumbs/breadcrumbs.js +82 -0
  19. package/dist/components/breadcrumbs/index.d.ts +13 -0
  20. package/dist/components/breadcrumbs/index.js +11 -0
  21. package/dist/components/button/button.js +1 -1
  22. package/dist/components/button/index.js +1 -1
  23. package/dist/components/button-group/button-group.js +3 -3
  24. package/dist/components/button-group/index.js +1 -1
  25. package/dist/components/calendar/calendar.js +1 -1
  26. package/dist/components/calendar/index.js +1 -1
  27. package/dist/components/card/card.js +3 -3
  28. package/dist/components/card/index.js +1 -1
  29. package/dist/components/carousel/carousel.d.ts +26 -0
  30. package/dist/components/carousel/carousel.js +170 -0
  31. package/dist/components/carousel/index.d.ts +17 -0
  32. package/dist/components/carousel/index.js +10 -0
  33. package/dist/components/checkbox/checkbox.d.ts +16 -3
  34. package/dist/components/checkbox/checkbox.js +149 -35
  35. package/dist/components/checkbox/index.d.ts +3 -16
  36. package/dist/components/checkbox/index.js +4 -12
  37. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  38. package/dist/components/checkbox-group/index.js +1 -1
  39. package/dist/components/chip/chip.d.ts +9 -0
  40. package/dist/components/chip/chip.js +24 -0
  41. package/dist/components/chip/index.d.ts +11 -0
  42. package/dist/components/chip/index.js +10 -0
  43. package/dist/components/close-button/close-button.d.ts +1 -1
  44. package/dist/components/close-button/close-button.js +1 -1
  45. package/dist/components/close-button/index.d.ts +1 -3
  46. package/dist/components/close-button/index.js +0 -1
  47. package/dist/components/combobox/combobox.js +3 -3
  48. package/dist/components/combobox/index.js +1 -1
  49. package/dist/components/container/container.d.ts +9 -0
  50. package/dist/components/container/container.js +23 -0
  51. package/dist/components/container/index.d.ts +13 -0
  52. package/dist/components/container/index.js +11 -0
  53. package/dist/components/date-field/date-field.js +3 -3
  54. package/dist/components/date-field/index.js +1 -1
  55. package/dist/components/date-input-group/date-input-group.js +3 -3
  56. package/dist/components/date-input-group/index.js +1 -1
  57. package/dist/components/date-picker/date-picker.js +4 -4
  58. package/dist/components/date-picker/index.d.ts +0 -2
  59. package/dist/components/date-picker/index.js +0 -1
  60. package/dist/components/date-range-picker/date-range-picker.d.ts +0 -1
  61. package/dist/components/date-range-picker/date-range-picker.js +4 -4
  62. package/dist/components/date-range-picker/index.js +1 -1
  63. package/dist/components/description/description.js +1 -1
  64. package/dist/components/description/index.d.ts +1 -3
  65. package/dist/components/description/index.js +0 -1
  66. package/dist/components/drawer/drawer.d.ts +33 -0
  67. package/dist/components/drawer/index.d.ts +1 -0
  68. package/dist/components/drawer/index.js +1 -0
  69. package/dist/components/dropdown/dropdown.d.ts +38 -0
  70. package/dist/components/dropdown/dropdown.js +155 -0
  71. package/dist/components/dropdown/index.d.ts +41 -0
  72. package/dist/components/dropdown/index.js +18 -0
  73. package/dist/components/empty/empty.d.ts +34 -0
  74. package/dist/components/empty/empty.js +151 -0
  75. package/dist/components/empty/index.d.ts +2 -0
  76. package/dist/components/empty/index.js +1 -0
  77. package/dist/components/empty-state/empty-state.d.ts +7 -0
  78. package/dist/components/empty-state/empty-state.js +19 -0
  79. package/dist/components/empty-state/index.d.ts +11 -0
  80. package/dist/components/empty-state/index.js +10 -0
  81. package/dist/components/error-message/error-message.js +1 -1
  82. package/dist/components/error-message/index.js +1 -1
  83. package/dist/components/field-error/field-error.js +1 -1
  84. package/dist/components/field-error/index.js +1 -1
  85. package/dist/components/fieldset/fieldset.d.ts +16 -0
  86. package/dist/components/fieldset/fieldset.js +87 -0
  87. package/dist/components/fieldset/index.d.ts +19 -0
  88. package/dist/components/fieldset/index.js +14 -0
  89. package/dist/components/header/header.d.ts +7 -0
  90. package/dist/components/header/header.js +20 -0
  91. package/dist/components/header/index.d.ts +8 -0
  92. package/dist/components/header/index.js +8 -0
  93. package/dist/components/heading/heading.d.ts +12 -0
  94. package/dist/components/heading/heading.js +29 -0
  95. package/dist/components/heading/index.d.ts +13 -0
  96. package/dist/components/heading/index.js +11 -0
  97. package/dist/components/icons.js +169 -1
  98. package/dist/components/index.d.ts +45 -1
  99. package/dist/components/input/index.js +1 -1
  100. package/dist/components/input/input.js +1 -1
  101. package/dist/components/input-group/index.d.ts +21 -0
  102. package/dist/components/input-group/index.js +15 -0
  103. package/dist/components/input-group/input-group.d.ts +20 -0
  104. package/dist/components/input-group/input-group.js +128 -0
  105. package/dist/components/input-otp/index.d.ts +22 -0
  106. package/dist/components/input-otp/index.js +20 -0
  107. package/dist/components/input-otp/input-otp.d.ts +26 -0
  108. package/dist/components/input-otp/input-otp.js +138 -0
  109. package/dist/components/kbd/index.d.ts +17 -0
  110. package/dist/components/kbd/index.js +13 -0
  111. package/dist/components/kbd/kbd.constants.d.ts +3 -0
  112. package/dist/components/kbd/kbd.constants.js +50 -0
  113. package/dist/components/kbd/kbd.d.ts +24 -0
  114. package/dist/components/kbd/kbd.js +75 -0
  115. package/dist/components/label/index.js +1 -1
  116. package/dist/components/label/label.js +1 -1
  117. package/dist/components/link/index.d.ts +13 -0
  118. package/dist/components/link/index.js +11 -0
  119. package/dist/components/link/link.d.ts +10 -0
  120. package/dist/components/link/link.js +58 -0
  121. package/dist/components/listbox/index.d.ts +21 -0
  122. package/dist/components/listbox/index.js +16 -0
  123. package/dist/components/listbox/listbox.d.ts +9 -0
  124. package/dist/components/listbox/listbox.js +22 -0
  125. package/dist/components/listbox/listbox.type.d.ts +34 -0
  126. package/dist/components/listbox-item/index.d.ts +13 -0
  127. package/dist/components/listbox-item/index.js +11 -0
  128. package/dist/components/listbox-item/listbox-item.d.ts +15 -0
  129. package/dist/components/listbox-item/listbox-item.js +76 -0
  130. package/dist/components/listbox-section/index.d.ts +8 -0
  131. package/dist/components/listbox-section/index.js +8 -0
  132. package/dist/components/listbox-section/listbox-section.d.ts +8 -0
  133. package/dist/components/listbox-section/listbox-section.js +21 -0
  134. package/dist/components/menu/index.d.ts +22 -0
  135. package/dist/components/menu/index.js +16 -0
  136. package/dist/components/menu/menu.d.ts +9 -0
  137. package/dist/components/menu/menu.js +19 -0
  138. package/dist/components/menu-item/index.d.ts +15 -0
  139. package/dist/components/menu-item/index.js +12 -0
  140. package/dist/components/menu-item/menu-item.d.ts +20 -0
  141. package/dist/components/menu-item/menu-item.js +122 -0
  142. package/dist/components/menu-section/index.d.ts +8 -0
  143. package/dist/components/menu-section/index.js +8 -0
  144. package/dist/components/menu-section/menu-section.d.ts +8 -0
  145. package/dist/components/menu-section/menu-section.js +21 -0
  146. package/dist/components/modal/index.d.ts +31 -0
  147. package/dist/components/modal/index.js +20 -0
  148. package/dist/components/modal/modal.d.ts +53 -0
  149. package/dist/components/modal/modal.js +283 -0
  150. package/dist/components/number-field/index.d.ts +21 -0
  151. package/dist/components/number-field/index.js +15 -0
  152. package/dist/components/number-field/number-field.d.ts +20 -0
  153. package/dist/components/number-field/number-field.js +126 -0
  154. package/dist/components/pagination/index.d.ts +19 -0
  155. package/dist/components/pagination/index.js +11 -0
  156. package/dist/components/pagination/pagination-ellipsis.d.ts +6 -0
  157. package/dist/components/pagination/pagination-ellipsis.js +11 -0
  158. package/dist/components/pagination/pagination-item.d.ts +15 -0
  159. package/dist/components/pagination/pagination-item.js +34 -0
  160. package/dist/components/pagination/pagination.d.ts +28 -0
  161. package/dist/components/pagination/pagination.js +128 -0
  162. package/dist/components/popover/index.js +1 -1
  163. package/dist/components/popover/popover.js +4 -4
  164. package/dist/components/rac/components.d.ts +1 -0
  165. package/dist/components/rac/index.d.ts +3 -0
  166. package/dist/components/rac/index.js +2 -0
  167. package/dist/components/rac/types.d.ts +2 -0
  168. package/dist/components/radio/index.d.ts +17 -0
  169. package/dist/components/radio/index.js +13 -0
  170. package/dist/components/radio/radio.d.ts +21 -0
  171. package/dist/components/radio/radio.js +96 -0
  172. package/dist/components/radio-group/index.d.ts +11 -0
  173. package/dist/components/radio-group/index.js +10 -0
  174. package/dist/components/radio-group/radio-group.d.ts +8 -0
  175. package/dist/components/radio-group/radio-group.js +26 -0
  176. package/dist/components/range-calendar/index.js +1 -1
  177. package/dist/components/range-calendar/range-calendar.js +1 -1
  178. package/dist/components/scroll-shadow/index.d.ts +19 -0
  179. package/dist/components/scroll-shadow/index.js +11 -0
  180. package/dist/components/scroll-shadow/scroll-shadow.d.ts +32 -0
  181. package/dist/components/scroll-shadow/scroll-shadow.js +75 -0
  182. package/dist/components/scroll-shadow/use-scroll-shadow.d.ts +11 -0
  183. package/dist/components/scroll-shadow/use-scroll-shadow.js +120 -0
  184. package/dist/components/select/index.d.ts +19 -0
  185. package/dist/components/select/index.js +14 -0
  186. package/dist/components/select/select.d.ts +24 -0
  187. package/dist/components/select/select.js +139 -0
  188. package/dist/components/separator/index.d.ts +11 -0
  189. package/dist/components/separator/index.js +10 -0
  190. package/dist/components/separator/separator.d.ts +8 -0
  191. package/dist/components/separator/separator.js +22 -0
  192. package/dist/components/slider/index.d.ts +21 -0
  193. package/dist/components/slider/index.js +15 -0
  194. package/dist/components/slider/slider.d.ts +23 -0
  195. package/dist/components/slider/slider.js +176 -0
  196. package/dist/components/spinner/index.d.ts +11 -0
  197. package/dist/components/spinner/index.js +10 -0
  198. package/dist/components/spinner/spinner.d.ts +7 -0
  199. package/dist/components/spinner/spinner.js +87 -0
  200. package/dist/components/surface/index.js +1 -1
  201. package/dist/components/surface/surface.js +1 -1
  202. package/dist/components/switch/index.d.ts +17 -0
  203. package/dist/components/switch/index.js +13 -0
  204. package/dist/components/switch/switch.d.ts +17 -0
  205. package/dist/components/switch/switch.js +97 -0
  206. package/dist/components/tabs/index.d.ts +21 -0
  207. package/dist/components/tabs/index.js +15 -0
  208. package/dist/components/tabs/tabs.d.ts +34 -0
  209. package/dist/components/tabs/tabs.js +140 -0
  210. package/dist/components/tag/index.d.ts +13 -0
  211. package/dist/components/tag/index.js +11 -0
  212. package/dist/components/tag/tag.d.ts +14 -0
  213. package/dist/components/tag/tag.js +84 -0
  214. package/dist/components/tag-group/index.d.ts +13 -0
  215. package/dist/components/tag-group/index.js +12 -0
  216. package/dist/components/tag-group/tag-group.d.ts +19 -0
  217. package/dist/components/tag-group/tag-group.js +58 -0
  218. package/dist/components/text-field/index.js +1 -1
  219. package/dist/components/text-field/text-field.js +3 -3
  220. package/dist/components/textarea/index.d.ts +11 -0
  221. package/dist/components/textarea/index.js +10 -0
  222. package/dist/components/textarea/textarea.d.ts +8 -0
  223. package/dist/components/textarea/textarea.js +26 -0
  224. package/dist/components/toast/constants.d.ts +3 -0
  225. package/dist/components/toast/constants.js +8 -0
  226. package/dist/components/toast/index.d.ts +73 -0
  227. package/dist/components/toast/index.js +21 -0
  228. package/dist/components/toast/toast-queue.d.ts +67 -0
  229. package/dist/components/toast/toast-queue.js +129 -0
  230. package/dist/components/toast/toast.d.ts +67 -0
  231. package/dist/components/toast/toast.js +295 -0
  232. package/dist/components/toggle-button/index.d.ts +2 -0
  233. package/dist/components/toggle-button/index.js +1 -0
  234. package/dist/components/toggle-button/toggle-button.d.ts +10 -0
  235. package/dist/components/toggle-button/toggle-button.js +26 -0
  236. package/dist/components/toggle-button-group/index.d.ts +2 -0
  237. package/dist/components/toggle-button-group/index.js +1 -0
  238. package/dist/components/toggle-button-group/toggle-button-group.d.ts +15 -0
  239. package/dist/components/toggle-button-group/toggle-button-group.js +61 -0
  240. package/dist/components/tooltip/index.d.ts +17 -0
  241. package/dist/components/tooltip/index.js +13 -0
  242. package/dist/components/tooltip/tooltip.d.ts +20 -0
  243. package/dist/components/tooltip/tooltip.js +105 -0
  244. package/dist/hooks/index.d.ts +6 -0
  245. package/dist/hooks/use-isomorphic-layout-effect.d.ts +2 -0
  246. package/dist/hooks/use-isomorphic-layout-effect.js +5 -0
  247. package/dist/hooks/use-list-data.d.ts +111 -0
  248. package/dist/hooks/use-media-query.d.ts +6 -0
  249. package/dist/hooks/use-media-query.js +49 -0
  250. package/dist/hooks/use-overlay-state.d.ts +52 -0
  251. package/dist/hooks/use-pagination.d.ts +48 -0
  252. package/dist/hooks/use-pagination.js +114 -0
  253. package/dist/hooks/use-safe-layout-effect.d.ts +2 -0
  254. package/dist/hooks/use-safe-layout-effect.js +5 -0
  255. package/dist/index.js +111 -26
  256. package/dist/node_modules/.pnpm/@internationalized_string@3.2.7/node_modules/@internationalized/string/dist/LocalizedStringDictionary.js +74 -0
  257. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/ar-AE.js +3 -0
  258. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/bg-BG.js +3 -0
  259. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/cs-CZ.js +3 -0
  260. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/da-DK.js +3 -0
  261. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/de-DE.js +3 -0
  262. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/el-GR.js +3 -0
  263. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/en-US.js +3 -0
  264. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/es-ES.js +3 -0
  265. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/et-EE.js +3 -0
  266. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/fi-FI.js +3 -0
  267. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/fr-FR.js +3 -0
  268. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/he-IL.js +3 -0
  269. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/hr-HR.js +3 -0
  270. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/hu-HU.js +3 -0
  271. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/index.js +80 -0
  272. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/it-IT.js +3 -0
  273. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/ja-JP.js +3 -0
  274. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/ko-KR.js +3 -0
  275. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/lt-LT.js +3 -0
  276. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/lv-LV.js +3 -0
  277. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/nb-NO.js +3 -0
  278. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/nl-NL.js +3 -0
  279. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/pl-PL.js +3 -0
  280. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/pt-BR.js +3 -0
  281. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/pt-PT.js +3 -0
  282. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/ro-RO.js +3 -0
  283. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/ru-RU.js +3 -0
  284. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/sk-SK.js +3 -0
  285. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/sl-SI.js +3 -0
  286. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/sr-SP.js +3 -0
  287. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/sv-SE.js +3 -0
  288. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/tr-TR.js +3 -0
  289. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/uk-UA.js +3 -0
  290. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/zh-CN.js +3 -0
  291. package/dist/node_modules/.pnpm/react-aria-components@1.14.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/i18n/zh-TW.js +3 -0
  292. package/dist/packages/styles/src/components/accordion/accordion.styles.js +26 -0
  293. package/dist/packages/styles/src/components/alert/alert.styles.js +35 -0
  294. package/dist/packages/styles/src/components/alert-dialog/alert-dialog.styles.js +70 -0
  295. package/dist/packages/styles/src/components/avatar/avatar.styles.js +51 -0
  296. package/dist/packages/styles/src/components/breadcrumbs/breadcrumbs.styles.js +12 -0
  297. package/dist/packages/styles/src/components/chip/chip.styles.js +31 -0
  298. package/dist/packages/styles/src/components/container/container.styles.js +18 -0
  299. package/dist/packages/styles/src/components/dropdown/dropdown.styles.js +12 -0
  300. package/dist/packages/styles/src/components/empty/empty.styles.js +30 -0
  301. package/dist/packages/styles/src/components/empty-state/empty-state.styles.js +7 -0
  302. package/dist/packages/styles/src/components/fieldset/fieldset.styles.js +13 -0
  303. package/dist/packages/styles/src/components/header/header.styles.js +7 -0
  304. package/dist/packages/styles/src/components/heading/heading.styles.js +19 -0
  305. package/dist/packages/styles/src/components/input-group/input-group.styles.js +32 -0
  306. package/dist/packages/styles/src/components/input-otp/input-otp.styles.js +28 -0
  307. package/dist/packages/styles/src/components/kbd/kbd.styles.js +18 -0
  308. package/dist/packages/styles/src/components/link/link.styles.js +12 -0
  309. package/dist/packages/styles/src/components/listbox/listbox.styles.js +16 -0
  310. package/dist/packages/styles/src/components/listbox-item/listbox-item.styles.js +23 -0
  311. package/dist/packages/styles/src/components/listbox-section/listbox-section.styles.js +7 -0
  312. package/dist/packages/styles/src/components/menu/menu.styles.js +7 -0
  313. package/dist/packages/styles/src/components/menu-item/menu-item.styles.js +24 -0
  314. package/dist/packages/styles/src/components/menu-section/menu-section.styles.js +7 -0
  315. package/dist/packages/styles/src/components/modal/modal.styles.js +68 -0
  316. package/dist/packages/styles/src/components/number-field/number-field.styles.js +34 -0
  317. package/dist/packages/styles/src/components/pagination/pagination.styles.js +33 -0
  318. package/dist/packages/styles/src/components/radio/radio.styles.js +12 -0
  319. package/dist/packages/styles/src/components/radio-group/radio-group.styles.js +16 -0
  320. package/dist/packages/styles/src/components/scroll-shadow/scroll-shadow.styles.js +35 -0
  321. package/dist/packages/styles/src/components/select/select.styles.js +34 -0
  322. package/dist/packages/styles/src/components/separator/separator.styles.js +16 -0
  323. package/dist/packages/styles/src/components/slider/slider.styles.js +14 -0
  324. package/dist/packages/styles/src/components/spinner/spinner.styles.js +26 -0
  325. package/dist/packages/styles/src/components/switch/switch.styles.js +28 -0
  326. package/dist/packages/styles/src/components/tabs/tabs.styles.js +27 -0
  327. package/dist/packages/styles/src/components/tag/tag.styles.js +35 -0
  328. package/dist/packages/styles/src/components/tag-group/tag-group.styles.js +10 -0
  329. package/dist/packages/styles/src/components/textarea/textarea.styles.js +21 -0
  330. package/dist/packages/styles/src/components/toast/toast.styles.js +65 -0
  331. package/dist/packages/styles/src/components/toggle-button/toggle-button.styles.js +36 -0
  332. package/dist/packages/styles/src/components/toggle-button-group/toggle-button-group.styles.js +36 -0
  333. package/dist/packages/styles/src/components/tooltip/tooltip.styles.js +10 -0
  334. package/dist/utils/children.d.ts +9 -0
  335. package/dist/utils/children.js +17 -0
  336. package/dist/utils/compose.js +1 -1
  337. package/dist/utils/index.d.ts +4 -0
  338. package/dist/utils/merge-props.d.ts +26 -0
  339. package/dist/utils/merge-props.js +72 -0
  340. package/dist/utils/merge-refs.d.ts +5 -0
  341. package/dist/utils/merge-refs.js +48 -0
  342. package/package.json +13 -7
  343. package/dist/components/field-group/field-group.d.ts +0 -11
  344. package/dist/components/field-group/field-group.js +0 -18
  345. package/dist/components/field-group/index.d.ts +0 -13
  346. package/dist/components/field-group/index.js +0 -11
  347. package/dist/styles/src/components/field-group/field-group.styles.js +0 -25
  348. package/dist/styles/src/utils/state.js +0 -13
  349. /package/dist/{styles → packages/styles}/src/components/button/button.styles.js +0 -0
  350. /package/dist/{styles → packages/styles}/src/components/button-group/button-group.styles.js +0 -0
  351. /package/dist/{styles → packages/styles}/src/components/calendar/calendar.styles.js +0 -0
  352. /package/dist/{styles → packages/styles}/src/components/card/card.styles.js +0 -0
  353. /package/dist/{styles → packages/styles}/src/components/checkbox/checkbox.styles.js +0 -0
  354. /package/dist/{styles → packages/styles}/src/components/checkbox-group/checkbox-group.styles.js +0 -0
  355. /package/dist/{styles → packages/styles}/src/components/close-button/close-button.styles.js +0 -0
  356. /package/dist/{styles → packages/styles}/src/components/combobox/combobox.styles.js +0 -0
  357. /package/dist/{styles → packages/styles}/src/components/date-field/date-field.styles.js +0 -0
  358. /package/dist/{styles → packages/styles}/src/components/date-input-group/date-input-group.styles.js +0 -0
  359. /package/dist/{styles → packages/styles}/src/components/date-picker/date-picker.styles.js +0 -0
  360. /package/dist/{styles → packages/styles}/src/components/date-range-picker/date-range-picker.styles.js +0 -0
  361. /package/dist/{styles → packages/styles}/src/components/description/description.styles.js +0 -0
  362. /package/dist/{styles → packages/styles}/src/components/error-message/error-message.styles.js +0 -0
  363. /package/dist/{styles → packages/styles}/src/components/field-error/field-error.styles.js +0 -0
  364. /package/dist/{styles → packages/styles}/src/components/input/input.styles.js +0 -0
  365. /package/dist/{styles → packages/styles}/src/components/label/label.styles.js +0 -0
  366. /package/dist/{styles → packages/styles}/src/components/popover/popover.styles.js +0 -0
  367. /package/dist/{styles → packages/styles}/src/components/range-calendar/range-calendar.styles.js +0 -0
  368. /package/dist/{styles → packages/styles}/src/components/surface/surface.styles.js +0 -0
  369. /package/dist/{styles → packages/styles}/src/components/text-field/text-field.styles.js +0 -0
@@ -0,0 +1,34 @@
1
+ import type { EmptyVariants } from "@arobo/styles";
2
+ import type { ComponentPropsWithRef } from "react";
3
+ interface EmptyRootProps extends ComponentPropsWithRef<"div">, EmptyVariants {
4
+ }
5
+ declare const EmptyRoot: ({ children, className, size, variant, ...props }: EmptyRootProps) => import("react/jsx-runtime").JSX.Element;
6
+ type EmptyRootComponent = typeof EmptyRoot & {
7
+ Header: typeof EmptyHeader;
8
+ Media: typeof EmptyMedia;
9
+ Title: typeof EmptyTitle;
10
+ Description: typeof EmptyDescription;
11
+ Content: typeof EmptyContent;
12
+ Actions: typeof EmptyActions;
13
+ };
14
+ interface EmptyHeaderProps extends ComponentPropsWithRef<"div"> {
15
+ }
16
+ declare const EmptyHeader: ({ className, ...props }: EmptyHeaderProps) => import("react/jsx-runtime").JSX.Element;
17
+ interface EmptyMediaProps extends ComponentPropsWithRef<"div"> {
18
+ }
19
+ declare const EmptyMedia: ({ className, ...props }: EmptyMediaProps) => import("react/jsx-runtime").JSX.Element;
20
+ interface EmptyTitleProps extends ComponentPropsWithRef<"div"> {
21
+ }
22
+ declare const EmptyTitle: ({ className, ...props }: EmptyTitleProps) => import("react/jsx-runtime").JSX.Element;
23
+ interface EmptyDescriptionProps extends ComponentPropsWithRef<"div"> {
24
+ }
25
+ declare const EmptyDescription: ({ className, ...props }: EmptyDescriptionProps) => import("react/jsx-runtime").JSX.Element;
26
+ interface EmptyContentProps extends ComponentPropsWithRef<"div"> {
27
+ }
28
+ declare const EmptyContent: ({ className, ...props }: EmptyContentProps) => import("react/jsx-runtime").JSX.Element;
29
+ interface EmptyActionsProps extends ComponentPropsWithRef<"div"> {
30
+ }
31
+ declare const EmptyActions: ({ className, ...props }: EmptyActionsProps) => import("react/jsx-runtime").JSX.Element;
32
+ declare const Empty: EmptyRootComponent;
33
+ export { Empty, EmptyRoot, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent, EmptyActions, };
34
+ export type { EmptyRootComponent, EmptyRootProps, EmptyHeaderProps, EmptyMediaProps, EmptyTitleProps, EmptyDescriptionProps, EmptyContentProps, EmptyActionsProps, };
@@ -0,0 +1,151 @@
1
+ import React__default, { createContext, useContext } from 'react';
2
+ import { composeSlotClassName } from '../../utils/compose.js';
3
+ import { jsx } from 'react/jsx-runtime';
4
+ import { emptyVariants } from '../../packages/styles/src/components/empty/empty.styles.js';
5
+
6
+ const EmptyContext = /*#__PURE__*/createContext({});
7
+
8
+ /* -------------------------------------------------------------------------------------------------
9
+ * Empty Root
10
+ * -----------------------------------------------------------------------------------------------*/
11
+
12
+ const EmptyRoot = ({
13
+ children,
14
+ className,
15
+ size,
16
+ variant,
17
+ ...props
18
+ }) => {
19
+ const slots = React__default.useMemo(() => emptyVariants({
20
+ size,
21
+ variant
22
+ }), [size, variant]);
23
+ return /*#__PURE__*/jsx(EmptyContext, {
24
+ value: {
25
+ slots
26
+ },
27
+ children: /*#__PURE__*/jsx("div", {
28
+ className: composeSlotClassName(slots.base, className),
29
+ "data-slot": "empty",
30
+ ...props,
31
+ children: children
32
+ })
33
+ });
34
+ };
35
+
36
+ /* -------------------------------------------------------------------------------------------------
37
+ * Empty Header
38
+ * -----------------------------------------------------------------------------------------------*/
39
+
40
+ const EmptyHeader = ({
41
+ className,
42
+ ...props
43
+ }) => {
44
+ const {
45
+ slots
46
+ } = useContext(EmptyContext);
47
+ return /*#__PURE__*/jsx("div", {
48
+ className: composeSlotClassName(slots?.header, className),
49
+ "data-slot": "empty-header",
50
+ ...props
51
+ });
52
+ };
53
+
54
+ /* -------------------------------------------------------------------------------------------------
55
+ * Empty Media
56
+ * -----------------------------------------------------------------------------------------------*/
57
+
58
+ const EmptyMedia = ({
59
+ className,
60
+ ...props
61
+ }) => {
62
+ const {
63
+ slots
64
+ } = useContext(EmptyContext);
65
+ return /*#__PURE__*/jsx("div", {
66
+ className: composeSlotClassName(slots?.media, className),
67
+ "data-slot": "empty-media",
68
+ ...props
69
+ });
70
+ };
71
+
72
+ /* -------------------------------------------------------------------------------------------------
73
+ * Empty Title
74
+ * -----------------------------------------------------------------------------------------------*/
75
+
76
+ const EmptyTitle = ({
77
+ className,
78
+ ...props
79
+ }) => {
80
+ const {
81
+ slots
82
+ } = useContext(EmptyContext);
83
+ return /*#__PURE__*/jsx("div", {
84
+ className: composeSlotClassName(slots?.title, className),
85
+ "data-slot": "empty-title",
86
+ ...props
87
+ });
88
+ };
89
+
90
+ /* -------------------------------------------------------------------------------------------------
91
+ * Empty Description
92
+ * -----------------------------------------------------------------------------------------------*/
93
+
94
+ const EmptyDescription = ({
95
+ className,
96
+ ...props
97
+ }) => {
98
+ const {
99
+ slots
100
+ } = useContext(EmptyContext);
101
+ return /*#__PURE__*/jsx("div", {
102
+ className: composeSlotClassName(slots?.description, className),
103
+ "data-slot": "empty-description",
104
+ ...props
105
+ });
106
+ };
107
+
108
+ /* -------------------------------------------------------------------------------------------------
109
+ * Empty Content
110
+ * -----------------------------------------------------------------------------------------------*/
111
+
112
+ const EmptyContent = ({
113
+ className,
114
+ ...props
115
+ }) => {
116
+ const {
117
+ slots
118
+ } = useContext(EmptyContext);
119
+ return /*#__PURE__*/jsx("div", {
120
+ className: composeSlotClassName(slots?.content, className),
121
+ "data-slot": "empty-content",
122
+ ...props
123
+ });
124
+ };
125
+
126
+ /* -------------------------------------------------------------------------------------------------
127
+ * Empty Actions
128
+ * -----------------------------------------------------------------------------------------------*/
129
+
130
+ const EmptyActions = ({
131
+ className,
132
+ ...props
133
+ }) => {
134
+ const {
135
+ slots
136
+ } = useContext(EmptyContext);
137
+ return /*#__PURE__*/jsx("div", {
138
+ className: composeSlotClassName(slots?.actions, className),
139
+ "data-slot": "empty-actions",
140
+ ...props
141
+ });
142
+ };
143
+ const Empty = EmptyRoot;
144
+ Empty.Header = EmptyHeader;
145
+ Empty.Media = EmptyMedia;
146
+ Empty.Title = EmptyTitle;
147
+ Empty.Description = EmptyDescription;
148
+ Empty.Content = EmptyContent;
149
+ Empty.Actions = EmptyActions;
150
+
151
+ export { Empty, EmptyActions, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyRoot, EmptyTitle };
@@ -0,0 +1,2 @@
1
+ export { Empty, EmptyRoot, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent, EmptyActions, } from "./empty";
2
+ export type { EmptyRootComponent, EmptyRootProps, EmptyHeaderProps, EmptyMediaProps, EmptyTitleProps, EmptyDescriptionProps, EmptyContentProps, EmptyActionsProps, } from "./empty";
@@ -0,0 +1 @@
1
+ export { Empty, EmptyActions, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyRoot, EmptyTitle } from './empty.js';
@@ -0,0 +1,7 @@
1
+ import { type EmptyStateVariants } from "@arobo/styles";
2
+ import type { ComponentPropsWithRef } from "react";
3
+ interface EmptyStateRootProps extends ComponentPropsWithRef<"div">, EmptyStateVariants {
4
+ }
5
+ declare const EmptyStateRoot: ({ children, className, ...rest }: EmptyStateRootProps) => import("react/jsx-runtime").JSX.Element;
6
+ export { EmptyStateRoot };
7
+ export type { EmptyStateRootProps };
@@ -0,0 +1,19 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { emptyStateVariants } from '../../packages/styles/src/components/empty-state/empty-state.styles.js';
3
+
4
+ const EmptyStateRoot = ({
5
+ children,
6
+ className,
7
+ ...rest
8
+ }) => {
9
+ return /*#__PURE__*/jsx("div", {
10
+ className: emptyStateVariants({
11
+ className
12
+ }),
13
+ "data-slot": "empty-state",
14
+ ...rest,
15
+ children: children || "No results found"
16
+ });
17
+ };
18
+
19
+ export { EmptyStateRoot };
@@ -0,0 +1,11 @@
1
+ import type { ComponentProps } from "react";
2
+ import { EmptyStateRoot } from "./empty-state";
3
+ export declare const EmptyState: (({ children, className, ...rest }: import("./empty-state").EmptyStateRootProps) => import("react/jsx-runtime").JSX.Element) & {
4
+ Root: ({ children, className, ...rest }: import("./empty-state").EmptyStateRootProps) => import("react/jsx-runtime").JSX.Element;
5
+ };
6
+ export type EmptyState = {
7
+ Props: ComponentProps<typeof EmptyStateRoot>;
8
+ RootProps: ComponentProps<typeof EmptyStateRoot>;
9
+ };
10
+ export { EmptyStateRoot };
11
+ export type { EmptyStateRootProps, EmptyStateRootProps as EmptyStateProps } from "./empty-state";
@@ -0,0 +1,10 @@
1
+ import { EmptyStateRoot } from './empty-state.js';
2
+
3
+ /* -------------------------------------------------------------------------------------------------
4
+ * Compound Component
5
+ * -----------------------------------------------------------------------------------------------*/
6
+ const EmptyState = Object.assign(EmptyStateRoot, {
7
+ Root: EmptyStateRoot
8
+ });
9
+
10
+ export { EmptyState, EmptyStateRoot };
@@ -1,6 +1,6 @@
1
1
  import { Text } from 'react-aria-components';
2
2
  import { jsx } from 'react/jsx-runtime';
3
- import { errorMessageVariants } from '../../styles/src/components/error-message/error-message.styles.js';
3
+ import { errorMessageVariants } from '../../packages/styles/src/components/error-message/error-message.styles.js';
4
4
 
5
5
  const ErrorMessageRoot = ({
6
6
  children,
@@ -1,5 +1,5 @@
1
1
  import { ErrorMessageRoot } from './error-message.js';
2
- export { errorMessageVariants } from '../../styles/src/components/error-message/error-message.styles.js';
2
+ export { errorMessageVariants } from '../../packages/styles/src/components/error-message/error-message.styles.js';
3
3
 
4
4
  /* -------------------------------------------------------------------------------------------------
5
5
  * Compound Component
@@ -1,7 +1,7 @@
1
1
  import { FieldError } from 'react-aria-components';
2
2
  import { composeTwRenderProps } from '../../utils/compose.js';
3
3
  import { jsx } from 'react/jsx-runtime';
4
- import { fieldErrorVariants } from '../../styles/src/components/field-error/field-error.styles.js';
4
+ import { fieldErrorVariants } from '../../packages/styles/src/components/field-error/field-error.styles.js';
5
5
 
6
6
  const FieldErrorRoot = ({
7
7
  children,
@@ -1,5 +1,5 @@
1
1
  import { FieldErrorRoot } from './field-error.js';
2
- export { fieldErrorVariants } from '../../styles/src/components/field-error/field-error.styles.js';
2
+ export { fieldErrorVariants } from '../../packages/styles/src/components/field-error/field-error.styles.js';
3
3
 
4
4
  /* -------------------------------------------------------------------------------------------------
5
5
  * Compound Component
@@ -0,0 +1,16 @@
1
+ import type { FieldsetVariants } from "@arobo/styles";
2
+ import type { ComponentPropsWithRef } from "react";
3
+ interface FieldsetRootProps extends ComponentPropsWithRef<"fieldset">, FieldsetVariants {
4
+ }
5
+ declare const FieldsetRoot: ({ className, ...props }: FieldsetRootProps) => import("react/jsx-runtime").JSX.Element;
6
+ interface FieldsetLegendProps extends ComponentPropsWithRef<"legend"> {
7
+ }
8
+ declare const FieldsetLegend: ({ className, ...props }: FieldsetLegendProps) => import("react/jsx-runtime").JSX.Element;
9
+ interface FieldGroupProps extends ComponentPropsWithRef<"div"> {
10
+ }
11
+ declare const FieldGroup: ({ className, ...rest }: FieldGroupProps) => import("react/jsx-runtime").JSX.Element;
12
+ interface FieldsetActionsProps extends ComponentPropsWithRef<"div"> {
13
+ }
14
+ declare const FieldsetActions: ({ children, className, ...rest }: FieldsetActionsProps) => import("react/jsx-runtime").JSX.Element;
15
+ export { FieldsetRoot, FieldsetLegend, FieldGroup, FieldsetActions };
16
+ export type { FieldsetRootProps, FieldsetLegendProps, FieldGroupProps, FieldsetActionsProps, };
@@ -0,0 +1,87 @@
1
+ import React__default, { createContext, useContext } from 'react';
2
+ import { composeSlotClassName } from '../../utils/compose.js';
3
+ import { jsx } from 'react/jsx-runtime';
4
+ import { fieldsetVariants } from '../../packages/styles/src/components/fieldset/fieldset.styles.js';
5
+
6
+ const FieldsetContext = /*#__PURE__*/createContext({});
7
+
8
+ /* -------------------------------------------------------------------------------------------------
9
+ * Fieldset Root
10
+ * -----------------------------------------------------------------------------------------------*/
11
+
12
+ const FieldsetRoot = ({
13
+ className,
14
+ ...props
15
+ }) => {
16
+ const slots = React__default.useMemo(() => fieldsetVariants({}), []);
17
+ return /*#__PURE__*/jsx(FieldsetContext, {
18
+ value: {
19
+ slots
20
+ },
21
+ children: /*#__PURE__*/jsx("fieldset", {
22
+ className: slots?.base({
23
+ className
24
+ }),
25
+ "data-slot": "fieldset",
26
+ ...props
27
+ })
28
+ });
29
+ };
30
+
31
+ /* -------------------------------------------------------------------------------------------------
32
+ * Fieldset Legend
33
+ * -----------------------------------------------------------------------------------------------*/
34
+
35
+ const FieldsetLegend = ({
36
+ className,
37
+ ...props
38
+ }) => {
39
+ const {
40
+ slots
41
+ } = useContext(FieldsetContext);
42
+ return /*#__PURE__*/jsx("legend", {
43
+ className: composeSlotClassName(slots?.legend, className),
44
+ "data-slot": "fieldset-legend",
45
+ ...props
46
+ });
47
+ };
48
+
49
+ /* -------------------------------------------------------------------------------------------------
50
+ * Field Group
51
+ * -----------------------------------------------------------------------------------------------*/
52
+
53
+ const FieldGroup = ({
54
+ className,
55
+ ...rest
56
+ }) => {
57
+ const {
58
+ slots
59
+ } = useContext(FieldsetContext);
60
+ return /*#__PURE__*/jsx("div", {
61
+ className: composeSlotClassName(slots?.fieldGroup, className),
62
+ "data-slot": "fieldset-field-group",
63
+ ...rest
64
+ });
65
+ };
66
+
67
+ /* -------------------------------------------------------------------------------------------------
68
+ * Field Actions
69
+ * -----------------------------------------------------------------------------------------------*/
70
+
71
+ const FieldsetActions = ({
72
+ children,
73
+ className,
74
+ ...rest
75
+ }) => {
76
+ const {
77
+ slots
78
+ } = useContext(FieldsetContext);
79
+ return /*#__PURE__*/jsx("div", {
80
+ className: composeSlotClassName(slots?.actions, className),
81
+ "data-slot": "fieldset-actions",
82
+ ...rest,
83
+ children: children
84
+ });
85
+ };
86
+
87
+ export { FieldGroup, FieldsetActions, FieldsetLegend, FieldsetRoot };
@@ -0,0 +1,19 @@
1
+ import type { ComponentProps } from "react";
2
+ import { FieldGroup, FieldsetActions, FieldsetLegend, FieldsetRoot } from "./fieldset";
3
+ export declare const Fieldset: (({ className, ...props }: import("./fieldset").FieldsetRootProps) => import("react/jsx-runtime").JSX.Element) & {
4
+ Root: ({ className, ...props }: import("./fieldset").FieldsetRootProps) => import("react/jsx-runtime").JSX.Element;
5
+ Legend: ({ className, ...props }: import("./fieldset").FieldsetLegendProps) => import("react/jsx-runtime").JSX.Element;
6
+ Group: ({ className, ...rest }: import("./fieldset").FieldGroupProps) => import("react/jsx-runtime").JSX.Element;
7
+ Actions: ({ children, className, ...rest }: import("./fieldset").FieldsetActionsProps) => import("react/jsx-runtime").JSX.Element;
8
+ };
9
+ export type Fieldset = {
10
+ Props: ComponentProps<typeof FieldsetRoot>;
11
+ RootProps: ComponentProps<typeof FieldsetRoot>;
12
+ LegendProps: ComponentProps<typeof FieldsetLegend>;
13
+ GroupProps: ComponentProps<typeof FieldGroup>;
14
+ ActionsProps: ComponentProps<typeof FieldsetActions>;
15
+ };
16
+ export { FieldsetRoot, FieldsetLegend, FieldGroup, FieldsetActions };
17
+ export type { FieldsetRootProps, FieldsetRootProps as FieldsetProps, FieldsetLegendProps, FieldGroupProps, FieldsetActionsProps, } from "./fieldset";
18
+ export { fieldsetVariants } from "@arobo/styles";
19
+ export type { FieldsetVariants } from "@arobo/styles";
@@ -0,0 +1,14 @@
1
+ import { FieldsetRoot, FieldsetActions, FieldGroup, FieldsetLegend } from './fieldset.js';
2
+ export { fieldsetVariants } from '../../packages/styles/src/components/fieldset/fieldset.styles.js';
3
+
4
+ /* -------------------------------------------------------------------------------------------------
5
+ * Compound Component
6
+ * -----------------------------------------------------------------------------------------------*/
7
+ const Fieldset = Object.assign(FieldsetRoot, {
8
+ Root: FieldsetRoot,
9
+ Legend: FieldsetLegend,
10
+ Group: FieldGroup,
11
+ Actions: FieldsetActions
12
+ });
13
+
14
+ export { FieldGroup, Fieldset, FieldsetActions, FieldsetLegend, FieldsetRoot };
@@ -0,0 +1,7 @@
1
+ import type { ComponentPropsWithRef } from "react";
2
+ import { Header as HeaderPrimitive } from "react-aria-components";
3
+ interface HeaderRootProps extends ComponentPropsWithRef<typeof HeaderPrimitive> {
4
+ }
5
+ declare const HeaderRoot: ({ children, className, ...rest }: HeaderRootProps) => import("react/jsx-runtime").JSX.Element;
6
+ export { HeaderRoot };
7
+ export type { HeaderRootProps };
@@ -0,0 +1,20 @@
1
+ import { Header } from 'react-aria-components';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { headerVariants } from '../../packages/styles/src/components/header/header.styles.js';
4
+
5
+ const HeaderRoot = ({
6
+ children,
7
+ className,
8
+ ...rest
9
+ }) => {
10
+ return /*#__PURE__*/jsx(Header, {
11
+ className: headerVariants({
12
+ className
13
+ }),
14
+ "data-slot": "header",
15
+ ...rest,
16
+ children: children
17
+ });
18
+ };
19
+
20
+ export { HeaderRoot };
@@ -0,0 +1,8 @@
1
+ import type { ComponentProps } from "react";
2
+ import { HeaderRoot } from "./header";
3
+ export declare const Header: ({ children, className, ...rest }: import("./header").HeaderRootProps) => import("react/jsx-runtime").JSX.Element;
4
+ export type Header = {
5
+ Props: ComponentProps<typeof HeaderRoot>;
6
+ };
7
+ export { HeaderRoot };
8
+ export type { HeaderRootProps, HeaderRootProps as HeaderProps } from "./header";
@@ -0,0 +1,8 @@
1
+ import { HeaderRoot } from './header.js';
2
+
3
+ /* -------------------------------------------------------------------------------------------------
4
+ * Compound Component
5
+ * -----------------------------------------------------------------------------------------------*/
6
+ const Header = HeaderRoot;
7
+
8
+ export { Header, HeaderRoot };
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import { type HeadingVariants } from "@arobo/styles";
3
+ export declare const HeadingTags: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
4
+ export declare const defaultHeadingTag: "h2";
5
+ interface HeadingRootProps extends HeadingVariants {
6
+ children?: React.ReactNode;
7
+ className?: string;
8
+ as?: (typeof HeadingTags)[number];
9
+ }
10
+ declare const HeadingRoot: React.ForwardRefExoticComponent<HeadingRootProps & React.RefAttributes<HTMLDivElement>>;
11
+ export { HeadingRoot };
12
+ export type { HeadingRootProps };
@@ -0,0 +1,29 @@
1
+ import React__default from 'react';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { headingVariants } from '../../packages/styles/src/components/heading/heading.styles.js';
4
+
5
+ const HeadingTags = ["h1", "h2", "h3", "h4", "h5", "h6"];
6
+ const defaultHeadingTag = HeadingTags[1]; // "h2"
7
+
8
+ /* -------------------------------------------------------------------------------------------------
9
+ * HeadingRoot
10
+ * -----------------------------------------------------------------------------------------------*/
11
+
12
+ const HeadingRoot = /*#__PURE__*/React__default.forwardRef(({
13
+ children,
14
+ className,
15
+ as: HeadingComponent = defaultHeadingTag,
16
+ ...props
17
+ }, ref) => {
18
+ return /*#__PURE__*/jsx(HeadingComponent, {
19
+ ref: ref,
20
+ className: headingVariants({
21
+ className,
22
+ ...props
23
+ }),
24
+ children: children
25
+ });
26
+ });
27
+ HeadingRoot.displayName = "Heading";
28
+
29
+ export { HeadingRoot, HeadingTags, defaultHeadingTag };
@@ -0,0 +1,13 @@
1
+ import type { ComponentProps } from "react";
2
+ import { HeadingRoot } from "./heading";
3
+ export declare const Heading: import("react").ForwardRefExoticComponent<import("./heading").HeadingRootProps & import("react").RefAttributes<HTMLDivElement>> & {
4
+ Root: import("react").ForwardRefExoticComponent<import("./heading").HeadingRootProps & import("react").RefAttributes<HTMLDivElement>>;
5
+ };
6
+ export type Heading = {
7
+ Props: ComponentProps<typeof HeadingRoot>;
8
+ RootProps: ComponentProps<typeof HeadingRoot>;
9
+ };
10
+ export { HeadingRoot } from "./heading";
11
+ export type { HeadingRootProps, HeadingRootProps as HeadingProps, } from "./heading";
12
+ export { headingVariants } from "@arobo/styles";
13
+ export type { HeadingVariants } from "@arobo/styles";
@@ -0,0 +1,11 @@
1
+ import { HeadingRoot } from './heading.js';
2
+ export { headingVariants } from '../../packages/styles/src/components/heading/heading.styles.js';
3
+
4
+ /* -------------------------------------------------------------------------------------------------
5
+ * Compound Component
6
+ * -----------------------------------------------------------------------------------------------*/
7
+ const Heading = Object.assign(HeadingRoot, {
8
+ Root: HeadingRoot
9
+ });
10
+
11
+ export { Heading, HeadingRoot };