Skip to content
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

Feature/add pagination first last pages #100

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
f100f59
Add export statement for breadcrumb component (#26)
ubaltaci May 11, 2018
dd0126c
Headings subtitle fix (#31)
DimitarChristoff May 15, 2018
f4110fd
removed the htmlFor prop on labels to allow nested label > input with…
DimitarChristoff May 15, 2018
7eb12d2
1.4.4
May 28, 2018
4d5c50b
use section element instead of div for Section component
May 28, 2018
9736a3b
1.4.5
May 28, 2018
c076cd9
Update heading.js (#33)
jdmg94 May 28, 2018
eb6d991
remove semicolon from sass files
Jun 4, 2018
69c8ede
Support for HTML5 number input (#40)
jdmg94 Jun 9, 2018
4356351
fix navbar storybook typo
Jun 12, 2018
ef82c68
add drop react 15 support to readme
Jun 12, 2018
77dc607
1.4.6
Jun 12, 2018
5348432
change prepublish to prepare (npm deprecated prepublish)
Jun 12, 2018
0c0073e
update readme
Jun 12, 2018
c055946
Update README.md (#42)
thetechdabbler Jun 16, 2018
3f4ca48
support for search HTML5 input type (#47)
jdmg94 Jun 21, 2018
dcda9be
add static class to static buttons (#46)
jdmg94 Jun 22, 2018
9ef400e
nodemon updated to 1.17.5 (#50)
Jun 22, 2018
ccc1b91
Icon doc update (#51)
Jun 22, 2018
cdce81b
update package-lock.json and remove out folders
Jun 23, 2018
c91905f
1.5.0
Jun 23, 2018
fed44bc
rounded prop added (#53)
Jun 24, 2018
c1db8f5
Added loading prop to Select component (#54)
jdmg94 Jun 27, 2018
407b161
Improve README (#59)
koddr Jul 2, 2018
d79a28b
change default button element from anchor to button
Jul 3, 2018
72e7456
Modified input component props to suport the number type (#63)
jdmg94 Jul 9, 2018
b13c961
Improve README (#69)
vestial Aug 16, 2018
5738f16
Upgrade dependencies and improve storybook docs
Jul 3, 2018
ba886f7
2.0.0-0
Jul 3, 2018
36ce308
Change navbar to be a controlled component
Jul 3, 2018
2c1832b
Stateless components
Jul 4, 2018
ab0af4e
Add bulma helpers (#62)
couds Jul 4, 2018
976811a
2.0.0-1
Jul 4, 2018
4128254
create component Element as a dummy component to use bulma helpers
Jul 5, 2018
79b5a6e
2.0.0-2
Jul 5, 2018
f8cf390
publish src folder
Jul 5, 2018
63c45ab
2.0.0-3
Jul 5, 2018
f366b8c
update navbar component
couds Jul 24, 2018
6026377
fix tests
couds Jul 24, 2018
c9b5a97
2.0.0-4
couds Jul 24, 2018
2a6732e
create helper to get classnames for html tag when navbar its fixed
couds Jul 24, 2018
b3fb1e7
2.0.0-5
couds Jul 24, 2018
890dfbf
Fix SSR of default build
Jul 25, 2018
d050948
avoid internally passing on close from Modal Card to Modal Card Head
couds Jul 30, 2018
cb271aa
2.0.0-6
couds Jul 30, 2018
809ab4e
2.0.0-7
couds Jul 30, 2018
3044cc4
fix test
couds Jul 30, 2018
7999cb0
2.0.0-8
couds Jul 30, 2018
3c121a6
remove unused snapshot
couds Jul 30, 2018
69175d5
2.0.0
couds Aug 16, 2018
68d3779
Add breaking changes to Readme
couds Aug 16, 2018
4354d40
2.0.1
couds Aug 16, 2018
c43e4cf
Include Gatsby webpack incantation (#75)
stefl Sep 2, 2018
22b618c
Add color, date propTypes to input (#80)
CodeDraken Sep 18, 2018
f5ff689
added Gatsby.js v2 webpack info to README.md (#82)
brandonratz Sep 25, 2018
9662f2b
refactor component to use Generic Element Fix #81 nad #86
couds Oct 4, 2018
90d9a11
Show real component name on storybook docs
couds Oct 4, 2018
d1fa20c
2.1.0
couds Oct 4, 2018
c239b1b
add `time` as possible type for Input (#92)
fritzvd Oct 9, 2018
d4c9374
change Input component to class (to enable ref for focus)
couds Oct 10, 2018
71e6902
2.2.0
couds Oct 10, 2018
4df317e
fix storybook
couds Oct 10, 2018
ee616a9
Fix #94 fix icon.sass file (remove ; from end on line)
couds Oct 12, 2018
6631be2
Added support for .buttons class (#95)
Oct 13, 2018
5cdf6b2
remove yarn.lock
couds Oct 13, 2018
090ae05
Add showFirstLast property
Oct 18, 2018
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
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ dist/**
full/**
lib/**
node_modules
reports
reports
*.story.js
9 changes: 3 additions & 6 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"extends": "airbnb",
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"jest": true
},
Expand All @@ -25,6 +20,7 @@
"import/prefer-default-export": 0,
"react/forbid-prop-types": 0,
"react/prefer-es6-class": ["error", "always"],
"react/destructuring-assignment": 0,
"max-len": 0,
"jsx-a11y/accessible-emoji": 0,
"jsx-a11y/label-has-for": 0,
Expand All @@ -36,7 +32,8 @@
"jsx-a11y/click-events-have-key-events": 0,
"function-paren-newline": 0,
"jsx-a11y/anchor-is-valid": 0,
"object-curly-newline": 0
"object-curly-newline": 0,
"react/forbid-foreign-prop-types": 0
},
"globals": {
"document": true,
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ build/Release
node_modules/
jspm_packages/

# JetBrains IDE config
.idea/

# Typescript v1 declaration files
typings/

Expand All @@ -60,6 +63,7 @@ typings/
.DS_Store

.out
out*

/reports
/dist
Expand Down
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
.storybook
docs
node_modules
src
.babelrc
.eslint*
.git*
Expand Down
14 changes: 7 additions & 7 deletions .storybook/addons.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import '@storybook/addon-options/register';
import '@storybook/addon-storysource/register';
// import '@storybook/addon-actions/register';
// import '@storybook/addon-links/register';
// import '@storybook/addon-events/register';
// import '@storybook/addon-knobs/register';
// import '@storybook/addon-backgrounds/register';
// import '@storybook/addon-a11y/register';
// import '@storybook/addon-jest/register';
import '@storybook/addon-links/register';
import '@storybook/addon-events/register';
import '@storybook/addon-options/register';
import '@storybook/addon-knobs/register';
import '@storybook/addon-a11y/register';
import '@storybook/addon-viewport/register';
40 changes: 23 additions & 17 deletions .storybook/config.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
import { configure, setAddon } from '@storybook/react';
import React from 'react';
import { configure, addDecorator } from '@storybook/react';
import { setOptions } from '@storybook/addon-options';
import { withInfo } from '@storybook/addon-info';
import { select, withKnobs } from '@storybook/addon-knobs';
import { configureViewport, INITIAL_VIEWPORTS } from '@storybook/addon-viewport';
import extraViewports from './extra-viewports.json';

// deprecated usage of infoAddon
import infoAddon from '@storybook/addon-info';
import 'index.sass';

setOptions({
name: 'React Bulma Components',
url: 'https://github.com/couds/react-bulma-components',
goFullScreen: false,
showStoriesPanel: true,
showAddonPanel: false,
showSearchBox: false,
addonPanelInRight: false,
sortStoriesByKind: false,
hierarchySeparator: /\/|\./,
showAddonPanel: true,
});

// deprecated usage of infoAddon
setAddon(infoAddon);
addDecorator(withKnobs);

require('../src');
addDecorator(withInfo({
source: false,
}));

// automatically import all story js files that end with *.stories.js
const req = require.context('../src', true, /\.story\.js$/)
configureViewport({
viewports: {
...INITIAL_VIEWPORTS,
...extraViewports,
},
});

// automatically import all files ending in *.stories.js
const req = require.context('../src', true, /.story.js$/);
function loadStories() {
req.keys().forEach((filename) => req(filename))
req.keys().forEach(filename => req(filename));
}

configure(loadStories, module);
configure(loadStories, module);
18 changes: 18 additions & 0 deletions .storybook/extra-viewports.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"kindleFire2": {
"name": "Kindle Fire 2",
"styles": {
"width": "600px",
"height": "963px"
},
"type": "tablet"
},
"kindleFireHD": {
"name": "Kindle Fire HD",
"styles": {
"width": "533px",
"height": "801px"
},
"type": "tablet"
}
}
5 changes: 1 addition & 4 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,13 @@

html {
box-sizing: border-box;
background: transparent !important;
}

* {
box-sizing: inherit;
}

div.button-display .button:not(.is-fullwidth) {
margin: 5px;
}

.bd-notification {
background-color: whitesmoke;
border-radius: 3px;
Expand Down
66 changes: 40 additions & 26 deletions .storybook/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,43 @@
// you can use this file to add your custom webpack plugins, loaders and anything you like.
// This is just the basic way to add additional webpack configurations.
// For more information refer the docs: https://storybook.js.org/configurations/custom-webpack-config

// IMPORTANT
// When you add this file, we won't add the default configurations which is similar
// to "React Create App". This only has babel loader to load JavaScript.

const path = require('path');
const { DefinePlugin } = require('webpack');

module.exports = {
plugins: [
// your custom plugins
],
module: {
rules: [
{
test: /\.s(c|a)ss$/,
loader: 'style-loader!css-loader!sass-loader',
},
],
},
resolve: {
modules: ['node_modules', 'src'],
alias: {
'_variables.sass': path.resolve(__dirname, '..', 'src/components/_variables.sass'),

module.exports = (baseConfig, env, defaultConfig) => {
const config = ({
...defaultConfig,
mode: 'development',
module: {
...defaultConfig.module,
rules: [
{
test: /\.story\.js?$/,
loaders: [require.resolve('@storybook/addon-storysource/loader')],
enforce: 'pre',
},
{
test: /\.s[ca]ss$/,
loader: 'style-loader!css-loader!resolve-url-loader!sass-loader',
},
...defaultConfig.module.rules,
],
},
resolve: {
...defaultConfig.resolve,
modules: ['node_modules', 'src', ...defaultConfig.resolve.modules],
alias: {
...defaultConfig.resolve.alias,
'~_variables.sass': path.resolve(__dirname, '../src/components/_variables.sass'),
'react-bulma-components/lib': path.resolve(__dirname, '../src'),
}
// https://github.com/graphql/graphql-js#using-in-a-browser
},
},
};
plugins: [
...defaultConfig.plugins,
// graphql sources check process variable
new DefinePlugin({
process: JSON.stringify(true),
}),
],
});
return config;
};
Loading