ekm-ui 0.3.78 → 0.3.83

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 (381) hide show
  1. package/.turbo/turbo-build.log +269 -282
  2. package/CHANGELOG.md +13 -0
  3. package/dist/{accordion.mjs → accordion.js} +4 -4
  4. package/dist/alert-banner.d.ts +8 -7
  5. package/dist/alert-banner.js +5 -0
  6. package/dist/alert.js +4 -0
  7. package/dist/avatar.d.ts +16 -8
  8. package/dist/avatar.js +6 -0
  9. package/dist/badge.js +6 -0
  10. package/dist/breadcrumb.js +5 -0
  11. package/dist/button-group-item.js +4 -0
  12. package/dist/button.js +6 -0
  13. package/dist/card-payment-block.css +1 -1
  14. package/dist/card-payment-block.css.map +1 -1
  15. package/dist/card-payment-block.js +60 -0
  16. package/dist/card.js +5 -0
  17. package/dist/checkbox.js +6 -0
  18. package/dist/chunk-2OPJLYW6.js +10 -0
  19. package/dist/chunk-2OPJLYW6.js.map +1 -0
  20. package/dist/chunk-4E6CDLVE.js +11 -0
  21. package/dist/{chunk-RGCO6BCU.mjs.map → chunk-4E6CDLVE.js.map} +1 -1
  22. package/dist/{chunk-Z5YZVKS5.mjs → chunk-4EVAA6B6.js} +2 -2
  23. package/dist/{chunk-Z5YZVKS5.mjs.map → chunk-4EVAA6B6.js.map} +1 -1
  24. package/dist/{chunk-UPAA75QA.mjs → chunk-4RKNVFVG.js} +3 -3
  25. package/dist/{chunk-UPAA75QA.mjs.map → chunk-4RKNVFVG.js.map} +1 -1
  26. package/dist/chunk-52VBZOHL.js +11 -0
  27. package/dist/{chunk-2OTVEVU7.mjs.map → chunk-52VBZOHL.js.map} +1 -1
  28. package/dist/{chunk-PUJZGK7Y.mjs → chunk-6LHL364H.js} +2 -2
  29. package/dist/{chunk-PUJZGK7Y.mjs.map → chunk-6LHL364H.js.map} +1 -1
  30. package/dist/{chunk-ATNP3Z6G.mjs → chunk-7WJGATIR.js} +2 -2
  31. package/dist/{chunk-ATNP3Z6G.mjs.map → chunk-7WJGATIR.js.map} +1 -1
  32. package/dist/{chunk-CIUW5YZ7.mjs → chunk-7Z2AKRKU.js} +2 -2
  33. package/dist/{chunk-CIUW5YZ7.mjs.map → chunk-7Z2AKRKU.js.map} +1 -1
  34. package/dist/chunk-BLUJNMXF.js +11 -0
  35. package/dist/{chunk-QHJF4QWW.mjs.map → chunk-BLUJNMXF.js.map} +1 -1
  36. package/dist/{chunk-6K6D4X6D.mjs → chunk-CNJDESTL.js} +1 -1
  37. package/dist/chunk-DSJ5TRZW.js +10 -0
  38. package/dist/chunk-DSJ5TRZW.js.map +1 -0
  39. package/dist/chunk-E5KIDP3Z.js +9 -0
  40. package/dist/{chunk-OG6UBKMG.mjs.map → chunk-E5KIDP3Z.js.map} +1 -1
  41. package/dist/{chunk-FVUORQJX.mjs → chunk-E62SCYLR.js} +1 -1
  42. package/dist/chunk-EEMQBWYJ.js +11 -0
  43. package/dist/{chunk-3AGRJPPN.mjs.map → chunk-EEMQBWYJ.js.map} +1 -1
  44. package/dist/chunk-ELWZ674J.js +11 -0
  45. package/dist/chunk-ELWZ674J.js.map +1 -0
  46. package/dist/chunk-F5B2GEIL.js +12 -0
  47. package/dist/chunk-F5B2GEIL.js.map +1 -0
  48. package/dist/{chunk-2PW7KHXJ.mjs → chunk-FPELMAZN.js} +2 -2
  49. package/dist/{chunk-2PW7KHXJ.mjs.map → chunk-FPELMAZN.js.map} +1 -1
  50. package/dist/{chunk-PJZVMYPN.mjs → chunk-G2WGEIWK.js} +1 -1
  51. package/dist/{chunk-S3J72WZM.mjs → chunk-GI7QHCYX.js} +1 -1
  52. package/dist/{chunk-JPF3K5TD.mjs → chunk-H25Q2T5N.js} +1 -1
  53. package/dist/chunk-HTXOCBXA.js +11 -0
  54. package/dist/chunk-HTXOCBXA.js.map +1 -0
  55. package/dist/{chunk-EHJJX6ZZ.mjs → chunk-HVNLAQA6.js} +3 -3
  56. package/dist/{chunk-EHJJX6ZZ.mjs.map → chunk-HVNLAQA6.js.map} +1 -1
  57. package/dist/chunk-ISA6E23B.js +11 -0
  58. package/dist/chunk-ISA6E23B.js.map +1 -0
  59. package/dist/{chunk-DBTYTFGU.mjs → chunk-IY6WVOAI.js} +2 -2
  60. package/dist/{chunk-DBTYTFGU.mjs.map → chunk-IY6WVOAI.js.map} +1 -1
  61. package/dist/{chunk-QMFUWXJJ.mjs → chunk-JHGOFDVG.js} +1 -1
  62. package/dist/{chunk-AYH56CFA.mjs → chunk-LIXVY47P.js} +1 -1
  63. package/dist/{chunk-MPIWXVKP.mjs → chunk-LJMVG4UJ.js} +1 -1
  64. package/dist/{chunk-K2G6O2LX.mjs → chunk-M4UBHZDH.js} +3 -3
  65. package/dist/{chunk-K2G6O2LX.mjs.map → chunk-M4UBHZDH.js.map} +1 -1
  66. package/dist/chunk-MD4AM55R.js +16 -0
  67. package/dist/{chunk-X2JENUDV.mjs.map → chunk-MD4AM55R.js.map} +1 -1
  68. package/dist/chunk-N7JQ6EAC.js +10 -0
  69. package/dist/{chunk-YJINOUZ7.mjs.map → chunk-N7JQ6EAC.js.map} +1 -1
  70. package/dist/{chunk-D3VRYN5H.mjs → chunk-O7YHGDMR.js} +6 -6
  71. package/dist/{chunk-D3VRYN5H.mjs.map → chunk-O7YHGDMR.js.map} +1 -1
  72. package/dist/{chunk-ECOC3JRK.mjs → chunk-P4BV63ZR.js} +1 -1
  73. package/dist/chunk-P5IM3T4M.js +11 -0
  74. package/dist/{chunk-EH3ZVEVT.mjs.map → chunk-P5IM3T4M.js.map} +1 -1
  75. package/dist/chunk-PZIZGHZJ.js +34 -0
  76. package/dist/{chunk-PEODF7PL.mjs.map → chunk-PZIZGHZJ.js.map} +1 -1
  77. package/dist/chunk-Q3HXAUZP.js +11 -0
  78. package/dist/chunk-Q3HXAUZP.js.map +1 -0
  79. package/dist/chunk-QCHLLBHM.js +11 -0
  80. package/dist/{chunk-HOCKBMTF.mjs.map → chunk-QCHLLBHM.js.map} +1 -1
  81. package/dist/{chunk-3TAXDPV6.mjs → chunk-QKHEEDZ4.js} +1 -1
  82. package/dist/chunk-QMOPWIA3.js +12 -0
  83. package/dist/{chunk-R4A5DO7E.mjs.map → chunk-QMOPWIA3.js.map} +1 -1
  84. package/dist/{chunk-6UK5Y6KZ.mjs → chunk-QP53HWTU.js} +2 -2
  85. package/dist/{chunk-6UK5Y6KZ.mjs.map → chunk-QP53HWTU.js.map} +1 -1
  86. package/dist/{chunk-LVJYP46A.mjs → chunk-RHBXFO7R.js} +1 -1
  87. package/dist/chunk-RS2EPFQY.js +8 -0
  88. package/dist/chunk-RS2EPFQY.js.map +1 -0
  89. package/dist/{chunk-P7TACBB4.mjs → chunk-RTRHNOTP.js} +1 -1
  90. package/dist/{chunk-ZT7KDTGF.mjs → chunk-SLIZ4TDR.js} +1 -1
  91. package/dist/chunk-TBJGGVSZ.js +10 -0
  92. package/dist/{chunk-QFECX4D6.mjs.map → chunk-TBJGGVSZ.js.map} +1 -1
  93. package/dist/{chunk-GBY2NNWZ.mjs → chunk-TJMI4DH2.js} +2 -2
  94. package/dist/{chunk-GBY2NNWZ.mjs.map → chunk-TJMI4DH2.js.map} +1 -1
  95. package/dist/{chunk-76V2THLN.mjs → chunk-TKQKGJ3X.js} +1 -1
  96. package/dist/chunk-TKQKGJ3X.js.map +1 -0
  97. package/dist/chunk-TMO76FWT.js +10 -0
  98. package/dist/{chunk-XBWUYKZW.mjs.map → chunk-TMO76FWT.js.map} +1 -1
  99. package/dist/{chunk-SAXGEQRG.mjs → chunk-TOLCGTOY.js} +1 -1
  100. package/dist/chunk-TRVGXTCI.js +10 -0
  101. package/dist/{chunk-E6KQBM7F.mjs.map → chunk-TRVGXTCI.js.map} +1 -1
  102. package/dist/{chunk-ZO5NWKNY.mjs → chunk-TXDBBVCI.js} +2 -2
  103. package/dist/{chunk-ZO5NWKNY.mjs.map → chunk-TXDBBVCI.js.map} +1 -1
  104. package/dist/chunk-U6EF2JHT.js +11 -0
  105. package/dist/{chunk-NJC2WLYK.mjs.map → chunk-U6EF2JHT.js.map} +1 -1
  106. package/dist/chunk-VGGEDWFD.js +11 -0
  107. package/dist/{chunk-CZC4EJOD.mjs.map → chunk-VGGEDWFD.js.map} +1 -1
  108. package/dist/{chunk-PT4DPY4L.mjs → chunk-WSRPB5OU.js} +3 -3
  109. package/dist/{chunk-PT4DPY4L.mjs.map → chunk-WSRPB5OU.js.map} +1 -1
  110. package/dist/{chunk-PJMH47GY.mjs → chunk-WTBH4TDX.js} +1 -1
  111. package/dist/chunk-WVAVR5V6.js +8 -0
  112. package/dist/chunk-WVAVR5V6.js.map +1 -0
  113. package/dist/{chunk-W3XYS7M3.mjs → chunk-XXP5K6Y4.js} +2 -2
  114. package/dist/chunk-XXP5K6Y4.js.map +1 -0
  115. package/dist/{chunk-7GLTVVKS.mjs → chunk-YDCYBJPC.js} +4 -4
  116. package/dist/{chunk-7GLTVVKS.mjs.map → chunk-YDCYBJPC.js.map} +1 -1
  117. package/dist/{chunk-23SJGKDR.mjs → chunk-Z4LPO673.js} +1 -1
  118. package/dist/color-picker.d.ts +12 -6
  119. package/dist/color-picker.js +5 -0
  120. package/dist/dashboard-notification.js +6 -0
  121. package/dist/date-range-picker.js +10 -0
  122. package/dist/drag-and-drop.css +1 -1
  123. package/dist/drag-and-drop.css.map +1 -1
  124. package/dist/drag-and-drop.js +60 -0
  125. package/dist/draggable-stacked-list-item.js +6 -0
  126. package/dist/drawer.js +4 -0
  127. package/dist/dropdown.js +5 -0
  128. package/dist/ekm-logo.js +4 -0
  129. package/dist/feature-cards/feature-card.js +7 -0
  130. package/dist/feature-cards/staff-pick-card.js +4 -0
  131. package/dist/featurePageComponents/feature-page-group.js +4 -0
  132. package/dist/featurePageComponents/{mini-feature-block.mjs → mini-feature-block.js} +2 -2
  133. package/dist/featurePageComponents/{mini-feature-block.mjs.map → mini-feature-block.js.map} +1 -1
  134. package/dist/file-picker/file-listing.js +6 -0
  135. package/dist/file-picker/file-picker.css +1 -1
  136. package/dist/file-picker/file-picker.css.map +1 -1
  137. package/dist/file-picker/file-picker.js +60 -0
  138. package/dist/fixed-alert.js +7 -0
  139. package/dist/footer-heart-icon.js +4 -0
  140. package/dist/form-row.js +6 -0
  141. package/dist/image-thumbnail.js +4 -0
  142. package/dist/index.css +1 -1
  143. package/dist/index.css.map +1 -1
  144. package/dist/index.d.ts +1 -3
  145. package/dist/index.js +60 -0
  146. package/dist/input-addon.js +4 -0
  147. package/dist/input-copy.js +6 -0
  148. package/dist/label.js +5 -0
  149. package/dist/layout/layout.css +1 -1
  150. package/dist/layout/layout.css.map +1 -1
  151. package/dist/layout/layout.js +60 -0
  152. package/dist/loading-button.js +5 -0
  153. package/dist/love-footer.js +5 -0
  154. package/dist/mini-feature-block.js +7 -0
  155. package/dist/modal.js +5 -0
  156. package/dist/navbar/navbar.js +5 -0
  157. package/dist/no-results-block.d.ts +1 -1
  158. package/dist/no-results-block.js +4 -0
  159. package/dist/page-header.d.ts +2 -1
  160. package/dist/page-header.js +6 -0
  161. package/dist/pagination/pagination.js +4 -0
  162. package/dist/product-picker/product-drawer.css +1 -1
  163. package/dist/product-picker/product-drawer.css.map +1 -1
  164. package/dist/product-picker/product-drawer.js +60 -0
  165. package/dist/product-picker/product-listing.js +7 -0
  166. package/dist/progress-bar.js +5 -0
  167. package/dist/radio.js +5 -0
  168. package/dist/search/search.js +5 -0
  169. package/dist/select.js +5 -0
  170. package/dist/sidebar/sidebar.js +4 -0
  171. package/dist/sort/sort.js +5 -0
  172. package/dist/spinner.js +4 -0
  173. package/dist/stacked-list-item.css +1 -1
  174. package/dist/stacked-list-item.css.map +1 -1
  175. package/dist/stacked-list-item.js +60 -0
  176. package/dist/table-header/table-header.js +8 -0
  177. package/dist/table-result-block.css +1 -1
  178. package/dist/table-result-block.css.map +1 -1
  179. package/dist/table-result-block.js +60 -0
  180. package/dist/test-component.d.ts +5 -0
  181. package/dist/test-component.js +4 -0
  182. package/dist/text-row.js +4 -0
  183. package/dist/textarea.js +5 -0
  184. package/dist/textinput.js +5 -0
  185. package/dist/toast/{index.mjs → index.js} +3 -3
  186. package/dist/toggleswitch.js +5 -0
  187. package/dist/tooltip/tooltip.js +4 -0
  188. package/dist/video-dashboard-notification.js +4 -0
  189. package/dist/video-modal.js +4 -0
  190. package/package.json +16 -35
  191. package/src/alert-banner.tsx +21 -10
  192. package/src/avatar.tsx +16 -8
  193. package/src/color-picker.tsx +20 -13
  194. package/src/index.tsx +1 -1
  195. package/src/navbar/navbar.tsx +1 -0
  196. package/src/no-results-block.tsx +2 -7
  197. package/src/page-header.tsx +6 -3
  198. package/src/product-picker/product-listing.tsx +1 -2
  199. package/src/select.tsx +2 -2
  200. package/src/sidebar/sidebar.tsx +1 -0
  201. package/src/test-component.tsx +13 -0
  202. package/src/textinput.tsx +3 -0
  203. package/src/toast/index.tsx +2 -2
  204. package/dist/alert-banner.mjs +0 -5
  205. package/dist/alert.mjs +0 -4
  206. package/dist/avatar.mjs +0 -6
  207. package/dist/badge.mjs +0 -6
  208. package/dist/breadcrumb.mjs +0 -5
  209. package/dist/button-group-item.mjs +0 -4
  210. package/dist/button.mjs +0 -6
  211. package/dist/card-payment-block.mjs +0 -60
  212. package/dist/card.mjs +0 -5
  213. package/dist/checkbox.mjs +0 -6
  214. package/dist/chunk-2OTVEVU7.mjs +0 -11
  215. package/dist/chunk-35VEFUPA.mjs +0 -12
  216. package/dist/chunk-35VEFUPA.mjs.map +0 -1
  217. package/dist/chunk-3AGRJPPN.mjs +0 -11
  218. package/dist/chunk-6F3XKP3G.mjs +0 -11
  219. package/dist/chunk-6F3XKP3G.mjs.map +0 -1
  220. package/dist/chunk-76V2THLN.mjs.map +0 -1
  221. package/dist/chunk-7MH2LXFV.mjs +0 -11
  222. package/dist/chunk-7MH2LXFV.mjs.map +0 -1
  223. package/dist/chunk-BK5RX7N5.mjs +0 -8
  224. package/dist/chunk-BK5RX7N5.mjs.map +0 -1
  225. package/dist/chunk-CZC4EJOD.mjs +0 -11
  226. package/dist/chunk-E6KQBM7F.mjs +0 -10
  227. package/dist/chunk-EH3ZVEVT.mjs +0 -11
  228. package/dist/chunk-EX5FMSQL.mjs +0 -10
  229. package/dist/chunk-EX5FMSQL.mjs.map +0 -1
  230. package/dist/chunk-G5A3E5IG.mjs +0 -10
  231. package/dist/chunk-G5A3E5IG.mjs.map +0 -1
  232. package/dist/chunk-HOCKBMTF.mjs +0 -11
  233. package/dist/chunk-NJC2WLYK.mjs +0 -11
  234. package/dist/chunk-OG6UBKMG.mjs +0 -9
  235. package/dist/chunk-PEODF7PL.mjs +0 -34
  236. package/dist/chunk-PT4IH2KW.mjs +0 -11
  237. package/dist/chunk-PT4IH2KW.mjs.map +0 -1
  238. package/dist/chunk-QFECX4D6.mjs +0 -10
  239. package/dist/chunk-QHJF4QWW.mjs +0 -11
  240. package/dist/chunk-R4A5DO7E.mjs +0 -12
  241. package/dist/chunk-RGCO6BCU.mjs +0 -11
  242. package/dist/chunk-SFSA2WUE.mjs +0 -40
  243. package/dist/chunk-SFSA2WUE.mjs.map +0 -1
  244. package/dist/chunk-SM4TG5VI.mjs +0 -9
  245. package/dist/chunk-SM4TG5VI.mjs.map +0 -1
  246. package/dist/chunk-W3XYS7M3.mjs.map +0 -1
  247. package/dist/chunk-X2JENUDV.mjs +0 -16
  248. package/dist/chunk-XBWUYKZW.mjs +0 -10
  249. package/dist/chunk-YJINOUZ7.mjs +0 -10
  250. package/dist/color-picker.mjs +0 -4
  251. package/dist/dashboard-notification.mjs +0 -6
  252. package/dist/date-range-picker.mjs +0 -10
  253. package/dist/drag-and-drop.mjs +0 -60
  254. package/dist/draggable-stacked-list-item.mjs +0 -6
  255. package/dist/drawer.mjs +0 -4
  256. package/dist/dropdown.mjs +0 -5
  257. package/dist/ekm-logo.mjs +0 -4
  258. package/dist/feature-cards/feature-card.mjs +0 -7
  259. package/dist/feature-cards/staff-pick-card.mjs +0 -4
  260. package/dist/featurePageComponents/feature-page-group.mjs +0 -4
  261. package/dist/file-picker/file-listing.mjs +0 -6
  262. package/dist/file-picker/file-picker.mjs +0 -60
  263. package/dist/fixed-alert.mjs +0 -7
  264. package/dist/footer-heart-icon.mjs +0 -4
  265. package/dist/form-row.mjs +0 -6
  266. package/dist/image-thumbnail.mjs +0 -4
  267. package/dist/index.mjs +0 -60
  268. package/dist/input-addon.mjs +0 -4
  269. package/dist/input-copy.mjs +0 -6
  270. package/dist/label.mjs +0 -5
  271. package/dist/layout/layout.mjs +0 -60
  272. package/dist/loading-button.mjs +0 -5
  273. package/dist/love-footer.mjs +0 -5
  274. package/dist/mini-feature-block.mjs +0 -7
  275. package/dist/modal.mjs +0 -5
  276. package/dist/navbar/navbar.mjs +0 -5
  277. package/dist/no-results-block.mjs +0 -4
  278. package/dist/page-header.mjs +0 -6
  279. package/dist/pagination/pagination.mjs +0 -4
  280. package/dist/product-picker/product-drawer.mjs +0 -60
  281. package/dist/product-picker/product-listing.mjs +0 -7
  282. package/dist/progress-bar.mjs +0 -5
  283. package/dist/radio.mjs +0 -5
  284. package/dist/rich-text-editor/index.d.ts +0 -16
  285. package/dist/rich-text-editor/index.mjs +0 -4
  286. package/dist/search/search.mjs +0 -5
  287. package/dist/select.mjs +0 -5
  288. package/dist/sidebar/sidebar.mjs +0 -4
  289. package/dist/sort/sort.mjs +0 -5
  290. package/dist/spinner.mjs +0 -4
  291. package/dist/stacked-list-item.mjs +0 -60
  292. package/dist/table-header/table-header.mjs +0 -8
  293. package/dist/table-result-block.mjs +0 -60
  294. package/dist/text-row.mjs +0 -4
  295. package/dist/textarea.mjs +0 -5
  296. package/dist/textinput.mjs +0 -5
  297. package/dist/toggleswitch.mjs +0 -5
  298. package/dist/tooltip/tooltip.mjs +0 -4
  299. package/dist/video-dashboard-notification.mjs +0 -4
  300. package/dist/video-modal.mjs +0 -4
  301. package/src/rich-text-editor/headless-editor.ts +0 -96
  302. package/src/rich-text-editor/index.tsx +0 -215
  303. /package/dist/{accordion.mjs.map → accordion.js.map} +0 -0
  304. /package/dist/{alert-banner.mjs.map → alert-banner.js.map} +0 -0
  305. /package/dist/{alert.mjs.map → alert.js.map} +0 -0
  306. /package/dist/{avatar.mjs.map → avatar.js.map} +0 -0
  307. /package/dist/{badge.mjs.map → badge.js.map} +0 -0
  308. /package/dist/{breadcrumb.mjs.map → breadcrumb.js.map} +0 -0
  309. /package/dist/{button-group-item.mjs.map → button-group-item.js.map} +0 -0
  310. /package/dist/{button.mjs.map → button.js.map} +0 -0
  311. /package/dist/{card-payment-block.mjs.map → card-payment-block.js.map} +0 -0
  312. /package/dist/{card.mjs.map → card.js.map} +0 -0
  313. /package/dist/{checkbox.mjs.map → checkbox.js.map} +0 -0
  314. /package/dist/{chunk-6K6D4X6D.mjs.map → chunk-CNJDESTL.js.map} +0 -0
  315. /package/dist/{chunk-FVUORQJX.mjs.map → chunk-E62SCYLR.js.map} +0 -0
  316. /package/dist/{chunk-PJZVMYPN.mjs.map → chunk-G2WGEIWK.js.map} +0 -0
  317. /package/dist/{chunk-S3J72WZM.mjs.map → chunk-GI7QHCYX.js.map} +0 -0
  318. /package/dist/{chunk-JPF3K5TD.mjs.map → chunk-H25Q2T5N.js.map} +0 -0
  319. /package/dist/{chunk-QMFUWXJJ.mjs.map → chunk-JHGOFDVG.js.map} +0 -0
  320. /package/dist/{chunk-AYH56CFA.mjs.map → chunk-LIXVY47P.js.map} +0 -0
  321. /package/dist/{chunk-MPIWXVKP.mjs.map → chunk-LJMVG4UJ.js.map} +0 -0
  322. /package/dist/{chunk-ECOC3JRK.mjs.map → chunk-P4BV63ZR.js.map} +0 -0
  323. /package/dist/{chunk-3TAXDPV6.mjs.map → chunk-QKHEEDZ4.js.map} +0 -0
  324. /package/dist/{chunk-LVJYP46A.mjs.map → chunk-RHBXFO7R.js.map} +0 -0
  325. /package/dist/{chunk-P7TACBB4.mjs.map → chunk-RTRHNOTP.js.map} +0 -0
  326. /package/dist/{chunk-ZT7KDTGF.mjs.map → chunk-SLIZ4TDR.js.map} +0 -0
  327. /package/dist/{chunk-SAXGEQRG.mjs.map → chunk-TOLCGTOY.js.map} +0 -0
  328. /package/dist/{chunk-PJMH47GY.mjs.map → chunk-WTBH4TDX.js.map} +0 -0
  329. /package/dist/{chunk-23SJGKDR.mjs.map → chunk-Z4LPO673.js.map} +0 -0
  330. /package/dist/{color-picker.mjs.map → color-picker.js.map} +0 -0
  331. /package/dist/{dashboard-notification.mjs.map → dashboard-notification.js.map} +0 -0
  332. /package/dist/{date-range-picker.mjs.map → date-range-picker.js.map} +0 -0
  333. /package/dist/{drag-and-drop.mjs.map → drag-and-drop.js.map} +0 -0
  334. /package/dist/{draggable-stacked-list-item.mjs.map → draggable-stacked-list-item.js.map} +0 -0
  335. /package/dist/{drawer.mjs.map → drawer.js.map} +0 -0
  336. /package/dist/{dropdown.mjs.map → dropdown.js.map} +0 -0
  337. /package/dist/{ekm-logo.mjs.map → ekm-logo.js.map} +0 -0
  338. /package/dist/feature-cards/{feature-card.mjs.map → feature-card.js.map} +0 -0
  339. /package/dist/feature-cards/{staff-pick-card.mjs.map → staff-pick-card.js.map} +0 -0
  340. /package/dist/featurePageComponents/{feature-page-group.mjs.map → feature-page-group.js.map} +0 -0
  341. /package/dist/file-picker/{file-listing.mjs.map → file-listing.js.map} +0 -0
  342. /package/dist/file-picker/{file-picker.mjs.map → file-picker.js.map} +0 -0
  343. /package/dist/{fixed-alert.mjs.map → fixed-alert.js.map} +0 -0
  344. /package/dist/{footer-heart-icon.mjs.map → footer-heart-icon.js.map} +0 -0
  345. /package/dist/{form-row.mjs.map → form-row.js.map} +0 -0
  346. /package/dist/{image-thumbnail.mjs.map → image-thumbnail.js.map} +0 -0
  347. /package/dist/{index.mjs.map → index.js.map} +0 -0
  348. /package/dist/{input-addon.mjs.map → input-addon.js.map} +0 -0
  349. /package/dist/{input-copy.mjs.map → input-copy.js.map} +0 -0
  350. /package/dist/{label.mjs.map → label.js.map} +0 -0
  351. /package/dist/layout/{layout.mjs.map → layout.js.map} +0 -0
  352. /package/dist/{loading-button.mjs.map → loading-button.js.map} +0 -0
  353. /package/dist/{love-footer.mjs.map → love-footer.js.map} +0 -0
  354. /package/dist/{mini-feature-block.mjs.map → mini-feature-block.js.map} +0 -0
  355. /package/dist/{modal.mjs.map → modal.js.map} +0 -0
  356. /package/dist/navbar/{navbar.mjs.map → navbar.js.map} +0 -0
  357. /package/dist/{no-results-block.mjs.map → no-results-block.js.map} +0 -0
  358. /package/dist/{page-header.mjs.map → page-header.js.map} +0 -0
  359. /package/dist/pagination/{pagination.mjs.map → pagination.js.map} +0 -0
  360. /package/dist/product-picker/{product-drawer.mjs.map → product-drawer.js.map} +0 -0
  361. /package/dist/product-picker/{product-listing.mjs.map → product-listing.js.map} +0 -0
  362. /package/dist/{progress-bar.mjs.map → progress-bar.js.map} +0 -0
  363. /package/dist/{radio.mjs.map → radio.js.map} +0 -0
  364. /package/dist/{rich-text-editor/index.mjs.map → search/search.js.map} +0 -0
  365. /package/dist/{search/search.mjs.map → select.js.map} +0 -0
  366. /package/dist/{select.mjs.map → sidebar/sidebar.js.map} +0 -0
  367. /package/dist/{sidebar/sidebar.mjs.map → sort/sort.js.map} +0 -0
  368. /package/dist/{sort/sort.mjs.map → spinner.js.map} +0 -0
  369. /package/dist/{spinner.mjs.map → stacked-list-item.js.map} +0 -0
  370. /package/dist/{stacked-list-item.mjs.map → table-header/table-header.js.map} +0 -0
  371. /package/dist/{table-header/table-header.mjs.map → table-result-block.js.map} +0 -0
  372. /package/dist/{table-result-block.mjs.map → test-component.js.map} +0 -0
  373. /package/dist/{text-row.mjs.map → text-row.js.map} +0 -0
  374. /package/dist/{textarea.mjs.map → textarea.js.map} +0 -0
  375. /package/dist/{textinput.mjs.map → textinput.js.map} +0 -0
  376. /package/dist/toast/{index.mjs.map → index.js.map} +0 -0
  377. /package/dist/{toggleswitch.mjs.map → toggleswitch.js.map} +0 -0
  378. /package/dist/tooltip/{tooltip.mjs.map → tooltip.js.map} +0 -0
  379. /package/dist/{video-dashboard-notification.mjs.map → video-dashboard-notification.js.map} +0 -0
  380. /package/dist/{video-modal.mjs.map → video-modal.js.map} +0 -0
  381. /package/{postcss.config.js → postcss.config.cjs} +0 -0
