@fluid-topics/ft-collapsible 1.3.54 → 1.3.55

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.
@@ -38,31 +38,36 @@ export class FtBaseCollapsible extends FtLitElement {
38
38
  "ft-collapsible--animation-in-progress": this.animated && this.animationInProgress,
39
39
  };
40
40
  return html `
41
- <slot name="toggle"
42
- part="toggle"
43
- @click=${this.toggleOpenAnimation}
44
- @keydown=${this.handleKeydown}>
45
- <ft-or-ftds-button
46
- part="toggle"
47
- .tooltipPosition=${this.tooltipPosition}
48
- .iconVariant=${this.iconVariant}
49
- .icon=${this.open ? this.openIcon : this.closedIcon}
50
- .label=${(this.open ? this.openLabel : this.closedLabel) || this.label}
51
- ?primary=${this.primary}
52
- ?secondary=${this.secondary}
53
- ?tertiary=${this.tertiary}
54
- ?neutral=${this.neutral}
55
- ?disabled=${this.disabled}
56
- ?dense=${this.dense}
57
- ?round=${this.round}
58
- ?small=${this.small}
59
- ?trailingIcon=${this.trailingIcon}
60
- aria-controls="ft-collapsible-content"
61
- aria-expanded="${this.open}"
62
- >
63
- ${(this.open ? this.openText : this.closedText) || this.text}
64
- </ft-or-ftds-button>
65
- </slot>
41
+ <div part="container">
42
+ <slot name="toggle"
43
+ part="toggle"
44
+ @click=${this.toggleOpenAnimation}
45
+ @keydown=${this.handleKeydown}>
46
+ <ft-or-ftds-button
47
+ part="toggle"
48
+ .tooltipPosition=${this.tooltipPosition}
49
+ .iconVariant=${this.iconVariant}
50
+ .icon=${this.open ? this.openIcon : this.closedIcon}
51
+ .label=${(this.open ? this.openLabel : this.closedLabel) || this.label}
52
+ ?primary=${this.primary}
53
+ ?secondary=${this.secondary}
54
+ ?tertiary=${this.tertiary}
55
+ ?neutral=${this.neutral}
56
+ ?disabled=${this.disabled}
57
+ ?dense=${this.dense}
58
+ ?round=${this.round}
59
+ ?small=${this.small}
60
+ ?trailingIcon=${this.trailingIcon}
61
+ aria-controls="ft-collapsible-content"
62
+ aria-expanded="${this.open}"
63
+ >
64
+ ${(this.open ? this.openText : this.closedText) || this.text}
65
+ </ft-or-ftds-button>
66
+ </slot>
67
+ <div part="actions-container">
68
+ <slot name="actions"></slot>
69
+ </div>
70
+ </div>
66
71
  <slot id="ft-collapsible-content"
67
72
  class="${classMap(contentClasses)}"
68
73
  @click=${this.onContentClick}