@jackuait/blok 0.10.5 → 0.10.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (311) hide show
  1. package/dist/blok.mjs +2 -2
  2. package/dist/chunks/_basePickBy--UeZi0iS.mjs +166 -0
  3. package/dist/chunks/_baseUniq-C977U_l-.mjs +682 -0
  4. package/dist/chunks/{arc-D-pL2Ftf.mjs → arc-Woh6y3jm.mjs} +2 -2
  5. package/dist/chunks/architecture-YZFGNWBL-aVO23UKm.mjs +3 -0
  6. package/dist/chunks/{architectureDiagram-Q4EWVU46-DS7mqjL2.mjs → architectureDiagram-Q4EWVU46-GTqLmLqg.mjs} +115 -115
  7. package/dist/chunks/{blockDiagram-DXYQGD6D-BTtcn4NG.mjs → blockDiagram-DXYQGD6D-CML01I1L.mjs} +681 -866
  8. package/dist/chunks/{blok-DSP5zC_s.mjs → blok-oWXfRfnM.mjs} +610 -566
  9. package/dist/chunks/{c4Diagram-AHTNJAMY-Y4Dcwcoo.mjs → c4Diagram-AHTNJAMY-C29OuYjO.mjs} +239 -239
  10. package/dist/chunks/{channel-Cln-eWE0.mjs → channel-Zp_OyvEW.mjs} +1 -1
  11. package/dist/chunks/{chunk-2KRD3SAO-DkM7qh-k.mjs → chunk-2KRD3SAO-mVfUZfox.mjs} +1 -1
  12. package/dist/chunks/{chunk-336JU56O-B17AtzlK.mjs → chunk-336JU56O-mJNxs0cr.mjs} +18 -18
  13. package/dist/chunks/{chunk-426QAEUC-D6UAVUog.mjs → chunk-426QAEUC-TajZlyP-.mjs} +2 -2
  14. package/dist/chunks/{chunk-4BX2VUAB-CgIkjF7Z.mjs → chunk-4BX2VUAB-CsopMMb6.mjs} +1 -1
  15. package/dist/chunks/{chunk-4TB4RGXK-BUP4eON3.mjs → chunk-4TB4RGXK-DC963IrJ.mjs} +129 -129
  16. package/dist/chunks/{chunk-55IACEB6-zZ-IgaSt.mjs → chunk-55IACEB6-yyL3mncJ.mjs} +1 -1
  17. package/dist/chunks/{chunk-5FUZZQ4R-DsZnJYxM.mjs → chunk-5FUZZQ4R-Dr4NE8rh.mjs} +663 -663
  18. package/dist/chunks/chunk-5PVQY5BW-BP7ENjg7.mjs +1122 -0
  19. package/dist/chunks/{chunk-67CJDMHE-m0UKdcSH.mjs → chunk-67CJDMHE-Dbl-PjEf.mjs} +1 -1
  20. package/dist/chunks/{chunk-7N4EOEYR-DKNajFZd.mjs → chunk-7N4EOEYR-p-g3cKuX.mjs} +1 -1
  21. package/dist/chunks/{chunk-AA7GKIK3-BeLhNzKa.mjs → chunk-AA7GKIK3-Dt0Kr5Va.mjs} +1 -1
  22. package/dist/chunks/{chunk-BSJP7CBP-CJExmx8a.mjs → chunk-BSJP7CBP-DGU2WHwh.mjs} +1 -1
  23. package/dist/chunks/{chunk-CIAEETIT-CTikoJ19.mjs → chunk-CIAEETIT-BQ4crY5r.mjs} +1 -1
  24. package/dist/chunks/{chunk-EDXVE4YY-DjInnnwb.mjs → chunk-EDXVE4YY-B9_aGwkV.mjs} +2 -2
  25. package/dist/chunks/{chunk-ENJZ2VHE-CIl5FRDA.mjs → chunk-ENJZ2VHE-23pY8ft5.mjs} +243 -243
  26. package/dist/chunks/{chunk-FMBD7UC4-DjV0W7UE.mjs → chunk-FMBD7UC4-D_RQlBGX.mjs} +1 -1
  27. package/dist/chunks/{chunk-FOC6F5B3-LmHCCWYY.mjs → chunk-FOC6F5B3-CJfr-iwx.mjs} +1 -1
  28. package/dist/chunks/{chunk-ICPOFSXX-BHZIN46A.mjs → chunk-ICPOFSXX-BOvOTlG6.mjs} +2 -2
  29. package/dist/chunks/{chunk-K5T4RW27-BPZ6fFnW.mjs → chunk-K5T4RW27-CHSI0vpp.mjs} +572 -570
  30. package/dist/chunks/{chunk-KGLVRYIC-S1OQdW76.mjs → chunk-KGLVRYIC-ngXT4XVA.mjs} +1 -1
  31. package/dist/chunks/{chunk-LIHQZDEY-CjtyJlI6.mjs → chunk-LIHQZDEY-CnP7bym1.mjs} +1 -1
  32. package/dist/chunks/{chunk-ORNJ4GCN-CdO0hAge.mjs → chunk-ORNJ4GCN-BPaghT45.mjs} +1 -1
  33. package/dist/chunks/{chunk-OYMX7WX6-ApX8eV4o.mjs → chunk-OYMX7WX6-CKjTvqTg.mjs} +172 -172
  34. package/dist/chunks/{chunk-QZHKN3VN-BGFuA6-k.mjs → chunk-QZHKN3VN-uW1N2UWF.mjs} +1 -1
  35. package/dist/chunks/{chunk-U2HBQHQK-B88ZUOTL.mjs → chunk-U2HBQHQK-DiQOEtQH.mjs} +65 -65
  36. package/dist/chunks/{chunk-X2U36JSP-1VS5TyCr.mjs → chunk-X2U36JSP-Cznp5Jm-.mjs} +2 -2
  37. package/dist/chunks/{chunk-XPW4576I-BMupdrvo.mjs → chunk-XPW4576I-W5t_agZI.mjs} +1 -1
  38. package/dist/chunks/{chunk-YZCP3GAM-BQ7eEsm2.mjs → chunk-YZCP3GAM-BV02tG_z.mjs} +3 -3
  39. package/dist/chunks/{chunk-ZZ45TVLE-D1xks9zd.mjs → chunk-ZZ45TVLE-D28EyJ6R.mjs} +7 -7
  40. package/dist/chunks/classDiagram-6PBFFD2Q-DXsClapu.mjs +30 -0
  41. package/dist/chunks/classDiagram-v2-HSJHXN6E-B6TlQ_PM.mjs +30 -0
  42. package/dist/chunks/{clone-Ckjt1LtE.mjs → clone-CUNvBGto.mjs} +1 -1
  43. package/dist/chunks/{constants-B0Tns0mh.mjs → constants-BQ1-lyZI.mjs} +4 -2
  44. package/dist/chunks/{cose-bilkent-S5V4N54A-Bpcs2jA_.mjs → cose-bilkent-S5V4N54A-D-Xgf_Xn.mjs} +2 -2
  45. package/dist/chunks/{cpp-BdjvAny0.mjs → cpp-DaTV1RSp.mjs} +2 -2
  46. package/dist/chunks/{dagre-KV5264BT-DUD9ikgN.mjs → dagre-KV5264BT-BB3SAlfA.mjs} +15 -15
  47. package/dist/chunks/{dagre-CGNbYTKq.mjs → dagre-dysBn-m8.mjs} +499 -552
  48. package/dist/chunks/diagram-5BDNPKRD-B1410bPG.mjs +112 -0
  49. package/dist/chunks/{diagram-G4DWMVQ6-CuS0-h95.mjs → diagram-G4DWMVQ6-CdhBBETB.mjs} +82 -82
  50. package/dist/chunks/{diagram-MMDJMWI5-C-AEApYz.mjs → diagram-MMDJMWI5-B3HWfHe1.mjs} +48 -48
  51. package/dist/chunks/{diagram-TYMM5635-CiwAJVMq.mjs → diagram-TYMM5635-D0JzRYCN.mjs} +51 -51
  52. package/dist/chunks/{erDiagram-SMLLAGMA-DeH5yck2.mjs → erDiagram-SMLLAGMA-DfIG0QBk.mjs} +142 -142
  53. package/dist/chunks/{flowDiagram-DWJPFMVM-Cr6dwmQ5.mjs → flowDiagram-DWJPFMVM-BOL8JsQX.mjs} +176 -176
  54. package/dist/chunks/{ganttDiagram-T4ZO3ILL-K-divBg_.mjs → ganttDiagram-T4ZO3ILL-CiUr_YRw.mjs} +230 -230
  55. package/dist/chunks/gitGraph-7Q5UKJZL-B3aq166w.mjs +3 -0
  56. package/dist/chunks/{gitGraphDiagram-UUTBAWPF-UytPZv72.mjs → gitGraphDiagram-UUTBAWPF-CtNkTTWO.mjs} +218 -218
  57. package/dist/chunks/{graphlib-Cye9EPNq.mjs → graphlib-BXNPwKuI.mjs} +48 -46
  58. package/dist/chunks/{graphql-BSnqmqgO.mjs → graphql-DNumR9m-.mjs} +2 -2
  59. package/dist/chunks/{html-BLNeZvnp.mjs → html-CanPsi1Y.mjs} +2 -2
  60. package/dist/chunks/{i18next-loader-D_v0EmDP.mjs → i18next-loader-CIXsptng.mjs} +1 -1
  61. package/dist/chunks/info-OMHHGYJF-SX91-Wub.mjs +3 -0
  62. package/dist/chunks/{infoDiagram-42DDH7IO-DuYnDbF3.mjs → infoDiagram-42DDH7IO-CD7nVBvi.mjs} +14 -14
  63. package/dist/chunks/isArrayLikeObject-DzUNFfIK.mjs +578 -0
  64. package/dist/chunks/isEmpty-D8B0aRsG.mjs +35 -0
  65. package/dist/chunks/{ishikawaDiagram-UXIWVN3A-CHc59dLn.mjs → ishikawaDiagram-UXIWVN3A-BOaC9qJs.mjs} +81 -81
  66. package/dist/chunks/{journeyDiagram-VCZTEJTY-CD25C4_n.mjs → journeyDiagram-VCZTEJTY-DKf55ZdJ.mjs} +6 -6
  67. package/dist/chunks/{kanban-definition-6JOO6SKY-CTCT6N_p.mjs → kanban-definition-6JOO6SKY-D2CrAXqB.mjs} +11 -11
  68. package/dist/chunks/{latex-24n3TcOR.mjs → latex-DY1HNB4U.mjs} +1 -1
  69. package/dist/chunks/line-CuvDsrkE.mjs +34 -0
  70. package/dist/chunks/{linear-BRCpMvtr.mjs → linear-JRIqMpGQ.mjs} +3 -3
  71. package/dist/chunks/{lua-DV0fuZWx.mjs → lua-COOfzihE.mjs} +1 -1
  72. package/dist/chunks/{mermaid-parser.core-CA3DKkuk.mjs → mermaid-parser.core-BhpZC2lA.mjs} +10 -10
  73. package/dist/chunks/mermaid.core-C40gcVfv.mjs +977 -0
  74. package/dist/chunks/{micromark-extension-math-BbkUb36G.mjs → micromark-extension-math-D-s54WWf.mjs} +1 -1
  75. package/dist/chunks/{mindmap-definition-QFDTVHPH-hNnyBkEP.mjs → mindmap-definition-QFDTVHPH-C-0fwUUS.mjs} +13 -13
  76. package/dist/chunks/{ordinal-B-kolV-i.mjs → ordinal-fyJMP-lj.mjs} +1 -1
  77. package/dist/chunks/packet-4T2RLAQJ-suhU85JN.mjs +3 -0
  78. package/dist/chunks/{php-DmXKyPwJ.mjs → php-DA-SOiqC.mjs} +6 -6
  79. package/dist/chunks/pie-ZZUOXDRM-DF5e16CP.mjs +3 -0
  80. package/dist/chunks/pieDiagram-DEJITSTG-BPyqheXv.mjs +179 -0
  81. package/dist/chunks/{quadrantDiagram-34T5L4WZ-CQ5fGYI5.mjs → quadrantDiagram-34T5L4WZ-kOZ1zIXB.mjs} +4 -4
  82. package/dist/chunks/radar-PYXPWWZC-DgzodpRv.mjs +3 -0
  83. package/dist/chunks/{requirementDiagram-MS252O5E-DjWKB42c.mjs → requirementDiagram-MS252O5E-C8Zkq6Lq.mjs} +64 -64
  84. package/dist/chunks/{ruby-DdOo03Kg.mjs → ruby-HDUjp8gK.mjs} +11 -11
  85. package/dist/chunks/{sankeyDiagram-XADWPNL6-BIN2evSB.mjs → sankeyDiagram-XADWPNL6-B0FhkAL9.mjs} +3 -3
  86. package/dist/chunks/{sequenceDiagram-FGHM5R23-CQz2lMoS.mjs → sequenceDiagram-FGHM5R23-Dv2H5Lbc.mjs} +447 -447
  87. package/dist/chunks/stateDiagram-FHFEXIEX-D1vcO7H_.mjs +218 -0
  88. package/dist/chunks/stateDiagram-v2-QKLJ7IA2-AoHzFiaI.mjs +28 -0
  89. package/dist/chunks/{timeline-definition-GMOUNBTQ-CzvQ7Lav.mjs → timeline-definition-GMOUNBTQ-DJmJ0TPa.mjs} +195 -195
  90. package/dist/chunks/{tools-KZmhOKEo.mjs → tools-MuBQQyZ-.mjs} +102 -100
  91. package/dist/chunks/treeView-SZITEDCU-C1mc9PWf.mjs +3 -0
  92. package/dist/chunks/treemap-W4RFUUIX-ClV9Slyp.mjs +3 -0
  93. package/dist/chunks/{vennDiagram-DHZGUBPP-B0DmLQqe.mjs → vennDiagram-DHZGUBPP-Dx1rMP24.mjs} +76 -76
  94. package/dist/chunks/wardley-RL74JXVD-Dj7t7jHR.mjs +3 -0
  95. package/dist/chunks/{wardleyDiagram-NUSXRM2D-CzoKesUw.mjs → wardleyDiagram-NUSXRM2D-Dnm6lvMn.mjs} +15 -15
  96. package/dist/chunks/{xml-g8kXXALs.mjs → xml-Dq1lpp8G.mjs} +1 -1
  97. package/dist/chunks/{xychartDiagram-5P7HB3ND-CixwR8r2.mjs → xychartDiagram-5P7HB3ND-C9wFc2e9.mjs} +120 -120
  98. package/dist/full.mjs +3 -3
  99. package/dist/markdown.mjs +1 -1
  100. package/dist/react.mjs +2 -2
  101. package/dist/tools.mjs +2 -2
  102. package/dist/vendor.LICENSE.txt +64 -64
  103. package/package.json +3 -2
  104. package/src/components/block/index.ts +2 -2
  105. package/src/components/block-tunes/block-tune-delete.ts +1 -0
  106. package/src/components/modules/blockEvents/composers/markdownShortcuts.ts +105 -2
  107. package/src/components/modules/blockEvents/constants.ts +24 -0
  108. package/src/components/modules/blockManager/blockManager.ts +1 -1
  109. package/src/components/modules/blockManager/types.ts +1 -1
  110. package/src/components/modules/themeManager.ts +13 -3
  111. package/src/components/modules/toolbar/blockSettings.ts +89 -11
  112. package/src/components/modules/yjs/document-store.ts +1 -1
  113. package/src/components/modules/yjs/index.ts +1 -1
  114. package/src/components/utils/popover/popover-abstract.ts +9 -0
  115. package/src/tools/code/index.ts +1 -0
  116. package/src/tools/quote/index.ts +1 -0
  117. package/types/configs/blok-config.d.ts +13 -3
  118. package/types/configs/index.d.ts +1 -0
  119. package/types/configs/user-info.d.ts +14 -0
  120. package/types/data-formats/output-data.d.ts +2 -2
  121. package/types/index.d.ts +1 -0
  122. package/dist/chunks/_basePickBy-DISiGhsr.mjs +0 -410
  123. package/dist/chunks/_baseUniq-gAuHRtRF.mjs +0 -1045
  124. package/dist/chunks/_getTag-Aj56Wgor.mjs +0 -26
  125. package/dist/chunks/architecture-YZFGNWBL-CuqTb_ae.mjs +0 -3
  126. package/dist/chunks/chunk-5PVQY5BW-CORl9dnu.mjs +0 -1692
  127. package/dist/chunks/classDiagram-6PBFFD2Q-C59BZJxp.mjs +0 -30
  128. package/dist/chunks/classDiagram-v2-HSJHXN6E-7a0qeMsE.mjs +0 -30
  129. package/dist/chunks/diagram-5BDNPKRD-CZGfTYEe.mjs +0 -112
  130. package/dist/chunks/gitGraph-7Q5UKJZL-Dl-vQzrq.mjs +0 -3
  131. package/dist/chunks/info-OMHHGYJF-BOejJvJR.mjs +0 -3
  132. package/dist/chunks/line-Dct5pMmw.mjs +0 -34
  133. package/dist/chunks/mermaid.core-CA8nc1sZ.mjs +0 -989
  134. package/dist/chunks/packet-4T2RLAQJ-B5ZMgwzZ.mjs +0 -3
  135. package/dist/chunks/pie-ZZUOXDRM-B9l6y0XJ.mjs +0 -3
  136. package/dist/chunks/pieDiagram-DEJITSTG-Gw-fsc6U.mjs +0 -179
  137. package/dist/chunks/radar-PYXPWWZC-D5kYmUaB.mjs +0 -3
  138. package/dist/chunks/stateDiagram-FHFEXIEX-BIBFsF65.mjs +0 -218
  139. package/dist/chunks/stateDiagram-v2-QKLJ7IA2-BZUmAVw7.mjs +0 -28
  140. package/dist/chunks/treeView-SZITEDCU-BNtnNxpI.mjs +0 -3
  141. package/dist/chunks/treemap-W4RFUUIX-DYENULz2.mjs +0 -3
  142. package/dist/chunks/wardley-RL74JXVD-ByNHVBTb.mjs +0 -3
  143. /package/dist/chunks/{am-BxlkYGsI.mjs → am-Bbd7cTHS.mjs} +0 -0
  144. /package/dist/chunks/{ar-9vlpr9V8.mjs → ar-Bo71sCQE.mjs} +0 -0
  145. /package/dist/chunks/{array-BsrkCVSZ.mjs → array-DbiMs_0t.mjs} +0 -0
  146. /package/dist/chunks/{az-ON63W_FP.mjs → az-BnNrO_xK.mjs} +0 -0
  147. /package/dist/chunks/{bg-CtXWTP5w.mjs → bg-CMd2n-OG.mjs} +0 -0
  148. /package/dist/chunks/{bn-BERvhXM4.mjs → bn-B3lorfXA.mjs} +0 -0
  149. /package/dist/chunks/{bs-CBg8NVPG.mjs → bs-_zM8QBsA.mjs} +0 -0
  150. /package/dist/chunks/{c-C6JXJf5K.mjs → c-DmKJe6GM.mjs} +0 -0
  151. /package/dist/chunks/{core-Bm6DWt7D.mjs → core-C942GvJO.mjs} +0 -0
  152. /package/dist/chunks/{cs-DeQddxS7.mjs → cs-nodpmLBf.mjs} +0 -0
  153. /package/dist/chunks/{csharp-YHxeHpeH.mjs → csharp-Drv96dbi.mjs} +0 -0
  154. /package/dist/chunks/{css-DdLevFaX.mjs → css-82tNAoU6.mjs} +0 -0
  155. /package/dist/chunks/{cytoscape.esm-BvD8wo00.mjs → cytoscape.esm-DSb9a7HE.mjs} +0 -0
  156. /package/dist/chunks/{da-DyTo-ec_.mjs → da-DwzgQcXQ.mjs} +0 -0
  157. /package/dist/chunks/{dart-DrPWqfcC.mjs → dart-DE9j8McI.mjs} +0 -0
  158. /package/dist/chunks/{de-Cu7545m1.mjs → de-BvWPiNt6.mjs} +0 -0
  159. /package/dist/chunks/{defaultLocale-ChuSeAxU.mjs → defaultLocale-yTyMJ3IT.mjs} +0 -0
  160. /package/dist/chunks/{dist-Ctq-pyfb.mjs → dist-X14EnMrO.mjs} +0 -0
  161. /package/dist/chunks/{dockerfile-C68ALcaN.mjs → dockerfile-D9DFksUy.mjs} +0 -0
  162. /package/dist/chunks/{el-oiubLRBq.mjs → el-B_D7wUrZ.mjs} +0 -0
  163. /package/dist/chunks/{engine-javascript-CJpnSvzf.mjs → engine-javascript-Dd6ViPCH.mjs} +0 -0
  164. /package/dist/chunks/{es-DZUC6Klv.mjs → es-Bn_ZFyW9.mjs} +0 -0
  165. /package/dist/chunks/{et-CDeklAog.mjs → et-CUcULjoh.mjs} +0 -0
  166. /package/dist/chunks/{fa-Cafp7_Li.mjs → fa-BRhCTsOy.mjs} +0 -0
  167. /package/dist/chunks/{fi-BD_V_aVW.mjs → fi-BEvyU9n6.mjs} +0 -0
  168. /package/dist/chunks/{fil-Crsfbtx4.mjs → fil-Dlp1_W2B.mjs} +0 -0
  169. /package/dist/chunks/{fr-BGGc04Zv.mjs → fr-DJBeOAx1.mjs} +0 -0
  170. /package/dist/chunks/{go-Fm5N96DN.mjs → go-jyWjtO8q.mjs} +0 -0
  171. /package/dist/chunks/{gu-Vg_BgCTp.mjs → gu-0hWvx16l.mjs} +0 -0
  172. /package/dist/chunks/{he-DTY9chlZ.mjs → he-CYe88qXp.mjs} +0 -0
  173. /package/dist/chunks/{hi-DChMXk0x.mjs → hi-DuLkkPWn.mjs} +0 -0
  174. /package/dist/chunks/{hr-BWVgNU8k.mjs → hr-BwCB1IMW.mjs} +0 -0
  175. /package/dist/chunks/{hu-B37awHXA.mjs → hu-C2dLyTeX.mjs} +0 -0
  176. /package/dist/chunks/{hy-DGC_GDHh.mjs → hy-DXKoDpv9.mjs} +0 -0
  177. /package/dist/chunks/{i18next-CXx5niYF.mjs → i18next-CLUkHqmV.mjs} +0 -0
  178. /package/dist/chunks/{id-V7cw6La2.mjs → id-D4chLuW_.mjs} +0 -0
  179. /package/dist/chunks/{init-C6T-mugb.mjs → init-BlLeEogJ.mjs} +0 -0
  180. /package/dist/chunks/{it-DrTGP8Rn.mjs → it-Hto3G26t.mjs} +0 -0
  181. /package/dist/chunks/{ja-DS4pbJEG.mjs → ja-UxHm_PPZ.mjs} +0 -0
  182. /package/dist/chunks/{java-83DWBpzu.mjs → java-Dhv78FEb.mjs} +0 -0
  183. /package/dist/chunks/{javascript-CBgeF1Xx.mjs → javascript-DilE9EuZ.mjs} +0 -0
  184. /package/dist/chunks/{json-BI17y-1H.mjs → json-LUtHrtDA.mjs} +0 -0
  185. /package/dist/chunks/{ka-BueyosRh.mjs → ka-BnjXwPUq.mjs} +0 -0
  186. /package/dist/chunks/{katex-CmTPfM0f.mjs → katex-B8jUB5Cv.mjs} +0 -0
  187. /package/dist/chunks/{km-B0K891yW.mjs → km-exgzZBIE.mjs} +0 -0
  188. /package/dist/chunks/{kn-BQ__skg8.mjs → kn-DjjUg8aO.mjs} +0 -0
  189. /package/dist/chunks/{ko-BuPxi_7e.mjs → ko-Cu0YUSV6.mjs} +0 -0
  190. /package/dist/chunks/{kotlin-DjnvsrfO.mjs → kotlin-DFLPXbOQ.mjs} +0 -0
  191. /package/dist/chunks/{ku-nQjwPRw2.mjs → ku-D-IxJ0fx.mjs} +0 -0
  192. /package/dist/chunks/{lo-K5NVFoq1.mjs → lo-BcwjJBcv.mjs} +0 -0
  193. /package/dist/chunks/{lt-D3xD6Eb2.mjs → lt-Bt05MFPC.mjs} +0 -0
  194. /package/dist/chunks/{lv-DH13mzZj.mjs → lv-B01TmEFW.mjs} +0 -0
  195. /package/dist/chunks/{markdown-BqQYT45f.mjs → markdown-C6pnqcPd.mjs} +0 -0
  196. /package/dist/chunks/{mdast-util-math-BlK2Zu-1.mjs → mdast-util-math-D56mMxhB.mjs} +0 -0
  197. /package/dist/chunks/{mermaid-vF0cEnZ0.mjs → mermaid-BKA834jS.mjs} +0 -0
  198. /package/dist/chunks/{messages-Buwm8xrX2.mjs → messages--G2XLc8E.mjs} +0 -0
  199. /package/dist/chunks/{messages-DKjUcEfs.mjs → messages-3kHDtQLN.mjs} +0 -0
  200. /package/dist/chunks/{messages-f-YBthdd2.mjs → messages-4Y8dL_1j2.mjs} +0 -0
  201. /package/dist/chunks/{messages--tSqMtkx2.mjs → messages-9Nx7kteY2.mjs} +0 -0
  202. /package/dist/chunks/{messages-B5ZVSxG4.mjs → messages-B29Wm2zT.mjs} +0 -0
  203. /package/dist/chunks/{messages-CDtmVcBc.mjs → messages-B9mzGzZ_.mjs} +0 -0
  204. /package/dist/chunks/{messages-B9PUHq4t.mjs → messages-BCfsOOlp.mjs} +0 -0
  205. /package/dist/chunks/{messages-adEATsLK.mjs → messages-BJTwY1tq.mjs} +0 -0
  206. /package/dist/chunks/{messages-DqGv-lj6.mjs → messages-BK6AwU6C.mjs} +0 -0
  207. /package/dist/chunks/{messages-DGYjioKM.mjs → messages-BPxMr5HC.mjs} +0 -0
  208. /package/dist/chunks/{messages-DKZHsfXy2.mjs → messages-BS9zk4mI2.mjs} +0 -0
  209. /package/dist/chunks/{messages-CEWKcK-Q.mjs → messages-BSXBVdsp.mjs} +0 -0
  210. /package/dist/chunks/{messages-gNK1EolD.mjs → messages-BSyO1EWC.mjs} +0 -0
  211. /package/dist/chunks/{messages-DggaAu362.mjs → messages-BUQTXTew2.mjs} +0 -0
  212. /package/dist/chunks/{messages-Bg8uBETk2.mjs → messages-Bhn5V9FQ2.mjs} +0 -0
  213. /package/dist/chunks/{messages-bteFpBer.mjs → messages-Bi629xgG.mjs} +0 -0
  214. /package/dist/chunks/{messages-Dle6Hv30.mjs → messages-BimpUMRx.mjs} +0 -0
  215. /package/dist/chunks/{messages-Bedied602.mjs → messages-BkaUIuz-2.mjs} +0 -0
  216. /package/dist/chunks/{messages-DIUegdwv2.mjs → messages-BmC2yhsC2.mjs} +0 -0
  217. /package/dist/chunks/{messages-Blg1X6YL.mjs → messages-Bo7Cbk_O.mjs} +0 -0
  218. /package/dist/chunks/{messages-CdWS0hvw.mjs → messages-Bq7fo8X0.mjs} +0 -0
  219. /package/dist/chunks/{messages-3w1e16T2.mjs → messages-BsqBho4T.mjs} +0 -0
  220. /package/dist/chunks/{messages-BqKIunt0.mjs → messages-C7E8C3-S.mjs} +0 -0
  221. /package/dist/chunks/{messages-JRjsu_bC.mjs → messages-C9QhLDA2.mjs} +0 -0
  222. /package/dist/chunks/{messages-D5lY22F4.mjs → messages-C9UIaF6N.mjs} +0 -0
  223. /package/dist/chunks/{messages-BmDMK9Dg.mjs → messages-CAX3qQi0.mjs} +0 -0
  224. /package/dist/chunks/{messages-CrCalcxK.mjs → messages-CEJtxBxU.mjs} +0 -0
  225. /package/dist/chunks/{messages-D5NWb-B9.mjs → messages-CF0SW1zy.mjs} +0 -0
  226. /package/dist/chunks/{messages--X-ZzYSb.mjs → messages-CIre8L_r.mjs} +0 -0
  227. /package/dist/chunks/{messages-DalLfJNC.mjs → messages-CJ8IkF1P.mjs} +0 -0
  228. /package/dist/chunks/{messages-b8XGiuAa2.mjs → messages-CKP6aUXN2.mjs} +0 -0
  229. /package/dist/chunks/{messages-DlTG06-j.mjs → messages-CMMq-u7e.mjs} +0 -0
  230. /package/dist/chunks/{messages-ByHXyVi6.mjs → messages-CR5irc8q.mjs} +0 -0
  231. /package/dist/chunks/{messages-IjEU7XAq.mjs → messages-CRH0RWBs.mjs} +0 -0
  232. /package/dist/chunks/{messages-DpnhbDoK2.mjs → messages-CWm_2RvD2.mjs} +0 -0
  233. /package/dist/chunks/{messages-cR48x2Aq2.mjs → messages-CY76MvbX2.mjs} +0 -0
  234. /package/dist/chunks/{messages-Dk-d3mmM.mjs → messages-CpLq4ZZg.mjs} +0 -0
  235. /package/dist/chunks/{messages-C9HPruJj2.mjs → messages-CrpOkt8c2.mjs} +0 -0
  236. /package/dist/chunks/{messages-CmGixnBb2.mjs → messages-D3fu2FHB2.mjs} +0 -0
  237. /package/dist/chunks/{messages-CXjSY5Fy.mjs → messages-D6_I0L06.mjs} +0 -0
  238. /package/dist/chunks/{messages-DgoJDjHm.mjs → messages-DHzT8CZv.mjs} +0 -0
  239. /package/dist/chunks/{messages-BmDw1fZF2.mjs → messages-DIVQmVS92.mjs} +0 -0
  240. /package/dist/chunks/{messages-DSMFg80t.mjs → messages-DJYT0upW.mjs} +0 -0
  241. /package/dist/chunks/{messages-DIH2U0ZD.mjs → messages-DPcc6xp-.mjs} +0 -0
  242. /package/dist/chunks/{messages-D3wlt9eE.mjs → messages-Dass0QsQ.mjs} +0 -0
  243. /package/dist/chunks/{messages-vqR3RAU4.mjs → messages-DcUYfD6m.mjs} +0 -0
  244. /package/dist/chunks/{messages-BAxCMQgm.mjs → messages-DfLcy0CY.mjs} +0 -0
  245. /package/dist/chunks/{messages-Cic0Y1z6.mjs → messages-DhoZXmg_.mjs} +0 -0
  246. /package/dist/chunks/{messages-DslnYTHU2.mjs → messages-DiQkvwE32.mjs} +0 -0
  247. /package/dist/chunks/{messages-BvoElEE_.mjs → messages-DmvWmURo.mjs} +0 -0
  248. /package/dist/chunks/{messages-DOPK-Xif2.mjs → messages-Dobxrshu2.mjs} +0 -0
  249. /package/dist/chunks/{messages-BKeL1zk-2.mjs → messages-DsMIxm6I2.mjs} +0 -0
  250. /package/dist/chunks/{messages-BHUQs6402.mjs → messages-DtssWM8x2.mjs} +0 -0
  251. /package/dist/chunks/{messages-BIXCvkbG.mjs → messages-E1tsNNG5.mjs} +0 -0
  252. /package/dist/chunks/{messages-BDhWRN6Y.mjs → messages-PFfYbqlm.mjs} +0 -0
  253. /package/dist/chunks/{messages-DT6eM0I22.mjs → messages-bIzBNzdr2.mjs} +0 -0
  254. /package/dist/chunks/{messages-W2zpf0Mu2.mjs → messages-dGYum7sj2.mjs} +0 -0
  255. /package/dist/chunks/{messages-B5BaA6AV.mjs → messages-kKXlI5xZ.mjs} +0 -0
  256. /package/dist/chunks/{messages-BGpx2ecP2.mjs → messages-mo5OrbVj2.mjs} +0 -0
  257. /package/dist/chunks/{messages-DZTQIS9F.mjs → messages-nAdoEqRi.mjs} +0 -0
  258. /package/dist/chunks/{messages-wSX_4fK1.mjs → messages-rNLuCrAb.mjs} +0 -0
  259. /package/dist/chunks/{messages-PkO_43Eb.mjs → messages-v26RM5PC.mjs} +0 -0
  260. /package/dist/chunks/{messages-fUpUvsRN.mjs → messages-x0kzc2oy.mjs} +0 -0
  261. /package/dist/chunks/{messages-DoD9yWMu2.mjs → messages-x6y6csd52.mjs} +0 -0
  262. /package/dist/chunks/{messages-DhgEjOjw2.mjs → messages-x_eMclsl2.mjs} +0 -0
  263. /package/dist/chunks/{messages-BszGK0ox.mjs → messages-z5pham9o.mjs} +0 -0
  264. /package/dist/chunks/{messages-CRLvJfNU2.mjs → messages-zcqQ8x232.mjs} +0 -0
  265. /package/dist/chunks/{mk-Bb48BcDA.mjs → mk-DlZNyDhn.mjs} +0 -0
  266. /package/dist/chunks/{ml-BHPEj1kD.mjs → ml-CizMIOxl.mjs} +0 -0
  267. /package/dist/chunks/{mn-BNGzpdI6.mjs → mn-B_pDvxok.mjs} +0 -0
  268. /package/dist/chunks/{mr-D5PgU-cH.mjs → mr-D8D_7YmW.mjs} +0 -0
  269. /package/dist/chunks/{ms-DPkxqKz5.mjs → ms-CM93I8ec.mjs} +0 -0
  270. /package/dist/chunks/{my-DZGcyfxy.mjs → my-BGnGdDAV.mjs} +0 -0
  271. /package/dist/chunks/{ne-BU_Wh4Wv.mjs → ne-C6ZmmqhH.mjs} +0 -0
  272. /package/dist/chunks/{nl-DtAPk1mK.mjs → nl-UGFOU80W.mjs} +0 -0
  273. /package/dist/chunks/{no-CdW3n3BY.mjs → no-as-DKhC4.mjs} +0 -0
  274. /package/dist/chunks/{notifier-CuvTt9pe.mjs → notifier-PpnFhM0m.mjs} +0 -0
  275. /package/dist/chunks/{one-light-DmNO_Y4X.mjs → one-light-Di_o5Kb7.mjs} +0 -0
  276. /package/dist/chunks/{pa-BacCHz87.mjs → pa-DiOAveAI.mjs} +0 -0
  277. /package/dist/chunks/{path-rIMjg_tH.mjs → path-7pA19U_d.mjs} +0 -0
  278. /package/dist/chunks/{pl-8zBJbmhZ.mjs → pl-DXk8ye3B.mjs} +0 -0
  279. /package/dist/chunks/{ps-c6nGXD-W.mjs → ps-CuxilZ3F.mjs} +0 -0
  280. /package/dist/chunks/{pt-B5yR8Qhr.mjs → pt-DsT6E77q.mjs} +0 -0
  281. /package/dist/chunks/{python-DfwfY9t5.mjs → python-DYiHKGPV.mjs} +0 -0
  282. /package/dist/chunks/{r-BD2D7qEW.mjs → r-BZ4pC-Uz.mjs} +0 -0
  283. /package/dist/chunks/{ro-Nscylsqb.mjs → ro-CcAQOL-B.mjs} +0 -0
  284. /package/dist/chunks/{rough.esm-cmMIcj7N.mjs → rough.esm-BPA_YwbP.mjs} +0 -0
  285. /package/dist/chunks/{ru-DxERQkVJ.mjs → ru-hD41D0Fd.mjs} +0 -0
  286. /package/dist/chunks/{rust-DEDueB5R.mjs → rust-Db_HEGL5.mjs} +0 -0
  287. /package/dist/chunks/{scala-CsjqvxE4.mjs → scala-B1kK21mu.mjs} +0 -0
  288. /package/dist/chunks/{sd-5z-QY3q9.mjs → sd-Biu7f00A.mjs} +0 -0
  289. /package/dist/chunks/{shellscript-Bh5zEpnQ.mjs → shellscript-BBh7AxMC.mjs} +0 -0
  290. /package/dist/chunks/{si-DTL0mzrx.mjs → si-Bhto6prC.mjs} +0 -0
  291. /package/dist/chunks/{sk-DrGczTvY.mjs → sk-Ce7J4sHX.mjs} +0 -0
  292. /package/dist/chunks/{sl-D8nJjig4.mjs → sl-Fz7idR9w.mjs} +0 -0
  293. /package/dist/chunks/{sq-C74Hm3YL.mjs → sq-CnLb3bAQ.mjs} +0 -0
  294. /package/dist/chunks/{sql-D9CrOi1i.mjs → sql-DHkazX4B.mjs} +0 -0
  295. /package/dist/chunks/{sr-DAwB05Gj.mjs → sr-Bc5JbF-b.mjs} +0 -0
  296. /package/dist/chunks/{src-DVJl6f6s.mjs → src-B3rrEIze.mjs} +0 -0
  297. /package/dist/chunks/{sv-BkHBsN4y.mjs → sv-B86P2LyK.mjs} +0 -0
  298. /package/dist/chunks/{sw-BBQLTq_z.mjs → sw-CnQXriTg.mjs} +0 -0
  299. /package/dist/chunks/{swift-Dpyt0s2c.mjs → swift-DZdprfb-.mjs} +0 -0
  300. /package/dist/chunks/{ta-DRRzdKky.mjs → ta-CG4BbxjE.mjs} +0 -0
  301. /package/dist/chunks/{te-CedXLsKM.mjs → te-CkE35V1X.mjs} +0 -0
  302. /package/dist/chunks/{th-DDOlGA0W.mjs → th-BCtkHu3E.mjs} +0 -0
  303. /package/dist/chunks/{tr-ClgvwOlL.mjs → tr-D5Cexvko.mjs} +0 -0
  304. /package/dist/chunks/{typescript-DO5cd4m8.mjs → typescript-DhtGMhWX.mjs} +0 -0
  305. /package/dist/chunks/{ug-bXxwiinM.mjs → ug-Bt9xMT4p.mjs} +0 -0
  306. /package/dist/chunks/{uk-Dp46o_VT.mjs → uk-D1g7UV0v.mjs} +0 -0
  307. /package/dist/chunks/{ur-MfEEhdFq.mjs → ur-B69faQh_.mjs} +0 -0
  308. /package/dist/chunks/{vi-bt-3LPGO.mjs → vi--gW42cZG.mjs} +0 -0
  309. /package/dist/chunks/{vitesse-dark-CcorSKT2.mjs → vitesse-dark-B5oAIYZ5.mjs} +0 -0
  310. /package/dist/chunks/{yaml-CrNNZyLb.mjs → yaml-T4MCc8o4.mjs} +0 -0
  311. /package/dist/chunks/{zh-Dgyb5Ly8.mjs → zh-DgQ6P8Lu.mjs} +0 -0
