Skip to content

Commit 908c113

Browse files
committed
update button svelte files
1 parent 4aa9ee4 commit 908c113

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
88
const ButtonBrands: Brand[] = ["", "facebook", "github", "google"];
99
const ButtonSizes: Size[] = ["", "xs", "sm", "md"];
10-
const ButtonVariants: Variant[] = ["", "danger", "featured", "muted"];
11-
const ButtonWeights: Weight[] = ["", "outlined", "filled"];
10+
const ButtonVariants: Variant[] = ["", "danger", "featured", "tonal"];
11+
const ButtonWeights: Weight[] = ["", "filled"];
1212
1313
const titleCase = (str: string) => {
1414
return str.toLowerCase().replace(/(?:^|\s)\w/g, (match) => {

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
55
export type Brand = "" | "facebook" | "github" | "google";
66
export type Size = "" | "xs" | "sm" | "md";
7-
export type Variant = "" | "danger" | "featured" | "muted";
8-
export type Weight = "" | "outlined" | "filled";
7+
export type Variant = "" | "danger" | "featured" | "tonal";
8+
export type Weight = "" | "filled";
99
1010
export interface Props extends HTMLButtonAttributes {
1111
/**
@@ -23,13 +23,13 @@
2323
2424
/**
2525
* The weight of the button
26-
* @type {"" | "danger" | "featured" | "muted"}
26+
* @type {"" | "danger" | "featured" | "tonal"}
2727
*/
2828
variant?: Variant;
2929
3030
/**
3131
* The weight of the button
32-
* @type {"" | "outlined" | "filled"}
32+
* @type {"" | "filled"}
3333
*/
3434
weight?: Weight;
3535

0 commit comments

Comments
 (0)