Skip to content

Commit

Permalink
Merge branch 'release/0.3.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamindavid committed Apr 4, 2019
2 parents 23a805b + dffbfcf commit 1658809
Show file tree
Hide file tree
Showing 12 changed files with 72 additions and 66 deletions.
2 changes: 1 addition & 1 deletion dist/craftui.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ var __vue_render__$8 = function () {var _vm=this;var _h=_vm.$createElement;var _
'w-full': !_vm.size,
'is-invalid': _vm.errors && _vm.errors.length > 0,
'text-red-dark': _vm.max && _vm.max < this.value.length
},attrs:{"autocapitalize":_vm.autocapitalize,"autocomplete":_vm.autocomplete,"autofocus":_vm.autofocus,"cols":_vm.computedCols,"disabled":_vm.disabled,"id":_vm.id,"mask":_vm.mask,"max":_vm.max,"min":_vm.min,"name":_vm.name,"pattern":_vm.pattern,"placeholder":_vm.placeholder,"readonly":_vm.readonly,"rows":_vm.computedRows,"size":_vm.size,"spellcheck":_vm.spellcheck,"step":_vm.step,"type":_vm.computedType,"value":_vm.value},on:{"blur":function($event){return _vm.$emit('blur', $event)},"focus":function($event){return _vm.$emit('focus', $event.target.value)},"change":function($event){return _vm.$emit('change', $event)},"input":function($event){return _vm.$emit('input', $event.target.value)},"keydown":function($event){return _vm.$emit('keydown', $event)},"keypress":function($event){return _vm.$emit('keypress', $event)},"keyup":function($event){return _vm.$emit('keyup', $event)}}}),_vm._v(" "),(_vm.max)?_c('p',{staticClass:"max",class:{
},attrs:{"autocapitalize":_vm.autocapitalize,"autocomplete":_vm.autocomplete,"autofocus":_vm.autofocus,"cols":_vm.computedCols,"disabled":_vm.disabled,"id":_vm.id,"mask":_vm.mask,"max":_vm.max,"min":_vm.min,"name":_vm.name,"pattern":_vm.pattern,"placeholder":_vm.placeholder,"readonly":_vm.readonly,"rows":_vm.computedRows,"size":_vm.size,"spellcheck":_vm.spellcheck,"step":_vm.step,"type":_vm.computedType,"value":_vm.value},on:{"blur":function($event){return _vm.$emit('blur', $event)},"focus":function($event){return _vm.$emit('focus', $event.target.value)},"change":function($event){return _vm.$emit('change', $event)},"input":function($event){return _vm.$emit('input', $event.target.value)},"keydown":function($event){return _vm.$emit('keydown', $event)},"keypress":function($event){return _vm.$emit('keypress', $event)},"keyup":function($event){return _vm.$emit('keyup', $event)}}},[(_vm.type === 'textarea')?[_vm._v(_vm._s(_vm.value))]:_vm._e()],2),_vm._v(" "),(_vm.max)?_c('p',{staticClass:"max",class:{
'text-grey': _vm.remainingChars >= 20,
'text-orange': _vm.remainingChars < 20 && _vm.remainingChars >= 0,
'text-red': _vm.remainingChars < 0
Expand Down
110 changes: 55 additions & 55 deletions dist/craftui.css
Original file line number Diff line number Diff line change
Expand Up @@ -923,19 +923,6 @@ body.rtl .c-checkbox input {
height: 4rem;
}

body.ltr .c-radio input {
margin-right: .5rem;
}

body.rtl .c-radio input {
margin-left: .5rem;
}

.c-radio .instructions {
color: #8795a1;
font-size: .875rem;
}

.c-lightswitch .c-lightswitch-input label {
position: relative;
display: block;
Expand Down Expand Up @@ -1014,6 +1001,61 @@ body.rtl .c-lightswitch .c-lightswitch-input label .slider:before {
cursor: default;
}

body.ltr .c-radio input {
margin-right: .5rem;
}

body.rtl .c-radio input {
margin-left: .5rem;
}

.c-radio .instructions {
color: #8795a1;
font-size: .875rem;
}

.c-textbox .wrapper {
position: relative;
}

.c-textbox .wrapper input.c-textbox.w-full {
width: 100%;
}

.c-textbox .wrapper .text-red-dark {
color: #cc1f1a;
}

.c-textbox .wrapper .max {
margin-top: .5rem;
}

body.ltr .c-textbox .wrapper .max {
padding-right: .25rem;
}

body.rtl .c-textbox .wrapper .max {
padding-left: .25rem;
}

.c-textbox .wrapper .max.floating {
position: absolute;
font-size: .75rem;
text-align: right;
}

.c-textbox .wrapper .max.text-grey {
color: #b8c2cc;
}

.c-textbox .wrapper .max.text-orange {
color: #f6993f;
}

.c-textbox .wrapper .max.text-red {
color: #e3342f;
}

.c-spinner {
display: inline-block;
}
Expand Down Expand Up @@ -1065,45 +1107,3 @@ body.rtl .c-lightswitch .c-lightswitch-input label .slider:before {
transform: rotate(1turn);
}
}

.c-textbox .wrapper {
position: relative;
}

.c-textbox .wrapper input.c-textbox.w-full {
width: 100%;
}

.c-textbox .wrapper .text-red-dark {
color: #cc1f1a;
}

.c-textbox .wrapper .max {
margin-top: .5rem;
}

body.ltr .c-textbox .wrapper .max {
padding-right: .25rem;
}

body.rtl .c-textbox .wrapper .max {
padding-left: .25rem;
}

.c-textbox .wrapper .max.floating {
position: absolute;
font-size: .75rem;
text-align: right;
}

.c-textbox .wrapper .max.text-grey {
color: #b8c2cc;
}

.c-textbox .wrapper .max.text-orange {
color: #f6993f;
}

.c-textbox .wrapper .max.text-red {
color: #e3342f;
}
2 changes: 1 addition & 1 deletion dist/craftui.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ var __vue_render__$8 = function () {var _vm=this;var _h=_vm.$createElement;var _
'w-full': !_vm.size,
'is-invalid': _vm.errors && _vm.errors.length > 0,
'text-red-dark': _vm.max && _vm.max < this.value.length
},attrs:{"autocapitalize":_vm.autocapitalize,"autocomplete":_vm.autocomplete,"autofocus":_vm.autofocus,"cols":_vm.computedCols,"disabled":_vm.disabled,"id":_vm.id,"mask":_vm.mask,"max":_vm.max,"min":_vm.min,"name":_vm.name,"pattern":_vm.pattern,"placeholder":_vm.placeholder,"readonly":_vm.readonly,"rows":_vm.computedRows,"size":_vm.size,"spellcheck":_vm.spellcheck,"step":_vm.step,"type":_vm.computedType,"value":_vm.value},on:{"blur":function($event){return _vm.$emit('blur', $event)},"focus":function($event){return _vm.$emit('focus', $event.target.value)},"change":function($event){return _vm.$emit('change', $event)},"input":function($event){return _vm.$emit('input', $event.target.value)},"keydown":function($event){return _vm.$emit('keydown', $event)},"keypress":function($event){return _vm.$emit('keypress', $event)},"keyup":function($event){return _vm.$emit('keyup', $event)}}}),_vm._v(" "),(_vm.max)?_c('p',{staticClass:"max",class:{
},attrs:{"autocapitalize":_vm.autocapitalize,"autocomplete":_vm.autocomplete,"autofocus":_vm.autofocus,"cols":_vm.computedCols,"disabled":_vm.disabled,"id":_vm.id,"mask":_vm.mask,"max":_vm.max,"min":_vm.min,"name":_vm.name,"pattern":_vm.pattern,"placeholder":_vm.placeholder,"readonly":_vm.readonly,"rows":_vm.computedRows,"size":_vm.size,"spellcheck":_vm.spellcheck,"step":_vm.step,"type":_vm.computedType,"value":_vm.value},on:{"blur":function($event){return _vm.$emit('blur', $event)},"focus":function($event){return _vm.$emit('focus', $event.target.value)},"change":function($event){return _vm.$emit('change', $event)},"input":function($event){return _vm.$emit('input', $event.target.value)},"keydown":function($event){return _vm.$emit('keydown', $event)},"keypress":function($event){return _vm.$emit('keypress', $event)},"keyup":function($event){return _vm.$emit('keyup', $event)}}},[(_vm.type === 'textarea')?[_vm._v(_vm._s(_vm.value))]:_vm._e()],2),_vm._v(" "),(_vm.max)?_c('p',{staticClass:"max",class:{
'text-grey': _vm.remainingChars >= 20,
'text-orange': _vm.remainingChars < 20 && _vm.remainingChars >= 0,
'text-red': _vm.remainingChars < 0
Expand Down
2 changes: 1 addition & 1 deletion dist/craftui.js
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@
'w-full': !_vm.size,
'is-invalid': _vm.errors && _vm.errors.length > 0,
'text-red-dark': _vm.max && _vm.max < this.value.length
},attrs:{"autocapitalize":_vm.autocapitalize,"autocomplete":_vm.autocomplete,"autofocus":_vm.autofocus,"cols":_vm.computedCols,"disabled":_vm.disabled,"id":_vm.id,"mask":_vm.mask,"max":_vm.max,"min":_vm.min,"name":_vm.name,"pattern":_vm.pattern,"placeholder":_vm.placeholder,"readonly":_vm.readonly,"rows":_vm.computedRows,"size":_vm.size,"spellcheck":_vm.spellcheck,"step":_vm.step,"type":_vm.computedType,"value":_vm.value},on:{"blur":function($event){return _vm.$emit('blur', $event)},"focus":function($event){return _vm.$emit('focus', $event.target.value)},"change":function($event){return _vm.$emit('change', $event)},"input":function($event){return _vm.$emit('input', $event.target.value)},"keydown":function($event){return _vm.$emit('keydown', $event)},"keypress":function($event){return _vm.$emit('keypress', $event)},"keyup":function($event){return _vm.$emit('keyup', $event)}}}),_vm._v(" "),(_vm.max)?_c('p',{staticClass:"max",class:{
},attrs:{"autocapitalize":_vm.autocapitalize,"autocomplete":_vm.autocomplete,"autofocus":_vm.autofocus,"cols":_vm.computedCols,"disabled":_vm.disabled,"id":_vm.id,"mask":_vm.mask,"max":_vm.max,"min":_vm.min,"name":_vm.name,"pattern":_vm.pattern,"placeholder":_vm.placeholder,"readonly":_vm.readonly,"rows":_vm.computedRows,"size":_vm.size,"spellcheck":_vm.spellcheck,"step":_vm.step,"type":_vm.computedType,"value":_vm.value},on:{"blur":function($event){return _vm.$emit('blur', $event)},"focus":function($event){return _vm.$emit('focus', $event.target.value)},"change":function($event){return _vm.$emit('change', $event)},"input":function($event){return _vm.$emit('input', $event.target.value)},"keydown":function($event){return _vm.$emit('keydown', $event)},"keypress":function($event){return _vm.$emit('keypress', $event)},"keyup":function($event){return _vm.$emit('keyup', $event)}}},[(_vm.type === 'textarea')?[_vm._v(_vm._s(_vm.value))]:_vm._e()],2),_vm._v(" "),(_vm.max)?_c('p',{staticClass:"max",class:{
'text-grey': _vm.remainingChars >= 20,
'text-orange': _vm.remainingChars < 20 && _vm.remainingChars >= 0,
'text-red': _vm.remainingChars < 0
Expand Down
2 changes: 1 addition & 1 deletion dist/craftui.min.css

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

Loading

0 comments on commit 1658809

Please sign in to comment.