@@ -0,0 +1,60 @@
1
+ export { e as TableResultBlock } from './chunk-PZIZGHZJ.js';
2
+ import './chunk-F5B2GEIL.js';
3
+ import './chunk-N7JQ6EAC.js';
4
+ import './chunk-HVNLAQA6.js';
5
+ import './chunk-52VBZOHL.js';
6
+ import './chunk-O7YHGDMR.js';
7
+ import './chunk-Q3HXAUZP.js';
8
+ import './chunk-E62SCYLR.js';
9
+ import './chunk-JHGOFDVG.js';
10
+ import './chunk-4E6CDLVE.js';
11
+ import './chunk-XXP5K6Y4.js';
12
+ import './chunk-RHBXFO7R.js';
13
+ import './chunk-P4BV63ZR.js';
14
+ import './chunk-QCHLLBHM.js';
15
+ import './chunk-LIXVY47P.js';
16
+ import './chunk-G2WGEIWK.js';
17
+ import './chunk-7WJGATIR.js';
18
+ import './chunk-RTRHNOTP.js';
19
+ import './chunk-RS2EPFQY.js';
20
+ import './chunk-E5KIDP3Z.js';
21
+ import './chunk-TBJGGVSZ.js';
22
+ import './chunk-QKHEEDZ4.js';
23
+ import './chunk-WVAVR5V6.js';
24
+ import './chunk-CNJDESTL.js';
25
+ import './chunk-TXDBBVCI.js';
26
+ import './chunk-HTXOCBXA.js';
27
+ import './chunk-EEMQBWYJ.js';
28
+ import './chunk-4EVAA6B6.js';
29
+ import './chunk-IY6WVOAI.js';
30
+ import './chunk-VGGEDWFD.js';
31
+ import './chunk-TKQKGJ3X.js';
32
+ import './chunk-LJMVG4UJ.js';
33
+ import './chunk-QMOPWIA3.js';
34
+ import './chunk-SLIZ4TDR.js';
35
+ import './chunk-FPELMAZN.js';
36
+ import './chunk-H25Q2T5N.js';
37
+ import './chunk-WTBH4TDX.js';
38
+ import './chunk-U6EF2JHT.js';
39
+ import './chunk-ISA6E23B.js';
40
+ import './chunk-7Z2AKRKU.js';
41
+ import './chunk-WSRPB5OU.js';
42
+ import './chunk-MD4AM55R.js';
43
+ import './chunk-DSJ5TRZW.js';
44
+ import './chunk-QP53HWTU.js';
45
+ import './chunk-4RKNVFVG.js';
46
+ import './chunk-M4UBHZDH.js';
47
+ import './chunk-TMO76FWT.js';
48
+ import './chunk-YDCYBJPC.js';
49
+ import './chunk-ELWZ674J.js';
50
+ import './chunk-GI7QHCYX.js';
51
+ import './chunk-2OPJLYW6.js';
52
+ import './chunk-P5IM3T4M.js';
53
+ import './chunk-TRVGXTCI.js';
54
+ import './chunk-TOLCGTOY.js';
55
+ import './chunk-BLUJNMXF.js';
56
+ import './chunk-TJMI4DH2.js';
57
+ import './chunk-6LHL364H.js';
58
+ import './chunk-Z4LPO673.js';
59
+ //# sourceMappingURL=out.js.map
60
+ //# sourceMappingURL=table-result-block.js.map
@@ -0,0 +1,5 @@
1
+ declare function TestComponent({ defaultColour }: {
2
+ defaultColour?: string | undefined;
3
+ }): JSX.Element;
4
+
5
+ export { TestComponent };
@@ -0,0 +1,4 @@
1
+ export { a as TestComponent } from './chunk-WVAVR5V6.js';
2
+ import './chunk-Z4LPO673.js';
3
+ //# sourceMappingURL=out.js.map
4
+ //# sourceMappingURL=test-component.js.map
@@ -0,0 +1,4 @@
1
+ export { a as TextRow } from './chunk-P4BV63ZR.js';
2
+ import './chunk-Z4LPO673.js';
3
+ //# sourceMappingURL=out.js.map
4
+ //# sourceMappingURL=text-row.js.map
@@ -0,0 +1,5 @@
1
+ export { a as TextArea } from './chunk-QCHLLBHM.js';
2
+ import './chunk-6LHL364H.js';
3
+ import './chunk-Z4LPO673.js';
4
+ //# sourceMappingURL=out.js.map
5
+ //# sourceMappingURL=textarea.js.map
@@ -0,0 +1,5 @@
1
+ export { a as TextInput } from './chunk-HTXOCBXA.js';
2
+ import './chunk-6LHL364H.js';
3
+ import './chunk-Z4LPO673.js';
4
+ //# sourceMappingURL=out.js.map
5
+ //# sourceMappingURL=textinput.js.map
@@ -1,4 +1,4 @@
1
- export { a as ToastContext, b as ToastProvider, c as useToast } from '../chunk-7MH2LXFV.mjs';
2
- import '../chunk-23SJGKDR.mjs';
1
+ export { a as ToastContext, b as ToastProvider, c as useToast } from '../chunk-Q3HXAUZP.js';
2
+ import '../chunk-Z4LPO673.js';
3
3
  //# sourceMappingURL=out.js.map
