@aurodesignsystem-dev/auro-accordion 0.0.0-pr214.4 → 0.0.0-pr214.6

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.
@@ -1311,14 +1311,6 @@
1311
1311
  "module": "src/index.js"
1312
1312
  }
1313
1313
  },
1314
- {
1315
- "kind": "js",
1316
- "name": "AuroAccordionButton",
1317
- "declaration": {
1318
- "name": "AuroAccordionButton",
1319
- "module": "src/index.js"
1320
- }
1321
- },
1322
1314
  {
1323
1315
  "kind": "js",
1324
1316
  "name": "AuroAccordionGroup",
@@ -350,6 +350,14 @@ class AuroAccordionGroup extends i$2 {
350
350
  return {
351
351
  // ...super.properties,
352
352
 
353
+ /**
354
+ * If set, the whole accordion inside the group are disabled and have reduced opacity.
355
+ */
356
+ disabled: {
357
+ type: Boolean,
358
+ reflect: true,
359
+ },
360
+
353
361
  /**
354
362
  * If set, emphasis styles will be applied to the auro-accordions.
355
363
  */
@@ -366,14 +374,6 @@ class AuroAccordionGroup extends i$2 {
366
374
  type: String,
367
375
  reflect: true,
368
376
  },
369
-
370
- /**
371
- * If set, the whole accordion inside the group are disabled and have reduced opacity.
372
- */
373
- disabled: {
374
- type: Boolean,
375
- reflect: true,
376
- },
377
377
  };
378
378
  }
379
379
 
@@ -566,9 +566,18 @@ class AuroAccordion extends i$2 {
566
566
  },
567
567
 
568
568
  /**
569
- * If set, the accordion is expanded.
569
+ * Sets chevron variant option.
570
+ * @type {'none' | 'right'}
570
571
  */
571
- expanded: {
572
+ chevron: {
573
+ type: String,
574
+ reflect: true,
575
+ },
576
+
577
+ /**
578
+ * If set, the accordion is disabled and have reduced opacity.
579
+ */
580
+ disabled: {
572
581
  type: Boolean,
573
582
  reflect: true,
574
583
  },
@@ -582,19 +591,18 @@ class AuroAccordion extends i$2 {
582
591
  },
583
592
 
584
593
  /**
585
- * Attribute will be set on accordion when it appears in an accordion group.
594
+ * If set, the accordion is expanded.
586
595
  */
587
- grouped: {
596
+ expanded: {
588
597
  type: Boolean,
589
598
  reflect: true,
590
599
  },
591
600
 
592
601
  /**
593
- * Sets chevron variant option.
594
- * @type {'none' | 'right'}
602
+ * Attribute will be set on accordion when it appears in an accordion group.
595
603
  */
596
- chevron: {
597
- type: String,
604
+ grouped: {
605
+ type: Boolean,
598
606
  reflect: true,
599
607
  },
600
608
 
@@ -606,14 +614,6 @@ class AuroAccordion extends i$2 {
606
614
  type: String,
607
615
  reflect: true,
608
616
  },
609
-
610
- /**
611
- * If set, the accordion is disabled and have reduced opacity.
612
- */
613
- disabled: {
614
- type: Boolean,
615
- reflect: true,
616
- },
617
617
  };
618
618
  }
619
619
 
@@ -76,14 +76,14 @@ import{css as e,html as t,LitElement as s,nothing as o}from"lit";import{classMap
76
76
  </span>
77
77
  </${this._renderTag}>
78
78
  `}renderLayout(){return this.renderLayoutDefault()}}var J=e`:focus:not(:focus-visible){outline:3px solid transparent}:host{border:unset;cursor:pointer;overflow:visible}:host .auro-button{all:unset;width:100%;padding:var(--ds-size-200, 1rem) var(--trigger-padding-right, 0) var(--ds-size-200, 1rem) var(--trigger-padding-left, 0);box-sizing:border-box}:host .auro-button:focus,:host .auro-button:focus-visible,:host .auro-button:focus-within{outline:0}:host .auro-button:after{border-color:transparent}:host .contentWrapper{display:flex;flex-direction:row-reverse;margin-left:0!important;margin-right:0!important}:host .textSlot{display:flex;flex:1;gap:0;align-items:center}:host([disabled]){cursor:not-allowed;text-decoration:none!important}:host([disabled]) .auro-button{pointer-events:none}:host(.sm) .auro-button{padding-top:var(--ds-size-150, .75rem);padding-bottom:var(--ds-size-150, .75rem)}:host(.lg) .auro-button{padding-top:var(--ds-size-250, 1.25rem);padding-bottom:var(--ds-size-250, 1.25rem)}:host([fluid]) .textSlot{width:100%}:host(.iconRight) .textSlot{display:flex;flex-direction:row;justify-content:space-between}
79
- `;class K extends V{constructor(){super(),this.ariaexpanded=!1}static get properties(){return{...V.properties,ariaexpanded:{type:Boolean,reflect:!0}}}static get styles(){return[J]}updated(e){if(super.updated(e),e.has("ariaexpanded")){const e=this.shadowRoot.querySelector("button");e&&e.setAttribute("aria-expanded",this.ariaexpanded?"true":"false")}}static register(e="auro-accordion-button"){h.prototype.registerComponent(e,K)}}class Q extends s{constructor(){super(),this.runtimeUtils=new h}static get properties(){return{emphasis:{type:Boolean,reflect:!0},variant:{type:String,reflect:!0},disabled:{type:Boolean,reflect:!0}}}static register(e="auro-accordion-group"){h.prototype.registerComponent(e,Q)}firstUpdated(){this.runtimeUtils.handleComponentTagRename(this,"auro-accordion-group")}updated(e){e.has("disabled")&&this.updateDisabledState()}updateDisabledState(){this.querySelectorAll("auro-accordion").forEach(e=>{e.disabled=this.disabled})}handleSlotContentChange(){this.addEventListener("toggleExpanded",this.handleToggleExpanded),this.handleItems(),this.items.forEach(e=>{this.hasAttribute("emphasis")&&(e.setAttribute("chevron","right"),e.emphasis=!0),this.hasAttribute("variant")&&"sm"===this.getAttribute("variant")&&e.setAttribute("variant","sm"),this.hasAttribute("variant")&&"lg"===this.getAttribute("variant")&&e.setAttribute("variant","lg"),e.grouped=!0})}handleToggleExpanded(e){this.hasAttribute("noToggleExpanded")||(this.items.forEach(t=>{t!==e.target&&t.expanded&&(t.expanded=!1)}),this.scrollIntoView({behavior:"smooth",block:"nearest"}))}handleItems(){const e=this.tagName.toLowerCase(),t=e.substring(0,e.indexOf("-group"));this.items=Array.from(this.querySelectorAll(t))}render(){return t`
79
+ `;class K extends V{constructor(){super(),this.ariaexpanded=!1}static get properties(){return{...V.properties,ariaexpanded:{type:Boolean,reflect:!0}}}static get styles(){return[J]}updated(e){if(super.updated(e),e.has("ariaexpanded")){const e=this.shadowRoot.querySelector("button");e&&e.setAttribute("aria-expanded",this.ariaexpanded?"true":"false")}}static register(e="auro-accordion-button"){h.prototype.registerComponent(e,K)}}class Q extends s{constructor(){super(),this.runtimeUtils=new h}static get properties(){return{disabled:{type:Boolean,reflect:!0},emphasis:{type:Boolean,reflect:!0},variant:{type:String,reflect:!0}}}static register(e="auro-accordion-group"){h.prototype.registerComponent(e,Q)}firstUpdated(){this.runtimeUtils.handleComponentTagRename(this,"auro-accordion-group")}updated(e){e.has("disabled")&&this.updateDisabledState()}updateDisabledState(){this.querySelectorAll("auro-accordion").forEach(e=>{e.disabled=this.disabled})}handleSlotContentChange(){this.addEventListener("toggleExpanded",this.handleToggleExpanded),this.handleItems(),this.items.forEach(e=>{this.hasAttribute("emphasis")&&(e.setAttribute("chevron","right"),e.emphasis=!0),this.hasAttribute("variant")&&"sm"===this.getAttribute("variant")&&e.setAttribute("variant","sm"),this.hasAttribute("variant")&&"lg"===this.getAttribute("variant")&&e.setAttribute("variant","lg"),e.grouped=!0})}handleToggleExpanded(e){this.hasAttribute("noToggleExpanded")||(this.items.forEach(t=>{t!==e.target&&t.expanded&&(t.expanded=!1)}),this.scrollIntoView({behavior:"smooth",block:"nearest"}))}handleItems(){const e=this.tagName.toLowerCase(),t=e.substring(0,e.indexOf("-group"));this.items=Array.from(this.querySelectorAll(t))}render(){return t`
80
80
  <div>
81
81
  <slot @slotchange="${this.handleSlotContentChange}"></slot>
82
82
  </div>
83
83
  `}}var Y=e`: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([disabled]){--ds-auro-accordion-trigger-color: var(--ds-basic-color-texticon-disabled, v.\$ds-basic-color-texticon-disabled)}:host([disabled]) [auro-icon]{color:var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:focus){--ds-auro-accordion-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a)}: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-advanced-color-state-selected, #01426a)}:host([emphasis]) .trigger:focus{--ds-auro-accordion-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a)}: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-advanced-color-state-selected, #01426a)}:host([emphasis][expanded]) .content{--ds-auro-accordion-content-border-color: var(--ds-basic-color-border-subtle, #dddddd)}
84
84
  `,Z=e`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:host{interpolate-size:allow-keywords;--webkit-fill: -webkit-fill-available}:host .trigger{position:relative;display:inline-block;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, .375rem)}:host .trigger:hover{text-decoration:underline}:host .trigger[fluid]{max-width:calc(100% - 3px)}:host ::slotted([slot=trigger]){padding-left:var(--ds-size-100, .5rem);padding-right:var(--ds-size-200, 1rem);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host .iconWrapper{height:var(--ds-size-300, 1.5rem);margin-top:-2px}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}:host [auro-icon][hidden]{display:none}:host .content{width:100%;transition:all .5s ease-in-out;transition-property:height}:host .componentWrapper{height:100%;overflow:hidden}:host .contentWrapper{padding-left:var(--ds-size-400, 2rem);padding-bottom:var(--ds-size-300, 1.5rem)}:host(:focus) .trigger{border-width:1px;border-style:solid}:host([chevron=right]) ::slotted([slot=trigger]){padding-left:0;padding-right:var(--ds-size-100, .5rem)}:host([chevron=right]) .contentWrapper{padding-left:0}: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([grouped][chevron=right]:not([alignright])) .trigger{width:var(--webkit-fill, 100%);--trigger-padding-right: var(--ds-size-200, 1rem)}: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;--trigger-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([chevron=none]) ::slotted([slot=trigger]),:host([chevron=none]) .contentWrapper{padding-left:unset}
85
85
  `,ee=e`:host{--ds-auro-accordion-content-border-color: transparent;--ds-auro-accordion-group-border-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, .15));--ds-auro-accordion-trigger-border-color: transparent;--ds-auro-accordion-trigger-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-accordion-trigger-icon-color: var(--ds-basic-color-texticon-default, #2a2a2a)}
86
- `;class te extends s{constructor(){super();const e=new c;this.iconTag=e.generateTag("auro-icon","9.1.1",z),this.buttonNameHash=this.generateRandomLetters(4),this.buttonTag=e.generateTag("auro-accordion-button",this.buttonNameHash,K),this.runtimeUtils=new h,this.expanded=!1}static get properties(){return{alignRight:{type:Boolean,reflect:!0},expanded:{type:Boolean,reflect:!0},emphasis:{type:Boolean,reflect:!0},grouped:{type:Boolean,reflect:!0},chevron:{type:String,reflect:!0},variant:{type:String,reflect:!0},disabled:{type:Boolean,reflect:!0}}}static get styles(){return[Y,Z,ee]}static register(e="auro-accordion"){const t=`${e}-group`;h.prototype.registerComponent(e,te),Q.register(t)}firstUpdated(){this.runtimeUtils.handleComponentTagRename(this,"auro-accordion")}updated(e){if(e.has("expanded")){const e=this.shadowRoot.querySelector("#accordionTrigger");e&&(e.ariaexpanded=this.expanded)}}renderChevronIcons(){if("none"===this.chevron)return o;const e=this.expanded?p:u;return l`
86
+ `;class te extends s{constructor(){super();const e=new c;this.iconTag=e.generateTag("auro-icon","9.1.1",z),this.buttonNameHash=this.generateRandomLetters(4),this.buttonTag=e.generateTag("auro-accordion-button",this.buttonNameHash,K),this.runtimeUtils=new h,this.expanded=!1}static get properties(){return{alignRight:{type:Boolean,reflect:!0},chevron:{type:String,reflect:!0},disabled:{type:Boolean,reflect:!0},emphasis:{type:Boolean,reflect:!0},expanded:{type:Boolean,reflect:!0},grouped:{type:Boolean,reflect:!0},variant:{type:String,reflect:!0}}}static get styles(){return[Y,Z,ee]}static register(e="auro-accordion"){const t=`${e}-group`;h.prototype.registerComponent(e,te),Q.register(t)}firstUpdated(){this.runtimeUtils.handleComponentTagRename(this,"auro-accordion")}updated(e){if(e.has("expanded")){const e=this.shadowRoot.querySelector("#accordionTrigger");e&&(e.ariaexpanded=this.expanded)}}renderChevronIcons(){if("none"===this.chevron)return o;const e=this.expanded?p:u;return l`
87
87
  <${this.iconTag}
88
88
  customSvg
89
89
  customColor
@@ -114,4 +114,4 @@ import{css as e,html as t,LitElement as s,nothing as o}from"lit";import{classMap
114
114
  </div>
115
115
  </div>
116
116
  </div>
117
- `}}export{te as A,Q as a,K as b};
117
+ `}}export{te as A,Q as a};
package/dist/index.d.ts CHANGED
@@ -244,4 +244,4 @@ declare global {
244
244
  }
