├── .eslintignore ├── .env.docs ├── tests └── unit │ ├── __mocks__ │ └── styleMock.js │ ├── .eslintrc.js │ ├── storybook.spec.js │ └── calendar.spec.js ├── .storybook ├── .babelrc ├── addons.js ├── config.js └── webpack.config.js ├── .npmignore ├── storybook-static ├── favicon.ico ├── main.486ab81dac22ee934147.bundle.js.map ├── runtime~main.486ab81dac22ee934147.bundle.js.map ├── main.f2aaa14a3a83adcad582.bundle.js ├── vendors~main.486ab81dac22ee934147.bundle.js.map ├── index.html ├── runtime~main.4d6118575687c0a0f1fb.bundle.js ├── runtime~main.486ab81dac22ee934147.bundle.js ├── iframe.html ├── sb_dll │ └── storybook_ui_dll.LICENCE └── main.486ab81dac22ee934147.bundle.js ├── .gitattributes ├── src ├── index.js ├── date-func.js ├── style │ ├── calendar.css │ └── calendar.less ├── header.js ├── index.stories.js └── calendar.vue ├── .editorconfig ├── dev ├── index.js ├── index.html ├── data.js └── App.vue ├── .postcssrc.js ├── babel.config.js ├── dist ├── demo.html ├── vue2-event-calendar.css ├── vue2-event-calendar.umd.min.js ├── vue2-event-calendar.esm.js ├── vue2-event-calendar.common.js └── vue2-event-calendar.umd.js ├── .gitignore ├── .eslintrc.js ├── docs ├── index.html ├── css │ └── app.8299f4f2.css └── js │ └── app.b8d7cb23.js ├── jest.config.js ├── types └── index.d.ts ├── package.json ├── default.css ├── README-CN.md └── README.md /.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | -------------------------------------------------------------------------------- /.env.docs: -------------------------------------------------------------------------------- 1 | NODE_ENV=production 2 | BABEL_BUILDIN=true 3 | -------------------------------------------------------------------------------- /tests/unit/__mocks__/styleMock.js: -------------------------------------------------------------------------------- 1 | module.exports = {}; 2 | -------------------------------------------------------------------------------- /.storybook/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@vue/app" 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /tests/unit/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | env: { 3 | jest: true, 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | # demo 2 | dev 3 | docs 4 | 5 | # test file 6 | tests 7 | 8 | # build file 9 | .storybook 10 | -------------------------------------------------------------------------------- /storybook-static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kitwon/vue2-event-calendar/HEAD/storybook-static/favicon.ico -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text eol=lf 2 | *.js text eol=lf 3 | *.vue text eol=lf 4 | *.css text eol=lf 5 | *.less text eol=lf 6 | -------------------------------------------------------------------------------- /.storybook/addons.js: -------------------------------------------------------------------------------- 1 | import '@storybook/addon-actions/register'; 2 | import '@storybook/addon-links/register'; 3 | import '@storybook/addon-storysource/register'; 4 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import Calendar from './calendar.vue'; 2 | 3 | export { Calendar }; 4 | export default { 5 | install(Vue) { 6 | Vue.component(Calendar.name, Calendar); 7 | } 8 | }; 9 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /storybook-static/main.486ab81dac22ee934147.bundle.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.486ab81dac22ee934147.bundle.js","sources":["webpack:///main.486ab81dac22ee934147.bundle.js"],"mappings":"AAAA","sourceRoot":""} -------------------------------------------------------------------------------- /dev/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import App from './App.vue'; 3 | 4 | /* eslint-disable no-new */ 5 | new Vue({ 6 | el: '#app', 7 | components: { 8 | App 9 | }, 10 | render: h => h(App) 11 | }); 12 | -------------------------------------------------------------------------------- /storybook-static/runtime~main.486ab81dac22ee934147.bundle.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"runtime~main.486ab81dac22ee934147.bundle.js","sources":["webpack:///runtime~main.486ab81dac22ee934147.bundle.js"],"mappings":"AAAA","sourceRoot":""} -------------------------------------------------------------------------------- /.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: { 5 | // to edit target browsers: use "browserslist" field in package.json 6 | autoprefixer: {}, 7 | }, 8 | }; 9 | -------------------------------------------------------------------------------- /tests/unit/storybook.spec.js: -------------------------------------------------------------------------------- 1 | import registerRequireContextHook from 'babel-plugin-require-context-hook/register'; 2 | import initStoryshots from '@storybook/addon-storyshots'; 3 | 4 | registerRequireContextHook(); 5 | initStoryshots(); 6 | -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = api => ({ 2 | ...(api.env('test') && { plugins: ['require-context-hook'] }), 3 | presets: [ 4 | ['@vue/app', { 5 | useBuiltIns: process.env.BABEL_BUILDIN ? 'usage' : false 6 | }] 7 | ] 8 | }); 9 | -------------------------------------------------------------------------------- /storybook-static/main.f2aaa14a3a83adcad582.bundle.js: -------------------------------------------------------------------------------- 1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{447:function(n,o,c){c(448),c(561),n.exports=c(936)},469:function(n,o){},561:function(n,o,c){"use strict";c.r(o);c(562),c(922),c(925)}},[[447,1,2]]]); -------------------------------------------------------------------------------- /dist/demo.html: -------------------------------------------------------------------------------- 1 | 2 |
Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.