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

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 +214 -3
  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 +9 -1
  210. package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue +32 -3
  211. package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue.d.ts +9 -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 +416 -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,7 +1,7 @@
1
1
  <template>
2
2
  <button
3
3
  :id="'bk-menu-list-button-' + id"
4
- class="bk-menu-list-button"
4
+ class="bk-menu-list-button _bk_grid _bk_items-center _bk_pl-15 _bk_pr-20 _bk_py-15 _bk_gap-x-10 _bk_w-full _bk_text-left _bk_whitespace-nowrap _bk_text-mono-950 _bk_text-sm _bk_lg:hover:bg-mono-100 _bk_border-b _bk_border-b-mono-200"
5
5
  :disabled="disabled"
6
6
  :class="type ? 'bk-is-' + type : ''"
7
7
  @click.prevent.stop="onClick"
@@ -37,3 +37,187 @@ export default {
37
37
  name: "MenuButton"
38
38
  };
39
39
  </script>
40
+
41
+ <style>
42
+ @media screen and (min-height: 900px) {
43
+ .bk .bk-menu-list-button {
44
+
45
+ column-gap: 15px !important;
46
+
47
+ font-size: 16px !important;
48
+
49
+ line-height: 24px !important;
50
+ }
51
+ }
52
+ .bk .bk-menu-list-button {
53
+
54
+ grid-template-columns: auto 1fr;
55
+ grid-template-rows: auto auto;
56
+ }
57
+ .bk .bk-menu-list-button[disabled] {
58
+
59
+ pointer-events: none;
60
+ }
61
+ .bk .bk-menu-list-button[disabled] .bk-menu-list-icon {
62
+
63
+ --bk-tw-border-opacity: 1;
64
+
65
+ border-color: rgb(var(--bk-theme-mono-100) / var(--bk-tw-border-opacity, 1));
66
+
67
+ --bk-tw-bg-opacity: 1;
68
+
69
+ background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
70
+
71
+ --bk-tw-text-opacity: 1;
72
+
73
+ color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-text-opacity, 1));
74
+ }
75
+ .bk .bk-menu-list-button[disabled] span,
76
+ .bk .bk-menu-list-button[disabled] strong {
77
+
78
+ --bk-tw-text-opacity: 1;
79
+
80
+ color: rgb(var(--bk-theme-mono-400) / var(--bk-tw-text-opacity, 1));
81
+ }
82
+ .bk .bk-menu-list-button strong {
83
+
84
+ font-weight: 600;
85
+ }
86
+ .bk .bk-menu-list-button span {
87
+ grid-column: 2;
88
+ font-size: 14px;
89
+ line-height: 20px;
90
+ --bk-tw-text-opacity: 1;
91
+ color: rgb(var(--bk-theme-mono-700) / var(--bk-tw-text-opacity, 1));
92
+ }
93
+ .bk .bk-menu-list-button:not([disabled]).bk-is-danger .bk-menu-list-icon {
94
+
95
+ border-color: rgb(var(--bk-theme-red-normal) / 0.4);
96
+
97
+ --bk-tw-bg-opacity: 1;
98
+
99
+ background-color: rgb(var(--bk-theme-red-light) / var(--bk-tw-bg-opacity, 1));
100
+
101
+ --bk-tw-text-opacity: 1;
102
+
103
+ color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-text-opacity, 1));
104
+ }
105
+ .bk .bk-menu-list-button:not([disabled]).bk-is-danger:hover .bk-menu-list-icon {
106
+
107
+ border-color: rgb(var(--bk-theme-red-normal) / 0.5);
108
+
109
+ background-color: rgb(var(--bk-theme-red-normal) / 0.2);
110
+
111
+ --bk-tw-text-opacity: 1;
112
+
113
+ color: rgb(var(--bk-theme-red-dark) / var(--bk-tw-text-opacity, 1));
114
+ }
115
+ .bk .bk-menu-list-button:not([disabled]).bk-is-success .bk-menu-list-icon {
116
+
117
+ border-color: rgb(var(--bk-theme-lime-normal) / 0.4);
118
+
119
+ --bk-tw-bg-opacity: 1;
120
+
121
+ background-color: rgb(var(--bk-theme-lime-light) / var(--bk-tw-bg-opacity, 1));
122
+
123
+ --bk-tw-text-opacity: 1;
124
+
125
+ color: rgb(var(--bk-theme-lime-normal) / var(--bk-tw-text-opacity, 1));
126
+ }
127
+ .bk .bk-menu-list-button:not([disabled]).bk-is-success:hover .bk-menu-list-icon {
128
+
129
+ border-color: rgb(var(--bk-theme-lime-normal) / 0.4);
130
+
131
+ background-color: rgb(var(--bk-theme-lime-normal) / 0.2);
132
+
133
+ --bk-tw-text-opacity: 1;
134
+
135
+ color: rgb(var(--bk-theme-lime-dark) / var(--bk-tw-text-opacity, 1));
136
+ }
137
+ .bk .bk-menu-list-button:not([disabled]).bk-is-yellow .bk-menu-list-icon {
138
+
139
+ border-color: rgb(var(--bk-theme-yellow-normal) / 0.4);
140
+
141
+ --bk-tw-bg-opacity: 1;
142
+
143
+ background-color: rgb(var(--bk-theme-yellow-light) / var(--bk-tw-bg-opacity, 1));
144
+
145
+ color: rgb(var(--bk-theme-yellow-dark) / 0.6);
146
+ }
147
+ .bk .bk-menu-list-button:not([disabled]).bk-is-yellow:hover .bk-menu-list-icon {
148
+
149
+ border-color: rgb(var(--bk-theme-yellow-dark) / 0.5);
150
+
151
+ background-color: rgb(var(--bk-theme-yellow-normal) / 0.2);
152
+
153
+ --bk-tw-text-opacity: 1;
154
+
155
+ color: rgb(var(--bk-theme-yellow-dark) / var(--bk-tw-text-opacity, 1));
156
+ }
157
+ .bk .bk-menu-list-button:hover .bk-menu-list-icon {
158
+
159
+ --bk-tw-border-opacity: 1;
160
+
161
+ border-color: rgb(var(--bk-theme-mono-500) / var(--bk-tw-border-opacity, 1));
162
+
163
+ --bk-tw-bg-opacity: 1;
164
+
165
+ background-color: rgb(var(--bk-theme-mono-200) / var(--bk-tw-bg-opacity, 1));
166
+
167
+ --bk-tw-text-opacity: 1;
168
+
169
+ color: rgb(var(--bk-theme-mono-900) / var(--bk-tw-text-opacity, 1));
170
+ }
171
+
172
+ .bk .bk-menu-list-icon {
173
+
174
+ display: flex;
175
+
176
+ align-items: center;
177
+
178
+ justify-content: center;
179
+
180
+ border-radius: 4px;
181
+
182
+ border-width: 1px;
183
+
184
+ --bk-tw-border-opacity: 1;
185
+
186
+ border-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
187
+
188
+ --bk-tw-bg-opacity: 1;
189
+
190
+ background-color: rgb(var(--bk-theme-mono-100) / var(--bk-tw-bg-opacity, 1));
191
+
192
+ --bk-tw-text-opacity: 1;
193
+
194
+ color: rgb(var(--bk-theme-mono-500) / var(--bk-tw-text-opacity, 1));
195
+
196
+ height: 40px;
197
+
198
+ width: 40px;
199
+ grid-column: 1;
200
+ grid-row: 1 / -1;
201
+ }
202
+
203
+ @media screen and (min-height: 900px) {
204
+
205
+ .bk .bk-menu-list-icon {
206
+
207
+ width: 50px;
208
+
209
+ height: 50px;
210
+ }
211
+ }
212
+
213
+ .bk .bk-menu-list-icon svg {
214
+
215
+ pointer-events: none;
216
+
217
+ height: 25px;
218
+
219
+ width: 25px;
220
+
221
+ fill: currentColor;
222
+ }
223
+ </style>
@@ -2,16 +2,20 @@
2
2
  <BlokkliTransition name="menu">