245
245
 
246
246
 
247
- export { AuroAccordion, AuroAccordionButton, AuroAccordionGroup } from "./index.js";
247
+ export { AuroAccordion, AuroAccordionGroup } from "./index.js";
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export{A as AuroAccordion,b as AuroAccordionButton,a as AuroAccordionGroup}from"./auro-accordion-B5LyAZiI.js";import"lit";import"lit/directives/class-map.js";import"lit/directives/unsafe-html.js";import"lit/static-html.js";import"lit/directives/if-defined.js";
1
+ export{A as AuroAccordion,a as AuroAccordionGroup}from"./auro-accordion-BmwXsHxz.js";import"lit";import"lit/directives/class-map.js";import"lit/directives/unsafe-html.js";import"lit/static-html.js";import"lit/directives/if-defined.js";
@@ -1 +1 @@
1
- import{A as i,a as t}from"./auro-accordion-B5LyAZiI.js";import"lit";import"lit/directives/class-map.js";import"lit/directives/unsafe-html.js";import"lit/static-html.js";import"lit/directives/if-defined.js";i.register(),t.register();
1
+ import{A as i,a as t}from"./auro-accordion-BmwXsHxz.js";import"lit";import"lit/directives/class-map.js";import"lit/directives/unsafe-html.js";import"lit/static-html.js";import"lit/directives/if-defined.js";i.register(),t.register();
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "================================================================================"
8
8
  ],
9
9
  "name": "@aurodesignsystem-dev/auro-accordion",
10
- "version": "0.0.0-pr214.4",
10
+ "version": "0.0.0-pr214.6",
11
11
  "description": "auro-accordion HTML custom element",
12
12
  "repository": {
13
13
  "type": "git",