@madie/madie-design-system 1.2.36 → 1.2.38
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/.storybook/main.js +6 -0
- package/components/Instant/Instant.stories.js +28 -0
- package/components/Instant/index.jsx +267 -0
- package/components/MadieConfirmDialog/MadieConfirmDialog.stories.js +104 -0
- package/components/MadieConfirmDialog/index.jsx +64 -0
- package/components/TextField/index.jsx +36 -39
- package/components/index.js +2 -0
- package/coverage/clover.xml +116 -58
- package/coverage/coverage-final.json +8 -6
- package/coverage/lcov-report/index.html +43 -13
- package/coverage/lcov-report/react/components/Accordion/index.html +1 -1
- package/coverage/lcov-report/react/components/Accordion/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Button/index.html +1 -1
- package/coverage/lcov-report/react/components/Button/index.js.html +17 -17
- package/coverage/lcov-report/react/components/DateField/DateField.jsx.html +1 -1
- package/coverage/lcov-report/react/components/DateField/index.html +1 -1
- package/coverage/lcov-report/react/components/DateTimeField/DateTimeField.jsx.html +1 -1
- package/coverage/lcov-report/react/components/DateTimeField/index.html +1 -1
- package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Error/error.js.html +1 -1
- package/coverage/lcov-report/react/components/Error/index.html +1 -1
- package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Footer/LegacyFooterUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Footer/footer.js.html +1 -1
- package/coverage/lcov-report/react/components/Footer/index.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/index.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/index.js.html +1 -1
- package/coverage/lcov-report/react/components/InputLabel/index.html +1 -1
- package/coverage/lcov-report/react/components/InputLabel/index.jsx.html +4 -4
- package/coverage/lcov-report/react/components/Instant/index.html +116 -0
- package/coverage/lcov-report/react/components/Instant/index.jsx.html +886 -0
- package/coverage/lcov-report/react/components/MadieAlert/index.html +1 -1
- package/coverage/lcov-report/react/components/MadieAlert/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/MadieConfirmDialog/index.html +116 -0
- package/coverage/lcov-report/react/components/MadieConfirmDialog/index.jsx.html +277 -0
- package/coverage/lcov-report/react/components/MadieDeleteDialog/index.html +1 -1
- package/coverage/lcov-report/react/components/MadieDeleteDialog/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/MadieDialog/index.html +1 -1
- package/coverage/lcov-report/react/components/MadieDialog/index.jsx.html +14 -14
- package/coverage/lcov-report/react/components/MadieDiscardDialog/index.html +1 -1
- package/coverage/lcov-report/react/components/MadieDiscardDialog/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/MadieSpinner/index.html +1 -1
- package/coverage/lcov-report/react/components/MadieSpinner/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/MadieTooltip/index.html +1 -1
- package/coverage/lcov-report/react/components/MadieTooltip/index.jsx.html +3 -3
- package/coverage/lcov-report/react/components/MadieTooltipIcon/index.html +1 -1
- package/coverage/lcov-report/react/components/MadieTooltipIcon/index.jsx.html +3 -3
- package/coverage/lcov-report/react/components/Pagination/index.html +1 -1
- package/coverage/lcov-report/react/components/Pagination/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Popover/index.html +1 -1
- package/coverage/lcov-report/react/components/Popover/index.js.html +1 -1
- package/coverage/lcov-report/react/components/ReadOnlyTextField/index.html +1 -1
- package/coverage/lcov-report/react/components/ReadOnlyTextField/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Select/index.html +1 -1
- package/coverage/lcov-report/react/components/Select/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Tabs/Tab.js.html +1 -1
- package/coverage/lcov-report/react/components/Tabs/index.html +1 -1
- package/coverage/lcov-report/react/components/Tabs/index.js.html +1 -1
- package/coverage/lcov-report/react/components/TextArea/index.html +1 -1
- package/coverage/lcov-report/react/components/TextArea/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/TextField/index.html +9 -9
- package/coverage/lcov-report/react/components/TextField/index.jsx.html +58 -67
- package/coverage/lcov-report/react/components/Toast/index.html +1 -1
- package/coverage/lcov-report/react/components/Toast/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/index.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/position.js.html +1 -1
- package/coverage/lcov-report/react/index.html +1 -1
- package/coverage/lcov-report/react/index.js.html +1 -1
- package/coverage/lcov-report/react/lib/Chevron.jsx.html +1 -1
- package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +1 -1
- package/coverage/lcov-report/react/lib/index.html +1 -1
- package/coverage/lcov.info +235 -114
- package/dist/browser.js +1 -1
- package/dist/index.js +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/index.js.map +1 -1
- package/package-lock.json +220 -131
- package/package.json +1 -1
- package/styles/_qpp-style.scss +1 -0
- package/styles/components/_madie-confirm-dialog.scss +34 -0
- package/styles/qppds/components/_madie-confirm-dialog.scss +35 -0
- package/styles/qppds/components/index.scss +1 -0
- package/test/components/Instant.test.js +83 -0
- package/test/components/MadieConfirmDialog.test.js +159 -0
- package/webpack.config.react.js +13 -0
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1733857289684" clover="3.2.0">
|
|
3
|
+
<project timestamp="1733857289684" name="All files">
|
|
4
|
+
<metrics statements="445" coveredstatements="430" conditionals="352" coveredconditionals="302" methods="125" coveredmethods="117" elements="922" coveredelements="849" complexity="0" loc="445" ncloc="445" packages="28" files="38" classes="38"/>
|
|
5
5
|
<package name="react">
|
|
6
6
|
<metrics statements="3" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
7
7
|
<file name="index.js" path="/home/runner/work/madie-design-system/madie-design-system/react/index.js">
|
|
@@ -41,26 +41,26 @@
|
|
|
41
41
|
<metrics statements="20" coveredstatements="20" conditionals="13" coveredconditionals="10" methods="3" coveredmethods="3"/>
|
|
42
42
|
<file name="index.js" path="/home/runner/work/madie-design-system/madie-design-system/react/components/Button/index.js">
|
|
43
43
|
<metrics statements="20" coveredstatements="20" conditionals="13" coveredconditionals="10" methods="3" coveredmethods="3"/>
|
|
44
|
-
<line num="4" count="
|
|
45
|
-
<line num="15" count="
|
|
46
|
-
<line num="17" count="
|
|
47
|
-
<line num="28" count="
|
|
48
|
-
<line num="30" count="
|
|
49
|
-
<line num="31" count="
|
|
50
|
-
<line num="33" count="
|
|
44
|
+
<line num="4" count="5" type="stmt"/>
|
|
45
|
+
<line num="15" count="5" type="stmt"/>
|
|
46
|
+
<line num="17" count="5" type="stmt"/>
|
|
47
|
+
<line num="28" count="42" type="stmt"/>
|
|
48
|
+
<line num="30" count="42" type="cond" truecount="2" falsecount="0"/>
|
|
49
|
+
<line num="31" count="32" type="stmt"/>
|
|
50
|
+
<line num="33" count="42" type="cond" truecount="2" falsecount="0"/>
|
|
51
51
|
<line num="34" count="1" type="stmt"/>
|
|
52
|
-
<line num="36" count="
|
|
53
|
-
<line num="37" count="
|
|
54
|
-
<line num="40" count="
|
|
52
|
+
<line num="36" count="42" type="cond" truecount="2" falsecount="0"/>
|
|
53
|
+
<line num="37" count="20" type="stmt"/>
|
|
54
|
+
<line num="40" count="42" type="cond" truecount="2" falsecount="0"/>
|
|
55
55
|
<line num="41" count="1" type="stmt"/>
|
|
56
|
-
<line num="52" count="
|
|
57
|
-
<line num="66" count="
|
|
58
|
-
<line num="77" count="
|
|
56
|
+
<line num="52" count="41" type="stmt"/>
|
|
57
|
+
<line num="66" count="5" type="stmt"/>
|
|
58
|
+
<line num="77" count="5" type="stmt"/>
|
|
59
59
|
<line num="82" count="2" type="stmt"/>
|
|
60
|
-
<line num="88" count="
|
|
60
|
+
<line num="88" count="5" type="cond" truecount="0" falsecount="1"/>
|
|
61
61
|
<line num="89" count="1" type="stmt"/>
|
|
62
|
-
<line num="92" count="
|
|
63
|
-
<line num="96" count="
|
|
62
|
+
<line num="92" count="5" type="stmt"/>
|
|
63
|
+
<line num="96" count="5" type="stmt"/>
|
|
64
64
|
</file>
|
|
65
65
|
</package>
|
|
66
66
|
<package name="react.components.DateField">
|
|
@@ -192,9 +192,57 @@
|
|
|
192
192
|
<metrics statements="3" coveredstatements="3" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
|
|
193
193
|
<file name="index.jsx" path="/home/runner/work/madie-design-system/madie-design-system/react/components/InputLabel/index.jsx">
|
|
194
194
|
<metrics statements="3" coveredstatements="3" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
|
|
195
|
-
<line num="5" count="
|
|
196
|
-
<line num="6" count="
|
|
197
|
-
<line num="48" count="
|
|
195
|
+
<line num="5" count="7" type="stmt"/>
|
|
196
|
+
<line num="6" count="82" type="stmt"/>
|
|
197
|
+
<line num="48" count="7" type="stmt"/>
|
|
198
|
+
</file>
|
|
199
|
+
</package>
|
|
200
|
+
<package name="react.components.Instant">
|
|
201
|
+
<metrics statements="42" coveredstatements="41" conditionals="32" coveredconditionals="23" methods="9" coveredmethods="8"/>
|
|
202
|
+
<file name="index.jsx" path="/home/runner/work/madie-design-system/madie-design-system/react/components/Instant/index.jsx">
|
|
203
|
+
<metrics statements="42" coveredstatements="41" conditionals="32" coveredconditionals="23" methods="9" coveredmethods="8"/>
|
|
204
|
+
<line num="12" count="1" type="stmt"/>
|
|
205
|
+
<line num="13" count="1" type="stmt"/>
|
|
206
|
+
<line num="14" count="1" type="stmt"/>
|
|
207
|
+
<line num="15" count="1" type="stmt"/>
|
|
208
|
+
<line num="16" count="7" type="stmt"/>
|
|
209
|
+
<line num="17" count="1" type="stmt"/>
|
|
210
|
+
<line num="48" count="1" type="stmt"/>
|
|
211
|
+
<line num="62" count="10" type="stmt"/>
|
|
212
|
+
<line num="77" count="10" type="stmt"/>
|
|
213
|
+
<line num="78" count="1" type="stmt"/>
|
|
214
|
+
<line num="79" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
215
|
+
<line num="80" count="1" type="stmt"/>
|
|
216
|
+
<line num="83" count="1" type="stmt"/>
|
|
217
|
+
<line num="86" count="10" type="stmt"/>
|
|
218
|
+
<line num="87" count="1" type="stmt"/>
|
|
219
|
+
<line num="88" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
220
|
+
<line num="89" count="1" type="stmt"/>
|
|
221
|
+
<line num="92" count="1" type="stmt"/>
|
|
222
|
+
<line num="95" count="10" type="stmt"/>
|
|
223
|
+
<line num="96" count="1" type="stmt"/>
|
|
224
|
+
<line num="97" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
225
|
+
<line num="98" count="1" type="stmt"/>
|
|
226
|
+
<line num="101" count="1" type="stmt"/>
|
|
227
|
+
<line num="104" count="10" type="stmt"/>
|
|
228
|
+
<line num="105" count="1" type="stmt"/>
|
|
229
|
+
<line num="106" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
230
|
+
<line num="107" count="1" type="stmt"/>
|
|
231
|
+
<line num="110" count="1" type="stmt"/>
|
|
232
|
+
<line num="113" count="10" type="stmt"/>
|
|
233
|
+
<line num="114" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
234
|
+
<line num="115" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
235
|
+
<line num="116" count="1" type="stmt"/>
|
|
236
|
+
<line num="117" count="1" type="stmt"/>
|
|
237
|
+
<line num="119" count="2" type="stmt"/>
|
|
238
|
+
<line num="120" count="2" type="stmt"/>
|
|
239
|
+
<line num="124" count="10" type="stmt"/>
|
|
240
|
+
<line num="141" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
241
|
+
<line num="144" count="24" type="stmt"/>
|
|
242
|
+
<line num="145" count="24" type="stmt"/>
|
|
243
|
+
<line num="146" count="24" type="stmt"/>
|
|
244
|
+
<line num="147" count="24" type="stmt"/>
|
|
245
|
+
<line num="252" count="1" type="stmt"/>
|
|
198
246
|
</file>
|
|
199
247
|
</package>
|
|
200
248
|
<package name="react.components.MadieAlert">
|
|
@@ -237,6 +285,15 @@
|
|
|
237
285
|
<line num="156" count="1" type="stmt"/>
|
|
238
286
|
</file>
|
|
239
287
|
</package>
|
|
288
|
+
<package name="react.components.MadieConfirmDialog">
|
|
289
|
+
<metrics statements="3" coveredstatements="3" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
|
|
290
|
+
<file name="index.jsx" path="/home/runner/work/madie-design-system/madie-design-system/react/components/MadieConfirmDialog/index.jsx">
|
|
291
|
+
<metrics statements="3" coveredstatements="3" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
|
|
292
|
+
<line num="6" count="1" type="stmt"/>
|
|
293
|
+
<line num="14" count="12" type="stmt"/>
|
|
294
|
+
<line num="56" count="1" type="stmt"/>
|
|
295
|
+
</file>
|
|
296
|
+
</package>
|
|
240
297
|
<package name="react.components.MadieDeleteDialog">
|
|
241
298
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
242
299
|
<file name="index.jsx" path="/home/runner/work/madie-design-system/madie-design-system/react/components/MadieDeleteDialog/index.jsx">
|
|
@@ -250,21 +307,21 @@
|
|
|
250
307
|
<metrics statements="15" coveredstatements="15" conditionals="16" coveredconditionals="15" methods="4" coveredmethods="4"/>
|
|
251
308
|
<file name="index.jsx" path="/home/runner/work/madie-design-system/madie-design-system/react/components/MadieDialog/index.jsx">
|
|
252
309
|
<metrics statements="15" coveredstatements="15" conditionals="16" coveredconditionals="15" methods="4" coveredmethods="4"/>
|
|
253
|
-
<line num="17" count="
|
|
254
|
-
<line num="18" count="
|
|
255
|
-
<line num="20" count="
|
|
256
|
-
<line num="32" count="
|
|
257
|
-
<line num="34" count="
|
|
258
|
-
<line num="36" count="
|
|
259
|
-
<line num="37" count="
|
|
260
|
-
<line num="78" count="
|
|
261
|
-
<line num="114" count="
|
|
262
|
-
<line num="116" count="
|
|
310
|
+
<line num="17" count="4" type="stmt"/>
|
|
311
|
+
<line num="18" count="22" type="stmt"/>
|
|
312
|
+
<line num="20" count="21" type="stmt"/>
|
|
313
|
+
<line num="32" count="4" type="stmt"/>
|
|
314
|
+
<line num="34" count="19" type="stmt"/>
|
|
315
|
+
<line num="36" count="19" type="stmt"/>
|
|
316
|
+
<line num="37" count="19" type="stmt"/>
|
|
317
|
+
<line num="78" count="4" type="stmt"/>
|
|
318
|
+
<line num="114" count="32" type="stmt"/>
|
|
319
|
+
<line num="116" count="32" type="stmt"/>
|
|
263
320
|
<line num="136" count="1" type="stmt"/>
|
|
264
321
|
<line num="137" count="1" type="stmt"/>
|
|
265
|
-
<line num="293" count="
|
|
266
|
-
<line num="303" count="
|
|
267
|
-
<line num="307" count="
|
|
322
|
+
<line num="293" count="4" type="stmt"/>
|
|
323
|
+
<line num="303" count="4" type="stmt"/>
|
|
324
|
+
<line num="307" count="4" type="stmt"/>
|
|
268
325
|
</file>
|
|
269
326
|
</package>
|
|
270
327
|
<package name="react.components.MadieDiscardDialog">
|
|
@@ -289,7 +346,7 @@
|
|
|
289
346
|
<metrics statements="11" coveredstatements="11" conditionals="5" coveredconditionals="3" methods="7" coveredmethods="7"/>
|
|
290
347
|
<file name="index.jsx" path="/home/runner/work/madie-design-system/madie-design-system/react/components/MadieTooltip/index.jsx">
|
|
291
348
|
<metrics statements="11" coveredstatements="11" conditionals="5" coveredconditionals="3" methods="7" coveredmethods="7"/>
|
|
292
|
-
<line num="6" count="
|
|
349
|
+
<line num="6" count="4" type="cond" truecount="0" falsecount="1"/>
|
|
293
350
|
<line num="7" count="5" type="stmt"/>
|
|
294
351
|
<line num="8" count="5" type="stmt"/>
|
|
295
352
|
<line num="12" count="1" type="stmt"/>
|
|
@@ -299,16 +356,16 @@
|
|
|
299
356
|
<line num="23" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
300
357
|
<line num="24" count="1" type="stmt"/>
|
|
301
358
|
<line num="28" count="1" type="stmt"/>
|
|
302
|
-
<line num="44" count="
|
|
359
|
+
<line num="44" count="4" type="stmt"/>
|
|
303
360
|
</file>
|
|
304
361
|
</package>
|
|
305
362
|
<package name="react.components.MadieTooltipIcon">
|
|
306
363
|
<metrics statements="3" coveredstatements="3" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
307
364
|
<file name="index.jsx" path="/home/runner/work/madie-design-system/madie-design-system/react/components/MadieTooltipIcon/index.jsx">
|
|
308
365
|
<metrics statements="3" coveredstatements="3" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
|
|
309
|
-
<line num="4" count="
|
|
366
|
+
<line num="4" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
310
367
|
<line num="5" count="5" type="stmt"/>
|
|
311
|
-
<line num="29" count="
|
|
368
|
+
<line num="29" count="4" type="stmt"/>
|
|
312
369
|
</file>
|
|
313
370
|
</package>
|
|
314
371
|
<package name="react.components.Pagination">
|
|
@@ -414,26 +471,27 @@
|
|
|
414
471
|
</file>
|
|
415
472
|
</package>
|
|
416
473
|
<package name="react.components.TextField">
|
|
417
|
-
<metrics statements="
|
|
474
|
+
<metrics statements="18" coveredstatements="18" conditionals="32" coveredconditionals="30" methods="2" coveredmethods="2"/>
|
|
418
475
|
<file name="index.jsx" path="/home/runner/work/madie-design-system/madie-design-system/react/components/TextField/index.jsx">
|
|
419
|
-
<metrics statements="
|
|
420
|
-
<line num="11" count="
|
|
421
|
-
<line num="
|
|
422
|
-
<line num="
|
|
423
|
-
<line num="
|
|
424
|
-
<line num="
|
|
425
|
-
<line num="
|
|
426
|
-
<line num="
|
|
427
|
-
<line num="
|
|
428
|
-
<line num="
|
|
429
|
-
<line num="
|
|
430
|
-
<line num="
|
|
431
|
-
<line num="
|
|
432
|
-
<line num="
|
|
433
|
-
<line num="
|
|
434
|
-
<line num="
|
|
435
|
-
<line num="
|
|
436
|
-
<line num="
|
|
476
|
+
<metrics statements="18" coveredstatements="18" conditionals="32" coveredconditionals="30" methods="2" coveredmethods="2"/>
|
|
477
|
+
<line num="11" count="4" type="stmt"/>
|
|
478
|
+
<line num="25" count="69" type="cond" truecount="1" falsecount="1"/>
|
|
479
|
+
<line num="27" count="69" type="cond" truecount="2" falsecount="0"/>
|
|
480
|
+
<line num="28" count="63" type="stmt"/>
|
|
481
|
+
<line num="31" count="69" type="cond" truecount="1" falsecount="1"/>
|
|
482
|
+
<line num="32" count="69" type="stmt"/>
|
|
483
|
+
<line num="33" count="69" type="cond" truecount="2" falsecount="0"/>
|
|
484
|
+
<line num="34" count="4" type="stmt"/>
|
|
485
|
+
<line num="36" count="69" type="cond" truecount="2" falsecount="0"/>
|
|
486
|
+
<line num="37" count="1" type="stmt"/>
|
|
487
|
+
<line num="39" count="69" type="cond" truecount="2" falsecount="0"/>
|
|
488
|
+
<line num="40" count="4" type="stmt"/>
|
|
489
|
+
<line num="44" count="69" type="stmt"/>
|
|
490
|
+
<line num="77" count="69" type="stmt"/>
|
|
491
|
+
<line num="109" count="69" type="cond" truecount="2" falsecount="0"/>
|
|
492
|
+
<line num="110" count="1" type="stmt"/>
|
|
493
|
+
<line num="112" count="68" type="stmt"/>
|
|
494
|
+
<line num="177" count="4" type="stmt"/>
|
|
437
495
|
</file>
|
|
438
496
|
</package>
|
|
439
497
|
<package name="react.components.Toast">
|