3
3
  <div
4
4
  v-if="menuOpen"
5
- class="bk bk-menu-list"
5
+ class="bk _bk_fixed _bk_inset-y-0 _bk_left-0 _bk_bg-white _bk_shadow-lg _bk_max-w-[480px] _bk_lg:min-w-[400px] _bk_flex _bk_flex-col _bk_pointer-events-auto _bk_z-menu _bk_w-[calc(100vw-40px)]"
6
6
  @wheel.passive.stop
7
7
  @touchstart.stop.passive
8
8
  @touchmove.stop.passive
9
9
  >
10
- <button :class="{ 'bk-is-active': menuOpen }" @click="closeMenu">
11
- <Icon name="bk_mdi_close" />
10
+ <button
11
+ :class="{ 'bk-is-active': menuOpen }"
12
+ class="_bk_h-40 _bk_md:h-50 _bk_flex _bk_items-center _bk_text-base _bk_font-bold _bk_pl-15 _bk_md:pl-25 _bk_bg-white _bk_text-mono-950"
13
+ @click="closeMenu"
14
+ >
15
+ <Icon name="bk_mdi_close" class="_bk_size-20 _bk_md:size-30 _bk_mr-25" />
12
16
  </button>
13
- <div class="bk-menu-list-inner">
14
- <div id="bk-menu-primary">
17
+ <div class="_bk_flex-1 _bk_overflow-auto _bk_flex _bk_flex-col">
18
+ <div id="bk-menu-primary" class="_bk_grid _bk_border-t _bk_border-t-mono-200">
15
19
  <MenuButton
