@carbon/vue 2.44.2 → 2.45.1

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.44.2",
4
+ "version": "2.45.1",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -57,23 +57,27 @@
57
57
  "scripts": {
58
58
  "build": "vue-cli-service build --target lib --name carbon-vue ./src/index.js --no-clean",
59
59
  "clean": "rimraf dist node_modules/.cache",
60
- "postinstall": "carbon-telemetry collect --install"
60
+ "postinstall": "carbon-telemetry collect --install",
61
+ "upgrade:dependencies": "run-s -s 'upgrade:dependencies:*'",
62
+ "upgrade:dependencies:carbon": "npm-check-updates -u --dep dev,peer,prod --filter '/carbon/' --target minor",
63
+ "upgrade:dependencies:other": "npm-check-updates -u --dep dev,peer,prod --color --reject '/(carbon|^vue$|^@vue)/'",
64
+ "upgrade:dependencies:yarn": "yarn set version latest"
61
65
  },
62
66
  "engines": {
63
67
  "node": ">=10.x"
64
68
  },
65
69
  "sideEffects": true,
66
70
  "dependencies": {
67
- "@carbon/icons-vue": "10.56.0",
71
+ "@carbon/icons-vue": "10.63.0",
68
72
  "@carbon/telemetry": "^0.1.0",
69
- "carbon-components": "10.58.0",
73
+ "carbon-components": "10.58.5",
70
74
  "flatpickr": "4.6.13",
71
75
  "vue": "^2.7.10"
72
76
  },
73
77
  "devDependencies": {
74
- "@vue/cli-service": "^3.12.1",
75
- "eslint-plugin-prettier": "^3.4.1",
76
- "vue-template-compiler": "^2.7.10"
78
+ "@vue/cli-service": "~4.5.19",
79
+ "eslint-plugin-prettier": "^4.2.1",
80
+ "vue-template-compiler": "^2.7.14"
77
81
  },
78
- "gitHead": "a680fe88936b6d711a40ad1d2b2a29bf1f5233c2"
82
+ "gitHead": "615311b8faab77997f768f38acee3d9a2a5e57dc"
79
83
  }
@@ -182,7 +182,7 @@ export default {
182
182
  this.updateOptions();
183
183
  },
184
184
  mounted() {
185
- this.filter = this.value;
185
+ this.internalUpdateValue(this.value);
186
186
  this.highlighted = this.value ? this.value : this.highlight; // override highlight with value if provided
187
187
  this.checkSlots();
188
188
  },
@@ -54,7 +54,7 @@
54
54
  :class="`${carbonPrefix}--search-input`"
55
55
  type="text"
56
56
  :id="uid"
57
- role="search"
57
+ role="searchbox"
58
58
  :placeholder="searchPlaceholder"
59
59
  :aria-labelledby="uid"
60
60
  ref="search"
@@ -25,7 +25,9 @@
25
25
  class="cv-modal__before-content"
26
26
  ref="beforeContent"
27
27
  tabindex="0"
28
- style="position: absolute; height: 1px; width: 1px; left: -9999px;"
28
+ style="position: absolute; height: 1px; width: 1px; left: -9999px"
29
+ role="separator"
30
+ aria-valuenow="0"
29
31
  @focus="focusBeforeContent"
30
32
  />
31
33
  <div :class="`${carbonPrefix}--modal-header`">
@@ -82,7 +84,9 @@
82
84
  class="cv-modal__after-content"
83
85
  ref="afterContent"
84
86
  tabindex="0"
85
- style="position: absolute; height: 1px; width: 1px; left: -9999px;"
87
+ style="position: absolute; height: 1px; width: 1px; left: -9999px"
88
+ role="separator"
89
+ aria-valuenow="1"
86
90
  @focus="focusAfterContent"
87
91
  />
88
92
  </div>
@@ -15,6 +15,7 @@
15
15
  :aria-expanded="open ? 'true' : 'false'"
16
16
  :aria-controls="`${uid}-menu`"
17
17
  :aria-labelledby="`${uid}`"
18
+ :aria-label="ariaLabel"
18
19
  :id="`${uid}-trigger`"
19
20
  ref="trigger"
20
21
  @click="doToggle"
@@ -76,6 +77,7 @@ export default {
76
77
  mixins: [uidMixin, carbonPrefixMixin, methodsMixin({ trigger: ['blur', 'focus'] })],
77
78
  props: {
78
79
  label: String,
80
+ ariaLabel: String,
79
81
  flipMenu: Boolean,
80
82
  up: Boolean,
81
83
  offset: {
@@ -59,6 +59,7 @@
59
59
  // eslint-disable-nextx-line
60
60
  selectedId == tab.uid ? 0 : -1
61
61
  "
62
+ type="button"
62
63
  >
63
64
  {{ tab.label }}
64
65
  </button>
@@ -28,6 +28,7 @@
28
28
  :aria-label="clearAriaLabel"
29
29
  @click.stop.prevent="onRemove"
30
30
  :disabled="disabled"
31
+ type="button"
31
32
  >
32
33
  <Close16 />
33
34
  </button>