@opentinyvue/vue-dialog-box 2.28.0 → 2.29.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/lib/pc.js +14 -3
- package/package.json +6 -6
package/lib/pc.js
CHANGED
|
@@ -125,7 +125,11 @@ var render = function render2() {
|
|
|
125
125
|
style: _vm.state.style,
|
|
126
126
|
attrs: {
|
|
127
127
|
"data-tag": "tiny-dialog-box",
|
|
128
|
-
"data-dialog-box-draggable": _vm.draggable
|
|
128
|
+
"data-dialog-box-draggable": _vm.draggable,
|
|
129
|
+
"role": "dialog",
|
|
130
|
+
"aria-modal": true,
|
|
131
|
+
"aria-labelledby": _vm.state.titleId,
|
|
132
|
+
"aria-describedby": _vm.state.contentId
|
|
129
133
|
}
|
|
130
134
|
}, [_vm.showHeader ? _c("div", {
|
|
131
135
|
ref: "header",
|
|
@@ -135,7 +139,11 @@ var render = function render2() {
|
|
|
135
139
|
}
|
|
136
140
|
}, [_vm._t("title", function() {
|
|
137
141
|
return [_c("span", {
|
|
138
|
-
staticClass: "tiny-dialog-box__title"
|
|
142
|
+
staticClass: "tiny-dialog-box__title",
|
|
143
|
+
attrs: {
|
|
144
|
+
"role": "heading",
|
|
145
|
+
"id": _vm.state.titleId
|
|
146
|
+
}
|
|
139
147
|
}, [_vm._v(_vm._s(_vm.title))])];
|
|
140
148
|
}), _c("div", {
|
|
141
149
|
staticClass: "tiny-dialog-box__btn-tools"
|
|
@@ -179,7 +187,10 @@ var render = function render2() {
|
|
|
179
187
|
}, [_c("icon-close", {
|
|
180
188
|
staticClass: "tiny-svg-size tiny-dialog-box__close"
|
|
181
189
|
})], 1) : _vm._e()])], 2) : _vm._e(), _c("div", {
|
|
182
|
-
staticClass: "tiny-dialog-box__body"
|
|
190
|
+
staticClass: "tiny-dialog-box__body",
|
|
191
|
+
attrs: {
|
|
192
|
+
"id": _vm.state.contentId
|
|
193
|
+
}
|
|
183
194
|
}, [_vm._t("default")], 2), _vm.slots.footer ? _c("div", {
|
|
184
195
|
ref: "footer",
|
|
185
196
|
staticClass: "tiny-dialog-box__footer"
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-dialog-box",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.29.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"type": "module",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@opentinyvue/vue-common": "~2.
|
|
11
|
-
"@opentinyvue/vue-icon": "~2.
|
|
12
|
-
"@opentinyvue/vue-action-sheet": "~2.
|
|
13
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
14
|
-
"@opentinyvue/vue-theme": "~3.
|
|
10
|
+
"@opentinyvue/vue-common": "~2.29.0",
|
|
11
|
+
"@opentinyvue/vue-icon": "~2.29.0",
|
|
12
|
+
"@opentinyvue/vue-action-sheet": "~2.29.0",
|
|
13
|
+
"@opentinyvue/vue-renderless": "~3.29.0",
|
|
14
|
+
"@opentinyvue/vue-theme": "~3.29.0"
|
|
15
15
|
},
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"types": "index.d.ts",
|