16
20
  v-for="button in primaryButtons"
17
21
  :id="button.id"
@@ -24,7 +28,7 @@
24
28
  @click="onClick(button)"
25
29
  />
26
30
  </div>
27
- <div id="bk-menu-secondary">
31
+ <div id="bk-menu-secondary" class="_bk_mt-auto">
28
32
  <MenuButton
29
33
  v-for="button in secondaryButtons"
30
34
  :id="button.id"
@@ -37,14 +41,24 @@
37
41
  @click="onClick(button)"
38
42
  />
39
43
  </div>
40
- <aside class="bk-menu-meta">
41
- <div class="bk-menu-meta-logo">
42
- <Icon name="logo" />
44
+ <aside
45
+ class="_bk_px-15 _bk_py-10 _bk_text-xs _bk_bg-mono-100 _bk_text-mono-600 _bk_items-center _bk_leading-none _bk_flex _bk_justify-between"
46
+ >
47
+ <div class="_bk_flex _bk_gap-5 _bk_items-center">
48
+ <Icon
49
+ name="logo"
50
+ class="_bk_bg-accent-700 _bk_size-20 _bk_flex _bk_items-center _bk_justify-center _bk_rounded _bk_text-white"
51
+ />
43
52
  <div><strong>@blokkli/editor</strong> {{ blokkliVersion }}</div>
44
53
  </div>
45
54
 
46
55
  <div>
47
- <a href="https://www.blokk.li" target="_blank">blokk.li</a>
56
+ <a
57
+ href="https://www.blokk.li"
58
+ target="_blank"
59
+ class="_bk_hover:text-accent-700 _bk_hover:underline"
60
+ >blokk.li</a
61
+ >
48
62
  </div>
49
63
  </aside>
50
64
  </div>
@@ -5,14 +5,18 @@ type __VLS_Props = {
5
5
  id: string;
6
6
  title: string;
7
7
  anchorEl?: HTMLElement | null;
8
+ buttonLabel?: string;
8
9
  anchorCoordinates?: Coord | null;
9
10
  placementY?: PlacementVertical;
10
11
  placementX?: PlacementHorizontal;
11
12
  closeIcon?: BlokkliIcon;
13
+ fullscreen?: boolean;
12
14
  };
