@rufous/ui 0.2.0-beta.1 → 0.2.2

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 (412) hide show
  1. package/README.md +484 -222
  2. package/dist/main.cjs +13920 -1037
  3. package/dist/main.css +14137 -6052
  4. package/dist/main.d.cts +1719 -71
  5. package/dist/main.d.ts +1719 -71
  6. package/dist/main.js +15389 -213
  7. package/package.json +32 -5
  8. package/dist/Buttons/addButton.cjs +0 -39
  9. package/dist/Buttons/addButton.d.cts +0 -8
  10. package/dist/Buttons/addButton.d.ts +0 -8
  11. package/dist/Buttons/addButton.js +0 -7
  12. package/dist/Buttons/cancelButton.cjs +0 -37
  13. package/dist/Buttons/cancelButton.d.cts +0 -8
  14. package/dist/Buttons/cancelButton.d.ts +0 -8
  15. package/dist/Buttons/cancelButton.js +0 -7
  16. package/dist/Buttons/index.cjs +0 -155
  17. package/dist/Buttons/index.d.cts +0 -5
  18. package/dist/Buttons/index.d.ts +0 -5
  19. package/dist/Buttons/index.js +0 -21
  20. package/dist/Buttons/stdButton.cjs +0 -39
  21. package/dist/Buttons/stdButton.d.cts +0 -8
  22. package/dist/Buttons/stdButton.d.ts +0 -8
  23. package/dist/Buttons/stdButton.js +0 -7
  24. package/dist/Buttons/submitButton.cjs +0 -124
  25. package/dist/Buttons/submitButton.d.cts +0 -13
  26. package/dist/Buttons/submitButton.d.ts +0 -13
  27. package/dist/Buttons/submitButton.js +0 -8
  28. package/dist/CheckBoxes/CheckBox.cjs +0 -62
  29. package/dist/CheckBoxes/CheckBox.d.cjs +0 -17
  30. package/dist/CheckBoxes/CheckBox.d.cts +0 -15
  31. package/dist/CheckBoxes/CheckBox.d.d.cts +0 -15
  32. package/dist/CheckBoxes/CheckBox.d.d.ts +0 -15
  33. package/dist/CheckBoxes/CheckBox.d.js +0 -0
  34. package/dist/CheckBoxes/CheckBox.d.ts +0 -15
  35. package/dist/CheckBoxes/CheckBox.js +0 -7
  36. package/dist/Contexts/rufousThemeProvider.cjs +0 -209
  37. package/dist/Contexts/rufousThemeProvider.d.cts +0 -8
  38. package/dist/Contexts/rufousThemeProvider.d.ts +0 -8
  39. package/dist/Contexts/rufousThemeProvider.js +0 -10
  40. package/dist/DataGrid/DataGrid.cjs +0 -418
  41. package/dist/DataGrid/DataGrid.d.cts +0 -8
  42. package/dist/DataGrid/DataGrid.d.ts +0 -8
  43. package/dist/DataGrid/DataGrid.js +0 -9
  44. package/dist/DataGrid/index.cjs +0 -418
  45. package/dist/DataGrid/index.d.cts +0 -3
  46. package/dist/DataGrid/index.d.ts +0 -3
  47. package/dist/DataGrid/index.js +0 -8
  48. package/dist/DataGrid/types.cjs +0 -17
  49. package/dist/DataGrid/types.d.cts +0 -31
  50. package/dist/DataGrid/types.d.ts +0 -31
  51. package/dist/DataGrid/types.js +0 -0
  52. package/dist/Dialogs/BaseDialog.cjs +0 -133
  53. package/dist/Dialogs/BaseDialog.css +0 -8469
  54. package/dist/Dialogs/BaseDialog.d.cts +0 -31
  55. package/dist/Dialogs/BaseDialog.d.ts +0 -31
  56. package/dist/Dialogs/BaseDialog.js +0 -79
  57. package/dist/Dialogs/index.cjs +0 -139
  58. package/dist/Dialogs/index.css +0 -8469
  59. package/dist/Dialogs/index.d.cts +0 -2
  60. package/dist/Dialogs/index.d.ts +0 -2
  61. package/dist/Dialogs/index.js +0 -79
  62. package/dist/Editors/RichTextEditor.cjs +0 -29477
  63. package/dist/Editors/RichTextEditor.css +0 -7179
  64. package/dist/Editors/RichTextEditor.d.cts +0 -57
  65. package/dist/Editors/RichTextEditor.d.ts +0 -57
  66. package/dist/Editors/RichTextEditor.js +0 -9
  67. package/dist/Editors/index.cjs +0 -29477
  68. package/dist/Editors/index.css +0 -7179
  69. package/dist/Editors/index.d.cts +0 -2
  70. package/dist/Editors/index.d.ts +0 -2
  71. package/dist/Editors/index.js +0 -8
  72. package/dist/Progress/circularProgress.cjs +0 -60
  73. package/dist/Progress/circularProgress.d.cts +0 -9
  74. package/dist/Progress/circularProgress.d.ts +0 -9
  75. package/dist/Progress/circularProgress.js +0 -7
  76. package/dist/TextFields/AddressLookup.cjs +0 -390
  77. package/dist/TextFields/AddressLookup.d.cts +0 -49
  78. package/dist/TextFields/AddressLookup.d.ts +0 -49
  79. package/dist/TextFields/AddressLookup.js +0 -11
  80. package/dist/TextFields/FloatingInput.cjs +0 -67
  81. package/dist/TextFields/FloatingInput.d.cts +0 -17
  82. package/dist/TextFields/FloatingInput.d.ts +0 -17
  83. package/dist/TextFields/FloatingInput.js +0 -7
  84. package/dist/chunk-2AJACSJ3.js +0 -8
  85. package/dist/chunk-3IBCGGN3.js +0 -48
  86. package/dist/chunk-3Y6QBRGD.js +0 -8
  87. package/dist/chunk-4BTXGP7U.js +0 -19
  88. package/dist/chunk-4Y7SQ5EP.js +0 -8
  89. package/dist/chunk-5DAOQ2V5.js +0 -99
  90. package/dist/chunk-5GK5B3FD.js +0 -8
  91. package/dist/chunk-5JWTJ5PY.js +0 -8
  92. package/dist/chunk-5QEWUCKT.js +0 -303
  93. package/dist/chunk-5XKFPQLH.js +0 -8
  94. package/dist/chunk-66HHM7VI.js +0 -468
  95. package/dist/chunk-6FEUS4CQ.js +0 -41
  96. package/dist/chunk-6KIFTMUN.js +0 -8
  97. package/dist/chunk-6SUKO6QW.js +0 -8
  98. package/dist/chunk-763IHEJ2.js +0 -8
  99. package/dist/chunk-77QDKDFI.js +0 -8
  100. package/dist/chunk-7II4Q2WY.js +0 -8
  101. package/dist/chunk-7KRG7VNW.js +0 -0
  102. package/dist/chunk-AH6RCYDL.js +0 -45
  103. package/dist/chunk-AXSFVJ3H.js +0 -10
  104. package/dist/chunk-B2LVMM55.js +0 -8
  105. package/dist/chunk-BMMDUQDJ.js +0 -8
  106. package/dist/chunk-CTBYVXFP.js +0 -31
  107. package/dist/chunk-CTWVJQJ5.js +0 -8
  108. package/dist/chunk-DK3DA5LH.js +0 -8
  109. package/dist/chunk-DLJHWFNG.js +0 -18
  110. package/dist/chunk-DMP72IAP.js +0 -8
  111. package/dist/chunk-E5RTHYCU.js +0 -0
  112. package/dist/chunk-EZI3QGYJ.js +0 -8
  113. package/dist/chunk-FPRXN3DS.js +0 -18
  114. package/dist/chunk-FZCFFVXW.js +0 -10
  115. package/dist/chunk-G2GZDPUL.js +0 -61
  116. package/dist/chunk-GESVGIAP.js +0 -10
  117. package/dist/chunk-GJGRMMAQ.js +0 -0
  118. package/dist/chunk-GL43GPEM.js +0 -18
  119. package/dist/chunk-H372BAXA.js +0 -42
  120. package/dist/chunk-HMG3FW2Q.js +0 -97
  121. package/dist/chunk-J6E3UO2W.js +0 -402
  122. package/dist/chunk-JI5XMLWT.js +0 -8
  123. package/dist/chunk-JVN6QVET.js +0 -8
  124. package/dist/chunk-MNPAE2ZF.js +0 -100
  125. package/dist/chunk-N26C33E6.js +0 -8
  126. package/dist/chunk-N4EJKMJK.js +0 -8
  127. package/dist/chunk-NEGQXBQV.js +0 -29
  128. package/dist/chunk-OJV6F5JC.js +0 -8
  129. package/dist/chunk-Q4DHI3B5.js +0 -8
  130. package/dist/chunk-Q5XKCUE3.js +0 -8
  131. package/dist/chunk-QDMNCTXT.js +0 -8
  132. package/dist/chunk-QIEQRNBE.js +0 -10
  133. package/dist/chunk-QJPQC544.js +0 -29
  134. package/dist/chunk-QPGJCRBS.js +0 -0
  135. package/dist/chunk-QTGVW36I.js +0 -8
  136. package/dist/chunk-QZFGQ5JM.js +0 -157
  137. package/dist/chunk-R3GARAVJ.js +0 -10
  138. package/dist/chunk-R4ISYGEP.js +0 -8
  139. package/dist/chunk-RJ43D3XB.js +0 -18
  140. package/dist/chunk-U7SARO5B.js +0 -10
  141. package/dist/chunk-UPCMMCPQ.js +0 -34
  142. package/dist/chunk-UTBCFDOX.js +0 -8
  143. package/dist/chunk-UTYIBUY2.js +0 -8
  144. package/dist/chunk-WG3Q6GZN.js +0 -29
  145. package/dist/chunk-WHGVO3HV.js +0 -8
  146. package/dist/chunk-WXANSSXF.js +0 -8
  147. package/dist/chunk-WZAU77G7.js +0 -55
  148. package/dist/chunk-XCE3QE6Q.js +0 -8
  149. package/dist/chunk-XHY3OCAQ.js +0 -8
  150. package/dist/chunk-XPJVVKOU.js +0 -8
  151. package/dist/chunk-YRLN3TBF.js +0 -69
  152. package/dist/chunk-YTVUM76D.js +0 -10
  153. package/dist/chunk-YXPBXCY5.js +0 -89
  154. package/dist/chunk-Z7USRFM2.js +0 -8
  155. package/dist/chunk-ZJAV3FEQ.js +0 -48
  156. package/dist/chunk-ZLJDOLXZ.js +0 -8
  157. package/dist/icons/activateUserIcon.cjs +0 -74
  158. package/dist/icons/activateUserIcon.d.cts +0 -8
  159. package/dist/icons/activateUserIcon.d.ts +0 -8
  160. package/dist/icons/activateUserIcon.js +0 -7
  161. package/dist/icons/archivedIcon.cjs +0 -77
  162. package/dist/icons/archivedIcon.d.cts +0 -8
  163. package/dist/icons/archivedIcon.d.ts +0 -8
  164. package/dist/icons/archivedIcon.js +0 -7
  165. package/dist/icons/assignGroupIcon.cjs +0 -129
  166. package/dist/icons/assignGroupIcon.d.cts +0 -8
  167. package/dist/icons/assignGroupIcon.d.ts +0 -8
  168. package/dist/icons/assignGroupIcon.js +0 -7
  169. package/dist/icons/closeIcon.cjs +0 -37
  170. package/dist/icons/closeIcon.d.cts +0 -8
  171. package/dist/icons/closeIcon.d.ts +0 -8
  172. package/dist/icons/closeIcon.js +0 -7
  173. package/dist/icons/copyIcon.cjs +0 -70
  174. package/dist/icons/copyIcon.d.cts +0 -8
  175. package/dist/icons/copyIcon.d.ts +0 -8
  176. package/dist/icons/copyIcon.js +0 -7
  177. package/dist/icons/difficultyAllIcon.cjs +0 -37
  178. package/dist/icons/difficultyAllIcon.d.cts +0 -8
  179. package/dist/icons/difficultyAllIcon.d.ts +0 -8
  180. package/dist/icons/difficultyAllIcon.js +0 -7
  181. package/dist/icons/difficultyEasyIcon.cjs +0 -37
  182. package/dist/icons/difficultyEasyIcon.d.cts +0 -8
  183. package/dist/icons/difficultyEasyIcon.d.ts +0 -8
  184. package/dist/icons/difficultyEasyIcon.js +0 -7
  185. package/dist/icons/difficultyHardIcon.cjs +0 -37
  186. package/dist/icons/difficultyHardIcon.d.cts +0 -8
  187. package/dist/icons/difficultyHardIcon.d.ts +0 -8
  188. package/dist/icons/difficultyHardIcon.js +0 -7
  189. package/dist/icons/difficultyMediumIcon.cjs +0 -37
  190. package/dist/icons/difficultyMediumIcon.d.cts +0 -8
  191. package/dist/icons/difficultyMediumIcon.d.ts +0 -8
  192. package/dist/icons/difficultyMediumIcon.js +0 -7
  193. package/dist/icons/dollarIcon.cjs +0 -47
  194. package/dist/icons/dollarIcon.d.cts +0 -8
  195. package/dist/icons/dollarIcon.d.ts +0 -8
  196. package/dist/icons/dollarIcon.js +0 -7
  197. package/dist/icons/downloadIcon.cjs +0 -39
  198. package/dist/icons/downloadIcon.d.cts +0 -8
  199. package/dist/icons/downloadIcon.d.ts +0 -8
  200. package/dist/icons/downloadIcon.js +0 -7
  201. package/dist/icons/downloadPdfIcon.cjs +0 -37
  202. package/dist/icons/downloadPdfIcon.d.cts +0 -8
  203. package/dist/icons/downloadPdfIcon.d.ts +0 -8
  204. package/dist/icons/downloadPdfIcon.js +0 -7
  205. package/dist/icons/editChatIcon.cjs +0 -37
  206. package/dist/icons/editChatIcon.d.cts +0 -8
  207. package/dist/icons/editChatIcon.d.ts +0 -8
  208. package/dist/icons/editChatIcon.js +0 -7
  209. package/dist/icons/editIcon.cjs +0 -71
  210. package/dist/icons/editIcon.d.cts +0 -8
  211. package/dist/icons/editIcon.d.ts +0 -8
  212. package/dist/icons/editIcon.js +0 -7
  213. package/dist/icons/engagementIcon.cjs +0 -37
  214. package/dist/icons/engagementIcon.d.cts +0 -8
  215. package/dist/icons/engagementIcon.d.ts +0 -8
  216. package/dist/icons/engagementIcon.js +0 -7
  217. package/dist/icons/functionIcon.cjs +0 -37
  218. package/dist/icons/functionIcon.d.cts +0 -8
  219. package/dist/icons/functionIcon.d.ts +0 -8
  220. package/dist/icons/functionIcon.js +0 -7
  221. package/dist/icons/helpOutlinedIcon.cjs +0 -39
  222. package/dist/icons/helpOutlinedIcon.d.cts +0 -8
  223. package/dist/icons/helpOutlinedIcon.d.ts +0 -8
  224. package/dist/icons/helpOutlinedIcon.js +0 -7
  225. package/dist/icons/hierarchyIcon.cjs +0 -84
  226. package/dist/icons/hierarchyIcon.d.cts +0 -8
  227. package/dist/icons/hierarchyIcon.d.ts +0 -8
  228. package/dist/icons/hierarchyIcon.js +0 -7
  229. package/dist/icons/inactiveGroupIcon.cjs +0 -37
  230. package/dist/icons/inactiveGroupIcon.d.cts +0 -8
  231. package/dist/icons/inactiveGroupIcon.d.ts +0 -8
  232. package/dist/icons/inactiveGroupIcon.js +0 -7
  233. package/dist/icons/index.cjs +0 -1056
  234. package/dist/icons/index.d.cts +0 -57
  235. package/dist/icons/index.d.ts +0 -57
  236. package/dist/icons/index.js +0 -228
  237. package/dist/icons/industryIcon.cjs +0 -48
  238. package/dist/icons/industryIcon.d.cts +0 -8
  239. package/dist/icons/industryIcon.d.ts +0 -8
  240. package/dist/icons/industryIcon.js +0 -7
  241. package/dist/icons/invoiceIcon.cjs +0 -37
  242. package/dist/icons/invoiceIcon.d.cts +0 -8
  243. package/dist/icons/invoiceIcon.d.ts +0 -8
  244. package/dist/icons/invoiceIcon.js +0 -7
  245. package/dist/icons/locationPinIcon.cjs +0 -37
  246. package/dist/icons/locationPinIcon.d.cts +0 -8
  247. package/dist/icons/locationPinIcon.d.ts +0 -8
  248. package/dist/icons/locationPinIcon.js +0 -7
  249. package/dist/icons/logsIcon.cjs +0 -37
  250. package/dist/icons/logsIcon.d.cts +0 -8
  251. package/dist/icons/logsIcon.d.ts +0 -8
  252. package/dist/icons/logsIcon.js +0 -7
  253. package/dist/icons/minExperienceIcon.cjs +0 -47
  254. package/dist/icons/minExperienceIcon.d.cts +0 -8
  255. package/dist/icons/minExperienceIcon.d.ts +0 -8
  256. package/dist/icons/minExperienceIcon.js +0 -7
  257. package/dist/icons/nineDotMenuIcon.cjs +0 -39
  258. package/dist/icons/nineDotMenuIcon.d.cts +0 -8
  259. package/dist/icons/nineDotMenuIcon.d.ts +0 -8
  260. package/dist/icons/nineDotMenuIcon.js +0 -7
  261. package/dist/icons/notificationIcon.cjs +0 -39
  262. package/dist/icons/notificationIcon.d.cts +0 -8
  263. package/dist/icons/notificationIcon.d.ts +0 -8
  264. package/dist/icons/notificationIcon.js +0 -7
  265. package/dist/icons/projectIcon.cjs +0 -47
  266. package/dist/icons/projectIcon.d.cts +0 -8
  267. package/dist/icons/projectIcon.d.ts +0 -8
  268. package/dist/icons/projectIcon.js +0 -7
  269. package/dist/icons/qualificationsIcon.cjs +0 -37
  270. package/dist/icons/qualificationsIcon.d.cts +0 -8
  271. package/dist/icons/qualificationsIcon.d.ts +0 -8
  272. package/dist/icons/qualificationsIcon.js +0 -7
  273. package/dist/icons/questionStatusAllIcon.cjs +0 -37
  274. package/dist/icons/questionStatusAllIcon.d.cts +0 -8
  275. package/dist/icons/questionStatusAllIcon.d.ts +0 -8
  276. package/dist/icons/questionStatusAllIcon.js +0 -7
  277. package/dist/icons/questionStatusPrivateIcon.cjs +0 -37
  278. package/dist/icons/questionStatusPrivateIcon.d.cts +0 -8
  279. package/dist/icons/questionStatusPrivateIcon.d.ts +0 -8
  280. package/dist/icons/questionStatusPrivateIcon.js +0 -7
  281. package/dist/icons/questionStatusPublicIcon.cjs +0 -37
  282. package/dist/icons/questionStatusPublicIcon.d.cts +0 -8
  283. package/dist/icons/questionStatusPublicIcon.d.ts +0 -8
  284. package/dist/icons/questionStatusPublicIcon.js +0 -7
  285. package/dist/icons/questionTypeAllIcon.cjs +0 -37
  286. package/dist/icons/questionTypeAllIcon.d.cts +0 -8
  287. package/dist/icons/questionTypeAllIcon.d.ts +0 -8
  288. package/dist/icons/questionTypeAllIcon.js +0 -7
  289. package/dist/icons/questionTypeCodingIcon.cjs +0 -37
  290. package/dist/icons/questionTypeCodingIcon.d.cts +0 -8
  291. package/dist/icons/questionTypeCodingIcon.d.ts +0 -8
  292. package/dist/icons/questionTypeCodingIcon.js +0 -7
  293. package/dist/icons/questionTypeDescriptiveIcon.cjs +0 -37
  294. package/dist/icons/questionTypeDescriptiveIcon.d.cts +0 -8
  295. package/dist/icons/questionTypeDescriptiveIcon.d.ts +0 -8
  296. package/dist/icons/questionTypeDescriptiveIcon.js +0 -7
  297. package/dist/icons/questionTypeMultipleIcon.cjs +0 -37
  298. package/dist/icons/questionTypeMultipleIcon.d.cts +0 -8
  299. package/dist/icons/questionTypeMultipleIcon.d.ts +0 -8
  300. package/dist/icons/questionTypeMultipleIcon.js +0 -7
  301. package/dist/icons/questionTypeSingleIcon.cjs +0 -37
  302. package/dist/icons/questionTypeSingleIcon.d.cts +0 -8
  303. package/dist/icons/questionTypeSingleIcon.d.ts +0 -8
  304. package/dist/icons/questionTypeSingleIcon.js +0 -7
  305. package/dist/icons/refreshIcon.cjs +0 -39
  306. package/dist/icons/refreshIcon.d.cts +0 -8
  307. package/dist/icons/refreshIcon.d.ts +0 -8
  308. package/dist/icons/refreshIcon.js +0 -7
  309. package/dist/icons/resendInviteIcon.cjs +0 -58
  310. package/dist/icons/resendInviteIcon.d.cts +0 -8
  311. package/dist/icons/resendInviteIcon.d.ts +0 -8
  312. package/dist/icons/resendInviteIcon.js +0 -7
  313. package/dist/icons/rolesIcon.cjs +0 -47
  314. package/dist/icons/rolesIcon.d.cts +0 -8
  315. package/dist/icons/rolesIcon.d.ts +0 -8
  316. package/dist/icons/rolesIcon.js +0 -7
  317. package/dist/icons/rufousAiIcon.cjs +0 -37
  318. package/dist/icons/rufousAiIcon.d.cts +0 -8
  319. package/dist/icons/rufousAiIcon.d.ts +0 -8
  320. package/dist/icons/rufousAiIcon.js +0 -7
  321. package/dist/icons/rufousBirdIcon.cjs +0 -37
  322. package/dist/icons/rufousBirdIcon.d.cts +0 -8
  323. package/dist/icons/rufousBirdIcon.d.ts +0 -8
  324. package/dist/icons/rufousBirdIcon.js +0 -7
  325. package/dist/icons/rufousLauncherBird.cjs +0 -186
  326. package/dist/icons/rufousLauncherBird.d.cts +0 -8
  327. package/dist/icons/rufousLauncherBird.d.ts +0 -8
  328. package/dist/icons/rufousLauncherBird.js +0 -7
  329. package/dist/icons/sidebarIcon.cjs +0 -37
  330. package/dist/icons/sidebarIcon.d.cts +0 -8
  331. package/dist/icons/sidebarIcon.d.ts +0 -8
  332. package/dist/icons/sidebarIcon.js +0 -7
  333. package/dist/icons/softSkillsIcon.cjs +0 -37
  334. package/dist/icons/softSkillsIcon.d.cts +0 -8
  335. package/dist/icons/softSkillsIcon.d.ts +0 -8
  336. package/dist/icons/softSkillsIcon.js +0 -7
  337. package/dist/icons/subscribeIcon.cjs +0 -37
  338. package/dist/icons/subscribeIcon.d.cts +0 -8
  339. package/dist/icons/subscribeIcon.d.ts +0 -8
  340. package/dist/icons/subscribeIcon.js +0 -7
  341. package/dist/icons/suspendUserIcon.cjs +0 -37
  342. package/dist/icons/suspendUserIcon.d.cts +0 -8
  343. package/dist/icons/suspendUserIcon.d.ts +0 -8
  344. package/dist/icons/suspendUserIcon.js +0 -7
  345. package/dist/icons/technicalSkillsIcon.cjs +0 -37
  346. package/dist/icons/technicalSkillsIcon.d.cts +0 -8
  347. package/dist/icons/technicalSkillsIcon.d.ts +0 -8
  348. package/dist/icons/technicalSkillsIcon.js +0 -7
  349. package/dist/icons/tickIcon.cjs +0 -37
  350. package/dist/icons/tickIcon.d.cts +0 -8
  351. package/dist/icons/tickIcon.d.ts +0 -8
  352. package/dist/icons/tickIcon.js +0 -7
  353. package/dist/icons/timerIcon.cjs +0 -37
  354. package/dist/icons/timerIcon.d.cts +0 -8
  355. package/dist/icons/timerIcon.d.ts +0 -8
  356. package/dist/icons/timerIcon.js +0 -7
  357. package/dist/icons/trashIcon.cjs +0 -37
  358. package/dist/icons/trashIcon.d.cts +0 -8
  359. package/dist/icons/trashIcon.d.ts +0 -8
  360. package/dist/icons/trashIcon.js +0 -7
  361. package/dist/icons/unArchivedIcon.cjs +0 -77
  362. package/dist/icons/unArchivedIcon.d.cts +0 -8
  363. package/dist/icons/unArchivedIcon.d.ts +0 -8
  364. package/dist/icons/unArchivedIcon.js +0 -7
  365. package/dist/icons/unsubscribeIcon.cjs +0 -37
  366. package/dist/icons/unsubscribeIcon.d.cts +0 -8
  367. package/dist/icons/unsubscribeIcon.d.ts +0 -8
  368. package/dist/icons/unsubscribeIcon.js +0 -7
  369. package/dist/icons/uploadIcon.cjs +0 -37
  370. package/dist/icons/uploadIcon.d.cts +0 -8
  371. package/dist/icons/uploadIcon.d.ts +0 -8
  372. package/dist/icons/uploadIcon.js +0 -7
  373. package/dist/icons/userAssignIcon.cjs +0 -90
  374. package/dist/icons/userAssignIcon.d.cts +0 -8
  375. package/dist/icons/userAssignIcon.d.ts +0 -8
  376. package/dist/icons/userAssignIcon.js +0 -7
  377. package/dist/icons/viewIcon.cjs +0 -37
  378. package/dist/icons/viewIcon.d.cts +0 -8
  379. package/dist/icons/viewIcon.d.ts +0 -8
  380. package/dist/icons/viewIcon.js +0 -7
  381. package/dist/icons/workItemIcon.cjs +0 -58
  382. package/dist/icons/workItemIcon.d.cts +0 -8
  383. package/dist/icons/workItemIcon.d.ts +0 -8
  384. package/dist/icons/workItemIcon.js +0 -7
  385. package/dist/style.css +0 -1181
  386. package/dist/style.d.cts +0 -2
  387. package/dist/style.d.ts +0 -2
  388. package/dist/styles/address-lookup.css +0 -107
  389. package/dist/styles/address-lookup.d.cts +0 -2
  390. package/dist/styles/address-lookup.d.ts +0 -2
  391. package/dist/styles/button.css +0 -109
  392. package/dist/styles/button.d.cts +0 -2
  393. package/dist/styles/button.d.ts +0 -2
  394. package/dist/styles/checkbox.css +0 -60
  395. package/dist/styles/checkbox.d.cts +0 -2
  396. package/dist/styles/checkbox.d.ts +0 -2
  397. package/dist/styles/datagrid.css +0 -531
  398. package/dist/styles/datagrid.d.cts +0 -2
  399. package/dist/styles/datagrid.d.ts +0 -2
  400. package/dist/styles/dialog.css +0 -118
  401. package/dist/styles/dialog.d.cts +0 -2
  402. package/dist/styles/dialog.d.ts +0 -2
  403. package/dist/styles/editor.css +0 -211
  404. package/dist/styles/editor.d.cts +0 -2
  405. package/dist/styles/editor.d.ts +0 -2
  406. package/dist/styles/progress.css +0 -36
  407. package/dist/styles/progress.d.cts +0 -2
  408. package/dist/styles/progress.d.ts +0 -2
  409. package/dist/utils/constants.cjs +0 -112
  410. package/dist/utils/constants.d.cts +0 -78
  411. package/dist/utils/constants.d.ts +0 -78
  412. package/dist/utils/constants.js +0 -7
