@jackuait/blok 0.4.1-beta.1 → 0.4.1-beta.12

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 (403) hide show
  1. package/README.md +138 -17
  2. package/codemod/README.md +45 -7
  3. package/codemod/migrate-editorjs-to-blok.js +960 -92
  4. package/codemod/test.js +780 -77
  5. package/dist/blok.mjs +5 -2
  6. package/dist/chunks/blok-BU6NwVkN.mjs +13239 -0
  7. package/dist/chunks/i18next-CugVlwWp.mjs +1292 -0
  8. package/dist/chunks/i18next-loader-D8GzSwio.mjs +43 -0
  9. package/dist/{index-CEXLTV6f.mjs → chunks/index-C5e_WLFg.mjs} +2 -2
  10. package/dist/chunks/inline-tool-convert-CLUxkCe_.mjs +1990 -0
  11. package/dist/chunks/messages-0tDXLuyH.mjs +48 -0
  12. package/dist/chunks/messages-2_xedlYw.mjs +48 -0
  13. package/dist/chunks/messages-AHESHJm_.mjs +48 -0
  14. package/dist/chunks/messages-B5hdXZwA.mjs +48 -0
  15. package/dist/chunks/messages-B5jGUnOy.mjs +48 -0
  16. package/dist/chunks/messages-B5puUm7R.mjs +48 -0
  17. package/dist/chunks/messages-B66ZSDCJ.mjs +48 -0
  18. package/dist/chunks/messages-B9Oba7sq.mjs +48 -0
  19. package/dist/chunks/messages-BA0rcTCY.mjs +48 -0
  20. package/dist/chunks/messages-BBJgd5jG.mjs +48 -0
  21. package/dist/chunks/messages-BPqWKx5Z.mjs +48 -0
  22. package/dist/chunks/messages-Bdv-IkfG.mjs +48 -0
  23. package/dist/chunks/messages-BeUhMpsr.mjs +48 -0
  24. package/dist/chunks/messages-Bf6Y3_GI.mjs +48 -0
  25. package/dist/chunks/messages-BiExzWJv.mjs +48 -0
  26. package/dist/chunks/messages-BlpqL8vG.mjs +48 -0
  27. package/dist/chunks/messages-BmKCChWZ.mjs +48 -0
  28. package/dist/chunks/messages-Bn253WWC.mjs +48 -0
  29. package/dist/chunks/messages-BrJHUxQL.mjs +48 -0
  30. package/dist/chunks/messages-C5b7hr_E.mjs +48 -0
  31. package/dist/chunks/messages-C7I_AVH2.mjs +48 -0
  32. package/dist/chunks/messages-CJoBtXU6.mjs +48 -0
  33. package/dist/chunks/messages-CQj2JU2j.mjs +48 -0
  34. package/dist/chunks/messages-CUZ1x1QD.mjs +48 -0
  35. package/dist/chunks/messages-CUy1vn-b.mjs +48 -0
  36. package/dist/chunks/messages-CVeWVKsV.mjs +48 -0
  37. package/dist/chunks/messages-CXHd9SUK.mjs +48 -0
  38. package/dist/chunks/messages-CbMyJSzS.mjs +48 -0
  39. package/dist/chunks/messages-CbhuIWRJ.mjs +48 -0
  40. package/dist/chunks/messages-CeCjVKMW.mjs +48 -0
  41. package/dist/chunks/messages-Cj-t1bdy.mjs +48 -0
  42. package/dist/chunks/messages-CkFT2gle.mjs +48 -0
  43. package/dist/chunks/messages-Cm9aLHeX.mjs +48 -0
  44. package/dist/chunks/messages-CnvW8Slp.mjs +48 -0
  45. package/dist/chunks/messages-Cr-RJ7YB.mjs +48 -0
  46. package/dist/chunks/messages-CrsJ1TEJ.mjs +48 -0
  47. package/dist/chunks/messages-Cu08aLS3.mjs +48 -0
  48. package/dist/chunks/messages-CvaqJFN-.mjs +48 -0
  49. package/dist/chunks/messages-CyDU5lz9.mjs +48 -0
  50. package/dist/chunks/messages-CySyfkMU.mjs +48 -0
  51. package/dist/chunks/messages-Cyi2AMmz.mjs +48 -0
  52. package/dist/chunks/messages-D00OjS2n.mjs +48 -0
  53. package/dist/chunks/messages-DDLgIPDF.mjs +48 -0
  54. package/dist/chunks/messages-DMQIHGRj.mjs +48 -0
  55. package/dist/chunks/messages-DOlC_Tty.mjs +48 -0
  56. package/dist/chunks/messages-DV6shA9b.mjs +48 -0
  57. package/dist/chunks/messages-DY94ykcE.mjs +48 -0
  58. package/dist/chunks/messages-DbVquYKN.mjs +48 -0
  59. package/dist/chunks/messages-DcKOuncK.mjs +48 -0
  60. package/dist/chunks/messages-Dg92dXZ5.mjs +48 -0
  61. package/dist/chunks/messages-DnbbyJT3.mjs +48 -0
  62. package/dist/chunks/messages-DteYq0rv.mjs +48 -0
  63. package/dist/chunks/messages-GC2PhgV3.mjs +48 -0
  64. package/dist/chunks/messages-JGsXAReJ.mjs +48 -0
  65. package/dist/chunks/messages-JZUhXTuV.mjs +48 -0
  66. package/dist/chunks/messages-LvFKBBPa.mjs +48 -0
  67. package/dist/chunks/messages-NP1myMGI.mjs +48 -0
  68. package/dist/chunks/messages-Q4kc_ZtL.mjs +48 -0
  69. package/dist/chunks/messages-RvMHb2Ht.mjs +48 -0
  70. package/dist/chunks/messages-ftMcCEuO.mjs +48 -0
  71. package/dist/chunks/messages-o24dK6CU.mjs +48 -0
  72. package/dist/chunks/messages-pA5TvcAj.mjs +48 -0
  73. package/dist/chunks/messages-rRSHQDCX.mjs +48 -0
  74. package/dist/chunks/messages-srxrv8Yh.mjs +48 -0
  75. package/dist/chunks/messages-wdqp4610.mjs +48 -0
  76. package/dist/chunks/messages-zS1AXZ0y.mjs +48 -0
  77. package/dist/chunks/messages-zSzDzXej.mjs +48 -0
  78. package/dist/full.mjs +50 -0
  79. package/dist/locales.mjs +228 -0
  80. package/dist/messages-0tDXLuyH.mjs +48 -0
  81. package/dist/messages-2_xedlYw.mjs +48 -0
  82. package/dist/messages-AHESHJm_.mjs +48 -0
  83. package/dist/messages-B5hdXZwA.mjs +48 -0
  84. package/dist/messages-B5jGUnOy.mjs +48 -0
  85. package/dist/messages-B5puUm7R.mjs +48 -0
  86. package/dist/messages-B66ZSDCJ.mjs +48 -0
  87. package/dist/messages-B9Oba7sq.mjs +48 -0
  88. package/dist/messages-BA0rcTCY.mjs +48 -0
  89. package/dist/messages-BBJgd5jG.mjs +48 -0
  90. package/dist/messages-BPqWKx5Z.mjs +48 -0
  91. package/dist/messages-Bdv-IkfG.mjs +48 -0
  92. package/dist/messages-BeUhMpsr.mjs +48 -0
  93. package/dist/messages-Bf6Y3_GI.mjs +48 -0
  94. package/dist/messages-BiExzWJv.mjs +48 -0
  95. package/dist/messages-BlpqL8vG.mjs +48 -0
  96. package/dist/messages-BmKCChWZ.mjs +48 -0
  97. package/dist/messages-Bn253WWC.mjs +48 -0
  98. package/dist/messages-BrJHUxQL.mjs +48 -0
  99. package/dist/messages-C5b7hr_E.mjs +48 -0
  100. package/dist/messages-C7I_AVH2.mjs +48 -0
  101. package/dist/messages-CJoBtXU6.mjs +48 -0
  102. package/dist/messages-CQj2JU2j.mjs +48 -0
  103. package/dist/messages-CUZ1x1QD.mjs +48 -0
  104. package/dist/messages-CUy1vn-b.mjs +48 -0
  105. package/dist/messages-CVeWVKsV.mjs +48 -0
  106. package/dist/messages-CXHd9SUK.mjs +48 -0
  107. package/dist/messages-CbMyJSzS.mjs +48 -0
  108. package/dist/messages-CbhuIWRJ.mjs +48 -0
  109. package/dist/messages-CeCjVKMW.mjs +48 -0
  110. package/dist/messages-Cj-t1bdy.mjs +48 -0
  111. package/dist/messages-CkFT2gle.mjs +48 -0
  112. package/dist/messages-Cm9aLHeX.mjs +48 -0
  113. package/dist/messages-CnvW8Slp.mjs +48 -0
  114. package/dist/messages-Cr-RJ7YB.mjs +48 -0
  115. package/dist/messages-CrsJ1TEJ.mjs +48 -0
  116. package/dist/messages-Cu08aLS3.mjs +48 -0
  117. package/dist/messages-CvaqJFN-.mjs +48 -0
  118. package/dist/messages-CyDU5lz9.mjs +48 -0
  119. package/dist/messages-CySyfkMU.mjs +48 -0
  120. package/dist/messages-Cyi2AMmz.mjs +48 -0
  121. package/dist/messages-D00OjS2n.mjs +48 -0
  122. package/dist/messages-DDLgIPDF.mjs +48 -0
  123. package/dist/messages-DMQIHGRj.mjs +48 -0
  124. package/dist/messages-DOlC_Tty.mjs +48 -0
  125. package/dist/messages-DV6shA9b.mjs +48 -0
  126. package/dist/messages-DY94ykcE.mjs +48 -0
  127. package/dist/messages-DbVquYKN.mjs +48 -0
  128. package/dist/messages-DcKOuncK.mjs +48 -0
  129. package/dist/messages-Dg92dXZ5.mjs +48 -0
  130. package/dist/messages-DnbbyJT3.mjs +48 -0
  131. package/dist/messages-DteYq0rv.mjs +48 -0
  132. package/dist/messages-GC2PhgV3.mjs +48 -0
  133. package/dist/messages-JGsXAReJ.mjs +48 -0
  134. package/dist/messages-JZUhXTuV.mjs +48 -0
  135. package/dist/messages-LvFKBBPa.mjs +48 -0
  136. package/dist/messages-NP1myMGI.mjs +48 -0
  137. package/dist/messages-Q4kc_ZtL.mjs +48 -0
  138. package/dist/messages-RvMHb2Ht.mjs +48 -0
  139. package/dist/messages-ftMcCEuO.mjs +48 -0
  140. package/dist/messages-o24dK6CU.mjs +48 -0
  141. package/dist/messages-pA5TvcAj.mjs +48 -0
  142. package/dist/messages-rRSHQDCX.mjs +48 -0
  143. package/dist/messages-srxrv8Yh.mjs +48 -0
  144. package/dist/messages-wdqp4610.mjs +48 -0
  145. package/dist/messages-zS1AXZ0y.mjs +48 -0
  146. package/dist/messages-zSzDzXej.mjs +48 -0
  147. package/dist/tools.mjs +3126 -0
  148. package/dist/vendor.LICENSE.txt +26 -225
  149. package/package.json +63 -24
  150. package/src/blok.ts +267 -0
  151. package/src/components/__module.ts +139 -0
  152. package/src/components/block/api.ts +155 -0
  153. package/src/components/block/index.ts +1428 -0
  154. package/src/components/block-tunes/block-tune-delete.ts +51 -0
  155. package/src/components/blocks.ts +352 -0
  156. package/src/components/constants/data-attributes.ts +344 -0
  157. package/src/components/constants.ts +76 -0
  158. package/src/components/core.ts +392 -0
  159. package/src/components/dom.ts +773 -0
  160. package/src/components/domIterator.ts +189 -0
  161. package/src/components/errors/critical.ts +5 -0
  162. package/src/components/events/BlockChanged.ts +16 -0
  163. package/src/components/events/BlockHovered.ts +21 -0
  164. package/src/components/events/BlockSettingsClosed.ts +12 -0
  165. package/src/components/events/BlockSettingsOpened.ts +12 -0
  166. package/src/components/events/BlokMobileLayoutToggled.ts +15 -0
  167. package/src/components/events/FakeCursorAboutToBeToggled.ts +17 -0
  168. package/src/components/events/FakeCursorHaveBeenSet.ts +17 -0
  169. package/src/components/events/HistoryStateChanged.ts +19 -0
  170. package/src/components/events/RedactorDomChanged.ts +14 -0
  171. package/src/components/events/index.ts +46 -0
  172. package/src/components/flipper.ts +497 -0
  173. package/src/components/i18n/i18next-loader.ts +84 -0
  174. package/src/components/i18n/lightweight-i18n.ts +86 -0
  175. package/src/components/i18n/locales/TRANSLATION_GUIDELINES.md +113 -0
  176. package/src/components/i18n/locales/am/messages.json +45 -0
  177. package/src/components/i18n/locales/ar/messages.json +45 -0
  178. package/src/components/i18n/locales/az/messages.json +45 -0
  179. package/src/components/i18n/locales/bg/messages.json +45 -0
  180. package/src/components/i18n/locales/bn/messages.json +45 -0
  181. package/src/components/i18n/locales/bs/messages.json +45 -0
  182. package/src/components/i18n/locales/cs/messages.json +45 -0
  183. package/src/components/i18n/locales/da/messages.json +45 -0
  184. package/src/components/i18n/locales/de/messages.json +45 -0
  185. package/src/components/i18n/locales/dv/messages.json +45 -0
  186. package/src/components/i18n/locales/el/messages.json +45 -0
  187. package/src/components/i18n/locales/en/messages.json +45 -0
  188. package/src/components/i18n/locales/es/messages.json +45 -0
  189. package/src/components/i18n/locales/et/messages.json +45 -0
  190. package/src/components/i18n/locales/fa/messages.json +45 -0
  191. package/src/components/i18n/locales/fi/messages.json +45 -0
  192. package/src/components/i18n/locales/fil/messages.json +45 -0
  193. package/src/components/i18n/locales/fr/messages.json +45 -0
  194. package/src/components/i18n/locales/gu/messages.json +45 -0
  195. package/src/components/i18n/locales/he/messages.json +45 -0
  196. package/src/components/i18n/locales/hi/messages.json +45 -0
  197. package/src/components/i18n/locales/hr/messages.json +45 -0
  198. package/src/components/i18n/locales/hu/messages.json +45 -0
  199. package/src/components/i18n/locales/hy/messages.json +45 -0
  200. package/src/components/i18n/locales/id/messages.json +45 -0
  201. package/src/components/i18n/locales/index.ts +231 -0
  202. package/src/components/i18n/locales/it/messages.json +45 -0
  203. package/src/components/i18n/locales/ja/messages.json +45 -0
  204. package/src/components/i18n/locales/ka/messages.json +45 -0
  205. package/src/components/i18n/locales/km/messages.json +45 -0
  206. package/src/components/i18n/locales/kn/messages.json +45 -0
  207. package/src/components/i18n/locales/ko/messages.json +45 -0
  208. package/src/components/i18n/locales/ku/messages.json +45 -0
  209. package/src/components/i18n/locales/lo/messages.json +45 -0
  210. package/src/components/i18n/locales/lt/messages.json +45 -0
  211. package/src/components/i18n/locales/lv/messages.json +45 -0
  212. package/src/components/i18n/locales/mk/messages.json +45 -0
  213. package/src/components/i18n/locales/ml/messages.json +45 -0
  214. package/src/components/i18n/locales/mn/messages.json +45 -0
  215. package/src/components/i18n/locales/mr/messages.json +45 -0
  216. package/src/components/i18n/locales/ms/messages.json +45 -0
  217. package/src/components/i18n/locales/my/messages.json +45 -0
  218. package/src/components/i18n/locales/ne/messages.json +45 -0
  219. package/src/components/i18n/locales/nl/messages.json +45 -0
  220. package/src/components/i18n/locales/no/messages.json +45 -0
  221. package/src/components/i18n/locales/pa/messages.json +45 -0
  222. package/src/components/i18n/locales/pl/messages.json +45 -0
  223. package/src/components/i18n/locales/ps/messages.json +45 -0
  224. package/src/components/i18n/locales/pt/messages.json +45 -0
  225. package/src/components/i18n/locales/ro/messages.json +45 -0
  226. package/src/components/i18n/locales/ru/messages.json +45 -0
  227. package/src/components/i18n/locales/sd/messages.json +45 -0
  228. package/src/components/i18n/locales/si/messages.json +45 -0
  229. package/src/components/i18n/locales/sk/messages.json +45 -0
  230. package/src/components/i18n/locales/sl/messages.json +45 -0
  231. package/src/components/i18n/locales/sq/messages.json +45 -0
  232. package/src/components/i18n/locales/sr/messages.json +45 -0
  233. package/src/components/i18n/locales/sv/messages.json +45 -0
  234. package/src/components/i18n/locales/sw/messages.json +45 -0
  235. package/src/components/i18n/locales/ta/messages.json +45 -0
  236. package/src/components/i18n/locales/te/messages.json +45 -0
  237. package/src/components/i18n/locales/th/messages.json +45 -0
  238. package/src/components/i18n/locales/tr/messages.json +45 -0
  239. package/src/components/i18n/locales/ug/messages.json +45 -0
  240. package/src/components/i18n/locales/uk/messages.json +45 -0
  241. package/src/components/i18n/locales/ur/messages.json +45 -0
  242. package/src/components/i18n/locales/vi/messages.json +45 -0
  243. package/src/components/i18n/locales/yi/messages.json +45 -0
  244. package/src/components/i18n/locales/zh/messages.json +45 -0
  245. package/src/components/icons/index.ts +242 -0
  246. package/src/components/inline-tools/inline-tool-bold.ts +2213 -0
  247. package/src/components/inline-tools/inline-tool-convert.ts +142 -0
  248. package/src/components/inline-tools/inline-tool-italic.ts +500 -0
  249. package/src/components/inline-tools/inline-tool-link.ts +540 -0
  250. package/src/components/modules/api/blocks.ts +377 -0
  251. package/src/components/modules/api/caret.ts +125 -0
  252. package/src/components/modules/api/events.ts +51 -0
  253. package/src/components/modules/api/history.ts +73 -0
  254. package/src/components/modules/api/i18n.ts +35 -0
  255. package/src/components/modules/api/index.ts +39 -0
  256. package/src/components/modules/api/inlineToolbar.ts +33 -0
  257. package/src/components/modules/api/listeners.ts +56 -0
  258. package/src/components/modules/api/notifier.ts +46 -0
  259. package/src/components/modules/api/readonly.ts +39 -0
  260. package/src/components/modules/api/sanitizer.ts +30 -0
  261. package/src/components/modules/api/saver.ts +52 -0
  262. package/src/components/modules/api/selection.ts +48 -0
  263. package/src/components/modules/api/styles.ts +72 -0
  264. package/src/components/modules/api/toolbar.ts +79 -0
  265. package/src/components/modules/api/tools.ts +16 -0
  266. package/src/components/modules/api/tooltip.ts +67 -0
  267. package/src/components/modules/api/ui.ts +36 -0
  268. package/src/components/modules/blockEvents.ts +1591 -0
  269. package/src/components/modules/blockManager.ts +1356 -0
  270. package/src/components/modules/blockSelection.ts +708 -0
  271. package/src/components/modules/caret.ts +853 -0
  272. package/src/components/modules/crossBlockSelection.ts +329 -0
  273. package/src/components/modules/dragManager.ts +1204 -0
  274. package/src/components/modules/history.ts +1098 -0
  275. package/src/components/modules/i18n.ts +332 -0
  276. package/src/components/modules/index.ts +139 -0
  277. package/src/components/modules/modificationsObserver.ts +147 -0
  278. package/src/components/modules/paste.ts +1092 -0
  279. package/src/components/modules/readonly.ts +136 -0
  280. package/src/components/modules/rectangleSelection.ts +711 -0
  281. package/src/components/modules/renderer.ts +155 -0
  282. package/src/components/modules/saver.ts +283 -0
  283. package/src/components/modules/toolbar/blockSettings.ts +782 -0
  284. package/src/components/modules/toolbar/index.ts +1296 -0
  285. package/src/components/modules/toolbar/inline.ts +956 -0
  286. package/src/components/modules/tools.ts +625 -0
  287. package/src/components/modules/ui.ts +1283 -0
  288. package/src/components/polyfills.ts +113 -0
  289. package/src/components/selection.ts +1179 -0
  290. package/src/components/tools/base.ts +301 -0
  291. package/src/components/tools/block.ts +339 -0
  292. package/src/components/tools/collection.ts +67 -0
  293. package/src/components/tools/factory.ts +138 -0
  294. package/src/components/tools/inline.ts +71 -0
  295. package/src/components/tools/tune.ts +33 -0
  296. package/src/components/ui/toolbox.ts +610 -0
  297. package/src/components/utils/announcer.ts +205 -0
  298. package/src/components/utils/api.ts +20 -0
  299. package/src/components/utils/bem.ts +26 -0
  300. package/src/components/utils/blocks.ts +284 -0
  301. package/src/components/utils/caret.ts +1067 -0
  302. package/src/components/utils/data-model-transform.ts +382 -0
  303. package/src/components/utils/events.ts +117 -0
  304. package/src/components/utils/keyboard.ts +60 -0
  305. package/src/components/utils/listeners.ts +296 -0
  306. package/src/components/utils/mutations.ts +39 -0
  307. package/src/components/utils/notifier/draw.ts +190 -0
  308. package/src/components/utils/notifier/index.ts +66 -0
  309. package/src/components/utils/notifier/types.ts +1 -0
  310. package/src/components/utils/notifier.ts +77 -0
  311. package/src/components/utils/placeholder.ts +140 -0
  312. package/src/components/utils/popover/components/hint/hint.const.ts +10 -0
  313. package/src/components/utils/popover/components/hint/hint.ts +46 -0
  314. package/src/components/utils/popover/components/hint/index.ts +6 -0
  315. package/src/components/utils/popover/components/popover-header/index.ts +2 -0
  316. package/src/components/utils/popover/components/popover-header/popover-header.const.ts +8 -0
  317. package/src/components/utils/popover/components/popover-header/popover-header.ts +80 -0
  318. package/src/components/utils/popover/components/popover-header/popover-header.types.ts +14 -0
  319. package/src/components/utils/popover/components/popover-item/index.ts +13 -0
  320. package/src/components/utils/popover/components/popover-item/popover-item-default/popover-item-default.const.ts +50 -0
  321. package/src/components/utils/popover/components/popover-item/popover-item-default/popover-item-default.ts +680 -0
  322. package/src/components/utils/popover/components/popover-item/popover-item-html/popover-item-html.const.ts +14 -0
  323. package/src/components/utils/popover/components/popover-item/popover-item-html/popover-item-html.ts +136 -0
  324. package/src/components/utils/popover/components/popover-item/popover-item-separator/popover-item-separator.const.ts +20 -0
  325. package/src/components/utils/popover/components/popover-item/popover-item-separator/popover-item-separator.ts +117 -0
  326. package/src/components/utils/popover/components/popover-item/popover-item.ts +197 -0
  327. package/src/components/utils/popover/components/search-input/index.ts +2 -0
  328. package/src/components/utils/popover/components/search-input/search-input.const.ts +8 -0
  329. package/src/components/utils/popover/components/search-input/search-input.ts +178 -0
  330. package/src/components/utils/popover/components/search-input/search-input.types.ts +59 -0
  331. package/src/components/utils/popover/index.ts +13 -0
  332. package/src/components/utils/popover/popover-abstract.ts +457 -0
  333. package/src/components/utils/popover/popover-desktop.ts +682 -0
  334. package/src/components/utils/popover/popover-inline.ts +338 -0
  335. package/src/components/utils/popover/popover-mobile.ts +201 -0
  336. package/src/components/utils/popover/popover.const.ts +81 -0
  337. package/src/components/utils/popover/utils/popover-states-history.ts +72 -0
  338. package/src/components/utils/promise-queue.ts +43 -0
  339. package/src/components/utils/sanitizer.ts +537 -0
  340. package/src/components/utils/scroll-locker.ts +87 -0
  341. package/src/components/utils/shortcut.ts +231 -0
  342. package/src/components/utils/shortcuts.ts +113 -0
  343. package/src/components/utils/tools.ts +110 -0
  344. package/src/components/utils/tooltip.ts +591 -0
  345. package/src/components/utils/tw.ts +241 -0
  346. package/src/components/utils.ts +1081 -0
  347. package/src/env.d.ts +13 -0
  348. package/src/full.ts +69 -0
  349. package/src/locales.ts +51 -0
  350. package/src/stories/Block.stories.ts +498 -0
  351. package/src/stories/EditorModes.stories.ts +505 -0
  352. package/src/stories/Header.stories.ts +137 -0
  353. package/src/stories/InlineToolbar.stories.ts +498 -0
  354. package/src/stories/List.stories.ts +259 -0
  355. package/src/stories/Notifier.stories.ts +340 -0
  356. package/src/stories/Paragraph.stories.ts +112 -0
  357. package/src/stories/Placeholder.stories.ts +319 -0
  358. package/src/stories/Popover.stories.ts +759 -0
  359. package/src/stories/Selection.stories.ts +250 -0
  360. package/src/stories/StubBlock.stories.ts +156 -0
  361. package/src/stories/Toolbar.stories.ts +223 -0
  362. package/src/stories/Toolbox.stories.ts +166 -0
  363. package/src/stories/Tooltip.stories.ts +198 -0
  364. package/src/stories/helpers.ts +463 -0
  365. package/src/styles/main.css +126 -0
  366. package/src/tools/header/index.ts +647 -0
  367. package/src/tools/index.ts +45 -0
  368. package/src/tools/list/index.ts +1826 -0
  369. package/src/tools/paragraph/index.ts +412 -0
  370. package/src/tools/stub/index.ts +107 -0
  371. package/src/types-internal/blok-modules.d.ts +87 -0
  372. package/src/types-internal/html-janitor.d.ts +28 -0
  373. package/src/types-internal/module-config.d.ts +11 -0
  374. package/src/variants/all-locales.ts +155 -0
  375. package/src/variants/blok-maximum.ts +20 -0
  376. package/src/variants/blok-minimum.ts +243 -0
  377. package/types/api/blocks.d.ts +9 -1
  378. package/types/api/history.d.ts +7 -0
  379. package/types/api/i18n.d.ts +22 -3
  380. package/types/api/selection.d.ts +6 -0
  381. package/types/api/styles.d.ts +23 -10
  382. package/types/configs/blok-config.d.ts +29 -0
  383. package/types/configs/i18n-config.d.ts +52 -2
  384. package/types/configs/i18n-dictionary.d.ts +16 -90
  385. package/types/configs/sanitizer-config.d.ts +25 -1
  386. package/types/data-attributes.d.ts +170 -0
  387. package/types/data-formats/output-data.d.ts +15 -0
  388. package/types/full.d.ts +80 -0
  389. package/types/index.d.ts +30 -13
  390. package/types/locales.d.ts +59 -0
  391. package/types/tools/adapters/inline-tool-adapter.d.ts +10 -0
  392. package/types/tools/block-tool.d.ts +11 -2
  393. package/types/tools/header.d.ts +18 -0
  394. package/types/tools/index.d.ts +1 -0
  395. package/types/tools/list.d.ts +91 -0
  396. package/types/tools/paragraph.d.ts +71 -0
  397. package/types/tools/tool-settings.d.ts +99 -6
  398. package/types/tools/tool.d.ts +6 -0
  399. package/types/tools-entry.d.ts +49 -0
  400. package/types/utils/popover/popover-item.d.ts +24 -5
  401. package/types/utils/popover/popover.d.ts +13 -0
  402. package/dist/blok-C8XbyLHh.mjs +0 -25795
  403. package/dist/blok.umd.js +0 -181
