@madgex/design-system 1.65.3 → 1.65.5
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/coverage/cobertura-coverage.xml +1 -1
- package/coverage/components/accordion/accordion.js.html +1 -1
- package/coverage/components/accordion/index.html +1 -1
- package/coverage/components/inputs/combobox/combobox.js.html +1 -1
- package/coverage/components/inputs/combobox/index.html +1 -1
- package/coverage/components/inputs/combobox/vue-components/Combobox.vue.html +1 -1
- package/coverage/components/inputs/combobox/vue-components/ListBoxOption.vue.html +1 -1
- package/coverage/components/inputs/combobox/vue-components/index.html +1 -1
- package/coverage/components/inputs/file-upload/file-upload.js.html +1 -1
- package/coverage/components/inputs/file-upload/index.html +1 -1
- package/coverage/components/inputs/textarea/character-count.js.html +1 -1
- package/coverage/components/inputs/textarea/index.html +1 -1
- package/coverage/components/modal/index.html +1 -1
- package/coverage/components/modal/modal.js.html +1 -1
- package/coverage/components/notification/index.html +1 -1
- package/coverage/components/notification/notification.js.html +1 -1
- package/coverage/components/popover/index.html +1 -1
- package/coverage/components/popover/popover.js.html +1 -1
- package/coverage/components/switch-state/index.html +1 -1
- package/coverage/components/switch-state/switch-state.js.html +1 -1
- package/coverage/components/tabs/index.html +1 -1
- package/coverage/components/tabs/tabs.js.html +1 -1
- package/coverage/index.html +1 -1
- package/coverage/js/common.js.html +1 -1
- package/coverage/js/fractal-scripts/combobox.js.html +1 -1
- package/coverage/js/fractal-scripts/index.html +1 -1
- package/coverage/js/fractal-scripts/notification.js.html +1 -1
- package/coverage/js/fractal-scripts/switch-state.js.html +1 -1
- package/coverage/js/index-fractal.js.html +1 -1
- package/coverage/js/index-polyfills.js.html +1 -1
- package/coverage/js/index-vue.js.html +1 -1
- package/coverage/js/index.html +1 -1
- package/coverage/js/index.js.html +1 -1
- package/coverage/js/polyfills/arrayPrototypeFind.js.html +1 -1
- package/coverage/js/polyfills/closest.js.html +1 -1
- package/coverage/js/polyfills/index.html +1 -1
- package/coverage/js/polyfills/objectAssign.js.html +1 -1
- package/coverage/js/polyfills/remove.js.html +1 -1
- package/coverage/tokens/_config.js.html +1 -1
- package/coverage/tokens/index.html +1 -1
- package/dist/_tokens/css/_tokens.css +1 -1
- package/dist/_tokens/js/_tokens-module.js +1 -1
- package/dist/_tokens/scss/_tokens.scss +1 -1
- package/dist/assets/icons.json +1 -1
- package/package.json +1 -1
- package/src/components/inputs/checkbox/README.md +1 -0
- package/src/components/inputs/checkbox/_template.njk +11 -2
- package/src/components/inputs/checkbox/checkbox.config.js +2 -0
- package/src/components/inputs/checkbox/checkbox.njk +1 -0
- package/src/components/pagination-numbers/_template.njk +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" ?>
|
|
2
2
|
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
|
|
3
|
-
<coverage lines-valid="511" lines-covered="209" line-rate="0.409" branches-valid="161" branches-covered="54" branch-rate="0.3354" timestamp="
|
|
3
|
+
<coverage lines-valid="511" lines-covered="209" line-rate="0.409" branches-valid="161" branches-covered="54" branch-rate="0.3354" timestamp="1606926377530" complexity="0" version="0.1">
|
|
4
4
|
<sources>
|
|
5
5
|
<source>/var/lib/jenkins/jobs/madgex-design-system/branches/master/workspace</source>
|
|
6
6
|
</sources>
|
|
@@ -444,7 +444,7 @@ export default accordion;
|
|
|
444
444
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
445
445
|
Code coverage generated by
|
|
446
446
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
447
|
-
at Wed Dec 02 2020
|
|
447
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
448
448
|
</div>
|
|
449
449
|
</div>
|
|
450
450
|
<script src="../../prettify.js"></script>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
95
|
Code coverage generated by
|
|
96
96
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
97
|
-
at Wed Dec 02 2020
|
|
97
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
<script src="../../prettify.js"></script>
|
|
@@ -111,7 +111,7 @@ export default {
|
|
|
111
111
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
112
112
|
Code coverage generated by
|
|
113
113
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
114
|
-
at Wed Dec 02 2020
|
|
114
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
115
115
|
</div>
|
|
116
116
|
</div>
|
|
117
117
|
<script src="../../../prettify.js"></script>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
95
|
Code coverage generated by
|
|
96
96
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
97
|
-
at Wed Dec 02 2020
|
|
97
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
<script src="../../../prettify.js"></script>
|
|
@@ -783,7 +783,7 @@ export default {
|
|
|
783
783
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
784
784
|
Code coverage generated by
|
|
785
785
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
786
|
-
at Wed Dec 02 2020
|
|
786
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
787
787
|
</div>
|
|
788
788
|
</div>
|
|
789
789
|
<script src="../../../../prettify.js"></script>
|
|
@@ -213,7 +213,7 @@ export default {
|
|
|
213
213
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
214
214
|
Code coverage generated by
|
|
215
215
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
216
|
-
at Wed Dec 02 2020
|
|
216
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
217
217
|
</div>
|
|
218
218
|
</div>
|
|
219
219
|
<script src="../../../../prettify.js"></script>
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
110
110
|
Code coverage generated by
|
|
111
111
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
112
|
-
at Wed Dec 02 2020
|
|
112
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
113
113
|
</div>
|
|
114
114
|
</div>
|
|
115
115
|
<script src="../../../../prettify.js"></script>
|
|
@@ -228,7 +228,7 @@ export default fileUpload;
|
|
|
228
228
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
229
229
|
Code coverage generated by
|
|
230
230
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
231
|
-
at Wed Dec 02 2020
|
|
231
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
232
232
|
</div>
|
|
233
233
|
</div>
|
|
234
234
|
<script src="../../../prettify.js"></script>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
95
|
Code coverage generated by
|
|
96
96
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
97
|
-
at Wed Dec 02 2020
|
|
97
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
<script src="../../../prettify.js"></script>
|
|
@@ -174,7 +174,7 @@ export default characterCount;
|
|
|
174
174
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
175
175
|
Code coverage generated by
|
|
176
176
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
177
|
-
at Wed Dec 02 2020
|
|
177
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
178
178
|
</div>
|
|
179
179
|
</div>
|
|
180
180
|
<script src="../../../prettify.js"></script>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
95
|
Code coverage generated by
|
|
96
96
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
97
|
-
at Wed Dec 02 2020
|
|
97
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
<script src="../../../prettify.js"></script>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
95
|
Code coverage generated by
|
|
96
96
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
97
|
-
at Wed Dec 02 2020
|
|
97
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
<script src="../../prettify.js"></script>
|
|
@@ -315,7 +315,7 @@ export default modals;
|
|
|
315
315
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
316
316
|
Code coverage generated by
|
|
317
317
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
318
|
-
at Wed Dec 02 2020
|
|
318
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
319
319
|
</div>
|
|
320
320
|
</div>
|
|
321
321
|
<script src="../../prettify.js"></script>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
95
|
Code coverage generated by
|
|
96
96
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
97
|
-
at Wed Dec 02 2020
|
|
97
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
<script src="../../prettify.js"></script>
|
|
@@ -144,7 +144,7 @@ export default notification;
|
|
|
144
144
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
145
145
|
Code coverage generated by
|
|
146
146
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
147
|
-
at Wed Dec 02 2020
|
|
147
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
148
148
|
</div>
|
|
149
149
|
</div>
|
|
150
150
|
<script src="../../prettify.js"></script>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
95
|
Code coverage generated by
|
|
96
96
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
97
|
-
at Wed Dec 02 2020
|
|
97
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
<script src="../../prettify.js"></script>
|
|
@@ -294,7 +294,7 @@ export default popovers;
|
|
|
294
294
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
295
295
|
Code coverage generated by
|
|
296
296
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
297
|
-
at Wed Dec 02 2020
|
|
297
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
298
298
|
</div>
|
|
299
299
|
</div>
|
|
300
300
|
<script src="../../prettify.js"></script>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
95
|
Code coverage generated by
|
|
96
96
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
97
|
-
at Wed Dec 02 2020
|
|
97
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
<script src="../../prettify.js"></script>
|
|
@@ -99,7 +99,7 @@ export default switchState;
|
|
|
99
99
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
100
100
|
Code coverage generated by
|
|
101
101
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
102
|
-
at Wed Dec 02 2020
|
|
102
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
103
103
|
</div>
|
|
104
104
|
</div>
|
|
105
105
|
<script src="../../prettify.js"></script>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
95
|
Code coverage generated by
|
|
96
96
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
97
|
-
at Wed Dec 02 2020
|
|
97
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
<script src="../../prettify.js"></script>
|
|
@@ -510,7 +510,7 @@ export default tabs;
|
|
|
510
510
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
511
511
|
Code coverage generated by
|
|
512
512
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
513
|
-
at Wed Dec 02 2020
|
|
513
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
514
514
|
</div>
|
|
515
515
|
</div>
|
|
516
516
|
<script src="../../prettify.js"></script>
|
package/coverage/index.html
CHANGED
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
290
290
|
Code coverage generated by
|
|
291
291
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
292
|
-
at Wed Dec 02 2020
|
|
292
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
293
293
|
</div>
|
|
294
294
|
</div>
|
|
295
295
|
<script src="prettify.js"></script>
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
100
100
|
Code coverage generated by
|
|
101
101
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
102
|
-
at Wed Dec 02 2020
|
|
102
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
103
103
|
</div>
|
|
104
104
|
</div>
|
|
105
105
|
<script src="../prettify.js"></script>
|
|
@@ -213,7 +213,7 @@ export default combobox;
|
|
|
213
213
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
214
214
|
Code coverage generated by
|
|
215
215
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
216
|
-
at Wed Dec 02 2020
|
|
216
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
217
217
|
</div>
|
|
218
218
|
</div>
|
|
219
219
|
<script src="../../prettify.js"></script>
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
125
125
|
Code coverage generated by
|
|
126
126
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
127
|
-
at Wed Dec 02 2020
|
|
127
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
128
128
|
</div>
|
|
129
129
|
</div>
|
|
130
130
|
<script src="../../prettify.js"></script>
|
|
@@ -123,7 +123,7 @@ export default notificationScript;
|
|
|
123
123
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
124
124
|
Code coverage generated by
|
|
125
125
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
126
|
-
at Wed Dec 02 2020
|
|
126
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
127
127
|
</div>
|
|
128
128
|
</div>
|
|
129
129
|
<script src="../../prettify.js"></script>
|
|
@@ -135,7 +135,7 @@ export default switchStateScript;
|
|
|
135
135
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
136
136
|
Code coverage generated by
|
|
137
137
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
138
|
-
at Wed Dec 02 2020
|
|
138
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
139
139
|
</div>
|
|
140
140
|
</div>
|
|
141
141
|
<script src="../../prettify.js"></script>
|
|
@@ -90,7 +90,7 @@ import comboboxScript from './fractal-scripts/combobox';
|
|
|
90
90
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
91
91
|
Code coverage generated by
|
|
92
92
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
93
|
-
at Wed Dec 02 2020
|
|
93
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
94
94
|
</div>
|
|
95
95
|
</div>
|
|
96
96
|
<script src="../prettify.js"></script>
|
|
@@ -78,7 +78,7 @@ import './polyfills/arrayPrototypeFind';
|
|
|
78
78
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
79
79
|
Code coverage generated by
|
|
80
80
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
81
|
-
at Wed Dec 02 2020
|
|
81
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
82
82
|
</div>
|
|
83
83
|
</div>
|
|
84
84
|
<script src="../prettify.js"></script>
|
|
@@ -105,7 +105,7 @@ import MdsCombobox from '../components/inputs/combobox/combobox';
|
|
|
105
105
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
106
106
|
Code coverage generated by
|
|
107
107
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
108
|
-
at Wed Dec 02 2020
|
|
108
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
109
109
|
</div>
|
|
110
110
|
</div>
|
|
111
111
|
<script src="../prettify.js"></script>
|
package/coverage/js/index.html
CHANGED
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
155
155
|
Code coverage generated by
|
|
156
156
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
157
|
-
at Wed Dec 02 2020
|
|
157
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
158
158
|
</div>
|
|
159
159
|
</div>
|
|
160
160
|
<script src="../prettify.js"></script>
|
|
@@ -138,7 +138,7 @@ import characterCount from '../components/inputs/textarea/character-count';
|
|
|
138
138
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
139
139
|
Code coverage generated by
|
|
140
140
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
141
|
-
at Wed Dec 02 2020
|
|
141
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
142
142
|
</div>
|
|
143
143
|
</div>
|
|
144
144
|
<script src="../prettify.js"></script>
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
202
202
|
Code coverage generated by
|
|
203
203
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
204
|
-
at Wed Dec 02 2020
|
|
204
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
205
205
|
</div>
|
|
206
206
|
</div>
|
|
207
207
|
<script src="../../prettify.js"></script>
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
112
112
|
Code coverage generated by
|
|
113
113
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
114
|
-
at Wed Dec 02 2020
|
|
114
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
115
115
|
</div>
|
|
116
116
|
</div>
|
|
117
117
|
<script src="../../prettify.js"></script>
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
140
140
|
Code coverage generated by
|
|
141
141
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
142
|
-
at Wed Dec 02 2020
|
|
142
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
143
143
|
</div>
|
|
144
144
|
</div>
|
|
145
145
|
<script src="../../prettify.js"></script>
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
154
154
|
Code coverage generated by
|
|
155
155
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
156
|
-
at Wed Dec 02 2020
|
|
156
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
157
157
|
</div>
|
|
158
158
|
</div>
|
|
159
159
|
<script src="../../prettify.js"></script>
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
85
85
|
Code coverage generated by
|
|
86
86
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
87
|
-
at Wed Dec 02 2020
|
|
87
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
88
88
|
</div>
|
|
89
89
|
</div>
|
|
90
90
|
<script src="../../prettify.js"></script>
|
|
@@ -552,7 +552,7 @@ const config = <span class="cstat-no" title="statement not covered" >{</span>
|
|
|
552
552
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
553
553
|
Code coverage generated by
|
|
554
554
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
555
|
-
at Wed Dec 02 2020
|
|
555
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
556
556
|
</div>
|
|
557
557
|
</div>
|
|
558
558
|
<script src="../prettify.js"></script>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
95
|
Code coverage generated by
|
|
96
96
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
97
|
-
at Wed Dec 02 2020
|
|
97
|
+
at Wed Dec 02 2020 16:26:17 GMT+0000 (Greenwich Mean Time)
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
<script src="../prettify.js"></script>
|
package/dist/assets/icons.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"asterisk"},{"name":"check"},{"name":"chevron-
|
|
1
|
+
[{"name":"asterisk"},{"name":"check"},{"name":"chevron-down"},{"name":"chevron-left"},{"name":"chevron-right"},{"name":"chevron-up"},{"name":"close"},{"name":"cross"},{"name":"doc"},{"name":"doc-pdf"},{"name":"email"},{"name":"job"},{"name":"location-pin"},{"name":"minus"},{"name":"plus-small"},{"name":"plus"},{"name":"menu"},{"name":"question-mark"},{"name":"search"},{"name":"social-facebook"},{"name":"social-linkedin"},{"name":"social-twitter"},{"name":"spinner"},{"name":"star-fill"},{"name":"star-outline"},{"name":"user"},{"name":"upload"}]
|
package/package.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
- `validationError`: The error message provided by validation **optional**,
|
|
10
10
|
- `state`: The current state of the input, currently the only allowed value is `error` **optional**
|
|
11
11
|
- `classes`: add extra classes to the fieldgroup - **optional**
|
|
12
|
+
- `describedBy`: adding aria-describeby to the fieldset (if multiple checkboxes) or the input field if only one checkbox - **optional**
|
|
12
13
|
- `options`: This is an array of objects containing the parameters for each option: `labelText`, `value`, `id`, `classes`
|
|
13
14
|
- `selectedOptions`: Preselected checkboxes - Array or comma-separed string
|
|
14
15
|
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
name="{{ checkboxParams.name }}"
|
|
47
47
|
id="{{ optionId }}"
|
|
48
48
|
{% if checkboxParams.disabled %}disabled="disabled"{% endif %}
|
|
49
|
+
{% if checkboxParams.describedBy %}aria-describedby="{{checkboxParams.describedBy}}"{% endif %}
|
|
49
50
|
{% if isSelected == true %}checked="checked"{% endif %}
|
|
50
51
|
value="{{ option.value }}"
|
|
51
52
|
/>{#
|
|
@@ -96,11 +97,18 @@
|
|
|
96
97
|
{% set hasBorder = true %}
|
|
97
98
|
{% endif %}
|
|
98
99
|
{% endif %}
|
|
100
|
+
{% if params.describedBy %}
|
|
101
|
+
{% if params.options.length > 1 %}
|
|
102
|
+
{% set describeByFieldset = params.describedBy %}
|
|
103
|
+
{% else %}
|
|
104
|
+
{% set describeByCheckbox = params.describedBy %}
|
|
105
|
+
{% endif %}
|
|
106
|
+
{% endif %}
|
|
99
107
|
|
|
100
108
|
<div class="mds-form-element mds-form-element--checkbox{% if params.state %} mds-form-element--{{params.state}}{% endif %}{% if params.classes %} {{params.classes}}{% endif %}" id="{{params.id}}" data-test="checkbox{% if params.id %}-{{params.id}}{% endif %}">
|
|
101
109
|
{# no need for fieldset and legend if there is only one checkbox #}
|
|
102
110
|
{% if params.options.length > 1 %}
|
|
103
|
-
<fieldset>
|
|
111
|
+
<fieldset {%- if describeByFieldset %} aria-describedby="{{describeByFieldset}}"{% endif %}>
|
|
104
112
|
{{ MdsInputLabel({
|
|
105
113
|
element: 'legend',
|
|
106
114
|
labelText: params.labelText,
|
|
@@ -120,7 +128,8 @@
|
|
|
120
128
|
options: params.options,
|
|
121
129
|
selectedOptions: params.selectedOptions,
|
|
122
130
|
name: name,
|
|
123
|
-
disabled: params.disabled
|
|
131
|
+
disabled: params.disabled,
|
|
132
|
+
describedBy: describeByCheckbox
|
|
124
133
|
}) }}
|
|
125
134
|
</div>
|
|
126
135
|
{% if params.options.length > 1 %}
|
|
@@ -24,6 +24,7 @@ module.exports = {
|
|
|
24
24
|
labelText: 'Inline checkbox using class',
|
|
25
25
|
tooltipMessage: 'This is a tool tip message to help describe a bit better what you should do with this field.',
|
|
26
26
|
optional: true,
|
|
27
|
+
describedBy: 'inline-description',
|
|
27
28
|
classes: 'mds-form-element--inline',
|
|
28
29
|
options: [
|
|
29
30
|
{
|
|
@@ -262,6 +263,7 @@ module.exports = {
|
|
|
262
263
|
name: 'Single checkbox',
|
|
263
264
|
context: {
|
|
264
265
|
id: 'single-checkbox',
|
|
266
|
+
describedBy: 'terms-description',
|
|
265
267
|
options: [
|
|
266
268
|
{
|
|
267
269
|
labelText: 'I agree to the terms and conditions',
|
|
@@ -64,7 +64,7 @@ Otherwise, show an extra page in front of the current page to make up the displa
|
|
|
64
64
|
<li class="mds-pagination__item">
|
|
65
65
|
|
|
66
66
|
{%- if disabledButtonPrev -%}
|
|
67
|
-
<div class="mds-pagination__link mds-pagination__link--disabled">
|
|
67
|
+
<div class="mds-pagination__link mds-pagination__link--disabled" aria-disabled="true">
|
|
68
68
|
{%- else -%}
|
|
69
69
|
<a href="{{params.pageUrlTemplate | replace('{pageNo}', pageNo - 1) }}" class="mds-pagination__link mds-pagination__link--background" aria-label="{{ params.prevLabel }} {{ params.prevVisHiddenLabel }}">
|
|
70
70
|
{%- endif -%}
|
|
@@ -129,7 +129,7 @@ Otherwise, show an extra page in front of the current page to make up the displa
|
|
|
129
129
|
<li class="mds-pagination__item mds-border-left">
|
|
130
130
|
|
|
131
131
|
{%- if disabledButtonNext -%}
|
|
132
|
-
<div class="mds-pagination__link mds-pagination__link--disabled">
|
|
132
|
+
<div class="mds-pagination__link mds-pagination__link--disabled" aria-disabled="true">
|
|
133
133
|
{%- else -%}
|
|
134
134
|
<a href="{{params.pageUrlTemplate | replace('{pageNo}', pageNo + 1)}}" class="mds-pagination__link mds-pagination__link--background" aria-label="{{ params.nextLabel }} {{ params.nextVisHiddenLabel }}">
|
|
135
135
|
{%- endif -%}
|