@aurodesignsystem/auro-accordion 4.3.1 → 4.4.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/CHANGELOG.md +14 -0
- package/README.md +4 -5
- package/coverage/lcov-report/auro-accordion-button.js.html +184 -0
- package/coverage/lcov-report/auro-accordion-group.js.html +75 -75
- package/coverage/lcov-report/auro-accordion.js.html +106 -10
- package/coverage/lcov-report/color-css.js.html +2 -2
- package/coverage/lcov-report/iconVersion.js.html +2 -2
- package/coverage/lcov-report/index.html +44 -14
- package/coverage/lcov-report/style-button-css.js.html +91 -0
- package/coverage/lcov-report/style-css.js.html +2 -2
- package/coverage/lcov-report/tokens-css.js.html +2 -2
- package/coverage/lcov.info +296 -200
- package/demo/api.min.js +875 -1006
- package/demo/index.min.js +875 -1004
- package/dist/auro-accordion.d.ts +15 -0
- package/dist/auro-accordion.d.ts.map +1 -1
- package/dist/auro-accordion__bundled.js +875 -1006
- package/dist/iconVersion.d.ts +1 -1
- package/dist/iconVersion.d.ts.map +1 -1
- package/index.js +0 -4
- package/package.json +9 -8
- package/src/auro-accordion.js +35 -3
- package/src/color-css.js +1 -1
- package/src/color.css +24 -25
- package/src/iconVersion.js +1 -1
- package/src/style-button-css.js +1 -1
- package/src/style-button.css +27 -46
- package/src/style-css.js +1 -1
- package/src/style.css +101 -102
- package/src/tokens-css.js +1 -1
- package/src/tokens.css +6 -6
- package/test/auro-accordion.test.js +2 -0
|
@@ -25,28 +25,28 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">100% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>225/225</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">92.3% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>12/13</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
40
|
<span class="strong">100% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>9/9</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">100% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>225/225</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -256,7 +256,39 @@
|
|
|
256
256
|
<a name='L191'></a><a href='#L191'>191</a>
|
|
257
257
|
<a name='L192'></a><a href='#L192'>192</a>
|
|
258
258
|
<a name='L193'></a><a href='#L193'>193</a>
|
|
259
|
-
<a name='L194'></a><a href='#L194'>194</a
|
|
259
|
+
<a name='L194'></a><a href='#L194'>194</a>
|
|
260
|
+
<a name='L195'></a><a href='#L195'>195</a>
|
|
261
|
+
<a name='L196'></a><a href='#L196'>196</a>
|
|
262
|
+
<a name='L197'></a><a href='#L197'>197</a>
|
|
263
|
+
<a name='L198'></a><a href='#L198'>198</a>
|
|
264
|
+
<a name='L199'></a><a href='#L199'>199</a>
|
|
265
|
+
<a name='L200'></a><a href='#L200'>200</a>
|
|
266
|
+
<a name='L201'></a><a href='#L201'>201</a>
|
|
267
|
+
<a name='L202'></a><a href='#L202'>202</a>
|
|
268
|
+
<a name='L203'></a><a href='#L203'>203</a>
|
|
269
|
+
<a name='L204'></a><a href='#L204'>204</a>
|
|
270
|
+
<a name='L205'></a><a href='#L205'>205</a>
|
|
271
|
+
<a name='L206'></a><a href='#L206'>206</a>
|
|
272
|
+
<a name='L207'></a><a href='#L207'>207</a>
|
|
273
|
+
<a name='L208'></a><a href='#L208'>208</a>
|
|
274
|
+
<a name='L209'></a><a href='#L209'>209</a>
|
|
275
|
+
<a name='L210'></a><a href='#L210'>210</a>
|
|
276
|
+
<a name='L211'></a><a href='#L211'>211</a>
|
|
277
|
+
<a name='L212'></a><a href='#L212'>212</a>
|
|
278
|
+
<a name='L213'></a><a href='#L213'>213</a>
|
|
279
|
+
<a name='L214'></a><a href='#L214'>214</a>
|
|
280
|
+
<a name='L215'></a><a href='#L215'>215</a>
|
|
281
|
+
<a name='L216'></a><a href='#L216'>216</a>
|
|
282
|
+
<a name='L217'></a><a href='#L217'>217</a>
|
|
283
|
+
<a name='L218'></a><a href='#L218'>218</a>
|
|
284
|
+
<a name='L219'></a><a href='#L219'>219</a>
|
|
285
|
+
<a name='L220'></a><a href='#L220'>220</a>
|
|
286
|
+
<a name='L221'></a><a href='#L221'>221</a>
|
|
287
|
+
<a name='L222'></a><a href='#L222'>222</a>
|
|
288
|
+
<a name='L223'></a><a href='#L223'>223</a>
|
|
289
|
+
<a name='L224'></a><a href='#L224'>224</a>
|
|
290
|
+
<a name='L225'></a><a href='#L225'>225</a>
|
|
291
|
+
<a name='L226'></a><a href='#L226'>226</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">2x</span>
|
|
260
292
|
<span class="cline-any cline-yes">2x</span>
|
|
261
293
|
<span class="cline-any cline-yes">2x</span>
|
|
262
294
|
<span class="cline-any cline-yes">2x</span>
|
|
@@ -305,6 +337,19 @@
|
|
|
305
337
|
<span class="cline-any cline-yes">2x</span>
|
|
306
338
|
<span class="cline-any cline-yes">2x</span>
|
|
307
339
|
<span class="cline-any cline-yes">2x</span>
|
|
340
|
+
<span class="cline-any cline-yes">2x</span>
|
|
341
|
+
<span class="cline-any cline-yes">2x</span>
|
|
342
|
+
<span class="cline-any cline-yes">2x</span>
|
|
343
|
+
<span class="cline-any cline-yes">10x</span>
|
|
344
|
+
<span class="cline-any cline-yes">10x</span>
|
|
345
|
+
<span class="cline-any cline-yes">10x</span>
|
|
346
|
+
<span class="cline-any cline-yes">10x</span>
|
|
347
|
+
<span class="cline-any cline-yes">10x</span>
|
|
348
|
+
<span class="cline-any cline-yes">10x</span>
|
|
349
|
+
<span class="cline-any cline-yes">10x</span>
|
|
350
|
+
<span class="cline-any cline-yes">10x</span>
|
|
351
|
+
<span class="cline-any cline-yes">10x</span>
|
|
352
|
+
<span class="cline-any cline-yes">10x</span>
|
|
308
353
|
<span class="cline-any cline-yes">10x</span>
|
|
309
354
|
<span class="cline-any cline-yes">10x</span>
|
|
310
355
|
<span class="cline-any cline-yes">10x</span>
|
|
@@ -377,6 +422,8 @@
|
|
|
377
422
|
<span class="cline-any cline-yes">2x</span>
|
|
378
423
|
<span class="cline-any cline-yes">2x</span>
|
|
379
424
|
<span class="cline-any cline-yes">2x</span>
|
|
425
|
+
<span class="cline-any cline-yes">2x</span>
|
|
426
|
+
<span class="cline-any cline-yes">2x</span>
|
|
380
427
|
<span class="cline-any cline-yes">10x</span>
|
|
381
428
|
<span class="cline-any cline-yes">10x</span>
|
|
382
429
|
<span class="cline-any cline-yes">10x</span>
|
|
@@ -400,6 +447,23 @@
|
|
|
400
447
|
<span class="cline-any cline-yes">2x</span>
|
|
401
448
|
<span class="cline-any cline-yes">2x</span>
|
|
402
449
|
<span class="cline-any cline-yes">2x</span>
|
|
450
|
+
<span class="cline-any cline-yes">2x</span>
|
|
451
|
+
<span class="cline-any cline-yes">2x</span>
|
|
452
|
+
<span class="cline-any cline-yes">2x</span>
|
|
453
|
+
<span class="cline-any cline-yes">10x</span>
|
|
454
|
+
<span class="cline-any cline-yes">10x</span>
|
|
455
|
+
<span class="cline-any cline-yes">10x</span>
|
|
456
|
+
<span class="cline-any cline-yes">10x</span>
|
|
457
|
+
<span class="cline-any cline-yes">40x</span>
|
|
458
|
+
<span class="cline-any cline-yes">40x</span>
|
|
459
|
+
<span class="cline-any cline-yes">10x</span>
|
|
460
|
+
<span class="cline-any cline-yes">10x</span>
|
|
461
|
+
<span class="cline-any cline-yes">10x</span>
|
|
462
|
+
<span class="cline-any cline-yes">2x</span>
|
|
463
|
+
<span class="cline-any cline-yes">2x</span>
|
|
464
|
+
<span class="cline-any cline-yes">2x</span>
|
|
465
|
+
<span class="cline-any cline-yes">2x</span>
|
|
466
|
+
<span class="cline-any cline-yes">2x</span>
|
|
403
467
|
<span class="cline-any cline-yes">4x</span>
|
|
404
468
|
<span class="cline-any cline-yes">4x</span>
|
|
405
469
|
<span class="cline-any cline-yes">4x</span>
|
|
@@ -461,10 +525,13 @@ import { LitElement, nothing } from "lit";
|
|
|
461
525
|
import { html } from 'lit/static-html.js';
|
|
462
526
|
import { classMap } from 'lit/directives/class-map.js';
|
|
463
527
|
|
|
464
|
-
import
|
|
528
|
+
import { AuroAccordionGroup } from './auro-accordion-group.js';
|
|
529
|
+
import { AuroAccordionButton } from './auro-accordion-button.js';
|
|
465
530
|
|
|
466
531
|
import { AuroDependencyVersioning } from '@aurodesignsystem/auro-library/scripts/runtime/dependencyTagVersioning.mjs';
|
|
467
532
|
|
|
533
|
+
import AuroLibraryRuntimeUtils from '@aurodesignsystem/auro-library/scripts/utils/runtimeUtils.mjs';
|
|
534
|
+
|
|
468
535
|
import { AuroIcon } from '@aurodesignsystem/auro-icon/src/auro-icon.js';
|
|
469
536
|
import iconVersion from './iconVersion.js';
|
|
470
537
|
|
|
@@ -506,6 +573,16 @@ export class AuroAccordion extends LitElement {
|
|
|
506
573
|
* @private
|
|
507
574
|
*/
|
|
508
575
|
this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* @private
|
|
579
|
+
*/
|
|
580
|
+
this.buttonNameHash = this.generateRandomLetters(4); //eslint-disable-line
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* @private
|
|
584
|
+
*/
|
|
585
|
+
this.buttonTag = versioning.generateTag('auro-accordion-button', this.buttonNameHash, AuroAccordionButton);
|
|
509
586
|
|
|
510
587
|
/**
|
|
511
588
|
* @private
|
|
@@ -566,7 +643,9 @@ export class AuroAccordion extends LitElement {
|
|
|
566
643
|
*
|
|
567
644
|
*/
|
|
568
645
|
static register(name = "auro-accordion") {
|
|
646
|
+
const nameGroup = `${name}-group`;
|
|
569
647
|
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroAccordion);
|
|
648
|
+
AuroAccordionGroup.register(nameGroup);
|
|
570
649
|
}
|
|
571
650
|
|
|
572
651
|
firstUpdated() {
|
|
@@ -588,6 +667,23 @@ export class AuroAccordion extends LitElement {
|
|
|
588
667
|
|
|
589
668
|
return html`${svg}`;
|
|
590
669
|
}
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Generates a random string of letters.
|
|
673
|
+
* @private
|
|
674
|
+
* @param {number} length - The number of characters to generate in the string.
|
|
675
|
+
* @returns {string} - The generated string.
|
|
676
|
+
*/
|
|
677
|
+
generateRandomLetters(length) {
|
|
678
|
+
let result = '';
|
|
679
|
+
const characters = 'abcdefghijklmnopqrstuvwxyz';
|
|
680
|
+
const charactersLength = characters.length;
|
|
681
|
+
for (let index = 0; index < length; index += 1) {
|
|
682
|
+
result += characters.charAt(Math.floor(Math.random() * charactersLength));
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
return result;
|
|
686
|
+
}
|
|
591
687
|
|
|
592
688
|
/**
|
|
593
689
|
* Toggles the visibility of the accordion content.
|
|
@@ -615,7 +711,7 @@ export class AuroAccordion extends LitElement {
|
|
|
615
711
|
|
|
616
712
|
return html`
|
|
617
713
|
<div class="componentWrapper" part="accordion">
|
|
618
|
-
<
|
|
714
|
+
<${this.buttonTag}
|
|
619
715
|
?fluid="${this.emphasis}"
|
|
620
716
|
class="${classMap(buttonClasses)}"
|
|
621
717
|
id="accordionTrigger"
|
|
@@ -632,7 +728,7 @@ export class AuroAccordion extends LitElement {
|
|
|
632
728
|
</${this.iconTag}>
|
|
633
729
|
`}
|
|
634
730
|
<slot name="trigger" part="triggerSlot"></slot>
|
|
635
|
-
<
|
|
731
|
+
</${this.buttonTag}>
|
|
636
732
|
<div class="content" id="accordionContent" aria-labelledby="accordionTrigger" inert="${!this.expanded || nothing}" part="content">
|
|
637
733
|
<div class="contentWrapper" part="contentWrapper">
|
|
638
734
|
<slot></slot>
|
|
@@ -649,7 +745,7 @@ export class AuroAccordion extends LitElement {
|
|
|
649
745
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
650
746
|
Code coverage generated by
|
|
651
747
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
652
|
-
at
|
|
748
|
+
at 2025-02-08T21:42:51.366Z
|
|
653
749
|
</div>
|
|
654
750
|
<script src="prettify.js"></script>
|
|
655
751
|
<script>
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
<a name='L3'></a><a href='#L3'>3</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">2x</span>
|
|
69
69
|
<span class="cline-any cline-yes">2x</span>
|
|
70
70
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import { css } from 'lit';
|
|
71
|
-
export default css`:host .trigger{color:var(--ds-auro-accordion-trigger-color);border-color:var(--ds-auro-accordion-trigger-border-color)}:host [auro-icon]{color:var(--ds-auro-accordion-trigger-icon-color)}:host(:focus){--ds-auro-accordion-trigger-border-color:
|
|
71
|
+
export default css`:host .trigger{color:var(--ds-auro-accordion-trigger-color);border-color:var(--ds-auro-accordion-trigger-border-color)}:host [auro-icon]{color:var(--ds-auro-accordion-trigger-icon-color)}:host(:focus){--ds-auro-accordion-trigger-border-color:var(--ds-color-border-active-default, #0074c8);--ds-auro-accordion-trigger-icon-color:var(--ds-color-icon-ui-secondary-focus-default, #7e7e7e)}:host(:hover){--ds-auro-accordion-trigger-icon-color:var(--ds-color-icon-ui-secondary-hover-default, #525252)}:host([grouped]) .componentWrapper{border-bottom-color:var(--ds-auro-accordion-group-border-color)}:host([emphasis]) .trigger:before{border-color:var(--ds-auro-accordion-trigger-border-color)}:host([emphasis]) .trigger:focus:before,:host([emphasis]) .trigger:hover:before{--ds-auro-accordion-trigger-border-color:var(--ds-color-border-active-default, #0074c8)}:host([emphasis]) .trigger:focus{--ds-auro-accordion-trigger-border-color:var(--ds-color-border-active-default, #0074c8)}:host([emphasis]) .content{border-left-color:var(--ds-auro-accordion-content-border-color)}:host([emphasis][expanded]) .trigger:before{--ds-auro-accordion-trigger-border-color:var(--ds-color-border-active-default, #0074c8)}:host([emphasis][expanded]) .content{--ds-auro-accordion-content-border-color:var(--ds-color-border-subtle-default, #f0f7fd)}`;
|
|
72
72
|
</pre></td></tr></table></pre>
|
|
73
73
|
|
|
74
74
|
<div class='push'></div><!-- for sticky footer -->
|
|
@@ -76,7 +76,7 @@ export default css`:host .trigger{color:var(--ds-auro-accordion-trigger-color);b
|
|
|
76
76
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
77
77
|
Code coverage generated by
|
|
78
78
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
79
|
-
at
|
|
79
|
+
at 2025-02-08T21:42:51.366Z
|
|
80
80
|
</div>
|
|
81
81
|
<script src="prettify.js"></script>
|
|
82
82
|
<script>
|
|
@@ -63,14 +63,14 @@
|
|
|
63
63
|
</div>
|
|
64
64
|
<div class='status-line high'></div>
|
|
65
65
|
<pre><table class="coverage">
|
|
66
|
-
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">2x</span></td><td class="text"><pre class="prettyprint lang-js">export default '6.
|
|
66
|
+
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">2x</span></td><td class="text"><pre class="prettyprint lang-js">export default '6.1.9'</pre></td></tr></table></pre>
|
|
67
67
|
|
|
68
68
|
<div class='push'></div><!-- for sticky footer -->
|
|
69
69
|
</div><!-- /wrapper -->
|
|
70
70
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
71
71
|
Code coverage generated by
|
|
72
72
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
73
|
-
at
|
|
73
|
+
at 2025-02-08T21:42:51.366Z
|
|
74
74
|
</div>
|
|
75
75
|
<script src="prettify.js"></script>
|
|
76
76
|
<script>
|
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">99.49% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>394/396</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">97.
|
|
33
|
+
<span class="strong">97.43% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>38/39</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">94.73% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>18/19</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">99.49% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>394/396</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -79,6 +79,21 @@
|
|
|
79
79
|
</tr>
|
|
80
80
|
</thead>
|
|
81
81
|
<tbody><tr>
|
|
82
|
+
<td class="file high" data-value="auro-accordion-button.js"><a href="auro-accordion-button.js.html">auro-accordion-button.js</a></td>
|
|
83
|
+
<td data-value="93.93" class="pic high">
|
|
84
|
+
<div class="chart"><div class="cover-fill" style="width: 93%"></div><div class="cover-empty" style="width: 7%"></div></div>
|
|
85
|
+
</td>
|
|
86
|
+
<td data-value="93.93" class="pct high">93.93%</td>
|
|
87
|
+
<td data-value="33" class="abs high">31/33</td>
|
|
88
|
+
<td data-value="100" class="pct high">100%</td>
|
|
89
|
+
<td data-value="2" class="abs high">2/2</td>
|
|
90
|
+
<td data-value="50" class="pct medium">50%</td>
|
|
91
|
+
<td data-value="2" class="abs medium">1/2</td>
|
|
92
|
+
<td data-value="93.93" class="pct high">93.93%</td>
|
|
93
|
+
<td data-value="33" class="abs high">31/33</td>
|
|
94
|
+
</tr>
|
|
95
|
+
|
|
96
|
+
<tr>
|
|
82
97
|
<td class="file high" data-value="auro-accordion-group.js"><a href="auro-accordion-group.js.html">auro-accordion-group.js</a></td>
|
|
83
98
|
<td data-value="100" class="pic high">
|
|
84
99
|
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
@@ -99,13 +114,13 @@
|
|
|
99
114
|
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
100
115
|
</td>
|
|
101
116
|
<td data-value="100" class="pct high">100%</td>
|
|
102
|
-
<td data-value="
|
|
103
|
-
<td data-value="
|
|
104
|
-
<td data-value="
|
|
117
|
+
<td data-value="225" class="abs high">225/225</td>
|
|
118
|
+
<td data-value="92.3" class="pct high">92.3%</td>
|
|
119
|
+
<td data-value="13" class="abs high">12/13</td>
|
|
105
120
|
<td data-value="100" class="pct high">100%</td>
|
|
106
|
-
<td data-value="
|
|
121
|
+
<td data-value="9" class="abs high">9/9</td>
|
|
107
122
|
<td data-value="100" class="pct high">100%</td>
|
|
108
|
-
<td data-value="
|
|
123
|
+
<td data-value="225" class="abs high">225/225</td>
|
|
109
124
|
</tr>
|
|
110
125
|
|
|
111
126
|
<tr>
|
|
@@ -138,6 +153,21 @@
|
|
|
138
153
|
<td data-value="1" class="abs high">1/1</td>
|
|
139
154
|
</tr>
|
|
140
155
|
|
|
156
|
+
<tr>
|
|
157
|
+
<td class="file high" data-value="style-button-css.js"><a href="style-button-css.js.html">style-button-css.js</a></td>
|
|
158
|
+
<td data-value="100" class="pic high">
|
|
159
|
+
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
160
|
+
</td>
|
|
161
|
+
<td data-value="100" class="pct high">100%</td>
|
|
162
|
+
<td data-value="2" class="abs high">2/2</td>
|
|
163
|
+
<td data-value="100" class="pct high">100%</td>
|
|
164
|
+
<td data-value="1" class="abs high">1/1</td>
|
|
165
|
+
<td data-value="100" class="pct high">100%</td>
|
|
166
|
+
<td data-value="0" class="abs high">0/0</td>
|
|
167
|
+
<td data-value="100" class="pct high">100%</td>
|
|
168
|
+
<td data-value="2" class="abs high">2/2</td>
|
|
169
|
+
</tr>
|
|
170
|
+
|
|
141
171
|
<tr>
|
|
142
172
|
<td class="file high" data-value="style-css.js"><a href="style-css.js.html">style-css.js</a></td>
|
|
143
173
|
<td data-value="100" class="pic high">
|
|
@@ -176,7 +206,7 @@
|
|
|
176
206
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
177
207
|
Code coverage generated by
|
|
178
208
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
179
|
-
at
|
|
209
|
+
at 2025-02-08T21:42:51.366Z
|
|
180
210
|
</div>
|
|
181
211
|
<script src="prettify.js"></script>
|
|
182
212
|
<script>
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for style-button-css.js</title>
|
|
7
|
+
<meta charset="utf-8" />
|
|
8
|
+
<link rel="stylesheet" href="prettify.css" />
|
|
9
|
+
<link rel="stylesheet" href="base.css" />
|
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="favicon.png" />
|
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
|
+
<style type='text/css'>
|
|
13
|
+
.coverage-summary .sorter {
|
|
14
|
+
background-image: url(sort-arrow-sprite.png);
|
|
15
|
+
}
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<div class='wrapper'>
|
|
21
|
+
<div class='pad1'>
|
|
22
|
+
<h1><a href="index.html">All files</a> style-button-css.js</h1>
|
|
23
|
+
<div class='clearfix'>
|
|
24
|
+
|
|
25
|
+
<div class='fl pad1y space-right2'>
|
|
26
|
+
<span class="strong">100% </span>
|
|
27
|
+
<span class="quiet">Statements</span>
|
|
28
|
+
<span class='fraction'>2/2</span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<div class='fl pad1y space-right2'>
|
|
33
|
+
<span class="strong">100% </span>
|
|
34
|
+
<span class="quiet">Branches</span>
|
|
35
|
+
<span class='fraction'>1/1</span>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<div class='fl pad1y space-right2'>
|
|
40
|
+
<span class="strong">100% </span>
|
|
41
|
+
<span class="quiet">Functions</span>
|
|
42
|
+
<span class='fraction'>0/0</span>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<div class='fl pad1y space-right2'>
|
|
47
|
+
<span class="strong">100% </span>
|
|
48
|
+
<span class="quiet">Lines</span>
|
|
49
|
+
<span class='fraction'>2/2</span>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
<p class="quiet">
|
|
55
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
|
56
|
+
</p>
|
|
57
|
+
<template id="filterTemplate">
|
|
58
|
+
<div class="quiet">
|
|
59
|
+
Filter:
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
63
|
+
</div>
|
|
64
|
+
<div class='status-line high'></div>
|
|
65
|
+
<pre><table class="coverage">
|
|
66
|
+
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
|
+
<a name='L2'></a><a href='#L2'>2</a>
|
|
68
|
+
<a name='L3'></a><a href='#L3'>3</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">2x</span>
|
|
69
|
+
<span class="cline-any cline-yes">2x</span>
|
|
70
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import { css } from 'lit';
|
|
71
|
+
export default css`:focus:not(:focus-visible){outline:3px solid transparent}:host{border:unset}:host .auro-button{all:unset;width:100%;padding:var(--ds-size-200, 1rem) 0;cursor:pointer;pointer-events:none}:host .auro-button:after{border-color:transparent}:host .contentWrapper{display:flex;flex-direction:row-reverse}:host .textSlot{display:flex;flex:1}:host(.sm) .auro-button{padding:var(--ds-size-100, 0.5rem) 0}:host(.lg) .auro-button{padding:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)) 0}:host([fluid]) .contentWrapper{width:100%}:host(.iconRight) .contentWrapper{display:flex;flex-direction:row}`;
|
|
72
|
+
</pre></td></tr></table></pre>
|
|
73
|
+
|
|
74
|
+
<div class='push'></div><!-- for sticky footer -->
|
|
75
|
+
</div><!-- /wrapper -->
|
|
76
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
|
77
|
+
Code coverage generated by
|
|
78
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
79
|
+
at 2025-02-08T21:42:51.366Z
|
|
80
|
+
</div>
|
|
81
|
+
<script src="prettify.js"></script>
|
|
82
|
+
<script>
|
|
83
|
+
window.onload = function () {
|
|
84
|
+
prettyPrint();
|
|
85
|
+
};
|
|
86
|
+
</script>
|
|
87
|
+
<script src="sorter.js"></script>
|
|
88
|
+
<script src="block-navigation.js"></script>
|
|
89
|
+
</body>
|
|
90
|
+
</html>
|
|
91
|
+
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
<a name='L3'></a><a href='#L3'>3</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">2x</span>
|
|
69
69
|
<span class="cline-any cline-yes">2x</span>
|
|
70
70
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import { css } from 'lit';
|
|
71
|
-
export default css`:host{interpolate-size:allow-keywords}:host .trigger{position:relative;cursor:pointer;display:inline-block;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem)}:host .trigger:hover{text-decoration:underline}:host ::slotted([slot=trigger]){padding-left:var(--ds-size-100, 0.5rem);padding-right:var(--ds-size-200, 1rem);font-size:var(--ds-text-heading-300-size, 1.125rem)}:host .iconWrapper{height:var(--ds-size-300, 1.5rem);margin-top:-2px}:host [auro-icon]{--ds-auro-icon-size:
|
|
71
|
+
export default css`:host{interpolate-size:allow-keywords}:host .trigger{position:relative;cursor:pointer;display:inline-block;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem)}:host .trigger:hover{text-decoration:underline}:host ::slotted([slot=trigger]){padding-left:var(--ds-size-100, 0.5rem);padding-right:var(--ds-size-200, 1rem);font-size:var(--ds-text-heading-300-size, 1.125rem)}:host .iconWrapper{height:var(--ds-size-300, 1.5rem);margin-top:-2px}:host [auro-icon]{--ds-auro-icon-size:var(--ds-size-300,$ds-size-300)}:host [auro-icon][hidden]{display:none}:host .content{width:100%;transition:all .5s ease-in-out;transition-property:height;font-size:var(--ds-text-body-size-default, 1rem)}:host .componentWrapper{height:100%;overflow:hidden}:host .contentWrapper{padding-left:var(--ds-size-400, 2rem);padding-bottom:var(--ds-size-300, 1.5rem);padding-right:var(--ds-size-200, 1rem)}:host(:focus) .trigger{border-width:1px;border-style:solid}:host([chevron=right]) ::slotted([slot=trigger]){padding-left:0;padding-right:var(--ds-size-50, 0.25rem)}:host([alignRight]) .componentWrapper{display:flex;flex-direction:column;align-items:flex-end}:host([fluid]) .trigger{width:100%}:host([grouped]) .componentWrapper{border-bottom-width:1px;border-bottom-style:solid}:host(:not([expanded])) .content,:host([expanded=false]) .content{height:0 !important}:host([expanded]) .content{height:auto}:host([emphasis]) .trigger{border-style:solid;border-width:1px;border-left-width:2px;padding-left:var(--ds-size-200, 1rem)}:host([emphasis]) .trigger:before{display:block;position:absolute;top:-1px;left:-2px;width:1px;height:calc(100% + 2px);content:"";border-left-style:solid;border-left-width:2px}:host([emphasis]) .trigger:focus{border-left-width:1px;margin-left:1px}:host([emphasis]) .content{border-left-width:2px;border-left-style:solid;padding:unset}:host([emphasis]) .contentWrapper{padding-left:var(--ds-size-200, 1rem)}:host([emphasis]) .iconWrapper{padding-right:var(--ds-size-200, 1rem)}:host([emphasis]:not([expanded]):hover) .trigger{text-decoration:unset}:host([variant=sm]) ::slotted([slot=trigger]){font-size:var(--ds-text-body-size-default, 1rem)}:host([variant=lg]) ::slotted([slot=trigger]){font-size:var(--ds-text-heading-400-size, 1.25rem)}:host([chevron=none]) ::slotted([slot=trigger]),:host([chevron=none]) .contentWrapper{padding-left:unset}`;
|
|
72
72
|
</pre></td></tr></table></pre>
|
|
73
73
|
|
|
74
74
|
<div class='push'></div><!-- for sticky footer -->
|
|
@@ -76,7 +76,7 @@ export default css`:host{interpolate-size:allow-keywords}:host .trigger{position
|
|
|
76
76
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
77
77
|
Code coverage generated by
|
|
78
78
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
79
|
-
at
|
|
79
|
+
at 2025-02-08T21:42:51.366Z
|
|
80
80
|
</div>
|
|
81
81
|
<script src="prettify.js"></script>
|
|
82
82
|
<script>
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
<a name='L3'></a><a href='#L3'>3</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">2x</span>
|
|
69
69
|
<span class="cline-any cline-yes">2x</span>
|
|
70
70
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import { css } from 'lit';
|
|
71
|
-
export default css`:host{--ds-auro-accordion-content-border-color:
|
|
71
|
+
export default css`:host{--ds-auro-accordion-content-border-color:transparent;--ds-auro-accordion-group-border-color:var(--ds-color-border-divider-default, rgba(0, 0, 0, 0.12));--ds-auro-accordion-trigger-border-color:transparent;--ds-auro-accordion-trigger-color:var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-accordion-trigger-icon-color:var(--ds-color-icon-ui-secondary-default-default, #7e7e7e)}`;
|
|
72
72
|
</pre></td></tr></table></pre>
|
|
73
73
|
|
|
74
74
|
<div class='push'></div><!-- for sticky footer -->
|
|
@@ -76,7 +76,7 @@ export default css`:host{--ds-auro-accordion-content-border-color: transparent;-
|
|
|
76
76
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
77
77
|
Code coverage generated by
|
|
78
78
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
79
|
-
at
|
|
79
|
+
at 2025-02-08T21:42:51.366Z
|
|
80
80
|
</div>
|
|
81
81
|
<script src="prettify.js"></script>
|
|
82
82
|
<script>
|