Commit graph

642 commits

Author SHA1 Message Date
luoxiao
b17f1400a5 refactor: badge 2024-06-05 17:17:17 +08:00
luoxiao
bd9a419002 fix: tab selected bold style 2024-06-05 11:30:04 +08:00
luoxiao
e8942dc212 refactor: tab 2024-06-05 10:04:34 +08:00
luoxiao
938342ab1f feat: tab select 2024-06-04 23:12:21 +08:00
luoxiao
c7da724cdc refactor: tab 2024-06-04 17:30:40 +08:00
luoxiao
18bfea1731 refactor: spinner 2024-06-04 14:18:15 +08:00
luoxiao
bba3f00657 refactor: breadcrumb 2024-06-04 10:13:37 +08:00
luoxiao
60f67bc56a refactor: image 2024-06-03 22:47:11 +08:00
luoxiao
ab5d17701d refactor: tag 2024-06-03 17:31:59 +08:00
luoxiao
bacda05edc feat: text adds style prop 2024-06-03 16:31:32 +08:00
luoxiao
01df9dfe20 perf: dead code 2024-06-03 11:27:29 +08:00
luoxiao
dd50d450ff refactor: switch 2024-06-03 10:44:51 +08:00
luoxiao
f5c0d2a522 refactor: Slider 2024-05-31 17:12:32 +08:00
luoxiao
add2a0bae3 refactor: Slider 2024-05-30 17:11:24 +08:00
luoxiao
61b937f688 feat: RadioGroup adds name prop 2024-05-24 16:08:18 +08:00
luoxiao
9e6a1220d5 feat: ConfigProvider CSSVars 2024-05-24 10:05:54 +08:00
luoxiaozero
cb37d9cfe9
feat: MenuItem adds icon prop (#200) 2024-05-23 23:06:01 +08:00
luoxiao
643a54185c feat: ConfigProvider CSSVars 2024-05-23 17:44:00 +08:00
luoxiao
4aee77908f refactor: checkbox 2024-05-23 16:05:06 +08:00
luoxiao
ae4a69fd15 reactor: radio 2024-05-23 14:48:06 +08:00
luoxiao
97263ec80d feat: SpinButton disabled 2024-05-22 23:17:27 +08:00
luoxiao
7d99f9bd09 feat: SpinButton 2024-05-22 17:28:20 +08:00
luoxiao
5320793ca9 v0.3.2 2024-05-21 21:41:48 +08:00
luoxiao
be91dcbf6a feat: checkbox checked 2024-05-21 17:25:22 +08:00
luoxiaozero
bf48bcca82
Update README.md 2024-05-20 23:18:33 +08:00
luoxiao
ec351e7ba1 feat: checkbox theme 2024-05-20 17:47:09 +08:00
luoxiaozero
3266ac7068
feat: Switch adds on_change prop (#196) 2024-05-20 14:19:48 +08:00
luoxiaozero
ab3ea810de
fix: Image object-fit (#195) 2024-05-18 16:08:44 +08:00
kandrelczyk
9259bdc723
icon missaligment in message fix (#194)
* Hi @luoxiaozero,

I've just noticed the same issue as described here (https://github.com/thaw-ui/thaw/issues/190) and tracked it down to tailwindcss.  In the output.css generated by it we have:
```
/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}
```

Your recent change sets the display to inline-block (983e85728a) and this collides with the 'vertical-align' set by tailwindcss.

Changing the vertical-align property to 'top' fixes the misalignment so I think the simplest fix is to add 'vertical-align: top' to icon.css. I don't see it affecting anything else so it should be safe.

* icon missaligment fix
2024-05-18 00:32:29 +08:00
luoxiao
a0db94378a feat: checkbox 2024-05-17 17:34:24 +08:00
kandrelczyk
3edb401f0a
fix scrollbar panic (#193) 2024-05-17 11:04:02 +08:00
luoxiao
f178d7c9ca feat: clear code 2024-05-16 16:18:36 +08:00
luoxiao
7231e0cac1 feat: accordion 2024-05-15 23:03:35 +08:00
luoxiao
eeff259208 feat: text 2024-05-14 17:39:13 +08:00
luoxiao
372941b01d refactor: card 2024-05-14 14:56:48 +08:00
luoxiao
246c509b29 refactor: card 2024-05-13 17:32:45 +08:00
luoxiao
d45f7b908e feat: nav slot 2024-05-11 17:47:33 +08:00
luoxiao
6d42248e76 feat: nav 2024-05-11 15:53:37 +08:00
luoxiao
7219c0cb93 feat: logo 2024-05-11 10:21:12 +08:00
luoxiao
c6f83aa01d refactor: divider 2024-05-10 23:26:09 +08:00
luoxiao
d00e970a6a refactor: avatar 2024-05-10 21:51:35 +08:00
luoxiao
824ca9c4b1 refactor: input 2024-05-10 15:47:01 +08:00
luoxiao
ed425b90f0 feat: input style 2024-05-09 23:28:08 +08:00
Yu Sun
30fe3f72bf
fix(Message): interchange the icons of MessageVariant::Success and MessageVariant::Error (#188)
It should be the ✓ for success and the ✗ for error to make more intuitive sense.
2024-05-08 22:31:17 +08:00
luoxiao
cad7d04691 refactor: remove GlobalStyle 2024-05-08 10:10:48 +08:00
Yu Sun
18658044c2
Use fully qualified syntax in the example of Drawer (#187)
* perf: replace `expect` with `unwrap_or_else`

The macro/functions in `expect` is not lazy, which means it will always be called

* style: remove needless borrowing

* perf: remove needless clone

* style: remove needless `format!`

* style: use `and_then` instead

* style: use `?` instead

* style: remove needless closure

* fix: use fully qualified syntax instead

https://github.com/rust-lang/rust/issues/48919

* style: formatted

* style: fix some other clippy issues
2024-05-07 23:36:36 +08:00
luoxiao
fc4574f29a feat: button disabled 2024-05-06 22:21:17 +08:00
luoxiao
4017606b18 feat: button shape 2024-05-06 17:28:47 +08:00
luoxiao
b6b7df0a05 feat: component theme 2024-05-03 00:32:12 +08:00
luoxiao
9ab8367c21 refactor: button appearance 2024-05-01 20:26:17 +08:00