@px-ui/ui 1.0.10 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) hide show
  1. package/dist/{avatar-CbuG-kqF.d.ts → avatar-DTxH_yTY.d.ts} +6 -6
  2. package/dist/{avatar-CbuG-kqF.d.ts.map → avatar-DTxH_yTY.d.ts.map} +1 -1
  3. package/dist/{avatar-Bb0tx0Hn.js → avatar-DnDnGmSj.js} +3 -3
  4. package/dist/{avatar-Bb0tx0Hn.js.map → avatar-DnDnGmSj.js.map} +1 -1
  5. package/dist/{button-BkzvdmIX.d.ts → button-Cfd9X6pX.d.ts} +7 -7
  6. package/dist/{button-BkzvdmIX.d.ts.map → button-Cfd9X6pX.d.ts.map} +1 -1
  7. package/dist/{button-hBUFMmsZ.js → button-DnHwqwy0.js} +2 -2
  8. package/dist/{button-hBUFMmsZ.js.map → button-DnHwqwy0.js.map} +1 -1
  9. package/dist/checkbox-CwkX29tL.js +22 -0
  10. package/dist/checkbox-CwkX29tL.js.map +1 -0
  11. package/dist/collapsible-DsrYXIW5.js +28 -0
  12. package/dist/collapsible-DsrYXIW5.js.map +1 -0
  13. package/dist/{combobox-CHkmVNZ2.js → combobox-5IAivvXw.js} +8 -8
  14. package/dist/{combobox-CHkmVNZ2.js.map → combobox-5IAivvXw.js.map} +1 -1
  15. package/dist/{combobox-C5txQ2La.d.ts → combobox-BBMYGrI2.d.ts} +19 -19
  16. package/dist/{combobox-C5txQ2La.d.ts.map → combobox-BBMYGrI2.d.ts.map} +1 -1
  17. package/dist/components/accordion.d.ts +5 -5
  18. package/dist/components/accordion.d.ts.map +1 -1
  19. package/dist/components/accordion.js +1 -1
  20. package/dist/components/alert-dialog.d.ts +14 -14
  21. package/dist/components/alert-dialog.js +2 -2
  22. package/dist/components/alert.d.ts +7 -7
  23. package/dist/components/alert.js +1 -1
  24. package/dist/components/aspect-ratio.d.ts +2 -2
  25. package/dist/components/aspect-ratio.d.ts.map +1 -1
  26. package/dist/components/aspect-ratio.js +1 -1
  27. package/dist/components/attachment.d.ts +64 -0
  28. package/dist/components/attachment.d.ts.map +1 -0
  29. package/dist/components/attachment.js +107 -0
  30. package/dist/components/attachment.js.map +1 -0
  31. package/dist/components/avatar-group.d.ts +4 -4
  32. package/dist/components/avatar-group.d.ts.map +1 -1
  33. package/dist/components/avatar-group.js +4 -4
  34. package/dist/components/avatar.d.ts +1 -1
  35. package/dist/components/avatar.js +3 -3
  36. package/dist/components/badge.d.ts +1 -1
  37. package/dist/components/badge.js +1 -1
  38. package/dist/components/breadcrumb.d.ts +7 -7
  39. package/dist/components/breadcrumb.js +1 -1
  40. package/dist/components/bubble.d.ts +39 -0
  41. package/dist/components/bubble.d.ts.map +1 -0
  42. package/dist/components/bubble.js +76 -0
  43. package/dist/components/bubble.js.map +1 -0
  44. package/dist/components/button-group.d.ts +6 -6
  45. package/dist/components/button-group.js +2 -2
  46. package/dist/components/button.d.ts +1 -1
  47. package/dist/components/button.js +2 -2
  48. package/dist/components/calendar.d.ts +4 -4
  49. package/dist/components/calendar.js +2 -2
  50. package/dist/components/card.d.ts +8 -8
  51. package/dist/components/card.js +1 -1
  52. package/dist/components/carousel.d.ts +7 -7
  53. package/dist/components/carousel.js +2 -2
  54. package/dist/components/chart.d.ts +5 -5
  55. package/dist/components/chart.js +1 -1
  56. package/dist/components/checkbox.d.ts +2 -2
  57. package/dist/components/checkbox.d.ts.map +1 -1
  58. package/dist/components/checkbox.js +3 -21
  59. package/dist/components/collapsible.d.ts +4 -4
  60. package/dist/components/collapsible.js +3 -27
  61. package/dist/components/combobox.d.ts +2 -2
  62. package/dist/components/combobox.js +11 -11
  63. package/dist/components/command.d.ts +11 -11
  64. package/dist/components/command.js +6 -6
  65. package/dist/components/context-menu.d.ts +16 -16
  66. package/dist/components/context-menu.d.ts.map +1 -1
  67. package/dist/components/context-menu.js +1 -1
  68. package/dist/components/currency-select-field.d.ts +4 -4
  69. package/dist/components/currency-select-field.js +11 -11
  70. package/dist/components/dialog.d.ts +11 -11
  71. package/dist/components/dialog.js +3 -3
  72. package/dist/components/direction.js +1 -1
  73. package/dist/components/drawer.d.ts +11 -11
  74. package/dist/components/drawer.js +1 -1
  75. package/dist/components/dropdown-menu.d.ts +1 -1
  76. package/dist/components/dropdown-menu.js +2 -2
  77. package/dist/components/editor-output.d.ts +87 -0
  78. package/dist/components/editor-output.d.ts.map +1 -0
  79. package/dist/components/editor-output.js +158 -0
  80. package/dist/components/editor-output.js.map +1 -0
  81. package/dist/components/empty.d.ts +9 -9
  82. package/dist/components/empty.js +3 -61
  83. package/dist/components/field.d.ts +15 -15
  84. package/dist/components/field.js +3 -3
  85. package/dist/components/file-upload-field.d.ts +3 -3
  86. package/dist/components/file-upload-field.js +5 -5
  87. package/dist/components/file-upload.d.ts +3 -3
  88. package/dist/components/file-upload.js +4 -4
  89. package/dist/components/hover-card.d.ts +4 -4
  90. package/dist/components/hover-card.js +1 -1
  91. package/dist/components/icon.d.ts +83 -0
  92. package/dist/components/icon.d.ts.map +1 -0
  93. package/dist/components/icon.js +188 -0
  94. package/dist/components/icon.js.map +1 -0
  95. package/dist/components/input-group.d.ts +9 -9
  96. package/dist/components/input-group.js +5 -5
  97. package/dist/components/input-otp.d.ts +5 -5
  98. package/dist/components/input-otp.js +1 -1
  99. package/dist/components/input.d.ts +1 -1
  100. package/dist/components/input.js +2 -2
  101. package/dist/components/item.d.ts +14 -14
  102. package/dist/components/item.d.ts.map +1 -1
  103. package/dist/components/item.js +2 -2
  104. package/dist/components/kbd.d.ts +3 -3
  105. package/dist/components/kbd.js +1 -1
  106. package/dist/components/label.d.ts +1 -1
  107. package/dist/components/label.js +2 -2
  108. package/dist/components/marker.d.ts +27 -0
  109. package/dist/components/marker.d.ts.map +1 -0
  110. package/dist/components/marker.js +46 -0
  111. package/dist/components/marker.js.map +1 -0
  112. package/dist/components/menubar.d.ts +18 -18
  113. package/dist/components/menubar.d.ts.map +1 -1
  114. package/dist/components/menubar.js +7 -7
  115. package/dist/components/menubar.js.map +1 -1
  116. package/dist/components/message-scroller.d.ts +36 -0
  117. package/dist/components/message-scroller.d.ts.map +1 -0
  118. package/dist/components/message-scroller.js +63 -0
  119. package/dist/components/message-scroller.js.map +1 -0
  120. package/dist/components/message.d.ts +34 -0
  121. package/dist/components/message.d.ts.map +1 -0
  122. package/dist/components/message.js +52 -0
  123. package/dist/components/message.js.map +1 -0
  124. package/dist/components/native-select.d.ts +4 -4
  125. package/dist/components/native-select.js +1 -1
  126. package/dist/components/navigation-menu.d.ts +11 -11
  127. package/dist/components/navigation-menu.js +1 -1
  128. package/dist/components/pagination.d.ts +9 -9
  129. package/dist/components/pagination.d.ts.map +1 -1
  130. package/dist/components/pagination.js +2 -2
  131. package/dist/components/phone-input.d.ts +2 -2
  132. package/dist/components/phone-input.js +1 -1
  133. package/dist/components/popover.d.ts +7 -7
  134. package/dist/components/popover.d.ts.map +1 -1
  135. package/dist/components/popover.js +2 -2
  136. package/dist/components/progress.d.ts +6 -6
  137. package/dist/components/progress.js +1 -1
  138. package/dist/components/radio-group.d.ts +3 -3
  139. package/dist/components/radio-group.js +1 -1
  140. package/dist/components/resizable.d.ts +4 -4
  141. package/dist/components/resizable.js +1 -1
  142. package/dist/components/rich-text-editor.d.ts +204 -0
  143. package/dist/components/rich-text-editor.d.ts.map +1 -0
  144. package/dist/components/rich-text-editor.js +359 -0
  145. package/dist/components/rich-text-editor.js.map +1 -0
  146. package/dist/components/scroll-area.d.ts +13 -3
  147. package/dist/components/scroll-area.d.ts.map +1 -1
  148. package/dist/components/scroll-area.js +3 -38
  149. package/dist/components/select.d.ts +10 -10
  150. package/dist/components/select.js +1 -1
  151. package/dist/components/separator.d.ts +1 -1
  152. package/dist/components/separator.js +2 -2
  153. package/dist/components/sheet.d.ts +9 -9
  154. package/dist/components/sheet.js +3 -3
  155. package/dist/components/sidebar.d.ts +26 -26
  156. package/dist/components/sidebar.d.ts.map +1 -1
  157. package/dist/components/sidebar.js +8 -8
  158. package/dist/components/skeleton.d.ts +2 -2
  159. package/dist/components/skeleton.js +2 -2
  160. package/dist/components/slider.d.ts +2 -2
  161. package/dist/components/slider.js +1 -1
  162. package/dist/components/sortable-list.d.ts +153 -0
  163. package/dist/components/sortable-list.d.ts.map +1 -0
  164. package/dist/components/sortable-list.js +191 -0
  165. package/dist/components/sortable-list.js.map +1 -0
  166. package/dist/components/spinner.d.ts +2 -2
  167. package/dist/components/spinner.js +2 -2
  168. package/dist/components/stepper.d.ts +171 -0
  169. package/dist/components/stepper.d.ts.map +1 -0
  170. package/dist/components/stepper.js +281 -0
  171. package/dist/components/stepper.js.map +1 -0
  172. package/dist/components/switch.d.ts +2 -2
  173. package/dist/components/switch.js +1 -1
  174. package/dist/components/table.d.ts +9 -9
  175. package/dist/components/table.js +1 -1
  176. package/dist/components/tabs.d.ts +8 -8
  177. package/dist/components/tabs.d.ts.map +1 -1
  178. package/dist/components/tabs.js +1 -1
  179. package/dist/components/textarea.d.ts +2 -2
  180. package/dist/components/textarea.js +2 -2
  181. package/dist/components/toast.d.ts +1 -1
  182. package/dist/components/toast.js +2 -2
  183. package/dist/components/toggle-group.d.ts +4 -4
  184. package/dist/components/toggle-group.js +2 -2
  185. package/dist/components/toggle.d.ts +1 -1
  186. package/dist/components/toggle.js +2 -2
  187. package/dist/components/tooltip.d.ts +1 -1
  188. package/dist/components/tooltip.js +2 -2
  189. package/dist/components/tree-select.d.ts +192 -0
  190. package/dist/components/tree-select.d.ts.map +1 -0
  191. package/dist/components/tree-select.js +421 -0
  192. package/dist/components/tree-select.js.map +1 -0
  193. package/dist/{dialog-DrdXva1a.js → dialog-DuGJUPQl.js} +3 -3
  194. package/dist/{dialog-DrdXva1a.js.map → dialog-DuGJUPQl.js.map} +1 -1
  195. package/dist/{dropdown-menu-CcumvwhM.js → dropdown-menu-BWEfcvmP.js} +19 -19
  196. package/dist/{dropdown-menu-CcumvwhM.js.map → dropdown-menu-BWEfcvmP.js.map} +1 -1
  197. package/dist/{dropdown-menu-BC7zFA2L.d.ts → dropdown-menu-DGgfWYrK.d.ts} +17 -17
  198. package/dist/{dropdown-menu-BC7zFA2L.d.ts.map → dropdown-menu-DGgfWYrK.d.ts.map} +1 -1
  199. package/dist/empty-U4zrLmFU.js +62 -0
  200. package/dist/empty-U4zrLmFU.js.map +1 -0
  201. package/dist/{file-upload-DoGu67Bu.d.ts → file-upload-BvAtAxLc.d.ts} +10 -10
  202. package/dist/{file-upload-DoGu67Bu.d.ts.map → file-upload-BvAtAxLc.d.ts.map} +1 -1
  203. package/dist/{file-upload-DeCIv13t.js → file-upload-DU5FAkHm.js} +4 -4
  204. package/dist/{file-upload-DeCIv13t.js.map → file-upload-DU5FAkHm.js.map} +1 -1
  205. package/dist/hooks/use-async-options.d.ts +1 -1
  206. package/dist/hooks/use-async-options.js +1 -1
  207. package/dist/hooks/use-debounce.js +1 -1
  208. package/dist/hooks/use-file-upload.d.ts +1 -1
  209. package/dist/hooks/use-file-upload.js +1 -1
  210. package/dist/hooks/use-infinite-scroll.d.ts +1 -1
  211. package/dist/hooks/use-infinite-scroll.js +2 -2
  212. package/dist/hooks/use-intersection-observer.d.ts +1 -1
  213. package/dist/hooks/use-intersection-observer.js +1 -1
  214. package/dist/hooks/use-mobile.js +1 -1
  215. package/dist/{input-CoP6CeA5.d.ts → input-BExbcSu4.d.ts} +3 -3
  216. package/dist/input-BExbcSu4.d.ts.map +1 -0
  217. package/dist/{input-group-DqEkmpXW.js → input-group-B5PMRYld.js} +5 -5
  218. package/dist/{input-group-DqEkmpXW.js.map → input-group-B5PMRYld.js.map} +1 -1
  219. package/dist/{input-8jqdnUZl.js → input-jIoNIdLQ.js} +2 -2
  220. package/dist/{input-8jqdnUZl.js.map → input-jIoNIdLQ.js.map} +1 -1
  221. package/dist/label-BFg2hxuL.d.ts +11 -0
  222. package/dist/label-BFg2hxuL.d.ts.map +1 -0
  223. package/dist/{label-AaH9ZYCZ.js → label-DsRhOKY_.js} +2 -2
  224. package/dist/{label-AaH9ZYCZ.js.map → label-DsRhOKY_.js.map} +1 -1
  225. package/dist/lib/utils.js +1 -1
  226. package/dist/{popover-C9D43EuT.js → popover-BGkU46G7.js} +2 -2
  227. package/dist/{popover-C9D43EuT.js.map → popover-BGkU46G7.js.map} +1 -1
  228. package/dist/providers/px-ui-provider.d.ts +4 -4
  229. package/dist/providers/px-ui-provider.d.ts.map +1 -1
  230. package/dist/providers/px-ui-provider.js +4 -4
  231. package/dist/scroll-area-mNVMQ0Of.js +40 -0
  232. package/dist/scroll-area-mNVMQ0Of.js.map +1 -0
  233. package/dist/{separator-BS3ilczC.js → separator-D0bew2D_.js} +2 -2
  234. package/dist/{separator-BS3ilczC.js.map → separator-D0bew2D_.js.map} +1 -1
  235. package/dist/{separator-D0hWdzUT.d.ts → separator-Df76guaT.d.ts} +3 -3
  236. package/dist/{separator-D0hWdzUT.d.ts.map → separator-Df76guaT.d.ts.map} +1 -1
  237. package/dist/{sheet-CLjNDrfL.js → sheet-BB23q6wd.js} +3 -3
  238. package/dist/{sheet-CLjNDrfL.js.map → sheet-BB23q6wd.js.map} +1 -1
  239. package/dist/{skeleton-BcIxI5Wq.js → skeleton-knxLhbA5.js} +2 -2
  240. package/dist/{skeleton-BcIxI5Wq.js.map → skeleton-knxLhbA5.js.map} +1 -1
  241. package/dist/{spinner-Bo0sUZEg.js → spinner-9MdgLDTZ.js} +2 -2
  242. package/dist/{spinner-Bo0sUZEg.js.map → spinner-9MdgLDTZ.js.map} +1 -1
  243. package/dist/styles.css +665 -1
  244. package/dist/{textarea-Cq0o323P.js → textarea-hZg0gA8u.js} +2 -2
  245. package/dist/{textarea-Cq0o323P.js.map → textarea-hZg0gA8u.js.map} +1 -1
  246. package/dist/{toast-COWAQbIk.js → toast-BdxoP8vz.js} +2 -2
  247. package/dist/{toast-COWAQbIk.js.map → toast-BdxoP8vz.js.map} +1 -1
  248. package/dist/{toast-DkzzdXGU.d.ts → toast-C5FRpq1P.d.ts} +4 -4
  249. package/dist/{toast-DkzzdXGU.d.ts.map → toast-C5FRpq1P.d.ts.map} +1 -1
  250. package/dist/{toggle-lqIyJptS.js → toggle-BZXrLBLK.js} +2 -2
  251. package/dist/{toggle-lqIyJptS.js.map → toggle-BZXrLBLK.js.map} +1 -1
  252. package/dist/{toggle-Dq3ftPFj.d.ts → toggle-CyTngkhT.d.ts} +6 -6
  253. package/dist/{toggle-Dq3ftPFj.d.ts.map → toggle-CyTngkhT.d.ts.map} +1 -1
  254. package/dist/{tooltip-DBoqfN9z.d.ts → tooltip-CkX3CD71.d.ts} +6 -6
  255. package/dist/{tooltip-DBoqfN9z.d.ts.map → tooltip-CkX3CD71.d.ts.map} +1 -1
  256. package/dist/{tooltip-DkPxCJIL.js → tooltip-Dsfn_zZD.js} +2 -2
  257. package/dist/{tooltip-DkPxCJIL.js.map → tooltip-Dsfn_zZD.js.map} +1 -1
  258. package/dist/{use-async-options-Cu5T43vj.d.ts → use-async-options-DdyHJxHh.d.ts} +1 -1
  259. package/dist/{use-async-options-Cu5T43vj.d.ts.map → use-async-options-DdyHJxHh.d.ts.map} +1 -1
  260. package/dist/{use-async-options-CcsImGX4.js → use-async-options-tueAuVs_.js} +1 -1
  261. package/dist/{use-async-options-CcsImGX4.js.map → use-async-options-tueAuVs_.js.map} +1 -1
  262. package/dist/{use-debounce-_qaEZqtt.js → use-debounce-7gIeOwla.js} +1 -1
  263. package/dist/{use-debounce-_qaEZqtt.js.map → use-debounce-7gIeOwla.js.map} +1 -1
  264. package/dist/{use-file-upload-yy-xLBtn.d.ts → use-file-upload-Bc7CyQ7O.d.ts} +1 -1
  265. package/dist/{use-file-upload-yy-xLBtn.d.ts.map → use-file-upload-Bc7CyQ7O.d.ts.map} +1 -1
  266. package/dist/{use-file-upload-Dxrej28u.js → use-file-upload-DQD1vY_Z.js} +1 -1
  267. package/dist/{use-file-upload-Dxrej28u.js.map → use-file-upload-DQD1vY_Z.js.map} +1 -1
  268. package/dist/{use-infinite-scroll-CpbhGGT5.js → use-infinite-scroll-HpeMA2MK.js} +2 -2
  269. package/dist/{use-infinite-scroll-CpbhGGT5.js.map → use-infinite-scroll-HpeMA2MK.js.map} +1 -1
  270. package/dist/{use-intersection-observer-C2xDq2SW.d.ts → use-intersection-observer-DNPextJs.d.ts} +1 -1
  271. package/dist/{use-intersection-observer-C2xDq2SW.d.ts.map → use-intersection-observer-DNPextJs.d.ts.map} +1 -1
  272. package/dist/{use-intersection-observer-CZfnep4z.js → use-intersection-observer-rlKEjyL1.js} +1 -1
  273. package/dist/{use-intersection-observer-CZfnep4z.js.map → use-intersection-observer-rlKEjyL1.js.map} +1 -1
  274. package/dist/{use-mobile-l5ebOdQl.js → use-mobile-DUqQzj2D.js} +1 -1
  275. package/dist/{use-mobile-l5ebOdQl.js.map → use-mobile-DUqQzj2D.js.map} +1 -1
  276. package/dist/{utils-mWJR2N24.js → utils-DUlptRpf.js} +1 -1
  277. package/dist/{utils-mWJR2N24.js.map → utils-DUlptRpf.js.map} +1 -1
  278. package/package.json +81 -1
  279. package/dist/components/checkbox.js.map +0 -1
  280. package/dist/components/collapsible.js.map +0 -1
  281. package/dist/components/empty.js.map +0 -1
  282. package/dist/components/scroll-area.js.map +0 -1
  283. package/dist/input-CoP6CeA5.d.ts.map +0 -1
  284. package/dist/label-Dw4Hcz5k.d.ts +0 -11
  285. package/dist/label-Dw4Hcz5k.d.ts.map +0 -1
  286. /package/dist/{direction-BKSh6e6q.js → direction-DFPbwDSF.js} +0 -0
