|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <title>Input Basic | Poppy-ui</title> |
| 7 | + <link rel="stylesheet" href="/dist/poppy/poppy.css"> |
| 8 | + <script type="module" src="/dist/poppy/poppy.esm.js"></script> |
| 9 | + <script nomodule src="/dist/poppy/poppy.js"></script> |
| 10 | + <style> |
| 11 | + main { |
| 12 | + width: 100vw; |
| 13 | + height: 100dvh; |
| 14 | + display: flex; |
| 15 | + flex-direction: column; |
| 16 | + gap: 1rem; |
| 17 | + padding: 1rem; |
| 18 | + |
| 19 | + background-color: var(--base-300); |
| 20 | + } |
| 21 | + section { |
| 22 | + display: flex; |
| 23 | + flex-direction: column; |
| 24 | + justify-content: center; |
| 25 | + gap: .35rem; |
| 26 | + } |
| 27 | + div { |
| 28 | + display: flex; |
| 29 | + flex-wrap: wrap; |
| 30 | + gap: .5rem; |
| 31 | + } |
| 32 | + </style> |
| 33 | +</head> |
| 34 | +<body> |
| 35 | + <main> |
| 36 | + <section> |
| 37 | + <h2>Input - basic</h2> |
| 38 | + <div> |
| 39 | + <pop-input>no color</pop-input> |
| 40 | + <pop-input color="primary">primary</pop-input> |
| 41 | + <pop-input color="secondary">secondary</pop-input> |
| 42 | + <pop-input color="accent">accent</pop-input> |
| 43 | + <pop-input color="info">info</pop-input> |
| 44 | + <pop-input color="success">success</pop-input> |
| 45 | + <pop-input color="warning">warning</pop-input> |
| 46 | + <pop-input color="error" error-text="test">error</pop-input> |
| 47 | + <pop-input color="ghost">ghost</pop-input> |
| 48 | + </div> |
| 49 | + </section> |
| 50 | + <section> |
| 51 | + <h2>Input - outlined</h2> |
| 52 | + <div> |
| 53 | + <pop-input outlined>no color</pop-input> |
| 54 | + <pop-input outlined color="primary">primary</pop-input> |
| 55 | + <pop-input outlined color="secondary">secondary</pop-input> |
| 56 | + <pop-input outlined color="accent">accent</pop-input> |
| 57 | + <pop-input outlined color="info">info</pop-input> |
| 58 | + <pop-input outlined color="success">success</pop-input> |
| 59 | + <pop-input outlined color="warning">warning</pop-input> |
| 60 | + <pop-input outlined color="error">error</pop-input> |
| 61 | + </div> |
| 62 | + </section> |
| 63 | + <section> |
| 64 | + <h2>Button - disabled (basic)</h2> |
| 65 | + <div> |
| 66 | + <pop-input disabled>no color</pop-input> |
| 67 | + <pop-input disabled color="primary">primary</pop-input> |
| 68 | + <pop-input disabled color="secondary">secondary</pop-input> |
| 69 | + <pop-input disabled color="accent">accent</pop-input> |
| 70 | + <pop-input disabled color="info">info</pop-input> |
| 71 | + <pop-input disabled color="success">success</pop-input> |
| 72 | + <pop-input disabled color="warning">warning</pop-input> |
| 73 | + <pop-input disabled color="error">error</pop-input> |
| 74 | + <pop-input disabled color="ghost">ghost</pop-input> |
| 75 | + </div> |
| 76 | + </section> |
| 77 | + <section> |
| 78 | + <h2>Button - outlined disabled</h2> |
| 79 | + <div> |
| 80 | + <pop-input outlined disabled>no color</pop-input> |
| 81 | + <pop-input outlined disabled color="primary">primary</pop-input> |
| 82 | + <pop-input outlined disabled color="secondary">secondary</pop-input> |
| 83 | + <pop-input outlined disabled color="accent">accent</pop-input> |
| 84 | + <pop-input outlined disabled color="info">info</pop-input> |
| 85 | + <pop-input outlined disabled color="success">success</pop-input> |
| 86 | + <pop-input outlined disabled color="warning">warning</pop-input> |
| 87 | + <pop-input outlined disabled color="error">error</pop-input> |
| 88 | + </div> |
| 89 | + </section> |
| 90 | + </main> |
| 91 | +</body> |
| 92 | +</html> |
0 commit comments