Skip to content

Commit 5bacf2a

Browse files
committed
update dependent svelte files
1 parent 553be5f commit 5bacf2a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

packages/stacks-svelte/src/components/Button/Button.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ describe("Button", () => {
9191

9292
it("should render the appropriate variant class", () => {
9393
render(Button, {
94-
variant: "muted",
94+
variant: "tonal",
9595
children,
9696
});
97-
expect(screen.getByRole("button")).to.have.class("s-btn__muted");
97+
expect(screen.getByRole("button")).to.have.class("s-btn__tonal");
9898
});
9999

100100
it("should render the appropriate weight class", () => {

packages/stacks-svelte/src/components/Modal/Modal.stories.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
Save changes
6464
</Button>
6565
<Button
66-
variant={args.state === "danger" ? "muted" : ""}
66+
variant={args.state === "danger" ? "tonal" : ""}
6767
onclick={() => (visible = false)}
6868
>
6969
Cancel
@@ -96,7 +96,7 @@
9696
Danger
9797
</Button>
9898
<Button
99-
weight="outlined"
99+
weight="filled"
100100
onclick={() => {
101101
visible = true;
102102
mstate = "celebration";
@@ -133,7 +133,7 @@
133133
Save changes
134134
</Button>
135135
<Button
136-
variant={mstate === "danger" ? "muted" : ""}
136+
variant={mstate === "danger" ? "tonal" : ""}
137137
onclick={() => (visible = false)}
138138
>
139139
Cancel

packages/stacks-svelte/src/components/Modal/Modal.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
{/if}
130130
{#if !hideCloseButton}
131131
<Button
132-
variant="muted"
132+
variant="tonal"
133133
icon
134134
aria-label={i18nCloseButtonLabel}
135135
class="s-modal--close"

packages/stacks-svelte/src/components/PostSummary/PostSummary.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@
346346
<PopoverReference>
347347
<Button
348348
class="s-post-summary--content-menu-button"
349-
variant="muted"
349+
variant="tonal"
350350
>
351351
<Icon src={IconEllipsisVertical} />
352352
<span class="v-visible-sr"

0 commit comments

Comments
 (0)