-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1884 from smeup/dev-to-mas
v9.6.6
- Loading branch information
Showing
238 changed files
with
974 additions
and
628 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
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,105 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Badge</title> | ||
|
||
<script type="module" src="/build/ketchup.esm.js"></script> | ||
<script nomodule src="/build/ketchup.js"></script> | ||
|
||
<link | ||
href="https://cdn.materialdesignicons.com/4.5.95/css/materialdesignicons.min.css" | ||
rel="stylesheet" | ||
type="text/css" | ||
/> | ||
|
||
<link | ||
href="https://fonts.googleapis.com/css?family=Lato" | ||
rel="stylesheet" | ||
/> | ||
|
||
<script | ||
type="text/javascript" | ||
src="https://www.gstatic.com/charts/loader.js" | ||
></script> | ||
|
||
<style> | ||
html { | ||
background-color: var(--kup-background-color); | ||
color: var(--kup-text-color); | ||
font-family: var(--kup-font-family); | ||
font-size: var(--kup-font-size); | ||
padding: 1rem; | ||
} | ||
|
||
.badge-container { | ||
width: 200px; | ||
height: 50px; | ||
position: relative; | ||
border: 1px solid var(--kup-primary-color); | ||
} | ||
|
||
span { | ||
display: block; | ||
margin: 6px 0 12px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<script> | ||
document.documentElement['ketchupInit'] = { | ||
debug: { active: true }, | ||
}; | ||
</script> | ||
<h3>Badge</h3> | ||
|
||
<h4>Status:</h4> | ||
|
||
<span>Type : info ( Default )</span> | ||
<div class="badge-container"> | ||
<kup-badge text="demo"></kup-badge> | ||
</div> | ||
|
||
<span>Type: danger</span> | ||
<div class="badge-container"> | ||
<kup-badge text="demo" type="error"></kup-badge> | ||
</div> | ||
<span>Type : warning</span> | ||
<div class="badge-container"> | ||
<kup-badge text="demo" type="warning"></kup-badge> | ||
</div> | ||
<span>Type : success</span> | ||
<div class="badge-container"> | ||
<kup-badge text="demo" type="success"></kup-badge> | ||
</div> | ||
|
||
<h4>Position:</h4> | ||
|
||
<span>top left (default)</span> | ||
<div class="badge-container"> | ||
<kup-badge text="demo"></kup-badge> | ||
</div> | ||
<span>top left</span> | ||
<div class="badge-container"> | ||
<kup-badge text="demo" class="kup-top-right"></kup-badge> | ||
</div> | ||
<span>bottom right</span> | ||
<div class="badge-container"> | ||
<kup-badge text="demo" class="kup-bottom-right"></kup-badge> | ||
</div> | ||
<span>bottom left</span> | ||
<div class="badge-container"> | ||
<kup-badge text="demo" class="kup-bottom-left"></kup-badge> | ||
</div> | ||
</div> | ||
|
||
<script> | ||
document.addEventListener('kup-manager-ready', () => { | ||
const kupManager = document.documentElement.ketchup; | ||
kupManager.theme.set('teal') | ||
}); | ||
</script> | ||
</body> | ||
</html> |
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
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
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.
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.
Oops, something went wrong.