@@ -0,0 +1,52 @@
1
+ import { t as cn } from "../utils-DUlptRpf.js";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import "react";
4
+
5
+ //#region src/components/message.tsx
6
+ function MessageGroup({ className, ...props }) {
7
+ return /* @__PURE__ */ jsx("div", {
8
+ "data-slot": "message-group",
9
+ className: cn("flex min-w-0 flex-col gap-2", className),
10
+ ...props
11
+ });
12
+ }
13
+ function Message({ className, align = "start", ...props }) {
14
+ return /* @__PURE__ */ jsx("div", {
15
+ "data-slot": "message",
16
+ "data-align": align,
17
+ className: cn("group/message relative flex w-full min-w-0 gap-2 text-sm data-[align=end]:flex-row-reverse", className),
18
+ ...props
19
+ });
20
+ }
21
+ function MessageAvatar({ className, ...props }) {
22
+ return /* @__PURE__ */ jsx("div", {
23
+ "data-slot": "message-avatar",
24
+ className: cn("flex w-fit min-w-8 shrink-0 items-center justify-center self-end overflow-hidden rounded-full bg-muted group-has-data-[slot=message-footer]/message:-translate-y-8", className),
25
+ ...props
26
+ });
27
+ }
28
+ function MessageContent({ className, ...props }) {
29
+ return /* @__PURE__ */ jsx("div", {
30
+ "data-slot": "message-content",
31
+ className: cn("flex w-full min-w-0 flex-col gap-2.5 wrap-break-word group-data-[align=end]/message:*:data-slot:self-end", className),
32
+ ...props
33
+ });
34
+ }
35
+ function MessageHeader({ className, ...props }) {
36
+ return /* @__PURE__ */ jsx("div", {
37
+ "data-slot": "message-header",
38
+ className: cn("flex max-w-full min-w-0 items-center px-3 text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0", className),
39
+ ...props
40
+ });
41
+ }
42
+ function MessageFooter({ className, ...props }) {
43
+ return /* @__PURE__ */ jsx("div", {
44
+ "data-slot": "message-footer",
45
+ className: cn("flex max-w-full min-w-0 items-center px-3 text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0 group-data-[align=end]/message:justify-end", className),
46
+ ...props
47
+ });
48
+ }
49
+
50
+ //#endregion
51
+ export { Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader };
52
+ //# sourceMappingURL=message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message.js","names":[],"sources":["../../src/components/message.tsx"],"sourcesContent":["import * as React from \"react\"\n\nimport { cn } from \"@px-ui/ui/lib/utils\"\n\nfunction MessageGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"message-group\"\n className={cn(\"flex min-w-0 flex-col gap-2\", className)}\n {...props}\n />\n )\n}\n\nfunction Message({\n className,\n align = \"start\",\n ...props\n}: React.ComponentProps<\"div\"> & { align?: \"start\" | \"end\" }) {\n return (\n <div\n data-slot=\"message\"\n data-align={align}\n className={cn(\n \"group/message relative flex w-full min-w-0 gap-2 text-sm data-[align=end]:flex-row-reverse\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction MessageAvatar({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"message-avatar\"\n className={cn(\n \"flex w-fit min-w-8 shrink-0 items-center justify-center self-end overflow-hidden rounded-full bg-muted group-has-data-[slot=message-footer]/message:-translate-y-8\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction MessageContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"message-content\"\n className={cn(\n \"flex w-full min-w-0 flex-col gap-2.5 wrap-break-word group-data-[align=end]/message:*:data-slot:self-end\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction MessageHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"message-header\"\n className={cn(\n \"flex max-w-full min-w-0 items-center px-3 text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction MessageFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"message-footer\"\n className={cn(\n \"flex max-w-full min-w-0 items-center px-3 text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0 group-data-[align=end]/message:justify-end\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n MessageGroup,\n Message,\n MessageAvatar,\n MessageContent,\n MessageFooter,\n MessageHeader,\n}\n"],"mappings":";;;;;AAIA,SAAS,aAAa,EAAE,WAAW,GAAG,SAAsC;AAC1E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,+BAA+B,UAAU;EACvD,GAAI;GACJ;;AAIN,SAAS,QAAQ,EACf,WACA,QAAQ,SACR,GAAG,SACyD;AAC5D,QACE,oBAAC;EACC,aAAU;EACV,cAAY;EACZ,WAAW,GACT,8FACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,cAAc,EAAE,WAAW,GAAG,SAAsC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,sKACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,eAAe,EAAE,WAAW,GAAG,SAAsC;AAC5E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,4GACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,cAAc,EAAE,WAAW,GAAG,SAAsC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,mIACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,cAAc,EAAE,WAAW,GAAG,SAAsC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,8KACA,UACD;EACD,GAAI;GACJ"}
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime279 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime336 from "react/jsx-runtime";
2
2
  import * as React$1 from "react";
