@blokkli/editor 2.0.0-alpha.52 → 2.0.0-alpha.54

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 (373) hide show
  1. package/dist/chunks/tailwindConfig.mjs +3 -3
  2. package/dist/global/types/blockOptions.d.ts +18 -2
  3. package/dist/module.d.mts +2 -2
  4. package/dist/module.json +1 -1
  5. package/dist/module.mjs +281 -18
  6. package/dist/modules/agent/index.d.mts +1 -1
  7. package/dist/modules/agent/runtime/app/composables/agentProvider.d.ts +1 -0
  8. package/dist/modules/agent/runtime/app/composables/agentProvider.js +7 -0
  9. package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.d.vue.ts +2 -2
  10. package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.vue +14 -49
  11. package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.vue.d.ts +2 -2
  12. package/dist/modules/agent/runtime/app/features/agent/Panel/Feedback/index.d.vue.ts +10 -0
  13. package/dist/modules/agent/runtime/app/features/agent/Panel/Feedback/index.vue +102 -0
  14. package/dist/modules/agent/runtime/app/features/agent/Panel/Feedback/index.vue.d.ts +10 -0
  15. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.vue +8 -5
  16. package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.d.vue.ts +3 -3
  17. package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.vue +9 -5
  18. package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.vue.d.ts +3 -3
  19. package/dist/modules/agent/runtime/app/features/agent/Panel/index.d.vue.ts +7 -0
  20. package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue +16 -2
  21. package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue.d.ts +7 -0
  22. package/dist/modules/agent/runtime/app/features/agent/index.vue +29 -0
  23. package/dist/modules/agent/runtime/app/features/agent/types.d.ts +16 -0
  24. package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Component.vue +3 -1
  25. package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/index.d.ts +2 -0
  26. package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/index.js +8 -1
  27. package/dist/modules/charts/index.d.mts +1 -1
  28. package/dist/modules/charts/index.mjs +2 -3
  29. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.vue +1 -1
  30. package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.vue +1 -1
  31. package/dist/modules/drupal/graphql/base/fragment.paragraphsBlokkliEditState.graphql +16 -0
  32. package/dist/modules/drupal/graphql/base/query.pbConfig.graphql +9 -0
  33. package/dist/modules/drupal/graphql/features/agent.graphql +20 -0
  34. package/dist/modules/drupal/graphql/features/publishNew.graphql +14 -0
  35. package/dist/modules/drupal/graphql/features/referenced-entities.graphql +21 -0
  36. package/dist/modules/drupal/graphql/features/textFieldValues.graphql +20 -0
  37. package/dist/modules/drupal/graphql/features/workspace.graphql +23 -0
  38. package/dist/modules/drupal/graphql/mutations/bulk_translate_field_values.graphql +19 -0
  39. package/dist/modules/drupal/graphql/mutations/clear_outdated_translation.graphql +15 -0
  40. package/dist/modules/drupal/graphql/mutations/ignore_analyze.graphql +15 -0
  41. package/dist/modules/drupal/graphql/mutations/request_translation.graphql +10 -0
  42. package/dist/modules/drupal/graphql/mutations/unignore_analyze.graphql +15 -0
  43. package/dist/modules/drupal/index.d.mts +1 -1
  44. package/dist/modules/drupal/index.mjs +16 -0
  45. package/dist/modules/drupal/runtime/adapter/index.js +180 -11
  46. package/dist/modules/iframes/index.d.mts +31 -0
  47. package/dist/modules/iframes/index.mjs +52 -0
  48. package/dist/modules/iframes/runtime/components/BlokkliIframe/index.d.vue.ts +18 -0
  49. package/dist/modules/iframes/runtime/components/BlokkliIframe/index.vue +61 -0
  50. package/dist/modules/iframes/runtime/components/BlokkliIframe/index.vue.d.ts +18 -0
  51. package/dist/modules/iframes/runtime/components/index.d.ts +1 -0
  52. package/dist/modules/iframes/runtime/components/index.js +1 -0
  53. package/dist/modules/iframes/runtime/features/iframes/Editor/index.d.vue.ts +12 -0
  54. package/dist/modules/iframes/runtime/features/iframes/Editor/index.vue +220 -0
  55. package/dist/modules/iframes/runtime/features/iframes/Editor/index.vue.d.ts +12 -0
  56. package/dist/modules/iframes/runtime/types.d.ts +10 -0
  57. package/dist/modules/index.d.mts +1 -1
  58. package/dist/modules/table-of-contents/index.d.mts +1 -1
  59. package/dist/runtime/components/Blocks/NotImplemented/index.vue +57 -0
  60. package/dist/runtime/components/BlokkliEditable.vue +1 -1
  61. package/dist/runtime/editor/adapter/index.d.ts +8 -1
  62. package/dist/runtime/editor/components/Actions/Interactions/index.vue +77 -17
  63. package/dist/runtime/editor/components/Actions/{ItemDropdown.vue → ItemDropdown/index.vue} +9 -10
  64. package/dist/runtime/editor/components/Actions/index.vue +586 -23
  65. package/dist/runtime/editor/components/AnimationCanvas/index.vue +1 -0
  66. package/dist/runtime/editor/components/AppMenu/MenuButton.vue +185 -1
  67. package/dist/runtime/editor/components/AppMenu/index.vue +24 -10
  68. package/dist/runtime/editor/components/ArtboardTooltip/index.d.vue.ts +6 -2
  69. package/dist/runtime/editor/components/ArtboardTooltip/index.vue +223 -3
  70. package/dist/runtime/editor/components/ArtboardTooltip/index.vue.d.ts +6 -2
  71. package/dist/runtime/editor/components/AutoHeight/index.vue +23 -0
  72. package/dist/runtime/editor/components/Banner/Inner.d.vue.ts +30 -0
  73. package/dist/runtime/editor/components/Banner/Inner.vue +32 -0
  74. package/dist/runtime/editor/components/Banner/Inner.vue.d.ts +30 -0
  75. package/dist/runtime/editor/components/Banner/index.d.vue.ts +3 -13
  76. package/dist/runtime/editor/components/Banner/index.vue +2 -14
  77. package/dist/runtime/editor/components/Banner/index.vue.d.ts +3 -13
  78. package/dist/runtime/editor/components/BetaIndicator/index.d.vue.ts +6 -0
  79. package/dist/runtime/editor/components/BetaIndicator/index.vue +16 -0
  80. package/dist/runtime/editor/components/BetaIndicator/index.vue.d.ts +6 -0
  81. package/dist/runtime/editor/components/BlockPreviewItem/index.vue +51 -1
  82. package/dist/runtime/editor/components/BlockPreviewRenderer/index.vue +27 -1
  83. package/dist/runtime/editor/components/BlockProxy/index.vue +148 -1
  84. package/dist/runtime/editor/components/BlokkliRootErrorBoundary.vue +59 -0
  85. package/dist/runtime/editor/components/BundleSelector/index.vue +170 -20
  86. package/dist/runtime/editor/components/Dialog/index.d.vue.ts +2 -0
  87. package/dist/runtime/editor/components/Dialog/index.vue +341 -0
  88. package/dist/runtime/editor/components/Dialog/index.vue.d.ts +2 -0
  89. package/dist/runtime/editor/components/DiffApproval/Highlight/index.vue +117 -0
  90. package/dist/runtime/editor/components/DiffApproval/Toolbar/index.vue +224 -28
  91. package/dist/runtime/editor/components/DiffViewer/DiffValue.d.vue.ts +1 -0
  92. package/dist/runtime/editor/components/DiffViewer/DiffValue.vue +5 -1
  93. package/dist/runtime/editor/components/DiffViewer/DiffValue.vue.d.ts +1 -0
  94. package/dist/runtime/editor/components/DiffViewer/State.vue +319 -0
  95. package/dist/runtime/editor/components/DraggableList.vue +103 -0
  96. package/dist/runtime/editor/components/Dropdown/index.vue +84 -0
  97. package/dist/runtime/editor/components/EditProvider.vue +72 -15
  98. package/dist/runtime/editor/components/FileDropHandler/index.d.vue.ts +23 -0
  99. package/dist/runtime/editor/components/FileDropHandler/index.vue +108 -0
  100. package/dist/runtime/editor/components/FileDropHandler/index.vue.d.ts +23 -0
  101. package/dist/runtime/editor/components/FlexTextarea/index.vue +4 -2
  102. package/dist/runtime/editor/components/Form/Datepicker/index.vue +149 -0
  103. package/dist/runtime/editor/components/Form/Toggle/index.vue +205 -1
  104. package/dist/runtime/editor/components/FormOverlay/index.vue +90 -0
  105. package/dist/runtime/editor/components/Icon/index.vue +6 -0
  106. package/dist/runtime/editor/components/Indicators/index.vue +161 -0
  107. package/dist/runtime/editor/components/InfoBox/index.vue +65 -0
  108. package/dist/runtime/editor/components/Konami/index.vue +119 -0
  109. package/dist/runtime/editor/components/Loading/index.d.vue.ts +6 -3
  110. package/dist/runtime/editor/components/Loading/index.vue +10 -5
  111. package/dist/runtime/editor/components/Loading/index.vue.d.ts +6 -3
  112. package/dist/runtime/editor/components/Messages/index.vue +131 -0
  113. package/dist/runtime/editor/components/NestedEditorOverlay/index.d.vue.ts +1 -0
  114. package/dist/runtime/editor/components/NestedEditorOverlay/index.vue +246 -12
  115. package/dist/runtime/editor/components/NestedEditorOverlay/index.vue.d.ts +1 -0
  116. package/dist/runtime/editor/components/NotEditStateInfo/index.d.vue.ts +3 -0
  117. package/dist/runtime/editor/components/NotEditStateInfo/index.vue +19 -0
  118. package/dist/runtime/editor/components/NotEditStateInfo/index.vue.d.ts +3 -0
  119. package/dist/runtime/editor/components/Overlay/index.vue +84 -0
  120. package/dist/runtime/editor/components/Pagination/index.vue +41 -0
  121. package/dist/runtime/editor/components/PluginConfigForm/index.vue +23 -0
  122. package/dist/runtime/editor/components/PluginConfigFormInline/FilterSelect/index.vue +429 -0
  123. package/dist/runtime/editor/components/PluginConfigFormInline/index.d.vue.ts +22 -0
  124. package/dist/runtime/editor/components/PluginConfigFormInline/index.vue +150 -0
  125. package/dist/runtime/editor/components/PluginConfigFormInline/index.vue.d.ts +22 -0
  126. package/dist/runtime/editor/components/Popup/index.vue +77 -2
  127. package/dist/runtime/editor/components/PreviewProvider.vue +7 -0
  128. package/dist/runtime/editor/components/Resizable/index.vue +90 -1
  129. package/dist/runtime/editor/components/ScaleToFit/index.vue +30 -1
  130. package/dist/runtime/editor/components/SearchOverlay/index.d.vue.ts +43 -0
  131. package/dist/runtime/editor/components/SearchOverlay/index.vue +264 -0
  132. package/dist/runtime/editor/components/SearchOverlay/index.vue.d.ts +43 -0
  133. package/dist/runtime/editor/components/StatusIcon/index.vue +104 -0
  134. package/dist/runtime/editor/components/StatusIndicator/index.d.vue.ts +9 -0
  135. package/dist/runtime/editor/components/StatusIndicator/index.vue +16 -0
  136. package/dist/runtime/editor/components/StatusIndicator/index.vue.d.ts +9 -0
  137. package/dist/runtime/editor/components/SystemRequirements/index.vue +57 -0
  138. package/dist/runtime/editor/components/Tabs/index.d.vue.ts +30 -0
  139. package/dist/runtime/editor/components/Tabs/index.vue +32 -0
  140. package/dist/runtime/editor/components/Tabs/index.vue.d.ts +30 -0
  141. package/dist/runtime/editor/components/Toolbar/index.vue +215 -4
  142. package/dist/runtime/editor/components/Tooltip/Context.d.vue.ts +7 -0
  143. package/dist/runtime/editor/components/Tooltip/Context.vue +13 -0
  144. package/dist/runtime/editor/components/Tooltip/Context.vue.d.ts +7 -0
  145. package/dist/runtime/editor/components/Tooltip/Status.d.vue.ts +8 -0
  146. package/dist/runtime/editor/components/Tooltip/Status.vue +27 -0
  147. package/dist/runtime/editor/components/Tooltip/Status.vue.d.ts +8 -0
  148. package/dist/runtime/editor/components/Tooltip/index.d.vue.ts +27 -0
  149. package/dist/runtime/editor/components/Tooltip/index.vue +40 -0
  150. package/dist/runtime/editor/components/Tooltip/index.vue.d.ts +27 -0
  151. package/dist/runtime/editor/components/index.d.ts +59 -49
  152. package/dist/runtime/editor/components/index.js +59 -98
  153. package/dist/runtime/editor/composables/defineHighlight.d.ts +2 -0
  154. package/dist/runtime/editor/composables/defineHighlight.js +10 -0
  155. package/dist/runtime/editor/composables/index.d.ts +1 -0
  156. package/dist/runtime/editor/composables/index.js +1 -0
  157. package/dist/runtime/editor/composables/useBlockRegistration.js +8 -0
  158. package/dist/runtime/editor/composables/useStickyToolbar.d.ts +1 -0
  159. package/dist/runtime/editor/composables/useStickyToolbar.js +16 -0
  160. package/dist/runtime/editor/css/output.css +1 -1
  161. package/dist/runtime/editor/events/index.d.ts +10 -0
  162. package/dist/runtime/editor/features/add-list/Help/index.vue +193 -0
  163. package/dist/runtime/editor/features/add-list/index.vue +441 -0
  164. package/dist/runtime/editor/features/analyze/Ignored/index.d.vue.ts +7 -0
  165. package/dist/runtime/editor/features/analyze/Ignored/index.vue +35 -0
  166. package/dist/runtime/editor/features/analyze/Ignored/index.vue.d.ts +7 -0
  167. package/dist/runtime/editor/features/analyze/Main.vue +148 -24
  168. package/dist/runtime/editor/features/analyze/Results/Results.d.vue.ts +1 -9
  169. package/dist/runtime/editor/features/analyze/Results/Results.vue +0 -2
  170. package/dist/runtime/editor/features/analyze/Results/Results.vue.d.ts +1 -9
  171. package/dist/runtime/editor/features/analyze/Results/ResultsItem.d.vue.ts +1 -9
  172. package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue +1 -2
  173. package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue.d.ts +1 -9
  174. package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.d.vue.ts +1 -9
  175. package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue +11 -8
  176. package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue.d.ts +1 -9
  177. package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.d.vue.ts +3 -10
  178. package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue +63 -25
  179. package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue.d.ts +3 -10
  180. package/dist/runtime/editor/features/analyze/analyzers/altText.js +2 -0
  181. package/dist/runtime/editor/features/analyze/analyzers/headingStructure.js +3 -0
  182. package/dist/runtime/editor/features/analyze/analyzers/helpers/hashString.d.ts +7 -0
  183. package/dist/runtime/editor/features/analyze/analyzers/helpers/hashString.js +8 -0
  184. package/dist/runtime/editor/features/analyze/analyzers/readability.js +6 -12
  185. package/dist/runtime/editor/features/analyze/analyzers/types.d.ts +20 -0
  186. package/dist/runtime/editor/features/analyze/index.vue +458 -0
  187. package/dist/runtime/editor/features/analyze/types.d.ts +12 -0
  188. package/dist/runtime/editor/features/artboard/Overview/index.vue +37 -4
  189. package/dist/runtime/editor/features/artboard/Renderer.vue +79 -9
  190. package/dist/runtime/editor/features/artboard/Scrollbar/index.vue +84 -0
  191. package/dist/runtime/editor/features/block-scheduler/Dialog/index.vue +1 -1
  192. package/dist/runtime/editor/features/block-scheduler/index.vue +114 -0
  193. package/dist/runtime/editor/features/breadcrumbs/index.vue +150 -0
  194. package/dist/runtime/editor/features/changelog/Dialog/index.vue +62 -7
  195. package/dist/runtime/editor/features/changelog/changelog.json +9 -1
  196. package/dist/runtime/editor/features/clipboard/index.vue +153 -1
  197. package/dist/runtime/editor/features/command-palette/Palette/Item/index.vue +39 -16
  198. package/dist/runtime/editor/features/command-palette/Palette/index.vue +24 -130
  199. package/dist/runtime/editor/features/comments/index.vue +235 -0
  200. package/dist/runtime/editor/features/complex-options/index.vue +4 -1
  201. package/dist/runtime/editor/features/debug/Main.vue +1 -1
  202. package/dist/runtime/editor/features/debug/Section/Features.vue +2 -4
  203. package/dist/runtime/editor/features/debug/index.vue +168 -0
  204. package/dist/runtime/editor/features/dev-mode/index.vue +92 -27
  205. package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue +1 -1
  206. package/dist/runtime/editor/features/dragging-overlay/index.vue +330 -0
  207. package/dist/runtime/editor/features/edit/index.vue +15 -17
  208. package/dist/runtime/editor/features/edit-form/Frame/index.vue +21 -4
  209. package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.d.vue.ts +10 -1
  210. package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue +47 -5
  211. package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue.d.ts +10 -1
  212. package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/ChunkOverlay.vue +77 -0
  213. package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/index.vue +55 -56
  214. package/dist/runtime/editor/features/editable-field/Overlay/index.vue +417 -8
  215. package/dist/runtime/editor/features/editable-mask/index.vue +9 -0
  216. package/dist/runtime/editor/features/entity-title/index.vue +40 -56
  217. package/dist/runtime/editor/features/fragments/Dialog/index.vue +90 -0
  218. package/dist/runtime/editor/features/help/Shortcuts/index.vue +71 -0
  219. package/dist/runtime/editor/features/help/index.vue +17 -0
  220. package/dist/runtime/editor/features/highlights/Renderer/fragment.glsl +89 -0
  221. package/dist/runtime/editor/features/highlights/Renderer/index.vue +408 -0
  222. package/dist/runtime/editor/features/highlights/Renderer/vertex.glsl +87 -0
  223. package/dist/runtime/editor/features/highlights/index.d.vue.ts +3 -0
  224. package/dist/runtime/editor/features/highlights/index.vue +20 -0
  225. package/dist/runtime/editor/features/highlights/index.vue.d.ts +3 -0
  226. package/dist/runtime/editor/features/history/List/index.vue +209 -0
  227. package/dist/runtime/editor/features/history/index.vue +0 -1
  228. package/dist/runtime/editor/features/hover/Renderer/index.vue +1 -1
  229. package/dist/runtime/editor/features/hover/Renderer/vertex.glsl +1 -1
  230. package/dist/runtime/editor/features/import-existing/Dialog/index.vue +18 -0
  231. package/dist/runtime/editor/features/media-library/Library/index.vue +10 -30
  232. package/dist/runtime/editor/features/media-library/index.vue +331 -0
  233. package/dist/runtime/editor/features/options/Form/Checkbox/index.vue +1 -1
  234. package/dist/runtime/editor/features/options/Form/Checkboxes/index.vue +1 -1
  235. package/dist/runtime/editor/features/options/Form/ComplexType/index.vue +6 -2
  236. package/dist/runtime/editor/features/options/Form/Item.vue +21 -18
  237. package/dist/runtime/editor/features/options/Form/Radios/index.d.vue.ts +6 -0
  238. package/dist/runtime/editor/features/options/Form/Radios/index.vue +25 -6
  239. package/dist/runtime/editor/features/options/Form/Radios/index.vue.d.ts +6 -0
  240. package/dist/runtime/editor/features/options/Form/index.vue +1 -4
  241. package/dist/runtime/editor/features/options/index.vue +729 -0
  242. package/dist/runtime/editor/features/ownership/Banner/index.vue +9 -8
  243. package/dist/runtime/editor/features/ownership/index.vue +1 -1
  244. package/dist/runtime/editor/features/preview-grant/QrCode/index.vue +8 -3
  245. package/dist/runtime/editor/features/publish/Dialog/Item.vue +18 -20
  246. package/dist/runtime/editor/features/publish/Dialog/index.vue +5 -1
  247. package/dist/runtime/editor/features/publish/index.vue +835 -0
  248. package/dist/runtime/editor/features/publish/types.d.ts +5 -1
  249. package/dist/runtime/editor/features/referenced-entities/List/Item/index.d.vue.ts +4 -0
  250. package/dist/runtime/editor/features/referenced-entities/List/Item/index.vue +81 -0
  251. package/dist/runtime/editor/features/referenced-entities/List/Item/index.vue.d.ts +4 -0
  252. package/dist/runtime/editor/features/referenced-entities/List/index.d.vue.ts +11 -0
  253. package/dist/runtime/editor/features/referenced-entities/List/index.vue +78 -0
  254. package/dist/runtime/editor/features/referenced-entities/List/index.vue.d.ts +11 -0
  255. package/dist/runtime/editor/features/referenced-entities/index.d.vue.ts +3 -0
  256. package/dist/runtime/editor/features/referenced-entities/index.vue +36 -0
  257. package/dist/runtime/editor/features/referenced-entities/index.vue.d.ts +3 -0
  258. package/dist/runtime/editor/features/referenced-entities/types.d.ts +13 -0
  259. package/dist/runtime/editor/features/responsive-preview/Frame/index.vue +188 -0
  260. package/dist/runtime/editor/features/search/Overlay/Results/Page/index.vue +1 -1
  261. package/dist/runtime/editor/features/search/index.vue +511 -0
  262. package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.vue +58 -0
  263. package/dist/runtime/editor/features/selection/index.vue +47 -15
  264. package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.vue +23 -0
  265. package/dist/runtime/editor/features/settings/Dialog/index.vue +5 -2
  266. package/dist/runtime/editor/features/settings/index.vue +152 -0
  267. package/dist/runtime/editor/features/structure/List/Item/index.vue +7 -0
  268. package/dist/runtime/editor/features/structure/index.vue +178 -0
  269. package/dist/runtime/editor/features/templates/ManageDialog/Item.vue +3 -3
  270. package/dist/runtime/editor/features/templates/ManageDialog/index.vue +24 -3
  271. package/dist/runtime/editor/features/theme/index.vue +94 -0
  272. package/dist/runtime/editor/features/touch-action-bar/Bar/index.vue +34 -0
  273. package/dist/runtime/editor/features/tour/Overlay/index.vue +243 -13
  274. package/dist/runtime/editor/features/transform/Dialog/index.vue +132 -1
  275. package/dist/runtime/editor/features/translations/Banner/index.d.vue.ts +14 -1
  276. package/dist/runtime/editor/features/translations/Banner/index.vue +139 -12
  277. package/dist/runtime/editor/features/translations/Banner/index.vue.d.ts +14 -1
  278. package/dist/runtime/editor/features/translations/CsvDialog/Export/index.d.vue.ts +3 -0
  279. package/dist/runtime/editor/features/translations/CsvDialog/Export/index.vue +272 -0
  280. package/dist/runtime/editor/features/translations/CsvDialog/Export/index.vue.d.ts +3 -0
  281. package/dist/runtime/editor/features/translations/CsvDialog/Import/index.d.vue.ts +10 -0
  282. package/dist/runtime/editor/features/translations/CsvDialog/Import/index.vue +382 -0
  283. package/dist/runtime/editor/features/translations/CsvDialog/Import/index.vue.d.ts +10 -0
  284. package/dist/runtime/editor/features/translations/CsvDialog/csv.d.ts +22 -0
  285. package/dist/runtime/editor/features/translations/CsvDialog/csv.js +50 -0
  286. package/dist/runtime/editor/features/translations/CsvDialog/index.d.vue.ts +10 -0
  287. package/dist/runtime/editor/features/translations/CsvDialog/index.vue +37 -0
  288. package/dist/runtime/editor/features/translations/CsvDialog/index.vue.d.ts +10 -0
  289. package/dist/runtime/editor/features/translations/CsvDialog/po.d.ts +7 -0
  290. package/dist/runtime/editor/features/translations/CsvDialog/po.js +36 -0
  291. package/dist/runtime/editor/features/translations/SelectionTable/index.d.vue.ts +37 -0
  292. package/dist/runtime/editor/features/translations/SelectionTable/index.vue +102 -0
  293. package/dist/runtime/editor/features/translations/SelectionTable/index.vue.d.ts +37 -0
  294. package/dist/runtime/editor/features/translations/TranslateDialog/index.d.vue.ts +7 -0
  295. package/dist/runtime/editor/features/translations/TranslateDialog/index.vue +294 -0
  296. package/dist/runtime/editor/features/translations/TranslateDialog/index.vue.d.ts +7 -0
  297. package/dist/runtime/editor/features/translations/index.vue +276 -6
  298. package/dist/runtime/editor/features/translations/types.d.ts +47 -0
  299. package/dist/runtime/editor/features/validations/Overlay/index.vue +130 -0
  300. package/dist/runtime/editor/features/validations/index.vue +41 -0
  301. package/dist/runtime/editor/features/{assistant → workspace}/Overlay/index.d.vue.ts +2 -4
  302. package/dist/runtime/editor/features/workspace/Overlay/index.vue +177 -0
  303. package/dist/runtime/editor/features/{assistant → workspace}/Overlay/index.vue.d.ts +2 -4
  304. package/dist/runtime/editor/features/workspace/index.d.vue.ts +3 -0
  305. package/dist/runtime/editor/features/workspace/index.vue +46 -0
  306. package/dist/runtime/editor/features/workspace/index.vue.d.ts +3 -0
  307. package/dist/runtime/editor/features/workspace/types.d.ts +59 -0
  308. package/dist/runtime/editor/features/workspace/types.js +0 -0
  309. package/dist/runtime/editor/icons/svg/spinner.svg +2 -2
  310. package/dist/runtime/editor/plugins/ContextMenu/Menu/index.vue +21 -7
  311. package/dist/runtime/editor/plugins/ContextMenu/index.vue +4 -0
  312. package/dist/runtime/editor/plugins/ItemAction/index.d.vue.ts +9 -2
  313. package/dist/runtime/editor/plugins/ItemAction/index.vue +26 -16
  314. package/dist/runtime/editor/plugins/ItemAction/index.vue.d.ts +9 -2
  315. package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue +24 -26
  316. package/dist/runtime/editor/plugins/Sidebar/index.vue +612 -27
  317. package/dist/runtime/editor/plugins/ToolbarButton/index.d.vue.ts +13 -84
  318. package/dist/runtime/editor/plugins/ToolbarButton/index.vue +36 -22
  319. package/dist/runtime/editor/plugins/ToolbarButton/index.vue.d.ts +13 -84
  320. package/dist/runtime/editor/plugins/ViewOption/index.vue +13 -14
  321. package/dist/runtime/editor/providers/blocks.js +1 -0
  322. package/dist/runtime/editor/providers/cache.d.ts +23 -0
  323. package/dist/runtime/editor/providers/cache.js +29 -0
  324. package/dist/runtime/editor/providers/directive.d.ts +25 -0
  325. package/dist/runtime/editor/providers/directive.js +20 -0
  326. package/dist/runtime/editor/providers/fieldValue.d.ts +5 -5
  327. package/dist/runtime/editor/providers/fieldValue.js +8 -7
  328. package/dist/runtime/editor/providers/plugin.d.ts +14 -0
  329. package/dist/runtime/editor/providers/plugin.js +9 -0
  330. package/dist/runtime/editor/providers/readability.js +1 -1
  331. package/dist/runtime/editor/providers/selection.js +1 -1
  332. package/dist/runtime/editor/providers/state.d.ts +1 -0
  333. package/dist/runtime/editor/providers/state.js +1 -0
  334. package/dist/runtime/editor/providers/texts.js +11 -1
  335. package/dist/runtime/editor/providers/ui.d.ts +11 -0
  336. package/dist/runtime/editor/providers/ui.js +5 -1
  337. package/dist/runtime/editor/translations/de.json +316 -56
  338. package/dist/runtime/editor/translations/fr.json +310 -50
  339. package/dist/runtime/editor/translations/gsw_CH.json +311 -51
  340. package/dist/runtime/editor/translations/it.json +310 -50
  341. package/dist/runtime/editor/types/app.d.ts +2 -0
  342. package/dist/runtime/editor/types/definitions.d.ts +8 -0
  343. package/dist/runtime/editor/types/field.d.ts +1 -0
  344. package/dist/runtime/editor/types/state.d.ts +10 -0
  345. package/dist/runtime/editor/types/ui.d.ts +3 -1
  346. package/dist/runtime/helpers/tw.d.ts +15 -0
  347. package/dist/runtime/helpers/tw.js +3 -0
  348. package/dist/runtime/types/field.d.ts +1 -0
  349. package/dist/shared/{editor.DsGJIlGn.d.mts → editor.BTOBvmaz.d.mts} +20 -3
  350. package/dist/types.d.mts +1 -1
  351. package/package.json +16 -3
  352. package/dist/runtime/editor/features/analyze/Renderer/fragment.glsl +0 -74
  353. package/dist/runtime/editor/features/analyze/Renderer/index.d.vue.ts +0 -24
  354. package/dist/runtime/editor/features/analyze/Renderer/index.vue +0 -330
  355. package/dist/runtime/editor/features/analyze/Renderer/index.vue.d.ts +0 -24
  356. package/dist/runtime/editor/features/analyze/Renderer/vertex.glsl +0 -94
  357. package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.d.vue.ts +0 -7
  358. package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.vue +0 -17
  359. package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.vue.d.ts +0 -7
  360. package/dist/runtime/editor/features/assistant/Overlay/index.vue +0 -108
  361. package/dist/runtime/editor/features/assistant/docs.md +0 -7
  362. package/dist/runtime/editor/features/assistant/index.vue +0 -66
  363. package/dist/runtime/editor/features/assistant/types.d.ts +0 -37
  364. package/dist/runtime/editor/features/media-library/Library/FilterSelect/index.vue +0 -168
  365. package/dist/runtime/editor/providers/fieldValueAdapterTypes.d.ts +0 -13
  366. /package/dist/{runtime/editor/features/assistant → modules/iframes/runtime}/types.js +0 -0
  367. /package/dist/runtime/editor/components/Actions/{ItemDropdown.d.vue.ts → ItemDropdown/index.d.vue.ts} +0 -0
  368. /package/dist/runtime/editor/components/Actions/{ItemDropdown.vue.d.ts → ItemDropdown/index.vue.d.ts} +0 -0
  369. /package/dist/runtime/editor/{features/media-library/Library → components/PluginConfigFormInline}/FilterSelect/index.d.vue.ts +0 -0
  370. /package/dist/runtime/editor/{features/media-library/Library → components/PluginConfigFormInline}/FilterSelect/index.vue.d.ts +0 -0
  371. /package/dist/runtime/editor/features/{assistant → highlights/Renderer}/index.d.vue.ts +0 -0
  372. /package/dist/runtime/editor/features/{assistant → highlights/Renderer}/index.vue.d.ts +0 -0
  373. /package/dist/runtime/editor/{providers/fieldValueAdapterTypes.js → features/referenced-entities/types.js} +0 -0
