@explorer-1/vue-storybook 0.0.0
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/.storybook/_mock-components.js +21 -0
- package/.storybook/main.ts +43 -0
- package/.storybook/manager-head.html +40 -0
- package/.storybook/manager.ts +11 -0
- package/.storybook/preview-head.html +146 -0
- package/.storybook/preview.ts +166 -0
- package/.storybook/withGlobals.ts +189 -0
- package/LICENSE +21 -0
- package/components.d.ts +238 -0
- package/package.json +70 -0
- package/postcss.config.js +9 -0
- package/public/css/.gitkeep +0 -0
- package/public/css/font-face.css +107 -0
- package/public/edu/.gitkeep +0 -0
- package/public/edu/explorer-1/bg-stars-edu.png +0 -0
- package/public/edu/explorer-1/bg-stars.jpg +0 -0
- package/public/explorer-1/bg-stars-edu.png +0 -0
- package/public/explorer-1/bg-stars.jpg +0 -0
- package/storybook_compiled/favicon.svg +7 -0
- package/storybook_compiled/index.html +151 -0
- package/storybook_compiled/index.json +1 -0
- package/storybook_compiled/project.json +1 -0
- package/storybook_compiled/sb-addons/a11y-6/manager-bundle.js +3 -0
- package/storybook_compiled/sb-addons/a11y-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook_compiled/sb-addons/essentials-controls-1/manager-bundle.js +60 -0
- package/storybook_compiled/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +18 -0
- package/storybook_compiled/sb-addons/essentials-measure-4/manager-bundle.js +3 -0
- package/storybook_compiled/sb-addons/essentials-measure-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook_compiled/sb-addons/essentials-outline-5/manager-bundle.js +3 -0
- package/storybook_compiled/sb-addons/essentials-outline-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook_compiled/sb-addons/essentials-toolbars-3/manager-bundle.js +3 -0
- package/storybook_compiled/sb-addons/essentials-toolbars-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook_compiled/sb-addons/essentials-viewport-2/manager-bundle.js +3 -0
- package/storybook_compiled/sb-addons/essentials-viewport-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook_compiled/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +3 -0
- package/storybook_compiled/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
- package/storybook_compiled/sb-addons/whitespace-html-7/manager-bundle.js +93 -0
- package/storybook_compiled/sb-addons/whitespace-html-7/manager-bundle.js.LEGAL.txt +14 -0
- package/storybook_compiled/sb-common-assets/fonts.css +31 -0
- package/storybook_compiled/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook_compiled/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook_compiled/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook_compiled/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook_compiled/sb-manager/WithTooltip-KJL26V4Q-5LS5AN27.js +1 -0
- package/storybook_compiled/sb-manager/chunk-4FMBEAHW.js +274 -0
- package/storybook_compiled/sb-manager/chunk-6GQRNYH2.js +186 -0
- package/storybook_compiled/sb-manager/chunk-B3YDJJJH.js +347 -0
- package/storybook_compiled/sb-manager/chunk-BLWCBWKL.js +9 -0
- package/storybook_compiled/sb-manager/chunk-GUVK2GTO.js +6 -0
- package/storybook_compiled/sb-manager/chunk-ZR5JZWHI.js +1 -0
- package/storybook_compiled/sb-manager/formatter-2WMMO6ZP-JI7RHVTW.js +58 -0
- package/storybook_compiled/sb-manager/globals-module-info.js +1 -0
- package/storybook_compiled/sb-manager/globals-runtime.js +1 -0
- package/storybook_compiled/sb-manager/globals.js +1 -0
- package/storybook_compiled/sb-manager/index.js +1 -0
- package/storybook_compiled/sb-manager/runtime.js +1 -0
- package/storybook_compiled/sb-manager/syntaxhighlighter-BP7B2CQK-WOJYHKQR.js +1 -0
- package/storybook_compiled/sb-preview/globals.js +1 -0
- package/storybook_compiled/sb-preview/runtime.js +156 -0
- package/tailwind.config.ts +18 -0
- package/tsconfig.json +5 -0
- package/vite.config.ts +32 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
** TailwindCSS Configuration File
|
|
3
|
+
**
|
|
4
|
+
** Docs: https://tailwindcss.com/docs/configuration
|
|
5
|
+
** Default: https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
// import explorer 1's tailwind config
|
|
9
|
+
import explorer1Config from '@explorer-1/common/tailwind.config'
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
...explorer1Config,
|
|
13
|
+
content: [
|
|
14
|
+
'./node_modules/@explorer-1/vue/src/docs/**/*',
|
|
15
|
+
'./node_modules/@explorer-1/vue/src/components/**/*',
|
|
16
|
+
'./node_modules/@explorer-1/vue/src/templates/**/*'
|
|
17
|
+
]
|
|
18
|
+
}
|
package/tsconfig.json
ADDED
package/vite.config.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineConfig } from 'vite'
|
|
2
|
+
import vue from '@vitejs/plugin-vue'
|
|
3
|
+
import Components from 'unplugin-vue-components/vite'
|
|
4
|
+
// TODO: import applicable config keys from '@explorer-1/vue/vite.config'
|
|
5
|
+
export default defineConfig({
|
|
6
|
+
plugins: [
|
|
7
|
+
vue(),
|
|
8
|
+
Components({
|
|
9
|
+
dirs: [
|
|
10
|
+
'./node_modules/@explorer-1/vue/src/components',
|
|
11
|
+
'./node_modules/@explorer-1/vue/src/templates'
|
|
12
|
+
]
|
|
13
|
+
})
|
|
14
|
+
],
|
|
15
|
+
publicDir: './../public/',
|
|
16
|
+
// because pnpm and stories are in node_modules
|
|
17
|
+
resolve: {
|
|
18
|
+
preserveSymlinks: true
|
|
19
|
+
},
|
|
20
|
+
server: {
|
|
21
|
+
watch: {
|
|
22
|
+
usePolling: true
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
css: {
|
|
26
|
+
preprocessorOptions: {
|
|
27
|
+
scss: {
|
|
28
|
+
additionalData: `@import "@explorer-1/common/src/scss/_hover.scss";`
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
})
|