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.
- package/.turbo/turbo-build.log +269 -282
- package/CHANGELOG.md +13 -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-6K6D4X6D.mjs → chunk-CNJDESTL.js} +1 -1
- package/dist/chunk-DSJ5TRZW.js +10 -0
- package/dist/chunk-DSJ5TRZW.js.map +1 -0
- 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-HTXOCBXA.js +11 -0
- package/dist/chunk-HTXOCBXA.js.map +1 -0
- 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-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-MD4AM55R.js +16 -0
- package/dist/{chunk-X2JENUDV.mjs.map → chunk-MD4AM55R.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-PZIZGHZJ.js +34 -0
- package/dist/{chunk-PEODF7PL.mjs.map → chunk-PZIZGHZJ.js.map} +1 -1
- package/dist/chunk-Q3HXAUZP.js +11 -0
- package/dist/chunk-Q3HXAUZP.js.map +1 -0
- 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-RS2EPFQY.js +8 -0
- package/dist/chunk-RS2EPFQY.js.map +1 -0
- package/dist/{chunk-P7TACBB4.mjs → chunk-RTRHNOTP.js} +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-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-ZO5NWKNY.mjs → chunk-TXDBBVCI.js} +2 -2
- package/dist/{chunk-ZO5NWKNY.mjs.map → chunk-TXDBBVCI.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-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/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.d.ts +2 -1
- 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/page-header.tsx +6 -3
- package/src/product-picker/product-listing.tsx +1 -2
- package/src/select.tsx +2 -2
- package/src/sidebar/sidebar.tsx +1 -0
- package/src/test-component.tsx +13 -0
- package/src/textinput.tsx +3 -0
- package/src/toast/index.tsx +2 -2
- 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-6F3XKP3G.mjs.map +0 -1
- package/dist/chunk-76V2THLN.mjs.map +0 -1
- package/dist/chunk-7MH2LXFV.mjs +0 -11
- package/dist/chunk-7MH2LXFV.mjs.map +0 -1
- package/dist/chunk-BK5RX7N5.mjs +0 -8
- package/dist/chunk-BK5RX7N5.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-G5A3E5IG.mjs.map +0 -1
- 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-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-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
|
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-Q3HXAUZP.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.83",
|
|
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}
|
package/src/page-header.tsx
CHANGED
|
@@ -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
|
-
|
|
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-
|
|
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
|
})
|
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/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>
|
package/src/toast/index.tsx
CHANGED
|
@@ -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>
|
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