Commit graph

622 commits

Author SHA1 Message Date
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
Mike Myers
51bfb3c05a
Remove fixed width on version switcher (#184) 2024-04-29 14:15:07 +08:00
luoxiao
9706360bad v0.3.1 2024-04-27 20:58:49 +08:00
Jim Calabro
7473a0be12
Fix Typo in guide.md (#183)
* Fix Typo in guide.md

* reduce diff
2024-04-26 10:25:06 +08:00
luoxiao
4f7dd0f6e4 pref: Select height 2024-04-24 13:36:37 +08:00
luoxiao
983e85728a fix: Icon inline-block 2024-04-24 13:36:37 +08:00
luoxiaozero
bc8c326c91
fix: TimePicker scroll problem (#180) 2024-04-23 15:56:18 +08:00
Ari Seyhun
92f2812acf
feat: impl from Signal and WriteSignal for Model (#179) 2024-04-23 15:34:36 +08:00
Ari Seyhun
10a8aa402a
fix: button font size styling (#178) 2024-04-23 15:30:25 +08:00
Ari Seyhun
324bc57e42
feat: Add support for multiple options in Select (#166)
* feat!: Add support for multiple options in Select

* feat: Sync Select menu when value is updated

* feat: Decrease line height of multi select items

* fix: Invalid callback on multiselect tag close

* feat: Sync Select menu only for multiple values

* feat: separate `MultiSelect` from `Select` component

* fix: SelectLabel slot implementation

* feat: rename `MultiSelect` to `SelectMulti`

* feat: rename and move `MultiSelect`

* feat: add arrow to select component

* feat: lower opacity of select dropdown arrow icon

* fix: inconsistent select font size

* fix: select menu font size

* feat: add clear button to multi select

* fix: Multi select icon on click attribute

* feat: use inline-block for select component

* feat: detect select min width based on options

* feat: add `allow_clear` prop to `MultiSelect`

* feat: remove select min width detection

* feat: use `Children` for `SelectLabel`

* feat: rename `allow_clear` to `clearable`

* fix: follower min width

* feat: remove inline-block from `Select`
2024-04-23 09:41:01 +08:00
luoxiaozero
f75b38f97d
Feat/anchor (#170)
* feat: Add Anchor component

* feat: Anchor collection Link

* feat: Anchor scroll view

* feat: Demo adds Toc

* fix: GuideDemo Toc

* feat: Anchor scroll

* feat: Anchor offset target
2024-04-19 14:42:30 +08:00
luoxiaozero
1b0f664dc7
Feat/back top (#169)
* feat: thaw_utils adds get_scroll_parent

* feat: add BackTop

* feat: BackTop scroll
2024-04-16 23:00:01 +08:00
luoxiao
95abde2b9d v0.3.0 2024-04-14 00:41:57 +08:00
luoxiaozero
b4446aba98
feat: Popover adds tooltip prop (#164) 2024-04-13 18:49:30 +08:00
luoxiaozero
aa793e16e1
fix: ssr mode input default value (#163) 2024-04-13 18:17:54 +08:00
luoxiao
4fe3dfd23f v0.3.0-beta 2024-04-10 23:14:14 +08:00
luoxiaozero
b87e2e8979
Fix/240410 (#162)
* pref: unused variable warning

* fix: teleport hydrate error

* style: leptosfmt
2024-04-10 22:45:01 +08:00
luoxiaozero
1af5b2573a
feat: Lazy mount (#161)
* feat: Drawer lazy mount

* feat: Binder lazy mount
2024-04-09 21:46:22 +08:00
luoxiao
f1c3882b72 fix: nightly Callback 2024-04-09 08:34:11 +08:00
luoxiao
683fcd8a36 feat: Modal scrollbar 2024-04-09 08:34:11 +08:00
luoxiao
b9c6b1ce1e feat: Drawer content scroll 2024-04-09 08:34:11 +08:00