@tnkrai/tnkr-editor 0.3.9 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&display=swap");@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap");:root{--font-poppins:"Poppins",sans-serif;--font-orbitron:"Orbitron",monospace;--font-dancing-script:"Dancing Script",cursive}.font-poppins{font-family:var(--font-poppins)}.font-orbitron{font-family:var(--font-orbitron)}.font-dancing-script{font-family:var(--font-dancing-script)}.whats-next-standalone{background:transparent;bottom:0;left:0;padding:2rem 8rem;pointer-events:none;position:fixed;right:0;width:100%;z-index:10}.whats-next-standalone>*{pointer-events:auto}.whats-next-standalone.edit-mode{margin-top:auto;padding-bottom:2rem;padding-top:3rem;pointer-events:auto;position:sticky}.whats-next-standalone .whats-next-wrapper{position:relative;width:100%}.whats-next-standalone .whats-next-container{display:flex;flex-direction:column;gap:1rem;position:relative}.whats-next-standalone .whats-next-header{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.5rem}.whats-next-standalone .whats-next-title{color:#fff;font-size:1.25rem;font-weight:600;line-height:1.5;margin:0}.whats-next-standalone .whats-next-description{color:hsla(0,0%,100%,.7);font-size:.875rem;line-height:1.5;margin:0}.whats-next-standalone .whats-next-content{display:flex;flex-direction:column;gap:.75rem}.whats-next-standalone .whats-next-add-button{width:-moz-fit-content;width:fit-content}.whats-next-standalone .whats-next-add-button .whats-next-add-icon{height:1rem;width:1rem}.whats-next-standalone .whats-next-selected{align-items:center;display:flex;gap:1rem}.whats-next-standalone .whats-next-selected .whats-next-selected-text{color:#fff;font-size:.875rem;font-weight:500}.whats-next-standalone .whats-next-selected .whats-next-actions{align-items:center;display:flex;gap:.5rem}.whats-next-standalone .whats-next-selected .whats-next-action-button{height:2rem;min-height:2rem;min-width:2rem;width:2rem}.whats-next-standalone .whats-next-selected .whats-next-action-button .whats-next-action-icon{height:.875rem;width:.875rem}.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-go-button:hover{background:rgba(16,185,129,.1);border-color:#10b981}.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-go-button:hover .whats-next-action-icon{color:#10b981}.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-edit-button:hover{background:rgba(245,158,11,.1);border-color:#f59e0b}.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-edit-button:hover .whats-next-action-icon{color:#f59e0b}.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-delete-button:hover{background:rgba(239,68,68,.1);border-color:#ef4444}.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-delete-button:hover .whats-next-action-icon{color:#ef4444}.whats-next-standalone .whats-next-modal-overlay{background:rgba(0,0,0,.5);bottom:0;left:0;position:fixed;right:0;top:0;z-index:999}.whats-next-standalone .whats-next-modal{animation:slideDown .2s ease;background:#1a1a1a;border:1px solid #313133;border-radius:12px;display:flex;flex-direction:column;left:0;margin-top:.5rem;max-height:300px;max-width:230px;overflow:hidden;position:absolute;top:0;width:240px;z-index:1000}.whats-next-standalone .whats-next-modal-body{display:flex;flex:1;flex-direction:column;min-height:0}.whats-next-standalone .whats-next-pages-list{flex:1;overflow-y:auto;padding:.5rem}.whats-next-standalone .whats-next-pages-list::-webkit-scrollbar{width:6px}.whats-next-standalone .whats-next-pages-list::-webkit-scrollbar-track{background:hsla(0,0%,100%,.05);border-radius:3px}.whats-next-standalone .whats-next-pages-list::-webkit-scrollbar-thumb{background:hsla(0,0%,100%,.2);border-radius:3px}.whats-next-standalone .whats-next-pages-list::-webkit-scrollbar-thumb:hover{background:hsla(0,0%,100%,.3)}.whats-next-standalone .whats-next-page-item{align-items:center;border-radius:8px;cursor:pointer;display:flex;justify-content:space-between;margin-bottom:.25rem;padding:.875rem;transition:all .2s ease}.whats-next-standalone .whats-next-page-item:hover{background:hsla(0,0%,100%,.05)}.whats-next-standalone .whats-next-page-item .whats-next-page-info{align-items:center;display:flex;justify-content:space-between;width:100%}.whats-next-standalone .whats-next-page-item .whats-next-page-info .whats-next-page-name{color:#fff;font-size:.875rem;font-weight:500}.whats-next-standalone .whats-next-page-item .whats-next-page-info .whats-next-page-category{background:hsla(0,0%,100%,.08);border-radius:4px;color:hsla(0,0%,100%,.5);font-size:.75rem;font-weight:500;padding:.25rem .5rem}.whats-next-standalone .whats-next-no-results{color:hsla(0,0%,100%,.5);font-size:.875rem;padding:2rem;text-align:center}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.assembly-view-container .grid{align-items:stretch}.assembly-view-container .notion-like-editor-wrapper{height:auto!important}.assembly-view-container .notion-like-editor-content .ProseMirror{height:auto!important;min-height:inherit!important}
1
+ @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&display=swap");@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap");:root{--font-poppins:"Poppins",sans-serif;--font-orbitron:"Orbitron",monospace;--font-dancing-script:"Dancing Script",cursive}.font-poppins{font-family:var(--font-poppins)}.font-orbitron{font-family:var(--font-orbitron)}.font-dancing-script{font-family:var(--font-dancing-script)}.whats-next-standalone{background:transparent;bottom:0;left:0;pointer-events:none;position:fixed;right:0;width:100%;z-index:10}.whats-next-standalone>*{pointer-events:auto}.whats-next-standalone.edit-mode{margin-top:auto;padding-bottom:2rem;padding-top:3rem;pointer-events:auto;position:sticky}.whats-next-standalone .whats-next-wrapper{position:relative;width:100%}.whats-next-standalone .whats-next-container{display:flex;flex-direction:column;gap:1rem;position:relative}.whats-next-standalone .whats-next-header{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.5rem}.whats-next-standalone .whats-next-title{color:#fff;font-size:1.25rem;font-weight:600;line-height:1.5;margin:0}.whats-next-standalone .whats-next-description{color:hsla(0,0%,100%,.7);font-size:.875rem;line-height:1.5;margin:0}.whats-next-standalone .whats-next-content{display:flex;flex-direction:column;gap:.75rem}.whats-next-standalone .whats-next-add-button{width:-moz-fit-content;width:fit-content}.whats-next-standalone .whats-next-add-button .whats-next-add-icon{height:1rem;width:1rem}.whats-next-standalone .whats-next-selected{align-items:center;display:flex;gap:1rem}.whats-next-standalone .whats-next-selected .whats-next-selected-text{color:#fff;font-size:.875rem;font-weight:500}.whats-next-standalone .whats-next-selected .whats-next-actions{align-items:center;display:flex;gap:.5rem}.whats-next-standalone .whats-next-selected .whats-next-action-button{height:2rem;min-height:2rem;min-width:2rem;width:2rem}.whats-next-standalone .whats-next-selected .whats-next-action-button .whats-next-action-icon{height:.875rem;width:.875rem}.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-go-button:hover{background:rgba(16,185,129,.1);border-color:#10b981}.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-go-button:hover .whats-next-action-icon{color:#10b981}.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-edit-button:hover{background:rgba(245,158,11,.1);border-color:#f59e0b}.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-edit-button:hover .whats-next-action-icon{color:#f59e0b}.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-delete-button:hover{background:rgba(239,68,68,.1);border-color:#ef4444}.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-delete-button:hover .whats-next-action-icon{color:#ef4444}.whats-next-standalone .whats-next-modal-overlay{background:rgba(0,0,0,.5);bottom:0;left:0;position:fixed;right:0;top:0;z-index:999}.whats-next-standalone .whats-next-modal{animation:slideDown .2s ease;background:#1a1a1a;border:1px solid #313133;border-radius:12px;display:flex;flex-direction:column;left:0;margin-top:.5rem;max-height:300px;max-width:230px;overflow:hidden;position:absolute;top:0;width:240px;z-index:1000}.whats-next-standalone .whats-next-modal-body{display:flex;flex:1;flex-direction:column;min-height:0}.whats-next-standalone .whats-next-pages-list{flex:1;overflow-y:auto;padding:.5rem}.whats-next-standalone .whats-next-pages-list::-webkit-scrollbar{width:6px}.whats-next-standalone .whats-next-pages-list::-webkit-scrollbar-track{background:hsla(0,0%,100%,.05);border-radius:3px}.whats-next-standalone .whats-next-pages-list::-webkit-scrollbar-thumb{background:hsla(0,0%,100%,.2);border-radius:3px}.whats-next-standalone .whats-next-pages-list::-webkit-scrollbar-thumb:hover{background:hsla(0,0%,100%,.3)}.whats-next-standalone .whats-next-page-item{align-items:center;border-radius:8px;cursor:pointer;display:flex;justify-content:space-between;margin-bottom:.25rem;padding:.875rem;transition:all .2s ease}.whats-next-standalone .whats-next-page-item:hover{background:hsla(0,0%,100%,.05)}.whats-next-standalone .whats-next-page-item .whats-next-page-info{align-items:center;display:flex;justify-content:space-between;width:100%}.whats-next-standalone .whats-next-page-item .whats-next-page-info .whats-next-page-name{color:#fff;font-size:.875rem;font-weight:500}.whats-next-standalone .whats-next-page-item .whats-next-page-info .whats-next-page-category{background:hsla(0,0%,100%,.08);border-radius:4px;color:hsla(0,0%,100%,.5);font-size:.75rem;font-weight:500;padding:.25rem .5rem}.whats-next-standalone .whats-next-no-results{color:hsla(0,0%,100%,.5);font-size:.875rem;padding:2rem;text-align:center}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.assembly-view-container .grid{align-items:stretch}.assembly-view-container .notion-like-editor-wrapper{height:auto!important}.assembly-view-container .notion-like-editor-content .ProseMirror{height:auto!important;min-height:inherit!important}
2
2
  /*# sourceMappingURL=styles.css.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["index.scss"],"names":[],"mappings":"AACA,qGAAqG,CACrG,kGAAkG,CAClG,wGAAwG,CAExG,MACE,mCAAqC,CACrC,oCAAsC,CACtC,8CACF,CAGA,cACE,+BACF,CAEA,eACE,gCACF,CAEA,qBACE,sCACF,CAEA,uBAQE,sBAAuB,CANvB,Q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YACF,CACA,8CAEE,YAAa,CADb,MAAO,CAEP,qBAAsB,CACtB,YACF,CACA,8CACE,MAAO,CACP,eAAgB,CAChB,aACF,CACA,iEACE,SACF,CACA,uEACE,8BAAqC,CACrC,iBACF,CACA,uEACE,6BAAoC,CACpC,iBACF,CACA,6EACE,6BACF,CACA,6CAEE,kBAAmB,CAInB,iBAAkB,CADlB,cAAe,CAJf,YAAa,CAEb,6BAA8B,CAK9B,oBAAsB,CAJtB,eAAiB,CAGjB,uBAEF,CACA,mDACE,8BACF,CACA,mEAEE,kBAAmB,CADnB,YAAa,CAEb,6BAA8B,CAC9B,UACF,CACA,yFAEE,UAAY,CADZ,iBAAmB,CAEnB,eACF,CACA,6FAGE,8BAAqC,CAErC,iBAAkB,CAHlB,wBAA+B,CAD/B,gBAAkB,CAKlB,eAAgB,CAFhB,oBAGF,CACA,8CAGE,wBAA+B,CAC/B,iBAAmB,CAFnB,YAAa,CADb,iBAIF,CACA,qBACE,GACE,SAAU,CACV,2BACF,CACA,GACE,SAAU,CACV,uBACF,CACF,CAEA,+BACE,mBACF,CACA,qDACE,qBACF,CACA,kEAEE,qBAAuB,CADvB,4BAEF","file":"styles.css","sourcesContent":["/* Google Fonts for TnkrEditor */\n@import url(\"https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap\");\n@import url(\"https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&display=swap\");\n@import url(\"https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap\");\n/* CSS Variables for fonts */\n:root {\n --font-poppins: \"Poppins\", sans-serif;\n --font-orbitron: \"Orbitron\", monospace;\n --font-dancing-script: \"Dancing Script\", cursive;\n}\n\n/* Utility classes */\n.font-poppins {\n font-family: var(--font-poppins);\n}\n\n.font-orbitron {\n font-family: var(--font-orbitron);\n}\n\n.font-dancing-script {\n font-family: var(--font-dancing-script);\n}\n\n.whats-next-standalone {\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n width: 100%;\n padding: 2rem 8rem;\n z-index: 10;\n background: transparent;\n pointer-events: none;\n}\n.whats-next-standalone > * {\n pointer-events: auto;\n}\n.whats-next-standalone.edit-mode {\n position: sticky;\n margin-top: auto;\n padding-top: 3rem;\n padding-bottom: 2rem;\n pointer-events: auto;\n}\n.whats-next-standalone .whats-next-wrapper {\n position: relative;\n width: 100%;\n}\n.whats-next-standalone .whats-next-container {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n position: relative;\n}\n.whats-next-standalone .whats-next-header {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n margin-bottom: 0.5rem;\n}\n.whats-next-standalone .whats-next-title {\n font-size: 1.25rem;\n font-weight: 600;\n color: white;\n margin: 0;\n line-height: 1.5;\n}\n.whats-next-standalone .whats-next-description {\n font-size: 0.875rem;\n color: rgba(255, 255, 255, 0.7);\n margin: 0;\n line-height: 1.5;\n}\n.whats-next-standalone .whats-next-content {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n}\n.whats-next-standalone .whats-next-add-button {\n width: fit-content;\n}\n.whats-next-standalone .whats-next-add-button .whats-next-add-icon {\n width: 1rem;\n height: 1rem;\n}\n.whats-next-standalone .whats-next-selected {\n display: flex;\n align-items: center;\n gap: 1rem;\n}\n.whats-next-standalone .whats-next-selected .whats-next-selected-text {\n font-size: 0.875rem;\n color: white;\n font-weight: 500;\n}\n.whats-next-standalone .whats-next-selected .whats-next-actions {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n}\n.whats-next-standalone .whats-next-selected .whats-next-action-button {\n width: 2rem;\n height: 2rem;\n min-width: 2rem;\n min-height: 2rem;\n}\n.whats-next-standalone .whats-next-selected .whats-next-action-button .whats-next-action-icon {\n width: 0.875rem;\n height: 0.875rem;\n}\n.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-go-button:hover {\n border-color: #10b981;\n background: rgba(16, 185, 129, 0.1);\n}\n.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-go-button:hover .whats-next-action-icon {\n color: #10b981;\n}\n.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-edit-button:hover {\n border-color: #f59e0b;\n background: rgba(245, 158, 11, 0.1);\n}\n.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-edit-button:hover .whats-next-action-icon {\n color: #f59e0b;\n}\n.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-delete-button:hover {\n border-color: #ef4444;\n background: rgba(239, 68, 68, 0.1);\n}\n.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-delete-button:hover .whats-next-action-icon {\n color: #ef4444;\n}\n.whats-next-standalone .whats-next-modal-overlay {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(0, 0, 0, 0.5);\n z-index: 999;\n}\n.whats-next-standalone .whats-next-modal {\n position: absolute;\n top: 0;\n left: 0;\n margin-top: 0.5rem;\n background: #1a1a1a;\n border: 1px solid #313133;\n border-radius: 12px;\n width: 240px;\n max-width: 230px;\n max-height: 300px;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n animation: slideDown 0.2s ease;\n z-index: 1000;\n}\n.whats-next-standalone .whats-next-modal-body {\n flex: 1;\n display: flex;\n flex-direction: column;\n min-height: 0;\n}\n.whats-next-standalone .whats-next-pages-list {\n flex: 1;\n overflow-y: auto;\n padding: 0.5rem;\n}\n.whats-next-standalone .whats-next-pages-list::-webkit-scrollbar {\n width: 6px;\n}\n.whats-next-standalone .whats-next-pages-list::-webkit-scrollbar-track {\n background: rgba(255, 255, 255, 0.05);\n border-radius: 3px;\n}\n.whats-next-standalone .whats-next-pages-list::-webkit-scrollbar-thumb {\n background: rgba(255, 255, 255, 0.2);\n border-radius: 3px;\n}\n.whats-next-standalone .whats-next-pages-list::-webkit-scrollbar-thumb:hover {\n background: rgba(255, 255, 255, 0.3);\n}\n.whats-next-standalone .whats-next-page-item {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0.875rem;\n cursor: pointer;\n border-radius: 8px;\n transition: all 0.2s ease;\n margin-bottom: 0.25rem;\n}\n.whats-next-standalone .whats-next-page-item:hover {\n background: rgba(255, 255, 255, 0.05);\n}\n.whats-next-standalone .whats-next-page-item .whats-next-page-info {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n}\n.whats-next-standalone .whats-next-page-item .whats-next-page-info .whats-next-page-name {\n font-size: 0.875rem;\n color: white;\n font-weight: 500;\n}\n.whats-next-standalone .whats-next-page-item .whats-next-page-info .whats-next-page-category {\n font-size: 0.75rem;\n color: rgba(255, 255, 255, 0.5);\n background: rgba(255, 255, 255, 0.08);\n padding: 0.25rem 0.5rem;\n border-radius: 4px;\n font-weight: 500;\n}\n.whats-next-standalone .whats-next-no-results {\n text-align: center;\n padding: 2rem;\n color: rgba(255, 255, 255, 0.5);\n font-size: 0.875rem;\n}\n@keyframes slideDown {\n from {\n opacity: 0;\n transform: translateY(-10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n.assembly-view-container .grid {\n align-items: stretch;\n}\n.assembly-view-container .notion-like-editor-wrapper {\n height: auto !important;\n}\n.assembly-view-container .notion-like-editor-content .ProseMirror {\n min-height: inherit !important;\n height: auto !important;\n}"]}
