@poveste/app 0.1.0 → 0.1.1
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/package.json +4 -4
- package/postcss.config.cjs +1 -1
- package/src/app/App.vue +9 -9
- package/src/app/assets/poveste-text-dark.svg +15 -0
- package/src/app/assets/poveste-text.svg +15 -0
- package/src/app/assets/poveste.svg +14 -0
- package/src/app/components/HomeView.vue +4 -4
- package/src/app/components/app/AppHeader.vue +4 -4
- package/src/app/components/app/AppLogo.vue +7 -7
- package/src/app/components/app/Breadcrumb.vue +1 -1
- package/src/app/components/app/InitialLoading.vue +3 -3
- package/src/app/components/app/MobileOverlay.vue +2 -2
- package/src/app/components/base/BaseButton.vue +1 -1
- package/src/app/components/base/BaseCheckbox.vue +1 -1
- package/src/app/components/base/BaseCopyIcon.vue +1 -1
- package/src/app/components/base/BaseEmpty.vue +1 -1
- package/src/app/components/base/BaseIcon.vue +2 -2
- package/src/app/components/base/BaseKeyboardShortcut.vue +1 -1
- package/src/app/components/base/BaseListItemLink.vue +1 -1
- package/src/app/components/base/BaseOverflowMenu.vue +1 -1
- package/src/app/components/base/BaseOverflowTab.vue +2 -2
- package/src/app/components/base/BaseSelect.vue +1 -1
- package/src/app/components/base/BaseSplitPane.vue +2 -2
- package/src/app/components/base/BaseTab.vue +2 -2
- package/src/app/components/base/BaseTag.vue +1 -1
- package/src/app/components/command/CommandPrompts.vue +1 -1
- package/src/app/components/command/CommandPromptsModal.vue +1 -1
- package/src/app/components/command/PromptSelect.vue +1 -1
- package/src/app/components/command/PromptText.vue +1 -1
- package/src/app/components/misc/HatchedPattern.vue +2 -2
- package/src/app/components/panel/ControlsComponentPropItem.vue +1 -1
- package/src/app/components/panel/ControlsComponentProps.vue +1 -1
- package/src/app/components/panel/ControlsComponentState.vue +1 -1
- package/src/app/components/panel/ControlsComponentStateItem.vue +1 -1
- package/src/app/components/panel/PaneTabs.vue +1 -1
- package/src/app/components/panel/StatePresets.vue +3 -3
- package/src/app/components/panel/StoryControls.vue +2 -2
- package/src/app/components/panel/StoryDocs.vue +6 -6
- package/src/app/components/panel/StoryEvent.vue +1 -1
- package/src/app/components/panel/StoryEvents.vue +1 -1
- package/src/app/components/panel/StorySidePanel.vue +3 -3
- package/src/app/components/panel/StorySourceCode.vue +5 -5
- package/src/app/components/search/SearchItem.vue +1 -1
- package/src/app/components/search/SearchLoading.vue +1 -1
- package/src/app/components/search/SearchModal.vue +1 -1
- package/src/app/components/search/SearchPane.vue +3 -3
- package/src/app/components/search/search-docs-data.ts +1 -1
- package/src/app/components/search/search-title-data.ts +1 -1
- package/src/app/components/story/GenericMountStory.vue +2 -2
- package/src/app/components/story/GenericRenderStory.vue +2 -2
- package/src/app/components/story/StoryResponsivePreview.vue +1 -1
- package/src/app/components/story/StoryVariantGrid.vue +2 -2
- package/src/app/components/story/StoryVariantGridItem.vue +6 -4
- package/src/app/components/story/StoryVariantListItem.vue +1 -1
- package/src/app/components/story/StoryVariantSingle.vue +2 -2
- package/src/app/components/story/StoryVariantSinglePreviewNative.vue +7 -5
- package/src/app/components/story/StoryVariantSinglePreviewRemote.vue +1 -1
- package/src/app/components/story/StoryVariantSingleView.vue +2 -2
- package/src/app/components/story/StoryView.vue +2 -2
- package/src/app/components/story/StoryViewer.vue +1 -1
- package/src/app/components/toolbar/DevOnlyToolbarOpenInEditor.vue +1 -1
- package/src/app/components/toolbar/ToolbarBackground.vue +4 -4
- package/src/app/components/toolbar/ToolbarNewTab.vue +1 -1
- package/src/app/components/toolbar/ToolbarResponsiveSize.vue +5 -5
- package/src/app/components/toolbar/ToolbarTextDirection.vue +1 -1
- package/src/app/components/toolbar/ToolbarTitle.vue +1 -1
- package/src/app/components/tree/StoryGroup.vue +1 -1
- package/src/app/components/tree/StoryList.vue +1 -1
- package/src/app/components/tree/StoryListFolder.vue +3 -3
- package/src/app/components/tree/StoryListItem.vue +1 -1
- package/src/app/index.ts +2 -2
- package/src/app/plugin.ts +2 -2
- package/src/app/router.ts +2 -2
- package/src/app/sandbox.ts +6 -6
- package/src/app/stores/folder.ts +1 -1
- package/src/app/stores/preview-settings.ts +1 -1
- package/src/app/style/main.pcss +3 -3
- package/src/app/style/sandbox.css +1 -1
- package/src/app/style/transitions.pcss +4 -4
- package/src/app/types.ts +2 -2
- package/src/app/util/commands.ts +2 -2
- package/src/app/util/config.ts +2 -2
- package/src/app/util/const.ts +4 -4
- package/src/app/util/dark.ts +4 -4
- package/src/app/util/docs.ts +1 -1
- package/src/app/util/events.ts +1 -1
- package/src/app/util/preview-settings.ts +5 -3
- package/src/virtual.d.ts +1 -1
- package/tailwind.config.cjs +2 -2
- package/vite.config.ts +2 -2
- package/dist/app/assets/histoire-text-dark.svg +0 -89
- package/dist/app/assets/histoire-text.svg +0 -89
- package/dist/app/assets/histoire.svg +0 -51
- package/dist/app/style/floating.pcss +0 -34
- package/dist/app/style/main.pcss +0 -100
- package/dist/app/style/sandbox.css +0 -24
- package/dist/app/style/transitions.pcss +0 -51
- package/dist/bundle-index.js +0 -1
- package/dist/bundle-main-dev.js +0 -4
- package/dist/bundle-main.js +0 -5
- package/dist/bundle-sandbox-dev.js +0 -2
- package/dist/bundle-sandbox.js +0 -2
- package/dist/bundled/App.vue.js +0 -5
- package/dist/bundled/App.vue2.js +0 -167
- package/dist/bundled/_virtual/_plugin-vue_export-helper.js +0 -10
- package/dist/bundled/api.js +0 -12
- package/dist/bundled/app.css +0 -116
- package/dist/bundled/assets/histoire-text-dark.svg.js +0 -4
- package/dist/bundled/assets/histoire-text.svg.js +0 -4
- package/dist/bundled/assets/histoire.svg.js +0 -4
- package/dist/bundled/components/HomeView.vue.js +0 -5
- package/dist/bundled/components/HomeView.vue2.js +0 -66
- package/dist/bundled/components/app/AppHeader.vue.js +0 -5
- package/dist/bundled/components/app/AppHeader.vue2.js +0 -71
- package/dist/bundled/components/app/AppLogo.vue.js +0 -5
- package/dist/bundled/components/app/AppLogo.vue2.js +0 -29
- package/dist/bundled/components/app/Breadcrumb.vue.js +0 -8
- package/dist/bundled/components/app/Breadcrumb.vue2.js +0 -91
- package/dist/bundled/components/app/HomeCounter.vue.js +0 -5
- package/dist/bundled/components/app/HomeCounter.vue2.js +0 -42
- package/dist/bundled/components/app/InitialLoading.vue.js +0 -5
- package/dist/bundled/components/app/InitialLoading.vue2.js +0 -51
- package/dist/bundled/components/app/MobileOverlay.vue.js +0 -5
- package/dist/bundled/components/app/MobileOverlay.vue2.js +0 -45
- package/dist/bundled/components/base/BaseButton.vue.js +0 -5
- package/dist/bundled/components/base/BaseButton.vue2.js +0 -39
- package/dist/bundled/components/base/BaseCheckbox.vue.js +0 -5
- package/dist/bundled/components/base/BaseCheckbox.vue2.js +0 -78
- package/dist/bundled/components/base/BaseEmpty.vue.js +0 -14
- package/dist/bundled/components/base/BaseIcon.vue.js +0 -8
- package/dist/bundled/components/base/BaseIcon.vue2.js +0 -29
- package/dist/bundled/components/base/BaseKeyboardShortcut.vue.js +0 -5
- package/dist/bundled/components/base/BaseKeyboardShortcut.vue2.js +0 -20
- package/dist/bundled/components/base/BaseListItem.vue.js +0 -5
- package/dist/bundled/components/base/BaseListItem.vue2.js +0 -33
- package/dist/bundled/components/base/BaseListItemLink.vue.js +0 -33
- package/dist/bundled/components/base/BaseListItemLink.vue2.js +0 -26
- package/dist/bundled/components/base/BaseOverflowMenu.vue.js +0 -5
- package/dist/bundled/components/base/BaseOverflowMenu.vue2.js +0 -100
- package/dist/bundled/components/base/BaseOverflowTab.vue.js +0 -36
- package/dist/bundled/components/base/BaseOverflowTab.vue2.js +0 -18
- package/dist/bundled/components/base/BaseSelect.vue.js +0 -5
- package/dist/bundled/components/base/BaseSelect.vue2.js +0 -77
- package/dist/bundled/components/base/BaseSplitPane.vue.js +0 -8
- package/dist/bundled/components/base/BaseSplitPane.vue2.js +0 -183
- package/dist/bundled/components/base/BaseTab.vue.js +0 -36
- package/dist/bundled/components/base/BaseTab.vue2.js +0 -18
- package/dist/bundled/components/base/BaseTag.vue.js +0 -13
- package/dist/bundled/components/command/CommandPrompts.vue.js +0 -5
- package/dist/bundled/components/command/CommandPrompts.vue2.js +0 -91
- package/dist/bundled/components/command/CommandPromptsModal.vue.js +0 -5
- package/dist/bundled/components/command/CommandPromptsModal.vue2.js +0 -45
- package/dist/bundled/components/command/PromptSelect.vue.js +0 -5
- package/dist/bundled/components/command/PromptSelect.vue2.js +0 -142
- package/dist/bundled/components/command/PromptText.vue.js +0 -5
- package/dist/bundled/components/command/PromptText.vue2.js +0 -67
- package/dist/bundled/components/misc/CheckerboardPattern.vue.js +0 -40
- package/dist/bundled/components/misc/HatchedPattern.vue.js +0 -12
- package/dist/bundled/components/panel/ControlsComponentPropItem.vue.js +0 -5
- package/dist/bundled/components/panel/ControlsComponentPropItem.vue2.js +0 -72
- package/dist/bundled/components/panel/ControlsComponentProps.vue.js +0 -5
- package/dist/bundled/components/panel/ControlsComponentProps.vue2.js +0 -45
- package/dist/bundled/components/panel/ControlsComponentState.vue.js +0 -5
- package/dist/bundled/components/panel/ControlsComponentState.vue2.js +0 -41
- package/dist/bundled/components/panel/ControlsComponentStateItem.vue.js +0 -5
- package/dist/bundled/components/panel/ControlsComponentStateItem.vue2.js +0 -46
- package/dist/bundled/components/panel/PaneTabs.vue.js +0 -5
- package/dist/bundled/components/panel/PaneTabs.vue2.js +0 -114
- package/dist/bundled/components/panel/StatePresets.vue.js +0 -5
- package/dist/bundled/components/panel/StatePresets.vue2.js +0 -193
- package/dist/bundled/components/panel/StoryControls.vue.js +0 -5
- package/dist/bundled/components/panel/StoryControls.vue2.js +0 -87
- package/dist/bundled/components/panel/StoryDocs.vue.js +0 -7
- package/dist/bundled/components/panel/StoryDocs.vue2.js +0 -161
- package/dist/bundled/components/panel/StoryEvent.vue.js +0 -5
- package/dist/bundled/components/panel/StoryEvent.vue2.js +0 -59
- package/dist/bundled/components/panel/StoryEvents.vue.js +0 -5
- package/dist/bundled/components/panel/StoryEvents.vue2.js +0 -53
- package/dist/bundled/components/panel/StorySidePanel.vue.js +0 -5
- package/dist/bundled/components/panel/StorySidePanel.vue2.js +0 -83
- package/dist/bundled/components/panel/StorySourceCode.vue.js +0 -8
- package/dist/bundled/components/panel/StorySourceCode.vue2.js +0 -204
- package/dist/bundled/components/search/SearchItem.vue.js +0 -8
- package/dist/bundled/components/search/SearchItem.vue2.js +0 -93
- package/dist/bundled/components/search/SearchItemContent.vue.js +0 -5
- package/dist/bundled/components/search/SearchItemContent.vue2.js +0 -71
- package/dist/bundled/components/search/SearchLoading.vue.js +0 -5
- package/dist/bundled/components/search/SearchLoading.vue2.js +0 -21
- package/dist/bundled/components/search/SearchModal.vue.js +0 -5
- package/dist/bundled/components/search/SearchModal.vue2.js +0 -51
- package/dist/bundled/components/search/SearchPane.vue.js +0 -5
- package/dist/bundled/components/search/SearchPane.vue2.js +0 -272
- package/dist/bundled/components/search/search-docs-data.js +0 -11
- package/dist/bundled/components/search/search-title-data.js +0 -11
- package/dist/bundled/components/story/GenericMountStory.vue.js +0 -5
- package/dist/bundled/components/story/GenericMountStory.vue2.js +0 -34
- package/dist/bundled/components/story/GenericRenderStory.vue.js +0 -5
- package/dist/bundled/components/story/GenericRenderStory.vue2.js +0 -39
- package/dist/bundled/components/story/StoryResponsivePreview.vue.js +0 -8
- package/dist/bundled/components/story/StoryResponsivePreview.vue2.js +0 -207
- package/dist/bundled/components/story/StoryVariantGrid.vue.js +0 -5
- package/dist/bundled/components/story/StoryVariantGrid.vue2.js +0 -146
- package/dist/bundled/components/story/StoryVariantGridItem.vue.js +0 -8
- package/dist/bundled/components/story/StoryVariantGridItem.vue2.js +0 -153
- package/dist/bundled/components/story/StoryVariantListItem.vue.js +0 -8
- package/dist/bundled/components/story/StoryVariantListItem.vue2.js +0 -55
- package/dist/bundled/components/story/StoryVariantSingle.vue.js +0 -8
- package/dist/bundled/components/story/StoryVariantSingle.vue2.js +0 -107
- package/dist/bundled/components/story/StoryVariantSinglePreviewNative.vue.js +0 -5
- package/dist/bundled/components/story/StoryVariantSinglePreviewNative.vue2.js +0 -70
- package/dist/bundled/components/story/StoryVariantSinglePreviewRemote.vue.js +0 -5
- package/dist/bundled/components/story/StoryVariantSinglePreviewRemote.vue2.js +0 -128
- package/dist/bundled/components/story/StoryVariantSingleView.vue.js +0 -5
- package/dist/bundled/components/story/StoryVariantSingleView.vue2.js +0 -66
- package/dist/bundled/components/story/StoryView.vue.js +0 -5
- package/dist/bundled/components/story/StoryView.vue2.js +0 -104
- package/dist/bundled/components/story/StoryViewer.vue.js +0 -8
- package/dist/bundled/components/story/StoryViewer.vue2.js +0 -55
- package/dist/bundled/components/toolbar/DevOnlyToolbarOpenInEditor.vue.js +0 -5
- package/dist/bundled/components/toolbar/DevOnlyToolbarOpenInEditor.vue2.js +0 -31
- package/dist/bundled/components/toolbar/ToolbarBackground.vue.js +0 -8
- package/dist/bundled/components/toolbar/ToolbarBackground.vue2.js +0 -98
- package/dist/bundled/components/toolbar/ToolbarNewTab.vue.js +0 -5
- package/dist/bundled/components/toolbar/ToolbarNewTab.vue2.js +0 -36
- package/dist/bundled/components/toolbar/ToolbarResponsiveSize.vue.js +0 -5
- package/dist/bundled/components/toolbar/ToolbarResponsiveSize.vue2.js +0 -127
- package/dist/bundled/components/toolbar/ToolbarTextDirection.vue.js +0 -5
- package/dist/bundled/components/toolbar/ToolbarTextDirection.vue2.js +0 -27
- package/dist/bundled/components/toolbar/ToolbarTitle.vue.js +0 -5
- package/dist/bundled/components/toolbar/ToolbarTitle.vue2.js +0 -26
- package/dist/bundled/components/tree/StoryGroup.vue.js +0 -5
- package/dist/bundled/components/tree/StoryGroup.vue2.js +0 -74
- package/dist/bundled/components/tree/StoryList.vue.js +0 -5
- package/dist/bundled/components/tree/StoryList.vue2.js +0 -41
- package/dist/bundled/components/tree/StoryListFolder.vue.js +0 -8
- package/dist/bundled/components/tree/StoryListFolder.vue2.js +0 -86
- package/dist/bundled/components/tree/StoryListItem.vue.js +0 -8
- package/dist/bundled/components/tree/StoryListItem.vue2.js +0 -69
- package/dist/bundled/index.js +0 -35
- package/dist/bundled/plugin.js +0 -49
- package/dist/bundled/router.js +0 -32
- package/dist/bundled/sandbox.js +0 -87
- package/dist/bundled/stores/command.js +0 -25
- package/dist/bundled/stores/events.js +0 -29
- package/dist/bundled/stores/folder.js +0 -54
- package/dist/bundled/stores/preview-settings.js +0 -19
- package/dist/bundled/stores/story.js +0 -43
- package/dist/bundled/util/commands.js +0 -57
- package/dist/bundled/util/config.js +0 -8
- package/dist/bundled/util/const.js +0 -10
- package/dist/bundled/util/dark.js +0 -28
- package/dist/bundled/util/docs.js +0 -26
- package/dist/bundled/util/env.js +0 -4
- package/dist/bundled/util/events.js +0 -33
- package/dist/bundled/util/keyboard.js +0 -90
- package/dist/bundled/util/mapping.js +0 -70
- package/dist/bundled/util/open-in-editor.js +0 -6
- package/dist/bundled/util/preview-settings.js +0 -21
- package/dist/bundled/util/responsive.js +0 -6
- package/dist/bundled/util/sandbox.js +0 -11
- package/dist/bundled/util/scroll.js +0 -31
- package/dist/bundled/util/select.js +0 -28
- package/dist/bundled/util/state.js +0 -41
- package/dist/bundled/util/tooltip.js +0 -15
- package/dist/bundled/util/variant.js +0 -21
- package/dist/style.css +0 -2626
- package/src/app/assets/histoire-text-dark.svg +0 -89
- package/src/app/assets/histoire-text.svg +0 -89
- package/src/app/assets/histoire.svg +0 -51
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poveste/app",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"description": "Pre-bundled UI for Poveste",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Sorin Gitlan"
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"fuse.js": "^7.0.0",
|
|
28
28
|
"shiki": "^3.0.0",
|
|
29
|
-
"@poveste/controls": "^0.1.
|
|
30
|
-
"@poveste/vendors": "^0.1.
|
|
31
|
-
"@poveste/shared": "^0.1.
|
|
29
|
+
"@poveste/controls": "^0.1.1",
|
|
30
|
+
"@poveste/vendors": "^0.1.1",
|
|
31
|
+
"@poveste/shared": "^0.1.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@tailwindcss/typography": "^0.5.15",
|
package/postcss.config.cjs
CHANGED
|
@@ -4,6 +4,6 @@ module.exports = {
|
|
|
4
4
|
require('tailwindcss/nesting'),
|
|
5
5
|
require('tailwindcss')('./tailwind.config.cjs'),
|
|
6
6
|
require('autoprefixer'),
|
|
7
|
-
require('./postcss-scope-wrapper.cjs')({ from: ':root', to: '.
|
|
7
|
+
require('./postcss-scope-wrapper.cjs')({ from: ':root', to: '.__poveste-render-story:not(.__poveste-render-custom-controls)' }),
|
|
8
8
|
],
|
|
9
9
|
}
|
package/src/app/App.vue
CHANGED
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
<script lang="ts" setup>
|
|
8
8
|
import type { StoryFile, Tree } from './types'
|
|
9
9
|
import { useTitle } from '@vueuse/core'
|
|
10
|
-
import { onUpdate, files as rawFiles, tree as rawTree } from 'virtual:$
|
|
10
|
+
import { onUpdate, files as rawFiles, tree as rawTree } from 'virtual:$poveste-stories'
|
|
11
11
|
import { computed, onMounted, ref, watch } from 'vue'
|
|
12
12
|
import AppHeader from './components/app/AppHeader.vue'
|
|
13
13
|
import Breadcrumb from './components/app/Breadcrumb.vue'
|
|
@@ -19,7 +19,7 @@ import GenericMountStory from './components/story/GenericMountStory.vue'
|
|
|
19
19
|
import StoryList from './components/tree/StoryList.vue'
|
|
20
20
|
import { useCommandStore } from './stores/command'
|
|
21
21
|
import { useStoryStore } from './stores/story'
|
|
22
|
-
import {
|
|
22
|
+
import { povesteConfig } from './util/config'
|
|
23
23
|
import { onKeyboardShortcut } from './util/keyboard'
|
|
24
24
|
import { mapFile } from './util/mapping'
|
|
25
25
|
import { isMobile } from './util/responsive'
|
|
@@ -56,9 +56,9 @@ useTitle(computed(() => {
|
|
|
56
56
|
if (storyStore.currentVariant) {
|
|
57
57
|
title += ` › ${storyStore.currentVariant.title}`
|
|
58
58
|
}
|
|
59
|
-
return `${title} | ${
|
|
59
|
+
return `${title} | ${povesteConfig.theme.title}`
|
|
60
60
|
}
|
|
61
|
-
return
|
|
61
|
+
return povesteConfig.theme.title
|
|
62
62
|
}))
|
|
63
63
|
|
|
64
64
|
// Search
|
|
@@ -81,7 +81,7 @@ const loading = ref(false)
|
|
|
81
81
|
|
|
82
82
|
if (import.meta.hot && !rawFiles.length) {
|
|
83
83
|
loading.value = true
|
|
84
|
-
import.meta.hot.on('
|
|
84
|
+
import.meta.hot.on('poveste:all-stories-loaded', () => {
|
|
85
85
|
loading.value = false
|
|
86
86
|
})
|
|
87
87
|
}
|
|
@@ -97,7 +97,7 @@ const commandStore = useCommandStore()
|
|
|
97
97
|
<template>
|
|
98
98
|
<div
|
|
99
99
|
v-if="storyStore.currentStory"
|
|
100
|
-
class="
|
|
100
|
+
class="poveste-app htw-hidden"
|
|
101
101
|
>
|
|
102
102
|
<GenericMountStory
|
|
103
103
|
:key="storyStore.currentStory.id"
|
|
@@ -133,7 +133,7 @@ const commandStore = useCommandStore()
|
|
|
133
133
|
class="htw-h-full"
|
|
134
134
|
>
|
|
135
135
|
<template #first>
|
|
136
|
-
<div class="htw-flex htw-flex-col htw-h-full htw-bg-gray-100 dark:htw-bg-gray-750
|
|
136
|
+
<div class="htw-flex htw-flex-col htw-h-full htw-bg-gray-100 dark:htw-bg-gray-750 __poveste-pane-shadow-from-right">
|
|
137
137
|
<AppHeader
|
|
138
138
|
class="htw-flex-none"
|
|
139
139
|
@search="isSearchOpen = true"
|
|
@@ -158,13 +158,13 @@ const commandStore = useCommandStore()
|
|
|
158
158
|
/>
|
|
159
159
|
|
|
160
160
|
<CommandPromptsModal
|
|
161
|
-
v-if="
|
|
161
|
+
v-if="__POVESTE_DEV__"
|
|
162
162
|
:shown="commandStore.showPromptsModal"
|
|
163
163
|
@close="commandStore.showPromptsModal = false"
|
|
164
164
|
/>
|
|
165
165
|
</div>
|
|
166
166
|
|
|
167
|
-
<transition name="
|
|
167
|
+
<transition name="__poveste-fade">
|
|
168
168
|
<InitialLoading
|
|
169
169
|
v-if="loading"
|
|
170
170
|
/>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1870 512" fill="none">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="pvw" x1="96" y1="416" x2="416" y2="96" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop offset="0" stop-color="#24C56A"/>
|
|
5
|
+
<stop offset="1" stop-color="#17A6C6"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect x="16" y="16" width="480" height="480" rx="112" fill="url(#pvw)"/>
|
|
9
|
+
<rect x="140" y="142" width="232" height="44" rx="16" fill="#fff"/>
|
|
10
|
+
<rect x="151" y="217" width="88" height="146" rx="9" stroke="#fff" stroke-width="22"/>
|
|
11
|
+
<rect x="172" y="244" width="30" height="92" rx="13" fill="#fff"/>
|
|
12
|
+
<rect x="262" y="206" width="110" height="168" rx="20" fill="#fff"/>
|
|
13
|
+
<rect x="284" y="226" width="66" height="58" rx="13" fill="url(#pvw)"/>
|
|
14
|
+
<text x="676" y="256" dominant-baseline="central" font-family="ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="320" font-weight="400" letter-spacing="-4" fill="#f8fafc">Poveste</text>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1870 512" fill="none">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="pvw" x1="96" y1="416" x2="416" y2="96" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop offset="0" stop-color="#24C56A"/>
|
|
5
|
+
<stop offset="1" stop-color="#17A6C6"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect x="16" y="16" width="480" height="480" rx="112" fill="url(#pvw)"/>
|
|
9
|
+
<rect x="140" y="142" width="232" height="44" rx="16" fill="#fff"/>
|
|
10
|
+
<rect x="151" y="217" width="88" height="146" rx="9" stroke="#fff" stroke-width="22"/>
|
|
11
|
+
<rect x="172" y="244" width="30" height="92" rx="13" fill="#fff"/>
|
|
12
|
+
<rect x="262" y="206" width="110" height="168" rx="20" fill="#fff"/>
|
|
13
|
+
<rect x="284" y="226" width="66" height="58" rx="13" fill="url(#pvw)"/>
|
|
14
|
+
<text x="676" y="256" dominant-baseline="central" font-family="ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="320" font-weight="400" letter-spacing="-4" fill="#1e293b">Poveste</text>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512" fill="none">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="pv" x1="96" y1="416" x2="416" y2="96" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop offset="0" stop-color="#24C56A"/>
|
|
5
|
+
<stop offset="1" stop-color="#17A6C6"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect x="16" y="16" width="480" height="480" rx="112" fill="url(#pv)"/>
|
|
9
|
+
<rect x="140" y="142" width="232" height="44" rx="16" fill="#fff"/>
|
|
10
|
+
<rect x="151" y="217" width="88" height="146" rx="9" stroke="#fff" stroke-width="22"/>
|
|
11
|
+
<rect x="172" y="244" width="30" height="92" rx="13" fill="#fff"/>
|
|
12
|
+
<rect x="262" y="206" width="110" height="168" rx="20" fill="#fff"/>
|
|
13
|
+
<rect x="284" y="226" width="66" height="58" rx="13" fill="url(#pv)"/>
|
|
14
|
+
</svg>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { computed } from 'vue'
|
|
3
|
-
import PovesteLogo from '../assets/
|
|
3
|
+
import PovesteLogo from '../assets/poveste.svg'
|
|
4
4
|
import { useStoryStore } from '../stores/story'
|
|
5
|
-
import { customLogos,
|
|
5
|
+
import { customLogos, povesteConfig } from '../util/config'
|
|
6
6
|
import HomeCounter from './app/HomeCounter.vue'
|
|
7
7
|
|
|
8
|
-
const logoUrl = computed(() =>
|
|
8
|
+
const logoUrl = computed(() => povesteConfig.theme?.logo?.square ? customLogos.square : PovesteLogo)
|
|
9
9
|
const storyStore = useStoryStore()
|
|
10
10
|
|
|
11
11
|
const stats = computed(() => {
|
|
@@ -34,7 +34,7 @@ const stats = computed(() => {
|
|
|
34
34
|
</script>
|
|
35
35
|
|
|
36
36
|
<template>
|
|
37
|
-
<div class="
|
|
37
|
+
<div class="poveste-home-view htw-flex md:htw-flex-col htw-gap-12 htw-items-center htw-justify-center htw-h-full">
|
|
38
38
|
<img
|
|
39
39
|
:src="logoUrl"
|
|
40
40
|
alt="Logo"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { Icon } from '@iconify/vue'
|
|
3
3
|
import { computed } from 'vue'
|
|
4
|
-
import {
|
|
4
|
+
import { povesteConfig } from '../../util/config'
|
|
5
5
|
import { isDark, toggleDark } from '../../util/dark'
|
|
6
6
|
import { onKeyboardShortcut } from '../../util/keyboard'
|
|
7
7
|
import { makeTooltip } from '../../util/tooltip'
|
|
@@ -23,11 +23,11 @@ onKeyboardShortcut(['ctrl+shift+d', 'meta+shift+d'], (event) => {
|
|
|
23
23
|
|
|
24
24
|
<template>
|
|
25
25
|
<div
|
|
26
|
-
class="
|
|
26
|
+
class="poveste-app-header htw-px-4 htw-h-16 htw-flex htw-items-center htw-gap-2"
|
|
27
27
|
>
|
|
28
28
|
<div class="htw-py-3 sm:htw-py-4 htw-flex-1 htw-h-full htw-flex htw-items-center htw-pr-2">
|
|
29
29
|
<a
|
|
30
|
-
:href="
|
|
30
|
+
:href="povesteConfig.theme?.logoHref"
|
|
31
31
|
target="_blank"
|
|
32
32
|
class="htw-w-full htw-h-full htw-flex htw-items-center"
|
|
33
33
|
>
|
|
@@ -50,7 +50,7 @@ onKeyboardShortcut(['ctrl+shift+d', 'meta+shift+d'], (event) => {
|
|
|
50
50
|
</a>
|
|
51
51
|
|
|
52
52
|
<a
|
|
53
|
-
v-if="!
|
|
53
|
+
v-if="!povesteConfig.theme.hideColorSchemeSwitch"
|
|
54
54
|
v-tooltip="makeTooltip('Toggle dark mode', ({ isMac }) => isMac ? 'meta+shift+d' : 'ctrl+shift+d')"
|
|
55
55
|
class="htw-p-2 sm:htw-p-1 hover:htw-text-primary-500 dark:hover:htw-text-primary-400 htw-cursor-pointer htw-text-gray-900 dark:htw-text-gray-100"
|
|
56
56
|
@click="toggleDark()"
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { computed } from 'vue'
|
|
3
|
-
import PovesteLogoDark from '../../assets/
|
|
4
|
-
import PovesteLogoLight from '../../assets/
|
|
3
|
+
import PovesteLogoDark from '../../assets/poveste-text-dark.svg'
|
|
4
|
+
import PovesteLogoLight from '../../assets/poveste-text.svg'
|
|
5
5
|
|
|
6
|
-
import { customLogos,
|
|
6
|
+
import { customLogos, povesteConfig } from '../../util/config'
|
|
7
7
|
import { isDark } from '../../util/dark'
|
|
8
8
|
|
|
9
9
|
const logoUrl = computed(() => {
|
|
10
10
|
if (isDark.value) {
|
|
11
|
-
return
|
|
11
|
+
return povesteConfig.theme.logo?.dark ? customLogos.dark : PovesteLogoDark
|
|
12
12
|
}
|
|
13
|
-
return
|
|
13
|
+
return povesteConfig.theme.logo?.light ? customLogos.light : PovesteLogoLight
|
|
14
14
|
})
|
|
15
15
|
|
|
16
|
-
const altText = computed(() => `${
|
|
16
|
+
const altText = computed(() => `${povesteConfig.theme.title} logo`)
|
|
17
17
|
</script>
|
|
18
18
|
|
|
19
19
|
<template>
|
|
20
20
|
<img
|
|
21
|
-
class="
|
|
21
|
+
class="poveste-app-logo"
|
|
22
22
|
:src="logoUrl"
|
|
23
23
|
:alt="altText"
|
|
24
24
|
>
|
|
@@ -35,7 +35,7 @@ watch(story, () => {
|
|
|
35
35
|
</script>
|
|
36
36
|
|
|
37
37
|
<template>
|
|
38
|
-
<div class="
|
|
38
|
+
<div class="poveste-breadcrumb">
|
|
39
39
|
<a
|
|
40
40
|
class="htw-px-6 htw-h-12 hover:htw-text-primary-500 dark:hover:htw-text-primary-400 htw-cursor-pointer htw-flex htw-gap-2 htw-flex-wrap htw-w-full htw-items-center"
|
|
41
41
|
@click="openMenu"
|
|
@@ -9,7 +9,7 @@ const progress = reactive({
|
|
|
9
9
|
const maxCols = window.innerWidth / 20
|
|
10
10
|
|
|
11
11
|
if (import.meta.hot) {
|
|
12
|
-
import.meta.hot.on('
|
|
12
|
+
import.meta.hot.on('poveste:stories-loading-progress', (data) => {
|
|
13
13
|
progress.loaded = data.loadedFileCount
|
|
14
14
|
progress.total = data.totalFileCount
|
|
15
15
|
})
|
|
@@ -17,8 +17,8 @@ if (import.meta.hot) {
|
|
|
17
17
|
</script>
|
|
18
18
|
|
|
19
19
|
<template>
|
|
20
|
-
<div class="
|
|
21
|
-
<transition name="
|
|
20
|
+
<div class="poveste-initial-loading htw-fixed htw-inset-0 htw-bg-white dark:htw-bg-gray-700 htw-flex htw-flex-col htw-gap-6 htw-items-center htw-justify-center">
|
|
21
|
+
<transition name="__poveste-fade">
|
|
22
22
|
<div
|
|
23
23
|
v-if="progress.total > 0"
|
|
24
24
|
class="htw-grid htw-gap-2"
|
|
@@ -10,10 +10,10 @@ const emit = defineEmits<{ (e: 'close'): void }>()
|
|
|
10
10
|
</script>
|
|
11
11
|
|
|
12
12
|
<template>
|
|
13
|
-
<transition name="
|
|
13
|
+
<transition name="__poveste-fade-bottom">
|
|
14
14
|
<div
|
|
15
15
|
v-if="opened"
|
|
16
|
-
class="
|
|
16
|
+
class="poveste-mobile-overlay htw-absolute htw-z-10 htw-bg-white dark:htw-bg-gray-700 htw-w-screen htw-h-screen htw-inset-0 htw-overflow-hidden htw-flex htw-flex-col"
|
|
17
17
|
>
|
|
18
18
|
<div class="htw-p-4 htw-h-16 htw-flex htw-border-b htw-border-gray-100 dark:htw-border-gray-800 htw-items-center htw-place-content-between">
|
|
19
19
|
<span class="htw-text-gray-500">{{ title }}</span>
|
|
@@ -22,7 +22,7 @@ const comp = computed(() => {
|
|
|
22
22
|
<template>
|
|
23
23
|
<component
|
|
24
24
|
:is="comp"
|
|
25
|
-
class="
|
|
25
|
+
class="poveste-base-button htw-rounded htw-cursor-pointer"
|
|
26
26
|
:class="{
|
|
27
27
|
'htw-bg-primary-200 dark:htw-bg-primary-800 hover:htw-bg-primary-300 dark:hover:htw-bg-primary-700': color === 'primary' || !color,
|
|
28
28
|
'htw-bg-grey-100 dark:htw-bg-grey-900 hover:htw-bg-grey-200 dark:hover:htw-bg-grey-800': color === 'grey',
|
|
@@ -34,7 +34,7 @@ watch(path, () => {
|
|
|
34
34
|
<div
|
|
35
35
|
role="checkbox"
|
|
36
36
|
tabindex="0"
|
|
37
|
-
class="
|
|
37
|
+
class="poveste-base-checkbox htw-flex htw-items-center htw-gap-2 htw-select-none htw-px-4 htw-py-3 htw-cursor-pointer hover:htw-bg-primary-100 dark:hover:htw-bg-primary-700"
|
|
38
38
|
@click="toggle()"
|
|
39
39
|
@keydown.enter.prevent="toggle()"
|
|
40
40
|
@keydown.space.prevent="toggle()"
|
|
@@ -28,7 +28,7 @@ const action = () => copy(props.content)
|
|
|
28
28
|
delay: 0,
|
|
29
29
|
}"
|
|
30
30
|
icon="carbon:copy-file"
|
|
31
|
-
class="
|
|
31
|
+
class="poveste-base-copy-icon htw-w-4 htw-h-4 htw-opacity-50 hover:htw-opacity-100 hover:htw-text-primary-500 htw-cursor-pointer"
|
|
32
32
|
@click="action()"
|
|
33
33
|
/>
|
|
34
34
|
</template>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="
|
|
2
|
+
<div class="poveste-base-empty htw-base-empty htw-flex htw-flex-col htw-items-center htw-justify-center htw-space-y-4 htw-py-12 htw-h-full htw-text-center htw-text-gray-400 htw-text-lg">
|
|
3
3
|
<slot />
|
|
4
4
|
</div>
|
|
5
5
|
</template>
|
|
@@ -15,12 +15,12 @@ const isUrl = computed(() => props.icon.startsWith('http') || props.icon.startsW
|
|
|
15
15
|
v-if="isUrl"
|
|
16
16
|
:src="icon"
|
|
17
17
|
:alt="icon"
|
|
18
|
-
class="
|
|
18
|
+
class="poveste-base-icon"
|
|
19
19
|
>
|
|
20
20
|
<Icon
|
|
21
21
|
v-else
|
|
22
22
|
:icon="icon"
|
|
23
|
-
class="
|
|
23
|
+
class="poveste-base-icon"
|
|
24
24
|
/>
|
|
25
25
|
</template>
|
|
26
26
|
|
|
@@ -10,7 +10,7 @@ const formatted = computed(() => props.shortcut.split('+').map(k => formatKey(k.
|
|
|
10
10
|
</script>
|
|
11
11
|
|
|
12
12
|
<template>
|
|
13
|
-
<span class="
|
|
13
|
+
<span class="poveste-base-keyboard-shortcut htw-border htw-border-current htw-opacity-50 htw-px-1 htw-rounded-sm">
|
|
14
14
|
{{ formatted }}
|
|
15
15
|
</span>
|
|
16
16
|
</template>
|
|
@@ -86,7 +86,7 @@ function ChildrenSlice(props, { slots }) {
|
|
|
86
86
|
<template>
|
|
87
87
|
<div
|
|
88
88
|
ref="el"
|
|
89
|
-
class="
|
|
89
|
+
class="poveste-base-overflow-menu htw-flex htw-overflow-hidden htw-relative"
|
|
90
90
|
>
|
|
91
91
|
<ChildrenRender>
|
|
92
92
|
<slot />
|
|
@@ -21,7 +21,7 @@ export default defineComponent({
|
|
|
21
21
|
<template>
|
|
22
22
|
<router-link
|
|
23
23
|
v-slot="{ isActive, isExactActive, href, navigate }"
|
|
24
|
-
class="
|
|
24
|
+
class="poveste-base-overflow-tab"
|
|
25
25
|
v-bind="$attrs"
|
|
26
26
|
custom
|
|
27
27
|
>
|
|
@@ -36,7 +36,7 @@ export default defineComponent({
|
|
|
36
36
|
>
|
|
37
37
|
<slot />
|
|
38
38
|
|
|
39
|
-
<transition name="
|
|
39
|
+
<transition name="__poveste-scale-y">
|
|
40
40
|
<div
|
|
41
41
|
v-if="matched != null ? matched : (exact && isExactActive) || (!exact && isActive)"
|
|
42
42
|
class="htw-absolute htw-top-0 htw-left-0 htw-h-full htw-w-[2px] htw-bg-primary-500 dark:htw-bg-primary-400"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { computed, onUnmounted, ref, watch } from 'vue'
|
|
3
3
|
|
|
4
|
-
const SAVE_PREFIX = '
|
|
4
|
+
const SAVE_PREFIX = '__poveste'
|
|
5
5
|
|
|
6
6
|
const props = defineProps({
|
|
7
7
|
orientation: {
|
|
@@ -165,7 +165,7 @@ onUnmounted(() => {
|
|
|
165
165
|
<template>
|
|
166
166
|
<div
|
|
167
167
|
ref="el"
|
|
168
|
-
class="
|
|
168
|
+
class="poveste-base-split-pane htw-flex htw-h-full htw-isolate htw-overflow-auto"
|
|
169
169
|
:class="{
|
|
170
170
|
'htw-flex-col': orientation === 'portrait',
|
|
171
171
|
'htw-cursor-ew-resize': dragging && orientation === 'landscape',
|
|
@@ -21,7 +21,7 @@ export default defineComponent({
|
|
|
21
21
|
<template>
|
|
22
22
|
<router-link
|
|
23
23
|
v-slot="{ isActive, isExactActive, href, navigate }"
|
|
24
|
-
class="
|
|
24
|
+
class="poveste-base-tab"
|
|
25
25
|
v-bind="$attrs"
|
|
26
26
|
custom
|
|
27
27
|
>
|
|
@@ -36,7 +36,7 @@ export default defineComponent({
|
|
|
36
36
|
>
|
|
37
37
|
<slot />
|
|
38
38
|
|
|
39
|
-
<transition name="
|
|
39
|
+
<transition name="__poveste-scale-x">
|
|
40
40
|
<div
|
|
41
41
|
v-if="matched != null ? matched : (exact && isExactActive) || (!exact && isActive)"
|
|
42
42
|
class="htw-absolute htw-bottom-0 htw-left-0 htw-w-full htw-h-[2px] htw-bg-primary-500 dark:htw-bg-primary-400"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<span class="
|
|
2
|
+
<span class="poveste-base-tag htw-text-center htw-text-xs htw-mx-1 htw-px-0.5 htw-h-4 htw-uppercase htw-min-w-4 htw-rounded-full htw-bg-primary-500 htw-text-white dark:htw-text-black">
|
|
3
3
|
<slot />
|
|
4
4
|
</span>
|
|
5
5
|
</template>
|
|
@@ -25,7 +25,7 @@ const commandStore = useCommandStore()
|
|
|
25
25
|
<template>
|
|
26
26
|
<div
|
|
27
27
|
v-if="shown"
|
|
28
|
-
class="
|
|
28
|
+
class="poveste-command-prompts-modal htw-fixed htw-inset-0 htw-bg-white/80 dark:htw-bg-gray-900/80 htw-z-20"
|
|
29
29
|
>
|
|
30
30
|
<div
|
|
31
31
|
class="htw-absolute htw-inset-0"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="
|
|
2
|
+
<div class="__poveste-hatched-pattern" />
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<style scoped>
|
|
6
|
-
.
|
|
6
|
+
.__poveste-hatched-pattern {
|
|
7
7
|
background: repeating-linear-gradient(135deg,
|
|
8
8
|
transparent 0px,
|
|
9
9
|
transparent 32px,
|
|
@@ -55,7 +55,7 @@ const canReset = computed(() => props.variant.state?._hPropState?.[props.compone
|
|
|
55
55
|
v-if="comp"
|
|
56
56
|
v-model="model"
|
|
57
57
|
:placeholder="model === undefined ? definition?.default : null"
|
|
58
|
-
class="
|
|
58
|
+
class="poveste-controls-component-prop-item"
|
|
59
59
|
:title="`${definition.name}${canReset ? ' *' : ''}`"
|
|
60
60
|
>
|
|
61
61
|
<template #actions>
|
|
@@ -11,7 +11,7 @@ defineProps<{
|
|
|
11
11
|
</script>
|
|
12
12
|
|
|
13
13
|
<template>
|
|
14
|
-
<div class="
|
|
14
|
+
<div class="poveste-controls-component-props">
|
|
15
15
|
<div class="htw-font-mono htw-p-2 htw-flex htw-items-center htw-gap-1">
|
|
16
16
|
<Icon
|
|
17
17
|
v-tooltip="'Auto-detected props'"
|
|
@@ -13,7 +13,7 @@ const stateKeys = computed(() => Object.keys(props.variant.state || {})
|
|
|
13
13
|
</script>
|
|
14
14
|
|
|
15
15
|
<template>
|
|
16
|
-
<div class="
|
|
16
|
+
<div class="poveste-controls-component-init-state">
|
|
17
17
|
<div class="htw-p-2 htw-flex htw-items-center htw-gap-1">
|
|
18
18
|
<Icon
|
|
19
19
|
v-tooltip="'Auto-detected state'"
|
|
@@ -22,7 +22,7 @@ const hasEvents = computed(() => eventsStore.events.length)
|
|
|
22
22
|
</script>
|
|
23
23
|
|
|
24
24
|
<template>
|
|
25
|
-
<BaseOverflowMenu class="
|
|
25
|
+
<BaseOverflowMenu class="poveste-pane-tabs htw-h-10 htw-flex-none htw-border-b htw-border-gray-100 dark:htw-border-gray-750">
|
|
26
26
|
<BaseTab
|
|
27
27
|
:to="{ ...$route, query: { ...$route.query, tab: '' } }"
|
|
28
28
|
:matched="!$route.query.tab"
|
|
@@ -21,12 +21,12 @@ const omitKeys = ['_hPropDefs']
|
|
|
21
21
|
const defaultState = clone(omit(toRawDeep(props.variant.state), omitKeys))
|
|
22
22
|
|
|
23
23
|
const selectedOption = useStorage<string>(
|
|
24
|
-
`
|
|
24
|
+
`_poveste-presets/${saveId.value}/selected`,
|
|
25
25
|
DEFAULT_ID,
|
|
26
26
|
)
|
|
27
27
|
|
|
28
28
|
const presetStates = useStorage<Map<string, { state: Record<string, unknown>, label: string }>>(
|
|
29
|
-
`
|
|
29
|
+
`_poveste-presets/${saveId.value}/states`,
|
|
30
30
|
new Map(),
|
|
31
31
|
)
|
|
32
32
|
|
|
@@ -118,7 +118,7 @@ onClickOutside(select, stopEditing)
|
|
|
118
118
|
</script>
|
|
119
119
|
|
|
120
120
|
<template>
|
|
121
|
-
<div class="
|
|
121
|
+
<div class="poveste-state-presets htw-flex htw-gap-2 htw-w-full htw-items-center">
|
|
122
122
|
<div
|
|
123
123
|
ref="select"
|
|
124
124
|
class="htw-flex-1 htw-min-w-0"
|
|
@@ -39,7 +39,7 @@ const hasInitState = computed(() => Object
|
|
|
39
39
|
<template>
|
|
40
40
|
<div
|
|
41
41
|
data-test-id="story-controls"
|
|
42
|
-
class="
|
|
42
|
+
class="poveste-story-controls htw-flex htw-flex-col htw-divide-y htw-divide-gray-100 dark:htw-divide-gray-750"
|
|
43
43
|
>
|
|
44
44
|
<!-- Toolbar -->
|
|
45
45
|
<div
|
|
@@ -59,7 +59,7 @@ const hasInitState = computed(() => Object
|
|
|
59
59
|
slot-name="controls"
|
|
60
60
|
:variant="variant"
|
|
61
61
|
:story="story"
|
|
62
|
-
class="__histoire-render-custom-controls htw-flex-none"
|
|
62
|
+
class="__poveste-render-custom-controls __histoire-render-custom-controls htw-flex-none"
|
|
63
63
|
@ready="ready = true"
|
|
64
64
|
/>
|
|
65
65
|
|