-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[UI Framework] [K7] Add KuiCallOut component. (#13306)
* Add KuiCallOut component. - Add verticalRhythm prop to Typography components. - Add kuiIcon--basic class.
- Loading branch information
Showing
40 changed files
with
825 additions
and
213 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
6 changes: 3 additions & 3 deletions
6
ui_framework/doc_site/src/components/guide_code/_guide_code.scss
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
.guideCode { | ||
padding: 2px 4px; | ||
padding: 0 0.25em; | ||
font-family: 'Roboto Mono', monospace; | ||
background-color: #e8e8e8; | ||
color: #565656; | ||
color: #000000; | ||
font-size: 0.9em | ||
} |
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
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,27 @@ | ||
import React from 'react'; | ||
|
||
import { | ||
KuiCallOut, | ||
KuiLink, | ||
KuiText, | ||
} from '../../../../components'; | ||
|
||
export default () => ( | ||
<KuiCallOut | ||
title="Check it out, here's a really long title that will wrap within a narrower browser" | ||
iconType="search" | ||
> | ||
<KuiText size="small" verticalRhythm> | ||
<p> | ||
Here’s some stuff that you need to know. We can make this text really long so that, | ||
when viewed within a browser that’s fairly narrow, it will wrap, too. | ||
</p> | ||
</KuiText> | ||
|
||
<KuiText size="small"> | ||
<p> | ||
And some other stuff on another line, just for kicks. And <KuiLink href="#">here’s a link</KuiLink>. | ||
</p> | ||
</KuiText> | ||
</KuiCallOut> | ||
); |
Oops, something went wrong.