3
3
 
4
4
  //#region src/components/native-select.d.ts
@@ -9,15 +9,15 @@ declare function NativeSelect({
9
9
  className,
10
10
  size,
11
11
  ...props
12
- }: NativeSelectProps): react_jsx_runtime279.JSX.Element;
12
+ }: NativeSelectProps): react_jsx_runtime336.JSX.Element;
13
13
  declare function NativeSelectOption({
14
14
  className,
15
15
  ...props
16
- }: React$1.ComponentProps<"option">): react_jsx_runtime279.JSX.Element;
16
+ }: React$1.ComponentProps<"option">): react_jsx_runtime336.JSX.Element;
17
17
  declare function NativeSelectOptGroup({
18
18
  className,
19
19
  ...props
20
- }: React$1.ComponentProps<"optgroup">): react_jsx_runtime279.JSX.Element;
20
+ }: React$1.ComponentProps<"optgroup">): react_jsx_runtime336.JSX.Element;
21
21
  //#endregion
22
22
  export { NativeSelect, NativeSelectOptGroup, NativeSelectOption };
23
23
  //# sourceMappingURL=native-select.d.ts.map
@@ -1,4 +1,4 @@
1
- import { t as cn } from "../utils-mWJR2N24.js";
1
+ import { t as cn } from "../utils-DUlptRpf.js";
2
2
  import { ChevronDownIcon } from "lucide-react";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import "react";
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime282 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime262 from "react/jsx-runtime";
2
2
  import { NavigationMenu as NavigationMenu$1 } from "@base-ui/react/navigation-menu";
