comand-component-library 3.1.99 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comand-component-library",
3
- "version": "3.1.99",
3
+ "version": "3.2.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -3,7 +3,7 @@
3
3
  <div v-if="showFancyBox"
4
4
  :class="['cmd-fancybox', {'show-overlay': showOverlay}]"
5
5
  role="dialog"
6
- :aria-labelledby="htmlId">
6
+ :aria-labelledby="ariaLabelText">
7
7
  <div class="popup" :class="{'image' : fancyBoxImageUrl || fancyBoxGallery }">
8
8
  <!-- begin print buttons -->
9
9
  <div class="button-wrapper no-flex"
@@ -127,6 +127,15 @@
127
127
  }
128
128
  },
129
129
  props: {
130
+ /**
131
+ * sets aria-label-text on component
132
+ *
133
+ * @requiredForAccessibility: true
134
+ */
135
+ ariaLabelText: {
136
+ type: String,
137
+ required: true
138
+ },
130
139
  /**
131
140
  * set if content should be loaded by url
132
141
  */
@@ -1,4 +1,14 @@
1
1
  {
2
+ "ariaLabelText": {
3
+ "comments": [
4
+ "sets aria-label-text on component"
5
+ ],
6
+ "annotations": {
7
+ "requiredForAccessibility": [
8
+ "true"
9
+ ]
10
+ }
11
+ },
2
12
  "url": {
3
13
  "comments": [
4
14
  "set if content should be loaded by url"