@@ -1,5 +1,6 @@
1
1
  import { defineAnalyzer } from "./defineAnalyzer.js";
2
2
  import { collectTextElements } from "./helpers/collectTextElements.js";
3
+ import { hashString } from "./helpers/hashString.js";
3
4
  function summarizeImpact(nodes) {
4
5
  const order = ["minor", "moderate", "serious", "critical"];
5
6
  let maxIdx = -1;
@@ -10,10 +11,7 @@ function summarizeImpact(nodes) {
10
11
  }
11
12
  return maxIdx >= 0 ? order[maxIdx] : void 0;
12
13
  }
13
- function format(n, d = 1) {
14
- return typeof n === "number" && Number.isFinite(n) ? n.toFixed(d) : "\u2014";
15
- }
16
- function buildDescription(score, scoreLabel, lang, band, $t) {
14
+ function buildDescription(lang, band, $t) {
17
15
  const parts = [];
18
16
  if (band === "hard") {
19
17
  parts.push(
@@ -30,7 +28,6 @@ function buildDescription(score, scoreLabel, lang, band, $t) {
30
28
  ).replace("@lang", lang.toUpperCase())
31
29
  );
32
30
  }
33
- parts.push(`${scoreLabel} ${format(score)}`);
34
31
  parts.push(
35
32
  $t(
36
33
  "analyzerReadabiliyShorterSentences",
@@ -60,15 +57,12 @@ async function analyzeViaProvider(readabilityProvider, langcode, $t) {
60
57
  targets.push(textElement.element);
61
58
  }
62
59
  const node = {
63
- description: buildDescription(
64
- chunk.score,
65
- analyzer.scoreLabel,
66
- langcode,
67
- chunk.band,
68
- $t
69
- ),
60
+ description: buildDescription(langcode, chunk.band, $t),
70
61
  impact: analyzer.impactForScore(chunk.score),
71
62
  score: chunk.score,
63
+ scoreLabel: analyzer.scoreLabel,
64
+ uuid,
65
+ identifier: hashString(chunk.text),
72
66
  targets
73
67
  };
74
68
  if (chunk.band === "hard") {
@@ -17,6 +17,25 @@ export type AnalyzeNode = {
17
17
  * Optional numeric score for this node (e.g. readability index).
18
18
  */
19
19
  score?: number;
20
+ /**
21
+ * Optional UUID of the block this node belongs to.
22
+ * Used to determine block hierarchy for highlight rendering.
23
+ */
24
+ uuid?: string;
25
+ /**
26
+ * Content-based identifier for this finding. When set, the user can ignore
27
+ * this node. Combined with the parent result's `id` to form the stored key:
28
+ * `${result.id}:${node.identifier}`.
29
+ *
30
+ * Not a unique ID — it's a hash of the analyzed content. If the content
31
+ * changes, the identifier changes and the finding reappears.
32
+ */
33
+ identifier?: string;
34
+ /**
35
+ * Label for the score metric (e.g., "FRE", "LIX", "WSTF").
36
+ * Shown as a badge in the results UI when both score and scoreLabel are set.
37
+ */
38
+ scoreLabel?: string;
20
39
  /**
21
40
  * An array of either:
22
41
  * - string: a valid selector
@@ -27,6 +46,7 @@ export type AnalyzeNode = {
27
46
  };
28
47
  export type AnalyzeNodeMapped = Omit<AnalyzeNode, 'targets'> & {
29
48
  targets: AnalyzeNodeTargetMapped[];
49
+ ignored: boolean;
30
50
  };
31
51
  export type AnalyzeResult = {
32
52
  id: string;
@@ -70,3 +70,461 @@ export default {
70
70
  name: "Analyze"
71
71
  };
72
72
  </script>
73
+
74
+ <style>
75
+ .bk.bk-analyze {
76
+ user-select: text
77
+ }
78
+ .bk.bk-analyze .bk-analyze-button {
79
+ display: grid;
80
+ gap: 10px;
81
+ padding: 20px
82
+ }
83
+ .bk.bk-analyze .bk-analyze-button button {
84
+ width: 100%
85
+ }
86
+ .bk.bk-analyze .bk-analyze-button .bk-message-info {
87
+ font-size: 14px;
88
+ line-height: 20px;
89
+ font-weight: 500
90
+ }
91
+ .bk.bk-analyze .bk-analyze-last-run {
92
+ border-radius: 4px;
93
+ border-width: 1px;
94
+ --bk-tw-border-opacity: 1;
95
+ border-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
96
+ --bk-tw-bg-opacity: 1;
97
+ background-color: rgb(var(--bk-theme-mono-100) / var(--bk-tw-bg-opacity, 1));
98
+ padding: 10px;
99
+ font-size: 12px;
100
+ line-height: 16px;
101
+ font-weight: 600;
102
+ text-transform: uppercase;
103
+ --bk-tw-numeric-spacing: tabular-nums;
104
+ font-variant-numeric: var(--bk-tw-ordinal) var(--bk-tw-slashed-zero) var(--bk-tw-numeric-figure) var(--bk-tw-numeric-spacing) var(--bk-tw-numeric-fraction);
105
+ --bk-tw-text-opacity: 1;
106
+ color: rgb(var(--bk-theme-mono-600) / var(--bk-tw-text-opacity, 1))
107
+ }
108
+ .bk.bk-analyze .bk-analyze-form {
109
+ border-top-width: 1px;
110
+ --bk-tw-border-opacity: 1;
111
+ border-top-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
112
+ padding: 20px
113
+ }
114
+ .bk.bk-analyze .bk-analyze-statuses {
115
+ display: grid;
116
+ gap: 5px
117
+ }
118
+ .bk.bk-analyze .bk-analyze-status-item {
119
+ display: flex;
120
+ align-items: center;
121
+ justify-content: space-between;
122
+ font-size: 14px;
123
+ line-height: 20px
124
+ }
125
+ .bk.bk-analyze .bk-analyze-status-item .bk-analyze-status-title {
126
+ font-weight: 500;
127
+ --bk-tw-text-opacity: 1;
128
+ color: rgb(var(--bk-theme-mono-950) / var(--bk-tw-text-opacity, 1))
129
+ }
130
+ .bk.bk-analyze .bk-analyze-status-item .bk-analyze-status-label {
131
+ border-radius: 4px;
132
+ --bk-tw-bg-opacity: 1;
133
+ background-color: rgb(var(--bk-theme-lime-light) / var(--bk-tw-bg-opacity, 1));
134
+ padding-left: 5px;
135
+ padding-right: 5px;
136
+ padding-top: 3px;
137
+ padding-bottom: 3px;
138
+ font-size: 12px;
139
+ line-height: 16px;
140
+ font-weight: 600;
141
+ text-transform: uppercase;
142
+ --bk-tw-text-opacity: 1;
143
+ color: rgb(var(--bk-theme-lime-dark) / var(--bk-tw-text-opacity, 1))
144
+ }
145
+ .bk.bk-analyze .bk-analyze-status-item .bk-analyze-status-label.bk-is-stale {
146
+ --bk-tw-bg-opacity: 1;
147
+ background-color: rgb(var(--bk-theme-orange-light) / var(--bk-tw-bg-opacity, 1));
148
+ --bk-tw-text-opacity: 1;
149
+ color: rgb(var(--bk-theme-orange-dark) / var(--bk-tw-text-opacity, 1))
150
+ }
151
+ .bk.bk-analyze .bk-analyze-progress label {
152
+ margin-bottom: 10px;
153
+ display: block;
154
+ font-weight: 600
155
+ }
156
+ .bk.bk-analyze .bk-analyze-progress .bk-analyze-progress-bar {
157
+ overflow: hidden;
158
+ border-radius: 4px
159
+ }
160
+ .bk.bk-analyze .bk-analyze-progress progress {
161
+ display: block;
162
+ width: 100%;
163
+ appearance: none
164
+ }
165
+ .bk.bk-analyze .bk-analyze-progress progress::-webkit-progress-bar {
166
+ --bk-tw-bg-opacity: 1;
167
+ background-color: rgb(var(--bk-theme-mono-100) / var(--bk-tw-bg-opacity, 1))
168
+ }
169
+ .bk.bk-analyze .bk-analyze-progress progress::-webkit-progress-value {
170
+ --bk-tw-bg-opacity: 1;
171
+ background-color: rgb(var(--bk-theme-accent-600) / var(--bk-tw-bg-opacity, 1))
172
+ }
173
+ .bk.bk-analyze .bk-analyze-wrapper {
174
+ position: relative
175
+ }
176
+ .bk.bk-analyze .bk-analyze-wrapper.bk-is-loading {
177
+ opacity: 0.3
178
+ }
179
+ .bk.bk-analyze .bk-analyze-summary {
180
+ padding: 20px;
181
+ padding-top: 0px
182
+ }
183
+ .bk.bk-analyze .bk-analyze-summary-chart {
184
+ display: flex;
185
+ align-items: center;
186
+ gap: 20px
187
+ }
188
+ .bk.bk-analyze .bk-analyze-summary-chart > ul {
189
+ display: flex;
190
+ flex: 1 1 0%;
191
+ flex-direction: column;
192
+ gap: 7px
193
+ }
194
+ .bk.bk-analyze .bk-analyze-summary-chart > ul > li {
195
+ display: flex;
196
+ align-items: center;
197
+ gap: 0.5em;
198
+ line-height: 1
199
+ }
200
+ .bk.bk-analyze .bk-analyze-summary-chart > ul > li > div:first-child {
201
+ width: 0.75em;
202
+ height: 0.75em;
203
+ flex-shrink: 0;
204
+ border-radius: 9999px
205
+ }
206
+ .bk.bk-analyze .bk-analyze-summary-chart > ul > li > div:last-child {
207
+ display: flex;
208
+ flex: 1 1 0%;
209
+ justify-content: space-between;
210
+ font-weight: 600
211
+ }
212
+ .bk.bk-analyze .bk-analyze-summary-chart svg text {
213
+ font-weight: 700;
214
+ --bk-tw-text-opacity: 1;
215
+ color: rgb(var(--bk-theme-lime-normal) / var(--bk-tw-text-opacity, 1))
216
+ }
217
+ .bk.bk-analyze .bk-analyze-results-item-tags {
218
+ margin-bottom: 10px;
219
+ display: flex;
220
+ flex-wrap: wrap;
221
+ gap: 5px
222
+ }
223
+ .bk.bk-analyze .bk-analyze-results-item-tags .bk-pill {
224
+ margin-left: 0px;
225
+ white-space: nowrap;
226
+ font-size: 12px;
227
+ line-height: 16px
228
+ }
229
+ .bk.bk-analyze .bk-analyze-status.bk-is-pass {
230
+ --bk-tw-bg-opacity: 1;
231
+ background-color: rgb(var(--bk-theme-lime-normal) / var(--bk-tw-bg-opacity, 1));
232
+ --bk-tw-text-opacity: 1;
233
+ color: rgb(255 255 255 / var(--bk-tw-text-opacity, 1))
234
+ }
235
+ .bk.bk-analyze .bk-analyze-status.bk-is-incomplete {
236
+ --bk-tw-bg-opacity: 1;
237
+ background-color: rgb(var(--bk-theme-yellow-normal) / var(--bk-tw-bg-opacity, 1));
238
+ --bk-tw-text-opacity: 1;
239
+ color: rgb(var(--bk-theme-yellow-dark) / var(--bk-tw-text-opacity, 1))
240
+ }
241
+ .bk.bk-analyze .bk-analyze-status.bk-is-violation {
242
+ --bk-tw-bg-opacity: 1;
243
+ background-color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-bg-opacity, 1));
244
+ --bk-tw-text-opacity: 1;
245
+ color: rgb(255 255 255 / var(--bk-tw-text-opacity, 1))
246
+ }
247
+ .bk.bk-analyze .bk-analyze-results {
248
+ border-bottom-width: 1px;
249
+ --bk-tw-border-opacity: 1;
250
+ border-bottom-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1))
251
+ }
252
+ .bk.bk-analyze .bk-analyze-results:first-child {
253
+ border-top-width: 1px;
254
+ --bk-tw-border-opacity: 1;
255
+ border-top-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1))
256
+ }
257
+ .bk.bk-analyze .bk-analyze-results > summary {
258
+ display: flex;
259
+ width: 100%;
260
+ cursor: pointer;
261
+ align-items: center;
262
+ justify-content: space-between;
263
+ font-weight: 700
264
+ }
265
+ .bk.bk-analyze .bk-analyze-results > summary:hover {
266
+ --bk-tw-bg-opacity: 1;
267
+ background-color: rgb(var(--bk-theme-mono-100) / var(--bk-tw-bg-opacity, 1))
268
+ }
269
+ .bk.bk-analyze .bk-analyze-results > summary {
270
+ padding-top: 18px;
271
+ padding-bottom: 18px;
272
+ padding-left: 20px;
273
+ padding-right: 20px
274
+ }
275
+ .bk.bk-analyze .bk-analyze-results > summary > div {
276
+ display: flex;
277
+ gap: 3px
278
+ }
279
+ .bk.bk-analyze .bk-analyze-results > summary svg {
280
+ width: 15px;
281
+ height: 15px
282
+ }
283
+ .bk.bk-analyze .bk-analyze-results:open > summary {
284
+ background-color: transparent !important
285
+ }
286
+ .bk.bk-analyze .bk-analyze-results:open > summary svg {
287
+ --bk-tw-rotate: 180deg;
288
+ transform: translate(var(--bk-tw-translate-x), var(--bk-tw-translate-y)) rotate(var(--bk-tw-rotate)) skewX(var(--bk-tw-skew-x)) skewY(var(--bk-tw-skew-y)) scaleX(var(--bk-tw-scale-x)) scaleY(var(--bk-tw-scale-y))
289
+ }
290
+ .bk.bk-analyze .bk-analyze-results > ul {
291
+ padding-left: 20px;
292
+ padding-right: 20px
293
+ }
294
+ .bk.bk-analyze .bk-analyze-results > ul.bk-is-always-open {
295
+ padding-top: 20px
296
+ }
297
+ .bk.bk-analyze .bk-analyze-results-item-help {
298
+ margin-left: auto
299
+ }
300
+ .bk.bk-analyze .bk-analyze-results-item-help > a {
301
+ display: flex;
302
+ align-items: center;
303
+ gap: 3px;
304
+ font-size: 14px;
305
+ line-height: 20px;
306
+ font-weight: 600;
307
+ line-height: 1;
308
+ text-underline-offset: 4px;
309
+ --bk-tw-text-opacity: 1;
310
+ color: rgb(var(--bk-theme-mono-400) / var(--bk-tw-text-opacity, 1))
311
+ }
312
+ .bk.bk-analyze .bk-analyze-results-item-help > a:hover {
313
+ --bk-tw-text-opacity: 1;
314
+ color: rgb(var(--bk-theme-accent-600) / var(--bk-tw-text-opacity, 1));
315
+ text-decoration-line: underline
316
+ }
317
+ .bk.bk-analyze .bk-analyze-results-item-help > a span {
318
+ opacity: 0
319
+ }
320
+ .bk.bk-analyze .bk-analyze-results-item-help > a svg {
321
+ width: 18px;
322
+ height: 18px;
323
+ fill: currentColor
324
+ }
325
+ .bk.bk-analyze .bk-analyze-results-item {
326
+ border-bottom-width: 1px;
327
+ --bk-tw-border-opacity: 1;
328
+ border-bottom-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
329
+ padding-top: 20px;
330
+ padding-bottom: 20px
331
+ }
332
+ .bk.bk-analyze .bk-analyze-results-item:first-child {
333
+ padding-top: 0px
334
+ }
335
+ .bk.bk-analyze .bk-analyze-results-item:last-child {
336
+ border-bottom-width: 0
337
+ }
338
+ .bk.bk-analyze .bk-analyze-results-item > h3 {
339
+ font-size: 16px;
340
+ line-height: 24px;
341
+ font-weight: 600
342
+ }
343
+ .bk.bk-analyze .bk-analyze-results-item > p {
344
+ margin-top: 5px;
345
+ font-size: 14px;
346
+ line-height: 20px;
347
+ --bk-tw-text-opacity: 1;
348
+ color: rgb(var(--bk-theme-mono-600) / var(--bk-tw-text-opacity, 1))
349
+ }
350
+ .bk.bk-analyze .bk-analyze-results-item:hover .bk-analyze-results-item-help span {
351
+ opacity: 1
352
+ }
353
+ .bk.bk-analyze .bk-analyze-results-item-nodes {
354
+ margin-top: 10px;
355
+ overflow: hidden;
356
+ border-radius: 4px;
357
+ --bk-tw-bg-opacity: 1;
358
+ background-color: rgb(var(--bk-theme-mono-100) / var(--bk-tw-bg-opacity, 1))
359
+ }
360
+ .bk.bk-analyze .bk-analyze-results-item-nodes:open > summary {
361
+ background-color: transparent !important;
362
+ --bk-tw-text-opacity: 1;
363
+ color: rgb(var(--bk-theme-mono-950) / var(--bk-tw-text-opacity, 1))
364
+ }
365
+ .bk.bk-analyze .bk-analyze-results-item-nodes:open > summary svg {
366
+ --bk-tw-rotate: 180deg;
367
+ transform: translate(var(--bk-tw-translate-x), var(--bk-tw-translate-y)) rotate(var(--bk-tw-rotate)) skewX(var(--bk-tw-skew-x)) skewY(var(--bk-tw-skew-y)) scaleX(var(--bk-tw-scale-x)) scaleY(var(--bk-tw-scale-y))
368
+ }
369
+ .bk.bk-analyze .bk-analyze-results-item-nodes > summary {
370
+ display: flex;
371
+ cursor: pointer;
372
+ list-style-type: none;
373
+ appearance: none;
374
+ align-items: center;
375
+ justify-content: space-between;
376
+ padding: 10px;
377
+ font-size: 14px;
378
+ line-height: 20px;
379
+ font-weight: 600;
380
+ --bk-tw-text-opacity: 1;
381
+ color: rgb(var(--bk-theme-mono-600) / var(--bk-tw-text-opacity, 1))
382
+ }
383
+ .bk.bk-analyze .bk-analyze-results-item-nodes > summary:hover {
384
+ --bk-tw-bg-opacity: 1;
385
+ background-color: rgb(var(--bk-theme-mono-200) / var(--bk-tw-bg-opacity, 1));
386
+ --bk-tw-text-opacity: 1;
387
+ color: rgb(var(--bk-theme-mono-950) / var(--bk-tw-text-opacity, 1))
388
+ }
389
+ .bk.bk-analyze .bk-analyze-results-item-nodes > summary::marker,
390
+ .bk.bk-analyze .bk-analyze-results-item-nodes > summary::-webkit-details-marker {
391
+ display: none
392
+ }
393
+ .bk.bk-analyze .bk-analyze-results-item-nodes > summary svg {
394
+ width: 15px;
395
+ height: 15px;
396
+ fill: currentColor
397
+ }
398
+ .bk.bk-analyze .bk-analyze-results-item-nodes > div > ul > li > p {
399
+ margin-bottom: 3px;
400
+ padding-left: 10px;
401
+ padding-right: 10px;
402
+ font-size: 12px;
403
+ line-height: 16px;
404
+ --bk-tw-text-opacity: 1;
405
+ color: rgb(var(--bk-theme-mono-700) / var(--bk-tw-text-opacity, 1))
406
+ }
407
+ .bk.bk-analyze .bk-analyze-results-item-nodes > div > ul > li > p.bk-is-single {
408
+ padding-top: 10px
409
+ }
410
+ .bk.bk-analyze .bk-analyze-results-item-nodes > div > ul > li > ul > li {
411
+ font-size: 12px;
412
+ line-height: 16px
413
+ }
414
+ .bk.bk-analyze .bk-analyze-results-item-nodes-list > ul + ul {
415
+ border-top-width: 1px;
416
+ --bk-tw-border-opacity: 1;
417
+ border-top-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
418
+ padding-top: 10px
419
+ }
420
+
421
+ .bk.bk-analyze-overlay {
422
+ position: absolute;
423
+ top: 0px;
424
+ left: 0px;
425
+ width: 100%;
426
+ height: 100%
427
+ }
428
+
429
+ .bk.bk-analyze-overlay > div {
430
+ position: absolute;
431
+ --bk-tw-bg-opacity: 1;
432
+ background-color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-bg-opacity, 1))
433
+ }
434
+
435
+ .bk.bk-analyze-tooltip {
436
+ position: fixed;
437
+ top: 0px;
438
+ left: 0px;
439
+ z-index: calc(var(--bk-z-index-base) + 40000) /* "analyze-tooltip" */;
440
+ cursor: pointer;
441
+ margin-top: -25px;
442
+ display: flex;
443
+ height: 25px;
444
+ align-items: center;
445
+ gap: 5px;
446
+ padding-left: 8px;
447
+ padding-right: 8px;
448
+ white-space: nowrap;
449
+ --bk-tw-bg-opacity: 1;
450
+ background-color: rgb(var(--bk-theme-mono-950) / var(--bk-tw-bg-opacity, 1));
451
+ font-size: 12px;
452
+ line-height: 16px;
453
+ font-weight: 600;
454
+ --bk-tw-text-opacity: 1;
455
+ color: rgb(255 255 255 / var(--bk-tw-text-opacity, 1));
456
+ --bk-tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
457
+ --bk-tw-shadow-colored: 0 10px 15px -3px var(--bk-tw-shadow-color), 0 4px 6px -4px var(--bk-tw-shadow-color);
458
+ box-shadow: var(--bk-tw-ring-offset-shadow, 0 0 #0000), var(--bk-tw-ring-shadow, 0 0 #0000), var(--bk-tw-shadow)
459
+ }
460
+
461
+ .bk.bk-analyze-tooltip:hover {
462
+ background-color: rgb(var(--bk-theme-mono-950) / 0.9)
463
+ }
464
+
465
+ .bk.bk-analyze-tooltip .bk-icon {
466
+ position: absolute;
467
+ top: 100%;
468
+ left: 0px;
469
+ display: flex;
470
+ width: 25px;
471
+ height: 25px;
472
+ align-items: center;
473
+ justify-content: center
474
+ }
475
+
476
+ .bk.bk-analyze-tooltip svg {
477
+ width: 15px;
478
+ height: 15px;
479
+ fill: currentColor
480
+ }
481
+
482
+ .bk.bk-analyze-tooltip.bk-is-violation {
483
+ --bk-tw-bg-opacity: 1;
484
+ background-color: rgb(var(--bk-theme-red-light) / var(--bk-tw-bg-opacity, 1));
485
+ --bk-tw-text-opacity: 1;
486
+ color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-text-opacity, 1))
487
+ }
488
+
489
+ .bk.bk-analyze-tooltip.bk-is-violation .bk-icon {
490
+ --bk-tw-bg-opacity: 1;
491
+ background-color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-bg-opacity, 1));
492
+ --bk-tw-text-opacity: 1;
493
+ color: rgb(255 255 255 / var(--bk-tw-text-opacity, 1))
494
+ }
495
+
496
+ .bk.bk-analyze-tooltip.bk-is-violation .bk-icon:hover {
497
+ --bk-tw-bg-opacity: 1;
498
+ background-color: rgb(var(--bk-theme-red-dark) / var(--bk-tw-bg-opacity, 1))
499
+ }
500
+
501
+ .bk.bk-analyze-tooltip.bk-is-incomplete {
502
+ --bk-tw-bg-opacity: 1;
503
+ background-color: rgb(var(--bk-theme-yellow-light) / var(--bk-tw-bg-opacity, 1));
504
+ --bk-tw-text-opacity: 1;
505
+ color: rgb(var(--bk-theme-yellow-dark) / var(--bk-tw-text-opacity, 1))
506
+ }
507
+
508
+ .bk.bk-analyze-tooltip.bk-is-incomplete .bk-icon {
509
+ --bk-tw-bg-opacity: 1;
510
+ background-color: rgb(var(--bk-theme-yellow-normal) / var(--bk-tw-bg-opacity, 1));
511
+ --bk-tw-text-opacity: 1;
512
+ color: rgb(var(--bk-theme-yellow-dark) / var(--bk-tw-text-opacity, 1))
513
+ }
514
+
515
+ .bk.bk-analyze-tooltip.bk-is-incomplete .bk-icon:hover {
516
+ --bk-tw-bg-opacity: 1;
517
+ background-color: rgb(var(--bk-theme-yellow-dark) / var(--bk-tw-bg-opacity, 1));
518
+ --bk-tw-text-opacity: 1;
519
+ color: rgb(var(--bk-theme-yellow-light) / var(--bk-tw-text-opacity, 1))
520
+ }
521
+
522
+ .bk.bk-analyze-tooltip .bk-analyze-tooltip-score {
523
+ opacity: 0.7
524
+ }
525
+
526
+ .bk-is-analyzing .bk,
527
+ .bk-is-analyzing .bk-sidebar {
528
+ display: none !important
529
+ }
530
+ </style>
@@ -6,4 +6,16 @@ declare module '#blokkli/editor/adapter' {
6
6
  interface AdapterExtensionMethods<T> {
7
7
  getAnalyzers?: () => Analyzer | Analyzer[] | Promise<Analyzer> | Promise<Analyzer[]>;
8
8
  }
9
+ interface BlokkliAdapter<T> {
10
+ /**
11
+ * Ignore one or more analyze findings.
12
+ * Each identifier is a composite key: `${resultId}:${nodeIdentifier}`.
13
+ */
14
+ ignoreAnalyzeIdentifiers?: (identifiers: string[]) => Promise<MutationResponseLike<T>>;
15
+ /**
16
+ * Restore one or more previously ignored analyze findings.
17
+ * Each identifier is a composite key: `${resultId}:${nodeIdentifier}`.
18
+ */
19
+ unignoreAnalyzeIdentifiers?: (identifiers: string[]) => Promise<MutationResponseLike<T>>;
20
+ }
9
21
  }
@@ -8,11 +8,19 @@
8
8
  @mousedown.stop
9
9
  @mousemove.stop
10
10
  >
11
- <div ref="overviewArtboardEl" class="bk-artboard-overview-artboard">
12
- <canvas ref="canvas" />
11
+ <div
12
+ ref="overviewArtboardEl"
13
+ class="_bk_bg-white _bk_absolute _bk_top-0 _bk_left-0 _bk_outline-mono-400 _bk_outline-1 _bk_outline _bk_pointer-events-none _bk_overflow-hidden"
14
+ >
15
+ <canvas ref="canvas" class="_bk_absolute _bk_top-0 _bk_left-0 _bk_size-full" />
13
16
  </div>
14
- <div class="bk-artboard-overview-visible">
15
- <button ref="overviewVisibleEl" />
17
+ <div
18
+ class="_bk_absolute _bk_top-0 _bk_left-0 _bk_size-full _bk_bg-mono-900/60 _bk_mix-blend-multiply"
19
+ >
20
+ <button
21
+ ref="overviewVisibleEl"
22
+ class="_bk_relative _bk_top-0 _bk_left-0 _bk_bg-white _bk_cursor-move _bk_will-change-transform _bk_rounded"
23
+ />
16
24
  </div>
17
25
  </ViewportBlockingRect>
18
26
  </template>
@@ -120,3 +128,28 @@ defineOptions({
120
128
  name: "ArtboardOverview"
121
129
  });
122
130
  </script>
131
+
132
+ <style>
133
+ .bk.bk-artboard-overview {
134
+ position: absolute;
135
+ top: 0px;
136
+ right: 0px;
137
+ z-index: calc(var(--bk-z-index-base) + 90000) /* "artboard-overview" */;
138
+ height: 500px;
139
+ width: 180px;
140
+ border-radius: 4px;
141
+ --bk-tw-bg-opacity: 1;
142
+ background-color: rgb(var(--bk-theme-mono-100) / var(--bk-tw-bg-opacity, 1));
143
+ pointer-events: auto;
144
+ overflow: hidden;
145
+ border-width: 1px;
146
+ --bk-tw-border-opacity: 1;
147
+ border-color: rgb(var(--bk-theme-mono-400) / var(--bk-tw-border-opacity, 1));
148
+ contain: strict;
149
+ margin-top: var(--bk-viewport-padding);
150
+ margin-right: var(--bk-viewport-padding);
151
+ grid-area: viewport;
152
+ align-self: self-start;
153
+ justify-self: self-end
154
+ }
155
+ </style>