4
- //# sourceMappingURL=index.mjs.map
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,5 @@
1
+ export { a as ToggleSwitch } from './chunk-TMO76FWT.js';
2
+ import './chunk-6LHL364H.js';
3
+ import './chunk-Z4LPO673.js';
4
+ //# sourceMappingURL=out.js.map
5
+ //# sourceMappingURL=toggleswitch.js.map
@@ -0,0 +1,4 @@
1
+ export { a as ToolTip } from '../chunk-E62SCYLR.js';
2
+ import '../chunk-Z4LPO673.js';
3
+ //# sourceMappingURL=out.js.map
4
+ //# sourceMappingURL=tooltip.js.map
@@ -0,0 +1,4 @@
1
+ export { a as VideoDashboardNotification } from './chunk-LIXVY47P.js';
2
+ import './chunk-Z4LPO673.js';
3
+ //# sourceMappingURL=out.js.map
4
+ //# sourceMappingURL=video-dashboard-notification.js.map
@@ -0,0 +1,4 @@
1
+ export { a as VideoModal } from './chunk-G2WGEIWK.js';
2
+ import './chunk-Z4LPO673.js';
3
+ //# sourceMappingURL=out.js.map
4
+ //# sourceMappingURL=video-modal.js.map
package/package.json CHANGED
@@ -1,17 +1,23 @@
1
1
  {
2
2
  "name": "ekm-ui",
3
- "version": "0.3.78",
3
+ "version": "0.3.83",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ],
7
- "main": "./dist/index.mjs",
8
- "types": "./dist/index.d.ts",
7
+ "type": "module",
9
8
  "exports": {
10
- ".": "./dist",
11
- "./index.mjs": "./dist/index.mjs",
9
+ ".": "./dist/index.js",
12
10
  "./styles.css": "./dist/index.css"
13
11
  },
