Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ commands:
- run:
name: Build the project
command: |
yarn workspace @spectrum-web-components/core build
yarn workspace @spectrum-web-components/1st-gen build

- save_cache:
Expand Down
9 changes: 8 additions & 1 deletion 1st-gen/packages/button/src/CloseButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ export class CloseButton extends SizedMixin(StyledButton, {
public staticColor?: 'black' | 'white';

protected override get buttonContent(): TemplateResult[] {
return [crossIcon[this.size]()];
return [
crossIcon[this.size](),
html`
<span id="label" class="visually-hidden">
<slot @slotchange=${this.manageTextObservedSlot}></slot>
</span>
`,
];
}
}
Loading