Commit graph

650 commits

Author SHA1 Message Date
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
luoxiao
51a509cb5e fix: Drawer and Modal esc close 2024-04-09 08:34:11 +08:00
luoxiao
d5410375bb feat: Drawer adds mask_closeable and close_on_esc prop 2024-04-09 08:34:11 +08:00
luoxiao
70b243ae0d v0.3.0-alpha 2024-04-06 00:42:42 +08:00
luoxiao
5a710f724b style: code style 2024-04-05 23:55:25 +08:00
luoxiao
449d927c3a fix(demo): style 2024-04-05 23:53:46 +08:00
luoxiao
19bfcdc60f feat: update leptos to v0.6.10 2024-04-05 23:51:03 +08:00
luoxiao
8a6e0ee787 feat: Layout scrollbar 2024-04-05 23:51:03 +08:00
luoxiao
a1a301a765 feat: Scrollbar adds content_class and content_style prop 2024-04-05 23:51:03 +08:00
luoxiao
61e3862a1d feat: TimePicker scrollbar 2024-04-05 23:51:03 +08:00
Yota
69ddf6b02f feat: Add min/max props into InputNumber (#153)
* feat: Add min/max props into InputNumber

Adding range into InputNumber component with min/max props

* refactor: InputNumber component

* docs: Add Min / Max section into InputNumber

* docs: Improvement InputNumber

- Change min/max insertion position.
- Change the crate that is added to T impl for conciseness.
- Uniformity of expression: maximum for minimum.
2024-04-05 23:51:03 +08:00
luoxiao
6088447e21 feat: Modal adds close_on_esc prop 2024-04-05 23:51:03 +08:00
luoxiaozero
8233ca6c6e Feat/scrollbar (#158)
* feat: add scrollbar component

* feat: Scrollbar adds class and style prop

* feat: Scrollbar theme

* feat: Scrollbar click scroll

* feat: Scrollbar adds scroll horizontally
2024-04-05 23:51:03 +08:00
luoxiao
807cc3c342 feat: Checkbox label does not display default value 2024-04-05 23:51:03 +08:00
luoxiao
c0599acbe9 0.2.6 2024-03-31 23:46:16 +08:00
luoxiao
a7f873ad29 fix: nightly mode Message error 2024-03-30 01:42:13 +08:00
luoxiao
7a1a8a0d9e fix: nightly mode Message error 2024-03-30 01:42:13 +08:00
luoxiao
64ba5a9221 feat: Message adds animation 2024-03-30 01:42:13 +08:00
luoxiao
32976ed6e1 feat: CSSTransition adds appear and hooks 2024-03-30 01:42:13 +08:00
luoxiao
63564e814d refactor: Message component 2024-03-30 01:42:13 +08:00
luoxiaozero
6cc68ba398
fix: Demo switch version (#155) 2024-03-29 16:49:07 +08:00
luoxiaozero
c3fdf5fcb0
feat: Demo switch version (#152) 2024-03-22 17:22:53 +08:00
luoxiaozero
9459812159
fix: Button wave flicker problem (#151) 2024-03-22 11:05:00 +08:00