13
- declare var __VLS_6: {};
15
+ declare var __VLS_1: {}, __VLS_8: {};
14
16
  type __VLS_Slots = {} & {
15
- default?: (props: typeof __VLS_6) => any;
17
+ header?: (props: typeof __VLS_1) => any;
18
+ } & {
19
+ default?: (props: typeof __VLS_8) => any;
16
20
  };
17
21
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
22
  close: () => any;
@@ -2,7 +2,11 @@
2
2
  <div
3
3
  ref="el"
4
4
  class="bk bk-artboard-tooltip"
5
- :class="['bk-is-y-' + placementY, 'bk-is-x-' + placementX]"
5
+ :class="[
6
+ 'bk-is-y-' + placementY,
7
+ 'bk-is-x-' + placementX,
8
+ { 'bk-is-fullscreen': fullscreen }
9
+ ]"
6
10
  :style="{
7
11
  '--bk-caret-x': caretX
8
12
  }"
@@ -10,9 +14,11 @@
10
14
  >
11
15
  <div class="bk bk-artboard-tooltip-inner bk-caret-tooltip-inner">
12
16
  <div class="bk-artboard-tooltip-header">
13
- <div v-html="title" />
17
+ <div class="_bk_mr-auto" v-html="title" />
18
+ <slot name="header" />
14
19
  <button @click="$emit('close')">
15
20
  <Icon :name="closeIcon" />
21
+ <span v-if="buttonLabel">{{ buttonLabel }}</span>
16
22
  </button>
17
23
  </div>
18
24
  <slot />
@@ -37,10 +43,12 @@ const props = defineProps({
37
43
  id: { type: String, required: true },
38
44
  title: { type: String, required: true },
39
45
  anchorEl: { type: null, required: false, default: null },
46
+ buttonLabel: { type: String, required: false },
40
47
  anchorCoordinates: { type: [Object, null], required: false, default: null },
41
48
  placementY: { type: String, required: false, default: "auto" },
42
49
  placementX: { type: String, required: false, default: "center" },
43
- closeIcon: { type: null, required: false, default: "bk_mdi_close" }
50
+ closeIcon: { type: null, required: false, default: "bk_mdi_close" },
51
+ fullscreen: { type: Boolean, required: false }
44
52
  });
45
53
  const emit = defineEmits(["close"]);
46
54
  const el = useTemplateRef("el");
@@ -64,6 +72,9 @@ const { placementY, placementX, caretX } = useStickyToolbar(el, {
64
72
  },
65
73
  getCaretWidth() {
66
74
  return 30;
75
+ },
76
+ isFullscreen() {
77
+ return !!props.fullscreen;
67
78
  }
68
79
  });
