@trsys-tech/matrix-library 0.3.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 (424) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +67 -0
  3. package/dist/_commonjshelpers.es.js +7 -0
  4. package/dist/_commonjshelpers.es.js.map +1 -0
  5. package/dist/addleadingzeros.es.js +8 -0
  6. package/dist/addleadingzeros.es.js.map +1 -0
  7. package/dist/badge.es.js +29 -0
  8. package/dist/badge.es.js.map +1 -0
  9. package/dist/breadcrumb.es.js +33 -0
  10. package/dist/breadcrumb.es.js.map +1 -0
  11. package/dist/buildformatlongfn.es.js +10 -0
  12. package/dist/buildformatlongfn.es.js.map +1 -0
  13. package/dist/buildlocalizefn.es.js +19 -0
  14. package/dist/buildlocalizefn.es.js.map +1 -0
  15. package/dist/buildmatchfn.es.js +32 -0
  16. package/dist/buildmatchfn.es.js.map +1 -0
  17. package/dist/buildmatchpatternfn.es.js +16 -0
  18. package/dist/buildmatchpatternfn.es.js.map +1 -0
  19. package/dist/button.es.js +45 -0
  20. package/dist/button.es.js.map +1 -0
  21. package/dist/calendar.es.js +96 -0
  22. package/dist/calendar.es.js.map +1 -0
  23. package/dist/calendaricon.es.js +8 -0
  24. package/dist/calendaricon.es.js.map +1 -0
  25. package/dist/card.es.js +24 -0
  26. package/dist/card.es.js.map +1 -0
  27. package/dist/checkbox.es.js +28 -0
  28. package/dist/checkbox.es.js.map +1 -0
  29. package/dist/checkicon.es.js +8 -0
  30. package/dist/checkicon.es.js.map +1 -0
  31. package/dist/chevrondownicon.es.js +8 -0
  32. package/dist/chevrondownicon.es.js.map +1 -0
  33. package/dist/chevronlefticon.es.js +8 -0
  34. package/dist/chevronlefticon.es.js.map +1 -0
  35. package/dist/chevronrighticon.es.js +8 -0
  36. package/dist/chevronrighticon.es.js.map +1 -0
  37. package/dist/chevronsrighticon.es.js +8 -0
  38. package/dist/chevronsrighticon.es.js.map +1 -0
  39. package/dist/chevronupicon.es.js +8 -0
  40. package/dist/chevronupicon.es.js.map +1 -0
  41. package/dist/chip.es.js +42 -0
  42. package/dist/chip.es.js.map +1 -0
  43. package/dist/circleicon.es.js +8 -0
  44. package/dist/circleicon.es.js.map +1 -0
  45. package/dist/clonedeep.es.js +18 -0
  46. package/dist/clonedeep.es.js.map +1 -0
  47. package/dist/clonedeep.es2.js +5 -0
  48. package/dist/clonedeep.es2.js.map +1 -0
  49. package/dist/closecircleicon.es.js +8 -0
  50. package/dist/closecircleicon.es.js.map +1 -0
  51. package/dist/closeicon.es.js +8 -0
  52. package/dist/closeicon.es.js.map +1 -0
  53. package/dist/collapsible.es.js +24 -0
  54. package/dist/collapsible.es.js.map +1 -0
  55. package/dist/combobox.es.js +35 -0
  56. package/dist/combobox.es.js.map +1 -0
  57. package/dist/command.es.js +81 -0
  58. package/dist/command.es.js.map +1 -0
  59. package/dist/components/Icons/CalendarIcon.d.ts +3 -0
  60. package/dist/components/Icons/CalendarIcon.d.ts.map +1 -0
  61. package/dist/components/Icons/CheckIcon.d.ts +3 -0
  62. package/dist/components/Icons/CheckIcon.d.ts.map +1 -0
  63. package/dist/components/Icons/ChevronDownIcon.d.ts +3 -0
  64. package/dist/components/Icons/ChevronDownIcon.d.ts.map +1 -0
  65. package/dist/components/Icons/ChevronLeftIcon.d.ts +3 -0
  66. package/dist/components/Icons/ChevronLeftIcon.d.ts.map +1 -0
  67. package/dist/components/Icons/ChevronRightIcon.d.ts +3 -0
  68. package/dist/components/Icons/ChevronRightIcon.d.ts.map +1 -0
  69. package/dist/components/Icons/ChevronUpIcon.d.ts +3 -0
  70. package/dist/components/Icons/ChevronUpIcon.d.ts.map +1 -0
  71. package/dist/components/Icons/ChevronsRightIcon.d.ts +3 -0
  72. package/dist/components/Icons/ChevronsRightIcon.d.ts.map +1 -0
  73. package/dist/components/Icons/CircleIcon.d.ts +3 -0
  74. package/dist/components/Icons/CircleIcon.d.ts.map +1 -0
  75. package/dist/components/Icons/CloseCircleIcon.d.ts +3 -0
  76. package/dist/components/Icons/CloseCircleIcon.d.ts.map +1 -0
  77. package/dist/components/Icons/CloseIcon.d.ts +3 -0
  78. package/dist/components/Icons/CloseIcon.d.ts.map +1 -0
  79. package/dist/components/Icons/DangerCircleIcon.d.ts +3 -0
  80. package/dist/components/Icons/DangerCircleIcon.d.ts.map +1 -0
  81. package/dist/components/Icons/ElipsisHorizontal.d.ts +3 -0
  82. package/dist/components/Icons/ElipsisHorizontal.d.ts.map +1 -0
  83. package/dist/components/Icons/ElipsisVerticalIcon.d.ts +3 -0
  84. package/dist/components/Icons/ElipsisVerticalIcon.d.ts.map +1 -0
  85. package/dist/components/Icons/HomeIcon.d.ts +3 -0
  86. package/dist/components/Icons/HomeIcon.d.ts.map +1 -0
  87. package/dist/components/Icons/InfoCircleIcon.d.ts +3 -0
  88. package/dist/components/Icons/InfoCircleIcon.d.ts.map +1 -0
  89. package/dist/components/Icons/MinusIcon.d.ts +3 -0
  90. package/dist/components/Icons/MinusIcon.d.ts.map +1 -0
  91. package/dist/components/Icons/PlusIcon.d.ts +3 -0
  92. package/dist/components/Icons/PlusIcon.d.ts.map +1 -0
  93. package/dist/components/Icons/PrintIcon.d.ts +3 -0
  94. package/dist/components/Icons/PrintIcon.d.ts.map +1 -0
  95. package/dist/components/Icons/RefreshIcon.d.ts +3 -0
  96. package/dist/components/Icons/RefreshIcon.d.ts.map +1 -0
  97. package/dist/components/Icons/SearchIcon.d.ts +3 -0
  98. package/dist/components/Icons/SearchIcon.d.ts.map +1 -0
  99. package/dist/components/Icons/SnowflakeIcon.d.ts +3 -0
  100. package/dist/components/Icons/SnowflakeIcon.d.ts.map +1 -0
  101. package/dist/components/Icons/SpinnerIcon.d.ts +3 -0
  102. package/dist/components/Icons/SpinnerIcon.d.ts.map +1 -0
  103. package/dist/components/Icons/StartIcon.d.ts +3 -0
  104. package/dist/components/Icons/StartIcon.d.ts.map +1 -0
  105. package/dist/components/Icons/SuccessCircleIcon.d.ts +3 -0
  106. package/dist/components/Icons/SuccessCircleIcon.d.ts.map +1 -0
  107. package/dist/components/Icons/TrashcanIcon.d.ts +3 -0
  108. package/dist/components/Icons/TrashcanIcon.d.ts.map +1 -0
  109. package/dist/components/Icons/WarningCircleIcon.d.ts +3 -0
  110. package/dist/components/Icons/WarningCircleIcon.d.ts.map +1 -0
  111. package/dist/components/accordion/Accordion.d.ts +8 -0
  112. package/dist/components/accordion/Accordion.d.ts.map +1 -0
  113. package/dist/components/avatar/Avatar.d.ts +7 -0
  114. package/dist/components/avatar/Avatar.d.ts.map +1 -0
  115. package/dist/components/badge/Badge.d.ts +116 -0
  116. package/dist/components/badge/Badge.d.ts.map +1 -0
  117. package/dist/components/breadcrumb/Breadcrumb.d.ts +20 -0
  118. package/dist/components/breadcrumb/Breadcrumb.d.ts.map +1 -0
  119. package/dist/components/button/Button.d.ts +143 -0
  120. package/dist/components/button/Button.d.ts.map +1 -0
  121. package/dist/components/card/Card.d.ts +16 -0
  122. package/dist/components/card/Card.d.ts.map +1 -0
  123. package/dist/components/checkbox/Checkbox.d.ts +6 -0
  124. package/dist/components/checkbox/Checkbox.d.ts.map +1 -0
  125. package/dist/components/chip/Chip.d.ts +81 -0
  126. package/dist/components/chip/Chip.d.ts.map +1 -0
  127. package/dist/components/collapsible/Collapsible.d.ts +8 -0
  128. package/dist/components/collapsible/Collapsible.d.ts.map +1 -0
  129. package/dist/components/combobox/Combobox.d.ts +62 -0
  130. package/dist/components/combobox/Combobox.d.ts.map +1 -0
  131. package/dist/components/command/Command.d.ts +81 -0
  132. package/dist/components/command/Command.d.ts.map +1 -0
  133. package/dist/components/confirm/Confirm.d.ts +25 -0
  134. package/dist/components/confirm/Confirm.d.ts.map +1 -0
  135. package/dist/components/context-menu/ContextMenu.d.ts +28 -0
  136. package/dist/components/context-menu/ContextMenu.d.ts.map +1 -0
  137. package/dist/components/data-grid/DataGrid.d.ts +58 -0
  138. package/dist/components/data-grid/DataGrid.d.ts.map +1 -0
  139. package/dist/components/date-picker/DatePicker.d.ts +7 -0
  140. package/dist/components/date-picker/DatePicker.d.ts.map +1 -0
  141. package/dist/components/date-picker/DateRangePicker.d.ts +7 -0
  142. package/dist/components/date-picker/DateRangePicker.d.ts.map +1 -0
  143. package/dist/components/date-picker/DesktopDatePicker.d.ts +13 -0
  144. package/dist/components/date-picker/DesktopDatePicker.d.ts.map +1 -0
  145. package/dist/components/date-picker/DesktopDateRangePicker.d.ts +12 -0
  146. package/dist/components/date-picker/DesktopDateRangePicker.d.ts.map +1 -0
  147. package/dist/components/date-picker/DesktopTimePicker.d.ts +12 -0
  148. package/dist/components/date-picker/DesktopTimePicker.d.ts.map +1 -0
  149. package/dist/components/date-picker/MobileDatePicker.d.ts +15 -0
  150. package/dist/components/date-picker/MobileDatePicker.d.ts.map +1 -0
  151. package/dist/components/date-picker/MobileDateRangePicker.d.ts +15 -0
  152. package/dist/components/date-picker/MobileDateRangePicker.d.ts.map +1 -0
  153. package/dist/components/date-picker/MobileTimePicker.d.ts +12 -0
  154. package/dist/components/date-picker/MobileTimePicker.d.ts.map +1 -0
  155. package/dist/components/date-picker/TimePicker.d.ts +8 -0
  156. package/dist/components/date-picker/TimePicker.d.ts.map +1 -0
  157. package/dist/components/date-picker/TimePickerContent.d.ts +17 -0
  158. package/dist/components/date-picker/TimePickerContent.d.ts.map +1 -0
  159. package/dist/components/date-picker/calendar.d.ts +8 -0
  160. package/dist/components/date-picker/calendar.d.ts.map +1 -0
  161. package/dist/components/dialog/Dialog.d.ts +22 -0
  162. package/dist/components/dialog/Dialog.d.ts.map +1 -0
  163. package/dist/components/drawer/Drawer.d.ts +76 -0
  164. package/dist/components/drawer/Drawer.d.ts.map +1 -0
  165. package/dist/components/drawer/SwipableDrawer.d.ts +30 -0
  166. package/dist/components/drawer/SwipableDrawer.d.ts.map +1 -0
  167. package/dist/components/form/Form.d.ts +12 -0
  168. package/dist/components/form/Form.d.ts.map +1 -0
  169. package/dist/components/form-checkbox/FormCheckbox.d.ts +18 -0
  170. package/dist/components/form-checkbox/FormCheckbox.d.ts.map +1 -0
  171. package/dist/components/form-combobox/FormCombobox.d.ts +28 -0
  172. package/dist/components/form-combobox/FormCombobox.d.ts.map +1 -0
  173. package/dist/components/form-input/FormInput.d.ts +18 -0
  174. package/dist/components/form-input/FormInput.d.ts.map +1 -0
  175. package/dist/components/form-multi-select/FormMultiSelect.d.ts +19 -0
  176. package/dist/components/form-multi-select/FormMultiSelect.d.ts.map +1 -0
  177. package/dist/components/form-rating/FormRating.d.ts +20 -0
  178. package/dist/components/form-rating/FormRating.d.ts.map +1 -0
  179. package/dist/components/form-select/FormSelect.d.ts +27 -0
  180. package/dist/components/form-select/FormSelect.d.ts.map +1 -0
  181. package/dist/components/form-switch/FormSwitch.d.ts +18 -0
  182. package/dist/components/form-switch/FormSwitch.d.ts.map +1 -0
  183. package/dist/components/form-textarea/FormTextarea.d.ts +18 -0
  184. package/dist/components/form-textarea/FormTextarea.d.ts.map +1 -0
  185. package/dist/components/icon-botton/IconButton.d.ts +116 -0
  186. package/dist/components/icon-botton/IconButton.d.ts.map +1 -0
  187. package/dist/components/label/Label.d.ts +7 -0
  188. package/dist/components/label/Label.d.ts.map +1 -0
  189. package/dist/components/modal/Modal.d.ts +25 -0
  190. package/dist/components/modal/Modal.d.ts.map +1 -0
  191. package/dist/components/multi-select/MultiSelect.d.ts +144 -0
  192. package/dist/components/multi-select/MultiSelect.d.ts.map +1 -0
  193. package/dist/components/popover/Popover.d.ts +9 -0
  194. package/dist/components/popover/Popover.d.ts.map +1 -0
  195. package/dist/components/radio-group/RadioGroup.d.ts +7 -0
  196. package/dist/components/radio-group/RadioGroup.d.ts.map +1 -0
  197. package/dist/components/rating/Rating.d.ts +124 -0
  198. package/dist/components/rating/Rating.d.ts.map +1 -0
  199. package/dist/components/select/Select.d.ts +28 -0
  200. package/dist/components/select/Select.d.ts.map +1 -0
  201. package/dist/components/separator/Separator.d.ts +5 -0
  202. package/dist/components/separator/Separator.d.ts.map +1 -0
  203. package/dist/components/sheet/Sheet.d.ts +77 -0
  204. package/dist/components/sheet/Sheet.d.ts.map +1 -0
  205. package/dist/components/sidebar/Sidebar.d.ts +160 -0
  206. package/dist/components/sidebar/Sidebar.d.ts.map +1 -0
  207. package/dist/components/skeleton/Skeleton.d.ts +7 -0
  208. package/dist/components/skeleton/Skeleton.d.ts.map +1 -0
  209. package/dist/components/switch/Switch.d.ts +52 -0
  210. package/dist/components/switch/Switch.d.ts.map +1 -0
  211. package/dist/components/tabs/Tabs.d.ts +8 -0
  212. package/dist/components/tabs/Tabs.d.ts.map +1 -0
  213. package/dist/components/text-field/TextField.d.ts +61 -0
  214. package/dist/components/text-field/TextField.d.ts.map +1 -0
  215. package/dist/components/textarea/Textarea.d.ts +6 -0
  216. package/dist/components/textarea/Textarea.d.ts.map +1 -0
  217. package/dist/components/toast/Toast.d.ts +19 -0
  218. package/dist/components/toast/Toast.d.ts.map +1 -0
  219. package/dist/components/toast/toast-components.d.ts +129 -0
  220. package/dist/components/toast/toast-components.d.ts.map +1 -0
  221. package/dist/components/toast/use-toast.d.ts +24 -0
  222. package/dist/components/toast/use-toast.d.ts.map +1 -0
  223. package/dist/components/tooltip/Tooltip.d.ts +9 -0
  224. package/dist/components/tooltip/Tooltip.d.ts.map +1 -0
  225. package/dist/config.es.js +1066 -0
  226. package/dist/config.es.js.map +1 -0
  227. package/dist/confirm.es.js +67 -0
  228. package/dist/confirm.es.js.map +1 -0
  229. package/dist/constants.es.js +7 -0
  230. package/dist/constants.es.js.map +1 -0
  231. package/dist/constructfrom.es.js +9 -0
  232. package/dist/constructfrom.es.js.map +1 -0
  233. package/dist/dangercircleicon.es.js +17 -0
  234. package/dist/dangercircleicon.es.js.map +1 -0
  235. package/dist/datagrid.es.js +221 -0
  236. package/dist/datagrid.es.js.map +1 -0
  237. package/dist/datepicker.es.js +24 -0
  238. package/dist/datepicker.es.js.map +1 -0
  239. package/dist/daterangepicker.es.js +22 -0
  240. package/dist/daterangepicker.es.js.map +1 -0
  241. package/dist/default-theme.es.js +22 -0
  242. package/dist/default-theme.es.js.map +1 -0
  243. package/dist/default-theme.es2.js +5 -0
  244. package/dist/default-theme.es2.js.map +1 -0
  245. package/dist/defaultoptions.es.js +8 -0
  246. package/dist/defaultoptions.es.js.map +1 -0
  247. package/dist/defaulttheme.es.js +10 -0
  248. package/dist/defaulttheme.es.js.map +1 -0
  249. package/dist/desktopdatepicker.es.js +54 -0
  250. package/dist/desktopdatepicker.es.js.map +1 -0
  251. package/dist/desktopdaterangepicker.es.js +59 -0
  252. package/dist/desktopdaterangepicker.es.js.map +1 -0
  253. package/dist/desktoptimepicker.es.js +25 -0
  254. package/dist/desktoptimepicker.es.js.map +1 -0
  255. package/dist/dialog.es.js +62 -0
  256. package/dist/dialog.es.js.map +1 -0
  257. package/dist/differenceincalendardays.es.js +17 -0
  258. package/dist/differenceincalendardays.es.js.map +1 -0
  259. package/dist/drawer.es.js +66 -0
  260. package/dist/drawer.es.js.map +1 -0
  261. package/dist/elipsishorizontal.es.js +8 -0
  262. package/dist/elipsishorizontal.es.js.map +1 -0
  263. package/dist/elipsisverticalicon.es.js +8 -0
  264. package/dist/elipsisverticalicon.es.js.map +1 -0
  265. package/dist/en-us.es.js +22 -0
  266. package/dist/en-us.es.js.map +1 -0
  267. package/dist/form.es.js +66 -0
  268. package/dist/form.es.js.map +1 -0
  269. package/dist/format.es.js +59 -0
  270. package/dist/format.es.js.map +1 -0
  271. package/dist/formatdistance.es.js +71 -0
  272. package/dist/formatdistance.es.js.map +1 -0
  273. package/dist/formatlong.es.js +34 -0
  274. package/dist/formatlong.es.js.map +1 -0
  275. package/dist/formatrelative.es.js +12 -0
  276. package/dist/formatrelative.es.js.map +1 -0
  277. package/dist/formatters.es.js +518 -0
  278. package/dist/formatters.es.js.map +1 -0
  279. package/dist/formcheckbox.es.js +47 -0
  280. package/dist/formcheckbox.es.js.map +1 -0
  281. package/dist/formcombobox.es.js +116 -0
  282. package/dist/formcombobox.es.js.map +1 -0
  283. package/dist/forminput.es.js +35 -0
  284. package/dist/forminput.es.js.map +1 -0
  285. package/dist/formmultiselect.es.js +60 -0
  286. package/dist/formmultiselect.es.js.map +1 -0
  287. package/dist/formrating.es.js +53 -0
  288. package/dist/formrating.es.js.map +1 -0
  289. package/dist/formselect.es.js +88 -0
  290. package/dist/formselect.es.js.map +1 -0
  291. package/dist/formswitch.es.js +47 -0
  292. package/dist/formswitch.es.js.map +1 -0
  293. package/dist/getdayofyear.es.js +12 -0
  294. package/dist/getdayofyear.es.js.map +1 -0
  295. package/dist/getisoweek.es.js +13 -0
  296. package/dist/getisoweek.es.js.map +1 -0
  297. package/dist/getisoweekyear.es.js +16 -0
  298. package/dist/getisoweekyear.es.js.map +1 -0
  299. package/dist/gettimezoneoffsetinmilliseconds.es.js +19 -0
  300. package/dist/gettimezoneoffsetinmilliseconds.es.js.map +1 -0
  301. package/dist/getweek.es.js +13 -0
  302. package/dist/getweek.es.js.map +1 -0
  303. package/dist/getweekyear.es.js +17 -0
  304. package/dist/getweekyear.es.js.map +1 -0
  305. package/dist/iconbutton.es.js +38 -0
  306. package/dist/iconbutton.es.js.map +1 -0
  307. package/dist/index.d.ts +44 -0
  308. package/dist/index.d.ts.map +1 -0
  309. package/dist/index.es.js +201 -0
  310. package/dist/index.es.js.map +1 -0
  311. package/dist/infocircleicon.es.js +17 -0
  312. package/dist/infocircleicon.es.js.map +1 -0
  313. package/dist/isdate.es.js +8 -0
  314. package/dist/isdate.es.js.map +1 -0
  315. package/dist/isvalid.es.js +10 -0
  316. package/dist/isvalid.es.js.map +1 -0
  317. package/dist/label.es.js +12 -0
  318. package/dist/label.es.js.map +1 -0
  319. package/dist/lib/hooks/use-mobile.d.ts +2 -0
  320. package/dist/lib/hooks/use-mobile.d.ts.map +1 -0
  321. package/dist/lib/printHtml.d.ts +2 -0
  322. package/dist/lib/printHtml.d.ts.map +1 -0
  323. package/dist/lib/utils.d.ts +3 -0
  324. package/dist/lib/utils.d.ts.map +1 -0
  325. package/dist/lightformatters.es.js +60 -0
  326. package/dist/lightformatters.es.js.map +1 -0
  327. package/dist/localize.es.js +156 -0
  328. package/dist/localize.es.js.map +1 -0
  329. package/dist/longformatters.es.js +53 -0
  330. package/dist/longformatters.es.js.map +1 -0
  331. package/dist/match.es.js +111 -0
  332. package/dist/match.es.js.map +1 -0
  333. package/dist/minusicon.es.js +8 -0
  334. package/dist/minusicon.es.js.map +1 -0
  335. package/dist/mobiledatepicker.es.js +64 -0
  336. package/dist/mobiledatepicker.es.js.map +1 -0
  337. package/dist/mobiledaterangepicker.es.js +83 -0
  338. package/dist/mobiledaterangepicker.es.js.map +1 -0
  339. package/dist/mobiletimepicker.es.js +33 -0
  340. package/dist/mobiletimepicker.es.js.map +1 -0
  341. package/dist/modal.es.js +78 -0
  342. package/dist/modal.es.js.map +1 -0
  343. package/dist/multiselect.es.js +203 -0
  344. package/dist/multiselect.es.js.map +1 -0
  345. package/dist/normalizedates.es.js +12 -0
  346. package/dist/normalizedates.es.js.map +1 -0
  347. package/dist/popover.es.js +25 -0
  348. package/dist/popover.es.js.map +1 -0
  349. package/dist/printhtml.es.js +13 -0
  350. package/dist/printhtml.es.js.map +1 -0
  351. package/dist/printicon.es.js +8 -0
  352. package/dist/printicon.es.js.map +1 -0
  353. package/dist/protectedtokens.es.js +21 -0
  354. package/dist/protectedtokens.es.js.map +1 -0
  355. package/dist/radiogroup.es.js +25 -0
  356. package/dist/radiogroup.es.js.map +1 -0
  357. package/dist/rating.es.js +164 -0
  358. package/dist/rating.es.js.map +1 -0
  359. package/dist/refreshicon.es.js +8 -0
  360. package/dist/refreshicon.es.js.map +1 -0
  361. package/dist/searchicon.es.js +8 -0
  362. package/dist/searchicon.es.js.map +1 -0
  363. package/dist/select.es.js +109 -0
  364. package/dist/select.es.js.map +1 -0
  365. package/dist/separator.es.js +21 -0
  366. package/dist/separator.es.js.map +1 -0
  367. package/dist/sheet.es.js +69 -0
  368. package/dist/sheet.es.js.map +1 -0
  369. package/dist/sidebar.es.js +428 -0
  370. package/dist/sidebar.es.js.map +1 -0
  371. package/dist/skeleton.es.js +10 -0
  372. package/dist/skeleton.es.js.map +1 -0
  373. package/dist/snowflakeicon.es.js +8 -0
  374. package/dist/snowflakeicon.es.js.map +1 -0
  375. package/dist/spinnericon.es.js +18 -0
  376. package/dist/spinnericon.es.js.map +1 -0
  377. package/dist/starticon.es.js +23 -0
  378. package/dist/starticon.es.js.map +1 -0
  379. package/dist/startofday.es.js +10 -0
  380. package/dist/startofday.es.js.map +1 -0
  381. package/dist/startofisoweek.es.js +9 -0
  382. package/dist/startofisoweek.es.js.map +1 -0
  383. package/dist/startofisoweekyear.es.js +12 -0
  384. package/dist/startofisoweekyear.es.js.map +1 -0
  385. package/dist/startofweek.es.js +11 -0
  386. package/dist/startofweek.es.js.map +1 -0
  387. package/dist/startofweekyear.es.js +13 -0
  388. package/dist/startofweekyear.es.js.map +1 -0
  389. package/dist/startofyear.es.js +10 -0
  390. package/dist/startofyear.es.js.map +1 -0
  391. package/dist/style.css +1 -0
  392. package/dist/successcircleicon.es.js +17 -0
  393. package/dist/successcircleicon.es.js.map +1 -0
  394. package/dist/swipabledrawer.es.js +47 -0
  395. package/dist/swipabledrawer.es.js.map +1 -0
  396. package/dist/switch.es.js +30 -0
  397. package/dist/switch.es.js.map +1 -0
  398. package/dist/tabs.es.js +41 -0
  399. package/dist/tabs.es.js.map +1 -0
  400. package/dist/textfield.es.js +43 -0
  401. package/dist/textfield.es.js.map +1 -0
  402. package/dist/timepicker.es.js +22 -0
  403. package/dist/timepicker.es.js.map +1 -0
  404. package/dist/timepickercontent.es.js +73 -0
  405. package/dist/timepickercontent.es.js.map +1 -0
  406. package/dist/toast-components.es.js +66 -0
  407. package/dist/toast-components.es.js.map +1 -0
  408. package/dist/toast.es.js +44 -0
  409. package/dist/toast.es.js.map +1 -0
  410. package/dist/todate.es.js +9 -0
  411. package/dist/todate.es.js.map +1 -0
  412. package/dist/tooltip.es.js +30 -0
  413. package/dist/tooltip.es.js.map +1 -0
  414. package/dist/trashcanicon.es.js +6 -0
  415. package/dist/trashcanicon.es.js.map +1 -0
  416. package/dist/use-mobile.es.js +15 -0
  417. package/dist/use-mobile.es.js.map +1 -0
  418. package/dist/use-toast.es.js +25 -0
  419. package/dist/use-toast.es.js.map +1 -0
  420. package/dist/utils.es.js +9 -0
  421. package/dist/utils.es.js.map +1 -0
  422. package/dist/warningcircleicon.es.js +17 -0
  423. package/dist/warningcircleicon.es.js.map +1 -0
  424. package/package.json +132 -0