3
- import * as class_variance_authority_types13 from "class-variance-authority/types";
3
+ import * as class_variance_authority_types15 from "class-variance-authority/types";
4
4
 
5
5
  //#region src/components/navigation-menu.d.ts
6
6
  declare function NavigationMenu({
@@ -8,25 +8,25 @@ declare function NavigationMenu({
8
8
  className,
9
9
  children,
10
10
  ...props
11
- }: NavigationMenu$1.Root.Props & Pick<NavigationMenu$1.Positioner.Props, "align">): react_jsx_runtime282.JSX.Element;
11
+ }: NavigationMenu$1.Root.Props & Pick<NavigationMenu$1.Positioner.Props, "align">): react_jsx_runtime262.JSX.Element;
12
12
  declare function NavigationMenuList({
13
13
  className,
14
14
  ...props
15
- }: React.ComponentPropsWithRef<typeof NavigationMenu$1.List>): react_jsx_runtime282.JSX.Element;
15
+ }: React.ComponentPropsWithRef<typeof NavigationMenu$1.List>): react_jsx_runtime262.JSX.Element;
16
16
  declare function NavigationMenuItem({
17
17
  className,
18
18
  ...props
19
- }: React.ComponentPropsWithRef<typeof NavigationMenu$1.Item>): react_jsx_runtime282.JSX.Element;
20
- declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types13.ClassProp | undefined) => string;
19
+ }: React.ComponentPropsWithRef<typeof NavigationMenu$1.Item>): react_jsx_runtime262.JSX.Element;
20
+ declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types15.ClassProp | undefined) => string;
21
21
  declare function NavigationMenuTrigger({
22
22
  className,
23
23
  children,
24
24
  ...props
25
- }: NavigationMenu$1.Trigger.Props): react_jsx_runtime282.JSX.Element;
25
+ }: NavigationMenu$1.Trigger.Props): react_jsx_runtime262.JSX.Element;
26
26
  declare function NavigationMenuContent({
27
27
  className,
28
28
  ...props
29
- }: NavigationMenu$1.Content.Props): react_jsx_runtime282.JSX.Element;
29
+ }: NavigationMenu$1.Content.Props): react_jsx_runtime262.JSX.Element;
30
30
  declare function NavigationMenuPositioner({
31
31
  className,
32
32
  side,
@@ -34,15 +34,15 @@ declare function NavigationMenuPositioner({
34
34
  align,
35
35
  alignOffset,
36
36
  ...props
37
- }: NavigationMenu$1.Positioner.Props): react_jsx_runtime282.JSX.Element;
37
+ }: NavigationMenu$1.Positioner.Props): react_jsx_runtime262.JSX.Element;
38
38
  declare function NavigationMenuLink({
39
39
  className,
40
40
  ...props
41
- }: NavigationMenu$1.Link.Props): react_jsx_runtime282.JSX.Element;
41
+ }: NavigationMenu$1.Link.Props): react_jsx_runtime262.JSX.Element;
42
42
  declare function NavigationMenuIndicator({
43
43
  className,
44
44
  ...props
45
- }: React.ComponentPropsWithRef<typeof NavigationMenu$1.Icon>): react_jsx_runtime282.JSX.Element;
45
+ }: React.ComponentPropsWithRef<typeof NavigationMenu$1.Icon>): react_jsx_runtime262.JSX.Element;
46
46
  //#endregion
