@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.
- package/dist/chunks/tailwindConfig.mjs +3 -3
- package/dist/global/types/blockOptions.d.ts +18 -2
- package/dist/module.d.mts +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +281 -18
- package/dist/modules/agent/index.d.mts +1 -1
- package/dist/modules/agent/runtime/app/composables/agentProvider.d.ts +1 -0
- package/dist/modules/agent/runtime/app/composables/agentProvider.js +7 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.d.vue.ts +2 -2
- package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.vue +14 -49
- package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.vue.d.ts +2 -2
- package/dist/modules/agent/runtime/app/features/agent/Panel/Feedback/index.d.vue.ts +10 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Feedback/index.vue +102 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Feedback/index.vue.d.ts +10 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.vue +8 -5
- package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.d.vue.ts +3 -3
- package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.vue +9 -5
- package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.vue.d.ts +3 -3
- package/dist/modules/agent/runtime/app/features/agent/Panel/index.d.vue.ts +7 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue +16 -2
- package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue.d.ts +7 -0
- package/dist/modules/agent/runtime/app/features/agent/index.vue +29 -0
- package/dist/modules/agent/runtime/app/features/agent/types.d.ts +16 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Component.vue +3 -1
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/index.js +8 -1
- package/dist/modules/charts/index.d.mts +1 -1
- package/dist/modules/charts/index.mjs +2 -3
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.vue +1 -1
- package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.vue +1 -1
- package/dist/modules/drupal/graphql/base/fragment.paragraphsBlokkliEditState.graphql +16 -0
- package/dist/modules/drupal/graphql/base/query.pbConfig.graphql +9 -0
- package/dist/modules/drupal/graphql/features/agent.graphql +20 -0
- package/dist/modules/drupal/graphql/features/publishNew.graphql +14 -0
- package/dist/modules/drupal/graphql/features/referenced-entities.graphql +21 -0
- package/dist/modules/drupal/graphql/features/textFieldValues.graphql +20 -0
- package/dist/modules/drupal/graphql/features/workspace.graphql +23 -0
- package/dist/modules/drupal/graphql/mutations/bulk_translate_field_values.graphql +19 -0
- package/dist/modules/drupal/graphql/mutations/clear_outdated_translation.graphql +15 -0
- package/dist/modules/drupal/graphql/mutations/ignore_analyze.graphql +15 -0
- package/dist/modules/drupal/graphql/mutations/request_translation.graphql +10 -0
- package/dist/modules/drupal/graphql/mutations/unignore_analyze.graphql +15 -0
- package/dist/modules/drupal/index.d.mts +1 -1
- package/dist/modules/drupal/index.mjs +16 -0
- package/dist/modules/drupal/runtime/adapter/index.js +180 -11
- package/dist/modules/iframes/index.d.mts +31 -0
- package/dist/modules/iframes/index.mjs +52 -0
- package/dist/modules/iframes/runtime/components/BlokkliIframe/index.d.vue.ts +18 -0
- package/dist/modules/iframes/runtime/components/BlokkliIframe/index.vue +61 -0
- package/dist/modules/iframes/runtime/components/BlokkliIframe/index.vue.d.ts +18 -0
- package/dist/modules/iframes/runtime/components/index.d.ts +1 -0
- package/dist/modules/iframes/runtime/components/index.js +1 -0
- package/dist/modules/iframes/runtime/features/iframes/Editor/index.d.vue.ts +12 -0
- package/dist/modules/iframes/runtime/features/iframes/Editor/index.vue +220 -0
- package/dist/modules/iframes/runtime/features/iframes/Editor/index.vue.d.ts +12 -0
- package/dist/modules/iframes/runtime/types.d.ts +10 -0
- package/dist/modules/index.d.mts +1 -1
- package/dist/modules/table-of-contents/index.d.mts +1 -1
- package/dist/runtime/components/Blocks/NotImplemented/index.vue +57 -0
- package/dist/runtime/components/BlokkliEditable.vue +1 -1
- package/dist/runtime/editor/adapter/index.d.ts +8 -1
- package/dist/runtime/editor/components/Actions/Interactions/index.vue +77 -17
- package/dist/runtime/editor/components/Actions/{ItemDropdown.vue → ItemDropdown/index.vue} +9 -10
- package/dist/runtime/editor/components/Actions/index.vue +586 -23
- package/dist/runtime/editor/components/AnimationCanvas/index.vue +1 -0
- package/dist/runtime/editor/components/AppMenu/MenuButton.vue +185 -1
- package/dist/runtime/editor/components/AppMenu/index.vue +24 -10
- package/dist/runtime/editor/components/ArtboardTooltip/index.d.vue.ts +6 -2
- package/dist/runtime/editor/components/ArtboardTooltip/index.vue +223 -3
- package/dist/runtime/editor/components/ArtboardTooltip/index.vue.d.ts +6 -2
- package/dist/runtime/editor/components/AutoHeight/index.vue +23 -0
- package/dist/runtime/editor/components/Banner/Inner.d.vue.ts +30 -0
- package/dist/runtime/editor/components/Banner/Inner.vue +32 -0
- package/dist/runtime/editor/components/Banner/Inner.vue.d.ts +30 -0
- package/dist/runtime/editor/components/Banner/index.d.vue.ts +3 -13
- package/dist/runtime/editor/components/Banner/index.vue +2 -14
- package/dist/runtime/editor/components/Banner/index.vue.d.ts +3 -13
- package/dist/runtime/editor/components/BetaIndicator/index.d.vue.ts +6 -0
- package/dist/runtime/editor/components/BetaIndicator/index.vue +16 -0
- package/dist/runtime/editor/components/BetaIndicator/index.vue.d.ts +6 -0
- package/dist/runtime/editor/components/BlockPreviewItem/index.vue +51 -1
- package/dist/runtime/editor/components/BlockPreviewRenderer/index.vue +27 -1
- package/dist/runtime/editor/components/BlockProxy/index.vue +148 -1
- package/dist/runtime/editor/components/BlokkliRootErrorBoundary.vue +59 -0
- package/dist/runtime/editor/components/BundleSelector/index.vue +170 -20
- package/dist/runtime/editor/components/Dialog/index.d.vue.ts +2 -0
- package/dist/runtime/editor/components/Dialog/index.vue +341 -0
- package/dist/runtime/editor/components/Dialog/index.vue.d.ts +2 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/index.vue +117 -0
- package/dist/runtime/editor/components/DiffApproval/Toolbar/index.vue +224 -28
- package/dist/runtime/editor/components/DiffViewer/DiffValue.d.vue.ts +1 -0
- package/dist/runtime/editor/components/DiffViewer/DiffValue.vue +5 -1
- package/dist/runtime/editor/components/DiffViewer/DiffValue.vue.d.ts +1 -0
- package/dist/runtime/editor/components/DiffViewer/State.vue +319 -0
- package/dist/runtime/editor/components/DraggableList.vue +103 -0
- package/dist/runtime/editor/components/Dropdown/index.vue +84 -0
- package/dist/runtime/editor/components/EditProvider.vue +72 -15
- package/dist/runtime/editor/components/FileDropHandler/index.d.vue.ts +23 -0
- package/dist/runtime/editor/components/FileDropHandler/index.vue +108 -0
- package/dist/runtime/editor/components/FileDropHandler/index.vue.d.ts +23 -0
- package/dist/runtime/editor/components/FlexTextarea/index.vue +4 -2
- package/dist/runtime/editor/components/Form/Datepicker/index.vue +149 -0
- package/dist/runtime/editor/components/Form/Toggle/index.vue +205 -1
- package/dist/runtime/editor/components/FormOverlay/index.vue +90 -0
- package/dist/runtime/editor/components/Icon/index.vue +6 -0
- package/dist/runtime/editor/components/Indicators/index.vue +161 -0
- package/dist/runtime/editor/components/InfoBox/index.vue +65 -0
- package/dist/runtime/editor/components/Konami/index.vue +119 -0
- package/dist/runtime/editor/components/Loading/index.d.vue.ts +6 -3
- package/dist/runtime/editor/components/Loading/index.vue +10 -5
- package/dist/runtime/editor/components/Loading/index.vue.d.ts +6 -3
- package/dist/runtime/editor/components/Messages/index.vue +131 -0
- package/dist/runtime/editor/components/NestedEditorOverlay/index.d.vue.ts +1 -0
- package/dist/runtime/editor/components/NestedEditorOverlay/index.vue +246 -12
- package/dist/runtime/editor/components/NestedEditorOverlay/index.vue.d.ts +1 -0
- package/dist/runtime/editor/components/NotEditStateInfo/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/NotEditStateInfo/index.vue +19 -0
- package/dist/runtime/editor/components/NotEditStateInfo/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Overlay/index.vue +84 -0
- package/dist/runtime/editor/components/Pagination/index.vue +41 -0
- package/dist/runtime/editor/components/PluginConfigForm/index.vue +23 -0
- package/dist/runtime/editor/components/PluginConfigFormInline/FilterSelect/index.vue +429 -0
- package/dist/runtime/editor/components/PluginConfigFormInline/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/PluginConfigFormInline/index.vue +150 -0
- package/dist/runtime/editor/components/PluginConfigFormInline/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/Popup/index.vue +77 -2
- package/dist/runtime/editor/components/PreviewProvider.vue +7 -0
- package/dist/runtime/editor/components/Resizable/index.vue +90 -1
- package/dist/runtime/editor/components/ScaleToFit/index.vue +30 -1
- package/dist/runtime/editor/components/SearchOverlay/index.d.vue.ts +43 -0
- package/dist/runtime/editor/components/SearchOverlay/index.vue +264 -0
- package/dist/runtime/editor/components/SearchOverlay/index.vue.d.ts +43 -0
- package/dist/runtime/editor/components/StatusIcon/index.vue +104 -0
- package/dist/runtime/editor/components/StatusIndicator/index.d.vue.ts +9 -0
- package/dist/runtime/editor/components/StatusIndicator/index.vue +16 -0
- package/dist/runtime/editor/components/StatusIndicator/index.vue.d.ts +9 -0
- package/dist/runtime/editor/components/SystemRequirements/index.vue +57 -0
- package/dist/runtime/editor/components/Tabs/index.d.vue.ts +30 -0
- package/dist/runtime/editor/components/Tabs/index.vue +32 -0
- package/dist/runtime/editor/components/Tabs/index.vue.d.ts +30 -0
- package/dist/runtime/editor/components/Toolbar/index.vue +214 -3
- package/dist/runtime/editor/components/Tooltip/Context.d.vue.ts +7 -0
- package/dist/runtime/editor/components/Tooltip/Context.vue +13 -0
- package/dist/runtime/editor/components/Tooltip/Context.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Tooltip/Status.d.vue.ts +8 -0
- package/dist/runtime/editor/components/Tooltip/Status.vue +27 -0
- package/dist/runtime/editor/components/Tooltip/Status.vue.d.ts +8 -0
- package/dist/runtime/editor/components/Tooltip/index.d.vue.ts +27 -0
- package/dist/runtime/editor/components/Tooltip/index.vue +40 -0
- package/dist/runtime/editor/components/Tooltip/index.vue.d.ts +27 -0
- package/dist/runtime/editor/components/index.d.ts +59 -49
- package/dist/runtime/editor/components/index.js +59 -98
- package/dist/runtime/editor/composables/defineHighlight.d.ts +2 -0
- package/dist/runtime/editor/composables/defineHighlight.js +10 -0
- package/dist/runtime/editor/composables/index.d.ts +1 -0
- package/dist/runtime/editor/composables/index.js +1 -0
- package/dist/runtime/editor/composables/useBlockRegistration.js +8 -0
- package/dist/runtime/editor/composables/useStickyToolbar.d.ts +1 -0
- package/dist/runtime/editor/composables/useStickyToolbar.js +16 -0
- package/dist/runtime/editor/css/output.css +1 -1
- package/dist/runtime/editor/events/index.d.ts +10 -0
- package/dist/runtime/editor/features/add-list/Help/index.vue +193 -0
- package/dist/runtime/editor/features/add-list/index.vue +441 -0
- package/dist/runtime/editor/features/analyze/Ignored/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/analyze/Ignored/index.vue +35 -0
- package/dist/runtime/editor/features/analyze/Ignored/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/analyze/Main.vue +148 -24
- package/dist/runtime/editor/features/analyze/Results/Results.d.vue.ts +1 -9
- package/dist/runtime/editor/features/analyze/Results/Results.vue +0 -2
- package/dist/runtime/editor/features/analyze/Results/Results.vue.d.ts +1 -9
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.d.vue.ts +1 -9
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue +1 -2
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue.d.ts +1 -9
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.d.vue.ts +1 -9
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue +11 -8
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue.d.ts +1 -9
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.d.vue.ts +3 -10
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue +63 -25
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue.d.ts +3 -10
- package/dist/runtime/editor/features/analyze/analyzers/altText.js +2 -0
- package/dist/runtime/editor/features/analyze/analyzers/headingStructure.js +3 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/hashString.d.ts +7 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/hashString.js +8 -0
- package/dist/runtime/editor/features/analyze/analyzers/readability.js +6 -12
- package/dist/runtime/editor/features/analyze/analyzers/types.d.ts +20 -0
- package/dist/runtime/editor/features/analyze/index.vue +458 -0
- package/dist/runtime/editor/features/analyze/types.d.ts +12 -0
- package/dist/runtime/editor/features/artboard/Overview/index.vue +37 -4
- package/dist/runtime/editor/features/artboard/Renderer.vue +79 -9
- package/dist/runtime/editor/features/artboard/Scrollbar/index.vue +84 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/index.vue +1 -1
- package/dist/runtime/editor/features/block-scheduler/index.vue +114 -0
- package/dist/runtime/editor/features/breadcrumbs/index.vue +150 -0
- package/dist/runtime/editor/features/changelog/Dialog/index.vue +62 -7
- package/dist/runtime/editor/features/changelog/changelog.json +9 -1
- package/dist/runtime/editor/features/clipboard/index.vue +153 -1
- package/dist/runtime/editor/features/command-palette/Palette/Item/index.vue +39 -16
- package/dist/runtime/editor/features/command-palette/Palette/index.vue +24 -130
- package/dist/runtime/editor/features/comments/index.vue +235 -0
- package/dist/runtime/editor/features/complex-options/index.vue +4 -1
- package/dist/runtime/editor/features/debug/Main.vue +1 -1
- package/dist/runtime/editor/features/debug/Section/Features.vue +2 -4
- package/dist/runtime/editor/features/debug/index.vue +168 -0
- package/dist/runtime/editor/features/dev-mode/index.vue +92 -27
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue +1 -1
- package/dist/runtime/editor/features/dragging-overlay/index.vue +330 -0
- package/dist/runtime/editor/features/edit/index.vue +15 -17
- package/dist/runtime/editor/features/edit-form/Frame/index.vue +21 -4
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.d.vue.ts +9 -1
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue +32 -3
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue.d.ts +9 -1
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/ChunkOverlay.vue +77 -0
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/index.vue +55 -56
- package/dist/runtime/editor/features/editable-field/Overlay/index.vue +416 -8
- package/dist/runtime/editor/features/editable-mask/index.vue +9 -0
- package/dist/runtime/editor/features/entity-title/index.vue +40 -56
- package/dist/runtime/editor/features/fragments/Dialog/index.vue +90 -0
- package/dist/runtime/editor/features/help/Shortcuts/index.vue +71 -0
- package/dist/runtime/editor/features/help/index.vue +17 -0
- package/dist/runtime/editor/features/highlights/Renderer/fragment.glsl +89 -0
- package/dist/runtime/editor/features/highlights/Renderer/index.vue +408 -0
- package/dist/runtime/editor/features/highlights/Renderer/vertex.glsl +87 -0
- package/dist/runtime/editor/features/highlights/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/highlights/index.vue +20 -0
- package/dist/runtime/editor/features/highlights/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/history/List/index.vue +209 -0
- package/dist/runtime/editor/features/history/index.vue +0 -1
- package/dist/runtime/editor/features/hover/Renderer/index.vue +1 -1
- package/dist/runtime/editor/features/hover/Renderer/vertex.glsl +1 -1
- package/dist/runtime/editor/features/import-existing/Dialog/index.vue +18 -0
- package/dist/runtime/editor/features/media-library/Library/index.vue +10 -30
- package/dist/runtime/editor/features/media-library/index.vue +331 -0
- package/dist/runtime/editor/features/options/Form/Checkbox/index.vue +1 -1
- package/dist/runtime/editor/features/options/Form/Checkboxes/index.vue +1 -1
- package/dist/runtime/editor/features/options/Form/ComplexType/index.vue +6 -2
- package/dist/runtime/editor/features/options/Form/Item.vue +21 -18
- package/dist/runtime/editor/features/options/Form/Radios/index.d.vue.ts +6 -0
- package/dist/runtime/editor/features/options/Form/Radios/index.vue +25 -6
- package/dist/runtime/editor/features/options/Form/Radios/index.vue.d.ts +6 -0
- package/dist/runtime/editor/features/options/Form/index.vue +1 -4
- package/dist/runtime/editor/features/options/index.vue +729 -0
- package/dist/runtime/editor/features/ownership/Banner/index.vue +9 -8
- package/dist/runtime/editor/features/ownership/index.vue +1 -1
- package/dist/runtime/editor/features/preview-grant/QrCode/index.vue +8 -3
- package/dist/runtime/editor/features/publish/Dialog/Item.vue +18 -20
- package/dist/runtime/editor/features/publish/Dialog/index.vue +5 -1
- package/dist/runtime/editor/features/publish/index.vue +835 -0
- package/dist/runtime/editor/features/publish/types.d.ts +5 -1
- package/dist/runtime/editor/features/referenced-entities/List/Item/index.d.vue.ts +4 -0
- package/dist/runtime/editor/features/referenced-entities/List/Item/index.vue +81 -0
- package/dist/runtime/editor/features/referenced-entities/List/Item/index.vue.d.ts +4 -0
- package/dist/runtime/editor/features/referenced-entities/List/index.d.vue.ts +11 -0
- package/dist/runtime/editor/features/referenced-entities/List/index.vue +78 -0
- package/dist/runtime/editor/features/referenced-entities/List/index.vue.d.ts +11 -0
- package/dist/runtime/editor/features/referenced-entities/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/referenced-entities/index.vue +36 -0
- package/dist/runtime/editor/features/referenced-entities/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/referenced-entities/types.d.ts +13 -0
- package/dist/runtime/editor/features/responsive-preview/Frame/index.vue +188 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Page/index.vue +1 -1
- package/dist/runtime/editor/features/search/index.vue +511 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.vue +58 -0
- package/dist/runtime/editor/features/selection/index.vue +47 -15
- package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.vue +23 -0
- package/dist/runtime/editor/features/settings/Dialog/index.vue +5 -2
- package/dist/runtime/editor/features/settings/index.vue +152 -0
- package/dist/runtime/editor/features/structure/List/Item/index.vue +7 -0
- package/dist/runtime/editor/features/structure/index.vue +178 -0
- package/dist/runtime/editor/features/templates/ManageDialog/Item.vue +3 -3
- package/dist/runtime/editor/features/templates/ManageDialog/index.vue +24 -3
- package/dist/runtime/editor/features/theme/index.vue +94 -0
- package/dist/runtime/editor/features/touch-action-bar/Bar/index.vue +34 -0
- package/dist/runtime/editor/features/tour/Overlay/index.vue +243 -13
- package/dist/runtime/editor/features/transform/Dialog/index.vue +132 -1
- package/dist/runtime/editor/features/translations/Banner/index.d.vue.ts +14 -1
- package/dist/runtime/editor/features/translations/Banner/index.vue +139 -12
- package/dist/runtime/editor/features/translations/Banner/index.vue.d.ts +14 -1
- package/dist/runtime/editor/features/translations/CsvDialog/Export/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/translations/CsvDialog/Export/index.vue +272 -0
- package/dist/runtime/editor/features/translations/CsvDialog/Export/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/translations/CsvDialog/Import/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/translations/CsvDialog/Import/index.vue +382 -0
- package/dist/runtime/editor/features/translations/CsvDialog/Import/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/translations/CsvDialog/csv.d.ts +22 -0
- package/dist/runtime/editor/features/translations/CsvDialog/csv.js +50 -0
- package/dist/runtime/editor/features/translations/CsvDialog/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/translations/CsvDialog/index.vue +37 -0
- package/dist/runtime/editor/features/translations/CsvDialog/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/translations/CsvDialog/po.d.ts +7 -0
- package/dist/runtime/editor/features/translations/CsvDialog/po.js +36 -0
- package/dist/runtime/editor/features/translations/SelectionTable/index.d.vue.ts +37 -0
- package/dist/runtime/editor/features/translations/SelectionTable/index.vue +102 -0
- package/dist/runtime/editor/features/translations/SelectionTable/index.vue.d.ts +37 -0
- package/dist/runtime/editor/features/translations/TranslateDialog/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/translations/TranslateDialog/index.vue +294 -0
- package/dist/runtime/editor/features/translations/TranslateDialog/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/translations/index.vue +276 -6
- package/dist/runtime/editor/features/translations/types.d.ts +47 -0
- package/dist/runtime/editor/features/validations/Overlay/index.vue +130 -0
- package/dist/runtime/editor/features/validations/index.vue +41 -0
- package/dist/runtime/editor/features/{assistant → workspace}/Overlay/index.d.vue.ts +2 -4
- package/dist/runtime/editor/features/workspace/Overlay/index.vue +177 -0
- package/dist/runtime/editor/features/{assistant → workspace}/Overlay/index.vue.d.ts +2 -4
- package/dist/runtime/editor/features/workspace/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/workspace/index.vue +46 -0
- package/dist/runtime/editor/features/workspace/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/workspace/types.d.ts +59 -0
- package/dist/runtime/editor/features/workspace/types.js +0 -0
- package/dist/runtime/editor/icons/svg/spinner.svg +2 -2
- package/dist/runtime/editor/plugins/ContextMenu/Menu/index.vue +21 -7
- package/dist/runtime/editor/plugins/ContextMenu/index.vue +4 -0
- package/dist/runtime/editor/plugins/ItemAction/index.d.vue.ts +9 -2
- package/dist/runtime/editor/plugins/ItemAction/index.vue +26 -16
- package/dist/runtime/editor/plugins/ItemAction/index.vue.d.ts +9 -2
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue +24 -26
- package/dist/runtime/editor/plugins/Sidebar/index.vue +612 -27
- package/dist/runtime/editor/plugins/ToolbarButton/index.d.vue.ts +13 -84
- package/dist/runtime/editor/plugins/ToolbarButton/index.vue +36 -22
- package/dist/runtime/editor/plugins/ToolbarButton/index.vue.d.ts +13 -84
- package/dist/runtime/editor/plugins/ViewOption/index.vue +13 -14
- package/dist/runtime/editor/providers/blocks.js +1 -0
- package/dist/runtime/editor/providers/cache.d.ts +23 -0
- package/dist/runtime/editor/providers/cache.js +29 -0
- package/dist/runtime/editor/providers/directive.d.ts +25 -0
- package/dist/runtime/editor/providers/directive.js +20 -0
- package/dist/runtime/editor/providers/fieldValue.d.ts +5 -5
- package/dist/runtime/editor/providers/fieldValue.js +8 -7
- package/dist/runtime/editor/providers/plugin.d.ts +14 -0
- package/dist/runtime/editor/providers/plugin.js +9 -0
- package/dist/runtime/editor/providers/readability.js +1 -1
- package/dist/runtime/editor/providers/selection.js +1 -1
- package/dist/runtime/editor/providers/state.d.ts +1 -0
- package/dist/runtime/editor/providers/state.js +1 -0
- package/dist/runtime/editor/providers/texts.js +11 -1
- package/dist/runtime/editor/providers/ui.d.ts +11 -0
- package/dist/runtime/editor/providers/ui.js +5 -1
- package/dist/runtime/editor/translations/de.json +316 -56
- package/dist/runtime/editor/translations/fr.json +310 -50
- package/dist/runtime/editor/translations/gsw_CH.json +311 -51
- package/dist/runtime/editor/translations/it.json +310 -50
- package/dist/runtime/editor/types/app.d.ts +2 -0
- package/dist/runtime/editor/types/definitions.d.ts +8 -0
- package/dist/runtime/editor/types/field.d.ts +1 -0
- package/dist/runtime/editor/types/state.d.ts +10 -0
- package/dist/runtime/editor/types/ui.d.ts +3 -1
- package/dist/runtime/helpers/tw.d.ts +15 -0
- package/dist/runtime/helpers/tw.js +3 -0
- package/dist/runtime/types/field.d.ts +1 -0
- package/dist/shared/{editor.DsGJIlGn.d.mts → editor.BTOBvmaz.d.mts} +20 -3
- package/dist/types.d.mts +1 -1
- package/package.json +16 -3
- package/dist/runtime/editor/features/analyze/Renderer/fragment.glsl +0 -74
- package/dist/runtime/editor/features/analyze/Renderer/index.d.vue.ts +0 -24
- package/dist/runtime/editor/features/analyze/Renderer/index.vue +0 -330
- package/dist/runtime/editor/features/analyze/Renderer/index.vue.d.ts +0 -24
- package/dist/runtime/editor/features/analyze/Renderer/vertex.glsl +0 -94
- package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.d.vue.ts +0 -7
- package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.vue +0 -17
- package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.vue.d.ts +0 -7
- package/dist/runtime/editor/features/assistant/Overlay/index.vue +0 -108
- package/dist/runtime/editor/features/assistant/docs.md +0 -7
- package/dist/runtime/editor/features/assistant/index.vue +0 -66
- package/dist/runtime/editor/features/assistant/types.d.ts +0 -37
- package/dist/runtime/editor/features/media-library/Library/FilterSelect/index.vue +0 -168
- package/dist/runtime/editor/providers/fieldValueAdapterTypes.d.ts +0 -13
- /package/dist/{runtime/editor/features/assistant → modules/iframes/runtime}/types.js +0 -0
- /package/dist/runtime/editor/components/Actions/{ItemDropdown.d.vue.ts → ItemDropdown/index.d.vue.ts} +0 -0
- /package/dist/runtime/editor/components/Actions/{ItemDropdown.vue.d.ts → ItemDropdown/index.vue.d.ts} +0 -0
- /package/dist/runtime/editor/{features/media-library/Library → components/PluginConfigFormInline}/FilterSelect/index.d.vue.ts +0 -0
- /package/dist/runtime/editor/{features/media-library/Library → components/PluginConfigFormInline}/FilterSelect/index.vue.d.ts +0 -0
- /package/dist/runtime/editor/features/{assistant → highlights/Renderer}/index.d.vue.ts +0 -0
- /package/dist/runtime/editor/features/{assistant → highlights/Renderer}/index.vue.d.ts +0 -0
- /package/dist/runtime/editor/{providers/fieldValueAdapterTypes.js → features/referenced-entities/types.js} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<button
|
|
4
4
|
:id="'bk-sidebar-button-' + id"
|
|
5
5
|
ref="tourElement"
|
|
6
|
-
class="bk-toolbar-button"
|
|
6
|
+
class="bk-toolbar-button _bk_group/tooltip"
|
|
7
7
|
:class="[
|
|
8
8
|
{ 'bk-is-active': activeSidebar === id && !isDisabled },
|
|
9
9
|
'bk-is-' + region
|
|
@@ -16,17 +16,21 @@
|
|
|
16
16
|
<Icon v-if="icon" :name="icon" />
|
|
17
17
|
</slot>
|
|
18
18
|
<slot name="badge" />
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
<Tooltip
|
|
20
|
+
:label="tooltipTitle || title"
|
|
21
|
+
:placement="tooltipPlacement"
|
|
22
|
+
:margin="region === 'left'"
|
|
23
|
+
>
|
|
24
|
+
<template v-if="keyCode" #shortcut>
|
|
25
|
+
<ShortcutIndicator
|
|
26
|
+
:meta
|
|
27
|
+
:shift
|
|
28
|
+
:key-code
|
|
29
|
+
:label="title"
|
|
30
|
+
@pressed="toggleSidebar"
|
|
31
|
+
/>
|
|
32
|
+
</template>
|
|
33
|
+
</Tooltip>
|
|
30
34
|
</button>
|
|
31
35
|
</Teleport>
|
|
32
36
|
|
|
@@ -55,7 +59,7 @@
|
|
|
55
59
|
</template>
|
|
56
60
|
<template #default="{ width, height, isResizing }">
|
|
57
61
|
<div class="bk-sidebar-content-wrapper">
|
|
58
|
-
<Loading v-if="isLoading" white />
|
|
62
|
+
<Loading v-if="isLoading" theme="white" />
|
|
59
63
|
<div ref="sidebarContent" class="bk-sidebar-content">
|
|
60
64
|
<slot
|
|
61
65
|
:key="isRenderedDetached ? 'detached' : 'attached'"
|
|
@@ -74,22 +78,24 @@
|
|
|
74
78
|
<ScrollBoundary
|
|
75
79
|
v-else
|
|
76
80
|
v-show="activeSidebar === id"
|
|
77
|
-
class="bk-sidebar-inner"
|
|
81
|
+
class="bk bk-sidebar-inner"
|
|
78
82
|
>
|
|
79
|
-
<div class="bk">
|
|
80
|
-
<
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
83
|
+
<div class="bk-sidebar-title">
|
|
84
|
+
<span>{{ title }}</span>
|
|
85
|
+
<BetaIndicator
|
|
86
|
+
v-if="beta"
|
|
87
|
+
class="_bk_mr-auto _bk_ml-5"
|
|
88
|
+
:inverted="region === 'right-bottom'"
|
|
89
|
+
/>
|
|
90
|
+
<button v-if="!ui.isMobile.value" @click.prevent.stop="onDetach">
|
|
91
|
+
<Icon name="dock-window" />
|
|
92
|
+
</button>
|
|
93
|
+
<button @click.prevent.stop="toggleSidebar">
|
|
94
|
+
<Icon name="bk_mdi_close" />
|
|
95
|
+
</button>
|
|
90
96
|
</div>
|
|
91
97
|
<div class="bk-sidebar-content-wrapper">
|
|
92
|
-
<Loading v-if="isLoading" white />
|
|
98
|
+
<Loading v-if="isLoading" theme="white" />
|
|
93
99
|
<div ref="sidebarContent" class="bk-sidebar-content">
|
|
94
100
|
<slot
|
|
95
101
|
:key="isRenderedDetached ? 'detached' : 'attached'"
|
|
@@ -120,7 +126,9 @@ import {
|
|
|
120
126
|
Icon,
|
|
121
127
|
ShortcutIndicator,
|
|
122
128
|
ScrollBoundary,
|
|
123
|
-
Loading
|
|
129
|
+
Loading,
|
|
130
|
+
BetaIndicator,
|
|
131
|
+
Tooltip
|
|
124
132
|
} from "#blokkli/editor/components";
|
|
125
133
|
import SidebarDetached from "./Detached/index.vue";
|
|
126
134
|
import {
|
|
@@ -221,6 +229,14 @@ useAnimationFrame(() => {
|
|
|
221
229
|
isOverflowing.value = sidebarContent.value.scrollHeight > sidebarContent.value.offsetHeight;
|
|
222
230
|
}
|
|
223
231
|
});
|
|
232
|
+
const tooltipPlacement = computed(() => {
|
|
233
|
+
if (props.region === "left") {
|
|
234
|
+
return "below-left";
|
|
235
|
+
} else if (props.region === "right") {
|
|
236
|
+
return "center-before";
|
|
237
|
+
}
|
|
238
|
+
return "above-before";
|
|
239
|
+
});
|
|
224
240
|
const commandTitle = computed(() => {
|
|
225
241
|
if (activeSidebar.value === props.id) {
|
|
226
242
|
return $t("sidebar.hide", "Hide @title").replace("@title", props.title);
|
|
@@ -279,3 +295,572 @@ export default {
|
|
|
279
295
|
name: "PluginSidebar"
|
|
280
296
|
};
|
|
281
297
|
</script>
|
|
298
|
+
|
|
299
|
+
<style>
|
|
300
|
+
.bk-html-root {
|
|
301
|
+
--bk-sidebar-width-right: 100vw;
|
|
302
|
+
--bk-toolbar-left-width: 50px;
|
|
303
|
+
--bk-add-item-icon-padding: 6px;
|
|
304
|
+
--bk-item-icon-radius-base-toolbar: 4px;
|
|
305
|
+
--bk-add-item-font-size: 16px;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
@media screen and (min-height: 900px) {
|
|
309
|
+
.bk-html-root {
|
|
310
|
+
--bk-toolbar-left-width: 60px;
|
|
311
|
+
--bk-add-item-icon-padding: 8px;
|
|
312
|
+
--bk-item-icon-radius-base-toolbar: 6px;
|
|
313
|
+
--bk-add-item-font-size: 16px
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
@media screen and (min-height: 1100px) {
|
|
318
|
+
.bk-html-root {
|
|
319
|
+
--bk-toolbar-left-width: 70px;
|
|
320
|
+
--bk-add-item-icon-padding: 10px;
|
|
321
|
+
--bk-item-icon-radius-base-toolbar: 8px;
|
|
322
|
+
--bk-add-item-font-size: 18px
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
@media (min-width: 768px) {
|
|
327
|
+
.bk-html-root {
|
|
328
|
+
--bk-sidebar-width-right: 351px
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
@media (min-width: 1536px) {
|
|
333
|
+
.bk-html-root {
|
|
334
|
+
--bk-sidebar-width-right: 400px
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
@media (min-width: 1920px) {
|
|
339
|
+
.bk-html-root {
|
|
340
|
+
--bk-sidebar-width-right: 440px
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.bk.bk-sidebar {
|
|
345
|
+
pointer-events: auto;
|
|
346
|
+
z-index: calc(var(--bk-z-index-base) + 140000) /* "sidebar" */;
|
|
347
|
+
width: var(--bk-sidebar-width-right);
|
|
348
|
+
--bk-tw-bg-opacity: 1;
|
|
349
|
+
background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.bk.bk-sidebar .bk-sidebar-padding {
|
|
353
|
+
padding: 20px;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.bk.bk-sidebar.bk-is-right {
|
|
357
|
+
min-height: 0px;
|
|
358
|
+
flex: 1 1 0%;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.bk.bk-sidebar.bk-is-right-bottom {
|
|
362
|
+
min-height: 0px;
|
|
363
|
+
flex: 1 1 0%;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.bk.bk-sidebar.bk-is-right-bottom .bk-sidebar-title {
|
|
367
|
+
border-bottom-color: transparent !important;
|
|
368
|
+
--bk-tw-bg-opacity: 1;
|
|
369
|
+
background-color: rgb(var(--bk-theme-accent-700) / var(--bk-tw-bg-opacity, 1));
|
|
370
|
+
--bk-tw-text-opacity: 1;
|
|
371
|
+
color: rgb(255 255 255 / var(--bk-tw-text-opacity, 1));
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.bk.bk-sidebar.bk-is-right-bottom .bk-sidebar-title button {
|
|
375
|
+
--bk-tw-text-opacity: 1;
|
|
376
|
+
color: rgb(var(--bk-theme-accent-50) / var(--bk-tw-text-opacity, 1));
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.bk.bk-sidebar.bk-is-right-bottom .bk-sidebar-title button:hover {
|
|
380
|
+
--bk-tw-bg-opacity: 1;
|
|
381
|
+
background-color: rgb(var(--bk-theme-accent-800) / var(--bk-tw-bg-opacity, 1));
|
|
382
|
+
--bk-tw-text-opacity: 1;
|
|
383
|
+
color: rgb(255 255 255 / var(--bk-tw-text-opacity, 1));
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
@media (min-width: 768px) {
|
|
387
|
+
|
|
388
|
+
.bk.bk-sidebar.bk-is-left {
|
|
389
|
+
width: 400px;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.bk.bk-sidebar.bk-is-left {
|
|
394
|
+
grid-area: sidebar-left;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.bk.bk-sidebar:empty {
|
|
398
|
+
display: none;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.bk.bk-sidebar.bk-is-hidden {
|
|
402
|
+
pointer-events: none;
|
|
403
|
+
--bk-tw-translate-y: 40px;
|
|
404
|
+
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));
|
|
405
|
+
opacity: 0;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.bk.bk-sidebar .bk-sidebar-title {
|
|
409
|
+
display: flex;
|
|
410
|
+
height: 40px;
|
|
411
|
+
align-items: center;
|
|
412
|
+
border-bottom-width: 1px !important;
|
|
413
|
+
--bk-tw-border-opacity: 1 !important;
|
|
414
|
+
border-bottom-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1)) !important;
|
|
415
|
+
padding-left: 15px !important;
|
|
416
|
+
font-family: PB Inter, sans-serif !important;
|
|
417
|
+
font-weight: 600 !important;
|
|
418
|
+
user-select: none;
|
|
419
|
+
font-size: 14px;
|
|
420
|
+
line-height: 20px;
|
|
421
|
+
--bk-tw-bg-opacity: 1;
|
|
422
|
+
background-color: rgb(var(--bk-theme-mono-200) / var(--bk-tw-bg-opacity, 1));
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.bk.bk-sidebar .bk-sidebar-title button:first-of-type {
|
|
426
|
+
margin-left: auto;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.bk.bk-sidebar .bk-sidebar-title button {
|
|
430
|
+
display: flex;
|
|
431
|
+
height: 40px;
|
|
432
|
+
min-width: 40px;
|
|
433
|
+
align-items: center;
|
|
434
|
+
justify-content: center;
|
|
435
|
+
--bk-tw-text-opacity: 1;
|
|
436
|
+
color: rgb(var(--bk-theme-mono-700) / var(--bk-tw-text-opacity, 1));
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.bk.bk-sidebar .bk-sidebar-title button:hover {
|
|
440
|
+
--bk-tw-bg-opacity: 1;
|
|
441
|
+
background-color: rgb(var(--bk-theme-mono-100) / var(--bk-tw-bg-opacity, 1));
|
|
442
|
+
--bk-tw-text-opacity: 1;
|
|
443
|
+
color: rgb(var(--bk-theme-mono-900) / var(--bk-tw-text-opacity, 1));
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.bk.bk-sidebar .bk-sidebar-title button svg {
|
|
447
|
+
width: 15px;
|
|
448
|
+
height: 15px;
|
|
449
|
+
fill: currentColor;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.bk.bk-sidebar-inner {
|
|
453
|
+
display: flex;
|
|
454
|
+
height: 100%;
|
|
455
|
+
flex-direction: column;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.bk.bk-sidebar-right-wrapper {
|
|
459
|
+
pointer-events: none;
|
|
460
|
+
position: relative;
|
|
461
|
+
z-index: calc(var(--bk-z-index-base) + 140000) /* "sidebar" */;
|
|
462
|
+
display: flex;
|
|
463
|
+
flex-direction: column;
|
|
464
|
+
--bk-tw-bg-opacity: 1;
|
|
465
|
+
background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
|
|
466
|
+
grid-area: sidebar-right;
|
|
467
|
+
width: var(--bk-sidebar-width-right);
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.bk.bk-sidebar-right-wrapper > * {
|
|
471
|
+
pointer-events: auto;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.bk.bk-sidebar-right-wrapper.bk-is-resizing-split > #bk-sidebar-content-right,
|
|
475
|
+
.bk.bk-sidebar-right-wrapper.bk-is-resizing-split > #bk-sidebar-content-right-bottom {
|
|
476
|
+
pointer-events: none;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.bk.bk-sidebar-right-wrapper.bk-is-split {
|
|
480
|
+
--bk-tw-bg-opacity: 1;
|
|
481
|
+
background-color: rgb(var(--bk-theme-mono-900) / var(--bk-tw-bg-opacity, 1));
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.bk.bk-sidebar-right-wrapper #bk-sidebar-content-right,
|
|
485
|
+
.bk.bk-sidebar-right-wrapper #bk-sidebar-content-right-bottom {
|
|
486
|
+
position: relative;
|
|
487
|
+
z-index: 10;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.bk .bk-sidebar-content-wrapper {
|
|
491
|
+
position: relative;
|
|
492
|
+
flex: 1 1 0%;
|
|
493
|
+
overflow: hidden;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.bk .bk-sidebar-content {
|
|
497
|
+
position: absolute;
|
|
498
|
+
top: 0px;
|
|
499
|
+
left: 0px;
|
|
500
|
+
height: 100%;
|
|
501
|
+
width: 100%;
|
|
502
|
+
overflow: auto;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.bk .bk-sidebar-content::-webkit-scrollbar {
|
|
506
|
+
display: none;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.bk .bk-sidebar-padding {
|
|
510
|
+
padding: 15px;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
@media (min-width: 1024px) {
|
|
514
|
+
|
|
515
|
+
.bk .bk-sidebar-padding {
|
|
516
|
+
padding: 20px;
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
.bk.bk-sidebar-detached {
|
|
521
|
+
position: fixed;
|
|
522
|
+
top: 0px;
|
|
523
|
+
left: 0px;
|
|
524
|
+
z-index: calc(var(--bk-z-index-base) + 320000) /* "sidebar-detached" */;
|
|
525
|
+
display: flex;
|
|
526
|
+
height: auto;
|
|
527
|
+
flex-direction: column;
|
|
528
|
+
overflow: hidden;
|
|
529
|
+
border-radius: 6px;
|
|
530
|
+
--bk-tw-bg-opacity: 1;
|
|
531
|
+
background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
|
|
532
|
+
will-change: transform;
|
|
533
|
+
border-width: 1px;
|
|
534
|
+
--bk-tw-border-opacity: 1;
|
|
535
|
+
border-color: rgb(var(--bk-theme-mono-200) / var(--bk-tw-border-opacity, 1));
|
|
536
|
+
pointer-events: auto;
|
|
537
|
+
contain: layout paint style;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
.bk.bk-sidebar-detached.bk-is-focused {
|
|
541
|
+
--bk-tw-border-opacity: 1;
|
|
542
|
+
border-color: rgb(var(--bk-theme-mono-700) / var(--bk-tw-border-opacity, 1));
|
|
543
|
+
--bk-tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
544
|
+
--bk-tw-shadow-colored: 0 20px 25px -5px var(--bk-tw-shadow-color), 0 8px 10px -6px var(--bk-tw-shadow-color);
|
|
545
|
+
box-shadow: var(--bk-tw-ring-offset-shadow, 0 0 #0000), var(--bk-tw-ring-shadow, 0 0 #0000), var(--bk-tw-shadow);
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.bk.bk-sidebar-detached.bk-is-focused .bk-sidebar-title {
|
|
549
|
+
--bk-tw-bg-opacity: 1;
|
|
550
|
+
background-color: rgb(var(--bk-theme-mono-800) / var(--bk-tw-bg-opacity, 1));
|
|
551
|
+
--bk-tw-text-opacity: 1;
|
|
552
|
+
color: rgb(255 255 255 / var(--bk-tw-text-opacity, 1));
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.bk.bk-sidebar-detached.bk-is-focused .bk-sidebar-title button:hover {
|
|
556
|
+
--bk-tw-bg-opacity: 1;
|
|
557
|
+
background-color: rgb(var(--bk-theme-mono-700) / var(--bk-tw-bg-opacity, 1));
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
.bk.bk-sidebar-detached:not(.bk-is-focused) .bk-sidebar-detached-inner button,
|
|
561
|
+
.bk.bk-sidebar-detached:not(.bk-is-focused) .bk-sidebar-detached-inner li,
|
|
562
|
+
.bk.bk-sidebar-detached:not(.bk-is-focused) .bk-sidebar-detached-inner a,
|
|
563
|
+
.bk.bk-sidebar-detached:not(.bk-is-focused) .bk-sidebar-detached-inner input,
|
|
564
|
+
.bk.bk-sidebar-detached:not(.bk-is-focused) .bk-sidebar-detached-inner textarea {
|
|
565
|
+
pointer-events: none;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.bk.bk-sidebar-detached .bk-sidebar-title {
|
|
569
|
+
cursor: move;
|
|
570
|
+
display: flex;
|
|
571
|
+
height: 40px;
|
|
572
|
+
user-select: none;
|
|
573
|
+
align-items: center;
|
|
574
|
+
--bk-tw-bg-opacity: 1;
|
|
575
|
+
background-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-bg-opacity, 1));
|
|
576
|
+
padding-left: 10px;
|
|
577
|
+
font-size: 14px;
|
|
578
|
+
line-height: 20px;
|
|
579
|
+
font-weight: 600;
|
|
580
|
+
--bk-tw-text-opacity: 1;
|
|
581
|
+
color: rgb(var(--bk-theme-mono-500) / var(--bk-tw-text-opacity, 1));
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.bk.bk-sidebar-detached .bk-sidebar-title > .bk-sidebar-title-icon {
|
|
585
|
+
margin-right: 5px;
|
|
586
|
+
height: 20px;
|
|
587
|
+
width: 20px;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.bk.bk-sidebar-detached .bk-sidebar-title > .bk-sidebar-title-icon svg {
|
|
591
|
+
fill: currentColor;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.bk.bk-sidebar-detached .bk-sidebar-title > span {
|
|
595
|
+
margin-right: auto;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
.bk.bk-sidebar-detached .bk-sidebar-title button {
|
|
599
|
+
display: flex;
|
|
600
|
+
height: 40px;
|
|
601
|
+
width: 40px;
|
|
602
|
+
align-items: center;
|
|
603
|
+
justify-content: center;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.bk.bk-sidebar-detached .bk-sidebar-title button:hover {
|
|
607
|
+
--bk-tw-bg-opacity: 1;
|
|
608
|
+
background-color: rgb(var(--bk-theme-mono-400) / var(--bk-tw-bg-opacity, 1));
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
.bk.bk-sidebar-detached .bk-sidebar-title button svg {
|
|
612
|
+
height: 20px;
|
|
613
|
+
width: 20px;
|
|
614
|
+
fill: currentColor;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.bk .bk-sidebar-detached-inner {
|
|
618
|
+
position: relative;
|
|
619
|
+
display: flex;
|
|
620
|
+
height: 100%;
|
|
621
|
+
flex-direction: column;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.bk .bk-sidebar-detached-handle {
|
|
625
|
+
position: absolute;
|
|
626
|
+
z-index: 50;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.bk .bk-sidebar-detached-handle.bk-is-bottom {
|
|
630
|
+
bottom: 0px;
|
|
631
|
+
height: 10px;
|
|
632
|
+
width: 100%;
|
|
633
|
+
cursor: ns-resize;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
.bk .bk-sidebar-detached-handle.bk-is-right {
|
|
637
|
+
right: 0px;
|
|
638
|
+
height: 100%;
|
|
639
|
+
width: 10px;
|
|
640
|
+
cursor: ew-resize;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.bk .bk-sidebar-detached-handle.bk-is-bottom-right {
|
|
644
|
+
right: 0px;
|
|
645
|
+
bottom: 0px;
|
|
646
|
+
height: 10px;
|
|
647
|
+
width: 10px;
|
|
648
|
+
cursor: se-resize;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
.bk.bk-sidebar-tabs {
|
|
652
|
+
position: relative;
|
|
653
|
+
left: 0px;
|
|
654
|
+
z-index: calc(var(--bk-z-index-base) + 150000) /* "sidebar-tabs" */;
|
|
655
|
+
display: flex;
|
|
656
|
+
height: 40px;
|
|
657
|
+
width: 100%;
|
|
658
|
+
flex-direction: row-reverse;
|
|
659
|
+
justify-content: space-between;
|
|
660
|
+
overflow: auto;
|
|
661
|
+
--bk-tw-bg-opacity: 1;
|
|
662
|
+
background-color: rgb(var(--bk-theme-mono-900) / var(--bk-tw-bg-opacity, 1));
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
@media (min-width: 1024px) {
|
|
666
|
+
|
|
667
|
+
.bk.bk-sidebar-tabs {
|
|
668
|
+
height: auto;
|
|
669
|
+
overflow: visible;
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.bk.bk-sidebar-tabs {
|
|
674
|
+
pointer-events: auto;
|
|
675
|
+
contain: style size;
|
|
676
|
+
grid-area: right;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
.bk.bk-sidebar-tabs > div {
|
|
680
|
+
display: flex;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
@media (min-width: 1024px) {
|
|
684
|
+
|
|
685
|
+
.bk.bk-sidebar-tabs {
|
|
686
|
+
flex-direction: column;
|
|
687
|
+
justify-content: flex-start;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
.bk.bk-sidebar-tabs #bk-sidebar-tabs-right-bottom {
|
|
691
|
+
margin-top: auto;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
.bk.bk-sidebar-tabs > div {
|
|
695
|
+
position: relative;
|
|
696
|
+
min-height: 50px;
|
|
697
|
+
}
|
|
698
|
+
.bk.bk-sidebar-tabs > div:first-child:before {
|
|
699
|
+
content: '';
|
|
700
|
+
position: absolute;
|
|
701
|
+
bottom: 0px;
|
|
702
|
+
left: 0px;
|
|
703
|
+
height: 1px;
|
|
704
|
+
width: 100%;
|
|
705
|
+
--bk-tw-bg-opacity: 1;
|
|
706
|
+
background-color: rgb(var(--bk-theme-mono-700) / var(--bk-tw-bg-opacity, 1));
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
.bk.bk-sidebar-tabs button {
|
|
711
|
+
position: relative;
|
|
712
|
+
height: 40px;
|
|
713
|
+
width: 50px;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
@media (min-width: 768px) {
|
|
717
|
+
|
|
718
|
+
.bk.bk-sidebar-tabs button {
|
|
719
|
+
height: 50px;
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.bk .bk-sidebar-container-tabs.bk-is-right {
|
|
724
|
+
display: flex;
|
|
725
|
+
flex-direction: row;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
@media (min-width: 1024px) {
|
|
729
|
+
|
|
730
|
+
.bk .bk-sidebar-container-tabs.bk-is-right {
|
|
731
|
+
flex-direction: column;
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.bk .bk-sidebar-container-tabs .bk-toolbar-button:before {
|
|
736
|
+
height: 0px;
|
|
737
|
+
width: 0px;
|
|
738
|
+
border-style: solid;
|
|
739
|
+
--bk-tw-content: '';
|
|
740
|
+
content: var(--bk-tw-content);
|
|
741
|
+
position: absolute;
|
|
742
|
+
bottom: 0px;
|
|
743
|
+
left: 17.5px;
|
|
744
|
+
transform-origin: bottom;
|
|
745
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
746
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
747
|
+
transition-duration: 150ms;
|
|
748
|
+
--bk-tw-scale-y: 0;
|
|
749
|
+
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));
|
|
750
|
+
border-width: 0 8px 6px;
|
|
751
|
+
border-color: transparent transparent #ffffff transparent;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
@media (min-width: 1024px) {
|
|
755
|
+
.bk .bk-sidebar-container-tabs .bk-toolbar-button.bk-is-right:before, .bk .bk-sidebar-container-tabs .bk-toolbar-button.bk-is-right-bottom:before {
|
|
756
|
+
border-width: 10px 0 10px 10px;
|
|
757
|
+
border-color: transparent transparent transparent #ffffff;
|
|
758
|
+
position: absolute;
|
|
759
|
+
top: 15px;
|
|
760
|
+
left: 0px;
|
|
761
|
+
transform-origin: left;
|
|
762
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
763
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
764
|
+
transition-duration: 150ms;
|
|
765
|
+
--bk-tw-scale-x: 0;
|
|
766
|
+
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));
|
|
767
|
+
}
|
|
768
|
+
.bk .bk-sidebar-container-tabs .bk-toolbar-button.bk-is-left:before {
|
|
769
|
+
border-width: 0 10px 10px;
|
|
770
|
+
left: 15px;
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
.bk .bk-sidebar-container-tabs .bk-toolbar-button.bk-is-active {
|
|
775
|
+
--bk-tw-bg-opacity: 1;
|
|
776
|
+
background-color: rgb(var(--bk-theme-mono-700) / var(--bk-tw-bg-opacity, 1));
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
.bk .bk-sidebar-container-tabs .bk-toolbar-button.bk-is-active:before {
|
|
780
|
+
--bk-tw-scale-x: 1;
|
|
781
|
+
--bk-tw-scale-y: 1;
|
|
782
|
+
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));
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
.bk .bk-sidebar-badge {
|
|
786
|
+
position: absolute;
|
|
787
|
+
top: 3px;
|
|
788
|
+
right: 3px;
|
|
789
|
+
display: flex;
|
|
790
|
+
width: 18px;
|
|
791
|
+
height: 18px;
|
|
792
|
+
align-items: center;
|
|
793
|
+
justify-content: center;
|
|
794
|
+
border-radius: 9999px;
|
|
795
|
+
font-weight: 700;
|
|
796
|
+
font-size: 10px;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
.bk .bk-sidebar-badge.bk-is-yellow {
|
|
800
|
+
--bk-tw-bg-opacity: 1;
|
|
801
|
+
background-color: rgb(var(--bk-theme-yellow-normal) / var(--bk-tw-bg-opacity, 1));
|
|
802
|
+
--bk-tw-text-opacity: 1;
|
|
803
|
+
color: rgb(var(--bk-theme-yellow-dark) / var(--bk-tw-text-opacity, 1));
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.bk .bk-sidebar-badge.bk-is-red {
|
|
807
|
+
--bk-tw-bg-opacity: 1;
|
|
808
|
+
background-color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-bg-opacity, 1));
|
|
809
|
+
--bk-tw-text-opacity: 1;
|
|
810
|
+
color: rgb(255 255 255 / var(--bk-tw-text-opacity, 1));
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
.bk.bk-sidebar-resize {
|
|
814
|
+
flex: 0 0 8px;
|
|
815
|
+
position: relative;
|
|
816
|
+
z-index: 50;
|
|
817
|
+
cursor: ns-resize;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
.bk.bk-sidebar-resize:hover > div {
|
|
821
|
+
opacity: 1;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
.bk.bk-sidebar-resize:before {
|
|
825
|
+
content: '';
|
|
826
|
+
position: absolute;
|
|
827
|
+
left: 0px;
|
|
828
|
+
width: 100%;
|
|
829
|
+
top: 50%;
|
|
830
|
+
height: 18px;
|
|
831
|
+
--bk-tw-translate-y: -50%;
|
|
832
|
+
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));
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
.bk.bk-sidebar-resize > div {
|
|
836
|
+
opacity: 0;
|
|
837
|
+
position: absolute;
|
|
838
|
+
left: 50%;
|
|
839
|
+
width: 100px;
|
|
840
|
+
--bk-tw-translate-x: -50%;
|
|
841
|
+
--bk-tw-bg-opacity: 1;
|
|
842
|
+
background-color: rgb(var(--bk-theme-accent-950) / var(--bk-tw-bg-opacity, 1));
|
|
843
|
+
--bk-tw-backdrop-blur: blur(24px);
|
|
844
|
+
-webkit-backdrop-filter: var(--bk-tw-backdrop-blur) var(--bk-tw-backdrop-brightness) var(--bk-tw-backdrop-contrast) var(--bk-tw-backdrop-grayscale) var(--bk-tw-backdrop-hue-rotate) var(--bk-tw-backdrop-invert) var(--bk-tw-backdrop-opacity) var(--bk-tw-backdrop-saturate) var(--bk-tw-backdrop-sepia);
|
|
845
|
+
backdrop-filter: var(--bk-tw-backdrop-blur) var(--bk-tw-backdrop-brightness) var(--bk-tw-backdrop-contrast) var(--bk-tw-backdrop-grayscale) var(--bk-tw-backdrop-hue-rotate) var(--bk-tw-backdrop-invert) var(--bk-tw-backdrop-opacity) var(--bk-tw-backdrop-saturate) var(--bk-tw-backdrop-sepia);
|
|
846
|
+
top: 50%;
|
|
847
|
+
--bk-tw-translate-y: -50%;
|
|
848
|
+
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));
|
|
849
|
+
display: grid;
|
|
850
|
+
gap: 2px;
|
|
851
|
+
border-radius: 9999px;
|
|
852
|
+
padding-left: 8px;
|
|
853
|
+
padding-right: 8px;
|
|
854
|
+
padding-top: 5px;
|
|
855
|
+
padding-bottom: 5px;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
.bk.bk-sidebar-resize > div hr {
|
|
859
|
+
height: 1px;
|
|
860
|
+
border-top-width: 1px;
|
|
861
|
+
--bk-tw-border-opacity: 1;
|
|
862
|
+
border-top-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
|
|
863
|
+
--bk-tw-bg-opacity: 1;
|
|
864
|
+
background-color: rgb(var(--bk-theme-mono-700) / var(--bk-tw-bg-opacity, 1));
|
|
865
|
+
}
|
|
866
|
+
</style>
|