@@ -0,0 +1,25 @@
1
+ import { default as React } from 'react';
2
+ import { Modal } from '../modal/Modal';
3
+ import { Button } from '../button/Button';
4
+ type ConfirmOptions = {
5
+ title: string;
6
+ description: string;
7
+ confirmationText?: string;
8
+ cancelationText?: string;
9
+ modalProps?: React.ComponentProps<typeof Modal>;
10
+ hideCancelButton?: boolean;
11
+ buttonOrder?: ("confirm" | "cancel")[];
12
+ confirmButtonProps?: React.ComponentProps<typeof Button>;
13
+ cancelButtonProps?: React.ComponentProps<typeof Button>;
14
+ descriptionProps?: React.ComponentProps<"p">;
15
+ };
16
+ /**
17
+ * ConfirmProvider
18
+ */
19
+ type ConfirmProviderProps = {
20
+ children: React.ReactNode;
21
+ };
22
+ declare const ConfirmProvider: React.FC<ConfirmProviderProps>;
23
+ declare const useConfirm: () => (options: ConfirmOptions) => Promise<unknown>;
24
+ export { ConfirmProvider, useConfirm };
25
+ //# sourceMappingURL=Confirm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Confirm.d.ts","sourceRoot":"","sources":["../../../src/components/confirm/Confirm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,KAAK,EAAe,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAK1C,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC;IAChD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,CAAC,SAAS,GAAG,QAAQ,CAAC,EAAE,CAAC;IACvC,kBAAkB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;IACzD,iBAAiB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;IACxD,gBAAgB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;CAC9C,CAAC;AAUF;;GAEG;AACH,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AACF,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA+CnD,CAAC;AAUF,QAAA,MAAM,UAAU,kBAUF,cAAc,qBAa3B,CAAC;AAsDF,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,28 @@
1
+ import * as React from "react";
2
+ import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
3
+ declare const ContextMenu: React.FC<ContextMenuPrimitive.ContextMenuProps>;
4
+ declare const ContextMenuTrigger: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React.RefAttributes<HTMLSpanElement>>;
5
+ declare const ContextMenuGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
6
+ declare const ContextMenuPortal: React.FC<ContextMenuPrimitive.ContextMenuPortalProps>;
7
+ declare const ContextMenuSub: React.FC<ContextMenuPrimitive.ContextMenuSubProps>;
8
+ declare const ContextMenuRadioGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
9
+ declare const ContextMenuSubTrigger: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
10
+ inset?: boolean;
11
+ } & React.RefAttributes<HTMLDivElement>>;
12
+ declare const ContextMenuSubContent: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
+ declare const ContextMenuContent: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
+ declare const ContextMenuItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
15
+ inset?: boolean;
16
+ } & React.RefAttributes<HTMLDivElement>>;
17
+ declare const ContextMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
18
+ declare const ContextMenuRadioItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
+ declare const ContextMenuLabel: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
20
+ inset?: boolean;
21
+ } & React.RefAttributes<HTMLDivElement>>;
22
+ declare const ContextMenuSeparator: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
+ declare const ContextMenuShortcut: {
24
+ ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
25
+ displayName: string;
26
+ };
27
+ export { ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuRadioItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuShortcut, ContextMenuGroup, ContextMenuPortal, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuRadioGroup, };
28
+ //# sourceMappingURL=ContextMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../src/components/context-menu/ContextMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AAOrE,QAAA,MAAM,WAAW,iDAA4B,CAAC;AAE9C,QAAA,MAAM,kBAAkB,sHAA+B,CAAC;AAExD,QAAA,MAAM,gBAAgB,mHAA6B,CAAC;AAEpD,QAAA,MAAM,iBAAiB,uDAA8B,CAAC;AAEtD,QAAA,MAAM,cAAc,oDAA2B,CAAC;AAEhD,QAAA,MAAM,qBAAqB,wHAAkC,CAAC;AAE9D,QAAA,MAAM,qBAAqB;YAGf,OAAO;wCAejB,CAAC;AAGH,QAAA,MAAM,qBAAqB,2KAYzB,CAAC;AAGH,QAAA,MAAM,kBAAkB,wKActB,CAAC;AAGH,QAAA,MAAM,eAAe;YAGT,OAAO;wCAYjB,CAAC;AAGH,QAAA,MAAM,uBAAuB,6KAoB3B,CAAC;AAGH,QAAA,MAAM,oBAAoB,0KAmBxB,CAAC;AAGH,QAAA,MAAM,gBAAgB;YAGV,OAAO;wCAIjB,CAAC;AAGH,QAAA,MAAM,oBAAoB,0KAGyH,CAAC;AAGpJ,QAAA,MAAM,mBAAmB;8BAA6B,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;;CAE1F,CAAC;AAGF,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,GACtB,CAAC"}
@@ -0,0 +1,58 @@
1
+ import { default as React, HTMLAttributes } from 'react';
2
+ import { AgGridReactProps } from 'ag-grid-react';
3
+ import { GridApi } from 'ag-grid-community';
4
+ import { ButtonProps } from '../button/Button';
5
+ import { IconButtonProps } from '../icon-botton/IconButton';
6
+ import { PopoverContentProps, PopoverProps, PopoverTriggerProps } from '../popover/Popover';
7
+ type DataGridContext = {
8
+ api: GridApi | null;
9
+ setApi: (value: GridApi) => void;
10
+ rowData: any[] | null | undefined;
11
+ setRowData: (value: any[] | null | undefined) => void;
12
+ gridId: string;
13
+ quickFilterText: string;
14
+ setQuickFilterText: (value: string) => void;
15
+ actionbarExists: boolean;
16
+ setActionbarExists: (value: boolean) => void;
17
+ actionbarHeight: number;
18
+ setActionbarHeight: (value: number) => void;
19
+ };
20
+ declare const DataGridContext: React.Context<DataGridContext | null>;
21
+ declare const useDataGrid: () => DataGridContext;
22
+ type DataGridProps = {
23
+ children: React.ReactNode;
24
+ };
25
+ declare const DataGrid: React.FC<DataGridProps>;
26
+ type DataGridContentProps = AgGridReactProps & {};
27
+ declare const DataGridContent: React.FC<DataGridContentProps>;
28
+ type DatagridActionBarProps = HTMLAttributes<HTMLDivElement> & {};
29
+ declare const DataGridActionBar: React.FC<DatagridActionBarProps>;
30
+ type SearchActionProps = {
31
+ defaultOpen?: boolean;
32
+ };
33
+ declare const SearchAction: React.FC<SearchActionProps>;
34
+ type FreezeActionProps = ButtonProps & {
35
+ freezeText?: string;
36
+ unFreezeText?: string;
37
+ };
38
+ declare const FreezeAction: React.FC<FreezeActionProps>;
39
+ type PrintActionProps = IconButtonProps & {};
40
+ declare const PrintAction: React.FC<PrintActionProps>;
41
+ type RefreshActionProps = Omit<IconButtonProps, "onClick"> & {
42
+ refreshRowData: () => void;
43
+ };
44
+ declare const RefreshAction: React.FC<RefreshActionProps>;
45
+ type DeleteActionProps = Omit<ButtonProps, "onClick"> & {
46
+ onDelete: () => void;
47
+ };
48
+ declare const DeleteAction: React.FC<DeleteActionProps>;
49
+ type ExtraActionsProps = PopoverContentProps & {
50
+ children: React.ReactNode;
51
+ slotProps?: {
52
+ triggerProps?: PopoverTriggerProps;
53
+ popoverProps?: PopoverProps;
54
+ };
55
+ };
56
+ declare const ExtraActions: React.FC<ExtraActionsProps>;
57
+ export { DataGrid, DataGridContent, DataGridActionBar, SearchAction, FreezeAction, PrintAction, RefreshAction, ExtraActions, DeleteAction, type DataGridProps, type DataGridContentProps, type DatagridActionBarProps, type SearchActionProps, type FreezeActionProps, type RefreshActionProps, type ExtraActionsProps, type DeleteActionProps, useDataGrid, };
58
+ //# sourceMappingURL=DataGrid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../../src/components/data-grid/DataGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAe,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,OAAO,EAA+B,MAAM,mBAAmB,CAAC;AASzE,OAAO,EAAU,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAc,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAA2B,mBAAmB,EAAE,YAAY,EAAkB,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAUrI,KAAK,eAAe,GAAG;IACrB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAC;IACpB,MAAM,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,OAAO,EAAE,GAAG,EAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,UAAU,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IACtD,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7C,CAAC;AAEF,QAAA,MAAM,eAAe,uCAAoD,CAAC;AAE1E,QAAA,MAAM,WAAW,uBAQhB,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA2BrC,CAAC;AAEF,KAAK,oBAAoB,GAAG,gBAAgB,GAAG,EAAE,CAAC;AAElD,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA8CnD,CAAC;AAEF,KAAK,sBAAsB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,EAAE,CAAC;AAElE,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAgCvD,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAmE7C,CAAC;AAEF,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAuF7C,CAAC;AAEF,KAAK,gBAAgB,GAAG,eAAe,GAAG,EAAE,CAAC;AAE7C,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA8B3C,CAAC;AAEF,KAAK,kBAAkB,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,GAAG;IAC3D,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAsB/C,CAAC;AAEF,KAAK,iBAAiB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IACtD,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAU7C,CAAC;AAEF,KAAK,iBAAiB,GAAG,mBAAmB,GAAG;IAC7C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE;QACV,YAAY,CAAC,EAAE,mBAAmB,CAAC;QACnC,YAAY,CAAC,EAAE,YAAY,CAAC;KAC7B,CAAC;CACH,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAW7C,CAAC;AAEF,OAAO,EACL,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,WAAW,GACZ,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ import { DesktopDatePicker, DesktopDatePickerProps } from './DesktopDatePicker';
3
+ import { MobileDatePicker, MobileDatePickerProps } from './MobileDatePicker';
4
+ type DatePickerProps = DesktopDatePickerProps & MobileDatePickerProps & {};
5
+ declare const DatePicker: React.FC<DatePickerProps>;
6
+ export { DatePicker, DesktopDatePicker, MobileDatePicker, type DatePickerProps, type DesktopDatePickerProps, type MobileDatePickerProps };
7
+ //# sourceMappingURL=DatePicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAG7E,KAAK,eAAe,GAAG,sBAAsB,GAAG,qBAAqB,GAAG,EAAE,CAAC;AAE3E,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA0BzC,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,KAAK,eAAe,EAAE,KAAK,sBAAsB,EAAE,KAAK,qBAAqB,EAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ import { MobileDateRangePicker, MobileDateRangePickerProps } from './MobileDateRangePicker';
3
+ import { DesktopDateRangePicker, DesktopDateRangePickerProps } from './DesktopDateRangePicker';
4
+ type DateRangePickerProps = DesktopDateRangePickerProps & MobileDateRangePickerProps & {};
5
+ declare const DateRangePicker: React.FC<DateRangePickerProps>;
6
+ export { DateRangePicker, DesktopDateRangePicker, MobileDateRangePicker, type DateRangePickerProps, type DesktopDateRangePickerProps, type MobileDateRangePickerProps, };
7
+ //# sourceMappingURL=DateRangePicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DateRangePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC5F,OAAO,EAAE,sBAAsB,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAE/F,KAAK,oBAAoB,GAAG,2BAA2B,GAAG,0BAA0B,GAAG,EAAE,CAAC;AAE1F,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwBnD,CAAC;AAEF,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,qBAAqB,EACrB,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,GAChC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { PropsBase, PropsSingle } from 'react-day-picker';
2
+ import * as React from "react";
3
+ type DesktopDatePickerProps = PropsBase & Omit<PropsSingle, "mode"> & {
4
+ formatStr?: string;
5
+ placeholder?: string;
6
+ calendarClassName?: string;
7
+ selected?: Date;
8
+ required?: boolean;
9
+ closeOnSelect?: boolean;
10
+ };
11
+ declare const DesktopDatePicker: React.FC<DesktopDatePickerProps>;
12
+ export { DesktopDatePicker, type DesktopDatePickerProps };
13
+ //# sourceMappingURL=DesktopDatePicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DesktopDatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DesktopDatePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,WAAW,EAAmB,MAAM,kBAAkB,CAAC;AAQ3E,KAAK,sBAAsB,GAAG,SAAS,GACrC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,GAAG;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEJ,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA4CvD,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { PropsBase, PropsRange, DateRange } from 'react-day-picker';
2
+ import * as React from "react";
3
+ type DesktopDateRangePickerProps = PropsBase & Omit<PropsRange, "mode"> & {
4
+ formatStr?: string;
5
+ placeholder?: string;
6
+ calendarClassName?: string;
7
+ selected?: DateRange;
8
+ required?: boolean;
9
+ };
10
+ declare const DesktopDateRangePicker: React.FC<DesktopDateRangePickerProps>;
11
+ export { DesktopDateRangePicker, type DesktopDateRangePickerProps };
12
+ //# sourceMappingURL=DesktopDateRangePicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DesktopDateRangePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DesktopDateRangePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAQpE,KAAK,2BAA2B,GAAG,SAAS,GAC1C,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,GAAG;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEJ,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAkEjE,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,KAAK,2BAA2B,EAAE,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { Time } from './TimePickerContent';
3
+ type DesktopTimePickerProps = HTMLAttributes<HTMLButtonElement> & {
4
+ time: Time | undefined;
5
+ onTimeChange: (time: Time | undefined) => void;
6
+ slotsProps?: {
7
+ content?: HTMLAttributes<HTMLDivElement>;
8
+ };
9
+ };
10
+ declare const DesktopTimePicker: React.FC<DesktopTimePickerProps>;
11
+ export { DesktopTimePicker, type DesktopTimePickerProps };
12
+ //# sourceMappingURL=DesktopTimePicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DesktopTimePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DesktopTimePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AAIjD,OAAO,EAAE,IAAI,EAAqB,MAAM,qBAAqB,CAAC;AAG9D,KAAK,sBAAsB,GAAG,cAAc,CAAC,iBAAiB,CAAC,GAAG;IAChE,IAAI,EAAE,IAAI,GAAG,SAAS,CAAC;IACvB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAC/C,UAAU,CAAC,EAAE;QACX,OAAO,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;KAC1C,CAAC;CACH,CAAC;AAEF,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAmBvD,CAAC;AACF,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { PropsBase, PropsSingle } from 'react-day-picker';
2
+ import * as React from "react";
3
+ type MobileDatePickerProps = PropsBase & Omit<PropsSingle, "mode"> & {
4
+ formatStr?: string;
5
+ placeholder?: string;
6
+ calendarClassName?: string;
7
+ selected?: Date;
8
+ required?: boolean;
9
+ cancelText?: string;
10
+ applyText?: string;
11
+ onSelect?: (date: Date | undefined) => void;
12
+ };
13
+ declare const MobileDatePicker: React.FC<MobileDatePickerProps>;
14
+ export { MobileDatePicker, type MobileDatePickerProps };
15
+ //# sourceMappingURL=MobileDatePicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MobileDatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/MobileDatePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAQ1D,KAAK,qBAAqB,GAAG,SAAS,GACpC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,GAAG;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;CAC7C,CAAC;AAEJ,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAkErD,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { PropsBase, PropsRange, DateRange } from 'react-day-picker';
2
+ import * as React from "react";
3
+ type MobileDateRangePickerProps = PropsBase & Omit<PropsRange, "mode"> & {
4
+ formatStr?: string;
5
+ placeholder?: string;
6
+ calendarClassName?: string;
7
+ selected?: DateRange;
8
+ required?: boolean;
9
+ cancelText?: string;
10
+ applyText?: string;
11
+ onSelect?: (date: DateRange | undefined) => void;
12
+ };
13
+ declare const MobileDateRangePicker: React.FC<MobileDateRangePickerProps>;
14
+ export { MobileDateRangePicker, type MobileDateRangePickerProps };
15
+ //# sourceMappingURL=MobileDateRangePicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MobileDateRangePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/MobileDateRangePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAmB,MAAM,kBAAkB,CAAC;AAQrF,KAAK,0BAA0B,GAAG,SAAS,GACzC,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,GAAG;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS,KAAK,IAAI,CAAC;CAClD,CAAC;AAEJ,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAwG/D,CAAC;AAEF,OAAO,EAAE,qBAAqB,EAAE,KAAK,0BAA0B,EAAE,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { Time } from './TimePickerContent';
3
+ type MobileTimePickerProps = HTMLAttributes<HTMLButtonElement> & {
4
+ time: Time | undefined;
5
+ onTimeChange: (time: Time | undefined) => void;
6
+ slotsProps?: {
7
+ content?: HTMLAttributes<HTMLDivElement>;
8
+ };
9
+ };
10
+ declare const MobileTimePicker: React.FC<MobileTimePickerProps>;
11
+ export { MobileTimePicker, type MobileTimePickerProps };
12
+ //# sourceMappingURL=MobileTimePicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MobileTimePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/MobileTimePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AAKjD,OAAO,EAAE,IAAI,EAAqB,MAAM,qBAAqB,CAAC;AAS9D,KAAK,qBAAqB,GAAG,cAAc,CAAC,iBAAiB,CAAC,GAAG;IAC/D,IAAI,EAAE,IAAI,GAAG,SAAS,CAAC;IACvB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAC/C,UAAU,CAAC,EAAE;QACX,OAAO,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;KAC1C,CAAC;CACH,CAAC;AAEF,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAwBrD,CAAC;AACF,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { Time } from './TimePickerContent';
3
+ import { MobileTimePicker, MobileTimePickerProps } from './MobileTimePicker';
4
+ import { DesktopTimePicker, DesktopTimePickerProps } from './DesktopTimePicker';
5
+ type TimePickerProps = DesktopTimePickerProps & {};
6
+ declare const TimePicker: React.FC<TimePickerProps>;
7
+ export { TimePicker, DesktopTimePicker, type DesktopTimePickerProps, MobileTimePicker, type MobileTimePickerProps, type TimePickerProps, type Time };
8
+ //# sourceMappingURL=TimePicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/TimePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAEhF,KAAK,eAAe,GAAG,sBAAsB,GAAG,EAAE,CAAC;AAEnD,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAwBzC,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,KAAK,eAAe,EAAE,KAAK,IAAI,EAAE,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { HTMLAttributes } from 'react';
2
+ type Time = {
3
+ hour: number;
4
+ minute: number;
5
+ ampm: "AM" | "PM";
6
+ };
7
+ type TimePickerContentProps = {
8
+ time: Time | undefined;
9
+ isOpen: boolean;
10
+ onTimeChange: (time: Time | undefined) => void;
11
+ slotsProps?: {
12
+ content?: HTMLAttributes<HTMLDivElement>;
13
+ };
14
+ };
15
+ declare const TimePickerContent: React.FC<TimePickerContentProps>;
16
+ export { TimePickerContent, type TimePickerContentProps, type Time };
17
+ //# sourceMappingURL=TimePickerContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimePickerContent.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/TimePickerContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAA+B,MAAM,OAAO,CAAC;AAIpE,KAAK,IAAI,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAA;CAAE,CAAC;AAEhE,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,IAAI,GAAG,SAAS,CAAC;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAC/C,UAAU,CAAC,EAAE;QACX,OAAO,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;KAC1C,CAAC;CACH,CAAC;AAMF,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAkHvD,CAAC;AACF,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,KAAK,IAAI,EAAE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { DayPickerProps } from 'react-day-picker';
2
+ export type CalendarProps = DayPickerProps & {};
3
+ declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): import("react/jsx-runtime").JSX.Element;
4
+ declare namespace Calendar {
5
+ var displayName: string;
6
+ }
7
+ export { Calendar };
8
+ //# sourceMappingURL=calendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/calendar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAStE,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,EAAE,CAAC;AAEhD,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,eAAsB,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,2CAiG3F;kBAjGQ,QAAQ;;;AAoGjB,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { DialogContentProps, DialogTriggerProps, DialogProps, DialogCloseProps, DialogTitleProps, DialogPortalProps, DialogOverlayProps, DialogDescriptionProps } from '@radix-ui/react-dialog';
2
+ import * as React from "react";
3
+ import * as DialogPrimitive from "@radix-ui/react-dialog";
4
+ declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
5
+ declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
+ declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
7
+ declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
8
+ declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
9
+ declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
10
+ declare const DialogHeader: {
11
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
12
+ displayName: string;
13
+ };
14
+ declare const DialogFooter: {
15
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
16
+ displayName: string;
17
+ };
18
+ declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
19
+ declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
20
+ export { Dialog, DialogPortal, DialogOverlay, DialogTrigger, DialogClose, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription };
21
+ export type { DialogContentProps, DialogTriggerProps, DialogProps, DialogCloseProps, DialogTitleProps, DialogPortalProps, DialogOverlayProps, DialogDescriptionProps, };
22
+ //# sourceMappingURL=Dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACvB,MAAM,wBAAwB,CAAC;AAKhC,QAAA,MAAM,MAAM,uCAAuB,CAAC;AAEpC,QAAA,MAAM,aAAa,8GAA0B,CAAC;AAE9C,QAAA,MAAM,YAAY,6CAAyB,CAAC;AAE5C,QAAA,MAAM,WAAW,4GAAwB,CAAC;AAE1C,QAAA,MAAM,aAAa,8JAYjB,CAAC;AAGH,QAAA,MAAM,aAAa,8JAqBjB,CAAC;AAGH,QAAA,MAAM,YAAY;8BAA6B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAElF,CAAC;AAGF,QAAA,MAAM,YAAY;8BAA6B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAElF,CAAC;AAGF,QAAA,MAAM,WAAW,oKAIhB,CAAC;AAGF,QAAA,MAAM,iBAAiB,8KAG6H,CAAC;AAGrJ,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,CAAC;AACtJ,YAAY,EACV,kBAAkB,EAClB,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,GACvB,CAAC"}
@@ -0,0 +1,76 @@
1
+ import { Scope } from '@radix-ui/react-context';
2
+ import * as React from "react";
3
+ interface DrawerProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ open: boolean;
5
+ onClose?: () => void;
6
+ anchor?: "left" | "right";
7
+ width?: number;
8
+ children?: React.ReactNode;
9
+ asChild?: boolean;
10
+ mobileBreakpoint?: number;
11
+ }
12
+ /**
13
+ * Drawer component
14
+ * This is the wrapper component for Drawer content and main components
15
+ * @param {React.HTMLAttributes<HTMLDivElement>} props
16
+ * @param {boolean} open - Drawer open state
17
+ * @param {() => void} onClose - Drawer close handler
18
+ * @param {"left" | "right"} anchor - Drawer anchor position
19
+ * @param {number} width - Drawer width
20
+ * @param {React.ReactNode} children - Drawer children
21
+ * @param {boolean} asChild - Render as child component
22
+ * @param {number} mobileBreakpoint - Mobile breakpoint
23
+ * @returns {React.ReactElement}
24
+ */
25
+ declare const Drawer: React.ForwardRefExoticComponent<DrawerProps & {
26
+ __scopeDrawer?: Scope;
27
+ } & React.RefAttributes<HTMLDivElement>>;
28
+ interface DrawerMainProps extends React.HTMLAttributes<HTMLDivElement> {
29
+ asChild: boolean;
30
+ }
31
+ /**
32
+ * DrawerMain component
33
+ * This is the main container for the tree that should be shown always
34
+ * @param {React.HTMLAttributes<HTMLDivElement>} props
35
+ * @param {boolean} asChild - Render as child component
36
+ * @property {React.ReactNode} children - DrawerMain children
37
+ * @property {string} className - DrawerMain class name
38
+ * @property {React.CSSProperties} style - DrawerMain style
39
+ * @property {ScopedProps<DrawerMainProps>} __scopeDrawer - DrawerMain scope
40
+ * @property {React.Ref<HTMLDivElement>} ref - DrawerMain ref
41
+ * @property {React.HTMLAttributes<HTMLDivElement>} props - DrawerMain props
42
+ * @returns {React.ReactElement}
43
+ */
44
+ declare const DrawerMain: React.ForwardRefExoticComponent<DrawerMainProps & {
45
+ __scopeDrawer?: Scope;
46
+ } & React.RefAttributes<HTMLDivElement>>;
47
+ type DrawerContentProps = {
48
+ children?: React.ReactNode;
49
+ title: React.ReactNode;
50
+ };
51
+ /**
52
+ * DrawerContent component
53
+ * This is the content container for the tree that should be shown when the drawer is open
54
+ * @param {React.HTMLAttributes<HTMLDivElement>} props
55
+ * @param {React.ReactNode} children - DrawerContent children
56
+ * @param {React.ReactNode} title - DrawerContent title
57
+ * @property {ScopedProps<DrawerContentProps>} __scopeDrawer - DrawerContent scope
58
+ * @property {React.Ref<HTMLDivElement>} ref - DrawerContent ref
59
+ * @property {React.HTMLAttributes<HTMLDivElement>} props - DrawerContent props
60
+ * @returns {React.ReactElement}
61
+ */
62
+ declare const DrawerContent: React.ForwardRefExoticComponent<DrawerContentProps & {
63
+ __scopeDrawer?: Scope;
64
+ } & React.RefAttributes<HTMLDivElement>>;
65
+ declare const Root: React.ForwardRefExoticComponent<DrawerProps & {
66
+ __scopeDrawer?: Scope;
67
+ } & React.RefAttributes<HTMLDivElement>>;
68
+ declare const Main: React.ForwardRefExoticComponent<DrawerMainProps & {
69
+ __scopeDrawer?: Scope;
70
+ } & React.RefAttributes<HTMLDivElement>>;
71
+ declare const Content: React.ForwardRefExoticComponent<DrawerContentProps & {
72
+ __scopeDrawer?: Scope;
73
+ } & React.RefAttributes<HTMLDivElement>>;
74
+ export { Drawer, DrawerMain, DrawerContent, Root, Main, Content };
75
+ export type { DrawerContentProps, DrawerMainProps, DrawerProps };
76
+ //# sourceMappingURL=Drawer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/Drawer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAsB,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAapE,UAAU,WAAY,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAChE,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAYD;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,MAAM;oBAvCgC,KAAK;wCA2E/C,CAAC;AAIH,UAAU,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACpE,OAAO,EAAE,OAAO,CAAC;CAClB;AAID;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,UAAU;oBAlG4B,KAAK;wCAwHhD,CAAC;AAIF,KAAK,kBAAkB,GAAG;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC;AAIF;;;;;;;;;;GAUG;AACH,QAAA,MAAM,aAAa;oBA9IyB,KAAK;wCAiL/C,CAAC;AAIH,QAAA,MAAM,IAAI;oBArLkC,KAAK;wCAqL9B,CAAC;AACpB,QAAA,MAAM,IAAI;oBAtLkC,KAAK;wCAsL1B,CAAC;AACxB,QAAA,MAAM,OAAO;oBAvL+B,KAAK;wCAuLpB,CAAC;AAE9B,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAClE,YAAY,EAAE,kBAAkB,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { Drawer as DrawerPrimitive } from 'vaul';
2
+ import { DialogTriggerProps, DialogCloseProps, DialogContentProps, DialogTitleProps, DialogDescriptionProps } from '@radix-ui/react-dialog';
3
+ import * as React from "react";
4
+ declare const SwipableDrawer: {
5
+ ({ shouldScaleBackground, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
6
+ displayName: string;
7
+ };
8
+ type SwipableDrawerProps = React.ComponentProps<typeof SwipableDrawer>;
9
+ declare const SwipableDrawerTrigger: React.ForwardRefExoticComponent< DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
10
+ type SwipableDrawerTriggerProps = React.ComponentProps<typeof SwipableDrawerTrigger>;
11
+ declare const SwipableDrawerClose: React.ForwardRefExoticComponent< DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
12
+ type SwipableDrawerCloseProps = React.ComponentProps<typeof SwipableDrawerClose>;
13
+ declare const SwipableDrawerContent: React.ForwardRefExoticComponent<Omit<Omit< DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
+ type SwipableDrawerContentProps = React.ComponentProps<typeof SwipableDrawerContent>;
15
+ declare const SwipableDrawerHeader: {
16
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
17
+ displayName: string;
18
+ };
19
+ type SwipableDrawerHeaderProps = React.ComponentProps<typeof SwipableDrawerHeader>;
20
+ declare const SwipableDrawerFooter: {
21
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
22
+ displayName: string;
23
+ };
24
+ type SwipableDrawerFooterProps = React.ComponentProps<typeof SwipableDrawerFooter>;
25
+ declare const SwipableDrawerTitle: React.ForwardRefExoticComponent<Omit< DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
26
+ type SwipableDrawerTitleProps = React.ComponentProps<typeof SwipableDrawerTitle>;
27
+ declare const SwipableDrawerDescription: React.ForwardRefExoticComponent<Omit< DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
28
+ type SwipableDrawerDescriptionProps = React.ComponentProps<typeof SwipableDrawerDescription>;
29
+ export { SwipableDrawer, SwipableDrawerTrigger, SwipableDrawerClose, SwipableDrawerContent, SwipableDrawerHeader, SwipableDrawerFooter, SwipableDrawerTitle, SwipableDrawerDescription, type SwipableDrawerProps, type SwipableDrawerTriggerProps, type SwipableDrawerCloseProps, type SwipableDrawerContentProps, type SwipableDrawerHeaderProps, type SwipableDrawerFooterProps, type SwipableDrawerTitleProps, type SwipableDrawerDescriptionProps, };
30
+ //# sourceMappingURL=SwipableDrawer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwipableDrawer.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/SwipableDrawer.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AAIjD,QAAA,MAAM,cAAc;0CAAgD,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC;;CAEpH,CAAC;AAEF,KAAK,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,CAAC;AAEvE,QAAA,MAAM,qBAAqB,+HAA0B,CAAC;AAEtD,KAAK,0BAA0B,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAIrF,QAAA,MAAM,mBAAmB,6HAAwB,CAAC;AAElD,KAAK,wBAAwB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAQjF,QAAA,MAAM,qBAAqB,kOAezB,CAAC;AAEH,KAAK,0BAA0B,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAErF,QAAA,MAAM,oBAAoB;8BAA6B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAE1F,CAAC;AAEF,KAAK,yBAAyB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEnF,QAAA,MAAM,oBAAoB;8BAA6B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAE1F,CAAC;AAEF,KAAK,yBAAyB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEnF,QAAA,MAAM,mBAAmB,qLAKvB,CAAC;AAEH,KAAK,wBAAwB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEjF,QAAA,MAAM,yBAAyB,+LAGqH,CAAC;AAErJ,KAAK,8BAA8B,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE7F,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,yBAAyB,EACzB,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,GACpC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { ControllerProps, FieldPath, FieldValues, FormProviderProps } from 'react-hook-form';
2
+ import { SlotProps } from '@radix-ui/react-slot';
3
+ import * as React from "react";
4
+ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues | undefined = undefined>(props: FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
5
+ declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
6
+ declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
7
+ declare const FormLabel: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
8
+ declare const FormControl: React.ForwardRefExoticComponent<Omit< SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
9
+ declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
10
+ declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
11
+ export { Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField };
12
+ //# sourceMappingURL=Form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../src/components/form/Form.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAc,eAAe,EAAE,SAAS,EAAE,WAAW,EAAgC,MAAM,iBAAiB,CAAC;AAKpH,QAAA,MAAM,IAAI,8NAiEE,GAAG,CAAC,OAAO,AAjEE,CAAC;AAQ1B,QAAA,MAAM,SAAS,GAAI,YAAY,SAAS,WAAW,gBAAgB,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,0CAErG,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,4CAMtC,CAAC;AA+BF,QAAA,MAAM,QAAQ,6GAQZ,CAAC;AAGH,QAAA,MAAM,SAAS,8KAIb,CAAC;AAGH,QAAA,MAAM,WAAW,8JAaf,CAAC;AAGH,QAAA,MAAM,eAAe,yHAInB,CAAC;AAGH,QAAA,MAAM,WAAW,yHAaf,CAAC;AAGH,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,eAAe,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { FormItem } from '../form/Form';
2
+ import { SlotProps } from '@radix-ui/react-slot';
3
+ import { Control, ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
4
+ import { CheckboxProps } from '../checkbox/Checkbox';
5
+ type FormCheckboxProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = Omit<ControllerProps<TFieldValues, TName>, "render"> & React.ComponentProps<typeof FormItem> & {
6
+ label: string;
7
+ control: Control<TFieldValues>;
8
+ required?: boolean;
9
+ slotProps?: {
10
+ formLabelProps?: React.HTMLAttributes<HTMLLabelElement> & React.RefAttributes<HTMLLabelElement>;
11
+ formMessageProps?: React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>;
12
+ formControlProps?: Omit<SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>;
13
+ checkboxProps?: CheckboxProps;
14
+ };
15
+ };
16
+ declare const FormCheckbox: <TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>>(props: FormCheckboxProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
17
+ export { FormCheckbox, type FormCheckboxProps };
18
+ //# sourceMappingURL=FormCheckbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormCheckbox.d.ts","sourceRoot":"","sources":["../../../src/components/form-checkbox/FormCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,QAAQ,EAA0B,MAAM,cAAc,CAAC;AACxF,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,WAAW,EAAiB,MAAM,iBAAiB,CAAC;AAClG,OAAO,EAAY,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAI/D,KAAK,iBAAiB,CAAC,YAAY,SAAS,WAAW,EAAE,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,IAAI,IAAI,CACpG,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,EACpC,QAAQ,CACT,GACC,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE;QACV,cAAc,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;QAChG,gBAAgB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC;QAC1G,gBAAgB,CAAC,EAAE,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,KAAK,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;QAChH,aAAa,CAAC,EAAE,aAAa,CAAC;KAC/B,CAAC;CACH,CAAC;AAEJ,QAAA,MAAM,YAAY,GAAI,YAAY,SAAS,WAAW,EAAE,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,SAAS,iBAAiB,CAAC,YAAY,EAAE,KAAK,CAAC,4CA0C3I,CAAC;AACF,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
2
+ import { ButtonProps } from '../button/Button';
3
+ import { FormItem } from '../form/Form';
4
+ import { Combobox, ComboboxContent, ComboboxItem, ComboboxTrigger } from '../combobox/Combobox';
5
+ type FormComboboxProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = Omit<ControllerProps<TFieldValues, TName>, "render"> & React.ComponentProps<typeof FormItem> & {
6
+ label: string;
7
+ options: {
8
+ value: string | number;
9
+ label: string | number;
10
+ }[];
11
+ loading?: boolean;
12
+ loadingText?: string;
13
+ emptyOptionsText?: string;
14
+ placeholder?: string;
15
+ required?: boolean;
16
+ slotProps?: {
17
+ formLabelProps?: React.HTMLAttributes<HTMLLabelElement> & React.RefAttributes<HTMLLabelElement>;
18
+ formMessageProps?: React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>;
19
+ comboboxProps?: React.ComponentProps<typeof Combobox>;
20
+ comboboxTriggerProps?: React.ComponentProps<typeof ComboboxTrigger>;
21
+ comboboxValueProps?: ButtonProps;
22
+ comboboxContentProps?: React.ComponentProps<typeof ComboboxContent>;
23
+ comboboxItemProps?: React.ComponentProps<typeof ComboboxItem>;
24
+ };
25
+ };
26
+ declare const FormCombobox: <TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>(props: FormComboboxProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
27
+ export { FormCombobox, type FormComboboxProps };
28
+ //# sourceMappingURL=FormCombobox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormCombobox.d.ts","sourceRoot":"","sources":["../../../src/components/form-combobox/FormCombobox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,WAAW,EAAiB,MAAM,iBAAiB,CAAC;AAKzF,OAAO,EAAU,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAA0B,QAAQ,EAA0B,MAAM,cAAc,CAAC;AACxF,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAgC,YAAY,EAAgB,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAG5I,KAAK,iBAAiB,CAAC,YAAY,SAAS,WAAW,EAAE,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,IAAI,IAAI,CAC9H,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,EACpC,QAAQ,CACT,GACC,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,EAAE,CAAC;IAC9D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE;QACV,cAAc,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;QAChG,gBAAgB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC;QAC1G,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC;QACtD,oBAAoB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,CAAC;QACpE,kBAAkB,CAAC,EAAE,WAAW,CAAC;QACjC,oBAAoB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,CAAC;QACpE,iBAAiB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;KAC/D,CAAC;CACH,CAAC;AAEJ,QAAA,MAAM,YAAY,GAAI,YAAY,SAAS,WAAW,EAAE,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,mCACpF,iBAAiB,CAAC,YAAY,EAAE,KAAK,CAAC,4CAmH9C,CAAC;AACF,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { FormItem } from '../form/Form';
2
+ import { SlotProps } from '@radix-ui/react-slot';
3
+ import { Control, ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
4
+ import { TextFieldProps } from '../text-field/TextField';
5
+ type FormInputProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = Omit<ControllerProps<TFieldValues, TName>, "render"> & React.ComponentProps<typeof FormItem> & {
6
+ label: string;
7
+ control: Control<TFieldValues>;
8
+ required?: boolean;
9
+ slotProps?: {
10
+ formLabelProps?: React.HTMLAttributes<HTMLLabelElement> & React.RefAttributes<HTMLLabelElement>;
11
+ formMessageProps?: React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>;
12
+ formControlProps?: Omit<SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>;
13
+ textFieldProps?: TextFieldProps & React.RefAttributes<HTMLInputElement>;
14
+ };
15
+ };
16
+ declare const FormInput: <TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>>(props: FormInputProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
17
+ export { FormInput, type FormInputProps };
18
+ //# sourceMappingURL=FormInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormInput.d.ts","sourceRoot":"","sources":["../../../src/components/form-input/FormInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,QAAQ,EAA0B,MAAM,cAAc,CAAC;AACxF,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnF,OAAO,EAAa,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEpE,KAAK,cAAc,CAAC,YAAY,SAAS,WAAW,EAAE,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,EAAE,QAAQ,CAAC,GACjJ,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE;QACV,cAAc,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;QAChG,gBAAgB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC;QAC1G,gBAAgB,CAAC,EAAE,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,KAAK,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;QAChH,cAAc,CAAC,EAAE,cAAc,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;KACzE,CAAC;CACH,CAAC;AAEJ,QAAA,MAAM,SAAS,GAAI,YAAY,SAAS,WAAW,EAAE,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,SAAS,cAAc,CAAC,YAAY,EAAE,KAAK,CAAC,4CA8BrI,CAAC;AACF,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
2
+ import { FormItem } from '../form/Form';
3
+ import { MultiSelectProps } from '../multi-select/MultiSelect';
4
+ type FormMultiSelectProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = Omit<ControllerProps<TFieldValues, TName>, "render"> & React.ComponentProps<typeof FormItem> & {
5
+ label: string;
6
+ loading?: boolean;
7
+ loadingText?: string;
8
+ options: MultiSelectProps["options"];
9
+ placeholder?: string;
10
+ required?: boolean;
11
+ slotProps?: {
12
+ multiSelectProps?: Partial<MultiSelectProps>;
13
+ formLabelProps?: React.HTMLAttributes<HTMLLabelElement> & React.RefAttributes<HTMLLabelElement>;
14
+ formMessageProps?: React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>;
15
+ };
16
+ };
17
+ declare const FormMultiSelect: <TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>(props: FormMultiSelectProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
18
+ export { FormMultiSelect, type FormMultiSelectProps };
19
+ //# sourceMappingURL=FormMultiSelect.d.ts.map