1
+ {"version":3,"sources":["index.scss"],"names":[],"mappings":"AACA,qGAAqG,CACrG,kGAAkG,CAClG,wGAAwG,CAExG,MACE,mCAAqC,CACrC,oCAAsC,CACtC,8CACF,CAGA,cACE,+BACF,CAEA,eACE,gCACF,CAEA,qBACE,sCACF,CAEA,uBAOE,sBAAuB,CALvB,QAAS,CACT,MAAO,CAKP,mBAAoB,CAPpB,cAAe,CAGf,OAAQ,CACR,UAAW,CACX,UAGF,CACA,yBACE,mBACF,CACA,iCAEE,eAAgB,CAEhB,mBAAoB,CADpB,gBAAiB,CAEjB,mBAAoB,CAJpB,eAKF,CACA,2CACE,iBAAkB,CAClB,UACF,CACA,6CACE,YAAa,CACb,qBAAsB,CACtB,QAAS,CACT,iBACF,CACA,0CACE,YAAa,CAC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AAiB,CAGjB,uBAEF,CACA,mDACE,8BACF,CACA,mEAEE,kBAAmB,CADnB,YAAa,CAEb,6BAA8B,CAC9B,UACF,CACA,yFAEE,UAAY,CADZ,iBAAmB,CAEnB,eACF,CACA,6FAGE,8BAAqC,CAErC,iBAAkB,CAHlB,wBAA+B,CAD/B,gBAAkB,CAKlB,eAAgB,CAFhB,oBAGF,CACA,8CAGE,wBAA+B,CAC/B,iBAAmB,CAFnB,YAAa,CADb,iBAIF,CACA,qBACE,GACE,SAAU,CACV,2BACF,CACA,GACE,SAAU,CACV,uBACF,CACF,CAEA,+BACE,mBACF,CACA,qDACE,qBACF,CACA,kEAEE,qBAAuB,CADvB,4BAEF","file":"styles.css","sourcesContent":["/* Google Fonts for TnkrEditor */\n@import url(\"https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap\");\n@import url(\"https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&display=swap\");\n@import url(\"https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap\");\n/* CSS Variables for fonts */\n:root {\n --font-poppins: \"Poppins\", sans-serif;\n --font-orbitron: \"Orbitron\", monospace;\n --font-dancing-script: \"Dancing Script\", cursive;\n}\n\n/* Utility classes */\n.font-poppins {\n font-family: var(--font-poppins);\n}\n\n.font-orbitron {\n font-family: var(--font-orbitron);\n}\n\n.font-dancing-script {\n font-family: var(--font-dancing-script);\n}\n\n.whats-next-standalone {\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n width: 100%;\n z-index: 10;\n background: transparent;\n pointer-events: none;\n}\n.whats-next-standalone > * {\n pointer-events: auto;\n}\n.whats-next-standalone.edit-mode {\n position: sticky;\n margin-top: auto;\n padding-top: 3rem;\n padding-bottom: 2rem;\n pointer-events: auto;\n}\n.whats-next-standalone .whats-next-wrapper {\n position: relative;\n width: 100%;\n}\n.whats-next-standalone .whats-next-container {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n position: relative;\n}\n.whats-next-standalone .whats-next-header {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n margin-bottom: 0.5rem;\n}\n.whats-next-standalone .whats-next-title {\n font-size: 1.25rem;\n font-weight: 600;\n color: white;\n margin: 0;\n line-height: 1.5;\n}\n.whats-next-standalone .whats-next-description {\n font-size: 0.875rem;\n color: rgba(255, 255, 255, 0.7);\n margin: 0;\n line-height: 1.5;\n}\n.whats-next-standalone .whats-next-content {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n}\n.whats-next-standalone .whats-next-add-button {\n width: fit-content;\n}\n.whats-next-standalone .whats-next-add-button .whats-next-add-icon {\n width: 1rem;\n height: 1rem;\n}\n.whats-next-standalone .whats-next-selected {\n display: flex;\n align-items: center;\n gap: 1rem;\n}\n.whats-next-standalone .whats-next-selected .whats-next-selected-text {\n font-size: 0.875rem;\n color: white;\n font-weight: 500;\n}\n.whats-next-standalone .whats-next-selected .whats-next-actions {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n}\n.whats-next-standalone .whats-next-selected .whats-next-action-button {\n width: 2rem;\n height: 2rem;\n min-width: 2rem;\n min-height: 2rem;\n}\n.whats-next-standalone .whats-next-selected .whats-next-action-button .whats-next-action-icon {\n width: 0.875rem;\n height: 0.875rem;\n}\n.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-go-button:hover {\n border-color: #10b981;\n background: rgba(16, 185, 129, 0.1);\n}\n.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-go-button:hover .whats-next-action-icon {\n color: #10b981;\n}\n.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-edit-button:hover {\n border-color: #f59e0b;\n background: rgba(245, 158, 11, 0.1);\n}\n.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-edit-button:hover .whats-next-action-icon {\n color: #f59e0b;\n}\n.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-delete-button:hover {\n border-color: #ef4444;\n background: rgba(239, 68, 68, 0.1);\n}\n.whats-next-standalone .whats-next-selected .whats-next-action-button.whats-next-delete-button:hover .whats-next-action-icon {\n color: #ef4444;\n}\n.whats-next-standalone .whats-next-modal-overlay {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(0, 0, 0, 0.5);\n z-index: 999;\n}\n.whats-next-standalone .whats-next-modal {\n position: absolute;\n top: 0;\n left: 0;\n margin-top: 0.5rem;\n background: #1a1a1a;\n border: 1px solid #313133;\n border-radius: 12px;\n width: 240px;\n max-width: 230px;\n max-height: 300px;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n animation: slideDown 0.2s ease;\n z-index: 1000;\n}\n.whats-next-standalone .whats-next-modal-body {\n flex: 1;\n display: flex;\n flex-direction: column;\n min-height: 0;\n}\n.whats-next-standalone .whats-next-pages-list {\n flex: 1;\n overflow-y: auto;\n padding: 0.5rem;\n}\n.whats-next-standalone .whats-next-pages-list::-webkit-scrollbar {\n width: 6px;\n}\n.whats-next-standalone .whats-next-pages-list::-webkit-scrollbar-track {\n background: rgba(255, 255, 255, 0.05);\n border-radius: 3px;\n}\n.whats-next-standalone .whats-next-pages-list::-webkit-scrollbar-thumb {\n background: rgba(255, 255, 255, 0.2);\n border-radius: 3px;\n}\n.whats-next-standalone .whats-next-pages-list::-webkit-scrollbar-thumb:hover {\n background: rgba(255, 255, 255, 0.3);\n}\n.whats-next-standalone .whats-next-page-item {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0.875rem;\n cursor: pointer;\n border-radius: 8px;\n transition: all 0.2s ease;\n margin-bottom: 0.25rem;\n}\n.whats-next-standalone .whats-next-page-item:hover {\n background: rgba(255, 255, 255, 0.05);\n}\n.whats-next-standalone .whats-next-page-item .whats-next-page-info {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n}\n.whats-next-standalone .whats-next-page-item .whats-next-page-info .whats-next-page-name {\n font-size: 0.875rem;\n color: white;\n font-weight: 500;\n}\n.whats-next-standalone .whats-next-page-item .whats-next-page-info .whats-next-page-category {\n font-size: 0.75rem;\n color: rgba(255, 255, 255, 0.5);\n background: rgba(255, 255, 255, 0.08);\n padding: 0.25rem 0.5rem;\n border-radius: 4px;\n font-weight: 500;\n}\n.whats-next-standalone .whats-next-no-results {\n text-align: center;\n padding: 2rem;\n color: rgba(255, 255, 255, 0.5);\n font-size: 0.875rem;\n}\n@keyframes slideDown {\n from {\n opacity: 0;\n transform: translateY(-10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n.assembly-view-container .grid {\n align-items: stretch;\n}\n.assembly-view-container .notion-like-editor-wrapper {\n height: auto !important;\n}\n.assembly-view-container .notion-like-editor-content .ProseMirror {\n min-height: inherit !important;\n height: auto !important;\n}"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tnkrai/tnkr-editor",
3
- "version": "0.3.9",
3
+ "version": "0.4.0",
4
4
  "type": "module",
5
5
  "description": "A customizable wrapper around Tiptap Editor with TypeScript support and modular architecture",
6
6
  "main": "dist/index.cjs",