@@ -1,2 +0,0 @@
1
- export { MentionItem, default as RichTextEditor, RichTextEditorProps } from './RichTextEditor.cjs';
2
- import 'react';
@@ -1,2 +0,0 @@
1
- export { MentionItem, default as RichTextEditor, RichTextEditorProps } from './RichTextEditor.js';
2
- import 'react';
@@ -1,8 +0,0 @@
1
- import "../chunk-GJGRMMAQ.js";
2
- import {
3
- RichTextEditor
4
- } from "../chunk-66HHM7VI.js";
5
- import "../chunk-LI4N7JWK.js";
6
- export {
7
- RichTextEditor
8
- };
@@ -1,60 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
-
29
- // lib/Progress/circularProgress.tsx
30
- var circularProgress_exports = {};
31
- __export(circularProgress_exports, {
32
- default: () => circularProgress_default
33
- });
34
- module.exports = __toCommonJS(circularProgress_exports);
35
- var React = __toESM(require("react"), 1);
36
- var CircularProgress = ({
37
- size = 50,
38
- color = "#a81c08",
39
- ...props
40
- }) => {
41
- return /* @__PURE__ */ React.createElement(
42
- "div",
43
- {
44
- className: "rufous-loader",
45
- style: { width: size, height: size },
46
- ...props
47
- },
48
- /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 100 100" }, /* @__PURE__ */ React.createElement(
49
- "circle",
50
- {
51
- className: "rufous-loader-circle",
52
- cx: "50",
53
- cy: "50",
54
- r: "45",
55
- stroke: color
56
- }
57
- ))
58
- );
59
- };
60
- var circularProgress_default = CircularProgress;
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface CircularProgressProps extends React.HTMLAttributes<HTMLDivElement> {
4
- size?: number;
5
- color?: string;
6
- }
7
- declare const CircularProgress: React.FC<CircularProgressProps>;
8
-
9
- export { type CircularProgressProps, CircularProgress as default };
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface CircularProgressProps extends React.HTMLAttributes<HTMLDivElement> {
4
- size?: number;
5
- color?: string;
6
- }
7
- declare const CircularProgress: React.FC<CircularProgressProps>;
8
-
9
- export { type CircularProgressProps, CircularProgress as default };
@@ -1,7 +0,0 @@
1
- import {
2
- circularProgress_default
3
- } from "../chunk-CTBYVXFP.js";
4
- import "../chunk-LI4N7JWK.js";
5
- export {
6
- circularProgress_default as default
7
- };
@@ -1,390 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
-
29
- // lib/TextFields/AddressLookup.tsx
30
- var AddressLookup_exports = {};
31
- __export(AddressLookup_exports, {
32
- default: () => AddressLookup_default
33
- });
34
- module.exports = __toCommonJS(AddressLookup_exports);
35
- var import_react3 = __toESM(require("react"), 1);
36
- var import_axios = __toESM(require("axios"), 1);
37
-
38
- // lib/Contexts/rufousThemeProvider.tsx
39
- var import_react = __toESM(require("react"), 1);
40
- var RufousThemeContext = (0, import_react.createContext)(null);
41
- var useRufousTheme = () => (0, import_react.useContext)(RufousThemeContext);
42
-
43
- // lib/TextFields/AddressLookup.tsx
44
- var import_country_state_city = require("country-state-city");
45
-
46
- // lib/TextFields/FloatingInput.tsx
47
- var import_react2 = __toESM(require("react"), 1);
48
- var FloatingInput = ({
49
- label,
50
- name,
51
- id,
52
- type = "text",
53
- value,
54
- onChange,
55
- required = false,
56
- placeholder,
57
- className = "",
58
- style,
59
- ...props
60
- }) => {
61
- return /* @__PURE__ */ import_react2.default.createElement("div", { className: `form__group field ${className}`, style }, /* @__PURE__ */ import_react2.default.createElement(
62
- "input",
63
- {
64
- type,
65
- className: "form__field",
66
- placeholder: " ",
67
- name,
68
- id: id || name,
69
- value,
70
- onChange,
71
- required,
72
- ...props
73
- }
74
- ), /* @__PURE__ */ import_react2.default.createElement("label", { htmlFor: id || name, className: "form__label" }, label));
75
- };
76
-
77
- // lib/Progress/circularProgress.tsx
78
- var React3 = __toESM(require("react"), 1);
79
- var CircularProgress = ({
80
- size = 50,
81
- color = "#a81c08",
82
- ...props
83
- }) => {
84
- return /* @__PURE__ */ React3.createElement(
85
- "div",
86
- {
87
- className: "rufous-loader",
88
- style: { width: size, height: size },
89
- ...props
90
- },
91
- /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 100 100" }, /* @__PURE__ */ React3.createElement(
92
- "circle",
93
- {
94
- className: "rufous-loader-circle",
95
- cx: "50",
96
- cy: "50",
97
- r: "45",
98
- stroke: color
99
- }
100
- ))
101
- );
102
- };
103
- var circularProgress_default = CircularProgress;
104
-
105
- // lib/TextFields/AddressLookup.tsx
106
- var AddressLookup = ({
107
- value = {},
108
- onChange = () => {
109
- },
110
- label = "Address",
111
- error = {},
112
- size = "medium",
113
- sx = {},
114
- layout = "stack",
115
- required = false,
116
- token = ""
117
- }) => {
118
- const { theme } = useRufousTheme();
119
- const [suggestions, setSuggestions] = (0, import_react3.useState)([]);
120
- const [loading, setLoading] = (0, import_react3.useState)(false);
121
- const [showSuggestions, setShowSuggestions] = (0, import_react3.useState)(false);
122
- const [googleFields, setGoogleFields] = (0, import_react3.useState)({
123
- country: false,
124
- state: false,
125
- city: false,
126
- pincode: false
127
- });
128
- const debounceTimeout = (0, import_react3.useRef)(null);
129
- const containerRef = (0, import_react3.useRef)(null);
130
- const apiKey = token || "";
131
- const countries = import_country_state_city.Country.getAllCountries();
132
- const [states, setStates] = (0, import_react3.useState)([]);
133
- const [cities, setCities] = (0, import_react3.useState)([]);
134
- (0, import_react3.useEffect)(() => {
135
- const handleClickOutside = (event) => {
136
- if (containerRef.current && !containerRef.current.contains(event.target)) {
137
- setShowSuggestions(false);
138
- }
139
- };
140
- document.addEventListener("mousedown", handleClickOutside);
141
- return () => document.removeEventListener("mousedown", handleClickOutside);
142
- }, []);
143
- (0, import_react3.useEffect)(() => {
144
- if (value.country || value.state || value.city || value.pincode) {
145
- setGoogleFields({
146
- country: !!value.country,
147
- state: !!value.state,
148
- city: !!value.city,
149
- pincode: !!value.pincode
150
- });
151
- }
152
- }, []);
153
- (0, import_react3.useEffect)(() => {
154
- if (value.country) {
155
- const country = countries.find((c) => c.name === value.country);
156
- if (country) {
157
- const stateList = import_country_state_city.State.getStatesOfCountry(country.isoCode);
158
- setStates(stateList);
159
- } else {
160
- setStates([]);
161
- }
162
- } else {
163
- setStates([]);
164
- }
165
- }, [value.country]);
166
- (0, import_react3.useEffect)(() => {
167
- if (value.state && value.country) {
168
- const country = countries.find((c) => c.name === value.country);
169
- if (country) {
170
- const state = import_country_state_city.State.getStatesOfCountry(country.isoCode).find((s) => s.name === value.state);
171
- if (state) {
172
- const cityList = import_country_state_city.City.getCitiesOfState(country.isoCode, state.isoCode);
173
- setCities(cityList);
174
- } else {
175
- setCities([]);
176
- }
177
- } else {
178
- setCities([]);
179
- }
180
- } else {
181
- setCities([]);
182
- }
183
- }, [value.state, value.country]);
184
- const handleChange = (field, newVal) => {
185
- onChange({
186
- ...value,
187
- [field]: newVal
188
- });
189
- };
190
- const fetchPlaceDetails = async (placeId, mainText = "") => {
191
- if (!apiKey) {
192
- console.warn("Google Places API Key (token) is missing.");
193
- return;
194
- }
195
- setLoading(true);
196
- try {
197
- const res = await import_axios.default.get(
198
- `https://places.googleapis.com/v1/places/${placeId}`,
199
- {
200
- headers: {
201
- "Content-Type": "application/json",
202
- "X-Goog-Api-Key": apiKey,
203
- "X-Goog-FieldMask": "addressComponents,formattedAddress"
204
- }
205
- }
206
- );
207
- const comps = res.data.addressComponents || [];
208
- const findComp = (type) => comps.find((c) => c.types.includes(type))?.longText || "";
209
- const city = findComp("locality") || findComp("sublocality_level_1");
210
- const state = findComp("administrative_area_level_1");
211
- const country = findComp("country");
212
- const pincode = findComp("postal_code");
213
- setGoogleFields({
214
- country: !!country,
215
- state: !!state,
216
- city: !!city,
217
- pincode: !!pincode
218
- });
219
- const updatedData = {
220
- ...value,
221
- addressLine1: mainText || value.addressLine1,
222
- addressLine2: res.data.formattedAddress || value.addressLine2,
223
- city,
224
- state,
225
- country,
226
- pincode
227
- };
228
- onChange(updatedData);
229
- setShowSuggestions(false);
230
- } catch (err) {
231
- console.error("Error fetching place details:", err);
232
- } finally {
233
- setLoading(false);
234
- }
235
- };
236
- const handleQuerySuggestions = async (query) => {
237
- if (!apiKey || !query || query.length < 3) {
238
- setSuggestions([]);
239
- setShowSuggestions(false);
240
- return;
241
- }
242
- setLoading(true);
243
- try {
244
- const res = await import_axios.default.post(
245
- `https://places.googleapis.com/v1/places:autocomplete`,
246
- { input: query },
247
- {
248
- headers: {
249
- "Content-Type": "application/json",
250
- "X-Goog-Api-Key": apiKey
251
- }
252
- }
253
- );
254
- setSuggestions(res.data.suggestions || []);
255
- setShowSuggestions(true);
256
- } catch (err) {
257
- console.error("Autocomplete Error:", err);
258
- } finally {
259
- setLoading(false);
260
- }
261
- };
262
- const handleCountryChange = (newCountry) => {
263
- onChange({
264
- ...value,
265
- country: newCountry,
266
- state: "",
267
- city: ""
268
- });
269
- setGoogleFields({ ...googleFields, country: false, state: false, city: false });
270
- };
271
- const handleStateChange = (newState) => {
272
- onChange({
273
- ...value,
274
- state: newState,
275
- city: ""
276
- });
277
- };
278
- return /* @__PURE__ */ import_react3.default.createElement("div", { className: "address-lookup-container", style: sx, ref: containerRef }, /* @__PURE__ */ import_react3.default.createElement("div", { className: `address-lookup-grid address-lookup-grid-${layout}` }, /* @__PURE__ */ import_react3.default.createElement("div", { className: "address-lookup-grid-item col-l1" }, /* @__PURE__ */ import_react3.default.createElement(
279
- FloatingInput,
280
- {
281
- label,
282
- name: "addressLine1",
283
- value: value.addressLine1 || "",
284
- required,
285
- autoComplete: "off",
286
- onChange: (e) => {
287
- const val = e.target.value;
288
- handleChange("addressLine1", val);
289
- if (!val) {
290
- onChange({
291
- ...value,
292
- addressLine1: "",
293
- city: "",
294
- state: "",
295
- country: "",
296
- pincode: ""
297
- });
298
- setSuggestions([]);
299
- setShowSuggestions(false);
300
- setGoogleFields({ country: false, state: false, city: false, pincode: false });
301
- } else {
302
- if (debounceTimeout.current) clearTimeout(debounceTimeout.current);
303
- debounceTimeout.current = setTimeout(() => {
304
- handleQuerySuggestions(val);
305
- }, 500);
306
- }
307
- },
308
- onFocus: () => suggestions.length > 0 && setShowSuggestions(true)
309
- }
310
- ), loading && /* @__PURE__ */ import_react3.default.createElement("div", { className: "loading-indicator" }, /* @__PURE__ */ import_react3.default.createElement(circularProgress_default, { size: 20 })), showSuggestions && suggestions.length > 0 && /* @__PURE__ */ import_react3.default.createElement("div", { className: "autocomplete-dropdown" }, suggestions.map((option, idx) => /* @__PURE__ */ import_react3.default.createElement(
311
- "div",
312
- {
313
- key: idx,
314
- className: "autocomplete-option",
315
- onClick: () => {
316
- const mainText = option?.placePrediction?.structuredFormat?.mainText?.text || "";
317
- handleChange("addressLine1", mainText);
318
- fetchPlaceDetails(option.placePrediction.placeId, mainText);
319
- }
320
- },
321
- /* @__PURE__ */ import_react3.default.createElement("div", { className: "autocomplete-main-text" }, option?.placePrediction?.structuredFormat?.mainText?.text),
322
- /* @__PURE__ */ import_react3.default.createElement("div", { className: "autocomplete-secondary-text" }, option?.placePrediction?.structuredFormat?.secondaryText?.text)
323
- ))), error.addressLine1 && /* @__PURE__ */ import_react3.default.createElement("div", { className: "field-error-text" }, error.addressLine1)), layout === "compact" && /* @__PURE__ */ import_react3.default.createElement("div", { className: "address-lookup-grid-item col-l2" }, /* @__PURE__ */ import_react3.default.createElement(
324
- FloatingInput,
325
- {
326
- label: "Address Line 2",
327
- name: "addressLine2",
328
- value: value.addressLine2 || "",
329
- onChange: (e) => handleChange("addressLine2", e.target.value)
330
- }
331
- )), layout !== "compact" && /* @__PURE__ */ import_react3.default.createElement("div", { className: "address-lookup-grid-item col-l2" }, /* @__PURE__ */ import_react3.default.createElement(
332
- FloatingInput,
333
- {
334
- label: "Address Line 2",
335
- name: "addressLine2",
336
- value: value.addressLine2 || "",
337
- onChange: (e) => handleChange("addressLine2", e.target.value)
338
- }
339
- )), /* @__PURE__ */ import_react3.default.createElement("div", { className: "address-lookup-grid-item col-country" }, /* @__PURE__ */ import_react3.default.createElement(
340
- FloatingInput,
341
- {
342
- label: "Country",
343
- name: "country",
344
- value: value.country || "",
345
- required,
346
- className: googleFields.country && value.country ? "field-disabled" : "",
347
- readOnly: googleFields.country && !!value.country,
348
- onChange: (e) => handleCountryChange(e.target.value),
349
- list: "countries-list"
350
- }
351
- ), /* @__PURE__ */ import_react3.default.createElement("datalist", { id: "countries-list" }, countries.map((c) => /* @__PURE__ */ import_react3.default.createElement("option", { key: c.isoCode, value: c.name }))), error.country && /* @__PURE__ */ import_react3.default.createElement("div", { className: "field-error-text" }, error.country)), /* @__PURE__ */ import_react3.default.createElement("div", { className: "address-lookup-grid-item col-state" }, /* @__PURE__ */ import_react3.default.createElement(
352
- FloatingInput,
353
- {
354
- label: "State",
355
- name: "state",
356
- value: value.state || "",
357
- required,
358
- disabled: !value.country,
359
- className: googleFields.state && value.state ? "field-disabled" : "",
360
- readOnly: googleFields.state && !!value.state,
361
- onChange: (e) => handleStateChange(e.target.value),
362
- list: "states-list"
363
- }
364
- ), /* @__PURE__ */ import_react3.default.createElement("datalist", { id: "states-list" }, states.map((s) => /* @__PURE__ */ import_react3.default.createElement("option", { key: s.isoCode, value: s.name }))), error.state && /* @__PURE__ */ import_react3.default.createElement("div", { className: "field-error-text" }, error.state)), /* @__PURE__ */ import_react3.default.createElement("div", { className: "address-lookup-grid-item col-city" }, /* @__PURE__ */ import_react3.default.createElement(
365
- FloatingInput,
366
- {
367
- label: "City",
368
- name: "city",
369
- value: value.city || "",
370
- required,
371
- disabled: !value.state,
372
- className: googleFields.city && value.city ? "field-disabled" : "",
373
- readOnly: googleFields.city && !!value.city,
374
- onChange: (e) => handleChange("city", e.target.value),
375
- list: "cities-list"
376
- }
377
- ), /* @__PURE__ */ import_react3.default.createElement("datalist", { id: "cities-list" }, cities.map((c, i) => /* @__PURE__ */ import_react3.default.createElement("option", { key: i, value: c.name }))), error.city && /* @__PURE__ */ import_react3.default.createElement("div", { className: "field-error-text" }, error.city)), /* @__PURE__ */ import_react3.default.createElement("div", { className: "address-lookup-grid-item col-pin" }, /* @__PURE__ */ import_react3.default.createElement(
378
- FloatingInput,
379
- {
380
- label: "Pincode",
381
- name: "pincode",
382
- value: value.pincode || "",
383
- required,
384
- className: googleFields.pincode && value.pincode ? "field-disabled" : "",
385
- readOnly: googleFields.pincode && !!value.pincode,
386
- onChange: (e) => handleChange("pincode", e.target.value)
387
- }
388
- ), error.pincode && /* @__PURE__ */ import_react3.default.createElement("div", { className: "field-error-text" }, error.pincode))));
389
- };
390
- var AddressLookup_default = AddressLookup;
@@ -1,49 +0,0 @@
1
- import React__default, { CSSProperties } from 'react';
2
-
3
- interface AddressValue {
4
- addressLine1?: string;
5
- addressLine2?: string;
6
- city?: string;
7
- state?: string;
8
- country?: string;
9
- pincode?: string;
10
- }
11
- interface AddressError {
12
- addressLine1?: string;
13
- addressLine2?: string;
14
- city?: string;
15
- state?: string;
16
- country?: string;
17
- pincode?: string;
18
- }
19
- interface AddressLookupProps {
20
- /** Current address value object */
21
- value?: AddressValue;
22
- /** Callback fired when any address field changes */
23
- onChange?: (value: AddressValue) => void;
24
- /** Label for the primary address search field */
25
- label?: string;
26
- /** Validation error messages per field */
27
- error?: AddressError;
28
- /** Size variant */
29
- size?: "small" | "medium" | "large";
30
- /** Inline style overrides for the container */
31
- sx?: CSSProperties;
32
- /** Layout mode: "stack" | "compact" | "grid" */
33
- layout?: "stack" | "compact" | "grid";
34
- /** Whether address fields are required */
35
- required?: boolean;
36
- /** Google Places API Key */
37
- token?: string;
38
- }
39
- /**
40
- * AddressLookup Component (MUI-Free Version)
41
- * @param value - { addressLine1, addressLine2, city, state, country, pincode }
42
- * @param onChange - Returns the full updated object
43
- * @param layout - "stack" | "compact" | "grid"
44
- * @param sx - Style overrides for the container
45
- * @param token - Google Places API Key
46
- */
47
- declare const AddressLookup: ({ value, onChange, label, error, size, sx, layout, required, token, }: AddressLookupProps) => React__default.JSX.Element;
48
-
49
- export { type AddressError, type AddressLookupProps, type AddressValue, AddressLookup as default };
@@ -1,49 +0,0 @@
1
- import React__default, { CSSProperties } from 'react';
2
-
3
- interface AddressValue {
4
- addressLine1?: string;
5
- addressLine2?: string;
6
- city?: string;
7
- state?: string;
8
- country?: string;
9
- pincode?: string;
10
- }
11
- interface AddressError {
12
- addressLine1?: string;
13
- addressLine2?: string;
14
- city?: string;
15
- state?: string;
16
- country?: string;
17
- pincode?: string;
18
- }
19
- interface AddressLookupProps {
20
- /** Current address value object */
21
- value?: AddressValue;
22
- /** Callback fired when any address field changes */
23
- onChange?: (value: AddressValue) => void;
24
- /** Label for the primary address search field */
25
- label?: string;
26
- /** Validation error messages per field */
27
- error?: AddressError;
28
- /** Size variant */
29
- size?: "small" | "medium" | "large";
30
- /** Inline style overrides for the container */
31
- sx?: CSSProperties;
32
- /** Layout mode: "stack" | "compact" | "grid" */
33
- layout?: "stack" | "compact" | "grid";
34
- /** Whether address fields are required */
35
- required?: boolean;
36
- /** Google Places API Key */
37
- token?: string;
38
- }
39
- /**
40
- * AddressLookup Component (MUI-Free Version)
41
- * @param value - { addressLine1, addressLine2, city, state, country, pincode }
42
- * @param onChange - Returns the full updated object
43
- * @param layout - "stack" | "compact" | "grid"
44
- * @param sx - Style overrides for the container
45
- * @param token - Google Places API Key
46
- */
47
- declare const AddressLookup: ({ value, onChange, label, error, size, sx, layout, required, token, }: AddressLookupProps) => React__default.JSX.Element;
48
-
49
- export { type AddressError, type AddressLookupProps, type AddressValue, AddressLookup as default };
@@ -1,11 +0,0 @@
1
- import {
2
- AddressLookup_default
3
- } from "../chunk-5QEWUCKT.js";
4
- import "../chunk-UPCMMCPQ.js";
5
- import "../chunk-HMG3FW2Q.js";
6
- import "../chunk-YXPBXCY5.js";
7
- import "../chunk-CTBYVXFP.js";
8
- import "../chunk-LI4N7JWK.js";
9
- export {
10
- AddressLookup_default as default
11
- };
@@ -1,67 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
-
29
- // lib/TextFields/FloatingInput.tsx
30
- var FloatingInput_exports = {};
31
- __export(FloatingInput_exports, {
32
- FloatingInput: () => FloatingInput
33
- });
34
- module.exports = __toCommonJS(FloatingInput_exports);
35
- var import_react = __toESM(require("react"), 1);
36
- var FloatingInput = ({
37
- label,
38
- name,
39
- id,
40
- type = "text",
41
- value,
42
- onChange,
43
- required = false,
44
- placeholder,
45
- className = "",
46
- style,
47
- ...props
48
- }) => {
49
- return /* @__PURE__ */ import_react.default.createElement("div", { className: `form__group field ${className}`, style }, /* @__PURE__ */ import_react.default.createElement(
50
- "input",
51
- {
52
- type,
53
- className: "form__field",
54
- placeholder: " ",
55
- name,
56
- id: id || name,
57
- value,
58
- onChange,
59
- required,
60
- ...props
61
- }
62
- ), /* @__PURE__ */ import_react.default.createElement("label", { htmlFor: id || name, className: "form__label" }, label));
63
- };
64
- // Annotate the CommonJS export names for ESM import in node:
65
- 0 && (module.exports = {
66
- FloatingInput
67
- });