47
47
  export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, navigationMenuTriggerStyle };
48
48
  //# sourceMappingURL=navigation-menu.d.ts.map
@@ -1,4 +1,4 @@
1
- import { t as cn } from "../utils-mWJR2N24.js";
1
+ import { t as cn } from "../utils-DUlptRpf.js";
2
2
  import { ChevronDownIcon } from "lucide-react";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { cva } from "class-variance-authority";
@@ -1,19 +1,19 @@
1
- import { t as Button } from "../button-BkzvdmIX.js";
2
- import * as react_jsx_runtime98 from "react/jsx-runtime";
1
+ import { t as Button } from "../button-Cfd9X6pX.js";
2
+ import * as react_jsx_runtime218 from "react/jsx-runtime";
3
3
  import * as React$1 from "react";
4
4
 
5
5
  //#region src/components/pagination.d.ts
6
6
  declare function Pagination({
7
7
  className,
8
8
  ...props
9
- }: React$1.ComponentProps<"nav">): react_jsx_runtime98.JSX.Element;
9
+ }: React$1.ComponentProps<"nav">): react_jsx_runtime218.JSX.Element;
10
10
  declare function PaginationContent({
11
11
  className,
12
12
  ...props
13
- }: React$1.ComponentProps<"ul">): react_jsx_runtime98.JSX.Element;
13
+ }: React$1.ComponentProps<"ul">): react_jsx_runtime218.JSX.Element;
14
14
  declare function PaginationItem({
15
15
  ...props
16
- }: React$1.ComponentProps<"li">): react_jsx_runtime98.JSX.Element;
16
+ }: React$1.ComponentProps<"li">): react_jsx_runtime218.JSX.Element;
17
17
  type PaginationLinkProps = {
18
18
  isActive?: boolean;
19
19
  } & Pick<React$1.ComponentProps<typeof Button>, "size"> & React$1.ComponentProps<"a">;
