-
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 fix/64-register-form-elements
- Loading branch information
Showing
17 changed files
with
193 additions
and
54 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
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,92 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Input Basic | Poppy-ui</title> | ||
<link rel="stylesheet" href="/dist/poppy/poppy.css"> | ||
<script type="module" src="/dist/poppy/poppy.esm.js"></script> | ||
<script nomodule src="/dist/poppy/poppy.js"></script> | ||
<style> | ||
main { | ||
width: 100vw; | ||
height: 100dvh; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1rem; | ||
padding: 1rem; | ||
|
||
background-color: var(--base-300); | ||
} | ||
section { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
gap: .35rem; | ||
} | ||
div { | ||
display: flex; | ||
flex-wrap: wrap; | ||
gap: .5rem; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<main> | ||
<section> | ||
<h2>Input - basic</h2> | ||
<div> | ||
<pop-input>no color</pop-input> | ||
<pop-input color="primary">primary</pop-input> | ||
<pop-input color="secondary">secondary</pop-input> | ||
<pop-input color="accent">accent</pop-input> | ||
<pop-input color="info">info</pop-input> | ||
<pop-input color="success">success</pop-input> | ||
<pop-input color="warning">warning</pop-input> | ||
<pop-input color="error" error-text="test">error</pop-input> | ||
<pop-input color="ghost">ghost</pop-input> | ||
</div> | ||
</section> | ||
<section> | ||
<h2>Input - outlined</h2> | ||
<div> | ||
<pop-input outlined>no color</pop-input> | ||
<pop-input outlined color="primary">primary</pop-input> | ||
<pop-input outlined color="secondary">secondary</pop-input> | ||
<pop-input outlined color="accent">accent</pop-input> | ||
<pop-input outlined color="info">info</pop-input> | ||
<pop-input outlined color="success">success</pop-input> | ||
<pop-input outlined color="warning">warning</pop-input> | ||
<pop-input outlined color="error">error</pop-input> | ||
</div> | ||
</section> | ||
<section> | ||
<h2>Button - disabled (basic)</h2> | ||
<div> | ||
<pop-input disabled>no color</pop-input> | ||
<pop-input disabled color="primary">primary</pop-input> | ||
<pop-input disabled color="secondary">secondary</pop-input> | ||
<pop-input disabled color="accent">accent</pop-input> | ||
<pop-input disabled color="info">info</pop-input> | ||
<pop-input disabled color="success">success</pop-input> | ||
<pop-input disabled color="warning">warning</pop-input> | ||
<pop-input disabled color="error">error</pop-input> | ||
<pop-input disabled color="ghost">ghost</pop-input> | ||
</div> | ||
</section> | ||
<section> | ||
<h2>Button - outlined disabled</h2> | ||
<div> | ||
<pop-input outlined disabled>no color</pop-input> | ||
<pop-input outlined disabled color="primary">primary</pop-input> | ||
<pop-input outlined disabled color="secondary">secondary</pop-input> | ||
<pop-input outlined disabled color="accent">accent</pop-input> | ||
<pop-input outlined disabled color="info">info</pop-input> | ||
<pop-input outlined disabled color="success">success</pop-input> | ||
<pop-input outlined disabled color="warning">warning</pop-input> | ||
<pop-input outlined disabled color="error">error</pop-input> | ||
</div> | ||
</section> | ||
</main> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Input Basic | Poppy-ui</title> | ||
<link rel="stylesheet" href="/dist/poppy/poppy.css"> | ||
<script type="module" src="/dist/poppy/poppy.esm.js"></script> | ||
<script nomodule src="/dist/poppy/poppy.js"></script> | ||
<style> | ||
main { | ||
width: 100vw; | ||
height: 100dvh; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1rem; | ||
padding: 1rem; | ||
|
||
background-color: var(--base-300); | ||
} | ||
section { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
gap: .35rem; | ||
} | ||
div { | ||
display: flex; | ||
flex-wrap: wrap; | ||
gap: .5rem; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<main> | ||
<section> | ||
<h2>Input - basic</h2> | ||
<div> | ||
<pop-input color="primary" helper-text="helper">helper</pop-input> | ||
<pop-input color="primary" error-text="error">error</pop-input> | ||
<pop-input color="primary" helper-text="helper" error-text="error">helper + error</pop-input> | ||
</div> | ||
</section> | ||
</main> | ||
</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
Oops, something went wrong.