mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-19 07:29:14 +00:00
Compare commits
1 Commits
lm/native-
...
pill
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2264257093 |
@@ -42,6 +42,14 @@ wa-code-demo::part(preview) {
|
|||||||
<wa-input label="WA Input (url)" type="url"></wa-input>
|
<wa-input label="WA Input (url)" type="url"></wa-input>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Pill shaped text fields
|
||||||
|
|
||||||
|
Add the `wa-pill` class to an `<input>` to make it pill-shaped.
|
||||||
|
|
||||||
|
```html {.example}
|
||||||
|
<label>Input <input type="text" placeholder="placeholder" class="wa-pill"></label>
|
||||||
|
```
|
||||||
|
|
||||||
## Color Picker
|
## Color Picker
|
||||||
|
|
||||||
Basic:
|
Basic:
|
||||||
|
|||||||
@@ -12,6 +12,11 @@ Components with the <wa-badge variant="warning" pill>Experimental</wa-badge> bad
|
|||||||
During the alpha period, things might break! We take breaking changes very seriously, but sometimes they're necessary to make the final product that much better. We appreciate your patience!
|
During the alpha period, things might break! We take breaking changes very seriously, but sometimes they're necessary to make the final product that much better. We appreciate your patience!
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
## Next
|
||||||
|
|
||||||
|
- Fixed `wa-pill` class for text fields
|
||||||
|
- Fixed `pill` style for `<wa-input>` elements
|
||||||
|
|
||||||
## 3.0.0-alpha.11
|
## 3.0.0-alpha.11
|
||||||
|
|
||||||
### Color Palettes
|
### Color Palettes
|
||||||
|
|||||||
@@ -121,7 +121,8 @@ input:where(:not(
|
|||||||
font: inherit;
|
font: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wa-pill,
|
input.wa-pill,
|
||||||
:host([pill]) {
|
textarea.wa-pill,
|
||||||
border-radius: var(--wa-border-radius-pill);
|
:host([pill]) .wa-text-field {
|
||||||
|
border-radius: var(--wa-border-radius-pill) !important;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user