ekm-ui 0.3.78 → 0.3.81
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.
- package/.turbo/turbo-build.log +268 -281
- package/CHANGELOG.md +7 -0
- package/dist/{accordion.mjs → accordion.js} +4 -4
- package/dist/alert-banner.d.ts +8 -7
- package/dist/alert-banner.js +5 -0
- package/dist/alert.js +4 -0
- package/dist/avatar.d.ts +16 -8
- package/dist/avatar.js +6 -0
- package/dist/badge.js +6 -0
- package/dist/breadcrumb.js +5 -0
- package/dist/button-group-item.js +4 -0
- package/dist/button.js +6 -0
- package/dist/card-payment-block.css +1 -1
- package/dist/card-payment-block.css.map +1 -1
- package/dist/card-payment-block.js +60 -0
- package/dist/card.js +5 -0
- package/dist/checkbox.js +6 -0
- package/dist/chunk-2OPJLYW6.js +10 -0
- package/dist/chunk-2OPJLYW6.js.map +1 -0
- package/dist/chunk-4E6CDLVE.js +11 -0
- package/dist/{chunk-RGCO6BCU.mjs.map → chunk-4E6CDLVE.js.map} +1 -1
- package/dist/{chunk-Z5YZVKS5.mjs → chunk-4EVAA6B6.js} +2 -2
- package/dist/{chunk-Z5YZVKS5.mjs.map → chunk-4EVAA6B6.js.map} +1 -1
- package/dist/{chunk-UPAA75QA.mjs → chunk-4RKNVFVG.js} +3 -3
- package/dist/{chunk-UPAA75QA.mjs.map → chunk-4RKNVFVG.js.map} +1 -1
- package/dist/chunk-52VBZOHL.js +11 -0
- package/dist/{chunk-2OTVEVU7.mjs.map → chunk-52VBZOHL.js.map} +1 -1
- package/dist/{chunk-PUJZGK7Y.mjs → chunk-6LHL364H.js} +2 -2
- package/dist/{chunk-PUJZGK7Y.mjs.map → chunk-6LHL364H.js.map} +1 -1
- package/dist/{chunk-ATNP3Z6G.mjs → chunk-7WJGATIR.js} +2 -2
- package/dist/{chunk-ATNP3Z6G.mjs.map → chunk-7WJGATIR.js.map} +1 -1
- package/dist/{chunk-CIUW5YZ7.mjs → chunk-7Z2AKRKU.js} +2 -2
- package/dist/{chunk-CIUW5YZ7.mjs.map → chunk-7Z2AKRKU.js.map} +1 -1
- package/dist/chunk-BLUJNMXF.js +11 -0
- package/dist/{chunk-QHJF4QWW.mjs.map → chunk-BLUJNMXF.js.map} +1 -1
- package/dist/{chunk-7MH2LXFV.mjs → chunk-BR7EQJ6Q.js} +1 -1
- package/dist/{chunk-6K6D4X6D.mjs → chunk-CNJDESTL.js} +1 -1
- package/dist/chunk-E5KIDP3Z.js +9 -0
- package/dist/{chunk-OG6UBKMG.mjs.map → chunk-E5KIDP3Z.js.map} +1 -1
- package/dist/{chunk-FVUORQJX.mjs → chunk-E62SCYLR.js} +1 -1
- package/dist/chunk-EEMQBWYJ.js +11 -0
- package/dist/{chunk-3AGRJPPN.mjs.map → chunk-EEMQBWYJ.js.map} +1 -1
- package/dist/chunk-ELWZ674J.js +11 -0
- package/dist/chunk-ELWZ674J.js.map +1 -0
- package/dist/chunk-F5B2GEIL.js +12 -0
- package/dist/chunk-F5B2GEIL.js.map +1 -0
- package/dist/{chunk-2PW7KHXJ.mjs → chunk-FPELMAZN.js} +2 -2
- package/dist/{chunk-2PW7KHXJ.mjs.map → chunk-FPELMAZN.js.map} +1 -1
- package/dist/{chunk-PJZVMYPN.mjs → chunk-G2WGEIWK.js} +1 -1
- package/dist/{chunk-S3J72WZM.mjs → chunk-GI7QHCYX.js} +1 -1
- package/dist/{chunk-JPF3K5TD.mjs → chunk-H25Q2T5N.js} +1 -1
- package/dist/{chunk-EHJJX6ZZ.mjs → chunk-HVNLAQA6.js} +3 -3
- package/dist/{chunk-EHJJX6ZZ.mjs.map → chunk-HVNLAQA6.js.map} +1 -1
- package/dist/chunk-ISA6E23B.js +11 -0
- package/dist/chunk-ISA6E23B.js.map +1 -0
- package/dist/{chunk-DBTYTFGU.mjs → chunk-IY6WVOAI.js} +2 -2
- package/dist/{chunk-DBTYTFGU.mjs.map → chunk-IY6WVOAI.js.map} +1 -1
- package/dist/{chunk-QMFUWXJJ.mjs → chunk-JHGOFDVG.js} +1 -1
- package/dist/{chunk-BK5RX7N5.mjs → chunk-JNXYUDWX.js} +2 -2
- package/dist/{chunk-BK5RX7N5.mjs.map → chunk-JNXYUDWX.js.map} +1 -1
- package/dist/{chunk-AYH56CFA.mjs → chunk-LIXVY47P.js} +1 -1
- package/dist/{chunk-MPIWXVKP.mjs → chunk-LJMVG4UJ.js} +1 -1
- package/dist/{chunk-K2G6O2LX.mjs → chunk-M4UBHZDH.js} +3 -3
- package/dist/{chunk-K2G6O2LX.mjs.map → chunk-M4UBHZDH.js.map} +1 -1
- package/dist/chunk-N7JQ6EAC.js +10 -0
- package/dist/{chunk-YJINOUZ7.mjs.map → chunk-N7JQ6EAC.js.map} +1 -1
- package/dist/{chunk-D3VRYN5H.mjs → chunk-O7YHGDMR.js} +6 -6
- package/dist/{chunk-D3VRYN5H.mjs.map → chunk-O7YHGDMR.js.map} +1 -1
- package/dist/{chunk-ECOC3JRK.mjs → chunk-P4BV63ZR.js} +1 -1
- package/dist/chunk-P5IM3T4M.js +11 -0
- package/dist/{chunk-EH3ZVEVT.mjs.map → chunk-P5IM3T4M.js.map} +1 -1
- package/dist/chunk-QCHLLBHM.js +11 -0
- package/dist/{chunk-HOCKBMTF.mjs.map → chunk-QCHLLBHM.js.map} +1 -1
- package/dist/{chunk-3TAXDPV6.mjs → chunk-QKHEEDZ4.js} +1 -1
- package/dist/chunk-QMOPWIA3.js +12 -0
- package/dist/{chunk-R4A5DO7E.mjs.map → chunk-QMOPWIA3.js.map} +1 -1
- package/dist/{chunk-6UK5Y6KZ.mjs → chunk-QP53HWTU.js} +2 -2
- package/dist/{chunk-6UK5Y6KZ.mjs.map → chunk-QP53HWTU.js.map} +1 -1
- package/dist/{chunk-LVJYP46A.mjs → chunk-RHBXFO7R.js} +1 -1
- package/dist/{chunk-P7TACBB4.mjs → chunk-RTRHNOTP.js} +1 -1
- package/dist/chunk-RUVOSKZO.js +11 -0
- package/dist/{chunk-6F3XKP3G.mjs.map → chunk-RUVOSKZO.js.map} +1 -1
- package/dist/{chunk-ZT7KDTGF.mjs → chunk-SLIZ4TDR.js} +1 -1
- package/dist/chunk-TBJGGVSZ.js +10 -0
- package/dist/{chunk-QFECX4D6.mjs.map → chunk-TBJGGVSZ.js.map} +1 -1
- package/dist/chunk-TBZ5YABX.js +10 -0
- package/dist/{chunk-G5A3E5IG.mjs.map → chunk-TBZ5YABX.js.map} +1 -1
- package/dist/chunk-TG24MK5N.js +34 -0
- package/dist/{chunk-PEODF7PL.mjs.map → chunk-TG24MK5N.js.map} +1 -1
- package/dist/{chunk-GBY2NNWZ.mjs → chunk-TJMI4DH2.js} +2 -2
- package/dist/{chunk-GBY2NNWZ.mjs.map → chunk-TJMI4DH2.js.map} +1 -1
- package/dist/{chunk-76V2THLN.mjs → chunk-TKQKGJ3X.js} +1 -1
- package/dist/chunk-TKQKGJ3X.js.map +1 -0
- package/dist/chunk-TMO76FWT.js +10 -0
- package/dist/{chunk-XBWUYKZW.mjs.map → chunk-TMO76FWT.js.map} +1 -1
- package/dist/{chunk-SAXGEQRG.mjs → chunk-TOLCGTOY.js} +1 -1
- package/dist/chunk-TRVGXTCI.js +10 -0
- package/dist/{chunk-E6KQBM7F.mjs.map → chunk-TRVGXTCI.js.map} +1 -1
- package/dist/chunk-U6EF2JHT.js +11 -0
- package/dist/{chunk-NJC2WLYK.mjs.map → chunk-U6EF2JHT.js.map} +1 -1
- package/dist/chunk-VGGEDWFD.js +11 -0
- package/dist/{chunk-CZC4EJOD.mjs.map → chunk-VGGEDWFD.js.map} +1 -1
- package/dist/{chunk-PT4DPY4L.mjs → chunk-WSRPB5OU.js} +3 -3
- package/dist/{chunk-PT4DPY4L.mjs.map → chunk-WSRPB5OU.js.map} +1 -1
- package/dist/{chunk-PJMH47GY.mjs → chunk-WTBH4TDX.js} +1 -1
- package/dist/chunk-WVAVR5V6.js +8 -0
- package/dist/chunk-WVAVR5V6.js.map +1 -0
- package/dist/chunk-XVBUAVHA.js +16 -0
- package/dist/{chunk-X2JENUDV.mjs.map → chunk-XVBUAVHA.js.map} +1 -1
- package/dist/{chunk-W3XYS7M3.mjs → chunk-XXP5K6Y4.js} +2 -2
- package/dist/chunk-XXP5K6Y4.js.map +1 -0
- package/dist/{chunk-7GLTVVKS.mjs → chunk-YDCYBJPC.js} +4 -4
- package/dist/{chunk-7GLTVVKS.mjs.map → chunk-YDCYBJPC.js.map} +1 -1
- package/dist/{chunk-23SJGKDR.mjs → chunk-Z4LPO673.js} +1 -1
- package/dist/{chunk-ZO5NWKNY.mjs → chunk-Z4LW4UV5.js} +2 -2
- package/dist/{chunk-ZO5NWKNY.mjs.map → chunk-Z4LW4UV5.js.map} +1 -1
- package/dist/color-picker.d.ts +12 -6
- package/dist/color-picker.js +5 -0
- package/dist/dashboard-notification.js +6 -0
- package/dist/date-range-picker.js +10 -0
- package/dist/drag-and-drop.css +1 -1
- package/dist/drag-and-drop.css.map +1 -1
- package/dist/drag-and-drop.js +60 -0
- package/dist/draggable-stacked-list-item.js +6 -0
- package/dist/drawer.js +4 -0
- package/dist/dropdown.js +5 -0
- package/dist/ekm-logo.js +4 -0
- package/dist/feature-cards/feature-card.js +7 -0
- package/dist/feature-cards/staff-pick-card.js +4 -0
- package/dist/featurePageComponents/feature-page-group.js +4 -0
- package/dist/featurePageComponents/{mini-feature-block.mjs → mini-feature-block.js} +2 -2
- package/dist/featurePageComponents/{mini-feature-block.mjs.map → mini-feature-block.js.map} +1 -1
- package/dist/file-picker/file-listing.js +6 -0
- package/dist/file-picker/file-picker.css +1 -1
- package/dist/file-picker/file-picker.css.map +1 -1
- package/dist/file-picker/file-picker.js +60 -0
- package/dist/fixed-alert.js +7 -0
- package/dist/footer-heart-icon.js +4 -0
- package/dist/form-row.js +6 -0
- package/dist/image-thumbnail.js +4 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +1 -3
- package/dist/index.js +60 -0
- package/dist/input-addon.js +4 -0
- package/dist/input-copy.js +6 -0
- package/dist/label.js +5 -0
- package/dist/layout/layout.css +1 -1
- package/dist/layout/layout.css.map +1 -1
- package/dist/layout/layout.js +60 -0
- package/dist/loading-button.js +5 -0
- package/dist/love-footer.js +5 -0
- package/dist/mini-feature-block.js +7 -0
- package/dist/modal.js +5 -0
- package/dist/navbar/navbar.js +5 -0
- package/dist/no-results-block.d.ts +1 -1
- package/dist/no-results-block.js +4 -0
- package/dist/page-header.js +6 -0
- package/dist/pagination/pagination.js +4 -0
- package/dist/product-picker/product-drawer.css +1 -1
- package/dist/product-picker/product-drawer.css.map +1 -1
- package/dist/product-picker/product-drawer.js +60 -0
- package/dist/product-picker/product-listing.js +7 -0
- package/dist/progress-bar.js +5 -0
- package/dist/radio.js +5 -0
- package/dist/search/search.js +5 -0
- package/dist/select.js +5 -0
- package/dist/sidebar/sidebar.js +4 -0
- package/dist/sort/sort.js +5 -0
- package/dist/spinner.js +4 -0
- package/dist/stacked-list-item.css +1 -1
- package/dist/stacked-list-item.css.map +1 -1
- package/dist/stacked-list-item.js +60 -0
- package/dist/table-header/table-header.js +8 -0
- package/dist/table-result-block.css +1 -1
- package/dist/table-result-block.css.map +1 -1
- package/dist/table-result-block.js +60 -0
- package/dist/test-component.d.ts +5 -0
- package/dist/test-component.js +4 -0
- package/dist/text-row.js +4 -0
- package/dist/textarea.js +5 -0
- package/dist/textinput.js +5 -0
- package/dist/toast/{index.mjs → index.js} +3 -3
- package/dist/toggleswitch.js +5 -0
- package/dist/tooltip/tooltip.js +4 -0
- package/dist/video-dashboard-notification.js +4 -0
- package/dist/video-modal.js +4 -0
- package/package.json +16 -35
- package/src/alert-banner.tsx +21 -10
- package/src/avatar.tsx +16 -8
- package/src/color-picker.tsx +20 -13
- package/src/index.tsx +1 -1
- package/src/navbar/navbar.tsx +1 -0
- package/src/no-results-block.tsx +2 -7
- package/src/product-picker/product-listing.tsx +1 -2
- package/src/sidebar/sidebar.tsx +1 -0
- package/src/test-component.tsx +13 -0
- package/dist/alert-banner.mjs +0 -5
- package/dist/alert.mjs +0 -4
- package/dist/avatar.mjs +0 -6
- package/dist/badge.mjs +0 -6
- package/dist/breadcrumb.mjs +0 -5
- package/dist/button-group-item.mjs +0 -4
- package/dist/button.mjs +0 -6
- package/dist/card-payment-block.mjs +0 -60
- package/dist/card.mjs +0 -5
- package/dist/checkbox.mjs +0 -6
- package/dist/chunk-2OTVEVU7.mjs +0 -11
- package/dist/chunk-35VEFUPA.mjs +0 -12
- package/dist/chunk-35VEFUPA.mjs.map +0 -1
- package/dist/chunk-3AGRJPPN.mjs +0 -11
- package/dist/chunk-6F3XKP3G.mjs +0 -11
- package/dist/chunk-76V2THLN.mjs.map +0 -1
- package/dist/chunk-CZC4EJOD.mjs +0 -11
- package/dist/chunk-E6KQBM7F.mjs +0 -10
- package/dist/chunk-EH3ZVEVT.mjs +0 -11
- package/dist/chunk-EX5FMSQL.mjs +0 -10
- package/dist/chunk-EX5FMSQL.mjs.map +0 -1
- package/dist/chunk-G5A3E5IG.mjs +0 -10
- package/dist/chunk-HOCKBMTF.mjs +0 -11
- package/dist/chunk-NJC2WLYK.mjs +0 -11
- package/dist/chunk-OG6UBKMG.mjs +0 -9
- package/dist/chunk-PEODF7PL.mjs +0 -34
- package/dist/chunk-PT4IH2KW.mjs +0 -11
- package/dist/chunk-PT4IH2KW.mjs.map +0 -1
- package/dist/chunk-QFECX4D6.mjs +0 -10
- package/dist/chunk-QHJF4QWW.mjs +0 -11
- package/dist/chunk-R4A5DO7E.mjs +0 -12
- package/dist/chunk-RGCO6BCU.mjs +0 -11
- package/dist/chunk-SFSA2WUE.mjs +0 -40
- package/dist/chunk-SFSA2WUE.mjs.map +0 -1
- package/dist/chunk-SM4TG5VI.mjs +0 -9
- package/dist/chunk-SM4TG5VI.mjs.map +0 -1
- package/dist/chunk-W3XYS7M3.mjs.map +0 -1
- package/dist/chunk-X2JENUDV.mjs +0 -16
- package/dist/chunk-XBWUYKZW.mjs +0 -10
- package/dist/chunk-YJINOUZ7.mjs +0 -10
- package/dist/color-picker.mjs +0 -4
- package/dist/dashboard-notification.mjs +0 -6
- package/dist/date-range-picker.mjs +0 -10
- package/dist/drag-and-drop.mjs +0 -60
- package/dist/draggable-stacked-list-item.mjs +0 -6
- package/dist/drawer.mjs +0 -4
- package/dist/dropdown.mjs +0 -5
- package/dist/ekm-logo.mjs +0 -4
- package/dist/feature-cards/feature-card.mjs +0 -7
- package/dist/feature-cards/staff-pick-card.mjs +0 -4
- package/dist/featurePageComponents/feature-page-group.mjs +0 -4
- package/dist/file-picker/file-listing.mjs +0 -6
- package/dist/file-picker/file-picker.mjs +0 -60
- package/dist/fixed-alert.mjs +0 -7
- package/dist/footer-heart-icon.mjs +0 -4
- package/dist/form-row.mjs +0 -6
- package/dist/image-thumbnail.mjs +0 -4
- package/dist/index.mjs +0 -60
- package/dist/input-addon.mjs +0 -4
- package/dist/input-copy.mjs +0 -6
- package/dist/label.mjs +0 -5
- package/dist/layout/layout.mjs +0 -60
- package/dist/loading-button.mjs +0 -5
- package/dist/love-footer.mjs +0 -5
- package/dist/mini-feature-block.mjs +0 -7
- package/dist/modal.mjs +0 -5
- package/dist/navbar/navbar.mjs +0 -5
- package/dist/no-results-block.mjs +0 -4
- package/dist/page-header.mjs +0 -6
- package/dist/pagination/pagination.mjs +0 -4
- package/dist/product-picker/product-drawer.mjs +0 -60
- package/dist/product-picker/product-listing.mjs +0 -7
- package/dist/progress-bar.mjs +0 -5
- package/dist/radio.mjs +0 -5
- package/dist/rich-text-editor/index.d.ts +0 -16
- package/dist/rich-text-editor/index.mjs +0 -4
- package/dist/search/search.mjs +0 -5
- package/dist/select.mjs +0 -5
- package/dist/sidebar/sidebar.mjs +0 -4
- package/dist/sort/sort.mjs +0 -5
- package/dist/spinner.mjs +0 -4
- package/dist/stacked-list-item.mjs +0 -60
- package/dist/table-header/table-header.mjs +0 -8
- package/dist/table-result-block.mjs +0 -60
- package/dist/text-row.mjs +0 -4
- package/dist/textarea.mjs +0 -5
- package/dist/textinput.mjs +0 -5
- package/dist/toggleswitch.mjs +0 -5
- package/dist/tooltip/tooltip.mjs +0 -4
- package/dist/video-dashboard-notification.mjs +0 -4
- package/dist/video-modal.mjs +0 -4
- package/src/rich-text-editor/headless-editor.ts +0 -96
- package/src/rich-text-editor/index.tsx +0 -215
- /package/dist/{accordion.mjs.map → accordion.js.map} +0 -0
- /package/dist/{alert-banner.mjs.map → alert-banner.js.map} +0 -0
- /package/dist/{alert.mjs.map → alert.js.map} +0 -0
- /package/dist/{avatar.mjs.map → avatar.js.map} +0 -0
- /package/dist/{badge.mjs.map → badge.js.map} +0 -0
- /package/dist/{breadcrumb.mjs.map → breadcrumb.js.map} +0 -0
- /package/dist/{button-group-item.mjs.map → button-group-item.js.map} +0 -0
- /package/dist/{button.mjs.map → button.js.map} +0 -0
- /package/dist/{card-payment-block.mjs.map → card-payment-block.js.map} +0 -0
- /package/dist/{card.mjs.map → card.js.map} +0 -0
- /package/dist/{checkbox.mjs.map → checkbox.js.map} +0 -0
- /package/dist/{chunk-7MH2LXFV.mjs.map → chunk-BR7EQJ6Q.js.map} +0 -0
- /package/dist/{chunk-6K6D4X6D.mjs.map → chunk-CNJDESTL.js.map} +0 -0
- /package/dist/{chunk-FVUORQJX.mjs.map → chunk-E62SCYLR.js.map} +0 -0
- /package/dist/{chunk-PJZVMYPN.mjs.map → chunk-G2WGEIWK.js.map} +0 -0
- /package/dist/{chunk-S3J72WZM.mjs.map → chunk-GI7QHCYX.js.map} +0 -0
- /package/dist/{chunk-JPF3K5TD.mjs.map → chunk-H25Q2T5N.js.map} +0 -0
- /package/dist/{chunk-QMFUWXJJ.mjs.map → chunk-JHGOFDVG.js.map} +0 -0
- /package/dist/{chunk-AYH56CFA.mjs.map → chunk-LIXVY47P.js.map} +0 -0
- /package/dist/{chunk-MPIWXVKP.mjs.map → chunk-LJMVG4UJ.js.map} +0 -0
- /package/dist/{chunk-ECOC3JRK.mjs.map → chunk-P4BV63ZR.js.map} +0 -0
- /package/dist/{chunk-3TAXDPV6.mjs.map → chunk-QKHEEDZ4.js.map} +0 -0
- /package/dist/{chunk-LVJYP46A.mjs.map → chunk-RHBXFO7R.js.map} +0 -0
- /package/dist/{chunk-P7TACBB4.mjs.map → chunk-RTRHNOTP.js.map} +0 -0
- /package/dist/{chunk-ZT7KDTGF.mjs.map → chunk-SLIZ4TDR.js.map} +0 -0
- /package/dist/{chunk-SAXGEQRG.mjs.map → chunk-TOLCGTOY.js.map} +0 -0
- /package/dist/{chunk-PJMH47GY.mjs.map → chunk-WTBH4TDX.js.map} +0 -0
- /package/dist/{chunk-23SJGKDR.mjs.map → chunk-Z4LPO673.js.map} +0 -0
- /package/dist/{color-picker.mjs.map → color-picker.js.map} +0 -0
- /package/dist/{dashboard-notification.mjs.map → dashboard-notification.js.map} +0 -0
- /package/dist/{date-range-picker.mjs.map → date-range-picker.js.map} +0 -0
- /package/dist/{drag-and-drop.mjs.map → drag-and-drop.js.map} +0 -0
- /package/dist/{draggable-stacked-list-item.mjs.map → draggable-stacked-list-item.js.map} +0 -0
- /package/dist/{drawer.mjs.map → drawer.js.map} +0 -0
- /package/dist/{dropdown.mjs.map → dropdown.js.map} +0 -0
- /package/dist/{ekm-logo.mjs.map → ekm-logo.js.map} +0 -0
- /package/dist/feature-cards/{feature-card.mjs.map → feature-card.js.map} +0 -0
- /package/dist/feature-cards/{staff-pick-card.mjs.map → staff-pick-card.js.map} +0 -0
- /package/dist/featurePageComponents/{feature-page-group.mjs.map → feature-page-group.js.map} +0 -0
- /package/dist/file-picker/{file-listing.mjs.map → file-listing.js.map} +0 -0
- /package/dist/file-picker/{file-picker.mjs.map → file-picker.js.map} +0 -0
- /package/dist/{fixed-alert.mjs.map → fixed-alert.js.map} +0 -0
- /package/dist/{footer-heart-icon.mjs.map → footer-heart-icon.js.map} +0 -0
- /package/dist/{form-row.mjs.map → form-row.js.map} +0 -0
- /package/dist/{image-thumbnail.mjs.map → image-thumbnail.js.map} +0 -0
- /package/dist/{index.mjs.map → index.js.map} +0 -0
- /package/dist/{input-addon.mjs.map → input-addon.js.map} +0 -0
- /package/dist/{input-copy.mjs.map → input-copy.js.map} +0 -0
- /package/dist/{label.mjs.map → label.js.map} +0 -0
- /package/dist/layout/{layout.mjs.map → layout.js.map} +0 -0
- /package/dist/{loading-button.mjs.map → loading-button.js.map} +0 -0
- /package/dist/{love-footer.mjs.map → love-footer.js.map} +0 -0
- /package/dist/{mini-feature-block.mjs.map → mini-feature-block.js.map} +0 -0
- /package/dist/{modal.mjs.map → modal.js.map} +0 -0
- /package/dist/navbar/{navbar.mjs.map → navbar.js.map} +0 -0
- /package/dist/{no-results-block.mjs.map → no-results-block.js.map} +0 -0
- /package/dist/{page-header.mjs.map → page-header.js.map} +0 -0
- /package/dist/pagination/{pagination.mjs.map → pagination.js.map} +0 -0
- /package/dist/product-picker/{product-drawer.mjs.map → product-drawer.js.map} +0 -0
- /package/dist/product-picker/{product-listing.mjs.map → product-listing.js.map} +0 -0
- /package/dist/{progress-bar.mjs.map → progress-bar.js.map} +0 -0
- /package/dist/{radio.mjs.map → radio.js.map} +0 -0
- /package/dist/{rich-text-editor/index.mjs.map → search/search.js.map} +0 -0
- /package/dist/{search/search.mjs.map → select.js.map} +0 -0
- /package/dist/{select.mjs.map → sidebar/sidebar.js.map} +0 -0
- /package/dist/{sidebar/sidebar.mjs.map → sort/sort.js.map} +0 -0
- /package/dist/{sort/sort.mjs.map → spinner.js.map} +0 -0
- /package/dist/{spinner.mjs.map → stacked-list-item.js.map} +0 -0
- /package/dist/{stacked-list-item.mjs.map → table-header/table-header.js.map} +0 -0
- /package/dist/{table-header/table-header.mjs.map → table-result-block.js.map} +0 -0
- /package/dist/{table-result-block.mjs.map → test-component.js.map} +0 -0
- /package/dist/{text-row.mjs.map → text-row.js.map} +0 -0
- /package/dist/{textarea.mjs.map → textarea.js.map} +0 -0
- /package/dist/{textinput.mjs.map → textinput.js.map} +0 -0
- /package/dist/toast/{index.mjs.map → index.js.map} +0 -0
- /package/dist/{toggleswitch.mjs.map → toggleswitch.js.map} +0 -0
- /package/dist/tooltip/{tooltip.mjs.map → tooltip.js.map} +0 -0
- /package/dist/{video-dashboard-notification.mjs.map → video-dashboard-notification.js.map} +0 -0
- /package/dist/{video-modal.mjs.map → video-modal.js.map} +0 -0
- /package/{postcss.config.js → postcss.config.cjs} +0 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export { e as TableResultBlock } from './chunk-TG24MK5N.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-BR7EQJ6Q.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-JNXYUDWX.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-Z4LW4UV5.js';
|
|
26
|
+
import './chunk-RUVOSKZO.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-XVBUAVHA.js';
|
|
43
|
+
import './chunk-TBZ5YABX.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
|
package/dist/text-row.js
ADDED
package/dist/textarea.js
ADDED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as ToastContext, b as ToastProvider, c as useToast } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { a as ToastContext, b as ToastProvider, c as useToast } from '../chunk-BR7EQJ6Q.js';
|
|
2
|
+
import '../chunk-Z4LPO673.js';
|
|
3
3
|
//# sourceMappingURL=out.js.map
|
|
4
|
-
//# sourceMappingURL=index.
|
|
4
|
+
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ekm-ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.81",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"**/*.css"
|
|
6
6
|
],
|
|
7
|
-
"
|
|
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/
|
|
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": "^
|
|
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": "^
|
|
55
|
+
"react-icons": "^5.2.0"
|
|
75
56
|
}
|
|
76
57
|
}
|
package/src/alert-banner.tsx
CHANGED
|
@@ -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
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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
|
-
|
|
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
|
-
|
|
61
|
-
|
|
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
|
|
96
|
+
{placeholderInitials?.toUpperCase()}
|
|
89
97
|
</span>
|
|
90
98
|
</div>
|
|
91
99
|
);
|
package/src/color-picker.tsx
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
|
|
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
|
-
}
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
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";
|
package/src/navbar/navbar.tsx
CHANGED
package/src/no-results-block.tsx
CHANGED
|
@@ -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}
|
|
@@ -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-
|
|
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/sidebar/sidebar.tsx
CHANGED
|
@@ -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/dist/alert-banner.mjs
DELETED
package/dist/alert.mjs
DELETED
package/dist/avatar.mjs
DELETED
package/dist/badge.mjs
DELETED
package/dist/breadcrumb.mjs
DELETED
package/dist/button.mjs
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
export { g as CardPaymentBlock } from './chunk-PEODF7PL.mjs';
|
|
2
|
-
import './chunk-SFSA2WUE.mjs';
|
|
3
|
-
import './chunk-YJINOUZ7.mjs';
|
|
4
|
-
import './chunk-EHJJX6ZZ.mjs';
|
|
5
|
-
import './chunk-2OTVEVU7.mjs';
|
|
6
|
-
import './chunk-D3VRYN5H.mjs';
|
|
7
|
-
import './chunk-7MH2LXFV.mjs';
|
|
8
|
-
import './chunk-FVUORQJX.mjs';
|
|
9
|
-
import './chunk-RGCO6BCU.mjs';
|
|
10
|
-
import './chunk-W3XYS7M3.mjs';
|
|
11
|
-
import './chunk-LVJYP46A.mjs';
|
|
12
|
-
import './chunk-35VEFUPA.mjs';
|
|
13
|
-
import './chunk-HOCKBMTF.mjs';
|
|
14
|
-
import './chunk-AYH56CFA.mjs';
|
|
15
|
-
import './chunk-PJZVMYPN.mjs';
|
|
16
|
-
import './chunk-ATNP3Z6G.mjs';
|
|
17
|
-
import './chunk-P7TACBB4.mjs';
|
|
18
|
-
import './chunk-QMFUWXJJ.mjs';
|
|
19
|
-
import './chunk-BK5RX7N5.mjs';
|
|
20
|
-
import './chunk-OG6UBKMG.mjs';
|
|
21
|
-
import './chunk-QFECX4D6.mjs';
|
|
22
|
-
import './chunk-3TAXDPV6.mjs';
|
|
23
|
-
import './chunk-ECOC3JRK.mjs';
|
|
24
|
-
import './chunk-6K6D4X6D.mjs';
|
|
25
|
-
import './chunk-ZO5NWKNY.mjs';
|
|
26
|
-
import './chunk-6F3XKP3G.mjs';
|
|
27
|
-
import './chunk-3AGRJPPN.mjs';
|
|
28
|
-
import './chunk-Z5YZVKS5.mjs';
|
|
29
|
-
import './chunk-DBTYTFGU.mjs';
|
|
30
|
-
import './chunk-CZC4EJOD.mjs';
|
|
31
|
-
import './chunk-76V2THLN.mjs';
|
|
32
|
-
import './chunk-MPIWXVKP.mjs';
|
|
33
|
-
import './chunk-R4A5DO7E.mjs';
|
|
34
|
-
import './chunk-ZT7KDTGF.mjs';
|
|
35
|
-
import './chunk-2PW7KHXJ.mjs';
|
|
36
|
-
import './chunk-JPF3K5TD.mjs';
|
|
37
|
-
import './chunk-PJMH47GY.mjs';
|
|
38
|
-
import './chunk-NJC2WLYK.mjs';
|
|
39
|
-
import './chunk-SM4TG5VI.mjs';
|
|
40
|
-
import './chunk-CIUW5YZ7.mjs';
|
|
41
|
-
import './chunk-PT4DPY4L.mjs';
|
|
42
|
-
import './chunk-X2JENUDV.mjs';
|
|
43
|
-
import './chunk-G5A3E5IG.mjs';
|
|
44
|
-
import './chunk-6UK5Y6KZ.mjs';
|
|
45
|
-
import './chunk-UPAA75QA.mjs';
|
|
46
|
-
import './chunk-K2G6O2LX.mjs';
|
|
47
|
-
import './chunk-XBWUYKZW.mjs';
|
|
48
|
-
import './chunk-7GLTVVKS.mjs';
|
|
49
|
-
import './chunk-PT4IH2KW.mjs';
|
|
50
|
-
import './chunk-S3J72WZM.mjs';
|
|
51
|
-
import './chunk-EX5FMSQL.mjs';
|
|
52
|
-
import './chunk-EH3ZVEVT.mjs';
|
|
53
|
-
import './chunk-E6KQBM7F.mjs';
|
|
54
|
-
import './chunk-SAXGEQRG.mjs';
|
|
55
|
-
import './chunk-QHJF4QWW.mjs';
|
|
56
|
-
import './chunk-GBY2NNWZ.mjs';
|
|
57
|
-
import './chunk-PUJZGK7Y.mjs';
|
|
58
|
-
import './chunk-23SJGKDR.mjs';
|
|
59
|
-
//# sourceMappingURL=out.js.map
|
|
60
|
-
//# sourceMappingURL=card-payment-block.mjs.map
|
package/dist/card.mjs
DELETED
package/dist/checkbox.mjs
DELETED
package/dist/chunk-2OTVEVU7.mjs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { a } from './chunk-PUJZGK7Y.mjs';
|
|
2
|
-
import { e as e$1 } from './chunk-23SJGKDR.mjs';
|
|
3
|
-
import { useState, useRef, useEffect } from 'react';
|
|
4
|
-
import { BiChevronDown } from 'react-icons/bi';
|
|
5
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
var e=e$1(a());function l({list:u,align:c="left",callback:g}){let[o,n]=useState(!0),s=useRef(0),i=useRef(null);useEffect(()=>{let t=f=>{i.current&&!i.current.contains(f.target)&&n(!0);};return document.addEventListener("click",t,!0),()=>{document.removeEventListener("click",t,!0);}},[]);let p=t=>{s.current+=1,n(!0),g(Object.assign(t,{count:s.current}));};return jsxs("div",{className:"relative",children:[jsxs("button",{id:"sortButton","data-dropdown-toggle":"dropdown",className:"text-slate-700 bg-white border border-gray-300 focus:ring-4 focus:outline-none focus:ring-gray-300 dark:bg-gray-700 dark:border-gray-600 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center w-full md:w-auto",type:"button",onClick:()=>n(!o),children:[jsx("span",{className:"flex-auto",children:"Sort"}),jsx("span",{className:"items-right flex justify-end",children:jsx(BiChevronDown,{className:"pointer-events-none"})})]}),jsx("div",{id:"sortDropdown",ref:i,className:`z-10 ${o?"hidden":""} absolute w-full md:w-44 ${c==="left"?"left-0":"right-0"} bg-white divide-y divide-gray-100 rounded-lg shadow dark:bg-gray-700`,children:jsx("ul",{className:"py-2 text-sm text-gray-700 dark:text-gray-200","aria-labelledby":"dropdownDefaultButton",children:(u||[]).map(t=>jsx("li",{onClick:()=>p(t),children:jsx("span",{className:"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white cursor-pointer",children:t.display})},`ddi=${t.value}`))})})]})}l.propTypes={list:e.default.arrayOf(e.default.shape({display:e.default.string.isRequired,value:e.default.string.isRequired,name:e.default.string.isRequired,sort:e.default.string.isRequired})).isRequired,align:e.default.oneOf(["left","right"]),callback:e.default.func.isRequired};l.displayName="Sort";
|
|
8
|
-
|
|
9
|
-
export { l as a };
|
|
10
|
-
//# sourceMappingURL=out.js.map
|
|
11
|
-
//# sourceMappingURL=chunk-2OTVEVU7.mjs.map
|
package/dist/chunk-35VEFUPA.mjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { a as a$2 } from './chunk-NJC2WLYK.mjs';
|
|
2
|
-
import { a as a$1 } from './chunk-PUJZGK7Y.mjs';
|
|
3
|
-
import { e } from './chunk-23SJGKDR.mjs';
|
|
4
|
-
import x from 'pluralize';
|
|
5
|
-
import { useRef, useState, useEffect } from 'react';
|
|
6
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
|
-
|
|
8
|
-
var a=e(a$1());function v(e){return `${window.resourceSettings.imageBasePath}${e}?v=${window.resourceSettings.version}`}function k({border:e,products:i,isMore:c,selected:m,page:d,pages:l,callback:u}){let s=useRef(),[p,b]=useState(!1);useEffect(()=>{let r=document.querySelector("#product-list");return r&&!r.hasAttribute("scroll")&&s.current.addEventListener("scroll",g),s.current!=null&&(s.current.scrollTop=0),()=>{let o=document.querySelector("#product-list");o&&o.hasAttribute("scroll")&&s.current.removeEventListener("scroll",g);}},[]);let g=()=>{if(!c)return;let r=s.current.scrollHeight-s.current.offsetHeight,o=Math.floor(s.current.scrollTop);(o==r||o+2==r||o-2==r)&&(b(!0),u({type:"FETCH_DATA",payload:!0}));},h=r=>{u({type:"SELECTION",payload:r});};return jsxs("div",{id:"product-list",ref:s,className:`${e} overflow-y-auto rounded-md border`,children:[(i||[]).map(r=>jsx(C,{product:r,selected:m.includes(r.ProductId),callback:h},`product-row-${r.Name}`)),c&&d<l&&p&&jsx(T,{})]})}function C({product:e,selected:i=!1,callback:c}){var d;let m=l=>{c(e.ProductId);};return jsxs("div",{className:`mb-1 mt-1 flex items-center pb-4 pt-4 ${i&&"bg-blue-50"} cursor-pointer justify-between border-b border-gray-100`,onClick:m,children:[jsxs("div",{className:"ml-3 flex items-center",children:[jsx("div",{className:"flex-shrink-0",children:jsx(a$2,{id:`cb-prod-${e.Id}`,name:e.Name,checked:i,onChange:()=>{}})}),jsx("div",{className:"ml-4",children:e.Image&&e.IamgeName!=="[URL-DownloadRequested]"?jsx("img",{className:"h-10 w-10 rounded-md",src:e.Image,alt:e.Name,onError:l=>{l.target.onerror=null,l.target.src=`${v("/admin/Content/images/no-image-discount.png")}`;},className:"h-10 w-10 rounded-sm"}):jsx("img",{src:v("/admin/Content/images/no-image-discount.png"),alt:e.Name,className:"h-10 w-10 rounded-sm"})}),jsxs("div",{className:"ml-4",children:[jsx("div",{className:" font-medium text-gray-900",children:e.Name}),e.Categories.length>0?jsx("div",{className:"text-xs text-gray-500",children:`${e.CategoryName} & ${x("other",e.Categories.length,!0)}`}):jsx("div",{className:"text-xs text-gray-500",children:e.CategoryName})]})]}),jsx("div",{className:"ml-4 flex-shrink-0",children:jsx("span",{className:"mr-3 text-sm text-gray-500",children:`${globalThis.globalSettings.CurrencySymbol}${e.Price.toFixed((d=globalThis.globalSettings.CurrencyExponent)!=null?d:2)}`})})]})}k.propTypes={border:a.default.string,products:a.default.array,isMore:a.default.bool,selected:a.default.array,page:a.default.number,pages:a.default.number,callback:a.default.func};C.propTypes={product:a.default.object,selected:a.default.bool,callback:a.default.func};function T(){return jsx("div",{className:"mb-1 mt-1 flex justify-center pb-4 pt-4",children:jsx("div",{role:"status",children:jsxs("svg",{"aria-hidden":"true",className:"inline-block h-8 w-8 animate-spin fill-gray-600 text-gray-200 dark:fill-gray-300 dark:text-gray-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})})})}
|
|
9
|
-
|
|
10
|
-
export { k as a };
|
|
11
|
-
//# sourceMappingURL=out.js.map
|
|
12
|
-
//# sourceMappingURL=chunk-35VEFUPA.mjs.map
|