@@ -22,25 +22,25 @@ declare function PaginationLink({
22
22
  isActive,
23
23
  size,
24
24
  ...props
25
- }: PaginationLinkProps): react_jsx_runtime98.JSX.Element;
25
+ }: PaginationLinkProps): react_jsx_runtime218.JSX.Element;
26
26
  declare function PaginationPrevious({
27
27
  className,
28
28
  text,
29
29
  ...props
30
30
  }: React$1.ComponentProps<typeof PaginationLink> & {
31
31
  text?: string;
32
- }): react_jsx_runtime98.JSX.Element;
32
+ }): react_jsx_runtime218.JSX.Element;
33
33
  declare function PaginationNext({
34
34
  className,
35
35
  text,
36
36
  ...props
37
37
  }: React$1.ComponentProps<typeof PaginationLink> & {
38
38
  text?: string;
39
- }): react_jsx_runtime98.JSX.Element;
39
+ }): react_jsx_runtime218.JSX.Element;
40
40
  declare function PaginationEllipsis({
41
41
  className,
42
42
  ...props
43
- }: React$1.ComponentProps<"span">): react_jsx_runtime98.JSX.Element;
43
+ }: React$1.ComponentProps<"span">): react_jsx_runtime218.JSX.Element;
44
44
  //#endregion
45
45
  export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
46
46
  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A,EAwEjC,oBAAA,CAAA,GAAA,CAAA,OAxEiC"}
@@ -1,5 +1,5 @@
1
- import { t as cn } from "../utils-mWJR2N24.js";
2
- import { t as Button } from "../button-hBUFMmsZ.js";
1
+ import { t as cn } from "../utils-DUlptRpf.js";
2
+ import { t as Button } from "../button-DnHwqwy0.js";
3
3
  import { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from "lucide-react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import "react";
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime119 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime217 from "react/jsx-runtime";
2
2
  import "react-phone-input-2/lib/style.css";
3
3
 
4
4
  //#region src/components/phone-input.d.ts
@@ -22,7 +22,7 @@ declare const PhoneInput: ({
22
22
  placeholder,
23
23
  disabled,
24
24
  className
25
- }: PhoneInputProps) => react_jsx_runtime119.JSX.Element;
25
+ }: PhoneInputProps) => react_jsx_runtime217.JSX.Element;
26
26
  //#endregion
27
27
  export { PhoneInput, validatePhoneNumber };
28
28
  //# sourceMappingURL=phone-input.d.ts.map
@@ -1,4 +1,4 @@
1
- import { t as cn } from "../utils-mWJR2N24.js";
1
+ import { t as cn } from "../utils-DUlptRpf.js";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import React from "react";
4
4
  import PhoneInputLib from "react-phone-input-2";
@@ -1,14 +1,14 @@
1
- import * as react_jsx_runtime44 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime308 from "react/jsx-runtime";
2
2
  import * as React$1 from "react";
3
3
  import { Popover as Popover$1 } from "@base-ui/react/popover";
4
4
 
5
5
  //#region src/components/popover.d.ts
6
6
  declare function Popover({
7
7
  ...props
8
- }: Popover$1.Root.Props): react_jsx_runtime44.JSX.Element;
8
+ }: Popover$1.Root.Props): react_jsx_runtime308.JSX.Element;
9
9
  declare function PopoverTrigger({
10
10
  ...props
11
- }: Popover$1.Trigger.Props): react_jsx_runtime44.JSX.Element;
11
+ }: Popover$1.Trigger.Props): react_jsx_runtime308.JSX.Element;
12
12
  declare function PopoverContent({
13
13
  className,
14
14
  align,
@@ -16,19 +16,19 @@ declare function PopoverContent({
16
16
  side,
17
17
  sideOffset,
18
18
  ...props
19
- }: Popover$1.Popup.Props & Pick<Popover$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): react_jsx_runtime44.JSX.Element;
19
+ }: Popover$1.Popup.Props & Pick<Popover$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): react_jsx_runtime308.JSX.Element;
20
20
  declare function PopoverHeader({
21
21
  className,
22
22
  ...props
23
- }: React$1.ComponentProps<"div">): react_jsx_runtime44.JSX.Element;
23
+ }: React$1.ComponentProps<"div">): react_jsx_runtime308.JSX.Element;
24
24
  declare function PopoverTitle({
25
25
  className,
26
26
  ...props
27
- }: Popover$1.Title.Props): react_jsx_runtime44.JSX.Element;
27
+ }: Popover$1.Title.Props): react_jsx_runtime308.JSX.Element;
28
28
  declare function PopoverDescription({
29
29
  className,
30
30
  ...props
31
- }: Popover$1.Description.Props): react_jsx_runtime44.JSX.Element;
31
+ }: Popover$1.Description.Props): react_jsx_runtime308.JSX.Element;
32
32
  //#endregion
33
33
  export { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };
34
34
  //# sourceMappingURL=popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.d.ts","names":[],"sources":["../../src/components/popover.tsx"],"sourcesContent":[],"mappings":";;;;;iBAKS,OAAA;;GAAsB,SAAA,CAAiB,IAAA,CAAK,QAAK,mBAAA,CAAA,GAAA,CAAA;iBAIjD,cAAA;;GAA6B,SAAA,CAAiB,OAAA,CAAQ,QAAK,mBAAA,CAAA,GAAA,CAAA;iBAI3D,cAAA;;;;;;;GAON,SAAA,CAAiB,KAAA,CAAM,QACxB,KACE,SAAA,CAAiB,UAAA,CAAW,0DAE7B,mBAAA,CAAA,GAAA,CAAA;AAvBiE,iBA8C3D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T,CAAA,EAyDc,oBAAA,CAAA,GAAA,CAAA,OAzDd"}
@@ -1,4 +1,4 @@
1
- import "../utils-mWJR2N24.js";
2
- import { a as PopoverTitle, i as PopoverHeader, n as PopoverContent, o as PopoverTrigger, r as PopoverDescription, t as Popover } from "../popover-C9D43EuT.js";
1
+ import "../utils-DUlptRpf.js";
2
+ import { a as PopoverTitle, i as PopoverHeader, n as PopoverContent, o as PopoverTrigger, r as PopoverDescription, t as Popover } from "../popover-BGkU46G7.js";
3
3
 
4
4
  export { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime170 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime315 from "react/jsx-runtime";
2
2
  import { Progress as Progress$1 } from "@base-ui/react/progress";
3
3
 
4
4
  //#region src/components/progress.d.ts
@@ -7,23 +7,23 @@ declare function Progress({
7
7
  children,
8
8
  value,
9
9
  ...props
10
- }: Progress$1.Root.Props): react_jsx_runtime170.JSX.Element;
10
+ }: Progress$1.Root.Props): react_jsx_runtime315.JSX.Element;
11
11
  declare function ProgressTrack({
12
12
  className,
13
13
  ...props
14
- }: Progress$1.Track.Props): react_jsx_runtime170.JSX.Element;
14
+ }: Progress$1.Track.Props): react_jsx_runtime315.JSX.Element;
15
15
  declare function ProgressIndicator({
16
16
  className,
17
17
  ...props
18
- }: Progress$1.Indicator.Props): react_jsx_runtime170.JSX.Element;
18
+ }: Progress$1.Indicator.Props): react_jsx_runtime315.JSX.Element;
19
19
  declare function ProgressLabel({
20
20
  className,
21
21
  ...props
22
- }: Progress$1.Label.Props): react_jsx_runtime170.JSX.Element;
22
+ }: Progress$1.Label.Props): react_jsx_runtime315.JSX.Element;
23
23
  declare function ProgressValue({
24
24
  className,
25
25
  ...props
26
- }: Progress$1.Value.Props): react_jsx_runtime170.JSX.Element;
26
+ }: Progress$1.Value.Props): react_jsx_runtime315.JSX.Element;
27
27
  //#endregion