@@ -34,138 +34,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34
34
 
35
35
  ---
36
36
 
37
- Name: nanoid
38
- Version: 5.1.6
39
- License: MIT
40
- Private: false
41
- Description: A tiny (118 bytes), secure URL-friendly unique string ID generator
42
- Repository: undefined
43
- Author: Andrey Sitnik <andrey@sitnik.ru>
44
- License Copyright:
45
- ===
46
-
47
- The MIT License (MIT)
48
-
49
- Copyright 2017 Andrey Sitnik <andrey@sitnik.ru>
50
-
51
- Permission is hereby granted, free of charge, to any person obtaining a copy of
52
- this software and associated documentation files (the "Software"), to deal in
53
- the Software without restriction, including without limitation the rights to
54
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
55
- the Software, and to permit persons to whom the Software is furnished to do so,
56
- subject to the following conditions:
57
-
58
- The above copyright notice and this permission notice shall be included in all
59
- copies or substantial portions of the Software.
60
-
61
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
62
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
63
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
64
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
65
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
66
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
67
-
68
- ---
69
-
70
- Name: lodash
71
- Version: 4.17.21
72
- License: MIT
73
- Private: false
74
- Description: Lodash modular utilities.
75
- Repository: undefined
76
- Homepage: https://lodash.com/
77
- Author: John-David Dalton <john.david.dalton@gmail.com>
78
- Contributors:
79
- John-David Dalton <john.david.dalton@gmail.com>
80
- Mathias Bynens <mathias@qiwi.be>
81
- License Copyright:
82
- ===
83
-
84
- Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
85
-
86
- Based on Underscore.js, copyright Jeremy Ashkenas,
87
- DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
88
-
89
- This software consists of voluntary contributions made by many
90
- individuals. For exact contribution history, see the revision history
91
- available at https://github.com/lodash/lodash
92
-
93
- The following license applies to all parts of this software except as
94
- documented below:
95
-
96
- ====
97
-
98
- Permission is hereby granted, free of charge, to any person obtaining
99
- a copy of this software and associated documentation files (the
100
- "Software"), to deal in the Software without restriction, including
101
- without limitation the rights to use, copy, modify, merge, publish,
102
- distribute, sublicense, and/or sell copies of the Software, and to
103
- permit persons to whom the Software is furnished to do so, subject to
104
- the following conditions:
105
-
106
- The above copyright notice and this permission notice shall be
107
- included in all copies or substantial portions of the Software.
108
-
109
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
110
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
111
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
112
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
113
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
114
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
115
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
116
-
117
- ====
118
-
119
- Copyright and related rights for sample code are waived via CC0. Sample
120
- code is defined as all source code displayed within the prose of the
121
- documentation.
122
-
123
- CC0: http://creativecommons.org/publicdomain/zero/1.0/
124
-
125
- ====
126
-
127
- Files located in the node_modules and vendor directories are externally
128
- maintained libraries used by this software which have their own
129
- licenses; we recommend you read them, as their terms may differ from the
130
- terms above.
131
-
132
- ---
133
-
134
- Name: tailwind-merge
135
- Version: 3.4.0
136
- License: MIT
137
- Private: false
138
- Description: Merge Tailwind CSS classes without style conflicts
139
- Repository: https://github.com/dcastil/tailwind-merge.git
140
- Homepage: https://github.com/dcastil/tailwind-merge
141
- Author: Dany Castillo
142
- License Copyright:
143
- ===
144
-
145
- MIT License
146
-
147
- Copyright (c) 2021 Dany Castillo
148
-
149
- Permission is hereby granted, free of charge, to any person obtaining a copy
150
- of this software and associated documentation files (the "Software"), to deal
151
- in the Software without restriction, including without limitation the rights
152
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
153
- copies of the Software, and to permit persons to whom the Software is
154
- furnished to do so, subject to the following conditions:
155
-
156
- The above copyright notice and this permission notice shall be included in all
157
- copies or substantial portions of the Software.
158
-
159
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
160
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
161
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
162
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
163
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
164
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
165
- SOFTWARE.
166
-
167
- ---
168
-
169
37
  Name: html-janitor
