-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into primitives/Modal
- Loading branch information
Showing
91 changed files
with
2,773 additions
and
500 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
/* DM Sans */ | ||
@font-face { | ||
font-family: "DM Sans"; | ||
font-style: italic; | ||
font-weight: 100 1000; | ||
font-display: swap; | ||
src: url(./dm-sans/dm-sans-italic.woff2) format("woff2"); | ||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, | ||
U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | ||
} | ||
|
||
@font-face { | ||
font-family: "DM Sans"; | ||
font-style: normal; | ||
font-weight: 100 1000; | ||
font-display: swap; | ||
src: url(./dm-sans/dm-sans-normal.woff2) format("woff2"); | ||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, | ||
U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | ||
} | ||
|
||
/* DM Mono */ | ||
|
||
@font-face { | ||
font-family: "DM Mono"; | ||
font-style: italic; | ||
font-weight: 300; | ||
font-display: swap; | ||
src: url(./dm-mono/dm-mono-italic-300.woff2) format("woff2"); | ||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, | ||
U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | ||
} | ||
|
||
@font-face { | ||
font-family: "DM Mono"; | ||
font-style: italic; | ||
font-weight: 400; | ||
font-display: swap; | ||
src: url(./dm-mono/dm-mono-italic-400.woff2) format("woff2"); | ||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, | ||
U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | ||
} | ||
|
||
@font-face { | ||
font-family: "DM Mono"; | ||
font-style: italic; | ||
font-weight: 500; | ||
font-display: swap; | ||
src: url(./dm-mono/dm-mono-italic-500.woff2) format("woff2"); | ||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, | ||
U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | ||
} | ||
|
||
@font-face { | ||
font-family: "DM Mono"; | ||
font-style: normal; | ||
font-weight: 300; | ||
font-display: swap; | ||
src: url(./dm-mono/dm-mono-normal-300.woff2) format("woff2"); | ||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, | ||
U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | ||
} | ||
|
||
@font-face { | ||
font-family: "DM Mono"; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: swap; | ||
src: url(./dm-mono/dm-mono-normal-400.woff2) format("woff2"); | ||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, | ||
U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | ||
} | ||
|
||
@font-face { | ||
font-family: "DM Mono"; | ||
font-style: normal; | ||
font-weight: 500; | ||
font-display: swap; | ||
src: url(./dm-mono/dm-mono-normal-500.woff2) format("woff2"); | ||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, | ||
U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { Meta, Canvas, Story, Description, Controls, Stories } from "@storybook/blocks"; | ||
|
||
import { RoundBadge } from "./RoundBadge"; | ||
import * as RoundBadgeStories from "./RoundBadge.stories"; | ||
|
||
<Meta title="Components/RoundBadge" component={RoundBadge} of={RoundBadgeStories} /> | ||
|
||
# RoundBadge | ||
|
||
The `RoundBadge` component is a versatile UI element that indicates either the status or type of a round. It supports various states and categories, each represented by a distinct badge. | ||
|
||
# Example | ||
|
||
<Story of={RoundBadgeStories.RoundStatusBadge} /> | ||
|
||
# Controls | ||
|
||
<Controls of={RoundBadgeStories.RoundStatusBadge} /> | ||
|
||
<Story of={RoundBadgeStories.RoundTypeBadge} /> | ||
|
||
# Controls | ||
|
||
<Controls of={RoundBadgeStories.RoundTypeBadge} /> | ||
|
||
# Other variations | ||
|
||
<Stories /> |
Oops, something went wrong.