@carbon/vue 2.14.0-canary.3 → 2.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/vue",
3
3
  "description": "A collection of components for the Carbon Design System built using Vue.js",
4
- "version": "2.14.0-canary.3",
4
+ "version": "2.14.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -72,5 +72,5 @@
72
72
  "babel-preset-env": "1.7.0",
73
73
  "vue-template-compiler": "^2.6.10"
74
74
  },
75
- "gitHead": "c18f4543b4d0f3a99d94186cb549d7d5c6aa5dc4"
75
+ "gitHead": "d1585de603e956cb32d56c2a201d9be3e13b5bd2"
76
76
  }
@@ -50,7 +50,7 @@
50
50
  :data-date-picker-input-to="kind === 'range'"
51
51
  ref="todate"
52
52
  />
53
- <Calendar16 class="bx--date-picker__icon" data-date-picker-icon @click="cal.open()" />
53
+ <Calendar16 class="bx--date-picker__icon" data-date-picker-icon @click="openTodateCal()" />
54
54
  </div>
55
55
  </div>
56
56
  </div>
@@ -160,7 +160,7 @@ export default {
160
160
  // _options.onValueUpdate = this.onChange;
161
161
 
162
162
  if (this.kind === 'range') {
163
- _options.plugins = [new RangePlugin({ input: this.$refs.todate })];
163
+ _options.plugins = [new RangePlugin({ input: this.$refs.todate, position: 'left' })];
164
164
  }
165
165
 
166
166
  return _options;
@@ -223,6 +223,9 @@ export default {
223
223
  }
224
224
  }
225
225
  },
226
+ openTodateCal() {
227
+ this.$refs.todate.click();
228
+ },
226
229
  },
227
230
  mounted() {
228
231
  if (['single', 'range'].includes(this.kind)) {