14
12
  "license": "MIT",
13
+ "tsup": {
14
+ "entry": [
15
+ "src/index.ts"
16
+ ],
17
+ "splitting": false,
18
+ "sourcemap": true,
19
+ "clean": true
20
+ },
15
21
  "scripts": {
16
22
  "build": "tsup",
17
23
  "dev": "tsup --watch",
@@ -19,45 +25,20 @@
19
25
  "lint": "eslint \"**/*.ts*\""
20
26
  },
21
27
  "devDependencies": {
22
- "@types/react": "^18.2.0",
28
+ "@types/is-function": "^1.0.3",
29
+ "@types/react": "^17.0.2",
23
30
  "@types/react-color": "^3.0.6",
24
- "@types/react-dom": "^18.2.0",
31
+ "@types/react-dom": "^17.0.2",
32
+ "react": "^17.0.2",
25
33
  "eslint": "^7.32.0",
26
34
  "eslint-config-custom": "*",
27
35
  "postcss": "^8.4.20",
28
- "react": "^17.0.2",
29
36
  "tailwind-config": "*",
30
37
  "tsconfig": "*",
31
38
  "tsup": "^6.1.3",
32
39
  "typescript": "^4.5.2"
33
40
  },
34
41
  "dependencies": {
35
- "@ckeditor/ckeditor5-alignment": "38.0.1",
36
- "@ckeditor/ckeditor5-autoformat": "38.0.1",
37
- "@ckeditor/ckeditor5-basic-styles": "38.0.1",
38
- "@ckeditor/ckeditor5-block-quote": "38.0.1",
39
- "@ckeditor/ckeditor5-code-block": "38.0.1",
40
- "@ckeditor/ckeditor5-core": "38.0.1",
41
- "@ckeditor/ckeditor5-dev-utils": "37.0.1",
42
- "@ckeditor/ckeditor5-editor-decoupled": "38.0.1",
43
- "@ckeditor/ckeditor5-engine": "38.0.1",
44
- "@ckeditor/ckeditor5-enter": "38.0.1",
45
- "@ckeditor/ckeditor5-essentials": "38.0.1",
46
- "@ckeditor/ckeditor5-heading": "38.0.1",
47
- "@ckeditor/ckeditor5-image": "38.0.1",
48
- "@ckeditor/ckeditor5-indent": "38.0.1",
49
- "@ckeditor/ckeditor5-link": "38.0.1",
50
- "@ckeditor/ckeditor5-list": "38.0.1",
51
- "@ckeditor/ckeditor5-paragraph": "38.0.1",
52
- "@ckeditor/ckeditor5-paste-from-office": "38.0.1",
53
- "@ckeditor/ckeditor5-react": "6.0.0",
54
- "@ckeditor/ckeditor5-remove-format": "38.0.1",
55
- "@ckeditor/ckeditor5-table": "38.0.1",
56
- "@ckeditor/ckeditor5-theme-lark": "38.0.1",
57
- "@ckeditor/ckeditor5-typing": "38.0.1",
58
- "@ckeditor/ckeditor5-ui": "38.0.1",
59
- "@ckeditor/ckeditor5-undo": "38.0.1",
60
- "@ckeditor/ckeditor5-utils": "38.0.1",
61
42
  "@dnd-kit/core": "^6.0.8",
62
43
  "@dnd-kit/sortable": "^7.0.2",
63
44
  "@dnd-kit/utilities": "^3.2.1",
@@ -71,6 +52,6 @@
71
52
  "pluralize": "^8.0.0",
72
53
  "react-color": "^2.19.3",
73
54
  "react-hook-form": "^7.51.0",
74
- "react-icons": "^4.8.0"
55
+ "react-icons": "^5.2.0"
75
56
  }
