Skip to content

Commit 1fb5f7e

Browse files
committed
Version 2.4.5
2 parents 6033da4 + fa0be59 commit 1fb5f7e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+675
-234
lines changed

.sass-lint.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
rules:
2+
property-sort-order: [0]
3+
force-pseudo-nesting: [0]
4+
force-element-nesting: [0]
5+
force-attribute-nesting: [0]
6+
no-important: [0]
7+
no-qualifying-elements: [0]
8+
shorthand-values: [1, {allowed-shorthands: [1, 2, 4]}]
9+
hex-notation: [1, {style: uppercase}]

.scss-lint.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ language: node_js
22
node_js:
33
- "5"
44
before_install:
5-
- gem install sass
6-
- gem install scss_lint -v 0.49.0
75
- npm install -g grunt-cli
86
- npm install -g bower
97
before_script:

Gruntfile.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var cleanLn = require('./build/cleanLn');
66
module.exports = function(grunt) {
77
require('time-grunt')(grunt);
88
require('jit-grunt')(grunt, {
9-
scsslint: 'grunt-scss-lint',
9+
sasslint: 'grunt-sass-lint',
1010
sass_injection: 'grunt-sass-injection',
1111
usebanner: 'grunt-banner'
1212
});
@@ -177,7 +177,7 @@ module.exports = function(grunt) {
177177
wrap: {
178178
js: {
179179
src: ['dist/js/query-builder.js'],
180-
dest: '',
180+
dest: 'dist/js/query-builder.js',
181181
options: {
182182
separator: '',
183183
wrapper: function() {
@@ -217,8 +217,8 @@ module.exports = function(grunt) {
217217
// parse scss
218218
sass: {
219219
options: {
220-
sourcemap: 'none',
221-
style: 'expanded'
220+
sourceMap: false,
221+
outputStyle: 'expanded'
222222
},
223223
dist: {
224224
files: [{
@@ -293,11 +293,10 @@ module.exports = function(grunt) {
293293
},
294294

295295
// scss tests
296-
scsslint: {
296+
sasslint: {
297297
lib: {
298298
options: {
299-
colorizeOutput: true,
300-
config: '.scss-lint.yml'
299+
configFile: '.sass-lint.yml'
301300
},
302301
src: ['src/**/*.scss']
303302
}
@@ -410,7 +409,7 @@ module.exports = function(grunt) {
410409
grunt.registerTask('test', [
411410
'jshint',
412411
'jscs',
413-
'scsslint',
412+
'sasslint',
414413
'build_lang',
415414
'build_css',
416415
'injector:testSrc',

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Bower version](https://img.shields.io/bower/v/jQuery-QueryBuilder.svg?style=flat-square)](http://querybuilder.js.org)
44
[![npm version](https://img.shields.io/npm/v/jQuery-QueryBuilder.svg?style=flat-square)](https://www.npmjs.com/package/jQuery-QueryBuilder)
5-
[![CDN](https://img.shields.io/badge/cdn-jsdelivr-%23EB4C36.svg?style=flat-square)](http://www.jsdelivr.com/projects/jquery.query-builder)
5+
[![jsDelivr CDN](https://data.jsdelivr.com/v1/package/npm/jQuery-QueryBuilder/badge)](https://www.jsdelivr.com/package/npm/jQuery-QueryBuilder)
66
[![Build Status](https://img.shields.io/travis/mistic100/jQuery-QueryBuilder.svg?style=flat-square)](https://travis-ci.org/mistic100/jQuery-QueryBuilder)
77
[![Coverage Status](https://img.shields.io/coveralls/mistic100/jQuery-QueryBuilder/master.svg?style=flat-square)](https://coveralls.io/r/mistic100/jQuery-QueryBuilder)
88

@@ -37,8 +37,7 @@ $ npm install jQuery-QueryBuilder
3737

3838
#### Via CDN
3939

40-
jQuery-QueryBuilder is available on [jsDelivr](https://cdn.jsdelivr.net/npm/jQuery-QueryBuilder/dist/) and [unpkg](https://unpkg.com/jQuery-QueryBuilder/dist/))
41-
40+
jQuery-QueryBuilder is available on [jsDelivr](https://www.jsdelivr.com/package/npm/jQuery-QueryBuilder).
4241
### Dependencies
4342
* jQuery >= 1.10
4443
* Bootstrap >= 3.1 (CSS only)
@@ -60,10 +59,8 @@ jQuery-QueryBuilder is available on [jsDelivr](https://cdn.jsdelivr.net/npm/jQue
6059
#### Prerequisites
6160

6261
* NodeJS + NPM: `apt-get install nodejs-legacy npm`
63-
* Ruby Dev: `apt-get install ruby-dev`
6462
* Grunt CLI: `npm install -g grunt-cli`
6563
* Bower: `npm install -g bower`
66-
* SASS: `gem install sass`
6764

6865
#### Run
6966

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
],
1515
"dependencies": {
1616
"jquery": ">=1.9.0",
17-
"bootstrap": ">=3.1.0",
17+
"bootstrap": ">=3.1.0 <4",
1818
"moment": ">=2.6.0",
1919
"jquery-extendext": ">=0.1.2",
2020
"doT": ">=1.0.3"

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mistic100/jquery-querybuilder",
3-
"version": "2.4.2",
3+
"version": "2.4.5",
44
"authors": [{
55
"name": "Damien \"Mistic\" Sorel",
66
"email": "contact@git.strangeplanet.fr",
@@ -11,7 +11,7 @@
1111
"robloach/component-installer": "*",
1212
"components/jquery": ">=1.9.0",
1313
"moment/moment": ">=2.6.0",
14-
"components/bootstrap": ">=3.1.0"
14+
"components/bootstrap": ">=3.1.0 <4"
1515
},
1616
"keywords": [
1717
"jquery",

dist/css/query-builder.dark.css

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* jQuery QueryBuilder 2.4.4
2+
* jQuery QueryBuilder 2.4.5
33
* Copyright 2014-2017 Damien "Mistic" Sorel (http://www.strangeplanet.fr)
44
* Licensed under MIT (http://opensource.org/licenses/MIT)
55
*/
@@ -26,11 +26,13 @@
2626
border: 1px solid #00164A;
2727
background: rgba(50, 70, 80, 0.5);
2828
}
29+
2930
.query-builder .rules-group-header {
3031
margin-bottom: 10px;
3132
}
33+
3234
.query-builder .rules-group-header .group-conditions .btn.readonly:not(.active),
33-
.query-builder .rules-group-header .group-conditions input[name$=_cond] {
35+
.query-builder .rules-group-header .group-conditions input[name$='_cond'] {
3436
border: 0;
3537
clip: rect(0 0 0 0);
3638
height: 1px;
@@ -41,40 +43,52 @@
4143
width: 1px;
4244
white-space: nowrap;
4345
}
46+
4447
.query-builder .rules-group-header .group-conditions .btn.readonly {
4548
border-radius: 3px;
4649
}
50+
4751
.query-builder .rules-list {
4852
list-style: none;
4953
padding: 0 0 0 15px;
5054
margin: 0;
5155
}
56+
5257
.query-builder .rule-value-container {
5358
border-left: 1px solid #DDD;
5459
padding-left: 5px;
5560
}
61+
5662
.query-builder .rule-value-container label {
5763
margin-bottom: 0;
5864
font-weight: normal;
5965
}
66+
6067
.query-builder .rule-value-container label.block {
6168
display: block;
6269
}
63-
.query-builder .rule-value-container select, .query-builder .rule-value-container input[type=text], .query-builder .rule-value-container input[type=number] {
70+
71+
.query-builder .rule-value-container select,
72+
.query-builder .rule-value-container input[type='text'],
73+
.query-builder .rule-value-container input[type='number'] {
6474
padding: 1px;
6575
}
76+
6677
.query-builder .error-container {
6778
display: none;
6879
cursor: help;
6980
color: #F00;
7081
}
82+
7183
.query-builder .has-error {
7284
background-color: #322;
7385
border-color: #800;
7486
}
87+
7588
.query-builder .has-error .error-container {
7689
display: inline-block !important;
7790
}
91+
7892
.query-builder .rules-list > *::before, .query-builder .rules-list > *::after {
7993
content: '';
8094
position: absolute;
@@ -84,29 +98,35 @@
8498
border-color: #222;
8599
border-style: solid;
86100
}
101+
87102
.query-builder .rules-list > *::before {
88103
top: -4px;
89104
border-width: 0 0 2px 2px;
90105
}
106+
91107
.query-builder .rules-list > *::after {
92108
top: 50%;
93109
border-width: 0 0 0 2px;
94110
}
111+
95112
.query-builder .rules-list > *:first-child::before {
96113
top: -12px;
97114
height: calc(50% + 14px);
98115
}
116+
99117
.query-builder .rules-list > *:last-child::before {
100118
border-radius: 0 0 0 4px;
101119
}
120+
102121
.query-builder .rules-list > *:last-child::after {
103122
display: none;
104123
}
105124

106-
.query-builder.bt-checkbox-glyphicons .checkbox input[type=checkbox]:checked + label::after {
125+
.query-builder.bt-checkbox-glyphicons .checkbox input[type='checkbox']:checked + label::after {
107126
font-family: 'Glyphicons Halflings';
108127
content: '\e013';
109128
}
129+
110130
.query-builder.bt-checkbox-glyphicons .checkbox label::after {
111131
padding-left: 4px;
112132
padding-top: 2px;
@@ -136,14 +156,17 @@
136156
vertical-align: middle;
137157
margin-left: 5px;
138158
}
159+
139160
.query-builder .dragging {
140161
position: fixed;
141162
opacity: .5;
142163
z-index: 100;
143164
}
165+
144166
.query-builder .dragging::before, .query-builder .dragging::after {
145167
display: none;
146168
}
169+
147170
.query-builder .rule-placeholder {
148171
border: 1px dashed #BBB;
149172
opacity: .7;

dist/css/query-builder.dark.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)