170
38
  Version: 2.0.4
171
39
  License: null
@@ -378,87 +246,53 @@ Apache License
378
246
 
379
247
  ---
380
248
 
381
- Name: react
382
- Version: 18.3.1
383
- License: MIT
384
- Private: false
385
- Description: React is a JavaScript library for building user interfaces.
386
- Repository: https://github.com/facebook/react.git
387
- Homepage: https://reactjs.org/
388
- License Copyright:
389
- ===
390
-
391
- MIT License
392
-
393
- Copyright (c) Facebook, Inc. and its affiliates.
394
-
395
- Permission is hereby granted, free of charge, to any person obtaining a copy
396
- of this software and associated documentation files (the "Software"), to deal
397
- in the Software without restriction, including without limitation the rights
398
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
399
- copies of the Software, and to permit persons to whom the Software is
400
- furnished to do so, subject to the following conditions:
401
-
402
- The above copyright notice and this permission notice shall be included in all
403
- copies or substantial portions of the Software.
404
-
405
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
406
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
407
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
408
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
409
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
410
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
411
- SOFTWARE.
412
-
413
- ---
414
-
415
- Name: react-dom
416
- Version: 18.3.1
249
+ Name: nanoid
250
+ Version: 5.1.6
417
251
  License: MIT
418
252
  Private: false
