Skip to content

Commit

Permalink
Updated dependencies and fixed issue with CMS tree filter
Browse files Browse the repository at this point in the history
  • Loading branch information
colintucker committed Jun 15, 2017
1 parent cbd8711 commit 1d26487
Show file tree
Hide file tree
Showing 9 changed files with 245 additions and 186 deletions.
4 changes: 2 additions & 2 deletions _config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
Name: silverware-datepicker
---

# Configure Admin Extensions:
# Configure Admin Requirements:

SilverStripe\Admin\LeftAndMain:
extra_requirements_css:
- silverware-datepicker/client/dist/styles/bundle.css
extra_requirements_javascript:
- silverware-datepicker/client/dist/js/bundle.js

# Configure DateField Extensions:
# Configure Date Field:

SilverStripe\Forms\DateField:
extensions:
Expand Down
2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/dist/styles/bundle.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/src/styles/bundle.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* SilverWare Datepicker Bundle
===================================================================================================================== */

// Import Variables:
// Import Local Variables:

@import "variables";

Expand Down
12 changes: 12 additions & 0 deletions client/src/styles/forms/DateFieldPolyfill.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@

}

table {

width: 100%;
margin: 0;

td {
font-size: 1em;
border-bottom: 0;
}

}

td:hover {
background: $background-hover-days none;
}
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
],
"require": {
"php": ">=5.6.0",
"silverstripe/framework": "^4.0@dev"
"silverstripe/framework": "^4@dev"
},
"autoload": {
"psr-4": {
Expand All @@ -31,7 +31,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "0.1.x-dev"
"dev-master": "1.0.x-dev"
},
"installer-name": "silverware-datepicker"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "silverware-datepicker",
"version": "0.1.0",
"version": "1.0.0",
"description": "SilverWare Datepicker Module.",
"homepage": "https://github.com/praxisnetau/silverware-datepicker",
"keywords": [
Expand Down
5 changes: 2 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const style = (env, loaders) => {
return (env === 'production') ? ExtractTextPlugin.extract({
fallback: 'style-loader',
use: loaders
}) : ['style-loader'].concat(loaders);
}) : [{ loader: 'style-loader' }].concat(loaders);
};

// Configure Rules:
Expand Down Expand Up @@ -161,8 +161,7 @@ const config = (env) => {
]
},
externals: {
jquery: 'jQuery',
jQuery: 'jQuery'
jquery: 'jQuery'
}
}
];
Expand Down
Loading

0 comments on commit 1d26487

Please sign in to comment.