28
28
  export { Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue };
29
29
  //# sourceMappingURL=progress.d.ts.map
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- import { t as cn } from "../utils-mWJR2N24.js";
3
+ import { t as cn } from "../utils-DUlptRpf.js";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { Progress as Progress$1 } from "@base-ui/react/progress";
6
6
 
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime175 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime231 from "react/jsx-runtime";
2
2
  import { Radio } from "@base-ui/react/radio";
3
3
  import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
4
4
 
@@ -6,11 +6,11 @@ import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
6
6
  declare function RadioGroup({
7
7
  className,
8
8
  ...props
9
- }: RadioGroup$1.Props): react_jsx_runtime175.JSX.Element;
9
+ }: RadioGroup$1.Props): react_jsx_runtime231.JSX.Element;
10
10
  declare function RadioGroupItem({
11
11
  className,
12
12
  ...props
13
- }: Radio.Root.Props): react_jsx_runtime175.JSX.Element;
13
+ }: Radio.Root.Props): react_jsx_runtime231.JSX.Element;
14
14
  //#endregion
15
15
  export { RadioGroup, RadioGroupItem };
16
16
  //# sourceMappingURL=radio-group.d.ts.map
@@ -1,4 +1,4 @@
1
- import { t as cn } from "../utils-mWJR2N24.js";
1
+ import { t as cn } from "../utils-DUlptRpf.js";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { Radio } from "@base-ui/react/radio";
4
4
  import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
@@ -1,21 +1,21 @@
1
- import * as react_jsx_runtime295 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime239 from "react/jsx-runtime";
2
2
  import * as ResizablePrimitive from "react-resizable-panels";
3
3
 
4
4
  //#region src/components/resizable.d.ts
5
5
  declare function ResizablePanelGroup({
6
6
  className,
7
7
  ...props
8
- }: ResizablePrimitive.GroupProps): react_jsx_runtime295.JSX.Element;
8
+ }: ResizablePrimitive.GroupProps): react_jsx_runtime239.JSX.Element;
9
9
  declare function ResizablePanel({
10
10
  ...props
11
- }: ResizablePrimitive.PanelProps): react_jsx_runtime295.JSX.Element;
11
+ }: ResizablePrimitive.PanelProps): react_jsx_runtime239.JSX.Element;
12
12
  declare function ResizableHandle({
13
13
  withHandle,
14
14
  className,
15
15
  ...props
16
16
  }: ResizablePrimitive.SeparatorProps & {
17
17
  withHandle?: boolean;
18
- }): react_jsx_runtime295.JSX.Element;
18
+ }): react_jsx_runtime239.JSX.Element;
19
19
  //#endregion
20
20
  export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
21
21
  //# sourceMappingURL=resizable.d.ts.map
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- import { t as cn } from "../utils-mWJR2N24.js";
3
+ import { t as cn } from "../utils-DUlptRpf.js";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  import * as ResizablePrimitive from "react-resizable-panels";
6
6
 