76
57
  }
@@ -1,7 +1,4 @@
1
- //@ts-nocheck
2
-
3
1
  import { variantProps } from "classname-variants/react";
4
- import { FaTimes } from "react-icons/fa";
5
2
  import {
6
3
  FaTimes,
7
4
  FaInfoCircle,
@@ -34,11 +31,11 @@ const alertProps = variantProps({
34
31
  true: "rounded-lg",
35
32
  false: "rounded-none",
36
33
  },
37
- defaultVariants: {
38
- type: "info",
39
- rounded: true,
40
- size: "md",
41
- },
34
+ },
35
+ defaultVariants: {
36
+ type: "info",
37
+ rounded: true,
38
+ size: "md",
42
39
  },
43
40
  });
44
41
 
@@ -59,7 +56,21 @@ const dismissProps = variantProps({
59
56
  },
60
57
  });
61
58
 
62
- export function AlertBanner({ children, type, showIcon, onDismiss, rounded }) {
59
+ type AlertBannerProps = {
60
+ children: React.ReactNode;
61
+ type: "info" | "success" | "warning" | "danger";
62
+ showIcon: boolean;
63
+ onDismiss: () => void;
64
+ rounded: boolean;
65
+ };
66
+
67
+ export function AlertBanner({
68
+ children,
69
+ type,
70
+ showIcon,
71
+ onDismiss,
72
+ rounded,
73
+ }: AlertBannerProps) {
63
74
  const renderIcon = () => {
64
75
  switch (type) {
65
76
  case "info":
@@ -76,7 +87,7 @@ export function AlertBanner({ children, type, showIcon, onDismiss, rounded }) {
76
87
  };
77
88
 
78
89
  return (
79
- <div {...alertProps({ type, rounded })} role="alert">
90
+ <div {...alertProps({ type, rounded, size: "md" })} role="alert">
80
91
  {showIcon && (
81
92
  <div className="mr-3 mt-1 inline h-4 w-4 flex-shrink-0">
82
93
  {renderIcon()}
package/src/avatar.tsx CHANGED
@@ -1,6 +1,6 @@
1
- //@ts-nocheck
2
1
  import { twMerge } from "tailwind-merge";
3
2
  import PropTypes from "prop-types";
3
+ import React from "react";
4
4
 
5
5
  const avatarSize = Object.freeze({
6
6
  xs: "w-6 h-6",
@@ -18,7 +18,7 @@ const fontSize = Object.freeze({
18
18
  xl: "text-7xl",
19
19
  });
20
20
 
21
- var colorMap = Object.freeze({
21
+ var colorMap: { [key: string]: string } = Object.freeze({
22
22
  A: "bg-red-200",
23
23
  B: "bg-red-200",
24
24
  C: "bg-red-200",
@@ -47,6 +47,14 @@ var colorMap = Object.freeze({
47
47
  Z: "bg-orange-200",
48
48
  });
49
49
 
50
+ type AvatarProps = {
51
+ children: React.ReactNode;
52
+ size: keyof typeof avatarSize;
53
+ placeholderInitials?: string;
54
+ rounded: boolean;
55
+ img?: string;
56
+ };
57
+
50
58
  export function Avatar({
51
59
  children,
52
60
  img,
@@ -54,11 +62,11 @@ export function Avatar({
54
62
  placeholderInitials,
55
63
  rounded,
56
64
  ...props
57
- }) {
58
- const bgColor =
59
- placeholderInitials !== ""
60
- ? colorMap[placeholderInitials[0].toUpperCase()]
61
- : "bg-gray-100";
65
+ }: AvatarProps) {
66
+ const bgColor = placeholderInitials
67
+ ? colorMap[placeholderInitials[0].toUpperCase()]
68
+ : "bg-gray-100";
69
+
62
70
  return img ? (
63
71
  <img
64
72
  src={img}
@@ -85,7 +93,7 @@ export function Avatar({
85
93
  size ? fontSize[size] : "text-md"
86
94
  )}
87
95
  >
88
- {placeholderInitials.toUpperCase()}
96
+ {placeholderInitials?.toUpperCase()}
89
97
  </span>
90
98
  </div>
91
99
  );
@@ -1,20 +1,20 @@
1
- import { useEffect, useRef, useState } from "react";
1
+ //@ts-nocheck
2
+ import { useState, useRef, useEffect } from "react";
2
3
  import { SketchPicker } from "react-color";
4
+ import PropTypes from "prop-types";
3
5
 
4
- type Props = {
5
- defaultColour?: string;
6
- onChange?: Function;
7
- onComplete?: Function; // To reduce renders in the parent this cb is best, depending upon the context it is called
8
- };
9
6
 
10
7
  export function ColorPicker({
11
8
  defaultColour = "#ff00ff",
12
9
  onChange,
13
10
  onComplete,
14
- }: Props) {
11
+ }) {
12
+ const [showPicker, setShowPicker] = useState(false);
13
+ const [colour, setColour] = useState(defaultColour);
15
14
  const ref = useRef<any>(null);
15
+
16
16
  useEffect(() => {
17
- const handleClickOutside = (e: MouseEvent) => {
17
+ const handleClickOutside = (e) => {
18
18
  if (ref.current && !ref.current.contains(e.target)) {
19
19
  setShowPicker(false);
20
20
  }
@@ -26,15 +26,13 @@ export function ColorPicker({
26
26
  };
27
27
  }, []);
28
28
 
29
- const [showPicker, setShowPicker] = useState(false);
30
- const [colour, setColour] = useState(defaultColour);
31
- const handleChange = (color: any) => {
29
+ const handleChange = (color) => {
32
30
  const hex = color.hex;
33
31
  setColour(hex);
34
32
  if (onChange != null) onChange(hex);
35
33
  };
36
34
 
37
- const handleChangeComplete = (color: any) => {
35
+ const handleChangeComplete = (color) => {
38
36
  // We don't set the colour here as it is done in onChange
39
37
  if (onComplete != null) onComplete(color.hex);
40
38
  };
@@ -67,4 +65,13 @@ export function ColorPicker({
67
65
  );
68
66
  }
69
67
 
70
- ColorPicker.displayName = "ColorPicker";
68
+ ColorPicker.proptypes = {
69
+
70
+ defaultColour: PropTypes.string,
71
+ onChange: PropTypes.func,
72
+ onComplete: PropTypes.func,
73
+ };
74
+
75
+ ColorPicker.displayName = "ColorPicker"
76
+
77
+
package/src/index.tsx CHANGED
@@ -3,7 +3,6 @@ export { FormRow } from "./form-row";
3
3
  export { Navbar } from "./navbar/navbar";
4
4
  export { Sidebar } from "./sidebar/sidebar";
5
5
  export { LoveFooter } from "./love-footer";
6
- export { RichTextEditor } from "./rich-text-editor";
7
6
  export { ToastProvider, useToast } from "./toast";
8
7
  export { NoResultsBlock } from "./no-results-block";
9
8
  export { StackedListItem } from "./stacked-list-item";
@@ -56,5 +55,6 @@ export { FeaturePageGroup } from "./featurePageComponents/feature-page-group";
56
55
  export { TableResultBlock } from "./table-result-block";
57
56
  export { DateRangePicker } from "./date-range-picker";
58
57
  export { ProductPicker } from "./product-picker/product-drawer";
58
+ export {TestComponent} from "./test-component";
59
59
 
60
60
  import "./styles.css";
@@ -1,3 +1,4 @@
1
+ //@ts-nocheck
1
2
  import {
2
3
  Avatar,
3
4
  Button,
@@ -1,3 +1,4 @@
1
+
1
2
  type Props = {
2
3
  title: string;
3
4
  icon: JSX.Element;
@@ -6,13 +7,7 @@ type Props = {
6
7
  children?: JSX.Element;
7
8
  };
8
9
 
9
- export function NoResultsBlock({
10
- icon,
11
- title,
12
- text,
13
- children,
14
- buttons,
15
- }: Props) {
10
+ export function NoResultsBlock({ icon, title, text, children, buttons }: Props) {
16
11
  return (
17
12
  <div className="flex flex-col items-center justify-between px-4 py-16 sm:px-8">
18
13
  {icon}
@@ -6,9 +6,10 @@ type Props = {
6
6
  text?: string | Element[];
7
7
  children?: JSX.Element;
8
8
  breadcrumbs: Array<{ linkLabel: string; linkURL: string }>;
9
+ extras: JSX.Element;
9
10
  };
10
11
 
11
- export function PageHeader({ children, title, text, breadcrumbs }: Props) {
12
+ export function PageHeader({ children, title, text, breadcrumbs, extras }: Props) {
12
13
  return (
13
14
  <div className="border-b bg-white p-8 shadow-sm dark:border-gray-700 dark:bg-gray-800 lg:flex lg:items-center lg:justify-between">
14
15
  <div className="flex w-full flex-wrap items-center justify-between gap-x-8 gap-y-4 sm:flex-nowrap ">
@@ -29,14 +30,16 @@ export function PageHeader({ children, title, text, breadcrumbs }: Props) {
29
30
  );
30
31
  })}
31
32
  </Breadcrumb>
33
+ <div className='flex items-center'>
32
34
  <h2 className="mt-2 text-xl font-semibold leading-7 text-gray-900 dark:text-white sm:truncate">
33
35
  {title}
34
- </h2>
36
+ </h2>
37
+ {extras}
38
+ </div>
35
39
  <p className=" text-sm font-normal text-gray-500 dark:text-gray-400">
36
40
  {text}
37
41
  </p>
38
42
  </div>
39
-
40
43
  <div className="mt-1 flex flex-shrink-0 flex-col sm:mt-0 sm:flex-row sm:flex-wrap sm:space-x-6">
41
44
  {children}
42
45
  </div>
@@ -93,7 +93,7 @@ function ProductRow({ product, selected = false, callback }) {
93
93
  <div className="ml-4">
94
94
  {product.Image && product.IamgeName !== "[URL-DownloadRequested]" ? (
95
95
  <img
96
- className="h-10 w-10 rounded-md"
96
+ className="h-10 w-10 rounded-sm"
97
97
  src={product.Image}
98
98
  alt={product.Name}
99
99
  onError={(e) => {
@@ -102,7 +102,6 @@ function ProductRow({ product, selected = false, callback }) {
102
102
  "/admin/Content/images/no-image-discount.png"
103
103
  )}`;
104
104
  }}
105
- className="h-10 w-10 rounded-sm"
106
105
  />
107
106
  ) : (
108
107
  <img
package/src/select.tsx CHANGED
@@ -43,11 +43,11 @@ Select.propTypes = {
43
43
  /** Optional label for the dropdown */
44
44
  label: PropTypes.string,
45
45
  /** Optional inital selected value must match the value of an element of an object in the options array. (defaults to first value in the list)*/
46
- defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
46
+ defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]),
47
47
  /** Array of objects with value and display properties */
48
48
  options: PropTypes.arrayOf(
49
49
  PropTypes.shape({
50
- value: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
50
+ value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool])
51
51
  .isRequired,
52
52
  display: PropTypes.string.isRequired,
53
53
  })
@@ -1,3 +1,4 @@
1
+ //@ts-nocheck
1
2
  import classNames from "classnames";
2
3
  import { Sidebar as FlowbiteSidebar, TextInput } from "flowbite-react";
3
4
  import { HiSearch } from "react-icons/hi";
@@ -0,0 +1,13 @@
1
+ import { useState, useRef } from "react";
2
+
3
+ export function TestComponent({ defaultColour = "#ff00ff" }) {
4
+ console.log("Test Component Here - 54693");
5
+ //const [showPicker, setShowPicker] = useState(false);
6
+ const [colour, setColour] = useState('');
7
+ //const ref = useRef(null);
8
+ return (
9
+ <div>
10
+ <h1>Test Component Here - 54693</h1>
11
+ </div>
12
+ );
13
+ }
package/src/textinput.tsx CHANGED
@@ -76,6 +76,7 @@ export const TextInput = forwardRef(function TextInput(props, ref) {
76
76
  disabled={disabled}
77
77
  onChange={props.onChange}
78
78
  value={props.value}
79
+ onKeyDown={props.onKeyDown}
79
80
  />
80
81
  </div>
81
82
  </div>
@@ -100,6 +101,7 @@ export const TextInput = forwardRef(function TextInput(props, ref) {
100
101
  name={props.name}
101
102
  onChange={props.onChange}
102
103
  value={props.value}
104
+ onKeyDown={props.onKeyDown}
103
105
  />
104
106
  {position == "right" && (
105
107
  <span className="rounded-e-0 inline-flex items-center rounded-r-lg border border-gray-300 bg-gray-200 px-3 text-sm text-gray-900 dark:border-gray-600 dark:bg-gray-600 dark:text-gray-400">
@@ -125,6 +127,7 @@ export const TextInput = forwardRef(function TextInput(props, ref) {
125
127
  name={props.name}
126
128
  onChange={props.onChange}
127
129
  value={props.value}
130
+ onKeyDown={props.onKeyDown}
128
131
  {...textInputProps({ color })}
129
132
  />
130
133
  </div>
@@ -53,8 +53,8 @@ export function ToastProvider({ children }: { children: React.ReactNode }) {
53
53
  aria-live="assertive"
54
54
  className="pointer-events-none fixed inset-0 right-0 z-50 flex flex-col items-end px-4 py-6 sm:items-end sm:p-6"
55
55
  >
56
- {toasts.map((toast: ToastEvent) => (
57
- <Toast type={toast.type} text={toast.text} />
56
+ {toasts.map((toast: ToastEvent, index:number) => (
57
+ <Toast key={`${toast.type}-${index}`} type={toast.type} text={toast.text} />
58
58
  ))}
59
59
  </div>
60
60
  </ToastContext.Provider>
@@ -1,5 +0,0 @@
1
- export { a as AlertBanner } from './chunk-PT4IH2KW.mjs';
2
- import './chunk-PUJZGK7Y.mjs';
3
- import './chunk-23SJGKDR.mjs';
4
- //# sourceMappingURL=out.js.map
5
- //# sourceMappingURL=alert-banner.mjs.map
package/dist/alert.mjs DELETED
@@ -1,4 +0,0 @@
1
- export { a as Alert } from './chunk-S3J72WZM.mjs';
2
- import './chunk-23SJGKDR.mjs';
3
- //# sourceMappingURL=out.js.map
4
- //# sourceMappingURL=alert.mjs.map
package/dist/avatar.mjs DELETED
@@ -1,6 +0,0 @@
1
- export { a as Avatar } from './chunk-EX5FMSQL.mjs';
2
- import './chunk-GBY2NNWZ.mjs';
3
- import './chunk-PUJZGK7Y.mjs';
4
- import './chunk-23SJGKDR.mjs';
5
- //# sourceMappingURL=out.js.map
6
- //# sourceMappingURL=avatar.mjs.map
package/dist/badge.mjs DELETED
@@ -1,6 +0,0 @@
1
- export { a as Badge } from './chunk-EH3ZVEVT.mjs';
2
- import './chunk-GBY2NNWZ.mjs';
3
- import './chunk-PUJZGK7Y.mjs';
4
- import './chunk-23SJGKDR.mjs';
5
- //# sourceMappingURL=out.js.map
6
- //# sourceMappingURL=badge.mjs.map
@@ -1,5 +0,0 @@
1
- export { a as Breadcrumb, b as BreadcrumbHome, c as BreadcrumbItem } from './chunk-E6KQBM7F.mjs';
2
- import './chunk-PUJZGK7Y.mjs';
3
- import './chunk-23SJGKDR.mjs';
4
- //# sourceMappingURL=out.js.map
5
- //# sourceMappingURL=breadcrumb.mjs.map
@@ -1,4 +0,0 @@
1
- export { a as ButtonGroupItem } from './chunk-SAXGEQRG.mjs';
2
- import './chunk-23SJGKDR.mjs';
3
- //# sourceMappingURL=out.js.map
4
- //# sourceMappingURL=button-group-item.mjs.map
package/dist/button.mjs DELETED
@@ -1,6 +0,0 @@
1
- export { a as Button } from './chunk-QHJF4QWW.mjs';
2
- import './chunk-GBY2NNWZ.mjs';
3
- import './chunk-PUJZGK7Y.mjs';
4
- import './chunk-23SJGKDR.mjs';
5
- //# sourceMappingURL=out.js.map
6
- //# sourceMappingURL=button.mjs.map