69
80
  watch(ui.openTooltip, (id) => {
@@ -88,3 +99,212 @@ onBeforeUnmount(() => {
88
99
  }
89
100
  });
90
101
  </script>
102
+
103
+ <style>
104
+ .bk.bk-artboard-tooltip {
105
+ --bk-gap: 15px;
106
+ --bk-caret-size: 10px;
107
+ pointer-events: auto;
108
+ position: absolute;
109
+ left: 0px;
110
+ bottom: 50px;
111
+ z-index: calc(var(--bk-z-index-base) + 170000) /* "selection-add" */;
112
+ will-change: transform;
113
+ }
114
+ @media (min-width: 1024px) {
115
+ .bk.bk-artboard-tooltip {
116
+ position: absolute;
117
+ bottom: auto;
118
+ top: 0px;
119
+ }
120
+ }
121
+
122
+ .bk.bk-artboard-tooltip:before,
123
+ .bk.bk-artboard-tooltip:after {
124
+ content: '';
125
+ width: 0px;
126
+ height: 0px;
127
+ border-style: solid;
128
+ position: absolute;
129
+ transform: translateX(
130
+ calc(((var(--bk-caret-x)) * 1px) - var(--bk-caret-size))
131
+ );
132
+ }
133
+
134
+ .bk.bk-artboard-tooltip:before {
135
+ --bk-header-bg: var(--bk-border);
136
+ }
137
+
138
+ .bk.bk-artboard-tooltip.bk-is-y-top:before,
139
+ .bk.bk-artboard-tooltip.bk-is-y-top:after {
140
+ border-width: var(--bk-caret-size) var(--bk-caret-size) 0
141
+ var(--bk-caret-size);
142
+ border-color: var(--bk-header-bg) transparent transparent transparent;
143
+ top: 100%;
144
+ left: 0px;
145
+ }
146
+
147
+ .bk.bk-artboard-tooltip.bk-is-y-top:after {
148
+ --bk-header-bg: var(--bk-bg);
149
+ margin-top: -1px;
150
+ }
151
+
152
+ .bk.bk-artboard-tooltip.bk-is-y-bottom:before,
153
+ .bk.bk-artboard-tooltip.bk-is-y-bottom:after {
154
+ border-width: 0 var(--bk-caret-size) var(--bk-caret-size)
155
+ var(--bk-caret-size);
156
+ border-color: transparent transparent var(--bk-header-bg) transparent;
157
+ bottom: 100%;
158
+ }
159
+
160
+ .bk.bk-artboard-tooltip.bk-is-y-bottom:after {
161
+ margin-bottom: -1px;
162
+ }
163
+
164
+ /* No vertical caret when centered */
165
+
166
+ .bk.bk-artboard-tooltip.bk-is-y-center:before,
167
+ .bk.bk-artboard-tooltip.bk-is-y-center:after {
168
+ display: none;
169
+ }
170
+
171
+ /* Caret on left side pointing left */
172
+
173
+ .bk.bk-artboard-tooltip.bk-is-x-right:before,
174
+ .bk.bk-artboard-tooltip.bk-is-x-right:after {
175
+ border-width: var(--bk-caret-size) var(--bk-caret-size)
176
+ var(--bk-caret-size) 0;
177
+ border-color: transparent var(--bk-header-bg) transparent transparent;
178
+ right: 100%;
179
+ top: 50%;
180
+ left: auto;
181
+ transform: translateX(0) translateY(-50%);
182
+ }
183
+
184
+ .bk.bk-artboard-tooltip.bk-is-x-right:after {
185
+ margin-right: -1px;
186
+ }
187
+
188
+ /* Caret on right side pointing right */
189
+
190
+ .bk.bk-artboard-tooltip.bk-is-x-left:before,
191
+ .bk.bk-artboard-tooltip.bk-is-x-left:after {
192
+ border-width: var(--bk-caret-size) 0 var(--bk-caret-size)
193
+ var(--bk-caret-size);
194
+ border-color: transparent transparent transparent var(--bk-header-bg);
195
+ left: 100%;
196
+ top: 50%;
197
+ right: auto;
198
+ transform: translateX(0) translateY(-50%);
199
+ }
200
+
201
+ .bk.bk-artboard-tooltip.bk-is-x-left:after {
202
+ margin-left: -1px;
203
+ }
204
+
205
+ .bk.bk-artboard-tooltip.bk-is-fullscreen:before,
206
+ .bk.bk-artboard-tooltip.bk-is-fullscreen:after {
207
+ display: none;
208
+ }
209
+
210
+ .bk.bk-artboard-tooltip.bk-is-fullscreen .bk-artboard-tooltip-inner {
211
+ display: flex;
212
+ height: 100%;
213
+ flex-direction: column;
214
+ border-radius: 0px;
215
+ }
216
+
217
+ @media (min-width: 1024px) {
218
+ .bk.bk-artboard-tooltip .bk-artboard-tooltip-inner {
219
+ border-radius: 6px;
220
+ --bk-tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
221
+ --bk-tw-shadow-colored: 0 25px 50px -12px var(--bk-tw-shadow-color);
222
+ box-shadow: var(--bk-tw-ring-offset-shadow, 0 0 #0000), var(--bk-tw-ring-shadow, 0 0 #0000), var(--bk-tw-shadow);
223
+ }
224
+ }
225
+
226
+ .bk.bk-artboard-tooltip .bk-artboard-tooltip-inner {
227
+ border: 1px solid var(--bk-border);
228
+ background: var(--bk-bg);
229
+ }
230
+
231
+ .bk.bk-artboard-tooltip .bk-artboard-tooltip-header {
232
+ display: flex;
233
+ height: 40px;
234
+ align-items: center;
235
+ font-size: 12px;
236
+ line-height: 16px;
237
+ font-weight: 700;
238
+ text-transform: uppercase;
239
+ line-height: 1;
240
+ letter-spacing: 0.025em;
241
+ background: var(--bk-header-bg);
242
+ color: var(--bk-header-text);
243
+ }
244
+
245
+ .bk.bk-artboard-tooltip .bk-artboard-tooltip-header > div {
246
+ padding: var(--bk-gap);
247
+ }
248
+
249
+ .bk.bk-artboard-tooltip .bk-artboard-tooltip-header > button {
250
+ display: flex;
251
+ height: 40px;
252
+ min-width: 40px;
253
+ align-items: center;
254
+ justify-content: center;
255
+ gap: 8px;
256
+ padding-left: 10px;
257
+ padding-right: 10px;
258
+ color: var(--bk-header-text);
259
+ }
260
+
261
+ .bk.bk-artboard-tooltip .bk-artboard-tooltip-header > button:hover {
262
+ background: var(--bk-header-hover);
263
+ }
264
+
265
+ .bk.bk-artboard-tooltip .bk-artboard-tooltip-header > button svg {
266
+ width: 18px;
267
+ height: 18px;
268
+ fill: currentColor;
269
+ }
270
+
271
+ .bk .bk-artboard-tooltip-info {
272
+ display: flex;
273
+ align-items: center;
274
+ border-top-width: 1px;
275
+ --bk-tw-border-opacity: 1;
276
+ border-top-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
277
+ font-size: 14px;
278
+ line-height: 20px;
279
+ font-weight: 600;
280
+ }
281
+
282
+ .bk .bk-artboard-tooltip-info-button {
283
+ display: flex;
284
+ align-items: center;
285
+ font-size: 14px;
286
+ line-height: 20px;
287
+ --bk-tw-text-opacity: 1;
288
+ color: rgb(var(--bk-scheme-normal, var(--bk-theme-accent-600)) / var(--bk-tw-text-opacity, 1));
289
+ padding-top: 6px;
290
+ padding-bottom: 6px;
291
+ padding-left: 10px;
292
+ padding-right: 10px;
293
+ }
294
+
295
+ .bk .bk-artboard-tooltip-info-button:hover {
296
+ background-color: rgb(var(--bk-scheme-normal, var(--bk-theme-accent-600)) / 0.1);
297
+ }
298
+
299
+ .bk .bk-artboard-tooltip-info-button {
300
+ border-right-width: 1px;
301
+ --bk-tw-border-opacity: 1;
302
+ border-right-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
303
+ }
304
+
305
+ .bk .bk-artboard-tooltip-info-button[disabled] {
306
+ pointer-events: none;
307
+ --bk-tw-text-opacity: 1;
308
+ color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-text-opacity, 1));
309
+ }
310
+ </style>
@@ -5,14 +5,18 @@ type __VLS_Props = {
5
5
  id: string;
6
6
  title: string;
7
7
  anchorEl?: HTMLElement | null;
8
+ buttonLabel?: string;
8
9
  anchorCoordinates?: Coord | null;
9
10
  placementY?: PlacementVertical;
10
11
  placementX?: PlacementHorizontal;
11
12
  closeIcon?: BlokkliIcon;
13
+ fullscreen?: boolean;
12
14
  };
