Skip to content

Added getScrollDate() to retrieve the current date from the top of th… #131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/coverage
/demo/dist
/es
/lib
/node_modules
/umd
npm-debug.log*
3 changes: 3 additions & 0 deletions .storybook/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
presets: ["stage-0", "react"],
}
2 changes: 1 addition & 1 deletion .storybook/addons.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import '@kadira/storybook-addon-options/register';
import '@storybook/addon-options/register';
11 changes: 6 additions & 5 deletions .storybook/config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import {configure} from '@kadira/storybook';
import {setOptions} from '@kadira/storybook-addon-options';
import {configure} from '@storybook/react';
import {setOptions} from '@storybook/addon-options';

setOptions({
/* eslint-disable sort-keys */
name: 'INFINITE CALENDAR',
url: 'https://github.com/clauderic/react-infinite-calendar',
goFullScreen: false,
showLeftPanel: true,
showDownPanel: false,
showStoriesPanel: true,
showAddonPanel: false,
showSearchBox: false,
downPanelInRight: false,
addonPanelInRight: false,
sortStoriesByKind: false,
});

Expand Down
33 changes: 23 additions & 10 deletions .storybook/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
// const path = require('path');
// const includePath = path.resolve(__dirname, '..');
const ExtractTextPlugin = require("extract-text-webpack-plugin");

module.exports = {
module: {
loaders: [
{
test: /(\.scss)$/,
loaders: [
'style',
'css?sourceMap&modules&importLoaders=1&localIdentName=[name]__[local]',
'sass?sourceMap'
]
}
]
rules: [
{
test: /\.scss$/,
use: [{
loader: "style-loader" // creates style nodes from JS strings
}, {
loader: "css-loader", // translates CSS into CommonJS
options: {
sourceMap: true,
modules: true,
localIdentName: '[name]__[local]'
}
}, {
loader: "sass-loader", // compiles Sass to CSS
options: {
sourceMap: true
}
}]
}]
}
};
Loading