419
- Description: React package for working with the DOM.
420
- Repository: https://github.com/facebook/react.git
421
- Homepage: https://reactjs.org/
253
+ Description: A tiny (118 bytes), secure URL-friendly unique string ID generator
254
+ Repository: undefined
255
+ Author: Andrey Sitnik <andrey@sitnik.ru>
422
256
  License Copyright:
423
257
  ===
424
258
 
425
- MIT License
259
+ The MIT License (MIT)
426
260
 
427
- Copyright (c) Facebook, Inc. and its affiliates.
261
+ Copyright 2017 Andrey Sitnik <andrey@sitnik.ru>
428
262
 
429
- Permission is hereby granted, free of charge, to any person obtaining a copy
430
- of this software and associated documentation files (the "Software"), to deal
431
- in the Software without restriction, including without limitation the rights
432
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
433
- copies of the Software, and to permit persons to whom the Software is
434
- furnished to do so, subject to the following conditions:
263
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
264
+ this software and associated documentation files (the "Software"), to deal in
265
+ the Software without restriction, including without limitation the rights to
266
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
267
+ the Software, and to permit persons to whom the Software is furnished to do so,
268
+ subject to the following conditions:
435
269
 
436
270
  The above copyright notice and this permission notice shall be included in all
437
271
  copies or substantial portions of the Software.