@@ -0,0 +1,204 @@
1
+ import * as react_jsx_runtime242 from "react/jsx-runtime";
2
+ import { Editor, Extensions } from "@tiptap/react";
3
+
4
+ //#region src/components/rich-text-editor.d.ts
5
+ interface RichTextEditorProps {
6
+ /**
7
+ * The current HTML value. Provide this together with `onValueChange` for a
8
+ * controlled editor. The string is parsed by Tiptap on mount and on every
9
+ * external change, so it must be valid HTML.
10
+ *
11
+ * Note: Tiptap only understands the tags produced by the configured
12
+ * extensions (`<p>`, `<strong>`, `<em>`, `<ul>`/`<ol>`/`<li>`, `<a>`,
13
+ * line breaks). **Any unsupported tag or attribute is silently dropped**
14
+ * when the HTML is parsed back into the document. Round-tripping arbitrary
15
+ * HTML is therefore lossy by design.
16
+ *
17
+ * @default ""
18
+ */
19
+ value?: string;
20
+ /**
21
+ * Initial HTML for an uncontrolled editor. Ignored when `value` is provided.
22
+ * Use this when you only need the final value (e.g. read it on submit) and
23
+ * do not want to re-sync on every keystroke.
24
+ *
25
+ * @default ""
26
+ */
27
+ defaultValue?: string;
28
+ /**
29
+ * Called on every document change with the serialized HTML string. This is
30
+ * the canonical stored format for the editor.
31
+ *
32
+ * The emitted HTML is **not** sanitized for rendering. When you later render
33
+ * stored content as HTML, pass it through your sanitizing `EditorOutput`
34
+ * component (or an equivalent DOMPurify pass) before injecting it into the
35
+ * DOM — never `dangerouslySetInnerHTML` raw editor output.
36
+ */
37
+ onValueChange?: (html: string) => void;
38
+ /**
39
+ * Placeholder shown while the document is empty.
40
+ * @default "Write something…"
41
+ */
42
+ placeholder?: string;
43
+ /**
44
+ * Disables the editor and toolbar entirely. Visually dimmed and
45
+ * non-interactive. Alias-friendly with `editable`; `disabled` wins when both
46
+ * are set.
47
+ * @default false
48
+ */
49
+ disabled?: boolean;
50
+ /**
51
+ * Whether the content is editable. Set to `false` to render the content as a
52
+ * read-only rich-text view (toolbar hidden) while keeping the styled output.
53
+ * @default true
54
+ */
55
+ editable?: boolean;
56
+ /**
57
+ * Additional className applied to the editor wrapper (the bordered shell that
58
+ * contains the toolbar and the content area).
59
+ */
60
+ className?: string;
61
+ /**
62
+ * Additional className applied to the contenteditable content area.
63
+ */
64
+ contentClassName?: string;
65
+ /** Accessible label for the editor region. */
66
+ "aria-label"?: string;
67
+ /**
68
+ * Id(s) of the element(s) that label the editor. **Prefer this over
69
+ * `htmlFor` for `Field` integration:** the editable surface is a
70
+ * `<div role="textbox">`, which is *not* a labelable element, so a native
71
+ * `<FieldLabel htmlFor={id}>` does **not** associate (clicking it won't focus
72
+ * the editor, and its text is not exposed as the accessible name). Instead
73
+ * give the label an `id` and pass it here:
74
+ *
75
+ * ```tsx
76
+ * <Field>
77
+ * <FieldLabel id="bio-label">Bio</FieldLabel>
78
+ * <RichTextEditor aria-labelledby="bio-label" aria-describedby="bio-help" />
79
+ * <FieldDescription id="bio-help">Markdown shortcuts supported.</FieldDescription>
80
+ * </Field>
81
+ * ```
82
+ */
83
+ "aria-labelledby"?: string;
84
+ /**
85
+ * Id(s) of the element(s) that describe the editor (e.g. a `FieldDescription`
86
+ * or `FieldError`). Forwarded onto the editable surface so validation and
87
+ * help text are announced, mirroring `Input`/`Textarea`.
88
+ */
89
+ "aria-describedby"?: string;
90
+ /**
91
+ * Marks the control as required. Forwarded as `aria-required` on the editable
92
+ * surface (the contenteditable region cannot use the native `required`
93
+ * attribute).
94
+ */
95
+ "aria-required"?: boolean | "true" | "false";
96
+ /**
97
+ * Id for the editable region. Useful as a target for `aria-labelledby`/
98
+ * `aria-describedby` references or for testing. Note: pairing it with a
99
+ * native `<FieldLabel htmlFor>` will **not** associate the label, because the
100
+ * editable surface is a `<div role="textbox">` rather than a form control —
101
+ * use `aria-labelledby` instead (see above).
102
+ */
103
+ id?: string;
104
+ /**
105
+ * Name for the form field. Because the contenteditable surface is not a
106
+ * form-associated element, the editor renders a hidden `<input>` carrying
107
+ * this `name` and the current editor HTML, so the value serializes in native
108
+ * forms / `FormData` like `Input`/`Textarea`.
109
+ */
110
+ name?: string;
111
+ /**
112
+ * Marks the control invalid. Forwarded as `aria-invalid` on the editable
113
+ * surface (and `data-invalid` on the wrapper) so `Field` validation styling
114
+ * applies, mirroring `Input`/`Textarea`.
115
+ */
116
+ "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling";
117
+ /**
118
+ * Additional Tiptap extensions appended to the built-in set (configured
119
+ * `StarterKit` + link). Use this to opt back into formatting the default
120
+ * toolbar omits (e.g. `Heading`, `Image`, a mention plugin). Applied on mount
121
+ * only — changing it later does not reconfigure the live editor.
122
+ *
123
+ * Note: re-enabling a node here means the toolbar won't expose a control for
124
+ * it and the built-in content styles won't cover it; pair it with
125
+ * `contentClassName` styling and your own toolbar (via `onCreate`) as needed.
126
+ */
127
+ extensions?: Extensions;
128
+ /**
129
+ * Called once with the Tiptap {@link Editor} instance after it is created
130
+ * (client-side, since `immediatelyRender` is `false`). Use this to drive the
131
+ * editor imperatively or to build a custom toolbar alongside the default one.
132
+ */
133
+ onCreate?: (editor: Editor) => void;
134
+ }
135
+ /**
136
+ * A minimal WYSIWYG rich-text editor built on Tiptap (`@tiptap/react` +
137
+ * `@tiptap/starter-kit`). Supports bold, italic, bullet/ordered lists, and
138
+ * links via a compact toolbar.
139
+ *
140
+ * The stored format is **HTML**: pass HTML in via `value` (controlled) or
141
+ * `defaultValue` (uncontrolled), and read HTML out via `onValueChange`.
142
+ *
143
+ * Supported formatting is deliberately scoped to what the toolbar exposes:
144
+ * paragraphs, bold, italic, bullet/ordered lists, and links. StarterKit nodes
145
+ * with no toolbar control (headings, blockquote, strike, code/code blocks,
146
+ * horizontal rules) are disabled so the editor, toolbar, and `EditorOutput`
147
+ * stay in agreement. Opt back into any of them — or add your own (images,
148
+ * mentions, …) — via the `extensions` prop, and reach the underlying instance
149
+ * with `onCreate` to build a custom toolbar.
150
+ *
151
+ * Output handling:
152
+ * - Tiptap only round-trips the tags its configured extensions understand —
153
+ * **unsupported tags/attributes are dropped** on parse.
154
+ * - The emitted HTML is unsanitized. Render stored content through a
155
+ * sanitizing `EditorOutput` component (DOMPurify) rather than injecting it
156
+ * raw.
157
+ *
158
+ * Field integration: the editable surface is a `<div role="textbox">`, not a
159
+ * labelable form control, so associate labels/help text with `aria-labelledby`
160
+ * / `aria-describedby` (not `<FieldLabel htmlFor>`).
161
+ *
162
+ * SSR-safe: uses `immediatelyRender: false` so the first paint matches the
163
+ * server render and avoids hydration mismatches.
164
+ *
165
+ * @example
166
+ * ```tsx
167
+ * function JobDescription() {
168
+ * const [html, setHtml] = React.useState("<p>Initial <strong>copy</strong></p>");
169
+ * return (
170
+ * <RichTextEditor
171
+ * value={html}
172
+ * onValueChange={setHtml}
173
+ * placeholder="Describe the role…"
174
+ * aria-label="Job description"
175
+ * />
176
+ * );
177
+ * }
178
+ *
179
+ * // Render the stored HTML elsewhere (sanitized):
180
+ * // <EditorOutput html={html} />
181
+ * ```
182
+ */
183
+ declare function RichTextEditor({
184
+ value,
185
+ defaultValue,
186
+ onValueChange,
187
+ placeholder,
188
+ disabled,
189
+ editable,
190
+ className,
191
+ contentClassName,
192
+ "aria-label": ariaLabel,
193
+ "aria-labelledby": ariaLabelledby,
194
+ "aria-describedby": ariaDescribedby,
195
+ "aria-required": ariaRequired,
196
+ id,
197
+ name,
198
+ "aria-invalid": ariaInvalid,
199
+ extensions: extraExtensions,
200
+ onCreate
201
+ }: RichTextEditorProps): react_jsx_runtime242.JSX.Element;
202
+ //#endregion
203
+ export { RichTextEditor, RichTextEditorProps };
204
+ //# sourceMappingURL=rich-text-editor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rich-text-editor.d.ts","names":[],"sources":["../../src/components/rich-text-editor.tsx"],"sourcesContent":[],"mappings":";;;;UAmCiB,mBAAA;;;AAAjB;AA6ZA;;;;;;;;;;EAUqB,KAAA,CAAA,EAAA,MAAA;EACC;;;;;;;EAOnB,YAAA,CAAA,EAAA,MAAA;EAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAtSP;;;;;;sBAOO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA6QN,cAAA;;;;;;;;;gBASA;qBACK;sBACC;mBACH;;;kBAGD;cACJ;;GAEX,sBAAmB,oBAAA,CAAA,GAAA,CAAA"}