@poveste/app 0.1.0 → 0.1.2
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/app/assets/poveste-text-dark.svg +15 -0
- package/dist/app/assets/poveste-text.svg +15 -0
- package/dist/app/assets/poveste.svg +14 -0
- package/dist/app/style/main.pcss +3 -3
- package/dist/app/style/sandbox.css +1 -1
- package/dist/app/style/transitions.pcss +4 -4
- package/dist/bundled/App.vue2.js +9 -9
- package/dist/bundled/app.css +54 -54
- package/dist/bundled/assets/poveste-text-dark.svg.js +4 -0
- package/dist/bundled/assets/poveste-text.svg.js +4 -0
- package/dist/bundled/assets/poveste.svg.js +4 -0
- package/dist/bundled/components/HomeView.vue2.js +4 -4
- package/dist/bundled/components/app/AppHeader.vue2.js +4 -4
- package/dist/bundled/components/app/AppLogo.vue2.js +7 -7
- package/dist/bundled/components/app/Breadcrumb.vue.js +1 -1
- package/dist/bundled/components/app/Breadcrumb.vue2.js +2 -2
- package/dist/bundled/components/app/InitialLoading.vue2.js +3 -3
- package/dist/bundled/components/app/MobileOverlay.vue2.js +2 -2
- package/dist/bundled/components/base/BaseButton.vue2.js +1 -1
- package/dist/bundled/components/base/BaseCheckbox.vue2.js +1 -1
- package/dist/bundled/components/base/BaseEmpty.vue.js +2 -2
- package/dist/bundled/components/base/BaseIcon.vue.js +1 -1
- package/dist/bundled/components/base/BaseIcon.vue2.js +2 -2
- package/dist/bundled/components/base/BaseKeyboardShortcut.vue2.js +1 -1
- package/dist/bundled/components/base/BaseListItemLink.vue.js +1 -1
- package/dist/bundled/components/base/BaseOverflowMenu.vue2.js +1 -1
- package/dist/bundled/components/base/BaseOverflowTab.vue.js +2 -2
- package/dist/bundled/components/base/BaseSelect.vue2.js +1 -1
- package/dist/bundled/components/base/BaseSplitPane.vue.js +1 -1
- package/dist/bundled/components/base/BaseSplitPane.vue2.js +2 -2
- package/dist/bundled/components/base/BaseTab.vue.js +2 -2
- package/dist/bundled/components/base/BaseTag.vue.js +1 -1
- package/dist/bundled/components/command/CommandPrompts.vue2.js +1 -1
- package/dist/bundled/components/command/CommandPromptsModal.vue2.js +1 -1
- package/dist/bundled/components/command/PromptSelect.vue2.js +1 -1
- package/dist/bundled/components/command/PromptText.vue2.js +1 -1
- package/dist/bundled/components/misc/HatchedPattern.vue.js +2 -2
- package/dist/bundled/components/panel/ControlsComponentPropItem.vue2.js +1 -1
- package/dist/bundled/components/panel/ControlsComponentProps.vue2.js +1 -1
- package/dist/bundled/components/panel/ControlsComponentState.vue2.js +1 -1
- package/dist/bundled/components/panel/ControlsComponentStateItem.vue2.js +1 -1
- package/dist/bundled/components/panel/PaneTabs.vue2.js +1 -1
- package/dist/bundled/components/panel/StatePresets.vue2.js +3 -3
- package/dist/bundled/components/panel/StoryControls.vue2.js +2 -2
- package/dist/bundled/components/panel/StoryDocs.vue2.js +6 -6
- package/dist/bundled/components/panel/StoryEvent.vue2.js +1 -1
- package/dist/bundled/components/panel/StoryEvents.vue2.js +1 -1
- package/dist/bundled/components/panel/StorySidePanel.vue2.js +3 -3
- package/dist/bundled/components/panel/StorySourceCode.vue.js +1 -1
- package/dist/bundled/components/panel/StorySourceCode.vue2.js +4 -4
- package/dist/bundled/components/search/SearchItem.vue.js +1 -1
- package/dist/bundled/components/search/SearchItem.vue2.js +2 -2
- package/dist/bundled/components/search/SearchLoading.vue2.js +1 -1
- package/dist/bundled/components/search/SearchModal.vue2.js +1 -1
- package/dist/bundled/components/search/SearchPane.vue2.js +3 -3
- package/dist/bundled/components/search/search-docs-data.js +1 -1
- package/dist/bundled/components/search/search-title-data.js +1 -1
- package/dist/bundled/components/story/GenericMountStory.vue2.js +2 -2
- package/dist/bundled/components/story/GenericRenderStory.vue2.js +2 -2
- package/dist/bundled/components/story/StoryResponsivePreview.vue.js +1 -1
- package/dist/bundled/components/story/StoryResponsivePreview.vue2.js +3 -3
- package/dist/bundled/components/story/StoryVariantGrid.vue2.js +2 -2
- package/dist/bundled/components/story/StoryVariantGridItem.vue.js +1 -1
- package/dist/bundled/components/story/StoryVariantGridItem.vue2.js +8 -6
- package/dist/bundled/components/story/StoryVariantListItem.vue.js +1 -1
- package/dist/bundled/components/story/StoryVariantListItem.vue2.js +2 -2
- package/dist/bundled/components/story/StoryVariantSingle.vue.js +1 -1
- package/dist/bundled/components/story/StoryVariantSingle.vue2.js +3 -3
- package/dist/bundled/components/story/StoryVariantSinglePreviewNative.vue2.js +7 -5
- package/dist/bundled/components/story/StoryVariantSinglePreviewRemote.vue2.js +1 -1
- package/dist/bundled/components/story/StoryVariantSingleView.vue2.js +2 -2
- package/dist/bundled/components/story/StoryView.vue2.js +2 -2
- package/dist/bundled/components/story/StoryViewer.vue.js +1 -1
- package/dist/bundled/components/story/StoryViewer.vue2.js +2 -2
- package/dist/bundled/components/toolbar/DevOnlyToolbarOpenInEditor.vue2.js +1 -1
- package/dist/bundled/components/toolbar/ToolbarBackground.vue.js +1 -1
- package/dist/bundled/components/toolbar/ToolbarBackground.vue2.js +6 -6
- package/dist/bundled/components/toolbar/ToolbarNewTab.vue2.js +1 -1
- package/dist/bundled/components/toolbar/ToolbarResponsiveSize.vue2.js +5 -5
- package/dist/bundled/components/toolbar/ToolbarTextDirection.vue2.js +1 -1
- package/dist/bundled/components/toolbar/ToolbarTitle.vue2.js +1 -1
- package/dist/bundled/components/tree/StoryGroup.vue2.js +1 -1
- package/dist/bundled/components/tree/StoryList.vue2.js +1 -1
- package/dist/bundled/components/tree/StoryListFolder.vue.js +1 -1
- package/dist/bundled/components/tree/StoryListFolder.vue2.js +4 -4
- package/dist/bundled/components/tree/StoryListItem.vue.js +1 -1
- package/dist/bundled/components/tree/StoryListItem.vue2.js +3 -3
- package/dist/bundled/index.js +2 -2
- package/dist/bundled/plugin.js +2 -2
- package/dist/bundled/router.js +2 -2
- package/dist/bundled/sandbox.js +6 -6
- package/dist/bundled/stores/folder.js +1 -1
- package/dist/bundled/stores/preview-settings.js +1 -1
- package/dist/bundled/util/commands.js +2 -2
- package/dist/bundled/util/config.js +3 -3
- package/dist/bundled/util/const.js +4 -4
- package/dist/bundled/util/dark.js +4 -4
- package/dist/bundled/util/docs.js +1 -1
- package/dist/bundled/util/events.js +1 -1
- package/dist/bundled/util/preview-settings.js +4 -3
- package/dist/style.css +348 -121
- package/package.json +8 -4
- 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/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/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/postcss-scope-wrapper.cjs +0 -35
- package/postcss.config.cjs +0 -9
- package/scripts/copy.mjs +0 -12
- package/scripts/watchAndCopy.mjs +0 -15
- 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/tailwind.config.cjs +0 -137
- package/tsconfig.json +0 -53
- package/vite.config.ts +0 -88
package/scripts/copy.mjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import fs from 'fs-extra'
|
|
2
|
-
import { globbySync } from 'globby'
|
|
3
|
-
import { normalizePath } from 'vite'
|
|
4
|
-
|
|
5
|
-
function toDist(file) {
|
|
6
|
-
return normalizePath(file).replace(/^src\//, 'dist/')
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
globbySync('src/**/*').forEach((file) => {
|
|
10
|
-
if (file.endsWith('.vue') || file.endsWith('.ts') || file.endsWith('tsconfig.json')) return
|
|
11
|
-
fs.copy(file, toDist(file))
|
|
12
|
-
})
|
package/scripts/watchAndCopy.mjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import chokidar from 'chokidar'
|
|
2
|
-
import fs from 'fs-extra'
|
|
3
|
-
import { normalizePath } from 'vite'
|
|
4
|
-
|
|
5
|
-
function toDist(file) {
|
|
6
|
-
return normalizePath(file).replace(/^src\//, 'dist/')
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
// copy non ts files, such as an html or css, to the dist directory whenever
|
|
10
|
-
// they change.
|
|
11
|
-
chokidar
|
|
12
|
-
.watch('src/**/!(*.ts|*.vue|tsconfig.json)')
|
|
13
|
-
.on('change', file => fs.copy(file, toDist(file)))
|
|
14
|
-
.on('add', file => fs.copy(file, toDist(file)))
|
|
15
|
-
.on('unlink', file => fs.remove(toDist(file)))
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
|
-
|
|
4
|
-
<svg
|
|
5
|
-
width="1536"
|
|
6
|
-
height="512"
|
|
7
|
-
viewBox="0 0 1536 512"
|
|
8
|
-
version="1.1"
|
|
9
|
-
id="svg5"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
xmlns:svg="http://www.w3.org/2000/svg">
|
|
12
|
-
<defs
|
|
13
|
-
id="defs2" />
|
|
14
|
-
<g
|
|
15
|
-
id="layer1">
|
|
16
|
-
<rect
|
|
17
|
-
style="opacity:0.5;fill:#34d399;fill-opacity:1;stroke-width:1.00375"
|
|
18
|
-
id="rect1372"
|
|
19
|
-
width="314.30923"
|
|
20
|
-
height="406.60901"
|
|
21
|
-
x="-26.565063"
|
|
22
|
-
y="134.75079"
|
|
23
|
-
transform="rotate(-23.821262)"
|
|
24
|
-
ry="8" />
|
|
25
|
-
<rect
|
|
26
|
-
style="fill:#34d399;fill-opacity:1;stroke-width:1.00375"
|
|
27
|
-
id="rect850"
|
|
28
|
-
width="314.30923"
|
|
29
|
-
height="406.60901"
|
|
30
|
-
x="77.571838"
|
|
31
|
-
y="72.808708"
|
|
32
|
-
ry="8"
|
|
33
|
-
transform="rotate(-4.5744534)" />
|
|
34
|
-
</g>
|
|
35
|
-
<g
|
|
36
|
-
id="layer3">
|
|
37
|
-
<path
|
|
38
|
-
id="path1657-3"
|
|
39
|
-
style="display:inline;fill:#adedd6;fill-opacity:1;stroke:#adedd6;stroke-width:8.34923;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
40
|
-
d="M 359.38947,355.95134 320.72935,176.52942 238.34613,238.94118 Z M 273.64124,273.06608 152.59788,156.05591 191.25804,335.47786 Z" />
|
|
41
|
-
<g
|
|
42
|
-
aria-label="Histoire"
|
|
43
|
-
id="text1821-4"
|
|
44
|
-
style="font-size:231.926px;line-height:1.25;font-family:Sen;-inkscape-font-specification:Sen;fill:#adedd6;fill-opacity:1;stroke-width:5.79813"
|
|
45
|
-
transform="matrix(1.1500556,0,0,1.1500556,-105.40156,-38.414233)">
|
|
46
|
-
<path
|
|
47
|
-
d="M 693.87591,344.24783 V 181.89964 h 25.04801 v 162.34819 z m -105.99018,0 V 181.89964 h 25.04801 v 162.34819 z m 10.90052,-68.88202 v -24.1203 h 106.22211 v 24.1203 z"
|
|
48
|
-
style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#adedd6;fill-opacity:1"
|
|
49
|
-
id="path16857" />
|
|
50
|
-
<path
|
|
51
|
-
d="M 762.294,344.24783 V 222.48669 h 23.88838 v 121.76114 z m 11.5963,-148.66456 q -7.65356,0 -11.82822,-3.94274 -4.17467,-3.94274 -4.17467,-11.13245 0,-6.72585 4.17467,-10.90052 4.40659,-4.17467 11.82822,-4.17467 7.65356,0 11.82823,3.94274 4.17466,3.94275 4.17466,11.13245 0,6.72585 -4.40659,10.90052 -4.17467,4.17467 -11.5963,4.17467 z"
|
|
52
|
-
style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#adedd6;fill-opacity:1"
|
|
53
|
-
id="path16859" />
|
|
54
|
-
<path
|
|
55
|
-
d="m 863.41371,346.56709 q -15.30711,0 -27.59919,-5.33429 -12.29208,-5.3343 -20.40949,-15.77097 l 16.23482,-13.91556 q 6.95778,8.11741 15.07519,11.82822 8.34934,3.47889 18.78601,3.47889 4.17466,0 7.65355,-0.9277 3.71082,-1.15963 6.26201,-3.24696 2.78311,-2.08734 4.17466,-4.87045 1.39156,-3.01504 1.39156,-6.49393 0,-6.03007 -4.40659,-9.74089 -2.31926,-1.62348 -7.42164,-3.47889 -4.87044,-2.08733 -12.75593,-4.17467 -13.4517,-3.47889 -22.03297,-7.88548 -8.58126,-4.4066 -13.21978,-9.97282 -3.47889,-4.40659 -5.10237,-9.50897 -1.62348,-5.33429 -1.62348,-11.59629 0,-7.65356 3.24696,-13.91556 3.47889,-6.49393 9.27704,-11.13245 6.03008,-4.87045 13.91556,-7.42163 8.11741,-2.55119 17.16253,-2.55119 8.58126,0 16.93059,2.31926 8.58126,2.31926 15.77097,6.72585 7.18971,4.4066 12.06015,10.43667 l -13.68363,15.07519 q -4.4066,-4.40659 -9.74089,-7.65355 -5.10237,-3.47889 -10.43667,-5.3343 -5.3343,-1.85541 -9.74089,-1.85541 -4.87045,0 -8.81319,0.9277 -3.94274,0.92771 -6.72586,2.78312 -2.55118,1.8554 -3.94274,4.63852 -1.39155,2.78311 -1.39155,6.262 0.23192,3.01504 1.39155,5.79815 1.39156,2.55118 3.71082,4.40659 2.55118,1.85541 7.65356,3.94274 5.10237,2.08734 12.98785,3.94274 11.5963,3.01504 19.01793,6.72586 7.65356,3.47889 12.06015,8.11741 4.63852,4.40659 6.49393,10.20474 1.85541,5.79815 1.85541,12.98786 0,10.43667 -6.03008,18.786 -5.79815,8.11741 -15.77096,12.75593 -9.97282,4.63852 -22.2649,4.63852 z"
|
|
56
|
-
style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#adedd6;fill-opacity:1"
|
|
57
|
-
id="path16861" />
|
|
58
|
-
<path
|
|
59
|
-
d="M 948.99398,344.24783 V 191.4086 h 23.88838 v 152.83923 z m -25.27993,-98.56854 v -23.1926 h 77.46325 v 23.1926 z"
|
|
60
|
-
style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#adedd6;fill-opacity:1"
|
|
61
|
-
id="path16863" />
|
|
62
|
-
<path
|
|
63
|
-
d="m 1076.5528,346.56709 q -17.8583,0 -32.0058,-8.11741 -13.9156,-8.34933 -22.033,-22.49682 -8.1174,-14.37941 -8.1174,-32.70156 0,-18.32216 8.1174,-32.46964 8.1174,-14.37941 22.033,-22.49682 14.1475,-8.34934 32.0058,-8.34934 17.6263,0 31.5419,8.34934 14.1475,8.11741 22.2649,22.49682 8.1174,14.14748 8.1174,32.46964 0,18.32215 -8.1174,32.70156 -8.1174,14.14749 -22.2649,22.49682 -13.9156,8.11741 -31.5419,8.11741 z m 0,-21.80104 q 10.9005,0 19.4818,-5.3343 8.5812,-5.56622 13.4517,-14.84326 4.8704,-9.50897 4.6385,-21.33719 0.2319,-12.06016 -4.6385,-21.33719 -4.8705,-9.50897 -13.4517,-14.84327 -8.5813,-5.3343 -19.4818,-5.3343 -10.9005,0 -19.7137,5.56623 -8.5813,5.3343 -13.4517,14.84326 -4.8705,9.27704 -4.6386,21.10527 -0.2319,11.82822 4.6386,21.33719 4.8704,9.27704 13.4517,14.84326 8.8132,5.3343 19.7137,5.3343 z"
|
|
64
|
-
style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#adedd6;fill-opacity:1"
|
|
65
|
-
id="path16865" />
|
|
66
|
-
<path
|
|
67
|
-
d="M 1168.3954,344.24783 V 222.48669 h 23.8884 v 121.76114 z m 11.5963,-148.66456 q -7.6536,0 -11.8282,-3.94274 -4.1747,-3.94274 -4.1747,-11.13245 0,-6.72585 4.1747,-10.90052 4.4065,-4.17467 11.8282,-4.17467 7.6535,0 11.8282,3.94274 4.1747,3.94275 4.1747,11.13245 0,6.72585 -4.4066,10.90052 -4.1747,4.17467 -11.5963,4.17467 z"
|
|
68
|
-
style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#adedd6;fill-opacity:1"
|
|
69
|
-
id="path16867" />
|
|
70
|
-
<path
|
|
71
|
-
d="M 1228.928,344.24783 V 222.48669 h 24.1203 v 38.26779 l -2.3192,-9.27704 q 2.5512,-8.81319 8.5812,-16.0029 6.262,-7.1897 14.1475,-11.36437 8.1174,-4.17467 16.6987,-4.17467 3.9427,0 7.4216,0.69578 3.7109,0.69578 5.7982,1.62348 l -6.262,25.97571 q -2.7831,-1.15963 -6.262,-1.85541 -3.247,-0.9277 -6.4939,-0.9277 -6.262,0 -12.0602,2.55119 -5.5662,2.31926 -9.9728,6.72585 -4.1747,4.17467 -6.7259,9.97282 -2.5512,5.56622 -2.5512,12.29207 v 67.25854 z"
|
|
72
|
-
style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#adedd6;fill-opacity:1"
|
|
73
|
-
id="path16869" />
|
|
74
|
-
<path
|
|
75
|
-
d="m 1374.1134,346.56709 q -18.786,0 -33.3973,-7.88548 -14.3794,-8.11741 -22.7288,-22.03297 -8.1174,-13.91556 -8.1174,-32.00579 0,-14.37941 4.6386,-26.20763 4.6385,-11.82823 12.7559,-20.40949 8.3493,-8.81319 19.7137,-13.45171 11.5963,-4.87045 25.048,-4.87045 11.8282,0 22.033,4.63852 10.2047,4.4066 17.6263,12.29208 7.6536,7.88549 11.5963,18.78601 4.1747,10.66859 3.9428,23.42452 l -0.2319,10.20475 h -99.4963 l -5.3343,-19.01794 h 84.1891 l -3.4788,3.94275 v -5.56623 q -0.6958,-7.65355 -5.1024,-13.68363 -4.4066,-6.03008 -11.1325,-9.50897 -6.7258,-3.47889 -14.6113,-3.47889 -12.524,0 -21.1053,4.87045 -8.5812,4.63852 -12.9878,13.91556 -4.4066,9.04511 -4.4066,22.49682 0,12.75593 5.3343,22.2649 5.3343,9.27704 15.0752,14.37941 9.7409,5.10237 22.4968,5.10237 9.0451,0 16.6987,-3.01504 7.8855,-3.01504 16.9306,-10.90052 l 12.0601,16.9306 q -5.5662,5.56622 -13.6836,9.74089 -7.8855,4.17467 -16.9306,6.72585 -8.8132,2.31926 -17.3945,2.31926 z"
|
|
76
|
-
style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#adedd6;fill-opacity:1"
|
|
77
|
-
id="path16871" />
|
|
78
|
-
</g>
|
|
79
|
-
</g>
|
|
80
|
-
<g
|
|
81
|
-
id="layer2"
|
|
82
|
-
style="display:none">
|
|
83
|
-
<path
|
|
84
|
-
id="path1657"
|
|
85
|
-
style="fill:#b4fae2;fill-opacity:1;stroke:#b4fae2;stroke-width:8;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
86
|
-
d="m 296,103.98242 -135.53125,177.9668 h 88.70117 z M 262.83008,230.05078 216,408.01758 351.53125,230.05078 Z"
|
|
87
|
-
transform="rotate(-4.156553,256,256.00691)" />
|
|
88
|
-
</g>
|
|
89
|
-
</svg>
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
|
-
|
|
4
|
-
<svg
|
|
5
|
-
width="1536"
|
|
6
|
-
height="512"
|
|
7
|
-
viewBox="0 0 1536 512"
|
|
8
|
-
version="1.1"
|
|
9
|
-
id="svg5"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
xmlns:svg="http://www.w3.org/2000/svg">
|
|
12
|
-
<defs
|
|
13
|
-
id="defs2" />
|
|
14
|
-
<g
|
|
15
|
-
id="layer1">
|
|
16
|
-
<rect
|
|
17
|
-
style="opacity:0.5;fill:#34d399;fill-opacity:1;stroke-width:1.00375"
|
|
18
|
-
id="rect1372"
|
|
19
|
-
width="314.30923"
|
|
20
|
-
height="406.60901"
|
|
21
|
-
x="-26.565063"
|
|
22
|
-
y="134.75079"
|
|
23
|
-
transform="rotate(-23.821262)"
|
|
24
|
-
ry="8" />
|
|
25
|
-
<rect
|
|
26
|
-
style="fill:#34d399;fill-opacity:1;stroke-width:1.00375"
|
|
27
|
-
id="rect850"
|
|
28
|
-
width="314.30923"
|
|
29
|
-
height="406.60901"
|
|
30
|
-
x="77.571838"
|
|
31
|
-
y="72.808708"
|
|
32
|
-
ry="8"
|
|
33
|
-
transform="rotate(-4.5744534)" />
|
|
34
|
-
</g>
|
|
35
|
-
<g
|
|
36
|
-
id="layer3">
|
|
37
|
-
<path
|
|
38
|
-
id="path1657-3"
|
|
39
|
-
style="display:inline;fill:#adedd6;fill-opacity:1;stroke:#adedd6;stroke-width:8.34923;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
40
|
-
d="M 359.38947,355.95134 320.72935,176.52942 238.34613,238.94118 Z M 273.64124,273.06608 152.59788,156.05591 191.25804,335.47786 Z" />
|
|
41
|
-
<g
|
|
42
|
-
aria-label="Histoire"
|
|
43
|
-
id="text1821"
|
|
44
|
-
style="font-size:231.926px;line-height:1.25;font-family:Sen;-inkscape-font-specification:Sen;fill:#2bc78e;stroke-width:5.79813;fill-opacity:1"
|
|
45
|
-
transform="matrix(1.1500556,0,0,1.1500556,-105.40156,-38.414233)">
|
|
46
|
-
<path
|
|
47
|
-
d="M 693.87591,344.24783 V 181.89964 h 25.04801 v 162.34819 z m -105.99018,0 V 181.89964 h 25.04801 v 162.34819 z m 10.90052,-68.88202 v -24.1203 h 106.22211 v 24.1203 z"
|
|
48
|
-
style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#2bc78e;fill-opacity:1"
|
|
49
|
-
id="path16857" />
|
|
50
|
-
<path
|
|
51
|
-
d="M 762.294,344.24783 V 222.48669 h 23.88838 v 121.76114 z m 11.5963,-148.66456 q -7.65356,0 -11.82822,-3.94274 -4.17467,-3.94274 -4.17467,-11.13245 0,-6.72585 4.17467,-10.90052 4.40659,-4.17467 11.82822,-4.17467 7.65356,0 11.82823,3.94274 4.17466,3.94275 4.17466,11.13245 0,6.72585 -4.40659,10.90052 -4.17467,4.17467 -11.5963,4.17467 z"
|
|
52
|
-
style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#2bc78e;fill-opacity:1"
|
|
53
|
-
id="path16859" />
|
|
54
|
-
<path
|
|
55
|
-
d="m 863.41371,346.56709 q -15.30711,0 -27.59919,-5.33429 -12.29208,-5.3343 -20.40949,-15.77097 l 16.23482,-13.91556 q 6.95778,8.11741 15.07519,11.82822 8.34934,3.47889 18.78601,3.47889 4.17466,0 7.65355,-0.9277 3.71082,-1.15963 6.26201,-3.24696 2.78311,-2.08734 4.17466,-4.87045 1.39156,-3.01504 1.39156,-6.49393 0,-6.03007 -4.40659,-9.74089 -2.31926,-1.62348 -7.42164,-3.47889 -4.87044,-2.08733 -12.75593,-4.17467 -13.4517,-3.47889 -22.03297,-7.88548 -8.58126,-4.4066 -13.21978,-9.97282 -3.47889,-4.40659 -5.10237,-9.50897 -1.62348,-5.33429 -1.62348,-11.59629 0,-7.65356 3.24696,-13.91556 3.47889,-6.49393 9.27704,-11.13245 6.03008,-4.87045 13.91556,-7.42163 8.11741,-2.55119 17.16253,-2.55119 8.58126,0 16.93059,2.31926 8.58126,2.31926 15.77097,6.72585 7.18971,4.4066 12.06015,10.43667 l -13.68363,15.07519 q -4.4066,-4.40659 -9.74089,-7.65355 -5.10237,-3.47889 -10.43667,-5.3343 -5.3343,-1.85541 -9.74089,-1.85541 -4.87045,0 -8.81319,0.9277 -3.94274,0.92771 -6.72586,2.78312 -2.55118,1.8554 -3.94274,4.63852 -1.39155,2.78311 -1.39155,6.262 0.23192,3.01504 1.39155,5.79815 1.39156,2.55118 3.71082,4.40659 2.55118,1.85541 7.65356,3.94274 5.10237,2.08734 12.98785,3.94274 11.5963,3.01504 19.01793,6.72586 7.65356,3.47889 12.06015,8.11741 4.63852,4.40659 6.49393,10.20474 1.85541,5.79815 1.85541,12.98786 0,10.43667 -6.03008,18.786 -5.79815,8.11741 -15.77096,12.75593 -9.97282,4.63852 -22.2649,4.63852 z"
|
|
56
|
-
style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#2bc78e;fill-opacity:1"
|
|
57
|
-
id="path16861" />
|
|
58
|
-
<path
|
|
59
|
-
d="M 948.99398,344.24783 V 191.4086 h 23.88838 v 152.83923 z m -25.27993,-98.56854 v -23.1926 h 77.46325 v 23.1926 z"
|
|
60
|
-
style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#2bc78e;fill-opacity:1"
|
|
61
|
-
id="path16863" />
|
|
62
|
-
<path
|
|
63
|
-
d="m 1076.5528,346.56709 q -17.8583,0 -32.0058,-8.11741 -13.9156,-8.34933 -22.033,-22.49682 -8.1174,-14.37941 -8.1174,-32.70156 0,-18.32216 8.1174,-32.46964 8.1174,-14.37941 22.033,-22.49682 14.1475,-8.34934 32.0058,-8.34934 17.6263,0 31.5419,8.34934 14.1475,8.11741 22.2649,22.49682 8.1174,14.14748 8.1174,32.46964 0,18.32215 -8.1174,32.70156 -8.1174,14.14749 -22.2649,22.49682 -13.9156,8.11741 -31.5419,8.11741 z m 0,-21.80104 q 10.9005,0 19.4818,-5.3343 8.5812,-5.56622 13.4517,-14.84326 4.8704,-9.50897 4.6385,-21.33719 0.2319,-12.06016 -4.6385,-21.33719 -4.8705,-9.50897 -13.4517,-14.84327 -8.5813,-5.3343 -19.4818,-5.3343 -10.9005,0 -19.7137,5.56623 -8.5813,5.3343 -13.4517,14.84326 -4.8705,9.27704 -4.6386,21.10527 -0.2319,11.82822 4.6386,21.33719 4.8704,9.27704 13.4517,14.84326 8.8132,5.3343 19.7137,5.3343 z"
|
|
64
|
-
style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#2bc78e;fill-opacity:1"
|
|
65
|
-
id="path16865" />
|
|
66
|
-
<path
|
|
67
|
-
d="M 1168.3954,344.24783 V 222.48669 h 23.8884 v 121.76114 z m 11.5963,-148.66456 q -7.6536,0 -11.8282,-3.94274 -4.1747,-3.94274 -4.1747,-11.13245 0,-6.72585 4.1747,-10.90052 4.4065,-4.17467 11.8282,-4.17467 7.6535,0 11.8282,3.94274 4.1747,3.94275 4.1747,11.13245 0,6.72585 -4.4066,10.90052 -4.1747,4.17467 -11.5963,4.17467 z"
|
|
68
|
-
style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#2bc78e;fill-opacity:1"
|
|
69
|
-
id="path16867" />
|
|
70
|
-
<path
|
|
71
|
-
d="M 1228.928,344.24783 V 222.48669 h 24.1203 v 38.26779 l -2.3192,-9.27704 q 2.5512,-8.81319 8.5812,-16.0029 6.262,-7.1897 14.1475,-11.36437 8.1174,-4.17467 16.6987,-4.17467 3.9427,0 7.4216,0.69578 3.7109,0.69578 5.7982,1.62348 l -6.262,25.97571 q -2.7831,-1.15963 -6.262,-1.85541 -3.247,-0.9277 -6.4939,-0.9277 -6.262,0 -12.0602,2.55119 -5.5662,2.31926 -9.9728,6.72585 -4.1747,4.17467 -6.7259,9.97282 -2.5512,5.56622 -2.5512,12.29207 v 67.25854 z"
|
|
72
|
-
style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#2bc78e;fill-opacity:1"
|
|
73
|
-
id="path16869" />
|
|
74
|
-
<path
|
|
75
|
-
d="m 1374.1134,346.56709 q -18.786,0 -33.3973,-7.88548 -14.3794,-8.11741 -22.7288,-22.03297 -8.1174,-13.91556 -8.1174,-32.00579 0,-14.37941 4.6386,-26.20763 4.6385,-11.82823 12.7559,-20.40949 8.3493,-8.81319 19.7137,-13.45171 11.5963,-4.87045 25.048,-4.87045 11.8282,0 22.033,4.63852 10.2047,4.4066 17.6263,12.29208 7.6536,7.88549 11.5963,18.78601 4.1747,10.66859 3.9428,23.42452 l -0.2319,10.20475 h -99.4963 l -5.3343,-19.01794 h 84.1891 l -3.4788,3.94275 v -5.56623 q -0.6958,-7.65355 -5.1024,-13.68363 -4.4066,-6.03008 -11.1325,-9.50897 -6.7258,-3.47889 -14.6113,-3.47889 -12.524,0 -21.1053,4.87045 -8.5812,4.63852 -12.9878,13.91556 -4.4066,9.04511 -4.4066,22.49682 0,12.75593 5.3343,22.2649 5.3343,9.27704 15.0752,14.37941 9.7409,5.10237 22.4968,5.10237 9.0451,0 16.6987,-3.01504 7.8855,-3.01504 16.9306,-10.90052 l 12.0601,16.9306 q -5.5662,5.56622 -13.6836,9.74089 -7.8855,4.17467 -16.9306,6.72585 -8.8132,2.31926 -17.3945,2.31926 z"
|
|
76
|
-
style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#2bc78e;fill-opacity:1"
|
|
77
|
-
id="path16871" />
|
|
78
|
-
</g>
|
|
79
|
-
</g>
|
|
80
|
-
<g
|
|
81
|
-
id="layer2"
|
|
82
|
-
style="display:none">
|
|
83
|
-
<path
|
|
84
|
-
id="path1657"
|
|
85
|
-
style="fill:#b4fae2;fill-opacity:1;stroke:#b4fae2;stroke-width:8;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
86
|
-
d="m 296,103.98242 -135.53125,177.9668 h 88.70117 z M 262.83008,230.05078 216,408.01758 351.53125,230.05078 Z"
|
|
87
|
-
transform="rotate(-4.156553,256,256.00691)" />
|
|
88
|
-
</g>
|
|
89
|
-
</svg>
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
|
-
|
|
4
|
-
<svg
|
|
5
|
-
width="512"
|
|
6
|
-
height="512"
|
|
7
|
-
viewBox="0 0 512 512"
|
|
8
|
-
version="1.1"
|
|
9
|
-
id="svg5"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
xmlns:svg="http://www.w3.org/2000/svg">
|
|
12
|
-
<defs
|
|
13
|
-
id="defs2" />
|
|
14
|
-
<g
|
|
15
|
-
id="layer1">
|
|
16
|
-
<rect
|
|
17
|
-
style="opacity:0.5;fill:#34d399;fill-opacity:1;stroke-width:1.00375"
|
|
18
|
-
id="rect1372"
|
|
19
|
-
width="314.30923"
|
|
20
|
-
height="406.60901"
|
|
21
|
-
x="-26.565063"
|
|
22
|
-
y="134.75079"
|
|
23
|
-
transform="rotate(-23.821262)"
|
|
24
|
-
ry="8" />
|
|
25
|
-
<rect
|
|
26
|
-
style="fill:#34d399;fill-opacity:1;stroke-width:1.00375"
|
|
27
|
-
id="rect850"
|
|
28
|
-
width="314.30923"
|
|
29
|
-
height="406.60901"
|
|
30
|
-
x="77.571838"
|
|
31
|
-
y="72.808708"
|
|
32
|
-
ry="8"
|
|
33
|
-
transform="rotate(-4.5744534)" />
|
|
34
|
-
</g>
|
|
35
|
-
<g
|
|
36
|
-
id="layer3">
|
|
37
|
-
<path
|
|
38
|
-
id="path1657-3"
|
|
39
|
-
style="display:inline;fill:#b4fae2;fill-opacity:1;stroke:#b4fae2;stroke-width:8.34923;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
40
|
-
d="M 359.38947,355.95134 320.72935,176.52942 238.34613,238.94118 Z M 273.64124,273.06608 152.59788,156.05591 191.25804,335.47786 Z" />
|
|
41
|
-
</g>
|
|
42
|
-
<g
|
|
43
|
-
id="layer2"
|
|
44
|
-
style="display:none">
|
|
45
|
-
<path
|
|
46
|
-
id="path1657"
|
|
47
|
-
style="fill:#b4fae2;fill-opacity:1;stroke:#b4fae2;stroke-width:8;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
48
|
-
d="m 296,103.98242 -135.53125,177.9668 h 88.70117 z M 262.83008,230.05078 216,408.01758 351.53125,230.05078 Z"
|
|
49
|
-
transform="rotate(-4.156553,256,256.00691)" />
|
|
50
|
-
</g>
|
|
51
|
-
</svg>
|
package/tailwind.config.cjs
DELETED
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
const path = require('pathe')
|
|
2
|
-
const defaultColors = require('tailwindcss/colors')
|
|
3
|
-
const inheritedConfig = require('../../tailwind.config.cjs')
|
|
4
|
-
|
|
5
|
-
// Colors
|
|
6
|
-
|
|
7
|
-
function withOpacityValue(variable) {
|
|
8
|
-
return ({ opacityValue }) => {
|
|
9
|
-
if (opacityValue === undefined) {
|
|
10
|
-
return `rgb(var(${variable}))`
|
|
11
|
-
}
|
|
12
|
-
return `rgb(var(${variable}) / ${opacityValue})`
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
const colorKeys = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900]
|
|
17
|
-
const grayKeys = [...colorKeys, 750, 850, 950]
|
|
18
|
-
const themedColors = ['primary', 'gray'].reduce((acc, color) => {
|
|
19
|
-
const keys = (color === 'gray' ? grayKeys : colorKeys)
|
|
20
|
-
for (const key of keys) {
|
|
21
|
-
acc[`${color}-${key}`] = withOpacityValue(`--_histoire-color-${color}-${key}`)
|
|
22
|
-
}
|
|
23
|
-
return acc
|
|
24
|
-
}, {})
|
|
25
|
-
|
|
26
|
-
const excludedDefaultColors = [
|
|
27
|
-
// Grays
|
|
28
|
-
'slate',
|
|
29
|
-
'gray',
|
|
30
|
-
'zinc',
|
|
31
|
-
'neutral',
|
|
32
|
-
'stone',
|
|
33
|
-
// Deprecated colors
|
|
34
|
-
'lightBlue',
|
|
35
|
-
'warmGray',
|
|
36
|
-
'trueGray',
|
|
37
|
-
'coolGray',
|
|
38
|
-
'blueGray',
|
|
39
|
-
]
|
|
40
|
-
|
|
41
|
-
const includedDefaultColors = {}
|
|
42
|
-
for (const key in defaultColors) {
|
|
43
|
-
if (!excludedDefaultColors.includes(key)) {
|
|
44
|
-
includedDefaultColors[key] = defaultColors[key]
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
const colors = {
|
|
49
|
-
...includedDefaultColors,
|
|
50
|
-
white: '#fff',
|
|
51
|
-
black: '#000',
|
|
52
|
-
transparent: 'transparent',
|
|
53
|
-
...themedColors,
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
module.exports = {
|
|
57
|
-
...inheritedConfig,
|
|
58
|
-
prefix: 'htw-',
|
|
59
|
-
content: [
|
|
60
|
-
path.resolve(__dirname, './src/**/*.{vue,js,ts,jsx,tsx,md}'),
|
|
61
|
-
// Include controls CSS directly
|
|
62
|
-
path.resolve(__dirname, '../histoire-controls/src/**/*.{vue,js,ts,jsx,tsx,md}'),
|
|
63
|
-
],
|
|
64
|
-
corePlugins: {
|
|
65
|
-
preflight: false,
|
|
66
|
-
},
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
delete module.exports.theme.extend.colors.primary
|
|
70
|
-
delete module.exports.theme.extend.colors.gray
|
|
71
|
-
module.exports.theme.colors = colors
|
|
72
|
-
|
|
73
|
-
module.exports.plugins.push(require('@tailwindcss/typography'))
|
|
74
|
-
// prose-a:htw-text-primary-500 prose-headings:htw-mb-2 prose-headings:htw-mt-4 first:prose-headings:htw-mt-0 prose-blockquote:htw-ml-0
|
|
75
|
-
module.exports.theme.extend.typography = theme => ({
|
|
76
|
-
DEFAULT: {
|
|
77
|
-
css: {
|
|
78
|
-
'a': {
|
|
79
|
-
'color': theme('colors.primary-500'),
|
|
80
|
-
'textDecoration': 'none',
|
|
81
|
-
|
|
82
|
-
'&:hover': {
|
|
83
|
-
textDecoration: 'underline',
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
|
|
87
|
-
'h1, h2, h3, h4, th': {
|
|
88
|
-
'marginBottom': '0.75rem',
|
|
89
|
-
|
|
90
|
-
'&:not(:first-child)': {
|
|
91
|
-
marginTop: '1.25rem',
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
|
|
95
|
-
'--tw-prose-invert-quote-borders': theme('colors.gray-800'),
|
|
96
|
-
'--tw-prose-invert-hr': theme('colors.gray-800'),
|
|
97
|
-
|
|
98
|
-
'blockquote': {
|
|
99
|
-
'marginLeft': 0,
|
|
100
|
-
'marginRight': 0,
|
|
101
|
-
'backgroundColor': theme('colors.gray-100'),
|
|
102
|
-
'padding': '.25rem .375rem',
|
|
103
|
-
|
|
104
|
-
'& p:first-child': {
|
|
105
|
-
marginTop: 0,
|
|
106
|
-
},
|
|
107
|
-
|
|
108
|
-
'& p:last-child': {
|
|
109
|
-
marginBottom: 0,
|
|
110
|
-
},
|
|
111
|
-
|
|
112
|
-
'.dark &': {
|
|
113
|
-
backgroundColor: theme('colors.gray-750'),
|
|
114
|
-
},
|
|
115
|
-
},
|
|
116
|
-
|
|
117
|
-
'--tw-prose-invert-bullets': theme('colors.gray-500'),
|
|
118
|
-
|
|
119
|
-
'li': {
|
|
120
|
-
marginTop: '0.1rem',
|
|
121
|
-
marginBottom: '0.1rem',
|
|
122
|
-
},
|
|
123
|
-
|
|
124
|
-
'code': {
|
|
125
|
-
'backgroundColor': theme('colors.gray-500 / 20%'),
|
|
126
|
-
'fontWeight': 'normal',
|
|
127
|
-
'padding': '0.05rem 0.5rem',
|
|
128
|
-
'borderRadius': '0.25rem',
|
|
129
|
-
'fontSize': '0.8rem',
|
|
130
|
-
|
|
131
|
-
'&::before, &::after': {
|
|
132
|
-
display: 'none',
|
|
133
|
-
},
|
|
134
|
-
},
|
|
135
|
-
},
|
|
136
|
-
},
|
|
137
|
-
})
|
package/tsconfig.json
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ESNext",
|
|
4
|
-
// Volar
|
|
5
|
-
"jsx": "preserve",
|
|
6
|
-
"lib": [
|
|
7
|
-
"ESNext",
|
|
8
|
-
"DOM",
|
|
9
|
-
"DOM.Iterable"
|
|
10
|
-
],
|
|
11
|
-
"baseUrl": ".",
|
|
12
|
-
"rootDir": "src",
|
|
13
|
-
"module": "ESNext",
|
|
14
|
-
"moduleResolution": "node",
|
|
15
|
-
// Alias
|
|
16
|
-
"paths": {
|
|
17
|
-
"floating-vue": ["node_modules/@poveste/vendors/floating-vue"],
|
|
18
|
-
"@iconify/vue": ["node_modules/@poveste/vendors/iconify"],
|
|
19
|
-
"pinia": ["node_modules/@poveste/vendors/pinia"],
|
|
20
|
-
"scroll-into-view-if-needed": ["node_modules/@poveste/vendors/scroll"],
|
|
21
|
-
"vue-router": ["node_modules/@poveste/vendors/vue-router"],
|
|
22
|
-
"@vueuse/core": ["node_modules/@poveste/vendors/vue-use"],
|
|
23
|
-
"vue": ["node_modules/@poveste/vendors/vue"]
|
|
24
|
-
},
|
|
25
|
-
"resolveJsonModule": true,
|
|
26
|
-
"types": [
|
|
27
|
-
"node"
|
|
28
|
-
],
|
|
29
|
-
"strictBindCallApply": true,
|
|
30
|
-
"strictFunctionTypes": true,
|
|
31
|
-
"alwaysStrict": true,
|
|
32
|
-
// Strict
|
|
33
|
-
"noImplicitAny": false,
|
|
34
|
-
"noImplicitThis": true,
|
|
35
|
-
"declaration": false,
|
|
36
|
-
"outDir": "dist",
|
|
37
|
-
"removeComments": false,
|
|
38
|
-
"sourceMap": false,
|
|
39
|
-
"allowSyntheticDefaultImports": true,
|
|
40
|
-
"esModuleInterop": true,
|
|
41
|
-
"skipLibCheck": true,
|
|
42
|
-
"preserveWatchOutput": true
|
|
43
|
-
},
|
|
44
|
-
"include": [
|
|
45
|
-
"src"
|
|
46
|
-
],
|
|
47
|
-
"exclude": [
|
|
48
|
-
"node_modules",
|
|
49
|
-
"generated/**/*",
|
|
50
|
-
"dist/**/*",
|
|
51
|
-
"src/**/*.spec.ts"
|
|
52
|
-
]
|
|
53
|
-
}
|
package/vite.config.ts
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import vue from '@vitejs/plugin-vue'
|
|
2
|
-
import fs from 'fs-extra'
|
|
3
|
-
import { globbySync } from 'globby'
|
|
4
|
-
import { defineConfig } from 'vite'
|
|
5
|
-
|
|
6
|
-
export default defineConfig({
|
|
7
|
-
plugins: [
|
|
8
|
-
vue(),
|
|
9
|
-
{
|
|
10
|
-
name: 'histoire:preserve:import.meta',
|
|
11
|
-
enforce: 'pre',
|
|
12
|
-
transform(code) {
|
|
13
|
-
if (code.includes('import.meta')) {
|
|
14
|
-
return {
|
|
15
|
-
code: code.replace(/import\.meta/g, 'import__meta'),
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
closeBundle() {
|
|
20
|
-
try {
|
|
21
|
-
const files = globbySync('./dist/bundled/**/*.js')
|
|
22
|
-
for (const file of files) {
|
|
23
|
-
const content = fs.readFileSync(file, 'utf-8')
|
|
24
|
-
if (content.includes('import__meta')) {
|
|
25
|
-
fs.writeFileSync(file, content.replace(/import__meta/g, 'import.meta'), 'utf-8')
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
catch (e) {
|
|
30
|
-
console.error(e)
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
|
|
36
|
-
resolve: {
|
|
37
|
-
alias: {
|
|
38
|
-
'floating-vue': '@poveste/vendors/floating-vue',
|
|
39
|
-
'@iconify/vue': '@poveste/vendors/iconify',
|
|
40
|
-
'pinia': '@poveste/vendors/pinia',
|
|
41
|
-
'scroll-into-view-if-needed': '@poveste/vendors/scroll',
|
|
42
|
-
'vue-router': '@poveste/vendors/vue-router',
|
|
43
|
-
'@vueuse/core': '@poveste/vendors/vue-use',
|
|
44
|
-
'vue': '@poveste/vendors/vue',
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
|
|
48
|
-
build: {
|
|
49
|
-
emptyOutDir: false,
|
|
50
|
-
outDir: 'dist/bundled',
|
|
51
|
-
lib: {
|
|
52
|
-
entry: '',
|
|
53
|
-
formats: ['es'],
|
|
54
|
-
},
|
|
55
|
-
rollupOptions: {
|
|
56
|
-
external: [
|
|
57
|
-
/\$histoire/,
|
|
58
|
-
/@poveste/,
|
|
59
|
-
// eslint-disable-next-line ts/no-require-imports
|
|
60
|
-
...Object.keys(require('./package.json').dependencies),
|
|
61
|
-
],
|
|
62
|
-
|
|
63
|
-
input: [
|
|
64
|
-
'src/app/api.ts',
|
|
65
|
-
'src/app/index.ts',
|
|
66
|
-
'src/app/sandbox.ts',
|
|
67
|
-
],
|
|
68
|
-
|
|
69
|
-
output: {
|
|
70
|
-
// manualChunks (id) {
|
|
71
|
-
// if (id.includes('node_modules')) {
|
|
72
|
-
// return 'vendor'
|
|
73
|
-
// }
|
|
74
|
-
// },
|
|
75
|
-
entryFileNames: '[name].js',
|
|
76
|
-
chunkFileNames: '[name].js',
|
|
77
|
-
assetFileNames: '[name][extname]',
|
|
78
|
-
// hoistTransitiveImports: false,
|
|
79
|
-
preserveModules: true,
|
|
80
|
-
preserveModulesRoot: 'src/app',
|
|
81
|
-
},
|
|
82
|
-
treeshake: false,
|
|
83
|
-
preserveEntrySignatures: 'strict',
|
|
84
|
-
},
|
|
85
|
-
cssCodeSplit: false,
|
|
86
|
-
minify: false,
|
|
87
|
-
},
|
|
88
|
-
})
|