438
272
 
439
273
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
440
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
441
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
442
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
443
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
444
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
445
- SOFTWARE.
274
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
275
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
276
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
277
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
278
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
446
279
 
447
280
  ---
448
281
 
449
- Name: scheduler
450
- Version: 0.23.2
282
+ Name: i18next
283
+ Version: 25.7.3
451
284
  License: MIT
452
285
  Private: false
453
- Description: Cooperative scheduler for the browser environment.
454
- Repository: https://github.com/facebook/react.git
455
- Homepage: https://reactjs.org/
286
+ Description: i18next internationalization framework
287
+ Repository: https://github.com/i18next/i18next.git
288
+ Homepage: https://www.i18next.com
289
+ Author: Jan Mühlemann <jan.muehlemann@gmail.com> (https://github.com/jamuhl)
456
290
  License Copyright:
457
291
  ===
458
292
 
459
- MIT License
293
+ The MIT License (MIT)
460
294
 
461
- Copyright (c) Facebook, Inc. and its affiliates.
295
+ Copyright (c) 2025 i18next
462
296
 
463
297
  Permission is hereby granted, free of charge, to any person obtaining a copy
464
298
  of this software and associated documentation files (the "Software"), to deal
@@ -476,37 +310,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
476
310
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
477
311
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
478
312
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
479
- SOFTWARE.
480
-
481
- ---
482
-
483
- Name: sortablejs
484
- Version: 1.15.6
485
- License: MIT
486
- Private: false
487
- Description: JavaScript library for reorderable drag-and-drop lists on modern browsers and touch devices. No jQuery required. Supports Meteor, AngularJS, React, Polymer, Vue, Knockout and any CSS library, e.g. Bootstrap.
488
- Repository: git://github.com/SortableJS/Sortable.git
489
- License Copyright:
490
- ===
491
-
492
- MIT License
493
-
494
- Copyright (c) 2019 All contributors to Sortable
495
-
496
- Permission is hereby granted, free of charge, to any person obtaining a copy
497
- of this software and associated documentation files (the "Software"), to deal
498
- in the Software without restriction, including without limitation the rights
499
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
500
- copies of the Software, and to permit persons to whom the Software is
501
- furnished to do so, subject to the following conditions:
502
-
503
- The above copyright notice and this permission notice shall be included in all
504
- copies or substantial portions of the Software.
505
-
506
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
507
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
508
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
509
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
510
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
511
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
512
313
  SOFTWARE.
package/package.json CHANGED
@@ -1,21 +1,55 @@
1
1
  {
2
2
  "name": "@jackuait/blok",
3
- "version": "0.4.1-beta.1",
3
+ "version": "0.4.1-beta.12",
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
- "main": "dist/blok.umd.js",
6
5
  "module": "dist/blok.mjs",
7
6
  "types": "./types/index.d.ts",
7
+ "typesVersions": {
8
+ "*": {
9
+ "tools": [
10
+ "./types/tools-entry.d.ts"
11
+ ],
12
+ "full": [
13
+ "./types/full.d.ts"
14
+ ],
15
+ "locales": [
16
+ "./types/locales.d.ts"
17
+ ]
18
+ }
19
+ },
20
+ "exports": {
21
+ ".": {
22
+ "types": "./types/index.d.ts",
23
+ "import": "./dist/blok.mjs"
24
+ },
25
+ "./tools": {
26
+ "types": "./types/tools-entry.d.ts",
27
+ "import": "./dist/tools.mjs"
28
+ },
29
+ "./full": {
30
+ "types": "./types/full.d.ts",
31
+ "import": "./dist/full.mjs"
32
+ },
33
+ "./locales": {
34
+ "types": "./types/locales.d.ts",
35
+ "import": "./dist/locales.mjs"
36
+ }
37
+ },
8
38
  "bin": {
9
39
  "migrate-from-editorjs": "./codemod/migrate-editorjs-to-blok.js"
10
40
  },
11
41
  "files": [
12
42
  "dist",
13
43
  "types",
44
+ "src",
14
45
  "codemod"
15
46
  ],
16
47
  "publishConfig": {
17
48
  "access": "public"
18
49
  },
50
+ "engines": {
51
+ "node": ">=18.0.0"
52
+ },
19
53
  "keywords": [
20
54
  "blok",
21
55
  "text editor",
@@ -25,15 +59,21 @@
25
59
  "headless editor",
26
60
  "extensible editor"
27
61
  ],
62
+ "sideEffects": [
63
+ "./src/components/polyfills.ts",
64
+ "*.css"
65
+ ],
28
66
  "scripts": {
29
67
  "serve": "vite --no-open",
30
- "build": "vite build --mode production",
31
- "build:test": "vite build --mode test",
68
+ "build": "vite build --mode production && node scripts/build-locales.mjs",
69
+ "build:test": "vite build --mode test && node scripts/build-locales.mjs test",
32
70
  "lint": "sh -c 'eslint .; ESLINT_EXIT=$?; tsc --noEmit; TSC_EXIT=$?; if [ $ESLINT_EXIT -ne 0 ] || [ $TSC_EXIT -ne 0 ]; then exit 1; fi'",
33
71
  "lint:fix": "eslint . --fix",
34
72
  "lint:tests": "eslint test/",
35
73
  "lint:types": "tsc --noEmit",
74
+ "i18n:check": "node scripts/i18n/check-translations.mjs",
36
75
  "e2e": "playwright test",
76
+ "e2e:smoke": "playwright test --project=chromium --grep=\"@smoke\"",
37
77
  "e2e:chrome": "playwright test --project=chromium",
38
78
  "e2e:firefox": "playwright test --project=firefox",
39
79
  "e2e:safari": "playwright test --project=webkit",
@@ -48,15 +88,22 @@
48
88
  "jscpd:report": "jscpd . --reporters html,json --output .jscpd-report",
49
89
  "prepublishOnly": "yarn build",
50
90
  "prepare": "husky",
51
- "release": "./scripts/release.sh release",
52
- "release:beta": "./scripts/release.sh prerelease beta",
53
- "release:alpha": "./scripts/release.sh prerelease alpha",
54
- "release:rc": "./scripts/release.sh prerelease rc",
55
- "release:dry": "./scripts/release.sh release beta true",
56
91
  "storybook": "storybook dev -p 6006 --no-open",
57
- "storybook:build": "storybook build",
92
+ "storybook:build": "storybook build --stats-json",
58
93
  "storybook:test": "vitest --project=storybook --run",
59
- "chromatic": "chromatic --exit-zero-on-changes"
94
+ "chromatic": "chromatic --exit-zero-on-changes",
95
+ "verify:package": "node scripts/verify-published-package.mjs",
96
+ "verify:package:local": "npm pack && node scripts/verify-published-package.mjs --local",
97
+ "verify:version": "node scripts/verify-version.mjs",
98
+ "unpublish": "node scripts/unpublish-package.mjs",
99
+ "bundle:track": "node scripts/track-bundle-size.mjs --verbose",
100
+ "bundle:variants": "node scripts/build-bundle-variants.mjs --verbose",
101
+ "bundle:trends": "node scripts/view-bundle-trends.mjs --trends",
102
+ "bundle:history": "node scripts/view-bundle-trends.mjs",
103
+ "perf:analyze": "node scripts/analyze-performance.mjs",
104
+ "perf:compare": "node scripts/analyze-performance.mjs --baseline",
105
+ "perf:dashboard": "node scripts/generate-performance-dashboard.mjs",
106
+ "e2e:validate-categories": "node scripts/validate-test-categories.mjs"
60
107
  },
61
108
  "author": "JackUait",
62
109
  "contributors": [
@@ -73,17 +120,15 @@
73
120
  "@chromatic-com/storybook": "4.1.3",
74
121
  "@commitlint/cli": "20.1.0",
75
122
  "@commitlint/config-conventional": "20.0.0",
76
- "@eslint-react/eslint-plugin": "^2.3.12",
77
123
  "@playwright/test": "1.57.0",
124
+ "@semantic-release/changelog": "^6.0.3",
125
+ "@semantic-release/git": "^10.0.1",
78
126
  "@storybook/addon-a11y": "10.1.1",
79
127
  "@storybook/addon-vitest": "10.1.1",
80
128
  "@storybook/global": "5.0.0",
81
129
  "@storybook/html-vite": "10.1.1",
82
130
  "@types/eslint-plugin-tailwindcss": "3",
83
131
  "@types/node": "22.19.0",
84
- "@types/react": "18.3.1",
85
- "@types/react-dom": "18.3.1",
86
- "@types/sortablejs": "1.15.9",
87
132
  "@vitest/browser-playwright": "4.0.14",
88
133
  "@vitest/coverage-v8": "4.0.14",
89
134
  "@vitest/ui": "4.0.14",
@@ -94,8 +139,6 @@
94
139
  "eslint-plugin-jest": "29.2.1",
95
140
  "eslint-plugin-jsdoc": "61.4.1",
96
141
  "eslint-plugin-playwright": "2.3.0",
97
- "eslint-plugin-react": "^7.37.5",
98
- "eslint-plugin-react-hooks": "^7.0.1",
99
142
  "eslint-plugin-sonarjs": "3.0.5",
100
143
  "eslint-plugin-storybook": "10.1.1",
101
144
  "eslint-plugin-tailwindcss": "3.18.2",
@@ -103,10 +146,10 @@
103
146
  "husky": "^9.1.7",
104
147
  "jscpd": "4.0.5",
105
148
  "jsdom": "27.2.0",
106
- "nanoid": "5.1.6",
107
149
  "playwright": "1.57.0",
108
150
  "postcss": "8.5.6",
109
151
  "rollup-plugin-license": "3.6.0",
152
+ "semantic-release": "^25.0.2",
110
153
  "storybook": "10.1.1",
111
154
  "tailwindcss": "3",
112
155
  "tslint": "6.1.3",
@@ -118,11 +161,7 @@
118
161
  "yaml": "2.8.1"
119
162
  },
120
163
  "dependencies": {
121
- "@types/lodash": "4.17.21",
122
- "lodash": "4.17.21",
123
- "react": "18.3.1",
124
- "react-dom": "18.3.1",
125
- "sortablejs": "1.15.6",
126
- "tailwind-merge": "3.4.0"
164
+ "i18next": "^25.7.3",
165
+ "nanoid": "^5.1.6"
127
166
  }
128
167
  }