13
- declare var __VLS_6: {};
15
+ declare var __VLS_1: {}, __VLS_8: {};
14
16
  type __VLS_Slots = {} & {
15
- default?: (props: typeof __VLS_6) => any;
17
+ header?: (props: typeof __VLS_1) => any;
18
+ } & {
19
+ default?: (props: typeof __VLS_8) => any;
16
20
  };
17
21
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
22
  close: () => any;
@@ -30,3 +30,26 @@ onBeforeUnmount(() => {
30
30
  observer?.disconnect();
31
31
  });
32
32
  </script>
33
+
34
+ <style>
35
+ .bk .bk-auto-height {
36
+ position: relative;
37
+ overflow: hidden;
38
+ transition: 0.3s height;
39
+ transition-timing-function: cubic-bezier(0.56, 0.04, 0.25, 1)
40
+ }
41
+
42
+ .bk .bk-auto-height.bk-is-top .bk-auto-height-inner {
43
+ top: 0px
44
+ }
45
+
46
+ .bk .bk-auto-height.bk-is-bottom .bk-auto-height-inner {
47
+ bottom: 0px
48
+ }
49
+
50
+ .bk .bk-auto-height .bk-auto-height-inner {
51
+ position: absolute;
52
+ left: 0px;
53
+ width: 100%
54
+ }
55
+ </style>
@@ -0,0 +1,30 @@
1
+ import type { BlokkliIcon } from '#blokkli-build/icons';
2
+ type __VLS_Props = {
3
+ icon: BlokkliIcon;
4
+ text?: string;
5
+ button?: string;
6
+ };
7
+ declare var __VLS_1: {}, __VLS_8: {}, __VLS_10: {};
8
+ type __VLS_Slots = {} & {
9
+ before?: (props: typeof __VLS_1) => any;
10
+ } & {
11
+ default?: (props: typeof __VLS_8) => any;
12
+ } & {
13
+ 'before-button'?: (props: typeof __VLS_10) => any;
14
+ };
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
16
+ click: () => any;
17
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ onClick?: (() => any) | undefined;
19
+ }>, {
20
+ text: string;
21
+ button: string;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,32 @@
1
+ <template>
2
+ <div class="_bk_p-10">
3
+ <slot name="before" />
4
+ <div class="_bk_lg:flex _bk_lg:items-center _bk_lg:gap-10">
5
+ <Icon :name="icon" class="_bk_size-25 _bk_mr-10 _bk_hidden _bk_lg:flex" />
6
+ <div class="_bk_mr-auto">
7
+ <slot>
8
+ <p v-if="text" v-html="text" />
9
+ </slot>
10
+ </div>
11
+ <slot name="before-button" />
12
+ <button
13
+ v-if="button"
14
+ class="bk-button bk-is-small bk-is-scheme"
15
+ @click="$emit('click')"
16
+ >
17
+ {{ button }}
18
+ <Icon name="bk_mdi_close" />
19
+ </button>
20
+ </div>
21
+ </div>
22
+ </template>
23
+
24
+ <script setup>
25
+ import { Icon } from "#blokkli/editor/components";
26
+ defineProps({
27
+ icon: { type: null, required: true },
28
+ text: { type: String, required: false, default: void 0 },
29
+ button: { type: String, required: false, default: void 0 }
30
+ });
31
+ defineEmits(["click"]);
32
+ </script>
@@ -0,0 +1,30 @@
1
+ import type { BlokkliIcon } from '#blokkli-build/icons';
2
+ type __VLS_Props = {
3
+ icon: BlokkliIcon;
4
+ text?: string;
5
+ button?: string;
6
+ };
7
+ declare var __VLS_1: {}, __VLS_8: {}, __VLS_10: {};
8
+ type __VLS_Slots = {} & {
9
+ before?: (props: typeof __VLS_1) => any;
10
+ } & {
11
+ default?: (props: typeof __VLS_8) => any;
12
+ } & {
13
+ 'before-button'?: (props: typeof __VLS_10) => any;
14
+ };
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
16
+ click: () => any;
17
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ onClick?: (() => any) | undefined;
19
+ }>, {
20
+ text: string;
21
+ button: string;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };