File tree Expand file tree Collapse file tree 7 files changed +1133
-985
lines changed Expand file tree Collapse file tree 7 files changed +1133
-985
lines changed Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file.
44
5+ ### 1.0.8 - (2019-02-15)
6+
7+ * fix(d-slider): add nouislider keyboard support
8+
59### 1.0.7 - (2019-01-20)
610
7- * fix(d-textarea): fix(d-textarea): dynamic height based on max-rows #12
11+ * fix(d-textarea): dynamic height based on max-rows #12
812
913### 1.0.6 - (2018-11-20)
1014
Original file line number Diff line number Diff line change 11{
22 "name" : " shards-vue" ,
3- "version" : " 1.0.7 " ,
3+ "version" : " 1.0.8 " ,
44 "license" : " MIT" ,
55 "description" : " A free, beautiful and modern Vue.js UI kit based on the Shards UI kit." ,
66 "main" : " dist/shards-vue.common.js" ,
8383 }
8484 ],
8585 "dependencies" : {
86- "bootstrap" : " ^4.1.3 " ,
87- "shards-ui" : " ^2.1 .0" ,
86+ "bootstrap" : " ^4.6.1 " ,
87+ "shards-ui" : " ^3.0 .0" ,
8888 "lodash.xor" : " ^4.5.0" ,
89- "nouislider" : " ^11 .1.0 " ,
89+ "nouislider" : " ^13 .1.1 " ,
9090 "popper.js" : " ^1.14.4" ,
91- "vue-clickaway " : " ^2 .2.2 " ,
91+ "vue3-click-away " : " ^1 .2.1 " ,
9292 "vuejs-datepicker" : " ^1.5.3"
9393 },
9494 "devDependencies" : {
Original file line number Diff line number Diff line change 11<template >
22 <textarea
33 ref =" input"
4+ v-model =" localValue"
45 :class =" [
56 plaintext ? 'form-control-plaintext' : 'form-control',
67 plaintext ? 'w-100' : '',
1920 :wrap =" wrap"
2021 :aria-required =" required ? 'true' : null"
2122 :aria-invalid =" computedAriaInvalid"
22- @input =" handleInput"
2323 ></textarea >
2424</template >
2525
@@ -34,6 +34,13 @@ export default {
3434 };
3535 },
3636 props: {
37+ /**
38+ * The element value.
39+ */
40+ value: {
41+ type: String ,
42+ default: ' '
43+ },
3744 /**
3845 * The element name.
3946 */
@@ -241,10 +248,5 @@ export default {
241248 }
242249 }
243250 },
244- methods: {
245- handleInput (e ) {
246- this .localValue = e .target .value ;
247- }
248- }
249251};
250252 </script >
Original file line number Diff line number Diff line change 1111 disabled ? 'disabled' : ''
1212 ]"
1313 :aria-disabled =" computedAriaDisabled"
14- @click.native =" handleClick" >
14+ @click =" handleClick" >
1515 <slot >Link</slot >
1616 </component >
1717</template >
Original file line number Diff line number Diff line change @@ -56,11 +56,18 @@ export default {
5656 centered: {
5757 type: Boolean ,
5858 default: false
59- }
59+ },
60+ /**
61+ * No close on backdrop click.
62+ */
63+ noCloseOnBackdrop: {
64+ type: Boolean ,
65+ default: false
66+ },
6067 },
6168 methods: {
6269 away () {
63- if (this .noBackdrop ) {
70+ if (this .noBackdrop || this . noCloseOnBackdrop ) {
6471 return ;
6572 }
6673
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ export default {
9292
9393 noUiSlider .create (this .$el , config)
9494
95- this .$el .noUiSlider .on (' slide ' , () => {
95+ this .$el .noUiSlider .on (' update ' , () => {
9696 const value = this .$el .noUiSlider .get ()
9797 if (value !== this .value ) {
9898 this .$emit (' input' , value)
You can’t perform that action at this time.
0 commit comments