package/dist/full.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { n as e, t } from "./chunks/blok-DSP5zC_s.mjs";
2
- import { ur as n } from "./chunks/constants-B0Tns0mh.mjs";
1
+ import { n as e, t } from "./chunks/blok-oWXfRfnM.mjs";
2
+ import { ur as n } from "./chunks/constants-BQ1-lyZI.mjs";
3
3
  import { t as r } from "./chunks/objectSpread2-CWwMYL_U.mjs";
4
- import { a as i, b as a, c as o, g as s, i as c, l, n as u, o as d, s as f, t as p, v as m, y as h } from "./chunks/tools-KZmhOKEo.mjs";
4
+ import { a as i, b as a, c as o, g as s, i as c, l, n as u, o as d, s as f, t as p, v as m, y as h } from "./chunks/tools-MuBQQyZ-.mjs";
5
5
  //#region src/full.ts
6
6
  var g = {
7
7
  paragraph: {
package/dist/markdown.mjs CHANGED
@@ -3932,7 +3932,7 @@ function Ei(e) {
3932
3932
  //#region src/markdown/index.ts
3933
3933
  var Di = /* @__PURE__ */ RegExp("\\$\\$[\\s\\S]+?\\$\\$|(?<!\\$)\\$(?!\\$)(?=\\S)[^$]+(?<=\\S)\\$(?!\\$)", "");
3934
3934
  async function Oi() {
3935
- let [{ math: e }, { mathFromMarkdown: t }] = await Promise.all([import("./chunks/micromark-extension-math-BbkUb36G.mjs"), import("./chunks/mdast-util-math-BlK2Zu-1.mjs")]);
3935
+ let [{ math: e }, { mathFromMarkdown: t }] = await Promise.all([import("./chunks/micromark-extension-math-D-s54WWf.mjs"), import("./chunks/mdast-util-math-D56mMxhB.mjs")]);
3936
3936
  return {
3937
3937
  mathSyntax: e(),
3938
3938
  mathFromMarkdown: t()
package/dist/react.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { t as e } from "./chunks/blok-DSP5zC_s.mjs";
2
- import "./chunks/constants-B0Tns0mh.mjs";
1
+ import { t as e } from "./chunks/blok-oWXfRfnM.mjs";
2
+ import "./chunks/constants-BQ1-lyZI.mjs";
3
3
  import { t } from "./chunks/objectSpread2-CWwMYL_U.mjs";
4
4
  import { t as n } from "./chunks/objectWithoutProperties-D0XxKB4n.mjs";
5
5
  import { forwardRef as r, useEffect as i, useMemo as a, useRef as o, useState as s } from "react";
package/dist/tools.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { m as e } from "./chunks/constants-B0Tns0mh.mjs";
2
- import { _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, r as h, s as g, t as _, u as v, v as y, y as b } from "./chunks/tools-KZmhOKEo.mjs";
1
+ import { m as e } from "./chunks/constants-BQ1-lyZI.mjs";
2
+ import { _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, r as h, s as g, t as _, u as v, v as y, y as b } from "./chunks/tools-MuBQQyZ-.mjs";
3
3
  export { u as Bold, c as Callout, v as Code, e as Convert, d as Database, m as DatabaseRow, o as Divider, b as Header, h as InlineCode, i as Italic, g as Link, y as List, p as Marker, r as Paragraph, a as Quote, l as Strikethrough, t as Table, s as Toggle, n as Underline, _ as defaultBlockTools, f as defaultInlineTools };
@@ -2287,70 +2287,6 @@ SOFTWARE.
2287
2287
 
2288
2288
  ---
2289
2289
 
2290
- Name: lodash-es
2291
- Version: 4.18.1
2292
- License: MIT
2293
- Private: false
2294
- Description: Lodash exported as ES modules.
2295
- Repository: undefined
2296
- Homepage: https://lodash.com/custom-builds
2297
- Author: John-David Dalton <john.david.dalton@gmail.com>
2298
- Contributors:
2299
- John-David Dalton <john.david.dalton@gmail.com>
2300
- Mathias Bynens <mathias@qiwi.be>
2301
- License Text:
2302
- ===
2303
-
2304
- Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
2305
-
2306
- Based on Underscore.js, copyright Jeremy Ashkenas,
2307
- DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
2308
-
2309
- This software consists of voluntary contributions made by many
2310
- individuals. For exact contribution history, see the revision history
2311
- available at https://github.com/lodash/lodash
2312
-
2313
- The following license applies to all parts of this software except as
2314
- documented below:
2315
-
2316
- ====
2317
-
2318
- Permission is hereby granted, free of charge, to any person obtaining
2319
- a copy of this software and associated documentation files (the
2320
- "Software"), to deal in the Software without restriction, including
2321
- without limitation the rights to use, copy, modify, merge, publish,
2322
- distribute, sublicense, and/or sell copies of the Software, and to
2323
- permit persons to whom the Software is furnished to do so, subject to
2324
- the following conditions:
2325
-
2326
- The above copyright notice and this permission notice shall be
2327
- included in all copies or substantial portions of the Software.
2328
-
2329
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
2330
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2331
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
2332
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
2333
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
2334
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
2335
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2336
-
2337
- ====
2338
-
2339
- Copyright and related rights for sample code are waived via CC0. Sample
2340
- code is defined as all source code displayed within the prose of the
2341
- documentation.
2342
-
2343
- CC0: http://creativecommons.org/publicdomain/zero/1.0/
2344
-
2345
- ====
2346
-
2347
- Files located in the node_modules and vendor directories are externally
2348
- maintained libraries used by this software which have their own
2349
- licenses; we recommend you read them, as their terms may differ from the
2350
- terms above.
2351
-
2352
- ---
2353
-
2354
2290
  Name: mermaid
2355
2291
  Version: 11.14.0
2356
2292
  License: MIT
@@ -3946,6 +3882,70 @@ License Text:
3946
3882
 
3947
3883
  ---
3948
3884
 
3885
+ Name: lodash-es
3886
+ Version: 4.18.1
3887
+ License: MIT
3888
+ Private: false
3889
+ Description: Lodash exported as ES modules.
3890
+ Repository: undefined
3891
+ Homepage: https://lodash.com/custom-builds
3892
+ Author: John-David Dalton <john.david.dalton@gmail.com>
3893
+ Contributors:
3894
+ John-David Dalton <john.david.dalton@gmail.com>
3895
+ Mathias Bynens <mathias@qiwi.be>
3896
+ License Text:
3897
+ ===
3898
+
3899
+ Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
3900
+
3901
+ Based on Underscore.js, copyright Jeremy Ashkenas,
3902
+ DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
3903
+
3904
+ This software consists of voluntary contributions made by many
3905
+ individuals. For exact contribution history, see the revision history
3906
+ available at https://github.com/lodash/lodash
3907
+
3908
+ The following license applies to all parts of this software except as
3909
+ documented below:
3910
+
3911
+ ====
3912
+
3913
+ Permission is hereby granted, free of charge, to any person obtaining
3914
+ a copy of this software and associated documentation files (the
3915
+ "Software"), to deal in the Software without restriction, including
3916
+ without limitation the rights to use, copy, modify, merge, publish,
3917
+ distribute, sublicense, and/or sell copies of the Software, and to
3918
+ permit persons to whom the Software is furnished to do so, subject to
3919
+ the following conditions:
3920
+
3921
+ The above copyright notice and this permission notice shall be
3922
+ included in all copies or substantial portions of the Software.
3923
+
3924
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
3925
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
3926
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
3927
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
3928
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
3929
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
3930
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3931
+
3932
+ ====
3933
+
3934
+ Copyright and related rights for sample code are waived via CC0. Sample
3935
+ code is defined as all source code displayed within the prose of the
3936
+ documentation.
3937
+
3938
+ CC0: http://creativecommons.org/publicdomain/zero/1.0/
3939
+
3940
+ ====
3941
+
3942
+ Files located in the node_modules and vendor directories are externally
3943
+ maintained libraries used by this software which have their own
3944
+ licenses; we recommend you read them, as their terms may differ from the
3945
+ terms above.
3946
+
3947
+ ---
3948
+
3949
3949
  Name: @chevrotain/utils
3950
3950
  Version: 11.1.2
3951
3951
  License: Apache-2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jackuait/blok",
3
- "version": "0.10.5",
3
+ "version": "0.10.7",
4
4
  "description": "Blok — headless, highly extensible rich text editor built for developers who need to implement a block-based editing experience (similar to Notion) without building it from scratch",
5
5
  "module": "dist/blok.mjs",
6
6
  "types": "./types/index.d.ts",
@@ -202,7 +202,8 @@
202
202
  "yjs": "13.6.30"
203
203
  },
204
204
  "resolutions": {
205
- "@typescript-eslint/utils": "8.57.0"
205
+ "@typescript-eslint/utils": "8.57.0",
206
+ "lodash-es": "^4.18.0"
206
207
  },
207
208
  "peerDependencies": {
208
209
  "react": "^18.0.0 || ^19.0.0",
@@ -88,7 +88,7 @@ interface BlockConstructorOptions {
88
88
  /** Timestamp of the last edit to this block (milliseconds since epoch) */
89
89
  lastEditedAt?: number;
90
90
 
91
- /** Display name of the user who last edited this block */
91
+ /** ID of the user who last edited this block */
92
92
  lastEditedBy?: string | null;
93
93
  }
94
94
 
@@ -146,7 +146,7 @@ export class Block extends EventsDispatcher<BlockEvents> {
146
146
  /** Timestamp of the last edit (ms since epoch). Updated by BlockManager on mutation. */
147
147
  public lastEditedAt: number | undefined;
148
148
 
149
- /** Display name of the user who last edited. Updated by BlockManager on mutation. */
149
+ /** ID of the user who last edited. Updated by BlockManager on mutation. */
150
150
  public lastEditedBy: string | null;
151
151
 
152
152
  /**
@@ -39,6 +39,7 @@ export class DeleteTune implements BlockTune {
39
39
  title: this.api.i18n.t('blockSettings.delete'),
40
40
  name: 'delete',
41
41
  isDestructive: true,
42
+ secondaryLabel: 'Del',
42
43
  onActivate: (): void => this.handleClick(),
43
44
  };
44
45
  }
@@ -1,5 +1,5 @@
1
1
  import type { Block } from '../../../block';
2
- import { HEADER_PATTERN, CHECKLIST_PATTERN, UNORDERED_LIST_PATTERN, ORDERED_LIST_PATTERN, TOGGLE_HEADER_PATTERN, TOGGLE_PATTERN, HEADER_TOOL_NAME, LIST_TOOL_NAME, TOGGLE_TOOL_NAME, DIVIDER_TOOL_NAME, DIVIDER_PATTERN } from '../constants';
2
+ import { HEADER_PATTERN, CHECKLIST_PATTERN, UNORDERED_LIST_PATTERN, ORDERED_LIST_PATTERN, TOGGLE_HEADER_PATTERN, TOGGLE_PATTERN, HEADER_TOOL_NAME, LIST_TOOL_NAME, TOGGLE_TOOL_NAME, DIVIDER_TOOL_NAME, DIVIDER_PATTERN, QUOTE_TOOL_NAME, QUOTE_PATTERN, CODE_TOOL_NAME, CODE_PATTERN } from '../constants';
3
3
 
4
4
  import { BlockEventComposer } from './__base';
5
5
 
@@ -39,8 +39,10 @@ export class MarkdownShortcuts extends BlockEventComposer {
39
39
  const handledHeader = this.handleHeaderShortcut();
40
40
  const handledToggleHeader = this.handleToggleHeaderShortcut();
41
41
  const handledToggle = this.handleToggleShortcut();
42
+ const handledQuote = this.handleQuoteShortcut();
43
+ const handledCode = this.handleCodeShortcut();
42
44
 
43
- return handledList || handledHeader || handledToggleHeader || handledToggle;
45
+ return handledList || handledHeader || handledToggleHeader || handledToggle || handledQuote || handledCode;
44
46
  }
45
47
 
46
48
  /**
@@ -402,6 +404,107 @@ export class MarkdownShortcuts extends BlockEventComposer {
402
404
  return true;
403
405
  }
404
406
 
407
+ /**
408
+ * Check if current block matches a quote shortcut pattern (" ") and convert it.
409
+ */
410
+ private handleQuoteShortcut(): boolean {
411
+ const { BlockManager, Tools } = this.Blok;
412
+ const currentBlock = BlockManager.currentBlock;
413
+
414
+ if (!currentBlock) {
415
+ return false;
416
+ }
417
+
418
+ if (!currentBlock.tool.isDefault) {
419
+ return false;
420
+ }
421
+
422
+ const quoteTool = Tools.blockTools.get(QUOTE_TOOL_NAME);
423
+
424
+ if (!quoteTool) {
425
+ return false;
426
+ }
427
+
428
+ const currentInput = currentBlock.currentInput;
429
+
430
+ if (!currentInput) {
431
+ return false;
432
+ }
433
+
434
+ const textContent = currentInput.textContent || '';
435
+ const match = QUOTE_PATTERN.exec(textContent);
436
+
437
+ if (!match) {
438
+ return false;
439
+ }
440
+
441
+ this.Blok.YjsManager.stopCapturing();
442
+
443
+ const shortcutLength = 2; // " " + space
444
+ const remainingHtml = this.extractRemainingHtml(currentInput, shortcutLength);
445
+ const caretOffset = this.getCaretOffset(currentInput) - shortcutLength;
446
+
447
+ const newBlock = BlockManager.replace(currentBlock, QUOTE_TOOL_NAME, {
448
+ text: remainingHtml,
449
+ });
450
+
451
+ this.setCaretAfterConversion(newBlock, caretOffset);
452
+
453
+ this.Blok.YjsManager.stopCapturing();
454
+
455
+ return true;
456
+ }
457
+
458
+ /**
459
+ * Check if current block matches a code shortcut pattern ("``` ") and convert it.
460
+ */
461
+ private handleCodeShortcut(): boolean {
462
+ const { BlockManager, Tools } = this.Blok;
463
+ const currentBlock = BlockManager.currentBlock;
464
+
465
+ if (!currentBlock) {
466
+ return false;
467
+ }
468
+
469
+ if (!currentBlock.tool.isDefault) {
470
+ return false;
471
+ }
472
+
473
+ const codeTool = Tools.blockTools.get(CODE_TOOL_NAME);
474
+
475
+ if (!codeTool) {
476
+ return false;
477
+ }
478
+
479
+ const currentInput = currentBlock.currentInput;
480
+
481
+ if (!currentInput) {
482
+ return false;
483
+ }
484
+
485
+ const textContent = currentInput.textContent || '';
486
+ const match = CODE_PATTERN.exec(textContent);
487
+
488
+ if (!match) {
489
+ return false;
490
+ }
491
+
492
+ this.Blok.YjsManager.stopCapturing();
493
+
494
+ const shortcutLength = 4; // "```" + space
495
+ const remainingHtml = this.extractRemainingHtml(currentInput, shortcutLength);
496
+
497
+ const newBlock = BlockManager.replace(currentBlock, CODE_TOOL_NAME, {
498
+ code: remainingHtml,
499
+ });
500
+
501
+ this.setCaretAfterConversion(newBlock, 0);
502
+
503
+ this.Blok.YjsManager.stopCapturing();
504
+
505
+ return true;
506
+ }
507
+
405
508
  /**
406
509
  * Match default header shortcuts like "# ", "## ", etc.
407
510
  */
@@ -93,3 +93,27 @@ export const DIVIDER_TOOL_NAME = 'divider';
93
93
  * Matches exactly three hyphens with no other content.
94
94
  */
95
95
  export const DIVIDER_PATTERN = /^-{3}$/;
96
+
97
+ /**
98
+ * Tool name for quote blocks.
99
+ */
100
+ export const QUOTE_TOOL_NAME = 'quote';
101
+
102
+ /**
103
+ * Regex pattern for detecting quote shortcuts.
104
+ * Matches " followed by a space at the start of text.
105
+ * Captures remaining content after the shortcut in group 1.
106
+ */
107
+ export const QUOTE_PATTERN = /^"\s([\s\S]*)$/;
108
+
109
+ /**
110
+ * Tool name for code blocks.
111
+ */
112
+ export const CODE_TOOL_NAME = 'code';
113
+
114
+ /**
115
+ * Regex pattern for detecting code block shortcuts.
116
+ * Matches ``` followed by a space at the start of text.
117
+ * Captures remaining content after the shortcut in group 1.
118
+ */
119
+ export const CODE_PATTERN = /^```\s([\s\S]*)$/;
@@ -1102,7 +1102,7 @@ export class BlockManager extends Module {
1102
1102
  // eslint-disable-next-line no-param-reassign
1103
1103
  block.lastEditedAt = Date.now();
1104
1104
  // eslint-disable-next-line no-param-reassign
1105
- block.lastEditedBy = this.config.user?.name ?? null;
1105
+ block.lastEditedBy = this.config.user?.id ?? null;
1106
1106
 
1107
1107
  void this.syncBlockDataToYjs(block);
1108
1108
  }
@@ -28,7 +28,7 @@ export interface ComposeBlockOptions {
28
28
  bindEventsImmediately?: boolean;
29
29
  /** Timestamp of the last edit (milliseconds since epoch) */
30
30
  lastEditedAt?: number;
31
- /** Display name of the user who last edited this block */
31
+ /** ID of the user who last edited this block */
32
32
  lastEditedBy?: string | null;
33
33
  }
34
34
 
@@ -42,7 +42,7 @@ export class ThemeManager extends Module {
42
42
  public prepare(): void {
43
43
  state.activeInstances++;
44
44
  this.mode = this.config.theme ?? 'auto';
45
- this.applyAttribute();
45
+ this.applyAttribute(false);
46
46
  this.resolved = this.deriveResolved();
47
47
 
48
48
  if (this.mode === 'auto') {
@@ -75,7 +75,7 @@ export class ThemeManager extends Module {
75
75
  }
76
76
 
77
77
  this.mode = mode;
78
- this.applyAttribute();
78
+ this.applyAttribute(true);
79
79
  this.resolved = this.deriveResolved();
80
80
 
81
81
  if (this.mode === 'auto') {
@@ -102,7 +102,14 @@ export class ThemeManager extends Module {
102
102
 
103
103
  // ─── Private ───────────────────────────────────────────────────────────────
104
104
 
105
- private applyAttribute(): void {
105
+ /**
106
+ * @param explicit - true when called from setMode() (consumer API);
107
+ * false when called from prepare() (initial construction).
108
+ * During prepare(), skip setting the attribute if another
109
+ * instance already controls it — prevents nested editors
110
+ * (e.g. inside Columns) from overriding the parent theme.
111
+ */
112
+ private applyAttribute(explicit: boolean): void {
106
113
  if (typeof document === 'undefined') {
107
114
  return;
108
115
  }
@@ -112,6 +119,9 @@ export class ThemeManager extends Module {
112
119
  this.removeAttribute();
113
120
  }
114
121
  } else {
122
+ if (!explicit && state.activeInstances > 1 && document.documentElement.hasAttribute(ATTR)) {
123
+ return;
124
+ }
115
125
  document.documentElement.setAttribute(ATTR, this.mode);
116
126
  }
117
127
  }
@@ -113,6 +113,11 @@ export class BlockSettings extends Module<BlockSettingsNodes> {
113
113
  */
114
114
  private flipperKeydownSource: HTMLElement | null = null;
115
115
 
116
+ /**
117
+ * Handler for Delete key shortcut, stored for cleanup
118
+ */
119
+ private deleteKeyHandler: ((event: KeyboardEvent) => void) | null = null;
120
+
116
121
  /**
117
122
  * Panel with block settings with 2 sections:
118
123
  * - Tool's Settings
@@ -186,11 +191,13 @@ export class BlockSettings extends Module<BlockSettingsNodes> {
186
191
  /** Get tool-specific tunes and common tunes (delete, move, etc.) */
187
192
  const { toolTunes, commonTunes } = block.getTunes();
188
193
 
194
+ const items = await this.getTunesItems(block, commonTunes, toolTunes);
195
+
189
196
  const PopoverClass = isMobileScreen() ? PopoverMobile : PopoverDesktop;
190
197
  const popoverParams: PopoverParams & { flipper?: Flipper } = {
191
198
  searchable: true,
192
199
  trigger: trigger || this.nodes.wrapper,
193
- items: await this.getTunesItems(block, commonTunes, toolTunes),
200
+ items,
194
201
  messages: {
195
202
  nothingFound: this.Blok.I18n.t('popover.nothingFound'),
196
203
  search: this.Blok.I18n.t('popover.search'),
@@ -208,6 +215,8 @@ export class BlockSettings extends Module<BlockSettingsNodes> {
208
215
 
209
216
  this.popover.on(PopoverEvent.Closed, this.onPopoverClose);
210
217
 
218
+ this.attachDeleteKeyListener(items);
219
+
211
220
  /**
212
221
  * Set opened flag AFTER popover is created to prevent race conditions
213
222
  * where close() is called during the async getTunesItems() call
@@ -272,6 +281,7 @@ export class BlockSettings extends Module<BlockSettingsNodes> {
272
281
  }
273
282
 
274
283
  this.selection.clearSaved();
284
+ this.detachDeleteKeyListener();
275
285
  this.detachFlipperKeydownListener();
276
286
 
277
287
  /**
@@ -415,6 +425,7 @@ export class BlockSettings extends Module<BlockSettingsNodes> {
415
425
  title: this.Blok.I18n.t('blockSettings.delete'),
416
426
  name: 'delete',
417
427
  isDestructive: true,
428
+ secondaryLabel: 'Del',
418
429
  closeOnActivate: true,
419
430
  onActivate: () => {
420
431
  const { BlockManager, Caret, Toolbar } = this.Blok;
@@ -445,7 +456,8 @@ export class BlockSettings extends Module<BlockSettingsNodes> {
445
456
  }
446
457
 
447
458
  /**
448
- * Creates the "Last edited by..." footer element for block settings.
459
+ * Creates the "Last edited" footer element for block settings.
460
+ * If a resolveUser callback is configured, resolves the user ID to a display name.
449
461
  * @param block - the block whose metadata to display
450
462
  * @returns the footer DOM element
451
463
  */
@@ -462,22 +474,46 @@ export class BlockSettings extends Module<BlockSettingsNodes> {
462
474
 
463
475
  label.setAttribute('data-edit-meta-label', '');
464
476
 
465
- if (block.lastEditedBy !== null && block.lastEditedBy !== undefined) {
466
- label.textContent = this.Blok.I18n.t('blockSettings.lastEditedBy', { name: block.lastEditedBy });
467
- } else {
468
- label.textContent = this.Blok.I18n.t('blockSettings.lastEdited');
477
+ label.textContent = this.Blok.I18n.t('blockSettings.lastEdited');
478
+
479
+ if (block.lastEditedBy != null && this.config.resolveUser != null) {
480
+ void Promise.resolve(this.config.resolveUser(block.lastEditedBy)).then((userInfo) => {
481
+ if (userInfo?.name != null) {
482
+ label.textContent = this.Blok.I18n.t('blockSettings.lastEditedBy', { name: userInfo.name });
483
+ }
484
+ });
469
485
  }
470
486
 
471
487
  container.appendChild(label);
472
488
 
473
489
  if (block.lastEditedAt !== undefined) {
474
490
  const dateEl = document.createElement('div');
475
- const formatted = new Intl.DateTimeFormat(undefined, {
476
- dateStyle: 'medium',
477
- timeStyle: 'short',
478
- }).format(new Date(block.lastEditedAt));
479
491
 
480
- dateEl.textContent = formatted;
492
+ dateEl.classList.add('mt-1');
493
+ const locale = this.Blok.I18n.getLocale();
494
+ const date = new Date(block.lastEditedAt);
495
+
496
+ const dateParts = new Intl.DateTimeFormat(locale, {
497
+ day: 'numeric',
498
+ month: 'long',
499
+ year: 'numeric',
500
+ }).formatToParts(date);
501
+
502
+ /**
503
+ * Strip trailing literal parts that are abbreviations (contain a period),
504
+ * e.g. " г." in Russian or " р." in Ukrainian, while preserving essential
505
+ * trailing literals like "日" in Japanese/Chinese.
506
+ */
507
+ while (dateParts.length > 0
508
+ && dateParts[dateParts.length - 1].type === 'literal'
509
+ && dateParts[dateParts.length - 1].value.includes('.')) {
510
+ dateParts.pop();
511
+ }
512
+
513
+ const dateStr = dateParts.map(p => p.value).join('');
514
+ const timeStr = new Intl.DateTimeFormat(locale, { timeStyle: 'short' }).format(date);
515
+
516
+ dateEl.textContent = `${dateStr}, ${timeStr}`;
481
517
  container.appendChild(dateEl);
482
518
  }
483
519
 
@@ -893,4 +929,46 @@ export class BlockSettings extends Module<BlockSettingsNodes> {
893
929
  this.flipperKeydownSource = null;
894
930
  this.flipperKeydownHandler = null;
895
931
  }
932
+
933
+ /**
934
+ * Attaches a keydown listener on the popover element to handle the Delete key shortcut
935
+ * @param items - popover items to search for the delete action
936
+ */
937
+ private attachDeleteKeyListener(items: PopoverItemParams[]): void {
938
+ this.detachDeleteKeyListener();
939
+
940
+ if (this.popover === null) {
941
+ return;
942
+ }
943
+
944
+ const deleteItem = items.find(
945
+ (item): item is PopoverItemParams & { name: string; onActivate: () => void } =>
946
+ 'name' in item && item.name === 'delete' && 'onActivate' in item
947
+ );
948
+
949
+ if (deleteItem === undefined) {
950
+ return;
951
+ }
952
+
953
+ this.deleteKeyHandler = (event: KeyboardEvent) => {
954
+ if (event.key === 'Delete') {
955
+ event.preventDefault();
956
+ deleteItem.onActivate(deleteItem);
957
+ this.close();
958
+ }
959
+ };
960
+
961
+ this.popover.getElement().addEventListener('keydown', this.deleteKeyHandler);
962
+ }
963
+
964
+ /**
965
+ * Removes the Delete key shortcut listener from the popover element
966
+ */
967
+ private detachDeleteKeyListener(): void {
968
+ if (this.popover !== null && this.deleteKeyHandler !== null) {
969
+ this.popover.getElement().removeEventListener('keydown', this.deleteKeyHandler);
970
+ }
971
+
972
+ this.deleteKeyHandler = null;
973
+ }
896
974
  }
@@ -197,7 +197,7 @@ export class DocumentStore {
197
197
  * Update a block's edit metadata fields directly on the Y.Map.
198
198
  * @param id - Block id
199
199
  * @param lastEditedAt - Timestamp in milliseconds
200
- * @param lastEditedBy - User display name, or null
200
+ * @param lastEditedBy - User ID, or null
201
201
  */
202
202
  public updateBlockMetadata(id: string, lastEditedAt: number, lastEditedBy: string | null): void {
203
203
  const yblock = this.getBlockById(id);
@@ -168,7 +168,7 @@ export class YjsManager extends Module {
168
168
  * Update a block's edit metadata.
169
169
  * @param id - Block id
170
170
  * @param lastEditedAt - Timestamp in milliseconds
171
- * @param lastEditedBy - User display name, or null
171
+ * @param lastEditedBy - User ID, or null
172
172
  */
173
173
  public updateBlockMetadata(id: string, lastEditedAt: number, lastEditedBy: string | null): void {
174
174
  this.documentStore.updateBlockMetadata(id, lastEditedAt, lastEditedBy);
@@ -141,7 +141,16 @@ export abstract class PopoverAbstract<Nodes extends PopoverNodes = PopoverNodes>
141
141
  this.search.focus();
142
142
  }
143
143
 
144
+ /**
145
+ * Show hazes instantly on open (no transition), then restore transition for scroll-triggered changes
146
+ */
147
+ this.nodes.scrollHazeTop.style.transition = 'none';
148
+ this.nodes.scrollHazeBottom.style.transition = 'none';
144
149
  this.updateScrollHazes();
150
+ requestAnimationFrame(() => {
151
+ this.nodes.scrollHazeTop.style.transition = '';
152
+ this.nodes.scrollHazeBottom.style.transition = '';
153
+ });
145
154
 
146
155
  const { trigger } = this.params;
147
156
  const isRootWithTrigger = (this.params.nestingLevel ?? 0) === 0 && trigger !== undefined;
@@ -626,6 +626,7 @@ export class CodeTool implements BlockTool {
626
626
  icon: IconCodeBlock,
627
627
  title: 'Code',
628
628
  titleKey: 'code',
629
+ shortcut: '```',
629
630
  searchTerms: ['code', 'pre', 'snippet', 'program'],
630
631
  searchTermKeys: ['code', 'pre', 'snippet', 'program'],
631
632
  };
@@ -226,6 +226,7 @@ export class Quote implements BlockTool {
226
226
  icon: IconQuote,
227
227
  title: 'Quote',
228
228
  titleKey: 'quote',
229
+ shortcut: '"',
229
230
  searchTerms: ['quote', 'blockquote', 'citation'],
230
231
  searchTermKeys: ['quote', 'blockquote', 'citation'],
231
232
  };